@clef-sh/core 0.1.20 → 0.1.21-beta.154

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Compute the canonical SHA-256 hash of an artifact's base64-encoded ciphertext.
3
+ *
4
+ * Used by the packer to populate `PackedArtifact.ciphertextHash`, by the runtime
5
+ * to verify integrity on fetch, and by the envelope debugger to recompute on
6
+ * inspect. A single implementation across all three sites prevents silent
7
+ * divergence that would hide corruption.
8
+ */
9
+ export declare function computeCiphertextHash(ciphertext: string): string;
10
+ //# sourceMappingURL=hash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hash.d.ts","sourceRoot":"","sources":["../../src/artifact/hash.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"packer.d.ts","sourceRoot":"","sources":["../../src/artifact/packer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAiB,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,SAAS,CAAC;AAKjE;;;;;;GAMG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;gBAFJ,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,aAAa,EAC5B,GAAG,CAAC,EAAE,WAAW,YAAA;IAGpC;;;OAGG;IACG,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;CAiI9F"}
1
+ {"version":3,"file":"packer.d.ts","sourceRoot":"","sources":["../../src/artifact/packer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAiB,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,SAAS,CAAC;AAMjE;;;;;;GAMG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;gBAFJ,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,aAAa,EAC5B,GAAG,CAAC,EAAE,WAAW,YAAA;IAGpC;;;OAGG;IACG,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;CAiI9F"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Pure builders that produce the envelope-debug output shapes from a
3
+ * {@link PackedArtifact} and per-check inputs. No I/O.
4
+ *
5
+ * Consumed by both the CLI (`clef envelope {inspect,verify,decrypt}` with
6
+ * `--json`) and the UI server (`/api/envelope/{inspect,verify,decrypt}`).
7
+ * Golden-snapshot fixtures pin the output byte-for-byte.
8
+ */
9
+ import type { PackedArtifact } from "../artifact/types";
10
+ import type { DecryptResult, DecryptSuccessInputs, InspectResult, VerifyInputs, VerifyResult } from "./types";
11
+ /** Build an {@link InspectResult} for a source that could not be fetched or parsed. */
12
+ export declare function buildInspectError(source: string, code: string, message: string): InspectResult;
13
+ /**
14
+ * Build an {@link InspectResult} from a parsed artifact.
15
+ *
16
+ * When `hashOk === null`, hash verification was skipped (`--no-verify-hash`).
17
+ * `now` is injectable so tests produce deterministic `packedAtAgeMs` values.
18
+ */
19
+ export declare function buildInspectResult(source: string, artifact: PackedArtifact, hashOk: boolean | null, now?: number): InspectResult;
20
+ /** Build a {@link VerifyResult} for a source that could not be fetched or parsed. */
21
+ export declare function buildVerifyError(source: string, code: string, message: string): VerifyResult;
22
+ /** Combine per-check results into a {@link VerifyResult} with `overall` derived. */
23
+ export declare function buildVerifyResult(source: string, inputs: VerifyInputs): VerifyResult;
24
+ /** Build a {@link DecryptResult} for a source that could not be decrypted. */
25
+ export declare function buildDecryptError(source: string, code: string, message: string): DecryptResult;
26
+ /** Build a success {@link DecryptResult}. Enforces the safe default: names only. */
27
+ export declare function buildDecryptResult(source: string, inputs: DecryptSuccessInputs): DecryptResult;
28
+ //# sourceMappingURL=builders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../src/envelope-debug/builders.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,aAAa,EAEb,YAAY,EACZ,YAAY,EACb,MAAM,SAAS,CAAC;AAIjB,uFAAuF;AACvF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,aAAa,CAoB9F;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,OAAO,GAAG,IAAI,EACtB,GAAG,GAAE,MAAmB,GACvB,aAAa,CAoCf;AAID,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,CAY5F;AAED,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,YAAY,CAepF;AAID,8EAA8E;AAC9E,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,aAAa,CAS9F;AAED,oFAAoF;AACpF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAG,aAAa,CAe9F"}
@@ -0,0 +1,5 @@
1
+ export type { InspectEnvelope, InspectResult, HashStatus, SignatureStatus, ExpiryStatus, RevocationStatus, OverallStatus, VerifyResult, VerifyInputs, DecryptStatus, DecryptResult, DecryptSuccessInputs, } from "./types";
2
+ export { buildInspectError, buildInspectResult, buildVerifyError, buildVerifyResult, buildDecryptError, buildDecryptResult, } from "./builders";
3
+ export { REVEAL_WARNING, formatRevealWarning } from "./warnings";
4
+ export { parseSignerKey } from "./signer-key";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/envelope-debug/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,aAAa,EACb,UAAU,EACV,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,oBAAoB,GACrB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Parse a signer-key argument into a base64-encoded DER SPKI public key
3
+ * suitable for `verifySignature`.
4
+ *
5
+ * Input precedence:
6
+ * 1. Starts with `-----BEGIN` → parsed as PEM (any public-key type).
7
+ * 2. Otherwise → treated as an already-base64 DER SPKI.
8
+ *
9
+ * The base64 branch is validated by round-tripping through `createPublicKey`
10
+ * so malformed input fails here, not deep inside verify.
11
+ *
12
+ * This function never touches the filesystem. CLI callers that want to accept
13
+ * a `--signer-key-file <path>` flag must read the file themselves and pass
14
+ * the contents in — that keeps the file-read sink at an explicit operator
15
+ * boundary rather than smuggling it inside a parser.
16
+ */
17
+ export declare function parseSignerKey(input: string): string;
18
+ //# sourceMappingURL=signer-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signer-key.d.ts","sourceRoot":"","sources":["../../src/envelope-debug/signer-key.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAoBpD"}
@@ -0,0 +1,142 @@
1
+ /**
2
+ * Shared output shapes for the envelope debugging surface.
3
+ *
4
+ * These types define the binding contract for both the `clef envelope`
5
+ * CLI's `--json` output and the UI server's `/api/envelope/*` responses.
6
+ * Golden-snapshot fixtures in `__fixtures__/envelope-snapshots/` pin the
7
+ * wire shape byte-for-byte; changing a field here requires regenerating
8
+ * those fixtures intentionally.
9
+ *
10
+ * Pure type declarations only — no runtime code. Builders live in
11
+ * `./builders`.
12
+ */
13
+ /** Envelope descriptor used in both human and JSON inspect output. */
14
+ export type InspectEnvelope = {
15
+ provider: "age";
16
+ kms: null;
17
+ } | {
18
+ provider: string;
19
+ kms: {
20
+ provider: string;
21
+ keyId: string;
22
+ algorithm: string;
23
+ };
24
+ };
25
+ /**
26
+ * Shape of a single-source inspect result. Fields are never elided; absent
27
+ * data is `null`. Error cases swap the success fields for an `error`
28
+ * envelope.
29
+ */
30
+ export interface InspectResult {
31
+ source: string;
32
+ version: number | null;
33
+ identity: string | null;
34
+ environment: string | null;
35
+ packedAt: string | null;
36
+ packedAtAgeMs: number | null;
37
+ revision: string | null;
38
+ ciphertextHash: string | null;
39
+ ciphertextHashVerified: boolean | null;
40
+ ciphertextBytes: number | null;
41
+ expiresAt: string | null;
42
+ expired: boolean | null;
43
+ revokedAt: string | null;
44
+ revoked: boolean | null;
45
+ envelope: InspectEnvelope | null;
46
+ signature: {
47
+ present: boolean;
48
+ algorithm: string | null;
49
+ verified: boolean | null;
50
+ };
51
+ error: {
52
+ code: string;
53
+ message: string;
54
+ } | null;
55
+ }
56
+ export type HashStatus = "ok" | "mismatch" | "skipped";
57
+ export type SignatureStatus = "valid" | "invalid" | "absent" | "not_verified";
58
+ export type ExpiryStatus = "ok" | "expired" | "absent";
59
+ export type RevocationStatus = "ok" | "revoked" | "absent";
60
+ export type OverallStatus = "pass" | "fail";
61
+ /**
62
+ * Shape of a `verify` result.
63
+ *
64
+ * The `overall` field summarizes the four checks: `fail` if any is
65
+ * `mismatch` or `invalid`, otherwise `pass`. Expiry and revocation are
66
+ * reports-only in v1 — they do not flip `overall` to `fail`.
67
+ */
68
+ export interface VerifyResult {
69
+ source: string;
70
+ checks: {
71
+ hash: {
72
+ status: HashStatus;
73
+ };
74
+ signature: {
75
+ status: SignatureStatus;
76
+ algorithm: string | null;
77
+ };
78
+ expiry: {
79
+ status: ExpiryStatus;
80
+ expiresAt: string | null;
81
+ };
82
+ revocation: {
83
+ status: RevocationStatus;
84
+ revokedAt: string | null;
85
+ };
86
+ };
87
+ overall: OverallStatus;
88
+ error: {
89
+ code: string;
90
+ message: string;
91
+ } | null;
92
+ }
93
+ export interface VerifyInputs {
94
+ hash: HashStatus;
95
+ signature: {
96
+ status: SignatureStatus;
97
+ algorithm: string | null;
98
+ };
99
+ expiry: {
100
+ status: ExpiryStatus;
101
+ expiresAt: string | null;
102
+ };
103
+ revocation: {
104
+ status: RevocationStatus;
105
+ revokedAt: string | null;
106
+ };
107
+ }
108
+ export type DecryptStatus = "ok" | "error";
109
+ /**
110
+ * Shape of a `decrypt` result.
111
+ *
112
+ * `values` is `null` unless `--reveal` or `--key <name>` was passed;
113
+ * `revealed` lets downstream scripts assert the expected safety posture.
114
+ * Errors swap `status` to `"error"` and populate the `error` envelope.
115
+ */
116
+ export interface DecryptResult {
117
+ source: string;
118
+ status: DecryptStatus;
119
+ error: {
120
+ code: string;
121
+ message: string;
122
+ } | null;
123
+ revealed: boolean;
124
+ keys: string[];
125
+ values: Record<string, string> | null;
126
+ }
127
+ export interface DecryptSuccessInputs {
128
+ /** Key names from the decrypted payload. Always present (sorted by the builder). */
129
+ keys: string[];
130
+ /** Full key-value map, only set when `--reveal` was passed. */
131
+ allValues?: Record<string, string>;
132
+ /**
133
+ * Single-key disclosure — set when `--key <name>` was passed. Reduces the
134
+ * render surface to one value; the rest remain hidden. Mutually exclusive
135
+ * with `allValues` at the command layer (the command validates this).
136
+ */
137
+ singleKey?: {
138
+ name: string;
139
+ value: string;
140
+ };
141
+ }
142
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/envelope-debug/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,sEAAsE;AACtE,MAAM,MAAM,eAAe,GACvB;IAAE,QAAQ,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,IAAI,CAAA;CAAE,GAC9B;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEN;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC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AM,EAAE,CAAC;IACf,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7C"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Canonical `--reveal` warning strings for the envelope debug surface.
3
+ *
4
+ * Emitted by the CLI to stderr (before the first stdout byte of a revealed
5
+ * value, only after validation passes), and by the UI as a banner above the
6
+ * Decrypt card. Two variants:
7
+ *
8
+ * - REVEAL_WARNING (all-values) — used with --reveal (unscoped)
9
+ * - formatRevealWarning("DB_URL") — named-key variant, used with --key
10
+ *
11
+ * The named-key variant exists because `--key <name>` reduces the
12
+ * disclosure surface to a single value; the warning should say which
13
+ * value is about to appear so the operator can make an informed call
14
+ * (a shoulder-surfer sees one secret, not the whole payload).
15
+ */
16
+ export declare const REVEAL_WARNING = "WARNING: plaintext will be printed to stdout. Shell history, terminal scrollback, and any attached logging (tmux capture-pane, CI log collectors, screen-recording) may retain it. Proceed only if this terminal and its upstream captures are trusted.";
17
+ /**
18
+ * Build the `--reveal` warning. Without `key`, returns the canonical
19
+ * all-values `REVEAL_WARNING`. With a key name, returns a variant that
20
+ * names exactly which value is about to appear.
21
+ */
22
+ export declare function formatRevealWarning(key?: string): string;
23
+ //# sourceMappingURL=warnings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warnings.d.ts","sourceRoot":"","sources":["../../src/envelope-debug/warnings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,eAAO,MAAM,cAAc,4PAAkE,CAAC;AAE9F;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAGxD"}
package/dist/index.d.mts CHANGED
@@ -5,6 +5,8 @@ export { ScanRunner, shannonEntropy, isHighEntropy, matchPatterns, redactValue,
5
5
  export type { ScanMatch, ScanResult, ScanOptions, ClefIgnoreRules } from "./scanner";
6
6
  export { MatrixManager } from "./matrix/manager";
7
7
  export { SchemaValidator } from "./schema/validator";
8
+ export { serializeSchema, writeSchema, writeSchemaRaw, emptyTemplate, exampleTemplate, } from "./schema/writer";
9
+ export type { SerializeSchemaOptions } from "./schema/writer";
8
10
  export { DiffEngine } from "./diff/engine";
9
11
  export { BulkOps } from "./bulk/ops";
10
12
  export { GitIntegration } from "./git/integration";
@@ -49,6 +51,9 @@ export { isPackedArtifact, validatePackedArtifact, assertPackedArtifact, Invalid
49
51
  export type { ValidationResult } from "./artifact/guards";
50
52
  export type { PackedArtifact, PackConfig, PackResult, PackOutput, KmsEnvelope, SignatureAlgorithm, } from "./artifact/types";
51
53
  export { buildSigningPayload, generateSigningKeyPair, signEd25519, signKms, verifySignature, detectAlgorithm, } from "./artifact/signer";
54
+ export { computeCiphertextHash } from "./artifact/hash";
55
+ export type { InspectEnvelope, InspectResult, HashStatus, SignatureStatus, ExpiryStatus, RevocationStatus, OverallStatus, VerifyResult, VerifyInputs, DecryptStatus, DecryptResult, DecryptSuccessInputs, } from "./envelope-debug";
56
+ export { buildInspectError, buildInspectResult, buildVerifyError, buildVerifyResult, buildDecryptError, buildDecryptResult, REVEAL_WARNING, formatRevealWarning, parseSignerKey, } from "./envelope-debug";
52
57
  export { PackBackendRegistry } from "./pack/registry";
53
58
  export type { PackBackend, PackBackendFactory, PackRequest, PackServices, BackendPackResult, } from "./pack/types";
54
59
  export { JsonEnvelopeBackend } from "./pack/backends/json-envelope";
package/dist/index.d.ts CHANGED
@@ -5,6 +5,8 @@ export { ScanRunner, shannonEntropy, isHighEntropy, matchPatterns, redactValue,
5
5
  export type { ScanMatch, ScanResult, ScanOptions, ClefIgnoreRules } from "./scanner";
6
6
  export { MatrixManager } from "./matrix/manager";
7
7
  export { SchemaValidator } from "./schema/validator";
8
+ export { serializeSchema, writeSchema, writeSchemaRaw, emptyTemplate, exampleTemplate, } from "./schema/writer";
9
+ export type { SerializeSchemaOptions } from "./schema/writer";
8
10
  export { DiffEngine } from "./diff/engine";
9
11
  export { BulkOps } from "./bulk/ops";
10
12
  export { GitIntegration } from "./git/integration";
@@ -49,6 +51,9 @@ export { isPackedArtifact, validatePackedArtifact, assertPackedArtifact, Invalid
49
51
  export type { ValidationResult } from "./artifact/guards";
50
52
  export type { PackedArtifact, PackConfig, PackResult, PackOutput, KmsEnvelope, SignatureAlgorithm, } from "./artifact/types";
51
53
  export { buildSigningPayload, generateSigningKeyPair, signEd25519, signKms, verifySignature, detectAlgorithm, } from "./artifact/signer";
54
+ export { computeCiphertextHash } from "./artifact/hash";
55
+ export type { InspectEnvelope, InspectResult, HashStatus, SignatureStatus, ExpiryStatus, RevocationStatus, OverallStatus, VerifyResult, VerifyInputs, DecryptStatus, DecryptResult, DecryptSuccessInputs, } from "./envelope-debug";
56
+ export { buildInspectError, buildInspectResult, buildVerifyError, buildVerifyResult, buildDecryptError, buildDecryptResult, REVEAL_WARNING, formatRevealWarning, parseSignerKey, } from "./envelope-debug";
52
57
  export { PackBackendRegistry } from "./pack/registry";
53
58
  export type { PackBackend, PackBackendFactory, PackRequest, PackServices, BackendPackResult, } from "./pack/types";
54
59
  export { JsonEnvelopeBackend } from "./pack/backends/json-envelope";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,EACL,UAAU,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,SAA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