@unotest/web 0.33.0 → 0.35.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.
@@ -30,10 +30,10 @@ declare const RetryConfigSchema: z.ZodObject<{
30
30
  on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  count: number;
33
- on: ("network" | "transient" | "crash")[];
33
+ on: ("transient" | "network" | "crash")[];
34
34
  }, {
35
35
  count: number;
36
- on: ("network" | "transient" | "crash")[];
36
+ on: ("transient" | "network" | "crash")[];
37
37
  }>;
38
38
  type RetryConfig = z.infer<typeof RetryConfigSchema>;
39
39
  declare const FailureBundleConfigSchema: z.ZodObject<{
@@ -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
- url: string;
219
- timeoutMs: number;
220
218
  command: string;
219
+ url: string;
221
220
  reuseExistingServer: boolean;
221
+ timeoutMs: number;
222
222
  }, {
223
- url: string;
224
223
  command: string;
225
- timeoutMs?: number | undefined;
224
+ url: string;
226
225
  reuseExistingServer?: boolean | undefined;
226
+ timeoutMs?: number | 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
- url: string;
253
- timeoutMs: number;
254
252
  command: string;
253
+ url: string;
255
254
  reuseExistingServer: boolean;
255
+ timeoutMs: number;
256
256
  }, {
257
- url: string;
258
257
  command: string;
259
- timeoutMs?: number | undefined;
258
+ url: string;
260
259
  reuseExistingServer?: boolean | undefined;
260
+ timeoutMs?: number | 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]>>;
@@ -276,10 +276,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
276
276
  on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  count: number;
279
- on: ("network" | "transient" | "crash")[];
279
+ on: ("transient" | "network" | "crash")[];
280
280
  }, {
281
281
  count: number;
282
- on: ("network" | "transient" | "crash")[];
282
+ on: ("transient" | "network" | "crash")[];
283
283
  }>;
284
284
  failureBundle: z.ZodObject<{
285
285
  /** Tier 1 is always on by D-16. Schema lock — not user-toggleable. */
@@ -461,7 +461,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
461
461
  };
462
462
  retry: {
463
463
  count: number;
464
- on: ("network" | "transient" | "crash")[];
464
+ on: ("transient" | "network" | "crash")[];
465
465
  };
466
466
  failureBundle: {
467
467
  tier1: true;
@@ -508,10 +508,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
508
508
  };
509
509
  baseUrl?: string | undefined;
510
510
  webServer?: {
511
- url: string;
512
- timeoutMs: number;
513
511
  command: string;
512
+ url: string;
514
513
  reuseExistingServer: boolean;
514
+ timeoutMs: number;
515
515
  } | undefined;
516
516
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
517
517
  storageState?: string | undefined;
@@ -523,7 +523,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
523
523
  };
524
524
  retry: {
525
525
  count: number;
526
- on: ("network" | "transient" | "crash")[];
526
+ on: ("transient" | "network" | "crash")[];
527
527
  };
528
528
  failureBundle: {
529
529
  tier2: boolean;
@@ -564,10 +564,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
564
564
  };
565
565
  baseUrl?: string | undefined;
566
566
  webServer?: {
567
- url: string;
568
567
  command: string;
569
- timeoutMs?: number | undefined;
568
+ url: string;
570
569
  reuseExistingServer?: boolean | undefined;
570
+ timeoutMs?: number | undefined;
571
571
  } | undefined;
572
572
  channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
573
573
  storageState?: string | undefined;
