@unotest/web 0.26.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,86 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.27.0] - 2026-08-31
4
+
5
+ ### Minor Changes
6
+
7
+ - `viewer` starts quietly: the Nest boot log (a line per module and
8
+ route) no longer floods the terminal — you get the viewer URL and
9
+ nothing else. Errors and warnings still print; `UNOTEST_DEBUG=1`
10
+ brings the full boot map back.
11
+
12
+ - The LOCAL viewer now shows the same effective schedule set a box
13
+ would run — what you see is what a push ships, 1:1.
14
+
15
+ - Locally the schedule registry reads the merged set through
16
+ `schedules --json` (the same path a box uses): config-declared
17
+ entries are finally visible, marked read-only ("declared in
18
+ `unotest.config` — edit it there"); yaml entries stay editable as
19
+ before. A runner without a schedules command falls back to the
20
+ yaml half.
21
+ - `bundle push` records a fingerprint of the effective set in the
22
+ bundle manifest. The box re-computes the set in its own environment
23
+ and — when a config that reads `process.env` computes something
24
+ different there — warns in its log, and the deployed viewer shows a
25
+ drift line instead of letting "what I see is what I pushed" stand.
26
+ - `bundle push` now refuses to pack a project whose schedules
27
+ registry cannot be read — the same broken yaml used to upload fine
28
+ and un-schedule the suite on the box.
29
+ - `npx @unotest/web schedules` marks entries outside the previewable
30
+ cron subset (`not previewable — an executor may drop it`), and the
31
+ new `--check` flag turns that mark into a non-zero exit for a
32
+ pre-push hook or a CI gate.
33
+
34
+ - Schedules stop lying on a box, and a wrong cron is caught before the
35
+ push.
36
+
37
+ - `npx @unotest/web schedules` now previews every entry's next run —
38
+ `next tomorrow 03:00` — on this machine's clock (an executor ticks
39
+ in its own timezone, and the output says so). Expressions outside
40
+ the schedule-builder subset are shown verbatim, never guessed at.
41
+ - On a box the viewer shows the EFFECTIVE schedule set — the config's
42
+ `schedules` merged with `unotest/schedules.yaml`, read through the
43
+ project's own CLI — as read-only, with a badge: schedules are
44
+ declared in the repo, and the box runs whatever the deployed bundle
45
+ declares. Editing there used to write into a disposable bundle copy
46
+ nothing ever re-read; now the popup points at the repo and the API
47
+ refuses the write (403).
48
+
49
+ - c843d21: Schedules from the viewer — for collections and single tests.
50
+
51
+ Right-click a test or a collection in the viewer → **Schedule…**: a
52
+ human schedule builder (frequency select — every 5/15 min, hourly,
53
+ every 2/4/6/12 h, daily, weekly — plus toggle badges for minutes,
54
+ hours and weekdays; multi-select, so `04` + `16` × `00` + `30` runs
55
+ four times a day). Saved to `unotest/schedules.yaml`, versioned next
56
+ to the tests; a box applies it after commit & sync. The Home screen
57
+ gains a `last run | schedule` toggle: in schedule mode tiles are
58
+ tinted by how often a test runs (grey = not scheduled), with an
59
+ upcoming list and per-tile next-run times in your browser's clock.
60
+
61
+ Under the hood:
62
+
63
+ - `unotest/schedules.yaml` is a new schedule registry; `unotest-web
64
+ schedules [--json]` prints it merged with the config's `schedules`
65
+ (the file wins on a duplicate target), so boxes pick both up
66
+ unchanged.
67
+ - A schedule entry may now target a single test: `scenario:
68
+ <ref>` instead of `collection: <name>`.
69
+ - `unotest-web e2e <name> --scheduled[=index]` runs a test the way its
70
+ entry says (env + prepare, exit 94 when prepare fails) — the
71
+ per-test mirror of `collection --scheduled`.
72
+ - Viewer server: `GET/PUT /api/schedules` (validated by the same
73
+ parser the CLI reads the file with).
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [c843d21]
78
+ - @unotest/protocol@0.27.0
79
+ - @unotest/viewer@0.27.0
80
+ - @unotest/core@0.27.0
81
+ - @unotest/dsl@0.27.0
82
+ - @unotest/grounder-client@0.27.0
83
+
3
84
  ## [0.26.1] - 2026-08-30
4
85
 
5
86
  ### Patch Changes
package/README.md CHANGED
@@ -77,7 +77,24 @@ still run in parallel inside it.
77
77
 
78
78
  ### Running on a schedule
79
79
 
80
- Declare what should run on its own next to the tests it runs:
80
+ The easiest way: open the viewer, right-click a test or a collection
81
+ **Schedule…** and pick when it runs. That saves to
82
+ `unotest/schedules.yaml` — a plain file, versioned next to the tests it
83
+ runs, so a box picks it up with your next push:
84
+
85
+ ```yaml
86
+ # unotest/schedules.yaml
87
+ schedules:
88
+ - collection: nightly
89
+ cron: "0 3 * * *"
90
+ - scenario: checkout/happy-path
91
+ cron: "0,30 4,16 * * *"
92
+ env: staging
93
+ ```
94
+
95
+ Hand-written setups can keep declaring `schedules: [...]` in
96
+ `unotest.config` — both sources merge, the yaml wins on a duplicate
97
+ target:
81
98
 
82
99
  ```js
83
100
  // unotest.config.mjs
@@ -89,11 +106,28 @@ export default {
89
106
  };
90
107
  ```
91
108
 
