browserstack-node-sdk 1.34.5 → 1.34.6

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x38a042=a29_0x3b9d;(function(_0x4bf1c4,_0xb4c3b2){const _0x5d7973=a29_0x3b9d,_0x368343=_0x4bf1c4();while(!![]){try{const _0x6ae698=-parseInt(_0x5d7973(0x193))/0x1+-parseInt(_0x5d7973(0x1a3))/0x2*(-parseInt(_0x5d7973(0x18c))/0x3)+parseInt(_0x5d7973(0x1c5))/0x4+parseInt(_0x5d7973(0x1c6))/0x5*(parseInt(_0x5d7973(0x198))/0x6)+parseInt(_0x5d7973(0x177))/0x7+parseInt(_0x5d7973(0x184))/0x8*(-parseInt(_0x5d7973(0x1b4))/0x9)+-parseInt(_0x5d7973(0x18e))/0xa;if(_0x6ae698===_0xb4c3b2)break;else _0x368343['push'](_0x368343['shift']());}catch(_0xcad19b){_0x368343['push'](_0x368343['shift']());}}}(a29_0x4b5c,0xa9833));const logger=require(a29_0x38a042(0x16e))[a29_0x38a042(0x170)],helper=require(a29_0x38a042(0x1a1)),constants=require(a29_0x38a042(0x186)),hubAllocator=require(a29_0x38a042(0x1c1)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x38a042(0x161)),{setAccessibilityCapabilities,setExtension}=require(a29_0x38a042(0x157)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x3ecc0b,_0x251f77=null,_0x89b24d=![])=>{const _0x3863a7=a29_0x38a042,_0x5ad512={'yfPMW':function(_0x2b3190,_0x42f3d1){return _0x2b3190!==_0x42f3d1;},'eENKt':_0x3863a7(0x15e),'nqWYL':function(_0x3f48f6,_0x8c290c){return _0x3f48f6!==_0x8c290c;},'ysDUx':function(_0x48e6c3,_0x2d773f){return _0x48e6c3+_0x2d773f;},'WiPhl':_0x3863a7(0x1a4),'udrMt':_0x3863a7(0x155),'CYQys':_0x3863a7(0x174),'lehbg':_0x3863a7(0x1ad),'wJNrZ':_0x3863a7(0x1aa),'wdSKH':_0x3863a7(0x17a),'ZbXun':_0x3863a7(0x1ae),'bpyBR':_0x3863a7(0x19c),'ymJVv':'safari.options','geAaF':'se:ieOptions','aLmMW':_0x3863a7(0x1c4),'JwEXd':function(_0x406709,_0x294047){return _0x406709===_0x294047;},'sQgpf':'object','qfcad':'Setting\x20Browserstack\x20capabilities','fYIzI':_0x3863a7(0x167),'dkUKu':_0x3863a7(0x1b2),'HTxxb':function(_0x3ca270,_0x567ff3,_0x56a8b7){return _0x3ca270(_0x567ff3,_0x56a8b7);},'zmRsk':function(_0x1a78b1,_0x3e0e67,_0x40027a){return _0x1a78b1(_0x3e0e67,_0x40027a);},'qLROv':function(_0x4d750d,_0x302caa){return _0x4d750d(_0x302caa);},'oKrIY':function(_0x10f9f6,_0x253a08,_0x1058e0){return _0x10f9f6(_0x253a08,_0x1058e0);},'RIEom':'2|4|0|5|3|1','kdrOy':_0x3863a7(0x179),'WPHte':function(_0x372b4c){return _0x372b4c();},'SLDIu':_0x3863a7(0x171),'XuqaL':function(_0x3eb5bf,_0x3c3bd8){return _0x3eb5bf(_0x3c3bd8);},'pZJPX':function(_0x4a1577,_0x36544a){return _0x4a1577(_0x36544a);},'mzbOO':function(_0x2e42c9,_0x34ac22){return _0x2e42c9!==_0x34ac22;},'qmxQc':function(_0x5c5f0c,_0x377975){return _0x5c5f0c!==_0x377975;},'AJkZD':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','rErCS':_0x3863a7(0x156)},_0x27a7c6=helper[_0x3863a7(0x16a)]();let _0x12b626;try{_0x12b626=helper[_0x3863a7(0x187)](),_0x12b626['originalBuilder']&&(_0x12b626[_0x3863a7(0x199)]=_0x12b626[_0x3863a7(0x18b)]);}catch(_0x3f8bfa){return;}if(helper['isBrowserstackInfra']()){const _0x2bddbd={};_0x2bddbd[_0x3863a7(0x197)]=_0x3ecc0b['browserStackLogLevel'],helper[_0x3863a7(0x1b6)](_0x2bddbd,new Map(),new Map()),logger['info'](_0x5ad512['AJkZD']),logger[_0x3863a7(0x1a8)](_0x5ad512[_0x3863a7(0x16f)]);}class _0x32409c extends _0x27a7c6[_0x3863a7(0x190)]{[_0x3863a7(0x17b)](_0x421ccb){const _0x29a1a3=_0x3863a7;if(_0x5ad512[_0x29a1a3(0x19e)](_0x421ccb[_0x29a1a3(0x1b1)],_0x5ad512['eENKt'])&&_0x5ad512[_0x29a1a3(0x1af)](global[_0x29a1a3(0x188)],''))try{global[_0x29a1a3(0x188)]=_0x5ad512['ysDUx'](_0x5ad512[_0x29a1a3(0x191)](_0x5ad512[_0x29a1a3(0x1bb)],global[_0x29a1a3(0x188)]),_0x5ad512[_0x29a1a3(0x158)]),this['options_']=hubAllocator[_0x29a1a3(0x1ac)](global[_0x29a1a3(0x188)]),logger[_0x29a1a3(0x1a8)](_0x29a1a3(0x1b9)+global[_0x29a1a3(0x188)]),global['newHubUrl']='';}catch(_0x412aaf){logger[_0x29a1a3(0x152)](_0x412aaf);}return super[_0x29a1a3(0x17b)](_0x421ccb);}}class _0x2f712b extends _0x12b626[_0x3863a7(0x199)]{[_0x3863a7(0x1bf)](){const _0x5f15d6=_0x3863a7;return this['url_']=helper['getHubUrl'](_0x3ecc0b),logger[_0x5f15d6(0x1a8)](_0x5f15d6(0x164)+this['url_']),this;}[_0x3863a7(0x15b)](_0xaa5973){const _0x476ba6=_0x3863a7;let _0xa45ab2={};for(const _0x3c82d8 in _0xaa5973){switch(_0x3c82d8){case _0x5ad512[_0x476ba6(0x19d)]:case _0x5ad512[_0x476ba6(0x1bc)]:this[_0x476ba6(0x159)]&&(_0xa45ab2=this[_0x476ba6(0x159)][_0x476ba6(0x163)](this[_0x476ba6(0x159)][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x159)][_0x476ba6(0x19f)](this['chromeOptions_'][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512['wJNrZ']:case _0x5ad512[_0x476ba6(0x194)]:this['edgeOptions_']&&(_0xa45ab2=this[_0x476ba6(0x182)]['get'](this['edgeOptions_'][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x182)]['set'](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512[_0x476ba6(0x165)]:case _0x5ad512[_0x476ba6(0x17c)]:this[_0x476ba6(0x185)]&&(_0xa45ab2=this[_0x476ba6(0x185)][_0x476ba6(0x163)](this[_0x476ba6(0x185)]['CAPABILITY_KEY'])||{},this[_0x476ba6(0x185)][_0x476ba6(0x19f)](this[_0x476ba6(0x185)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512['ymJVv']:this[_0x476ba6(0x15d)]&&(_0xa45ab2=this[_0x476ba6(0x15d)][_0x476ba6(0x163)](this[_0x476ba6(0x15d)][_0x476ba6(0x18d)])||{},this['safariOptions_'][_0x476ba6(0x19f)](this[_0x476ba6(0x15d)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512[_0x476ba6(0x1a0)]:case _0x5ad512[_0x476ba6(0x196)]:this[_0x476ba6(0x151)]&&(_0xa45ab2=this[_0x476ba6(0x151)]['get'](this['ieOptions_'][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x151)][_0x476ba6(0x19f)](this[_0x476ba6(0x151)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;}}}[_0x3863a7(0x18f)](){const _0x79e6fb=_0x3863a7;return logger[_0x79e6fb(0x1a8)](_0x5ad512[_0x79e6fb(0x1b0)]),this[_0x79e6fb(0x15b)](_0x3ecc0b[_0x79e6fb(0x181)]),Object['keys'](_0x3ecc0b['capability'])[_0x79e6fb(0x189)](_0x950261=>{const _0x12e00b=_0x79e6fb,_0x22e501=this['capabilities_']['get'](_0x950261);_0x5ad512[_0x12e00b(0x178)](typeof _0x22e501,_0x5ad512[_0x12e00b(0x192)])?this[_0x12e00b(0x160)][_0x12e00b(0x19f)](_0x950261,helper[_0x12e00b(0x1b7)](_0x22e501,_0x3ecc0b['capability'][_0x950261])):this[_0x12e00b(0x160)][_0x12e00b(0x19f)](_0x950261,_0x3ecc0b[_0x12e00b(0x181)][_0x950261]);}),this;}[_0x3863a7(0x153)](){const _0x292b84=_0x3863a7;if(helper['isBrowserstackInfra']()){const _0x38b087=_0x5ad512[_0x292b84(0x180)][_0x292b84(0x15f)]('|');let _0x3423b9=0x0;while(!![]){switch(_0x38b087[_0x3423b9++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x292b84(0x1a8)](_0x5ad512[_0x292b84(0x17f)]);continue;case'2':_0x5ad512[_0x292b84(0x1ba)](isAccessibilityAutomationSession)&&_0x5ad512[_0x292b84(0x16c)](setAccessibilityCapabilities,_0x3ecc0b);continue;case'3':globals[_0x292b84(0x1c7)](_0x5ad512[_0x292b84(0x169)])&&(!_0x5ad512[_0x292b84(0x173)](setExtension,this,_0x3ecc0b)&&globals['setGlobal'](_0x5ad512[_0x292b84(0x169)],![]));continue;case'4':this[_0x292b84(0x1bf)]();continue;case'5':if(helper['isPacProxy'](_0x3ecc0b['proxySettings'][_0x292b84(0x17d)]))this[_0x292b84(0x1bd)]=helper[_0x292b84(0x1c0)](_0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)]);else _0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)]&&(this[_0x292b84(0x1a2)]=_0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)],logger['debug'](_0x292b84(0x1a7)+this[_0x292b84(0x1a2)]));continue;}break;}}const _0x4ced96=super[_0x292b84(0x153)]();return _0x4ced96['session_'][_0x292b84(0x18a)](_0x198659=>{const _0x2ff2b5=_0x292b84;try{const _0x517c4b=_0x198659[_0x2ff2b5(0x176)][_0x2ff2b5(0x163)](_0x5ad512[_0x2ff2b5(0x1b5)]);_0x517c4b?(logger[_0x2ff2b5(0x1a8)](_0x2ff2b5(0x162)+_0x517c4b),hubAllocator[_0x2ff2b5(0x1a5)](_0x517c4b),helper[_0x2ff2b5(0x195)](_0x517c4b)):logger['debug'](_0x5ad512[_0x2ff2b5(0x17e)]);}catch(_0x2e0336){logger[_0x2ff2b5(0x1a8)](_0x2ff2b5(0x1a9)+_0x2e0336);}}),_0x4ced96[_0x292b84(0x19a)]=0x0,_0x4ced96[_0x292b84(0x18a)]&&_0x4ced96[_0x292b84(0x18a)](_0x596767=>{const _0x42b94b=_0x292b84,_0x381dec={'kNplV':function(_0x13b7ca,_0x2c770f,_0x385061){return _0x5ad512['HTxxb'](_0x13b7ca,_0x2c770f,_0x385061);},'YbmQy':function(_0x4c28e3,_0x2112ac,_0x458a6f){const _0x468589=a29_0x3b9d;return _0x5ad512[_0x468589(0x166)](_0x4c28e3,_0x2112ac,_0x458a6f);}};_0x5ad512['zmRsk'](overrideQuit,_0x596767,_0x4ced96),_0x5ad512[_0x42b94b(0x16c)](overrideTakeScreenshot,_0x596767),helper[_0x42b94b(0x15c)](_0x596767,_0x3ecc0b),helper['overrideExecute'](_0x596767,_0x3ecc0b),_0x596767[_0x42b94b(0x150)]=async()=>{const _0x27c2da=_0x42b94b;return await _0x381dec[_0x27c2da(0x172)](getAccessibilityResultsSummary,_0x596767,global);},_0x596767[_0x42b94b(0x1c2)]=async()=>{const _0x2d3224=_0x42b94b;return await _0x381dec[_0x2d3224(0x1ab)](getAccessibilityResults,_0x596767,global);};}),_0x4ced96[_0x292b84(0x150)]=async()=>{const _0x4c3b97=_0x292b84;return await _0x5ad512[_0x4c3b97(0x173)](getAccessibilityResultsSummary,_0x4ced96,global);},_0x4ced96[_0x292b84(0x1c2)]=async()=>{const _0x5560bd=_0x292b84;return await _0x5ad512[_0x5560bd(0x183)](getAccessibilityResults,_0x4ced96,global);},_0x5ad512[_0x292b84(0x15a)](overrideTakeScreenshot,_0x4ced96),_0x5ad512[_0x292b84(0x16b)](overrideQuit,_0x4ced96),helper[_0x292b84(0x15c)](_0x4ced96,_0x3ecc0b),helper[_0x292b84(0x175)](_0x4ced96,_0x3ecc0b),helper[_0x292b84(0x16d)](global[_0x292b84(0x1c3)])&&(global[_0x292b84(0x1c3)]=[]),helper[_0x292b84(0x16d)](global[_0x292b84(0x1a6)])&&(global[_0x292b84(0x1a6)]=[]),global[_0x292b84(0x1c3)][_0x292b84(0x154)](_0x4ced96),global['__driver']=_0x4ced96,_0x5ad512[_0x292b84(0x1b3)](global[_0x292b84(0x1a6)],undefined)&&global[_0x292b84(0x1a6)][_0x292b84(0x154)](_0x4ced96),_0x251f77&&helper[_0x292b84(0x16d)](_0x251f77[_0x292b84(0x168)][_0x292b84(0x1c3)])&&(_0x251f77[_0x292b84(0x168)]['__driversArray']=[]),_0x251f77&&_0x5ad512[_0x292b84(0x1b8)](_0x251f77[_0x292b84(0x168)][_0x292b84(0x1a6)],undefined)&&(_0x251f77[_0x292b84(0x168)]['__drivers'][_0x292b84(0x154)](_0x4ced96),_0x251f77[_0x292b84(0x168)][_0x292b84(0x1c3)][_0x292b84(0x154)](_0x4ced96)),_0x4ced96;}}return _0x12b626[_0x3863a7(0x18b)]=_0x12b626[_0x3863a7(0x199)],_0x12b626['Builder']=_0x2f712b,_0x27a7c6['HttpClient']=_0x32409c,_0x12b626;};function a29_0x3b9d(_0x211af2,_0x2d601b){const _0x4b5c89=a29_0x4b5c();return a29_0x3b9d=function(_0x3b9d01,_0xd6c68e){_0x3b9d01=_0x3b9d01-0x150;let _0x512cfd=_0x4b5c89[_0x3b9d01];return _0x512cfd;},a29_0x3b9d(_0x211af2,_0x2d601b);}module[a29_0x38a042(0x1be)]['browserstackAgentObservability']=modify;function a29_0x4b5c(){const _0xc94b25=['JwEXd','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','edgeOptions','send','bpyBR','proxyUrl','dkUKu','kdrOy','RIEom','capability','edgeOptions_','oKrIY','1429768fPLBOj','firefoxOptions_','../../../bin/utils/constants','requireSeleniumWebdriver','newHubUrl','forEach','then','originalBuilder','118452hmURwZ','CAPABILITY_KEY','29299240VKYfjS','setCapabilities','HttpClient','ysDUx','sQgpf','105943LDJSJt','wdSKH','storeOptimalHubUrl','aLmMW','logLevel','37032AgjXDQ','Builder','quitCount_','proxySettings','firefoxOptions','CYQys','yfPMW','set','geAaF','../../../helpers/helper','proxy_','26ZqexMb','https://','updateHubUrl','__drivers','Proxy\x20set\x20to\x20','debug','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ms:edgeOptions','YbmQy','getRequestOptions','chromeOptions','moz:firefoxOptions','nqWYL','qfcad','path','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','mzbOO','9LfYJYn','fYIzI','setLogLevel','mergeDeep','qmxQc','New\x20hub\x20url\x20set\x20to\x20','WPHte','WiPhl','lehbg','agent_','exports','setServer','getHttpAgent','../../../hubAllocationMethods','getAccessibilityResults','__driversArray','ieOptions','4307500KcaAdS','995jaJlfz','getGlobal','getAccessibilityResultsSummary','ieOptions_','error','build','push','/wd/hub','Modifying\x20webdriver\x20builder','../accessibility-automation/helper','udrMt','chromeOptions_','XuqaL','__setBrowserOptions','overrideGet','safariOptions_','/session','split','capabilities_','../../../helpers/patchHelpers','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','get','Hub\x20url\x20set\x20to\x20','ZbXun','HTxxb','optimalHubUrl','global','SLDIu','requireHttpClient','pZJPX','qLROv','isUndefined','../../../helpers/logger','rErCS','winstonLogger','isAccessibilityPlatform','kNplV','zmRsk','goog:chromeOptions','overrideExecute','caps_','7633612lHyRCz'];a29_0x4b5c=function(){return _0xc94b25;};return a29_0x4b5c();}
1
+ const a29_0x481bdb=a29_0x5d7c;function a29_0x5d7c(_0x4deb7b,_0x2b6931){const _0x39d43d=a29_0x39d4();return a29_0x5d7c=function(_0x5d7c04,_0x692b73){_0x5d7c04=_0x5d7c04-0xc2;let _0x5a4b2e=_0x39d43d[_0x5d7c04];return _0x5a4b2e;},a29_0x5d7c(_0x4deb7b,_0x2b6931);}(function(_0x36dd7e,_0x55a865){const _0x30adc2=a29_0x5d7c,_0x5b06d8=_0x36dd7e();while(!![]){try{const _0x31e16a=parseInt(_0x30adc2(0xde))/0x1+parseInt(_0x30adc2(0xdd))/0x2*(-parseInt(_0x30adc2(0xf6))/0x3)+-parseInt(_0x30adc2(0x113))/0x4*(parseInt(_0x30adc2(0xd9))/0x5)+parseInt(_0x30adc2(0x106))/0x6*(-parseInt(_0x30adc2(0x117))/0x7)+parseInt(_0x30adc2(0xe8))/0x8+-parseInt(_0x30adc2(0xee))/0x9+parseInt(_0x30adc2(0x140))/0xa;if(_0x31e16a===_0x55a865)break;else _0x5b06d8['push'](_0x5b06d8['shift']());}catch(_0x261b2e){_0x5b06d8['push'](_0x5b06d8['shift']());}}}(a29_0x39d4,0xe6cc9));const logger=require(a29_0x481bdb(0x108))[a29_0x481bdb(0x132)],helper=require(a29_0x481bdb(0xec)),constants=require(a29_0x481bdb(0xcf)),hubAllocator=require(a29_0x481bdb(0xfb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x481bdb(0x111)),{setAccessibilityCapabilities,setExtension}=require(a29_0x481bdb(0x125)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x481bdb(0xfd)),globals=require('../../../helpers/globals'),modify=(_0x547eca,_0x12e0de=null,_0x1b5aab=![])=>{const _0x3c3738=a29_0x481bdb,_0x294c23={'NspDQ':function(_0x5bdb49,_0x44dcfc){return _0x5bdb49!==_0x44dcfc;},'cnbFq':_0x3c3738(0x10a),'hFDFy':function(_0x284705,_0x5975dc){return _0x284705!==_0x5975dc;},'Dcgbc':function(_0x5a2a19,_0x4915be){return _0x5a2a19+_0x4915be;},'AVgSJ':_0x3c3738(0xef),'MuAcN':_0x3c3738(0x124),'JPhMl':_0x3c3738(0x12c),'eNKrI':_0x3c3738(0x114),'BProq':_0x3c3738(0x116),'mopBE':_0x3c3738(0xf9),'nEIFx':_0x3c3738(0x121),'PUjfp':_0x3c3738(0xe3),'uiSfu':_0x3c3738(0xc8),'fizlI':_0x3c3738(0xf3),'oyUbD':_0x3c3738(0xf7),'amZJT':function(_0x26ab89,_0x5ea003){return _0x26ab89===_0x5ea003;},'rDTKH':_0x3c3738(0x112),'jRMOF':_0x3c3738(0xce),'ZdZvr':'optimalHubUrl','hywky':_0x3c3738(0xc2),'ciVNF':function(_0x4b7161,_0x5edec5,_0x10c746){return _0x4b7161(_0x5edec5,_0x10c746);},'rrTmK':function(_0x432fc1,_0x2179d6,_0x207825){return _0x432fc1(_0x2179d6,_0x207825);},'aMeQm':function(_0x140635,_0x56e90c){return _0x140635(_0x56e90c);},'yIStA':function(_0x3b3547,_0x4fd4a1,_0x15cd42){return _0x3b3547(_0x4fd4a1,_0x15cd42);},'lSVPA':_0x3c3738(0xf4),'RmPuJ':'isAccessibilityPlatform','yIitb':function(_0x16d287){return _0x16d287();},'hJhem':function(_0x56dbd9,_0x1624d8){return _0x56dbd9(_0x1624d8);},'vOEMO':_0x3c3738(0x13e),'RGYnX':function(_0x5c166c,_0x543b35){return _0x5c166c(_0x543b35);},'EeAij':function(_0x5787b2,_0x1ea71f){return _0x5787b2(_0x1ea71f);},'jRKDU':function(_0x2975d2,_0x3e1130){return _0x2975d2!==_0x3e1130;},'GJnuv':function(_0x5440d5,_0x21ae77){return _0x5440d5!==_0x21ae77;},'xKEMV':_0x3c3738(0x138),'oOWTV':_0x3c3738(0xcc)},_0x3bde75=helper[_0x3c3738(0x11b)]();let _0x8e0449;try{_0x8e0449=helper[_0x3c3738(0x11e)](),_0x8e0449[_0x3c3738(0xd5)]&&(_0x8e0449[_0x3c3738(0xd6)]=_0x8e0449[_0x3c3738(0xd5)]);}catch(_0xb1ad2e){return;}if(helper[_0x3c3738(0xd7)]()){const _0x2dc2aa={};_0x2dc2aa[_0x3c3738(0xe2)]=_0x547eca[_0x3c3738(0x137)],helper[_0x3c3738(0x118)](_0x2dc2aa,new Map(),new Map()),logger[_0x3c3738(0x11d)](_0x294c23[_0x3c3738(0x119)]),logger[_0x3c3738(0xda)](_0x294c23[_0x3c3738(0xd4)]);}class _0x32cac2 extends _0x3bde75[_0x3c3738(0x131)]{[_0x3c3738(0xf0)](_0x43ebaf){const _0x4086f5=_0x3c3738;if(_0x294c23[_0x4086f5(0xe1)](_0x43ebaf[_0x4086f5(0xe9)],_0x294c23[_0x4086f5(0xd3)])&&_0x294c23[_0x4086f5(0xed)](global[_0x4086f5(0xe4)],''))try{global['newHubUrl']=_0x294c23['Dcgbc'](_0x294c23[_0x4086f5(0x135)](_0x294c23['AVgSJ'],global[_0x4086f5(0xe4)]),_0x294c23[_0x4086f5(0x12e)]),this['options_']=hubAllocator[_0x4086f5(0x10b)](global[_0x4086f5(0xe4)]),logger['debug'](_0x4086f5(0xfe)+global[_0x4086f5(0xe4)]),global[_0x4086f5(0xe4)]='';}catch(_0x2b070e){logger['error'](_0x2b070e);}return super[_0x4086f5(0xf0)](_0x43ebaf);}}class _0x303957 extends _0x8e0449['Builder']{[_0x3c3738(0x11a)](){const _0x25858a=_0x3c3738;return this[_0x25858a(0x105)]=helper['getHubUrl'](_0x547eca),logger['debug'](_0x25858a(0x103)+this[_0x25858a(0x105)]),this;}[_0x3c3738(0x122)](_0x1b16ec){const _0x517dfa=_0x3c3738;let _0x26cde2={};for(const _0xd6cc80 in _0x1b16ec){switch(_0xd6cc80){case _0x294c23['JPhMl']:case _0x294c23[_0x517dfa(0x12b)]:this[_0x517dfa(0xc4)]&&(_0x26cde2=this[_0x517dfa(0xc4)][_0x517dfa(0x100)](this['chromeOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xc4)][_0x517dfa(0x101)](this['chromeOptions_'][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x143)]:case _0x294c23['mopBE']:this[_0x517dfa(0xc7)]&&(_0x26cde2=this[_0x517dfa(0xc7)][_0x517dfa(0x100)](this[_0x517dfa(0xc7)][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xc7)][_0x517dfa(0x101)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x123)]:case _0x294c23[_0x517dfa(0x139)]:this[_0x517dfa(0xe0)]&&(_0x26cde2=this['firefoxOptions_'][_0x517dfa(0x100)](this['firefoxOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xe0)][_0x517dfa(0x101)](this[_0x517dfa(0xe0)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x129)]:this['safariOptions_']&&(_0x26cde2=this['safariOptions_']['get'](this['safariOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0x12a)]['set'](this[_0x517dfa(0x12a)][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x10d)]:case _0x294c23[_0x517dfa(0x12f)]:this[_0x517dfa(0x10e)]&&(_0x26cde2=this[_0x517dfa(0x10e)][_0x517dfa(0x100)](this[_0x517dfa(0x10e)][_0x517dfa(0xc5)])||{},this[_0x517dfa(0x10e)]['set'](this[_0x517dfa(0x10e)][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;}}}[_0x3c3738(0xc3)](){const _0x1c9194=_0x3c3738;return logger['debug'](_0x294c23[_0x1c9194(0x13f)]),this[_0x1c9194(0x122)](_0x547eca['capability']),Object[_0x1c9194(0xf8)](_0x547eca[_0x1c9194(0x11f)])['forEach'](_0x41da12=>{const _0xeb6c27=_0x1c9194,_0x8b241=this[_0xeb6c27(0x13b)][_0xeb6c27(0x100)](_0x41da12);_0x294c23[_0xeb6c27(0x13a)](typeof _0x8b241,_0x294c23[_0xeb6c27(0x115)])?this[_0xeb6c27(0x13b)]['set'](_0x41da12,helper['mergeDeep'](_0x8b241,_0x547eca[_0xeb6c27(0x11f)][_0x41da12])):this[_0xeb6c27(0x13b)][_0xeb6c27(0x101)](_0x41da12,_0x547eca[_0xeb6c27(0x11f)][_0x41da12]);}),this;}[_0x3c3738(0x13c)](){const _0xea8d31=_0x3c3738,_0x92eb57={'APTOE':function(_0x48d8ac,_0x467c0a,_0x11f1ca){const _0x4837e5=a29_0x5d7c;return _0x294c23[_0x4837e5(0x104)](_0x48d8ac,_0x467c0a,_0x11f1ca);}};if(helper[_0xea8d31(0xd7)]()){const _0x1d3360=_0x294c23[_0xea8d31(0xcb)][_0xea8d31(0xd1)]('|');let _0x5e930e=0x0;while(!![]){switch(_0x1d3360[_0x5e930e++]){case'0':this['setCapabilities']();continue;case'1':globals[_0xea8d31(0x110)](_0x294c23[_0xea8d31(0xc9)])&&(!_0x294c23[_0xea8d31(0xdb)](setExtension,this,_0x547eca)&&globals[_0xea8d31(0x10f)](_0x294c23[_0xea8d31(0xc9)],![]));continue;case'2':this[_0xea8d31(0x11a)]();continue;case'3':_0x294c23[_0xea8d31(0xfc)](isAccessibilityAutomationSession)&&_0x294c23['hJhem'](setAccessibilityCapabilities,_0x547eca);continue;case'4':if(helper[_0xea8d31(0xf2)](_0x547eca['proxySettings'][_0xea8d31(0x11c)]))this[_0xea8d31(0x136)]=helper[_0xea8d31(0x130)](_0x547eca[_0xea8d31(0xc6)]['proxyUrl']);else _0x547eca[_0xea8d31(0xc6)][_0xea8d31(0x11c)]&&(this[_0xea8d31(0x102)]=_0x547eca[_0xea8d31(0xc6)]['proxyUrl'],logger[_0xea8d31(0xda)](_0xea8d31(0xd2)+this[_0xea8d31(0x102)]));continue;case'5':logger[_0xea8d31(0xda)](_0x294c23[_0xea8d31(0x134)]);continue;}break;}}const _0x4d00a6=super['build']();return _0x4d00a6['session_'][_0xea8d31(0xf1)](_0x5885d1=>{const _0x17ff9e=_0xea8d31;try{const _0x3a90a2=_0x5885d1[_0x17ff9e(0x10c)][_0x17ff9e(0x100)](_0x294c23[_0x17ff9e(0x109)]);_0x3a90a2?(logger[_0x17ff9e(0xda)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x3a90a2),hubAllocator[_0x17ff9e(0x133)](_0x3a90a2),helper[_0x17ff9e(0xd0)](_0x3a90a2)):logger['debug'](_0x294c23[_0x17ff9e(0xf5)]);}catch(_0x1fbfd0){logger[_0x17ff9e(0xda)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1fbfd0);}}),_0x4d00a6[_0xea8d31(0x126)]=0x0,_0x4d00a6['then']&&_0x4d00a6[_0xea8d31(0xf1)](_0x421982=>{const _0x2f3cd6=_0xea8d31,_0x46b3cd={'hHkaV':function(_0x39a705,_0x2de518,_0x25c73d){return _0x294c23['ciVNF'](_0x39a705,_0x2de518,_0x25c73d);},'cDvYa':function(_0x262d5d,_0xd67f6a,_0x1057c2){const _0x15d0fc=a29_0x5d7c;return _0x294c23[_0x15d0fc(0xdb)](_0x262d5d,_0xd67f6a,_0x1057c2);}};_0x294c23['ciVNF'](overrideQuit,_0x421982,_0x4d00a6),_0x294c23[_0x2f3cd6(0x127)](overrideTakeScreenshot,_0x421982),helper[_0x2f3cd6(0x141)](_0x421982,_0x547eca),helper['overrideExecute'](_0x421982,_0x547eca),_0x421982[_0x2f3cd6(0x107)]=async()=>{const _0x3f2667=_0x2f3cd6;return await _0x46b3cd[_0x3f2667(0xe5)](getAccessibilityResultsSummary,_0x421982,global);},_0x421982[_0x2f3cd6(0xea)]=async()=>{return await _0x46b3cd['cDvYa'](getAccessibilityResults,_0x421982,global);};}),_0x4d00a6[_0xea8d31(0x107)]=async()=>{const _0x2c3abb=_0xea8d31;return await _0x92eb57[_0x2c3abb(0xcd)](getAccessibilityResultsSummary,_0x4d00a6,global);},_0x4d00a6[_0xea8d31(0xea)]=async()=>{return await _0x294c23['rrTmK'](getAccessibilityResults,_0x4d00a6,global);},_0x294c23[_0xea8d31(0x120)](overrideTakeScreenshot,_0x4d00a6),_0x294c23[_0xea8d31(0x12d)](overrideQuit,_0x4d00a6),helper[_0xea8d31(0x141)](_0x4d00a6,_0x547eca),helper[_0xea8d31(0x142)](_0x4d00a6,_0x547eca),helper[_0xea8d31(0xfa)](global[_0xea8d31(0xe6)])&&(global[_0xea8d31(0xe6)]=[]),helper[_0xea8d31(0xfa)](global['__drivers'])&&(global[_0xea8d31(0xca)]=[]),global['__driversArray']['push'](_0x4d00a6),global[_0xea8d31(0xeb)]=_0x4d00a6,_0x294c23[_0xea8d31(0xd8)](global[_0xea8d31(0xca)],undefined)&&global[_0xea8d31(0xca)][_0xea8d31(0xdf)](_0x4d00a6),_0x12e0de&&helper[_0xea8d31(0xfa)](_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xe6)])&&(_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xe6)]=[]),_0x12e0de&&_0x294c23[_0xea8d31(0xdc)](_0x12e0de['global'][_0xea8d31(0xca)],undefined)&&(_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xca)][_0xea8d31(0xdf)](_0x4d00a6),_0x12e0de[_0xea8d31(0xe7)]['__driversArray'][_0xea8d31(0xdf)](_0x4d00a6)),_0x4d00a6;}}return _0x8e0449[_0x3c3738(0xd5)]=_0x8e0449[_0x3c3738(0xd6)],_0x8e0449['Builder']=_0x303957,_0x3bde75[_0x3c3738(0x131)]=_0x32cac2,_0x8e0449;};function a29_0x39d4(){const _0x2535f6=['setLogLevel','xKEMV','setServer','requireHttpClient','proxyUrl','info','requireSeleniumWebdriver','capability','RGYnX','moz:firefoxOptions','__setBrowserOptions','nEIFx','/wd/hub','../accessibility-automation/helper','quitCount_','aMeQm','browserstackAgentObservability','uiSfu','safariOptions_','eNKrI','goog:chromeOptions','EeAij','MuAcN','oyUbD','getHttpAgent','HttpClient','winstonLogger','updateHubUrl','vOEMO','Dcgbc','agent_','browserStackLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','PUjfp','amZJT','capabilities_','build','exports','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','jRMOF','34540580IEbztF','overrideGet','overrideExecute','BProq','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setCapabilities','chromeOptions_','CAPABILITY_KEY','proxySettings','edgeOptions_','safari.options','RmPuJ','__drivers','lSVPA','Modifying\x20webdriver\x20builder','APTOE','Setting\x20Browserstack\x20capabilities','../../../bin/utils/constants','storeOptimalHubUrl','split','Proxy\x20set\x20to\x20','cnbFq','oOWTV','originalBuilder','Builder','isBrowserstackInfra','jRKDU','145PvQaBy','debug','rrTmK','GJnuv','139092exYeTL','739407pTJwdF','push','firefoxOptions_','NspDQ','logLevel','firefoxOptions','newHubUrl','hHkaV','__driversArray','global','797520JqSQqw','path','getAccessibilityResults','__driver','../../../helpers/helper','hFDFy','12480705TUVxNl','https://','send','then','isPacProxy','se:ieOptions','3|2|0|4|1|5','hywky','3ywsHwC','ieOptions','keys','edgeOptions','isUndefined','../../../hubAllocationMethods','yIitb','../../../helpers/accessibility-automation/helper','New\x20hub\x20url\x20set\x20to\x20','mergeDeep','get','set','proxy_','Hub\x20url\x20set\x20to\x20','yIStA','url_','30CdNxVJ','getAccessibilityResultsSummary','../../../helpers/logger','ZdZvr','/session','getRequestOptions','caps_','fizlI','ieOptions_','setGlobal','getGlobal','../../../helpers/patchHelpers','object','238916xlLkDl','chromeOptions','rDTKH','ms:edgeOptions','223118SZksdu'];a29_0x39d4=function(){return _0x2535f6;};return a29_0x39d4();}module[a29_0x481bdb(0x13d)][a29_0x481bdb(0x128)]=modify;
@@ -1 +1 @@
1
- function a30_0x379c(_0x2f5c52,_0x47181f){const _0x2c4f29=a30_0x2c4f();return a30_0x379c=function(_0x379c18,_0x4d55f8){_0x379c18=_0x379c18-0x110;let _0x1c2264=_0x2c4f29[_0x379c18];return _0x1c2264;},a30_0x379c(_0x2f5c52,_0x47181f);}const a30_0x1acf9e=a30_0x379c;(function(_0x2c03bf,_0xc75b5a){const _0x1774c3=a30_0x379c,_0x27e147=_0x2c03bf();while(!![]){try{const _0x28c2bd=-parseInt(_0x1774c3(0x11c))/0x1*(parseInt(_0x1774c3(0x110))/0x2)+-parseInt(_0x1774c3(0x118))/0x3*(-parseInt(_0x1774c3(0x111))/0x4)+parseInt(_0x1774c3(0x115))/0x5*(parseInt(_0x1774c3(0x116))/0x6)+parseInt(_0x1774c3(0x11a))/0x7*(parseInt(_0x1774c3(0x119))/0x8)+parseInt(_0x1774c3(0x11b))/0x9+-parseInt(_0x1774c3(0x11f))/0xa*(-parseInt(_0x1774c3(0x113))/0xb)+parseInt(_0x1774c3(0x11d))/0xc*(-parseInt(_0x1774c3(0x117))/0xd);if(_0x28c2bd===_0xc75b5a)break;else _0x27e147['push'](_0x27e147['shift']());}catch(_0x45417d){_0x27e147['push'](_0x27e147['shift']());}}}(a30_0x2c4f,0xc3227));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x1acf9e(0x120)),{addRequestSpy}=require(a30_0x1acf9e(0x112));exports['mochaHooks']={'beforeAll'(){const _0x1eb0ac=a30_0x1acf9e,_0x4f8808={'AJfZd':function(_0x20f643){return _0x20f643();}},_0x886754='browserstack internal helper hook';_0x4f8808[_0x1eb0ac(0x114)](addRequestSpy);},'afterAll'(){const _0x3b0bcd=a30_0x1acf9e,_0x2732f0='browserstack internal helper hook';this[_0x3b0bcd(0x121)](0xea60),requestSpy[_0x3b0bcd(0x11e)]();}};function a30_0x2c4f(){const _0x1fc26e=['401cipIWH','1352616XjPhFt','restore','10QwxnDw','../../../bin/utils/constants','timeout','3766ELWGmp','429404qCZICE','../../../helpers/test-observability/utils','16537741MsuoDE','AJfZd','274955XVvQtw','96HWgbWY','351NXHzka','39CsQHsA','848Ijoydo','47089YgjOWd','952452DRuLWO'];a30_0x2c4f=function(){return _0x1fc26e;};return a30_0x2c4f();}
1
+ const a30_0x11080f=a30_0x156c;(function(_0x22c526,_0xd1f88){const _0x45448a=a30_0x156c,_0x3b3c66=_0x22c526();while(!![]){try{const _0x6f00ca=-parseInt(_0x45448a(0x11b))/0x1+parseInt(_0x45448a(0x11f))/0x2+parseInt(_0x45448a(0x117))/0x3*(parseInt(_0x45448a(0x118))/0x4)+parseInt(_0x45448a(0x116))/0x5*(-parseInt(_0x45448a(0x11c))/0x6)+parseInt(_0x45448a(0x110))/0x7*(-parseInt(_0x45448a(0x11d))/0x8)+-parseInt(_0x45448a(0x114))/0x9*(-parseInt(_0x45448a(0x11a))/0xa)+parseInt(_0x45448a(0x112))/0xb*(parseInt(_0x45448a(0x11e))/0xc);if(_0x6f00ca===_0xd1f88)break;else _0x3b3c66['push'](_0x3b3c66['shift']());}catch(_0x325a9c){_0x3b3c66['push'](_0x3b3c66['shift']());}}}(a30_0x4756,0xb0c40));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x11080f(0x111)),{addRequestSpy}=require(a30_0x11080f(0x113));function a30_0x156c(_0x81f043,_0x3322bb){const _0x475677=a30_0x4756();return a30_0x156c=function(_0x156c36,_0x51cec0){_0x156c36=_0x156c36-0x110;let _0x5e81ea=_0x475677[_0x156c36];return _0x5e81ea;},a30_0x156c(_0x81f043,_0x3322bb);}exports[a30_0x11080f(0x115)]={'beforeAll'(){const _0x596183=a30_0x11080f,_0x4179fd={'YcxNv':function(_0xfdcf69){return _0xfdcf69();}},_0x3115c1='browserstack internal helper hook';_0x4179fd[_0x596183(0x119)](addRequestSpy);},'afterAll'(){const _0x17ca9a=a30_0x11080f,_0x295dcb='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x17ca9a(0x120)]();}};function a30_0x4756(){const _0x5002eb=['2592656aJYHuT','restore','1918kjFRcq','../../../bin/utils/constants','3570787FiWEwG','../../../helpers/test-observability/utils','873mfHRgf','mochaHooks','55aEJLos','174desLlS','40496DlMzlh','YcxNv','146290GfhNSz','1214605RnoLpH','641298PvbuYa','33928idTdQY','36VYjhiB'];a30_0x4756=function(){return _0x5002eb;};return a30_0x4756();}
@@ -1 +1 @@
1
- function a31_0x4556(){const _0x33592b=['289390LcFTKE','41529bmiUmy','parent','getBrowserName','BIGiv','CsGdO','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','fromEntries','3088640qCXqjl','_beforeAll','generic','WBZvS','hookAnalyticsId','ZKlfv','Nccaa','js-','hOVBx','4FuJmcO','tests','mFAlc','nNOdY','BsKYI','1490344CVAsnM','browserstack','../../../../package.json','EmRbE','../../../helpers/test-observability/utils','boifd','lpPbA','NMSPe','getPlatform','ZbmKb','automate','getCapabilities','_beforeEach','map_','markedStatus','../../../helpers/helper','hook','6ceFgsP','_afterAll','slice','YKtpL','../../../helpers/test-observability/constants','hcJOP','TEST_PLATFORM','failed','wijOA','state','app-automate','Ecfjv','keys','808845WPPpqA','__cloud_provider___','848205EAfxoJ','indexOf','cZech','getHookDetails','ueCnz','BVEeD','app','cgsqq','qddMO','YpPlG','filter','bs:addPlatformDetails:','pending','tvObJ','LOIJC','passed','_afterEach','mapTestHooks','getHooksForTest','sendPlatformDetails','TZqXD','unknown_grid','toISOString','GkZkw','7XftMXJ','concat','type','hook:','430512mIcJIc','suites','kckmc','lRPoF','DkYrn','getBrowserVersion','PRRWL','BXiws','split','forEach','hvjRc','YlTWm','appium:app','../../../helpers/testhub/utils','toJSON'];a31_0x4556=function(){return _0x33592b;};return a31_0x4556();}const a31_0x742c2c=a31_0x55de;function a31_0x55de(_0x3e6b5c,_0x23211d){const _0x45564e=a31_0x4556();return a31_0x55de=function(_0x55de50,_0x456d66){_0x55de50=_0x55de50-0x168;let _0x46f4a7=_0x45564e[_0x55de50];return _0x46f4a7;},a31_0x55de(_0x3e6b5c,_0x23211d);}(function(_0x262cd9,_0x4eb584){const _0x59606c=a31_0x55de,_0x89c145=_0x262cd9();while(!![]){try{const _0x234e12=parseInt(_0x59606c(0x177))/0x1*(-parseInt(_0x59606c(0x19d))/0x2)+parseInt(_0x59606c(0x1aa))/0x3+parseInt(_0x59606c(0x187))/0x4*(parseInt(_0x59606c(0x176))/0x5)+-parseInt(_0x59606c(0x1c8))/0x6+parseInt(_0x59606c(0x1c4))/0x7*(-parseInt(_0x59606c(0x18c))/0x8)+-parseInt(_0x59606c(0x1ac))/0x9+parseInt(_0x59606c(0x17e))/0xa;if(_0x234e12===_0x4eb584)break;else _0x89c145['push'](_0x89c145['shift']());}catch(_0x537ba4){_0x89c145['push'](_0x89c145['shift']());}}}(a31_0x4556,0x26ef8));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x742c2c(0x18e)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x742c2c(0x190)),{consoleHolder}=require(a31_0x742c2c(0x1a1)),{getPlatformVersion}=require(a31_0x742c2c(0x19b)),{shouldProcessEventForTesthub}=require(a31_0x742c2c(0x174));console={},Object[a31_0x742c2c(0x1a9)](consoleHolder)[a31_0x742c2c(0x170)](_0x32f4d2=>{console[_0x32f4d2]=(..._0x5decda)=>{BSTestOpsPatcher[_0x32f4d2](..._0x5decda);};}),exports['getTestEnv']=()=>{const _0x326dcc=a31_0x742c2c,_0x2cc732={'EmRbE':_0x326dcc(0x180),'pwmRY':function(_0x23b429){return _0x23b429();}};return{'ci':_0x2cc732[_0x326dcc(0x18f)],'key':_0x2cc732['pwmRY'](uuidv4),'version':version,'collector':_0x326dcc(0x185)+name};},exports[a31_0x742c2c(0x1af)]=_0x24254f=>{const _0x25428e=a31_0x742c2c,_0x4f8477={};_0x4f8477[_0x25428e(0x1c3)]=function(_0x44f265,_0x5ed0a0){return _0x44f265!==_0x5ed0a0;},_0x4f8477[_0x25428e(0x192)]='string',_0x4f8477[_0x25428e(0x1c0)]=function(_0x156f55,_0x5ec7f8){return _0x156f55!==_0x5ec7f8;},_0x4f8477[_0x25428e(0x1ba)]=_0x25428e(0x1c7),_0x4f8477['lRPoF']=function(_0x115d83,_0x3507f3){return _0x115d83!==_0x3507f3;},_0x4f8477['CsGdO']='hook';const _0x145a98=_0x4f8477;if(!_0x24254f||_0x145a98[_0x25428e(0x1c3)](typeof _0x24254f,_0x145a98[_0x25428e(0x192)]))return[null,null];if(_0x145a98[_0x25428e(0x1c0)](_0x24254f[_0x25428e(0x1ad)](_0x145a98['LOIJC']),-0x1)){const _0x59914d=_0x24254f[_0x25428e(0x16f)](_0x145a98[_0x25428e(0x1ba)]);return[_0x59914d[0x0][_0x25428e(0x19f)](0x0,-0x1)['split']('\x22')[0x1],_0x59914d[0x1]['substring'](0x1)];}else{if(_0x145a98[_0x25428e(0x16a)](_0x24254f[_0x25428e(0x1ad)](_0x145a98[_0x25428e(0x17b)]),-0x1)){const _0x34a200=_0x24254f[_0x25428e(0x16f)](_0x145a98['CsGdO']);return[_0x34a200[0x0][_0x25428e(0x19f)](0x0,-0x1)[_0x25428e(0x16f)]('\x22')[0x1],_0x24254f];}}return[null,null];},exports['getHooksForTest']=_0x31ae78=>{const _0xba3f55=a31_0x742c2c,_0x17c365={'PRRWL':function(_0x2fd79c,_0x283eec){return _0x2fd79c(_0x283eec);},'BVEeD':_0xba3f55(0x17f),'mFAlc':_0xba3f55(0x19e),'hOVBx':_0xba3f55(0x198),'tvObJ':_0xba3f55(0x1bc)};if(!_0x31ae78||!_0x31ae78[_0xba3f55(0x178)])return[];const _0x371836=[];return[_0x17c365[_0xba3f55(0x1b1)],_0x17c365[_0xba3f55(0x189)],_0x17c365[_0xba3f55(0x186)],_0x17c365[_0xba3f55(0x1b9)]][_0xba3f55(0x170)](_0x38b3c2=>{const _0x522386=_0xba3f55,_0x4e53b7={'nNOdY':function(_0x3498ed,_0x54612f){const _0x4f8509=a31_0x55de;return _0x17c365[_0x4f8509(0x16d)](_0x3498ed,_0x54612f);}},_0x42f7bc=_0x31ae78[_0x522386(0x178)][_0x38b3c2]||[];_0x42f7bc[_0x522386(0x170)](_0x306220=>{const _0x4fe232=_0x522386;_0x306220[_0x4fe232(0x182)]&&!_0x4e53b7[_0x4fe232(0x18a)](isInternalHook,_0x306220['fn'])&&_0x371836['push'](_0x306220[_0x4fe232(0x182)]);});}),[..._0x371836,...exports[_0xba3f55(0x1be)](_0x31ae78[_0xba3f55(0x178)])];},exports['mapTestHooks']=_0x444646=>{const _0x29f910=a31_0x742c2c,_0x2f550a={'YlTWm':function(_0x432b0e){return _0x432b0e();},'hvjRc':function(_0x1dea38,_0xd3a4fd){return _0x1dea38===_0xd3a4fd;},'ueCnz':_0x29f910(0x1bc),'HKKSp':'_beforeAll','WBvui':_0x29f910(0x19e),'ZtzYf':'_beforeEach'};if(!_0x444646||!_0x444646[_0x29f910(0x178)])return;[_0x2f550a['HKKSp'],_0x2f550a['WBvui'],_0x2f550a['ZtzYf'],_0x2f550a[_0x29f910(0x1b0)]][_0x29f910(0x170)](_0x46c4f9=>{const _0x5baa96={'ZKlfv':function(_0x417f25){const _0x246c45=a31_0x55de;return _0x2f550a[_0x246c45(0x172)](_0x417f25);},'Ecfjv':function(_0x449849,_0x35a318){const _0x4ee4df=a31_0x55de;return _0x2f550a[_0x4ee4df(0x171)](_0x449849,_0x35a318);},'sBKdK':_0x2f550a['ueCnz'],'YKtpL':function(_0x28a233){return _0x2f550a['YlTWm'](_0x28a233);}},_0x466a6a=_0x444646['parent'][_0x46c4f9]||[];_0x466a6a['forEach'](_0x4c9fb5=>{const _0xf82ff5=a31_0x55de;if(!_0x4c9fb5[_0xf82ff5(0x182)])_0x4c9fb5[_0xf82ff5(0x182)]=_0x5baa96[_0xf82ff5(0x183)](uuidv4);else _0x4c9fb5[_0xf82ff5(0x19a)]&&_0x5baa96[_0xf82ff5(0x1a8)](_0x46c4f9,_0x5baa96['sBKdK'])&&(_0x4c9fb5['hookAnalyticsId']=_0x5baa96[_0xf82ff5(0x1a0)](uuidv4),delete _0x4c9fb5[_0xf82ff5(0x19a)]);});}),exports[_0x29f910(0x1bd)](_0x444646[_0x29f910(0x178)]);},exports[a31_0x742c2c(0x1bf)]=async(_0x57dfe2,_0x3ab37c)=>{const _0x3f2dea=a31_0x742c2c,_0x3717d4={'BXiws':function(_0x3ff075){return _0x3ff075();},'Nccaa':function(_0xb13494,_0x4a80cc){return _0xb13494===_0x4a80cc;},'wijOA':_0x3f2dea(0x18d),'kckmc':_0x3f2dea(0x173),'WBZvS':_0x3f2dea(0x1b2),'cZech':_0x3f2dea(0x1a7),'NMSPe':_0x3f2dea(0x196),'DkYrn':function(_0x5cfef9,_0x1bfd93){return _0x5cfef9(_0x1bfd93);},'VCsAj':function(_0x5b9d5c,_0x2824d8){return _0x5b9d5c===_0x2824d8;},'hcJOP':_0x3f2dea(0x1c1),'BIGiv':_0x3f2dea(0x1a3),'qddMO':function(_0x79ddd6,_0x57bf3d){return _0x79ddd6(_0x57bf3d);}};try{if(!_0x3717d4[_0x3f2dea(0x16e)](shouldProcessEventForTesthub))return;const _0x48389a=await _0x57dfe2[_0x3f2dea(0x197)](),_0x19127e=await _0x57dfe2['getSession'](),_0x3c2abf={},_0x5004dc=Object[_0x3f2dea(0x17d)](_0x19127e[_0x3f2dea(0x197)]()[_0x3f2dea(0x199)]),_0xf52d99={'product':_0x3717d4[_0x3f2dea(0x184)](global[_0x3f2dea(0x1ab)],_0x3717d4[_0x3f2dea(0x1a5)])?_0x5004dc[_0x3717d4[_0x3f2dea(0x169)]]||_0x5004dc[_0x3717d4[_0x3f2dea(0x181)]]?_0x3717d4[_0x3f2dea(0x1ae)]:_0x3717d4[_0x3f2dea(0x193)]:null,'capabilities':_0x5004dc,'platform':_0x48389a[_0x3f2dea(0x194)](),'platform_version':_0x3717d4[_0x3f2dea(0x16b)](getPlatformVersion,_0x3717d4['VCsAj'](global[_0x3f2dea(0x1ab)],_0x3717d4[_0x3f2dea(0x1a5)])),'browser':_0x48389a[_0x3f2dea(0x179)](),'browser_version':_0x48389a[_0x3f2dea(0x16c)](),'session_id':_0x19127e[_0x3f2dea(0x175)]()};global['__cloud_provider___']?_0x3c2abf[global[_0x3f2dea(0x1ab)]]=_0xf52d99:_0x3c2abf[_0x3717d4[_0x3f2dea(0x1a2)]]=_0xf52d99,process['emit'](_0x3f2dea(0x1b7)+process['pid'],{'timestamp':new Date()[_0x3f2dea(0x1c2)](),'level':null,'message':null,'kind':_0x3717d4[_0x3f2dea(0x17a)],'http_response':_0x3c2abf,'uuid':_0x3ab37c});}catch(_0x574ed2){_0x3717d4[_0x3f2dea(0x1b4)](debug,_0x3f2dea(0x17c)+_0x574ed2);}},exports['getHookSkippedTests']=_0x36a5a7=>{const _0x21bc68=a31_0x742c2c,_0x4a7f03={};_0x4a7f03[_0x21bc68(0x1b3)]=function(_0x437959,_0x33a997){return _0x437959!==_0x33a997;},_0x4a7f03[_0x21bc68(0x18b)]=_0x21bc68(0x19c),_0x4a7f03['YpPlG']=function(_0x1e6c20,_0x1dd589){return _0x1e6c20!==_0x1dd589;},_0x4a7f03['boifd']=_0x21bc68(0x1bb),_0x4a7f03[_0x21bc68(0x195)]=_0x21bc68(0x1a4);const _0x17877c=_0x4a7f03,_0x51245d=_0x36a5a7[_0x21bc68(0x168)]['reduce']((_0x17c8e3,_0x3cd44c)=>{const _0x44963d=exports['getHookSkippedTests'](_0x3cd44c);return _0x44963d&&(_0x17c8e3=_0x17c8e3['concat'](_0x44963d)),_0x17c8e3;},[]),_0x337fbd=_0x36a5a7[_0x21bc68(0x188)][_0x21bc68(0x1b6)](_0x181d1f=>{const _0x8b155f=_0x21bc68,_0x5861d8=_0x17877c[_0x8b155f(0x1b3)](_0x181d1f[_0x8b155f(0x1c6)],_0x17877c[_0x8b155f(0x18b)])&&!_0x181d1f[_0x8b155f(0x19a)]&&_0x17877c[_0x8b155f(0x1b5)](_0x181d1f[_0x8b155f(0x1a6)],_0x17877c[_0x8b155f(0x191)])&&_0x17877c['YpPlG'](_0x181d1f[_0x8b155f(0x1a6)],_0x17877c[_0x8b155f(0x195)])&&!_0x181d1f[_0x8b155f(0x1b8)];return _0x5861d8;});return _0x337fbd[_0x21bc68(0x1c5)](_0x51245d);};
1
+ const a31_0x566d40=a31_0x390e;(function(_0xcbc554,_0x20aa9a){const _0xc20a64=a31_0x390e,_0x3d5b0e=_0xcbc554();while(!![]){try{const _0x2d34d4=-parseInt(_0xc20a64(0x1d7))/0x1*(parseInt(_0xc20a64(0x1ba))/0x2)+parseInt(_0xc20a64(0x1d5))/0x3*(-parseInt(_0xc20a64(0x198))/0x4)+parseInt(_0xc20a64(0x1c9))/0x5+-parseInt(_0xc20a64(0x1d2))/0x6+parseInt(_0xc20a64(0x1e2))/0x7*(-parseInt(_0xc20a64(0x1c1))/0x8)+parseInt(_0xc20a64(0x1d6))/0x9*(-parseInt(_0xc20a64(0x1db))/0xa)+-parseInt(_0xc20a64(0x191))/0xb*(-parseInt(_0xc20a64(0x1c6))/0xc);if(_0x2d34d4===_0x20aa9a)break;else _0x3d5b0e['push'](_0x3d5b0e['shift']());}catch(_0x52bd45){_0x3d5b0e['push'](_0x3d5b0e['shift']());}}}(a31_0x1e45,0x71072));const {v4:uuidv4}=require(a31_0x566d40(0x19e)),{name,version}=require(a31_0x566d40(0x1f3)),logPatcher=require(a31_0x566d40(0x1c2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x566d40(0x1ad)),{consoleHolder}=require(a31_0x566d40(0x1bf)),{getPlatformVersion}=require(a31_0x566d40(0x1e9)),{shouldProcessEventForTesthub}=require(a31_0x566d40(0x1dc));function a31_0x1e45(){const _0x41f0db=['split','sendPlatformDetails','ikueL','2mYAmse','fromEntries','getPlatform','DpWHH','SSPXx','../../../helpers/test-observability/constants','kbWQr','450424ZcxJjY','../../utils/logPatcher','ReoON','OUiYp','_afterAll','19068qRXDbq','getCapabilities','getHookSkippedTests','3972055qppsiE','getBrowserName','AvXKF','mpDXE','wmsnn','vexKQ','markedStatus','map_','jEcrD','3266316wfcnIV','getHooksForTest','ZOyvC','6OFRjZf','729suspTX','359630FpdfUG','_afterEach','__cloud_provider___','UWFen','111620fDnALC','../../../helpers/testhub/utils','parent','MivrC','eXhhw','emit','uXNqW','91FMgebY','dCHQi','_beforeAll','dHDeF','hujeI','oXTvF','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','../../../helpers/helper','GXxlJ','lZyHQ','passed','_beforeEach','bs:addPlatformDetails:','slice','pid','automate','ilsZU','../../../../package.json','hookAnalyticsId','21582nkdXyT','forEach','DyyRS','filter','hook:','fqhGd','uqvgp','1817980VzYPqf','getBrowserVersion','concat','EQfrv','generic','JFiBr','uuid','unknown_grid','app','KYZFt','gOyhF','suites','indexOf','OjRQU','hook','string','keys','xAdEW','failed','TEST_PLATFORM','pending','../../../helpers/test-observability/utils','getTestEnv','VrLDR','mapTestHooks','app-automate','EmQWF','push','toISOString','toJSON','state'];a31_0x1e45=function(){return _0x41f0db;};return a31_0x1e45();}function a31_0x390e(_0x50d291,_0x1ecb57){const _0x1e45f4=a31_0x1e45();return a31_0x390e=function(_0x390e25,_0xa318db){_0x390e25=_0x390e25-0x190;let _0x532027=_0x1e45f4[_0x390e25];return _0x532027;},a31_0x390e(_0x50d291,_0x1ecb57);}console={},Object[a31_0x566d40(0x1a8)](consoleHolder)['forEach'](_0x5af16a=>{console[_0x5af16a]=(..._0x3ccce8)=>{BSTestOpsPatcher[_0x5af16a](..._0x3ccce8);};}),exports[a31_0x566d40(0x1ae)]=()=>{const _0x3d37c8=a31_0x566d40,_0x40b60e={'dHDeF':_0x3d37c8(0x19c),'BMVez':function(_0x26a638){return _0x26a638();}};return{'ci':_0x40b60e[_0x3d37c8(0x1e5)],'key':_0x40b60e['BMVez'](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x4dfa6c=>{const _0x2bb368=a31_0x566d40,_0x1461e5={};_0x1461e5['ZOyvC']=function(_0x41bece,_0x25cea0){return _0x41bece!==_0x25cea0;},_0x1461e5[_0x2bb368(0x1ce)]=_0x2bb368(0x1a7),_0x1461e5[_0x2bb368(0x1a1)]=function(_0x26c034,_0x545c03){return _0x26c034!==_0x545c03;},_0x1461e5[_0x2bb368(0x1cc)]=_0x2bb368(0x195),_0x1461e5[_0x2bb368(0x1e7)]=function(_0x42a2ff,_0x43823a){return _0x42a2ff!==_0x43823a;},_0x1461e5['eXhhw']='hook';const _0x28cd5a=_0x1461e5;if(!_0x4dfa6c||_0x28cd5a[_0x2bb368(0x1d4)](typeof _0x4dfa6c,_0x28cd5a['vexKQ']))return[null,null];if(_0x28cd5a[_0x2bb368(0x1a1)](_0x4dfa6c[_0x2bb368(0x1a4)](_0x28cd5a[_0x2bb368(0x1cc)]),-0x1)){const _0xbe460f=_0x4dfa6c[_0x2bb368(0x1b7)](_0x28cd5a[_0x2bb368(0x1cc)]);return[_0xbe460f[0x0][_0x2bb368(0x1ef)](0x0,-0x1)[_0x2bb368(0x1b7)]('\x22')[0x1],_0xbe460f[0x1]['substring'](0x1)];}else{if(_0x28cd5a[_0x2bb368(0x1e7)](_0x4dfa6c[_0x2bb368(0x1a4)](_0x28cd5a[_0x2bb368(0x1df)]),-0x1)){const _0xe374c6=_0x4dfa6c['split'](_0x28cd5a['eXhhw']);return[_0xe374c6[0x0][_0x2bb368(0x1ef)](0x0,-0x1)[_0x2bb368(0x1b7)]('\x22')[0x1],_0x4dfa6c];}}return[null,null];},exports[a31_0x566d40(0x1d3)]=_0x264a5b=>{const _0x4e6418=a31_0x566d40,_0x68f9ad={'gOyhF':function(_0x3c1e8d,_0x2c5eed){return _0x3c1e8d(_0x2c5eed);},'UWFen':_0x4e6418(0x1e4),'DyyRS':_0x4e6418(0x1c5),'VrLDR':_0x4e6418(0x1ed),'EQfrv':_0x4e6418(0x1d8)};if(!_0x264a5b||!_0x264a5b[_0x4e6418(0x1dd)])return[];const _0x129f10=[];return[_0x68f9ad[_0x4e6418(0x1da)],_0x68f9ad[_0x4e6418(0x193)],_0x68f9ad[_0x4e6418(0x1af)],_0x68f9ad[_0x4e6418(0x19b)]][_0x4e6418(0x192)](_0x11691e=>{const _0x2b7947=_0x4e6418,_0xa934f=_0x264a5b[_0x2b7947(0x1dd)][_0x11691e]||[];_0xa934f[_0x2b7947(0x192)](_0x5bf801=>{const _0x4cce2e=_0x2b7947;_0x5bf801['hookAnalyticsId']&&!_0x68f9ad[_0x4cce2e(0x1a2)](isInternalHook,_0x5bf801['fn'])&&_0x129f10[_0x4cce2e(0x1b3)](_0x5bf801['hookAnalyticsId']);});}),[..._0x129f10,...exports[_0x4e6418(0x1d3)](_0x264a5b[_0x4e6418(0x1dd)])];},exports[a31_0x566d40(0x1b0)]=_0x3a271f=>{const _0x14cca4=a31_0x566d40,_0x482362={'dCHQi':function(_0x3463fb){return _0x3463fb();},'rykNX':function(_0x1fd40d,_0xa85f99){return _0x1fd40d===_0xa85f99;},'ikueL':_0x14cca4(0x1d8),'bbmev':function(_0x384e43){return _0x384e43();},'JFiBr':_0x14cca4(0x1e4),'jEcrD':'_afterAll','MivrC':'_beforeEach'};if(!_0x3a271f||!_0x3a271f['parent'])return;[_0x482362[_0x14cca4(0x19d)],_0x482362[_0x14cca4(0x1d1)],_0x482362[_0x14cca4(0x1de)],_0x482362[_0x14cca4(0x1b9)]][_0x14cca4(0x192)](_0x2253db=>{const _0x1b0317=_0x14cca4,_0x12a3b7={'ReoON':function(_0x5aea38){const _0x30dba3=a31_0x390e;return _0x482362[_0x30dba3(0x1e3)](_0x5aea38);},'hujeI':function(_0x1f623e,_0x4ba032){return _0x482362['rykNX'](_0x1f623e,_0x4ba032);},'DpWHH':_0x482362[_0x1b0317(0x1b9)],'ilsZU':function(_0x38096a){return _0x482362['bbmev'](_0x38096a);}},_0x28fd9e=_0x3a271f[_0x1b0317(0x1dd)][_0x2253db]||[];_0x28fd9e[_0x1b0317(0x192)](_0x532e6f=>{const _0xe6d7a3=_0x1b0317;if(!_0x532e6f[_0xe6d7a3(0x190)])_0x532e6f['hookAnalyticsId']=_0x12a3b7[_0xe6d7a3(0x1c3)](uuidv4);else _0x532e6f[_0xe6d7a3(0x1cf)]&&_0x12a3b7[_0xe6d7a3(0x1e6)](_0x2253db,_0x12a3b7[_0xe6d7a3(0x1bd)])&&(_0x532e6f[_0xe6d7a3(0x190)]=_0x12a3b7[_0xe6d7a3(0x1f2)](uuidv4),delete _0x532e6f[_0xe6d7a3(0x1cf)]);});}),exports[_0x14cca4(0x1b0)](_0x3a271f[_0x14cca4(0x1dd)]);},exports[a31_0x566d40(0x1b8)]=async(_0x481376,_0x25ecd0)=>{const _0xec4b30=a31_0x566d40,_0x16cfd9={'OjRQU':function(_0x599937){return _0x599937();},'wmsnn':function(_0x23a1dc,_0x7eecf1){return _0x23a1dc===_0x7eecf1;},'EmQWF':'browserstack','SSPXx':'appium:app','OUiYp':_0xec4b30(0x1a0),'kbWQr':_0xec4b30(0x1b1),'DDDar':_0xec4b30(0x1f1),'uXNqW':function(_0x308f50,_0x3638f8){return _0x308f50(_0x3638f8);},'fqhGd':function(_0x23659b,_0x1329b6){return _0x23659b===_0x1329b6;},'REycF':_0xec4b30(0x19f),'uqvgp':_0xec4b30(0x1ab)};try{if(!_0x16cfd9[_0xec4b30(0x1a5)](shouldProcessEventForTesthub))return;const _0x617f=await _0x481376[_0xec4b30(0x1c7)](),_0x2b04cc=await _0x481376['getSession'](),_0x4df4ab={},_0x3d37cf=Object[_0xec4b30(0x1bb)](_0x2b04cc[_0xec4b30(0x1c7)]()[_0xec4b30(0x1d0)]),_0x3d5a98={'product':_0x16cfd9[_0xec4b30(0x1cd)](global['__cloud_provider___'],_0x16cfd9[_0xec4b30(0x1b2)])?_0x3d37cf[_0x16cfd9[_0xec4b30(0x1be)]]||_0x3d37cf[_0x16cfd9[_0xec4b30(0x1c4)]]?_0x16cfd9[_0xec4b30(0x1c0)]:_0x16cfd9['DDDar']:null,'capabilities':_0x3d37cf,'platform':_0x617f[_0xec4b30(0x1bc)](),'platform_version':_0x16cfd9[_0xec4b30(0x1e1)](getPlatformVersion,_0x16cfd9[_0xec4b30(0x196)](global[_0xec4b30(0x1d9)],_0x16cfd9['EmQWF'])),'browser':_0x617f[_0xec4b30(0x1ca)](),'browser_version':_0x617f[_0xec4b30(0x199)](),'session_id':_0x2b04cc[_0xec4b30(0x1b5)]()};global[_0xec4b30(0x1d9)]?_0x4df4ab[global[_0xec4b30(0x1d9)]]=_0x3d5a98:_0x4df4ab[_0x16cfd9['REycF']]=_0x3d5a98,process[_0xec4b30(0x1e0)](_0xec4b30(0x1ee)+process[_0xec4b30(0x1f0)],{'timestamp':new Date()[_0xec4b30(0x1b4)](),'level':null,'message':null,'kind':_0x16cfd9[_0xec4b30(0x197)],'http_response':_0x4df4ab,'uuid':_0x25ecd0});}catch(_0x249eef){_0x16cfd9['uXNqW'](debug,_0xec4b30(0x1e8)+_0x249eef);}},exports['getHookSkippedTests']=_0x29304d=>{const _0x5c6ab2=a31_0x566d40,_0x10045a={};_0x10045a[_0x5c6ab2(0x1cb)]=function(_0x4038dc,_0x5fe82d){return _0x4038dc!==_0x5fe82d;},_0x10045a[_0x5c6ab2(0x1ea)]=_0x5c6ab2(0x1a6),_0x10045a[_0x5c6ab2(0x1eb)]=_0x5c6ab2(0x1ec),_0x10045a['xAdEW']=_0x5c6ab2(0x1aa);const _0x3ebde6=_0x10045a,_0x35043e=_0x29304d[_0x5c6ab2(0x1a3)]['reduce']((_0x202d0a,_0x1a3ac7)=>{const _0x413ef2=_0x5c6ab2,_0x5573f3=exports[_0x413ef2(0x1c8)](_0x1a3ac7);return _0x5573f3&&(_0x202d0a=_0x202d0a[_0x413ef2(0x19a)](_0x5573f3)),_0x202d0a;},[]),_0x138425=_0x29304d['tests'][_0x5c6ab2(0x194)](_0x4f0bc7=>{const _0x419b39=_0x5c6ab2,_0x570dd7=_0x3ebde6['AvXKF'](_0x4f0bc7['type'],_0x3ebde6[_0x419b39(0x1ea)])&&!_0x4f0bc7[_0x419b39(0x1cf)]&&_0x3ebde6[_0x419b39(0x1cb)](_0x4f0bc7[_0x419b39(0x1b6)],_0x3ebde6[_0x419b39(0x1eb)])&&_0x3ebde6[_0x419b39(0x1cb)](_0x4f0bc7[_0x419b39(0x1b6)],_0x3ebde6[_0x419b39(0x1a9)])&&!_0x4f0bc7[_0x419b39(0x1ac)];return _0x570dd7;});return _0x138425[_0x5c6ab2(0x19a)](_0x35043e);};
@@ -1 +1 @@
1
- function a32_0x2597(){const _0x30a37a=['isArray','BROWSERSTACK_TESTHUB_UUID','__skipSessionName','debug','356543pSPrSD','uKwJc','1594179klfNWx','executeAsyncScript','https:','xGYkL','RdRtf','KAMKt','WWoqw','../../helpers/testhub/utils','quitCount_','TPiea','./test-observability/mochaUtils','performScan','zUHhp','Failed\x20to\x20store\x20session\x20name:\x20','VczeL','MNZZX','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','2JbsvHW','stringify','jbAgO','format','175sYzvSW','WYSRm','__error_messages__','timeout','yxwiS','initQuit','capabilities','shouldScanTestForAccessibility','lZPQN','3822008hVCesD','thTestRunUuid','../../helpers/helper','Passed','__sessionFailed','mochaHooks','error','then','join','LYmSd','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','hqKaZ','JnAMl','Performing\x20scan\x20before\x20saving\x20results','66850jRBhAa','protocol','browserstackSessionName','../../helpers/testhub/constants','.\x20Error\x20:','startMonitoring','getGlobal','passed','rQeMe','__drivers','info','now','thJwtToken','sessionNameSet__','bstackA11yShouldScan','ykEUT',',\x22level\x22:\x20\x22','BxajY','push','BGRpY','state','GTdSF','driverCleanup','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getCurrentUrl','LMyIV','../../helpers/accessibility-automation/scripts','testAnalyticsId','titlePath','lMwZA','executeScript','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','QNgTP','ENV_VAR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','isAccessibilityPlatform','PtftH','appium:app','EJxDd','thBuildUuid','4ecOspo','waxsr','winstonLogger','currentTest','message','pPwBe','oTrUR','testcase','ObservabilitySync:','TZKRp','2927410ejEtPK','\x20-\x20','env','../../helpers/globals','7884nUNSAe','length','Hphop','zxKdS','\x22}}','1572243Sgoatj','aHQiN','CjRCR','SmueB','accessibilityScanStarted','app','util','shift','session_','err'];a32_0x2597=function(){return _0x30a37a;};return a32_0x2597();}const a32_0x3a2468=a32_0x4a72;(function(_0x1432fe,_0xf91645){const _0x5b5818=a32_0x4a72,_0x4013e0=_0x1432fe();while(!![]){try{const _0x58e6be=parseInt(_0x5b5818(0x10c))/0x1*(parseInt(_0x5b5818(0x11f))/0x2)+-parseInt(_0x5b5818(0x175))/0x3*(-parseInt(_0x5b5818(0x162))/0x4)+parseInt(_0x5b5818(0x13a))/0x5+parseInt(_0x5b5818(0x170))/0x6*(-parseInt(_0x5b5818(0x123))/0x7)+-parseInt(_0x5b5818(0x12c))/0x8+parseInt(_0x5b5818(0x10e))/0x9+-parseInt(_0x5b5818(0x16c))/0xa;if(_0x58e6be===_0xf91645)break;else _0x4013e0['push'](_0x4013e0['shift']());}catch(_0x2600da){_0x4013e0['push'](_0x4013e0['shift']());}}}(a32_0x2597,0x41607));function a32_0x4a72(_0x4962a7,_0xaac7c1){const _0x259753=a32_0x2597();return a32_0x4a72=function(_0x4a72ee,_0x32bbc5){_0x4a72ee=_0x4a72ee-0x10b;let _0x235e4f=_0x259753[_0x4a72ee];return _0x235e4f;},a32_0x4a72(_0x4962a7,_0xaac7c1);}const util=require(a32_0x3a2468(0x17b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x3a2468(0x118)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x3a2468(0x12e)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x3a2468(0x154)),globals=require(a32_0x3a2468(0x16f)),logger=require('../../helpers/logger')[a32_0x3a2468(0x164)],{shouldProcessEventForTesthub}=require(a32_0x3a2468(0x115)),testHubConstants=require(a32_0x3a2468(0x13d));exports[a32_0x3a2468(0x131)]={'beforeAll'(){const _0xebe989=a32_0x3a2468,_0x2381f5={'jbAgO':function(_0x373d41,_0x5cd852,_0x216a57,_0x5b4e41){return _0x373d41(_0x5cd852,_0x216a57,_0x5b4e41);},'Hphop':'failed','hqKaZ':'\x20|\x20','zxKdS':function(_0x585e07,_0x2af4d1,_0x62975c){return _0x585e07(_0x2af4d1,_0x62975c);},'BGRpY':_0xebe989(0x141),'lZPQN':function(_0x4026b9){return _0x4026b9();},'WWoqw':function(_0x3d60f4,_0x32bfd7,_0x17c81c){return _0x3d60f4(_0x32bfd7,_0x17c81c);}};PerformanceTester[_0xebe989(0x13f)]();const _0x421de9='browserstack internal helper hook';global[_0xebe989(0x125)]=[],global[_0xebe989(0x130)]=![],global[_0xebe989(0x150)]=async()=>{const _0x135538=_0xebe989;let _0x259cf9=![];try{await global[_0x135538(0x143)][0x0]['session_'],_0x259cf9=!![],global[_0x135538(0x130)]?await _0x2381f5[_0x135538(0x121)](markSessionStatus,global[_0x135538(0x143)][0x0],_0x2381f5[_0x135538(0x172)],global[_0x135538(0x125)][_0x135538(0x134)](_0x2381f5[_0x135538(0x137)])):await _0x2381f5[_0x135538(0x173)](markSessionStatus,global[_0x135538(0x143)][0x0],_0x2381f5[_0x135538(0x14d)]);}catch(_0x55b115){}global['__error_messages__']=[],global[_0x135538(0x130)]=![];if(_0x259cf9)try{try{_0x2381f5[_0x135538(0x12b)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x2381f5[_0x135538(0x114)](sendPlatformDetails,global[_0x135538(0x143)][0x0],this[_0x135538(0x165)]?this[_0x135538(0x165)][_0x135538(0x155)]:null));}catch{}await global[_0x135538(0x143)][0x0][_0x135538(0x128)]();}catch(_0x4504da){}};},'beforeEach'(_0x29c3cd){const _0x316954=a32_0x3a2468,_0x53560d={'ZzLjK':function(_0x5a1f64,_0x5ed1da){return _0x5a1f64>_0x5ed1da;},'TPiea':function(_0x19acf6,_0x58a19c){return _0x19acf6>_0x58a19c;},'RdRtf':'\x20-\x20','VczeL':function(_0x55ac8f,_0x46926f,_0x24d1a3){return _0x55ac8f(_0x46926f,_0x24d1a3);},'ykEUT':_0x316954(0x148),'waxsr':function(_0x54bee7){return _0x54bee7();},'cqVGb':function(_0x361c19,_0x25f3c5){return _0x361c19>_0x25f3c5;},'PtftH':_0x316954(0x15d),'yxwiS':function(_0x4ee5d5,_0x3310f2){return _0x4ee5d5===_0x3310f2;},'uKwJc':'http:','aHQiN':function(_0x24a51a,_0x38f73d){return _0x24a51a===_0x38f73d;},'BxajY':_0x316954(0x110),'JUDYW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KAMKt':'Automate\x20test\x20case\x20execution\x20has\x20started.'};new Promise(async _0x161134=>{const _0x54bbab=_0x316954,_0x4326c0='browserstack internal helper hook';let _0x106a34=!![];try{_0x53560d['ZzLjK'](global[_0x54bbab(0x143)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x54bbab(0x17c)]()),_0x53560d[_0x54bbab(0x117)](global[_0x54bbab(0x143)][0x0][_0x54bbab(0x116)],0x0)&&(_0x106a34=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x54bbab(0x143)][0x0][_0x54bbab(0x13c)]=this['currentTest'][_0x54bbab(0x156)]()[_0x54bbab(0x134)](_0x53560d[_0x54bbab(0x112)])),global[_0x54bbab(0x13c)]=this[_0x54bbab(0x165)][_0x54bbab(0x156)]()[_0x54bbab(0x134)](_0x53560d[_0x54bbab(0x112)]);}catch(_0x1be709){logger[_0x54bbab(0x10b)](_0x54bbab(0x11b)+_0x1be709);}this['currentTest'][_0x54bbab(0x12a)]=_0x53560d[_0x54bbab(0x11c)](shouldScanTestForAccessibility,this[_0x54bbab(0x165)][_0x54bbab(0x156)](),!![]),globals['setGlobal'](_0x53560d[_0x54bbab(0x149)],this[_0x54bbab(0x165)][_0x54bbab(0x12a)]),this[_0x54bbab(0x165)][_0x54bbab(0x179)]=!![];if(_0x53560d[_0x54bbab(0x163)](isAccessibilityAutomationSession)&&_0x106a34&&Array[_0x54bbab(0x17f)](global[_0x54bbab(0x143)])&&_0x53560d['cqVGb'](global[_0x54bbab(0x143)]['length'],0x0)&&globals[_0x54bbab(0x140)](_0x53560d[_0x54bbab(0x15e)]))try{const _0x3dadd9=await global[_0x54bbab(0x143)][0x0][_0x54bbab(0x17d)];if(_0x3dadd9){let _0x39f081=!![];const _0x250bd3=await global[_0x54bbab(0x143)][0x0][_0x54bbab(0x152)]();let _0x2e322c;try{_0x2e322c=new URL(_0x250bd3);}catch(_0x4ce75b){_0x39f081=![];}_0x39f081=_0x53560d[_0x54bbab(0x127)](_0x2e322c[_0x54bbab(0x13b)],_0x53560d[_0x54bbab(0x10d)])||_0x53560d[_0x54bbab(0x176)](_0x2e322c[_0x54bbab(0x13b)],_0x53560d[_0x54bbab(0x14b)]),_0x39f081&&(this['currentTest'][_0x54bbab(0x12a)]&&logger[_0x54bbab(0x144)](_0x53560d['JUDYW'])),this[_0x54bbab(0x165)][_0x54bbab(0x179)]=this[_0x54bbab(0x165)][_0x54bbab(0x12a)],this[_0x54bbab(0x165)]['shouldScanTestForAccessibility']&&logger['info'](_0x53560d[_0x54bbab(0x113)]);}}catch(_0x17badd){logger[_0x54bbab(0x132)](_0x54bbab(0x136)+util[_0x54bbab(0x122)](_0x17badd));}_0x53560d[_0x54bbab(0x163)](_0x161134);})[_0x316954(0x133)](_0x29c3cd);},'afterEach'(_0x1345f2){const _0x1e00d2=a32_0x3a2468,_0x3b8498={'LMyIV':function(_0x3f38e1,_0x4f736b){return _0x3f38e1>_0x4f736b;},'MNZZX':function(_0x1f61ea,_0x2e4690){return _0x1f61ea===_0x2e4690;},'xGYkL':_0x1e00d2(0x169),'EJxDd':function(_0x785cb1,_0x48b482){return _0x785cb1>_0x48b482;},'lMwZA':_0x1e00d2(0x15f),'jLabk':function(_0x5d9f35,_0x408dc2,_0x513c10,_0x37485c){return _0x5d9f35(_0x408dc2,_0x513c10,_0x37485c);},'thTIU':_0x1e00d2(0x16d),'hPBus':function(_0x42e90a,_0x4409cc){return _0x42e90a!==_0x4409cc;},'KnGGI':_0x1e00d2(0x141),'WYSRm':function(_0x134191,_0x28c8ee,_0x14c9e4){return _0x134191(_0x28c8ee,_0x14c9e4);},'cNWnS':function(_0xb4be93,_0xbe6049){return _0xb4be93+_0xbe6049;},'TZKRp':'Failed:\x20','WTaIh':'error','oTrUR':_0x1e00d2(0x12f),'LYmSd':_0x1e00d2(0x144),'TrqMb':_0x1e00d2(0x15d),'CjRCR':_0x1e00d2(0x148),'JnAMl':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SmueB':_0x1e00d2(0x139),'GTdSF':_0x1e00d2(0x15c),'QNgTP':function(_0x1dfb0e){return _0x1dfb0e();},'zUHhp':function(_0x7591d3,_0x1e7c85,_0xbae571){return _0x7591d3(_0x1e7c85,_0xbae571);},'pPwBe':_0x1e00d2(0x10b)},_0x198baa='browserstack internal helper hook';this[_0x1e00d2(0x126)](0xfde8);const _0x4ff486=async(_0x48c628,_0x43312c)=>{const _0x52db4b=_0x1e00d2;await global['__drivers'][0x0][_0x52db4b(0x158)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x48c628+_0x52db4b(0x14a)+_0x43312c+_0x52db4b(0x174));};new Promise(async _0x329121=>{const _0x3983fe=_0x1e00d2;try{_0x3b8498['LMyIV'](global[_0x3983fe(0x143)][_0x3983fe(0x171)],0x1)&&(await global[_0x3983fe(0x150)](),global[_0x3983fe(0x143)][_0x3983fe(0x17c)](),global[_0x3983fe(0x125)]=[],global[_0x3983fe(0x130)]=![]);try{if(global['percy']&&_0x3b8498[_0x3983fe(0x11d)](global['percyCaptureMode'],_0x3b8498['xGYkL'])&&global['__drivers'][0x0]){const _0x591cf2=_0x3b8498[_0x3983fe(0x160)](global['capabilities'][_0x3983fe(0x171)],0x0)?!!global[_0x3983fe(0x129)][0x0][_0x3983fe(0x17a)]||!!global[_0x3983fe(0x129)][0x0][_0x3b8498[_0x3983fe(0x157)]]:![],_0x406667={};_0x406667['app']=_0x591cf2,await _0x3b8498['jLabk'](percyAutoCapture,global[_0x3983fe(0x143)][0x0],_0x3b8498[_0x3983fe(0x111)],_0x406667);}}catch(_0x33efdf){}!global[_0x3983fe(0x181)]&&(await global[_0x3983fe(0x143)][0x0][_0x3983fe(0x158)](_0x3983fe(0x11e)+JSON[_0x3983fe(0x120)](this['currentTest'][_0x3983fe(0x156)]()[_0x3983fe(0x134)](_0x3b8498['thTIU']))+'}}'),global['__drivers'][0x0][_0x3983fe(0x147)]=!![]);const _0x1b2182=_0x3b8498['hPBus'](this[_0x3983fe(0x165)][_0x3983fe(0x14e)],_0x3b8498['KnGGI']);_0x1b2182?(global['__sessionFailed']=!![],global['__error_messages__'][_0x3983fe(0x14c)](this['currentTest'][_0x3983fe(0x17e)][_0x3983fe(0x166)]),await _0x3b8498['WYSRm'](_0x4ff486,JSON[_0x3983fe(0x120)](_0x3b8498['cNWnS'](_0x3b8498[_0x3983fe(0x16b)],this[_0x3983fe(0x165)][_0x3983fe(0x17e)][_0x3983fe(0x166)])),_0x3b8498['WTaIh'])):await _0x3b8498[_0x3983fe(0x124)](_0x4ff486,JSON[_0x3983fe(0x120)](_0x3b8498[_0x3983fe(0x168)]),_0x3b8498[_0x3983fe(0x135)]);}catch(_0x2babaa){}try{if(this[_0x3983fe(0x165)][_0x3983fe(0x179)]&&globals['getGlobal'](_0x3b8498['TrqMb'])&&globals[_0x3983fe(0x140)](_0x3b8498[_0x3983fe(0x177)])){logger[_0x3983fe(0x144)](_0x3b8498[_0x3983fe(0x138)]);const _0x5be826={};_0x5be826[_0x3983fe(0x12d)]=this[_0x3983fe(0x165)][_0x3983fe(0x155)],_0x5be826[_0x3983fe(0x161)]=process[_0x3983fe(0x16e)][testHubConstants[_0x3983fe(0x15b)][_0x3983fe(0x180)]],_0x5be826[_0x3983fe(0x146)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2b5257=_0x5be826;logger[_0x3983fe(0x10b)](_0x3983fe(0x151)+JSON['stringify'](_0x2b5257)),logger['debug'](_0x3b8498[_0x3983fe(0x178)]),logger[_0x3983fe(0x10b)](util[_0x3983fe(0x122)](await global[_0x3983fe(0x143)][0x0][_0x3983fe(0x10f)](scripts[_0x3983fe(0x119)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0][_0x3983fe(0x10f)](scripts['saveTestResults'],_0x2b5257),logger[_0x3983fe(0x144)](_0x3b8498[_0x3983fe(0x14f)]);}}catch(_0x3f8771){logger[_0x3983fe(0x132)](_0x3983fe(0x159)+this[_0x3983fe(0x165)][_0x3983fe(0x156)]()+_0x3983fe(0x13e),_0x3f8771);}try{try{if(_0x3b8498[_0x3983fe(0x15a)](shouldProcessEventForTesthub)){global[_0x3983fe(0x143)][0x0]&&await _0x3b8498[_0x3983fe(0x124)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3983fe(0x165)]?this[_0x3983fe(0x165)]['testAnalyticsId']:null);if(_0x3b8498[_0x3983fe(0x15a)](isBrowserstackInfra)){const _0x433150=_0x3983fe(0x16a)+Date[_0x3983fe(0x145)]();await _0x3b8498[_0x3983fe(0x11a)](_0x4ff486,JSON[_0x3983fe(0x120)](_0x433150),_0x3b8498[_0x3983fe(0x167)]);}}}catch{}_0x3b8498[_0x3983fe(0x153)](global[_0x3983fe(0x143)][0x0][_0x3983fe(0x116)],0x0)&&await global['driverCleanup']();}catch(_0x50939c){}_0x3b8498[_0x3983fe(0x15a)](_0x329121);})[_0x1e00d2(0x133)](()=>_0x1345f2());},'afterAll'(_0x368b23){const _0x1d7ee9=a32_0x3a2468,_0x229113={'rQeMe':function(_0x111b73){return _0x111b73();}},_0x3c1105='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x5b86c3=>{const _0x4c7d77=a32_0x4a72;PerformanceTester['stopMonitoring'](),await global[_0x4c7d77(0x150)](),_0x229113[_0x4c7d77(0x142)](_0x5b86c3);})[_0x1d7ee9(0x133)](()=>_0x368b23());}};
1
+ function a32_0x59e4(_0x5c0ad6,_0x24f3b0){const _0x123780=a32_0x1237();return a32_0x59e4=function(_0x59e440,_0x1b11ea){_0x59e440=_0x59e440-0x1c0;let _0x1c015a=_0x123780[_0x59e440];return _0x1c015a;},a32_0x59e4(_0x5c0ad6,_0x24f3b0);}const a32_0x20d873=a32_0x59e4;(function(_0x437fd4,_0x32a73b){const _0x5e4b71=a32_0x59e4,_0x18e708=_0x437fd4();while(!![]){try{const _0x59daa1=parseInt(_0x5e4b71(0x227))/0x1*(-parseInt(_0x5e4b71(0x20b))/0x2)+-parseInt(_0x5e4b71(0x222))/0x3+parseInt(_0x5e4b71(0x200))/0x4*(parseInt(_0x5e4b71(0x1f0))/0x5)+-parseInt(_0x5e4b71(0x1d7))/0x6+-parseInt(_0x5e4b71(0x22d))/0x7+-parseInt(_0x5e4b71(0x1d6))/0x8+parseInt(_0x5e4b71(0x1c0))/0x9*(parseInt(_0x5e4b71(0x1ed))/0xa);if(_0x59daa1===_0x32a73b)break;else _0x18e708['push'](_0x18e708['shift']());}catch(_0x55daa1){_0x18e708['push'](_0x18e708['shift']());}}}(a32_0x1237,0xbe5a5));function a32_0x1237(){const _0x19e50f=['browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__error_messages__','fFgfT','2488367TubMIN','err','isAccessibilityPlatform','setGlobal','percyCaptureMode','hdBND','ObservabilitySync:','titlePath','nCejY','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','cLMyj','711zRjWEz','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','then','Failed:\x20','browserstackSessionName','failed','cXbcp','thBuildUuid','QMHTa','\x20|\x20','dpSmx','SXuQl','pCNmn','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','passed','ENV_VAR','currentTest','debug','IvOKy','../../helpers/testhub/utils','shift','2114424wOmSeO','5293974jIXstN','oqThY','saveTestResults','env','getGlobal','accessibilityScanStarted','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/scripts','Srhud','testAnalyticsId','xgiXo','percy','performScan','\x20-\x20','TKxlK','../../helpers/testhub/constants','UmWAH','pJFEa','\x22}}','quitCount_','testcase','bstackA11yShouldScan','335870eWcWsH','RkaSt','Awimu','5xitsGI','capabilities','lJTCR','app','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kYytw','yrSJm','length','initQuit','isArray','join','SyeqY','timeout','message','yqFOb','https:','3884612TxowRl','executeAsyncScript','shouldScanTestForAccessibility','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','vTofu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','protocol','error','tmKhG','ufFFy','22oWSVSY','BBbjd','thJwtToken','thTestRunUuid','fqSEG','eUaFI','stringify','aNdXT','session_','Performing\x20scan\x20before\x20saving\x20results','info','__sessionFailed','xBeKb','ixsxm','__skipSessionName','winstonLogger','BROWSERSTACK_TESTHUB_JWT','BROWSERSTACK_TESTHUB_UUID','format','qHNXx','../../helpers/globals','__drivers','fgPDg','2459397eWOOSc',',\x22level\x22:\x20\x22','.\x20Error\x20:','kJvti','driverCleanup','47539gVglAw','startMonitoring','vqEnm'];a32_0x1237=function(){return _0x19e50f;};return a32_0x1237();}const util=require(a32_0x20d873(0x206)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x20d873(0x1de)),globals=require(a32_0x20d873(0x21f)),logger=require('../../helpers/logger')[a32_0x20d873(0x21a)],{shouldProcessEventForTesthub}=require(a32_0x20d873(0x1d4)),testHubConstants=require(a32_0x20d873(0x1e6));exports['mochaHooks']={'beforeAll'(){const _0x1f1588=a32_0x20d873,_0x51a0e5={'QMHTa':function(_0x4f5eb7,_0xaa5e4f,_0x4a4e0d,_0x54a830){return _0x4f5eb7(_0xaa5e4f,_0x4a4e0d,_0x54a830);},'TGMCQ':_0x1f1588(0x1c6),'pCNmn':_0x1f1588(0x1ca),'hdBND':function(_0x29965f,_0x5002f5,_0x3e233a){return _0x29965f(_0x5002f5,_0x3e233a);},'tmKhG':_0x1f1588(0x1cf),'EdZei':function(_0x1a3d20){return _0x1a3d20();},'IXyaY':function(_0x582625,_0x24d2dd,_0x29d844){return _0x582625(_0x24d2dd,_0x29d844);}};PerformanceTester[_0x1f1588(0x228)]();const _0x542acf='browserstack internal helper hook';global[_0x1f1588(0x22b)]=[],global['__sessionFailed']=![],global[_0x1f1588(0x226)]=async()=>{const _0x286f93=_0x1f1588;let _0x54073d=![];try{await global[_0x286f93(0x220)][0x0][_0x286f93(0x213)],_0x54073d=!![],global['__sessionFailed']?await _0x51a0e5[_0x286f93(0x1c9)](markSessionStatus,global[_0x286f93(0x220)][0x0],_0x51a0e5['TGMCQ'],global[_0x286f93(0x22b)][_0x286f93(0x1fa)](_0x51a0e5[_0x286f93(0x1cd)])):await _0x51a0e5[_0x286f93(0x232)](markSessionStatus,global['__drivers'][0x0],_0x51a0e5[_0x286f93(0x209)]);}catch(_0x26b915){}global[_0x286f93(0x22b)]=[],global[_0x286f93(0x216)]=![];if(_0x54073d)try{try{_0x51a0e5['EdZei'](shouldProcessEventForTesthub)&&(global[_0x286f93(0x220)][0x0]&&await _0x51a0e5['IXyaY'](sendPlatformDetails,global[_0x286f93(0x220)][0x0],this[_0x286f93(0x1d1)]?this[_0x286f93(0x1d1)][_0x286f93(0x1e0)]:null));}catch{}await global[_0x286f93(0x220)][0x0][_0x286f93(0x1f8)]();}catch(_0x147ff2){}};},'beforeEach'(_0x415d55){const _0x5bb145=a32_0x20d873,_0x5938e5={'ReDCE':function(_0x4ffa8e,_0x454d65){return _0x4ffa8e>_0x454d65;},'xHqYj':function(_0xb5a96a,_0x1b4fe4){return _0xb5a96a>_0x1b4fe4;},'BBbjd':_0x5bb145(0x1e4),'fgPDg':function(_0x5062c1,_0x1db8a1,_0x4345e2){return _0x5062c1(_0x1db8a1,_0x4345e2);},'yqFOb':_0x5bb145(0x1ec),'lJTCR':function(_0x1821ad){return _0x1821ad();},'ixsxm':function(_0x499b24,_0x101ba7){return _0x499b24>_0x101ba7;},'kYytw':_0x5bb145(0x22f),'vqEnm':function(_0x5a2410,_0x5bbb58){return _0x5a2410===_0x5bbb58;},'VXSkM':'http:','PwFVQ':_0x5bb145(0x1ff),'yrSJm':_0x5bb145(0x236),'cXbcp':_0x5bb145(0x1c2),'kJvti':function(_0x4a3fb9){return _0x4a3fb9();}};new Promise(async _0x5111be=>{const _0x39fff7=_0x5bb145,_0x2a486d='browserstack internal helper hook';let _0x32bcba=!![];try{_0x5938e5['ReDCE'](global[_0x39fff7(0x220)][_0x39fff7(0x1f7)],0x1)&&(await global['driverCleanup'](),global[_0x39fff7(0x220)][_0x39fff7(0x1d5)]()),_0x5938e5['xHqYj'](global[_0x39fff7(0x220)][0x0][_0x39fff7(0x1ea)],0x0)&&(_0x32bcba=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global[_0x39fff7(0x220)])&&global[_0x39fff7(0x220)][0x0]&&(global['__drivers'][0x0][_0x39fff7(0x1c5)]=this[_0x39fff7(0x1d1)][_0x39fff7(0x234)]()[_0x39fff7(0x1fa)](_0x5938e5[_0x39fff7(0x20c)])),global[_0x39fff7(0x1c5)]=this['currentTest']['titlePath']()[_0x39fff7(0x1fa)](_0x5938e5[_0x39fff7(0x20c)]);}catch(_0x4d7857){logger[_0x39fff7(0x1d2)](_0x39fff7(0x1dd)+_0x4d7857);}this['currentTest'][_0x39fff7(0x202)]=_0x5938e5[_0x39fff7(0x221)](shouldScanTestForAccessibility,this[_0x39fff7(0x1d1)][_0x39fff7(0x234)](),!![]),globals[_0x39fff7(0x230)](_0x5938e5[_0x39fff7(0x1fe)],this[_0x39fff7(0x1d1)][_0x39fff7(0x202)]),this[_0x39fff7(0x1d1)]['accessibilityScanStarted']=!![];if(_0x5938e5[_0x39fff7(0x1f2)](isAccessibilityAutomationSession)&&_0x32bcba&&Array[_0x39fff7(0x1f9)](global[_0x39fff7(0x220)])&&_0x5938e5[_0x39fff7(0x218)](global[_0x39fff7(0x220)]['length'],0x0)&&globals[_0x39fff7(0x1db)](_0x5938e5[_0x39fff7(0x1f5)]))try{const _0x417bab=await global['__drivers'][0x0][_0x39fff7(0x213)];if(_0x417bab){let _0x131c2c=!![];const _0x430405=await global['__drivers'][0x0]['getCurrentUrl']();let _0x2cdbb5;try{_0x2cdbb5=new URL(_0x430405);}catch(_0x4b79e0){_0x131c2c=![];}_0x131c2c=_0x5938e5[_0x39fff7(0x229)](_0x2cdbb5[_0x39fff7(0x207)],_0x5938e5['VXSkM'])||_0x5938e5[_0x39fff7(0x229)](_0x2cdbb5[_0x39fff7(0x207)],_0x5938e5['PwFVQ']),_0x131c2c&&(this['currentTest']['shouldScanTestForAccessibility']&&logger['info'](_0x5938e5[_0x39fff7(0x1f6)])),this['currentTest'][_0x39fff7(0x1dc)]=this['currentTest'][_0x39fff7(0x202)],this[_0x39fff7(0x1d1)][_0x39fff7(0x202)]&&logger[_0x39fff7(0x215)](_0x5938e5[_0x39fff7(0x1c7)]);}}catch(_0x875ee8){logger[_0x39fff7(0x208)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x39fff7(0x21d)](_0x875ee8));}_0x5938e5[_0x39fff7(0x225)](_0x5111be);})[_0x5bb145(0x1c3)](_0x415d55);},'afterEach'(_0x141b7a){const _0x2ec762=a32_0x20d873,_0xf9fa3f={'cLMyj':function(_0x48f90c,_0x5080eb){return _0x48f90c>_0x5080eb;},'aNdXT':function(_0x4991d7,_0x309192){return _0x4991d7===_0x309192;},'pJFEa':_0x2ec762(0x1eb),'xgiXo':'appium:app','IvOKy':function(_0x1982c0,_0x121fb2,_0x436f8c,_0x44fde9){return _0x1982c0(_0x121fb2,_0x436f8c,_0x44fde9);},'Srhud':_0x2ec762(0x1e4),'eUaFI':function(_0x505ef5,_0x2fc2d0){return _0x505ef5!==_0x2fc2d0;},'DqafA':_0x2ec762(0x1cf),'RkaSt':function(_0x2393d8,_0x261371,_0x1f01f9){return _0x2393d8(_0x261371,_0x1f01f9);},'fFgfT':function(_0xb423fa,_0x386a1d){return _0xb423fa+_0x386a1d;},'Awimu':_0x2ec762(0x1c4),'vTofu':'error','dpSmx':function(_0x247b5b,_0xd867bc,_0x5ea7cd){return _0x247b5b(_0xd867bc,_0x5ea7cd);},'SyeqY':'Passed','ufFFy':'info','xBeKb':_0x2ec762(0x22f),'oqThY':'bstackA11yShouldScan','TKxlK':_0x2ec762(0x1ce),'nCejY':_0x2ec762(0x214),'rNUay':_0x2ec762(0x205),'qHNXx':function(_0x473a59){return _0x473a59();},'jHwRz':function(_0x2be0fc){return _0x2be0fc();},'fqSEG':function(_0x3de5e9,_0x40a3d7,_0x476705){return _0x3de5e9(_0x40a3d7,_0x476705);},'UmWAH':_0x2ec762(0x1d2)},_0x5b6a5c='browserstack internal helper hook';this[_0x2ec762(0x1fc)](0xfde8);const _0xd25f5=async(_0x5b9ab8,_0x22deae)=>{const _0x296f45=_0x2ec762;await global[_0x296f45(0x220)][0x0]['executeScript'](_0x296f45(0x22a)+_0x5b9ab8+_0x296f45(0x223)+_0x22deae+_0x296f45(0x1e9));};new Promise(async _0x547cfd=>{const _0x530520=_0x2ec762;try{_0xf9fa3f['cLMyj'](global[_0x530520(0x220)][_0x530520(0x1f7)],0x1)&&(await global['driverCleanup'](),global[_0x530520(0x220)]['shift'](),global[_0x530520(0x22b)]=[],global[_0x530520(0x216)]=![]);try{if(global[_0x530520(0x1e2)]&&_0xf9fa3f[_0x530520(0x212)](global[_0x530520(0x231)],_0xf9fa3f[_0x530520(0x1e8)])&&global[_0x530520(0x220)][0x0]){const _0x24a7ea=_0xf9fa3f[_0x530520(0x237)](global[_0x530520(0x1f1)][_0x530520(0x1f7)],0x0)?!!global[_0x530520(0x1f1)][0x0]['app']||!!global[_0x530520(0x1f1)][0x0][_0xf9fa3f[_0x530520(0x1e1)]]:![],_0x23367a={};_0x23367a[_0x530520(0x1f3)]=_0x24a7ea,await _0xf9fa3f[_0x530520(0x1d3)](percyAutoCapture,global['__drivers'][0x0],_0xf9fa3f[_0x530520(0x1e8)],_0x23367a);}}catch(_0x582bd1){}!global[_0x530520(0x219)]&&(await global[_0x530520(0x220)][0x0]['executeScript'](_0x530520(0x203)+JSON[_0x530520(0x211)](this['currentTest']['titlePath']()[_0x530520(0x1fa)](_0xf9fa3f[_0x530520(0x1df)]))+'}}'),global[_0x530520(0x220)][0x0]['sessionNameSet__']=!![]);const _0x567734=_0xf9fa3f[_0x530520(0x210)](this[_0x530520(0x1d1)]['state'],_0xf9fa3f['DqafA']);_0x567734?(global['__sessionFailed']=!![],global[_0x530520(0x22b)]['push'](this[_0x530520(0x1d1)][_0x530520(0x22e)]['message']),await _0xf9fa3f['RkaSt'](_0xd25f5,JSON[_0x530520(0x211)](_0xf9fa3f[_0x530520(0x22c)](_0xf9fa3f[_0x530520(0x1ef)],this[_0x530520(0x1d1)][_0x530520(0x22e)][_0x530520(0x1fd)])),_0xf9fa3f[_0x530520(0x204)])):await _0xf9fa3f[_0x530520(0x1cb)](_0xd25f5,JSON['stringify'](_0xf9fa3f[_0x530520(0x1fb)]),_0xf9fa3f[_0x530520(0x20a)]);}catch(_0x4d5f86){}try{if(this[_0x530520(0x1d1)][_0x530520(0x1dc)]&&globals[_0x530520(0x1db)](_0xf9fa3f[_0x530520(0x217)])&&globals[_0x530520(0x1db)](_0xf9fa3f[_0x530520(0x1d8)])){logger[_0x530520(0x215)](_0xf9fa3f[_0x530520(0x1e5)]);const _0x42c30b={};_0x42c30b[_0x530520(0x20e)]=this['currentTest']['testAnalyticsId'],_0x42c30b[_0x530520(0x1c8)]=process[_0x530520(0x1da)][testHubConstants[_0x530520(0x1d0)][_0x530520(0x21c)]],_0x42c30b[_0x530520(0x20d)]=process[_0x530520(0x1da)][testHubConstants[_0x530520(0x1d0)][_0x530520(0x21b)]];const _0xb87ef1=_0x42c30b;logger['debug'](_0x530520(0x1f4)+JSON[_0x530520(0x211)](_0xb87ef1)),logger['debug'](_0xf9fa3f[_0x530520(0x235)]),logger[_0x530520(0x1d2)](util[_0x530520(0x21d)](await global['__drivers'][0x0][_0x530520(0x201)](scripts[_0x530520(0x1e3)],{'method':global[_0x530520(0x1c5)]}))),await global[_0x530520(0x220)][0x0][_0x530520(0x201)](scripts[_0x530520(0x1d9)],_0xb87ef1),logger[_0x530520(0x215)](_0xf9fa3f['rNUay']);}}catch(_0x4d097e){logger[_0x530520(0x208)](_0x530520(0x1c1)+this[_0x530520(0x1d1)][_0x530520(0x234)]()+_0x530520(0x224),_0x4d097e);}try{try{if(_0xf9fa3f[_0x530520(0x21e)](shouldProcessEventForTesthub)){global[_0x530520(0x220)][0x0]&&await _0xf9fa3f[_0x530520(0x1ee)](sendPlatformDetails,global['__drivers'][0x0],this[_0x530520(0x1d1)]?this[_0x530520(0x1d1)][_0x530520(0x1e0)]:null);if(_0xf9fa3f['jHwRz'](isBrowserstackInfra)){const _0x4f1a6e=_0x530520(0x233)+Date['now']();await _0xf9fa3f[_0x530520(0x20f)](_0xd25f5,JSON[_0x530520(0x211)](_0x4f1a6e),_0xf9fa3f[_0x530520(0x1e7)]);}}}catch{}_0xf9fa3f['cLMyj'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x530520(0x226)]();}catch(_0x13e114){}_0xf9fa3f['jHwRz'](_0x547cfd);})[_0x2ec762(0x1c3)](()=>_0x141b7a());},'afterAll'(_0x52df2d){const _0x5406cd=a32_0x20d873,_0x3bc10d={'SXuQl':function(_0x6d4a27){return _0x6d4a27();}},_0x2c39a2='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x80451b=>{const _0x4a0581=a32_0x59e4;PerformanceTester['stopMonitoring'](),await global[_0x4a0581(0x226)](),_0x3bc10d[_0x4a0581(0x1cc)](_0x80451b);})[_0x5406cd(0x1c3)](()=>_0x52df2d());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x56a4(_0x4a2795,_0x1c5fca){const _0x517e45=a33_0x517e();return a33_0x56a4=function(_0x56a4a1,_0x4f1a38){_0x56a4a1=_0x56a4a1-0xe1;let _0x3b9291=_0x517e45[_0x56a4a1];return _0x3b9291;},a33_0x56a4(_0x4a2795,_0x1c5fca);}const a33_0x38bf49=a33_0x56a4;(function(_0x30b624,_0x37ddb1){const _0x117d7a=a33_0x56a4,_0x31482c=_0x30b624();while(!![]){try{const _0x342cc2=parseInt(_0x117d7a(0x103))/0x1+parseInt(_0x117d7a(0xfc))/0x2+-parseInt(_0x117d7a(0x119))/0x3+-parseInt(_0x117d7a(0x105))/0x4*(-parseInt(_0x117d7a(0x111))/0x5)+-parseInt(_0x117d7a(0xf7))/0x6*(parseInt(_0x117d7a(0x109))/0x7)+parseInt(_0x117d7a(0xe3))/0x8+-parseInt(_0x117d7a(0x107))/0x9;if(_0x342cc2===_0x37ddb1)break;else _0x31482c['push'](_0x31482c['shift']());}catch(_0x38e562){_0x31482c['push'](_0x31482c['shift']());}}}(a33_0x517e,0x4da94));const fs=require('fs'),path=require(a33_0x38bf49(0xea)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a33_0x38bf49(0xee)],{default:BrowserStackSetup}=require(a33_0x38bf49(0x123)),helper=require(a33_0x38bf49(0xf2)),constants=require(a33_0x38bf49(0x120)),getUserNightwatchConfigs=(_0x14e9e8,_0x36d9e3)=>{const _0x3520c2=a33_0x38bf49,_0xe3677b={'zJhql':_0x3520c2(0x124),'GrAgk':'nightwatch.json','bbhrB':function(_0x236f11,_0x21280e){return _0x236f11(_0x21280e);},'LttEh':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x54462c=null,_0x5245ea={};const _0x466cef=_0x36d9e3['findIndex'](_0x4afec0=>_0x4afec0===_0x3520c2(0x106));if(!helper[_0x3520c2(0xe5)](_0x14e9e8['config'])&&fs[_0x3520c2(0xfb)](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0x14e9e8['config'])))_0x54462c=path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0x14e9e8[_0x3520c2(0x118)]),_0x36d9e3[_0x3520c2(0x117)](_0x466cef,0x2);else{if(fs[_0x3520c2(0xfb)](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b[_0x3520c2(0x100)])))_0x54462c=path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b['zJhql']);else fs['existsSync'](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b[_0x3520c2(0xf8)]))&&(_0x54462c=path['join'](process[_0x3520c2(0x11c)](),_0xe3677b['GrAgk']));}return _0x54462c?(logger['info'](_0x3520c2(0x10d)+_0x54462c),_0x5245ea=_0xe3677b['bbhrB'](require,_0x54462c)):logger[_0x3520c2(0xfd)](_0xe3677b[_0x3520c2(0x112)]),_0x5245ea;},removeExistingEnvs=_0x74c700=>{const _0x3151df=a33_0x38bf49,_0x56b963={};_0x56b963['QEmNP']=function(_0xad4aca,_0xfc845f){return _0xad4aca>_0xfc845f;};const _0x342b91=_0x56b963;let _0x1a1c00=_0x74c700[_0x3151df(0xef)](_0xe58215=>_0xe58215===_0x3151df(0xff));_0x342b91[_0x3151df(0x10a)](_0x1a1c00,-0x1)&&_0x74c700[_0x3151df(0x117)](_0x1a1c00,0x2),_0x1a1c00=_0x74c700[_0x3151df(0xef)](_0x34336e=>_0x34336e==='-e'),_0x342b91[_0x3151df(0x10a)](_0x1a1c00,-0x1)&&_0x74c700[_0x3151df(0x117)](_0x1a1c00,0x2);};function run(_0x507635,_0x26a9a6){const _0x2caa71=a33_0x38bf49,_0x5481ba={'DPipK':'nightwatch','ZarPz':function(_0x42c446,_0x32c87e){return _0x42c446+_0x32c87e;},'qvtZk':_0x2caa71(0xf3),'KSIBE':function(_0x1d9420,_0x2bd253,_0xbf30d7){return _0x1d9420(_0x2bd253,_0xbf30d7);},'BBpgT':_0x2caa71(0x122),'lYDLi':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','FBAtT':function(_0x560034,_0x3aea38){return _0x560034===_0x3aea38;},'RXygX':_0x2caa71(0xe7),'OULxX':function(_0x2f8eac,_0xd8b6bb){return _0x2f8eac(_0xd8b6bb);},'tJhdy':function(_0x3f4ddd,_0x5aafb5,_0x43954c,_0x5470a8){return _0x3f4ddd(_0x5aafb5,_0x43954c,_0x5470a8);},'UEESe':'nightwatch.cmd','iqGgC':'--config','SbNmg':_0x2caa71(0xff),'FywLB':_0x2caa71(0xe1),'MptGp':_0x2caa71(0x11d)},_0x401e2b=new BrowserStackSetup(_0x507635);if(!_0x401e2b[_0x2caa71(0x118)])return;const _0x1eabb4=_0x5481ba['KSIBE'](getUserNightwatchConfigs,_0x507635,_0x26a9a6),_0xa7d0f6={};_0xa7d0f6[_0x2caa71(0x102)]=![];const _0x5f5b47={};_0x5f5b47[_0x2caa71(0xf5)]=_0x5481ba['BBpgT'],_0x5f5b47[_0x2caa71(0x115)]=0x1bb;const _0x180a23={};_0x180a23['webdriver']=_0xa7d0f6,_0x180a23[_0x2caa71(0x114)]=_0x5f5b47;const _0x115bb8=_0x180a23;logger[_0x2caa71(0xfd)](_0x5481ba['lYDLi']);const _0x24f86f={..._0x1eabb4},_0x1bae47=_0x24f86f,_0x422f1d=helper[_0x2caa71(0x10b)](_0x401e2b[_0x2caa71(0x118)]),_0x3f2865=[];_0x401e2b[_0x2caa71(0x118)]['platforms'][_0x2caa71(0xeb)]((_0x28592f,_0x300011)=>{const _0x2ba650=_0x2caa71;_0x422f1d?_0x3f2865[_0x2ba650(0x127)](helper['modifyBrowserStackW3CCaps'](_0x401e2b[_0x2ba650(0x118)],_0x5481ba[_0x2ba650(0x108)],_0x300011)):_0x3f2865[_0x2ba650(0x127)](helper[_0x2ba650(0xf4)](_0x401e2b[_0x2ba650(0x118)],_0x5481ba[_0x2ba650(0x108)],_0x300011));});const _0x1f22a8={},_0x542350=[];_0x507635[_0x2caa71(0xf9)]=_0x507635[_0x2caa71(0xf9)]||_0x507635['e'];const _0x153def=_0x507635[_0x2caa71(0xf9)]?_0x507635[_0x2caa71(0xf9)][_0x2caa71(0x11a)]()[_0x2caa71(0xe9)](',')[_0x2caa71(0x10f)](_0x3f007e=>_0x3f007e[_0x2caa71(0x11a)]())['filter'](_0x2db39d=>_0x2db39d!==''):[''];_0x5481ba[_0x2caa71(0xfe)](_0x153def[_0x2caa71(0x116)],0x0)&&_0x153def[_0x2caa71(0x127)]('');_0x153def[_0x2caa71(0xeb)](_0x52a645=>{const _0x177524=_0x2caa71;_0x3f2865[_0x177524(0xeb)](_0x1f610a=>{const _0x57ff57=_0x177524;let _0xacc707=_0x5481ba['ZarPz'](helper[_0x57ff57(0xe4)](_0x1f610a,'_'),'_'+Date[_0x57ff57(0xf6)]());_0x52a645&&(_0xacc707+='_'+_0x52a645);if(_0x52a645&&(!_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]]||!_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]][_0x52a645]))return;const _0x2faeee={..._0x115bb8};_0x2faeee[_0x57ff57(0x125)]=_0x1f610a;const _0x438a00=_0x2faeee;_0x1f22a8[_0xacc707]=_0x52a645?helper[_0x57ff57(0x121)](_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]][_0x52a645],_0x438a00):_0x438a00,_0x542350['push'](_0xacc707);});});!_0x1bae47[_0x2caa71(0xf3)]&&(_0x1bae47[_0x2caa71(0xf3)]={});_0x1bae47['test_settings']={..._0x1bae47[_0x2caa71(0xf3)],..._0x1f22a8};const _0x18fa1b=path[_0x2caa71(0x11b)](__dirname,_0x5481ba[_0x2caa71(0xf1)]);fs[_0x2caa71(0xe2)](_0x18fa1b,JSON[_0x2caa71(0x110)](_0x1bae47)),_0x5481ba[_0x2caa71(0xed)](removeExistingEnvs,_0x26a9a6);const _0x379868=_0x5481ba[_0x2caa71(0x11f)](spawn,/^win/[_0x2caa71(0x101)](process[_0x2caa71(0x10c)])?_0x5481ba[_0x2caa71(0xec)]:_0x5481ba['DPipK'],[_0x5481ba[_0x2caa71(0x10e)],_0x18fa1b,..._0x26a9a6[_0x2caa71(0x126)](0x1),_0x5481ba[_0x2caa71(0xe6)],_0x542350[_0x2caa71(0x11b)](',')],{'stdio':_0x5481ba['FywLB']});_0x379868['on'](_0x5481ba['MptGp'],async _0x5b0d72=>{const _0x5eb799=_0x2caa71;logger[_0x5eb799(0xf0)](_0x5eb799(0xfa)+_0x5b0d72),logger[_0x5eb799(0xfd)](_0x5eb799(0x113)+_0x18fa1b),fs[_0x5eb799(0x11e)](_0x18fa1b);});}module[a33_0x38bf49(0xe8)]=run;function a33_0x517e(){const _0x334ce8=['join','cwd','close','unlinkSync','tJhdy','../utils/constants','mergeDeep','hub.browserstack.com','../../helpers/BrowserStackSetup','nightwatch.conf.js','desiredCapabilities','slice','push','inherit','writeFileSync','3254784NhlAlQ','getPlatformName','isUndefined','SbNmg','nightwatch-browserstack.json','exports','split','path','forEach','UEESe','OULxX','winstonLogger','findIndex','debug','RXygX','../../helpers/helper','test_settings','modifyBrowserStackCaps','host','now','186vwxamP','GrAgk','env','child\x20process\x20exited\x20with\x20code\x20','existsSync','55566caNIjJ','info','FBAtT','--env','zJhql','test','start_process','565806dHoDDt','qvtZk','104UazXjg','--config','383976hjccze','DPipK','137039hpgQzi','QEmNP','useW3C','platform','Getting\x20your\x20nightwatch\x20configs\x20from\x20','iqGgC','map','stringify','13285bfrTuq','LttEh','Deleting\x20','selenium','port','length','splice','config','305604UbNwOw','trim'];a33_0x517e=function(){return _0x334ce8;};return a33_0x517e();}
2
+ 'use strict';const a33_0x3a5794=a33_0x1d1c;(function(_0x28b214,_0x4563e8){const _0x4e8824=a33_0x1d1c,_0x37edbf=_0x28b214();while(!![]){try{const _0x105bde=-parseInt(_0x4e8824(0x159))/0x1*(-parseInt(_0x4e8824(0x160))/0x2)+-parseInt(_0x4e8824(0x128))/0x3+-parseInt(_0x4e8824(0x144))/0x4*(parseInt(_0x4e8824(0x155))/0x5)+parseInt(_0x4e8824(0x15a))/0x6*(-parseInt(_0x4e8824(0x12a))/0x7)+-parseInt(_0x4e8824(0x143))/0x8*(parseInt(_0x4e8824(0x145))/0x9)+-parseInt(_0x4e8824(0x149))/0xa+parseInt(_0x4e8824(0x134))/0xb;if(_0x105bde===_0x4563e8)break;else _0x37edbf['push'](_0x37edbf['shift']());}catch(_0x4ca9af){_0x37edbf['push'](_0x37edbf['shift']());}}}(a33_0x2971,0xca76e));function a33_0x1d1c(_0x532ba5,_0x5a2912){const _0x297126=a33_0x2971();return a33_0x1d1c=function(_0x1d1c99,_0x39cfe5){_0x1d1c99=_0x1d1c99-0x119;let _0x19907d=_0x297126[_0x1d1c99];return _0x19907d;},a33_0x1d1c(_0x532ba5,_0x5a2912);}const fs=require('fs'),path=require(a33_0x3a5794(0x140)),{spawn}=require(a33_0x3a5794(0x133)),logger=require(a33_0x3a5794(0x15e))[a33_0x3a5794(0x11e)],{default:BrowserStackSetup}=require(a33_0x3a5794(0x14e)),helper=require(a33_0x3a5794(0x13a)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3d7ecd,_0x3a1ca8)=>{const _0x5be618=a33_0x3a5794,_0x5d1a95={'YygFJ':'nightwatch.conf.js','USHQw':_0x5be618(0x12b),'BYgfD':function(_0x231cd0,_0x5b53f3){return _0x231cd0(_0x5b53f3);},'piYmq':_0x5be618(0x127)};let _0x318877=null,_0x2a4648={};const _0x429b39=_0x3a1ca8[_0x5be618(0x13c)](_0x93a54c=>_0x93a54c===_0x5be618(0x14a));if(!helper['isUndefined'](_0x3d7ecd[_0x5be618(0x164)])&&fs['existsSync'](path['join'](process[_0x5be618(0x11a)](),_0x3d7ecd[_0x5be618(0x164)])))_0x318877=path['join'](process[_0x5be618(0x11a)](),_0x3d7ecd[_0x5be618(0x164)]),_0x3a1ca8[_0x5be618(0x151)](_0x429b39,0x2);else{if(fs['existsSync'](path[_0x5be618(0x142)](process[_0x5be618(0x11a)](),_0x5d1a95['YygFJ'])))_0x318877=path['join'](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x121)]);else fs[_0x5be618(0x157)](path['join'](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x11b)]))&&(_0x318877=path[_0x5be618(0x142)](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x11b)]));}return _0x318877?(logger['info'](_0x5be618(0x147)+_0x318877),_0x2a4648=_0x5d1a95['BYgfD'](require,_0x318877)):logger['info'](_0x5d1a95['piYmq']),_0x2a4648;},removeExistingEnvs=_0x10d361=>{const _0x5a2800=a33_0x3a5794,_0x2668f3={};_0x2668f3[_0x5a2800(0x161)]=function(_0x372d3e,_0x2e3837){return _0x372d3e>_0x2e3837;};const _0x1e6361=_0x2668f3;let _0x12789a=_0x10d361[_0x5a2800(0x13c)](_0x791313=>_0x791313===_0x5a2800(0x14c));_0x1e6361[_0x5a2800(0x161)](_0x12789a,-0x1)&&_0x10d361[_0x5a2800(0x151)](_0x12789a,0x2),_0x12789a=_0x10d361[_0x5a2800(0x13c)](_0x44c87f=>_0x44c87f==='-e'),_0x1e6361['BEuXB'](_0x12789a,-0x1)&&_0x10d361[_0x5a2800(0x151)](_0x12789a,0x2);};function run(_0x511d3a,_0x596f7d){const _0x25f662=a33_0x3a5794,_0x44c0c0={'IHtlZ':'nightwatch','OHcTm':function(_0x3a0b68,_0x37ce93){return _0x3a0b68+_0x37ce93;},'ajXET':'test_settings','HFXiE':function(_0x5e7286,_0x3271e5,_0x32bbab){return _0x5e7286(_0x3271e5,_0x32bbab);},'FAfVG':'hub.browserstack.com','ywWZF':_0x25f662(0x156),'VSPLS':function(_0x211151,_0x18772f){return _0x211151===_0x18772f;},'OGLaf':_0x25f662(0x150),'vnkHm':function(_0x2fdb68,_0xb7c9){return _0x2fdb68(_0xb7c9);},'hJJPq':function(_0x2aa87b,_0x222443,_0x494662,_0x4c8e43){return _0x2aa87b(_0x222443,_0x494662,_0x4c8e43);},'QGwqE':'nightwatch.cmd','KINHY':_0x25f662(0x14a),'YXKfK':'--env','mxdOw':_0x25f662(0x131),'mcQLP':'close'},_0x587753=new BrowserStackSetup(_0x511d3a);if(!_0x587753[_0x25f662(0x164)])return;const _0x4df43d=_0x44c0c0[_0x25f662(0x125)](getUserNightwatchConfigs,_0x511d3a,_0x596f7d),_0x3af2e8={};_0x3af2e8[_0x25f662(0x13b)]=![];const _0x4a13c0={};_0x4a13c0[_0x25f662(0x14d)]=_0x44c0c0[_0x25f662(0x138)],_0x4a13c0[_0x25f662(0x165)]=0x1bb;const _0x4c4042={};_0x4c4042[_0x25f662(0x158)]=_0x3af2e8,_0x4c4042[_0x25f662(0x152)]=_0x4a13c0;const _0x49d7b8=_0x4c4042;logger[_0x25f662(0x15d)](_0x44c0c0['ywWZF']);const _0x3a9942={..._0x4df43d},_0x117220=_0x3a9942,_0x10b491=helper[_0x25f662(0x12f)](_0x587753['config']),_0x38e1e0=[];_0x587753['config'][_0x25f662(0x15f)][_0x25f662(0x14b)]((_0x1cf92f,_0xb549f2)=>{const _0x5d4687=_0x25f662;_0x10b491?_0x38e1e0['push'](helper[_0x5d4687(0x153)](_0x587753[_0x5d4687(0x164)],_0x44c0c0[_0x5d4687(0x13d)],_0xb549f2)):_0x38e1e0[_0x5d4687(0x12e)](helper[_0x5d4687(0x162)](_0x587753[_0x5d4687(0x164)],_0x44c0c0[_0x5d4687(0x13d)],_0xb549f2));});const _0x2bcea4={},_0xe22a99=[];_0x511d3a[_0x25f662(0x136)]=_0x511d3a[_0x25f662(0x136)]||_0x511d3a['e'];const _0x59aa83=_0x511d3a[_0x25f662(0x136)]?_0x511d3a['env'][_0x25f662(0x139)]()[_0x25f662(0x120)](',')[_0x25f662(0x126)](_0x23db08=>_0x23db08[_0x25f662(0x139)]())[_0x25f662(0x146)](_0x30e8c5=>_0x30e8c5!==''):[''];_0x44c0c0[_0x25f662(0x12c)](_0x59aa83['length'],0x0)&&_0x59aa83[_0x25f662(0x12e)]('');_0x59aa83[_0x25f662(0x14b)](_0x43b545=>{const _0x1c1658={'trGKr':function(_0xc5b85d,_0x43528c){const _0x5e56b7=a33_0x1d1c;return _0x44c0c0[_0x5e56b7(0x124)](_0xc5b85d,_0x43528c);},'UlLQk':_0x44c0c0['ajXET']};_0x38e1e0['forEach'](_0x29a8c8=>{const _0x30f0a5=a33_0x1d1c;let _0x8582c7=_0x1c1658[_0x30f0a5(0x130)](helper[_0x30f0a5(0x13e)](_0x29a8c8,'_'),'_'+Date[_0x30f0a5(0x12d)]());_0x43b545&&(_0x8582c7+='_'+_0x43b545);if(_0x43b545&&(!_0x4df43d[_0x1c1658['UlLQk']]||!_0x4df43d[_0x1c1658['UlLQk']][_0x43b545]))return;const _0x8892c2={..._0x49d7b8};_0x8892c2[_0x30f0a5(0x11f)]=_0x29a8c8;const _0xf39bc4=_0x8892c2;_0x2bcea4[_0x8582c7]=_0x43b545?helper[_0x30f0a5(0x137)](_0x4df43d[_0x1c1658[_0x30f0a5(0x15b)]][_0x43b545],_0xf39bc4):_0xf39bc4,_0xe22a99[_0x30f0a5(0x12e)](_0x8582c7);});});!_0x117220[_0x25f662(0x11d)]&&(_0x117220[_0x25f662(0x11d)]={});_0x117220[_0x25f662(0x11d)]={..._0x117220[_0x25f662(0x11d)],..._0x2bcea4};const _0x1aac0b=path[_0x25f662(0x142)](__dirname,_0x44c0c0[_0x25f662(0x15c)]);fs[_0x25f662(0x132)](_0x1aac0b,JSON[_0x25f662(0x141)](_0x117220)),_0x44c0c0['vnkHm'](removeExistingEnvs,_0x596f7d);const _0x2d1f3c=_0x44c0c0[_0x25f662(0x13f)](spawn,/^win/[_0x25f662(0x119)](process[_0x25f662(0x154)])?_0x44c0c0[_0x25f662(0x163)]:_0x44c0c0[_0x25f662(0x13d)],[_0x44c0c0['KINHY'],_0x1aac0b,..._0x596f7d[_0x25f662(0x122)](0x1),_0x44c0c0[_0x25f662(0x11c)],_0xe22a99['join'](',')],{'stdio':_0x44c0c0[_0x25f662(0x135)]});_0x2d1f3c['on'](_0x44c0c0[_0x25f662(0x123)],async _0x4a91d7=>{const _0x435493=_0x25f662;logger[_0x435493(0x148)](_0x435493(0x129)+_0x4a91d7),logger[_0x435493(0x15d)]('Deleting\x20'+_0x1aac0b),fs['unlinkSync'](_0x1aac0b);});}function a33_0x2971(){const _0xa361bc=['findIndex','IHtlZ','getPlatformName','hJJPq','path','stringify','join','11645464MNrtwt','122788Nquuza','9hWrVFZ','filter','Getting\x20your\x20nightwatch\x20configs\x20from\x20','debug','10472100ShPwTO','--config','forEach','--env','host','../../helpers/BrowserStackSetup','exports','nightwatch-browserstack.json','splice','selenium','modifyBrowserStackW3CCaps','platform','145oQofsw','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','existsSync','webdriver','20039CtVXKP','2009418CvITtv','UlLQk','OGLaf','info','../../helpers/logger','platforms','60yanGtk','BEuXB','modifyBrowserStackCaps','QGwqE','config','port','test','cwd','USHQw','YXKfK','test_settings','winstonLogger','desiredCapabilities','split','YygFJ','slice','mcQLP','OHcTm','HFXiE','map','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','1909392FDXRfx','child\x20process\x20exited\x20with\x20code\x20','7msZNpN','nightwatch.json','VSPLS','now','push','useW3C','trGKr','inherit','writeFileSync','child_process','50518567OXRGPm','mxdOw','env','mergeDeep','FAfVG','trim','../../helpers/helper','start_process'];a33_0x2971=function(){return _0xa361bc;};return a33_0x2971();}module[a33_0x3a5794(0x14f)]=run;
@@ -1 +1 @@
1
- function a34_0x26cd(_0x224693,_0x4796ab){const _0x70d281=a34_0x70d2();return a34_0x26cd=function(_0x26cd01,_0x16ce9b){_0x26cd01=_0x26cd01-0x1b3;let _0xa77ad3=_0x70d281[_0x26cd01];return _0xa77ad3;},a34_0x26cd(_0x224693,_0x4796ab);}const a34_0x4234ee=a34_0x26cd;function a34_0x70d2(){const _0x2e5bbf=['uMnkX','../../helpers/helper','TzuKL','4673907qjVjfo','SrnPp','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserStackExecuteDriver','760052syJPCm','accessibilityOptions.scannerProcessingTimeout','VTPKK','kiqpR','wBqQj','Atktq','accessibilityPlatform','Playwright','platformValidation','vugBy','WebDriver','deviceName','browserName','format','14airxXM','currentTest','workerInfo','chrome','../../helpers/accessibility-automation/scripts','qUzzD','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','orflg','NuVbe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','connectOptions','uBRon','40531sFCpmL','winstonLogger','accessibilityOptions.wcagVersion','browserstack.accessibility','238827FdZZfA','jMcqo','vngzy','cUGvk','latest','No\x20accessibility\x20results\x20were\x20found.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','recff','constructor','FLzwK','IDtUr','replace','kguXs','8WscqHH','xaoae','includeIssueType','../../helpers/accessibility-automation/helper','getAccessibilityResults','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','JxgaY','processAccessibilityCaps','iQbcl','kYGVe','browser_version','method','LEwHy','bestPractice','No\x20summaryResults\x20found.','scannerVersion','executeScript','10lmsyzf','use','reFMr','browserStackEvaluate','kKwtL','needsReview','waGWR','ZaKUI','wsEndpoint','102imsrqW','xXfCR','bstackSdkArgs','(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','reTUT','accessibilityOptions.scannerVersion','46715wlJpmJ','playwright-chromium','DObQF','moAHg','btyYh','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','stringify','34657VLPowG','BS_A11Y_JWT','XPJYU','wcagVersion','name','parse','9860257LFFCFI','accessibilityOptions.includeIssueType.bestPractice','MuoRP','Vcrci','accessibilityOptions.includeIssueType.needsReview','getAccessibilityResultsSummary','accessibilityOptions','debug','env','evaluate','PDzJh','setAccessibilityCapabilities'];a34_0x70d2=function(){return _0x2e5bbf;};return a34_0x70d2();}(function(_0x20771a,_0x4d5440){const _0x316bca=a34_0x26cd,_0x1dfa7b=_0x20771a();while(!![]){try{const _0x382636=parseInt(_0x316bca(0x212))/0x1+-parseInt(_0x316bca(0x205))/0x2*(-parseInt(_0x316bca(0x216))/0x3)+-parseInt(_0x316bca(0x1f7))/0x4+parseInt(_0x316bca(0x1d6))/0x5*(-parseInt(_0x316bca(0x1d0))/0x6)+-parseInt(_0x316bca(0x1dd))/0x7*(-parseInt(_0x316bca(0x1b6))/0x8)+parseInt(_0x316bca(0x1f2))/0x9*(-parseInt(_0x316bca(0x1c7))/0xa)+parseInt(_0x316bca(0x1e3))/0xb;if(_0x382636===_0x4d5440)break;else _0x1dfa7b['push'](_0x1dfa7b['shift']());}catch(_0x574f65){_0x1dfa7b['push'](_0x1dfa7b['shift']());}}}(a34_0x70d2,0x9a0b5));const util=require('util'),logger=require('../../helpers/logger')[a34_0x4234ee(0x213)],{isAccessibilityAutomationSession}=require(a34_0x4234ee(0x1b9)),{isUndefined}=require(a34_0x4234ee(0x1f0)),scripts=require(a34_0x4234ee(0x209));exports[a34_0x4234ee(0x1ca)]=async(_0x5a5b64,_0x381701,_0x155126={})=>{const _0x5d837f=a34_0x4234ee,_0x47e95c={};_0x47e95c[_0x5d837f(0x1ed)]=_0x5d837f(0x1d2);const _0x3b8c6d=_0x47e95c;return await _0x5a5b64[_0x5d837f(0x1ec)]('(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'+_0x381701['replace'](/arguments/g,_0x3b8c6d['PDzJh'])+_0x5d837f(0x1bb)+JSON['stringify'](_0x155126)+')');},exports[a34_0x4234ee(0x1f6)]=async(_0x4ff08c,_0x1de1e0,_0x3ed7f9={})=>{const _0x55dbde=a34_0x4234ee,_0x206f2d={};_0x206f2d[_0x55dbde(0x1c2)]=function(_0x3ae1dc,_0xd9854d){return _0x3ae1dc===_0xd9854d;},_0x206f2d[_0x55dbde(0x1cd)]=_0x55dbde(0x201),_0x206f2d[_0x55dbde(0x20d)]=function(_0x5c9ece,_0x8e7303){return _0x5c9ece===_0x8e7303;},_0x206f2d[_0x55dbde(0x21f)]=_0x55dbde(0x1fe),_0x206f2d[_0x55dbde(0x1fc)]=_0x55dbde(0x1d2);const _0x1a3536=_0x206f2d;if(_0x1a3536['LEwHy'](_0x4ff08c[_0x55dbde(0x21e)]['name'],_0x1a3536[_0x55dbde(0x1cd)]))return await _0x4ff08c['executeAsyncScript'](_0x1de1e0,_0x3ed7f9);else{if(_0x1a3536[_0x55dbde(0x20d)](_0x4ff08c[_0x55dbde(0x21e)][_0x55dbde(0x1e1)],_0x1a3536[_0x55dbde(0x21f)]))return await _0x4ff08c[_0x55dbde(0x1c6)](_0x55dbde(0x1d3)+_0x1de1e0[_0x55dbde(0x1b4)](/arguments/g,_0x1a3536[_0x55dbde(0x1fc)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON['stringify'](_0x3ed7f9)+')');}},exports[a34_0x4234ee(0x1ee)]=async _0x5829ae=>{const _0x3a5898=a34_0x4234ee,_0x106208={};_0x106208[_0x3a5898(0x1d4)]=_0x3a5898(0x214),_0x106208[_0x3a5898(0x1c9)]=_0x3a5898(0x1f8),_0x106208[_0x3a5898(0x1d9)]=_0x3a5898(0x1e4),_0x106208[_0x3a5898(0x1be)]=_0x3a5898(0x1e7),_0x106208[_0x3a5898(0x1bf)]='accessibilityOptions.authToken',_0x106208['vngzy']=_0x3a5898(0x1d5);const _0x4d0d88=_0x106208;_0x5829ae[_0x3a5898(0x1e9)]&&(_0x5829ae['accessibilityOptions'][_0x3a5898(0x1e0)]&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1d4)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1e0)]),_0x5829ae[_0x3a5898(0x1e9)][_0x3a5898(0x1f4)]&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1c9)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1f4)]),_0x5829ae[_0x3a5898(0x1e9)]['includeIssueType']&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1d9)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1b8)][_0x3a5898(0x1c3)],_0x5829ae[_0x4d0d88[_0x3a5898(0x1be)]]=_0x5829ae[_0x3a5898(0x1e9)][_0x3a5898(0x1b8)][_0x3a5898(0x1cc)]));const _0x37c406=JSON[_0x3a5898(0x1e2)](process[_0x3a5898(0x1eb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x3a5898(0x1c5)];_0x5829ae[_0x4d0d88[_0x3a5898(0x1bf)]]=process[_0x3a5898(0x1eb)][_0x3a5898(0x1de)],_0x5829ae[_0x4d0d88[_0x3a5898(0x218)]]=_0x37c406,delete _0x5829ae[_0x3a5898(0x1e9)];},exports[a34_0x4234ee(0x1ba)]=async _0x41ac64=>{const _0x3fb999=a34_0x4234ee,_0x154d01={};_0x154d01[_0x3fb999(0x20e)]=_0x3fb999(0x21b),_0x154d01[_0x3fb999(0x1ef)]=_0x3fb999(0x20c);const _0x116365=_0x154d01;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x41ac64,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x41ac64,scripts.getResults);return res;}catch{return logger['error'](_0x116365[_0x3fb999(0x20e)]),[];}else return logger[_0x3fb999(0x20b)](_0x116365['uMnkX']),[];},exports['performScan']=async(_0x1d2f0d,_0x3c5d73='')=>{const _0x476c84=a34_0x4234ee;if(global[_0x476c84(0x1fd)]){const _0x1868d1={};return _0x1868d1[_0x476c84(0x1c1)]=_0x3c5d73,await exports[_0x476c84(0x1ca)](_0x1d2f0d,scripts['performScan'],_0x1868d1);}},exports[a34_0x4234ee(0x1e8)]=async _0x51cc8d=>{const _0x3790e6=a34_0x4234ee,_0x5b8246={};_0x5b8246[_0x3790e6(0x1bc)]=_0x3790e6(0x1c4),_0x5b8246[_0x3790e6(0x20a)]=_0x3790e6(0x21c);const _0x567567=_0x5b8246;if(global[_0x3790e6(0x1fd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x51cc8d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x51cc8d,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x567567[_0x3790e6(0x1bc)]),{};}else return logger[_0x3790e6(0x20b)](_0x567567['qUzzD']),{};},exports[a34_0x4234ee(0x1ff)]=async _0x9e8ce3=>{const _0x116b75=a34_0x4234ee,_0xaa86a9={'recff':function(_0x368fcf,_0x1a71ba){return _0x368fcf!==_0x1a71ba;},'kKwtL':_0x116b75(0x1f5),'TzuKL':function(_0x3701b6,_0x36c312){return _0x3701b6===_0x36c312;},'cUGvk':_0x116b75(0x208),'MuoRP':function(_0x32f259,_0x5603a0){return _0x32f259===_0x5603a0;},'btyYh':_0x116b75(0x1d7),'Vcrci':_0x116b75(0x20f),'kguXs':function(_0x13b97d,_0x5ef9e6){return _0x13b97d(_0x5ef9e6);},'QavaZ':_0x116b75(0x21a),'uEQAt':function(_0x4b85ac,_0x25c840){return _0x4b85ac>_0x25c840;},'XPJYU':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0xaa86a9[_0x116b75(0x21d)](_0x9e8ce3['deviceName'],''))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1cb)]),![];const _0x35d563=_0x9e8ce3['browser'];if(!(_0xaa86a9[_0x116b75(0x1f1)](_0x35d563,_0xaa86a9[_0x116b75(0x219)])||_0xaa86a9[_0x116b75(0x1e5)](_0x35d563,_0xaa86a9[_0x116b75(0x1da)])))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1e6)]),![];const _0x395691=_0xaa86a9[_0x116b75(0x1b5)](parseInt,_0x9e8ce3['browser_version']);if(!(_0xaa86a9['TzuKL'](_0x395691,_0xaa86a9['QavaZ'])||_0xaa86a9['uEQAt'](_0x395691,0x5e)))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1df)]),![];}catch(_0x41f70b){logger[_0x116b75(0x1ea)](_0x116b75(0x1db)+util[_0x116b75(0x204)](_0x41f70b));}return!![];},exports[a34_0x4234ee(0x1bd)]=(_0x93618e,_0x40ada2,_0x55c30f)=>{const _0x37779e=a34_0x4234ee,_0xebd9dc={'vugBy':function(_0x30ab1c){return _0x30ab1c();},'SrnPp':_0x37779e(0x215),'uBRon':function(_0x3d7157,_0x196d2c){return _0x3d7157===_0x196d2c;},'jMcqo':_0x37779e(0x208),'ZaKUI':function(_0x4e7a23,_0x196c7e){return _0x4e7a23===_0x196c7e;},'xXfCR':_0x37779e(0x1d7),'VTPKK':_0x37779e(0x20f),'aQADq':'latest','xaoae':function(_0x2d9267,_0x17047e){return _0x2d9267>_0x17047e;},'kiqpR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','IDtUr':function(_0x3960d0,_0x54a18a){return _0x3960d0(_0x54a18a);},'wBqQj':_0x37779e(0x1f5),'DObQF':function(_0x33d07a,_0x388557){return _0x33d07a+_0x388557;}};try{if(_0xebd9dc[_0x37779e(0x200)](isAccessibilityAutomationSession)){global[_0x37779e(0x1fd)]=!![];!_0x93618e[_0xebd9dc[_0x37779e(0x1f3)]]&&(global[_0x37779e(0x1fd)]=![]);!(_0xebd9dc[_0x37779e(0x211)](_0x93618e[_0x37779e(0x203)],_0xebd9dc[_0x37779e(0x217)])||_0xebd9dc[_0x37779e(0x1ce)](_0x93618e[_0x37779e(0x203)],_0xebd9dc[_0x37779e(0x1d1)]))&&(logger[_0x37779e(0x20b)](_0xebd9dc[_0x37779e(0x1f9)]),global[_0x37779e(0x1fd)]=![]);!(_0xebd9dc['uBRon'](_0x93618e['browser_version'],_0xebd9dc['aQADq'])||_0xebd9dc[_0x37779e(0x1b7)](_0x93618e[_0x37779e(0x1c0)],0x5e))&&(logger['warn'](_0xebd9dc[_0x37779e(0x1fa)]),global[_0x37779e(0x1fd)]=![]);!_0xebd9dc['IDtUr'](isUndefined,_0x93618e[_0x37779e(0x202)])&&(logger[_0x37779e(0x20b)](_0xebd9dc[_0x37779e(0x1fb)]),global[_0x37779e(0x1fd)]=![]);if(!global['accessibilityPlatform']){_0x93618e[_0xebd9dc['SrnPp']]=![];const _0x3dda4a=_0xebd9dc[_0x37779e(0x1d8)](_0x40ada2,_0xebd9dc[_0x37779e(0x1b3)](encodeURIComponent,JSON[_0x37779e(0x1dc)](_0x93618e)));_0x55c30f&&(_0x55c30f[_0x37779e(0x206)]['testInfo']['project'][_0x37779e(0x1c8)][_0x37779e(0x210)]['wsEndpoint']=_0x3dda4a,_0x55c30f[_0x37779e(0x207)]['project'][_0x37779e(0x1c8)]['connectOptions'][_0x37779e(0x1cf)]=_0x3dda4a);}}}catch(_0x1dccaf){logger[_0x37779e(0x1ea)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x37779e(0x204)](_0x1dccaf));}};
1
+ const a34_0x5438cf=a34_0x18b3;function a34_0x18b3(_0x4e752f,_0x181c66){const _0x499ee3=a34_0x499e();return a34_0x18b3=function(_0x18b3d6,_0x4ef650){_0x18b3d6=_0x18b3d6-0x152;let _0x41f6f1=_0x499ee3[_0x18b3d6];return _0x41f6f1;},a34_0x18b3(_0x4e752f,_0x181c66);}function a34_0x499e(){const _0x4694f3=['project','browserName','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','1qNQWZf','vhZBF','QKGwl','1375038mZFbBZ','5427WXpapR','browserstack.accessibility','eSWTP','No\x20accessibility\x20results\x20were\x20found.','scannerVersion','No\x20summaryResults\x20found.','warn','bestPractice','WebDriver','browser_version','name','VLybW','JoEET','use','8063584TADDGy','platformValidation','UNjSu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RorAo','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','parse','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.bestPractice','wcagVersion','soQNj','util','browser','60zPSDZM','1986932iyRQjK','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bNrWK','GdQKt','YAzyl','debug','Playwright','getAccessibilityResultsSummary','performScan','workerInfo','cGFdn','browserStackEvaluate','playwright-chromium','HQfmC','aEatB','getAccessibilityResults','ozOts','accessibilityPlatform','stringify','winstonLogger','ziCEq','IcVFS','UoZmN','nbDpr','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2532DeuEfv','bBsVj','lnlxA','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','eOFQY','VgsYZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BS_A11Y_JWT','latest','browserStackExecuteDriver','lSdaB','needsReview','currentTest','12luSMWQ','FKOyn','xhJRL','yAwoP','executeAsyncScript','129019iqVPlj','constructor','XBPDX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','evaluate','41688kOnSpp','replace','bstackSdkArgs','HfXTg','env','1053475zajqpu','EhKvr','LVvEA','accessibilityOptions.includeIssueType.needsReview','method','bWRsK','testInfo','deviceName','format','chrome','executeScript','xNadi','114DdAbIu','connectOptions','wsEndpoint','error','includeIssueType','accessibilityOptions'];a34_0x499e=function(){return _0x4694f3;};return a34_0x499e();}(function(_0x26c5a9,_0x1641b2){const _0x176768=a34_0x18b3,_0xaec1dd=_0x26c5a9();while(!![]){try{const _0x44a3b8=-parseInt(_0x176768(0x171))/0x1*(parseInt(_0x176768(0x192))/0x2)+parseInt(_0x176768(0x168))/0x3*(-parseInt(_0x176768(0x157))/0x4)+parseInt(_0x176768(0x15c))/0x5*(parseInt(_0x176768(0x1b8))/0x6)+parseInt(_0x176768(0x174))/0x7+-parseInt(_0x176768(0x183))/0x8+parseInt(_0x176768(0x175))/0x9*(-parseInt(_0x176768(0x191))/0xa)+-parseInt(_0x176768(0x152))/0xb*(-parseInt(_0x176768(0x1ab))/0xc);if(_0x44a3b8===_0x1641b2)break;else _0xaec1dd['push'](_0xaec1dd['shift']());}catch(_0x2b253c){_0xaec1dd['push'](_0xaec1dd['shift']());}}}(a34_0x499e,0xa8d77));const util=require(a34_0x5438cf(0x18f)),logger=require('../../helpers/logger')[a34_0x5438cf(0x1a5)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x5438cf(0x19d)]=async(_0x1b8128,_0xec02cf,_0x4a0296={})=>{const _0x1f3274=a34_0x5438cf,_0x18f490={};_0x18f490[_0x1f3274(0x167)]='bstackSdkArgs';const _0xcbabe0=_0x18f490;return await _0x1b8128[_0x1f3274(0x156)]('(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'+_0xec02cf['replace'](/arguments/g,_0xcbabe0[_0x1f3274(0x167)])+_0x1f3274(0x1ae)+JSON['stringify'](_0x4a0296)+')');},exports[a34_0x5438cf(0x1b4)]=async(_0x25e2fc,_0x2c5885,_0x536d91={})=>{const _0xb035a6=a34_0x5438cf,_0x64fe8e={};_0x64fe8e['xhJRL']=function(_0x2f65bb,_0xdf20d9){return _0x2f65bb===_0xdf20d9;},_0x64fe8e['UNjSu']=_0xb035a6(0x17d),_0x64fe8e['JoEET']=function(_0x11cad8,_0x119572){return _0x11cad8===_0x119572;},_0x64fe8e['ULNwk']=_0xb035a6(0x198),_0x64fe8e['RorAo']=_0xb035a6(0x159);const _0x4dc29e=_0x64fe8e;if(_0x4dc29e[_0xb035a6(0x1ba)](_0x25e2fc[_0xb035a6(0x153)][_0xb035a6(0x17f)],_0x4dc29e[_0xb035a6(0x185)]))return await _0x25e2fc[_0xb035a6(0x1bc)](_0x2c5885,_0x536d91);else{if(_0x4dc29e[_0xb035a6(0x181)](_0x25e2fc[_0xb035a6(0x153)]['name'],_0x4dc29e['ULNwk']))return await _0x25e2fc[_0xb035a6(0x166)]('(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'+_0x2c5885[_0xb035a6(0x158)](/arguments/g,_0x4dc29e[_0xb035a6(0x187)])+_0xb035a6(0x188)+JSON['stringify'](_0x536d91)+')');}},exports['setAccessibilityCapabilities']=async _0x2e1f4c=>{const _0x4f2ab1=a34_0x5438cf,_0x4f8525={};_0x4f8525[_0x4f2ab1(0x19f)]='accessibilityOptions.wcagVersion',_0x4f8525['SEzNY']='accessibilityOptions.scannerProcessingTimeout',_0x4f8525[_0x4f2ab1(0x1af)]=_0x4f2ab1(0x18c),_0x4f8525[_0x4f2ab1(0x194)]=_0x4f2ab1(0x15f),_0x4f8525[_0x4f2ab1(0x19c)]=_0x4f2ab1(0x189),_0x4f8525['FKOyn']='accessibilityOptions.scannerVersion';const _0x1f8cef=_0x4f8525;_0x2e1f4c['accessibilityOptions']&&(_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x18d)]&&(_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x19f)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x18d)]),_0x2e1f4c[_0x4f2ab1(0x16d)]['scannerProcessingTimeout']&&(_0x2e1f4c[_0x1f8cef['SEzNY']]=_0x2e1f4c[_0x4f2ab1(0x16d)]['scannerProcessingTimeout']),_0x2e1f4c['accessibilityOptions']['includeIssueType']&&(_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x1af)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x16c)][_0x4f2ab1(0x17c)],_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x194)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x16c)][_0x4f2ab1(0x1b6)]));const _0x2d6c6b=JSON[_0x4f2ab1(0x18a)](process['env'][_0x4f2ab1(0x1aa)])[_0x4f2ab1(0x179)];_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x19c)]]=process[_0x4f2ab1(0x15b)][_0x4f2ab1(0x1b2)],_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x1b9)]]=_0x2d6c6b,delete _0x2e1f4c[_0x4f2ab1(0x16d)];},exports[a34_0x5438cf(0x1a1)]=async _0x531589=>{const _0x488c8f=a34_0x5438cf,_0x369b21={};_0x369b21[_0x488c8f(0x1a6)]=_0x488c8f(0x178),_0x369b21['VgsYZ']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0xcd0c57=_0x369b21;if(global[_0x488c8f(0x1a3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x531589,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x531589,scripts.getResults);return res;}catch{return logger[_0x488c8f(0x16b)](_0xcd0c57['ziCEq']),[];}else return logger[_0x488c8f(0x17b)](_0xcd0c57[_0x488c8f(0x1b0)]),[];},exports['performScan']=async(_0x14996a,_0x1d7c4f='')=>{const _0x4e9978=a34_0x5438cf;if(global['accessibilityPlatform']){const _0x5b776d={};return _0x5b776d[_0x4e9978(0x160)]=_0x1d7c4f,await exports['browserStackEvaluate'](_0x14996a,scripts[_0x4e9978(0x19a)],_0x5b776d);}},exports[a34_0x5438cf(0x199)]=async _0x51c7fc=>{const _0x101da5=a34_0x5438cf,_0x50c905={};_0x50c905[_0x101da5(0x1b5)]=_0x101da5(0x17a),_0x50c905[_0x101da5(0x1a9)]=_0x101da5(0x18b);const _0x4a3cda=_0x50c905;if(global[_0x101da5(0x1a3)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x51c7fc,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x51c7fc,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x101da5(0x197)](_0x4a3cda[_0x101da5(0x1b5)]),{};}else return logger[_0x101da5(0x17b)](_0x4a3cda['nbDpr']),{};},exports[a34_0x5438cf(0x184)]=async _0x8dee55=>{const _0x58660b=a34_0x5438cf,_0x208b8b={'UoZmN':function(_0x51a1e6,_0xbc7298){return _0x51a1e6!==_0xbc7298;},'LVvEA':_0x58660b(0x155),'GdQKt':function(_0x4a61f9,_0x5e9523){return _0x4a61f9===_0x5e9523;},'IcVFS':_0x58660b(0x165),'ozOts':function(_0x443918,_0x1709ea){return _0x443918===_0x1709ea;},'QKGwl':_0x58660b(0x19e),'eSWTP':_0x58660b(0x186),'yyign':function(_0x1934ed,_0x520f3a){return _0x1934ed(_0x520f3a);},'egIjO':function(_0x20c997,_0x366bbc){return _0x20c997===_0x366bbc;},'TGgZd':_0x58660b(0x1b3),'DbJJg':function(_0xa1a29c,_0x3a3935){return _0xa1a29c>_0x3a3935;},'yAwoP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x208b8b[_0x58660b(0x1a8)](_0x8dee55[_0x58660b(0x163)],''))return logger[_0x58660b(0x17b)](_0x208b8b[_0x58660b(0x15e)]),![];const _0x26b964=_0x8dee55[_0x58660b(0x190)];if(!(_0x208b8b[_0x58660b(0x195)](_0x26b964,_0x208b8b[_0x58660b(0x1a7)])||_0x208b8b[_0x58660b(0x1a2)](_0x26b964,_0x208b8b[_0x58660b(0x173)])))return logger['warn'](_0x208b8b[_0x58660b(0x177)]),![];const _0x4277e3=_0x208b8b['yyign'](parseInt,_0x8dee55[_0x58660b(0x17e)]);if(!(_0x208b8b['egIjO'](_0x4277e3,_0x208b8b['TGgZd'])||_0x208b8b['DbJJg'](_0x4277e3,0x5e)))return logger[_0x58660b(0x17b)](_0x208b8b[_0x58660b(0x1bb)]),![];}catch(_0x85557e){logger[_0x58660b(0x197)](_0x58660b(0x170)+util['format'](_0x85557e));}return!![];},exports['processAccessibilityCaps']=(_0x20cf83,_0x1af8d0,_0x70cfab)=>{const _0x30f5cb=a34_0x5438cf,_0x203f35={'soQNj':function(_0x2e2863){return _0x2e2863();},'bWRsK':_0x30f5cb(0x176),'XBPDX':function(_0x3b6e08,_0x2c9526){return _0x3b6e08===_0x2c9526;},'EhKvr':_0x30f5cb(0x165),'YAzyl':function(_0x6a5fa,_0x346765){return _0x6a5fa===_0x346765;},'vhZBF':_0x30f5cb(0x19e),'URBgj':_0x30f5cb(0x186),'aEatB':'latest','HfXTg':function(_0x2d1988,_0x2f2232){return _0x2d1988>_0x2f2232;},'VLybW':_0x30f5cb(0x1b1),'srgMI':function(_0x5216f1,_0x587b5f){return _0x5216f1(_0x587b5f);},'bBsVj':_0x30f5cb(0x155),'lnlxA':function(_0x3faa8f,_0x29dff1){return _0x3faa8f+_0x29dff1;},'oYNIH':function(_0x2bc602,_0x385074){return _0x2bc602(_0x385074);}};try{if(_0x203f35[_0x30f5cb(0x18e)](isAccessibilityAutomationSession)){global[_0x30f5cb(0x1a3)]=!![];!_0x20cf83[_0x203f35[_0x30f5cb(0x161)]]&&(global[_0x30f5cb(0x1a3)]=![]);!(_0x203f35[_0x30f5cb(0x154)](_0x20cf83[_0x30f5cb(0x16f)],_0x203f35[_0x30f5cb(0x15d)])||_0x203f35[_0x30f5cb(0x196)](_0x20cf83[_0x30f5cb(0x16f)],_0x203f35[_0x30f5cb(0x172)]))&&(logger[_0x30f5cb(0x17b)](_0x203f35['URBgj']),global[_0x30f5cb(0x1a3)]=![]);!(_0x203f35[_0x30f5cb(0x154)](_0x20cf83[_0x30f5cb(0x17e)],_0x203f35[_0x30f5cb(0x1a0)])||_0x203f35[_0x30f5cb(0x15a)](_0x20cf83['browser_version'],0x5e))&&(logger[_0x30f5cb(0x17b)](_0x203f35[_0x30f5cb(0x180)]),global[_0x30f5cb(0x1a3)]=![]);!_0x203f35['srgMI'](isUndefined,_0x20cf83[_0x30f5cb(0x163)])&&(logger[_0x30f5cb(0x17b)](_0x203f35[_0x30f5cb(0x1ac)]),global[_0x30f5cb(0x1a3)]=![]);if(!global[_0x30f5cb(0x1a3)]){_0x20cf83[_0x203f35[_0x30f5cb(0x161)]]=![];const _0x2fcb5b=_0x203f35[_0x30f5cb(0x1ad)](_0x1af8d0,_0x203f35['oYNIH'](encodeURIComponent,JSON[_0x30f5cb(0x1a4)](_0x20cf83)));_0x70cfab&&(_0x70cfab[_0x30f5cb(0x1b7)][_0x30f5cb(0x162)][_0x30f5cb(0x16e)][_0x30f5cb(0x182)][_0x30f5cb(0x169)][_0x30f5cb(0x16a)]=_0x2fcb5b,_0x70cfab[_0x30f5cb(0x19b)][_0x30f5cb(0x16e)]['use'][_0x30f5cb(0x169)][_0x30f5cb(0x16a)]=_0x2fcb5b);}}}catch(_0x584b63){logger[_0x30f5cb(0x197)](_0x30f5cb(0x193)+util[_0x30f5cb(0x164)](_0x584b63));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x39cc0e=a35_0x1941;(function(_0x4d9a47,_0x2d307e){const _0x5c8fdc=a35_0x1941,_0xf9a4ce=_0x4d9a47();while(!![]){try{const _0x5ad41c=parseInt(_0x5c8fdc(0x168))/0x1*(parseInt(_0x5c8fdc(0x1d9))/0x2)+parseInt(_0x5c8fdc(0x1e2))/0x3*(parseInt(_0x5c8fdc(0x177))/0x4)+-parseInt(_0x5c8fdc(0x1d7))/0x5*(parseInt(_0x5c8fdc(0x17b))/0x6)+parseInt(_0x5c8fdc(0x1c9))/0x7+parseInt(_0x5c8fdc(0x172))/0x8*(-parseInt(_0x5c8fdc(0x1b8))/0x9)+-parseInt(_0x5c8fdc(0x1eb))/0xa*(parseInt(_0x5c8fdc(0x1d0))/0xb)+parseInt(_0x5c8fdc(0x192))/0xc;if(_0x5ad41c===_0x2d307e)break;else _0xf9a4ce['push'](_0xf9a4ce['shift']());}catch(_0x2248f3){_0xf9a4ce['push'](_0xf9a4ce['shift']());}}}(a35_0x3640,0x6e8fe));function a35_0x3640(){const _0x104bd4=['BROWSERSTACK_RERUN','--config','get','ylFaH','skipSessionName','WEZTQ','ujVJq','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','BrowserStack\x20config\x20file\x20not\x20found.','clearTempPWConfig','11OBntyW','playwright-browserstack-sdk.config.js','writeFileSync','uhdXw','readFileSync','slice','MODULE','push','KuQxU','YlcsR','2008pZVgPW','isFalse','win32','../../helpers/test-observability/utils','resolvedConfigFile','1546684pjnksn','iVrXg','Wzpra','testContextOptions','350820sdJMhE','3|5|8|4|7|6|2|0|1','testObservability','homedir','USER_CONFIG_DETAILS_PATH','Error\x20in\x20getting\x20funnel\x20data\x20results','CAXAN','concat','zwHyL','dirname','sDtWs','fUmnB','RVLGV','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','filterBrowserstackConfig','parse','join','goGMo','ylYpS','MOnnM','finalExecution','lrAXi','unlinkSync','11981784ZQwEFB','dfKgg','LhTtU','jRIjC','info','Deleting\x20','trim','nestedKeyValue','config','skipSessionStatus','npx','stringify','platform','eZSQL','Eviix','errorMessage','inherit','markSDKSetupComplete','ainho','playwright-browserstack-sdk.config.cjs','playwright','getPackageType','requirePWModule','length','tHLwB','Playwright\x20process\x20exited\x20with\x20code\x20','splice','njOgY','exitCode','../../helpers/testhub/testhubHandler','serializeToYamlString','isTypescriptProject','Error\x20in\x20closing\x20playwright','includes','../../helpers/test-observability/error-handler','cliConfig','../../helpers/logger','HzSIB','31059hpuvmK','cwd','indexOf','true','logLevel','close','null','automation','KtOmS','Updated\x20config\x20file\x20name\x20to\x20-\x20','env','map','path','lVxaB','BROWSERSTACK_AUTOMATION','has','pw_result.json','5839701qtYxmd','./accessibility-helper','launchBuild','BROWSERSTACK_PW_CONFIG_DIR','getProxyUrl','VUzDi','BROWSERSTACK_TEST_ACCESSIBILITY_YML','275chnZTK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','findIndex','--disable-browserstack-automation','error','yAqNI','65RzGfGz','accessibility','114364AQZzTL','../../helpers/helper','.browserstack','../../helpers/BrowserStackSetup','--disable-test-observability','filter','../../helpers/test-observability/constants','XnxIq','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','3OFnQSg','PACKAGE_TYPE','czLYS','./reporter/pwUtils','DaUcz','isUndefined','browserstackSetupConfig.json','util','TpjJp','307690DJBVNs','GODML','jFeJe','resolve','test','iZbgT','YgUzS','accessibilityOptions','\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();','Ptvhe','../utils/constants','mLPIy','zJlHG','isTrue','debug','Error\x20in\x20deleting\x20playwright\x20results','PLAYWRIGHT','cTeaN','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','split','tDBtJ','assign'];a35_0x3640=function(){return _0x104bd4;};return a35_0x3640();}const fs=require('fs'),path=require(a35_0x39cc0e(0x1c4)),{spawn}=require('child_process'),{format}=require(a35_0x39cc0e(0x1e9)),logger=require(a35_0x39cc0e(0x1b6))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x39cc0e(0x1dc)),helper=require(a35_0x39cc0e(0x1da)),utilities=require('../../helpers/utilities'),constants=require(a35_0x39cc0e(0x1f5)),{FRAMEWORKS}=require(a35_0x39cc0e(0x1df)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x39cc0e(0x1e5)),{CrashReporter}=require(a35_0x39cc0e(0x1b4)),{getFrameworkVersion}=require(a35_0x39cc0e(0x175)),{checkAccessibilityPlatformConfig}=require(a35_0x39cc0e(0x165)),{setAccessibilityCapabilities}=require(a35_0x39cc0e(0x1ca)),TestHubHandler=require(a35_0x39cc0e(0x1af)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x3182e9,_0x10fb56)=>{const _0x50be31=a35_0x39cc0e,_0x4c0493={'yAqNI':function(_0x4e2a2d){return _0x4e2a2d();},'tDBtJ':function(_0x34aaf9,_0x38fb18){return _0x34aaf9(_0x38fb18);},'zJlHG':_0x50be31(0x176),'iVrXg':'--config='},_0x2a5ae9=!helper[_0x50be31(0x1e7)](_0x3182e9['config']),_0x51cd55=_0x2a5ae9?path['resolve'](process[_0x50be31(0x1b9)](),_0x3182e9[_0x50be31(0x19a)]):process[_0x50be31(0x1b9)](),{resolveConfigFile:_0x5dfe4e,resolveConfigLocation:_0x47d763}=helper[_0x50be31(0x1a8)]['apply'](null,_0x4c0493[_0x50be31(0x1d6)](getConfigLoaderPath)),_0xef096d=_0x5dfe4e?_0x4c0493[_0x50be31(0x15b)](_0x5dfe4e,_0x51cd55):helper[_0x50be31(0x199)](_0x4c0493[_0x50be31(0x15b)](_0x47d763,_0x51cd55),[_0x4c0493[_0x50be31(0x1f7)]]),_0x11c681={};if(_0x2a5ae9){const _0x16c78e=_0x10fb56[_0x50be31(0x1d3)](_0x5d652f=>_0x5d652f===_0x50be31(0x15e)||_0x5d652f==='-c'||_0x5d652f['startsWith']('--config='));_0x10fb56[_0x50be31(0x1ac)](_0x16c78e,_0x10fb56[_0x16c78e]['startsWith'](_0x4c0493[_0x50be31(0x178)])?0x1:0x2);}const _0x259c2b={};return _0x259c2b[_0x50be31(0x1c4)]=_0xef096d,_0x259c2b[_0x50be31(0x19a)]=_0x11c681,_0x259c2b;},handleO11yRerun=_0xda3f41=>{const _0x209822=a35_0x39cc0e,_0x308b50={};_0x308b50[_0x209822(0x195)]=function(_0xa4465d,_0x2ea37d){return _0xa4465d!==_0x2ea37d;},_0x308b50[_0x209822(0x194)]=_0x209822(0x1be),_0x308b50['cTeaN']='--grep';const _0x28a3c6=_0x308b50,_0x48ce25=helper[_0x209822(0x1f8)](process[_0x209822(0x1c2)][_0x209822(0x15d)]);if(_0x48ce25){const _0x4b76a1=process[_0x209822(0x1c2)]['BROWSERSTACK_RERUN_TESTS'],_0x5d6a42=[];if(_0x28a3c6['jRIjC'](_0x4b76a1,_0x28a3c6['LhTtU'])&&!helper[_0x209822(0x1e7)](_0x4b76a1)){_0x4b76a1['split'](',')[_0x209822(0x1c3)](_0x4ed994=>{const _0x2811d3=_0x209822;_0x5d6a42[_0x2811d3(0x16f)]('('+_0x4ed994[_0x2811d3(0x198)]()+')');});const _0x45bb39='^'+_0x5d6a42[_0x209822(0x18b)]('|')+'$';_0xda3f41[_0x209822(0x16f)](_0x28a3c6[_0x209822(0x1fc)],_0x45bb39);}}},spawnOriginalProcess=_0x3b434c=>{const _0x3dd3ef=a35_0x39cc0e,_0x1c43ca={'CAXAN':function(_0x3f569a,_0x4c7f07,_0x11c627,_0x7c581f){return _0x3f569a(_0x4c7f07,_0x11c627,_0x7c581f);},'TpjJp':_0x3dd3ef(0x19c),'qIear':_0x3dd3ef(0x1a6),'goGMo':function(_0x17f5b7,_0x471e75){return _0x17f5b7===_0x471e75;},'pCclP':_0x3dd3ef(0x174),'eZSQL':_0x3dd3ef(0x1a2)};_0x1c43ca[_0x3dd3ef(0x181)](spawn,_0x1c43ca[_0x3dd3ef(0x1ea)],[_0x1c43ca['qIear'],..._0x3b434c[_0x3dd3ef(0x16d)](0x1)],{'shell':_0x1c43ca[_0x3dd3ef(0x18c)](process[_0x3dd3ef(0x19e)],_0x1c43ca['pCclP']),'stdio':_0x1c43ca[_0x3dd3ef(0x19f)],'cwd':process['cwd']()});},isTestCommand=(_0x400141,_0x9a110a)=>{const _0x23268e=a35_0x39cc0e,_0x2df048={};_0x2df048[_0x23268e(0x1f0)]=function(_0x3227e5,_0x2ce4ff){return _0x3227e5>_0x2ce4ff;},_0x2df048[_0x23268e(0x18d)]=function(_0x2ff9a0,_0x50592d){return _0x2ff9a0===_0x50592d;},_0x2df048[_0x23268e(0x1a0)]='test';const _0x2d4c86=_0x2df048;if(_0x2d4c86['iZbgT'](_0x9a110a[_0x23268e(0x1a9)],0x1)&&_0x2d4c86[_0x23268e(0x18d)](_0x9a110a[0x1],_0x2d4c86[_0x23268e(0x1a0)]))return!![];return![];};async function run(_0x1ed2c4,_0x385b42){const _0x58bd2f=a35_0x39cc0e,_0x5be10b={'RVLGV':_0x58bd2f(0x1db),'czLYS':_0x58bd2f(0x1c8),'ainho':function(_0x4e919d,_0x18afaa){return _0x4e919d+_0x18afaa;},'dWOtp':_0x58bd2f(0x180),'Yyuxb':_0x58bd2f(0x17c),'zwHyL':function(_0x56be0f){return _0x56be0f();},'fUmnB':_0x58bd2f(0x1b2),'Ptvhe':_0x58bd2f(0x1d4),'jFeJe':'false','MOnnM':_0x58bd2f(0x1dd),'YlcsR':function(_0x332c06,_0x30b6a4){return _0x332c06>=_0x30b6a4;},'YgUzS':_0x58bd2f(0x1fa),'KtOmS':function(_0x36b1f8,_0x1116cb,_0x42b6a8){return _0x36b1f8(_0x1116cb,_0x42b6a8);},'ujVJq':function(_0x1763da,_0x236a3c){return _0x1763da(_0x236a3c);},'WEZTQ':_0x58bd2f(0x166),'DaUcz':_0x58bd2f(0x1bf),'ZYUZx':function(_0x4f82a9,_0x40672e){return _0x4f82a9!=_0x40672e;},'KuQxU':function(_0xa70a3d,_0x8f2fdb,_0x52b5f7){return _0xa70a3d(_0x8f2fdb,_0x52b5f7);},'dfKgg':function(_0x109a38,_0x7a7ff1){return _0x109a38===_0x7a7ff1;},'ylFaH':_0x58bd2f(0x1bb),'rWJhP':_0x58bd2f(0x1e8),'pHiMw':_0x58bd2f(0x1a5),'tHLwB':_0x58bd2f(0x169),'njOgY':function(_0x4a81af,_0x4be415){return _0x4a81af-_0x4be415;},'lVxaB':function(_0x17b1f7,_0x2fff4e){return _0x17b1f7+_0x2fff4e;},'sDtWs':_0x58bd2f(0x1c1),'lrAXi':function(_0x57a67b,_0x3c7e6e){return _0x57a67b>_0x3c7e6e;},'MRUja':function(_0x2a6881,_0x20025e,_0x2f650a,_0x4f349b){return _0x2a6881(_0x20025e,_0x2f650a,_0x4f349b);},'GODML':_0x58bd2f(0x19c),'VUzDi':_0x58bd2f(0x1a6),'mLPIy':_0x58bd2f(0x1ef),'XnxIq':_0x58bd2f(0x15e),'Wzpra':'win32','HzSIB':_0x58bd2f(0x1a2),'uhdXw':_0x58bd2f(0x1bd)};!helper[_0x58bd2f(0x173)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1c6)])&&(process[_0x58bd2f(0x1c2)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x58bd2f(0x1b3)](_0x5be10b[_0x58bd2f(0x1f4)])&&(process['env'][_0x58bd2f(0x1c6)]=_0x5be10b[_0x58bd2f(0x1ed)],_0x385b42=_0x385b42['filter'](_0x39e876=>_0x39e876!==_0x58bd2f(0x1d4)));const _0x350934=_0x385b42[_0x58bd2f(0x1ba)](_0x5be10b[_0x58bd2f(0x18e)]);_0x5be10b[_0x58bd2f(0x171)](_0x350934,0x0)&&(process['env'][_0x58bd2f(0x164)]=_0x5be10b[_0x58bd2f(0x1ed)],_0x385b42=_0x385b42[_0x58bd2f(0x1de)](_0x5c07a8=>_0x5c07a8!==_0x58bd2f(0x1dd)));try{const _0x3101ff=path[_0x58bd2f(0x18b)](helper['homedir'](),_0x5be10b[_0x58bd2f(0x187)],_0x5be10b[_0x58bd2f(0x1e4)]);fs[_0x58bd2f(0x1d2)](_0x3101ff)&&fs['unlinkSync'](_0x3101ff);}catch(_0x189731){logger[_0x58bd2f(0x1f9)](_0x5be10b['ainho'](_0x5be10b[_0x58bd2f(0x1f1)],_0x189731));}if(!_0x5be10b[_0x58bd2f(0x1c0)](isTestCommand,_0x1ed2c4,_0x385b42)){_0x5be10b[_0x58bd2f(0x163)](spawnOriginalProcess,_0x385b42);return;}const _0x1014d3=new BrowserStackSetup(_0x1ed2c4,FRAMEWORKS['PLAYWRIGHT']);if(!_0x1014d3[_0x58bd2f(0x19a)]){logger[_0x58bd2f(0x1d5)](_0x5be10b[_0x58bd2f(0x162)]);return;}await _0x1014d3['initialize']();!helper['isUndefined'](_0x1014d3[_0x58bd2f(0x1b5)])&&_0x1014d3['cliConfig'][_0x58bd2f(0x1c7)](_0x5be10b[_0x58bd2f(0x1e6)])&&(process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1c6)]=_0x1014d3['cliConfig'][_0x58bd2f(0x15f)](_0x5be10b[_0x58bd2f(0x1e6)])||!![]);_0x5be10b['ZYUZx'](_0x1014d3[_0x58bd2f(0x19a)]['testObservability'],null)&&!helper[_0x58bd2f(0x1f8)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x164)])&&(process['env'][_0x58bd2f(0x164)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17d)]);const _0x5d6fab=!helper['isFalse'](process[_0x58bd2f(0x1c2)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x473a51=![];_0x1014d3[_0x58bd2f(0x19a)]['accessibility']&&(_0x473a51=!![],process[_0x58bd2f(0x1c2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x1d8)]);_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x1f2)]&&(process['env'][_0x58bd2f(0x1d1)]=JSON[_0x58bd2f(0x19d)](_0x1014d3['config'][_0x58bd2f(0x1f2)]));const _0x2c3454=_0x385b42[_0x58bd2f(0x182)](),_0x1315f3=await _0x5be10b[_0x58bd2f(0x170)](getUserPlaywrightConfig,_0x1ed2c4,_0x385b42);if(helper[_0x58bd2f(0x1e7)](_0x1315f3)){_0x5be10b[_0x58bd2f(0x163)](spawnOriginalProcess,_0x2c3454);return;}const _0x593b6d=_0x1315f3['path']?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)]();process['env'][_0x58bd2f(0x1cc)]=_0x593b6d,await TestHubHandler[_0x58bd2f(0x1cb)](FRAMEWORKS[_0x58bd2f(0x1fb)],_0x1014d3);_0x5d6fab&&_0x5be10b[_0x58bd2f(0x163)](handleO11yRerun,_0x385b42);let _0xf2dfe0=_0x5be10b[_0x58bd2f(0x193)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1cf)],_0x5be10b[_0x58bd2f(0x160)]);_0xf2dfe0=_0xf2dfe0||_0x5be10b[_0x58bd2f(0x163)](checkAccessibilityPlatformConfig,_0x1014d3[_0x58bd2f(0x19a)]),process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1cf)]=_0xf2dfe0;_0xf2dfe0&&_0x5be10b['ujVJq'](setAccessibilityCapabilities,_0x1014d3[_0x58bd2f(0x19a)]);const _0x470ff4=path[_0x58bd2f(0x18b)](_0x1315f3[_0x58bd2f(0x1c4)]?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)](),_0x5be10b['rWJhP']);fs['writeFileSync'](_0x470ff4,helper[_0x58bd2f(0x1b0)](_0x1014d3['config'])),process[_0x58bd2f(0x1c2)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x470ff4,helper[_0x58bd2f(0x167)]();let _0x2e2d7c='';_0x5be10b[_0x58bd2f(0x193)](helper[_0x58bd2f(0x1a7)](),constants[_0x58bd2f(0x1e3)][_0x58bd2f(0x16e)])?_0x2e2d7c=_0x5be10b['pHiMw']:_0x2e2d7c=_0x5be10b[_0x58bd2f(0x1aa)];let _0x4d5ee1='';if(helper[_0x58bd2f(0x1b1)](_0x1315f3[_0x58bd2f(0x1c4)])){_0x4d5ee1=_0x58bd2f(0x188);const _0x141adb=_0x2e2d7c[_0x58bd2f(0x15a)]('.');_0x141adb[_0x5be10b[_0x58bd2f(0x1ad)](_0x141adb[_0x58bd2f(0x1a9)],0x1)]='ts',_0x2e2d7c=_0x141adb[_0x58bd2f(0x18b)]('.'),logger['debug'](_0x5be10b['lVxaB'](_0x5be10b[_0x58bd2f(0x185)],_0x2e2d7c));}else _0x4d5ee1=_0x58bd2f(0x1e1);const _0x521946=path[_0x58bd2f(0x18b)](_0x1315f3[_0x58bd2f(0x1c4)]?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)](),_0x2e2d7c);let _0x36cf30=_0x1315f3[_0x58bd2f(0x1c4)]?_0x1315f3[_0x58bd2f(0x1c4)]:'';_0x36cf30=_0x5be10b[_0x58bd2f(0x190)](_0x36cf30[_0x58bd2f(0x1a9)],0x0)?path[_0x58bd2f(0x1ee)](_0x36cf30):'',process['env'][_0x58bd2f(0x17f)]=_0x36cf30;const _0x11d6c4=helper[_0x58bd2f(0x1cd)](_0x1014d3[_0x58bd2f(0x19a)]);_0x11d6c4&&(_0x4d5ee1=_0x5be10b[_0x58bd2f(0x1c5)](_0x58bd2f(0x1fd)+_0x11d6c4+_0x58bd2f(0x1f3),_0x4d5ee1));helper[_0x58bd2f(0x189)]({},_0x385b42),fs[_0x58bd2f(0x16a)](_0x521946,_0x4d5ee1),helper[_0x58bd2f(0x1a3)]();const _0x1c73ab=_0x5be10b['MRUja'](spawn,_0x5be10b[_0x58bd2f(0x1ec)],[_0x5be10b[_0x58bd2f(0x1ce)],_0x5be10b[_0x58bd2f(0x1f6)],_0x5be10b[_0x58bd2f(0x1e0)],_0x521946,..._0x385b42[_0x58bd2f(0x16d)](0x2)],{'shell':_0x5be10b['dfKgg'](process[_0x58bd2f(0x19e)],_0x5be10b[_0x58bd2f(0x179)]),'stdio':_0x5be10b[_0x58bd2f(0x1b7)],'cwd':process[_0x58bd2f(0x1b9)](),'env':Object[_0x58bd2f(0x15c)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1ed2c4),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17a)][_0x58bd2f(0x19b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17a)][_0x58bd2f(0x161)],'BROWSERSTACK_LOG_LEVEL':_0x1014d3['config'][_0x58bd2f(0x1bc)]})}),_0x16bcaa=()=>{const _0x38254a=_0x58bd2f;try{const _0x38f5d6=path[_0x38254a(0x18b)](helper[_0x38254a(0x17e)](),_0x5be10b[_0x38254a(0x187)],_0x5be10b[_0x38254a(0x1e4)]);if(fs[_0x38254a(0x1d2)](_0x38f5d6)){let _0x3432a3=fs[_0x38254a(0x16c)](_0x38f5d6);_0x3432a3=JSON[_0x38254a(0x18a)](_0x3432a3),_0x1014d3[_0x38254a(0x1a1)]=_0x3432a3,fs[_0x38254a(0x191)](_0x38f5d6);}}catch(_0x1a3a12){logger[_0x38254a(0x1f9)](_0x5be10b[_0x38254a(0x1a4)](_0x5be10b['dWOtp'],_0x1a3a12));}};_0x1c73ab['on'](_0x5be10b[_0x58bd2f(0x16b)],async _0x294523=>{const _0x28ffcb=_0x58bd2f;try{const _0xa273af=_0x5be10b['Yyuxb'][_0x28ffcb(0x15a)]('|');let _0x28dabb=0x0;while(!![]){switch(_0xa273af[_0x28dabb++]){case'0':logger[_0x28ffcb(0x1f9)]('Deleting\x20'+_0x470ff4);continue;case'1':fs[_0x28ffcb(0x191)](_0x470ff4);continue;case'2':fs['unlinkSync'](_0x521946);continue;case'3':_0x5be10b[_0x28ffcb(0x183)](_0x16bcaa);continue;case'4':process[_0x28ffcb(0x1ae)]=_0x294523;continue;case'5':await TestHubHandler['stop']();continue;case'6':logger[_0x28ffcb(0x196)](_0x28ffcb(0x197)+_0x521946);continue;case'7':logger['debug'](_0x28ffcb(0x1ab)+_0x294523);continue;case'8':await utilities[_0x28ffcb(0x18f)](_0x1014d3);continue;}break;}}catch(_0x2d0bd2){logger[_0x28ffcb(0x1f9)](_0x5be10b['ainho'](_0x5be10b[_0x28ffcb(0x186)],_0x2d0bd2));}});}function a35_0x1941(_0x1b0956,_0x2f22b0){const _0x364078=a35_0x3640();return a35_0x1941=function(_0x194163,_0x48d012){_0x194163=_0x194163-0x15a;let _0x3852b1=_0x364078[_0x194163];return _0x3852b1;},a35_0x1941(_0x1b0956,_0x2f22b0);}module['exports']=run;
2
+ 'use strict';const a35_0x5becb3=a35_0x3fd0;function a35_0x3fd0(_0x46ac5f,_0x294ee9){const _0x481174=a35_0x4811();return a35_0x3fd0=function(_0x3fd0be,_0x5c3177){_0x3fd0be=_0x3fd0be-0x183;let _0x484e84=_0x481174[_0x3fd0be];return _0x484e84;},a35_0x3fd0(_0x46ac5f,_0x294ee9);}(function(_0x43ee65,_0x4d0748){const _0x1f8b45=a35_0x3fd0,_0x1f494e=_0x43ee65();while(!![]){try{const _0x5d7bf2=parseInt(_0x1f8b45(0x1bf))/0x1+-parseInt(_0x1f8b45(0x1cd))/0x2*(-parseInt(_0x1f8b45(0x195))/0x3)+parseInt(_0x1f8b45(0x19d))/0x4*(parseInt(_0x1f8b45(0x1df))/0x5)+parseInt(_0x1f8b45(0x1a6))/0x6*(parseInt(_0x1f8b45(0x1a8))/0x7)+-parseInt(_0x1f8b45(0x19c))/0x8*(-parseInt(_0x1f8b45(0x211))/0x9)+parseInt(_0x1f8b45(0x1bb))/0xa+-parseInt(_0x1f8b45(0x1fb))/0xb*(parseInt(_0x1f8b45(0x21a))/0xc);if(_0x5d7bf2===_0x4d0748)break;else _0x1f494e['push'](_0x1f494e['shift']());}catch(_0x67327b){_0x1f494e['push'](_0x1f494e['shift']());}}}(a35_0x4811,0xb805c));const fs=require('fs'),path=require(a35_0x5becb3(0x20d)),{spawn}=require('child_process'),{format}=require(a35_0x5becb3(0x1a5)),logger=require(a35_0x5becb3(0x1bc))[a35_0x5becb3(0x18c)],{default:BrowserStackSetup}=require(a35_0x5becb3(0x21d)),helper=require(a35_0x5becb3(0x196)),utilities=require(a35_0x5becb3(0x207)),constants=require(a35_0x5becb3(0x1e2)),{FRAMEWORKS}=require(a35_0x5becb3(0x1b6)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x5becb3(0x21b)),{CrashReporter}=require(a35_0x5becb3(0x19a)),{getFrameworkVersion}=require(a35_0x5becb3(0x1aa)),{checkAccessibilityPlatformConfig}=require(a35_0x5becb3(0x1b9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x5becb3(0x218)),{shouldProcessEventForTesthub}=require(a35_0x5becb3(0x1f5)),getUserPlaywrightConfig=async(_0x15aa76,_0x65410f)=>{const _0x3726ba=a35_0x5becb3,_0x30853a={'fMCZa':function(_0x24c76e){return _0x24c76e();},'ytTrz':function(_0x1580b7,_0x423d5c){return _0x1580b7(_0x423d5c);},'vnHbe':function(_0x4c0c63,_0x58f234){return _0x4c0c63(_0x58f234);},'tovqu':_0x3726ba(0x210),'iuQrK':_0x3726ba(0x1f9)},_0x3630c8=!helper['isUndefined'](_0x15aa76[_0x3726ba(0x1ab)]),_0x41d830=_0x3630c8?path[_0x3726ba(0x18d)](process[_0x3726ba(0x1ec)](),_0x15aa76[_0x3726ba(0x1ab)]):process[_0x3726ba(0x1ec)](),{resolveConfigFile:_0x1dc070,resolveConfigLocation:_0x3ae501}=helper[_0x3726ba(0x1bd)][_0x3726ba(0x1cc)](null,_0x30853a['fMCZa'](getConfigLoaderPath)),_0x2515a2=_0x1dc070?_0x30853a[_0x3726ba(0x190)](_0x1dc070,_0x41d830):helper[_0x3726ba(0x1a9)](_0x30853a[_0x3726ba(0x1db)](_0x3ae501,_0x41d830),[_0x30853a['tovqu']]),_0x523fef={};if(_0x3630c8){const _0x10f220=_0x65410f['findIndex'](_0x4c93d6=>_0x4c93d6===_0x3726ba(0x1b2)||_0x4c93d6==='-c'||_0x4c93d6[_0x3726ba(0x213)](_0x3726ba(0x1f9)));_0x65410f[_0x3726ba(0x1c9)](_0x10f220,_0x65410f[_0x10f220]['startsWith'](_0x30853a[_0x3726ba(0x20a)])?0x1:0x2);}const _0x5d876b={};return _0x5d876b['path']=_0x2515a2,_0x5d876b[_0x3726ba(0x1ab)]=_0x523fef,_0x5d876b;},handleO11yRerun=_0x1ba932=>{const _0x2bcb33=a35_0x5becb3,_0xef51d3={};_0xef51d3['rSxog']=function(_0x13037a,_0x53b046){return _0x13037a!==_0x53b046;},_0xef51d3[_0x2bcb33(0x1c3)]=_0x2bcb33(0x1a3),_0xef51d3['JcRFd']=_0x2bcb33(0x185);const _0x21aafd=_0xef51d3,_0x1c1423=helper[_0x2bcb33(0x1d9)](process[_0x2bcb33(0x1d2)][_0x2bcb33(0x18a)]);if(_0x1c1423){const _0x3d9738=process[_0x2bcb33(0x1d2)][_0x2bcb33(0x1ac)],_0x15c253=[];if(_0x21aafd['rSxog'](_0x3d9738,_0x21aafd['VHTBY'])&&!helper['isUndefined'](_0x3d9738)){_0x3d9738[_0x2bcb33(0x221)](',')[_0x2bcb33(0x19b)](_0x367221=>{const _0x15926c=_0x2bcb33;_0x15c253['push']('('+_0x367221[_0x15926c(0x19e)]()+')');});const _0x8dbc3b='^'+_0x15c253['join']('|')+'$';_0x1ba932['push'](_0x21aafd[_0x2bcb33(0x21f)],_0x8dbc3b);}}},spawnOriginalProcess=_0x136d95=>{const _0x38ca59=a35_0x5becb3,_0x17e028={'VyQPL':function(_0x21caf0,_0x2ee14d,_0x4cc59d,_0x51877b){return _0x21caf0(_0x2ee14d,_0x4cc59d,_0x51877b);},'TfTYr':'npx','nMuLS':_0x38ca59(0x21c),'erVbm':function(_0x194fa1,_0x5abc65){return _0x194fa1===_0x5abc65;},'KqKie':_0x38ca59(0x1d1),'uHUnd':'inherit'};_0x17e028['VyQPL'](spawn,_0x17e028[_0x38ca59(0x208)],[_0x17e028[_0x38ca59(0x193)],..._0x136d95['slice'](0x1)],{'shell':_0x17e028[_0x38ca59(0x1b4)](process[_0x38ca59(0x1be)],_0x17e028[_0x38ca59(0x1ea)]),'stdio':_0x17e028['uHUnd'],'cwd':process[_0x38ca59(0x1ec)]()});},isTestCommand=(_0xb716d4,_0x43709b)=>{const _0x1c8183=a35_0x5becb3,_0x1edb09={};_0x1edb09[_0x1c8183(0x1fc)]=function(_0x2ef04f,_0x2bde02){return _0x2ef04f>_0x2bde02;},_0x1edb09[_0x1c8183(0x18f)]=function(_0x1e4396,_0x40936f){return _0x1e4396===_0x40936f;},_0x1edb09[_0x1c8183(0x1e1)]=_0x1c8183(0x1ae);const _0x98a152=_0x1edb09;if(_0x98a152[_0x1c8183(0x1fc)](_0x43709b['length'],0x1)&&_0x98a152[_0x1c8183(0x18f)](_0x43709b[0x1],_0x98a152[_0x1c8183(0x1e1)]))return!![];return![];};async function run(_0x46d0cc,_0x41bb22){const _0x4b11d1=a35_0x5becb3,_0x24a90f={'VMuJc':_0x4b11d1(0x1d5),'YlxNz':_0x4b11d1(0x189),'SVSzY':function(_0x189d53,_0xc21127){return _0x189d53+_0xc21127;},'LgqGO':'Error\x20in\x20getting\x20funnel\x20data\x20results','NgMSk':_0x4b11d1(0x1ee),'XFskQ':function(_0x58389c){return _0x58389c();},'khpsA':function(_0x2fd320,_0x74af9f){return _0x2fd320+_0x74af9f;},'QWhrg':_0x4b11d1(0x1c7),'jVOSM':_0x4b11d1(0x201),'JGaZt':_0x4b11d1(0x1c1),'XXVfT':_0x4b11d1(0x205),'ftYQi':function(_0x4567fb,_0x5374e3){return _0x4567fb>=_0x5374e3;},'zgIqc':function(_0x2e893e,_0x3c15e5){return _0x2e893e+_0x3c15e5;},'rKgHj':_0x4b11d1(0x1d8),'PnBdb':function(_0x4e69b9,_0x2f2ab9,_0x1d0b20){return _0x4e69b9(_0x2f2ab9,_0x1d0b20);},'YkJaw':function(_0x3cfb73,_0x1deabd){return _0x3cfb73(_0x1deabd);},'eiFrV':_0x4b11d1(0x1f3),'ZCxcR':'automation','mFuAi':function(_0x3e3476,_0x10cce0){return _0x3e3476!=_0x10cce0;},'SBquE':function(_0x522944,_0x1b32d2,_0x5c4b9b){return _0x522944(_0x1b32d2,_0x5c4b9b);},'hEODN':function(_0x26c896,_0x38a47e){return _0x26c896===_0x38a47e;},'INgid':'true','uuCVr':function(_0x321d45,_0x1d5902){return _0x321d45(_0x1d5902);},'DqnAX':_0x4b11d1(0x188),'VAkdo':function(_0x5cab48,_0x116103){return _0x5cab48===_0x116103;},'CVKFL':_0x4b11d1(0x1ad),'StXEx':_0x4b11d1(0x1af),'QTFSe':function(_0x5a977c,_0x65f138){return _0x5a977c-_0x65f138;},'hgGyu':function(_0x591c18,_0x1a5985){return _0x591c18+_0x1a5985;},'zejKT':_0x4b11d1(0x1a1),'Psogv':function(_0x518378,_0x3a81ce){return _0x518378>_0x3a81ce;},'nWOMs':function(_0x3dd40c,_0x50ac8a){return _0x3dd40c+_0x50ac8a;},'tTeuh':function(_0x200b93,_0x5ee783,_0x3ece62,_0x168ab0){return _0x200b93(_0x5ee783,_0x3ece62,_0x168ab0);},'DpREd':_0x4b11d1(0x20c),'ayHYK':'playwright','wtdgF':'test','uygZz':_0x4b11d1(0x1b2),'EflGX':function(_0xe015cd,_0x390756){return _0xe015cd===_0x390756;},'rykDl':_0x4b11d1(0x1d1),'HqoCV':_0x4b11d1(0x1b7),'KSRCN':'close'};!helper[_0x4b11d1(0x1e3)](process[_0x4b11d1(0x1d2)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1ed)]=!![]);process[_0x4b11d1(0x1b3)][_0x4b11d1(0x202)](_0x24a90f[_0x4b11d1(0x1eb)])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1ed)]=_0x24a90f['JGaZt'],_0x41bb22=_0x41bb22[_0x4b11d1(0x1a4)](_0x1dc18f=>_0x1dc18f!==_0x4b11d1(0x201)));const _0x554293=_0x41bb22['indexOf'](_0x24a90f[_0x4b11d1(0x1c8)]);_0x24a90f[_0x4b11d1(0x209)](_0x554293,0x0)&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]=_0x24a90f[_0x4b11d1(0x1e0)],_0x41bb22=_0x41bb22[_0x4b11d1(0x1a4)](_0x411c3d=>_0x411c3d!=='--disable-test-observability'));try{const _0x47a4d7=path[_0x4b11d1(0x1ce)](helper[_0x4b11d1(0x186)](),_0x24a90f[_0x4b11d1(0x215)],_0x24a90f['YlxNz']);fs[_0x4b11d1(0x1e9)](_0x47a4d7)&&fs[_0x4b11d1(0x1de)](_0x47a4d7);}catch(_0x56f58b){logger[_0x4b11d1(0x200)](_0x24a90f[_0x4b11d1(0x1c2)](_0x24a90f[_0x4b11d1(0x1d3)],_0x56f58b));}if(!_0x24a90f['PnBdb'](isTestCommand,_0x46d0cc,_0x41bb22)){_0x24a90f['YkJaw'](spawnOriginalProcess,_0x41bb22);return;}const _0x3451ca=new BrowserStackSetup(_0x46d0cc,FRAMEWORKS['PLAYWRIGHT']);if(!_0x3451ca['config']){logger[_0x4b11d1(0x184)](_0x24a90f[_0x4b11d1(0x212)]);return;}await _0x3451ca[_0x4b11d1(0x204)]();!helper['isUndefined'](_0x3451ca['cliConfig'])&&_0x3451ca['cliConfig'][_0x4b11d1(0x1da)](_0x24a90f[_0x4b11d1(0x217)])&&(process[_0x4b11d1(0x1d2)]['BROWSERSTACK_AUTOMATION']=_0x3451ca[_0x4b11d1(0x1e5)]['get'](_0x24a90f[_0x4b11d1(0x217)])||!![]);_0x24a90f[_0x4b11d1(0x1d6)](_0x3451ca[_0x4b11d1(0x1ab)][_0x4b11d1(0x219)],null)&&!helper['isTrue'](process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]=process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]||_0x3451ca[_0x4b11d1(0x1ab)]['testObservability']);const _0x546f4b=!helper[_0x4b11d1(0x1e3)](process['env'][_0x4b11d1(0x1f1)]);let _0x2db3f5=![];_0x3451ca['config']['accessibility']&&(_0x2db3f5=!![],process['env'][_0x4b11d1(0x19f)]=_0x3451ca['config'][_0x4b11d1(0x20b)]);_0x3451ca['config']['accessibilityOptions']&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f6)]=JSON[_0x4b11d1(0x1b5)](_0x3451ca['config'][_0x4b11d1(0x1f2)]));const _0x37a97d=_0x41bb22['concat'](),_0x293936=await _0x24a90f['SBquE'](getUserPlaywrightConfig,_0x46d0cc,_0x41bb22);if(helper[_0x4b11d1(0x1fd)](_0x293936)){_0x24a90f['YkJaw'](spawnOriginalProcess,_0x37a97d);return;}const _0x2207f6=_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936[_0x4b11d1(0x20d)]):process['cwd']();process[_0x4b11d1(0x1d2)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x2207f6,await TestHubHandler[_0x4b11d1(0x20e)](FRAMEWORKS[_0x4b11d1(0x194)],_0x3451ca);_0x546f4b&&_0x24a90f[_0x4b11d1(0x20f)](handleO11yRerun,_0x41bb22);let _0x1fe5ff=_0x24a90f['hEODN'](process['env'][_0x4b11d1(0x19f)],_0x24a90f[_0x4b11d1(0x1d7)]);_0x1fe5ff=_0x1fe5ff||_0x24a90f[_0x4b11d1(0x20f)](checkAccessibilityPlatformConfig,_0x3451ca[_0x4b11d1(0x1ab)]),process[_0x4b11d1(0x1d2)][_0x4b11d1(0x19f)]=_0x1fe5ff;_0x1fe5ff&&_0x24a90f[_0x4b11d1(0x1c5)](setAccessibilityCapabilities,_0x3451ca[_0x4b11d1(0x1ab)]);const _0x500f5a=path['join'](_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936['path']):process[_0x4b11d1(0x1ec)](),_0x24a90f['DqnAX']);fs[_0x4b11d1(0x203)](_0x500f5a,helper[_0x4b11d1(0x18b)](_0x3451ca['config'])),process['env'][_0x4b11d1(0x1f4)]=_0x500f5a,helper[_0x4b11d1(0x1e4)]();let _0x4cfa70='';_0x24a90f[_0x4b11d1(0x21e)](helper['getPackageType'](),constants[_0x4b11d1(0x1e7)][_0x4b11d1(0x1f0)])?_0x4cfa70=_0x24a90f[_0x4b11d1(0x1b8)]:_0x4cfa70=_0x24a90f[_0x4b11d1(0x197)];let _0x59d4eb='';if(helper[_0x4b11d1(0x220)](_0x293936[_0x4b11d1(0x20d)])){_0x59d4eb='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x37db17=_0x4cfa70[_0x4b11d1(0x221)]('.');_0x37db17[_0x24a90f[_0x4b11d1(0x1fe)](_0x37db17[_0x4b11d1(0x206)],0x1)]='ts',_0x4cfa70=_0x37db17[_0x4b11d1(0x1ce)]('.'),logger['debug'](_0x24a90f[_0x4b11d1(0x1a2)](_0x24a90f['zejKT'],_0x4cfa70));}else _0x59d4eb=_0x4b11d1(0x18e);const _0x173509=path[_0x4b11d1(0x1ce)](_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936[_0x4b11d1(0x20d)]):process[_0x4b11d1(0x1ec)](),_0x4cfa70);let _0x482095=_0x293936['path']?_0x293936['path']:'';_0x482095=_0x24a90f[_0x4b11d1(0x214)](_0x482095[_0x4b11d1(0x206)],0x0)?path[_0x4b11d1(0x18d)](_0x482095):'',process[_0x4b11d1(0x1d2)]['USER_CONFIG_DETAILS_PATH']=_0x482095;const _0x2869f3=helper[_0x4b11d1(0x199)](_0x3451ca[_0x4b11d1(0x1ab)]);_0x2869f3&&(_0x59d4eb=_0x24a90f['nWOMs']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x2869f3+'\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();',_0x59d4eb));helper['filterBrowserstackConfig']({},_0x41bb22),fs[_0x4b11d1(0x203)](_0x173509,_0x59d4eb),helper[_0x4b11d1(0x1c6)]();const _0x3026df=_0x24a90f[_0x4b11d1(0x1c0)](spawn,_0x24a90f['DpREd'],[_0x24a90f[_0x4b11d1(0x1ca)],_0x24a90f[_0x4b11d1(0x1a0)],_0x24a90f[_0x4b11d1(0x1b0)],_0x173509,..._0x41bb22[_0x4b11d1(0x1d0)](0x2)],{'shell':_0x24a90f[_0x4b11d1(0x191)](process[_0x4b11d1(0x1be)],_0x24a90f['rykDl']),'stdio':_0x24a90f['HqoCV'],'cwd':process['cwd'](),'env':Object[_0x4b11d1(0x1b1)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4b11d1(0x198)](_0x46d0cc),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3451ca['config'][_0x4b11d1(0x1e8)][_0x4b11d1(0x1dd)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3451ca[_0x4b11d1(0x1ab)]['testContextOptions'][_0x4b11d1(0x1ba)],'BROWSERSTACK_LOG_LEVEL':_0x3451ca[_0x4b11d1(0x1ab)][_0x4b11d1(0x1cf)]})}),_0x33b9e0=()=>{const _0x42e2d5=_0x4b11d1;try{const _0x3a54d6=path['join'](helper[_0x42e2d5(0x186)](),_0x24a90f['VMuJc'],_0x24a90f[_0x42e2d5(0x1e6)]);if(fs[_0x42e2d5(0x1e9)](_0x3a54d6)){let _0x1794fc=fs['readFileSync'](_0x3a54d6);_0x1794fc=JSON[_0x42e2d5(0x1f8)](_0x1794fc),_0x3451ca[_0x42e2d5(0x1ff)]=_0x1794fc,fs[_0x42e2d5(0x1de)](_0x3a54d6);}}catch(_0xcaa53a){logger[_0x42e2d5(0x200)](_0x24a90f[_0x42e2d5(0x1f7)](_0x24a90f['LgqGO'],_0xcaa53a));}};_0x3026df['on'](_0x24a90f[_0x4b11d1(0x192)],async _0x1d3d86=>{const _0x4b03a=_0x4b11d1;try{const _0x15b5d9=_0x24a90f[_0x4b03a(0x1c4)][_0x4b03a(0x221)]('|');let _0x3e0074=0x0;while(!![]){switch(_0x15b5d9[_0x3e0074++]){case'0':await TestHubHandler[_0x4b03a(0x1cb)]();continue;case'1':fs[_0x4b03a(0x1de)](_0x500f5a);continue;case'2':await utilities[_0x4b03a(0x1a7)](_0x3451ca);continue;case'3':logger[_0x4b03a(0x1ef)]('Deleting\x20'+_0x173509);continue;case'4':fs[_0x4b03a(0x1de)](_0x173509);continue;case'5':_0x24a90f['XFskQ'](_0x33b9e0);continue;case'6':logger['debug'](_0x4b03a(0x1dc)+_0x500f5a);continue;case'7':logger[_0x4b03a(0x200)](_0x4b03a(0x216)+_0x1d3d86);continue;case'8':process['exitCode']=_0x1d3d86;continue;}break;}}catch(_0x412ed8){logger[_0x4b03a(0x200)](_0x24a90f[_0x4b03a(0x1d4)](_0x24a90f[_0x4b03a(0x1fa)],_0x412ed8));}});}module[a35_0x5becb3(0x183)]=run;function a35_0x4811(){const _0x25dc19=['eiFrV','startsWith','Psogv','VMuJc','Playwright\x20process\x20exited\x20with\x20code\x20','ZCxcR','../../helpers/testhub/testhubHandler','testObservability','36yUBGYu','./reporter/pwUtils','playwright','../../helpers/BrowserStackSetup','VAkdo','JcRFd','isTypescriptProject','split','exports','error','--grep','homedir','dirname','browserstackSetupConfig.json','pw_result.json','BROWSERSTACK_RERUN','serializeToYamlString','winstonLogger','resolve','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','hkVRw','ytTrz','EflGX','KSRCN','nMuLS','PLAYWRIGHT','3KniQER','../../helpers/helper','StXEx','getConfigPath','getProxyUrl','../../helpers/test-observability/error-handler','map','16440kECBIl','196iPKmva','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','wtdgF','Updated\x20config\x20file\x20name\x20to\x20-\x20','hgGyu','null','filter','util','17664HaAHkm','finalExecution','1169gphYWu','nestedKeyValue','../../helpers/test-observability/utils','config','BROWSERSTACK_RERUN_TESTS','playwright-browserstack-sdk.config.cjs','test','playwright-browserstack-sdk.config.js','uygZz','assign','--config','argv','erVbm','stringify','../../helpers/test-observability/constants','inherit','CVKFL','../../helpers/accessibility-automation/helper','skipSessionName','2077270CryVVR','../../helpers/logger','requirePWModule','platform','725510YKaBiy','tTeuh','false','zgIqc','VHTBY','NgMSk','uuCVr','markSDKSetupComplete','Error\x20in\x20closing\x20playwright','XXVfT','splice','ayHYK','stop','apply','1089442dEpjNa','join','logLevel','slice','win32','env','rKgHj','khpsA','.browserstack','mFuAi','INgid','Error\x20in\x20deleting\x20playwright\x20results','isTrue','has','vnHbe','Deleting\x20','skipSessionStatus','unlinkSync','107845MOyyVn','JGaZt','HSQOR','../utils/constants','isFalse','clearTempPWConfig','cliConfig','YlxNz','PACKAGE_TYPE','testContextOptions','existsSync','KqKie','jVOSM','cwd','BROWSERSTACK_AUTOMATION','5|0|2|8|7|3|4|6|1','info','MODULE','BROWSERSTACK_TEST_OBSERVABILITY','accessibilityOptions','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/testhub/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SVSzY','parse','--config=','QWhrg','10646592pWJlzy','oGGzK','isUndefined','QTFSe','errorMessage','debug','--disable-browserstack-automation','includes','writeFileSync','initialize','--disable-test-observability','length','../../helpers/utilities','TfTYr','ftYQi','iuQrK','accessibility','npx','path','launchBuild','YkJaw','resolvedConfigFile','2763CFqtxE'];a35_0x4811=function(){return _0x25dc19;};return a35_0x4811();}
@@ -1 +1 @@
1
- const a36_0x292d9d=a36_0x302d;function a36_0x302d(_0x34e9a7,_0x216ad6){const _0x3d34c7=a36_0x3d34();return a36_0x302d=function(_0x302d06,_0x40a4a7){_0x302d06=_0x302d06-0x15b;let _0x54bd21=_0x3d34c7[_0x302d06];return _0x54bd21;},a36_0x302d(_0x34e9a7,_0x216ad6);}(function(_0x35a7cd,_0x2aac35){const _0x29fc0b=a36_0x302d,_0x5ede7c=_0x35a7cd();while(!![]){try{const _0x390bbb=-parseInt(_0x29fc0b(0x180))/0x1*(parseInt(_0x29fc0b(0x16a))/0x2)+-parseInt(_0x29fc0b(0x173))/0x3+parseInt(_0x29fc0b(0x16f))/0x4*(parseInt(_0x29fc0b(0x185))/0x5)+-parseInt(_0x29fc0b(0x179))/0x6+-parseInt(_0x29fc0b(0x15d))/0x7*(-parseInt(_0x29fc0b(0x183))/0x8)+-parseInt(_0x29fc0b(0x167))/0x9+parseInt(_0x29fc0b(0x186))/0xa*(parseInt(_0x29fc0b(0x172))/0xb);if(_0x390bbb===_0x2aac35)break;else _0x5ede7c['push'](_0x5ede7c['shift']());}catch(_0x580c42){_0x5ede7c['push'](_0x5ede7c['shift']());}}}(a36_0x3d34,0x3b0bf));const util=require('util'),child_process=require(a36_0x292d9d(0x181)),{FRAMEWORKS}=require(a36_0x292d9d(0x17f)),{getFrameworkVersion,debug}=require(a36_0x292d9d(0x164)),helper=require(a36_0x292d9d(0x18a)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x292d9d(0x169)),{mockIsWorkerRedundant}=require(a36_0x292d9d(0x163)),logger=require(a36_0x292d9d(0x15e))[a36_0x292d9d(0x161)];module[a36_0x292d9d(0x17d)]=async function(_0x5199c4){const _0x42da73=a36_0x292d9d,_0x3c94a8={'ewTSb':function(_0x4a5115,_0x387661){return _0x4a5115(_0x387661);},'JdjPl':function(_0x472daf){return _0x472daf();},'POcNr':_0x42da73(0x162),'CPeZc':function(_0x24ebc0){return _0x24ebc0();},'XKaho':_0x42da73(0x189),'THwkL':function(_0xbac5ce,_0xcf96d0){return _0xbac5ce>=_0xcf96d0;},'aFTik':'1.33.0','pWxas':function(_0x3188b9,_0xaf1726,_0x18677d){return _0x3188b9(_0xaf1726,_0x18677d);},'aXawD':function(_0x301b02,_0x56c627){return _0x301b02!==_0x56c627;},'MzHUt':'function','LAWpw':_0x42da73(0x17b)},_0x478542=child_process[_0x42da73(0x15b)];if(helper[_0x42da73(0x17e)]())try{_0x3c94a8['CPeZc'](mockIsWorkerRedundant);}catch(_0x3ef269){logger[_0x42da73(0x188)](_0x42da73(0x160)+util[_0x42da73(0x15f)](_0x3ef269));}child_process[_0x42da73(0x15b)]=function(){const _0x20eedd=_0x42da73;return _0x3c94a8[_0x20eedd(0x16b)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x20eedd(0x18b)](_0x3c94a8[_0x20eedd(0x175)](getForkProcessPath))?arguments[0x0]=require[_0x20eedd(0x168)](_0x3c94a8[_0x20eedd(0x15c)]):logger[_0x20eedd(0x184)](_0x20eedd(0x176)+_0x3c94a8[_0x20eedd(0x175)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x478542[_0x20eedd(0x165)](null,arguments);};if(process[_0x42da73(0x177)][_0x42da73(0x16c)]){_0x3c94a8['ewTSb'](debug,_0x3c94a8[_0x42da73(0x17c)]);try{const {loadGlobalHook:_0x44aac9}=helper['requirePWModule'][_0x42da73(0x165)](null,_0x3c94a8[_0x42da73(0x178)](getLoadUtilsPath)),_0x34214a=_0x3c94a8[_0x42da73(0x16b)](getFrameworkVersion,FRAMEWORKS[_0x42da73(0x187)]);let _0x1b04e1=_0x5199c4;if(_0x3c94a8[_0x42da73(0x16e)](helper[_0x42da73(0x170)](_0x34214a,_0x3c94a8[_0x42da73(0x171)]),0x0)){const _0x26d764={};_0x26d764[_0x42da73(0x16d)]=_0x5199c4,_0x1b04e1=_0x26d764;}const _0x44afd4=await _0x3c94a8[_0x42da73(0x182)](_0x44aac9,_0x1b04e1,process[_0x42da73(0x177)][_0x42da73(0x16c)]);if(_0x3c94a8[_0x42da73(0x166)](typeof _0x44afd4,_0x3c94a8['MzHUt']))throw new Error(_0x3c94a8['LAWpw']);return _0x44afd4[_0x42da73(0x165)](null,arguments);}catch(_0x33d77f){_0x3c94a8['ewTSb'](debug,_0x42da73(0x174)+_0x33d77f[_0x42da73(0x17a)]());}}};function a36_0x3d34(){const _0x2432ce=['toString','Not\x20able\x20to\x20import\x20globalSetup','XKaho','exports','isHandlePWErrorSet','../../helpers/test-observability/constants','1RMaeKF','child_process','pWxas','412992jcXMcq','error','2270AhiNZq','330570mmzcMy','PLAYWRIGHT','debug','Running\x20existing\x20global\x20setup','../../helpers/helper','includes','fork','POcNr','14EcoGya','../../helpers/logger','format','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','winstonLogger','./mock-process.js','./patches','../../helpers/test-observability/utils','apply','aXawD','3907053wZLgBf','resolve','./reporter/pwUtils','828886GQvHSr','ewTSb','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','config','THwkL','4188HQEJnw','compareVersions','aFTik','308uVtnRZ','661824GTfPSt','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','JdjPl','Path\x20','env','CPeZc','1158954GAksop'];a36_0x3d34=function(){return _0x2432ce;};return a36_0x3d34();}
1
+ const a36_0x6b297b=a36_0x3dc5;(function(_0x4c5942,_0x3e7467){const _0x4d7863=a36_0x3dc5,_0x50dbba=_0x4c5942();while(!![]){try{const _0xdfe04f=-parseInt(_0x4d7863(0x1c5))/0x1+parseInt(_0x4d7863(0x1b7))/0x2+-parseInt(_0x4d7863(0x1d2))/0x3+-parseInt(_0x4d7863(0x1dd))/0x4+-parseInt(_0x4d7863(0x1cb))/0x5*(-parseInt(_0x4d7863(0x1b9))/0x6)+parseInt(_0x4d7863(0x1d0))/0x7+parseInt(_0x4d7863(0x1d6))/0x8;if(_0xdfe04f===_0x3e7467)break;else _0x50dbba['push'](_0x50dbba['shift']());}catch(_0x29a209){_0x50dbba['push'](_0x50dbba['shift']());}}}(a36_0x1c9d,0xcf378));function a36_0x3dc5(_0x25d037,_0x44ccb7){const _0x1c9d9c=a36_0x1c9d();return a36_0x3dc5=function(_0x3dc526,_0x4a7dad){_0x3dc526=_0x3dc526-0x1b5;let _0x18fd3c=_0x1c9d9c[_0x3dc526];return _0x18fd3c;},a36_0x3dc5(_0x25d037,_0x44ccb7);}const util=require('util'),child_process=require(a36_0x6b297b(0x1c0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x6b297b(0x1d7)),helper=require(a36_0x6b297b(0x1be)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x6b297b(0x1d5)),{mockIsWorkerRedundant}=require(a36_0x6b297b(0x1e0)),logger=require(a36_0x6b297b(0x1c4))[a36_0x6b297b(0x1c2)];module['exports']=async function(_0x59ab19){const _0x4cf7bb=a36_0x6b297b,_0x561927={'TMCrz':function(_0xf9a0da,_0x2f5a5e){return _0xf9a0da(_0x2f5a5e);},'dRMjz':function(_0x2d769c){return _0x2d769c();},'egTdH':_0x4cf7bb(0x1b8),'gJqUD':function(_0x3a2e83,_0x50405d){return _0x3a2e83(_0x50405d);},'tfsdN':_0x4cf7bb(0x1d9),'WHcaL':function(_0x331264,_0x104bb0){return _0x331264>=_0x104bb0;},'Lkndi':_0x4cf7bb(0x1c7),'PHbII':function(_0x2ec1ab,_0x551eae,_0x4963c0){return _0x2ec1ab(_0x551eae,_0x4963c0);},'dptMs':function(_0x431456,_0x3bb217){return _0x431456!==_0x3bb217;},'jQqsD':_0x4cf7bb(0x1c9),'sUhkY':_0x4cf7bb(0x1bb),'woYiu':function(_0x771592,_0x474f8b){return _0x771592(_0x474f8b);}},_0x5974dc=child_process['fork'];if(helper[_0x4cf7bb(0x1d1)]())try{_0x561927[_0x4cf7bb(0x1c6)](mockIsWorkerRedundant);}catch(_0x3ee081){logger[_0x4cf7bb(0x1bd)](_0x4cf7bb(0x1b5)+util[_0x4cf7bb(0x1c3)](_0x3ee081));}child_process['fork']=function(){const _0x37f6e4=_0x4cf7bb;return _0x561927['TMCrz'](debug,_0x37f6e4(0x1ce)+arguments[0x0]),arguments[0x0]['includes'](_0x561927[_0x37f6e4(0x1c6)](getForkProcessPath))?arguments[0x0]=require[_0x37f6e4(0x1df)](_0x561927['egTdH']):logger[_0x37f6e4(0x1da)](_0x37f6e4(0x1dc)+_0x561927[_0x37f6e4(0x1c6)](getForkProcessPath)+_0x37f6e4(0x1bc)),_0x5974dc[_0x37f6e4(0x1c1)](null,arguments);};if(process[_0x4cf7bb(0x1cd)][_0x4cf7bb(0x1de)]){_0x561927[_0x4cf7bb(0x1cc)](debug,_0x561927['tfsdN']);try{const {loadGlobalHook:_0x59ca72}=helper['requirePWModule'][_0x4cf7bb(0x1c1)](null,_0x561927['dRMjz'](getLoadUtilsPath)),_0x98a396=_0x561927[_0x4cf7bb(0x1cc)](getFrameworkVersion,FRAMEWORKS[_0x4cf7bb(0x1bf)]);let _0x84fca9=_0x59ab19;if(_0x561927['WHcaL'](helper[_0x4cf7bb(0x1b6)](_0x98a396,_0x561927[_0x4cf7bb(0x1d3)]),0x0)){const _0x308afe={};_0x308afe[_0x4cf7bb(0x1ba)]=_0x59ab19,_0x84fca9=_0x308afe;}const _0x590661=await _0x561927[_0x4cf7bb(0x1d4)](_0x59ca72,_0x84fca9,process['env'][_0x4cf7bb(0x1de)]);if(_0x561927[_0x4cf7bb(0x1d8)](typeof _0x590661,_0x561927[_0x4cf7bb(0x1db)]))throw new Error(_0x561927[_0x4cf7bb(0x1cf)]);return _0x590661[_0x4cf7bb(0x1c1)](null,arguments);}catch(_0xc15ee0){_0x561927['woYiu'](debug,_0x4cf7bb(0x1c8)+_0xc15ee0[_0x4cf7bb(0x1ca)]());}}};function a36_0x1c9d(){const _0x44d75a=['Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','compareVersions','2070186LllGJx','./mock-process.js','8130SUxviC','config','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found','debug','../../helpers/helper','PLAYWRIGHT','child_process','apply','winstonLogger','format','../../helpers/logger','502833FZSyVW','dRMjz','1.33.0','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','function','toString','2025gXzPvf','gJqUD','env','Call\x20to\x20child\x20fork\x20with\x20args\x20','sUhkY','4411764EmjatP','isHandlePWErrorSet','3011715cRxbzD','Lkndi','PHbII','./reporter/pwUtils','2471360umHfUf','../../helpers/test-observability/utils','dptMs','Running\x20existing\x20global\x20setup','error','jQqsD','Path\x20','670168qVdWnR','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','./patches'];a36_0x1c9d=function(){return _0x44d75a;};return a36_0x1c9d();}