@unotest/web 0.38.0 → 0.39.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,134 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.39.0] - 2026-09-18
4
+
5
+ ### Minor Changes
6
+
7
+ - 6778b6a: `picker on|off`: connect a project to the account's Picker, with no box
8
+
9
+ An account can have the Picker on without renting a box. `npx @unotest/web
10
+ picker on` fetches this project's own access and writes the three grounder
11
+ keys — mode and address into `unotest/.env`, the token into
12
+ `unotest/.secrets`, with `.gitignore` guarded — so an agent grounds intent
13
+ locators remotely from the next restart. `picker off` gives that access back
14
+ and clears the three keys, but only when they name the account's grounder: a
15
+ project pointing at a grounder of its own keeps it and is told so.
16
+
17
+ The command states the account's monthly ceiling before anything is spent.
18
+ There is no hourly charge for a Picker without a box, so the ceiling is the
19
+ price; the figure comes from the service, which takes it from the grounder
20
+ that enforces it. A service that has no figure yet says so rather than
21
+ leaving the silence to read as "no limit".
22
+
23
+ `picker off` leaves the Picker ON for the account — the switch that turns it
24
+ off for everything, and stops it counting against your monthly ceiling, is in
25
+ the cabinet. A box's own Picker is unchanged and stays
26
+ `box picker on|off [name]`.
27
+
28
+ ### Patch Changes
29
+
30
+ - d94f6c6: Switching the Picker off takes back the access it granted
31
+
32
+ Until now switching off changed what happens next: no further token was
33
+ issued. The token already on a machine kept working until its thirty days
34
+ ran out — so a button that said "off" left access on, and the spend it
35
+ allows was ours to pay.
36
+
37
+ Each issued grant is now remembered by its id, and switching off hands those
38
+ ids back: one grant when a project runs `picker off`, every grant of the
39
+ account when it is switched off in the cabinet. A project giving back its own
40
+ grant leaves the other machines of the same account working.
41
+
42
+ Access stops within the time it takes the list of withdrawn grants to reach
43
+ the grounder, not instantly — the commands say so, and the interval comes
44
+ from the service's own configuration. Giving back a grant that has already
45
+ been taken back, or one whose term has run out, is a success that says
46
+ nothing happened rather than an error.
47
+
48
+ - 1d26cd8: The Picker can be switched on for an account that rents no box
49
+
50
+ Until now the Picker was a property of a box: a flag on the box row, a
51
+ surcharge counted per box, a token naming the box it was minted for. An
52
+ account without a box had nowhere for any of that to live, so there was
53
+ nothing to switch on and nothing to check before handing a token out.
54
+
55
+ An account now has a Picker state of its own — on, off, or never switched —
56
+ and a token is issued against it. The token names the account and nothing
57
+ else, so what it spends is counted under the customer who asked for it, and
58
+ it is refused before it is signed when the Picker is off, when this service
59
+ has no grounder to send anyone to, or when the account has already spent its
60
+ month.
61
+
62
+ There is no hourly rate for the Picker without a box. What bounds the spend
63
+ is the monthly ceiling, and a token lasts thirty days.
64
+
65
+ - e358376: The screen on a box with no suite names the access step before the push
66
+
67
+ That screen named one command:
68
+
69
+ npx @unotest/web bundle push --run --env ENVIRONMENT
70
+
71
+ In a project that has just been created, the command refuses with `no box
72
+ address` before it does anything: the project holds neither the box's address
73
+ nor its tokens until it is given them. A reader who followed the screen from a
74
+ fresh project met that refusal instead of a run.
75
+
76
+ The screen now names both steps, in the order they have to happen:
77
+
78
+ npx @unotest/web box access larch
79
+ npx @unotest/web bundle push --run --env ENVIRONMENT
80
+
81
+ The box's own name is filled in when its licence carries one. `box access`
82
+ with no name refuses, and its refusal offers to create a box — to somebody who
83
+ is reading this screen on the box they already own. Where the name is not
84
+ known, the screen prints a placeholder and says that the name is the first part
85
+ of the address in the browser's address bar.
86
+
87
+ - d84db55: Every time the cabinet prints now says which zone it is in
88
+
89
+ A box card read "Paid until 2026-09-17 23:39". Seen in the first hour of the
90
+ 18th, from a zone ahead of UTC, that says the paid hour ran out yesterday. It
91
+ had not: the row is UTC and the reader is not, and the page said nothing about
92
+ which. The ledger table did name UTC — in a column heading — so the two
93
+ screens disagreed about whether an instant needs its zone, and every instant
94
+ printed outside a table had none.
95
+
96
+ The zone is now part of the instant itself, written once where both of the
97
+ cabinet's time formats take it from, so a screen added tomorrow cannot forget
98
+ it. The ledger's heading no longer repeats it.
99
+
100
+ What it does not do: guess the reader's zone. The pages carry no script and
101
+ this service has no setting to read, so naming the zone we print in is the
102
+ honest answer rather than showing a local time nobody asked us to compute.
103
+
104
+ - 10204ee: Revoking a key no longer promises that the machine stops at once
105
+
106
+ The cabinet said that revoking a machine's key means "that machine stops
107
+ working immediately". It does not. Revoking marks the key as revoked, and the
108
+ box access token pairs that machine already holds keep opening the box's doors
109
+ until they expire — up to thirty days. Somebody whose laptop was lost read
110
+ "immediately" and considered the matter closed, which is the larger harm.
111
+
112
+ The machines table and the revoke confirmation now say what actually happens:
113
+ the machine gets no new tokens with that key, it cannot sign in again and
114
+ cannot mint a fresh box access pair, and the pairs it already holds keep
115
+ working until they expire. What ends that access sooner is named as a fact
116
+ rather than offered as a step — destroying a box withdraws its pairs, and a
117
+ repeat `box access` replaces a pair only from a machine with the same host
118
+ name, which is rarely something the owner of a lost laptop can do.
119
+
120
+ Reissuing the CI key does stop that key immediately, and that half of the
121
+ hint stays; it now adds that box access pairs already minted with the key
122
+ outlive it.
123
+
124
+ Revoking those pairs along with the key is a separate change, still to come.
125
+
126
+ - @unotest/viewer@0.39.0
127
+ - @unotest/core@0.39.0
128
+ - @unotest/dsl@0.39.0
129
+ - @unotest/grounder-client@0.39.0
130
+ - @unotest/protocol@0.39.0
131
+
3
132
  ## [0.38.0] - 2026-09-17
4
133
 
5
134
  - **Signing in to a box explains itself.** The box's first page now says
package/README.md CHANGED
@@ -179,6 +179,20 @@ Picker is on — which models the cloud grounds with: `Our GPU` or
179
179
  `UNOTEST_GROUNDER_MODE`; a cloud that has not heard from its grounder
180
180
  prints nothing rather than a guess.
181
181
 
182
+ **Without a box.** An account can have the Picker on with no box rented
183
+ at all; the switch and the price for that live in the cabinet, and
184
+ `picker on` connects THIS project to it — it fetches the project's own
185
+ access and writes the same three keys, keeping the token out of the
186
+ repository. It says the account's monthly ceiling before anything is
187
+ spent: there is no hourly charge for a Picker without a box, so the
188
+ ceiling is the price. The figure comes from the service, which takes it
189
+ from the grounder that enforces it — and when the grounder has not
190
+ reported one, the command says that instead of guessing. `picker off` disconnects this project and clears the three
191
+ keys — leaving the Picker **on for the account**, because the switch
192
+ that turns it off for everything, and stops it counting against your
193
+ monthly ceiling, is the cabinet's. A box's own Picker stays
194
+ `box picker`.
195
+
182
196
  An agent can drive all of it without a terminal: no prompt is shown
183
197
  without a TTY, and the exit codes say what happened — 75 the payment was
