@unotest/web 0.17.0 → 0.18.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.
@@ -65,6 +65,11 @@ outside this list — they won't tell you anything Phase 1+ doesn't.
65
65
  3. **`unotest/.env`** — Read it. Pulls `APP_BASE_URL`,
66
66
  `DATABASE_URL`, etc. that the scenario will reach for.
67
67
 
68
+ `unotest/jsconfig.json` and `.unotest/types/` are GENERATED editor
69
+ typings (regenerated on every lint/run from the DSL vocabulary and the
70
+ `.env`/`.secrets` keys) — never edit them and never mine them for the
71
+ DSL surface; the reference above is the source of truth.
72
+
68
73
  Then move to Phase 1. Three files in, exploration done.
69
74
 
70
75
  ### Phase 1 — start the exploration
@@ -90,6 +90,11 @@ outside this list — they won't tell you anything Phase 1+ doesn't.
90
90
  3. **`unotest/.env`** — Read it. Pulls `APP_BASE_URL`,
91
91
  `DATABASE_URL`, etc. that the scenario will reach for.
92
92
 
93
+ `unotest/jsconfig.json` and `.unotest/types/` are GENERATED editor
94
+ typings (regenerated on every lint/run from the DSL vocabulary and the
95
+ `.env`/`.secrets` keys) — never edit them and never mine them for the
96
+ DSL surface; the reference above is the source of truth.
97
+
93
98
  Then move to Phase 1. Three files in, exploration done.
94
99
 
95
100
  ### Phase 1 — start the exploration
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.0] - 2026-08-23
4
+
5
+ ### Minor Changes
6
+
7
+ - 44f5d6c: Editor typings for scenarios — `.js` files stop looking like broken
8
+ JavaScript in VS Code / WebStorm: autocomplete, hover docs, signature
9
+ help and locator-chain resolution, without turning on a second
10
+ type-checker (`checkJs` stays off; diagnostics remain the DSL
11
+ validator's job).
12
+
13
+ - New shipped file `types/unotest-dsl.d.ts` — ambient declarations for
14
+ every DSL function, generated from the same contracts the validator
15
+ uses (`buildDslVocab()`), so it can never drift from the installed
16
+ version.
17
+ - New CLI command `unotest-web types` — creates `unotest/jsconfig.json`
18
+ if missing and regenerates the `.unotest/types/env.d.ts` cache
19
+ (variable NAMES from `unotest/.env` / `.secrets`; values never leave
20
+ those files).
21
+ - `init` scaffolds the jsconfig + env cache; `scaffoldWorkspace()` now
22
+ includes the jsconfig too.
23
+ - Upgrade path is automatic: `lint` and `e2e` create a missing
24
+ `unotest/jsconfig.json` on the fly (one announcement line) and
25
+ silently refresh the env cache. Skipped under CI. No action needed
26
+ after upgrading — run any test or `unotest-web lint` once and the
27
+ editor comes alive. If you keep a custom `unotest/jsconfig.json`, it
28
+ is never overwritten (re-run `init --force` to reset it).
29
+ - `@unotest/protocol`: additive optional fields on the DSL vocab —
30
+ `DslVocabArg.enumValues` (literal members behind `kind: "enum"`) and
31
+ `DslVocabEntry.variadic`.
32
+
33
+ - a088bac: New package `@unotest/eslint-plugin` — unotest DSL scenarios as
34
+ first-class ESLint citizens. One rule (`@unotest/dsl`) delegates every
35
+ check to the validator inside the installed `@unotest/web` (parser,
36
+ vocabulary, linter rules, `linter.rules` severities from
37
+ unotest.config), so `npx eslint unotest/e2e` and `unotest-web lint`
38
+ report identical diagnostics; a new validator rule needs zero plugin
39
+ changes. `configs.recommended()` (async factory, flat config) wires
40
+ `unotest/e2e/**/*.js`, turns `no-undef` off (implicit globals are the
41
+ DSL's design; unknown names are the engine's job) and declares globals
42
+ for the vocabulary, your helpers and your `.env`/`.secrets` variable
43
+ names.
44
+
45
+ `@unotest/web`: the `@unotest/web/dsl` subpath now exports
46
+ `loadLintProjectContext()` (config severities + helper discovery +
47
+ variable names) and `linterRulesToSeverity()` — the same loader the CLI
48
+ `lint` command now uses, so the two frontends cannot drift.
49
+
50
+ ### Patch Changes
51
+
52
+ - 5ab7bd5: `screenshot()` appears in the DSL vocab (completion, hover, signature
53
+ help, generated editor typings). It always had a validator contract, but
54
+ its diagnostics contract group was missing from the vocab builder, so
55
+ every vocab consumer silently lacked it. A parity test now pins the vocab
56
+ to the contract registry, so a future contract group cannot be forgotten
57
+ again. `@unotest/protocol`: new `DslVocabCategory` value `"diagnostic"`.
58
+
3
59
  ## [0.17.0] - 2026-08-20
4
60
 
5
61
  ### Minor Changes
package/README.md CHANGED
@@ -22,6 +22,13 @@ during the prompt), and wires the MCP config so Claude Code / Cursor / Codex
22
22
  pick the server up automatically. Re-run anytime to update — it never
23
23
  overwrites your edits.
24
24
 
25
+ It also wires editor typings (`unotest/jsconfig.json` + generated `.d.ts`
26
+ files), so scenarios get autocomplete, hover docs and signature help in
27
+ VS Code / WebStorm instead of red squiggles. On an existing project this
28
+ self-installs on the first `lint` / `e2e` run after upgrading; refresh by
29
+ hand with `npx @unotest/web types`. Details: the "Editor setup" section of
30
+ `node_modules/@unotest/web/guides/dsl-reference.md`.
31
+
25
32
  ## 2. Open the viewer
26
33
 
