@difizen/libro-codemirror 0.0.2-alpha.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.
- package/LICENSE +21 -0
- package/README.md +0 -0
- package/es/auto-complete/closebrackets.d.ts +12 -0
- package/es/auto-complete/closebrackets.d.ts.map +1 -0
- package/es/auto-complete/closebrackets.js +408 -0
- package/es/auto-complete/completion.d.ts +57 -0
- package/es/auto-complete/completion.d.ts.map +1 -0
- package/es/auto-complete/completion.js +265 -0
- package/es/auto-complete/config.d.ts +22 -0
- package/es/auto-complete/config.d.ts.map +1 -0
- package/es/auto-complete/config.js +44 -0
- package/es/auto-complete/filter.d.ts +13 -0
- package/es/auto-complete/filter.d.ts.map +1 -0
- package/es/auto-complete/filter.js +191 -0
- package/es/auto-complete/index.d.ts +17 -0
- package/es/auto-complete/index.d.ts.map +1 -0
- package/es/auto-complete/index.js +107 -0
- package/es/auto-complete/snippet.d.ts +14 -0
- package/es/auto-complete/snippet.d.ts.map +1 -0
- package/es/auto-complete/snippet.js +447 -0
- package/es/auto-complete/state.d.ts +63 -0
- package/es/auto-complete/state.d.ts.map +1 -0
- package/es/auto-complete/state.js +452 -0
- package/es/auto-complete/theme.d.ts +6 -0
- package/es/auto-complete/theme.d.ts.map +1 -0
- package/es/auto-complete/theme.js +151 -0
- package/es/auto-complete/tooltip.d.ts +5 -0
- package/es/auto-complete/tooltip.d.ts.map +1 -0
- package/es/auto-complete/tooltip.js +365 -0
- package/es/auto-complete/view.d.ts +43 -0
- package/es/auto-complete/view.d.ts.map +1 -0
- package/es/auto-complete/view.js +372 -0
- package/es/auto-complete/word.d.ts +3 -0
- package/es/auto-complete/word.d.ts.map +1 -0
- package/es/auto-complete/word.js +119 -0
- package/es/completion.d.ts +6 -0
- package/es/completion.d.ts.map +1 -0
- package/es/completion.js +84 -0
- package/es/config.d.ts +184 -0
- package/es/config.d.ts.map +1 -0
- package/es/config.js +473 -0
- package/es/editor.d.ts +361 -0
- package/es/editor.d.ts.map +1 -0
- package/es/editor.js +1126 -0
- package/es/factory.d.ts +3 -0
- package/es/factory.d.ts.map +1 -0
- package/es/factory.js +12 -0
- package/es/hyperlink.d.ts +15 -0
- package/es/hyperlink.d.ts.map +1 -0
- package/es/hyperlink.js +120 -0
- package/es/indent.d.ts +8 -0
- package/es/indent.d.ts.map +1 -0
- package/es/indent.js +58 -0
- package/es/indentation-markers/config.d.ts +17 -0
- package/es/indentation-markers/config.d.ts.map +1 -0
- package/es/indentation-markers/config.js +10 -0
- package/es/indentation-markers/index.d.ts +3 -0
- package/es/indentation-markers/index.d.ts.map +1 -0
- package/es/indentation-markers/index.js +160 -0
- package/es/indentation-markers/map.d.ts +77 -0
- package/es/indentation-markers/map.d.ts.map +1 -0
- package/es/indentation-markers/map.js +265 -0
- package/es/indentation-markers/utils.d.ts +27 -0
- package/es/indentation-markers/utils.d.ts.map +1 -0
- package/es/indentation-markers/utils.js +91 -0
- package/es/index.d.ts +11 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +10 -0
- package/es/libro-icon.d.ts +3 -0
- package/es/libro-icon.d.ts.map +1 -0
- package/es/libro-icon.js +2 -0
- package/es/mimetype.d.ts +22 -0
- package/es/mimetype.d.ts.map +1 -0
- package/es/mimetype.js +59 -0
- package/es/mode.d.ts +86 -0
- package/es/mode.d.ts.map +1 -0
- package/es/mode.js +284 -0
- package/es/monitor.d.ts +32 -0
- package/es/monitor.d.ts.map +1 -0
- package/es/monitor.js +129 -0
- package/es/python-lang.d.ts +3 -0
- package/es/python-lang.d.ts.map +1 -0
- package/es/python-lang.js +7 -0
- package/es/style/base.css +131 -0
- package/es/style/theme.css +12 -0
- package/es/style/variables.css +403 -0
- package/es/theme.d.ts +35 -0
- package/es/theme.d.ts.map +1 -0
- package/es/theme.js +225 -0
- package/es/tooltip.d.ts +10 -0
- package/es/tooltip.d.ts.map +1 -0
- package/es/tooltip.js +170 -0
- package/package.json +74 -0
- package/src/auto-complete/README.md +71 -0
- package/src/auto-complete/closebrackets.ts +423 -0
- package/src/auto-complete/completion.ts +345 -0
- package/src/auto-complete/config.ts +101 -0
- package/src/auto-complete/filter.ts +215 -0
- package/src/auto-complete/index.ts +112 -0
- package/src/auto-complete/snippet.ts +394 -0
- package/src/auto-complete/state.ts +472 -0
- package/src/auto-complete/theme.ts +126 -0
- package/src/auto-complete/tooltip.ts +386 -0
- package/src/auto-complete/view.ts +343 -0
- package/src/auto-complete/word.ts +118 -0
- package/src/completion.ts +61 -0
- package/src/config.ts +689 -0
- package/src/editor.ts +1078 -0
- package/src/factory.ts +10 -0
- package/src/hyperlink.ts +95 -0
- package/src/indent.ts +69 -0
- package/src/indentation-markers/config.ts +31 -0
- package/src/indentation-markers/index.ts +192 -0
- package/src/indentation-markers/map.ts +273 -0
- package/src/indentation-markers/utils.ts +84 -0
- package/src/index.ts +11 -0
- package/src/libro-icon.ts +4 -0
- package/src/mimetype.ts +49 -0
- package/src/mode.ts +269 -0
- package/src/monitor.ts +105 -0
- package/src/python-lang.ts +7 -0
- package/src/style/base.css +129 -0
- package/src/style/theme.css +12 -0
- package/src/style/variables.css +405 -0
- package/src/theme.ts +231 -0
- package/src/tooltip.ts +145 -0
package/es/editor.d.ts
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import type { ChangeSet, Extension, Range, StateEffectType, StateCommand, Text } from '@codemirror/state';
|
|
2
|
+
import { EditorState, StateField } from '@codemirror/state';
|
|
3
|
+
import { Decoration, EditorView } from '@codemirror/view';
|
|
4
|
+
import type { Command, DecorationSet, ViewUpdate } from '@codemirror/view';
|
|
5
|
+
import type { IEditor, IEditorConfig, IEditorSelectionStyle, KeydownHandler, IEditorOptions, IModel, IPosition, IRange, ICoordinate, ITextSelection, IToken } from '@difizen/libro-code-editor';
|
|
6
|
+
import { Disposable, Emitter } from '@difizen/mana-app';
|
|
7
|
+
import type { CodeMirrorConfig } from './config.js';
|
|
8
|
+
import { EditorConfiguration } from './config.js';
|
|
9
|
+
/**
|
|
10
|
+
* The time that a collaborator name hover persists.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The default configuration options for an editor.
|
|
14
|
+
*/
|
|
15
|
+
export declare const codeMirrorDefaultConfig: Required<CodeMirrorConfig>;
|
|
16
|
+
export declare class CodeMirrorEditor implements IEditor {
|
|
17
|
+
/**
|
|
18
|
+
* Construct a CodeMirror editor.
|
|
19
|
+
*/
|
|
20
|
+
constructor(options: IOptions);
|
|
21
|
+
handleTooltipChange: (val: boolean) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize the editor binding.
|
|
24
|
+
*/
|
|
25
|
+
save: () => void;
|
|
26
|
+
/**
|
|
27
|
+
* A signal emitted when either the top or bottom edge is requested.
|
|
28
|
+
*/
|
|
29
|
+
readonly edgeRequestedEmitter: Emitter<any>;
|
|
30
|
+
readonly edgeRequested: import("@difizen/mana-app").Event<any>;
|
|
31
|
+
/**
|
|
32
|
+
* The DOM node that hosts the editor.
|
|
33
|
+
*/
|
|
34
|
+
readonly host: HTMLElement;
|
|
35
|
+
/**
|
|
36
|
+
* The uuid of this editor;
|
|
37
|
+
*/
|
|
38
|
+
get uuid(): string;
|
|
39
|
+
set uuid(value: string);
|
|
40
|
+
protected modalChangeEmitter: Emitter<boolean>;
|
|
41
|
+
get onModalChange(): import("@difizen/mana-app").Event<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* The selection style of this editor.
|
|
44
|
+
*/
|
|
45
|
+
get selectionStyle(): IEditorSelectionStyle;
|
|
46
|
+
set selectionStyle(value: IEditorSelectionStyle);
|
|
47
|
+
/**
|
|
48
|
+
* Get the codemirror editor wrapped by the editor.
|
|
49
|
+
*/
|
|
50
|
+
get editor(): EditorView;
|
|
51
|
+
/**
|
|
52
|
+
* Get the codemirror doc wrapped by the widget.
|
|
53
|
+
*/
|
|
54
|
+
get doc(): Text;
|
|
55
|
+
/**
|
|
56
|
+
* Get the number of lines in the editor.
|
|
57
|
+
*/
|
|
58
|
+
get lineCount(): number;
|
|
59
|
+
/**
|
|
60
|
+
* Returns a model for this editor.
|
|
61
|
+
*/
|
|
62
|
+
get model(): IModel;
|
|
63
|
+
/**
|
|
64
|
+
* The height of a line in the editor in pixels.
|
|
65
|
+
*/
|
|
66
|
+
get lineHeight(): number;
|
|
67
|
+
/**
|
|
68
|
+
* The widget of a character in the editor in pixels.
|
|
69
|
+
*/
|
|
70
|
+
get charWidth(): number;
|
|
71
|
+
/**
|
|
72
|
+
* Tests whether the editor is disposed.
|
|
73
|
+
*/
|
|
74
|
+
get isDisposed(): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Dispose of the resources held by the widget.
|
|
77
|
+
*/
|
|
78
|
+
dispose(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Get a config option for the editor.
|
|
81
|
+
*/
|
|
82
|
+
getOption<K extends keyof IConfig>(option: K): IConfig[K];
|
|
83
|
+
/**
|
|
84
|
+
* Set a config option for the editor.
|
|
85
|
+
*/
|
|
86
|
+
setOption<K extends keyof IEditorConfig>(option: K, value: IEditorConfig[K]): void;
|
|
87
|
+
/**
|
|
88
|
+
* Set config options for the editor.
|
|
89
|
+
*
|
|
90
|
+
* This method is preferred when setting several options. The
|
|
91
|
+
* options are set within an operation, which only performs
|
|
92
|
+
* the costly update at the end, and not after every option
|
|
93
|
+
* is set.
|
|
94
|
+
*/
|
|
95
|
+
setOptions(options: Partial<IEditorConfig>): void;
|
|
96
|
+
injectExtension(ext: Extension): void;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the content for the given line number.
|
|
99
|
+
*/
|
|
100
|
+
getLine(line: number): string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Find an offset for the given position.
|
|
103
|
+
*/
|
|
104
|
+
getOffsetAt(position: IPosition): number;
|
|
105
|
+
/**
|
|
106
|
+
* Find a position for the given offset.
|
|
107
|
+
*/
|
|
108
|
+
getPositionAt(offset: number): IPosition;
|
|
109
|
+
/**
|
|
110
|
+
* Undo one edit (if any undo events are stored).
|
|
111
|
+
*/
|
|
112
|
+
undo(): void;
|
|
113
|
+
/**
|
|
114
|
+
* Redo one undone edit.
|
|
115
|
+
*/
|
|
116
|
+
redo(): void;
|
|
117
|
+
/**
|
|
118
|
+
* Clear the undo history.
|
|
119
|
+
*/
|
|
120
|
+
clearHistory(): void;
|
|
121
|
+
/**
|
|
122
|
+
* Brings browser focus to this editor text.
|
|
123
|
+
*/
|
|
124
|
+
focus(): void;
|
|
125
|
+
/**
|
|
126
|
+
* Test whether the editor has keyboard focus.
|
|
127
|
+
*/
|
|
128
|
+
hasFocus(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Explicitly blur the editor.
|
|
131
|
+
*/
|
|
132
|
+
blur(): void;
|
|
133
|
+
/**
|
|
134
|
+
* Refresh the editor if it is focused;
|
|
135
|
+
* otherwise postpone refreshing till focusing.
|
|
136
|
+
*/
|
|
137
|
+
resizeToFit(): void;
|
|
138
|
+
get state(): EditorState;
|
|
139
|
+
firstLine(): number;
|
|
140
|
+
lastLine(): number;
|
|
141
|
+
cursorCoords(where: boolean): {
|
|
142
|
+
left: number;
|
|
143
|
+
top: number;
|
|
144
|
+
bottom: number;
|
|
145
|
+
};
|
|
146
|
+
getRange(from: {
|
|
147
|
+
line: number;
|
|
148
|
+
ch: number;
|
|
149
|
+
}, to: {
|
|
150
|
+
line: number;
|
|
151
|
+
ch: number;
|
|
152
|
+
}): string;
|
|
153
|
+
/**
|
|
154
|
+
* Add a keydown handler to the editor.
|
|
155
|
+
*
|
|
156
|
+
* @param handler - A keydown handler.
|
|
157
|
+
*
|
|
158
|
+
* @returns A disposable that can be used to remove the handler.
|
|
159
|
+
*/
|
|
160
|
+
addKeydownHandler(handler: KeydownHandler): Disposable;
|
|
161
|
+
/**
|
|
162
|
+
* Reveal the given position in the editor.
|
|
163
|
+
*/
|
|
164
|
+
revealPosition(position: IPosition): void;
|
|
165
|
+
/**
|
|
166
|
+
* Reveal the given selection in the editor.
|
|
167
|
+
*/
|
|
168
|
+
revealSelection(selection: IRange): void;
|
|
169
|
+
/**
|
|
170
|
+
* Get the window coordinates given a cursor position.
|
|
171
|
+
*/
|
|
172
|
+
getCoordinateForPosition(position: IPosition): ICoordinate;
|
|
173
|
+
/**
|
|
174
|
+
* Get the cursor position given window coordinates.
|
|
175
|
+
*
|
|
176
|
+
* @param coordinate - The desired coordinate.
|
|
177
|
+
*
|
|
178
|
+
* @returns The position of the coordinates, or null if not
|
|
179
|
+
* contained in the editor.
|
|
180
|
+
*/
|
|
181
|
+
getPositionForCoordinate(coordinate: ICoordinate): IPosition | null;
|
|
182
|
+
/**
|
|
183
|
+
* Returns the primary position of the cursor, never `null`.
|
|
184
|
+
*/
|
|
185
|
+
getCursorPosition(): IPosition;
|
|
186
|
+
/**
|
|
187
|
+
* Set the primary position of the cursor.
|
|
188
|
+
*
|
|
189
|
+
* #### Notes
|
|
190
|
+
* This will remove any secondary cursors.
|
|
191
|
+
*/
|
|
192
|
+
setCursorPosition(position: IPosition): void;
|
|
193
|
+
/**
|
|
194
|
+
* Returns the primary selection, never `null`.
|
|
195
|
+
*/
|
|
196
|
+
getSelection(): ITextSelection;
|
|
197
|
+
/**
|
|
198
|
+
* Set the primary selection. This will remove any secondary cursors.
|
|
199
|
+
*/
|
|
200
|
+
setSelection(selection: IRange): void;
|
|
201
|
+
/**
|
|
202
|
+
* Gets the selections for all the cursors, never `null` or empty.
|
|
203
|
+
*/
|
|
204
|
+
getSelections(): ITextSelection[];
|
|
205
|
+
/**
|
|
206
|
+
* Sets the selections for all the cursors, should not be empty.
|
|
207
|
+
* Cursors will be removed or added, as necessary.
|
|
208
|
+
* Passing an empty array resets a cursor position to the start of a document.
|
|
209
|
+
*/
|
|
210
|
+
setSelections(selections: IRange[]): void;
|
|
211
|
+
/**
|
|
212
|
+
* Replaces the current selection with the given text.
|
|
213
|
+
*
|
|
214
|
+
* @param text The text to be inserted.
|
|
215
|
+
*/
|
|
216
|
+
replaceSelection(text: string): void;
|
|
217
|
+
/**
|
|
218
|
+
* Get a list of tokens for the current editor text content.
|
|
219
|
+
*/
|
|
220
|
+
getTokens(): IToken[];
|
|
221
|
+
/**
|
|
222
|
+
* Get the token at a given editor position.
|
|
223
|
+
*/
|
|
224
|
+
getTokenAt(offset: number): IToken;
|
|
225
|
+
/**
|
|
226
|
+
* Get the token a the cursor position.
|
|
227
|
+
*/
|
|
228
|
+
getTokenAtCursor(): IToken;
|
|
229
|
+
/**
|
|
230
|
+
* Insert a new indented line at the current cursor position.
|
|
231
|
+
*/
|
|
232
|
+
newIndentedLine(): void;
|
|
233
|
+
/**
|
|
234
|
+
* Execute a codemirror command on the editor.
|
|
235
|
+
*
|
|
236
|
+
* @param command - The name of the command to execute.
|
|
237
|
+
*/
|
|
238
|
+
execCommand(command: Command | StateCommand): void;
|
|
239
|
+
/**
|
|
240
|
+
* Handle keydown events from the editor.
|
|
241
|
+
*/
|
|
242
|
+
protected onKeydown(event: KeyboardEvent): boolean;
|
|
243
|
+
/**
|
|
244
|
+
* Handles a mime type change.
|
|
245
|
+
*/
|
|
246
|
+
protected _onMimeTypeChanged(): void;
|
|
247
|
+
protected _buildMarkDecoration(uuid: string, _selections: ISelectionText[]): Range<Decoration>[];
|
|
248
|
+
/**
|
|
249
|
+
* Converts the selection style to a text marker options.
|
|
250
|
+
*/
|
|
251
|
+
/**
|
|
252
|
+
* Construct a caret element representing the position
|
|
253
|
+
* of a collaborator's cursor.
|
|
254
|
+
*/
|
|
255
|
+
/**
|
|
256
|
+
* Handles a cursor activity event.
|
|
257
|
+
*/
|
|
258
|
+
protected _onCursorActivity(): void;
|
|
259
|
+
/**
|
|
260
|
+
* Converts a code mirror selection to an editor selection.
|
|
261
|
+
*/
|
|
262
|
+
protected _toSelection(selection: {
|
|
263
|
+
anchor: {
|
|
264
|
+
line: number;
|
|
265
|
+
ch: number;
|
|
266
|
+
};
|
|
267
|
+
head: {
|
|
268
|
+
line: number;
|
|
269
|
+
ch: number;
|
|
270
|
+
};
|
|
271
|
+
}): ITextSelection;
|
|
272
|
+
/**
|
|
273
|
+
* Convert a code mirror position to an editor position.
|
|
274
|
+
*/
|
|
275
|
+
protected _toPosition(position: {
|
|
276
|
+
line: number;
|
|
277
|
+
ch: number;
|
|
278
|
+
}): {
|
|
279
|
+
line: number;
|
|
280
|
+
column: number;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Convert an editor position to a code mirror position.
|
|
284
|
+
*/
|
|
285
|
+
protected _toCodeMirrorPosition(position: IPosition): {
|
|
286
|
+
line: number;
|
|
287
|
+
ch: number;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Handles document changes.
|
|
291
|
+
*/
|
|
292
|
+
protected _onDocChanged(update: ViewUpdate): void;
|
|
293
|
+
/**
|
|
294
|
+
* Handle the DOM events for the editor.
|
|
295
|
+
*
|
|
296
|
+
* @param event - The DOM event sent to the editor.
|
|
297
|
+
*
|
|
298
|
+
* #### Notes
|
|
299
|
+
* This method implements the DOM `EventListener` interface and is
|
|
300
|
+
* called in response to events on the editor's DOM node. It should
|
|
301
|
+
* not be called directly by user code.
|
|
302
|
+
*/
|
|
303
|
+
handleEvent(event: Event): void;
|
|
304
|
+
/**
|
|
305
|
+
* Handle `focus` events for the editor.
|
|
306
|
+
*/
|
|
307
|
+
protected _evtFocus(): void;
|
|
308
|
+
/**
|
|
309
|
+
* Handle `blur` events for the editor.
|
|
310
|
+
*/
|
|
311
|
+
protected _evtBlur(): void;
|
|
312
|
+
/**
|
|
313
|
+
* Handle `scroll` events for the editor.
|
|
314
|
+
*/
|
|
315
|
+
protected _evtScroll(): void;
|
|
316
|
+
/**
|
|
317
|
+
* Clear the hover for a caret, due to things like
|
|
318
|
+
* scrolling, resizing, deactivation, etc, where
|
|
319
|
+
* the position is no longer valid.
|
|
320
|
+
*/
|
|
321
|
+
protected _clearHover(): void;
|
|
322
|
+
protected _model: IModel;
|
|
323
|
+
protected _editor: EditorView;
|
|
324
|
+
protected _selectionMarkers: Record<string, Range<Decoration>[]>;
|
|
325
|
+
protected _caretHover: HTMLElement | null;
|
|
326
|
+
protected _config: IConfig;
|
|
327
|
+
protected _hoverTimeout: number | undefined;
|
|
328
|
+
protected _hoverId: string | undefined;
|
|
329
|
+
protected _keydownHandlers: KeydownHandler[];
|
|
330
|
+
protected _selectionStyle: IEditorSelectionStyle;
|
|
331
|
+
protected _uuid: string;
|
|
332
|
+
protected _isDisposed: boolean;
|
|
333
|
+
protected _lastChange: ChangeSet | null;
|
|
334
|
+
protected _editorConfig: EditorConfiguration;
|
|
335
|
+
protected _addMark: StateEffectType<ICollabSelectionText>;
|
|
336
|
+
protected _removeMark: StateEffectType<ICollabDecorationSet>;
|
|
337
|
+
protected _markField: StateField<DecorationSet>;
|
|
338
|
+
}
|
|
339
|
+
export type IConfig = CodeMirrorConfig;
|
|
340
|
+
export interface IOptions extends IEditorOptions {
|
|
341
|
+
[x: string]: any;
|
|
342
|
+
/**
|
|
343
|
+
* The configuration options for the editor.
|
|
344
|
+
*/
|
|
345
|
+
config?: Partial<IConfig>;
|
|
346
|
+
}
|
|
347
|
+
export declare function createEditor(host: HTMLElement, config: IConfig, value: string, editorConfig: EditorConfiguration, additionalExtensions: Extension[]): EditorView;
|
|
348
|
+
export interface ISelectionText {
|
|
349
|
+
from: number;
|
|
350
|
+
to: number;
|
|
351
|
+
style: IEditorSelectionStyle;
|
|
352
|
+
}
|
|
353
|
+
export interface ICollabSelectionText {
|
|
354
|
+
uuid: string;
|
|
355
|
+
selections: ISelectionText[];
|
|
356
|
+
}
|
|
357
|
+
export interface ICollabDecorationSet {
|
|
358
|
+
uuid: string;
|
|
359
|
+
decorations: Range<Decoration>[];
|
|
360
|
+
}
|
|
361
|
+
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,KAAK,EACL,eAAe,EACf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