@@ -1 +1 @@
1
- var _0x2db7f2=_0x2c2d;(function(_0x4e56db,_0x2ba826){var _0xb688b={_0x4b65de:0x19e,_0x405fa9:0x1b4,_0x323a60:0x1ca,_0x176f58:0x1ce,_0x49d206:0x1a1},_0x2da43b=_0x2c2d,_0x22e447=_0x4e56db();while(!![]){try{var _0x3af37b=parseInt(_0x2da43b(0x1d4))/0x1+parseInt(_0x2da43b(0x1bd))/0x2+parseInt(_0x2da43b(_0xb688b._0x4b65de))/0x3+-parseInt(_0x2da43b(_0xb688b._0x405fa9))/0x4*(parseInt(_0x2da43b(_0xb688b._0x323a60))/0x5)+-parseInt(_0x2da43b(0x1b2))/0x6*(parseInt(_0x2da43b(0x1a0))/0x7)+-parseInt(_0x2da43b(0x1c8))/0x8*(parseInt(_0x2da43b(_0xb688b._0x176f58))/0x9)+-parseInt(_0x2da43b(_0xb688b._0x49d206))/0xa;if(_0x3af37b===_0x2ba826)break;else _0x22e447['push'](_0x22e447['shift']());}catch(_0x1021e6){_0x22e447['push'](_0x22e447['shift']());}}}(_0x2e2b,0x8f143));import{z}from'zod';var BrowserSchema=z['enum'](['chromium',_0x2db7f2(0x1c1),_0x2db7f2(0x1c9)]),BrowserChannelSchema=z[_0x2db7f2(0x1c0)]([z['literal'](_0x2db7f2(0x1b0)),z[_0x2db7f2(0x1ba)](_0x2db7f2(0x1bb)),z[_0x2db7f2(0x1ba)](_0x2db7f2(0x196)),z[_0x2db7f2(0x198)]()])[_0x2db7f2(0x1bc)](),ViewportSchema=z[_0x2db7f2(0x1b9)]({'width':z[_0x2db7f2(0x195)]()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)](),'height':z[_0x2db7f2(0x195)]()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)]()}),RetryReasonSchema=z[_0x2db7f2(0x193)](['transient','network','crash']),RetryConfigSchema=z['object']({'count':z['number']()[_0x2db7f2(0x1a9)]()['min'](0x0)[_0x2db7f2(0x1d2)](0xa),'on':z[_0x2db7f2(0x1a8)](RetryReasonSchema)}),FailureBundleConfigSchema=z['object']({'tier1':z[_0x2db7f2(0x1ba)](!![])[_0x2db7f2(0x1cf)](!![]),'tier2':z['boolean'](),'tier3':z[_0x2db7f2(0x1b9)]({'network':z[_0x2db7f2(0x1a2)](),'video':z[_0x2db7f2(0x1a2)]()}),'retention':z['object']({'runs':z['number']()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)](),'days':z[_0x2db7f2(0x195)]()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)]()}),'storageDir':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1)}),DialogPolicySchema=z['enum']([_0x2db7f2(0x197),_0x2db7f2(0x1c6),_0x2db7f2(0x19b)]),LinterRuleIdSchema=z[_0x2db7f2(0x193)](['lint:deep-css',_0x2db7f2(0x1b3),_0x2db7f2(0x1a4),'lint:pause-explicit',_0x2db7f2(0x1af),_0x2db7f2(0x1d1),_0x2db7f2(0x1cc),'lint:mustache-in-dsl',_0x2db7f2(0x1bf),_0x2db7f2(0x1c3),'lint:echo-assert',_0x2db7f2(0x1ab),'lint:lint-ok-missing-reason','lint:flow-returns-value',_0x2db7f2(0x1c7),_0x2db7f2(0x1ad),_0x2db7f2(0x1c4),_0x2db7f2(0x1a7),_0x2db7f2(0x1a5),_0x2db7f2(0x1a6),_0x2db7f2(0x1cd),_0x2db7f2(0x1a3),_0x2db7f2(0x199),_0x2db7f2(0x1ac),_0x2db7f2(0x19d),_0x2db7f2(0x1aa),'validator:var-shape',_0x2db7f2(0x1b6),_0x2db7f2(0x1d0),_0x2db7f2(0x1cb),_0x2db7f2(0x1ae),_0x2db7f2(0x19c),'validator:wrapped-format']),LinterSeveritySchema=z['enum'](['off',_0x2db7f2(0x1d3),_0x2db7f2(0x1b7)]),LinterConfigSchema=z[_0x2db7f2(0x1b9)]({'enabled':z[_0x2db7f2(0x1a2)](),'rules':z['record'](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x2db7f2(0x1b9)]({'enabled':z['boolean']()['default'](!![]),'concurrency':z[_0x2db7f2(0x195)]()[_0x2db7f2(0x1a9)]()['positive']()[_0x2db7f2(0x1cf)](0x1)}),ScheduleSchema=z[_0x2db7f2(0x1b9)]({'collection':z['string']()['min'](0x1),'cron':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1),'env':z['string']()[_0x2db7f2(0x1d5)](0x1)[_0x2db7f2(0x1bc)](),'prepare':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1)['optional']()}),McpConfigSchema=z['object']({'transport':z['literal'](_0x2db7f2(0x19f))}),SandboxConfigSchema=z['object']({'shellCwd':z['string']()[_0x2db7f2(0x1bc)](),'shellTimeoutMs':z['number']()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)]()['optional'](),'exportSecrets':z['array'](z[_0x2db7f2(0x1b5)]())[_0x2db7f2(0x1bc)](),'database':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1bc)](),'apiBaseUrl':z['string']()['url']()['optional'](),'uploadDir':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1bc)]()}),WebServerConfigSchema=z[_0x2db7f2(0x1b9)]({'command':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1),'url':z['string']()[_0x2db7f2(0x1c5)](),'reuseExistingServer':z[_0x2db7f2(0x1a2)]()['default'](!![]),'timeoutMs':z['number']()[_0x2db7f2(0x1a9)]()[_0x2db7f2(0x19a)]()[_0x2db7f2(0x1cf)](0xea60)}),UnotestConfigSchema=z[_0x2db7f2(0x1b9)]({'baseUrl':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1c5)]()[_0x2db7f2(0x1bc)](),'webServer':WebServerConfigSchema[_0x2db7f2(0x1bc)](),'browsers':z[_0x2db7f2(0x1a8)](BrowserSchema)[_0x2db7f2(0x1d5)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1bc)](),'testDir':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1),'helpersDir':z[_0x2db7f2(0x1b5)]()[_0x2db7f2(0x1d5)](0x1),'defaultTimeoutMs':z['number']()['int']()[_0x2db7f2(0x19a)](),'defaultNavigationTimeoutMs':z[_0x2db7f2(0x195)]()[_0x2db7f2(0x1a9)]()['positive'](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z[_0x2db7f2(0x1a8)](ScheduleSchema)[_0x2db7f2(0x1cf)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x2db7f2(0x1b1)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x2db7f2(0x1b8)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':'.unotest/failures'},'dialogPolicy':_0x2db7f2(0x197),'testDir':_0x2db7f2(0x1be),'helpersDir':_0x2db7f2(0x194),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':_0x2db7f2(0x1d3),'lint:obfuscated-class':_0x2db7f2(0x1d3),'lint:pause-explicit':_0x2db7f2(0x1d3),'lint:disambig-by-index':_0x2db7f2(0x1c2),'lint:evaluate-discouraged':_0x2db7f2(0x1d3),'lint:scenario-in-root':_0x2db7f2(0x1b7),'lint:mustache-in-dsl':_0x2db7f2(0x1b7),'lint:goto-concat':_0x2db7f2(0x1d3),'lint:regex-invalid':_0x2db7f2(0x1b7),'lint:echo-assert':_0x2db7f2(0x1d3),'lint:lint-ok-missing-reason':_0x2db7f2(0x1d3),'lint:flow-returns-value':_0x2db7f2(0x1d3),'lint:legacy-layout':_0x2db7f2(0x1d3),'lint:external-variable-undeclared':_0x2db7f2(0x1b7),'lint:one-test-per-file':_0x2db7f2(0x1d3),'validator:unknown-function':_0x2db7f2(0x1b7)}},'mcp':{'transport':_0x2db7f2(0x19f)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0x2c2d(_0xb677e8,_0x193936){_0xb677e8=_0xb677e8-0x193;var _0x2e2bd8=_0x2e2b();var _0x2c2d3=_0x2e2bd8[_0xb677e8];if(_0x2c2d['OhSYSc']===undefined){var _0x5a5e57=function(_0x2b810f){var _0x3e6d64='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x338218='',_0x4d0ccc='';for(var _0x49542b=0x0,_0x5b042e,_0x236d25,_0x1e7041=0x0;_0x236d25=_0x2b810f['charAt'](_0x1e7041++);~_0x236d25&&(_0x5b042e=_0x49542b%0x4?_0x5b042e*0x40+_0x236d25:_0x236d25,_0x49542b++%0x4)?_0x338218+=String['fromCharCode'](0xff&_0x5b042e>>(-0x2*_0x49542b&0x6)):0x0){_0x236d25=_0x3e6d64['indexOf'](_0x236d25);}for(var _0x2d3fa8=0x0,_0x1b9c49=_0x338218['length'];_0x2d3fa8<_0x1b9c49;_0x2d3fa8++){_0x4d0ccc+='%'+('00'+_0x338218['charCodeAt'](_0x2d3fa8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d0ccc);};_0x2c2d['vYywJu']=_0x5a5e57,_0x2c2d['dhktZp']={},_0x2c2d['OhSYSc']=!![];}var _0x4d5565=_0x2e2bd8[0x0],_0x48760c=_0xb677e8+_0x4d5565,_0x452144=_0x2c2d['dhktZp'][_0x48760c];return!_0x452144?(_0x2c2d3=_0x2c2d['vYywJu'](_0x2c2d3),_0x2c2d['dhktZp'][_0x48760c]=_0x2c2d3):_0x2c2d3=_0x452144,_0x2c2d3;}function _0x2e2b(){var _0x54728d=['mta5mJbcBuDsD1a','BgLUDdP4Cgf0Aa','mZu2q0PUAwXv','C3rYAw5N','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','zxjYB3i','DhjHBNnPzw50','B2jQzwn0','BgL0zxjHBa','BxnLzgDL','B3b0Aw9UywW','mti2mdy0ngnOu1b0Dq','Dw5VDgvZDc9LmMu','BgLUDdPNB3rVlwnVBMnHDa','Dw5PB24','zMLYzwzVEa','B2zM','BgLUDdPYzwDLEc1PBNzHBgLK','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','DxjS','zgLZBwLZCW','BgLUDdPSzwDHy3KTBgf5B3v0','ndC5odi0uK1PvM1A','D2vIA2L0','mty5mZvbv2Txvgy','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','oxvvALnvrW','zgvMyxvSDa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','Bwf4','D2fYBG','nZiXodaXq0XNBxLq','BwLU','zw51Bq','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','BNvTyMvY','y2HYB21LlwjLDge','ywnJzxb0','BNvSBa','DMfSAwrHDg9YoM1LDgeTC2HHCgu','Cg9ZAxrPDMu','BwfUDwfS','DMfSAwrHDg9YoMXPC3qTyxjN','DMfSAwrHDg9YoMzVCI1ZAgfWzq','mZe5ntqXng9mv29oyq','C3rKAw8','mtyZmujiqMXqvq','mta0ntCYotbtDMTAvhe','yM9VBgvHBG','DMfSAwrHDg9YoNn0zxaTC2HHCgu','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DMfSAwrHDg9YoMfYAxr5','DMfSAwrHDg9YoMfYzY1RAw5K','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','yxjYyxK','Aw50','DMfSAwrHDg9YoMLMlxnOyxbL','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','y2HYB21L','y2HYB21PDw0'];_0x2e2b=function(){return _0x54728d;};return _0x2e2b();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
1
+ var _0x4720f=_0x34a9;(function(_0x826596,_0x7378e2){var _0x580c74={_0x11bd5d:0x1e6,_0x566ad7:0x20e,_0x2cc2df:0x1e7,_0x4f593a:0x1f2},_0x567a47=_0x34a9,_0x4a992f=_0x826596();while(!![]){try{var _0x5b42ba=parseInt(_0x567a47(0x20b))/0x1*(-parseInt(_0x567a47(_0x580c74._0x11bd5d))/0x2)+-parseInt(_0x567a47(_0x580c74._0x566ad7))/0x3*(-parseInt(_0x567a47(0x21a))/0x4)+-parseInt(_0x567a47(0x1f3))/0x5+-parseInt(_0x567a47(0x216))/0x6*(parseInt(_0x567a47(0x21c))/0x7)+parseInt(_0x567a47(_0x580c74._0x2cc2df))/0x8*(-parseInt(_0x567a47(0x1e2))/0x9)+parseInt(_0x567a47(_0x580c74._0x4f593a))/0xa+parseInt(_0x567a47(0x215))/0xb;if(_0x5b42ba===_0x7378e2)break;else _0x4a992f['push'](_0x4a992f['shift']());}catch(_0x100435){_0x4a992f['push'](_0x4a992f['shift']());}}}(_0x4934,0x56da4));function _0x34a9(_0x1f9538,_0x26fab8){_0x1f9538=_0x1f9538-0x1e2;var _0x49348b=_0x4934();var _0x34a95a=_0x49348b[_0x1f9538];if(_0x34a9['ySfopf']===undefined){var _0x3c2b13=function(_0x4bdaa8){var _0x258dfe='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1b1b5d='',_0x2cc6fe='';for(var _0x33b163=0x0,_0x2a4240,_0x1d3fdb,_0x13f262=0x0;_0x1d3fdb=_0x4bdaa8['charAt'](_0x13f262++);~_0x1d3fdb&&(_0x2a4240=_0x33b163%0x4?_0x2a4240*0x40+_0x1d3fdb:_0x1d3fdb,_0x33b163++%0x4)?_0x1b1b5d+=String['fromCharCode'](0xff&_0x2a4240>>(-0x2*_0x33b163&0x6)):0x0){_0x1d3fdb=_0x258dfe['indexOf'](_0x1d3fdb);}for(var _0x3aaedc=0x0,_0x3e47d7=_0x1b1b5d['length'];_0x3aaedc<_0x3e47d7;_0x3aaedc++){_0x2cc6fe+='%'+('00'+_0x1b1b5d['charCodeAt'](_0x3aaedc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2cc6fe);};_0x34a9['tKVIST']=_0x3c2b13,_0x34a9['YXCgrC']={},_0x34a9['ySfopf']=!![];}var _0x382cd8=_0x49348b[0x0],_0x3de38f=_0x1f9538+_0x382cd8,_0x27a13c=_0x34a9['YXCgrC'][_0x3de38f];return!_0x27a13c?(_0x34a95a=_0x34a9['tKVIST'](_0x34a95a),_0x34a9['YXCgrC'][_0x3de38f]=_0x34a95a):_0x34a95a=_0x27a13c,_0x34a95a;}import{z}from'zod';var BrowserSchema=z[_0x4720f(0x211)]([_0x4720f(0x1f7),_0x4720f(0x1e5),_0x4720f(0x20a)]),BrowserChannelSchema=z['union']([z[_0x4720f(0x1f5)](_0x4720f(0x1e3)),z[_0x4720f(0x1f5)](_0x4720f(0x1ed)),z[_0x4720f(0x1f5)](_0x4720f(0x20d)),z[_0x4720f(0x213)]()])['optional'](),ViewportSchema=z[_0x4720f(0x221)]({'width':z['number']()[_0x4720f(0x218)]()[_0x4720f(0x220)](),'height':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()[_0x4720f(0x220)]()}),RetryReasonSchema=z['enum'](['transient','network',_0x4720f(0x210)]),RetryConfigSchema=z[_0x4720f(0x221)]({'count':z['number']()[_0x4720f(0x218)]()[_0x4720f(0x204)](0x0)[_0x4720f(0x21b)](0xa),'on':z[_0x4720f(0x1e9)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x4720f(0x221)]({'tier1':z[_0x4720f(0x1f5)](!![])[_0x4720f(0x1ef)](!![]),'tier2':z[_0x4720f(0x1ee)](),'tier3':z[_0x4720f(0x221)]({'network':z['boolean'](),'video':z['boolean']()}),'retention':z[_0x4720f(0x221)]({'runs':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()[_0x4720f(0x220)](),'days':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()['positive']()}),'storageDir':z[_0x4720f(0x203)]()[_0x4720f(0x204)](0x1)}),DialogPolicySchema=z[_0x4720f(0x211)]([_0x4720f(0x224),'dismiss','manual']),LinterRuleIdSchema=z['enum']([_0x4720f(0x209),'lint:xpath',_0x4720f(0x21e),'lint:pause-explicit',_0x4720f(0x1ea),_0x4720f(0x1fc),_0x4720f(0x1f0),'lint:mustache-in-dsl','lint:goto-concat',_0x4720f(0x1e4),'lint:echo-assert',_0x4720f(0x1f9),_0x4720f(0x219),_0x4720f(0x208),_0x4720f(0x1ff),_0x4720f(0x200),_0x4720f(0x1f6),_0x4720f(0x1e8),_0x4720f(0x207),_0x4720f(0x1eb),'validator:step-coverage',_0x4720f(0x1fd),_0x4720f(0x223),_0x4720f(0x1f4),_0x4720f(0x1fb),_0x4720f(0x1fe),_0x4720f(0x21d),'validator:unsupported-statement','validator:unsupported-expression',_0x4720f(0x206),_0x4720f(0x222),_0x4720f(0x1ec),'validator:wrapped-format']),LinterSeveritySchema=z['enum']([_0x4720f(0x21f),'warn',_0x4720f(0x217)]),LinterConfigSchema=z['object']({'enabled':z[_0x4720f(0x1ee)](),'rules':z[_0x4720f(0x201)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z[_0x4720f(0x221)]({'enabled':z[_0x4720f(0x1ee)]()[_0x4720f(0x1ef)](!![]),'concurrency':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()[_0x4720f(0x220)]()['default'](0x1)}),ScheduleSchema=z[_0x4720f(0x221)]({'collection':z[_0x4720f(0x203)]()[_0x4720f(0x204)](0x1),'cron':z[_0x4720f(0x203)]()[_0x4720f(0x204)](0x1),'env':z[_0x4720f(0x203)]()[_0x4720f(0x204)](0x1)['optional'](),'prepare':z['string']()[_0x4720f(0x204)](0x1)[_0x4720f(0x205)]()}),McpConfigSchema=z[_0x4720f(0x221)]({'transport':z[_0x4720f(0x1f5)]('stdio')}),SandboxConfigSchema=z[_0x4720f(0x221)]({'shellCwd':z[_0x4720f(0x203)]()[_0x4720f(0x205)](),'shellTimeoutMs':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()[_0x4720f(0x220)]()[_0x4720f(0x205)](),'exportSecrets':z[_0x4720f(0x1e9)](z[_0x4720f(0x203)]())[_0x4720f(0x205)](),'database':z['string']()[_0x4720f(0x205)](),'apiBaseUrl':z[_0x4720f(0x203)]()[_0x4720f(0x212)]()[_0x4720f(0x205)](),'uploadDir':z[_0x4720f(0x203)]()['optional']()}),WebServerConfigSchema=z[_0x4720f(0x221)]({'command':z[_0x4720f(0x203)]()['min'](0x1),'url':z[_0x4720f(0x203)]()['url'](),'reuseExistingServer':z[_0x4720f(0x1ee)]()[_0x4720f(0x1ef)](!![]),'timeoutMs':z['number']()[_0x4720f(0x218)]()[_0x4720f(0x220)]()[_0x4720f(0x1ef)](0xea60)}),UnotestConfigSchema=z[_0x4720f(0x221)]({'baseUrl':z[_0x4720f(0x203)]()[_0x4720f(0x212)]()[_0x4720f(0x205)](),'webServer':WebServerConfigSchema[_0x4720f(0x205)](),'browsers':z[_0x4720f(0x1e9)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x4720f(0x203)]()[_0x4720f(0x205)](),'testDir':z['string']()[_0x4720f(0x204)](0x1),'helpersDir':z[_0x4720f(0x203)]()[_0x4720f(0x204)](0x1),'defaultTimeoutMs':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()['positive'](),'defaultNavigationTimeoutMs':z[_0x4720f(0x20f)]()[_0x4720f(0x218)]()[_0x4720f(0x220)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)[_0x4720f(0x1ef)]([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':['chromium'],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x4720f(0x1fa)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4720f(0x1f1)},'dialogPolicy':_0x4720f(0x224),'testDir':_0x4720f(0x20c),'helpersDir':_0x4720f(0x202),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x4720f(0x1f8),'lint:xpath':_0x4720f(0x1f8),'lint:obfuscated-class':_0x4720f(0x1f8),'lint:pause-explicit':_0x4720f(0x1f8),'lint:disambig-by-index':_0x4720f(0x21f),'lint:evaluate-discouraged':_0x4720f(0x1f8),'lint:scenario-in-root':'error','lint:mustache-in-dsl':'error','lint:goto-concat':_0x4720f(0x1f8),'lint:regex-invalid':_0x4720f(0x217),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x4720f(0x1f8),'lint:legacy-layout':_0x4720f(0x1f8),'lint:external-variable-undeclared':_0x4720f(0x217),'lint:one-test-per-file':'warn','validator:unknown-function':_0x4720f(0x217)}},'mcp':{'transport':_0x4720f(0x214)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};function _0x4934(){var _0x1af210=['BNvSBa','C3rKAw8','mty5mdqWmdHlt2zKz3O','nLfPEePAAG','zxjYB3i','Aw50','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','mtj3AunpvvO','Bwf4','mtKYnJeXm3PUz0PmEG','DMfSAwrHDg9YoNzHCI1ZAgfWzq','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','B2zM','Cg9ZAxrPDMu','B2jQzwn0','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DMfSAwrHDg9YoM1LDgeTC2HHCgu','ywnJzxb0','mJDxsu55swG','y2HYB21L','BgLUDdPYzwDLEc1PBNzHBgLK','zMLYzwzVEa','ntHTqujjr2m','mteWmZK0ngnMvKffqW','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','yxjYyxK','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','DMfSAwrHDg9YoMfYzY1RAw5K','DMfSAwrHDg9YoMXPC3qTyxjN','BxnLzgDL','yM9VBgvHBG','zgvMyxvSDa','BgLUDdPZy2vUyxjPBY1PBI1YB290','lNvUB3rLC3qVzMfPBhvYzxm','mty0mdy4mgDfz25vsW','mZm2mteYnw1btfvZBW','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','BgL0zxjHBa','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','y2HYB21PDw0','D2fYBG','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DhjHBNnPzw50','DMfSAwrHDg9YoMzVCI1ZAgfWzq','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoNn0zxaTC2HHCgu','DMfSAwrHDg9YoMLMlxnOyxbL','BgLUDdPSzwDHy3KTBgf5B3v0','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','CMvJB3jK','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','C3rYAw5N','BwLU','B3b0Aw9UywW','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','DMfSAwrHDg9YoMfYAxr5','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','BgLUDdPKzwvWlwnZCW','D2vIA2L0','mtq5ogrOBNPivW','Dw5VDgvZDc9LmMu','y2HYB21LlwjLDge','ntK3ntDtuffktva','BNvTyMvY','y3jHC2G','zw51Bq','DxjS'];_0x4934=function(){return _0x1af210;};return _0x4934();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1 +1 @@
1
- const _0xfb8fa0=_0x1faf;(function(_0x45eeea,_0x529d87){const _0x228935={_0x3816fd:0x1e8,_0x570773:0x19d,_0x4f0292:0x1de,_0xe5933c:0x1d6},_0x262f6a=_0x1faf,_0x296ac1=_0x45eeea();while(!![]){try{const _0x283fc7=-parseInt(_0x262f6a(_0x228935._0x3816fd))/0x1+parseInt(_0x262f6a(_0x228935._0x570773))/0x2*(-parseInt(_0x262f6a(0x18d))/0x3)+parseInt(_0x262f6a(0x1d1))/0x4+parseInt(_0x262f6a(_0x228935._0x4f0292))/0x5+parseInt(_0x262f6a(0x1ac))/0x6+parseInt(_0x262f6a(0x18c))/0x7+parseInt(_0x262f6a(_0x228935._0xe5933c))/0x8;if(_0x283fc7===_0x529d87)break;else _0x296ac1['push'](_0x296ac1['shift']());}catch(_0x3abc30){_0x296ac1['push'](_0x296ac1['shift']());}}}(_0xfc9c,0x8e6b2));var __defProp=Object[_0xfb8fa0(0x196)],__name=(_0x2f302e,_0x1b0d3f)=>__defProp(_0x2f302e,_0xfb8fa0(0x1e6),{'value':_0x1b0d3f,'configurable':!![]});function _0x1faf(_0xfedf01,_0x3b8197){_0xfedf01=_0xfedf01-0x189;const _0xfc9c0b=_0xfc9c();let _0x1faff8=_0xfc9c0b[_0xfedf01];if(_0x1faf['PhSoyk']===undefined){var _0x5375e4=function(_0x22b1a1){const _0x5c4cb6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f302e='',_0x1b0d3f='';for(let _0x2a48e8=0x0,_0x50076e,_0x5e80b3,_0x3e4c73=0x0;_0x5e80b3=_0x22b1a1['charAt'](_0x3e4c73++);~_0x5e80b3&&(_0x50076e=_0x2a48e8%0x4?_0x50076e*0x40+_0x5e80b3:_0x5e80b3,_0x2a48e8++%0x4)?_0x2f302e+=String['fromCharCode'](0xff&_0x50076e>>(-0x2*_0x2a48e8&0x6)):0x0){_0x5e80b3=_0x5c4cb6['indexOf'](_0x5e80b3);}for(let _0x2a2160=0x0,_0x2bfb90=_0x2f302e['length'];_0x2a2160<_0x2bfb90;_0x2a2160++){_0x1b0d3f+='%'+('00'+_0x2f302e['charCodeAt'](_0x2a2160)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b0d3f);};_0x1faf['NUQBfR']=_0x5375e4,_0x1faf['ohaeey']={},_0x1faf['PhSoyk']=!![];}const _0x7917c1=_0xfc9c0b[0x0],_0x28ebf1=_0xfedf01+_0x7917c1,_0x3990cc=_0x1faf['ohaeey'][_0x28ebf1];return!_0x3990cc?(_0x1faff8=_0x1faf['NUQBfR'](_0x1faff8),_0x1faf['ohaeey'][_0x28ebf1]=_0x1faff8):_0x1faff8=_0x3990cc,_0x1faff8;}function subscribe(_0x2a48e8,_0x50076e){const _0x35a361={_0x1cb06e:0x1d3},_0x59d5a3=_0xfb8fa0;return _0x2a48e8[_0x59d5a3(_0x35a361._0x1cb06e)](_0x50076e),()=>{const _0x262111=_0x59d5a3;_0x2a48e8[_0x262111(0x190)](_0x50076e);};}__name(subscribe,_0xfb8fa0(0x1ff));import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0xfb8fa0(0x198));}},LocatorError=class extends UnotestError{static{__name(this,_0xfb8fa0(0x19e));}};function _0xfc9c(){const _0x1aebc0=['mta3odG2nwjszhHntq','zNjVBq','zxjYB3jpBK5LEhrby3rPB24','D2fPDezVCLvYBa','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','CMvSB2fK','B3v0zxjive1m','yxr0CMLIDxrLC0j5rgvMyxvSDa','BMfTzq','D2fPDezVCG','ndi5odyYy0vps0vb','Aw5UzxjuzxH0qNLezwzHDwX0','C2nYB2XSsw50B1zPzxC','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','zMfRzsb0AxrSzq','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','Ag92zxi','y29UDgv4Dhm','BgvUz3rO','BMv3q29UDgv4Da','AxneAxnHyMXLzej5rgvMyxvSDa','Dgv4DenVBNrLBNrcEurLzMf1Bhq','y2XVC2vgywTLugfNzq','z290BW','y291BNq','z2v0q29VA2LL','zxzHBhvHDgvpBKXVy2f0B3i','AxnwAxnPyMXL','Cg9W','y2HLy2TLzfn0yxrL','CgfNzuXPC3q','iJ48l2rPDJ4','y2XPCgjVyxjKugfZDgu','C3vIC2nYAwjL','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','zg91yMXLq2XPy2S','zNjHBwvtDgfJAW','D2fPDezVCLrLEhq','y3jLyxrLuMvJB3jKzxi','B25ozxDqywDL','zw50zxjgCMfTzq','D2fPDezVCKXVywrtDgf0zq','CMvM','C2v0tg9JywXtDg9YywDL','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','C2v0qwn0AxzLugfNzq','mZuZote5m25mvwvuzG','mZnNugLAAwu','DxjS','CMvJB3jKzxi','zgvSzxrL','y2fSBhngB3i','BMv3ugfNzuXPC3rLBMvYCW','ywn0AxzLswr4','zMLSDgvY','Bg9JywXtDg9YywDL','zgvMAw5LuhjVCgvYDhK','D2fPDezVCK5HDMLNyxrPB24','rhjPDMvYrxjYB3i','y2XPy2S','yMvOyxzPB3i','lNbHz2u','y29UC29SzuvUDhjPzxm','ntm4nZHJz0vTqNy','tg9JyxrVCKvYCM9Y','Bwv0Ag9K','Dw5JAgvJAW','BMv0D29YA0vUDhjPzxm','CMvJB3jK','C2vSzwn0t3b0Aw9U','C3rLChm','y2fSBhm','y2XVC2u','y29UBMvJDfnOyxjLza','rMfRzvDLyKrYAxzLCG','zMfRzs1WBMC','Bgf1BMnO','zw1PDezHA2vqB3b1Ca','mti2mZa2mhvHyvvvsa','zMLSBa','ChvZAa','Bg9JywXtDg9YywDLu3rHDgu','Bgf1BMnOzwq','DhLWzq','zNjHBwvezxb0Aa','Aw5WDxrwywX1zuj5rgvMyxvSDa','ywn0AxzLugfNzq','ywjVDxq6yMXHBMS','y2HLy2TLzfn0yxrLqNLezwzHDwX0','y29VA2LLu3rHDgu','C2f2zvn0B3jHz2vtDgf0zq','C2v0q29VA2LL','ChjLC3m','C2nYzwvUC2HVDa','y2HLy2S','rMfRzvbHz2u','C2nVCgu','CgfNzxm','Cg9WDxbpBKnSAwnR','AxneAxnHyMXLza','C2nYzwvUC2HVDej5DgvZ','zhjHz0fUzerYB3a','zxzHBhvHDgvszxn1Bhq','y3r4','zhjPDMvY','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','A2LUza','rMfRzunVBNrLEhq','pgrPDJ48l2rPDJ4','B3v0zxjiDg1SqNLszwy','Aw5WDxrwywX1zq','z29gB3j3yxjK','Bwf5yMvuAhjVDW','Dgv4DenVBNrLBNq','y29VA2LLCW','mtq2mdC2ogH0yNHewa','z29cywnR','ywrK','z2v0tg9JywXtDg9YywDL','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','otK3mdrTsw1lt0G','Aw5UzxjuzxH0','B25bzNrLCKnSAwnR','C2nYzwvUC2HVDevSzw1LBNq','Aw5ZCgvJDevSzw1LBNq','zxzHBhvHDgu','z2v0qxr0CMLIDxrL','y3vYCMvUDfvYBa'];_0xfc9c=function(){return _0x1aebc0;};return _0xfc9c();}function createRecorder(){const _0x3b3241=_0xfb8fa0,_0x5e80b3=[];let _0x3e4c73=0x0;return{'push':__name(_0x2a2160=>_0x5e80b3['push']({..._0x2a2160,'seq':_0x3e4c73++}),_0x3b3241(0x1ae)),'calls':__name(()=>_0x5e80b3,'calls')};}__name(createRecorder,_0xfb8fa0(0x204));var FakePage=class{constructor(_0x2bfb90,_0x5a8408,_0x5e827b,_0x1e6bb3){const _0x1531cc={_0x197c88:0x19a},_0x156216=_0xfb8fa0;this[_0x156216(0x18f)]=_0x2bfb90,this[_0x156216(_0x1531cc._0x197c88)]=_0x5a8408,this['scope']=_0x5e827b,this[_0x156216(0x1dd)]=_0x1e6bb3;}[_0xfb8fa0(0x18f)];[_0xfb8fa0(0x19a)];['scope'];static{__name(this,_0xfb8fa0(0x1bd));}[_0xfb8fa0(0x1dd)];[_0xfb8fa0(0x1d8)];['record'](_0x561990,_0x1105c1){const _0x2d88a3={_0x2e644e:0x18f,_0x152536:0x1ae},_0x5eae9e=_0xfb8fa0;this[_0x5eae9e(_0x2d88a3._0x2e644e)][_0x5eae9e(_0x2d88a3._0x152536)]({'scope':this['scope'],'method':_0x561990,'args':_0x1105c1});}['maybeThrow'](){const _0x150fe7={_0x575710:0x1e0,_0x3699ab:0x19a,_0x2b91d9:0x1e0},_0x40ac22=_0xfb8fa0;if(this['behavior'][_0x40ac22(_0x150fe7._0x575710)]){const _0x4013c0=this[_0x40ac22(_0x150fe7._0x3699ab)][_0x40ac22(_0x150fe7._0x2b91d9)];this[_0x40ac22(0x19a)][_0x40ac22(0x1e0)]=void 0x0;throw _0x4013c0;}}[_0xfb8fa0(0x18e)](){return this['currentUrl'];}async['title'](){const _0x5f16aa=_0xfb8fa0;return this[_0x5f16aa(0x1a2)]('title',[]),_0x5f16aa(0x1ec);}async[_0xfb8fa0(0x199)](_0x58d563,_0xf350c5){const _0x5f5af2={_0x1df5d4:0x1a2,_0x2759ee:0x1d8},_0x278e5c=_0xfb8fa0;this[_0x278e5c(_0x5f5af2._0x1df5d4)]('click',[_0x58d563,_0xf350c5]),this[_0x278e5c(0x1ce)](),this[_0x278e5c(_0x5f5af2._0x2759ee)]?.();}async['doubleClick'](_0x527c83,_0x32e7e4){const _0x4a60bd={_0x108d8f:0x201,_0x4b7ba4:0x1ce},_0x3b7849=_0xfb8fa0;this[_0x3b7849(0x1a2)](_0x3b7849(_0x4a60bd._0x108d8f),[_0x527c83,_0x32e7e4]),this[_0x3b7849(_0x4a60bd._0x4b7ba4)]();}async[_0xfb8fa0(0x1ad)](_0x197b4f,_0x39fffa,_0x59b2bf){const _0x411113={_0x22e174:0x1a2,_0x789e21:0x1ad,_0x123466:0x1ce},_0x1797e5=_0xfb8fa0;this[_0x1797e5(_0x411113._0x22e174)](_0x1797e5(_0x411113._0x789e21),[_0x197b4f,_0x39fffa,_0x59b2bf]),this[_0x1797e5(_0x411113._0x123466)]();}async[_0xfb8fa0(0x1ba)](_0x301063,_0x44f58a,_0x25359d){const _0x305ac9=_0xfb8fa0;this['record'](_0x305ac9(0x1ba),[_0x301063,_0x44f58a,_0x25359d]),this[_0x305ac9(0x1ce)]();}async[_0xfb8fa0(0x1bc)](_0x12e22e,_0x3e59fc){const _0x4dad80={_0x45e280:0x1a2},_0x42ca73=_0xfb8fa0;this[_0x42ca73(_0x4dad80._0x45e280)](_0x42ca73(0x1bc),[_0x12e22e,_0x3e59fc]),this['maybeThrow']();}async['uncheck'](_0x300905,_0x19aeb0){const _0x45d28f={_0x5401cf:0x1a2,_0x9a02b:0x1a0,_0x34ab38:0x1ce},_0x1812a7=_0xfb8fa0;this[_0x1812a7(_0x45d28f._0x5401cf)](_0x1812a7(_0x45d28f._0x9a02b),[_0x300905,_0x19aeb0]),this[_0x1812a7(_0x45d28f._0x34ab38)]();}async[_0xfb8fa0(0x1a3)](_0xe88517,_0x2a3c39,_0x378548){const _0xeba2f6={_0x1e6ac5:0x1a2,_0x2542ae:0x1ce},_0x1053f1=_0xfb8fa0;this[_0x1053f1(_0xeba2f6._0x1e6ac5)]('selectOption',[_0xe88517,_0x2a3c39,_0x378548]),this[_0x1053f1(_0xeba2f6._0x2542ae)]();}async['hover'](_0x494cc2,_0x1856e2){const _0x11ec36={_0x1277b2:0x1ee,_0x4e4924:0x1ce},_0x4dd5b7=_0xfb8fa0;this[_0x4dd5b7(0x1a2)](_0x4dd5b7(_0x11ec36._0x1277b2),[_0x494cc2,_0x1856e2]),this[_0x4dd5b7(_0x11ec36._0x4e4924)]();}async[_0xfb8fa0(0x1ea)](_0x1dc515){const _0x5ac6f7={_0x4ace92:0x1ce},_0x125799=_0xfb8fa0;this['record'](_0x125799(0x1ea),[_0x1dc515]),this[_0x125799(_0x5ac6f7._0x4ace92)]();}async[_0xfb8fa0(0x1c3)](_0x329702,_0x1cd168,_0x13978b){const _0x2f9cb5={_0x39125a:0x1c3},_0x38faf4=_0xfb8fa0;this['record'](_0x38faf4(_0x2f9cb5._0x39125a),[_0x329702,_0x1cd168,_0x13978b]),this[_0x38faf4(0x1ce)]();}async['uploadFile'](_0x19001e,_0x4c4b7d){const _0x3a4423=_0xfb8fa0;this[_0x3a4423(0x1a2)]('uploadFile',[_0x19001e,_0x4c4b7d]),this['maybeThrow']();}async[_0xfb8fa0(0x1fe)](_0x142e8f,_0x1ec5ec){const _0x147e9d={_0x19cb14:0x1fe,_0xfb3ef:0x1ce},_0x3fcb84=_0xfb8fa0;this['record'](_0x3fcb84(_0x147e9d._0x19cb14),[_0x142e8f,_0x1ec5ec]),this[_0x3fcb84(_0x147e9d._0xfb3ef)]();}async[_0xfb8fa0(0x1f6)](_0xa38217){const _0x7109ff={_0x21962c:0x1f6},_0x15bc28=_0xfb8fa0;return this['record'](_0x15bc28(_0x7109ff._0x21962c),[_0xa38217]),this['behavior']['countByDefault']??0x1;}async[_0xfb8fa0(0x1cf)](_0x4788d6){const _0x206a34=_0xfb8fa0;return this[_0x206a34(0x1a2)]('textContent',[_0x4788d6]),this['behavior'][_0x206a34(0x1f3)]??'';}async['innerText'](_0x283aad){const _0x53bf31={_0x4afe53:0x19a,_0x23d964:0x1f3},_0x243eaa=_0xfb8fa0;return this['record'](_0x243eaa(0x1d7),[_0x283aad]),this['behavior'][_0x243eaa(0x1e9)]??this[_0x243eaa(_0x53bf31._0x4afe53)][_0x243eaa(_0x53bf31._0x23d964)]??'';}async[_0xfb8fa0(0x1cc)](_0x24f290){const _0x2c8c82={_0xdace00:0x1a2},_0x1da287=_0xfb8fa0;return this[_0x1da287(_0x2c8c82._0xdace00)](_0x1da287(0x1cc),[_0x24f290]),this[_0x1da287(0x19a)][_0x1da287(0x1b3)]??'';}async[_0xfb8fa0(0x1fb)](_0xc6d030){const _0x1bfe6e={_0x426fc8:0x19a,_0x358aaa:0x1b6},_0x86a57b=_0xfb8fa0;return this[_0x86a57b(0x1a2)](_0x86a57b(0x1fb),[_0xc6d030]),this[_0x86a57b(_0x1bfe6e._0x426fc8)][_0x86a57b(_0x1bfe6e._0x358aaa)]??null;}async['isVisible'](_0xeb59af){const _0x9c622e={_0x138337:0x1f9},_0x27747d=_0xfb8fa0;return this['record'](_0x27747d(_0x9c622e._0x138337),[_0xeb59af]),this['behavior']['isVisibleByDefault']??!![];}async[_0xfb8fa0(0x1c1)](_0x454ec3){const _0x4a71b0={_0x8df876:0x19a,_0x14d419:0x1f2},_0x4c8e84=_0xfb8fa0;return this[_0x4c8e84(0x1a2)](_0x4c8e84(0x1c1),[_0x454ec3]),this[_0x4c8e84(_0x4a71b0._0x8df876)][_0x4c8e84(_0x4a71b0._0x14d419)]??![];}async[_0xfb8fa0(0x1dc)](_0x2b4eda,_0x101e34){const _0x1271bf={_0x1c6611:0x1dc,_0x26155b:0x19a},_0x40f2cf=_0xfb8fa0;return this[_0x40f2cf(0x1a2)](_0x40f2cf(_0x1271bf._0x1c6611),[_0x2b4eda,_0x101e34]),this[_0x40f2cf(_0x1271bf._0x26155b)][_0x40f2cf(0x1e5)]?.[_0x101e34]??null;}async[_0xfb8fa0(0x1e7)](_0x3dd1af,_0x191048){const _0x3a5887=_0xfb8fa0;this['record'](_0x3a5887(0x1e7),[_0x3dd1af,_0x191048]);}async[_0xfb8fa0(0x1e1)](_0x218228,_0x3f20c0){const _0x4288ff={_0x309bb7:0x1a2},_0xd99fc7=_0xfb8fa0;this[_0xd99fc7(_0x4288ff._0x309bb7)]('waitForUrl',[_0x218228,_0x3f20c0]);}async['waitForText'](_0x2a3ef2,_0x1face1){const _0x578dec={_0x371c3b:0x1a2},_0x21bf2d=_0xfb8fa0;this[_0x21bf2d(_0x578dec._0x371c3b)](_0x21bf2d(0x203),[_0x2a3ef2,_0x1face1]);}async[_0xfb8fa0(0x197)](_0x5ac917){const _0x554429=_0xfb8fa0;this[_0x554429(0x1a2)](_0x554429(0x197),[_0x5ac917]);}async[_0xfb8fa0(0x207)](_0x11e38c,_0x3b0bf5){const _0x3271e7=_0xfb8fa0;this[_0x3271e7(0x1a2)](_0x3271e7(0x207),[_0x11e38c,_0x3b0bf5]);}async[_0xfb8fa0(0x1f5)](_0x204978,_0x5ddb18){const _0x5eba4c={_0x5da6c9:0x1f5,_0x4a23c8:0x1dd},_0x24f45=_0xfb8fa0;this['record'](_0x24f45(_0x5eba4c._0x5da6c9),[_0x204978,_0x5ddb18]),this[_0x24f45(_0x5eba4c._0x4a23c8)]=_0x204978;}async['reload'](_0x2c2aba){const _0x313e5e={_0x410341:0x1e3},_0x1bd021=_0xfb8fa0;this[_0x1bd021(0x1a2)](_0x1bd021(_0x313e5e._0x410341),[_0x2c2aba]);}async[_0xfb8fa0(0x1d2)](_0x3c82fb){const _0x38a380=_0xfb8fa0;this['record'](_0x38a380(0x1d2),[_0x3c82fb]);}async[_0xfb8fa0(0x1cd)](_0x2331b0){const _0x2299e1={_0x482cd2:0x1a2,_0x32cfe8:0x1cd},_0x17e797=_0xfb8fa0;this[_0x17e797(_0x2299e1._0x482cd2)](_0x17e797(_0x2299e1._0x32cfe8),[_0x2331b0]);}async[_0xfb8fa0(0x1db)](_0x46d3f0){const _0xec87a5={_0x21a323:0x19a,_0x1fd7e6:0x1c4},_0x438769=_0xfb8fa0;return this[_0x438769(0x1a2)](_0x438769(0x1db),[_0x46d3f0]),this[_0x438769(_0xec87a5._0x21a323)][_0x438769(_0xec87a5._0x1fd7e6)];}async[_0xfb8fa0(0x1f8)](_0xc2e35d,_0x29b039){const _0x370771={_0x44882c:0x1a2,_0x348e9a:0x1f8},_0x18b0a1=_0xfb8fa0;return this[_0x18b0a1(_0x370771._0x44882c)](_0x18b0a1(_0x370771._0x348e9a),[_0xc2e35d,_0x29b039]),void 0x0;}async[_0xfb8fa0(0x1da)](_0x373e7f){const _0x89485e={_0xe6340:0x1da,_0x563a14:0x1a4,_0x3b1ee8:0x208,_0x4bdf31:0x1a4},_0x4af40a=_0xfb8fa0;this['record'](_0x4af40a(_0x89485e._0xe6340),[_0x373e7f]);if(_0x373e7f[_0x4af40a(_0x89485e._0x563a14)]['length']!==0x1||_0x373e7f[_0x4af40a(_0x89485e._0x563a14)][0x0][_0x4af40a(0x1c8)]!==_0x4af40a(_0x89485e._0x3b1ee8))return null;const _0x443413=_0x373e7f[_0x4af40a(_0x89485e._0x4bdf31)][0x0][_0x4af40a(0x208)],_0x13ad22=this['behavior']['elementHintByRef']?.[_0x443413];return _0x13ad22??null;}async[_0xfb8fa0(0x1bb)](_0x47d51a){const _0x39d70a={_0x351240:0x1a2,_0x580c30:0x1b1},_0x1173b5=_0xfb8fa0;return this[_0x1173b5(_0x39d70a._0x351240)](_0x1173b5(0x1bb),[_0x47d51a]),this['screenshotBytes'](_0x47d51a?.[_0x1173b5(_0x39d70a._0x580c30)]);}async[_0xfb8fa0(0x1d9)](_0x24485e,_0x59d98a){const _0x49e2ba=_0xfb8fa0;return this[_0x49e2ba(0x1a2)]('screenshotElement',[_0x24485e,_0x59d98a]),this['screenshotBytes'](_0x59d98a?.[_0x49e2ba(0x1b1)]);}['screenshotBytes'](_0x428b36){const _0x1687cc={_0x454dbb:0x1c2,_0x5b5e16:0x1a9},_0x4ef94f=_0xfb8fa0,_0x43b908=this[_0x4ef94f(0x19a)][_0x4ef94f(_0x1687cc._0x454dbb)];if(_0x43b908===void 0x0)return Buffer[_0x4ef94f(0x1df)](_0x4ef94f(_0x1687cc._0x5b5e16));return typeof _0x43b908==='function'?_0x43b908(_0x428b36):_0x43b908;}async[_0xfb8fa0(0x1e4)](_0x141804){const _0x35aa55={_0x430ba5:0x1c8,_0x29b131:0x208,_0xe10d9c:0x19a},_0x3a9705=_0xfb8fa0;this[_0x3a9705(0x1a2)]('outerHTML',[_0x141804]);if(_0x141804['steps'][_0x3a9705(0x1f0)]===0x1&&_0x141804['steps'][0x0][_0x3a9705(_0x35aa55._0x430ba5)]===_0x3a9705(_0x35aa55._0x29b131)){const _0x558dc2=_0x141804[_0x3a9705(0x1a4)][0x0]['ref'];return this[_0x3a9705(_0x35aa55._0xe10d9c)][_0x3a9705(0x1cb)]?.[_0x558dc2]??_0x3a9705(0x1e2)+_0x558dc2+_0x3a9705(0x1fd);}return _0x3a9705(0x1ca);}},FakeContext=class{constructor(_0x3f7d09,_0x1b20a8,_0x22bb3f){const _0x41b98d={_0x22b9c1:0x1fc,_0x5a097e:0x1af,_0x3057c2:0x195},_0x33f4f1={_0x365d94:0x1c0},_0x45f499=_0xfb8fa0;this[_0x45f499(0x18f)]=_0x3f7d09,this[_0x45f499(0x19a)]=_0x1b20a8,this['scope']=_0x22bb3f;const _0x5bf75a=new FakePage(_0x3f7d09,_0x1b20a8,_0x22bb3f+'.page0',_0x1b20a8['initialUrl']??_0x45f499(0x1b5));_0x1b20a8[_0x45f499(0x1c0)]&&(_0x5bf75a[_0x45f499(0x1d8)]=()=>{const _0x4b1bb=_0x45f499;this[_0x4b1bb(0x1ab)](_0x1b20a8[_0x4b1bb(_0x33f4f1._0x365d94)]);}),this[_0x45f499(_0x41b98d._0x22b9c1)]=[_0x5bf75a],this[_0x45f499(_0x41b98d._0x5a097e)]={..._0x1b20a8[_0x45f499(_0x41b98d._0x3057c2)]??{}},this['cookieState']={..._0x1b20a8[_0x45f499(0x1d0)]??{}};}[_0xfb8fa0(0x18f)];['behavior'];['scope'];static{__name(this,_0xfb8fa0(0x1c9));}['pageList'];[_0xfb8fa0(0x193)]=0x0;[_0xfb8fa0(0x202)]=[];[_0xfb8fa0(0x1af)];[_0xfb8fa0(0x1b7)];[_0xfb8fa0(0x192)]=new Set();[_0xfb8fa0(0x1a2)](_0x5c8388,_0x2a6424){const _0x39b0f9={_0x1601ae:0x1ae,_0x38ca98:0x1be},_0x234260=_0xfb8fa0;this['recorder'][_0x234260(_0x39b0f9._0x1601ae)]({'scope':this[_0x234260(_0x39b0f9._0x38ca98)],'method':_0x5c8388,'args':_0x2a6424});}[_0xfb8fa0(0x1bf)](){const _0x4b1c0e=_0xfb8fa0;return this[_0x4b1c0e(0x1fc)];}[_0xfb8fa0(0x1b4)](){const _0x173095={_0x258c76:0x1fc,_0x24fc37:0x18a,_0x39c387:0x193},_0x132216=_0xfb8fa0,_0x2ec24a=this[_0x132216(_0x173095._0x258c76)][this[_0x132216(0x193)]];if(!_0x2ec24a)throw new DriverError(_0x132216(_0x173095._0x24fc37),{'activeIdx':this[_0x132216(_0x173095._0x39c387)]});return _0x2ec24a;}[_0xfb8fa0(0x19c)](){const _0x427820={_0x5a636a:0x19c},_0x5671b5=_0xfb8fa0;return this['behavior'][_0x5671b5(_0x427820._0x5a636a)]??[];}['networkEntries'](){const _0x9a6f07={_0x4431fd:0x19a},_0x3cf4c1=_0xfb8fa0;return this[_0x3cf4c1(_0x9a6f07._0x4431fd)][_0x3cf4c1(0x1a1)]??[];}async[_0xfb8fa0(0x18b)](_0x88ea4e){const _0x4465d1={_0x4ad013:0x1a2,_0x4068ef:0x1f0,_0x143781:0x1ed,_0x488bd5:0x1fc,_0x11c545:0x202},_0x11a83c=_0xfb8fa0;this[_0x11a83c(_0x4465d1._0x4ad013)]('setActivePage',[_0x88ea4e]);if(_0x88ea4e<0x0||_0x88ea4e>=this[_0x11a83c(0x1fc)][_0x11a83c(_0x4465d1._0x4068ef)])throw new DriverError(_0x11a83c(_0x4465d1._0x143781),{'index':_0x88ea4e,'available':this[_0x11a83c(_0x4465d1._0x488bd5)]['length']});this[_0x11a83c(0x193)]=_0x88ea4e,this[_0x11a83c(_0x4465d1._0x11c545)][_0x11a83c(_0x4465d1._0x4068ef)]=0x0;}[_0xfb8fa0(0x205)](_0x2f4167){return subscribe(this['newPageListeners'],_0x2f4167);}[_0xfb8fa0(0x1ab)](_0xdd08ca){const _0x20d1f5={_0x88a33c:0x19b,_0x220449:0x19a,_0x260e12:0x1fc},_0x218226=_0xfb8fa0,_0x4e6019=this[_0x218226(0x1be)]+_0x218226(_0x20d1f5._0x88a33c)+this[_0x218226(0x1fc)][_0x218226(0x1f0)],_0x17d093=new FakePage(this[_0x218226(0x18f)],this[_0x218226(_0x20d1f5._0x220449)],_0x4e6019,_0xdd08ca);this[_0x218226(_0x20d1f5._0x260e12)]['push'](_0x17d093);const _0x69faf5=this[_0x218226(_0x20d1f5._0x260e12)]['length']-0x1;for(const _0x5313eb of this['newPageListeners']){try{_0x5313eb({'index':_0x69faf5,'url':_0xdd08ca});}catch{}}return _0x69faf5;}[_0xfb8fa0(0x1f4)](_0x8b206a){const _0xa0ac7b={_0x5e8edf:0x1fc,_0x135ea:0x1f0,_0x4e0bd9:0x1fc,_0x5753b9:0x1f0},_0x251053=_0xfb8fa0;if(_0x8b206a<0x0||_0x8b206a>=this[_0x251053(_0xa0ac7b._0x5e8edf)][_0x251053(_0xa0ac7b._0x135ea)])throw new DriverError(_0x251053(0x1ed),{'index':_0x8b206a,'available':this[_0x251053(_0xa0ac7b._0x4e0bd9)][_0x251053(_0xa0ac7b._0x5753b9)]});this[_0x251053(0x1fc)]['splice'](_0x8b206a,0x1);}async[_0xfb8fa0(0x206)](_0x3f2105){const _0x45e76a={_0x182764:0x1a4,_0x53dd4a:0x1f0,_0x363b6e:0x200},_0x59bfac=_0xfb8fa0;this['record'](_0x59bfac(0x206),[_0x3f2105]);if(!_0x3f2105[_0x59bfac(_0x45e76a._0x182764)][_0x59bfac(_0x45e76a._0x53dd4a)])throw new LocatorError(_0x59bfac(_0x45e76a._0x363b6e),{'locator':_0x3f2105});this[_0x59bfac(0x202)][_0x59bfac(0x1ae)](_0x3f2105);}async['exitFrame'](){const _0x19defb={_0x998da6:0x202,_0x57f994:0x1c7,_0x1c89e4:0x1fa},_0x555518=_0xfb8fa0;this['record']('exitFrame',[]);if(this[_0x555518(_0x19defb._0x998da6)][_0x555518(0x1f0)]===0x0)throw new DriverError(_0x555518(_0x19defb._0x57f994),{});this['frameStack'][_0x555518(_0x19defb._0x1c89e4)]();}async['setLocalStorage'](_0xff4d11,_0xe62c6d){const _0x1785f9={_0x3edd55:0x189,_0x2a3c76:0x1af},_0x346718=_0xfb8fa0;this[_0x346718(0x1a2)](_0x346718(_0x1785f9._0x3edd55),[_0xff4d11,_0xe62c6d]),this[_0x346718(_0x1785f9._0x2a3c76)][_0xff4d11]=_0xe62c6d;}async['getLocalStorage'](_0x2a2941){const _0x11b5ac=_0xfb8fa0;return this['record'](_0x11b5ac(0x1d4),[_0x2a2941]),this['localStorageState'][_0x2a2941]??null;}async[_0xfb8fa0(0x1b9)](_0xc55242,_0x26ce00,_0x4bb209){const _0x4f7472={_0x8d20ca:0x1b9},_0x1f927c=_0xfb8fa0;this[_0x1f927c(0x1a2)](_0x1f927c(_0x4f7472._0x8d20ca),[_0xc55242,_0x26ce00,_0x4bb209]),this[_0x1f927c(0x1b7)][_0xc55242]=_0x26ce00;}async[_0xfb8fa0(0x1f7)](_0x55ee33){const _0x26dccb={_0x426036:0x1a2},_0xde8549=_0xfb8fa0;return this[_0xde8549(_0x26dccb._0x426036)]('getCookie',[_0x55ee33]),this[_0xde8549(0x1b7)][_0x55ee33]??null;}async['saveStorageState'](_0x5a4d2d){const _0x487787={_0x1a2d7d:0x1a2,_0x319fac:0x1b8},_0x5ed81c=_0xfb8fa0;this[_0x5ed81c(_0x487787._0x1a2d7d)](_0x5ed81c(_0x487787._0x319fac),[_0x5a4d2d]);}async['evaluate'](_0x377175){const _0x27d0f1={_0xb94f:0x1db},_0x1ffa2b=_0xfb8fa0;return this[_0x1ffa2b(0x1a2)](_0x1ffa2b(_0x27d0f1._0xb94f),[_0x377175]),void 0x0;}async[_0xfb8fa0(0x1a6)](){const _0x15f5e8=_0xfb8fa0;this[_0x15f5e8(0x1a2)](_0x15f5e8(0x1a6),[]);}[_0xfb8fa0(0x1b2)](){const _0x65ef46={_0x4d362e:0x202},_0x44eeac=_0xfb8fa0;return this[_0x44eeac(_0x65ef46._0x4d362e)][_0x44eeac(0x1f0)];}},FakeWebDriver=class{constructor(_0x3cd43c={}){const _0x380e02=_0xfb8fa0;this['behavior']=_0x3cd43c,this[_0x380e02(0x18f)]=createRecorder();}[_0xfb8fa0(0x19a)];static{__name(this,_0xfb8fa0(0x1a8));}[_0xfb8fa0(0x1b0)]=![];[_0xfb8fa0(0x18f)];[_0xfb8fa0(0x1ef)]=[];async[_0xfb8fa0(0x1aa)](_0x1b7100){const _0x52bc4d={_0x591d90:0x1c6},_0x5b35b5=_0xfb8fa0;this['recorder']['push']({'scope':_0x5b35b5(_0x52bc4d._0x591d90),'method':_0x5b35b5(0x1aa),'args':[_0x1b7100]}),this[_0x5b35b5(0x1b0)]=!![];}async['newContext'](_0x1683ba){const _0x5ab31a={_0x5aebdf:0x18f,_0x5bd254:0x1ae,_0x38bc17:0x1c6,_0x30dfa6:0x1b0,_0x336ee6:0x19a,_0x1c4d98:0x1ef},_0x47ed86=_0xfb8fa0;this[_0x47ed86(_0x5ab31a._0x5aebdf)][_0x47ed86(_0x5ab31a._0x5bd254)]({'scope':_0x47ed86(_0x5ab31a._0x38bc17),'method':_0x47ed86(0x1f1),'args':[_0x1683ba]});if(!this[_0x47ed86(_0x5ab31a._0x30dfa6)])throw new DriverError('newContext\x20called\x20before\x20launch()',{});const _0x583778=new FakeContext(this['recorder'],this[_0x47ed86(_0x5ab31a._0x336ee6)],_0x47ed86(0x1c5)+this[_0x47ed86(0x1ef)]['length']);return this[_0x47ed86(_0x5ab31a._0x1c4d98)][_0x47ed86(0x1ae)](_0x583778),_0x583778;}async[_0xfb8fa0(0x1a6)](){const _0x449626={_0x489620:0x18f,_0x26eeb3:0x1b0},_0x20aa15=_0xfb8fa0;this[_0x20aa15(_0x449626._0x489620)][_0x20aa15(0x1ae)]({'scope':'driver','method':'close','args':[]}),this[_0x20aa15(_0x449626._0x26eeb3)]=![];}['wsEndpoint'](){return void 0x0;}async[_0xfb8fa0(0x1a7)](){const _0x594f26={_0x2dcca4:0x1d5},_0x285baa=_0xfb8fa0;throw new DriverError(_0x285baa(_0x594f26._0x2dcca4),{});}['attachExisting'](_0x3fdd61){const _0x574841={_0x94d424:0x1eb},_0x3e7201=_0xfb8fa0;throw new DriverError(_0x3e7201(_0x574841._0x94d424),{});}[_0xfb8fa0(0x1a5)](){const _0x4ed223={_0x4ec5c6:0x1a5},_0x49fa0c=_0xfb8fa0;return this[_0x49fa0c(0x18f)][_0x49fa0c(_0x4ed223._0x4ec5c6)]();}[_0xfb8fa0(0x191)](_0x39156b){const _0x340ac6={_0x3a381f:0x18f,_0x17842d:0x194},_0x1ad206=_0xfb8fa0;return this[_0x1ad206(_0x340ac6._0x3a381f)]['calls']()[_0x1ad206(_0x340ac6._0x17842d)](_0x1684fe=>_0x1684fe[_0x1ad206(0x19f)]===_0x39156b);}};export{FakeWebDriver};
1
+ const _0x5a9d21=_0x5961;(function(_0x13b4cc,_0x30ab44){const _0x2761fd={_0x403a6c:0x175,_0x4d1484:0x1c4,_0x284157:0x1b7,_0x1a641d:0x161},_0x15d443=_0x5961,_0x3ef846=_0x13b4cc();while(!![]){try{const _0x3cef68=parseInt(_0x15d443(0x187))/0x1+parseInt(_0x15d443(_0x2761fd._0x403a6c))/0x2+-parseInt(_0x15d443(0x1b9))/0x3*(-parseInt(_0x15d443(_0x2761fd._0x4d1484))/0x4)+-parseInt(_0x15d443(0x188))/0x5+parseInt(_0x15d443(_0x2761fd._0x284157))/0x6*(-parseInt(_0x15d443(0x1d3))/0x7)+-parseInt(_0x15d443(_0x2761fd._0x1a641d))/0x8+parseInt(_0x15d443(0x1cf))/0x9;if(_0x3cef68===_0x30ab44)break;else _0x3ef846['push'](_0x3ef846['shift']());}catch(_0x45a651){_0x3ef846['push'](_0x3ef846['shift']());}}}(_0x2065,0x4f4d9));var __defProp=Object[_0x5a9d21(0x174)],__name=(_0x43a279,_0x3ecc7d)=>__defProp(_0x43a279,_0x5a9d21(0x176),{'value':_0x3ecc7d,'configurable':!![]});function subscribe(_0x36ed07,_0x27a6f0){const _0x532a7f=_0x5a9d21;return _0x36ed07[_0x532a7f(0x1cb)](_0x27a6f0),()=>{const _0x2c70f9=_0x532a7f;_0x36ed07[_0x2c70f9(0x1d4)](_0x27a6f0);};}function _0x2065(){const _0x203bba=['nZG1nZa4uxHvDxv4','zgvSzxrL','AxneAxnHyMXLza','y2fSBhngB3i','rhjPDMvYrxjYB3i','B25ozxDqywDL','AxnwAxnPyMXL','ChvZAa','y2XVC2u','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zxzHBhvHDgvpBKXVy2f0B3i','zNvUy3rPB24','ndiZmZm0nhL6zMncvq','Bwf5yMvuAhjVDW','CgfNzxm','zhjHz0fUzerYB3a','Bgf1BMnOzwq','C2f2zvn0B3jHz2vtDgf0zq','D2fPDezVCLrLEhq','y2fSBhm','D2fPDezVCLvYBa','zw1PDezHA2vqB3b1Ca','C2nYB2XSsw50B1zPzxC','zNjHBwvtDgfJAW','zxzHBhvHDgvszxn1Bhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z2v0q29VA2LL','zMLSDgvY','y2HLy2TLzfn0yxrLqNLezwzHDwX0','ywn0AxzLswr4','y2HLy2TLzfn0yxrL','zgvMAw5LuhjVCgvYDhK','otm4odG0yMjAvNfu','BMfTzq','BMv3ugfNzuXPC3rLBMvYCW','C2v0q29VA2LL','y3jLyxrLuMvJB3jKzxi','Aw5WDxrwywX1zuj5rgvMyxvSDa','z2v0qxr0CMLIDxrL','yMvOyxzPB3i','CgfNzuXPC3q','AxnwAxnPyMXLqNLezwzHDwX0','z29gB3j3yxjK','ywn0AxzLugfNzq','Aw5UzxjuzxH0','C2vSzwn0t3b0Aw9U','iJ48l2rPDJ4','Bg9JywXtDg9YywDLu3rHDgu','ywjVDxq6yMXHBMS','DxjS','oda2nJjOwNjeC3C','nZq0mZm1AfbXB3zw','DxbSB2fKrMLSzq','C3bSAwnL','y29VA2LLu3rHDgu','C3rLChm','BMv0D29YA0vUDhjPzxm','y3vYCMvUDfvYBa','C3vIC2nYAwjL','z290BW','y29UBMvJDfnOyxjLza','z29cywnR','y29UC29SzuvUDhjPzxm','yxr0CMLIDxrLC0j5rgvMyxvSDa','C2v0tg9JywXtDg9YywDL','C2v0qwn0AxzLugfNzq','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','Dgv4DenVBNrLBNq','zxHPDezYyw1L','y2HLy2S','DgL0Bgu','y291BNrcEurLzMf1Bhq','zxzHBhvHDgu','Cg9W','zNjHBwvezxb0Aa','CMvJB3jKzxi','Cg9WDxbpBKnSAwnR','C2nYzwvUC2HVDa','lNbHz2u','zxjYB3jpBK5LEhrby3rPB24','zg91yMXLq2XPy2S','DhLWzq','CMvJB3jK','y3r4','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','pgrPDJ48l2rPDJ4','BMv3q29UDgv4Da','B25bzNrLCKnSAwnR','Bgf1BMnO','zMLSBa','D2fPDezVCG','Aw5ZCgvJDevSzw1LBNq','z2v0tg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','y291BNq','D2fPDezVCKXVywrtDgf0zq','D3nfBMrWB2LUDa','Dw5JAgvJAW','mtHxrwrcCuG','C2nVCgu','nJG0m29OqwfmuG','zhjPDMvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Aw5UzxjuzxH0qNLezwzHDwX0','y29UDgv4Dhm','CMvM','zw50zxjgCMfTzq','rMfRzvbHz2u','zwXLBwvUDeHPBNrcEvjLzG','BgvUz3rO','yxr0ywnOrxHPC3rPBMC','mta3nNviEhPfDq','lNbHz2uW','B3v0zxjiDg1SqNLszwy','zNjVBq','Aw5WDxrwywX1zq','D2fPDezVCK5HDMLNyxrPB24','rMfRzunVBNrLEhq','ywrK','B3v0zxjive1m','CMvSB2fK','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','mtu4mZa5mxPyt2jYBq','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','AxneAxnHyMXLzej5rgvMyxvSDa','y29VA2LLCW'];_0x2065=function(){return _0x203bba;};return _0x2065();}__name(subscribe,_0x5a9d21(0x18f));import{UnotestError}from'@unotest/core';function _0x5961(_0x4fb701,_0x32f960){_0x4fb701=_0x4fb701-0x161;const _0x206560=_0x2065();let _0x59610e=_0x206560[_0x4fb701];if(_0x5961['QpDJsA']===undefined){var _0x257709=function(_0x390f4d){const _0x5e4b3b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43a279='',_0x3ecc7d='';for(let _0x36ed07=0x0,_0x27a6f0,_0x1d5538,_0x178bc9=0x0;_0x1d5538=_0x390f4d['charAt'](_0x178bc9++);~_0x1d5538&&(_0x27a6f0=_0x36ed07%0x4?_0x27a6f0*0x40+_0x1d5538:_0x1d5538,_0x36ed07++%0x4)?_0x43a279+=String['fromCharCode'](0xff&_0x27a6f0>>(-0x2*_0x36ed07&0x6)):0x0){_0x1d5538=_0x5e4b3b['indexOf'](_0x1d5538);}for(let _0x6229a3=0x0,_0x47d9c6=_0x43a279['length'];_0x6229a3<_0x47d9c6;_0x6229a3++){_0x3ecc7d+='%'+('00'+_0x43a279['charCodeAt'](_0x6229a3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ecc7d);};_0x5961['TNVATu']=_0x257709,_0x5961['XQIrHA']={},_0x5961['QpDJsA']=!![];}const _0x4297a8=_0x206560[0x0],_0x3702ec=_0x4fb701+_0x4297a8,_0x4b259c=_0x5961['XQIrHA'][_0x3702ec];return!_0x4b259c?(_0x59610e=_0x5961['TNVATu'](_0x59610e),_0x5961['XQIrHA'][_0x3702ec]=_0x59610e):_0x59610e=_0x4b259c,_0x59610e;}var DriverError=class extends UnotestError{static{__name(this,_0x5a9d21(0x1d7));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x58c492={_0x5af74d:0x1da},_0x7673d2=_0x5a9d21,_0x1d5538=[];let _0x178bc9=0x0;return{'push':__name(_0x6229a3=>_0x1d5538[_0x7673d2(0x1da)]({..._0x6229a3,'seq':_0x178bc9++}),_0x7673d2(_0x58c492._0x5af74d)),'calls':__name(()=>_0x1d5538,'calls')};}__name(createRecorder,_0x5a9d21(0x179));var FakePage=class{constructor(_0x47d9c6,_0x3d8efc,_0x30da08,_0x4499a8){const _0x2f3f65={_0x3cba12:0x1a0,_0x286be1:0x17c,_0xf7b93b:0x1b8,_0x5e9d3d:0x18e},_0x249b4f=_0x5a9d21;this[_0x249b4f(_0x2f3f65._0x3cba12)]=_0x47d9c6,this[_0x249b4f(_0x2f3f65._0x286be1)]=_0x3d8efc,this[_0x249b4f(_0x2f3f65._0xf7b93b)]=_0x30da08,this[_0x249b4f(_0x2f3f65._0x5e9d3d)]=_0x4499a8;}[_0x5a9d21(0x1a0)];['behavior'];[_0x5a9d21(0x1b8)];static{__name(this,_0x5a9d21(0x1c0));}[_0x5a9d21(0x18e)];[_0x5a9d21(0x1ac)];['record'](_0x3c75ea,_0x4517f1){const _0x291fcd={_0x41345a:0x1a0,_0x29e554:0x1da,_0x2bed46:0x1b8},_0x124dde=_0x5a9d21;this[_0x124dde(_0x291fcd._0x41345a)][_0x124dde(_0x291fcd._0x29e554)]({'scope':this[_0x124dde(_0x291fcd._0x2bed46)],'method':_0x3c75ea,'args':_0x4517f1});}[_0x5a9d21(0x162)](){const _0x2efeb9={_0x38ecb7:0x1a4,_0x16a88c:0x1a4},_0x278cc2=_0x5a9d21;if(this[_0x278cc2(0x17c)][_0x278cc2(_0x2efeb9._0x38ecb7)]){const _0x3f71ea=this[_0x278cc2(0x17c)][_0x278cc2(_0x2efeb9._0x16a88c)];this[_0x278cc2(0x17c)][_0x278cc2(0x1a4)]=void 0x0;throw _0x3f71ea;}}[_0x5a9d21(0x186)](){const _0x11de51=_0x5a9d21;return this[_0x11de51(0x18e)];}async['title'](){const _0x5ba6da=_0x5a9d21;return this[_0x5ba6da(0x1a7)](_0x5ba6da(0x19b),[]),'fake\x20title';}async['click'](_0x276453,_0x148b8e){const _0xe5e6e6={_0x56b477:0x1ac},_0x5c526e=_0x5a9d21;this['record']('click',[_0x276453,_0x148b8e]),this[_0x5c526e(0x162)](),this[_0x5c526e(_0xe5e6e6._0x56b477)]?.();}async['doubleClick'](_0x3f4dae,_0x5df536){const _0x3799bb=_0x5a9d21;this[_0x3799bb(0x1a7)](_0x3799bb(0x1a5),[_0x3f4dae,_0x5df536]),this['maybeThrow']();}async[_0x5a9d21(0x1ae)](_0x5d7865,_0x752cde,_0x10ccc5){const _0x1447f9={_0x2c3a83:0x1a7},_0x34fef5=_0x5a9d21;this[_0x34fef5(_0x1447f9._0x2c3a83)](_0x34fef5(0x1ae),[_0x5d7865,_0x752cde,_0x10ccc5]),this[_0x34fef5(0x162)]();}async['press'](_0x30a5be,_0x39e9ed,_0x58327a){const _0x17efba={_0x316b8e:0x162},_0x2c0308=_0x5a9d21;this['record']('press',[_0x30a5be,_0x39e9ed,_0x58327a]),this[_0x2c0308(_0x17efba._0x316b8e)]();}async[_0x5a9d21(0x19a)](_0x29c618,_0x268ec1){const _0x594dcd={_0x292d7c:0x162},_0x3daf41=_0x5a9d21;this[_0x3daf41(0x1a7)](_0x3daf41(0x19a),[_0x29c618,_0x268ec1]),this[_0x3daf41(_0x594dcd._0x292d7c)]();}async['uncheck'](_0x1e5f51,_0x38c6eb){const _0x3f486f={_0x12a24b:0x1b6},_0x1e3071=_0x5a9d21;this[_0x1e3071(0x1a7)](_0x1e3071(_0x3f486f._0x12a24b),[_0x1e5f51,_0x38c6eb]),this[_0x1e3071(0x162)]();}async['selectOption'](_0x155456,_0x4e8aed,_0x95896e){const _0x10f366={_0x358607:0x1a7,_0x20ff7c:0x182},_0x36f9e1=_0x5a9d21;this[_0x36f9e1(_0x10f366._0x358607)](_0x36f9e1(_0x10f366._0x20ff7c),[_0x155456,_0x4e8aed,_0x95896e]),this['maybeThrow']();}async['hover'](_0x175d1e,_0x20a64f){const _0x44659f=_0x5a9d21;this['record']('hover',[_0x175d1e,_0x20a64f]),this[_0x44659f(0x162)]();}async[_0x5a9d21(0x16b)](_0x99037f){const _0x2ffeaa={_0x5670af:0x1a7,_0x1846cc:0x16b},_0xb96843=_0x5a9d21;this[_0xb96843(_0x2ffeaa._0x5670af)](_0xb96843(_0x2ffeaa._0x1846cc),[_0x99037f]),this[_0xb96843(0x162)]();}async[_0x5a9d21(0x164)](_0x4af69f,_0x55c73e,_0xb00d50){const _0x5bf981=_0x5a9d21;this['record'](_0x5bf981(0x164),[_0x4af69f,_0x55c73e,_0xb00d50]),this[_0x5bf981(0x162)]();}async[_0x5a9d21(0x189)](_0x11c77d,_0xc3f4b7){const _0x73cb09={_0x4350c6:0x1a7},_0x34a6cd=_0x5a9d21;this[_0x34a6cd(_0x73cb09._0x4350c6)]('uploadFile',[_0x11c77d,_0xc3f4b7]),this[_0x34a6cd(0x162)]();}async['clipboardPaste'](_0x2a0f21,_0xaa5edf){const _0xa681b9={_0x337a9e:0x1a7},_0x366e9d=_0x5a9d21;this[_0x366e9d(_0xa681b9._0x337a9e)]('clipboardPaste',[_0x2a0f21,_0xaa5edf]),this['maybeThrow']();}async[_0x5a9d21(0x1b3)](_0x59ef90){const _0x216abb={_0x42cd49:0x1a7,_0x51d1fa:0x17c,_0x405fb5:0x19c},_0x420a7a=_0x5a9d21;return this[_0x420a7a(_0x216abb._0x42cd49)](_0x420a7a(0x1b3),[_0x59ef90]),this[_0x420a7a(_0x216abb._0x51d1fa)][_0x420a7a(_0x216abb._0x405fb5)]??0x1;}async[_0x5a9d21(0x198)](_0x5ad963){const _0x433347={_0x2d2470:0x1a7,_0x32e436:0x198},_0x4819da=_0x5a9d21;return this[_0x4819da(_0x433347._0x2d2470)](_0x4819da(_0x433347._0x32e436),[_0x5ad963]),this[_0x4819da(0x17c)][_0x4819da(0x16e)]??'';}async[_0x5a9d21(0x181)](_0x5af389){const _0x34d6d5={_0x53a07a:0x1a7,_0x1e1cb4:0x1bc,_0x104519:0x17c},_0x1561cf=_0x5a9d21;return this[_0x1561cf(_0x34d6d5._0x53a07a)](_0x1561cf(0x181),[_0x5af389]),this['behavior'][_0x1561cf(_0x34d6d5._0x1e1cb4)]??this[_0x1561cf(_0x34d6d5._0x104519)]['textContentByDefault']??'';}async[_0x5a9d21(0x1c8)](_0x370064){const _0x5e80d1={_0x570bfc:0x17a},_0x1fc97f=_0x5a9d21;return this[_0x1fc97f(0x1a7)](_0x1fc97f(0x1c8),[_0x370064]),this[_0x1fc97f(0x17c)][_0x1fc97f(_0x5e80d1._0x570bfc)]??'';}async[_0x5a9d21(0x173)](_0x26b529){const _0x55bcf4={_0x55db37:0x17c,_0x2b6d15:0x171},_0x416e89=_0x5a9d21;return this[_0x416e89(0x1a7)](_0x416e89(0x173),[_0x26b529]),this[_0x416e89(_0x55bcf4._0x55db37)][_0x416e89(_0x55bcf4._0x2b6d15)]??null;}async['isVisible'](_0x471bfc){const _0x542c1d={_0x4ff2d1:0x1d9,_0x1331a8:0x17c},_0x52af38=_0x5a9d21;return this[_0x52af38(0x1a7)](_0x52af38(_0x542c1d._0x4ff2d1),[_0x471bfc]),this[_0x52af38(_0x542c1d._0x1331a8)][_0x52af38(0x17e)]??!![];}async['isDisabled'](_0x1d6fe0){const _0x2e4a4a={_0x5b85ad:0x1a7,_0x5be00a:0x1d5,_0x2858fc:0x1d1},_0x32342f=_0x5a9d21;return this[_0x32342f(_0x2e4a4a._0x5b85ad)](_0x32342f(_0x2e4a4a._0x5be00a),[_0x1d6fe0]),this[_0x32342f(0x17c)][_0x32342f(_0x2e4a4a._0x2858fc)]??![];}async[_0x5a9d21(0x17b)](_0x45fb0b,_0x367450){const _0x43c885=_0x5a9d21;return this[_0x43c885(0x1a7)]('getAttribute',[_0x45fb0b,_0x367450]),this['behavior'][_0x43c885(0x194)]?.[_0x367450]??null;}async['waitFor'](_0xa21ad9,_0x219b71){const _0x31bece={_0x2f6ffe:0x1a7,_0x39aa1a:0x1af},_0x4c04d8=_0x5a9d21;this[_0x4c04d8(_0x31bece._0x2f6ffe)](_0x4c04d8(_0x31bece._0x39aa1a),[_0xa21ad9,_0x219b71]);}async['waitForUrl'](_0xde9133,_0x857ebf){const _0xf090de={_0x348504:0x1a7},_0x11aa85=_0x5a9d21;this[_0x11aa85(_0xf090de._0x348504)](_0x11aa85(0x169),[_0xde9133,_0x857ebf]);}async[_0x5a9d21(0x167)](_0xfc6bfc,_0x18f402){const _0x325f72={_0x4084aa:0x1a7},_0x3e2661=_0x5a9d21;this[_0x3e2661(_0x325f72._0x4084aa)](_0x3e2661(0x167),[_0xfc6bfc,_0x18f402]);}async[_0x5a9d21(0x1c9)](_0x22c384){const _0x251bc9=_0x5a9d21;this[_0x251bc9(0x1a7)]('waitForNavigation',[_0x22c384]);}async[_0x5a9d21(0x1b4)](_0x4551c8,_0x38b253){const _0x274644={_0x5cd89f:0x1b4},_0x483880=_0x5a9d21;this['record'](_0x483880(_0x274644._0x5cd89f),[_0x4551c8,_0x38b253]);}async[_0x5a9d21(0x190)](_0x1a91c1,_0x4533fd){const _0x3274e8=_0x5a9d21;this[_0x3274e8(0x1a7)]('goto',[_0x1a91c1,_0x4533fd]),this[_0x3274e8(0x18e)]=_0x1a91c1;}async[_0x5a9d21(0x1cd)](_0x3f4018){const _0x2d7ad5=_0x5a9d21;this['record'](_0x2d7ad5(0x1cd),[_0x3f4018]);}async[_0x5a9d21(0x192)](_0x360984){const _0x2a227f={_0x4f3682:0x192},_0x363777=_0x5a9d21;this[_0x363777(0x1a7)](_0x363777(_0x2a227f._0x4f3682),[_0x360984]);}async[_0x5a9d21(0x17f)](_0x43bc9c){const _0x2f3333={_0x315e9f:0x1a7,_0x5b92fe:0x17f},_0x28980d=_0x5a9d21;this[_0x28980d(_0x2f3333._0x315e9f)](_0x28980d(_0x2f3333._0x5b92fe),[_0x43bc9c]);}async[_0x5a9d21(0x19d)](_0x29943a){const _0x3f505f={_0x56b421:0x19d,_0x445665:0x16d},_0x3c3dfc=_0x5a9d21;return this['record'](_0x3c3dfc(_0x3f505f._0x56b421),[_0x29943a]),this[_0x3c3dfc(0x17c)][_0x3c3dfc(_0x3f505f._0x445665)];}async['evaluateOnLocator'](_0x15bcdc,_0x169d77){const _0xf45fb3=_0x5a9d21;return this['record'](_0xf45fb3(0x1dd),[_0x15bcdc,_0x169d77]),void 0x0;}async[_0x5a9d21(0x1b0)](_0x39b04e){const _0x4b20bd={_0x41e9ac:0x1a7,_0x2e3045:0x18c,_0xe8bdfc:0x1c1},_0x5cfb10=_0x5a9d21;this[_0x5cfb10(_0x4b20bd._0x41e9ac)](_0x5cfb10(0x1b0),[_0x39b04e]);if(_0x39b04e[_0x5cfb10(_0x4b20bd._0x2e3045)][_0x5cfb10(0x1c2)]!==0x1||_0x39b04e[_0x5cfb10(_0x4b20bd._0x2e3045)][0x0]['kind']!==_0x5cfb10(0x1be))return null;const _0x49f1e8=_0x39b04e['steps'][0x0]['ref'],_0x4e586f=this['behavior'][_0x5cfb10(_0x4b20bd._0xe8bdfc)]?.[_0x49f1e8];return _0x4e586f??null;}async[_0x5a9d21(0x1a2)](_0x41d13e){const _0x327674={_0x26f0f1:0x1a7,_0xce4e5c:0x1a2},_0x315cb8=_0x5a9d21;return this[_0x315cb8(_0x327674._0x26f0f1)](_0x315cb8(_0x327674._0xce4e5c),[_0x41d13e]),this['screenshotBytes'](_0x41d13e?.[_0x315cb8(0x1a6)]);}async['screenshotElement'](_0x16901e,_0x28a0c2){const _0x4a5a3c={_0x11f8d3:0x1a7},_0x522634=_0x5a9d21;return this[_0x522634(_0x4a5a3c._0x11f8d3)]('screenshotElement',[_0x16901e,_0x28a0c2]),this['screenshotBytes'](_0x28a0c2?.['type']);}['screenshotBytes'](_0x34a6bc){const _0x5bfdda={_0x44eefe:0x1c7,_0x503577:0x1de},_0x1643e2=_0x5a9d21,_0x21199e=this['behavior']['screenshotBytes'];if(_0x21199e===void 0x0)return Buffer[_0x1643e2(_0x5bfdda._0x44eefe)]('fake-png');return typeof _0x21199e===_0x1643e2(_0x5bfdda._0x503577)?_0x21199e(_0x34a6bc):_0x21199e;}async[_0x5a9d21(0x1cc)](_0x207bae){const _0x5a0fe8={_0x1518bb:0x1a7,_0x40eba2:0x18c,_0x2f920f:0x1c2,_0x275b0b:0x18c,_0x5b896c:0x1bb,_0x34dca9:0x1aa},_0x46f93b=_0x5a9d21;this[_0x46f93b(_0x5a0fe8._0x1518bb)]('outerHTML',[_0x207bae]);if(_0x207bae[_0x46f93b(_0x5a0fe8._0x40eba2)][_0x46f93b(_0x5a0fe8._0x2f920f)]===0x1&&_0x207bae[_0x46f93b(_0x5a0fe8._0x40eba2)][0x0]['kind']===_0x46f93b(0x1be)){const _0x28c45f=_0x207bae[_0x46f93b(_0x5a0fe8._0x275b0b)][0x0][_0x46f93b(0x1be)];return this[_0x46f93b(0x17c)][_0x46f93b(0x1c6)]?.[_0x28c45f]??_0x46f93b(_0x5a0fe8._0x5b896c)+_0x28c45f+_0x46f93b(0x183);}return _0x46f93b(_0x5a0fe8._0x34dca9);}},FakeContext=class{constructor(_0x103c2a,_0x316b52,_0x5e9bdc){const _0x949d90={_0x1e8dc0:0x1a0,_0x22f2ca:0x1ac,_0x598082:0x17d,_0x14eac6:0x18b},_0x7d2fde={_0x506aca:0x1a1},_0x3c559e=_0x5a9d21;this[_0x3c559e(_0x949d90._0x1e8dc0)]=_0x103c2a,this[_0x3c559e(0x17c)]=_0x316b52,this[_0x3c559e(0x1b8)]=_0x5e9bdc;const _0x5f476e=new FakePage(_0x103c2a,_0x316b52,_0x5e9bdc+_0x3c559e(0x1c5),_0x316b52['initialUrl']??_0x3c559e(0x185));_0x316b52['popupOnClick']&&(_0x5f476e[_0x3c559e(_0x949d90._0x22f2ca)]=()=>{const _0x127d56=_0x3c559e;this[_0x127d56(0x16a)](_0x316b52[_0x127d56(_0x7d2fde._0x506aca)]);}),this[_0x3c559e(_0x949d90._0x598082)]=[_0x5f476e],this[_0x3c559e(0x184)]={..._0x316b52['localStorage']??{}},this[_0x3c559e(_0x949d90._0x14eac6)]={..._0x316b52[_0x3c559e(0x1d2)]??{}};}[_0x5a9d21(0x1a0)];['behavior'];[_0x5a9d21(0x1b8)];static{__name(this,_0x5a9d21(0x1ca));}[_0x5a9d21(0x17d)];['activeIdx']=0x0;[_0x5a9d21(0x16c)]=[];[_0x5a9d21(0x184)];[_0x5a9d21(0x18b)];[_0x5a9d21(0x177)]=new Set();[_0x5a9d21(0x1a7)](_0x2e738d,_0x51aad1){const _0xdbcd47={_0x168617:0x1b8},_0x35b3f4=_0x5a9d21;this[_0x35b3f4(0x1a0)][_0x35b3f4(0x1da)]({'scope':this[_0x35b3f4(_0xdbcd47._0x168617)],'method':_0x2e738d,'args':_0x51aad1});}[_0x5a9d21(0x163)](){const _0x279433={_0x101bb3:0x17d},_0x9d33e4=_0x5a9d21;return this[_0x9d33e4(_0x279433._0x101bb3)];}[_0x5a9d21(0x180)](){const _0x1ea026={_0x55af4d:0x172,_0x4b1feb:0x1a9},_0x278917=_0x5a9d21,_0x6353b4=this[_0x278917(0x17d)][this[_0x278917(_0x1ea026._0x55af4d)]];if(!_0x6353b4)throw new DriverError(_0x278917(_0x1ea026._0x4b1feb),{'activeIdx':this[_0x278917(_0x1ea026._0x55af4d)]});return _0x6353b4;}[_0x5a9d21(0x193)](){const _0x500117={_0xa4b306:0x193},_0x460570=_0x5a9d21;return this[_0x460570(0x17c)][_0x460570(_0x500117._0xa4b306)]??[];}[_0x5a9d21(0x18d)](){const _0x1ae8ae={_0x380c3c:0x18d},_0x4d30bc=_0x5a9d21;return this[_0x4d30bc(0x17c)][_0x4d30bc(_0x1ae8ae._0x380c3c)]??[];}async[_0x5a9d21(0x196)](_0x516ebf){const _0x2c68c6={_0x492f4f:0x196,_0xe22b7e:0x1c2,_0x3dbbf4:0x1dc,_0x176144:0x16c},_0x11a278=_0x5a9d21;this[_0x11a278(0x1a7)](_0x11a278(_0x2c68c6._0x492f4f),[_0x516ebf]);if(_0x516ebf<0x0||_0x516ebf>=this[_0x11a278(0x17d)][_0x11a278(_0x2c68c6._0xe22b7e)])throw new DriverError(_0x11a278(_0x2c68c6._0x3dbbf4),{'index':_0x516ebf,'available':this['pageList'][_0x11a278(0x1c2)]});this[_0x11a278(0x172)]=_0x516ebf,this[_0x11a278(_0x2c68c6._0x176144)]['length']=0x0;}[_0x5a9d21(0x1d8)](_0x1a2735){return subscribe(this['newPageListeners'],_0x1a2735);}['emitFakePopup'](_0x585d50){const _0x35a556={_0x2c586f:0x1a3,_0x5c21a2:0x1da,_0x118c8d:0x177},_0xb5ee16=_0x5a9d21,_0x7299c1=this['scope']+_0xb5ee16(_0x35a556._0x2c586f)+this[_0xb5ee16(0x17d)]['length'],_0x8b18f1=new FakePage(this[_0xb5ee16(0x1a0)],this['behavior'],_0x7299c1,_0x585d50);this['pageList'][_0xb5ee16(_0x35a556._0x5c21a2)](_0x8b18f1);const _0x365cd8=this[_0xb5ee16(0x17d)]['length']-0x1;for(const _0x759452 of this[_0xb5ee16(_0x35a556._0x118c8d)]){try{_0x759452({'index':_0x365cd8,'url':_0x585d50});}catch{}}return _0x365cd8;}[_0x5a9d21(0x1b2)](_0x49cd8b){const _0x2dcb17={_0x5ee6ff:0x1dc,_0xc42d28:0x1c2,_0x1eb6cf:0x18a},_0x376d23=_0x5a9d21;if(_0x49cd8b<0x0||_0x49cd8b>=this[_0x376d23(0x17d)][_0x376d23(0x1c2)])throw new DriverError(_0x376d23(_0x2dcb17._0x5ee6ff),{'index':_0x49cd8b,'available':this['pageList'][_0x376d23(_0x2dcb17._0xc42d28)]});this[_0x376d23(0x17d)][_0x376d23(_0x2dcb17._0x1eb6cf)](_0x49cd8b,0x1);}async[_0x5a9d21(0x1bf)](_0x5b9f58){const _0x2e8cfc={_0x42e527:0x1a7,_0x4e85f1:0x1bf},_0x1dc200=_0x5a9d21;this[_0x1dc200(_0x2e8cfc._0x42e527)](_0x1dc200(_0x2e8cfc._0x4e85f1),[_0x5b9f58]);if(!_0x5b9f58[_0x1dc200(0x18c)][_0x1dc200(0x1c2)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x5b9f58});this['frameStack']['push'](_0x5b9f58);}async[_0x5a9d21(0x199)](){const _0x53202e={_0x2a0cc6:0x1a7,_0x249ebb:0x199,_0x60b95e:0x16c,_0x4b7b8f:0x1ce},_0x31a8bb=_0x5a9d21;this[_0x31a8bb(_0x53202e._0x2a0cc6)](_0x31a8bb(_0x53202e._0x249ebb),[]);if(this[_0x31a8bb(_0x53202e._0x60b95e)][_0x31a8bb(0x1c2)]===0x0)throw new DriverError(_0x31a8bb(_0x53202e._0x4b7b8f),{});this[_0x31a8bb(0x16c)][_0x31a8bb(0x19e)]();}async['setLocalStorage'](_0x3227f5,_0x21f586){const _0x3189e0={_0x7bbd36:0x195},_0x24d8e1=_0x5a9d21;this[_0x24d8e1(0x1a7)](_0x24d8e1(_0x3189e0._0x7bbd36),[_0x3227f5,_0x21f586]),this[_0x24d8e1(0x184)][_0x3227f5]=_0x21f586;}async[_0x5a9d21(0x1b1)](_0x57464f){const _0x246ddf={_0x20c71c:0x1b1},_0x2273a6=_0x5a9d21;return this[_0x2273a6(0x1a7)](_0x2273a6(_0x246ddf._0x20c71c),[_0x57464f]),this[_0x2273a6(0x184)][_0x57464f]??null;}async['setCookie'](_0x559782,_0x2f4e19,_0x5b9b3f){const _0x316a34={_0x2fd736:0x178,_0x46dab9:0x18b},_0x18c20d=_0x5a9d21;this[_0x18c20d(0x1a7)](_0x18c20d(_0x316a34._0x2fd736),[_0x559782,_0x2f4e19,_0x5b9b3f]),this[_0x18c20d(_0x316a34._0x46dab9)][_0x559782]=_0x2f4e19;}async[_0x5a9d21(0x16f)](_0x298269){const _0x44db3f={_0x45ffdb:0x18b},_0x2081d1=_0x5a9d21;return this['record'](_0x2081d1(0x16f),[_0x298269]),this[_0x2081d1(_0x44db3f._0x45ffdb)][_0x298269]??null;}async[_0x5a9d21(0x166)](_0xdf1f24){const _0x37163e=_0x5a9d21;this[_0x37163e(0x1a7)](_0x37163e(0x166),[_0xdf1f24]);}async['evaluate'](_0x5a1234){const _0x299996={_0x5e9bed:0x19d},_0x1382fa=_0x5a9d21;return this['record'](_0x1382fa(_0x299996._0x5e9bed),[_0x5a1234]),void 0x0;}async[_0x5a9d21(0x1db)](){const _0x2a08fe=_0x5a9d21;this[_0x2a08fe(0x1a7)]('close',[]);}[_0x5a9d21(0x19f)](){const _0x37d8e7={_0x58f156:0x1c2},_0x7aff93=_0x5a9d21;return this[_0x7aff93(0x16c)][_0x7aff93(_0x37d8e7._0x58f156)];}},FakeWebDriver=class{constructor(_0x417a36={}){const _0x3a7d00=_0x5a9d21;this[_0x3a7d00(0x17c)]=_0x417a36,this[_0x3a7d00(0x1a0)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x5a9d21(0x165)]=![];['recorder'];[_0x5a9d21(0x1bd)]=[];async[_0x5a9d21(0x1ad)](_0x385a0a){const _0x160dbd={_0x2c9cbb:0x1da,_0x52d98d:0x1ad,_0x1d461d:0x165},_0x4a5d6d=_0x5a9d21;this['recorder'][_0x4a5d6d(_0x160dbd._0x2c9cbb)]({'scope':'driver','method':_0x4a5d6d(_0x160dbd._0x52d98d),'args':[_0x385a0a]}),this[_0x4a5d6d(_0x160dbd._0x1d461d)]=!![];}async[_0x5a9d21(0x1ab)](_0x3e6b53){const _0x21e444={_0x3f06f0:0x1da,_0x4c0731:0x1ba,_0x538a75:0x165,_0x3ea35f:0x197,_0x178a41:0x1a0,_0x512bfa:0x1c2,_0x1fcb46:0x1bd},_0x191a55=_0x5a9d21;this[_0x191a55(0x1a0)][_0x191a55(_0x21e444._0x3f06f0)]({'scope':_0x191a55(_0x21e444._0x4c0731),'method':_0x191a55(0x1ab),'args':[_0x3e6b53]});if(!this[_0x191a55(_0x21e444._0x538a75)])throw new DriverError(_0x191a55(_0x21e444._0x3ea35f),{});const _0x4f59f5=new FakeContext(this[_0x191a55(_0x21e444._0x178a41)],this['behavior'],_0x191a55(0x1a8)+this[_0x191a55(0x1bd)][_0x191a55(_0x21e444._0x512bfa)]);return this[_0x191a55(_0x21e444._0x1fcb46)]['push'](_0x4f59f5),_0x4f59f5;}async[_0x5a9d21(0x1db)](){const _0x3ea8bf={_0x264418:0x165},_0x30b103=_0x5a9d21;this[_0x30b103(0x1a0)]['push']({'scope':_0x30b103(0x1ba),'method':'close','args':[]}),this[_0x30b103(_0x3ea8bf._0x264418)]=![];}[_0x5a9d21(0x1b5)](){return void 0x0;}async[_0x5a9d21(0x191)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x5a9d21(0x1c3)](_0x352a9b){const _0x69ad48={_0x3e518e:0x1d0},_0x47e44a=_0x5a9d21;throw new DriverError(_0x47e44a(_0x69ad48._0x3e518e),{});}[_0x5a9d21(0x168)](){const _0x4226fc={_0x150027:0x1a0},_0x4ef717=_0x5a9d21;return this[_0x4ef717(_0x4226fc._0x150027)][_0x4ef717(0x168)]();}[_0x5a9d21(0x1d6)](_0x2a45ae){const _0x1477c4={_0x568e6a:0x168},_0x38cb05=_0x5a9d21;return this[_0x38cb05(0x1a0)][_0x38cb05(_0x1477c4._0x568e6a)]()[_0x38cb05(0x170)](_0x2da986=>_0x2da986['method']===_0x2a45ae);}};export{FakeWebDriver};
@@ -69,6 +69,15 @@ declare function chainGetByTitle(loc: LocatorValue, text: Matcher, options?: {
69
69
  exact?: boolean;
70
70
  }): LocatorValue;
71
71
 
72
+ interface Logger {
73
+ info(msg: string, ...rest: unknown[]): void;
74
+ warn(msg: string, ...rest: unknown[]): void;
75
+ error(msg: string, ...rest: unknown[]): void;
76
+ debug(msg: string, ...rest: unknown[]): void;
77
+ step(msg: string, ...rest: unknown[]): void;
78
+ child(prefix: string): Logger;
79
+ }
80
+
72
81
  /** Read-only lookup over external scenario variables. */
73
82
  interface VariableStore {
74
83
  has(name: string): boolean;
@@ -79,15 +88,6 @@ interface VariableStore {
79
88
  describeSources?(): string;
80
89
  }
81
90
 
82
- interface Logger {
83
- info(msg: string, ...rest: unknown[]): void;
84
- warn(msg: string, ...rest: unknown[]): void;
85
- error(msg: string, ...rest: unknown[]): void;
86
- debug(msg: string, ...rest: unknown[]): void;
87
- step(msg: string, ...rest: unknown[]): void;
88
- child(prefix: string): Logger;
89
- }
90
-
91
91
  interface Judge {
92
92
  /** Produce a structured verdict. A clean `fail` is a RESULT (returned);
93
93
  * infrastructure faults throw JudgeUnavailableError / ConfigError. */