@payloadcms/richtext-lexical 0.1.0-beta.0 → 0.1.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 (39) hide show
  1. package/dist/field/features/Blocks/component/index.scss +125 -0
  2. package/dist/field/features/Blocks/drawer/index.scss +1 -0
  3. package/dist/field/features/Blocks/index.scss +1 -0
  4. package/dist/field/features/Link/drawer/index.scss +50 -0
  5. package/dist/field/features/Link/index.scss +1 -0
  6. package/dist/field/features/Link/plugins/floatingLinkEditor/index.scss +79 -0
  7. package/dist/field/features/Relationship/drawer/index.scss +1 -0
  8. package/dist/field/features/Relationship/index.scss +1 -0
  9. package/dist/field/features/Relationship/nodes/components/index.scss +89 -0
  10. package/dist/field/features/Upload/component/index.scss +151 -0
  11. package/dist/field/features/Upload/drawer/index.scss +1 -0
  12. package/dist/field/features/Upload/index.scss +1 -0
  13. package/dist/field/features/Upload/nodes/UploadNode.scss +4 -0
  14. package/dist/field/features/align/index.scss +4 -0
  15. package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.scss +4 -0
  16. package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.scss +4 -0
  17. package/dist/field/features/debug/TreeView/index.scss +78 -0
  18. package/dist/field/features/format/common/index.scss +4 -0
  19. package/dist/field/features/indent/index.scss +4 -0
  20. package/dist/field/index.scss +1 -0
  21. package/dist/field/lexical/LexicalEditor.scss +34 -0
  22. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +39 -0
  23. package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +100 -0
  24. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +57 -0
  25. package/dist/field/lexical/plugins/SlashMenu/index.scss +49 -0
  26. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +35 -0
  27. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +50 -0
  28. package/dist/field/lexical/theme/EditorTheme.scss +508 -0
  29. package/dist/field/lexical/ui/ContentEditable.scss +21 -0
  30. package/dist/field/lexical/ui/icons/Add/index.svg +4 -0
  31. package/dist/field/lexical/ui/icons/Caret/index.svg +3 -0
  32. package/dist/field/lexical/ui/icons/DraggableBlock/index.svg +9 -0
  33. package/dist/field/lexical/ui/icons/Edit/index.svg +10 -0
  34. package/dist/field/lexical/ui/icons/Remove/index.svg +4 -0
  35. package/dist/index.d.ts +18 -4
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +35 -20
  38. package/package.json +6 -4
  39. package/src/index.ts +20 -4
