@miragon/event-storming-renderer 0.3.0 → 0.4.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/README.md +30 -11
- package/dist/EventStormingBaseViewer.d.ts +16 -4
- package/dist/EventStormingBaseViewer.d.ts.map +1 -1
- package/dist/collaborative/CollaborativeEventStorming.d.ts +15 -7
- package/dist/collaborative/CollaborativeEventStorming.d.ts.map +1 -1
- package/dist/collaborative/index.d.ts +1 -1
- package/dist/collaborative/index.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +856 -803
- package/dist/index.js.map +1 -1
- package/dist/io/EventStormingImporter.d.ts +6 -1
- package/dist/io/EventStormingImporter.d.ts.map +1 -1
- package/dist/label-editing/EventStormingLabelEditing.d.ts +3 -3
- package/dist/label-editing/EventStormingLabelEditing.d.ts.map +1 -1
- package/dist/model/EventStormingElementFactory.d.ts +5 -3
- package/dist/model/EventStormingElementFactory.d.ts.map +1 -1
- package/dist/model/random-id.d.ts +5 -0
- package/dist/model/random-id.d.ts.map +1 -0
- package/dist/palette/EventStormingPaletteProvider.d.ts +11 -0
- package/dist/palette/EventStormingPaletteProvider.d.ts.map +1 -1
- package/dist/palette/index.d.ts +1 -1
- package/dist/palette/index.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -47,8 +47,18 @@ freeform drawings on an unbounded canvas.
|
|
|
47
47
|
| `container` | a detached `<div>` | Host element; without one, mount later with `attachTo(host)` |
|
|
48
48
|
| `width`, `height` | `100%`, `600px` | Container size (`100%` high when a `container` is given) |
|
|
49
49
|
| `additionalModules` | `[]` | diagram-js modules appended after the renderer's own |
|
|
50
|
+
| `fitOnImport` | `true` | Fit the board into the view after every import |
|
|
50
51
|
| `undoRedoKeys` | `true` | `Modeler` only: bind Cmd/Ctrl+Z, Cmd/Ctrl+Shift+Z and Ctrl+Y |
|
|
51
|
-
| `
|
|
52
|
+
| `freeArea` | none | `Modeler` only: the part of the canvas no chrome covers |
|
|
53
|
+
|
|
54
|
+
`freeArea` is `{ insets: () => ({ top, right, bottom, left }) }`, the margins in px that the
|
|
55
|
+
chrome covers, or `{ center: () => ({ x, y }) }`, the free centre in diagram coordinates
|
|
56
|
+
(`undefined` while there is none). `freeArea`, `fitOnImport` and `undoRedoKeys` are the names of
|
|
57
|
+
the [`@miragon/modeler-api`](https://www.npmjs.com/package/@miragon/modeler-api) factory options
|
|
58
|
+
(contract 1.2), the same for every Miragon renderer. `freeRectInsets: () => insets`, the earlier
|
|
59
|
+
name of `freeArea: { insets }`, is deprecated and still accepted until the next minor release;
|
|
60
|
+
given both, `freeArea` wins. Pass `fitOnImport: false` when the host sets the view after every
|
|
61
|
+
import itself.
|
|
52
62
|
|
|
53
63
|
Pass `undoRedoKeys: false` when the host owns the history, as the VS Code extension does: the keys
|
|
54
64
|
then reach the host untouched and the host undoes the document, while copy, paste, delete, the
|
|
@@ -64,8 +74,9 @@ largest zoom that shows all of it, never above 100%; an empty board shows at 100
|
|
|
64
74
|
typed when an import arrives is reopened on the same element afterwards, with the typed text.
|
|
65
75
|
|
|
66
76
|
Enter or Space on a creating palette entry (a click without a pointer, `detail` 0) places the
|
|
67
|
-
element in the centre of the container minus
|
|
68
|
-
|
|
77
|
+
element in the centre of `freeArea` (the container minus the margins a host's chrome covers, or the
|
|
78
|
+
centre the host names; without it the container's centre), 24px down and right while that spot is
|
|
79
|
+
taken, selects it and opens its label editor.
|
|
69
80
|
|
|
70
81
|
`eventStormingReadOnly` locks every edit while a host cannot save from the canvas (an invalid file
|
|
71
82
|
in an IDE): `diagram.get('eventStormingReadOnly').setReadOnly(true)` vetoes moves, resizes,
|
|
@@ -79,9 +90,9 @@ drawing keeps literal light colours in its SVG attributes, so exports look the s
|
|
|
79
90
|
|
|
80
91
|
### Collaborative hosts
|
|
81
92
|
|
|
82
|
-
The package implements the collaborative-modeler contract of
|
|
93
|
+
The package implements the collaborative-modeler contract 1.2 of
|
|
83
94
|
[`@miragon/modeler-api`](https://www.npmjs.com/package/@miragon/modeler-api) (notation
|
|
84
|
-
`event-storming`) and runs its conformance kit in CI:
|
|
95
|
+
`event-storming`) and runs its conformance kit in CI, every case and no advisory:
|
|
85
96
|
|
|
86
97
|
```ts
|
|
87
98
|
import {
|
|
@@ -107,18 +118,26 @@ const viewer = createCollaborativeViewer(); // meta.editable: false, never chang
|
|
|
107
118
|
- `getViewState()` / `setViewState()` read and set the diagram-js viewbox (`x`, `y`, `width`,
|
|
108
119
|
`height`); an import fits the board, never above 100% and never below 0.1% (a board too wide to
|
|
109
120
|
show whole at 0.1% is centred there instead).
|
|
121
|
+
- A view change never commits an open label editor: `setViewState`, a host's fit and the user's own
|
|
122
|
+
scroll or zoom leave it open with the typed text, and it moves with its element. A click or a
|
|
123
|
+
drag on the canvas, Cmd/Ctrl+Enter (Enter on an arrow label) or leaving the field commits it;
|
|
124
|
+
Escape discards it.
|
|
110
125
|
- `elements` lists the stickies with their ids and labels, reveals (selects and scrolls to) one
|
|
111
126
|
and reports the selection. Sticky ids survive a save and a re-open: the DSL writes `(id …)`
|
|
112
127
|
back for every sticky whose id the parser would not derive again from its label at that line (one
|
|
113
128
|
created on the canvas, a renamed one). Notes, drawings and arrows have no id in the text yet (theirs
|
|
114
129
|
derive from their text or position), so they are not addressable.
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
130
|
+
- `elements.bounds(id)` gives a sticky's box in board coordinates (`{ x, y, width, height }`, the
|
|
131
|
+
top-left corner and the size, which zoom and scroll leave alone), read from the live canvas: a
|
|
132
|
+
sticky created or moved in the session has its current box. Any other id gives `undefined`. The
|
|
133
|
+
viewer answers it too.
|
|
134
|
+
- New sticky ids are random: a sticky created on the canvas (palette, keyboard, append, paste) gets
|
|
135
|
+
`<prefix>_<8 characters of [0-9a-z]>`, such as `(id event_k3x9q2ab)`, so two peers that each add
|
|
136
|
+
one at the same time do not pick the same id. Ids already in a text are read as they are.
|
|
120
137
|
- `diagram` is the wrapped `Modeler` or `NavigatedViewer`, for everything outside the contract.
|
|
121
|
-
`createCollaborativeModeler`
|
|
138
|
+
`createCollaborativeModeler` and `createCollaborativeViewer` accept the same options:
|
|
139
|
+
`additionalModules`, `fitOnImport`, and for the modeler `undoRedoKeys` and `freeArea` (the
|
|
140
|
+
viewer ignores those two); the deprecated `freeRectInsets` still works for one minor release.
|
|
122
141
|
- After `destroy()`, `exportText()` returns the last state and `importText()` rejects.
|
|
123
142
|
|
|
124
143
|
#### Migrating a host
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModuleDeclaration } from 'didi';
|
|
2
2
|
import { EventStormingBoard } from '@miragon/event-storming-schema-model';
|
|
3
3
|
import { ImportWarning } from './io/types.js';
|
|
4
|
-
import { FreeRectInsets } from './palette/EventStormingPaletteProvider.js';
|
|
4
|
+
import { FreeArea, FreeRectInsets } from './palette/EventStormingPaletteProvider.js';
|
|
5
5
|
export interface EventStormingViewerOptions {
|
|
6
6
|
/** Host element. If missing, a detached <div> is created (can be attached later via attachTo). */
|
|
7
7
|
container?: HTMLElement;
|
|
@@ -15,11 +15,23 @@ export interface EventStormingViewerOptions {
|
|
|
15
15
|
*/
|
|
16
16
|
undoRedoKeys?: boolean | undefined;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* Where the host's chrome leaves the canvas free (palette row, zoom panel), as the margins it
|
|
19
|
+
* covers (`{ insets }`) or the free centre in diagram coordinates (`{ center }`). An element
|
|
20
|
+
* created from the palette with Enter or Space lands in that centre (guide §5.5); without it, in
|
|
21
|
+
* the centre of the container. The modeler-api name.
|
|
22
|
+
*/
|
|
23
|
+
freeArea?: FreeArea | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Pass `freeArea: { insets }` instead. Accepted until the next minor release;
|
|
26
|
+
* `freeArea` wins when both are given.
|
|
21
27
|
*/
|
|
22
28
|
freeRectInsets?: (() => FreeRectInsets) | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Fit the board into the view after every import (default true). A host whose chrome fits the
|
|
31
|
+
* content itself (the modeler shell's viewport, into the free area) passes false and sets the
|
|
32
|
+
* view after the import.
|
|
33
|
+
*/
|
|
34
|
+
fitOnImport?: boolean | undefined;
|
|
23
35
|
}
|
|
24
36
|
export type EventCallback<T = unknown> = (event: T) => void;
|
|
25
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventStormingBaseViewer.d.ts","sourceRoot":"","sources":["../src/EventStormingBaseViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAK9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAO/E,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"EventStormingBaseViewer.d.ts","sourceRoot":"","sources":["../src/EventStormingBaseViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAK9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAO/E,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,cAAc,EACpB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,0BAA0B;IACzC,kGAAkG;IAClG,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CA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,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAOzC,yFAAyF;IACzF,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAK/B,4EAA4E;IAC5E,MAAM,IAAI,IAAI;IAId,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,IAAI;IAQf,IAAI,SAAS,IAAI,WAAW,CAE3B;CACF"}
|
|
@@ -1,25 +1,33 @@
|
|
|
1
|
-
import { CollaborativeModeler, ElementsSurface } from '@miragon/modeler-api';
|
|
1
|
+
import { CollaborativeModeler, CollaborativeModelerOptions, ElementsSurface } from '@miragon/modeler-api';
|
|
2
2
|
import { ModuleDeclaration } from 'didi';
|
|
3
3
|
import { Modeler } from '../Modeler.js';
|
|
4
4
|
import { NavigatedViewer } from '../NavigatedViewer.js';
|
|
5
5
|
import { FreeRectInsets } from '../palette/EventStormingPaletteProvider.js';
|
|
6
6
|
/** Stable notation id in `meta.notation` of the collaborative-modeler contract. */
|
|
7
7
|
export declare const EVENT_STORMING_NOTATION = "event-storming";
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The modeler-api factory options (`freeArea`, `fitOnImport`, `undoRedoKeys`) plus the renderer's
|
|
10
|
+
* own. The viewer takes the same object and ignores what only editing uses (`undoRedoKeys`,
|
|
11
|
+
* `freeArea`).
|
|
12
|
+
*/
|
|
13
|
+
export interface CollaborativeEventStormingOptions extends CollaborativeModelerOptions {
|
|
9
14
|
/** Appended to the renderer's own modules (e.g. a host's chrome module). */
|
|
10
15
|
additionalModules?: ModuleDeclaration[] | undefined;
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Pass `freeArea: { insets }` instead. Accepted until the next minor release;
|
|
18
|
+
* `freeArea` wins when both are given.
|
|
19
|
+
*/
|
|
14
20
|
freeRectInsets?: (() => FreeRectInsets) | undefined;
|
|
15
21
|
}
|
|
22
|
+
/** The elements surface with `bounds`, which every Event Storming mount answers. */
|
|
23
|
+
export type EventStormingElementsSurface = ElementsSurface & Required<Pick<ElementsSurface, 'bounds'>>;
|
|
16
24
|
/** The contract surface plus the wrapped diagram for host-specific wiring. */
|
|
17
25
|
export interface CollaborativeEventStormingModeler extends CollaborativeModeler {
|
|
18
|
-
readonly elements:
|
|
26
|
+
readonly elements: EventStormingElementsSurface;
|
|
19
27
|
readonly diagram: Modeler | NavigatedViewer;
|
|
20
28
|
}
|
|
21
29
|
/** The editing mount (`meta.editable: true`) of the collaborative-modeler contract. */
|
|
22
30
|
export declare function createCollaborativeModeler(options?: CollaborativeEventStormingOptions): CollaborativeEventStormingModeler;
|
|
23
31
|
/** The read-only mount (`meta.editable: false`): imports, exports and reveals, never edits. */
|
|
24
|
-
export declare function createCollaborativeViewer(options?:
|
|
32
|
+
export declare function createCollaborativeViewer(options?: CollaborativeEventStormingOptions): CollaborativeEventStormingModeler;
|
|
25
33
|
//# sourceMappingURL=CollaborativeEventStorming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollaborativeEventStorming.d.ts","sourceRoot":"","sources":["../../src/collaborative/CollaborativeEventStorming.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CollaborativeEventStorming.d.ts","sourceRoot":"","sources":["../../src/collaborative/CollaborativeEventStorming.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAGhC,KAAK,eAAe,EAGrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAK9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAGjF,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IACpF,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACpD;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,cAAc,CAAC,GAAG,SAAS,CAAC;CACrD;AAED,oFAAoF;AACpF,MAAM,MAAM,4BAA4B,GAAG,eAAe,GACxD,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE5C,8EAA8E;AAC9E,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB;IAC7E,QAAQ,CAAC,QAAQ,EAAE,4BAA4B,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,CAAC;CAC7C;AAgBD,uFAAuF;AACvF,wBAAgB,0BAA0B,CACxC,OAAO,GAAE,iCAAsC,GAC9C,iCAAiC,CASnC;AAED,+FAA+F;AAC/F,wBAAgB,yBAAyB,CACvC,OAAO,GAAE,iCAAsC,GAC9C,iCAAiC,CAEnC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { EVENT_STORMING_NOTATION, createCollaborativeModeler, createCollaborativeViewer, type CollaborativeEventStormingModeler, type CollaborativeEventStormingOptions, } from './CollaborativeEventStorming.js';
|
|
1
|
+
export { EVENT_STORMING_NOTATION, createCollaborativeModeler, createCollaborativeViewer, type CollaborativeEventStormingModeler, type CollaborativeEventStormingOptions, type EventStormingElementsSurface, } from './CollaborativeEventStorming.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collaborative/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collaborative/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,GAClC,MAAM,iCAAiC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { Modeler } from './Modeler.js';
|
|
|
4
4
|
export { EventStormingBaseViewer } from './EventStormingBaseViewer.js';
|
|
5
5
|
export type { EventStormingViewerOptions, EventCallback } from './EventStormingBaseViewer.js';
|
|
6
6
|
export { EVENT_STORMING_NOTATION, createCollaborativeModeler, createCollaborativeViewer, } from './collaborative/index.js';
|
|
7
|
-
export type { CollaborativeEventStormingModeler, CollaborativeEventStormingOptions, } from './collaborative/index.js';
|
|
7
|
+
export type { CollaborativeEventStormingModeler, CollaborativeEventStormingOptions, EventStormingElementsSurface, } from './collaborative/index.js';
|
|
8
8
|
export { eventStormingModelModule, EventStormingElementFactory } from './model/index.js';
|
|
9
9
|
export { boardBoundsModule, BoardBounds } from './board-bounds/index.js';
|
|
10
10
|
export { eventStormingDrawModule, EventStormingRenderer } from './draw/index.js';
|
|
@@ -28,7 +28,7 @@ export { eventStormingAttachModule, EventStormingAttachBehavior } from './attach
|
|
|
28
28
|
export { eventStormingColorPickerModule, EventStormingColorPicker } from './color-picker/index.js';
|
|
29
29
|
export { eventStormingResizeModule, EventStormingResizeBehavior } from './resize/index.js';
|
|
30
30
|
export { eventStormingReadOnlyModule, EventStormingReadOnly, READ_ONLY_CHANGED_EVENT, } from './read-only/index.js';
|
|
31
|
-
export type { FreeRectInsets } from './palette/EventStormingPaletteProvider.js';
|
|
31
|
+
export type { FreeArea, FreeRectInsets } from './palette/EventStormingPaletteProvider.js';
|
|
32
32
|
export { boardMenu, BOARD_LEVELS, STORM_EXPORT_LABEL, boardShortcuts, commandKeyLabel, createShortcutsDialog, } from './board-menu/index.js';
|
|
33
33
|
export type { BoardExport, BoardExports, BoardLevels, BoardMenu, BoardMenuAction, BoardMenuActions, BoardMenuCheckbox, BoardMenuDialog, BoardMenuEntry, BoardMenuIcon, BoardMenuRadioGroup, BoardShortcutOptions, ShortcutGroup, ShortcutKeyNames, ShortcutPlatform, ShortcutRow, ShortcutsChrome, ShortcutsDialog, ShortcutsDialogChrome, TypeCaptions, } from './board-menu/index.js';
|
|
34
34
|
export { isEventStormingShape, isEventStormingConnection, isSticky, isStickyKind, isAttachableKind, isHostKind, isAttachableSticky, isHostSticky, STICKY_KINDS, } from './model/di-types.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,YAAY,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,iCAAiC,EACjC,iCAAiC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,YAAY,EAAE,0BAA0B,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