browserstack-node-sdk 1.34.54 → 1.34.56
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.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x519318=a23_0x3262;(function(_0x173b02,_0x28d39c){const _0x144dd6=a23_0x3262,_0x398781=_0x173b02();while(!![]){try{const _0x49ca60=parseInt(_0x144dd6(0xcc))/0x1+parseInt(_0x144dd6(0xe8))/0x2*(parseInt(_0x144dd6(0xc4))/0x3)+parseInt(_0x144dd6(0xc5))/0x4*(parseInt(_0x144dd6(0xbb))/0x5)+-parseInt(_0x144dd6(0xd8))/0x6*(parseInt(_0x144dd6(0xc1))/0x7)+parseInt(_0x144dd6(0xbc))/0x8+-parseInt(_0x144dd6(0xbd))/0x9+-parseInt(_0x144dd6(0xd9))/0xa*(parseInt(_0x144dd6(0xc7))/0xb);if(_0x49ca60===_0x28d39c)break;else _0x398781['push'](_0x398781['shift']());}catch(_0x33c9ea){_0x398781['push'](_0x398781['shift']());}}}(a23_0x427a,0x87c0b));function a23_0x3262(_0x4a9221,_0x385d40){const _0x427add=a23_0x427a();return a23_0x3262=function(_0x32624e,_0x574561){_0x32624e=_0x32624e-0xb8;let _0x13bba4=_0x427add[_0x32624e];return _0x13bba4;},a23_0x3262(_0x4a9221,_0x385d40);}const fs=require('fs'),path=require(a23_0x519318(0xde)),{v4:uuidv4}=require(a23_0x519318(0xb8)),helper=require(a23_0x519318(0xc3)),testHubConstants=require(a23_0x519318(0xdc));function a23_0x427a(){const _0x137d87=['homedir','parse','uuid','getTestRunIdFromTestInfo','readFileSync','10OIDoch','8443208gPLHlJ','4142871yceroY','getTestData','recursive','BROWSERSTACK_TESTHUB_UUID','42ViMgUs','unlinkSync','../../../helpers/helper','3747NCKdJD','1088468rTPWov','iMbeo','55vDLpGc','tests','rmSync','testData.json','exports','639104prshrB','setup','WnYMm','existsSync','join','stringify','xCpqD','mkdirSync','.json','getFilePath','isoTS','ClMwg','915318cLZRXa','2047970HOjjDp','.browserstack','toString','../../../helpers/testhub/constants','_projectId','path','dirPath','shutdown','setTestUUID','jest-o11y-','writeFileSync','ENV_VAR','_test','mrkca','qEjqk','1148qCJhiH','force','retry','ylHbC','env'];a23_0x427a=function(){return _0x137d87;};return a23_0x427a();}class TestDetails{static [a23_0x519318(0xc8)]={};static [a23_0x519318(0xdf)]=path[a23_0x519318(0xd0)](helper[a23_0x519318(0xed)](),a23_0x519318(0xda),a23_0x519318(0xe2)+process[a23_0x519318(0xec)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x519318(0xcd)](){const _0x26283b=a23_0x519318,_0x1fe005={};_0x1fe005['IZIuS']=_0x26283b(0xda);const _0x461722=_0x1fe005;this[_0x26283b(0xdf)]=path['join'](helper[_0x26283b(0xed)](),_0x461722['IZIuS'],'jest-o11y-'+process[_0x26283b(0xec)][testHubConstants[_0x26283b(0xe4)][_0x26283b(0xc0)]]),this[_0x26283b(0xe0)]();const _0x585eb1={};_0x585eb1[_0x26283b(0xbf)]=!![],fs[_0x26283b(0xd3)](this[_0x26283b(0xdf)],_0x585eb1);}static[a23_0x519318(0xd5)](_0x1b2c15){const _0x5df383=a23_0x519318,_0xb6fb77={};_0xb6fb77[_0x5df383(0xd7)]=function(_0x3e5a05,_0x1f0e6b){return _0x3e5a05+_0x1f0e6b;},_0xb6fb77[_0x5df383(0xd6)]=_0x5df383(0xd4);const _0x4410f8=_0xb6fb77;return path[_0x5df383(0xd0)](this[_0x5df383(0xdf)],_0x4410f8[_0x5df383(0xd7)](_0x1b2c15,_0x4410f8[_0x5df383(0xd6)]));}static[a23_0x519318(0xb9)](_0x35416c){const _0x3c5828=a23_0x519318,_0x538e16={};_0x538e16[_0x3c5828(0xe7)]=function(_0x281e1f,_0x24793f){return _0x281e1f+_0x24793f;},_0x538e16[_0x3c5828(0xce)]=function(_0x54e786,_0x1e5ec8){return _0x54e786+_0x1e5ec8;},_0x538e16['xCpqD']=function(_0x3f4291,_0x36e5ce){return _0x3f4291+_0x36e5ce;};const _0x52178c=_0x538e16;return _0x52178c[_0x3c5828(0xe7)](_0x52178c[_0x3c5828(0xce)](_0x52178c[_0x3c5828(0xe7)](_0x52178c[_0x3c5828(0xd2)](_0x35416c[_0x3c5828(0xe5)][_0x3c5828(0xdd)],'-'),_0x35416c[_0x3c5828(0xe5)]['id']),'-'),_0x35416c[_0x3c5828(0xea)]);}static['getTestUUID'](_0x4b61a1){const _0x56ce41=a23_0x519318,_0x50ab78=this[_0x56ce41(0xd5)](_0x4b61a1);if(fs[_0x56ce41(0xcf)](_0x50ab78)){const _0x4f2edd=JSON[_0x56ce41(0xee)](fs['readFileSync'](_0x50ab78)[_0x56ce41(0xdb)]());return this['tests'][_0x4b61a1]=_0x4f2edd,this['tests'][_0x4b61a1][_0x56ce41(0xb8)];}}static['setTestData'](_0x453efb){const _0x120034=a23_0x519318,_0xfccfa8={};_0xfccfa8[_0x120034(0xeb)]=_0x120034(0xca);const _0x5b8061=_0xfccfa8,_0xb405d=path[_0x120034(0xd0)](this[_0x120034(0xdf)],_0x5b8061[_0x120034(0xeb)]);fs['writeFileSync'](_0xb405d,JSON[_0x120034(0xd1)](_0x453efb));}static[a23_0x519318(0xbe)](){const _0x40b7cc=a23_0x519318,_0x3cdad3={};_0x3cdad3[_0x40b7cc(0xc6)]=_0x40b7cc(0xca);const _0x8841ec=_0x3cdad3,_0x1a18f1=path[_0x40b7cc(0xd0)](this[_0x40b7cc(0xdf)],_0x8841ec[_0x40b7cc(0xc6)]);let _0x3f0af4={};try{return _0x1a18f1&&fs[_0x40b7cc(0xcf)](_0x1a18f1)&&(_0x3f0af4=JSON[_0x40b7cc(0xee)](fs[_0x40b7cc(0xba)](_0x1a18f1)[_0x40b7cc(0xdb)]())),_0x3f0af4;}catch(_0x5be8fc){return _0x3f0af4;}}static[a23_0x519318(0xe1)](_0x31aa15){const _0x2ec2a7=a23_0x519318,_0x178253={'mrkca':function(_0x1c2cb9){return _0x1c2cb9();}},_0x5a1cb3=this['getFilePath'](_0x31aa15);return this[_0x2ec2a7(0xc8)][_0x31aa15]={'uuid':_0x178253[_0x2ec2a7(0xe6)](uuidv4)},fs[_0x2ec2a7(0xe3)](_0x5a1cb3,JSON[_0x2ec2a7(0xd1)](this[_0x2ec2a7(0xc8)][_0x31aa15])),this['tests'][_0x31aa15][_0x2ec2a7(0xb8)];}static['removeTestUUID'](_0x51637d){const _0x10322b=a23_0x519318,_0x1813ef=this['getFilePath'](_0x51637d);_0x1813ef&&(fs[_0x10322b(0xcf)](_0x1813ef)&&fs[_0x10322b(0xc2)](_0x1813ef));}static[a23_0x519318(0xe0)](){const _0x765d5=a23_0x519318,_0x6d0ae0={};_0x6d0ae0['recursive']=!![],_0x6d0ae0[_0x765d5(0xe9)]=!![],fs[_0x765d5(0xc9)](this[_0x765d5(0xdf)],_0x6d0ae0);}}module[a23_0x519318(0xcb)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a24_0x2033(_0x3d5f99,_0x3eb6b3){const _0x464a75=a24_0x464a();return a24_0x2033=function(_0x203356,_0x397672){_0x203356=_0x203356-0x110;let _0x1e5354=_0x464a75[_0x203356];return _0x1e5354;},a24_0x2033(_0x3d5f99,_0x3eb6b3);}const a24_0x492548=a24_0x2033;(function(_0x241c3c,_0x525c00){const _0x1f3d17=a24_0x2033,_0x363c18=_0x241c3c();while(!![]){try{const _0x9e9880=-parseInt(_0x1f3d17(0x111))/0x1+parseInt(_0x1f3d17(0x119))/0x2*(-parseInt(_0x1f3d17(0x11a))/0x3)+-parseInt(_0x1f3d17(0x114))/0x4*(parseInt(_0x1f3d17(0x11c))/0x5)+-parseInt(_0x1f3d17(0x112))/0x6+parseInt(_0x1f3d17(0x113))/0x7+-parseInt(_0x1f3d17(0x118))/0x8*(parseInt(_0x1f3d17(0x116))/0x9)+-parseInt(_0x1f3d17(0x117))/0xa*(-parseInt(_0x1f3d17(0x110))/0xb);if(_0x9e9880===_0x525c00)break;else _0x363c18['push'](_0x363c18['shift']());}catch(_0x46664a){_0x363c18['push'](_0x363c18['shift']());}}}(a24_0x464a,0xb36bd));const {requireModule}=require(a24_0x492548(0x115));require('../../helpers/setKeepAlive')();function a24_0x464a(){const _0x27859e=['10635SuQgGr','11KnytgI','391994xxqWOL','3310752lMglaA','491288onGnHo','1304nUDXGC','../../helpers/helper','153TqMqpq','32713480fezdSi','318992nJfAsy','53014LFiGGy','33GcAUGv','__webdriver'];a24_0x464a=function(){return _0x27859e;};return a24_0x464a();}const __wd__=requireModule('selenium-webdriver');for(const key of Object['keys'](global[a24_0x492548(0x11b)])){__wd__[key]=global[a24_0x492548(0x11b)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x1a3bfc=a25_0x3c3f;function a25_0x3b56(){const _0x24f476=['2778740Xvkczk','includes','_configuration','5Mwemvk','../../helpers/accessibility-automation/helper','../../helpers/performance/constants','../utils/constants','440NGDzsf','_testObservability','xNeZi','_bsConfig','10370465jrwfui','resolvePaths','12LmnqMQ','setFramework','10251234wOrSCI','testsErrorMessage','testsAmbiguous','platformCaps','242wGBmfV','EVENTS','163179EJPyIc','setupCucumber','21|22|11|8|4|7|17|3|20|9|1|10|14|5|12|6|0|18|23|19|16|13|2|15','_argv','../../helpers/ai-sdk/autoHealHelper','1432919Eztnpe','platform','configuration','AI_ENABLED_FRAMEWORK','5335108kqLave','jePHE','testsSkipped','_mochaOpts','split','../../helpers/test-observability/utils','testSuites','__platformCaps','testsFailed','testSuitesFailed','setConfig','../../helpers/helper','mochaOpts','__platform__','capability','../../helpers/test-observability/requestQueueHandler','testsPending','hdUlt','847618UeNJVI'];a25_0x3b56=function(){return _0x24f476;};return a25_0x3b56();}function a25_0x3c3f(_0x5f5dc1,_0x3f6d0f){const _0x3b56e8=a25_0x3b56();return a25_0x3c3f=function(_0x3c3fe6,_0x59f247){_0x3c3fe6=_0x3c3fe6-0x15e;let _0x131902=_0x3b56e8[_0x3c3fe6];return _0x131902;},a25_0x3c3f(_0x5f5dc1,_0x3f6d0f);}(function(_0x3b6192,_0x291bd5){const _0x4a85ac=a25_0x3c3f,_0x2e0272=_0x3b6192();while(!![]){try{const _0x5f3e93=-parseInt(_0x4a85ac(0x165))/0x1+-parseInt(_0x4a85ac(0x17b))/0x2*(parseInt(_0x4a85ac(0x189))/0x3)+-parseInt(_0x4a85ac(0x169))/0x4*(parseInt(_0x4a85ac(0x17f))/0x5)+parseInt(_0x4a85ac(0x18b))/0x6+-parseInt(_0x4a85ac(0x187))/0x7+parseInt(_0x4a85ac(0x183))/0x8*(-parseInt(_0x4a85ac(0x160))/0x9)+-parseInt(_0x4a85ac(0x17c))/0xa*(-parseInt(_0x4a85ac(0x15e))/0xb);if(_0x5f3e93===_0x291bd5)break;else _0x2e0272['push'](_0x2e0272['shift']());}catch(_0x4d98d3){_0x2e0272['push'](_0x2e0272['shift']());}}}(a25_0x3b56,0xd71ef));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x1a3bfc(0x174)),constants=require(a25_0x1a3bfc(0x182)),{isAccessibilityAutomationSession}=require(a25_0x1a3bfc(0x180)),RequestQueueHandler=require(a25_0x1a3bfc(0x178)),{isTestObservabilitySession}=require(a25_0x1a3bfc(0x16e)),helper=require(a25_0x1a3bfc(0x174)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a25_0x1a3bfc(0x181))[a25_0x1a3bfc(0x15f)],{commandRepository}=require(a25_0x1a3bfc(0x164));class Launcher{constructor(_0x5dd2bb,_0x123d75,_0x2f9c06,_0x305eaa=[]){const _0x5280ef=a25_0x1a3bfc,_0x318973={'xNeZi':_0x5280ef(0x162),'hdUlt':function(_0x23bd5d){return _0x23bd5d();},'jePHE':function(_0x253e2e){return _0x253e2e();}},_0x425d56=_0x318973[_0x5280ef(0x185)][_0x5280ef(0x16d)]('|');let _0x55a656=0x0;while(!![]){switch(_0x425d56[_0x55a656++]){case'0':global[_0x5280ef(0x179)]=0x0;continue;case'1':this['_accessibilityAutomation']=_0x318973[_0x5280ef(0x17a)](isAccessibilityAutomationSession);continue;case'2':global[_0x5280ef(0x18c)]={};continue;case'3':this[_0x5280ef(0x163)]=_0x305eaa;continue;case'4':this['_formatter']=_0x123d75['formatter'];continue;case'5':global['totalTests']=0x0;continue;case'6':global[_0x5280ef(0x171)]=0x0;continue;case'7':this['_capability']=this['_configuration'][_0x5280ef(0x177)];continue;case'8':this[_0x5280ef(0x16c)]=_0x123d75[_0x5280ef(0x175)];continue;case'9':this[_0x5280ef(0x184)]=_0x318973[_0x5280ef(0x16a)](isTestObservabilitySession);continue;case'10':global[_0x5280ef(0x170)]=this['_configuration'][_0x5280ef(0x18e)]||{};continue;case'11':this['_configuration']['framework']=_0x5dd2bb;continue;case'12':global['testsPassed']=0x0;continue;case'13':global[_0x5280ef(0x18d)]=0x0;continue;case'14':global[_0x5280ef(0x16f)]=0x0;continue;case'15':!constants[_0x5280ef(0x168)][_0x5280ef(0x17d)](_0x5dd2bb)&&(commandRepository[_0x5280ef(0x173)](_0x2f9c06),commandRepository[_0x5280ef(0x18a)](_0x5dd2bb));continue;case'16':global['testsUnknown']=0x0;continue;case'17':global[_0x5280ef(0x176)]=this[_0x5280ef(0x17e)][_0x5280ef(0x166)];continue;case'18':global[_0x5280ef(0x16b)]=0x0;continue;case'19':global['testsUndefined']=0x0;continue;case'20':this[_0x5280ef(0x186)]=_0x2f9c06;continue;case'21':this['_framework']=_0x5dd2bb;continue;case'22':this['_configuration']=_0x123d75[_0x5280ef(0x167)]||{};continue;case'23':global[_0x5280ef(0x172)]=0x0;continue;}break;}}[a25_0x1a3bfc(0x161)](_0x1b2e6,_0x584680,_0x465660){const _0xcb09f9=a25_0x1a3bfc,_0x3877e5=_0x1b2e6[_0xcb09f9(0x188)];_0x1b2e6.resolvePaths=async function(){const pathResults=await _0x3877e5.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x465660));return pathResults;},_0x584680.push('--format'),_0x584680.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
1
|
+
const a25_0x2755d1=a25_0x5f36;(function(_0x3f4f0f,_0x1c43b0){const _0x1490b2=a25_0x5f36,_0x11483c=_0x3f4f0f();while(!![]){try{const _0x39dc6a=parseInt(_0x1490b2(0x1c4))/0x1+-parseInt(_0x1490b2(0x1ab))/0x2+parseInt(_0x1490b2(0x19c))/0x3+-parseInt(_0x1490b2(0x19e))/0x4+-parseInt(_0x1490b2(0x19f))/0x5*(parseInt(_0x1490b2(0x1a1))/0x6)+parseInt(_0x1490b2(0x1d0))/0x7*(-parseInt(_0x1490b2(0x1c6))/0x8)+parseInt(_0x1490b2(0x1ce))/0x9*(parseInt(_0x1490b2(0x1a6))/0xa);if(_0x39dc6a===_0x1c43b0)break;else _0x11483c['push'](_0x11483c['shift']());}catch(_0x2d0f45){_0x11483c['push'](_0x11483c['shift']());}}}(a25_0x1c5e,0x343c7));const path=require(a25_0x2755d1(0x1ae)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x2755d1(0x1a2)),{isAccessibilityAutomationSession}=require(a25_0x2755d1(0x1b7)),RequestQueueHandler=require(a25_0x2755d1(0x1b4)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x2755d1(0x1b6)),PerformanceTester=require(a25_0x2755d1(0x1c9)),PerformanceEvents=require(a25_0x2755d1(0x1be))[a25_0x2755d1(0x1c7)],{commandRepository}=require(a25_0x2755d1(0x1bd));class Launcher{constructor(_0x5d6309,_0x3dfb16,_0x362794,_0x46e4f8=[]){const _0x7d2420=a25_0x2755d1,_0x3d0e21={'xyIRG':_0x7d2420(0x1ba),'eVzPm':function(_0xc83682){return _0xc83682();}},_0x4ca564=_0x3d0e21[_0x7d2420(0x1a8)][_0x7d2420(0x1bc)]('|');let _0x5c5b09=0x0;while(!![]){switch(_0x4ca564[_0x5c5b09++]){case'0':global[_0x7d2420(0x1bf)]=0x0;continue;case'1':global[_0x7d2420(0x1cb)]=0x0;continue;case'2':global[_0x7d2420(0x19d)]=0x0;continue;case'3':!constants[_0x7d2420(0x1ac)][_0x7d2420(0x1a9)](_0x5d6309)&&(commandRepository[_0x7d2420(0x1c2)](_0x362794),commandRepository[_0x7d2420(0x1c8)](_0x5d6309));continue;case'4':this[_0x7d2420(0x1bb)]=_0x5d6309;continue;case'5':global[_0x7d2420(0x1a4)]=0x0;continue;case'6':global[_0x7d2420(0x1b5)]=0x0;continue;case'7':global[_0x7d2420(0x1a0)]=this[_0x7d2420(0x1ad)][_0x7d2420(0x1b3)];continue;case'8':global[_0x7d2420(0x1b0)]=0x0;continue;case'9':this[_0x7d2420(0x1c0)]=_0x3d0e21[_0x7d2420(0x1c3)](isAccessibilityAutomationSession);continue;case'10':this[_0x7d2420(0x1b2)]=_0x46e4f8;continue;case'11':global[_0x7d2420(0x1a5)]=0x0;continue;case'12':global[_0x7d2420(0x1af)]=0x0;continue;case'13':this['_configuration']=_0x3dfb16[_0x7d2420(0x1b9)]||{};continue;case'14':global[_0x7d2420(0x1ca)]={};continue;case'15':global[_0x7d2420(0x1cd)]=0x0;continue;case'16':global['__platformCaps']=this[_0x7d2420(0x1ad)][_0x7d2420(0x1b8)]||{};continue;case'17':this['_capability']=this[_0x7d2420(0x1ad)][_0x7d2420(0x1c5)];continue;case'18':this[_0x7d2420(0x1ad)][_0x7d2420(0x1a3)]=_0x5d6309;continue;case'19':global['testsPending']=0x0;continue;case'20':this[_0x7d2420(0x1b1)]=_0x3d0e21['eVzPm'](isTestObservabilitySession);continue;case'21':this['_mochaOpts']=_0x3dfb16['mochaOpts'];continue;case'22':this[_0x7d2420(0x1a7)]=_0x3dfb16[_0x7d2420(0x1cf)];continue;case'23':this[_0x7d2420(0x1cc)]=_0x362794;continue;}break;}}[a25_0x2755d1(0x1aa)](_0x371a13,_0x46ab55,_0x59cfca){const _0xcfb9e4=a25_0x2755d1,_0x2d1023=_0x371a13[_0xcfb9e4(0x1c1)];_0x371a13.resolvePaths=async function(){const pathResults=await _0x2d1023.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x59cfca));return pathResults;},_0x46ab55.push('--format'),_0x46ab55.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a25_0x5f36(_0x5778ee,_0x3489b9){const _0x1c5e42=a25_0x1c5e();return a25_0x5f36=function(_0x5f367e,_0x33388f){_0x5f367e=_0x5f367e-0x19c;let _0x591a06=_0x1c5e42[_0x5f367e];return _0x591a06;},a25_0x5f36(_0x5778ee,_0x3489b9);}function a25_0x1c5e(){const _0x382619=['testsFailed','_accessibilityAutomation','resolvePaths','setConfig','eVzPm','223256eJQhPK','capability','1533656adrhpR','EVENTS','setFramework','../../helpers/performance/performance-tester','testsErrorMessage','testSuitesFailed','_bsConfig','testsSkipped','9pSAjFz','formatter','14NLwyNU','176505ayiJCk','testsPassed','113120nekMMP','765FlqtQr','__platform__','720gqDrxH','../utils/constants','framework','totalTests','testsAmbiguous','5141230WYewRS','_formatter','xyIRG','includes','setupCucumber','304402QQHYFZ','AI_ENABLED_FRAMEWORK','_configuration','path','testsUndefined','testsUnknown','_testObservability','_argv','platform','../../helpers/test-observability/requestQueueHandler','testSuites','../../helpers/helper','../../helpers/accessibility-automation/helper','platformCaps','configuration','4|13|18|21|22|17|7|10|23|20|9|16|6|5|2|0|19|15|1|12|8|11|14|3','_framework','split','../../helpers/ai-sdk/autoHealHelper','../../helpers/performance/constants'];a25_0x1c5e=function(){return _0x382619;};return a25_0x1c5e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a26_0x3379(_0x3ffe74,_0x210cc3){const _0x34e8ac=a26_0x34e8();return a26_0x3379=function(_0x33790b,_0x140261){_0x33790b=_0x33790b-0x179;let _0x2e46b9=_0x34e8ac[_0x33790b];return _0x2e46b9;},a26_0x3379(_0x3ffe74,_0x210cc3);}const a26_0x4c2cbf=a26_0x3379;(function(_0x352734,_0x65e3e7){const _0x376957=a26_0x3379,_0x2c1e43=_0x352734();while(!![]){try{const _0x1abf20=parseInt(_0x376957(0x1b3))/0x1+parseInt(_0x376957(0x1be))/0x2*(parseInt(_0x376957(0x1b5))/0x3)+-parseInt(_0x376957(0x1b1))/0x4*(-parseInt(_0x376957(0x183))/0x5)+parseInt(_0x376957(0x18b))/0x6*(-parseInt(_0x376957(0x197))/0x7)+parseInt(_0x376957(0x1b2))/0x8*(-parseInt(_0x376957(0x17d))/0x9)+-parseInt(_0x376957(0x19c))/0xa+parseInt(_0x376957(0x180))/0xb;if(_0x1abf20===_0x65e3e7)break;else _0x2c1e43['push'](_0x2c1e43['shift']());}catch(_0x2fda2d){_0x2c1e43['push'](_0x2c1e43['shift']());}}}(a26_0x34e8,0xb4996));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x4c2cbf(0x18d)),globals=require('../../../helpers/globals'),logger=require(a26_0x4c2cbf(0x1af))['winstonLogger'];exports[a26_0x4c2cbf(0x1a8)]=_0x5664c7=>{const _0x405bf1=a26_0x4c2cbf,_0x57cb53={};_0x57cb53['DXFeL']=_0x405bf1(0x1a6),_0x57cb53[_0x405bf1(0x17a)]=_0x405bf1(0x17b),_0x57cb53[_0x405bf1(0x1a0)]=_0x405bf1(0x185),_0x57cb53[_0x405bf1(0x1ae)]=_0x405bf1(0x1bc);const _0x4f92db=_0x57cb53;try{const _0x9c57d8=_0x5664c7['capability']||{};if(_0x9c57d8[_0x4f92db['DXFeL']]&&_0x9c57d8[_0x4f92db['DXFeL']][_0x405bf1(0x193)]||_0x5664c7[_0x405bf1(0x1b9)][_0x4f92db['snvtQ']]){globals[_0x405bf1(0x19f)](_0x4f92db[_0x405bf1(0x1a0)],!![]);if(_0x9c57d8[_0x4f92db[_0x405bf1(0x1bf)]]){if(_0x9c57d8[_0x4f92db[_0x405bf1(0x1bf)]]['accessibilityOptions'])_0x9c57d8[_0x4f92db[_0x405bf1(0x1bf)]][_0x405bf1(0x196)][_0x405bf1(0x186)]=process[_0x405bf1(0x1a5)]['BS_A11Y_JWT'];else{const _0x14166a={};_0x14166a['authToken']=process[_0x405bf1(0x1a5)][_0x405bf1(0x198)],_0x9c57d8[_0x4f92db[_0x405bf1(0x1bf)]][_0x405bf1(0x196)]=_0x14166a;}_0x9c57d8[_0x4f92db[_0x405bf1(0x1bf)]]['accessibilityOptions'][_0x405bf1(0x1a2)]=JSON[_0x405bf1(0x1a7)](process['env'][_0x405bf1(0x18a)])[_0x405bf1(0x1a2)];}else{if(_0x5664c7[_0x405bf1(0x1b9)][_0x4f92db[_0x405bf1(0x17a)]]){if(_0x9c57d8[_0x4f92db[_0x405bf1(0x1ae)]])_0x9c57d8[_0x4f92db[_0x405bf1(0x1ae)]]['authToken']=process['env'][_0x405bf1(0x198)];else{const _0x840b82={};_0x840b82['authToken']=process[_0x405bf1(0x1a5)][_0x405bf1(0x198)],_0x9c57d8[_0x4f92db[_0x405bf1(0x1ae)]]=_0x840b82;}_0x9c57d8[_0x4f92db[_0x405bf1(0x1ae)]][_0x405bf1(0x1a2)]=JSON['parse'](process[_0x405bf1(0x1a5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x405bf1(0x1a2)];}}}}catch(_0x495569){logger[_0x405bf1(0x1b6)](_0x405bf1(0x1ab)+_0x495569);}},exports[a26_0x4c2cbf(0x19d)]=(_0x528d5b,_0x1eed79)=>{const _0x9a76=a26_0x4c2cbf,_0x2ada1c={};_0x2ada1c[_0x9a76(0x1c3)]='bstack:options',_0x2ada1c[_0x9a76(0x1c4)]=function(_0x9b662e,_0x14fe85){return _0x9b662e!==_0x14fe85;},_0x2ada1c[_0x9a76(0x18c)]=_0x9a76(0x190),_0x2ada1c['vhgWz']=_0x9a76(0x1b8),_0x2ada1c['zZJNR']=_0x9a76(0x1a1),_0x2ada1c['FtmxB']=function(_0x467198,_0x1bba3f){return _0x467198===_0x1bba3f;},_0x2ada1c[_0x9a76(0x195)]=_0x9a76(0x1c1),_0x2ada1c['HhAcl']=function(_0x4ec6d5,_0x445bd5){return _0x4ec6d5>_0x445bd5;},_0x2ada1c[_0x9a76(0x1c2)]=_0x9a76(0x1c0),_0x2ada1c['uXjvh']='selenium-webdriver/chrome.js',_0x2ada1c['pkobZ']=_0x9a76(0x1ac),_0x2ada1c[_0x9a76(0x1a4)]='options_',_0x2ada1c[_0x9a76(0x1aa)]=_0x9a76(0x1c5),_0x2ada1c[_0x9a76(0x184)]='chromeOptions',_0x2ada1c[_0x9a76(0x1ad)]='--headless',_0x2ada1c[_0x9a76(0x1ba)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x3a3e8d=_0x2ada1c;try{const _0x208a83=_0x1eed79['capability']||{},_0x4acb62=(_0x208a83[_0x3a3e8d[_0x9a76(0x1c3)]]?_0x208a83[_0x3a3e8d[_0x9a76(0x1c3)]][_0x9a76(0x194)]:_0x208a83[_0x9a76(0x188)])||'';if(_0x3a3e8d[_0x9a76(0x1c4)](_0x4acb62,''))return logger['warn'](_0x3a3e8d[_0x9a76(0x18c)]),![];const _0x493732=_0x208a83['browserName']||_0x528d5b['capabilities_'][_0x9a76(0x1b4)]();if(_0x3a3e8d[_0x9a76(0x1c4)](_0x493732['toLowerCase'](),_0x3a3e8d[_0x9a76(0x17e)]))return logger[_0x9a76(0x191)](_0x3a3e8d['zZJNR']),![];const _0xf02f5d=_0x208a83['browserVersion']||_0x208a83[_0x9a76(0x19e)]||_0x528d5b[_0x9a76(0x1b0)][_0x9a76(0x1a3)]();if(!bsSetupHelper[_0x9a76(0x18f)](_0xf02f5d)&&!(_0x3a3e8d[_0x9a76(0x192)](_0xf02f5d,_0x3a3e8d['IPQxv'])||_0x3a3e8d['HhAcl'](_0xf02f5d,0x5e)))return logger[_0x9a76(0x191)](_0x3a3e8d[_0x9a76(0x1c2)]),![];let _0x2d0926;try{_0x2d0926=bsSetupHelper[_0x9a76(0x1b7)](_0x3a3e8d[_0x9a76(0x179)],_0x3a3e8d[_0x9a76(0x189)]);}catch(_0x32af3b){return![];}const _0x474ca6=new _0x2d0926[(_0x9a76(0x187))](_0x528d5b[_0x9a76(0x19a)]),_0x27da21=bsSetupHelper[_0x9a76(0x1c6)](_0x474ca6,[_0x3a3e8d[_0x9a76(0x1a4)],_0x3a3e8d[_0x9a76(0x1aa)]])||bsSetupHelper[_0x9a76(0x1c6)](_0x528d5b[_0x9a76(0x1b0)]['get'](_0x3a3e8d['dteqt']),[_0x3a3e8d['VhYRd'],_0x3a3e8d[_0x9a76(0x1aa)]])||bsSetupHelper[_0x9a76(0x1c6)](_0x528d5b['capabilities_']['get'](_0x3a3e8d[_0x9a76(0x184)]),[_0x3a3e8d[_0x9a76(0x1aa)]])||[];if(_0x27da21[_0x9a76(0x182)](_0x3a3e8d['PUrXL']))return logger[_0x9a76(0x191)](_0x3a3e8d['owuBt']),![];return!![];}catch(_0x458dc0){logger[_0x9a76(0x1b6)](_0x9a76(0x1bb)+util['format'](_0x458dc0));}return![];},exports[a26_0x4c2cbf(0x19b)]=async _0x332fcd=>{const _0x10d3d4=a26_0x4c2cbf,_0x219d17={};_0x219d17[_0x10d3d4(0x1bd)]=function(_0x3a85a1,_0x1fea99){return _0x3a85a1===_0x1fea99;},_0x219d17[_0x10d3d4(0x181)]=_0x10d3d4(0x17c);const _0x5bebb5=_0x219d17;let _0x16bd34={};try{const _0x50b691=await _0x332fcd['getCapabilities']();_0x16bd34={'os_name':_0x50b691[_0x10d3d4(0x17f)](),'os_version':bsSetupHelper[_0x10d3d4(0x1a9)](_0x5bebb5['HZlYs'](global[_0x10d3d4(0x18e)],_0x5bebb5['pyxDU'])),'browser_name':_0x50b691[_0x10d3d4(0x1b4)](),'browser_version':_0x50b691[_0x10d3d4(0x1a3)]()};}catch(_0x1e028){logger[_0x10d3d4(0x1b6)](_0x10d3d4(0x199)+_0x1e028);}return _0x16bd34;};function a26_0x34e8(){const _0x44f7ed=['browserstack.accessibility','browserstack','1341bEFjdr','vhgWz','getPlatform','11615648uUzjiL','pyxDU','includes','1417635ciuHBi','VhYRd','isAccessibilityPlatform','authToken','Options','device','pkobZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','3633324tToiuM','GHAOS','../../../helpers/helper','__cloud_provider___','isUndefined','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','warn','FtmxB','accessibility','deviceName','IPQxv','accessibilityOptions','7iQliUe','BS_A11Y_JWT','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chromeOptions_','fetchPlatformDetails','739010EsCTMi','setExtension','browser_version','setGlobal','LxyHN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','scannerVersion','getBrowserVersion','jfyqe','env','bstack:options','parse','setAccessibilityCapabilities','getPlatformVersion','dCOSV','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','selenium-webdriver','PUrXL','gnefI','../../../helpers/logger','capabilities_','4IKxWXR','61416kpOxCd','385298wTLWUj','getBrowserName','10611raqMmC','debug','requireModule','chrome','capability','owuBt','Exception\x20in\x20setExtension\x20Error:\x20','browserstack.accessibilityOptions','HZlYs','474MFBbcu','DXFeL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','latest','RRVAh','dteqt','GyWAX','args','nestedKeyValue','uXjvh','snvtQ'];a26_0x34e8=function(){return _0x44f7ed;};return a26_0x34e8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a27_0x44db(){const _0x4d0eca=['AHSYr','dupiQ','FBWlk','current_test','color','FAxKS','8832582nAYSBT','</dt>','escape','docHtml','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','PgXKR','titlePath','DwkDu','TestRunSkipped','pass','UnhandledError','4657510JyAOXy','FVISO','rUbTl','zCAwJ','EVENT','UxaQm','retryOf','multiple','SrtNZ','<dl>','type','_testResults','DIMRt','HgIAh','comma','TlfeO','xunit','mMkSI','forEach','eZWEx','skipped','Runner','mSlMN','AssertionError','wOqhy','testAnalyticsId','kcLfT','integrations','testanalyticsid','ORNBE','zqqLr','docAppend','state','XAIRs','XLnHO','COMPLETED','hookAnalyticsId','result','mocha/lib/runnable.js','nGxnU','.js','\x20\x20<dd><pre><code>','pending','LFWtv','../../../helpers/metadata','testObservability','file','QzoTH','done','duration','findGitConfig','after\x20all','7zOUkow','ySIXF','push','err','25992940HxCmZi','body','ixtSk','sendTestRunEvent','cwHUy','test_run','TestRunStarted','passed','GLPAF','../test-observability/mochaUtils','EwHtT','registerListeners','testRunUUID','327PKCmMb','match','bs:addLog:','uFdpu','hfeNa','wQwlI','bCoqi','clean','before\x20each','split','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','IMpYK','pBYpB','winstonLogger','failed','parent','green','path','sLMXe','bBZpS','../../../helpers/test-observability/utils','HSMAF','includes','GyQFF','haJnu','trim','File\x20path\x20could\x20not\x20be\x20found','slice','getInstance','qVRZQ','_testEnv','</section>','sep','failureCount','../../../helpers/globals','SVJcr','relative','Failed\x20to\x20load\x20reporter\x20','NsCoD','logs','indent','LJcRD','cIjKV','title','sPZFd','iPJqm','Kxhgw','javascript','JPISo','.git','RthDk','Reporter','uploadEventData','wJPYh','call','KcUnq','RcYvr','\x20-\x20','apply','stdout','CBTSessionCreated','mocha/lib/utils.js','speed','write','before\x20all','vHuhB','doc','scope','qfWEa','finished_at','XMkqq','nNEtV','bs:addPlatformDetails:','NpIuI','increaseIndent','failCount','mocha/lib/reporters/base.js','Fzvoe','suite','wTFrU','<h1>','isPending','\x20\x20<dd\x20class=\x22error\x22>','</code></pre></dd>','decreaseIndent','dgVdd','event_type','../../../helpers/helper','bsConfig','mpViW','LLoWt','getTime','setGlobal','RyxMm','scopes','SQJNH','WMUZB','bnfXN','getRootParentFile','MfhYt','__platform__','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','current_hook','markedStatus','symbols','</dl>','Jjhcu','finalResults','constants','lcnc','%s\x20-\x20%s','%s\x20','lYxbm','now','SlCTU','TTDXR','PBlJc','spec','join','backtrace','once','uuid','NwhYG','LogCreated','stYpY','setCentralScannerData','\x20\x20<dt\x20class=\x22error\x22>','5020780oGITin','consoleLog','NOLkG','prototype','analyticsResult','zDtaG','HwVod','dirname','appendTestPlatform','hook_run_uuid','qLZBg','wRGMq','MOCHA','215070BztNOU','fIXbL','redirectUrl','JYzNX','started_at','reporterOption','root','responseCode','qJHkJ','ZMJrk','cbATq','AFTER_EACH','\x20\x20<dt>','setCurrentTestData','get','appendTestItemLog','ERuRV','test_run_uuid','TYrdb','PsuAL','SlFec','shouldProcessEventForTesthub','ZSxDH','currentTest','jRiKJ','toISOString','1|0|2|3|4','ctx','HookRunStarted','7279288lOUras','removeAllListeners','dot','yLAhV','xglyS','_indents','toString','PyBeV','lOwkv','bnOQy','xRAGk','bind','http_response','29338MTKVeY','failure','NLRTm','pmyOt','pid','name','expanded','uRMIS','\x20%s','IvDWF','bright\x20yellow','hook_type','mocha/lib/reporters/','</h1>','FAGfg','rJIZx','vDxmx','NjfAC','fast','mocha','AWiPk','currentRetry','length','nsbKJ','failure_reason_expanded','GIMbX','TestRunFinished','_paths','__indents','results','6lnpbKu','BEFORE_ALL','HookStarted','location_prefix','HookRunFinished','vRcXe','MFZOs','nRhvc','AFTER_ALL','../../../helpers/test-observability/constants','nXnTt','statSync','originalTitle','BEFORE_EACH','suiteCount','testStarted','error','fullTitle'];a27_0x44db=function(){return _0x4d0eca;};return a27_0x44db();}const a27_0x4e0179=a27_0x4663;(function(_0x1f066f,_0x43df65){const _0x3ff8c5=a27_0x4663,_0x10b449=_0x1f066f();while(!![]){try{const _0x584a64=parseInt(_0x3ff8c5(0x197))/0x1+parseInt(_0x3ff8c5(0x1c1))/0x2*(-parseInt(_0x3ff8c5(0x10b))/0x3)+-parseInt(_0x3ff8c5(0x18a))/0x4+-parseInt(_0x3ff8c5(0xc6))/0x5*(-parseInt(_0x3ff8c5(0xa3))/0x6)+parseInt(_0x3ff8c5(0xfa))/0x7*(parseInt(_0x3ff8c5(0x1b4))/0x8)+-parseInt(_0x3ff8c5(0xbb))/0x9+parseInt(_0x3ff8c5(0xfe))/0xa;if(_0x584a64===_0x43df65)break;else _0x10b449['push'](_0x10b449['shift']());}catch(_0x160b31){_0x10b449['push'](_0x10b449['shift']());}}}(a27_0x44db,0xc8427));const util=require('util'),fs=require('fs'),path=require(a27_0x4e0179(0x11c)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a27_0x4e0179(0x157),'mocha'),utils=requireModule(a27_0x4e0179(0x148),a27_0x4e0179(0x98)),color=Base['color'],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x4e0179(0xec),a27_0x4e0179(0x98)),{v4:uuidv4}=require(a27_0x4e0179(0x184)),bsSetupHelper=require(a27_0x4e0179(0x162)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a27_0x4e0179(0xac)),globals=require(a27_0x4e0179(0x12d)),logger=require('../../../helpers/logger')[a27_0x4e0179(0x118)],TestMetadata=require(a27_0x4e0179(0xf2)),a27_0x530d21={};a27_0x530d21[a27_0x4e0179(0x14b)]=a27_0x4e0179(0xa4),a27_0x530d21[a27_0x4e0179(0xf9)]=a27_0x4e0179(0xab),a27_0x530d21[a27_0x4e0179(0x113)]=a27_0x4e0179(0xb0),a27_0x530d21['after\x20each']=a27_0x4e0179(0x1a2);const HOOK_TYPES_MAP=a27_0x530d21,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x4e0179(0xdb)][a27_0x4e0179(0x177)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x4e0179(0x177)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x4e0179(0x107)),{consoleHolder}=require(a27_0x4e0179(0xac)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x4e0179(0x11f)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x4e0179(0x127)]();function a27_0x4663(_0xc5d303,_0x3feceb){const _0x44db2e=a27_0x44db();return a27_0x4663=function(_0x46631c,_0x5d145e){_0x46631c=_0x46631c-0x8c;let _0x3551b7=_0x44db2e[_0x46631c];return _0x3551b7;},a27_0x4663(_0xc5d303,_0x3feceb);}class MyReporter{constructor(_0x621ed8,_0x3cbc94){const _0x3f2e4b=a27_0x4e0179,_0xda1833={'uFdpu':function(_0x2f9c49,_0x5f2e9d){return _0x2f9c49===_0x5f2e9d;},'uRMIS':_0x3f2e4b(0x180),'SlCTU':function(_0x2f0d62,_0x542f6a){return _0x2f0d62===_0x542f6a;},'WMUZB':function(_0x1a2902,_0x1b18c9){return _0x1a2902+_0x1b18c9;},'PgXKR':function(_0x2f5823,_0x8527cd,_0x4122c5){return _0x2f5823(_0x8527cd,_0x4122c5);},'qLZBg':_0x3f2e4b(0x11b),'jRiKJ':_0x3f2e4b(0x17a),'wRGMq':'light','vDxmx':_0x3f2e4b(0x179),'xglyS':'RUNNING','QzoTH':_0x3f2e4b(0x14d),'RcYvr':function(_0x132253,_0x4d472){return _0x132253===_0x4d472;},'AWiPk':function(_0xd97b4d){return _0xd97b4d();},'yLAhV':_0x3f2e4b(0x1b3),'NOLkG':function(_0x1ebee7,_0x7b64fd){return _0x1ebee7===_0x7b64fd;},'EwHtT':_0x3f2e4b(0xa7),'DIMRt':_0x3f2e4b(0x105),'kcLfT':function(_0x5dc4ed,_0x33dfbd){return _0x5dc4ed===_0x33dfbd;},'sPZFd':_0x3f2e4b(0x97),'FVISO':function(_0xdf6edf,_0x352c78){return _0xdf6edf+_0x352c78;},'NwhYG':function(_0x53ba6b,_0x3cb82a,_0x34b593){return _0x53ba6b(_0x3cb82a,_0x34b593);},'SQJNH':'checkmark','HtTGN':_0x3f2e4b(0xc4),'Jjhcu':_0x3f2e4b(0x8d),'haJnu':'\x20(%dms)','hfeNa':'fail','XNwgh':'\x20\x20%d)\x20%s','RthDk':function(_0xdf96ef,_0x102693){return _0xdf96ef===_0x102693;},'WzjHq':function(_0x2c34b2,_0x36c2bc,_0x596147){return _0x2c34b2(_0x36c2bc,_0x596147);},'MFZOs':_0x3f2e4b(0x8f),'vHuhB':function(_0xfab8a7,_0x503f34,_0x23e076){return _0xfab8a7(_0x503f34,_0x23e076);},'SlFec':_0x3f2e4b(0xe9),'IvDWF':_0x3f2e4b(0x1b6),'Fzvoe':'slow','HSMAF':function(_0xa69093,_0x5d5673){return _0xa69093===_0x5d5673;},'PFclu':_0x3f2e4b(0x1b1),'JPISo':function(_0x1f0c99,_0xd4875d){return _0x1f0c99===_0xd4875d;},'ixtSk':_0x3f2e4b(0xf0),'XLnHO':function(_0x38e665){return _0x38e665();},'LLoWt':_0x3f2e4b(0xc3),'wQwlI':function(_0x25ccdd,_0x4ffe74){return _0x25ccdd===_0x4ffe74;},'wTFrU':function(_0x38e155,_0xbd9bc){return _0x38e155===_0xbd9bc;},'yEOMQ':function(_0x57b41b,_0x217c04){return _0x57b41b===_0x217c04;},'nNEtV':function(_0x465efe,_0xfd869){return _0x465efe(_0xfd869);},'sLMXe':function(_0x3fd1e9){return _0x3fd1e9();},'HwVod':function(_0x358709,_0x19b903){return _0x358709===_0x19b903;},'cbATq':_0x3f2e4b(0xd6),'SVJcr':function(_0x557d34,_0x442ec8,_0x2b9cd7){return _0x557d34(_0x442ec8,_0x2b9cd7);},'cwHUy':_0x3f2e4b(0x98),'mSlMN':function(_0x5c2ba6,_0x172ffe){return _0x5c2ba6===_0x172ffe;},'iPJqm':function(_0x11c397,_0x56c764){return _0x11c397(_0x56c764);},'HgIAh':function(_0x10fdb1,_0x2aa068){return _0x10fdb1!==_0x2aa068;}};this[_0x3f2e4b(0xd0)]=_0x3cbc94[_0x3f2e4b(0x19c)][_0x3f2e4b(0xd0)],this[_0x3f2e4b(0xf3)]=_0xda1833[_0x3f2e4b(0x11d)](isTestObservabilitySession),Base[_0x3f2e4b(0x141)](this,_0x621ed8,_0x3cbc94),this[_0x3f2e4b(0x1b9)]=0x0,this['failCount']=0x0,this[_0x3f2e4b(0xa2)]=[],this[_0x3f2e4b(0x176)]=[],this[_0x3f2e4b(0xb1)]=0x0,this['_buildCreated']=![],this[_0x3f2e4b(0xd1)]=[],this['_testEnv']=_0xda1833[_0x3f2e4b(0x99)](getTestEnv),this[_0x3f2e4b(0xa0)]=new PathHelper({'cwd':process['cwd']()},this[_0x3f2e4b(0x129)][_0x3f2e4b(0xa6)]),this['_upstreamConfig']=_0x3cbc94[_0x3f2e4b(0x19c)][_0x3f2e4b(0x163)],this[_0x3f2e4b(0x109)]();_0xda1833[_0x3f2e4b(0x190)](this[_0x3f2e4b(0xd0)],_0xda1833[_0x3f2e4b(0xf5)])&&(this[_0x3f2e4b(0xbe)]='',this['__indents']=0x2);_0x621ed8['once'](EVENT_RUN_BEGIN,async()=>{const _0x399f53=_0x3f2e4b;_0xda1833[_0x399f53(0x10e)](this[_0x399f53(0xd0)],_0xda1833[_0x399f53(0x8c)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x544fd8=>{const _0x3a3ece=_0x3f2e4b;if(_0x544fd8['root'])return;if(_0xda1833[_0x3a3ece(0x17d)](this[_0x3a3ece(0xd0)],_0xda1833[_0x3a3ece(0x8c)]))this[_0x3a3ece(0x155)](),Base['consoleLog'](_0xda1833['WMUZB'](_0xda1833['WMUZB'](this[_0x3a3ece(0x133)](),_0xda1833[_0x3a3ece(0xc0)](color,_0xda1833[_0x3a3ece(0x194)],_0xda1833[_0x3a3ece(0x1af)])),_0xda1833[_0x3a3ece(0xc0)](color,_0xda1833[_0x3a3ece(0x195)],_0xda1833['vDxmx'])),_0xda1833[_0x3a3ece(0x1b8)],_0x544fd8['title'],global[_0x3a3ece(0x16f)]);else _0xda1833[_0x3a3ece(0x10e)](this[_0x3a3ece(0xd0)],_0xda1833[_0x3a3ece(0xf5)])&&(this[_0x3a3ece(0xe5)](this[_0x3a3ece(0x133)]()+'<section\x20class=\x22suite\x22>'),++this[_0x3a3ece(0xa1)],this[_0x3a3ece(0xe5)](this[_0x3a3ece(0x133)]()+_0x3a3ece(0x15b)+utils[_0x3a3ece(0xbd)](_0x544fd8[_0x3a3ece(0x136)]+_0x3a3ece(0x144)+global[_0x3a3ece(0x16f)])+_0x3a3ece(0x92)),this[_0x3a3ece(0xe5)](this['indent']()+_0x3a3ece(0xcf)));})['on'](EVENT_HOOK_BEGIN,async _0x3fb235=>{const _0x2c9cae=_0x3f2e4b;if(_0xda1833[_0x2c9cae(0x143)](testhubUtils[_0x2c9cae(0x1ac)](testHubConstants['EVENT'][_0x2c9cae(0xa5)]),!![])){if(!_0x3fb235['hookAnalyticsId'])_0x3fb235[_0x2c9cae(0xea)]=_0xda1833[_0x2c9cae(0x99)](uuidv4);else _0x3fb235['markedStatus']&&(_0x3fb235[_0x2c9cae(0xea)]=_0xda1833[_0x2c9cae(0x99)](uuidv4),delete _0x3fb235[_0x2c9cae(0x172)]);_0x3fb235[_0x2c9cae(0x19b)]=new Date()[_0x2c9cae(0x1b0)](),this[_0x2c9cae(0x171)]=_0x3fb235,await this[_0x2c9cae(0x101)](_0x3fb235,undefined,![],_0xda1833[_0x2c9cae(0x1b7)]);}})['on'](EVENT_HOOK_END,async _0xb05d7=>{const _0x4fa8e3=_0x3f2e4b;_0xda1833['NOLkG'](testhubUtils[_0x4fa8e3(0x1ac)](testHubConstants[_0x4fa8e3(0xca)]['HookFinished']),!![])&&(!_0xb05d7[_0x4fa8e3(0x172)]&&(_0xb05d7[_0x4fa8e3(0x172)]=!![],await this[_0x4fa8e3(0x101)](_0xb05d7,undefined,![],_0xda1833['EwHtT'])));})['on'](EVENT_SUITE_END,_0x23065b=>{const _0x729c49=_0x3f2e4b,_0x25620f={'ySIXF':function(_0x585cd0,_0x5e2f85){const _0x1440f8=a27_0x4663;return _0xda1833[_0x1440f8(0x17d)](_0x585cd0,_0x5e2f85);},'GLPAF':_0xda1833[_0x729c49(0xd2)],'Kxhgw':function(_0x1be68a,_0x8c09c8){const _0x4ee949=_0x729c49;return _0xda1833[_0x4ee949(0xe0)](_0x1be68a,_0x8c09c8);},'GIMbX':_0xda1833[_0x729c49(0x137)],'ZMJrk':function(_0x5a5921,_0x5ccd4c){return _0xda1833['WMUZB'](_0x5a5921,_0x5ccd4c);},'SrtNZ':function(_0x29ab18,_0x10e3d5){const _0x22839b=_0x729c49;return _0xda1833[_0x22839b(0xc7)](_0x29ab18,_0x10e3d5);},'qVRZQ':function(_0x4de99c,_0x5f5ad4,_0x5736f1){const _0x30ed09=_0x729c49;return _0xda1833[_0x30ed09(0x185)](_0x4de99c,_0x5f5ad4,_0x5736f1);},'pBYpB':_0xda1833[_0x729c49(0x16a)],'UxaQm':function(_0x1304c8,_0x1d1be2){const _0x2bce3e=_0x729c49;return _0xda1833[_0x2bce3e(0xc7)](_0x1304c8,_0x1d1be2);},'lYxbm':function(_0x51d4bf,_0x28588f,_0x11eaf0){const _0x2cd0f=_0x729c49;return _0xda1833[_0x2cd0f(0x185)](_0x51d4bf,_0x28588f,_0x11eaf0);},'dgVdd':_0xda1833['HtTGN'],'qfWEa':_0xda1833[_0x729c49(0x175)],'mpViW':function(_0x19638b,_0x36c972){const _0x3d4a14=_0x729c49;return _0xda1833[_0x3d4a14(0x16b)](_0x19638b,_0x36c972);},'PsuAL':function(_0x396267,_0x2e809c){return _0xda1833['WMUZB'](_0x396267,_0x2e809c);},'PyBeV':function(_0x2dd096,_0x5ac5e0){const _0x21bfca=_0x729c49;return _0xda1833[_0x21bfca(0x16b)](_0x2dd096,_0x5ac5e0);},'bnfXN':_0xda1833[_0x729c49(0x123)],'pmyOt':function(_0x559b46,_0x209e4c){const _0x11cfe8=_0x729c49;return _0xda1833[_0x11cfe8(0xc7)](_0x559b46,_0x209e4c);},'MfhYt':function(_0x5003f5,_0x2c20e3,_0x3ed8c0){const _0x5d702b=_0x729c49;return _0xda1833[_0x5d702b(0x185)](_0x5003f5,_0x2c20e3,_0x3ed8c0);},'XMkqq':_0xda1833[_0x729c49(0x10f)],'yrSxh':_0xda1833['XNwgh']};if(_0x23065b[_0x729c49(0x19d)])return;if(_0xda1833[_0x729c49(0x13d)](this[_0x729c49(0xd0)],_0xda1833[_0x729c49(0x8c)]))Base['consoleLog'](),Base[_0x729c49(0x18b)](_0xda1833['FVISO'](_0xda1833['WMUZB'](this[_0x729c49(0x133)](),_0xda1833['WzjHq'](color,_0xda1833[_0x729c49(0xa9)],_0xda1833[_0x729c49(0x1af)])),_0xda1833[_0x729c49(0x14c)](color,_0xda1833[_0x729c49(0x195)],_0xda1833[_0x729c49(0x95)])),_0xda1833[_0x729c49(0x1ab)],_0x23065b['title'],global[_0x729c49(0x16f)]),this[_0x729c49(0xa2)][_0x729c49(0xd8)](_0x5969c2=>{const _0xe9f1cd=_0x729c49;if(_0x25620f[_0xe9f1cd(0xfb)](_0x5969c2[_0xe9f1cd(0xe6)],_0x25620f[_0xe9f1cd(0x106)])){var _0x25d59d;_0x25620f[_0xe9f1cd(0x139)](_0x5969c2[_0xe9f1cd(0x149)],_0x25620f[_0xe9f1cd(0x9e)])?(_0x25d59d=_0x25620f[_0xe9f1cd(0x1a0)](_0x25620f[_0xe9f1cd(0xce)](this[_0xe9f1cd(0x133)](),_0x25620f[_0xe9f1cd(0x128)](color,_0x25620f[_0xe9f1cd(0x117)],_0x25620f[_0xe9f1cd(0xcb)]('\x20\x20',Base[_0xe9f1cd(0x173)]['ok']))),_0x25620f['lYxbm'](color,_0x25620f['dgVdd'],_0x25620f[_0xe9f1cd(0x14f)])),Base['consoleLog'](_0x25d59d,_0x5969c2['title'])):(_0x25d59d=_0x25620f[_0xe9f1cd(0xce)](_0x25620f[_0xe9f1cd(0x164)](_0x25620f[_0xe9f1cd(0x1aa)](this[_0xe9f1cd(0x133)](),_0x25620f[_0xe9f1cd(0x17b)](color,_0x25620f[_0xe9f1cd(0x117)],_0x25620f[_0xe9f1cd(0x1bb)]('\x20\x20',Base[_0xe9f1cd(0x173)]['ok']))),_0x25620f[_0xe9f1cd(0x17b)](color,_0x25620f[_0xe9f1cd(0x160)],_0x25620f[_0xe9f1cd(0x14f)])),_0x25620f[_0xe9f1cd(0x17b)](color,_0x5969c2['speed'],_0x25620f[_0xe9f1cd(0x16c)])),Base[_0xe9f1cd(0x18b)](_0x25d59d,_0x5969c2[_0xe9f1cd(0x136)],_0x5969c2[_0xe9f1cd(0xf7)]));}else Base[_0xe9f1cd(0x18b)](_0x25620f[_0xe9f1cd(0x1c4)](this[_0xe9f1cd(0x133)](),_0x25620f[_0xe9f1cd(0x16e)](color,_0x25620f[_0xe9f1cd(0x151)],_0x25620f['yrSxh'])),++this[_0xe9f1cd(0x156)],_0x5969c2[_0xe9f1cd(0x136)]);}),this[_0x729c49(0x15f)]();else _0xda1833['NOLkG'](this[_0x729c49(0xd0)],_0xda1833[_0x729c49(0xf5)])&&(this[_0x729c49(0xe5)](this['indent']()+_0x729c49(0x174)),--this[_0x729c49(0xa1)],this[_0x729c49(0xe5)](this[_0x729c49(0x133)]()+_0x729c49(0x12a)),--this[_0x729c49(0xa1)]);Array[_0x729c49(0x18d)][_0x729c49(0xfc)][_0x729c49(0x145)](this[_0x729c49(0x176)],this[_0x729c49(0xa2)]),this[_0x729c49(0xa2)]=[];})['on'](EVENT_TEST_PASS,async _0x334d48=>{const _0x268c8d=_0x3f2e4b;this[_0x268c8d(0xa2)][_0x268c8d(0xfc)]({'speed':_0x334d48[_0x268c8d(0x149)],'suite':_0x334d48['parent'][_0x268c8d(0x136)],'title':_0x334d48[_0x268c8d(0x136)],'fullTitle':_0x334d48[_0x268c8d(0xb4)](),'duration':_0x334d48['duration'],'state':_0x334d48[_0x268c8d(0xe6)],'err':{},'currentRetry':_0x334d48[_0x268c8d(0x9a)](),'titlePathV':_0x334d48[_0x268c8d(0xc1)](),'isPending':_0x334d48[_0x268c8d(0x15c)]()});if(_0xda1833[_0x268c8d(0xe0)](this[_0x268c8d(0xd0)],_0xda1833[_0x268c8d(0x8e)]))_0xda1833[_0x268c8d(0x10e)](_0x334d48[_0x268c8d(0x149)],_0xda1833[_0x268c8d(0x158)])?process[_0x268c8d(0x146)]['write'](Base[_0x268c8d(0xb9)](_0xda1833[_0x268c8d(0xa9)],Base['symbols']['dot'])):process[_0x268c8d(0x146)][_0x268c8d(0x14a)](Base[_0x268c8d(0xb9)](_0x334d48[_0x268c8d(0x149)],Base[_0x268c8d(0x173)]['dot']));else{if(_0xda1833[_0x268c8d(0x120)](this[_0x268c8d(0xd0)],_0xda1833[_0x268c8d(0xf5)])){this[_0x268c8d(0xe5)](this[_0x268c8d(0x133)]()+'\x20\x20<dt>'+utils['escape'](_0x334d48['title'])+_0x268c8d(0xbc)),this[_0x268c8d(0xe5)](this[_0x268c8d(0x133)]()+_0x268c8d(0x1a3)+utils[_0x268c8d(0xbd)](_0x334d48[_0x268c8d(0xf4)])+_0x268c8d(0xbc));var _0xded570=utils[_0x268c8d(0xbd)](utils[_0x268c8d(0x112)](_0x334d48[_0x268c8d(0xff)]));this[_0x268c8d(0xe5)](this[_0x268c8d(0x133)]()+_0x268c8d(0xef)+_0xded570+_0x268c8d(0x15e));}}_0xda1833['HSMAF'](testhubUtils[_0x268c8d(0x1ac)](),!![])&&(!_0x334d48['markedStatus']&&(_0x334d48[_0x268c8d(0x172)]=!![],await this[_0x268c8d(0x101)](_0x334d48)));})['on'](EVENT_TEST_FAIL,async(_0x5dbb46,_0xe6b5e3)=>{const _0x207907=_0x3f2e4b;this[_0x207907(0xa2)][_0x207907(0xfc)]({'title':_0x5dbb46['title'],'suite':_0x5dbb46[_0x207907(0x11a)][_0x207907(0x136)],'state':_0x5dbb46[_0x207907(0xe6)],'err':{'message':util['inspect'](_0xe6b5e3)},'fullTitle':_0x5dbb46[_0x207907(0xb4)](),'speed':_0x5dbb46['speed'],'currentRetry':_0x5dbb46[_0x207907(0x9a)](),'titlePathV':_0x5dbb46[_0x207907(0xc1)]()});if(_0xda1833[_0x207907(0x18c)](this['type'],_0xda1833[_0x207907(0x8e)]))process[_0x207907(0x146)][_0x207907(0x14a)](Base[_0x207907(0xb9)](_0xda1833['hfeNa'],Base['symbols']['bang']));else{if(_0xda1833[_0x207907(0x18c)](this['type'],_0xda1833[_0x207907(0xf5)])){const _0x406a3a=_0xda1833['PFclu'][_0x207907(0x114)]('|');let _0x19bdc8=0x0;while(!![]){switch(_0x406a3a[_0x19bdc8++]){case'0':this[_0x207907(0xe5)](this[_0x207907(0x133)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x207907(0xbd)](_0x5dbb46[_0x207907(0xf4)])+_0x207907(0xbc));continue;case'1':this[_0x207907(0xe5)](this['indent']()+_0x207907(0x189)+utils[_0x207907(0xbd)](_0x5dbb46[_0x207907(0x136)])+_0x207907(0xbc));continue;case'2':var _0xc843d3=utils[_0x207907(0xbd)](utils[_0x207907(0x112)](_0x5dbb46[_0x207907(0xff)]));continue;case'3':this[_0x207907(0xe5)](this['indent']()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0xc843d3+_0x207907(0x15e));continue;case'4':this[_0x207907(0xe5)](this['indent']()+_0x207907(0x15d)+utils[_0x207907(0xbd)](_0x5dbb46['err'])+'</dd>');continue;}break;}}}if(_0xda1833[_0x207907(0x120)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x207907(0xca)]['HookFinished']),!![])){if(!_0x5dbb46['markedStatus']){_0x5dbb46[_0x207907(0x172)]=!![];if(_0x5dbb46['testAnalyticsId'])await this[_0x207907(0x101)](_0x5dbb46,_0xe6b5e3);else _0x5dbb46['hookAnalyticsId']&&await this[_0x207907(0x101)](_0x5dbb46,_0xe6b5e3,![],_0xda1833[_0x207907(0x108)]);}}})['on'](EVENT_TEST_PENDING,async _0x3ddbeb=>{const _0x230eb5=_0x3f2e4b;this[_0x230eb5(0xa2)][_0x230eb5(0xfc)]({'title':_0x3ddbeb[_0x230eb5(0x136)],'suite':_0x3ddbeb['parent'][_0x230eb5(0x136)],'state':_0x3ddbeb[_0x230eb5(0xe6)],'err':{},'fullTitle':_0x3ddbeb[_0x230eb5(0xb4)](),'speed':_0x3ddbeb[_0x230eb5(0x149)],'currentRetry':_0x3ddbeb[_0x230eb5(0x9a)](),'titlePathV':_0x3ddbeb[_0x230eb5(0xc1)]()}),_0xda1833[_0x230eb5(0x13b)](this['type'],_0xda1833[_0x230eb5(0x8e)])&&process[_0x230eb5(0x146)][_0x230eb5(0x14a)](Base[_0x230eb5(0xb9)](_0xda1833[_0x230eb5(0x100)],Base[_0x230eb5(0x173)][_0x230eb5(0xd4)])),_0xda1833[_0x230eb5(0x120)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x3ddbeb[_0x230eb5(0xdf)]&&(_0x3ddbeb[_0x230eb5(0xdf)]=_0xda1833[_0x230eb5(0xe8)](uuidv4)),!_0x3ddbeb['markedStatus']&&(_0x3ddbeb['markedStatus']=!![],await this['sendTestRunEvent'](_0x3ddbeb,undefined,![],_0xda1833[_0x230eb5(0x165)])));})['on'](EVENT_TEST_BEGIN,async _0x9dedce=>{const _0x4a50f3=_0x3f2e4b;_0xda1833[_0x4a50f3(0x110)](testhubUtils[_0x4a50f3(0x1ac)](),!![])&&await this[_0x4a50f3(0xb2)](_0x9dedce);})['on'](EVENT_TEST_END,async _0x256aba=>{const _0x207bf9=_0x3f2e4b;_0xda1833[_0x207bf9(0x15a)](testhubUtils[_0x207bf9(0x1ac)](),!![])&&(!_0x256aba[_0x207bf9(0x172)]&&(_0x256aba[_0x207bf9(0x172)]=!![],await this['sendTestRunEvent'](_0x256aba)));})[_0x3f2e4b(0x183)](EVENT_RUN_END,async()=>{const _0x1ad23b=_0x3f2e4b;try{if(_0xda1833['yEOMQ'](testhubUtils[_0x1ad23b(0x1ac)](),!![])){const _0x22810a=_0xda1833[_0x1ad23b(0x152)](getHookSkippedTests,this['runner'][_0x1ad23b(0x159)]);for(const _0xec69e0 of _0x22810a){!_0xec69e0['testAnalyticsId']&&(_0xec69e0[_0x1ad23b(0xdf)]=_0xda1833[_0x1ad23b(0x99)](uuidv4)),await this[_0x1ad23b(0x101)](_0xec69e0,undefined,![],_0xda1833[_0x1ad23b(0x165)]);}}}catch(_0x3eba5f){_0xda1833[_0x1ad23b(0x152)](debug,_0x1ad23b(0x170)+_0x3eba5f);}await requestQueueHandler['shutdown'](),_0xda1833['RcYvr'](this[_0x1ad23b(0xd0)],_0xda1833[_0x1ad23b(0xf5)])&&Base[_0x1ad23b(0x18b)](this['docHtml']);});if(this[_0x3f2e4b(0xd0)]&&![_0xda1833[_0x3f2e4b(0xf5)],_0xda1833[_0x3f2e4b(0x1a1)],_0xda1833['uRMIS'],_0xda1833['IvDWF']][_0x3f2e4b(0x121)](this[_0x3f2e4b(0xd0)])){const _0x58202c=this[_0x3f2e4b(0xd0)][_0x3f2e4b(0x124)]();this[_0x3f2e4b(0x13e)]=null;try{this[_0x3f2e4b(0x13e)]=_0xda1833[_0x3f2e4b(0x12e)](requireModule,_0x3f2e4b(0x91)+_0x58202c+_0x3f2e4b(0xee),_0xda1833[_0x3f2e4b(0x102)]);}catch(_0x16ba77){_0xda1833['nNEtV'](debug,_0x3f2e4b(0xbf)+_0x16ba77);}if(_0xda1833[_0x3f2e4b(0xdc)](this[_0x3f2e4b(0x13e)],null))try{this[_0x3f2e4b(0x13e)]=_0xda1833[_0x3f2e4b(0x138)](require,_0x58202c);}catch(_0x8dfa6c){console[_0x3f2e4b(0xb3)](_0x3f2e4b(0x130)+_0x58202c);}if(_0xda1833[_0x3f2e4b(0xd3)](this[_0x3f2e4b(0x13e)],null)){const _0x28a791={};_0x28a791['reporterOptions']=_0x3cbc94[_0x3f2e4b(0x19c)],this[_0x3f2e4b(0x13e)]=new this[(_0x3f2e4b(0x13e))](_0x621ed8,_0x28a791);}}}[a27_0x4e0179(0x133)](){const _0x668654=a27_0x4e0179,_0x32b222={'wQxLA':function(_0x1ab9dc,_0x5b066d){return _0x1ab9dc(_0x5b066d);}};return _0x32b222['wQxLA'](Array,this[_0x668654(0x1b9)])[_0x668654(0x181)]('\x20\x20');}[a27_0x4e0179(0x155)](){const _0x510b62=a27_0x4e0179;this[_0x510b62(0x1b9)]++;}[a27_0x4e0179(0x15f)](){this['_indents']--;}[a27_0x4e0179(0xe5)](_0x489732){const _0x1ee52c=a27_0x4e0179;this[_0x1ee52c(0xbe)]+=_0x489732;}[a27_0x4e0179(0xf6)](_0x34caac,_0x1f8d55){const _0x25e7dc=a27_0x4e0179,_0x115392={'DwkDu':function(_0x320ee3,_0x4bb72d){return _0x320ee3(_0x4bb72d);}},_0x4b03f3={};_0x4b03f3[_0x25e7dc(0x12c)]=_0x34caac,_0x4b03f3[_0x25e7dc(0xa2)]=this[_0x25e7dc(0x176)],_0x115392[_0x25e7dc(0xc2)](_0x1f8d55,_0x4b03f3);}[a27_0x4e0179(0x109)](){const _0x39de38=a27_0x4e0179;process['removeAllListeners'](_0x39de38(0x10d)+process[_0x39de38(0x1c5)]),process['on']('bs:addLog:'+process[_0x39de38(0x1c5)],this[_0x39de38(0x1a6)][_0x39de38(0x1bf)](this)),process[_0x39de38(0x1b5)](_0x39de38(0x153)+process[_0x39de38(0x1c5)]),process['on'](_0x39de38(0x153)+process[_0x39de38(0x1c5)],this[_0x39de38(0x192)][_0x39de38(0x1bf)](this));}['testStarted']=async _0x51142a=>{const _0x3ad934=a27_0x4e0179,_0x52f3f3={'xRAGk':function(_0x3da69e){return _0x3da69e();},'wJPYh':_0x3ad934(0x10a),'FRjgZ':function(_0x3d3427,_0x37e69f){return _0x3d3427>_0x37e69f;},'LFWtv':function(_0x40875a,_0x5e4364){return _0x40875a===_0x5e4364;},'bnOQy':'TestRunStarted','bBZpS':function(_0x8f9907,_0x305cdd){return _0x8f9907(_0x305cdd);}};try{const _0x2cbcf3=this[_0x3ad934(0xb8)];this[_0x3ad934(0xb8)]=_0x51142a,_0x51142a[_0x3ad934(0xcc)]=null,_0x51142a[_0x3ad934(0xdf)]=_0x52f3f3[_0x3ad934(0x1be)](uuidv4),globals[_0x3ad934(0x167)](_0x52f3f3[_0x3ad934(0x140)],_0x51142a[_0x3ad934(0xdf)]),_0x51142a['started_at']=new Date()[_0x3ad934(0x1b0)](),_0x52f3f3['FRjgZ'](_0x51142a['_currentRetry'],0x0)&&_0x2cbcf3&&_0x52f3f3[_0x3ad934(0xf1)](_0x2cbcf3['title'],_0x51142a[_0x3ad934(0x136)])?(_0x51142a['retryOf']=_0x2cbcf3['testAnalyticsId'],await this[_0x3ad934(0x101)](_0x51142a,undefined,![],_0x52f3f3[_0x3ad934(0x1bd)]),_0x2cbcf3[_0x3ad934(0xe6)]=STATE_FAILED,await this[_0x3ad934(0x101)](_0x2cbcf3,undefined,!![])):await this['sendTestRunEvent'](_0x51142a,undefined,![],_0x52f3f3[_0x3ad934(0x1bd)]);}catch(_0x3e1ad4){_0x52f3f3[_0x3ad934(0x11e)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x3e1ad4);}};[a27_0x4e0179(0x101)]=async(_0x3b585f,_0x2c78ad=undefined,_0x3d8100=![],_0x574a03=a27_0x4e0179(0x9f))=>{const _0x11e30f=a27_0x4e0179,_0x448b41={'bCoqi':function(_0x56cd76,_0x2c49c0){return _0x56cd76===_0x2c49c0;},'eZWEx':function(_0x459e38,_0x41b176){return _0x459e38!==_0x41b176;},'IMpYK':'test','cIjKV':_0x11e30f(0xfd),'AHSYr':function(_0x30128f,_0x403fa8){return _0x30128f!==_0x403fa8;},'DqQEk':_0x11e30f(0x125),'zqqLr':'Mocha','RyxMm':_0x11e30f(0x13a),'JYzNX':_0x11e30f(0xc3),'rDeiH':_0x11e30f(0xda),'ZSxDH':function(_0xb8af4e,_0x8f4ca9){return _0xb8af4e-_0x8f4ca9;},'KcUnq':_0x11e30f(0xdd),'iybsI':_0x11e30f(0xc5),'fIXbL':_0x11e30f(0x9f),'fXpOK':_0x11e30f(0x104),'nsbKJ':function(_0x4407b7){return _0x4407b7();},'PBlJc':function(_0x15a9b0,_0x59e138){return _0x15a9b0===_0x59e138;},'XAIRs':_0x11e30f(0x19b),'mNxXV':_0x11e30f(0x150),'qJHkJ':function(_0xfd683d,_0x5a9911){return _0xfd683d(_0x5a9911);},'ERuRV':_0x11e30f(0xa7),'LJcRD':function(_0x462e99,_0x2b37be){return _0x462e99!==_0x2b37be;},'TlfeO':_0x11e30f(0x119),'wOqhy':_0x11e30f(0x105),'TYrdb':function(_0x3e25ca,_0xb00a55){return _0x3e25ca===_0xb00a55;},'FBWlk':_0x11e30f(0x113),'nGxnU':_0x11e30f(0x1c2),'NLRTm':'failure_backtrace','lmxdk':_0x11e30f(0x182),'uBBKm':_0x11e30f(0x9d),'vRcXe':_0x11e30f(0x1c7),'ORNBE':function(_0x5dd6be,_0xbb76fd){return _0x5dd6be===_0xbb76fd;},'rJIZx':_0x11e30f(0x90),'FAxKS':'hook_run','TTDXR':_0x11e30f(0x103)};try{if(_0x3b585f[_0x11e30f(0xff)]&&_0x3b585f['body']['match'](/browserstack internal helper hook/))return;let _0x4d4655=[];if(_0x448b41[_0x11e30f(0x111)](_0x3b585f[_0x11e30f(0xe6)],STATE_FAILED)){if(_0x448b41[_0x11e30f(0xd9)](_0x3b585f['err'],undefined))_0x4d4655=_0x3b585f['err'][_0x11e30f(0xcd)]?[_0x3b585f[_0x11e30f(0xfd)][_0x11e30f(0xcd)],_0x448b41[_0x11e30f(0x116)]]:[_0x3b585f[_0x11e30f(0xfd)],_0x448b41[_0x11e30f(0x135)]];else _0x448b41[_0x11e30f(0xd9)](_0x2c78ad,undefined)?_0x4d4655=[_0x2c78ad,_0x448b41[_0x11e30f(0x135)]]:_0x4d4655=[];}const _0x1ed0d1=_0x448b41[_0x11e30f(0xd9)](_0x3b585f[_0x11e30f(0xfd)],undefined)?_0x3b585f['err'][_0x11e30f(0x1ba)]():_0x448b41[_0x11e30f(0xb5)](_0x2c78ad,undefined)?_0x2c78ad['toString']():undefined;let _0x38af9b;try{_0x38af9b=this['getRootParentFile'](_0x3b585f);}catch(_0x3ae867){_0x38af9b=null;}const _0x23defa=_0x38af9b?this[_0x11e30f(0xf8)](_0x38af9b):null,_0x59373e=_0x38af9b?this[_0x11e30f(0xa0)]['prefixTestPath'](this[_0x11e30f(0x16d)](_0x3b585f)):_0x448b41['DqQEk'],_0x47edef={'framework':_0x448b41[_0x11e30f(0xe4)],'uuid':_0x3b585f['testAnalyticsId']||_0x3b585f['hookAnalyticsId'],'name':_0x3b585f['title'],'body':{'lang':_0x448b41[_0x11e30f(0x168)],'code':_0x3b585f[_0x11e30f(0xff)]},'scope':this[_0x11e30f(0x14e)](_0x3b585f),'scopes':this[_0x11e30f(0x169)](_0x3b585f),'identifier':_0x3b585f[_0x11e30f(0xb4)](),'file_name':_0x59373e,'vc_filepath':_0x23defa?path[_0x11e30f(0x12f)](_0x23defa,_0x38af9b):null,'location':_0x59373e,'result':_0x448b41['bCoqi'](_0x574a03,_0x448b41['JYzNX'])?_0x448b41['rDeiH']:this[_0x11e30f(0x18e)](_0x3b585f['state']),'failure_reason':_0x1ed0d1,'duration_in_ms':_0x3b585f[_0x11e30f(0xf7)]||(_0x574a03[_0x11e30f(0x10c)](/Finished/)||_0x574a03[_0x11e30f(0x10c)](/Skipped/)?_0x448b41[_0x11e30f(0x1ad)](Date[_0x11e30f(0x17c)](),new Date(_0x3b585f[_0x11e30f(0x19b)])[_0x11e30f(0x166)]()):null),'started_at':_0x3b585f[_0x11e30f(0x19b)],'finished_at':_0x574a03[_0x11e30f(0x10c)](/Finished/)||_0x574a03[_0x11e30f(0x10c)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x11e30f(0x145)](null,_0x4d4655),'failure_type':!_0x1ed0d1?null:_0x1ed0d1[_0x11e30f(0x10c)](/AssertionError/)?_0x448b41[_0x11e30f(0x142)]:_0x448b41['iybsI'],'retry_of':_0x3b585f[_0x11e30f(0xcc)]};if([_0x448b41['JYzNX'],_0x448b41[_0x11e30f(0x198)],_0x448b41['fXpOK']][_0x11e30f(0x121)](_0x574a03)){if(_0x448b41[_0x11e30f(0x9c)](getCentralUser)[_0x11e30f(0x178)]){const _0x413c3e=TestMetadata[_0x11e30f(0x1a5)](_0x3b585f[_0x11e30f(0xe2)]);if(_0x413c3e){const _0x3f2dd7={};_0x3f2dd7[_0x11e30f(0x178)]=_0x413c3e,Object['assign'](_0x47edef,_0x3f2dd7);}}}testhubUtils['appendTesthubParams'](_0x47edef,_0x574a03,_0x3b585f,FRAMEWORKS[_0x11e30f(0x196)]);(_0x3b585f['responseCode']||_0x3b585f[_0x11e30f(0x199)])&¢ralScannerUtils[_0x11e30f(0x188)](_0x47edef,_0x3b585f[_0x11e30f(0x19e)],_0x3b585f['redirectUrl']);_0x448b41[_0x11e30f(0x17f)](_0x574a03,_0x448b41[_0x11e30f(0x19a)])&&!_0x47edef[_0x448b41['XAIRs']]&&(_0x47edef[_0x448b41[_0x11e30f(0xe7)]]=_0x47edef[_0x448b41['mNxXV']]);if(_0x574a03[_0x11e30f(0x10c)](/HookRun/))[_0x47edef[_0x11e30f(0x90)],_0x47edef[_0x11e30f(0x1c6)]]=_0x448b41[_0x11e30f(0x19f)](getHookDetails,_0x3b585f[_0x11e30f(0xb4)]()||_0x3b585f[_0x11e30f(0xaf)]||_0x3b585f[_0x11e30f(0x136)]),_0x448b41[_0x11e30f(0x17f)](_0x574a03,_0x448b41[_0x11e30f(0x1a7)])&&(_0x448b41[_0x11e30f(0x134)](_0x47edef[_0x11e30f(0xeb)],_0x448b41[_0x11e30f(0xd5)])&&(_0x47edef[_0x11e30f(0xeb)]=_0x448b41[_0x11e30f(0xde)]),_0x448b41[_0x11e30f(0x1a9)](_0x47edef[_0x11e30f(0x90)],_0x448b41[_0x11e30f(0xb7)])&&_0x448b41[_0x11e30f(0x17f)](_0x47edef[_0x11e30f(0xeb)],_0x448b41[_0x11e30f(0xd5)])&&!_0x3b585f['ctx'][_0x11e30f(0x1ae)][_0x11e30f(0x172)]&&(_0x3b585f['ctx'][_0x11e30f(0x1ae)][_0x11e30f(0x172)]=!![],_0x3b585f[_0x11e30f(0x1b2)][_0x11e30f(0x1ae)]['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x3b585f[_0x11e30f(0x1b2)][_0x11e30f(0x1ae)],undefined,!![])));else _0x574a03[_0x11e30f(0x10c)](/TestRun/)&&_0x448b41['qJHkJ'](mapTestHooks,_0x3b585f);const _0x291580=_0x47edef[_0x448b41[_0x11e30f(0xed)]][0x0];_0x291580&&(_0x47edef[_0x448b41[_0x11e30f(0x1c3)]]=_0x291580[_0x448b41['lmxdk']],_0x47edef[_0x448b41['uBBKm']]=_0x291580[_0x448b41[_0x11e30f(0xa8)]]);[_0x448b41[_0x11e30f(0x198)],_0x448b41[_0x11e30f(0x19a)]][_0x11e30f(0x121)](_0x574a03)&&(this[_0x11e30f(0xd1)][_0x11e30f(0xfc)](_0x47edef),_0x47edef['hooks']=_0x448b41[_0x11e30f(0x19f)](getHooksForTest,_0x3b585f));const _0xcc13c9={'event_type':_0x448b41[_0x11e30f(0xe3)](_0x574a03,_0x448b41[_0x11e30f(0x19a)])?_0x448b41[_0x11e30f(0x198)]:_0x574a03};_0x574a03[_0x11e30f(0x10c)](/HookRun/)?(_0x47edef[_0x448b41['rJIZx']]=HOOK_TYPES_MAP[_0x47edef[_0x448b41[_0x11e30f(0x94)]]],_0xcc13c9[_0x448b41[_0x11e30f(0xba)]]=_0x47edef):_0xcc13c9[_0x448b41[_0x11e30f(0x17e)]]=_0x47edef,testhubUtils[_0x11e30f(0x1a4)](FRAMEWORKS['MOCHA'],_0xcc13c9),await SessionHandler[_0x11e30f(0x13f)](_0xcc13c9);}catch(_0x1037a7){_0x448b41[_0x11e30f(0x19f)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x574a03+'\x20with\x20error\x20:\x20'+_0x1037a7);}};[a27_0x4e0179(0xf8)](_0x496c8e){const _0x1713b5=a27_0x4e0179,_0x3e334b={};_0x3e334b[_0x1713b5(0xad)]=function(_0x148dee,_0x41b08f){return _0x148dee===_0x41b08f;},_0x3e334b['mMkSI']=function(_0xc4cfc6,_0x5dc106){return _0xc4cfc6===_0x5dc106;},_0x3e334b[_0x1713b5(0xc9)]=_0x1713b5(0x13c),_0x3e334b[_0x1713b5(0x93)]='config';const _0x3c9ad0=_0x3e334b,_0x454c06=path[_0x1713b5(0x12b)];if(_0x3c9ad0[_0x1713b5(0xad)](_0x496c8e,null)||_0x3c9ad0[_0x1713b5(0xad)](_0x496c8e,'')||_0x3c9ad0[_0x1713b5(0xd7)](_0x496c8e,_0x454c06)||_0x3c9ad0[_0x1713b5(0xd7)](_0x496c8e,path['dirname'](_0x496c8e)))return null;try{return fs[_0x1713b5(0xae)](path[_0x1713b5(0x181)](_0x496c8e,_0x3c9ad0[_0x1713b5(0xc9)],_0x3c9ad0['FAGfg'])),_0x496c8e;}catch(_0x575bdf){const _0x3cb664=path[_0x1713b5(0x191)](_0x496c8e);return this[_0x1713b5(0xf8)](_0x3cb664);}}['appendTestItemLog']=async _0x27962c=>{const _0x5cd42c=a27_0x4e0179,_0x4c9c5a={'GyQFF':_0x5cd42c(0x186),'rUbTl':function(_0x136a67,_0xe353ab){return _0x136a67(_0xe353ab);}};try{this[_0x5cd42c(0x171)]&&!this[_0x5cd42c(0x171)][_0x5cd42c(0x172)]&&(_0x27962c[_0x5cd42c(0x193)]=this[_0x5cd42c(0x171)][_0x5cd42c(0xea)]);!_0x27962c['hook_run_uuid']&&this[_0x5cd42c(0xb8)]&&!this['current_test'][_0x5cd42c(0x172)]&&(_0x27962c['test_run_uuid']=this['current_test'][_0x5cd42c(0xdf)]);if(_0x27962c[_0x5cd42c(0x193)]||_0x27962c[_0x5cd42c(0x1a8)]){const _0x1bcd86={};_0x1bcd86[_0x5cd42c(0x161)]=_0x4c9c5a[_0x5cd42c(0x122)],_0x1bcd86[_0x5cd42c(0x132)]=[_0x27962c],await SessionHandler['uploadEventData'](_0x1bcd86);}}catch(_0x4ae1ff){_0x4c9c5a[_0x5cd42c(0xc8)](debug,_0x5cd42c(0x115)+_0x4ae1ff);}};['appendTestPlatform']=async _0x5025e9=>{const _0x32db1a=a27_0x4e0179,_0x479fd2={'lOwkv':_0x32db1a(0x1c0),'nRhvc':_0x32db1a(0x147),'zDtaG':function(_0x31bbca,_0x263e70){return _0x31bbca(_0x263e70);}};try{const _0x53aa67={};_0x53aa67[_0x32db1a(0x184)]=_0x5025e9[_0x32db1a(0x184)]||this[_0x32db1a(0xb8)][_0x32db1a(0xdf)],_0x53aa67[_0x32db1a(0xe1)]=_0x5025e9[_0x479fd2[_0x32db1a(0x1bc)]];const _0x376cd4=_0x53aa67,_0x3670aa={};_0x3670aa[_0x32db1a(0x161)]=_0x479fd2[_0x32db1a(0xaa)],_0x3670aa['test_run']=_0x376cd4,await SessionHandler['uploadEventData'](_0x3670aa);}catch(_0x4ad0cf){_0x479fd2[_0x32db1a(0x18f)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x4ad0cf);}};[a27_0x4e0179(0x18e)](_0x44fb47){const _0x1173ee=a27_0x4e0179,_0x1ee1ab={};_0x1ee1ab[_0x1173ee(0x154)]=_0x1173ee(0x105),_0x1ee1ab[_0x1173ee(0xb6)]=_0x1173ee(0xf0),_0x1ee1ab[_0x1173ee(0x187)]='failed';const _0x4defd5=_0x1ee1ab,_0x51780e={};return _0x51780e[STATE_PASSED]=_0x4defd5['NpIuI'],_0x51780e[STATE_PENDING]=_0x4defd5['dupiQ'],_0x51780e[STATE_FAILED]=_0x4defd5[_0x1173ee(0x187)],_0x51780e[_0x44fb47];}[a27_0x4e0179(0x14e)](_0x5b9f0a){const _0x345525=a27_0x4e0179,_0x156fc2={};_0x156fc2[_0x345525(0x131)]=function(_0xe07ba4,_0xa3179a){return _0xe07ba4-_0xa3179a;};const _0x22087e=_0x156fc2,_0x72df87=_0x5b9f0a['titlePath']();return _0x72df87[_0x345525(0x126)](0x0,_0x22087e[_0x345525(0x131)](_0x72df87[_0x345525(0x9b)],0x1))[_0x345525(0x181)]('\x20');}[a27_0x4e0179(0x169)](_0x28aa8e){const _0x5692a4=a27_0x4e0179,_0x31f780={};_0x31f780['bFfvN']=function(_0x320253,_0x130501){return _0x320253-_0x130501;};const _0x56552e=_0x31f780,_0x5c416c=_0x28aa8e[_0x5692a4(0xc1)]();return _0x5c416c[_0x5692a4(0x126)](0x0,_0x56552e['bFfvN'](_0x5c416c['length'],0x1));}['getRootParentFile'](_0x5e3dcd){const _0x51567d=a27_0x4e0179,_0x429d13={};_0x429d13[_0x51567d(0x96)]=function(_0x5ec090,_0x1543db){return _0x5ec090>_0x1543db;};const _0x164f8d=_0x429d13;if(_0x5e3dcd[_0x51567d(0xf4)])return _0x5e3dcd[_0x51567d(0xf4)];if(_0x5e3dcd['ctx']){const _0x2fe38c=_0x5e3dcd['ctx'][_0x51567d(0x1ae)]?this[_0x51567d(0x16d)](_0x5e3dcd[_0x51567d(0x1b2)]['currentTest']):null;if(_0x2fe38c)return _0x2fe38c;}if(_0x5e3dcd['parent']){const _0x9076dc=this[_0x51567d(0x16d)](_0x5e3dcd[_0x51567d(0x11a)])||(_0x5e3dcd[_0x51567d(0x11a)][_0x51567d(0x1b2)]&&_0x5e3dcd['parent'][_0x51567d(0x1b2)][_0x51567d(0x1ae)]?this[_0x51567d(0x16d)](_0x5e3dcd[_0x51567d(0x11a)][_0x51567d(0x1b2)]['currentTest']):null);if(_0x9076dc)return _0x9076dc;_0x5e3dcd['parent']['suites']&&_0x164f8d['NjfAC'](_0x5e3dcd[_0x51567d(0x11a)]['suites']['length'],0x0)&&_0x5e3dcd['parent']['suites'][_0x51567d(0xd8)](_0x1c08dc=>{const _0xf26ff8=_0x51567d,_0x417645=_0x1c08dc['ctx']?this['getRootParentFile'](_0x1c08dc[_0xf26ff8(0x1b2)]):null;if(_0x417645)return _0x417645;});}return null;}}module['exports']=MyReporter;
|
|
1
|
+
'use strict';const a27_0x218640=a27_0x309a;(function(_0x1a2696,_0x379310){const _0x4ae9db=a27_0x309a,_0x31c835=_0x1a2696();while(!![]){try{const _0x5d16e0=parseInt(_0x4ae9db(0x1ce))/0x1+-parseInt(_0x4ae9db(0x2b7))/0x2*(-parseInt(_0x4ae9db(0x269))/0x3)+-parseInt(_0x4ae9db(0x1e5))/0x4+-parseInt(_0x4ae9db(0x27f))/0x5*(parseInt(_0x4ae9db(0x2d6))/0x6)+-parseInt(_0x4ae9db(0x23b))/0x7+-parseInt(_0x4ae9db(0x1ee))/0x8+-parseInt(_0x4ae9db(0x1bf))/0x9*(-parseInt(_0x4ae9db(0x289))/0xa);if(_0x5d16e0===_0x379310)break;else _0x31c835['push'](_0x31c835['shift']());}catch(_0x5afb0e){_0x31c835['push'](_0x31c835['shift']());}}}(a27_0x3924,0x555ca));const util=require(a27_0x218640(0x25c)),fs=require('fs'),path=require(a27_0x218640(0x2d7)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js','mocha'),utils=requireModule('mocha/lib/utils.js',a27_0x218640(0x23f)),color=Base[a27_0x218640(0x2d5)],Mocha=requireModule('mocha'),Runnable=requireModule('mocha/lib/runnable.js',a27_0x218640(0x23f)),{v4:uuidv4}=require(a27_0x218640(0x2b0)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x218640(0x292)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),globals=require('../../../helpers/globals'),logger=require('../../../helpers/logger')[a27_0x218640(0x28d)],TestMetadata=require('../../../helpers/metadata'),a27_0x29a80a={};function a27_0x309a(_0x410578,_0xe33a8){const _0x3924ec=a27_0x3924();return a27_0x309a=function(_0x309a9d,_0x4f00e0){_0x309a9d=_0x309a9d-0x1b5;let _0x5819dc=_0x3924ec[_0x309a9d];return _0x5819dc;},a27_0x309a(_0x410578,_0xe33a8);}a27_0x29a80a[a27_0x218640(0x24f)]='BEFORE_ALL',a27_0x29a80a[a27_0x218640(0x282)]='AFTER_ALL',a27_0x29a80a[a27_0x218640(0x242)]=a27_0x218640(0x260),a27_0x29a80a[a27_0x218640(0x26c)]=a27_0x218640(0x1fc);const HOOK_TYPES_MAP=a27_0x29a80a,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x218640(0x295)][a27_0x218640(0x2c6)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x218640(0x2c6)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x218640(0x20b)),{consoleHolder}=require(a27_0x218640(0x2c2)),SessionHandler=require(a27_0x218640(0x2d4)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x218640(0x213)),RequestQueueHandler=require(a27_0x218640(0x1c0)),requestQueueHandler=RequestQueueHandler['getInstance']();function a27_0x3924(){const _0x216495=['retryOf','fBtsI','bind','err','40bzYmEX','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','failure_backtrace','error','winstonLogger','hook_run_uuid','nwYwA','DXjjl','includes','../../../helpers/testhub/utils','ctx','setCurrentTestData','Runner','fail','comma','integrations','QEEYA','started_at','DNtMT','nWDaQ','toISOString','TestRunFinished','hookAnalyticsId','hook_type','nTSJe','javascript','MHlFH','testStarted','NrdTv','escape','NBnzM','HookFinished','<h1>','figlY','hXaDa','nhyxG','pending','done','reporterOptions','uuid','RafDY','</code></pre></dd>','redirectUrl','bBuSQ','\x20\x20<dd\x20class=\x22error\x22>','failureCount','14352KeBniM','rpMcB','push','symbols','getRootParentFile','ujMiu','failure','UyNAE','http_response','multiple','WIZjD','../../../helpers/test-observability/constants','kDWQW','WvDNo','Reporter','constants','gaKbD','PXXGt','pid','finalResults','fast','setCentralScannerData','forEach','yIIVb','bs:addLog:','bSmAS','lZcHy','write','registerListeners','../../../helpers/test-observability/sessionHandler','color','6TlXZtX','path','EzNWS','current_hook','Pfoqj','parent','RyXpo','</dt>','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','test_run','TWPOH','odMOp','GxfAi','result','now','gohWD','failure_reason_expanded','DpSOQ','test_run_uuid','__indents','toString','mymwF','HookRunStarted','2505429aWQZww','../../../helpers/test-observability/requestQueueHandler','suite','rzVhU','lcnc','shouldProcessEventForTesthub','indent','inspect','hTIdD','HookStarted','doc','eHBTA','root','cwd','GqzLP','479113XIdhgV','LPzXB','currentTest','RUNNING','getTime','hooks','uploadEventData','removeAllListeners','\x20\x20<dt\x20class=\x22error\x22>','ayQUT','increaseIndent','istqe','</dl>','<dl>','reporterOption','assign','green','KJpdA','<section\x20class=\x22suite\x22>','_testResults','\x20%s','AYtWU','prefixTestPath','2431392peXZkz','title','appendTestPlatform','niUcn','sendTestRunEvent','event_type','cARAl','UKvrI','suiteCount','2436504vQFjla','testAnalyticsId','dQHSJ','\x20\x20<dt>','dot','FpoIx','ZwBac','mocha/lib/reporters/','appendTestItemLog','xKVBD','chOZY','HqPZN','Mocha','\x20\x20<dd><pre><code>','AFTER_EACH','wOluq','config','fullTitle','docAppend','TestRunSkipped','expanded','_upstreamConfig','runner','DOIaj','TestRunStarted','findGitConfig','join','clean','scopes','../test-observability/mochaUtils','KcHzv','UkZjJ','\x20(%dms)','dirname','titlePath','testRunUUID','\x20\x20<dd\x20class=\x22error\x22><pre><code>','../../../helpers/test-observability/utils','name','ETXyD','analyticsResult','skipped','lukUe','eQmPF','szgQv','COMPLETED','WqWbv','responseCode','match','originalTitle','test','_indents','bwVut','checkmark','2|1|3|4|0','duration','cOUeD','tfFIw','passed','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','kNbrX','BhQmx','consoleLog','markedStatus','fsPMe','JaJvh','state','currentRetry','HookRunFinished','nRMlW','slice','decreaseIndent','EVENT','body','</h1>','type','setGlobal','2813825bKNpai','pJYch','diNbq','RFarS','mocha','pdixg','AssertionError','before\x20each','oAkvp','trim','OvdPA','keryN','current_test','MOCHA','CpisS','GuLCD','YmknL','File\x20path\x20could\x20not\x20be\x20found','piGkD','CBTSessionCreated','before\x20all','pelFI','%s\x20','JpGFL','OpOtB','PpAkZ','LogCreated','SofRy','slow','CzTKN','bcdcn','yofWw','docHtml','util','_paths','.git','failed','BEFORE_EACH','location_prefix','GMBqC','mbdcU','appendTesthubParams','HNUiO','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','stdout','results','132aoBodQ','length','pgvRO','after\x20each','tbsbE','wCwKd','zfpPu','dLbOw','failCount','LuSrm','%s\x20-\x20%s','isPending','RewFv','get','DyKOz','_testEnv','speed','GyJJQ','suites','rOGat','sgyBF','prototype','1221765vpIsdC','SdOqD','file','after\x20all','apply','VgSpL'];a27_0x3924=function(){return _0x216495;};return a27_0x3924();}class MyReporter{constructor(_0x3d1622,_0x2b967a){const _0x2725b2=a27_0x218640,_0x2696a7={'pelFI':function(_0x29fc97,_0x53a78e){return _0x29fc97===_0x53a78e;},'BhQmx':'spec','RAGTH':function(_0x29841d,_0x30d370){return _0x29841d+_0x30d370;},'Mryil':function(_0x1a99c6,_0x586497){return _0x1a99c6+_0x586497;},'UkZjJ':function(_0x5d2c8c,_0x492909,_0x80e05){return _0x5d2c8c(_0x492909,_0x80e05);},'VgSpL':_0x2725b2(0x1de),'pdixg':_0x2725b2(0x251),'CpisS':function(_0x18cad6,_0x4e84f9,_0x7d0ba5){return _0x18cad6(_0x4e84f9,_0x7d0ba5);},'lukUe':'light','FpoIx':_0x2725b2(0x273),'dneuY':_0x2725b2(0x1d1),'sgyBF':_0x2725b2(0x1c9),'rOGat':function(_0x1d3912){return _0x1d3912();},'pJYch':function(_0x488d70){return _0x488d70();},'Kytwz':_0x2725b2(0x1be),'nRMlW':_0x2725b2(0x232),'lDeYw':_0x2725b2(0x228),'gaKbD':_0x2725b2(0x2cb),'uXYwP':function(_0x4cb26e,_0x5ec887){return _0x4cb26e+_0x5ec887;},'DOIaj':_0x2725b2(0x223),'yofWw':function(_0xee5a86,_0x363b2b,_0xe47c7f){return _0xee5a86(_0x363b2b,_0xe47c7f);},'KcHzv':'pass','nwYwA':_0x2725b2(0x1e2),'cARAl':function(_0x200e7f,_0x3696bb,_0x35a088){return _0x200e7f(_0x3696bb,_0x35a088);},'GyJJQ':function(_0x1e9ea2,_0x6aacb2,_0x326834){return _0x1e9ea2(_0x6aacb2,_0x326834);},'UlZmQ':_0x2725b2(0x20e),'lZcHy':function(_0x585b48,_0x5e8d5e){return _0x585b48+_0x5e8d5e;},'eQmPF':_0x2725b2(0x296),'QEEYA':'\x20\x20%d)\x20%s','ZwBac':function(_0x49e0a9,_0x3c2a43){return _0x49e0a9+_0x3c2a43;},'LuSrm':function(_0x4e891b,_0x70f558){return _0x4e891b+_0x70f558;},'odMOp':'bright\x20yellow','yDLNB':function(_0x20a223,_0x37feab,_0x3d1c9e){return _0x20a223(_0x37feab,_0x3d1c9e);},'ooSwn':_0x2725b2(0x21b),'DpSOQ':function(_0x100ee0,_0x34d50b){return _0x100ee0===_0x34d50b;},'fBtsI':function(_0x918781,_0x12a6d9){return _0x918781===_0x12a6d9;},'WIZjD':_0x2725b2(0x1f2),'dLbOw':_0x2725b2(0x257),'JaJvh':function(_0x3509cd,_0x4c4652){return _0x3509cd===_0x4c4652;},'fsPMe':function(_0x1304df,_0x15195f){return _0x1304df===_0x15195f;},'kkzVk':_0x2725b2(0x224),'cAoGx':_0x2725b2(0x2ad),'UKvrI':_0x2725b2(0x201),'hXaDa':function(_0x211081,_0x35d6c5){return _0x211081===_0x35d6c5;},'bwVut':function(_0x2c08b5,_0x559d09){return _0x2c08b5===_0x559d09;},'yxDYY':function(_0x52ba2c,_0x17e3c2){return _0x52ba2c===_0x17e3c2;},'HNUiO':function(_0x529517,_0x1ec870){return _0x529517(_0x1ec870);},'WqWbv':function(_0x15c335,_0x58a565){return _0x15c335(_0x58a565);},'UyNAE':function(_0x3e166f,_0x25084c){return _0x3e166f===_0x25084c;},'GxfAi':function(_0x5cba20){return _0x5cba20();},'bFJgH':'xunit','tbsbE':_0x2725b2(0x23f),'tfFIw':function(_0x85f466,_0x3c9036){return _0x85f466(_0x3c9036);},'SdOqD':function(_0x105ed4,_0x417e11){return _0x105ed4!==_0x417e11;}};this[_0x2725b2(0x239)]=_0x2b967a[_0x2725b2(0x1dc)][_0x2725b2(0x239)],this['testObservability']=_0x2696a7[_0x2725b2(0x2e2)](isTestObservabilitySession),Base['call'](this,_0x3d1622,_0x2b967a),this[_0x2725b2(0x221)]=0x0,this['failCount']=0x0,this[_0x2725b2(0x268)]=[],this['finalResults']=[],this[_0x2725b2(0x1ed)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x2725b2(0x278)]=_0x2696a7['GxfAi'](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x2725b2(0x1cc)]()},this[_0x2725b2(0x278)][_0x2725b2(0x261)]),this[_0x2725b2(0x203)]=_0x2b967a[_0x2725b2(0x1dc)]['bsConfig'],this[_0x2725b2(0x2d3)]();_0x2696a7[_0x2725b2(0x1b9)](this[_0x2725b2(0x239)],_0x2696a7['sgyBF'])&&(this[_0x2725b2(0x25b)]='',this[_0x2725b2(0x1bb)]=0x2);_0x3d1622['once'](EVENT_RUN_BEGIN,async()=>{const _0x4dfed9=_0x2725b2;_0x2696a7[_0x4dfed9(0x250)](this[_0x4dfed9(0x239)],_0x2696a7[_0x4dfed9(0x22b)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x594682=>{const _0x1a7d16=_0x2725b2;if(_0x594682[_0x1a7d16(0x1cb)])return;if(_0x2696a7[_0x1a7d16(0x250)](this[_0x1a7d16(0x239)],_0x2696a7['BhQmx']))this['increaseIndent'](),Base[_0x1a7d16(0x22c)](_0x2696a7['RAGTH'](_0x2696a7['Mryil'](this[_0x1a7d16(0x1c5)](),_0x2696a7[_0x1a7d16(0x20d)](color,_0x2696a7[_0x1a7d16(0x284)],_0x2696a7[_0x1a7d16(0x240)])),_0x2696a7[_0x1a7d16(0x249)](color,_0x2696a7['lukUe'],_0x2696a7['FpoIx'])),_0x2696a7['dneuY'],_0x594682[_0x1a7d16(0x1e6)],global['__platform__']);else _0x2696a7[_0x1a7d16(0x250)](this[_0x1a7d16(0x239)],_0x2696a7['sgyBF'])&&(this[_0x1a7d16(0x200)](this['indent']()+_0x1a7d16(0x1e0)),++this[_0x1a7d16(0x1bb)],this['docAppend'](this[_0x1a7d16(0x1c5)]()+_0x1a7d16(0x2a9)+utils[_0x1a7d16(0x2a6)](_0x594682[_0x1a7d16(0x1e6)]+'\x20-\x20'+global['__platform__'])+_0x1a7d16(0x238)),this[_0x1a7d16(0x200)](this[_0x1a7d16(0x1c5)]()+_0x1a7d16(0x1db)));})['on'](EVENT_HOOK_BEGIN,async _0x4a7987=>{const _0x1f9130=_0x2725b2;if(_0x2696a7[_0x1f9130(0x250)](testhubUtils[_0x1f9130(0x1c4)](testHubConstants['EVENT'][_0x1f9130(0x1c8)]),!![])){if(!_0x4a7987[_0x1f9130(0x29f)])_0x4a7987['hookAnalyticsId']=_0x2696a7['rOGat'](uuidv4);else _0x4a7987[_0x1f9130(0x22d)]&&(_0x4a7987[_0x1f9130(0x29f)]=_0x2696a7[_0x1f9130(0x23c)](uuidv4),delete _0x4a7987[_0x1f9130(0x22d)]);_0x4a7987['started_at']=new Date()[_0x1f9130(0x29d)](),this[_0x1f9130(0x2d9)]=_0x4a7987,await this['sendTestRunEvent'](_0x4a7987,undefined,![],_0x2696a7['Kytwz']);}})['on'](EVENT_HOOK_END,async _0x1ac3ef=>{const _0x3945dd=_0x2725b2;_0x2696a7['pelFI'](testhubUtils[_0x3945dd(0x1c4)](testHubConstants[_0x3945dd(0x236)][_0x3945dd(0x2a8)]),!![])&&(!_0x1ac3ef[_0x3945dd(0x22d)]&&(_0x1ac3ef[_0x3945dd(0x22d)]=!![],await this['sendTestRunEvent'](_0x1ac3ef,undefined,![],_0x2696a7[_0x3945dd(0x233)])));})['on'](EVENT_SUITE_END,_0x578003=>{const _0x59cba1=_0x2725b2,_0x5b32f8={'PpAkZ':function(_0x16e1b7,_0x599577){const _0x3318fc=a27_0x309a;return _0x2696a7[_0x3318fc(0x250)](_0x16e1b7,_0x599577);},'bcdcn':_0x2696a7['lDeYw'],'JpGFL':_0x2696a7[_0x59cba1(0x2c7)],'HqPZN':function(_0x2db011,_0x377990){return _0x2696a7['uXYwP'](_0x2db011,_0x377990);},'RewFv':function(_0x5abcaf,_0x139eea,_0x2ecf74){const _0x1aa44e=_0x59cba1;return _0x2696a7[_0x1aa44e(0x20d)](_0x5abcaf,_0x139eea,_0x2ecf74);},'aCzpx':_0x2696a7[_0x59cba1(0x205)],'MHlFH':function(_0x1c3950,_0x265b02){return _0x2696a7['uXYwP'](_0x1c3950,_0x265b02);},'GMBqC':function(_0x40bcc5,_0x3c380e,_0x104b0f){const _0x4c49a5=_0x59cba1;return _0x2696a7[_0x4c49a5(0x25a)](_0x40bcc5,_0x3c380e,_0x104b0f);},'xKVBD':_0x2696a7[_0x59cba1(0x20c)],'cOUeD':_0x2696a7[_0x59cba1(0x28f)],'SofRy':function(_0x5a24be,_0x2bc621,_0x1423b9){const _0x48ca17=_0x59cba1;return _0x2696a7[_0x48ca17(0x1eb)](_0x5a24be,_0x2bc621,_0x1423b9);},'pgvRO':function(_0x291546,_0x234211,_0x4751a3){const _0x203e3b=_0x59cba1;return _0x2696a7[_0x203e3b(0x27a)](_0x291546,_0x234211,_0x4751a3);},'nWDaQ':_0x2696a7['UlZmQ'],'bSmAS':function(_0x534d03,_0x3c9c6c){const _0x17bb88=_0x59cba1;return _0x2696a7[_0x17bb88(0x2d1)](_0x534d03,_0x3c9c6c);},'NrdTv':function(_0x26e7f0,_0x13c628,_0x3ba023){const _0x5c138b=_0x59cba1;return _0x2696a7[_0x5c138b(0x249)](_0x26e7f0,_0x13c628,_0x3ba023);},'EzNWS':_0x2696a7[_0x59cba1(0x219)],'TWPOH':_0x2696a7[_0x59cba1(0x299)]};if(_0x578003[_0x59cba1(0x1cb)])return;if(_0x2696a7[_0x59cba1(0x250)](this['type'],_0x2696a7[_0x59cba1(0x22b)]))Base[_0x59cba1(0x22c)](),Base[_0x59cba1(0x22c)](_0x2696a7[_0x59cba1(0x1f4)](_0x2696a7[_0x59cba1(0x272)](this[_0x59cba1(0x1c5)](),_0x2696a7[_0x59cba1(0x1eb)](color,_0x2696a7[_0x59cba1(0x2e1)],_0x2696a7['pdixg'])),_0x2696a7['yDLNB'](color,_0x2696a7[_0x59cba1(0x218)],_0x2696a7[_0x59cba1(0x1f3)])),_0x2696a7['ooSwn'],_0x578003['title'],global['__platform__']),this[_0x59cba1(0x268)][_0x59cba1(0x2cd)](_0x3ad795=>{const _0x57b640=_0x59cba1;if(_0x5b32f8[_0x57b640(0x254)](_0x3ad795[_0x57b640(0x230)],_0x5b32f8[_0x57b640(0x259)])){var _0x298d87;_0x5b32f8[_0x57b640(0x254)](_0x3ad795[_0x57b640(0x279)],_0x5b32f8[_0x57b640(0x252)])?(_0x298d87=_0x5b32f8['HqPZN'](_0x5b32f8[_0x57b640(0x1f9)](this[_0x57b640(0x1c5)](),_0x5b32f8[_0x57b640(0x275)](color,_0x5b32f8['aCzpx'],_0x5b32f8['MHlFH']('\x20\x20',Base[_0x57b640(0x2ba)]['ok']))),_0x5b32f8[_0x57b640(0x262)](color,_0x5b32f8['xKVBD'],_0x5b32f8[_0x57b640(0x226)])),Base[_0x57b640(0x22c)](_0x298d87,_0x3ad795[_0x57b640(0x1e6)])):(_0x298d87=_0x5b32f8[_0x57b640(0x2a3)](_0x5b32f8[_0x57b640(0x2a3)](_0x5b32f8[_0x57b640(0x2a3)](this['indent'](),_0x5b32f8[_0x57b640(0x256)](color,_0x5b32f8['aCzpx'],_0x5b32f8[_0x57b640(0x1f9)]('\x20\x20',Base[_0x57b640(0x2ba)]['ok']))),_0x5b32f8[_0x57b640(0x26b)](color,_0x5b32f8[_0x57b640(0x1f7)],_0x5b32f8[_0x57b640(0x226)])),_0x5b32f8[_0x57b640(0x26b)](color,_0x3ad795[_0x57b640(0x279)],_0x5b32f8[_0x57b640(0x29c)])),Base[_0x57b640(0x22c)](_0x298d87,_0x3ad795[_0x57b640(0x1e6)],_0x3ad795[_0x57b640(0x225)]));}else Base[_0x57b640(0x22c)](_0x5b32f8[_0x57b640(0x2d0)](this[_0x57b640(0x1c5)](),_0x5b32f8[_0x57b640(0x2a5)](color,_0x5b32f8[_0x57b640(0x2d8)],_0x5b32f8[_0x57b640(0x2e0)])),++this[_0x57b640(0x271)],_0x3ad795['title']);}),this[_0x59cba1(0x235)]();else _0x2696a7['DpSOQ'](this[_0x59cba1(0x239)],_0x2696a7[_0x59cba1(0x27d)])&&(this[_0x59cba1(0x200)](this[_0x59cba1(0x1c5)]()+_0x59cba1(0x1da)),--this[_0x59cba1(0x1bb)],this[_0x59cba1(0x200)](this[_0x59cba1(0x1c5)]()+'</section>'),--this[_0x59cba1(0x1bb)]);Array[_0x59cba1(0x27e)][_0x59cba1(0x2b9)][_0x59cba1(0x283)](this[_0x59cba1(0x2ca)],this[_0x59cba1(0x268)]),this[_0x59cba1(0x268)]=[];})['on'](EVENT_TEST_PASS,async _0x34679a=>{const _0x1404a9=_0x2725b2;this[_0x1404a9(0x268)][_0x1404a9(0x2b9)]({'speed':_0x34679a[_0x1404a9(0x279)],'suite':_0x34679a[_0x1404a9(0x2db)][_0x1404a9(0x1e6)],'title':_0x34679a['title'],'fullTitle':_0x34679a[_0x1404a9(0x1ff)](),'duration':_0x34679a[_0x1404a9(0x225)],'state':_0x34679a[_0x1404a9(0x230)],'err':{},'currentRetry':_0x34679a['currentRetry'](),'titlePathV':_0x34679a[_0x1404a9(0x210)](),'isPending':_0x34679a[_0x1404a9(0x274)]()});if(_0x2696a7[_0x1404a9(0x286)](this[_0x1404a9(0x239)],_0x2696a7[_0x1404a9(0x2c1)]))_0x2696a7[_0x1404a9(0x250)](_0x34679a[_0x1404a9(0x279)],_0x2696a7[_0x1404a9(0x270)])?process[_0x1404a9(0x267)][_0x1404a9(0x2d2)](Base['color'](_0x2696a7[_0x1404a9(0x2e1)],Base[_0x1404a9(0x2ba)]['dot'])):process['stdout'][_0x1404a9(0x2d2)](Base[_0x1404a9(0x2d5)](_0x34679a[_0x1404a9(0x279)],Base[_0x1404a9(0x2ba)][_0x1404a9(0x1f2)]));else{if(_0x2696a7[_0x1404a9(0x22f)](this[_0x1404a9(0x239)],_0x2696a7[_0x1404a9(0x27d)])){this[_0x1404a9(0x200)](this[_0x1404a9(0x1c5)]()+_0x1404a9(0x1f1)+utils[_0x1404a9(0x2a6)](_0x34679a['title'])+_0x1404a9(0x2dd)),this[_0x1404a9(0x200)](this[_0x1404a9(0x1c5)]()+'\x20\x20<dt>'+utils['escape'](_0x34679a[_0x1404a9(0x281)])+_0x1404a9(0x2dd));var _0x41d12b=utils['escape'](utils[_0x1404a9(0x209)](_0x34679a['body']));this[_0x1404a9(0x200)](this['indent']()+_0x1404a9(0x1fb)+_0x41d12b+'</code></pre></dd>');}}_0x2696a7[_0x1404a9(0x1b9)](testhubUtils[_0x1404a9(0x1c4)](),!![])&&(!_0x34679a[_0x1404a9(0x22d)]&&(_0x34679a['markedStatus']=!![],await this[_0x1404a9(0x1e9)](_0x34679a)));})['on'](EVENT_TEST_FAIL,async(_0x25f860,_0x11f8c2)=>{const _0x47a0c0=_0x2725b2;this['results'][_0x47a0c0(0x2b9)]({'title':_0x25f860[_0x47a0c0(0x1e6)],'suite':_0x25f860[_0x47a0c0(0x2db)][_0x47a0c0(0x1e6)],'state':_0x25f860[_0x47a0c0(0x230)],'err':{'message':util[_0x47a0c0(0x1c6)](_0x11f8c2)},'fullTitle':_0x25f860[_0x47a0c0(0x1ff)](),'speed':_0x25f860[_0x47a0c0(0x279)],'currentRetry':_0x25f860[_0x47a0c0(0x231)](),'titlePathV':_0x25f860[_0x47a0c0(0x210)]()});if(_0x2696a7[_0x47a0c0(0x22e)](this['type'],_0x2696a7[_0x47a0c0(0x2c1)]))process['stdout']['write'](Base[_0x47a0c0(0x2d5)](_0x2696a7[_0x47a0c0(0x219)],Base[_0x47a0c0(0x2ba)]['bang']));else{if(_0x2696a7[_0x47a0c0(0x22e)](this[_0x47a0c0(0x239)],_0x2696a7['sgyBF'])){const _0x4dbdb5=_0x2696a7['kkzVk']['split']('|');let _0x40c545=0x0;while(!![]){switch(_0x4dbdb5[_0x40c545++]){case'0':this[_0x47a0c0(0x200)](this[_0x47a0c0(0x1c5)]()+_0x47a0c0(0x2b5)+utils[_0x47a0c0(0x2a6)](_0x25f860['err'])+'</dd>');continue;case'1':this[_0x47a0c0(0x200)](this[_0x47a0c0(0x1c5)]()+_0x47a0c0(0x1d6)+utils[_0x47a0c0(0x2a6)](_0x25f860['file'])+_0x47a0c0(0x2dd));continue;case'2':this[_0x47a0c0(0x200)](this[_0x47a0c0(0x1c5)]()+_0x47a0c0(0x1d6)+utils[_0x47a0c0(0x2a6)](_0x25f860['title'])+_0x47a0c0(0x2dd));continue;case'3':var _0x4ef96c=utils['escape'](utils[_0x47a0c0(0x209)](_0x25f860['body']));continue;case'4':this['docAppend'](this['indent']()+_0x47a0c0(0x212)+_0x4ef96c+_0x47a0c0(0x2b2));continue;}break;}}}if(_0x2696a7['fsPMe'](testhubUtils[_0x47a0c0(0x1c4)](testHubConstants[_0x47a0c0(0x236)][_0x47a0c0(0x2a8)]),!![])){if(!_0x25f860[_0x47a0c0(0x22d)]){_0x25f860[_0x47a0c0(0x22d)]=!![];if(_0x25f860[_0x47a0c0(0x1ef)])await this[_0x47a0c0(0x1e9)](_0x25f860,_0x11f8c2);else _0x25f860['hookAnalyticsId']&&await this[_0x47a0c0(0x1e9)](_0x25f860,_0x11f8c2,![],_0x2696a7[_0x47a0c0(0x233)]);}}})['on'](EVENT_TEST_PENDING,async _0x39f5d8=>{const _0x379543=_0x2725b2;this['results'][_0x379543(0x2b9)]({'title':_0x39f5d8[_0x379543(0x1e6)],'suite':_0x39f5d8[_0x379543(0x2db)]['title'],'state':_0x39f5d8['state'],'err':{},'fullTitle':_0x39f5d8[_0x379543(0x1ff)](),'speed':_0x39f5d8['speed'],'currentRetry':_0x39f5d8[_0x379543(0x231)](),'titlePathV':_0x39f5d8[_0x379543(0x210)]()}),_0x2696a7[_0x379543(0x1b9)](this[_0x379543(0x239)],_0x2696a7[_0x379543(0x2c1)])&&process[_0x379543(0x267)][_0x379543(0x2d2)](Base[_0x379543(0x2d5)](_0x2696a7['cAoGx'],Base['symbols'][_0x379543(0x297)])),_0x2696a7[_0x379543(0x22f)](testhubUtils[_0x379543(0x1c4)](),!![])&&(!_0x39f5d8['testAnalyticsId']&&(_0x39f5d8[_0x379543(0x1ef)]=_0x2696a7[_0x379543(0x27c)](uuidv4)),!_0x39f5d8[_0x379543(0x22d)]&&(_0x39f5d8[_0x379543(0x22d)]=!![],await this[_0x379543(0x1e9)](_0x39f5d8,undefined,![],_0x2696a7[_0x379543(0x1ec)])));})['on'](EVENT_TEST_BEGIN,async _0x2db111=>{const _0x5e27e9=_0x2725b2;_0x2696a7[_0x5e27e9(0x2ab)](testhubUtils[_0x5e27e9(0x1c4)](),!![])&&await this[_0x5e27e9(0x2a4)](_0x2db111);})['on'](EVENT_TEST_END,async _0x528ae3=>{const _0x5ed426=_0x2725b2;_0x2696a7[_0x5ed426(0x222)](testhubUtils[_0x5ed426(0x1c4)](),!![])&&(!_0x528ae3[_0x5ed426(0x22d)]&&(_0x528ae3[_0x5ed426(0x22d)]=!![],await this[_0x5ed426(0x1e9)](_0x528ae3)));})['once'](EVENT_RUN_END,async()=>{const _0x2776ad=_0x2725b2;try{if(_0x2696a7['yxDYY'](testhubUtils[_0x2776ad(0x1c4)](),!![])){const _0x2deb0a=_0x2696a7[_0x2776ad(0x265)](getHookSkippedTests,this[_0x2776ad(0x204)][_0x2776ad(0x1c1)]);for(const _0x3f2cb5 of _0x2deb0a){!_0x3f2cb5['testAnalyticsId']&&(_0x3f2cb5[_0x2776ad(0x1ef)]=_0x2696a7['rOGat'](uuidv4)),await this[_0x2776ad(0x1e9)](_0x3f2cb5,undefined,![],_0x2696a7[_0x2776ad(0x1ec)]);}}}catch(_0x24eb47){_0x2696a7[_0x2776ad(0x21c)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x24eb47);}await requestQueueHandler['shutdown'](),_0x2696a7[_0x2776ad(0x2be)](this[_0x2776ad(0x239)],_0x2696a7[_0x2776ad(0x27d)])&&Base[_0x2776ad(0x22c)](this[_0x2776ad(0x25b)]);});if(this['type']&&![_0x2696a7['sgyBF'],_0x2696a7['bFJgH'],_0x2696a7[_0x2725b2(0x22b)],_0x2696a7[_0x2725b2(0x2c1)]][_0x2725b2(0x291)](this[_0x2725b2(0x239)])){const _0x5845b4=this[_0x2725b2(0x239)][_0x2725b2(0x244)]();this[_0x2725b2(0x2c5)]=null;try{this[_0x2725b2(0x2c5)]=_0x2696a7[_0x2725b2(0x25a)](requireModule,_0x2725b2(0x1f5)+_0x5845b4+'.js',_0x2696a7[_0x2725b2(0x26d)]);}catch(_0x55ff5f){_0x2696a7[_0x2725b2(0x265)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x55ff5f);}if(_0x2696a7[_0x2725b2(0x2ab)](this[_0x2725b2(0x2c5)],null))try{this[_0x2725b2(0x2c5)]=_0x2696a7[_0x2725b2(0x227)](require,_0x5845b4);}catch(_0x574cc3){console[_0x2725b2(0x28c)]('Failed\x20to\x20load\x20reporter\x20'+_0x5845b4);}if(_0x2696a7[_0x2725b2(0x280)](this[_0x2725b2(0x2c5)],null)){const _0x4c6cd1={};_0x4c6cd1[_0x2725b2(0x2af)]=_0x2b967a['reporterOption'],this['Reporter']=new this[(_0x2725b2(0x2c5))](_0x3d1622,_0x4c6cd1);}}}[a27_0x218640(0x1c5)](){const _0x4f03e6=a27_0x218640,_0x2fc5d7={'auqSn':function(_0x3bdfb5,_0xcf8886){return _0x3bdfb5(_0xcf8886);}};return _0x2fc5d7['auqSn'](Array,this['_indents'])[_0x4f03e6(0x208)]('\x20\x20');}[a27_0x218640(0x1d8)](){const _0x541f3e=a27_0x218640;this[_0x541f3e(0x221)]++;}[a27_0x218640(0x235)](){const _0x2ca986=a27_0x218640;this[_0x2ca986(0x221)]--;}[a27_0x218640(0x200)](_0x19faba){const _0x11cd08=a27_0x218640;this[_0x11cd08(0x25b)]+=_0x19faba;}[a27_0x218640(0x2ae)](_0x40cee3,_0xa393f2){const _0x21e1c5=a27_0x218640,_0x21ccab={'wObNT':function(_0x2173c5,_0x2e01cc){return _0x2173c5(_0x2e01cc);}},_0x8ef70b={};_0x8ef70b[_0x21e1c5(0x2b6)]=_0x40cee3,_0x8ef70b[_0x21e1c5(0x268)]=this['finalResults'],_0x21ccab['wObNT'](_0xa393f2,_0x8ef70b);}[a27_0x218640(0x2d3)](){const _0x30413a=a27_0x218640;process[_0x30413a(0x1d5)](_0x30413a(0x2cf)+process[_0x30413a(0x2c9)]),process['on']('bs:addLog:'+process['pid'],this[_0x30413a(0x1f6)][_0x30413a(0x287)](this)),process[_0x30413a(0x1d5)]('bs:addPlatformDetails:'+process[_0x30413a(0x2c9)]),process['on']('bs:addPlatformDetails:'+process[_0x30413a(0x2c9)],this[_0x30413a(0x1e7)][_0x30413a(0x287)](this));}['testStarted']=async _0x4ea20b=>{const _0x5c0535=a27_0x218640,_0xd96f1b={'OpOtB':function(_0x4f71ed){return _0x4f71ed();},'QBbpt':_0x5c0535(0x211),'RFarS':function(_0x2ab270,_0x1c59d1){return _0x2ab270>_0x1c59d1;},'rpMcB':function(_0x1d0206,_0x41d1c0){return _0x1d0206===_0x41d1c0;},'DXjjl':'TestRunStarted','NBnzM':function(_0x58ecb0,_0x3778be){return _0x58ecb0(_0x3778be);}};try{const _0x2d809a=this[_0x5c0535(0x247)];this[_0x5c0535(0x247)]=_0x4ea20b,_0x4ea20b['retryOf']=null,_0x4ea20b[_0x5c0535(0x1ef)]=_0xd96f1b[_0x5c0535(0x253)](uuidv4),globals[_0x5c0535(0x23a)](_0xd96f1b['QBbpt'],_0x4ea20b[_0x5c0535(0x1ef)]),_0x4ea20b[_0x5c0535(0x29a)]=new Date()['toISOString'](),_0xd96f1b[_0x5c0535(0x23e)](_0x4ea20b['_currentRetry'],0x0)&&_0x2d809a&&_0xd96f1b[_0x5c0535(0x2b8)](_0x2d809a['title'],_0x4ea20b[_0x5c0535(0x1e6)])?(_0x4ea20b[_0x5c0535(0x285)]=_0x2d809a[_0x5c0535(0x1ef)],await this[_0x5c0535(0x1e9)](_0x4ea20b,undefined,![],_0xd96f1b[_0x5c0535(0x290)]),_0x2d809a[_0x5c0535(0x230)]=STATE_FAILED,await this[_0x5c0535(0x1e9)](_0x2d809a,undefined,!![])):await this[_0x5c0535(0x1e9)](_0x4ea20b,undefined,![],_0xd96f1b[_0x5c0535(0x290)]);}catch(_0x23306f){_0xd96f1b[_0x5c0535(0x2a7)](debug,_0x5c0535(0x28a)+_0x23306f);}};['sendTestRunEvent']=async(_0x10a5c9,_0x4c48f5=undefined,_0x298b94=![],_0x511ef3=a27_0x218640(0x29e))=>{const _0x194204=a27_0x218640,_0xcfd458={'hTIdD':function(_0x2a10b5,_0x55afc6){return _0x2a10b5===_0x55afc6;},'dQHSJ':function(_0x449dd1,_0x3a2c80){return _0x449dd1!==_0x3a2c80;},'kDWQW':_0x194204(0x220),'DNtMT':_0x194204(0x288),'Pfoqj':function(_0x5e50f3,_0x531163){return _0x5e50f3!==_0x531163;},'ziQqW':_0x194204(0x24c),'GbezE':_0x194204(0x1fa),'xqBey':_0x194204(0x2a2),'eHBTA':function(_0x4bf826,_0xf7587a){return _0x4bf826===_0xf7587a;},'CzTKN':'TestRunSkipped','gohWD':_0x194204(0x217),'mymwF':function(_0x120014,_0x203713){return _0x120014-_0x203713;},'chOZY':_0x194204(0x241),'zfpPu':'UnhandledError','rzVhU':_0x194204(0x29e),'mbdcU':_0x194204(0x206),'niUcn':function(_0x2f8067){return _0x2f8067();},'piGkD':function(_0x5938d0,_0x54a80f){return _0x5938d0===_0x54a80f;},'AYtWU':'started_at','DyKOz':'finished_at','wCwKd':function(_0x22aa9d,_0x333ea7){return _0x22aa9d(_0x333ea7);},'LPzXB':_0x194204(0x232),'ujMiu':_0x194204(0x25f),'PXXGt':_0x194204(0x228),'figlY':_0x194204(0x242),'YmknL':function(_0x229a73,_0x3adb9a){return _0x229a73(_0x3adb9a);},'NuBlb':_0x194204(0x2bd),'HSHyg':_0x194204(0x28b),'KJpdA':'backtrace','GuLCD':_0x194204(0x1b8),'RyXpo':_0x194204(0x202),'kNbrX':function(_0x2367bb,_0x24782d){return _0x2367bb(_0x24782d);},'ayQUT':function(_0x3448fc,_0x58bcbf){return _0x3448fc===_0x58bcbf;},'DBXFG':_0x194204(0x2a0),'NDmua':'hook_run','WvDNo':_0x194204(0x2df)};try{if(_0x10a5c9[_0x194204(0x237)]&&_0x10a5c9[_0x194204(0x237)][_0x194204(0x21e)](/browserstack internal helper hook/))return;let _0x547c1e=[];if(_0xcfd458[_0x194204(0x1c7)](_0x10a5c9[_0x194204(0x230)],STATE_FAILED)){if(_0xcfd458[_0x194204(0x1f0)](_0x10a5c9['err'],undefined))_0x547c1e=_0x10a5c9[_0x194204(0x288)][_0x194204(0x2c0)]?[_0x10a5c9['err']['multiple'],_0xcfd458[_0x194204(0x2c3)]]:[_0x10a5c9[_0x194204(0x288)],_0xcfd458[_0x194204(0x29b)]];else _0xcfd458[_0x194204(0x2da)](_0x4c48f5,undefined)?_0x547c1e=[_0x4c48f5,_0xcfd458['DNtMT']]:_0x547c1e=[];}const _0xf11234=_0xcfd458[_0x194204(0x2da)](_0x10a5c9[_0x194204(0x288)],undefined)?_0x10a5c9[_0x194204(0x288)][_0x194204(0x1bc)]():_0xcfd458['Pfoqj'](_0x4c48f5,undefined)?_0x4c48f5[_0x194204(0x1bc)]():undefined;let _0x241f0b;try{_0x241f0b=this[_0x194204(0x2bb)](_0x10a5c9);}catch(_0xc4d29f){_0x241f0b=null;}const _0xd4b92f=_0x241f0b?this[_0x194204(0x207)](_0x241f0b):null,_0x3064ca=_0x241f0b?this[_0x194204(0x25d)][_0x194204(0x1e4)](this[_0x194204(0x2bb)](_0x10a5c9)):_0xcfd458['ziQqW'],_0x3c33c8={'framework':_0xcfd458['GbezE'],'uuid':_0x10a5c9[_0x194204(0x1ef)]||_0x10a5c9[_0x194204(0x29f)],'name':_0x10a5c9['title'],'body':{'lang':_0xcfd458['xqBey'],'code':_0x10a5c9['body']},'scope':this['scope'](_0x10a5c9),'scopes':this[_0x194204(0x20a)](_0x10a5c9),'identifier':_0x10a5c9['fullTitle'](),'file_name':_0x3064ca,'vc_filepath':_0xd4b92f?path['relative'](_0xd4b92f,_0x241f0b):null,'location':_0x3064ca,'result':_0xcfd458[_0x194204(0x1ca)](_0x511ef3,_0xcfd458[_0x194204(0x258)])?_0xcfd458[_0x194204(0x1b7)]:this[_0x194204(0x216)](_0x10a5c9[_0x194204(0x230)]),'failure_reason':_0xf11234,'duration_in_ms':_0x10a5c9[_0x194204(0x225)]||(_0x511ef3[_0x194204(0x21e)](/Finished/)||_0x511ef3[_0x194204(0x21e)](/Skipped/)?_0xcfd458[_0x194204(0x1bd)](Date[_0x194204(0x1b6)](),new Date(_0x10a5c9[_0x194204(0x29a)])[_0x194204(0x1d2)]()):null),'started_at':_0x10a5c9[_0x194204(0x29a)],'finished_at':_0x511ef3[_0x194204(0x21e)](/Finished/)||_0x511ef3[_0x194204(0x21e)](/Skipped/)?new Date()[_0x194204(0x29d)]():null,'failure':failureData[_0x194204(0x283)](null,_0x547c1e),'failure_type':!_0xf11234?null:_0xf11234[_0x194204(0x21e)](/AssertionError/)?_0xcfd458[_0x194204(0x1f8)]:_0xcfd458[_0x194204(0x26f)],'retry_of':_0x10a5c9[_0x194204(0x285)]};if([_0xcfd458[_0x194204(0x258)],_0xcfd458[_0x194204(0x1c2)],_0xcfd458[_0x194204(0x263)]][_0x194204(0x291)](_0x511ef3)){if(_0xcfd458[_0x194204(0x1e8)](getCentralUser)['lcnc']){const _0x5b06bc=TestMetadata[_0x194204(0x276)](_0x10a5c9['testanalyticsid']);if(_0x5b06bc){const _0xbf63ce={};_0xbf63ce[_0x194204(0x1c3)]=_0x5b06bc,Object[_0x194204(0x1dd)](_0x3c33c8,_0xbf63ce);}}}testhubUtils[_0x194204(0x264)](_0x3c33c8,_0x511ef3,_0x10a5c9,FRAMEWORKS['MOCHA']);(_0x10a5c9[_0x194204(0x21d)]||_0x10a5c9[_0x194204(0x2b3)])&¢ralScannerUtils[_0x194204(0x2cc)](_0x3c33c8,_0x10a5c9['responseCode'],_0x10a5c9['redirectUrl']);_0xcfd458[_0x194204(0x24d)](_0x511ef3,_0xcfd458[_0x194204(0x258)])&&!_0x3c33c8[_0xcfd458[_0x194204(0x1e3)]]&&(_0x3c33c8[_0xcfd458[_0x194204(0x1e3)]]=_0x3c33c8[_0xcfd458[_0x194204(0x277)]]);if(_0x511ef3['match'](/HookRun/))[_0x3c33c8[_0x194204(0x2a0)],_0x3c33c8[_0x194204(0x214)]]=_0xcfd458[_0x194204(0x26e)](getHookDetails,_0x10a5c9[_0x194204(0x1ff)]()||_0x10a5c9[_0x194204(0x21f)]||_0x10a5c9['title']),_0xcfd458[_0x194204(0x1ca)](_0x511ef3,_0xcfd458[_0x194204(0x1cf)])&&(_0xcfd458[_0x194204(0x2da)](_0x3c33c8[_0x194204(0x1b5)],_0xcfd458[_0x194204(0x2bc)])&&(_0x3c33c8[_0x194204(0x1b5)]=_0xcfd458[_0x194204(0x2c8)]),_0xcfd458[_0x194204(0x1ca)](_0x3c33c8['hook_type'],_0xcfd458[_0x194204(0x2aa)])&&_0xcfd458[_0x194204(0x1c7)](_0x3c33c8[_0x194204(0x1b5)],_0xcfd458['ujMiu'])&&!_0x10a5c9[_0x194204(0x293)]['currentTest'][_0x194204(0x22d)]&&(_0x10a5c9['ctx'][_0x194204(0x1d0)][_0x194204(0x22d)]=!![],_0x10a5c9[_0x194204(0x293)][_0x194204(0x1d0)][_0x194204(0x230)]=STATE_FAILED,await this[_0x194204(0x1e9)](_0x10a5c9[_0x194204(0x293)][_0x194204(0x1d0)],undefined,!![])));else _0x511ef3[_0x194204(0x21e)](/TestRun/)&&_0xcfd458[_0x194204(0x24b)](mapTestHooks,_0x10a5c9);const _0x445556=_0x3c33c8[_0xcfd458['NuBlb']][0x0];_0x445556&&(_0x3c33c8[_0xcfd458['HSHyg']]=_0x445556[_0xcfd458[_0x194204(0x1df)]],_0x3c33c8[_0xcfd458[_0x194204(0x24a)]]=_0x445556[_0xcfd458[_0x194204(0x2dc)]]);[_0xcfd458[_0x194204(0x1c2)],_0xcfd458[_0x194204(0x258)]][_0x194204(0x291)](_0x511ef3)&&(this[_0x194204(0x1e1)]['push'](_0x3c33c8),_0x3c33c8[_0x194204(0x1d3)]=_0xcfd458[_0x194204(0x22a)](getHooksForTest,_0x10a5c9));const _0x412e38={'event_type':_0xcfd458[_0x194204(0x1d7)](_0x511ef3,_0xcfd458[_0x194204(0x258)])?_0xcfd458[_0x194204(0x1c2)]:_0x511ef3};_0x511ef3[_0x194204(0x21e)](/HookRun/)?(_0x3c33c8[_0xcfd458['DBXFG']]=HOOK_TYPES_MAP[_0x3c33c8[_0xcfd458['DBXFG']]],_0x412e38[_0xcfd458['NDmua']]=_0x3c33c8):_0x412e38[_0xcfd458[_0x194204(0x2c4)]]=_0x3c33c8,testhubUtils[_0x194204(0x294)](FRAMEWORKS[_0x194204(0x248)],_0x412e38),await SessionHandler[_0x194204(0x1d4)](_0x412e38);}catch(_0x145110){_0xcfd458[_0x194204(0x24b)](debug,_0x194204(0x2de)+_0x511ef3+'\x20with\x20error\x20:\x20'+_0x145110);}};[a27_0x218640(0x207)](_0x2cb534){const _0x59654d=a27_0x218640,_0x5e946f={};_0x5e946f[_0x59654d(0x1d9)]=function(_0x5bfcba,_0x5545cc){return _0x5bfcba===_0x5545cc;},_0x5e946f[_0x59654d(0x246)]=function(_0x52d901,_0x4cd9b5){return _0x52d901===_0x4cd9b5;},_0x5e946f[_0x59654d(0x215)]=function(_0xc3f14b,_0x3b672d){return _0xc3f14b===_0x3b672d;},_0x5e946f[_0x59654d(0x21a)]=_0x59654d(0x25e),_0x5e946f['bBuSQ']=_0x59654d(0x1fe);const _0x5aff1e=_0x5e946f,_0x1ead2e=path['sep'];if(_0x5aff1e[_0x59654d(0x1d9)](_0x2cb534,null)||_0x5aff1e[_0x59654d(0x246)](_0x2cb534,'')||_0x5aff1e[_0x59654d(0x246)](_0x2cb534,_0x1ead2e)||_0x5aff1e['ETXyD'](_0x2cb534,path['dirname'](_0x2cb534)))return null;try{return fs['statSync'](path[_0x59654d(0x208)](_0x2cb534,_0x5aff1e['szgQv'],_0x5aff1e[_0x59654d(0x2b4)])),_0x2cb534;}catch(_0x34af76){const _0x560940=path[_0x59654d(0x20f)](_0x2cb534);return this[_0x59654d(0x207)](_0x560940);}}['appendTestItemLog']=async _0x34f99e=>{const _0x5c1aa9=a27_0x218640,_0x2fb52b={'jNhRM':_0x5c1aa9(0x255),'ipApe':function(_0x1eed7f,_0x28532b){return _0x1eed7f(_0x28532b);}};try{this[_0x5c1aa9(0x2d9)]&&!this[_0x5c1aa9(0x2d9)][_0x5c1aa9(0x22d)]&&(_0x34f99e[_0x5c1aa9(0x28e)]=this[_0x5c1aa9(0x2d9)][_0x5c1aa9(0x29f)]);!_0x34f99e[_0x5c1aa9(0x28e)]&&this[_0x5c1aa9(0x247)]&&!this[_0x5c1aa9(0x247)]['markedStatus']&&(_0x34f99e[_0x5c1aa9(0x1ba)]=this['current_test'][_0x5c1aa9(0x1ef)]);if(_0x34f99e[_0x5c1aa9(0x28e)]||_0x34f99e[_0x5c1aa9(0x1ba)]){const _0x5d47cf={};_0x5d47cf[_0x5c1aa9(0x1ea)]=_0x2fb52b['jNhRM'],_0x5d47cf['logs']=[_0x34f99e],await SessionHandler[_0x5c1aa9(0x1d4)](_0x5d47cf);}}catch(_0x18b9e6){_0x2fb52b['ipApe'](debug,_0x5c1aa9(0x229)+_0x18b9e6);}};[a27_0x218640(0x1e7)]=async _0x2b8961=>{const _0x51adab=a27_0x218640,_0x8531e2={'nhyxG':_0x51adab(0x2bf),'yIIVb':_0x51adab(0x24e),'oAkvp':function(_0x346218,_0x2adefa){return _0x346218(_0x2adefa);}};try{const _0x7fd6f0={};_0x7fd6f0['uuid']=_0x2b8961['uuid']||this[_0x51adab(0x247)][_0x51adab(0x1ef)],_0x7fd6f0[_0x51adab(0x298)]=_0x2b8961[_0x8531e2[_0x51adab(0x2ac)]];const _0x102510=_0x7fd6f0,_0x65ad0c={};_0x65ad0c[_0x51adab(0x1ea)]=_0x8531e2[_0x51adab(0x2ce)],_0x65ad0c[_0x51adab(0x2df)]=_0x102510,await SessionHandler[_0x51adab(0x1d4)](_0x65ad0c);}catch(_0x338056){_0x8531e2[_0x51adab(0x243)](debug,_0x51adab(0x266)+_0x338056);}};[a27_0x218640(0x216)](_0xd25f06){const _0xf7f96e=a27_0x218640,_0x155e82={};_0x155e82['nTSJe']=_0xf7f96e(0x228),_0x155e82[_0xf7f96e(0x1fd)]=_0xf7f96e(0x2ad),_0x155e82[_0xf7f96e(0x2b1)]=_0xf7f96e(0x25f);const _0x29a098=_0x155e82,_0x322e8f={};return _0x322e8f[STATE_PASSED]=_0x29a098[_0xf7f96e(0x2a1)],_0x322e8f[STATE_PENDING]=_0x29a098['wOluq'],_0x322e8f[STATE_FAILED]=_0x29a098[_0xf7f96e(0x2b1)],_0x322e8f[_0xd25f06];}['scope'](_0x1332f6){const _0x5eab23=a27_0x218640,_0x1d9cea={};_0x1d9cea['GqzLP']=function(_0x473cb2,_0x488382){return _0x473cb2-_0x488382;};const _0x33cc7=_0x1d9cea,_0x7250be=_0x1332f6[_0x5eab23(0x210)]();return _0x7250be[_0x5eab23(0x234)](0x0,_0x33cc7[_0x5eab23(0x1cd)](_0x7250be['length'],0x1))[_0x5eab23(0x208)]('\x20');}['scopes'](_0x595cca){const _0x2a02ea=a27_0x218640,_0x1e93de={};_0x1e93de[_0x2a02ea(0x23d)]=function(_0x1c0e8a,_0x3f43ee){return _0x1c0e8a-_0x3f43ee;};const _0x48bfdc=_0x1e93de,_0x59dcb4=_0x595cca[_0x2a02ea(0x210)]();return _0x59dcb4[_0x2a02ea(0x234)](0x0,_0x48bfdc[_0x2a02ea(0x23d)](_0x59dcb4['length'],0x1));}[a27_0x218640(0x2bb)](_0x480bfc){const _0xb4d8bd=a27_0x218640,_0x5a16f1={};_0x5a16f1['OvdPA']=function(_0x2495db,_0x5172f9){return _0x2495db>_0x5172f9;};const _0x420433=_0x5a16f1;if(_0x480bfc[_0xb4d8bd(0x281)])return _0x480bfc[_0xb4d8bd(0x281)];if(_0x480bfc[_0xb4d8bd(0x293)]){const _0x2ebadd=_0x480bfc[_0xb4d8bd(0x293)][_0xb4d8bd(0x1d0)]?this[_0xb4d8bd(0x2bb)](_0x480bfc[_0xb4d8bd(0x293)]['currentTest']):null;if(_0x2ebadd)return _0x2ebadd;}if(_0x480bfc[_0xb4d8bd(0x2db)]){const _0xf334a1=this[_0xb4d8bd(0x2bb)](_0x480bfc['parent'])||(_0x480bfc[_0xb4d8bd(0x2db)][_0xb4d8bd(0x293)]&&_0x480bfc['parent'][_0xb4d8bd(0x293)][_0xb4d8bd(0x1d0)]?this[_0xb4d8bd(0x2bb)](_0x480bfc[_0xb4d8bd(0x2db)]['ctx'][_0xb4d8bd(0x1d0)]):null);if(_0xf334a1)return _0xf334a1;_0x480bfc[_0xb4d8bd(0x2db)][_0xb4d8bd(0x27b)]&&_0x420433[_0xb4d8bd(0x245)](_0x480bfc[_0xb4d8bd(0x2db)][_0xb4d8bd(0x27b)][_0xb4d8bd(0x26a)],0x0)&&_0x480bfc['parent']['suites'][_0xb4d8bd(0x2cd)](_0x444a88=>{const _0x39cfbd=_0xb4d8bd,_0x365522=_0x444a88[_0x39cfbd(0x293)]?this[_0x39cfbd(0x2bb)](_0x444a88[_0x39cfbd(0x293)]):null;if(_0x365522)return _0x365522;});}return null;}}module['exports']=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x3bc820=a28_0x15b3;(function(_0x326ab3,_0x334ad2){const _0x3c081d=a28_0x15b3,_0x2a7d11=_0x326ab3();while(!![]){try{const _0x2cc12a=-parseInt(_0x3c081d(0x155))/0x1+-parseInt(_0x3c081d(0x1c9))/0x2*(parseInt(_0x3c081d(0x218))/0x3)+-parseInt(_0x3c081d(0x244))/0x4+parseInt(_0x3c081d(0x1dc))/0x5*(parseInt(_0x3c081d(0x192))/0x6)+parseInt(_0x3c081d(0x14f))/0x7*(-parseInt(_0x3c081d(0x1cd))/0x8)+parseInt(_0x3c081d(0x176))/0x9*(parseInt(_0x3c081d(0x1a4))/0xa)+-parseInt(_0x3c081d(0x206))/0xb*(-parseInt(_0x3c081d(0x1c4))/0xc);if(_0x2cc12a===_0x334ad2)break;else _0x2a7d11['push'](_0x2a7d11['shift']());}catch(_0x56ddad){_0x2a7d11['push'](_0x2a7d11['shift']());}}}(a28_0x4af4,0xe1432));function a28_0x15b3(_0x3d8e01,_0x152e1c){const _0x4af47a=a28_0x4af4();return a28_0x15b3=function(_0x15b35c,_0x28d288){_0x15b35c=_0x15b35c-0x146;let _0x118e24=_0x4af47a[_0x15b35c];return _0x118e24;},a28_0x15b3(_0x3d8e01,_0x152e1c);}const chalk=require('chalk'),logger=require(a28_0x3bc820(0x18f))[a28_0x3bc820(0x1c0)],{default:BrowserStackSetup}=require(a28_0x3bc820(0x1c7)),helper=require(a28_0x3bc820(0x150)),utilities=require(a28_0x3bc820(0x174)),testOpsHelper=require(a28_0x3bc820(0x14b)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x3bc820(0x150)),{getPercyOptions}=require(a28_0x3bc820(0x17c)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule(a28_0x3bc820(0x1d6),a28_0x3bc820(0x1c1)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x3bc820(0x1b1))[a28_0x3bc820(0x195)],centralScannerConstants=require(a28_0x3bc820(0x18d));function tag(_0x35690c,_0x1863e2,_0x22d876,_0x136be5){const _0x3407c4=a28_0x3bc820,_0x4e6592={'GhEvk':function(_0x51c6b4,_0x2c1b07){return _0x51c6b4+_0x2c1b07;},'utwoZ':function(_0x3233f7,_0x186bb6){return _0x3233f7+_0x186bb6;},'vanBA':function(_0x52c59b,_0x285ed9){return _0x52c59b+_0x285ed9;},'AxrDH':function(_0x521bfd,_0x15e3ea){return _0x521bfd(_0x15e3ea);},'oKdIX':function(_0x2ed901,_0x490fcc){return _0x2ed901+_0x490fcc;},'FGOWD':function(_0x15165c,_0x1407a3){return _0x15165c+_0x1407a3;},'rNLgE':function(_0x31dc62,_0x5a9b20){return _0x31dc62+_0x5a9b20;}},_0x43edda=_0x22d876?'/>':'>',_0x555dfd=[];let _0x35ee30;for(const _0x1fbf42 in _0x1863e2){Object[_0x3407c4(0x1a6)][_0x3407c4(0x21c)]['call'](_0x1863e2,_0x1fbf42)&&_0x555dfd[_0x3407c4(0x207)](_0x4e6592[_0x3407c4(0x22d)](_0x4e6592[_0x3407c4(0x214)](_0x4e6592[_0x3407c4(0x17f)](_0x1fbf42,'=\x22'),_0x4e6592[_0x3407c4(0x158)](escape,_0x1863e2[_0x1fbf42])),'\x22'));}return _0x35ee30=_0x4e6592['utwoZ'](_0x4e6592[_0x3407c4(0x24a)](_0x4e6592['oKdIX']('<',_0x35690c),_0x555dfd[_0x3407c4(0x222)]?_0x4e6592[_0x3407c4(0x214)]('\x20',_0x555dfd['join']('\x20')):''),_0x43edda),_0x136be5&&(_0x35ee30+=_0x4e6592['FGOWD'](_0x4e6592['rNLgE'](_0x4e6592[_0x3407c4(0x17f)](_0x136be5,'</'),_0x35690c),_0x43edda)),_0x35ee30;}let xunitContent='';function xunitWrite(_0xbe33ef){xunitContent+=_0xbe33ef;}function xunitTest(_0x2a49de,_0x59ce39){const _0x5e0be3=a28_0x3bc820,_0x592513={'aZrex':function(_0x2e2893,_0x1cfd1a){return _0x2e2893/_0x1cfd1a;},'KnkOk':function(_0x2799c2,_0x2ae46b){return _0x2799c2===_0x2ae46b;},'lnlTR':_0x5e0be3(0x17e),'TSzFo':function(_0x14166d,_0x5b5e1f){return _0x14166d+_0x5b5e1f;},'JILbx':function(_0x257d0b,_0x3b6f3f){return _0x257d0b(_0x3b6f3f);},'jxqrM':function(_0x452b85,_0x3f44ac,_0xf9ab66,_0x361dcb,_0x19693a){return _0x452b85(_0x3f44ac,_0xf9ab66,_0x361dcb,_0x19693a);},'AaIHf':_0x5e0be3(0x1af),'NpFDM':'failure','BQDOZ':function(_0x2c536a,_0x564917,_0x5eaf65,_0x509015){return _0x2c536a(_0x564917,_0x5eaf65,_0x509015);},'MKrzl':'skipped','FYWjb':function(_0x2589bc,_0xdce88f){return _0x2589bc(_0xdce88f);}};Base[_0x5e0be3(0x1f7)]=![];var _0x400774={'classname':_0x2a49de[_0x5e0be3(0x1b6)],'name':_0x2a49de[_0x5e0be3(0x1b4)],'time':_0x592513[_0x5e0be3(0x188)](_0x2a49de[_0x5e0be3(0x15b)],0x3e8)||0x0,'platform':_0x59ce39};if(_0x592513['KnkOk'](_0x2a49de[_0x5e0be3(0x21d)],_0x592513[_0x5e0be3(0x1ad)])){var _0x2b2743=_0x2a49de[_0x5e0be3(0x1e2)],_0x5982dd=!Base['hideDiff']&&Base['showDiff'](_0x2b2743)?_0x592513['TSzFo']('\x0a',Base[_0x5e0be3(0x231)](_0x2b2743[_0x5e0be3(0x1dd)],_0x2b2743[_0x5e0be3(0x233)])):'';_0x592513['JILbx'](xunitWrite,_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513['AaIHf'],_0x400774,![],_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513[_0x5e0be3(0x247)],{},![],_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x228)](escape,_0x2b2743['message']),_0x592513[_0x5e0be3(0x228)](escape,_0x5982dd)),'\x0a'),_0x592513[_0x5e0be3(0x228)](escape,_0x2b2743[_0x5e0be3(0x22f)])))));}else _0x2a49de['isPending']?_0x592513[_0x5e0be3(0x228)](xunitWrite,_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513[_0x5e0be3(0x21b)],_0x400774,![],_0x592513[_0x5e0be3(0x1c8)](tag,_0x592513['MKrzl'],{},!![]))):_0x592513['FYWjb'](xunitWrite,_0x592513[_0x5e0be3(0x1c8)](tag,_0x592513[_0x5e0be3(0x21b)],_0x400774,!![]));}function a28_0x4af4(){const _0x3137fa=['AaIHf','hasOwnProperty','state','toUTCString','Writing\x20json\x20result\x20to\x20file','bgBlueBright','ndiZU','length','join','isBrowserstackInfra','suiteName','dxeHC','Couldn\x27t\x20write\x20json\x20result\x20to','JILbx','qqwWq','xayIS','MTkHv','cjs','GhEvk','info','stack','AZkAr','generateDiff','hzyQK','expected','cIDoD','eEoNO','testsFailed','getCentralUser','Listing\x20all\x20the\x20failures','useW3C','ygiCO','parse','getTCGConfigFilePaths','reporterOptions','notifyUpdate','map','DlBIb','pgzag','DENCH','passed','3672464niIwlJ','json','Mocha\x20Tests','NpFDM','BROWSERSTACK_TEST_OBSERVABILITY_YML','rMtge','oKdIX','files','eZFZh','parseFileNames','Qekyy','xunit','zUTkJ','\x0a\x0a\x0a','../../helpers/test-observability/utils','then','setUserConfigPath','esxbO','133eaVqEP','../../helpers/helper','sort','SDKTestSuccessful','finalExecution','errorMessage','1452811ZhUZrc','xgFrK','currentRetry','AxrDH','config','parallelsPerPlatform','duration','env','bold','zdjcQ','Couldn\x27t\x20write\x20xunit\x20result\x20to','getOwnPropertyNames','rmdirSync','jjrGl','red','error','pyYwk','output','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Nzivz','start','getHubUrl','getUserWorkerCount','log','testsPending','writeFileSync','BROWSERSTACK_GRR_US_HUB_URL','NukQi','cliConfig','Tests:\x20\x20\x20\x20\x20\x20\x20','mlAIG','../../helpers/utilities','shouldReRunObservabilityTests','9dOBEQF','musgx','SDK_CLEANUP','Ikbui','InpwO','nyELa','../../helpers/percy/utils','PKhqV','failed','vanBA','iPVhE','zHZoU','logLevel','\x20skipped','error\x20removing\x20tcg\x20config\x20file','has','file','results','aZrex','stringify','CmhZy','IVQir','PhCJV','../../helpers/central-scanner/constants','forEach','../../helpers/logger','****\x20FAILURES\x20****','finally','42RwTDzb','yNyon','uqhqn','EVENTS','ORAzI','titlePathV','hMlqN','prepareCapabilities','validPlatformsPresent','pending','totalTests','testsuite','BROWSERSTACK_TEST_ACCESSIBILITY_YML','WspQm','IYRcV','PFHgj','includes','DVuNL','15861940fvmxCX','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','prototype','isUndefined','DFITC','fireFunnelTestEvent','XGFLs','SFRhi','rootHooks','lnlTR','TSzFo','testcase','kxthS','../../helpers/performance/constants','failures','central_scanner','title','jxJro','fullTitle','argv','isTestObservabilitySession','--disable-test-observability','rKnuq','pJHqF','gsnUG','FRAMEWORKS','cvzem','hicVN','winstonLogger','mocha','handleApp','hOYFd','40034052wVntpH','list','yrmDK','../../helpers/BrowserStackSetup','BQDOZ','266966pjpjov','Setting\x20non\x20exit\x20code\x20for\x20failures','qLnOK','chNSj','682344kyOqtC','AznUl','\x20failed','spec','framework','MOCHA','Akiso','jySvu','ShUYQ','mocha/lib/cli/collect-files.js','WTftI','titlePath','debug','</testsuite>','--disable-browserstack-automation','756905RHgLeO','actual','keys','add','recursive','reporter','err','UkdtG','lthTY','green','platforms','jPDAC','object','gwKgg','testSuites','JLnHN','indexOf','lWUsO','JHsxY','WDuCR','RQrdQ','lEHtt','test','consoleLog','fwjax','getPlatformName','bgRedBright','useColors','BROWSERSTACK_TEST_OBSERVABILITY','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','Printing\x20stats\x20of\x20tests','jxqrM','testsPassed','\x20total','setupTCGAuth','cxPRq','accessibilityOptions','YaIno','jOlMa','otwCn','LsrqN','Now,\x20showing\x20logs\x20from\x20mocha','11RexsVa','push','OPNpy','QrVbK','FdAKN','exitCode','extension','nnvKL','kujIt','QEKYK','printBuildLink','Total\x20Suites:\x20','zyMMG','doc','utwoZ','cdcWh','testObservability','accessibility','24Enebsk','BROWSERSTACK_RERUN_TESTS','yqtxH'];a28_0x4af4=function(){return _0x3137fa;};return a28_0x4af4();};function getStats(_0x1eac2c){const _0xd66c12=a28_0x3bc820,_0x398e87={};_0x398e87[_0xd66c12(0x235)]='suite',_0x398e87[_0xd66c12(0x249)]=_0xd66c12(0x243),_0x398e87['Qekyy']=_0xd66c12(0x17e),_0x398e87['InpwO']=_0xd66c12(0x187);const _0x5c0344=_0x398e87,_0xf2f96d=Object[_0xd66c12(0x1de)](_0x1eac2c);let _0x552ce9=0x0,_0x46bc89=0x0,_0x1fb6db=0x0,_0x1162e1=0x0;const _0x20cff3=new Set();_0xf2f96d[_0xd66c12(0x18e)](_0x33208c=>{const _0x10d3f0=_0xd66c12,_0x3173fe={};_0x3173fe[_0x10d3f0(0x1be)]=_0x5c0344[_0x10d3f0(0x235)],_0x3173fe[_0x10d3f0(0x173)]=_0x5c0344[_0x10d3f0(0x249)],_0x3173fe[_0x10d3f0(0x1e9)]=_0x5c0344[_0x10d3f0(0x147)];const _0x2ee3be=_0x3173fe;_0x1eac2c[_0x33208c][_0x5c0344[_0x10d3f0(0x17a)]][_0x10d3f0(0x18e)](_0x502599=>{const _0x1a8a5b=_0x10d3f0;_0x20cff3[_0x1a8a5b(0x1df)](_0x502599[_0x2ee3be[_0x1a8a5b(0x1be)]]),_0x552ce9++;switch(_0x502599['state']){case _0x2ee3be[_0x1a8a5b(0x173)]:_0x1fb6db++;break;case _0x2ee3be[_0x1a8a5b(0x1e9)]:_0x46bc89++;break;default:_0x1162e1++;}});});const _0x115e7a={};return _0x115e7a[_0xd66c12(0x1ea)]=_0x20cff3['size'],_0x115e7a[_0xd66c12(0x1e6)]=_0xf2f96d,_0x115e7a[_0xd66c12(0x19c)]=_0x552ce9,_0x115e7a[_0xd66c12(0x236)]=_0x46bc89,_0x115e7a['testsPassed']=_0x1fb6db,_0x115e7a['testsPending']=_0x1162e1,_0x115e7a;}function errorJSON(_0x27f991){const _0x2b7e7c=a28_0x3bc820;var _0x258da1={};return Object[_0x2b7e7c(0x160)](_0x27f991)[_0x2b7e7c(0x18e)](function(_0x5c7ff6){_0x258da1[_0x5c7ff6]=_0x27f991[_0x5c7ff6];},_0x27f991),_0x258da1;}function cleanCycles(_0x22b6bd){const _0x946e13=a28_0x3bc820,_0x19ce50={};_0x19ce50[_0x946e13(0x149)]=function(_0x3ac2f8,_0xd01592){return _0x3ac2f8===_0xd01592;},_0x19ce50[_0x946e13(0x193)]=_0x946e13(0x1e8),_0x19ce50[_0x946e13(0x1a8)]=function(_0x2992f7,_0x28a249){return _0x2992f7!==_0x28a249;},_0x19ce50[_0x946e13(0x24c)]=function(_0x5e1faa,_0x2b5f67){return _0x5e1faa!==_0x2b5f67;},_0x19ce50['JLnHN']=function(_0xfad429,_0x1da9e9){return _0xfad429+_0x1da9e9;};const _0x4ea088=_0x19ce50;var _0x3d3636=[];return JSON[_0x946e13(0x23b)](JSON[_0x946e13(0x189)](_0x22b6bd,function(_0x47fdbe,_0x3fd2d3){const _0x1d8592=_0x946e13;if(_0x4ea088[_0x1d8592(0x149)](typeof _0x3fd2d3,_0x4ea088[_0x1d8592(0x193)])&&_0x4ea088[_0x1d8592(0x1a8)](_0x3fd2d3,null)){if(_0x4ea088[_0x1d8592(0x24c)](_0x3d3636[_0x1d8592(0x1ec)](_0x3fd2d3),-0x1))return _0x4ea088[_0x1d8592(0x1eb)]('',_0x3fd2d3);_0x3d3636['push'](_0x3fd2d3);}return _0x3fd2d3;}));}function clean(_0x144ae2){const _0x3627e9=a28_0x3bc820,_0x4d9617={'pJHqF':function(_0x4d628e,_0x240ca1){return _0x4d628e instanceof _0x240ca1;},'DENCH':function(_0x1688f5,_0x32e58d){return _0x1688f5(_0x32e58d);}};var _0x4a2404=_0x144ae2['err']||{};return _0x4d9617[_0x3627e9(0x1bb)](_0x4a2404,Error)&&(_0x4a2404=_0x4d9617['DENCH'](errorJSON,_0x4a2404)),{'title':_0x144ae2[_0x3627e9(0x1b4)],'fullTitle':_0x144ae2[_0x3627e9(0x1b6)],'file':_0x144ae2[_0x3627e9(0x186)],'duration':_0x144ae2[_0x3627e9(0x15b)],'currentRetry':_0x144ae2[_0x3627e9(0x157)],'speed':_0x144ae2['speed'],'err':_0x4d9617[_0x3627e9(0x242)](cleanCycles,_0x4a2404)};}function printStats(_0x763527,_0x1ee7c4='spec',_0xd6bfe8={}){const _0x53e2c8=a28_0x3bc820,_0x491527={'OPNpy':function(_0x6cff21,_0x591e12){return _0x6cff21(_0x591e12);},'hMlqN':function(_0x23a250,_0x42f67f){return _0x23a250===_0x42f67f;},'dxeHC':_0x53e2c8(0x243),'hOYFd':'passes','kujIt':function(_0x120fcf,_0x4261a8){return _0x120fcf(_0x4261a8);},'MTkHv':'failed','zHZoU':_0x53e2c8(0x1b2),'otwCn':function(_0x3983e1,_0x437423){return _0x3983e1(_0x437423);},'cIDoD':_0x53e2c8(0x19b),'WDuCR':_0x53e2c8(0x187),'jxJro':function(_0x52b6c4,_0x2f7130){return _0x52b6c4===_0x2f7130;},'abnYK':function(_0x2dea2b,_0x5324be){return _0x2dea2b*_0x5324be;},'IVQir':function(_0x57da18,_0x41c7ad,_0x774861){return _0x57da18(_0x41c7ad,_0x774861);},'UkdtG':function(_0x272dfa,_0x2198e0){return _0x272dfa===_0x2198e0;},'yqtxH':function(_0x583e6c,_0x3acf8e){return _0x583e6c>_0x3acf8e;},'CmhZy':function(_0x1f7a03){return _0x1f7a03();},'JHsxY':_0x53e2c8(0x213),'AZkAr':function(_0x579e72,_0x1d671a){return _0x579e72>_0x1d671a;},'lthTY':_0x53e2c8(0x1ca),'jjrGl':_0x53e2c8(0x1fa),'zHqqg':function(_0x1bac44,_0x33293a){return _0x1bac44+_0x33293a;},'PhCJV':'Total\x20Platforms:\x20','qLnOK':function(_0x4be0eb,_0x215db4){return _0x4be0eb+_0x215db4;},'gsnUG':_0x53e2c8(0x211),'yrmDK':function(_0x4adcc4,_0x4b5bdf){return _0x4adcc4+_0x4b5bdf;},'fOvVT':_0x53e2c8(0x172),'fwjax':function(_0x1f1803,_0x4756dd){return _0x1f1803+_0x4756dd;},'ShUYQ':function(_0x243e40,_0x5f5600){return _0x243e40+_0x5f5600;},'BMeDV':_0x53e2c8(0x14a),'XLJoE':function(_0xcc8f38,_0xb5f2f2){return _0xcc8f38===_0xb5f2f2;},'QrVbK':_0x53e2c8(0x245),'YaIno':_0x53e2c8(0x21f),'jPDAC':_0x53e2c8(0x227),'NukQi':_0x53e2c8(0x1f9),'Ikbui':function(_0x2833c7,_0x5e8d1b){return _0x2833c7===_0x5e8d1b;},'pyYwk':_0x53e2c8(0x148),'SFRhi':_0x53e2c8(0x246),'jAHKk':function(_0x5ae31b,_0x2c6629){return _0x5ae31b||_0x2c6629;},'nyELa':function(_0x223b8f,_0x6ad49){return _0x223b8f(_0x6ad49);},'iPVhE':function(_0x3640ef,_0x52f975,_0x43e309,_0x322ddf){return _0x3640ef(_0x52f975,_0x43e309,_0x322ddf);},'PFHgj':_0x53e2c8(0x19d),'cdcWh':function(_0x41429c,_0x1365a5){return _0x41429c-_0x1365a5;},'FdAKN':function(_0x4e8d5b,_0x1b70ac){return _0x4e8d5b-_0x1b70ac;},'IYRcV':function(_0x25b3eb,_0x33f9d5){return _0x25b3eb/_0x33f9d5;},'WTftI':function(_0x3ef822,_0xe4d512){return _0x3ef822(_0xe4d512);},'kxthS':_0x53e2c8(0x1da),'tUSIn':'Writing\x20xunit\x20result\x20to\x20file','DVuNL':_0x53e2c8(0x15f),'jySvu':_0x53e2c8(0x1a5),'ORAzI':function(_0x50b2cb,_0x1ac98b){return _0x50b2cb===_0x1ac98b;},'pgzag':_0x53e2c8(0x238),'EaMJr':_0x53e2c8(0x190)};if(_0x491527['UkdtG'](_0x1ee7c4,_0x491527[_0x53e2c8(0x1ee)]))return;const _0x3a6361=0x0,_0x242fd6=()=>{const _0x29555a=_0x53e2c8;return _0x491527[_0x29555a(0x208)](Array,_0x3a6361)[_0x29555a(0x223)]('\x20\x20');},{testSuites:_0x6b402,platforms:_0x41055c,totalTests:_0xcac4a9,testsFailed:_0x42dedf,testsPassed:_0x40f27f,testsPending:_0x5f4870}=_0x491527[_0x53e2c8(0x20e)](getStats,_0x763527);_0x491527[_0x53e2c8(0x230)](_0x42dedf,0x0)&&(logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x1e4)]),process[_0x53e2c8(0x20b)]=Math['min'](_0x42dedf,0xff));logger['debug'](_0x491527[_0x53e2c8(0x162)]);const _0x46549b=''+_0x491527['zHqqg'](chalk[_0x53e2c8(0x15d)](_0x491527[_0x53e2c8(0x18c)]),_0x41055c[_0x53e2c8(0x222)]),_0x55b8ed=''+_0x491527[_0x53e2c8(0x1cb)](chalk[_0x53e2c8(0x15d)](_0x491527[_0x53e2c8(0x1bc)]),_0x6b402),_0xd55b8d=''+_0x491527[_0x53e2c8(0x1cb)](_0x491527[_0x53e2c8(0x1cb)](_0x491527[_0x53e2c8(0x1c6)](chalk[_0x53e2c8(0x15d)](_0x491527['fOvVT']),_0x491527[_0x53e2c8(0x21a)](_0x42dedf,0x0)?chalk['bold'][_0x53e2c8(0x163)](_0x42dedf+_0x53e2c8(0x1cf))+',\x20':''),_0x491527[_0x53e2c8(0x230)](_0x5f4870,0x0)?chalk[_0x53e2c8(0x15d)]['yellow'](_0x5f4870+_0x53e2c8(0x183))+',\x20':''),_0x491527[_0x53e2c8(0x230)](_0x40f27f,0x0)?chalk[_0x53e2c8(0x15d)][_0x53e2c8(0x1e5)](_0x40f27f+'\x20passed')+',\x20':'')+_0xcac4a9+_0x53e2c8(0x1fd);console[_0x53e2c8(0x16c)](_0x491527[_0x53e2c8(0x1f4)](_0x491527['zHqqg'](_0x491527[_0x53e2c8(0x1d5)](_0x491527[_0x53e2c8(0x1f4)](_0x491527[_0x53e2c8(0x1cb)](_0x491527['BMeDV'],_0x46549b),'\x0a'),_0x55b8ed),'\x0a'),_0xd55b8d));if(_0x491527['XLJoE'](_0x1ee7c4,_0x491527[_0x53e2c8(0x209)])){const _0x3ed4fd={},_0x29aae2={};_0x29aae2[_0x53e2c8(0x1ea)]=_0x6b402,_0x29aae2['platforms']=_0x41055c,_0x29aae2['testsFailed']=_0x42dedf,_0x29aae2[_0x53e2c8(0x1fc)]=_0x40f27f,_0x29aae2[_0x53e2c8(0x16d)]=_0x5f4870,_0x3ed4fd['stats']=_0x29aae2,_0x41055c[_0x53e2c8(0x18e)](_0x14191f=>{const _0x52db05=_0x53e2c8,_0x304cfa={'AznUl':function(_0x27cba2,_0x3efc15){const _0x2391af=a28_0x15b3;return _0x491527[_0x2391af(0x198)](_0x27cba2,_0x3efc15);},'uqhqn':_0x491527[_0x52db05(0x226)],'ygiCO':_0x491527[_0x52db05(0x1c3)],'jiRAJ':function(_0x35e0dc,_0x387b47){const _0x429ccd=_0x52db05;return _0x491527[_0x429ccd(0x20e)](_0x35e0dc,_0x387b47);},'wGgPb':_0x491527[_0x52db05(0x22b)],'pwhUk':_0x491527[_0x52db05(0x181)],'xayIS':function(_0x47f40c,_0x4caa57){const _0x2b8313=_0x52db05;return _0x491527[_0x2b8313(0x203)](_0x47f40c,_0x4caa57);},'lWUsO':_0x491527[_0x52db05(0x234)],'WspQm':function(_0x129284,_0x3951ed){return _0x491527['kujIt'](_0x129284,_0x3951ed);}};_0x3ed4fd[_0x14191f]={'pending':[],'failures':[],'passes':[],'tests':_0x763527[_0x14191f][_0x491527[_0x52db05(0x1ef)]][_0x52db05(0x23f)](clean)},_0x763527[_0x14191f][_0x491527[_0x52db05(0x1ef)]][_0x52db05(0x18e)](_0x45bf76=>{const _0x2975a5=_0x52db05;if(_0x304cfa[_0x2975a5(0x1ce)](_0x45bf76[_0x2975a5(0x21d)],_0x304cfa[_0x2975a5(0x194)]))_0x3ed4fd[_0x14191f][_0x304cfa[_0x2975a5(0x23a)]][_0x2975a5(0x207)](_0x304cfa['jiRAJ'](clean,_0x45bf76));else _0x304cfa['AznUl'](_0x45bf76[_0x2975a5(0x21d)],_0x304cfa['wGgPb'])?_0x3ed4fd[_0x14191f][_0x304cfa['pwhUk']][_0x2975a5(0x207)](_0x304cfa[_0x2975a5(0x22a)](clean,_0x45bf76)):_0x3ed4fd[_0x14191f][_0x304cfa[_0x2975a5(0x1ed)]]['push'](_0x304cfa[_0x2975a5(0x19f)](clean,_0x45bf76));});});if(_0xd6bfe8[_0x53e2c8(0x166)])try{logger['debug'](_0x491527[_0x53e2c8(0x201)],_0xd6bfe8[_0x53e2c8(0x166)]),fs[_0x53e2c8(0x16e)](_0xd6bfe8[_0x53e2c8(0x166)],JSON[_0x53e2c8(0x189)](_0x3ed4fd,null,0x3));}catch(_0x545e30){logger['error'](_0x491527[_0x53e2c8(0x1e7)],_0xd6bfe8[_0x53e2c8(0x166)]),logger[_0x53e2c8(0x1d9)](_0x545e30);}else logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x170)]),console[_0x53e2c8(0x16c)](JSON[_0x53e2c8(0x189)](_0x3ed4fd,null,0x3));}else{if(_0x491527[_0x53e2c8(0x179)](_0x1ee7c4,_0x491527[_0x53e2c8(0x165)])){let _0x874edd;const _0x499c3c=_0x491527[_0x53e2c8(0x1ab)];_0xd6bfe8&&(_0x874edd=_0xd6bfe8[_0x53e2c8(0x225)]);_0x874edd=_0x491527['jAHKk'](_0x874edd,_0x499c3c);let _0xeb977b=0x0,_0x321b27=0x0,_0x3d450d=0x0,_0x3d5557=0x0;_0x41055c[_0x53e2c8(0x18e)](_0x28291f=>{const _0x295846=_0x53e2c8,_0xe915c5={'ndiZU':function(_0x364ebe,_0x4af802){const _0xbb1b27=a28_0x15b3;return _0x491527[_0xbb1b27(0x1b5)](_0x364ebe,_0x4af802);},'NczAA':_0x491527[_0x295846(0x226)],'RQrdQ':function(_0x52d701,_0x5aec8d){return _0x491527['hMlqN'](_0x52d701,_0x5aec8d);},'lEHtt':_0x491527['MTkHv'],'musgx':function(_0x55abed,_0x23fae9){return _0x491527['abnYK'](_0x55abed,_0x23fae9);}};_0x763527[_0x28291f][_0x491527['WDuCR']]['forEach'](_0x1691f4=>{const _0x3e9a5f=_0x295846;if(_0xe915c5[_0x3e9a5f(0x221)](_0x1691f4['state'],_0xe915c5['NczAA']))_0xeb977b++;else _0xe915c5[_0x3e9a5f(0x1f0)](_0x1691f4[_0x3e9a5f(0x21d)],_0xe915c5[_0x3e9a5f(0x1f1)])&&_0x321b27++;_0x3d450d++,_0x3d5557+=_0xe915c5[_0x3e9a5f(0x177)](_0x1691f4['duration'],0x1);});}),_0x491527[_0x53e2c8(0x17b)](xunitWrite,_0x491527[_0x53e2c8(0x180)](tag,_0x491527[_0x53e2c8(0x1a1)],{'name':_0x874edd,'tests':_0x3d450d,'failures':0x0,'errors':_0x321b27,'skipped':_0x491527[_0x53e2c8(0x215)](_0x491527[_0x53e2c8(0x20a)](_0x3d450d,_0x321b27),_0xeb977b),'timestamp':new Date()[_0x53e2c8(0x21e)](),'time':_0x491527[_0x53e2c8(0x1a0)](_0x3d5557,0x3e8)||0x0},![])),_0x41055c[_0x53e2c8(0x18e)](_0x4be855=>{const _0x12e7ef=_0x53e2c8;_0x763527[_0x4be855][_0x491527[_0x12e7ef(0x1ef)]][_0x12e7ef(0x18e)](_0x37a2d2=>{const _0xd67047=_0x12e7ef;_0x491527[_0xd67047(0x18b)](xunitTest,_0x37a2d2,_0x4be855);});}),_0x491527[_0x53e2c8(0x1d7)](xunitWrite,_0x491527[_0x53e2c8(0x1b0)]);if(_0xd6bfe8['output'])try{logger[_0x53e2c8(0x1d9)](_0x491527['tUSIn'],_0xd6bfe8[_0x53e2c8(0x166)]),fs[_0x53e2c8(0x16e)](_0xd6bfe8[_0x53e2c8(0x166)],xunitContent);}catch(_0x37403d){logger[_0x53e2c8(0x164)](_0x491527[_0x53e2c8(0x1a3)],_0xd6bfe8[_0x53e2c8(0x166)]),logger[_0x53e2c8(0x1d9)](_0x37403d);}else logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x1d4)]),console[_0x53e2c8(0x16c)](xunitContent);}else{if(_0x491527[_0x53e2c8(0x196)](_0x42dedf,0x0))return;console[_0x53e2c8(0x16c)](),logger['debug'](_0x491527[_0x53e2c8(0x241)]),console[_0x53e2c8(0x16c)](chalk[_0x53e2c8(0x15d)][_0x53e2c8(0x1f6)](_0x491527['EaMJr'])),_0x41055c[_0x53e2c8(0x18e)](_0x1441f2=>{const _0x41313e=_0x53e2c8,_0x51bf3e=[];_0x763527[_0x1441f2][_0x491527[_0x41313e(0x1ef)]][_0x41313e(0x18e)](_0x13cb4d=>{const _0x1dc954=_0x41313e;_0x491527[_0x1dc954(0x1e3)](_0x13cb4d[_0x1dc954(0x21d)],_0x491527['MTkHv'])&&(_0x13cb4d[_0x1dc954(0x1d8)]=()=>_0x13cb4d[_0x1dc954(0x197)],_0x51bf3e[_0x1dc954(0x207)](_0x13cb4d));}),_0x491527[_0x41313e(0x21a)](_0x51bf3e['length'],0x0)&&(Base['consoleLog'](),Base[_0x41313e(0x1f3)](_0x491527[_0x41313e(0x18a)](_0x242fd6),chalk[_0x41313e(0x15d)][_0x41313e(0x220)](_0x1441f2)),Base[_0x41313e(0x1c5)](_0x51bf3e));});}}}async function run(_0x5700bc,_0x5579d6){const _0x352466=a28_0x3bc820,_0x2e4c8f={'QEKYK':function(_0x1be44f,_0x4846ce,_0x4af8ca,_0xa70cc0){return _0x1be44f(_0x4846ce,_0x4af8ca,_0xa70cc0);},'hzyQK':'reporter-option','hicVN':_0x352466(0x184),'lijJZ':_0x352466(0x152),'chNSj':function(_0x14d3ca,_0x3a55f3,_0x2785e5,_0x2d0d26){return _0x14d3ca(_0x3a55f3,_0x2785e5,_0x2d0d26);},'Nzivz':_0x352466(0x1c1),'Akiso':_0x352466(0x1b9),'zyMMG':_0x352466(0x1db),'qqwWq':function(_0x44ff97,_0x53d911){return _0x44ff97!=_0x53d911;},'PKhqV':_0x352466(0x22c),'XGFLs':'mjs','jOlMa':_0x352466(0x1f2),'zdjcQ':'rerunTests','esxbO':function(_0x184153,_0x12393e){return _0x184153(_0x12393e);},'xgFrK':function(_0x9acd2e,_0xebc0fa,_0x34f34a){return _0x9acd2e(_0xebc0fa,_0x34f34a);},'nnvKL':_0x352466(0x24b),'rKnuq':'Running\x20your\x20mocha\x20tests','LsrqN':_0x352466(0x205),'DlBIb':function(_0x32adef,_0x21467f){return _0x32adef*_0x21467f;},'cxPRq':function(_0x4c7f8e,_0x11d543){return _0x4c7f8e(_0x11d543);},'FURTi':function(_0x46e6c1,_0x1e366c){return _0x46e6c1!==_0x1e366c;}};process[_0x352466(0x1b7)][_0x352466(0x1a2)](_0x2e4c8f[_0x352466(0x1d3)])&&(process[_0x352466(0x15c)][_0x352466(0x1f8)]=![]);process['argv'][_0x352466(0x1a2)](_0x2e4c8f[_0x352466(0x212)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x1de1b6=new BrowserStackSetup(_0x5700bc,_0x2e4c8f[_0x352466(0x168)]);helper[_0x352466(0x14d)](_0x1de1b6[_0x352466(0x1d1)],_0x5700bc);helper['isBrowserstackInfra']()?(await _0x1de1b6['initialize'](),await helper[_0x352466(0x1c2)](_0x1de1b6[_0x352466(0x159)])):await _0x1de1b6[_0x352466(0x1fe)]();const _0x1c6ff3=[];let _0x3211cb=[];if(!_0x1de1b6[_0x352466(0x159)])return;_0x2e4c8f[_0x352466(0x229)](_0x1de1b6['config'][_0x352466(0x216)],null)&&(process[_0x352466(0x15c)][_0x352466(0x248)]=_0x1de1b6[_0x352466(0x159)][_0x352466(0x216)]);!helper[_0x352466(0x1a7)](_0x1de1b6['config'][_0x352466(0x217)])&&(process[_0x352466(0x15c)][_0x352466(0x19e)]=_0x1de1b6[_0x352466(0x159)][_0x352466(0x217)]);!helper['isUndefined'](_0x1de1b6[_0x352466(0x159)][_0x352466(0x200)])&&(process[_0x352466(0x15c)][_0x352466(0x167)]=JSON['stringify'](_0x1de1b6[_0x352466(0x159)][_0x352466(0x200)]));const {extension:extension=['js',_0x2e4c8f[_0x352466(0x17d)],_0x2e4c8f[_0x352466(0x1aa)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2e4c8f[_0x352466(0x202)]]}=_0x5700bc,_0x58691a={..._0x5700bc};_0x58691a[_0x352466(0x1ac)]=null;const _0xc62c50=_0x58691a;let _0x45746f;if(testOpsHelper[_0x352466(0x1b8)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x535ebc=process[_0x352466(0x15c)][_0x352466(0x219)];!helper[_0x352466(0x1a7)](_0x1de1b6[_0x352466(0x171)])&&_0x1de1b6[_0x352466(0x171)][_0x352466(0x185)](_0x2e4c8f[_0x352466(0x15e)])&&(_0x535ebc=_0x1de1b6['cliConfig']['get'](_0x2e4c8f[_0x352466(0x15e)])),_0x45746f=testOpsHelper[_0x352466(0x146)](_0x535ebc);}if(helper[_0x352466(0x1a7)](_0x45746f)){const _0x291fe1={};_0x291fe1['ignore']=ignore,_0x291fe1[_0x352466(0x20c)]=extension,_0x291fe1['file']=file,_0x291fe1[_0x352466(0x1e0)]=recursive,_0x291fe1[_0x352466(0x151)]=sort,_0x291fe1[_0x352466(0x1d0)]=spec,_0x45746f=_0x2e4c8f[_0x352466(0x14e)](collectFiles,_0x291fe1),_0x2e4c8f[_0x352466(0x156)](nestedKeyValue,_0x45746f,[_0x2e4c8f[_0x352466(0x20d)]])&&(_0x45746f=_0x45746f[_0x352466(0x24b)]);}if(!helper[_0x352466(0x224)]()){const _0xc4926=0x1,_0xbb5fe6={..._0xc62c50};_0xbb5fe6[_0x352466(0x1d0)]=[..._0x45746f],_0x1c6ff3['push']({'mochaOpts':_0xbb5fe6,'configuration':{'platform':os['platform']()}}),logger['info'](_0x2e4c8f[_0x352466(0x1ba)]),logger[_0x352466(0x22e)](_0x2e4c8f['LsrqN']),_0x2e4c8f['QEKYK'](parallelTestRun,_0x1c6ff3,_0xc4926,_0x1de1b6)[_0x352466(0x14c)](_0x1230fb=>{const _0x1d5510=_0x352466;PerformanceTester[_0x1d5510(0x169)](PerformanceEvents[_0x1d5510(0x178)]),_0x2e4c8f[_0x1d5510(0x20f)](printStats,_0x1230fb,_0x5700bc[_0x1d5510(0x1e1)],_0x5700bc[_0x1d5510(0x23d)]||_0x5700bc[_0x2e4c8f[_0x1d5510(0x232)]]);})[_0x352466(0x191)](()=>{const _0x193bbd=_0x352466;PerformanceTester[_0x193bbd(0x169)](PerformanceEvents[_0x193bbd(0x178)]);try{const {browserstackFolderPath:_0x5be83a,tcgConfigPath:_0x8c73fe}=helper[_0x193bbd(0x23c)]();fs['unlinkSync'](_0x8c73fe),fs[_0x193bbd(0x161)](_0x5be83a);}catch(_0x23f541){logger[_0x193bbd(0x1d9)](_0x2e4c8f[_0x193bbd(0x1bf)],_0x23f541);}try{utilities[_0x193bbd(0x1a9)](_0x2e4c8f['lijJZ'],{},_0x1de1b6[_0x193bbd(0x159)],_0x1de1b6['framework']);}catch(_0x2b18ac){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x2b18ac[_0x193bbd(0x22f)]);}try{helper[_0x193bbd(0x23e)]();}catch(_0x407633){logger[_0x193bbd(0x1d9)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x407633);}testOpsHelper['printBuildLink']();});}else{const _0x236f7a=helper[_0x352466(0x239)](_0x1de1b6['config']);let _0x23e100=helper[_0x352466(0x16a)](_0x1de1b6['config']);_0x3211cb=helper[_0x352466(0x199)](_0x1de1b6[_0x352466(0x159)],_0x236f7a,constants[_0x352466(0x1bd)][_0x352466(0x1d2)]);helper[_0x352466(0x237)]()[_0x352466(0x1b3)]&&(_0x23e100=centralScannerConstants[_0x352466(0x16f)]);let _0x4d3fca;const _0x5e8ac7=_0x1de1b6[_0x352466(0x159)]['parallelsPerPlatform']||helper[_0x352466(0x16b)](_0x5700bc,_0x5579d6,_0x1de1b6[_0x352466(0x159)],constants[_0x352466(0x1bd)][_0x352466(0x1d2)])||0x1;helper[_0x352466(0x19a)](_0x1de1b6[_0x352466(0x159)])?_0x4d3fca=_0x2e4c8f[_0x352466(0x240)](_0x1de1b6['config']['platforms']['length'],_0x5e8ac7):_0x4d3fca=_0x5e8ac7;const _0x144ec5=_0x2e4c8f[_0x352466(0x1ff)](getPercyOptions,_0x1de1b6[_0x352466(0x159)]);if(_0x2e4c8f['FURTi'](_0x1de1b6['config'][_0x352466(0x15a)],0x1))_0x45746f[_0x352466(0x18e)](_0x4ae257=>{const _0x3b24b3=_0x352466,_0x32014b=[];_0x3211cb[_0x3b24b3(0x18e)]((_0x522c8a,_0x4f5d05)=>{const _0x18039f=_0x3b24b3,_0x62b84f={};_0x62b84f[_0x18039f(0x1d0)]=[_0x4ae257],_0x32014b[_0x18039f(0x207)]({'mochaOpts':Object['assign']({},_0xc62c50,_0x62b84f),'configuration':{'server':_0x23e100,'capability':_0x522c8a,'proxySettings':_0x1de1b6[_0x18039f(0x159)]['proxySettings'],'platform':helper[_0x18039f(0x1f5)](_0x522c8a),'browserStackLogLevel':_0x1de1b6[_0x18039f(0x159)][_0x18039f(0x182)],'platformIndex':_0x4f5d05,'browserStackPercyOptions':_0x144ec5,'platformCaps':Object['assign']({'index':_0x4f5d05},_0x1de1b6[_0x18039f(0x159)][_0x18039f(0x1e6)][_0x4f5d05])}});}),_0x1c6ff3['push'](..._0x32014b);});else{const _0x5089ac=[];_0x3211cb[_0x352466(0x18e)]((_0x127b52,_0x413557)=>{const _0x200ae1=_0x352466;let _0x44cce9=Object['assign']({},_0xc62c50);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x200ae1(0x175)]()&&(_0x44cce9={..._0x44cce9,'spec':[..._0x45746f]}),_0x5089ac[_0x200ae1(0x207)]({'mochaOpts':_0x44cce9,'configuration':{'server':_0x23e100,'capability':_0x127b52,'proxySettings':_0x1de1b6[_0x200ae1(0x159)]['proxySettings'],'platform':helper[_0x200ae1(0x1f5)](_0x127b52),'browserStackLogLevel':_0x1de1b6[_0x200ae1(0x159)]['logLevel'],'platformIndex':_0x413557,'browserStackPercyOptions':_0x144ec5,'platformCaps':Object['assign']({'index':_0x413557},_0x1de1b6[_0x200ae1(0x159)][_0x200ae1(0x1e6)][_0x413557])}});}),_0x1c6ff3[_0x352466(0x207)](..._0x5089ac);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x1de1b6['config'][_0x352466(0x1e6)][_0x352466(0x222)]+'\x20platforms'),logger[_0x352466(0x22e)](_0x2e4c8f[_0x352466(0x204)]);let _0xb80ca7;_0x2e4c8f[_0x352466(0x1cc)](parallelTestRun,_0x1c6ff3,_0x4d3fca,_0x1de1b6)['then'](_0x398991=>{const _0x2f2462=_0x352466;PerformanceTester[_0x2f2462(0x169)](PerformanceEvents[_0x2f2462(0x178)]),_0xb80ca7=_0x398991,_0x2e4c8f[_0x2f2462(0x1cc)](printStats,_0x398991,_0x5700bc['reporter'],_0x5700bc[_0x2f2462(0x23d)]||_0x5700bc[_0x2e4c8f[_0x2f2462(0x232)]]);})['finally'](async()=>{const _0x288646=_0x352466;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x1de1b6[_0x288646(0x154)]=helper['getErrorMessageFromResults'](_0xb80ca7,_0x2e4c8f[_0x288646(0x168)]),await utilities[_0x288646(0x153)](_0x1de1b6),testOpsHelper[_0x288646(0x210)]();});}}module['exports']=run;
|
|
2
|
+
'use strict';const a28_0x3196fe=a28_0x433e;function a28_0x1cb3(){const _0x5ee99f=['6fEhskP','stringify','mjs','xAzMD','\x0a\x0a\x0a','xszbr','exitCode','debug','AWZVw','ozFdv','push','\x20total','reporter-option','useW3C','aQhKi','BROWSERSTACK_AUTOMATION','rFEVL','NBUVu','\x20skipped','72zAoblJ','gZFuS','JdycI','bold','agdrv','argv','shouldReRunObservabilityTests','titlePathV','--disable-browserstack-automation','map','51739ZiIMLY','err','10VYHBSm','KXOWr','keys','stats','handleApp','parallelsPerPlatform','failures','uzDgo','NpeYA','getUserWorkerCount','fffBF','afutd','trFCl','LEkTo','mocha/lib/reporters/base.js','yellow','HcDve','HFqUm','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Nymee','state','rootHooks','bgRedBright','testObservability','generateDiff','call','getPlatformName','JKaBM','env','TkZoj','title','Couldn\x27t\x20write\x20xunit\x20result\x20to','list','Oyhiv','cWWTX','testSuites','green','FFzTz','\x20passed','JRLSk','testcase','testsPassed','getErrorMessageFromResults','join','SpeDl','fWAfx','../../helpers/BrowserStackSetup','files','setUserConfigPath','OXzbR','NXRPM','titlePath','spec','nFLxN','error\x20removing\x20tcg\x20config\x20file','useColors','mocha','GWxkQ','VMyhD','accessibility','message','3075665RCkDkL','finally','rerunTests','cjs','failure','PxnHO','moruk','25217964Bzkfjw','uqmnE','prepareCapabilities','YgnlW','../../helpers/percy/utils','proxySettings','showDiff','\x20failed','RVLtZ','file','Total\x20Suites:\x20','nGPAJ','logLevel','consoleLog','output','fullTitle','lUCsw','Writing\x20xunit\x20result\x20to\x20file','okuYf','ulorE','Couldn\x27t\x20write\x20json\x20result\x20to','3876509iTeMih','wCnfp','****\x20FAILURES\x20****','Mocha\x20Tests','has','nIHQj','2WcmdHn','writeFileSync','Cauvm','kVfMP','config','QwMys','GWBuy','actual','error','includes','passes','DPKUi','QJMVt','testsPending','BROWSERSTACK_TEST_ACCESSIBILITY_YML','errorMessage','pLeNS','stack','ZtTNd','info','sfzwP','VFunB','suiteName','288046DLQpZy','printBuildLink','</testsuite>','cliConfig','DYMXn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','framework','speed','BROWSERSTACK_GRR_US_HUB_URL','LrmMh','reporter','ufzec','../utils/constants','vmIpi','rbnLh','Listing\x20all\x20the\x20failures','EVENTS','reporterOptions','isUndefined','getCentralUser','mUjGh','../../helpers/test-observability/utils','extension','xdiKa','doc','DIKwn','ivJoh','json','../../helpers/performance/performance-tester','hCmnm','passed','bgBlueBright','jTrDV','IctsR','ignore','fireFunnelTestEvent','PWgul','IiOxl','vNkDK','xunit','pOaHl','488ykTiXf','totalTests','isBrowserstackInfra','uIAAC','testsFailed','HvmHR','--disable-test-observability','EZTHN','pending','recursive','isTestObservabilitySession','abWmT','hMhPg','SDK_CLEANUP','ZuzgK','log','failed','jhfPL','UOjPO','assign','central_scanner','accessibilityOptions','length','aVeUJ','SDKTestSuccessful','VpyBj','parse','test','BNgyG','Now,\x20showing\x20logs\x20from\x20mocha','BROWSERSTACK_TEST_OBSERVABILITY','152433gfjneZ','SqgNb','iXfaE','duration','Writing\x20json\x20result\x20to\x20file','parseFileNames','tyLiR','expected','aCjNX','kyKVQ','notifyUpdate','YMOeT','forEach','object','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','NbURM','MOCHA','ISdcv','rmdirSync','start','platforms','iablB','validPlatformsPresent','../../helpers/helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','sFkfY','eYnxD','JwquI','BKugS','JtINK','104298epXpiy','SxZWk','../../helpers/utilities','prototype','isPending','results','bXtup','getHubUrl','LEOrx','Setting\x20non\x20exit\x20code\x20for\x20failures','kdLmV','QCGii','finalExecution'];a28_0x1cb3=function(){return _0x5ee99f;};return a28_0x1cb3();}(function(_0x5f3154,_0x28b989){const _0x404357=a28_0x433e,_0x3f9edc=_0x5f3154();while(!![]){try{const _0x397fad=-parseInt(_0x404357(0x10a))/0x1*(parseInt(_0x404357(0x16b))/0x2)+parseInt(_0x404357(0xe0))/0x3*(parseInt(_0x404357(0x100))/0x4)+parseInt(_0x404357(0x149))/0x5+parseInt(_0x404357(0xed))/0x6*(parseInt(_0x404357(0x165))/0x7)+parseInt(_0x404357(0x1ab))/0x8*(parseInt(_0x404357(0x1ca))/0x9)+parseInt(_0x404357(0x10c))/0xa*(parseInt(_0x404357(0x182))/0xb)+-parseInt(_0x404357(0x150))/0xc;if(_0x397fad===_0x28b989)break;else _0x3f9edc['push'](_0x3f9edc['shift']());}catch(_0x2ddfdd){_0x3f9edc['push'](_0x3f9edc['shift']());}}}(a28_0x1cb3,0xab18f));const chalk=require('chalk'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x3196fe(0x13a)),helper=require(a28_0x3196fe(0xd9)),utilities=require(a28_0x3196fe(0xe2)),testOpsHelper=require(a28_0x3196fe(0x197)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x3196fe(0xd9)),{getPercyOptions}=require(a28_0x3196fe(0x154)),Base=requireModule(a28_0x3196fe(0x11a),'mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x3196fe(0x144)),constants=require(a28_0x3196fe(0x18e)),PerformanceTester=require(a28_0x3196fe(0x19e)),PerformanceEvents=require('../../helpers/performance/constants')[a28_0x3196fe(0x192)],centralScannerConstants=require('../../helpers/central-scanner/constants');function tag(_0x5e505f,_0x28f0a3,_0x3c9cc4,_0x1a756d){const _0x264a89=a28_0x3196fe,_0x435de0={'ZtTNd':function(_0x1fea78,_0x7b66){return _0x1fea78+_0x7b66;},'UJrbb':function(_0x3fc596,_0x2c1d85){return _0x3fc596(_0x2c1d85);},'mUjGh':function(_0x2c8f49,_0x1eff6a){return _0x2c8f49+_0x1eff6a;},'QCGii':function(_0x2cd55a,_0x31d24c){return _0x2cd55a+_0x31d24c;},'VIykt':function(_0x583836,_0x19e530){return _0x583836+_0x19e530;}},_0x19389e=_0x3c9cc4?'/>':'>',_0x3ef520=[];let _0x20987e;for(const _0x46b135 in _0x28f0a3){Object[_0x264a89(0xe3)]['hasOwnProperty'][_0x264a89(0x125)](_0x28f0a3,_0x46b135)&&_0x3ef520['push'](_0x435de0[_0x264a89(0x17d)](_0x435de0[_0x264a89(0x17d)](_0x435de0[_0x264a89(0x17d)](_0x46b135,'=\x22'),_0x435de0['UJrbb'](escape,_0x28f0a3[_0x46b135])),'\x22'));}return _0x20987e=_0x435de0[_0x264a89(0x196)](_0x435de0['QCGii'](_0x435de0['ZtTNd']('<',_0x5e505f),_0x3ef520[_0x264a89(0x1c1)]?_0x435de0[_0x264a89(0x196)]('\x20',_0x3ef520['join']('\x20')):''),_0x19389e),_0x1a756d&&(_0x20987e+=_0x435de0['VIykt'](_0x435de0['mUjGh'](_0x435de0[_0x264a89(0xeb)](_0x1a756d,'</'),_0x5e505f),_0x19389e)),_0x20987e;}let xunitContent='';function xunitWrite(_0x428a63){xunitContent+=_0x428a63;}function xunitTest(_0x20d850,_0x1e5a6f){const _0x4d3d84=a28_0x3196fe,_0x186019={'EJcjz':function(_0x2b04d6,_0x51c8d2){return _0x2b04d6/_0x51c8d2;},'hMhPg':function(_0x2a76e5,_0xe71542){return _0x2a76e5===_0xe71542;},'IDBiR':_0x4d3d84(0x1bb),'xAzMD':function(_0x437ab5,_0x45dcc4){return _0x437ab5+_0x45dcc4;},'TkZoj':function(_0x48e499,_0xf0b9b9){return _0x48e499(_0xf0b9b9);},'moruk':function(_0xf87181,_0x3d8c33,_0x72733a,_0x3243cb,_0x1ee164){return _0xf87181(_0x3d8c33,_0x72733a,_0x3243cb,_0x1ee164);},'cWWTX':_0x4d3d84(0x134),'sFkfY':function(_0x18cb78,_0x239db3,_0x4d6e87,_0x41ac82,_0x44f54e){return _0x18cb78(_0x239db3,_0x4d6e87,_0x41ac82,_0x44f54e);},'Wurfd':_0x4d3d84(0x14d),'trFCl':function(_0x22ee53,_0x33f342){return _0x22ee53+_0x33f342;},'VzhJD':function(_0x12da1d,_0x4d4055){return _0x12da1d+_0x4d4055;},'OXzbR':function(_0x29aeff,_0x1e8e55){return _0x29aeff(_0x1e8e55);},'fffBF':function(_0x19d61c,_0x386cbd){return _0x19d61c(_0x386cbd);},'NKrxP':function(_0x10b93e,_0x433f9d){return _0x10b93e(_0x433f9d);},'ozFdv':function(_0x465e42,_0x29c84e){return _0x465e42(_0x29c84e);},'xdiKa':function(_0x18a79b,_0x528294,_0x4a1ef4,_0x138585){return _0x18a79b(_0x528294,_0x4a1ef4,_0x138585);},'ufzec':'skipped'};Base[_0x4d3d84(0x143)]=![];var _0x3523fe={'classname':_0x20d850['fullTitle'],'name':_0x20d850[_0x4d3d84(0x12a)],'time':_0x186019['EJcjz'](_0x20d850[_0x4d3d84(0x1cd)],0x3e8)||0x0,'platform':_0x1e5a6f};if(_0x186019[_0x4d3d84(0x1b7)](_0x20d850['state'],_0x186019['IDBiR'])){var _0x171c8f=_0x20d850[_0x4d3d84(0x10b)],_0x1d7bb6=!Base['hideDiff']&&Base[_0x4d3d84(0x156)](_0x171c8f)?_0x186019['xAzMD']('\x0a',Base[_0x4d3d84(0x124)](_0x171c8f[_0x4d3d84(0x172)],_0x171c8f[_0x4d3d84(0x1d1)])):'';_0x186019[_0x4d3d84(0x129)](xunitWrite,_0x186019[_0x4d3d84(0x14f)](tag,_0x186019['cWWTX'],_0x3523fe,![],_0x186019[_0x4d3d84(0xdb)](tag,_0x186019['Wurfd'],{},![],_0x186019[_0x4d3d84(0x118)](_0x186019['VzhJD'](_0x186019[_0x4d3d84(0xf0)](_0x186019[_0x4d3d84(0x13d)](escape,_0x171c8f[_0x4d3d84(0x148)]),_0x186019[_0x4d3d84(0x116)](escape,_0x1d7bb6)),'\x0a'),_0x186019['NKrxP'](escape,_0x171c8f['stack'])))));}else _0x20d850[_0x4d3d84(0xe4)]?_0x186019[_0x4d3d84(0xf6)](xunitWrite,_0x186019[_0x4d3d84(0x14f)](tag,_0x186019[_0x4d3d84(0x12e)],_0x3523fe,![],_0x186019[_0x4d3d84(0x199)](tag,_0x186019[_0x4d3d84(0x18d)],{},!![]))):_0x186019[_0x4d3d84(0xf6)](xunitWrite,_0x186019[_0x4d3d84(0x199)](tag,_0x186019[_0x4d3d84(0x12e)],_0x3523fe,!![]));};function getStats(_0x39a684){const _0x13742f=a28_0x3196fe,_0x4a1da3={};_0x4a1da3[_0x13742f(0x153)]='suite',_0x4a1da3[_0x13742f(0x18b)]=_0x13742f(0x1a0),_0x4a1da3[_0x13742f(0x141)]=_0x13742f(0x1bb),_0x4a1da3['PxnHO']=_0x13742f(0xe5);const _0x59452d=_0x4a1da3,_0x960f16=Object[_0x13742f(0x10e)](_0x39a684);let _0x2e61dd=0x0,_0x2d9e12=0x0,_0x5cc7b0=0x0,_0x4b73bf=0x0;const _0x26d4c2=new Set();_0x960f16[_0x13742f(0x1d6)](_0xe5ed83=>{const _0x298648=_0x13742f,_0x238ac7={};_0x238ac7['ISdcv']=_0x59452d['YgnlW'],_0x238ac7[_0x298648(0x1bc)]=_0x59452d[_0x298648(0x18b)],_0x238ac7[_0x298648(0x1cb)]=_0x59452d[_0x298648(0x141)];const _0x1b2393=_0x238ac7;_0x39a684[_0xe5ed83][_0x59452d[_0x298648(0x14e)]][_0x298648(0x1d6)](_0x3b0ab7=>{const _0x4f17a3=_0x298648;_0x26d4c2['add'](_0x3b0ab7[_0x1b2393[_0x4f17a3(0x1db)]]),_0x2e61dd++;switch(_0x3b0ab7['state']){case _0x1b2393[_0x4f17a3(0x1bc)]:_0x5cc7b0++;break;case _0x1b2393[_0x4f17a3(0x1cb)]:_0x2d9e12++;break;default:_0x4b73bf++;}});});const _0x5a4410={};return _0x5a4410[_0x13742f(0x12f)]=_0x26d4c2['size'],_0x5a4410['platforms']=_0x960f16,_0x5a4410[_0x13742f(0x1ac)]=_0x2e61dd,_0x5a4410[_0x13742f(0x1af)]=_0x2d9e12,_0x5a4410[_0x13742f(0x135)]=_0x5cc7b0,_0x5a4410[_0x13742f(0x178)]=_0x4b73bf,_0x5a4410;}function errorJSON(_0x284877){const _0x3a1626=a28_0x3196fe;var _0x4c3783={};return Object['getOwnPropertyNames'](_0x284877)[_0x3a1626(0x1d6)](function(_0x449ceb){_0x4c3783[_0x449ceb]=_0x284877[_0x449ceb];},_0x284877),_0x4c3783;}function cleanCycles(_0xae77a9){const _0x4c04b0=a28_0x3196fe,_0x50ffca={};_0x50ffca[_0x4c04b0(0x186)]=function(_0x3aa208,_0x43a406){return _0x3aa208===_0x43a406;},_0x50ffca[_0x4c04b0(0x146)]=_0x4c04b0(0x1d7),_0x50ffca[_0x4c04b0(0x16a)]=function(_0x4d3895,_0x304b60){return _0x4d3895!==_0x304b60;},_0x50ffca['ivJoh']=function(_0x24707c,_0x23f094){return _0x24707c+_0x23f094;};const _0x1aa639=_0x50ffca;var _0x22059a=[];return JSON[_0x4c04b0(0x1c5)](JSON[_0x4c04b0(0xee)](_0xae77a9,function(_0x5e0856,_0x2c5c6e){const _0x4f7a19=_0x4c04b0;if(_0x1aa639[_0x4f7a19(0x186)](typeof _0x2c5c6e,_0x1aa639[_0x4f7a19(0x146)])&&_0x1aa639['nIHQj'](_0x2c5c6e,null)){if(_0x1aa639['nIHQj'](_0x22059a['indexOf'](_0x2c5c6e),-0x1))return _0x1aa639[_0x4f7a19(0x19c)]('',_0x2c5c6e);_0x22059a[_0x4f7a19(0xf7)](_0x2c5c6e);}return _0x2c5c6e;}));}function clean(_0x5253de){const _0x4fc298=a28_0x3196fe,_0x2ed836={'ZZoWI':function(_0x175b31,_0x47da7a){return _0x175b31 instanceof _0x47da7a;},'aVeUJ':function(_0x11a8e4,_0x5e49fe){return _0x11a8e4(_0x5e49fe);},'fWAfx':function(_0x59b2dc,_0x50e375){return _0x59b2dc(_0x50e375);}};var _0x58519e=_0x5253de[_0x4fc298(0x10b)]||{};return _0x2ed836['ZZoWI'](_0x58519e,Error)&&(_0x58519e=_0x2ed836[_0x4fc298(0x1c2)](errorJSON,_0x58519e)),{'title':_0x5253de[_0x4fc298(0x12a)],'fullTitle':_0x5253de[_0x4fc298(0x15f)],'file':_0x5253de['file'],'duration':_0x5253de[_0x4fc298(0x1cd)],'currentRetry':_0x5253de['currentRetry'],'speed':_0x5253de[_0x4fc298(0x189)],'err':_0x2ed836[_0x4fc298(0x139)](cleanCycles,_0x58519e)};}function printStats(_0x543c9f,_0x432ed2=a28_0x3196fe(0x140),_0x3cfc8c={}){const _0x2d87c5=a28_0x3196fe,_0x41c06e={'UOjPO':function(_0x560a3a,_0x311d25){return _0x560a3a(_0x311d25);},'GWBuy':function(_0x1f95f7,_0x3891f8){return _0x1f95f7===_0x3891f8;},'LEkTo':_0x2d87c5(0x1a0),'JIqAD':_0x2d87c5(0x175),'lUCsw':_0x2d87c5(0x1bb),'BSrNE':_0x2d87c5(0x112),'uzDgo':function(_0x5bbdcd,_0x46c379){return _0x5bbdcd(_0x46c379);},'nGPAJ':_0x2d87c5(0x1b3),'agdrv':_0x2d87c5(0xe5),'JtINK':function(_0x11ddf1,_0x36a241){return _0x11ddf1===_0x36a241;},'DnGbl':function(_0x1de616,_0x1ffd9f){return _0x1de616*_0x1ffd9f;},'CJEHd':function(_0x388884,_0x2c8a7f,_0x5f5d49){return _0x388884(_0x2c8a7f,_0x5f5d49);},'YMOeT':function(_0x1d016e,_0x4f4034){return _0x1d016e>_0x4f4034;},'SxZWk':function(_0xe5c9b6){return _0xe5c9b6();},'Kurmu':function(_0x478931,_0x380b1a){return _0x478931===_0x380b1a;},'QwMys':_0x2d87c5(0x19a),'JdycI':function(_0x1a44a7,_0x5b29cc){return _0x1a44a7(_0x5b29cc);},'tyLiR':function(_0x2ae2e9,_0x40bd4b){return _0x2ae2e9>_0x40bd4b;},'RVLtZ':_0x2d87c5(0xe9),'ZNLmv':'Printing\x20stats\x20of\x20tests','kVfMP':function(_0xed073e,_0x557b47){return _0xed073e+_0x557b47;},'eYnxD':'Total\x20Platforms:\x20','qMlZj':_0x2d87c5(0x15a),'rbnLh':function(_0x3322de,_0x46f408){return _0x3322de+_0x46f408;},'KXOWr':function(_0xf96eb4,_0x2c43a5){return _0xf96eb4+_0x2c43a5;},'DIKwn':function(_0x6a6a84,_0x365b36){return _0x6a6a84+_0x365b36;},'Oyhiv':'Tests:\x20\x20\x20\x20\x20\x20\x20','PWgul':function(_0xf2325b,_0x5b8479){return _0xf2325b>_0x5b8479;},'uIAAC':function(_0x20c4b5,_0x187515){return _0x20c4b5+_0x187515;},'kdLmV':function(_0x174156,_0x117b24){return _0x174156+_0x117b24;},'VpyBj':function(_0x151876,_0x20ce91){return _0x151876+_0x20ce91;},'EZTHN':_0x2d87c5(0xf1),'eLTDf':_0x2d87c5(0x19d),'ZuzgK':_0x2d87c5(0x1ce),'aQhKi':_0x2d87c5(0x164),'wJjjf':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','HvmHR':function(_0x270061,_0x559279){return _0x270061===_0x559279;},'Nymee':_0x2d87c5(0x1a9),'DPKUi':_0x2d87c5(0x168),'SpeDl':function(_0x3d8c90,_0x6a546){return _0x3d8c90||_0x6a546;},'bKlTE':function(_0x2b07ba,_0x2ad64e){return _0x2b07ba(_0x2ad64e);},'afutd':function(_0x60878,_0x44de06,_0xc602,_0x38b7f1){return _0x60878(_0x44de06,_0xc602,_0x38b7f1);},'Cauvm':'testsuite','FFzTz':function(_0x769558,_0x4af359){return _0x769558-_0x4af359;},'HcDve':function(_0x148c90,_0x495f40){return _0x148c90-_0x495f40;},'XkCmG':function(_0x427a5e,_0x272cc9){return _0x427a5e/_0x272cc9;},'pOaHl':_0x2d87c5(0x184),'pLeNS':_0x2d87c5(0x161),'JRLSk':_0x2d87c5(0x12b),'EtVzY':_0x2d87c5(0x1d8),'HFqUm':function(_0xbf562c,_0x282b7d){return _0xbf562c===_0x282b7d;},'gZFuS':_0x2d87c5(0x191),'vNkDK':_0x2d87c5(0x167)};if(_0x41c06e['Kurmu'](_0x432ed2,_0x41c06e[_0x2d87c5(0x170)]))return;const _0x274c01=0x0,_0x153c5b=()=>{const _0x3a1774=_0x2d87c5;return _0x41c06e[_0x3a1774(0x1bd)](Array,_0x274c01)[_0x3a1774(0x137)]('\x20\x20');},{testSuites:_0x4289cc,platforms:_0xbd09fe,totalTests:_0x3c8724,testsFailed:_0x4d4a99,testsPassed:_0x5a4f5b,testsPending:_0x13f2e4}=_0x41c06e[_0x2d87c5(0x102)](getStats,_0x543c9f);_0x41c06e[_0x2d87c5(0x1d0)](_0x4d4a99,0x0)&&(logger[_0x2d87c5(0xf4)](_0x41c06e[_0x2d87c5(0x158)]),process[_0x2d87c5(0xf3)]=Math['min'](_0x4d4a99,0xff));logger[_0x2d87c5(0xf4)](_0x41c06e['ZNLmv']);const _0x5ba61f=''+_0x41c06e['kVfMP'](chalk['bold'](_0x41c06e[_0x2d87c5(0xdc)]),_0xbd09fe['length']),_0x4afa8d=''+_0x41c06e[_0x2d87c5(0x16e)](chalk['bold'](_0x41c06e['qMlZj']),_0x4289cc),_0x55e1d4=''+_0x41c06e[_0x2d87c5(0x190)](_0x41c06e[_0x2d87c5(0x10d)](_0x41c06e[_0x2d87c5(0x19b)](chalk[_0x2d87c5(0x103)](_0x41c06e[_0x2d87c5(0x12d)]),_0x41c06e[_0x2d87c5(0x1d0)](_0x4d4a99,0x0)?chalk[_0x2d87c5(0x103)]['red'](_0x4d4a99+_0x2d87c5(0x157))+',\x20':''),_0x41c06e[_0x2d87c5(0x1d5)](_0x13f2e4,0x0)?chalk[_0x2d87c5(0x103)][_0x2d87c5(0x11b)](_0x13f2e4+_0x2d87c5(0xff))+',\x20':''),_0x41c06e[_0x2d87c5(0x1a6)](_0x5a4f5b,0x0)?chalk[_0x2d87c5(0x103)][_0x2d87c5(0x130)](_0x5a4f5b+_0x2d87c5(0x132))+',\x20':'')+_0x3c8724+_0x2d87c5(0xf8);console['log'](_0x41c06e['KXOWr'](_0x41c06e[_0x2d87c5(0x1ae)](_0x41c06e[_0x2d87c5(0x190)](_0x41c06e[_0x2d87c5(0xea)](_0x41c06e[_0x2d87c5(0x1c4)](_0x41c06e[_0x2d87c5(0x1b2)],_0x5ba61f),'\x0a'),_0x4afa8d),'\x0a'),_0x55e1d4));if(_0x41c06e['Kurmu'](_0x432ed2,_0x41c06e['eLTDf'])){const _0x51e12f={},_0x4dad06={};_0x4dad06['testSuites']=_0x4289cc,_0x4dad06[_0x2d87c5(0xd6)]=_0xbd09fe,_0x4dad06['testsFailed']=_0x4d4a99,_0x4dad06[_0x2d87c5(0x135)]=_0x5a4f5b,_0x4dad06[_0x2d87c5(0x178)]=_0x13f2e4,_0x51e12f[_0x2d87c5(0x10f)]=_0x4dad06,_0xbd09fe['forEach'](_0x20ee9c=>{const _0x47f0c7=_0x2d87c5,_0x44bfdd={'bXtup':function(_0x21bc1c,_0x5f02f8){const _0x34788f=a28_0x433e;return _0x41c06e[_0x34788f(0x171)](_0x21bc1c,_0x5f02f8);},'hwnaE':_0x41c06e['LEkTo'],'jTrDV':_0x41c06e['JIqAD'],'kyKVQ':function(_0x55805c,_0x45a7d2){const _0x58ba9d=a28_0x433e;return _0x41c06e[_0x58ba9d(0x1bd)](_0x55805c,_0x45a7d2);},'hCmnm':function(_0x2ea7ec,_0x424e90){const _0x5ca72a=a28_0x433e;return _0x41c06e[_0x5ca72a(0x171)](_0x2ea7ec,_0x424e90);},'IiOxl':_0x41c06e[_0x47f0c7(0x160)],'NBUVu':_0x41c06e['BSrNE'],'sfzwP':function(_0x4b335d,_0x17d8c1){const _0x5c9891=_0x47f0c7;return _0x41c06e[_0x5c9891(0x113)](_0x4b335d,_0x17d8c1);},'ulorE':_0x41c06e[_0x47f0c7(0x15b)]};_0x51e12f[_0x20ee9c]={'pending':[],'failures':[],'passes':[],'tests':_0x543c9f[_0x20ee9c][_0x41c06e[_0x47f0c7(0x104)]][_0x47f0c7(0x109)](clean)},_0x543c9f[_0x20ee9c][_0x41c06e[_0x47f0c7(0x104)]]['forEach'](_0x1bc07e=>{const _0xe5d1d1=_0x47f0c7;if(_0x44bfdd[_0xe5d1d1(0xe6)](_0x1bc07e[_0xe5d1d1(0x120)],_0x44bfdd['hwnaE']))_0x51e12f[_0x20ee9c][_0x44bfdd[_0xe5d1d1(0x1a2)]][_0xe5d1d1(0xf7)](_0x44bfdd[_0xe5d1d1(0x1d3)](clean,_0x1bc07e));else _0x44bfdd[_0xe5d1d1(0x19f)](_0x1bc07e['state'],_0x44bfdd[_0xe5d1d1(0x1a7)])?_0x51e12f[_0x20ee9c][_0x44bfdd[_0xe5d1d1(0xfe)]][_0xe5d1d1(0xf7)](_0x44bfdd[_0xe5d1d1(0x17f)](clean,_0x1bc07e)):_0x51e12f[_0x20ee9c][_0x44bfdd[_0xe5d1d1(0x163)]][_0xe5d1d1(0xf7)](_0x44bfdd[_0xe5d1d1(0x17f)](clean,_0x1bc07e));});});if(_0x3cfc8c[_0x2d87c5(0x15e)])try{logger['debug'](_0x41c06e[_0x2d87c5(0x1b9)],_0x3cfc8c[_0x2d87c5(0x15e)]),fs[_0x2d87c5(0x16c)](_0x3cfc8c[_0x2d87c5(0x15e)],JSON[_0x2d87c5(0xee)](_0x51e12f,null,0x3));}catch(_0x78a96b){logger['error'](_0x41c06e[_0x2d87c5(0xfb)],_0x3cfc8c[_0x2d87c5(0x15e)]),logger[_0x2d87c5(0xf4)](_0x78a96b);}else logger[_0x2d87c5(0xf4)](_0x41c06e['wJjjf']),console['log'](JSON[_0x2d87c5(0xee)](_0x51e12f,null,0x3));}else{if(_0x41c06e[_0x2d87c5(0x1b0)](_0x432ed2,_0x41c06e[_0x2d87c5(0x11f)])){let _0x44e338;const _0x5c84ce=_0x41c06e[_0x2d87c5(0x176)];_0x3cfc8c&&(_0x44e338=_0x3cfc8c[_0x2d87c5(0x181)]);_0x44e338=_0x41c06e[_0x2d87c5(0x138)](_0x44e338,_0x5c84ce);let _0x17ae92=0x0,_0x2358d9=0x0,_0x43a8cd=0x0,_0x4b44d2=0x0;_0xbd09fe['forEach'](_0x78fa07=>{const _0x87af01=_0x2d87c5,_0x181d41={'NpeYA':function(_0x58600c,_0x55caa3){const _0x54ef8d=a28_0x433e;return _0x41c06e[_0x54ef8d(0xdf)](_0x58600c,_0x55caa3);},'uqmnE':_0x41c06e[_0x87af01(0x119)],'JKaBM':function(_0x334d6d,_0x5cb062){const _0x56e89c=_0x87af01;return _0x41c06e[_0x56e89c(0xdf)](_0x334d6d,_0x5cb062);},'wCnfp':_0x41c06e[_0x87af01(0x160)],'AWZVw':function(_0x3f1719,_0x39a8c6){return _0x41c06e['DnGbl'](_0x3f1719,_0x39a8c6);}};_0x543c9f[_0x78fa07][_0x41c06e[_0x87af01(0x104)]][_0x87af01(0x1d6)](_0x5b9485=>{const _0x584f38=_0x87af01;if(_0x181d41[_0x584f38(0x114)](_0x5b9485['state'],_0x181d41[_0x584f38(0x151)]))_0x17ae92++;else _0x181d41[_0x584f38(0x127)](_0x5b9485[_0x584f38(0x120)],_0x181d41[_0x584f38(0x166)])&&_0x2358d9++;_0x43a8cd++,_0x4b44d2+=_0x181d41[_0x584f38(0xf5)](_0x5b9485[_0x584f38(0x1cd)],0x1);});}),_0x41c06e['bKlTE'](xunitWrite,_0x41c06e[_0x2d87c5(0x117)](tag,_0x41c06e[_0x2d87c5(0x16d)],{'name':_0x44e338,'tests':_0x43a8cd,'failures':0x0,'errors':_0x2358d9,'skipped':_0x41c06e[_0x2d87c5(0x131)](_0x41c06e[_0x2d87c5(0x11c)](_0x43a8cd,_0x2358d9),_0x17ae92),'timestamp':new Date()['toUTCString'](),'time':_0x41c06e['XkCmG'](_0x4b44d2,0x3e8)||0x0},![])),_0xbd09fe[_0x2d87c5(0x1d6)](_0xc04b45=>{const _0x452692=_0x2d87c5;_0x543c9f[_0xc04b45][_0x41c06e[_0x452692(0x104)]][_0x452692(0x1d6)](_0x511707=>{_0x41c06e['CJEHd'](xunitTest,_0x511707,_0xc04b45);});}),_0x41c06e['uzDgo'](xunitWrite,_0x41c06e[_0x2d87c5(0x1aa)]);if(_0x3cfc8c[_0x2d87c5(0x15e)])try{logger['debug'](_0x41c06e[_0x2d87c5(0x17b)],_0x3cfc8c[_0x2d87c5(0x15e)]),fs[_0x2d87c5(0x16c)](_0x3cfc8c[_0x2d87c5(0x15e)],xunitContent);}catch(_0x3bad0e){logger[_0x2d87c5(0x173)](_0x41c06e[_0x2d87c5(0x133)],_0x3cfc8c[_0x2d87c5(0x15e)]),logger[_0x2d87c5(0xf4)](_0x3bad0e);}else logger[_0x2d87c5(0xf4)](_0x41c06e['EtVzY']),console[_0x2d87c5(0x1ba)](xunitContent);}else{if(_0x41c06e[_0x2d87c5(0x11d)](_0x4d4a99,0x0))return;console[_0x2d87c5(0x1ba)](),logger[_0x2d87c5(0xf4)](_0x41c06e[_0x2d87c5(0x101)]),console['log'](chalk[_0x2d87c5(0x103)][_0x2d87c5(0x122)](_0x41c06e[_0x2d87c5(0x1a8)])),_0xbd09fe[_0x2d87c5(0x1d6)](_0x53d39e=>{const _0x34db0c=_0x2d87c5,_0x30ccd0=[];_0x543c9f[_0x53d39e][_0x41c06e['agdrv']][_0x34db0c(0x1d6)](_0x5068bc=>{const _0x30797b=_0x34db0c;_0x41c06e[_0x30797b(0xdf)](_0x5068bc[_0x30797b(0x120)],_0x41c06e[_0x30797b(0x160)])&&(_0x5068bc[_0x30797b(0x13f)]=()=>_0x5068bc[_0x30797b(0x107)],_0x30ccd0[_0x30797b(0xf7)](_0x5068bc));}),_0x41c06e['YMOeT'](_0x30ccd0[_0x34db0c(0x1c1)],0x0)&&(Base[_0x34db0c(0x15d)](),Base[_0x34db0c(0x15d)](_0x41c06e[_0x34db0c(0xe1)](_0x153c5b),chalk['bold'][_0x34db0c(0x1a1)](_0x53d39e)),Base[_0x34db0c(0x12c)](_0x30ccd0));});}}}async function run(_0x5c3fb2,_0x54126d){const _0x5f1f5e=a28_0x3196fe,_0x4e760f={'aCjNX':function(_0xa91869,_0x2ec2d3,_0x35aeb6,_0x370fbd){return _0xa91869(_0x2ec2d3,_0x35aeb6,_0x370fbd);},'okuYf':_0x5f1f5e(0xf9),'abWmT':_0x5f1f5e(0x142),'NbURM':_0x5f1f5e(0x1c3),'QJMVt':_0x5f1f5e(0x144),'BNgyG':_0x5f1f5e(0x1b1),'qxEqc':_0x5f1f5e(0x108),'GWxkQ':function(_0x20ce0f,_0x59db81){return _0x20ce0f!=_0x59db81;},'auGGq':_0x5f1f5e(0x14c),'vmIpi':_0x5f1f5e(0xef),'BKugS':_0x5f1f5e(0x1c6),'iXfaE':_0x5f1f5e(0x14b),'NXRPM':function(_0x1a1b28,_0x187f1f){return _0x1a1b28(_0x187f1f);},'rFEVL':function(_0x4bfd4f,_0x44584e,_0x429856){return _0x4bfd4f(_0x44584e,_0x429856);},'IctsR':_0x5f1f5e(0x13b),'xszbr':'Running\x20your\x20mocha\x20tests','iablB':_0x5f1f5e(0x1c8),'JwquI':function(_0x4d5f53,_0x1f9fc5,_0x4686ce,_0x2595ed){return _0x4d5f53(_0x1f9fc5,_0x4686ce,_0x2595ed);},'LEOrx':function(_0x151c5f,_0xbbcac6){return _0x151c5f*_0xbbcac6;},'DyQqj':function(_0x32fca6,_0x3b85aa){return _0x32fca6(_0x3b85aa);},'Vuwly':function(_0x2507bc,_0x258049){return _0x2507bc!==_0x258049;},'VFunB':function(_0x3a630e,_0x3d0fb1,_0x295df0,_0x9c7c5){return _0x3a630e(_0x3d0fb1,_0x295df0,_0x9c7c5);}};process[_0x5f1f5e(0x105)][_0x5f1f5e(0x174)](_0x4e760f[_0x5f1f5e(0x1c7)])&&(process[_0x5f1f5e(0x128)][_0x5f1f5e(0x1c9)]=![]);process[_0x5f1f5e(0x105)][_0x5f1f5e(0x174)](_0x4e760f['qxEqc'])&&(process[_0x5f1f5e(0x128)][_0x5f1f5e(0xfc)]=![]);const _0x1162ca=new BrowserStackSetup(_0x5c3fb2,_0x4e760f[_0x5f1f5e(0x177)]);helper[_0x5f1f5e(0x13c)](_0x1162ca[_0x5f1f5e(0x188)],_0x5c3fb2);helper[_0x5f1f5e(0x1ad)]()?(await _0x1162ca['initialize'](),await helper[_0x5f1f5e(0x110)](_0x1162ca[_0x5f1f5e(0x16f)])):await _0x1162ca['setupTCGAuth']();const _0x4bd1f8=[];let _0x456436=[];if(!_0x1162ca[_0x5f1f5e(0x16f)])return;_0x4e760f[_0x5f1f5e(0x145)](_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0x123)],null)&&(process[_0x5f1f5e(0x128)][_0x5f1f5e(0xda)]=_0x1162ca[_0x5f1f5e(0x16f)]['testObservability']);!helper[_0x5f1f5e(0x194)](_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0x147)])&&(process[_0x5f1f5e(0x128)][_0x5f1f5e(0x179)]=_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0x147)]);!helper[_0x5f1f5e(0x194)](_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0x1c0)])&&(process[_0x5f1f5e(0x128)][_0x5f1f5e(0x187)]=JSON[_0x5f1f5e(0xee)](_0x1162ca['config'][_0x5f1f5e(0x1c0)]));const {extension:extension=['js',_0x4e760f['auGGq'],_0x4e760f[_0x5f1f5e(0x18f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4e760f[_0x5f1f5e(0xde)]]}=_0x5c3fb2,_0x332131={..._0x5c3fb2};_0x332131[_0x5f1f5e(0x121)]=null;const _0x188d3a=_0x332131;let _0x177a45;if(testOpsHelper[_0x5f1f5e(0x1b5)]()&&testOpsHelper[_0x5f1f5e(0x106)]()){let _0x4edf7e=process[_0x5f1f5e(0x128)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x5f1f5e(0x194)](_0x1162ca[_0x5f1f5e(0x185)])&&_0x1162ca[_0x5f1f5e(0x185)][_0x5f1f5e(0x169)](_0x4e760f[_0x5f1f5e(0x1cc)])&&(_0x4edf7e=_0x1162ca[_0x5f1f5e(0x185)]['get'](_0x4e760f['iXfaE'])),_0x177a45=testOpsHelper[_0x5f1f5e(0x1cf)](_0x4edf7e);}if(helper[_0x5f1f5e(0x194)](_0x177a45)){const _0x47f5ae={};_0x47f5ae[_0x5f1f5e(0x1a4)]=ignore,_0x47f5ae[_0x5f1f5e(0x198)]=extension,_0x47f5ae[_0x5f1f5e(0x159)]=file,_0x47f5ae[_0x5f1f5e(0x1b4)]=recursive,_0x47f5ae['sort']=sort,_0x47f5ae[_0x5f1f5e(0x140)]=spec,_0x177a45=_0x4e760f[_0x5f1f5e(0x13e)](collectFiles,_0x47f5ae),_0x4e760f[_0x5f1f5e(0xfd)](nestedKeyValue,_0x177a45,[_0x4e760f[_0x5f1f5e(0x1a3)]])&&(_0x177a45=_0x177a45['files']);}if(!helper['isBrowserstackInfra']()){const _0x4ff3e7=0x1,_0x5ce5e0={..._0x188d3a};_0x5ce5e0['spec']=[..._0x177a45],_0x4bd1f8[_0x5f1f5e(0xf7)]({'mochaOpts':_0x5ce5e0,'configuration':{'platform':os['platform']()}}),logger[_0x5f1f5e(0x17e)](_0x4e760f[_0x5f1f5e(0xf2)]),logger[_0x5f1f5e(0x17e)](_0x4e760f[_0x5f1f5e(0xd7)]),_0x4e760f[_0x5f1f5e(0xdd)](parallelTestRun,_0x4bd1f8,_0x4ff3e7,_0x1162ca)['then'](_0xa2722e=>{const _0x442f3b=_0x5f1f5e;PerformanceTester[_0x442f3b(0x1dd)](PerformanceEvents['SDK_CLEANUP']),_0x4e760f[_0x442f3b(0x1d2)](printStats,_0xa2722e,_0x5c3fb2[_0x442f3b(0x18c)],_0x5c3fb2[_0x442f3b(0x193)]||_0x5c3fb2[_0x4e760f['okuYf']]);})[_0x5f1f5e(0x14a)](()=>{const _0x341f4a=_0x5f1f5e;PerformanceTester[_0x341f4a(0x1dd)](PerformanceEvents[_0x341f4a(0x1b8)]);try{const {browserstackFolderPath:_0x129785,tcgConfigPath:_0x2de0d3}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x2de0d3),fs[_0x341f4a(0x1dc)](_0x129785);}catch(_0x20c710){logger[_0x341f4a(0xf4)](_0x4e760f[_0x341f4a(0x1b6)],_0x20c710);}try{utilities[_0x341f4a(0x1a5)](_0x4e760f[_0x341f4a(0x1d9)],{},_0x1162ca['config'],_0x1162ca[_0x341f4a(0x188)]);}catch(_0x4ca0d7){logger['debug'](_0x341f4a(0x11e)+_0x4ca0d7[_0x341f4a(0x17c)]);}try{helper[_0x341f4a(0x1d4)]();}catch(_0x45d37f){logger[_0x341f4a(0xf4)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x45d37f);}testOpsHelper[_0x341f4a(0x183)]();});}else{const _0xb98c44=helper[_0x5f1f5e(0xfa)](_0x1162ca['config']);let _0x58ac93=helper[_0x5f1f5e(0xe7)](_0x1162ca['config']);_0x456436=helper[_0x5f1f5e(0x152)](_0x1162ca[_0x5f1f5e(0x16f)],_0xb98c44,constants['FRAMEWORKS'][_0x5f1f5e(0x1da)]);helper[_0x5f1f5e(0x195)]()[_0x5f1f5e(0x1bf)]&&(_0x58ac93=centralScannerConstants[_0x5f1f5e(0x18a)]);let _0x41212c;const _0x56a669=_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0x111)]||helper[_0x5f1f5e(0x115)](_0x5c3fb2,_0x54126d,_0x1162ca[_0x5f1f5e(0x16f)],constants['FRAMEWORKS'][_0x5f1f5e(0x1da)])||0x1;helper[_0x5f1f5e(0xd8)](_0x1162ca[_0x5f1f5e(0x16f)])?_0x41212c=_0x4e760f[_0x5f1f5e(0xe8)](_0x1162ca[_0x5f1f5e(0x16f)]['platforms']['length'],_0x56a669):_0x41212c=_0x56a669;const _0x17d928=_0x4e760f['DyQqj'](getPercyOptions,_0x1162ca[_0x5f1f5e(0x16f)]);if(_0x4e760f['Vuwly'](_0x1162ca[_0x5f1f5e(0x16f)]['parallelsPerPlatform'],0x1))_0x177a45[_0x5f1f5e(0x1d6)](_0x4d46f3=>{const _0x39f87b=_0x5f1f5e,_0x202d6d=[];_0x456436[_0x39f87b(0x1d6)]((_0x4f3c91,_0xb4faa2)=>{const _0x23459c=_0x39f87b,_0x1cbe80={};_0x1cbe80[_0x23459c(0x140)]=[_0x4d46f3],_0x202d6d[_0x23459c(0xf7)]({'mochaOpts':Object['assign']({},_0x188d3a,_0x1cbe80),'configuration':{'server':_0x58ac93,'capability':_0x4f3c91,'proxySettings':_0x1162ca[_0x23459c(0x16f)][_0x23459c(0x155)],'platform':helper[_0x23459c(0x126)](_0x4f3c91),'browserStackLogLevel':_0x1162ca[_0x23459c(0x16f)][_0x23459c(0x15c)],'platformIndex':_0xb4faa2,'browserStackPercyOptions':_0x17d928,'platformCaps':Object[_0x23459c(0x1be)]({'index':_0xb4faa2},_0x1162ca[_0x23459c(0x16f)][_0x23459c(0xd6)][_0xb4faa2])}});}),_0x4bd1f8[_0x39f87b(0xf7)](..._0x202d6d);});else{const _0x4e228b=[];_0x456436['forEach']((_0x28282c,_0x4a979b)=>{const _0x36645e=_0x5f1f5e;let _0x6b4931=Object[_0x36645e(0x1be)]({},_0x188d3a);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x6b4931={..._0x6b4931,'spec':[..._0x177a45]}),_0x4e228b[_0x36645e(0xf7)]({'mochaOpts':_0x6b4931,'configuration':{'server':_0x58ac93,'capability':_0x28282c,'proxySettings':_0x1162ca[_0x36645e(0x16f)][_0x36645e(0x155)],'platform':helper[_0x36645e(0x126)](_0x28282c),'browserStackLogLevel':_0x1162ca[_0x36645e(0x16f)][_0x36645e(0x15c)],'platformIndex':_0x4a979b,'browserStackPercyOptions':_0x17d928,'platformCaps':Object['assign']({'index':_0x4a979b},_0x1162ca[_0x36645e(0x16f)][_0x36645e(0xd6)][_0x4a979b])}});}),_0x4bd1f8['push'](..._0x4e228b);}logger[_0x5f1f5e(0x17e)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x1162ca[_0x5f1f5e(0x16f)][_0x5f1f5e(0xd6)][_0x5f1f5e(0x1c1)]+'\x20platforms'),logger['info'](_0x4e760f[_0x5f1f5e(0xd7)]);let _0x5df302;_0x4e760f[_0x5f1f5e(0x180)](parallelTestRun,_0x4bd1f8,_0x41212c,_0x1162ca)['then'](_0x179d36=>{const _0x4d548e=_0x5f1f5e;PerformanceTester[_0x4d548e(0x1dd)](PerformanceEvents[_0x4d548e(0x1b8)]),_0x5df302=_0x179d36,_0x4e760f[_0x4d548e(0x1d2)](printStats,_0x179d36,_0x5c3fb2[_0x4d548e(0x18c)],_0x5c3fb2[_0x4d548e(0x193)]||_0x5c3fb2[_0x4e760f[_0x4d548e(0x162)]]);})['finally'](async()=>{const _0x7655eb=_0x5f1f5e;PerformanceTester[_0x7655eb(0x1dd)](PerformanceEvents['SDK_CLEANUP']),_0x1162ca[_0x7655eb(0x17a)]=helper[_0x7655eb(0x136)](_0x5df302,_0x4e760f[_0x7655eb(0x177)]),await utilities[_0x7655eb(0xec)](_0x1162ca),testOpsHelper[_0x7655eb(0x183)]();});}}function a28_0x433e(_0x5166b6,_0x1f669c){const _0x1cb307=a28_0x1cb3();return a28_0x433e=function(_0x433ec7,_0x1b4d92){_0x433ec7=_0x433ec7-0xd6;let _0x4a6106=_0x1cb307[_0x433ec7];return _0x4a6106;},a28_0x433e(_0x5166b6,_0x1f669c);}module['exports']=run;
|