@unotest/web 0.26.0 → 0.26.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/CHANGELOG.md CHANGED
@@ -1,5 +1,107 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.26.1] - 2026-08-30
4
+
5
+ ### Patch Changes
6
+
7
+ - A push now says which environments could not run the suite
8
+
9
+ The values a suite's externals need live with the environment on a box —
10
+ no bundle carries them, deliberately — so a suite pushed to a box that
11
+ has none of them was accepted happily and went red an hour later,
12
+ complaining about a missing login. The bundle now carries the NAMES its
13
+ `.env` / `.secrets` (or their `.example` twins) declare — names only,
14
+ never values — and the box answers the push with what it cannot supply,
15
+ per environment, plus the command that sets each one.
16
+
17
+ - One command cuts the whole release
18
+
19
+ `publish:ecosystem` now also commits the docs pin and cuts the box
20
+ release (the `guard-v<version>` tag) when something a box runs changed
21
+ since the last one — `--skip-box` refuses, `--box` forces. Two artifacts
22
+ from one commit used to be two commands, and the second one is the one
23
+ people forget: a fleet on yesterday's daemon while npm has today's.
24
+ What is left for a human is one `git push --follow-tags`.
25
+
26
+ - A collection prepares its own environment: `prepare:` in
27
+ `unotest/e2e/_collections/<name>.yaml`
28
+
29
+ `prepare` used to live only in a `schedules` entry, so it ran on a
30
+ scheduled tick and nowhere else. A suite that needs a seeded database was
31
+ therefore red for every other way of starting it — a CI check of a
32
+ deployment, the Run button in a box's viewer — with a message about a
33
+ missing table rather than about an unprepared environment. It belongs to
34
+ the suite, so it now lives with the suite: the collection's own `prepare:`
35
+ runs however the collection was started, inside the same queue slot, and a
36
+ failure still exits 94 rather than pretending the tests ran. A `schedules`
37
+ entry may still name its own (it wins for that tick), and `--no-prepare`
38
+ skips it for a run against an environment somebody else prepared.
39
+
40
+ - Fix: the mirror shipped the monorepo's `.secrets` verbatim
41
+
42
+ `publish-examples` copied `unotest/.secrets` into the public examples
43
+ repository as `.secrets.example`. That was harmless while the file held
44
+ only the playground's public demo login, and stopped being harmless the
45
+ moment a real credential was added to it. Secret KEYS are now spelled out
46
+ in the generator (values only where they are genuinely public), and a
47
+ guard refuses to publish when the two lists disagree — the same discipline
48
+ `.env` has had.
49
+
50
+ - Fix: `bundle push --run --env <name>` refused to run
51
+
52
+ `--env` was consumed globally, where it selects a local `.env.<name>`
53
+ overlay, and never reached `bundle push` — whose `--env` names an
54
+ environment ON A BOX. The command every CI job and the box manual use
55
+ ("--run needs --env") could not work as documented. `bundle` now keeps its
56
+ own flag; every other command is unchanged.
57
+
58
+ - Fix: a viewer started for an environment listed no runs at all
59
+
60
+ A box starts one viewer per environment and names it through
61
+ `UNOTEST_ENV`; the viewer's launcher ignored that variable and came up on
62
+ the base runs directory, while runs were filed under `.runs.<environment>`.
63
+ Effect on a box: an empty run history right after a suite finished.
64
+
65
+ - 9424f6b: Fix: screenshots stayed blank in the viewer when runs write to a separate
66
+ artifact root
67
+
68
+ A run whose artifacts do not live under the working directory — every run on
69
+ a box, where the sources are a disposable copy of a test bundle — emitted
70
+ `screenshot` events whose path was relativised against the working directory.
71
+ That came out as `../../../…`, which the viewer's asset route refuses to
72
+ serve, so every step preview rendered as a broken image. Artifact paths are
73
+ now relative to the artifact root, which is still the project root on every
74
+ local run.
75
+
76
+ The failure bundle had the mirror-image problem: it was written to
77
+ `.unotest/failures/` under the working directory, so on a box it landed
78
+ inside the bundle copy — outside the tree the viewer serves, and discarded on
79
+ the next bundle push. It now hangs off the artifact root too, which leaves
80
+ local runs byte-for-byte unchanged.
81
+
82
+ The inspector's Semantic DOM, Console, Network and Snapshot panes were dark
83
+ for a third reason, and this one bit local runs as well: they composed the
84
+ run's directory in the browser and left out the date shard runs have been
85
+ filed under since M-10, plus the environment suffix on a box. The viewer's
86
+ asset route now takes `?file=<name-relative-to-the-run-dir>` and resolves the
87
+ directory itself — runs root, target suffix, environment suffix and shard are
88
+ all things only the server knows. `?path=` stays for the whole paths the
89
+ server ships on run events.
90
+
91
+ - d380850: `bundle push` strips the project's own install hooks (`postinstall`,
92
+ `prepare`, …) from the packed `package.json`. A box installs the suite's
93
+ dependencies; the project's hooks are not its business, and they point at
94
+ files a bundle deliberately does not carry (build scripts, Makefiles), so
95
+ `npm ci` on the box died with MODULE_NOT_FOUND. Dependency scripts — native
96
+ module builds — are untouched, and the push reports what it removed on a
97
+ `note:` line.
98
+ - Updated dependencies [9424f6b]
99
+ - @unotest/protocol@0.26.1
100
+ - @unotest/viewer@0.26.1
101
+ - @unotest/core@0.26.1
102
+ - @unotest/dsl@0.26.1
103
+ - @unotest/grounder-client@0.26.1
104
+
3
105
  ## [0.26.0] - 2026-08-30
4
106
 
5
107
  ### Minor Changes
package/README.md CHANGED
@@ -111,6 +111,11 @@ send. Uncommitted work is included and marked *wip*, which is what makes
111
111
  this a fast loop rather than a release step. Secrets stay behind:
112
112
  `unotest/.env*` and `.secrets*` never travel, because environment values
113
113
  belong to the environment and are injected over the bundle when it runs.
114
+ Your project's install hooks (`postinstall`, `prepare`, ...) are removed
115
+ from the packed `package.json`: a box installs the suite's dependencies,
116
+ it does not run project hooks — they reference files that do not travel,
117
+ and env setup they usually do is the box's job anyway. Dependency install
118
+ scripts (native modules) run as normal.
114
119
 
115
120
  What would break on the box is refused here instead — a scenario that
116
121
  reads a file outside `unotest/`, a missing lockfile, no `@unotest/web`
@@ -215,15 +215,15 @@ declare const WebServerConfigSchema: z.ZodObject<{
215
215
  /** How long to wait for the URL to come up after spawning. */
216
216
  timeoutMs: z.ZodDefault<z.ZodNumber>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- command: string;
219
218
  url: string;
220
- reuseExistingServer: boolean;
221
219
  timeoutMs: number;
222
- }, {
223
220
  command: string;
221
+ reuseExistingServer: boolean;
222
+ }, {
224
223
  url: string;
225
- reuseExistingServer?: boolean | undefined;
224
+ command: string;
226
225
  timeoutMs?: number | undefined;
226
+ reuseExistingServer?: boolean | undefined;
227
227
  }>;
