@wenathlan/extension 1.1.45 → 1.1.46

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/README.md CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Devthink is a **consent-first browser-agent bridge** distributed as a TypeScript library and a Chromium Manifest V3 extension. It turns a user-provided browser objective into a bounded, reviewable plan. The user must start the active-tab session and approve the plan before any page action reaches the browser.
4
4
 
5
- Version: **1.1.45**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
5
+ Version: **1.1.46**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
6
6
 
7
7
  ## What it does
8
8
 
9
- | Capability | Behavior in 1.1.45 |
9
+ | Capability | Behavior in 1.1.46 |
10
10
  | --- | --- |
11
11
  | Active-tab session | The user starts a short-lived session for one HTTPS tab and one origin; the session records its origin grants. |
12
12
  | Page observation | The extension captures the complete semantic inventory: every interactive element, every form control, every select option and the full page text. |
13
13
  | Plan proposal | A local plan can be created immediately; an optional user-configured HTTPS endpoint can return a typed plan proposal of any length. |
14
14
  | Review gate | Every remote proposal starts in `pending`; it cannot reach the page bridge before explicit approval. |
15
- | Browser tools | Reviewed plans cover two hundred seventy seven action kinds: pointer paths and coordinate clicks, text, aria, name, xpath, index and point target resolution, timed typing, key holds, sliders, dates, colors, shadow dom piercing, iframe entry, dialog answering, retry rules, a complete read vocabulary with clickable maps and verification reads, page mutation under review, and browser-level tab, window, zoom, snapshot and download commands. |
15
+ | Browser tools | Reviewed plans cover two hundred eighty five action kinds: pointer paths and coordinate clicks, text, aria, name, xpath, index and point target resolution, timed typing, key holds, sliders, dates, colors, shadow dom piercing, iframe entry, dialog answering, retry rules, a complete read vocabulary with clickable maps and verification reads, page mutation under review, and browser-level tab, window, zoom, snapshot and download commands. |
16
16
  | Forms and data | The agent fills forms with review: `fillform` fills from a structured record of field matches, kinds and values, `filllabel` and `fillplaceholder` match controls by label, placeholder or aria label, `detectfields` reports the form map with field kinds, `generatevalues` seeds locale aware values per field kind while real looking card numbers and personal identifiers are refused, `saveprofiles` stores profiles behind origin grants, `asksubmit` opens the submission prompt with the values diff, `submitform` submits only under an approved consent ref, `readerrors` associates inline validation messages with fields, `retryform` retries with reviewed backoff windows, `runwizard`, `selectchain`, `picktypeahead` and `pickdate` drive wizards, dependent selects, typeaheads and calendars, `attachfile` attaches run store artifacts, `fillcard`, `fillcode` and `consentpassword` handle payment and secret fields behind explicit consent, `skiphoneypot` skips trap fields, `detectlogin` and `detecttemplate` flag login, signup and checkout shapes, and `handoffcaptcha` pauses the plan and hands control back to the user. |
17
17
  | Media capture | The agent sees the page as evidence: `shotview` captures the visible viewport in the reviewed format, quality and pixel ratio, `shotfullpage` stitches viewport tiles on an offscreencanvas with linear overlap blending, fixed header skipping, hidden capture scrollbars and a stitching scroll budget kept inside the reviewed wait window, `shotelement` crops the pixel ratio scaled element rect with a tiled fallback when the element crosses the viewport edge, `shotregion` requires the explicit reviewed flag for every reviewed region rectangle and walks scrollable containers in reviewed steps, `contactsheet` tiles element captures into one labeled grid, annotated captures carry the step number marker, the target outline and a time and url footer, beforeafter capture pairs a before and after shot around every page moving action with the dom snapshot id of the same moment, capture names stamp from run, step, sequence and kind segments with per run counters, and export routing stays consent layered: memory keeps the bytes under the user configured capture retention window while the metadata survives, clipboard export needs clipboardwrite and download export runs through the reviewed download flow. |
18
18
  | Documents and moving media | The agent captures documents and moving media behind the same gates: `capturepdf` composes a derived pdf report from page segments with reviewed paper size, margins, scale, landscape orientation and break point pagination named with the capture naming rule, `recordscreen` and `captureaudio` are sensitive recordings of user activity that need an approved recording consent prompt per start, run inside the user configured recording window and stop cleanly at run end — deriving an ordered frame sequence and an honest manifest from viewport captures instead of encoded screencast bytes because tabCapture stays outside the manifest — `captureframe` seeks a video to the reviewed timestamp and grabs the still frame, `downloadimages` matches a reviewed imagefilter, deduplicates urls and downloads through the reviewed flow, `shotcanvas` reads 2d and webgl canvas buffers, `probestream` reports webrtc track details read only, `readmedia` and `readassets` extract embedded media sources and page assets, `timelapse` captures an ordered lapse inside the reviewed wait budget, and `convertimage` and `makethumbs` transform stored captures between formats and into reviewed thumbnails. |
