@unotest/web 0.35.1 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.36.0] - 2026-09-16
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2ebdeba: A rented box now brings itself up, and a failed first update no longer takes it apart.
|
|
8
|
+
|
|
9
|
+
Two things a box could not do for itself:
|
|
10
|
+
|
|
11
|
+
- **Its `.env` was written where the box was ordered, not where it runs.** Two of the values the compose template needs belong to the machine — the path the docker daemon resolves the projects volume to, and the group that owns its socket — and neither exists when a box is ordered. They were left out, compose substituted empty strings, the run sidecar exited and every container that depends on it stayed created but never started. The box now fills both in itself, after docker is installed and before its stack is first brought up, and the project name compose runs under is written down rather than guessed from a directory name. What the template requires without a default is one list, checked against the template itself, and every writer of a box's `.env` is refused by name if it hands over an incomplete one.
|
|
12
|
+
- **A rollback could delete a box's only deployment.** Undoing an update removes the files that update introduced — correct when there is an earlier deployment behind it, destructive on a box that has never run one: the first failed update took the whole stack with it, leaving a machine with no configuration to bring up. A rollback with nothing to return to now leaves the files where they are. Either way, a box a rollback could not put back stops applying releases and says it needs an operator, instead of fetching, failing and rolling back the same release every hour.
|
|
13
|
+
|
|
14
|
+
- 3a0639a: `box status` answers for a box that never came up
|
|
15
|
+
|
|
16
|
+
A box the fleet could not build has no address, and the cloud said so by
|
|
17
|
+
sending `url: null`. The CLI reads that field as one that may be missing,
|
|
18
|
+
not as one that may be null, so the whole answer failed to parse: `box
|
|
19
|
+
status` showed neither the state of the box nor the reason it failed — in
|
|
20
|
+
the one case the command exists for.
|
|
21
|
+
|
|
22
|
+
The cloud now leaves out what it has no value for, by a single rule for the
|
|
23
|
+
whole answer rather than field by field. The CLI accepts `null` as well and
|
|
24
|
+
reads it as "no address", because it is published and meets clouds older
|
|
25
|
+
than itself. A box that failed now prints its state, the reason the fleet
|
|
26
|
+
gave, and what it is paid up to, with `--json` staying readable in the same
|
|
27
|
+
case.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- @unotest/viewer@0.36.0
|
|
32
|
+
- @unotest/core@0.36.0
|
|
33
|
+
- @unotest/dsl@0.36.0
|
|
34
|
+
- @unotest/grounder-client@0.36.0
|
|
35
|
+
- @unotest/protocol@0.36.0
|
|
36
|
+
|
|
37
|
+
## [0.35.2] - 2026-09-16
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- @unotest/core@0.35.2
|
|
42
|
+
- @unotest/dsl@0.35.2
|
|
43
|
+
- @unotest/grounder-client@0.35.2
|
|
44
|
+
- @unotest/protocol@0.35.2
|
|
45
|
+
- @unotest/viewer@0.35.2
|
|
46
|
+
|
|
3
47
|
## [0.35.1] - 2026-09-16
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
package/dist/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x13ebbd=_0x4c50;(function(_0x541195,_0x4eac01){var _0x2fe752={_0x462be5:0x178,_0x4b0de2:0x162,_0x2a8d31:0x14b,_0x1d112e:0x14d,_0x588b0e:0x154,_0x4f0741:0x157,_0x12a20b:0x15a},_0x1b9c20=_0x4c50,_0x217e72=_0x541195();while(!![]){try{var _0x2fdd8f=parseInt(_0x1b9c20(_0x2fe752._0x462be5))/0x1*(parseInt(_0x1b9c20(0x17f))/0x2)+parseInt(_0x1b9c20(_0x2fe752._0x4b0de2))/0x3+-parseInt(_0x1b9c20(_0x2fe752._0x2a8d31))/0x4*(parseInt(_0x1b9c20(_0x2fe752._0x1d112e))/0x5)+-parseInt(_0x1b9c20(0x185))/0x6*(parseInt(_0x1b9c20(0x169))/0x7)+-parseInt(_0x1b9c20(0x152))/0x8*(-parseInt(_0x1b9c20(0x16c))/0x9)+-parseInt(_0x1b9c20(_0x2fe752._0x588b0e))/0xa*(parseInt(_0x1b9c20(_0x2fe752._0x4f0741))/0xb)+parseInt(_0x1b9c20(_0x2fe752._0x12a20b))/0xc;if(_0x2fdd8f===_0x4eac01)break;else _0x217e72['push'](_0x217e72['shift']());}catch(_0x29ab6c){_0x217e72['push'](_0x217e72['shift']());}}}(_0x372c,0x74294));import{z}from'zod';var BrowserSchema=z[_0x13ebbd(0x176)]([_0x13ebbd(0x14c),_0x13ebbd(0x163),_0x13ebbd(0x14f)]),BrowserChannelSchema=z[_0x13ebbd(0x17d)]([z[_0x13ebbd(0x16a)]('chrome'),z['literal'](_0x13ebbd(0x166)),z[_0x13ebbd(0x16a)]('chrome-beta'),z[_0x13ebbd(0x158)]()])[_0x13ebbd(0x16b)](),ViewportSchema=z[_0x13ebbd(0x168)]({'width':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()['positive'](),'height':z['number']()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()}),RetryReasonSchema=z[_0x13ebbd(0x176)](['transient','network',_0x13ebbd(0x17c)]),RetryConfigSchema=z[_0x13ebbd(0x168)]({'count':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x15d)](0x0)['max'](0xa),'on':z[_0x13ebbd(0x165)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x13ebbd(0x168)]({'tier1':z[_0x13ebbd(0x16a)](!![])[_0x13ebbd(0x16d)](!![]),'tier2':z['boolean'](),'tier3':z['object']({'network':z['boolean'](),'video':z[_0x13ebbd(0x182)]()}),'retention':z[_0x13ebbd(0x168)]({'runs':z['number']()['int']()[_0x13ebbd(0x172)](),'days':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()}),'storageDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)}),DialogPolicySchema=z['enum']([_0x13ebbd(0x17a),'dismiss',_0x13ebbd(0x183)]),LinterRuleIdSchema=z[_0x13ebbd(0x176)](['lint:deep-css','lint:xpath',_0x13ebbd(0x16f),'lint:pause-explicit',_0x13ebbd(0x184),'lint:evaluate-discouraged',_0x13ebbd(0x17b),'lint:mustache-in-dsl','lint:goto-concat','lint:regex-invalid',_0x13ebbd(0x160),_0x13ebbd(0x177),'lint:lint-ok-missing-reason','lint:flow-returns-value',_0x13ebbd(0x174),_0x13ebbd(0x167),_0x13ebbd(0x15b),'validator:unknown-function','validator:arity',_0x13ebbd(0x150),_0x13ebbd(0x159),_0x13ebbd(0x14e),_0x13ebbd(0x155),_0x13ebbd(0x179),_0x13ebbd(0x161),'validator:if-shape',_0x13ebbd(0x173),'validator:unsupported-statement',_0x13ebbd(0x186),_0x13ebbd(0x16e),_0x13ebbd(0x15f),_0x13ebbd(0x171),_0x13ebbd(0x153)]),LinterSeveritySchema=z[_0x13ebbd(0x176)]([_0x13ebbd(0x151),_0x13ebbd(0x170),_0x13ebbd(0x17e)]),LinterConfigSchema=z[_0x13ebbd(0x168)]({'enabled':z[_0x13ebbd(0x182)](),'rules':z[_0x13ebbd(0x156)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x13ebbd(0x168)]({'enabled':z[_0x13ebbd(0x182)]()[_0x13ebbd(0x16d)](!![]),'concurrency':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)]()[_0x13ebbd(0x16d)](0x1)}),ScheduleSchema=z[_0x13ebbd(0x168)]({'collection':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'cron':z[_0x13ebbd(0x181)]()['min'](0x1),'env':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)['optional'](),'prepare':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1)[_0x13ebbd(0x16b)]()}),McpConfigSchema=z[_0x13ebbd(0x168)]({'transport':z['literal'](_0x13ebbd(0x15e))}),SandboxConfigSchema=z[_0x13ebbd(0x168)]({'shellCwd':z['string']()['optional'](),'shellTimeoutMs':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()['positive']()['optional'](),'exportSecrets':z['array'](z[_0x13ebbd(0x181)]())[_0x13ebbd(0x16b)](),'database':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x16b)](),'apiBaseUrl':z[_0x13ebbd(0x181)]()['url']()[_0x13ebbd(0x16b)](),'uploadDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x16b)]()}),WebServerConfigSchema=z[_0x13ebbd(0x168)]({'command':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'url':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x180)](),'reuseExistingServer':z[_0x13ebbd(0x182)]()[_0x13ebbd(0x16d)](!![]),'timeoutMs':z[_0x13ebbd(0x175)]()['int']()[_0x13ebbd(0x172)]()[_0x13ebbd(0x16d)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x180)]()[_0x13ebbd(0x16b)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x13ebbd(0x165)](BrowserSchema)[_0x13ebbd(0x15d)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x13ebbd(0x181)]()['optional'](),'testDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'helpersDir':z[_0x13ebbd(0x181)]()[_0x13ebbd(0x15d)](0x1),'defaultTimeoutMs':z['number']()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)](),'defaultNavigationTimeoutMs':z[_0x13ebbd(0x175)]()[_0x13ebbd(0x15c)]()[_0x13ebbd(0x172)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x13ebbd(0x165)](ScheduleSchema)[_0x13ebbd(0x16d)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x13ebbd(0x14c)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x13ebbd(0x164)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':'.unotest/failures'},'dialogPolicy':_0x13ebbd(0x17a),'testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x13ebbd(0x170),'lint:xpath':_0x13ebbd(0x170),'lint:obfuscated-class':_0x13ebbd(0x170),'lint:pause-explicit':_0x13ebbd(0x170),'lint:disambig-by-index':_0x13ebbd(0x151),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x13ebbd(0x17e),'lint:mustache-in-dsl':_0x13ebbd(0x17e),'lint:goto-concat':'warn','lint:regex-invalid':_0x13ebbd(0x17e),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x13ebbd(0x170),'lint:flow-returns-value':_0x13ebbd(0x170),'lint:legacy-layout':_0x13ebbd(0x170),'lint:external-variable-undeclared':_0x13ebbd(0x17e),'lint:one-test-per-file':_0x13ebbd(0x170),'validator:unknown-function':_0x13ebbd(0x17e)}},'mcp':{'transport':_0x13ebbd(0x15e)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0x4c50(_0x5fa879,_0x8b3189){_0x5fa879=_0x5fa879-0x14b;var _0x372c65=_0x372c();var _0x4c5009=_0x372c65[_0x5fa879];if(_0x4c50['RNGGeE']===undefined){var _0x1d1e9e=function(_0x5616b5){var _0x37b55c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x27d389='',_0x3cfb69='';for(var _0x5d3762=0x0,_0x2a42bf,_0xa0e0f2,_0x3c450e=0x0;_0xa0e0f2=_0x5616b5['charAt'](_0x3c450e++);~_0xa0e0f2&&(_0x2a42bf=_0x5d3762%0x4?_0x2a42bf*0x40+_0xa0e0f2:_0xa0e0f2,_0x5d3762++%0x4)?_0x27d389+=String['fromCharCode'](0xff&_0x2a42bf>>(-0x2*_0x5d3762&0x6)):0x0){_0xa0e0f2=_0x37b55c['indexOf'](_0xa0e0f2);}for(var _0x24a124=0x0,_0x513474=_0x27d389['length'];_0x24a124<_0x513474;_0x24a124++){_0x3cfb69+='%'+('00'+_0x27d389['charCodeAt'](_0x24a124)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3cfb69);};_0x4c50['XppIUv']=_0x1d1e9e,_0x4c50['oFPjSn']={},_0x4c50['RNGGeE']=!![];}var _0x35e273=_0x372c65[0x0],_0x65d4b0=_0x5fa879+_0x35e273,_0x34bd76=_0x4c50['oFPjSn'][_0x65d4b0];return!_0x34bd76?(_0x4c5009=_0x4c50['XppIUv'](_0x4c5009),_0x4c50['oFPjSn'][_0x65d4b0]=_0x4c5009):_0x4c5009=_0x34bd76,_0x4c5009;}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};function _0x372c(){var _0x326dee=['nti1nZCYmwjrCMTXBq','BgL0zxjHBa','B3b0Aw9UywW','ovDQB3fyAq','zgvMyxvSDa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','D2fYBG','DMfSAwrHDg9YoMXPC3qTyxjN','Cg9ZAxrPDMu','DMfSAwrHDg9YoNzHCI1ZAgfWzq','BgLUDdPSzwDHy3KTBgf5B3v0','BNvTyMvY','zw51Bq','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','mJy1mZe4sfzsvxrl','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','ywnJzxb0','BgLUDdPZy2vUyxjPBY1PBI1YB290','y3jHC2G','Dw5PB24','zxjYB3i','mK1Zu2Xbzq','DxjS','C3rYAw5N','yM9VBgvHBG','BwfUDwfS','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','nKfjuMTHEa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mZmZmZjnsvrKq0G','y2HYB21PDw0','nJvqt3nOqxK','DMfSAwrHDg9YoNn0zxaTC2HHCgu','D2vIA2L0','DMfSAwrHDg9YoMfYzY1RAw5K','B2zM','mJaWodGWog9lq1vzEa','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','mJC1otbSDLnhrei','DMfSAwrHDg9YoM1LDgeTC2HHCgu','CMvJB3jK','odGWwLH5q1r2','BNvSBa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mtu3mdqYoe9KCvLQDq','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','Aw50','BwLU','C3rKAw8','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mJCYntK4mfD5t2jstW','zMLYzwzVEa','DhjHBNnPzw50','yxjYyxK','BxnLzgDL','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','B2jQzwn0'];_0x372c=function(){return _0x326dee;};return _0x372c();}
|
package/dist/driver/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b5602=_0x1a13;(function(_0x61b5ad,_0x5119ea){const _0x367710={_0x3f84ac:0x14b,_0xe40f22:0x179,_0x2815d2:0x14a,_0x4beb84:0x14c,_0x2e83f1:0x1a0},_0x17f674=_0x1a13,_0x441039=_0x61b5ad();while(!![]){try{const _0xd76f84=-parseInt(_0x17f674(0x197))/0x1*(parseInt(_0x17f674(0x1ba))/0x2)+-parseInt(_0x17f674(_0x367710._0x3f84ac))/0x3*(parseInt(_0x17f674(0x150))/0x4)+parseInt(_0x17f674(0x18e))/0x5+parseInt(_0x17f674(_0x367710._0xe40f22))/0x6*(parseInt(_0x17f674(0x1b9))/0x7)+parseInt(_0x17f674(0x1ac))/0x8+parseInt(_0x17f674(_0x367710._0x2815d2))/0x9*(parseInt(_0x17f674(_0x367710._0x4beb84))/0xa)+parseInt(_0x17f674(_0x367710._0x2e83f1))/0xb*(-parseInt(_0x17f674(0x168))/0xc);if(_0xd76f84===_0x5119ea)break;else _0x441039['push'](_0x441039['shift']());}catch(_0x2de4fc){_0x441039['push'](_0x441039['shift']());}}}(_0x3f70,0x6e51f));var __defProp=Object[_0x5b5602(0x1b1)],__name=(_0x4e2785,_0x3aac4b)=>__defProp(_0x4e2785,_0x5b5602(0x1b3),{'value':_0x3aac4b,'configurable':!![]});function subscribe(_0x2633ab,_0x24e682){const _0x15a19c={_0x576fe1:0x18f},_0x2deaf6=_0x5b5602;return _0x2633ab[_0x2deaf6(0x15f)](_0x24e682),()=>{const _0x5ef8e7=_0x2deaf6;_0x2633ab[_0x5ef8e7(_0x15a19c._0x576fe1)](_0x24e682);};}__name(subscribe,_0x5b5602(0x1b2));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x5b5602(0x19a));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x397b8e={_0x402979:0x16b,_0x31a269:0x153},_0x4412b2=_0x5b5602,_0x2f7729=[];let _0x1b8361=0x0;return{'push':__name(_0x6ec371=>_0x2f7729[_0x4412b2(0x16b)]({..._0x6ec371,'seq':_0x1b8361++}),_0x4412b2(_0x397b8e._0x402979)),'calls':__name(()=>_0x2f7729,_0x4412b2(_0x397b8e._0x31a269))};}__name(createRecorder,'createRecorder');function _0x1a13(_0x4da177,_0x15e3dc){_0x4da177=_0x4da177-0x146;const _0x3f70ab=_0x3f70();let _0x1a139c=_0x3f70ab[_0x4da177];if(_0x1a13['AHUZas']===undefined){var _0x50724f=function(_0x441b86){const _0x594f5b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4e2785='',_0x3aac4b='';for(let _0x2633ab=0x0,_0x24e682,_0x2f7729,_0x1b8361=0x0;_0x2f7729=_0x441b86['charAt'](_0x1b8361++);~_0x2f7729&&(_0x24e682=_0x2633ab%0x4?_0x24e682*0x40+_0x2f7729:_0x2f7729,_0x2633ab++%0x4)?_0x4e2785+=String['fromCharCode'](0xff&_0x24e682>>(-0x2*_0x2633ab&0x6)):0x0){_0x2f7729=_0x594f5b['indexOf'](_0x2f7729);}for(let _0x6ec371=0x0,_0x31caa1=_0x4e2785['length'];_0x6ec371<_0x31caa1;_0x6ec371++){_0x3aac4b+='%'+('00'+_0x4e2785['charCodeAt'](_0x6ec371)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3aac4b);};_0x1a13['yxdxip']=_0x50724f,_0x1a13['EmAFvt']={},_0x1a13['AHUZas']=!![];}const _0x27ebf2=_0x3f70ab[0x0],_0x4125fc=_0x4da177+_0x27ebf2,_0x30f4b9=_0x1a13['EmAFvt'][_0x4125fc];return!_0x30f4b9?(_0x1a139c=_0x1a13['yxdxip'](_0x1a139c),_0x1a13['EmAFvt'][_0x4125fc]=_0x1a139c):_0x1a139c=_0x30f4b9,_0x1a139c;}var FakePage=class{constructor(_0x31caa1,_0x24cb0b,_0x1b65e3,_0xc5a084){const _0x5d3df9={_0x37c9b6:0x1c2,_0x358494:0x166,_0x8659c1:0x147},_0xf7a454=_0x5b5602;this[_0xf7a454(_0x5d3df9._0x37c9b6)]=_0x31caa1,this[_0xf7a454(0x159)]=_0x24cb0b,this[_0xf7a454(_0x5d3df9._0x358494)]=_0x1b65e3,this[_0xf7a454(_0x5d3df9._0x8659c1)]=_0xc5a084;}[_0x5b5602(0x1c2)];[_0x5b5602(0x159)];[_0x5b5602(0x166)];static{__name(this,_0x5b5602(0x192));}[_0x5b5602(0x147)];[_0x5b5602(0x193)];[_0x5b5602(0x1bc)](_0x99cd24,_0x33e358){const _0x2e9f3b={_0xfaffa1:0x166},_0x13536d=_0x5b5602;this[_0x13536d(0x1c2)][_0x13536d(0x16b)]({'scope':this[_0x13536d(_0x2e9f3b._0xfaffa1)],'method':_0x99cd24,'args':_0x33e358});}[_0x5b5602(0x19c)](){const _0x3ba19f={_0x35bc7d:0x159,_0x46e528:0x152,_0x4cbff8:0x152},_0x469036=_0x5b5602;if(this[_0x469036(_0x3ba19f._0x35bc7d)][_0x469036(0x152)]){const _0x4ad284=this[_0x469036(_0x3ba19f._0x35bc7d)][_0x469036(_0x3ba19f._0x46e528)];this['behavior'][_0x469036(_0x3ba19f._0x4cbff8)]=void 0x0;throw _0x4ad284;}}['url'](){const _0x4058e6=_0x5b5602;return this[_0x4058e6(0x147)];}async[_0x5b5602(0x1c5)](){const _0x4181d7={_0x57cdff:0x1c5},_0x43bd0e=_0x5b5602;return this['record'](_0x43bd0e(_0x4181d7._0x57cdff),[]),_0x43bd0e(0x1ab);}async[_0x5b5602(0x14d)](_0x1f38d0,_0x39afca){const _0x4b5be5={_0x4e99fd:0x193},_0x5dfb90=_0x5b5602;this[_0x5dfb90(0x1bc)]('click',[_0x1f38d0,_0x39afca]),this[_0x5dfb90(0x19c)](),this[_0x5dfb90(_0x4b5be5._0x4e99fd)]?.();}async[_0x5b5602(0x1a3)](_0x328c84,_0x33b28f){const _0x52bb6c=_0x5b5602;this['record'](_0x52bb6c(0x1a3),[_0x328c84,_0x33b28f]),this[_0x52bb6c(0x19c)]();}async[_0x5b5602(0x18d)](_0x3eb5dc,_0x2aea4a,_0x315a7f){const _0xafb847=_0x5b5602;this[_0xafb847(0x1bc)]('fill',[_0x3eb5dc,_0x2aea4a,_0x315a7f]),this['maybeThrow']();}async['press'](_0x23a7b4,_0x3b2496,_0x5c22b6){const _0x15485a={_0x15f4ac:0x1bc,_0x2b9818:0x163},_0x7f0f58=_0x5b5602;this[_0x7f0f58(_0x15485a._0x15f4ac)](_0x7f0f58(_0x15485a._0x2b9818),[_0x23a7b4,_0x3b2496,_0x5c22b6]),this[_0x7f0f58(0x19c)]();}async[_0x5b5602(0x1b0)](_0x1d2a6b,_0x1611f){const _0x579a93={_0xf7d71b:0x19c},_0x2eac24=_0x5b5602;this[_0x2eac24(0x1bc)](_0x2eac24(0x1b0),[_0x1d2a6b,_0x1611f]),this[_0x2eac24(_0x579a93._0xf7d71b)]();}async['uncheck'](_0x376560,_0x37ec2e){const _0x280efe={_0x4ba5bf:0x19c},_0x5e9607=_0x5b5602;this['record'](_0x5e9607(0x148),[_0x376560,_0x37ec2e]),this[_0x5e9607(_0x280efe._0x4ba5bf)]();}async[_0x5b5602(0x14e)](_0x30931f,_0x5542c7,_0x435e71){const _0x7df855={_0x453f02:0x1bc,_0x54b90b:0x19c},_0x5b22ee=_0x5b5602;this[_0x5b22ee(_0x7df855._0x453f02)](_0x5b22ee(0x14e),[_0x30931f,_0x5542c7,_0x435e71]),this[_0x5b22ee(_0x7df855._0x54b90b)]();}async[_0x5b5602(0x1ad)](_0x1787cd,_0xf38a96){const _0x47759c={_0x52a8c5:0x1bc,_0x23e6dd:0x1ad,_0x2a8ea2:0x19c},_0x354483=_0x5b5602;this[_0x354483(_0x47759c._0x52a8c5)](_0x354483(_0x47759c._0x23e6dd),[_0x1787cd,_0xf38a96]),this[_0x354483(_0x47759c._0x2a8ea2)]();}async[_0x5b5602(0x191)](_0x264db8){const _0x5950ad={_0x18535a:0x19c},_0xf199ba=_0x5b5602;this[_0xf199ba(0x1bc)]('scrollIntoView',[_0x264db8]),this[_0xf199ba(_0x5950ad._0x18535a)]();}async[_0x5b5602(0x1af)](_0x147ae8,_0x14a815,_0x58bdf4){const _0x1792a9={_0x476716:0x1bc},_0x50ce0e=_0x5b5602;this[_0x50ce0e(_0x1792a9._0x476716)](_0x50ce0e(0x1af),[_0x147ae8,_0x14a815,_0x58bdf4]),this[_0x50ce0e(0x19c)]();}async[_0x5b5602(0x155)](_0x54879f,_0x5bcade){const _0x27a10b={_0x1e1281:0x1bc,_0x5af7f0:0x19c},_0xdc07ba=_0x5b5602;this[_0xdc07ba(_0x27a10b._0x1e1281)]('uploadFile',[_0x54879f,_0x5bcade]),this[_0xdc07ba(_0x27a10b._0x5af7f0)]();}async['clipboardPaste'](_0x296abf,_0x286846){const _0x3ca956={_0x12a1ca:0x1bc},_0x17beb8=_0x5b5602;this[_0x17beb8(_0x3ca956._0x12a1ca)](_0x17beb8(0x158),[_0x296abf,_0x286846]),this[_0x17beb8(0x19c)]();}async[_0x5b5602(0x17a)](_0x185741){const _0x5588dc={_0x28a9b3:0x159},_0x2ad201=_0x5b5602;return this['record'](_0x2ad201(0x17a),[_0x185741]),this[_0x2ad201(_0x5588dc._0x28a9b3)]['countByDefault']??0x1;}async['textContent'](_0x512287){const _0x360bdd={_0x25dc88:0x159},_0x2ad9c7=_0x5b5602;return this[_0x2ad9c7(0x1bc)](_0x2ad9c7(0x1b6),[_0x512287]),this[_0x2ad9c7(_0x360bdd._0x25dc88)][_0x2ad9c7(0x1b4)]??'';}async[_0x5b5602(0x19e)](_0x35da58){const _0x30f4af={_0x7faa85:0x1bc,_0xc3de70:0x19e},_0x12d2de=_0x5b5602;return this[_0x12d2de(_0x30f4af._0x7faa85)](_0x12d2de(_0x30f4af._0xc3de70),[_0x35da58]),this[_0x12d2de(0x159)][_0x12d2de(0x17d)]??this['behavior']['textContentByDefault']??'';}async[_0x5b5602(0x167)](_0x586eeb){const _0xbe5a52={_0x3afb8f:0x167},_0x36f664=_0x5b5602;return this['record'](_0x36f664(_0xbe5a52._0x3afb8f),[_0x586eeb]),this[_0x36f664(0x159)]['inputValueByDefault']??'';}async[_0x5b5602(0x1c1)](_0x121426){const _0x2cbac3={_0x32ad22:0x1c1},_0x8670b4=_0x5b5602;return this[_0x8670b4(0x1bc)](_0x8670b4(_0x2cbac3._0x32ad22),[_0x121426]),this['behavior'][_0x8670b4(0x177)]??null;}async[_0x5b5602(0x18c)](_0x501384){const _0x52f8a3={_0x2be9f3:0x1bc,_0x25c748:0x159,_0x33621f:0x188},_0x23ceea=_0x5b5602;return this[_0x23ceea(_0x52f8a3._0x2be9f3)]('isVisible',[_0x501384]),this[_0x23ceea(_0x52f8a3._0x25c748)][_0x23ceea(_0x52f8a3._0x33621f)]??!![];}async[_0x5b5602(0x184)](_0x3dda67){const _0xa31ac6={_0x214851:0x1bc,_0x2166ea:0x15c},_0xf3f2bd=_0x5b5602;return this[_0xf3f2bd(_0xa31ac6._0x214851)](_0xf3f2bd(0x184),[_0x3dda67]),this[_0xf3f2bd(0x159)][_0xf3f2bd(_0xa31ac6._0x2166ea)]??![];}async['getAttribute'](_0x578973,_0x35c4af){const _0x168b3e={_0x38c0bd:0x1bc,_0x71dd58:0x159},_0xf5e7=_0x5b5602;return this[_0xf5e7(_0x168b3e._0x38c0bd)](_0xf5e7(0x1a8),[_0x578973,_0x35c4af]),this[_0xf5e7(_0x168b3e._0x71dd58)]['attributesByDefault']?.[_0x35c4af]??null;}async[_0x5b5602(0x170)](_0x32d23a,_0x35c89a){const _0x15b43d={_0x4b7977:0x170},_0x51ba30=_0x5b5602;this[_0x51ba30(0x1bc)](_0x51ba30(_0x15b43d._0x4b7977),[_0x32d23a,_0x35c89a]);}async['waitForUrl'](_0x36e80c,_0x1d8bf5){const _0x5458aa={_0x103894:0x1bc},_0x1ae2b1=_0x5b5602;this[_0x1ae2b1(_0x5458aa._0x103894)](_0x1ae2b1(0x1a5),[_0x36e80c,_0x1d8bf5]);}async[_0x5b5602(0x16a)](_0x14a72f,_0x53744a){const _0x1308d=_0x5b5602;this[_0x1308d(0x1bc)](_0x1308d(0x16a),[_0x14a72f,_0x53744a]);}async[_0x5b5602(0x190)](_0x32ae00){const _0x408e6={_0x136aae:0x1bc},_0x5170c3=_0x5b5602;this[_0x5170c3(_0x408e6._0x136aae)](_0x5170c3(0x190),[_0x32ae00]);}async[_0x5b5602(0x183)](_0x37635c,_0x8e63ac){const _0x1b4acb={_0x1820a4:0x1bc,_0x2a8355:0x183},_0x4aaf3e=_0x5b5602;this[_0x4aaf3e(_0x1b4acb._0x1820a4)](_0x4aaf3e(_0x1b4acb._0x2a8355),[_0x37635c,_0x8e63ac]);}async[_0x5b5602(0x196)](_0x250cee,_0x4d8220){const _0x1241a2={_0x4d0ee1:0x196},_0x15a4dd=_0x5b5602;this['record'](_0x15a4dd(_0x1241a2._0x4d0ee1),[_0x250cee,_0x4d8220]),this[_0x15a4dd(0x147)]=_0x250cee;}async[_0x5b5602(0x17f)](_0x2c1cd2){const _0x23e922=_0x5b5602;this['record'](_0x23e922(0x17f),[_0x2c1cd2]);}async[_0x5b5602(0x1b5)](_0x48e0c6){const _0x165aca={_0x53fd79:0x1bc,_0x410328:0x1b5},_0x103668=_0x5b5602;this[_0x103668(_0x165aca._0x53fd79)](_0x103668(_0x165aca._0x410328),[_0x48e0c6]);}async['goForward'](_0x49d89a){const _0x3a5432={_0x26f833:0x156},_0x518749=_0x5b5602;this[_0x518749(0x1bc)](_0x518749(_0x3a5432._0x26f833),[_0x49d89a]);}async['evaluate'](_0x17cae7){const _0x2d8fb1={_0x48ede0:0x1bc,_0x4127c0:0x17e,_0x2d9d4b:0x159,_0x3ef2d8:0x1c4},_0x1ac951=_0x5b5602;return this[_0x1ac951(_0x2d8fb1._0x48ede0)](_0x1ac951(_0x2d8fb1._0x4127c0),[_0x17cae7]),this[_0x1ac951(_0x2d8fb1._0x2d9d4b)][_0x1ac951(_0x2d8fb1._0x3ef2d8)];}async[_0x5b5602(0x175)](_0x3fbbc7,_0x2ddc39){const _0x46266f={_0x4521d9:0x175},_0x4cc759=_0x5b5602;return this[_0x4cc759(0x1bc)](_0x4cc759(_0x46266f._0x4521d9),[_0x3fbbc7,_0x2ddc39]),void 0x0;}async[_0x5b5602(0x16e)](_0x2d9d9e){const _0x364093={_0x114f9b:0x1c0,_0x426426:0x159},_0x4ffa0f=_0x5b5602;this[_0x4ffa0f(0x1bc)]('inspectElement',[_0x2d9d9e]);if(_0x2d9d9e['steps'][_0x4ffa0f(0x169)]!==0x1||_0x2d9d9e[_0x4ffa0f(0x146)][0x0]['kind']!==_0x4ffa0f(0x1c0))return null;const _0x4c0f3b=_0x2d9d9e[_0x4ffa0f(0x146)][0x0][_0x4ffa0f(_0x364093._0x114f9b)],_0x4f84fc=this[_0x4ffa0f(_0x364093._0x426426)][_0x4ffa0f(0x187)]?.[_0x4c0f3b];return _0x4f84fc??null;}async[_0x5b5602(0x164)](_0x5a4342){const _0x32a10d=_0x5b5602;return this[_0x32a10d(0x1bc)](_0x32a10d(0x164),[_0x5a4342]),this[_0x32a10d(0x154)](_0x5a4342?.['type']);}async[_0x5b5602(0x157)](_0x1ca270,_0x4378ea){const _0x244e0d={_0x3f6228:0x157},_0x1c9f0a=_0x5b5602;return this[_0x1c9f0a(0x1bc)](_0x1c9f0a(_0x244e0d._0x3f6228),[_0x1ca270,_0x4378ea]),this[_0x1c9f0a(0x154)](_0x4378ea?.[_0x1c9f0a(0x1a1)]);}['screenshotBytes'](_0xfca376){const _0x48fb50={_0x4fafa2:0x154,_0xabefdf:0x19d},_0x1d8750=_0x5b5602,_0x1c763a=this['behavior'][_0x1d8750(_0x48fb50._0x4fafa2)];if(_0x1c763a===void 0x0)return Buffer[_0x1d8750(_0x48fb50._0xabefdf)](_0x1d8750(0x160));return typeof _0x1c763a===_0x1d8750(0x182)?_0x1c763a(_0xfca376):_0x1c763a;}async[_0x5b5602(0x16f)](_0x29c20e){const _0x38ace8={_0x250e75:0x16f,_0x52bd81:0x15d,_0x3c9f66:0x1c0,_0xa089ab:0x146,_0x318c42:0x1c3,_0xa6d18b:0x151},_0x2e73e4=_0x5b5602;this['record'](_0x2e73e4(_0x38ace8._0x250e75),[_0x29c20e]);if(_0x29c20e[_0x2e73e4(0x146)][_0x2e73e4(0x169)]===0x1&&_0x29c20e['steps'][0x0][_0x2e73e4(_0x38ace8._0x52bd81)]===_0x2e73e4(_0x38ace8._0x3c9f66)){const _0x5a48b2=_0x29c20e[_0x2e73e4(_0x38ace8._0xa089ab)][0x0][_0x2e73e4(0x1c0)];return this[_0x2e73e4(0x159)][_0x2e73e4(0x1ae)]?.[_0x5a48b2]??_0x2e73e4(_0x38ace8._0x318c42)+_0x5a48b2+_0x2e73e4(0x1b8);}return _0x2e73e4(_0x38ace8._0xa6d18b);}},FakeContext=class{constructor(_0x1909e3,_0x46b46c,_0x4dc0cc){const _0xfae63d={_0x10430a:0x1c6,_0x7386ff:0x193,_0x24ee47:0x174,_0x522f07:0x185,_0x55ddf9:0x1bd,_0x43128f:0x1a6},_0x461446={_0x5cecea:0x15e},_0x1bd68c=_0x5b5602;this[_0x1bd68c(0x1c2)]=_0x1909e3,this['behavior']=_0x46b46c,this[_0x1bd68c(0x166)]=_0x4dc0cc;const _0x1ad8a3=new FakePage(_0x1909e3,_0x46b46c,_0x4dc0cc+'.page0',_0x46b46c[_0x1bd68c(0x1a2)]??_0x1bd68c(_0xfae63d._0x10430a));_0x46b46c['popupOnClick']&&(_0x1ad8a3[_0x1bd68c(_0xfae63d._0x7386ff)]=()=>{const _0x1ab72e=_0x1bd68c;this['emitFakePopup'](_0x46b46c[_0x1ab72e(_0x461446._0x5cecea)]);}),this[_0x1bd68c(_0xfae63d._0x24ee47)]=[_0x1ad8a3],this[_0x1bd68c(_0xfae63d._0x522f07)]={..._0x46b46c[_0x1bd68c(_0xfae63d._0x55ddf9)]??{}},this[_0x1bd68c(0x180)]={..._0x46b46c[_0x1bd68c(_0xfae63d._0x43128f)]??{}};}[_0x5b5602(0x1c2)];['behavior'];[_0x5b5602(0x166)];static{__name(this,_0x5b5602(0x1a9));}[_0x5b5602(0x174)];[_0x5b5602(0x19b)]=0x0;[_0x5b5602(0x176)]=[];['localStorageState'];[_0x5b5602(0x180)];[_0x5b5602(0x17c)]=new Set();[_0x5b5602(0x1bc)](_0x131619,_0x2bc963){const _0x40cb46={_0x251538:0x1c2},_0x202c9b=_0x5b5602;this[_0x202c9b(_0x40cb46._0x251538)][_0x202c9b(0x16b)]({'scope':this[_0x202c9b(0x166)],'method':_0x131619,'args':_0x2bc963});}['pages'](){const _0x4da255=_0x5b5602;return this[_0x4da255(0x174)];}[_0x5b5602(0x18b)](){const _0x326fe7={_0x28d481:0x174,_0xc8aa0e:0x19b,_0x157162:0x19b},_0x2825ec=_0x5b5602,_0x43ace3=this[_0x2825ec(_0x326fe7._0x28d481)][this[_0x2825ec(_0x326fe7._0xc8aa0e)]];if(!_0x43ace3)throw new DriverError(_0x2825ec(0x1be),{'activeIdx':this[_0x2825ec(_0x326fe7._0x157162)]});return _0x43ace3;}['consoleEntries'](){return this['behavior']['consoleEntries']??[];}['networkEntries'](){const _0x27fe59={_0x239dca:0x172},_0x4e8c7d=_0x5b5602;return this[_0x4e8c7d(0x159)][_0x4e8c7d(_0x27fe59._0x239dca)]??[];}async[_0x5b5602(0x161)](_0x26f7bb){const _0x2f4709={_0xe6003:0x1bc,_0x30e9e7:0x161,_0x35cb78:0x174,_0x3b8ae7:0x189,_0x42cc09:0x169},_0x2d257b=_0x5b5602;this[_0x2d257b(_0x2f4709._0xe6003)](_0x2d257b(_0x2f4709._0x30e9e7),[_0x26f7bb]);if(_0x26f7bb<0x0||_0x26f7bb>=this[_0x2d257b(_0x2f4709._0x35cb78)]['length'])throw new DriverError(_0x2d257b(_0x2f4709._0x3b8ae7),{'index':_0x26f7bb,'available':this[_0x2d257b(0x174)][_0x2d257b(_0x2f4709._0x42cc09)]});this['activeIdx']=_0x26f7bb,this[_0x2d257b(0x176)][_0x2d257b(0x169)]=0x0;}[_0x5b5602(0x1a4)](_0x4952f7){const _0x470b5c=_0x5b5602;return subscribe(this[_0x470b5c(0x17c)],_0x4952f7);}['emitFakePopup'](_0x6d6298){const _0x57c695={_0x2bd914:0x174,_0x5b8554:0x174,_0x33c84d:0x17c},_0x31776c=_0x5b5602,_0x349e7b=this[_0x31776c(0x166)]+'.page'+this[_0x31776c(_0x57c695._0x2bd914)][_0x31776c(0x169)],_0x367400=new FakePage(this[_0x31776c(0x1c2)],this['behavior'],_0x349e7b,_0x6d6298);this[_0x31776c(_0x57c695._0x2bd914)]['push'](_0x367400);const _0x5e3129=this[_0x31776c(_0x57c695._0x5b8554)][_0x31776c(0x169)]-0x1;for(const _0x579f0a of this[_0x31776c(_0x57c695._0x33c84d)]){try{_0x579f0a({'index':_0x5e3129,'url':_0x6d6298});}catch{}}return _0x5e3129;}['closeFakePage'](_0x1261a7){const _0x10dc07={_0x1a079d:0x174,_0x2ae539:0x189,_0x4e111a:0x17b},_0x1dd7c4=_0x5b5602;if(_0x1261a7<0x0||_0x1261a7>=this[_0x1dd7c4(_0x10dc07._0x1a079d)][_0x1dd7c4(0x169)])throw new DriverError(_0x1dd7c4(_0x10dc07._0x2ae539),{'index':_0x1261a7,'available':this[_0x1dd7c4(_0x10dc07._0x1a079d)][_0x1dd7c4(0x169)]});this['pageList'][_0x1dd7c4(_0x10dc07._0x4e111a)](_0x1261a7,0x1);}async[_0x5b5602(0x195)](_0x39201b){const _0x9297b6={_0x4b1949:0x195,_0x4889fd:0x169,_0x2c3398:0x194,_0x5f1532:0x176},_0x295c8f=_0x5b5602;this[_0x295c8f(0x1bc)](_0x295c8f(_0x9297b6._0x4b1949),[_0x39201b]);if(!_0x39201b['steps'][_0x295c8f(_0x9297b6._0x4889fd)])throw new LocatorError(_0x295c8f(_0x9297b6._0x2c3398),{'locator':_0x39201b});this[_0x295c8f(_0x9297b6._0x5f1532)][_0x295c8f(0x16b)](_0x39201b);}async['exitFrame'](){const _0x45393a={_0x1a7292:0x18a,_0x544f4b:0x169,_0x1b79fe:0x176,_0x1c5eb2:0x178},_0x2d757c=_0x5b5602;this[_0x2d757c(0x1bc)](_0x2d757c(_0x45393a._0x1a7292),[]);if(this['frameStack'][_0x2d757c(_0x45393a._0x544f4b)]===0x0)throw new DriverError('exitFrame\x20called\x20with\x20no\x20frame\x20on\x20the\x20stack',{});this[_0x2d757c(_0x45393a._0x1b79fe)][_0x2d757c(_0x45393a._0x1c5eb2)]();}async[_0x5b5602(0x1a7)](_0x38afec,_0x1d6e0c){const _0x5a7102=_0x5b5602;this[_0x5a7102(0x1bc)]('setLocalStorage',[_0x38afec,_0x1d6e0c]),this['localStorageState'][_0x38afec]=_0x1d6e0c;}async['getLocalStorage'](_0x314f70){const _0x316a9d=_0x5b5602;return this['record'](_0x316a9d(0x19f),[_0x314f70]),this['localStorageState'][_0x314f70]??null;}async[_0x5b5602(0x16d)](_0x11e492,_0x1ee972,_0x4af321){const _0x4e7469={_0x85d18e:0x180},_0x188b53=_0x5b5602;this['record']('setCookie',[_0x11e492,_0x1ee972,_0x4af321]),this[_0x188b53(_0x4e7469._0x85d18e)][_0x11e492]=_0x1ee972;}async[_0x5b5602(0x1bf)](_0x57e9e9){const _0x520a02={_0x52d41a:0x180},_0x593473=_0x5b5602;return this[_0x593473(0x1bc)]('getCookie',[_0x57e9e9]),this[_0x593473(_0x520a02._0x52d41a)][_0x57e9e9]??null;}async[_0x5b5602(0x165)](_0x5627e7){const _0x216221={_0x1cbaa9:0x1bc},_0x2b8933=_0x5b5602;this[_0x2b8933(_0x216221._0x1cbaa9)](_0x2b8933(0x165),[_0x5627e7]);}async[_0x5b5602(0x17e)](_0x25922a){const _0x511ac1={_0x4ea9f0:0x1bc,_0x5d1421:0x17e},_0x4ef88d=_0x5b5602;return this[_0x4ef88d(_0x511ac1._0x4ea9f0)](_0x4ef88d(_0x511ac1._0x5d1421),[_0x25922a]),void 0x0;}async[_0x5b5602(0x173)](){const _0x3fecdf=_0x5b5602;this[_0x3fecdf(0x1bc)](_0x3fecdf(0x173),[]);}[_0x5b5602(0x15a)](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0x1bd9b3={}){const _0x2ec53e={_0x5250eb:0x1c2},_0x394ac8=_0x5b5602;this[_0x394ac8(0x159)]=_0x1bd9b3,this[_0x394ac8(_0x2ec53e._0x5250eb)]=createRecorder();}[_0x5b5602(0x159)];static{__name(this,_0x5b5602(0x171));}[_0x5b5602(0x1bb)]=![];[_0x5b5602(0x1c2)];[_0x5b5602(0x16c)]=[];async[_0x5b5602(0x149)](_0x467e76){const _0x52ad09={_0x224f6f:0x16b,_0x15b642:0x198},_0x42efdb=_0x5b5602;this['recorder'][_0x42efdb(_0x52ad09._0x224f6f)]({'scope':_0x42efdb(_0x52ad09._0x15b642),'method':'launch','args':[_0x467e76]}),this[_0x42efdb(0x1bb)]=!![];}async[_0x5b5602(0x186)](_0x77208b){const _0x5e0ea3={_0xaf94ba:0x1c2,_0xac8904:0x16b,_0x59fb77:0x198,_0x3a8048:0x186,_0x31bdca:0x1b7,_0x7c3ea:0x1c2,_0xe2b82a:0x159},_0xbdcc14=_0x5b5602;this[_0xbdcc14(_0x5e0ea3._0xaf94ba)][_0xbdcc14(_0x5e0ea3._0xac8904)]({'scope':_0xbdcc14(_0x5e0ea3._0x59fb77),'method':_0xbdcc14(_0x5e0ea3._0x3a8048),'args':[_0x77208b]});if(!this['launched'])throw new DriverError(_0xbdcc14(_0x5e0ea3._0x31bdca),{});const _0x40462d=new FakeContext(this[_0xbdcc14(_0x5e0ea3._0x7c3ea)],this[_0xbdcc14(_0x5e0ea3._0xe2b82a)],_0xbdcc14(0x1aa)+this['contexts']['length']);return this[_0xbdcc14(0x16c)][_0xbdcc14(0x16b)](_0x40462d),_0x40462d;}async['close'](){const _0xe69b36={_0x1b3d06:0x16b},_0x5c7210=_0x5b5602;this['recorder'][_0x5c7210(_0xe69b36._0x1b3d06)]({'scope':'driver','method':'close','args':[]}),this[_0x5c7210(0x1bb)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x5b5602(0x15b)](){const _0x2ad68a=_0x5b5602;throw new DriverError(_0x2ad68a(0x162),{});}[_0x5b5602(0x199)](_0xf4b7c8){const _0x406897=_0x5b5602;throw new DriverError(_0x406897(0x14f),{});}['calls'](){const _0x282651={_0x86c948:0x153},_0x432c4e=_0x5b5602;return this['recorder'][_0x432c4e(_0x282651._0x86c948)]();}['callsFor'](_0x169a1b){const _0x3eaebc={_0x11d28d:0x181},_0xff6315=_0x5b5602;return this['recorder'][_0xff6315(0x153)]()[_0xff6315(_0x3eaebc._0x11d28d)](_0x5bcacb=>_0x5bcacb['method']===_0x169a1b);}};export{FakeWebDriver};function _0x3f70(){const _0xb2a82d=['y29VA2LLu3rHDgu','zMLSDgvY','zNvUy3rPB24','D2fPDezVCKXVywrtDgf0zq','AxneAxnHyMXLza','Bg9JywXtDg9YywDLu3rHDgu','BMv3q29UDgv4Da','zwXLBwvUDeHPBNrcEvjLzG','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zxHPDezYyw1L','ywn0AxzLugfNzq','AxnwAxnPyMXL','zMLSBa','mtqYntmYnuv1tw5UuG','zgvSzxrL','D2fPDezVCK5HDMLNyxrPB24','C2nYB2XSsw50B1zPzxC','rMfRzvbHz2u','B25bzNrLCKnSAwnR','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','zw50zxjgCMfTzq','z290BW','mJfNug5Vu2e','zhjPDMvY','yxr0ywnOrxHPC3rPBMC','rhjPDMvYrxjYB3i','ywn0AxzLswr4','Bwf5yMvuAhjVDW','zNjVBq','Aw5UzxjuzxH0','z2v0tg9JywXtDg9YywDL','ndi1nZyZohHWzuDqwa','DhLWzq','Aw5PDgLHBfvYBa','zg91yMXLq2XPy2S','B25ozxDqywDL','D2fPDezVCLvYBa','y29VA2LLCW','C2v0tg9JywXtDg9YywDL','z2v0qxr0CMLIDxrL','rMfRzunVBNrLEhq','y3r4','zMfRzsb0AxrSzq','mJq3ndCZnNDqDgnWEa','Ag92zxi','B3v0zxjiDg1SqNLszwy','zhjHz0fUzerYB3a','y2HLy2S','zgvMAw5LuhjVCgvYDhK','C3vIC2nYAwjL','BMfTzq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z29cywnR','Dgv4DenVBNrLBNq','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','iJ48l2rPDJ4','mJHQwxPly2C','nJKZmNDOs2rRDa','Bgf1BMnOzwq','CMvJB3jK','Bg9JywXtDg9YywDL','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','z2v0q29VA2LL','CMvM','y2HLy2TLzfn0yxrL','CMvJB3jKzxi','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zxzHBhvHDgvszxn1Bhq','DgL0Bgu','ywjVDxq6yMXHBMS','C3rLChm','y3vYCMvUDfvYBa','Dw5JAgvJAW','Bgf1BMnO','mZaZmJfeBvDgBxu','mJm4mZu2zNvYuwPM','mZqWtMnhrgrT','y2XPy2S','C2vSzwn0t3b0Aw9U','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','ngj6DgTSBq','pgrPDJ48l2rPDJ4','zxjYB3jpBK5LEhrby3rPB24','y2fSBhm','C2nYzwvUC2HVDej5DgvZ','DxbSB2fKrMLSzq','z29gB3j3yxjK','C2nYzwvUC2HVDevSzw1LBNq','y2XPCgjVyxjKugfZDgu','yMvOyxzPB3i','zNjHBwvezxb0Aa','y29UBMvJDfnOyxjLza','AxneAxnHyMXLzej5rgvMyxvSDa','A2LUza','Cg9WDxbpBKnSAwnR','ywrK','zMfRzs1WBMC','C2v0qwn0AxzLugfNzq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','ChjLC3m','C2nYzwvUC2HVDa','C2f2zvn0B3jHz2vtDgf0zq','C2nVCgu','Aw5WDxrwywX1zq','mJrUq1fUugq','BgvUz3rO','D2fPDezVCLrLEhq','ChvZAa','y29UDgv4Dhm','C2v0q29VA2LL','Aw5ZCgvJDevSzw1LBNq','B3v0zxjive1m','D2fPDezVCG','rMfRzvDLyKrYAxzLCG','BMv0D29YA0vUDhjPzxm','y2XVC2u','CgfNzuXPC3q','zxzHBhvHDgvpBKXVy2f0B3i','zNjHBwvtDgfJAW','y2HLy2TLzfn0yxrLqNLezwzHDwX0','Cg9W','mtaWmZKWohvizfPKva','y291BNq','C3bSAwnL','BMv3ugfNzuXPC3rLBMvYCW','Aw5UzxjuzxH0qNLezwzHDwX0','zxzHBhvHDgu','CMvSB2fK'];_0x3f70=function(){return _0xb2a82d;};return _0x3f70();}
|
|
1
|
+
const _0x5c6c84=_0xb7a9;(function(_0x51e34e,_0x3f992e){const _0x6fcf81={_0x572cea:0x18b,_0x4eb11e:0x186},_0x16cd2f=_0xb7a9,_0x349721=_0x51e34e();while(!![]){try{const _0x44ee88=-parseInt(_0x16cd2f(0x161))/0x1+parseInt(_0x16cd2f(0x173))/0x2*(parseInt(_0x16cd2f(0x16e))/0x3)+parseInt(_0x16cd2f(_0x6fcf81._0x572cea))/0x4+parseInt(_0x16cd2f(_0x6fcf81._0x4eb11e))/0x5*(parseInt(_0x16cd2f(0x13a))/0x6)+-parseInt(_0x16cd2f(0x12e))/0x7*(-parseInt(_0x16cd2f(0x13f))/0x8)+-parseInt(_0x16cd2f(0x159))/0x9+parseInt(_0x16cd2f(0x150))/0xa;if(_0x44ee88===_0x3f992e)break;else _0x349721['push'](_0x349721['shift']());}catch(_0x431f25){_0x349721['push'](_0x349721['shift']());}}}(_0x4173,0x493d3));function _0xb7a9(_0xe70991,_0x492c2f){_0xe70991=_0xe70991-0x11a;const _0x417371=_0x4173();let _0xb7a921=_0x417371[_0xe70991];if(_0xb7a9['AxfAVi']===undefined){var _0x4490bc=function(_0x561c7d){const _0x4dcaf0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ed2c1='',_0x2e8c2c='';for(let _0x55c5ad=0x0,_0x462187,_0x6c9867,_0x1ba077=0x0;_0x6c9867=_0x561c7d['charAt'](_0x1ba077++);~_0x6c9867&&(_0x462187=_0x55c5ad%0x4?_0x462187*0x40+_0x6c9867:_0x6c9867,_0x55c5ad++%0x4)?_0x3ed2c1+=String['fromCharCode'](0xff&_0x462187>>(-0x2*_0x55c5ad&0x6)):0x0){_0x6c9867=_0x4dcaf0['indexOf'](_0x6c9867);}for(let _0x4b89a6=0x0,_0x2f23b6=_0x3ed2c1['length'];_0x4b89a6<_0x2f23b6;_0x4b89a6++){_0x2e8c2c+='%'+('00'+_0x3ed2c1['charCodeAt'](_0x4b89a6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2e8c2c);};_0xb7a9['zibEsP']=_0x4490bc,_0xb7a9['bOFLuq']={},_0xb7a9['AxfAVi']=!![];}const _0x256b91=_0x417371[0x0],_0x460db5=_0xe70991+_0x256b91,_0x1a81cb=_0xb7a9['bOFLuq'][_0x460db5];return!_0x1a81cb?(_0xb7a921=_0xb7a9['zibEsP'](_0xb7a921),_0xb7a9['bOFLuq'][_0x460db5]=_0xb7a921):_0xb7a921=_0x1a81cb,_0xb7a921;}var __defProp=Object[_0x5c6c84(0x11d)],__name=(_0x3ed2c1,_0x2e8c2c)=>__defProp(_0x3ed2c1,_0x5c6c84(0x134),{'value':_0x2e8c2c,'configurable':!![]});function subscribe(_0x55c5ad,_0x462187){const _0x1e2a14=_0x5c6c84;return _0x55c5ad[_0x1e2a14(0x174)](_0x462187),()=>{const _0xe473c2=_0x1e2a14;_0x55c5ad[_0xe473c2(0x11f)](_0x462187);};}__name(subscribe,_0x5c6c84(0x17b));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x5c6c84(0x15d));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function _0x4173(){const _0x1e91a0=['y2XVC2u','y29VA2LLu3rHDgu','iJ48l2rPDJ4','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','mtq1oteXmNjfzejHsG','z2v0qxr0CMLIDxrL','Bgf1BMnOzwq','y291BNrcEurLzMf1Bhq','zhjPDMvY','zxjYB3jpBK5LEhrby3rPB24','y2XPCgjVyxjKugfZDgu','CMvJB3jKzxi','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','A2LUza','BgvUz3rO','zw1PDezHA2vqB3b1Ca','CgfNzxm','Cg9W','zxHPDezYyw1L','BMv3q29UDgv4Da','z29gB3j3yxjK','C2f2zvn0B3jHz2vtDgf0zq','zgvMAw5LuhjVCgvYDhK','z2v0q29VA2LL','zgvSzxrL','Bgf1BMnO','y2fSBhm','Cg9WDxbpBKnSAwnR','Aw5WDxrwywX1zq','y2XVC2vgywTLugfNzq','zNjHBwvtDgfJAW','y3vYCMvUDfvYBa','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','CMvSB2fK','z2v0tg9JywXtDg9YywDL','yxr0ywnOrxHPC3rPBMC','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','zMLSBa','zNvUy3rPB24','mJqXnZi0uM5LvuXe','CgfNzuXPC3q','y291BNq','D2fPDezVCKXVywrtDgf0zq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zg91yMXLq2XPy2S','BMfTzq','zMLSDgvY','BMv0D29YA0vUDhjPzxm','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','Dw5JAgvJAW','Bg9JywXtDg9YywDLu3rHDgu','mJK0nLDuy3veqW','zhjHz0fUzerYB3a','B25ozxDqywDL','pgrPDJ48l2rPDJ4','DgL0Bgu','mZjiDg5lyuG','ywn0AxzLswr4','C3rLChm','D2fPDezVCLrLEhq','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','y29UDgv4Dhm','y2HLy2S','zw50zxjgCMfTzq','y2HLy2TLzfn0yxrL','rMfRzunVBNrLEhq','z29cywnR','C2v0q29VA2LL','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','Aw5UzxjuzxH0','ChvZAa','C2nYzwvUC2HVDa','yMvOyxzPB3i','mtmYmtu5mfjcD0nWuW','B25bzNrLCKnSAwnR','D2fPDezVCLvYBa','C2nVCgu','C2v0qwn0AxzLugfNzq','zNjVBq','D2fPDezVCG','AxnwAxnPyMXL','zMfRzs1WBMC','nde2ota1mMDOvNDpAq','C2vSzwn0t3b0Aw9U','y2XPy2S','C3bSAwnL','rhjPDMvYrxjYB3i','B3v0zxjiDg1SqNLszwy','zwXLBwvUDeHPBNrcEvjLzG','AxneAxnHyMXLza','ndG2ode4Bgn3q2Tj','Aw5WDxrwywX1zuj5rgvMyxvSDa','y3r4','y2fSBhngB3i','C2nYB2XSsw50B1zPzxC','Bwf5yMvuAhjVDW','BMv3ugfNzuXPC3rLBMvYCW','C2nYzwvUC2HVDevSzw1LBNq','lNbHz2u','ywn0AxzLugfNzq','AxnwAxnPyMXLqNLezwzHDwX0','DhLWzq','D3nfBMrWB2LUDa','mJDrtKD5AeC','zNjHBwvezxb0Aa','CMvM','y2HLy2TLzfn0yxrLqNLezwzHDwX0','rMfRzvbHz2u','odq1ne9tB3DNyq','ywrK','y29UBMvJDfnOyxjLza','y29UC29SzuvUDhjPzxm','Aw5ZCgvJDevSzw1LBNq','Aw5UzxjuzxH0qNLezwzHDwX0','Bg9JywXtDg9YywDL','z290BW','C3vIC2nYAwjL','Aw5PDgLHBfvYBa','CMvJB3jK','zxzHBhvHDgvszxn1Bhq','zxzHBhvHDgvpBKXVy2f0B3i','AxneAxnHyMXLzej5rgvMyxvSDa','Bwv0Ag9K','C2v0tg9JywXtDg9YywDL','zxzHBhvHDgu','Ag92zxi','yxr0CMLIDxrLC0j5rgvMyxvSDa','ntG3nxbgsMHkEa'];_0x4173=function(){return _0x1e91a0;};return _0x4173();}function createRecorder(){const _0x261447={_0x1f8cb1:0x14d,_0x3f84ee:0x121},_0x113a07=_0x5c6c84,_0x6c9867=[];let _0x1ba077=0x0;return{'push':__name(_0x4b89a6=>_0x6c9867[_0x113a07(0x14d)]({..._0x4b89a6,'seq':_0x1ba077++}),_0x113a07(_0x261447._0x1f8cb1)),'calls':__name(()=>_0x6c9867,_0x113a07(_0x261447._0x3f84ee))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x2f23b6,_0x1d667f,_0x24122d,_0x241d22){const _0x40a69e={_0xd668af:0x153,_0x28be81:0x126},_0x417068=_0x5c6c84;this['recorder']=_0x2f23b6,this['behavior']=_0x1d667f,this[_0x417068(_0x40a69e._0xd668af)]=_0x24122d,this[_0x417068(_0x40a69e._0x28be81)]=_0x241d22;}[_0x5c6c84(0x192)];['behavior'];['scope'];static{__name(this,_0x5c6c84(0x172));}['currentUrl'];[_0x5c6c84(0x151)];[_0x5c6c84(0x17d)](_0x57f97f,_0x4a1c52){const _0x1869d0={_0x5ce0a5:0x192,_0x18eac8:0x153},_0x39d416=_0x5c6c84;this[_0x39d416(_0x1869d0._0x5ce0a5)]['push']({'scope':this[_0x39d416(_0x1869d0._0x18eac8)],'method':_0x57f97f,'args':_0x4a1c52});}[_0x5c6c84(0x166)](){const _0x192056={_0x4a02d0:0x190,_0x4888d0:0x14f,_0x123523:0x190},_0x2f2ab5=_0x5c6c84;if(this[_0x2f2ab5(0x14f)][_0x2f2ab5(_0x192056._0x4a02d0)]){const _0x258d26=this[_0x2f2ab5(_0x192056._0x4888d0)][_0x2f2ab5(_0x192056._0x123523)];this['behavior']['errorOnNextAction']=void 0x0;throw _0x258d26;}}['url'](){const _0x420ce5=_0x5c6c84;return this[_0x420ce5(0x126)];}async[_0x5c6c84(0x13e)](){const _0x596cf8=_0x5c6c84;return this[_0x596cf8(0x17d)]('title',[]),'fake\x20title';}async[_0x5c6c84(0x15b)](_0x163e94,_0x28edac){const _0x5e634a={_0x5c7118:0x15b},_0x341cca=_0x5c6c84;this['record'](_0x341cca(_0x5e634a._0x5c7118),[_0x163e94,_0x28edac]),this[_0x341cca(0x166)](),this[_0x341cca(0x151)]?.();}async[_0x5c6c84(0x133)](_0x243593,_0x240c96){const _0x242c42={_0x525193:0x166},_0x538cee=_0x5c6c84;this[_0x538cee(0x17d)](_0x538cee(0x133),[_0x243593,_0x240c96]),this[_0x538cee(_0x242c42._0x525193)]();}async['fill'](_0x4e8d11,_0x318a2c,_0x2fcf59){const _0x5e5a37={_0x13698b:0x12c},_0x38bd64=_0x5c6c84;this['record'](_0x38bd64(_0x5e5a37._0x13698b),[_0x4e8d11,_0x318a2c,_0x2fcf59]),this[_0x38bd64(0x166)]();}async['press'](_0x45eeec,_0x1e2dfc,_0x3b8d04){const _0x508a13=_0x5c6c84;this[_0x508a13(0x17d)]('press',[_0x45eeec,_0x1e2dfc,_0x3b8d04]),this[_0x508a13(0x166)]();}async[_0x5c6c84(0x145)](_0x7a5590,_0x3f62b1){const _0x5debd4={_0x539b29:0x145},_0xfef888=_0x5c6c84;this['record'](_0xfef888(_0x5debd4._0x539b29),[_0x7a5590,_0x3f62b1]),this[_0xfef888(0x166)]();}async[_0x5c6c84(0x138)](_0x49f86f,_0x45971f){const _0x241a38={_0x2a639d:0x17d},_0x17a45e=_0x5c6c84;this[_0x17a45e(_0x241a38._0x2a639d)](_0x17a45e(0x138),[_0x49f86f,_0x45971f]),this[_0x17a45e(0x166)]();}async[_0x5c6c84(0x15a)](_0x349e8c,_0x5101a2,_0x266ff3){const _0x3ae0a0=_0x5c6c84;this[_0x3ae0a0(0x17d)]('selectOption',[_0x349e8c,_0x5101a2,_0x266ff3]),this[_0x3ae0a0(0x166)]();}async['hover'](_0x356e1d,_0x46e804){const _0x2e99e7=_0x5c6c84;this[_0x2e99e7(0x17d)](_0x2e99e7(0x184),[_0x356e1d,_0x46e804]),this[_0x2e99e7(0x166)]();}async[_0x5c6c84(0x165)](_0x882562){const _0x41a6e8={_0x5dc9d5:0x166},_0x463fd5=_0x5c6c84;this[_0x463fd5(0x17d)](_0x463fd5(0x165),[_0x882562]),this[_0x463fd5(_0x41a6e8._0x5dc9d5)]();}async[_0x5c6c84(0x13b)](_0x41da1a,_0x7f283d,_0x5dc78b){const _0x25b66d=_0x5c6c84;this[_0x25b66d(0x17d)](_0x25b66d(0x13b),[_0x41da1a,_0x7f283d,_0x5dc78b]),this['maybeThrow']();}async['uploadFile'](_0x1baefc,_0x5ce88a){const _0x46e94c={_0x55b7b0:0x17d},_0x4edf46=_0x5c6c84;this[_0x4edf46(_0x46e94c._0x55b7b0)]('uploadFile',[_0x1baefc,_0x5ce88a]),this['maybeThrow']();}async[_0x5c6c84(0x191)](_0x1843df,_0x53c1e9){const _0x170d81={_0x53f23b:0x166},_0x5d8029=_0x5c6c84;this[_0x5d8029(0x17d)]('clipboardPaste',[_0x1843df,_0x53c1e9]),this[_0x5d8029(_0x170d81._0x53f23b)]();}async[_0x5c6c84(0x130)](_0x87713e){const _0x5c1a19=_0x5c6c84;return this[_0x5c1a19(0x17d)](_0x5c1a19(0x130),[_0x87713e]),this[_0x5c1a19(0x14f)][_0x5c1a19(0x18e)]??0x1;}async['textContent'](_0x2202e9){const _0x48ab86={_0x260807:0x14f},_0x177732=_0x5c6c84;return this[_0x177732(0x17d)]('textContent',[_0x2202e9]),this[_0x177732(_0x48ab86._0x260807)][_0x177732(0x132)]??'';}async[_0x5c6c84(0x14c)](_0x3f25c3){const _0x4d2148={_0x514cae:0x17d,_0x2da561:0x14f,_0x176db2:0x178},_0xec864=_0x5c6c84;return this[_0xec864(_0x4d2148._0x514cae)](_0xec864(0x14c),[_0x3f25c3]),this[_0xec864(_0x4d2148._0x2da561)][_0xec864(_0x4d2148._0x176db2)]??this[_0xec864(_0x4d2148._0x2da561)][_0xec864(0x132)]??'';}async['inputValue'](_0x2cd04b){const _0x44b0b2={_0x324b91:0x17d,_0x2b6d72:0x123,_0x56b3b6:0x162},_0x3cdc33=_0x5c6c84;return this[_0x3cdc33(_0x44b0b2._0x324b91)](_0x3cdc33(_0x44b0b2._0x2b6d72),[_0x2cd04b]),this[_0x3cdc33(0x14f)][_0x3cdc33(_0x44b0b2._0x56b3b6)]??'';}async[_0x5c6c84(0x147)](_0x54d505){const _0x27e38e={_0x1b4434:0x17d,_0x2c64a8:0x14f},_0xd751ae=_0x5c6c84;return this[_0xd751ae(_0x27e38e._0x1b4434)](_0xd751ae(0x147),[_0x54d505]),this[_0xd751ae(_0x27e38e._0x2c64a8)][_0xd751ae(0x171)]??null;}async[_0x5c6c84(0x157)](_0x48781f){const _0x3b9c47={_0xbf7d9c:0x157,_0x5b71f5:0x14f},_0x3ea44a=_0x5c6c84;return this[_0x3ea44a(0x17d)](_0x3ea44a(_0x3b9c47._0xbf7d9c),[_0x48781f]),this[_0x3ea44a(_0x3b9c47._0x5b71f5)][_0x3ea44a(0x16b)]??!![];}async[_0x5c6c84(0x160)](_0x22a4da){const _0x322bd6={_0x51897f:0x17d,_0x3fb121:0x14f},_0xe1da4d=_0x5c6c84;return this[_0xe1da4d(_0x322bd6._0x51897f)](_0xe1da4d(0x160),[_0x22a4da]),this[_0xe1da4d(_0x322bd6._0x3fb121)][_0xe1da4d(0x180)]??![];}async[_0x5c6c84(0x18c)](_0x194701,_0x3be05e){const _0x12eae8={_0x2e83c4:0x18c},_0x5205fb=_0x5c6c84;return this['record'](_0x5205fb(_0x12eae8._0x2e83c4),[_0x194701,_0x3be05e]),this['behavior'][_0x5205fb(0x185)]?.[_0x3be05e]??null;}async[_0x5c6c84(0x156)](_0x55499c,_0x26b0b4){this['record']('waitFor',[_0x55499c,_0x26b0b4]);}async[_0x5c6c84(0x152)](_0x801601,_0x7d8e40){const _0x1d2ac1={_0xd8a600:0x17d,_0x42e0c5:0x152},_0x3cf77f=_0x5c6c84;this[_0x3cf77f(_0x1d2ac1._0xd8a600)](_0x3cf77f(_0x1d2ac1._0x42e0c5),[_0x801601,_0x7d8e40]);}async[_0x5c6c84(0x142)](_0x7a0fd8,_0x229135){const _0x8d7ff2=_0x5c6c84;this['record'](_0x8d7ff2(0x142),[_0x7a0fd8,_0x229135]);}async['waitForNavigation'](_0x32c49d){const _0x45e640=_0x5c6c84;this[_0x45e640(0x17d)]('waitForNavigation',[_0x32c49d]);}async[_0x5c6c84(0x131)](_0x590df8,_0x20ff23){const _0x24cab1=_0x5c6c84;this['record'](_0x24cab1(0x131),[_0x590df8,_0x20ff23]);}async['goto'](_0x389b74,_0x52d58a){const _0x17d9c6={_0x599aa3:0x17a},_0xce0f18=_0x5c6c84;this['record'](_0xce0f18(_0x17d9c6._0x599aa3),[_0x389b74,_0x52d58a]),this['currentUrl']=_0x389b74;}async[_0x5c6c84(0x128)](_0x277a8b){const _0x1c6530=_0x5c6c84;this[_0x1c6530(0x17d)](_0x1c6530(0x128),[_0x277a8b]);}async[_0x5c6c84(0x149)](_0x23c4e6){const _0x5b49df={_0x3f7567:0x149},_0x190113=_0x5c6c84;this[_0x190113(0x17d)](_0x190113(_0x5b49df._0x3f7567),[_0x23c4e6]);}async[_0x5c6c84(0x11b)](_0x3dc137){const _0x216f43=_0x5c6c84;this['record'](_0x216f43(0x11b),[_0x3dc137]);}async[_0x5c6c84(0x183)](_0x295681){const _0x4e27e6={_0x264adc:0x17e},_0x3e81b5=_0x5c6c84;return this[_0x3e81b5(0x17d)]('evaluate',[_0x295681]),this['behavior'][_0x3e81b5(_0x4e27e6._0x264adc)];}async[_0x5c6c84(0x17f)](_0x47f825,_0x15687a){const _0x584b62={_0x32d48e:0x17d,_0x311915:0x17f},_0x1d9ccb=_0x5c6c84;return this[_0x1d9ccb(_0x584b62._0x32d48e)](_0x1d9ccb(_0x584b62._0x311915),[_0x47f825,_0x15687a]),void 0x0;}async[_0x5c6c84(0x177)](_0x10e117){const _0x443432={_0x394364:0x141,_0x14ac83:0x170,_0x7382ea:0x141,_0x2e1523:0x14f,_0x1ce18c:0x15f},_0x50e531=_0x5c6c84;this['record'](_0x50e531(0x177),[_0x10e117]);if(_0x10e117[_0x50e531(0x141)][_0x50e531(0x195)]!==0x1||_0x10e117[_0x50e531(_0x443432._0x394364)][0x0]['kind']!==_0x50e531(_0x443432._0x14ac83))return null;const _0x40ac27=_0x10e117[_0x50e531(_0x443432._0x7382ea)][0x0]['ref'],_0x21e18d=this[_0x50e531(_0x443432._0x2e1523)][_0x50e531(_0x443432._0x1ce18c)]?.[_0x40ac27];return _0x21e18d??null;}async[_0x5c6c84(0x14e)](_0x23c472){const _0x34181e={_0x43fad5:0x17d,_0x42eb50:0x16c},_0x196e52=_0x5c6c84;return this[_0x196e52(_0x34181e._0x43fad5)](_0x196e52(0x14e),[_0x23c472]),this['screenshotBytes'](_0x23c472?.[_0x196e52(_0x34181e._0x42eb50)]);}async[_0x5c6c84(0x168)](_0x3472c9,_0x1d59da){const _0x74b4b3=_0x5c6c84;return this[_0x74b4b3(0x17d)](_0x74b4b3(0x168),[_0x3472c9,_0x1d59da]),this['screenshotBytes'](_0x1d59da?.[_0x74b4b3(0x16c)]);}['screenshotBytes'](_0x5ea5d5){const _0x263580={_0x278bbb:0x158,_0x347b2b:0x12d},_0x11b53b=_0x5c6c84,_0x7e2f25=this[_0x11b53b(0x14f)]['screenshotBytes'];if(_0x7e2f25===void 0x0)return Buffer[_0x11b53b(0x155)](_0x11b53b(_0x263580._0x278bbb));return typeof _0x7e2f25===_0x11b53b(_0x263580._0x347b2b)?_0x7e2f25(_0x5ea5d5):_0x7e2f25;}async['outerHTML'](_0x2ca328){const _0x1e0098={_0x50d088:0x15e,_0x453a98:0x189},_0x441826=_0x5c6c84;this[_0x441826(0x17d)]('outerHTML',[_0x2ca328]);if(_0x2ca328[_0x441826(0x141)]['length']===0x1&&_0x2ca328[_0x441826(0x141)][0x0][_0x441826(0x194)]===_0x441826(0x170)){const _0x487d0b=_0x2ca328[_0x441826(0x141)][0x0]['ref'];return this[_0x441826(0x14f)][_0x441826(_0x1e0098._0x50d088)]?.[_0x487d0b]??_0x441826(0x127)+_0x487d0b+_0x441826(_0x1e0098._0x453a98);}return _0x441826(0x13d);}},FakeContext=class{constructor(_0x20b584,_0x345ab6,_0x35b119){const _0x40c520={_0x47a423:0x122,_0x59a3d0:0x139,_0x2727ac:0x179},_0x18b193=_0x5c6c84;this['recorder']=_0x20b584,this[_0x18b193(0x14f)]=_0x345ab6,this['scope']=_0x35b119;const _0x22bb65=new FakePage(_0x20b584,_0x345ab6,_0x35b119+'.page0',_0x345ab6[_0x18b193(0x17c)]??'about:blank');_0x345ab6[_0x18b193(_0x40c520._0x47a423)]&&(_0x22bb65[_0x18b193(0x151)]=()=>{const _0x43b74f=_0x18b193;this[_0x43b74f(0x196)](_0x345ab6[_0x43b74f(0x122)]);}),this['pageList']=[_0x22bb65],this[_0x18b193(_0x40c520._0x59a3d0)]={..._0x345ab6[_0x18b193(_0x40c520._0x2727ac)]??{}},this['cookieState']={..._0x345ab6['cookies']??{}};}['recorder'];[_0x5c6c84(0x14f)];[_0x5c6c84(0x153)];static{__name(this,_0x5c6c84(0x148));}[_0x5c6c84(0x12f)];[_0x5c6c84(0x140)]=0x0;[_0x5c6c84(0x125)]=[];[_0x5c6c84(0x139)];[_0x5c6c84(0x188)];[_0x5c6c84(0x167)]=new Set();[_0x5c6c84(0x17d)](_0x39246f,_0x20d11a){const _0x1dd474=_0x5c6c84;this[_0x1dd474(0x192)]['push']({'scope':this[_0x1dd474(0x153)],'method':_0x39246f,'args':_0x20d11a});}[_0x5c6c84(0x197)](){const _0x5c53e1={_0x308efb:0x12f},_0x4f7692=_0x5c6c84;return this[_0x4f7692(_0x5c53e1._0x308efb)];}[_0x5c6c84(0x16a)](){const _0x1b720c={_0x3511e6:0x14b},_0x2e3a75=_0x5c6c84,_0x256efd=this[_0x2e3a75(0x12f)][this['activeIdx']];if(!_0x256efd)throw new DriverError(_0x2e3a75(_0x1b720c._0x3511e6),{'activeIdx':this[_0x2e3a75(0x140)]});return _0x256efd;}[_0x5c6c84(0x176)](){const _0x216dc1={_0x394366:0x176},_0x5221da=_0x5c6c84;return this[_0x5221da(0x14f)][_0x5221da(_0x216dc1._0x394366)]??[];}[_0x5c6c84(0x136)](){const _0x41e56a={_0x3c7c65:0x136},_0xc8679c=_0x5c6c84;return this[_0xc8679c(0x14f)][_0xc8679c(_0x41e56a._0x3c7c65)]??[];}async[_0x5c6c84(0x154)](_0xf84794){const _0x8e1b63={_0x4f92f5:0x17d,_0xee47d8:0x154,_0x10dc5a:0x12f,_0x58b58a:0x193,_0x1bb85d:0x195,_0x51c187:0x140,_0x26e589:0x195},_0x996cb3=_0x5c6c84;this[_0x996cb3(_0x8e1b63._0x4f92f5)](_0x996cb3(_0x8e1b63._0xee47d8),[_0xf84794]);if(_0xf84794<0x0||_0xf84794>=this[_0x996cb3(_0x8e1b63._0x10dc5a)][_0x996cb3(0x195)])throw new DriverError(_0x996cb3(_0x8e1b63._0x58b58a),{'index':_0xf84794,'available':this['pageList'][_0x996cb3(_0x8e1b63._0x1bb85d)]});this[_0x996cb3(_0x8e1b63._0x51c187)]=_0xf84794,this['frameStack'][_0x996cb3(_0x8e1b63._0x26e589)]=0x0;}[_0x5c6c84(0x13c)](_0x30932a){const _0x4929c7=_0x5c6c84;return subscribe(this[_0x4929c7(0x167)],_0x30932a);}['emitFakePopup'](_0x5aec9c){const _0x4839b3={_0x4da35b:0x192,_0x576f0b:0x14f,_0x1aaae2:0x195},_0x133628=_0x5c6c84,_0x2cdafa=this[_0x133628(0x153)]+_0x133628(0x169)+this['pageList'][_0x133628(0x195)],_0x4b6303=new FakePage(this[_0x133628(_0x4839b3._0x4da35b)],this[_0x133628(_0x4839b3._0x576f0b)],_0x2cdafa,_0x5aec9c);this['pageList'][_0x133628(0x14d)](_0x4b6303);const _0x52eedf=this['pageList'][_0x133628(_0x4839b3._0x1aaae2)]-0x1;for(const _0x3a7161 of this['newPageListeners']){try{_0x3a7161({'index':_0x52eedf,'url':_0x5aec9c});}catch{}}return _0x52eedf;}[_0x5c6c84(0x124)](_0x1f346d){const _0x5c90d7={_0x897be2:0x12f,_0x511229:0x12f,_0x3541a2:0x15c},_0x5d7969=_0x5c6c84;if(_0x1f346d<0x0||_0x1f346d>=this[_0x5d7969(0x12f)][_0x5d7969(0x195)])throw new DriverError(_0x5d7969(0x193),{'index':_0x1f346d,'available':this[_0x5d7969(_0x5c90d7._0x897be2)][_0x5d7969(0x195)]});this[_0x5d7969(_0x5c90d7._0x511229)][_0x5d7969(_0x5c90d7._0x3541a2)](_0x1f346d,0x1);}async[_0x5c6c84(0x146)](_0x46081f){const _0x365f93={_0x26b834:0x141,_0x1a679f:0x18a,_0x4e44e5:0x125},_0x24ea9b=_0x5c6c84;this['record'](_0x24ea9b(0x146),[_0x46081f]);if(!_0x46081f[_0x24ea9b(_0x365f93._0x26b834)]['length'])throw new LocatorError(_0x24ea9b(_0x365f93._0x1a679f),{'locator':_0x46081f});this[_0x24ea9b(_0x365f93._0x4e44e5)][_0x24ea9b(0x14d)](_0x46081f);}async[_0x5c6c84(0x199)](){const _0x4a56ea={_0x4ccf4b:0x199,_0x3c915e:0x12b,_0x34b6e6:0x198},_0x93bc66=_0x5c6c84;this['record'](_0x93bc66(_0x4a56ea._0x4ccf4b),[]);if(this['frameStack'][_0x93bc66(0x195)]===0x0)throw new DriverError(_0x93bc66(_0x4a56ea._0x3c915e),{});this['frameStack'][_0x93bc66(_0x4a56ea._0x34b6e6)]();}async[_0x5c6c84(0x182)](_0x36a945,_0x2f0d7e){const _0xd1a0a3=_0x5c6c84;this[_0xd1a0a3(0x17d)]('setLocalStorage',[_0x36a945,_0x2f0d7e]),this[_0xd1a0a3(0x139)][_0x36a945]=_0x2f0d7e;}async[_0x5c6c84(0x129)](_0x3ac7a0){const _0x2ef1a9={_0x7b95c5:0x17d},_0x5188d4=_0x5c6c84;return this[_0x5188d4(_0x2ef1a9._0x7b95c5)](_0x5188d4(0x129),[_0x3ac7a0]),this[_0x5188d4(0x139)][_0x3ac7a0]??null;}async[_0x5c6c84(0x14a)](_0x2b83cf,_0x2ac82a,_0x5cc8f4){const _0x165451={_0x247f47:0x17d,_0x5869df:0x14a,_0x10003:0x188},_0x13091d=_0x5c6c84;this[_0x13091d(_0x165451._0x247f47)](_0x13091d(_0x165451._0x5869df),[_0x2b83cf,_0x2ac82a,_0x5cc8f4]),this[_0x13091d(_0x165451._0x10003)][_0x2b83cf]=_0x2ac82a;}async[_0x5c6c84(0x11e)](_0x3a5b9a){const _0x581df2={_0x45f654:0x188},_0x3d4d77=_0x5c6c84;return this[_0x3d4d77(0x17d)](_0x3d4d77(0x11e),[_0x3a5b9a]),this[_0x3d4d77(_0x581df2._0x45f654)][_0x3a5b9a]??null;}async[_0x5c6c84(0x11c)](_0x3e3d1e){const _0x511acf=_0x5c6c84;this[_0x511acf(0x17d)]('saveStorageState',[_0x3e3d1e]);}async['evaluate'](_0x5c18c4){const _0x172a25={_0xf1265e:0x17d,_0x43d0fe:0x183},_0x4d39df=_0x5c6c84;return this[_0x4d39df(_0x172a25._0xf1265e)](_0x4d39df(_0x172a25._0x43d0fe),[_0x5c18c4]),void 0x0;}async[_0x5c6c84(0x187)](){const _0x133970={_0x16abfe:0x187},_0x12c4f3=_0x5c6c84;this['record'](_0x12c4f3(_0x133970._0x16abfe),[]);}[_0x5c6c84(0x16f)](){const _0x4d0d3a={_0x418c78:0x195},_0x51c19a=_0x5c6c84;return this[_0x51c19a(0x125)][_0x51c19a(_0x4d0d3a._0x418c78)];}},FakeWebDriver=class{constructor(_0x2b2d70={}){const _0x4234cd={_0x56efc4:0x192},_0x19188e=_0x5c6c84;this[_0x19188e(0x14f)]=_0x2b2d70,this[_0x19188e(_0x4234cd._0x56efc4)]=createRecorder();}[_0x5c6c84(0x14f)];static{__name(this,'FakeWebDriver');}[_0x5c6c84(0x18d)]=![];[_0x5c6c84(0x192)];['contexts']=[];async[_0x5c6c84(0x120)](_0x199813){const _0x321f00={_0x4df0a4:0x14d,_0x2f5a00:0x120,_0x4856d7:0x18d},_0x48a654=_0x5c6c84;this[_0x48a654(0x192)][_0x48a654(_0x321f00._0x4df0a4)]({'scope':'driver','method':_0x48a654(_0x321f00._0x2f5a00),'args':[_0x199813]}),this[_0x48a654(_0x321f00._0x4856d7)]=!![];}async[_0x5c6c84(0x11a)](_0x257b11){const _0x754b11={_0x310957:0x192,_0x4b77cd:0x18f,_0x25286e:0x11a,_0x45f584:0x14f,_0x4e2281:0x144,_0x5ac335:0x14d},_0x1a80a8=_0x5c6c84;this[_0x1a80a8(_0x754b11._0x310957)]['push']({'scope':_0x1a80a8(_0x754b11._0x4b77cd),'method':_0x1a80a8(_0x754b11._0x25286e),'args':[_0x257b11]});if(!this['launched'])throw new DriverError(_0x1a80a8(0x137),{});const _0x2e566e=new FakeContext(this[_0x1a80a8(0x192)],this[_0x1a80a8(_0x754b11._0x45f584)],_0x1a80a8(0x163)+this['contexts']['length']);return this[_0x1a80a8(_0x754b11._0x4e2281)][_0x1a80a8(_0x754b11._0x5ac335)](_0x2e566e),_0x2e566e;}async[_0x5c6c84(0x187)](){const _0x3e1986={_0x32ad2b:0x192,_0x37f10e:0x187},_0x32ed86=_0x5c6c84;this[_0x32ed86(_0x3e1986._0x32ad2b)]['push']({'scope':_0x32ed86(0x18f),'method':_0x32ed86(_0x3e1986._0x37f10e),'args':[]}),this['launched']=![];}[_0x5c6c84(0x16d)](){return void 0x0;}async[_0x5c6c84(0x175)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x5c6c84(0x12a)](_0x2e6be5){const _0xdec9de=_0x5c6c84;throw new DriverError(_0xdec9de(0x143),{});}[_0x5c6c84(0x121)](){const _0xb42520={_0x463024:0x121},_0x444f8d=_0x5c6c84;return this[_0x444f8d(0x192)][_0x444f8d(_0xb42520._0x463024)]();}[_0x5c6c84(0x164)](_0x6319eb){const _0x1d209a={_0x418025:0x135},_0x33401e=_0x5c6c84;return this[_0x33401e(0x192)]['calls']()[_0x33401e(_0x1d209a._0x418025)](_0x2ad9ae=>_0x2ad9ae[_0x33401e(0x181)]===_0x6319eb);}};export{FakeWebDriver};
|