184
198
  not confirmed in time, 76 the terms of service need accepting (a person
@@ -1 +1 @@
1
- function _0x3c90(){var _0x6d5940=['DhjHBNnPzw50','y3jHC2G','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','yM9VBgvHBG','mLPTu3HJsa','BgLUDdP4Cgf0Aa','B3b0Aw9UywW','CMvJB3jK','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','oda1vhbiCefS','BwLU','B2jQzwn0','y2HYB21L','BgLUDdPLy2HVlwfZC2vYDa','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','D2vIA2L0','zxjYB3i','Dw5PB24','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoNzHCI1ZAgfWzq','DMfSAwrHDg9YoNn0zxaTC2HHCgu','zMLYzwzVEa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DxjS','BMv0D29YAW','Aw50','nZG2uuzoCfbQ','mtbXAM9KyKC','C3rYAw5N','BxnLzgDL','D2fYBG','DMfSAwrHDg9YoMXPC3qTyxjN','y2HYB21PDw0','Cg9ZAxrPDMu','mJuZmdi0s2XhAg9n','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPZy2vUyxjPBY1PBI1YB290','mtiZmZy4nJnmrKjuqxe','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','BgL0zxjHBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','mtK3ndmZnKXevM5QEa','BgLUDdPKzwvWlwnZCW','ntu3odKYm2nov2LizG','BgLUDdPNB3rVlwnVBMnHDa','BgLUDdPYzwDLEc1PBNzHBgLK','C3rKAw8','y2HYB21LlwjLDge','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','B2zM','BgLUDdPSzwDHy3KTBgf5B3v0','ndi0otqZmuner2rRua','BNvTyMvY','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','DMfSAwrHDg9YoM1LDgeTC2HHCgu','lNvUB3rLC3qVzMfPBhvYzxm','yxjYyxK','DMfSAwrHDg9YoMfYzY1RAw5K','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoMfYAxr5','nJy3ntu5tursDfb1','BNvSBa','zw51Bq','mJDdALfYDfq','zgvMyxvSDa'];_0x3c90=function(){return _0x6d5940;};return _0x3c90();}var _0x70c71e=_0x500b;(function(_0x5188e1,_0x2c14e3){var _0x53f3f4={_0x2323a4:0x1d2,_0x2f3f15:0x1d5,_0x118ff4:0x19e,_0x516ed9:0x1b0,_0x4a8139:0x1b1},_0x2eb4bd=_0x500b,_0x517a58=_0x5188e1();while(!![]){try{var _0x24744f=-parseInt(_0x2eb4bd(_0x53f3f4._0x2323a4))/0x1*(parseInt(_0x2eb4bd(0x1db))/0x2)+parseInt(_0x2eb4bd(_0x53f3f4._0x2f3f15))/0x3*(parseInt(_0x2eb4bd(0x1b8))/0x4)+-parseInt(_0x2eb4bd(_0x53f3f4._0x118ff4))/0x5*(parseInt(_0x2eb4bd(_0x53f3f4._0x516ed9))/0x6)+-parseInt(_0x2eb4bd(0x1c1))/0x7+-parseInt(_0x2eb4bd(0x1bf))/0x8+-parseInt(_0x2eb4bd(0x1c9))/0x9*(-parseInt(_0x2eb4bd(_0x53f3f4._0x4a8139))/0xa)+parseInt(_0x2eb4bd(0x1bb))/0xb;if(_0x24744f===_0x2c14e3)break;else _0x517a58['push'](_0x517a58['shift']());}catch(_0x4a8189){_0x517a58['push'](_0x517a58['shift']());}}}(_0x3c90,0x691e5));function _0x500b(_0x390083,_0x4d00a6){_0x390083=_0x390083-0x19a;var _0x3c9053=_0x3c90();var _0x500b8a=_0x3c9053[_0x390083];if(_0x500b['WBVHae']===undefined){var _0x4233cf=function(_0x8dfc2b){var _0x152376='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2308b2='',_0xaba295='';for(var _0x4f35a9=0x0,_0x2e854c,_0x38f977,_0x22062d=0x0;_0x38f977=_0x8dfc2b['charAt'](_0x22062d++);~_0x38f977&&(_0x2e854c=_0x4f35a9%0x4?_0x2e854c*0x40+_0x38f977:_0x38f977,_0x4f35a9++%0x4)?_0x2308b2+=String['fromCharCode'](0xff&_0x2e854c>>(-0x2*_0x4f35a9&0x6)):0x0){_0x38f977=_0x152376['indexOf'](_0x38f977);}for(var _0x49d4b6=0x0,_0x36be93=_0x2308b2['length'];_0x49d4b6<_0x36be93;_0x49d4b6++){_0xaba295+='%'+('00'+_0x2308b2['charCodeAt'](_0x49d4b6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xaba295);};_0x500b['ahiUbk']=_0x4233cf,_0x500b['joHCTu']={},_0x500b['WBVHae']=!![];}var _0x63acc7=_0x3c9053[0x0],_0x151ae0=_0x390083+_0x63acc7,_0x2f30a8=_0x500b['joHCTu'][_0x151ae0];return!_0x2f30a8?(_0x500b8a=_0x500b['ahiUbk'](_0x500b8a),_0x500b['joHCTu'][_0x151ae0]=_0x500b8a):_0x500b8a=_0x2f30a8,_0x500b8a;}import{z}from'zod';var BrowserSchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1b6),_0x70c71e(0x1aa),_0x70c71e(0x1a4)]),BrowserChannelSchema=z[_0x70c71e(0x1a6)]([z[_0x70c71e(0x1bd)](_0x70c71e(0x1a1)),z[_0x70c71e(0x1bd)](_0x70c71e(0x1b3)),z['literal'](_0x70c71e(0x1c5)),z[_0x70c71e(0x1d3)]()])['optional'](),ViewportSchema=z[_0x70c71e(0x1a0)]({'width':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'height':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),RetryReasonSchema=z['enum']([_0x70c71e(0x1d7),_0x70c71e(0x1ae),_0x70c71e(0x1d8)]),RetryConfigSchema=z[_0x70c71e(0x1a0)]({'count':z['number']()['int']()[_0x70c71e(0x19f)](0x0)['max'](0xa),'on':z[_0x70c71e(0x1ce)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x70c71e(0x1bd)](!![])[_0x70c71e(0x1d6)](!![]),'tier2':z[_0x70c71e(0x1da)](),'tier3':z[_0x70c71e(0x1a0)]({'network':z[_0x70c71e(0x1da)](),'video':z[_0x70c71e(0x1da)]()}),'retention':z[_0x70c71e(0x1a0)]({'runs':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'days':z['number']()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()}),'storageDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)}),DialogPolicySchema=z[_0x70c71e(0x1d4)](['accept','dismiss','manual']),LinterRuleIdSchema=z['enum']([_0x70c71e(0x1c0),_0x70c71e(0x19a),_0x70c71e(0x1bc),'lint:pause-explicit','lint:disambig-by-index',_0x70c71e(0x1d0),_0x70c71e(0x1ba),'lint:mustache-in-dsl',_0x70c71e(0x1c2),_0x70c71e(0x1c3),_0x70c71e(0x1a2),_0x70c71e(0x1ab),'lint:lint-ok-missing-reason',_0x70c71e(0x19d),_0x70c71e(0x1c8),_0x70c71e(0x1a3),'lint:one-test-per-file',_0x70c71e(0x1c6),_0x70c71e(0x1d1),_0x70c71e(0x1cf),_0x70c71e(0x1b9),_0x70c71e(0x1a9),_0x70c71e(0x1cc),_0x70c71e(0x1ac),_0x70c71e(0x1a7),'validator:if-shape',_0x70c71e(0x1a8),_0x70c71e(0x1cb),_0x70c71e(0x1be),'validator:string-concat','validator:semantic-loss',_0x70c71e(0x1b5),_0x70c71e(0x1d9)]),LinterSeveritySchema=z[_0x70c71e(0x1d4)]([_0x70c71e(0x1c7),_0x70c71e(0x1b4),_0x70c71e(0x1a5)]),LinterConfigSchema=z[_0x70c71e(0x1a0)]({'enabled':z['boolean'](),'rules':z[_0x70c71e(0x19c)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z['boolean']()[_0x70c71e(0x1d6)](!![]),'concurrency':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x1d6)](0x1)}),ScheduleSchema=z[_0x70c71e(0x1a0)]({'collection':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'cron':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'env':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1)[_0x70c71e(0x19b)](),'prepare':z[_0x70c71e(0x1b2)]()['min'](0x1)[_0x70c71e(0x19b)]()}),McpConfigSchema=z[_0x70c71e(0x1a0)]({'transport':z[_0x70c71e(0x1bd)](_0x70c71e(0x1c4))}),SandboxConfigSchema=z['object']({'shellCwd':z[_0x70c71e(0x1b2)]()['optional'](),'shellTimeoutMs':z[_0x70c71e(0x1ca)]()['int']()['positive']()[_0x70c71e(0x19b)](),'exportSecrets':z[_0x70c71e(0x1ce)](z[_0x70c71e(0x1b2)]())['optional'](),'database':z[_0x70c71e(0x1b2)]()['optional'](),'apiBaseUrl':z[_0x70c71e(0x1b2)]()['url']()[_0x70c71e(0x19b)](),'uploadDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)]()}),WebServerConfigSchema=z[_0x70c71e(0x1a0)]({'command':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'url':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)](),'reuseExistingServer':z[_0x70c71e(0x1da)]()[_0x70c71e(0x1d6)](!![]),'timeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)]()['default'](0xea60)}),UnotestConfigSchema=z[_0x70c71e(0x1a0)]({'baseUrl':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x1ad)]()[_0x70c71e(0x19b)](),'webServer':WebServerConfigSchema[_0x70c71e(0x19b)](),'browsers':z[_0x70c71e(0x1ce)](BrowserSchema)[_0x70c71e(0x19f)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19b)](),'testDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'helpersDir':z[_0x70c71e(0x1b2)]()[_0x70c71e(0x19f)](0x1),'defaultTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'defaultNavigationTimeoutMs':z[_0x70c71e(0x1ca)]()[_0x70c71e(0x1af)]()[_0x70c71e(0x1b7)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x70c71e(0x1ce)](ScheduleSchema)[_0x70c71e(0x1d6)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x70c71e(0x1b6)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x70c71e(0x1d7)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x70c71e(0x1cd)},'dialogPolicy':'accept','testDir':'unotest/e2e','helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x70c71e(0x1b4),'lint:disambig-by-index':'off','lint:evaluate-discouraged':_0x70c71e(0x1b4),'lint:scenario-in-root':_0x70c71e(0x1a5),'lint:mustache-in-dsl':_0x70c71e(0x1a5),'lint:goto-concat':_0x70c71e(0x1b4),'lint:regex-invalid':_0x70c71e(0x1a5),'lint:echo-assert':_0x70c71e(0x1b4),'lint:lint-ok-missing-reason':_0x70c71e(0x1b4),'lint:flow-returns-value':_0x70c71e(0x1b4),'lint:legacy-layout':'warn','lint:external-variable-undeclared':_0x70c71e(0x1a5),'lint:one-test-per-file':_0x70c71e(0x1b4),'validator:unknown-function':_0x70c71e(0x1a5)}},'mcp':{'transport':_0x70c71e(0x1c4)},'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 _0x2a0b84=_0x37c1;(function(_0x32f6d3,_0x7140bf){var _0x293aab={_0x40fa2e:0x191,_0x3b735d:0x18d,_0x38d4be:0x1a5,_0x2838eb:0x196},_0x4113b6=_0x37c1,_0x323301=_0x32f6d3();while(!![]){try{var _0x2290cd=-parseInt(_0x4113b6(_0x293aab._0x40fa2e))/0x1+parseInt(_0x4113b6(0x1ae))/0x2*(parseInt(_0x4113b6(0x1a3))/0x3)+-parseInt(_0x4113b6(0x1a6))/0x4+parseInt(_0x4113b6(_0x293aab._0x3b735d))/0x5*(-parseInt(_0x4113b6(0x18c))/0x6)+parseInt(_0x4113b6(_0x293aab._0x38d4be))/0x7*(-parseInt(_0x4113b6(_0x293aab._0x2838eb))/0x8)+parseInt(_0x4113b6(0x1af))/0x9+parseInt(_0x4113b6(0x1b0))/0xa;if(_0x2290cd===_0x7140bf)break;else _0x323301['push'](_0x323301['shift']());}catch(_0x4d5909){_0x323301['push'](_0x323301['shift']());}}}(_0x63f2,0xe3903));function _0x37c1(_0x11e61a,_0x5d3f5f){_0x11e61a=_0x11e61a-0x185;var _0x63f2e0=_0x63f2();var _0x37c14d=_0x63f2e0[_0x11e61a];if(_0x37c1['TpWBSF']===undefined){var _0x4a85ac=function(_0x5bd02e){var _0x16d92b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x582c4c='',_0x4560bf='';for(var _0x365384=0x0,_0x17071f,_0x1bd753,_0x1851d1=0x0;_0x1bd753=_0x5bd02e['charAt'](_0x1851d1++);~_0x1bd753&&(_0x17071f=_0x365384%0x4?_0x17071f*0x40+_0x1bd753:_0x1bd753,_0x365384++%0x4)?_0x582c4c+=String['fromCharCode'](0xff&_0x17071f>>(-0x2*_0x365384&0x6)):0x0){_0x1bd753=_0x16d92b['indexOf'](_0x1bd753);}for(var _0x351d2c=0x0,_0xec8297=_0x582c4c['length'];_0x351d2c<_0xec8297;_0x351d2c++){_0x4560bf+='%'+('00'+_0x582c4c['charCodeAt'](_0x351d2c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4560bf);};_0x37c1['tvjJud']=_0x4a85ac,_0x37c1['TvUqkr']={},_0x37c1['TpWBSF']=!![];}var _0x16a6d5=_0x63f2e0[0x0],_0x5c2378=_0x11e61a+_0x16a6d5,_0x3a1ec8=_0x37c1['TvUqkr'][_0x5c2378];return!_0x3a1ec8?(_0x37c14d=_0x37c1['tvjJud'](_0x37c14d),_0x37c1['TvUqkr'][_0x5c2378]=_0x37c14d):_0x37c14d=_0x3a1ec8,_0x37c14d;}function _0x63f2(){var _0x2d6173=['DMfSAwrHDg9YoMfYzY1RAw5K','BNvTyMvY','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mZi3tK9KD09y','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','mZC2mJi5ChDyvLnn','mZG1nJGYofv3BwPuBa','BgL0zxjHBa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','y2HYB21LlwjLDge','DxjS','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPYzwDLEc1PBNzHBgLK','zw51Bq','ndC2mKDXuvPZsG','mtKWote3ovvqEMPOAq','ndGWotm5mdbJBenhAMy','DMfSAwrHDg9YoMfYAxr5','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DMfSAwrHDg9YoNzHCI1ZAgfWzq','B3b0Aw9UywW','y2HYB21PDw0','B2jQzwn0','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','BwfUDwfS','yM9VBgvHBG','BxnLzgDL','zgvMyxvSDa','ywnJzxb0','C3rKAw8','B2zM','C3rYAw5N','Aw50','BgLUDdPNB3rVlwnVBMnHDa','Bwf4','CMvJB3jK','y3jHC2G','zxjYB3i','Cg9ZAxrPDMu','BgLUDdPKzwvWlwnZCW','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','mJrZyuHIyve','otCWmde1qMnxweTM','Dw5PB24','lNvUB3rLC3qVzMfPBhvYzxm','yxjYyxK','mty5ntaZm3jftMPqvG','BwLU','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','mtm2vxvjtvLQ','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','zgLZBwLZCW','BgLUDdPTDxn0ywnOzs1PBI1KC2W','D2fYBG','Dw5VDgvZDc9LmMu','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','zMLYzwzVEa','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','BNvSBa'];_0x63f2=function(){return _0x2d6173;};return _0x63f2();}import{z}from'zod';var BrowserSchema=z['enum'](['chromium',_0x2a0b84(0x19d),'webkit']),BrowserChannelSchema=z[_0x2a0b84(0x18e)]([z[_0x2a0b84(0x1a7)]('chrome'),z[_0x2a0b84(0x1a7)](_0x2a0b84(0x1ba)),z[_0x2a0b84(0x1a7)](_0x2a0b84(0x1a9)),z[_0x2a0b84(0x19f)]()])[_0x2a0b84(0x1b4)](),ViewportSchema=z[_0x2a0b84(0x1b6)]({'width':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)](),'height':z['number']()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()}),RetryReasonSchema=z[_0x2a0b84(0x1ad)](['transient','network',_0x2a0b84(0x185)]),RetryConfigSchema=z[_0x2a0b84(0x1b6)]({'count':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x192)](0x0)[_0x2a0b84(0x1c2)](0xa),'on':z[_0x2a0b84(0x190)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x2a0b84(0x1b6)]({'tier1':z[_0x2a0b84(0x1a7)](!![])[_0x2a0b84(0x1bb)](!![]),'tier2':z[_0x2a0b84(0x1b9)](),'tier3':z[_0x2a0b84(0x1b6)]({'network':z[_0x2a0b84(0x1b9)](),'video':z[_0x2a0b84(0x1b9)]()}),'retention':z['object']({'runs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)](),'days':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()}),'storageDir':z['string']()[_0x2a0b84(0x192)](0x1)}),DialogPolicySchema=z['enum']([_0x2a0b84(0x1bc),_0x2a0b84(0x198),_0x2a0b84(0x1b8)]),LinterRuleIdSchema=z[_0x2a0b84(0x1ad)]([_0x2a0b84(0x188),'lint:xpath',_0x2a0b84(0x18b),_0x2a0b84(0x193),_0x2a0b84(0x1a8),_0x2a0b84(0x195),'lint:scenario-in-root',_0x2a0b84(0x199),_0x2a0b84(0x1c1),_0x2a0b84(0x1ac),'lint:echo-assert',_0x2a0b84(0x1a4),_0x2a0b84(0x1b2),_0x2a0b84(0x1b7),'lint:legacy-layout',_0x2a0b84(0x19c),'lint:one-test-per-file','validator:unknown-function',_0x2a0b84(0x1b1),_0x2a0b84(0x1a0),'validator:step-coverage','validator:step-shape','validator:meta-shape',_0x2a0b84(0x19e),_0x2a0b84(0x1a2),'validator:if-shape',_0x2a0b84(0x1b3),_0x2a0b84(0x194),_0x2a0b84(0x189),_0x2a0b84(0x1ab),'validator:semantic-loss','validator:list-arg',_0x2a0b84(0x197)]),LinterSeveritySchema=z[_0x2a0b84(0x1ad)](['off','warn',_0x2a0b84(0x186)]),LinterConfigSchema=z[_0x2a0b84(0x1b6)]({'enabled':z[_0x2a0b84(0x1b9)](),'rules':z[_0x2a0b84(0x1c3)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x2a0b84(0x1b6)]({'enabled':z[_0x2a0b84(0x1b9)]()['default'](!![]),'concurrency':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()['positive']()[_0x2a0b84(0x1bb)](0x1)}),ScheduleSchema=z[_0x2a0b84(0x1b6)]({'collection':z[_0x2a0b84(0x1bf)]()['min'](0x1),'cron':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1),'env':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1)[_0x2a0b84(0x1b4)](),'prepare':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1)[_0x2a0b84(0x1b4)]()}),McpConfigSchema=z[_0x2a0b84(0x1b6)]({'transport':z['literal'](_0x2a0b84(0x1bd))}),SandboxConfigSchema=z[_0x2a0b84(0x1b6)]({'shellCwd':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)](),'shellTimeoutMs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()[_0x2a0b84(0x187)]()[_0x2a0b84(0x1b4)](),'exportSecrets':z[_0x2a0b84(0x190)](z['string']())[_0x2a0b84(0x1b4)](),'database':z['string']()[_0x2a0b84(0x1b4)](),'apiBaseUrl':z[_0x2a0b84(0x1bf)]()['url']()[_0x2a0b84(0x1b4)](),'uploadDir':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)]()}),WebServerConfigSchema=z[_0x2a0b84(0x1b6)]({'command':z['string']()[_0x2a0b84(0x192)](0x1),'url':z['string']()[_0x2a0b84(0x1aa)](),'reuseExistingServer':z[_0x2a0b84(0x1b9)]()[_0x2a0b84(0x1bb)](!![]),'timeoutMs':z[_0x2a0b84(0x1a1)]()['int']()['positive']()['default'](0xea60)}),UnotestConfigSchema=z[_0x2a0b84(0x1b6)]({'baseUrl':z['string']()[_0x2a0b84(0x1aa)]()[_0x2a0b84(0x1b4)](),'webServer':WebServerConfigSchema[_0x2a0b84(0x1b4)](),'browsers':z[_0x2a0b84(0x190)](BrowserSchema)[_0x2a0b84(0x192)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x1b4)](),'testDir':z[_0x2a0b84(0x1bf)]()[_0x2a0b84(0x192)](0x1),'helpersDir':z['string']()[_0x2a0b84(0x192)](0x1),'defaultTimeoutMs':z[_0x2a0b84(0x1a1)]()['int']()['positive'](),'defaultNavigationTimeoutMs':z[_0x2a0b84(0x1a1)]()[_0x2a0b84(0x1c0)]()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)[_0x2a0b84(0x1bb)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x2a0b84(0x1b5)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x2a0b84(0x18f)},'dialogPolicy':'accept','testDir':_0x2a0b84(0x19b),'helpersDir':_0x2a0b84(0x18a),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x2a0b84(0x19a),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':'warn','lint:disambig-by-index':_0x2a0b84(0x1be),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x2a0b84(0x186),'lint:mustache-in-dsl':_0x2a0b84(0x186),'lint:goto-concat':_0x2a0b84(0x19a),'lint:regex-invalid':'error','lint:echo-assert':_0x2a0b84(0x19a),'lint:lint-ok-missing-reason':_0x2a0b84(0x19a),'lint:flow-returns-value':'warn','lint:legacy-layout':_0x2a0b84(0x19a),'lint:external-variable-undeclared':_0x2a0b84(0x186),'lint:one-test-per-file':_0x2a0b84(0x19a),'validator:unknown-function':_0x2a0b84(0x186)}},'mcp':{'transport':_0x2a0b84(0x1bd)},'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 _0x3879b8=_0x468b;(function(_0x254a54,_0x3e59dd){const _0x13d403={_0x1603bf:0xd8,_0x4fe80d:0x123,_0x26ad3b:0xd1,_0x2f203f:0xcc},_0x426c47=_0x468b,_0x807b90=_0x254a54();while(!![]){try{const _0x2a3fba=-parseInt(_0x426c47(_0x13d403._0x1603bf))/0x1*(parseInt(_0x426c47(_0x13d403._0x4fe80d))/0x2)+parseInt(_0x426c47(0x11d))/0x3+parseInt(_0x426c47(0xe7))/0x4+-parseInt(_0x426c47(0x111))/0x5*(parseInt(_0x426c47(0xe0))/0x6)+-parseInt(_0x426c47(0xf6))/0x7+-parseInt(_0x426c47(_0x13d403._0x26ad3b))/0x8+-parseInt(_0x426c47(0x117))/0x9*(-parseInt(_0x426c47(_0x13d403._0x2f203f))/0xa);if(_0x2a3fba===_0x3e59dd)break;else _0x807b90['push'](_0x807b90['shift']());}catch(_0x516dbb){_0x807b90['push'](_0x807b90['shift']());}}}(_0x2dcb,0xa9b84));var __defProp=Object['defineProperty'],__name=(_0x470c05,_0x54f5b4)=>__defProp(_0x470c05,_0x3879b8(0x112),{'value':_0x54f5b4,'configurable':!![]});function subscribe(_0x503c1f,_0x449acd){const _0x354147={_0x4c48f1:0xdf},_0x100927=_0x3879b8;return _0x503c1f[_0x100927(0x11f)](_0x449acd),()=>{const _0x3cf3e9=_0x100927;_0x503c1f[_0x3cf3e9(_0x354147._0x4c48f1)](_0x449acd);};}__name(subscribe,_0x3879b8(0xe1));import{UnotestError}from'@unotest/core';function _0x2dcb(){const _0x35c520=['mZi2mdm0me96ENPIBW','z29gB3j3yxjK','ywrK','D2fPDezVCKXVywrtDgf0zq','y2XVC2u','y3jLyxrLuMvJB3jKzxi','nJiYyNHLwwjd','C2nVCgu','y2HLy2S','AxnwAxnPyMXLqNLezwzHDwX0','zwXLBwvUDeHPBNrcEvjLzG','zg91yMXLq2XPy2S','Dw5JAgvJAW','ChjLC3m','D2fPDezVCLrLEhq','zw50zxjgCMfTzq','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Aw5UzxjuzxH0qNLezwzHDwX0','y29VA2LLCW','C3bSAwnL','Cg9W','Aw5PDgLHBfvYBa','zxjYB3jpBK5LEhrby3rPB24','y2XPCgjVyxjKugfZDgu','Aw5WDxrwywX1zq','iJ48l2rPDJ4','zhjHz0fUzerYB3a','zw1PDezHA2vqB3b1Ca','BMv0D29YA0vUDhjPzxm','A2LUza','Bwf5yMvuAhjVDW','y3vYCMvUDfvYBa','C3rLChm','zMLSBa','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','y291BNq','y2HLy2TLzfn0yxrL','z29cywnR','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zNjHBwvezxb0Aa','CMvJB3jKzxi','ntbzD2H6qLm','zxzHBhvHDgvszxn1Bhq','lNbHz2uW','zNvUy3rPB24','ywn0AxzLswr4','nJyZmta4ofbVsKjIvW','zMfRzsb0AxrSzq','zxzHBhvHDgu','Aw5ZCgvJDevSzw1LBNq','D3nfBMrWB2LUDa','C2nYB2XSsw50B1zPzxC','tg9JyxrVCKvYCM9Y','mZeYn3rMuLDzCG','ywn0AxzLugfNzq','BMv3q29UDgv4Da','y2XPy2S','C2v0qwn0AxzLugfNzq','yMvOyxzPB3i','rMfRzunVBNrLEhq','zgvSzxrL','nLfVENviyq','C3vIC2nYAwjL','y29UDgv4Dhm','z2v0qxr0CMLIDxrL','D2fPDezVCK5HDMLNyxrPB24','AxneAxnHyMXLza','y2XVC2vgywTLugfNzq','mtm1otG5nMDOt1zjuW','Bg9JywXtDg9YywDLu3rHDgu','y29UC29SzuvUDhjPzxm','yxr0CMLIDxrLC0j5rgvMyxvSDa','B25bzNrLCKnSAwnR','zhjPDMvY','rhjPDMvYrxjYB3i','ChvZAa','CgfNzuXPC3q','Aw5UzxjuzxH0','z2v0tg9JywXtDg9YywDL','z290BW','pgrPDJ48l2rPDJ4','DgL0Bgu','Bgf1BMnOzwq','nde4otaXz2DbDMzv','D2fPDezVCG','DxjS','Dgv4DenVBNrLBNq','D2fPDezVCLvYBa','y2fSBhm','zNjVBq','z2v0q29VA2LL','CMvJB3jK','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zxHPDezYyw1L','DhLWzq','CMvM','C2v0q29VA2LL','Bgf1BMnO','Bg9JywXtDg9YywDL','BgvUz3rO','DxbSB2fKrMLSzq','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','C2vSzwn0t3b0Aw9U','zNjHBwvtDgfJAW','C2nYzwvUC2HVDej5DgvZ','y29UBMvJDfnOyxjLza','Dgv4DenVBNrLBNrcEurLzMf1Bhq','CgfNzxm','B3v0zxjive1m','y291BNrcEurLzMf1Bhq','ndG3odu1r2Dcu1PN','BMfTzq','Ag92zxi','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','C2f2zvn0B3jHz2vtDgf0zq','BMv3ugfNzuXPC3rLBMvYCW','mJiWodK4n2jLuvLnDq','y2fSBhngB3i','yxr0ywnOrxHPC3rPBMC','zxzHBhvHDgvpBKXVy2f0B3i','y29VA2LLu3rHDgu','CMvSB2fK'];_0x2dcb=function(){return _0x35c520;};return _0x2dcb();}var DriverError=class extends UnotestError{static{__name(this,_0x3879b8(0xed));}},LocatorError=class extends UnotestError{static{__name(this,_0x3879b8(0xd7));}};function createRecorder(){const _0x6fcfd9=_0x3879b8,_0xdbf75e=[];let _0x4203bf=0x0;return{'push':__name(_0x48556a=>_0xdbf75e[_0x6fcfd9(0xee)]({..._0x48556a,'seq':_0x4203bf++}),_0x6fcfd9(0xee)),'calls':__name(()=>_0xdbf75e,_0x6fcfd9(0xfb))};}__name(createRecorder,_0x3879b8(0x122));var FakePage=class{constructor(_0x1b23b7,_0x250eb6,_0x28c36a,_0x4d72b5){const _0x2274ed={_0x579e17:0xcb,_0x515962:0xdd,_0x5b51b1:0x124},_0x420b19=_0x3879b8;this[_0x420b19(_0x2274ed._0x579e17)]=_0x1b23b7,this[_0x420b19(_0x2274ed._0x515962)]=_0x250eb6,this[_0x420b19(_0x2274ed._0x5b51b1)]=_0x28c36a,this['currentUrl']=_0x4d72b5;}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,'FakePage');}[_0x3879b8(0x13c)];['onAfterClick'];[_0x3879b8(0xfe)](_0x527529,_0xbb595d){const _0x563e00=_0x3879b8;this['recorder'][_0x563e00(0xee)]({'scope':this[_0x563e00(0x124)],'method':_0x527529,'args':_0xbb595d});}['maybeThrow'](){const _0x1b8488={_0x3d3f9b:0x133},_0x3bf7af=_0x3879b8;if(this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)]){const _0x4e11fa=this[_0x3bf7af(0xdd)][_0x3bf7af(_0x1b8488._0x3d3f9b)];this[_0x3bf7af(0xdd)][_0x3bf7af(0x133)]=void 0x0;throw _0x4e11fa;}}[_0x3879b8(0xf8)](){const _0x5242e8={_0x204669:0x13c},_0x4c9a70=_0x3879b8;return this[_0x4c9a70(_0x5242e8._0x204669)];}async[_0x3879b8(0xf4)](){const _0x151c47={_0x15a9bc:0xfe},_0x1655ab=_0x3879b8;return this[_0x1655ab(_0x151c47._0x15a9bc)](_0x1655ab(0xf4),[]),_0x1655ab(0xd2);}async[_0x3879b8(0xdb)](_0x3d7122,_0x96e70f){const _0x4fb62f={_0x3edfe9:0xdb,_0x2e6945:0x13b},_0xee06cc=_0x3879b8;this[_0xee06cc(0xfe)](_0xee06cc(_0x4fb62f._0x3edfe9),[_0x3d7122,_0x96e70f]),this[_0xee06cc(_0x4fb62f._0x2e6945)](),this[_0xee06cc(0xeb)]?.();}async[_0x3879b8(0x128)](_0x386256,_0x3bb0a1){const _0x2b31c3={_0x34a024:0xfe},_0x5b3af8=_0x3879b8;this[_0x5b3af8(_0x2b31c3._0x34a024)]('doubleClick',[_0x386256,_0x3bb0a1]),this[_0x5b3af8(0x13b)]();}async[_0x3879b8(0xc4)](_0x2baea6,_0xbe7807,_0x57d3b5){const _0x2513dc=_0x3879b8;this['record']('fill',[_0x2baea6,_0xbe7807,_0x57d3b5]),this[_0x2513dc(0x13b)]();}async[_0x3879b8(0x12a)](_0x387014,_0x55c1c6,_0x15b25c){const _0x3c42ae=_0x3879b8;this['record'](_0x3c42ae(0x12a),[_0x387014,_0x55c1c6,_0x15b25c]),this['maybeThrow']();}async[_0x3879b8(0x125)](_0x2f1609,_0x4ec3f6){const _0xf32eaf=_0x3879b8;this['record']('check',[_0x2f1609,_0x4ec3f6]),this[_0xf32eaf(0x13b)]();}async[_0x3879b8(0x129)](_0xc938ad,_0xe32e30){const _0x381a38={_0x2603ed:0xfe,_0x1e0454:0x129},_0x2844cf=_0x3879b8;this[_0x2844cf(_0x381a38._0x2603ed)](_0x2844cf(_0x381a38._0x1e0454),[_0xc938ad,_0xe32e30]),this['maybeThrow']();}async[_0x3879b8(0x109)](_0x39edda,_0x3457e7,_0x3e7929){const _0x5e0a11={_0x255db7:0x109,_0x303baa:0x13b},_0xea05bd=_0x3879b8;this[_0xea05bd(0xfe)](_0xea05bd(_0x5e0a11._0x255db7),[_0x39edda,_0x3457e7,_0x3e7929]),this[_0xea05bd(_0x5e0a11._0x303baa)]();}async[_0x3879b8(0x113)](_0x2a789e,_0x1c5fcb){const _0x4f931a=_0x3879b8;this[_0x4f931a(0xfe)](_0x4f931a(0x113),[_0x2a789e,_0x1c5fcb]),this[_0x4f931a(0x13b)]();}async[_0x3879b8(0xd6)](_0x35c012){const _0x502085={_0x476502:0xfe,_0x366c87:0xd6},_0x3a96ad=_0x3879b8;this[_0x3a96ad(_0x502085._0x476502)](_0x3a96ad(_0x502085._0x366c87),[_0x35c012]),this[_0x3a96ad(0x13b)]();}async[_0x3879b8(0x137)](_0x48b3e7,_0x146f45,_0x495fbc){const _0x14c7e5={_0x4b65d7:0x137},_0xe32dee=_0x3879b8;this[_0xe32dee(0xfe)](_0xe32dee(_0x14c7e5._0x4b65d7),[_0x48b3e7,_0x146f45,_0x495fbc]),this[_0xe32dee(0x13b)]();}async['uploadFile'](_0xfb1905,_0x12368d){const _0xeff26d={_0x43e41a:0xfe},_0x29366d=_0x3879b8;this[_0x29366d(_0xeff26d._0x43e41a)](_0x29366d(0x107),[_0xfb1905,_0x12368d]),this[_0x29366d(0x13b)]();}async[_0x3879b8(0x134)](_0x57a188,_0x5db08c){const _0x1cddb9={_0x2cfd76:0x13b},_0x5c70da=_0x3879b8;this[_0x5c70da(0xfe)]('clipboardPaste',[_0x57a188,_0x5db08c]),this[_0x5c70da(_0x1cddb9._0x2cfd76)]();}async[_0x3879b8(0xc6)](_0x218b00){const _0x1116d1={_0x3ea081:0xfe},_0x4735ca=_0x3879b8;return this[_0x4735ca(_0x1116d1._0x3ea081)]('count',[_0x218b00]),this['behavior'][_0x4735ca(0x110)]??0x1;}async[_0x3879b8(0xf9)](_0x167691){const _0x3aa626={_0x33b0c3:0xfe},_0x449d62=_0x3879b8;return this[_0x449d62(_0x3aa626._0x33b0c3)](_0x449d62(0xf9),[_0x167691]),this[_0x449d62(0xdd)]['textContentByDefault']??'';}async[_0x3879b8(0xf0)](_0x11a821){const _0x83b4a0={_0xfa43b7:0xfe,_0xc1895e:0x12e},_0x23e291=_0x3879b8;return this[_0x23e291(_0x83b4a0._0xfa43b7)](_0x23e291(0xf0),[_0x11a821]),this['behavior'][_0x23e291(_0x83b4a0._0xc1895e)]??this[_0x23e291(0xdd)][_0x23e291(0x10d)]??'';}async[_0x3879b8(0x135)](_0x4df65f){const _0x187b1f={_0x23abdb:0xfe},_0x7d9396=_0x3879b8;return this[_0x7d9396(_0x187b1f._0x23abdb)]('inputValue',[_0x4df65f]),this[_0x7d9396(0xdd)]['inputValueByDefault']??'';}async[_0x3879b8(0xc7)](_0x532dbc){const _0x380113={_0x4e4941:0xfe,_0x61062b:0xc7,_0x559d21:0xdd},_0x367a10=_0x3879b8;return this[_0x367a10(_0x380113._0x4e4941)](_0x367a10(_0x380113._0x61062b),[_0x532dbc]),this[_0x367a10(_0x380113._0x559d21)][_0x367a10(0xff)]??null;}async['isVisible'](_0x5ecb30){const _0x19ea37={_0x23992d:0xfe},_0x16ca7c=_0x3879b8;return this[_0x16ca7c(_0x19ea37._0x23992d)]('isVisible',[_0x5ecb30]),this[_0x16ca7c(0xdd)][_0x16ca7c(0x126)]??!![];}async[_0x3879b8(0xe5)](_0x4e2e9){const _0x3d6d37={_0x390711:0xe5,_0x4210f5:0xdd},_0x268df8=_0x3879b8;return this[_0x268df8(0xfe)](_0x268df8(_0x3d6d37._0x390711),[_0x4e2e9]),this[_0x268df8(_0x3d6d37._0x4210f5)]['isDisabledByDefault']??![];}async['getAttribute'](_0x1ff261,_0x49aa47){const _0x33db4a={_0x623bd7:0xea},_0x5727af=_0x3879b8;return this[_0x5727af(0xfe)](_0x5727af(0xe3),[_0x1ff261,_0x49aa47]),this[_0x5727af(0xdd)][_0x5727af(_0x33db4a._0x623bd7)]?.[_0x49aa47]??null;}async[_0x3879b8(0xf7)](_0x5389bb,_0x14864c){const _0x3efb45={_0x105cfc:0xfe},_0x55ae29=_0x3879b8;this[_0x55ae29(_0x3efb45._0x105cfc)](_0x55ae29(0xf7),[_0x5389bb,_0x14864c]);}async[_0x3879b8(0xfa)](_0x5291e6,_0x4655bc){const _0xeed7a3=_0x3879b8;this[_0xeed7a3(0xfe)]('waitForUrl',[_0x5291e6,_0x4655bc]);}async[_0x3879b8(0x12b)](_0x53fc8f,_0x21aad6){const _0x456fc0={_0xc6c31a:0x12b},_0x1538df=_0x3879b8;this[_0x1538df(0xfe)](_0x1538df(_0x456fc0._0xc6c31a),[_0x53fc8f,_0x21aad6]);}async[_0x3879b8(0xe4)](_0x2b837d){const _0x2a3061=_0x3879b8;this[_0x2a3061(0xfe)](_0x2a3061(0xe4),[_0x2b837d]);}async['waitForLoadState'](_0x403c0e,_0x2d0bda){const _0x4b6373={_0x15c7ed:0x120},_0x394c03=_0x3879b8;this[_0x394c03(0xfe)](_0x394c03(_0x4b6373._0x15c7ed),[_0x403c0e,_0x2d0bda]);}async[_0x3879b8(0xf2)](_0x1a935a,_0x1ce3f9){const _0x357513=_0x3879b8;this['record'](_0x357513(0xf2),[_0x1a935a,_0x1ce3f9]),this['currentUrl']=_0x1a935a;}async[_0x3879b8(0x11c)](_0x3493e8){this['record']('reload',[_0x3493e8]);}async[_0x3879b8(0xc8)](_0x436ee2){const _0x5d7e23=_0x3879b8;this['record'](_0x5d7e23(0xc8),[_0x436ee2]);}async[_0x3879b8(0x11e)](_0x43ba5d){this['record']('goForward',[_0x43ba5d]);}async['evaluate'](_0x1d5d94){const _0x434760={_0x5f3199:0xdd,_0x295958:0xcd},_0xcb7ed=_0x3879b8;return this[_0xcb7ed(0xfe)](_0xcb7ed(0xd3),[_0x1d5d94]),this[_0xcb7ed(_0x434760._0x5f3199)][_0xcb7ed(_0x434760._0x295958)];}async[_0x3879b8(0x11a)](_0x3ed47e,_0x103119){return this['record']('evaluateOnLocator',[_0x3ed47e,_0x103119]),void 0x0;}async[_0x3879b8(0xd4)](_0x15767c){const _0x4f7453={_0x2ac4c3:0xd4,_0x27cc2d:0x106,_0x4bb97f:0x13a,_0x1e93f5:0x13d,_0x15adc1:0x102,_0x208eba:0xdd},_0x5c04ab=_0x3879b8;this[_0x5c04ab(0xfe)](_0x5c04ab(_0x4f7453._0x2ac4c3),[_0x15767c]);if(_0x15767c[_0x5c04ab(0x13d)][_0x5c04ab(_0x4f7453._0x27cc2d)]!==0x1||_0x15767c[_0x5c04ab(0x13d)][0x0][_0x5c04ab(_0x4f7453._0x4bb97f)]!==_0x5c04ab(0x102))return null;const _0x10f7ba=_0x15767c[_0x5c04ab(_0x4f7453._0x1e93f5)][0x0][_0x5c04ab(_0x4f7453._0x15adc1)],_0x495bf5=this[_0x5c04ab(_0x4f7453._0x208eba)][_0x5c04ab(0x127)]?.[_0x10f7ba];return _0x495bf5??null;}async['screenshot'](_0x4104db){const _0x2ed6ad={_0x1d8faf:0x10b,_0x3aa009:0x101},_0x38e23e=_0x3879b8;return this['record']('screenshot',[_0x4104db]),this[_0x38e23e(_0x2ed6ad._0x1d8faf)](_0x4104db?.[_0x38e23e(_0x2ed6ad._0x3aa009)]);}async['screenshotElement'](_0x10ac48,_0xb9fc){const _0x25d0ea=_0x3879b8;return this['record']('screenshotElement',[_0x10ac48,_0xb9fc]),this[_0x25d0ea(0x10b)](_0xb9fc?.[_0x25d0ea(0x101)]);}['screenshotBytes'](_0x133e0f){const _0x5aefdd={_0x3c56d1:0xdd,_0x40072e:0x10b,_0x869d4d:0xcf},_0x1ca761=_0x3879b8,_0x5ecbed=this[_0x1ca761(_0x5aefdd._0x3c56d1)][_0x1ca761(_0x5aefdd._0x40072e)];if(_0x5ecbed===void 0x0)return Buffer[_0x1ca761(0xfc)]('fake-png');return typeof _0x5ecbed===_0x1ca761(_0x5aefdd._0x869d4d)?_0x5ecbed(_0x133e0f):_0x5ecbed;}async[_0x3879b8(0x10f)](_0x4893dd){const _0x51a060={_0x278fca:0x13d,_0x2bec3d:0x102,_0x2dccff:0xdd,_0x10cd2e:0x12d,_0x2535f2:0xf3},_0x4637af=_0x3879b8;this[_0x4637af(0xfe)](_0x4637af(0x10f),[_0x4893dd]);if(_0x4893dd['steps'][_0x4637af(0x106)]===0x1&&_0x4893dd['steps'][0x0][_0x4637af(0x13a)]===_0x4637af(0x102)){const _0x48b1c5=_0x4893dd[_0x4637af(_0x51a060._0x278fca)][0x0][_0x4637af(_0x51a060._0x2bec3d)];return this[_0x4637af(_0x51a060._0x2dccff)]['outerHtmlByRef']?.[_0x48b1c5]??_0x4637af(_0x51a060._0x10cd2e)+_0x48b1c5+_0x4637af(0x136);}return _0x4637af(_0x51a060._0x2535f2);}},FakeContext=class{constructor(_0x372cb3,_0x289a88,_0x96eb05){const _0x54df83={_0x208782:0xcb,_0x10dbc0:0xce,_0x271698:0xe8,_0x77b2cb:0x105,_0x5b679a:0x12f},_0x39c225=_0x3879b8;this[_0x39c225(_0x54df83._0x208782)]=_0x372cb3,this[_0x39c225(0xdd)]=_0x289a88,this[_0x39c225(0x124)]=_0x96eb05;const _0x14135e=new FakePage(_0x372cb3,_0x289a88,_0x96eb05+_0x39c225(_0x54df83._0x10dbc0),_0x289a88[_0x39c225(0x132)]??'about:blank');_0x289a88['popupOnClick']&&(_0x14135e[_0x39c225(0xeb)]=()=>{const _0x18ce5d=_0x39c225;this[_0x18ce5d(0x138)](_0x289a88['popupOnClick']);}),this['pageList']=[_0x14135e],this[_0x39c225(_0x54df83._0x271698)]={..._0x289a88[_0x39c225(_0x54df83._0x77b2cb)]??{}},this[_0x39c225(0x11b)]={..._0x289a88[_0x39c225(_0x54df83._0x5b679a)]??{}};}[_0x3879b8(0xcb)];[_0x3879b8(0xdd)];[_0x3879b8(0x124)];static{__name(this,_0x3879b8(0xde));}['pageList'];[_0x3879b8(0xd0)]=0x0;['frameStack']=[];[_0x3879b8(0xe8)];[_0x3879b8(0x11b)];[_0x3879b8(0x116)]=new Set();[_0x3879b8(0xfe)](_0x4d157c,_0x31d3f2){const _0xb88ccf={_0x224539:0x124},_0x202398=_0x3879b8;this['recorder'][_0x202398(0xee)]({'scope':this[_0x202398(_0xb88ccf._0x224539)],'method':_0x4d157c,'args':_0x31d3f2});}[_0x3879b8(0x10e)](){return this['pageList'];}[_0x3879b8(0xd9)](){const _0x44b602={_0x20852f:0xd0},_0x36b193=_0x3879b8,_0x3d2be1=this['pageList'][this[_0x36b193(_0x44b602._0x20852f)]];if(!_0x3d2be1)throw new DriverError('no\x20active\x20page\x20in\x20context',{'activeIdx':this[_0x36b193(0xd0)]});return _0x3d2be1;}[_0x3879b8(0xe9)](){const _0x23145c={_0x2daf72:0xe9},_0x53d3ce=_0x3879b8;return this['behavior'][_0x53d3ce(_0x23145c._0x2daf72)]??[];}['networkEntries'](){const _0x49ea1c={_0x4a0070:0xdd},_0x3d7646=_0x3879b8;return this[_0x3d7646(_0x49ea1c._0x4a0070)][_0x3d7646(0x139)]??[];}async[_0x3879b8(0xdc)](_0x17fbb2){const _0x16ed99={_0x1fda01:0xc9,_0xd07b97:0x106},_0x10c32c=_0x3879b8;this['record'](_0x10c32c(0xdc),[_0x17fbb2]);if(_0x17fbb2<0x0||_0x17fbb2>=this[_0x10c32c(0xef)][_0x10c32c(0x106)])throw new DriverError(_0x10c32c(_0x16ed99._0x1fda01),{'index':_0x17fbb2,'available':this['pageList'][_0x10c32c(0x106)]});this[_0x10c32c(0xd0)]=_0x17fbb2,this[_0x10c32c(0x10a)][_0x10c32c(_0x16ed99._0xd07b97)]=0x0;}['onNewPage'](_0x38d7d4){const _0x6ed083=_0x3879b8;return subscribe(this[_0x6ed083(0x116)],_0x38d7d4);}[_0x3879b8(0x138)](_0x32efe4){const _0x4fddc3={_0x53c372:0xef,_0x19e2f5:0xef,_0x500c56:0x106},_0x4f5509=_0x3879b8,_0x38b127=this[_0x4f5509(0x124)]+'.page'+this[_0x4f5509(_0x4fddc3._0x53c372)]['length'],_0x58f422=new FakePage(this[_0x4f5509(0xcb)],this['behavior'],_0x38b127,_0x32efe4);this[_0x4f5509(_0x4fddc3._0x19e2f5)][_0x4f5509(0xee)](_0x58f422);const _0x562842=this['pageList'][_0x4f5509(_0x4fddc3._0x500c56)]-0x1;for(const _0x280aef of this['newPageListeners']){try{_0x280aef({'index':_0x562842,'url':_0x32efe4});}catch{}}return _0x562842;}[_0x3879b8(0xe6)](_0x2d6569){const _0x259973=_0x3879b8;if(_0x2d6569<0x0||_0x2d6569>=this[_0x259973(0xef)][_0x259973(0x106)])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x2d6569,'available':this['pageList'][_0x259973(0x106)]});this['pageList'][_0x259973(0x130)](_0x2d6569,0x1);}async[_0x3879b8(0x12c)](_0x3398c9){const _0x4748f0={_0x3c1a7b:0xfe,_0x22b77a:0x10a},_0x518eaf=_0x3879b8;this[_0x518eaf(_0x4748f0._0x3c1a7b)](_0x518eaf(0x12c),[_0x3398c9]);if(!_0x3398c9[_0x518eaf(0x13d)][_0x518eaf(0x106)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x3398c9});this[_0x518eaf(_0x4748f0._0x22b77a)]['push'](_0x3398c9);}async[_0x3879b8(0x100)](){const _0x1e93c6={_0x21104e:0x10a,_0x396e05:0xc5},_0x3ce26a=_0x3879b8;this['record'](_0x3ce26a(0x100),[]);if(this[_0x3ce26a(_0x1e93c6._0x21104e)]['length']===0x0)throw new DriverError(_0x3ce26a(_0x1e93c6._0x396e05),{});this[_0x3ce26a(_0x1e93c6._0x21104e)][_0x3ce26a(0x131)]();}async['setLocalStorage'](_0x129779,_0x470186){const _0x1fcf4e=_0x3879b8;this[_0x1fcf4e(0xfe)]('setLocalStorage',[_0x129779,_0x470186]),this['localStorageState'][_0x129779]=_0x470186;}async[_0x3879b8(0xf1)](_0x341736){const _0xcd8f3e={_0x519915:0xf1,_0x19e48e:0xe8},_0x2bbeef=_0x3879b8;return this['record'](_0x2bbeef(_0xcd8f3e._0x519915),[_0x341736]),this[_0x2bbeef(_0xcd8f3e._0x19e48e)][_0x341736]??null;}async[_0x3879b8(0x103)](_0x1ae1f6,_0x60ff82,_0x243a1e){const _0x1df401={_0x378d53:0x11b},_0x40c40d=_0x3879b8;this[_0x40c40d(0xfe)]('setCookie',[_0x1ae1f6,_0x60ff82,_0x243a1e]),this[_0x40c40d(_0x1df401._0x378d53)][_0x1ae1f6]=_0x60ff82;}async['getCookie'](_0x9e75da){const _0x19c76d={_0x1bb677:0x11b},_0x3b5738=_0x3879b8;return this[_0x3b5738(0xfe)](_0x3b5738(0xfd),[_0x9e75da]),this[_0x3b5738(_0x19c76d._0x1bb677)][_0x9e75da]??null;}async['saveStorageState'](_0x5d2598){const _0x1fc818={_0x2a96ff:0xfe,_0x306c10:0x115},_0x2e32fa=_0x3879b8;this[_0x2e32fa(_0x1fc818._0x2a96ff)](_0x2e32fa(_0x1fc818._0x306c10),[_0x5d2598]);}async[_0x3879b8(0xd3)](_0x2d48bf){const _0x295c03={_0x573476:0xfe},_0x45e0db=_0x3879b8;return this[_0x45e0db(_0x295c03._0x573476)](_0x45e0db(0xd3),[_0x2d48bf]),void 0x0;}async[_0x3879b8(0x121)](){const _0x148094=_0x3879b8;this['record'](_0x148094(0x121),[]);}[_0x3879b8(0xca)](){const _0x3a16e6={_0x5b5b75:0x10a,_0x5d78df:0x106},_0x342c79=_0x3879b8;return this[_0x342c79(_0x3a16e6._0x5b5b75)][_0x342c79(_0x3a16e6._0x5d78df)];}},FakeWebDriver=class{constructor(_0x219006={}){const _0x48bbe7={_0x264501:0xdd},_0x524c8e=_0x3879b8;this[_0x524c8e(_0x48bbe7._0x264501)]=_0x219006,this[_0x524c8e(0xcb)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x3879b8(0xf5)]=![];[_0x3879b8(0xcb)];[_0x3879b8(0xe2)]=[];async[_0x3879b8(0x104)](_0x4fabfc){const _0x2e1e7e={_0x4b6d7a:0xcb,_0x4d6103:0xf5},_0x58a70d=_0x3879b8;this[_0x58a70d(_0x2e1e7e._0x4b6d7a)]['push']({'scope':_0x58a70d(0xec),'method':'launch','args':[_0x4fabfc]}),this[_0x58a70d(_0x2e1e7e._0x4d6103)]=!![];}async[_0x3879b8(0xda)](_0x3b0d13){const _0x3592c8={_0x14dfa2:0xee,_0x24a2f0:0xec,_0x478835:0xda,_0x30bb23:0xf5,_0xad438a:0xe2},_0xa8c2c5=_0x3879b8;this[_0xa8c2c5(0xcb)][_0xa8c2c5(_0x3592c8._0x14dfa2)]({'scope':_0xa8c2c5(_0x3592c8._0x24a2f0),'method':_0xa8c2c5(_0x3592c8._0x478835),'args':[_0x3b0d13]});if(!this[_0xa8c2c5(_0x3592c8._0x30bb23)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x434773=new FakeContext(this['recorder'],this['behavior'],'ctx'+this[_0xa8c2c5(_0x3592c8._0xad438a)]['length']);return this[_0xa8c2c5(0xe2)][_0xa8c2c5(_0x3592c8._0x14dfa2)](_0x434773),_0x434773;}async[_0x3879b8(0x121)](){const _0x55a0fd={_0x509cb6:0xcb},_0x51fc73=_0x3879b8;this[_0x51fc73(_0x55a0fd._0x509cb6)]['push']({'scope':_0x51fc73(0xec),'method':'close','args':[]}),this[_0x51fc73(0xf5)]=![];}[_0x3879b8(0xd5)](){return void 0x0;}async[_0x3879b8(0x10c)](){const _0x28a43a=_0x3879b8;throw new DriverError(_0x28a43a(0x108),{});}[_0x3879b8(0x119)](_0x20ed37){const _0x3e39e0=_0x3879b8;throw new DriverError(_0x3e39e0(0x114),{});}['calls'](){const _0x132e4c={_0x194b37:0xfb},_0xb70338=_0x3879b8;return this['recorder'][_0xb70338(_0x132e4c._0x194b37)]();}[_0x3879b8(0x118)](_0x2392fa){const _0x481fe8=_0x3879b8;return this[_0x481fe8(0xcb)]['calls']()['filter'](_0x1e2296=>_0x1e2296['method']===_0x2392fa);}};function _0x468b(_0x2b74ac,_0x272847){_0x2b74ac=_0x2b74ac-0xc4;const _0x2dcbe8=_0x2dcb();let _0x468b0a=_0x2dcbe8[_0x2b74ac];if(_0x468b['zhHbtd']===undefined){var _0x441319=function(_0x4a0891){const _0x2dad06='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x470c05='',_0x54f5b4='';for(let _0x503c1f=0x0,_0x449acd,_0xdbf75e,_0x4203bf=0x0;_0xdbf75e=_0x4a0891['charAt'](_0x4203bf++);~_0xdbf75e&&(_0x449acd=_0x503c1f%0x4?_0x449acd*0x40+_0xdbf75e:_0xdbf75e,_0x503c1f++%0x4)?_0x470c05+=String['fromCharCode'](0xff&_0x449acd>>(-0x2*_0x503c1f&0x6)):0x0){_0xdbf75e=_0x2dad06['indexOf'](_0xdbf75e);}for(let _0x48556a=0x0,_0x1b23b7=_0x470c05['length'];_0x48556a<_0x1b23b7;_0x48556a++){_0x54f5b4+='%'+('00'+_0x470c05['charCodeAt'](_0x48556a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54f5b4);};_0x468b['DUdWsN']=_0x441319,_0x468b['wHpOaJ']={},_0x468b['zhHbtd']=!![];}const _0x56f02c=_0x2dcbe8[0x0],_0x403763=_0x2b74ac+_0x56f02c,_0x5bbc1c=_0x468b['wHpOaJ'][_0x403763];return!_0x5bbc1c?(_0x468b0a=_0x468b['DUdWsN'](_0x468b0a),_0x468b['wHpOaJ'][_0x403763]=_0x468b0a):_0x468b0a=_0x5bbc1c,_0x468b0a;}export{FakeWebDriver};
1
+ const _0x24a982=_0xc432;(function(_0x7b777d,_0x35d134){const _0x59b01d={_0x9bd63c:0x14a,_0x515e6a:0x151},_0x1ccaf6=_0xc432,_0x52a5cc=_0x7b777d();while(!![]){try{const _0x20caf5=-parseInt(_0x1ccaf6(0x1bb))/0x1*(-parseInt(_0x1ccaf6(0x1c2))/0x2)+parseInt(_0x1ccaf6(0x17c))/0x3+-parseInt(_0x1ccaf6(0x16f))/0x4+-parseInt(_0x1ccaf6(0x18c))/0x5+-parseInt(_0x1ccaf6(0x199))/0x6*(parseInt(_0x1ccaf6(_0x59b01d._0x9bd63c))/0x7)+-parseInt(_0x1ccaf6(0x183))/0x8+parseInt(_0x1ccaf6(_0x59b01d._0x515e6a))/0x9;if(_0x20caf5===_0x35d134)break;else _0x52a5cc['push'](_0x52a5cc['shift']());}catch(_0x4a0298){_0x52a5cc['push'](_0x52a5cc['shift']());}}}(_0x1334,0xe892c));function _0x1334(){const _0x41c416=['zNjHBwvtDgfJAW','C2nYB2XSsw50B1zPzxC','zxzHBhvHDgvszxn1Bhq','zw50zxjgCMfTzq','CMvJB3jK','CMvJB3jKzxi','zgvMAw5LuhjVCgvYDhK','z2v0tg9JywXtDg9YywDL','Bgf1BMnO','mZeYotmZmNfqtNPmuG','Bgf1BMnOzwq','y2HLy2TLzfn0yxrLqNLezwzHDwX0','zMLSBa','zNvUy3rPB24','C2nYzwvUC2HVDevSzw1LBNq','rMfRzvDLyKrYAxzLCG','rMfRzvbHz2u','zxHPDezYyw1L','ywrK','C2v0tg9JywXtDg9YywDL','zxzHBhvHDgu','lNbHz2u','ntCXmde2mvznsxLqvG','AxneAxnHyMXLza','y2HLy2S','D2fPDezVCLrLEhq','BMv0D29YA0vUDhjPzxm','AxneAxnHyMXLzej5rgvMyxvSDa','Aw5ZCgvJDevSzw1LBNq','mtq4ndG1mJbsyunYveC','C2nYzwvUC2HVDej5DgvZ','DhLWzq','z2v0q29VA2LL','y29UBMvJDfnOyxjLza','Aw5PDgLHBfvYBa','D2fPDezVCK5HDMLNyxrPB24','BMv3ugfNzuXPC3rLBMvYCW','ywn0AxzLugfNzq','oduWnZiWme5iufDJtW','y291BNq','ywjVDxq6yMXHBMS','y3r4','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','zhjHz0fUzerYB3a','C2f2zvn0B3jHz2vtDgf0zq','C3rLChm','DxbSB2fKrMLSzq','Aw5WDxrwywX1zq','y2fSBhm','zNjHBwvezxb0Aa','y2XPy2S','odq2ELL3D1fe','D3nfBMrWB2LUDa','y2fSBhngB3i','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','zMfRzsb0AxrSzq','C2nYzwvUC2HVDa','y2HLy2TLzfn0yxrL','y291BNrcEurLzMf1Bhq','y2XVC2u','ChvZAa','Aw5UzxjuzxH0','B3v0zxjive1m','zhjPDMvY','C3vIC2nYAwjL','Aw5UzxjuzxH0qNLezwzHDwX0','zMfRzs1WBMC','B25bzNrLCKnSAwnR','C2v0qwn0AxzLugfNzq','A2LUza','AxnwAxnPyMXL','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','D2fPDezVCG','D2fPDezVCLvYBa','Ag92zxi','ChjLC3m','CgfNzuXPC3q','Bwv0Ag9K','yMvOyxzPB3i','Dgv4DenVBNrLBNrcEurLzMf1Bhq','zg91yMXLq2XPy2S','DgL0Bgu','zxjYB3jpBK5LEhrby3rPB24','Cg9W','mtC2nZy3DxjbwNvf','zw1PDezHA2vqB3b1Ca','Bg9JywXtDg9YywDLu3rHDgu','Bwf5yMvuAhjVDW','y3vYCMvUDfvYBa','CMvM','y29UDgv4Dhm','mLHPuvbxyW','C2v0q29VA2LL','Dgv4DenVBNrLBNq','C3bSAwnL','Aw5WDxrwywX1zuj5rgvMyxvSDa','ntGZnJzmwuLtCee','y2XPCgjVyxjKugfZDgu','zMLSDgvY','rMfRzunVBNrLEhq','B3v0zxjiDg1SqNLszwy','z290BW','y29VA2LLu3rHDgu','mZK0ote2ntHADfPSDfC','zNjVBq','y29UC29SzuvUDhjPzxm','Dw5JAgvJAW','z29gB3j3yxjK','z29cywnR','Cg9WDxbpBKnSAwnR','rhjPDMvYrxjYB3i','DxjS','C2vSzwn0t3b0Aw9U','zxzHBhvHDgvpBKXVy2f0B3i','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','Bg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','C2nVCgu','BgvUz3rO','zwXLBwvUDeHPBNrcEvjLzG','ywn0AxzLswr4','z2v0qxr0CMLIDxrL'];_0x1334=function(){return _0x41c416;};return _0x1334();}var __defProp=Object[_0x24a982(0x16c)],__name=(_0x39240e,_0x498f04)=>__defProp(_0x39240e,'name',{'value':_0x498f04,'configurable':!![]});function subscribe(_0x30f603,_0x3dd18c){const _0x2836eb=_0x24a982;return _0x30f603[_0x2836eb(0x178)](_0x3dd18c),()=>{_0x30f603['delete'](_0x3dd18c);};}__name(subscribe,_0x24a982(0x1a7));function _0xc432(_0x53576f,_0xb3bcd0){_0x53576f=_0x53576f-0x149;const _0x133430=_0x1334();let _0xc43252=_0x133430[_0x53576f];if(_0xc432['lXXZTs']===undefined){var _0x1d4bf1=function(_0x575c05){const _0x1638c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39240e='',_0x498f04='';for(let _0x30f603=0x0,_0x3dd18c,_0xe14095,_0x46ed98=0x0;_0xe14095=_0x575c05['charAt'](_0x46ed98++);~_0xe14095&&(_0x3dd18c=_0x30f603%0x4?_0x3dd18c*0x40+_0xe14095:_0xe14095,_0x30f603++%0x4)?_0x39240e+=String['fromCharCode'](0xff&_0x3dd18c>>(-0x2*_0x30f603&0x6)):0x0){_0xe14095=_0x1638c2['indexOf'](_0xe14095);}for(let _0x1361f2=0x0,_0xa5358c=_0x39240e['length'];_0x1361f2<_0xa5358c;_0x1361f2++){_0x498f04+='%'+('00'+_0x39240e['charCodeAt'](_0x1361f2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x498f04);};_0xc432['FyQQXu']=_0x1d4bf1,_0xc432['lCgLgp']={},_0xc432['lXXZTs']=!![];}const _0x1b59cf=_0x133430[0x0],_0x2b10f3=_0x53576f+_0x1b59cf,_0x5c5a2e=_0xc432['lCgLgp'][_0x2b10f3];return!_0x5c5a2e?(_0xc43252=_0xc432['FyQQXu'](_0xc43252),_0xc432['lCgLgp'][_0x2b10f3]=_0xc43252):_0xc43252=_0x5c5a2e,_0xc43252;}import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x24a982(0x158));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x171022={_0x326458:0x1a3,_0x52a0f7:0x196},_0x21165c=_0x24a982,_0xe14095=[];let _0x46ed98=0x0;return{'push':__name(_0x1361f2=>_0xe14095['push']({..._0x1361f2,'seq':_0x46ed98++}),_0x21165c(_0x171022._0x326458)),'calls':__name(()=>_0xe14095,_0x21165c(_0x171022._0x52a0f7))};}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0xa5358c,_0x3aec3e,_0x5b8e70,_0x2024f3){const _0x1ce8f5={_0x59741e:0x161},_0x530543=_0x24a982;this[_0x530543(0x16b)]=_0xa5358c,this[_0x530543(0x1b5)]=_0x3aec3e,this[_0x530543(_0x1ce8f5._0x59741e)]=_0x5b8e70,this[_0x530543(0x1bf)]=_0x2024f3;}[_0x24a982(0x16b)];[_0x24a982(0x1b5)];['scope'];static{__name(this,_0x24a982(0x176));}[_0x24a982(0x1bf)];[_0x24a982(0x1aa)];[_0x24a982(0x16a)](_0x4b2543,_0x4167de){const _0x25991e={_0x4ea3ab:0x16b},_0x4e0b96=_0x24a982;this[_0x4e0b96(_0x25991e._0x4ea3ab)]['push']({'scope':this[_0x4e0b96(0x161)],'method':_0x4b2543,'args':_0x4167de});}[_0x24a982(0x1be)](){const _0x519da4={_0xdcfd2e:0x1b5,_0x6bc6b2:0x1b5,_0x410337:0x1b9},_0x1d1c47=_0x24a982;if(this[_0x1d1c47(_0x519da4._0xdcfd2e)][_0x1d1c47(0x1b9)]){const _0x42f3e4=this[_0x1d1c47(_0x519da4._0xdcfd2e)][_0x1d1c47(0x1b9)];this[_0x1d1c47(_0x519da4._0x6bc6b2)][_0x1d1c47(_0x519da4._0x410337)]=void 0x0;throw _0x42f3e4;}}[_0x24a982(0x159)](){const _0x4ddbdf=_0x24a982;return this[_0x4ddbdf(0x1bf)];}async['title'](){const _0xd02c02={_0x39681b:0x16a,_0x45708e:0x1b8,_0x214db0:0x19e},_0x430e9d=_0x24a982;return this[_0x430e9d(_0xd02c02._0x39681b)](_0x430e9d(_0xd02c02._0x45708e),[]),_0x430e9d(_0xd02c02._0x214db0);}async[_0x24a982(0x198)](_0xd4f6c2,_0x3b9ee4){const _0x3f45f4={_0x1bd86c:0x198},_0x18cfdd=_0x24a982;this[_0x18cfdd(0x16a)](_0x18cfdd(_0x3f45f4._0x1bd86c),[_0xd4f6c2,_0x3b9ee4]),this[_0x18cfdd(0x1be)](),this['onAfterClick']?.();}async['doubleClick'](_0x1bb240,_0x496e15){const _0x26bf53={_0x5f0f07:0x1be},_0xb81db4=_0x24a982;this[_0xb81db4(0x16a)](_0xb81db4(0x1b7),[_0x1bb240,_0x496e15]),this[_0xb81db4(_0x26bf53._0x5f0f07)]();}async['fill'](_0x3b15a5,_0x7ea00b,_0x58468f){const _0x2e528d={_0x1bdcea:0x172},_0x4e4755=_0x24a982;this[_0x4e4755(0x16a)](_0x4e4755(_0x2e528d._0x1bdcea),[_0x3b15a5,_0x7ea00b,_0x58468f]),this[_0x4e4755(0x1be)]();}async[_0x24a982(0x1b2)](_0x3bdbf6,_0x682f8e,_0x12a6d6){const _0xb8b9af=_0x24a982;this[_0xb8b9af(0x16a)]('press',[_0x3bdbf6,_0x682f8e,_0x12a6d6]),this[_0xb8b9af(0x1be)]();}async[_0x24a982(0x17e)](_0x3ccdc9,_0x5ac43b){const _0x4ccd8d={_0x19442e:0x17e},_0x328847=_0x24a982;this[_0x328847(0x16a)](_0x328847(_0x4ccd8d._0x19442e),[_0x3ccdc9,_0x5ac43b]),this[_0x328847(0x1be)]();}async[_0x24a982(0x154)](_0x42168f,_0x25e49f){const _0x183bd6={_0x27e53a:0x154,_0x23400c:0x1be},_0x84ffe0=_0x24a982;this[_0x84ffe0(0x16a)](_0x84ffe0(_0x183bd6._0x27e53a),[_0x42168f,_0x25e49f]),this[_0x84ffe0(_0x183bd6._0x23400c)]();}async[_0x24a982(0x15a)](_0x13c0f1,_0x52de46,_0x1fceae){const _0x5ccb77={_0x3c2aac:0x16a,_0x7100e7:0x15a},_0x1c5c3e=_0x24a982;this[_0x1c5c3e(_0x5ccb77._0x3c2aac)](_0x1c5c3e(_0x5ccb77._0x7100e7),[_0x13c0f1,_0x52de46,_0x1fceae]),this[_0x1c5c3e(0x1be)]();}async[_0x24a982(0x1b1)](_0x4fe0ba,_0x5c3c00){const _0x841037=_0x24a982;this['record'](_0x841037(0x1b1),[_0x4fe0ba,_0x5c3c00]),this[_0x841037(0x1be)]();}async[_0x24a982(0x167)](_0x2580d7){const _0x354c4a={_0x9cb146:0x167,_0x45f390:0x1be},_0x1dfb62=_0x24a982;this['record'](_0x1dfb62(_0x354c4a._0x9cb146),[_0x2580d7]),this[_0x1dfb62(_0x354c4a._0x45f390)]();}async['dragAndDrop'](_0x34b0d9,_0xf4d433,_0x8db079){const _0x553885={_0x4c77f4:0x1be},_0x46c725=_0x24a982;this[_0x46c725(0x16a)](_0x46c725(0x191),[_0x34b0d9,_0xf4d433,_0x8db079]),this[_0x46c725(_0x553885._0x4c77f4)]();}async[_0x24a982(0x194)](_0x340be5,_0x5ed1c9){const _0xbdf849={_0x589ac7:0x194},_0x464d38=_0x24a982;this[_0x464d38(0x16a)](_0x464d38(_0xbdf849._0x589ac7),[_0x340be5,_0x5ed1c9]),this[_0x464d38(0x1be)]();}async[_0x24a982(0x14b)](_0x2d2c6d,_0x5ea928){const _0x2de380={_0x2ae33c:0x16a,_0x29fda0:0x14b},_0x2279bc=_0x24a982;this[_0x2279bc(_0x2de380._0x2ae33c)](_0x2279bc(_0x2de380._0x29fda0),[_0x2d2c6d,_0x5ea928]),this[_0x2279bc(0x1be)]();}async['count'](_0x42b719){const _0xbb18df={_0x4e85f2:0x16a,_0x2170d8:0x18d},_0x5cdc8c=_0x24a982;return this[_0x5cdc8c(_0xbb18df._0x4e85f2)](_0x5cdc8c(_0xbb18df._0x2170d8),[_0x42b719]),this[_0x5cdc8c(0x1b5)][_0x5cdc8c(0x1a1)]??0x1;}async[_0x24a982(0x1c4)](_0x5cb177){const _0xef87b3={_0x374999:0x1b5},_0x1ecc94=_0x24a982;return this['record'](_0x1ecc94(0x1c4),[_0x5cb177]),this[_0x1ecc94(_0xef87b3._0x374999)][_0x1ecc94(0x1b6)]??'';}async[_0x24a982(0x1a4)](_0x2e0302){const _0x397048={_0xa369db:0x1a8,_0x3a5dc6:0x1b5,_0x40b94f:0x1b6},_0x3b7fba=_0x24a982;return this[_0x3b7fba(0x16a)](_0x3b7fba(0x1a4),[_0x2e0302]),this['behavior'][_0x3b7fba(_0x397048._0xa369db)]??this[_0x3b7fba(_0x397048._0x3a5dc6)][_0x3b7fba(_0x397048._0x40b94f)]??'';}async[_0x24a982(0x195)](_0x3ee852){const _0x3c8f9c={_0x52109b:0x16a,_0x1f13fe:0x195,_0x597dfb:0x1b5,_0x1cdeda:0x149},_0x368ee8=_0x24a982;return this[_0x368ee8(_0x3c8f9c._0x52109b)](_0x368ee8(_0x3c8f9c._0x1f13fe),[_0x3ee852]),this[_0x368ee8(_0x3c8f9c._0x597dfb)][_0x368ee8(_0x3c8f9c._0x1cdeda)]??'';}async[_0x24a982(0x1a0)](_0x23bef8){const _0x1270f6={_0x4e71e1:0x171},_0x88e400=_0x24a982;return this[_0x88e400(0x16a)]('checkedState',[_0x23bef8]),this[_0x88e400(0x1b5)][_0x88e400(_0x1270f6._0x4e71e1)]??null;}async[_0x24a982(0x1ad)](_0x13799e){const _0x17ea1c={_0xdcea4c:0x1ad,_0x1b2409:0x1b5},_0x29b876=_0x24a982;return this[_0x29b876(0x16a)](_0x29b876(_0x17ea1c._0xdcea4c),[_0x13799e]),this[_0x29b876(_0x17ea1c._0x1b2409)]['isVisibleByDefault']??!![];}async[_0x24a982(0x17d)](_0x4cd54b){const _0x2b147e={_0x436998:0x16a,_0x1fdff9:0x1b5},_0x547c25=_0x24a982;return this[_0x547c25(_0x2b147e._0x436998)](_0x547c25(0x17d),[_0x4cd54b]),this[_0x547c25(_0x2b147e._0x1fdff9)][_0x547c25(0x181)]??![];}async[_0x24a982(0x165)](_0x502f75,_0x5e3fdc){const _0x368734={_0x45aade:0x16a,_0x24a3a9:0x165,_0x5b8e2e:0x1b5},_0x278a56=_0x24a982;return this[_0x278a56(_0x368734._0x45aade)](_0x278a56(_0x368734._0x24a3a9),[_0x502f75,_0x5e3fdc]),this[_0x278a56(_0x368734._0x5b8e2e)]['attributesByDefault']?.[_0x5e3fdc]??null;}async[_0x24a982(0x1af)](_0x2a9b77,_0x3c2bbb){const _0x9e5c00=_0x24a982;this['record'](_0x9e5c00(0x1af),[_0x2a9b77,_0x3c2bbb]);}async[_0x24a982(0x1b0)](_0x427ae9,_0x1f50ba){const _0x7897c4={_0x110f93:0x16a,_0x1aca0d:0x1b0},_0x1469ed=_0x24a982;this[_0x1469ed(_0x7897c4._0x110f93)](_0x1469ed(_0x7897c4._0x1aca0d),[_0x427ae9,_0x1f50ba]);}async[_0x24a982(0x17f)](_0xb40475,_0x5131c8){const _0x4c68b8={_0x46743c:0x17f},_0x5415f4=_0x24a982;this['record'](_0x5415f4(_0x4c68b8._0x46743c),[_0xb40475,_0x5131c8]);}async[_0x24a982(0x189)](_0xdf5223){const _0x524b08={_0x281bb0:0x189},_0x8b980a=_0x24a982;this[_0x8b980a(0x16a)](_0x8b980a(_0x524b08._0x281bb0),[_0xdf5223]);}async[_0x24a982(0x19d)](_0x566cd9,_0x4c5398){const _0x2a8f7f=_0x24a982;this[_0x2a8f7f(0x16a)]('waitForLoadState',[_0x566cd9,_0x4c5398]);}async[_0x24a982(0x14f)](_0x3fba80,_0x594e87){const _0x1df5b3={_0x133a12:0x14f,_0x101bf6:0x1bf},_0x4ec204=_0x24a982;this[_0x4ec204(0x16a)](_0x4ec204(_0x1df5b3._0x133a12),[_0x3fba80,_0x594e87]),this[_0x4ec204(_0x1df5b3._0x101bf6)]=_0x3fba80;}async['reload'](_0x3ec352){const _0x8d4a5={_0x501d4f:0x16a},_0x3cac02=_0x24a982;this[_0x3cac02(_0x8d4a5._0x501d4f)]('reload',[_0x3ec352]);}async[_0x24a982(0x156)](_0x41ba7a){const _0x5adf58={_0x390179:0x156},_0x3b7782=_0x24a982;this['record'](_0x3b7782(_0x5adf58._0x390179),[_0x41ba7a]);}async[_0x24a982(0x155)](_0x532bcc){const _0x4bd0af={_0x2b3e5f:0x16a},_0x1a827b=_0x24a982;this[_0x1a827b(_0x4bd0af._0x2b3e5f)](_0x1a827b(0x155),[_0x532bcc]);}async[_0x24a982(0x17a)](_0x5561a2){const _0x288b81={_0x82d38e:0x16a,_0x3d77fc:0x17a},_0x5222ec=_0x24a982;return this[_0x5222ec(_0x288b81._0x82d38e)](_0x5222ec(_0x288b81._0x3d77fc),[_0x5561a2]),this[_0x5222ec(0x1b5)][_0x5222ec(0x168)];}async['evaluateOnLocator'](_0x229ce6,_0x5991c5){const _0x47633d=_0x24a982;return this[_0x47633d(0x16a)](_0x47633d(0x15b),[_0x229ce6,_0x5991c5]),void 0x0;}async[_0x24a982(0x182)](_0x302f3a){const _0x91b6f2={_0x389696:0x16a,_0x35ae87:0x1ac,_0xe9be69:0x193,_0x54fc81:0x163},_0x1eb349=_0x24a982;this[_0x1eb349(_0x91b6f2._0x389696)]('inspectElement',[_0x302f3a]);if(_0x302f3a['steps'][_0x1eb349(0x162)]!==0x1||_0x302f3a[_0x1eb349(0x193)][0x0][_0x1eb349(_0x91b6f2._0x35ae87)]!=='ref')return null;const _0x4059df=_0x302f3a[_0x1eb349(_0x91b6f2._0xe9be69)][0x0]['ref'],_0xece7c7=this[_0x1eb349(0x1b5)][_0x1eb349(_0x91b6f2._0x54fc81)]?.[_0x4059df];return _0xece7c7??null;}async[_0x24a982(0x19f)](_0xa52e1){const _0x4ede79={_0x62cb2:0x19f,_0x26e959:0x184},_0xbf7ed=_0x24a982;return this[_0xbf7ed(0x16a)](_0xbf7ed(_0x4ede79._0x62cb2),[_0xa52e1]),this[_0xbf7ed(_0x4ede79._0x26e959)](_0xa52e1?.['type']);}async[_0x24a982(0x174)](_0x3909e7,_0x2a6ff9){const _0x423c10={_0x3e9b6b:0x174},_0x2352b1=_0x24a982;return this[_0x2352b1(0x16a)](_0x2352b1(_0x423c10._0x3e9b6b),[_0x3909e7,_0x2a6ff9]),this['screenshotBytes'](_0x2a6ff9?.[_0x2352b1(0x185)]);}[_0x24a982(0x184)](_0x5780bb){const _0xa99010={_0x4e2861:0x173},_0x2e95ef=_0x24a982,_0x4ebd66=this['behavior'][_0x2e95ef(0x184)];if(_0x4ebd66===void 0x0)return Buffer[_0x2e95ef(0x152)](_0x2e95ef(0x1a9));return typeof _0x4ebd66===_0x2e95ef(_0xa99010._0x4e2861)?_0x4ebd66(_0x5780bb):_0x4ebd66;}async[_0x24a982(0x1a5)](_0x18ccd9){const _0xd3db75={_0x4af54a:0x193,_0x3c9b0d:0x162,_0x5955ff:0x1c0,_0x3688a1:0x1b5,_0x2d83ee:0x14e},_0x8bae7e=_0x24a982;this[_0x8bae7e(0x16a)](_0x8bae7e(0x1a5),[_0x18ccd9]);if(_0x18ccd9[_0x8bae7e(_0xd3db75._0x4af54a)][_0x8bae7e(_0xd3db75._0x3c9b0d)]===0x1&&_0x18ccd9[_0x8bae7e(0x193)][0x0][_0x8bae7e(0x1ac)]===_0x8bae7e(0x1c0)){const _0xe226b9=_0x18ccd9['steps'][0x0][_0x8bae7e(_0xd3db75._0x5955ff)];return this[_0x8bae7e(_0xd3db75._0x3688a1)][_0x8bae7e(_0xd3db75._0x2d83ee)]?.[_0xe226b9]??'<div\x20data-unotest-ref=\x22'+_0xe226b9+'\x22></div>';}return'<div></div>';}},FakeContext=class{constructor(_0x5d986d,_0x15e890,_0x3f6013){const _0x509259={_0x2427d1:0x16b,_0x3ad297:0x188,_0x57d6e4:0x18e},_0x11ef9b=_0x24a982;this[_0x11ef9b(_0x509259._0x2427d1)]=_0x5d986d,this[_0x11ef9b(0x1b5)]=_0x15e890,this['scope']=_0x3f6013;const _0x56d063=new FakePage(_0x5d986d,_0x15e890,_0x3f6013+'.page0',_0x15e890[_0x11ef9b(_0x509259._0x3ad297)]??_0x11ef9b(_0x509259._0x57d6e4));_0x15e890['popupOnClick']&&(_0x56d063['onAfterClick']=()=>{const _0x2efef8=_0x11ef9b;this[_0x2efef8(0x1bc)](_0x15e890[_0x2efef8(0x157)]);}),this[_0x11ef9b(0x1b3)]=[_0x56d063],this[_0x11ef9b(0x1bd)]={..._0x15e890[_0x11ef9b(0x15f)]??{}},this['cookieState']={..._0x15e890['cookies']??{}};}['recorder'];[_0x24a982(0x1b5)];[_0x24a982(0x161)];static{__name(this,_0x24a982(0x14d));}[_0x24a982(0x1b3)];[_0x24a982(0x164)]=0x0;[_0x24a982(0x166)]=[];[_0x24a982(0x1bd)];[_0x24a982(0x150)];['newPageListeners']=new Set();[_0x24a982(0x16a)](_0x47a760,_0x2fd3e7){const _0x4f55e1={_0x3f4c8a:0x161},_0xbdaea3=_0x24a982;this['recorder'][_0xbdaea3(0x1a3)]({'scope':this[_0xbdaea3(_0x4f55e1._0x3f4c8a)],'method':_0x47a760,'args':_0x2fd3e7});}['pages'](){const _0xc45f1c=_0x24a982;return this[_0xc45f1c(0x1b3)];}[_0x24a982(0x18b)](){const _0x2c9955={_0x4e2264:0x19c},_0x8eac0f=_0x24a982,_0x93c20f=this['pageList'][this['activeIdx']];if(!_0x93c20f)throw new DriverError(_0x8eac0f(_0x2c9955._0x4e2264),{'activeIdx':this['activeIdx']});return _0x93c20f;}['consoleEntries'](){const _0x474691=_0x24a982;return this['behavior'][_0x474691(0x153)]??[];}[_0x24a982(0x180)](){const _0x8845a2={_0x5d24ed:0x1b5},_0x16fbe8=_0x24a982;return this[_0x16fbe8(_0x8845a2._0x5d24ed)]['networkEntries']??[];}async[_0x24a982(0x1ab)](_0x596617){const _0x36705c={_0x34303f:0x16a,_0x1e9d60:0x1ab,_0x14e3d1:0x15d,_0x259b02:0x1b3},_0x5c675c=_0x24a982;this[_0x5c675c(_0x36705c._0x34303f)](_0x5c675c(_0x36705c._0x1e9d60),[_0x596617]);if(_0x596617<0x0||_0x596617>=this['pageList'][_0x5c675c(0x162)])throw new DriverError(_0x5c675c(_0x36705c._0x14e3d1),{'index':_0x596617,'available':this[_0x5c675c(_0x36705c._0x259b02)]['length']});this['activeIdx']=_0x596617,this[_0x5c675c(0x166)]['length']=0x0;}['onNewPage'](_0x4974d7){const _0x8ea247=_0x24a982;return subscribe(this[_0x8ea247(0x18a)],_0x4974d7);}[_0x24a982(0x1bc)](_0x41c268){const _0xf50124={_0x260348:0x161,_0x1cb28f:0x17b,_0x4c39e9:0x1b3,_0x237dfa:0x162,_0x403650:0x162},_0x8f1f27=_0x24a982,_0x3770dc=this[_0x8f1f27(_0xf50124._0x260348)]+_0x8f1f27(_0xf50124._0x1cb28f)+this[_0x8f1f27(_0xf50124._0x4c39e9)][_0x8f1f27(_0xf50124._0x237dfa)],_0x427235=new FakePage(this[_0x8f1f27(0x16b)],this[_0x8f1f27(0x1b5)],_0x3770dc,_0x41c268);this[_0x8f1f27(0x1b3)][_0x8f1f27(0x1a3)](_0x427235);const _0x4a2cab=this['pageList'][_0x8f1f27(_0xf50124._0x403650)]-0x1;for(const _0x3f94e9 of this['newPageListeners']){try{_0x3f94e9({'index':_0x4a2cab,'url':_0x41c268});}catch{}}return _0x4a2cab;}[_0x24a982(0x160)](_0x160303){const _0x1da3c3={_0x50d722:0x1b3,_0x4656c4:0x15d,_0x25bf7c:0x1b3,_0x3689b1:0x162},_0x52741e=_0x24a982;if(_0x160303<0x0||_0x160303>=this[_0x52741e(_0x1da3c3._0x50d722)]['length'])throw new DriverError(_0x52741e(_0x1da3c3._0x4656c4),{'index':_0x160303,'available':this[_0x52741e(_0x1da3c3._0x25bf7c)][_0x52741e(_0x1da3c3._0x3689b1)]});this[_0x52741e(0x1b3)][_0x52741e(0x1c5)](_0x160303,0x1);}async['enterFrame'](_0x1df409){const _0x429287={_0x4b48a7:0x16a,_0x2eb168:0x169,_0x316792:0x193,_0x3bda9f:0x162,_0x97d05f:0x1ae,_0x48be24:0x166,_0x29362c:0x1a3},_0x24410e=_0x24a982;this[_0x24410e(_0x429287._0x4b48a7)](_0x24410e(_0x429287._0x2eb168),[_0x1df409]);if(!_0x1df409[_0x24410e(_0x429287._0x316792)][_0x24410e(_0x429287._0x3bda9f)])throw new LocatorError(_0x24410e(_0x429287._0x97d05f),{'locator':_0x1df409});this[_0x24410e(_0x429287._0x48be24)][_0x24410e(_0x429287._0x29362c)](_0x1df409);}async[_0x24a982(0x177)](){const _0x3b3f1b={_0x56fe80:0x177,_0x56d7cd:0x162,_0x2f3691:0x15c},_0x130cf5=_0x24a982;this[_0x130cf5(0x16a)](_0x130cf5(_0x3b3f1b._0x56fe80),[]);if(this[_0x130cf5(0x166)][_0x130cf5(_0x3b3f1b._0x56d7cd)]===0x0)throw new DriverError(_0x130cf5(_0x3b3f1b._0x2f3691),{});this[_0x130cf5(0x166)][_0x130cf5(0x1ba)]();}async[_0x24a982(0x179)](_0x3eb86b,_0x1e320a){const _0x281d23={_0x396243:0x1bd},_0x4a9ea1=_0x24a982;this[_0x4a9ea1(0x16a)](_0x4a9ea1(0x179),[_0x3eb86b,_0x1e320a]),this[_0x4a9ea1(_0x281d23._0x396243)][_0x3eb86b]=_0x1e320a;}async[_0x24a982(0x16d)](_0x2e7911){const _0x1032c5={_0x478cb3:0x16a},_0x545ab0=_0x24a982;return this[_0x545ab0(_0x1032c5._0x478cb3)](_0x545ab0(0x16d),[_0x2e7911]),this['localStorageState'][_0x2e7911]??null;}async['setCookie'](_0x2fe7c7,_0x4e3274,_0x5e32f3){const _0x45d9e5={_0x54ae18:0x1c3,_0x42ff6d:0x150},_0x52461b=_0x24a982;this['record'](_0x52461b(_0x45d9e5._0x54ae18),[_0x2fe7c7,_0x4e3274,_0x5e32f3]),this[_0x52461b(_0x45d9e5._0x42ff6d)][_0x2fe7c7]=_0x4e3274;}async[_0x24a982(0x186)](_0x29a698){const _0x34affc={_0x11de65:0x16a,_0x3aff65:0x150},_0x51d868=_0x24a982;return this[_0x51d868(_0x34affc._0x11de65)](_0x51d868(0x186),[_0x29a698]),this[_0x51d868(_0x34affc._0x3aff65)][_0x29a698]??null;}async[_0x24a982(0x192)](_0x769341){const _0x1b9c20={_0x3cb0a3:0x16a},_0x49c4ed=_0x24a982;this[_0x49c4ed(_0x1b9c20._0x3cb0a3)](_0x49c4ed(0x192),[_0x769341]);}async[_0x24a982(0x17a)](_0x3fce67){const _0x229b38={_0x37ac71:0x16a,_0x40837a:0x17a},_0x3434b0=_0x24a982;return this[_0x3434b0(_0x229b38._0x37ac71)](_0x3434b0(_0x229b38._0x40837a),[_0x3fce67]),void 0x0;}async['close'](){const _0x2f0e3e=_0x24a982;this['record'](_0x2f0e3e(0x1a2),[]);}[_0x24a982(0x197)](){return this['frameStack']['length'];}},FakeWebDriver=class{constructor(_0x25c7ca={}){const _0x5e9119={_0x3ebe60:0x1b5},_0x3ae30d=_0x24a982;this[_0x3ae30d(_0x5e9119._0x3ebe60)]=_0x25c7ca,this[_0x3ae30d(0x16b)]=createRecorder();}[_0x24a982(0x1b5)];static{__name(this,_0x24a982(0x175));}['launched']=![];['recorder'];[_0x24a982(0x1c1)]=[];async['launch'](_0x3d39f8){const _0x1742a1={_0x569aa5:0x16b,_0x4943a9:0x16e},_0x1b35b0=_0x24a982;this[_0x1b35b0(_0x1742a1._0x569aa5)][_0x1b35b0(0x1a3)]({'scope':'driver','method':_0x1b35b0(_0x1742a1._0x4943a9),'args':[_0x3d39f8]}),this['launched']=!![];}async['newContext'](_0x37723e){const _0x267e4e={_0x365cb4:0x170,_0x82487f:0x190,_0x155444:0x162,_0x2e0267:0x1c1,_0x5f14a2:0x1a3},_0x4b6ee0=_0x24a982;this[_0x4b6ee0(0x16b)]['push']({'scope':_0x4b6ee0(0x1a6),'method':'newContext','args':[_0x37723e]});if(!this[_0x4b6ee0(_0x267e4e._0x365cb4)])throw new DriverError(_0x4b6ee0(_0x267e4e._0x82487f),{});const _0x460fd5=new FakeContext(this[_0x4b6ee0(0x16b)],this['behavior'],_0x4b6ee0(0x18f)+this['contexts'][_0x4b6ee0(_0x267e4e._0x155444)]);return this[_0x4b6ee0(_0x267e4e._0x2e0267)][_0x4b6ee0(_0x267e4e._0x5f14a2)](_0x460fd5),_0x460fd5;}async[_0x24a982(0x1a2)](){const _0x4d5dd8={_0x46b22d:0x1a3,_0x1ec477:0x1a6,_0x14d531:0x1a2,_0x415550:0x170},_0x1c4cdb=_0x24a982;this['recorder'][_0x1c4cdb(_0x4d5dd8._0x46b22d)]({'scope':_0x1c4cdb(_0x4d5dd8._0x1ec477),'method':_0x1c4cdb(_0x4d5dd8._0x14d531),'args':[]}),this[_0x1c4cdb(_0x4d5dd8._0x415550)]=![];}[_0x24a982(0x19a)](){return void 0x0;}async[_0x24a982(0x187)](){const _0x50639b=_0x24a982;throw new DriverError(_0x50639b(0x15e),{});}['attachExisting'](_0x1160d7){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x24a982(0x196)](){const _0x47632f={_0x56c548:0x196},_0x4ea687=_0x24a982;return this[_0x4ea687(0x16b)][_0x4ea687(_0x47632f._0x56c548)]();}[_0x24a982(0x19b)](_0x351cbd){const _0x293087={_0x263084:0x16b,_0x4a7633:0x14c},_0x35e03c=_0x24a982;return this[_0x35e03c(_0x293087._0x263084)][_0x35e03c(0x196)]()[_0x35e03c(_0x293087._0x4a7633)](_0x127f3c=>_0x127f3c[_0x35e03c(0x1b4)]===_0x351cbd);}};export{FakeWebDriver};