@let-value/translate-extract 1.1.6-beta.3 → 1.2.3

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/bin/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_run = require("../run-oGs6tkeL.cjs");
2
+ const require_run = require("../run-Bcz92fEY.cjs");
3
3
  let node_util = require("node:util");
4
4
  let chalk = require("chalk");
5
5
  chalk = require_run.__toESM(chalk, 1);
@@ -1 +1 @@
1
- export { };
1
+ export {}
@@ -1 +1 @@
1
- export { };
1
+ export {}
package/dist/bin/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as run } from "../run-Bv3fv1N8.mjs";
2
+ import { t as run } from "../run-CzeTVOug.mjs";
3
3
  import { parseArgs } from "node:util";
4
4
  import chalk from "chalk";
5
5
  import log from "loglevel";
@@ -1,15 +1,11 @@
1
1
  import Parser from "@keqingmoe/tree-sitter";
2
2
  import log from "loglevel";
3
3
  import { PluralFormsLocale } from "@let-value/translate";
4
-
5
4
  //#region src/logger.d.ts
6
5
  type Logger = log.Logger;
7
6
  type LogLevelNames = log.LogLevelNames;
8
7
  type LogLevel = LogLevelNames;
9
8
  //#endregion
10
- //#region src/plugins/cleanup/cleanup.d.ts
11
- declare function cleanup$1(): Plugin;
12
- //#endregion
13
9
  //#region src/plugins/core/queries/types.d.ts
