browserstack-node-sdk 1.34.15 → 1.34.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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-tester.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
|
-
const
|
|
1
|
+
const a23_0x512d1e=a23_0x4715;function a23_0x4715(_0x3e2747,_0x451321){const _0x265a32=a23_0x265a();return a23_0x4715=function(_0x471583,_0x16d081){_0x471583=_0x471583-0xdd;let _0x18cee7=_0x265a32[_0x471583];return _0x18cee7;},a23_0x4715(_0x3e2747,_0x451321);}(function(_0x542153,_0x4f7506){const _0x75006c=a23_0x4715,_0x39046c=_0x542153();while(!![]){try{const _0x245ce6=parseInt(_0x75006c(0x107))/0x1*(parseInt(_0x75006c(0xfc))/0x2)+parseInt(_0x75006c(0x111))/0x3*(-parseInt(_0x75006c(0x10c))/0x4)+-parseInt(_0x75006c(0xee))/0x5+parseInt(_0x75006c(0xe2))/0x6+parseInt(_0x75006c(0x109))/0x7*(-parseInt(_0x75006c(0x10e))/0x8)+parseInt(_0x75006c(0xf4))/0x9*(parseInt(_0x75006c(0xe7))/0xa)+parseInt(_0x75006c(0xf0))/0xb*(parseInt(_0x75006c(0x104))/0xc);if(_0x245ce6===_0x4f7506)break;else _0x39046c['push'](_0x39046c['shift']());}catch(_0x34bcb1){_0x39046c['push'](_0x39046c['shift']());}}}(a23_0x265a,0xd8c84));const fs=require('fs'),path=require(a23_0x512d1e(0xe6)),{v4:uuidv4}=require('uuid'),helper=require(a23_0x512d1e(0x105)),testHubConstants=require(a23_0x512d1e(0xff));class TestDetails{static [a23_0x512d1e(0x100)]={};static ['dirPath']=path[a23_0x512d1e(0xe8)](helper[a23_0x512d1e(0xea)](),a23_0x512d1e(0x110),'jest-o11y-'+process['env'][testHubConstants[a23_0x512d1e(0x10f)][a23_0x512d1e(0x10a)]]);static[a23_0x512d1e(0x102)](){const _0x317112=a23_0x512d1e,_0x4da874={};_0x4da874[_0x317112(0xf2)]=_0x317112(0x110);const _0x4eba39=_0x4da874;this['dirPath']=path['join'](helper['homedir'](),_0x4eba39['byJPH'],_0x317112(0xe3)+process[_0x317112(0xf6)][testHubConstants[_0x317112(0x10f)][_0x317112(0x10a)]]),this[_0x317112(0xf8)]();const _0x5dd808={};_0x5dd808[_0x317112(0xde)]=!![],fs['mkdirSync'](this[_0x317112(0xf5)],_0x5dd808);}static[a23_0x512d1e(0xf9)](_0x47c67a){const _0x255f73=a23_0x512d1e,_0x40f934={};_0x40f934[_0x255f73(0xe5)]=function(_0x1314f4,_0x204dcb){return _0x1314f4+_0x204dcb;},_0x40f934[_0x255f73(0xef)]=_0x255f73(0xe1);const _0x40a160=_0x40f934;return path[_0x255f73(0xe8)](this['dirPath'],_0x40a160[_0x255f73(0xe5)](_0x47c67a,_0x40a160[_0x255f73(0xef)]));}static[a23_0x512d1e(0xfe)](_0x140a4b){const _0x1cbdc0=a23_0x512d1e,_0x3619d6={};_0x3619d6[_0x1cbdc0(0x106)]=function(_0x1771fc,_0x3480c3){return _0x1771fc+_0x3480c3;},_0x3619d6[_0x1cbdc0(0xfb)]=function(_0x195a9a,_0xe48a79){return _0x195a9a+_0xe48a79;};const _0x1ee3b1=_0x3619d6;return _0x1ee3b1[_0x1cbdc0(0x106)](_0x1ee3b1[_0x1cbdc0(0x106)](_0x1ee3b1['EVHJu'](_0x1ee3b1[_0x1cbdc0(0xfb)](_0x140a4b[_0x1cbdc0(0x101)]['_projectId'],'-'),_0x140a4b[_0x1cbdc0(0x101)]['id']),'-'),_0x140a4b['retry']);}static[a23_0x512d1e(0xfd)](_0x8eae80){const _0x4811cd=a23_0x512d1e,_0xbeab60=this[_0x4811cd(0xf9)](_0x8eae80);if(fs[_0x4811cd(0xdd)](_0xbeab60)){const _0x716118=JSON[_0x4811cd(0x112)](fs['readFileSync'](_0xbeab60)[_0x4811cd(0x108)]());return this[_0x4811cd(0x100)][_0x8eae80]=_0x716118,this[_0x4811cd(0x100)][_0x8eae80][_0x4811cd(0xe4)];}}static[a23_0x512d1e(0xeb)](_0x1b1bc8){const _0x5e6f5f=a23_0x512d1e,_0x18bb46={};_0x18bb46[_0x5e6f5f(0xf1)]=_0x5e6f5f(0xfa);const _0xe0dc1b=_0x18bb46,_0x27f70b=path['join'](this[_0x5e6f5f(0xf5)],_0xe0dc1b['MxTIw']);fs['writeFileSync'](_0x27f70b,JSON[_0x5e6f5f(0xe9)](_0x1b1bc8));}static[a23_0x512d1e(0x10b)](){const _0xf4c72e=a23_0x512d1e,_0x4a69e6={};_0x4a69e6[_0xf4c72e(0xed)]='testData.json';const _0x5a9138=_0x4a69e6,_0x17b4fb=path['join'](this[_0xf4c72e(0xf5)],_0x5a9138[_0xf4c72e(0xed)]);let _0x52355c={};try{return fs[_0xf4c72e(0xdd)](_0x17b4fb)&&(_0x52355c=JSON['parse'](fs['readFileSync'](_0x17b4fb)['toString']())),_0x52355c;}catch(_0x3d2afd){return _0x52355c;}}static[a23_0x512d1e(0xe0)](_0xe4c2a8){const _0x10d179=a23_0x512d1e,_0x297c1c={'apjhr':function(_0x9fc33b){return _0x9fc33b();}},_0x412c7b=this[_0x10d179(0xf9)](_0xe4c2a8);return this[_0x10d179(0x100)][_0xe4c2a8]={'uuid':_0x297c1c[_0x10d179(0xf7)](uuidv4)},fs[_0x10d179(0x103)](_0x412c7b,JSON['stringify'](this[_0x10d179(0x100)][_0xe4c2a8])),this['tests'][_0xe4c2a8][_0x10d179(0xe4)];}static[a23_0x512d1e(0xdf)](_0xbf648c){const _0x82611c=a23_0x512d1e,_0x402bfd=this[_0x82611c(0xf9)](_0xbf648c);fs[_0x82611c(0xdd)](_0x402bfd)&&fs[_0x82611c(0xf3)](_0x402bfd);}static[a23_0x512d1e(0xf8)](){const _0x4976fa=a23_0x512d1e,_0xb48280={};_0xb48280['recursive']=!![],_0xb48280['force']=!![],fs[_0x4976fa(0x10d)](this['dirPath'],_0xb48280);}}module[a23_0x512d1e(0xec)]=TestDetails;function a23_0x265a(){const _0x33e913=['../../../helpers/helper','EVHJu','7qQjbax','toString','751849AHeLzn','BROWSERSTACK_TESTHUB_UUID','getTestData','256gTXSVX','rmSync','128fehDbP','ENV_VAR','.browserstack','77238FEMmfc','parse','existsSync','recursive','removeTestUUID','setTestUUID','.json','281016cBPHPx','jest-o11y-','uuid','cnIyk','path','10qLfucV','join','stringify','homedir','setTestData','exports','IpYcF','2285255KZmGYZ','GaUry','46600488UHEsFE','MxTIw','byJPH','unlinkSync','2361321mZVqMR','dirPath','env','apjhr','shutdown','getFilePath','testData.json','ZGlpE','47324TpjJpW','getTestUUID','getTestRunIdFromTestInfo','../../../helpers/testhub/constants','tests','_test','setup','writeFileSync','12NTqCTM'];a23_0x265a=function(){return _0x33e913;};return a23_0x265a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x491c3a=a24_0x18fc;(function(_0x25ee47,_0x4c4c08){const _0x296500=a24_0x18fc,_0x449dfe=_0x25ee47();while(!![]){try{const _0x40dbc1=-parseInt(_0x296500(0xa7))/0x1*(parseInt(_0x296500(0xa8))/0x2)+-parseInt(_0x296500(0xa6))/0x3+-parseInt(_0x296500(0xa3))/0x4*(-parseInt(_0x296500(0x9c))/0x5)+parseInt(_0x296500(0xa0))/0x6*(parseInt(_0x296500(0x9d))/0x7)+-parseInt(_0x296500(0xa4))/0x8+-parseInt(_0x296500(0x9a))/0x9*(-parseInt(_0x296500(0xa1))/0xa)+parseInt(_0x296500(0x9b))/0xb*(parseInt(_0x296500(0x9f))/0xc);if(_0x40dbc1===_0x4c4c08)break;else _0x449dfe['push'](_0x449dfe['shift']());}catch(_0x53d3a8){_0x449dfe['push'](_0x449dfe['shift']());}}}(a24_0x3c7c,0x61847));const {requireModule}=require(a24_0x491c3a(0x99));require(a24_0x491c3a(0xa2))();const __wd__=requireModule(a24_0x491c3a(0x9e));function a24_0x18fc(_0x3565dc,_0x45fbe7){const _0x3c7ca1=a24_0x3c7c();return a24_0x18fc=function(_0x18fc09,_0x16ec53){_0x18fc09=_0x18fc09-0x99;let _0x3bacf5=_0x3c7ca1[_0x18fc09];return _0x3bacf5;},a24_0x18fc(_0x3565dc,_0x45fbe7);}function a24_0x3c7c(){const _0x15a0d9=['1494GkQUqa','3166834BbIsrU','5gBkluC','12572HKxGPb','selenium-webdriver','12vOHrVu','2292GvwNXT','23390YgJzUZ','../../helpers/setKeepAlive','552892KBPTQj','1412712wIUvyo','__webdriver','2228094wrqojs','36349ocxiBY','10fwZbvR','../../helpers/helper'];a24_0x3c7c=function(){return _0x15a0d9;};return a24_0x3c7c();}for(const key of Object['keys'](global[a24_0x491c3a(0xa5)])){__wd__[key]=global[a24_0x491c3a(0xa5)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x5720c2=a25_0x1512;(function(_0x20e7b2,_0x4db340){const _0x1f3c47=a25_0x1512,_0xec9c7a=_0x20e7b2();while(!![]){try{const _0x5964f3=-parseInt(_0x1f3c47(0x197))/0x1*(-parseInt(_0x1f3c47(0x184))/0x2)+-parseInt(_0x1f3c47(0x172))/0x3+parseInt(_0x1f3c47(0x170))/0x4*(parseInt(_0x1f3c47(0x18f))/0x5)+parseInt(_0x1f3c47(0x188))/0x6*(-parseInt(_0x1f3c47(0x17c))/0x7)+parseInt(_0x1f3c47(0x171))/0x8+-parseInt(_0x1f3c47(0x196))/0x9+parseInt(_0x1f3c47(0x18c))/0xa;if(_0x5964f3===_0x4db340)break;else _0xec9c7a['push'](_0xec9c7a['shift']());}catch(_0x32edc7){_0xec9c7a['push'](_0xec9c7a['shift']());}}}(a25_0x3cd6,0x69122));function a25_0x1512(_0x1d0e9d,_0x7b984b){const _0x3cd6a1=a25_0x3cd6();return a25_0x1512=function(_0x151233,_0x294c93){_0x151233=_0x151233-0x16b;let _0x3548c7=_0x3cd6a1[_0x151233];return _0x3548c7;},a25_0x1512(_0x1d0e9d,_0x7b984b);}const path=require(a25_0x5720c2(0x16e)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x5720c2(0x191)),constants=require(a25_0x5720c2(0x18a)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5720c2(0x17f)),{isTestObservabilitySession}=require(a25_0x5720c2(0x185)),helper=require(a25_0x5720c2(0x191)),{commandRepository}=require(a25_0x5720c2(0x17b));class Launcher{constructor(_0x4a9d7e,_0x3587dd,_0x2d768c,_0x14ea85=[]){const _0xc28036=a25_0x5720c2,_0x279c9f={'LJAlv':_0xc28036(0x173),'onfdf':function(_0x400e0e){return _0x400e0e();}},_0x459779=_0x279c9f[_0xc28036(0x192)][_0xc28036(0x17a)]('|');let _0x57ea09=0x0;while(!![]){switch(_0x459779[_0x57ea09++]){case'0':this[_0xc28036(0x176)]=_0x2d768c;continue;case'1':global[_0xc28036(0x175)]=0x0;continue;case'2':global['totalTests']=0x0;continue;case'3':this[_0xc28036(0x17e)]['framework']=_0x4a9d7e;continue;case'4':this[_0xc28036(0x17d)]=this['_configuration'][_0xc28036(0x190)];continue;case'5':global[_0xc28036(0x18d)]=0x0;continue;case'6':global[_0xc28036(0x178)]=0x0;continue;case'7':global[_0xc28036(0x189)]=0x0;continue;case'8':this[_0xc28036(0x17e)]=_0x3587dd[_0xc28036(0x16b)]||{};continue;case'9':global[_0xc28036(0x16c)]=0x0;continue;case'10':global[_0xc28036(0x180)]=0x0;continue;case'11':global[_0xc28036(0x183)]=this[_0xc28036(0x17e)][_0xc28036(0x186)]||{};continue;case'12':global[_0xc28036(0x187)]=this[_0xc28036(0x17e)][_0xc28036(0x18e)];continue;case'13':global[_0xc28036(0x16d)]=0x0;continue;case'14':this[_0xc28036(0x18b)]=_0x279c9f['onfdf'](isTestObservabilitySession);continue;case'15':this['_accessibilityAutomation']=_0x279c9f[_0xc28036(0x195)](isAccessibilityAutomationSession);continue;case'16':this[_0xc28036(0x193)]=_0x14ea85;continue;case'17':global[_0xc28036(0x174)]=0x0;continue;case'18':this['_framework']=_0x4a9d7e;continue;case'19':!constants['AI_ENABLED_FRAMEWORK']['includes'](_0x4a9d7e)&&(commandRepository['setConfig'](_0x2d768c),commandRepository[_0xc28036(0x179)](_0x4a9d7e));continue;case'20':this['_mochaOpts']=_0x3587dd[_0xc28036(0x181)];continue;case'21':global[_0xc28036(0x182)]=0x0;continue;case'22':global[_0xc28036(0x16f)]={};continue;case'23':this['_formatter']=_0x3587dd[_0xc28036(0x177)];continue;}break;}}['setupCucumber'](_0x522c7c,_0x469d13,_0x55f87c){const _0x2aba91=a25_0x5720c2,_0x5f3556=_0x522c7c[_0x2aba91(0x194)];_0x522c7c.resolvePaths=async function(){const pathResults=await _0x5f3556.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x55f87c));return pathResults;},_0x469d13.push('--format'),_0x469d13.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x3cd6(){const _0x1232a1=['__platform__','6takPmi','testsUnknown','../utils/constants','_testObservability','9464340XXYcdT','testsUndefined','platform','1539490AmFFvk','capability','../../helpers/helper','LJAlv','_argv','resolvePaths','onfdf','7741242LWiwRF','2787eItLYA','configuration','testsSkipped','testSuitesFailed','path','testsErrorMessage','8cApViq','2340784nxMVCk','1239081yrFUZH','18|8|3|20|23|4|12|16|0|14|15|11|17|2|10|21|1|9|13|5|7|6|22|19','testSuites','testsPending','_bsConfig','formatter','testsAmbiguous','setFramework','split','../../helpers/ai-sdk/autoHealHelper','2756334obQABK','_capability','_configuration','../../helpers/test-observability/requestQueueHandler','testsPassed','mochaOpts','testsFailed','__platformCaps','174OymMYM','../../helpers/test-observability/utils','platformCaps'];a25_0x3cd6=function(){return _0x1232a1;};return a25_0x3cd6();}module.exports=Launcher;
|
|
1
|
+
const a25_0x9c8dc4=a25_0x3ca4;function a25_0x3ca4(_0x503695,_0x5ec1a8){const _0x2a70ed=a25_0x2a70();return a25_0x3ca4=function(_0x3ca4ed,_0x160538){_0x3ca4ed=_0x3ca4ed-0x1ed;let _0x239d45=_0x2a70ed[_0x3ca4ed];return _0x239d45;},a25_0x3ca4(_0x503695,_0x5ec1a8);}(function(_0x46413a,_0x442901){const _0x156fd6=a25_0x3ca4,_0x430346=_0x46413a();while(!![]){try{const _0xc4be7c=-parseInt(_0x156fd6(0x1f9))/0x1*(-parseInt(_0x156fd6(0x1fe))/0x2)+-parseInt(_0x156fd6(0x211))/0x3+-parseInt(_0x156fd6(0x209))/0x4*(parseInt(_0x156fd6(0x1f2))/0x5)+-parseInt(_0x156fd6(0x20b))/0x6+parseInt(_0x156fd6(0x1f6))/0x7*(parseInt(_0x156fd6(0x20f))/0x8)+parseInt(_0x156fd6(0x21a))/0x9*(parseInt(_0x156fd6(0x1f7))/0xa)+-parseInt(_0x156fd6(0x21b))/0xb;if(_0xc4be7c===_0x442901)break;else _0x430346['push'](_0x430346['shift']());}catch(_0x1d71d8){_0x430346['push'](_0x430346['shift']());}}}(a25_0x2a70,0x471a7));function a25_0x2a70(){const _0x68b41c=['919149DMNltY','10XPpuQO','_configuration','523WeQLFY','testsAmbiguous','../utils/constants','path','testsUndefined','1940IlllEh','configuration','testsUnknown','setFramework','split','testsErrorMessage','../../helpers/test-observability/utils','capability','DVUFU','_accessibilityAutomation','platformCaps','16yaDnmB','__platformCaps','2131338JszDzi','../../helpers/helper','../../helpers/accessibility-automation/helper','_bsConfig','24FLquve','includes','137535yETHZV','totalTests','resolvePaths','platform','setConfig','_capability','_argv','framework','_formatter','3191193rJBUYt','2105103anLooK','_framework','dbQpx','formatter','4|9|23|11|1|6|20|13|0|8|7|19|21|5|12|17|14|22|3|18|10|16|15|2','testSuitesFailed','testsSkipped','setupCucumber','mochaOpts','_mochaOpts','465160uhNkmJ','AI_ENABLED_FRAMEWORK','testSuites','testsPassed'];a25_0x2a70=function(){return _0x68b41c;};return a25_0x2a70();}const path=require(a25_0x9c8dc4(0x1fc)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x9c8dc4(0x1fb)),{isAccessibilityAutomationSession}=require(a25_0x9c8dc4(0x20d)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x9c8dc4(0x204)),helper=require(a25_0x9c8dc4(0x20c)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x2053dc,_0x27ec3a,_0x6586a9,_0x18eed6=[]){const _0x3118c8=a25_0x9c8dc4,_0x4b1d36={'DVUFU':_0x3118c8(0x21f),'gqVeR':function(_0xdab55e){return _0xdab55e();},'dbQpx':function(_0x345945){return _0x345945();}},_0x2e3ccb=_0x4b1d36[_0x3118c8(0x206)][_0x3118c8(0x202)]('|');let _0x3ec41b=0x0;while(!![]){switch(_0x2e3ccb[_0x3ec41b++]){case'0':this[_0x3118c8(0x20e)]=_0x6586a9;continue;case'1':this[_0x3118c8(0x219)]=_0x27ec3a[_0x3118c8(0x21e)];continue;case'2':!constants[_0x3118c8(0x1f3)][_0x3118c8(0x210)](_0x2053dc)&&(commandRepository[_0x3118c8(0x215)](_0x6586a9),commandRepository[_0x3118c8(0x201)](_0x2053dc));continue;case'3':global[_0x3118c8(0x1ed)]=0x0;continue;case'4':this[_0x3118c8(0x21c)]=_0x2053dc;continue;case'5':global[_0x3118c8(0x212)]=0x0;continue;case'6':this[_0x3118c8(0x216)]=this[_0x3118c8(0x1f8)][_0x3118c8(0x205)];continue;case'7':this[_0x3118c8(0x207)]=_0x4b1d36['gqVeR'](isAccessibilityAutomationSession);continue;case'8':this['_testObservability']=_0x4b1d36[_0x3118c8(0x21d)](isTestObservabilitySession);continue;case'9':this[_0x3118c8(0x1f8)]=_0x27ec3a[_0x3118c8(0x1ff)]||{};continue;case'10':global[_0x3118c8(0x200)]=0x0;continue;case'11':this[_0x3118c8(0x1f1)]=_0x27ec3a[_0x3118c8(0x1f0)];continue;case'12':global[_0x3118c8(0x1f5)]=0x0;continue;case'13':this[_0x3118c8(0x217)]=_0x18eed6;continue;case'14':global['testsPending']=0x0;continue;case'15':global[_0x3118c8(0x203)]={};continue;case'16':global[_0x3118c8(0x1fa)]=0x0;continue;case'17':global['testsFailed']=0x0;continue;case'18':global[_0x3118c8(0x1fd)]=0x0;continue;case'19':global[_0x3118c8(0x20a)]=this['_configuration'][_0x3118c8(0x208)]||{};continue;case'20':global['__platform__']=this['_configuration'][_0x3118c8(0x214)];continue;case'21':global[_0x3118c8(0x1f4)]=0x0;continue;case'22':global[_0x3118c8(0x1ee)]=0x0;continue;case'23':this[_0x3118c8(0x1f8)][_0x3118c8(0x218)]=_0x2053dc;continue;}break;}}[a25_0x9c8dc4(0x1ef)](_0x1e057d,_0x53a6a5,_0x2f1f89){const _0xd42ffb=a25_0x9c8dc4,_0x1bc498=_0x1e057d[_0xd42ffb(0x213)];_0x1e057d.resolvePaths=async function(){const pathResults=await _0x1bc498.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2f1f89));return pathResults;},_0x53a6a5.push('--format'),_0x53a6a5.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a26_0x4dfc(_0x164fe6,_0x5b416b){const _0x205891=a26_0x2058();return a26_0x4dfc=function(_0x4dfcd0,_0x464503){_0x4dfcd0=_0x4dfcd0-0x114;let _0x50c0c5=_0x205891[_0x4dfcd0];return _0x50c0c5;},a26_0x4dfc(_0x164fe6,_0x5b416b);}const a26_0x21e372=a26_0x4dfc;(function(_0xe4d689,_0x52651c){const _0x1201ad=a26_0x4dfc,_0x3b01e9=_0xe4d689();while(!![]){try{const _0x34b3f7=-parseInt(_0x1201ad(0x140))/0x1*(-parseInt(_0x1201ad(0x147))/0x2)+-parseInt(_0x1201ad(0x121))/0x3*(-parseInt(_0x1201ad(0x142))/0x4)+-parseInt(_0x1201ad(0x120))/0x5*(parseInt(_0x1201ad(0x12d))/0x6)+-parseInt(_0x1201ad(0x152))/0x7*(parseInt(_0x1201ad(0x11b))/0x8)+parseInt(_0x1201ad(0x153))/0x9*(parseInt(_0x1201ad(0x163))/0xa)+-parseInt(_0x1201ad(0x119))/0xb+parseInt(_0x1201ad(0x15e))/0xc;if(_0x34b3f7===_0x52651c)break;else _0x3b01e9['push'](_0x3b01e9['shift']());}catch(_0x438d81){_0x3b01e9['push'](_0x3b01e9['shift']());}}}(a26_0x2058,0x24715));const path=require(a26_0x21e372(0x13f)),os=require('os'),util=require(a26_0x21e372(0x143)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x21e372(0x156)),logger=require('../../../helpers/logger')[a26_0x21e372(0x122)];function a26_0x2058(){const _0x2ec917=['bHQOH','BCoUM','Options','132VVinso','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','chrome','device','authToken','requireModule','__cloud_provider___','setAccessibilityCapabilities','nBDrb','capabilities_','accessibilityOptions','getCapabilities','format','scannerVersion','AKkcO','mXeIO','SOScj','warn','path','21310KrHPMc','AqnKh','28bLLirA','util','getBrowserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','IZNKI','4jnEKlR','ufJMB','chromeOptions','get','--headless','isAccessibilityPlatform','options_','nKGWo','includes','latest','env','7ggURHS','1712889IuvwfZ','browserstack','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../../../helpers/globals','BS_A11Y_JWT','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20in\x20setExtension\x20Error:\x20','browserstack.accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','capability','toLowerCase','13212TDYmNz','deviceName','getPlatformVersion','debug','RXVPi','10VJuYdi','browser_version','XTUZu','parse','uCXjg','selenium-webdriver/chrome.js','accessibility','uzxYs','nestedKeyValue','OWCvR','1969187fEArQH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','252296SkPbJf','getBrowserVersion','Yhyqc','exLuW','fetchPlatformDetails','1655lwaoVO','57027QFZpEQ','winstonLogger','browserstack.accessibility','DWVmm','KRwYE','isUndefined','bstack:options','OydQi','chromeOptions_'];a26_0x2058=function(){return _0x2ec917;};return a26_0x2058();}exports[a26_0x21e372(0x134)]=_0x43535=>{const _0x5b285a=a26_0x21e372,_0x106c3c={};_0x106c3c[_0x5b285a(0x118)]=_0x5b285a(0x127),_0x106c3c['lUnrj']=_0x5b285a(0x123),_0x106c3c['AKkcO']=_0x5b285a(0x14c),_0x106c3c['mXeIO']=_0x5b285a(0x15a);const _0x7ae2de=_0x106c3c;try{const _0xce7537=_0x43535[_0x5b285a(0x15c)]||{};if(_0xce7537[_0x7ae2de[_0x5b285a(0x118)]]&&_0xce7537[_0x7ae2de[_0x5b285a(0x118)]][_0x5b285a(0x115)]||_0x43535['capability'][_0x7ae2de['lUnrj']]){globals['setGlobal'](_0x7ae2de[_0x5b285a(0x13b)],!![]);if(_0xce7537[_0x7ae2de[_0x5b285a(0x118)]]){if(_0xce7537[_0x7ae2de[_0x5b285a(0x118)]][_0x5b285a(0x137)])_0xce7537[_0x7ae2de[_0x5b285a(0x118)]][_0x5b285a(0x137)][_0x5b285a(0x131)]=process[_0x5b285a(0x151)][_0x5b285a(0x157)];else{const _0x5dce6={};_0x5dce6[_0x5b285a(0x131)]=process[_0x5b285a(0x151)]['BS_A11Y_JWT'],_0xce7537[_0x7ae2de[_0x5b285a(0x118)]][_0x5b285a(0x137)]=_0x5dce6;}_0xce7537[_0x7ae2de[_0x5b285a(0x118)]][_0x5b285a(0x137)]['scannerVersion']=JSON[_0x5b285a(0x166)](process['env'][_0x5b285a(0x11a)])[_0x5b285a(0x13a)];}else{if(_0x43535[_0x5b285a(0x15c)][_0x7ae2de['lUnrj']]){if(_0xce7537[_0x7ae2de[_0x5b285a(0x13c)]])_0xce7537[_0x7ae2de[_0x5b285a(0x13c)]][_0x5b285a(0x131)]=process[_0x5b285a(0x151)][_0x5b285a(0x157)];else{const _0xdd62bc={};_0xdd62bc[_0x5b285a(0x131)]=process[_0x5b285a(0x151)]['BS_A11Y_JWT'],_0xce7537[_0x7ae2de[_0x5b285a(0x13c)]]=_0xdd62bc;}_0xce7537[_0x7ae2de[_0x5b285a(0x13c)]]['scannerVersion']=JSON['parse'](process['env'][_0x5b285a(0x11a)])['scannerVersion'];}}}}catch(_0x324425){logger['debug'](_0x5b285a(0x12e)+_0x324425);}},exports['setExtension']=(_0x47df60,_0x1d16e2)=>{const _0x38f66f=a26_0x21e372,_0x34e786={};_0x34e786[_0x38f66f(0x11e)]=_0x38f66f(0x127),_0x34e786['PPzuR']=function(_0x1abe27,_0x13bf72){return _0x1abe27!==_0x13bf72;},_0x34e786[_0x38f66f(0x165)]=_0x38f66f(0x15b),_0x34e786[_0x38f66f(0x146)]=function(_0x2df718,_0x52d65a){return _0x2df718!==_0x52d65a;},_0x34e786[_0x38f66f(0x128)]=_0x38f66f(0x12f),_0x34e786[_0x38f66f(0x148)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x34e786[_0x38f66f(0x162)]=function(_0x4e0b17,_0x56ca0b){return _0x4e0b17===_0x56ca0b;},_0x34e786['nKGWo']=_0x38f66f(0x150),_0x34e786[_0x38f66f(0x13d)]=function(_0x5206a7,_0x140e56){return _0x5206a7>_0x140e56;},_0x34e786[_0x38f66f(0x167)]=_0x38f66f(0x145),_0x34e786[_0x38f66f(0x135)]=_0x38f66f(0x114),_0x34e786[_0x38f66f(0x116)]=_0x38f66f(0x14d),_0x34e786['AqnKh']='args',_0x34e786[_0x38f66f(0x12b)]=_0x38f66f(0x149),_0x34e786[_0x38f66f(0x124)]=_0x38f66f(0x14b),_0x34e786['KRwYE']=_0x38f66f(0x155);const _0x4bac82=_0x34e786;try{const _0xe56a9b=_0x1d16e2[_0x38f66f(0x15c)]||{},_0x5607eb=(_0xe56a9b[_0x4bac82[_0x38f66f(0x11e)]]?_0xe56a9b[_0x4bac82[_0x38f66f(0x11e)]][_0x38f66f(0x15f)]:_0xe56a9b[_0x38f66f(0x130)])||'';if(_0x4bac82['PPzuR'](_0x5607eb,''))return logger[_0x38f66f(0x13e)](_0x4bac82['XTUZu']),![];const _0x14222e=_0xe56a9b['browserName']||_0x47df60[_0x38f66f(0x136)][_0x38f66f(0x144)]();if(_0x4bac82[_0x38f66f(0x146)](_0x14222e[_0x38f66f(0x15d)](),_0x4bac82['OydQi']))return logger[_0x38f66f(0x13e)](_0x4bac82[_0x38f66f(0x148)]),![];const _0x2c84b8=_0xe56a9b['browserVersion']||_0xe56a9b[_0x38f66f(0x164)]||_0x47df60['capabilities_'][_0x38f66f(0x11c)]();if(!bsSetupHelper[_0x38f66f(0x126)](_0x2c84b8)&&!(_0x4bac82[_0x38f66f(0x162)](_0x2c84b8,_0x4bac82[_0x38f66f(0x14e)])||_0x4bac82['SOScj'](_0x2c84b8,0x5e)))return logger[_0x38f66f(0x13e)](_0x4bac82['uCXjg']),![];let _0x3f74e0;try{_0x3f74e0=bsSetupHelper[_0x38f66f(0x132)](_0x4bac82[_0x38f66f(0x135)]);}catch(_0x2b34a2){return![];}const _0x47552c=new _0x3f74e0[(_0x38f66f(0x12c))](_0x47df60[_0x38f66f(0x129)]),_0x287df1=bsSetupHelper[_0x38f66f(0x117)](_0x47552c,[_0x4bac82['uzxYs'],_0x4bac82[_0x38f66f(0x141)]])||bsSetupHelper[_0x38f66f(0x117)](_0x47df60[_0x38f66f(0x136)]['get'](_0x4bac82['exLuW']),[_0x4bac82[_0x38f66f(0x12b)],_0x4bac82[_0x38f66f(0x141)]])||bsSetupHelper['nestedKeyValue'](_0x47df60[_0x38f66f(0x136)][_0x38f66f(0x14a)](_0x4bac82[_0x38f66f(0x12b)]),[_0x4bac82[_0x38f66f(0x141)]])||[];if(_0x287df1[_0x38f66f(0x14f)](_0x4bac82['DWVmm']))return logger['warn'](_0x4bac82[_0x38f66f(0x125)]),![];return!![];}catch(_0x3de927){logger[_0x38f66f(0x161)](_0x38f66f(0x159)+util[_0x38f66f(0x139)](_0x3de927));}return![];},exports[a26_0x21e372(0x11f)]=async _0x1e2274=>{const _0x260474=a26_0x21e372,_0x42b914={};_0x42b914[_0x260474(0x11d)]=function(_0x2426fb,_0xc6c5ab){return _0x2426fb===_0xc6c5ab;},_0x42b914[_0x260474(0x12a)]=_0x260474(0x154);const _0x898382=_0x42b914;let _0x57bcaa={};try{const _0x5df3c4=await _0x1e2274[_0x260474(0x138)]();_0x57bcaa={'os_name':_0x5df3c4['getPlatform'](),'os_version':bsSetupHelper[_0x260474(0x160)](_0x898382[_0x260474(0x11d)](global[_0x260474(0x133)],_0x898382[_0x260474(0x12a)])),'browser_name':_0x5df3c4[_0x260474(0x144)](),'browser_version':_0x5df3c4['getBrowserVersion']()};}catch(_0x5b9177){logger['debug'](_0x260474(0x158)+_0x5b9177);}return _0x57bcaa;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x573995=a27_0x44a0;function a27_0x44a0(_0x2a3742,_0x4a12fc){const _0x1c7533=a27_0x1c75();return a27_0x44a0=function(_0x44a0f6,_0x8c3de8){_0x44a0f6=_0x44a0f6-0x14c;let _0xc67a8c=_0x1c7533[_0x44a0f6];return _0xc67a8c;},a27_0x44a0(_0x2a3742,_0x4a12fc);}(function(_0x11cd34,_0x42c9cc){const _0x58900a=a27_0x44a0,_0x1ee2bd=_0x11cd34();while(!![]){try{const _0x167e35=parseInt(_0x58900a(0x1a6))/0x1*(parseInt(_0x58900a(0x222))/0x2)+-parseInt(_0x58900a(0x229))/0x3+-parseInt(_0x58900a(0x1d3))/0x4*(parseInt(_0x58900a(0x22f))/0x5)+parseInt(_0x58900a(0x1de))/0x6*(parseInt(_0x58900a(0x165))/0x7)+-parseInt(_0x58900a(0x245))/0x8*(-parseInt(_0x58900a(0x22b))/0x9)+parseInt(_0x58900a(0x240))/0xa*(-parseInt(_0x58900a(0x254))/0xb)+parseInt(_0x58900a(0x18f))/0xc*(-parseInt(_0x58900a(0x276))/0xd);if(_0x167e35===_0x42c9cc)break;else _0x1ee2bd['push'](_0x1ee2bd['shift']());}catch(_0x4c29b4){_0x1ee2bd['push'](_0x1ee2bd['shift']());}}}(a27_0x1c75,0xd538c));function a27_0x1c75(){const _0x5b209b=['match','symbols','vLCug','rXbyx','eozPm','../../../helpers/test-observability/utils','CBTSessionCreated','sendTestRunEvent','sHXkz','</dt>','mocha/lib/runnable.js','runner','Ybmvu','integrations','COMPLETED','1158001lXrQfK','jLLVo','CKdwT','state','qkMlA','type','\x20(%dms)','RBtqw','BEFORE_EACH','VfsvH','cwd','speed','anUDX','write','backtrace','pPYFx','includes','mocha/lib/reporters/base.js','duration','../../../helpers/helper','toISOString','AssertionError','</dd>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','keLli','XQTBS','slice','event_type','wTcOS','__indents','Runner','xunit','RUNNING','GfZpe','77MdBwyc','appendTestItemLog','sZboL','failed','light','Vxfny','pass','sep','mUUst','indent','../../../helpers/testhub/constants','root','\x20\x20<dd\x20class=\x22error\x22><pre><code>','FonFg','bsConfig','HsVcu','Failed\x20to\x20load\x20reporter\x20','Reporter','QmSCw','OpMdh','dirname','test_run','\x20\x20<dd\x20class=\x22error\x22>','docHtml','testStarted','after\x20each','</code></pre></dd>','pending','HookRunFinished','config','DLNtd','StxTL','failCount','isPending','vxbWs','body','reporterOption','ThTXG','current_test','AFTER_EACH','registerListeners','apply','108xNIUdy','1|0|4|3|2','PCbxN','comma','chbdl','fLwcd','removeAllListeners','</h1>','checkmark','TwNUx','getTime','_testResults','multiple','hToqk','kyyKb','once','inspect','GciRD','\x20\x20<dt\x20class=\x22error\x22>','err','vyWub','bs:addLog:','green','5xDTvGk','length','</section>','appendTestPlatform','RFibw','DabGi','expanded','__platform__','bang','../test-observability/mochaUtils','toString','weefz','suiteCount','BEFORE_ALL','error','skipped','http_response','getRootParentFile','DNzwu','PNIMq','jjnjj','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','forEach','fViKx','join','CrwBa','../../../helpers/test-observability/requestQueueHandler','passed','dot','mocha','dayoY','TestRunSkipped','vGiGE','../../../helpers/testhub/utils','krziK','dIkWa','relative','NjHnU','HookFinished','_indents','increaseIndent','haSJa','ldrAL','dWOPw','XtsmF','793976mkCOOK','rNxHV','FJabF','HfCjS','</dl>','title','retryOf','_paths','MmcbQ','xOLXy','TestRunFinished','514164lECbTK','UEZvB','BqCIs','setCurrentTestData','kvNwv','UyECZ','markedStatus','IjdUl','failure_backtrace','bind','color','ctx','eEcDx','doc','hook_type','.js','uploadEventData','LPkqs','XYpPN','huVSb','reporterOptions','suite','consoleLog','.git','failureCount','KarSm','fail','bright\x20yellow','zlFSk','appendTesthubParams','test','docAppend','<h1>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','iJmBK','\x20%s','mocha/lib/reporters/','scopes','testAnalyticsId','decreaseIndent','bs:addPlatformDetails:','yykGx','Ojlyq','pid','suites','FzNPT','finished_at','analyticsResult','kPcnf','after\x20all','finalResults','leSvw','hXtFG','before\x20all','util','hooks','started_at','escape','findGitConfig','\x20\x20<dd><pre><code>','_currentRetry','zQCUT','shutdown','ZweQB','name','\x20with\x20error\x20:\x20','test_run_uuid','jzkIS','138934ndQZcf','kxauC','qBXHw','clean','parent','yUidW','slow','1299102XlvIZH','uuid','882jJDhob','VrZoD','current_hook','done','5axJGus','fast','../../../helpers/test-observability/sessionHandler','\x20\x20%d)\x20%s','PIjsX','hook_run_uuid','spec','results','stdout','push','YCbYX','constants','fullTitle','yGSCx','HookStarted','shouldProcessEventForTesthub','currentTest','7120qVsCUx','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bFnZm','result','MOCHA','135008BxUgYk','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','%s\x20','ZOYCI','TestRunStarted','<section\x20class=\x22suite\x22>','tEmeS','FEPwe','LogCreated','MXHoi','Mocha','\x20\x20<dt>','hookAnalyticsId','uRfom','UJUIY','9845fmWiwz','TqiHT','najTm','MwEbl','EVENT','ltvBL','Vnozr','call','lYSvD','lrrMD','titlePath','KuRhf','ndWkA','file','scope','File\x20path\x20could\x20not\x20be\x20found','currentRetry','../../../helpers/test-observability/constants','_testEnv'];a27_0x1c75=function(){return _0x5b209b;};return a27_0x1c75();}const util=require(a27_0x573995(0x214)),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x573995(0x156)),Base=requireModule(a27_0x573995(0x154)),utils=requireModule('mocha/lib/utils.js'),color=Base['color'],Mocha=requireModule(a27_0x573995(0x1c3)),Runnable=requireModule(a27_0x573995(0x271)),{v4:uuidv4}=require(a27_0x573995(0x22a)),bsSetupHelper=require(a27_0x573995(0x156)),testhubUtils=require(a27_0x573995(0x1c7)),testHubConstants=require(a27_0x573995(0x16f)),{FRAMEWORKS}=require(a27_0x573995(0x265)),a27_0x9dda12={};a27_0x9dda12[a27_0x573995(0x213)]=a27_0x573995(0x1b3),a27_0x9dda12[a27_0x573995(0x20f)]='AFTER_ALL',a27_0x9dda12['before\x20each']=a27_0x573995(0x27e),a27_0x9dda12[a27_0x573995(0x17e)]=a27_0x573995(0x18c);const HOOK_TYPES_MAP=a27_0x9dda12,{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_0x573995(0x161)][a27_0x573995(0x23a)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x573995(0x23a)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x573995(0x1af)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x573995(0x231)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x573995(0x26c)),RequestQueueHandler=require(a27_0x573995(0x1c0)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x3ba2b3,_0x34f04d){const _0x1ff59c=a27_0x573995,_0x4dc9db={'ZOYCI':function(_0xf3c802,_0x5bfefe){return _0xf3c802===_0x5bfefe;},'FEPwe':_0x1ff59c(0x235),'wTcOS':function(_0x227a40,_0x8f1bef){return _0x227a40===_0x8f1bef;},'kvNwv':function(_0x5c7677,_0x143c59){return _0x5c7677+_0x143c59;},'TqiHT':function(_0x2684fb,_0x201394,_0x2342c1){return _0x2684fb(_0x201394,_0x2342c1);},'vxbWs':_0x1ff59c(0x1a5),'yUidW':_0x1ff59c(0x247),'qkMlA':_0x1ff59c(0x169),'QmSCw':'%s\x20-\x20%s','CrwBa':_0x1ff59c(0x163),'sZboL':function(_0x48b485,_0x5528bb){return _0x48b485===_0x5528bb;},'kPcnf':_0x1ff59c(0x1eb),'fViKx':function(_0x3fb125){return _0x3fb125();},'aBMPn':'HookRunStarted','haSJa':function(_0x1651cd,_0x58e168){return _0x1651cd===_0x58e168;},'dayoY':'HookRunFinished','PNIMq':'passed','RFibw':_0x1ff59c(0x230),'Vnozr':function(_0x10ceb0,_0x3e84b9,_0x486fa5){return _0x10ceb0(_0x3e84b9,_0x486fa5);},'kcZpy':_0x1ff59c(0x197),'UJUIY':_0x1ff59c(0x16b),'dFxdl':_0x1ff59c(0x201),'kQxjD':function(_0x55c1ad,_0x4bca94){return _0x55c1ad+_0x4bca94;},'MXHoi':function(_0xc9b85a,_0x72633b){return _0xc9b85a+_0x72633b;},'XOAGW':function(_0x40b711,_0x209f62,_0x1899c0){return _0x40b711(_0x209f62,_0x1899c0);},'iJmBK':_0x1ff59c(0x27c),'pPYFx':function(_0x3f81b5,_0x53069f){return _0x3f81b5+_0x53069f;},'MwEbl':_0x1ff59c(0x1f8),'dWOPw':_0x1ff59c(0x232),'LPkqs':function(_0x55507c,_0x5ad24e){return _0x55507c===_0x5ad24e;},'PIjsX':function(_0x992f49,_0x1feff3){return _0x992f49+_0x1feff3;},'BqCIs':function(_0x1e5608,_0x52495e,_0x392363){return _0x1e5608(_0x52495e,_0x392363);},'jQGRH':_0x1ff59c(0x1f9),'UyECZ':_0x1ff59c(0x275),'jzkIS':function(_0x427d3c,_0xc03373){return _0x427d3c===_0xc03373;},'ldrAL':_0x1ff59c(0x1c2),'FJabF':function(_0x2d850d,_0xa950be){return _0x2d850d===_0xa950be;},'hXtFG':_0x1ff59c(0x228),'jLLVo':function(_0x4d93f7,_0x19697d){return _0x4d93f7===_0x19697d;},'OpMdh':function(_0x207d54,_0x9b5881){return _0x207d54===_0x9b5881;},'GcSXA':function(_0x41b161,_0x564ce7){return _0x41b161===_0x564ce7;},'ThTXG':function(_0x29ab16,_0x1de795){return _0x29ab16===_0x1de795;},'leSvw':_0x1ff59c(0x190),'weefz':function(_0x5c399d,_0x271e94){return _0x5c399d===_0x271e94;},'vLCug':_0x1ff59c(0x180),'vyWub':function(_0x8f0250){return _0x8f0250();},'ltvBL':_0x1ff59c(0x1c5),'CKdwT':function(_0x321c81,_0xcd0031){return _0x321c81===_0xcd0031;},'FzNPT':function(_0x48fb60,_0x28f5e4){return _0x48fb60===_0x28f5e4;},'kxauC':function(_0x1475ea,_0x5cdd01){return _0x1475ea(_0x5cdd01);},'SRjPC':function(_0x27c36d,_0x10c35d){return _0x27c36d===_0x10c35d;},'yykGx':function(_0x35cb52){return _0x35cb52();},'BJnuf':_0x1ff59c(0x162),'Ojlyq':function(_0x1e1258,_0x58f9cb){return _0x1e1258!==_0x58f9cb;}};this[_0x1ff59c(0x27b)]=_0x34f04d['reporterOption'][_0x1ff59c(0x27b)],this['testObservability']=_0x4dc9db[_0x1ff59c(0x207)](isTestObservabilitySession),Base[_0x1ff59c(0x25b)](this,_0x3ba2b3,_0x34f04d),this['_indents']=0x0,this[_0x1ff59c(0x185)]=0x0,this['results']=[],this[_0x1ff59c(0x210)]=[],this[_0x1ff59c(0x1b2)]=0x0,this['_buildCreated']=![],this[_0x1ff59c(0x19a)]=[],this[_0x1ff59c(0x266)]=_0x4dc9db[_0x1ff59c(0x207)](getTestEnv),this[_0x1ff59c(0x1da)]=new PathHelper({'cwd':process[_0x1ff59c(0x14d)]()},this[_0x1ff59c(0x266)]['location_prefix']),this['_upstreamConfig']=_0x34f04d[_0x1ff59c(0x189)][_0x1ff59c(0x173)],this['registerListeners']();_0x4dc9db[_0x1ff59c(0x15f)](this[_0x1ff59c(0x27b)],_0x4dc9db[_0x1ff59c(0x20e)])&&(this['docHtml']='',this[_0x1ff59c(0x160)]=0x2);_0x3ba2b3[_0x1ff59c(0x19e)](EVENT_RUN_BEGIN,async()=>{const _0x4e74ec=_0x1ff59c;_0x4dc9db[_0x4e74ec(0x248)](this['type'],_0x4dc9db['FEPwe'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x1e5633=>{const _0x2ddc71=_0x1ff59c;if(_0x1e5633[_0x2ddc71(0x170)])return;if(_0x4dc9db['wTcOS'](this[_0x2ddc71(0x27b)],_0x4dc9db['FEPwe']))this[_0x2ddc71(0x1ce)](),Base[_0x2ddc71(0x1f4)](_0x4dc9db[_0x2ddc71(0x1e2)](_0x4dc9db['kvNwv'](this[_0x2ddc71(0x16e)](),_0x4dc9db['TqiHT'](color,_0x4dc9db[_0x2ddc71(0x187)],_0x4dc9db[_0x2ddc71(0x227)])),_0x4dc9db[_0x2ddc71(0x255)](color,_0x4dc9db[_0x2ddc71(0x27a)],_0x4dc9db[_0x2ddc71(0x177)])),_0x4dc9db[_0x2ddc71(0x1bf)],_0x1e5633[_0x2ddc71(0x1d8)],global['__platform__']);else _0x4dc9db[_0x2ddc71(0x167)](this[_0x2ddc71(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x24a)),++this[_0x2ddc71(0x160)],this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x1fe)+utils[_0x2ddc71(0x217)](_0x1e5633[_0x2ddc71(0x1d8)]+'\x20-\x20'+global[_0x2ddc71(0x1ad)])+_0x2ddc71(0x196)),this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x21abd8=>{const _0x20efa7=_0x1ff59c;if(_0x4dc9db[_0x20efa7(0x167)](testhubUtils[_0x20efa7(0x23e)](testHubConstants[_0x20efa7(0x258)][_0x20efa7(0x23d)]),!![])){if(!_0x21abd8['hookAnalyticsId'])_0x21abd8['hookAnalyticsId']=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4);else _0x21abd8[_0x20efa7(0x1e4)]&&(_0x21abd8[_0x20efa7(0x251)]=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4),delete _0x21abd8[_0x20efa7(0x1e4)]);_0x21abd8[_0x20efa7(0x216)]=new Date()[_0x20efa7(0x157)](),this[_0x20efa7(0x22d)]=_0x21abd8,await this['sendTestRunEvent'](_0x21abd8,undefined,![],_0x4dc9db['aBMPn']);}})['on'](EVENT_HOOK_END,async _0x1cf8a9=>{const _0x355940=_0x1ff59c;_0x4dc9db['haSJa'](testhubUtils[_0x355940(0x23e)](testHubConstants[_0x355940(0x258)][_0x355940(0x1cc)]),!![])&&(!_0x1cf8a9[_0x355940(0x1e4)]&&(_0x1cf8a9['markedStatus']=!![],await this[_0x355940(0x26e)](_0x1cf8a9,undefined,![],_0x4dc9db['dayoY'])));})['on'](EVENT_SUITE_END,_0x33dee9=>{const _0x453f09=_0x1ff59c,_0x359ad7={'IYhoJ':function(_0x340091,_0x5f2cdd){const _0x195a3c=a27_0x44a0;return _0x4dc9db[_0x195a3c(0x248)](_0x340091,_0x5f2cdd);},'rXbyx':_0x4dc9db[_0x453f09(0x1b9)],'sHXkz':function(_0xedc092,_0x4d49aa){const _0x327232=_0x453f09;return _0x4dc9db[_0x327232(0x248)](_0xedc092,_0x4d49aa);},'GciRD':_0x4dc9db[_0x453f09(0x1aa)],'DNzwu':function(_0x5c4aee,_0x74581){return _0x4dc9db['kvNwv'](_0x5c4aee,_0x74581);},'RBtqw':function(_0xf8d3b9,_0x1b0283,_0x5072ab){const _0x213e6d=_0x453f09;return _0x4dc9db[_0x213e6d(0x25a)](_0xf8d3b9,_0x1b0283,_0x5072ab);},'xOLXy':_0x4dc9db['kcZpy'],'UBDmG':function(_0x3d0bce,_0x432294,_0x1e4b40){return _0x4dc9db['Vnozr'](_0x3d0bce,_0x432294,_0x1e4b40);},'TwNUx':_0x4dc9db[_0x453f09(0x253)],'VfsvH':_0x4dc9db['dFxdl'],'GzPDm':function(_0x550317,_0x3b45f4){return _0x4dc9db['kQxjD'](_0x550317,_0x3b45f4);},'zQCUT':function(_0x33a102,_0x30b7b7){const _0x31672c=_0x453f09;return _0x4dc9db[_0x31672c(0x24e)](_0x33a102,_0x30b7b7);},'vGiGE':function(_0x5e7fbf,_0x14d6e2){return _0x4dc9db['MXHoi'](_0x5e7fbf,_0x14d6e2);},'DLNtd':function(_0x584f70,_0x15568a,_0x3c2e42){return _0x4dc9db['XOAGW'](_0x584f70,_0x15568a,_0x3c2e42);},'Vxfny':_0x4dc9db[_0x453f09(0x200)],'IjdUl':function(_0x2ab022,_0x31f841){return _0x4dc9db['pPYFx'](_0x2ab022,_0x31f841);},'zOFKl':function(_0x189226,_0x4860fe,_0x2da3db){const _0x39ebe9=_0x453f09;return _0x4dc9db[_0x39ebe9(0x255)](_0x189226,_0x4860fe,_0x2da3db);},'ZsNAq':_0x4dc9db['MwEbl'],'eEcDx':_0x4dc9db[_0x453f09(0x1d1)]};if(_0x33dee9[_0x453f09(0x170)])return;if(_0x4dc9db['LPkqs'](this['type'],_0x4dc9db[_0x453f09(0x24c)]))Base[_0x453f09(0x1f4)](),Base[_0x453f09(0x1f4)](_0x4dc9db[_0x453f09(0x152)](_0x4dc9db[_0x453f09(0x233)](this['indent'](),_0x4dc9db[_0x453f09(0x1e0)](color,_0x4dc9db['jQGRH'],_0x4dc9db['yUidW'])),_0x4dc9db[_0x453f09(0x25a)](color,_0x4dc9db[_0x453f09(0x27a)],_0x4dc9db[_0x453f09(0x177)])),_0x4dc9db[_0x453f09(0x1e3)],_0x33dee9['title'],global[_0x453f09(0x1ad)]),this[_0x453f09(0x236)][_0x453f09(0x1bc)](_0x5b77b8=>{const _0x15b662=_0x453f09;if(_0x359ad7['IYhoJ'](_0x5b77b8[_0x15b662(0x279)],_0x359ad7[_0x15b662(0x26a)])){var _0x283695;_0x359ad7[_0x15b662(0x26f)](_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x1a0)])?(_0x283695=_0x359ad7[_0x15b662(0x1b8)](_0x359ad7['DNzwu'](this['indent'](),_0x359ad7['RBtqw'](color,_0x359ad7[_0x15b662(0x1dc)],_0x359ad7[_0x15b662(0x1b8)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7['UBDmG'](color,_0x359ad7[_0x15b662(0x198)],_0x359ad7[_0x15b662(0x14c)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)])):(_0x283695=_0x359ad7['GzPDm'](_0x359ad7[_0x15b662(0x21b)](_0x359ad7['vGiGE'](this[_0x15b662(0x16e)](),_0x359ad7[_0x15b662(0x27d)](color,_0x359ad7['xOLXy'],_0x359ad7[_0x15b662(0x1c6)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7[_0x15b662(0x183)](color,_0x359ad7['TwNUx'],_0x359ad7[_0x15b662(0x14c)])),_0x359ad7[_0x15b662(0x27d)](color,_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x16a)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)],_0x5b77b8['duration']));}else Base['consoleLog'](_0x359ad7[_0x15b662(0x1e5)](this['indent'](),_0x359ad7['zOFKl'](color,_0x359ad7['ZsNAq'],_0x359ad7[_0x15b662(0x1ea)])),++this[_0x15b662(0x185)],_0x5b77b8[_0x15b662(0x1d8)]);}),this[_0x453f09(0x205)]();else _0x4dc9db[_0x453f09(0x221)](this[_0x453f09(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x453f09(0x1fd)](this['indent']()+_0x453f09(0x1d7)),--this[_0x453f09(0x160)],this[_0x453f09(0x1fd)](this[_0x453f09(0x16e)]()+_0x453f09(0x1a8)),--this[_0x453f09(0x160)]);Array['prototype'][_0x453f09(0x238)][_0x453f09(0x18e)](this['finalResults'],this['results']),this[_0x453f09(0x236)]=[];})['on'](EVENT_TEST_PASS,async _0x5af8bb=>{const _0x413a57=_0x1ff59c;this[_0x413a57(0x236)][_0x413a57(0x238)]({'speed':_0x5af8bb['speed'],'suite':_0x5af8bb[_0x413a57(0x226)]['title'],'title':_0x5af8bb['title'],'fullTitle':_0x5af8bb['fullTitle'](),'duration':_0x5af8bb[_0x413a57(0x155)],'state':_0x5af8bb[_0x413a57(0x279)],'err':{},'currentRetry':_0x5af8bb[_0x413a57(0x264)](),'titlePathV':_0x5af8bb['titlePath'](),'isPending':_0x5af8bb[_0x413a57(0x186)]()});if(_0x4dc9db[_0x413a57(0x1cf)](this['type'],_0x4dc9db[_0x413a57(0x1d0)]))_0x4dc9db[_0x413a57(0x1d5)](_0x5af8bb[_0x413a57(0x14e)],_0x4dc9db[_0x413a57(0x212)])?process['stdout'][_0x413a57(0x150)](Base[_0x413a57(0x1e8)](_0x4dc9db['jQGRH'],Base[_0x413a57(0x268)][_0x413a57(0x1c2)])):process['stdout']['write'](Base[_0x413a57(0x1e8)](_0x5af8bb[_0x413a57(0x14e)],Base[_0x413a57(0x268)][_0x413a57(0x1c2)]));else{if(_0x4dc9db[_0x413a57(0x277)](this[_0x413a57(0x27b)],_0x4dc9db[_0x413a57(0x20e)])){this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x1d8)])+_0x413a57(0x270)),this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x261)])+_0x413a57(0x270));var _0x46877e=utils[_0x413a57(0x217)](utils[_0x413a57(0x225)](_0x5af8bb[_0x413a57(0x188)]));this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x219)+_0x46877e+_0x413a57(0x17f));}}_0x4dc9db[_0x413a57(0x178)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5af8bb[_0x413a57(0x1e4)]&&(_0x5af8bb[_0x413a57(0x1e4)]=!![],await this['sendTestRunEvent'](_0x5af8bb)));})['on'](EVENT_TEST_FAIL,async(_0x3e179d,_0x5e8bdd)=>{const _0x45d3eb=_0x1ff59c;this[_0x45d3eb(0x236)][_0x45d3eb(0x238)]({'title':_0x3e179d[_0x45d3eb(0x1d8)],'suite':_0x3e179d[_0x45d3eb(0x226)][_0x45d3eb(0x1d8)],'state':_0x3e179d[_0x45d3eb(0x279)],'err':{'message':util[_0x45d3eb(0x19f)](_0x5e8bdd)},'fullTitle':_0x3e179d[_0x45d3eb(0x23b)](),'speed':_0x3e179d[_0x45d3eb(0x14e)],'currentRetry':_0x3e179d[_0x45d3eb(0x264)](),'titlePathV':_0x3e179d[_0x45d3eb(0x25e)]()});if(_0x4dc9db['GcSXA'](this[_0x45d3eb(0x27b)],_0x4dc9db['ldrAL']))process[_0x45d3eb(0x237)][_0x45d3eb(0x150)](Base[_0x45d3eb(0x1e8)](_0x4dc9db[_0x45d3eb(0x257)],Base[_0x45d3eb(0x268)][_0x45d3eb(0x1ae)]));else{if(_0x4dc9db[_0x45d3eb(0x18a)](this[_0x45d3eb(0x27b)],_0x4dc9db[_0x45d3eb(0x20e)])){const _0x427fd7=_0x4dc9db[_0x45d3eb(0x211)]['split']('|');let _0x177965=0x0;while(!![]){switch(_0x427fd7[_0x177965++]){case'0':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x3e179d[_0x45d3eb(0x261)])+_0x45d3eb(0x270));continue;case'1':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x1a1)+utils[_0x45d3eb(0x217)](_0x3e179d[_0x45d3eb(0x1d8)])+_0x45d3eb(0x270));continue;case'2':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x17b)+utils['escape'](_0x3e179d[_0x45d3eb(0x1a2)])+_0x45d3eb(0x159));continue;case'3':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x171)+_0x2f3b06+_0x45d3eb(0x17f));continue;case'4':var _0x2f3b06=utils[_0x45d3eb(0x217)](utils[_0x45d3eb(0x225)](_0x3e179d['body']));continue;}break;}}}if(_0x4dc9db[_0x45d3eb(0x1ef)](testhubUtils[_0x45d3eb(0x23e)](testHubConstants[_0x45d3eb(0x258)]['HookFinished']),!![])){if(!_0x3e179d[_0x45d3eb(0x1e4)]){_0x3e179d[_0x45d3eb(0x1e4)]=!![];if(_0x3e179d[_0x45d3eb(0x204)])await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd);else _0x3e179d[_0x45d3eb(0x251)]&&await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd,![],_0x4dc9db[_0x45d3eb(0x1c4)]);}}})['on'](EVENT_TEST_PENDING,async _0xf4189c=>{const _0xc810b1=_0x1ff59c;this[_0xc810b1(0x236)]['push']({'title':_0xf4189c[_0xc810b1(0x1d8)],'suite':_0xf4189c[_0xc810b1(0x226)]['title'],'state':_0xf4189c['state'],'err':{},'fullTitle':_0xf4189c[_0xc810b1(0x23b)](),'speed':_0xf4189c[_0xc810b1(0x14e)],'currentRetry':_0xf4189c[_0xc810b1(0x264)](),'titlePathV':_0xf4189c[_0xc810b1(0x25e)]()}),_0x4dc9db[_0xc810b1(0x1b1)](this[_0xc810b1(0x27b)],_0x4dc9db[_0xc810b1(0x1d0)])&&process[_0xc810b1(0x237)][_0xc810b1(0x150)](Base['color'](_0x4dc9db[_0xc810b1(0x269)],Base[_0xc810b1(0x268)][_0xc810b1(0x192)])),_0x4dc9db[_0xc810b1(0x18a)](testhubUtils[_0xc810b1(0x23e)](),!![])&&(!_0xf4189c[_0xc810b1(0x204)]&&(_0xf4189c[_0xc810b1(0x204)]=_0x4dc9db[_0xc810b1(0x1a3)](uuidv4)),!_0xf4189c[_0xc810b1(0x1e4)]&&(_0xf4189c[_0xc810b1(0x1e4)]=!![],await this[_0xc810b1(0x26e)](_0xf4189c,undefined,![],_0x4dc9db[_0xc810b1(0x259)])));})['on'](EVENT_TEST_BEGIN,async _0x25e92b=>{const _0x4056e8=_0x1ff59c;_0x4dc9db[_0x4056e8(0x15f)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x4056e8(0x17d)](_0x25e92b);})['on'](EVENT_TEST_END,async _0x277f7c=>{const _0x2534eb=_0x1ff59c;_0x4dc9db[_0x2534eb(0x278)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x277f7c[_0x2534eb(0x1e4)]&&(_0x277f7c[_0x2534eb(0x1e4)]=!![],await this['sendTestRunEvent'](_0x277f7c)));})[_0x1ff59c(0x19e)](EVENT_RUN_END,async()=>{const _0x43487e=_0x1ff59c;try{if(_0x4dc9db[_0x43487e(0x20b)](testhubUtils[_0x43487e(0x23e)](),!![])){const _0x183d0d=_0x4dc9db[_0x43487e(0x223)](getHookSkippedTests,this[_0x43487e(0x272)][_0x43487e(0x1f3)]);for(const _0x567f73 of _0x183d0d){!_0x567f73[_0x43487e(0x204)]&&(_0x567f73[_0x43487e(0x204)]=_0x4dc9db[_0x43487e(0x1a3)](uuidv4)),await this[_0x43487e(0x26e)](_0x567f73,undefined,![],_0x4dc9db['ltvBL']);}}}catch(_0x3f82c7){_0x4dc9db[_0x43487e(0x223)](debug,_0x43487e(0x1ff)+_0x3f82c7);}await requestQueueHandler[_0x43487e(0x21c)](),_0x4dc9db['SRjPC'](this['type'],_0x4dc9db[_0x43487e(0x20e)])&&Base[_0x43487e(0x1f4)](this[_0x43487e(0x17c)]);});if(this['type']&&![_0x4dc9db[_0x1ff59c(0x20e)],_0x4dc9db['BJnuf'],_0x4dc9db[_0x1ff59c(0x24c)],_0x4dc9db['ldrAL']][_0x1ff59c(0x153)](this['type'])){const _0x225b82=this['type']['trim']();this[_0x1ff59c(0x176)]=null;try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](requireModule,_0x1ff59c(0x202)+_0x225b82+_0x1ff59c(0x1ed));}catch{}if(_0x4dc9db['weefz'](this['Reporter'],null))try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](require,_0x225b82);}catch(_0x2b563f){console[_0x1ff59c(0x1b4)](_0x1ff59c(0x175)+_0x225b82);}if(_0x4dc9db[_0x1ff59c(0x208)](this[_0x1ff59c(0x176)],null)){const _0x1d1401={};_0x1d1401[_0x1ff59c(0x1f2)]=_0x34f04d['reporterOption'],this[_0x1ff59c(0x176)]=new this[(_0x1ff59c(0x176))](_0x3ba2b3,_0x1d1401);}}}[a27_0x573995(0x16e)](){const _0x15cccb=a27_0x573995,_0x299ec4={'YBTQi':function(_0x551fe8,_0x24b63a){return _0x551fe8(_0x24b63a);}};return _0x299ec4['YBTQi'](Array,this[_0x15cccb(0x1cd)])['join']('\x20\x20');}[a27_0x573995(0x1ce)](){const _0x36febb=a27_0x573995;this[_0x36febb(0x1cd)]++;}[a27_0x573995(0x205)](){this['_indents']--;}['docAppend'](_0xfff8fe){const _0x508b2d=a27_0x573995;this[_0x508b2d(0x17c)]+=_0xfff8fe;}[a27_0x573995(0x22e)](_0x208f68,_0x49ad69){const _0x1c3aa9=a27_0x573995,_0x28730d={'uRfom':function(_0x4611f7,_0x59edd2){return _0x4611f7(_0x59edd2);}},_0x4708bf={};_0x4708bf[_0x1c3aa9(0x1f6)]=_0x208f68,_0x4708bf[_0x1c3aa9(0x236)]=this[_0x1c3aa9(0x210)],_0x28730d[_0x1c3aa9(0x252)](_0x49ad69,_0x4708bf);}[a27_0x573995(0x18d)](){const _0xd4cc9c=a27_0x573995;process[_0xd4cc9c(0x195)](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)]),process['on'](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x166)][_0xd4cc9c(0x1e7)](this)),process['removeAllListeners'](_0xd4cc9c(0x206)+process['pid']),process['on'](_0xd4cc9c(0x206)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x1a9)][_0xd4cc9c(0x1e7)](this));}[a27_0x573995(0x17d)]=async _0x1baa1f=>{const _0x5905ee=a27_0x573995,_0xed826a={'eOJsh':function(_0x162309){return _0x162309();},'anUDX':function(_0x3674e8,_0x5eab09){return _0x3674e8>_0x5eab09;},'ZweQB':function(_0x25a75f,_0x35f57b){return _0x25a75f===_0x35f57b;},'lrrMD':_0x5905ee(0x249),'StxTL':function(_0x36081f,_0x4cbd0f){return _0x36081f(_0x4cbd0f);}};try{const _0x35d345=this[_0x5905ee(0x18b)];this['current_test']=_0x1baa1f,_0x1baa1f[_0x5905ee(0x1d9)]=null,_0x1baa1f[_0x5905ee(0x204)]=_0xed826a['eOJsh'](uuidv4),_0x1baa1f[_0x5905ee(0x216)]=new Date()[_0x5905ee(0x157)](),_0xed826a[_0x5905ee(0x14f)](_0x1baa1f[_0x5905ee(0x21a)],0x0)&&_0x35d345&&_0xed826a[_0x5905ee(0x21d)](_0x35d345[_0x5905ee(0x1d8)],_0x1baa1f['title'])?(_0x1baa1f[_0x5905ee(0x1d9)]=_0x35d345['testAnalyticsId'],await this[_0x5905ee(0x26e)](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]),_0x35d345[_0x5905ee(0x279)]=STATE_FAILED,await this[_0x5905ee(0x26e)](_0x35d345,undefined,!![])):await this['sendTestRunEvent'](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]);}catch(_0x41c5b4){_0xed826a[_0x5905ee(0x184)](debug,_0x5905ee(0x1bb)+_0x41c5b4);}};[a27_0x573995(0x26e)]=async(_0x3361d6,_0x505106=undefined,_0xf02869=![],_0x4345e9=a27_0x573995(0x1dd))=>{const _0x22aae6=a27_0x573995,_0x356af1={'chbdl':function(_0x27b6c5,_0x5e9112){return _0x27b6c5===_0x5e9112;},'rNxHV':function(_0x2e890a,_0x4860ca){return _0x2e890a!==_0x4860ca;},'bFnZm':_0x22aae6(0x1fc),'trKMI':'err','lYSvD':function(_0x77a698,_0xa5f2c){return _0x77a698!==_0xa5f2c;},'HfCjS':_0x22aae6(0x263),'uyrxW':_0x22aae6(0x24f),'ndWkA':'javascript','keLli':'TestRunSkipped','NjHnU':_0x22aae6(0x1b5),'hToqk':function(_0x21928a,_0x23556a){return _0x21928a-_0x23556a;},'jzoDP':_0x22aae6(0x158),'GfZpe':'UnhandledError','mUUst':function(_0x3731cb,_0x3fc643){return _0x3731cb===_0x3fc643;},'bPvke':'started_at','KuRhf':_0x22aae6(0x20c),'VrZoD':function(_0x24219e,_0x5b2c1f){return _0x24219e(_0x5b2c1f);},'qBXHw':function(_0x579ff0,_0x476243){return _0x579ff0===_0x476243;},'HsVcu':_0x22aae6(0x181),'eozPm':_0x22aae6(0x168),'BEnGd':_0x22aae6(0x1c1),'cOZkU':function(_0x34aee2,_0x3895c4){return _0x34aee2===_0x3895c4;},'XQTBS':'before\x20each','KarSm':'failure','FonFg':_0x22aae6(0x1e6),'Ybmvu':_0x22aae6(0x151),'zlFSk':'failure_reason_expanded','fctXJ':_0x22aae6(0x1ac),'MmcbQ':_0x22aae6(0x1dd),'AWKfv':function(_0xbff8d,_0x20e26b){return _0xbff8d===_0x20e26b;},'XYpPN':_0x22aae6(0x1ec),'najTm':'hook_run','kyyKb':_0x22aae6(0x17a),'cWnNg':function(_0x383725,_0x53ccf0){return _0x383725(_0x53ccf0);}};try{if(_0x3361d6[_0x22aae6(0x188)]&&_0x3361d6[_0x22aae6(0x188)][_0x22aae6(0x267)](/browserstack internal helper hook/))return;let _0x1ea81a=[];if(_0x356af1[_0x22aae6(0x193)](_0x3361d6[_0x22aae6(0x279)],STATE_FAILED)){if(_0x356af1[_0x22aae6(0x1d4)](_0x3361d6[_0x22aae6(0x1a2)],undefined))_0x1ea81a=_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)]?[_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)],_0x356af1[_0x22aae6(0x242)]]:[_0x3361d6[_0x22aae6(0x1a2)],_0x356af1['trKMI']];else _0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x1ea81a=[_0x505106,_0x356af1['trKMI']]:_0x1ea81a=[];}const _0x38d565=_0x356af1[_0x22aae6(0x25c)](_0x3361d6['err'],undefined)?_0x3361d6['err'][_0x22aae6(0x1b0)]():_0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x505106[_0x22aae6(0x1b0)]():undefined;let _0x16b244;try{_0x16b244=this[_0x22aae6(0x1b7)](_0x3361d6);}catch(_0x36fc3f){_0x16b244=null;}const _0x237f5c=_0x16b244?this['findGitConfig'](_0x16b244):null,_0x226867=_0x16b244?this['_paths']['prefixTestPath'](this[_0x22aae6(0x1b7)](_0x3361d6)):_0x356af1[_0x22aae6(0x1d6)],_0x20863f={'framework':_0x356af1['uyrxW'],'uuid':_0x3361d6[_0x22aae6(0x204)]||_0x3361d6['hookAnalyticsId'],'name':_0x3361d6[_0x22aae6(0x1d8)],'body':{'lang':_0x356af1[_0x22aae6(0x260)],'code':_0x3361d6['body']},'scope':this[_0x22aae6(0x262)](_0x3361d6),'scopes':this[_0x22aae6(0x203)](_0x3361d6),'identifier':_0x3361d6[_0x22aae6(0x23b)](),'file_name':_0x226867,'vc_filepath':_0x237f5c?path[_0x22aae6(0x1ca)](_0x237f5c,_0x16b244):null,'location':_0x226867,'result':_0x356af1[_0x22aae6(0x193)](_0x4345e9,_0x356af1['keLli'])?_0x356af1[_0x22aae6(0x1cb)]:this[_0x22aae6(0x20d)](_0x3361d6[_0x22aae6(0x279)]),'failure_reason':_0x38d565,'duration_in_ms':_0x3361d6[_0x22aae6(0x155)]||(_0x4345e9[_0x22aae6(0x267)](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?_0x356af1[_0x22aae6(0x19c)](Date['now'](),new Date(_0x3361d6[_0x22aae6(0x216)])[_0x22aae6(0x199)]()):null),'started_at':_0x3361d6[_0x22aae6(0x216)],'finished_at':_0x4345e9['match'](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?new Date()[_0x22aae6(0x157)]():null,'failure':failureData['apply'](null,_0x1ea81a),'failure_type':!_0x38d565?null:_0x38d565['match'](/AssertionError/)?_0x356af1['jzoDP']:_0x356af1[_0x22aae6(0x164)],'retry_of':_0x3361d6[_0x22aae6(0x1d9)]};testhubUtils[_0x22aae6(0x1fb)](_0x20863f,_0x4345e9,_0x3361d6,FRAMEWORKS['MOCHA']);_0x356af1[_0x22aae6(0x16d)](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])&&!_0x20863f[_0x356af1['bPvke']]&&(_0x20863f[_0x356af1['bPvke']]=_0x20863f[_0x356af1[_0x22aae6(0x25f)]]);if(_0x4345e9[_0x22aae6(0x267)](/HookRun/))[_0x20863f[_0x22aae6(0x1ec)],_0x20863f[_0x22aae6(0x21e)]]=_0x356af1[_0x22aae6(0x22c)](getHookDetails,_0x3361d6[_0x22aae6(0x23b)]()||_0x3361d6['originalTitle']||_0x3361d6['title']),_0x356af1[_0x22aae6(0x224)](_0x4345e9,_0x356af1[_0x22aae6(0x174)])&&(_0x356af1['lYSvD'](_0x20863f[_0x22aae6(0x243)],_0x356af1['eozPm'])&&(_0x20863f[_0x22aae6(0x243)]=_0x356af1['BEnGd']),_0x356af1['cOZkU'](_0x20863f[_0x22aae6(0x1ec)],_0x356af1[_0x22aae6(0x15c)])&&_0x356af1[_0x22aae6(0x16d)](_0x20863f[_0x22aae6(0x243)],_0x356af1[_0x22aae6(0x26b)])&&!_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]&&(_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]=!![],_0x3361d6['ctx'][_0x22aae6(0x23f)]['state']=STATE_FAILED,await this[_0x22aae6(0x26e)](_0x3361d6['ctx'][_0x22aae6(0x23f)],undefined,!![])));else _0x4345e9[_0x22aae6(0x267)](/TestRun/)&&_0x356af1['VrZoD'](mapTestHooks,_0x3361d6);const _0x4a62a8=_0x20863f[_0x356af1[_0x22aae6(0x1f7)]][0x0];_0x4a62a8&&(_0x20863f[_0x356af1[_0x22aae6(0x172)]]=_0x4a62a8[_0x356af1[_0x22aae6(0x273)]],_0x20863f[_0x356af1[_0x22aae6(0x1fa)]]=_0x4a62a8[_0x356af1['fctXJ']]);[_0x356af1[_0x22aae6(0x1db)],_0x356af1[_0x22aae6(0x15b)]][_0x22aae6(0x153)](_0x4345e9)&&(this[_0x22aae6(0x19a)][_0x22aae6(0x238)](_0x20863f),_0x20863f[_0x22aae6(0x215)]=_0x356af1['VrZoD'](getHooksForTest,_0x3361d6));const _0x42b5f2={'event_type':_0x356af1['AWKfv'](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])?_0x356af1[_0x22aae6(0x1db)]:_0x4345e9};_0x4345e9[_0x22aae6(0x267)](/HookRun/)?(_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]=HOOK_TYPES_MAP[_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]],_0x42b5f2[_0x356af1[_0x22aae6(0x256)]]=_0x20863f):_0x42b5f2[_0x356af1[_0x22aae6(0x19d)]]=_0x20863f,testhubUtils[_0x22aae6(0x1e1)](FRAMEWORKS[_0x22aae6(0x244)],_0x42b5f2),await SessionHandler[_0x22aae6(0x1ee)](_0x42b5f2);}catch(_0x5da340){_0x356af1['cWnNg'](debug,_0x22aae6(0x246)+_0x4345e9+_0x22aae6(0x21f)+_0x5da340);}};[a27_0x573995(0x218)](_0x7932bf){const _0x2a0e0f=a27_0x573995,_0x4c86d1={};_0x4c86d1[_0x2a0e0f(0x24b)]=function(_0x10f574,_0x1dea7d){return _0x10f574===_0x1dea7d;},_0x4c86d1['DabGi']=function(_0x52b228,_0x824efb){return _0x52b228===_0x824efb;},_0x4c86d1[_0x2a0e0f(0x239)]=_0x2a0e0f(0x1f5),_0x4c86d1[_0x2a0e0f(0x194)]=_0x2a0e0f(0x182);const _0x5bdbdb=_0x4c86d1,_0x3a1421=path[_0x2a0e0f(0x16c)];if(_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,null)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,'')||_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,_0x3a1421)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,path[_0x2a0e0f(0x179)](_0x7932bf)))return null;try{return fs['statSync'](path[_0x2a0e0f(0x1be)](_0x7932bf,_0x5bdbdb[_0x2a0e0f(0x239)],_0x5bdbdb[_0x2a0e0f(0x194)])),_0x7932bf;}catch(_0x2dadf1){const _0x3a4a01=path[_0x2a0e0f(0x179)](_0x7932bf);return this[_0x2a0e0f(0x218)](_0x3a4a01);}}[a27_0x573995(0x166)]=async _0x58cf9f=>{const _0x138d45=a27_0x573995,_0x5e5034={'huVSb':_0x138d45(0x24d),'XtsmF':function(_0x8737d7,_0x3abd4f){return _0x8737d7(_0x3abd4f);}};try{this[_0x138d45(0x22d)]&&!this[_0x138d45(0x22d)][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x234)]=this['current_hook'][_0x138d45(0x251)]);!_0x58cf9f[_0x138d45(0x234)]&&this['current_test']&&!this['current_test'][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x220)]=this[_0x138d45(0x18b)][_0x138d45(0x204)]);if(_0x58cf9f[_0x138d45(0x234)]||_0x58cf9f[_0x138d45(0x220)]){const _0x966182={};_0x966182[_0x138d45(0x15e)]=_0x5e5034[_0x138d45(0x1f1)],_0x966182['logs']=[_0x58cf9f],await SessionHandler[_0x138d45(0x1ee)](_0x966182);}}catch(_0x290323){_0x5e5034[_0x138d45(0x1d2)](debug,_0x138d45(0x241)+_0x290323);}};['appendTestPlatform']=async _0x29f118=>{const _0x1ea398=a27_0x573995,_0x4c7b51={'yGSCx':_0x1ea398(0x1b6),'UEZvB':_0x1ea398(0x26d),'jjnjj':function(_0x400263,_0x230733){return _0x400263(_0x230733);}};try{const _0x365e80={};_0x365e80['uuid']=_0x29f118[_0x1ea398(0x22a)]||this['current_test'][_0x1ea398(0x204)],_0x365e80[_0x1ea398(0x274)]=_0x29f118[_0x4c7b51[_0x1ea398(0x23c)]];const _0x5d5fbb=_0x365e80,_0x282671={};_0x282671[_0x1ea398(0x15e)]=_0x4c7b51[_0x1ea398(0x1df)],_0x282671[_0x1ea398(0x17a)]=_0x5d5fbb,await SessionHandler[_0x1ea398(0x1ee)](_0x282671);}catch(_0x5d7f34){_0x4c7b51[_0x1ea398(0x1ba)](debug,_0x1ea398(0x15a)+_0x5d7f34);}};['analyticsResult'](_0x19768f){const _0x13908c=a27_0x573995,_0x51b708={};_0x51b708['JuxTr']=_0x13908c(0x1c1),_0x51b708[_0x13908c(0x1c8)]=_0x13908c(0x180),_0x51b708['vRRuG']=_0x13908c(0x168);const _0x102fac=_0x51b708,_0x34598a={};return _0x34598a[STATE_PASSED]=_0x102fac['JuxTr'],_0x34598a[STATE_PENDING]=_0x102fac[_0x13908c(0x1c8)],_0x34598a[STATE_FAILED]=_0x102fac['vRRuG'],_0x34598a[_0x19768f];}['scope'](_0x562283){const _0x8e7824=a27_0x573995,_0x4621be={};_0x4621be[_0x8e7824(0x191)]=function(_0x5dd24d,_0x41c0eb){return _0x5dd24d-_0x41c0eb;};const _0x3ee87f=_0x4621be,_0x343227=_0x562283[_0x8e7824(0x25e)]();return _0x343227[_0x8e7824(0x15d)](0x0,_0x3ee87f['PCbxN'](_0x343227[_0x8e7824(0x1a7)],0x1))[_0x8e7824(0x1be)]('\x20');}[a27_0x573995(0x203)](_0x1af560){const _0x4d57ac=a27_0x573995,_0x3d9689={};_0x3d9689[_0x4d57ac(0x1c9)]=function(_0xa83e82,_0x58e2f7){return _0xa83e82-_0x58e2f7;};const _0x254d32=_0x3d9689,_0x5eb74d=_0x1af560[_0x4d57ac(0x25e)]();return _0x5eb74d[_0x4d57ac(0x15d)](0x0,_0x254d32[_0x4d57ac(0x1c9)](_0x5eb74d[_0x4d57ac(0x1a7)],0x1));}[a27_0x573995(0x1b7)](_0x1285db){const _0x5a3420=a27_0x573995,_0x2e0134={};_0x2e0134['lddrR']=function(_0x1e2f4e,_0x1cc29a){return _0x1e2f4e>_0x1cc29a;};const _0x289858=_0x2e0134;if(_0x1285db[_0x5a3420(0x261)])return _0x1285db[_0x5a3420(0x261)];if(_0x1285db[_0x5a3420(0x1e9)]){const _0x5d19fc=_0x1285db[_0x5a3420(0x1e9)]['currentTest']?this[_0x5a3420(0x1b7)](_0x1285db['ctx'][_0x5a3420(0x23f)]):null;if(_0x5d19fc)return _0x5d19fc;}if(_0x1285db['parent']){const _0x10867a=this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)])||(_0x1285db[_0x5a3420(0x226)]['ctx']&&_0x1285db[_0x5a3420(0x226)]['ctx'][_0x5a3420(0x23f)]?this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x1e9)]['currentTest']):null);if(_0x10867a)return _0x10867a;_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)]&&_0x289858['lddrR'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)][_0x5a3420(0x1a7)],0x0)&&_0x1285db['parent'][_0x5a3420(0x20a)][_0x5a3420(0x1bc)](_0x2ea91d=>{const _0x2d157f=_0x5a3420,_0x23a359=_0x2ea91d[_0x2d157f(0x1e9)]?this[_0x2d157f(0x1b7)](_0x2ea91d['ctx']):null;if(_0x23a359)return _0x23a359;});}return null;}}module['exports']=MyReporter;
|
|
1
|
+
'use strict';const a27_0x868d3b=a27_0x50a6;(function(_0x2a15aa,_0x46d0a7){const _0x3d8954=a27_0x50a6,_0x179f2e=_0x2a15aa();while(!![]){try{const _0x37377f=-parseInt(_0x3d8954(0x258))/0x1+parseInt(_0x3d8954(0x203))/0x2+parseInt(_0x3d8954(0x205))/0x3*(-parseInt(_0x3d8954(0x1ff))/0x4)+parseInt(_0x3d8954(0x223))/0x5+parseInt(_0x3d8954(0x1eb))/0x6*(parseInt(_0x3d8954(0x243))/0x7)+parseInt(_0x3d8954(0x201))/0x8+parseInt(_0x3d8954(0x23e))/0x9*(parseInt(_0x3d8954(0x20c))/0xa);if(_0x37377f===_0x46d0a7)break;else _0x179f2e['push'](_0x179f2e['shift']());}catch(_0x2f55aa){_0x179f2e['push'](_0x179f2e['shift']());}}}(a27_0x1ac4,0xd12fc));const util=require(a27_0x868d3b(0x266)),fs=require('fs'),path=require(a27_0x868d3b(0x1a6)),{requireModule}=require(a27_0x868d3b(0x1f6)),Base=requireModule(a27_0x868d3b(0x1b4)),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x868d3b(0x248)],Mocha=requireModule(a27_0x868d3b(0x175)),Runnable=requireModule(a27_0x868d3b(0x209)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a27_0x868d3b(0x1f6)),testhubUtils=require(a27_0x868d3b(0x198)),testHubConstants=require(a27_0x868d3b(0x168)),{FRAMEWORKS}=require(a27_0x868d3b(0x1b6)),a27_0x45410c={};function a27_0x1ac4(){const _0x206fb7=['currentTest','Mocha','uAyWm','analyticsResult','awguo','TestRunStarted','state','DnyJS','TkfAY','originalTitle','jGgVU','File\x20path\x20could\x20not\x20be\x20found','1119796BAlQBA','location_prefix','vTaLU','RUNNING','FTgfs','bjhxA','failure_backtrace','aDEUs','fullTitle','markedStatus','COMPLETED','config','</code></pre></dd>','CBTSessionCreated','util','TestRunSkipped','JtMey','cwd','name','call','hook_run','root','msXwI','yoxAK','doc','consoleLog','mdHcr','aTQUu','AFTER_ALL','ORccf','comma','_currentRetry','javascript','docHtml','shouldProcessEventForTesthub','prototype','dirname','before\x20each','\x20\x20%d)\x20%s','GQGaL','ArAre','ecFbM','plJfe','__platform__','green','GXCgd','getRootParentFile','%s\x20','sendTestRunEvent','finished_at','current_hook','finalResults','forEach','BEFORE_EACH','QAMuO','fail','fast','mKXxA','usBQV','GbynX','runner','retryOf','file','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','SayGn','test_run','</h1>','../../../helpers/testhub/constants','titlePath','hook_run_uuid','GiFSP','testStarted','escape','FVPAr','tXBfH','scope','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','MTxnp','Rzroa','qtDGQ','mocha','ANkLJ','getInstance','ZYcSq','now','../../../helpers/test-observability/requestQueueHandler','failure','hookAnalyticsId','statSync','registerListeners','\x20\x20<dd\x20class=\x22error\x22><pre><code>','</dd>','EOQFy','.git','Reporter','push','vgkes','passed','Lvuhs','MOCHA','wORvZ','stdout','__indents','error','qrmKO','YHPSF','OcvCf','event_type','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failCount','toISOString','xunit','body','currentRetry','</dl>','../../../helpers/testhub/utils','increaseIndent','type','nSVxy','iksuG','failureCount','oRAIV','kIffI','qCCEz','uuid','HookRunFinished','appendTestPlatform','tXWEV','LHZpS','path','once','split','Muoit','docAppend','expanded','symbols','HookStarted','bright\x20yellow','SiOmF','suites','setCurrentTestData','err','suiteCount','mocha/lib/reporters/base.js','vhOVu','../../../helpers/test-observability/constants','iYaGs','_buildCreated','IpfBC','fYwrK','LogCreated','edsvs','\x20%s','apply','decreaseIndent','test_run_uuid','current_test','checkmark','hOAua','KPSkB','miLJc','<section\x20class=\x22suite\x22>','MTfye','logs','sep','backtrace','ctx','eoQFw','wpjfR','skipped','AFTER_EACH','_paths','match','AKcCZ','relative','yxpRg','mocha/lib/reporters/','efCPK','KFrXm','rGhWj','exports','bind','pumWD','../../../helpers/test-observability/sessionHandler','azydF','reporterOption','failed','result','\x20\x20<dt\x20class=\x22error\x22>','slow','cypzx','../../../helpers/test-observability/utils','EVENT','Runner','inspect','done','Wracp','SCYZv','42XDTZdX','LKcNP','slice','join','results','multiple','pid','ZOsKL','MSbDr','Hctcf','shutdown','../../../helpers/helper','pending','bNSCI','\x20(%dms)','getTime','speed','hooks','BAAvA','_indents','6813948wGgPKU','HraSy','4618400hTvJGg','after\x20each','1824534DHOpzr','EfJye','3AZruRD','testObservability','rYoqv','bs:addPlatformDetails:','mocha/lib/runnable.js','ZheIt','HookRunStarted','20lnaaeS','clean','arBjC','SIcXL','%s\x20-\x20%s','eYkEx','_testEnv','removeAllListeners','Failed\x20to\x20load\x20reporter\x20','eBiDz','toString','bs:addLog:','HookFinished','../test-observability/mochaUtils','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','testAnalyticsId','_upstreamConfig','aDPJA','rzOhH','fXiLw','title','BEFORE_ALL','indent','2430065ObMiun','uploadEventData','length','fHHZo','parent','hook_type','_testResults','Krurq','write','\x20\x20<dd\x20class=\x22error\x22>','lzaCz','prefixTestPath','duration','failure_reason_expanded','constants','includes','dot','CgYQo','before\x20all','sQEAN','suite','reporterOptions','</section>','yrZwI','SVgBD','BbkCU','\x20with\x20error\x20:\x20','5022846RWpNeJ','appendTestItemLog','AdReH','bang','trim','588343SpRZcF','jmueM','</dt>','.js','scopes','color','findGitConfig','fJtrK','KhNKb'];a27_0x1ac4=function(){return _0x206fb7;};return a27_0x1ac4();}a27_0x45410c[a27_0x868d3b(0x235)]=a27_0x868d3b(0x221),a27_0x45410c['after\x20all']=a27_0x868d3b(0x274),a27_0x45410c[a27_0x868d3b(0x27d)]=a27_0x868d3b(0x15a),a27_0x45410c[a27_0x868d3b(0x202)]=a27_0x868d3b(0x1cf);const HOOK_TYPES_MAP=a27_0x45410c,{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_0x868d3b(0x1e6)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x868d3b(0x231)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x868d3b(0x219)),{consoleHolder}=require(a27_0x868d3b(0x1b6)),SessionHandler=require(a27_0x868d3b(0x1dc)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x868d3b(0x1e4)),RequestQueueHandler=require(a27_0x868d3b(0x17a)),requestQueueHandler=RequestQueueHandler[a27_0x868d3b(0x177)]();function a27_0x50a6(_0x437fdd,_0x90e027){const _0x1ac4d2=a27_0x1ac4();return a27_0x50a6=function(_0x50a68c,_0x274c96){_0x50a68c=_0x50a68c-0x150;let _0x2eb812=_0x1ac4d2[_0x50a68c];return _0x2eb812;},a27_0x50a6(_0x437fdd,_0x90e027);}class MyReporter{constructor(_0x4170e2,_0x37b0d6){const _0x3686f9=a27_0x868d3b,_0xfe89d4={'wORvZ':function(_0x171cce,_0x33b3b8){return _0x171cce===_0x33b3b8;},'kIffI':'spec','GQGaL':function(_0x37d09b,_0x23a94b){return _0x37d09b+_0x23a94b;},'FVPAr':function(_0x180712,_0x1ea3f8){return _0x180712+_0x1ea3f8;},'ZOsKL':function(_0x53d031,_0x1d9ffd,_0x83eef9){return _0x53d031(_0x1d9ffd,_0x83eef9);},'MTxnp':_0x3686f9(0x151),'CgYQo':_0x3686f9(0x154),'ANkLJ':function(_0x413302,_0x257078,_0x53a3d3){return _0x413302(_0x257078,_0x53a3d3);},'vTaLU':'light','HraSy':_0x3686f9(0x210),'SayGn':_0x3686f9(0x25b),'EOQFy':function(_0xfaaac6,_0x49f645){return _0xfaaac6===_0x49f645;},'usBQV':_0x3686f9(0x270),'Hctcf':function(_0x470670){return _0x470670();},'tISEm':function(_0x4e508b){return _0x4e508b();},'rzOhH':_0x3686f9(0x20b),'qiHWo':function(_0x5cdf5c,_0x559ee9){return _0x5cdf5c===_0x559ee9;},'bNSCI':'HookRunFinished','nSVxy':function(_0x1e5dd2,_0x8f21a0){return _0x1e5dd2===_0x8f21a0;},'yrZwI':_0x3686f9(0x186),'IpfBC':_0x3686f9(0x15d),'KFrXm':function(_0x341787,_0x3d397c){return _0x341787+_0x3d397c;},'wpjfR':_0x3686f9(0x1c2),'plJfe':function(_0x401c74,_0xca323c,_0xae14e7){return _0x401c74(_0xca323c,_0xae14e7);},'pumWD':'pass','BbkCU':_0x3686f9(0x1bd),'ZYcSq':function(_0x42269e,_0x2dc68e){return _0x42269e+_0x2dc68e;},'Krurq':function(_0x2f4297,_0xe8f02c){return _0x2f4297+_0xe8f02c;},'jGgVU':function(_0x4bb776,_0x3e60bf,_0x5759b7){return _0x4bb776(_0x3e60bf,_0x5759b7);},'ONGFp':function(_0x5b19b6,_0x42d32e,_0x1a1c58){return _0x5b19b6(_0x42d32e,_0x1a1c58);},'msXwI':_0x3686f9(0x1f9),'TkfAY':function(_0x111bd9,_0x4045ea){return _0x111bd9+_0x4045ea;},'SIcXL':_0x3686f9(0x15c),'GXCgd':_0x3686f9(0x27e),'edsvs':_0x3686f9(0x1ae),'SiOmF':_0x3686f9(0x262),'LKcNP':_0x3686f9(0x233),'Lvuhs':function(_0x211f0c,_0x434367){return _0x211f0c===_0x434367;},'ORccf':_0x3686f9(0x1e2),'brjvj':function(_0x4bcc20,_0x190bc4){return _0x4bcc20===_0x190bc4;},'MTfye':function(_0x3e1d09,_0x124c03){return _0x3e1d09===_0x124c03;},'DnyJS':function(_0x3f0426,_0x226460){return _0x3f0426===_0x226460;},'lzaCz':'0|1|4|2|3','awguo':function(_0x43ce4b,_0x16de6b){return _0x43ce4b===_0x16de6b;},'uvPCJ':'pending','fJtrK':function(_0x3c76d7){return _0x3c76d7();},'vgkes':_0x3686f9(0x267),'Rzroa':function(_0x3660af,_0x2f8697){return _0x3660af===_0x2f8697;},'YHPSF':function(_0x1f650a,_0x771608){return _0x1f650a===_0x771608;},'aDEUs':function(_0x2a6934,_0x16cb53){return _0x2a6934(_0x16cb53);},'PnecC':function(_0x318f15){return _0x318f15();},'QAMuO':function(_0x369eed,_0x1c3585){return _0x369eed===_0x1c3585;},'LHZpS':function(_0x1f12e1){return _0x1f12e1();},'sQEAN':function(_0xb56d71){return _0xb56d71();},'pWvyn':_0x3686f9(0x194),'jmueM':function(_0x44f7a5,_0xcbb114){return _0x44f7a5===_0xcbb114;},'KPSkB':function(_0x459c67,_0x33a008){return _0x459c67(_0x33a008);},'qCCEz':function(_0x5c28e9,_0x1f4339){return _0x5c28e9!==_0x1f4339;}};this['type']=_0x37b0d6['reporterOption']['type'],this[_0x3686f9(0x206)]=_0xfe89d4[_0x3686f9(0x1a5)](isTestObservabilitySession),Base[_0x3686f9(0x26b)](this,_0x4170e2,_0x37b0d6),this[_0x3686f9(0x1fe)]=0x0,this['failCount']=0x0,this[_0x3686f9(0x1ef)]=[],this[_0x3686f9(0x158)]=[],this[_0x3686f9(0x1b3)]=0x0,this[_0x3686f9(0x1b8)]=![],this[_0x3686f9(0x229)]=[],this['_testEnv']=_0xfe89d4[_0x3686f9(0x236)](getTestEnv),this[_0x3686f9(0x1d0)]=new PathHelper({'cwd':process[_0x3686f9(0x269)]()},this[_0x3686f9(0x212)][_0x3686f9(0x259)]),this[_0x3686f9(0x21c)]=_0x37b0d6[_0x3686f9(0x1de)]['bsConfig'],this[_0x3686f9(0x17e)]();_0xfe89d4[_0x3686f9(0x189)](this['type'],_0xfe89d4['usBQV'])&&(this[_0x3686f9(0x279)]='',this[_0x3686f9(0x18b)]=0x2);_0x4170e2[_0x3686f9(0x1a7)](EVENT_RUN_BEGIN,async()=>{const _0x1e1972=_0x3686f9;_0xfe89d4[_0x1e1972(0x189)](this[_0x1e1972(0x19a)],_0xfe89d4[_0x1e1972(0x19f)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x382fec=>{const _0x1a9e88=_0x3686f9;if(_0x382fec[_0x1a9e88(0x26d)])return;if(_0xfe89d4[_0x1a9e88(0x189)](this[_0x1a9e88(0x19a)],_0xfe89d4['kIffI']))this[_0x1a9e88(0x199)](),Base[_0x1a9e88(0x271)](_0xfe89d4[_0x1a9e88(0x27f)](_0xfe89d4[_0x1a9e88(0x16e)](this[_0x1a9e88(0x222)](),_0xfe89d4[_0x1a9e88(0x1f2)](color,_0xfe89d4[_0x1a9e88(0x172)],_0xfe89d4[_0x1a9e88(0x234)])),_0xfe89d4[_0x1a9e88(0x176)](color,_0xfe89d4[_0x1a9e88(0x25a)],_0xfe89d4['HraSy'])),_0xfe89d4[_0x1a9e88(0x165)],_0x382fec['title'],global[_0x1a9e88(0x150)]);else _0xfe89d4[_0x1a9e88(0x181)](this[_0x1a9e88(0x19a)],_0xfe89d4['usBQV'])&&(this[_0x1a9e88(0x1aa)](this[_0x1a9e88(0x222)]()+_0x1a9e88(0x1c6)),++this[_0x1a9e88(0x18b)],this[_0x1a9e88(0x1aa)](this[_0x1a9e88(0x222)]()+'<h1>'+utils[_0x1a9e88(0x16d)](_0x382fec[_0x1a9e88(0x220)]+'\x20-\x20'+global['__platform__'])+_0x1a9e88(0x167)),this['docAppend'](this['indent']()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x5a0025=>{const _0x48ac0f=_0x3686f9;if(_0xfe89d4[_0x48ac0f(0x181)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x48ac0f(0x1e5)][_0x48ac0f(0x1ad)]),!![])){if(!_0x5a0025[_0x48ac0f(0x17c)])_0x5a0025[_0x48ac0f(0x17c)]=_0xfe89d4[_0x48ac0f(0x1f4)](uuidv4);else _0x5a0025[_0x48ac0f(0x261)]&&(_0x5a0025[_0x48ac0f(0x17c)]=_0xfe89d4['tISEm'](uuidv4),delete _0x5a0025[_0x48ac0f(0x261)]);_0x5a0025['started_at']=new Date()[_0x48ac0f(0x193)](),this[_0x48ac0f(0x157)]=_0x5a0025,await this['sendTestRunEvent'](_0x5a0025,undefined,![],_0xfe89d4[_0x48ac0f(0x21e)]);}})['on'](EVENT_HOOK_END,async _0x1b3ca3=>{const _0x5d6d74=_0x3686f9;_0xfe89d4['qiHWo'](testhubUtils[_0x5d6d74(0x27a)](testHubConstants[_0x5d6d74(0x1e5)][_0x5d6d74(0x218)]),!![])&&(!_0x1b3ca3[_0x5d6d74(0x261)]&&(_0x1b3ca3['markedStatus']=!![],await this['sendTestRunEvent'](_0x1b3ca3,undefined,![],_0xfe89d4[_0x5d6d74(0x1f8)])));})['on'](EVENT_SUITE_END,_0x2392cc=>{const _0x73609c=_0x3686f9;if(_0x2392cc[_0x73609c(0x26d)])return;if(_0xfe89d4['EOQFy'](this[_0x73609c(0x19a)],_0xfe89d4[_0x73609c(0x19f)]))Base[_0x73609c(0x271)](),Base[_0x73609c(0x271)](_0xfe89d4[_0x73609c(0x178)](_0xfe89d4[_0x73609c(0x27f)](this[_0x73609c(0x222)](),_0xfe89d4[_0x73609c(0x282)](color,_0xfe89d4[_0x73609c(0x1bc)],_0xfe89d4[_0x73609c(0x234)])),_0xfe89d4['ZOsKL'](color,_0xfe89d4[_0x73609c(0x25a)],_0xfe89d4[_0x73609c(0x200)])),_0xfe89d4[_0x73609c(0x1af)],_0x2392cc[_0x73609c(0x220)],global[_0x73609c(0x150)]),this[_0x73609c(0x1ef)][_0x73609c(0x159)](_0x49973f=>{const _0x3de754=_0x73609c;if(_0xfe89d4[_0x3de754(0x19b)](_0x49973f['state'],_0xfe89d4[_0x3de754(0x23a)])){var _0x1b2fbe;_0xfe89d4[_0x3de754(0x19b)](_0x49973f['speed'],_0xfe89d4[_0x3de754(0x1b9)])?(_0x1b2fbe=_0xfe89d4[_0x3de754(0x1d7)](_0xfe89d4[_0x3de754(0x27f)](this[_0x3de754(0x222)](),_0xfe89d4[_0x3de754(0x176)](color,_0xfe89d4[_0x3de754(0x1cd)],_0xfe89d4['FVPAr']('\x20\x20',Base[_0x3de754(0x1ac)]['ok']))),_0xfe89d4[_0x3de754(0x282)](color,_0xfe89d4['pumWD'],_0xfe89d4[_0x3de754(0x23c)])),Base[_0x3de754(0x271)](_0x1b2fbe,_0x49973f[_0x3de754(0x220)])):(_0x1b2fbe=_0xfe89d4[_0x3de754(0x178)](_0xfe89d4[_0x3de754(0x22a)](_0xfe89d4[_0x3de754(0x27f)](this['indent'](),_0xfe89d4['plJfe'](color,_0xfe89d4[_0x3de754(0x1cd)],_0xfe89d4[_0x3de754(0x27f)]('\x20\x20',Base[_0x3de754(0x1ac)]['ok']))),_0xfe89d4[_0x3de754(0x256)](color,_0xfe89d4[_0x3de754(0x1db)],_0xfe89d4[_0x3de754(0x23c)])),_0xfe89d4['ONGFp'](color,_0x49973f[_0x3de754(0x1fb)],_0xfe89d4[_0x3de754(0x26e)])),Base[_0x3de754(0x271)](_0x1b2fbe,_0x49973f[_0x3de754(0x220)],_0x49973f[_0x3de754(0x22f)]));}else Base['consoleLog'](_0xfe89d4[_0x3de754(0x254)](this[_0x3de754(0x222)](),_0xfe89d4[_0x3de754(0x282)](color,_0xfe89d4[_0x3de754(0x20f)],_0xfe89d4[_0x3de754(0x152)])),++this[_0x3de754(0x192)],_0x49973f[_0x3de754(0x220)]);}),this[_0x73609c(0x1bf)]();else _0xfe89d4[_0x73609c(0x181)](this[_0x73609c(0x19a)],_0xfe89d4[_0x73609c(0x15f)])&&(this['docAppend'](this[_0x73609c(0x222)]()+_0x73609c(0x197)),--this[_0x73609c(0x18b)],this[_0x73609c(0x1aa)](this[_0x73609c(0x222)]()+_0x73609c(0x239)),--this[_0x73609c(0x18b)]);Array[_0x73609c(0x27b)][_0x73609c(0x184)][_0x73609c(0x1be)](this[_0x73609c(0x158)],this[_0x73609c(0x1ef)]),this[_0x73609c(0x1ef)]=[];})['on'](EVENT_TEST_PASS,async _0x5c297c=>{const _0x15ef56=_0x3686f9;this['results'][_0x15ef56(0x184)]({'speed':_0x5c297c[_0x15ef56(0x1fb)],'suite':_0x5c297c['parent'][_0x15ef56(0x220)],'title':_0x5c297c[_0x15ef56(0x220)],'fullTitle':_0x5c297c[_0x15ef56(0x260)](),'duration':_0x5c297c[_0x15ef56(0x22f)],'state':_0x5c297c['state'],'err':{},'currentRetry':_0x5c297c[_0x15ef56(0x196)](),'titlePathV':_0x5c297c[_0x15ef56(0x169)](),'isPending':_0x5c297c['isPending']()});if(_0xfe89d4['nSVxy'](this['type'],_0xfe89d4['LKcNP']))_0xfe89d4[_0x15ef56(0x187)](_0x5c297c['speed'],_0xfe89d4[_0x15ef56(0x275)])?process[_0x15ef56(0x18a)][_0x15ef56(0x22b)](Base[_0x15ef56(0x248)](_0xfe89d4[_0x15ef56(0x1bc)],Base[_0x15ef56(0x1ac)][_0x15ef56(0x233)])):process[_0x15ef56(0x18a)]['write'](Base['color'](_0x5c297c[_0x15ef56(0x1fb)],Base[_0x15ef56(0x1ac)][_0x15ef56(0x233)]));else{if(_0xfe89d4['brjvj'](this[_0x15ef56(0x19a)],_0xfe89d4['usBQV'])){this['docAppend'](this[_0x15ef56(0x222)]()+'\x20\x20<dt>'+utils[_0x15ef56(0x16d)](_0x5c297c[_0x15ef56(0x220)])+_0x15ef56(0x245)),this[_0x15ef56(0x1aa)](this[_0x15ef56(0x222)]()+'\x20\x20<dt>'+utils[_0x15ef56(0x16d)](_0x5c297c[_0x15ef56(0x163)])+'</dt>');var _0x3f6c07=utils[_0x15ef56(0x16d)](utils[_0x15ef56(0x20d)](_0x5c297c[_0x15ef56(0x195)]));this['docAppend'](this['indent']()+'\x20\x20<dd><pre><code>'+_0x3f6c07+_0x15ef56(0x264));}}_0xfe89d4[_0x15ef56(0x19b)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5c297c[_0x15ef56(0x261)]&&(_0x5c297c[_0x15ef56(0x261)]=!![],await this[_0x15ef56(0x155)](_0x5c297c)));})['on'](EVENT_TEST_FAIL,async(_0x6b94ae,_0x434db3)=>{const _0x4eaffa=_0x3686f9;this[_0x4eaffa(0x1ef)][_0x4eaffa(0x184)]({'title':_0x6b94ae[_0x4eaffa(0x220)],'suite':_0x6b94ae['parent'][_0x4eaffa(0x220)],'state':_0x6b94ae[_0x4eaffa(0x252)],'err':{'message':util[_0x4eaffa(0x1e7)](_0x434db3)},'fullTitle':_0x6b94ae[_0x4eaffa(0x260)](),'speed':_0x6b94ae[_0x4eaffa(0x1fb)],'currentRetry':_0x6b94ae['currentRetry'](),'titlePathV':_0x6b94ae[_0x4eaffa(0x169)]()});if(_0xfe89d4[_0x4eaffa(0x1c7)](this[_0x4eaffa(0x19a)],_0xfe89d4['LKcNP']))process[_0x4eaffa(0x18a)][_0x4eaffa(0x22b)](Base['color'](_0xfe89d4['SIcXL'],Base[_0x4eaffa(0x1ac)][_0x4eaffa(0x241)]));else{if(_0xfe89d4[_0x4eaffa(0x253)](this['type'],_0xfe89d4[_0x4eaffa(0x15f)])){const _0x272e4=_0xfe89d4[_0x4eaffa(0x22d)][_0x4eaffa(0x1a8)]('|');let _0x529e62=0x0;while(!![]){switch(_0x272e4[_0x529e62++]){case'0':this[_0x4eaffa(0x1aa)](this[_0x4eaffa(0x222)]()+_0x4eaffa(0x1e1)+utils[_0x4eaffa(0x16d)](_0x6b94ae[_0x4eaffa(0x220)])+_0x4eaffa(0x245));continue;case'1':this['docAppend'](this['indent']()+_0x4eaffa(0x1e1)+utils[_0x4eaffa(0x16d)](_0x6b94ae[_0x4eaffa(0x163)])+_0x4eaffa(0x245));continue;case'2':this[_0x4eaffa(0x1aa)](this[_0x4eaffa(0x222)]()+_0x4eaffa(0x17f)+_0x36ed09+'</code></pre></dd>');continue;case'3':this['docAppend'](this[_0x4eaffa(0x222)]()+_0x4eaffa(0x22c)+utils[_0x4eaffa(0x16d)](_0x6b94ae[_0x4eaffa(0x1b2)])+_0x4eaffa(0x180));continue;case'4':var _0x36ed09=utils[_0x4eaffa(0x16d)](utils[_0x4eaffa(0x20d)](_0x6b94ae[_0x4eaffa(0x195)]));continue;}break;}}}if(_0xfe89d4[_0x4eaffa(0x189)](testhubUtils[_0x4eaffa(0x27a)](testHubConstants[_0x4eaffa(0x1e5)][_0x4eaffa(0x218)]),!![])){if(!_0x6b94ae[_0x4eaffa(0x261)]){_0x6b94ae['markedStatus']=!![];if(_0x6b94ae['testAnalyticsId'])await this[_0x4eaffa(0x155)](_0x6b94ae,_0x434db3);else _0x6b94ae[_0x4eaffa(0x17c)]&&await this[_0x4eaffa(0x155)](_0x6b94ae,_0x434db3,![],_0xfe89d4[_0x4eaffa(0x1f8)]);}}})['on'](EVENT_TEST_PENDING,async _0x1984b8=>{const _0x372116=_0x3686f9;this['results'][_0x372116(0x184)]({'title':_0x1984b8[_0x372116(0x220)],'suite':_0x1984b8[_0x372116(0x227)][_0x372116(0x220)],'state':_0x1984b8[_0x372116(0x252)],'err':{},'fullTitle':_0x1984b8['fullTitle'](),'speed':_0x1984b8[_0x372116(0x1fb)],'currentRetry':_0x1984b8['currentRetry'](),'titlePathV':_0x1984b8[_0x372116(0x169)]()}),_0xfe89d4[_0x372116(0x250)](this[_0x372116(0x19a)],_0xfe89d4[_0x372116(0x1ec)])&&process['stdout'][_0x372116(0x22b)](Base[_0x372116(0x248)](_0xfe89d4['uvPCJ'],Base[_0x372116(0x1ac)][_0x372116(0x276)])),_0xfe89d4[_0x372116(0x189)](testhubUtils[_0x372116(0x27a)](),!![])&&(!_0x1984b8[_0x372116(0x21b)]&&(_0x1984b8['testAnalyticsId']=_0xfe89d4[_0x372116(0x24a)](uuidv4)),!_0x1984b8[_0x372116(0x261)]&&(_0x1984b8[_0x372116(0x261)]=!![],await this[_0x372116(0x155)](_0x1984b8,undefined,![],_0xfe89d4[_0x372116(0x185)])));})['on'](EVENT_TEST_BEGIN,async _0x5cc888=>{const _0x51e41b=_0x3686f9;_0xfe89d4[_0x51e41b(0x173)](testhubUtils[_0x51e41b(0x27a)](),!![])&&await this[_0x51e41b(0x16c)](_0x5cc888);})['on'](EVENT_TEST_END,async _0x4d10f5=>{const _0x10ed2e=_0x3686f9;_0xfe89d4[_0x10ed2e(0x19b)](testhubUtils[_0x10ed2e(0x27a)](),!![])&&(!_0x4d10f5[_0x10ed2e(0x261)]&&(_0x4d10f5[_0x10ed2e(0x261)]=!![],await this[_0x10ed2e(0x155)](_0x4d10f5)));})['once'](EVENT_RUN_END,async()=>{const _0x31679f=_0x3686f9;try{if(_0xfe89d4[_0x31679f(0x18e)](testhubUtils[_0x31679f(0x27a)](),!![])){const _0x4fe928=_0xfe89d4[_0x31679f(0x25f)](getHookSkippedTests,this[_0x31679f(0x161)][_0x31679f(0x237)]);for(const _0x23909d of _0x4fe928){!_0x23909d['testAnalyticsId']&&(_0x23909d[_0x31679f(0x21b)]=_0xfe89d4['PnecC'](uuidv4)),await this[_0x31679f(0x155)](_0x23909d,undefined,![],_0xfe89d4[_0x31679f(0x185)]);}}}catch(_0x35ccb6){_0xfe89d4[_0x31679f(0x25f)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x35ccb6);}await requestQueueHandler[_0x31679f(0x1f5)](),_0xfe89d4[_0x31679f(0x15b)](this['type'],_0xfe89d4['usBQV'])&&Base[_0x31679f(0x271)](this['docHtml']);});if(this[_0x3686f9(0x19a)]&&![_0xfe89d4[_0x3686f9(0x15f)],_0xfe89d4['pWvyn'],_0xfe89d4[_0x3686f9(0x19f)],_0xfe89d4[_0x3686f9(0x1ec)]][_0x3686f9(0x232)](this['type'])){const _0x64f811=this[_0x3686f9(0x19a)][_0x3686f9(0x242)]();this['Reporter']=null;try{this[_0x3686f9(0x183)]=_0xfe89d4[_0x3686f9(0x25f)](requireModule,_0x3686f9(0x1d5)+_0x64f811+_0x3686f9(0x246));}catch{}if(_0xfe89d4[_0x3686f9(0x244)](this[_0x3686f9(0x183)],null))try{this[_0x3686f9(0x183)]=_0xfe89d4[_0x3686f9(0x1c4)](require,_0x64f811);}catch(_0x233685){console[_0x3686f9(0x18c)](_0x3686f9(0x214)+_0x64f811);}if(_0xfe89d4[_0x3686f9(0x1a0)](this[_0x3686f9(0x183)],null)){const _0x2aaab6={};_0x2aaab6[_0x3686f9(0x238)]=_0x37b0d6[_0x3686f9(0x1de)],this[_0x3686f9(0x183)]=new this[(_0x3686f9(0x183))](_0x4170e2,_0x2aaab6);}}}[a27_0x868d3b(0x222)](){const _0x1f9ec3=a27_0x868d3b,_0x29a220={'rtxwk':function(_0x5f0b7b,_0x13423c){return _0x5f0b7b(_0x13423c);}};return _0x29a220['rtxwk'](Array,this['_indents'])[_0x1f9ec3(0x1ee)]('\x20\x20');}['increaseIndent'](){const _0x583274=a27_0x868d3b;this[_0x583274(0x1fe)]++;}[a27_0x868d3b(0x1bf)](){const _0x4bb2bf=a27_0x868d3b;this[_0x4bb2bf(0x1fe)]--;}[a27_0x868d3b(0x1aa)](_0x4eba3c){const _0x1ec568=a27_0x868d3b;this[_0x1ec568(0x279)]+=_0x4eba3c;}[a27_0x868d3b(0x1e8)](_0x315fe1,_0x46828f){const _0x390192=a27_0x868d3b,_0x1e9133={'mKXxA':function(_0x1a2fb5,_0x2ee0f9){return _0x1a2fb5(_0x2ee0f9);}},_0x5682b6={};_0x5682b6[_0x390192(0x19d)]=_0x315fe1,_0x5682b6['results']=this[_0x390192(0x158)],_0x1e9133[_0x390192(0x15e)](_0x46828f,_0x5682b6);}[a27_0x868d3b(0x17e)](){const _0x386a27=a27_0x868d3b;process[_0x386a27(0x213)](_0x386a27(0x217)+process[_0x386a27(0x1f1)]),process['on']('bs:addLog:'+process[_0x386a27(0x1f1)],this[_0x386a27(0x23f)][_0x386a27(0x1da)](this)),process['removeAllListeners'](_0x386a27(0x208)+process['pid']),process['on'](_0x386a27(0x208)+process[_0x386a27(0x1f1)],this[_0x386a27(0x1a3)][_0x386a27(0x1da)](this));}[a27_0x868d3b(0x16c)]=async _0x4a764d=>{const _0xd36a2c=a27_0x868d3b,_0x55f354={'eoQFw':function(_0x1f959f){return _0x1f959f();},'efCPK':function(_0x122fee,_0x3434ec){return _0x122fee>_0x3434ec;},'azydF':function(_0x5cf8dc,_0x41520a){return _0x5cf8dc===_0x41520a;},'ecFbM':_0xd36a2c(0x251),'EfJye':function(_0x11ebc7,_0x589dd5){return _0x11ebc7(_0x589dd5);}};try{const _0x2611fb=this[_0xd36a2c(0x1c1)];this[_0xd36a2c(0x1c1)]=_0x4a764d,_0x4a764d[_0xd36a2c(0x162)]=null,_0x4a764d[_0xd36a2c(0x21b)]=_0x55f354[_0xd36a2c(0x1cc)](uuidv4),_0x4a764d['started_at']=new Date()[_0xd36a2c(0x193)](),_0x55f354[_0xd36a2c(0x1d6)](_0x4a764d[_0xd36a2c(0x277)],0x0)&&_0x2611fb&&_0x55f354[_0xd36a2c(0x1dd)](_0x2611fb['title'],_0x4a764d[_0xd36a2c(0x220)])?(_0x4a764d['retryOf']=_0x2611fb[_0xd36a2c(0x21b)],await this[_0xd36a2c(0x155)](_0x4a764d,undefined,![],_0x55f354[_0xd36a2c(0x281)]),_0x2611fb[_0xd36a2c(0x252)]=STATE_FAILED,await this[_0xd36a2c(0x155)](_0x2611fb,undefined,!![])):await this[_0xd36a2c(0x155)](_0x4a764d,undefined,![],_0x55f354['ecFbM']);}catch(_0x203b00){_0x55f354[_0xd36a2c(0x204)](debug,_0xd36a2c(0x171)+_0x203b00);}};['sendTestRunEvent']=async(_0x5c8d0d,_0x344a5c=undefined,_0x25443b=![],_0x2f3e88='TestRunFinished')=>{const _0xb4ed5=a27_0x868d3b,_0xeb2d6f={'KhNKb':function(_0xf155,_0x51c9e6){return _0xf155===_0x51c9e6;},'fXiLw':function(_0x304da5,_0x19f65c){return _0x304da5!==_0x19f65c;},'qrmKO':'test','SCYZv':_0xb4ed5(0x1b2),'GiFSP':function(_0x5e319a,_0x35e1cf){return _0x5e319a!==_0x35e1cf;},'Muoit':function(_0x541f5e,_0x34fbee){return _0x541f5e!==_0x34fbee;},'rYoqv':_0xb4ed5(0x257),'FTgfs':_0xb4ed5(0x24d),'krUAT':_0xb4ed5(0x278),'BAAvA':_0xb4ed5(0x267),'arBjC':_0xb4ed5(0x1ce),'miLJc':function(_0x3ed067,_0x3ce42e){return _0x3ed067-_0x3ce42e;},'iYaGs':'AssertionError','tXWEV':'UnhandledError','AKcCZ':'started_at','wwbFL':_0xb4ed5(0x156),'ZheIt':function(_0x59e030,_0x44d989){return _0x59e030(_0x44d989);},'qtDGQ':_0xb4ed5(0x1a2),'OcvCf':_0xb4ed5(0x1df),'GbynX':_0xb4ed5(0x186),'CWofi':_0xb4ed5(0x27d),'SVgBD':function(_0x345b98,_0x24ea34){return _0x345b98===_0x24ea34;},'EDgiS':_0xb4ed5(0x17b),'ArAre':_0xb4ed5(0x25e),'eYkEx':_0xb4ed5(0x1ca),'iksuG':_0xb4ed5(0x230),'yoxAK':_0xb4ed5(0x1ab),'hOAua':'TestRunFinished','eONOO':function(_0x220ba0,_0x36c1f4){return _0x220ba0(_0x36c1f4);},'vhOVu':'hook_type','MSbDr':_0xb4ed5(0x26c),'rGhWj':_0xb4ed5(0x166),'jseUD':function(_0x9abb52,_0x23bb65){return _0x9abb52(_0x23bb65);}};try{if(_0x5c8d0d['body']&&_0x5c8d0d[_0xb4ed5(0x195)][_0xb4ed5(0x1d1)](/browserstack internal helper hook/))return;let _0x5abfb6=[];if(_0xeb2d6f[_0xb4ed5(0x24b)](_0x5c8d0d[_0xb4ed5(0x252)],STATE_FAILED)){if(_0xeb2d6f[_0xb4ed5(0x21f)](_0x5c8d0d[_0xb4ed5(0x1b2)],undefined))_0x5abfb6=_0x5c8d0d[_0xb4ed5(0x1b2)][_0xb4ed5(0x1f0)]?[_0x5c8d0d[_0xb4ed5(0x1b2)][_0xb4ed5(0x1f0)],_0xeb2d6f[_0xb4ed5(0x18d)]]:[_0x5c8d0d[_0xb4ed5(0x1b2)],_0xeb2d6f[_0xb4ed5(0x1ea)]];else _0xeb2d6f[_0xb4ed5(0x16b)](_0x344a5c,undefined)?_0x5abfb6=[_0x344a5c,_0xeb2d6f[_0xb4ed5(0x1ea)]]:_0x5abfb6=[];}const _0x418cb8=_0xeb2d6f[_0xb4ed5(0x21f)](_0x5c8d0d[_0xb4ed5(0x1b2)],undefined)?_0x5c8d0d[_0xb4ed5(0x1b2)][_0xb4ed5(0x216)]():_0xeb2d6f[_0xb4ed5(0x1a9)](_0x344a5c,undefined)?_0x344a5c[_0xb4ed5(0x216)]():undefined;let _0x13b9ac;try{_0x13b9ac=this[_0xb4ed5(0x153)](_0x5c8d0d);}catch(_0x2f13c5){_0x13b9ac=null;}const _0x332bed=_0x13b9ac?this[_0xb4ed5(0x249)](_0x13b9ac):null,_0x532b4f=_0x13b9ac?this[_0xb4ed5(0x1d0)][_0xb4ed5(0x22e)](this[_0xb4ed5(0x153)](_0x5c8d0d)):_0xeb2d6f[_0xb4ed5(0x207)],_0x3d10d7={'framework':_0xeb2d6f[_0xb4ed5(0x25c)],'uuid':_0x5c8d0d[_0xb4ed5(0x21b)]||_0x5c8d0d[_0xb4ed5(0x17c)],'name':_0x5c8d0d['title'],'body':{'lang':_0xeb2d6f['krUAT'],'code':_0x5c8d0d[_0xb4ed5(0x195)]},'scope':this['scope'](_0x5c8d0d),'scopes':this['scopes'](_0x5c8d0d),'identifier':_0x5c8d0d[_0xb4ed5(0x260)](),'file_name':_0x532b4f,'vc_filepath':_0x332bed?path[_0xb4ed5(0x1d3)](_0x332bed,_0x13b9ac):null,'location':_0x532b4f,'result':_0xeb2d6f[_0xb4ed5(0x24b)](_0x2f3e88,_0xeb2d6f[_0xb4ed5(0x1fd)])?_0xeb2d6f[_0xb4ed5(0x20e)]:this[_0xb4ed5(0x24f)](_0x5c8d0d[_0xb4ed5(0x252)]),'failure_reason':_0x418cb8,'duration_in_ms':_0x5c8d0d[_0xb4ed5(0x22f)]||(_0x2f3e88[_0xb4ed5(0x1d1)](/Finished/)||_0x2f3e88['match'](/Skipped/)?_0xeb2d6f[_0xb4ed5(0x1c5)](Date[_0xb4ed5(0x179)](),new Date(_0x5c8d0d['started_at'])[_0xb4ed5(0x1fa)]()):null),'started_at':_0x5c8d0d['started_at'],'finished_at':_0x2f3e88['match'](/Finished/)||_0x2f3e88['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData['apply'](null,_0x5abfb6),'failure_type':!_0x418cb8?null:_0x418cb8[_0xb4ed5(0x1d1)](/AssertionError/)?_0xeb2d6f[_0xb4ed5(0x1b7)]:_0xeb2d6f[_0xb4ed5(0x1a4)],'retry_of':_0x5c8d0d[_0xb4ed5(0x162)]};testhubUtils['appendTesthubParams'](_0x3d10d7,_0x2f3e88,_0x5c8d0d,FRAMEWORKS[_0xb4ed5(0x188)]);_0xeb2d6f[_0xb4ed5(0x24b)](_0x2f3e88,_0xeb2d6f[_0xb4ed5(0x1fd)])&&!_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x1d2)]]&&(_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x1d2)]]=_0x3d10d7[_0xeb2d6f['wwbFL']]);if(_0x2f3e88[_0xb4ed5(0x1d1)](/HookRun/))[_0x3d10d7[_0xb4ed5(0x228)],_0x3d10d7[_0xb4ed5(0x26a)]]=_0xeb2d6f['ZheIt'](getHookDetails,_0x5c8d0d[_0xb4ed5(0x260)]()||_0x5c8d0d[_0xb4ed5(0x255)]||_0x5c8d0d[_0xb4ed5(0x220)]),_0xeb2d6f[_0xb4ed5(0x24b)](_0x2f3e88,_0xeb2d6f[_0xb4ed5(0x174)])&&(_0xeb2d6f['GiFSP'](_0x3d10d7['result'],_0xeb2d6f[_0xb4ed5(0x18f)])&&(_0x3d10d7[_0xb4ed5(0x1e0)]=_0xeb2d6f[_0xb4ed5(0x160)]),_0xeb2d6f['KhNKb'](_0x3d10d7[_0xb4ed5(0x228)],_0xeb2d6f['CWofi'])&&_0xeb2d6f[_0xb4ed5(0x23b)](_0x3d10d7[_0xb4ed5(0x1e0)],_0xeb2d6f[_0xb4ed5(0x18f)])&&!_0x5c8d0d[_0xb4ed5(0x1cb)][_0xb4ed5(0x24c)][_0xb4ed5(0x261)]&&(_0x5c8d0d['ctx'][_0xb4ed5(0x24c)][_0xb4ed5(0x261)]=!![],_0x5c8d0d[_0xb4ed5(0x1cb)][_0xb4ed5(0x24c)][_0xb4ed5(0x252)]=STATE_FAILED,await this[_0xb4ed5(0x155)](_0x5c8d0d[_0xb4ed5(0x1cb)]['currentTest'],undefined,!![])));else _0x2f3e88['match'](/TestRun/)&&_0xeb2d6f[_0xb4ed5(0x20a)](mapTestHooks,_0x5c8d0d);const _0x572575=_0x3d10d7[_0xeb2d6f['EDgiS']][0x0];_0x572575&&(_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x280)]]=_0x572575[_0xeb2d6f[_0xb4ed5(0x211)]],_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x19c)]]=_0x572575[_0xeb2d6f[_0xb4ed5(0x26f)]]);[_0xeb2d6f[_0xb4ed5(0x1c3)],_0xeb2d6f[_0xb4ed5(0x1fd)]][_0xb4ed5(0x232)](_0x2f3e88)&&(this['_testResults']['push'](_0x3d10d7),_0x3d10d7[_0xb4ed5(0x1fc)]=_0xeb2d6f['eONOO'](getHooksForTest,_0x5c8d0d));const _0x7b5465={'event_type':_0xeb2d6f[_0xb4ed5(0x23b)](_0x2f3e88,_0xeb2d6f[_0xb4ed5(0x1fd)])?_0xeb2d6f[_0xb4ed5(0x1c3)]:_0x2f3e88};_0x2f3e88[_0xb4ed5(0x1d1)](/HookRun/)?(_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x1b5)]]=HOOK_TYPES_MAP[_0x3d10d7[_0xeb2d6f[_0xb4ed5(0x1b5)]]],_0x7b5465[_0xeb2d6f[_0xb4ed5(0x1f3)]]=_0x3d10d7):_0x7b5465[_0xeb2d6f[_0xb4ed5(0x1d8)]]=_0x3d10d7,testhubUtils[_0xb4ed5(0x1b1)](FRAMEWORKS[_0xb4ed5(0x188)],_0x7b5465),await SessionHandler[_0xb4ed5(0x224)](_0x7b5465);}catch(_0x45a161){_0xeb2d6f['jseUD'](debug,_0xb4ed5(0x164)+_0x2f3e88+_0xb4ed5(0x23d)+_0x45a161);}};[a27_0x868d3b(0x249)](_0x5ae2e6){const _0x2fdc57=a27_0x868d3b,_0x39a298={};_0x39a298[_0x2fdc57(0x273)]=function(_0xf1afeb,_0x53d501){return _0xf1afeb===_0x53d501;},_0x39a298[_0x2fdc57(0x272)]=function(_0x326989,_0x366478){return _0x326989===_0x366478;},_0x39a298[_0x2fdc57(0x240)]=function(_0x189dab,_0x3b79fd){return _0x189dab===_0x3b79fd;},_0x39a298[_0x2fdc57(0x25d)]=function(_0x5864e1,_0x26796c){return _0x5864e1===_0x26796c;},_0x39a298[_0x2fdc57(0x1ba)]=_0x2fdc57(0x182),_0x39a298[_0x2fdc57(0x24e)]=_0x2fdc57(0x263);const _0xdaf8eb=_0x39a298,_0x39b140=path[_0x2fdc57(0x1c9)];if(_0xdaf8eb['aTQUu'](_0x5ae2e6,null)||_0xdaf8eb[_0x2fdc57(0x272)](_0x5ae2e6,'')||_0xdaf8eb[_0x2fdc57(0x240)](_0x5ae2e6,_0x39b140)||_0xdaf8eb[_0x2fdc57(0x25d)](_0x5ae2e6,path[_0x2fdc57(0x27c)](_0x5ae2e6)))return null;try{return fs[_0x2fdc57(0x17d)](path[_0x2fdc57(0x1ee)](_0x5ae2e6,_0xdaf8eb['fYwrK'],_0xdaf8eb[_0x2fdc57(0x24e)])),_0x5ae2e6;}catch(_0x5ca40f){const _0xd42c40=path['dirname'](_0x5ae2e6);return this['findGitConfig'](_0xd42c40);}}[a27_0x868d3b(0x23f)]=async _0x13b0bc=>{const _0x1c56db=a27_0x868d3b,_0x549d49={'oRAIV':_0x1c56db(0x1bb),'klqKX':function(_0x12c87b,_0x1343e6){return _0x12c87b(_0x1343e6);}};try{this[_0x1c56db(0x157)]&&!this['current_hook']['markedStatus']&&(_0x13b0bc[_0x1c56db(0x16a)]=this['current_hook']['hookAnalyticsId']);!_0x13b0bc[_0x1c56db(0x16a)]&&this[_0x1c56db(0x1c1)]&&!this[_0x1c56db(0x1c1)]['markedStatus']&&(_0x13b0bc[_0x1c56db(0x1c0)]=this[_0x1c56db(0x1c1)][_0x1c56db(0x21b)]);if(_0x13b0bc[_0x1c56db(0x16a)]||_0x13b0bc['test_run_uuid']){const _0x5704be={};_0x5704be[_0x1c56db(0x190)]=_0x549d49[_0x1c56db(0x19e)],_0x5704be[_0x1c56db(0x1c8)]=[_0x13b0bc],await SessionHandler[_0x1c56db(0x224)](_0x5704be);}}catch(_0x2827c9){_0x549d49['klqKX'](debug,_0x1c56db(0x191)+_0x2827c9);}};[a27_0x868d3b(0x1a3)]=async _0x35cda0=>{const _0x424d46=a27_0x868d3b,_0x2a3dfb={'ikzPO':'http_response','JtMey':_0x424d46(0x265),'yxpRg':function(_0x5decdb,_0x1b1ad6){return _0x5decdb(_0x1b1ad6);}};try{const _0x557934={};_0x557934[_0x424d46(0x1a1)]=_0x35cda0[_0x424d46(0x1a1)]||this[_0x424d46(0x1c1)]['testAnalyticsId'],_0x557934['integrations']=_0x35cda0[_0x2a3dfb['ikzPO']];const _0x13098b=_0x557934,_0x341db2={};_0x341db2[_0x424d46(0x190)]=_0x2a3dfb[_0x424d46(0x268)],_0x341db2['test_run']=_0x13098b,await SessionHandler['uploadEventData'](_0x341db2);}catch(_0x5ccbba){_0x2a3dfb[_0x424d46(0x1d4)](debug,_0x424d46(0x21a)+_0x5ccbba);}};[a27_0x868d3b(0x24f)](_0x4f9b91){const _0x37d8bb=a27_0x868d3b,_0x2aee47={};_0x2aee47[_0x37d8bb(0x1e9)]=_0x37d8bb(0x186),_0x2aee47['eBiDz']=_0x37d8bb(0x1f7),_0x2aee47[_0x37d8bb(0x21d)]='failed';const _0x5149e4=_0x2aee47,_0x54f138={};return _0x54f138[STATE_PASSED]=_0x5149e4['Wracp'],_0x54f138[STATE_PENDING]=_0x5149e4[_0x37d8bb(0x215)],_0x54f138[STATE_FAILED]=_0x5149e4[_0x37d8bb(0x21d)],_0x54f138[_0x4f9b91];}[a27_0x868d3b(0x170)](_0x528fc1){const _0x2b586d=a27_0x868d3b,_0x292e5a={};_0x292e5a[_0x2b586d(0x16f)]=function(_0x11d1f5,_0x1697ba){return _0x11d1f5-_0x1697ba;};const _0xd85e9d=_0x292e5a,_0x42d93e=_0x528fc1[_0x2b586d(0x169)]();return _0x42d93e['slice'](0x0,_0xd85e9d[_0x2b586d(0x16f)](_0x42d93e['length'],0x1))['join']('\x20');}[a27_0x868d3b(0x247)](_0x13cb07){const _0xa1e0e7=a27_0x868d3b,_0x320865={};_0x320865['cypzx']=function(_0xdceb33,_0x205a41){return _0xdceb33-_0x205a41;};const _0xe4448a=_0x320865,_0x283f28=_0x13cb07[_0xa1e0e7(0x169)]();return _0x283f28[_0xa1e0e7(0x1ed)](0x0,_0xe4448a[_0xa1e0e7(0x1e3)](_0x283f28['length'],0x1));}[a27_0x868d3b(0x153)](_0x5e7ad6){const _0xbefaf3=a27_0x868d3b,_0x3400ee={};_0x3400ee[_0xbefaf3(0x226)]=function(_0x24568d,_0x1704e7){return _0x24568d>_0x1704e7;};const _0x2c638d=_0x3400ee;if(_0x5e7ad6['file'])return _0x5e7ad6[_0xbefaf3(0x163)];if(_0x5e7ad6[_0xbefaf3(0x1cb)]){const _0x271b8e=_0x5e7ad6[_0xbefaf3(0x1cb)]['currentTest']?this[_0xbefaf3(0x153)](_0x5e7ad6[_0xbefaf3(0x1cb)]['currentTest']):null;if(_0x271b8e)return _0x271b8e;}if(_0x5e7ad6['parent']){const _0x5ddcb7=this[_0xbefaf3(0x153)](_0x5e7ad6[_0xbefaf3(0x227)])||(_0x5e7ad6[_0xbefaf3(0x227)]['ctx']&&_0x5e7ad6[_0xbefaf3(0x227)][_0xbefaf3(0x1cb)][_0xbefaf3(0x24c)]?this[_0xbefaf3(0x153)](_0x5e7ad6[_0xbefaf3(0x227)][_0xbefaf3(0x1cb)]['currentTest']):null);if(_0x5ddcb7)return _0x5ddcb7;_0x5e7ad6[_0xbefaf3(0x227)]['suites']&&_0x2c638d[_0xbefaf3(0x226)](_0x5e7ad6[_0xbefaf3(0x227)][_0xbefaf3(0x1b0)][_0xbefaf3(0x225)],0x0)&&_0x5e7ad6[_0xbefaf3(0x227)]['suites'][_0xbefaf3(0x159)](_0x304261=>{const _0x4a9b56=_0xbefaf3,_0x3239b8=_0x304261['ctx']?this[_0x4a9b56(0x153)](_0x304261['ctx']):null;if(_0x3239b8)return _0x3239b8;});}return null;}}module[a27_0x868d3b(0x1d9)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x12cab0=a28_0x1eca;(function(_0x25e98c,_0x172610){const _0x411a56=a28_0x1eca,_0x215585=_0x25e98c();while(!![]){try{const _0x157a31=-parseInt(_0x411a56(0x140))/0x1*(-parseInt(_0x411a56(0x19c))/0x2)+parseInt(_0x411a56(0x119))/0x3+-parseInt(_0x411a56(0x111))/0x4*(-parseInt(_0x411a56(0x1b9))/0x5)+parseInt(_0x411a56(0x1a2))/0x6*(-parseInt(_0x411a56(0x176))/0x7)+parseInt(_0x411a56(0x1c8))/0x8+-parseInt(_0x411a56(0xfd))/0x9*(parseInt(_0x411a56(0x171))/0xa)+parseInt(_0x411a56(0x1b1))/0xb*(parseInt(_0x411a56(0x14d))/0xc);if(_0x157a31===_0x172610)break;else _0x215585['push'](_0x215585['shift']());}catch(_0xcd7746){_0x215585['push'](_0x215585['shift']());}}}(a28_0x1467,0xf2c04));const chalk=require('chalk'),logger=require(a28_0x12cab0(0x10d))[a28_0x12cab0(0x15b)],{default:BrowserStackSetup}=require(a28_0x12cab0(0x15c)),helper=require(a28_0x12cab0(0x113)),utilities=require(a28_0x12cab0(0x160)),testOpsHelper=require(a28_0x12cab0(0xf8)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x12cab0(0x132)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x12cab0(0x1cb)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require('../utils/constants');function tag(_0xdce492,_0x5c343e,_0x3c1fae,_0x5d265a){const _0x36b20a=a28_0x12cab0,_0x24df38={'eIhJv':function(_0x583dd3,_0x42544b){return _0x583dd3+_0x42544b;},'AwfSZ':function(_0xee986,_0x2c9372){return _0xee986+_0x2c9372;},'CwQTE':function(_0x1d4397,_0x5e6a44){return _0x1d4397(_0x5e6a44);},'dJDVR':function(_0x18b1bf,_0x5d0817){return _0x18b1bf+_0x5d0817;},'DQJIb':function(_0xf78165,_0x4be95b){return _0xf78165+_0x4be95b;},'ESWEf':function(_0x4a47d3,_0x1f2ceb){return _0x4a47d3+_0x1f2ceb;}},_0xc76ee=_0x3c1fae?'/>':'>',_0x3d06ca=[];let _0x49e252;for(const _0x38387c in _0x5c343e){Object[_0x36b20a(0x14e)][_0x36b20a(0x1be)][_0x36b20a(0xfc)](_0x5c343e,_0x38387c)&&_0x3d06ca['push'](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1ba)](_0x38387c,'=\x22'),_0x24df38[_0x36b20a(0x133)](escape,_0x5c343e[_0x38387c])),'\x22'));}return _0x49e252=_0x24df38[_0x36b20a(0x1ba)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)]('<',_0xdce492),_0x3d06ca['length']?_0x24df38['AwfSZ']('\x20',_0x3d06ca[_0x36b20a(0x115)]('\x20')):''),_0xc76ee),_0x5d265a&&(_0x49e252+=_0x24df38[_0x36b20a(0x101)](_0x24df38[_0x36b20a(0x195)](_0x24df38['ESWEf'](_0x5d265a,'</'),_0xdce492),_0xc76ee)),_0x49e252;}function a28_0x1eca(_0x465ded,_0x8bea0e){const _0x146750=a28_0x1467();return a28_0x1eca=function(_0x1ecaa6,_0x469a29){_0x1ecaa6=_0x1ecaa6-0xf7;let _0x98f6ff=_0x146750[_0x1ecaa6];return _0x98f6ff;},a28_0x1eca(_0x465ded,_0x8bea0e);}let xunitContent='';function xunitWrite(_0x475171){xunitContent+=_0x475171;}function xunitTest(_0x4bac5d,_0x52f170){const _0x175c81=a28_0x12cab0,_0x29257e={'XXrEB':function(_0x241658,_0x541d2c){return _0x241658/_0x541d2c;},'sjIEL':function(_0x218366,_0x4e9d16){return _0x218366===_0x4e9d16;},'dzQGi':_0x175c81(0x1a4),'qnNSv':function(_0x53e88d,_0x8ab1df){return _0x53e88d+_0x8ab1df;},'euOoq':function(_0x39b499,_0x418b28){return _0x39b499(_0x418b28);},'Sewyg':function(_0xcaeae9,_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751){return _0xcaeae9(_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751);},'rvKMy':'testcase','QHfzE':_0x175c81(0x17a),'hKshA':function(_0x4ac2df,_0x152253){return _0x4ac2df(_0x152253);},'dGfqd':function(_0x4ae9a0,_0x35cf38){return _0x4ae9a0(_0x35cf38);},'uFycC':function(_0x50e91f,_0x5e47b6){return _0x50e91f(_0x5e47b6);},'bjYIW':function(_0x3ddb5d,_0x78423f){return _0x3ddb5d(_0x78423f);},'UGRxI':function(_0x47d2f9,_0x20b7bf,_0x28e084,_0x4722a1){return _0x47d2f9(_0x20b7bf,_0x28e084,_0x4722a1);},'nVVKK':_0x175c81(0x16b),'HnOqR':function(_0x5adf5f,_0x1bbcd8){return _0x5adf5f(_0x1bbcd8);}};Base['useColors']=![];var _0x6c6e84={'classname':_0x4bac5d[_0x175c81(0x11a)],'name':_0x4bac5d[_0x175c81(0x1b6)],'time':_0x29257e[_0x175c81(0x159)](_0x4bac5d[_0x175c81(0x13d)],0x3e8)||0x0,'platform':_0x52f170};if(_0x29257e['sjIEL'](_0x4bac5d['state'],_0x29257e['dzQGi'])){var _0x2f345e=_0x4bac5d['err'],_0x5262c6=!Base[_0x175c81(0x155)]&&Base[_0x175c81(0x178)](_0x2f345e)?_0x29257e['qnNSv']('\x0a',Base[_0x175c81(0x1d5)](_0x2f345e[_0x175c81(0x116)],_0x2f345e[_0x175c81(0x184)])):'';_0x29257e['euOoq'](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x125)],_0x6c6e84,![],_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x134)],{},![],_0x29257e[_0x175c81(0x103)](_0x29257e[_0x175c81(0x103)](_0x29257e['qnNSv'](_0x29257e[_0x175c81(0x16a)](escape,_0x2f345e[_0x175c81(0x15e)]),_0x29257e[_0x175c81(0x1a5)](escape,_0x5262c6)),'\x0a'),_0x29257e[_0x175c81(0x10c)](escape,_0x2f345e['stack'])))));}else _0x4bac5d[_0x175c81(0x123)]?_0x29257e[_0x175c81(0x1c6)](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e['rvKMy'],_0x6c6e84,![],_0x29257e['UGRxI'](tag,_0x29257e[_0x175c81(0x173)],{},!![]))):_0x29257e['HnOqR'](xunitWrite,_0x29257e[_0x175c81(0x14b)](tag,_0x29257e['rvKMy'],_0x6c6e84,!![]));};function getStats(_0x25ab0a){const _0x3b2429=a28_0x12cab0,_0x2fdcc6={};_0x2fdcc6[_0x3b2429(0x1e2)]=_0x3b2429(0x1e8),_0x2fdcc6[_0x3b2429(0x10f)]=_0x3b2429(0x109),_0x2fdcc6[_0x3b2429(0x104)]='failed',_0x2fdcc6[_0x3b2429(0x1bd)]='results';const _0x2b2a74=_0x2fdcc6,_0x7b95b5=Object[_0x3b2429(0x177)](_0x25ab0a);let _0x233dd8=0x0,_0x40de65=0x0,_0x49c0c2=0x0,_0x16973c=0x0;const _0x5afbe2=new Set();_0x7b95b5[_0x3b2429(0x144)](_0x14cff2=>{const _0x5dee7c=_0x3b2429;_0x25ab0a[_0x14cff2][_0x2b2a74[_0x5dee7c(0x1bd)]][_0x5dee7c(0x144)](_0x3e2372=>{const _0x27bd0d=_0x5dee7c;_0x5afbe2[_0x27bd0d(0x12b)](_0x3e2372[_0x2b2a74['UWZwt']]),_0x233dd8++;switch(_0x3e2372['state']){case _0x2b2a74['dTdFc']:_0x49c0c2++;break;case _0x2b2a74['nDqPw']:_0x40de65++;break;default:_0x16973c++;}});});const _0x2f777a={};return _0x2f777a[_0x3b2429(0x1e3)]=_0x5afbe2[_0x3b2429(0x138)],_0x2f777a[_0x3b2429(0x142)]=_0x7b95b5,_0x2f777a['totalTests']=_0x233dd8,_0x2f777a[_0x3b2429(0x1bf)]=_0x40de65,_0x2f777a[_0x3b2429(0x1d9)]=_0x49c0c2,_0x2f777a['testsPending']=_0x16973c,_0x2f777a;}function errorJSON(_0x3205ae){const _0xf317ff=a28_0x12cab0;var _0x2be261={};return Object[_0xf317ff(0x1bc)](_0x3205ae)[_0xf317ff(0x144)](function(_0xf2604e){_0x2be261[_0xf2604e]=_0x3205ae[_0xf2604e];},_0x3205ae),_0x2be261;}function cleanCycles(_0x5ab7cd){const _0xcdb02e=a28_0x12cab0,_0x256436={};_0x256436['aEfgt']=function(_0x1ec2c9,_0x11cc93){return _0x1ec2c9===_0x11cc93;},_0x256436[_0xcdb02e(0x127)]='object',_0x256436[_0xcdb02e(0x1aa)]=function(_0xea4294,_0x3e3f1d){return _0xea4294!==_0x3e3f1d;},_0x256436['zjzoW']=function(_0x262572,_0x26e24f){return _0x262572!==_0x26e24f;},_0x256436[_0xcdb02e(0x150)]=function(_0x1b5598,_0x2c60f9){return _0x1b5598+_0x2c60f9;};const _0x37265c=_0x256436;var _0x4ca06e=[];return JSON[_0xcdb02e(0x1ca)](JSON[_0xcdb02e(0x1d7)](_0x5ab7cd,function(_0x5b66d2,_0x385d87){const _0xc8cbbc=_0xcdb02e;if(_0x37265c['aEfgt'](typeof _0x385d87,_0x37265c[_0xc8cbbc(0x127)])&&_0x37265c[_0xc8cbbc(0x1aa)](_0x385d87,null)){if(_0x37265c[_0xc8cbbc(0x191)](_0x4ca06e[_0xc8cbbc(0x1b8)](_0x385d87),-0x1))return _0x37265c['PPkjI']('',_0x385d87);_0x4ca06e[_0xc8cbbc(0x17f)](_0x385d87);}return _0x385d87;}));}function clean(_0x215339){const _0x2b6dfe=a28_0x12cab0,_0x388bb2={'XNTpP':function(_0x89f1ed,_0x4718ea){return _0x89f1ed instanceof _0x4718ea;},'ntnty':function(_0x1bcc70,_0x33fc12){return _0x1bcc70(_0x33fc12);}};var _0x26739e=_0x215339['err']||{};return _0x388bb2[_0x2b6dfe(0x1de)](_0x26739e,Error)&&(_0x26739e=_0x388bb2[_0x2b6dfe(0x14a)](errorJSON,_0x26739e)),{'title':_0x215339[_0x2b6dfe(0x1b6)],'fullTitle':_0x215339[_0x2b6dfe(0x11a)],'file':_0x215339['file'],'duration':_0x215339[_0x2b6dfe(0x13d)],'currentRetry':_0x215339[_0x2b6dfe(0x181)],'speed':_0x215339[_0x2b6dfe(0x1f0)],'err':_0x388bb2[_0x2b6dfe(0x14a)](cleanCycles,_0x26739e)};}function printStats(_0xa2c9cd,_0x1b41e6='spec',_0x7d71c1={}){const _0x5acf34=a28_0x12cab0,_0x2c41f1={'xqfIb':function(_0x5c35f1,_0x1285db){return _0x5c35f1(_0x1285db);},'oArcZ':function(_0x483ca6,_0x54f5e7){return _0x483ca6===_0x54f5e7;},'cKUfU':'passed','kWwzQ':_0x5acf34(0x1ae),'qdwKJ':function(_0x4269eb,_0x1d3eec){return _0x4269eb(_0x1d3eec);},'dalJL':_0x5acf34(0x1a4),'kEPkP':_0x5acf34(0x182),'pofyY':_0x5acf34(0x1ec),'HlUpX':_0x5acf34(0x100),'pYxtG':function(_0x2be5af,_0x4d1771){return _0x2be5af*_0x4d1771;},'tvPyW':function(_0x3ee6c9,_0x14042b,_0x1fceab){return _0x3ee6c9(_0x14042b,_0x1fceab);},'EdeLe':function(_0xc0cb8b,_0x311719){return _0xc0cb8b===_0x311719;},'vVdJK':function(_0x5c46cf,_0x3a0595){return _0x5c46cf>_0x3a0595;},'LWQMS':function(_0x3c71f8){return _0x3c71f8();},'mnnCm':function(_0x308b66,_0x27bad7){return _0x308b66===_0x27bad7;},'QlmeZ':_0x5acf34(0x183),'nOHfG':function(_0xe51c62,_0x3b03cf){return _0xe51c62(_0x3b03cf);},'vExqV':_0x5acf34(0x1d2),'jtdCl':_0x5acf34(0x1d3),'jgUwh':function(_0x35a385,_0xf96417){return _0x35a385+_0xf96417;},'zfbTe':_0x5acf34(0x1c3),'OYOTt':_0x5acf34(0x108),'WeDXZ':function(_0x1cbcb7,_0x15689c){return _0x1cbcb7+_0x15689c;},'xipNU':_0x5acf34(0x12d),'JylwB':function(_0x1bef3a,_0x368ca2){return _0x1bef3a+_0x368ca2;},'MaLWH':function(_0x46a81a,_0x286b3e){return _0x46a81a+_0x286b3e;},'QurUg':_0x5acf34(0x124),'SXPXv':function(_0x5ef063,_0x4c655b){return _0x5ef063===_0x4c655b;},'AFtUg':'json','sPBph':_0x5acf34(0x1b2),'ehnEi':'Couldn\x27t\x20write\x20json\x20result\x20to','VEJWf':_0x5acf34(0x1f1),'dqpnl':_0x5acf34(0x10a),'hIZQJ':_0x5acf34(0x180),'OWqCC':function(_0x15e815,_0x2f8449){return _0x15e815||_0x2f8449;},'NfkCy':function(_0x8cbcdc,_0x36628e){return _0x8cbcdc(_0x36628e);},'gfxrc':function(_0x35f992,_0x232143,_0x6bd2d,_0xb5ae61){return _0x35f992(_0x232143,_0x6bd2d,_0xb5ae61);},'NrWPv':'testsuite','fQVzd':function(_0xfd4dc,_0x78a5bc){return _0xfd4dc-_0x78a5bc;},'MugIZ':function(_0x3ad663,_0x16b72d){return _0x3ad663-_0x16b72d;},'KLgXk':function(_0x2fbacc,_0x2fbe18){return _0x2fbacc/_0x2fbe18;},'VrqGO':function(_0x101b28,_0x35ea59){return _0x101b28(_0x35ea59);},'wYyje':_0x5acf34(0x13b),'comar':_0x5acf34(0x175),'awZTR':'Couldn\x27t\x20write\x20xunit\x20result\x20to','ZysVZ':_0x5acf34(0x156),'HPtzZ':function(_0x17b44d,_0x495c2a){return _0x17b44d===_0x495c2a;},'fLgls':_0x5acf34(0x1ef),'IbkZq':'****\x20FAILURES\x20****'};if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1e6)]))return;const _0x3b8fcc=0x0,_0x2060e5=()=>{const _0x14369c=_0x5acf34;return _0x2c41f1['xqfIb'](Array,_0x3b8fcc)[_0x14369c(0x115)]('\x20\x20');},{testSuites:_0x543010,platforms:_0x51544d,totalTests:_0x414597,testsFailed:_0x4416eb,testsPassed:_0x196d3b,testsPending:_0x4ce776}=_0x2c41f1[_0x5acf34(0x1cd)](getStats,_0xa2c9cd);_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)&&(logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ab)]),process[_0x5acf34(0x1bb)]=Math['min'](_0x4416eb,0xff));logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ce)]);const _0x35c243=''+_0x2c41f1['jgUwh'](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x117)]),_0x51544d[_0x5acf34(0x153)]),_0x1ce472=''+_0x2c41f1[_0x5acf34(0x1dd)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x136)]),_0x543010),_0x5d0b62=''+_0x2c41f1['jgUwh'](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x197)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x15d)]),_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)?chalk[_0x5acf34(0x172)][_0x5acf34(0x1a9)](_0x4416eb+_0x5acf34(0x1e1))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x4ce776,0x0)?chalk['bold'][_0x5acf34(0x17b)](_0x4ce776+_0x5acf34(0x12c))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x196d3b,0x0)?chalk[_0x5acf34(0x172)]['green'](_0x196d3b+_0x5acf34(0x1e9))+',\x20':'')+_0x414597+'\x20total';console[_0x5acf34(0xf7)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1['MaLWH'](_0x2c41f1[_0x5acf34(0x197)](_0x2c41f1[_0x5acf34(0x1a6)],_0x35c243),'\x0a'),_0x1ce472),'\x0a'),_0x5d0b62));if(_0x2c41f1[_0x5acf34(0x19d)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x179)])){const _0xd335b7={},_0x4f6a98={};_0x4f6a98[_0x5acf34(0x1e3)]=_0x543010,_0x4f6a98[_0x5acf34(0x142)]=_0x51544d,_0x4f6a98[_0x5acf34(0x1bf)]=_0x4416eb,_0x4f6a98[_0x5acf34(0x1d9)]=_0x196d3b,_0x4f6a98['testsPending']=_0x4ce776,_0xd335b7[_0x5acf34(0x130)]=_0x4f6a98,_0x51544d['forEach'](_0x918158=>{const _0x36c6eb=_0x5acf34,_0xeddfed={'BDvTe':function(_0x7ce10c,_0x6b64f2){return _0x2c41f1['oArcZ'](_0x7ce10c,_0x6b64f2);},'fUjqI':_0x2c41f1[_0x36c6eb(0x1ac)],'dyqmm':_0x2c41f1[_0x36c6eb(0x193)],'VhKZX':function(_0x19708c,_0x25d18c){const _0x1189cd=_0x36c6eb;return _0x2c41f1[_0x1189cd(0x19a)](_0x19708c,_0x25d18c);},'yVqcO':_0x2c41f1[_0x36c6eb(0x1b4)],'aaNqY':_0x2c41f1[_0x36c6eb(0x15f)],'SqfNJ':_0x2c41f1[_0x36c6eb(0x145)]};_0xd335b7[_0x918158]={'pending':[],'failures':[],'passes':[],'tests':_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x16c)](clean)},_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x144)](_0x371d09=>{const _0x5567c6=_0x36c6eb;if(_0xeddfed[_0x5567c6(0x1cf)](_0x371d09[_0x5567c6(0x147)],_0xeddfed[_0x5567c6(0x118)]))_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x12a)]][_0x5567c6(0x17f)](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));else _0xeddfed['BDvTe'](_0x371d09[_0x5567c6(0x147)],_0xeddfed['yVqcO'])?_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x1a0)]]['push'](_0xeddfed['VhKZX'](clean,_0x371d09)):_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x199)]]['push'](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));});});if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x174)],_0x7d71c1[_0x5acf34(0x157)]),fs[_0x5acf34(0x18d)](_0x7d71c1[_0x5acf34(0x157)],JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}catch(_0x14cecf){logger[_0x5acf34(0x1d6)](_0x2c41f1[_0x5acf34(0x1df)],_0x7d71c1[_0x5acf34(0x157)]),logger[_0x5acf34(0x114)](_0x14cecf);}else logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x163)]),console[_0x5acf34(0xf7)](JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}else{if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1ad)])){let _0x120cb5;const _0x36ea57=_0x2c41f1['hIZQJ'];_0x7d71c1&&(_0x120cb5=_0x7d71c1['suiteName']);_0x120cb5=_0x2c41f1[_0x5acf34(0x137)](_0x120cb5,_0x36ea57);let _0x69526b=0x0,_0x321ba6=0x0,_0x4461b0=0x0,_0x279dd8=0x0;_0x51544d[_0x5acf34(0x144)](_0x46da64=>{const _0x39295c=_0x5acf34;_0xa2c9cd[_0x46da64][_0x2c41f1[_0x39295c(0x13e)]][_0x39295c(0x144)](_0x34ebae=>{const _0x1e3715=_0x39295c;if(_0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1[_0x1e3715(0x1ac)]))_0x69526b++;else _0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1['dalJL'])&&_0x321ba6++;_0x4461b0++,_0x279dd8+=_0x2c41f1[_0x1e3715(0x1c5)](_0x34ebae[_0x1e3715(0x13d)],0x1);});}),_0x2c41f1[_0x5acf34(0x1a8)](xunitWrite,_0x2c41f1[_0x5acf34(0x1c2)](tag,_0x2c41f1['NrWPv'],{'name':_0x120cb5,'tests':_0x4461b0,'failures':0x0,'errors':_0x321ba6,'skipped':_0x2c41f1[_0x5acf34(0x15a)](_0x2c41f1[_0x5acf34(0xfa)](_0x4461b0,_0x321ba6),_0x69526b),'timestamp':new Date()[_0x5acf34(0x1d0)](),'time':_0x2c41f1[_0x5acf34(0x17d)](_0x279dd8,0x3e8)||0x0},![])),_0x51544d['forEach'](_0x41fbe7=>{const _0xb5ab84=_0x5acf34,_0x47e580={'hPMwX':function(_0x14e76f,_0x413077,_0x12e393){const _0x1a57eb=a28_0x1eca;return _0x2c41f1[_0x1a57eb(0x120)](_0x14e76f,_0x413077,_0x12e393);}};_0xa2c9cd[_0x41fbe7][_0x2c41f1['HlUpX']][_0xb5ab84(0x144)](_0x1d81ec=>{_0x47e580['hPMwX'](xunitTest,_0x1d81ec,_0x41fbe7);});}),_0x2c41f1[_0x5acf34(0x135)](xunitWrite,_0x2c41f1[_0x5acf34(0x105)]);if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1cc)],_0x7d71c1[_0x5acf34(0x157)]),fs['writeFileSync'](_0x7d71c1[_0x5acf34(0x157)],xunitContent);}catch(_0x2e68e9){logger[_0x5acf34(0x1d6)](_0x2c41f1['awZTR'],_0x7d71c1['output']),logger[_0x5acf34(0x114)](_0x2e68e9);}else logger[_0x5acf34(0x114)](_0x2c41f1['ZysVZ']),console[_0x5acf34(0xf7)](xunitContent);}else{if(_0x2c41f1[_0x5acf34(0x170)](_0x4416eb,0x0))return;console['log'](),logger[_0x5acf34(0x114)](_0x2c41f1['fLgls']),console[_0x5acf34(0xf7)](chalk[_0x5acf34(0x172)][_0x5acf34(0x1a7)](_0x2c41f1[_0x5acf34(0x152)])),_0x51544d['forEach'](_0xff2994=>{const _0x3c309a=_0x5acf34,_0x445d64=[];_0xa2c9cd[_0xff2994][_0x2c41f1[_0x3c309a(0x13e)]]['forEach'](_0x58efd5=>{const _0xd75f6f=_0x3c309a;_0x2c41f1['EdeLe'](_0x58efd5['state'],_0x2c41f1[_0xd75f6f(0x1b4)])&&(_0x58efd5[_0xd75f6f(0x1a1)]=()=>_0x58efd5[_0xd75f6f(0x151)],_0x445d64[_0xd75f6f(0x17f)](_0x58efd5));}),_0x2c41f1[_0x3c309a(0x1a3)](_0x445d64[_0x3c309a(0x153)],0x0)&&(Base[_0x3c309a(0x12f)](),Base[_0x3c309a(0x12f)](_0x2c41f1[_0x3c309a(0x110)](_0x2060e5),chalk['bold'][_0x3c309a(0x112)](_0xff2994)),Base[_0x3c309a(0x1af)](_0x445d64));});}}}async function run(_0x147d9,_0x85a62e){const _0x3d5be3=a28_0x12cab0,_0x126bc4={'aRtVv':function(_0xc6fe8d,_0x7a1089,_0x2fc04a,_0x16be9b){return _0xc6fe8d(_0x7a1089,_0x2fc04a,_0x16be9b);},'DmBxP':_0x3d5be3(0x149),'CiXbO':_0x3d5be3(0x1b3),'sXMbq':_0x3d5be3(0x1d8),'seuRN':function(_0x114597,_0x26d346,_0x2bd9a0,_0x1ee229){return _0x114597(_0x26d346,_0x2bd9a0,_0x1ee229);},'FqnDA':_0x3d5be3(0x17c),'qMoPG':'--disable-test-observability','eoHNA':_0x3d5be3(0x1e4),'SxopH':function(_0x3af9c0,_0x1d6f43){return _0x3af9c0!=_0x1d6f43;},'gqxzN':_0x3d5be3(0x126),'slbdi':'mjs','eBxft':'test','JvVwY':_0x3d5be3(0x196),'cOQQm':function(_0x26219f,_0x3e2f49){return _0x26219f(_0x3e2f49);},'jDILZ':function(_0xec8fc4,_0x2f42ef,_0x8a34b1){return _0xec8fc4(_0x2f42ef,_0x8a34b1);},'Otemn':'files','dlORj':_0x3d5be3(0x17e),'fevGO':_0x3d5be3(0x1da),'dxKWT':function(_0x3b6b8e,_0x4db085,_0x5c23ad,_0x421b30){return _0x3b6b8e(_0x4db085,_0x5c23ad,_0x421b30);},'hEFXQ':function(_0x201dce,_0x10ef03){return _0x201dce*_0x10ef03;},'nyHmQ':function(_0x1fef3a,_0x1adc50){return _0x1fef3a!==_0x1adc50;},'ZgIIM':function(_0x482c44,_0x3a4ea8,_0x17c4ba,_0x1061c9){return _0x482c44(_0x3a4ea8,_0x17c4ba,_0x1061c9);}};process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4['qMoPG'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ed)]=![]);process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4[_0x3d5be3(0x11d)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x19f)]=![]);const _0x40e3eb=new BrowserStackSetup(_0x147d9,_0x126bc4[_0x3d5be3(0x10b)]);helper[_0x3d5be3(0x13c)]()?(await _0x40e3eb[_0x3d5be3(0x194)](),await helper['handleApp'](_0x40e3eb['config'])):await _0x40e3eb['setupTCGAuth']();const _0x485683=[];let _0x4ea44b=[];if(!_0x40e3eb[_0x3d5be3(0x162)])return;_0x126bc4[_0x3d5be3(0x139)](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)],null)&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x13a)]=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)]);!helper[_0x3d5be3(0x18e)](_0x40e3eb[_0x3d5be3(0x162)]['accessibility'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1e7)]=_0x40e3eb[_0x3d5be3(0x162)]['accessibility']);!helper[_0x3d5be3(0x18e)](_0x40e3eb['config'][_0x3d5be3(0xff)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ea)]=JSON['stringify'](_0x40e3eb['config']['accessibilityOptions']));const {extension:extension=['js',_0x126bc4[_0x3d5be3(0x187)],_0x126bc4[_0x3d5be3(0xf9)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x126bc4[_0x3d5be3(0xfe)]]}=_0x147d9,_0x1ee480={..._0x147d9};_0x1ee480[_0x3d5be3(0x141)]=null;const _0x1b9517=_0x1ee480;let _0xfeaf7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3d5be3(0x158)]()){let _0x7ff60b=process['env'][_0x3d5be3(0x192)];!helper[_0x3d5be3(0x18e)](_0x40e3eb['cliConfig'])&&_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x128)](_0x126bc4[_0x3d5be3(0x1c1)])&&(_0x7ff60b=_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x1b7)](_0x126bc4[_0x3d5be3(0x1c1)])),_0xfeaf7=testOpsHelper['parseFileNames'](_0x7ff60b);}if(helper[_0x3d5be3(0x18e)](_0xfeaf7)){const _0xe5d22b={};_0xe5d22b[_0x3d5be3(0x11f)]=ignore,_0xe5d22b[_0x3d5be3(0x189)]=extension,_0xe5d22b['file']=file,_0xe5d22b[_0x3d5be3(0x1b0)]=recursive,_0xe5d22b[_0x3d5be3(0x10e)]=sort,_0xe5d22b['spec']=spec,_0xfeaf7=_0x126bc4[_0x3d5be3(0x169)](collectFiles,_0xe5d22b),_0x126bc4[_0x3d5be3(0x146)](nestedKeyValue,_0xfeaf7,[_0x126bc4[_0x3d5be3(0x16d)]])&&(_0xfeaf7=_0xfeaf7['files']);}helper['markSDKSetupComplete']();if(!helper[_0x3d5be3(0x13c)]()){const _0x17c9f5=0x1,_0x30ec63={..._0x1b9517};_0x30ec63[_0x3d5be3(0x11c)]=[..._0xfeaf7],_0x485683[_0x3d5be3(0x17f)]({'mochaOpts':_0x30ec63,'configuration':{'platform':os['platform']()}}),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c4)]),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c7)]),_0x126bc4[_0x3d5be3(0x13f)](parallelTestRun,_0x485683,_0x17c9f5,_0x40e3eb)[_0x3d5be3(0x16f)](_0x5dd941=>{const _0x5de852=_0x3d5be3;_0x126bc4[_0x5de852(0x190)](printStats,_0x5dd941,_0x147d9['reporter'],_0x147d9[_0x5de852(0x154)]||_0x147d9[_0x126bc4[_0x5de852(0x1e0)]]);})[_0x3d5be3(0x186)](()=>{const _0x5501e0=_0x3d5be3;try{const {browserstackFolderPath:_0x1786fc,tcgConfigPath:_0x5493e5}=helper[_0x5501e0(0xfb)]();fs[_0x5501e0(0x1b5)](_0x5493e5),fs['rmdirSync'](_0x1786fc);}catch(_0xb6eae5){logger[_0x5501e0(0x114)](_0x126bc4[_0x5501e0(0x167)],_0xb6eae5);}try{utilities[_0x5501e0(0x106)](_0x126bc4[_0x5501e0(0x1e5)],{},_0x40e3eb[_0x5501e0(0x162)],_0x40e3eb[_0x5501e0(0x1c0)]);}catch(_0x133338){logger[_0x5501e0(0x114)](_0x5501e0(0x164)+_0x133338);}try{helper['notifyUpdate']();}catch(_0x59e141){logger[_0x5501e0(0x114)](_0x5501e0(0x122)+_0x59e141);}testOpsHelper[_0x5501e0(0x16e)]();});}else{const _0x40efdc=helper[_0x3d5be3(0x166)](_0x40e3eb[_0x3d5be3(0x162)]),_0x7c80e2=helper[_0x3d5be3(0x18f)](_0x40e3eb['config']);_0x4ea44b=helper['prepareCapabilities'](_0x40e3eb[_0x3d5be3(0x162)],_0x40efdc,constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)]);let _0x1c6b0d;const _0x211939=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)]||helper[_0x3d5be3(0x165)](_0x147d9,_0x85a62e,_0x40e3eb['config'],constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)])||0x1;helper[_0x3d5be3(0x148)](_0x40e3eb['config'])?_0x1c6b0d=_0x126bc4['hEFXQ'](_0x40e3eb['config'][_0x3d5be3(0x142)][_0x3d5be3(0x153)],_0x211939):_0x1c6b0d=_0x211939;const _0x1e6c2f=_0x126bc4[_0x3d5be3(0x169)](getPercyOptions,_0x40e3eb[_0x3d5be3(0x162)]);if(_0x126bc4['nyHmQ'](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)],0x1))_0xfeaf7[_0x3d5be3(0x144)](_0x46670d=>{const _0x1d1a20=[];_0x4ea44b['forEach']((_0x291af8,_0x34593f)=>{const _0x1e7a04=a28_0x1eca,_0x39bb6a={};_0x39bb6a['spec']=[_0x46670d],_0x1d1a20[_0x1e7a04(0x17f)]({'mochaOpts':Object[_0x1e7a04(0x18b)]({},_0x1b9517,_0x39bb6a),'configuration':{'server':_0x7c80e2,'capability':_0x291af8,'proxySettings':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x143)],'platform':helper[_0x1e7a04(0x19e)](_0x291af8),'browserStackLogLevel':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x12e)],'platformIndex':_0x34593f,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x1e7a04(0x162)]['platforms'][_0x34593f]}});}),_0x485683['push'](..._0x1d1a20);});else{const _0x26249e=[];_0x4ea44b[_0x3d5be3(0x144)]((_0x3a8b09,_0xd9e9c0)=>{const _0x851305=_0x3d5be3;let _0x544e03=Object[_0x851305(0x18b)]({},_0x1b9517);testOpsHelper[_0x851305(0x1dc)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x544e03={..._0x544e03,'spec':[..._0xfeaf7]}),_0x26249e[_0x851305(0x17f)]({'mochaOpts':_0x544e03,'configuration':{'server':_0x7c80e2,'capability':_0x3a8b09,'proxySettings':_0x40e3eb['config'][_0x851305(0x143)],'platform':helper[_0x851305(0x19e)](_0x3a8b09),'browserStackLogLevel':_0x40e3eb[_0x851305(0x162)][_0x851305(0x12e)],'platformIndex':_0xd9e9c0,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x851305(0x162)][_0x851305(0x142)][_0xd9e9c0]}});}),_0x485683[_0x3d5be3(0x17f)](..._0x26249e);}logger[_0x3d5be3(0x131)](_0x3d5be3(0x198)+_0x40e3eb[_0x3d5be3(0x162)]['platforms'][_0x3d5be3(0x153)]+_0x3d5be3(0x1d4)),logger['info'](_0x126bc4['fevGO']);let _0x5a5eb8;_0x126bc4[_0x3d5be3(0x107)](parallelTestRun,_0x485683,_0x1c6b0d,_0x40e3eb)['then'](_0x568d54=>{const _0xf8b693=_0x3d5be3;_0x5a5eb8=_0x568d54,_0x126bc4[_0xf8b693(0x1db)](printStats,_0x568d54,_0x147d9[_0xf8b693(0x11b)],_0x147d9[_0xf8b693(0x154)]||_0x147d9[_0x126bc4['DmBxP']]);})[_0x3d5be3(0x186)](async()=>{const _0xf7bab5=_0x3d5be3;_0x40e3eb[_0xf7bab5(0x14f)]=helper['getErrorMessageFromResults'](_0x5a5eb8,_0x126bc4['FqnDA']),await utilities[_0xf7bab5(0x18a)](_0x40e3eb),testOpsHelper['printBuildLink']();});}}module[a28_0x12cab0(0x188)]=run;function a28_0x1467(){const _0x1b0ddf=['cKUfU','dqpnl','passes','list','recursive','11leTeQO','Writing\x20json\x20result\x20to\x20file','error\x20removing\x20tcg\x20config\x20file','dalJL','unlinkSync','title','get','indexOf','8962145ZAzdrN','AwfSZ','exitCode','getOwnPropertyNames','lbBTC','hasOwnProperty','testsFailed','framework','JvVwY','gfxrc','Total\x20Platforms:\x20','dlORj','pYxtG','bjYIW','fevGO','11724960pYiPoV','Sewyg','parse','../../helpers/percy/utils','comar','nOHfG','jtdCl','BDvTe','toUTCString','argv','Setting\x20non\x20exit\x20code\x20for\x20failures','Printing\x20stats\x20of\x20tests','\x20platforms','generateDiff','error','stringify','SDKTestSuccessful','testsPassed','Now,\x20showing\x20logs\x20from\x20mocha','seuRN','isTestObservabilitySession','jgUwh','XNTpP','ehnEi','DmBxP','\x20failed','UWZwt','testSuites','--disable-browserstack-automation','sXMbq','QlmeZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','suite','\x20passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eIhJv','pending','BROWSERSTACK_TEST_OBSERVABILITY','VhKZX','Listing\x20all\x20the\x20failures','speed','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','log','../../helpers/test-observability/utils','slbdi','MugIZ','getTCGConfigFilePaths','call','4509657cPXqvd','eBxft','accessibilityOptions','results','dJDVR','oArcZ','qnNSv','nDqPw','wYyje','fireFunnelTestEvent','ZgIIM','Total\x20Suites:\x20','passed','xunit','FqnDA','uFycC','../../helpers/logger','sort','dTdFc','LWQMS','4fMhiiP','bgBlueBright','../../helpers/helper','debug','join','actual','zfbTe','fUjqI','1015311SOkXUN','fullTitle','reporter','spec','eoHNA','env','ignore','tvPyW','cliConfig','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','isPending','\x0a\x0a\x0a','rvKMy','cjs','JDclA','has','mnnCm','dyqmm','add','\x20skipped','Tests:\x20\x20\x20\x20\x20\x20\x20','logLevel','consoleLog','stats','info','../test-runner','CwQTE','QHfzE','VrqGO','OYOTt','OWqCC','size','SxopH','BROWSERSTACK_TEST_OBSERVABILITY_YML','</testsuite>','isBrowserstackInfra','duration','HlUpX','dxKWT','105929HSPHFz','rootHooks','platforms','proxySettings','forEach','pofyY','jDILZ','state','validPlatformsPresent','reporter-option','ntnty','UGRxI','testObservability','2653716DeCFGw','prototype','errorMessage','PPkjI','titlePathV','IbkZq','length','reporterOptions','hideDiff','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','output','shouldReRunObservabilityTests','XXrEB','fQVzd','winstonLogger','../../helpers/BrowserStackSetup','xipNU','message','kEPkP','../../helpers/utilities','parallelsPerPlatform','config','VEJWf','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getUserWorkerCount','useW3C','CiXbO','FRAMEWORKS','cOQQm','hKshA','skipped','map','Otemn','printBuildLink','then','HPtzZ','30eKWsyu','bold','nVVKK','sPBph','Writing\x20xunit\x20result\x20to\x20file','7kOeTqs','keys','showDiff','AFtUg','failure','yellow','mocha','KLgXk','Running\x20your\x20mocha\x20tests','push','Mocha\x20Tests','currentRetry','failures','doc','expected','JylwB','finally','gqxzN','exports','extension','finalExecution','assign','includes','writeFileSync','isUndefined','getHubUrl','aRtVv','zjzoW','BROWSERSTACK_RERUN_TESTS','kWwzQ','initialize','DQJIb','rerunTests','WeDXZ','Running\x20your\x20mocha\x20tests\x20across\x20','SqfNJ','qdwKJ','MOCHA','12lGpqbs','SXPXv','getPlatformName','BROWSERSTACK_AUTOMATION','aaNqY','titlePath','11734056zunIOK','vVdJK','failed','dGfqd','QurUg','bgRedBright','NfkCy','red','fyKNH','vExqV'];a28_0x1467=function(){return _0x1b0ddf;};return a28_0x1467();}
|
|
2
|
+
'use strict';function a28_0x4c8e(){const _0x432188=['logLevel','MOCHA','FDXwq','EkXIa','failure','VgFUj','testsFailed','vhGNR','RFuzi','framework','duration','GNaRV','recursive','Jtntw','finalExecution','getHubUrl','testSuites','nOQWB','Running\x20your\x20mocha\x20tests\x20across\x20','bfXFe','Vidbi','setupTCGAuth','qWTYw','platforms','GtKTC','JlSlj','PjtjP','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','mocha/lib/cli/collect-files.js','title','CjkcV','PfMxS','rHbNk','map','uuVQv','24198822Vygajk','vbDcw','has','speed','hpezQ','Now,\x20showing\x20logs\x20from\x20mocha','skipped','ocMME','ICAbg','GiHWe','GFmFF','bZGRD','isTestObservabilitySession','wDOJD','getTCGConfigFilePaths','stringify','exports','Running\x20your\x20mocha\x20tests','IYNHm','Wtcsj','ZeScK','SDKTestSuccessful','assign','../../helpers/utilities','LQxqN','isBrowserstackInfra','zEiwY','2658828GoxYTD','parseFileNames','SOUMg','getPlatformName','parse','GyiKj','qrJpB','testsPassed','stats','currentRetry','env','WigCX','zBcqL','failed','get','pmcfS','includes','parallelsPerPlatform','min','qXPwn','qRsaH','aVsQx','qfBnl','MrLWx','Listing\x20all\x20the\x20failures','vmkrB','consoleLog','getUserWorkerCount','uBHsE','ONluJ','passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Total\x20Suites:\x20','--disable-test-observability','../../helpers/BrowserStackSetup','seCzp','WORDO','GVRZO','pending','BqQZZ','PtxOg','state','isPending','YhPrB','PNSFN','reporterOptions','useColors','output','join','isUndefined','fireFunnelTestEvent','bold','hYnxE','reporter','mocha/lib/reporters/base.js','chalk','\x20platforms','jWoqI','mLjUE','../../helpers/logger','sWajo','FRAMEWORKS','debug','markSDKSetupComplete','AtAcv','1485648BeFnlM','dJGmE','config','AVBoj','then','suite','\x20failed','ermSL','argv','BROWSERSTACK_TEST_OBSERVABILITY_YML','reporter-option','accessibilityOptions','725013OGJLMP','fullTitle','extension','APxlR','kDQfy','rlcAS','KzIFF','object','add','</testsuite>','Lhpwf','info','files','writeFileSync','zuBzM','ynyyV','json','totalTests','winstonLogger','HXKSU','spec','doc','notifyUpdate','XzeQx','BROWSERSTACK_RERUN_TESTS','hideDiff','cliConfig','xgCDS','MgsFU','****\x20FAILURES\x20****','KlxbI','log','proxySettings','red','bPmaq','testObservability','krJem','failures','dyqJG','testsPending','forEach','platform','AJdxI','PpJdt','dWUqP','call','NMFlV','finally','size','length','../../helpers/helper','Couldn\x27t\x20write\x20xunit\x20result\x20to','passes','rerunTests','plxSf','XERgQ','LgOYL','8564479AnvpOW','lVVzd','XAqBb','ABvkR','HvKoY','XTMiQ','../utils/constants','file','NQGvx','message','2173765rOxhqA','exitCode','actual','WcptG','TqUjS','shouldReRunObservabilityTests','err','test','mmJor','Writing\x20json\x20result\x20to\x20file','wJMeM','indexOf','JIdkX','15lTByvI','bgBlueBright','CncJv','ZSpkv','xnLFb','118338DDJAmv','cjs','Setting\x20non\x20exit\x20code\x20for\x20failures','errorMessage','push','\x20total','results','soEDt','HqOKV','bgRedBright','uhLet','grXeD','error\x20removing\x20tcg\x20config\x20file','testcase','tydSp','YTAPa','YZzUV','dtqfk','Couldn\x27t\x20write\x20json\x20result\x20to','Tests:\x20\x20\x20\x20\x20\x20\x20','Kwjgc','sort','jzcVp','4bKVNiw','error','titlePath','VmSqA','printBuildLink','KxgNm','yttDL','BROWSERSTACK_TEST_ACCESSIBILITY_YML'];a28_0x4c8e=function(){return _0x432188;};return a28_0x4c8e();}const a28_0x2ec1f4=a28_0x1bb1;(function(_0x40b90d,_0x331a53){const _0x5f1e5=a28_0x1bb1,_0x3467fd=_0x40b90d();while(!![]){try{const _0x31e172=-parseInt(_0x5f1e5(0x247))/0x1*(parseInt(_0x5f1e5(0x24c))/0x2)+parseInt(_0x5f1e5(0x1f7))/0x3+-parseInt(_0x5f1e5(0x164))/0x4*(-parseInt(_0x5f1e5(0x23a))/0x5)+-parseInt(_0x5f1e5(0x1aa))/0x6+-parseInt(_0x5f1e5(0x230))/0x7+-parseInt(_0x5f1e5(0x1eb))/0x8+parseInt(_0x5f1e5(0x18f))/0x9;if(_0x31e172===_0x331a53)break;else _0x3467fd['push'](_0x3467fd['shift']());}catch(_0x4c5dcf){_0x3467fd['push'](_0x3467fd['shift']());}}}(a28_0x4c8e,0x98a9a));const chalk=require(a28_0x2ec1f4(0x1e1)),logger=require(a28_0x2ec1f4(0x1e5))[a28_0x2ec1f4(0x209)],{default:BrowserStackSetup}=require(a28_0x2ec1f4(0x1cc)),helper=require(a28_0x2ec1f4(0x229)),utilities=require(a28_0x2ec1f4(0x1a6)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x2ec1f4(0x229)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x2ec1f4(0x1e0)),collectFiles=requireModule(a28_0x2ec1f4(0x188)),constants=require(a28_0x2ec1f4(0x236));function tag(_0x168f1b,_0x1df7d7,_0x5353fc,_0x67693a){const _0x4cd9e9=a28_0x2ec1f4,_0x366a64={'FDXwq':function(_0x12e1be,_0x585841){return _0x12e1be+_0x585841;},'HXKSU':function(_0x33d847,_0x4b63f0){return _0x33d847+_0x4b63f0;},'LgOYL':function(_0x57eacd,_0x5c7446){return _0x57eacd(_0x5c7446);},'lVVzd':function(_0x2f17df,_0x160872){return _0x2f17df+_0x160872;},'PpJdt':function(_0x539c77,_0x3b1144){return _0x539c77+_0x3b1144;},'GiHWe':function(_0x5ec902,_0x384c9d){return _0x5ec902+_0x384c9d;}},_0x5573c5=_0x5353fc?'/>':'>',_0x4336af=[];let _0x5d547f;for(const _0x420167 in _0x1df7d7){Object['prototype']['hasOwnProperty'][_0x4cd9e9(0x224)](_0x1df7d7,_0x420167)&&_0x4336af[_0x4cd9e9(0x250)](_0x366a64['FDXwq'](_0x366a64[_0x4cd9e9(0x16e)](_0x366a64[_0x4cd9e9(0x20a)](_0x420167,'=\x22'),_0x366a64[_0x4cd9e9(0x22f)](escape,_0x1df7d7[_0x420167])),'\x22'));}return _0x5d547f=_0x366a64['FDXwq'](_0x366a64[_0x4cd9e9(0x231)](_0x366a64[_0x4cd9e9(0x222)]('<',_0x168f1b),_0x4336af[_0x4cd9e9(0x228)]?_0x366a64['HXKSU']('\x20',_0x4336af[_0x4cd9e9(0x1da)]('\x20')):''),_0x5573c5),_0x67693a&&(_0x5d547f+=_0x366a64[_0x4cd9e9(0x198)](_0x366a64['GiHWe'](_0x366a64[_0x4cd9e9(0x198)](_0x67693a,'</'),_0x168f1b),_0x5573c5)),_0x5d547f;}let xunitContent='';function xunitWrite(_0x1ed9cf){xunitContent+=_0x1ed9cf;}function xunitTest(_0x4f980d,_0x570697){const _0x16c0df=a28_0x2ec1f4,_0x472528={'AtAcv':function(_0x121828,_0x33db99){return _0x121828/_0x33db99;},'GVRZO':function(_0x136cc7,_0x56a9f0){return _0x136cc7===_0x56a9f0;},'bfXFe':'failed','RVwoz':function(_0x4d09db,_0xbca2d){return _0x4d09db+_0xbca2d;},'MgsFU':function(_0x5c41ca,_0x1c2fe6){return _0x5c41ca(_0x1c2fe6);},'vmkrB':function(_0x5eed81,_0x59f2c0,_0x1041b7,_0x24651c,_0x552cae){return _0x5eed81(_0x59f2c0,_0x1041b7,_0x24651c,_0x552cae);},'PNSFN':_0x16c0df(0x15a),'BBBlS':function(_0x56a5d8,_0x10b402,_0x58521a,_0x3b5167,_0x5caa71){return _0x56a5d8(_0x10b402,_0x58521a,_0x3b5167,_0x5caa71);},'YhPrB':_0x16c0df(0x170),'kDQfy':function(_0x1e2625,_0x57db7d){return _0x1e2625+_0x57db7d;},'AJdxI':function(_0x189e09,_0x1d0054){return _0x189e09+_0x1d0054;},'qRsaH':function(_0x558fcf,_0x43aaa0){return _0x558fcf(_0x43aaa0);},'QRYna':function(_0x3bab1f,_0xb3635f){return _0x3bab1f(_0xb3635f);},'PtxOg':function(_0xfccc65,_0x3d5de5){return _0xfccc65(_0x3d5de5);},'rHbNk':function(_0x117a4e,_0x199985,_0x222eff,_0x2d5f0d,_0x46d626){return _0x117a4e(_0x199985,_0x222eff,_0x2d5f0d,_0x46d626);},'ZSpkv':function(_0x1cc431,_0x444cc1,_0x447102,_0x780576){return _0x1cc431(_0x444cc1,_0x447102,_0x780576);},'FBmDC':_0x16c0df(0x195),'mmJor':function(_0x51ddf4,_0x2f1308,_0x48d853,_0xc29b37){return _0x51ddf4(_0x2f1308,_0x48d853,_0xc29b37);}};Base[_0x16c0df(0x1d8)]=![];var _0x7d654d={'classname':_0x4f980d['fullTitle'],'name':_0x4f980d[_0x16c0df(0x189)],'time':_0x472528[_0x16c0df(0x1ea)](_0x4f980d['duration'],0x3e8)||0x0,'platform':_0x570697};if(_0x472528[_0x16c0df(0x1cf)](_0x4f980d[_0x16c0df(0x1d3)],_0x472528[_0x16c0df(0x17f)])){var _0x4b1b14=_0x4f980d['err'],_0x1f5df5=!Base[_0x16c0df(0x210)]&&Base['showDiff'](_0x4b1b14)?_0x472528['RVwoz']('\x0a',Base['generateDiff'](_0x4b1b14[_0x16c0df(0x23c)],_0x4b1b14['expected'])):'';_0x472528[_0x16c0df(0x213)](xunitWrite,_0x472528[_0x16c0df(0x1c3)](tag,_0x472528[_0x16c0df(0x1d6)],_0x7d654d,![],_0x472528['BBBlS'](tag,_0x472528[_0x16c0df(0x1d5)],{},![],_0x472528[_0x16c0df(0x1fb)](_0x472528[_0x16c0df(0x221)](_0x472528[_0x16c0df(0x221)](_0x472528['qRsaH'](escape,_0x4b1b14[_0x16c0df(0x239)]),_0x472528[_0x16c0df(0x1be)](escape,_0x1f5df5)),'\x0a'),_0x472528['QRYna'](escape,_0x4b1b14['stack'])))));}else _0x4f980d[_0x16c0df(0x1d4)]?_0x472528[_0x16c0df(0x1d2)](xunitWrite,_0x472528[_0x16c0df(0x18c)](tag,_0x472528[_0x16c0df(0x1d6)],_0x7d654d,![],_0x472528[_0x16c0df(0x24a)](tag,_0x472528['FBmDC'],{},!![]))):_0x472528[_0x16c0df(0x213)](xunitWrite,_0x472528[_0x16c0df(0x242)](tag,_0x472528[_0x16c0df(0x1d6)],_0x7d654d,!![]));};function getStats(_0x228a7b){const _0xc92ce4=a28_0x2ec1f4,_0x1c984d={};_0x1c984d[_0xc92ce4(0x174)]=_0xc92ce4(0x1f0),_0x1c984d[_0xc92ce4(0x201)]=_0xc92ce4(0x1c8),_0x1c984d['DGCOG']=_0xc92ce4(0x1b7),_0x1c984d[_0xc92ce4(0x182)]=_0xc92ce4(0x252);const _0xf35cb=_0x1c984d,_0x5c0cdf=Object['keys'](_0x228a7b);let _0x2a0c10=0x0,_0x56d0d2=0x0,_0x2f49a4=0x0,_0x56b18d=0x0;const _0x599557=new Set();_0x5c0cdf[_0xc92ce4(0x21f)](_0x1c690a=>{const _0xd23fd0=_0xc92ce4,_0x1300ab={};_0x1300ab['zuBzM']=_0xf35cb[_0xd23fd0(0x174)],_0x1300ab[_0xd23fd0(0x215)]=_0xf35cb[_0xd23fd0(0x201)],_0x1300ab['grXeD']=_0xf35cb['DGCOG'];const _0x5c339a=_0x1300ab;_0x228a7b[_0x1c690a][_0xf35cb[_0xd23fd0(0x182)]]['forEach'](_0x57db75=>{const _0x512f80=_0xd23fd0;_0x599557[_0x512f80(0x1ff)](_0x57db75[_0x5c339a[_0x512f80(0x205)]]),_0x2a0c10++;switch(_0x57db75[_0x512f80(0x1d3)]){case _0x5c339a[_0x512f80(0x215)]:_0x2f49a4++;break;case _0x5c339a[_0x512f80(0x158)]:_0x56d0d2++;break;default:_0x56b18d++;}});});const _0x1ca58a={};return _0x1ca58a[_0xc92ce4(0x17c)]=_0x599557[_0xc92ce4(0x227)],_0x1ca58a[_0xc92ce4(0x183)]=_0x5c0cdf,_0x1ca58a[_0xc92ce4(0x208)]=_0x2a0c10,_0x1ca58a[_0xc92ce4(0x172)]=_0x56d0d2,_0x1ca58a[_0xc92ce4(0x1b1)]=_0x2f49a4,_0x1ca58a[_0xc92ce4(0x21e)]=_0x56b18d,_0x1ca58a;}function errorJSON(_0x566d4c){const _0x41a551=a28_0x2ec1f4;var _0x46b830={};return Object['getOwnPropertyNames'](_0x566d4c)[_0x41a551(0x21f)](function(_0x32401b){_0x46b830[_0x32401b]=_0x566d4c[_0x32401b];},_0x566d4c),_0x46b830;}function a28_0x1bb1(_0x29d881,_0x1e5df9){const _0x4c8eb4=a28_0x4c8e();return a28_0x1bb1=function(_0x1bb16e,_0x257764){_0x1bb16e=_0x1bb16e-0x154;let _0x2b85a2=_0x4c8eb4[_0x1bb16e];return _0x2b85a2;},a28_0x1bb1(_0x29d881,_0x1e5df9);}function cleanCycles(_0x5ce92){const _0x59dd38=a28_0x2ec1f4,_0x55e42d={};_0x55e42d[_0x59dd38(0x223)]=function(_0x5dd4b5,_0x2e94fc){return _0x5dd4b5===_0x2e94fc;},_0x55e42d[_0x59dd38(0x22d)]=_0x59dd38(0x1fe),_0x55e42d[_0x59dd38(0x246)]=function(_0x426f63,_0x57ee85){return _0x426f63!==_0x57ee85;},_0x55e42d[_0x59dd38(0x185)]=function(_0x3dbe7a,_0xfaf83c){return _0x3dbe7a!==_0xfaf83c;},_0x55e42d[_0x59dd38(0x171)]=function(_0xba555d,_0xce3c95){return _0xba555d+_0xce3c95;};const _0x351286=_0x55e42d;var _0x9c25b3=[];return JSON[_0x59dd38(0x1ae)](JSON[_0x59dd38(0x19e)](_0x5ce92,function(_0x279fd0,_0x328243){const _0x49f5e7=_0x59dd38;if(_0x351286['dWUqP'](typeof _0x328243,_0x351286[_0x49f5e7(0x22d)])&&_0x351286[_0x49f5e7(0x246)](_0x328243,null)){if(_0x351286['JlSlj'](_0x9c25b3[_0x49f5e7(0x245)](_0x328243),-0x1))return _0x351286[_0x49f5e7(0x171)]('',_0x328243);_0x9c25b3[_0x49f5e7(0x250)](_0x328243);}return _0x328243;}));}function clean(_0x154e8f){const _0x3b5024=a28_0x2ec1f4,_0x5e951b={'AVBoj':function(_0x2a2b5b,_0x553c48){return _0x2a2b5b instanceof _0x553c48;},'ONluJ':function(_0x4f14f0,_0x4ff7ad){return _0x4f14f0(_0x4ff7ad);},'HJyvI':function(_0x167c5a,_0x4e70ca){return _0x167c5a(_0x4e70ca);}};var _0x187415=_0x154e8f[_0x3b5024(0x240)]||{};return _0x5e951b[_0x3b5024(0x1ee)](_0x187415,Error)&&(_0x187415=_0x5e951b[_0x3b5024(0x1c7)](errorJSON,_0x187415)),{'title':_0x154e8f[_0x3b5024(0x189)],'fullTitle':_0x154e8f[_0x3b5024(0x1f8)],'file':_0x154e8f['file'],'duration':_0x154e8f[_0x3b5024(0x176)],'currentRetry':_0x154e8f[_0x3b5024(0x1b3)],'speed':_0x154e8f[_0x3b5024(0x192)],'err':_0x5e951b['HJyvI'](cleanCycles,_0x187415)};}function printStats(_0x2225c2,_0x4137ad=a28_0x2ec1f4(0x20b),_0x5a86e6={}){const _0x42fabb=a28_0x2ec1f4,_0x116904={'ocMME':function(_0x16c73f,_0x3e4eba){return _0x16c73f(_0x3e4eba);},'zBcqL':function(_0x5a6b3d,_0x842488){return _0x5a6b3d===_0x842488;},'ermSL':_0x42fabb(0x1c8),'PjtjP':_0x42fabb(0x22b),'GyiKj':function(_0x15904c,_0x1499dd){return _0x15904c(_0x1499dd);},'bPmaq':_0x42fabb(0x1b7),'BqQZZ':_0x42fabb(0x21c),'ynyyV':function(_0x29865e,_0x584f8a){return _0x29865e(_0x584f8a);},'Kwjgc':_0x42fabb(0x1d0),'ZeScK':_0x42fabb(0x252),'Jtntw':function(_0xca59fc,_0xf01cda){return _0xca59fc===_0xf01cda;},'XERgQ':function(_0x5ddb59,_0x3317dc){return _0x5ddb59===_0x3317dc;},'uhLet':function(_0x481016,_0x22515c){return _0x481016*_0x22515c;},'NMFlV':function(_0xcd8235,_0x1397af,_0x168c60){return _0xcd8235(_0x1397af,_0x168c60);},'Pavwq':function(_0xa711d5,_0xd5d5cd){return _0xa711d5===_0xd5d5cd;},'HqOKV':function(_0x9d46f5,_0x273640){return _0x9d46f5>_0x273640;},'evFcA':function(_0x3f14a6){return _0x3f14a6();},'CncJv':function(_0x42c4b1,_0x39926f){return _0x42c4b1===_0x39926f;},'aFMIy':_0x42fabb(0x20c),'APxlR':function(_0x25c465,_0x2256eb){return _0x25c465(_0x2256eb);},'TqUjS':_0x42fabb(0x24e),'mLjUE':'Printing\x20stats\x20of\x20tests','jzcVp':function(_0x25f38f,_0x5c7b0d){return _0x25f38f+_0x5c7b0d;},'NQGvx':'Total\x20Platforms:\x20','uBHsE':_0x42fabb(0x1ca),'qXPwn':function(_0x508be7,_0x184eb8){return _0x508be7+_0x184eb8;},'YZzUV':function(_0x38fad6,_0x2860c2){return _0x38fad6+_0x2860c2;},'vbDcw':function(_0x5463c2,_0x33a75b){return _0x5463c2+_0x33a75b;},'WORDO':_0x42fabb(0x160),'nCTQd':function(_0x18a8ae,_0x186ec3){return _0x18a8ae>_0x186ec3;},'ABvkR':function(_0x190ca1,_0x342858){return _0x190ca1+_0x342858;},'KzIFF':function(_0x507270,_0x2635e9){return _0x507270+_0x2635e9;},'bZGRD':function(_0x36b218,_0x2d8bd2){return _0x36b218+_0x2d8bd2;},'ICAbg':function(_0x5df4e7,_0x2a147e){return _0x5df4e7+_0x2a147e;},'mFtkQ':'\x0a\x0a\x0a','CjkcV':function(_0x467d3e,_0x29e376){return _0x467d3e===_0x29e376;},'wJMeM':_0x42fabb(0x207),'rlcAS':_0x42fabb(0x243),'PfMxS':_0x42fabb(0x15f),'vhGNR':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','dtqfk':function(_0x1f7ac0,_0xf2c02c){return _0x1f7ac0===_0xf2c02c;},'WigCX':'xunit','WCbLG':'Mocha\x20Tests','QSikv':function(_0x55ed22,_0x1222cc){return _0x55ed22||_0x1222cc;},'VoVYv':function(_0x2276a1,_0x3b13d2){return _0x2276a1(_0x3b13d2);},'qukpV':function(_0x1b6d42,_0x4ca843,_0xb6b943,_0x2ca328){return _0x1b6d42(_0x4ca843,_0xb6b943,_0x2ca328);},'dJGmE':'testsuite','xgCDS':function(_0x17fb9a,_0x1a5ba3){return _0x17fb9a-_0x1a5ba3;},'hpezQ':function(_0x40b136,_0x1c740a){return _0x40b136-_0x1c740a;},'GtKTC':function(_0x3f5309,_0x577ce8){return _0x3f5309/_0x577ce8;},'VmSqA':_0x42fabb(0x200),'GFmFF':'Writing\x20xunit\x20result\x20to\x20file','XAqBb':_0x42fabb(0x22a),'WcptG':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','SHCno':function(_0x936f53,_0x22d4c9){return _0x936f53===_0x22d4c9;},'lYznI':_0x42fabb(0x1c2),'XvPuz':_0x42fabb(0x214)};if(_0x116904[_0x42fabb(0x249)](_0x4137ad,_0x116904['aFMIy']))return;const _0x523540=0x0,_0x5511f2=()=>{const _0x58fe59=_0x42fabb;return _0x116904[_0x58fe59(0x196)](Array,_0x523540)[_0x58fe59(0x1da)]('\x20\x20');},{testSuites:_0xafe15d,platforms:_0x1eeb0e,totalTests:_0x21773a,testsFailed:_0x11cca9,testsPassed:_0x15b98d,testsPending:_0x4a1113}=_0x116904[_0x42fabb(0x1fa)](getStats,_0x2225c2);_0x116904[_0x42fabb(0x155)](_0x11cca9,0x0)&&(logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x23e)]),process[_0x42fabb(0x23b)]=Math[_0x42fabb(0x1bc)](_0x11cca9,0xff));logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x1e4)]);const _0x19845a=''+_0x116904[_0x42fabb(0x163)](chalk[_0x42fabb(0x1dd)](_0x116904[_0x42fabb(0x238)]),_0x1eeb0e[_0x42fabb(0x228)]),_0x526565=''+_0x116904[_0x42fabb(0x163)](chalk[_0x42fabb(0x1dd)](_0x116904[_0x42fabb(0x1c6)]),_0xafe15d),_0x6ccf2e=''+_0x116904[_0x42fabb(0x1bd)](_0x116904[_0x42fabb(0x15d)](_0x116904[_0x42fabb(0x190)](chalk[_0x42fabb(0x1dd)](_0x116904[_0x42fabb(0x1ce)]),_0x116904[_0x42fabb(0x155)](_0x11cca9,0x0)?chalk['bold'][_0x42fabb(0x218)](_0x11cca9+_0x42fabb(0x1f1))+',\x20':''),_0x116904['nCTQd'](_0x4a1113,0x0)?chalk['bold']['yellow'](_0x4a1113+'\x20skipped')+',\x20':''),_0x116904[_0x42fabb(0x155)](_0x15b98d,0x0)?chalk[_0x42fabb(0x1dd)]['green'](_0x15b98d+'\x20passed')+',\x20':'')+_0x21773a+_0x42fabb(0x251);console[_0x42fabb(0x216)](_0x116904[_0x42fabb(0x233)](_0x116904[_0x42fabb(0x1fd)](_0x116904[_0x42fabb(0x1fd)](_0x116904[_0x42fabb(0x19a)](_0x116904[_0x42fabb(0x197)](_0x116904['mFtkQ'],_0x19845a),'\x0a'),_0x526565),'\x0a'),_0x6ccf2e));if(_0x116904[_0x42fabb(0x18a)](_0x4137ad,_0x116904[_0x42fabb(0x244)])){const _0x515e79={},_0x2981b0={};_0x2981b0[_0x42fabb(0x17c)]=_0xafe15d,_0x2981b0[_0x42fabb(0x183)]=_0x1eeb0e,_0x2981b0[_0x42fabb(0x172)]=_0x11cca9,_0x2981b0['testsPassed']=_0x15b98d,_0x2981b0[_0x42fabb(0x21e)]=_0x4a1113,_0x515e79[_0x42fabb(0x1b2)]=_0x2981b0,_0x1eeb0e[_0x42fabb(0x21f)](_0x156dac=>{const _0x32ee97=_0x42fabb,_0xe19bcf={'dyqJG':function(_0x13773b,_0x3cfb2a){const _0x155374=a28_0x1bb1;return _0x116904[_0x155374(0x1b6)](_0x13773b,_0x3cfb2a);},'sWajo':_0x116904[_0x32ee97(0x1f2)],'YTAPa':_0x116904[_0x32ee97(0x186)],'wDOJD':function(_0x554284,_0x566a05){const _0x1feeb8=_0x32ee97;return _0x116904[_0x1feeb8(0x1af)](_0x554284,_0x566a05);},'nOQWB':_0x116904[_0x32ee97(0x219)],'zEiwY':_0x116904[_0x32ee97(0x1d1)],'SOUMg':function(_0x136957,_0x562227){const _0x168f40=_0x32ee97;return _0x116904[_0x168f40(0x206)](_0x136957,_0x562227);},'aVsQx':_0x116904[_0x32ee97(0x161)]};_0x515e79[_0x156dac]={'pending':[],'failures':[],'passes':[],'tests':_0x2225c2[_0x156dac][_0x116904[_0x32ee97(0x1a3)]][_0x32ee97(0x18d)](clean)},_0x2225c2[_0x156dac][_0x116904['ZeScK']]['forEach'](_0x2e3823=>{const _0x2b6331=_0x32ee97;if(_0xe19bcf[_0x2b6331(0x21d)](_0x2e3823[_0x2b6331(0x1d3)],_0xe19bcf[_0x2b6331(0x1e6)]))_0x515e79[_0x156dac][_0xe19bcf[_0x2b6331(0x15c)]]['push'](_0xe19bcf[_0x2b6331(0x19c)](clean,_0x2e3823));else _0xe19bcf[_0x2b6331(0x21d)](_0x2e3823[_0x2b6331(0x1d3)],_0xe19bcf[_0x2b6331(0x17d)])?_0x515e79[_0x156dac][_0xe19bcf[_0x2b6331(0x1a9)]][_0x2b6331(0x250)](_0xe19bcf[_0x2b6331(0x1ac)](clean,_0x2e3823)):_0x515e79[_0x156dac][_0xe19bcf[_0x2b6331(0x1bf)]][_0x2b6331(0x250)](_0xe19bcf[_0x2b6331(0x1ac)](clean,_0x2e3823));});});if(_0x5a86e6[_0x42fabb(0x1d9)])try{logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x1fc)],_0x5a86e6[_0x42fabb(0x1d9)]),fs[_0x42fabb(0x204)](_0x5a86e6[_0x42fabb(0x1d9)],JSON[_0x42fabb(0x19e)](_0x515e79,null,0x3));}catch(_0x55abd2){logger[_0x42fabb(0x165)](_0x116904[_0x42fabb(0x18b)],_0x5a86e6['output']),logger['debug'](_0x55abd2);}else logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x173)]),console[_0x42fabb(0x216)](JSON[_0x42fabb(0x19e)](_0x515e79,null,0x3));}else{if(_0x116904[_0x42fabb(0x15e)](_0x4137ad,_0x116904[_0x42fabb(0x1b5)])){let _0x3f3fda;const _0x48db80=_0x116904['WCbLG'];_0x5a86e6&&(_0x3f3fda=_0x5a86e6['suiteName']);_0x3f3fda=_0x116904['QSikv'](_0x3f3fda,_0x48db80);let _0x21f36a=0x0,_0x109083=0x0,_0x4cc401=0x0,_0x5a4e06=0x0;_0x1eeb0e[_0x42fabb(0x21f)](_0x4f1d1a=>{const _0x56d97a=_0x42fabb,_0x4758cb={'EkXIa':function(_0x37555e,_0x7801a3){const _0x422285=a28_0x1bb1;return _0x116904[_0x422285(0x179)](_0x37555e,_0x7801a3);},'xnLFb':_0x116904['ermSL'],'IYNHm':function(_0x26cba9,_0x417c73){const _0x1ab3e3=a28_0x1bb1;return _0x116904[_0x1ab3e3(0x22e)](_0x26cba9,_0x417c73);},'qrJpB':_0x116904['bPmaq'],'Wtcsj':function(_0x4e4230,_0x56c6f6){const _0x345efd=a28_0x1bb1;return _0x116904[_0x345efd(0x157)](_0x4e4230,_0x56c6f6);}};_0x2225c2[_0x4f1d1a][_0x116904[_0x56d97a(0x1a3)]][_0x56d97a(0x21f)](_0x396c96=>{const _0x26a409=_0x56d97a;if(_0x4758cb[_0x26a409(0x16f)](_0x396c96['state'],_0x4758cb[_0x26a409(0x24b)]))_0x21f36a++;else _0x4758cb[_0x26a409(0x1a1)](_0x396c96[_0x26a409(0x1d3)],_0x4758cb[_0x26a409(0x1b0)])&&_0x109083++;_0x4cc401++,_0x5a4e06+=_0x4758cb[_0x26a409(0x1a2)](_0x396c96['duration'],0x1);});}),_0x116904['VoVYv'](xunitWrite,_0x116904['qukpV'](tag,_0x116904[_0x42fabb(0x1ec)],{'name':_0x3f3fda,'tests':_0x4cc401,'failures':0x0,'errors':_0x109083,'skipped':_0x116904[_0x42fabb(0x212)](_0x116904[_0x42fabb(0x193)](_0x4cc401,_0x109083),_0x21f36a),'timestamp':new Date()['toUTCString'](),'time':_0x116904[_0x42fabb(0x184)](_0x5a4e06,0x3e8)||0x0},![])),_0x1eeb0e['forEach'](_0xf7ff0b=>{const _0x289483=_0x42fabb,_0x47c123={'LQxqN':function(_0x3a94a5,_0xdda4e3,_0x43dab5){const _0x59c141=a28_0x1bb1;return _0x116904[_0x59c141(0x225)](_0x3a94a5,_0xdda4e3,_0x43dab5);}};_0x2225c2[_0xf7ff0b][_0x116904['ZeScK']][_0x289483(0x21f)](_0x18ea41=>{const _0x468e0d=_0x289483;_0x47c123[_0x468e0d(0x1a7)](xunitTest,_0x18ea41,_0xf7ff0b);});}),_0x116904['VoVYv'](xunitWrite,_0x116904[_0x42fabb(0x167)]);if(_0x5a86e6[_0x42fabb(0x1d9)])try{logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x199)],_0x5a86e6[_0x42fabb(0x1d9)]),fs['writeFileSync'](_0x5a86e6['output'],xunitContent);}catch(_0x3557cc){logger['error'](_0x116904[_0x42fabb(0x232)],_0x5a86e6[_0x42fabb(0x1d9)]),logger[_0x42fabb(0x1e8)](_0x3557cc);}else logger[_0x42fabb(0x1e8)](_0x116904[_0x42fabb(0x23d)]),console['log'](xunitContent);}else{if(_0x116904['SHCno'](_0x11cca9,0x0))return;console[_0x42fabb(0x216)](),logger[_0x42fabb(0x1e8)](_0x116904['lYznI']),console['log'](chalk['bold'][_0x42fabb(0x156)](_0x116904['XvPuz'])),_0x1eeb0e[_0x42fabb(0x21f)](_0x4a6e92=>{const _0x19ba21=_0x42fabb,_0x236d06=[];_0x2225c2[_0x4a6e92][_0x116904[_0x19ba21(0x1a3)]][_0x19ba21(0x21f)](_0x25a83b=>{const _0x5d39d9=_0x19ba21;_0x116904['Pavwq'](_0x25a83b[_0x5d39d9(0x1d3)],_0x116904[_0x5d39d9(0x219)])&&(_0x25a83b[_0x5d39d9(0x166)]=()=>_0x25a83b['titlePathV'],_0x236d06['push'](_0x25a83b));}),_0x116904[_0x19ba21(0x155)](_0x236d06['length'],0x0)&&(Base[_0x19ba21(0x1c4)](),Base[_0x19ba21(0x1c4)](_0x116904['evFcA'](_0x5511f2),chalk['bold'][_0x19ba21(0x248)](_0x4a6e92)),Base['list'](_0x236d06));});}}}async function run(_0x5b73ad,_0x30225e){const _0x39db46=a28_0x2ec1f4,_0x3fb35a={'qfBnl':function(_0x36290b,_0x144922,_0x14fe02,_0x5e147f){return _0x36290b(_0x144922,_0x14fe02,_0x5e147f);},'XzeQx':_0x39db46(0x1f5),'zEdbz':_0x39db46(0x159),'hYnxE':_0x39db46(0x1a4),'pmcfS':'mocha','IUBIW':_0x39db46(0x1cb),'yttDL':'--disable-browserstack-automation','HvKoY':function(_0x4bc07f,_0x1f0e5f){return _0x4bc07f!=_0x1f0e5f;},'lFqIy':_0x39db46(0x24d),'CXVhk':'mjs','uuVQv':_0x39db46(0x241),'seCzp':_0x39db46(0x22c),'MrLWx':function(_0x4d7962,_0x43eb5e){return _0x4d7962(_0x43eb5e);},'Vidbi':function(_0x2aec3c,_0x57f68e,_0x2f781e){return _0x2aec3c(_0x57f68e,_0x2f781e);},'GNaRV':_0x39db46(0x203),'ohiUH':_0x39db46(0x1a0),'tydSp':_0x39db46(0x194),'KxgNm':function(_0x3a484f,_0x2bbe4a,_0x24b211,_0xcd292a){return _0x3a484f(_0x2bbe4a,_0x24b211,_0xcd292a);},'soEDt':function(_0x5e3926,_0x159822){return _0x5e3926*_0x159822;},'jWoqI':function(_0x1bae8d,_0x1afe05){return _0x1bae8d(_0x1afe05);},'krJem':function(_0x47008d,_0x1597d4){return _0x47008d!==_0x1597d4;},'XTMiQ':function(_0xd907c5,_0x344e58,_0x372d77,_0x582f43){return _0xd907c5(_0x344e58,_0x372d77,_0x582f43);}};process['argv']['includes'](_0x3fb35a['IUBIW'])&&(process[_0x39db46(0x1b4)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x39db46(0x1f3)][_0x39db46(0x1ba)](_0x3fb35a[_0x39db46(0x16a)])&&(process[_0x39db46(0x1b4)]['BROWSERSTACK_AUTOMATION']=![]);const _0x1fc2e0=new BrowserStackSetup(_0x5b73ad,_0x3fb35a[_0x39db46(0x1b9)]);helper[_0x39db46(0x1a8)]()?(await _0x1fc2e0['initialize'](),await helper['handleApp'](_0x1fc2e0[_0x39db46(0x1ed)])):await _0x1fc2e0[_0x39db46(0x181)]();const _0x27930a=[];let _0x4d7e43=[];if(!_0x1fc2e0[_0x39db46(0x1ed)])return;_0x3fb35a[_0x39db46(0x234)](_0x1fc2e0[_0x39db46(0x1ed)][_0x39db46(0x21a)],null)&&(process[_0x39db46(0x1b4)][_0x39db46(0x1f4)]=_0x1fc2e0[_0x39db46(0x1ed)][_0x39db46(0x21a)]);!helper[_0x39db46(0x1db)](_0x1fc2e0[_0x39db46(0x1ed)]['accessibility'])&&(process[_0x39db46(0x1b4)][_0x39db46(0x16b)]=_0x1fc2e0[_0x39db46(0x1ed)]['accessibility']);!helper[_0x39db46(0x1db)](_0x1fc2e0[_0x39db46(0x1ed)]['accessibilityOptions'])&&(process[_0x39db46(0x1b4)][_0x39db46(0x1c9)]=JSON[_0x39db46(0x19e)](_0x1fc2e0['config'][_0x39db46(0x1f6)]));const {extension:extension=['js',_0x3fb35a['lFqIy'],_0x3fb35a['CXVhk']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3fb35a[_0x39db46(0x18e)]]}=_0x5b73ad,_0x2b6d7b={..._0x5b73ad};_0x2b6d7b['rootHooks']=null;const _0x41dbab=_0x2b6d7b;let _0x160f53;if(testOpsHelper[_0x39db46(0x19b)]()&&testOpsHelper[_0x39db46(0x23f)]()){let _0x2a4d2e=process[_0x39db46(0x1b4)][_0x39db46(0x20f)];!helper['isUndefined'](_0x1fc2e0[_0x39db46(0x211)])&&_0x1fc2e0['cliConfig'][_0x39db46(0x191)](_0x3fb35a[_0x39db46(0x1cd)])&&(_0x2a4d2e=_0x1fc2e0['cliConfig'][_0x39db46(0x1b8)](_0x3fb35a[_0x39db46(0x1cd)])),_0x160f53=testOpsHelper[_0x39db46(0x1ab)](_0x2a4d2e);}if(helper[_0x39db46(0x1db)](_0x160f53)){const _0x3688fa={};_0x3688fa['ignore']=ignore,_0x3688fa[_0x39db46(0x1f9)]=extension,_0x3688fa[_0x39db46(0x237)]=file,_0x3688fa[_0x39db46(0x178)]=recursive,_0x3688fa[_0x39db46(0x162)]=sort,_0x3688fa['spec']=spec,_0x160f53=_0x3fb35a[_0x39db46(0x1c1)](collectFiles,_0x3688fa),_0x3fb35a[_0x39db46(0x180)](nestedKeyValue,_0x160f53,[_0x3fb35a[_0x39db46(0x177)]])&&(_0x160f53=_0x160f53[_0x39db46(0x203)]);}helper[_0x39db46(0x1e9)]();if(!helper[_0x39db46(0x1a8)]()){const _0x357d24=0x1,_0x301665={..._0x41dbab};_0x301665[_0x39db46(0x20b)]=[..._0x160f53],_0x27930a[_0x39db46(0x250)]({'mochaOpts':_0x301665,'configuration':{'platform':os[_0x39db46(0x220)]()}}),logger[_0x39db46(0x202)](_0x3fb35a['ohiUH']),logger[_0x39db46(0x202)](_0x3fb35a[_0x39db46(0x15b)]),_0x3fb35a[_0x39db46(0x169)](parallelTestRun,_0x27930a,_0x357d24,_0x1fc2e0)['then'](_0x1b31af=>{const _0x47a596=_0x39db46;_0x3fb35a[_0x47a596(0x1c0)](printStats,_0x1b31af,_0x5b73ad[_0x47a596(0x1df)],_0x5b73ad[_0x47a596(0x1d7)]||_0x5b73ad[_0x3fb35a[_0x47a596(0x20e)]]);})['finally'](()=>{const _0xdfe38f=_0x39db46;try{const {browserstackFolderPath:_0x25c2d2,tcgConfigPath:_0x40eacf}=helper[_0xdfe38f(0x19d)]();fs['unlinkSync'](_0x40eacf),fs['rmdirSync'](_0x25c2d2);}catch(_0x3e2e56){logger['debug'](_0x3fb35a['zEdbz'],_0x3e2e56);}try{utilities[_0xdfe38f(0x1dc)](_0x3fb35a[_0xdfe38f(0x1de)],{},_0x1fc2e0[_0xdfe38f(0x1ed)],_0x1fc2e0[_0xdfe38f(0x175)]);}catch(_0x2cb435){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x2cb435);}try{helper[_0xdfe38f(0x20d)]();}catch(_0x1df761){logger[_0xdfe38f(0x1e8)](_0xdfe38f(0x187)+_0x1df761);}testOpsHelper[_0xdfe38f(0x168)]();});}else{const _0x417ec1=helper['useW3C'](_0x1fc2e0[_0x39db46(0x1ed)]),_0x29d67b=helper[_0x39db46(0x17b)](_0x1fc2e0[_0x39db46(0x1ed)]);_0x4d7e43=helper['prepareCapabilities'](_0x1fc2e0[_0x39db46(0x1ed)],_0x417ec1,constants[_0x39db46(0x1e7)][_0x39db46(0x16d)]);let _0x309c84;const _0x5dbd54=_0x1fc2e0[_0x39db46(0x1ed)][_0x39db46(0x1bb)]||helper[_0x39db46(0x1c5)](_0x5b73ad,_0x30225e,_0x1fc2e0[_0x39db46(0x1ed)],constants[_0x39db46(0x1e7)]['MOCHA'])||0x1;helper['validPlatformsPresent'](_0x1fc2e0[_0x39db46(0x1ed)])?_0x309c84=_0x3fb35a[_0x39db46(0x154)](_0x1fc2e0['config'][_0x39db46(0x183)][_0x39db46(0x228)],_0x5dbd54):_0x309c84=_0x5dbd54;const _0x254eb5=_0x3fb35a[_0x39db46(0x1e3)](getPercyOptions,_0x1fc2e0[_0x39db46(0x1ed)]);if(_0x3fb35a[_0x39db46(0x21b)](_0x1fc2e0['config'][_0x39db46(0x1bb)],0x1))_0x160f53['forEach'](_0x168946=>{const _0x3746ea=_0x39db46,_0x4e26c4=[];_0x4d7e43[_0x3746ea(0x21f)]((_0x421f4d,_0x5cf996)=>{const _0xc3fff6=_0x3746ea,_0x22040f={};_0x22040f[_0xc3fff6(0x20b)]=[_0x168946],_0x4e26c4['push']({'mochaOpts':Object['assign']({},_0x41dbab,_0x22040f),'configuration':{'server':_0x29d67b,'capability':_0x421f4d,'proxySettings':_0x1fc2e0[_0xc3fff6(0x1ed)][_0xc3fff6(0x217)],'platform':helper[_0xc3fff6(0x1ad)](_0x421f4d),'browserStackLogLevel':_0x1fc2e0['config'][_0xc3fff6(0x16c)],'platformIndex':_0x5cf996,'browserStackPercyOptions':_0x254eb5,'platformCaps':_0x1fc2e0[_0xc3fff6(0x1ed)][_0xc3fff6(0x183)][_0x5cf996]}});}),_0x27930a['push'](..._0x4e26c4);});else{const _0x34f53e=[];_0x4d7e43[_0x39db46(0x21f)]((_0x49259f,_0x1c22b2)=>{const _0x39273e=_0x39db46;let _0x11f3db=Object[_0x39273e(0x1a5)]({},_0x41dbab);testOpsHelper[_0x39273e(0x19b)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x11f3db={..._0x11f3db,'spec':[..._0x160f53]}),_0x34f53e[_0x39273e(0x250)]({'mochaOpts':_0x11f3db,'configuration':{'server':_0x29d67b,'capability':_0x49259f,'proxySettings':_0x1fc2e0[_0x39273e(0x1ed)][_0x39273e(0x217)],'platform':helper['getPlatformName'](_0x49259f),'browserStackLogLevel':_0x1fc2e0['config'][_0x39273e(0x16c)],'platformIndex':_0x1c22b2,'browserStackPercyOptions':_0x254eb5,'platformCaps':_0x1fc2e0[_0x39273e(0x1ed)][_0x39273e(0x183)][_0x1c22b2]}});}),_0x27930a[_0x39db46(0x250)](..._0x34f53e);}logger[_0x39db46(0x202)](_0x39db46(0x17e)+_0x1fc2e0[_0x39db46(0x1ed)][_0x39db46(0x183)]['length']+_0x39db46(0x1e2)),logger[_0x39db46(0x202)](_0x3fb35a[_0x39db46(0x15b)]);let _0x5bfa5e;_0x3fb35a[_0x39db46(0x235)](parallelTestRun,_0x27930a,_0x309c84,_0x1fc2e0)[_0x39db46(0x1ef)](_0x42b338=>{const _0x1e908d=_0x39db46;_0x5bfa5e=_0x42b338,_0x3fb35a['qfBnl'](printStats,_0x42b338,_0x5b73ad[_0x1e908d(0x1df)],_0x5b73ad[_0x1e908d(0x1d7)]||_0x5b73ad[_0x3fb35a[_0x1e908d(0x20e)]]);})[_0x39db46(0x226)](async()=>{const _0x5d00e7=_0x39db46;_0x1fc2e0[_0x5d00e7(0x24f)]=helper['getErrorMessageFromResults'](_0x5bfa5e,_0x3fb35a[_0x5d00e7(0x1b9)]),await utilities[_0x5d00e7(0x17a)](_0x1fc2e0),testOpsHelper[_0x5d00e7(0x168)]();});}}module[a28_0x2ec1f4(0x19f)]=run;
|