@hakistack/ng-daisyui 0.0.0-stage → 0.3.0

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 (41) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +396 -2
  3. package/fesm2022/hakistack-ng-daisyui-document_wasm_glue-CRZHWh0J.mjs +318 -0
  4. package/fesm2022/hakistack-ng-daisyui-document_wasm_glue-CRZHWh0J.mjs.map +1 -0
  5. package/fesm2022/hakistack-ng-daisyui-document_wasm_inline-CuQGC5OT.mjs +6 -0
  6. package/fesm2022/hakistack-ng-daisyui-document_wasm_inline-CuQGC5OT.mjs.map +1 -0
  7. package/fesm2022/hakistack-ng-daisyui-engine_wasm_glue-ClEcb6yJ.mjs +1328 -0
  8. package/fesm2022/hakistack-ng-daisyui-engine_wasm_glue-ClEcb6yJ.mjs.map +1 -0
  9. package/fesm2022/hakistack-ng-daisyui-engine_wasm_inline-DkzGyhGY.mjs +6 -0
  10. package/fesm2022/hakistack-ng-daisyui-engine_wasm_inline-DkzGyhGY.mjs.map +1 -0
  11. package/fesm2022/hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs +244 -0
  12. package/fesm2022/hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs.map +1 -0
  13. package/fesm2022/hakistack-ng-daisyui-image_wasm_inline-B5FgTetP.mjs +6 -0
  14. package/fesm2022/hakistack-ng-daisyui-image_wasm_inline-B5FgTetP.mjs.map +1 -0
  15. package/fesm2022/hakistack-ng-daisyui-pdfium_worker_inline-DP_6q4MH.mjs +7 -0
  16. package/fesm2022/hakistack-ng-daisyui-pdfium_worker_inline-DP_6q4MH.mjs.map +1 -0
  17. package/fesm2022/hakistack-ng-daisyui.mjs +50204 -0
  18. package/fesm2022/hakistack-ng-daisyui.mjs.map +1 -0
  19. package/package.json +127 -4
  20. package/plugin.cjs +279 -0
  21. package/plugin.mjs +279 -0
  22. package/schematics/collection.json +15 -0
  23. package/schematics/migrate-table-columns/index.js +70 -0
  24. package/schematics/migrate-table-columns/index.js.map +1 -0
  25. package/schematics/migrate-table-columns/migrate-source.js +0 -0
  26. package/schematics/migrate-table-columns/migrate-source.js.map +1 -0
  27. package/schematics/migrate-table-columns/schema.js +3 -0
  28. package/schematics/migrate-table-columns/schema.js.map +1 -0
  29. package/schematics/migrate-table-columns/schema.json +13 -0
  30. package/schematics/ng-add/index.js +265 -0
  31. package/schematics/ng-add/index.js.map +1 -0
  32. package/schematics/ng-add/schema.js +3 -0
  33. package/schematics/ng-add/schema.js.map +1 -0
  34. package/schematics/ng-add/schema.json +38 -0
  35. package/styles-v4.css +6867 -0
  36. package/styles.css +400 -0
  37. package/themes/daisyui-v4.css +80 -0
  38. package/themes/daisyui-v5.css +62 -0
  39. package/themes/kaizen-light.css +63 -0
  40. package/themes/kaizen.css +63 -0
  41. package/types/hakistack-ng-daisyui.d.ts +15693 -0