14
10
  interface Comments {
15
11
  translator?: string;
@@ -27,14 +23,17 @@ interface Translation {
27
23
  obsolete?: boolean;
28
24
  }
29
25
  //#endregion
26
+ //#region src/plugins/cleanup/cleanup.d.ts
27
+ declare function cleanup$1(): Plugin;
28
+ //#endregion
30
29
  //#region src/plugins/core/core.d.ts
31
- declare function core$1(): Plugin<string, Translation[]>;
30
+ declare function core$1(): Plugin;
32
31
  //#endregion
33
32
  //#region src/plugins/po/po.d.ts
34
33
  declare function po$1(): Plugin;
35
34
  //#endregion
36
35
  //#region src/plugins/react/react.d.ts
37
- declare function react$1(): Plugin<string, Translation[]>;
36
+ declare function react$1(): Plugin;
38
37
  //#endregion
39
38
  //#region src/static.d.ts
40
39
  declare function core(...props: Parameters<typeof core$1>): {
@@ -68,6 +67,7 @@ type MaybePromise<T> = T | Promise<T>;
68
67
  interface Context {
69
68
  config: ResolvedConfig;
70
69
  generatedAt: Date;
70
+ /** Entrypoint roots discovered in this run (including promoted ones). */
71
71
  paths: Set<string>;
72
72
  logger?: Logger;
73
73
  }
@@ -76,6 +76,7 @@ interface ImportReference {
76
76
  kind: "static" | "dynamic";
77
77
  typeOnly: boolean;
78
78
  }
79
+ /** Arguments passed to exclude filters. */
79
80
  interface ResolveArgs<TInput = unknown> {
80
81
  entrypoint: string;
81
82
  path: string;
@@ -83,75 +84,76 @@ interface ResolveArgs<TInput = unknown> {
83
84
  import?: ImportReference;
84
85
  data?: TInput;
85
86
  }
86
- interface ResolveResult<TInput = unknown> {
87
+ interface SourceArgs {
87
88
  entrypoint: string;
88
89
  path: string;
89
- namespace: string;
90
90
  import?: ImportReference;
91
- data?: TInput;
92
91
  }
93
- interface LoadArgs<TInput = unknown> {
92
+ interface LoadArgs {
94
93
  entrypoint: string;
95
94
  path: string;
96
- namespace: string;
97
- data?: TInput;
98
95
  }
99
- interface LoadResult<TInput = unknown> {
96
+ /** Produces the contents of a source file; return undefined to let the next loader try. */
97
+ type LoadHook = (args: LoadArgs) => MaybePromise<string | undefined>;
98
+ interface ProcessArgs {
100
99
  entrypoint: string;
101
100
  path: string;
102
- namespace: string;
103
- data: TInput;
101
+ contents: string;
102
+ /** Emits translations extracted from this file. */
103
+ emit(translations: Translation[]): void;
104
104
  }
105
- interface ProcessArgs<TInput = unknown> {
106
- entrypoint: string;
105
+ /** Runs for every loaded source file. Return a non-undefined value to stop later processors for this file. */
106
+ type ProcessHook = (args: ProcessArgs) => MaybePromise<unknown>;
107
+ interface FileTranslations {
107
108
  path: string;
108
- namespace: string;
109
- data: TInput;
109
+ translations: Translation[];
110
110
  }
111
- interface ProcessResult<TOutput = unknown> {
111
+ interface CollectedArgs {
112
112
  entrypoint: string;
113
- path: string;
114
- namespace: string;
115
- data: TOutput;
113
+ /** Translations of every processed source file of this entrypoint, one entry per file. */
114
+ files: FileTranslations[];
115
+ /**
116
+ * Schedules an output artifact. Every entrypoint's onCollected hook has
117
+ * run by the time any producer does, so a producer may read state the
118
+ * hook keeps across entrypoints. Outputs run in parallel; writes to the
119
+ * same path are serialized.
120
+ */
121
+ output(path: string, produce: () => MaybePromise<void>): void;
116
122
  }
117
- type Filter = {
118
- filter: RegExp;
119
- namespace?: string;
120
- };
121
- type ResolveHook<TInput = unknown> = (args: ResolveArgs<TInput>) => MaybePromise<ResolveResult<TInput> | undefined>;
122
- type LoadHook<TInput = unknown> = (args: LoadArgs<TInput>) => MaybePromise<LoadResult<TInput> | undefined>;
123
- type ProcessHook<TInput = unknown, TOutput = unknown> = (args: ProcessArgs<TInput>) => MaybePromise<ProcessResult<TOutput> | undefined>;
124
- interface Build<TInput = unknown, TOutput = unknown> {
123
+ /** Runs once per entrypoint, after all of its source files settled and translations are known. */
124
+ type CollectedHook = (args: CollectedArgs) => MaybePromise<void>;
125
+ interface OutputsArgs {
126
+ /** Every output path produced in this run, across all entrypoints. */
127
+ outputs: string[];
128
+ }
129
+ /** Runs once per run, after every entrypoint produced its outputs. */
130
+ type OutputsHook = (args: OutputsArgs) => MaybePromise<void>;
131
+ interface Build {
125
132
  context: Context;
126
- source(path: string): void;
127
- resolve(args: ResolveArgs<unknown>): void;
128
- load(args: LoadArgs<unknown>): void;
129
- process(args: ProcessArgs<unknown>): void;
130
- defer(namespace: string): Promise<void>;
131
- onResolve(options: Filter, hook: ResolveHook<TInput>): void;
132
- onLoad(options: Filter, hook: LoadHook<TInput>): void;
133
- onProcess(options: Filter, hook: ProcessHook<TInput, TOutput>): void;
133
+ /**
134
+ * Discovers a source file. When `path` equals `entrypoint` a new
135
+ * extraction pipeline is started for it (entrypoint promotion);
136
+ * otherwise the file joins the given entrypoint's walk. Excluded and
137
+ * already-known paths are ignored.
138
+ */
139
+ source(args: SourceArgs): void;
140
+ onLoad(filter: RegExp, hook: LoadHook): void;
141
+ onProcess(filter: RegExp, hook: ProcessHook): void;
142
+ onCollected(hook: CollectedHook): void;
143
+ onOutputs(hook: OutputsHook): void;
134
144
  }
135
- interface Plugin<TInput = unknown, TOutput = unknown> {
145
+ interface Plugin {
136
146
  name: string;
137
- setup(build: Build<TInput, TOutput>): void;
147
+ setup(build: Build): void;
138
148
  }
139
149
  type UniversalPlugin = Plugin | StaticPlugin;
140
150
  //#endregion
141
151
  //#region src/exclude.d.ts
142
152
  declare const defaultExclude: {
143
- readonly modules: ({
144
- path
145
- }: ResolveArgs) => boolean;
146
- readonly dist: ({
147
- path
148
- }: ResolveArgs) => boolean;
149
- readonly build: ({
150
- path
151
- }: ResolveArgs) => boolean;
152
- readonly types: ({
153
- import: imp
154
- }: ResolveArgs) => boolean;
153
+ readonly modules: ({ path }: ResolveArgs) => boolean;
154
+ readonly dist: ({ path }: ResolveArgs) => boolean;
155
+ readonly build: ({ path }: ResolveArgs) => boolean;
156
+ readonly types: ({ import: imp }: ResolveArgs) => boolean;
155
157
  };
156
158
  type DefaultExclude = typeof defaultExclude;
157
159
  //#endregion
@@ -262,5 +264,5 @@ interface ResolvedConfig {
262
264
  */
263
265
  declare function defineConfig(config: UserConfig): ResolvedConfig;
264
266
  //#endregion
265
- export { react as A, ResolveHook as C, cleanup as D, StaticPlugin as E, Logger as F, po$1 as M, core$1 as N, core as O, cleanup$1 as P, ResolveArgs as S, UniversalPlugin as T, LoadResult as _, ExcludeFn as a, ProcessHook as b, ResolvedEntrypoint as c, Build as d, Context as f, LoadHook as g, LoadArgs as h, ExcludeConfig as i, react$1 as j, po as k, UserConfig as l, ImportReference as m, EntrypointConfig as n, ObsoleteStrategy as o, Filter as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, Plugin as v, ResolveResult as w, ProcessResult as x, ProcessArgs as y };
266
- //# sourceMappingURL=configuration-oHJyypq5.d.mts.map
267
+ export { po as A, ProcessHook as C, StaticPlugin as D, UniversalPlugin as E, cleanup$1 as F, Logger as I, react$1 as M, po$1 as N, cleanup as O, core$1 as P, ProcessArgs as S, SourceArgs as T, LoadArgs as _, ExcludeFn as a, OutputsHook as b, ResolvedEntrypoint as c, Build as d, CollectedArgs as f, ImportReference as g, FileTranslations as h, ExcludeConfig as i, react as j, core as k, UserConfig as l, Context as m, EntrypointConfig as n, ObsoleteStrategy as o, CollectedHook as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, LoadHook as v, ResolveArgs as w, Plugin as x, OutputsArgs as y };
268
+ //# sourceMappingURL=configuration-Bwtek7Fh.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration-Bwtek7Fh.d.mts","names":[],"sources":["../src/logger.ts","../src/plugins/core/queries/types.ts","../src/plugins/cleanup/cleanup.ts","../src/plugins/core/core.ts","../src/plugins/po/po.ts","../src/plugins/react/react.ts","../src/static.ts","../src/plugin.ts","../src/exclude.ts","../src/configuration.ts"],"mappings":";;;;KAIY,SAAS,IAAI;KACb,gBAAgB,IAAI;KACpB,WAAW;;;UCHN;EACb;EACA;EACA;EACA;EACA;;UAGa;EACb;EACA;EACA;EACA;EACA,WAAW;EACX;;;;iBCVY,aAAW;;;iBCEX,UAAQ;;;iBCCR,QAAM;;;iBCLN,WAAS;;;iBCAT,QAAQ,OAAO,kBAAkB;;;;;;iBASjC,SAAS,OAAO,kBAAkB;;;;;;iBAQlC,MAAM,OAAO,kBAAkB;;;;;;iBAS/B,WAAW,OAAO,kBAAkB;;;;;;KASxC,eACN,kBAAkB,QAClB,kBAAkB,SAClB,kBAAkB,MAClB,kBAAkB;;;KCvCnB,aAAa,KAAK,IAAI,QAAQ;UAElB;EACb,QAAQ;EACR,aAAa;;EAEb,OAAO;EACP,SAAS;;UAGI;EACb;EACA;EACA;;;UAIa,YAAY;EACzB;E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{ PluralFormsLocale } from "@let-value/translate";
2
2
  import log from "loglevel";
3
+ import "@keqingmoe/tree-sitter";
3
4
  //#region src/logger.d.ts
4
5
  type Logger = log.Logger;
5
6
  type LogLevelNames = log.LogLevelNames;
6
7
  type LogLevel = LogLevelNames;
7
8
  //#endregion
8
- //#region src/plugins/cleanup/cleanup.d.ts
9
- declare function cleanup$1(): Plugin;
10
- //#endregion
11
9
  //#region src/plugins/core/queries/types.d.ts
12
10
  interface Comments {
13
11
  translator?: string;
@@ -25,14 +23,17 @@ interface Translation {
25
23
  obsolete?: boolean;
26
24
  }
27
25
  //#endregion
26
+ //#region src/plugins/cleanup/cleanup.d.ts
27
+ declare function cleanup$1(): Plugin;
28
+ //#endregion
28
29
  //#region src/plugins/core/core.d.ts
29
- declare function core$1(): Plugin<string, Translation[]>;
30
+ declare function core$1(): Plugin;
30
31
  //#endregion
31
32
  //#region src/plugins/po/po.d.ts
32
33
  declare function po$1(): Plugin;
33
34
  //#endregion
34
35
  //#region src/plugins/react/react.d.ts
35
- declare function react$1(): Plugin<string, Translation[]>;
36
+ declare function react$1(): Plugin;
36
37
  //#endregion
37
38
  //#region src/static.d.ts
38
39
  declare function core(...props: Parameters<typeof core$1>): {
@@ -66,6 +67,7 @@ type MaybePromise<T> = T | Promise<T>;
66
67
  interface Context {
67
68
  config: ResolvedConfig;
68
69
  generatedAt: Date;
70
+ /** Entrypoint roots discovered in this run (including promoted ones). */
69
71
  paths: Set<string>;
70
72
  logger?: Logger;
71
73
  }
@@ -74,6 +76,7 @@ interface ImportReference {
74
76
  kind: "static" | "dynamic";
75
77
  typeOnly: boolean;
76
78
  }
79
+ /** Arguments passed to exclude filters. */
77
80
  interface ResolveArgs<TInput = unknown> {
78
81
  entrypoint: string;
79
82
  path: string;
@@ -81,75 +84,76 @@ interface ResolveArgs<TInput = unknown> {
81
84
  import?: ImportReference;
82
85
  data?: TInput;
83
86
  }
84
- interface ResolveResult<TInput = unknown> {
87
+ interface SourceArgs {
85
88
  entrypoint: string;
86
89
  path: string;
87
- namespace: string;
88
90
  import?: ImportReference;
89
- data?: TInput;
90
91
  }
91
- interface LoadArgs<TInput = unknown> {
92
+ interface LoadArgs {
92
93
  entrypoint: string;
93
94
  path: string;
94
- namespace: string;
95
- data?: TInput;
96
95
  }
97
- interface LoadResult<TInput = unknown> {
96
+ /** Produces the contents of a source file; return undefined to let the next loader try. */
97
+ type LoadHook = (args: LoadArgs) => MaybePromise<string | undefined>;
98
+ interface ProcessArgs {
98
99
  entrypoint: string;
99
100
  path: string;
100
- namespace: string;
101
- data: TInput;
101
+ contents: string;
102
+ /** Emits translations extracted from this file. */
103
+ emit(translations: Translation[]): void;
102
104
  }
103
- interface ProcessArgs<TInput = unknown> {
104
- entrypoint: string;
105
+ /** Runs for every loaded source file. Return a non-undefined value to stop later processors for this file. */
106
+ type ProcessHook = (args: ProcessArgs) => MaybePromise<unknown>;
107
+ interface FileTranslations {
105
108
  path: string;
106
- namespace: string;
107
- data: TInput;
109
+ translations: Translation[];
108
110
  }
109
- interface ProcessResult<TOutput = unknown> {
111
+ interface CollectedArgs {
110
112
  entrypoint: string;
111
- path: string;
112
- namespace: string;
113
- data: TOutput;
113
+ /** Translations of every processed source file of this entrypoint, one entry per file. */
114
+ files: FileTranslations[];
115
+ /**
116
+ * Schedules an output artifact. Every entrypoint's onCollected hook has
117
+ * run by the time any producer does, so a producer may read state the
118
+ * hook keeps across entrypoints. Outputs run in parallel; writes to the
119
+ * same path are serialized.
120
+ */
121
+ output(path: string, produce: () => MaybePromise<void>): void;
114
122
  }
115
- type Filter = {
116
- filter: RegExp;
117
- namespace?: string;
118
- };
119
- type ResolveHook<TInput = unknown> = (args: ResolveArgs<TInput>) => MaybePromise<ResolveResult<TInput> | undefined>;
120
- type LoadHook<TInput = unknown> = (args: LoadArgs<TInput>) => MaybePromise<LoadResult<TInput> | undefined>;
121
- type ProcessHook<TInput = unknown, TOutput = unknown> = (args: ProcessArgs<TInput>) => MaybePromise<ProcessResult<TOutput> | undefined>;
122
- interface Build<TInput = unknown, TOutput = unknown> {
123
+ /** Runs once per entrypoint, after all of its source files settled and translations are known. */
124
+ type CollectedHook = (args: CollectedArgs) => MaybePromise<void>;
125
+ interface OutputsArgs {
126
+ /** Every output path produced in this run, across all entrypoints. */
127
+ outputs: string[];
128
+ }
129
+ /** Runs once per run, after every entrypoint produced its outputs. */
130
+ type OutputsHook = (args: OutputsArgs) => MaybePromise<void>;
131
+ interface Build {
123
132
  context: Context;
124
- source(path: string): void;
125
- resolve(args: ResolveArgs<unknown>): void;
126
- load(args: LoadArgs<unknown>): void;
127
- process(args: ProcessArgs<unknown>): void;
128
- defer(namespace: string): Promise<void>;
129
- onResolve(options: Filter, hook: ResolveHook<TInput>): void;
130
- onLoad(options: Filter, hook: LoadHook<TInput>): void;
131
- onProcess(options: Filter, hook: ProcessHook<TInput, TOutput>): void;
133
+ /**
134
+ * Discovers a source file. When `path` equals `entrypoint` a new
135
+ * extraction pipeline is started for it (entrypoint promotion);
136
+ * otherwise the file joins the given entrypoint's walk. Excluded and
137
+ * already-known paths are ignored.
138
+ */
139
+ source(args: SourceArgs): void;
140
+ onLoad(filter: RegExp, hook: LoadHook): void;
141
+ onProcess(filter: RegExp, hook: ProcessHook): void;
142
+ onCollected(hook: CollectedHook): void;
143
+ onOutputs(hook: OutputsHook): void;
132
144
  }
133
- interface Plugin<TInput = unknown, TOutput = unknown> {
145
+ interface Plugin {
134
146
  name: string;
135
- setup(build: Build<TInput, TOutput>): void;
147
+ setup(build: Build): void;
136
148
  }
137
149
  type UniversalPlugin = Plugin | StaticPlugin;
138
150
  //#endregion
139
151
  //#region src/exclude.d.ts
140
152
  declare const defaultExclude: {
141
- readonly modules: ({
142
- path
143
- }: ResolveArgs) => boolean;
144
- readonly dist: ({
145
- path
146
- }: ResolveArgs) => boolean;
147
- readonly build: ({
148
- path
149
- }: ResolveArgs) => boolean;
150
- readonly types: ({
151
- import: imp
152
- }: ResolveArgs) => boolean;
153
+ readonly modules: ({ path }: ResolveArgs) => boolean;
154
+ readonly dist: ({ path }: ResolveArgs) => boolean;
155
+ readonly build: ({ path }: ResolveArgs) => boolean;
156
+ readonly types: ({ import: imp }: ResolveArgs) => boolean;
153
157
  };
154
158
  type DefaultExclude = typeof defaultExclude;
155
159
  //#endregion
@@ -260,5 +264,5 @@ interface ResolvedConfig {
260
264
  */
261
265
  declare function defineConfig(config: UserConfig): ResolvedConfig;
262
266
  //#endregion
263
- export { react as A, ResolveHook as C, cleanup as D, StaticPlugin as E, Logger as F, po$1 as M, core$1 as N, core as O, cleanup$1 as P, ResolveArgs as S, UniversalPlugin as T, LoadResult as _, ExcludeFn as a, ProcessHook as b, ResolvedEntrypoint as c, Build as d, Context as f, LoadHook as g, LoadArgs as h, ExcludeConfig as i, react$1 as j, po as k, UserConfig as l, ImportReference as m, EntrypointConfig as n, ObsoleteStrategy as o, Filter as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, Plugin as v, ResolveResult as w, ProcessResult as x, ProcessArgs as y };
264
- //# sourceMappingURL=configuration-BVNh7M_I.d.cts.map
267
+ export { po as A, ProcessHook as C, StaticPlugin as D, UniversalPlugin as E, cleanup$1 as F, Logger as I, react$1 as M, po$1 as N, cleanup as O, core$1 as P, ProcessArgs as S, SourceArgs as T, LoadArgs as _, ExcludeFn as a, OutputsHook as b, ResolvedEntrypoint as c, Build as d, CollectedArgs as f, ImportReference as g, FileTranslations as h, ExcludeConfig as i, react as j, core as k, UserConfig as l, Context as m, EntrypointConfig as n, ObsoleteStrategy as o, CollectedHook as p, Exclude as r, ResolvedConfig as s, DestinationFn as t, defineConfig as u, LoadHook as v, ResolveArgs as w, Plugin as x, OutputsArgs as y };
268
+ //# sourceMappingURL=configuration-DLSMbmU5.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration-DLSMbmU5.d.cts","names":[],"sources":["../src/logger.ts","../src/plugins/core/queries/types.ts","../src/plugins/cleanup/cleanup.ts","../src/plugins/core/core.ts","../src/plugins/po/po.ts","../src/plugins/react/react.ts","../src/static.ts","../src/plugin.ts","../src/exclude.ts","../src/configuration.ts"],"mappings":";;;;KAIY,SAAS,IAAI;KACb,gBAAgB,IAAI;KACpB,WAAW;;;UCHN;EACb;EACA;EACA;EACA;EACA;;UAGa;EACb;EACA;EACA;EACA;EACA,WAAW;EACX;;;;iBCVY,aAAW;;;iBCEX,UAAQ;;;iBCCR,QAAM;;;iBCLN,WAAS;;;iBCAT,QAAQ,OAAO,kBAAkB;;;;;;iBASjC,SAAS,OAAO,kBAAkB;;;;;;iBAQlC,MAAM,OAAO,kBAAkB;;;;;;iBAS/B,WAAW,OAAO,kBAAkB;;;;;;KASxC,eACN,kBAAkB,QAClB,kBAAkB,SAClB,kBAAkB,MAClB,kBAAkB;;;KCvCnB,aAAa,KAAK,IAAI,QAAQ;UAElB;EACb,QAAQ;EACR,aAAa;;EAEb,OAAO;EACP,SAAS;;UAGI;EACb;EACA;EACA;;;UAIa,YAAY;EACzB;EACA;EACA;EACA,SAAS;EACT,OAAO;;UAGM;EACb;EACA;EACA,SAAS;;UAGI;EACb;EACA;;;KAIQ,YAAY,MAAM,aAAa;UAE1B;EACb;EACA;EACA;;EAEA,KAAK,cAAc;;;KAIX,eAAe,MAAM,gBAAgB;UAEhC;EACb;EACA,cAAc;;UAGD;EACb;;EAEA,OAAO;;;;;;;EAOP,OAAO,cAAc,eAAe;;;KAI5B,iBAAiB,MAAM,kBAAkB;UAEpC;;EAEb;;;KAIQ,eAAe,MAAM,gBAAgB;UAEhC;EACb,SAAS;;;;;;;EAOT,OAAO,MAAM;EACb,OAAO,QAAQ,QAAQ,MAAM;EAC7B,UAAU,QAAQ,QAAQ,MAAM;EAChC,YAAY,MAAM;EAClB,UAAU,MAAM;;UAGH;EACb;EACA,MAAM,OAAO;;KAGL,kBAAkB,SAAS;;;cC3F1B;WACW,YAAA,QAAA;WACH,SAAA,QAAA;WACC,UAAA,QAAA;WACO,UAAA,QAAA,OAAA;;KAGjB,wB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