228
228
  type WebServerConfig = z.infer<typeof WebServerConfigSchema>;
229
229
  declare const UnotestConfigSchema: z.ZodObject<{
@@ -249,15 +249,15 @@ declare const UnotestConfigSchema: z.ZodObject<{
249
249
  /** How long to wait for the URL to come up after spawning. */
250
250
  timeoutMs: z.ZodDefault<z.ZodNumber>;
251
251
  }, "strip", z.ZodTypeAny, {
252
- command: string;
253
252
  url: string;
254
- reuseExistingServer: boolean;
255
253
  timeoutMs: number;
256
- }, {
257
254
  command: string;
255
+ reuseExistingServer: boolean;
256
+ }, {
258
257
  url: string;
259
- reuseExistingServer?: boolean | undefined;
258
+ command: string;
260
259
  timeoutMs?: number | undefined;
260
+ reuseExistingServer?: boolean | undefined;
261
261
  }>>;
262
262
  browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
263
263
  channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"chrome">, z.ZodLiteral<"msedge">, z.ZodLiteral<"chrome-beta">, z.ZodNull]>>;
@@ -508,10 +508,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
508
508
  };
509
509
  baseUrl?: string | undefined;
510
510
  webServer?: {
511
- command: string;
512
511
  url: string;
513
- reuseExistingServer: boolean;
514
512
  timeoutMs: number;
513
+ command: string;
514
+ reuseExistingServer: boolean;
515
515
  } | undefined;
516
516
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
517
517
  storageState?: string | undefined;
@@ -564,10 +564,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
564
564
  };
565
565
  baseUrl?: string | undefined;
566
566
  webServer?: {
567
- command: string;
568
567
  url: string;
569
- reuseExistingServer?: boolean | undefined;
568
+ command: string;
570
569
  timeoutMs?: number | undefined;
570
+ reuseExistingServer?: boolean | undefined;
571
571
  } | undefined;
572
572
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
573
573
  storageState?: string | undefined;
