@unotest/web 0.12.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/write-e2e-test/SKILL.md +4 -0
- package/.claude/skills/write-e2e-test-ground/SKILL.md +4 -0
- package/CHANGELOG.md +55 -0
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/guides/agent-integration.md +9 -4
- package/guides/dsl-reference.md +33 -1
- package/package.json +7 -7
|
@@ -60,6 +60,10 @@ explore_start { scenario_name: "<feature>/<name>" } → { explorationId }
|
|
|
60
60
|
|
|
61
61
|
Keep the `explorationId` — every recorded step needs it.
|
|
62
62
|
|
|
63
|
+
Optional `env: "<name>"` records THIS session against the
|
|
64
|
+
`.env.<name>` / `.secrets.<name>` overlays (variables, secrets,
|
|
65
|
+
APP_BASE_URL) — same idea as run_test's per-call `env`.
|
|
66
|
+
|
|
63
67
|
`explore_start` opens the browser itself. Do NOT call `new_context`
|
|
64
68
|
first — it's for RESETTING the browser (Phase 5), not for starting.
|
|
65
69
|
|
|
@@ -85,6 +85,10 @@ explore_start { scenario_name: "<feature>/<name>" } → { explorationId }
|
|
|
85
85
|
|
|
86
86
|
Keep the `explorationId` — every recorded step needs it.
|
|
87
87
|
|
|
88
|
+
Optional `env: "<name>"` records THIS session against the
|
|
89
|
+
`.env.<name>` / `.secrets.<name>` overlays (variables, secrets,
|
|
90
|
+
APP_BASE_URL) — same idea as run_test's per-call `env`.
|
|
91
|
+
|
|
88
92
|
`explore_start` opens the browser itself. Do NOT call `new_context`
|
|
89
93
|
first — it's for RESETTING the browser (Phase 5), not for starting.
|
|
90
94
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.1] - 2026-08-15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 84966ac: Docs: the `textJoin` section overstated the `+` rejection. `+` with a
|
|
8
|
+
string literal on either side (`'prefix-' + name`) concatenates and
|
|
9
|
+
lints clean; the validator rejects only literal-free string addition
|
|
10
|
+
(`a + b` between string-typed variables/calls), which reads as
|
|
11
|
+
arithmetic. Existing literal-based `+` code needs no rewrite
|
|
12
|
+
(bot-service feedback on 0.13.0).
|
|
13
|
+
- @unotest/core@0.13.1
|
|
14
|
+
- @unotest/dsl@0.13.1
|
|
15
|
+
- @unotest/grounder-client@0.13.1
|
|
16
|
+
- @unotest/protocol@0.13.1
|
|
17
|
+
- @unotest/viewer@0.13.1
|
|
18
|
+
|
|
19
|
+
## [0.13.0] - 2026-08-15
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- 189c0e9: Per-call environments for explore sessions + init guidance
|
|
24
|
+
(bot-service feedback, round 2):
|
|
25
|
+
|
|
26
|
+
- `explore_start` accepts `env`: that session's variables, secrets and
|
|
27
|
+
`APP_BASE_URL` resolve against the `.env.<env>` / `.secrets.<env>`
|
|
28
|
+
overlays, without touching the server's own environment or other
|
|
29
|
+
sessions. Overlay secrets are also masked in all log sinks. The
|
|
30
|
+
`explore_steps` autoRun finale runs the saved test with the same
|
|
31
|
+
`env`. Symmetric with `run_test`'s per-call `env`.
|
|
32
|
+
- `init` "Next steps" now says to restart an already-open agent session
|
|
33
|
+
(MCP clients load `.mcp.json` servers at session start — no
|
|
34
|
+
hot-connect in the protocol); same recipe added to the
|
|
35
|
+
troubleshooting manual.
|
|
36
|
+
|
|
37
|
+
- 4b3c9fd: New DSL function `textJoin(parts) → string` — concatenates an array of
|
|
38
|
+
parts (numbers coerced). The validator has always rejected `+` on
|
|
39
|
+
strings with a hint pointing at `textJoin([...])`, but the function did
|
|
40
|
+
not exist in the web registry, leaving scenarios with no legal way to
|
|
41
|
+
build a dynamic string. Found by the dogfood suite on its first lint.
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- `waitForText` now respects the active `enterFrame` stack — it used to
|
|
46
|
+
build its locator from the top document, so inside a frame it waited on
|
|
47
|
+
text the frame content could never satisfy. Found by the dogfood suite
|
|
48
|
+
(nested-iframes scenario).
|
|
49
|
+
- Updated dependencies [39ca34f]
|
|
50
|
+
- Updated dependencies [a4f0a62]
|
|
51
|
+
- Updated dependencies [8d70df6]
|
|
52
|
+
- @unotest/dsl@0.13.0
|
|
53
|
+
- @unotest/core@0.13.0
|
|
54
|
+
- @unotest/viewer@0.13.0
|
|
55
|
+
- @unotest/grounder-client@0.13.0
|
|
56
|
+
- @unotest/protocol@0.13.0
|
|
57
|
+
|
|
3
58
|
All notable changes to `@unotest/web` are documented in this file.
|
|
4
59
|
|
|
5
60
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
package/dist/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x4eb268=_0x1ba8;(function(_0x250669,_0x58c4ce){var _0x343d79={_0x26c8f6:0x11c,_0x57d92b:0x10b,_0xa11995:0x130,_0x2f257e:0x114},_0x3f275=_0x1ba8,_0x3bae1c=_0x250669();while(!![]){try{var _0x8726b2=-parseInt(_0x3f275(0x12e))/0x1+parseInt(_0x3f275(0xf4))/0x2+-parseInt(_0x3f275(0x12f))/0x3*(parseInt(_0x3f275(_0x343d79._0x26c8f6))/0x4)+-parseInt(_0x3f275(_0x343d79._0x57d92b))/0x5+parseInt(_0x3f275(0xf1))/0x6+parseInt(_0x3f275(_0x343d79._0xa11995))/0x7*(parseInt(_0x3f275(0x104))/0x8)+-parseInt(_0x3f275(_0x343d79._0x2f257e))/0x9*(-parseInt(_0x3f275(0x102))/0xa);if(_0x8726b2===_0x58c4ce)break;else _0x3bae1c['push'](_0x3bae1c['shift']());}catch(_0x1c2075){_0x3bae1c['push'](_0x3bae1c['shift']());}}}(_0x552c,0x7cb89));import{z}from'zod';function _0x552c(){var _0x8d30d3=['odGZmdu2Auvqt3rX','DMfSAwrHDg9YoMfYAxr5','B2zM','yxjYyxK','Dw5PB24','zw51Bq','Cg9ZAxrPDMu','mZG0ndm0mgLXCgXgtG','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgLUDdPTDxn0ywnOzs1PBI1KC2W','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BNvTyMvY','DMfSAwrHDg9YoMLMlxnOyxbL','C3rYAw5N','y2HYB21PDw0','DMfSAwrHDg9YoMfYzY1RAw5K','ntmXDgTKtgjd','zgvMyxvSDa','BgLUDdPYzwDLEc1PBNzHBgLK','Dw5VDgvZDc9LmMu','BwLU','zxjYB3i','BNvSBa','ywnJzxb0','mJb0v1blwfG','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoNzHCI1ZAgfWzq','y2HYB21L','BgLUDdPKzwvWlwnZCW','DMfSAwrHDg9YoMXPC3qTyxjN','Aw50','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','BgL0zxjHBa','BxnLzgDL','BgLUDdPWyxvZzs1LEhbSAwnPDa','BMv0D29YAW','D2vIA2L0','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','CMvJB3jK','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','oda4otm1DgjAqLPn','mJu4nJaWzvHrwgPl','mtrRAeHYCue','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPLy2HVlwfZC2vYDa','zMLYzwzVEa','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','mti3mZq3mfDmBxborW','BwfUDwfS','B2jQzwn0','nJy1nZuYrwnmtgXR','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DhjHBNnPzw50','DMfSAwrHDg9YoM1LDgeTC2HHCgu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','Bwf4','DxjS','y3jHC2G','BgLUDdPNB3rVlwnVBMnHDa','C3rKAw8','lNvUB3rLC3qVzMfPBhvYzxm','D2fYBG','B3b0Aw9UywW','yM9VBgvHBG','mJK3mJuWquH5zuPZ','DMfSAwrHDg9YoNn0zxaTC2HHCgu'];_0x552c=function(){return _0x8d30d3;};return _0x552c();}function _0x1ba8(_0xfc646a,_0x1a519b){_0xfc646a=_0xfc646a-0xef;var _0x552c00=_0x552c();var _0x1ba851=_0x552c00[_0xfc646a];if(_0x1ba8['HDnWUb']===undefined){var _0x2e6722=function(_0x442214){var _0x515b01='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2b8a88='',_0x9f0654='';for(var _0x3f38ec=0x0,_0x1b935b,_0xbcf0d1,_0x3997d1=0x0;_0xbcf0d1=_0x442214['charAt'](_0x3997d1++);~_0xbcf0d1&&(_0x1b935b=_0x3f38ec%0x4?_0x1b935b*0x40+_0xbcf0d1:_0xbcf0d1,_0x3f38ec++%0x4)?_0x2b8a88+=String['fromCharCode'](0xff&_0x1b935b>>(-0x2*_0x3f38ec&0x6)):0x0){_0xbcf0d1=_0x515b01['indexOf'](_0xbcf0d1);}for(var _0x39fd95=0x0,_0xd86ca3=_0x2b8a88['length'];_0x39fd95<_0xd86ca3;_0x39fd95++){_0x9f0654+='%'+('00'+_0x2b8a88['charCodeAt'](_0x39fd95)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9f0654);};_0x1ba8['sQRbsM']=_0x2e6722,_0x1ba8['eQUrHU']={},_0x1ba8['HDnWUb']=!![];}var _0x5d6189=_0x552c00[0x0],_0x29d795=_0xfc646a+_0x5d6189,_0x453d93=_0x1ba8['eQUrHU'][_0x29d795];return!_0x453d93?(_0x1ba851=_0x1ba8['sQRbsM'](_0x1ba851),_0x1ba8['eQUrHU'][_0x29d795]=_0x1ba851):_0x1ba851=_0x453d93,_0x1ba851;}var BrowserSchema=z[_0x4eb268(0x109)]([_0x4eb268(0x112),_0x4eb268(0x133),_0x4eb268(0x129)]),BrowserChannelSchema=z[_0x4eb268(0x108)]([z[_0x4eb268(0x125)](_0x4eb268(0x11f)),z[_0x4eb268(0x125)](_0x4eb268(0x126)),z[_0x4eb268(0x125)]('chrome-beta'),z[_0x4eb268(0x11a)]()])[_0x4eb268(0x100)](),ViewportSchema=z[_0x4eb268(0xf3)]({'width':z['number']()[_0x4eb268(0x122)]()[_0x4eb268(0x10a)](),'height':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)]()}),RetryReasonSchema=z[_0x4eb268(0x109)]([_0x4eb268(0xf6),_0x4eb268(0x128),_0x4eb268(0xfb)]),RetryConfigSchema=z[_0x4eb268(0xf3)]({'count':z[_0x4eb268(0x10f)]()[_0x4eb268(0x122)]()[_0x4eb268(0x118)](0x0)[_0x4eb268(0xf9)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x4eb268(0xf3)]({'tier1':z[_0x4eb268(0x125)](!![])[_0x4eb268(0x115)](!![]),'tier2':z[_0x4eb268(0x101)](),'tier3':z[_0x4eb268(0xf3)]({'network':z[_0x4eb268(0x101)](),'video':z[_0x4eb268(0x101)]()}),'retention':z[_0x4eb268(0xf3)]({'runs':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)](),'days':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)]()}),'storageDir':z['string']()['min'](0x1)}),DialogPolicySchema=z[_0x4eb268(0x109)]([_0x4eb268(0x11b),'dismiss',_0x4eb268(0xf2)]),LinterRuleIdSchema=z[_0x4eb268(0x109)]([_0x4eb268(0x120),_0x4eb268(0x11d),_0x4eb268(0x10c),_0x4eb268(0x127),_0x4eb268(0xf8),_0x4eb268(0x12a),_0x4eb268(0xef),_0x4eb268(0x10d),_0x4eb268(0xfc),_0x4eb268(0x116),_0x4eb268(0x132),_0x4eb268(0xf5),'validator:unknown-function',_0x4eb268(0x105),_0x4eb268(0x113),_0x4eb268(0x12c),_0x4eb268(0x103),_0x4eb268(0xf7),_0x4eb268(0x12d),_0x4eb268(0x123),_0x4eb268(0x110),_0x4eb268(0x11e),_0x4eb268(0xf0),_0x4eb268(0x124),'validator:string-concat',_0x4eb268(0x131),_0x4eb268(0x121),'validator:wrapped-format']),LinterSeveritySchema=z[_0x4eb268(0x109)]([_0x4eb268(0x106),_0x4eb268(0xff),'error']),LinterConfigSchema=z[_0x4eb268(0xf3)]({'enabled':z['boolean'](),'rules':z[_0x4eb268(0x12b)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z['object']({'transport':z[_0x4eb268(0x125)](_0x4eb268(0xfd))}),SandboxConfigSchema=z[_0x4eb268(0xf3)]({'shellCwd':z['string']()['optional'](),'shellTimeoutMs':z[_0x4eb268(0x10f)]()[_0x4eb268(0x122)]()[_0x4eb268(0x10a)]()[_0x4eb268(0x100)](),'exportSecrets':z[_0x4eb268(0x107)](z[_0x4eb268(0x111)]())[_0x4eb268(0x100)](),'database':z[_0x4eb268(0x111)]()['optional'](),'apiBaseUrl':z['string']()[_0x4eb268(0xfa)]()['optional'](),'uploadDir':z[_0x4eb268(0x111)]()[_0x4eb268(0x100)]()}),WebServerConfigSchema=z[_0x4eb268(0xf3)]({'command':z[_0x4eb268(0x111)]()['min'](0x1),'url':z[_0x4eb268(0x111)]()['url'](),'reuseExistingServer':z[_0x4eb268(0x101)]()[_0x4eb268(0x115)](!![]),'timeoutMs':z['number']()[_0x4eb268(0x122)]()['positive']()[_0x4eb268(0x115)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x4eb268(0x111)]()[_0x4eb268(0xfa)]()[_0x4eb268(0x100)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x4eb268(0x107)](BrowserSchema)[_0x4eb268(0x118)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z['string']()[_0x4eb268(0x100)](),'testDir':z[_0x4eb268(0x111)]()[_0x4eb268(0x118)](0x1),'helpersDir':z[_0x4eb268(0x111)]()['min'](0x1),'defaultTimeoutMs':z[_0x4eb268(0x10f)]()['int']()[_0x4eb268(0x10a)](),'defaultNavigationTimeoutMs':z['number']()[_0x4eb268(0x122)]()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x4eb268(0x112)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x4eb268(0xf6)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4eb268(0xfe)},'dialogPolicy':'accept','testDir':_0x4eb268(0x117),'helpersDir':_0x4eb268(0x10e),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x4eb268(0xff),'lint:xpath':_0x4eb268(0xff),'lint:obfuscated-class':_0x4eb268(0xff),'lint:pause-explicit':_0x4eb268(0xff),'lint:disambig-by-index':_0x4eb268(0x106),'lint:evaluate-discouraged':_0x4eb268(0xff),'lint:scenario-in-root':_0x4eb268(0x119),'lint:mustache-in-dsl':_0x4eb268(0x119),'lint:goto-concat':_0x4eb268(0xff),'lint:regex-invalid':_0x4eb268(0x119),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':_0x4eb268(0xff),'validator:unknown-function':_0x4eb268(0x119)}},'mcp':{'transport':'stdio'},'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
|
package/dist/driver/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5cfb26=_0x3c5a;(function(_0x51fc95,_0x1da58f){const _0x4dfb60={_0x780dbf:0x16e,_0x4de962:0x163,_0xc74b32:0x13a,_0x30e7ad:0x118},_0x24fa42=_0x3c5a,_0x4772a4=_0x51fc95();while(!![]){try{const _0x3df6d=-parseInt(_0x24fa42(0x138))/0x1+parseInt(_0x24fa42(0x168))/0x2+parseInt(_0x24fa42(_0x4dfb60._0x780dbf))/0x3+parseInt(_0x24fa42(_0x4dfb60._0x4de962))/0x4+parseInt(_0x24fa42(0x140))/0x5*(-parseInt(_0x24fa42(_0x4dfb60._0xc74b32))/0x6)+-parseInt(_0x24fa42(_0x4dfb60._0x30e7ad))/0x7*(-parseInt(_0x24fa42(0x12a))/0x8)+-parseInt(_0x24fa42(0x166))/0x9;if(_0x3df6d===_0x1da58f)break;else _0x4772a4['push'](_0x4772a4['shift']());}catch(_0x1104ef){_0x4772a4['push'](_0x4772a4['shift']());}}}(_0x56d0,0x649da));var __defProp=Object[_0x5cfb26(0x131)],__name=(_0x5688af,_0x5e9f0f)=>__defProp(_0x5688af,_0x5cfb26(0x150),{'value':_0x5e9f0f,'configurable':!![]});function subscribe(_0x36020a,_0x34d435){const _0x319a2b={_0x2123c4:0x125},_0x3efaac=_0x5cfb26;return _0x36020a[_0x3efaac(_0x319a2b._0x2123c4)](_0x34d435),()=>{_0x36020a['delete'](_0x34d435);};}function _0x56d0(){const _0x3170b9=['zxHPDezYyw1L','mJC1otuYuePQyKfL','zNjHBwvezxb0Aa','AxneAxnHyMXLzej5rgvMyxvSDa','nZG0mZi0ogfPv2jYqW','y29UDgv4Dhm','nJG3mJKWtuX2AhHb','zMfRzs1WBMC','zNjHBwvtDgfJAW','Aw5WDxrwywX1zuj5rgvMyxvSDa','C3vIC2nYAwjL','y2fSBhngB3i','mteWntKZoffgqxPrwa','Dgv4DenVBNrLBNq','DxjS','y2fWDhvYzvn0ywnRvhjHy2u','CMvM','y2HLy2S','C2nYzwvUC2HVDa','y3jLyxrLuMvJB3jKzxi','Bgf1BMnO','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','zNjVBq','D3nfBMrWB2LUDa','Aw5ZCgvJDevSzw1LBNq','zhjPDMvY','ywn0AxzLugfNzq','y29UC29SzuvUDhjPzxm','zg91yMXLq2XPy2S','zxjYB3jpBK5LEhrby3rPB24','ChvZAa','rMfRzunVBNrLEhq','zxzHBhvHDgvpBKXVy2f0B3i','CMvJB3jKzxi','C2v0tg9JywXtDg9YywDL','Bg9JywXtDg9YywDLu3rHDgu','D2fPDezVCKXVywrtDgf0zq','z2v0q29VA2LL','zMLSBa','BMv3ugfNzuXPC3rLBMvYCW','z29gB3j3yxjK','D2fPDezVCK5HDMLNyxrPB24','y29VA2LLCW','C2f2zvn0B3jHz2vtDgf0zq','CMvJB3jK','y2XVC2u','B3v0zxjiDg1SqNLszwy','mtrxBM9KDxG','y29UDgv4Da','D2fPDezVCG','AxneAxnHyMXLza','Aw5PDgLHBfvYBa','zMLSDgvY','AxnwAxnPyMXL','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y2XPy2S','B3v0zxjive1m','Bwv0Ag9K','z29cywnR','ywrK','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y2XPCgjVyxjKugfZDgu','y2XVC2vgywTLugfNzq','ywn0AxzLswr4','mJK0mJmXmM92re5KEq','y29VA2LLu3rHDgu','Dw5JAgvJAW','zNvUy3rPB24','z2v0qxr0CMLIDxrL','zwXLBwvUDeHPBNrcEvjLzG','C2nVCgu','zgvMAw5LuhjVCgvYDhK','y3vYCMvUDfvYBa','y2fSBhm','BMv3q29UDgv4Da','CMvSB2fK','CgfNzuXPC3q','BMv0D29YA0vUDhjPzxm','mtq2nta1A3bxr0j0','rMfRzvbHz2u','ntiWntq4D1jlu2Hy','D2fPDezVCLvYBa','y291BNrcEurLzMf1Bhq','zw1PDezHA2vqB3b1Ca','y29UBMvJDfnOyxjLza','C2v0qwn0AxzLugfNzq','nvH5sNjuwa','CgfNzxm','yMvOyxzPB3i','C2vSzwn0t3b0Aw9U','vw5VDgvZDevYCM9Y','DgL0Bgu','pgrPDJ48l2rPDJ4','zw50zxjgCMfTzq','yxr0CMLIDxrLC0j5rgvMyxvSDa','C2nYB2XSsw50B1zPzxC','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zxzHBhvHDgu','z290BW','Bgf1BMnOzwq','B25bzNrLCKnSAwnR','Ag92zxi','BMfTzq','DxbSB2fKrMLSzq','Cg9WDxbpBKnSAwnR','ChjLC3m','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','Aw5WDxrwywX1zq','iJ48l2rPDJ4','Bwf5yMvuAhjVDW','A2LUza','D2fPDezVCLrLEhq','C2v0q29VA2LL','zhjHz0fUzerYB3a','BgvUz3rO','C3rLChm','y291BNq','y2HLy2TLzfn0yxrL','z2v0tg9JywXtDg9YywDL','rMfRzvDLyKrYAxzLCG'];_0x56d0=function(){return _0x3170b9;};return _0x56d0();}__name(subscribe,_0x5cfb26(0x16c));var UnotestError=class extends Error{static{__name(this,_0x5cfb26(0x144));}[_0x5cfb26(0x119)];constructor(_0x5c6d25,_0x1ed3f={}){const _0x23547e={_0x2ced66:0x12d,_0x341dea:0x171},_0xf0cfec=_0x5cfb26;super(_0x5c6d25),this[_0xf0cfec(0x150)]=new.target.name,this[_0xf0cfec(0x119)]=Object['freeze']({..._0x1ed3f}),typeof Error[_0xf0cfec(0x171)]===_0xf0cfec(_0x23547e._0x2ced66)&&Error[_0xf0cfec(_0x23547e._0x341dea)](this,new.target);}},DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x159893=_0x5cfb26,_0x1e2eb1=[];let _0x48be32=0x0;return{'push':__name(_0x473d77=>_0x1e2eb1[_0x159893(0x180)]({..._0x473d77,'seq':_0x48be32++}),_0x159893(0x180)),'calls':__name(()=>_0x1e2eb1,'calls')};}__name(createRecorder,_0x5cfb26(0x175));var FakePage=class{constructor(_0x34b7d6,_0x11dc72,_0x2be135,_0x16723c){const _0x34db3f={_0xbe6ee7:0x142,_0x5ef387:0x130},_0x276e5a=_0x5cfb26;this['recorder']=_0x34b7d6,this[_0x276e5a(_0x34db3f._0xbe6ee7)]=_0x11dc72,this[_0x276e5a(_0x34db3f._0x5ef387)]=_0x2be135,this['currentUrl']=_0x16723c;}[_0x5cfb26(0x10a)];[_0x5cfb26(0x142)];[_0x5cfb26(0x130)];static{__name(this,_0x5cfb26(0x139));}['currentUrl'];['onAfterClick'];[_0x5cfb26(0x115)](_0x1678b0,_0x43a250){const _0x1c30a1=_0x5cfb26;this[_0x1c30a1(0x10a)][_0x1c30a1(0x180)]({'scope':this[_0x1c30a1(0x130)],'method':_0x1678b0,'args':_0x43a250});}[_0x5cfb26(0x157)](){const _0x5e5cc7={_0x34ff15:0x142,_0x22f91c:0x142,_0x52c406:0x17f},_0x3d2b66=_0x5cfb26;if(this[_0x3d2b66(_0x5e5cc7._0x34ff15)][_0x3d2b66(0x17f)]){const _0x5468e5=this[_0x3d2b66(_0x5e5cc7._0x22f91c)][_0x3d2b66(_0x5e5cc7._0x52c406)];this[_0x3d2b66(_0x5e5cc7._0x34ff15)]['errorOnNextAction']=void 0x0;throw _0x5468e5;}}[_0x5cfb26(0x170)](){const _0x2c6bf3=_0x5cfb26;return this[_0x2c6bf3(0x132)];}async['title'](){const _0x476903=_0x5cfb26;return this['record'](_0x476903(0x145),[]),'fake\x20title';}async[_0x5cfb26(0x121)](_0x5689ae,_0x50d961){const _0x5984f1={_0x1b3b11:0x157},_0x394bb5=_0x5cfb26;this[_0x394bb5(0x115)](_0x394bb5(0x121),[_0x5689ae,_0x50d961]),this[_0x394bb5(_0x5984f1._0x1b3b11)](),this[_0x394bb5(0x14e)]?.();}async[_0x5cfb26(0x17e)](_0x26edcb,_0x3ea071){const _0x5af4b4={_0x3a1ff0:0x115},_0x485e0a=_0x5cfb26;this[_0x485e0a(_0x5af4b4._0x3a1ff0)](_0x485e0a(0x17e),[_0x26edcb,_0x3ea071]),this[_0x485e0a(0x157)]();}async[_0x5cfb26(0x10f)](_0x59bb16,_0x4cda2c,_0x33fe53){const _0x39ad26=_0x5cfb26;this[_0x39ad26(0x115)](_0x39ad26(0x10f),[_0x59bb16,_0x4cda2c,_0x33fe53]),this[_0x39ad26(0x157)]();}async[_0x5cfb26(0x153)](_0x958d0b,_0x5dadc5,_0xe1d820){const _0x32000f={_0x741121:0x157},_0x13f8d0=_0x5cfb26;this[_0x13f8d0(0x115)]('press',[_0x958d0b,_0x5dadc5,_0xe1d820]),this[_0x13f8d0(_0x32000f._0x741121)]();}async[_0x5cfb26(0x173)](_0x218ecf,_0x52db21){const _0x423213=_0x5cfb26;this[_0x423213(0x115)](_0x423213(0x173),[_0x218ecf,_0x52db21]),this['maybeThrow']();}async[_0x5cfb26(0x12c)](_0x22c9ea,_0x4c68d6){const _0x5da986={_0x59da88:0x115,_0xa8924a:0x157},_0x432810=_0x5cfb26;this[_0x432810(_0x5da986._0x59da88)]('uncheck',[_0x22c9ea,_0x4c68d6]),this[_0x432810(_0x5da986._0xa8924a)]();}async[_0x5cfb26(0x143)](_0x54cb61,_0x81f60c,_0x3bfe09){const _0x592f9d=_0x5cfb26;this['record'](_0x592f9d(0x143),[_0x54cb61,_0x81f60c,_0x3bfe09]),this[_0x592f9d(0x157)]();}async[_0x5cfb26(0x14f)](_0x5de9f7,_0x3dc7ce){const _0x582d2a={_0x10a658:0x14f,_0x5e28ff:0x157},_0x3b2ac1=_0x5cfb26;this['record'](_0x3b2ac1(_0x582d2a._0x10a658),[_0x5de9f7,_0x3dc7ce]),this[_0x3b2ac1(_0x582d2a._0x5e28ff)]();}async[_0x5cfb26(0x149)](_0x255ced){const _0x6a69c7={_0xed566d:0x149},_0x56ff0c=_0x5cfb26;this[_0x56ff0c(0x115)](_0x56ff0c(_0x6a69c7._0xed566d),[_0x255ced]),this['maybeThrow']();}async[_0x5cfb26(0x15b)](_0x688760,_0x1bfc82,_0x39101b){const _0x3deda4={_0x52a34c:0x157},_0x8f28d5=_0x5cfb26;this[_0x8f28d5(0x115)]('dragAndDrop',[_0x688760,_0x1bfc82,_0x39101b]),this[_0x8f28d5(_0x3deda4._0x52a34c)]();}async['uploadFile'](_0x2949da,_0x423677){const _0x4db566=_0x5cfb26;this[_0x4db566(0x115)](_0x4db566(0x151),[_0x2949da,_0x423677]),this['maybeThrow']();}async[_0x5cfb26(0x127)](_0x17a596,_0x1ccbe0){const _0x20736f=_0x5cfb26;this[_0x20736f(0x115)](_0x20736f(0x127),[_0x17a596,_0x1ccbe0]),this[_0x20736f(0x157)]();}async[_0x5cfb26(0x15e)](_0x33471d){const _0x1acc78={_0x56c56d:0x13c},_0x3a00a3=_0x5cfb26;return this['record'](_0x3a00a3(0x15e),[_0x33471d]),this['behavior'][_0x3a00a3(_0x1acc78._0x56c56d)]??0x1;}async[_0x5cfb26(0x16f)](_0x351183){const _0x188201={_0x183f72:0x142,_0x3522a4:0x14a},_0x2e14dc=_0x5cfb26;return this['record']('textContent',[_0x351183]),this[_0x2e14dc(_0x188201._0x183f72)][_0x2e14dc(_0x188201._0x3522a4)]??'';}async['inputValue'](_0x2a5229){const _0x36da64={_0x3f7b64:0x142,_0xcdff6c:0x16b},_0x477816=_0x5cfb26;return this[_0x477816(0x115)](_0x477816(0x155),[_0x2a5229]),this[_0x477816(_0x36da64._0x3f7b64)][_0x477816(_0x36da64._0xcdff6c)]??'';}async[_0x5cfb26(0x15f)](_0x32a856){const _0x3e2a01={_0x14efdb:0x15f},_0x48a4f3=_0x5cfb26;return this[_0x48a4f3(0x115)](_0x48a4f3(_0x3e2a01._0x14efdb),[_0x32a856]),this['behavior']['checkedStateByDefault']??null;}async[_0x5cfb26(0x11e)](_0x373772){const _0x481a94={_0x522383:0x11e,_0x3fbe15:0x142},_0x5b5b18=_0x5cfb26;return this[_0x5b5b18(0x115)](_0x5b5b18(_0x481a94._0x522383),[_0x373772]),this[_0x5b5b18(_0x481a94._0x3fbe15)]['isVisibleByDefault']??!![];}async[_0x5cfb26(0x11b)](_0x145c89){const _0x3f92e9={_0x56a487:0x115,_0x1354ed:0x142,_0x4e9e4c:0x165},_0x54bd81=_0x5cfb26;return this[_0x54bd81(_0x3f92e9._0x56a487)](_0x54bd81(0x11b),[_0x145c89]),this[_0x54bd81(_0x3f92e9._0x1354ed)][_0x54bd81(_0x3f92e9._0x4e9e4c)]??![];}async[_0x5cfb26(0x12e)](_0x528541,_0x28e5d5){const _0x5b2beb={_0x6075:0x142},_0x34b8d3=_0x5cfb26;return this[_0x34b8d3(0x115)](_0x34b8d3(0x12e),[_0x528541,_0x28e5d5]),this[_0x34b8d3(_0x5b2beb._0x6075)][_0x34b8d3(0x148)]?.[_0x28e5d5]??null;}async[_0x5cfb26(0x11a)](_0x41e028,_0x2bfb95){const _0x4310fb={_0x3786a9:0x115,_0x577921:0x11a},_0x1d2c7a=_0x5cfb26;this[_0x1d2c7a(_0x4310fb._0x3786a9)](_0x1d2c7a(_0x4310fb._0x577921),[_0x41e028,_0x2bfb95]);}async[_0x5cfb26(0x13b)](_0x5a86b7,_0x41fd67){const _0x43229e={_0x2955a3:0x115},_0x85f457=_0x5cfb26;this[_0x85f457(_0x43229e._0x2955a3)]('waitForUrl',[_0x5a86b7,_0x41fd67]);}async[_0x5cfb26(0x159)](_0x21f78c,_0x58a913){const _0x6b03c2=_0x5cfb26;this['record'](_0x6b03c2(0x159),[_0x21f78c,_0x58a913]);}async[_0x5cfb26(0x112)](_0x352863){const _0x386ac5=_0x5cfb26;this[_0x386ac5(0x115)]('waitForNavigation',[_0x352863]);}async[_0x5cfb26(0x10d)](_0x3dd6a8,_0x18d591){const _0x1c0a49={_0x59d30c:0x115},_0x39ab41=_0x5cfb26;this[_0x39ab41(_0x1c0a49._0x59d30c)]('waitForLoadState',[_0x3dd6a8,_0x18d591]);}async[_0x5cfb26(0x14c)](_0x38c535,_0x38ff0d){const _0x24a955={_0x436177:0x115,_0x27c82f:0x132},_0x2084c4=_0x5cfb26;this[_0x2084c4(_0x24a955._0x436177)](_0x2084c4(0x14c),[_0x38c535,_0x38ff0d]),this[_0x2084c4(_0x24a955._0x27c82f)]=_0x38c535;}async['reload'](_0x5783df){const _0x2c6813=_0x5cfb26;this[_0x2c6813(0x115)](_0x2c6813(0x135),[_0x5783df]);}async['goBack'](_0x2ab8f3){const _0x166e97={_0x1fc93d:0x124},_0x55b0a5=_0x5cfb26;this['record'](_0x55b0a5(_0x166e97._0x1fc93d),[_0x2ab8f3]);}async[_0x5cfb26(0x111)](_0x6694fc){const _0x4cf8a8={_0x4aaf25:0x115,_0x455b9f:0x111},_0x2781de=_0x5cfb26;this[_0x2781de(_0x4cf8a8._0x4aaf25)](_0x2781de(_0x4cf8a8._0x455b9f),[_0x6694fc]);}async[_0x5cfb26(0x14b)](_0x44a1d6){const _0x94de0a=_0x5cfb26;return this['record'](_0x94de0a(0x14b),[_0x44a1d6]),void 0x0;}async[_0x5cfb26(0x182)](_0x4bc628,_0x4856b3){const _0x2a576f=_0x5cfb26;return this['record'](_0x2a576f(0x182),[_0x4bc628,_0x4856b3]),void 0x0;}async['inspectElement'](_0xd63746){const _0x4f622b={_0x35b213:0x17a,_0x4f5507:0x172,_0x1ce21e:0x15d},_0x5303f9=_0x5cfb26;this['record'](_0x5303f9(_0x4f622b._0x35b213),[_0xd63746]);if(_0xd63746['steps'][_0x5303f9(0x15c)]!==0x1||_0xd63746[_0x5303f9(0x15d)][0x0][_0x5303f9(0x158)]!==_0x5303f9(_0x4f622b._0x4f5507))return null;const _0x4fe4b3=_0xd63746[_0x5303f9(_0x4f622b._0x1ce21e)][0x0][_0x5303f9(_0x4f622b._0x4f5507)],_0x4da019=this['behavior'][_0x5303f9(0x12f)]?.[_0x4fe4b3];return _0x4da019??null;}async[_0x5cfb26(0x174)](_0x183482){const _0x177147={_0xb2748f:0x178,_0x4c6f16:0x169},_0x51527a=_0x5cfb26;return this[_0x51527a(0x115)](_0x51527a(0x174),[_0x183482]),Buffer[_0x51527a(_0x177147._0xb2748f)](_0x51527a(_0x177147._0x4c6f16));}async[_0x5cfb26(0x122)](_0xdff201){const _0x409389={_0x3a6d56:0x172,_0x2312ed:0x156,_0xc9ca1a:0x146},_0x5cd995=_0x5cfb26;this['record'](_0x5cd995(0x122),[_0xdff201]);if(_0xdff201['steps']['length']===0x1&&_0xdff201[_0x5cd995(0x15d)][0x0]['kind']===_0x5cd995(_0x409389._0x3a6d56)){const _0x7019b=_0xdff201[_0x5cd995(0x15d)][0x0][_0x5cd995(0x172)];return this[_0x5cd995(0x142)][_0x5cd995(0x117)]?.[_0x7019b]??'<div\x20data-unotest-ref=\x22'+_0x7019b+_0x5cd995(_0x409389._0x2312ed);}return _0x5cd995(_0x409389._0xc9ca1a);}},FakeContext=class{constructor(_0x26da35,_0x15a427,_0x41b195){const _0x2bc458={_0x1c21ae:0x142,_0x422694:0x130,_0x139886:0x152,_0x17c755:0x14e,_0x18bbbe:0x136,_0x2ea2c2:0x113},_0xfc6731=_0x5cfb26;this[_0xfc6731(0x10a)]=_0x26da35,this[_0xfc6731(_0x2bc458._0x1c21ae)]=_0x15a427,this[_0xfc6731(_0x2bc458._0x422694)]=_0x41b195;const _0x538e5b=new FakePage(_0x26da35,_0x15a427,_0x41b195+'.page0',_0x15a427[_0xfc6731(0x11c)]??'about:blank');_0x15a427[_0xfc6731(_0x2bc458._0x139886)]&&(_0x538e5b[_0xfc6731(_0x2bc458._0x17c755)]=()=>{const _0x3fe0ab=_0xfc6731;this[_0x3fe0ab(0x13d)](_0x15a427['popupOnClick']);}),this[_0xfc6731(_0x2bc458._0x18bbbe)]=[_0x538e5b],this[_0xfc6731(0x10c)]={..._0x15a427['localStorage']??{}},this['cookieState']={..._0x15a427[_0xfc6731(_0x2bc458._0x2ea2c2)]??{}};}[_0x5cfb26(0x10a)];[_0x5cfb26(0x142)];[_0x5cfb26(0x130)];static{__name(this,_0x5cfb26(0x181));}[_0x5cfb26(0x136)];[_0x5cfb26(0x129)]=0x0;[_0x5cfb26(0x16a)]=[];[_0x5cfb26(0x10c)];[_0x5cfb26(0x12b)];[_0x5cfb26(0x110)]=new Set();['record'](_0x4a6d7b,_0x2e337c){const _0x570d8d=_0x5cfb26;this[_0x570d8d(0x10a)][_0x570d8d(0x180)]({'scope':this[_0x570d8d(0x130)],'method':_0x4a6d7b,'args':_0x2e337c});}[_0x5cfb26(0x141)](){return this['pageList'];}[_0x5cfb26(0x17c)](){const _0x386904={_0x2a0cc7:0x136,_0x45cd99:0x129,_0x3838ba:0x177},_0x2c5030=_0x5cfb26,_0x25f98a=this[_0x2c5030(_0x386904._0x2a0cc7)][this[_0x2c5030(_0x386904._0x45cd99)]];if(!_0x25f98a)throw new DriverError(_0x2c5030(_0x386904._0x3838ba),{'activeIdx':this[_0x2c5030(_0x386904._0x45cd99)]});return _0x25f98a;}['consoleEntries'](){const _0x16062a={_0x494486:0x17d},_0x160e23=_0x5cfb26;return this[_0x160e23(0x142)][_0x160e23(_0x16062a._0x494486)]??[];}[_0x5cfb26(0x137)](){const _0x12e655=_0x5cfb26;return this[_0x12e655(0x142)][_0x12e655(0x137)]??[];}async[_0x5cfb26(0x13f)](_0x4c7302){const _0x47ebd7={_0x41eb90:0x15c,_0x391937:0x126,_0xc04f04:0x136},_0x4ba043=_0x5cfb26;this[_0x4ba043(0x115)]('setActivePage',[_0x4c7302]);if(_0x4c7302<0x0||_0x4c7302>=this[_0x4ba043(0x136)][_0x4ba043(_0x47ebd7._0x41eb90)])throw new DriverError(_0x4ba043(_0x47ebd7._0x391937),{'index':_0x4c7302,'available':this[_0x4ba043(_0x47ebd7._0xc04f04)][_0x4ba043(0x15c)]});this[_0x4ba043(0x129)]=_0x4c7302,this['frameStack']['length']=0x0;}['onNewPage'](_0x45bd51){const _0x4b3db0={_0x181f6f:0x110},_0x20258f=_0x5cfb26;return subscribe(this[_0x20258f(_0x4b3db0._0x181f6f)],_0x45bd51);}[_0x5cfb26(0x13d)](_0x3d3630){const _0x2f2740={_0xfdd8db:0x130,_0x220d3a:0x10a,_0x266b2d:0x136},_0x533576=_0x5cfb26,_0x382af7=this[_0x533576(_0x2f2740._0xfdd8db)]+'.page'+this['pageList'][_0x533576(0x15c)],_0x58debd=new FakePage(this[_0x533576(_0x2f2740._0x220d3a)],this[_0x533576(0x142)],_0x382af7,_0x3d3630);this['pageList']['push'](_0x58debd);const _0x8fc3b1=this[_0x533576(_0x2f2740._0x266b2d)][_0x533576(0x15c)]-0x1;for(const _0xe17fd9 of this[_0x533576(0x110)]){try{_0xe17fd9({'index':_0x8fc3b1,'url':_0x3d3630});}catch{}}return _0x8fc3b1;}[_0x5cfb26(0x128)](_0x4370a8){const _0x36b274={_0x3ec48d:0x136,_0x37c54b:0x15c},_0x5ab317=_0x5cfb26;if(_0x4370a8<0x0||_0x4370a8>=this[_0x5ab317(_0x36b274._0x3ec48d)][_0x5ab317(0x15c)])throw new DriverError(_0x5ab317(0x126),{'index':_0x4370a8,'available':this[_0x5ab317(0x136)][_0x5ab317(_0x36b274._0x37c54b)]});this[_0x5ab317(0x136)]['splice'](_0x4370a8,0x1);}async[_0x5cfb26(0x147)](_0xcc7501){const _0x54ee8a={_0x1cc586:0x115},_0x1b0823=_0x5cfb26;this[_0x1b0823(_0x54ee8a._0x1cc586)](_0x1b0823(0x147),[_0xcc7501]);if(!_0xcc7501[_0x1b0823(0x15d)][_0x1b0823(0x15c)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0xcc7501});this[_0x1b0823(0x16a)][_0x1b0823(0x180)](_0xcc7501);}async[_0x5cfb26(0x162)](){const _0x589afc={_0x1b57ba:0x162},_0x57722c=_0x5cfb26;this['record'](_0x57722c(_0x589afc._0x1b57ba),[]);if(this[_0x57722c(0x16a)][_0x57722c(0x15c)]===0x0)throw new DriverError(_0x57722c(0x11f),{});this[_0x57722c(0x16a)]['pop']();}async[_0x5cfb26(0x10b)](_0x32e0b1,_0x5318c2){const _0x1441ad={_0x30c702:0x10b},_0x4b05a0=_0x5cfb26;this['record'](_0x4b05a0(_0x1441ad._0x30c702),[_0x32e0b1,_0x5318c2]),this[_0x4b05a0(0x10c)][_0x32e0b1]=_0x5318c2;}async[_0x5cfb26(0x160)](_0x53b078){const _0x1d07f0={_0x471f33:0x115},_0x1a678a=_0x5cfb26;return this[_0x1a678a(_0x1d07f0._0x471f33)]('getLocalStorage',[_0x53b078]),this[_0x1a678a(0x10c)][_0x53b078]??null;}async[_0x5cfb26(0x15a)](_0x1c02b9,_0xb06551,_0x5cc221){const _0x16d933={_0x19ecdc:0x12b},_0x3e1cd3=_0x5cfb26;this[_0x3e1cd3(0x115)]('setCookie',[_0x1c02b9,_0xb06551,_0x5cc221]),this[_0x3e1cd3(_0x16d933._0x19ecdc)][_0x1c02b9]=_0xb06551;}async['getCookie'](_0x1f1c94){const _0x50efe3={_0xc145e3:0x12b},_0x85652b=_0x5cfb26;return this['record'](_0x85652b(0x10e),[_0x1f1c94]),this[_0x85652b(_0x50efe3._0xc145e3)][_0x1f1c94]??null;}async[_0x5cfb26(0x114)](_0x5af63f){const _0x32fd25={_0x897cba:0x115},_0x4522c9=_0x5cfb26;this[_0x4522c9(_0x32fd25._0x897cba)](_0x4522c9(0x114),[_0x5af63f]);}async[_0x5cfb26(0x14b)](_0x3aa6c2){const _0x8b6ab6={_0x247f10:0x115},_0x278701=_0x5cfb26;return this[_0x278701(_0x8b6ab6._0x247f10)]('evaluate',[_0x3aa6c2]),void 0x0;}async[_0x5cfb26(0x116)](){const _0x16d698={_0x5b892f:0x115,_0x20b395:0x116},_0x11766e=_0x5cfb26;this[_0x11766e(_0x16d698._0x5b892f)](_0x11766e(_0x16d698._0x20b395),[]);}[_0x5cfb26(0x164)](){const _0x2e2fc4={_0x5f6b73:0x16a,_0x37469f:0x15c},_0x3910f6=_0x5cfb26;return this[_0x3910f6(_0x2e2fc4._0x5f6b73)][_0x3910f6(_0x2e2fc4._0x37469f)];}},FakeWebDriver=class{constructor(_0x51f512={}){const _0x2c03cf={_0x43840b:0x142},_0x4daf60=_0x5cfb26;this[_0x4daf60(_0x2c03cf._0x43840b)]=_0x51f512,this['recorder']=createRecorder();}[_0x5cfb26(0x142)];static{__name(this,_0x5cfb26(0x161));}[_0x5cfb26(0x14d)]=![];[_0x5cfb26(0x10a)];['contexts']=[];async[_0x5cfb26(0x176)](_0x392cf1){const _0x191d2c=_0x5cfb26;this[_0x191d2c(0x10a)][_0x191d2c(0x180)]({'scope':_0x191d2c(0x17b),'method':_0x191d2c(0x176),'args':[_0x392cf1]}),this['launched']=!![];}async['newContext'](_0x4de9d2){const _0x4a6e83={_0x16b496:0x10a,_0x47bf88:0x134,_0x34a34e:0x167,_0x53d507:0x15c,_0x10520b:0x180},_0x9c668b=_0x5cfb26;this[_0x9c668b(_0x4a6e83._0x16b496)][_0x9c668b(0x180)]({'scope':_0x9c668b(0x17b),'method':_0x9c668b(_0x4a6e83._0x47bf88),'args':[_0x4de9d2]});if(!this['launched'])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x86bbab=new FakeContext(this['recorder'],this[_0x9c668b(0x142)],'ctx'+this[_0x9c668b(_0x4a6e83._0x34a34e)][_0x9c668b(_0x4a6e83._0x53d507)]);return this[_0x9c668b(_0x4a6e83._0x34a34e)][_0x9c668b(_0x4a6e83._0x10520b)](_0x86bbab),_0x86bbab;}async[_0x5cfb26(0x116)](){const _0x1c192b={_0x2d7412:0x116},_0x54b301=_0x5cfb26;this[_0x54b301(0x10a)][_0x54b301(0x180)]({'scope':'driver','method':_0x54b301(_0x1c192b._0x2d7412),'args':[]}),this[_0x54b301(0x14d)]=![];}[_0x5cfb26(0x179)](){return void 0x0;}async[_0x5cfb26(0x13e)](){const _0x5505a9=_0x5cfb26;throw new DriverError(_0x5505a9(0x120),{});}['attachExisting'](){const _0x5304a3={_0x17c3b8:0x154},_0x4ccd49=_0x5cfb26;throw new DriverError(_0x4ccd49(_0x5304a3._0x17c3b8),{});}[_0x5cfb26(0x133)](){const _0xf55f93=_0x5cfb26;return this['recorder'][_0xf55f93(0x133)]();}[_0x5cfb26(0x16d)](_0x3a9993){const _0x222c6d={_0x180c5e:0x10a},_0x4e7b77=_0x5cfb26;return this[_0x4e7b77(_0x222c6d._0x180c5e)]['calls']()[_0x4e7b77(0x11d)](_0x475230=>_0x475230[_0x4e7b77(0x123)]===_0x3a9993);}};function _0x3c5a(_0x1faa9b,_0x45761b){_0x1faa9b=_0x1faa9b-0x10a;const _0x56d048=_0x56d0();let _0x3c5a0f=_0x56d048[_0x1faa9b];if(_0x3c5a['rffPZZ']===undefined){var _0xf807e=function(_0x23fdb2){const _0x546a34='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5688af='',_0x5e9f0f='';for(let _0x36020a=0x0,_0x34d435,_0x5c6d25,_0x1ed3f=0x0;_0x5c6d25=_0x23fdb2['charAt'](_0x1ed3f++);~_0x5c6d25&&(_0x34d435=_0x36020a%0x4?_0x34d435*0x40+_0x5c6d25:_0x5c6d25,_0x36020a++%0x4)?_0x5688af+=String['fromCharCode'](0xff&_0x34d435>>(-0x2*_0x36020a&0x6)):0x0){_0x5c6d25=_0x546a34['indexOf'](_0x5c6d25);}for(let _0x1e2eb1=0x0,_0x48be32=_0x5688af['length'];_0x1e2eb1<_0x48be32;_0x1e2eb1++){_0x5e9f0f+='%'+('00'+_0x5688af['charCodeAt'](_0x1e2eb1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e9f0f);};_0x3c5a['KYWstg']=_0xf807e,_0x3c5a['SsjVAW']={},_0x3c5a['rffPZZ']=!![];}const _0x54af70=_0x56d048[0x0],_0x5e0e08=_0x1faa9b+_0x54af70,_0x2efce1=_0x3c5a['SsjVAW'][_0x5e0e08];return!_0x2efce1?(_0x3c5a0f=_0x3c5a['KYWstg'](_0x3c5a0f),_0x3c5a['SsjVAW'][_0x5e0e08]=_0x3c5a0f):_0x3c5a0f=_0x2efce1,_0x3c5a0f;}export{FakeWebDriver};
|
|
1
|
+
function _0x3c6c(_0x1a3bdd,_0x28d91e){_0x1a3bdd=_0x1a3bdd-0xa4;const _0x32ca48=_0x32ca();let _0x3c6c84=_0x32ca48[_0x1a3bdd];if(_0x3c6c['MRmVxY']===undefined){var _0x16d847=function(_0x5639e3){const _0x4f1c01='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1bfe68='',_0x2341c6='';for(let _0x2412b7=0x0,_0x111b08,_0x4731b4,_0x29ca17=0x0;_0x4731b4=_0x5639e3['charAt'](_0x29ca17++);~_0x4731b4&&(_0x111b08=_0x2412b7%0x4?_0x111b08*0x40+_0x4731b4:_0x4731b4,_0x2412b7++%0x4)?_0x1bfe68+=String['fromCharCode'](0xff&_0x111b08>>(-0x2*_0x2412b7&0x6)):0x0){_0x4731b4=_0x4f1c01['indexOf'](_0x4731b4);}for(let _0x1b4808=0x0,_0x5db9b9=_0x1bfe68['length'];_0x1b4808<_0x5db9b9;_0x1b4808++){_0x2341c6+='%'+('00'+_0x1bfe68['charCodeAt'](_0x1b4808)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2341c6);};_0x3c6c['upRyko']=_0x16d847,_0x3c6c['HLMsLY']={},_0x3c6c['MRmVxY']=!![];}const _0x470aaa=_0x32ca48[0x0],_0x28dc48=_0x1a3bdd+_0x470aaa,_0x206da5=_0x3c6c['HLMsLY'][_0x28dc48];return!_0x206da5?(_0x3c6c84=_0x3c6c['upRyko'](_0x3c6c84),_0x3c6c['HLMsLY'][_0x28dc48]=_0x3c6c84):_0x3c6c84=_0x206da5,_0x3c6c84;}const _0x489524=_0x3c6c;(function(_0xab9b52,_0x298101){const _0x26350d={_0x1420e1:0x126,_0x207910:0xbd,_0x1d6cd2:0xd3,_0x23ecd6:0x122,_0x4e054e:0xac},_0x378c53=_0x3c6c,_0xc821c8=_0xab9b52();while(!![]){try{const _0x2da58f=-parseInt(_0x378c53(_0x26350d._0x1420e1))/0x1+-parseInt(_0x378c53(_0x26350d._0x207910))/0x2*(parseInt(_0x378c53(_0x26350d._0x1d6cd2))/0x3)+-parseInt(_0x378c53(0xcf))/0x4*(parseInt(_0x378c53(_0x26350d._0x23ecd6))/0x5)+-parseInt(_0x378c53(0xe9))/0x6*(-parseInt(_0x378c53(0xef))/0x7)+parseInt(_0x378c53(_0x26350d._0x4e054e))/0x8*(parseInt(_0x378c53(0xcb))/0x9)+-parseInt(_0x378c53(0xe0))/0xa*(parseInt(_0x378c53(0xe5))/0xb)+parseInt(_0x378c53(0xc5))/0xc*(parseInt(_0x378c53(0xb0))/0xd);if(_0x2da58f===_0x298101)break;else _0xc821c8['push'](_0xc821c8['shift']());}catch(_0x3004c8){_0xc821c8['push'](_0xc821c8['shift']());}}}(_0x32ca,0xf34a1));var __defProp=Object[_0x489524(0xa9)],__name=(_0x1bfe68,_0x2341c6)=>__defProp(_0x1bfe68,'name',{'value':_0x2341c6,'configurable':!![]});function subscribe(_0x2412b7,_0x111b08){return _0x2412b7['add'](_0x111b08),()=>{_0x2412b7['delete'](_0x111b08);};}__name(subscribe,_0x489524(0x127));var UnotestError=class extends Error{static{__name(this,'UnotestError');}[_0x489524(0xff)];constructor(_0x4731b4,_0x29ca17={}){const _0x5025c6={_0x374378:0xde,_0x5701e2:0xff,_0x179356:0x11e,_0x40f974:0xa4},_0x26dbf3=_0x489524;super(_0x4731b4),this[_0x26dbf3(_0x5025c6._0x374378)]=new.target.name,this[_0x26dbf3(_0x5025c6._0x5701e2)]=Object[_0x26dbf3(0xc3)]({..._0x29ca17}),typeof Error[_0x26dbf3(_0x5025c6._0x179356)]===_0x26dbf3(_0x5025c6._0x40f974)&&Error[_0x26dbf3(0x11e)](this,new.target);}},DriverError=class extends UnotestError{static{__name(this,_0x489524(0xa7));}},LocatorError=class extends UnotestError{static{__name(this,_0x489524(0xfa));}};function createRecorder(){const _0x5ac7ad={_0x5785e6:0xf4},_0x4b8fc0=_0x489524,_0x1b4808=[];let _0x5db9b9=0x0;return{'push':__name(_0x255c6c=>_0x1b4808[_0x4b8fc0(0xf4)]({..._0x255c6c,'seq':_0x5db9b9++}),_0x4b8fc0(_0x5ac7ad._0x5785e6)),'calls':__name(()=>_0x1b4808,_0x4b8fc0(0x104))};}__name(createRecorder,_0x489524(0xf7));function _0x32ca(){const _0x4de571=['rhjPDMvYrxjYB3i','rMfRzvDLyKrYAxzLCG','zgvMAw5LuhjVCgvYDhK','C2nYzwvUC2HVDa','CMvSB2fK','nJe0nZm2shnMwgj1','zhjPDMvY','y2HLy2S','zMLSBa','nZm4ntu3m1jmyKDNtG','C3rLChm','CgfNzxm','Bwf5yMvuAhjVDW','zMLSDgvY','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','D2fPDezVCLrLEhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','y29VA2LLCW','Dw5JAgvJAW','zxzHBhvHDgu','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','zw50zxjgCMfTzq','mZK3neDRsKrsuG','y2XPCgjVyxjKugfZDgu','zxHPDezYyw1L','y291BNq','rMfRzvbHz2u','zNjVBq','zNjLzxPL','BgvUz3rO','mZzozxnQyw8','C2v0qwn0AxzLugfNzq','D2fPDezVCK5HDMLNyxrPB24','C3bSAwnL','C2v0q29VA2LL','zwXLBwvUDeHPBNrcEvjLzG','mJi1r0vetLnJ','Ag92zxi','zxzHBhvHDgvpBKXVy2f0B3i','BMv3ugfNzuXPC3rLBMvYCW','mZeYntj4C25At3m','zhjHz0fUzerYB3a','y29UDgv4Dhm','DxjS','mJi4nMDnDw9osa','z2v0q29VA2LL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','zMfRzsb0AxrSzq','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','C2nYB2XSsw50B1zPzxC','CMvJB3jK','CMvM','ywjVDxq6yMXHBMS','C2vSzwn0t3b0Aw9U','B25bzNrLCKnSAwnR','BMfTzq','D2fPDezVCLvYBa','nZiYmtb1AM1rzfG','y2XPy2S','y2XVC2u','Aw5WDxrwywX1zq','Bg9JywXtDg9YywDL','mJq1m0vpyvLhva','D3nfBMrWB2LUDa','y3r4','Bg9JywXtDg9YywDLu3rHDgu','nM5gver1CG','AxneAxnHyMXLzej5rgvMyxvSDa','zxjYB3jpBK5LEhrby3rPB24','AxnwAxnPyMXLqNLezwzHDwX0','C2nVCgu','rMfRzunVBNrLEhq','mte3otG4ntDdyxb0Bhi','A2LUza','ywn0AxzLswr4','y3vYCMvUDfvYBa','C2v0tg9JywXtDg9YywDL','ChvZAa','Bwv0Ag9K','zNjHBwvtDgfJAW','y3jLyxrLuMvJB3jKzxi','D2fPDezVCG','Cg9W','tg9JyxrVCKvYCM9Y','DgL0Bgu','Bgf1BMnOzwq','lNbHz2u','ChjLC3m','y29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','Bgf1BMnO','z290BW','y2fSBhngB3i','y2fSBhm','B3v0zxjiDg1SqNLszwy','B25ozxDqywDL','C2f2zvn0B3jHz2vtDgf0zq','y2XVC2vgywTLugfNzq','zw1PDezHA2vqB3b1Ca','y29VA2LLu3rHDgu','z29gB3j3yxjK','Aw5WDxrwywX1zuj5rgvMyxvSDa','z29cywnR','y2HLy2TLzfn0yxrL','Aw5ZCgvJDevSzw1LBNq','zg91yMXLq2XPy2S','z2v0tg9JywXtDg9YywDL','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y29UBMvJDfnOyxjLza','Cg9WDxbpBKnSAwnR','BMv3q29UDgv4Da','y2HLy2TLzfn0yxrLqNLezwzHDwX0','AxnwAxnPyMXL','y291BNrcEurLzMf1Bhq','Aw5PDgLHBfvYBa','B3v0zxjive1m','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','BMv0D29YA0vUDhjPzxm','DxbSB2fKrMLSzq','y2fWDhvYzvn0ywnRvhjHy2u','yxr0ywnOrxHPC3rPBMC','CMvJB3jKzxi','iJ48l2rPDJ4','nJu1BuLps0vM','CgfNzuXPC3q','yMvOyxzPB3i','AxneAxnHyMXLza','mty2ntCXCenbuMTO','C3vIC2nYAwjL','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNvUy3rPB24','yxr0CMLIDxrLC0j5rgvMyxvSDa','y29UC29SzuvUDhjPzxm'];_0x32ca=function(){return _0x4de571;};return _0x32ca();}var FakePage=class{constructor(_0x3d5b69,_0x46a280,_0x4d06c2,_0x20533f){const _0x322e21={_0x44c3ea:0x120,_0x4e9ae8:0x124,_0x158735:0xed,_0x169cd9:0xf2},_0x2c0777=_0x489524;this[_0x2c0777(_0x322e21._0x44c3ea)]=_0x3d5b69,this[_0x2c0777(_0x322e21._0x4e9ae8)]=_0x46a280,this[_0x2c0777(_0x322e21._0x158735)]=_0x4d06c2,this[_0x2c0777(_0x322e21._0x169cd9)]=_0x20533f;}[_0x489524(0x120)];[_0x489524(0x124)];[_0x489524(0xed)];static{__name(this,_0x489524(0xc1));}['currentUrl'];[_0x489524(0xdd)];[_0x489524(0xd9)](_0x1e6831,_0x483a89){const _0x23ad15={_0x6fb3c:0xed},_0x5c5ef9=_0x489524;this[_0x5c5ef9(0x120)][_0x5c5ef9(0xf4)]({'scope':this[_0x5c5ef9(_0x23ad15._0x6fb3c)],'method':_0x1e6831,'args':_0x483a89});}[_0x489524(0xb3)](){const _0x18e8aa=_0x489524;if(this[_0x18e8aa(0x124)]['errorOnNextAction']){const _0x3520b3=this[_0x18e8aa(0x124)][_0x18e8aa(0xeb)];this['behavior'][_0x18e8aa(0xeb)]=void 0x0;throw _0x3520b3;}}[_0x489524(0xd2)](){return this['currentUrl'];}async[_0x489524(0xfb)](){const _0x1224a0={_0x15da52:0xfb,_0x1230c2:0xd6},_0x1e2f95=_0x489524;return this[_0x1e2f95(0xd9)](_0x1e2f95(_0x1224a0._0x15da52),[]),_0x1e2f95(_0x1224a0._0x1230c2);}async[_0x489524(0xe1)](_0x38a234,_0x1327cb){const _0x3f3742={_0x49cd03:0xe1},_0x3248db=_0x489524;this[_0x3248db(0xd9)](_0x3248db(_0x3f3742._0x49cd03),[_0x38a234,_0x1327cb]),this['maybeThrow'](),this[_0x3248db(0xdd)]?.();}async[_0x489524(0x110)](_0x11f0ab,_0x1bcd14){const _0x23e6a6=_0x489524;this[_0x23e6a6(0xd9)](_0x23e6a6(0x110),[_0x11f0ab,_0x1bcd14]),this['maybeThrow']();}async[_0x489524(0xaf)](_0x43e017,_0x19a1c8,_0x34758d){const _0x2af053=_0x489524;this['record'](_0x2af053(0xaf),[_0x43e017,_0x19a1c8,_0x34758d]),this['maybeThrow']();}async[_0x489524(0xfe)](_0x287bf5,_0x28573e,_0x45d6f7){const _0x2f5e91={_0x147c04:0xd9},_0x308f65=_0x489524;this[_0x308f65(_0x2f5e91._0x147c04)]('press',[_0x287bf5,_0x28573e,_0x45d6f7]),this[_0x308f65(0xb3)]();}async[_0x489524(0xae)](_0x3c5625,_0x41d7da){const _0x48c7f4={_0x334748:0xae},_0x5614d8=_0x489524;this[_0x5614d8(0xd9)](_0x5614d8(_0x48c7f4._0x334748),[_0x3c5625,_0x41d7da]),this[_0x5614d8(0xb3)]();}async[_0x489524(0xb9)](_0x4939d5,_0x4182e8){const _0x236709={_0x161f85:0xd9},_0x4ace31=_0x489524;this[_0x4ace31(_0x236709._0x161f85)](_0x4ace31(0xb9),[_0x4939d5,_0x4182e8]),this[_0x4ace31(0xb3)]();}async[_0x489524(0xdc)](_0x50578b,_0x139ef0,_0x2d4478){const _0x41cffb={_0x15ff04:0xd9,_0x3de0a6:0xdc,_0x1cbe20:0xb3},_0x25849c=_0x489524;this[_0x25849c(_0x41cffb._0x15ff04)](_0x25849c(_0x41cffb._0x3de0a6),[_0x50578b,_0x139ef0,_0x2d4478]),this[_0x25849c(_0x41cffb._0x1cbe20)]();}async[_0x489524(0xcc)](_0x2c79f1,_0x1c3d10){const _0x2228b8={_0x39c777:0xd9,_0x5836c7:0xcc},_0x1eb9b0=_0x489524;this[_0x1eb9b0(_0x2228b8._0x39c777)](_0x1eb9b0(_0x2228b8._0x5836c7),[_0x2c79f1,_0x1c3d10]),this['maybeThrow']();}async[_0x489524(0xd8)](_0x422d25){const _0x42bb45=_0x489524;this[_0x42bb45(0xd9)](_0x42bb45(0xd8),[_0x422d25]),this['maybeThrow']();}async[_0x489524(0xd0)](_0x3419fe,_0x54ce64,_0x438ccd){const _0x4cfdc2={_0x2a4853:0xd0},_0x4733f2=_0x489524;this[_0x4733f2(0xd9)](_0x4733f2(_0x4cfdc2._0x2a4853),[_0x3419fe,_0x54ce64,_0x438ccd]),this[_0x4733f2(0xb3)]();}async['uploadFile'](_0x49ed7f,_0x25ed9a){const _0xeb5421={_0x32dae4:0xd9,_0x599579:0x11d},_0x56c880=_0x489524;this[_0x56c880(_0xeb5421._0x32dae4)](_0x56c880(_0xeb5421._0x599579),[_0x49ed7f,_0x25ed9a]),this[_0x56c880(0xb3)]();}async[_0x489524(0xbe)](_0x21aca7,_0x4b7f3e){const _0xcc5df4=_0x489524;this[_0xcc5df4(0xd9)]('clipboardPaste',[_0x21aca7,_0x4b7f3e]),this['maybeThrow']();}async[_0x489524(0xc0)](_0x2cffe7){const _0x32d766={_0x399cf9:0xc0,_0x307bb3:0x124},_0x6ee272=_0x489524;return this['record'](_0x6ee272(_0x32d766._0x399cf9),[_0x2cffe7]),this[_0x6ee272(_0x32d766._0x307bb3)][_0x6ee272(0x118)]??0x1;}async['textContent'](_0x52c848){const _0x4c473d={_0x19fd88:0xd9,_0x9f212b:0x124},_0x2b2576=_0x489524;return this[_0x2b2576(_0x4c473d._0x19fd88)]('textContent',[_0x52c848]),this[_0x2b2576(_0x4c473d._0x9f212b)][_0x2b2576(0xb7)]??'';}async[_0x489524(0xe3)](_0x49e3d7){const _0x4f899e={_0x2fa5af:0xd9,_0x1f800f:0x124,_0x35849e:0x10c},_0x2ccfd5=_0x489524;return this[_0x2ccfd5(_0x4f899e._0x2fa5af)](_0x2ccfd5(0xe3),[_0x49e3d7]),this[_0x2ccfd5(_0x4f899e._0x1f800f)][_0x2ccfd5(_0x4f899e._0x35849e)]??'';}async[_0x489524(0x10e)](_0x4f398c){const _0x335e10={_0x350492:0xd9,_0x178fb6:0x116},_0x3c085f=_0x489524;return this[_0x3c085f(_0x335e10._0x350492)]('checkedState',[_0x4f398c]),this[_0x3c085f(0x124)][_0x3c085f(_0x335e10._0x178fb6)]??null;}async['isVisible'](_0x1b3db4){const _0x231e97={_0x4ad165:0x124},_0x330f3d=_0x489524;return this[_0x330f3d(0xd9)](_0x330f3d(0x117),[_0x1b3db4]),this[_0x330f3d(_0x231e97._0x4ad165)][_0x330f3d(0xec)]??!![];}async['isDisabled'](_0x74a745){const _0x5b11f7={_0x4da1c4:0x124,_0x294413:0xea},_0x2aac93=_0x489524;return this['record'](_0x2aac93(0x125),[_0x74a745]),this[_0x2aac93(_0x5b11f7._0x4da1c4)][_0x2aac93(_0x5b11f7._0x294413)]??![];}async['getAttribute'](_0x3cdd11,_0xd5ad63){const _0x3000cf={_0x509c38:0x124,_0x255568:0xa5},_0x4a7f3e=_0x489524;return this['record']('getAttribute',[_0x3cdd11,_0xd5ad63]),this[_0x4a7f3e(_0x3000cf._0x509c38)][_0x4a7f3e(_0x3000cf._0x255568)]?.[_0xd5ad63]??null;}async[_0x489524(0xf8)](_0x42c071,_0x2b1daa){const _0x6cabe8={_0x2d9f93:0xf8},_0x55060a=_0x489524;this[_0x55060a(0xd9)](_0x55060a(_0x6cabe8._0x2d9f93),[_0x42c071,_0x2b1daa]);}async[_0x489524(0xdf)](_0x3c032c,_0x2d6348){const _0x5563a0=_0x489524;this['record'](_0x5563a0(0xdf),[_0x3c032c,_0x2d6348]);}async[_0x489524(0xb6)](_0x482c04,_0x41f8ef){const _0xeb5912={_0x1ee06f:0xd9,_0x3af9c5:0xb6},_0x56bcba=_0x489524;this[_0x56bcba(_0xeb5912._0x1ee06f)](_0x56bcba(_0xeb5912._0x3af9c5),[_0x482c04,_0x41f8ef]);}async[_0x489524(0xc7)](_0x2327aa){const _0x45dfd2=_0x489524;this['record'](_0x45dfd2(0xc7),[_0x2327aa]);}async[_0x489524(0x100)](_0x537e01,_0x16a5b4){const _0x438aa4={_0x165104:0x100},_0x662a66=_0x489524;this['record'](_0x662a66(_0x438aa4._0x165104),[_0x537e01,_0x16a5b4]);}async[_0x489524(0x102)](_0x4fb23a,_0x557df2){const _0x543e60={_0x2d7888:0x102},_0x558e0d=_0x489524;this[_0x558e0d(0xd9)](_0x558e0d(_0x543e60._0x2d7888),[_0x4fb23a,_0x557df2]),this['currentUrl']=_0x4fb23a;}async[_0x489524(0xab)](_0x19dd98){const _0x20f5fa={_0x4744ce:0xd9},_0x1da2d7=_0x489524;this[_0x1da2d7(_0x20f5fa._0x4744ce)](_0x1da2d7(0xab),[_0x19dd98]);}async[_0x489524(0x10d)](_0x58fed7){const _0xe8f043=_0x489524;this['record'](_0xe8f043(0x10d),[_0x58fed7]);}async[_0x489524(0x10b)](_0x1f5720){const _0x21b5aa=_0x489524;this[_0x21b5aa(0xd9)](_0x21b5aa(0x10b),[_0x1f5720]);}async[_0x489524(0xba)](_0x310e0a){const _0x4878ac={_0x43f13b:0xd9},_0x5e7e5b=_0x489524;return this[_0x5e7e5b(_0x4878ac._0x43f13b)]('evaluate',[_0x310e0a]),void 0x0;}async[_0x489524(0xcd)](_0x47893f,_0x4ff245){const _0x48a0f1={_0x46e990:0xd9},_0xc4573b=_0x489524;return this[_0xc4573b(_0x48a0f1._0x46e990)](_0xc4573b(0xcd),[_0x47893f,_0x4ff245]),void 0x0;}async['inspectElement'](_0x3245b1){const _0x5ce1ee={_0x412cb1:0x10f,_0x276fe8:0xb1},_0x1fd411=_0x489524;this[_0x1fd411(0xd9)](_0x1fd411(_0x5ce1ee._0x412cb1),[_0x3245b1]);if(_0x3245b1[_0x1fd411(0xb1)]['length']!==0x1||_0x3245b1[_0x1fd411(_0x5ce1ee._0x276fe8)][0x0][_0x1fd411(0xf0)]!=='ref')return null;const _0x441d8f=_0x3245b1['steps'][0x0][_0x1fd411(0xda)],_0x1327bf=this[_0x1fd411(0x124)][_0x1fd411(0xca)]?.[_0x441d8f];return _0x1327bf??null;}async[_0x489524(0xaa)](_0x3254e2){const _0x29dd0a=_0x489524;return this[_0x29dd0a(0xd9)](_0x29dd0a(0xaa),[_0x3254e2]),Buffer[_0x29dd0a(0xc2)]('fake-png');}async[_0x489524(0x11a)](_0x3729f8){const _0x4553f2={_0x556f4e:0xd9,_0x51df25:0xb1,_0x4ddb80:0xc4,_0x43dd9b:0xf0,_0x2c47d9:0xda,_0x55677a:0xb1,_0x590fa8:0xda,_0x4f25f5:0x105},_0x2ff06a=_0x489524;this[_0x2ff06a(_0x4553f2._0x556f4e)]('outerHTML',[_0x3729f8]);if(_0x3729f8[_0x2ff06a(_0x4553f2._0x51df25)][_0x2ff06a(_0x4553f2._0x4ddb80)]===0x1&&_0x3729f8['steps'][0x0][_0x2ff06a(_0x4553f2._0x43dd9b)]===_0x2ff06a(_0x4553f2._0x2c47d9)){const _0x4d6862=_0x3729f8[_0x2ff06a(_0x4553f2._0x55677a)][0x0][_0x2ff06a(_0x4553f2._0x590fa8)];return this[_0x2ff06a(0x124)][_0x2ff06a(_0x4553f2._0x4f25f5)]?.[_0x4d6862]??'<div\x20data-unotest-ref=\x22'+_0x4d6862+_0x2ff06a(0x121);}return'<div></div>';}},FakeContext=class{constructor(_0x5d06a3,_0x451498,_0x5b8069){const _0x5cb520={_0x2ddaa1:0x124,_0x1d852b:0xed,_0x33effd:0xdd,_0xbb56f0:0xe4},_0x2a8e61=_0x489524;this['recorder']=_0x5d06a3,this[_0x2a8e61(_0x5cb520._0x2ddaa1)]=_0x451498,this[_0x2a8e61(_0x5cb520._0x1d852b)]=_0x5b8069;const _0x200ca8=new FakePage(_0x5d06a3,_0x451498,_0x5b8069+'.page0',_0x451498[_0x2a8e61(0x119)]??_0x2a8e61(0xdb));_0x451498[_0x2a8e61(0x114)]&&(_0x200ca8[_0x2a8e61(_0x5cb520._0x33effd)]=()=>{const _0x117f5f=_0x2a8e61;this[_0x117f5f(0x109)](_0x451498[_0x117f5f(0x114)]);}),this[_0x2a8e61(0x123)]=[_0x200ca8],this[_0x2a8e61(0xe8)]={..._0x451498[_0x2a8e61(_0x5cb520._0xbb56f0)]??{}},this[_0x2a8e61(0x10a)]={..._0x451498[_0x2a8e61(0xb8)]??{}};}['recorder'];[_0x489524(0x124)];['scope'];static{__name(this,_0x489524(0xee));}['pageList'];[_0x489524(0xf1)]=0x0;[_0x489524(0xf6)]=[];['localStorageState'];[_0x489524(0x10a)];[_0x489524(0xce)]=new Set();[_0x489524(0xd9)](_0xb9a6fe,_0x4e2d75){const _0x18ffd6={_0x471d8d:0xf4,_0x293478:0xed},_0x585d1a=_0x489524;this[_0x585d1a(0x120)][_0x585d1a(_0x18ffd6._0x471d8d)]({'scope':this[_0x585d1a(_0x18ffd6._0x293478)],'method':_0xb9a6fe,'args':_0x4e2d75});}[_0x489524(0xb2)](){const _0x216d05={_0x1c4fb2:0x123},_0x44526f=_0x489524;return this[_0x44526f(_0x216d05._0x1c4fb2)];}['activePage'](){const _0x3f8c42={_0x2f3720:0x123,_0x4287f1:0xf1},_0x520691=_0x489524,_0x5327cd=this[_0x520691(_0x3f8c42._0x2f3720)][this['activeIdx']];if(!_0x5327cd)throw new DriverError(_0x520691(0xbb),{'activeIdx':this[_0x520691(_0x3f8c42._0x4287f1)]});return _0x5327cd;}[_0x489524(0xa6)](){const _0x3cb05f=_0x489524;return this['behavior'][_0x3cb05f(0xa6)]??[];}[_0x489524(0x11c)](){const _0x58847f={_0x1e0b8e:0x124,_0x22f286:0x11c},_0x346ce2=_0x489524;return this[_0x346ce2(_0x58847f._0x1e0b8e)][_0x346ce2(_0x58847f._0x22f286)]??[];}async[_0x489524(0xc6)](_0x515bdf){const _0xb8e4d6={_0x3a23f0:0xc4,_0x2d171a:0xc4,_0x4b4e65:0xf6},_0x4ebce0=_0x489524;this['record']('setActivePage',[_0x515bdf]);if(_0x515bdf<0x0||_0x515bdf>=this[_0x4ebce0(0x123)][_0x4ebce0(_0xb8e4d6._0x3a23f0)])throw new DriverError(_0x4ebce0(0x128),{'index':_0x515bdf,'available':this[_0x4ebce0(0x123)][_0x4ebce0(_0xb8e4d6._0x2d171a)]});this['activeIdx']=_0x515bdf,this[_0x4ebce0(_0xb8e4d6._0x4b4e65)][_0x4ebce0(0xc4)]=0x0;}[_0x489524(0x106)](_0x44cca3){const _0x3dc0ad={_0x5c953e:0xce},_0x8fcff1=_0x489524;return subscribe(this[_0x8fcff1(_0x3dc0ad._0x5c953e)],_0x44cca3);}[_0x489524(0x109)](_0x314a3d){const _0x18715c={_0x189068:0xfd,_0x341229:0x123,_0x2785e2:0x124,_0x563ae4:0xc4,_0x44ba4d:0xce},_0x3ddbb8=_0x489524,_0x44bce2=this[_0x3ddbb8(0xed)]+_0x3ddbb8(_0x18715c._0x189068)+this[_0x3ddbb8(_0x18715c._0x341229)][_0x3ddbb8(0xc4)],_0x5583fd=new FakePage(this['recorder'],this[_0x3ddbb8(_0x18715c._0x2785e2)],_0x44bce2,_0x314a3d);this['pageList'][_0x3ddbb8(0xf4)](_0x5583fd);const _0x2169c6=this[_0x3ddbb8(_0x18715c._0x341229)][_0x3ddbb8(_0x18715c._0x563ae4)]-0x1;for(const _0x14575c of this[_0x3ddbb8(_0x18715c._0x44ba4d)]){try{_0x14575c({'index':_0x2169c6,'url':_0x314a3d});}catch{}}return _0x2169c6;}[_0x489524(0x108)](_0x5649b9){const _0x3f99c3={_0x353416:0xc4,_0x4ba2b9:0x123,_0x35d85c:0xc8},_0x2bdc76=_0x489524;if(_0x5649b9<0x0||_0x5649b9>=this[_0x2bdc76(0x123)][_0x2bdc76(_0x3f99c3._0x353416)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x5649b9,'available':this[_0x2bdc76(_0x3f99c3._0x4ba2b9)][_0x2bdc76(_0x3f99c3._0x353416)]});this[_0x2bdc76(0x123)][_0x2bdc76(_0x3f99c3._0x35d85c)](_0x5649b9,0x1);}async[_0x489524(0xbc)](_0x45a8ac){const _0x16dde7={_0x10cebf:0xd9,_0x4a1378:0xbc,_0x4caba2:0xd7,_0x377251:0xf4},_0x291c1a=_0x489524;this[_0x291c1a(_0x16dde7._0x10cebf)](_0x291c1a(_0x16dde7._0x4a1378),[_0x45a8ac]);if(!_0x45a8ac['steps']['length'])throw new LocatorError(_0x291c1a(_0x16dde7._0x4caba2),{'locator':_0x45a8ac});this['frameStack'][_0x291c1a(_0x16dde7._0x377251)](_0x45a8ac);}async[_0x489524(0xbf)](){const _0x16f4c4={_0x5f0d0a:0xc4,_0x5a0d6d:0xf9},_0x1679fe=_0x489524;this[_0x1679fe(0xd9)]('exitFrame',[]);if(this['frameStack'][_0x1679fe(_0x16f4c4._0x5f0d0a)]===0x0)throw new DriverError(_0x1679fe(0x112),{});this['frameStack'][_0x1679fe(_0x16f4c4._0x5a0d6d)]();}async['setLocalStorage'](_0x221f34,_0x4f9589){const _0x5efc12={_0x3842f5:0xf3,_0xa096c3:0xe8},_0x264b7e=_0x489524;this[_0x264b7e(0xd9)](_0x264b7e(_0x5efc12._0x3842f5),[_0x221f34,_0x4f9589]),this[_0x264b7e(_0x5efc12._0xa096c3)][_0x221f34]=_0x4f9589;}async[_0x489524(0x111)](_0x416e4f){const _0x57b09b={_0x344960:0xd9},_0x187402=_0x489524;return this[_0x187402(_0x57b09b._0x344960)]('getLocalStorage',[_0x416e4f]),this[_0x187402(0xe8)][_0x416e4f]??null;}async['setCookie'](_0x57625d,_0x3339cf,_0x4b9dcd){const _0x3eabb5={_0x30b4f2:0xd9},_0x99306d=_0x489524;this[_0x99306d(_0x3eabb5._0x30b4f2)](_0x99306d(0xc9),[_0x57625d,_0x3339cf,_0x4b9dcd]),this['cookieState'][_0x57625d]=_0x3339cf;}async[_0x489524(0xd4)](_0x2d6303){const _0x3634c4={_0x4569d7:0x10a},_0x580dde=_0x489524;return this[_0x580dde(0xd9)](_0x580dde(0xd4),[_0x2d6303]),this[_0x580dde(_0x3634c4._0x4569d7)][_0x2d6303]??null;}async[_0x489524(0x107)](_0x2a13c9){const _0x1cdecf={_0x249c7b:0xd9},_0x5d0fc3=_0x489524;this[_0x5d0fc3(_0x1cdecf._0x249c7b)](_0x5d0fc3(0x107),[_0x2a13c9]);}async[_0x489524(0xba)](_0x22723e){const _0x56820a=_0x489524;return this[_0x56820a(0xd9)](_0x56820a(0xba),[_0x22723e]),void 0x0;}async['close'](){const _0x185529=_0x489524;this[_0x185529(0xd9)]('close',[]);}['frameDepth'](){const _0x293629=_0x489524;return this['frameStack'][_0x293629(0xc4)];}},FakeWebDriver=class{constructor(_0x402a7f={}){const _0x4977cf={_0x12da39:0x124},_0x4217ff=_0x489524;this[_0x4217ff(_0x4977cf._0x12da39)]=_0x402a7f,this['recorder']=createRecorder();}[_0x489524(0x124)];static{__name(this,_0x489524(0xa8));}[_0x489524(0xfc)]=![];[_0x489524(0x120)];[_0x489524(0xd1)]=[];async[_0x489524(0x101)](_0xf4f548){const _0x3585c1={_0x22432a:0xf4,_0x3ba80b:0xad,_0x31be4b:0x101,_0x34cc38:0xfc},_0x57f724=_0x489524;this['recorder'][_0x57f724(_0x3585c1._0x22432a)]({'scope':_0x57f724(_0x3585c1._0x3ba80b),'method':_0x57f724(_0x3585c1._0x31be4b),'args':[_0xf4f548]}),this[_0x57f724(_0x3585c1._0x34cc38)]=!![];}async[_0x489524(0x115)](_0x42293a){const _0x24fab0={_0x4d5615:0x120,_0x1851da:0xf4,_0x16d7ce:0x11b,_0x5e1fb6:0x124,_0x15fa1e:0xe7,_0x2e1d62:0xc4,_0x4de750:0xf4},_0x38544a=_0x489524;this[_0x38544a(_0x24fab0._0x4d5615)][_0x38544a(_0x24fab0._0x1851da)]({'scope':'driver','method':'newContext','args':[_0x42293a]});if(!this[_0x38544a(0xfc)])throw new DriverError(_0x38544a(_0x24fab0._0x16d7ce),{});const _0x38567c=new FakeContext(this[_0x38544a(_0x24fab0._0x4d5615)],this[_0x38544a(_0x24fab0._0x5e1fb6)],_0x38544a(_0x24fab0._0x15fa1e)+this['contexts'][_0x38544a(_0x24fab0._0x2e1d62)]);return this[_0x38544a(0xd1)][_0x38544a(_0x24fab0._0x4de750)](_0x38567c),_0x38567c;}async[_0x489524(0xe2)](){const _0x428667={_0x3f49f0:0x120,_0x2d1a1f:0xf4},_0x16734a=_0x489524;this[_0x16734a(_0x428667._0x3f49f0)][_0x16734a(_0x428667._0x2d1a1f)]({'scope':_0x16734a(0xad),'method':'close','args':[]}),this['launched']=![];}[_0x489524(0xe6)](){return void 0x0;}async[_0x489524(0x113)](){const _0x50aa08=_0x489524;throw new DriverError(_0x50aa08(0xd5),{});}[_0x489524(0x11f)](){const _0x3eafd4=_0x489524;throw new DriverError(_0x3eafd4(0xb5),{});}['calls'](){const _0x1003b7=_0x489524;return this[_0x1003b7(0x120)]['calls']();}[_0x489524(0x103)](_0xbe83ec){const _0x482897=_0x489524;return this[_0x482897(0x120)]['calls']()[_0x482897(0xb4)](_0x504093=>_0x504093[_0x482897(0xf5)]===_0xbe83ec);}};export{FakeWebDriver};
|