@@ -0,0 +1,508 @@
1
+ @import 'payload/scss';
2
+
3
+ .LexicalEditorTheme {
4
+ &__ltr {
5
+ text-align: left;
6
+ }
7
+ &__ltr {
8
+ text-align: left;
9
+ }
10
+
11
+ &__rtl {
12
+ text-align: right;
13
+ }
14
+
15
+ &__paragraph {
16
+ margin: 0 0 1.5em;
17
+ position: relative;
18
+ }
19
+
20
+ &__quote {
21
+ margin: 0;
22
+ margin-left: 20px;
23
+ margin-bottom: 10px;
24
+ font-size: 15px;
25
+ color: rgb(101, 103, 107);
26
+ border-left-color: rgb(206, 208, 212);
27
+ border-left-width: 4px;
28
+ border-left-style: solid;
29
+ padding-left: 16px;
30
+ }
31
+
32
+ &__h1 {
33
+ font-size: 2.8rem;
34
+ line-height: 1.125;
35
+ color: rgb(5, 5, 5);
36
+ font-weight: 500;
37
+ margin-top: 2rem;
38
+ margin-bottom: 1rem;
39
+ }
40
+
41
+ &__h2 {
42
+ font-size: 2rem;
43
+ color: rgb(5, 5, 5);
44
+ font-weight: 700;
45
+ text-transform: uppercase;
46
+ margin-top: 1.8rem;
47
+ margin-bottom: 1rem;
48
+ }
49
+
50
+ &__h3 {
51
+ font-size: 1.4rem;
52
+ color: rgb(101, 103, 107);
53
+ font-weight: 700;
54
+ text-transform: uppercase;
55
+ margin-top: 1.4rem;
56
+ margin-bottom: 1rem;
57
+ }
58
+
59
+ &__indent {
60
+ --lexical-indent-base-value: 40px;
61
+ }
62
+
63
+ &__textBold {
64
+ font-weight: bold;
65
+ }
66
+
67
+ &__textItalic {
68
+ font-style: italic;
69
+ }
70
+
71
+ &__textUnderline {
72
+ text-decoration: underline;
73
+ }
74
+
75
+ &__textStrikethrough {
76
+ text-decoration: line-through;
77
+ }
78
+
79
+ &__textUnderlineStrikethrough {
80
+ text-decoration: underline line-through;
81
+ }
82
+
83
+ &__textSubscript {
84
+ font-size: 0.8em;
85
+ vertical-align: sub !important;
86
+ }
87
+
88
+ &__textSuperscript {
89
+ font-size: 0.8em;
90
+ vertical-align: super;
91
+ }
92
+
93
+ &__textCode {
94
+ background-color: rgb(240, 242, 245);
95
+ padding: 1px 0.25rem;
96
+ font-family: Menlo, Consolas, Monaco, monospace;
97
+ font-size: 94%;
98
+ }
99
+
100
+ &__hashtag {
101
+ background-color: rgba(88, 144, 255, 0.15);
102
+ border-bottom: 1px solid rgba(88, 144, 255, 0.3);
103
+ }
104
+
105
+ .ContentEditable__root &__link {
106
+ pointer-events: none;
107
+ }
108
+
109
+ &__link {
110
+ color: var(--color-blue-600);
111
+ text-decoration: none;
112
+ border-bottom: 1px dotted;
113
+ }
114
+
115
+ &__code {
116
+ /*background-color: rgb(240, 242, 245);*/
117
+ font-family: Menlo, Consolas, Monaco, monospace;
118
+ display: block;
119
+ padding: 8px 8px 8px 52px;
120
+ line-height: 1.53;
121
+ font-size: 13px;
122
+ margin: 0;
123
+ margin-top: 8px;
124
+ margin-bottom: 8px;
125
+ tab-size: 2;
126
+ /* white-space: pre; */
127
+ overflow-x: auto;
128
+ position: relative;
129
+ }
130
+
131
+ &__code:before {
132
+ content: attr(data-gutter);
133
+ position: absolute;
134
+ /*background-color: #eee;*/
135
+ left: 0;
136
+ top: 0;
137
+ border-right: 1px solid #ccc;
138
+ padding: 8px;
139
+ color: #777;
140
+ white-space: pre-wrap;
141
+ text-align: right;
142
+ min-width: 25px;
143
+ }
144
+
145
+ &__table {
146
+ border-collapse: collapse;
147
+ border-spacing: 0;
148
+ max-width: 100%;
149
+ overflow-y: scroll;
150
+ table-layout: fixed;
151
+ width: calc(100% - 25px);
152
+ margin: 30px 0;
153
+ }
154
+
155
+ &__tableSelected {
156
+ outline: 2px solid rgb(60, 132, 244);
157
+ }
158
+
159
+ &__tableCell {
160
+ border: 1px solid #bbb;
161
+ min-width: 75px;
162
+ vertical-align: top;
163
+ text-align: start;
164
+ padding: 6px 8px;
165
+ position: relative;
166
+ cursor: default;
167
+ outline: none;
168
+ }
169
+
170
+ &__tableCellSortedIndicator {
171
+ display: block;
172
+ opacity: 0.5;
173
+ position: absolute;
174
+ bottom: 0;
175
+ left: 0;
176
+ width: 100%;
177
+ height: 4px;
178
+ background-color: #999;
179
+ }
180
+
181
+ &__tableCellResizer {
182
+ position: absolute;
183
+ right: -4px;
184
+ height: 100%;
185
+ width: 8px;
186
+ cursor: ew-resize;
187
+ z-index: 10;
188
+ top: 0;
189
+ }
190
+
191
+ &__tableCellHeader {
192
+ background-color: #f2f3f5;
193
+ text-align: start;
194
+ }
195
+
196
+ &__tableCellSelected {
197
+ background-color: #c9dbf0;
198
+ }
199
+
200
+ &__tableCellPrimarySelected {
201
+ border: 2px solid rgb(60, 132, 244);
202
+ display: block;
203
+ height: calc(100% - 2px);
204
+ position: absolute;
205
+ width: calc(100% - 2px);
206
+ left: -1px;
207
+ top: -1px;
208
+ z-index: 2;
209
+ }
210
+
211
+ &__tableCellEditing {
212
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
213
+ border-radius: 3px;
214
+ }
215
+
216
+ &__tableAddColumns {
217
+ position: absolute;
218
+ top: 0;
219
+ width: 20px;
220
+ background-color: #eee;
221
+ height: 100%;
222
+ right: 0;
223
+ animation: table-controls 0.2s ease;
224
+ border: 0;
225
+ cursor: pointer;
226
+ }
227
+
228
+ &__tableAddColumns:hover {
229
+ background-color: #c9dbf0;
230
+ }
231
+
232
+ &__tableAddRows {
233
+ position: absolute;
234
+ bottom: -25px;
235
+ width: calc(100% - 25px);
236
+ background-color: #eee;
237
+ height: 20px;
238
+ left: 0;
239
+ animation: table-controls 0.2s ease;
240
+ border: 0;
241
+ cursor: pointer;
242
+ }
243
+
244
+ &__tableAddRows:hover {
245
+ background-color: #c9dbf0;
246
+ }
247
+
248
+ @keyframes table-controls {
249
+ 0% {
250
+ opacity: 0;
251
+ }
252
+
253
+ 100% {
254
+ opacity: 1;
255
+ }
256
+ }
257
+
258
+ &__tableCellResizeRuler {
259
+ display: block;
260
+ position: absolute;
261
+ width: 1px;
262
+ background-color: rgb(60, 132, 244);
263
+ height: 100%;
264
+ top: 0;
265
+ }
266
+
267
+ &__tableCellActionButtonContainer {
268
+ display: block;
269
+ right: 5px;
270
+ top: 6px;
271
+ position: absolute;
272
+ z-index: 4;
273
+ width: 20px;
274
+ height: 20px;
275
+ }
276
+
277
+ &__tableCellActionButton {
278
+ background-color: #eee;
279
+ display: block;
280
+ border: 0;
281
+ border-radius: 20px;
282
+ width: 20px;
283
+ height: 20px;
284
+ color: #222;
285
+ cursor: pointer;
286
+ }
287
+
288
+ &__tableCellActionButton:hover {
289
+ background-color: #ddd;
290
+ }
291
+
292
+ &__characterLimit {
293
+ display: inline;
294
+ background-color: #ffbbbb !important;
295
+ }
296
+
297
+ &__ol1 {
298
+ padding: 0;
299
+ margin: 0;
300
+ list-style-position: inside;
301
+ }
302
+
303
+ &__ol2 {
304
+ padding: 0;
305
+ margin: 0;
306
+ list-style-type: upper-alpha;
307
+ list-style-position: inside;
308
+ }
309
+
310
+ &__ol3 {
311
+ padding: 0;
312
+ margin: 0;
313
+ list-style-type: lower-alpha;
314
+ list-style-position: inside;
315
+ }
316
+
317
+ &__ol4 {
318
+ padding: 0;
319
+ margin: 0;
320
+ list-style-type: upper-roman;
321
+ list-style-position: inside;
322
+ }
323
+
324
+ &__ol5 {
325
+ padding: 0;
326
+ margin: 0;
327
+ list-style-type: lower-roman;
328
+ list-style-position: inside;
329
+ }
330
+
331
+ &__ul {
332
+ padding: 0;
333
+ margin: 0;
334
+ list-style-position: inside;
335
+ }
336
+
337
+ &__listItem {
338
+ margin: 0 32px;
339
+ }
340
+
341
+ &__listItemChecked,
342
+ &__listItemUnchecked {
343
+ position: relative;
344
+ margin-left: 8px;
345
+ margin-right: 8px;
346
+ padding-left: 24px;
347
+ padding-right: 24px;
348
+ list-style-type: none;
349
+ outline: none;
350
+ }
351
+
352
+ &__listItemChecked {
353
+ text-decoration: line-through;
354
+ }
355
+
356
+ &__listItemUnchecked:before,
357
+ &__listItemChecked:before {
358
+ content: '';
359
+ width: 16px;
360
+ height: 16px;
361
+ top: 2px;
362
+ left: 0;
363
+ cursor: pointer;
364
+ display: block;
365
+ background-size: cover;
366
+ position: absolute;
367
+ }
368
+
369
+ &__listItemUnchecked[dir='rtl']:before,
370
+ &__listItemChecked[dir='rtl']:before {
371
+ left: auto;
372
+ right: 0;
373
+ }
374
+
375
+ &__listItemUnchecked:focus:before,
376
+ &__listItemChecked:focus:before {
377
+ box-shadow: 0 0 0 2px #a6cdfe;
378
+ border-radius: 2px;
379
+ }
380
+
381
+ &__listItemUnchecked:before {
382
+ border: 1px solid #999;
383
+ border-radius: 2px;
384
+ }
385
+
386
+ &__listItemChecked:before {
387
+ border: 1px solid rgb(61, 135, 245);
388
+ border-radius: 2px;
389
+ background-color: #3d87f5;
390
+ background-repeat: no-repeat;
391
+ }
392
+
393
+ &__listItemChecked:after {
394
+ content: '';
395
+ cursor: pointer;
396
+ border-color: #fff;
397
+ border-style: solid;
398
+ position: absolute;
399
+ display: block;
400
+ top: 6px;
401
+ width: 3px;
402
+ left: 7px;
403
+ right: 7px;
404
+ height: 6px;
405
+ transform: rotate(45deg);
406
+ border-width: 0 2px 2px 0;
407
+ }
408
+
409
+ &__nestedListItem {
410
+ list-style-type: none;
411
+ }
412
+
413
+ &__nestedListItem:before,
414
+ &__nestedListItem:after {
415
+ display: none;
416
+ }
417
+
418
+ &__tokenComment {
419
+ color: slategray;
420
+ }
421
+
422
+ &__tokenPunctuation {
423
+ color: #999;
424
+ }
425
+
426
+ &__tokenProperty {
427
+ color: #905;
428
+ }
429
+
430
+ &__tokenSelector {
431
+ color: #690;
432
+ }
433
+
434
+ &__tokenOperator {
435
+ color: #9a6e3a;
436
+ }
437
+
438
+ &__tokenAttr {
439
+ color: #07a;
440
+ }
441
+
442
+ &__tokenVariable {
443
+ color: #e90;
444
+ }
445
+
446
+ &__tokenFunction {
447
+ color: #dd4a68;
448
+ }
449
+
450
+ &__mark {
451
+ background: rgba(255, 212, 0, 0.14);
452
+ border-bottom: 2px solid rgba(255, 212, 0, 0.3);
453
+ padding-bottom: 2px;
454
+ }
455
+
456
+ &__markOverlap {
457
+ background: rgba(255, 212, 0, 0.3);
458
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
459
+ }
460
+
461
+ &__mark.selected {
462
+ background: rgba(255, 212, 0, 0.5);
463
+ border-bottom: 2px solid rgba(255, 212, 0, 1);
464
+ }
465
+
466
+ &__markOverlap.selected {
467
+ background: rgba(255, 212, 0, 0.7);
468
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
469
+ }
470
+
471
+ &__embedBlock {
472
+ user-select: none;
473
+ }
474
+
475
+ &__embedBlockFocus {
476
+ outline: 2px solid rgb(60, 132, 244);
477
+ }
478
+ }
479
+
480
+ html[data-theme='dark'] {
481
+ .LexicalEditorTheme {
482
+ &__h1,
483
+ &__h2 {
484
+ color: rgb(255, 255, 255);
485
+ }
486
+
487
+ &__h3 {
488
+ color: rgb(148, 151, 157);
489
+ }
490
+
491
+ &__link {
492
+ color: var(--color-blue-600);
493
+ }
494
+
495
+ &__tableCellHeader {
496
+ background-color: var(--theme-elevation-50);
497
+ }
498
+
499
+ &__quote {
500
+ color: rgb(193, 198, 206);
501
+ border-left-color: var(--theme-elevation-150);
502
+ }
503
+
504
+ &__textCode {
505
+ background-color: rgb(0, 0, 0);
506
+ }
507
+ }
508
+ }
@@ -0,0 +1,21 @@
1
+ .ContentEditable__root {
2
+ border: 0;
3
+ font-size: 15px;
4
+ display: block;
5
+ position: relative;
6
+ tab-size: 1;
7
+ outline: 0;
8
+ padding-top: 8px;
9
+
10
+ & > * {
11
+ transition: transform 0.2s ease-in-out;
12
+ will-change: transform;
13
+ }
14
+ }
15
+
16
+ @media (max-width: 1025px) {
17
+ .ContentEditable__root {
18
+ padding-left: 0px;
19
+ padding-right: 0px;
20
+ }
21
+ }
@@ -0,0 +1,4 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 10H14" stroke="#000000" />
3
+ <path d="M10 14L10 6" stroke="#000000" />
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.25 3.5L3.75 1L6.25 3.5" stroke="#000000" />
3
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg width="19" height="26" viewBox="0 0 19 26" fill="#000000"
2
+ xmlns="http://www.w3.org/2000/svg">
3
+ <circle cx="7.375" cy="9" r="1" fill="#000000" />
4
+ <circle cx="11.375" cy="9" r="1" fill="#000000" />
5
+ <circle cx="7.375" cy="13" r="1" fill="#000000" />
6
+ <circle cx="11.375" cy="13" r="1" fill="#000000" />
7
+ <circle cx="7.375" cy="17" r="1" fill="#000000" />
8
+ <circle cx="11.375" cy="17" r="1" fill="#000000" />
9
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M14.2293 14.6187H5.55926V5.96867H9.84926V4.38867H3.98926V16.1887H15.8093V10.2887H14.2293V14.6187Z"
4
+ fill="currentColor" />
5
+ <path
6
+ d="M13.6188 5.08887L14.7288 6.19887L9.96885 10.9589L8.81885 10.9989L8.85885 9.84887L13.6188 5.08887Z"
7
+ fill="currentColor" />
8
+ <path d="M16.0108 4.92778L14.8936 3.81055L14.0804 4.62372L15.1976 5.74095L16.0108 4.92778Z"
9
+ fill="currentColor" />
10
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15 5L5.00021 15" stroke="currentColor" stroke-width="1.5" />
3
+ <path d="M5.00049 5L15.0003 15" stroke="currentColor" stroke-width="1.5" />
4
+ </svg>
package/dist/index.d.ts CHANGED
@@ -1,16 +1,20 @@
1
1
  import type { RichTextAdapter } from 'payload/types';