@@ -20,6 +20,7 @@ Version: **1.1.45**. License: **GPL-3.0-only**. The repository is `wenathlan/ext
20
20
  | Sockets, streams and page apis | The agent listens to the network with consent: `opensocket` opens a wss websocket channel behind the socket gate with reviewed protocols, reconnect budget and exponential backoff capped at the user configured ceiling, `sendmessage` publishes a reviewed payload on a named stream of an open channel (sensitive), `waitmessage` waits on the reviewed stream, json path and match limit filter, `subscribesse` opens a server sent events stream that resumes from the last event id and cancels on its reviewed path, `longpoll` walks a reviewed cursor loop that stops on its stop condition, cancellation or plan expiry, `watchrequests` observes the requests of the run tab derived from the page timing buffers behind the webrequest grant with one correlation id per request and honest error classes, `readheaders` reads captured headers through a required allowlist and redaction list, `capturebodies` stores matched bodies inside the reviewed byte ceiling (sensitive when private mime types are listed), `mapapi` ranks the page api endpoints by frequency, json share and payload stability, and `extractapi` replays a captured endpoint with reviewed overrides and extraction paths, read only when the replay verb is read; the network view lists every exchange with correlation ids, live channel state, event names and poll cursors, and payload values, header values and body bytes never enter the audit trail. |
21
21
  | Network control | The agent takes the steering wheel with consent: `blockrequest` registers reviewed block rules with origin patterns and the explicit reviewed flag behind the blockgate, `mockresponse` serves reviewed fixtures with their full body, `rewriteheaders` applies set, append and remove header rules with audited provenance, `setcookies`, `readcookies` and `clearcookies` run behind the cookiegate through the page cookie jar of the granted domain, `authflow` runs a reviewed oauth flow with a consent tab, code capture on the granted redirect origin, token exchange and refresh behind storage ids, `saveapikey` stores key entries behind explicit consent with last use timestamps, `routeproxy` applies a run-scoped route with a bypass list behind the proxygate, and `postform` and `postfiles` submit rate limited urlencoded forms and streamed multipart uploads of reviewed files; every rule reverts the moment the run ends, fails or is cancelled, and header values, cookie values, key material, token values and file contents never enter the audit trail. |
22
22
  | Run timeline | The agent records what pages say and how they misbehave: `watchconsole` captures console output at every reviewed level through page-injected console hooks with a required redaction pattern list applied before any text leaves the page bridge, object arguments serialize through a reviewed depth bound, spam detection collapses repeats into counts with flagged thresholds and log rotation moves overflow to the reviewed target store without data loss, `watcherrors` captures javascript errors with stack frames, unhandled rejections with reasons and resource load failures with element context behind the stack gate, and `watchtasks` observes longtask entries with attribution names and blocking duration per step window; every watch runs read only behind the timeline gate that scopes capture to the run tab with a reviewed window kept inside the reviewed wait budget, console capture prompts once per origin, watchers cancel on run cancel and the killswitch and detach when the tab navigates or closes, failed requests of the run join the timeline, and the console diff view compares two runs into added, removed and repeated lines while level count summaries survive the retention window. |
23
+ | Debugger attach | The agent attaches a devtools-style session with consent: `attachcdp` enables only the reviewed domains of the reviewed domain grammar behind the debuggate and the per origin debugger consent prompt that shows the domain allowlist, every attach carries its reviewed teardown plan of revert steps and resume policy, `cdpcmd` sends raw reviewed commands of the `Domain.method` form that serialize per session in send order with duration and error class results (protocol errors fail the step), `watchcdp` forwards matched domain events into the run timeline for a reviewed lifetime window, `setbreakpoint` registers reviewed instrumentation hooks with conditions of the reviewed expression grammar behind the user configured breakpoint ceiling, `stepcode` steps paused probes through stepover, stepinto, stepout and resume while capturing pause states with call frames and the dom snapshot through the page bridge, `watchexpr` evaluates reviewed expressions at every pause and stores the values with their pause scope, and `overridescript` applies reviewed page script fixtures on new document evaluation that revert at run end; the debugger permission deliberately stays outside the manifest, so the whole family runs through the page-instrumented harness injected by the scripting api with the honest derivation recorded on every session, every breakpoint and override reverts on run end, failure, cancellation, tab navigation and the user detaching the debugger — which pauses the run for review — and command params, fixture sources and token values never enter any report or the audit trail. |
23
24
  | Files and downloads | The agent moves bytes with review: `batchdownload` downloads reviewed url lists in waves under a user configured concurrent window with per file states and sequence suffixes for filename conflicts, `pausedownload` and `resumedownload` walk the queue through the downloads api, `verifydownload` compares state, size and checksum against reviewed expectations, `interceptmime` arms include, exclude and deny default mime filters that reroute matching downloads into quarantine, `exportnetlog` exports the step correlated network log with every header value redacted, `readclipboard` needs an approved single use consent prompt per read and never persists the payload text, `writeclipboard` writes reviewed text through the page bridge with payload hashes for audit, `copyscreen` copies the visible tab to the clipboard, `quarantinedownload` and `scanvirus` keep files outside the downloads folder until a clean scan verdict releases them, `namecaptures` stamps task, step and sequence filenames with per task counters, and `cleanupartifacts` sweeps artifacts by reviewed age and kind rules while keeping open review references. |
24
25
  | Datasets and exports | The agent turns pages into data with audit: `scrapetable` reads tables into normalized column keys with rowspan and colspan expansion and nested child datasets, `paginateextract` follows next controls while waiting for fresh rows, `mergepages` aligns columns across pages, `transformvalues` applies reviewed expressions with per rule error surfacing, `deduperows` deduplicates by reviewed keys, `stamplerows` stamps every row with its source url, timestamp and step ref, `previewgrid` previews the grid before export, `importcsv` parses quoted csv with column mappings for fill loops, `looprows` interpolates `{{column}}` row variables into the wrapped inner step, `exportcsv`, `exportjson` and `exportexcel` write checksummed artifacts into the task artifact store with provenance records, `copytable` uses the clipboard under the optional clipboardWrite capability, `pushsheets` pushes only to a reviewed HTTPS endpoint behind its origin grant and the explicit reviewed flag, `streamdisk` streams chunk by chunk with backpressure and a persisted resume state, `resumeextract` continues an interrupted extraction from its stored cursor, and `logprovenance` logs provenance for audit; exports refuse to leave local memory while the session origin grants do not cover the active origin. |
25
26
  | Tabs and windows command | The agent commands the whole browser surface with review: `querytabs` resolves reviewed url, title, id and pattern matchers against the live tab set, `closepattern` closes matching tabs only under the explicit reviewed flag, `pintab`, `mutetab`, `movetab`, `movetabwindow`, `duplicatetab`, `reloadtabs`, `discardtab`, `zoomin`, `zoomout` and `switchtab` mutate tabs, `grouptabs`, `colorgroup` and `collapsegroup` keep group registries, `savelayout` and `restorelayout` save and restore named tab layouts with window bounds, `snapshotsession` and `reopenrun` capture and reopen whole runs, `watchtab` observes title, activation and closure events, `findclones`, `searchtabs` and `listaudio` enumerate the surface read only, `badgetab` and `attachmeta` route task state per tab, and `maximizewindow`, `minimizewindow`, `restorewindow`, `focuswindow`, `scratchwindow` and `incognitowindow` command windows with incognito separated from grant inheritance. |
@@ -59,7 +60,7 @@ The endpoint field intentionally has no default URL. Enter a URL such as `https:
59
60
 
