@unotest/web 0.20.0 → 0.22.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 CHANGED
@@ -1,5 +1,90 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.0] - 2026-08-26
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [80619a9]
8
+ - @unotest/viewer@0.22.0
9
+ - @unotest/core@0.22.0
10
+ - @unotest/dsl@0.22.0
11
+ - @unotest/grounder-client@0.22.0
12
+ - @unotest/protocol@0.22.0
13
+
14
+ ## [0.21.0] - 2026-08-25
15
+
16
+ ### Minor Changes
17
+
18
+ - 174d27e: feat: environments are first-class in the viewer — a switcher, per-env run history
19
+
20
+ **Run artifacts are laid out per environment, as folders.** Each
21
+ environment's history lives in its own root, mirroring the env-file
22
+ scheme: `unotest/.runs` (base), `unotest/.runs.<env>` (e.g.
23
+ `.runs.staging` for `--env staging` / `UNOTEST_ENV=staging`); the axes
24
+ compose — `.runs-mobile.staging`. Indexes (`_day.jsonl`, `_latest.json`)
25
+ are per-env automatically: switching environments is a change of root,
26
+ not a filter and not a rebuild. Old runs stay in `.runs` (= base), no
27
+ migration needed. `runsDirFor` / `projectRunsRoot` / `projectRunDirFor`
28
+ gained an optional `envName` parameter; the run manifest carries `env`
29
+ for self-description. Make sure your `.gitignore` uses the wildcard
30
+ form — `unotest/.runs*/` (`init` already writes it that way for new
31
+ projects).
32
+
33
+ **The viewer knows about environments.** A new switcher sits at the top
34
+ of the Variables panel and in the status bar: base plus every
35
+ environment discovered from `unotest/.env.<name>` / `.secrets.<name>`
36
+ (`.env.example` and other templates do not count). The active
37
+ environment is server-side (`GET/POST /api/environments`), and all tabs
38
+ converge via the `env:changed` WS message:
39
+
40
+ - the Variables panel shows layers WITH the active environment's
41
+ overlay (previously base only); values coming from `.env.<name>`
42
+ carry a badge; an edit goes to the file where the key is defined; new
43
+ variables go to base;
44
+ - Overview and the Runs list show only the active environment — tiles
45
+ are colored by the latest run in that environment;
46
+ - a run started from the viewer gets the active environment's
47
+ `UNOTEST_ENV` (`RunRequest.env` is a per-request override);
48
+ - a run opened from another environment still resolves by runId across
49
+ all `.runs*` roots.
50
+
51
+ MCP: `run_test {env}` already switched the child process's environment;
52
+ its artifacts are now correctly found by the server in `.runs.<env>`
53
+ (inspect/step/attach/list_runtimes scan all roots).
54
+
55
+ Four fixes uncovered while shaking this down:
56
+
57
+ - **The `--env` overlay actually reaches the run.** Long-lived hosts
58
+ (viewer, MCP server) flattened the base `.env` into their own
59
+ `process.env` on `loadConfig`; children inherited it as ambient
60
+ (ambient beats files) — the overlay's `APP_BASE_URL` was silently
61
+ clobbered by the base value. The viewer now rolls its env back after
62
+ loading the config; MCP spawns children from a clean pre-flatten
63
+ snapshot.
64
+ - **Pause/Abort from the viewer work again.** Debug commands were
65
+ written to the flat `<root>/<runId>/commands.jsonl`, while runs have
66
+ lived in date shards since 0.19 — the write 404'd and abort was
67
+ silently ignored. Order fixed too: SIGTERM to the own process first
68
+ (tests AND collections), then the command file.
69
+ - **A collection no longer "dies" in the UI after 30 seconds.** The
70
+ parent run wrote no heartbeat — the monitor declared it interrupted,
71
+ the row vanished from ACTIVE and the tail detached. The orchestrator
72
+ now maintains the heartbeat (shared machinery in `@unotest/core`),
73
+ and the viewer additionally treats a flowing steps.jsonl as a sign of
74
+ life (compatibility with older runners).
75
+ - **No phantom `failed` after a clean exit.** The "child exited without
76
+ artifacts" check looked at the flat path and fired bogus
77
+ `run-finished: failed` events plus an error toast on every exit.
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [174d27e]
82
+ - @unotest/protocol@0.21.0
83
+ - @unotest/core@0.21.0
84
+ - @unotest/viewer@0.21.0
85
+ - @unotest/dsl@0.21.0
86
+ - @unotest/grounder-client@0.21.0
87
+
3
88
  ## [0.20.0] - 2026-08-24
4
89
 
5
90
  ### Minor Changes