2
- import type { EditorConfig } from './field/lexical/config/types';
2
+ import type { EditorConfig, SanitizedEditorConfig } from './field/lexical/config/types';
3
3
  import type { AdapterProps } from './types';
4
+ import { RichTextCell } from './cell';
5
+ import { RichTextField } from './field';
4
6
  export declare function createLexical({ userConfig, }: {
5
7
  userConfig?: (defaultEditorConfig: EditorConfig) => EditorConfig;
6
8
  }): RichTextAdapter<AdapterProps>;
7
9
  export { BlockQuoteFeature } from './field/features/BlockQuote';
8
10
  export { BlocksFeature } from './field/features/Blocks';
9
11
  export { HeadingFeature } from './field/features/Heading';
10
- export { LinkFeature, LinkFeatureProps } from './field/features/Link';
12
+ export { LinkFeature } from './field/features/Link';
13
+ export type { LinkFeatureProps } from './field/features/Link';
11
14
  export { ParagraphFeature } from './field/features/Paragraph';
12
15
  export { RelationshipFeature } from './field/features/Relationship';
13
- export { UploadFeature, UploadFeatureProps } from './field/features/Upload';
16
+ export { UploadFeature } from './field/features/Upload';
17
+ export type { UploadFeatureProps } from './field/features/Upload';
14
18
  export { AlignFeature } from './field/features/align';
