@unotest/web 0.25.0 → 0.26.1

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.
@@ -1 +1 @@
1
- const _0x2a65d9=_0x3259;(function(_0x4cd682,_0x37f1ff){const _0x1fcf1d={_0x9b691e:0x1b0,_0x2bb407:0x1b1,_0x34b030:0x178,_0x334153:0x177,_0x9aceb2:0x15c,_0x19c290:0x18d,_0x2e10c3:0x1c0},_0x5ab0db=_0x3259,_0x569db4=_0x4cd682();while(!![]){try{const _0x5602d3=-parseInt(_0x5ab0db(_0x1fcf1d._0x9b691e))/0x1+parseInt(_0x5ab0db(0x192))/0x2+-parseInt(_0x5ab0db(_0x1fcf1d._0x2bb407))/0x3+-parseInt(_0x5ab0db(_0x1fcf1d._0x34b030))/0x4+parseInt(_0x5ab0db(_0x1fcf1d._0x334153))/0x5*(parseInt(_0x5ab0db(_0x1fcf1d._0x9aceb2))/0x6)+parseInt(_0x5ab0db(0x16b))/0x7+parseInt(_0x5ab0db(_0x1fcf1d._0x19c290))/0x8*(parseInt(_0x5ab0db(_0x1fcf1d._0x2e10c3))/0x9);if(_0x5602d3===_0x37f1ff)break;else _0x569db4['push'](_0x569db4['shift']());}catch(_0x28ae04){_0x569db4['push'](_0x569db4['shift']());}}}(_0x1fc2,0xbfb34));var __defProp=Object[_0x2a65d9(0x1a5)],__name=(_0x5a01f5,_0x41f354)=>__defProp(_0x5a01f5,_0x2a65d9(0x186),{'value':_0x41f354,'configurable':!![]});function subscribe(_0x2bb8fa,_0x5a75fd){const _0x590bbe={_0x3b7865:0x1ce},_0xe6c846=_0x2a65d9;return _0x2bb8fa[_0xe6c846(_0x590bbe._0x3b7865)](_0x5a75fd),()=>{_0x2bb8fa['delete'](_0x5a75fd);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x2a65d9(0x18f));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x2ac56a=_0x2a65d9,_0x411443=[];let _0x2677a9=0x0;return{'push':__name(_0x3f50f8=>_0x411443[_0x2ac56a(0x1ac)]({..._0x3f50f8,'seq':_0x2677a9++}),'push'),'calls':__name(()=>_0x411443,'calls')};}function _0x3259(_0x5dcc3f,_0x2ea03c){_0x5dcc3f=_0x5dcc3f-0x15a;const _0x1fc27a=_0x1fc2();let _0x3259e9=_0x1fc27a[_0x5dcc3f];if(_0x3259['nIQuxk']===undefined){var _0x48ed56=function(_0x29c343){const _0x16247c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a01f5='',_0x41f354='';for(let _0x2bb8fa=0x0,_0x5a75fd,_0x411443,_0x2677a9=0x0;_0x411443=_0x29c343['charAt'](_0x2677a9++);~_0x411443&&(_0x5a75fd=_0x2bb8fa%0x4?_0x5a75fd*0x40+_0x411443:_0x411443,_0x2bb8fa++%0x4)?_0x5a01f5+=String['fromCharCode'](0xff&_0x5a75fd>>(-0x2*_0x2bb8fa&0x6)):0x0){_0x411443=_0x16247c['indexOf'](_0x411443);}for(let _0x3f50f8=0x0,_0x594515=_0x5a01f5['length'];_0x3f50f8<_0x594515;_0x3f50f8++){_0x41f354+='%'+('00'+_0x5a01f5['charCodeAt'](_0x3f50f8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41f354);};_0x3259['fZCLCx']=_0x48ed56,_0x3259['KVLEhH']={},_0x3259['nIQuxk']=!![];}const _0x4d79be=_0x1fc27a[0x0],_0x4baffe=_0x5dcc3f+_0x4d79be,_0x3e9c3c=_0x3259['KVLEhH'][_0x4baffe];return!_0x3e9c3c?(_0x3259e9=_0x3259['fZCLCx'](_0x3259e9),_0x3259['KVLEhH'][_0x4baffe]=_0x3259e9):_0x3259e9=_0x3e9c3c,_0x3259e9;}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x594515,_0x326815,_0x462a2d,_0x4e98e1){const _0x3444e1=_0x2a65d9;this[_0x3444e1(0x1be)]=_0x594515,this[_0x3444e1(0x1d1)]=_0x326815,this[_0x3444e1(0x1cb)]=_0x462a2d,this['currentUrl']=_0x4e98e1;}[_0x2a65d9(0x1be)];[_0x2a65d9(0x1d1)];[_0x2a65d9(0x1cb)];static{__name(this,_0x2a65d9(0x16c));}[_0x2a65d9(0x1aa)];[_0x2a65d9(0x1c4)];[_0x2a65d9(0x19d)](_0x477a9,_0x2efba2){const _0x9c58fd={_0x48c28e:0x1ac,_0x22118a:0x1cb},_0x41d401=_0x2a65d9;this[_0x41d401(0x1be)][_0x41d401(_0x9c58fd._0x48c28e)]({'scope':this[_0x41d401(_0x9c58fd._0x22118a)],'method':_0x477a9,'args':_0x2efba2});}[_0x2a65d9(0x19b)](){const _0x4a9571={_0x514048:0x1ad},_0x1ba434=_0x2a65d9;if(this[_0x1ba434(0x1d1)]['errorOnNextAction']){const _0x4d88d6=this[_0x1ba434(0x1d1)][_0x1ba434(0x1ad)];this['behavior'][_0x1ba434(_0x4a9571._0x514048)]=void 0x0;throw _0x4d88d6;}}[_0x2a65d9(0x1d4)](){return this['currentUrl'];}async['title'](){const _0x3fad82={_0x582cd0:0x1b4},_0x953bcc=_0x2a65d9;return this['record'](_0x953bcc(_0x3fad82._0x582cd0),[]),_0x953bcc(0x1d5);}async['click'](_0x1c2faf,_0x48574e){const _0x47a4c4={_0x5d4ad8:0x19d,_0x5add90:0x19b,_0x3b1968:0x1c4},_0x4aadd0=_0x2a65d9;this[_0x4aadd0(_0x47a4c4._0x5d4ad8)](_0x4aadd0(0x161),[_0x1c2faf,_0x48574e]),this[_0x4aadd0(_0x47a4c4._0x5add90)](),this[_0x4aadd0(_0x47a4c4._0x3b1968)]?.();}async[_0x2a65d9(0x167)](_0x17b61d,_0x386cee){const _0x51ad6d={_0x17333b:0x19d},_0x244531=_0x2a65d9;this[_0x244531(_0x51ad6d._0x17333b)]('doubleClick',[_0x17b61d,_0x386cee]),this['maybeThrow']();}async[_0x2a65d9(0x1b3)](_0x141327,_0xc1fda8,_0x1ce4b1){const _0x4680f7=_0x2a65d9;this[_0x4680f7(0x19d)](_0x4680f7(0x1b3),[_0x141327,_0xc1fda8,_0x1ce4b1]),this['maybeThrow']();}async[_0x2a65d9(0x16d)](_0xdd326e,_0x2567ad,_0x3293b7){const _0x180411={_0x40ec8c:0x19b},_0x12cde2=_0x2a65d9;this[_0x12cde2(0x19d)](_0x12cde2(0x16d),[_0xdd326e,_0x2567ad,_0x3293b7]),this[_0x12cde2(_0x180411._0x40ec8c)]();}async[_0x2a65d9(0x1c2)](_0x54a6f1,_0x2f56e0){const _0x2e125f={_0x2a38d6:0x19d,_0x27282c:0x1c2},_0x104b91=_0x2a65d9;this[_0x104b91(_0x2e125f._0x2a38d6)](_0x104b91(_0x2e125f._0x27282c),[_0x54a6f1,_0x2f56e0]),this['maybeThrow']();}async[_0x2a65d9(0x1a7)](_0x26e2d1,_0x7476c0){const _0x4da82e=_0x2a65d9;this['record'](_0x4da82e(0x1a7),[_0x26e2d1,_0x7476c0]),this[_0x4da82e(0x19b)]();}async[_0x2a65d9(0x1ae)](_0x29be46,_0x765550,_0x2f1dc6){const _0x1cd5dd={_0x4ca583:0x19b},_0x56294d=_0x2a65d9;this['record']('selectOption',[_0x29be46,_0x765550,_0x2f1dc6]),this[_0x56294d(_0x1cd5dd._0x4ca583)]();}async['hover'](_0x5e7183,_0xda138b){const _0x16268b={_0x2bf859:0x19b},_0x106ee3=_0x2a65d9;this[_0x106ee3(0x19d)](_0x106ee3(0x1d2),[_0x5e7183,_0xda138b]),this[_0x106ee3(_0x16268b._0x2bf859)]();}async[_0x2a65d9(0x1a8)](_0xf2611f){const _0x346a50={_0x337b04:0x1a8},_0x3e542d=_0x2a65d9;this[_0x3e542d(0x19d)](_0x3e542d(_0x346a50._0x337b04),[_0xf2611f]),this[_0x3e542d(0x19b)]();}async[_0x2a65d9(0x170)](_0x2267f3,_0x5406f2,_0x4d70b2){const _0x1f0458=_0x2a65d9;this[_0x1f0458(0x19d)]('dragAndDrop',[_0x2267f3,_0x5406f2,_0x4d70b2]),this['maybeThrow']();}async[_0x2a65d9(0x19a)](_0xd1ce05,_0x2a657c){const _0x226be8={_0x4344b4:0x19a},_0x1d40cc=_0x2a65d9;this[_0x1d40cc(0x19d)](_0x1d40cc(_0x226be8._0x4344b4),[_0xd1ce05,_0x2a657c]),this[_0x1d40cc(0x19b)]();}async[_0x2a65d9(0x1af)](_0x12a6d1,_0x3e460f){const _0x3c2ed4={_0x4a48df:0x1af},_0x3c4f76=_0x2a65d9;this['record'](_0x3c4f76(_0x3c2ed4._0x4a48df),[_0x12a6d1,_0x3e460f]),this['maybeThrow']();}async[_0x2a65d9(0x1a0)](_0x256922){const _0x1a34ee={_0x1680eb:0x1d1},_0x5e2292=_0x2a65d9;return this[_0x5e2292(0x19d)](_0x5e2292(0x1a0),[_0x256922]),this[_0x5e2292(_0x1a34ee._0x1680eb)][_0x5e2292(0x181)]??0x1;}async[_0x2a65d9(0x193)](_0x3a0c4b){const _0x1ec0d0={_0x27bce0:0x1d1},_0x59374b=_0x2a65d9;return this[_0x59374b(0x19d)]('textContent',[_0x3a0c4b]),this[_0x59374b(_0x1ec0d0._0x27bce0)][_0x59374b(0x199)]??'';}async[_0x2a65d9(0x15a)](_0x1814f9){const _0x2106e0={_0x25f528:0x15a,_0x5d9843:0x1d1,_0x15dd4d:0x190,_0x36f80b:0x1d1},_0x476169=_0x2a65d9;return this[_0x476169(0x19d)](_0x476169(_0x2106e0._0x25f528),[_0x1814f9]),this[_0x476169(_0x2106e0._0x5d9843)][_0x476169(_0x2106e0._0x15dd4d)]??this[_0x476169(_0x2106e0._0x36f80b)]['textContentByDefault']??'';}async[_0x2a65d9(0x1d3)](_0x274635){const _0x37d894={_0x1a7b8b:0x1d3,_0xe1ab85:0x1d1,_0x374996:0x1b5},_0x23e666=_0x2a65d9;return this['record'](_0x23e666(_0x37d894._0x1a7b8b),[_0x274635]),this[_0x23e666(_0x37d894._0xe1ab85)][_0x23e666(_0x37d894._0x374996)]??'';}async[_0x2a65d9(0x1ca)](_0x368701){const _0x4163bf=_0x2a65d9;return this['record'](_0x4163bf(0x1ca),[_0x368701]),this[_0x4163bf(0x1d1)][_0x4163bf(0x1bf)]??null;}async[_0x2a65d9(0x187)](_0x5efeb0){const _0x487666={_0xe439e8:0x19d},_0x428ee6=_0x2a65d9;return this[_0x428ee6(_0x487666._0xe439e8)](_0x428ee6(0x187),[_0x5efeb0]),this['behavior']['isVisibleByDefault']??!![];}async[_0x2a65d9(0x1d8)](_0x1d2176){const _0x760198=_0x2a65d9;return this['record']('isDisabled',[_0x1d2176]),this['behavior'][_0x760198(0x1b8)]??![];}async[_0x2a65d9(0x1a4)](_0x3c52a9,_0x2b18a2){const _0x145027={_0x50a9f1:0x19d,_0x3c5fc8:0x1a4,_0x33c177:0x16f},_0x2543f8=_0x2a65d9;return this[_0x2543f8(_0x145027._0x50a9f1)](_0x2543f8(_0x145027._0x3c5fc8),[_0x3c52a9,_0x2b18a2]),this[_0x2543f8(0x1d1)][_0x2543f8(_0x145027._0x33c177)]?.[_0x2b18a2]??null;}async['waitFor'](_0x11766e,_0x217807){const _0x4737fd=_0x2a65d9;this['record'](_0x4737fd(0x189),[_0x11766e,_0x217807]);}async[_0x2a65d9(0x1c1)](_0x21b16f,_0x457f05){const _0x274e82={_0x4032c1:0x1c1},_0x178036=_0x2a65d9;this[_0x178036(0x19d)](_0x178036(_0x274e82._0x4032c1),[_0x21b16f,_0x457f05]);}async['waitForText'](_0x13debb,_0x3f4ece){const _0x134940={_0x31e472:0x19d},_0x535302=_0x2a65d9;this[_0x535302(_0x134940._0x31e472)](_0x535302(0x197),[_0x13debb,_0x3f4ece]);}async[_0x2a65d9(0x17c)](_0x4e9864){this['record']('waitForNavigation',[_0x4e9864]);}async[_0x2a65d9(0x163)](_0x196e6b,_0x35ae05){const _0x390e12={_0x331ce9:0x19d,_0x569ad6:0x163},_0x460655=_0x2a65d9;this[_0x460655(_0x390e12._0x331ce9)](_0x460655(_0x390e12._0x569ad6),[_0x196e6b,_0x35ae05]);}async['goto'](_0x26e113,_0x2264f7){const _0x26cc52=_0x2a65d9;this['record'](_0x26cc52(0x1c6),[_0x26e113,_0x2264f7]),this[_0x26cc52(0x1aa)]=_0x26e113;}async['reload'](_0x314159){const _0x22d0c1={_0x32c23b:0x19d},_0x151ef6=_0x2a65d9;this[_0x151ef6(_0x22d0c1._0x32c23b)](_0x151ef6(0x17e),[_0x314159]);}async[_0x2a65d9(0x16a)](_0x10362d){const _0x38401a=_0x2a65d9;this[_0x38401a(0x19d)](_0x38401a(0x16a),[_0x10362d]);}async[_0x2a65d9(0x16e)](_0x196bc8){const _0x1356c8={_0x1a0578:0x19d},_0x59aa55=_0x2a65d9;this[_0x59aa55(_0x1356c8._0x1a0578)](_0x59aa55(0x16e),[_0x196bc8]);}async['evaluate'](_0x4a142a){const _0x33c61f=_0x2a65d9;return this['record'](_0x33c61f(0x19f),[_0x4a142a]),void 0x0;}async['evaluateOnLocator'](_0x1900bd,_0x1462a6){const _0x1fe6e2={_0x1a5a28:0x19d,_0x33a7b6:0x15e},_0x5ffbf6=_0x2a65d9;return this[_0x5ffbf6(_0x1fe6e2._0x1a5a28)](_0x5ffbf6(_0x1fe6e2._0x33a7b6),[_0x1900bd,_0x1462a6]),void 0x0;}async['inspectElement'](_0x594e0a){const _0x4de92d={_0x487f86:0x168,_0x194864:0x1cc,_0x538031:0x191,_0x553839:0x1b2},_0x1cfd63=_0x2a65d9;this[_0x1cfd63(0x19d)](_0x1cfd63(0x188),[_0x594e0a]);if(_0x594e0a['steps'][_0x1cfd63(_0x4de92d._0x487f86)]!==0x1||_0x594e0a[_0x1cfd63(_0x4de92d._0x194864)][0x0]['kind']!==_0x1cfd63(_0x4de92d._0x538031))return null;const _0x444e53=_0x594e0a[_0x1cfd63(_0x4de92d._0x194864)][0x0]['ref'],_0x59fc3a=this[_0x1cfd63(0x1d1)][_0x1cfd63(_0x4de92d._0x553839)]?.[_0x444e53];return _0x59fc3a??null;}async[_0x2a65d9(0x196)](_0x4cbb67){const _0x30f795={_0x1cd12e:0x196},_0x393b52=_0x2a65d9;return this['record'](_0x393b52(_0x30f795._0x1cd12e),[_0x4cbb67]),Buffer[_0x393b52(0x1a1)](_0x393b52(0x1bb));}async[_0x2a65d9(0x198)](_0x3f9038){const _0x25fb6e={_0x3cfb4c:0x1cc,_0x26cf05:0x191,_0x180f68:0x1cc,_0x2ea524:0x191,_0x4c9061:0x1d1,_0x555516:0x18b,_0x330925:0x1d7,_0x5bd19e:0x172},_0x156312=_0x2a65d9;this[_0x156312(0x19d)](_0x156312(0x198),[_0x3f9038]);if(_0x3f9038['steps'][_0x156312(0x168)]===0x1&&_0x3f9038[_0x156312(_0x25fb6e._0x3cfb4c)][0x0][_0x156312(0x1b9)]===_0x156312(_0x25fb6e._0x26cf05)){const _0x1727d8=_0x3f9038[_0x156312(_0x25fb6e._0x180f68)][0x0][_0x156312(_0x25fb6e._0x2ea524)];return this[_0x156312(_0x25fb6e._0x4c9061)][_0x156312(0x1c9)]?.[_0x1727d8]??_0x156312(_0x25fb6e._0x555516)+_0x1727d8+_0x156312(_0x25fb6e._0x330925);}return _0x156312(_0x25fb6e._0x5bd19e);}},FakeContext=class{constructor(_0x5e62dc,_0x42949c,_0xcc112d){const _0x16c157={_0x1f2ece:0x1cb,_0x4dad27:0x1a6,_0x5e0c6a:0x17d,_0x1d2aac:0x175,_0x1ae5ac:0x19c,_0x56bb9b:0x15b},_0x5f3405=_0x2a65d9;this['recorder']=_0x5e62dc,this[_0x5f3405(0x1d1)]=_0x42949c,this[_0x5f3405(_0x16c157._0x1f2ece)]=_0xcc112d;const _0x2789ca=new FakePage(_0x5e62dc,_0x42949c,_0xcc112d+'.page0',_0x42949c[_0x5f3405(_0x16c157._0x4dad27)]??'about:blank');_0x42949c[_0x5f3405(_0x16c157._0x5e0c6a)]&&(_0x2789ca[_0x5f3405(0x1c4)]=()=>{const _0x11b343=_0x5f3405;this[_0x11b343(0x1d0)](_0x42949c['popupOnClick']);}),this[_0x5f3405(_0x16c157._0x1d2aac)]=[_0x2789ca],this['localStorageState']={..._0x42949c[_0x5f3405(_0x16c157._0x1ae5ac)]??{}},this[_0x5f3405(_0x16c157._0x56bb9b)]={..._0x42949c[_0x5f3405(0x1bc)]??{}};}[_0x2a65d9(0x1be)];[_0x2a65d9(0x1d1)];[_0x2a65d9(0x1cb)];static{__name(this,_0x2a65d9(0x173));}[_0x2a65d9(0x175)];[_0x2a65d9(0x15d)]=0x0;[_0x2a65d9(0x18e)]=[];[_0x2a65d9(0x1c3)];['cookieState'];[_0x2a65d9(0x1ab)]=new Set();[_0x2a65d9(0x19d)](_0x376ca4,_0xe46cfd){const _0x1400f0={_0x25ae25:0x1be,_0x5b0cf5:0x1ac,_0x5e00b8:0x1cb},_0x1aff51=_0x2a65d9;this[_0x1aff51(_0x1400f0._0x25ae25)][_0x1aff51(_0x1400f0._0x5b0cf5)]({'scope':this[_0x1aff51(_0x1400f0._0x5e00b8)],'method':_0x376ca4,'args':_0xe46cfd});}[_0x2a65d9(0x1b6)](){const _0x385395={_0x302414:0x175},_0x359cd1=_0x2a65d9;return this[_0x359cd1(_0x385395._0x302414)];}[_0x2a65d9(0x179)](){const _0x520108={_0x36be53:0x160},_0x125eeb=_0x2a65d9,_0xa56370=this['pageList'][this[_0x125eeb(0x15d)]];if(!_0xa56370)throw new DriverError(_0x125eeb(_0x520108._0x36be53),{'activeIdx':this[_0x125eeb(0x15d)]});return _0xa56370;}[_0x2a65d9(0x195)](){const _0x2d418c=_0x2a65d9;return this[_0x2d418c(0x1d1)][_0x2d418c(0x195)]??[];}['networkEntries'](){const _0x50c459={_0x117c83:0x1d1},_0x1e0652=_0x2a65d9;return this[_0x1e0652(_0x50c459._0x117c83)][_0x1e0652(0x1c8)]??[];}async[_0x2a65d9(0x1cf)](_0x4f2726){const _0x1b2d2f={_0x2fc339:0x19d,_0x157496:0x15d},_0x43c603=_0x2a65d9;this[_0x43c603(_0x1b2d2f._0x2fc339)]('setActivePage',[_0x4f2726]);if(_0x4f2726<0x0||_0x4f2726>=this[_0x43c603(0x175)]['length'])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x4f2726,'available':this[_0x43c603(0x175)][_0x43c603(0x168)]});this[_0x43c603(_0x1b2d2f._0x157496)]=_0x4f2726,this['frameStack']['length']=0x0;}['onNewPage'](_0x13f73a){return subscribe(this['newPageListeners'],_0x13f73a);}[_0x2a65d9(0x1d0)](_0x4b7865){const _0x1e6b05={_0x432c7f:0x185,_0x40f889:0x168,_0x13d298:0x1d1},_0x110b87=_0x2a65d9,_0x4e3794=this[_0x110b87(0x1cb)]+_0x110b87(_0x1e6b05._0x432c7f)+this[_0x110b87(0x175)][_0x110b87(_0x1e6b05._0x40f889)],_0x39c412=new FakePage(this[_0x110b87(0x1be)],this[_0x110b87(_0x1e6b05._0x13d298)],_0x4e3794,_0x4b7865);this[_0x110b87(0x175)]['push'](_0x39c412);const _0x51c851=this[_0x110b87(0x175)][_0x110b87(0x168)]-0x1;for(const _0x14fbb4 of this['newPageListeners']){try{_0x14fbb4({'index':_0x51c851,'url':_0x4b7865});}catch{}}return _0x51c851;}[_0x2a65d9(0x169)](_0x1df27f){const _0x3739a4={_0x1680b9:0x1c7,_0x3e1bb:0x164},_0x31a984=_0x2a65d9;if(_0x1df27f<0x0||_0x1df27f>=this[_0x31a984(0x175)]['length'])throw new DriverError(_0x31a984(_0x3739a4._0x1680b9),{'index':_0x1df27f,'available':this['pageList']['length']});this['pageList'][_0x31a984(_0x3739a4._0x3e1bb)](_0x1df27f,0x1);}async[_0x2a65d9(0x1a9)](_0x17eace){const _0x11530f={_0xe756bf:0x1cc,_0x2dc16e:0x168,_0x51f163:0x1bd,_0x367dac:0x1ac},_0x4b1265=_0x2a65d9;this[_0x4b1265(0x19d)](_0x4b1265(0x1a9),[_0x17eace]);if(!_0x17eace[_0x4b1265(_0x11530f._0xe756bf)][_0x4b1265(_0x11530f._0x2dc16e)])throw new LocatorError(_0x4b1265(_0x11530f._0x51f163),{'locator':_0x17eace});this['frameStack'][_0x4b1265(_0x11530f._0x367dac)](_0x17eace);}async[_0x2a65d9(0x1ba)](){const _0x543da6={_0x368255:0x19d,_0x2e767f:0x1ba,_0x46b670:0x184,_0x476000:0x18e,_0x4b72d3:0x19e},_0x254a0e=_0x2a65d9;this[_0x254a0e(_0x543da6._0x368255)](_0x254a0e(_0x543da6._0x2e767f),[]);if(this[_0x254a0e(0x18e)][_0x254a0e(0x168)]===0x0)throw new DriverError(_0x254a0e(_0x543da6._0x46b670),{});this[_0x254a0e(_0x543da6._0x476000)][_0x254a0e(_0x543da6._0x4b72d3)]();}async['setLocalStorage'](_0x5e9b06,_0x45c80f){const _0x4683ad={_0x36cca7:0x19d,_0x52bc3f:0x194},_0x2f663f=_0x2a65d9;this[_0x2f663f(_0x4683ad._0x36cca7)](_0x2f663f(_0x4683ad._0x52bc3f),[_0x5e9b06,_0x45c80f]),this[_0x2f663f(0x1c3)][_0x5e9b06]=_0x45c80f;}async[_0x2a65d9(0x18c)](_0x30fb01){const _0x467e24={_0x16be8c:0x1c3},_0x2ca18e=_0x2a65d9;return this[_0x2ca18e(0x19d)](_0x2ca18e(0x18c),[_0x30fb01]),this[_0x2ca18e(_0x467e24._0x16be8c)][_0x30fb01]??null;}async['setCookie'](_0x2299e0,_0x313512,_0x34f965){const _0x2e7863={_0x4c538e:0x19d,_0x33a7fe:0x180},_0x41d0b7=_0x2a65d9;this[_0x41d0b7(_0x2e7863._0x4c538e)](_0x41d0b7(_0x2e7863._0x33a7fe),[_0x2299e0,_0x313512,_0x34f965]),this[_0x41d0b7(0x15b)][_0x2299e0]=_0x313512;}async[_0x2a65d9(0x1d6)](_0x10aecf){const _0x4c99f3=_0x2a65d9;return this[_0x4c99f3(0x19d)](_0x4c99f3(0x1d6),[_0x10aecf]),this['cookieState'][_0x10aecf]??null;}async[_0x2a65d9(0x1a2)](_0x29f56e){const _0x403cd1=_0x2a65d9;this['record'](_0x403cd1(0x1a2),[_0x29f56e]);}async[_0x2a65d9(0x19f)](_0x4ee16e){const _0x32358a={_0x29a1dc:0x19f},_0x12d5c3=_0x2a65d9;return this['record'](_0x12d5c3(_0x32358a._0x29a1dc),[_0x4ee16e]),void 0x0;}async[_0x2a65d9(0x1cd)](){const _0x3e5432=_0x2a65d9;this[_0x3e5432(0x19d)](_0x3e5432(0x1cd),[]);}[_0x2a65d9(0x165)](){const _0x44bde5={_0x41e56d:0x18e},_0x2bcdaa=_0x2a65d9;return this[_0x2bcdaa(_0x44bde5._0x41e56d)][_0x2bcdaa(0x168)];}},FakeWebDriver=class{constructor(_0x4412e7={}){const _0x1aec4f=_0x2a65d9;this['behavior']=_0x4412e7,this[_0x1aec4f(0x1be)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x2a65d9(0x17f)]=![];[_0x2a65d9(0x1be)];[_0x2a65d9(0x17b)]=[];async[_0x2a65d9(0x183)](_0x34be81){const _0x527741={_0x2fe53b:0x1be,_0x597127:0x1b7},_0x232d7d=_0x2a65d9;this[_0x232d7d(_0x527741._0x2fe53b)][_0x232d7d(0x1ac)]({'scope':_0x232d7d(_0x527741._0x597127),'method':'launch','args':[_0x34be81]}),this[_0x232d7d(0x17f)]=!![];}async[_0x2a65d9(0x1a3)](_0xf1e338){const _0x7fb7ad={_0x3d538f:0x1be,_0x176944:0x17a,_0x3d7ffd:0x17b,_0x5740c7:0x1ac},_0x19141b=_0x2a65d9;this[_0x19141b(_0x7fb7ad._0x3d538f)][_0x19141b(0x1ac)]({'scope':_0x19141b(0x1b7),'method':_0x19141b(0x1a3),'args':[_0xf1e338]});if(!this[_0x19141b(0x17f)])throw new DriverError(_0x19141b(0x171),{});const _0x14451a=new FakeContext(this['recorder'],this[_0x19141b(0x1d1)],_0x19141b(_0x7fb7ad._0x176944)+this['contexts']['length']);return this[_0x19141b(_0x7fb7ad._0x3d7ffd)][_0x19141b(_0x7fb7ad._0x5740c7)](_0x14451a),_0x14451a;}async['close'](){const _0xcdec26={_0x254f47:0x1be,_0x82fa4:0x1cd,_0x24e5de:0x17f},_0x24fed3=_0x2a65d9;this[_0x24fed3(_0xcdec26._0x254f47)]['push']({'scope':'driver','method':_0x24fed3(_0xcdec26._0x82fa4),'args':[]}),this[_0x24fed3(_0xcdec26._0x24e5de)]=![];}[_0x2a65d9(0x176)](){return void 0x0;}async[_0x2a65d9(0x15f)](){const _0x22f174={_0x189466:0x18a},_0x2470fa=_0x2a65d9;throw new DriverError(_0x2470fa(_0x22f174._0x189466),{});}[_0x2a65d9(0x182)](){const _0x4918ea=_0x2a65d9;throw new DriverError(_0x4918ea(0x162),{});}[_0x2a65d9(0x166)](){const _0x20e5bf={_0x1b8e5a:0x166},_0x3df7b9=_0x2a65d9;return this['recorder'][_0x3df7b9(_0x20e5bf._0x1b8e5a)]();}['callsFor'](_0xdbac60){const _0x4e8501={_0x53089f:0x1be,_0x7b36aa:0x166},_0x1a2af1=_0x2a65d9;return this[_0x1a2af1(_0x4e8501._0x53089f)][_0x1a2af1(_0x4e8501._0x7b36aa)]()[_0x1a2af1(0x174)](_0x42c304=>_0x42c304[_0x1a2af1(0x1c5)]===_0xdbac60);}};export{FakeWebDriver};function _0x1fc2(){const _0x554740=['AxneAxnHyMXLzej5rgvMyxvSDa','A2LUza','zxHPDezYyw1L','zMfRzs1WBMC','y29VA2LLCW','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','CMvJB3jKzxi','y2HLy2TLzfn0yxrLqNLezwzHDwX0','mZztv1HjBxm','D2fPDezVCLvYBa','y2HLy2S','Bg9JywXtDg9YywDLu3rHDgu','B25bzNrLCKnSAwnR','Bwv0Ag9K','z290BW','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','BMv0D29YA0vUDhjPzxm','B3v0zxjiDg1SqNLszwy','y2HLy2TLzfn0yxrL','C2nVCgu','C3rLChm','y2XVC2u','ywrK','C2v0qwn0AxzLugfNzq','zw1PDezHA2vqB3b1Ca','yMvOyxzPB3i','Ag92zxi','Aw5WDxrwywX1zq','DxjS','zMfRzsb0AxrSzq','z2v0q29VA2LL','iJ48l2rPDJ4','AxneAxnHyMXLza','Aw5UzxjuzxH0','y29VA2LLu3rHDgu','mtH1AMzpv1q','ywn0AxzLswr4','zxzHBhvHDgvpBKXVy2f0B3i','y29UBMvJDfnOyxjLza','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','y2XPy2S','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','D2fPDezVCKXVywrtDgf0zq','C3bSAwnL','zNjHBwvezxb0Aa','y2fSBhm','zg91yMXLq2XPy2S','BgvUz3rO','y2XVC2vgywTLugfNzq','z29cywnR','nJmZmZKZnKnwy05wsq','rMfRzvbHz2u','ChjLC3m','z29gB3j3yxjK','yxr0CMLIDxrLC0j5rgvMyxvSDa','zhjHz0fUzerYB3a','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','pgrPDJ48l2rPDJ4','rMfRzunVBNrLEhq','zMLSDgvY','CgfNzuXPC3q','D3nfBMrWB2LUDa','mtu1nJmXmfnMwgzRAq','mZaXodu0oeHUwfjUBq','ywn0AxzLugfNzq','y3r4','y29UDgv4Dhm','D2fPDezVCK5HDMLNyxrPB24','Cg9WDxbpBKnSAwnR','CMvSB2fK','Bgf1BMnOzwq','C2v0q29VA2LL','y291BNrcEurLzMf1Bhq','yxr0ywnOrxHPC3rPBMC','Bgf1BMnO','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','lNbHz2u','BMfTzq','AxnwAxnPyMXL','Aw5ZCgvJDevSzw1LBNq','D2fPDezVCG','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','z2v0tg9JywXtDg9YywDL','ntGWnJq4EuTntenc','zNjHBwvtDgfJAW','rhjPDMvYrxjYB3i','Aw5UzxjuzxH0qNLezwzHDwX0','CMvM','mtK2ntC5mLb6whPcCG','Dgv4DenVBNrLBNq','C2v0tg9JywXtDg9YywDL','y29UC29SzuvUDhjPzxm','C2nYzwvUC2HVDa','D2fPDezVCLrLEhq','B3v0zxjive1m','Dgv4DenVBNrLBNrcEurLzMf1Bhq','DxbSB2fKrMLSzq','Bwf5yMvuAhjVDW','Bg9JywXtDg9YywDL','CMvJB3jK','Cg9W','zxzHBhvHDgu','y291BNq','zNjVBq','C2f2zvn0B3jHz2vtDgf0zq','BMv3q29UDgv4Da','z2v0qxr0CMLIDxrL','zgvMAw5LuhjVCgvYDhK','Aw5PDgLHBfvYBa','Dw5JAgvJAW','C2nYB2XSsw50B1zPzxC','zw50zxjgCMfTzq','y3vYCMvUDfvYBa','BMv3ugfNzuXPC3rLBMvYCW','ChvZAa','zxjYB3jpBK5LEhrby3rPB24','C2vSzwn0t3b0Aw9U','y2XPCgjVyxjKugfZDgu','ota5mtm2t0z1rKHk','mtK4odyZmwr1AeHOwq','zwXLBwvUDeHPBNrcEvjLzG','zMLSBa','DgL0Bgu','Aw5WDxrwywX1zuj5rgvMyxvSDa','CgfNzxm','zhjPDMvY'];_0x1fc2=function(){return _0x554740;};return _0x1fc2();}
1
+ const _0x16c074=_0x7c15;function _0x7c15(_0xa87c37,_0x2a39b7){_0xa87c37=_0xa87c37-0x12d;const _0x24f9c6=_0x24f9();let _0x7c154a=_0x24f9c6[_0xa87c37];if(_0x7c15['ehINWC']===undefined){var _0x1cb1cd=function(_0x1c09a2){const _0x2a68c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x235a7c='',_0x4266a8='';for(let _0x42cfb7=0x0,_0x372379,_0x4b9172,_0x5e7eec=0x0;_0x4b9172=_0x1c09a2['charAt'](_0x5e7eec++);~_0x4b9172&&(_0x372379=_0x42cfb7%0x4?_0x372379*0x40+_0x4b9172:_0x4b9172,_0x42cfb7++%0x4)?_0x235a7c+=String['fromCharCode'](0xff&_0x372379>>(-0x2*_0x42cfb7&0x6)):0x0){_0x4b9172=_0x2a68c9['indexOf'](_0x4b9172);}for(let _0x1244de=0x0,_0x204f7e=_0x235a7c['length'];_0x1244de<_0x204f7e;_0x1244de++){_0x4266a8+='%'+('00'+_0x235a7c['charCodeAt'](_0x1244de)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4266a8);};_0x7c15['rHayec']=_0x1cb1cd,_0x7c15['xhMZdR']={},_0x7c15['ehINWC']=!![];}const _0x2d97b8=_0x24f9c6[0x0],_0x4b0cb8=_0xa87c37+_0x2d97b8,_0x4891a7=_0x7c15['xhMZdR'][_0x4b0cb8];return!_0x4891a7?(_0x7c154a=_0x7c15['rHayec'](_0x7c154a),_0x7c15['xhMZdR'][_0x4b0cb8]=_0x7c154a):_0x7c154a=_0x4891a7,_0x7c154a;}(function(_0x130b96,_0x50de3c){const _0x1e4ee8={_0xec422b:0x199,_0x1085bd:0x15c,_0x176409:0x179,_0x16d61f:0x194,_0x4fc65a:0x155},_0x2b971e=_0x7c15,_0x5aa858=_0x130b96();while(!![]){try{const _0x252741=-parseInt(_0x2b971e(_0x1e4ee8._0xec422b))/0x1*(parseInt(_0x2b971e(_0x1e4ee8._0x1085bd))/0x2)+parseInt(_0x2b971e(0x144))/0x3+-parseInt(_0x2b971e(0x14d))/0x4*(-parseInt(_0x2b971e(0x12f))/0x5)+-parseInt(_0x2b971e(_0x1e4ee8._0x176409))/0x6*(parseInt(_0x2b971e(0x150))/0x7)+-parseInt(_0x2b971e(_0x1e4ee8._0x16d61f))/0x8+parseInt(_0x2b971e(0x14e))/0x9+parseInt(_0x2b971e(_0x1e4ee8._0x4fc65a))/0xa*(parseInt(_0x2b971e(0x19b))/0xb);if(_0x252741===_0x50de3c)break;else _0x5aa858['push'](_0x5aa858['shift']());}catch(_0x171db9){_0x5aa858['push'](_0x5aa858['shift']());}}}(_0x24f9,0xd9df4));var __defProp=Object[_0x16c074(0x15f)],__name=(_0x235a7c,_0x4266a8)=>__defProp(_0x235a7c,_0x16c074(0x1a2),{'value':_0x4266a8,'configurable':!![]});function subscribe(_0x42cfb7,_0x372379){const _0x5315b2=_0x16c074;return _0x42cfb7[_0x5315b2(0x137)](_0x372379),()=>{const _0x18b797=_0x5315b2;_0x42cfb7[_0x18b797(0x167)](_0x372379);};}__name(subscribe,_0x16c074(0x197));import{UnotestError}from'@unotest/core';function _0x24f9(){const _0x3600d1=['ywrK','z29gB3j3yxjK','Bwv0Ag9K','ywn0AxzLswr4','z2v0q29VA2LL','rMfRzunVBNrLEhq','Ag92zxi','D2fPDezVCLvYBa','CMvM','iJ48l2rPDJ4','zxzHBhvHDgvpBKXVy2f0B3i','D3nfBMrWB2LUDa','zMLSBa','mZaWmtKZnwfMChfbwG','Cg9WDxbpBKnSAwnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','CgfNzxm','AxneAxnHyMXLzej5rgvMyxvSDa','AxnwAxnPyMXL','Bg9JywXtDg9YywDL','zMfRzs1WBMC','mJa4mZzSs1PgCvi','nJq2nZiWmLzVzu9htq','ChvZAa','n1bqrMvnsG','DxjS','Cg9W','y2HLy2TLzfn0yxrL','C2nVCgu','ndmYntbpCu9Nwha','DxbSB2fKrMLSzq','BgvUz3rO','CMvSB2fK','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','DgL0Bgu','zg91yMXLq2XPy2S','mJa1otq2mMnjsLbMtq','z2v0tg9JywXtDg9YywDL','Dgv4DenVBNrLBNq','zgvMAw5LuhjVCgvYDhK','C2nYB2XSsw50B1zPzxC','Aw5WDxrwywX1zq','C2v0tg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','BMv3q29UDgv4Da','BMv3ugfNzuXPC3rLBMvYCW','yMvOyxzPB3i','zgvSzxrL','z2v0qxr0CMLIDxrL','C2vSzwn0t3b0Aw9U','yxr0ywnOrxHPC3rPBMC','zxHPDezYyw1L','Aw5PDgLHBfvYBa','Bgf1BMnOzwq','B3v0zxjiDg1SqNLszwy','zhjHz0fUzerYB3a','C2f2zvn0B3jHz2vtDgf0zq','y29VA2LLu3rHDgu','y2XVC2u','lNbHz2uW','y2XPCgjVyxjKugfZDgu','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','C2v0qwn0AxzLugfNzq','Dw5JAgvJAW','mtaXmdGZmZH4shL0z1m','A2LUza','CMvJB3jKzxi','D2fPDezVCG','ChjLC3m','y2fSBhm','y3vYCMvUDfvYBa','y291BNrcEurLzMf1Bhq','y2HLy2S','zxjYB3jpBK5LEhrby3rPB24','B3v0zxjive1m','rMfRzvbHz2u','Bwf5yMvuAhjVDW','rhjPDMvYrxjYB3i','CMvJB3jK','C3rLChm','y2fSBhngB3i','zNjHBwvtDgfJAW','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzuXPC3q','Aw5WDxrwywX1zuj5rgvMyxvSDa','B25bzNrLCKnSAwnR','z29cywnR','ywjVDxq6yMXHBMS','D2fPDezVCK5HDMLNyxrPB24','y3r4','zw1PDezHA2vqB3b1Ca','mta5ndC5otjvrNnluve','pgrPDJ48l2rPDJ4','Bgf1BMnO','C3vIC2nYAwjL','Aw5UzxjuzxH0qNLezwzHDwX0','mvjusfv3Aa','y3jLyxrLuMvJB3jKzxi','nJi4mwfPAer0qq','tg9JyxrVCKvYCM9Y','zxzHBhvHDgu','D2fPDezVCLrLEhq','zNjVBq','C2v0q29VA2LL','B25ozxDqywDL','BMfTzq','Aw5ZCgvJDevSzw1LBNq','Aw5UzxjuzxH0','C3bSAwnL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y2HLy2TLzfn0yxrLqNLezwzHDwX0','rMfRzvDLyKrYAxzLCG','Dgv4DenVBNrLBNrcEurLzMf1Bhq','C2nYzwvUC2HVDa','y29UDgv4Dhm','zMLSDgvY','AxneAxnHyMXLza','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','zhjPDMvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zw50zxjgCMfTzq','nZu1AMfXEhfz','y29VA2LLCW','y291BNq','Bg9JywXtDg9YywDLu3rHDgu','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y29UC29SzuvUDhjPzxm','y2XPy2S','zNjHBwvezxb0Aa'];_0x24f9=function(){return _0x3600d1;};return _0x24f9();}var DriverError=class extends UnotestError{static{__name(this,_0x16c074(0x186));}},LocatorError=class extends UnotestError{static{__name(this,_0x16c074(0x19c));}};function createRecorder(){const _0x2d1d7d={_0x55921e:0x17e},_0x304c3a=_0x16c074,_0x4b9172=[];let _0x5e7eec=0x0;return{'push':__name(_0x1244de=>_0x4b9172[_0x304c3a(0x14f)]({..._0x1244de,'seq':_0x5e7eec++}),_0x304c3a(0x14f)),'calls':__name(()=>_0x4b9172,_0x304c3a(_0x2d1d7d._0x55921e))};}__name(createRecorder,_0x16c074(0x19a));var FakePage=class{constructor(_0x204f7e,_0x573528,_0x2d85b8,_0x177eb4){const _0x480b0d={_0x36bf95:0x17b,_0x4612b8:0x166,_0x44ef94:0x154},_0x257a06=_0x16c074;this[_0x257a06(_0x480b0d._0x36bf95)]=_0x204f7e,this[_0x257a06(_0x480b0d._0x4612b8)]=_0x573528,this[_0x257a06(_0x480b0d._0x44ef94)]=_0x2d85b8,this[_0x257a06(0x17f)]=_0x177eb4;}['recorder'];[_0x16c074(0x166)];[_0x16c074(0x154)];static{__name(this,_0x16c074(0x184));}[_0x16c074(0x17f)];[_0x16c074(0x18e)];[_0x16c074(0x187)](_0x196cb7,_0x309900){const _0xd03fe={_0x5ac3eb:0x17b,_0x59b7b2:0x154},_0x11f528=_0x16c074;this[_0x11f528(_0xd03fe._0x5ac3eb)][_0x11f528(0x14f)]({'scope':this[_0x11f528(_0xd03fe._0x59b7b2)],'method':_0x196cb7,'args':_0x309900});}['maybeThrow'](){const _0x4cb94e={_0x29f0e4:0x166,_0x30942e:0x182},_0x503ddf=_0x16c074;if(this['behavior']['errorOnNextAction']){const _0x2e8835=this[_0x503ddf(_0x4cb94e._0x29f0e4)][_0x503ddf(_0x4cb94e._0x30942e)];this[_0x503ddf(_0x4cb94e._0x29f0e4)][_0x503ddf(0x182)]=void 0x0;throw _0x2e8835;}}[_0x16c074(0x151)](){const _0x2c7d1c=_0x16c074;return this[_0x2c7d1c(0x17f)];}async['title'](){const _0x664642={_0x225c17:0x15a},_0x2e1f79=_0x16c074;return this[_0x2e1f79(0x187)](_0x2e1f79(_0x664642._0x225c17),[]),'fake\x20title';}async[_0x16c074(0x135)](_0xbf042e,_0x2826e7){const _0x39a604={_0x1cecd:0x185,_0x4f1223:0x18e},_0x354ec5=_0x16c074;this['record'](_0x354ec5(0x135),[_0xbf042e,_0x2826e7]),this[_0x354ec5(_0x39a604._0x1cecd)](),this[_0x354ec5(_0x39a604._0x4f1223)]?.();}async['doubleClick'](_0x559be9,_0x5280e3){const _0x259eb7={_0x2b1c9f:0x187,_0xd52e9b:0x15b},_0x48068a=_0x16c074;this[_0x48068a(_0x259eb7._0x2b1c9f)](_0x48068a(_0x259eb7._0xd52e9b),[_0x559be9,_0x5280e3]),this[_0x48068a(0x185)]();}async[_0x16c074(0x143)](_0x3cbd1d,_0x252ca6,_0x238bff){const _0x4ae75f={_0x129486:0x143},_0x235395=_0x16c074;this[_0x235395(0x187)](_0x235395(_0x4ae75f._0x129486),[_0x3cbd1d,_0x252ca6,_0x238bff]),this[_0x235395(0x185)]();}async[_0x16c074(0x17d)](_0x35eacd,_0x341585,_0x4fc61a){this['record']('press',[_0x35eacd,_0x341585,_0x4fc61a]),this['maybeThrow']();}async[_0x16c074(0x181)](_0x5e89eb,_0x53cbb3){const _0x3c1993={_0x2edcce:0x187,_0x406a3f:0x181},_0x31b170=_0x16c074;this[_0x31b170(_0x3c1993._0x2edcce)](_0x31b170(_0x3c1993._0x406a3f),[_0x5e89eb,_0x53cbb3]),this[_0x31b170(0x185)]();}async[_0x16c074(0x178)](_0xdbd98e,_0x2aa2a0){const _0x31aeac={_0x169ef4:0x187,_0x2595f7:0x185},_0x2e86ff=_0x16c074;this[_0x2e86ff(_0x31aeac._0x169ef4)]('uncheck',[_0xdbd98e,_0x2aa2a0]),this[_0x2e86ff(_0x31aeac._0x2595f7)]();}async[_0x16c074(0x169)](_0x5c091a,_0x11ff92,_0x353707){const _0x31ff45=_0x16c074;this['record'](_0x31ff45(0x169),[_0x5c091a,_0x11ff92,_0x353707]),this['maybeThrow']();}async[_0x16c074(0x13d)](_0x2abf4d,_0x3e81e7){const _0x70d33b={_0xfad269:0x13d,_0x28502a:0x185},_0x216f57=_0x16c074;this[_0x216f57(0x187)](_0x216f57(_0x70d33b._0xfad269),[_0x2abf4d,_0x3e81e7]),this[_0x216f57(_0x70d33b._0x28502a)]();}async[_0x16c074(0x160)](_0x15469f){const _0x50b51a=_0x16c074;this[_0x50b51a(0x187)](_0x50b51a(0x160),[_0x15469f]),this[_0x50b51a(0x185)]();}async[_0x16c074(0x16f)](_0x5aa551,_0x51311c,_0x272215){const _0x5dd3fc={_0x1bf612:0x16f,_0x27ebd4:0x185},_0x2fda37=_0x16c074;this['record'](_0x2fda37(_0x5dd3fc._0x1bf612),[_0x5aa551,_0x51311c,_0x272215]),this[_0x2fda37(_0x5dd3fc._0x27ebd4)]();}async['uploadFile'](_0x1a15bf,_0x365c79){const _0x375e22={_0x2af062:0x185},_0x3d5fb4=_0x16c074;this[_0x3d5fb4(0x187)](_0x3d5fb4(0x156),[_0x1a15bf,_0x365c79]),this[_0x3d5fb4(_0x375e22._0x2af062)]();}async[_0x16c074(0x174)](_0x6ebb79,_0x5bdb04){this['record']('clipboardPaste',[_0x6ebb79,_0x5bdb04]),this['maybeThrow']();}async[_0x16c074(0x131)](_0x5a5460){const _0x27daf8={_0x4b972a:0x180},_0x492102=_0x16c074;return this['record'](_0x492102(0x131),[_0x5a5460]),this[_0x492102(0x166)][_0x492102(_0x27daf8._0x4b972a)]??0x1;}async[_0x16c074(0x15e)](_0x21117a){const _0x1a97bb={_0x39ba07:0x187,_0x26f0e9:0x166,_0x7a43f3:0x1a9},_0x5e1ac1=_0x16c074;return this[_0x5e1ac1(_0x1a97bb._0x39ba07)](_0x5e1ac1(0x15e),[_0x21117a]),this[_0x5e1ac1(_0x1a97bb._0x26f0e9)][_0x5e1ac1(_0x1a97bb._0x7a43f3)]??'';}async[_0x16c074(0x1a4)](_0x2fe353){const _0x292a64={_0x5e6078:0x187,_0xb3b8d6:0x166,_0x1624a3:0x198,_0x301a17:0x1a9},_0xb0c07a=_0x16c074;return this[_0xb0c07a(_0x292a64._0x5e6078)](_0xb0c07a(0x1a4),[_0x2fe353]),this[_0xb0c07a(_0x292a64._0xb3b8d6)][_0xb0c07a(_0x292a64._0x1624a3)]??this['behavior'][_0xb0c07a(_0x292a64._0x301a17)]??'';}async[_0x16c074(0x161)](_0x1a4ff8){const _0x130dc1={_0x13080a:0x161,_0x5ac6ce:0x166},_0x8ae2ea=_0x16c074;return this[_0x8ae2ea(0x187)](_0x8ae2ea(_0x130dc1._0x13080a),[_0x1a4ff8]),this[_0x8ae2ea(_0x130dc1._0x5ac6ce)][_0x8ae2ea(0x18d)]??'';}async[_0x16c074(0x153)](_0x32cd16){const _0x3c6bc1={_0x392b16:0x153},_0x59fa56=_0x16c074;return this[_0x59fa56(0x187)](_0x59fa56(_0x3c6bc1._0x392b16),[_0x32cd16]),this[_0x59fa56(0x166)][_0x59fa56(0x1a7)]??null;}async['isVisible'](_0x40595c){const _0x44350e=_0x16c074;return this['record'](_0x44350e(0x14a),[_0x40595c]),this[_0x44350e(0x166)][_0x44350e(0x18b)]??!![];}async[_0x16c074(0x1ad)](_0x21b2fa){const _0x3c021c={_0x406df4:0x1ad},_0x4510a8=_0x16c074;return this['record'](_0x4510a8(_0x3c021c._0x406df4),[_0x21b2fa]),this['behavior'][_0x4510a8(0x149)]??![];}async[_0x16c074(0x168)](_0x31e204,_0x190c89){const _0x2543cf={_0x5c4a76:0x187},_0x566696=_0x16c074;return this[_0x566696(_0x2543cf._0x5c4a76)](_0x566696(0x168),[_0x31e204,_0x190c89]),this['behavior']['attributesByDefault']?.[_0x190c89]??null;}async[_0x16c074(0x17c)](_0x1420cf,_0x44e7fa){const _0x234ff0={_0x3f236e:0x17c},_0x25f2d0=_0x16c074;this[_0x25f2d0(0x187)](_0x25f2d0(_0x234ff0._0x3f236e),[_0x1420cf,_0x44e7fa]);}async[_0x16c074(0x13e)](_0x2ff3c3,_0x8f5dd1){const _0x3b53e4={_0x1dc8ec:0x13e},_0x542d33=_0x16c074;this[_0x542d33(0x187)](_0x542d33(_0x3b53e4._0x1dc8ec),[_0x2ff3c3,_0x8f5dd1]);}async[_0x16c074(0x19e)](_0x58168a,_0x56df85){const _0x57abb2=_0x16c074;this['record'](_0x57abb2(0x19e),[_0x58168a,_0x56df85]);}async['waitForNavigation'](_0x3bfd1f){const _0x16b53b=_0x16c074;this['record'](_0x16b53b(0x191),[_0x3bfd1f]);}async[_0x16c074(0x176)](_0x3ee71f,_0x5641a1){this['record']('waitForLoadState',[_0x3ee71f,_0x5641a1]);}async['goto'](_0x129c98,_0x342531){const _0x46bf1c={_0x310192:0x17f},_0x5f3bde=_0x16c074;this[_0x5f3bde(0x187)]('goto',[_0x129c98,_0x342531]),this[_0x5f3bde(_0x46bf1c._0x310192)]=_0x129c98;}async['reload'](_0x403658){const _0x26988b={_0x1ccd1c:0x187},_0x1ff888=_0x16c074;this[_0x1ff888(_0x26988b._0x1ccd1c)](_0x1ff888(0x158),[_0x403658]);}async['goBack'](_0x814794){const _0x13d812=_0x16c074;this['record'](_0x13d812(0x18f),[_0x814794]);}async[_0x16c074(0x138)](_0x31d3f7){const _0x231a98=_0x16c074;this['record'](_0x231a98(0x138),[_0x31d3f7]);}async[_0x16c074(0x19d)](_0x194c8c){return this['record']('evaluate',[_0x194c8c]),void 0x0;}async[_0x16c074(0x141)](_0x33632f,_0x4a2469){const _0xfe14f3={_0x5b828e:0x187},_0x173701=_0x16c074;return this[_0x173701(_0xfe14f3._0x5b828e)](_0x173701(0x141),[_0x33632f,_0x4a2469]),void 0x0;}async['inspectElement'](_0x4fa758){const _0x44aa4e={_0x224839:0x157,_0x310f58:0x188,_0x25546e:0x13f},_0x4cceff=_0x16c074;this['record'](_0x4cceff(0x1a3),[_0x4fa758]);if(_0x4fa758['steps'][_0x4cceff(_0x44aa4e._0x224839)]!==0x1||_0x4fa758[_0x4cceff(_0x44aa4e._0x310f58)][0x0]['kind']!==_0x4cceff(_0x44aa4e._0x25546e))return null;const _0x121948=_0x4fa758[_0x4cceff(0x188)][0x0][_0x4cceff(0x13f)],_0x522d14=this['behavior']['elementHintByRef']?.[_0x121948];return _0x522d14??null;}async[_0x16c074(0x1aa)](_0x63638f){const _0x49fff8={_0x2d28f2:0x19f},_0x28b85c=_0x16c074;return this['record'](_0x28b85c(0x1aa),[_0x63638f]),Buffer[_0x28b85c(_0x49fff8._0x2d28f2)](_0x28b85c(0x14c));}async[_0x16c074(0x183)](_0x2c1c9c){const _0x3f1966={_0x2edb81:0x188,_0x1cec0c:0x13f,_0x55609b:0x16e,_0x209a9e:0x12d,_0x441e44:0x195},_0x17c690=_0x16c074;this['record']('outerHTML',[_0x2c1c9c]);if(_0x2c1c9c[_0x17c690(_0x3f1966._0x2edb81)][_0x17c690(0x157)]===0x1&&_0x2c1c9c[_0x17c690(_0x3f1966._0x2edb81)][0x0][_0x17c690(0x17a)]==='ref'){const _0x4a0a99=_0x2c1c9c[_0x17c690(0x188)][0x0][_0x17c690(_0x3f1966._0x1cec0c)];return this['behavior'][_0x17c690(_0x3f1966._0x55609b)]?.[_0x4a0a99]??_0x17c690(_0x3f1966._0x209a9e)+_0x4a0a99+_0x17c690(0x140);}return _0x17c690(_0x3f1966._0x441e44);}},FakeContext=class{constructor(_0x2cb5dc,_0x1bc706,_0x2a70ee){const _0x8b00fe={_0x19bf6b:0x166,_0x227c1f:0x173,_0xb0c3ee:0x190,_0x1b9941:0x145,_0x4661a6:0x18e,_0x2dfe90:0x132,_0x43e907:0x14b,_0x5f1736:0x130},_0x1b115f=_0x16c074;this[_0x1b115f(0x17b)]=_0x2cb5dc,this[_0x1b115f(_0x8b00fe._0x19bf6b)]=_0x1bc706,this[_0x1b115f(0x154)]=_0x2a70ee;const _0x164706=new FakePage(_0x2cb5dc,_0x1bc706,_0x2a70ee+_0x1b115f(_0x8b00fe._0x227c1f),_0x1bc706[_0x1b115f(0x16c)]??_0x1b115f(_0x8b00fe._0xb0c3ee));_0x1bc706[_0x1b115f(_0x8b00fe._0x1b9941)]&&(_0x164706[_0x1b115f(_0x8b00fe._0x4661a6)]=()=>{const _0x3c2e6e=_0x1b115f;this['emitFakePopup'](_0x1bc706[_0x3c2e6e(0x145)]);}),this['pageList']=[_0x164706],this[_0x1b115f(_0x8b00fe._0x2dfe90)]={..._0x1bc706[_0x1b115f(_0x8b00fe._0x43e907)]??{}},this['cookieState']={..._0x1bc706[_0x1b115f(_0x8b00fe._0x5f1736)]??{}};}[_0x16c074(0x17b)];[_0x16c074(0x166)];[_0x16c074(0x154)];static{__name(this,_0x16c074(0x13c));}['pageList'];['activeIdx']=0x0;[_0x16c074(0x18a)]=[];[_0x16c074(0x132)];['cookieState'];['newPageListeners']=new Set();[_0x16c074(0x187)](_0x2abcbb,_0x537ca2){const _0x194c88={_0x3e14ec:0x17b,_0x55c5d0:0x14f,_0x55f833:0x154},_0x423a0e=_0x16c074;this[_0x423a0e(_0x194c88._0x3e14ec)][_0x423a0e(_0x194c88._0x55c5d0)]({'scope':this[_0x423a0e(_0x194c88._0x55f833)],'method':_0x2abcbb,'args':_0x537ca2});}[_0x16c074(0x148)](){const _0x407299=_0x16c074;return this[_0x407299(0x18c)];}['activePage'](){const _0x7e6ef=_0x16c074,_0x37aa12=this[_0x7e6ef(0x18c)][this['activeIdx']];if(!_0x37aa12)throw new DriverError(_0x7e6ef(0x175),{'activeIdx':this[_0x7e6ef(0x13a)]});return _0x37aa12;}[_0x16c074(0x134)](){const _0x46b840=_0x16c074;return this[_0x46b840(0x166)][_0x46b840(0x134)]??[];}['networkEntries'](){return this['behavior']['networkEntries']??[];}async[_0x16c074(0x177)](_0x43c224){const _0x2023a3={_0x596e53:0x177,_0x5bb8ea:0x18c,_0x1e1b87:0x146,_0x4fc62d:0x157,_0x11e373:0x18a,_0x354d12:0x157},_0x555b54=_0x16c074;this[_0x555b54(0x187)](_0x555b54(_0x2023a3._0x596e53),[_0x43c224]);if(_0x43c224<0x0||_0x43c224>=this[_0x555b54(_0x2023a3._0x5bb8ea)]['length'])throw new DriverError(_0x555b54(_0x2023a3._0x1e1b87),{'index':_0x43c224,'available':this[_0x555b54(0x18c)][_0x555b54(_0x2023a3._0x4fc62d)]});this['activeIdx']=_0x43c224,this[_0x555b54(_0x2023a3._0x11e373)][_0x555b54(_0x2023a3._0x354d12)]=0x0;}[_0x16c074(0x1a1)](_0x3d9d98){const _0x55da31=_0x16c074;return subscribe(this[_0x55da31(0x165)],_0x3d9d98);}[_0x16c074(0x193)](_0x24101c){const _0x1d0253={_0x37622b:0x154,_0x51a1a0:0x157,_0x4a97d8:0x166,_0x29cdbf:0x18c,_0x2fe7cb:0x14f,_0x1ddf1f:0x157,_0x1e923e:0x165},_0x4d111b=_0x16c074,_0x372047=this[_0x4d111b(_0x1d0253._0x37622b)]+'.page'+this[_0x4d111b(0x18c)][_0x4d111b(_0x1d0253._0x51a1a0)],_0x41edce=new FakePage(this[_0x4d111b(0x17b)],this[_0x4d111b(_0x1d0253._0x4a97d8)],_0x372047,_0x24101c);this[_0x4d111b(_0x1d0253._0x29cdbf)][_0x4d111b(_0x1d0253._0x2fe7cb)](_0x41edce);const _0x1a7b1c=this['pageList'][_0x4d111b(_0x1d0253._0x1ddf1f)]-0x1;for(const _0x5f5c19 of this[_0x4d111b(_0x1d0253._0x1e923e)]){try{_0x5f5c19({'index':_0x1a7b1c,'url':_0x24101c});}catch{}}return _0x1a7b1c;}[_0x16c074(0x163)](_0x57b793){const _0x2d13ee={_0x759079:0x146,_0x566d1a:0x157,_0x18a1a3:0x1a5},_0xd908e=_0x16c074;if(_0x57b793<0x0||_0x57b793>=this[_0xd908e(0x18c)]['length'])throw new DriverError(_0xd908e(_0x2d13ee._0x759079),{'index':_0x57b793,'available':this['pageList'][_0xd908e(_0x2d13ee._0x566d1a)]});this[_0xd908e(0x18c)][_0xd908e(_0x2d13ee._0x18a1a3)](_0x57b793,0x1);}async[_0x16c074(0x12e)](_0x5d3ddb){const _0x3b4e29={_0x4f09d5:0x157,_0x4213c1:0x14f},_0xa3c6e7=_0x16c074;this[_0xa3c6e7(0x187)]('enterFrame',[_0x5d3ddb]);if(!_0x5d3ddb['steps'][_0xa3c6e7(_0x3b4e29._0x4f09d5)])throw new LocatorError(_0xa3c6e7(0x147),{'locator':_0x5d3ddb});this[_0xa3c6e7(0x18a)][_0xa3c6e7(_0x3b4e29._0x4213c1)](_0x5d3ddb);}async['exitFrame'](){const _0x2f7400={_0x34e6a8:0x157,_0x222565:0x133,_0x44a5aa:0x152},_0x28ad17=_0x16c074;this[_0x28ad17(0x187)](_0x28ad17(0x16b),[]);if(this[_0x28ad17(0x18a)][_0x28ad17(_0x2f7400._0x34e6a8)]===0x0)throw new DriverError(_0x28ad17(_0x2f7400._0x222565),{});this[_0x28ad17(0x18a)][_0x28ad17(_0x2f7400._0x44a5aa)]();}async['setLocalStorage'](_0x263f15,_0xb431e){const _0x4afb4d={_0x52456f:0x162},_0x4380fc=_0x16c074;this['record'](_0x4380fc(_0x4afb4d._0x52456f),[_0x263f15,_0xb431e]),this['localStorageState'][_0x263f15]=_0xb431e;}async[_0x16c074(0x15d)](_0x3e3fa1){const _0x2da7db=_0x16c074;return this[_0x2da7db(0x187)](_0x2da7db(0x15d),[_0x3e3fa1]),this[_0x2da7db(0x132)][_0x3e3fa1]??null;}async['setCookie'](_0x337ef6,_0x2c540f,_0x9dd56b){const _0x2610a9={_0x2142f6:0x171},_0x4058dd=_0x16c074;this['record'](_0x4058dd(0x1a0),[_0x337ef6,_0x2c540f,_0x9dd56b]),this[_0x4058dd(_0x2610a9._0x2142f6)][_0x337ef6]=_0x2c540f;}async[_0x16c074(0x13b)](_0x126c04){const _0x3ec08d=_0x16c074;return this['record'](_0x3ec08d(0x13b),[_0x126c04]),this['cookieState'][_0x126c04]??null;}async[_0x16c074(0x170)](_0x559d0a){const _0x153825={_0x837118:0x187},_0x2e5a95=_0x16c074;this[_0x2e5a95(_0x153825._0x837118)]('saveStorageState',[_0x559d0a]);}async[_0x16c074(0x19d)](_0x397175){return this['record']('evaluate',[_0x397175]),void 0x0;}async['close'](){const _0x4b3e2d={_0x29e85f:0x187,_0x3b92ba:0x172},_0xcaee8c=_0x16c074;this[_0xcaee8c(_0x4b3e2d._0x29e85f)](_0xcaee8c(_0x4b3e2d._0x3b92ba),[]);}[_0x16c074(0x136)](){const _0x54b944=_0x16c074;return this[_0x54b944(0x18a)][_0x54b944(0x157)];}},FakeWebDriver=class{constructor(_0x3d15f5={}){const _0x38a134=_0x16c074;this['behavior']=_0x3d15f5,this[_0x38a134(0x17b)]=createRecorder();}[_0x16c074(0x166)];static{__name(this,_0x16c074(0x1a8));}[_0x16c074(0x16d)]=![];['recorder'];[_0x16c074(0x1ab)]=[];async[_0x16c074(0x196)](_0x48ca5f){const _0xba3ec1=_0x16c074;this[_0xba3ec1(0x17b)][_0xba3ec1(0x14f)]({'scope':_0xba3ec1(0x1af),'method':_0xba3ec1(0x196),'args':[_0x48ca5f]}),this['launched']=!![];}async[_0x16c074(0x164)](_0x15b98c){const _0x38a6bb={_0x2d8f90:0x17b,_0x270a8a:0x159,_0x385e15:0x17b},_0x1a7dec=_0x16c074;this[_0x1a7dec(_0x38a6bb._0x2d8f90)]['push']({'scope':_0x1a7dec(0x1af),'method':'newContext','args':[_0x15b98c]});if(!this[_0x1a7dec(0x16d)])throw new DriverError(_0x1a7dec(_0x38a6bb._0x270a8a),{});const _0x3740ab=new FakeContext(this[_0x1a7dec(_0x38a6bb._0x385e15)],this['behavior'],_0x1a7dec(0x192)+this['contexts']['length']);return this['contexts']['push'](_0x3740ab),_0x3740ab;}async[_0x16c074(0x172)](){const _0x3e1252={_0x2610a3:0x14f,_0x8dec2d:0x172},_0x5266bf=_0x16c074;this[_0x5266bf(0x17b)][_0x5266bf(_0x3e1252._0x2610a3)]({'scope':_0x5266bf(0x1af),'method':_0x5266bf(_0x3e1252._0x8dec2d),'args':[]}),this[_0x5266bf(0x16d)]=![];}[_0x16c074(0x142)](){return void 0x0;}async['connectShared'](){const _0x1995e7=_0x16c074;throw new DriverError(_0x1995e7(0x1a6),{});}[_0x16c074(0x16a)](){const _0x661ca0={_0xf50aac:0x1ae},_0x18aa10=_0x16c074;throw new DriverError(_0x18aa10(_0x661ca0._0xf50aac),{});}[_0x16c074(0x17e)](){const _0x311cdf={_0x4bcf79:0x17b},_0x39f99e=_0x16c074;return this[_0x39f99e(_0x311cdf._0x4bcf79)]['calls']();}[_0x16c074(0x189)](_0x563716){const _0x33198d={_0x1b4a23:0x17b,_0x1864ac:0x1ac},_0x5e0a9c=_0x16c074;return this[_0x5e0a9c(_0x33198d._0x1b4a23)][_0x5e0a9c(0x17e)]()[_0x5e0a9c(_0x33198d._0x1864ac)](_0x2796e0=>_0x2796e0[_0x5e0a9c(0x139)]===_0x563716);}};export{FakeWebDriver};