@fluid-app/fluid-cli-widget 0.1.27 → 0.1.29
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/dist/index-JKSTx5pZ.d.mts +199 -0
- package/dist/index-JKSTx5pZ.d.mts.map +1 -0
- package/dist/index.d.mts +3 -15
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1304 -315
- package/dist/index.mjs.map +1 -1
- package/dist/src-_wfDoBLp.mjs +1997 -0
- package/dist/src-_wfDoBLp.mjs.map +1 -0
- package/dist/vite/plugin.d.mts +2 -62
- package/dist/vite/plugin.mjs +2 -200
- package/package.json +8 -5
- package/templates/default/.gitignore.template +6 -0
- package/templates/default/AGENTS.md +15 -0
- package/templates/default/package.json.template +3 -1
- package/templates/default/styles.css +47 -15
- package/dist/vite/plugin.d.mts.map +0 -1
- package/dist/vite/plugin.mjs.map +0 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Plugin, UserConfig } from "vite";
|
|
2
|
+
|
|
3
|
+
//#region ../../portal/core/src/remote-dom-widget-package.d.ts
|
|
4
|
+
declare const REMOTE_DOM_WIDGET_MANIFEST_VERSION: 1;
|
|
5
|
+
declare const REMOTE_DOM_WIDGET_RUNTIME: "remote-dom";
|
|
6
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
7
|
+
type JsonValue = JsonPrimitive | readonly JsonValue[] | JsonObject;
|
|
8
|
+
interface JsonObject {
|
|
9
|
+
readonly [key: string]: JsonValue;
|
|
10
|
+
}
|
|
11
|
+
interface RemoteDomWidgetCapabilityDeclaration {
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly version: string;
|
|
14
|
+
}
|
|
15
|
+
interface RemoteDomWidgetDefinition {
|
|
16
|
+
readonly type: string;
|
|
17
|
+
readonly displayName: string;
|
|
18
|
+
readonly description: string;
|
|
19
|
+
readonly icon: string;
|
|
20
|
+
readonly category: string;
|
|
21
|
+
readonly propertySchema: JsonObject;
|
|
22
|
+
readonly defaultProps: JsonObject;
|
|
23
|
+
readonly container: "inline" | "block" | "card" | "fullscreen";
|
|
24
|
+
readonly resizable: boolean | "horizontal" | "vertical" | "both";
|
|
25
|
+
readonly minSdkVersion: string;
|
|
26
|
+
readonly capabilities: readonly RemoteDomWidgetCapabilityDeclaration[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Canonical package contract shared by the CLI, catalog APIs, and portal hosts.
|
|
30
|
+
* Catalog producers resolve every artifact to its public URL before returning
|
|
31
|
+
* this descriptor; consumers do not translate legacy manifest shapes.
|
|
32
|
+
*/
|
|
33
|
+
interface RemoteDomWidgetPackageDescriptor {
|
|
34
|
+
readonly manifestVersion: typeof REMOTE_DOM_WIDGET_MANIFEST_VERSION;
|
|
35
|
+
readonly runtime: typeof REMOTE_DOM_WIDGET_RUNTIME;
|
|
36
|
+
readonly packageId: string;
|
|
37
|
+
readonly source: "company" | "droplet";
|
|
38
|
+
readonly version: string;
|
|
39
|
+
readonly workerEntryUrl: string;
|
|
40
|
+
readonly cssUrls: readonly string[];
|
|
41
|
+
readonly assetUrls: readonly string[];
|
|
42
|
+
readonly widgets: readonly RemoteDomWidgetDefinition[];
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region ../widget-tooling/src/internal/widget-package-validation.d.ts
|
|
46
|
+
type WidgetPackageOwnerKind = "company" | "droplet";
|
|
47
|
+
interface WidgetCapabilityMetadata {
|
|
48
|
+
readonly name: string;
|
|
49
|
+
readonly version?: string;
|
|
50
|
+
}
|
|
51
|
+
interface SourceWidgetMetadata {
|
|
52
|
+
readonly name: string;
|
|
53
|
+
readonly displayName?: string;
|
|
54
|
+
readonly description?: string;
|
|
55
|
+
readonly icon?: string;
|
|
56
|
+
readonly category?: string;
|
|
57
|
+
readonly propertySchema?: JsonObject;
|
|
58
|
+
readonly defaultProps?: JsonObject;
|
|
59
|
+
readonly container?: unknown;
|
|
60
|
+
readonly minSdkVersion?: string;
|
|
61
|
+
readonly resizable?: unknown;
|
|
62
|
+
readonly capabilities?: readonly WidgetCapabilityMetadata[];
|
|
63
|
+
}
|
|
64
|
+
interface SourceWidgetPackageMetadata {
|
|
65
|
+
readonly manifestVersion?: number;
|
|
66
|
+
readonly scope?: string;
|
|
67
|
+
readonly packageStableId?: string;
|
|
68
|
+
readonly packageId: string;
|
|
69
|
+
readonly packageType?: string;
|
|
70
|
+
readonly version: string;
|
|
71
|
+
readonly widgets: readonly SourceWidgetMetadata[];
|
|
72
|
+
readonly cssUrls?: readonly string[];
|
|
73
|
+
}
|
|
74
|
+
interface WidgetDescriptorMetadata extends RemoteDomWidgetDefinition {
|
|
75
|
+
readonly name: string;
|
|
76
|
+
}
|
|
77
|
+
interface ValidatedWidgetPackageBuild {
|
|
78
|
+
readonly sourcePackage: SourceWidgetPackageMetadata;
|
|
79
|
+
readonly packageKey: string;
|
|
80
|
+
readonly packageId: string;
|
|
81
|
+
readonly owner: WidgetPackageOwnerKind;
|
|
82
|
+
readonly version: string;
|
|
83
|
+
readonly widgets: readonly WidgetDescriptorMetadata[];
|
|
84
|
+
}
|
|
85
|
+
type WidgetPackageValidationErrorCode = "NO_SOURCE_PACKAGE" | "MULTIPLE_SOURCE_PACKAGES" | "INVALID_SOURCE_PACKAGE" | "INVALID_WIDGET_METADATA" | "UNSUPPORTED_OWNER" | "INVALID_PACKAGE_KEY" | "INVALID_VERSION" | "NO_WIDGETS" | "INVALID_WIDGET_NAME" | "INVALID_WIDGET_TYPE" | "DUPLICATE_WIDGET";
|
|
86
|
+
interface WidgetPackageValidationError {
|
|
87
|
+
readonly code: WidgetPackageValidationErrorCode;
|
|
88
|
+
readonly message: string;
|
|
89
|
+
readonly path?: string;
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region ../widget-tooling/src/dev-routes.d.ts
|
|
93
|
+
/**
|
|
94
|
+
* Layout of the project these dev routes serve.
|
|
95
|
+
*
|
|
96
|
+
* Defaults describe a standalone widget project, which is the only layout that
|
|
97
|
+
* existed when these routes were written. A portal project keeps its package
|
|
98
|
+
* source at `src/widgets.config.ts`, owns it as `company` rather than
|
|
99
|
+
* `droplet`, and has no `startWidgetPackage()` module of its own — so it
|
|
100
|
+
* supplies a generated entry via `entryModulePath`.
|
|
101
|
+
*/
|
|
102
|
+
interface FluidWidgetDevPluginOptions {
|
|
103
|
+
/** Module the worker bootstrap imports. Must call `startWidgetPackage()`. */
|
|
104
|
+
readonly entryModulePath?: string;
|
|
105
|
+
/** Module exporting `widgetPackage` / `widgetPackages`. */
|
|
106
|
+
readonly configModulePath?: string;
|
|
107
|
+
/** Who owns the published package. */
|
|
108
|
+
readonly owner?: WidgetPackageOwnerKind;
|
|
109
|
+
/**
|
|
110
|
+
* Treat "the project declares no widget packages" as an empty catalog rather
|
|
111
|
+
* than an error. A standalone widget project with no package is broken, but a
|
|
112
|
+
* portal that has not been given a custom widget yet is perfectly normal — and
|
|
113
|
+
* its preview polls this route continuously, so erroring would be constant
|
|
114
|
+
* noise for the expected case.
|
|
115
|
+
*/
|
|
116
|
+
readonly allowNoPackages?: boolean;
|
|
117
|
+
}
|
|
118
|
+
declare function fluidWidgetDevPlugin(options?: FluidWidgetDevPluginOptions): Plugin;
|
|
119
|
+
/**
|
|
120
|
+
* Widget projects intentionally have no HTML entrypoint, so Vite cannot
|
|
121
|
+
* discover the worker's dependency graph during its normal startup scan.
|
|
122
|
+
* Without an explicit entry, the first live-preview request discovers and
|
|
123
|
+
* optimizes the portal worker after the server reports ready. Vite reloads
|
|
124
|
+
* the worker mid-mount, closing its message thread and stranding the preview
|
|
125
|
+
* in a permanent error state.
|
|
126
|
+
*
|
|
127
|
+
* Pre-optimizing the worker entry makes the initial graph stable before a
|
|
128
|
+
* preview can connect. Vite follows this entry's imports, so React and the
|
|
129
|
+
* Remote DOM worker runtime are optimized in the same startup pass.
|
|
130
|
+
*/
|
|
131
|
+
declare function createWidgetDevServerConfig(): UserConfig;
|
|
132
|
+
/**
|
|
133
|
+
* Builds the `/__runtime-entry__` worker bootstrap. Runtime-verified
|
|
134
|
+
* against a real widget dev server + `@fluid-app/widget-runtime` host
|
|
135
|
+
* in a Playwright harness (styled Leaderboard widget rendering,
|
|
136
|
+
* mutation records flowing, `mounted.ready` resolving) — every piece
|
|
137
|
+
* below exists to fix something that reproduced in that harness:
|
|
138
|
+
*
|
|
139
|
+
* 1. **Message-buffer race (the silent-mount killer).** The host
|
|
140
|
+
* (widget-runtime) posts the "mount" message immediately after
|
|
141
|
+
* `new Worker(...)`. A production-built worker bundle evaluates
|
|
142
|
+
* synchronously and never races that message. In dev, though, the
|
|
143
|
+
* worker's module graph loads asynchronously over many HTTP
|
|
144
|
+
* requests (this bootstrap script, then the entry module, then
|
|
145
|
+
* everything it imports, each a separate fetch) — so the "mount"
|
|
146
|
+
* message can be dispatched and consumed by the Worker's default
|
|
147
|
+
* (listener-less) handling before the widget entry's own
|
|
148
|
+
* `message` listener, wired up deep inside the awaited import
|
|
149
|
+
* below, is ever attached. The message is dropped silently, with
|
|
150
|
+
* no error anywhere — the old `void import("/src/index.ts")` also
|
|
151
|
+
* swallowed the import's own rejections, compounding the silence.
|
|
152
|
+
* Traced live: host→worker "mount" posts, zero worker→host replies
|
|
153
|
+
* until this buffer-and-replay was added; after it, mutation
|
|
154
|
+
* records flow and `mounted.ready` resolves. Fix: buffer every
|
|
155
|
+
* message from the instant the worker boots (before anything else
|
|
156
|
+
* runs), then replay the buffer, in order, once the entry module
|
|
157
|
+
* has finished importing and has had the chance to attach its
|
|
158
|
+
* real listener.
|
|
159
|
+
* 2. **React-refresh preamble.** `@vitejs/plugin-react` injects a
|
|
160
|
+
* preamble into every dev-transformed `.tsx` module referencing
|
|
161
|
+
* `window.$RefreshReg$` / `$RefreshSig$`. A Worker global scope has
|
|
162
|
+
* no `window` and no preamble, so importing a react-based widget
|
|
163
|
+
* entry throws `window is not defined`, and — once `window` is
|
|
164
|
+
* aliased to `globalThis` — throws again on the bare
|
|
165
|
+
* `$RefreshSig$` alias. Installing the canonical preamble
|
|
166
|
+
* (`RefreshRuntime.injectIntoGlobalHook` + no-op `$RefreshReg$` /
|
|
167
|
+
* `$RefreshSig$`) before the entry import fixes both. The
|
|
168
|
+
* `window = globalThis` alias was checked against widget-runtime's
|
|
169
|
+
* worker lockdown / scope detection (which is
|
|
170
|
+
* `globalThis.postMessage`-based) — no conflict. `/@react-refresh`
|
|
171
|
+
* is `@vitejs/plugin-react`'s stable virtual module id, but a
|
|
172
|
+
* widget project isn't guaranteed to use the react plugin, so the
|
|
173
|
+
* whole block is try/catch-guarded — a project with no
|
|
174
|
+
* `/@react-refresh` module (no react plugin) boots straight
|
|
175
|
+
* through to the entry import unaffected.
|
|
176
|
+
* 3. **`await import`, not `void import`.** A genuine failure to
|
|
177
|
+
* import the entry module (syntax error, missing dependency, …)
|
|
178
|
+
* must reject the worker's module evaluation loudly, not vanish
|
|
179
|
+
* the way a fire-and-forget `void import` did.
|
|
180
|
+
* 4. **Absolute dev-server imports.** Mist and portal previews load the
|
|
181
|
+
* worker from another origin, so the host wraps this entry in a blob URL.
|
|
182
|
+
* Root-relative specifiers inside a blob module resolve against the host
|
|
183
|
+
* page (or fail to resolve at all), not this Vite server. Anchoring both
|
|
184
|
+
* imports to the request origin keeps the entire dev module graph on the
|
|
185
|
+
* widget server.
|
|
186
|
+
*
|
|
187
|
+
* Dev-only: this only ever serves from `configureServer` (the
|
|
188
|
+
* plugin's `apply: "serve"` gate), never a built/published package.
|
|
189
|
+
*/
|
|
190
|
+
declare function buildRuntimeEntryBootstrapScript(entryPath: string, origin: string): string;
|
|
191
|
+
/**
|
|
192
|
+
* The shared development descriptor workflow appends Vite's `?direct` query
|
|
193
|
+
* to CSS URLs so preview hosts receive real CSS instead of JS style modules.
|
|
194
|
+
* Published descriptors use a separate build path and never receive it.
|
|
195
|
+
*/
|
|
196
|
+
declare function createDevWidgetPackageDescriptors(configModule: Readonly<Record<string, unknown>>, origin: string, owner?: WidgetPackageOwnerKind): readonly RemoteDomWidgetPackageDescriptor[];
|
|
197
|
+
//#endregion
|
|
198
|
+
export { fluidWidgetDevPlugin as a, createWidgetDevServerConfig as i, buildRuntimeEntryBootstrapScript as n, ValidatedWidgetPackageBuild as o, createDevWidgetPackageDescriptors as r, WidgetPackageValidationError as s, FluidWidgetDevPluginOptions as t };
|
|
199
|
+
//# sourceMappingURL=index-JKSTx5pZ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-JKSTx5pZ.d.mts","names":[],"sources":["../../../portal/core/src/remote-dom-widget-package.ts","../../widget-tooling/src/internal/widget-package-validation.ts","../../widget-tooling/src/dev-routes.ts"],"mappings":";;;cAAa,kCAAA;AAAA,cACA,yBAAA;AAAA,KAED,aAAA;AAAA,KAEA,SAAA,GAAY,aAAA,YAAyB,SAAA,KAAc,UAAA;AAAA,UAE9C,UAAA;EAAA,UACS,GAAA,WAAA,SAAA;AAAA;AAAA,UAGT,oCAAA;EAAA,SACN,IAAA;EAAA,SACA,OAAA;AAAA;AAAA,UAGM,yBAAA;EAAA,SACN,IAAA;EAAA,SACA,WAAA;EAAA,SACA,WAAA;EAAA,SACA,IAAA;EAAA,SACA,QAAA;EAAA,SACA,cAAA,EAAgB,UAAA;EAAA,SAChB,YAAA,EAAc,UAAA;EAAA,SACd,SAAA;EAAA,SACA,SAAA;EAAA,SACA,aAAA;EAAA,SACA,YAAA,WAAuB,oCAAA;AAAA;;;;;;UAQjB,gCAAA;EAAA,SACN,eAAA,SAAwB,kCAAA;EAAA,SACxB,OAAA,SAAgB,yBAAA;EAAA,SAChB,SAAA;EAAA,SACA,MAAA;EAAA,SACA,OAAA;EAAA,SACA,cAAA;EAAA,SACA,OAAA;EAAA,SACA,SAAA;EAAA,SACA,OAAA,WAAkB,yBAAA;AAAA;;;KCpBjB,sBAAA;AAAA,UAKK,wBAAA;EAAA,SACN,IAAA;EAAA,SACA,OAAA;AAAA;AAAA,UAGM,oBAAA;EAAA,SACN,IAAA;EAAA,SACA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|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { o as ValidatedWidgetPackageBuild, s as WidgetPackageValidationError } from "./index-JKSTx5pZ.mjs";
|
|
1
2
|
import { Command } from "commander";
|
|
2
|
-
import { ValidatedWidgetPackageBuild, WidgetPackageValidationError } from "@fluid-app/fluid-cli-portal";
|
|
3
3
|
import { FluidPlugin } from "@fluid-app/fluid-cli";
|
|
4
4
|
|
|
5
5
|
//#region src/types.d.ts
|
|
@@ -143,7 +143,6 @@ interface PublishWidgetPackageOptions {
|
|
|
143
143
|
readonly droplet?: string;
|
|
144
144
|
readonly dryRun?: boolean;
|
|
145
145
|
readonly skipTypecheck?: boolean;
|
|
146
|
-
readonly client?: unknown;
|
|
147
146
|
}
|
|
148
147
|
interface PublishWidgetPackageResult {
|
|
149
148
|
readonly dryRun: boolean;
|
|
@@ -151,18 +150,7 @@ interface PublishWidgetPackageResult {
|
|
|
151
150
|
readonly outDir: string;
|
|
152
151
|
readonly droplet?: string;
|
|
153
152
|
}
|
|
154
|
-
|
|
155
|
-
readonly buildWidgetPackage: (options: {
|
|
156
|
-
readonly projectDir: string;
|
|
157
|
-
readonly outDir: string;
|
|
158
|
-
}) => Promise<void>;
|
|
159
|
-
readonly uploadWidgetPackage: (options: {
|
|
160
|
-
readonly outDir: string;
|
|
161
|
-
readonly droplet?: string;
|
|
162
|
-
readonly client?: unknown;
|
|
163
|
-
}) => Promise<void>;
|
|
164
|
-
}
|
|
165
|
-
declare function publishWidgetPackage(options: PublishWidgetPackageOptions, dependencies?: PublishWidgetPackageDependencies): Promise<PublishWidgetPackageResult>;
|
|
153
|
+
declare function publishWidgetPackage(options: PublishWidgetPackageOptions): Promise<PublishWidgetPackageResult>;
|
|
166
154
|
interface PublishCommandOptions {
|
|
167
155
|
readonly outDir?: string;
|
|
168
156
|
readonly droplet?: string;
|
|
@@ -232,5 +220,5 @@ declare function formatValidationErrors(errors: readonly WidgetCliValidationErro
|
|
|
232
220
|
declare const widgetCommand: Command;
|
|
233
221
|
declare const plugin: FluidPlugin;
|
|
234
222
|
//#endregion
|
|
235
|
-
export { type BuildWidgetOptions, type BuildWidgetPackageOptions, type BuildWidgetPackageResult, type CloneCommandOptions, type CreateWidgetProjectDependencies, DEFAULT_WIDGET_DEV_PORT, DEFAULT_WIDGET_OUT_DIR, type FluidWidgetConfig, type LoadedWidgetConfig, type LogsCommandOptions, type PublishCommandOptions, type
|
|
223
|
+
export { type BuildWidgetOptions, type BuildWidgetPackageOptions, type BuildWidgetPackageResult, type CloneCommandOptions, type CreateWidgetProjectDependencies, DEFAULT_WIDGET_DEV_PORT, DEFAULT_WIDGET_OUT_DIR, type FluidWidgetConfig, type LoadedWidgetConfig, type LogsCommandOptions, type PublishCommandOptions, type PublishWidgetPackageOptions, type PublishWidgetPackageResult, type PushCommandOptions, ROOT_WIDGET_CONFIG_FILE, type StatusCommandOptions, type ValidateWidgetOptions, WIDGET_CONFIG_FILE, WIDGET_DEV_ROUTES, type WidgetCliValidationError, type WidgetCommandOptions, type WidgetCreateOptions, type WidgetDevOptions, type WidgetDevProjectSummary, type WidgetLinkOptions, type WidgetTemplateVariables, WidgetValidationError, type WidgetValidationResult, buildCommand, buildViteDevArgs, buildWidgetPackage, cloneCommand, createCommand, createWidgetProject, plugin as default, devCommand, formatValidationErrors, formatValidationSuccess, formatWidgetConfig, linkCommand, loadWidgetConfig, logsCommand, mergeWidgetConfig, parseWidgetConfigSource, printWidgetDevSummary, publishCommand, publishWidgetPackage, pushCommand, resolveWidgetConfigPath, resolveWidgetDevProject, resolveWidgetSourceConfig, runViteDevServer, statusCommand, validateCommand, validateDropletUuid, validateDropletWidgetProject, widgetCommand, withRootWidgetConfigBridge, writeWidgetConfig };
|
|
236
224
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/commands/build.ts","../src/commands/clone.ts","../src/utils/package-manager.ts","../src/utils/github-template.ts","../src/commands/create.ts","../src/commands/push.ts","../src/commands/dev.ts","../src/commands/link.ts","../src/commands/logs.ts","../src/commands/publish.ts","../src/commands/status.ts","../src/commands/validate.ts","../src/utils/config.ts","../src/utils/source-package.ts","../src/utils/validation.ts","../src/index.ts"],"mappings":";;;;;UAAiB,uBAAA;EAAA,SACN,WAAA;EAAA,SACA,WAAA;EAAA,SACA,oBAAA;EAAA,SACA,UAAA;EAAA,SACA,gBAAA;EAAA,SACA,eAAA;EAAA,SACA,gBAAA;EAAA,SACA,OAAA;AAAA;AAAA,UAGM,mBAAA;EAAA,SACN,WAAA;EAAA,SACA,SAAA;EAAA,SACA,KAAA;EAAA,SACA,KAAA;EAAA,SACA,OAAA;;WAEA,cAAA;EAVA;EAAA,SAYA,cAAA;AAAA;AAAA,UAGM,iBAAA;EAAA,SACN,OAAA;AAAA;AAAA,UAGM,oBAAA;EAAA,SACN,GAAA;AAAA;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/commands/build.ts","../src/commands/clone.ts","../src/utils/package-manager.ts","../src/utils/github-template.ts","../src/commands/create.ts","../src/commands/push.ts","../src/commands/dev.ts","../src/commands/link.ts","../src/commands/logs.ts","../src/commands/publish.ts","../src/commands/status.ts","../src/commands/validate.ts","../src/utils/config.ts","../src/utils/source-package.ts","../src/utils/validation.ts","../src/index.ts"],"mappings":";;;;;UAAiB,uBAAA;EAAA,SACN,WAAA;EAAA,SACA,WAAA;EAAA,SACA,oBAAA;EAAA,SACA,UAAA;EAAA,SACA,gBAAA;EAAA,SACA,eAAA;EAAA,SACA,gBAAA;EAAA,SACA,OAAA;AAAA;AAAA,UAGM,mBAAA;EAAA,SACN,WAAA;EAAA,SACA,SAAA;EAAA,SACA,KAAA;EAAA,SACA,KAAA;EAAA,SACA,OAAA;;WAEA,cAAA;EAVA;EAAA,SAYA,cAAA;AAAA;AAAA,UAGM,iBAAA;EAAA,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