92
- `npx @unotest/web schedules` prints them. Nothing in the CLI ticks: cron
93
- is executed by whatever hosts your runs your CI, or a box so a clone
94
- of your repo never starts running suites in the background. Run one now
95
- with `npx @unotest/web collection nightly --scheduled` (that also runs its
96
- `prepare` command, inside the same run slot).
109
+ `npx @unotest/web schedules` prints the merged list, with a `next …`
110
+ preview per entry (your machine's clock) so a wrong cron is visible
111
+ before you push it. A hand-written expression outside the previewable
112
+ subset is marked `not previewable an executor may drop it`;
113
+ `npx @unotest/web schedules --check` turns that mark into a non-zero
114
+ exit for a pre-push hook or a CI gate. Nothing in the CLI ticks: cron is
115
+ executed by whatever hosts your runs — your CI, or a box — so a clone of
116
+ your repo never starts running suites in the background. Run one now with
117
+ `npx @unotest/web collection nightly --scheduled`, or
118
+ `npx @unotest/web e2e checkout/happy-path --scheduled` for a per-test
119
+ entry (both also run the entry's `prepare` command, inside the same run
120
+ slot).
121
+
122
+ The viewer shows this same merged list everywhere — locally the yaml
123
+ half is editable and config entries are read-only ("declared in
124
+ `unotest.config`"); on a box the whole list is read-only: the box runs
125
+ whatever the deployed bundle declares, so the place to change a schedule
126
+ is your repo — edit, push, done. What you see locally is what a push
127
+ ships, 1:1. `bundle push` also records a fingerprint of this set in the
128
+ bundle, so if your config computes `schedules` from its environment, the
129
+ box notices the difference and says so instead of silently arming
130
+ another set.
97
131
 
98
132
  ### Sending the suite to a box
99
133
 
@@ -1 +1 @@
1
- function _0x20b0(){var _0x5a1d62=['DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BMv0D29YAW','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','B3b0Aw9UywW','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BgLUDdPZy2vUyxjPBY1PBI1YB290','nZiZntG4AgjwuNbA','Dw5PB24','ntCXmZe4nvL6BuvAra','BgLUDdPLy2HVlwfZC2vYDa','BgL0zxjHBa','DhjHBNnPzw50','C3rYAw5N','y2HYB21PDw0','C3rKAw8','DMfSAwrHDg9YoMfYAxr5','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BxnLzgDL','yM9VBgvHBG','DMfSAwrHDg9YoNn0zxaTC2HHCgu','DMfSAwrHDg9YoMfYzY1RAw5K','BgLUDdPNB3rVlwnVBMnHDa','B2zM','mtqYmZGYoeHkz0zHva','Cg9ZAxrPDMu','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','B2jQzwn0','mtm5mdKYmhvjz2PTEq','zMLYzwzVEa','mte3mZe5owPHA3PutG','lNvUB3rLC3qVzMfPBhvYzxm','DMfSAwrHDg9YoMzVCI1ZAgfWzq','ntK4mdKZofDnzLH1Ba','zgLZBwLZCW','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','Aw50','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','BwLU','DxjS','DMfSAwrHDg9YoMXPC3qTyxjN','BNvSBa','ywnJzxb0','Bwf4','zgvMyxvSDa','yxjYyxK','zxjYB3i','Dw5VDgvZDc9LmMu','ndy1otuYqwzWrfvZ','DMfSAwrHDg9YoNzHCI1ZAgfWzq','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoMLMlxnOyxbL','zw51Bq','D2fYBG','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BNvTyMvY'];_0x20b0=function(){return _0x5a1d62;};return _0x20b0();}var _0x18d8c4=_0x1b61;(function(_0x483e52,_0x421b37){var _0x55fb8a={_0x4e1e74:0x1d9,_0xf371bf:0x1c3},_0x16126e=_0x1b61,_0x49abc8=_0x483e52();while(!![]){try{var _0x29b3c1=parseInt(_0x16126e(_0x55fb8a._0x4e1e74))/0x1+parseInt(_0x16126e(0x1c1))/0x2+-parseInt(_0x16126e(0x1d7))/0x3+-parseInt(_0x16126e(0x1ec))/0x4+-parseInt(_0x16126e(_0x55fb8a._0xf371bf))/0x5+parseInt(_0x16126e(0x1dc))/0x6+-parseInt(_0x16126e(0x1d2))/0x7;if(_0x29b3c1===_0x421b37)break;else _0x49abc8['push'](_0x49abc8['shift']());}catch(_0x479238){_0x49abc8['push'](_0x49abc8['shift']());}}}(_0x20b0,0x93dcf));function _0x1b61(_0xf86022,_0x44c7f0){_0xf86022=_0xf86022-0x1bd;var _0x20b003=_0x20b0();var _0x1b6183=_0x20b003[_0xf86022];if(_0x1b61['HlmCyi']===undefined){var _0x33860d=function(_0xb3b745){var _0x57e223='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3595a1='',_0x5dde2f='';for(var _0x3deded=0x0,_0x1d704f,_0x2b1a71,_0x2b6476=0x0;_0x2b1a71=_0xb3b745['charAt'](_0x2b6476++);~_0x2b1a71&&(_0x1d704f=_0x3deded%0x4?_0x1d704f*0x40+_0x2b1a71:_0x2b1a71,_0x3deded++%0x4)?_0x3595a1+=String['fromCharCode'](0xff&_0x1d704f>>(-0x2*_0x3deded&0x6)):0x0){_0x2b1a71=_0x57e223['indexOf'](_0x2b1a71);}for(var _0x56ece8=0x0,_0x14ee7c=_0x3595a1['length'];_0x56ece8<_0x14ee7c;_0x56ece8++){_0x5dde2f+='%'+('00'+_0x3595a1['charCodeAt'](_0x56ece8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5dde2f);};_0x1b61['OHdqFs']=_0x33860d,_0x1b61['fPmlGC']={},_0x1b61['HlmCyi']=!![];}var _0x6d98ec=_0x20b003[0x0],_0x57b7ad=_0xf86022+_0x6d98ec,_0x5c5be6=_0x1b61['fPmlGC'][_0x57b7ad];return!_0x5c5be6?(_0x1b6183=_0x1b61['OHdqFs'](_0x1b6183),_0x1b61['fPmlGC'][_0x57b7ad]=_0x1b6183):_0x1b6183=_0x5c5be6,_0x1b6183;}import{z}from'zod';var BrowserSchema=z[_0x18d8c4(0x1f1)]([_0x18d8c4(0x1c8),_0x18d8c4(0x1d8),'webkit']),BrowserChannelSchema=z[_0x18d8c4(0x1c2)]([z[_0x18d8c4(0x1c5)]('chrome'),z['literal'](_0x18d8c4(0x1cc)),z[_0x18d8c4(0x1c5)]('chrome-beta'),z[_0x18d8c4(0x1e5)]()])['optional'](),ViewportSchema=z[_0x18d8c4(0x1d6)]({'width':z['number']()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1d3)](),'height':z[_0x18d8c4(0x1f4)]()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1d3)]()}),RetryReasonSchema=z[_0x18d8c4(0x1f1)](['transient',_0x18d8c4(0x1f6),'crash']),RetryConfigSchema=z[_0x18d8c4(0x1d6)]({'count':z[_0x18d8c4(0x1f4)]()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1e2)](0x0)[_0x18d8c4(0x1e7)](0xa),'on':z[_0x18d8c4(0x1e9)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x18d8c4(0x1d6)]({'tier1':z[_0x18d8c4(0x1c5)](!![])[_0x18d8c4(0x1e8)](!![]),'tier2':z[_0x18d8c4(0x1cd)](),'tier3':z['object']({'network':z[_0x18d8c4(0x1cd)](),'video':z[_0x18d8c4(0x1cd)]()}),'retention':z[_0x18d8c4(0x1d6)]({'runs':z[_0x18d8c4(0x1f4)]()['int']()[_0x18d8c4(0x1d3)](),'days':z['number']()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1d3)]()}),'storageDir':z['string']()[_0x18d8c4(0x1e2)](0x1)}),DialogPolicySchema=z[_0x18d8c4(0x1f1)]([_0x18d8c4(0x1e6),_0x18d8c4(0x1dd),'manual']),LinterRuleIdSchema=z['enum'](['lint:deep-css','lint:xpath','lint:obfuscated-class',_0x18d8c4(0x1ef),_0x18d8c4(0x1f3),'lint:evaluate-discouraged',_0x18d8c4(0x1c0),'lint:mustache-in-dsl',_0x18d8c4(0x1d0),'lint:regex-invalid',_0x18d8c4(0x1c4),'lint:api-call-file-body',_0x18d8c4(0x1bf),_0x18d8c4(0x1d4),_0x18d8c4(0x1bd),_0x18d8c4(0x1ca),_0x18d8c4(0x1cf),_0x18d8c4(0x1cb),_0x18d8c4(0x1ce),_0x18d8c4(0x1de),'validator:function-shape',_0x18d8c4(0x1db),_0x18d8c4(0x1f0),_0x18d8c4(0x1ed),_0x18d8c4(0x1e1),'validator:unsupported-expression',_0x18d8c4(0x1df),_0x18d8c4(0x1f5),_0x18d8c4(0x1e4),_0x18d8c4(0x1d5)]),LinterSeveritySchema=z[_0x18d8c4(0x1f1)]([_0x18d8c4(0x1d1),'warn',_0x18d8c4(0x1ea)]),LinterConfigSchema=z[_0x18d8c4(0x1d6)]({'enabled':z[_0x18d8c4(0x1cd)](),'rules':z['record'](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x18d8c4(0x1d6)]({'enabled':z['boolean']()['default'](!![]),'concurrency':z[_0x18d8c4(0x1f4)]()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1d3)]()['default'](0x1)}),ScheduleSchema=z[_0x18d8c4(0x1d6)]({'collection':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1),'cron':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1),'env':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1)[_0x18d8c4(0x1be)](),'prepare':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1)[_0x18d8c4(0x1be)]()}),McpConfigSchema=z[_0x18d8c4(0x1d6)]({'transport':z[_0x18d8c4(0x1c5)](_0x18d8c4(0x1c9))}),SandboxConfigSchema=z[_0x18d8c4(0x1d6)]({'shellCwd':z['string']()[_0x18d8c4(0x1be)](),'shellTimeoutMs':z[_0x18d8c4(0x1f4)]()[_0x18d8c4(0x1e0)]()['positive']()[_0x18d8c4(0x1be)](),'exportSecrets':z[_0x18d8c4(0x1e9)](z['string']())[_0x18d8c4(0x1be)](),'database':z['string']()['optional'](),'apiBaseUrl':z[_0x18d8c4(0x1c7)]()['url']()['optional'](),'uploadDir':z[_0x18d8c4(0x1c7)]()['optional']()}),WebServerConfigSchema=z['object']({'command':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1),'url':z['string']()[_0x18d8c4(0x1e3)](),'reuseExistingServer':z['boolean']()[_0x18d8c4(0x1e8)](!![]),'timeoutMs':z['number']()[_0x18d8c4(0x1e0)]()['positive']()['default'](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e3)]()[_0x18d8c4(0x1be)](),'webServer':WebServerConfigSchema[_0x18d8c4(0x1be)](),'browsers':z[_0x18d8c4(0x1e9)](BrowserSchema)[_0x18d8c4(0x1e2)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z['string']()[_0x18d8c4(0x1be)](),'testDir':z['string']()[_0x18d8c4(0x1e2)](0x1),'helpersDir':z[_0x18d8c4(0x1c7)]()[_0x18d8c4(0x1e2)](0x1),'defaultTimeoutMs':z['number']()['int']()[_0x18d8c4(0x1d3)](),'defaultNavigationTimeoutMs':z[_0x18d8c4(0x1f4)]()[_0x18d8c4(0x1e0)]()[_0x18d8c4(0x1d3)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x18d8c4(0x1e9)](ScheduleSchema)[_0x18d8c4(0x1e8)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x18d8c4(0x1c8)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x18d8c4(0x1c6)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x18d8c4(0x1da)},'dialogPolicy':_0x18d8c4(0x1e6),'testDir':_0x18d8c4(0x1eb),'helpersDir':_0x18d8c4(0x1ee),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x18d8c4(0x1f2),'lint:xpath':_0x18d8c4(0x1f2),'lint:obfuscated-class':_0x18d8c4(0x1f2),'lint:pause-explicit':_0x18d8c4(0x1f2),'lint:disambig-by-index':_0x18d8c4(0x1d1),'lint:evaluate-discouraged':_0x18d8c4(0x1f2),'lint:scenario-in-root':_0x18d8c4(0x1ea),'lint:mustache-in-dsl':_0x18d8c4(0x1ea),'lint:goto-concat':_0x18d8c4(0x1f2),'lint:regex-invalid':'error','lint:echo-assert':_0x18d8c4(0x1f2),'lint:lint-ok-missing-reason':_0x18d8c4(0x1f2),'lint:flow-returns-value':_0x18d8c4(0x1f2),'validator:unknown-function':_0x18d8c4(0x1ea)}},'mcp':{'transport':_0x18d8c4(0x1c9)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
1
+ var _0x5d7336=_0x5259;function _0xb439(){var _0x28f7b1=['BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','BgL0zxjHBa','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','ouzzqvLcwG','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','zxjYB3i','DhjHBNnPzw50','mJu4mZC4nNzsAxrvrW','BgLUDdPZy2vUyxjPBY1PBI1YB290','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','B2zM','BwfUDwfS','Dw5VDgvZDc9LmMu','yM9VBgvHBG','B2jQzwn0','BgLUDdPYzwDLEc1PBNzHBgLK','zw51Bq','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','C3rKAw8','mtKXnZiWueX3surv','BNvSBa','Cg9ZAxrPDMu','DMfSAwrHDg9YoMLMlxnOyxbL','C3rYAw5N','mZLQEurxyuC','odLZvKfetfO','mta4mZqZmtjnAuncz1e','BgLUDdP4Cgf0Aa','yxjYyxK','nJGZnJuXnvnsyKPLrG','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPKzwvWlwnZCW','zgLZBwLZCW','DMfSAwrHDg9YoMXPC3qTyxjN','CMvJB3jK','mtrtr0nluMu','ywnJzxb0','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mZu3nNzZuNH4ra','Dw5PB24','mZq1ndH2wwnlr1O','BMv0D29YAW','BgLUDdPWyxvZzs1LEhbSAwnPDa','Bwf4','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','zgvMyxvSDa','BNvTyMvY','y3jHC2G','BxnLzgDL','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BwLU','Aw50','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','lNvUB3rLC3qVzMfPBhvYzxm','B3b0Aw9UywW','zMLYzwzVEa','DMfSAwrHDg9YoMfYzY1RAw5K','nJK5otjKteDyA0e','y2HYB21LlwjLDge','mtq4otrcAhbPuve','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','DMfSAwrHDg9YoM1LDgeTC2HHCgu','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','y2HYB21PDw0','DMfSAwrHDg9YoMfYAxr5','DxjS','D2fYBG'];_0xb439=function(){return _0x28f7b1;};return _0xb439();}(function(_0x16be9c,_0x34db06){var _0x50d4a4={_0x4969f5:0xc4,_0x348307:0xd3,_0x1a9309:0xa0,_0x578c7a:0xc8,_0x3d8087:0xae,_0x1b4331:0xbe,_0x3a9e62:0xa2},_0x561cf2=_0x5259,_0x4ada53=_0x16be9c();while(!![]){try{var _0x3f7d24=-parseInt(_0x561cf2(_0x50d4a4._0x4969f5))/0x1*(parseInt(_0x561cf2(_0x50d4a4._0x348307))/0x2)+parseInt(_0x561cf2(0xc3))/0x3*(parseInt(_0x561cf2(_0x50d4a4._0x1a9309))/0x4)+parseInt(_0x561cf2(_0x50d4a4._0x578c7a))/0x5+-parseInt(_0x561cf2(0xb2))/0x6*(parseInt(_0x561cf2(0xce))/0x7)+-parseInt(_0x561cf2(0xc5))/0x8*(-parseInt(_0x561cf2(_0x50d4a4._0x3d8087))/0x9)+parseInt(_0x561cf2(_0x50d4a4._0x1b4331))/0xa+parseInt(_0x561cf2(_0x50d4a4._0x3a9e62))/0xb*(parseInt(_0x561cf2(0xd1))/0xc);if(_0x3f7d24===_0x34db06)break;else _0x4ada53['push'](_0x4ada53['shift']());}catch(_0x16ef8e){_0x4ada53['push'](_0x4ada53['shift']());}}}(_0xb439,0xed91a));import{z}from'zod';function _0x5259(_0x153dfe,_0x595c9d){_0x153dfe=_0x153dfe-0x8f;var _0xb43951=_0xb439();var _0x52591a=_0xb43951[_0x153dfe];if(_0x5259['zYtTyp']===undefined){var _0x388f67=function(_0x91fd2e){var _0xd1cb42='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5c83ec='',_0xa06308='';for(var _0x3542e7=0x0,_0x512f99,_0x1a96a7,_0x50ddfb=0x0;_0x1a96a7=_0x91fd2e['charAt'](_0x50ddfb++);~_0x1a96a7&&(_0x512f99=_0x3542e7%0x4?_0x512f99*0x40+_0x1a96a7:_0x1a96a7,_0x3542e7++%0x4)?_0x5c83ec+=String['fromCharCode'](0xff&_0x512f99>>(-0x2*_0x3542e7&0x6)):0x0){_0x1a96a7=_0xd1cb42['indexOf'](_0x1a96a7);}for(var _0x30287e=0x0,_0x3fd15a=_0x5c83ec['length'];_0x30287e<_0x3fd15a;_0x30287e++){_0xa06308+='%'+('00'+_0x5c83ec['charCodeAt'](_0x30287e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa06308);};_0x5259['vawYHx']=_0x388f67,_0x5259['kCRznC']={},_0x5259['zYtTyp']=!![];}var _0x4b65ba=_0xb43951[0x0],_0x322b1e=_0x153dfe+_0x4b65ba,_0x518784=_0x5259['kCRznC'][_0x322b1e];return!_0x518784?(_0x52591a=_0x5259['vawYHx'](_0x52591a),_0x5259['kCRznC'][_0x322b1e]=_0x52591a):_0x52591a=_0x518784,_0x52591a;}var BrowserSchema=z[_0x5d7336(0xbb)]([_0x5d7336(0xa7),_0x5d7336(0x9e),'webkit']),BrowserChannelSchema=z[_0x5d7336(0xd2)]([z['literal']('chrome'),z[_0x5d7336(0xac)](_0x5d7336(0x97)),z['literal'](_0x5d7336(0xa1)),z[_0x5d7336(0xbf)]()])[_0x5d7336(0x9d)](),ViewportSchema=z[_0x5d7336(0xb9)]({'width':z[_0x5d7336(0x95)]()[_0x5d7336(0x9a)]()[_0x5d7336(0xc0)](),'height':z['number']()['int']()[_0x5d7336(0xc0)]()}),RetryReasonSchema=z[_0x5d7336(0xbb)](['transient',_0x5d7336(0xd4),_0x5d7336(0x96)]),RetryConfigSchema=z[_0x5d7336(0xb9)]({'count':z[_0x5d7336(0x95)]()[_0x5d7336(0x9a)]()['min'](0x0)[_0x5d7336(0x90)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x5d7336(0xb9)]({'tier1':z[_0x5d7336(0xac)](!![])[_0x5d7336(0x94)](!![]),'tier2':z[_0x5d7336(0xb8)](),'tier3':z[_0x5d7336(0xb9)]({'network':z[_0x5d7336(0xb8)](),'video':z[_0x5d7336(0xb8)]()}),'retention':z[_0x5d7336(0xb9)]({'runs':z[_0x5d7336(0x95)]()['int']()[_0x5d7336(0xc0)](),'days':z[_0x5d7336(0x95)]()['int']()[_0x5d7336(0xc0)]()}),'storageDir':z['string']()[_0x5d7336(0x99)](0x1)}),DialogPolicySchema=z[_0x5d7336(0xbb)]([_0x5d7336(0xcf),_0x5d7336(0xcb),_0x5d7336(0xb6)]),LinterRuleIdSchema=z['enum']([_0x5d7336(0xca),_0x5d7336(0xc6),_0x5d7336(0xb4),_0x5d7336(0x8f),_0x5d7336(0xa6),'lint:evaluate-discouraged',_0x5d7336(0xb3),_0x5d7336(0xa4),_0x5d7336(0xa3),_0x5d7336(0xba),_0x5d7336(0xc9),_0x5d7336(0xab),_0x5d7336(0xbc),'lint:flow-returns-value','validator:unknown-function',_0x5d7336(0xa8),_0x5d7336(0x9f),_0x5d7336(0xd0),'validator:step-shape',_0x5d7336(0xa5),_0x5d7336(0xad),'validator:for-shape',_0x5d7336(0xc1),_0x5d7336(0x92),_0x5d7336(0x91),_0x5d7336(0x93),_0x5d7336(0xaf),_0x5d7336(0x98),_0x5d7336(0xcc),_0x5d7336(0x9b)]),LinterSeveritySchema=z[_0x5d7336(0xbb)]([_0x5d7336(0xb5),_0x5d7336(0xaa),_0x5d7336(0xb0)]),LinterConfigSchema=z[_0x5d7336(0xb9)]({'enabled':z[_0x5d7336(0xb8)](),'rules':z[_0x5d7336(0xcd)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x5d7336(0xb9)]({'enabled':z[_0x5d7336(0xb8)]()['default'](!![]),'concurrency':z['number']()[_0x5d7336(0x9a)]()['positive']()[_0x5d7336(0x94)](0x1)}),ScheduleSchema=z['object']({'collection':z['string']()[_0x5d7336(0x99)](0x1),'cron':z[_0x5d7336(0xc2)]()[_0x5d7336(0x99)](0x1),'env':z[_0x5d7336(0xc2)]()['min'](0x1)[_0x5d7336(0x9d)](),'prepare':z[_0x5d7336(0xc2)]()[_0x5d7336(0x99)](0x1)['optional']()}),McpConfigSchema=z['object']({'transport':z[_0x5d7336(0xac)](_0x5d7336(0xbd))}),SandboxConfigSchema=z[_0x5d7336(0xb9)]({'shellCwd':z[_0x5d7336(0xc2)]()[_0x5d7336(0x9d)](),'shellTimeoutMs':z[_0x5d7336(0x95)]()['int']()[_0x5d7336(0xc0)]()[_0x5d7336(0x9d)](),'exportSecrets':z['array'](z[_0x5d7336(0xc2)]())[_0x5d7336(0x9d)](),'database':z[_0x5d7336(0xc2)]()[_0x5d7336(0x9d)](),'apiBaseUrl':z['string']()[_0x5d7336(0xa9)]()[_0x5d7336(0x9d)](),'uploadDir':z[_0x5d7336(0xc2)]()[_0x5d7336(0x9d)]()}),WebServerConfigSchema=z[_0x5d7336(0xb9)]({'command':z[_0x5d7336(0xc2)]()['min'](0x1),'url':z[_0x5d7336(0xc2)]()['url'](),'reuseExistingServer':z[_0x5d7336(0xb8)]()[_0x5d7336(0x94)](!![]),'timeoutMs':z['number']()[_0x5d7336(0x9a)]()['positive']()[_0x5d7336(0x94)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z['string']()['url']()[_0x5d7336(0x9d)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x5d7336(0xc7)](BrowserSchema)[_0x5d7336(0x99)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x5d7336(0xc2)]()[_0x5d7336(0x9d)](),'testDir':z['string']()[_0x5d7336(0x99)](0x1),'helpersDir':z[_0x5d7336(0xc2)]()['min'](0x1),'defaultTimeoutMs':z[_0x5d7336(0x95)]()['int']()[_0x5d7336(0xc0)](),'defaultNavigationTimeoutMs':z[_0x5d7336(0x95)]()[_0x5d7336(0x9a)]()[_0x5d7336(0xc0)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x5d7336(0xc7)](ScheduleSchema)['default']([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x5d7336(0xa7)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x5d7336(0xb1)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x5d7336(0x9c)},'dialogPolicy':_0x5d7336(0xcf),'testDir':_0x5d7336(0xb7),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x5d7336(0xaa),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x5d7336(0xaa),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x5d7336(0xaa),'lint:scenario-in-root':_0x5d7336(0xb0),'lint:mustache-in-dsl':_0x5d7336(0xb0),'lint:goto-concat':_0x5d7336(0xaa),'lint:regex-invalid':_0x5d7336(0xb0),'lint:echo-assert':_0x5d7336(0xaa),'lint:lint-ok-missing-reason':_0x5d7336(0xaa),'lint:flow-returns-value':_0x5d7336(0xaa),'validator:unknown-function':_0x5d7336(0xb0)}},'mcp':{'transport':_0x5d7336(0xbd)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
1
- const _0x16c074=_0x7c15;function _0x7c15(_0xa87c37,_0x2a39b7){_0xa87c37=_0xa87c37-0x12d;const _0x24f9c6=_0x24f9();let _0x7c154a=_0x24f9c6[_0xa87c37];if(_0x7c15['ehINWC']===undefined){var _0x1cb1cd=function(_0x1c09a2){const _0x2a68c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x235a7c='',_0x4266a8='';for(let _0x42cfb7=0x0,_0x372379,_0x4b9172,_0x5e7eec=0x0;_0x4b9172=_0x1c09a2['charAt'](_0x5e7eec++);~_0x4b9172&&(_0x372379=_0x42cfb7%0x4?_0x372379*0x40+_0x4b9172:_0x4b9172,_0x42cfb7++%0x4)?_0x235a7c+=String['fromCharCode'](0xff&_0x372379>>(-0x2*_0x42cfb7&0x6)):0x0){_0x4b9172=_0x2a68c9['indexOf'](_0x4b9172);}for(let _0x1244de=0x0,_0x204f7e=_0x235a7c['length'];_0x1244de<_0x204f7e;_0x1244de++){_0x4266a8+='%'+('00'+_0x235a7c['charCodeAt'](_0x1244de)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4266a8);};_0x7c15['rHayec']=_0x1cb1cd,_0x7c15['xhMZdR']={},_0x7c15['ehINWC']=!![];}const _0x2d97b8=_0x24f9c6[0x0],_0x4b0cb8=_0xa87c37+_0x2d97b8,_0x4891a7=_0x7c15['xhMZdR'][_0x4b0cb8];return!_0x4891a7?(_0x7c154a=_0x7c15['rHayec'](_0x7c154a),_0x7c15['xhMZdR'][_0x4b0cb8]=_0x7c154a):_0x7c154a=_0x4891a7,_0x7c154a;}(function(_0x130b96,_0x50de3c){const _0x1e4ee8={_0xec422b:0x199,_0x1085bd:0x15c,_0x176409:0x179,_0x16d61f:0x194,_0x4fc65a:0x155},_0x2b971e=_0x7c15,_0x5aa858=_0x130b96();while(!![]){try{const _0x252741=-parseInt(_0x2b971e(_0x1e4ee8._0xec422b))/0x1*(parseInt(_0x2b971e(_0x1e4ee8._0x1085bd))/0x2)+parseInt(_0x2b971e(0x144))/0x3+-parseInt(_0x2b971e(0x14d))/0x4*(-parseInt(_0x2b971e(0x12f))/0x5)+-parseInt(_0x2b971e(_0x1e4ee8._0x176409))/0x6*(parseInt(_0x2b971e(0x150))/0x7)+-parseInt(_0x2b971e(_0x1e4ee8._0x16d61f))/0x8+parseInt(_0x2b971e(0x14e))/0x9+parseInt(_0x2b971e(_0x1e4ee8._0x4fc65a))/0xa*(parseInt(_0x2b971e(0x19b))/0xb);if(_0x252741===_0x50de3c)break;else _0x5aa858['push'](_0x5aa858['shift']());}catch(_0x171db9){_0x5aa858['push'](_0x5aa858['shift']());}}}(_0x24f9,0xd9df4));var __defProp=Object[_0x16c074(0x15f)],__name=(_0x235a7c,_0x4266a8)=>__defProp(_0x235a7c,_0x16c074(0x1a2),{'value':_0x4266a8,'configurable':!![]});function subscribe(_0x42cfb7,_0x372379){const _0x5315b2=_0x16c074;return _0x42cfb7[_0x5315b2(0x137)](_0x372379),()=>{const _0x18b797=_0x5315b2;_0x42cfb7[_0x18b797(0x167)](_0x372379);};}__name(subscribe,_0x16c074(0x197));import{UnotestError}from'@unotest/core';function _0x24f9(){const _0x3600d1=['ywrK','z29gB3j3yxjK','Bwv0Ag9K','ywn0AxzLswr4','z2v0q29VA2LL','rMfRzunVBNrLEhq','Ag92zxi','D2fPDezVCLvYBa','CMvM','iJ48l2rPDJ4','zxzHBhvHDgvpBKXVy2f0B3i','D3nfBMrWB2LUDa','zMLSBa','mZaWmtKZnwfMChfbwG','Cg9WDxbpBKnSAwnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','CgfNzxm','AxneAxnHyMXLzej5rgvMyxvSDa','AxnwAxnPyMXL','Bg9JywXtDg9YywDL','zMfRzs1WBMC','mJa4mZzSs1PgCvi','nJq2nZiWmLzVzu9htq','ChvZAa','n1bqrMvnsG','DxjS','Cg9W','y2HLy2TLzfn0yxrL','C2nVCgu','ndmYntbpCu9Nwha','DxbSB2fKrMLSzq','BgvUz3rO','CMvSB2fK','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','DgL0Bgu','zg91yMXLq2XPy2S','mJa1otq2mMnjsLbMtq','z2v0tg9JywXtDg9YywDL','Dgv4DenVBNrLBNq','zgvMAw5LuhjVCgvYDhK','C2nYB2XSsw50B1zPzxC','Aw5WDxrwywX1zq','C2v0tg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','BMv3q29UDgv4Da','BMv3ugfNzuXPC3rLBMvYCW','yMvOyxzPB3i','zgvSzxrL','z2v0qxr0CMLIDxrL','C2vSzwn0t3b0Aw9U','yxr0ywnOrxHPC3rPBMC','zxHPDezYyw1L','Aw5PDgLHBfvYBa','Bgf1BMnOzwq','B3v0zxjiDg1SqNLszwy','zhjHz0fUzerYB3a','C2f2zvn0B3jHz2vtDgf0zq','y29VA2LLu3rHDgu','y2XVC2u','lNbHz2uW','y2XPCgjVyxjKugfZDgu','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','C2v0qwn0AxzLugfNzq','Dw5JAgvJAW','mtaXmdGZmZH4shL0z1m','A2LUza','CMvJB3jKzxi','D2fPDezVCG','ChjLC3m','y2fSBhm','y3vYCMvUDfvYBa','y291BNrcEurLzMf1Bhq','y2HLy2S','zxjYB3jpBK5LEhrby3rPB24','B3v0zxjive1m','rMfRzvbHz2u','Bwf5yMvuAhjVDW','rhjPDMvYrxjYB3i','CMvJB3jK','C3rLChm','y2fSBhngB3i','zNjHBwvtDgfJAW','AxnwAxnPyMXLqNLezwzHDwX0','CgfNzuXPC3q','Aw5WDxrwywX1zuj5rgvMyxvSDa','B25bzNrLCKnSAwnR','z29cywnR','ywjVDxq6yMXHBMS','D2fPDezVCK5HDMLNyxrPB24','y3r4','zw1PDezHA2vqB3b1Ca','mta5ndC5otjvrNnluve','pgrPDJ48l2rPDJ4','Bgf1BMnO','C3vIC2nYAwjL','Aw5UzxjuzxH0qNLezwzHDwX0','mvjusfv3Aa','y3jLyxrLuMvJB3jKzxi','nJi4mwfPAer0qq','tg9JyxrVCKvYCM9Y','zxzHBhvHDgu','D2fPDezVCLrLEhq','zNjVBq','C2v0q29VA2LL','B25ozxDqywDL','BMfTzq','Aw5ZCgvJDevSzw1LBNq','Aw5UzxjuzxH0','C3bSAwnL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y2HLy2TLzfn0yxrLqNLezwzHDwX0','rMfRzvDLyKrYAxzLCG','Dgv4DenVBNrLBNrcEurLzMf1Bhq','C2nYzwvUC2HVDa','y29UDgv4Dhm','zMLSDgvY','AxneAxnHyMXLza','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','zhjPDMvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zw50zxjgCMfTzq','nZu1AMfXEhfz','y29VA2LLCW','y291BNq','Bg9JywXtDg9YywDLu3rHDgu','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y29UC29SzuvUDhjPzxm','y2XPy2S','zNjHBwvezxb0Aa'];_0x24f9=function(){return _0x3600d1;};return _0x24f9();}var DriverError=class extends UnotestError{static{__name(this,_0x16c074(0x186));}},LocatorError=class extends UnotestError{static{__name(this,_0x16c074(0x19c));}};function createRecorder(){const _0x2d1d7d={_0x55921e:0x17e},_0x304c3a=_0x16c074,_0x4b9172=[];let _0x5e7eec=0x0;return{'push':__name(_0x1244de=>_0x4b9172[_0x304c3a(0x14f)]({..._0x1244de,'seq':_0x5e7eec++}),_0x304c3a(0x14f)),'calls':__name(()=>_0x4b9172,_0x304c3a(_0x2d1d7d._0x55921e))};}__name(createRecorder,_0x16c074(0x19a));var FakePage=class{constructor(_0x204f7e,_0x573528,_0x2d85b8,_0x177eb4){const _0x480b0d={_0x36bf95:0x17b,_0x4612b8:0x166,_0x44ef94:0x154},_0x257a06=_0x16c074;this[_0x257a06(_0x480b0d._0x36bf95)]=_0x204f7e,this[_0x257a06(_0x480b0d._0x4612b8)]=_0x573528,this[_0x257a06(_0x480b0d._0x44ef94)]=_0x2d85b8,this[_0x257a06(0x17f)]=_0x177eb4;}['recorder'];[_0x16c074(0x166)];[_0x16c074(0x154)];static{__name(this,_0x16c074(0x184));}[_0x16c074(0x17f)];[_0x16c074(0x18e)];[_0x16c074(0x187)](_0x196cb7,_0x309900){const _0xd03fe={_0x5ac3eb:0x17b,_0x59b7b2:0x154},_0x11f528=_0x16c074;this[_0x11f528(_0xd03fe._0x5ac3eb)][_0x11f528(0x14f)]({'scope':this[_0x11f528(_0xd03fe._0x59b7b2)],'method':_0x196cb7,'args':_0x309900});}['maybeThrow'](){const _0x4cb94e={_0x29f0e4:0x166,_0x30942e:0x182},_0x503ddf=_0x16c074;if(this['behavior']['errorOnNextAction']){const _0x2e8835=this[_0x503ddf(_0x4cb94e._0x29f0e4)][_0x503ddf(_0x4cb94e._0x30942e)];this[_0x503ddf(_0x4cb94e._0x29f0e4)][_0x503ddf(0x182)]=void 0x0;throw _0x2e8835;}}[_0x16c074(0x151)](){const _0x2c7d1c=_0x16c074;return this[_0x2c7d1c(0x17f)];}async['title'](){const _0x664642={_0x225c17:0x15a},_0x2e1f79=_0x16c074;return this[_0x2e1f79(0x187)](_0x2e1f79(_0x664642._0x225c17),[]),'fake\x20title';}async[_0x16c074(0x135)](_0xbf042e,_0x2826e7){const _0x39a604={_0x1cecd:0x185,_0x4f1223:0x18e},_0x354ec5=_0x16c074;this['record'](_0x354ec5(0x135),[_0xbf042e,_0x2826e7]),this[_0x354ec5(_0x39a604._0x1cecd)](),this[_0x354ec5(_0x39a604._0x4f1223)]?.();}async['doubleClick'](_0x559be9,_0x5280e3){const _0x259eb7={_0x2b1c9f:0x187,_0xd52e9b:0x15b},_0x48068a=_0x16c074;this[_0x48068a(_0x259eb7._0x2b1c9f)](_0x48068a(_0x259eb7._0xd52e9b),[_0x559be9,_0x5280e3]),this[_0x48068a(0x185)]();}async[_0x16c074(0x143)](_0x3cbd1d,_0x252ca6,_0x238bff){const _0x4ae75f={_0x129486:0x143},_0x235395=_0x16c074;this[_0x235395(0x187)](_0x235395(_0x4ae75f._0x129486),[_0x3cbd1d,_0x252ca6,_0x238bff]),this[_0x235395(0x185)]();}async[_0x16c074(0x17d)](_0x35eacd,_0x341585,_0x4fc61a){this['record']('press',[_0x35eacd,_0x341585,_0x4fc61a]),this['maybeThrow']();}async[_0x16c074(0x181)](_0x5e89eb,_0x53cbb3){const _0x3c1993={_0x2edcce:0x187,_0x406a3f:0x181},_0x31b170=_0x16c074;this[_0x31b170(_0x3c1993._0x2edcce)](_0x31b170(_0x3c1993._0x406a3f),[_0x5e89eb,_0x53cbb3]),this[_0x31b170(0x185)]();}async[_0x16c074(0x178)](_0xdbd98e,_0x2aa2a0){const _0x31aeac={_0x169ef4:0x187,_0x2595f7:0x185},_0x2e86ff=_0x16c074;this[_0x2e86ff(_0x31aeac._0x169ef4)]('uncheck',[_0xdbd98e,_0x2aa2a0]),this[_0x2e86ff(_0x31aeac._0x2595f7)]();}async[_0x16c074(0x169)](_0x5c091a,_0x11ff92,_0x353707){const _0x31ff45=_0x16c074;this['record'](_0x31ff45(0x169),[_0x5c091a,_0x11ff92,_0x353707]),this['maybeThrow']();}async[_0x16c074(0x13d)](_0x2abf4d,_0x3e81e7){const _0x70d33b={_0xfad269:0x13d,_0x28502a:0x185},_0x216f57=_0x16c074;this[_0x216f57(0x187)](_0x216f57(_0x70d33b._0xfad269),[_0x2abf4d,_0x3e81e7]),this[_0x216f57(_0x70d33b._0x28502a)]();}async[_0x16c074(0x160)](_0x15469f){const _0x50b51a=_0x16c074;this[_0x50b51a(0x187)](_0x50b51a(0x160),[_0x15469f]),this[_0x50b51a(0x185)]();}async[_0x16c074(0x16f)](_0x5aa551,_0x51311c,_0x272215){const _0x5dd3fc={_0x1bf612:0x16f,_0x27ebd4:0x185},_0x2fda37=_0x16c074;this['record'](_0x2fda37(_0x5dd3fc._0x1bf612),[_0x5aa551,_0x51311c,_0x272215]),this[_0x2fda37(_0x5dd3fc._0x27ebd4)]();}async['uploadFile'](_0x1a15bf,_0x365c79){const _0x375e22={_0x2af062:0x185},_0x3d5fb4=_0x16c074;this[_0x3d5fb4(0x187)](_0x3d5fb4(0x156),[_0x1a15bf,_0x365c79]),this[_0x3d5fb4(_0x375e22._0x2af062)]();}async[_0x16c074(0x174)](_0x6ebb79,_0x5bdb04){this['record']('clipboardPaste',[_0x6ebb79,_0x5bdb04]),this['maybeThrow']();}async[_0x16c074(0x131)](_0x5a5460){const _0x27daf8={_0x4b972a:0x180},_0x492102=_0x16c074;return this['record'](_0x492102(0x131),[_0x5a5460]),this[_0x492102(0x166)][_0x492102(_0x27daf8._0x4b972a)]??0x1;}async[_0x16c074(0x15e)](_0x21117a){const _0x1a97bb={_0x39ba07:0x187,_0x26f0e9:0x166,_0x7a43f3:0x1a9},_0x5e1ac1=_0x16c074;return this[_0x5e1ac1(_0x1a97bb._0x39ba07)](_0x5e1ac1(0x15e),[_0x21117a]),this[_0x5e1ac1(_0x1a97bb._0x26f0e9)][_0x5e1ac1(_0x1a97bb._0x7a43f3)]??'';}async[_0x16c074(0x1a4)](_0x2fe353){const _0x292a64={_0x5e6078:0x187,_0xb3b8d6:0x166,_0x1624a3:0x198,_0x301a17:0x1a9},_0xb0c07a=_0x16c074;return this[_0xb0c07a(_0x292a64._0x5e6078)](_0xb0c07a(0x1a4),[_0x2fe353]),this[_0xb0c07a(_0x292a64._0xb3b8d6)][_0xb0c07a(_0x292a64._0x1624a3)]??this['behavior'][_0xb0c07a(_0x292a64._0x301a17)]??'';}async[_0x16c074(0x161)](_0x1a4ff8){const _0x130dc1={_0x13080a:0x161,_0x5ac6ce:0x166},_0x8ae2ea=_0x16c074;return this[_0x8ae2ea(0x187)](_0x8ae2ea(_0x130dc1._0x13080a),[_0x1a4ff8]),this[_0x8ae2ea(_0x130dc1._0x5ac6ce)][_0x8ae2ea(0x18d)]??'';}async[_0x16c074(0x153)](_0x32cd16){const _0x3c6bc1={_0x392b16:0x153},_0x59fa56=_0x16c074;return this[_0x59fa56(0x187)](_0x59fa56(_0x3c6bc1._0x392b16),[_0x32cd16]),this[_0x59fa56(0x166)][_0x59fa56(0x1a7)]??null;}async['isVisible'](_0x40595c){const _0x44350e=_0x16c074;return this['record'](_0x44350e(0x14a),[_0x40595c]),this[_0x44350e(0x166)][_0x44350e(0x18b)]??!![];}async[_0x16c074(0x1ad)](_0x21b2fa){const _0x3c021c={_0x406df4:0x1ad},_0x4510a8=_0x16c074;return this['record'](_0x4510a8(_0x3c021c._0x406df4),[_0x21b2fa]),this['behavior'][_0x4510a8(0x149)]??![];}async[_0x16c074(0x168)](_0x31e204,_0x190c89){const _0x2543cf={_0x5c4a76:0x187},_0x566696=_0x16c074;return this[_0x566696(_0x2543cf._0x5c4a76)](_0x566696(0x168),[_0x31e204,_0x190c89]),this['behavior']['attributesByDefault']?.[_0x190c89]??null;}async[_0x16c074(0x17c)](_0x1420cf,_0x44e7fa){const _0x234ff0={_0x3f236e:0x17c},_0x25f2d0=_0x16c074;this[_0x25f2d0(0x187)](_0x25f2d0(_0x234ff0._0x3f236e),[_0x1420cf,_0x44e7fa]);}async[_0x16c074(0x13e)](_0x2ff3c3,_0x8f5dd1){const _0x3b53e4={_0x1dc8ec:0x13e},_0x542d33=_0x16c074;this[_0x542d33(0x187)](_0x542d33(_0x3b53e4._0x1dc8ec),[_0x2ff3c3,_0x8f5dd1]);}async[_0x16c074(0x19e)](_0x58168a,_0x56df85){const _0x57abb2=_0x16c074;this['record'](_0x57abb2(0x19e),[_0x58168a,_0x56df85]);}async['waitForNavigation'](_0x3bfd1f){const _0x16b53b=_0x16c074;this['record'](_0x16b53b(0x191),[_0x3bfd1f]);}async[_0x16c074(0x176)](_0x3ee71f,_0x5641a1){this['record']('waitForLoadState',[_0x3ee71f,_0x5641a1]);}async['goto'](_0x129c98,_0x342531){const _0x46bf1c={_0x310192:0x17f},_0x5f3bde=_0x16c074;this[_0x5f3bde(0x187)]('goto',[_0x129c98,_0x342531]),this[_0x5f3bde(_0x46bf1c._0x310192)]=_0x129c98;}async['reload'](_0x403658){const _0x26988b={_0x1ccd1c:0x187},_0x1ff888=_0x16c074;this[_0x1ff888(_0x26988b._0x1ccd1c)](_0x1ff888(0x158),[_0x403658]);}async['goBack'](_0x814794){const _0x13d812=_0x16c074;this['record'](_0x13d812(0x18f),[_0x814794]);}async[_0x16c074(0x138)](_0x31d3f7){const _0x231a98=_0x16c074;this['record'](_0x231a98(0x138),[_0x31d3f7]);}async[_0x16c074(0x19d)](_0x194c8c){return this['record']('evaluate',[_0x194c8c]),void 0x0;}async[_0x16c074(0x141)](_0x33632f,_0x4a2469){const _0xfe14f3={_0x5b828e:0x187},_0x173701=_0x16c074;return this[_0x173701(_0xfe14f3._0x5b828e)](_0x173701(0x141),[_0x33632f,_0x4a2469]),void 0x0;}async['inspectElement'](_0x4fa758){const _0x44aa4e={_0x224839:0x157,_0x310f58:0x188,_0x25546e:0x13f},_0x4cceff=_0x16c074;this['record'](_0x4cceff(0x1a3),[_0x4fa758]);if(_0x4fa758['steps'][_0x4cceff(_0x44aa4e._0x224839)]!==0x1||_0x4fa758[_0x4cceff(_0x44aa4e._0x310f58)][0x0]['kind']!==_0x4cceff(_0x44aa4e._0x25546e))return null;const _0x121948=_0x4fa758[_0x4cceff(0x188)][0x0][_0x4cceff(0x13f)],_0x522d14=this['behavior']['elementHintByRef']?.[_0x121948];return _0x522d14??null;}async[_0x16c074(0x1aa)](_0x63638f){const _0x49fff8={_0x2d28f2:0x19f},_0x28b85c=_0x16c074;return this['record'](_0x28b85c(0x1aa),[_0x63638f]),Buffer[_0x28b85c(_0x49fff8._0x2d28f2)](_0x28b85c(0x14c));}async[_0x16c074(0x183)](_0x2c1c9c){const _0x3f1966={_0x2edb81:0x188,_0x1cec0c:0x13f,_0x55609b:0x16e,_0x209a9e:0x12d,_0x441e44:0x195},_0x17c690=_0x16c074;this['record']('outerHTML',[_0x2c1c9c]);if(_0x2c1c9c[_0x17c690(_0x3f1966._0x2edb81)][_0x17c690(0x157)]===0x1&&_0x2c1c9c[_0x17c690(_0x3f1966._0x2edb81)][0x0][_0x17c690(0x17a)]==='ref'){const _0x4a0a99=_0x2c1c9c[_0x17c690(0x188)][0x0][_0x17c690(_0x3f1966._0x1cec0c)];return this['behavior'][_0x17c690(_0x3f1966._0x55609b)]?.[_0x4a0a99]??_0x17c690(_0x3f1966._0x209a9e)+_0x4a0a99+_0x17c690(0x140);}return _0x17c690(_0x3f1966._0x441e44);}},FakeContext=class{constructor(_0x2cb5dc,_0x1bc706,_0x2a70ee){const _0x8b00fe={_0x19bf6b:0x166,_0x227c1f:0x173,_0xb0c3ee:0x190,_0x1b9941:0x145,_0x4661a6:0x18e,_0x2dfe90:0x132,_0x43e907:0x14b,_0x5f1736:0x130},_0x1b115f=_0x16c074;this[_0x1b115f(0x17b)]=_0x2cb5dc,this[_0x1b115f(_0x8b00fe._0x19bf6b)]=_0x1bc706,this[_0x1b115f(0x154)]=_0x2a70ee;const _0x164706=new FakePage(_0x2cb5dc,_0x1bc706,_0x2a70ee+_0x1b115f(_0x8b00fe._0x227c1f),_0x1bc706[_0x1b115f(0x16c)]??_0x1b115f(_0x8b00fe._0xb0c3ee));_0x1bc706[_0x1b115f(_0x8b00fe._0x1b9941)]&&(_0x164706[_0x1b115f(_0x8b00fe._0x4661a6)]=()=>{const _0x3c2e6e=_0x1b115f;this['emitFakePopup'](_0x1bc706[_0x3c2e6e(0x145)]);}),this['pageList']=[_0x164706],this[_0x1b115f(_0x8b00fe._0x2dfe90)]={..._0x1bc706[_0x1b115f(_0x8b00fe._0x43e907)]??{}},this['cookieState']={..._0x1bc706[_0x1b115f(_0x8b00fe._0x5f1736)]??{}};}[_0x16c074(0x17b)];[_0x16c074(0x166)];[_0x16c074(0x154)];static{__name(this,_0x16c074(0x13c));}['pageList'];['activeIdx']=0x0;[_0x16c074(0x18a)]=[];[_0x16c074(0x132)];['cookieState'];['newPageListeners']=new Set();[_0x16c074(0x187)](_0x2abcbb,_0x537ca2){const _0x194c88={_0x3e14ec:0x17b,_0x55c5d0:0x14f,_0x55f833:0x154},_0x423a0e=_0x16c074;this[_0x423a0e(_0x194c88._0x3e14ec)][_0x423a0e(_0x194c88._0x55c5d0)]({'scope':this[_0x423a0e(_0x194c88._0x55f833)],'method':_0x2abcbb,'args':_0x537ca2});}[_0x16c074(0x148)](){const _0x407299=_0x16c074;return this[_0x407299(0x18c)];}['activePage'](){const _0x7e6ef=_0x16c074,_0x37aa12=this[_0x7e6ef(0x18c)][this['activeIdx']];if(!_0x37aa12)throw new DriverError(_0x7e6ef(0x175),{'activeIdx':this[_0x7e6ef(0x13a)]});return _0x37aa12;}[_0x16c074(0x134)](){const _0x46b840=_0x16c074;return this[_0x46b840(0x166)][_0x46b840(0x134)]??[];}['networkEntries'](){return this['behavior']['networkEntries']??[];}async[_0x16c074(0x177)](_0x43c224){const _0x2023a3={_0x596e53:0x177,_0x5bb8ea:0x18c,_0x1e1b87:0x146,_0x4fc62d:0x157,_0x11e373:0x18a,_0x354d12:0x157},_0x555b54=_0x16c074;this[_0x555b54(0x187)](_0x555b54(_0x2023a3._0x596e53),[_0x43c224]);if(_0x43c224<0x0||_0x43c224>=this[_0x555b54(_0x2023a3._0x5bb8ea)]['length'])throw new DriverError(_0x555b54(_0x2023a3._0x1e1b87),{'index':_0x43c224,'available':this[_0x555b54(0x18c)][_0x555b54(_0x2023a3._0x4fc62d)]});this['activeIdx']=_0x43c224,this[_0x555b54(_0x2023a3._0x11e373)][_0x555b54(_0x2023a3._0x354d12)]=0x0;}[_0x16c074(0x1a1)](_0x3d9d98){const _0x55da31=_0x16c074;return subscribe(this[_0x55da31(0x165)],_0x3d9d98);}[_0x16c074(0x193)](_0x24101c){const _0x1d0253={_0x37622b:0x154,_0x51a1a0:0x157,_0x4a97d8:0x166,_0x29cdbf:0x18c,_0x2fe7cb:0x14f,_0x1ddf1f:0x157,_0x1e923e:0x165},_0x4d111b=_0x16c074,_0x372047=this[_0x4d111b(_0x1d0253._0x37622b)]+'.page'+this[_0x4d111b(0x18c)][_0x4d111b(_0x1d0253._0x51a1a0)],_0x41edce=new FakePage(this[_0x4d111b(0x17b)],this[_0x4d111b(_0x1d0253._0x4a97d8)],_0x372047,_0x24101c);this[_0x4d111b(_0x1d0253._0x29cdbf)][_0x4d111b(_0x1d0253._0x2fe7cb)](_0x41edce);const _0x1a7b1c=this['pageList'][_0x4d111b(_0x1d0253._0x1ddf1f)]-0x1;for(const _0x5f5c19 of this[_0x4d111b(_0x1d0253._0x1e923e)]){try{_0x5f5c19({'index':_0x1a7b1c,'url':_0x24101c});}catch{}}return _0x1a7b1c;}[_0x16c074(0x163)](_0x57b793){const _0x2d13ee={_0x759079:0x146,_0x566d1a:0x157,_0x18a1a3:0x1a5},_0xd908e=_0x16c074;if(_0x57b793<0x0||_0x57b793>=this[_0xd908e(0x18c)]['length'])throw new DriverError(_0xd908e(_0x2d13ee._0x759079),{'index':_0x57b793,'available':this['pageList'][_0xd908e(_0x2d13ee._0x566d1a)]});this[_0xd908e(0x18c)][_0xd908e(_0x2d13ee._0x18a1a3)](_0x57b793,0x1);}async[_0x16c074(0x12e)](_0x5d3ddb){const _0x3b4e29={_0x4f09d5:0x157,_0x4213c1:0x14f},_0xa3c6e7=_0x16c074;this[_0xa3c6e7(0x187)]('enterFrame',[_0x5d3ddb]);if(!_0x5d3ddb['steps'][_0xa3c6e7(_0x3b4e29._0x4f09d5)])throw new LocatorError(_0xa3c6e7(0x147),{'locator':_0x5d3ddb});this[_0xa3c6e7(0x18a)][_0xa3c6e7(_0x3b4e29._0x4213c1)](_0x5d3ddb);}async['exitFrame'](){const _0x2f7400={_0x34e6a8:0x157,_0x222565:0x133,_0x44a5aa:0x152},_0x28ad17=_0x16c074;this[_0x28ad17(0x187)](_0x28ad17(0x16b),[]);if(this[_0x28ad17(0x18a)][_0x28ad17(_0x2f7400._0x34e6a8)]===0x0)throw new DriverError(_0x28ad17(_0x2f7400._0x222565),{});this[_0x28ad17(0x18a)][_0x28ad17(_0x2f7400._0x44a5aa)]();}async['setLocalStorage'](_0x263f15,_0xb431e){const _0x4afb4d={_0x52456f:0x162},_0x4380fc=_0x16c074;this['record'](_0x4380fc(_0x4afb4d._0x52456f),[_0x263f15,_0xb431e]),this['localStorageState'][_0x263f15]=_0xb431e;}async[_0x16c074(0x15d)](_0x3e3fa1){const _0x2da7db=_0x16c074;return this[_0x2da7db(0x187)](_0x2da7db(0x15d),[_0x3e3fa1]),this[_0x2da7db(0x132)][_0x3e3fa1]??null;}async['setCookie'](_0x337ef6,_0x2c540f,_0x9dd56b){const _0x2610a9={_0x2142f6:0x171},_0x4058dd=_0x16c074;this['record'](_0x4058dd(0x1a0),[_0x337ef6,_0x2c540f,_0x9dd56b]),this[_0x4058dd(_0x2610a9._0x2142f6)][_0x337ef6]=_0x2c540f;}async[_0x16c074(0x13b)](_0x126c04){const _0x3ec08d=_0x16c074;return this['record'](_0x3ec08d(0x13b),[_0x126c04]),this['cookieState'][_0x126c04]??null;}async[_0x16c074(0x170)](_0x559d0a){const _0x153825={_0x837118:0x187},_0x2e5a95=_0x16c074;this[_0x2e5a95(_0x153825._0x837118)]('saveStorageState',[_0x559d0a]);}async[_0x16c074(0x19d)](_0x397175){return this['record']('evaluate',[_0x397175]),void 0x0;}async['close'](){const _0x4b3e2d={_0x29e85f:0x187,_0x3b92ba:0x172},_0xcaee8c=_0x16c074;this[_0xcaee8c(_0x4b3e2d._0x29e85f)](_0xcaee8c(_0x4b3e2d._0x3b92ba),[]);}[_0x16c074(0x136)](){const _0x54b944=_0x16c074;return this[_0x54b944(0x18a)][_0x54b944(0x157)];}},FakeWebDriver=class{constructor(_0x3d15f5={}){const _0x38a134=_0x16c074;this['behavior']=_0x3d15f5,this[_0x38a134(0x17b)]=createRecorder();}[_0x16c074(0x166)];static{__name(this,_0x16c074(0x1a8));}[_0x16c074(0x16d)]=![];['recorder'];[_0x16c074(0x1ab)]=[];async[_0x16c074(0x196)](_0x48ca5f){const _0xba3ec1=_0x16c074;this[_0xba3ec1(0x17b)][_0xba3ec1(0x14f)]({'scope':_0xba3ec1(0x1af),'method':_0xba3ec1(0x196),'args':[_0x48ca5f]}),this['launched']=!![];}async[_0x16c074(0x164)](_0x15b98c){const _0x38a6bb={_0x2d8f90:0x17b,_0x270a8a:0x159,_0x385e15:0x17b},_0x1a7dec=_0x16c074;this[_0x1a7dec(_0x38a6bb._0x2d8f90)]['push']({'scope':_0x1a7dec(0x1af),'method':'newContext','args':[_0x15b98c]});if(!this[_0x1a7dec(0x16d)])throw new DriverError(_0x1a7dec(_0x38a6bb._0x270a8a),{});const _0x3740ab=new FakeContext(this[_0x1a7dec(_0x38a6bb._0x385e15)],this['behavior'],_0x1a7dec(0x192)+this['contexts']['length']);return this['contexts']['push'](_0x3740ab),_0x3740ab;}async[_0x16c074(0x172)](){const _0x3e1252={_0x2610a3:0x14f,_0x8dec2d:0x172},_0x5266bf=_0x16c074;this[_0x5266bf(0x17b)][_0x5266bf(_0x3e1252._0x2610a3)]({'scope':_0x5266bf(0x1af),'method':_0x5266bf(_0x3e1252._0x8dec2d),'args':[]}),this[_0x5266bf(0x16d)]=![];}[_0x16c074(0x142)](){return void 0x0;}async['connectShared'](){const _0x1995e7=_0x16c074;throw new DriverError(_0x1995e7(0x1a6),{});}[_0x16c074(0x16a)](){const _0x661ca0={_0xf50aac:0x1ae},_0x18aa10=_0x16c074;throw new DriverError(_0x18aa10(_0x661ca0._0xf50aac),{});}[_0x16c074(0x17e)](){const _0x311cdf={_0x4bcf79:0x17b},_0x39f99e=_0x16c074;return this[_0x39f99e(_0x311cdf._0x4bcf79)]['calls']();}[_0x16c074(0x189)](_0x563716){const _0x33198d={_0x1b4a23:0x17b,_0x1864ac:0x1ac},_0x5e0a9c=_0x16c074;return this[_0x5e0a9c(_0x33198d._0x1b4a23)][_0x5e0a9c(0x17e)]()[_0x5e0a9c(_0x33198d._0x1864ac)](_0x2796e0=>_0x2796e0[_0x5e0a9c(0x139)]===_0x563716);}};export{FakeWebDriver};
1
+ function _0x22a6(_0x509c4c,_0x871368){_0x509c4c=_0x509c4c-0xe3;const _0xb1c7a0=_0xb1c7();let _0x22a656=_0xb1c7a0[_0x509c4c];if(_0x22a6['KfTYOD']===undefined){var _0x4bb0c6=function(_0x426874){const _0x5aca96='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37be77='',_0x1bd526='';for(let _0x109d07=0x0,_0x2e5c09,_0x13d760,_0x44ab43=0x0;_0x13d760=_0x426874['charAt'](_0x44ab43++);~_0x13d760&&(_0x2e5c09=_0x109d07%0x4?_0x2e5c09*0x40+_0x13d760:_0x13d760,_0x109d07++%0x4)?_0x37be77+=String['fromCharCode'](0xff&_0x2e5c09>>(-0x2*_0x109d07&0x6)):0x0){_0x13d760=_0x5aca96['indexOf'](_0x13d760);}for(let _0x3ec69e=0x0,_0x1ad90e=_0x37be77['length'];_0x3ec69e<_0x1ad90e;_0x3ec69e++){_0x1bd526+='%'+('00'+_0x37be77['charCodeAt'](_0x3ec69e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1bd526);};_0x22a6['LWpWII']=_0x4bb0c6,_0x22a6['TbdPNw']={},_0x22a6['KfTYOD']=!![];}const _0x34eae0=_0xb1c7a0[0x0],_0x5ee126=_0x509c4c+_0x34eae0,_0x131500=_0x22a6['TbdPNw'][_0x5ee126];return!_0x131500?(_0x22a656=_0x22a6['LWpWII'](_0x22a656),_0x22a6['TbdPNw'][_0x5ee126]=_0x22a656):_0x22a656=_0x131500,_0x22a656;}const _0xf52122=_0x22a6;(function(_0x17764b,_0x13377c){const _0x370910={_0x2f01ae:0x122,_0x181057:0x116,_0x1f3cfb:0x129,_0xa19085:0x14e,_0x51ca8a:0xfe,_0x5800f5:0x120,_0x390efc:0x11e,_0x542619:0xf8,_0x367f5b:0xec},_0x590bfa=_0x22a6,_0x382183=_0x17764b();while(!![]){try{const _0x120e74=parseInt(_0x590bfa(_0x370910._0x2f01ae))/0x1+-parseInt(_0x590bfa(0x114))/0x2*(parseInt(_0x590bfa(_0x370910._0x181057))/0x3)+-parseInt(_0x590bfa(_0x370910._0x1f3cfb))/0x4*(-parseInt(_0x590bfa(_0x370910._0xa19085))/0x5)+-parseInt(_0x590bfa(0x156))/0x6*(-parseInt(_0x590bfa(_0x370910._0x51ca8a))/0x7)+-parseInt(_0x590bfa(_0x370910._0x5800f5))/0x8*(parseInt(_0x590bfa(0xf0))/0x9)+parseInt(_0x590bfa(_0x370910._0x390efc))/0xa*(-parseInt(_0x590bfa(_0x370910._0x542619))/0xb)+-parseInt(_0x590bfa(_0x370910._0x367f5b))/0xc*(-parseInt(_0x590bfa(0xe7))/0xd);if(_0x120e74===_0x13377c)break;else _0x382183['push'](_0x382183['shift']());}catch(_0x5778cd){_0x382183['push'](_0x382183['shift']());}}}(_0xb1c7,0x69487));var __defProp=Object[_0xf52122(0xeb)],__name=(_0x37be77,_0x1bd526)=>__defProp(_0x37be77,'name',{'value':_0x1bd526,'configurable':!![]});function _0xb1c7(){const _0x545391=['zNjVBq','lNbHz2uW','Aw5PDgLHBfvYBa','pgrPDJ48l2rPDJ4','z2v0qxr0CMLIDxrL','yMvOyxzPB3i','CMvJB3jK','DgL0Bgu','C3vIC2nYAwjL','CMvSB2fK','D2fPDezVCK5HDMLNyxrPB24','tg9JyxrVCKvYCM9Y','C2vSzwn0t3b0Aw9U','B3v0zxjiDg1SqNLszwy','B3v0zxjive1m','Bwv0Ag9K','CMvM','BgvUz3rO','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','AxnwAxnPyMXLqNLezwzHDwX0','Dgv4DenVBNrLBNrcEurLzMf1Bhq','Dgv4DenVBNrLBNq','D2fPDezVCLrLEhq','D2fPDezVCKXVywrtDgf0zq','Ag92zxi','zhjPDMvY','C2v0qwn0AxzLugfNzq','zw50zxjgCMfTzq','Bg9JywXtDg9YywDLu3rHDgu','BMv3q29UDgv4Da','C2v0q29VA2LL','Aw5UzxjuzxH0','C3bSAwnL','y291BNq','otiXnvzXt2joBW','Cg9WDxbpBKnSAwnR','zhjHz0fUzerYB3a','y291BNrcEurLzMf1Bhq','rMfRzvDLyKrYAxzLCG','rMfRzunVBNrLEhq','Aw5WDxrwywX1zq','zMfRzs1WBMC','otyYodjOtfz6zfm','Cg9W','ywrK','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','zwXLBwvUDeHPBNrcEvjLzG','z29cywnR','AxnwAxnPyMXL','ChvZAa','D2fPDezVCLvYBa','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','Bg9JywXtDg9YywDL','mJCZnty2oe1czwjNBq','Bwf5yMvuAhjVDW','C2f2zvn0B3jHz2vtDgf0zq','ywjVDxq6yMXHBMS','zgvMAw5LuhjVCgvYDhK','mJrzsfrbyxe','ywn0AxzLswr4','CgfNzuXPC3q','zNjHBwvtDgfJAW','mtHJveXIsKu','y3vYCMvUDfvYBa','rMfRzvbHz2u','zMLSDgvY','DxjS','BMv0D29YA0vUDhjPzxm','AxneAxnHyMXLzej5rgvMyxvSDa','lNbHz2u','odG2nLDTCuPdyW','y2XVC2u','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','zMLSBa','y2XPy2S','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','ndLxtuH6B00','y2XPCgjVyxjKugfZDgu','B25bzNrLCKnSAwnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','C2nVCgu','zxzHBhvHDgu','Aw5ZCgvJDevSzw1LBNq','y2fSBhm','zw1PDezHA2vqB3b1Ca','BMv3ugfNzuXPC3rLBMvYCW','CMvJB3jKzxi','Bgf1BMnOzwq','z2v0q29VA2LL','zxjYB3jpBK5LEhrby3rPB24','C3rLChm','A2LUza','y29VA2LLu3rHDgu','zxzHBhvHDgvpBKXVy2f0B3i','ywn0AxzLugfNzq','Aw5WDxrwywX1zuj5rgvMyxvSDa','D3nfBMrWB2LUDa','AxneAxnHyMXLza','ntbxBwvmBvi','C2v0tg9JywXtDg9YywDL','nZy4mZndt1PSDfK','ChjLC3m','C2nYB2XSsw50B1zPzxC','iJ48l2rPDJ4','B25ozxDqywDL','D2fPDezVCG','y29UDgv4Dhm','Dw5JAgvJAW','nde5meLoqLbjCG','z29gB3j3yxjK','mtiWntK0ng5Mve5iBq','Bgf1BMnO','mZu1ntm1AMrhrvnn','Aw5UzxjuzxH0qNLezwzHDwX0','z2v0tg9JywXtDg9YywDL','DxbSB2fKrMLSzq','y2HLy2S','y29UC29SzuvUDhjPzxm','y3jLyxrLuMvJB3jKzxi','mtC4ngzksKvcAa','zMfRzsb0AxrSzq','y2HLy2TLzfn0yxrL'];_0xb1c7=function(){return _0x545391;};return _0xb1c7();}function subscribe(_0x109d07,_0x2e5c09){const _0x3a4800=_0xf52122;return _0x109d07[_0x3a4800(0x158)](_0x2e5c09),()=>{_0x109d07['delete'](_0x2e5c09);};}__name(subscribe,_0xf52122(0x134));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0xf52122(0x137));}};function createRecorder(){const _0xd54785={_0x47f991:0xe3},_0x47067e=_0xf52122,_0x13d760=[];let _0x44ab43=0x0;return{'push':__name(_0x3ec69e=>_0x13d760[_0x47067e(0xe3)]({..._0x3ec69e,'seq':_0x44ab43++}),_0x47067e(_0xd54785._0x47f991)),'calls':__name(()=>_0x13d760,'calls')};}__name(createRecorder,_0xf52122(0x128));var FakePage=class{constructor(_0x1ad90e,_0x17e6a9,_0x3ea58b,_0x3d35d6){const _0x2d5db0={_0x4ebc23:0x102,_0x33b231:0xf1},_0x2cbf64=_0xf52122;this[_0x2cbf64(0x108)]=_0x1ad90e,this['behavior']=_0x17e6a9,this[_0x2cbf64(_0x2d5db0._0x4ebc23)]=_0x3ea58b,this[_0x2cbf64(_0x2d5db0._0x33b231)]=_0x3d35d6;}[_0xf52122(0x108)];[_0xf52122(0x131)];[_0xf52122(0x102)];static{__name(this,_0xf52122(0xf2));}[_0xf52122(0xf1)];['onAfterClick'];[_0xf52122(0x132)](_0x454340,_0x130529){const _0x2fbfaf={_0xfdecb:0xe3},_0x489733=_0xf52122;this['recorder'][_0x489733(_0x2fbfaf._0xfdecb)]({'scope':this[_0x489733(0x102)],'method':_0x454340,'args':_0x130529});}[_0xf52122(0xe8)](){const _0x117af7={_0x5c5530:0x131,_0x1621ca:0x131},_0x264b75=_0xf52122;if(this[_0x264b75(_0x117af7._0x5c5530)][_0x264b75(0x10b)]){const _0x1edcde=this[_0x264b75(_0x117af7._0x1621ca)]['errorOnNextAction'];this[_0x264b75(_0x117af7._0x5c5530)][_0x264b75(0x10b)]=void 0x0;throw _0x1edcde;}}[_0xf52122(0xf4)](){return this['currentUrl'];}async['title'](){const _0x4e7a90={_0x5bf5ea:0x132,_0x53a749:0x133},_0x597c46=_0xf52122;return this[_0x597c46(_0x4e7a90._0x5bf5ea)](_0x597c46(_0x4e7a90._0x53a749),[]),_0x597c46(0x12a);}async[_0xf52122(0xfc)](_0x1795e9,_0x721e89){const _0x5bf517={_0x12e2fc:0x100},_0x141519=_0xf52122;this['record']('click',[_0x1795e9,_0x721e89]),this['maybeThrow'](),this[_0x141519(_0x5bf517._0x12e2fc)]?.();}async['doubleClick'](_0x51cc45,_0x26715e){const _0xe5da96={_0x21e9bf:0x132},_0x487974=_0xf52122;this[_0x487974(_0xe5da96._0x21e9bf)]('doubleClick',[_0x51cc45,_0x26715e]),this[_0x487974(0xe8)]();}async[_0xf52122(0xfb)](_0x1ea40e,_0x4603d0,_0x16a878){const _0x3b54d3={_0x2863a6:0xfb,_0x1c9570:0xe8},_0x455cf6=_0xf52122;this['record'](_0x455cf6(_0x3b54d3._0x2863a6),[_0x1ea40e,_0x4603d0,_0x16a878]),this[_0x455cf6(_0x3b54d3._0x1c9570)]();}async[_0xf52122(0x117)](_0x24b560,_0x595202,_0x404439){const _0x1e0961={_0x310226:0x132},_0x2e5fc7=_0xf52122;this[_0x2e5fc7(_0x1e0961._0x310226)](_0x2e5fc7(0x117),[_0x24b560,_0x595202,_0x404439]),this[_0x2e5fc7(0xe8)]();}async[_0xf52122(0x126)](_0x5ebc19,_0x5edac2){const _0x436f75={_0x367419:0x132},_0x271a43=_0xf52122;this[_0x271a43(_0x436f75._0x367419)](_0x271a43(0x126),[_0x5ebc19,_0x5edac2]),this['maybeThrow']();}async['uncheck'](_0x3b9c53,_0x1f3ccf){const _0x4bf177={_0x484dac:0x132,_0x3b025f:0x11d,_0x1919e1:0xe8},_0x47f142=_0xf52122;this[_0x47f142(_0x4bf177._0x484dac)](_0x47f142(_0x4bf177._0x3b025f),[_0x3b9c53,_0x1f3ccf]),this[_0x47f142(_0x4bf177._0x1919e1)]();}async['selectOption'](_0x46300d,_0x3eb043,_0x6d648e){const _0x1d3103={_0x19a7dd:0x138},_0x7ac6b0=_0xf52122;this['record'](_0x7ac6b0(_0x1d3103._0x19a7dd),[_0x46300d,_0x3eb043,_0x6d648e]),this[_0x7ac6b0(0xe8)]();}async[_0xf52122(0x144)](_0x4693d5,_0x4cfb5e){const _0x32f338={_0x580288:0x132},_0x1ba91f=_0xf52122;this[_0x1ba91f(_0x32f338._0x580288)]('hover',[_0x4693d5,_0x4cfb5e]),this[_0x1ba91f(0xe8)]();}async[_0xf52122(0x118)](_0x135d2e){const _0xf8565f={_0x4ad1fc:0x118,_0x4e4241:0xe8},_0x482a9a=_0xf52122;this[_0x482a9a(0x132)](_0x482a9a(_0xf8565f._0x4ad1fc),[_0x135d2e]),this[_0x482a9a(_0xf8565f._0x4e4241)]();}async[_0xf52122(0x150)](_0x427b91,_0x1c8188,_0xcdc4d5){const _0x2f4c6c={_0x3ba3f4:0xe8},_0x54d058=_0xf52122;this['record'](_0x54d058(0x150),[_0x427b91,_0x1c8188,_0xcdc4d5]),this[_0x54d058(_0x2f4c6c._0x3ba3f4)]();}async[_0xf52122(0x125)](_0x43c079,_0x5731d0){const _0x531114={_0x205781:0x132},_0x5cd378=_0xf52122;this[_0x5cd378(_0x531114._0x205781)](_0x5cd378(0x125),[_0x43c079,_0x5731d0]),this[_0x5cd378(0xe8)]();}async[_0xf52122(0xff)](_0x280ddb,_0xd52532){const _0x135610={_0x5178a1:0xff},_0x2e8e1a=_0xf52122;this[_0x2e8e1a(0x132)](_0x2e8e1a(_0x135610._0x5178a1),[_0x280ddb,_0xd52532]),this['maybeThrow']();}async['count'](_0x148217){const _0x153f81=_0xf52122;return this[_0x153f81(0x132)](_0x153f81(0x14d),[_0x148217]),this['behavior'][_0x153f81(0x151)]??0x1;}async['textContent'](_0x21d3e2){const _0x128f79={_0x4f00da:0x132,_0x36b687:0x131,_0x1bc798:0x140},_0x45e892=_0xf52122;return this[_0x45e892(_0x128f79._0x4f00da)](_0x45e892(0x141),[_0x21d3e2]),this[_0x45e892(_0x128f79._0x36b687)][_0x45e892(_0x128f79._0x1bc798)]??'';}async[_0xf52122(0x14b)](_0x515336){const _0x5a9274={_0x43e56c:0x132,_0x5b9e19:0x123,_0x373909:0x140},_0x53dfdf=_0xf52122;return this[_0x53dfdf(_0x5a9274._0x43e56c)](_0x53dfdf(0x14b),[_0x515336]),this['behavior'][_0x53dfdf(_0x5a9274._0x5b9e19)]??this[_0x53dfdf(0x131)][_0x53dfdf(_0x5a9274._0x373909)]??'';}async[_0xf52122(0x154)](_0x3a5a62){const _0x59c87d={_0x4117e7:0x154,_0x56235e:0x131},_0x17375e=_0xf52122;return this[_0x17375e(0x132)](_0x17375e(_0x59c87d._0x4117e7),[_0x3a5a62]),this[_0x17375e(_0x59c87d._0x56235e)][_0x17375e(0x111)]??'';}async[_0xf52122(0x12b)](_0xbdb5da){const _0x128043={_0x30902b:0x132,_0x37eec8:0x12b,_0x1efcd2:0x131},_0xb4a5b=_0xf52122;return this[_0xb4a5b(_0x128043._0x30902b)](_0xb4a5b(_0x128043._0x37eec8),[_0xbdb5da]),this[_0xb4a5b(_0x128043._0x1efcd2)]['checkedStateByDefault']??null;}async['isVisible'](_0x7f8e5d){const _0x5134da={_0x2f02e2:0x131,_0x543218:0x13f},_0x5b4bcf=_0xf52122;return this[_0x5b4bcf(0x132)](_0x5b4bcf(0x15d),[_0x7f8e5d]),this[_0x5b4bcf(_0x5134da._0x2f02e2)][_0x5b4bcf(_0x5134da._0x543218)]??!![];}async[_0xf52122(0x113)](_0x132b6f){const _0x35cd3f={_0x384805:0x113},_0x1a1a5f=_0xf52122;return this['record'](_0x1a1a5f(_0x35cd3f._0x384805),[_0x132b6f]),this[_0x1a1a5f(0x131)][_0x1a1a5f(0xf6)]??![];}async['getAttribute'](_0x3251b6,_0x1ec8b3){const _0x4a829d={_0x58157b:0x131},_0x2e5872=_0xf52122;return this['record'](_0x2e5872(0x130),[_0x3251b6,_0x1ec8b3]),this[_0x2e5872(_0x4a829d._0x58157b)]['attributesByDefault']?.[_0x1ec8b3]??null;}async[_0xf52122(0x11b)](_0xb32204,_0x2302d8){const _0x518906=_0xf52122;this[_0x518906(0x132)]('waitFor',[_0xb32204,_0x2302d8]);}async[_0xf52122(0xe4)](_0x315f16,_0x5a9c80){const _0x25b415=_0xf52122;this[_0x25b415(0x132)](_0x25b415(0xe4),[_0x315f16,_0x5a9c80]);}async[_0xf52122(0x142)](_0x34ca9e,_0x28be32){const _0x46e7b3=_0xf52122;this[_0x46e7b3(0x132)]('waitForText',[_0x34ca9e,_0x28be32]);}async[_0xf52122(0x136)](_0x3e5242){this['record']('waitForNavigation',[_0x3e5242]);}async[_0xf52122(0x143)](_0x44b9b5,_0x508d19){this['record']('waitForLoadState',[_0x44b9b5,_0x508d19]);}async['goto'](_0x1f8730,_0x49d1b4){const _0x27066a=_0xf52122;this[_0x27066a(0x132)]('goto',[_0x1f8730,_0x49d1b4]),this['currentUrl']=_0x1f8730;}async[_0xf52122(0x135)](_0x2fc558){const _0x39e020={_0x5bf0a7:0x132,_0x5c1255:0x135},_0x7e5af5=_0xf52122;this[_0x7e5af5(_0x39e020._0x5bf0a7)](_0x7e5af5(_0x39e020._0x5c1255),[_0x2fc558]);}async['goBack'](_0x54786f){const _0x358690={_0x3b2e41:0x15c},_0x5c4081=_0xf52122;this[_0x5c4081(0x132)](_0x5c4081(_0x358690._0x3b2e41),[_0x54786f]);}async['goForward'](_0x53b1b4){const _0x539f3e={_0x1a762e:0x132},_0x456d43=_0xf52122;this[_0x456d43(_0x539f3e._0x1a762e)](_0x456d43(0x11f),[_0x53b1b4]);}async[_0xf52122(0x103)](_0x162889){const _0x4e6124={_0x25fd9c:0x103},_0x37f9ad=_0xf52122;return this[_0x37f9ad(0x132)](_0x37f9ad(_0x4e6124._0x25fd9c),[_0x162889]),void 0x0;}async[_0xf52122(0x10f)](_0x4ff392,_0x50d55a){const _0x2df159=_0xf52122;return this[_0x2df159(0x132)]('evaluateOnLocator',[_0x4ff392,_0x50d55a]),void 0x0;}async[_0xf52122(0x104)](_0x1ace52){const _0x534ab5={_0x1cbb88:0x10c,_0xc46343:0x10d,_0x3c70d2:0x13c,_0x2fd06a:0x131},_0x5becb6=_0xf52122;this['record']('inspectElement',[_0x1ace52]);if(_0x1ace52[_0x5becb6(_0x534ab5._0x1cbb88)][_0x5becb6(0x13d)]!==0x1||_0x1ace52[_0x5becb6(0x10c)][0x0][_0x5becb6(_0x534ab5._0xc46343)]!==_0x5becb6(_0x534ab5._0x3c70d2))return null;const _0x444139=_0x1ace52['steps'][0x0][_0x5becb6(_0x534ab5._0x3c70d2)],_0x613751=this[_0x5becb6(_0x534ab5._0x2fd06a)][_0x5becb6(0x15b)]?.[_0x444139];return _0x613751??null;}async['screenshot'](_0x27ed08){const _0x7baffa={_0x4b2714:0x132,_0x780b85:0x155},_0xece8c9=_0xf52122;return this[_0xece8c9(_0x7baffa._0x4b2714)]('screenshot',[_0x27ed08]),Buffer[_0xece8c9(0x12c)](_0xece8c9(_0x7baffa._0x780b85));}async[_0xf52122(0x13a)](_0x562fc0){const _0x25c645={_0x1b2f86:0x132,_0x5bae29:0x10d,_0x22ad7a:0x131,_0xdd4ada:0xfa},_0x5efca0=_0xf52122;this[_0x5efca0(_0x25c645._0x1b2f86)](_0x5efca0(0x13a),[_0x562fc0]);if(_0x562fc0['steps'][_0x5efca0(0x13d)]===0x1&&_0x562fc0[_0x5efca0(0x10c)][0x0][_0x5efca0(_0x25c645._0x5bae29)]===_0x5efca0(0x13c)){const _0x459228=_0x562fc0['steps'][0x0][_0x5efca0(0x13c)];return this[_0x5efca0(_0x25c645._0x22ad7a)][_0x5efca0(0x139)]?.[_0x459228]??_0x5efca0(_0x25c645._0xdd4ada)+_0x459228+_0x5efca0(0x119);}return _0x5efca0(0x12f);}},FakeContext=class{constructor(_0x58d276,_0x49dfe0,_0x5cdf45){const _0x52ceb9={_0x36a7bc:0x108,_0x27b1eb:0xea,_0x36143c:0xe6,_0x397273:0x10e},_0x5cbab7={_0x5d9e9f:0x106,_0x4eec8b:0x14f},_0x36fc44=_0xf52122;this[_0x36fc44(_0x52ceb9._0x36a7bc)]=_0x58d276,this[_0x36fc44(0x131)]=_0x49dfe0,this['scope']=_0x5cdf45;const _0x1e44a3=new FakePage(_0x58d276,_0x49dfe0,_0x5cdf45+_0x36fc44(0x12d),_0x49dfe0[_0x36fc44(0x12e)]??_0x36fc44(_0x52ceb9._0x27b1eb));_0x49dfe0[_0x36fc44(0x14f)]&&(_0x1e44a3[_0x36fc44(0x100)]=()=>{const _0x4973ed=_0x36fc44;this[_0x4973ed(_0x5cbab7._0x5d9e9f)](_0x49dfe0[_0x4973ed(_0x5cbab7._0x4eec8b)]);}),this[_0x36fc44(0xee)]=[_0x1e44a3],this['localStorageState']={..._0x49dfe0[_0x36fc44(_0x52ceb9._0x36143c)]??{}},this[_0x36fc44(_0x52ceb9._0x397273)]={..._0x49dfe0['cookies']??{}};}['recorder'];['behavior'];['scope'];static{__name(this,_0xf52122(0x153));}[_0xf52122(0xee)];[_0xf52122(0xed)]=0x0;[_0xf52122(0xef)]=[];[_0xf52122(0x148)];[_0xf52122(0x10e)];[_0xf52122(0x107)]=new Set();[_0xf52122(0x132)](_0x2a1547,_0x95eb02){const _0x374f91={_0x2a9866:0xe3},_0x27daea=_0xf52122;this['recorder'][_0x27daea(_0x374f91._0x2a9866)]({'scope':this[_0x27daea(0x102)],'method':_0x2a1547,'args':_0x95eb02});}['pages'](){const _0x59d2b7={_0x5d39b1:0xee},_0x33ee24=_0xf52122;return this[_0x33ee24(_0x59d2b7._0x5d39b1)];}[_0xf52122(0x110)](){const _0x334d4a={_0x2a2aff:0xee,_0x2951bf:0x15a},_0x5ca936=_0xf52122,_0x55aab5=this[_0x5ca936(_0x334d4a._0x2a2aff)][this[_0x5ca936(0xed)]];if(!_0x55aab5)throw new DriverError(_0x5ca936(_0x334d4a._0x2951bf),{'activeIdx':this['activeIdx']});return _0x55aab5;}[_0xf52122(0x127)](){const _0x3068a7={_0x51ad3a:0x131},_0x1060c8=_0xf52122;return this[_0x1060c8(_0x3068a7._0x51ad3a)][_0x1060c8(0x127)]??[];}[_0xf52122(0xf5)](){const _0x9d734a={_0x16c38e:0x131},_0x335f20=_0xf52122;return this[_0x335f20(_0x9d734a._0x16c38e)][_0x335f20(0xf5)]??[];}async[_0xf52122(0x146)](_0x54b63e){const _0x2de796={_0x5007c8:0x132,_0x38d53d:0x101,_0x3e6f6d:0xef},_0xf04601=_0xf52122;this[_0xf04601(_0x2de796._0x5007c8)](_0xf04601(0x146),[_0x54b63e]);if(_0x54b63e<0x0||_0x54b63e>=this[_0xf04601(0xee)][_0xf04601(0x13d)])throw new DriverError(_0xf04601(_0x2de796._0x38d53d),{'index':_0x54b63e,'available':this[_0xf04601(0xee)][_0xf04601(0x13d)]});this['activeIdx']=_0x54b63e,this[_0xf04601(_0x2de796._0x3e6f6d)]['length']=0x0;}[_0xf52122(0x11a)](_0x1ca191){return subscribe(this['newPageListeners'],_0x1ca191);}[_0xf52122(0x106)](_0x330f09){const _0x5a5e81={_0x35e89d:0x102,_0xc20859:0xf7,_0x26e529:0xee,_0x39f350:0x13d,_0x23107f:0xee,_0xc851d2:0xe3},_0x4da657=_0xf52122,_0x15975c=this[_0x4da657(_0x5a5e81._0x35e89d)]+_0x4da657(_0x5a5e81._0xc20859)+this[_0x4da657(_0x5a5e81._0x26e529)][_0x4da657(_0x5a5e81._0x39f350)],_0x4c01db=new FakePage(this['recorder'],this['behavior'],_0x15975c,_0x330f09);this[_0x4da657(_0x5a5e81._0x23107f)][_0x4da657(_0x5a5e81._0xc851d2)](_0x4c01db);const _0xc913c8=this[_0x4da657(0xee)][_0x4da657(0x13d)]-0x1;for(const _0x19a1ab of this[_0x4da657(0x107)]){try{_0x19a1ab({'index':_0xc913c8,'url':_0x330f09});}catch{}}return _0xc913c8;}['closeFakePage'](_0x199c99){const _0x257d91={_0x3e82cd:0xee,_0x3b53ab:0x101,_0x282021:0x13d},_0x59b117=_0xf52122;if(_0x199c99<0x0||_0x199c99>=this[_0x59b117(_0x257d91._0x3e82cd)][_0x59b117(0x13d)])throw new DriverError(_0x59b117(_0x257d91._0x3b53ab),{'index':_0x199c99,'available':this['pageList'][_0x59b117(_0x257d91._0x282021)]});this[_0x59b117(_0x257d91._0x3e82cd)][_0x59b117(0x14c)](_0x199c99,0x1);}async['enterFrame'](_0x169134){const _0x15ac00={_0x4e5554:0x147,_0x5d822c:0x10c,_0x5200dc:0x13d,_0x1e710f:0xe3},_0x1d21c9=_0xf52122;this[_0x1d21c9(0x132)](_0x1d21c9(_0x15ac00._0x4e5554),[_0x169134]);if(!_0x169134[_0x1d21c9(_0x15ac00._0x5d822c)][_0x1d21c9(_0x15ac00._0x5200dc)])throw new LocatorError(_0x1d21c9(0x159),{'locator':_0x169134});this[_0x1d21c9(0xef)][_0x1d21c9(_0x15ac00._0x1e710f)](_0x169134);}async['exitFrame'](){const _0x91ea4a={_0x1dfa12:0xe5},_0x43aa82=_0xf52122;this[_0x43aa82(0x132)]('exitFrame',[]);if(this[_0x43aa82(0xef)][_0x43aa82(0x13d)]===0x0)throw new DriverError(_0x43aa82(_0x91ea4a._0x1dfa12),{});this[_0x43aa82(0xef)][_0x43aa82(0x157)]();}async[_0xf52122(0x115)](_0x5b5d5d,_0x3d5942){const _0xd79e6a={_0x3b5156:0x148},_0x417a01=_0xf52122;this[_0x417a01(0x132)]('setLocalStorage',[_0x5b5d5d,_0x3d5942]),this[_0x417a01(_0xd79e6a._0x3b5156)][_0x5b5d5d]=_0x3d5942;}async[_0xf52122(0x124)](_0x4e6fe6){const _0x4143c5={_0x19ef03:0x124,_0x16c04c:0x148},_0x3f0c7c=_0xf52122;return this[_0x3f0c7c(0x132)](_0x3f0c7c(_0x4143c5._0x19ef03),[_0x4e6fe6]),this[_0x3f0c7c(_0x4143c5._0x16c04c)][_0x4e6fe6]??null;}async[_0xf52122(0x14a)](_0x21eee5,_0x54bafe,_0x529e51){const _0x351648={_0x327f4f:0x14a},_0x4293aa=_0xf52122;this[_0x4293aa(0x132)](_0x4293aa(_0x351648._0x327f4f),[_0x21eee5,_0x54bafe,_0x529e51]),this['cookieState'][_0x21eee5]=_0x54bafe;}async[_0xf52122(0x10a)](_0x5953dd){const _0x358f4f={_0x5e71d7:0x10a,_0x3948e0:0x10e},_0x417402=_0xf52122;return this['record'](_0x417402(_0x358f4f._0x5e71d7),[_0x5953dd]),this[_0x417402(_0x358f4f._0x3948e0)][_0x5953dd]??null;}async[_0xf52122(0xe9)](_0x3f7d9f){const _0xe9faff={_0x20f2c4:0x132,_0x285313:0xe9},_0xbc597e=_0xf52122;this[_0xbc597e(_0xe9faff._0x20f2c4)](_0xbc597e(_0xe9faff._0x285313),[_0x3f7d9f]);}async[_0xf52122(0x103)](_0x495c73){const _0x3fde4e={_0x27ee4e:0x103},_0x98d67c=_0xf52122;return this[_0x98d67c(0x132)](_0x98d67c(_0x3fde4e._0x27ee4e),[_0x495c73]),void 0x0;}async[_0xf52122(0xf9)](){const _0x442fdb={_0x53c5f5:0x132},_0x1872f6=_0xf52122;this[_0x1872f6(_0x442fdb._0x53c5f5)]('close',[]);}['frameDepth'](){const _0x3a2034=_0xf52122;return this[_0x3a2034(0xef)]['length'];}},FakeWebDriver=class{constructor(_0x2ea376={}){const _0x38fd4c={_0x58ddd8:0x131,_0x544d9f:0x108},_0x5e3922=_0xf52122;this[_0x5e3922(_0x38fd4c._0x58ddd8)]=_0x2ea376,this[_0x5e3922(_0x38fd4c._0x544d9f)]=createRecorder();}['behavior'];static{__name(this,_0xf52122(0x152));}[_0xf52122(0x109)]=![];['recorder'];[_0xf52122(0x11c)]=[];async[_0xf52122(0x121)](_0x46ac49){const _0x165a5a={_0x59d34:0xe3,_0x1c8f81:0x109},_0x2e225a=_0xf52122;this['recorder'][_0x2e225a(_0x165a5a._0x59d34)]({'scope':_0x2e225a(0x145),'method':'launch','args':[_0x46ac49]}),this[_0x2e225a(_0x165a5a._0x1c8f81)]=!![];}async[_0xf52122(0x149)](_0x19bbb3){const _0x253836={_0x38c11b:0x108,_0x26fa7c:0x149,_0x50b030:0x13e,_0x396c34:0x108,_0x36259c:0x131,_0x47d100:0x11c,_0x548d0b:0xe3},_0x300fcb=_0xf52122;this[_0x300fcb(_0x253836._0x38c11b)][_0x300fcb(0xe3)]({'scope':'driver','method':_0x300fcb(_0x253836._0x26fa7c),'args':[_0x19bbb3]});if(!this[_0x300fcb(0x109)])throw new DriverError(_0x300fcb(_0x253836._0x50b030),{});const _0x2fde21=new FakeContext(this[_0x300fcb(_0x253836._0x396c34)],this[_0x300fcb(_0x253836._0x36259c)],'ctx'+this[_0x300fcb(_0x253836._0x47d100)]['length']);return this[_0x300fcb(0x11c)][_0x300fcb(_0x253836._0x548d0b)](_0x2fde21),_0x2fde21;}async[_0xf52122(0xf9)](){const _0x1d6715={_0x2a989e:0xe3},_0x3c8dd1=_0xf52122;this['recorder'][_0x3c8dd1(_0x1d6715._0x2a989e)]({'scope':_0x3c8dd1(0x145),'method':_0x3c8dd1(0xf9),'args':[]}),this[_0x3c8dd1(0x109)]=![];}[_0xf52122(0x112)](){return void 0x0;}async['connectShared'](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}['attachExisting'](){const _0x7b176f=_0xf52122;throw new DriverError(_0x7b176f(0xfd),{});}[_0xf52122(0x105)](){const _0x459f80={_0xbcb172:0x108},_0x394187=_0xf52122;return this[_0x394187(_0x459f80._0xbcb172)][_0x394187(0x105)]();}['callsFor'](_0x5e938c){const _0x1961eb={_0x4c504f:0xf3},_0x58ebae=_0xf52122;return this[_0x58ebae(0x108)][_0x58ebae(0x105)]()[_0x58ebae(_0x1961eb._0x4c504f)](_0x3ee526=>_0x3ee526[_0x58ebae(0x13b)]===_0x5e938c);}};export{FakeWebDriver};