@@ -0,0 +1,244 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ // Auto-generated by scripts/build-wasm.mjs from image_wasm.js. Do not edit.
4
+ /* @ts-self-types="./image_wasm.d.ts" */
5
+ /**
6
+ * Decode any supported input format and return PNG bytes.
7
+ *
8
+ * The browser side wraps the result in a `Blob` + object URL and uses
9
+ * it as an `<img src>`. We always emit PNG because:
10
+ *
11
+ * 1. Every browser supports PNG as an `<img>` target with zero
12
+ * polyfilling.
13
+ * 2. Pure-Rust PNG encoder is small.
14
+ * 3. Lossless — round-tripping a TIFF through PNG preserves pixels.
15
+ *
16
+ * Returns the PNG bytes as a fresh `Uint8Array` (a single bulk memcpy
17
+ * out of WASM linear memory — same pattern as the engine-wasm bundle).
18
+ * @param {Uint8Array} bytes
19
+ * @returns {Uint8Array}
20
+ */
21
+ function decode_to_png(bytes) {
22
+ try {
23
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
24
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
25
+ const len0 = WASM_VECTOR_LEN;
26
+ wasm.decode_to_png(retptr, ptr0, len0);
27
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
29
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30
+ if (r2) {
31
+ throw takeObject(r1);
32
+ }
33
+ return takeObject(r0);
34
+ }
35
+ finally {
36
+ wasm.__wbindgen_add_to_stack_pointer(16);
37
+ }
38
+ }
39
+ /**
40
+ * Crate version. Smoke-test export — useful for confirming the right
41
+ * bundle loaded.
42
+ * @returns {string}
43
+ */
44
+ function image_engine_version() {
45
+ let deferred1_0;
46
+ let deferred1_1;
47
+ try {
48
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
49
+ wasm.image_engine_version(retptr);
50
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
51
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
52
+ deferred1_0 = r0;
53
+ deferred1_1 = r1;
54
+ return getStringFromWasm0(r0, r1);
55
+ }
56
+ finally {
57
+ wasm.__wbindgen_add_to_stack_pointer(16);
58
+ wasm.__wbindgen_export2(deferred1_0, deferred1_1, 1);
59
+ }
60
+ }
61
+ function init() {
62
+ wasm.init();
63
+ }
64
+ function __wbg_get_imports() {
65
+ const import0 = {
66
+ __proto__: null,
67
+ __wbg___wbindgen_throw_9c31b086c2b26051: function (arg0, arg1) {
68
+ throw new Error(getStringFromWasm0(arg0, arg1));
69
+ },
70
+ __wbg_length_56fcd3e2b7e0299d: function (arg0) {
71
+ const ret = getObject(arg0).length;
72
+ return ret;
73
+ },
74
+ __wbg_new_with_length_99887c91eae4abab: function (arg0) {
75
+ const ret = new Uint8Array(arg0 >>> 0);
76
+ return addHeapObject(ret);
77
+ },
78
+ __wbg_set_24d0fa9e104112f9: function (arg0, arg1, arg2) {
79
+ getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
80
+ },
81
+ __wbindgen_cast_0000000000000001: function (arg0, arg1) {
82
+ // Cast intrinsic for `Ref(String) -> Externref`.
83
+ const ret = getStringFromWasm0(arg0, arg1);
84
+ return addHeapObject(ret);
85
+ },
86
+ };
87
+ return {
88
+ __proto__: null,
89
+ "./image_wasm_bg.js": import0,
90
+ };
91
+ }
92
+ function addHeapObject(obj) {
93
+ if (heap_next === heap.length)
94
+ heap.push(heap.length + 1);
95
+ const idx = heap_next;
96
+ heap_next = heap[idx];
97
+ heap[idx] = obj;
98
+ return idx;
99
+ }
100
+ function dropObject(idx) {
101
+ if (idx < 1028)
102
+ return;
103
+ heap[idx] = heap_next;
104
+ heap_next = idx;
105
+ }
106
+ function getArrayU8FromWasm0(ptr, len) {
107
+ ptr = ptr >>> 0;
108
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
109
+ }
110
+ let cachedDataViewMemory0 = null;
111
+ function getDataViewMemory0() {
112
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
113
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
114
+ }
115
+ return cachedDataViewMemory0;
116
+ }
117
+ function getStringFromWasm0(ptr, len) {
118
+ return decodeText(ptr >>> 0, len);
119
+ }
120
+ let cachedUint8ArrayMemory0 = null;
121
+ function getUint8ArrayMemory0() {
122
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
123
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
124
+ }
125
+ return cachedUint8ArrayMemory0;
126
+ }
127
+ function getObject(idx) { return heap[idx]; }
128
+ let heap = new Array(1024).fill(undefined);
129
+ heap.push(undefined, null, true, false);
130
+ let heap_next = heap.length;
131
+ function passArray8ToWasm0(arg, malloc) {
132
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
133
+ getUint8ArrayMemory0().set(arg, ptr / 1);
134
+ WASM_VECTOR_LEN = arg.length;
135
+ return ptr;
136
+ }
137
+ function takeObject(idx) {
138
+ const ret = getObject(idx);
139
+ dropObject(idx);
140
+ return ret;
141
+ }
142
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
143
+ cachedTextDecoder.decode();
144
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
145
+ let numBytesDecoded = 0;
146
+ function decodeText(ptr, len) {
147
+ numBytesDecoded += len;
148
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
149
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
150
+ cachedTextDecoder.decode();
151
+ numBytesDecoded = len;
152
+ }
153
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
154
+ }
155
+ let WASM_VECTOR_LEN = 0;
156
+ let wasmModule, wasmInstance, wasm;
157
+ function __wbg_finalize_init(instance, module) {
158
+ wasmInstance = instance;
159
+ wasm = instance.exports;
160
+ wasmModule = module;
161
+ cachedDataViewMemory0 = null;
162
+ cachedUint8ArrayMemory0 = null;
163
+ wasm.__wbindgen_start();
164
+ return wasm;
165
+ }
166
+ async function __wbg_load(module, imports) {
167
+ if (typeof Response === 'function' && module instanceof Response) {
168
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
169
+ try {
170
+ return await WebAssembly.instantiateStreaming(module, imports);
171
+ }
172
+ catch (e) {
173
+ const validResponse = module.ok && expectedResponseType(module.type);
174
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
175
+ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
176
+ }
177
+ else {
178
+ throw e;
179
+ }
180
+ }
181
+ }
182
+ const bytes = await module.arrayBuffer();
183
+ return await WebAssembly.instantiate(bytes, imports);
184
+ }
185
+ else {
186
+ const instance = await WebAssembly.instantiate(module, imports);
187
+ if (instance instanceof WebAssembly.Instance) {
188
+ return { instance, module };
189
+ }
190
+ else {
191
+ return instance;
192
+ }
193
+ }
194
+ function expectedResponseType(type) {
195
+ switch (type) {
196
+ case 'basic':
197
+ case 'cors':
198
+ case 'default': return true;
199
+ }
200
+ return false;
201
+ }
202
+ }
203
+ function initSync(module) {
204
+ if (wasm !== undefined)
205
+ return wasm;
206
+ if (module !== undefined) {
207
+ if (Object.getPrototypeOf(module) === Object.prototype) {
208
+ ({ module } = module);
209
+ }
210
+ else {
211
+ console.warn('using deprecated parameters for `initSync()`; pass a single object instead');
212
+ }
213
+ }
214
+ const imports = __wbg_get_imports();
215
+ if (!(module instanceof WebAssembly.Module)) {
216
+ module = new WebAssembly.Module(module);
217
+ }
218
+ const instance = new WebAssembly.Instance(module, imports);
219
+ return __wbg_finalize_init(instance, module);
220
+ }
221
+ async function __wbg_init(module_or_path) {
222
+ if (wasm !== undefined)
223
+ return wasm;
224
+ if (module_or_path !== undefined) {
225
+ if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
226
+ ({ module_or_path } = module_or_path);
227
+ }
228
+ else {
229
+ console.warn('using deprecated parameters for the initialization function; pass a single object instead');
230
+ }
231
+ }
232
+ if (module_or_path === undefined) {
233
+ module_or_path = new URL('image_wasm_bg.wasm', import.meta.url);
234
+ }
235
+ const imports = __wbg_get_imports();
236
+ if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
237
+ module_or_path = fetch(module_or_path);
238
+ }
239
+ const { instance, module } = await __wbg_load(await module_or_path, imports);
240
+ return __wbg_finalize_init(instance, module);
241
+ }
242
+
243
+ export { decode_to_png, __wbg_init as default, image_engine_version, init, initSync };
244
+ //# sourceMappingURL=hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs","sources":["../../../../projects/hakistack/ng-daisyui/src/lib/wasm/image/image_wasm_glue.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n// Auto-generated by scripts/build-wasm.mjs from image_wasm.js. Do not edit.\n/* @ts-self-types=\"./image_wasm.d.ts\" */\n\n/**\n * Decode any supported input format and return PNG bytes.\n *\n * The browser side wraps the result in a `Blob` + object URL and uses\n * it as an `<img src>`. We always emit PNG because:\n *\n * 1. Every browser supports PNG as an `<img>` target with zero\n * polyfilling.\n * 2. Pure-Rust PNG encoder is small.\n * 3. Lossless — round-tripping a TIFF through PNG preserves pixels.\n *\n * Returns the PNG bytes as a fresh `Uint8Array` (a single bulk memcpy\n * out of WASM linear memory — same pattern as the engine-wasm bundle).\n * @param {Uint8Array} bytes\n * @returns {Uint8Array}\n */\nexport function decode_to_png(bytes) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);\n const len0 = WASM_VECTOR_LEN;\n wasm.decode_to_png(retptr, ptr0, len0);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return takeObject(r0);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n * Crate version. Smoke-test export — useful for confirming the right\n * bundle loaded.\n * @returns {string}\n */\nexport function image_engine_version() {\n let deferred1_0;\n let deferred1_1;\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.image_engine_version(retptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n deferred1_0 = r0;\n deferred1_1 = r1;\n return getStringFromWasm0(r0, r1);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n wasm.__wbindgen_export2(deferred1_0, deferred1_1, 1);\n }\n}\n\nexport function init() {\n wasm.init();\n}\nfunction __wbg_get_imports() {\n const import0 = {\n __proto__: null,\n __wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n },\n __wbg_length_56fcd3e2b7e0299d: function(arg0) {\n const ret = getObject(arg0).length;\n return ret;\n },\n __wbg_new_with_length_99887c91eae4abab: function(arg0) {\n const ret = new Uint8Array(arg0 >>> 0);\n return addHeapObject(ret);\n },\n __wbg_set_24d0fa9e104112f9: function(arg0, arg1, arg2) {\n getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));\n },\n __wbindgen_cast_0000000000000001: function(arg0, arg1) {\n // Cast intrinsic for `Ref(String) -> Externref`.\n const ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n },\n };\n return {\n __proto__: null,\n \"./image_wasm_bg.js\": import0,\n };\n}\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nfunction dropObject(idx) {\n if (idx < 1028) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nlet cachedDataViewMemory0 = null;\nfunction getDataViewMemory0() {\n if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return decodeText(ptr >>> 0, len);\n}\n\nlet cachedUint8ArrayMemory0 = null;\nfunction getUint8ArrayMemory0() {\n if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet heap = new Array(1024).fill(undefined);\nheap.push(undefined, null, true, false);\n\nlet heap_next = heap.length;\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1, 1) >>> 0;\n getUint8ArrayMemory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\ncachedTextDecoder.decode();\nconst MAX_SAFARI_DECODE_BYTES = 2146435072;\nlet numBytesDecoded = 0;\nfunction decodeText(ptr, len) {\n numBytesDecoded += len;\n if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {\n cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n cachedTextDecoder.decode();\n numBytesDecoded = len;\n }\n return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nlet wasmModule, wasmInstance, wasm;\nfunction __wbg_finalize_init(instance, module) {\n wasmInstance = instance;\n wasm = instance.exports;\n wasmModule = module;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n wasm.__wbindgen_start();\n return wasm;\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n const validResponse = module.ok && expectedResponseType(module.type);\n\n if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else { throw e; }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n\n function expectedResponseType(type) {\n switch (type) {\n case 'basic': case 'cors': case 'default': return true;\n }\n return false;\n }\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) return wasm;\n\n\n if (module !== undefined) {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({module} = module)\n } else {\n console.warn('using deprecated parameters for `initSync()`; pass a single object instead')\n }\n }\n\n const imports = __wbg_get_imports();\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n const instance = new WebAssembly.Instance(module, imports);\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) return wasm;\n\n\n if (module_or_path !== undefined) {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({module_or_path} = module_or_path)\n } else {\n console.warn('using deprecated parameters for the initialization function; pass a single object instead')\n }\n }\n\n if (module_or_path === undefined) {\n module_or_path = new URL('image_wasm_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {\n module_or_path = fetch(module_or_path);\n }\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync, __wbg_init as default };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;;;;AAeG;AACG,SAAU,aAAa,CAAC,KAAK,EAAA;AAC/B,IAAA,IAAI;QACA,MAAM,MAAM,GAAG,IAAI,CAAC,+BAA+B,CAAC,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,GAAG,iBAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC;QAC7D,MAAM,IAAI,GAAG,eAAe;QA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