27
34
  ```sh
@@ -115,6 +122,7 @@ alongside it in `guides/`).
115
122
  | [`@unotest/viewer`](https://www.npmjs.com/package/@unotest/viewer) | local results browser |
116
123
  | [`@unotest/protocol`](https://www.npmjs.com/package/@unotest/protocol) | shared types |
117
124
  | [`@unotest/dsl`](https://www.npmjs.com/package/@unotest/dsl) | scenario parser + validator engine |
125
+ | [`@unotest/eslint-plugin`](https://www.npmjs.com/package/@unotest/eslint-plugin) | the same scenario diagnostics through ESLint |
118
126
 
119
127
  ## License
120
128
 
@@ -1 +1 @@
1
- var _0x2052e0=_0x1715;(function(_0x1b4eb8,_0x39d252){var _0x46022c={_0x3f8f66:0x204,_0x478011:0x1fa,_0x444cea:0x1f4,_0x2b0078:0x1fd},_0x206d9f=_0x1715,_0x1ff9af=_0x1b4eb8();while(!![]){try{var _0x33e783=-parseInt(_0x206d9f(0x1cc))/0x1+parseInt(_0x206d9f(_0x46022c._0x3f8f66))/0x2*(-parseInt(_0x206d9f(0x1ce))/0x3)+-parseInt(_0x206d9f(0x1eb))/0x4+-parseInt(_0x206d9f(_0x46022c._0x478011))/0x5+parseInt(_0x206d9f(0x1d1))/0x6*(parseInt(_0x206d9f(0x1dd))/0x7)+parseInt(_0x206d9f(_0x46022c._0x444cea))/0x8+parseInt(_0x206d9f(_0x46022c._0x2b0078))/0x9;if(_0x33e783===_0x39d252)break;else _0x1ff9af['push'](_0x1ff9af['shift']());}catch(_0x3a65ea){_0x1ff9af['push'](_0x1ff9af['shift']());}}}(_0x262b,0xd8442));import{z}from'zod';var BrowserSchema=z['enum']([_0x2052e0(0x1d9),_0x2052e0(0x1ca),_0x2052e0(0x1d6)]),BrowserChannelSchema=z['union']([z['literal']('chrome'),z['literal'](_0x2052e0(0x205)),z[_0x2052e0(0x1f6)](_0x2052e0(0x1f0)),z['null']()])['optional'](),ViewportSchema=z['object']({'width':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1d2)](),'height':z[_0x2052e0(0x1e9)]()['int']()['positive']()}),RetryReasonSchema=z['enum']([_0x2052e0(0x1ed),_0x2052e0(0x1f1),_0x2052e0(0x1e2)]),RetryConfigSchema=z['object']({'count':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1e7)](0x0)[_0x2052e0(0x200)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x2052e0(0x1c8)]({'tier1':z['literal'](!![])[_0x2052e0(0x1fe)](!![]),'tier2':z['boolean'](),'tier3':z[_0x2052e0(0x1c8)]({'network':z[_0x2052e0(0x1d4)](),'video':z['boolean']()}),'retention':z[_0x2052e0(0x1c8)]({'runs':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1d2)](),'days':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1d2)]()}),'storageDir':z[_0x2052e0(0x1ec)]()[_0x2052e0(0x1e7)](0x1)}),DialogPolicySchema=z[_0x2052e0(0x1da)]([_0x2052e0(0x1fc),_0x2052e0(0x1fb),'manual']),LinterRuleIdSchema=z[_0x2052e0(0x1da)]([_0x2052e0(0x1d3),_0x2052e0(0x1ea),_0x2052e0(0x1f5),_0x2052e0(0x1de),'lint:disambig-by-index',_0x2052e0(0x202),_0x2052e0(0x1dc),_0x2052e0(0x1ff),'lint:goto-concat',_0x2052e0(0x1ef),_0x2052e0(0x1e6),'lint:api-call-file-body','lint:lint-ok-missing-reason',_0x2052e0(0x203),_0x2052e0(0x1cd),_0x2052e0(0x1e0),_0x2052e0(0x1e1),_0x2052e0(0x1e3),_0x2052e0(0x1e5),_0x2052e0(0x1f3),_0x2052e0(0x1f8),_0x2052e0(0x1c6),_0x2052e0(0x1cf),_0x2052e0(0x1f9),_0x2052e0(0x1df),_0x2052e0(0x1e4),_0x2052e0(0x1d5),_0x2052e0(0x1db),_0x2052e0(0x1c9)]),LinterSeveritySchema=z['enum']([_0x2052e0(0x1d7),'warn',_0x2052e0(0x1d0)]),LinterConfigSchema=z['object']({'enabled':z[_0x2052e0(0x1d4)](),'rules':z['record'](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z['object']({'transport':z[_0x2052e0(0x1f6)](_0x2052e0(0x1f7))}),SandboxConfigSchema=z[_0x2052e0(0x1c8)]({'shellCwd':z['string']()[_0x2052e0(0x1c7)](),'shellTimeoutMs':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1d2)]()[_0x2052e0(0x1c7)](),'exportSecrets':z['array'](z[_0x2052e0(0x1ec)]())[_0x2052e0(0x1c7)](),'database':z['string']()[_0x2052e0(0x1c7)](),'apiBaseUrl':z['string']()[_0x2052e0(0x1d8)]()[_0x2052e0(0x1c7)](),'uploadDir':z[_0x2052e0(0x1ec)]()['optional']()}),WebServerConfigSchema=z[_0x2052e0(0x1c8)]({'command':z[_0x2052e0(0x1ec)]()[_0x2052e0(0x1e7)](0x1),'url':z['string']()[_0x2052e0(0x1d8)](),'reuseExistingServer':z['boolean']()[_0x2052e0(0x1fe)](!![]),'timeoutMs':z[_0x2052e0(0x1e9)]()[_0x2052e0(0x1e8)]()[_0x2052e0(0x1d2)]()[_0x2052e0(0x1fe)](0xea60)}),UnotestConfigSchema=z[_0x2052e0(0x1c8)]({'baseUrl':z[_0x2052e0(0x1ec)]()['url']()[_0x2052e0(0x1c7)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x2052e0(0x201)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x2052e0(0x1ec)]()[_0x2052e0(0x1c7)](),'testDir':z['string']()[_0x2052e0(0x1e7)](0x1),'helpersDir':z['string']()[_0x2052e0(0x1e7)](0x1),'defaultTimeoutMs':z[_0x2052e0(0x1e9)]()['int']()[_0x2052e0(0x1d2)](),'defaultNavigationTimeoutMs':z[_0x2052e0(0x1e9)]()['int']()[_0x2052e0(0x1d2)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x2052e0(0x1d9)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x2052e0(0x1f2)},'dialogPolicy':_0x2052e0(0x1fc),'testDir':_0x2052e0(0x1cb),'helpersDir':_0x2052e0(0x1c5),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x2052e0(0x1ee),'lint:xpath':'warn','lint:obfuscated-class':_0x2052e0(0x1ee),'lint:pause-explicit':_0x2052e0(0x1ee),'lint:disambig-by-index':_0x2052e0(0x1d7),'lint:evaluate-discouraged':_0x2052e0(0x1ee),'lint:scenario-in-root':_0x2052e0(0x1d0),'lint:mustache-in-dsl':_0x2052e0(0x1d0),'lint:goto-concat':_0x2052e0(0x1ee),'lint:regex-invalid':'error','lint:echo-assert':_0x2052e0(0x1ee),'lint:lint-ok-missing-reason':_0x2052e0(0x1ee),'validator:unknown-function':_0x2052e0(0x1d0)}},'mcp':{'transport':_0x2052e0(0x1f7)},'sandbox':{}};function _0x1715(_0x593def,_0x37b950){_0x593def=_0x593def-0x1c5;var _0x262b96=_0x262b();var _0x1715af=_0x262b96[_0x593def];if(_0x1715['lLVLre']===undefined){var _0x30a692=function(_0x5354b5){var _0x323d53='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x534531='',_0x284bb5='';for(var _0x2a8b8e=0x0,_0x1149f0,_0x66e7a,_0x44c211=0x0;_0x66e7a=_0x5354b5['charAt'](_0x44c211++);~_0x66e7a&&(_0x1149f0=_0x2a8b8e%0x4?_0x1149f0*0x40+_0x66e7a:_0x66e7a,_0x2a8b8e++%0x4)?_0x534531+=String['fromCharCode'](0xff&_0x1149f0>>(-0x2*_0x2a8b8e&0x6)):0x0){_0x66e7a=_0x323d53['indexOf'](_0x66e7a);}for(var _0x4d2463=0x0,_0x91063c=_0x534531['length'];_0x4d2463<_0x91063c;_0x4d2463++){_0x284bb5+='%'+('00'+_0x534531['charCodeAt'](_0x4d2463)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x284bb5);};_0x1715['jZfduB']=_0x30a692,_0x1715['nLaBVY']={},_0x1715['lLVLre']=!![];}var _0x57b3de=_0x262b96[0x0],_0x1b3020=_0x593def+_0x57b3de,_0x494e7f=_0x1715['nLaBVY'][_0x1b3020];return!_0x494e7f?(_0x1715af=_0x1715['jZfduB'](_0x1715af),_0x1715['nLaBVY'][_0x1b3020]=_0x1715af):_0x1715af=_0x494e7f,_0x1715af;}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};function _0x262b(){var _0x134d3a=['BNvTyMvY','BgLUDdP4Cgf0Aa','nduXodm1nNfkA3jMra','C3rYAw5N','DhjHBNnPzw50','D2fYBG','BgLUDdPYzwDLEc1PBNzHBgLK','y2HYB21LlwjLDge','BMv0D29YAW','lNvUB3rLC3qVzMfPBhvYzxm','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','odC1ntuWnejZt0j3zG','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgL0zxjHBa','C3rKAw8','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','odC4ntm1mhLiweHwyG','zgLZBwLZCW','ywnJzxb0','mJeYndG2ndbSDvvvugq','zgvMyxvSDa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','Bwf4','yxjYyxK','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','mtKXmte2BezbAunJ','BxnLzgDL','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','DMfSAwrHDg9YoMLMlxnOyxbL','B3b0Aw9UywW','B2jQzwn0','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','zMLYzwzVEa','Dw5VDgvZDc9LmMu','mJC0nZaWuLbOsK5Z','DMfSAwrHDg9YoMfYAxr5','nM1YuwXPCq','DMfSAwrHDg9YoNzHCI1ZAgfWzq','zxjYB3i','nJC5oev1z0LOva','Cg9ZAxrPDMu','BgLUDdPKzwvWlwnZCW','yM9VBgvHBG','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','D2vIA2L0','B2zM','DxjS','y2HYB21PDw0','zw51Bq','DMfSAwrHDg9YoMXPC3qTyxjN','BgLUDdPZy2vUyxjPBY1PBI1YB290','ndGZn051ugT6Ca','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','DMfSAwrHDg9YoMfYzY1RAw5K','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','y3jHC2G','DMfSAwrHDg9YoNn0zxaTC2HHCgu','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','BgLUDdPLy2HVlwfZC2vYDa','BwLU','Aw50'];_0x262b=function(){return _0x134d3a;};return _0x262b();}
1
+ function _0x439a(_0x5d0797,_0xebc588){_0x5d0797=_0x5d0797-0x1ef;var _0x20af53=_0x20af();var _0x439a5c=_0x20af53[_0x5d0797];if(_0x439a['bPfXEB']===undefined){var _0x20b772=function(_0x4caff7){var _0xb5e016='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x58df6d='',_0x271f3c='';for(var _0x5605f4=0x0,_0xff243,_0x12b7a5,_0x12b7f2=0x0;_0x12b7a5=_0x4caff7['charAt'](_0x12b7f2++);~_0x12b7a5&&(_0xff243=_0x5605f4%0x4?_0xff243*0x40+_0x12b7a5:_0x12b7a5,_0x5605f4++%0x4)?_0x58df6d+=String['fromCharCode'](0xff&_0xff243>>(-0x2*_0x5605f4&0x6)):0x0){_0x12b7a5=_0xb5e016['indexOf'](_0x12b7a5);}for(var _0x4a2f79=0x0,_0x2b1f10=_0x58df6d['length'];_0x4a2f79<_0x2b1f10;_0x4a2f79++){_0x271f3c+='%'+('00'+_0x58df6d['charCodeAt'](_0x4a2f79)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x271f3c);};_0x439a['YNwgsS']=_0x20b772,_0x439a['rYluct']={},_0x439a['bPfXEB']=!![];}var _0x23a33f=_0x20af53[0x0],_0xdde0b2=_0x5d0797+_0x23a33f,_0x53eee6=_0x439a['rYluct'][_0xdde0b2];return!_0x53eee6?(_0x439a5c=_0x439a['YNwgsS'](_0x439a5c),_0x439a['rYluct'][_0xdde0b2]=_0x439a5c):_0x439a5c=_0x53eee6,_0x439a5c;}var _0x4ba6ed=_0x439a;function _0x20af(){var _0x50cda3=['zgvMyxvSDa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','Cg9ZAxrPDMu','B2zM','BgLUDdPKzwvWlwnZCW','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','mJG1mtHnr2D2Bhe','ndu2mZa2ogXrq05Hsa','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BxnLzgDL','y2HYB21PDw0','BwLU','zw51Bq','BgLUDdPZy2vUyxjPBY1PBI1YB290','BwfUDwfS','Bwf4','C3rYAw5N','BgLUDdPNB3rVlwnVBMnHDa','lNvUB3rLC3qVzMfPBhvYzxm','mZm3mZeZqKvjthPQ','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DxjS','DMfSAwrHDg9YoNn0zxaTC2HHCgu','B2jQzwn0','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','DMfSAwrHDg9YoMLMlxnOyxbL','zMLYzwzVEa','yM9VBgvHBG','y2HYB21L','DMfSAwrHDg9YoMXPC3qTyxjN','BMv0D29YAW','DMfSAwrHDg9YoNzHCI1ZAgfWzq','BgL0zxjHBa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','y3jHC2G','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','zgLZBwLZCW','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BNvTyMvY','DMfSAwrHDg9YoMfYzY1RAw5K','DhjHBNnPzw50','D2vIA2L0','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','BgLUDdPYzwDLEc1PBNzHBgLK','B3b0Aw9UywW','BgLUDdPWyxvZzs1LEhbSAwnPDa','mJi3ndu4mdHXqKL1thC','C3rKAw8','nZmWmZqXnwPdqvzvCq','BNvSBa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','BgLUDdP4Cgf0Aa','CMvJB3jK','yxjYyxK','mZaXodK0mhvXsxHtBG','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','Aw50','D2fYBG','zxjYB3i','ntuXntyXngfiChbvCW','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mtiWmgLKz0rVsq','ywnJzxb0'];_0x20af=function(){return _0x50cda3;};return _0x20af();}(function(_0x51f801,_0xa7d92b){var _0x31bb77={_0x58b0b4:0x1f9,_0x148ffb:0x1fe,_0x277a77:0x200,_0x3b8be4:0x208,_0x1a67da:0x1f3},_0x3b0f32=_0x439a,_0x4f00d2=_0x51f801();while(!![]){try{var _0x571e89=-parseInt(_0x3b0f32(0x215))/0x1+parseInt(_0x3b0f32(_0x31bb77._0x58b0b4))/0x2+-parseInt(_0x3b0f32(_0x31bb77._0x148ffb))/0x3+-parseInt(_0x3b0f32(0x209))/0x4+parseInt(_0x3b0f32(_0x31bb77._0x277a77))/0x5*(-parseInt(_0x3b0f32(_0x31bb77._0x3b8be4))/0x6)+parseInt(_0x3b0f32(_0x31bb77._0x1a67da))/0x7+parseInt(_0x3b0f32(0x1f1))/0x8;if(_0x571e89===_0xa7d92b)break;else _0x4f00d2['push'](_0x4f00d2['shift']());}catch(_0x3292c9){_0x4f00d2['push'](_0x4f00d2['shift']());}}}(_0x20af,0xe52cf));import{z}from'zod';var BrowserSchema=z[_0x4ba6ed(0x20e)]([_0x4ba6ed(0x20c),_0x4ba6ed(0x21e),_0x4ba6ed(0x22e)]),BrowserChannelSchema=z['union']([z[_0x4ba6ed(0x224)](_0x4ba6ed(0x220)),z[_0x4ba6ed(0x224)](_0x4ba6ed(0x20b)),z['literal']('chrome-beta'),z[_0x4ba6ed(0x1f4)]()])[_0x4ba6ed(0x1ef)](),ViewportSchema=z[_0x4ba6ed(0x21a)]({'width':z['number']()[_0x4ba6ed(0x1fb)]()[_0x4ba6ed(0x204)](),'height':z['number']()[_0x4ba6ed(0x1fb)]()['positive']()}),RetryReasonSchema=z['enum']([_0x4ba6ed(0x22d),_0x4ba6ed(0x222),_0x4ba6ed(0x226)]),RetryConfigSchema=z['object']({'count':z['number']()[_0x4ba6ed(0x1fb)]()['min'](0x0)[_0x4ba6ed(0x211)](0xa),'on':z[_0x4ba6ed(0x1f8)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x4ba6ed(0x21a)]({'tier1':z['literal'](!![])[_0x4ba6ed(0x202)](!![]),'tier2':z[_0x4ba6ed(0x21f)](),'tier3':z[_0x4ba6ed(0x21a)]({'network':z['boolean'](),'video':z['boolean']()}),'retention':z[_0x4ba6ed(0x21a)]({'runs':z[_0x4ba6ed(0x22b)]()[_0x4ba6ed(0x1fb)]()[_0x4ba6ed(0x204)](),'days':z[_0x4ba6ed(0x22b)]()[_0x4ba6ed(0x1fb)]()[_0x4ba6ed(0x204)]()}),'storageDir':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x20d)](0x1)}),DialogPolicySchema=z['enum']([_0x4ba6ed(0x201),_0x4ba6ed(0x228),_0x4ba6ed(0x210)]),LinterRuleIdSchema=z[_0x4ba6ed(0x20e)]([_0x4ba6ed(0x206),_0x4ba6ed(0x1f6),'lint:obfuscated-class',_0x4ba6ed(0x1f0),_0x4ba6ed(0x203),_0x4ba6ed(0x20a),_0x4ba6ed(0x20f),_0x4ba6ed(0x1f5),_0x4ba6ed(0x213),_0x4ba6ed(0x230),_0x4ba6ed(0x229),_0x4ba6ed(0x217),_0x4ba6ed(0x216),'validator:unknown-function','validator:arity',_0x4ba6ed(0x22c),'validator:step-coverage',_0x4ba6ed(0x219),_0x4ba6ed(0x21b),_0x4ba6ed(0x22f),_0x4ba6ed(0x1ff),_0x4ba6ed(0x21d),_0x4ba6ed(0x223),_0x4ba6ed(0x1fa),_0x4ba6ed(0x21c),_0x4ba6ed(0x225),_0x4ba6ed(0x22a),_0x4ba6ed(0x221),_0x4ba6ed(0x227)]),LinterSeveritySchema=z[_0x4ba6ed(0x20e)](['off',_0x4ba6ed(0x1fc),_0x4ba6ed(0x1fd)]),LinterConfigSchema=z[_0x4ba6ed(0x21a)]({'enabled':z[_0x4ba6ed(0x21f)](),'rules':z[_0x4ba6ed(0x1f7)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x4ba6ed(0x21a)]({'transport':z['literal'](_0x4ba6ed(0x1f2))}),SandboxConfigSchema=z['object']({'shellCwd':z[_0x4ba6ed(0x212)]()['optional'](),'shellTimeoutMs':z[_0x4ba6ed(0x22b)]()['int']()[_0x4ba6ed(0x204)]()['optional'](),'exportSecrets':z[_0x4ba6ed(0x1f8)](z[_0x4ba6ed(0x212)]())[_0x4ba6ed(0x1ef)](),'database':z[_0x4ba6ed(0x212)]()['optional'](),'apiBaseUrl':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x218)]()[_0x4ba6ed(0x1ef)](),'uploadDir':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x1ef)]()}),WebServerConfigSchema=z[_0x4ba6ed(0x21a)]({'command':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x20d)](0x1),'url':z[_0x4ba6ed(0x212)]()['url'](),'reuseExistingServer':z[_0x4ba6ed(0x21f)]()[_0x4ba6ed(0x202)](!![]),'timeoutMs':z[_0x4ba6ed(0x22b)]()[_0x4ba6ed(0x1fb)]()[_0x4ba6ed(0x204)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x4ba6ed(0x21a)]({'baseUrl':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x218)]()['optional'](),'webServer':WebServerConfigSchema[_0x4ba6ed(0x1ef)](),'browsers':z[_0x4ba6ed(0x1f8)](BrowserSchema)[_0x4ba6ed(0x20d)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x4ba6ed(0x212)]()['optional'](),'testDir':z[_0x4ba6ed(0x212)]()[_0x4ba6ed(0x20d)](0x1),'helpersDir':z['string']()[_0x4ba6ed(0x20d)](0x1),'defaultTimeoutMs':z[_0x4ba6ed(0x22b)]()[_0x4ba6ed(0x1fb)]()['positive'](),'defaultNavigationTimeoutMs':z[_0x4ba6ed(0x22b)]()[_0x4ba6ed(0x1fb)]()[_0x4ba6ed(0x204)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x4ba6ed(0x20c)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4ba6ed(0x214)},'dialogPolicy':_0x4ba6ed(0x201),'testDir':'unotest/e2e','helpersDir':_0x4ba6ed(0x207),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x4ba6ed(0x1fc),'lint:xpath':_0x4ba6ed(0x1fc),'lint:obfuscated-class':_0x4ba6ed(0x1fc),'lint:pause-explicit':_0x4ba6ed(0x1fc),'lint:disambig-by-index':_0x4ba6ed(0x205),'lint:evaluate-discouraged':_0x4ba6ed(0x1fc),'lint:scenario-in-root':_0x4ba6ed(0x1fd),'lint:mustache-in-dsl':'error','lint:goto-concat':_0x4ba6ed(0x1fc),'lint:regex-invalid':_0x4ba6ed(0x1fd),'lint:echo-assert':_0x4ba6ed(0x1fc),'lint:lint-ok-missing-reason':'warn','validator:unknown-function':'error'}},'mcp':{'transport':_0x4ba6ed(0x1f2)},'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
1
- const _0x2744d9=_0x2fd3;(function(_0x4f30cd,_0x57fa0e){const _0x35341a={_0x162357:0x143,_0x1260df:0x128,_0x2ce412:0x160,_0x1753b0:0x14c,_0x507c20:0x10d},_0x157ce7=_0x2fd3,_0x22ed87=_0x4f30cd();while(!![]){try{const _0x55603d=parseInt(_0x157ce7(_0x35341a._0x162357))/0x1*(-parseInt(_0x157ce7(0x165))/0x2)+-parseInt(_0x157ce7(_0x35341a._0x1260df))/0x3*(parseInt(_0x157ce7(_0x35341a._0x2ce412))/0x4)+-parseInt(_0x157ce7(_0x35341a._0x1753b0))/0x5*(-parseInt(_0x157ce7(0x115))/0x6)+-parseInt(_0x157ce7(_0x35341a._0x507c20))/0x7+-parseInt(_0x157ce7(0x118))/0x8+parseInt(_0x157ce7(0x109))/0x9+parseInt(_0x157ce7(0x125))/0xa;if(_0x55603d===_0x57fa0e)break;else _0x22ed87['push'](_0x22ed87['shift']());}catch(_0x1ad6e5){_0x22ed87['push'](_0x22ed87['shift']());}}}(_0x32ef,0x5da95));var __defProp=Object[_0x2744d9(0x107)],__name=(_0x22bfc2,_0x236a12)=>__defProp(_0x22bfc2,_0x2744d9(0x134),{'value':_0x236a12,'configurable':!![]});function subscribe(_0xa0461c,_0x3b47dc){return _0xa0461c['add'](_0x3b47dc),()=>{_0xa0461c['delete'](_0x3b47dc);};}__name(subscribe,_0x2744d9(0x106));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x2744d9(0xfc));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function _0x2fd3(_0x3b88e9,_0x551163){_0x3b88e9=_0x3b88e9-0xf5;const _0x32ef4c=_0x32ef();let _0x2fd313=_0x32ef4c[_0x3b88e9];if(_0x2fd3['Hmavpk']===undefined){var _0x30098e=function(_0x31b4c8){const _0x5daf38='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x22bfc2='',_0x236a12='';for(let _0xa0461c=0x0,_0x3b47dc,_0x4ea2de,_0x50df5f=0x0;_0x4ea2de=_0x31b4c8['charAt'](_0x50df5f++);~_0x4ea2de&&(_0x3b47dc=_0xa0461c%0x4?_0x3b47dc*0x40+_0x4ea2de:_0x4ea2de,_0xa0461c++%0x4)?_0x22bfc2+=String['fromCharCode'](0xff&_0x3b47dc>>(-0x2*_0xa0461c&0x6)):0x0){_0x4ea2de=_0x5daf38['indexOf'](_0x4ea2de);}for(let _0x245578=0x0,_0x406471=_0x22bfc2['length'];_0x245578<_0x406471;_0x245578++){_0x236a12+='%'+('00'+_0x22bfc2['charCodeAt'](_0x245578)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x236a12);};_0x2fd3['WGwyZP']=_0x30098e,_0x2fd3['UgNFac']={},_0x2fd3['Hmavpk']=!![];}const _0x56420=_0x32ef4c[0x0],_0x211c26=_0x3b88e9+_0x56420,_0x32399f=_0x2fd3['UgNFac'][_0x211c26];return!_0x32399f?(_0x2fd313=_0x2fd3['WGwyZP'](_0x2fd313),_0x2fd3['UgNFac'][_0x211c26]=_0x2fd313):_0x2fd313=_0x32399f,_0x2fd313;}function createRecorder(){const _0x5dd118=_0x2744d9,_0x4ea2de=[];let _0x50df5f=0x0;return{'push':__name(_0x245578=>_0x4ea2de['push']({..._0x245578,'seq':_0x50df5f++}),'push'),'calls':__name(()=>_0x4ea2de,_0x5dd118(0x159))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x406471,_0xa97cc2,_0x549614,_0x5e605b){const _0xbcfaa6={_0x493182:0x121},_0x40f148=_0x2744d9;this[_0x40f148(0x123)]=_0x406471,this[_0x40f148(_0xbcfaa6._0x493182)]=_0xa97cc2,this['scope']=_0x549614,this[_0x40f148(0x10f)]=_0x5e605b;}['recorder'];[_0x2744d9(0x121)];[_0x2744d9(0x16f)];static{__name(this,_0x2744d9(0xf6));}['currentUrl'];[_0x2744d9(0x137)];[_0x2744d9(0x12c)](_0x25cf5a,_0x3572a6){const _0x2417e0={_0x1f0d9e:0xf7},_0x539e65=_0x2744d9;this['recorder'][_0x539e65(_0x2417e0._0x1f0d9e)]({'scope':this[_0x539e65(0x16f)],'method':_0x25cf5a,'args':_0x3572a6});}[_0x2744d9(0x140)](){const _0x2c3556={_0x4303c2:0x117,_0x52ec0a:0x117},_0x92e4bd=_0x2744d9;if(this[_0x92e4bd(0x121)][_0x92e4bd(0x117)]){const _0x29dd18=this[_0x92e4bd(0x121)][_0x92e4bd(_0x2c3556._0x4303c2)];this[_0x92e4bd(0x121)][_0x92e4bd(_0x2c3556._0x52ec0a)]=void 0x0;throw _0x29dd18;}}[_0x2744d9(0x10b)](){const _0xe0c41a=_0x2744d9;return this[_0xe0c41a(0x10f)];}async['title'](){const _0x405251={_0x303a7a:0x119},_0x29023d=_0x2744d9;return this['record']('title',[]),_0x29023d(_0x405251._0x303a7a);}async['click'](_0x10808b,_0x601c72){const _0x44ca71={_0x5e3025:0x12c,_0x5b5f86:0xfd,_0x58757a:0x137},_0x58180a=_0x2744d9;this[_0x58180a(_0x44ca71._0x5e3025)](_0x58180a(_0x44ca71._0x5b5f86),[_0x10808b,_0x601c72]),this[_0x58180a(0x140)](),this[_0x58180a(_0x44ca71._0x58757a)]?.();}async[_0x2744d9(0x108)](_0x1c6715,_0x3549e0){const _0x1f2ef2={_0x377bed:0x12c,_0x1bfb3a:0x108},_0x40c14f=_0x2744d9;this[_0x40c14f(_0x1f2ef2._0x377bed)](_0x40c14f(_0x1f2ef2._0x1bfb3a),[_0x1c6715,_0x3549e0]),this[_0x40c14f(0x140)]();}async['fill'](_0x5690dc,_0x68d980,_0x273caa){const _0x4e2bf5={_0x4b1a8d:0x12c,_0x278037:0x136},_0x295102=_0x2744d9;this[_0x295102(_0x4e2bf5._0x4b1a8d)](_0x295102(_0x4e2bf5._0x278037),[_0x5690dc,_0x68d980,_0x273caa]),this[_0x295102(0x140)]();}async['press'](_0x5ca742,_0x1044e0,_0x458270){const _0x44d179=_0x2744d9;this['record'](_0x44d179(0x12b),[_0x5ca742,_0x1044e0,_0x458270]),this[_0x44d179(0x140)]();}async[_0x2744d9(0x13f)](_0x3c0055,_0x2f9508){const _0x35d8d5={_0x2b552b:0x13f,_0x4b70ab:0x140},_0x4ee69a=_0x2744d9;this[_0x4ee69a(0x12c)](_0x4ee69a(_0x35d8d5._0x2b552b),[_0x3c0055,_0x2f9508]),this[_0x4ee69a(_0x35d8d5._0x4b70ab)]();}async[_0x2744d9(0x133)](_0xf2f7d1,_0x4e8248){const _0x32c81e={_0x3bc508:0x12c,_0x38b4aa:0x133},_0x5dd047=_0x2744d9;this[_0x5dd047(_0x32c81e._0x3bc508)](_0x5dd047(_0x32c81e._0x38b4aa),[_0xf2f7d1,_0x4e8248]),this[_0x5dd047(0x140)]();}async[_0x2744d9(0xfa)](_0x2062a4,_0x377342,_0x3a699f){const _0x45e84b={_0x20518a:0x12c},_0x566e68=_0x2744d9;this[_0x566e68(_0x45e84b._0x20518a)]('selectOption',[_0x2062a4,_0x377342,_0x3a699f]),this[_0x566e68(0x140)]();}async['hover'](_0x7d5f30,_0x3d7b2b){const _0x6e690a=_0x2744d9;this['record']('hover',[_0x7d5f30,_0x3d7b2b]),this[_0x6e690a(0x140)]();}async[_0x2744d9(0x151)](_0x26cd0c){const _0x4e83a7=_0x2744d9;this[_0x4e83a7(0x12c)]('scrollIntoView',[_0x26cd0c]),this['maybeThrow']();}async[_0x2744d9(0x148)](_0x1313b4,_0x59d359,_0x438e76){const _0xed5c71={_0x185b11:0x148},_0x2f9f14=_0x2744d9;this[_0x2f9f14(0x12c)](_0x2f9f14(_0xed5c71._0x185b11),[_0x1313b4,_0x59d359,_0x438e76]),this['maybeThrow']();}async['uploadFile'](_0x26856d,_0xca32c1){const _0xe78ab4={_0x32590b:0x12c,_0x2139c6:0x12f},_0x3a05e1=_0x2744d9;this[_0x3a05e1(_0xe78ab4._0x32590b)](_0x3a05e1(_0xe78ab4._0x2139c6),[_0x26856d,_0xca32c1]),this['maybeThrow']();}async[_0x2744d9(0x141)](_0x16cb80,_0x2e5cd2){const _0x26e76e={_0x52a1f0:0x12c},_0x36fa14=_0x2744d9;this[_0x36fa14(_0x26e76e._0x52a1f0)]('clipboardPaste',[_0x16cb80,_0x2e5cd2]),this[_0x36fa14(0x140)]();}async[_0x2744d9(0x11c)](_0x22915e){const _0x50a661={_0xf3c61f:0x121,_0x1dcd41:0x166},_0x2ea1bd=_0x2744d9;return this['record'](_0x2ea1bd(0x11c),[_0x22915e]),this[_0x2ea1bd(_0x50a661._0xf3c61f)][_0x2ea1bd(_0x50a661._0x1dcd41)]??0x1;}async['textContent'](_0x4ea5dd){const _0x26efa9={_0x5dfbdb:0x135},_0x4e43ee=_0x2744d9;return this[_0x4e43ee(0x12c)](_0x4e43ee(0x100),[_0x4ea5dd]),this['behavior'][_0x4e43ee(_0x26efa9._0x5dfbdb)]??'';}async['inputValue'](_0x50cc56){const _0x15d9ee={_0x3f74c0:0x167},_0x1d4aed=_0x2744d9;return this['record'](_0x1d4aed(_0x15d9ee._0x3f74c0),[_0x50cc56]),this[_0x1d4aed(0x121)][_0x1d4aed(0x130)]??'';}async[_0x2744d9(0x142)](_0x58ffc8){const _0x33cc9f={_0x37b926:0x142},_0x36de92=_0x2744d9;return this['record'](_0x36de92(_0x33cc9f._0x37b926),[_0x58ffc8]),this['behavior'][_0x36de92(0x139)]??null;}async[_0x2744d9(0x105)](_0x1b5bed){const _0x719927={_0x3d43ca:0x105,_0x10b377:0x121},_0xbdeb82=_0x2744d9;return this['record'](_0xbdeb82(_0x719927._0x3d43ca),[_0x1b5bed]),this[_0xbdeb82(_0x719927._0x10b377)][_0xbdeb82(0xf5)]??!![];}async[_0x2744d9(0x131)](_0x350b40){const _0x12779c={_0x21fff9:0x12c,_0x4fca11:0x11f},_0x2957d8=_0x2744d9;return this[_0x2957d8(_0x12779c._0x21fff9)](_0x2957d8(0x131),[_0x350b40]),this[_0x2957d8(0x121)][_0x2957d8(_0x12779c._0x4fca11)]??![];}async[_0x2744d9(0x155)](_0x2d80aa,_0xe489bd){const _0x4aa72b={_0x4a3f75:0x138},_0x586afd=_0x2744d9;return this['record']('getAttribute',[_0x2d80aa,_0xe489bd]),this['behavior'][_0x586afd(_0x4aa72b._0x4a3f75)]?.[_0xe489bd]??null;}async['waitFor'](_0x36447d,_0x35cb37){const _0x5d9120=_0x2744d9;this[_0x5d9120(0x12c)]('waitFor',[_0x36447d,_0x35cb37]);}async[_0x2744d9(0x103)](_0x231691,_0x17b83c){const _0x1f596e={_0x1d897a:0x103},_0x4ccc90=_0x2744d9;this[_0x4ccc90(0x12c)](_0x4ccc90(_0x1f596e._0x1d897a),[_0x231691,_0x17b83c]);}async[_0x2744d9(0x12d)](_0x2ca592,_0x2fcbb0){const _0xc8b07d={_0x31f8b4:0x12c,_0x3d8f98:0x12d},_0x43cd71=_0x2744d9;this[_0x43cd71(_0xc8b07d._0x31f8b4)](_0x43cd71(_0xc8b07d._0x3d8f98),[_0x2ca592,_0x2fcbb0]);}async[_0x2744d9(0xff)](_0x3bc807){const _0x1a9447=_0x2744d9;this[_0x1a9447(0x12c)](_0x1a9447(0xff),[_0x3bc807]);}async[_0x2744d9(0x101)](_0x3a6416,_0x13a39a){const _0x3c47b6=_0x2744d9;this[_0x3c47b6(0x12c)](_0x3c47b6(0x101),[_0x3a6416,_0x13a39a]);}async[_0x2744d9(0x150)](_0x419d89,_0x44d519){const _0x1f5e72={_0x1aa88e:0x150},_0x39ee47=_0x2744d9;this[_0x39ee47(0x12c)](_0x39ee47(_0x1f5e72._0x1aa88e),[_0x419d89,_0x44d519]),this['currentUrl']=_0x419d89;}async['reload'](_0x4f3f4b){const _0x14f936=_0x2744d9;this[_0x14f936(0x12c)](_0x14f936(0x113),[_0x4f3f4b]);}async['goBack'](_0x1b02cb){const _0x4c187c={_0x4a908e:0x10a},_0x1e28ca=_0x2744d9;this[_0x1e28ca(0x12c)](_0x1e28ca(_0x4c187c._0x4a908e),[_0x1b02cb]);}async[_0x2744d9(0x146)](_0x537aa8){const _0x2c5560=_0x2744d9;this[_0x2c5560(0x12c)]('goForward',[_0x537aa8]);}async[_0x2744d9(0x124)](_0x4ae6dd){const _0x82051b={_0x3dc10a:0x12c},_0x1573fe=_0x2744d9;return this[_0x1573fe(_0x82051b._0x3dc10a)](_0x1573fe(0x124),[_0x4ae6dd]),void 0x0;}async[_0x2744d9(0x147)](_0x160d35,_0x28f83b){const _0x5d6c66=_0x2744d9;return this[_0x5d6c66(0x12c)](_0x5d6c66(0x147),[_0x160d35,_0x28f83b]),void 0x0;}async['inspectElement'](_0x4c8f38){const _0x30d94b={_0x23dcfc:0xfe,_0x2b2148:0xf9,_0x29554f:0x121,_0x8c7867:0x13b},_0x3db668=_0x2744d9;this[_0x3db668(0x12c)](_0x3db668(0xf8),[_0x4c8f38]);if(_0x4c8f38[_0x3db668(_0x30d94b._0x23dcfc)]['length']!==0x1||_0x4c8f38[_0x3db668(0xfe)][0x0]['kind']!==_0x3db668(0xf9))return null;const _0x4c4626=_0x4c8f38['steps'][0x0][_0x3db668(_0x30d94b._0x2b2148)],_0x1c9d9f=this[_0x3db668(_0x30d94b._0x29554f)][_0x3db668(_0x30d94b._0x8c7867)]?.[_0x4c4626];return _0x1c9d9f??null;}async['screenshot'](_0x18a5e0){const _0x511be0={_0x2ce0fd:0x12c},_0xb6a034=_0x2744d9;return this[_0xb6a034(_0x511be0._0x2ce0fd)]('screenshot',[_0x18a5e0]),Buffer[_0xb6a034(0x162)](_0xb6a034(0x112));}async[_0x2744d9(0x169)](_0x157ddb){const _0xdb3b53={_0x57b55a:0x114,_0x41f39d:0xfe,_0xe49c7:0x15d,_0x3894be:0x126,_0x2df2da:0x15b},_0x160bc5=_0x2744d9;this['record']('outerHTML',[_0x157ddb]);if(_0x157ddb[_0x160bc5(0xfe)][_0x160bc5(0x163)]===0x1&&_0x157ddb[_0x160bc5(0xfe)][0x0][_0x160bc5(_0xdb3b53._0x57b55a)]===_0x160bc5(0xf9)){const _0x130628=_0x157ddb[_0x160bc5(_0xdb3b53._0x41f39d)][0x0][_0x160bc5(0xf9)];return this[_0x160bc5(0x121)][_0x160bc5(_0xdb3b53._0xe49c7)]?.[_0x130628]??_0x160bc5(0x16d)+_0x130628+_0x160bc5(_0xdb3b53._0x3894be);}return _0x160bc5(_0xdb3b53._0x2df2da);}},FakeContext=class{constructor(_0x188664,_0x3b39f5,_0x159076){const _0x224515={_0x30a986:0x16b},_0x6f811e={_0x23b8e4:0xfb},_0x17575a=_0x2744d9;this['recorder']=_0x188664,this[_0x17575a(0x121)]=_0x3b39f5,this['scope']=_0x159076;const _0x5cd04b=new FakePage(_0x188664,_0x3b39f5,_0x159076+'.page0',_0x3b39f5[_0x17575a(_0x224515._0x30a986)]??_0x17575a(0x122));_0x3b39f5['popupOnClick']&&(_0x5cd04b['onAfterClick']=()=>{const _0x2201fe=_0x17575a;this[_0x2201fe(0x127)](_0x3b39f5[_0x2201fe(_0x6f811e._0x23b8e4)]);}),this[_0x17575a(0x15c)]=[_0x5cd04b],this[_0x17575a(0x158)]={..._0x3b39f5[_0x17575a(0x12e)]??{}},this[_0x17575a(0x11b)]={..._0x3b39f5[_0x17575a(0x164)]??{}};}[_0x2744d9(0x123)];[_0x2744d9(0x121)];[_0x2744d9(0x16f)];static{__name(this,_0x2744d9(0x161));}[_0x2744d9(0x15c)];[_0x2744d9(0x110)]=0x0;[_0x2744d9(0x13c)]=[];[_0x2744d9(0x158)];[_0x2744d9(0x11b)];['newPageListeners']=new Set();['record'](_0x398101,_0x54bdff){const _0x151061={_0x294384:0xf7},_0x2bd661=_0x2744d9;this[_0x2bd661(0x123)][_0x2bd661(_0x151061._0x294384)]({'scope':this['scope'],'method':_0x398101,'args':_0x54bdff});}[_0x2744d9(0x129)](){const _0x2f2346=_0x2744d9;return this[_0x2f2346(0x15c)];}[_0x2744d9(0x145)](){const _0x1ae790={_0x59df2e:0x10e},_0x1240df=_0x2744d9,_0x1a5044=this['pageList'][this[_0x1240df(0x110)]];if(!_0x1a5044)throw new DriverError(_0x1240df(_0x1ae790._0x59df2e),{'activeIdx':this['activeIdx']});return _0x1a5044;}[_0x2744d9(0x11a)](){const _0x413117={_0x4c1c0e:0x11a},_0x2a0f2a=_0x2744d9;return this['behavior'][_0x2a0f2a(_0x413117._0x4c1c0e)]??[];}[_0x2744d9(0x116)](){const _0x197c8f={_0x375f17:0x116},_0x199bc3=_0x2744d9;return this['behavior'][_0x199bc3(_0x197c8f._0x375f17)]??[];}async['setActivePage'](_0x5585b4){const _0x156dc8={_0x4d8575:0x163},_0x105643=_0x2744d9;this[_0x105643(0x12c)]('setActivePage',[_0x5585b4]);if(_0x5585b4<0x0||_0x5585b4>=this[_0x105643(0x15c)][_0x105643(0x163)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x5585b4,'available':this['pageList'][_0x105643(_0x156dc8._0x4d8575)]});this[_0x105643(0x110)]=_0x5585b4,this[_0x105643(0x13c)]['length']=0x0;}[_0x2744d9(0x14e)](_0x536378){const _0x3ef4ab={_0x3549ad:0x156},_0x136cc9=_0x2744d9;return subscribe(this[_0x136cc9(_0x3ef4ab._0x3549ad)],_0x536378);}[_0x2744d9(0x127)](_0x3f5946){const _0x53f61b={_0x1cb35b:0x16f,_0x3e2e73:0x15c,_0x23eb57:0x121,_0x5c12b9:0x156},_0x1bfc9d=_0x2744d9,_0x1b8212=this[_0x1bfc9d(_0x53f61b._0x1cb35b)]+_0x1bfc9d(0x132)+this[_0x1bfc9d(_0x53f61b._0x3e2e73)][_0x1bfc9d(0x163)],_0xf77111=new FakePage(this[_0x1bfc9d(0x123)],this[_0x1bfc9d(_0x53f61b._0x23eb57)],_0x1b8212,_0x3f5946);this[_0x1bfc9d(0x15c)][_0x1bfc9d(0xf7)](_0xf77111);const _0x21edf9=this['pageList']['length']-0x1;for(const _0x4db783 of this[_0x1bfc9d(_0x53f61b._0x5c12b9)]){try{_0x4db783({'index':_0x21edf9,'url':_0x3f5946});}catch{}}return _0x21edf9;}[_0x2744d9(0x13d)](_0x45bd76){const _0x3e8ba6={_0x53c357:0x163,_0x52aeee:0x15c,_0x3e60ee:0x14d},_0x4f3e19=_0x2744d9;if(_0x45bd76<0x0||_0x45bd76>=this[_0x4f3e19(0x15c)][_0x4f3e19(_0x3e8ba6._0x53c357)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x45bd76,'available':this['pageList']['length']});this[_0x4f3e19(_0x3e8ba6._0x52aeee)][_0x4f3e19(_0x3e8ba6._0x3e60ee)](_0x45bd76,0x1);}async[_0x2744d9(0x11e)](_0x39758c){const _0x5bcaa5={_0x24de1c:0xfe,_0x380cb1:0x163},_0xc26018=_0x2744d9;this['record'](_0xc26018(0x11e),[_0x39758c]);if(!_0x39758c[_0xc26018(_0x5bcaa5._0x24de1c)][_0xc26018(_0x5bcaa5._0x380cb1)])throw new LocatorError(_0xc26018(0x120),{'locator':_0x39758c});this[_0xc26018(0x13c)][_0xc26018(0xf7)](_0x39758c);}async[_0x2744d9(0x154)](){const _0x3b518b={_0x5628a1:0x12c,_0x3e7197:0x13c,_0x566d69:0x163},_0x59c2cf=_0x2744d9;this[_0x59c2cf(_0x3b518b._0x5628a1)]('exitFrame',[]);if(this[_0x59c2cf(_0x3b518b._0x3e7197)][_0x59c2cf(_0x3b518b._0x566d69)]===0x0)throw new DriverError(_0x59c2cf(0x149),{});this[_0x59c2cf(0x13c)]['pop']();}async['setLocalStorage'](_0x6916b1,_0x402c2a){const _0x2d1acf={_0x3e19f0:0x12c,_0x95ab15:0x158},_0x43b6ca=_0x2744d9;this[_0x43b6ca(_0x2d1acf._0x3e19f0)]('setLocalStorage',[_0x6916b1,_0x402c2a]),this[_0x43b6ca(_0x2d1acf._0x95ab15)][_0x6916b1]=_0x402c2a;}async[_0x2744d9(0x10c)](_0x36eb97){const _0xc2a0da={_0x5a0b6a:0x12c},_0x23a3c9=_0x2744d9;return this[_0x23a3c9(_0xc2a0da._0x5a0b6a)](_0x23a3c9(0x10c),[_0x36eb97]),this[_0x23a3c9(0x158)][_0x36eb97]??null;}async[_0x2744d9(0x102)](_0xf84c33,_0x42b4d1,_0xf5a4fa){this['record']('setCookie',[_0xf84c33,_0x42b4d1,_0xf5a4fa]),this['cookieState'][_0xf84c33]=_0x42b4d1;}async[_0x2744d9(0x144)](_0x26b696){const _0x431f69={_0x2ca6ad:0x11b},_0xe6d61c=_0x2744d9;return this['record']('getCookie',[_0x26b696]),this[_0xe6d61c(_0x431f69._0x2ca6ad)][_0x26b696]??null;}async['saveStorageState'](_0x4dabb8){const _0x30d2f0={_0x15b1c9:0x157},_0x40438c=_0x2744d9;this['record'](_0x40438c(_0x30d2f0._0x15b1c9),[_0x4dabb8]);}async[_0x2744d9(0x124)](_0x3fc5ec){const _0x1cb4ee={_0x209f41:0x12c},_0xd3b58d=_0x2744d9;return this[_0xd3b58d(_0x1cb4ee._0x209f41)]('evaluate',[_0x3fc5ec]),void 0x0;}async['close'](){const _0x4fe5bc={_0x499098:0x12c,_0x121da2:0x16a},_0xa50dff=_0x2744d9;this[_0xa50dff(_0x4fe5bc._0x499098)](_0xa50dff(_0x4fe5bc._0x121da2),[]);}[_0x2744d9(0x14b)](){const _0x10ce59=_0x2744d9;return this[_0x10ce59(0x13c)]['length'];}},FakeWebDriver=class{constructor(_0x1940fc={}){const _0x430d10={_0x198b2c:0x121,_0x46805e:0x123},_0x43a9da=_0x2744d9;this[_0x43a9da(_0x430d10._0x198b2c)]=_0x1940fc,this[_0x43a9da(_0x430d10._0x46805e)]=createRecorder();}[_0x2744d9(0x121)];static{__name(this,_0x2744d9(0x16e));}[_0x2744d9(0x11d)]=![];[_0x2744d9(0x123)];[_0x2744d9(0x14f)]=[];async[_0x2744d9(0x15e)](_0x360794){const _0x16f928={_0x2daba5:0x15e,_0x2791ad:0x11d},_0x551ff2=_0x2744d9;this[_0x551ff2(0x123)]['push']({'scope':_0x551ff2(0x15f),'method':_0x551ff2(_0x16f928._0x2daba5),'args':[_0x360794]}),this[_0x551ff2(_0x16f928._0x2791ad)]=!![];}async[_0x2744d9(0x168)](_0x367b53){const _0x21b55d={_0x454f5c:0x123,_0x46d6c2:0xf7,_0x23ae84:0x123,_0xbb3741:0x14f},_0xf3c93c=_0x2744d9;this[_0xf3c93c(_0x21b55d._0x454f5c)][_0xf3c93c(_0x21b55d._0x46d6c2)]({'scope':_0xf3c93c(0x15f),'method':_0xf3c93c(0x168),'args':[_0x367b53]});if(!this[_0xf3c93c(0x11d)])throw new DriverError(_0xf3c93c(0x14a),{});const _0x33aa78=new FakeContext(this[_0xf3c93c(_0x21b55d._0x23ae84)],this['behavior'],_0xf3c93c(0x153)+this[_0xf3c93c(0x14f)][_0xf3c93c(0x163)]);return this[_0xf3c93c(_0x21b55d._0xbb3741)][_0xf3c93c(_0x21b55d._0x46d6c2)](_0x33aa78),_0x33aa78;}async['close'](){const _0x856c46={_0x1bf2ef:0x16a,_0x29b5dc:0x11d},_0x2a9264=_0x2744d9;this['recorder']['push']({'scope':_0x2a9264(0x15f),'method':_0x2a9264(_0x856c46._0x1bf2ef),'args':[]}),this[_0x2a9264(_0x856c46._0x29b5dc)]=![];}[_0x2744d9(0x15a)](){return void 0x0;}async[_0x2744d9(0x152)](){const _0xb45271={_0x12b557:0x111},_0x449f72=_0x2744d9;throw new DriverError(_0x449f72(_0xb45271._0x12b557),{});}[_0x2744d9(0x12a)](){const _0x324596={_0x3f674b:0x16c},_0x5a2d97=_0x2744d9;throw new DriverError(_0x5a2d97(_0x324596._0x3f674b),{});}[_0x2744d9(0x159)](){const _0x130a54={_0x10dbfa:0x123},_0x4e5cac=_0x2744d9;return this[_0x4e5cac(_0x130a54._0x10dbfa)]['calls']();}[_0x2744d9(0x13e)](_0x25f68){const _0x1c02ec=_0x2744d9;return this['recorder'][_0x1c02ec(0x159)]()[_0x1c02ec(0x13a)](_0x3e28e3=>_0x3e28e3[_0x1c02ec(0x104)]===_0x25f68);}};function _0x32ef(){const _0x16e0bc=['BMv3q29UDgv4Da','B3v0zxjive1m','y2XVC2u','Aw5PDgLHBfvYBa','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','rMfRzvDLyKrYAxzLCG','C2nVCgu','AxnwAxnPyMXLqNLezwzHDwX0','rMfRzvbHz2u','ChvZAa','Aw5ZCgvJDevSzw1LBNq','CMvM','C2vSzwn0t3b0Aw9U','Cg9WDxbpBKnSAwnR','rhjPDMvYrxjYB3i','y2XPy2S','C3rLChm','D2fPDezVCK5HDMLNyxrPB24','Dgv4DenVBNrLBNq','D2fPDezVCKXVywrtDgf0zq','C2v0q29VA2LL','D2fPDezVCLvYBa','Bwv0Ag9K','AxnwAxnPyMXL','C3vIC2nYAwjL','zgvMAw5LuhjVCgvYDhK','zg91yMXLq2XPy2S','nta0nJK2nMfIzeL5DG','z29cywnR','DxjS','z2v0tg9JywXtDg9YywDL','mte2ndq5mMDpqvzHrq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','y3vYCMvUDfvYBa','ywn0AxzLswr4','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zMfRzs1WBMC','CMvSB2fK','A2LUza','nta2mdr4zNDoEhO','BMv0D29YA0vUDhjPzxm','zxjYB3jpBK5LEhrby3rPB24','nJa4ndbZELvZt2u','zMfRzsb0AxrSzq','y29UC29SzuvUDhjPzxm','y29VA2LLu3rHDgu','y291BNq','Bgf1BMnOzwq','zw50zxjgCMfTzq','AxneAxnHyMXLzej5rgvMyxvSDa','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','yMvOyxzPB3i','ywjVDxq6yMXHBMS','CMvJB3jKzxi','zxzHBhvHDgu','odCWnJGWmfvArNfvsq','iJ48l2rPDJ4','zw1PDezHA2vqB3b1Ca','odf4wLfws0i','CgfNzxm','yxr0ywnOrxHPC3rPBMC','ChjLC3m','CMvJB3jK','D2fPDezVCLrLEhq','Bg9JywXtDg9YywDL','DxbSB2fKrMLSzq','Aw5WDxrwywX1zuj5rgvMyxvSDa','AxneAxnHyMXLza','lNbHz2u','Dw5JAgvJAW','BMfTzq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zMLSBa','B25bzNrLCKnSAwnR','yxr0CMLIDxrLC0j5rgvMyxvSDa','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zMLSDgvY','zwXLBwvUDeHPBNrcEvjLzG','zNjHBwvtDgfJAW','y2XVC2vgywTLugfNzq','y2fSBhngB3i','y2HLy2S','Bwf5yMvuAhjVDW','y2XPCgjVyxjKugfZDgu','y2HLy2TLzfn0yxrL','nJC4EvLlB3fe','z2v0q29VA2LL','ywn0AxzLugfNzq','z29gB3j3yxjK','zxzHBhvHDgvpBKXVy2f0B3i','zhjHz0fUzerYB3a','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','zNjHBwvezxb0Aa','mte1Afjbyvjy','C3bSAwnL','B25ozxDqywDL','y29UDgv4Dhm','z290BW','C2nYB2XSsw50B1zPzxC','y29UBMvJDfnOyxjLza','y3r4','zxHPDezYyw1L','z2v0qxr0CMLIDxrL','BMv3ugfNzuXPC3rLBMvYCW','C2f2zvn0B3jHz2vtDgf0zq','Bg9JywXtDg9YywDLu3rHDgu','y2fSBhm','D3nfBMrWB2LUDa','pgrPDJ48l2rPDJ4','CgfNzuXPC3q','B3v0zxjiDg1SqNLszwy','Bgf1BMnO','zhjPDMvY','nJe4nZjzu2HcAxO','rMfRzunVBNrLEhq','zNjVBq','BgvUz3rO','y29VA2LLCW','mtKXoeXQzvzfqG','y291BNrcEurLzMf1Bhq','Aw5WDxrwywX1zq'];_0x32ef=function(){return _0x16e0bc;};return _0x32ef();}export{FakeWebDriver};
1
+ const _0x5ef1c7=_0x1ac4;(function(_0x1f6861,_0xad6a1f){const _0x2ba2c2={_0x492d7c:0x118,_0x553607:0x126,_0x18137f:0x14c,_0x5a0f45:0xe9,_0x35fee2:0x143},_0x50a7d7=_0x1ac4,_0x2510a7=_0x1f6861();while(!![]){try{const _0x36e2e7=-parseInt(_0x50a7d7(_0x2ba2c2._0x492d7c))/0x1*(-parseInt(_0x50a7d7(0xff))/0x2)+-parseInt(_0x50a7d7(_0x2ba2c2._0x553607))/0x3+-parseInt(_0x50a7d7(_0x2ba2c2._0x18137f))/0x4*(-parseInt(_0x50a7d7(0x12b))/0x5)+-parseInt(_0x50a7d7(_0x2ba2c2._0x5a0f45))/0x6+parseInt(_0x50a7d7(_0x2ba2c2._0x35fee2))/0x7+parseInt(_0x50a7d7(0x108))/0x8+parseInt(_0x50a7d7(0x120))/0x9;if(_0x36e2e7===_0xad6a1f)break;else _0x2510a7['push'](_0x2510a7['shift']());}catch(_0x13ec8f){_0x2510a7['push'](_0x2510a7['shift']());}}}(_0x36db,0x9c9fc));var __defProp=Object['defineProperty'],__name=(_0x2d1598,_0x5836a5)=>__defProp(_0x2d1598,_0x5ef1c7(0xe4),{'value':_0x5836a5,'configurable':!![]});function subscribe(_0x4264db,_0x315307){const _0x4ce769={_0x216136:0x12e},_0x309d2f=_0x5ef1c7;return _0x4264db[_0x309d2f(0x117)](_0x315307),()=>{const _0x3cafe2=_0x309d2f;_0x4264db[_0x3cafe2(_0x4ce769._0x216136)](_0x315307);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function _0x1ac4(_0x1d7119,_0x52c572){_0x1d7119=_0x1d7119-0xdd;const _0x36dbdf=_0x36db();let _0x1ac44c=_0x36dbdf[_0x1d7119];if(_0x1ac4['PyNIkS']===undefined){var _0x4168aa=function(_0x41d436){const _0x496872='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2d1598='',_0x5836a5='';for(let _0x4264db=0x0,_0x315307,_0x1e7c1a,_0x4e2e01=0x0;_0x1e7c1a=_0x41d436['charAt'](_0x4e2e01++);~_0x1e7c1a&&(_0x315307=_0x4264db%0x4?_0x315307*0x40+_0x1e7c1a:_0x1e7c1a,_0x4264db++%0x4)?_0x2d1598+=String['fromCharCode'](0xff&_0x315307>>(-0x2*_0x4264db&0x6)):0x0){_0x1e7c1a=_0x496872['indexOf'](_0x1e7c1a);}for(let _0x29d321=0x0,_0x43bba1=_0x2d1598['length'];_0x29d321<_0x43bba1;_0x29d321++){_0x5836a5+='%'+('00'+_0x2d1598['charCodeAt'](_0x29d321)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5836a5);};_0x1ac4['hTBAeO']=_0x4168aa,_0x1ac4['MggviT']={},_0x1ac4['PyNIkS']=!![];}const _0x318aac=_0x36dbdf[0x0],_0x13316a=_0x1d7119+_0x318aac,_0x3b8c52=_0x1ac4['MggviT'][_0x13316a];return!_0x3b8c52?(_0x1ac44c=_0x1ac4['hTBAeO'](_0x1ac44c),_0x1ac4['MggviT'][_0x13316a]=_0x1ac44c):_0x1ac44c=_0x3b8c52,_0x1ac44c;}function createRecorder(){const _0x3eb109=_0x5ef1c7,_0x1e7c1a=[];let _0x4e2e01=0x0;return{'push':__name(_0x29d321=>_0x1e7c1a['push']({..._0x29d321,'seq':_0x4e2e01++}),_0x3eb109(0x14b)),'calls':__name(()=>_0x1e7c1a,'calls')};}__name(createRecorder,_0x5ef1c7(0x124));function _0x36db(){const _0x135e97=['pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','ntiXnJuYoef2wLbdEG','rMfRzunVBNrLEhq','zxHPDezYyw1L','AxneAxnHyMXLzej5rgvMyxvSDa','Aw5PDgLHBfvYBa','yMvOyxzPB3i','ywn0AxzLugfNzq','Cg9W','D2fPDezVCG','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','Bwf5yMvuAhjVDW','BgvUz3rO','BMv0D29YA0vUDhjPzxm','lNbHz2uW','zg91yMXLq2XPy2S','ywrK','ndmXotq4sgzRy3Dg','y29UBMvJDfnOyxjLza','C2nVCgu','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y291BNq','DxbSB2fKrMLSzq','C2nYzwvUC2HVDa','Bgf1BMnO','mtaYmZC1mhHQzhDjrG','y2XVC2u','Cg9WDxbpBKnSAwnR','zNjHBwvtDgfJAW','y3jLyxrLuMvJB3jKzxi','Ag92zxi','mZGYode0nfvSr1jMDW','yxr0ywnOrxHPC3rPBMC','z2v0tg9JywXtDg9YywDL','zMfRzs1WBMC','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','nwfftu5dDW','zxzHBhvHDgvpBKXVy2f0B3i','DgL0Bgu','zgvSzxrL','Dgv4DenVBNrLBNq','Dw5JAgvJAW','zMfRzsb0AxrSzq','Aw5ZCgvJDevSzw1LBNq','yxr0CMLIDxrLC0j5rgvMyxvSDa','B25ozxDqywDL','iJ48l2rPDJ4','y29VA2LLCW','D2fPDezVCLrLEhq','y2HLy2S','y2XVC2vgywTLugfNzq','zhjHz0fUzerYB3a','y29VA2LLu3rHDgu','CMvJB3jKzxi','zMLSDgvY','BMv3q29UDgv4Da','zw1PDezHA2vqB3b1Ca','y29UC29SzuvUDhjPzxm','Aw5WDxrwywX1zuj5rgvMyxvSDa','Bgf1BMnOzwq','odq5odu5nvLsu05TEG','zNjVBq','ChjLC3m','zMLSBa','z29gB3j3yxjK','C2v0tg9JywXtDg9YywDL','y2HLy2TLzfn0yxrL','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','ChvZAa','mJKWntiYohPjyuHhDG','C2v0q29VA2LL','C2v0qwn0AxzLugfNzq','C3bSAwnL','BMv3ugfNzuXPC3rLBMvYCW','zwXLBwvUDeHPBNrcEvjLzG','CMvM','z2v0qxr0CMLIDxrL','B3v0zxjive1m','CMvJB3jK','BMfTzq','B25bzNrLCKnSAwnR','AxneAxnHyMXLza','D2fPDezVCLvYBa','zxjYB3jpBK5LEhrby3rPB24','nZmYmZq1nNzTDxbfyq','D2fPDezVCKXVywrtDgf0zq','B3v0zxjiDg1SqNLszwy','Bg9JywXtDg9YywDL','zhjPDMvY','Aw5WDxrwywX1zq','C2nYB2XSsw50B1zPzxC','CMvSB2fK','zxzHBhvHDgu','y29UDgv4Dhm','y2fSBhngB3i','y291BNrcEurLzMf1Bhq','z29cywnR','y3vYCMvUDfvYBa','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','C3rLChm','y2XPCgjVyxjKugfZDgu','Bg9JywXtDg9YywDLu3rHDgu','AxnwAxnPyMXL','zw50zxjgCMfTzq','A2LUza','Dgv4DenVBNrLBNrcEurLzMf1Bhq','mMDnuxrYtq','D2fPDezVCK5HDMLNyxrPB24','C2f2zvn0B3jHz2vtDgf0zq','CgfNzuXPC3q','y2XPy2S','y2fSBhm','ywn0AxzLswr4'];_0x36db=function(){return _0x135e97;};return _0x36db();}var FakePage=class{constructor(_0x43bba1,_0x594be1,_0xe33cc6,_0x2c237a){const _0x33a24e={_0x526321:0x13c,_0x2d6c79:0xf6},_0x323948=_0x5ef1c7;this[_0x323948(_0x33a24e._0x526321)]=_0x43bba1,this[_0x323948(0x10d)]=_0x594be1,this[_0x323948(0x11a)]=_0xe33cc6,this[_0x323948(_0x33a24e._0x2d6c79)]=_0x2c237a;}[_0x5ef1c7(0x13c)];['behavior'];[_0x5ef1c7(0x11a)];static{__name(this,'FakePage');}[_0x5ef1c7(0xf6)];['onAfterClick'];[_0x5ef1c7(0xe3)](_0x46729c,_0x1a9069){const _0x55f825={_0x91d446:0x13c},_0x4477de=_0x5ef1c7;this[_0x4477de(_0x55f825._0x91d446)]['push']({'scope':this[_0x4477de(0x11a)],'method':_0x46729c,'args':_0x1a9069});}['maybeThrow'](){const _0x1c3b08={_0x25302c:0xe8,_0x251154:0xe8},_0x436676=_0x5ef1c7;if(this['behavior'][_0x436676(_0x1c3b08._0x25302c)]){const _0xee8aec=this['behavior'][_0x436676(_0x1c3b08._0x251154)];this[_0x436676(0x10d)]['errorOnNextAction']=void 0x0;throw _0xee8aec;}}['url'](){const _0x485a1f=_0x5ef1c7;return this[_0x485a1f(0xf6)];}async[_0x5ef1c7(0x12d)](){const _0x46f617={_0x15d862:0xe3,_0x55afb6:0x12d,_0x4af636:0x131},_0x34713f=_0x5ef1c7;return this[_0x34713f(_0x46f617._0x15d862)](_0x34713f(_0x46f617._0x55afb6),[]),_0x34713f(_0x46f617._0x4af636);}async[_0x5ef1c7(0x103)](_0x1f2c00,_0x37a49f){const _0x40b7a6={_0x3d1535:0xe5},_0x54129e=_0x5ef1c7;this['record']('click',[_0x1f2c00,_0x37a49f]),this['maybeThrow'](),this[_0x54129e(_0x40b7a6._0x3d1535)]?.();}async[_0x5ef1c7(0x116)](_0x26a52b,_0x226ff1){const _0x4f3892={_0xf2609:0xe3,_0x59cde5:0x116,_0x30c667:0x112},_0x4f9ee9=_0x5ef1c7;this[_0x4f9ee9(_0x4f3892._0xf2609)](_0x4f9ee9(_0x4f3892._0x59cde5),[_0x26a52b,_0x226ff1]),this[_0x4f9ee9(_0x4f3892._0x30c667)]();}async[_0x5ef1c7(0x146)](_0x3e8889,_0x52dc52,_0xcc1de4){const _0x5b4548=_0x5ef1c7;this[_0x5b4548(0xe3)](_0x5b4548(0x146),[_0x3e8889,_0x52dc52,_0xcc1de4]),this['maybeThrow']();}async[_0x5ef1c7(0x145)](_0x1befc7,_0x20a8e3,_0x4d0c9c){const _0x1ad9f9={_0x2c08dd:0xe3},_0x5049c6=_0x5ef1c7;this[_0x5049c6(_0x1ad9f9._0x2c08dd)]('press',[_0x1befc7,_0x20a8e3,_0x4d0c9c]),this[_0x5049c6(0x112)]();}async['check'](_0x310605,_0x519315){const _0x3147da={_0x4b4aa9:0xe3,_0x783ea:0x112},_0x2e3f39=_0x5ef1c7;this[_0x2e3f39(_0x3147da._0x4b4aa9)](_0x2e3f39(0x138),[_0x310605,_0x519315]),this[_0x2e3f39(_0x3147da._0x783ea)]();}async[_0x5ef1c7(0x130)](_0x3ccfc6,_0x101805){const _0x3f1a55={_0x1c87ac:0x130,_0xfb21c9:0x112},_0x245ac0=_0x5ef1c7;this['record'](_0x245ac0(_0x3f1a55._0x1c87ac),[_0x3ccfc6,_0x101805]),this[_0x245ac0(_0x3f1a55._0xfb21c9)]();}async['selectOption'](_0x3d7214,_0x16125b,_0x3f3f5f){const _0x5925cd={_0x17d73c:0xe3},_0x465797=_0x5ef1c7;this[_0x465797(_0x5925cd._0x17d73c)]('selectOption',[_0x3d7214,_0x16125b,_0x3f3f5f]),this[_0x465797(0x112)]();}async['hover'](_0x21e559,_0x345e31){const _0x160ab0={_0x522168:0x112},_0x216bec=_0x5ef1c7;this[_0x216bec(0xe3)](_0x216bec(0x125),[_0x21e559,_0x345e31]),this[_0x216bec(_0x160ab0._0x522168)]();}async[_0x5ef1c7(0xef)](_0x3bf220){const _0x51c3ff=_0x5ef1c7;this[_0x51c3ff(0xe3)](_0x51c3ff(0xef),[_0x3bf220]),this[_0x51c3ff(0x112)]();}async['dragAndDrop'](_0x11bb4b,_0x21469d,_0x41999d){const _0x2befbd=_0x5ef1c7;this[_0x2befbd(0xe3)](_0x2befbd(0x13a),[_0x11bb4b,_0x21469d,_0x41999d]),this['maybeThrow']();}async[_0x5ef1c7(0x11d)](_0x5c2a93,_0x2d42aa){const _0x247504={_0x11cc8e:0x11d},_0x13eec6=_0x5ef1c7;this[_0x13eec6(0xe3)](_0x13eec6(_0x247504._0x11cc8e),[_0x5c2a93,_0x2d42aa]),this[_0x13eec6(0x112)]();}async[_0x5ef1c7(0xf9)](_0x50714d,_0x5d8db9){const _0xc83465={_0x4f3db9:0xe3,_0x7a1009:0xf9,_0x5206b9:0x112},_0x3d9f4f=_0x5ef1c7;this[_0x3d9f4f(_0xc83465._0x4f3db9)](_0x3d9f4f(_0xc83465._0x7a1009),[_0x50714d,_0x5d8db9]),this[_0x3d9f4f(_0xc83465._0x5206b9)]();}async[_0x5ef1c7(0x11c)](_0x20aeae){const _0x1e037b={_0x3bf0cc:0x10d},_0x1cba4f=_0x5ef1c7;return this[_0x1cba4f(0xe3)]('count',[_0x20aeae]),this[_0x1cba4f(_0x1e037b._0x3bf0cc)][_0x1cba4f(0xf4)]??0x1;}async[_0x5ef1c7(0x12f)](_0x487b93){const _0x406a5f={_0xd0a36d:0xe3,_0x55395f:0x12f,_0x135f22:0x10d,_0x3a532b:0xfe},_0x311b0e=_0x5ef1c7;return this[_0x311b0e(_0x406a5f._0xd0a36d)](_0x311b0e(_0x406a5f._0x55395f),[_0x487b93]),this[_0x311b0e(_0x406a5f._0x135f22)][_0x311b0e(_0x406a5f._0x3a532b)]??'';}async['inputValue'](_0xb7c8e2){const _0x5a5e64={_0x485e06:0x141},_0x56ddcf=_0x5ef1c7;return this['record'](_0x56ddcf(0xee),[_0xb7c8e2]),this[_0x56ddcf(0x10d)][_0x56ddcf(_0x5a5e64._0x485e06)]??'';}async['checkedState'](_0x1cf53b){const _0x5bb36e={_0x44348d:0xe3,_0x2d2450:0x10d},_0x16eba3=_0x5ef1c7;return this[_0x16eba3(_0x5bb36e._0x44348d)](_0x16eba3(0x149),[_0x1cf53b]),this[_0x16eba3(_0x5bb36e._0x2d2450)]['checkedStateByDefault']??null;}async[_0x5ef1c7(0xfb)](_0x94843c){const _0x483388={_0x21f7db:0xfb},_0xbf9dbb=_0x5ef1c7;return this['record'](_0xbf9dbb(_0x483388._0x21f7db),[_0x94843c]),this[_0xbf9dbb(0x10d)]['isVisibleByDefault']??!![];}async[_0x5ef1c7(0xe6)](_0x186573){const _0x2ddea0={_0x27149f:0xe3,_0x2830a5:0xe6,_0x52fc5f:0x10d},_0x37bc01=_0x5ef1c7;return this[_0x37bc01(_0x2ddea0._0x27149f)](_0x37bc01(_0x2ddea0._0x2830a5),[_0x186573]),this[_0x37bc01(_0x2ddea0._0x52fc5f)][_0x37bc01(0x10b)]??![];}async[_0x5ef1c7(0xe1)](_0x42779d,_0x5781f9){const _0x197834={_0x3d60af:0xe1,_0x106a8a:0x10d},_0x23ab12=_0x5ef1c7;return this[_0x23ab12(0xe3)](_0x23ab12(_0x197834._0x3d60af),[_0x42779d,_0x5781f9]),this[_0x23ab12(_0x197834._0x106a8a)][_0x23ab12(0x133)]?.[_0x5781f9]??null;}async[_0x5ef1c7(0x110)](_0x32dd18,_0x1bba1e){const _0x2b9900={_0x2ce504:0xe3},_0x22752e=_0x5ef1c7;this[_0x22752e(_0x2b9900._0x2ce504)](_0x22752e(0x110),[_0x32dd18,_0x1bba1e]);}async[_0x5ef1c7(0xe7)](_0x41d282,_0x590dc9){const _0x496235={_0x3a3dd0:0xe3},_0x1e1825=_0x5ef1c7;this[_0x1e1825(_0x496235._0x3a3dd0)]('waitForUrl',[_0x41d282,_0x590dc9]);}async[_0x5ef1c7(0x137)](_0x4da993,_0x2678e2){const _0xb09860=_0x5ef1c7;this[_0xb09860(0xe3)](_0xb09860(0x137),[_0x4da993,_0x2678e2]);}async[_0x5ef1c7(0x100)](_0x49d674){const _0x5827f3={_0x962182:0xe3},_0x32e1d9=_0x5ef1c7;this[_0x32e1d9(_0x5827f3._0x962182)]('waitForNavigation',[_0x49d674]);}async[_0x5ef1c7(0xea)](_0x36598d,_0x298812){this['record']('waitForLoadState',[_0x36598d,_0x298812]);}async['goto'](_0x3cbe60,_0x576c11){const _0x48ade7={_0x18eded:0xe3,_0x418dd6:0xf6},_0xc3a05b=_0x5ef1c7;this[_0xc3a05b(_0x48ade7._0x18eded)]('goto',[_0x3cbe60,_0x576c11]),this[_0xc3a05b(_0x48ade7._0x418dd6)]=_0x3cbe60;}async[_0x5ef1c7(0xf0)](_0x2fff9c){this['record']('reload',[_0x2fff9c]);}async[_0x5ef1c7(0xf5)](_0x23855c){const _0x1a06c3={_0x5cb215:0xf5},_0x3289c1=_0x5ef1c7;this[_0x3289c1(0xe3)](_0x3289c1(_0x1a06c3._0x5cb215),[_0x23855c]);}async[_0x5ef1c7(0x147)](_0x430d84){const _0x5123d7={_0x575493:0xe3},_0x2f5b70=_0x5ef1c7;this[_0x2f5b70(_0x5123d7._0x575493)](_0x2f5b70(0x147),[_0x430d84]);}async[_0x5ef1c7(0xf1)](_0x406d15){const _0xc58b4={_0x4e2e72:0xe3},_0x242c7c=_0x5ef1c7;return this[_0x242c7c(_0xc58b4._0x4e2e72)](_0x242c7c(0xf1),[_0x406d15]),void 0x0;}async[_0x5ef1c7(0x12c)](_0x5c9064,_0x2368dd){const _0x2bf7f8={_0x2d7dac:0x12c},_0x14f01f=_0x5ef1c7;return this[_0x14f01f(0xe3)](_0x14f01f(_0x2bf7f8._0x2d7dac),[_0x5c9064,_0x2368dd]),void 0x0;}async[_0x5ef1c7(0x132)](_0x2a8087){const _0x330cde={_0x381869:0xf8,_0x41358a:0xe0},_0x1c6f58=_0x5ef1c7;this['record'](_0x1c6f58(0x132),[_0x2a8087]);if(_0x2a8087['steps']['length']!==0x1||_0x2a8087[_0x1c6f58(0xf8)][0x0][_0x1c6f58(0xfd)]!==_0x1c6f58(0xe0))return null;const _0x4dad57=_0x2a8087[_0x1c6f58(_0x330cde._0x381869)][0x0][_0x1c6f58(_0x330cde._0x41358a)],_0x57371a=this[_0x1c6f58(0x10d)][_0x1c6f58(0xdf)]?.[_0x4dad57];return _0x57371a??null;}async[_0x5ef1c7(0x11e)](_0x368b26){const _0x4e4ba3={_0x5793a8:0x129},_0x3e6665=_0x5ef1c7;return this[_0x3e6665(0xe3)]('screenshot',[_0x368b26]),Buffer[_0x3e6665(0x144)](_0x3e6665(_0x4e4ba3._0x5793a8));}async['outerHTML'](_0x75ead){const _0x282862={_0x3b1f60:0xe2,_0x313da7:0xe0,_0x490b4c:0x10d,_0x54e874:0x106},_0x3ecc13=_0x5ef1c7;this['record'](_0x3ecc13(_0x282862._0x3b1f60),[_0x75ead]);if(_0x75ead['steps']['length']===0x1&&_0x75ead[_0x3ecc13(0xf8)][0x0]['kind']===_0x3ecc13(_0x282862._0x313da7)){const _0x1a3f2f=_0x75ead['steps'][0x0]['ref'];return this[_0x3ecc13(_0x282862._0x490b4c)][_0x3ecc13(0xeb)]?.[_0x1a3f2f]??_0x3ecc13(_0x282862._0x54e874)+_0x1a3f2f+_0x3ecc13(0x135);}return'<div></div>';}},FakeContext=class{constructor(_0x519843,_0x5f5ded,_0x32f37a){const _0x585be4={_0x1a8cdc:0x13c,_0xb35ed8:0x11a,_0x44b365:0x10c,_0x5d95d8:0xe5,_0x220a57:0x102,_0x2c0078:0xec,_0x20ebb6:0x136},_0x5bb59f=_0x5ef1c7;this[_0x5bb59f(_0x585be4._0x1a8cdc)]=_0x519843,this['behavior']=_0x5f5ded,this[_0x5bb59f(_0x585be4._0xb35ed8)]=_0x32f37a;const _0x4efe5a=new FakePage(_0x519843,_0x5f5ded,_0x32f37a+_0x5bb59f(0x115),_0x5f5ded[_0x5bb59f(_0x585be4._0x44b365)]??'about:blank');_0x5f5ded[_0x5bb59f(0x122)]&&(_0x4efe5a[_0x5bb59f(_0x585be4._0x5d95d8)]=()=>{const _0x11ebd2=_0x5bb59f;this[_0x11ebd2(0x13f)](_0x5f5ded['popupOnClick']);}),this[_0x5bb59f(_0x585be4._0x220a57)]=[_0x4efe5a],this['localStorageState']={..._0x5f5ded[_0x5bb59f(_0x585be4._0x2c0078)]??{}},this[_0x5bb59f(0x13b)]={..._0x5f5ded[_0x5bb59f(_0x585be4._0x20ebb6)]??{}};}[_0x5ef1c7(0x13c)];[_0x5ef1c7(0x10d)];[_0x5ef1c7(0x11a)];static{__name(this,_0x5ef1c7(0x109));}[_0x5ef1c7(0x102)];['activeIdx']=0x0;[_0x5ef1c7(0x123)]=[];[_0x5ef1c7(0xfa)];['cookieState'];['newPageListeners']=new Set();[_0x5ef1c7(0xe3)](_0x3a9149,_0x4d2dcd){const _0x3f2886={_0x1b4e86:0x13c},_0x45b326=_0x5ef1c7;this[_0x45b326(_0x3f2886._0x1b4e86)][_0x45b326(0x14b)]({'scope':this[_0x45b326(0x11a)],'method':_0x3a9149,'args':_0x4d2dcd});}['pages'](){return this['pageList'];}[_0x5ef1c7(0x10e)](){const _0x1638a5={_0x2b07ac:0x105,_0x4518de:0x12a},_0xb67fdc=_0x5ef1c7,_0x35d194=this['pageList'][this[_0xb67fdc(_0x1638a5._0x2b07ac)]];if(!_0x35d194)throw new DriverError(_0xb67fdc(_0x1638a5._0x4518de),{'activeIdx':this['activeIdx']});return _0x35d194;}[_0x5ef1c7(0x140)](){const _0x2feb37=_0x5ef1c7;return this[_0x2feb37(0x10d)][_0x2feb37(0x140)]??[];}['networkEntries'](){const _0x44675e={_0x36dfdb:0x10d},_0x5ef5cc=_0x5ef1c7;return this[_0x5ef5cc(_0x44675e._0x36dfdb)][_0x5ef5cc(0x114)]??[];}async[_0x5ef1c7(0x14e)](_0x1d32c7){const _0x2036fb={_0x2c5a7e:0xe3,_0x47fff7:0x107,_0xd059ed:0x105},_0xe72eea=_0x5ef1c7;this[_0xe72eea(_0x2036fb._0x2c5a7e)]('setActivePage',[_0x1d32c7]);if(_0x1d32c7<0x0||_0x1d32c7>=this['pageList'][_0xe72eea(0x113)])throw new DriverError(_0xe72eea(_0x2036fb._0x47fff7),{'index':_0x1d32c7,'available':this[_0xe72eea(0x102)][_0xe72eea(0x113)]});this[_0xe72eea(_0x2036fb._0xd059ed)]=_0x1d32c7,this[_0xe72eea(0x123)][_0xe72eea(0x113)]=0x0;}[_0x5ef1c7(0x134)](_0xce436c){return subscribe(this['newPageListeners'],_0xce436c);}['emitFakePopup'](_0x477c08){const _0x2c5e51={_0x4998a4:0x113},_0x38dd8a=_0x5ef1c7,_0x4892be=this[_0x38dd8a(0x11a)]+'.page'+this[_0x38dd8a(0x102)][_0x38dd8a(_0x2c5e51._0x4998a4)],_0x491edb=new FakePage(this[_0x38dd8a(0x13c)],this[_0x38dd8a(0x10d)],_0x4892be,_0x477c08);this['pageList']['push'](_0x491edb);const _0x3dfd6f=this['pageList']['length']-0x1;for(const _0x3cb892 of this[_0x38dd8a(0xde)]){try{_0x3cb892({'index':_0x3dfd6f,'url':_0x477c08});}catch{}}return _0x3dfd6f;}[_0x5ef1c7(0x139)](_0x9900f9){const _0x163128={_0xec899f:0x102,_0x41e713:0xdd},_0x4351c8=_0x5ef1c7;if(_0x9900f9<0x0||_0x9900f9>=this[_0x4351c8(_0x163128._0xec899f)]['length'])throw new DriverError(_0x4351c8(0x107),{'index':_0x9900f9,'available':this[_0x4351c8(_0x163128._0xec899f)]['length']});this['pageList'][_0x4351c8(_0x163128._0x41e713)](_0x9900f9,0x1);}async[_0x5ef1c7(0xfc)](_0x4aedf6){const _0x37e56d={_0x142166:0xf8,_0x57fcdd:0x123},_0x3cfdad=_0x5ef1c7;this[_0x3cfdad(0xe3)](_0x3cfdad(0xfc),[_0x4aedf6]);if(!_0x4aedf6[_0x3cfdad(_0x37e56d._0x142166)]['length'])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x4aedf6});this[_0x3cfdad(_0x37e56d._0x57fcdd)][_0x3cfdad(0x14b)](_0x4aedf6);}async[_0x5ef1c7(0x10a)](){const _0x5cd0ff={_0x5ad418:0xe3},_0x5da9db=_0x5ef1c7;this[_0x5da9db(_0x5cd0ff._0x5ad418)](_0x5da9db(0x10a),[]);if(this['frameStack'][_0x5da9db(0x113)]===0x0)throw new DriverError(_0x5da9db(0x11b),{});this['frameStack'][_0x5da9db(0x10f)]();}async[_0x5ef1c7(0x148)](_0x33eab4,_0x123c79){const _0x4198db={_0x609fe:0xfa},_0x2474cb=_0x5ef1c7;this[_0x2474cb(0xe3)]('setLocalStorage',[_0x33eab4,_0x123c79]),this[_0x2474cb(_0x4198db._0x609fe)][_0x33eab4]=_0x123c79;}async[_0x5ef1c7(0x128)](_0x5703a2){const _0xe1827b=_0x5ef1c7;return this['record'](_0xe1827b(0x128),[_0x5703a2]),this[_0xe1827b(0xfa)][_0x5703a2]??null;}async['setCookie'](_0x5b0a8b,_0x44fbe1,_0x54bf6a){const _0xb818a7=_0x5ef1c7;this['record'](_0xb818a7(0x14d),[_0x5b0a8b,_0x44fbe1,_0x54bf6a]),this[_0xb818a7(0x13b)][_0x5b0a8b]=_0x44fbe1;}async['getCookie'](_0x581a5f){const _0x4a72a7={_0x1b33cf:0xe3,_0x42828:0x13b},_0x457c71=_0x5ef1c7;return this[_0x457c71(_0x4a72a7._0x1b33cf)]('getCookie',[_0x581a5f]),this[_0x457c71(_0x4a72a7._0x42828)][_0x581a5f]??null;}async[_0x5ef1c7(0x101)](_0x4401cd){const _0x40ea34={_0x2b0bd2:0x101},_0x2cdc26=_0x5ef1c7;this['record'](_0x2cdc26(_0x40ea34._0x2b0bd2),[_0x4401cd]);}async[_0x5ef1c7(0xf1)](_0x204ce2){const _0x330b93=_0x5ef1c7;return this[_0x330b93(0xe3)]('evaluate',[_0x204ce2]),void 0x0;}async[_0x5ef1c7(0x121)](){const _0x416fcc={_0x38b05d:0xe3},_0xca9078=_0x5ef1c7;this[_0xca9078(_0x416fcc._0x38b05d)]('close',[]);}['frameDepth'](){const _0x61906a={_0x508c8c:0x123,_0x31c039:0x113},_0x240b08=_0x5ef1c7;return this[_0x240b08(_0x61906a._0x508c8c)][_0x240b08(_0x61906a._0x31c039)];}},FakeWebDriver=class{constructor(_0x2dcc75={}){const _0x470e60={_0x55f651:0x13c},_0x1f8aa3=_0x5ef1c7;this[_0x1f8aa3(0x10d)]=_0x2dcc75,this[_0x1f8aa3(_0x470e60._0x55f651)]=createRecorder();}[_0x5ef1c7(0x10d)];static{__name(this,'FakeWebDriver');}[_0x5ef1c7(0x142)]=![];['recorder'];['contexts']=[];async[_0x5ef1c7(0x11f)](_0x8010d9){const _0x76d9ad={_0x2aa92c:0x13c,_0x5e17ae:0xed,_0x3bfa32:0x11f,_0x8a3919:0x142},_0x59493a=_0x5ef1c7;this[_0x59493a(_0x76d9ad._0x2aa92c)]['push']({'scope':_0x59493a(_0x76d9ad._0x5e17ae),'method':_0x59493a(_0x76d9ad._0x3bfa32),'args':[_0x8010d9]}),this[_0x59493a(_0x76d9ad._0x8a3919)]=!![];}async['newContext'](_0x2f35dc){const _0x4d9074={_0x2aec05:0x14b,_0x2c7fee:0xed,_0xef406e:0x142,_0x491486:0x10d,_0x587707:0xf2,_0x12b2a5:0x14b},_0x4ab4f9=_0x5ef1c7;this[_0x4ab4f9(0x13c)][_0x4ab4f9(_0x4d9074._0x2aec05)]({'scope':_0x4ab4f9(_0x4d9074._0x2c7fee),'method':_0x4ab4f9(0x13e),'args':[_0x2f35dc]});if(!this[_0x4ab4f9(_0x4d9074._0xef406e)])throw new DriverError(_0x4ab4f9(0x111),{});const _0x47821c=new FakeContext(this['recorder'],this[_0x4ab4f9(_0x4d9074._0x491486)],'ctx'+this['contexts']['length']);return this[_0x4ab4f9(_0x4d9074._0x587707)][_0x4ab4f9(_0x4d9074._0x12b2a5)](_0x47821c),_0x47821c;}async['close'](){const _0x19d031={_0x209b2a:0x13c},_0x29b058=_0x5ef1c7;this[_0x29b058(_0x19d031._0x209b2a)][_0x29b058(0x14b)]({'scope':_0x29b058(0xed),'method':'close','args':[]}),this[_0x29b058(0x142)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x5ef1c7(0x119)](){const _0x19c785={_0x15736e:0xf7},_0x3db724=_0x5ef1c7;throw new DriverError(_0x3db724(_0x19c785._0x15736e),{});}[_0x5ef1c7(0x127)](){const _0x53b4b7=_0x5ef1c7;throw new DriverError(_0x53b4b7(0x14a),{});}['calls'](){const _0x25ac56={_0x58efd0:0x13c},_0x2e1948=_0x5ef1c7;return this[_0x2e1948(_0x25ac56._0x58efd0)]['calls']();}[_0x5ef1c7(0xf3)](_0x5b3444){const _0x5cc665={_0x4ca5aa:0x13c,_0x2c4c4b:0x13d},_0x83bd23=_0x5ef1c7;return this[_0x83bd23(_0x5cc665._0x4ca5aa)][_0x83bd23(0x104)]()[_0x83bd23(_0x5cc665._0x2c4c4b)](_0x14dbff=>_0x14dbff['method']===_0x5b3444);}};export{FakeWebDriver};