@dialecte/core 0.4.3 → 0.4.6

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.
Files changed (48) hide show
  1. package/dist/document/index.d.ts +1 -1
  2. package/dist/document/index.d.ts.map +1 -1
  3. package/dist/document/query/any/any-query.d.ts +9 -0
  4. package/dist/document/query/any/any-query.d.ts.map +1 -1
  5. package/dist/document/query/get/attribute/get-attribute.d.ts +19 -10
  6. package/dist/document/query/get/attribute/get-attribute.d.ts.map +1 -1
  7. package/dist/document/query/get/attribute/get-attributes.d.ts +21 -7
  8. package/dist/document/query/get/attribute/get-attributes.d.ts.map +1 -1
  9. package/dist/document/query/main.d.ts +51 -11
  10. package/dist/document/query/main.d.ts.map +1 -1
  11. package/dist/document/transaction/create/create.d.ts.map +1 -1
  12. package/dist/document/transaction/create/create.types.d.ts +32 -2
  13. package/dist/document/transaction/create/create.types.d.ts.map +1 -1
  14. package/dist/document/transaction/update/update.d.ts.map +1 -1
  15. package/dist/document/types.d.ts +13 -1
  16. package/dist/document/types.d.ts.map +1 -1
  17. package/dist/errors/codes.d.ts +8 -0
  18. package/dist/errors/codes.d.ts.map +1 -1
  19. package/dist/helpers/assert-fixed.d.ts +14 -0
  20. package/dist/helpers/assert-fixed.d.ts.map +1 -0
  21. package/dist/helpers/converter.d.ts +2 -2
  22. package/dist/helpers/converter.d.ts.map +1 -1
  23. package/dist/helpers/index.d.ts +1 -0
  24. package/dist/helpers/index.d.ts.map +1 -1
  25. package/dist/helpers/standardizing.d.ts +2 -2
  26. package/dist/helpers/standardizing.d.ts.map +1 -1
  27. package/dist/helpers.js +105 -84
  28. package/dist/index.js +3 -3
  29. package/dist/project/project.d.ts +24 -0
  30. package/dist/project/project.d.ts.map +1 -1
  31. package/dist/{project-D0KkiT1t.js → project-wohrish5.js} +1624 -1440
  32. package/dist/store/in-memory/in-memory-store.d.ts +10 -0
  33. package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
  34. package/dist/store/local/dexie-store.d.ts +38 -0
  35. package/dist/store/local/dexie-store.d.ts.map +1 -1
  36. package/dist/store/store.types.d.ts +17 -0
  37. package/dist/store/store.types.d.ts.map +1 -1
  38. package/dist/test.js +1 -1
  39. package/dist/types/dialecte-config.d.ts +70 -20
  40. package/dist/types/dialecte-config.d.ts.map +1 -1
  41. package/dist/utils/attribute-rules.d.ts +43 -27
  42. package/dist/utils/attribute-rules.d.ts.map +1 -1
  43. package/dist/utils/attribute-rules.types.d.ts +41 -0
  44. package/dist/utils/attribute-rules.types.d.ts.map +1 -0
  45. package/dist/{utils-DgKwrT2n.js → utils-C5_11hqg.js} +42 -8
  46. package/dist/utils.js +2 -2
  47. package/dist/xml/build/build-xml-document.d.ts.map +1 -1
  48. package/package.json +1 -1
package/dist/helpers.js CHANGED
@@ -1,15 +1,15 @@
1
- import { a as e, c as t, l as n, o as r, r as i, s as a } from "./utils-DgKwrT2n.js";
1
+ import { a as e, c as t, l as n, o as r, p as i, r as a, u as o } from "./utils-C5_11hqg.js";
2
2
  //#region src/helpers/constant.ts
