@pdfme/common 2.2.0 → 3.0.0-beta.1

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 (54) hide show
  1. package/dist/cjs/__tests__/helper.test.js +292 -231
  2. package/dist/cjs/__tests__/helper.test.js.map +1 -1
  3. package/dist/cjs/src/constants.js +3 -15
  4. package/dist/cjs/src/constants.js.map +1 -1
  5. package/dist/cjs/src/helper.js +72 -98
  6. package/dist/cjs/src/helper.js.map +1 -1
  7. package/dist/cjs/src/index.js +7 -33
  8. package/dist/cjs/src/index.js.map +1 -1
  9. package/dist/cjs/src/schema.js +18 -67
  10. package/dist/cjs/src/schema.js.map +1 -1
  11. package/dist/cjs/src/types.js +3 -0
  12. package/dist/cjs/src/types.js.map +1 -0
  13. package/dist/esm/__tests__/helper.test.js +270 -232
  14. package/dist/esm/__tests__/helper.test.js.map +1 -1
  15. package/dist/esm/src/constants.js +2 -14
  16. package/dist/esm/src/constants.js.map +1 -1
  17. package/dist/esm/src/helper.js +68 -97
  18. package/dist/esm/src/helper.js.map +1 -1
  19. package/dist/esm/src/index.js +3 -5
  20. package/dist/esm/src/index.js.map +1 -1
  21. package/dist/esm/src/schema.js +15 -64
  22. package/dist/esm/src/schema.js.map +1 -1
  23. package/dist/esm/src/types.js +2 -0
  24. package/dist/esm/src/types.js.map +1 -0
  25. package/dist/types/src/constants.d.ts +2 -14
  26. package/dist/types/src/helper.d.ts +11 -2
  27. package/dist/types/src/index.d.ts +5 -7
  28. package/dist/types/src/schema.d.ts +715 -3383
  29. package/dist/types/src/types.d.ts +127 -0
  30. package/package.json +5 -6
  31. package/src/constants.ts +2 -16
  32. package/src/helper.ts +108 -115
  33. package/src/index.ts +28 -81
  34. package/src/schema.ts +20 -80
  35. package/src/types.ts +124 -0
  36. package/tsconfig.cjs.json +3 -2
  37. package/tsconfig.esm.json +3 -2
  38. package/dist/cjs/__tests__/font.test.js +0 -464
  39. package/dist/cjs/__tests__/font.test.js.map +0 -1
  40. package/dist/cjs/src/font.js +0 -304
  41. package/dist/cjs/src/font.js.map +0 -1
  42. package/dist/cjs/src/type.js +0 -12
  43. package/dist/cjs/src/type.js.map +0 -1
  44. package/dist/esm/__tests__/font.test.js +0 -439
  45. package/dist/esm/__tests__/font.test.js.map +0 -1
  46. package/dist/esm/src/font.js +0 -268
  47. package/dist/esm/src/font.js.map +0 -1
  48. package/dist/esm/src/type.js +0 -6
  49. package/dist/esm/src/type.js.map +0 -1
  50. package/dist/types/__tests__/font.test.d.ts +0 -1
  51. package/dist/types/src/font.d.ts +0 -34
  52. package/dist/types/src/type.d.ts +0 -78
  53. package/src/font.ts +0 -350
  54. package/src/type.ts +0 -69