15
19
  export { TextDropdownSectionWithEntries } from './field/features/common/floatingSelectToolbarTextDropdownSection';
16
20
  export { TreeviewFeature } from './field/features/debug/TreeView';
@@ -26,5 +30,15 @@ export { IndentFeature } from './field/features/indent';
26
30
  export { CheckListFeature } from './field/features/lists/CheckList';
27
31
  export { OrderedListFeature } from './field/features/lists/OrderedList';
28
32
  export { UnoderedListFeature } from './field/features/lists/UnorderedList';
29
- export { Feature, FeatureProvider, FeatureProviderMap, ResolvedFeature, ResolvedFeatureMap, SanitizedFeatures, } from './field/features/types';
33
+ export type { Feature, FeatureProvider, FeatureProviderMap, ResolvedFeature, ResolvedFeatureMap, SanitizedFeatures, } from './field/features/types';
34
+ export { EditorConfigProvider, useEditorConfigContext, } from './field/lexical/config/EditorConfigProvider';
35
+ export { defaultEditorConfig, defaultSanitizedEditorConfig } from './field/lexical/config/default';
36
+ export { loadFeatures, sortFeaturesForOptimalLoading } from './field/lexical/config/loader';
37
+ export { sanitizeEditorConfig, sanitizeFeatures } from './field/lexical/config/sanitize';
38
+ export type { EditorConfig, SanitizedEditorConfig };
39
+ export type { AdapterProps };
40
+ export { RichTextCell };
41
+ export { RichTextField };
42
+ export { getEnabledNodes } from './field/lexical/nodes';
43
+ export { defaultRichTextValue } from './populate/defaultValue';
30
44
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAIpD,OAAO,KAAK,EAAE,YAAY,EAAyB,MAAM,8BAA8B,CAAA;AACvF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAS3C,wBAAgB,aAAa,CAAC,EAC5B,UAAU,GACX,EAAE;IACD,UAAU,CAAC,EAAE,CAAC,mBAAmB,EAAE,YAAY,KAAK,YAAY,CAAA;CACjE,GAAG,eAAe,CAAC,YAAY,CAAC,CAyChC;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,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