browserstack-node-sdk 1.34.29 → 1.34.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -60
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a29_0x24cc(_0x1e8a15,_0x9da51c){const _0x3382fb=a29_0x3382();return a29_0x24cc=function(_0x24cc4d,_0x5fa226){_0x24cc4d=_0x24cc4d-0x150;let _0x5978ae=_0x3382fb[_0x24cc4d];return _0x5978ae;},a29_0x24cc(_0x1e8a15,_0x9da51c);}const a29_0x214f7d=a29_0x24cc;(function(_0x3886ab,_0x32df3e){const _0x5df016=a29_0x24cc,_0x27666c=_0x3886ab();while(!![]){try{const _0x45462d=-parseInt(_0x5df016(0x1c5))/0x1*(-parseInt(_0x5df016(0x185))/0x2)+parseInt(_0x5df016(0x15c))/0x3+parseInt(_0x5df016(0x183))/0x4*(parseInt(_0x5df016(0x193))/0x5)+parseInt(_0x5df016(0x16c))/0x6*(parseInt(_0x5df016(0x187))/0x7)+parseInt(_0x5df016(0x169))/0x8+parseInt(_0x5df016(0x191))/0x9+parseInt(_0x5df016(0x17f))/0xa*(-parseInt(_0x5df016(0x19f))/0xb);if(_0x45462d===_0x32df3e)break;else _0x27666c['push'](_0x27666c['shift']());}catch(_0x84a329){_0x27666c['push'](_0x27666c['shift']());}}}(a29_0x3382,0xd7918));const logger=require(a29_0x214f7d(0x18f))[a29_0x214f7d(0x1bd)],helper=require('../../../helpers/helper'),constants=require(a29_0x214f7d(0x18e)),hubAllocator=require(a29_0x214f7d(0x178)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x214f7d(0x1b4)),{setAccessibilityCapabilities,setExtension}=require(a29_0x214f7d(0x161)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x214f7d(0x19b)),globals=require(a29_0x214f7d(0x188)),{overrideExecute}=require(a29_0x214f7d(0x1bc)),modify=(_0x40664f,_0x34c254=null,_0x99ff06=![])=>{const _0x1c3032=a29_0x214f7d,_0x3985f3={'sEpVL':function(_0xaa2ec1,_0x18e82c){return _0xaa2ec1!==_0x18e82c;},'lecTw':_0x1c3032(0x1ad),'nmSNK':function(_0x3ac395,_0xe505b){return _0x3ac395!==_0xe505b;},'cNAyl':function(_0x14a3d7,_0x4739d2){return _0x14a3d7+_0x4739d2;},'WhYln':function(_0x3663b3,_0x43c7f5){return _0x3663b3+_0x43c7f5;},'xVJFV':_0x1c3032(0x1c7),'zDYmg':_0x1c3032(0x17a),'oURTB':_0x1c3032(0x17c),'oxtzr':_0x1c3032(0x1d3),'FRgqB':'ms:edgeOptions','HfSjL':_0x1c3032(0x15a),'HZIHF':'moz:firefoxOptions','QgjoA':_0x1c3032(0x15b),'KCQWS':_0x1c3032(0x18a),'bwDsW':_0x1c3032(0x1b8),'uaAHt':_0x1c3032(0x180),'LCDbY':function(_0x5de896,_0x34d1a8){return _0x5de896===_0x34d1a8;},'mBlHX':_0x1c3032(0x197),'HRsDn':_0x1c3032(0x1c3),'KGWVx':_0x1c3032(0x1b5),'gBzxU':_0x1c3032(0x1be),'EOIly':function(_0x13c0fa,_0x594e41,_0x589fc1){return _0x13c0fa(_0x594e41,_0x589fc1);},'lvfpX':_0x1c3032(0x1b9),'lRshf':function(_0x2068a4,_0x3fca76){return _0x2068a4(_0x3fca76);},'tGmPN':_0x1c3032(0x1d1),'zHJWG':_0x1c3032(0x1c8),'BTLpC':function(_0x3a7cd2){return _0x3a7cd2();},'yINwW':function(_0x7d46c7,_0x414ed4){return _0x7d46c7(_0x414ed4);},'dxrub':_0x1c3032(0x186),'QqfoW':function(_0x1d1dfd,_0x3b329e){return _0x1d1dfd(_0x3b329e);},'MzCTg':function(_0x20a59d,_0x2cc09a){return _0x20a59d(_0x2cc09a);},'ZUTbX':function(_0x53b5b6,_0x525bc2,_0x2c47e5){return _0x53b5b6(_0x525bc2,_0x2c47e5);},'LeqDc':function(_0x510a85,_0x51ac68){return _0x510a85!==_0x51ac68;},'WNZCi':function(_0xc6eec,_0x42aaa7){return _0xc6eec!==_0x42aaa7;},'QIBth':_0x1c3032(0x184),'DMxLB':_0x1c3032(0x1ac)},_0xcb5f84=helper['requireHttpClient']();let _0x4b3aff;try{_0x4b3aff=helper[_0x1c3032(0x19d)](),_0x4b3aff[_0x1c3032(0x192)]&&(_0x4b3aff[_0x1c3032(0x15e)]=_0x4b3aff['originalBuilder']);}catch(_0x551866){return;}if(helper[_0x1c3032(0x18b)]()){const _0x37a720={};_0x37a720[_0x1c3032(0x171)]=_0x40664f[_0x1c3032(0x157)],helper[_0x1c3032(0x1c6)](_0x37a720,new Map(),new Map()),logger[_0x1c3032(0x1a3)](_0x3985f3[_0x1c3032(0x1ae)]),logger['debug'](_0x3985f3[_0x1c3032(0x198)]);}class _0x14a82a extends _0xcb5f84[_0x1c3032(0x196)]{['send'](_0x1920c7){const _0x5ac907=_0x1c3032;if(_0x3985f3[_0x5ac907(0x195)](_0x1920c7[_0x5ac907(0x1b1)],_0x3985f3[_0x5ac907(0x16e)])&&_0x3985f3[_0x5ac907(0x16a)](global['newHubUrl'],''))try{global[_0x5ac907(0x159)]=_0x3985f3['cNAyl'](_0x3985f3['WhYln'](_0x3985f3[_0x5ac907(0x165)],global['newHubUrl']),_0x3985f3[_0x5ac907(0x168)]),this[_0x5ac907(0x179)]=hubAllocator[_0x5ac907(0x17e)](global[_0x5ac907(0x159)]),logger[_0x5ac907(0x175)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x5ac907(0x159)]='';}catch(_0x2c8aa8){logger['error'](_0x2c8aa8);}return super[_0x5ac907(0x189)](_0x1920c7);}}class _0x19fae0 extends _0x4b3aff[_0x1c3032(0x15e)]{[_0x1c3032(0x19c)](){const _0x2d5ee7=_0x1c3032;return this['url_']=helper[_0x2d5ee7(0x1c1)](_0x40664f),logger[_0x2d5ee7(0x175)](_0x2d5ee7(0x15d)+this['url_']),this;}[_0x1c3032(0x19e)](_0x3da621){const _0x497d74=_0x1c3032;let _0x147ff6={};for(const _0x24bd9c in _0x3da621){switch(_0x24bd9c){case _0x3985f3[_0x497d74(0x182)]:case _0x3985f3[_0x497d74(0x1cf)]:this[_0x497d74(0x166)]&&(_0x147ff6=this[_0x497d74(0x166)]['get'](this[_0x497d74(0x166)]['CAPABILITY_KEY'])||{},this[_0x497d74(0x166)][_0x497d74(0x176)](this[_0x497d74(0x166)][_0x497d74(0x1ba)],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x181)]:case _0x3985f3[_0x497d74(0x1a2)]:this[_0x497d74(0x15f)]&&(_0x147ff6=this[_0x497d74(0x15f)][_0x497d74(0x16f)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x497d74(0x15f)][_0x497d74(0x176)](this[_0x497d74(0x15f)]['CAPABILITY_KEY'],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x1af)]:case _0x3985f3[_0x497d74(0x1cb)]:this[_0x497d74(0x150)]&&(_0x147ff6=this[_0x497d74(0x150)]['get'](this[_0x497d74(0x150)][_0x497d74(0x1ba)])||{},this[_0x497d74(0x150)][_0x497d74(0x176)](this['firefoxOptions_'][_0x497d74(0x1ba)],helper['mergeDeep'](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x163)]:this[_0x497d74(0x153)]&&(_0x147ff6=this[_0x497d74(0x153)][_0x497d74(0x16f)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x497d74(0x153)][_0x497d74(0x176)](this[_0x497d74(0x153)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x1b0)]:case _0x3985f3['uaAHt']:this['ieOptions_']&&(_0x147ff6=this['ieOptions_'][_0x497d74(0x16f)](this['ieOptions_'][_0x497d74(0x1ba)])||{},this['ieOptions_']['set'](this[_0x497d74(0x1ca)][_0x497d74(0x1ba)],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;}}}[_0x1c3032(0x1ab)](){const _0x5269e8=_0x1c3032;return logger[_0x5269e8(0x175)](_0x3985f3[_0x5269e8(0x1a6)]),this['__setBrowserOptions'](_0x40664f['capability']),Object[_0x5269e8(0x1ce)](_0x40664f[_0x5269e8(0x18c)])[_0x5269e8(0x1cc)](_0x1999b9=>{const _0x35c25a=_0x5269e8,_0x1416dd=this[_0x35c25a(0x16d)]['get'](_0x1999b9);_0x3985f3[_0x35c25a(0x1a8)](typeof _0x1416dd,_0x3985f3[_0x35c25a(0x1d4)])?this[_0x35c25a(0x16d)][_0x35c25a(0x176)](_0x1999b9,helper[_0x35c25a(0x158)](_0x1416dd,_0x40664f[_0x35c25a(0x18c)][_0x1999b9])):this[_0x35c25a(0x16d)][_0x35c25a(0x176)](_0x1999b9,_0x40664f['capability'][_0x1999b9]);}),this;}[_0x1c3032(0x1c9)](){const _0x705ff2=_0x1c3032,_0x27c2c7={'pPtxm':function(_0x242611,_0xf5fc01,_0x452fac){const _0x1a57fb=a29_0x24cc;return _0x3985f3[_0x1a57fb(0x152)](_0x242611,_0xf5fc01,_0x452fac);},'AiLFU':function(_0x4ec564,_0x3d8740,_0xa62cf1){const _0x2444ef=a29_0x24cc;return _0x3985f3[_0x2444ef(0x152)](_0x4ec564,_0x3d8740,_0xa62cf1);},'ojgeg':_0x3985f3[_0x705ff2(0x155)],'rGtqO':function(_0x57862a,_0x39034a){const _0x1d5bf5=_0x705ff2;return _0x3985f3[_0x1d5bf5(0x1bb)](_0x57862a,_0x39034a);},'zsdLc':function(_0xeb775e,_0x3ac9ef,_0xa6c331){const _0x11cf56=_0x705ff2;return _0x3985f3[_0x11cf56(0x152)](_0xeb775e,_0x3ac9ef,_0xa6c331);}};if(helper[_0x705ff2(0x18b)]()){const _0x3dcebf=_0x3985f3['tGmPN'][_0x705ff2(0x160)]('|');let _0x37ee9e=0x0;while(!![]){switch(_0x3dcebf[_0x37ee9e++]){case'0':if(helper[_0x705ff2(0x17b)](_0x40664f['proxySettings'][_0x705ff2(0x199)]))this[_0x705ff2(0x1aa)]=helper[_0x705ff2(0x1a7)](_0x40664f[_0x705ff2(0x1a1)][_0x705ff2(0x199)]);else _0x40664f['proxySettings'][_0x705ff2(0x199)]&&(this[_0x705ff2(0x1d2)]=_0x40664f[_0x705ff2(0x1a1)][_0x705ff2(0x199)],logger['debug'](_0x705ff2(0x154)+this[_0x705ff2(0x1d2)]));continue;case'1':this[_0x705ff2(0x1ab)]();continue;case'2':globals[_0x705ff2(0x172)](_0x3985f3[_0x705ff2(0x1a9)])&&(!_0x3985f3['EOIly'](setExtension,this,_0x40664f)&&globals[_0x705ff2(0x19a)](_0x3985f3[_0x705ff2(0x1a9)],![]));continue;case'3':_0x3985f3[_0x705ff2(0x173)](isAccessibilityAutomationSession)&&_0x3985f3[_0x705ff2(0x164)](setAccessibilityCapabilities,_0x40664f);continue;case'4':logger[_0x705ff2(0x175)](_0x3985f3['dxrub']);continue;case'5':this[_0x705ff2(0x19c)]();continue;}break;}}const _0x1e6324=super[_0x705ff2(0x1c9)]();return _0x1e6324[_0x705ff2(0x177)]['then'](_0x2da868=>{const _0x325d92=_0x705ff2;try{const _0x34cea0=_0x2da868['caps_'][_0x325d92(0x16f)](_0x3985f3[_0x325d92(0x194)]);_0x34cea0?(logger[_0x325d92(0x175)](_0x325d92(0x1cd)+_0x34cea0),hubAllocator['updateHubUrl'](_0x34cea0),helper[_0x325d92(0x156)](_0x34cea0)):logger[_0x325d92(0x175)](_0x3985f3[_0x325d92(0x1c0)]);}catch(_0x5aafe2){logger['debug'](_0x325d92(0x1a5)+_0x5aafe2);}}),_0x1e6324['quitCount_']=0x0,_0x1e6324[_0x705ff2(0x1b6)]&&_0x1e6324['then'](_0x1c1d75=>{const _0x1e869f=_0x705ff2,_0x313f1a=_0x27c2c7[_0x1e869f(0x16b)][_0x1e869f(0x160)]('|');let _0x4c23db=0x0;while(!![]){switch(_0x313f1a[_0x4c23db++]){case'0':_0x27c2c7[_0x1e869f(0x190)](overrideTakeScreenshot,_0x1c1d75);continue;case'1':_0x1c1d75[_0x1e869f(0x1b2)]=async()=>{const _0xfb90ea=_0x1e869f;return await _0x27c2c7[_0xfb90ea(0x167)](getAccessibilityResultsSummary,_0x1c1d75,global);};continue;case'2':_0x1c1d75[_0x1e869f(0x174)]=async()=>{const _0x5652f9=_0x1e869f;return await _0x27c2c7[_0x5652f9(0x151)](getAccessibilityResults,_0x1c1d75,global);};continue;case'3':helper['overrideGet'](_0x1c1d75,_0x40664f);continue;case'4':_0x27c2c7[_0x1e869f(0x167)](overrideQuit,_0x1c1d75,_0x1e6324);continue;case'5':_0x27c2c7[_0x1e869f(0x162)](overrideExecute,_0x1c1d75,_0x40664f);continue;}break;}}),_0x1e6324['getAccessibilityResultsSummary']=async()=>{const _0x1d4d7d=_0x705ff2;return await _0x3985f3[_0x1d4d7d(0x152)](getAccessibilityResultsSummary,_0x1e6324,global);},_0x1e6324['getAccessibilityResults']=async()=>{return await _0x27c2c7['pPtxm'](getAccessibilityResults,_0x1e6324,global);},_0x3985f3['QqfoW'](overrideTakeScreenshot,_0x1e6324),_0x3985f3[_0x705ff2(0x17d)](overrideQuit,_0x1e6324),helper[_0x705ff2(0x1b7)](_0x1e6324,_0x40664f),_0x3985f3[_0x705ff2(0x1b3)](overrideExecute,_0x1e6324,_0x40664f),helper[_0x705ff2(0x18d)](global[_0x705ff2(0x1a0)])&&(global[_0x705ff2(0x1a0)]=[]),helper[_0x705ff2(0x18d)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x705ff2(0x1bf)](_0x1e6324),global[_0x705ff2(0x1d0)]=_0x1e6324,_0x3985f3[_0x705ff2(0x1c4)](global[_0x705ff2(0x170)],undefined)&&global[_0x705ff2(0x170)][_0x705ff2(0x1bf)](_0x1e6324),_0x34c254&&helper[_0x705ff2(0x18d)](_0x34c254['global'][_0x705ff2(0x1a0)])&&(_0x34c254['global']['__driversArray']=[]),_0x34c254&&_0x3985f3[_0x705ff2(0x1a4)](_0x34c254[_0x705ff2(0x1c2)]['__drivers'],undefined)&&(_0x34c254['global'][_0x705ff2(0x170)][_0x705ff2(0x1bf)](_0x1e6324),_0x34c254['global'][_0x705ff2(0x1a0)][_0x705ff2(0x1bf)](_0x1e6324)),_0x1e6324;}}return _0x4b3aff[_0x1c3032(0x192)]=_0x4b3aff[_0x1c3032(0x15e)],_0x4b3aff[_0x1c3032(0x15e)]=_0x19fae0,_0xcb5f84[_0x1c3032(0x196)]=_0x14a82a,_0x4b3aff;};module['exports']['browserstackAgentObservability']=modify;function a29_0x3382(){const _0x12ca96=['setCapabilities','Modifying\x20webdriver\x20builder','/session','QIBth','HZIHF','bwDsW','path','getAccessibilityResultsSummary','ZUTbX','../../../helpers/patchHelpers','optimalHubUrl','then','overrideGet','se:ieOptions','4|0|3|5|1|2','CAPABILITY_KEY','lRshf','./helpers/patchHelper','winstonLogger','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','push','gBzxU','getHubUrl','global','Setting\x20Browserstack\x20capabilities','LeqDc','40988ZqLmdp','setLogLevel','https://','isAccessibilityPlatform','build','ieOptions_','QgjoA','forEach','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','keys','oxtzr','__driver','3|5|1|0|2|4','proxy_','chromeOptions','mBlHX','firefoxOptions_','AiLFU','EOIly','safariOptions_','Proxy\x20set\x20to\x20','lvfpX','storeOptimalHubUrl','browserStackLogLevel','mergeDeep','newHubUrl','edgeOptions','firefoxOptions','2669484dmjaHr','Hub\x20url\x20set\x20to\x20','Builder','edgeOptions_','split','../accessibility-automation/helper','zsdLc','KCQWS','yINwW','xVJFV','chromeOptions_','pPtxm','zDYmg','5910168aVVrNj','nmSNK','ojgeg','84XbmhAt','capabilities_','lecTw','get','__drivers','logLevel','getGlobal','BTLpC','getAccessibilityResults','debug','set','session_','../../../hubAllocationMethods','options_','/wd/hub','isPacProxy','goog:chromeOptions','MzCTg','getRequestOptions','30741380FHmfgb','ieOptions','FRgqB','oURTB','20380CHOVVt','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','76SKWkoY','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','867482KwNlQL','../../../helpers/globals','send','safari.options','isBrowserstackInfra','capability','isUndefined','../../../bin/utils/constants','../../../helpers/logger','rGtqO','12617388ExttjU','originalBuilder','695EgTrqS','KGWVx','sEpVL','HttpClient','object','DMxLB','proxyUrl','setGlobal','../../../helpers/accessibility-automation/helper','setServer','requireSeleniumWebdriver','__setBrowserOptions','22YkOACm','__driversArray','proxySettings','HfSjL','info','WNZCi','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','HRsDn','getHttpAgent','LCDbY','zHJWG','agent_'];a29_0x3382=function(){return _0x12ca96;};return a29_0x3382();}
1
+ const a29_0x5dfa0c=a29_0x323f;(function(_0x4ef917,_0xdd47cc){const _0x23b63e=a29_0x323f,_0x5d584d=_0x4ef917();while(!![]){try{const _0x4bbfb9=-parseInt(_0x23b63e(0x1dc))/0x1+-parseInt(_0x23b63e(0x1d9))/0x2*(parseInt(_0x23b63e(0x1a7))/0x3)+parseInt(_0x23b63e(0x1b3))/0x4+-parseInt(_0x23b63e(0x17c))/0x5+parseInt(_0x23b63e(0x177))/0x6+-parseInt(_0x23b63e(0x176))/0x7+parseInt(_0x23b63e(0x18b))/0x8;if(_0x4bbfb9===_0xdd47cc)break;else _0x5d584d['push'](_0x5d584d['shift']());}catch(_0x1ef703){_0x5d584d['push'](_0x5d584d['shift']());}}}(a29_0x40ec,0xcfcac));function a29_0x323f(_0x539732,_0x5d6b9d){const _0x40eca9=a29_0x40ec();return a29_0x323f=function(_0x323fce,_0xdc2e30){_0x323fce=_0x323fce-0x174;let _0x6d328e=_0x40eca9[_0x323fce];return _0x6d328e;},a29_0x323f(_0x539732,_0x5d6b9d);}const logger=require(a29_0x5dfa0c(0x1a4))[a29_0x5dfa0c(0x1c8)],helper=require(a29_0x5dfa0c(0x188)),constants=require(a29_0x5dfa0c(0x1cf)),hubAllocator=require(a29_0x5dfa0c(0x189)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x5dfa0c(0x1e3)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5dfa0c(0x19e)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x5dfa0c(0x1a0)),modify=(_0x150948,_0x545a7e=null,_0x5bcf51=![])=>{const _0x296e9b=a29_0x5dfa0c,_0x258b1f={'mETIt':function(_0x3f35ce,_0x3d50ec){return _0x3f35ce!==_0x3d50ec;},'EBacR':_0x296e9b(0x18c),'Lkilr':function(_0x20ece0,_0x25e755){return _0x20ece0+_0x25e755;},'JyMRc':function(_0x4d1ce2,_0x1b25ea){return _0x4d1ce2+_0x1b25ea;},'FCOMf':_0x296e9b(0x1c6),'qvFBs':'/wd/hub','Bwcaz':_0x296e9b(0x17d),'iNyND':'chromeOptions','doMqE':_0x296e9b(0x1b9),'KfZWD':'edgeOptions','pEzFq':'moz:firefoxOptions','BxoHZ':_0x296e9b(0x1a9),'OTucM':_0x296e9b(0x184),'ZsDoQ':_0x296e9b(0x194),'yzsxV':_0x296e9b(0x1d0),'jVOfe':function(_0x391f80,_0x403589){return _0x391f80===_0x403589;},'cxsdv':_0x296e9b(0x1d8),'ZWZJi':_0x296e9b(0x1da),'fuQjv':function(_0x30a78b,_0x207643,_0x3088c9){return _0x30a78b(_0x207643,_0x3088c9);},'XYper':function(_0x14426d,_0x391f61){return _0x14426d(_0x391f61);},'ldJVd':function(_0xfa5957,_0x5dd7a2,_0x5ce012){return _0xfa5957(_0x5dd7a2,_0x5ce012);},'bCGJy':'optimalHubUrl','BNOTW':_0x296e9b(0x183),'yNgiX':function(_0x319db1,_0x147a68,_0x3d7cd3){return _0x319db1(_0x147a68,_0x3d7cd3);},'TieIs':_0x296e9b(0x19d),'YnQmy':_0x296e9b(0x18a),'FSXQD':'isAccessibilityPlatform','dBJJg':function(_0x427184){return _0x427184();},'bagzE':function(_0xbe4695,_0x36aa25){return _0xbe4695(_0x36aa25);},'DFfZW':function(_0x53d07b,_0x47f91f){return _0x53d07b(_0x47f91f);},'cQchN':function(_0x113af0,_0x173512,_0x1d978b){return _0x113af0(_0x173512,_0x1d978b);},'aAUqB':function(_0x3fc3d7,_0x1ed08b){return _0x3fc3d7!==_0x1ed08b;},'KiZGJ':function(_0xf0be38,_0x19d88a){return _0xf0be38!==_0x19d88a;},'JQGxa':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','JxTpf':_0x296e9b(0x1df)},_0x52b726=helper[_0x296e9b(0x19f)]();let _0xfb2818;try{_0xfb2818=helper[_0x296e9b(0x1c0)](),_0xfb2818[_0x296e9b(0x1b8)]&&(_0xfb2818[_0x296e9b(0x1e4)]=_0xfb2818[_0x296e9b(0x1b8)]);}catch(_0x2aeac3){return;}if(helper[_0x296e9b(0x1b4)]()){const _0x4bbaac={};_0x4bbaac[_0x296e9b(0x1d4)]=_0x150948[_0x296e9b(0x195)],helper[_0x296e9b(0x1d2)](_0x4bbaac,new Map(),new Map()),logger[_0x296e9b(0x1c9)](_0x258b1f['JQGxa']),logger[_0x296e9b(0x175)](_0x258b1f[_0x296e9b(0x178)]);}class _0xe88f7c extends _0x52b726[_0x296e9b(0x1d6)]{[_0x296e9b(0x192)](_0x5b617d){const _0x4a8c20=_0x296e9b;if(_0x258b1f['mETIt'](_0x5b617d[_0x4a8c20(0x1de)],_0x258b1f[_0x4a8c20(0x1bf)])&&_0x258b1f[_0x4a8c20(0x17b)](global[_0x4a8c20(0x1c7)],''))try{global[_0x4a8c20(0x1c7)]=_0x258b1f['Lkilr'](_0x258b1f[_0x4a8c20(0x1bb)](_0x258b1f[_0x4a8c20(0x1c4)],global['newHubUrl']),_0x258b1f[_0x4a8c20(0x1e5)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x4a8c20(0x1c7)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x4a8c20(0x1c7)]),global['newHubUrl']='';}catch(_0x190763){logger[_0x4a8c20(0x191)](_0x190763);}return super[_0x4a8c20(0x192)](_0x5b617d);}}class _0x15fc10 extends _0xfb2818[_0x296e9b(0x1e4)]{['setServer'](){const _0x14f1f8=_0x296e9b;return this['url_']=helper[_0x14f1f8(0x196)](_0x150948),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x14f1f8(0x1bd)]),this;}[_0x296e9b(0x1ea)](_0x1c96ff){const _0xe5762b=_0x296e9b;let _0x492a9e={};for(const _0x2df6f9 in _0x1c96ff){switch(_0x2df6f9){case _0x258b1f['Bwcaz']:case _0x258b1f[_0xe5762b(0x17e)]:this[_0xe5762b(0x1a2)]&&(_0x492a9e=this[_0xe5762b(0x1a2)][_0xe5762b(0x1db)](this[_0xe5762b(0x1a2)][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x1a2)][_0xe5762b(0x1b0)](this[_0xe5762b(0x1a2)][_0xe5762b(0x18d)],helper[_0xe5762b(0x1d7)](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f['doMqE']:case _0x258b1f[_0xe5762b(0x19b)]:this['edgeOptions_']&&(_0x492a9e=this[_0xe5762b(0x1e6)][_0xe5762b(0x1db)](this[_0xe5762b(0x1e6)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0xe5762b(0x1b0)](this[_0xe5762b(0x1e6)][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x1d1)]:case _0x258b1f[_0xe5762b(0x1ce)]:this['firefoxOptions_']&&(_0x492a9e=this[_0xe5762b(0x1c1)][_0xe5762b(0x1db)](this['firefoxOptions_'][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x1c1)]['set'](this['firefoxOptions_'][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x1dd)]:this['safariOptions_']&&(_0x492a9e=this[_0xe5762b(0x17a)][_0xe5762b(0x1db)](this[_0xe5762b(0x17a)][_0xe5762b(0x18d)])||{},this['safariOptions_'][_0xe5762b(0x1b0)](this[_0xe5762b(0x17a)][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x186)]:case _0x258b1f[_0xe5762b(0x1cb)]:this['ieOptions_']&&(_0x492a9e=this[_0xe5762b(0x185)]['get'](this['ieOptions_'][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x185)][_0xe5762b(0x1b0)](this[_0xe5762b(0x185)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;}}}[_0x296e9b(0x1e2)](){const _0x57c4a9=_0x296e9b,_0x38dcb2={'YmeEk':function(_0x365827,_0x44fcf6){const _0x2117fd=a29_0x323f;return _0x258b1f[_0x2117fd(0x1a5)](_0x365827,_0x44fcf6);},'bWsou':_0x258b1f[_0x57c4a9(0x19c)]};return logger[_0x57c4a9(0x175)](_0x258b1f[_0x57c4a9(0x1a6)]),this[_0x57c4a9(0x1ea)](_0x150948[_0x57c4a9(0x1ae)]),Object['keys'](_0x150948['capability'])[_0x57c4a9(0x199)](_0x28dd65=>{const _0x208f5f=_0x57c4a9,_0x6706e3=this[_0x208f5f(0x1a3)][_0x208f5f(0x1db)](_0x28dd65);_0x38dcb2[_0x208f5f(0x1e9)](typeof _0x6706e3,_0x38dcb2[_0x208f5f(0x1e8)])?this['capabilities_'][_0x208f5f(0x1b0)](_0x28dd65,helper['mergeDeep'](_0x6706e3,_0x150948[_0x208f5f(0x1ae)][_0x28dd65])):this['capabilities_'][_0x208f5f(0x1b0)](_0x28dd65,_0x150948[_0x208f5f(0x1ae)][_0x28dd65]);}),this;}['build'](){const _0x131773=_0x296e9b,_0x52800b={'TQMRI':_0x258b1f[_0x131773(0x1cd)],'NYmyG':_0x258b1f[_0x131773(0x180)],'fwxSe':function(_0x58037b,_0x28a06c,_0x25397a){const _0x5e106c=_0x131773;return _0x258b1f[_0x5e106c(0x179)](_0x58037b,_0x28a06c,_0x25397a);}};if(helper[_0x131773(0x1b4)]()){const _0x196872=_0x258b1f[_0x131773(0x1a1)]['split']('|');let _0x8139e1=0x0;while(!![]){switch(_0x196872[_0x8139e1++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x131773(0x175)](_0x258b1f[_0x131773(0x1c5)]);continue;case'2':if(helper['isPacProxy'](_0x150948['proxySettings'][_0x131773(0x1e7)]))this[_0x131773(0x198)]=helper[_0x131773(0x1ba)](_0x150948['proxySettings'][_0x131773(0x1e7)]);else _0x150948['proxySettings'][_0x131773(0x1e7)]&&(this[_0x131773(0x1aa)]=_0x150948['proxySettings'][_0x131773(0x1e7)],logger[_0x131773(0x175)](_0x131773(0x18f)+this[_0x131773(0x1aa)]));continue;case'3':globals[_0x131773(0x187)](_0x258b1f[_0x131773(0x1be)])&&(!_0x258b1f[_0x131773(0x179)](setExtension,this,_0x150948)&&globals[_0x131773(0x1b1)](_0x258b1f[_0x131773(0x1be)],![]));continue;case'4':this['setServer']();continue;case'5':_0x258b1f[_0x131773(0x193)](isAccessibilityAutomationSession)&&_0x258b1f['XYper'](setAccessibilityCapabilities,_0x150948);continue;}break;}}const _0x1cda15=super[_0x131773(0x19a)]();return _0x1cda15[_0x131773(0x1c2)]['then'](_0x2a7847=>{const _0x238a9f=_0x131773;try{const _0x211e20=_0x2a7847['caps_'][_0x238a9f(0x1db)](_0x52800b[_0x238a9f(0x174)]);_0x211e20?(logger[_0x238a9f(0x175)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x211e20),hubAllocator['updateHubUrl'](_0x211e20),helper[_0x238a9f(0x1e0)](_0x211e20)):logger[_0x238a9f(0x175)](_0x52800b['NYmyG']);}catch(_0x5cfbdc){logger[_0x238a9f(0x175)](_0x238a9f(0x18e)+_0x5cfbdc);}}),_0x1cda15[_0x131773(0x181)]=0x0,_0x1cda15['then']&&_0x1cda15[_0x131773(0x17f)](_0x5c31a6=>{const _0x34c02d=_0x131773,_0x45bcd8={'lEAna':function(_0x184af3,_0x3f43b1,_0xb6de12){const _0xb3f42=a29_0x323f;return _0x258b1f[_0xb3f42(0x1b6)](_0x184af3,_0x3f43b1,_0xb6de12);}};_0x258b1f[_0x34c02d(0x1b6)](overrideQuit,_0x5c31a6,_0x1cda15),_0x258b1f[_0x34c02d(0x1d5)](overrideTakeScreenshot,_0x5c31a6),helper[_0x34c02d(0x1cc)](_0x5c31a6,_0x150948),_0x258b1f[_0x34c02d(0x1b6)](overrideExecute,_0x5c31a6,_0x150948),_0x5c31a6[_0x34c02d(0x1ca)]=async()=>{return await _0x52800b['fwxSe'](getAccessibilityResultsSummary,_0x5c31a6,global);},_0x5c31a6[_0x34c02d(0x1ab)]=async()=>{const _0x1a340e=_0x34c02d;return await _0x45bcd8[_0x1a340e(0x1c3)](getAccessibilityResults,_0x5c31a6,global);};}),_0x1cda15['getAccessibilityResultsSummary']=async()=>{return await _0x52800b['fwxSe'](getAccessibilityResultsSummary,_0x1cda15,global);},_0x1cda15['getAccessibilityResults']=async()=>{const _0x4b54ef=_0x131773;return await _0x258b1f[_0x4b54ef(0x1d3)](getAccessibilityResults,_0x1cda15,global);},_0x258b1f[_0x131773(0x1ad)](overrideTakeScreenshot,_0x1cda15),_0x258b1f[_0x131773(0x1b5)](overrideQuit,_0x1cda15),helper[_0x131773(0x1cc)](_0x1cda15,_0x150948),_0x258b1f[_0x131773(0x1a8)](overrideExecute,_0x1cda15,_0x150948),helper['isUndefined'](global[_0x131773(0x1bc)])&&(global[_0x131773(0x1bc)]=[]),helper[_0x131773(0x1b2)](global[_0x131773(0x182)])&&(global[_0x131773(0x182)]=[]),global[_0x131773(0x1bc)][_0x131773(0x1b7)](_0x1cda15),global[_0x131773(0x1e1)]=_0x1cda15,_0x258b1f['aAUqB'](global[_0x131773(0x182)],undefined)&&global[_0x131773(0x182)]['push'](_0x1cda15),_0x545a7e&&helper[_0x131773(0x1b2)](_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)])&&(_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)]=[]),_0x545a7e&&_0x258b1f[_0x131773(0x1ac)](_0x545a7e[_0x131773(0x190)][_0x131773(0x182)],undefined)&&(_0x545a7e['global'][_0x131773(0x182)][_0x131773(0x1b7)](_0x1cda15),_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)][_0x131773(0x1b7)](_0x1cda15)),_0x1cda15;}}return _0xfb2818[_0x296e9b(0x1b8)]=_0xfb2818[_0x296e9b(0x1e4)],_0xfb2818[_0x296e9b(0x1e4)]=_0x15fc10,_0x52b726[_0x296e9b(0x1d6)]=_0xe88f7c,_0xfb2818;};function a29_0x40ec(){const _0x2946f6=['BNOTW','quitCount_','__drivers','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','safari.options','ieOptions_','ZsDoQ','getGlobal','../../../helpers/helper','../../../hubAllocationMethods','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','14974304CEasSK','/session','CAPABILITY_KEY','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Proxy\x20set\x20to\x20','global','error','send','dBJJg','se:ieOptions','browserStackLogLevel','getHubUrl','exports','agent_','forEach','build','KfZWD','cxsdv','5|4|0|2|3|1','../../../helpers/accessibility-automation/helper','requireHttpClient','./helpers/patchHelper','TieIs','chromeOptions_','capabilities_','../../../helpers/logger','jVOfe','ZWZJi','11343UVWRxo','cQchN','firefoxOptions','proxy_','getAccessibilityResults','KiZGJ','bagzE','capability','browserstackAgentObservability','set','setGlobal','isUndefined','2677280aLOBwD','isBrowserstackInfra','DFfZW','fuQjv','push','originalBuilder','ms:edgeOptions','getHttpAgent','JyMRc','__driversArray','url_','FSXQD','EBacR','requireSeleniumWebdriver','firefoxOptions_','session_','lEAna','FCOMf','YnQmy','https://','newHubUrl','winstonLogger','info','getAccessibilityResultsSummary','yzsxV','overrideGet','bCGJy','BxoHZ','../../../bin/utils/constants','ieOptions','pEzFq','setLogLevel','ldJVd','logLevel','XYper','HttpClient','mergeDeep','object','308voKeBt','Setting\x20Browserstack\x20capabilities','get','176393EyPFLl','OTucM','path','Modifying\x20webdriver\x20builder','storeOptimalHubUrl','__driver','setCapabilities','../../../helpers/patchHelpers','Builder','qvFBs','edgeOptions_','proxyUrl','bWsou','YmeEk','__setBrowserOptions','TQMRI','debug','7781165OfISSn','5226870kyMUIg','JxTpf','yNgiX','safariOptions_','mETIt','3454375bvctqp','goog:chromeOptions','iNyND','then'];a29_0x40ec=function(){return _0x2946f6;};return a29_0x40ec();}module[a29_0x5dfa0c(0x197)][a29_0x5dfa0c(0x1af)]=modify;
@@ -1 +1 @@
1
- const a30_0x5ebe35=a30_0x2643;(function(_0x735636,_0x221b0f){const _0x4b2f44=a30_0x2643,_0x1f666c=_0x735636();while(!![]){try{const _0x9a976f=parseInt(_0x4b2f44(0x1dc))/0x1*(parseInt(_0x4b2f44(0x1de))/0x2)+parseInt(_0x4b2f44(0x1e4))/0x3+parseInt(_0x4b2f44(0x1e8))/0x4+-parseInt(_0x4b2f44(0x1e0))/0x5*(parseInt(_0x4b2f44(0x1e6))/0x6)+parseInt(_0x4b2f44(0x1e3))/0x7*(-parseInt(_0x4b2f44(0x1dd))/0x8)+-parseInt(_0x4b2f44(0x1e1))/0x9*(-parseInt(_0x4b2f44(0x1ea))/0xa)+-parseInt(_0x4b2f44(0x1ed))/0xb;if(_0x9a976f===_0x221b0f)break;else _0x1f666c['push'](_0x1f666c['shift']());}catch(_0x223f55){_0x1f666c['push'](_0x1f666c['shift']());}}}(a30_0x2b6a,0x57783));const requestSpy=require(a30_0x5ebe35(0x1df)),constants=require(a30_0x5ebe35(0x1eb)),{addRequestSpy}=require(a30_0x5ebe35(0x1ec));function a30_0x2643(_0x21616d,_0x4626ef){const _0x2b6acb=a30_0x2b6a();return a30_0x2643=function(_0x264329,_0x489be8){_0x264329=_0x264329-0x1dc;let _0x2bc748=_0x2b6acb[_0x264329];return _0x2bc748;},a30_0x2643(_0x21616d,_0x4626ef);}exports[a30_0x5ebe35(0x1e5)]={'beforeAll'(){const _0xf71b6e=a30_0x5ebe35,_0x4e2bff={'iHQex':function(_0x58ff85){return _0x58ff85();}},_0xb31d86='browserstack internal helper hook';_0x4e2bff[_0xf71b6e(0x1e2)](addRequestSpy);},'afterAll'(){const _0x380083=a30_0x5ebe35,_0x3967db='browserstack internal helper hook';this[_0x380083(0x1e9)](0xea60),requestSpy[_0x380083(0x1e7)]();}};function a30_0x2b6a(){const _0x4fa76b=['restore','153912IiavfX','timeout','10cCeQzd','../../../bin/utils/constants','../../../helpers/test-observability/utils','7239925liSKug','3rwiPAg','48UBGEvR','430874GqGYpU','../../../helpers/request-spy','2981495fzWyop','3737871WUprVD','iHQex','120393yWuTbO','1847505dtdjEP','mochaHooks','6wSKgNL'];a30_0x2b6a=function(){return _0x4fa76b;};return a30_0x2b6a();}
1
+ function a30_0x21dc(){const _0x2f1d5d=['8972990jmvsxM','663118jurJdo','12745287CaSzDR','6574384GfwnZG','mochaHooks','3CPEBhJ','TegOM','restore','1446VVrBQZ','33223322BHbjWX','7fUseJY','../../../helpers/test-observability/utils','13255HdwEYJ','2lzhuBI','2744696dSiDCY'];a30_0x21dc=function(){return _0x2f1d5d;};return a30_0x21dc();}function a30_0x4eb0(_0x3921e7,_0x5e6ecb){const _0x21dc69=a30_0x21dc();return a30_0x4eb0=function(_0x4eb0d3,_0x5551b0){_0x4eb0d3=_0x4eb0d3-0x129;let _0x5756b0=_0x21dc69[_0x4eb0d3];return _0x5756b0;},a30_0x4eb0(_0x3921e7,_0x5e6ecb);}const a30_0xac83f3=a30_0x4eb0;(function(_0x203c5d,_0x4fcad0){const _0x5bc68e=a30_0x4eb0,_0x225799=_0x203c5d();while(!![]){try{const _0x345b58=parseInt(_0x5bc68e(0x12c))/0x1*(-parseInt(_0x5bc68e(0x129))/0x2)+parseInt(_0x5bc68e(0x130))/0x3*(parseInt(_0x5bc68e(0x12a))/0x4)+-parseInt(_0x5bc68e(0x137))/0x5*(-parseInt(_0x5bc68e(0x133))/0x6)+parseInt(_0x5bc68e(0x135))/0x7*(parseInt(_0x5bc68e(0x12e))/0x8)+parseInt(_0x5bc68e(0x12d))/0x9+parseInt(_0x5bc68e(0x12b))/0xa+-parseInt(_0x5bc68e(0x134))/0xb;if(_0x345b58===_0x4fcad0)break;else _0x225799['push'](_0x225799['shift']());}catch(_0x310328){_0x225799['push'](_0x225799['shift']());}}}(a30_0x21dc,0xbdab5));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0xac83f3(0x136));exports[a30_0xac83f3(0x12f)]={'beforeAll'(){const _0x255a26=a30_0xac83f3,_0x3bf880={'TegOM':function(_0x368f76){return _0x368f76();}},_0x175a60='browserstack internal helper hook';_0x3bf880[_0x255a26(0x131)](addRequestSpy);},'afterAll'(){const _0x1487d6=a30_0xac83f3,_0x42e77c='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x1487d6(0x132)]();}};
@@ -1 +1 @@
1
- const a31_0x8b33f3=a31_0x1aff;(function(_0x39bf3a,_0x660f0f){const _0x2d3741=a31_0x1aff,_0x247506=_0x39bf3a();while(!![]){try{const _0x457057=parseInt(_0x2d3741(0x1cd))/0x1+-parseInt(_0x2d3741(0x1c1))/0x2+parseInt(_0x2d3741(0x1cf))/0x3*(-parseInt(_0x2d3741(0x1d0))/0x4)+-parseInt(_0x2d3741(0x1cc))/0x5+parseInt(_0x2d3741(0x1b5))/0x6*(-parseInt(_0x2d3741(0x1c0))/0x7)+parseInt(_0x2d3741(0x1a2))/0x8+parseInt(_0x2d3741(0x1a5))/0x9;if(_0x457057===_0x660f0f)break;else _0x247506['push'](_0x247506['shift']());}catch(_0x3baf6b){_0x247506['push'](_0x247506['shift']());}}}(a31_0x8c8e,0x86485));function a31_0x8c8e(){const _0x504bf7=['getBrowserName','toISOString','EHEHJ','MLVnL','getHookDetails','browserstack','cOlrY','2311192OWyxDm','getCapabilities','umlwO','26987004snOdcw','uAMJY','mapTestHooks','Zmqll','emit','pid','sHirX','markedStatus','forEach','getSession','_beforeEach','uuid','etFeb','getHooksForTest','getHookSkippedTests','hook:','349956CdeSbC','sendPlatformDetails','toJSON','OVMYZ','indexOf','MKMeA','tests','bs:addPlatformDetails:','gSTel','state','xfiFa','98LQtUub','2145000dQtceR','hook','hookAnalyticsId','wASvH','_afterAll','RADsE','__cloud_provider___','sXOIW','CXbkN','KpEDf','pending','4989000veykPJ','582201oldNsJ','bwPoN','1298313LAsPbU','4ndGJir','concat','_afterEach','filter','wnWBk','vcuNH','parent','split','feMTX','getPlatform','suites','_beforeAll','../../../helpers/test-observability/constants','reduce','../../utils/logPatcher','../../../../package.json','string','QgJLb','slice','DWEdV'];a31_0x8c8e=function(){return _0x504bf7;};return a31_0x8c8e();}const {v4:uuidv4}=require(a31_0x8b33f3(0x1b0)),{name,version}=require(a31_0x8b33f3(0x1df)),logPatcher=require(a31_0x8b33f3(0x1de)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x8b33f3(0x1dc)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a31_0x1aff(_0x52bff6,_0xb033ef){const _0x8c8ea=a31_0x8c8e();return a31_0x1aff=function(_0x1aff2c,_0x373ee){_0x1aff2c=_0x1aff2c-0x19a;let _0x3f4063=_0x8c8ea[_0x1aff2c];return _0x3f4063;},a31_0x1aff(_0x52bff6,_0xb033ef);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x1c39e9=a31_0x8b33f3,_0x575576={'rmXah':'generic','bwPoN':function(_0xbe9cba){return _0xbe9cba();}};return{'ci':_0x575576['rmXah'],'key':_0x575576[_0x1c39e9(0x1ce)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x8b33f3(0x19f)]=_0x4362d0=>{const _0x1dbf69=a31_0x8b33f3,_0x1959ca={};_0x1959ca[_0x1dbf69(0x1a6)]=function(_0x10a16f,_0x33d66a){return _0x10a16f!==_0x33d66a;},_0x1959ca['etFeb']=_0x1dbf69(0x1e0),_0x1959ca[_0x1dbf69(0x1c4)]=function(_0x4a9539,_0x56f8aa){return _0x4a9539!==_0x56f8aa;},_0x1959ca[_0x1dbf69(0x1ba)]=_0x1dbf69(0x1b4),_0x1959ca['OVMYZ']=_0x1dbf69(0x1c2);const _0x212231=_0x1959ca;if(!_0x4362d0||_0x212231['uAMJY'](typeof _0x4362d0,_0x212231[_0x1dbf69(0x1b1)]))return[null,null];if(_0x212231[_0x1dbf69(0x1c4)](_0x4362d0[_0x1dbf69(0x1b9)](_0x212231[_0x1dbf69(0x1ba)]),-0x1)){const _0xf7d7ea=_0x4362d0[_0x1dbf69(0x1d7)](_0x212231[_0x1dbf69(0x1ba)]);return[_0xf7d7ea[0x0][_0x1dbf69(0x1e2)](0x0,-0x1)[_0x1dbf69(0x1d7)]('\x22')[0x1],_0xf7d7ea[0x1]['substring'](0x1)];}else{if(_0x212231[_0x1dbf69(0x1c4)](_0x4362d0['indexOf'](_0x212231[_0x1dbf69(0x1b8)]),-0x1)){const _0x3fd228=_0x4362d0['split'](_0x212231[_0x1dbf69(0x1b8)]);return[_0x3fd228[0x0][_0x1dbf69(0x1e2)](0x0,-0x1)[_0x1dbf69(0x1d7)]('\x22')[0x1],_0x4362d0];}}return[null,null];},exports['getHooksForTest']=_0x3ab966=>{const _0x23fbe7=a31_0x8b33f3,_0x306073={'SfiKP':function(_0x2b2c1b,_0x2e46c0){return _0x2b2c1b(_0x2e46c0);},'DWEdV':'_beforeAll','feMTX':_0x23fbe7(0x1c5),'KpEDf':_0x23fbe7(0x1af),'sHirX':_0x23fbe7(0x1d2)};if(!_0x3ab966||!_0x3ab966[_0x23fbe7(0x1d6)])return[];const _0x3c89ee=[];return[_0x306073[_0x23fbe7(0x19a)],_0x306073[_0x23fbe7(0x1d8)],_0x306073[_0x23fbe7(0x1ca)],_0x306073[_0x23fbe7(0x1ab)]][_0x23fbe7(0x1ad)](_0x3cc9f2=>{const _0x2e0431=_0x23fbe7,_0x4fae1f=_0x3ab966[_0x2e0431(0x1d6)][_0x3cc9f2]||[];_0x4fae1f[_0x2e0431(0x1ad)](_0x26f0b0=>{const _0x2e30f6=_0x2e0431;_0x26f0b0[_0x2e30f6(0x1c3)]&&!_0x306073['SfiKP'](isInternalHook,_0x26f0b0['fn'])&&_0x3c89ee['push'](_0x26f0b0[_0x2e30f6(0x1c3)]);});}),[..._0x3c89ee,...exports[_0x23fbe7(0x1b2)](_0x3ab966['parent'])];},exports[a31_0x8b33f3(0x1a7)]=_0x207942=>{const _0x2720c1=a31_0x8b33f3,_0x25bd16={'QgJLb':function(_0x3153e7){return _0x3153e7();},'KTvKl':function(_0x44b736,_0x2a0d40){return _0x44b736===_0x2a0d40;},'vcuNH':'_afterEach','wnWBk':_0x2720c1(0x1db),'tzxKW':_0x2720c1(0x1c5),'Zmqll':_0x2720c1(0x1af)};if(!_0x207942||!_0x207942['parent'])return;[_0x25bd16[_0x2720c1(0x1d4)],_0x25bd16['tzxKW'],_0x25bd16[_0x2720c1(0x1a8)],_0x25bd16[_0x2720c1(0x1d5)]]['forEach'](_0x2aef5d=>{const _0x219030=_0x2720c1,_0x5dc2f1=_0x207942[_0x219030(0x1d6)][_0x2aef5d]||[];_0x5dc2f1['forEach'](_0x7359e=>{const _0x46777f=_0x219030;if(!_0x7359e[_0x46777f(0x1c3)])_0x7359e[_0x46777f(0x1c3)]=_0x25bd16[_0x46777f(0x1e1)](uuidv4);else _0x7359e[_0x46777f(0x1ac)]&&_0x25bd16['KTvKl'](_0x2aef5d,_0x25bd16[_0x46777f(0x1d5)])&&(_0x7359e[_0x46777f(0x1c3)]=_0x25bd16['QgJLb'](uuidv4),delete _0x7359e[_0x46777f(0x1ac)]);});}),exports[_0x2720c1(0x1a7)](_0x207942[_0x2720c1(0x1d6)]);},exports[a31_0x8b33f3(0x1b6)]=async(_0x1e6891,_0x360896)=>{const _0x408ee7=a31_0x8b33f3,_0x530ac3={'GpEnt':function(_0x120637){return _0x120637();},'cOlrY':function(_0x453623,_0x5056d1){return _0x453623(_0x5056d1);},'bptrc':function(_0x4f0c41,_0x4d62ca){return _0x4f0c41===_0x4d62ca;},'EHEHJ':_0x408ee7(0x1a0),'CXbkN':'unknown_grid','GNRIq':'TEST_PLATFORM'};try{if(!_0x530ac3['GpEnt'](shouldProcessEventForTesthub))return;const _0x4f3b1d=await _0x1e6891[_0x408ee7(0x1a3)](),_0x3e0f93=await _0x1e6891[_0x408ee7(0x1ae)](),_0x1791c6={},_0x1ca0e0=Object['fromEntries'](_0x3e0f93['getCapabilities']()['map_']),_0x41d522={'product':_0x530ac3['cOlrY'](getObservabilityLinkedProductName,_0x1ca0e0),'capabilities':_0x1ca0e0,'platform':_0x4f3b1d[_0x408ee7(0x1d9)](),'platform_version':_0x530ac3[_0x408ee7(0x1a1)](getPlatformVersion,_0x530ac3['bptrc'](global[_0x408ee7(0x1c7)],_0x530ac3[_0x408ee7(0x19d)])),'browser':_0x4f3b1d[_0x408ee7(0x19b)](),'browser_version':_0x4f3b1d['getBrowserVersion'](),'session_id':_0x3e0f93[_0x408ee7(0x1b7)]()};global[_0x408ee7(0x1c7)]?_0x1791c6[global[_0x408ee7(0x1c7)]]=_0x41d522:_0x1791c6[_0x530ac3[_0x408ee7(0x1c9)]]=_0x41d522,process[_0x408ee7(0x1a9)](_0x408ee7(0x1bc)+process[_0x408ee7(0x1aa)],{'timestamp':new Date()[_0x408ee7(0x19c)](),'level':null,'message':null,'kind':_0x530ac3['GNRIq'],'http_response':_0x1791c6,'uuid':_0x360896});}catch(_0x31966d){_0x530ac3['cOlrY'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x31966d);}},exports[a31_0x8b33f3(0x1b3)]=_0xd6a9d0=>{const _0x4c4fdb=a31_0x8b33f3,_0x7d4b71={};_0x7d4b71[_0x4c4fdb(0x1bf)]=function(_0x2b22d1,_0x1ad497){return _0x2b22d1!==_0x1ad497;},_0x7d4b71['RADsE']=_0x4c4fdb(0x1c2),_0x7d4b71[_0x4c4fdb(0x1c8)]=function(_0x91ca28,_0x10c8a4){return _0x91ca28!==_0x10c8a4;},_0x7d4b71['umlwO']='passed',_0x7d4b71['MLVnL']=function(_0x5c9475,_0x2419cc){return _0x5c9475!==_0x2419cc;},_0x7d4b71['gSTel']='failed';const _0x6ef698=_0x7d4b71,_0x56eeec=_0xd6a9d0[_0x4c4fdb(0x1da)][_0x4c4fdb(0x1dd)]((_0x5f0139,_0x540fc3)=>{const _0x59a155=_0x4c4fdb,_0x59a535=exports[_0x59a155(0x1b3)](_0x540fc3);return _0x59a535&&(_0x5f0139=_0x5f0139[_0x59a155(0x1d1)](_0x59a535)),_0x5f0139;},[]),_0x22a54a=_0xd6a9d0[_0x4c4fdb(0x1bb)][_0x4c4fdb(0x1d3)](_0x2bf5c8=>{const _0x4ad8bf=_0x4c4fdb,_0xccd503=_0x6ef698[_0x4ad8bf(0x1bf)](_0x2bf5c8['type'],_0x6ef698[_0x4ad8bf(0x1c6)])&&!_0x2bf5c8[_0x4ad8bf(0x1ac)]&&_0x6ef698[_0x4ad8bf(0x1c8)](_0x2bf5c8[_0x4ad8bf(0x1be)],_0x6ef698[_0x4ad8bf(0x1a4)])&&_0x6ef698[_0x4ad8bf(0x19e)](_0x2bf5c8['state'],_0x6ef698[_0x4ad8bf(0x1bd)])&&!_0x2bf5c8[_0x4ad8bf(0x1cb)];return _0xccd503;});return _0x22a54a['concat'](_0x56eeec);};
1
+ const a31_0x3c1f95=a31_0x593e;function a31_0x593e(_0x4bfbd6,_0x1430cb){const _0x399d1d=a31_0x399d();return a31_0x593e=function(_0x593ef,_0x47bdb6){_0x593ef=_0x593ef-0x181;let _0x206bf6=_0x399d1d[_0x593ef];return _0x206bf6;},a31_0x593e(_0x4bfbd6,_0x1430cb);}(function(_0x21327c,_0x578086){const _0x30952b=a31_0x593e,_0x31c656=_0x21327c();while(!![]){try{const _0x1609e9=parseInt(_0x30952b(0x1d9))/0x1+-parseInt(_0x30952b(0x194))/0x2+-parseInt(_0x30952b(0x1d3))/0x3+-parseInt(_0x30952b(0x1a5))/0x4+-parseInt(_0x30952b(0x19b))/0x5*(-parseInt(_0x30952b(0x197))/0x6)+-parseInt(_0x30952b(0x1a9))/0x7+-parseInt(_0x30952b(0x18f))/0x8*(-parseInt(_0x30952b(0x183))/0x9);if(_0x1609e9===_0x578086)break;else _0x31c656['push'](_0x31c656['shift']());}catch(_0x3b773a){_0x31c656['push'](_0x31c656['shift']());}}}(a31_0x399d,0xba715));function a31_0x399d(){const _0x23a9bc=['_afterEach','5041352uufLjE','js-','reduce','fEdbE','getHookSkippedTests','2423542kpmTMB','Ptyfd','getPlatform','299940XxinVW','uuid','oXnpr','CtxOo','150cbwjZR','sNGXR','parent','xSeGw','geDtm','TBiVK','YxDEZ','ZZFSc','hook','oyueC','3826420ewkSCC','IDtrN','type','getTestEnv','8914920rDMgFh','emit','getHooksForTest','string','sendPlatformDetails','__cloud_provider___','../../../helpers/helper','fromEntries','SZiiB','bs:addPlatformDetails:','split','TEST_PLATFORM','map_','suites','markedStatus','concat','BqGJr','cHYAs','unknown_grid','Dtoza','lodash','xkseo','../../utils/logPatcher','dBGxn','bhwfi','_beforeAll','_afterAll','../../../../package.json','filter','pending','browserstack','getSession','zpIvp','hook:','toISOString','hookAnalyticsId','indexOf','nBVtf','NDTsi','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getCapabilities','substring','1524510GsUqvJ','TXPex','getHookDetails','failed','hoFmt','NSizU','63230tkFOdh','push','../../../helpers/test-observability/constants','pid','getBrowserVersion','45zIsOCS','_beforeEach','MYgqr','Qkkwd','forEach','../../../helpers/test-observability/utils','toJSON','state','slice','mapTestHooks','generic'];a31_0x399d=function(){return _0x23a9bc;};return a31_0x399d();}const {v4:uuidv4}=require(a31_0x3c1f95(0x198)),{name,version}=require(a31_0x3c1f95(0x1c4)),logPatcher=require(a31_0x3c1f95(0x1bf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x3c1f95(0x1db)),{getPlatformVersion}=require(a31_0x3c1f95(0x1af)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x3c1f95(0x1bd)),{patchConsoleLogger}=require(a31_0x3c1f95(0x188));patchConsoleLogger(),exports[a31_0x3c1f95(0x1a8)]=()=>{const _0xf6ecb=a31_0x3c1f95,_0x1400b8={'Qkkwd':_0xf6ecb(0x18d),'NDTsi':function(_0x127a05){return _0x127a05();}};return{'ci':_0x1400b8[_0xf6ecb(0x186)],'key':_0x1400b8[_0xf6ecb(0x1cf)](uuidv4),'version':version,'collector':_0xf6ecb(0x190)+name};},exports[a31_0x3c1f95(0x1d5)]=_0x1041bd=>{const _0x333747=a31_0x3c1f95,_0x36b5a8={};_0x36b5a8[_0x333747(0x1bc)]=function(_0x4d10e9,_0x2de965){return _0x4d10e9!==_0x2de965;},_0x36b5a8[_0x333747(0x192)]=_0x333747(0x1ac),_0x36b5a8[_0x333747(0x1b9)]=function(_0x5bf608,_0x50c270){return _0x5bf608!==_0x50c270;},_0x36b5a8[_0x333747(0x1a0)]=_0x333747(0x1ca),_0x36b5a8[_0x333747(0x199)]=_0x333747(0x1a3);const _0x3cdc07=_0x36b5a8;if(!_0x1041bd||_0x3cdc07['Dtoza'](typeof _0x1041bd,_0x3cdc07[_0x333747(0x192)]))return[null,null];if(_0x3cdc07[_0x333747(0x1b9)](_0x1041bd[_0x333747(0x1cd)](_0x3cdc07[_0x333747(0x1a0)]),-0x1)){const _0x54a4b8=_0x1041bd[_0x333747(0x1b3)](_0x3cdc07['TBiVK']);return[_0x54a4b8[0x0][_0x333747(0x18b)](0x0,-0x1)[_0x333747(0x1b3)]('\x22')[0x1],_0x54a4b8[0x1][_0x333747(0x1d2)](0x1)];}else{if(_0x3cdc07[_0x333747(0x1b9)](_0x1041bd[_0x333747(0x1cd)](_0x3cdc07[_0x333747(0x199)]),-0x1)){const _0x2cfacd=_0x1041bd[_0x333747(0x1b3)](_0x3cdc07['oXnpr']);return[_0x2cfacd[0x0][_0x333747(0x18b)](0x0,-0x1)[_0x333747(0x1b3)]('\x22')[0x1],_0x1041bd];}}return[null,null];},exports[a31_0x3c1f95(0x1ab)]=_0x34b6eb=>{const _0x54285a=a31_0x3c1f95,_0x500201={'oeply':function(_0x1404f2,_0x5cb76c){return _0x1404f2(_0x5cb76c);},'nBVtf':_0x54285a(0x1c2),'CtxOo':'_afterAll','IDtrN':_0x54285a(0x184),'Wgzbg':_0x54285a(0x18e)};if(!_0x34b6eb||!_0x34b6eb[_0x54285a(0x19d)])return[];const _0x153715=[];return[_0x500201[_0x54285a(0x1ce)],_0x500201[_0x54285a(0x19a)],_0x500201[_0x54285a(0x1a6)],_0x500201['Wgzbg']][_0x54285a(0x187)](_0x11fbea=>{const _0x26c1bf={'TXPex':function(_0x5de692,_0x2dcc7e){return _0x500201['oeply'](_0x5de692,_0x2dcc7e);}},_0x197374=_0x34b6eb['parent'][_0x11fbea]||[];_0x197374['forEach'](_0xa2817a=>{const _0x19c68a=a31_0x593e;_0xa2817a[_0x19c68a(0x1cc)]&&!_0x26c1bf[_0x19c68a(0x1d4)](isInternalHook,_0xa2817a['fn'])&&_0x153715[_0x19c68a(0x1da)](_0xa2817a['hookAnalyticsId']);});}),[..._0x153715,...exports[_0x54285a(0x1ab)](_0x34b6eb[_0x54285a(0x19d)])];},exports[a31_0x3c1f95(0x18c)]=_0x1518e2=>{const _0x53f0a1=a31_0x3c1f95,_0xa9ed57={'NSizU':function(_0x39ee23){return _0x39ee23();},'Ptyfd':function(_0x1e0ed0,_0x49714b){return _0x1e0ed0===_0x49714b;},'MYgqr':_0x53f0a1(0x18e),'geDtm':_0x53f0a1(0x1c2),'oyueC':_0x53f0a1(0x1c3),'bhwfi':'_beforeEach'};if(!_0x1518e2||!_0x1518e2[_0x53f0a1(0x19d)])return;[_0xa9ed57[_0x53f0a1(0x19f)],_0xa9ed57[_0x53f0a1(0x1a4)],_0xa9ed57[_0x53f0a1(0x1c1)],_0xa9ed57[_0x53f0a1(0x185)]][_0x53f0a1(0x187)](_0x57cdc4=>{const _0x287064=_0x53f0a1,_0x2a2bcf=_0x1518e2[_0x287064(0x19d)][_0x57cdc4]||[];_0x2a2bcf[_0x287064(0x187)](_0xe199eb=>{const _0x1a5e21=_0x287064;if(!_0xe199eb['hookAnalyticsId'])_0xe199eb[_0x1a5e21(0x1cc)]=_0xa9ed57[_0x1a5e21(0x1d8)](uuidv4);else _0xe199eb[_0x1a5e21(0x1b7)]&&_0xa9ed57[_0x1a5e21(0x195)](_0x57cdc4,_0xa9ed57[_0x1a5e21(0x185)])&&(_0xe199eb['hookAnalyticsId']=_0xa9ed57[_0x1a5e21(0x1d8)](uuidv4),delete _0xe199eb[_0x1a5e21(0x1b7)]);});}),exports[_0x53f0a1(0x18c)](_0x1518e2['parent']);},exports[a31_0x3c1f95(0x1ad)]=async(_0x9a9a83,_0x1ab62b)=>{const _0x512762=a31_0x3c1f95,_0x31f2c4={'cHYAs':function(_0x453160){return _0x453160();},'ZZFSc':function(_0x4cb5cd,_0x536c03){return _0x4cb5cd(_0x536c03);},'zpIvp':function(_0x49b179,_0x409b06){return _0x49b179===_0x409b06;},'sNGXR':_0x512762(0x1c7),'UqXQl':_0x512762(0x1bb),'xkseo':_0x512762(0x1b4)};try{if(!_0x31f2c4[_0x512762(0x1ba)](shouldProcessEventForTesthub))return;const _0x36e7df=await _0x9a9a83[_0x512762(0x1d1)](),_0x1fcb2e=await _0x9a9a83[_0x512762(0x1c8)](),_0xc0e026={},_0x22197b=Object[_0x512762(0x1b0)](_0x1fcb2e[_0x512762(0x1d1)]()[_0x512762(0x1b5)]),_0x15f0cc={'product':_0x31f2c4[_0x512762(0x1a2)](getObservabilityLinkedProductName,_0x22197b),'capabilities':_0x22197b,'platform':_0x36e7df[_0x512762(0x196)](),'platform_version':_0x31f2c4[_0x512762(0x1a2)](getPlatformVersion,_0x31f2c4[_0x512762(0x1c9)](global[_0x512762(0x1ae)],_0x31f2c4[_0x512762(0x19c)])),'browser':_0x36e7df['getBrowserName'](),'browser_version':_0x36e7df[_0x512762(0x182)](),'session_id':_0x1fcb2e[_0x512762(0x189)]()};global[_0x512762(0x1ae)]?_0xc0e026[global[_0x512762(0x1ae)]]=_0x15f0cc:_0xc0e026[_0x31f2c4['UqXQl']]=_0x15f0cc,process[_0x512762(0x1aa)](_0x512762(0x1b2)+process[_0x512762(0x181)],{'timestamp':new Date()[_0x512762(0x1cb)](),'level':null,'message':null,'kind':_0x31f2c4[_0x512762(0x1be)],'http_response':_0xc0e026,'uuid':_0x1ab62b});}catch(_0x38972f){_0x31f2c4[_0x512762(0x1a2)](debug,_0x512762(0x1d0)+_0x38972f);}},exports['getHookSkippedTests']=_0x59bbfe=>{const _0x46ff0b=a31_0x3c1f95,_0x36a8c6={};_0x36a8c6[_0x46ff0b(0x1d7)]=function(_0x2ac624,_0x28bbb8){return _0x2ac624!==_0x28bbb8;},_0x36a8c6['YxDEZ']='hook',_0x36a8c6[_0x46ff0b(0x19e)]='passed',_0x36a8c6[_0x46ff0b(0x1b1)]=function(_0x29e0d2,_0x3d6a15){return _0x29e0d2!==_0x3d6a15;},_0x36a8c6[_0x46ff0b(0x1c0)]=_0x46ff0b(0x1d6);const _0x335b8d=_0x36a8c6,_0x2997ea=_0x59bbfe[_0x46ff0b(0x1b6)][_0x46ff0b(0x191)]((_0x5d066c,_0x5e985d)=>{const _0x1afe74=_0x46ff0b,_0x30e92e=exports[_0x1afe74(0x193)](_0x5e985d);return _0x30e92e&&(_0x5d066c=_0x5d066c[_0x1afe74(0x1b8)](_0x30e92e)),_0x5d066c;},[]),_0x2dac94=_0x59bbfe['tests'][_0x46ff0b(0x1c5)](_0x14c347=>{const _0x22ed6e=_0x46ff0b,_0x2a415d=_0x335b8d[_0x22ed6e(0x1d7)](_0x14c347[_0x22ed6e(0x1a7)],_0x335b8d[_0x22ed6e(0x1a1)])&&!_0x14c347[_0x22ed6e(0x1b7)]&&_0x335b8d[_0x22ed6e(0x1d7)](_0x14c347[_0x22ed6e(0x18a)],_0x335b8d[_0x22ed6e(0x19e)])&&_0x335b8d[_0x22ed6e(0x1b1)](_0x14c347['state'],_0x335b8d[_0x22ed6e(0x1c0)])&&!_0x14c347[_0x22ed6e(0x1c6)];return _0x2a415d;});return _0x2dac94[_0x46ff0b(0x1b8)](_0x2997ea);};
@@ -1 +1 @@
1
- function a32_0x8572(){const _0x4a51ac=['Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','length','JRNpV','mjVoG','Failed:\x20','hOmoZ','rYXyT','__drivers','./test-observability/mochaUtils','executeScript','Performing\x20scan\x20before\x20saving\x20results','CFmKh','err','capabilities','../../helpers/testhub/utils','MHzDl','__error_messages__','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','\x20-\x20','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','state','format','thTestRunUuid','yvdIq','winstonLogger','ExosW','message','appium:app','JufNk','driverCleanup','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','ahlZt','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','info','../../helpers/performance-tester','mochaHooks','../../helpers/accessibility-automation/helper','http:','timeout','error','currentTest','ZzSCG','__sessionFailed','performScan','../../helpers/percy/utils','UUmnP','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/globals','ipSAC','saveTestResults','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','caBJy','browserstackSessionName',',\x22level\x22:\x20\x22','ENV_VAR','sessionNameSet__','69897KHJnuz','25815dPWgvI','201138GEszkF','BROWSERSTACK_TESTHUB_JWT','env','https:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isArray','thJwtToken','473241tGUzQt','../../helpers/logger','xFYys','getCurrentUrl','kXQCA','LWTsC','\x22}}','iaIAH','vsDlT','setGlobal','LijIR','testcase','executeAsyncScript','testAnalyticsId','isAccessibilityPlatform','bstackA11yShouldScan','quitCount_','JtIED','getGlobal','KJHDJ','failed','Failed\x20to\x20store\x20session\x20name:\x20','2053758OjtVjC','__skipSessionName','Passed','session_','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','\x20|\x20','108hKSCrS','AYVXn','ObservabilitySync:','oMNbf','titlePath','passed','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','initQuit','accessibilityScanStarted','startMonitoring','BROWSERSTACK_TESTHUB_UUID','protocol','then','xTRna','app','150840pqKekr','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','now','debug','stringify','thBuildUuid','../../helpers/helper','332000qsTAyN','bAufY','shouldScanTestForAccessibility','OyRvi','sawrN','vGbwU','AYyod'];a32_0x8572=function(){return _0x4a51ac;};return a32_0x8572();}const a32_0x1fe5b0=a32_0x59b0;(function(_0xc7b9be,_0x2b87c0){const _0x35387d=a32_0x59b0,_0x20ab4c=_0xc7b9be();while(!![]){try{const _0x2ea46a=-parseInt(_0x35387d(0x15b))/0x1+-parseInt(_0x35387d(0x15d))/0x2+parseInt(_0x35387d(0x165))/0x3+-parseInt(_0x35387d(0x181))/0x4*(parseInt(_0x35387d(0x15c))/0x5)+parseInt(_0x35387d(0x190))/0x6+parseInt(_0x35387d(0x17b))/0x7+parseInt(_0x35387d(0x197))/0x8;if(_0x2ea46a===_0x2b87c0)break;else _0x20ab4c['push'](_0x20ab4c['shift']());}catch(_0x47c57c){_0x20ab4c['push'](_0x20ab4c['shift']());}}}(a32_0x8572,0x32c2a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x1fe5b0(0x147)),{percyAutoCapture}=require(a32_0x1fe5b0(0x14f)),{sendPlatformDetails}=require(a32_0x1fe5b0(0x1a6)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x1fe5b0(0x196)),PerformanceTester=require(a32_0x1fe5b0(0x145)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1fe5b0(0x152)),logger=require(a32_0x1fe5b0(0x166))[a32_0x1fe5b0(0x139)],{shouldProcessEventForTesthub}=require(a32_0x1fe5b0(0x12e)),testHubConstants=require('../../helpers/testhub/constants');function a32_0x59b0(_0x31f5a9,_0x55524b){const _0x857293=a32_0x8572();return a32_0x59b0=function(_0x59b01b,_0x2ab83c){_0x59b01b=_0x59b01b-0x12b;let _0x33cb93=_0x857293[_0x59b01b];return _0x33cb93;},a32_0x59b0(_0x31f5a9,_0x55524b);}exports[a32_0x1fe5b0(0x146)]={'beforeAll'(){const _0x17fe73=a32_0x1fe5b0,_0x1b3ba9={'JufNk':function(_0x552edd,_0x4beba0,_0x304420,_0x3b7303){return _0x552edd(_0x4beba0,_0x304420,_0x3b7303);},'kodPY':_0x17fe73(0x179),'ExosW':_0x17fe73(0x180),'AYVXn':function(_0x42b25e,_0x208d9a,_0x33a932){return _0x42b25e(_0x208d9a,_0x33a932);},'JRNpV':'passed','ZzSCG':function(_0x531abb){return _0x531abb();}};PerformanceTester[_0x17fe73(0x18a)]();const _0x3a2902='browserstack internal helper hook';global[_0x17fe73(0x130)]=[],global['__sessionFailed']=![],global[_0x17fe73(0x13e)]=async()=>{const _0x309d72=_0x17fe73;let _0x15115e=![];try{await global[_0x309d72(0x1a5)][0x0]['session_'],_0x15115e=!![],global[_0x309d72(0x14d)]?await _0x1b3ba9[_0x309d72(0x13d)](markSessionStatus,global[_0x309d72(0x1a5)][0x0],_0x1b3ba9['kodPY'],global[_0x309d72(0x130)][_0x309d72(0x133)](_0x1b3ba9[_0x309d72(0x13a)])):await _0x1b3ba9[_0x309d72(0x182)](markSessionStatus,global[_0x309d72(0x1a5)][0x0],_0x1b3ba9[_0x309d72(0x1a0)]);}catch(_0x1b35fd){logger['debug'](_0x309d72(0x13f)+_0x1b35fd);}global[_0x309d72(0x130)]=[],global['__sessionFailed']=![];if(_0x15115e)try{try{_0x1b3ba9[_0x309d72(0x14c)](shouldProcessEventForTesthub)&&(global[_0x309d72(0x1a5)][0x0]&&await _0x1b3ba9[_0x309d72(0x182)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x309d72(0x14b)][_0x309d72(0x172)]:null));}catch(_0x4512c7){logger[_0x309d72(0x193)](_0x309d72(0x131)+_0x4512c7);}await global[_0x309d72(0x1a5)][0x0][_0x309d72(0x188)]();}catch(_0x22d29c){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x22d29c);}};},'beforeEach'(_0x4572a6){const _0x7a52cd=a32_0x1fe5b0,_0x70eb3f={'iaIAH':function(_0x454030,_0xf3e0a9){return _0x454030>_0xf3e0a9;},'OyRvi':function(_0x54fc13,_0x205b67){return _0x54fc13>_0x205b67;},'sawrN':'\x20-\x20','LijIR':function(_0x2c5337,_0x121b3a,_0x370630){return _0x2c5337(_0x121b3a,_0x370630);},'AnHLz':_0x7a52cd(0x174),'CFmKh':function(_0x22a34d){return _0x22a34d();},'yvdIq':function(_0x28c6ef,_0x3d7ee6){return _0x28c6ef>_0x3d7ee6;},'caBJy':_0x7a52cd(0x173),'AYyod':function(_0x517dc3,_0x72ae76){return _0x517dc3===_0x72ae76;},'cLZhf':_0x7a52cd(0x148),'xTRna':function(_0x4764a9,_0x41072a){return _0x4764a9===_0x41072a;},'mjVoG':_0x7a52cd(0x160),'SlLfQ':_0x7a52cd(0x19e),'hOmoZ':'Automate\x20test\x20case\x20execution\x20has\x20started.'};new Promise(async _0x36a17d=>{const _0x42d9e7=_0x7a52cd,_0x166032='browserstack internal helper hook';let _0x26c6be=!![];try{_0x70eb3f[_0x42d9e7(0x16c)](global[_0x42d9e7(0x1a5)][_0x42d9e7(0x19f)],0x1)&&(await global[_0x42d9e7(0x13e)](),global['__drivers']['shift']()),_0x70eb3f[_0x42d9e7(0x19a)](global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x175)],0x0)&&(_0x26c6be=![],await global[_0x42d9e7(0x13e)]());}catch(_0x59370a){logger['debug'](_0x42d9e7(0x142)+_0x59370a);}try{Array['isArray'](global[_0x42d9e7(0x1a5)])&&global[_0x42d9e7(0x1a5)][0x0]&&(global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x157)]=this['currentTest'][_0x42d9e7(0x185)]()[_0x42d9e7(0x133)](_0x70eb3f[_0x42d9e7(0x19b)])),global[_0x42d9e7(0x157)]=this[_0x42d9e7(0x14b)]['titlePath']()[_0x42d9e7(0x133)](_0x70eb3f[_0x42d9e7(0x19b)]);}catch(_0x1c5575){logger[_0x42d9e7(0x193)](_0x42d9e7(0x17a)+_0x1c5575);}this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]=_0x70eb3f[_0x42d9e7(0x16f)](shouldScanTestForAccessibility,this[_0x42d9e7(0x14b)][_0x42d9e7(0x185)](),!![]),globals[_0x42d9e7(0x16e)](_0x70eb3f['AnHLz'],this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]),this['currentTest'][_0x42d9e7(0x189)]=!![];if(_0x70eb3f['CFmKh'](isAccessibilityAutomationSession)&&_0x26c6be&&Array[_0x42d9e7(0x163)](global[_0x42d9e7(0x1a5)])&&_0x70eb3f[_0x42d9e7(0x138)](global[_0x42d9e7(0x1a5)][_0x42d9e7(0x19f)],0x0)&&globals[_0x42d9e7(0x177)](_0x70eb3f[_0x42d9e7(0x156)]))try{const _0x4bcad7=await global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x17e)];if(_0x4bcad7){let _0x3a277b=!![];const _0x4183d3=await global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x168)]();let _0x17ae99;try{_0x17ae99=new URL(_0x4183d3);}catch(_0x366043){_0x3a277b=![];}_0x3a277b=_0x70eb3f[_0x42d9e7(0x19d)](_0x17ae99[_0x42d9e7(0x18c)],_0x70eb3f['cLZhf'])||_0x70eb3f[_0x42d9e7(0x18e)](_0x17ae99[_0x42d9e7(0x18c)],_0x70eb3f[_0x42d9e7(0x1a1)]),_0x3a277b&&(this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]&&logger[_0x42d9e7(0x144)](_0x70eb3f['SlLfQ'])),this[_0x42d9e7(0x14b)]['accessibilityScanStarted']=this[_0x42d9e7(0x14b)]['shouldScanTestForAccessibility'],this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]&&logger[_0x42d9e7(0x144)](_0x70eb3f[_0x42d9e7(0x1a3)]);}}catch(_0x412253){logger[_0x42d9e7(0x14a)](_0x42d9e7(0x17f)+util[_0x42d9e7(0x136)](_0x412253));}_0x70eb3f[_0x42d9e7(0x12b)](_0x36a17d);})['then'](_0x4572a6);},'afterEach'(_0x3e0251){const _0x48ee79=a32_0x1fe5b0,_0x56f75c={'ipSAC':function(_0xb4edf9,_0x2fecde){return _0xb4edf9>_0x2fecde;},'vsDlT':function(_0x11e6c3,_0x59f1cc){return _0x11e6c3===_0x59f1cc;},'oMNbf':_0x48ee79(0x170),'ahlZt':_0x48ee79(0x13c),'JtIED':function(_0x4a39ef,_0x3f0e9b,_0x220e3e,_0x55d2ea){return _0x4a39ef(_0x3f0e9b,_0x220e3e,_0x55d2ea);},'NqEwf':_0x48ee79(0x132),'bAufY':function(_0x4d0318,_0x166020){return _0x4d0318!==_0x166020;},'vhShI':_0x48ee79(0x186),'MHzDl':function(_0x4f4b61,_0x580328,_0x52b801){return _0x4f4b61(_0x580328,_0x52b801);},'rYXyT':function(_0x2a73a7,_0x2809c0){return _0x2a73a7+_0x2809c0;},'Gnzmf':_0x48ee79(0x1a2),'UUmnP':_0x48ee79(0x14a),'KJHDJ':_0x48ee79(0x17d),'sZtQn':_0x48ee79(0x144),'gisTh':'isAccessibilityPlatform','qADfY':_0x48ee79(0x174),'vGbwU':_0x48ee79(0x162),'gUyZe':_0x48ee79(0x1a8),'xFYys':_0x48ee79(0x143),'kXQCA':function(_0x115dbf){return _0x115dbf();},'ImhHN':_0x48ee79(0x193),'pnrdK':function(_0x57dd36,_0x53dc90){return _0x57dd36>_0x53dc90;}},_0xd98339='browserstack internal helper hook';this[_0x48ee79(0x149)](0xfde8);const _0x18737b=async(_0x1e6cc9,_0x280136)=>{const _0x328088=_0x48ee79;await global[_0x328088(0x1a5)][0x0]['executeScript'](_0x328088(0x151)+_0x1e6cc9+_0x328088(0x158)+_0x280136+_0x328088(0x16b));};new Promise(async _0x18bcf3=>{const _0x3e3adf=_0x48ee79;try{_0x56f75c[_0x3e3adf(0x153)](global[_0x3e3adf(0x1a5)]['length'],0x1)&&(await global[_0x3e3adf(0x13e)](),global[_0x3e3adf(0x1a5)]['shift'](),global[_0x3e3adf(0x130)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x56f75c[_0x3e3adf(0x16d)](global['percyCaptureMode'],_0x56f75c[_0x3e3adf(0x184)])&&global['__drivers'][0x0]){const _0x2513a8=_0x56f75c['ipSAC'](global['capabilities'][_0x3e3adf(0x19f)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x3e3adf(0x12d)][0x0][_0x56f75c[_0x3e3adf(0x141)]]:![],_0x1a76fa={};_0x1a76fa[_0x3e3adf(0x18f)]=_0x2513a8,await _0x56f75c[_0x3e3adf(0x176)](percyAutoCapture,global['__drivers'][0x0],_0x56f75c[_0x3e3adf(0x184)],_0x1a76fa);}}catch(_0x3c4a2c){logger[_0x3e3adf(0x193)](_0x3e3adf(0x134)+_0x3c4a2c);}!global[_0x3e3adf(0x17c)]&&(await global['__drivers'][0x0][_0x3e3adf(0x1a7)](_0x3e3adf(0x140)+JSON[_0x3e3adf(0x194)](this[_0x3e3adf(0x14b)][_0x3e3adf(0x185)]()[_0x3e3adf(0x133)](_0x56f75c['NqEwf']))+'}}'),global[_0x3e3adf(0x1a5)][0x0][_0x3e3adf(0x15a)]=!![]);const _0x367244=_0x56f75c[_0x3e3adf(0x198)](this['currentTest'][_0x3e3adf(0x135)],_0x56f75c['vhShI']);_0x367244?(global['__sessionFailed']=!![],global['__error_messages__']['push'](this[_0x3e3adf(0x14b)][_0x3e3adf(0x12c)][_0x3e3adf(0x13b)]),await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON['stringify'](_0x56f75c[_0x3e3adf(0x1a4)](_0x56f75c['Gnzmf'],this[_0x3e3adf(0x14b)][_0x3e3adf(0x12c)][_0x3e3adf(0x13b)])),_0x56f75c[_0x3e3adf(0x150)])):await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON['stringify'](_0x56f75c[_0x3e3adf(0x178)]),_0x56f75c['sZtQn']);}catch(_0x558091){logger['debug'](_0x3e3adf(0x187)+_0x558091);}try{if(this[_0x3e3adf(0x14b)][_0x3e3adf(0x189)]&&globals[_0x3e3adf(0x177)](_0x56f75c['gisTh'])&&globals[_0x3e3adf(0x177)](_0x56f75c['qADfY'])){logger[_0x3e3adf(0x144)](_0x56f75c[_0x3e3adf(0x19c)]);const _0x26dfe7={};_0x26dfe7[_0x3e3adf(0x137)]=this[_0x3e3adf(0x14b)][_0x3e3adf(0x172)],_0x26dfe7[_0x3e3adf(0x195)]=process[_0x3e3adf(0x15f)][testHubConstants[_0x3e3adf(0x159)][_0x3e3adf(0x18b)]],_0x26dfe7[_0x3e3adf(0x164)]=process['env'][testHubConstants[_0x3e3adf(0x159)][_0x3e3adf(0x15e)]];const _0x5503c2=_0x26dfe7;logger[_0x3e3adf(0x193)](_0x3e3adf(0x161)+JSON[_0x3e3adf(0x194)](_0x5503c2)),logger['debug'](_0x56f75c['gUyZe']),logger[_0x3e3adf(0x193)](util[_0x3e3adf(0x136)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x3e3adf(0x14e)],{'method':global['browserstackSessionName']}))),await global[_0x3e3adf(0x1a5)][0x0][_0x3e3adf(0x171)](scripts[_0x3e3adf(0x154)],_0x5503c2),logger[_0x3e3adf(0x144)](_0x56f75c[_0x3e3adf(0x167)]);}}catch(_0x396002){logger[_0x3e3adf(0x14a)](_0x3e3adf(0x191)+this[_0x3e3adf(0x14b)][_0x3e3adf(0x185)]()+'.\x20Error\x20:',_0x396002);}try{try{if(_0x56f75c[_0x3e3adf(0x169)](shouldProcessEventForTesthub)){global[_0x3e3adf(0x1a5)][0x0]&&await _0x56f75c['MHzDl'](sendPlatformDetails,global[_0x3e3adf(0x1a5)][0x0],this[_0x3e3adf(0x14b)]?this['currentTest'][_0x3e3adf(0x172)]:null);if(_0x56f75c[_0x3e3adf(0x169)](isBrowserstackInfra)){const _0x3bf521=_0x3e3adf(0x183)+Date[_0x3e3adf(0x192)]();await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON[_0x3e3adf(0x194)](_0x3bf521),_0x56f75c['ImhHN']);}}}catch(_0x28a412){logger[_0x3e3adf(0x193)](_0x3e3adf(0x155)+_0x28a412);}_0x56f75c['pnrdK'](global['__drivers'][0x0][_0x3e3adf(0x175)],0x0)&&await global[_0x3e3adf(0x13e)]();}catch(_0x541aa4){logger['debug'](_0x3e3adf(0x142)+_0x541aa4);}_0x56f75c['kXQCA'](_0x18bcf3);})['then'](()=>_0x3e0251());},'afterAll'(_0x236a3c){const _0x3ce275=a32_0x1fe5b0,_0x482559={'LWTsC':function(_0x5494cf){return _0x5494cf();}},_0xd3ca4c='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x5178c7=>{const _0x36fe18=a32_0x59b0;PerformanceTester['stopMonitoring'](),await global['driverCleanup'](),_0x482559[_0x36fe18(0x16a)](_0x5178c7);})[_0x3ce275(0x18d)](()=>_0x236a3c());}};
1
+ function a32_0x3ed8(){const _0xeee44d=['session_','59577PlbQEe','CVaHE','mWNtl','../../helpers/globals','PcgeZ','UObah','Failed:\x20','Failed\x20to\x20store\x20session\x20name:\x20','now','accessibilityScanStarted','shift','./test-observability/mochaUtils','__skipSessionName','driverCleanup','aDAzl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','capabilities','cfCyc','DUMvy','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','EInty','performScan','SMPuK','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','izHYr','XkBex','ENV_VAR','TYSqo','../../helpers/percy/utils','titlePath','app','isArray','BROWSERSTACK_TESTHUB_JWT','smZNS','thJwtToken','\x20-\x20','pVFwW','4121112YEHPEs','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','KmqSU','failed','push','bstackA11yShouldScan','AysFo','thBuildUuid','OkWCJ','__sessionFailed','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','ObservabilitySync:','BROWSERSTACK_TESTHUB_UUID','144FHQRJM','TnBxZ','err','DAGbf','qGRYF','20837682UXZLKV','MExDM','http:','GWfNv','env','../../helpers/testhub/utils','timeout','setGlobal','join','shouldScanTestForAccessibility','testcase','stringify','testAnalyticsId','protocol','winstonLogger','info','executeScript','umpFk','startMonitoring','appium:app','browserstackSessionName','../../helpers/helper','format','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','yjZVU','quitCount_','IAXAj','currentTest','message','getCurrentUrl','../../helpers/accessibility-automation/helper','saveTestResults','FHVFH','Japni','Dyiee','irYTi','DTQOP','error','Performing\x20scan\x20before\x20saving\x20results','1457080CDqxhF','\x22}}','ZzLAx','3qCKbtg','percyCaptureMode','stopMonitoring','__drivers','ncAsF','.\x20Error\x20:','__error_messages__','https:','then','VZuWJ','debug','VDFwQ','PKHaj','passed','executeAsyncScript','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','initQuit','212392oZmriI','KpkzF','sessionNameSet__','length','346956FAkDxN','788505ikUeEf'];a32_0x3ed8=function(){return _0xeee44d;};return a32_0x3ed8();}const a32_0xc163ba=a32_0x24cc;(function(_0x15a74d,_0x48fb24){const _0x33278c=a32_0x24cc,_0x5bb35a=_0x15a74d();while(!![]){try{const _0x3911a9=-parseInt(_0x33278c(0xf1))/0x1+-parseInt(_0x33278c(0xec))/0x2+-parseInt(_0x33278c(0xdb))/0x3*(parseInt(_0x33278c(0x119))/0x4)+parseInt(_0x33278c(0xd8))/0x5+parseInt(_0x33278c(0xf0))/0x6+parseInt(_0x33278c(0xf3))/0x7*(-parseInt(_0x33278c(0x127))/0x8)+parseInt(_0x33278c(0x12c))/0x9;if(_0x3911a9===_0x48fb24)break;else _0x5bb35a['push'](_0x5bb35a['shift']());}catch(_0xa1e3c4){_0x5bb35a['push'](_0x5bb35a['shift']());}}}(a32_0x3ed8,0x8f27b));function a32_0x24cc(_0x1a1622,_0x4ff058){const _0x3ed877=a32_0x3ed8();return a32_0x24cc=function(_0x24cc12,_0x1e1afd){_0x24cc12=_0x24cc12-0xce;let _0x208f06=_0x3ed877[_0x24cc12];return _0x208f06;},a32_0x24cc(_0x1a1622,_0x4ff058);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0xc163ba(0xcf)),{percyAutoCapture}=require(a32_0xc163ba(0x110)),{sendPlatformDetails}=require(a32_0xc163ba(0xfe)),{isBrowserstackInfra,markSessionStatus}=require(a32_0xc163ba(0x141)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0xc163ba(0xf6)),logger=require('../../helpers/logger')[a32_0xc163ba(0x13a)],{shouldProcessEventForTesthub}=require(a32_0xc163ba(0x131)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x1da280=a32_0xc163ba,_0x46780e={'mWNtl':function(_0x34cb3d,_0x45f1c1,_0x5718ca,_0x1e436c){return _0x34cb3d(_0x45f1c1,_0x5718ca,_0x1e436c);},'ncAsF':_0x1da280(0x11c),'Dyiee':'\x20|\x20','PngXe':function(_0x4f46f9,_0x2002f5,_0x51cdd0){return _0x4f46f9(_0x2002f5,_0x51cdd0);},'VDFwQ':_0x1da280(0xe8),'PcgeZ':function(_0x35b7cb){return _0x35b7cb();},'SMPuK':function(_0x32b7a7,_0x13be70,_0x2e52e7){return _0x32b7a7(_0x13be70,_0x2e52e7);}};PerformanceTester[_0x1da280(0x13e)]();const _0x4d743b='browserstack internal helper hook';global['__error_messages__']=[],global[_0x1da280(0x122)]=![],global[_0x1da280(0x100)]=async()=>{const _0x31a4eb=_0x1da280;let _0x362cc4=![];try{await global[_0x31a4eb(0xde)][0x0]['session_'],_0x362cc4=!![],global[_0x31a4eb(0x122)]?await _0x46780e[_0x31a4eb(0xf5)](markSessionStatus,global['__drivers'][0x0],_0x46780e[_0x31a4eb(0xdf)],global['__error_messages__'][_0x31a4eb(0x134)](_0x46780e[_0x31a4eb(0xd3)])):await _0x46780e['PngXe'](markSessionStatus,global['__drivers'][0x0],_0x46780e[_0x31a4eb(0xe6)]);}catch(_0x3296a6){logger['debug'](_0x31a4eb(0x144)+_0x3296a6);}global['__error_messages__']=[],global[_0x31a4eb(0x122)]=![];if(_0x362cc4)try{try{_0x46780e[_0x31a4eb(0xf7)](shouldProcessEventForTesthub)&&(global[_0x31a4eb(0xde)][0x0]&&await _0x46780e[_0x31a4eb(0x10a)](sendPlatformDetails,global[_0x31a4eb(0xde)][0x0],this['currentTest']?this['currentTest'][_0x31a4eb(0x138)]:null));}catch(_0x89619a){logger[_0x31a4eb(0xe5)](_0x31a4eb(0x143)+_0x89619a);}await global['__drivers'][0x0][_0x31a4eb(0xeb)]();}catch(_0x37fde4){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37fde4);}};},'beforeEach'(_0x47d2b2){const _0x314b5f=a32_0xc163ba,_0x1305ed={'XBAQB':function(_0x32e5ac,_0x62617d){return _0x32e5ac>_0x62617d;},'CVaHE':function(_0x4d1d09,_0x2775de){return _0x4d1d09>_0x2775de;},'TnBxZ':'\x20-\x20','XkBex':function(_0x4ed5e3,_0x3d8893,_0x46f028){return _0x4ed5e3(_0x3d8893,_0x46f028);},'WXAAs':_0x314b5f(0x11e),'EInty':function(_0x43e73d){return _0x43e73d();},'IAXAj':function(_0xb1ced9,_0xea759e){return _0xb1ced9>_0xea759e;},'PKHaj':'isAccessibilityPlatform','umpFk':function(_0x509f7e,_0x550f77){return _0x509f7e===_0x550f77;},'LiFoH':_0x314b5f(0x12e),'AysFo':function(_0x2e57e1,_0x24c31e){return _0x2e57e1===_0x24c31e;},'qGRYF':_0x314b5f(0xe2),'GWfNv':_0x314b5f(0x123),'TYSqo':'Automate\x20test\x20case\x20execution\x20has\x20started.','izHYr':function(_0x27327c){return _0x27327c();}};new Promise(async _0x4ee622=>{const _0x30cbba=_0x314b5f,_0x344f98='browserstack internal helper hook';let _0x92ec47=!![];try{_0x1305ed['XBAQB'](global[_0x30cbba(0xde)]['length'],0x1)&&(await global[_0x30cbba(0x100)](),global[_0x30cbba(0xde)][_0x30cbba(0xfd)]()),_0x1305ed[_0x30cbba(0xf4)](global[_0x30cbba(0xde)][0x0]['quitCount_'],0x0)&&(_0x92ec47=![],await global[_0x30cbba(0x100)]());}catch(_0x1eaf68){logger['debug'](_0x30cbba(0x124)+_0x1eaf68);}try{Array[_0x30cbba(0x113)](global[_0x30cbba(0xde)])&&global[_0x30cbba(0xde)][0x0]&&(global[_0x30cbba(0xde)][0x0]['browserstackSessionName']=this[_0x30cbba(0x148)]['titlePath']()[_0x30cbba(0x134)](_0x1305ed[_0x30cbba(0x128)])),global[_0x30cbba(0x140)]=this[_0x30cbba(0x148)]['titlePath']()[_0x30cbba(0x134)](_0x1305ed[_0x30cbba(0x128)]);}catch(_0x2024e9){logger['debug'](_0x30cbba(0xfa)+_0x2024e9);}this[_0x30cbba(0x148)][_0x30cbba(0x135)]=_0x1305ed[_0x30cbba(0x10d)](shouldScanTestForAccessibility,this[_0x30cbba(0x148)][_0x30cbba(0x111)](),!![]),globals[_0x30cbba(0x133)](_0x1305ed['WXAAs'],this[_0x30cbba(0x148)][_0x30cbba(0x135)]),this[_0x30cbba(0x148)][_0x30cbba(0xfc)]=!![];if(_0x1305ed[_0x30cbba(0x108)](isAccessibilityAutomationSession)&&_0x92ec47&&Array['isArray'](global[_0x30cbba(0xde)])&&_0x1305ed[_0x30cbba(0x147)](global[_0x30cbba(0xde)][_0x30cbba(0xef)],0x0)&&globals['getGlobal'](_0x1305ed[_0x30cbba(0xe7)]))try{const _0xa53554=await global['__drivers'][0x0][_0x30cbba(0xf2)];if(_0xa53554){let _0x1266e4=!![];const _0x45948c=await global[_0x30cbba(0xde)][0x0][_0x30cbba(0xce)]();let _0xc49f89;try{_0xc49f89=new URL(_0x45948c);}catch(_0x501742){_0x1266e4=![];}_0x1266e4=_0x1305ed[_0x30cbba(0x13d)](_0xc49f89[_0x30cbba(0x139)],_0x1305ed['LiFoH'])||_0x1305ed[_0x30cbba(0x11f)](_0xc49f89[_0x30cbba(0x139)],_0x1305ed[_0x30cbba(0x12b)]),_0x1266e4&&(this[_0x30cbba(0x148)][_0x30cbba(0x135)]&&logger[_0x30cbba(0x13b)](_0x1305ed[_0x30cbba(0x12f)])),this[_0x30cbba(0x148)][_0x30cbba(0xfc)]=this['currentTest'][_0x30cbba(0x135)],this[_0x30cbba(0x148)][_0x30cbba(0x135)]&&logger[_0x30cbba(0x13b)](_0x1305ed[_0x30cbba(0x10f)]);}}catch(_0x1892a9){logger[_0x30cbba(0xd6)](_0x30cbba(0xea)+util[_0x30cbba(0x142)](_0x1892a9));}_0x1305ed[_0x30cbba(0x10c)](_0x4ee622);})[_0x314b5f(0xe3)](_0x47d2b2);},'afterEach'(_0x19adb5){const _0x10a663=a32_0xc163ba,_0x572faf={'OsuEV':function(_0x38a601,_0x1931b4){return _0x38a601>_0x1931b4;},'pVFwW':function(_0x5e5acb,_0x3190af){return _0x5e5acb===_0x3190af;},'aDAzl':_0x10a663(0x136),'KpkzF':function(_0x375f28,_0x29b1c3){return _0x375f28>_0x29b1c3;},'DTQOP':_0x10a663(0x13f),'VZuWJ':function(_0x43e403,_0xec31fb,_0x342156,_0x1b3d7b){return _0x43e403(_0xec31fb,_0x342156,_0x1b3d7b);},'gVVxU':_0x10a663(0x117),'bYCmT':function(_0xce565c,_0x4354b1){return _0xce565c!==_0x4354b1;},'Japni':'passed','UObah':function(_0x5f4a22,_0x38526c,_0x306250){return _0x5f4a22(_0x38526c,_0x306250);},'FHVFH':function(_0x3c3504,_0x27fa6e){return _0x3c3504+_0x27fa6e;},'yctzk':_0x10a663(0xf9),'DAGbf':_0x10a663(0xd6),'irYTi':function(_0x1ed9c1,_0x3d8c58,_0xf09978){return _0x1ed9c1(_0x3d8c58,_0xf09978);},'cfCyc':'Passed','KmqSU':_0x10a663(0x13b),'OkWCJ':'isAccessibilityPlatform','DUMvy':_0x10a663(0x11e),'niYWC':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yjZVU':_0x10a663(0xd7),'lBfJi':_0x10a663(0x103),'MExDM':function(_0x56a807){return _0x56a807();},'ZzLAx':function(_0xee1e78,_0x239880,_0x2e5906){return _0xee1e78(_0x239880,_0x2e5906);},'cirhE':_0x10a663(0xe5)},_0x13b94d='browserstack internal helper hook';this['timeout'](0xfde8);const _0x3ceba5=async(_0x19becb,_0x468ccc)=>{const _0x323477=_0x10a663;await global[_0x323477(0xde)][0x0][_0x323477(0x13c)](_0x323477(0x11a)+_0x19becb+',\x22level\x22:\x20\x22'+_0x468ccc+_0x323477(0xd9));};new Promise(async _0xa762c1=>{const _0x278c3d=_0x10a663;try{_0x572faf['OsuEV'](global['__drivers'][_0x278c3d(0xef)],0x1)&&(await global['driverCleanup'](),global[_0x278c3d(0xde)][_0x278c3d(0xfd)](),global[_0x278c3d(0xe1)]=[],global[_0x278c3d(0x122)]=![]);try{if(global['percy']&&_0x572faf[_0x278c3d(0x118)](global[_0x278c3d(0xdc)],_0x572faf[_0x278c3d(0x101)])&&global[_0x278c3d(0xde)][0x0]){const _0x282118=_0x572faf[_0x278c3d(0xed)](global[_0x278c3d(0x104)]['length'],0x0)?!!global[_0x278c3d(0x104)][0x0][_0x278c3d(0x112)]||!!global[_0x278c3d(0x104)][0x0][_0x572faf[_0x278c3d(0xd5)]]:![],_0x5956fc={};_0x5956fc[_0x278c3d(0x112)]=_0x282118,await _0x572faf[_0x278c3d(0xe4)](percyAutoCapture,global[_0x278c3d(0xde)][0x0],_0x572faf[_0x278c3d(0x101)],_0x5956fc);}}catch(_0x53e1b5){logger[_0x278c3d(0xe5)](_0x278c3d(0x102)+_0x53e1b5);}!global[_0x278c3d(0xff)]&&(await global[_0x278c3d(0xde)][0x0][_0x278c3d(0x13c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x278c3d(0x148)][_0x278c3d(0x111)]()[_0x278c3d(0x134)](_0x572faf['gVVxU']))+'}}'),global['__drivers'][0x0][_0x278c3d(0xee)]=!![]);const _0x458ef7=_0x572faf['bYCmT'](this[_0x278c3d(0x148)]['state'],_0x572faf[_0x278c3d(0xd2)]);_0x458ef7?(global[_0x278c3d(0x122)]=!![],global[_0x278c3d(0xe1)][_0x278c3d(0x11d)](this[_0x278c3d(0x148)][_0x278c3d(0x129)][_0x278c3d(0x149)]),await _0x572faf['UObah'](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x572faf[_0x278c3d(0xd1)](_0x572faf['yctzk'],this['currentTest'][_0x278c3d(0x129)][_0x278c3d(0x149)])),_0x572faf[_0x278c3d(0x12a)])):await _0x572faf[_0x278c3d(0xd4)](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x572faf[_0x278c3d(0x105)]),_0x572faf[_0x278c3d(0x11b)]);}catch(_0x73523c){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x73523c);}try{if(this[_0x278c3d(0x148)][_0x278c3d(0xfc)]&&globals['getGlobal'](_0x572faf[_0x278c3d(0x121)])&&globals['getGlobal'](_0x572faf[_0x278c3d(0x106)])){logger[_0x278c3d(0x13b)](_0x572faf['niYWC']);const _0x1ba7aa={};_0x1ba7aa['thTestRunUuid']=this[_0x278c3d(0x148)][_0x278c3d(0x138)],_0x1ba7aa[_0x278c3d(0x120)]=process[_0x278c3d(0x130)][testHubConstants[_0x278c3d(0x10e)][_0x278c3d(0x126)]],_0x1ba7aa[_0x278c3d(0x116)]=process[_0x278c3d(0x130)][testHubConstants[_0x278c3d(0x10e)][_0x278c3d(0x114)]];const _0x39f241=_0x1ba7aa;logger[_0x278c3d(0xe5)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x278c3d(0x137)](_0x39f241)),logger[_0x278c3d(0xe5)](_0x572faf[_0x278c3d(0x145)]),logger[_0x278c3d(0xe5)](util[_0x278c3d(0x142)](await global[_0x278c3d(0xde)][0x0]['executeAsyncScript'](scripts[_0x278c3d(0x109)],{'method':global[_0x278c3d(0x140)]}))),await global[_0x278c3d(0xde)][0x0][_0x278c3d(0xe9)](scripts[_0x278c3d(0xd0)],_0x39f241),logger[_0x278c3d(0x13b)](_0x572faf['lBfJi']);}}catch(_0x42b817){logger['error'](_0x278c3d(0x10b)+this[_0x278c3d(0x148)][_0x278c3d(0x111)]()+_0x278c3d(0xe0),_0x42b817);}try{try{if(_0x572faf[_0x278c3d(0x12d)](shouldProcessEventForTesthub)){global[_0x278c3d(0xde)][0x0]&&await _0x572faf[_0x278c3d(0xda)](sendPlatformDetails,global[_0x278c3d(0xde)][0x0],this['currentTest']?this[_0x278c3d(0x148)][_0x278c3d(0x138)]:null);if(_0x572faf[_0x278c3d(0x12d)](isBrowserstackInfra)){const _0x1e575c=_0x278c3d(0x125)+Date[_0x278c3d(0xfb)]();await _0x572faf[_0x278c3d(0xf8)](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x1e575c),_0x572faf['cirhE']);}}}catch(_0x305a8f){logger[_0x278c3d(0xe5)](_0x278c3d(0x107)+_0x305a8f);}_0x572faf[_0x278c3d(0xed)](global[_0x278c3d(0xde)][0x0][_0x278c3d(0x146)],0x0)&&await global[_0x278c3d(0x100)]();}catch(_0xd68944){logger[_0x278c3d(0xe5)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xd68944);}_0x572faf[_0x278c3d(0x12d)](_0xa762c1);})['then'](()=>_0x19adb5());},'afterAll'(_0x318185){const _0x6dcc26=a32_0xc163ba,_0x532b3c={'smZNS':function(_0x11a51c){return _0x11a51c();}},_0x5d850f='browserstack internal helper hook';this[_0x6dcc26(0x132)](0xfde8),new Promise(async _0xd3ad3f=>{const _0x49f156=_0x6dcc26;PerformanceTester[_0x49f156(0xdd)](),await global[_0x49f156(0x100)](),_0x532b3c[_0x49f156(0x115)](_0xd3ad3f);})['then'](()=>_0x318185());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0xcca7(){const _0x2fb070=['join','getPlatformName','nightwatch.conf.js','../utils/constants','uRtNy','hbxcO','gXagR','splice','trim','FGlHw','qXnZL','nightwatch.cmd','unlinkSync','selenium','length','ZEfZA','forEach','xQJGA','165bAWgEO','host','Ifzjb','34586onLSnq','--config','BlEht','env','YgCVb','exports','slice','--env','child_process','31feQnzp','AhEtz','930756aNUfjE','AcYCs','../../helpers/logger','writeFileSync','nightwatch-browserstack.json','cwd','config','modifyBrowserStackCaps','platforms','path','178011VyXDOD','622710VBPxmi','push','NUMAa','awnjx','672tdDbVY','AYMEk','2280299MsqmLN','filter','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch','existsSync','stringify','webdriver','50lTjBQl','port','findIndex','UVLfT','child\x20process\x20exited\x20with\x20code\x20','start_process','desiredCapabilities','test_settings','nightwatch.json','info','../../helpers/helper','6SfqMxI','2306304WIdxHP','GSJrX','1917JVXLhL','useW3C'];a33_0xcca7=function(){return _0x2fb070;};return a33_0xcca7();}const a33_0x43a22c=a33_0x3d11;(function(_0x351c33,_0x47a699){const _0x44dc07=a33_0x3d11,_0x4c190c=_0x351c33();while(!![]){try{const _0x5a06a8=parseInt(_0x44dc07(0xfb))/0x1*(-parseInt(_0x44dc07(0xf2))/0x2)+parseInt(_0x44dc07(0xdb))/0x3*(-parseInt(_0x44dc07(0xc4))/0x4)+-parseInt(_0x44dc07(0xc0))/0x5+-parseInt(_0x44dc07(0xd8))/0x6*(-parseInt(_0x44dc07(0xc6))/0x7)+-parseInt(_0x44dc07(0xd9))/0x8+-parseInt(_0x44dc07(0xbf))/0x9*(parseInt(_0x44dc07(0xcd))/0xa)+-parseInt(_0x44dc07(0xef))/0xb*(-parseInt(_0x44dc07(0xfd))/0xc);if(_0x5a06a8===_0x47a699)break;else _0x4c190c['push'](_0x4c190c['shift']());}catch(_0x16f52d){_0x4c190c['push'](_0x4c190c['shift']());}}}(a33_0xcca7,0x518da));function a33_0x3d11(_0x596b84,_0xeef0d3){const _0xcca763=a33_0xcca7();return a33_0x3d11=function(_0x3d118d,_0xab3d90){_0x3d118d=_0x3d118d-0xb6;let _0x130e3c=_0xcca763[_0x3d118d];return _0x130e3c;},a33_0x3d11(_0x596b84,_0xeef0d3);}const fs=require('fs'),path=require(a33_0x43a22c(0xbe)),{spawn}=require(a33_0x43a22c(0xfa)),logger=require(a33_0x43a22c(0xb7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x43a22c(0xd7)),constants=require(a33_0x43a22c(0xe0)),getUserNightwatchConfigs=(_0x19b97a,_0x13497b)=>{const _0x573ccd=a33_0x43a22c,_0x19ba1b={'QRIsl':_0x573ccd(0xdf),'YgCVb':_0x573ccd(0xd5),'NUMAa':function(_0x1de729,_0x4b1758){return _0x1de729(_0x4b1758);},'ZEfZA':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x4ff6b0=null,_0x4d503d={};const _0x4dbb8f=_0x13497b[_0x573ccd(0xcf)](_0x149d06=>_0x149d06===_0x573ccd(0xf3));if(!helper['isUndefined'](_0x19b97a[_0x573ccd(0xbb)])&&fs[_0x573ccd(0xca)](path['join'](process[_0x573ccd(0xba)](),_0x19b97a[_0x573ccd(0xbb)])))_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19b97a['config']),_0x13497b[_0x573ccd(0xe4)](_0x4dbb8f,0x2);else{if(fs['existsSync'](path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b['QRIsl'])))_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b['QRIsl']);else fs[_0x573ccd(0xca)](path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b[_0x573ccd(0xf6)]))&&(_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b[_0x573ccd(0xf6)]));}return _0x4ff6b0?(logger[_0x573ccd(0xd6)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4ff6b0),_0x4d503d=_0x19ba1b[_0x573ccd(0xc2)](require,_0x4ff6b0)):logger['info'](_0x19ba1b[_0x573ccd(0xec)]),_0x4d503d;},removeExistingEnvs=_0x3f6e87=>{const _0x49bd4b=a33_0x43a22c,_0x2a85db={};_0x2a85db[_0x49bd4b(0xee)]=function(_0x3d44c5,_0x56249f){return _0x3d44c5>_0x56249f;},_0x2a85db['awnjx']=function(_0x9f7c6d,_0x1fc199){return _0x9f7c6d>_0x1fc199;};const _0x2b41b8=_0x2a85db;let _0x3afe32=_0x3f6e87[_0x49bd4b(0xcf)](_0x56b436=>_0x56b436===_0x49bd4b(0xf9));_0x2b41b8['xQJGA'](_0x3afe32,-0x1)&&_0x3f6e87[_0x49bd4b(0xe4)](_0x3afe32,0x2),_0x3afe32=_0x3f6e87[_0x49bd4b(0xcf)](_0x5f5a69=>_0x5f5a69==='-e'),_0x2b41b8[_0x49bd4b(0xc3)](_0x3afe32,-0x1)&&_0x3f6e87[_0x49bd4b(0xe4)](_0x3afe32,0x2);};function run(_0x484d3b,_0xd3119b){const _0x3e9259=a33_0x43a22c,_0x2f2ef7={'Ifzjb':_0x3e9259(0xc9),'FGlHw':function(_0x3ca2af,_0xcacfb6){return _0x3ca2af+_0xcacfb6;},'EkuxI':_0x3e9259(0xd4),'qjqGC':function(_0x52b081,_0x23c8f2,_0x4e2737){return _0x52b081(_0x23c8f2,_0x4e2737);},'gXagR':'hub.browserstack.com','GSJrX':_0x3e9259(0xc8),'AYMEk':function(_0x1648c6,_0x41562b){return _0x1648c6===_0x41562b;},'BlEht':_0x3e9259(0xb9),'AcYCs':function(_0x1e7db3,_0x49af15){return _0x1e7db3(_0x49af15);},'uRtNy':function(_0x4bb4cd,_0x50a59a,_0x50c222,_0x1e8da6){return _0x4bb4cd(_0x50a59a,_0x50c222,_0x1e8da6);},'nwUyX':_0x3e9259(0xe8),'clAcp':_0x3e9259(0xf3),'cYaoq':'--env','qXnZL':'inherit','UVLfT':'close'},_0x36dc78=new BrowserStackSetup(_0x484d3b);if(!_0x36dc78[_0x3e9259(0xbb)])return;const _0x38c5a9=_0x2f2ef7['qjqGC'](getUserNightwatchConfigs,_0x484d3b,_0xd3119b),_0x352c6a={};_0x352c6a[_0x3e9259(0xd2)]=![];const _0x393a2f={};_0x393a2f[_0x3e9259(0xf0)]=_0x2f2ef7[_0x3e9259(0xe3)],_0x393a2f[_0x3e9259(0xce)]=0x1bb;const _0x47631c={};_0x47631c[_0x3e9259(0xcc)]=_0x352c6a,_0x47631c[_0x3e9259(0xea)]=_0x393a2f;const _0x5d6d27=_0x47631c;logger['info'](_0x2f2ef7[_0x3e9259(0xda)]);const _0x315ae2={..._0x38c5a9},_0x1ac959=_0x315ae2,_0xe6b301=helper[_0x3e9259(0xdc)](_0x36dc78[_0x3e9259(0xbb)]),_0x119c8d=[];_0x36dc78[_0x3e9259(0xbb)][_0x3e9259(0xbd)][_0x3e9259(0xed)]((_0x15c964,_0x2a0fd7)=>{const _0xb60697=_0x3e9259;_0xe6b301?_0x119c8d['push'](helper['modifyBrowserStackW3CCaps'](_0x36dc78['config'],_0x2f2ef7[_0xb60697(0xf1)],_0x2a0fd7)):_0x119c8d[_0xb60697(0xc1)](helper[_0xb60697(0xbc)](_0x36dc78[_0xb60697(0xbb)],_0x2f2ef7['Ifzjb'],_0x2a0fd7));});const _0x30dab0={},_0x296b9a=[];_0x484d3b['env']=_0x484d3b['env']||_0x484d3b['e'];const _0x4fb6f9=_0x484d3b[_0x3e9259(0xf5)]?_0x484d3b[_0x3e9259(0xf5)][_0x3e9259(0xe5)]()['split'](',')['map'](_0x6f0918=>_0x6f0918[_0x3e9259(0xe5)]())[_0x3e9259(0xc7)](_0x391816=>_0x391816!==''):[''];_0x2f2ef7[_0x3e9259(0xc5)](_0x4fb6f9[_0x3e9259(0xeb)],0x0)&&_0x4fb6f9['push']('');_0x4fb6f9[_0x3e9259(0xed)](_0x577b69=>{const _0x4998e5={'AhEtz':function(_0xd59408,_0x320c3f){const _0x41e6ec=a33_0x3d11;return _0x2f2ef7[_0x41e6ec(0xe6)](_0xd59408,_0x320c3f);},'hbxcO':_0x2f2ef7['EkuxI']};_0x119c8d['forEach'](_0x39d77e=>{const _0x15336d=a33_0x3d11;let _0x332eaf=_0x4998e5[_0x15336d(0xfc)](helper[_0x15336d(0xde)](_0x39d77e,'_'),'_'+Date['now']());_0x577b69&&(_0x332eaf+='_'+_0x577b69);if(_0x577b69&&(!_0x38c5a9[_0x4998e5[_0x15336d(0xe2)]]||!_0x38c5a9[_0x4998e5[_0x15336d(0xe2)]][_0x577b69]))return;const _0x20c5e2={..._0x5d6d27};_0x20c5e2[_0x15336d(0xd3)]=_0x39d77e;const _0x2adbbc=_0x20c5e2;_0x30dab0[_0x332eaf]=_0x577b69?helper['mergeDeep'](_0x38c5a9[_0x4998e5['hbxcO']][_0x577b69],_0x2adbbc):_0x2adbbc,_0x296b9a['push'](_0x332eaf);});});!_0x1ac959['test_settings']&&(_0x1ac959[_0x3e9259(0xd4)]={});_0x1ac959[_0x3e9259(0xd4)]={..._0x1ac959[_0x3e9259(0xd4)],..._0x30dab0};const _0x3ed646=path[_0x3e9259(0xdd)](__dirname,_0x2f2ef7[_0x3e9259(0xf4)]);fs[_0x3e9259(0xb8)](_0x3ed646,JSON[_0x3e9259(0xcb)](_0x1ac959)),_0x2f2ef7[_0x3e9259(0xb6)](removeExistingEnvs,_0xd3119b);const _0x52e9ea=_0x2f2ef7[_0x3e9259(0xe1)](spawn,/^win/['test'](process['platform'])?_0x2f2ef7['nwUyX']:_0x2f2ef7[_0x3e9259(0xf1)],[_0x2f2ef7['clAcp'],_0x3ed646,..._0xd3119b[_0x3e9259(0xf8)](0x1),_0x2f2ef7['cYaoq'],_0x296b9a[_0x3e9259(0xdd)](',')],{'stdio':_0x2f2ef7[_0x3e9259(0xe7)]});_0x52e9ea['on'](_0x2f2ef7[_0x3e9259(0xd0)],async _0x2c00a3=>{const _0x15527b=_0x3e9259;logger['debug'](_0x15527b(0xd1)+_0x2c00a3),logger['info']('Deleting\x20'+_0x3ed646),fs[_0x15527b(0xe9)](_0x3ed646);});}module[a33_0x43a22c(0xf7)]=run;
2
+ 'use strict';const a33_0x1b9796=a33_0x1d17;(function(_0x45786a,_0x2391f9){const _0x66d82a=a33_0x1d17,_0x168c24=_0x45786a();while(!![]){try{const _0x5d19be=parseInt(_0x66d82a(0x175))/0x1+-parseInt(_0x66d82a(0x199))/0x2*(-parseInt(_0x66d82a(0x167))/0x3)+parseInt(_0x66d82a(0x1ac))/0x4+-parseInt(_0x66d82a(0x1b1))/0x5+-parseInt(_0x66d82a(0x16b))/0x6*(parseInt(_0x66d82a(0x17c))/0x7)+-parseInt(_0x66d82a(0x166))/0x8*(-parseInt(_0x66d82a(0x19a))/0x9)+-parseInt(_0x66d82a(0x1b3))/0xa*(parseInt(_0x66d82a(0x189))/0xb);if(_0x5d19be===_0x2391f9)break;else _0x168c24['push'](_0x168c24['shift']());}catch(_0x140f54){_0x168c24['push'](_0x168c24['shift']());}}}(a33_0x9eda,0xa898e));function a33_0x9eda(){const _0x264708=['port','oLppa','../../helpers/logger','175pkxmAd','nightwatch.conf.js','TibKu','nightwatch.cmd','existsSync','join','XpRub','hub.browserstack.com','mRuxP','forEach','trim','Deleting\x20','zsyhO','30580ucApbU','ntSoj','HUlVm','selenium','CHKql','slice','UWqWL','Pyojh','isUndefined','--env','child\x20process\x20exited\x20with\x20code\x20','config','KwxsU','../../helpers/BrowserStackSetup','wKfnM','exports','70kkWSnA','4650831XcKwhH','ZnNWK','inherit','platforms','filter','findIndex','push','kDhQF','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','close','modifyBrowserStackCaps','start_process','path','stringify','info','child_process','EgRtm','debug','5187876sydBXG','host','fpwVU','BWXTh','modifyBrowserStackW3CCaps','3344660WBHskB','test_settings','5480ImrHMS','--config','env','nightwatch','8YnnGeV','82434KtmtRt','platform','webdriver','KUZId','178692Qdoehu','mergeDeep','nightwatch.json','cwd','nightwatch-browserstack.json','Getting\x20your\x20nightwatch\x20configs\x20from\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','rIIWi','winstonLogger','../utils/constants','852038elWHwe','length','useW3C','GUfwM'];a33_0x9eda=function(){return _0x264708;};return a33_0x9eda();}function a33_0x1d17(_0x5956da,_0x567c3f){const _0x9eda14=a33_0x9eda();return a33_0x1d17=function(_0x1d17cd,_0x30683d){_0x1d17cd=_0x1d17cd-0x165;let _0x4a9bba=_0x9eda14[_0x1d17cd];return _0x4a9bba;},a33_0x1d17(_0x5956da,_0x567c3f);}const fs=require('fs'),path=require(a33_0x1b9796(0x1a6)),{spawn}=require(a33_0x1b9796(0x1a9)),logger=require(a33_0x1b9796(0x17b))[a33_0x1b9796(0x173)],{default:BrowserStackSetup}=require(a33_0x1b9796(0x196)),helper=require('../../helpers/helper'),constants=require(a33_0x1b9796(0x174)),getUserNightwatchConfigs=(_0x226374,_0x4496bb)=>{const _0x259bfd=a33_0x1b9796,_0x522571={'BWXTh':_0x259bfd(0x17d),'fpwVU':_0x259bfd(0x16d),'KwxsU':function(_0x5ed2c3,_0x1ed43c){return _0x5ed2c3(_0x1ed43c);},'wKfnM':_0x259bfd(0x171)};let _0x11a564=null,_0x325d72={};const _0x34991d=_0x4496bb[_0x259bfd(0x19f)](_0x29cac6=>_0x29cac6===_0x259bfd(0x1b4));if(!helper[_0x259bfd(0x191)](_0x226374['config'])&&fs[_0x259bfd(0x180)](path[_0x259bfd(0x181)](process[_0x259bfd(0x16e)](),_0x226374[_0x259bfd(0x194)])))_0x11a564=path[_0x259bfd(0x181)](process[_0x259bfd(0x16e)](),_0x226374[_0x259bfd(0x194)]),_0x4496bb['splice'](_0x34991d,0x2);else{if(fs[_0x259bfd(0x180)](path[_0x259bfd(0x181)](process['cwd'](),_0x522571[_0x259bfd(0x1af)])))_0x11a564=path['join'](process['cwd'](),_0x522571[_0x259bfd(0x1af)]);else fs[_0x259bfd(0x180)](path['join'](process['cwd'](),_0x522571['fpwVU']))&&(_0x11a564=path[_0x259bfd(0x181)](process[_0x259bfd(0x16e)](),_0x522571[_0x259bfd(0x1ae)]));}return _0x11a564?(logger[_0x259bfd(0x1a8)](_0x259bfd(0x170)+_0x11a564),_0x325d72=_0x522571[_0x259bfd(0x195)](require,_0x11a564)):logger[_0x259bfd(0x1a8)](_0x522571[_0x259bfd(0x197)]),_0x325d72;},removeExistingEnvs=_0x3592eb=>{const _0xcb1dd1=a33_0x1b9796,_0x267031={};_0x267031['zsyhO']=function(_0x524759,_0x5a2db9){return _0x524759>_0x5a2db9;},_0x267031['EgRtm']=function(_0x594af8,_0x37d8fa){return _0x594af8>_0x37d8fa;};const _0x54b6ce=_0x267031;let _0x2149a9=_0x3592eb[_0xcb1dd1(0x19f)](_0x163ade=>_0x163ade===_0xcb1dd1(0x192));_0x54b6ce[_0xcb1dd1(0x188)](_0x2149a9,-0x1)&&_0x3592eb['splice'](_0x2149a9,0x2),_0x2149a9=_0x3592eb[_0xcb1dd1(0x19f)](_0x580336=>_0x580336==='-e'),_0x54b6ce[_0xcb1dd1(0x1aa)](_0x2149a9,-0x1)&&_0x3592eb['splice'](_0x2149a9,0x2);};function run(_0x456272,_0x14b6d0){const _0x36206a=a33_0x1b9796,_0x3898a9={'TibKu':_0x36206a(0x165),'ZnNWK':function(_0x26293e,_0x5f59fc){return _0x26293e+_0x5f59fc;},'mRuxP':_0x36206a(0x1b2),'ntSoj':function(_0x51900b,_0x432b1e,_0x58b68c){return _0x51900b(_0x432b1e,_0x58b68c);},'GUfwM':_0x36206a(0x183),'oLppa':_0x36206a(0x1a2),'JNZAI':function(_0x5781bb,_0x1c3be9){return _0x5781bb===_0x1c3be9;},'KUZId':_0x36206a(0x16f),'CHKql':function(_0x298b51,_0x369f50){return _0x298b51(_0x369f50);},'kDhQF':function(_0x3e62d0,_0x48c507,_0x4b1714,_0x30cd7a){return _0x3e62d0(_0x48c507,_0x4b1714,_0x30cd7a);},'UWqWL':_0x36206a(0x17f),'nQTzq':_0x36206a(0x1b4),'rIIWi':'--env','zOOCr':_0x36206a(0x19c),'Pyojh':_0x36206a(0x1a3)},_0x38aa13=new BrowserStackSetup(_0x456272);if(!_0x38aa13['config'])return;const _0x1173bc=_0x3898a9[_0x36206a(0x18a)](getUserNightwatchConfigs,_0x456272,_0x14b6d0),_0x4258f4={};_0x4258f4[_0x36206a(0x1a5)]=![];const _0x32af27={};_0x32af27[_0x36206a(0x1ad)]=_0x3898a9[_0x36206a(0x178)],_0x32af27[_0x36206a(0x179)]=0x1bb;const _0x5b4205={};_0x5b4205[_0x36206a(0x169)]=_0x4258f4,_0x5b4205[_0x36206a(0x18c)]=_0x32af27;const _0xd17091=_0x5b4205;logger['info'](_0x3898a9[_0x36206a(0x17a)]);const _0x5cbcc9={..._0x1173bc},_0x3f68b4=_0x5cbcc9,_0x44efa9=helper[_0x36206a(0x177)](_0x38aa13[_0x36206a(0x194)]),_0x119832=[];_0x38aa13[_0x36206a(0x194)][_0x36206a(0x19d)]['forEach']((_0x21ad89,_0x32cc1d)=>{const _0x43aef1=_0x36206a;_0x44efa9?_0x119832['push'](helper[_0x43aef1(0x1b0)](_0x38aa13[_0x43aef1(0x194)],_0x3898a9[_0x43aef1(0x17e)],_0x32cc1d)):_0x119832[_0x43aef1(0x1a0)](helper[_0x43aef1(0x1a4)](_0x38aa13[_0x43aef1(0x194)],_0x3898a9['TibKu'],_0x32cc1d));});const _0xe58970={},_0x336c50=[];_0x456272[_0x36206a(0x1b5)]=_0x456272[_0x36206a(0x1b5)]||_0x456272['e'];const _0x1e3826=_0x456272[_0x36206a(0x1b5)]?_0x456272[_0x36206a(0x1b5)]['trim']()['split'](',')['map'](_0x3e3537=>_0x3e3537[_0x36206a(0x186)]())[_0x36206a(0x19e)](_0x3b51a8=>_0x3b51a8!==''):[''];_0x3898a9['JNZAI'](_0x1e3826[_0x36206a(0x176)],0x0)&&_0x1e3826[_0x36206a(0x1a0)]('');_0x1e3826[_0x36206a(0x185)](_0x2a1e8d=>{const _0x342b4e=_0x36206a,_0xcce8e0={'HUlVm':function(_0x3f101d,_0x1d34f7){const _0x319a51=a33_0x1d17;return _0x3898a9[_0x319a51(0x19b)](_0x3f101d,_0x1d34f7);},'XpRub':_0x3898a9[_0x342b4e(0x184)]};_0x119832['forEach'](_0x331cd5=>{const _0x3383f9=_0x342b4e;let _0x28e4ec=_0xcce8e0[_0x3383f9(0x18b)](helper['getPlatformName'](_0x331cd5,'_'),'_'+Date['now']());_0x2a1e8d&&(_0x28e4ec+='_'+_0x2a1e8d);if(_0x2a1e8d&&(!_0x1173bc[_0xcce8e0[_0x3383f9(0x182)]]||!_0x1173bc[_0xcce8e0['XpRub']][_0x2a1e8d]))return;const _0xb6c34={..._0xd17091};_0xb6c34['desiredCapabilities']=_0x331cd5;const _0x265045=_0xb6c34;_0xe58970[_0x28e4ec]=_0x2a1e8d?helper[_0x3383f9(0x16c)](_0x1173bc[_0xcce8e0[_0x3383f9(0x182)]][_0x2a1e8d],_0x265045):_0x265045,_0x336c50[_0x3383f9(0x1a0)](_0x28e4ec);});});!_0x3f68b4[_0x36206a(0x1b2)]&&(_0x3f68b4[_0x36206a(0x1b2)]={});_0x3f68b4[_0x36206a(0x1b2)]={..._0x3f68b4[_0x36206a(0x1b2)],..._0xe58970};const _0x2ef17a=path[_0x36206a(0x181)](__dirname,_0x3898a9[_0x36206a(0x16a)]);fs['writeFileSync'](_0x2ef17a,JSON[_0x36206a(0x1a7)](_0x3f68b4)),_0x3898a9[_0x36206a(0x18d)](removeExistingEnvs,_0x14b6d0);const _0x1ae865=_0x3898a9[_0x36206a(0x1a1)](spawn,/^win/['test'](process[_0x36206a(0x168)])?_0x3898a9[_0x36206a(0x18f)]:_0x3898a9[_0x36206a(0x17e)],[_0x3898a9['nQTzq'],_0x2ef17a,..._0x14b6d0[_0x36206a(0x18e)](0x1),_0x3898a9[_0x36206a(0x172)],_0x336c50[_0x36206a(0x181)](',')],{'stdio':_0x3898a9['zOOCr']});_0x1ae865['on'](_0x3898a9[_0x36206a(0x190)],async _0x5ef0b2=>{const _0x3efc7d=_0x36206a;logger[_0x3efc7d(0x1ab)](_0x3efc7d(0x193)+_0x5ef0b2),logger['info'](_0x3efc7d(0x187)+_0x2ef17a),fs['unlinkSync'](_0x2ef17a);});}module[a33_0x1b9796(0x198)]=run;
@@ -1 +1 @@
1
- function a34_0x118c(){const _0x49d74b=['chrome','browserStackExecuteDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','replace','browser_version','deviceName','bstackSdkArgs','21590XGlJyL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jpkQJ','project','kadQX','accessibilityOptions.authToken','21672bXIgdo','accessibilityOptions','../../helpers/accessibility-automation/scripts','pXlRf','190Bkpiwo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','use','kRIAf','lzVgK','browserName','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','wprjZ','WebDriver','latest','FsehD','BS_A11Y_JWT','44491awtbTM','wsEndpoint','mafkL','KNFnv','evaluate','zAJWN','xuAlk','77URqjed','Bvlck','performScan','3764tXrrUY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','method','getAccessibilityResultsSummary','55CmAPjn','iVhus','debug','../../helpers/logger','mqBXt','constructor','QFExR','currentTest','playwright-chromium','Playwright','util','OHtct','stringify','accessibilityOptions.scannerVersion','browserStackEvaluate','oRFvN','6qyMRZw','OeMNf','ijXtX','894732ZdtNCl','AObvj','isJiv','LsIkh','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','testInfo','browserstack.accessibility','scannerProcessingTimeout','vOLQc','processAccessibilityCaps','1832tDuvrw','riAsI','xcAlg','includeIssueType','927xGVXAG','needsReview','executeScript','nNlZz','accessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','name','winstonLogger','MzCbu','DYiOI','warn','env','wcagVersion','358458doqsKp','executeAsyncScript','KHzlj','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','bestPractice','../../helpers/accessibility-automation/helper','iFYUd','browser','../../helpers/helper','platformValidation','format','No\x20summaryResults\x20found.','EulnV','VIyCH'];a34_0x118c=function(){return _0x49d74b;};return a34_0x118c();}const a34_0x21f1ee=a34_0x2b73;(function(_0x1f7e1f,_0x1d4185){const _0x5dd158=a34_0x2b73,_0xebfb20=_0x1f7e1f();while(!![]){try{const _0x2a5a7f=parseInt(_0x5dd158(0xf8))/0x1*(-parseInt(_0x5dd158(0x116))/0x2)+parseInt(_0x5dd158(0xe8))/0x3+parseInt(_0x5dd158(0x102))/0x4*(parseInt(_0x5dd158(0xec))/0x5)+parseInt(_0x5dd158(0xcb))/0x6+-parseInt(_0x5dd158(0xff))/0x7*(-parseInt(_0x5dd158(0x123))/0x8)+parseInt(_0x5dd158(0x127))/0x9*(-parseInt(_0x5dd158(0xe1))/0xa)+-parseInt(_0x5dd158(0x106))/0xb*(-parseInt(_0x5dd158(0x119))/0xc);if(_0x2a5a7f===_0x1d4185)break;else _0xebfb20['push'](_0xebfb20['shift']());}catch(_0x5261cc){_0xebfb20['push'](_0xebfb20['shift']());}}}(a34_0x118c,0x1dd57));const util=require(a34_0x21f1ee(0x110)),logger=require(a34_0x21f1ee(0x109))[a34_0x21f1ee(0xc5)],{isAccessibilityAutomationSession}=require(a34_0x21f1ee(0xd0)),{isUndefined}=require(a34_0x21f1ee(0xd3)),scripts=require(a34_0x21f1ee(0xea));function a34_0x2b73(_0x3ff435,_0xadcbc8){const _0x118cb1=a34_0x118c();return a34_0x2b73=function(_0x2b7315,_0xa3ae43){_0x2b7315=_0x2b7315-0xc1;let _0x1649c0=_0x118cb1[_0x2b7315];return _0x1649c0;},a34_0x2b73(_0x3ff435,_0xadcbc8);}exports[a34_0x21f1ee(0x114)]=async(_0xb709fd,_0x2bf3e5,_0x427f78={})=>{const _0x9f969d=a34_0x21f1ee,_0x207c3d={};_0x207c3d[_0x9f969d(0x124)]=_0x9f969d(0xe0);const _0x59ce93=_0x207c3d;return await _0xb709fd[_0x9f969d(0xfc)](_0x9f969d(0xce)+_0x2bf3e5[_0x9f969d(0xdd)](/arguments/g,_0x59ce93[_0x9f969d(0x124)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x9f969d(0x112)](_0x427f78)+')');},exports[a34_0x21f1ee(0xda)]=async(_0x1e4832,_0x1eb117,_0x336f8d={})=>{const _0x5869eb=a34_0x21f1ee,_0x3a8a76={};_0x3a8a76[_0x5869eb(0xd8)]=function(_0x59e686,_0x3938c4){return _0x59e686===_0x3938c4;},_0x3a8a76['KHzlj']=_0x5869eb(0xf4),_0x3a8a76[_0x5869eb(0xc7)]=_0x5869eb(0x10f),_0x3a8a76[_0x5869eb(0xf3)]=_0x5869eb(0xe0);const _0x473b2d=_0x3a8a76;if(_0x473b2d[_0x5869eb(0xd8)](_0x1e4832[_0x5869eb(0x10b)]['name'],_0x473b2d[_0x5869eb(0xcd)]))return await _0x1e4832[_0x5869eb(0xcc)](_0x1eb117,_0x336f8d);else{if(_0x473b2d[_0x5869eb(0xd8)](_0x1e4832['constructor'][_0x5869eb(0xc4)],_0x473b2d[_0x5869eb(0xc7)]))return await _0x1e4832[_0x5869eb(0x129)](_0x5869eb(0xdc)+_0x1eb117[_0x5869eb(0xdd)](/arguments/g,_0x473b2d[_0x5869eb(0xf3)])+_0x5869eb(0x11d)+JSON[_0x5869eb(0x112)](_0x336f8d)+')');}},exports['setAccessibilityCapabilities']=async _0x2351f8=>{const _0x2bc2c1=a34_0x21f1ee,_0x522887={};_0x522887['ERHZZ']='accessibilityOptions.wcagVersion',_0x522887[_0x2bc2c1(0xd1)]='accessibilityOptions.scannerProcessingTimeout',_0x522887[_0x2bc2c1(0xfe)]='accessibilityOptions.includeIssueType.bestPractice',_0x522887[_0x2bc2c1(0x10c)]='accessibilityOptions.includeIssueType.needsReview',_0x522887[_0x2bc2c1(0xeb)]=_0x2bc2c1(0xe7),_0x522887[_0x2bc2c1(0xf0)]=_0x2bc2c1(0x113);const _0x2a7e39=_0x522887;_0x2351f8[_0x2bc2c1(0xe9)]&&(_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0xca)]&&(_0x2351f8[_0x2a7e39['ERHZZ']]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0xca)]),_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x120)]&&(_0x2351f8[_0x2a7e39[_0x2bc2c1(0xd1)]]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x120)]),_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x126)]&&(_0x2351f8[_0x2a7e39['xuAlk']]=_0x2351f8[_0x2bc2c1(0xe9)]['includeIssueType'][_0x2bc2c1(0xcf)],_0x2351f8[_0x2a7e39['QFExR']]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x126)][_0x2bc2c1(0x128)]));const _0x4f3611=JSON['parse'](process[_0x2bc2c1(0xc9)][_0x2bc2c1(0xed)])['scannerVersion'];_0x2351f8[_0x2a7e39[_0x2bc2c1(0xeb)]]=process[_0x2bc2c1(0xc9)][_0x2bc2c1(0xf7)],_0x2351f8[_0x2a7e39[_0x2bc2c1(0xf0)]]=_0x4f3611,delete _0x2351f8['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x2039d1=>{const _0x140091=a34_0x21f1ee,_0x3f14cc={};_0x3f14cc[_0x140091(0x107)]=_0x140091(0xc2),_0x3f14cc[_0x140091(0x125)]=_0x140091(0xe3);const _0x5c0bb1=_0x3f14cc;if(global[_0x140091(0xc1)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x2039d1,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x2039d1,scripts.getResults);return res;}catch{return logger['error'](_0x5c0bb1['iVhus']),[];}else return logger[_0x140091(0xc8)](_0x5c0bb1[_0x140091(0x125)]),[];},exports[a34_0x21f1ee(0x101)]=async(_0x49d12e,_0x40de3c='')=>{const _0x33a58=a34_0x21f1ee;if(global['accessibilityPlatform']){const _0x3aa6ec={};return _0x3aa6ec[_0x33a58(0x104)]=_0x40de3c,await exports['browserStackEvaluate'](_0x49d12e,scripts[_0x33a58(0x101)],_0x3aa6ec);}},exports[a34_0x21f1ee(0x105)]=async _0x5bc760=>{const _0x1ba294=a34_0x21f1ee,_0x69babd={};_0x69babd[_0x1ba294(0xef)]=_0x1ba294(0xd6),_0x69babd[_0x1ba294(0x121)]=_0x1ba294(0xe2);const _0xdcb8be=_0x69babd;if(global[_0x1ba294(0xc1)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5bc760,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x5bc760,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x1ba294(0x108)](_0xdcb8be[_0x1ba294(0xef)]),{};}else return logger[_0x1ba294(0xc8)](_0xdcb8be['vOLQc']),{};},exports[a34_0x21f1ee(0xd4)]=async _0x3d5012=>{const _0x45fe97=a34_0x21f1ee,_0x45082f={'OHtct':function(_0x2e9df6,_0x467281){return _0x2e9df6!==_0x467281;},'isJiv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','KNFnv':function(_0x2b0bc0,_0x390f5c){return _0x2b0bc0===_0x390f5c;},'wkhaN':_0x45fe97(0xd9),'EulnV':'playwright-chromium','LsIkh':_0x45fe97(0xc3),'zAJWN':function(_0x2a1d72,_0x13ed62){return _0x2a1d72(_0x13ed62);},'AObvj':_0x45fe97(0xf5),'ZtzlZ':function(_0x9934bb,_0x3d7d05){return _0x9934bb>_0x3d7d05;},'OeMNf':_0x45fe97(0xdb)};try{if(!_0x45082f[_0x45fe97(0x111)](_0x3d5012[_0x45fe97(0xdf)],''))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x11b)]),![];const _0x20d091=_0x3d5012[_0x45fe97(0xd2)];if(!(_0x45082f[_0x45fe97(0xfb)](_0x20d091,_0x45082f['wkhaN'])||_0x45082f[_0x45fe97(0xfb)](_0x20d091,_0x45082f[_0x45fe97(0xd7)])))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x11c)]),![];const _0x5d91c3=_0x45082f[_0x45fe97(0xfd)](parseInt,_0x3d5012['browser_version']);if(!(_0x45082f[_0x45fe97(0xfb)](_0x5d91c3,_0x45082f[_0x45fe97(0x11a)])||_0x45082f['ZtzlZ'](_0x5d91c3,0x5e)))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x117)]),![];}catch(_0x539dcb){logger[_0x45fe97(0x108)](_0x45fe97(0xf2)+util[_0x45fe97(0xd5)](_0x539dcb));}return!![];},exports[a34_0x21f1ee(0x122)]=(_0x4b011a,_0x41582e,_0x45ff79)=>{const _0x59b9db=a34_0x21f1ee,_0x45331c={'mqBXt':function(_0x4383aa){return _0x4383aa();},'nNlZz':_0x59b9db(0x11f),'mafkL':function(_0x406552,_0x4ab37){return _0x406552===_0x4ab37;},'MzCbu':_0x59b9db(0xd9),'FsehD':function(_0x51c8ba,_0x50aec5){return _0x51c8ba===_0x50aec5;},'oRFvN':_0x59b9db(0x10e),'kadQX':_0x59b9db(0xc3),'ijXtX':_0x59b9db(0xf5),'UrRWZ':function(_0xd47095,_0x39d5b0){return _0xd47095>_0x39d5b0;},'mcBmX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jpkQJ':function(_0x45fc49,_0x2a9bf0){return _0x45fc49(_0x2a9bf0);},'Bvlck':_0x59b9db(0x103),'vyXOw':function(_0x5367bd,_0x3a3160){return _0x5367bd+_0x3a3160;},'SBZlg':function(_0x8bdc73,_0x41243a){return _0x8bdc73(_0x41243a);}};try{if(_0x45331c[_0x59b9db(0x10a)](isAccessibilityAutomationSession)){global[_0x59b9db(0xc1)]=!![];!_0x4b011a[_0x45331c[_0x59b9db(0x12a)]]&&(global[_0x59b9db(0xc1)]=![]);!(_0x45331c[_0x59b9db(0xfa)](_0x4b011a[_0x59b9db(0xf1)],_0x45331c[_0x59b9db(0xc6)])||_0x45331c[_0x59b9db(0xf6)](_0x4b011a[_0x59b9db(0xf1)],_0x45331c[_0x59b9db(0x115)]))&&(logger[_0x59b9db(0xc8)](_0x45331c[_0x59b9db(0xe6)]),global['accessibilityPlatform']=![]);!(_0x45331c[_0x59b9db(0xf6)](_0x4b011a[_0x59b9db(0xde)],_0x45331c[_0x59b9db(0x118)])||_0x45331c['UrRWZ'](_0x4b011a['browser_version'],0x5e))&&(logger[_0x59b9db(0xc8)](_0x45331c['mcBmX']),global[_0x59b9db(0xc1)]=![]);!_0x45331c[_0x59b9db(0xe4)](isUndefined,_0x4b011a[_0x59b9db(0xdf)])&&(logger[_0x59b9db(0xc8)](_0x45331c[_0x59b9db(0x100)]),global[_0x59b9db(0xc1)]=![]);if(!global['accessibilityPlatform']){_0x4b011a[_0x45331c[_0x59b9db(0x12a)]]=![];const _0x5bca0a=_0x45331c['vyXOw'](_0x41582e,_0x45331c['SBZlg'](encodeURIComponent,JSON['stringify'](_0x4b011a)));_0x45ff79&&(_0x45ff79[_0x59b9db(0x10d)][_0x59b9db(0x11e)]['project'][_0x59b9db(0xee)]['connectOptions'][_0x59b9db(0xf9)]=_0x5bca0a,_0x45ff79['workerInfo'][_0x59b9db(0xe5)][_0x59b9db(0xee)]['connectOptions'][_0x59b9db(0xf9)]=_0x5bca0a);}}}catch(_0x1f9dee){logger[_0x59b9db(0x108)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x59b9db(0xd5)](_0x1f9dee));}};
1
+ function a34_0x5bc5(_0x17cdcd,_0x2513fa){const _0x2548cb=a34_0x2548();return a34_0x5bc5=function(_0x5bc5d7,_0x2b6336){_0x5bc5d7=_0x5bc5d7-0x101;let _0x16e3f6=_0x2548cb[_0x5bc5d7];return _0x16e3f6;},a34_0x5bc5(_0x17cdcd,_0x2513fa);}const a34_0x4b4175=a34_0x5bc5;(function(_0x432c1b,_0x271a1e){const _0x32fe18=a34_0x5bc5,_0x3c3648=_0x432c1b();while(!![]){try{const _0x4183dd=parseInt(_0x32fe18(0x12d))/0x1+-parseInt(_0x32fe18(0x14a))/0x2*(parseInt(_0x32fe18(0x11e))/0x3)+-parseInt(_0x32fe18(0x11d))/0x4*(-parseInt(_0x32fe18(0x124))/0x5)+parseInt(_0x32fe18(0x113))/0x6*(parseInt(_0x32fe18(0x123))/0x7)+parseInt(_0x32fe18(0x14d))/0x8*(-parseInt(_0x32fe18(0x13d))/0x9)+parseInt(_0x32fe18(0x116))/0xa*(parseInt(_0x32fe18(0x107))/0xb)+parseInt(_0x32fe18(0x13f))/0xc*(parseInt(_0x32fe18(0x134))/0xd);if(_0x4183dd===_0x271a1e)break;else _0x3c3648['push'](_0x3c3648['shift']());}catch(_0x2d70ce){_0x3c3648['push'](_0x3c3648['shift']());}}}(a34_0x2548,0x49e41));function a34_0x2548(){const _0x20fb81=['debug','parse','pcHOq','Ynfje','../../helpers/accessibility-automation/scripts','util','accessibilityOptions','name','xUVTP','UpeIs','FlOWM','AxYGe','KPIDM','playwright-chromium','../../helpers/accessibility-automation/helper','QgqpM','PbvZN','warn','hlWMk','NNzJK','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ZMZoP','latest','wcagVersion','jhlnf','constructor','executeScript','vryDB','347798IWyDfc','FiIIs','NxLMf','accessibilityOptions.includeIssueType.needsReview','error','BjKwz','stringify','PoJhO','accessibilityOptions.includeIssueType.bestPractice','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/helper','browser','4410czFXxt','jtcQq','pFmbR','160jjwMVA','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','includeIssueType','accessibilityOptions.scannerProcessingTimeout','wsEndpoint','getAccessibilityResults','szPdO','4tqyJAD','1765839JUBOFu','JvMib','method','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','735huPXIu','184155pzLMur','executeAsyncScript','getAccessibilityResultsSummary','Playwright','currentTest','JvzNh','../../helpers/logger','RFssI','winstonLogger','166529zapAIl','ZYmBi','AgcLy','connectOptions','vsRIu','bstackSdkArgs','chrome','611jEFGcv','mfFEt','accessibilityPlatform','LnjrQ','testInfo','replace','htCTK','browserName','jrtpQ','4172139FzPqbn','NJJKT','145128uMOXLX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','format','processAccessibilityCaps','fybOs','scannerProcessingTimeout','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','performScan','HrlhY','use','2nDLzun','browserStackExecuteDriver','oAzGy','8lFZBRF','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bestPractice','setAccessibilityCapabilities'];a34_0x2548=function(){return _0x20fb81;};return a34_0x2548();}const util=require(a34_0x4b4175(0x156)),logger=require(a34_0x4b4175(0x12a))[a34_0x4b4175(0x12c)],{isAccessibilityAutomationSession}=require(a34_0x4b4175(0x15f)),{isUndefined}=require(a34_0x4b4175(0x111)),scripts=require(a34_0x4b4175(0x155));exports['browserStackEvaluate']=async(_0xf31de9,_0x38527e,_0x211a22={})=>{const _0x4bccf7=a34_0x4b4175,_0x397630={};_0x397630['oAzGy']=_0x4bccf7(0x132);const _0x3fc690=_0x397630;return await _0xf31de9['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x38527e[_0x4bccf7(0x139)](/arguments/g,_0x3fc690[_0x4bccf7(0x14c)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x211a22)+')');},exports[a34_0x4b4175(0x14b)]=async(_0x8aa9c,_0x1b0360,_0x5e4953={})=>{const _0x1a43cb=a34_0x4b4175,_0x309b5f={};_0x309b5f[_0x1a43cb(0x163)]=function(_0x2f5f32,_0x55c101){return _0x2f5f32===_0x55c101;},_0x309b5f['PbvZN']=_0x1a43cb(0x145),_0x309b5f['pFmbR']=function(_0x59969a,_0x5774b0){return _0x59969a===_0x5774b0;},_0x309b5f[_0x1a43cb(0x103)]=_0x1a43cb(0x127),_0x309b5f[_0x1a43cb(0x114)]=_0x1a43cb(0x132);const _0x5bac5c=_0x309b5f;if(_0x5bac5c[_0x1a43cb(0x163)](_0x8aa9c['constructor'][_0x1a43cb(0x158)],_0x5bac5c[_0x1a43cb(0x161)]))return await _0x8aa9c[_0x1a43cb(0x125)](_0x1b0360,_0x5e4953);else{if(_0x5bac5c[_0x1a43cb(0x115)](_0x8aa9c[_0x1a43cb(0x104)][_0x1a43cb(0x158)],_0x5bac5c[_0x1a43cb(0x103)]))return await _0x8aa9c[_0x1a43cb(0x105)](_0x1a43cb(0x117)+_0x1b0360[_0x1a43cb(0x139)](/arguments/g,_0x5bac5c[_0x1a43cb(0x114)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1a43cb(0x10d)](_0x5e4953)+')');}},exports[a34_0x4b4175(0x150)]=async _0x311f9a=>{const _0x5bbc59=a34_0x4b4175,_0x55d51c={};_0x55d51c[_0x5bbc59(0x131)]='accessibilityOptions.wcagVersion',_0x55d51c['KPIDM']=_0x5bbc59(0x119),_0x55d51c[_0x5bbc59(0x12b)]=_0x5bbc59(0x10f),_0x55d51c[_0x5bbc59(0x15c)]=_0x5bbc59(0x10a),_0x55d51c['NJJKT']='accessibilityOptions.authToken',_0x55d51c[_0x5bbc59(0x106)]='accessibilityOptions.scannerVersion';const _0x52b853=_0x55d51c;_0x311f9a[_0x5bbc59(0x157)]&&(_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x102)]&&(_0x311f9a[_0x52b853[_0x5bbc59(0x131)]]=_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x102)]),_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x144)]&&(_0x311f9a[_0x52b853[_0x5bbc59(0x15d)]]=_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x144)]),_0x311f9a[_0x5bbc59(0x157)]['includeIssueType']&&(_0x311f9a[_0x52b853[_0x5bbc59(0x12b)]]=_0x311f9a['accessibilityOptions'][_0x5bbc59(0x118)][_0x5bbc59(0x14f)],_0x311f9a[_0x52b853[_0x5bbc59(0x15c)]]=_0x311f9a[_0x5bbc59(0x157)]['includeIssueType'][_0x5bbc59(0x121)]));const _0x5baa27=JSON[_0x5bbc59(0x152)](process[_0x5bbc59(0x165)][_0x5bbc59(0x146)])['scannerVersion'];_0x311f9a[_0x52b853[_0x5bbc59(0x13e)]]=process[_0x5bbc59(0x165)]['BS_A11Y_JWT'],_0x311f9a[_0x52b853[_0x5bbc59(0x106)]]=_0x5baa27,delete _0x311f9a[_0x5bbc59(0x157)];},exports[a34_0x4b4175(0x11b)]=async _0x176298=>{const _0x38e4a8=a34_0x4b4175,_0x388a78={};_0x388a78[_0x38e4a8(0x109)]='No\x20accessibility\x20results\x20were\x20found.',_0x388a78[_0x38e4a8(0x129)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x4fc181=_0x388a78;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x176298,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x176298,scripts.getResults);return res;}catch{return logger[_0x38e4a8(0x10b)](_0x4fc181['NxLMf']),[];}else return logger[_0x38e4a8(0x162)](_0x4fc181[_0x38e4a8(0x129)]),[];},exports['performScan']=async(_0x4a2737,_0x385904='')=>{const _0x4d87a9=a34_0x4b4175;if(global[_0x4d87a9(0x136)]){const _0x2b0a0e={};return _0x2b0a0e[_0x4d87a9(0x120)]=_0x385904,await exports['browserStackEvaluate'](_0x4a2737,scripts[_0x4d87a9(0x147)],_0x2b0a0e);}},exports[a34_0x4b4175(0x126)]=async _0x1be1c9=>{const _0x322b3a=a34_0x4b4175,_0x4633c7={};_0x4633c7['rURbN']='No\x20summaryResults\x20found.',_0x4633c7[_0x322b3a(0x154)]=_0x322b3a(0x110);const _0x54abd7=_0x4633c7;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1be1c9,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1be1c9,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x322b3a(0x151)](_0x54abd7['rURbN']),{};}else return logger[_0x322b3a(0x162)](_0x54abd7[_0x322b3a(0x154)]),{};},exports['platformValidation']=async _0x4b8620=>{const _0x5200d8=a34_0x4b4175,_0x526ebd={'MeFsW':function(_0x2b5d94,_0x5e7079){return _0x2b5d94!==_0x5e7079;},'FqXdE':_0x5200d8(0x140),'AgcLy':function(_0x3a7557,_0x4a9db7){return _0x3a7557===_0x4a9db7;},'PoJhO':_0x5200d8(0x133),'LnjrQ':_0x5200d8(0x15e),'FlOWM':_0x5200d8(0x166),'HrlhY':function(_0x16372a,_0x329f38){return _0x16372a(_0x329f38);},'UpeIs':function(_0xd35804,_0x42d937){return _0xd35804===_0x42d937;},'JvMib':_0x5200d8(0x101),'QgqpM':function(_0x2170ad,_0x5018c9){return _0x2170ad>_0x5018c9;},'pcHOq':_0x5200d8(0x122)};try{if(!_0x526ebd['MeFsW'](_0x4b8620['deviceName'],''))return logger[_0x5200d8(0x162)](_0x526ebd['FqXdE']),![];const _0x41c020=_0x4b8620[_0x5200d8(0x112)];if(!(_0x526ebd[_0x5200d8(0x12f)](_0x41c020,_0x526ebd[_0x5200d8(0x10e)])||_0x526ebd[_0x5200d8(0x12f)](_0x41c020,_0x526ebd[_0x5200d8(0x137)])))return logger[_0x5200d8(0x162)](_0x526ebd[_0x5200d8(0x15b)]),![];const _0x38c22c=_0x526ebd[_0x5200d8(0x148)](parseInt,_0x4b8620['browser_version']);if(!(_0x526ebd[_0x5200d8(0x15a)](_0x38c22c,_0x526ebd[_0x5200d8(0x11f)])||_0x526ebd[_0x5200d8(0x160)](_0x38c22c,0x5e)))return logger[_0x5200d8(0x162)](_0x526ebd[_0x5200d8(0x153)]),![];}catch(_0x19df16){logger[_0x5200d8(0x151)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5200d8(0x141)](_0x19df16));}return!![];},exports[a34_0x4b4175(0x142)]=(_0x4f98fc,_0x5a3b89,_0x419342)=>{const _0x510f82=a34_0x4b4175,_0x48f9a1={'ZMZoP':function(_0x4103ca){return _0x4103ca();},'FiIIs':'browserstack.accessibility','fybOs':function(_0x8e3630,_0x31c9a1){return _0x8e3630===_0x31c9a1;},'QIAhI':_0x510f82(0x133),'NNzJK':'playwright-chromium','xUVTP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','szPdO':function(_0x2aef12,_0x591bfb){return _0x2aef12===_0x591bfb;},'GJmwW':_0x510f82(0x101),'mfFEt':function(_0x211ded,_0x46e460){return _0x211ded>_0x46e460;},'htCTK':_0x510f82(0x122),'jrtpQ':function(_0x43d5c2,_0x272c71){return _0x43d5c2(_0x272c71);},'BjKwz':_0x510f82(0x140),'ZYmBi':function(_0x1d060f,_0x8f7f7){return _0x1d060f+_0x8f7f7;}};try{if(_0x48f9a1[_0x510f82(0x167)](isAccessibilityAutomationSession)){global[_0x510f82(0x136)]=!![];!_0x4f98fc[_0x48f9a1['FiIIs']]&&(global[_0x510f82(0x136)]=![]);!(_0x48f9a1[_0x510f82(0x143)](_0x4f98fc['browserName'],_0x48f9a1['QIAhI'])||_0x48f9a1[_0x510f82(0x143)](_0x4f98fc[_0x510f82(0x13b)],_0x48f9a1[_0x510f82(0x164)]))&&(logger[_0x510f82(0x162)](_0x48f9a1[_0x510f82(0x159)]),global[_0x510f82(0x136)]=![]);!(_0x48f9a1[_0x510f82(0x11c)](_0x4f98fc['browser_version'],_0x48f9a1['GJmwW'])||_0x48f9a1[_0x510f82(0x135)](_0x4f98fc['browser_version'],0x5e))&&(logger[_0x510f82(0x162)](_0x48f9a1[_0x510f82(0x13a)]),global['accessibilityPlatform']=![]);!_0x48f9a1[_0x510f82(0x13c)](isUndefined,_0x4f98fc['deviceName'])&&(logger['warn'](_0x48f9a1[_0x510f82(0x10c)]),global[_0x510f82(0x136)]=![]);if(!global[_0x510f82(0x136)]){_0x4f98fc[_0x48f9a1[_0x510f82(0x108)]]=![];const _0x39c8c5=_0x48f9a1[_0x510f82(0x12e)](_0x5a3b89,_0x48f9a1[_0x510f82(0x13c)](encodeURIComponent,JSON[_0x510f82(0x10d)](_0x4f98fc)));_0x419342&&(_0x419342[_0x510f82(0x128)][_0x510f82(0x138)]['project']['use'][_0x510f82(0x130)]['wsEndpoint']=_0x39c8c5,_0x419342['workerInfo']['project'][_0x510f82(0x149)][_0x510f82(0x130)][_0x510f82(0x11a)]=_0x39c8c5);}}}catch(_0x5774cd){logger[_0x510f82(0x151)](_0x510f82(0x14e)+util[_0x510f82(0x141)](_0x5774cd));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x267440=a35_0x2c7e;function a35_0x3165(){const _0x2eea48=['nestedKeyValue','ocwXe','rKkId','testContextOptions','3869296MtHlAL','xpDHC','get','BROWSERSTACK_RERUN_TESTS','TpSig','EevET','dgnYN','env','cwd','requirePWModule','length','vjgFb','parse','browserstackSetupConfig.json','map','AUMNE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gfScl','hUOXk','LwYxO','CKbfM','10568776cInMFF','../../helpers/test-observability/utils','618IesKRR','getProxyUrl','inherit','splice','RIVoF','UFQXX','playwright-browserstack-sdk.config.cjs','1143618ZMkjNu','isTypescriptProject','rVIQu','resolvedConfigFile','../../helpers/testhub/testhubHandler','Deleting\x20','yfEhd','2901UsVJOr','../../helpers/helper','BROWSERSTACK_SETUP_CONFIG_PATH','PACKAGE_TYPE','concat','Error\x20in\x20deleting\x20playwright\x20results','errorMessage','mreEp','54477891knNKRo','PLAYWRIGHT','ulCBY','unlinkSync','3|6|8|5|1|2|0|7|4','./accessibility-helper','trim','8771815rfmvYU','platform','has','SEUFK','.browserstack','homedir','debug','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','qOHja','BnQBT','false','exitCode','../../helpers/testhub/utils','markSDKSetupComplete','config','BROWSERSTACK_TEST_OBSERVABILITY','indexOf','BrowserStack\x20config\x20file\x20not\x20found.','../utils/constants','qquRU','initialize','MFZBy','playwright','null','test','../../helpers/test-observability/constants','../../helpers/logger','pw_result.json','KVJtk','argv','startsWith','VNONg','./reporter/pwUtils','win32','exports','Error\x20in\x20closing\x20playwright','apply','Mlnew','testObservability','assign','idUvt','skipSessionName','path','join','../../helpers/test-observability/error-handler','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_AUTOMATION','--disable-browserstack-automation','rNQof','--config','winstonLogger','BwvFe','push','existsSync','serializeToYamlString','vWEss','swNJw','filter','slice','ylLcD','oKdjr','XQVPt','SZEcm','error','resolve','isTrue','vUKvb','STPzm','includes','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','clearTempPWConfig','BROWSERSTACK_PW_CONFIG_DIR','WGKpb','npx','jUfYw','35YAcark','automation','accessibility','XCHPE','dirname','writeFileSync','3547722VNDYYJ','filterBrowserstackArgs','cliConfig','util','isFalse','uwOhP','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findIndex','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','SiWbh','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','readFileSync','rtMsB','fsBlv','close','isUndefined'];a35_0x3165=function(){return _0x2eea48;};return a35_0x3165();}(function(_0x360733,_0x2bec0d){const _0x5e6c2f=a35_0x2c7e,_0x2eb187=_0x360733();while(!![]){try{const _0x156ba6=parseInt(_0x5e6c2f(0x1e4))/0x1*(-parseInt(_0x5e6c2f(0x1d6))/0x2)+-parseInt(_0x5e6c2f(0x244))/0x3+-parseInt(_0x5e6c2f(0x1bf))/0x4+-parseInt(_0x5e6c2f(0x1f3))/0x5+-parseInt(_0x5e6c2f(0x1dd))/0x6*(-parseInt(_0x5e6c2f(0x23e))/0x7)+-parseInt(_0x5e6c2f(0x1d4))/0x8+parseInt(_0x5e6c2f(0x1ec))/0x9;if(_0x156ba6===_0x2bec0d)break;else _0x2eb187['push'](_0x2eb187['shift']());}catch(_0x3e0c23){_0x2eb187['push'](_0x2eb187['shift']());}}}(a35_0x3165,0xd7e7b));function a35_0x2c7e(_0x5a07ec,_0x3747ee){const _0x3165a1=a35_0x3165();return a35_0x2c7e=function(_0x2c7e48,_0x278d48){_0x2c7e48=_0x2c7e48-0x1b7;let _0x3cc66c=_0x3165a1[_0x2c7e48];return _0x3cc66c;},a35_0x2c7e(_0x5a07ec,_0x3747ee);}const fs=require('fs'),path=require(a35_0x267440(0x21d)),{spawn}=require('child_process'),{format}=require(a35_0x267440(0x247)),logger=require(a35_0x267440(0x20d))[a35_0x267440(0x225)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x267440(0x1e5)),utilities=require('../../helpers/utilities'),constants=require(a35_0x267440(0x205)),{FRAMEWORKS}=require(a35_0x267440(0x20c)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x267440(0x213)),{CrashReporter}=require(a35_0x267440(0x21f)),{getFrameworkVersion}=require(a35_0x267440(0x1d5)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x267440(0x1f1)),TestHubHandler=require(a35_0x267440(0x1e1)),{shouldProcessEventForTesthub}=require(a35_0x267440(0x1ff)),getUserPlaywrightConfig=async(_0x358197,_0x19ba85)=>{const _0x6ee75d=a35_0x267440,_0x33a8e4={'EevET':function(_0x528f66){return _0x528f66();},'XCHPE':function(_0x391d68,_0x2928e2){return _0x391d68(_0x2928e2);},'SiWbh':_0x6ee75d(0x1e0),'rNQof':'--config='},_0x3eecc4=!helper[_0x6ee75d(0x1ba)](_0x358197['config']),_0x31895d=_0x3eecc4?path[_0x6ee75d(0x233)](process[_0x6ee75d(0x1c7)](),_0x358197['config']):process[_0x6ee75d(0x1c7)](),{resolveConfigFile:_0x487a22,resolveConfigLocation:_0x45e204}=helper[_0x6ee75d(0x1c8)][_0x6ee75d(0x217)](null,_0x33a8e4[_0x6ee75d(0x1c4)](getConfigLoaderPath)),_0x22382e=_0x487a22?_0x33a8e4[_0x6ee75d(0x241)](_0x487a22,_0x31895d):helper[_0x6ee75d(0x1bb)](_0x33a8e4[_0x6ee75d(0x241)](_0x45e204,_0x31895d),[_0x33a8e4[_0x6ee75d(0x24d)]]),_0x1616cf={};if(_0x3eecc4){const _0x3ab011=_0x19ba85[_0x6ee75d(0x24b)](_0x56963a=>_0x56963a===_0x6ee75d(0x224)||_0x56963a==='-c'||_0x56963a[_0x6ee75d(0x211)]('--config='));_0x19ba85[_0x6ee75d(0x1d9)](_0x3ab011,_0x19ba85[_0x3ab011][_0x6ee75d(0x211)](_0x33a8e4[_0x6ee75d(0x223)])?0x1:0x2);}const _0x45a203={};return _0x45a203['path']=_0x22382e,_0x45a203[_0x6ee75d(0x201)]=_0x1616cf,_0x45a203;},handleO11yRerun=_0x386d04=>{const _0x37d2ec=a35_0x267440,_0xa9370a={};_0xa9370a[_0x37d2ec(0x1bc)]=function(_0x21c5d6,_0x252900){return _0x21c5d6!==_0x252900;},_0xa9370a[_0x37d2ec(0x1d3)]=_0x37d2ec(0x20a),_0xa9370a[_0x37d2ec(0x230)]='--grep';const _0x410cda=_0xa9370a,_0x50a96e=helper[_0x37d2ec(0x234)](process[_0x37d2ec(0x1c6)]['BROWSERSTACK_RERUN']);if(_0x50a96e){const _0x3bd798=process['env'][_0x37d2ec(0x1c2)],_0x46a2d7=[];if(_0x410cda[_0x37d2ec(0x1bc)](_0x3bd798,_0x410cda[_0x37d2ec(0x1d3)])&&!helper[_0x37d2ec(0x1ba)](_0x3bd798)){_0x3bd798['split'](',')[_0x37d2ec(0x1cd)](_0x77dc3a=>{const _0x198e1a=_0x37d2ec;_0x46a2d7[_0x198e1a(0x227)]('('+_0x77dc3a[_0x198e1a(0x1f2)]()+')');});const _0x298ba9='^'+_0x46a2d7[_0x37d2ec(0x21e)]('|')+'$';_0x386d04[_0x37d2ec(0x227)](_0x410cda['XQVPt'],_0x298ba9);}}},spawnOriginalProcess=_0x36d71c=>{const _0x59e576=a35_0x267440,_0x2aee84={'aAyUL':function(_0x2930ce,_0x1d17c7,_0x5cf2c9,_0x3a0b17){return _0x2930ce(_0x1d17c7,_0x5cf2c9,_0x3a0b17);},'mLpac':_0x59e576(0x23c),'iuRRU':_0x59e576(0x209),'mreEp':function(_0x4f62f7,_0x399299){return _0x4f62f7===_0x399299;},'Yvvit':_0x59e576(0x214),'RIVoF':_0x59e576(0x1d8)};_0x2aee84['aAyUL'](spawn,_0x2aee84['mLpac'],[_0x2aee84['iuRRU'],..._0x36d71c['slice'](0x1)],{'shell':_0x2aee84[_0x59e576(0x1eb)](process[_0x59e576(0x1f4)],_0x2aee84['Yvvit']),'stdio':_0x2aee84[_0x59e576(0x1da)],'cwd':process['cwd']()});},isTestCommand=(_0x1938e7,_0x2670e9)=>{const _0x285432=a35_0x267440,_0x39f922={};_0x39f922[_0x285432(0x1e3)]=function(_0x4a588e,_0x446d48){return _0x4a588e>_0x446d48;},_0x39f922['UFQXX']=function(_0x3bfebd,_0x177a43){return _0x3bfebd===_0x177a43;},_0x39f922[_0x285432(0x236)]=_0x285432(0x20b);const _0x1757da=_0x39f922;if(_0x1757da['yfEhd'](_0x2670e9[_0x285432(0x1c9)],0x1)&&_0x1757da[_0x285432(0x1db)](_0x2670e9[0x1],_0x1757da[_0x285432(0x236)]))return!![];return![];};async function run(_0x169ea2,_0x4b749a){const _0x31d015=a35_0x267440,_0x174b02={'MFZBy':_0x31d015(0x1f7),'vjgFb':_0x31d015(0x20e),'hUOXk':function(_0x622601,_0x2f1fad){return _0x622601+_0x2f1fad;},'vUKvb':_0x31d015(0x24e),'rKkId':_0x31d015(0x1f0),'SZEcm':function(_0x109ed5){return _0x109ed5();},'SEUFK':function(_0x9496fd,_0x291cf3){return _0x9496fd+_0x291cf3;},'Mlnew':_0x31d015(0x216),'OgNgZ':_0x31d015(0x222),'vWEss':_0x31d015(0x1fd),'idUvt':'--disable-test-observability','BnQBT':function(_0x1e81df,_0x1ddd60){return _0x1e81df>=_0x1ddd60;},'fbDtT':function(_0x250f5d,_0x552191){return _0x250f5d+_0x552191;},'ylLcD':_0x31d015(0x1e9),'KVJtk':function(_0x344ba2,_0x432c71,_0x4467ce){return _0x344ba2(_0x432c71,_0x4467ce);},'qquRU':function(_0x5824ca,_0x15cd1b){return _0x5824ca(_0x15cd1b);},'BwvFe':_0x31d015(0x204),'jUfYw':_0x31d015(0x23f),'TpSig':function(_0x513be7,_0x2099b6){return _0x513be7!=_0x2099b6;},'ulCBY':function(_0x333822,_0x513249){return _0x333822(_0x513249);},'WGKpb':function(_0x32e0c3,_0x3c173d){return _0x32e0c3===_0x3c173d;},'VNONg':'true','AUMNE':function(_0x4d3449,_0x5074ac){return _0x4d3449(_0x5074ac);},'rVIQu':_0x31d015(0x1cc),'swNJw':_0x31d015(0x1dc),'uwOhP':'playwright-browserstack-sdk.config.js','oKdjr':function(_0x4479e2,_0x4234c9){return _0x4479e2-_0x4234c9;},'LwYxO':_0x31d015(0x220),'xpDHC':function(_0x3d0dd0,_0x530d0b){return _0x3d0dd0>_0x530d0b;},'dgnYN':function(_0x549461,_0x190fb2,_0x46fe2a,_0x2b11b8){return _0x549461(_0x190fb2,_0x46fe2a,_0x2b11b8);},'qOHja':_0x31d015(0x23c),'VCMKZ':_0x31d015(0x209),'gfScl':_0x31d015(0x20b),'WwbDY':_0x31d015(0x224),'YgKHq':'win32','rtMsB':_0x31d015(0x1d8),'fsBlv':_0x31d015(0x1b9)};!helper[_0x31d015(0x248)](process[_0x31d015(0x1c6)][_0x31d015(0x221)])&&(process[_0x31d015(0x1c6)][_0x31d015(0x221)]=!![]);process[_0x31d015(0x210)][_0x31d015(0x237)](_0x174b02['OgNgZ'])&&(process['env'][_0x31d015(0x221)]=_0x174b02['vWEss'],_0x4b749a=_0x4b749a[_0x31d015(0x22c)](_0x5b783f=>_0x5b783f!=='--disable-browserstack-automation'));const _0x3293fc=_0x4b749a[_0x31d015(0x203)](_0x174b02[_0x31d015(0x21b)]);_0x174b02[_0x31d015(0x1fc)](_0x3293fc,0x0)&&(process[_0x31d015(0x1c6)][_0x31d015(0x202)]=_0x174b02[_0x31d015(0x22a)],_0x4b749a=_0x4b749a[_0x31d015(0x22c)](_0x22f9ab=>_0x22f9ab!=='--disable-test-observability'));try{const _0x4f9a80=path['join'](helper[_0x31d015(0x1f8)](),_0x174b02[_0x31d015(0x208)],_0x174b02[_0x31d015(0x1ca)]);fs[_0x31d015(0x228)](_0x4f9a80)&&fs[_0x31d015(0x1ef)](_0x4f9a80);}catch(_0x4fa140){logger[_0x31d015(0x1f9)](_0x174b02['fbDtT'](_0x174b02[_0x31d015(0x22e)],_0x4fa140));}if(!_0x174b02[_0x31d015(0x20f)](isTestCommand,_0x169ea2,_0x4b749a)){_0x174b02[_0x31d015(0x206)](spawnOriginalProcess,_0x4b749a);return;}const _0x4b56a8=new BrowserStackSetup(_0x169ea2,FRAMEWORKS['PLAYWRIGHT']);if(!_0x4b56a8['config']){logger[_0x31d015(0x232)](_0x174b02[_0x31d015(0x226)]);return;}await _0x4b56a8[_0x31d015(0x207)]();!helper['isUndefined'](_0x4b56a8[_0x31d015(0x246)])&&_0x4b56a8[_0x31d015(0x246)][_0x31d015(0x1f5)](_0x174b02['jUfYw'])&&(process[_0x31d015(0x1c6)][_0x31d015(0x221)]=_0x4b56a8['cliConfig'][_0x31d015(0x1c1)](_0x174b02[_0x31d015(0x23d)])||!![]);_0x174b02[_0x31d015(0x1c3)](_0x4b56a8['config'][_0x31d015(0x219)],null)&&!helper['isTrue'](process[_0x31d015(0x1c6)][_0x31d015(0x202)])&&(process[_0x31d015(0x1c6)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x31d015(0x1c6)][_0x31d015(0x202)]||_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x219)]);const _0x2a3fa0=!helper['isFalse'](process['env'][_0x31d015(0x202)]);let _0x58bab5=![];_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x240)]&&(_0x58bab5=!![],process[_0x31d015(0x1c6)][_0x31d015(0x1cf)]=_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x240)]);_0x4b56a8[_0x31d015(0x201)]['accessibilityOptions']&&(process[_0x31d015(0x1c6)][_0x31d015(0x24f)]=JSON['stringify'](_0x4b56a8[_0x31d015(0x201)]['accessibilityOptions']));const _0x1e9cde=_0x4b749a[_0x31d015(0x1e8)](),_0x4aa945=await _0x174b02['KVJtk'](getUserPlaywrightConfig,_0x169ea2,_0x4b749a);if(helper['isUndefined'](_0x4aa945)){_0x174b02[_0x31d015(0x206)](spawnOriginalProcess,_0x1e9cde);return;}const _0x23e09b=_0x4aa945['path']?path['dirname'](_0x4aa945[_0x31d015(0x21d)]):process[_0x31d015(0x1c7)]();process[_0x31d015(0x1c6)][_0x31d015(0x23a)]=_0x23e09b,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x31d015(0x1ed)],_0x4b56a8);_0x2a3fa0&&_0x174b02[_0x31d015(0x1ee)](handleO11yRerun,_0x4b749a);let _0x242806=_0x174b02[_0x31d015(0x23b)](process['env'][_0x31d015(0x1cf)],_0x174b02[_0x31d015(0x212)]);_0x242806=_0x242806||_0x174b02[_0x31d015(0x1ce)](checkAccessibilityPlatformConfig,_0x4b56a8[_0x31d015(0x201)]),process[_0x31d015(0x1c6)][_0x31d015(0x1cf)]=_0x242806;_0x242806&&_0x174b02[_0x31d015(0x1ce)](setAccessibilityCapabilities,_0x4b56a8[_0x31d015(0x201)]);const _0x2878e5=path[_0x31d015(0x21e)](_0x4aa945[_0x31d015(0x21d)]?path['dirname'](_0x4aa945[_0x31d015(0x21d)]):process[_0x31d015(0x1c7)](),_0x174b02[_0x31d015(0x1df)]);fs['writeFileSync'](_0x2878e5,helper[_0x31d015(0x229)](_0x4b56a8[_0x31d015(0x201)])),process['env'][_0x31d015(0x1e6)]=_0x2878e5,helper[_0x31d015(0x239)]();let _0x338e36='';_0x174b02[_0x31d015(0x23b)](helper['getPackageType'](),constants[_0x31d015(0x1e7)]['MODULE'])?_0x338e36=_0x174b02[_0x31d015(0x22b)]:_0x338e36=_0x174b02[_0x31d015(0x249)];let _0x3b166f='';if(helper[_0x31d015(0x1de)](_0x4aa945['path'])){_0x3b166f=_0x31d015(0x1fa);const _0x28683c=_0x338e36['split']('.');_0x28683c[_0x174b02[_0x31d015(0x22f)](_0x28683c[_0x31d015(0x1c9)],0x1)]='ts',_0x338e36=_0x28683c[_0x31d015(0x21e)]('.'),logger['debug'](_0x174b02['SEUFK'](_0x174b02[_0x31d015(0x1d2)],_0x338e36));}else _0x3b166f=_0x31d015(0x24a);const _0x196785=path[_0x31d015(0x21e)](_0x4aa945[_0x31d015(0x21d)]?path[_0x31d015(0x242)](_0x4aa945[_0x31d015(0x21d)]):process['cwd'](),_0x338e36);let _0x2f9c36=_0x4aa945[_0x31d015(0x21d)]?_0x4aa945[_0x31d015(0x21d)]:'';_0x2f9c36=_0x174b02[_0x31d015(0x1c0)](_0x2f9c36[_0x31d015(0x1c9)],0x0)?path['resolve'](_0x2f9c36):'',process[_0x31d015(0x1c6)]['USER_CONFIG_DETAILS_PATH']=_0x2f9c36;const _0x4d5e85=helper[_0x31d015(0x1d7)](_0x4b56a8[_0x31d015(0x201)]);_0x4d5e85&&(_0x3b166f=_0x174b02[_0x31d015(0x1f6)](_0x31d015(0x24c)+_0x4d5e85+_0x31d015(0x238),_0x3b166f));helper[_0x31d015(0x245)]({},_0x4b749a),fs[_0x31d015(0x243)](_0x196785,_0x3b166f),helper[_0x31d015(0x200)]();const _0xaf8d7=_0x174b02[_0x31d015(0x1c5)](spawn,_0x174b02[_0x31d015(0x1fb)],[_0x174b02['VCMKZ'],_0x174b02[_0x31d015(0x1d0)],_0x174b02['WwbDY'],_0x196785,..._0x4b749a[_0x31d015(0x22d)](0x2)],{'shell':_0x174b02['WGKpb'](process[_0x31d015(0x1f4)],_0x174b02['YgKHq']),'stdio':_0x174b02[_0x31d015(0x1b7)],'cwd':process[_0x31d015(0x1c7)](),'env':Object[_0x31d015(0x21a)]({},process[_0x31d015(0x1c6)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x169ea2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4b56a8['config'][_0x31d015(0x1be)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4b56a8['config'][_0x31d015(0x1be)][_0x31d015(0x21c)],'BROWSERSTACK_LOG_LEVEL':_0x4b56a8[_0x31d015(0x201)]['logLevel']})}),_0xab9297=()=>{const _0x29840e=_0x31d015;try{const _0x49f313=path[_0x29840e(0x21e)](helper[_0x29840e(0x1f8)](),_0x174b02[_0x29840e(0x208)],_0x174b02[_0x29840e(0x1ca)]);if(fs[_0x29840e(0x228)](_0x49f313)){let _0x19534c=fs[_0x29840e(0x250)](_0x49f313);_0x19534c=JSON[_0x29840e(0x1cb)](_0x19534c),_0x4b56a8[_0x29840e(0x1ea)]=_0x19534c,fs[_0x29840e(0x1ef)](_0x49f313);}}catch(_0x562449){logger['debug'](_0x174b02[_0x29840e(0x1d1)](_0x174b02[_0x29840e(0x235)],_0x562449));}};_0xaf8d7['on'](_0x174b02[_0x31d015(0x1b8)],async _0x2de779=>{const _0x3f04cc=_0x31d015;try{const _0x596356=_0x174b02[_0x3f04cc(0x1bd)]['split']('|');let _0x536850=0x0;while(!![]){switch(_0x596356[_0x536850++]){case'0':fs[_0x3f04cc(0x1ef)](_0x196785);continue;case'1':logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2de779);continue;case'2':logger['info'](_0x3f04cc(0x1e2)+_0x196785);continue;case'3':_0x174b02[_0x3f04cc(0x231)](_0xab9297);continue;case'4':fs[_0x3f04cc(0x1ef)](_0x2878e5);continue;case'5':process[_0x3f04cc(0x1fe)]=_0x2de779;continue;case'6':await TestHubHandler['stop']();continue;case'7':logger['debug'](_0x3f04cc(0x1e2)+_0x2878e5);continue;case'8':await utilities['finalExecution'](_0x4b56a8);continue;}break;}}catch(_0x1a967f){logger[_0x3f04cc(0x1f9)](_0x174b02[_0x3f04cc(0x1f6)](_0x174b02[_0x3f04cc(0x218)],_0x1a967f));}});}module[a35_0x267440(0x215)]=run;
2
+ 'use strict';const a35_0x5efd26=a35_0x5dae;function a35_0x5dae(_0x3036b7,_0x2bd7b6){const _0x1d6796=a35_0x1d67();return a35_0x5dae=function(_0x5dae41,_0x587e3c){_0x5dae41=_0x5dae41-0x76;let _0x13ccc2=_0x1d6796[_0x5dae41];return _0x13ccc2;},a35_0x5dae(_0x3036b7,_0x2bd7b6);}(function(_0x453073,_0x5a2f58){const _0x1df9ff=a35_0x5dae,_0x14209a=_0x453073();while(!![]){try{const _0x437076=-parseInt(_0x1df9ff(0xd4))/0x1*(-parseInt(_0x1df9ff(0xa1))/0x2)+parseInt(_0x1df9ff(0xd7))/0x3+-parseInt(_0x1df9ff(0xad))/0x4*(parseInt(_0x1df9ff(0xce))/0x5)+parseInt(_0x1df9ff(0xe4))/0x6+parseInt(_0x1df9ff(0xbb))/0x7+parseInt(_0x1df9ff(0xd1))/0x8+-parseInt(_0x1df9ff(0xff))/0x9;if(_0x437076===_0x5a2f58)break;else _0x14209a['push'](_0x14209a['shift']());}catch(_0x5ab883){_0x14209a['push'](_0x14209a['shift']());}}}(a35_0x1d67,0x757df));function a35_0x1d67(){const _0x4b9a42=['debug','--config=','ckbSW','Error\x20in\x20closing\x20playwright','nDTJO','testContextOptions','tyzJC','17061030LwVwHv','readFileSync','skipSessionName','isTypescriptProject','--config','getConfigPath','AiAuw','platform','getProxyUrl','FRzcu','pw_result.json','isTrue','errorMessage','../../helpers/logger','writeFileSync','npx','PzgqY','Deleting\x20','../../helpers/utilities','path','push','BROWSERSTACK_TEST_OBSERVABILITY','nestedKeyValue','Playwright\x20process\x20exited\x20with\x20code\x20','jAswg','inherit','testObservability','close','splice','true','finalExecution','PnXWr','filterBrowserstackArgs','config','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','rZIjk','vInia','OcTla','resolvedConfigFile','dtqNC','indexOf','../../helpers/testhub/utils','exports','includes','eNqAD','USER_CONFIG_DETAILS_PATH','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mfxHX','playwright-browserstack-sdk.config.js','parse','launchBuild','stop','DVsCJ','split','oiDeh','62986oTaebO','gDsSV','NvmOu','../../helpers/test-observability/utils','BrowserStack\x20config\x20file\x20not\x20found.','length','lXMzZ','info','oWqPR','KtlMN','test','osMGV','108LSFwIg','BROWSERSTACK_RERUN','concat','sNveJ','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','existsSync','resolve','./accessibility-helper','--disable-test-observability','PLAYWRIGHT','--disable-browserstack-automation','accessibilityOptions','skipSessionStatus','uzRFf','1536696cNHPRS','VwyCb','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','has','../utils/constants','unlinkSync','dirname','EshFq','CEUeR','win32','BROWSERSTACK_AUTOMATION','sElaT','CyHbp','accessibility','exitCode','JNtyP','browserstackSetupConfig.json','env','1265XhePhJ','cliConfig','HvXGa','5623616csCkCK','error','playwright','3ZMEfgz','map','hquMj','1470816QMKulh','isFalse','ufZNJ','../../helpers/test-observability/error-handler','trim','slice','AlvoY','markSDKSetupComplete','unObj','homedir','sMiRm','isUndefined','../../helpers/accessibility-automation/helper','5259102pLWRwg','join','argv','Error\x20in\x20getting\x20funnel\x20data\x20results','LEjst','MODULE','cwd','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','BROWSERSTACK_PW_CONFIG_DIR','frEfn','requirePWModule','filter','util','stringify','YqUaw','owumD','getPackageType','8|3|0|6|7|1|2|4|5','false','mqHbZ'];a35_0x1d67=function(){return _0x4b9a42;};return a35_0x1d67();}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a35_0x5efd26(0xf0)),logger=require(a35_0x5efd26(0x76))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x5efd26(0x7b)),constants=require(a35_0x5efd26(0xc0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a35_0x5efd26(0xda)),{getFrameworkVersion}=require(a35_0x5efd26(0xa4)),{checkAccessibilityPlatformConfig}=require(a35_0x5efd26(0xe3)),{setAccessibilityCapabilities}=require(a35_0x5efd26(0xb4)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x5efd26(0x92)),getUserPlaywrightConfig=async(_0x16d4af,_0x447c3a)=>{const _0x124805=a35_0x5efd26,_0x5f07ac={'CyHbp':function(_0x4b89d6){return _0x4b89d6();},'owumD':function(_0xb140d0,_0x2a9de9){return _0xb140d0(_0x2a9de9);},'VwyCb':_0x124805(0x8f),'PnXWr':_0x124805(0xf9)},_0x5b6525=!helper[_0x124805(0xe2)](_0x16d4af[_0x124805(0x8a)]),_0x182ce1=_0x5b6525?path[_0x124805(0xb3)](process[_0x124805(0xea)](),_0x16d4af[_0x124805(0x8a)]):process[_0x124805(0xea)](),{resolveConfigFile:_0x56717d,resolveConfigLocation:_0x3e0625}=helper[_0x124805(0xee)]['apply'](null,_0x5f07ac[_0x124805(0xc8)](getConfigLoaderPath)),_0x3de3d4=_0x56717d?_0x5f07ac[_0x124805(0xf3)](_0x56717d,_0x182ce1):helper[_0x124805(0x7f)](_0x5f07ac[_0x124805(0xf3)](_0x3e0625,_0x182ce1),[_0x5f07ac[_0x124805(0xbc)]]),_0x7de7d9={};if(_0x5b6525){const _0x29681e=_0x447c3a['findIndex'](_0xfe5688=>_0xfe5688===_0x124805(0x103)||_0xfe5688==='-c'||_0xfe5688['startsWith'](_0x124805(0xf9)));_0x447c3a[_0x124805(0x85)](_0x29681e,_0x447c3a[_0x29681e]['startsWith'](_0x5f07ac[_0x124805(0x88)])?0x1:0x2);}const _0x21b72f={};return _0x21b72f[_0x124805(0x7c)]=_0x3de3d4,_0x21b72f[_0x124805(0x8a)]=_0x7de7d9,_0x21b72f;},handleO11yRerun=_0x10293d=>{const _0x53e13a=a35_0x5efd26,_0x555465={};_0x555465['nDTJO']=function(_0xbafe24,_0x206e7c){return _0xbafe24!==_0x206e7c;},_0x555465['hquMj']='null',_0x555465[_0x53e13a(0xa2)]='--grep';const _0x17326d=_0x555465,_0x2c9c16=helper[_0x53e13a(0x10a)](process[_0x53e13a(0xcd)][_0x53e13a(0xae)]);if(_0x2c9c16){const _0x1b9c7f=process[_0x53e13a(0xcd)]['BROWSERSTACK_RERUN_TESTS'],_0xff837c=[];if(_0x17326d[_0x53e13a(0xfc)](_0x1b9c7f,_0x17326d[_0x53e13a(0xd6)])&&!helper['isUndefined'](_0x1b9c7f)){_0x1b9c7f[_0x53e13a(0x9f)](',')[_0x53e13a(0xd5)](_0x2f56e6=>{const _0x19521f=_0x53e13a;_0xff837c[_0x19521f(0x7d)]('('+_0x2f56e6[_0x19521f(0xdb)]()+')');});const _0x5b646f='^'+_0xff837c[_0x53e13a(0xe5)]('|')+'$';_0x10293d[_0x53e13a(0x7d)](_0x17326d['gDsSV'],_0x5b646f);}}},spawnOriginalProcess=_0xebcb7c=>{const _0x44617f=a35_0x5efd26,_0x90f5ce={'mfxHX':function(_0x56ac20,_0x2f5efc,_0x370c96,_0x23f45a){return _0x56ac20(_0x2f5efc,_0x370c96,_0x23f45a);},'ABznT':_0x44617f(0x78),'HvXGa':_0x44617f(0xd3),'oiDeh':function(_0x52ab18,_0x5cc05d){return _0x52ab18===_0x5cc05d;},'gYiGX':_0x44617f(0xc5),'ufZNJ':_0x44617f(0x82)};_0x90f5ce[_0x44617f(0x99)](spawn,_0x90f5ce['ABznT'],[_0x90f5ce[_0x44617f(0xd0)],..._0xebcb7c[_0x44617f(0xdc)](0x1)],{'shell':_0x90f5ce[_0x44617f(0xa0)](process[_0x44617f(0x106)],_0x90f5ce['gYiGX']),'stdio':_0x90f5ce[_0x44617f(0xd9)],'cwd':process[_0x44617f(0xea)]()});},isTestCommand=(_0x564d5f,_0x38b749)=>{const _0x3ee02a=a35_0x5efd26,_0x402b26={};_0x402b26['EshFq']=function(_0x5f0ca6,_0x200095){return _0x5f0ca6>_0x200095;},_0x402b26[_0x3ee02a(0xcb)]=function(_0x1aea09,_0x45d094){return _0x1aea09===_0x45d094;},_0x402b26['rZIjk']=_0x3ee02a(0xab);const _0x38291b=_0x402b26;if(_0x38291b[_0x3ee02a(0xc3)](_0x38b749[_0x3ee02a(0xa6)],0x1)&&_0x38291b[_0x3ee02a(0xcb)](_0x38b749[0x1],_0x38291b[_0x3ee02a(0x8c)]))return!![];return![];};async function run(_0x1dcf2d,_0xd4195c){const _0x529f0a=a35_0x5efd26,_0x25ce14={'mqHbZ':'.browserstack','unObj':_0x529f0a(0x109),'sElaT':function(_0x2ca8a2,_0x448c09){return _0x2ca8a2+_0x448c09;},'jAswg':_0x529f0a(0xe7),'lXMzZ':_0x529f0a(0xf5),'ZENHm':function(_0x591499){return _0x591499();},'dtqNC':_0x529f0a(0xfb),'AiAuw':_0x529f0a(0xb7),'osMGV':_0x529f0a(0xf6),'ckbSW':'--disable-test-observability','wHmxS':function(_0x1c6b2d,_0x4c47cf){return _0x1c6b2d>=_0x4c47cf;},'aTqQU':_0x529f0a(0x97),'zfbIY':function(_0xa5d91f,_0x30c47f,_0x121e67){return _0xa5d91f(_0x30c47f,_0x121e67);},'frEfn':function(_0x334a74,_0x5519ce){return _0x334a74(_0x5519ce);},'PzgqY':_0x529f0a(0xa5),'sNveJ':'automation','tyzJC':function(_0x4bdc63,_0x43747f){return _0x4bdc63!=_0x43747f;},'AlvoY':function(_0x3b4683,_0x1f79b6,_0x4452f6){return _0x3b4683(_0x1f79b6,_0x4452f6);},'KtlMN':function(_0x321ce9,_0x3d3ea0){return _0x321ce9(_0x3d3ea0);},'uzRFf':function(_0x1fef82,_0x2362db){return _0x1fef82===_0x2362db;},'IadxE':_0x529f0a(0x86),'vInia':function(_0x4f218b,_0x1178d6){return _0x4f218b(_0x1178d6);},'DVsCJ':_0x529f0a(0xcc),'dwOvv':function(_0x2fa5fe,_0x22bae1){return _0x2fa5fe===_0x22bae1;},'LEjst':_0x529f0a(0xbd),'zRhWT':_0x529f0a(0x9a),'oWqPR':function(_0x4cd887,_0x508619){return _0x4cd887-_0x508619;},'FRzcu':'Updated\x20config\x20file\x20name\x20to\x20-\x20','sMiRm':function(_0x217f71,_0x1ffc4c){return _0x217f71>_0x1ffc4c;},'OcTla':function(_0x3adb06,_0x40bc65,_0xc55877,_0x4b17ed){return _0x3adb06(_0x40bc65,_0xc55877,_0x4b17ed);},'CEUeR':'npx','ASKBm':_0x529f0a(0xd3),'NvmOu':_0x529f0a(0xab),'dkeDa':_0x529f0a(0x103),'efMej':_0x529f0a(0xc5),'YqUaw':_0x529f0a(0x82),'eNqAD':_0x529f0a(0x84)};!helper[_0x529f0a(0xd8)](process['env'][_0x529f0a(0xc6)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=!![]);process[_0x529f0a(0xe6)][_0x529f0a(0x94)](_0x25ce14[_0x529f0a(0x105)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=_0x25ce14[_0x529f0a(0xac)],_0xd4195c=_0xd4195c[_0x529f0a(0xef)](_0x1a5828=>_0x1a5828!==_0x529f0a(0xb7)));const _0x347771=_0xd4195c[_0x529f0a(0x91)](_0x25ce14[_0x529f0a(0xfa)]);_0x25ce14['wHmxS'](_0x347771,0x0)&&(process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]=_0x25ce14[_0x529f0a(0xac)],_0xd4195c=_0xd4195c['filter'](_0x2c08b7=>_0x2c08b7!==_0x529f0a(0xb5)));try{const _0x40982c=path[_0x529f0a(0xe5)](helper[_0x529f0a(0xe0)](),_0x25ce14['mqHbZ'],_0x25ce14[_0x529f0a(0xdf)]);fs[_0x529f0a(0xb2)](_0x40982c)&&fs[_0x529f0a(0xc1)](_0x40982c);}catch(_0x751e36){logger[_0x529f0a(0xf8)](_0x25ce14['sElaT'](_0x25ce14['aTqQU'],_0x751e36));}if(!_0x25ce14['zfbIY'](isTestCommand,_0x1dcf2d,_0xd4195c)){_0x25ce14[_0x529f0a(0xed)](spawnOriginalProcess,_0xd4195c);return;}const _0x1eb2dc=new BrowserStackSetup(_0x1dcf2d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x1eb2dc['config']){logger[_0x529f0a(0xd2)](_0x25ce14[_0x529f0a(0x79)]);return;}await _0x1eb2dc['initialize']();!helper[_0x529f0a(0xe2)](_0x1eb2dc['cliConfig'])&&_0x1eb2dc[_0x529f0a(0xcf)][_0x529f0a(0xbf)](_0x25ce14[_0x529f0a(0xb0)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=_0x1eb2dc[_0x529f0a(0xcf)]['get'](_0x25ce14[_0x529f0a(0xb0)])||!![]);_0x25ce14[_0x529f0a(0xfe)](_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0x83)],null)&&!helper['isTrue'](process[_0x529f0a(0xcd)][_0x529f0a(0x7e)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]=process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]||_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0x83)]);const _0x15c98a=!helper['isFalse'](process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]);let _0x5f605f=![];_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xc9)]&&(_0x5f605f=!![],process[_0x529f0a(0xcd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xc9)]);_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xb8)]&&(process[_0x529f0a(0xcd)][_0x529f0a(0x98)]=JSON[_0x529f0a(0xf1)](_0x1eb2dc[_0x529f0a(0x8a)]['accessibilityOptions']));const _0x230743=_0xd4195c[_0x529f0a(0xaf)](),_0x1679e5=await _0x25ce14[_0x529f0a(0xdd)](getUserPlaywrightConfig,_0x1dcf2d,_0xd4195c);if(helper[_0x529f0a(0xe2)](_0x1679e5)){_0x25ce14['frEfn'](spawnOriginalProcess,_0x230743);return;}const _0x2a2e74=_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process[_0x529f0a(0xea)]();process['env'][_0x529f0a(0xec)]=_0x2a2e74,await TestHubHandler[_0x529f0a(0x9c)](FRAMEWORKS[_0x529f0a(0xb6)],_0x1eb2dc);_0x15c98a&&_0x25ce14[_0x529f0a(0xaa)](handleO11yRerun,_0xd4195c);let _0x4ff354=_0x25ce14[_0x529f0a(0xba)](process[_0x529f0a(0xcd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x25ce14['IadxE']);_0x4ff354=_0x4ff354||_0x25ce14[_0x529f0a(0xed)](checkAccessibilityPlatformConfig,_0x1eb2dc[_0x529f0a(0x8a)]),process['env'][_0x529f0a(0xbe)]=_0x4ff354;_0x4ff354&&_0x25ce14[_0x529f0a(0x8d)](setAccessibilityCapabilities,_0x1eb2dc['config']);const _0x2e55ba=path[_0x529f0a(0xe5)](_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process['cwd'](),_0x25ce14[_0x529f0a(0x9e)]);fs[_0x529f0a(0x77)](_0x2e55ba,helper['serializeToYamlString'](_0x1eb2dc[_0x529f0a(0x8a)])),process[_0x529f0a(0xcd)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x2e55ba,helper['clearTempPWConfig']();let _0x4edf8f='';_0x25ce14['dwOvv'](helper[_0x529f0a(0xf4)](),constants['PACKAGE_TYPE'][_0x529f0a(0xe9)])?_0x4edf8f=_0x25ce14[_0x529f0a(0xe8)]:_0x4edf8f=_0x25ce14['zRhWT'];let _0x111793='';if(helper[_0x529f0a(0x102)](_0x1679e5[_0x529f0a(0x7c)])){_0x111793=_0x529f0a(0xeb);const _0x2a5a76=_0x4edf8f[_0x529f0a(0x9f)]('.');_0x2a5a76[_0x25ce14[_0x529f0a(0xa9)](_0x2a5a76['length'],0x1)]='ts',_0x4edf8f=_0x2a5a76['join']('.'),logger['debug'](_0x25ce14[_0x529f0a(0xc7)](_0x25ce14[_0x529f0a(0x108)],_0x4edf8f));}else _0x111793=_0x529f0a(0x8b);const _0x23dccf=path['join'](_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process[_0x529f0a(0xea)](),_0x4edf8f);let _0x4d7643=_0x1679e5['path']?_0x1679e5[_0x529f0a(0x7c)]:'';_0x4d7643=_0x25ce14[_0x529f0a(0xe1)](_0x4d7643[_0x529f0a(0xa6)],0x0)?path[_0x529f0a(0xb3)](_0x4d7643):'',process[_0x529f0a(0xcd)][_0x529f0a(0x96)]=_0x4d7643;const _0x318a70=helper[_0x529f0a(0x107)](_0x1eb2dc[_0x529f0a(0x8a)]);_0x318a70&&(_0x111793=_0x25ce14['sElaT'](_0x529f0a(0xb1)+_0x318a70+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x111793));helper[_0x529f0a(0x89)]({},_0xd4195c),fs['writeFileSync'](_0x23dccf,_0x111793),helper[_0x529f0a(0xde)]();const _0xbb0bed=_0x25ce14[_0x529f0a(0x8e)](spawn,_0x25ce14[_0x529f0a(0xc4)],[_0x25ce14['ASKBm'],_0x25ce14[_0x529f0a(0xa3)],_0x25ce14['dkeDa'],_0x23dccf,..._0xd4195c[_0x529f0a(0xdc)](0x2)],{'shell':_0x25ce14[_0x529f0a(0xba)](process[_0x529f0a(0x106)],_0x25ce14['efMej']),'stdio':_0x25ce14[_0x529f0a(0xf2)],'cwd':process[_0x529f0a(0xea)](),'env':Object['assign']({},process[_0x529f0a(0xcd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x529f0a(0x104)](_0x1dcf2d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1eb2dc['config'][_0x529f0a(0xfd)][_0x529f0a(0xb9)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xfd)][_0x529f0a(0x101)],'BROWSERSTACK_LOG_LEVEL':_0x1eb2dc['config']['logLevel']})}),_0x456135=()=>{const _0x32999b=_0x529f0a;try{const _0x51d2c9=path[_0x32999b(0xe5)](helper[_0x32999b(0xe0)](),_0x25ce14[_0x32999b(0xf7)],_0x25ce14[_0x32999b(0xdf)]);if(fs['existsSync'](_0x51d2c9)){let _0x57acda=fs[_0x32999b(0x100)](_0x51d2c9);_0x57acda=JSON[_0x32999b(0x9b)](_0x57acda),_0x1eb2dc[_0x32999b(0x10b)]=_0x57acda,fs[_0x32999b(0xc1)](_0x51d2c9);}}catch(_0x18d730){logger[_0x32999b(0xf8)](_0x25ce14[_0x32999b(0xc7)](_0x25ce14[_0x32999b(0x81)],_0x18d730));}};_0xbb0bed['on'](_0x25ce14[_0x529f0a(0x95)],async _0x25d221=>{const _0x35dbb2=_0x529f0a;try{const _0x2bcd82=_0x25ce14[_0x35dbb2(0xa7)][_0x35dbb2(0x9f)]('|');let _0x4f10aa=0x0;while(!![]){switch(_0x2bcd82[_0x4f10aa++]){case'0':await utilities[_0x35dbb2(0x87)](_0x1eb2dc);continue;case'1':logger[_0x35dbb2(0xa8)](_0x35dbb2(0x7a)+_0x23dccf);continue;case'2':fs[_0x35dbb2(0xc1)](_0x23dccf);continue;case'3':await TestHubHandler[_0x35dbb2(0x9d)]();continue;case'4':logger[_0x35dbb2(0xf8)](_0x35dbb2(0x7a)+_0x2e55ba);continue;case'5':fs['unlinkSync'](_0x2e55ba);continue;case'6':process[_0x35dbb2(0xca)]=_0x25d221;continue;case'7':logger[_0x35dbb2(0xf8)](_0x35dbb2(0x80)+_0x25d221);continue;case'8':_0x25ce14['ZENHm'](_0x456135);continue;}break;}}catch(_0x1a5959){logger['debug'](_0x25ce14[_0x35dbb2(0xc7)](_0x25ce14[_0x35dbb2(0x90)],_0x1a5959));}});}module[a35_0x5efd26(0x93)]=run;
@@ -1 +1 @@
1
- const a36_0x2c3606=a36_0x20b3;(function(_0x2b9776,_0x5ec988){const _0x580e53=a36_0x20b3,_0x4253a2=_0x2b9776();while(!![]){try{const _0x3ad563=parseInt(_0x580e53(0xf4))/0x1*(parseInt(_0x580e53(0xe7))/0x2)+-parseInt(_0x580e53(0xdc))/0x3*(-parseInt(_0x580e53(0xf7))/0x4)+-parseInt(_0x580e53(0xe2))/0x5+-parseInt(_0x580e53(0xd3))/0x6*(-parseInt(_0x580e53(0xd7))/0x7)+parseInt(_0x580e53(0xe3))/0x8*(-parseInt(_0x580e53(0xc4))/0x9)+-parseInt(_0x580e53(0xde))/0xa+-parseInt(_0x580e53(0xcb))/0xb;if(_0x3ad563===_0x5ec988)break;else _0x4253a2['push'](_0x4253a2['shift']());}catch(_0x3d2353){_0x4253a2['push'](_0x4253a2['shift']());}}}(a36_0xc9f5,0x909a0));function a36_0x20b3(_0x99252f,_0x52b503){const _0xc9f547=a36_0xc9f5();return a36_0x20b3=function(_0x20b33c,_0x4695dc){_0x20b33c=_0x20b33c-0xc4;let _0x187bb8=_0xc9f547[_0x20b33c];return _0x187bb8;},a36_0x20b3(_0x99252f,_0x52b503);}function a36_0xc9f5(){const _0x3baf55=['552400KzVFOd','QYyMx','./mock-process.js','PLAYWRIGHT','1871414efpVjs','../../helpers/helper','UxtSk','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','resolve','./reporter/pwUtils','fork','Syhui','Not\x20able\x20to\x20import\x20globalSetup','requirePWModule','apply','toString','./patches','1aajilm','Running\x20existing\x20global\x20setup','env','32xCsImq','18ULJWre','xssSz','kzlIQ','../../helpers/test-observability/constants','\x20is\x20not\x20found','../../helpers/logger','kDwAW','10393394nsuNqc','function','config','ypiNJ','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/utils','format','isHandlePWErrorSet','222lIPIqZ','includes','error','debug','149114lrKfyd','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','util','iJiSV','exports','273660bMWNRd','xDhgA','6363410ITjNhL','kqvJB','Call\x20to\x20child\x20fork\x20with\x20args\x20','eWnwy','710290YVZsIA'];a36_0xc9f5=function(){return _0x3baf55;};return a36_0xc9f5();}const util=require(a36_0x2c3606(0xd9)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x2c3606(0xc7)),{getFrameworkVersion,debug}=require(a36_0x2c3606(0xd0)),helper=require(a36_0x2c3606(0xe8)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x2c3606(0xec)),{mockIsWorkerRedundant}=require(a36_0x2c3606(0xf3)),logger=require(a36_0x2c3606(0xc9))['winstonLogger'];module[a36_0x2c3606(0xdb)]=async function(_0x57b212){const _0x15b5fc=a36_0x2c3606,_0x1b5ebb={'CQhIY':function(_0x2d3d38,_0x151700){return _0x2d3d38(_0x151700);},'eWnwy':function(_0x1d199e){return _0x1d199e();},'kqvJB':_0x15b5fc(0xe5),'UxtSk':function(_0x450b78,_0x4dd7d5){return _0x450b78(_0x4dd7d5);},'kzlIQ':_0x15b5fc(0xf5),'HbPsq':function(_0xc33711){return _0xc33711();},'QYyMx':function(_0x55ab77,_0x42059d){return _0x55ab77(_0x42059d);},'xDhgA':function(_0x475bcb,_0x2acdcf){return _0x475bcb>=_0x2acdcf;},'ypiNJ':'1.33.0','kDwAW':function(_0x332a3e,_0x2ce045,_0x5cceed){return _0x332a3e(_0x2ce045,_0x5cceed);},'xssSz':function(_0x245ece,_0x3c7bb1){return _0x245ece!==_0x3c7bb1;},'iJiSV':_0x15b5fc(0xcc),'Syhui':_0x15b5fc(0xef)},_0x53aa4f=child_process[_0x15b5fc(0xed)];if(helper[_0x15b5fc(0xd2)]())try{_0x1b5ebb[_0x15b5fc(0xe1)](mockIsWorkerRedundant);}catch(_0x5d86af){logger[_0x15b5fc(0xd6)](_0x15b5fc(0xea)+util[_0x15b5fc(0xd1)](_0x5d86af));}child_process[_0x15b5fc(0xed)]=function(){const _0x379369=_0x15b5fc;return _0x1b5ebb['CQhIY'](debug,_0x379369(0xe0)+arguments[0x0]),arguments[0x0][_0x379369(0xd4)](_0x1b5ebb[_0x379369(0xe1)](getForkProcessPath))?arguments[0x0]=require[_0x379369(0xeb)](_0x1b5ebb[_0x379369(0xdf)]):logger[_0x379369(0xd5)]('Path\x20'+_0x1b5ebb['eWnwy'](getForkProcessPath)+_0x379369(0xc8)),_0x53aa4f[_0x379369(0xf1)](null,arguments);};if(process[_0x15b5fc(0xf6)][_0x15b5fc(0xd8)]){_0x1b5ebb[_0x15b5fc(0xe9)](debug,_0x1b5ebb[_0x15b5fc(0xc6)]);try{const {loadGlobalHook:_0x397b6b}=helper[_0x15b5fc(0xf0)]['apply'](null,_0x1b5ebb['HbPsq'](getLoadUtilsPath)),_0x156188=_0x1b5ebb[_0x15b5fc(0xe4)](getFrameworkVersion,FRAMEWORKS[_0x15b5fc(0xe6)]);let _0x2b5db8=_0x57b212;if(_0x1b5ebb[_0x15b5fc(0xdd)](helper['compareVersions'](_0x156188,_0x1b5ebb[_0x15b5fc(0xce)]),0x0)){const _0x4457df={};_0x4457df[_0x15b5fc(0xcd)]=_0x57b212,_0x2b5db8=_0x4457df;}const _0x533a3b=await _0x1b5ebb[_0x15b5fc(0xca)](_0x397b6b,_0x2b5db8,process[_0x15b5fc(0xf6)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x1b5ebb[_0x15b5fc(0xc5)](typeof _0x533a3b,_0x1b5ebb[_0x15b5fc(0xda)]))throw new Error(_0x1b5ebb[_0x15b5fc(0xee)]);return _0x533a3b[_0x15b5fc(0xf1)](null,arguments);}catch(_0x4d3767){_0x1b5ebb[_0x15b5fc(0xe9)](debug,_0x15b5fc(0xcf)+_0x4d3767[_0x15b5fc(0xf2)]());}}};
1
+ const a36_0x1ce6da=a36_0x4f0a;(function(_0x44b886,_0x5abc1e){const _0x43648d=a36_0x4f0a,_0x1fcc5d=_0x44b886();while(!![]){try{const _0xad63a6=parseInt(_0x43648d(0x1f4))/0x1+-parseInt(_0x43648d(0x1e2))/0x2*(parseInt(_0x43648d(0x1e6))/0x3)+-parseInt(_0x43648d(0x1f3))/0x4+parseInt(_0x43648d(0x214))/0x5*(-parseInt(_0x43648d(0x200))/0x6)+parseInt(_0x43648d(0x1eb))/0x7+-parseInt(_0x43648d(0x20f))/0x8*(parseInt(_0x43648d(0x210))/0x9)+parseInt(_0x43648d(0x1fd))/0xa;if(_0xad63a6===_0x5abc1e)break;else _0x1fcc5d['push'](_0x1fcc5d['shift']());}catch(_0x3c65e9){_0x1fcc5d['push'](_0x1fcc5d['shift']());}}}(a36_0x316f,0xcd74a));const util=require(a36_0x1ce6da(0x206)),child_process=require(a36_0x1ce6da(0x1fb)),{FRAMEWORKS}=require(a36_0x1ce6da(0x1f2)),{getFrameworkVersion,debug}=require(a36_0x1ce6da(0x1f9)),helper=require(a36_0x1ce6da(0x212)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x1ce6da(0x1e4)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a36_0x1ce6da(0x209))[a36_0x1ce6da(0x213)];function a36_0x316f(){const _0x4dbf1b=['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','2406OkROdb','config','wpYdy','KXrwO','Path\x20','resolve','util','Not\x20able\x20to\x20import\x20globalSetup','requirePWModule','../../helpers/logger','vzSfF','jbFlv','compareVersions','qVluW','error','630320jIboof','90dxCfOa','Running\x20existing\x20global\x20setup','../../helpers/helper','winstonLogger','12680xJxjqT','1786PdXVFl','ZcgUA','./reporter/pwUtils','fork','5451Yaunrc','apply','1.33.0','WqBsm','wcUnm','1798069xVLxOJ','format','XJdND','includes','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','PLAYWRIGHT','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/test-observability/constants','6062336XWxOdr','1259403csbVjY','toString','miuJo','XbIAV','env','../../helpers/test-observability/utils','GlPMv','child_process','exports','42682770wOpPTo','./mock-process.js'];a36_0x316f=function(){return _0x4dbf1b;};return a36_0x316f();}function a36_0x4f0a(_0xe21d0e,_0x21aa97){const _0x316ffe=a36_0x316f();return a36_0x4f0a=function(_0x4f0a3d,_0x3f050a){_0x4f0a3d=_0x4f0a3d-0x1e2;let _0x895b60=_0x316ffe[_0x4f0a3d];return _0x895b60;},a36_0x4f0a(_0xe21d0e,_0x21aa97);}module[a36_0x1ce6da(0x1fc)]=async function(_0x148c73){const _0xc1e97e=a36_0x1ce6da,_0x5b8fe1={'vzSfF':function(_0x30e2e2,_0x479722){return _0x30e2e2(_0x479722);},'XJdND':function(_0x51abfc){return _0x51abfc();},'WqBsm':_0xc1e97e(0x1fe),'wcUnm':function(_0x15ce64){return _0x15ce64();},'dfdBN':function(_0xa22f5f){return _0xa22f5f();},'KXrwO':function(_0x4ac387,_0x24135a){return _0x4ac387(_0x24135a);},'qVluW':_0xc1e97e(0x211),'iWSvs':function(_0x594a0e){return _0x594a0e();},'XbIAV':function(_0x1c0558,_0x2881d1){return _0x1c0558(_0x2881d1);},'jgqdm':function(_0x4a0439,_0x1190a7){return _0x4a0439>=_0x1190a7;},'jbFlv':_0xc1e97e(0x1e8),'wpYdy':function(_0x433ec9,_0x560ab3,_0x560e0d){return _0x433ec9(_0x560ab3,_0x560e0d);},'ZcgUA':function(_0x1f1ba8,_0x4fd99b){return _0x1f1ba8!==_0x4fd99b;},'GlPMv':'function','stnPp':_0xc1e97e(0x207),'miuJo':function(_0x178835,_0x9ac0aa){return _0x178835(_0x9ac0aa);}},_0x8dd60f=child_process[_0xc1e97e(0x1e5)];if(helper['isHandlePWErrorSet']())try{_0x5b8fe1['dfdBN'](mockIsWorkerRedundant);}catch(_0x400b22){logger['debug'](_0xc1e97e(0x1f1)+util[_0xc1e97e(0x1ec)](_0x400b22));}child_process[_0xc1e97e(0x1e5)]=function(){const _0x21c1b4=_0xc1e97e;return _0x5b8fe1[_0x21c1b4(0x20a)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x21c1b4(0x1ee)](_0x5b8fe1[_0x21c1b4(0x1ed)](getForkProcessPath))?arguments[0x0]=require[_0x21c1b4(0x205)](_0x5b8fe1[_0x21c1b4(0x1e9)]):logger[_0x21c1b4(0x20e)](_0x21c1b4(0x204)+_0x5b8fe1[_0x21c1b4(0x1ea)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x8dd60f['apply'](null,arguments);};if(process[_0xc1e97e(0x1f8)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x5b8fe1[_0xc1e97e(0x203)](debug,_0x5b8fe1[_0xc1e97e(0x20d)]);try{const {loadGlobalHook:_0x2f5877}=helper[_0xc1e97e(0x208)][_0xc1e97e(0x1e7)](null,_0x5b8fe1['iWSvs'](getLoadUtilsPath)),_0x112b74=_0x5b8fe1[_0xc1e97e(0x1f7)](getFrameworkVersion,FRAMEWORKS[_0xc1e97e(0x1f0)]);let _0x1044c7=_0x148c73;if(_0x5b8fe1['jgqdm'](helper[_0xc1e97e(0x20c)](_0x112b74,_0x5b8fe1[_0xc1e97e(0x20b)]),0x0)){const _0xddddfd={};_0xddddfd[_0xc1e97e(0x201)]=_0x148c73,_0x1044c7=_0xddddfd;}const _0x4476af=await _0x5b8fe1[_0xc1e97e(0x202)](_0x2f5877,_0x1044c7,process[_0xc1e97e(0x1f8)][_0xc1e97e(0x1ff)]);if(_0x5b8fe1[_0xc1e97e(0x1e3)](typeof _0x4476af,_0x5b8fe1[_0xc1e97e(0x1fa)]))throw new Error(_0x5b8fe1['stnPp']);return _0x4476af[_0xc1e97e(0x1e7)](null,arguments);}catch(_0x19a4bd){_0x5b8fe1[_0xc1e97e(0x1f6)](debug,_0xc1e97e(0x1ef)+_0x19a4bd[_0xc1e97e(0x1f5)]());}}};