@@ -1,439 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import { readFileSync } from 'fs';
11
- import * as path from 'path';
12
- import { calculateDynamicFontSize, checkFont, getBrowserVerticalFontAdjustments, getDefaultFont, getFontDescentInPt, getFontKitFont, getSplittedLines, } from '../src/font';
13
- import { BLANK_PDF } from '../src';
14
- const sansData = readFileSync(path.join(__dirname, `/assets/fonts/SauceHanSansJP.ttf`));
15
- const serifData = readFileSync(path.join(__dirname, `/assets/fonts/SauceHanSerifJP.ttf`));
16
- const getSampleFont = () => ({
17
- SauceHanSansJP: { fallback: true, data: sansData },
18
- SauceHanSerifJP: { data: serifData },
19
- });
20
- const getTemplate = () => ({
21
- basePdf: BLANK_PDF,
22
- schemas: [
23
- {
24
- a: {
25
- type: 'text',
26
- fontName: 'SauceHanSansJP',
27
- position: { x: 0, y: 0 },
28
- width: 100,
29
- height: 100,
30
- },
31
- b: {
32
- type: 'text',
33
- position: { x: 0, y: 0 },
34
- width: 100,
35
- height: 100,
36
- },
37
- },
38
- ],
39
- });
40
- const getTextSchema = () => {
41
- const textSchema = {
42
- position: { x: 0, y: 0 }, type: 'text', fontSize: 14, characterSpacing: 1, width: 50, height: 20
43
- };
44
- return textSchema;
45
- };
46
- describe('checkFont test', () => {
47
- test('success test: no fontName in Schemas', () => {
48
- const _getTemplate = () => ({
49
- basePdf: BLANK_PDF,
50
- schemas: [
51
- {
52
- a: {
53
- type: 'text',
54
- position: { x: 0, y: 0 },
55
- width: 100,
56
- height: 100,
57
- },
58
- b: {
59
- type: 'text',
60
- position: { x: 0, y: 0 },
61
- width: 100,
62
- height: 100,
63
- },
64
- },
65
- ],
66
- });
67
- try {
68
- checkFont({ template: _getTemplate(), font: getSampleFont() });
69
- expect.anything();
70
- }
71
- catch (e) {
72
- fail();
73
- }
74
- });
75
- test('success test: fontName in Schemas(fallback font)', () => {
76
- try {
77
- checkFont({ template: getTemplate(), font: getSampleFont() });
78
- expect.anything();
79
- }
80
- catch (e) {
81
- fail();
82
- }
83
- });
84
- test('success test: fontName in Schemas(not fallback font)', () => {
85
- const getFont = () => ({
86
- SauceHanSansJP: { data: sansData },
87
- SauceHanSerifJP: { fallback: true, data: serifData },
88
- });
89
- try {
90
- checkFont({ template: getTemplate(), font: getFont() });
91
- expect.anything();
92
- }
93
- catch (e) {
94
- fail();
95
- }
96
- });
97
- test('fail test: no fallback font', () => {
98
- const getFont = () => ({
99
- SauceHanSansJP: { data: sansData },
100
- SauceHanSerifJP: { data: serifData },
101
- });
102
- try {
103
- checkFont({ template: getTemplate(), font: getFont() });
104
- fail();
105
- }
106
- catch (e) {
107
- expect(e.message).toEqual('fallback flag is not found in font. true fallback flag must be only one.');
108
- }
109
- });
110
- test('fail test: too many fallback font', () => {
111
- const getFont = () => ({
112
- SauceHanSansJP: { data: sansData, fallback: true },
113
- SauceHanSerifJP: { data: serifData, fallback: true },
114
- });
115
- try {
116
- checkFont({ template: getTemplate(), font: getFont() });
117
- fail();
118
- }
119
- catch (e) {
120
- expect(e.message).toEqual('2 fallback flags found in font. true fallback flag must be only one.');
121
- }
122
- });
123
- test('fail test: fontName in Schemas not found in font(single)', () => {
124
- const _getTemplate = () => ({
125
- basePdf: BLANK_PDF,
126
- schemas: [
127
- {
128
- a: {
129
- type: 'text',
130
- fontName: 'SauceHanSansJP2',
131
- position: { x: 0, y: 0 },
132
- width: 100,
133
- height: 100,
134
- },
135
- b: {
136
- type: 'text',
137
- position: { x: 0, y: 0 },
138
- width: 100,
139
- height: 100,
140
- },
141
- },
142
- ],
143
- });
144
- try {
145
- checkFont({ template: _getTemplate(), font: getSampleFont() });
146
- fail();
147
- }
148
- catch (e) {
149
- expect(e.message).toEqual('SauceHanSansJP2 of template.schemas is not found in font.');
150
- }
151
- });
152
- test('fail test: fontName in Schemas not found in font(single)', () => {
153
- const _getTemplate = () => ({
154
- basePdf: BLANK_PDF,
155
- schemas: [
156
- {
157
- a: {
158
- type: 'text',
159
- fontName: 'SauceHanSansJP2',
160
- position: { x: 0, y: 0 },
161
- width: 100,
162
- height: 100,
163
- },
164
- b: {
165
- type: 'text',
166
- fontName: 'SauceHanSerifJP2',
167
- position: { x: 0, y: 0 },
168
- width: 100,
169
- height: 100,
170
- },
171
- },
172
- ],
173
- });
174
- try {
175
- checkFont({ template: _getTemplate(), font: getSampleFont() });
176
- fail();
177
- }
178
- catch (e) {
179
- expect(e.message).toEqual('SauceHanSansJP2,SauceHanSerifJP2 of template.schemas is not found in font.');
180
- }
181
- });
182
- });
183
- describe('getSplitPosition test with mocked font width calculations', () => {
184
- /**
185
- * To simplify these tests we mock the widthOfTextAtSize function to return
186
- * the length of the text in number of characters.
187
- * Therefore, setting the boxWidthInPt to 5 should result in a split after 5 characters.
188
- */
189
- let widthOfTextAtSizeSpy;
190
- beforeAll(() => {
191
- // @ts-ignore
192
- widthOfTextAtSizeSpy = jest.spyOn(require('../src/font'), 'widthOfTextAtSize');
193
- widthOfTextAtSizeSpy.mockImplementation((text) => {
194
- return text.length;
195
- });
196
- });
197
- afterAll(() => {
198
- widthOfTextAtSizeSpy.mockRestore();
199
- });
200
- const mockedFont = {};
201
- const mockCalcValues = {
202
- font: mockedFont,
203
- fontSize: 12,
204
- characterSpacing: 1,
205
- boxWidthInPt: 5,
206
- };
207
- it('does not split an empty string', () => {
208
- expect(getSplittedLines('', mockCalcValues)).toEqual(['']);
209
- });
210
- it('does not split a short line', () => {
211
- expect(getSplittedLines('a', mockCalcValues)).toEqual(['a']);
212
- expect(getSplittedLines('aaaa', mockCalcValues)).toEqual(['aaaa']);
213
- });
214
- it('splits a line to the nearest previous space', () => {
215
- expect(getSplittedLines('aaa bbb', mockCalcValues)).toEqual(['aaa', 'bbb']);
216
- });
217
- it('splits a line where the split point is on a space', () => {
218
- expect(getSplittedLines('aaaaa bbbbb', mockCalcValues)).toEqual(['aaaaa', 'bbbbb']);
219
- });
220
- it('splits a long line in the middle of a word if too long', () => {
221
- expect(getSplittedLines('aaaaaa bbb', mockCalcValues)).toEqual(['aaaaa', 'a bbb']);
222
- });
223
- it('splits a long line without spaces at exactly 5 chars', () => {
224
- expect(getSplittedLines('abcdef', mockCalcValues)).toEqual(['abcde', 'f']);
225
- });
226
- it('splits a very long line without spaces at exactly 5 chars', () => {
227
- expect(getSplittedLines('abcdefghijklmn', mockCalcValues)).toEqual(['abcde', 'fghij', 'klmn']);
228
- });
229
- it('splits a line with lots of words', () => {
230
- expect(getSplittedLines('a b c d e', mockCalcValues)).toEqual(['a b c', 'd e']);
231
- });
232
- });
233
- describe('getSplittedLines test with real font width calculations', () => {
234
- const font = getDefaultFont();
235
- const baseCalcValues = {
236
- fontSize: 12,
237
- characterSpacing: 1,
238
- boxWidthInPt: 40,
239
- };
240
- it('should not split a line when the text is shorter than the width', () => {
241
- getFontKitFont(getTextSchema(), font).then((fontKitFont) => {
242
- const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
243
- const result = getSplittedLines('short', fontWidthCalcs);
244
- expect(result).toEqual(['short']);
245
- });
246
- });
247
- it('should split a line when the text is longer than the width', () => {
248
- getFontKitFont(getTextSchema(), font).then((fontKitFont) => {
249
- const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
250
- const result = getSplittedLines('this will wrap', fontWidthCalcs);
251
- expect(result).toEqual(['this', 'will', 'wrap']);
252
- });
253
- });
254
- it('should split a line in the middle when unspaced text will not fit on a line', () => {
255
- getFontKitFont(getTextSchema(), font).then((fontKitFont) => {
256
- const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
257
- const result = getSplittedLines('thiswillbecut', fontWidthCalcs);
258
- expect(result).toEqual(['thiswi', 'llbecu', 't']);
259
- });
260
- });
261
- it('should not split text when it is impossible due to size constraints', () => {
262
- getFontKitFont(getTextSchema(), font).then((fontKitFont) => {
263
- const fontWidthCalcs = Object.assign({}, baseCalcValues, { font: fontKitFont });
264
- fontWidthCalcs.boxWidthInPt = 2;
265
- const result = getSplittedLines('thiswillnotbecut', fontWidthCalcs);
266
- expect(result).toEqual(['thiswillnotbecut']);
267
- });
268
- });
269
- });
270
- describe('calculateDynamicFontSize with Default font', () => {
271
- const font = getDefaultFont();
272
- it('should return default font size when dynamicFontSizeSetting is not provided', () => __awaiter(void 0, void 0, void 0, function* () {
273
- const textSchema = getTextSchema();
274
- const result = yield calculateDynamicFontSize({ textSchema, font, input: 'test' });
275
- expect(result).toBe(14);
276
- }));
277
- it('should return default font size when dynamicFontSizeSetting max is less than min', () => __awaiter(void 0, void 0, void 0, function* () {
278
- const textSchema = getTextSchema();
279
- textSchema.dynamicFontSize = { min: 11, max: 10 };
280
- const result = yield calculateDynamicFontSize({ textSchema, font, input: 'test' });
281
- expect(result).toBe(14);
282
- }));
283
- it('should calculate a dynamic font size of vertical fit between min and max', () => __awaiter(void 0, void 0, void 0, function* () {
284
- const textSchema = getTextSchema();
285
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
286
- const input = 'test with a length string\n and a new line';
287
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
288
- expect(result).toBe(19.25);
289
- }));
290
- it('should calculate a dynamic font size of horizontal fit between min and max', () => __awaiter(void 0, void 0, void 0, function* () {
291
- const textSchema = getTextSchema();
292
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
293
- const input = 'test with a length string\n and a new line';
294
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
295
- expect(result).toBe(11.25);
296
- }));
297
- it('should calculate a dynamic font size between min and max regardless of current font size', () => __awaiter(void 0, void 0, void 0, function* () {
298
- const textSchema = getTextSchema();
299
- textSchema.fontSize = 2;
300
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
301
- const input = 'test with a length string\n and a new line';
302
- let result = yield calculateDynamicFontSize({ textSchema, font, input });
303
- expect(result).toBe(19.25);
304
- textSchema.fontSize = 40;
305
- result = yield calculateDynamicFontSize({ textSchema, font, input });
306
- expect(result).toBe(19.25);
307
- }));
308
- it('should return min font size when content is too big to fit given constraints', () => __awaiter(void 0, void 0, void 0, function* () {
309
- const textSchema = getTextSchema();
310
- textSchema.width = 10;
311
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
312
- const input = 'test with a length string\n and a new line';
313
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
314
- expect(result).toBe(10);
315
- }));
316
- it('should return max font size when content is too small to fit given constraints', () => __awaiter(void 0, void 0, void 0, function* () {
317
- const textSchema = getTextSchema();
318
- textSchema.width = 1000;
319
- textSchema.dynamicFontSize = { min: 10, max: 30 };
320
- const input = 'test with a length string\n and a new line';
321
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
322
- expect(result).toBe(30);
323
- }));
324
- it('should not reduce font size below 0', () => __awaiter(void 0, void 0, void 0, function* () {
325
- const textSchema = getTextSchema();
326
- textSchema.dynamicFontSize = { min: -5, max: 10 };
327
- textSchema.width = 4;
328
- textSchema.height = 1;
329
- const input = 'a very \nlong \nmulti-line \nstring\nto';
330
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
331
- expect(result).toBeGreaterThan(0);
332
- }));
333
- it('should calculate a dynamic font size when a starting font size is passed that is lower than the eventual', () => __awaiter(void 0, void 0, void 0, function* () {
334
- const textSchema = getTextSchema();
335
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
336
- const input = 'test with a length string\n and a new line';
337
- const startingFontSize = 18;
338
- const result = yield calculateDynamicFontSize({ textSchema, font, input, startingFontSize });
339
- expect(result).toBe(19.25);
340
- }));
341
- it('should calculate a dynamic font size when a starting font size is passed that is higher than the eventual', () => __awaiter(void 0, void 0, void 0, function* () {
342
- const textSchema = getTextSchema();
343
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
344
- const input = 'test with a length string\n and a new line';
345
- const startingFontSize = 36;
346
- const result = yield calculateDynamicFontSize({ textSchema, font, input, startingFontSize });
347
- expect(result).toBe(11.25);
348
- }));
349
- it('should calculate a dynamic font size using vertical fit as a default if no fit provided', () => __awaiter(void 0, void 0, void 0, function* () {
350
- const textSchema = getTextSchema();
351
- textSchema.dynamicFontSize = { min: 10, max: 30 };
352
- const input = 'test with a length string\n and a new line';
353
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
354
- expect(result).toBe(19.25);
355
- }));
356
- });
357
- describe('calculateDynamicFontSize with Custom font', () => {
358
- const font = getSampleFont();
359
- it('should return smaller font size when dynamicFontSizeSetting is provided with horizontal fit', () => __awaiter(void 0, void 0, void 0, function* () {
360
- const textSchema = getTextSchema();
361
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'horizontal' };
362
- const input = 'あいうあいうあい';
363
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
364
- expect(result).toBe(16.75);
365
- }));
366
- it('should return smaller font size when dynamicFontSizeSetting is provided with vertical fit', () => __awaiter(void 0, void 0, void 0, function* () {
367
- const textSchema = getTextSchema();
368
- textSchema.dynamicFontSize = { min: 10, max: 30, fit: 'vertical' };
369
- const input = 'あいうあいうあい';
370
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
371
- expect(result).toBe(24.25);
372
- }));
373
- it('should return min font size when content is too big to fit given constraints', () => __awaiter(void 0, void 0, void 0, function* () {
374
- const textSchema = getTextSchema();
375
- textSchema.dynamicFontSize = { min: 20, max: 30 };
376
- const input = 'あいうあいうあいうあいうあいうあいうあいうあいうあいう';
377
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
378
- expect(result).toBe(20);
379
- }));
380
- it('should return max font size when content is too small to fit given constraints', () => __awaiter(void 0, void 0, void 0, function* () {
381
- const textSchema = getTextSchema();
382
- textSchema.dynamicFontSize = { min: 10, max: 30 };
383
- const input = 'あ';
384
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
385
- expect(result).toBe(30);
386
- }));
387
- it('should return min font size when content is multi-line with too many lines for the container', () => __awaiter(void 0, void 0, void 0, function* () {
388
- const textSchema = getTextSchema();
389
- textSchema.dynamicFontSize = { min: 5, max: 20 };
390
- const input = 'あ\nいう\nあ\nいう\nあ\nいう\nあ\nいう\nあ\nいう\nあ\nいう';
391
- const result = yield calculateDynamicFontSize({ textSchema, font, input });
392
- expect(result).toBe(5);
393
- }));
394
- });
395
- describe('getFontDescentInPt test', () => {
396
- test('it gets a descent size relative to the font size', () => {
397
- expect(getFontDescentInPt({ descent: -400, unitsPerEm: 1000 }, 12)).toBe(-4.800000000000001);
398
- expect(getFontDescentInPt({ descent: 54, unitsPerEm: 1000 }, 20)).toBe(1.08);
399
- expect(getFontDescentInPt({ descent: -512, unitsPerEm: 2048 }, 54)).toBe(-13.5);
400
- });
401
- });
402
- describe('getBrowserVerticalFontAdjustments test', () => {
403
- // Font with a base line-height of 1.349
404
- const font = { ascent: 1037, descent: -312, unitsPerEm: 1000 };
405
- test('it gets a top adjustment when vertically aligning top', () => {
406
- expect(getBrowserVerticalFontAdjustments(font, 12, 1.0, 'top')).toEqual({
407
- topAdj: 2.791301999999999,
408
- bottomAdj: 0,
409
- });
410
- expect(getBrowserVerticalFontAdjustments(font, 36, 2.0, 'top')).toEqual({
411
- topAdj: 8.373906,
412
- bottomAdj: 0,
413
- });
414
- });
415
- test('it gets a bottom adjustment when vertically aligning middle or bottom', () => {
416
- expect(getBrowserVerticalFontAdjustments(font, 12, 1.0, 'bottom')).toEqual({
417
- topAdj: 0,
418
- bottomAdj: 2.791302,
419
- });
420
- expect(getBrowserVerticalFontAdjustments(font, 12, 1.15, 'middle')).toEqual({
421
- topAdj: 0,
422
- bottomAdj: 1.5916020000000004,
423
- });
424
- });
425
- test('it does not get a bottom adjustment if the line height exceeds that of the font', () => {
426
- expect(getBrowserVerticalFontAdjustments(font, 12, 1.35, 'bottom')).toEqual({
427
- topAdj: 0,
428
- bottomAdj: 0,
429
- });
430
- });
431
- test('it does not get a bottom adjustment if the font base line-height is 1.0 or less', () => {
432
- const thisFont = { ascent: 900, descent: -50, unitsPerEm: 1000 };
433
- expect(getBrowserVerticalFontAdjustments(thisFont, 20, 1.0, 'bottom')).toEqual({
434
- topAdj: 0,
435
- bottomAdj: 0,
436
- });
437
- });
438
- });
439
- //# sourceMappingURL=font.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font.test.js","sourceRoot":"","sources":["../../../__tests__/font.test.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EACL,wBAAwB,EACxB,SAAS,EACT,iCAAiC,EACjC,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,gBAAgB,GACjB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EA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