@difizen/libro-terminal 0.1.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 +1 -0
- package/es/configuration.js +226 -0
- package/es/connection.d.ts +108 -0
- package/es/connection.d.ts.map +1 -0
- package/es/connection.js +385 -0
- package/es/index.d.ts +2 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +1 -0
- package/es/manager.d.ts +104 -0
- package/es/manager.d.ts.map +1 -0
- package/es/manager.js +469 -0
- package/es/module.d.ts +3 -0
- package/es/module.d.ts.map +1 -0
- package/es/module.js +22 -0
- package/es/protocol.d.ts +87 -0
- package/es/protocol.d.ts.map +1 -0
- package/es/protocol.js +16 -0
- package/es/restapi.d.ts +11 -0
- package/es/restapi.d.ts.map +1 -0
- package/es/restapi.js +181 -0
- package/es/theme-service.js +183 -0
- package/es/view.d.ts +85 -0
- package/es/view.d.ts.map +1 -0
- package/es/view.js +317 -0
- package/package.json +63 -0
- package/src/configuration.ts +276 -0
- package/src/connection.ts +347 -0
- package/src/index.spec.ts +8 -0
- package/src/index.ts +1 -0
- package/src/manager.ts +280 -0
- package/src/module.ts +29 -0
- package/src/protocol.ts +102 -0
- package/src/restapi.ts +75 -0
- package/src/theme-service.ts +180 -0
- package/src/view.tsx +327 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-present Difizen Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# libro-widget
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _dec, _class;
|
|
3
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
5
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
+
import { isOSX, isWindows, singleton } from '@difizen/mana-app';
|
|
9
|
+
export var DEFAULT_TERMINAL_RENDERER_TYPE = 'canvas';
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
|
+
export function isTerminalRendererType(arg) {
|
|
12
|
+
return typeof arg === 'string' && (arg === 'canvas' || arg === 'dom');
|
|
13
|
+
}
|
|
14
|
+
export var terminalEnableCopy = {
|
|
15
|
+
id: 'terminal.enableCopy',
|
|
16
|
+
schema: {
|
|
17
|
+
type: 'boolean'
|
|
18
|
+
},
|
|
19
|
+
description: 'Enable ctrl-c (cmd-c on macOS) to copy selected text',
|
|
20
|
+
defaultValue: true
|
|
21
|
+
};
|
|
22
|
+
export var terminalEnablePaste = {
|
|
23
|
+
id: 'terminal.enablePaste',
|
|
24
|
+
schema: {
|
|
25
|
+
type: 'boolean'
|
|
26
|
+
},
|
|
27
|
+
description: 'Enable ctrl-v (cmd-v on macOS) to paste from clipboard',
|
|
28
|
+
defaultValue: true
|
|
29
|
+
};
|
|
30
|
+
export var terminalIntegratedFontFamily = {
|
|
31
|
+
id: 'terminal.integrated.fontFamily',
|
|
32
|
+
schema: {
|
|
33
|
+
type: 'string'
|
|
34
|
+
},
|
|
35
|
+
description: "Controls the font family of the terminal, this defaults to `#editor.fontFamily#`'s value.",
|
|
36
|
+
defaultValue: isOSX ? "Menlo, Monaco, 'Courier New', monospace" : isWindows ? "Consolas, 'Courier New', monospace" : "'Droid Sans Mono', 'monospace', monospace"
|
|
37
|
+
};
|
|
38
|
+
export var terminalIntegratedFontSize = {
|
|
39
|
+
id: 'terminal.integrated.fontSize',
|
|
40
|
+
schema: {
|
|
41
|
+
type: 'number',
|
|
42
|
+
minimum: 6
|
|
43
|
+
},
|
|
44
|
+
description: 'Controls the font size in pixels of the terminal.',
|
|
45
|
+
defaultValue: 12
|
|
46
|
+
};
|
|
47
|
+
export var terminalIntegratedFontWeight = {
|
|
48
|
+
id: 'terminal.integrated.fontWeight',
|
|
49
|
+
schema: {
|
|
50
|
+
type: 'string'
|
|
51
|
+
},
|
|
52
|
+
// enum: ['normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
53
|
+
description: 'The font weight to use within the terminal for non-bold text. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.',
|
|
54
|
+
defaultValue: 'normal'
|
|
55
|
+
};
|
|
56
|
+
export var terminalIntegratedFontWeightBold = {
|
|
57
|
+
id: 'terminal.integrated.fontWeightBold',
|
|
58
|
+
schema: {
|
|
59
|
+
type: 'string'
|
|
60
|
+
},
|
|
61
|
+
// enum: ['normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
62
|
+
description: 'The font weight to use within the terminal for bold text. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.',
|
|
63
|
+
defaultValue: 'bold'
|
|
64
|
+
};
|
|
65
|
+
export var terminalIntegratedDrawBoldTextInBrightColors = {
|
|
66
|
+
id: 'terminal.integrated.drawBoldTextInBrightColors',
|
|
67
|
+
description: 'Controls whether bold text in the terminal will always use the "bright" ANSI color variant.',
|
|
68
|
+
schema: {
|
|
69
|
+
type: 'boolean'
|
|
70
|
+
},
|
|
71
|
+
defaultValue: true
|
|
72
|
+
};
|
|
73
|
+
export var terminalIntegratedLetterSpacing = {
|
|
74
|
+
id: 'terminal.integrated.letterSpacing',
|
|
75
|
+
description: 'Controls the letter spacing of the terminal, this is an integer value which represents the amount of additional pixels to add between characters.',
|
|
76
|
+
schema: {
|
|
77
|
+
type: 'number'
|
|
78
|
+
},
|
|
79
|
+
defaultValue: 1
|
|
80
|
+
};
|
|
81
|
+
export var terminalIntegratedLineHeight = {
|
|
82
|
+
id: 'terminal.integrated.lineHeight',
|
|
83
|
+
description: 'Controls the line height of the terminal, this number is multiplied by the terminal font size to get the actual line-height in pixels.',
|
|
84
|
+
schema: {
|
|
85
|
+
type: 'number',
|
|
86
|
+
minimum: 1
|
|
87
|
+
},
|
|
88
|
+
defaultValue: 1
|
|
89
|
+
};
|
|
90
|
+
export var terminalIntegratedScrollback = {
|
|
91
|
+
id: 'terminal.integrated.scrollback',
|
|
92
|
+
description: 'Controls the maximum amount of lines the terminal keeps in its buffer.',
|
|
93
|
+
schema: {
|
|
94
|
+
type: 'number'
|
|
95
|
+
},
|
|
96
|
+
defaultValue: 1000
|
|
97
|
+
};
|
|
98
|
+
export var terminalIntegratedFastScrollSensitivity = {
|
|
99
|
+
id: 'terminal.integrated.fastScrollSensitivity',
|
|
100
|
+
description: 'Scrolling speed multiplier when pressing `Alt`.',
|
|
101
|
+
schema: {
|
|
102
|
+
type: 'number'
|
|
103
|
+
},
|
|
104
|
+
defaultValue: 5
|
|
105
|
+
};
|
|
106
|
+
export var terminalIntegratedRendererType = {
|
|
107
|
+
id: 'terminal.integrated.rendererType',
|
|
108
|
+
description: 'Controls how the terminal is rendered.',
|
|
109
|
+
schema: {
|
|
110
|
+
type: 'string'
|
|
111
|
+
},
|
|
112
|
+
// enum: ['canvas', 'dom'],
|
|
113
|
+
defaultValue: 'canvas'
|
|
114
|
+
};
|
|
115
|
+
export var terminalIntegratedCopyOnSelection = {
|
|
116
|
+
id: 'terminal.integrated.copyOnSelection',
|
|
117
|
+
description: 'Controls whether text selected in the terminal will be copied to the clipboard.',
|
|
118
|
+
schema: {
|
|
119
|
+
type: 'boolean'
|
|
120
|
+
},
|
|
121
|
+
defaultValue: false
|
|
122
|
+
};
|
|
123
|
+
export var terminalIntegratedCursorBlinking = {
|
|
124
|
+
id: 'terminal.integrated.cursorBlinking',
|
|
125
|
+
description: 'Controls whether the terminal cursor blinks.',
|
|
126
|
+
schema: {
|
|
127
|
+
type: 'boolean'
|
|
128
|
+
},
|
|
129
|
+
defaultValue: false
|
|
130
|
+
};
|
|
131
|
+
export var terminalIntegratedCursorStyle = {
|
|
132
|
+
id: 'terminal.integrated.cursorStyle',
|
|
133
|
+
description: 'Controls the style of terminal cursor.',
|
|
134
|
+
// enum: ['block', 'underline', 'line'],
|
|
135
|
+
defaultValue: 'block',
|
|
136
|
+
schema: {
|
|
137
|
+
type: 'string'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
export var terminalIntegratedCursorWidth = {
|
|
141
|
+
id: 'terminal.integrated.cursorWidth',
|
|
142
|
+
description: 'Controls the width of the cursor when `#terminal.integrated.cursorStyle#` is set to `line`.',
|
|
143
|
+
schema: {
|
|
144
|
+
type: 'number'
|
|
145
|
+
},
|
|
146
|
+
defaultValue: 1
|
|
147
|
+
};
|
|
148
|
+
export var terminalIntegratedShellWindows = {
|
|
149
|
+
id: 'terminal.integrated.shell.windows',
|
|
150
|
+
schema: {
|
|
151
|
+
type: 'string'
|
|
152
|
+
},
|
|
153
|
+
// typeDetails: { isFilepath: true },
|
|
154
|
+
description: "The path of the shell that the terminal uses on Windows. (defaultValue: '{0}').",
|
|
155
|
+
defaultValue: undefined
|
|
156
|
+
};
|
|
157
|
+
export var terminalIntegratedShellOsx = {
|
|
158
|
+
id: 'terminal.integrated.shell.osx',
|
|
159
|
+
schema: {
|
|
160
|
+
type: 'string'
|
|
161
|
+
},
|
|
162
|
+
description: "The path of the shell that the terminal uses on macOS (defaultValue: '{0}'}).",
|
|
163
|
+
defaultValue: undefined
|
|
164
|
+
};
|
|
165
|
+
export var terminalIntegratedShellLinux = {
|
|
166
|
+
id: 'terminal.integrated.shell.linux',
|
|
167
|
+
schema: {
|
|
168
|
+
type: 'string'
|
|
169
|
+
},
|
|
170
|
+
description: "The path of the shell that the terminal uses on Linux (defaultValue: '{0}'}).",
|
|
171
|
+
defaultValue: undefined
|
|
172
|
+
};
|
|
173
|
+
export var terminalIntegratedShellArgsWindows = {
|
|
174
|
+
id: 'terminal.integrated.shellArgs.windows',
|
|
175
|
+
schema: {
|
|
176
|
+
type: 'string'
|
|
177
|
+
},
|
|
178
|
+
description: 'The command line arguments to use when on the Windows terminal.',
|
|
179
|
+
defaultValue: []
|
|
180
|
+
};
|
|
181
|
+
export var terminalIntegratedShellArgsOsx = {
|
|
182
|
+
id: 'terminal.integrated.shellArgs.osx',
|
|
183
|
+
schema: {
|
|
184
|
+
type: 'string'
|
|
185
|
+
},
|
|
186
|
+
description: 'The command line arguments to use when on the macOS terminal.',
|
|
187
|
+
defaultValue: ['-l']
|
|
188
|
+
};
|
|
189
|
+
export var terminalIntegratedShellArgsLinux = {
|
|
190
|
+
id: 'terminal.integrated.shellArgs.linux',
|
|
191
|
+
schema: {
|
|
192
|
+
type: 'string'
|
|
193
|
+
},
|
|
194
|
+
description: 'The command line arguments to use when on the Linux terminal.',
|
|
195
|
+
defaultValue: []
|
|
196
|
+
};
|
|
197
|
+
export var terminalIntegratedConfirmOnExit = {
|
|
198
|
+
id: 'terminal.integrated.confirmOnExit',
|
|
199
|
+
schema: {
|
|
200
|
+
type: 'string'
|
|
201
|
+
},
|
|
202
|
+
description: 'Controls whether to confirm when the window closes if there are active terminal sessions.',
|
|
203
|
+
// enum: ['never', 'always', 'hasChildProcesses'],
|
|
204
|
+
// enumDescriptions: [
|
|
205
|
+
// nls.localize('theia/terminal/confirmCloseNever', 'Never confirm.'),
|
|
206
|
+
// nls.localize('theia/terminal/confirmCloseAlways', 'Always confirm if there are terminals.'),
|
|
207
|
+
// nls.localize('theia/terminal/confirmCloseChildren', 'Confirm if there are any terminals that have child processes.'),
|
|
208
|
+
// ],
|
|
209
|
+
defaultValue: 'never'
|
|
210
|
+
};
|
|
211
|
+
export var TerminalConfiguration = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
|
|
212
|
+
function TerminalConfiguration() {
|
|
213
|
+
_classCallCheck(this, TerminalConfiguration);
|
|
214
|
+
this.configs = [terminalEnableCopy, terminalEnablePaste, terminalIntegratedFontFamily, terminalIntegratedFontSize, terminalIntegratedFontWeight, terminalIntegratedFontWeightBold, terminalIntegratedDrawBoldTextInBrightColors, terminalIntegratedLetterSpacing, terminalIntegratedLineHeight, terminalIntegratedScrollback, terminalIntegratedFastScrollSensitivity, terminalIntegratedRendererType, terminalIntegratedCopyOnSelection, terminalIntegratedCursorBlinking, terminalIntegratedCursorStyle, terminalIntegratedCursorWidth, terminalIntegratedShellWindows, terminalIntegratedShellOsx, terminalIntegratedShellLinux, terminalIntegratedShellArgsWindows, terminalIntegratedShellArgsOsx, terminalIntegratedShellArgsLinux, terminalIntegratedConfirmOnExit];
|
|
215
|
+
}
|
|
216
|
+
_createClass(TerminalConfiguration, [{
|
|
217
|
+
key: "get",
|
|
218
|
+
value: function get(key) {
|
|
219
|
+
var _this$configs$find;
|
|
220
|
+
return (_this$configs$find = this.configs.find(function (item) {
|
|
221
|
+
return item.id === key;
|
|
222
|
+
})) === null || _this$configs$find === void 0 ? void 0 : _this$configs$find.defaultValue;
|
|
223
|
+
}
|
|
224
|
+
}]);
|
|
225
|
+
return TerminalConfiguration;
|
|
226
|
+
}()) || _class);
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import type { ISettings } from '@difizen/libro-kernel';
|
|
3
|
+
import type { Disposable, Disposed, Event } from '@difizen/mana-app';
|
|
4
|
+
import { Emitter } from '@difizen/mana-app';
|
|
5
|
+
import { TerminalOption } from './protocol.js';
|
|
6
|
+
import type { TerminalMessage, TerminalModel, TerminalConnectionStatus } from './protocol.js';
|
|
7
|
+
import { TerminalRestAPI } from './restapi.js';
|
|
8
|
+
export declare class TerminalConnection implements Disposable, Disposed {
|
|
9
|
+
protected _onDisposed: Emitter<void>;
|
|
10
|
+
protected _messageReceived: Emitter<TerminalMessage>;
|
|
11
|
+
protected _connectionStatus: TerminalConnectionStatus;
|
|
12
|
+
protected _connectionStatusChanged: Emitter<TerminalConnectionStatus>;
|
|
13
|
+
protected _name: string;
|
|
14
|
+
protected _reconnectTimeout?: NodeJS.Timeout;
|
|
15
|
+
protected _ws?: WebSocket;
|
|
16
|
+
protected _noOp: () => void;
|
|
17
|
+
protected _reconnectLimit: number;
|
|
18
|
+
protected _reconnectAttempt: number;
|
|
19
|
+
protected _pendingMessages: TerminalMessage[];
|
|
20
|
+
terminalRestAPI: TerminalRestAPI;
|
|
21
|
+
disposed: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Construct a new terminal session.
|
|
24
|
+
*/
|
|
25
|
+
constructor(options: TerminalOption & {
|
|
26
|
+
name: string;
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* A signal emitted when a message is received from the server.
|
|
30
|
+
*/
|
|
31
|
+
get messageReceived(): Event<TerminalMessage>;
|
|
32
|
+
get onDisposed(): Event<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Get the name of the terminal session.
|
|
35
|
+
*/
|
|
36
|
+
get name(): string;
|
|
37
|
+
/**
|
|
38
|
+
* Get the model for the terminal session.
|
|
39
|
+
*/
|
|
40
|
+
get model(): TerminalModel;
|
|
41
|
+
/**
|
|
42
|
+
* The server settings for the session.
|
|
43
|
+
*/
|
|
44
|
+
readonly serverSettings: ISettings;
|
|
45
|
+
/**
|
|
46
|
+
* Dispose of the resources held by the session.
|
|
47
|
+
*/
|
|
48
|
+
dispose(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Send a message to the terminal session.
|
|
51
|
+
*
|
|
52
|
+
* #### Notes
|
|
53
|
+
* If the connection is down, the message will be queued for sending when
|
|
54
|
+
* the connection comes back up.
|
|
55
|
+
*/
|
|
56
|
+
send(message: TerminalMessage): void;
|
|
57
|
+
/**
|
|
58
|
+
* Send a message on the websocket, or possibly queue for later sending.
|
|
59
|
+
*
|
|
60
|
+
* @param queue - whether to queue the message if it cannot be sent
|
|
61
|
+
*/
|
|
62
|
+
_sendMessage(message: TerminalMessage, queue?: boolean): void;
|
|
63
|
+
/**
|
|
64
|
+
* Send pending messages to the kernel.
|
|
65
|
+
*/
|
|
66
|
+
protected _sendPending(): void;
|
|
67
|
+
toDisposeOnReconnect: Disposable | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Reconnect to a terminal.
|
|
70
|
+
*/
|
|
71
|
+
reconnect(): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Attempt a connection if we have not exhausted connection attempts.
|
|
74
|
+
*/
|
|
75
|
+
_reconnect(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Forcefully clear the socket state.
|
|
78
|
+
*
|
|
79
|
+
* #### Notes
|
|
80
|
+
* This will clear all socket state without calling any handlers and will
|
|
81
|
+
* not update the connection status. If you call this method, you are
|
|
82
|
+
* responsible for updating the connection status as needed and recreating
|
|
83
|
+
* the socket if you plan to reconnect.
|
|
84
|
+
*/
|
|
85
|
+
protected _clearSocket(): void;
|
|
86
|
+
/**
|
|
87
|
+
* Shut down the terminal session.
|
|
88
|
+
*/
|
|
89
|
+
shutdown(): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Create the terminal websocket connection and add socket status handlers.
|
|
92
|
+
*
|
|
93
|
+
* #### Notes
|
|
94
|
+
* You are responsible for updating the connection status as appropriate.
|
|
95
|
+
*/
|
|
96
|
+
protected _createSocket: () => void;
|
|
97
|
+
protected _onWSMessage: (event: MessageEvent) => void;
|
|
98
|
+
protected _onWSClose: (event: CloseEvent) => void;
|
|
99
|
+
/**
|
|
100
|
+
* Handle connection status changes.
|
|
101
|
+
*/
|
|
102
|
+
protected _updateConnectionStatus(connectionStatus: TerminalConnectionStatus): void;
|
|
103
|
+
protected _errorIfDisposed(): void;
|
|
104
|
+
get connectionStatusChanged(): Event<TerminalConnectionStatus>;
|
|
105
|
+
get connectionStatus(): TerminalConnectionStatus;
|
|
106
|
+
}
|
|
107
|
+
export declare function getRandomIntInclusive(min: number, max: number): number;
|
|
108
|
+
//# sourceMappingURL=connection.d.ts.map
|
|
@@ -0,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