browserstack-node-sdk 1.34.41 → 1.34.43
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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79_0xbdbeda=a79_0x5768;(function(_0x651d61,_0x26951e){const _0x29cf11=a79_0x5768,_0x460974=_0x651d61();while(!![]){try{const _0x5b0c8b=-parseInt(_0x29cf11(0x252))/0x1*(parseInt(_0x29cf11(0x202))/0x2)+parseInt(_0x29cf11(0x1f1))/0x3*(-parseInt(_0x29cf11(0x215))/0x4)+-parseInt(_0x29cf11(0x228))/0x5*(-parseInt(_0x29cf11(0x222))/0x6)+parseInt(_0x29cf11(0x1e6))/0x7*(parseInt(_0x29cf11(0x1c1))/0x8)+parseInt(_0x29cf11(0x1cd))/0x9+-parseInt(_0x29cf11(0x211))/0xa*(-parseInt(_0x29cf11(0x1eb))/0xb)+-parseInt(_0x29cf11(0x1f7))/0xc;if(_0x5b0c8b===_0x26951e)break;else _0x460974['push'](_0x460974['shift']());}catch(_0x1b4c63){_0x460974['push'](_0x460974['shift']());}}}(a79_0xb1b2,0x60c5e));function a79_0xb1b2(){const _0x3da30a=['91zALGQP','lPXPe','Error\x20in\x20doing\x20csv\x20operations:\x20','Ooufx','format','33XrangO','cJbhe','pushPerfMeasures','getEntries','\x20for\x20all\x20processes\x20is\x20','errorReportDirName','43971VMFtgw','utf-8','slice','entryType','unlinkSync','vroWW','6446544rrvhYu','started','Error\x20stopping\x20monitoring\x20','success','browserStackCwd','stopAndGenerate','performance-report','errorReportFileName','entryTypes','zezyD','join','124594RpktMm','_events','_observer','KNZvf','vSUaA','assign','jmpBn','ayQke','Performance\x20report\x20is\x20at\x20','NXQMN','env','zhBXU','worker','eventsMap','writeFileSync','1765370xEQFwQ','forEach','finalize','measureWrapper','4hSKcHb','MMeSa','path','opcTL','exports','stopMonitoring','false','BweWU','<h1>Performance\x20Report</h1>','testName','end','zYmWo','error-report','12fIFKBW','Error\x20while\x20removing\x20files:\x20','psjbp','index','message','jsonReportDirName','132920GRvpCS','uHIjz','jChBF','resolve','mark','ZMRta','winstonLogger','generateHTMLReport','aShrk','details','_measureEvents','appendFileSync','code','util','LjmCq','mkdirSync','readdir','getCleanedPerfEvents','/performance-report-','-end','finalizePerfMeasures','errors','mlYlk','calculateTimeFromEvents','WKGGQ','existsSync','qOScO','Error\x20in\x20writing\x20html\x20','isEnabled','readdirSync','readFileSync','_errorEvents','HWkfj','OwjuB','BROWSERSTACK_SDK_INSTRUMENTATION','platform','Time\x20for\x20','log','length','__platformCaps','FWzin','push','1yswrqm','name','.json','disconnect','calculateTimesFromMultipleFiles','cnILU','mmnQA','toJSON','reduce','TFjVo','jsonReportDirPath','all','</td><td>','173944xeBlGm','parse','then','vsOzp','HSAiB','cwd','function','generateJSON','readFile','finalizeErrors','stringify','pSnep','1305990uGBAYQ','buffered','catch','pushErrors','apply','jsonReportFileName','duration','tbxbl','toString','MLAJS','measure','</tbody></table></body></html>','</td></tr>','/error-report-','concat','../logger','fs/promises','EZEZn','entries','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','match','map','perf_hooks','measures','getEventsFromJSON'];a79_0xb1b2=function(){return _0x3da30a;};return a79_0xb1b2();}const fs=require('fs'),fsPromise=require(a79_0xbdbeda(0x1dd)),{performance,PerformanceObserver}=require(a79_0xbdbeda(0x1e3)),path=require(a79_0xbdbeda(0x217)),util=require(a79_0xbdbeda(0x235)),logger=require(a79_0xbdbeda(0x1dc))[a79_0xbdbeda(0x22e)],{getProcessId,sleep,debug,getTestName}=require('../processHelper');function a79_0x5768(_0x424031,_0x55c1a4){const _0xb1b2c=a79_0xb1b2();return a79_0x5768=function(_0x576807,_0x459534){_0x576807=_0x576807-0x1b5;let _0x4c9d21=_0xb1b2c[_0x576807];return _0x4c9d21;},a79_0x5768(_0x424031,_0x55c1a4);}class PerformanceTester{static ['_observer'];static ['_events']=[];static [a79_0xbdbeda(0x232)]=[];static [a79_0xbdbeda(0x247)]=[];static ['started']=![];static [a79_0xbdbeda(0x227)]=a79_0xbdbeda(0x1fd);static [a79_0xbdbeda(0x1be)]=process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)]?path[a79_0xbdbeda(0x201)](process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)],this[a79_0xbdbeda(0x227)]):path[a79_0xbdbeda(0x201)](process['cwd'](),a79_0xbdbeda(0x24d),this[a79_0xbdbeda(0x227)]);static [a79_0xbdbeda(0x1f0)]=process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)]?path[a79_0xbdbeda(0x201)](process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)],a79_0xbdbeda(0x221)):path[a79_0xbdbeda(0x201)](process['cwd'](),a79_0xbdbeda(0x221));static [a79_0xbdbeda(0x1d2)]=this[a79_0xbdbeda(0x1be)]+a79_0xbdbeda(0x23a)+getProcessId()+a79_0xbdbeda(0x1b6);static [a79_0xbdbeda(0x1fe)]=this[a79_0xbdbeda(0x1f0)]+'/error-report-'+getProcessId()+'.json';static [a79_0xbdbeda(0x231)]={};static [a79_0xbdbeda(0x20f)]={};static['startMonitoring'](_0x228d21=this[a79_0xbdbeda(0x1be)]+'/performance-report-'+getProcessId()+a79_0xbdbeda(0x1b6),_0x1d1a76=this[a79_0xbdbeda(0x1f0)]+a79_0xbdbeda(0x1da)+getProcessId()+a79_0xbdbeda(0x1b6)){const _0x5063a4=a79_0xbdbeda,_0x840c20={};_0x840c20[_0x5063a4(0x22d)]=function(_0x58a6c0,_0x3664ca){return _0x58a6c0===_0x3664ca;},_0x840c20[_0x5063a4(0x20b)]=_0x5063a4(0x1d7),_0x840c20[_0x5063a4(0x205)]=function(_0x3c14aa,_0x4270b6){return _0x3c14aa+_0x4270b6;},_0x840c20[_0x5063a4(0x229)]='Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20',_0x840c20['OvTWF']=_0x5063a4(0x1c7);const _0x111227=_0x840c20;try{!fs[_0x5063a4(0x241)](this['jsonReportDirPath'])&&fs[_0x5063a4(0x237)](this[_0x5063a4(0x1be)]);}catch(_0x11b5a9){logger['debug'](_0x111227[_0x5063a4(0x205)](_0x111227[_0x5063a4(0x229)],_0x11b5a9));}if(this[_0x5063a4(0x1f8)]||!this[_0x5063a4(0x244)]())return;this[_0x5063a4(0x204)]=new PerformanceObserver(_0x15a17a=>{const _0x3a6172=_0x5063a4;_0x15a17a[_0x3a6172(0x1ee)]()[_0x3a6172(0x212)](_0x51c286=>{const _0x20d42e=_0x3a6172;if(_0x111227['ZMRta'](_0x51c286[_0x20d42e(0x1f4)],_0x111227['NXQMN'])){let _0x1178e5={};if(_0x51c286[_0x20d42e(0x1bb)])_0x1178e5=_0x51c286[_0x20d42e(0x1bb)]();else for(const _0x2bf040 in _0x51c286){_0x1178e5[_0x2bf040]=_0x51c286[_0x2bf040];}this['details'][_0x51c286['name']]&&(_0x1178e5=Object[_0x20d42e(0x207)](_0x1178e5,this[_0x20d42e(0x231)][_0x51c286[_0x20d42e(0x1b5)]])),delete this[_0x20d42e(0x231)][_0x51c286[_0x20d42e(0x1b5)]],this[_0x20d42e(0x232)][_0x20d42e(0x251)](_0x1178e5);}else this[_0x20d42e(0x203)]['push'](_0x51c286);});});const _0x607d80={};_0x607d80[_0x5063a4(0x1ce)]=!![],_0x607d80[_0x5063a4(0x1ff)]=[_0x111227['OvTWF'],_0x111227[_0x5063a4(0x20b)]],this['_observer']['observe'](_0x607d80),this['started']=!![],this['jsonReportFileName']=_0x228d21,this[_0x5063a4(0x1fe)]=_0x1d1a76;}static['getPerformance'](){return performance;}static[a79_0xbdbeda(0x23f)](_0x4db0c2,_0xb0db26){const _0x1ed0a6=a79_0xbdbeda,_0x3412c2={};_0x3412c2[_0x1ed0a6(0x1e7)]=function(_0x323e43,_0x119947){return _0x323e43+_0x119947;},_0x3412c2['mlYlk']=function(_0x311a0c,_0x4ade88){return _0x311a0c||_0x4ade88;},_0x3412c2['ZNwcB']=function(_0x6c0236,_0x48d4fe){return _0x6c0236===_0x48d4fe;};const _0x20d171=_0x3412c2,_0x30edb2={};if(!_0x4db0c2||_0x20d171['ZNwcB'](_0x4db0c2[_0x1ed0a6(0x24e)],0x0))return;_0x4db0c2[_0x1ed0a6(0x1e2)](_0x56c472=>{const _0x7ee3bd=_0x1ed0a6;!_0x30edb2[_0x56c472[_0x7ee3bd(0x1b5)]]&&(_0x30edb2[_0x56c472[_0x7ee3bd(0x1b5)]]=0x0),_0x30edb2[_0x56c472['name']]+=_0x56c472[_0x7ee3bd(0x1d3)];});const _0x1764f6=_0xb0db26['reduce']((_0x9a43a9,_0x220268)=>{const _0x287daf=_0x1ed0a6;return _0x20d171[_0x287daf(0x1e7)](_0x30edb2[_0x220268],_0x20d171[_0x287daf(0x23e)](_0x9a43a9,0x0));},0x0);return _0x1764f6;}static async[a79_0xbdbeda(0x1b8)](_0x25d250,_0x573a7e){const _0x4e2ba0=a79_0xbdbeda,_0x36e13c={'mmnQA':function(_0x1fb2ab,_0x26438e){return _0x1fb2ab+_0x26438e;},'vroWW':function(_0x3464a8,_0x57de06){return _0x3464a8||_0x57de06;},'jChBF':function(_0x2b1be3,_0x471609){return _0x2b1be3===_0x471609;},'jmpBn':function(_0x30cd61,_0x4ff8af){return _0x30cd61(_0x4ff8af);},'BweWU':function(_0x55ff65,_0x2c0d22){return _0x55ff65(_0x2c0d22);}};if(!_0x25d250||_0x36e13c[_0x4e2ba0(0x22a)](_0x25d250[_0x4e2ba0(0x24e)],0x0))return 0x0;const _0x100e1b=[];for(const _0x4de2fd of _0x25d250){const _0x5c7356=path['join']('.',_0x4de2fd);try{const _0x3d6d74=this[_0x4e2ba0(0x1e5)](_0x5c7356);_0x3d6d74[_0x4e2ba0(0x1e2)](_0x591661=>{const _0x3d644d=_0x4e2ba0;!_0x100e1b[_0x591661[_0x3d644d(0x1b5)]]&&(_0x100e1b[_0x591661['name']]=0x0),_0x100e1b[_0x591661[_0x3d644d(0x1b5)]]+=_0x591661[_0x3d644d(0x1d3)];});}catch(_0x4b13c5){_0x36e13c[_0x4e2ba0(0x208)](debug,_0x4e2ba0(0x1e8)+_0x4b13c5[_0x4e2ba0(0x1d5)]());}}const _0x4b6004=_0x573a7e[_0x4e2ba0(0x1bc)]((_0x3e889d,_0x18fb9a)=>{const _0x5e5653=_0x4e2ba0;return _0x36e13c[_0x5e5653(0x1ba)](_0x100e1b[_0x18fb9a],_0x36e13c[_0x5e5653(0x1f6)](_0x3e889d,0x0));},0x0);return _0x36e13c[_0x4e2ba0(0x21c)](debug,_0x4e2ba0(0x24c)+_0x573a7e+_0x4e2ba0(0x1ef)+_0x4b6004),_0x4b6004;}static[a79_0xbdbeda(0x1e5)](_0x312678){const _0x3d62c5=a79_0xbdbeda;if(!fs[_0x3d62c5(0x241)](_0x312678))return[];return JSON[_0x3d62c5(0x1c2)](fs[_0x3d62c5(0x246)](_0x312678)[_0x3d62c5(0x1d5)]());}static async[a79_0xbdbeda(0x1fc)](_0x45d421='performance-own.html',_0x4df4e9=null){const _0x45a3e9=a79_0xbdbeda,_0x334f72={'HSAiB':function(_0x1a3e16,_0x2ec681){return _0x1a3e16(_0x2ec681);},'tbxbl':function(_0x41028b,_0x80abb9){return _0x41028b(_0x80abb9);}};if(!this[_0x45a3e9(0x1f8)])return;await _0x334f72[_0x45a3e9(0x1d4)](sleep,0x1e),this[_0x45a3e9(0x204)][_0x45a3e9(0x1b7)](),this[_0x45a3e9(0x1f8)]=![],this[_0x45a3e9(0x1c8)](this[_0x45a3e9(0x203)]);const _0xffb2d3=this[_0x45a3e9(0x22f)](this['_events']),_0x4c19b2=path['join'](process[_0x45a3e9(0x1c6)](),_0x45d421);fs['writeFile'](_0x4c19b2,_0xffb2d3,_0x36e98d=>{const _0x17ac10=_0x45a3e9;if(_0x36e98d){_0x334f72[_0x17ac10(0x1c5)](debug,_0x17ac10(0x243)+_0x36e98d[_0x17ac10(0x1d5)]());return;}_0x334f72[_0x17ac10(0x1c5)](debug,_0x17ac10(0x20a)+_0x4c19b2);});if(_0x4df4e9)return this['calculateTimeFromEvents'](this['_events'],_0x4df4e9);}static[a79_0xbdbeda(0x22f)](_0x43159a){const _0x1dacd0=a79_0xbdbeda,_0x395ba4={};_0x395ba4[_0x1dacd0(0x209)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x395ba4[_0x1dacd0(0x1e9)]=_0x1dacd0(0x21d),_0x395ba4['zezyD']=_0x1dacd0(0x1e0),_0x395ba4[_0x1dacd0(0x240)]=_0x1dacd0(0x1d8);const _0x1af416=_0x395ba4;let _0x54eb6c=_0x1af416[_0x1dacd0(0x209)];return _0x54eb6c+=_0x1af416[_0x1dacd0(0x1e9)],_0x54eb6c+=_0x1af416[_0x1dacd0(0x200)],_0x43159a['forEach'](_0x4dd094=>{const _0x175eef=_0x1dacd0;_0x54eb6c+='<tr><td>'+_0x4dd094[_0x175eef(0x1b5)]+_0x175eef(0x1c0)+_0x4dd094['duration']+_0x175eef(0x1d9);}),_0x54eb6c+=_0x1af416['WKGGQ'],_0x54eb6c;}static[a79_0xbdbeda(0x1c8)](_0x5c67ca){const _0x1623e0=a79_0xbdbeda;if(!this[_0x1623e0(0x1d2)])return;const _0x2da919={};_0x5c67ca[_0x1623e0(0x1e2)](_0x20cb90=>{const _0x1eb67d=_0x1623e0;!_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]&&(_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]=0x0),_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]+=_0x20cb90['duration'];});const _0xa7e5e6=Object[_0x1623e0(0x1df)](_0x2da919)[_0x1623e0(0x1e2)](([_0x52b1d0,_0x2e4eec])=>{const _0x54f19d=_0x1623e0,_0x221d85={};return _0x221d85[_0x54f19d(0x1b5)]=_0x52b1d0,_0x221d85[_0x54f19d(0x1d3)]=_0x2e4eec,_0x221d85;});fs[_0x1623e0(0x210)](this['jsonReportFileName'],JSON[_0x1623e0(0x1cb)](_0xa7e5e6));}static['isEnabled'](){const _0x3bb0d8=a79_0xbdbeda,_0x11ab54={};_0x11ab54[_0x3bb0d8(0x224)]=function(_0x51c2ce,_0x123020){return _0x51c2ce===_0x123020;},_0x11ab54[_0x3bb0d8(0x1c4)]=_0x3bb0d8(0x21b);const _0xef3599=_0x11ab54;return!_0xef3599[_0x3bb0d8(0x224)](process[_0x3bb0d8(0x20c)][_0x3bb0d8(0x24a)],_0xef3599['vsOzp']);}static[a79_0xbdbeda(0x1d7)](_0xe2d685,_0xbf0cd1,_0x680af7=null,_0x1d3584={},_0x2230f2=null){const _0x3baf5f=a79_0xbdbeda,_0x481427={'TFjVo':function(_0x5a5158,_0x525481){return _0x5a5158(_0x525481);},'YsqfB':function(_0x350efe,_0x234126){return _0x350efe(_0x234126);},'MLAJS':function(_0x5f1970,_0x392f86){return _0x5f1970 instanceof _0x392f86;}};try{if(this[_0x3baf5f(0x1f8)]&&this[_0x3baf5f(0x244)]()){let _0x2707ea=_0xe2d685;_0x680af7&&(_0x2707ea=_0xe2d685+'['+JSON[_0x3baf5f(0x1cb)](_0x680af7)+']');PerformanceTester['start'](_0x2707ea),this[_0x3baf5f(0x231)]&&(this[_0x3baf5f(0x231)][_0x2707ea]=_0x1d3584);try{const _0x128e1b=_0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);if(_0x481427[_0x3baf5f(0x1d6)](_0x128e1b,Promise))return new Promise((_0xc35150,_0x335577)=>{const _0x2d94c7=_0x3baf5f,_0x44377c={'zYmWo':function(_0x59c437,_0x358cc5){return _0x481427['YsqfB'](_0x59c437,_0x358cc5);}};_0x128e1b[_0x2d94c7(0x1c3)](_0x461793=>{const _0x4bace5=_0x2d94c7;PerformanceTester[_0x4bace5(0x21f)](_0x2707ea),_0x44377c[_0x4bace5(0x220)](_0xc35150,_0x461793);})[_0x2d94c7(0x1cf)](_0x9b8bc4=>{const _0x59d60c=_0x2d94c7;PerformanceTester[_0x59d60c(0x21f)](_0x2707ea,![],util[_0x59d60c(0x1ea)](_0x9b8bc4)),_0x481427[_0x59d60c(0x1bd)](_0x335577,_0x9b8bc4);});});;return PerformanceTester[_0x3baf5f(0x21f)](_0x2707ea),_0x128e1b;}catch(_0x390af5){PerformanceTester[_0x3baf5f(0x21f)](_0x2707ea,![],util['format'](_0x390af5));throw _0x390af5;}};return _0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);}catch(_0x4a0c2f){return _0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);}}static[a79_0xbdbeda(0x214)](_0x10a6e5,_0x28071e,_0xaeed17={}){const _0x15ed98=a79_0xbdbeda,_0x5a5328={'MMeSa':function(_0x21e1cd){return _0x21e1cd();}},_0x28032f=this;return _0xaeed17[_0x15ed98(0x20e)]=_0x5a5328['MMeSa'](getProcessId),_0xaeed17[_0x15ed98(0x21e)]=_0x5a5328[_0x15ed98(0x216)](getTestName),_0xaeed17[_0x15ed98(0x24b)]=global[_0x15ed98(0x24f)]&&global[_0x15ed98(0x24f)][_0x15ed98(0x225)],function(){const _0x2b608d=_0x15ed98,_0x46f9de=[_0x10a6e5,_0x28071e,null,_0xaeed17][_0x2b608d(0x1db)](arguments);return _0x28032f[_0x2b608d(0x1d7)]['apply'](_0x28032f,_0x46f9de);};}static[a79_0xbdbeda(0x239)](){const _0x482840=a79_0xbdbeda,_0x11150d=/(^.*)\[(.*)\]$/,_0x417309={},_0x50208d={},_0x73b13b=[],_0x456570=this[_0x482840(0x232)]['splice'](0x0,this[_0x482840(0x232)][_0x482840(0x24e)]);for(const _0x279490 of _0x456570){const _0x42f3d6=_0x279490[_0x482840(0x1b5)][_0x482840(0x1e1)](_0x11150d),_0x245054=Object[_0x482840(0x207)]({},_0x279490);_0x42f3d6&&(_0x245054[_0x482840(0x1b5)]=_0x42f3d6[0x1],_0x245054['meta']=JSON[_0x482840(0x1c2)](_0x42f3d6[0x2])),_0x73b13b['push'](_0x245054);}return _0x73b13b;}static[a79_0xbdbeda(0x1ed)](){const _0x306286=a79_0xbdbeda,_0x28deaa={};_0x28deaa[_0x306286(0x218)]=function(_0x231324,_0x2f5ac5){return _0x231324+_0x2f5ac5;},_0x28deaa[_0x306286(0x249)]=_0x306286(0x223),_0x28deaa[_0x306286(0x1b9)]=function(_0x4a56a6,_0x403090){return _0x4a56a6===_0x403090;},_0x28deaa[_0x306286(0x250)]=function(_0x3dd97e,_0x1ae28f){return _0x3dd97e+_0x1ae28f;};const _0x384150=_0x28deaa;try{if(fs[_0x306286(0x241)](this[_0x306286(0x1be)])){const _0x198bb6=fs[_0x306286(0x245)](this[_0x306286(0x1be)]);for(const _0x13a421 of _0x198bb6){fs['unlinkSync'](path[_0x306286(0x201)](this['jsonReportDirPath'],_0x13a421));}}}catch(_0xe6af20){logger['debug'](_0x384150[_0x306286(0x218)](_0x384150['OwjuB'],_0xe6af20));}if(_0x384150['cnILU'](this[_0x306286(0x232)][_0x306286(0x24e)],0x0))return;const _0x5be8a9=this['getCleanedPerfEvents'](),_0x532253=JSON[_0x306286(0x1cb)](_0x5be8a9),_0x28570a=_0x384150[_0x306286(0x250)](_0x532253[_0x306286(0x1f3)](0x1,-0x1),',');fs[_0x306286(0x233)](this[_0x306286(0x1d2)],_0x28570a);}static async[a79_0xbdbeda(0x23c)](){const _0x2e603e=a79_0xbdbeda,_0xcebcc={};_0xcebcc[_0x2e603e(0x236)]=function(_0x37487c,_0x447740){return _0x37487c===_0x447740;},_0xcebcc[_0x2e603e(0x1ec)]=function(_0x4c3cbd,_0x1c5ce9){return _0x4c3cbd>_0x1c5ce9;};const _0x322346=_0xcebcc;if(!this['started']||_0x322346['LjmCq'](this[_0x2e603e(0x232)][_0x2e603e(0x24e)],0x0))return[];if(!fs['existsSync'](this['jsonReportDirPath']))return this[_0x2e603e(0x232)];const _0xc0519a=(await fsPromise[_0x2e603e(0x238)](this[_0x2e603e(0x1be)]))[_0x2e603e(0x1e2)](_0x2d683e=>path[_0x2e603e(0x22b)](this[_0x2e603e(0x1be)],_0x2d683e));let _0x5b7a11=(await Promise[_0x2e603e(0x1bf)](_0xc0519a[_0x2e603e(0x1e2)](_0xc1265d=>fsPromise[_0x2e603e(0x1c9)](_0xc1265d,_0x2e603e(0x1f2)))))[_0x2e603e(0x1e2)](_0x3b05b2=>'['+_0x3b05b2[_0x2e603e(0x1f3)](0x0,-0x1)+']')[_0x2e603e(0x1e2)](_0x754ac=>JSON[_0x2e603e(0x1c2)](_0x754ac))['flat']();return _0x322346['cJbhe'](this['_measureEvents'][_0x2e603e(0x24e)],0x0)&&(_0x5b7a11=_0x5b7a11['concat'](this[_0x2e603e(0x239)]())),this[_0x2e603e(0x204)][_0x2e603e(0x1b7)](),_0x5b7a11;}static[a79_0xbdbeda(0x1d0)](){const _0x3e926b=a79_0xbdbeda,_0x5ab31e={};_0x5ab31e[_0x3e926b(0x248)]=function(_0x5bea01,_0x254fe1){return _0x5bea01===_0x254fe1;},_0x5ab31e[_0x3e926b(0x1de)]=function(_0x30653a,_0x50dec5){return _0x30653a+_0x50dec5;};const _0x486163=_0x5ab31e;if(_0x486163[_0x3e926b(0x248)](this[_0x3e926b(0x247)][_0x3e926b(0x24e)],0x0))return;const _0x5c0440=JSON[_0x3e926b(0x1cb)](this['_errorEvents']),_0x23c759=_0x486163[_0x3e926b(0x1de)](_0x5c0440['slice'](0x1,-0x1),',');fs[_0x3e926b(0x233)](this['errorFile'],_0x23c759);}static['finalizeErrors'](){const _0x4ee4bc=a79_0xbdbeda,_0x9139d5={};_0x9139d5[_0x4ee4bc(0x20d)]=function(_0x503c08,_0x206d29){return _0x503c08>_0x206d29;};const _0x1d5f04=_0x9139d5;if(!fs[_0x4ee4bc(0x241)](this[_0x4ee4bc(0x1fe)]))return this['_errorEvents'];let _0x4768a6=fs[_0x4ee4bc(0x246)](this[_0x4ee4bc(0x1fe)])['toString']();_0x4768a6='['+_0x4768a6[_0x4ee4bc(0x1f3)](0x0,-0x1)+']';let _0xc4b303=JSON['parse'](_0x4768a6);return _0x1d5f04['zhBXU'](this[_0x4ee4bc(0x247)][_0x4ee4bc(0x24e)],0x0)&&(_0xc4b303=_0xc4b303['concat'](this['_errorEvents'])),fs[_0x4ee4bc(0x1f5)](this[_0x4ee4bc(0x1fe)]),_0xc4b303;}static['captureError'](_0x5cb1cf){const _0x5de572=a79_0xbdbeda;if(!this['isEnabled']())return;this['_errorEvents'][_0x5de572(0x251)]({'message':_0x5cb1cf[_0x5de572(0x226)],'trace':_0x5cb1cf['stack'],'code':_0x5cb1cf[_0x5de572(0x234)]||null,'time':new Date()});}static[a79_0xbdbeda(0x21a)](){const _0x3a382c=a79_0xbdbeda;try{if(!this['isEnabled']())return;this[_0x3a382c(0x204)][_0x3a382c(0x1b7)](),this['pushPerfMeasures'](),this[_0x3a382c(0x1d0)]();}catch(_0x556842){logger['debug'](_0x3a382c(0x1f9)+util[_0x3a382c(0x1ea)](_0x556842));}}static async[a79_0xbdbeda(0x213)](){const _0x571bb5=a79_0xbdbeda,_0x1d9a93={'vSUaA':function(_0x3a8924,_0x2ba816){return _0x3a8924(_0x2ba816);}};await _0x1d9a93[_0x571bb5(0x206)](sleep,0x1e);const _0x4b199c=await this['finalizePerfMeasures'](),_0x50da3e=this[_0x571bb5(0x1ca)]();if(!this[_0x571bb5(0x244)]()){const _0x2dcaa9={};return _0x2dcaa9[_0x571bb5(0x1e4)]=[],_0x2dcaa9[_0x571bb5(0x23d)]=[],_0x2dcaa9;}const _0x4df276={};return _0x4df276['measures']=_0x4b199c,_0x4df276[_0x571bb5(0x23d)]=_0x50da3e,_0x4df276;}static['start'](_0x3f9b1e){const _0x45d898=a79_0xbdbeda,_0x28f7c0={};_0x28f7c0['rFupV']=function(_0x5ae765,_0xdab5b6){return _0x5ae765+_0xdab5b6;},_0x28f7c0['pSnep']='-start';const _0x16db80=_0x28f7c0,_0x4314b2=_0x16db80['rFupV'](_0x3f9b1e,_0x16db80[_0x45d898(0x1cc)]);if(this['eventsMap'][_0x4314b2])return;performance[_0x45d898(0x22c)](_0x4314b2),this[_0x45d898(0x20f)][_0x4314b2]=0x1;}static[a79_0xbdbeda(0x21f)](_0xab9dfe,_0x4882aa=!![],_0x255201=null,_0x4f3c87={}){const _0x2ba2cd=a79_0xbdbeda,_0x353f58={'GawBQ':function(_0x4fc6f7,_0x549982){return _0x4fc6f7+_0x549982;},'aShrk':_0x2ba2cd(0x23b),'qOScO':function(_0xed74ab,_0x479e58){return _0xed74ab+_0x479e58;},'weUJn':'-start','iUwra':function(_0x3793ae,_0x4f853f){return _0x3793ae+_0x4f853f;},'tRlca':function(_0x271384){return _0x271384();},'mNDgH':function(_0x1a4a8b){return _0x1a4a8b();}};performance[_0x2ba2cd(0x22c)](_0x353f58['GawBQ'](_0xab9dfe,_0x353f58['aShrk'])),performance['measure'](_0xab9dfe,_0x353f58[_0x2ba2cd(0x242)](_0xab9dfe,_0x353f58['weUJn']),_0x353f58['iUwra'](_0xab9dfe,_0x353f58[_0x2ba2cd(0x230)]));const _0x200987={};_0x200987[_0x2ba2cd(0x1fa)]=_0x4882aa,_0x200987['failure']=_0x255201,this['details'][_0xab9dfe]=Object[_0x2ba2cd(0x207)](_0x200987,Object[_0x2ba2cd(0x207)](Object[_0x2ba2cd(0x207)]({'worker':_0x353f58['tRlca'](getProcessId),'platform':global[_0x2ba2cd(0x24f)]&&global[_0x2ba2cd(0x24f)][_0x2ba2cd(0x225)],'testName':_0x353f58['mNDgH'](getTestName)},_0x4f3c87),this[_0x2ba2cd(0x231)][_0xab9dfe]||{}));}}module[a79_0xbdbeda(0x219)]=PerformanceTester;
|
|
1
|
+
const a79_0x100adf=a79_0x3a64;function a79_0x5df2(){const _0x58bec9=['disconnect','<tr><td>','zJRyX','stopMonitoring','jsonReportFileName','378GrxmHx','.json','iUIXK','measure','entryTypes','cwd','readdir','errorReportDirName','_measureEvents','</tbody></table></body></html>','_observer','eventsMap','HMMHM','toString','VvIIl','iTuaM','entries','XHUIW','writeFileSync','calculateTimesFromMultipleFiles','browserStackCwd','parse','mark','errors','xCJqg','entryType','generateHTMLReport','CevVl','/performance-report-','KuAfb','worker','path','finalizePerfMeasures','measures','failure','_errorEvents','kEgpH','startMonitoring','getEntries','2002058oEGXRD','reduce','flat','Error\x20while\x20removing\x20files:\x20','log','Error\x20in\x20writing\x20html\x20','LczSP','80SYSclV','oUEcm','FpOee','appendFileSync','Performance\x20report\x20is\x20at\x20','jsonReportDirName','pushPerfMeasures','getCleanedPerfEvents','WxNxK','3GGbJKT','perf_hooks','start','QtbiH','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','fs/promises','ZCFcF','QzEwB','nsHXs','error-report','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','existsSync','index','FqWuM','toJSON','observe','details','stack','map','eqORw','concat','_events','ZHAPc','jsonReportDirPath','aSRvp','sPymL','mkdirSync','join','LilcN','getEventsFromJSON','632168kJTRSG','generateJSON','GuVeE','__platformCaps','readdirSync','/error-report-','push','BROWSERSTACK_SDK_INSTRUMENTATION','BKdWR','1200129dodXZk','finalizeErrors','measureWrapper','crvlm','getPerformance','gIWHd','env','name','LucZr','-end','readFileSync','writeFile','Time\x20for\x20','105928nBGuyQ','buffered','jDgJz','Error\x20stopping\x20monitoring\x20','length','all','errorReportFileName','1266DXQqyF','success','duration','AxIru','apply','../logger','xszPq','forEach','end','platform','format','\x20for\x20all\x20processes\x20is\x20','calculateTimeFromEvents','winstonLogger','YxaMD','LMSUi','catch','performance-own.html','EOMLm','false','stringify','-start','started','debug','eaZTM','resolve','assign','readFile','ZTMXX','unlinkSync','utf-8','errorFile','</td></tr>','function','stopAndGenerate','mnlAM','then','isEnabled','AtiWk','3938820BHzBcE','1067555pnXwoF','slice'];a79_0x5df2=function(){return _0x58bec9;};return a79_0x5df2();}(function(_0x2e5eb9,_0x5a4e83){const _0x202343=a79_0x3a64,_0x234f5=_0x2e5eb9();while(!![]){try{const _0x54092a=-parseInt(_0x202343(0x7d))/0x1+-parseInt(_0x202343(0xab))/0x2*(-parseInt(_0x202343(0xbb))/0x3)+-parseInt(_0x202343(0xd9))/0x4+-parseInt(_0x202343(0xb2))/0x5*(parseInt(_0x202343(0xf6))/0x6)+-parseInt(_0x202343(0xe2))/0x7+parseInt(_0x202343(0xef))/0x8*(parseInt(_0x202343(0x84))/0x9)+parseInt(_0x202343(0x7c))/0xa;if(_0x54092a===_0x5a4e83)break;else _0x234f5['push'](_0x234f5['shift']());}catch(_0x4edb69){_0x234f5['push'](_0x234f5['shift']());}}}(a79_0x5df2,0x866d5));const fs=require('fs'),fsPromise=require(a79_0x100adf(0xc0)),{performance,PerformanceObserver}=require(a79_0x100adf(0xbc)),path=require(a79_0x100adf(0xa3)),util=require('util'),logger=require(a79_0x100adf(0xfb))[a79_0x100adf(0x103)],{getProcessId,sleep,debug,getTestName}=require('../processHelper');function a79_0x3a64(_0x52440e,_0x3a8223){const _0x5df26e=a79_0x5df2();return a79_0x3a64=function(_0x3a64cb,_0x1e95ec){_0x3a64cb=_0x3a64cb-0x67;let _0x1350fb=_0x5df26e[_0x3a64cb];return _0x1350fb;},a79_0x3a64(_0x52440e,_0x3a8223);}class PerformanceTester{static ['_observer'];static [a79_0x100adf(0xd0)]=[];static [a79_0x100adf(0x8c)]=[];static ['_errorEvents']=[];static [a79_0x100adf(0x6b)]=![];static [a79_0x100adf(0xb7)]='performance-report';static [a79_0x100adf(0xd2)]=process[a79_0x100adf(0xe8)]['browserStackCwd']?path['join'](process[a79_0x100adf(0xe8)][a79_0x100adf(0x98)],this[a79_0x100adf(0xb7)]):path[a79_0x100adf(0xd6)](process[a79_0x100adf(0x89)](),a79_0x100adf(0xaf),this[a79_0x100adf(0xb7)]);static ['errorReportDirName']=process[a79_0x100adf(0xe8)]['browserStackCwd']?path['join'](process['env'][a79_0x100adf(0x98)],'error-report'):path[a79_0x100adf(0xd6)](process[a79_0x100adf(0x89)](),a79_0x100adf(0xc4));static [a79_0x100adf(0x83)]=this[a79_0x100adf(0xd2)]+a79_0x100adf(0xa0)+getProcessId()+a79_0x100adf(0x85);static [a79_0x100adf(0xf5)]=this[a79_0x100adf(0x8b)]+a79_0x100adf(0xde)+getProcessId()+'.json';static [a79_0x100adf(0xcb)]={};static ['eventsMap']={};static[a79_0x100adf(0xa9)](_0x2b3173=this['jsonReportDirPath']+'/performance-report-'+getProcessId()+'.json',_0x2d608a=this[a79_0x100adf(0x8b)]+a79_0x100adf(0xde)+getProcessId()+a79_0x100adf(0x85)){const _0xff5347=a79_0x100adf,_0x43d280={};_0x43d280[_0xff5347(0xb4)]=function(_0x31f9b7,_0x2afccf){return _0x31f9b7===_0x2afccf;},_0x43d280[_0xff5347(0x93)]=_0xff5347(0x87),_0x43d280[_0xff5347(0x95)]=function(_0x1e9c21,_0x401022){return _0x1e9c21+_0x401022;},_0x43d280[_0xff5347(0xce)]=_0xff5347(0xbf),_0x43d280['CevVl']=_0xff5347(0x76);const _0x1f6351=_0x43d280;try{!fs['existsSync'](this[_0xff5347(0xd2)])&&fs[_0xff5347(0xd5)](this['jsonReportDirPath']);}catch(_0x26cb74){logger['debug'](_0x1f6351[_0xff5347(0x95)](_0x1f6351[_0xff5347(0xce)],_0x26cb74));}if(this[_0xff5347(0x6b)]||!this[_0xff5347(0x7a)]())return;this[_0xff5347(0x8e)]=new PerformanceObserver(_0x43c398=>{const _0x526f2e=_0xff5347,_0x508a59={'xszPq':function(_0x2bb658,_0x24acc9){const _0x25fbc8=a79_0x3a64;return _0x1f6351[_0x25fbc8(0xb4)](_0x2bb658,_0x24acc9);},'aSRvp':_0x1f6351[_0x526f2e(0x93)]};_0x43c398[_0x526f2e(0xaa)]()['forEach'](_0x7e8263=>{const _0x34973=_0x526f2e;if(_0x508a59[_0x34973(0xfc)](_0x7e8263[_0x34973(0x9d)],_0x508a59[_0x34973(0xd3)])){let _0x36ea43={};if(_0x7e8263[_0x34973(0xc9)])_0x36ea43=_0x7e8263[_0x34973(0xc9)]();else for(const _0x14922e in _0x7e8263){_0x36ea43[_0x14922e]=_0x7e8263[_0x14922e];}this[_0x34973(0xcb)][_0x7e8263[_0x34973(0xe9)]]&&(_0x36ea43=Object['assign'](_0x36ea43,this[_0x34973(0xcb)][_0x7e8263[_0x34973(0xe9)]])),delete this[_0x34973(0xcb)][_0x7e8263[_0x34973(0xe9)]],this[_0x34973(0x8c)][_0x34973(0xdf)](_0x36ea43);}else this[_0x34973(0xd0)][_0x34973(0xdf)](_0x7e8263);});});const _0x55d48e={};_0x55d48e[_0xff5347(0xf0)]=!![],_0x55d48e[_0xff5347(0x88)]=[_0x1f6351[_0xff5347(0x9f)],_0x1f6351['iTuaM']],this['_observer'][_0xff5347(0xca)](_0x55d48e),this[_0xff5347(0x6b)]=!![],this[_0xff5347(0x83)]=_0x2b3173,this[_0xff5347(0xf5)]=_0x2d608a;}static[a79_0x100adf(0xe6)](){return performance;}static['calculateTimeFromEvents'](_0x551a5f,_0x56a825){const _0x4a68e6=a79_0x100adf,_0x10a7aa={};_0x10a7aa[_0x4a68e6(0x71)]=function(_0x3682f9,_0x1f4b82){return _0x3682f9+_0x1f4b82;},_0x10a7aa['EOMLm']=function(_0x5d729c,_0x44d7d6){return _0x5d729c||_0x44d7d6;},_0x10a7aa[_0x4a68e6(0xf9)]=function(_0x4690ed,_0x4132e6){return _0x4690ed===_0x4132e6;};const _0x2d218d=_0x10a7aa,_0x995b9c={};if(!_0x551a5f||_0x2d218d[_0x4a68e6(0xf9)](_0x551a5f[_0x4a68e6(0xf3)],0x0))return;_0x551a5f[_0x4a68e6(0xcd)](_0x3bdaaf=>{const _0x14865e=_0x4a68e6;!_0x995b9c[_0x3bdaaf[_0x14865e(0xe9)]]&&(_0x995b9c[_0x3bdaaf['name']]=0x0),_0x995b9c[_0x3bdaaf['name']]+=_0x3bdaaf[_0x14865e(0xf8)];});const _0x215aa7=_0x56a825['reduce']((_0x2ebb6a,_0xb656a3)=>{const _0xd8262d=_0x4a68e6;return _0x2d218d[_0xd8262d(0x71)](_0x995b9c[_0xb656a3],_0x2d218d[_0xd8262d(0x67)](_0x2ebb6a,0x0));},0x0);return _0x215aa7;}static async[a79_0x100adf(0x97)](_0x20b60f,_0x37882e){const _0x70a42e=a79_0x100adf,_0x372014={'wbNFN':function(_0x214661,_0x6dffb5){return _0x214661+_0x6dffb5;},'HMMHM':function(_0x1de3ef,_0xb55a96){return _0x1de3ef||_0xb55a96;},'BKdWR':function(_0x5a415c,_0x395c1c){return _0x5a415c===_0x395c1c;},'AtiWk':function(_0xc0cc28,_0x4700bc){return _0xc0cc28(_0x4700bc);}};if(!_0x20b60f||_0x372014[_0x70a42e(0xe1)](_0x20b60f['length'],0x0))return 0x0;const _0x5d99a8=[];for(const _0x41c3d9 of _0x20b60f){const _0x1dec6a=path[_0x70a42e(0xd6)]('.',_0x41c3d9);try{const _0x1a1974=this[_0x70a42e(0xd8)](_0x1dec6a);_0x1a1974[_0x70a42e(0xcd)](_0x3e36aa=>{const _0x5a1ec8=_0x70a42e;!_0x5d99a8[_0x3e36aa['name']]&&(_0x5d99a8[_0x3e36aa[_0x5a1ec8(0xe9)]]=0x0),_0x5d99a8[_0x3e36aa[_0x5a1ec8(0xe9)]]+=_0x3e36aa[_0x5a1ec8(0xf8)];});}catch(_0x5d1ad8){_0x372014[_0x70a42e(0x7b)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x5d1ad8[_0x70a42e(0x91)]());}}const _0x3e1137=_0x37882e[_0x70a42e(0xac)]((_0x49878e,_0x525c23)=>{const _0x50dd1d=_0x70a42e;return _0x372014['wbNFN'](_0x5d99a8[_0x525c23],_0x372014[_0x50dd1d(0x90)](_0x49878e,0x0));},0x0);return _0x372014[_0x70a42e(0x7b)](debug,_0x70a42e(0xee)+_0x37882e+_0x70a42e(0x101)+_0x3e1137),_0x3e1137;}static[a79_0x100adf(0xd8)](_0x5d8f31){const _0x32d6dd=a79_0x100adf;if(!fs[_0x32d6dd(0xc6)](_0x5d8f31))return[];return JSON['parse'](fs['readFileSync'](_0x5d8f31)[_0x32d6dd(0x91)]());}static async[a79_0x100adf(0x77)](_0x1be635=a79_0x100adf(0x107),_0x1ff018=null){const _0x279211=a79_0x100adf,_0x142578={'eaZTM':function(_0x20a09f,_0x106c05){return _0x20a09f(_0x106c05);},'VvIIl':function(_0x36a6ed,_0x452292){return _0x36a6ed(_0x452292);}};if(!this[_0x279211(0x6b)])return;await _0x142578['eaZTM'](sleep,0x1e),this['_observer'][_0x279211(0x7f)](),this[_0x279211(0x6b)]=![],this[_0x279211(0xda)](this[_0x279211(0xd0)]);const _0x54bb44=this[_0x279211(0x9e)](this['_events']),_0x417868=path[_0x279211(0xd6)](process['cwd'](),_0x1be635);fs[_0x279211(0xed)](_0x417868,_0x54bb44,_0x54debe=>{const _0x1e6f91=_0x279211;if(_0x54debe){_0x142578[_0x1e6f91(0x6d)](debug,_0x1e6f91(0xb0)+_0x54debe[_0x1e6f91(0x91)]());return;}_0x142578[_0x1e6f91(0x92)](debug,_0x1e6f91(0xb6)+_0x417868);});if(_0x1ff018)return this[_0x279211(0x102)](this[_0x279211(0xd0)],_0x1ff018);}static['generateHTMLReport'](_0x533d36){const _0x3247b2=a79_0x100adf,_0xbe8cbf={};_0xbe8cbf['YxaMD']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0xbe8cbf[_0x3247b2(0x105)]='<h1>Performance\x20Report</h1>',_0xbe8cbf['XkMvy']=_0x3247b2(0xc5),_0xbe8cbf['ZHAPc']=_0x3247b2(0x8d);const _0x42472c=_0xbe8cbf;let _0xa7f7fa=_0x42472c[_0x3247b2(0x104)];return _0xa7f7fa+=_0x42472c[_0x3247b2(0x105)],_0xa7f7fa+=_0x42472c['XkMvy'],_0x533d36[_0x3247b2(0xfd)](_0x5f30e5=>{const _0x3ceeab=_0x3247b2;_0xa7f7fa+=_0x3ceeab(0x80)+_0x5f30e5[_0x3ceeab(0xe9)]+'</td><td>'+_0x5f30e5[_0x3ceeab(0xf8)]+_0x3ceeab(0x75);}),_0xa7f7fa+=_0x42472c[_0x3247b2(0xd1)],_0xa7f7fa;}static[a79_0x100adf(0xda)](_0x348979){const _0x394f25=a79_0x100adf;if(!this[_0x394f25(0x83)])return;const _0x52d179={};_0x348979['map'](_0x286b05=>{const _0xefc4a9=_0x394f25;!_0x52d179[_0x286b05[_0xefc4a9(0xe9)]]&&(_0x52d179[_0x286b05[_0xefc4a9(0xe9)]]=0x0),_0x52d179[_0x286b05[_0xefc4a9(0xe9)]]+=_0x286b05[_0xefc4a9(0xf8)];});const _0x5c2f48=Object[_0x394f25(0x94)](_0x52d179)[_0x394f25(0xcd)](([_0x4c9792,_0x5c7110])=>{const _0x21c53a=_0x394f25,_0x2e9b85={};return _0x2e9b85[_0x21c53a(0xe9)]=_0x4c9792,_0x2e9b85[_0x21c53a(0xf8)]=_0x5c7110,_0x2e9b85;});fs[_0x394f25(0x96)](this[_0x394f25(0x83)],JSON[_0x394f25(0x69)](_0x5c2f48));}static[a79_0x100adf(0x7a)](){const _0x3d03a8=a79_0x100adf,_0x3d6c2b={};_0x3d6c2b[_0x3d03a8(0xf1)]=function(_0x1943ca,_0x240828){return _0x1943ca===_0x240828;},_0x3d6c2b[_0x3d03a8(0xc8)]=_0x3d03a8(0x68);const _0x527d1c=_0x3d6c2b;return!_0x527d1c[_0x3d03a8(0xf1)](process['env'][_0x3d03a8(0xe0)],_0x527d1c[_0x3d03a8(0xc8)]);}static[a79_0x100adf(0x87)](_0x4cff03,_0x1524e9,_0xd2343=null,_0x5d0704={},_0x1a6a34=null){const _0x3f4f53=a79_0x100adf,_0x466afc={'kjbMp':function(_0x2aca57,_0x2a951e){return _0x2aca57(_0x2a951e);},'bjxmS':function(_0x355ed3,_0x209aec){return _0x355ed3(_0x209aec);},'GuVeE':function(_0x187008,_0x3d10ca){return _0x187008 instanceof _0x3d10ca;}};try{if(this[_0x3f4f53(0x6b)]&&this['isEnabled']()){let _0x39f4d4=_0x4cff03;_0xd2343&&(_0x39f4d4=_0x4cff03+'['+JSON[_0x3f4f53(0x69)](_0xd2343)+']');PerformanceTester[_0x3f4f53(0xbd)](_0x39f4d4),this[_0x3f4f53(0xcb)]&&(this[_0x3f4f53(0xcb)][_0x39f4d4]=_0x5d0704);try{const _0x5a2c0f=_0x1524e9[_0x3f4f53(0xfa)](null,_0x1a6a34);if(_0x466afc[_0x3f4f53(0xdb)](_0x5a2c0f,Promise))return new Promise((_0x16133e,_0x2adb78)=>{const _0x2fbd2c=_0x3f4f53,_0x1bb5ce={'UjdLe':function(_0x5e9603,_0x57eaec){return _0x466afc['bjxmS'](_0x5e9603,_0x57eaec);}};_0x5a2c0f[_0x2fbd2c(0x79)](_0x1c15a4=>{PerformanceTester['end'](_0x39f4d4),_0x1bb5ce['UjdLe'](_0x16133e,_0x1c15a4);})[_0x2fbd2c(0x106)](_0x5815b3=>{PerformanceTester['end'](_0x39f4d4,![],util['format'](_0x5815b3)),_0x466afc['kjbMp'](_0x2adb78,_0x5815b3);});});;return PerformanceTester[_0x3f4f53(0xfe)](_0x39f4d4),_0x5a2c0f;}catch(_0x30cc77){PerformanceTester[_0x3f4f53(0xfe)](_0x39f4d4,![],util[_0x3f4f53(0x100)](_0x30cc77));throw _0x30cc77;}};return _0x1524e9[_0x3f4f53(0xfa)](null,_0x1a6a34);}catch(_0x79f096){return _0x1524e9[_0x3f4f53(0xfa)](null,_0x1a6a34);}}static[a79_0x100adf(0xe4)](_0x1cefea,_0x3bf1fa,_0x4c0f90={}){const _0x25ce5b=a79_0x100adf,_0x29f04b={'mnlAM':function(_0x2595cf){return _0x2595cf();}},_0x4d632a=this;return _0x4c0f90[_0x25ce5b(0xa2)]=_0x29f04b['mnlAM'](getProcessId),_0x4c0f90['testName']=_0x29f04b[_0x25ce5b(0x78)](getTestName),_0x4c0f90[_0x25ce5b(0xff)]=global['__platformCaps']&&global[_0x25ce5b(0xdc)][_0x25ce5b(0xc7)],function(){const _0x48d105=_0x25ce5b,_0x5366bf=[_0x1cefea,_0x3bf1fa,null,_0x4c0f90][_0x48d105(0xcf)](arguments);return _0x4d632a[_0x48d105(0x87)][_0x48d105(0xfa)](_0x4d632a,_0x5366bf);};}static[a79_0x100adf(0xb9)](){const _0x5d9ad4=a79_0x100adf,_0x1b9cb0=/(^.*)\[(.*)\]$/,_0x48b919={},_0x54060e={},_0x2de2e6=[],_0x2096a8=this[_0x5d9ad4(0x8c)]['splice'](0x0,this[_0x5d9ad4(0x8c)][_0x5d9ad4(0xf3)]);for(const _0x1d5d6e of _0x2096a8){const _0x5c67ad=_0x1d5d6e['name']['match'](_0x1b9cb0),_0x9b6c23=Object[_0x5d9ad4(0x6f)]({},_0x1d5d6e);_0x5c67ad&&(_0x9b6c23[_0x5d9ad4(0xe9)]=_0x5c67ad[0x1],_0x9b6c23['meta']=JSON['parse'](_0x5c67ad[0x2])),_0x2de2e6['push'](_0x9b6c23);}return _0x2de2e6;}static['pushPerfMeasures'](){const _0x20ac49=a79_0x100adf,_0x17313b={};_0x17313b['WxNxK']=function(_0x293c9e,_0x49e5b4){return _0x293c9e+_0x49e5b4;},_0x17313b[_0x20ac49(0x81)]=_0x20ac49(0xae),_0x17313b[_0x20ac49(0xc3)]=function(_0x37342c,_0x47b434){return _0x37342c===_0x47b434;},_0x17313b[_0x20ac49(0xc1)]=function(_0x15528b,_0x5a3a7f){return _0x15528b+_0x5a3a7f;};const _0x545b16=_0x17313b;try{if(fs[_0x20ac49(0xc6)](this['jsonReportDirPath'])){const _0x324634=fs[_0x20ac49(0xdd)](this['jsonReportDirPath']);for(const _0x23e8d0 of _0x324634){fs['unlinkSync'](path[_0x20ac49(0xd6)](this[_0x20ac49(0xd2)],_0x23e8d0));}}}catch(_0x32f6b0){logger[_0x20ac49(0x6c)](_0x545b16[_0x20ac49(0xba)](_0x545b16[_0x20ac49(0x81)],_0x32f6b0));}if(_0x545b16['nsHXs'](this[_0x20ac49(0x8c)]['length'],0x0))return;const _0x41bd7d=this[_0x20ac49(0xb9)](),_0x4b6718=JSON[_0x20ac49(0x69)](_0x41bd7d),_0x5aba7a=_0x545b16[_0x20ac49(0xc1)](_0x4b6718[_0x20ac49(0x7e)](0x1,-0x1),',');fs[_0x20ac49(0xb5)](this[_0x20ac49(0x83)],_0x5aba7a);}static async[a79_0x100adf(0xa4)](){const _0x5f29ec=a79_0x100adf,_0x3530fb={};_0x3530fb[_0x5f29ec(0x9c)]=function(_0x4424c6,_0x460b53){return _0x4424c6===_0x460b53;},_0x3530fb[_0x5f29ec(0xbe)]=function(_0x4c72f9,_0x3abae8){return _0x4c72f9>_0x3abae8;};const _0x2c5eb2=_0x3530fb;if(!this[_0x5f29ec(0x6b)]||_0x2c5eb2['xCJqg'](this[_0x5f29ec(0x8c)][_0x5f29ec(0xf3)],0x0))return[];if(!fs['existsSync'](this[_0x5f29ec(0xd2)]))return this[_0x5f29ec(0x8c)];const _0x2dfa07=(await fsPromise[_0x5f29ec(0x8a)](this[_0x5f29ec(0xd2)]))['map'](_0x59313d=>path[_0x5f29ec(0x6e)](this[_0x5f29ec(0xd2)],_0x59313d));let _0x285996=(await Promise[_0x5f29ec(0xf4)](_0x2dfa07['map'](_0xf9a4aa=>fsPromise[_0x5f29ec(0x70)](_0xf9a4aa,_0x5f29ec(0x73)))))[_0x5f29ec(0xcd)](_0x11cb7c=>'['+_0x11cb7c[_0x5f29ec(0x7e)](0x0,-0x1)+']')[_0x5f29ec(0xcd)](_0x10044a=>JSON[_0x5f29ec(0x99)](_0x10044a))[_0x5f29ec(0xad)]();return _0x2c5eb2[_0x5f29ec(0xbe)](this['_measureEvents'][_0x5f29ec(0xf3)],0x0)&&(_0x285996=_0x285996[_0x5f29ec(0xcf)](this[_0x5f29ec(0xb9)]())),this[_0x5f29ec(0x8e)][_0x5f29ec(0x7f)](),_0x285996;}static['pushErrors'](){const _0x426004=a79_0x100adf,_0x2b9e86={};_0x2b9e86['iUIXK']=function(_0x3422d9,_0x2394fd){return _0x3422d9===_0x2394fd;},_0x2b9e86[_0x426004(0xe7)]=function(_0x2ff1bd,_0x201135){return _0x2ff1bd+_0x201135;};const _0xd627bd=_0x2b9e86;if(_0xd627bd[_0x426004(0x86)](this[_0x426004(0xa7)][_0x426004(0xf3)],0x0))return;const _0x365815=JSON[_0x426004(0x69)](this[_0x426004(0xa7)]),_0x2700fc=_0xd627bd[_0x426004(0xe7)](_0x365815[_0x426004(0x7e)](0x1,-0x1),',');fs[_0x426004(0xb5)](this[_0x426004(0x74)],_0x2700fc);}static[a79_0x100adf(0xe3)](){const _0x29c7ec=a79_0x100adf,_0x50abfa={};_0x50abfa[_0x29c7ec(0xd7)]=function(_0x494e70,_0x5e80c5){return _0x494e70>_0x5e80c5;};const _0x46a4d2=_0x50abfa;if(!fs[_0x29c7ec(0xc6)](this['errorReportFileName']))return this[_0x29c7ec(0xa7)];let _0x153cbf=fs[_0x29c7ec(0xec)](this[_0x29c7ec(0xf5)])['toString']();_0x153cbf='['+_0x153cbf[_0x29c7ec(0x7e)](0x0,-0x1)+']';let _0x167f12=JSON[_0x29c7ec(0x99)](_0x153cbf);return _0x46a4d2['LilcN'](this[_0x29c7ec(0xa7)][_0x29c7ec(0xf3)],0x0)&&(_0x167f12=_0x167f12['concat'](this[_0x29c7ec(0xa7)])),fs[_0x29c7ec(0x72)](this[_0x29c7ec(0xf5)]),_0x167f12;}static['captureError'](_0x25ad78){const _0x3b2c7e=a79_0x100adf;if(!this[_0x3b2c7e(0x7a)]())return;this[_0x3b2c7e(0xa7)][_0x3b2c7e(0xdf)]({'message':_0x25ad78['message'],'trace':_0x25ad78[_0x3b2c7e(0xcc)],'code':_0x25ad78['code']||null,'time':new Date()});}static[a79_0x100adf(0x82)](){const _0x47f9dd=a79_0x100adf;try{if(!this[_0x47f9dd(0x7a)]())return;this[_0x47f9dd(0x8e)][_0x47f9dd(0x7f)](),this[_0x47f9dd(0xb8)](),this['pushErrors']();}catch(_0x39ffb3){logger[_0x47f9dd(0x6c)](_0x47f9dd(0xf2)+util[_0x47f9dd(0x100)](_0x39ffb3));}}static async['finalize'](){const _0x3d8219=a79_0x100adf,_0x287e16={'KuAfb':function(_0x398aba,_0x2d89e6){return _0x398aba(_0x2d89e6);}};await _0x287e16[_0x3d8219(0xa1)](sleep,0x1e);const _0x5334f3=await this['finalizePerfMeasures'](),_0x577cac=this[_0x3d8219(0xe3)]();if(!this[_0x3d8219(0x7a)]()){const _0x5209b1={};return _0x5209b1['measures']=[],_0x5209b1['errors']=[],_0x5209b1;}const _0x31bb6c={};return _0x31bb6c[_0x3d8219(0xa5)]=_0x5334f3,_0x31bb6c[_0x3d8219(0x9b)]=_0x577cac,_0x31bb6c;}static[a79_0x100adf(0xbd)](_0x17465c){const _0x55b4fa=a79_0x100adf,_0x3e1e9a={};_0x3e1e9a[_0x55b4fa(0xd4)]=function(_0x2d7d82,_0x4aa8f2){return _0x2d7d82+_0x4aa8f2;},_0x3e1e9a[_0x55b4fa(0xc2)]=_0x55b4fa(0x6a);const _0x3f1290=_0x3e1e9a,_0x590ed3=_0x3f1290[_0x55b4fa(0xd4)](_0x17465c,_0x3f1290[_0x55b4fa(0xc2)]);if(this[_0x55b4fa(0x8f)][_0x590ed3])return;performance[_0x55b4fa(0x9a)](_0x590ed3),this[_0x55b4fa(0x8f)][_0x590ed3]=0x1;}static['end'](_0x34deb3,_0x3f10f3=!![],_0x473aa4=null,_0x5d21e1={}){const _0x1e2134=a79_0x100adf,_0x4e9a6d={'LczSP':function(_0x20082f,_0x3999ce){return _0x20082f+_0x3999ce;},'LucZr':_0x1e2134(0xeb),'kEgpH':function(_0x3cdb02,_0x4f1edd){return _0x3cdb02+_0x4f1edd;},'crvlm':_0x1e2134(0x6a),'Oyifn':function(_0x303257){return _0x303257();},'oUEcm':function(_0x2c5094){return _0x2c5094();}};performance[_0x1e2134(0x9a)](_0x4e9a6d[_0x1e2134(0xb1)](_0x34deb3,_0x4e9a6d[_0x1e2134(0xea)])),performance[_0x1e2134(0x87)](_0x34deb3,_0x4e9a6d[_0x1e2134(0xa8)](_0x34deb3,_0x4e9a6d[_0x1e2134(0xe5)]),_0x4e9a6d['kEgpH'](_0x34deb3,_0x4e9a6d['LucZr']));const _0x471252={};_0x471252[_0x1e2134(0xf7)]=_0x3f10f3,_0x471252[_0x1e2134(0xa6)]=_0x473aa4,this[_0x1e2134(0xcb)][_0x34deb3]=Object[_0x1e2134(0x6f)](_0x471252,Object[_0x1e2134(0x6f)](Object[_0x1e2134(0x6f)]({'worker':_0x4e9a6d['Oyifn'](getProcessId),'platform':global[_0x1e2134(0xdc)]&&global[_0x1e2134(0xdc)][_0x1e2134(0xc7)],'testName':_0x4e9a6d[_0x1e2134(0xb3)](getTestName)},_0x5d21e1),this[_0x1e2134(0xcb)][_0x34deb3]||{}));}}module['exports']=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80_0x55ee78=a80_0x377a;function a80_0x377a(_0x494917,_0x2044b8){const _0x1c5210=a80_0x1c52();return a80_0x377a=function(_0x377a4f,_0x109932){_0x377a4f=_0x377a4f-0x133;let _0x55e542=_0x1c5210[_0x377a4f];return _0x55e542;},a80_0x377a(_0x494917,_0x2044b8);}(function(_0x52238d,_0x2262ea){const _0x43b594=a80_0x377a,_0x26ba2e=_0x52238d();while(!![]){try{const _0x13a60e=-parseInt(_0x43b594(0x142))/0x1*(parseInt(_0x43b594(0x140))/0x2)+-parseInt(_0x43b594(0x139))/0x3*(parseInt(_0x43b594(0x14f))/0x4)+parseInt(_0x43b594(0x14a))/0x5*(parseInt(_0x43b594(0x145))/0x6)+parseInt(_0x43b594(0x135))/0x7*(parseInt(_0x43b594(0x13f))/0x8)+parseInt(_0x43b594(0x141))/0x9+-parseInt(_0x43b594(0x14b))/0xa*(-parseInt(_0x43b594(0x136))/0xb)+-parseInt(_0x43b594(0x143))/0xc;if(_0x13a60e===_0x2262ea)break;else _0x26ba2e['push'](_0x26ba2e['shift']());}catch(_0x44927b){_0x26ba2e['push'](_0x26ba2e['shift']());}}}(a80_0x1c52,0xa061c));function a80_0x1c52(){const _0x442b6e=['pid','7GHzdLJ','3851628fgiJJD','worker_threads','getProcessId','161589favyPp','toISOString','znFsM','BROWSERSTACK_OBSERVABILITY_DEBUG','env','][\x20OBSERVABILITY\x20]\x20','6509664CUAWwh','300680xPlAIq','7344144HZSBMR','4fGMjtf','14385072wsNbfB','log','30054NycLjU','threadId','true','vHTwv','stbjV','530EkHZXY','30tCfFea','getGlobal','sleep','debug','56INpfDp','./globals'];a80_0x1c52=function(){return _0x442b6e;};return a80_0x1c52();}const worker=require(a80_0x55ee78(0x137)),{fileLogger}=require('./logger'),{consoleHolder}=require('./test-observability/constants'),globals=require(a80_0x55ee78(0x133));exports[a80_0x55ee78(0x138)]=()=>{const _0x39e1f4=a80_0x55ee78;return process[_0x39e1f4(0x134)]+'-'+worker[_0x39e1f4(0x146)];},exports['getTestName']=()=>{const _0x7de020=a80_0x55ee78,_0x5b1422={};_0x5b1422[_0x7de020(0x13b)]='browserstackTestName';const _0xd0f121=_0x5b1422;return globals[_0x7de020(0x14c)](_0xd0f121[_0x7de020(0x13b)]);},exports[a80_0x55ee78(0x14d)]=(_0x2db7b7=0x64)=>new Promise(_0x2b620d=>setTimeout(_0x2b620d,_0x2db7b7)),exports['debug']=_0x3d935b=>{const _0x4e4767=a80_0x55ee78,_0x3045f5={};_0x3045f5['vHTwv']=function(_0x29a140,_0x4f50b2){return _0x29a140===_0x4f50b2;},_0x3045f5[_0x4e4767(0x149)]=_0x4e4767(0x147);const _0xce4bb1=_0x3045f5;fileLogger[_0x4e4767(0x14e)]('['+new Date()[_0x4e4767(0x13a)]()+_0x4e4767(0x13e)+_0x3d935b),(_0xce4bb1[_0x4e4767(0x148)](process[_0x4e4767(0x13d)][_0x4e4767(0x13c)],_0xce4bb1['stbjV'])||_0xce4bb1['vHTwv'](process[_0x4e4767(0x13d)][_0x4e4767(0x13c)],'1'))&&consoleHolder[_0x4e4767(0x144)]('\x0a['+new Date()[_0x4e4767(0x13a)]()+_0x4e4767(0x13e)+_0x3d935b+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x5709e9=a81_0x426b;function a81_0x426b(_0x579b7f,_0x39d26a){const _0xa35a59=a81_0xa35a();return a81_0x426b=function(_0x426bf2,_0x1531a9){_0x426bf2=_0x426bf2-0x8b;let _0x417fad=_0xa35a59[_0x426bf2];return _0x417fad;},a81_0x426b(_0x579b7f,_0x39d26a);}(function(_0x152147,_0x47de2f){const _0x319fc4=a81_0x426b,_0x386848=_0x152147();while(!![]){try{const _0x56fa37=-parseInt(_0x319fc4(0xa7))/0x1+parseInt(_0x319fc4(0xb7))/0x2+parseInt(_0x319fc4(0x9a))/0x3*(-parseInt(_0x319fc4(0xb8))/0x4)+-parseInt(_0x319fc4(0x93))/0x5*(-parseInt(_0x319fc4(0xb3))/0x6)+-parseInt(_0x319fc4(0xa5))/0x7*(-parseInt(_0x319fc4(0x9d))/0x8)+-parseInt(_0x319fc4(0xa3))/0x9*(-parseInt(_0x319fc4(0xa8))/0xa)+parseInt(_0x319fc4(0x9c))/0xb*(-parseInt(_0x319fc4(0x97))/0xc);if(_0x56fa37===_0x47de2f)break;else _0x386848['push'](_0x386848['shift']());}catch(_0x509896){_0x386848['push'](_0x386848['shift']());}}}(a81_0xa35a,0x53cd5));const http=require(a81_0x5709e9(0xb0)),https=require(a81_0x5709e9(0x99)),monkeypatch=require(a81_0x5709e9(0xa0));function a81_0xa35a(){const _0x2c1c95=['hostname','assign','9FbNpEI','duration_ms','21BfWcTT','forEach','68146kvSCkZ','337510kzjwJd','TDAzv','once','gcJNn','response','pathname','method','headers','http','XtuMV','Shhbk','6LTkIOg','end','YShPe','WqJLF','321170OgdxGG','4UibkGV','host','now','url','call','prototype','unpatch','object','mUVqf','690695PBuPfz','qVQTv','tKsPX','ELzzw','651156VjrIVO','exports','https','1373322nHrQxK','request','11CVMZly','1575896VFHHUn','KtMpy','path','monkeypatch'];a81_0xa35a=function(){return _0x2c1c95;};return a81_0xa35a();}function spy(_0x15b19c){const _0xc2bc4c=a81_0x5709e9,_0x55e0bb={'bCPvj':function(_0x29f0b1,_0x4e1330){return _0x29f0b1 instanceof _0x4e1330;},'Shhbk':function(_0x4e4c0b,_0x55509c){return _0x4e4c0b===_0x55509c;},'KtMpy':_0xc2bc4c(0x91),'WqJLF':function(_0x150f1f,_0x4e6b27,_0x1425b1){return _0x150f1f(_0x4e6b27,_0x1425b1);},'qVQTv':function(_0x2d14d5,_0x44f952){return _0x2d14d5-_0x44f952;},'tKsPX':'error','XtuMV':function(_0x2de39c,..._0xd86a25){return _0x2de39c(..._0xd86a25);},'TDAzv':_0xc2bc4c(0xac),'kLFaX':'socket','ELzzw':function(_0x47d821,_0xf0f245,_0x5c0ab7,_0x18d39e){return _0x47d821(_0xf0f245,_0x5c0ab7,_0x18d39e);},'gcJNn':_0xc2bc4c(0xb4),'YShPe':_0xc2bc4c(0x9b),'mUVqf':function(_0x46fcdf,_0x9ddb11,_0x23c60c,_0x2051be){return _0x46fcdf(_0x9ddb11,_0x23c60c,_0x2051be);}},_0x285181=function(){const _0x21718b=_0xc2bc4c,_0x4ce969=arguments[0x0],_0x4c66d7=Array[_0x21718b(0x8f)]['slice'][_0x21718b(0x8e)](arguments,0x1),_0x38013f=_0x4ce969['apply'](this,_0x4c66d7);let _0x2dcb31=Date[_0x21718b(0x8c)](),_0x2c2e3a;const _0x59a72e={};_0x4c66d7[_0x21718b(0xa6)](_0x1cbd17=>{const _0x7be66c=_0x21718b;if(_0x55e0bb['bCPvj'](_0x1cbd17,URL)){const _0x1b68b5={};_0x1b68b5[_0x7be66c(0x8d)]=_0x1cbd17,Object[_0x7be66c(0xa2)](_0x59a72e,_0x1b68b5);}else _0x55e0bb[_0x7be66c(0xb2)](typeof _0x1cbd17,_0x55e0bb[_0x7be66c(0x9e)])&&Object['assign'](_0x59a72e,_0x1cbd17);});const _0x2b8f87=_0x42d445=>{const _0xc36f8f=_0x21718b,_0x2a1deb={};_0x2a1deb['host']=_0x59a72e[_0xc36f8f(0x8b)]||_0x59a72e[_0xc36f8f(0xa1)]||_0x59a72e[_0xc36f8f(0x8d)]&&(_0x59a72e[_0xc36f8f(0x8d)][_0xc36f8f(0x8b)]||_0x59a72e['url'][_0xc36f8f(0xa1)]),_0x2a1deb['path']=_0x59a72e[_0xc36f8f(0x9f)]||_0x59a72e[_0xc36f8f(0x8d)]&&_0x59a72e['url'][_0xc36f8f(0xad)],_0x2a1deb['method']=_0x59a72e[_0xc36f8f(0xae)],_0x2a1deb[_0xc36f8f(0xaf)]=_0x59a72e[_0xc36f8f(0xaf)],_0x55e0bb[_0xc36f8f(0xb6)](_0x15b19c,_0x42d445,_0x2a1deb);};return _0x38013f[_0x21718b(0xaa)](_0x55e0bb[_0x21718b(0xa9)],_0x12ea23=>{const _0x430adc=_0x21718b,_0x2074ac=_0x55e0bb[_0x430adc(0x94)](Date['now'](),_0x2dcb31),_0x45646c={};_0x45646c['hostname']=_0x59a72e[_0x430adc(0x8b)]||_0x59a72e[_0x430adc(0xa1)]||_0x59a72e['url']&&(_0x59a72e[_0x430adc(0x8d)][_0x430adc(0x8b)]||_0x59a72e[_0x430adc(0x8d)][_0x430adc(0xa1)]),_0x45646c[_0x430adc(0x9f)]=_0x59a72e[_0x430adc(0x9f)]||_0x59a72e[_0x430adc(0x8d)]&&_0x59a72e[_0x430adc(0x8d)]['pathname'],_0x45646c[_0x430adc(0xae)]=_0x59a72e[_0x430adc(0xae)],_0x45646c[_0x430adc(0xaf)]=_0x59a72e[_0x430adc(0xaf)],_0x45646c['status_code']=_0x12ea23['statusCode'],_0x45646c[_0x430adc(0xa4)]=_0x2074ac,_0x55e0bb[_0x430adc(0xb6)](_0x15b19c,null,_0x45646c),_0x2c2e3a['removeListener'](_0x55e0bb[_0x430adc(0x95)],_0x2b8f87);}),_0x38013f['on'](_0x55e0bb['kLFaX'],_0x1621eb=>{const _0xa0185a=_0x21718b;_0x2c2e3a=_0x1621eb,_0x1621eb[_0xa0185a(0xaa)](_0x55e0bb[_0xa0185a(0x95)],_0x2b8f87);}),_0x55e0bb[_0x21718b(0x96)](monkeypatch,_0x38013f,_0x55e0bb[_0x21718b(0xab)],(_0x564072,..._0xc1384b)=>{const _0x54b9da=_0x21718b;_0x2dcb31=Date[_0x54b9da(0x8c)](),_0x55e0bb[_0x54b9da(0xb1)](_0x564072,..._0xc1384b);}),_0x38013f;};_0x55e0bb[_0xc2bc4c(0x96)](monkeypatch,http,_0x55e0bb[_0xc2bc4c(0xb5)],_0x285181),_0x55e0bb[_0xc2bc4c(0x92)](monkeypatch,https,_0x55e0bb['YShPe'],_0x285181);}function restore(){const _0x136fbf=a81_0x5709e9;http[_0x136fbf(0x9b)][_0x136fbf(0x90)](),https['request'][_0x136fbf(0x90)]();}const a81_0x50100f={};a81_0x50100f['spy']=spy,a81_0x50100f['restore']=restore,module[a81_0x5709e9(0x98)]=a81_0x50100f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82_0x2c3ae8=a82_0x1904;(function(_0x54558a,_0x3eab9d){const _0x515448=a82_0x1904,_0x5e1656=_0x54558a();while(!![]){try{const _0x193ead=parseInt(_0x515448(0x171))/0x1*(-parseInt(_0x515448(0x16f))/0x2)+-parseInt(_0x515448(0x183))/0x3*(-parseInt(_0x515448(0x16d))/0x4)+-parseInt(_0x515448(0x167))/0x5*(-parseInt(_0x515448(0x177))/0x6)+-parseInt(_0x515448(0x170))/0x7*(parseInt(_0x515448(0x173))/0x8)+-parseInt(_0x515448(0x165))/0x9*(-parseInt(_0x515448(0x175))/0xa)+-parseInt(_0x515448(0x182))/0xb+parseInt(_0x515448(0x17e))/0xc;if(_0x193ead===_0x3eab9d)break;else _0x5e1656['push'](_0x5e1656['shift']());}catch(_0x4d2d3d){_0x5e1656['push'](_0x5e1656['shift']());}}}(a82_0x1fed,0x9a96c));function a82_0x1fed(){const _0x26a2a1=['442440yksonK','keepAliveMsecs','6njssQr','keepAlive','./performance/performance-tester','Agent','Mvfgm','https','oOdWa','14414736NJykKp','protocol','VsGvO','MZiGN','8089147uZRyJt','2654559YmgsDm','yObqT','globalAgent','90AoAGgf','agent','3219700FytBEv','request','BSMyb','measureWrapper','hasOwnProperty','call','4KtLVNF','http','1779156RPnEZe','2133390LFyBEJ','1yAxoGY','bZoDC','24nUXaur','KEEP_ALIVE'];a82_0x1fed=function(){return _0x26a2a1;};return a82_0x1fed();}function a82_0x1904(_0x4c959a,_0x23a047){const _0x1fed8c=a82_0x1fed();return a82_0x1904=function(_0x190470,_0x50f5d6){_0x190470=_0x190470-0x163;let _0x976ecf=_0x1fed8c[_0x190470];return _0x976ecf;},a82_0x1904(_0x4c959a,_0x23a047);}const PerformanceTester=require(a82_0x2c3ae8(0x179)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module['exports']=PerformanceTester[a82_0x2c3ae8(0x16a)](PerformanceEvents[a82_0x2c3ae8(0x174)],function(){const _0x316c5f=a82_0x2c3ae8,_0x39d3cb={'IIzYi':function(_0x2760f5,_0x3ade45){return _0x2760f5===_0x3ade45;},'BSMyb':'https:','Mvfgm':_0x316c5f(0x166),'VsGvO':function(_0x7beef8,_0x57f260,_0x13b404){return _0x7beef8(_0x57f260,_0x13b404);},'MZiGN':function(_0x233093,_0x5574ab){return _0x233093(_0x5574ab);},'InfOz':_0x316c5f(0x16e),'bZoDC':_0x316c5f(0x17c),'oOdWa':function(_0x7825d7,_0x15555f){return _0x7825d7*_0x15555f;},'yObqT':_0x316c5f(0x178)},_0x1afad9=_0x39d3cb['MZiGN'](require,_0x39d3cb['InfOz']),_0x1131bf=_0x39d3cb[_0x316c5f(0x181)](require,_0x39d3cb[_0x316c5f(0x172)]),_0xdc7ce3=_0x39d3cb[_0x316c5f(0x17d)](0x1e,0x3e8);if(_0x1afad9[_0x316c5f(0x164)]&&Object['prototype'][_0x316c5f(0x16b)][_0x316c5f(0x16c)](_0x1afad9[_0x316c5f(0x164)],_0x39d3cb[_0x316c5f(0x163)]))_0x1afad9[_0x316c5f(0x164)][_0x316c5f(0x178)]=!![],_0x1131bf['globalAgent'][_0x316c5f(0x178)]=!![],_0x1afad9['globalAgent'][_0x316c5f(0x176)]=_0xdc7ce3,_0x1131bf[_0x316c5f(0x164)]['keepAliveMsecs']=_0xdc7ce3;else{const _0x23d845={};_0x23d845[_0x316c5f(0x178)]=!![],_0x23d845[_0x316c5f(0x176)]=_0xdc7ce3;const _0x236285=new _0x1afad9['Agent'](_0x23d845),_0x59cb67={};_0x59cb67['keepAlive']=!![],_0x59cb67[_0x316c5f(0x176)]=_0xdc7ce3;const _0x12f0a6=new _0x1131bf[(_0x316c5f(0x17a))](_0x59cb67),_0x56cff9=_0x1afad9[_0x316c5f(0x168)],_0x240663=_0x1131bf[_0x316c5f(0x168)];_0x1afad9[_0x316c5f(0x168)]=function(_0x28c1d7,_0x4e89cd){const _0x28da64=_0x316c5f;if(_0x39d3cb['IIzYi'](_0x28c1d7[_0x28da64(0x17f)],_0x39d3cb[_0x28da64(0x169)]))return _0x28c1d7[_0x39d3cb[_0x28da64(0x17b)]]=_0x12f0a6,_0x39d3cb[_0x28da64(0x180)](_0x240663,_0x28c1d7,_0x4e89cd);return _0x28c1d7[_0x39d3cb[_0x28da64(0x17b)]]=_0x236285,_0x39d3cb['VsGvO'](_0x56cff9,_0x28c1d7,_0x4e89cd);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a83_0x2d3027=a83_0x4250;function a83_0x4066(){var _0x339b9d=['733SntZwm','api/v1/batch','cucumber','JEST','api/v1/event','Playwright','55235uurlLv','3307563szCEYN','10606392RCNBHD','codeceptjs','MOCHA','CODECEPT','jest','1768vOayvF','704CrNROa','https://collector-observability.browserstack.com','api/v1/screenshots','4yDoEWK','33453hkxFzv','PLAYWRIGHT','.obs_test_details','482UGyHlj','8311182MXNhDl','254420FTTqJS'];a83_0x4066=function(){return _0x339b9d;};return a83_0x4066();}(function(_0x5a11e3,_0x439e5a){var _0x2148f3=a83_0x4250,_0x52cdf7=_0x5a11e3();while(!![]){try{var _0x57f600=-parseInt(_0x2148f3(0x17a))/0x1*(-parseInt(_0x2148f3(0x177))/0x2)+parseInt(_0x2148f3(0x181))/0x3+-parseInt(_0x2148f3(0x173))/0x4*(-parseInt(_0x2148f3(0x180))/0x5)+parseInt(_0x2148f3(0x178))/0x6+parseInt(_0x2148f3(0x174))/0x7*(parseInt(_0x2148f3(0x187))/0x8)+-parseInt(_0x2148f3(0x182))/0x9+parseInt(_0x2148f3(0x179))/0xa*(-parseInt(_0x2148f3(0x188))/0xb);if(_0x57f600===_0x439e5a)break;else _0x52cdf7['push'](_0x52cdf7['shift']());}catch(_0x5086b6){_0x52cdf7['push'](_0x52cdf7['shift']());}}}(a83_0x4066,0xe1c81));function a83_0x4250(_0x19223b,_0x4ef7fb){var _0x4066ef=a83_0x4066();return a83_0x4250=function(_0x425089,_0x9dc4a){_0x425089=_0x425089-0x171;var _0x2afc20=_0x4066ef[_0x425089];return _0x2afc20;},a83_0x4250(_0x19223b,_0x4ef7fb);}var a83_0x5be6c2={};a83_0x5be6c2[a83_0x2d3027(0x175)]=a83_0x2d3027(0x17f),a83_0x5be6c2[a83_0x2d3027(0x184)]='mocha',a83_0x5be6c2[a83_0x2d3027(0x185)]=a83_0x2d3027(0x183),a83_0x5be6c2[a83_0x2d3027(0x17d)]=a83_0x2d3027(0x186),a83_0x5be6c2['CUCUMBER']=a83_0x2d3027(0x17c),module['exports']={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x2d3027(0x171),'EVENT_ENDPOINT':a83_0x2d3027(0x17e),'BATCH_ENDPOINT':a83_0x2d3027(0x17b),'SCREENSHOT_ENDPOINT':a83_0x2d3027(0x172),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a83_0x2d3027(0x176),'FRAMEWORKS':a83_0x5be6c2};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a84_0x2726(){const _0x57f0a1=['POST','keys','Hjyxj','setAllDetails','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','credentials','TkPfl','CrashReporter','stringify','kDCUB','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','HiFrO','defineProperty','UqGeV',',\x20PID\x20-\x20','1269929TFSzRn','BROWSERSTACK_O11Y_PERF_MEASUREMENT','IHOUd','frameworkVersion','constructor','GnYul','Finished\x20::\x20','KvdqS','esNpa','getCredentials','format','GsWcs','nbEHs','getOwnPropertyNames','tkjJN','.\x20Error\x20-\x20','name','object','CREDENTIALS_FOR_CRASH_REPORTING','recursivelyDeletePIIKeysFromObject','getConfig','uploadCrashReport','nNfLr','setFrameworkDetails','setCredentials','tUrNU','VIxls','parse','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','getPerformance','catch','env','\x20--\x20','MzNkk','byRyM','YnpoM','lOEGK','QeJgv','timerify','frameworkName','userConfig','getFramework','true','USER_CONFIG_FOR_REPORTING','function','MfJoG','key','qOiPT','6stPnTr','apply','X-BSTACK-TESTOPS','stack','Started\x20::\x20','../performance/performance-tester','PNyLJ','cScwr','BS_TESTOPS_BUILD_HASHED_ID','./utils','util','accessKey','password','initialize','3EoQdCG','FZUHF','application/json','user','toString','captureError','[Crash_Report_Upload]\x20Success\x20response:\x20','o11yErrorHandler','rKkRC','Content-Type','length','SEwXu','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','prototype','o11yClassErrorHandler','MDPqP','zlLgz','Error\x20in\x20executing\x20','3037522jAoPkj','38998224glkQyh','pid','SYIya','lsrdK','../helper','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','exports','EDCum','filterPII','ZZWBY','8582238MpLvlv','719784lrRxPf','VZihP','11895792qEBeDz','inspect','/api/v1/analytics','1359190yYyBPK','frameworkDetails','MEZAG','headers',',\x20Argument\x20-\x20','setConfigDetails','.\x20Args\x20-\x20','username','KawGR'];a84_0x2726=function(){return _0x57f0a1;};return a84_0x2726();}function a84_0x1961(_0x11d876,_0x1d4845){const _0x272615=a84_0x2726();return a84_0x1961=function(_0x1961f0,_0x38ac1f){_0x1961f0=_0x1961f0-0x123;let _0x2e5063=_0x272615[_0x1961f0];return _0x2e5063;},a84_0x1961(_0x11d876,_0x1d4845);}const a84_0x51a09e=a84_0x1961;(function(_0xbefb6e,_0x46e38a){const _0x44a624=a84_0x1961,_0x48d9fa=_0xbefb6e();while(!![]){try{const _0xb0c250=-parseInt(_0x44a624(0x166))/0x1+-parseInt(_0x44a624(0x13d))/0x2+parseInt(_0x44a624(0x12b))/0x3*(-parseInt(_0x44a624(0x149))/0x4)+parseInt(_0x44a624(0x14e))/0x5*(-parseInt(_0x44a624(0x196))/0x6)+parseInt(_0x44a624(0x148))/0x7+-parseInt(_0x44a624(0x14b))/0x8+parseInt(_0x44a624(0x13e))/0x9;if(_0xb0c250===_0x46e38a)break;else _0x48d9fa['push'](_0x48d9fa['shift']());}catch(_0x159fdf){_0x48d9fa['push'](_0x48d9fa['shift']());}}}(a84_0x2726,0xcb0ea));const util=require(a84_0x51a09e(0x127)),PerformanceTester=require(a84_0x51a09e(0x19b)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x51a09e(0x126)),{getAgentVersion,nestedKeyValue}=require(a84_0x51a09e(0x142)),o11yErrorHandler=(_0x24d49d,_0x1ee0be='',_0x27cdc9=[''],_0x4b02c5=![])=>{const _0x31dd63={'esNpa':function(_0x143f66,_0x372c3b){return _0x143f66(_0x372c3b);},'MDPqP':function(_0xb250fc,_0x52af14,_0x3ca7ce){return _0xb250fc(_0x52af14,_0x3ca7ce);},'fvmzm':function(_0x38a5ce,_0x17aa5e){return _0x38a5ce(_0x17aa5e);},'kyxeg':function(_0x7b37ee,_0x335461,_0x2171be){return _0x7b37ee(_0x335461,_0x2171be);},'GnYul':function(_0x40d2a5,_0x10e34d){return _0x40d2a5 instanceof _0x10e34d;},'rKkRC':function(_0x43d89d,_0x19d11d,_0x49bf90,_0x3a393f,_0x4702cc){return _0x43d89d(_0x19d11d,_0x49bf90,_0x3a393f,_0x4702cc);}};return function(..._0xed8556){const _0x17b51d=a84_0x1961;try{let _0x431e6c=_0x24d49d;process[_0x17b51d(0x185)][_0x17b51d(0x167)]&&(_0x431e6c=PerformanceTester[_0x17b51d(0x183)]()[_0x17b51d(0x18c)](_0x431e6c));_0x4b02c5&&_0x31dd63[_0x17b51d(0x16e)](trace,_0x17b51d(0x19a)+_0x1ee0be+_0x17b51d(0x165)+process[_0x17b51d(0x13f)]+_0x17b51d(0x152)+_0x31dd63[_0x17b51d(0x13a)](nestedKeyValue,arguments[0x0],_0x27cdc9));const _0xd90cfd=_0x431e6c[_0x17b51d(0x197)](null,arguments);_0x4b02c5&&_0x31dd63['fvmzm'](trace,_0x17b51d(0x16c)+_0x1ee0be+_0x17b51d(0x165)+process[_0x17b51d(0x13f)]+',\x20Argument\x20-\x20'+_0x31dd63['kyxeg'](nestedKeyValue,arguments[0x0],_0x27cdc9));if(_0x31dd63[_0x17b51d(0x16b)](_0xd90cfd,Promise))return _0xd90cfd[_0x17b51d(0x184)](_0x5757aa=>processError(_0x5757aa,_0x24d49d,_0xed8556,_0x1ee0be));return _0xd90cfd;}catch(_0x2bc389){_0x31dd63[_0x17b51d(0x133)](processError,_0x2bc389,_0x24d49d,_0xed8556,_0x1ee0be);}};},o11yClassErrorHandler=(_0x46d135,_0x5e5c13,_0x305d02='')=>{const _0x343b2d=a84_0x51a09e,_0x1d270a={'qOiPT':function(_0x1a7edf,_0x4b6506){return _0x1a7edf instanceof _0x4b6506;},'MfJoG':function(_0x30a186,_0xa98595,_0x46418f,_0x24937b,_0x3be7ce){return _0x30a186(_0xa98595,_0x46418f,_0x24937b,_0x3be7ce);},'VIxls':function(_0x1812c2,_0x8ec3c6){return _0x1812c2===_0x8ec3c6;},'GsWcs':_0x343b2d(0x192),'nbEHs':function(_0x2f8dd1,_0x169a59){return _0x2f8dd1!==_0x169a59;},'GNUkR':_0x343b2d(0x16a),'ZZWBY':function(_0x1951a7,_0x16fa77){return _0x1951a7<_0x16fa77;}},_0x1dd9cc=_0x46d135[_0x343b2d(0x138)];if(_0x1d270a[_0x343b2d(0x147)](Object[_0x343b2d(0x173)](_0x1dd9cc)[_0x343b2d(0x135)],0x2))return _0x46d135;return Object[_0x343b2d(0x173)](_0x1dd9cc)['forEach'](_0x2583b3=>{const _0x39bc24=_0x343b2d,_0x2b1d5c={'FZUHF':function(_0x3251a0,_0x307594){const _0x3dde9e=a84_0x1961;return _0x1d270a[_0x3dde9e(0x195)](_0x3251a0,_0x307594);},'HiFrO':function(_0x1e7187,_0x23d8d9,_0x9361de,_0x463253,_0x5edfde){const _0x4f50e1=a84_0x1961;return _0x1d270a[_0x4f50e1(0x193)](_0x1e7187,_0x23d8d9,_0x9361de,_0x463253,_0x5edfde);}};if(!(_0x5e5c13&&_0x5e5c13['includes'](_0x2583b3)))return;const _0x4ce131=_0x1dd9cc[_0x2583b3];_0x1d270a[_0x39bc24(0x180)](typeof _0x4ce131,_0x1d270a[_0x39bc24(0x171)])&&_0x1d270a[_0x39bc24(0x172)](_0x2583b3,_0x1d270a['GNUkR'])&&Object[_0x39bc24(0x163)](_0x1dd9cc,_0x2583b3,{'writable':!![],'value':function(..._0x46c2bf){const _0x512dd9=_0x39bc24;try{const _0x29c6e5=(process[_0x512dd9(0x185)][_0x512dd9(0x167)]?PerformanceTester['getPerformance']()[_0x512dd9(0x18c)](_0x4ce131):_0x4ce131)['call'](this,..._0x46c2bf);if(_0x2b1d5c[_0x512dd9(0x12c)](_0x29c6e5,Promise))return _0x29c6e5[_0x512dd9(0x184)](_0x18ec48=>processError(_0x18ec48,_0x4ce131,_0x46c2bf,_0x305d02));return _0x29c6e5;}catch(_0x43727b){_0x2b1d5c[_0x512dd9(0x162)](processError,_0x43727b,_0x4ce131,_0x46c2bf,_0x305d02);}}});}),_0x46d135;};function processError(_0x4d6406,_0x12eeee,_0x168939,_0x134edb){const _0x3c752c=a84_0x51a09e,_0x4ecb56={'cScwr':function(_0x3b7563,_0x5c8b96){return _0x3b7563(_0x5c8b96);}};_0x4ecb56[_0x3c752c(0x124)](debug,_0x3c752c(0x13c)+_0x12eeee[_0x3c752c(0x176)]+_0x3c752c(0x186)+_0x134edb+_0x3c752c(0x175)+_0x4d6406+_0x3c752c(0x154)+_0x168939+'.'),PerformanceTester[_0x3c752c(0x130)](_0x4d6406);let _0x8c7b4e;try{_0x8c7b4e=JSON['stringify'](_0x168939);}catch(_0x22495a){const _0x2041ca={};_0x2041ca['depth']=0x2,_0x8c7b4e=util[_0x3c752c(0x14c)](_0x168939,_0x2041ca);}CrashReporter[_0x3c752c(0x17b)]('Error\x20in\x20executing\x20'+_0x12eeee[_0x3c752c(0x176)]+_0x3c752c(0x186)+_0x134edb+_0x3c752c(0x175)+_0x4d6406+_0x3c752c(0x154)+_0x8c7b4e+'.',_0x4d6406&&_0x4d6406[_0x3c752c(0x199)]);}class CrashReporter{static [a84_0x51a09e(0x18e)]={};static [a84_0x51a09e(0x15c)];static [a84_0x51a09e(0x14f)]={};static[a84_0x51a09e(0x12a)](_0x2ec1d9,_0x75b533,_0xb6ca15=null){const _0x4a5038=a84_0x51a09e,_0x57809d={'kDCUB':function(_0x15cfcb,_0x382ac9){return _0x15cfcb(_0x382ac9);},'IHOUd':function(_0x3a3e17,_0x4df9f5){return _0x3a3e17(_0x4df9f5);},'VZihP':function(_0x4e0be1,_0x2fd362){return _0x4e0be1(_0x2fd362);}},_0xa0b1ed=_0x2ec1d9[_0x4a5038(0x18d)],_0x26ad58=_0x2ec1d9[_0x4a5038(0x169)];!_0xb6ca15&&(_0xb6ca15=_0x57809d[_0x4a5038(0x160)](getBrowserStackConfig,_0xa0b1ed));!_0x26ad58&&_0x57809d[_0x4a5038(0x168)](getFrameworkVersion,_0xa0b1ed);const _0x52d2b4={};_0x52d2b4[_0x4a5038(0x18d)]=_0xa0b1ed,_0x52d2b4['frameworkVersion']=_0x26ad58,this[_0x4a5038(0x15a)](_0x52d2b4,_0x75b533,_0x57809d[_0x4a5038(0x14a)](getUserCredentials,_0xb6ca15));}static[a84_0x51a09e(0x17e)](_0x5714bd,_0x28c506){const _0x1c7e20=a84_0x51a09e,_0x215fa1={};_0x215fa1[_0x1c7e20(0x155)]=_0x5714bd,_0x215fa1[_0x1c7e20(0x128)]=_0x28c506,this[_0x1c7e20(0x15c)]=_0x215fa1,process[_0x1c7e20(0x185)][_0x1c7e20(0x178)]=JSON['stringify'](this[_0x1c7e20(0x15c)]);}static[a84_0x51a09e(0x16f)](){const _0x1d2912=a84_0x51a09e,_0x3aee74={'UqGeV':function(_0x1cf8e5,_0x115b4f){return _0x1cf8e5(_0x115b4f);}};if(!this[_0x1d2912(0x15c)]&&process[_0x1d2912(0x185)]['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x1d2912(0x15c)]=JSON['parse'](process[_0x1d2912(0x185)][_0x1d2912(0x178)]);}catch(_0x2ec768){_0x3aee74[_0x1d2912(0x164)](debug,_0x1d2912(0x182)+_0x2ec768[_0x1d2912(0x12f)]());}return this[_0x1d2912(0x15c)];}static['setConfigDetails'](_0x3aa90e){const _0x53dabb=a84_0x51a09e;this['userConfig']=this[_0x53dabb(0x146)](_0x3aa90e),process[_0x53dabb(0x185)][_0x53dabb(0x191)]=JSON[_0x53dabb(0x15f)](this[_0x53dabb(0x18e)]);}static[a84_0x51a09e(0x17a)](){const _0xdad6ef=a84_0x51a09e,_0x3488e0={'NnFma':function(_0x1a5445,_0x2f7eab){return _0x1a5445===_0x2f7eab;},'SEwXu':function(_0x1f1279,_0x52c48a){return _0x1f1279(_0x52c48a);}};if(_0x3488e0['NnFma'](Object[_0xdad6ef(0x158)](this[_0xdad6ef(0x18e)])[_0xdad6ef(0x135)],0x0)&&process[_0xdad6ef(0x185)][_0xdad6ef(0x191)])try{this['userConfig']=JSON[_0xdad6ef(0x181)](process[_0xdad6ef(0x185)][_0xdad6ef(0x191)]);}catch(_0x5b7204){_0x3488e0[_0xdad6ef(0x136)](debug,_0xdad6ef(0x143)+_0x5b7204[_0xdad6ef(0x12f)]()),this[_0xdad6ef(0x18e)]={};}return this['userConfig'];}static[a84_0x51a09e(0x17d)](_0x3c39cf){const _0x5206ac=a84_0x51a09e;this[_0x5206ac(0x14f)]=_0x3c39cf,process['env'][_0x5206ac(0x161)]=JSON['stringify'](this[_0x5206ac(0x14f)]);}static['getFramework'](){const _0x30f8b8=a84_0x51a09e,_0x5356fb={'MEZAG':function(_0x5d7bab,_0x5bb401){return _0x5d7bab===_0x5bb401;},'lOEGK':function(_0x544586,_0x52da91){return _0x544586(_0x52da91);}};if(_0x5356fb[_0x30f8b8(0x150)](Object['keys'](this[_0x30f8b8(0x14f)])[_0x30f8b8(0x135)],0x0)&&process[_0x30f8b8(0x185)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x30f8b8(0x14f)]=JSON[_0x30f8b8(0x181)](process[_0x30f8b8(0x185)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x51dbe8){_0x5356fb[_0x30f8b8(0x18a)](debug,_0x30f8b8(0x182)+_0x51dbe8[_0x30f8b8(0x12f)]());}return this[_0x30f8b8(0x14f)];}static[a84_0x51a09e(0x15a)](_0x1f5c41,_0x343ece,_0x325ede){const _0x4d4487=a84_0x51a09e;_0x1f5c41&&this[_0x4d4487(0x17d)](_0x1f5c41),_0x343ece&&this[_0x4d4487(0x153)](_0x343ece),_0x325ede&&this[_0x4d4487(0x17e)](_0x325ede[_0x4d4487(0x155)],_0x325ede[_0x4d4487(0x128)]);}static async[a84_0x51a09e(0x17b)](_0x13ab56,_0x20a61d){const _0x32b08f=a84_0x51a09e,_0x4d6e7a={'QeJgv':function(_0x1de3cc,_0x1b9d72){return _0x1de3cc(_0x1b9d72);},'byRyM':function(_0x1ece16,_0x459dfe){return _0x1ece16(_0x459dfe);},'MzNkk':function(_0x48c282,_0x1987ca){return _0x48c282(_0x1987ca);},'Hjyxj':_0x32b08f(0x15b),'PNyLJ':function(_0x3619f2){return _0x3619f2();},'KvdqS':_0x32b08f(0x14d),'TkPfl':_0x32b08f(0x12d),'KawGR':_0x32b08f(0x190),'YnpoM':function(_0x49d40f,_0x1f92f5,_0xdfcd67,_0x19cbfc,_0x4638dc,_0x92178b){return _0x49d40f(_0x1f92f5,_0xdfcd67,_0x19cbfc,_0x4638dc,_0x92178b);},'GgQex':_0x32b08f(0x157)};this[_0x32b08f(0x16f)]();if(!this[_0x32b08f(0x15c)])return _0x4d6e7a[_0x32b08f(0x187)](debug,_0x4d6e7a[_0x32b08f(0x159)]);this[_0x32b08f(0x17a)](),this[_0x32b08f(0x18f)]();const _0x55edeb={'hashed_id':process[_0x32b08f(0x185)][_0x32b08f(0x125)],'observability_version':{'sdkVersion':_0x4d6e7a[_0x32b08f(0x123)](getAgentVersion),'frameworkName':this['frameworkDetails'][_0x32b08f(0x18d)],'frameworkVersion':this[_0x32b08f(0x14f)]['frameworkVersion']},'exception':{'error':_0x13ab56[_0x32b08f(0x12f)](),'stackTrace':_0x20a61d},'config':this[_0x32b08f(0x18e)]},_0x56c2c7=_0x4d6e7a[_0x32b08f(0x16d)],_0x481de7={};_0x481de7[_0x32b08f(0x155)]=this['credentials'][_0x32b08f(0x155)],_0x481de7[_0x32b08f(0x129)]=this['credentials']['accessKey'];const _0x296477={};_0x296477[_0x32b08f(0x134)]=_0x4d6e7a[_0x32b08f(0x15d)],_0x296477[_0x32b08f(0x198)]=_0x4d6e7a[_0x32b08f(0x156)];const _0x21c1f4={};_0x21c1f4['auth']=_0x481de7,_0x21c1f4[_0x32b08f(0x151)]=_0x296477;const _0x58c8ff=_0x21c1f4;_0x4d6e7a[_0x32b08f(0x189)](nodeRequest,_0x4d6e7a['GgQex'],_0x56c2c7,_0x55edeb,_0x58c8ff,![])['then'](_0x20bbc2=>{const _0x3ffdda=_0x32b08f;_0x4d6e7a[_0x3ffdda(0x18b)](debug,_0x3ffdda(0x131)+JSON[_0x3ffdda(0x15f)](_0x20bbc2));})['catch'](_0x4a53c1=>{const _0x564c8c=_0x32b08f;_0x4d6e7a[_0x564c8c(0x188)](debug,_0x564c8c(0x137)+util[_0x564c8c(0x170)](_0x4a53c1));});}static[a84_0x51a09e(0x179)](_0x35deb4){const _0x480cb5=a84_0x51a09e,_0x2a4f0f={};_0x2a4f0f[_0x480cb5(0x145)]=_0x480cb5(0x12e),_0x2a4f0f[_0x480cb5(0x174)]=_0x480cb5(0x155),_0x2a4f0f[_0x480cb5(0x17c)]=_0x480cb5(0x194),_0x2a4f0f[_0x480cb5(0x140)]=_0x480cb5(0x128),_0x2a4f0f[_0x480cb5(0x13b)]=_0x480cb5(0x129),_0x2a4f0f[_0x480cb5(0x17f)]=function(_0xea9499,_0x167996){return _0xea9499===_0x167996;},_0x2a4f0f[_0x480cb5(0x141)]=_0x480cb5(0x177);const _0x42ed60=_0x2a4f0f;if(!_0x35deb4)return;const _0x1179d5=[_0x42ed60['EDCum'],_0x42ed60[_0x480cb5(0x174)],_0x42ed60['nNfLr'],_0x42ed60['SYIya'],_0x42ed60[_0x480cb5(0x13b)]];for(const _0x3852e9 in _0x35deb4){if(_0x1179d5['includes'](_0x3852e9['toLowerCase']()))delete _0x35deb4[_0x3852e9];else _0x42ed60[_0x480cb5(0x17f)](typeof _0x35deb4[_0x3852e9],_0x42ed60['lsrdK'])&&this['recursivelyDeletePIIKeysFromObject'](_0x35deb4[_0x3852e9]);}}static[a84_0x51a09e(0x146)](_0x2de621){const _0x13c3ac=a84_0x51a09e,_0x202279=JSON[_0x13c3ac(0x181)](JSON[_0x13c3ac(0x15f)](_0x2de621));return this[_0x13c3ac(0x179)](_0x202279),_0x202279;}}const a84_0x17630f={};a84_0x17630f[a84_0x51a09e(0x132)]=o11yErrorHandler,a84_0x17630f[a84_0x51a09e(0x139)]=o11yClassErrorHandler,a84_0x17630f[a84_0x51a09e(0x15e)]=CrashReporter,module[a84_0x51a09e(0x144)]=a84_0x17630f;
|
|
1
|
+
const a84_0xa3cf37=a84_0x41a4;(function(_0x5c49ee,_0x99e410){const _0x1d264a=a84_0x41a4,_0x5c7a01=_0x5c49ee();while(!![]){try{const _0x51e99b=-parseInt(_0x1d264a(0x222))/0x1*(parseInt(_0x1d264a(0x210))/0x2)+-parseInt(_0x1d264a(0x22b))/0x3+-parseInt(_0x1d264a(0x255))/0x4+-parseInt(_0x1d264a(0x1f5))/0x5+parseInt(_0x1d264a(0x234))/0x6*(parseInt(_0x1d264a(0x208))/0x7)+-parseInt(_0x1d264a(0x20e))/0x8+parseInt(_0x1d264a(0x233))/0x9*(parseInt(_0x1d264a(0x232))/0xa);if(_0x51e99b===_0x99e410)break;else _0x5c7a01['push'](_0x5c7a01['shift']());}catch(_0x1f9205){_0x5c7a01['push'](_0x5c7a01['shift']());}}}(a84_0x21dd,0x1b489));const util=require('util'),PerformanceTester=require(a84_0xa3cf37(0x200)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0xa3cf37(0x22d)),{getAgentVersion,nestedKeyValue}=require(a84_0xa3cf37(0x21b)),o11yErrorHandler=(_0x519aee,_0x34cf1b='',_0x148880=[''],_0x2599cc=![])=>{const _0x3d94c9={'fQYyG':function(_0x7ba58a,_0x4f9b74){return _0x7ba58a(_0x4f9b74);},'kvMSF':function(_0xd1f595,_0xcc716c,_0x13ffca){return _0xd1f595(_0xcc716c,_0x13ffca);},'tONdv':function(_0x376673,_0x28d1ae){return _0x376673(_0x28d1ae);},'ziPEO':function(_0x35a2ba,_0x1b2ac1,_0x4408c5){return _0x35a2ba(_0x1b2ac1,_0x4408c5);},'SumYE':function(_0xa0f2ac,_0x32f075){return _0xa0f2ac instanceof _0x32f075;},'vIyyd':function(_0x19d62c,_0x1770c6,_0x530167,_0x39bb5b,_0x42fdf2){return _0x19d62c(_0x1770c6,_0x530167,_0x39bb5b,_0x42fdf2);}};return function(..._0x23d547){const _0x2a0da7=a84_0x41a4;try{let _0x5ded91=_0x519aee;process[_0x2a0da7(0x1ed)][_0x2a0da7(0x1fb)]&&(_0x5ded91=PerformanceTester['getPerformance']()['timerify'](_0x5ded91));_0x2599cc&&_0x3d94c9[_0x2a0da7(0x20b)](trace,_0x2a0da7(0x235)+_0x34cf1b+_0x2a0da7(0x203)+process[_0x2a0da7(0x1f9)]+_0x2a0da7(0x217)+_0x3d94c9['kvMSF'](nestedKeyValue,arguments[0x0],_0x148880));const _0x2de6a5=_0x5ded91['apply'](null,arguments);_0x2599cc&&_0x3d94c9[_0x2a0da7(0x246)](trace,'Finished\x20::\x20'+_0x34cf1b+',\x20PID\x20-\x20'+process[_0x2a0da7(0x1f9)]+_0x2a0da7(0x217)+_0x3d94c9[_0x2a0da7(0x1fc)](nestedKeyValue,arguments[0x0],_0x148880));if(_0x3d94c9[_0x2a0da7(0x254)](_0x2de6a5,Promise))return _0x2de6a5[_0x2a0da7(0x230)](_0x707a8e=>processError(_0x707a8e,_0x519aee,_0x23d547,_0x34cf1b));return _0x2de6a5;}catch(_0x136c3b){_0x3d94c9['vIyyd'](processError,_0x136c3b,_0x519aee,_0x23d547,_0x34cf1b);}};},o11yClassErrorHandler=(_0x22ecc9,_0xd43255,_0x50dbf3='')=>{const _0x424de3=a84_0xa3cf37,_0x49d23e={'jydDy':function(_0x66d9fd,_0x129d78){return _0x66d9fd instanceof _0x129d78;},'odCSU':function(_0x333ef6,_0x462bba,_0x5c0417,_0x3a5a6f,_0x54b574){return _0x333ef6(_0x462bba,_0x5c0417,_0x3a5a6f,_0x54b574);},'FKGgY':function(_0x5d9278,_0x28f4ed){return _0x5d9278===_0x28f4ed;},'uqotF':'function','puNBS':function(_0x2928bb,_0x241b5a){return _0x2928bb!==_0x241b5a;},'AuaJK':_0x424de3(0x229),'DefQW':function(_0x429a10,_0x4f4aa7){return _0x429a10<_0x4f4aa7;}},_0x352b8b=_0x22ecc9['prototype'];if(_0x49d23e['DefQW'](Object[_0x424de3(0x218)](_0x352b8b)['length'],0x2))return _0x22ecc9;return Object['getOwnPropertyNames'](_0x352b8b)[_0x424de3(0x216)](_0x1bf29c=>{const _0x189365=_0x424de3;if(!(_0xd43255&&_0xd43255[_0x189365(0x219)](_0x1bf29c)))return;const _0x5a21da=_0x352b8b[_0x1bf29c];_0x49d23e[_0x189365(0x21d)](typeof _0x5a21da,_0x49d23e[_0x189365(0x204)])&&_0x49d23e[_0x189365(0x1e9)](_0x1bf29c,_0x49d23e[_0x189365(0x24d)])&&Object[_0x189365(0x231)](_0x352b8b,_0x1bf29c,{'writable':!![],'value':function(..._0x305937){const _0x2b00d0=_0x189365;try{const _0x22739b=(process[_0x2b00d0(0x1ed)][_0x2b00d0(0x1fb)]?PerformanceTester[_0x2b00d0(0x238)]()[_0x2b00d0(0x236)](_0x5a21da):_0x5a21da)[_0x2b00d0(0x23f)](this,..._0x305937);if(_0x49d23e[_0x2b00d0(0x24b)](_0x22739b,Promise))return _0x22739b[_0x2b00d0(0x230)](_0x29a42c=>processError(_0x29a42c,_0x5a21da,_0x305937,_0x50dbf3));return _0x22739b;}catch(_0x4d9329){_0x49d23e[_0x2b00d0(0x23b)](processError,_0x4d9329,_0x5a21da,_0x305937,_0x50dbf3);}}});}),_0x22ecc9;};function a84_0x21dd(){const _0x51cf0a=['Started\x20::\x20','timerify','QEzLP','getPerformance','/api/v1/analytics','length','odCSU','USER_CONFIG_FOR_REPORTING','parse','user','call','QbAwL','application/json','Error\x20in\x20executing\x20','frameworkDetails','auth','setFrameworkDetails','tONdv','Content-Type','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','setConfigDetails','getCredentials','jydDy','toString','AuaJK','userConfig','true','exports','POST','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','inspect','SumYE','542384PrfhET','recursivelyDeletePIIKeysFromObject','puNBS','PFGdD','wZrrB','iTLMP','env','key','FKmjB','cWckc','depth','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','Kghia','awhtx','720950JBAJTU','ZAbDZ','keys','UZnir','pid','filterPII','BROWSERSTACK_O11Y_PERF_MEASUREMENT','ziPEO','X-BSTACK-TESTOPS','wcPKL','captureError','../performance/performance-tester','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','password',',\x20PID\x20-\x20','uqotF','format','CREDENTIALS_FOR_CRASH_REPORTING','DXsii','24941tdzabG','skcUz','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','fQYyG','credentials','o11yClassErrorHandler','1481256XGjOVq','BS_TESTOPS_BUILD_HASHED_ID','69250vCQbfT','stringify','\x20--\x20','headers','.\x20Error\x20-\x20','frameworkName','forEach',',\x20Argument\x20-\x20','getOwnPropertyNames','includes','uploadCrashReport','../helper','accessKey','FKGgY','frameworkVersion','NFmHQ','Blnbp','hMIKL','5llhwjp','bHdgL','setAllDetails','o11yErrorHandler','username','getConfig','name','constructor','getFramework','446994uNAmqV','SRcxS','./utils','object','UTgSS','catch','defineProperty','410BhMwdP','160542WGEqGu','282boTYSW'];a84_0x21dd=function(){return _0x51cf0a;};return a84_0x21dd();}function a84_0x41a4(_0x2abc97,_0xd9c490){const _0x21dded=a84_0x21dd();return a84_0x41a4=function(_0x41a477,_0x3909d0){_0x41a477=_0x41a477-0x1e9;let _0x3a2c9e=_0x21dded[_0x41a477];return _0x3a2c9e;},a84_0x41a4(_0x2abc97,_0xd9c490);}function processError(_0x4bc565,_0x5ecb4b,_0x4da170,_0x2eb75b){const _0xee7d08=a84_0xa3cf37,_0x25fa98={'yHBeo':function(_0x4414a6,_0x1ace5a){return _0x4414a6(_0x1ace5a);}};_0x25fa98['yHBeo'](debug,_0xee7d08(0x242)+_0x5ecb4b[_0xee7d08(0x228)]+'\x20--\x20'+_0x2eb75b+_0xee7d08(0x214)+_0x4bc565+'.\x20Args\x20-\x20'+_0x4da170+'.'),PerformanceTester[_0xee7d08(0x1ff)](_0x4bc565);let _0xe958da;try{_0xe958da=JSON['stringify'](_0x4da170);}catch(_0x32cb63){const _0x1ad71d={};_0x1ad71d[_0xee7d08(0x1f1)]=0x2,_0xe958da=util[_0xee7d08(0x253)](_0x4da170,_0x1ad71d);}CrashReporter[_0xee7d08(0x21a)]('Error\x20in\x20executing\x20'+_0x5ecb4b[_0xee7d08(0x228)]+_0xee7d08(0x212)+_0x2eb75b+_0xee7d08(0x214)+_0x4bc565+'.\x20Args\x20-\x20'+_0xe958da+'.',_0x4bc565&&_0x4bc565['stack']);}class CrashReporter{static [a84_0xa3cf37(0x24e)]={};static [a84_0xa3cf37(0x20c)];static [a84_0xa3cf37(0x243)]={};static['initialize'](_0x584010,_0x32cce4,_0x130c64=null){const _0x4e5ddd=a84_0xa3cf37,_0x298757={'hMIKL':function(_0xdab55b,_0x118363){return _0xdab55b(_0x118363);},'QEzLP':function(_0x3346db,_0x14c39d){return _0x3346db(_0x14c39d);},'wcPKL':function(_0x248844,_0x4ee46b){return _0x248844(_0x4ee46b);}},_0x5b13d3=_0x584010['frameworkName'],_0x5f3329=_0x584010[_0x4e5ddd(0x21e)];!_0x130c64&&(_0x130c64=_0x298757[_0x4e5ddd(0x221)](getBrowserStackConfig,_0x5b13d3));!_0x5f3329&&_0x298757[_0x4e5ddd(0x237)](getFrameworkVersion,_0x5b13d3);const _0x599697={};_0x599697['frameworkName']=_0x5b13d3,_0x599697['frameworkVersion']=_0x5f3329,this[_0x4e5ddd(0x224)](_0x599697,_0x32cce4,_0x298757[_0x4e5ddd(0x1fe)](getUserCredentials,_0x130c64));}static['setCredentials'](_0x3a2980,_0x392e74){const _0xbed86c=a84_0xa3cf37,_0x126d2e={};_0x126d2e[_0xbed86c(0x226)]=_0x3a2980,_0x126d2e[_0xbed86c(0x21c)]=_0x392e74,this[_0xbed86c(0x20c)]=_0x126d2e,process[_0xbed86c(0x1ed)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0xbed86c(0x211)](this[_0xbed86c(0x20c)]);}static[a84_0xa3cf37(0x24a)](){const _0x1c7434=a84_0xa3cf37,_0x13e4e5={'Blnbp':function(_0x33f177,_0x33cf6b){return _0x33f177(_0x33cf6b);}};if(!this[_0x1c7434(0x20c)]&&process['env'][_0x1c7434(0x206)])try{this['credentials']=JSON[_0x1c7434(0x23d)](process['env'][_0x1c7434(0x206)]);}catch(_0x4ac9bb){_0x13e4e5[_0x1c7434(0x220)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x4ac9bb['toString']());}return this[_0x1c7434(0x20c)];}static['setConfigDetails'](_0x26bc1c){const _0x538ce6=a84_0xa3cf37;this[_0x538ce6(0x24e)]=this[_0x538ce6(0x1fa)](_0x26bc1c),process['env']['USER_CONFIG_FOR_REPORTING']=JSON[_0x538ce6(0x211)](this[_0x538ce6(0x24e)]);}static['getConfig'](){const _0x15c3e8=a84_0xa3cf37,_0x410a42={'UZnir':function(_0x57cbf3,_0x2e48a3){return _0x57cbf3===_0x2e48a3;},'SRcxS':function(_0xbc7e62,_0x1f9965){return _0xbc7e62(_0x1f9965);}};if(_0x410a42[_0x15c3e8(0x1f8)](Object[_0x15c3e8(0x1f7)](this[_0x15c3e8(0x24e)])[_0x15c3e8(0x23a)],0x0)&&process[_0x15c3e8(0x1ed)][_0x15c3e8(0x23c)])try{this['userConfig']=JSON[_0x15c3e8(0x23d)](process[_0x15c3e8(0x1ed)][_0x15c3e8(0x23c)]);}catch(_0x188393){_0x410a42[_0x15c3e8(0x22c)](debug,_0x15c3e8(0x20a)+_0x188393[_0x15c3e8(0x24c)]()),this[_0x15c3e8(0x24e)]={};}return this[_0x15c3e8(0x24e)];}static[a84_0xa3cf37(0x245)](_0x52e2e2){const _0x3dcc65=a84_0xa3cf37;this[_0x3dcc65(0x243)]=_0x52e2e2,process['env'][_0x3dcc65(0x248)]=JSON[_0x3dcc65(0x211)](this[_0x3dcc65(0x243)]);}static[a84_0xa3cf37(0x22a)](){const _0x3b2aba=a84_0xa3cf37,_0x139490={'skcUz':function(_0x5d77e8,_0x423c3c){return _0x5d77e8===_0x423c3c;},'UsDLR':function(_0x1c19f0,_0x589696){return _0x1c19f0(_0x589696);}};if(_0x139490[_0x3b2aba(0x209)](Object[_0x3b2aba(0x1f7)](this[_0x3b2aba(0x243)])[_0x3b2aba(0x23a)],0x0)&&process[_0x3b2aba(0x1ed)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x3b2aba(0x243)]=JSON[_0x3b2aba(0x23d)](process[_0x3b2aba(0x1ed)][_0x3b2aba(0x248)]);}catch(_0x12edda){_0x139490['UsDLR'](debug,_0x3b2aba(0x252)+_0x12edda['toString']());}return this[_0x3b2aba(0x243)];}static[a84_0xa3cf37(0x224)](_0x177fe7,_0x4fd5c9,_0x3719b9){const _0x494081=a84_0xa3cf37;_0x177fe7&&this['setFrameworkDetails'](_0x177fe7),_0x4fd5c9&&this[_0x494081(0x249)](_0x4fd5c9),_0x3719b9&&this['setCredentials'](_0x3719b9[_0x494081(0x226)],_0x3719b9['accessKey']);}static async[a84_0xa3cf37(0x21a)](_0x5d9be5,_0xfaf0b7){const _0x44e96e=a84_0xa3cf37,_0x4bcc27={'PFGdD':function(_0x62615c,_0x4e924c){return _0x62615c(_0x4e924c);},'cWckc':function(_0x508844,_0x11007a){return _0x508844(_0x11007a);},'ZAbDZ':_0x44e96e(0x201),'awhtx':function(_0x2a728a){return _0x2a728a();},'AFjpL':_0x44e96e(0x239),'yrQmW':_0x44e96e(0x241),'wZrrB':_0x44e96e(0x24f),'ccscR':function(_0x436b1b,_0x5d79bd,_0x419778,_0x460346,_0x21315d,_0x17074c){return _0x436b1b(_0x5d79bd,_0x419778,_0x460346,_0x21315d,_0x17074c);},'Kghia':_0x44e96e(0x251)};this[_0x44e96e(0x24a)]();if(!this[_0x44e96e(0x20c)])return _0x4bcc27[_0x44e96e(0x1f0)](debug,_0x4bcc27[_0x44e96e(0x1f6)]);this[_0x44e96e(0x227)](),this[_0x44e96e(0x22a)]();const _0x579f5b={'hashed_id':process['env'][_0x44e96e(0x20f)],'observability_version':{'sdkVersion':_0x4bcc27[_0x44e96e(0x1f4)](getAgentVersion),'frameworkName':this[_0x44e96e(0x243)][_0x44e96e(0x215)],'frameworkVersion':this[_0x44e96e(0x243)]['frameworkVersion']},'exception':{'error':_0x5d9be5[_0x44e96e(0x24c)](),'stackTrace':_0xfaf0b7},'config':this[_0x44e96e(0x24e)]},_0x423537=_0x4bcc27['AFjpL'],_0x586127={};_0x586127['username']=this[_0x44e96e(0x20c)][_0x44e96e(0x226)],_0x586127[_0x44e96e(0x202)]=this[_0x44e96e(0x20c)]['accessKey'];const _0x35f935={};_0x35f935[_0x44e96e(0x247)]=_0x4bcc27['yrQmW'],_0x35f935[_0x44e96e(0x1fd)]=_0x4bcc27[_0x44e96e(0x1eb)];const _0x4e86f4={};_0x4e86f4[_0x44e96e(0x244)]=_0x586127,_0x4e86f4[_0x44e96e(0x213)]=_0x35f935;const _0x2954a5=_0x4e86f4;_0x4bcc27['ccscR'](nodeRequest,_0x4bcc27[_0x44e96e(0x1f3)],_0x423537,_0x579f5b,_0x2954a5,![])['then'](_0x4f53d6=>{const _0x4d776b=_0x44e96e;_0x4bcc27[_0x4d776b(0x1ea)](debug,'[Crash_Report_Upload]\x20Success\x20response:\x20'+JSON[_0x4d776b(0x211)](_0x4f53d6));})[_0x44e96e(0x230)](_0x434bc1=>{const _0x13e6da=_0x44e96e;_0x4bcc27[_0x13e6da(0x1f0)](debug,_0x13e6da(0x1f2)+util[_0x13e6da(0x205)](_0x434bc1));});}static[a84_0xa3cf37(0x256)](_0x28677a){const _0x27c410=a84_0xa3cf37,_0x1b62c7={};_0x1b62c7[_0x27c410(0x21f)]=_0x27c410(0x23e),_0x1b62c7[_0x27c410(0x1ec)]=_0x27c410(0x226),_0x1b62c7[_0x27c410(0x1ef)]=_0x27c410(0x1ee),_0x1b62c7['QbAwL']=_0x27c410(0x21c),_0x1b62c7[_0x27c410(0x223)]=_0x27c410(0x202),_0x1b62c7['UTgSS']=function(_0x3d640c,_0x534fa6){return _0x3d640c===_0x534fa6;},_0x1b62c7[_0x27c410(0x207)]=_0x27c410(0x22e);const _0x420183=_0x1b62c7;if(!_0x28677a)return;const _0x325a95=[_0x420183[_0x27c410(0x21f)],_0x420183[_0x27c410(0x1ec)],_0x420183[_0x27c410(0x1ef)],_0x420183[_0x27c410(0x240)],_0x420183[_0x27c410(0x223)]];for(const _0x4e8c92 in _0x28677a){if(_0x325a95['includes'](_0x4e8c92['toLowerCase']()))delete _0x28677a[_0x4e8c92];else _0x420183[_0x27c410(0x22f)](typeof _0x28677a[_0x4e8c92],_0x420183[_0x27c410(0x207)])&&this[_0x27c410(0x256)](_0x28677a[_0x4e8c92]);}}static[a84_0xa3cf37(0x1fa)](_0x387877){const _0x53eefe=a84_0xa3cf37,_0x28af19=JSON[_0x53eefe(0x23d)](JSON[_0x53eefe(0x211)](_0x387877));return this['recursivelyDeletePIIKeysFromObject'](_0x28af19),_0x28af19;}}const a84_0xfbb68e={};a84_0xfbb68e[a84_0xa3cf37(0x225)]=o11yErrorHandler,a84_0xfbb68e[a84_0xa3cf37(0x20d)]=o11yClassErrorHandler,a84_0xfbb68e['CrashReporter']=CrashReporter,module[a84_0xa3cf37(0x250)]=a84_0xfbb68e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85_0x566d1f=a85_0x476c;(function(_0x2cc0e8,_0x5143fe){const _0x1fc5c2=a85_0x476c,_0x4a9042=_0x2cc0e8();while(!![]){try{const _0x4aa8fc=parseInt(_0x1fc5c2(0x105))/0x1+-parseInt(_0x1fc5c2(0x106))/0x2*(parseInt(_0x1fc5c2(0x107))/0x3)+-parseInt(_0x1fc5c2(0xc3))/0x4*(parseInt(_0x1fc5c2(0xf9))/0x5)+-parseInt(_0x1fc5c2(0x12c))/0x6+parseInt(_0x1fc5c2(0xd7))/0x7+-parseInt(_0x1fc5c2(0x12d))/0x8+parseInt(_0x1fc5c2(0xfd))/0x9;if(_0x4aa8fc===_0x5143fe)break;else _0x4a9042['push'](_0x4a9042['shift']());}catch(_0x236126){_0x4a9042['push'](_0x4a9042['shift']());}}}(a85_0x4386,0x3fc93));function a85_0x476c(_0x252da8,_0x20adcd){const _0x438635=a85_0x4386();return a85_0x476c=function(_0x476cfc,_0x2dd03c){_0x476cfc=_0x476cfc-0xbf;let _0x56c953=_0x438635[_0x476cfc];return _0x56c953;},a85_0x476c(_0x252da8,_0x20adcd);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x566d1f(0xd0)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a85_0x566d1f(0x12e)),util=require('util');class RequestQueueHandler{static [a85_0x566d1f(0xdf)];[a85_0x566d1f(0xe3)]=0x0;constructor(){const _0x8dad06=a85_0x566d1f,_0x4d3bc5={};_0x4d3bc5[_0x8dad06(0x103)]='1|5|0|3|2|4',_0x4d3bc5[_0x8dad06(0xd2)]='api/v1/batch',_0x4d3bc5[_0x8dad06(0x109)]=_0x8dad06(0xd6),_0x4d3bc5['Qntaw']='CBTSessionCreated',_0x4d3bc5[_0x8dad06(0x127)]=_0x8dad06(0xc1),_0x4d3bc5[_0x8dad06(0xd8)]=_0x8dad06(0xcb),_0x4d3bc5[_0x8dad06(0x116)]='HookRunFinished',_0x4d3bc5['TAeCU']=_0x8dad06(0xc5),_0x4d3bc5['sHDDk']=_0x8dad06(0xc0),_0x4d3bc5['SBeag']=_0x8dad06(0x120);const _0x8a80af=_0x4d3bc5,_0x4efbf3=_0x8a80af['ErXpN'][_0x8dad06(0x10f)]('|');let _0x1e5e9d=0x0;while(!![]){switch(_0x4efbf3[_0x1e5e9d++]){case'0':this[_0x8dad06(0xeb)]=_0x8a80af[_0x8dad06(0xd2)];continue;case'1':this[_0x8dad06(0xc6)]=[];continue;case'2':this[_0x8dad06(0x11b)]=[_0x8a80af['fWulv'],_0x8a80af[_0x8dad06(0xcf)],_0x8a80af[_0x8dad06(0x127)],_0x8a80af['EQQFw'],_0x8a80af[_0x8dad06(0x116)],_0x8a80af[_0x8dad06(0xfe)],_0x8a80af[_0x8dad06(0x10d)]];continue;case'3':this[_0x8dad06(0x123)]=_0x8a80af[_0x8dad06(0xf1)];continue;case'4':this[_0x8dad06(0xe2)]=null;continue;case'5':this['started']=![];continue;}break;}}static[a85_0x566d1f(0xf0)](){const _0x324125=a85_0x566d1f;return!RequestQueueHandler[_0x324125(0xdf)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a85_0x566d1f(0xf2)]=()=>{const _0x1bf603=a85_0x566d1f;!this[_0x1bf603(0xe9)]&&(this[_0x1bf603(0xe9)]=!![],this[_0x1bf603(0xd9)]());};[a85_0x566d1f(0x12b)]=_0x4d0c61=>{const _0x2412a6=a85_0x566d1f,_0x460d6f={'kEmTT':function(_0x30aa9f,_0x504389){return _0x30aa9f===_0x504389;},'RfQHs':_0x2412a6(0x11d),'TsqQu':function(_0x260b8f,_0x557cb2){return _0x260b8f(_0x557cb2);},'wtoOw':_0x2412a6(0x108)};if(this[_0x2412a6(0x11b)][_0x2412a6(0x124)](_0x4d0c61[_0x2412a6(0xc4)])){if(_0x4d0c61[_0x2412a6(0xe7)]&&_0x4d0c61[_0x2412a6(0xe7)][0x0]&&_0x460d6f[_0x2412a6(0xee)](_0x4d0c61[_0x2412a6(0xe7)][0x0][_0x2412a6(0xbf)],_0x460d6f[_0x2412a6(0xed)])){const _0x540323={};return _0x540323[_0x2412a6(0x125)]=!![],_0x540323[_0x2412a6(0xda)]=[_0x4d0c61],_0x540323[_0x2412a6(0x113)]=this[_0x2412a6(0x123)],_0x540323;}this['queue'][_0x2412a6(0x117)](_0x4d0c61);let _0x4c5253=null;const _0x421f93=this[_0x2412a6(0x125)]();_0x421f93&&(_0x460d6f[_0x2412a6(0x10e)](trace,_0x460d6f['wtoOw']),_0x4c5253=this['queue'][_0x2412a6(0xc8)](0x0,BATCH_SIZE),this[_0x2412a6(0xc6)]['splice'](0x0,BATCH_SIZE),this[_0x2412a6(0xe8)]());const _0x67932e={};return _0x67932e[_0x2412a6(0x125)]=_0x421f93,_0x67932e[_0x2412a6(0xda)]=_0x4c5253,_0x67932e[_0x2412a6(0x113)]=this['eventUrl'],_0x67932e;}const _0x56b243={};return _0x56b243[_0x2412a6(0x125)]=!![],_0x56b243;};[a85_0x566d1f(0xd3)]=async()=>{const _0x3d0e3c=a85_0x566d1f,_0x27e4ad={'UTitj':_0x3d0e3c(0xc7),'anJPe':function(_0x269dd8,_0x1365b3){return _0x269dd8>_0x1365b3;},'ktmvs':_0x3d0e3c(0x126),'OuhpQ':function(_0x259f3a,_0x388aec){return _0x259f3a>_0x388aec;},'sUOfO':function(_0x57f4c0,_0x29b7d6){return _0x57f4c0(_0x29b7d6);}};await this[_0x3d0e3c(0xf3)](),this['removeEventBatchPolling'](_0x27e4ad['UTitj']);while(_0x27e4ad[_0x3d0e3c(0xef)](this[_0x3d0e3c(0xc6)]['length'],0x0)){const _0x2ce0fa=this[_0x3d0e3c(0xc6)][_0x3d0e3c(0xc8)](0x0,BATCH_SIZE);this['queue'][_0x3d0e3c(0xe5)](0x0,BATCH_SIZE),await this[_0x3d0e3c(0x12f)](this[_0x3d0e3c(0xeb)],_0x27e4ad[_0x3d0e3c(0x111)],_0x2ce0fa);}_0x27e4ad[_0x3d0e3c(0xea)](this['pendingUploads'],0x0)&&_0x27e4ad[_0x3d0e3c(0xff)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x3d0e3c(0xe3)]);};[a85_0x566d1f(0x12f)]=async(_0x7b5c31,_0x4f10fe,_0x297e98)=>{const _0x28372a=a85_0x566d1f,_0x55d368={'HSyta':function(_0x2533ea,_0x37f9db){return _0x2533ea(_0x37f9db);},'NwAgB':_0x28372a(0xdd),'rIUoM':function(_0xd66551){return _0xd66551();},'pKjNC':function(_0x14dd66,_0x55dbd5,_0x1c9046,_0x7e0799,_0x4ae35b){return _0x14dd66(_0x55dbd5,_0x1c9046,_0x7e0799,_0x4ae35b);},'HVvgK':'POST','dMnAy':function(_0xdee380,_0x55409f){return _0xdee380(_0x55409f);},'QwIcu':function(_0x286b39,_0x410a56){return _0x286b39-_0x410a56;},'WXNky':function(_0x302229,_0x500ead){return _0x302229(_0x500ead);},'YQKUI':function(_0x5c04f5,_0x49f245){return _0x5c04f5(_0x49f245);}};let _0x7cfa88='';try{_0x7cfa88=_0x297e98['map'](_0x48e269=>'\x27'+_0x48e269[_0x28372a(0xc4)]+'\x27:'+(nestedKeyValue(_0x48e269,[_0x28372a(0x11c),'uuid'])||nestedKeyValue(_0x48e269,[_0x28372a(0x100),_0x28372a(0xfc)])))[_0x28372a(0xf4)](','),_0x55d368[_0x28372a(0xca)](debug,_0x28372a(0x12a)+_0x4f10fe+_0x28372a(0xcd)+Buffer[_0x28372a(0x10b)](util['format']('%j',_0x297e98),_0x55d368[_0x28372a(0xcc)])+_0x28372a(0x129)+_0x7cfa88);}catch(_0x50f4f2){_0x55d368[_0x28372a(0xca)](debug,_0x28372a(0x118)+util[_0x28372a(0x10a)](_0x50f4f2)+'}');}const _0x4e175e={'headers':_0x55d368[_0x28372a(0xe6)](getDefaultHeaders)};try{const _0x510813=await _0x55d368[_0x28372a(0xd5)](nodeRequest,_0x55d368[_0x28372a(0xc9)],_0x7b5c31,_0x297e98,_0x4e175e);if(_0x510813['data'][_0x28372a(0xf7)]){const _0x5eccaa={};_0x5eccaa['message']=_0x510813['data'][_0x28372a(0xf7)];throw _0x5eccaa;}else _0x55d368[_0x28372a(0x119)](debug,_0x4f10fe+_0x28372a(0xd1)+_0x7cfa88+_0x28372a(0xfb)+util[_0x28372a(0x10a)]('%j',_0x510813['data'])),this[_0x28372a(0xe3)]=Math[_0x28372a(0x102)](0x0,_0x55d368[_0x28372a(0xdb)](this[_0x28372a(0xe3)],_0x297e98['length']));}catch(_0x4a717c){_0x4a717c[_0x28372a(0x115)]?_0x55d368[_0x28372a(0xde)](debug,_0x28372a(0x11a)+_0x4f10fe+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+_0x4a717c[_0x28372a(0x115)][_0x28372a(0xd4)]+'\x20'+_0x4a717c[_0x28372a(0x115)][_0x28372a(0x101)]+'\x20'+JSON['stringify'](_0x4a717c[_0x28372a(0x115)])):_0x55d368[_0x28372a(0xf5)](debug,_0x28372a(0x11a)+_0x4f10fe+_0x28372a(0xe1)+(_0x4a717c[_0x28372a(0x114)]||_0x4a717c)),this['pendingUploads']=Math['max'](0x0,_0x55d368[_0x28372a(0xdb)](this[_0x28372a(0xe3)],_0x297e98[_0x28372a(0xfa)]));}};['startEventBatchPolling']=()=>{const _0x29a874=a85_0x566d1f,_0x4eb725={'DUDgD':function(_0x23fbe1,_0x5cbbaf){return _0x23fbe1>_0x5cbbaf;},'kCSKq':function(_0x53316e,_0x4dd93c){return _0x53316e(_0x4dd93c);},'ScQQE':'Interval-Queue','UoMkh':function(_0x5ec415,_0x2f6a75){return _0x5ec415(_0x2f6a75);},'qMFcJ':function(_0x2e4839,_0x22223c,_0x529aa8){return _0x2e4839(_0x22223c,_0x529aa8);}};this['pollEventBatchInterval']=_0x4eb725[_0x29a874(0x11e)](setInterval,async()=>{const _0x4ea32d=_0x29a874;if(_0x4eb725[_0x4ea32d(0xce)](this[_0x4ea32d(0xc6)][_0x4ea32d(0xfa)],0x0)){_0x4eb725[_0x4ea32d(0xe0)](trace,_0x4ea32d(0xf8)+this['queue'][_0x4ea32d(0xfa)]);const _0x1c3513=this[_0x4ea32d(0xc6)][_0x4ea32d(0xc8)](0x0,BATCH_SIZE);this['queue'][_0x4ea32d(0xe5)](0x0,BATCH_SIZE),await this[_0x4ea32d(0x12f)](this[_0x4ea32d(0xeb)],_0x4eb725[_0x4ea32d(0x11f)],_0x1c3513),_0x4eb725[_0x4ea32d(0xdc)](trace,_0x4ea32d(0xf6)+this['queue'][_0x4ea32d(0xfa)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x410985=a85_0x566d1f,_0x351553={};_0x351553[_0x410985(0xe4)]=_0x410985(0x122);const _0x407a29=_0x351553;this['removeEventBatchPolling'](_0x407a29[_0x410985(0xe4)]),this[_0x410985(0xd9)]();};[a85_0x566d1f(0x121)]=_0x3b1567=>{const _0x37f207=a85_0x566d1f,_0x17a69a={'vXhvn':function(_0x517156,_0x30f4bc){return _0x517156(_0x30f4bc);},'oYgyw':function(_0x5d0944,_0x11dc71){return _0x5d0944===_0x11dc71;},'bgpHQ':_0x37f207(0xc7)};this[_0x37f207(0xe2)]&&(_0x17a69a[_0x37f207(0xc2)](clearInterval,this[_0x37f207(0xe2)]),this[_0x37f207(0xe2)]=null,_0x17a69a[_0x37f207(0x128)](_0x3b1567,_0x17a69a[_0x37f207(0xec)])&&(this[_0x37f207(0xe9)]=![]));};['shouldProceed']=()=>{const _0x5d5c77=a85_0x566d1f,_0x2bd005={};_0x2bd005[_0x5d5c77(0x112)]=function(_0x4df357,_0x5c6dbe){return _0x4df357>=_0x5c6dbe;};const _0xd960a5=_0x2bd005;return _0xd960a5[_0x5d5c77(0x112)](this[_0x5d5c77(0xc6)][_0x5d5c77(0xfa)],BATCH_SIZE);};async['uploadPending'](_0x5f1bac=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x106e08=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x4ad79d=a85_0x566d1f,_0x377052={'DURoE':function(_0x2eab85,_0x133d30){return _0x2eab85<=_0x133d30;},'zCntR':function(_0x23b5b5,_0x2b9318){return _0x23b5b5<=_0x2b9318;},'qkNcB':function(_0x35ff0a,_0x571451){return _0x35ff0a(_0x571451);},'Hnaww':function(_0x39f67d,_0x2510a5){return _0x39f67d-_0x2510a5;}};if(_0x377052['DURoE'](this[_0x4ad79d(0xe3)],0x0)||_0x377052['zCntR'](_0x5f1bac,0x0))return;return await _0x377052[_0x4ad79d(0x110)](sleep,_0x106e08),this[_0x4ad79d(0xf3)](_0x377052[_0x4ad79d(0x104)](_0x5f1bac,_0x106e08));}}module[a85_0x566d1f(0x10c)]=RequestQueueHandler;function a85_0x4386(){const _0x19067e=['utf8','WXNky','instance','kCSKq','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','pollEventBatchInterval','pendingUploads','LYOkT','splice','rIUoM','logs','resetEventBatchPolling','started','OuhpQ','eventUrl','bgpHQ','RfQHs','kEmTT','anJPe','getInstance','SBeag','start','uploadPending','join','YQKUI','Remaining\x20Queue\x20Length\x20-\x20','error','Processing\x20events.\x20Queue\x20Length\x20-\x20','4180cdAjlR','length','\x20--\x20','uuid','11919132fWOyiT','TAeCU','sUOfO','hook_run','statusText','max','ErXpN','Hnaww','34339DcOysP','32138wltlwH','45MBmjIv','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','fWulv','format','byteLength','exports','sHDDk','TsqQu','split','qkNcB','ktmvs','kKfJQ','proceedWithUrl','message','response','GyZFT','push','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','dMnAy','EXCEPTION\x20IN\x20','BATCH_EVENT_TYPES','test_run','TEST_SCREENSHOT','qMFcJ','ScQQE','api/v1/screenshots','removeEventBatchPolling','RESETTING','screenshotEventUrl','includes','shouldProceed','Shutdown-Queue','piJDh','oYgyw','\x20bytes.\x20Events\x20are\x20','Processing\x20batch\x20events\x20for\x20','add','2605296gEPXag','1935672CJcYLh','../helper','batchAndPostEvents','kind','HookRunStarted','TestRunFinished','vXhvn','1124jpMrWU','event_type','TestRunStarted','queue','REMOVING','slice','HVvgK','HSyta','TestRunSkipped','NwAgB','.\x20Request\x20Size\x20-\x20','DUDgD','Qntaw','./constants','\x20event\x20successful\x20for\x20events\x20','LVcQj','shutdown','status','pKjNC','LogCreated','382942joekXf','EQQFw','startEventBatchPolling','proceedWithData','QwIcu','UoMkh'];a85_0x4386=function(){return _0x19067e;};return a85_0x4386();}
|
|
1
|
+
const a85_0x104d6=a85_0x39cf;(function(_0x1f521d,_0x334034){const _0x307e8e=a85_0x39cf,_0x134263=_0x1f521d();while(!![]){try{const _0x52881f=-parseInt(_0x307e8e(0x190))/0x1*(parseInt(_0x307e8e(0x1ce))/0x2)+-parseInt(_0x307e8e(0x1f0))/0x3*(parseInt(_0x307e8e(0x1e0))/0x4)+parseInt(_0x307e8e(0x1d2))/0x5+-parseInt(_0x307e8e(0x1b5))/0x6+parseInt(_0x307e8e(0x1dd))/0x7*(parseInt(_0x307e8e(0x195))/0x8)+-parseInt(_0x307e8e(0x1ba))/0x9+parseInt(_0x307e8e(0x1ed))/0xa*(parseInt(_0x307e8e(0x1eb))/0xb);if(_0x52881f===_0x334034)break;else _0x134263['push'](_0x134263['shift']());}catch(_0x4703dd){_0x134263['push'](_0x134263['shift']());}}}(a85_0xaa36,0x5294d));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x104d6(0x1c9)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a85_0x104d6(0x1c3)),{nestedKeyValue}=require(a85_0x104d6(0x1d0)),util=require('util');function a85_0xaa36(){const _0x316572=['slice','QKKKo','xWNLJ','CBTSessionCreated','Interval-Queue','ReQkN','RESETTING','TEST_SCREENSHOT','max','2|3|4|5|0|1','3115314rJQlpk','response','kind','utf8','\x20--\x20','2004984UgKBZt','kGoJA','afgZJ','push','logs','eUIbq','started','Shutdown-Queue','startEventBatchPolling','./utils','rADua','format','bxRAY','byteLength','Processing\x20batch\x20events\x20for\x20','./constants','bJSDD','start','YEZnS','error','23670PNjboU','uploadPending','../helper','HBxsT','1207025vndjCR','pendingUploads','NNeHB','uuid','TgEnr','instance','HabwS','eventUrl','POST','data','join','365953EtGUGo','vPZob','map','248rquUKm','TestRunFinished','REMOVING','splice','status','BATCH_EVENT_TYPES','utrFN','qyjzu','\x20bytes.\x20Events\x20are\x20','OamAb','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','154vLBqYo','statusText','764140wiIdRR','resetEventBatchPolling','length','19242eHLqde','.\x20Request\x20Size\x20-\x20','exmSS','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','removeEventBatchPolling','8SFriVA','pollEventBatchInterval','\x20event\x20successful\x20for\x20events\x20','test_run','includes','40JUEXxV','AfLdd','cROLT','JbjCd','batchAndPostEvents','hook_run','vEVEv','shouldProceed','uQTid','split','HookRunStarted','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','EXCEPTION\x20IN\x20','screenshotEventUrl','proceedWithData','Ieogs','message','TestRunSkipped','event_type','queue','JEbpq','HyfMz'];a85_0xaa36=function(){return _0x316572;};return a85_0xaa36();}class RequestQueueHandler{static ['instance'];[a85_0x104d6(0x1d3)]=0x0;constructor(){const _0x61c137=a85_0x104d6,_0x53ad0f={};_0x53ad0f['AfLdd']=_0x61c137(0x1b4),_0x53ad0f[_0x61c137(0x1bc)]='LogCreated',_0x53ad0f[_0x61c137(0x19d)]=_0x61c137(0x1ae),_0x53ad0f[_0x61c137(0x197)]=_0x61c137(0x1e1),_0x53ad0f[_0x61c137(0x1c4)]=_0x61c137(0x1a6),_0x53ad0f['bJSDD']='HookRunFinished',_0x53ad0f[_0x61c137(0x1e9)]='TestRunStarted',_0x53ad0f['QewAd']=_0x61c137(0x19f),_0x53ad0f['JEbpq']='api/v1/batch',_0x53ad0f[_0x61c137(0x1d4)]='api/v1/screenshots';const _0x3e29b4=_0x53ad0f,_0x5664d5=_0x3e29b4[_0x61c137(0x196)][_0x61c137(0x19e)]('|');let _0x374df3=0x0;while(!![]){switch(_0x5664d5[_0x374df3++]){case'0':this[_0x61c137(0x1e5)]=[_0x3e29b4['afgZJ'],_0x3e29b4[_0x61c137(0x19d)],_0x3e29b4[_0x61c137(0x197)],_0x3e29b4['rADua'],_0x3e29b4[_0x61c137(0x1ca)],_0x3e29b4[_0x61c137(0x1e9)],_0x3e29b4['QewAd']];continue;case'1':this[_0x61c137(0x191)]=null;continue;case'2':this[_0x61c137(0x1a8)]=[];continue;case'3':this[_0x61c137(0x1c0)]=![];continue;case'4':this[_0x61c137(0x1d9)]=_0x3e29b4[_0x61c137(0x1a9)];continue;case'5':this[_0x61c137(0x1a2)]=_0x3e29b4[_0x61c137(0x1d4)];continue;}break;}}static['getInstance'](){const _0x338af4=a85_0x104d6;return!RequestQueueHandler['instance']&&(RequestQueueHandler[_0x338af4(0x1d7)]=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a85_0x104d6(0x1cb)]=()=>{const _0x6201d4=a85_0x104d6;!this[_0x6201d4(0x1c0)]&&(this[_0x6201d4(0x1c0)]=!![],this[_0x6201d4(0x1c2)]());};['add']=_0x296856=>{const _0x15a28b=a85_0x104d6,_0xc0014e={'gKoVy':function(_0x35d69d,_0x38df8c){return _0x35d69d===_0x38df8c;},'HyfMz':_0x15a28b(0x1b2),'YPbOF':function(_0x21ed57,_0x21c010){return _0x21ed57(_0x21c010);},'bxRAY':_0x15a28b(0x1a0)};if(this[_0x15a28b(0x1e5)][_0x15a28b(0x194)](_0x296856[_0x15a28b(0x1a7)])){if(_0x296856[_0x15a28b(0x1be)]&&_0x296856[_0x15a28b(0x1be)][0x0]&&_0xc0014e['gKoVy'](_0x296856[_0x15a28b(0x1be)][0x0][_0x15a28b(0x1b7)],_0xc0014e[_0x15a28b(0x1aa)])){const _0x21c57f={};return _0x21c57f[_0x15a28b(0x19c)]=!![],_0x21c57f[_0x15a28b(0x1a3)]=[_0x296856],_0x21c57f['proceedWithUrl']=this[_0x15a28b(0x1a2)],_0x21c57f;}this['queue'][_0x15a28b(0x1bd)](_0x296856);let _0x177c1b=null;const _0x8c603c=this[_0x15a28b(0x19c)]();_0x8c603c&&(_0xc0014e['YPbOF'](trace,_0xc0014e[_0x15a28b(0x1c6)]),_0x177c1b=this['queue'][_0x15a28b(0x1ab)](0x0,BATCH_SIZE),this[_0x15a28b(0x1a8)][_0x15a28b(0x1e3)](0x0,BATCH_SIZE),this[_0x15a28b(0x1ee)]());const _0x1efed4={};return _0x1efed4[_0x15a28b(0x19c)]=_0x8c603c,_0x1efed4[_0x15a28b(0x1a3)]=_0x177c1b,_0x1efed4['proceedWithUrl']=this[_0x15a28b(0x1d9)],_0x1efed4;}const _0x4b74fb={};return _0x4b74fb[_0x15a28b(0x19c)]=!![],_0x4b74fb;};['shutdown']=async()=>{const _0x4de12a=a85_0x104d6,_0x2cc2c9={'vlhzd':_0x4de12a(0x1e2),'ReQkN':function(_0x1b5865,_0xe7a2f7){return _0x1b5865>_0xe7a2f7;},'qyjzu':_0x4de12a(0x1c1),'xWNLJ':function(_0x4d57e2,_0x1a3404){return _0x4d57e2(_0x1a3404);}};await this[_0x4de12a(0x1cf)](),this[_0x4de12a(0x18f)](_0x2cc2c9['vlhzd']);while(_0x2cc2c9[_0x4de12a(0x1b0)](this[_0x4de12a(0x1a8)][_0x4de12a(0x1ef)],0x0)){const _0x47bc7d=this[_0x4de12a(0x1a8)][_0x4de12a(0x1ab)](0x0,BATCH_SIZE);this[_0x4de12a(0x1a8)][_0x4de12a(0x1e3)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x4de12a(0x1d9)],_0x2cc2c9[_0x4de12a(0x1e7)],_0x47bc7d);}_0x2cc2c9['ReQkN'](this[_0x4de12a(0x1d3)],0x0)&&_0x2cc2c9[_0x4de12a(0x1ad)](debug,_0x4de12a(0x1ea)+this[_0x4de12a(0x1d3)]);};[a85_0x104d6(0x199)]=async(_0x5bc3e2,_0x47a53a,_0x2af64c)=>{const _0x5e07fe=a85_0x104d6,_0x27cb70={'kGoJA':function(_0x184bdc,_0x12057e){return _0x184bdc(_0x12057e);},'Ieogs':_0x5e07fe(0x1b8),'KrCcp':function(_0x515cdf){return _0x515cdf();},'pXvjA':function(_0x22f7f6,_0xc3ca70,_0x1615d1,_0x19614e,_0x50c075){return _0x22f7f6(_0xc3ca70,_0x1615d1,_0x19614e,_0x50c075);},'JbjCd':_0x5e07fe(0x1da),'QKKKo':function(_0x18e659,_0x4e132f){return _0x18e659-_0x4e132f;}};let _0x187434='';try{_0x187434=_0x2af64c[_0x5e07fe(0x1df)](_0x3d2392=>'\x27'+_0x3d2392[_0x5e07fe(0x1a7)]+'\x27:'+(nestedKeyValue(_0x3d2392,[_0x5e07fe(0x193),_0x5e07fe(0x1d5)])||nestedKeyValue(_0x3d2392,[_0x5e07fe(0x19a),_0x5e07fe(0x1d5)])))[_0x5e07fe(0x1dc)](','),_0x27cb70[_0x5e07fe(0x1bb)](debug,_0x5e07fe(0x1c8)+_0x47a53a+_0x5e07fe(0x18c)+Buffer[_0x5e07fe(0x1c7)](util['format']('%j',_0x2af64c),_0x27cb70[_0x5e07fe(0x1a4)])+_0x5e07fe(0x1e8)+_0x187434);}catch(_0x1b218e){_0x27cb70[_0x5e07fe(0x1bb)](debug,_0x5e07fe(0x18e)+util[_0x5e07fe(0x1c5)](_0x1b218e)+'}');}const _0x4f5e10={'headers':_0x27cb70['KrCcp'](getDefaultHeaders)};try{const _0x323dfe=await _0x27cb70['pXvjA'](nodeRequest,_0x27cb70[_0x5e07fe(0x198)],_0x5bc3e2,_0x2af64c,_0x4f5e10);if(_0x323dfe[_0x5e07fe(0x1db)][_0x5e07fe(0x1cd)]){const _0x5d5575={};_0x5d5575[_0x5e07fe(0x1a5)]=_0x323dfe[_0x5e07fe(0x1db)][_0x5e07fe(0x1cd)];throw _0x5d5575;}else _0x27cb70['kGoJA'](debug,_0x47a53a+_0x5e07fe(0x192)+_0x187434+_0x5e07fe(0x1b9)+util[_0x5e07fe(0x1c5)]('%j',_0x323dfe[_0x5e07fe(0x1db)])),this[_0x5e07fe(0x1d3)]=Math['max'](0x0,_0x27cb70['QKKKo'](this['pendingUploads'],_0x2af64c[_0x5e07fe(0x1ef)]));}catch(_0x195541){_0x195541[_0x5e07fe(0x1b6)]?_0x27cb70[_0x5e07fe(0x1bb)](debug,_0x5e07fe(0x1a1)+_0x47a53a+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+_0x195541[_0x5e07fe(0x1b6)][_0x5e07fe(0x1e4)]+'\x20'+_0x195541[_0x5e07fe(0x1b6)][_0x5e07fe(0x1ec)]+'\x20'+util[_0x5e07fe(0x1c5)]('%j',_0x195541[_0x5e07fe(0x1b6)])):_0x27cb70[_0x5e07fe(0x1bb)](debug,_0x5e07fe(0x1a1)+_0x47a53a+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x195541['message']||_0x195541)),this['pendingUploads']=Math[_0x5e07fe(0x1b3)](0x0,_0x27cb70[_0x5e07fe(0x1ac)](this[_0x5e07fe(0x1d3)],_0x2af64c[_0x5e07fe(0x1ef)]));}};[a85_0x104d6(0x1c2)]=()=>{const _0x19618e=a85_0x104d6,_0x52501e={'utrFN':function(_0x5826ed,_0x4b1a18){return _0x5826ed>_0x4b1a18;},'TgEnr':function(_0x789ac5,_0x50bd82){return _0x789ac5(_0x50bd82);},'pHcLU':_0x19618e(0x1af),'vPZob':function(_0x480ab6,_0x3bc91e,_0x2afe36){return _0x480ab6(_0x3bc91e,_0x2afe36);}};this[_0x19618e(0x191)]=_0x52501e[_0x19618e(0x1de)](setInterval,async()=>{const _0x4d462d=_0x19618e;if(_0x52501e[_0x4d462d(0x1e6)](this['queue']['length'],0x0)){_0x52501e[_0x4d462d(0x1d6)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x4d462d(0x1a8)]['length']);const _0x24c14f=this['queue']['slice'](0x0,BATCH_SIZE);this['queue']['splice'](0x0,BATCH_SIZE),await this[_0x4d462d(0x199)](this['eventUrl'],_0x52501e['pHcLU'],_0x24c14f),_0x52501e[_0x4d462d(0x1d6)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x4d462d(0x1a8)]['length']);}},BATCH_INTERVAL);};[a85_0x104d6(0x1ee)]=()=>{const _0x527f76=a85_0x104d6,_0x569316={};_0x569316['HabwS']=_0x527f76(0x1b1);const _0x4885d1=_0x569316;this[_0x527f76(0x18f)](_0x4885d1[_0x527f76(0x1d8)]),this[_0x527f76(0x1c2)]();};['removeEventBatchPolling']=_0x1f26f1=>{const _0x51af1c=a85_0x104d6,_0x368d6b={'eUIbq':function(_0x274984,_0x29a6fc){return _0x274984(_0x29a6fc);},'HRcpK':function(_0x5473b4,_0x1a5193){return _0x5473b4===_0x1a5193;},'HExVB':_0x51af1c(0x1e2)};this[_0x51af1c(0x191)]&&(_0x368d6b[_0x51af1c(0x1bf)](clearInterval,this[_0x51af1c(0x191)]),this[_0x51af1c(0x191)]=null,_0x368d6b['HRcpK'](_0x1f26f1,_0x368d6b['HExVB'])&&(this['started']=![]));};[a85_0x104d6(0x19c)]=()=>{const _0x261f8f=a85_0x104d6,_0xc2f84e={};_0xc2f84e[_0x261f8f(0x1cc)]=function(_0x5c3b87,_0x5c31fe){return _0x5c3b87>=_0x5c31fe;};const _0x4a014d=_0xc2f84e;return _0x4a014d[_0x261f8f(0x1cc)](this[_0x261f8f(0x1a8)]['length'],BATCH_SIZE);};async[a85_0x104d6(0x1cf)](_0x5bd8d0=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x434939=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x1d56f6=a85_0x104d6,_0x346a62={'vEVEv':function(_0x4dbcf6,_0x369eee){return _0x4dbcf6<=_0x369eee;},'HBxsT':function(_0x48d3ed,_0x4ec3eb){return _0x48d3ed(_0x4ec3eb);},'exmSS':function(_0x25de4f,_0x2e0ab6){return _0x25de4f-_0x2e0ab6;}};if(_0x346a62[_0x1d56f6(0x19b)](this[_0x1d56f6(0x1d3)],0x0)||_0x346a62['vEVEv'](_0x5bd8d0,0x0))return;return await _0x346a62[_0x1d56f6(0x1d1)](sleep,_0x434939),this[_0x1d56f6(0x1cf)](_0x346a62[_0x1d56f6(0x18d)](_0x5bd8d0,_0x434939));}}function a85_0x39cf(_0x44eb09,_0x220e5e){const _0xaa3649=a85_0xaa36();return a85_0x39cf=function(_0x39cf84,_0x33f923){_0x39cf84=_0x39cf84-0x18c;let _0x47324c=_0xaa3649[_0x39cf84];return _0x47324c;},a85_0x39cf(_0x44eb09,_0x220e5e);}module['exports']=RequestQueueHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a86_0x230f(_0x336134,_0x2025ca){const _0x17c6c8=a86_0x17c6();return a86_0x230f=function(_0x230f3f,_0x531a93){_0x230f3f=_0x230f3f-0x105;let _0x550a08=_0x17c6c8[_0x230f3f];return _0x550a08;},a86_0x230f(_0x336134,_0x2025ca);}function a86_0x17c6(){const _0x5c1514=['response','toString','64tpLkjD','290hFBMsV','CypPn','requestQueueHandler','basename','jwt','boKtf','SLeKO','EPGpc','test_run','cwd','app','eKQAF','\x20retry\x20runs\x20exceeded','bOfhO','Hook_End_Upload','Bearer\x20','HookRunFinished','event_type','eventUrl','Build\x20creation\x20successful!','message','TestRunFinished','../../helpers/testhub/utils','HookRunStarted','BirEg','ERROR_INVALID_CREDENTIALS','aRJdb','ORVbc','BS_TESTOPS_BUILD_HASHED_ID','Log_Upload','JgsVP','rExBl','GYLOb','LybbZ','max','clMjt','ERROR_SDK_DEPRECATED','BS_TESTOPS_BUILD_COMPLETED','./utils','RRidw','add','ZhpHg','hook_run','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','sfiBC','tfAyc','YjLLZ','rjCMA','username','getGitMetaData','zyVRh','BROWSERSTACK_TESTHUB_JWT','GwfMZ','bASBi','uuid','AFICA','ucrDj','BROWSERSTACK_TESTHUB_UUID','gcTPk','DTMQp','buildName','BS_TESTOPS_ALLOW_SCREENSHOTS','SXkXH','azNSa','Test_Start_Upload','BROWSERSTACK_RERUN','gIOne','error','getUserName','api/v1/builds','1499192OgXviK','1098384aeCJBM','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','pendingUploads','true','application/json','exports','mzRAi','3938592uGjtNI','CBT_Upload','winstonLogger','opJon','projectName','getInstance','NniCs','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','yMEJM','KWwDe','OLhxi','null','eVjaZ','password','TestRunSkipped','Retry\x20runs\x20exceeded','pPYvt','LogCreated','json','EXCEPTION\x20IN\x20','CKwso','../logger','includes','path','CAxaL','CBTSessionCreated','NGeMK','sBruB','BROWSERSTACK_BUILD_RUN_IDENTIFIER','headers','env','300590dXdLNx','vYMKZ','getHostInfo','oSJQq','info','getAgentVersion','allow_screenshots','nIaVB','2214iAQijs','DogXZ','buildIdentifier','jYYyz','frameworkVersion','BS_TESTOPS_JWT','nestedKeyValue','POST','uploadEventData','IaUNy','buildDescription','FMNsq','RmkEN','Test_End_Upload','./constants','fwBXQ','Authorization','data','1412739OXCGWm','pvEFW','X-BSTACK-TESTOPS','errorType','nkArQ','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','GRbtC','EQtea','status','stringify','statusText','TestRunStarted','browserstackAutomation','../helper','IuVMa','uNBcl','start','aZaWv','2042103TvhKyg','Processing\x20event\x20-\x20\x27','Test_Skipped_Upload','api/v1/event','kpAxl','false','frameworkName','build_hashed_id','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed'];a86_0x17c6=function(){return _0x5c1514;};return a86_0x17c6();}const a86_0x3f48a2=a86_0x230f;(function(_0x19f170,_0x81ffb8){const _0x3bc7fb=a86_0x230f,_0x2252b0=_0x19f170();while(!![]){try{const _0x26425c=parseInt(_0x3bc7fb(0x144))/0x1*(parseInt(_0x3bc7fb(0x114))/0x2)+-parseInt(_0x3bc7fb(0x138))/0x3+parseInt(_0x3bc7fb(0x18a))/0x4+-parseInt(_0x3bc7fb(0x10c))/0x5+-parseInt(_0x3bc7fb(0x192))/0x6+-parseInt(_0x3bc7fb(0x18b))/0x7+-parseInt(_0x3bc7fb(0x143))/0x8*(-parseInt(_0x3bc7fb(0x126))/0x9);if(_0x26425c===_0x81ffb8)break;else _0x2252b0['push'](_0x2252b0['shift']());}catch(_0x1ebbcc){_0x2252b0['push'](_0x2252b0['shift']());}}}(a86_0x17c6,0x61079));const bsSetupHelper=require(a86_0x3f48a2(0x133)),path=require(a86_0x3f48a2(0x1a9)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x3f48a2(0x16a)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x3f48a2(0x122)),RequestQueueHandler=require('./requestQueueHandler'),logger=require(a86_0x3f48a2(0x1a7))[a86_0x3f48a2(0x194)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x3f48a2(0x15a));class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a86_0x3f48a2(0x197)]();static async['launch'](_0xfc1860,_0x43426a){const _0x238c4e=a86_0x3f48a2,_0x206680={'rjCMA':function(_0x4440c2,_0x4c26b4){return _0x4440c2||_0x4c26b4;},'eVjaZ':function(_0x2f5d27,_0x982629){return _0x2f5d27===_0x982629;},'JgsVP':function(_0x564fde,_0x2b0cda){return _0x564fde(_0x2b0cda);},'mzRAi':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','GRbtC':'false','jndOZ':_0x238c4e(0x1a4),'OLhxi':function(_0x5b1fc5,_0x8c99d2){return _0x5b1fc5(_0x8c99d2);},'zyVRh':function(_0x5082f5,_0x15a095){return _0x5082f5(_0x15a095);},'PhkuU':function(_0x4fe99d,_0x56f80f,_0x11c033,_0x29aae4,_0x42fc26){return _0x4fe99d(_0x56f80f,_0x11c033,_0x29aae4,_0x42fc26);},'CypPn':'POST','yMEJM':_0x238c4e(0x189),'fwBXQ':_0x238c4e(0x157),'FMNsq':function(_0x4c77f9){return _0x4c77f9();},'vYMKZ':_0x238c4e(0x18e),'ucrDj':'null','pvEFW':function(_0x41163d,_0x36d3cb){return _0x41163d(_0x36d3cb);},'IaUNy':_0x238c4e(0x15d),'ORVbc':'ERROR_ACCESS_DENIED','LybbZ':_0x238c4e(0x168)},_0x16a14c=bsSetupHelper[_0x238c4e(0x188)](_0xfc1860),_0x500d1b=bsSetupHelper['getAccessKey'](_0xfc1860),_0x559589=_0x206680[_0x238c4e(0x173)](_0x16a14c,'')+':'+_0x206680['rjCMA'](_0x500d1b,'');if(_0x206680[_0x238c4e(0x19e)](_0x559589,':'))return _0x206680[_0x238c4e(0x162)](debug,_0x206680[_0x238c4e(0x191)]),process['env'][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x12c)],[null,null];let _0x313892=![],_0x5755dd=![];if(_0xfc1860['browserstackAutomation']&&_0xfc1860[_0x238c4e(0x14e)])_0x5755dd=!![];else _0xfc1860[_0x238c4e(0x132)]&&(_0x313892=!![]);try{const _0x3875a7={'format':_0x206680['jndOZ'],'project_name':_0xfc1860[_0x238c4e(0x196)]||'','name':_0xfc1860[_0x238c4e(0x180)]||path[_0x238c4e(0x147)](path['resolve'](process[_0x238c4e(0x14d)]())),'build_identifier':_0xfc1860[_0x238c4e(0x116)],'description':_0xfc1860[_0x238c4e(0x11e)]||'','start_time':new Date()['toISOString'](),'tags':_0x206680[_0x238c4e(0x19c)](getCustomTags,_0xfc1860),'host_info':bsSetupHelper[_0x238c4e(0x10e)](),'ci_info':bsSetupHelper['getCiInfo'](),'build_run_identifier':process[_0x238c4e(0x10b)][_0x238c4e(0x109)],'failed_tests_rerun':process[_0x238c4e(0x10b)][_0x238c4e(0x185)]||![],'version_control':await bsSetupHelper[_0x238c4e(0x175)](),'observability_version':{'frameworkName':_0x43426a[_0x238c4e(0x13e)],'frameworkVersion':_0x43426a[_0x238c4e(0x118)],'sdkVersion':bsSetupHelper[_0x238c4e(0x111)]()},'product_map':_0x206680[_0x238c4e(0x162)](getProductMap,_0xfc1860)},_0x382c89={};_0x382c89[_0x238c4e(0x174)]=_0x16a14c,_0x382c89[_0x238c4e(0x19f)]=_0x500d1b;const _0x50f12f={'auth':_0x382c89,'headers':_0x206680[_0x238c4e(0x176)](getDefaultHeaders,![])},_0x2989f5=await _0x206680['PhkuU'](nodeRequest,_0x206680[_0x238c4e(0x145)],_0x206680[_0x238c4e(0x19a)],_0x3875a7,_0x50f12f);_0x206680[_0x238c4e(0x176)](debug,_0x206680[_0x238c4e(0x123)]);const _0xcb33b3=_0x2989f5[_0x238c4e(0x125)];_0xcb33b3[_0x238c4e(0x13f)]&&(process[_0x238c4e(0x10b)][_0x238c4e(0x17d)]=_0xcb33b3[_0x238c4e(0x13f)]);if(_0x206680[_0x238c4e(0x11f)](isTestObservabilitySession)){process['env'][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x10d)];if(_0xcb33b3[_0x238c4e(0x148)]){process[_0x238c4e(0x10b)][_0x238c4e(0x119)]=_0xcb33b3['jwt'];const _0x280450={};_0x280450[_0x238c4e(0x174)]=_0x16a14c,_0x280450[_0x238c4e(0x19f)]=_0x500d1b,process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x238c4e(0x12f)](_0x280450);}_0xcb33b3[_0x238c4e(0x13f)]&&(process[_0x238c4e(0x10b)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xcb33b3[_0x238c4e(0x13f)]),_0xcb33b3[_0x238c4e(0x112)]&&(process[_0x238c4e(0x10b)][_0x238c4e(0x181)]=_0xcb33b3[_0x238c4e(0x112)][_0x238c4e(0x142)]());}return[_0x2989f5[_0x238c4e(0x125)][_0x238c4e(0x148)],_0x2989f5[_0x238c4e(0x125)]['build_hashed_id'],_0x2989f5[_0x238c4e(0x125)][_0x238c4e(0x112)]];}catch(_0x3e002b){process['env'][_0x238c4e(0x17d)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x12c)],process[_0x238c4e(0x10b)][_0x238c4e(0x119)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x160)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x181)]=_0x206680[_0x238c4e(0x17c)];_0x3e002b['response']?_0x206680[_0x238c4e(0x127)](debug,_0x238c4e(0x16f)+_0x3e002b[_0x238c4e(0x141)]['status']+'\x20'+_0x3e002b[_0x238c4e(0x141)]['statusText']+'\x20'+JSON[_0x238c4e(0x12f)](_0x3e002b[_0x238c4e(0x141)]['data'])):_0x206680[_0x238c4e(0x162)](debug,_0x238c4e(0x16f)+(_0x3e002b[_0x238c4e(0x158)]||_0x3e002b));if(_0x3e002b&&_0x3e002b['message']){const _0x108ccb=_0x3e002b['message'];switch(_0x3e002b[_0x238c4e(0x129)]){case _0x206680[_0x238c4e(0x11d)]:logger[_0x238c4e(0x187)](_0x108ccb);break;case _0x206680[_0x238c4e(0x15f)]:logger[_0x238c4e(0x110)](_0x108ccb);break;case _0x206680[_0x238c4e(0x165)]:logger['error'](_0x108ccb);break;default:logger[_0x238c4e(0x187)](_0x108ccb);}}else console[_0x238c4e(0x110)]('Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20'+_0x3e002b);return[null,null,null];}}static async['waitForBuildStatus'](){const _0x1a273a=a86_0x3f48a2,_0x36aa05={'oSJQq':_0x1a273a(0x18e),'BirEg':_0x1a273a(0x13d),'SXkXH':function(_0x3f3aca,_0x36661c){return _0x3f3aca(_0x36661c);}},_0x6af207=process[_0x1a273a(0x10b)][_0x1a273a(0x169)];if([_0x36aa05[_0x1a273a(0x10f)],_0x36aa05[_0x1a273a(0x15c)]][_0x1a273a(0x1a8)](_0x6af207))return;while([_0x36aa05[_0x1a273a(0x10f)],_0x36aa05['BirEg']]['includes'](_0x6af207)){await _0x36aa05[_0x1a273a(0x182)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async[a86_0x3f48a2(0x11c)](_0x20fe53,_0x1dad62=0x0){const _0x2f68ac=a86_0x3f48a2,_0x146084={'opJon':function(_0x50c8b4,_0x1f4ee2){return _0x50c8b4+_0x1f4ee2;},'NGeMK':_0x2f68ac(0x184),'bOfhO':_0x2f68ac(0x121),'AFICA':_0x2f68ac(0x13a),'RmkEN':_0x2f68ac(0x161),'EQtea':'Hook_Start_Upload','boKtf':_0x2f68ac(0x152),'sBruB':_0x2f68ac(0x193),'GYLOb':function(_0x527f63,_0x572592){return _0x527f63(_0x572592);},'ZhpHg':_0x2f68ac(0x14c),'RRidw':_0x2f68ac(0x17a),'CAxaL':_0x2f68ac(0x16e),'kpAxl':function(_0x444f40,_0x4acce0,_0x4ff7a0){return _0x444f40(_0x4acce0,_0x4ff7a0);},'NniCs':_0x2f68ac(0x11c),'gIOne':function(_0x2f8a0b,_0x4d3feb){return _0x2f8a0b===_0x4d3feb;},'gcTPk':function(_0x9ed2b8,_0x51ba3d){return _0x9ed2b8!==_0x51ba3d;},'sfiBC':_0x2f68ac(0x19d),'IuVMa':function(_0x3b239a,_0x943b02){return _0x3b239a===_0x943b02;},'aRJdb':_0x2f68ac(0x18e),'ktiIX':function(_0x1ff960){return _0x1ff960();},'aZaWv':function(_0x249d27,_0x1476b7){return _0x249d27(_0x1476b7);},'pPYvt':function(_0x5eaf8d,_0x54b4d8){return _0x5eaf8d-_0x54b4d8;},'DTMQp':_0x2f68ac(0x187),'bASBi':_0x2f68ac(0x140),'eKQAF':_0x2f68ac(0x18f),'kdhZj':function(_0x24d2b6,_0x5b726a,_0x20b049,_0x1cb631,_0x3563c1){return _0x24d2b6(_0x5b726a,_0x20b049,_0x1cb631,_0x3563c1);},'KWwDe':_0x2f68ac(0x11b),'clMjt':function(_0x32e9dd,_0xc4715b){return _0x32e9dd(_0xc4715b);},'CKwso':function(_0x296418,_0x1298bf){return _0x296418!==_0x1298bf;},'rExBl':'Batch-Queue','uNBcl':_0x2f68ac(0x13b),'EPGpc':'success','tfAyc':function(_0x42c88d,_0x423930){return _0x42c88d(_0x423930);},'YjLLZ':function(_0x37f3f1,_0x59a5ba){return _0x37f3f1!==_0x59a5ba;},'jYYyz':function(_0x45bf98,_0x168091){return _0x45bf98!==_0x168091;},'nkArQ':function(_0x23ef34,_0x26fd4c){return _0x23ef34-_0x26fd4c;},'azNSa':function(_0x5bdd2b,_0x4b8541){return _0x5bdd2b>=_0x4b8541;},'DogXZ':function(_0x1f9cc1,_0x214f9c){return _0x1f9cc1-_0x214f9c;},'GAbcb':_0x2f68ac(0x1a1),'SLeKO':function(_0x4de217,_0x46342e){return _0x4de217!==_0x46342e;},'nIaVB':_0x2f68ac(0x13d),'GwfMZ':function(_0x204aa4,_0x4265d0,_0x1fe26f){return _0x204aa4(_0x4265d0,_0x1fe26f);}},_0x4bbc17={};_0x4bbc17[_0x2f68ac(0x131)]=_0x146084[_0x2f68ac(0x107)],_0x4bbc17[_0x2f68ac(0x159)]=_0x146084[_0x2f68ac(0x151)],_0x4bbc17[_0x2f68ac(0x1a0)]=_0x146084[_0x2f68ac(0x17b)],_0x4bbc17[_0x2f68ac(0x1a3)]=_0x146084[_0x2f68ac(0x120)],_0x4bbc17[_0x2f68ac(0x15b)]=_0x146084[_0x2f68ac(0x12d)],_0x4bbc17[_0x2f68ac(0x154)]=_0x146084[_0x2f68ac(0x149)],_0x4bbc17[_0x2f68ac(0x106)]=_0x146084[_0x2f68ac(0x108)];const _0x3ce030=_0x4bbc17[_0x20fe53['event_type']];_0x146084[_0x2f68ac(0x164)](trace,_0x2f68ac(0x139)+_0x20fe53[_0x2f68ac(0x155)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x20fe53,[_0x146084[_0x2f68ac(0x16d)],_0x146084['RRidw']])||bsSetupHelper[_0x2f68ac(0x11a)](_0x20fe53,[_0x146084[_0x2f68ac(0x105)],_0x146084[_0x2f68ac(0x16b)]])));if(!_0x146084[_0x2f68ac(0x13c)](shouldProcessEventForTesthub,_0x20fe53[_0x2f68ac(0x155)],_0x146084[_0x2f68ac(0x198)]))return;_0x146084[_0x2f68ac(0x186)](_0x1dad62,0x0)&&process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)]&&_0x146084[_0x2f68ac(0x17e)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0x146084[_0x2f68ac(0x170)])&&(this['requestQueueHandler'][_0x2f68ac(0x18d)]+=0x1);if(_0x146084[_0x2f68ac(0x134)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x169)],_0x146084[_0x2f68ac(0x15e)])||process[_0x2f68ac(0x10b)]['BS_A11Y_JWT']||_0x146084['ktiIX'](isPercyBuild)){if(_0x146084['gIOne'](process['env'][_0x2f68ac(0x177)],_0x146084[_0x2f68ac(0x170)])){_0x146084[_0x2f68ac(0x137)](debug,_0x2f68ac(0x1a5)+_0x3ce030+_0x2f68ac(0x18c)),this[_0x2f68ac(0x146)]['pendingUploads']=Math['max'](0x0,_0x146084['pPYvt'](this['requestQueueHandler'][_0x2f68ac(0x18d)],0x1));const _0x2c18a1={};return _0x2c18a1['status']=_0x146084['DTMQp'],_0x2c18a1[_0x2f68ac(0x158)]=_0x146084[_0x2f68ac(0x179)],_0x2c18a1;}let _0x42c08b=_0x20fe53,_0x24b1b8=EVENT_ENDPOINT;this['requestQueueHandler'][_0x2f68ac(0x136)]();const {shouldProceed:_0x3aae59,proceedWithData:_0x122b97,proceedWithUrl:_0x2af66}=this[_0x2f68ac(0x146)][_0x2f68ac(0x16c)](_0x20fe53);if(!_0x3aae59)return;else _0x122b97&&(_0x42c08b=_0x122b97,_0x24b1b8=_0x2af66);const _0xdb6a24={};_0xdb6a24[_0x2f68ac(0x124)]=_0x2f68ac(0x153)+process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0xdb6a24['Content-Type']=_0x146084[_0x2f68ac(0x14f)],_0xdb6a24[_0x2f68ac(0x128)]=_0x146084[_0x2f68ac(0x15e)];const _0x559bfc={};_0x559bfc[_0x2f68ac(0x10a)]=_0xdb6a24;const _0x220f87=_0x559bfc;try{const _0x51053c=await _0x146084['kdhZj'](nodeRequest,_0x146084[_0x2f68ac(0x19b)],_0x24b1b8,_0x42c08b,_0x220f87);if(_0x51053c[_0x2f68ac(0x125)][_0x2f68ac(0x187)]){const _0x39d922={};_0x39d922[_0x2f68ac(0x158)]=_0x51053c[_0x2f68ac(0x125)][_0x2f68ac(0x187)];throw _0x39d922;}else{_0x146084[_0x2f68ac(0x167)](debug,(_0x146084[_0x2f68ac(0x1a6)](_0x24b1b8,this[_0x2f68ac(0x146)][_0x2f68ac(0x156)])?_0x3ce030:_0x146084[_0x2f68ac(0x163)])+'['+_0x1dad62+']\x20event\x20successful!'),this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)]=Math[_0x2f68ac(0x166)](0x0,_0x146084[_0x2f68ac(0x1a2)](this[_0x2f68ac(0x146)]['pendingUploads'],_0x146084['IuVMa'](_0x24b1b8,_0x146084[_0x2f68ac(0x135)])?0x1:_0x42c08b['length']));const _0x1f485d={};return _0x1f485d[_0x2f68ac(0x12e)]=_0x146084[_0x2f68ac(0x14b)],_0x1f485d[_0x2f68ac(0x158)]='',_0x1f485d;}}catch(_0x4714e1){_0x4714e1[_0x2f68ac(0x141)]?_0x146084[_0x2f68ac(0x171)](debug,_0x2f68ac(0x1a5)+(_0x146084[_0x2f68ac(0x172)](_0x24b1b8,this[_0x2f68ac(0x146)]['eventUrl'])?_0x3ce030:_0x146084[_0x2f68ac(0x163)])+_0x2f68ac(0x12b)+_0x4714e1['response']['status']+'\x20'+_0x4714e1[_0x2f68ac(0x141)][_0x2f68ac(0x130)]+'\x20'+JSON[_0x2f68ac(0x12f)](_0x4714e1[_0x2f68ac(0x141)][_0x2f68ac(0x125)])):_0x146084[_0x2f68ac(0x167)](debug,'EXCEPTION\x20IN\x20'+(_0x146084[_0x2f68ac(0x117)](_0x24b1b8,this[_0x2f68ac(0x146)][_0x2f68ac(0x156)])?_0x3ce030:_0x146084['rExBl'])+_0x2f68ac(0x12b)+(_0x4714e1[_0x2f68ac(0x158)]||_0x4714e1));this['requestQueueHandler'][_0x2f68ac(0x18d)]=Math['max'](0x0,_0x146084[_0x2f68ac(0x12a)](this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)],_0x146084[_0x2f68ac(0x134)](_0x24b1b8,_0x146084[_0x2f68ac(0x135)])?0x1:_0x42c08b['length']));const _0x7b5e14={};return _0x7b5e14[_0x2f68ac(0x12e)]=_0x146084[_0x2f68ac(0x17f)],_0x7b5e14[_0x2f68ac(0x158)]=_0x4714e1['message']||(_0x4714e1[_0x2f68ac(0x141)]?_0x4714e1['response'][_0x2f68ac(0x12e)]+':'+_0x4714e1[_0x2f68ac(0x141)]['statusText']:_0x4714e1),_0x7b5e14;}}else{if(_0x146084[_0x2f68ac(0x183)](_0x1dad62,0x5)){_0x146084[_0x2f68ac(0x164)](debug,_0x2f68ac(0x1a5)+_0x3ce030+_0x2f68ac(0x199)+_0x3ce030+_0x2f68ac(0x150));_0x146084['jYYyz'](process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0x146084['sfiBC'])&&(this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)]=Math[_0x2f68ac(0x166)](0x0,_0x146084[_0x2f68ac(0x115)](this['requestQueueHandler'][_0x2f68ac(0x18d)],0x1)));const _0x314215={};return _0x314215[_0x2f68ac(0x12e)]=_0x146084['DTMQp'],_0x314215[_0x2f68ac(0x158)]=_0x146084['GAbcb'],_0x314215;}else _0x146084[_0x2f68ac(0x14a)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x169)],_0x146084[_0x2f68ac(0x113)])&&_0x146084[_0x2f68ac(0x178)](setTimeout,()=>{const _0x109434=_0x2f68ac;this[_0x109434(0x11c)](_0x20fe53,_0x146084[_0x109434(0x195)](_0x1dad62,0x1));},0x3e8);}}}module[a86_0x3f48a2(0x190)]=SessionHandler;
|
|
1
|
+
const a86_0x58d831=a86_0x570a;(function(_0x18d29f,_0x1d592d){const _0x56d6c7=a86_0x570a,_0x5c5215=_0x18d29f();while(!![]){try{const _0x2e88dd=parseInt(_0x56d6c7(0x1ca))/0x1+parseInt(_0x56d6c7(0x1c3))/0x2*(-parseInt(_0x56d6c7(0x1ae))/0x3)+parseInt(_0x56d6c7(0x165))/0x4+-parseInt(_0x56d6c7(0x1d4))/0x5+-parseInt(_0x56d6c7(0x1b9))/0x6+parseInt(_0x56d6c7(0x1e8))/0x7+parseInt(_0x56d6c7(0x1cd))/0x8;if(_0x2e88dd===_0x1d592d)break;else _0x5c5215['push'](_0x5c5215['shift']());}catch(_0xf61788){_0x5c5215['push'](_0x5c5215['shift']());}}}(a86_0x5969,0xf32dc));const bsSetupHelper=require(a86_0x58d831(0x1d5)),path=require('path'),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require('./utils'),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x58d831(0x168)),RequestQueueHandler=require('./requestQueueHandler'),logger=require('../logger')[a86_0x58d831(0x17a)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x58d831(0x1b7));function a86_0x5969(){const _0x30f65a=['bZhzL','cnkzr','api/v1/builds','HookRunStarted','\x20retry\x20runs\x20exceeded','12863949YvSUjS','tAVoD','launch','QbILR','POST','UderK','info','IyGEm','application/json','Hook_Start_Upload','BS_A11Y_JWT','test_run','projectName','api/v1/event','add','app','buildDescription','FzOnl','VYqDZ','error','4441720PfJVZU','Bearer\x20','iIPtk','./constants','stringify','gJIOa','RKjhd','jsYDk','JxmFj','NORFK','false','uploadEventData','vqEdK','hFjcb','ERROR_ACCESS_DENIED','getCiInfo','Processing\x20event\x20-\x20\x27','OuINK','env','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','hook_run','winstonLogger','Batch-Queue','fKiUD','getUserName','Build\x20creation\x20successful!','X-BSTACK-TESTOPS','BS_TESTOPS_BUILD_HASHED_ID','allow_screenshots','ERROR_SDK_DEPRECATED','statusText','build_hashed_id','length','BROWSERSTACK_TESTHUB_JWT','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','json','PqWYP','includes','EXCEPTION\x20IN\x20','frameworkName','GJZEK','CBTSessionCreated','CREDENTIALS_FOR_CRASH_REPORTING','lyVgU','fjTPU','Test_Start_Upload','FIZAA','resolve','ZCuZr','eQGvx','MLtiz','TestRunStarted','eXAIC','CBT_Upload','FKGLE','eventUrl','EDQPl',']\x20event\x20successful!','HlIXJ','browserstackAutomation','username','cZUzp','requestQueueHandler','getHostInfo','BROWSERSTACK_TESTHUB_UUID','xhPss','password','headers','event_type','vOvLW','BROWSERSTACK_RERUN','success','910419JVcGGT','cwd','true','hfAyO','TestRunSkipped','ERROR_INVALID_CREDENTIALS','BS_TESTOPS_ALLOW_SCREENSHOTS','dCKGQ','TxWOZ','../../helpers/testhub/utils','jwt','909180lKPUTS','XJTKF','response','status','max','BS_TESTOPS_JWT','start','toISOString','cgcgh','UVEZT','8SeGPtv','zyyvP','cIUmu','DfktW','vLsmR','GoQqc','uAKGi','35601ZVDNJv','buildName','Content-Type','9221200BbmeLW','Authorization','Test_Skipped_Upload','data','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','message','HneUO','8874530QYpBlw','../helper','Hook_End_Upload','nestedKeyValue','BS_TESTOPS_BUILD_COMPLETED','errorType','Retry\x20runs\x20exceeded','pendingUploads','BROWSERSTACK_BUILD_RUN_IDENTIFIER','bEKfe','exports','ZbqAK','getAccessKey','getAgentVersion','HookRunFinished'];a86_0x5969=function(){return _0x30f65a;};return a86_0x5969();}function a86_0x570a(_0x2ac5d5,_0x3d6eee){const _0x596920=a86_0x5969();return a86_0x570a=function(_0x570ac2,_0x5f5c79){_0x570ac2=_0x570ac2-0x15c;let _0x2e77f8=_0x596920[_0x570ac2];return _0x2e77f8;},a86_0x570a(_0x2ac5d5,_0x3d6eee);}class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler['getInstance']();static async[a86_0x58d831(0x1ea)](_0xbb589d,_0x7335ce){const _0x489a93=a86_0x58d831,_0x9ece8c={'zyyvP':function(_0x41afdc,_0x171eea){return _0x41afdc||_0x171eea;},'gJIOa':function(_0xaf7bf4,_0x2dbe45){return _0xaf7bf4||_0x2dbe45;},'DfktW':function(_0x28d434,_0x43dc41){return _0x28d434===_0x43dc41;},'vOvLW':function(_0x59b485,_0xc0d9ff){return _0x59b485(_0xc0d9ff);},'iIPtk':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','cgcgh':_0x489a93(0x16f),'FIZAA':_0x489a93(0x189),'UderK':function(_0x3c4e4a,_0x2926dc,_0x4163fe,_0x140af8,_0x3fd7e5){return _0x3c4e4a(_0x2926dc,_0x4163fe,_0x140af8,_0x3fd7e5);},'dCKGQ':_0x489a93(0x1ec),'RTGgl':_0x489a93(0x1e5),'tAVoD':_0x489a93(0x17e),'QVWlu':function(_0x1202df){return _0x1202df();},'xhPss':_0x489a93(0x1b0),'IyGEm':'null','RKjhd':function(_0xa88bc7,_0x360eb1){return _0xa88bc7(_0x360eb1);},'GoQqc':_0x489a93(0x1b3),'rISFt':_0x489a93(0x173),'zzJuv':_0x489a93(0x182)},_0xd2bdbf=bsSetupHelper[_0x489a93(0x17d)](_0xbb589d),_0x5726ac=bsSetupHelper[_0x489a93(0x1e0)](_0xbb589d),_0x1e2230=_0x9ece8c[_0x489a93(0x1c4)](_0xd2bdbf,'')+':'+_0x9ece8c[_0x489a93(0x16a)](_0x5726ac,'');if(_0x9ece8c[_0x489a93(0x1c6)](_0x1e2230,':'))return _0x9ece8c[_0x489a93(0x1ab)](debug,_0x9ece8c[_0x489a93(0x167)]),process[_0x489a93(0x177)][_0x489a93(0x1d8)]=_0x9ece8c[_0x489a93(0x1c1)],[null,null];let _0x3daca4=![],_0x12e231=![];if(_0xbb589d['browserstackAutomation']&&_0xbb589d[_0x489a93(0x160)])_0x12e231=!![];else _0xbb589d[_0x489a93(0x1a1)]&&(_0x3daca4=!![]);try{const _0xe6c10f={'format':_0x9ece8c[_0x489a93(0x194)],'project_name':_0xbb589d[_0x489a93(0x15d)]||'','name':_0xbb589d[_0x489a93(0x1cb)]||path['basename'](path[_0x489a93(0x195)](process[_0x489a93(0x1af)]())),'build_identifier':_0xbb589d['buildIdentifier'],'description':_0xbb589d[_0x489a93(0x161)]||'','start_time':new Date()[_0x489a93(0x1c0)](),'tags':_0x9ece8c['vOvLW'](getCustomTags,_0xbb589d),'host_info':bsSetupHelper[_0x489a93(0x1a5)](),'ci_info':bsSetupHelper[_0x489a93(0x174)](),'build_run_identifier':process[_0x489a93(0x177)][_0x489a93(0x1dc)],'failed_tests_rerun':process['env'][_0x489a93(0x1ac)]||![],'version_control':await bsSetupHelper['getGitMetaData'](),'observability_version':{'frameworkName':_0x7335ce[_0x489a93(0x18d)],'frameworkVersion':_0x7335ce['frameworkVersion'],'sdkVersion':bsSetupHelper[_0x489a93(0x1e1)]()},'product_map':_0x9ece8c[_0x489a93(0x1ab)](getProductMap,_0xbb589d)},_0x7f6dfb={};_0x7f6dfb['username']=_0xd2bdbf,_0x7f6dfb[_0x489a93(0x1a8)]=_0x5726ac;const _0x196a1d={'auth':_0x7f6dfb,'headers':_0x9ece8c[_0x489a93(0x1ab)](getDefaultHeaders,![])},_0x52fd6c=await _0x9ece8c[_0x489a93(0x1ed)](nodeRequest,_0x9ece8c[_0x489a93(0x1b5)],_0x9ece8c['RTGgl'],_0xe6c10f,_0x196a1d);_0x9ece8c['vOvLW'](debug,_0x9ece8c[_0x489a93(0x1e9)]);const _0x158447=_0x52fd6c[_0x489a93(0x1d0)];_0x158447[_0x489a93(0x184)]&&(process[_0x489a93(0x177)][_0x489a93(0x1a6)]=_0x158447['build_hashed_id']);if(_0x9ece8c['QVWlu'](isTestObservabilitySession)){process[_0x489a93(0x177)]['BS_TESTOPS_BUILD_COMPLETED']=_0x9ece8c[_0x489a93(0x1a7)];if(_0x158447[_0x489a93(0x1b8)]){process[_0x489a93(0x177)]['BS_TESTOPS_JWT']=_0x158447[_0x489a93(0x1b8)];const _0x2ac646={};_0x2ac646[_0x489a93(0x1a2)]=_0xd2bdbf,_0x2ac646[_0x489a93(0x1a8)]=_0x5726ac,process[_0x489a93(0x177)][_0x489a93(0x190)]=JSON[_0x489a93(0x169)](_0x2ac646);}_0x158447['build_hashed_id']&&(process[_0x489a93(0x177)][_0x489a93(0x180)]=_0x158447[_0x489a93(0x184)]),_0x158447[_0x489a93(0x181)]&&(process[_0x489a93(0x177)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x158447[_0x489a93(0x181)]['toString']());}return[_0x52fd6c[_0x489a93(0x1d0)][_0x489a93(0x1b8)],_0x52fd6c['data']['build_hashed_id'],_0x52fd6c['data'][_0x489a93(0x181)]];}catch(_0x4a55e4){process[_0x489a93(0x177)][_0x489a93(0x1a6)]=_0x9ece8c[_0x489a93(0x1ef)],process[_0x489a93(0x177)][_0x489a93(0x1d8)]=_0x9ece8c[_0x489a93(0x1c1)],process[_0x489a93(0x177)][_0x489a93(0x1be)]=_0x9ece8c[_0x489a93(0x1ef)],process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x9ece8c['IyGEm'],process[_0x489a93(0x177)][_0x489a93(0x1b4)]=_0x9ece8c[_0x489a93(0x1ef)];_0x4a55e4[_0x489a93(0x1bb)]?_0x9ece8c['vOvLW'](debug,'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20'+_0x4a55e4[_0x489a93(0x1bb)][_0x489a93(0x1bc)]+'\x20'+_0x4a55e4[_0x489a93(0x1bb)]['statusText']+'\x20'+JSON['stringify'](_0x4a55e4[_0x489a93(0x1bb)][_0x489a93(0x1d0)])):_0x9ece8c[_0x489a93(0x16b)](debug,_0x489a93(0x178)+(_0x4a55e4[_0x489a93(0x1d2)]||_0x4a55e4));if(_0x4a55e4&&_0x4a55e4[_0x489a93(0x1d2)]){const _0x10ed69=_0x4a55e4[_0x489a93(0x1d2)];switch(_0x4a55e4[_0x489a93(0x1d9)]){case _0x9ece8c[_0x489a93(0x1c8)]:logger[_0x489a93(0x164)](_0x10ed69);break;case _0x9ece8c['rISFt']:logger['info'](_0x10ed69);break;case _0x9ece8c['zzJuv']:logger[_0x489a93(0x164)](_0x10ed69);break;default:logger[_0x489a93(0x164)](_0x10ed69);}}else console[_0x489a93(0x1ee)]('Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20'+_0x4a55e4);return[null,null,null];}}static async['waitForBuildStatus'](){const _0x15ebf1=a86_0x58d831,_0x405a05={'eXAIC':_0x15ebf1(0x1b0),'EdsCY':'false','qMGop':function(_0x48c69c,_0x3dc416){return _0x48c69c(_0x3dc416);}},_0x21342a=process[_0x15ebf1(0x177)][_0x15ebf1(0x1d8)];if([_0x405a05[_0x15ebf1(0x19a)],_0x405a05['EdsCY']][_0x15ebf1(0x18b)](_0x21342a))return;while([_0x405a05[_0x15ebf1(0x19a)],_0x405a05['EdsCY']]['includes'](_0x21342a)){await _0x405a05['qMGop'](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async[a86_0x58d831(0x170)](_0x44a1cd,_0x122853=0x0){const _0x22f688=a86_0x58d831,_0x140970={'cnkzr':function(_0x24dac1,_0x24f841){return _0x24dac1+_0x24f841;},'GJZEK':_0x22f688(0x193),'cZUzp':'Test_End_Upload','vqEdK':_0x22f688(0x1cf),'cIUmu':'Log_Upload','HlIXJ':_0x22f688(0x1f1),'vLsmR':_0x22f688(0x1d6),'EDQPl':_0x22f688(0x19b),'UVEZT':function(_0x463779,_0x4a2bf1){return _0x463779(_0x4a2bf1);},'hCVUU':_0x22f688(0x15c),'QbILR':'uuid','vVdAT':_0x22f688(0x179),'bZhzL':function(_0x55ec37,_0x3f4dca,_0x3aa4e4){return _0x55ec37(_0x3f4dca,_0x3aa4e4);},'fKiUD':_0x22f688(0x170),'lyVgU':function(_0x313ac8,_0x44827b){return _0x313ac8===_0x44827b;},'eQGvx':function(_0x3ba615,_0x37a407){return _0x3ba615!==_0x37a407;},'PqWYP':'null','ZCuZr':function(_0x3a53d9,_0x1171a4){return _0x3a53d9===_0x1171a4;},'VYqDZ':_0x22f688(0x1b0),'FKGLE':function(_0x5d2dea){return _0x5d2dea();},'HneUO':function(_0xa73c24,_0x2d7404){return _0xa73c24(_0x2d7404);},'FzOnl':function(_0x5f74e9,_0x3512c1){return _0x5f74e9-_0x3512c1;},'OuINK':_0x22f688(0x164),'uAKGi':_0x22f688(0x188),'WLsfu':_0x22f688(0x1f0),'fjTPU':function(_0x2ee45c,_0x1f27a6,_0x4b57dc,_0x5523d8,_0x288602){return _0x2ee45c(_0x1f27a6,_0x4b57dc,_0x5523d8,_0x288602);},'JxmFj':_0x22f688(0x1ec),'hFjcb':function(_0x560baa,_0x128adb){return _0x560baa(_0x128adb);},'hfAyO':_0x22f688(0x17b),'IdjeJ':function(_0x39e31a,_0x529795){return _0x39e31a===_0x529795;},'NORFK':_0x22f688(0x15e),'XJTKF':_0x22f688(0x1ad),'MLtiz':function(_0x7ca9ea,_0x3462e8){return _0x7ca9ea(_0x3462e8);},'bEKfe':function(_0x20aca4,_0x32d47f){return _0x20aca4!==_0x32d47f;},'jsYDk':function(_0x549e70,_0x597c71){return _0x549e70>=_0x597c71;},'TxWOZ':function(_0x5ad67f,_0x3682e9){return _0x5ad67f(_0x3682e9);},'jPQxG':_0x22f688(0x1da),'ZbqAK':'false'},_0x2aada7={};_0x2aada7[_0x22f688(0x199)]=_0x140970[_0x22f688(0x18e)],_0x2aada7['TestRunFinished']=_0x140970[_0x22f688(0x1a3)],_0x2aada7[_0x22f688(0x1b2)]=_0x140970[_0x22f688(0x171)],_0x2aada7['LogCreated']=_0x140970[_0x22f688(0x1c5)],_0x2aada7[_0x22f688(0x1e6)]=_0x140970[_0x22f688(0x1a0)],_0x2aada7[_0x22f688(0x1e2)]=_0x140970[_0x22f688(0x1c7)],_0x2aada7[_0x22f688(0x18f)]=_0x140970[_0x22f688(0x19e)];const _0xf63529=_0x2aada7[_0x44a1cd[_0x22f688(0x1aa)]];_0x140970[_0x22f688(0x1c2)](trace,_0x22f688(0x175)+_0x44a1cd[_0x22f688(0x1aa)]+'\x27\x20'+(bsSetupHelper[_0x22f688(0x1d7)](_0x44a1cd,[_0x140970['hCVUU'],_0x140970[_0x22f688(0x1eb)]])||bsSetupHelper['nestedKeyValue'](_0x44a1cd,[_0x140970['vVdAT'],_0x140970[_0x22f688(0x1eb)]])));if(!_0x140970[_0x22f688(0x1e3)](shouldProcessEventForTesthub,_0x44a1cd['event_type'],_0x140970[_0x22f688(0x17c)]))return;_0x140970[_0x22f688(0x191)](_0x122853,0x0)&&process[_0x22f688(0x177)]['BROWSERSTACK_TESTHUB_JWT']&&_0x140970['eQGvx'](process[_0x22f688(0x177)][_0x22f688(0x186)],_0x140970['PqWYP'])&&(this[_0x22f688(0x1a4)][_0x22f688(0x1db)]+=0x1);if(_0x140970[_0x22f688(0x196)](process[_0x22f688(0x177)][_0x22f688(0x1d8)],_0x140970[_0x22f688(0x163)])||process[_0x22f688(0x177)][_0x22f688(0x1f2)]||_0x140970[_0x22f688(0x19c)](isPercyBuild)){if(_0x140970['ZCuZr'](process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x140970['PqWYP'])){_0x140970['HneUO'](debug,_0x22f688(0x18c)+_0xf63529+_0x22f688(0x1d1)),this['requestQueueHandler'][_0x22f688(0x1db)]=Math[_0x22f688(0x1bd)](0x0,_0x140970[_0x22f688(0x162)](this[_0x22f688(0x1a4)][_0x22f688(0x1db)],0x1));const _0x3c604e={};return _0x3c604e[_0x22f688(0x1bc)]=_0x140970['OuINK'],_0x3c604e['message']=_0x140970[_0x22f688(0x1c9)],_0x3c604e;}let _0x1054f8=_0x44a1cd,_0x4d2a09=EVENT_ENDPOINT;this[_0x22f688(0x1a4)][_0x22f688(0x1bf)]();const {shouldProceed:_0x4c044b,proceedWithData:_0x42a402,proceedWithUrl:_0x559aac}=this['requestQueueHandler'][_0x22f688(0x15f)](_0x44a1cd);if(!_0x4c044b)return;else _0x42a402&&(_0x1054f8=_0x42a402,_0x4d2a09=_0x559aac);const _0x1fc7e0={};_0x1fc7e0[_0x22f688(0x1ce)]=_0x22f688(0x166)+process[_0x22f688(0x177)][_0x22f688(0x186)],_0x1fc7e0[_0x22f688(0x1cc)]=_0x140970['WLsfu'],_0x1fc7e0[_0x22f688(0x17f)]=_0x140970[_0x22f688(0x163)];const _0x30642e={};_0x30642e[_0x22f688(0x1a9)]=_0x1fc7e0;const _0x3b16ba=_0x30642e;try{const _0x43f478=await _0x140970[_0x22f688(0x192)](nodeRequest,_0x140970[_0x22f688(0x16d)],_0x4d2a09,_0x1054f8,_0x3b16ba);if(_0x43f478[_0x22f688(0x1d0)]['error']){const _0x2a151e={};_0x2a151e[_0x22f688(0x1d2)]=_0x43f478[_0x22f688(0x1d0)][_0x22f688(0x164)];throw _0x2a151e;}else{_0x140970[_0x22f688(0x172)](debug,(_0x140970[_0x22f688(0x197)](_0x4d2a09,this[_0x22f688(0x1a4)][_0x22f688(0x19d)])?_0xf63529:_0x140970[_0x22f688(0x1b1)])+'['+_0x122853+_0x22f688(0x19f)),this['requestQueueHandler'][_0x22f688(0x1db)]=Math[_0x22f688(0x1bd)](0x0,_0x140970[_0x22f688(0x162)](this[_0x22f688(0x1a4)][_0x22f688(0x1db)],_0x140970['IdjeJ'](_0x4d2a09,_0x140970['NORFK'])?0x1:_0x1054f8[_0x22f688(0x185)]));const _0x32e451={};return _0x32e451['status']=_0x140970[_0x22f688(0x1ba)],_0x32e451[_0x22f688(0x1d2)]='',_0x32e451;}}catch(_0x48a376){_0x48a376[_0x22f688(0x1bb)]?_0x140970[_0x22f688(0x1d3)](debug,_0x22f688(0x18c)+(_0x140970['eQGvx'](_0x4d2a09,this[_0x22f688(0x1a4)][_0x22f688(0x19d)])?_0xf63529:_0x140970[_0x22f688(0x1b1)])+_0x22f688(0x187)+_0x48a376[_0x22f688(0x1bb)][_0x22f688(0x1bc)]+'\x20'+_0x48a376[_0x22f688(0x1bb)][_0x22f688(0x183)]+'\x20'+JSON['stringify'](_0x48a376['response']['data'])):_0x140970[_0x22f688(0x198)](debug,_0x22f688(0x18c)+(_0x140970[_0x22f688(0x1dd)](_0x4d2a09,this[_0x22f688(0x1a4)][_0x22f688(0x19d)])?_0xf63529:_0x140970[_0x22f688(0x1b1)])+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x48a376[_0x22f688(0x1d2)]||_0x48a376));this[_0x22f688(0x1a4)]['pendingUploads']=Math[_0x22f688(0x1bd)](0x0,_0x140970['FzOnl'](this[_0x22f688(0x1a4)][_0x22f688(0x1db)],_0x140970[_0x22f688(0x191)](_0x4d2a09,_0x140970[_0x22f688(0x16e)])?0x1:_0x1054f8[_0x22f688(0x185)]));const _0x550ced={};return _0x550ced[_0x22f688(0x1bc)]=_0x140970[_0x22f688(0x176)],_0x550ced[_0x22f688(0x1d2)]=_0x48a376[_0x22f688(0x1d2)]||(_0x48a376['response']?_0x48a376['response']['status']+':'+_0x48a376[_0x22f688(0x1bb)][_0x22f688(0x183)]:_0x48a376),_0x550ced;}}else{if(_0x140970[_0x22f688(0x16c)](_0x122853,0x5)){_0x140970[_0x22f688(0x1b6)](debug,'EXCEPTION\x20IN\x20'+_0xf63529+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20'+_0xf63529+_0x22f688(0x1e7));_0x140970[_0x22f688(0x197)](process[_0x22f688(0x177)][_0x22f688(0x186)],_0x140970[_0x22f688(0x18a)])&&(this[_0x22f688(0x1a4)][_0x22f688(0x1db)]=Math[_0x22f688(0x1bd)](0x0,_0x140970['FzOnl'](this[_0x22f688(0x1a4)][_0x22f688(0x1db)],0x1)));const _0x1b7754={};return _0x1b7754[_0x22f688(0x1bc)]=_0x140970[_0x22f688(0x176)],_0x1b7754[_0x22f688(0x1d2)]=_0x140970['jPQxG'],_0x1b7754;}else _0x140970[_0x22f688(0x197)](process[_0x22f688(0x177)][_0x22f688(0x1d8)],_0x140970[_0x22f688(0x1df)])&&_0x140970[_0x22f688(0x1e3)](setTimeout,()=>{const _0x35b508=_0x22f688;this[_0x35b508(0x170)](_0x44a1cd,_0x140970[_0x35b508(0x1e4)](_0x122853,0x1));},0x3e8);}}}module[a86_0x58d831(0x1de)]=SessionHandler;
|