@@ -1 +1 @@
1
- var _0x4524d5=_0x5168;(function(_0x3c09e9,_0x418a63){var _0x2ede57={_0x53f834:0x132,_0x1a5b85:0xf6,_0x477609:0xfc,_0x50f25d:0x12a,_0x3578fb:0xf4},_0x4e28b8=_0x5168,_0x3ce8c9=_0x3c09e9();while(!![]){try{var _0x16b59e=parseInt(_0x4e28b8(0x11d))/0x1*(-parseInt(_0x4e28b8(_0x2ede57._0x53f834))/0x2)+-parseInt(_0x4e28b8(_0x2ede57._0x1a5b85))/0x3*(parseInt(_0x4e28b8(0x12e))/0x4)+-parseInt(_0x4e28b8(_0x2ede57._0x477609))/0x5+-parseInt(_0x4e28b8(0x10c))/0x6+-parseInt(_0x4e28b8(_0x2ede57._0x50f25d))/0x7+parseInt(_0x4e28b8(_0x2ede57._0x3578fb))/0x8*(parseInt(_0x4e28b8(0x119))/0x9)+-parseInt(_0x4e28b8(0x133))/0xa*(-parseInt(_0x4e28b8(0x107))/0xb);if(_0x16b59e===_0x418a63)break;else _0x3ce8c9['push'](_0x3ce8c9['shift']());}catch(_0x137c93){_0x3ce8c9['push'](_0x3ce8c9['shift']());}}}(_0xf7a7,0x33208));import{z}from'zod';var BrowserSchema=z[_0x4524d5(0xfa)]([_0x4524d5(0x11e),_0x4524d5(0x103),_0x4524d5(0x11a)]),BrowserChannelSchema=z[_0x4524d5(0x12f)]([z[_0x4524d5(0x113)](_0x4524d5(0x10a)),z[_0x4524d5(0x113)](_0x4524d5(0x116)),z['literal'](_0x4524d5(0x135)),z[_0x4524d5(0xfb)]()])[_0x4524d5(0x120)](),ViewportSchema=z[_0x4524d5(0xf9)]({'width':z['number']()['int']()[_0x4524d5(0x112)](),'height':z[_0x4524d5(0xff)]()[_0x4524d5(0x126)]()[_0x4524d5(0x112)]()}),RetryReasonSchema=z[_0x4524d5(0xfa)]([_0x4524d5(0x127),_0x4524d5(0x114),_0x4524d5(0x117)]),RetryConfigSchema=z[_0x4524d5(0xf9)]({'count':z[_0x4524d5(0xff)]()[_0x4524d5(0x126)]()[_0x4524d5(0x108)](0x0)[_0x4524d5(0x10e)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x4524d5(0xf9)]({'tier1':z[_0x4524d5(0x113)](!![])['default'](!![]),'tier2':z['boolean'](),'tier3':z[_0x4524d5(0xf9)]({'network':z[_0x4524d5(0x101)](),'video':z[_0x4524d5(0x101)]()}),'retention':z['object']({'runs':z[_0x4524d5(0xff)]()[_0x4524d5(0x126)]()[_0x4524d5(0x112)](),'days':z[_0x4524d5(0xff)]()[_0x4524d5(0x126)]()[_0x4524d5(0x112)]()}),'storageDir':z[_0x4524d5(0x131)]()['min'](0x1)}),DialogPolicySchema=z[_0x4524d5(0xfa)]([_0x4524d5(0xf5),_0x4524d5(0x12b),'manual']),LinterRuleIdSchema=z[_0x4524d5(0xfa)](['lint:deep-css','lint:xpath',_0x4524d5(0x100),_0x4524d5(0x10d),'lint:disambig-by-index',_0x4524d5(0x10b),_0x4524d5(0x11b),_0x4524d5(0x109),'lint:goto-concat','lint:regex-invalid',_0x4524d5(0xf7),_0x4524d5(0x121),_0x4524d5(0x115),_0x4524d5(0x111),_0x4524d5(0x134),_0x4524d5(0x12d),_0x4524d5(0xfd),_0x4524d5(0x129),_0x4524d5(0x125),_0x4524d5(0x106),_0x4524d5(0x10f),'validator:for-shape',_0x4524d5(0x102),'validator:var-shape',_0x4524d5(0x122),_0x4524d5(0x136),_0x4524d5(0xf8),'validator:semantic-loss',_0x4524d5(0x110),_0x4524d5(0x118)]),LinterSeveritySchema=z[_0x4524d5(0xfa)]([_0x4524d5(0x123),_0x4524d5(0x11c),_0x4524d5(0xfe)]),LinterConfigSchema=z['object']({'enabled':z[_0x4524d5(0x101)](),'rules':z[_0x4524d5(0x11f)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x4524d5(0xf9)]({'enabled':z[_0x4524d5(0x101)]()[_0x4524d5(0x124)](!![]),'concurrency':z['number']()[_0x4524d5(0x126)]()[_0x4524d5(0x112)]()[_0x4524d5(0x124)](0x1)}),ScheduleSchema=z['object']({'collection':z[_0x4524d5(0x131)]()[_0x4524d5(0x108)](0x1),'cron':z[_0x4524d5(0x131)]()[_0x4524d5(0x108)](0x1),'env':z[_0x4524d5(0x131)]()['min'](0x1)[_0x4524d5(0x120)](),'prepare':z['string']()['min'](0x1)[_0x4524d5(0x120)]()}),McpConfigSchema=z['object']({'transport':z[_0x4524d5(0x113)]('stdio')}),SandboxConfigSchema=z[_0x4524d5(0xf9)]({'shellCwd':z[_0x4524d5(0x131)]()[_0x4524d5(0x120)](),'shellTimeoutMs':z[_0x4524d5(0xff)]()[_0x4524d5(0x126)]()[_0x4524d5(0x112)]()[_0x4524d5(0x120)](),'exportSecrets':z[_0x4524d5(0x130)](z[_0x4524d5(0x131)]())[_0x4524d5(0x120)](),'database':z[_0x4524d5(0x131)]()[_0x4524d5(0x120)](),'apiBaseUrl':z[_0x4524d5(0x131)]()[_0x4524d5(0x105)]()[_0x4524d5(0x120)](),'uploadDir':z[_0x4524d5(0x131)]()[_0x4524d5(0x120)]()}),WebServerConfigSchema=z['object']({'command':z[_0x4524d5(0x131)]()['min'](0x1),'url':z[_0x4524d5(0x131)]()['url'](),'reuseExistingServer':z[_0x4524d5(0x101)]()[_0x4524d5(0x124)](!![]),'timeoutMs':z[_0x4524d5(0xff)]()['int']()[_0x4524d5(0x112)]()[_0x4524d5(0x124)](0xea60)}),UnotestConfigSchema=z[_0x4524d5(0xf9)]({'baseUrl':z['string']()[_0x4524d5(0x105)]()['optional'](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x4524d5(0x130)](BrowserSchema)[_0x4524d5(0x108)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x4524d5(0x131)]()[_0x4524d5(0x120)](),'testDir':z[_0x4524d5(0x131)]()[_0x4524d5(0x108)](0x1),'helpersDir':z['string']()['min'](0x1),'defaultTimeoutMs':z[_0x4524d5(0xff)]()['int']()[_0x4524d5(0x112)](),'defaultNavigationTimeoutMs':z['number']()[_0x4524d5(0x126)]()[_0x4524d5(0x112)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x4524d5(0x130)](ScheduleSchema)[_0x4524d5(0x124)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x4524d5(0x11e)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4524d5(0x104)},'dialogPolicy':'accept','testDir':_0x4524d5(0x128),'helpersDir':_0x4524d5(0x12c),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':_0x4524d5(0x11c),'lint:obfuscated-class':_0x4524d5(0x11c),'lint:pause-explicit':_0x4524d5(0x11c),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x4524d5(0x11c),'lint:scenario-in-root':_0x4524d5(0xfe),'lint:mustache-in-dsl':'error','lint:goto-concat':_0x4524d5(0x11c),'lint:regex-invalid':_0x4524d5(0xfe),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x4524d5(0x11c),'validator:unknown-function':'error'}},'mcp':{'transport':'stdio'},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0xf7a7(){var _0x46848c=['DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mte4otC2y0PlwvjU','ywnJzxb0','nJi4mtC5u2TZzfHc','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','B2jQzwn0','zw51Bq','BNvSBa','mte4mdy1mePfyLDNyW','DMfSAwrHDg9YoMfYzY1RAw5K','zxjYB3i','BNvTyMvY','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','yM9VBgvHBG','DMfSAwrHDg9YoMLMlxnOyxbL','zMLYzwzVEa','lNvUB3rLC3qVzMfPBhvYzxm','DxjS','DMfSAwrHDg9YoM1LDgeTC2HHCgu','mti4mZKYotLHu25uB1i','BwLU','BgLUDdPTDxn0ywnOzs1PBI1KC2W','y2HYB21L','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','mJqYmZi1nKryAuD4Dq','BgLUDdPWyxvZzs1LEhbSAwnPDa','Bwf4','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DMfSAwrHDg9YoMXPC3qTyxjN','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','Cg9ZAxrPDMu','BgL0zxjHBa','BMv0D29YAW','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','BxnLzgDL','y3jHC2G','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','mJi1Bg9jtgTN','D2vIA2L0','BgLUDdPZy2vUyxjPBY1PBI1YB290','D2fYBG','mtfNA0vIwhC','y2HYB21PDw0','CMvJB3jK','B3b0Aw9UywW','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','B2zM','zgvMyxvSDa','DMfSAwrHDg9YoNn0zxaTC2HHCgu','Aw50','DhjHBNnPzw50','Dw5VDgvZDc9LmMu','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','mJe5nty1nw5Pzu5wrq','zgLZBwLZCW','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','DMfSAwrHDg9YoMfYAxr5','ngrTwMz2vW','Dw5PB24','yxjYyxK','C3rYAw5N','mZaYnZHHvwHbsLy','mtbxBNPtug8','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','y2HYB21LlwjLDge'];_0xf7a7=function(){return _0x46848c;};return _0xf7a7();}function _0x5168(_0x41a6a9,_0x3ac1ba){_0x41a6a9=_0x41a6a9-0xf4;var _0xf7a713=_0xf7a7();var _0x51688f=_0xf7a713[_0x41a6a9];if(_0x5168['MTKvAD']===undefined){var _0x2e1125=function(_0x2a7278){var _0x59ed99='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xb9a3f4='',_0x1cbb32='';for(var _0x17da05=0x0,_0x14ced8,_0x1b651c,_0xbfb45f=0x0;_0x1b651c=_0x2a7278['charAt'](_0xbfb45f++);~_0x1b651c&&(_0x14ced8=_0x17da05%0x4?_0x14ced8*0x40+_0x1b651c:_0x1b651c,_0x17da05++%0x4)?_0xb9a3f4+=String['fromCharCode'](0xff&_0x14ced8>>(-0x2*_0x17da05&0x6)):0x0){_0x1b651c=_0x59ed99['indexOf'](_0x1b651c);}for(var _0x5a036c=0x0,_0x40a4a5=_0xb9a3f4['length'];_0x5a036c<_0x40a4a5;_0x5a036c++){_0x1cbb32+='%'+('00'+_0xb9a3f4['charCodeAt'](_0x5a036c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1cbb32);};_0x5168['VfICfF']=_0x2e1125,_0x5168['KKBYRv']={},_0x5168['MTKvAD']=!![];}var _0x284c6e=_0xf7a713[0x0],_0x315e33=_0x41a6a9+_0x284c6e,_0xe386bd=_0x5168['KKBYRv'][_0x315e33];return!_0xe386bd?(_0x51688f=_0x5168['VfICfF'](_0x51688f),_0x5168['KKBYRv'][_0x315e33]=_0x51688f):_0x51688f=_0xe386bd,_0x51688f;}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
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 +1 @@
1
- const _0x1e5072=_0xe0c3;function _0x565c(){const _0x5732aa=['rMfRzvDLyKrYAxzLCG','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','lNbHz2uW','Aw5UzxjuzxH0','y2HLy2TLzfn0yxrLqNLezwzHDwX0','nJGWnJy4mvnMBhLXva','zhjPDMvY','AxneAxnHyMXLza','D2fPDezVCK5HDMLNyxrPB24','mteXodu2mtr5yLz0rg0','Ag92zxi','y29VA2LLu3rHDgu','DgL0Bgu','y2XVC2u','D2fPDezVCKXVywrtDgf0zq','Bwv0Ag9K','Bgf1BMnOzwq','Bg9JywXtDg9YywDLu3rHDgu','zMLSDgvY','odaXnZy1mgPSveDmsq','y291BNq','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Cg9W','Bgf1BMnO','mJiXotqXnxzUqwTrsq','Dw5JAgvJAW','CMvJB3jK','tg9JyxrVCKvYCM9Y','B25bzNrLCKnSAwnR','C2nYB2XSsw50B1zPzxC','BMv0D29YA0vUDhjPzxm','y2XPCgjVyxjKugfZDgu','zxzHBhvHDgu','zgvSzxrL','zhjHz0fUzerYB3a','y2XVC2vgywTLugfNzq','yMvOyxzPB3i','zxjYB3jpBK5LEhrby3rPB24','m2zVswjzyq','C2v0qwn0AxzLugfNzq','y3r4','zNjVBq','zNjHBwvezxb0Aa','Aw5ZCgvJDevSzw1LBNq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y3vYCMvUDfvYBa','nZK0mJndzuHpC0W','y29VA2LLCW','A2LUza','zwXLBwvUDeHPBNrcEvjLzG','C2v0q29VA2LL','y2HLy2TLzfn0yxrL','z29gB3j3yxjK','y2fSBhngB3i','C2nVCgu','CMvJB3jKzxi','Bwf5yMvuAhjVDW','ntGXnJe2zK9nwwfZ','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','Aw5WDxrwywX1zuj5rgvMyxvSDa','C3rLChm','yxr0ywnOrxHPC3rPBMC','B3v0zxjive1m','ywn0AxzLswr4','AxnwAxnPyMXLqNLezwzHDwX0','C2f2zvn0B3jHz2vtDgf0zq','B25ozxDqywDL','z2v0q29VA2LL','C3vIC2nYAwjL','y2XPy2S','z29cywnR','D2fPDezVCG','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','z2v0qxr0CMLIDxrL','C2v0tg9JywXtDg9YywDL','CMvSB2fK','y2fSBhm','y29UC29SzuvUDhjPzxm','zg91yMXLq2XPy2S','D2fPDezVCLvYBa','ChvZAa','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','BMv3q29UDgv4Da','zMLSBa','y2HLy2S','Aw5WDxrwywX1zq','BMv3ugfNzuXPC3rLBMvYCW','zNjHBwvtDgfJAW','ywrK','zw50zxjgCMfTzq','zw1PDezHA2vqB3b1Ca','Cg9WDxbpBKnSAwnR','Bg9JywXtDg9YywDL','BMfTzq','z290BW','D2fPDezVCLrLEhq','B3v0zxjiDg1SqNLszwy','y29UDgv4Dhm','Aw5UzxjuzxH0qNLezwzHDwX0','Dgv4DenVBNrLBNq','mJi2otiYmM5bBe5cBW','BgvUz3rO','Aw5PDgLHBfvYBa','rMfRzvbHz2u','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zxzHBhvHDgvpBKXVy2f0B3i','z2v0tg9JywXtDg9YywDL','C3bSAwnL','C2vSzwn0t3b0Aw9U','CMvM','AxnwAxnPyMXL','nfzXALrLwa','CgfNzuXPC3q','C2nYzwvUC2HVDa'];_0x565c=function(){return _0x5732aa;};return _0x565c();}(function(_0x36e8af,_0x346571){const _0x142e7e={_0x3be03a:0x150,_0xffa51e:0x127,_0xe7e94f:0x142,_0x1bf331:0x13d,_0x45a9d5:0x163},_0x5c2691=_0xe0c3,_0x13e008=_0x36e8af();while(!![]){try{const _0x4d5e4f=-parseInt(_0x5c2691(0x158))/0x1+parseInt(_0x5c2691(0x11c))/0x2*(-parseInt(_0x5c2691(_0x142e7e._0x3be03a))/0x3)+parseInt(_0x5c2691(_0x142e7e._0xffa51e))/0x4*(parseInt(_0x5c2691(_0x142e7e._0xe7e94f))/0x5)+parseInt(_0x5c2691(_0x142e7e._0x1bf331))/0x6+-parseInt(_0x5c2691(0x12f))/0x7+-parseInt(_0x5c2691(_0x142e7e._0x45a9d5))/0x8+parseInt(_0x5c2691(0x133))/0x9;if(_0x4d5e4f===_0x346571)break;else _0x13e008['push'](_0x13e008['shift']());}catch(_0x43dc39){_0x13e008['push'](_0x13e008['shift']());}}}(_0x565c,0xba7ed));var __defProp=Object['defineProperty'],__name=(_0x1fa2c0,_0x465806)=>__defProp(_0x1fa2c0,_0x1e5072(0x115),{'value':_0x465806,'configurable':!![]});function subscribe(_0x2b6346,_0x270042){const _0x11fe48={_0x4c94b8:0x14b},_0x14788a=_0x1e5072;return _0x2b6346[_0x14788a(0x110)](_0x270042),()=>{const _0x307c6e=_0x14788a;_0x2b6346[_0x307c6e(_0x11fe48._0x4c94b8)](_0x270042);};}__name(subscribe,_0x1e5072(0xfc));function _0xe0c3(_0x3063fd,_0x3ea5f5){_0x3063fd=_0x3063fd-0xf7;const _0x565ca4=_0x565c();let _0xe0c30f=_0x565ca4[_0x3063fd];if(_0xe0c3['IePtpq']===undefined){var _0xc1b9ec=function(_0x3110f6){const _0x1a6e5d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1fa2c0='',_0x465806='';for(let _0x2b6346=0x0,_0x270042,_0x4ad0d7,_0x3b6646=0x0;_0x4ad0d7=_0x3110f6['charAt'](_0x3b6646++);~_0x4ad0d7&&(_0x270042=_0x2b6346%0x4?_0x270042*0x40+_0x4ad0d7:_0x4ad0d7,_0x2b6346++%0x4)?_0x1fa2c0+=String['fromCharCode'](0xff&_0x270042>>(-0x2*_0x2b6346&0x6)):0x0){_0x4ad0d7=_0x1a6e5d['indexOf'](_0x4ad0d7);}for(let _0x184bd9=0x0,_0x5e97a8=_0x1fa2c0['length'];_0x184bd9<_0x5e97a8;_0x184bd9++){_0x465806+='%'+('00'+_0x1fa2c0['charCodeAt'](_0x184bd9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x465806);};_0xe0c3['fKQMaX']=_0xc1b9ec,_0xe0c3['nSUQGa']={},_0xe0c3['IePtpq']=!![];}const _0x1ba8ab=_0x565ca4[0x0],_0x16d413=_0x3063fd+_0x1ba8ab,_0x1e3c2e=_0xe0c3['nSUQGa'][_0x16d413];return!_0x1e3c2e?(_0xe0c30f=_0xe0c3['fKQMaX'](_0xe0c30f),_0xe0c3['nSUQGa'][_0x16d413]=_0xe0c30f):_0xe0c30f=_0x1e3c2e,_0xe0c30f;}import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x1e5072(0x145));}};function createRecorder(){const _0x40f7d8={_0x2421f1:0x108},_0x2d412d=_0x1e5072,_0x4ad0d7=[];let _0x3b6646=0x0;return{'push':__name(_0x184bd9=>_0x4ad0d7[_0x2d412d(0x108)]({..._0x184bd9,'seq':_0x3b6646++}),_0x2d412d(_0x40f7d8._0x2421f1)),'calls':__name(()=>_0x4ad0d7,'calls')};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x5e97a8,_0x3f5def,_0x1971bc,_0x9f2552){const _0x1c2afb={_0x2ecb51:0x161,_0x2a39cd:0x14e},_0x1393c5=_0x1e5072;this[_0x1393c5(_0x1c2afb._0x2ecb51)]=_0x5e97a8,this[_0x1393c5(_0x1c2afb._0x2a39cd)]=_0x3f5def,this[_0x1393c5(0x160)]=_0x1971bc,this['currentUrl']=_0x9f2552;}[_0x1e5072(0x161)];[_0x1e5072(0x14e)];[_0x1e5072(0x160)];static{__name(this,_0x1e5072(0x11f));}['currentUrl'];['onAfterClick'];[_0x1e5072(0x144)](_0x4086f7,_0x506a01){const _0x43a2db={_0x109ebd:0x161},_0x17f9dc=_0x1e5072;this[_0x17f9dc(_0x43a2db._0x109ebd)]['push']({'scope':this[_0x17f9dc(0x160)],'method':_0x4086f7,'args':_0x506a01});}[_0x1e5072(0x162)](){const _0x2ccfa4={_0x24f0d0:0x14f,_0x2c80e9:0x14f},_0x5d3c73=_0x1e5072;if(this[_0x5d3c73(0x14e)][_0x5d3c73(_0x2ccfa4._0x24f0d0)]){const _0x19b950=this[_0x5d3c73(0x14e)][_0x5d3c73(_0x2ccfa4._0x2c80e9)];this[_0x5d3c73(0x14e)][_0x5d3c73(_0x2ccfa4._0x24f0d0)]=void 0x0;throw _0x19b950;}}['url'](){const _0x455420={_0x36f76c:0x157},_0x464443=_0x1e5072;return this[_0x464443(_0x455420._0x36f76c)];}async[_0x1e5072(0x136)](){const _0xb829c7=_0x1e5072;return this[_0xb829c7(0x144)](_0xb829c7(0x136),[]),'fake\x20title';}async[_0x1e5072(0xfd)](_0x182c0a,_0x305433){const _0x1bf881={_0x3cfe02:0x144,_0x5e321a:0xfd,_0x18dd48:0x146},_0x3d8875=_0x1e5072;this[_0x3d8875(_0x1bf881._0x3cfe02)](_0x3d8875(_0x1bf881._0x5e321a),[_0x182c0a,_0x305433]),this[_0x3d8875(0x162)](),this[_0x3d8875(_0x1bf881._0x18dd48)]?.();}async[_0x1e5072(0x106)](_0x4b2ce6,_0x56f28f){const _0x5a33de={_0x501a9c:0x106},_0x259571=_0x1e5072;this['record'](_0x259571(_0x5a33de._0x501a9c),[_0x4b2ce6,_0x56f28f]),this[_0x259571(0x162)]();}async[_0x1e5072(0x10b)](_0x2c10be,_0x34b437,_0x5b5abd){const _0x5d871f={_0x540461:0x144,_0x442a9b:0x162},_0x1c0558=_0x1e5072;this[_0x1c0558(_0x5d871f._0x540461)](_0x1c0558(0x10b),[_0x2c10be,_0x34b437,_0x5b5abd]),this[_0x1c0558(_0x5d871f._0x442a9b)]();}async['press'](_0x509f60,_0x23e76d,_0x15c6f8){const _0x4aba8c=_0x1e5072;this[_0x4aba8c(0x144)]('press',[_0x509f60,_0x23e76d,_0x15c6f8]),this[_0x4aba8c(0x162)]();}async['check'](_0x2abf6a,_0x4fd01a){const _0x4b0556=_0x1e5072;this[_0x4b0556(0x144)](_0x4b0556(0x10c),[_0x2abf6a,_0x4fd01a]),this[_0x4b0556(0x162)]();}async[_0x1e5072(0x143)](_0x53f434,_0x6b2231){const _0x2f974e={_0x31c59a:0x144,_0x2217b8:0x143},_0x1b40ae=_0x1e5072;this[_0x1b40ae(_0x2f974e._0x31c59a)](_0x1b40ae(_0x2f974e._0x2217b8),[_0x53f434,_0x6b2231]),this[_0x1b40ae(0x162)]();}async[_0x1e5072(0x124)](_0x3c5ff6,_0x120463,_0x55fc54){const _0x5472b0={_0x4ebc43:0x144,_0x86acbb:0x124},_0x514eb4=_0x1e5072;this[_0x514eb4(_0x5472b0._0x4ebc43)](_0x514eb4(_0x5472b0._0x86acbb),[_0x3c5ff6,_0x120463,_0x55fc54]),this[_0x514eb4(0x162)]();}async[_0x1e5072(0x134)](_0x17603a,_0x323168){const _0x473a8e={_0x240c86:0x162},_0x30c5d1=_0x1e5072;this['record']('hover',[_0x17603a,_0x323168]),this[_0x30c5d1(_0x473a8e._0x240c86)]();}async[_0x1e5072(0x147)](_0x4987cc){const _0x187cc9={_0x404227:0x147},_0x45f58a=_0x1e5072;this[_0x45f58a(0x144)](_0x45f58a(_0x187cc9._0x404227),[_0x4987cc]),this[_0x45f58a(0x162)]();}async[_0x1e5072(0x14c)](_0x3e8cf6,_0x14069a,_0x1fbf1e){const _0xd6eb14={_0x37b640:0x162},_0x14a242=_0x1e5072;this['record']('dragAndDrop',[_0x3e8cf6,_0x14069a,_0x1fbf1e]),this[_0x14a242(_0xd6eb14._0x37b640)]();}async['uploadFile'](_0x46a5ba,_0x2d79d7){const _0x4f24e6={_0x1ca2c3:0x162},_0x493d25=_0x1e5072;this[_0x493d25(0x144)]('uploadFile',[_0x46a5ba,_0x2d79d7]),this[_0x493d25(_0x4f24e6._0x1ca2c3)]();}async[_0x1e5072(0x149)](_0x32a312,_0x4d59a3){const _0x4cd0a1=_0x1e5072;this[_0x4cd0a1(0x144)](_0x4cd0a1(0x149),[_0x32a312,_0x4d59a3]),this['maybeThrow']();}async[_0x1e5072(0x13e)](_0xfd07ea){const _0x252123={_0x20da29:0x14e},_0x1d038a=_0x1e5072;return this[_0x1d038a(0x144)](_0x1d038a(0x13e),[_0xfd07ea]),this[_0x1d038a(_0x252123._0x20da29)]['countByDefault']??0x1;}async[_0x1e5072(0x11b)](_0x2d111f){const _0x208eae={_0x5e8a22:0x144},_0x54610e=_0x1e5072;return this[_0x54610e(_0x208eae._0x5e8a22)](_0x54610e(0x11b),[_0x2d111f]),this[_0x54610e(0x14e)][_0x54610e(0x120)]??'';}async[_0x1e5072(0x12d)](_0x39fe91){const _0x2b32e3=_0x1e5072;return this['record']('innerText',[_0x39fe91]),this[_0x2b32e3(0x14e)][_0x2b32e3(0x11a)]??this['behavior'][_0x2b32e3(0x120)]??'';}async[_0x1e5072(0x10d)](_0x5c881c){const _0x36f84a={_0x1b263a:0x165},_0x195db4=_0x1e5072;return this['record']('inputValue',[_0x5c881c]),this['behavior'][_0x195db4(_0x36f84a._0x1b263a)]??'';}async[_0x1e5072(0x15d)](_0x1bc8ab){const _0x1f6a28={_0x452ca1:0x15d,_0x3c56e9:0x14e,_0x3e5425:0x12e},_0x391e66=_0x1e5072;return this[_0x391e66(0x144)](_0x391e66(_0x1f6a28._0x452ca1),[_0x1bc8ab]),this[_0x391e66(_0x1f6a28._0x3c56e9)][_0x391e66(_0x1f6a28._0x3e5425)]??null;}async[_0x1e5072(0x126)](_0xa8f6ee){const _0x1579aa={_0x57ef2e:0xf8},_0x672491=_0x1e5072;return this[_0x672491(0x144)](_0x672491(0x126),[_0xa8f6ee]),this[_0x672491(0x14e)][_0x672491(_0x1579aa._0x57ef2e)]??!![];}async['isDisabled'](_0x170a38){const _0x5053c7={_0x13c622:0x144,_0x5571f5:0x14e},_0x4ba34f=_0x1e5072;return this[_0x4ba34f(_0x5053c7._0x13c622)](_0x4ba34f(0x131),[_0x170a38]),this[_0x4ba34f(_0x5053c7._0x5571f5)]['isDisabledByDefault']??![];}async[_0x1e5072(0x101)](_0x4b0b44,_0x430d6b){const _0x4f0d4f=_0x1e5072;return this[_0x4f0d4f(0x144)]('getAttribute',[_0x4b0b44,_0x430d6b]),this['behavior']['attributesByDefault']?.[_0x430d6b]??null;}async[_0x1e5072(0xff)](_0xf35f5d,_0x45b4b7){const _0x1f329b={_0x3fa060:0x144},_0x407830=_0x1e5072;this[_0x407830(_0x1f329b._0x3fa060)]('waitFor',[_0xf35f5d,_0x45b4b7]);}async[_0x1e5072(0x107)](_0x45a51c,_0xa9679f){const _0x17a844={_0x5c1389:0x107},_0x34037c=_0x1e5072;this['record'](_0x34037c(_0x17a844._0x5c1389),[_0x45a51c,_0xa9679f]);}async[_0x1e5072(0x117)](_0x5cd169,_0x1701d4){const _0x3bb006={_0x3d5f0f:0x144},_0x23f34d=_0x1e5072;this[_0x23f34d(_0x3bb006._0x3d5f0f)](_0x23f34d(0x117),[_0x5cd169,_0x1701d4]);}async[_0x1e5072(0x132)](_0x591a80){const _0x46ccaf={_0x3486b4:0x144},_0x1d363e=_0x1e5072;this[_0x1d363e(_0x46ccaf._0x3486b4)]('waitForNavigation',[_0x591a80]);}async[_0x1e5072(0x138)](_0x9674fe,_0x1f986b){const _0x561c69=_0x1e5072;this['record'](_0x561c69(0x138),[_0x9674fe,_0x1f986b]);}async[_0x1e5072(0x116)](_0x5d6972,_0x2475b2){const _0x314db9={_0x2e9eb8:0x116},_0x444bad=_0x1e5072;this[_0x444bad(0x144)](_0x444bad(_0x314db9._0x2e9eb8),[_0x5d6972,_0x2475b2]),this['currentUrl']=_0x5d6972;}async[_0x1e5072(0x103)](_0x10df04){const _0x12c96b={_0x58cf94:0x144},_0x324abf=_0x1e5072;this[_0x324abf(_0x12c96b._0x58cf94)](_0x324abf(0x103),[_0x10df04]);}async[_0x1e5072(0xfe)](_0x556df4){const _0x42d0fc={_0x53c20b:0x144},_0xd1a90b=_0x1e5072;this[_0xd1a90b(_0x42d0fc._0x53c20b)]('goBack',[_0x556df4]);}async['goForward'](_0x3853a1){const _0x347cd4=_0x1e5072;this[_0x347cd4(0x144)](_0x347cd4(0x15e),[_0x3853a1]);}async['evaluate'](_0x528294){const _0x3887e8={_0x4ad97a:0x144,_0x453e39:0x14a},_0x390803=_0x1e5072;return this[_0x390803(_0x3887e8._0x4ad97a)](_0x390803(_0x3887e8._0x453e39),[_0x528294]),void 0x0;}async[_0x1e5072(0x121)](_0x543cca,_0x2fb419){return this['record']('evaluateOnLocator',[_0x543cca,_0x2fb419]),void 0x0;}async[_0x1e5072(0x155)](_0x4ced12){const _0x2972ad={_0x58b204:0x166,_0x596d0a:0x15a,_0x4ca743:0x166,_0x4fbca8:0x125,_0x1fcc1c:0x14e,_0x4cc618:0x15b},_0x1a4134=_0x1e5072;this['record'](_0x1a4134(0x155),[_0x4ced12]);if(_0x4ced12['steps'][_0x1a4134(0x11d)]!==0x1||_0x4ced12[_0x1a4134(_0x2972ad._0x58b204)][0x0][_0x1a4134(_0x2972ad._0x596d0a)]!=='ref')return null;const _0x96b266=_0x4ced12[_0x1a4134(_0x2972ad._0x4ca743)][0x0][_0x1a4134(_0x2972ad._0x4fbca8)],_0x36d431=this[_0x1a4134(_0x2972ad._0x1fcc1c)][_0x1a4134(_0x2972ad._0x4cc618)]?.[_0x96b266];return _0x36d431??null;}async[_0x1e5072(0x129)](_0xfdec5f){const _0x5c334e=_0x1e5072;return this[_0x5c334e(0x144)](_0x5c334e(0x129),[_0xfdec5f]),Buffer[_0x5c334e(0x153)]('fake-png');}async[_0x1e5072(0x168)](_0x2ebb08){const _0x260d24={_0x4e86e3:0x144,_0x48348f:0x11d,_0x1278e1:0x15a,_0x3fee85:0x166,_0x5bc2e8:0x14e,_0x5c6343:0x13f},_0x1a7f13=_0x1e5072;this[_0x1a7f13(_0x260d24._0x4e86e3)](_0x1a7f13(0x168),[_0x2ebb08]);if(_0x2ebb08['steps'][_0x1a7f13(_0x260d24._0x48348f)]===0x1&&_0x2ebb08[_0x1a7f13(0x166)][0x0][_0x1a7f13(_0x260d24._0x1278e1)]===_0x1a7f13(0x125)){const _0x581099=_0x2ebb08[_0x1a7f13(_0x260d24._0x3fee85)][0x0][_0x1a7f13(0x125)];return this[_0x1a7f13(_0x260d24._0x5bc2e8)][_0x1a7f13(0x118)]?.[_0x581099]??_0x1a7f13(_0x260d24._0x5c6343)+_0x581099+'\x22></div>';}return'<div></div>';}},FakeContext=class{constructor(_0x1344ec,_0x57ad87,_0x194218){const _0xa2d86f={_0xa9d988:0x14e,_0x4ca0b7:0x160,_0x3d9403:0x12c,_0x36d009:0x113,_0x4f0232:0x13b,_0x13b9f5:0x114},_0x4ad8a2=_0x1e5072;this[_0x4ad8a2(0x161)]=_0x1344ec,this[_0x4ad8a2(_0xa2d86f._0xa9d988)]=_0x57ad87,this[_0x4ad8a2(_0xa2d86f._0x4ca0b7)]=_0x194218;const _0x31d247=new FakePage(_0x1344ec,_0x57ad87,_0x194218+_0x4ad8a2(_0xa2d86f._0x3d9403),_0x57ad87[_0x4ad8a2(0x11e)]??'about:blank');_0x57ad87[_0x4ad8a2(_0xa2d86f._0x36d009)]&&(_0x31d247[_0x4ad8a2(0x146)]=()=>{const _0x493850=_0x4ad8a2;this[_0x493850(0x112)](_0x57ad87[_0x493850(0x113)]);}),this['pageList']=[_0x31d247],this[_0x4ad8a2(_0xa2d86f._0x4f0232)]={..._0x57ad87[_0x4ad8a2(_0xa2d86f._0x13b9f5)]??{}},this['cookieState']={..._0x57ad87[_0x4ad8a2(0x159)]??{}};}[_0x1e5072(0x161)];[_0x1e5072(0x14e)];[_0x1e5072(0x160)];static{__name(this,'FakeContext');}[_0x1e5072(0x128)];[_0x1e5072(0xf7)]=0x0;[_0x1e5072(0x10f)]=[];[_0x1e5072(0x13b)];[_0x1e5072(0x135)];[_0x1e5072(0x10e)]=new Set();['record'](_0x9c8613,_0x4d5ae7){const _0x5132e6={_0x1d0d39:0x161},_0x30ccdd=_0x1e5072;this[_0x30ccdd(_0x5132e6._0x1d0d39)][_0x30ccdd(0x108)]({'scope':this[_0x30ccdd(0x160)],'method':_0x9c8613,'args':_0x4d5ae7});}['pages'](){const _0x51ecb1=_0x1e5072;return this[_0x51ecb1(0x128)];}['activePage'](){const _0x3faca1={_0x5570a7:0x128,_0x52f69d:0x100},_0x47fb1b=_0x1e5072,_0x8f36a=this[_0x47fb1b(_0x3faca1._0x5570a7)][this[_0x47fb1b(0xf7)]];if(!_0x8f36a)throw new DriverError(_0x47fb1b(_0x3faca1._0x52f69d),{'activeIdx':this[_0x47fb1b(0xf7)]});return _0x8f36a;}['consoleEntries'](){const _0x43a8ac={_0x5ec262:0x105},_0x1065e9=_0x1e5072;return this['behavior'][_0x1065e9(_0x43a8ac._0x5ec262)]??[];}[_0x1e5072(0x148)](){const _0x70d3d9={_0x41543f:0x148},_0x187844=_0x1e5072;return this[_0x187844(0x14e)][_0x187844(_0x70d3d9._0x41543f)]??[];}async[_0x1e5072(0x151)](_0x2923a7){const _0x7e78f2={_0x4d9b9c:0x109,_0xb47173:0x128,_0x47eb89:0x11d},_0x3a321b=_0x1e5072;this[_0x3a321b(0x144)](_0x3a321b(0x151),[_0x2923a7]);if(_0x2923a7<0x0||_0x2923a7>=this[_0x3a321b(0x128)]['length'])throw new DriverError(_0x3a321b(_0x7e78f2._0x4d9b9c),{'index':_0x2923a7,'available':this[_0x3a321b(_0x7e78f2._0xb47173)][_0x3a321b(0x11d)]});this[_0x3a321b(0xf7)]=_0x2923a7,this['frameStack'][_0x3a321b(_0x7e78f2._0x47eb89)]=0x0;}[_0x1e5072(0xfa)](_0x4d555b){const _0x15df72=_0x1e5072;return subscribe(this[_0x15df72(0x10e)],_0x4d555b);}[_0x1e5072(0x112)](_0x3e99b1){const _0xe03fb2={_0x2c4423:0x11d,_0x45f689:0x128},_0x75cf88=_0x1e5072,_0x16b0a2=this[_0x75cf88(0x160)]+'.page'+this['pageList'][_0x75cf88(_0xe03fb2._0x2c4423)],_0x286b4b=new FakePage(this['recorder'],this['behavior'],_0x16b0a2,_0x3e99b1);this[_0x75cf88(_0xe03fb2._0x45f689)]['push'](_0x286b4b);const _0x3e3222=this['pageList']['length']-0x1;for(const _0x559a9b of this[_0x75cf88(0x10e)]){try{_0x559a9b({'index':_0x3e3222,'url':_0x3e99b1});}catch{}}return _0x3e3222;}[_0x1e5072(0x14d)](_0x5e595c){const _0x4ab5d7={_0x29a0ee:0x128,_0x54d52e:0x11d,_0x2b3841:0x109,_0x5c9b52:0x123},_0x1e3e09=_0x1e5072;if(_0x5e595c<0x0||_0x5e595c>=this[_0x1e3e09(_0x4ab5d7._0x29a0ee)][_0x1e3e09(_0x4ab5d7._0x54d52e)])throw new DriverError(_0x1e3e09(_0x4ab5d7._0x2b3841),{'index':_0x5e595c,'available':this['pageList']['length']});this['pageList'][_0x1e3e09(_0x4ab5d7._0x5c9b52)](_0x5e595c,0x1);}async[_0x1e5072(0x111)](_0x288afe){const _0x3696c3={_0x934ff3:0x111,_0xc90647:0x10f},_0xd71ab8=_0x1e5072;this['record'](_0xd71ab8(_0x3696c3._0x934ff3),[_0x288afe]);if(!_0x288afe[_0xd71ab8(0x166)]['length'])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x288afe});this[_0xd71ab8(_0x3696c3._0xc90647)][_0xd71ab8(0x108)](_0x288afe);}async['exitFrame'](){const _0xd5b175={_0x56ffea:0x10f,_0x447c5b:0x12b},_0x317ed2=_0x1e5072;this['record']('exitFrame',[]);if(this[_0x317ed2(_0xd5b175._0x56ffea)]['length']===0x0)throw new DriverError(_0x317ed2(_0xd5b175._0x447c5b),{});this[_0x317ed2(0x10f)][_0x317ed2(0x140)]();}async[_0x1e5072(0x102)](_0x255b59,_0xad0efc){const _0x4bca91={_0xffee4f:0x13b},_0x501f09=_0x1e5072;this['record']('setLocalStorage',[_0x255b59,_0xad0efc]),this[_0x501f09(_0x4bca91._0xffee4f)][_0x255b59]=_0xad0efc;}async[_0x1e5072(0x122)](_0x20ae07){const _0x37d297=_0x1e5072;return this[_0x37d297(0x144)](_0x37d297(0x122),[_0x20ae07]),this['localStorageState'][_0x20ae07]??null;}async[_0x1e5072(0x15c)](_0x541c58,_0x1c7b99,_0xb38c38){const _0x34245b={_0x4df1f3:0x144},_0xc6b191=_0x1e5072;this[_0xc6b191(_0x34245b._0x4df1f3)](_0xc6b191(0x15c),[_0x541c58,_0x1c7b99,_0xb38c38]),this[_0xc6b191(0x135)][_0x541c58]=_0x1c7b99;}async[_0x1e5072(0xfb)](_0x344e94){const _0x5aa85e={_0x18eb17:0x144,_0x5c4989:0xfb,_0x59c20f:0x135},_0x66e9e9=_0x1e5072;return this[_0x66e9e9(_0x5aa85e._0x18eb17)](_0x66e9e9(_0x5aa85e._0x5c4989),[_0x344e94]),this[_0x66e9e9(_0x5aa85e._0x59c20f)][_0x344e94]??null;}async[_0x1e5072(0xf9)](_0x461f48){this['record']('saveStorageState',[_0x461f48]);}async['evaluate'](_0x509dba){const _0x2ec829={_0x44e579:0x14a},_0x1c814a=_0x1e5072;return this[_0x1c814a(0x144)](_0x1c814a(_0x2ec829._0x44e579),[_0x509dba]),void 0x0;}async[_0x1e5072(0x137)](){const _0x3961d0=_0x1e5072;this['record'](_0x3961d0(0x137),[]);}[_0x1e5072(0x154)](){const _0x2e5a8b={_0xda8998:0x11d},_0x5761fd=_0x1e5072;return this['frameStack'][_0x5761fd(_0x2e5a8b._0xda8998)];}},FakeWebDriver=class{constructor(_0x2aa6e6={}){this['behavior']=_0x2aa6e6,this['recorder']=createRecorder();}[_0x1e5072(0x14e)];static{__name(this,_0x1e5072(0x12a));}[_0x1e5072(0x13a)]=![];[_0x1e5072(0x161)];[_0x1e5072(0x119)]=[];async[_0x1e5072(0x141)](_0x9bdfd){const _0x2351e8={_0x5126b5:0x161,_0x15606a:0x130,_0x5c26b2:0x141},_0x578c2e=_0x1e5072;this[_0x578c2e(_0x2351e8._0x5126b5)][_0x578c2e(0x108)]({'scope':_0x578c2e(_0x2351e8._0x15606a),'method':_0x578c2e(_0x2351e8._0x5c26b2),'args':[_0x9bdfd]}),this[_0x578c2e(0x13a)]=!![];}async[_0x1e5072(0x10a)](_0x16179d){const _0x4139e3={_0x3ba852:0x161,_0x31c760:0x10a,_0xe4829:0x13a,_0x572e62:0x152,_0x161c2c:0x11d},_0x159719=_0x1e5072;this[_0x159719(_0x4139e3._0x3ba852)][_0x159719(0x108)]({'scope':_0x159719(0x130),'method':_0x159719(_0x4139e3._0x31c760),'args':[_0x16179d]});if(!this[_0x159719(_0x4139e3._0xe4829)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x47c32b=new FakeContext(this['recorder'],this['behavior'],_0x159719(_0x4139e3._0x572e62)+this[_0x159719(0x119)][_0x159719(_0x4139e3._0x161c2c)]);return this[_0x159719(0x119)][_0x159719(0x108)](_0x47c32b),_0x47c32b;}async[_0x1e5072(0x137)](){const _0x22d9a8={_0x30e15e:0x161,_0x39d9a2:0x130,_0x4ea933:0x137},_0x316cef=_0x1e5072;this[_0x316cef(_0x22d9a8._0x30e15e)][_0x316cef(0x108)]({'scope':_0x316cef(_0x22d9a8._0x39d9a2),'method':_0x316cef(_0x22d9a8._0x4ea933),'args':[]}),this['launched']=![];}['wsEndpoint'](){return void 0x0;}async['connectShared'](){const _0x53961f={_0x1c70fb:0x156},_0x11e201=_0x1e5072;throw new DriverError(_0x11e201(_0x53961f._0x1c70fb),{});}[_0x1e5072(0x167)](){const _0x58786b={_0x2ff4b2:0x164},_0x1217c7=_0x1e5072;throw new DriverError(_0x1217c7(_0x58786b._0x2ff4b2),{});}[_0x1e5072(0x104)](){const _0x53f55d={_0x12fc35:0x104},_0xb2ea5e=_0x1e5072;return this['recorder'][_0xb2ea5e(_0x53f55d._0x12fc35)]();}[_0x1e5072(0x15f)](_0x3e6ca9){const _0x13afda={_0x212a6c:0x161,_0x33f28a:0x13c},_0x5d098c=_0x1e5072;return this[_0x5d098c(_0x13afda._0x212a6c)][_0x5d098c(0x104)]()[_0x5d098c(_0x13afda._0x33f28a)](_0x6b2e06=>_0x6b2e06[_0x5d098c(0x139)]===_0x3e6ca9);}};export{FakeWebDriver};
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};