@@ -1 +1 @@
1
- var _0x46bc37=_0x1520;function _0x1520(_0x1e138b,_0x3fe2dc){_0x1e138b=_0x1e138b-0x1d5;var _0x2628d7=_0x2628();var _0x1520b5=_0x2628d7[_0x1e138b];if(_0x1520['HWTvfP']===undefined){var _0x58a648=function(_0x14bac4){var _0x4f6b4b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2f3e12='',_0x2c56a1='';for(var _0xa1357a=0x0,_0x97dbb1,_0x2e2067,_0x2f0c8d=0x0;_0x2e2067=_0x14bac4['charAt'](_0x2f0c8d++);~_0x2e2067&&(_0x97dbb1=_0xa1357a%0x4?_0x97dbb1*0x40+_0x2e2067:_0x2e2067,_0xa1357a++%0x4)?_0x2f3e12+=String['fromCharCode'](0xff&_0x97dbb1>>(-0x2*_0xa1357a&0x6)):0x0){_0x2e2067=_0x4f6b4b['indexOf'](_0x2e2067);}for(var _0x2894f9=0x0,_0x4eab9f=_0x2f3e12['length'];_0x2894f9<_0x4eab9f;_0x2894f9++){_0x2c56a1+='%'+('00'+_0x2f3e12['charCodeAt'](_0x2894f9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2c56a1);};_0x1520['MHSHDg']=_0x58a648,_0x1520['pzNqwX']={},_0x1520['HWTvfP']=!![];}var _0x572f3d=_0x2628d7[0x0],_0x2fd094=_0x1e138b+_0x572f3d,_0x43b0bf=_0x1520['pzNqwX'][_0x2fd094];return!_0x43b0bf?(_0x1520b5=_0x1520['MHSHDg'](_0x1520b5),_0x1520['pzNqwX'][_0x2fd094]=_0x1520b5):_0x1520b5=_0x43b0bf,_0x1520b5;}(function(_0x46b2eb,_0x144cdf){var _0x5bc503={_0x22e52f:0x20f,_0x5521db:0x1f1,_0x470521:0x1da,_0x489891:0x1d7,_0x4523c5:0x1d6},_0x1ba952=_0x1520,_0x3b6d95=_0x46b2eb();while(!![]){try{var _0xa1ae14=parseInt(_0x1ba952(0x1f8))/0x1*(-parseInt(_0x1ba952(_0x5bc503._0x22e52f))/0x2)+-parseInt(_0x1ba952(0x20c))/0x3+parseInt(_0x1ba952(0x213))/0x4*(-parseInt(_0x1ba952(_0x5bc503._0x5521db))/0x5)+-parseInt(_0x1ba952(0x1f5))/0x6*(parseInt(_0x1ba952(_0x5bc503._0x470521))/0x7)+parseInt(_0x1ba952(0x214))/0x8*(-parseInt(_0x1ba952(0x20a))/0x9)+-parseInt(_0x1ba952(_0x5bc503._0x489891))/0xa*(parseInt(_0x1ba952(0x1d8))/0xb)+-parseInt(_0x1ba952(_0x5bc503._0x4523c5))/0xc*(-parseInt(_0x1ba952(0x1ec))/0xd);if(_0xa1ae14===_0x144cdf)break;else _0x3b6d95['push'](_0x3b6d95['shift']());}catch(_0x4bc25b){_0x3b6d95['push'](_0x3b6d95['shift']());}}}(_0x2628,0x853fe));import{z}from'zod';var BrowserSchema=z[_0x46bc37(0x208)]([_0x46bc37(0x1e5),_0x46bc37(0x1ef),_0x46bc37(0x1f9)]),BrowserChannelSchema=z[_0x46bc37(0x215)]([z[_0x46bc37(0x1ed)]('chrome'),z[_0x46bc37(0x1ed)](_0x46bc37(0x20d)),z[_0x46bc37(0x1ed)](_0x46bc37(0x1fb)),z[_0x46bc37(0x1dc)]()])['optional'](),ViewportSchema=z[_0x46bc37(0x1de)]({'width':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()[_0x46bc37(0x200)](),'height':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()[_0x46bc37(0x200)]()}),RetryReasonSchema=z[_0x46bc37(0x208)](['transient',_0x46bc37(0x1e0),_0x46bc37(0x1e6)]),RetryConfigSchema=z[_0x46bc37(0x1de)]({'count':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()['min'](0x0)[_0x46bc37(0x1fd)](0xa),'on':z[_0x46bc37(0x1eb)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x46bc37(0x1de)]({'tier1':z[_0x46bc37(0x1ed)](!![])['default'](!![]),'tier2':z[_0x46bc37(0x207)](),'tier3':z['object']({'network':z['boolean'](),'video':z[_0x46bc37(0x207)]()}),'retention':z[_0x46bc37(0x1de)]({'runs':z['number']()['int']()['positive'](),'days':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()['positive']()}),'storageDir':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x210)](0x1)}),DialogPolicySchema=z['enum']([_0x46bc37(0x1fc),_0x46bc37(0x206),_0x46bc37(0x1ea)]),LinterRuleIdSchema=z[_0x46bc37(0x208)](['lint:deep-css',_0x46bc37(0x1f3),_0x46bc37(0x1e2),_0x46bc37(0x1ff),_0x46bc37(0x1f6),_0x46bc37(0x1f0),_0x46bc37(0x1e4),_0x46bc37(0x1e8),_0x46bc37(0x1e1),_0x46bc37(0x20b),_0x46bc37(0x20e),_0x46bc37(0x1fe),_0x46bc37(0x205),'lint:flow-returns-value',_0x46bc37(0x203),'validator:arity','validator:arg-kind',_0x46bc37(0x201),'validator:step-shape',_0x46bc37(0x202),'validator:function-shape',_0x46bc37(0x1f7),_0x46bc37(0x1f2),_0x46bc37(0x218),_0x46bc37(0x1dd),_0x46bc37(0x1f4),_0x46bc37(0x1df),'validator:semantic-loss','validator:list-arg','validator:wrapped-format']),LinterSeveritySchema=z['enum']([_0x46bc37(0x1d9),'warn',_0x46bc37(0x1db)]),LinterConfigSchema=z[_0x46bc37(0x1de)]({'enabled':z[_0x46bc37(0x207)](),'rules':z[_0x46bc37(0x216)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x46bc37(0x1de)]({'transport':z[_0x46bc37(0x1ed)](_0x46bc37(0x1fa))}),SandboxConfigSchema=z['object']({'shellCwd':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x1e3)](),'shellTimeoutMs':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()[_0x46bc37(0x200)]()[_0x46bc37(0x1e3)](),'exportSecrets':z['array'](z[_0x46bc37(0x1e9)]())[_0x46bc37(0x1e3)](),'database':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x1e3)](),'apiBaseUrl':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x1d5)]()[_0x46bc37(0x1e3)](),'uploadDir':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x1e3)]()}),WebServerConfigSchema=z['object']({'command':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x210)](0x1),'url':z['string']()[_0x46bc37(0x1d5)](),'reuseExistingServer':z[_0x46bc37(0x207)]()['default'](!![]),'timeoutMs':z['number']()['int']()[_0x46bc37(0x200)]()[_0x46bc37(0x217)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x1d5)]()[_0x46bc37(0x1e3)](),'webServer':WebServerConfigSchema[_0x46bc37(0x1e3)](),'browsers':z[_0x46bc37(0x1eb)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x46bc37(0x1e9)]()['optional'](),'testDir':z['string']()['min'](0x1),'helpersDir':z[_0x46bc37(0x1e9)]()[_0x46bc37(0x210)](0x1),'defaultTimeoutMs':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()[_0x46bc37(0x200)](),'defaultNavigationTimeoutMs':z[_0x46bc37(0x212)]()[_0x46bc37(0x1ee)]()[_0x46bc37(0x200)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x46bc37(0x1e5)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x46bc37(0x209)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':'.unotest/failures'},'dialogPolicy':_0x46bc37(0x1fc),'testDir':_0x46bc37(0x1e7),'helpersDir':_0x46bc37(0x211),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x46bc37(0x204),'lint:xpath':_0x46bc37(0x204),'lint:obfuscated-class':_0x46bc37(0x204),'lint:pause-explicit':'warn','lint:disambig-by-index':_0x46bc37(0x1d9),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x46bc37(0x1db),'lint:mustache-in-dsl':'error','lint:goto-concat':_0x46bc37(0x204),'lint:regex-invalid':'error','lint:echo-assert':_0x46bc37(0x204),'lint:lint-ok-missing-reason':_0x46bc37(0x204),'lint:flow-returns-value':'warn','validator:unknown-function':_0x46bc37(0x1db)}},'mcp':{'transport':'stdio'},'sandbox':{}};function _0x2628(){var _0x759f83=['mJGWndK2ngz1EMn0sa','ntbouhrnsMi','mZu3otqWD3joCuTw','B2zM','mJuWmZeZrKreqxnX','zxjYB3i','BNvSBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','B2jQzwn0','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BMv0D29YAW','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','B3b0Aw9UywW','BgLUDdPZy2vUyxjPBY1PBI1YB290','y2HYB21PDw0','y3jHC2G','Dw5VDgvZDc9LmMu','BgLUDdPTDxn0ywnOzs1PBI1KC2W','C3rYAw5N','BwfUDwfS','yxjYyxK','mtqZyMzivLLd','BgL0zxjHBa','Aw50','zMLYzwzVEa','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','mJv1B1nuBuy','DMfSAwrHDg9YoMLMlxnOyxbL','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','nMLiu3rqAW','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','DMfSAwrHDg9YoMzVCI1ZAgfWzq','m1DKzgHpAW','D2vIA2L0','C3rKAw8','y2HYB21LlwjLDge','ywnJzxb0','Bwf4','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','BgLUDdPWyxvZzs1LEhbSAwnPDa','Cg9ZAxrPDMu','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','D2fYBG','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','zgLZBwLZCW','yM9VBgvHBG','zw51Bq','DhjHBNnPzw50','nZjwAwrPAKe','BgLUDdPYzwDLEc1PBNzHBgLK','mJu4mZm3nunJz0vsvG','BxnLzgDL','BgLUDdPLy2HVlwfZC2vYDa','nteXmZjLrNjevMG','BwLU','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BNvTyMvY','nJK5nJa0t3b3tKPv','mtq2ndbMz1bhwLC','Dw5PB24','CMvJB3jK','zgvMyxvSDa','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DxjS'];_0x2628=function(){return _0x759f83;};return _0x2628();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
1
+ function _0x595f(_0x1405f0,_0x11f14f){_0x1405f0=_0x1405f0-0x130;var _0x59aec6=_0x59ae();var _0x595f91=_0x59aec6[_0x1405f0];if(_0x595f['ZJoqmM']===undefined){var _0x5bbfd6=function(_0x47bccf){var _0x5ef4db='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3a9e0e='',_0x1eaca2='';for(var _0x33c229=0x0,_0x1c68a9,_0x59ea3e,_0x35b185=0x0;_0x59ea3e=_0x47bccf['charAt'](_0x35b185++);~_0x59ea3e&&(_0x1c68a9=_0x33c229%0x4?_0x1c68a9*0x40+_0x59ea3e:_0x59ea3e,_0x33c229++%0x4)?_0x3a9e0e+=String['fromCharCode'](0xff&_0x1c68a9>>(-0x2*_0x33c229&0x6)):0x0){_0x59ea3e=_0x5ef4db['indexOf'](_0x59ea3e);}for(var _0x4b70ec=0x0,_0x518d9d=_0x3a9e0e['length'];_0x4b70ec<_0x518d9d;_0x4b70ec++){_0x1eaca2+='%'+('00'+_0x3a9e0e['charCodeAt'](_0x4b70ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1eaca2);};_0x595f['rfdYol']=_0x5bbfd6,_0x595f['zFalaV']={},_0x595f['ZJoqmM']=!![];}var _0x1c5d3c=_0x59aec6[0x0],_0x3210cd=_0x1405f0+_0x1c5d3c,_0x424301=_0x595f['zFalaV'][_0x3210cd];return!_0x424301?(_0x595f91=_0x595f['rfdYol'](_0x595f91),_0x595f['zFalaV'][_0x3210cd]=_0x595f91):_0x595f91=_0x424301,_0x595f91;}var _0x1ddc6d=_0x595f;function _0x59ae(){var _0x4c2057=['CMvJB3jK','nJa4mJG4ofrhvgDSsG','D2fYBG','BgLUDdP4Cgf0Aa','yM9VBgvHBG','zgLZBwLZCW','Aw50','yxjYyxK','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','Cg9ZAxrPDMu','BMv0D29YAW','mtGZtwffufbR','zw51Bq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','B2jQzwn0','ywnJzxb0','DMfSAwrHDg9YoMXPC3qTyxjN','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BNvTyMvY','DMfSAwrHDg9YoMLMlxnOyxbL','BwLU','mZCYotj4s0v2Dvy','DhjHBNnPzw50','BgLUDdPWyxvZzs1LEhbSAwnPDa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','mJy0mteWmhfpu3PfuW','Dw5VDgvZDc9LmMu','B3b0Aw9UywW','BwfUDwfS','BgL0zxjHBa','zMLYzwzVEa','nJK0mtq4nerWs211ra','ndaYm1nhwhr3zq','BgLUDdPYzwDLEc1PBNzHBgLK','BNvSBa','Dw5PB24','nZmXmMHftxPqCG','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','zxjYB3i','B2zM','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','y2HYB21PDw0','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','mtiYmtbquxvRqw8','DxjS','mJvSExv4zKq','mte1mty2mwj0t2L3rW','C3rYAw5N','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','Bwf4','BgLUDdPKzwvWlwnZCW','lNvUB3rLC3qVzMfPBhvYzxm','zgvMyxvSDa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','DMfSAwrHDg9YoMfYAxr5','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','C3rKAw8','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','D2vIA2L0'];_0x59ae=function(){return _0x4c2057;};return _0x59ae();}(function(_0x3a4d7b,_0x2a312c){var _0x920b12={_0x265aaa:0x148,_0x55332d:0x157},_0x4b2d59=_0x595f,_0x2f3b7c=_0x3a4d7b();while(!![]){try{var _0x400dda=-parseInt(_0x4b2d59(0x16d))/0x1*(parseInt(_0x4b2d59(0x152))/0x2)+parseInt(_0x4b2d59(_0x920b12._0x265aaa))/0x3*(parseInt(_0x4b2d59(0x162))/0x4)+-parseInt(_0x4b2d59(_0x920b12._0x55332d))/0x5+parseInt(_0x4b2d59(0x15d))/0x6+parseInt(_0x4b2d59(0x16e))/0x7+parseInt(_0x4b2d59(0x13e))/0x8+parseInt(_0x4b2d59(0x15e))/0x9*(-parseInt(_0x4b2d59(0x16b))/0xa);if(_0x400dda===_0x2a312c)break;else _0x2f3b7c['push'](_0x2f3b7c['shift']());}catch(_0x1efe71){_0x2f3b7c['push'](_0x2f3b7c['shift']());}}}(_0x59ae,0x9f75d));import{z}from'zod';var BrowserSchema=z[_0x1ddc6d(0x149)]([_0x1ddc6d(0x168),_0x1ddc6d(0x15c),_0x1ddc6d(0x13c)]),BrowserChannelSchema=z[_0x1ddc6d(0x161)]([z[_0x1ddc6d(0x15b)]('chrome'),z[_0x1ddc6d(0x15b)]('msedge'),z[_0x1ddc6d(0x15b)]('chrome-beta'),z[_0x1ddc6d(0x160)]()])[_0x1ddc6d(0x159)](),ViewportSchema=z[_0x1ddc6d(0x14b)]({'width':z['number']()[_0x1ddc6d(0x143)]()['positive'](),'height':z[_0x1ddc6d(0x14f)]()['int']()['positive']()}),RetryReasonSchema=z['enum'](['transient',_0x1ddc6d(0x147),'crash']),RetryConfigSchema=z[_0x1ddc6d(0x14b)]({'count':z[_0x1ddc6d(0x14f)]()[_0x1ddc6d(0x143)]()['min'](0x0)[_0x1ddc6d(0x132)](0xa),'on':z[_0x1ddc6d(0x144)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x1ddc6d(0x15b)](!![])['default'](!![]),'tier2':z['boolean'](),'tier3':z[_0x1ddc6d(0x14b)]({'network':z[_0x1ddc6d(0x141)](),'video':z[_0x1ddc6d(0x141)]()}),'retention':z['object']({'runs':z[_0x1ddc6d(0x14f)]()[_0x1ddc6d(0x143)]()['positive'](),'days':z['number']()[_0x1ddc6d(0x143)]()[_0x1ddc6d(0x146)]()}),'storageDir':z[_0x1ddc6d(0x130)]()[_0x1ddc6d(0x151)](0x1)}),DialogPolicySchema=z[_0x1ddc6d(0x149)]([_0x1ddc6d(0x14c),_0x1ddc6d(0x142),_0x1ddc6d(0x15a)]),LinterRuleIdSchema=z[_0x1ddc6d(0x149)]([_0x1ddc6d(0x133),_0x1ddc6d(0x140),_0x1ddc6d(0x13a),_0x1ddc6d(0x154),_0x1ddc6d(0x136),_0x1ddc6d(0x131),'lint:scenario-in-root',_0x1ddc6d(0x155),'lint:goto-concat',_0x1ddc6d(0x15f),'lint:echo-assert','lint:api-call-file-body',_0x1ddc6d(0x169),_0x1ddc6d(0x16a),_0x1ddc6d(0x156),_0x1ddc6d(0x137),'validator:arg-kind',_0x1ddc6d(0x163),'validator:step-shape',_0x1ddc6d(0x14a),_0x1ddc6d(0x138),'validator:for-shape',_0x1ddc6d(0x150),_0x1ddc6d(0x166),_0x1ddc6d(0x167),'validator:unsupported-expression',_0x1ddc6d(0x14e),_0x1ddc6d(0x145),_0x1ddc6d(0x14d),_0x1ddc6d(0x13b)]),LinterSeveritySchema=z[_0x1ddc6d(0x149)]([_0x1ddc6d(0x165),_0x1ddc6d(0x13f),_0x1ddc6d(0x164)]),LinterConfigSchema=z['object']({'enabled':z[_0x1ddc6d(0x141)](),'rules':z[_0x1ddc6d(0x13d)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z['object']({'transport':z[_0x1ddc6d(0x15b)](_0x1ddc6d(0x139))}),SandboxConfigSchema=z[_0x1ddc6d(0x14b)]({'shellCwd':z['string']()['optional'](),'shellTimeoutMs':z['number']()[_0x1ddc6d(0x143)]()[_0x1ddc6d(0x146)]()['optional'](),'exportSecrets':z['array'](z[_0x1ddc6d(0x130)]())['optional'](),'database':z[_0x1ddc6d(0x130)]()['optional'](),'apiBaseUrl':z[_0x1ddc6d(0x130)]()['url']()[_0x1ddc6d(0x159)](),'uploadDir':z[_0x1ddc6d(0x130)]()[_0x1ddc6d(0x159)]()}),WebServerConfigSchema=z[_0x1ddc6d(0x14b)]({'command':z[_0x1ddc6d(0x130)]()[_0x1ddc6d(0x151)](0x1),'url':z['string']()[_0x1ddc6d(0x16c)](),'reuseExistingServer':z[_0x1ddc6d(0x141)]()[_0x1ddc6d(0x135)](!![]),'timeoutMs':z[_0x1ddc6d(0x14f)]()[_0x1ddc6d(0x143)]()[_0x1ddc6d(0x146)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x1ddc6d(0x14b)]({'baseUrl':z[_0x1ddc6d(0x130)]()['url']()[_0x1ddc6d(0x159)](),'webServer':WebServerConfigSchema[_0x1ddc6d(0x159)](),'browsers':z['array'](BrowserSchema)[_0x1ddc6d(0x151)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x1ddc6d(0x130)]()['optional'](),'testDir':z[_0x1ddc6d(0x130)]()[_0x1ddc6d(0x151)](0x1),'helpersDir':z[_0x1ddc6d(0x130)]()['min'](0x1),'defaultTimeoutMs':z[_0x1ddc6d(0x14f)]()[_0x1ddc6d(0x143)]()[_0x1ddc6d(0x146)](),'defaultNavigationTimeoutMs':z[_0x1ddc6d(0x14f)]()['int']()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x1ddc6d(0x168)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x1ddc6d(0x153)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x1ddc6d(0x134)},'dialogPolicy':_0x1ddc6d(0x14c),'testDir':_0x1ddc6d(0x158),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x1ddc6d(0x13f),'lint:xpath':_0x1ddc6d(0x13f),'lint:obfuscated-class':_0x1ddc6d(0x13f),'lint:pause-explicit':_0x1ddc6d(0x13f),'lint:disambig-by-index':_0x1ddc6d(0x165),'lint:evaluate-discouraged':_0x1ddc6d(0x13f),'lint:scenario-in-root':_0x1ddc6d(0x164),'lint:mustache-in-dsl':_0x1ddc6d(0x164),'lint:goto-concat':_0x1ddc6d(0x13f),'lint:regex-invalid':_0x1ddc6d(0x164),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x1ddc6d(0x13f),'validator:unknown-function':_0x1ddc6d(0x164)}},'mcp':{'transport':'stdio'},'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
1
- const _0x52c021=_0x3364;(function(_0x1367ee,_0x5054ed){const _0x3a5583={_0xaa0af0:0x199,_0x29fa33:0x174,_0x539e87:0x15f,_0x24d00a:0x184,_0x23f773:0x156},_0x4bbc8b=_0x3364,_0x40ce43=_0x1367ee();while(!![]){try{const _0xbb7339=parseInt(_0x4bbc8b(0x188))/0x1*(-parseInt(_0x4bbc8b(_0x3a5583._0xaa0af0))/0x2)+parseInt(_0x4bbc8b(_0x3a5583._0x29fa33))/0x3+parseInt(_0x4bbc8b(_0x3a5583._0x539e87))/0x4+-parseInt(_0x4bbc8b(0x1bf))/0x5*(parseInt(_0x4bbc8b(0x189))/0x6)+parseInt(_0x4bbc8b(_0x3a5583._0x24d00a))/0x7+parseInt(_0x4bbc8b(_0x3a5583._0x23f773))/0x8+parseInt(_0x4bbc8b(0x15d))/0x9*(parseInt(_0x4bbc8b(0x1a8))/0xa);if(_0xbb7339===_0x5054ed)break;else _0x40ce43['push'](_0x40ce43['shift']());}catch(_0x25ded0){_0x40ce43['push'](_0x40ce43['shift']());}}}(_0x1da8,0x59672));function _0x1da8(){const _0x1e989b=['zgvMAw5LuhjVCgvYDhK','CMvJB3jK','Bg9JywXtDg9YywDL','rMfRzunVBNrLEhq','y3vYCMvUDfvYBa','y291BNrcEurLzMf1Bhq','D2fPDezVCK5HDMLNyxrPB24','Bg9JywXtDg9YywDLu3rHDgu','mtK5oti0mfPTDNvKAa','CMvM','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','z2v0q29VA2LL','C2nVCgu','BMv0D29YA0vUDhjPzxm','Dgv4DenVBNrLBNrcEurLzMf1Bhq','nta0ovHLuwXiqG','zNjHBwvezxb0Aa','mti1oda0ne9zyLHvuq','Bgf1BMnO','ywn0AxzLswr4','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','BMv3ugfNzuXPC3rLBMvYCW','y29VA2LLu3rHDgu','ywrK','y291BNq','A2LUza','z29cywnR','Aw5WDxrwywX1zuj5rgvMyxvSDa','y3jLyxrLuMvJB3jKzxi','y3r4','AxneAxnHyMXLzej5rgvMyxvSDa','AxneAxnHyMXLza','yxr0ywnOrxHPC3rPBMC','C2nYzwvUC2HVDa','y29UBMvJDfnOyxjLza','zMfRzsb0AxrSzq','y2XVC2u','BMv3q29UDgv4Da','mtG3mdi5DK9trM1m','Cg9W','y2HLy2TLzfn0yxrL','C2nYB2XSsw50B1zPzxC','zxjYB3jpBK5LEhrby3rPB24','yMvOyxzPB3i','zxzHBhvHDgu','zw50zxjgCMfTzq','C2vSzwn0t3b0Aw9U','zg91yMXLq2XPy2S','y29UC29SzuvUDhjPzxm','ywjVDxq6yMXHBMS','C3rLChm','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','yxr0CMLIDxrLC0j5rgvMyxvSDa','DxbSB2fKrMLSzq','mJiZnZK0mNfvEgjnva','z29gB3j3yxjK','y2XVC2vgywTLugfNzq','DxjS','mtq2nev0C1v5Ba','mZy1mdq4neTSu0rxAW','zMLSDgvY','Bgf1BMnOzwq','C2v0tg9JywXtDg9YywDL','y29VA2LLCW','Ag92zxi','zgvSzxrL','C3bSAwnL','CMvSB2fK','rMfRzvbHz2u','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','zMfRzs1WBMC','Cg9WDxbpBKnSAwnR','zxHPDezYyw1L','Bwf5yMvuAhjVDW','ChvZAa','mJK4D1r1v1HM','zhjHz0fUzerYB3a','D2fPDezVCG','D2fPDezVCLrLEhq','tg9JyxrVCKvYCM9Y','zhjPDMvY','rMfRzvDLyKrYAxzLCG','y29UDgv4Dhm','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','B25ozxDqywDL','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zw1PDezHA2vqB3b1Ca','Bwv0Ag9K','CgfNzxm','C2v0q29VA2LL','ndm5mhnHAvDUvG','C2f2zvn0B3jHz2vtDgf0zq','BMfTzq','y2fSBhm','Aw5WDxrwywX1zq','DgL0Bgu','z2v0qxr0CMLIDxrL','B3v0zxjive1m','lNbHz2uW','y2fSBhngB3i','C2v0qwn0AxzLugfNzq','z2v0tg9JywXtDg9YywDL','z290BW','CMvJB3jKzxi','BgvUz3rO','Aw5ZCgvJDevSzw1LBNq','AxnwAxnPyMXLqNLezwzHDwX0','Dgv4DenVBNrLBNq','y2XPCgjVyxjKugfZDgu','pgrPDJ48l2rPDJ4','zMLSBa','D2fPDezVCKXVywrtDgf0zq','y2XPy2S','nwfRwvLRuq','zNjHBwvtDgfJAW','B25bzNrLCKnSAwnR','Dw5JAgvJAW','Aw5PDgLHBfvYBa','CgfNzuXPC3q'];_0x1da8=function(){return _0x1e989b;};return _0x1da8();}var __defProp=Object[_0x52c021(0x1c5)],__name=(_0x31dc01,_0x380419)=>__defProp(_0x31dc01,_0x52c021(0x1aa),{'value':_0x380419,'configurable':!![]});function _0x3364(_0x24858a,_0x13a66c){_0x24858a=_0x24858a-0x155;const _0x1da80b=_0x1da8();let _0x33642=_0x1da80b[_0x24858a];if(_0x3364['YkVUqF']===undefined){var _0x469b2e=function(_0x3434d4){const _0x57d7b9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31dc01='',_0x380419='';for(let _0x4010ce=0x0,_0xcf4d41,_0x1b0f9b,_0x302514=0x0;_0x1b0f9b=_0x3434d4['charAt'](_0x302514++);~_0x1b0f9b&&(_0xcf4d41=_0x4010ce%0x4?_0xcf4d41*0x40+_0x1b0f9b:_0x1b0f9b,_0x4010ce++%0x4)?_0x31dc01+=String['fromCharCode'](0xff&_0xcf4d41>>(-0x2*_0x4010ce&0x6)):0x0){_0x1b0f9b=_0x57d7b9['indexOf'](_0x1b0f9b);}for(let _0x285d05=0x0,_0x69bbd2=_0x31dc01['length'];_0x285d05<_0x69bbd2;_0x285d05++){_0x380419+='%'+('00'+_0x31dc01['charCodeAt'](_0x285d05)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x380419);};_0x3364['FnzSyH']=_0x469b2e,_0x3364['rpMRdm']={},_0x3364['YkVUqF']=!![];}const _0x29c228=_0x1da80b[0x0],_0x3afdfe=_0x24858a+_0x29c228,_0x2097c3=_0x3364['rpMRdm'][_0x3afdfe];return!_0x2097c3?(_0x33642=_0x3364['FnzSyH'](_0x33642),_0x3364['rpMRdm'][_0x3afdfe]=_0x33642):_0x33642=_0x2097c3,_0x33642;}function subscribe(_0x4010ce,_0xcf4d41){const _0x395a87=_0x52c021;return _0x4010ce[_0x395a87(0x165)](_0xcf4d41),()=>{const _0x3d4521=_0x395a87;_0x4010ce[_0x3d4521(0x18f)](_0xcf4d41);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x52c021(0x19d));}};function createRecorder(){const _0x443078={_0x8c8f81:0x198},_0x139502=_0x52c021,_0x1b0f9b=[];let _0x302514=0x0;return{'push':__name(_0x285d05=>_0x1b0f9b[_0x139502(0x198)]({..._0x285d05,'seq':_0x302514++}),_0x139502(_0x443078._0x8c8f81)),'calls':__name(()=>_0x1b0f9b,'calls')};}__name(createRecorder,_0x52c021(0x16a));var FakePage=class{constructor(_0x69bbd2,_0x40c350,_0x1b65dc,_0x3e83ef){const _0x57b17c={_0x121d79:0x1b5,_0x4590c7:0x179},_0x379df5=_0x52c021;this[_0x379df5(_0x57b17c._0x121d79)]=_0x69bbd2,this[_0x379df5(_0x57b17c._0x4590c7)]=_0x40c350,this['scope']=_0x1b65dc,this['currentUrl']=_0x3e83ef;}[_0x52c021(0x1b5)];[_0x52c021(0x179)];[_0x52c021(0x15a)];static{__name(this,_0x52c021(0x192));}['currentUrl'];[_0x52c021(0x1c1)];[_0x52c021(0x1c6)](_0x57f1a8,_0x14b55b){const _0x486fa0={_0x8255a0:0x198},_0x43f1b4=_0x52c021;this[_0x43f1b4(0x1b5)][_0x43f1b4(_0x486fa0._0x8255a0)]({'scope':this[_0x43f1b4(0x15a)],'method':_0x57f1a8,'args':_0x14b55b});}[_0x52c021(0x197)](){const _0x575c3d={_0x3a7194:0x179,_0x2042df:0x178},_0x188377=_0x52c021;if(this[_0x188377(_0x575c3d._0x3a7194)][_0x188377(_0x575c3d._0x2042df)]){const _0x52d9da=this[_0x188377(0x179)][_0x188377(0x178)];this[_0x188377(_0x575c3d._0x3a7194)][_0x188377(0x178)]=void 0x0;throw _0x52d9da;}}[_0x52c021(0x187)](){const _0x11b607=_0x52c021;return this[_0x11b607(0x1c9)];}async[_0x52c021(0x1ad)](){const _0x4316f1={_0x156766:0x1ad,_0x57fb45:0x171},_0xc24147=_0x52c021;return this['record'](_0xc24147(_0x4316f1._0x156766),[]),_0xc24147(_0x4316f1._0x57fb45);}async[_0x52c021(0x1be)](_0x502256,_0x51d4c8){const _0x187438={_0x97da5a:0x1c1},_0x2b84c3=_0x52c021;this['record']('click',[_0x502256,_0x51d4c8]),this[_0x2b84c3(0x197)](),this[_0x2b84c3(_0x187438._0x97da5a)]?.();}async[_0x52c021(0x17d)](_0x313c74,_0x355fee){const _0x485b73={_0x449fe3:0x17d},_0x240f82=_0x52c021;this[_0x240f82(0x1c6)](_0x240f82(_0x485b73._0x449fe3),[_0x313c74,_0x355fee]),this[_0x240f82(0x197)]();}async[_0x52c021(0x1bc)](_0x4fd6df,_0x14d774,_0x2c1674){const _0xe4c1e5={_0x19f77d:0x197},_0x414d01=_0x52c021;this[_0x414d01(0x1c6)](_0x414d01(0x1bc),[_0x4fd6df,_0x14d774,_0x2c1674]),this[_0x414d01(_0xe4c1e5._0x19f77d)]();}async['press'](_0x2b354b,_0xbcdf16,_0x3a488b){const _0xa1b45d=_0x52c021;this[_0xa1b45d(0x1c6)]('press',[_0x2b354b,_0xbcdf16,_0x3a488b]),this[_0xa1b45d(0x197)]();}async['check'](_0x277aee,_0x50095f){const _0xa63ca1={_0x59d3f7:0x197},_0x2de57e=_0x52c021;this['record']('check',[_0x277aee,_0x50095f]),this[_0x2de57e(_0xa63ca1._0x59d3f7)]();}async[_0x52c021(0x1c2)](_0x35c463,_0x3c1016){const _0x1154de={_0x4fb2ef:0x1c2},_0x216c7d=_0x52c021;this[_0x216c7d(0x1c6)](_0x216c7d(_0x1154de._0x4fb2ef),[_0x35c463,_0x3c1016]),this[_0x216c7d(0x197)]();}async[_0x52c021(0x17c)](_0x56c750,_0x381f67,_0x4189b1){const _0x332f95={_0x404c35:0x1c6,_0x1188f0:0x17c},_0x6ee13b=_0x52c021;this[_0x6ee13b(_0x332f95._0x404c35)](_0x6ee13b(_0x332f95._0x1188f0),[_0x56c750,_0x381f67,_0x4189b1]),this[_0x6ee13b(0x197)]();}async['hover'](_0x63d655,_0x3fdda4){const _0x77494c={_0x3b6272:0x18e},_0x1355af=_0x52c021;this[_0x1355af(0x1c6)](_0x1355af(_0x77494c._0x3b6272),[_0x63d655,_0x3fdda4]),this[_0x1355af(0x197)]();}async[_0x52c021(0x177)](_0x4a2b17){const _0x351722={_0x502d39:0x1c6,_0x3e45aa:0x197},_0x2e66ba=_0x52c021;this[_0x2e66ba(_0x351722._0x502d39)]('scrollIntoView',[_0x4a2b17]),this[_0x2e66ba(_0x351722._0x3e45aa)]();}async[_0x52c021(0x19a)](_0x463eed,_0x284abf,_0x38137b){const _0x42af95={_0x4ee080:0x1c6},_0x3b72a6=_0x52c021;this[_0x3b72a6(_0x42af95._0x4ee080)](_0x3b72a6(0x19a),[_0x463eed,_0x284abf,_0x38137b]),this['maybeThrow']();}async[_0x52c021(0x183)](_0x497c84,_0x741198){this['record']('uploadFile',[_0x497c84,_0x741198]),this['maybeThrow']();}async[_0x52c021(0x1ba)](_0x40fa4c,_0x153315){const _0xff496e={_0x52bb37:0x1ba},_0xd918ee=_0x52c021;this['record'](_0xd918ee(_0xff496e._0x52bb37),[_0x40fa4c,_0x153315]),this[_0xd918ee(0x197)]();}async['count'](_0x254eb4){const _0x47a614={_0x2b0dcb:0x1c6,_0x165ba6:0x166,_0x411c98:0x179},_0x15a189=_0x52c021;return this[_0x15a189(_0x47a614._0x2b0dcb)](_0x15a189(_0x47a614._0x165ba6),[_0x254eb4]),this[_0x15a189(_0x47a614._0x411c98)][_0x15a189(0x1ca)]??0x1;}async[_0x52c021(0x1b9)](_0x4714b4){const _0x37a4b5={_0x257a8a:0x1c6,_0x1b2640:0x1b9,_0xfe59d6:0x15c},_0x585d20=_0x52c021;return this[_0x585d20(_0x37a4b5._0x257a8a)](_0x585d20(_0x37a4b5._0x1b2640),[_0x4714b4]),this['behavior'][_0x585d20(_0x37a4b5._0xfe59d6)]??'';}async[_0x52c021(0x1ac)](_0x2316b7){const _0x4eb901={_0x3ceb18:0x1ac,_0x120916:0x179},_0x51e356=_0x52c021;return this['record'](_0x51e356(_0x4eb901._0x3ceb18),[_0x2316b7]),this[_0x51e356(_0x4eb901._0x120916)][_0x51e356(0x169)]??'';}async[_0x52c021(0x176)](_0x251a27){const _0x200d48={_0x465238:0x1c6},_0x45f560=_0x52c021;return this[_0x45f560(_0x200d48._0x465238)]('checkedState',[_0x251a27]),this['behavior']['checkedStateByDefault']??null;}async['isVisible'](_0x9f3e3a){const _0x1540f0={_0x342141:0x1c6},_0x52fac5=_0x52c021;return this[_0x52fac5(_0x1540f0._0x342141)]('isVisible',[_0x9f3e3a]),this[_0x52fac5(0x179)][_0x52fac5(0x1b8)]??!![];}async[_0x52c021(0x16d)](_0x2edc96){const _0x2f88a0={_0x22f033:0x1c6},_0x2ce636=_0x52c021;return this[_0x2ce636(_0x2f88a0._0x22f033)](_0x2ce636(0x16d),[_0x2edc96]),this[_0x2ce636(0x179)][_0x2ce636(0x16c)]??![];}async[_0x52c021(0x1ae)](_0x2731a0,_0x1e8eb1){const _0x1faca7={_0x1458b1:0x182},_0x199a47=_0x52c021;return this[_0x199a47(0x1c6)](_0x199a47(0x1ae),[_0x2731a0,_0x1e8eb1]),this[_0x199a47(0x179)][_0x199a47(_0x1faca7._0x1458b1)]?.[_0x1e8eb1]??null;}async[_0x52c021(0x19b)](_0x143139,_0x5a12ad){const _0x555e22={_0x45864e:0x19b},_0x4d04e8=_0x52c021;this[_0x4d04e8(0x1c6)](_0x4d04e8(_0x555e22._0x45864e),[_0x143139,_0x5a12ad]);}async['waitForUrl'](_0x221325,_0x2bf5eb){const _0x401605={_0x120256:0x1c6},_0x2a78b0=_0x52c021;this[_0x2a78b0(_0x401605._0x120256)]('waitForUrl',[_0x221325,_0x2bf5eb]);}async[_0x52c021(0x19c)](_0x4d13f7,_0xce3480){const _0x39578c=_0x52c021;this[_0x39578c(0x1c6)]('waitForText',[_0x4d13f7,_0xce3480]);}async[_0x52c021(0x1cb)](_0x2c5a02){const _0x31b94b={_0x4130ca:0x1c6},_0x4ea98a=_0x52c021;this[_0x4ea98a(_0x31b94b._0x4130ca)](_0x4ea98a(0x1cb),[_0x2c5a02]);}async[_0x52c021(0x1bd)](_0x526445,_0x39ed86){const _0x420363={_0x258e71:0x1c6,_0x50a4d4:0x1bd},_0xc3e9aa=_0x52c021;this[_0xc3e9aa(_0x420363._0x258e71)](_0xc3e9aa(_0x420363._0x50a4d4),[_0x526445,_0x39ed86]);}async[_0x52c021(0x1b4)](_0x5e8962,_0x32a1ab){const _0x207a51={_0x32d2b8:0x1b4},_0x318403=_0x52c021;this['record'](_0x318403(_0x207a51._0x32d2b8),[_0x5e8962,_0x32a1ab]),this[_0x318403(0x1c9)]=_0x5e8962;}async['reload'](_0x383f5b){const _0x2319fe={_0x41d05f:0x1c6},_0x62b933=_0x52c021;this[_0x62b933(_0x2319fe._0x41d05f)](_0x62b933(0x191),[_0x383f5b]);}async[_0x52c021(0x168)](_0x391806){const _0x165186=_0x52c021;this[_0x165186(0x1c6)](_0x165186(0x168),[_0x391806]);}async[_0x52c021(0x185)](_0x326321){const _0x1d04a7={_0x3d90c3:0x1c6},_0x4734a1=_0x52c021;this[_0x4734a1(_0x1d04a7._0x3d90c3)](_0x4734a1(0x185),[_0x326321]);}async[_0x52c021(0x17a)](_0x1f9fc3){const _0x4786a4={_0x2f5bb4:0x17a},_0x14a54f=_0x52c021;return this[_0x14a54f(0x1c6)](_0x14a54f(_0x4786a4._0x2f5bb4),[_0x1f9fc3]),void 0x0;}async['evaluateOnLocator'](_0x407b4b,_0x22a352){return this['record']('evaluateOnLocator',[_0x407b4b,_0x22a352]),void 0x0;}async['inspectElement'](_0x11a950){const _0x2ca4a2={_0x5d423e:0x1c6,_0x1d7b56:0x1b7,_0x5ee336:0x180,_0x1a4fd9:0x167,_0x51418b:0x157,_0x17178e:0x179},_0x307c4a=_0x52c021;this[_0x307c4a(_0x2ca4a2._0x5d423e)](_0x307c4a(_0x2ca4a2._0x1d7b56),[_0x11a950]);if(_0x11a950[_0x307c4a(_0x2ca4a2._0x5ee336)]['length']!==0x1||_0x11a950[_0x307c4a(0x180)][0x0][_0x307c4a(_0x2ca4a2._0x1a4fd9)]!==_0x307c4a(_0x2ca4a2._0x51418b))return null;const _0x3c6bd8=_0x11a950['steps'][0x0][_0x307c4a(0x157)],_0x31a3b2=this[_0x307c4a(_0x2ca4a2._0x17178e)]['elementHintByRef']?.[_0x3c6bd8];return _0x31a3b2??null;}async[_0x52c021(0x16f)](_0x44f43c){const _0x4df695={_0x44dbc1:0x194},_0x5b0323=_0x52c021;return this['record'](_0x5b0323(0x16f),[_0x44f43c]),Buffer['from'](_0x5b0323(_0x4df695._0x44dbc1));}async['outerHTML'](_0x58c977){const _0x27865a={_0x13996d:0x180,_0x19563a:0x157,_0x2ba1b8:0x180,_0x19850c:0x1a3},_0x1c2ec2=_0x52c021;this['record'](_0x1c2ec2(0x1af),[_0x58c977]);if(_0x58c977[_0x1c2ec2(0x180)]['length']===0x1&&_0x58c977[_0x1c2ec2(_0x27865a._0x13996d)][0x0][_0x1c2ec2(0x167)]===_0x1c2ec2(_0x27865a._0x19563a)){const _0x265d10=_0x58c977[_0x1c2ec2(_0x27865a._0x2ba1b8)][0x0][_0x1c2ec2(0x157)];return this['behavior']['outerHtmlByRef']?.[_0x265d10]??_0x1c2ec2(_0x27865a._0x19850c)+_0x265d10+'\x22></div>';}return _0x1c2ec2(0x1bb);}},FakeContext=class{constructor(_0x39a27c,_0x976d90,_0x26d345){const _0x406c64={_0x35f2bc:0x17f,_0x22afed:0x1c1,_0x52f461:0x155,_0x2649db:0x18d},_0x5cc3e6={_0x192dfd:0x195},_0xa081d4=_0x52c021;this['recorder']=_0x39a27c,this[_0xa081d4(0x179)]=_0x976d90,this[_0xa081d4(0x15a)]=_0x26d345;const _0x1cb77c=new FakePage(_0x39a27c,_0x976d90,_0x26d345+_0xa081d4(0x1b0),_0x976d90[_0xa081d4(0x1c3)]??_0xa081d4(_0x406c64._0x35f2bc));_0x976d90[_0xa081d4(0x195)]&&(_0x1cb77c[_0xa081d4(_0x406c64._0x22afed)]=()=>{const _0x372903=_0xa081d4;this[_0x372903(0x1a4)](_0x976d90[_0x372903(_0x5cc3e6._0x192dfd)]);}),this['pageList']=[_0x1cb77c],this[_0xa081d4(_0x406c64._0x52f461)]={..._0x976d90[_0xa081d4(0x1c7)]??{}},this[_0xa081d4(0x164)]={..._0x976d90[_0xa081d4(_0x406c64._0x2649db)]??{}};}['recorder'];[_0x52c021(0x179)];[_0x52c021(0x15a)];static{__name(this,_0x52c021(0x1c8));}[_0x52c021(0x1c4)];[_0x52c021(0x161)]=0x0;['frameStack']=[];[_0x52c021(0x155)];[_0x52c021(0x164)];['newPageListeners']=new Set();[_0x52c021(0x1c6)](_0xf53240,_0x354f44){const _0x437022=_0x52c021;this[_0x437022(0x1b5)][_0x437022(0x198)]({'scope':this[_0x437022(0x15a)],'method':_0xf53240,'args':_0x354f44});}[_0x52c021(0x1a6)](){const _0x24522c=_0x52c021;return this[_0x24522c(0x1c4)];}['activePage'](){const _0x311ac1={_0x1d10c5:0x181},_0x2c4344=_0x52c021,_0x13edc1=this['pageList'][this[_0x2c4344(0x161)]];if(!_0x13edc1)throw new DriverError(_0x2c4344(_0x311ac1._0x1d10c5),{'activeIdx':this['activeIdx']});return _0x13edc1;}[_0x52c021(0x17e)](){const _0x4fc670={_0x582a7b:0x179,_0x3cc64a:0x17e},_0x353cb1=_0x52c021;return this[_0x353cb1(_0x4fc670._0x582a7b)][_0x353cb1(_0x4fc670._0x3cc64a)]??[];}[_0x52c021(0x15b)](){const _0x225d6e={_0x1d42ee:0x179},_0x336cd6=_0x52c021;return this[_0x336cd6(_0x225d6e._0x1d42ee)][_0x336cd6(0x15b)]??[];}async[_0x52c021(0x1b2)](_0x405bc8){const _0x2956d7={_0x2bf2b7:0x1b2,_0x20afd6:0x1b6,_0x591248:0x1c4},_0x575698=_0x52c021;this['record'](_0x575698(_0x2956d7._0x2bf2b7),[_0x405bc8]);if(_0x405bc8<0x0||_0x405bc8>=this['pageList'][_0x575698(_0x2956d7._0x20afd6)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x405bc8,'available':this[_0x575698(_0x2956d7._0x591248)][_0x575698(0x1b6)]});this['activeIdx']=_0x405bc8,this['frameStack'][_0x575698(0x1b6)]=0x0;}[_0x52c021(0x1a2)](_0x382afa){const _0x2d5ef4=_0x52c021;return subscribe(this[_0x2d5ef4(0x163)],_0x382afa);}[_0x52c021(0x1a4)](_0x52f939){const _0x1df817={_0x3ac624:0x15a,_0x15285f:0x198,_0x5292e2:0x163},_0x135542=_0x52c021,_0xa7ea2a=this[_0x135542(_0x1df817._0x3ac624)]+'.page'+this['pageList'][_0x135542(0x1b6)],_0x701ef2=new FakePage(this[_0x135542(0x1b5)],this['behavior'],_0xa7ea2a,_0x52f939);this['pageList'][_0x135542(_0x1df817._0x15285f)](_0x701ef2);const _0x2fce5b=this[_0x135542(0x1c4)][_0x135542(0x1b6)]-0x1;for(const _0x108722 of this[_0x135542(_0x1df817._0x5292e2)]){try{_0x108722({'index':_0x2fce5b,'url':_0x52f939});}catch{}}return _0x2fce5b;}[_0x52c021(0x186)](_0x387d60){const _0x497fae={_0x13ffbf:0x1b6},_0x1b3d30=_0x52c021;if(_0x387d60<0x0||_0x387d60>=this[_0x1b3d30(0x1c4)][_0x1b3d30(_0x497fae._0x13ffbf)])throw new DriverError(_0x1b3d30(0x1a1),{'index':_0x387d60,'available':this[_0x1b3d30(0x1c4)][_0x1b3d30(0x1b6)]});this[_0x1b3d30(0x1c4)][_0x1b3d30(0x190)](_0x387d60,0x1);}async[_0x52c021(0x17b)](_0x52a341){const _0x123fa4={_0x5d2416:0x17b,_0x3d6718:0x1b6,_0x1689b2:0x193,_0x591f35:0x198},_0x2711e7=_0x52c021;this['record'](_0x2711e7(_0x123fa4._0x5d2416),[_0x52a341]);if(!_0x52a341['steps'][_0x2711e7(_0x123fa4._0x3d6718)])throw new LocatorError(_0x2711e7(_0x123fa4._0x1689b2),{'locator':_0x52a341});this[_0x2711e7(0x1c0)][_0x2711e7(_0x123fa4._0x591f35)](_0x52a341);}async[_0x52c021(0x196)](){const _0x43c25d={_0x1f8889:0x1c0},_0x2d90dd=_0x52c021;this['record'](_0x2d90dd(0x196),[]);if(this[_0x2d90dd(_0x43c25d._0x1f8889)][_0x2d90dd(0x1b6)]===0x0)throw new DriverError('exitFrame\x20called\x20with\x20no\x20frame\x20on\x20the\x20stack',{});this[_0x2d90dd(_0x43c25d._0x1f8889)][_0x2d90dd(0x175)]();}async[_0x52c021(0x18c)](_0xfd358c,_0x543ed2){const _0x5f00b4=_0x52c021;this[_0x5f00b4(0x1c6)]('setLocalStorage',[_0xfd358c,_0x543ed2]),this[_0x5f00b4(0x155)][_0xfd358c]=_0x543ed2;}async[_0x52c021(0x1b3)](_0x26a536){const _0x5a16e3={_0x7d4cb9:0x155},_0x4b089f=_0x52c021;return this[_0x4b089f(0x1c6)]('getLocalStorage',[_0x26a536]),this[_0x4b089f(_0x5a16e3._0x7d4cb9)][_0x26a536]??null;}async['setCookie'](_0x29774e,_0x5accd9,_0x526e76){const _0x2bb793={_0x5d8e77:0x1a7,_0x5df0fa:0x164},_0x3b4540=_0x52c021;this[_0x3b4540(0x1c6)](_0x3b4540(_0x2bb793._0x5d8e77),[_0x29774e,_0x5accd9,_0x526e76]),this[_0x3b4540(_0x2bb793._0x5df0fa)][_0x29774e]=_0x5accd9;}async[_0x52c021(0x159)](_0x9b1aab){const _0x155b3c={_0x36b49e:0x159,_0x46af90:0x164},_0x4cb4cc=_0x52c021;return this[_0x4cb4cc(0x1c6)](_0x4cb4cc(_0x155b3c._0x36b49e),[_0x9b1aab]),this[_0x4cb4cc(_0x155b3c._0x46af90)][_0x9b1aab]??null;}async[_0x52c021(0x1a9)](_0x569eaa){const _0x421143={_0x1c88a9:0x1a9},_0x43b315=_0x52c021;this['record'](_0x43b315(_0x421143._0x1c88a9),[_0x569eaa]);}async[_0x52c021(0x17a)](_0x3330a9){const _0x4d5c6a=_0x52c021;return this[_0x4d5c6a(0x1c6)](_0x4d5c6a(0x17a),[_0x3330a9]),void 0x0;}async[_0x52c021(0x172)](){const _0x5cd845={_0x310f1f:0x1c6,_0x1e68ec:0x172},_0x13ef6d=_0x52c021;this[_0x13ef6d(_0x5cd845._0x310f1f)](_0x13ef6d(_0x5cd845._0x1e68ec),[]);}[_0x52c021(0x15e)](){const _0x4d4c4a={_0x42a2a5:0x1c0},_0x1377a5=_0x52c021;return this[_0x1377a5(_0x4d4c4a._0x42a2a5)]['length'];}},FakeWebDriver=class{constructor(_0x35c6f4={}){const _0x56689f={_0x46c9e6:0x1b5},_0x2be6d7=_0x52c021;this[_0x2be6d7(0x179)]=_0x35c6f4,this[_0x2be6d7(_0x56689f._0x46c9e6)]=createRecorder();}[_0x52c021(0x179)];static{__name(this,_0x52c021(0x19f));}['launched']=![];[_0x52c021(0x1b5)];['contexts']=[];async[_0x52c021(0x160)](_0x4bd1f7){const _0x3fd216={_0x1fb655:0x1b5,_0x42e4c9:0x198,_0x53e94f:0x19e,_0x19fc11:0x160,_0x212be7:0x18b},_0x5c1158=_0x52c021;this[_0x5c1158(_0x3fd216._0x1fb655)][_0x5c1158(_0x3fd216._0x42e4c9)]({'scope':_0x5c1158(_0x3fd216._0x53e94f),'method':_0x5c1158(_0x3fd216._0x19fc11),'args':[_0x4bd1f7]}),this[_0x5c1158(_0x3fd216._0x212be7)]=!![];}async[_0x52c021(0x173)](_0x47107a){const _0x21aaa6={_0x4e39a1:0x1b5,_0x47fc93:0x158,_0x377405:0x1b5,_0x9bc756:0x179,_0x439028:0x1a0,_0x13950a:0x1b6},_0x765e6=_0x52c021;this[_0x765e6(_0x21aaa6._0x4e39a1)][_0x765e6(0x198)]({'scope':'driver','method':_0x765e6(0x173),'args':[_0x47107a]});if(!this[_0x765e6(0x18b)])throw new DriverError(_0x765e6(_0x21aaa6._0x47fc93),{});const _0x285555=new FakeContext(this[_0x765e6(_0x21aaa6._0x377405)],this[_0x765e6(_0x21aaa6._0x9bc756)],_0x765e6(0x16b)+this[_0x765e6(_0x21aaa6._0x439028)][_0x765e6(_0x21aaa6._0x13950a)]);return this['contexts'][_0x765e6(0x198)](_0x285555),_0x285555;}async[_0x52c021(0x172)](){const _0x4f05b3={_0x53f398:0x19e,_0x30812e:0x18b},_0x8cb9eb=_0x52c021;this['recorder'][_0x8cb9eb(0x198)]({'scope':_0x8cb9eb(_0x4f05b3._0x53f398),'method':'close','args':[]}),this[_0x8cb9eb(_0x4f05b3._0x30812e)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x52c021(0x170)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x52c021(0x16e)](){const _0x461262={_0x4ac6b7:0x162},_0x51ba82=_0x52c021;throw new DriverError(_0x51ba82(_0x461262._0x4ac6b7),{});}[_0x52c021(0x1ab)](){const _0x2d395d={_0x24c166:0x1b5,_0x42e9a5:0x1ab},_0x5f05d0=_0x52c021;return this[_0x5f05d0(_0x2d395d._0x24c166)][_0x5f05d0(_0x2d395d._0x42e9a5)]();}[_0x52c021(0x1b1)](_0x54c081){const _0x3162c6={_0x57c81f:0x18a},_0x3340f2=_0x52c021;return this[_0x3340f2(0x1b5)]['calls']()[_0x3340f2(_0x3162c6._0x57c81f)](_0x3164e1=>_0x3164e1[_0x3340f2(0x1a5)]===_0x54c081);}};export{FakeWebDriver};
1
+ const _0x35457f=_0x1ef7;(function(_0x23184b,_0x2d0104){const _0x373856={_0x2bbfe8:0xe8,_0x288e65:0xd1,_0x260183:0xaf,_0x110e9a:0xae,_0x480d57:0xbc},_0x2886ee=_0x1ef7,_0x42fd36=_0x23184b();while(!![]){try{const _0xf24525=-parseInt(_0x2886ee(_0x373856._0x2bbfe8))/0x1*(parseInt(_0x2886ee(0xe4))/0x2)+parseInt(_0x2886ee(0x108))/0x3*(parseInt(_0x2886ee(_0x373856._0x288e65))/0x4)+-parseInt(_0x2886ee(_0x373856._0x260183))/0x5*(-parseInt(_0x2886ee(0xd9))/0x6)+parseInt(_0x2886ee(0xda))/0x7+parseInt(_0x2886ee(0xf9))/0x8*(-parseInt(_0x2886ee(0xdc))/0x9)+parseInt(_0x2886ee(_0x373856._0x110e9a))/0xa+-parseInt(_0x2886ee(_0x373856._0x480d57))/0xb;if(_0xf24525===_0x2d0104)break;else _0x42fd36['push'](_0x42fd36['shift']());}catch(_0x4ada7d){_0x42fd36['push'](_0x42fd36['shift']());}}}(_0x45fb,0x64827));var __defProp=Object['defineProperty'],__name=(_0x167943,_0x12d57c)=>__defProp(_0x167943,'name',{'value':_0x12d57c,'configurable':!![]});function subscribe(_0x508764,_0x4e7111){const _0x35c3a2={_0x55a11e:0xeb},_0x5d5d3d=_0x1ef7;return _0x508764[_0x5d5d3d(_0x35c3a2._0x55a11e)](_0x4e7111),()=>{_0x508764['delete'](_0x4e7111);};}function _0x45fb(){const _0x50fa85=['AxneAxnHyMXLzej5rgvMyxvSDa','Aw5ZCgvJDevSzw1LBNq','Dw5JAgvJAW','pgrPDJ48l2rPDJ4','lNbHz2uW','lNbHz2u','zNjHBwvtDgfJAW','C2v0q29VA2LL','C2v0tg9JywXtDg9YywDL','D3nfBMrWB2LUDa','z29cywnR','ywn0AxzLswr4','BMv0D29YA0vUDhjPzxm','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','B3v0zxjive1m','zxHPDezYyw1L','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','y2fSBhm','zwXLBwvUDeHPBNrcEvjLzG','zxzHBhvHDgu','DxjS','y3jLyxrLuMvJB3jKzxi','y2HLy2TLzfn0yxrLqNLezwzHDwX0','BMv3ugfNzuXPC3rLBMvYCW','yMvOyxzPB3i','D2fPDezVCG','C3bSAwnL','zNjVBq','zMLSDgvY','ndi4nZGZmhbKweLUBG','nJu4odvJq0T3r1C','B25ozxDqywDL','D2fPDezVCLvYBa','y29UDgv4Dhm','zg91yMXLq2XPy2S','y291BNq','DxbSB2fKrMLSzq','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','C2vSzwn0t3b0Aw9U','y29UBMvJDfnOyxjLza','y29UC29SzuvUDhjPzxm','Bgf1BMnOzwq','yxr0ywnOrxHPC3rPBMC','mtCZotC4otDeD0rbqwe','CMvJB3jKzxi','D2fPDezVCLrLEhq','ywn0AxzLugfNzq','Aw5PDgLHBfvYBa','AxnwAxnPyMXL','z290BW','CgfNzuXPC3q','Bg9JywXtDg9YywDL','zhjHz0fUzerYB3a','ChvZAa','y2XPCgjVyxjKugfZDgu','yxr0CMLIDxrLC0j5rgvMyxvSDa','zMfRzsb0AxrSzq','z29gB3j3yxjK','Bwf5yMvuAhjVDW','B25bzNrLCKnSAwnR','D2fPDezVCKXVywrtDgf0zq','CMvM','BgvUz3rO','BMv3q29UDgv4Da','mJG0nti5mKLHuuLgrG','z2v0qxr0CMLIDxrL','C2nVCgu','DgL0Bgu','zhjPDMvY','CMvJB3jK','zMLSBa','Bg9JywXtDg9YywDLu3rHDgu','mZy2CKvAA1j6','mJGYoteXm2Xjshz2uq','Bwv0Ag9K','odm4nZaXvK9LDgTZ','z2v0q29VA2LL','y2HLy2TLzfn0yxrL','C2v0qwn0AxzLugfNzq','Aw5WDxrwywX1zuj5rgvMyxvSDa','C3vIC2nYAwjL','rMfRzvbHz2u','zNjHBwvezxb0Aa','mty4mZCWCMLdy1PS','y3r4','y29VA2LLCW','y3vYCMvUDfvYBa','mKnhAfnRCG','y2HLy2S','zw1PDezHA2vqB3b1Ca','ywrK','D2fPDezVCK5HDMLNyxrPB24','ChjLC3m','y2XPy2S','Dgv4DenVBNrLBNq','A2LUza','y29VA2LLu3rHDgu','C3rLChm','zxjYB3jpBK5LEhrby3rPB24','Cg9WDxbpBKnSAwnR','Aw5WDxrwywX1zq','CMvSB2fK','Ag92zxi','C2nYzwvUC2HVDa','mtzfD2nvAxa','z2v0tg9JywXtDg9YywDL','C2nYB2XSsw50B1zPzxC','B3v0zxjiDg1SqNLszwy','Cg9W','y2XVC2u','tg9JyxrVCKvYCM9Y','iJ48l2rPDJ4','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','y2XVC2vgywTLugfNzq','C2f2zvn0B3jHz2vtDgf0zq','zxzHBhvHDgvpBKXVy2f0B3i','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','AxnwAxnPyMXLqNLezwzHDwX0','Bgf1BMnO','m0XLyvrjrW'];_0x45fb=function(){return _0x50fa85;};return _0x45fb();}__name(subscribe,_0x35457f(0xe1));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x35457f(0xff));}};function createRecorder(){const _0x12c95c={_0x5b7e41:0xc6},_0x7590ef=_0x35457f,_0x528c7a=[];let _0x2b94e7=0x0;return{'push':__name(_0x499186=>_0x528c7a['push']({..._0x499186,'seq':_0x2b94e7++}),_0x7590ef(_0x12c95c._0x5b7e41)),'calls':__name(()=>_0x528c7a,'calls')};}function _0x1ef7(_0x9e1619,_0x452e3a){_0x9e1619=_0x9e1619-0xa1;const _0x45fb39=_0x45fb();let _0x1ef74b=_0x45fb39[_0x9e1619];if(_0x1ef7['QGeDcl']===undefined){var _0x45a7ee=function(_0x158ce8){const _0x43c3ce='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x167943='',_0x12d57c='';for(let _0x508764=0x0,_0x4e7111,_0x528c7a,_0x2b94e7=0x0;_0x528c7a=_0x158ce8['charAt'](_0x2b94e7++);~_0x528c7a&&(_0x4e7111=_0x508764%0x4?_0x4e7111*0x40+_0x528c7a:_0x528c7a,_0x508764++%0x4)?_0x167943+=String['fromCharCode'](0xff&_0x4e7111>>(-0x2*_0x508764&0x6)):0x0){_0x528c7a=_0x43c3ce['indexOf'](_0x528c7a);}for(let _0x499186=0x0,_0x56b2d0=_0x167943['length'];_0x499186<_0x56b2d0;_0x499186++){_0x12d57c+='%'+('00'+_0x167943['charCodeAt'](_0x499186)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12d57c);};_0x1ef7['fuZTdg']=_0x45a7ee,_0x1ef7['TnibdO']={},_0x1ef7['QGeDcl']=!![];}const _0x22954d=_0x45fb39[0x0],_0x3db68d=_0x9e1619+_0x22954d,_0x14ac4c=_0x1ef7['TnibdO'][_0x3db68d];return!_0x14ac4c?(_0x1ef74b=_0x1ef7['fuZTdg'](_0x1ef74b),_0x1ef7['TnibdO'][_0x3db68d]=_0x1ef74b):_0x1ef74b=_0x14ac4c,_0x1ef74b;}__name(createRecorder,_0x35457f(0xa6));var FakePage=class{constructor(_0x56b2d0,_0x1fbb6d,_0x5e5b9a,_0x57bc5d){const _0x3d015e={_0x10a6b2:0xbd},_0x25740c=_0x35457f;this[_0x25740c(_0x3d015e._0x10a6b2)]=_0x56b2d0,this[_0x25740c(0xa9)]=_0x1fbb6d,this[_0x25740c(0xd3)]=_0x5e5b9a,this['currentUrl']=_0x57bc5d;}[_0x35457f(0xbd)];[_0x35457f(0xa9)];['scope'];static{__name(this,_0x35457f(0xe2));}[_0x35457f(0xe7)];['onAfterClick'];['record'](_0x30ca8f,_0x2cb6f7){const _0xfe4f95={_0x1ebc9f:0xc6,_0x264051:0xd3},_0x34aa36=_0x35457f;this['recorder'][_0x34aa36(_0xfe4f95._0x1ebc9f)]({'scope':this[_0x34aa36(_0xfe4f95._0x264051)],'method':_0x30ca8f,'args':_0x2cb6f7});}[_0x35457f(0xcb)](){const _0x31e47b={_0x2182d9:0xa9,_0x343a63:0xf3,_0x1b5f12:0xa9,_0x3c3082:0xa9},_0x14dff7=_0x35457f;if(this[_0x14dff7(_0x31e47b._0x2182d9)][_0x14dff7(_0x31e47b._0x343a63)]){const _0x2f8931=this[_0x14dff7(_0x31e47b._0x1b5f12)][_0x14dff7(_0x31e47b._0x343a63)];this[_0x14dff7(_0x31e47b._0x3c3082)][_0x14dff7(0xf3)]=void 0x0;throw _0x2f8931;}}[_0x35457f(0xa5)](){const _0x14a01f={_0x20887b:0xe7},_0xd0877=_0x35457f;return this[_0xd0877(_0x14a01f._0x20887b)];}async[_0x35457f(0xd4)](){const _0x24fa28={_0x247106:0xd6},_0x3e812e=_0x35457f;return this[_0x3e812e(_0x24fa28._0x247106)]('title',[]),_0x3e812e(0xc9);}async[_0x35457f(0xee)](_0x10aa2a,_0x39ed17){const _0x5167ae={_0x5714c5:0xd6,_0x552564:0xee},_0x570a8c=_0x35457f;this[_0x570a8c(_0x5167ae._0x5714c5)](_0x570a8c(_0x5167ae._0x552564),[_0x10aa2a,_0x39ed17]),this['maybeThrow'](),this[_0x570a8c(0xcc)]?.();}async[_0x35457f(0xb3)](_0xf90bfd,_0x499bbf){this['record']('doubleClick',[_0xf90bfd,_0x499bbf]),this['maybeThrow']();}async[_0x35457f(0xd7)](_0x17bb7d,_0x214126,_0x1d0381){const _0x459c0a={_0x19141d:0xd6,_0x281f04:0xd7},_0x826943=_0x35457f;this[_0x826943(_0x459c0a._0x19141d)](_0x826943(_0x459c0a._0x281f04),[_0x17bb7d,_0x214126,_0x1d0381]),this[_0x826943(0xcb)]();}async[_0x35457f(0xed)](_0x2c1107,_0x604f39,_0x1e04e7){const _0x5c8af2={_0x44a49e:0xd6,_0x259887:0xed},_0x2b3716=_0x35457f;this[_0x2b3716(_0x5c8af2._0x44a49e)](_0x2b3716(_0x5c8af2._0x259887),[_0x2c1107,_0x604f39,_0x1e04e7]),this['maybeThrow']();}async[_0x35457f(0xe9)](_0x26a176,_0x13c482){const _0x522cb2={_0x427920:0xcb},_0x4238ef=_0x35457f;this[_0x4238ef(0xd6)]('check',[_0x26a176,_0x13c482]),this[_0x4238ef(_0x522cb2._0x427920)]();}async[_0x35457f(0x10b)](_0x89cad1,_0x25c4ce){const _0x29d536={_0x25c10f:0xd6},_0xe878bd=_0x35457f;this[_0xe878bd(_0x29d536._0x25c10f)]('uncheck',[_0x89cad1,_0x25c4ce]),this['maybeThrow']();}async[_0x35457f(0xb7)](_0x3dadf0,_0x24ceff,_0x26c4ab){const _0x548b75={_0x3c8e9b:0xd6},_0x28d6e6=_0x35457f;this[_0x28d6e6(_0x548b75._0x3c8e9b)](_0x28d6e6(0xb7),[_0x3dadf0,_0x24ceff,_0x26c4ab]),this['maybeThrow']();}async[_0x35457f(0xf7)](_0x3afe96,_0xa6fc52){const _0x1eaf0c=_0x35457f;this[_0x1eaf0c(0xd6)](_0x1eaf0c(0xf7),[_0x3afe96,_0xa6fc52]),this['maybeThrow']();}async[_0x35457f(0xfb)](_0xbb3c55){const _0x56c4ee={_0xfaf2fb:0xd6},_0x598b9c=_0x35457f;this[_0x598b9c(_0x56c4ee._0xfaf2fb)](_0x598b9c(0xfb),[_0xbb3c55]),this[_0x598b9c(0xcb)]();}async[_0x35457f(0xc5)](_0x27c67d,_0x350c7a,_0xbe0c68){const _0x236555={_0x32e349:0xd6,_0x375e64:0xcb},_0x4a6dab=_0x35457f;this[_0x4a6dab(_0x236555._0x32e349)]('dragAndDrop',[_0x27c67d,_0x350c7a,_0xbe0c68]),this[_0x4a6dab(_0x236555._0x375e64)]();}async[_0x35457f(0xb5)](_0x58f12f,_0x27be9d){const _0x42a292={_0x2f7075:0xb5,_0x4707fe:0xcb},_0xe513ef=_0x35457f;this[_0xe513ef(0xd6)](_0xe513ef(_0x42a292._0x2f7075),[_0x58f12f,_0x27be9d]),this[_0xe513ef(_0x42a292._0x4707fe)]();}async[_0x35457f(0xc7)](_0xd0bfa1,_0x305478){const _0x1e4bfc={_0x5d71d4:0xd6},_0x55093f=_0x35457f;this[_0x55093f(_0x1e4bfc._0x5d71d4)](_0x55093f(0xc7),[_0xd0bfa1,_0x305478]),this[_0x55093f(0xcb)]();}async[_0x35457f(0xb4)](_0x7b1ed3){const _0x308d9f={_0x45580d:0xd6,_0x4d94f9:0xa9},_0x41ebd5=_0x35457f;return this[_0x41ebd5(_0x308d9f._0x45580d)]('count',[_0x7b1ed3]),this[_0x41ebd5(_0x308d9f._0x4d94f9)]['countByDefault']??0x1;}async['textContent'](_0x582e4f){const _0x1cdbef={_0x21b141:0xef},_0x33631a=_0x35457f;return this['record'](_0x33631a(_0x1cdbef._0x21b141),[_0x582e4f]),this['behavior']['textContentByDefault']??'';}async[_0x35457f(0xf5)](_0x1f1cbc){const _0x60ae35={_0x570fdb:0xd6,_0x140f91:0xa9,_0x1a6d0d:0xe0},_0x22be87=_0x35457f;return this[_0x22be87(_0x60ae35._0x570fdb)]('inputValue',[_0x1f1cbc]),this[_0x22be87(_0x60ae35._0x140f91)][_0x22be87(_0x60ae35._0x1a6d0d)]??'';}async[_0x35457f(0xde)](_0x5e24e4){const _0x10e6a9={_0x30191b:0xa7},_0x286374=_0x35457f;return this['record']('checkedState',[_0x5e24e4]),this[_0x286374(0xa9)][_0x286374(_0x10e6a9._0x30191b)]??null;}async[_0x35457f(0xc1)](_0xc880dd){const _0x213d4d={_0x14e8de:0xd6,_0x4ca968:0xc1,_0x1058d9:0xa9,_0xfa9037:0x106},_0x2a01ba=_0x35457f;return this[_0x2a01ba(_0x213d4d._0x14e8de)](_0x2a01ba(_0x213d4d._0x4ca968),[_0xc880dd]),this[_0x2a01ba(_0x213d4d._0x1058d9)][_0x2a01ba(_0x213d4d._0xfa9037)]??!![];}async['isDisabled'](_0x574c80){const _0x530cb1={_0x1ed51c:0xd6},_0x593e89=_0x35457f;return this[_0x593e89(_0x530cb1._0x1ed51c)]('isDisabled',[_0x574c80]),this[_0x593e89(0xa9)][_0x593e89(0x109)]??![];}async['getAttribute'](_0x24a072,_0x19d815){const _0x20c74a={_0x51e3f7:0xd6,_0xee9d47:0xd2,_0x44891a:0xa9},_0x2fa332=_0x35457f;return this[_0x2fa332(_0x20c74a._0x51e3f7)](_0x2fa332(_0x20c74a._0xee9d47),[_0x24a072,_0x19d815]),this[_0x2fa332(_0x20c74a._0x44891a)][_0x2fa332(0xc8)]?.[_0x19d815]??null;}async['waitFor'](_0x4f563e,_0x2293c8){const _0x260365={_0x58b377:0xaa},_0x36457e=_0x35457f;this[_0x36457e(0xd6)](_0x36457e(_0x260365._0x58b377),[_0x4f563e,_0x2293c8]);}async[_0x35457f(0xb1)](_0x3bdf4e,_0x5412fc){const _0x4cb7db={_0xddfb9a:0xb1},_0x186f3a=_0x35457f;this[_0x186f3a(0xd6)](_0x186f3a(_0x4cb7db._0xddfb9a),[_0x3bdf4e,_0x5412fc]);}async[_0x35457f(0xbe)](_0x1c9ea1,_0x1110ea){const _0x19ea37={_0x49a5df:0xd6},_0x27baaf=_0x35457f;this[_0x27baaf(_0x19ea37._0x49a5df)]('waitForText',[_0x1c9ea1,_0x1110ea]);}async[_0x35457f(0xec)](_0x5277b7){const _0x1351a0={_0x5877a4:0xec},_0x4bc318=_0x35457f;this['record'](_0x4bc318(_0x1351a0._0x5877a4),[_0x5277b7]);}async[_0x35457f(0xcd)](_0x19b980,_0xac0995){const _0x145b16={_0x30da52:0xd6},_0x4aeba2=_0x35457f;this[_0x4aeba2(_0x145b16._0x30da52)](_0x4aeba2(0xcd),[_0x19b980,_0xac0995]);}async[_0x35457f(0xc2)](_0x23fefc,_0x302c04){const _0x40e834={_0x5786ea:0xd6,_0x180cde:0xe7},_0x18bdbd=_0x35457f;this[_0x18bdbd(_0x40e834._0x5786ea)]('goto',[_0x23fefc,_0x302c04]),this[_0x18bdbd(_0x40e834._0x180cde)]=_0x23fefc;}async[_0x35457f(0xf6)](_0x2c758a){const _0x17d6e2=_0x35457f;this[_0x17d6e2(0xd6)]('reload',[_0x2c758a]);}async[_0x35457f(0x113)](_0x357b3d){const _0x59a41f={_0x5d3d8a:0xd6},_0x29d6a1=_0x35457f;this[_0x29d6a1(_0x59a41f._0x5d3d8a)]('goBack',[_0x357b3d]);}async['goForward'](_0x53410d){const _0x37bec9={_0x3d25e9:0xca},_0x56896d=_0x35457f;this[_0x56896d(0xd6)](_0x56896d(_0x37bec9._0x3d25e9),[_0x53410d]);}async[_0x35457f(0xa4)](_0x203567){const _0x2c8690={_0x5c3271:0xd6,_0xe377:0xa4},_0x572e35=_0x35457f;return this[_0x572e35(_0x2c8690._0x5c3271)](_0x572e35(_0x2c8690._0xe377),[_0x203567]),void 0x0;}async[_0x35457f(0x104)](_0x4be6d1,_0x57aac1){const _0x3226cb={_0x549265:0xd6},_0x50b13a=_0x35457f;return this[_0x50b13a(_0x3226cb._0x549265)](_0x50b13a(0x104),[_0x4be6d1,_0x57aac1]),void 0x0;}async[_0x35457f(0x10a)](_0x48f1b9){const _0x551552={_0x37ca34:0xd6,_0x173c18:0x10a,_0x48a900:0xcf,_0x1ebef6:0xf0,_0x307442:0xce,_0x566d1c:0xa9,_0x5d840a:0xa3},_0x768646=_0x35457f;this[_0x768646(_0x551552._0x37ca34)](_0x768646(_0x551552._0x173c18),[_0x48f1b9]);if(_0x48f1b9['steps'][_0x768646(_0x551552._0x48a900)]!==0x1||_0x48f1b9['steps'][0x0][_0x768646(_0x551552._0x1ebef6)]!==_0x768646(_0x551552._0x307442))return null;const _0x31b15e=_0x48f1b9[_0x768646(0xf2)][0x0]['ref'],_0x1bb107=this[_0x768646(_0x551552._0x566d1c)][_0x768646(_0x551552._0x5d840a)]?.[_0x31b15e];return _0x1bb107??null;}async[_0x35457f(0xf8)](_0x32022b){const _0x50ad0d={_0x1e4dd4:0xac},_0x26a9a9=_0x35457f;return this[_0x26a9a9(0xd6)](_0x26a9a9(0xf8),[_0x32022b]),Buffer[_0x26a9a9(_0x50ad0d._0x1e4dd4)]('fake-png');}async[_0x35457f(0x117)](_0x394f37){const _0x451d23={_0x133f5:0xf2,_0x2f52e9:0xf0,_0x2801e5:0xce,_0x5164c3:0xfc,_0x461cc1:0x100},_0x1613de=_0x35457f;this[_0x1613de(0xd6)](_0x1613de(0x117),[_0x394f37]);if(_0x394f37[_0x1613de(_0x451d23._0x133f5)]['length']===0x1&&_0x394f37[_0x1613de(0xf2)][0x0][_0x1613de(_0x451d23._0x2f52e9)]===_0x1613de(_0x451d23._0x2801e5)){const _0x3234e2=_0x394f37['steps'][0x0]['ref'];return this['behavior'][_0x1613de(_0x451d23._0x5164c3)]?.[_0x3234e2]??_0x1613de(0xa1)+_0x3234e2+_0x1613de(_0x451d23._0x461cc1);}return _0x1613de(0x10c);}},FakeContext=class{constructor(_0x30c621,_0x5c1adf,_0x3f61ee){const _0x3c5b25={_0x2cec9a:0xbd,_0x5954cc:0xc0,_0x1943b1:0xd8},_0x8972c5=_0x35457f;this[_0x8972c5(_0x3c5b25._0x2cec9a)]=_0x30c621,this['behavior']=_0x5c1adf,this['scope']=_0x3f61ee;const _0x14749f=new FakePage(_0x30c621,_0x5c1adf,_0x3f61ee+_0x8972c5(0x10d),_0x5c1adf[_0x8972c5(_0x3c5b25._0x5954cc)]??'about:blank');_0x5c1adf[_0x8972c5(0xf4)]&&(_0x14749f[_0x8972c5(0xcc)]=()=>{const _0xbf6516=_0x8972c5;this['emitFakePopup'](_0x5c1adf[_0xbf6516(0xf4)]);}),this[_0x8972c5(0xc3)]=[_0x14749f],this[_0x8972c5(_0x3c5b25._0x1943b1)]={..._0x5c1adf[_0x8972c5(0xc4)]??{}},this[_0x8972c5(0xf1)]={..._0x5c1adf[_0x8972c5(0xe6)]??{}};}[_0x35457f(0xbd)];[_0x35457f(0xa9)];['scope'];static{__name(this,'FakeContext');}[_0x35457f(0xc3)];[_0x35457f(0x114)]=0x0;[_0x35457f(0x10f)]=[];[_0x35457f(0xd8)];[_0x35457f(0xf1)];[_0x35457f(0xa8)]=new Set();['record'](_0x470e0e,_0x592c4a){const _0x643acc={_0x111260:0xc6,_0x4908c6:0xd3},_0x3255cf=_0x35457f;this[_0x3255cf(0xbd)][_0x3255cf(_0x643acc._0x111260)]({'scope':this[_0x3255cf(_0x643acc._0x4908c6)],'method':_0x470e0e,'args':_0x592c4a});}['pages'](){return this['pageList'];}[_0x35457f(0xbf)](){const _0x2db682={_0x454a85:0x114},_0x192c58=_0x35457f,_0x220ae8=this[_0x192c58(0xc3)][this[_0x192c58(_0x2db682._0x454a85)]];if(!_0x220ae8)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this['activeIdx']});return _0x220ae8;}[_0x35457f(0xb9)](){const _0x87a30b={_0x41a64f:0xb9},_0x14f00e=_0x35457f;return this[_0x14f00e(0xa9)][_0x14f00e(_0x87a30b._0x41a64f)]??[];}[_0x35457f(0x115)](){const _0x240e09=_0x35457f;return this['behavior'][_0x240e09(0x115)]??[];}async[_0x35457f(0xdf)](_0xe4f38f){const _0x5a8452={_0x13a2a0:0xd6,_0x62a955:0xdf,_0x2e8c6a:0x114,_0x3e4cf8:0x10f,_0x4d0b3c:0xcf},_0x5a194e=_0x35457f;this[_0x5a194e(_0x5a8452._0x13a2a0)](_0x5a194e(_0x5a8452._0x62a955),[_0xe4f38f]);if(_0xe4f38f<0x0||_0xe4f38f>=this[_0x5a194e(0xc3)][_0x5a194e(0xcf)])throw new DriverError(_0x5a194e(0xb6),{'index':_0xe4f38f,'available':this[_0x5a194e(0xc3)][_0x5a194e(0xcf)]});this[_0x5a194e(_0x5a8452._0x2e8c6a)]=_0xe4f38f,this[_0x5a194e(_0x5a8452._0x3e4cf8)][_0x5a194e(_0x5a8452._0x4d0b3c)]=0x0;}[_0x35457f(0xb0)](_0x4b3d81){const _0x24c036={_0x555ccc:0xa8},_0x26ed8d=_0x35457f;return subscribe(this[_0x26ed8d(_0x24c036._0x555ccc)],_0x4b3d81);}[_0x35457f(0xea)](_0x24bf7a){const _0x33d4a3={_0x4dc0b4:0x10e,_0x50f1e1:0xc3,_0x23ce15:0xcf,_0x50ef5d:0xa8},_0x43339c=_0x35457f,_0x241622=this[_0x43339c(0xd3)]+_0x43339c(_0x33d4a3._0x4dc0b4)+this[_0x43339c(_0x33d4a3._0x50f1e1)][_0x43339c(0xcf)],_0x42d655=new FakePage(this[_0x43339c(0xbd)],this['behavior'],_0x241622,_0x24bf7a);this[_0x43339c(_0x33d4a3._0x50f1e1)]['push'](_0x42d655);const _0x20bf5b=this['pageList'][_0x43339c(_0x33d4a3._0x23ce15)]-0x1;for(const _0x297844 of this[_0x43339c(_0x33d4a3._0x50ef5d)]){try{_0x297844({'index':_0x20bf5b,'url':_0x24bf7a});}catch{}}return _0x20bf5b;}[_0x35457f(0x102)](_0x20d14a){const _0x2f9076={_0x1453e9:0xcf},_0x349fbe=_0x35457f;if(_0x20d14a<0x0||_0x20d14a>=this['pageList']['length'])throw new DriverError(_0x349fbe(0xb6),{'index':_0x20d14a,'available':this[_0x349fbe(0xc3)][_0x349fbe(_0x2f9076._0x1453e9)]});this['pageList'][_0x349fbe(0xab)](_0x20d14a,0x1);}async['enterFrame'](_0xd144b3){const _0x156936={_0x298091:0xd6},_0x2b213d=_0x35457f;this[_0x2b213d(_0x156936._0x298091)]('enterFrame',[_0xd144b3]);if(!_0xd144b3[_0x2b213d(0xf2)][_0x2b213d(0xcf)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0xd144b3});this['frameStack']['push'](_0xd144b3);}async[_0x35457f(0x118)](){const _0xa789e5={_0x585d16:0x118,_0x349c2a:0x10f},_0x28dcb1=_0x35457f;this['record'](_0x28dcb1(_0xa789e5._0x585d16),[]);if(this[_0x28dcb1(0x10f)][_0x28dcb1(0xcf)]===0x0)throw new DriverError(_0x28dcb1(0x105),{});this[_0x28dcb1(_0xa789e5._0x349c2a)][_0x28dcb1(0xfd)]();}async[_0x35457f(0x111)](_0x4b499f,_0xb7544){const _0x5a220f={_0x120d09:0xd8},_0x1b41b7=_0x35457f;this[_0x1b41b7(0xd6)](_0x1b41b7(0x111),[_0x4b499f,_0xb7544]),this[_0x1b41b7(_0x5a220f._0x120d09)][_0x4b499f]=_0xb7544;}async['getLocalStorage'](_0x4d0bd8){const _0x5dffd9={_0x56f247:0xfa,_0x2a8bc0:0xd8},_0x1a7d08=_0x35457f;return this[_0x1a7d08(0xd6)](_0x1a7d08(_0x5dffd9._0x56f247),[_0x4d0bd8]),this[_0x1a7d08(_0x5dffd9._0x2a8bc0)][_0x4d0bd8]??null;}async[_0x35457f(0x110)](_0x571561,_0x565a6e,_0x7cef8){const _0x25bc4a={_0x536a64:0xf1},_0x1efd6b=_0x35457f;this[_0x1efd6b(0xd6)](_0x1efd6b(0x110),[_0x571561,_0x565a6e,_0x7cef8]),this[_0x1efd6b(_0x25bc4a._0x536a64)][_0x571561]=_0x565a6e;}async[_0x35457f(0xdd)](_0x5b5595){const _0x51edf3={_0x4f0b32:0xd6},_0x570008=_0x35457f;return this[_0x570008(_0x51edf3._0x4f0b32)](_0x570008(0xdd),[_0x5b5595]),this[_0x570008(0xf1)][_0x5b5595]??null;}async[_0x35457f(0x103)](_0x2c4e9b){const _0x14b96f=_0x35457f;this['record'](_0x14b96f(0x103),[_0x2c4e9b]);}async[_0x35457f(0xa4)](_0x3cdcd0){const _0x3aa4fa=_0x35457f;return this['record'](_0x3aa4fa(0xa4),[_0x3cdcd0]),void 0x0;}async[_0x35457f(0xfe)](){const _0x4b96e7={_0x3bff27:0xd6,_0x5afaf8:0xfe},_0x4274d3=_0x35457f;this[_0x4274d3(_0x4b96e7._0x3bff27)](_0x4274d3(_0x4b96e7._0x5afaf8),[]);}[_0x35457f(0xe3)](){const _0x2fbefe=_0x35457f;return this[_0x2fbefe(0x10f)]['length'];}},FakeWebDriver=class{constructor(_0xbe61b2={}){this['behavior']=_0xbe61b2,this['recorder']=createRecorder();}[_0x35457f(0xa9)];static{__name(this,'FakeWebDriver');}['launched']=![];[_0x35457f(0xbd)];[_0x35457f(0xb2)]=[];async[_0x35457f(0x107)](_0x59b795){const _0x230219={_0x1229d7:0x107},_0x29e960=_0x35457f;this[_0x29e960(0xbd)][_0x29e960(0xc6)]({'scope':'driver','method':_0x29e960(_0x230219._0x1229d7),'args':[_0x59b795]}),this[_0x29e960(0xba)]=!![];}async['newContext'](_0xedfb76){const _0x520b71={_0x539ec9:0x101,_0x1b8c04:0xb2,_0x35eff8:0xc6},_0x276e8d=_0x35457f;this['recorder'][_0x276e8d(0xc6)]({'scope':'driver','method':_0x276e8d(0xd0),'args':[_0xedfb76]});if(!this['launched'])throw new DriverError(_0x276e8d(_0x520b71._0x539ec9),{});const _0x275552=new FakeContext(this[_0x276e8d(0xbd)],this[_0x276e8d(0xa9)],_0x276e8d(0xe5)+this['contexts'][_0x276e8d(0xcf)]);return this[_0x276e8d(_0x520b71._0x1b8c04)][_0x276e8d(_0x520b71._0x35eff8)](_0x275552),_0x275552;}async[_0x35457f(0xfe)](){const _0x214547={_0x455cce:0xbd,_0x3623af:0xd5,_0x13df0a:0xba},_0xd8ac02=_0x35457f;this[_0xd8ac02(_0x214547._0x455cce)][_0xd8ac02(0xc6)]({'scope':_0xd8ac02(_0x214547._0x3623af),'method':_0xd8ac02(0xfe),'args':[]}),this[_0xd8ac02(_0x214547._0x13df0a)]=![];}[_0x35457f(0x112)](){return void 0x0;}async[_0x35457f(0xb8)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x35457f(0xbb)](){const _0x59a110={_0x3d3c49:0x116},_0x378e9a=_0x35457f;throw new DriverError(_0x378e9a(_0x59a110._0x3d3c49),{});}[_0x35457f(0xa2)](){const _0x3be858={_0x9458db:0xa2},_0x1776cd=_0x35457f;return this[_0x1776cd(0xbd)][_0x1776cd(_0x3be858._0x9458db)]();}['callsFor'](_0x5c14b7){const _0x5b83d2=_0x35457f;return this['recorder'][_0x5b83d2(0xa2)]()[_0x5b83d2(0xad)](_0x1ef49a=>_0x1ef49a[_0x5b83d2(0xdb)]===_0x5c14b7);}};export{FakeWebDriver};