3
- var o = "db-id", s = {
3
+ var s = "db-id", c = {
4
4
  uri: "http://dialecte.dev/XML/DEV",
5
5
  prefix: "dev"
6
- }, c = `${s.prefix}:${o}`, l = {
6
+ }, l = `${c.prefix}:${s}`, u = {
7
7
  uri: "http://www.w3.org/2001/XMLSchema-instance",
8
8
  prefix: "xsi"
9
- }, u = `xmlns:${l.prefix}="${l.uri}"`, d = {
10
- dev: s,
11
- xsi: l
12
- }, f = [
9
+ }, d = `xmlns:${u.prefix}="${u.uri}"`, f = {
10
+ dev: c,
11
+ xsi: u
12
+ }, p = [
13
13
  "id",
14
14
  "tagName",
15
15
  "namespace",
@@ -17,26 +17,23 @@ var o = "db-id", s = {
17
17
  "children",
18
18
  "parent",
19
19
  "value"
20
- ], p = [...f, "status"], m = [...p, "tree"];
21
- function h(e, t) {
20
+ ], m = [...p, "status"], h = [...m, "tree"];
21
+ function g(e, t) {
22
22
  if (typeof e != "object" || !e) return !1;
23
23
  let n = Object.keys(e);
24
24
  return t.every((t) => t in e) && n.every((e) => t.includes(e)) && n.length === t.length;
25
25
  }
26
- function g(e) {
27
- return Array.isArray(e);
28
- }
29
26
  function _(e) {
30
- return h(e, f);
27
+ return Array.isArray(e);
31
28
  }
32
29
  function v(e) {
33
- return h(e, p);
30
+ return g(e, p);
34
31
  }
35
32
  function y(e) {
36
- return h(e, m);
33
+ return g(e, m);
37
34
  }
38
- function b(e, t) {
39
- return e.tagName === t;
35
+ function b(e) {
36
+ return g(e, h);
40
37
  }
41
38
  function x(e, t) {
42
39
  return e.tagName === t;
@@ -45,14 +42,17 @@ function S(e, t) {
45
42
  return e.tagName === t;
46
43
  }
47
44
  function C(e, t) {
48
- return t.elements.includes(e);
45
+ return e.tagName === t;
49
46
  }
50
47
  function w(e, t) {
48
+ return t.elements.includes(e);
49
+ }
50
+ function T(e, t) {
51
51
  return e.attributes.some((e) => e.name === t);
52
52
  }
53
53
  //#endregion
54
54
  //#region src/helpers/converter.ts
55
- function T(e) {
55
+ function E(e) {
56
56
  return {
57
57
  id: e.id,
58
58
  tagName: e.tagName,
@@ -63,116 +63,137 @@ function T(e) {
63
63
  children: e.children
64
64
  };
65
65
  }
66
- function E(e) {
66
+ function D(e) {
67
67
  let { record: t, status: n } = e, r = n ?? ("status" in t ? t.status : "unchanged");
68
68
  return {
69
- ...T(t),
69
+ ...E(t),
70
70
  status: r
71
71
  };
72
72
  }
73
- function D(e) {
73
+ function O(e) {
74
74
  let { record: t, status: n, tree: r } = e, i = r ?? ("tree" in t ? t.tree : []);
75
75
  return {
76
- ...E({
76
+ ...D({
77
77
  record: t,
78
78
  status: n
79
79
  }),
80
80
  tree: i
81
81
  };
82
82
  }
83
- function O(e) {
83
+ function k(e) {
84
84
  let { dialecteConfig: t, tagName: n, attributes: r } = e;
85
- return (g(r) ? r : Object.entries(r).map(([e, r]) => ({
85
+ return (Array.isArray(r) ? r : Object.entries(r).map(([e, r]) => ({
86
86
  name: e,
87
87
  value: r,
88
88
  namespace: t.definition[n]?.attributes.details[e]?.namespace || void 0
89
- }))).map((e) => k({
89
+ }))).map((e) => A({
90
90
  attribute: e,
91
91
  dialecteConfig: t,
92
92
  tagName: n
93
93
  }));
94
94
  }
95
- function k(r) {
96
- let { attribute: i, dialecteConfig: a, tagName: o } = r, { namespace: s } = i, c = i.name.indexOf(":");
97
- if (!s && c !== -1) {
98
- let e = i.name.slice(0, c);
99
- e !== "xmlns" && (s = t(a, e), s || n("UNKNOWN_NAMESPACE_PREFIX", {
100
- detail: `Unknown namespace prefix '${e}' on attribute '${i.name}' — pass it explicitly as { name, namespace: { prefix, uri } }.`,
101
- ref: { tagName: o }
95
+ function A(t) {
96
+ let { attribute: r, dialecteConfig: a, tagName: s } = t, c;
97
+ typeof r.namespace == "string" ? (c = o(a, r.namespace), c || i("UNKNOWN_NAMESPACE_PREFIX", {
98
+ detail: `Unknown namespace '${r.namespace}' on attribute '${r.name}' — use a registered namespace key or pass a full { name, namespace: { prefix, uri } }.`,
99
+ ref: { tagName: s }
100
+ })) : c = r.namespace;
101
+ let l = r.name.indexOf(":");
102
+ if (!c && l !== -1) {
103
+ let e = r.name.slice(0, l);
104
+ e !== "xmlns" && (c = n(a, e), c || i("UNKNOWN_NAMESPACE_PREFIX", {
105
+ detail: `Unknown namespace prefix '${e}' on attribute '${r.name}' — pass it explicitly as { name, namespace: { prefix, uri } }.`,
106
+ ref: { tagName: s }
102
107
  }));
103
108
  }
104
- return s && s.prefix && s.prefix !== "xmlns" ? {
105
- ...i,
106
- name: `${s.prefix}:${e(i.name)}`,
107
- namespace: s
108
- } : s === i.namespace ? i : {
109
- ...i,
110
- namespace: s
111
- };
109
+ return c && c.prefix && c.prefix !== "xmlns" ? {
110
+ ...r,
111
+ name: `${c.prefix}:${e(r.name)}`,
112
+ namespace: c
113
+ } : (r.namespace, {
114
+ ...r,
115
+ namespace: c
116
+ });
112
117
  }
113
- function A(e) {
114
- return i(e, { detail: "The record or ref is undefined" }), {
118
+ function j(e) {
119
+ return a(e, { detail: "The record or ref is undefined" }), {
115
120
  id: e.id,
116
121
  tagName: e.tagName
117
122
  };
118
123
  }
119
124
  //#endregion
120
125
  //#region src/helpers/standardizing.ts
121
- function j(e) {
122
- let { dialecteConfig: t, hooks: n, record: i } = e, { id: o, tagName: s, attributes: c, namespace: l, value: u } = i, d = o ?? crypto.randomUUID(), f = c ? O({
123
- tagName: s,
124
- attributes: c,
125
- dialecteConfig: t
126
- }) : [], p = {
127
- id: d,
128
- tagName: s,
129
- attributes: f,
130
- namespace: l ?? {
126
+ function M(e) {
127
+ let { dialecteConfig: n, hooks: r, record: i } = e, { id: a, tagName: o, attributes: s, namespace: c, value: l } = i, u = a ?? crypto.randomUUID(), d = s ? k({
128
+ tagName: o,
129
+ attributes: s,
130
+ dialecteConfig: n
131
+ }) : [], f = {
132
+ id: u,
133
+ tagName: o,
134
+ attributes: d,
135
+ namespace: c ?? {
131
136
  prefix: "prefixNeededForNotSupportedNamespace",
132
137
  uri: "uriNeededForNotSupportedNamespace"
133
138
  },
134
- value: u ?? "",
139
+ value: l ?? "",
135
140
  parent: i.parent ?? null,
136
141
  children: i.children ?? []
142
+ }, p = Object.values(n.namespaces).map(({ uri: e }) => e), m = c?.uri != null && !p.includes(c.uri);
143
+ if (!(n.elements.includes(o) && !m)) return f;
144
+ let h = n.definition[o].attributes.sequence, g = d.filter((e) => {
145
+ let t = h.includes(e.name), n = "namespace" in e && e.namespace != null;
146
+ if (!t && !n) return !1;
147
+ let r = e.value === void 0 || e.value === null || e.value === "";
148
+ return !(t && r);
149
+ }), _ = n.namespaces.default.uri, v = g.map((e) => {
150
+ if ("namespace" in e && e.namespace?.uri === _) {
151
+ let { namespace: t, ...n } = e;
152
+ return n;
153
+ }
154
+ return e;
155
+ }), y = i.parent?.tagName, b = y ? n.definition[y]?.children?.details?.[o]?.namespace : void 0, x = {
156
+ ...f,
157
+ namespace: b ?? n.definition[o].namespace,
158
+ attributes: t(v, h)
137
159
  };
138
- if (!t.elements.includes(s)) return p;
139
- let m = t.definition[s].attributes.sequence, h = m.flatMap((e) => {
140
- let n = r({
160
+ return r?.afterStandardizedRecord && (x = r.afterStandardizedRecord({ record: x }), x = {
161
+ ...x,
162
+ attributes: t(x.attributes, h)
163
+ }), x;
164
+ }
165
+ //#endregion
166
+ //#region src/helpers/assert-fixed.ts
167
+ function N(e) {
168
+ let { dialecteConfig: t, tagName: n, attributes: a } = e;
169
+ for (let e of a) {
170
+ let a = r({
141
171
  dialecteConfig: t,
142
- tagName: s,
143
- attributeName: e
144
- }), i = n.fixed ?? n.default, a = f.find((t) => t.name === e)?.value ?? (n.isRequired ? i ?? "" : i);
145
- return a === void 0 ? [] : [{
146
- name: e,
147
- value: a,
148
- namespace: n.namespace
149
- }];
150
- }), g = f.filter((e) => "namespace" in e && e.namespace != null && !m.includes(e.name)), _ = i.parent?.tagName, v = _ ? t.definition[_]?.children?.details?.[s]?.namespace : void 0, y = {
151
- ...p,
152
- namespace: v ?? t.definition[s].namespace,
153
- attributes: a([...h, ...g], m)
154
- };
155
- return n?.afterStandardizedRecord && (y = n.afterStandardizedRecord({ record: y }), y = {
156
- ...y,
157
- attributes: a(y.attributes, m)
158
- }), y;
172
+ tagName: n,
173
+ attributeName: e.name
174
+ });
175
+ a.fixed !== void 0 && e.value !== a.fixed && i("FIXED_VALUE_VIOLATION", {
176
+ detail: `Attribute '${e.name}' on '${n}' is fixed to '${a.fixed}' but was set to '${String(e.value)}'.`,
177
+ ref: { tagName: n }
178
+ });
179
+ }
159
180
  }
160
181
  //#endregion
161
182
  //#region src/helpers/merge-extensions.ts
162
- function M(e, t, n, r) {
183
+ function P(e, t, n, r) {
163
184
  if (!e || !t) return;
164
- let a = Object.keys(t).filter((t) => t in e);
165
- i(a.length === 0, {
185
+ let i = Object.keys(t).filter((t) => t in e);
186
+ a(i.length === 0, {
166
187
  key: "EXTENSION_METHOD_COLLISION",
167
- detail: `Module "${n}" has conflicting ${r} method(s): ${a.map((e) => `"${e}"`).join(", ")}`
188
+ detail: `Module "${n}" has conflicting ${r} method(s): ${i.map((e) => `"${e}"`).join(", ")}`
168
189
  });
169
190
  }
170
- function N(e) {
191
+ function F(e) {
171
192
  let t = {}, n = {}, r = [...Object.entries(e.base ?? {}), ...Object.entries(e.custom ?? {})];
172
- for (let [e, i] of r) i.query && (M(t[e], i.query, e, "query"), t[e] = {
193
+ for (let [e, i] of r) i.query && (P(t[e], i.query, e, "query"), t[e] = {
173
194
  ...t[e],
174
195
  ...i.query
175
- }), i.transaction && (M(n[e], i.transaction, e, "transaction"), n[e] = {
196
+ }), i.transaction && (P(n[e], i.transaction, e, "transaction"), n[e] = {
176
197
  ...n[e],
177
198
  ...i.transaction
178
199
  });
@@ -183,15 +204,15 @@ function N(e) {
183
204
  }
184
205
  //#endregion
185
206
  //#region src/helpers/strip-attributes.ts
186
- function P(e, t) {
207
+ function I(e, t) {
187
208
  let n = new Set(t), r = {
188
209
  ...e,
189
210
  attributes: e.attributes.filter((e) => !n.has(e.name))
190
211
  };
191
212
  return "tree" in e ? {
192
213
  ...r,
193
- tree: e.tree.map((e) => P(e, t))
214
+ tree: e.tree.map((e) => I(e, t))
194
215
  } : r;
195
216
  }
196
217
  //#endregion
197
- export { c as CUSTOM_RECORD_ID_ATTRIBUTE, o as CUSTOM_RECORD_ID_ATTRIBUTE_NAME, s as DIALECTE_DEV_NAMESPACE, d as DIALECTE_NAMESPACES, u as XMLNS_XSI_NAMESPACE, l as XSI_NAMESPACE, w as isAttributeOf, x as isChildOf, C as isElementOf, g as isFullAttributeArray, S as isParentOf, _ as isRawRecord, b as isRecordOf, v as isTrackedRecord, y as isTreeRecord, N as mergeExtensions, j as standardizeRecord, P as stripAttributes, O as toFullAttributeArray, T as toRawRecord, A as toRef, E as toTrackedRecord, D as toTreeRecord };
218
+ export { l as CUSTOM_RECORD_ID_ATTRIBUTE, s as CUSTOM_RECORD_ID_ATTRIBUTE_NAME, c as DIALECTE_DEV_NAMESPACE, f as DIALECTE_NAMESPACES, d as XMLNS_XSI_NAMESPACE, u as XSI_NAMESPACE, N as assertNoFixedViolation, T as isAttributeOf, S as isChildOf, w as isElementOf, _ as isFullAttributeArray, C as isParentOf, v as isRawRecord, x as isRecordOf, y as isTrackedRecord, b as isTreeRecord, F as mergeExtensions, M as standardizeRecord, I as stripAttributes, k as toFullAttributeArray, E as toRawRecord, j as toRef, D as toTrackedRecord, O as toTreeRecord };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N, et as P, f as F, g as I, h as L, i as R, it as z, j as B, k as V, l as H, lt as U, m as W, n as G, nt as K, o as q, ot as J, p as Y, q as X, r as Z, rt as Q, s as $, st as ee, t as te, tt as ne, u as re, ut as ie, v as ae, w as oe, x as se, y as ce } from "./project-D0KkiT1t.js";
2
- import { l as le, u as ue } from "./utils-DgKwrT2n.js";
3
- export { V as AnyQuery, i as AnyTransaction, N as BLOBS_SCHEMA, F as BLOB_DATA_SCHEMA, Y as CHANGELOG_SCHEMA, W as DOCUMENTS_SCHEMA, re as DexieStore, oe as Document, ue as ERROR_CATALOG, H as InMemoryStore, L as META_SCHEMA, p as ParseSession, te as Project, h as Query, I as TABLE_BLOBS, D as TABLE_BLOB_PREFIX, ae as TABLE_CHANGELOG, ce as TABLE_DOCUMENTS, A as TABLE_META, se as TABLE_RECORD_PREFIX, f as TEMP_IDB_ID_ATTRIBUTE_NAME, a as Transaction, C as applyOmit, x as applyOrder, u as applyUnwrap, ie as bindExtensions, y as blobTableName, R as buildDocumentState, g as buildXmlDocument, S as collectSnapshotRecords, o as downloadFile, q as exportBlob, $ as exportDocument, K as findAncestors, P as findByAttributes, e as findDescendants, v as formatXml, E as getAttribute, _ as getAttributeFullObject, T as getAttributes, w as getAttributesFullObject, z as getChild, Q as getChildren, ee as getRecord, J as getRecords, k as getRecordsByTagName, t as getSnapshot, c as getTree, Z as importDocument, M as indexStagedDeletesByParent, G as initEmptyDocument, m as inspectXml, s as isOmitted, b as isTransactionContext, ne as matchesAttributeFilter, U as overlayAllStaged, d as parseOmit, B as parseXmlFile, O as reconcileDocumentState, r as recordTableName, n as recordsToTree, j as resolveStore, X as shouldStopTraversal, le as throwDialecteError, l as xmlDocumentToString };
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N, et as P, f as F, g as I, h as L, i as R, it as z, j as B, k as V, l as H, lt as U, m as W, n as G, nt as K, o as q, ot as J, p as Y, q as X, r as Z, rt as Q, s as $, st as ee, t as te, tt as ne, u as re, ut as ie, v as ae, w as oe, x as se, y as ce } from "./project-wohrish5.js";
2
+ import { m as le, p as ue } from "./utils-C5_11hqg.js";
3
+ export { V as AnyQuery, i as AnyTransaction, N as BLOBS_SCHEMA, F as BLOB_DATA_SCHEMA, Y as CHANGELOG_SCHEMA, W as DOCUMENTS_SCHEMA, re as DexieStore, oe as Document, le as ERROR_CATALOG, H as InMemoryStore, L as META_SCHEMA, p as ParseSession, te as Project, h as Query, I as TABLE_BLOBS, D as TABLE_BLOB_PREFIX, ae as TABLE_CHANGELOG, ce as TABLE_DOCUMENTS, A as TABLE_META, se as TABLE_RECORD_PREFIX, f as TEMP_IDB_ID_ATTRIBUTE_NAME, a as Transaction, C as applyOmit, x as applyOrder, u as applyUnwrap, ie as bindExtensions, y as blobTableName, R as buildDocumentState, g as buildXmlDocument, S as collectSnapshotRecords, o as downloadFile, q as exportBlob, $ as exportDocument, K as findAncestors, P as findByAttributes, e as findDescendants, v as formatXml, E as getAttribute, _ as getAttributeFullObject, T as getAttributes, w as getAttributesFullObject, z as getChild, Q as getChildren, ee as getRecord, J as getRecords, k as getRecordsByTagName, t as getSnapshot, c as getTree, Z as importDocument, M as indexStagedDeletesByParent, G as initEmptyDocument, m as inspectXml, s as isOmitted, b as isTransactionContext, ne as matchesAttributeFilter, U as overlayAllStaged, d as parseOmit, B as parseXmlFile, O as reconcileDocumentState, r as recordTableName, n as recordsToTree, j as resolveStore, X as shouldStopTraversal, ue as throwDialecteError, l as xmlDocumentToString };
@@ -103,6 +103,23 @@ export declare class Project<GenericConfig extends AnyDialecteConfig, GenericMod
103
103
  * Open a file-scoped Document for querying and mutating a specific file.
104
104
  */
105
105
  openDocument(documentId: string): Document<GenericConfig, MergedExtensions<GenericModules>>;
106
+ /**
107
+ * Reconcile this realm's store against persisted state, then report the
108
+ * document's liveness and readiness:
109
+ * - `live` — the document is registered in this realm's registry (so
110
+ * `openDocument` will not throw DOCUMENT_NOT_REGISTERED).
111
+ * - `ready` — the store can serve the document's records (so reads / export
112
+ * will not throw, e.g. a missing per-document table).
113
+ *
114
+ * Ordering-independent: safe to call as soon as an active-document signal
115
+ * arrives in another realm, even before the import broadcast has been folded
116
+ * in. Returns `{ live: false, ready: false }` for an unknown document rather
117
+ * than throwing.
118
+ */
119
+ getDocumentStatus(documentId: string): Promise<{
120
+ live: boolean;
121
+ ready: boolean;
122
+ }>;
106
123
  /**
107
124
  * Get the config for a specific file.
108
125
  */
@@ -146,5 +163,12 @@ export declare class Project<GenericConfig extends AnyDialecteConfig, GenericMod
146
163
  /** Expose the underlying database instance. Return type is inferred from the store (Dexie for local storage). */
147
164
  getDatabaseInstance(): ReturnType<GenericStore['getDatabaseInstance']>;
148
165
  private refreshState;
166
+ /**
167
+ * Fold a cross-realm import/removal into this realm: first reconcile the
168
+ * store schema (so a newly-imported document's backing table exists here),
169
+ * then refresh the in-memory registry. Ordered so liveness and readiness
170
+ * converge together.
171
+ */
172
+ private reconcileFromBroadcast;
149
173
  }
150
174
  //# sourceMappingURL=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