60
61
  ```json
61
62
  {
62
- "version": "1.1.45",
63
+ "version": "1.1.46",
63
64
  "objective": "User supplied objective",
64
65
  "session": { "id": "uuid", "tabid": 1, "origin": "https://example.com" },
65
66
  "observation": { "schemaversion": 3, "url": "https://example.com/path", "interactive": [] },
@@ -0,0 +1,104 @@
1
+ import type { breakpointspec, cdpallowlist, cdpcommand, cdpeventrule, cdpsession, pausestate, scriptoverride, stackframe, stepmode, teardownplan, watchexpression } from "./types.js";
2
+ /**
3
+ * Devtools protocol bus for the 1.1.46 debugging family.
4
+ * Every correlated rule for the reviewed instrumented devtools session lives in this file: the domain grammar, the attach and detach lifecycle with the honest derivation note, the raw command records with duration and error class, the per session command serialization in send order, the domain event rules with match filters and per domain event counts, the breakpoint input grammar, the pause state capture with call frames, the step mode grammar, the watch expression values per pause, the script override url patterns and the teardown plan that reverts every breakpoint and override and decides the resume policy when the user detaches the debugger.
5
+ * The chrome devtools protocol is unavailable without the debugger permission, which the manifest gate forbids, so every command routes through the page-instrumented harness injected through the scripting api; the derivation is recorded on every session instead of hidden.
6
+ */
7
+ /** The debugging kinds of the devtools family, listed among the available capabilities of every proposal request. */
8
+ export declare const cdpkinds: string[];
9
+ /** The reviewed devtools domain grammar: runtime evaluation, log capture, debugger state, dom snapshots, network facts and page lifecycle; the enabled subset stays a user choice bounded by this grammar only. */
10
+ export declare const cdpdomains: string[];
11
+ /** Resolves the domain of one devtools method name of the form Domain.method; malformed methods resolve to undefined. */
12
+ export declare function methoddomain(method: string): string | undefined;
13
+ /** Normalizes one reviewed devtools domain allowlist: the enabled domains bounded by the reviewed domain grammar and the optional method gates inside the enabled domains; a gate list that names no method of the enabled domains is refused. */
14
+ export declare function cdpallowlistof(value: unknown): cdpallowlist | undefined;
15
+ /** True when the allowlist covers one method: the method domain must be enabled and a present method gate list must name the method. */
16
+ export declare function allowlistcovers(allowlist: cdpallowlist, method: string): boolean;
17
+ /** Attaches one instrumented devtools session to the run tab with the reviewed enabled domains and the honest debugger derivation note. */
18
+ export declare function attachcdpsession(input: {
19
+ id: string;
20
+ runid: string;
21
+ stepid: string;
22
+ tabid: number;
23
+ origin: string;
24
+ domains: string[];
25
+ now: number;
26
+ debuggerversion: string;
27
+ }): cdpsession;
28
+ /** Detaches one session cleanly: the detach time stamps the record and the domains stay auditable after the detach. */
29
+ export declare function detachcdpsession(session: cdpsession, at: number, userdetached?: boolean): cdpsession;
30
+ /** Builds one raw protocol command record with its method, params, domain, dotted result path, duration and error class. */
31
+ export declare function sendcdpcommand(input: {
32
+ id: string;
33
+ sessionid: string;
34
+ runid: string;
35
+ stepid: string;
36
+ method: string;
37
+ params?: Record<string, unknown>;
38
+ resultpath?: string;
39
+ duration: number;
40
+ errorclass?: string;
41
+ at: number;
42
+ }): cdpcommand;
43
+ /** Appends one command to the per session send queue so concurrent commands serialize in send order. */
44
+ export declare function serializecdpcommand(queue: cdpcommand[], command: cdpcommand): cdpcommand[];
45
+ /** Normalizes one reviewed domain event rule: the domain of the reviewed grammar, the event name and the optional payload match filter. */
46
+ export declare function cdpeventruleof(value: unknown): Pick<cdpeventrule, "domain" | "event" | "match"> | undefined;
47
+ /** Matches observed domain events against the reviewed rules and counts the matched events per domain; the match filter must appear in the payload before an event forwards. */
48
+ export declare function watchcdpevents(rules: cdpeventrule[], events: Array<{
49
+ domain: string;
50
+ event: string;
51
+ payload?: string;
52
+ }>): {
53
+ matched: Array<{
54
+ ruleid: string;
55
+ domain: string;
56
+ event: string;
57
+ payload?: string;
58
+ }>;
59
+ counts: Record<string, number>;
60
+ };
61
+ /** Normalizes one reviewed breakpoint input: the script url, the zero based line, the optional column and the condition of the reviewed expression grammar. */
62
+ export declare function breakpointinputof(value: unknown): Pick<breakpointspec, "url" | "line" | "column" | "condition"> | undefined;
63
+ /** Captures one pause state from the instrumented pause: the reason, the call frames, the hit breakpoint and the dom snapshot reference of the page bridge capture. */
64
+ export declare function capturepause(input: {
65
+ id: string;
66
+ runid: string;
67
+ stepid: string;
68
+ reason: string;
69
+ callframes: stackframe[];
70
+ hitbreakpoint?: string;
71
+ domsnapshotid?: string;
72
+ at: number;
73
+ }): pausestate;
74
+ /** Normalizes one reviewed step mode of the instrumented debugger: stepover, stepinto, stepout or resume. */
75
+ export declare function stepmodeof(value: unknown): stepmode | undefined;
76
+ /** Normalizes one reviewed watch expression input: the expression text and the pause scope it evaluates in. */
77
+ export declare function watchexpressionof(value: unknown): Pick<watchexpression, "expression" | "scope"> | undefined;
78
+ /** Records one watch value captured at a pause with the pause scope correlation. */
79
+ export declare function recordwatchvalue(expression: watchexpression, pauseid: string, value: string, at: number): watchexpression;
80
+ /** Normalizes one reviewed script override input: the url pattern that names its origin explicitly and the full fixture source. */
81
+ export declare function overrideinputof(value: unknown): Pick<scriptoverride, "urlpattern" | "source"> | undefined;
82
+ /** Matches one script url against a reviewed override pattern of an explicit https origin with single star segments and double star subtrees. */
83
+ export declare function overridematches(urlpattern: string, url: string): boolean;
84
+ /** Normalizes one reviewed teardown plan: the revert steps and the resume policy of resume, pause or ask. */
85
+ export declare function teardownplanof(value: unknown): teardownplan | undefined;
86
+ /** The teardown outcome of one session: every breakpoint and override reverts, the resume policy decides the continuation and a user detach keeps the session record alive for review while the run pauses. */
87
+ export interface teardowndecision {
88
+ session: cdpsession;
89
+ revertedbreakpoints: string[];
90
+ revertedoverrides: string[];
91
+ resumepolicy: teardownplan["resumepolicy"];
92
+ paused: boolean;
93
+ keepsalive: boolean;
94
+ }
95
+ /** Tears one session down safely: the revert steps of the reviewed teardown plan revert every active breakpoint and override in order, the session detaches, and a user detach keeps the session record alive while the run pauses for review before continuing. */
96
+ export declare function teardowncdpsession(input: {
97
+ session: cdpsession;
98
+ breakpoints: breakpointspec[];
99
+ overrides: scriptoverride[];
100
+ plan: teardownplan | undefined;
101
+ userdetached: boolean;
102
+ at: number;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YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,oQAAoQ;AACpQ,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,UAAU,CAAC;IAAC,WAAW,EAAE,cAAc,EAAE,CAAC;IAAC,SAAS,EAAE,cAAc,EAAE,CAAC;IAAC,IAAI,EAAE,YAAY,GAAG,SAAS,CAAC;IAAC,YAAY,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,gBAAgB,CAYlN"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./capture.js";
2
+ export * from "./cdpbus.js";
2
3
  export * from "./httpclient.js";
3
4
  export * from "./media.js";
4
5
  export * from "./memory.js";
@@ -6,7 +7,7 @@ export * from "./netauth.js";
6
7
  export * from "./netcontrol.js";
7
8
  export * from "./netwatch.js";
8
9
  export { argkind, attachtimeline, blockingduration, consolecapture, consolediff, errorcapture, filterentries, levelrank, loglevels, longtaskcapture, netfailureentryof, redactconsoletext, rejectioncapture, rotatelogs, serializearg, spamdetect, stackframes, timelinecounts, timelinekinds, timelinesources, watcherdetached, type timeline } from "./runtimeline.js";
9
- export { actionrisk as deriveactionrisk, apikeyconsentgranted, authconsentgranted, blockgate, canexecute, consoleconsentcovers, controltarget, cookiegate, debugwaitbudgetallowed, diffreviewgrade, generatedvalueallowed, hostpattern, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, issocketkind, iswatchkind, normalizeendpoint, observationmodeof, passwordconsentgranted, profilegrantgranted, proxygate, ratelimitbudgetallowed, resolvedrisk, resolutionverdict, rotationruleof, socketgate, spamruleof, stackgate, submitreviewgranted, timelinegate, timelineretentionwindow, validatefieldmatch, validateformrecord, validatestep, validatetargetref, validatevaluegen, watchgate } from "./policy.js";
10
+ export { actionrisk as deriveactionrisk, apikeyconsentgranted, authconsentgranted, blockgate, breakpointbudgetallowed, breakpointceilingof, canexecute, consoleconsentcovers, controltarget, cookiegate, debuggate, debuggerconsentcovers, debugwaitbudgetallowed, diffreviewgrade, generatedvalueallowed, hostpattern, iscdpkind, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, issocketkind, iswatchkind, normalizeendpoint, observationmodeof, pauseretentionwindow, passwordconsentgranted, planallowlist, profilegrantgranted, proxygate, ratelimitbudgetallowed, resolvedrisk, resolutionverdict, rotationruleof, socketgate, spamruleof, stackgate, submitreviewgranted, timelinegate, timelineretentionwindow, validatebreakpointcondition, validatefieldmatch, validateformrecord, validatestep, validatetargetref, validatevaluegen, watchgate } from "./policy.js";
10
11
  export * from "./protocol.js";
11
12
  export * from "./socketbus.js";
12
13
  export * from "./types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACzW,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,oBAAoB,EAAE,aAAa,EAAE,UAAU,EAAE,sBAAsB,EAAE,eAAe,EAAE,qBAAqB,EAA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