@wardic/core 1.0.0-rc.1 → 1.0.0-rc.10
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/dist/Batch.d.ts +244 -0
- package/dist/Batch.d.ts.map +1 -0
- package/dist/Batch.js +1862 -0
- package/dist/Batch.js.map +1 -0
- package/dist/Clock.d.ts.map +1 -1
- package/dist/Clock.js +20 -12
- package/dist/Clock.js.map +1 -1
- package/dist/DragRecognizer.d.ts +16 -1
- package/dist/DragRecognizer.d.ts.map +1 -1
- package/dist/DragRecognizer.js +87 -1
- package/dist/DragRecognizer.js.map +1 -1
- package/dist/Frame.d.ts +13 -0
- package/dist/Frame.d.ts.map +1 -1
- package/dist/Frame.js +2 -0
- package/dist/Frame.js.map +1 -1
- package/dist/FrameLoop.d.ts +12 -1
- package/dist/FrameLoop.d.ts.map +1 -1
- package/dist/FrameLoop.js +23 -1
- package/dist/FrameLoop.js.map +1 -1
- package/dist/InputSource.d.ts +21 -0
- package/dist/InputSource.d.ts.map +1 -1
- package/dist/InputSource.js.map +1 -1
- package/dist/LiveValue.d.ts +4 -3
- package/dist/LiveValue.d.ts.map +1 -1
- package/dist/LiveValue.js +7 -5
- package/dist/LiveValue.js.map +1 -1
- package/dist/Machine.d.ts +18 -4
- package/dist/Machine.d.ts.map +1 -1
- package/dist/Machine.js +96 -107
- package/dist/Machine.js.map +1 -1
- package/dist/Playback.d.ts +1 -1
- package/dist/Playback.d.ts.map +1 -1
- package/dist/Playback.js +18 -8
- package/dist/Playback.js.map +1 -1
- package/dist/Probe.d.ts +10 -49
- package/dist/Probe.d.ts.map +1 -1
- package/dist/Probe.js +7 -6
- package/dist/Probe.js.map +1 -1
- package/dist/Projection.d.ts +4 -3
- package/dist/Projection.d.ts.map +1 -1
- package/dist/Projection.js +5 -2
- package/dist/Projection.js.map +1 -1
- package/dist/Recognizer.d.ts +35 -2
- package/dist/Recognizer.d.ts.map +1 -1
- package/dist/Recognizer.js +211 -16
- package/dist/Recognizer.js.map +1 -1
- package/dist/Reorder.d.ts +3 -3
- package/dist/Reorder.d.ts.map +1 -1
- package/dist/Reorder.js +28 -14
- package/dist/Reorder.js.map +1 -1
- package/dist/ScrollSource.d.ts +62 -0
- package/dist/ScrollSource.d.ts.map +1 -0
- package/dist/ScrollSource.js +21 -0
- package/dist/ScrollSource.js.map +1 -0
- package/dist/Sequence.d.ts +7 -2
- package/dist/Sequence.d.ts.map +1 -1
- package/dist/Sequence.js +8 -2
- package/dist/Sequence.js.map +1 -1
- package/dist/SharedSource.d.ts +35 -15
- package/dist/SharedSource.d.ts.map +1 -1
- package/dist/SharedSource.js +84 -108
- package/dist/SharedSource.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/frameLoop.d.ts +33 -7
- package/dist/internal/frameLoop.d.ts.map +1 -1
- package/dist/internal/frameLoop.js +214 -38
- package/dist/internal/frameLoop.js.map +1 -1
- package/dist/internal/hearing.d.ts +13 -0
- package/dist/internal/hearing.d.ts.map +1 -0
- package/dist/internal/hearing.js +71 -0
- package/dist/internal/hearing.js.map +1 -0
- package/dist/internal/keyframes.d.ts +40 -0
- package/dist/internal/keyframes.d.ts.map +1 -0
- package/dist/internal/keyframes.js +70 -0
- package/dist/internal/keyframes.js.map +1 -0
- package/dist/internal/playhead.d.ts +16 -0
- package/dist/internal/playhead.d.ts.map +1 -0
- package/dist/internal/playhead.js +6 -0
- package/dist/internal/playhead.js.map +1 -0
- package/dist/internal/stepper.d.ts +6 -0
- package/dist/internal/stepper.d.ts.map +1 -1
- package/dist/internal/stepper.js +16 -0
- package/dist/internal/stepper.js.map +1 -1
- package/dist/internal/watch.d.ts +6 -0
- package/dist/internal/watch.d.ts.map +1 -1
- package/dist/internal/watch.js +7 -0
- package/dist/internal/watch.js.map +1 -1
- package/package.json +1 -1
- package/src/Batch.ts +2128 -0
- package/src/Clock.ts +29 -17
- package/src/DragRecognizer.ts +97 -2
- package/src/Frame.ts +16 -0
- package/src/FrameLoop.ts +24 -1
- package/src/InputSource.ts +25 -0
- package/src/LiveValue.ts +9 -7
- package/src/Machine.ts +106 -135
- package/src/Playback.ts +18 -15
- package/src/Probe.ts +16 -58
- package/src/Projection.ts +11 -5
- package/src/Recognizer.ts +242 -17
- package/src/Reorder.ts +39 -18
- package/src/ScrollSource.ts +68 -0
- package/src/Sequence.ts +20 -5
- package/src/SharedSource.ts +113 -146
- package/src/index.ts +3 -1
- package/src/internal/frameLoop.ts +246 -43
- package/src/internal/hearing.ts +76 -0
- package/src/internal/keyframes.ts +98 -0
- package/src/internal/playhead.ts +19 -0
- package/src/internal/stepper.ts +16 -0
- package/src/internal/watch.ts +15 -0
package/dist/Batch.d.ts
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import * as Inspectable from "effect/Inspectable";
|
|
3
|
+
import { type Pipeable } from "effect/Pipeable";
|
|
4
|
+
import type { Invariant } from "effect/Types";
|
|
5
|
+
import type * as FrameLoop from "./FrameLoop.ts";
|
|
6
|
+
import * as Machine from "./Machine.ts";
|
|
7
|
+
import type * as Playback from "./Playback.ts";
|
|
8
|
+
declare const TypeId = "~@wardic/core/Batch";
|
|
9
|
+
/**
|
|
10
|
+
* How an Environment draws a Batch's members: whether it can draw a key, and its write for one Batch's
|
|
11
|
+
* keys, built once when the Batch is made. The write gets a member's Subject and its values, the
|
|
12
|
+
* Batch's keys in order from `base`: plain numbers, read as it's called.
|
|
13
|
+
*/
|
|
14
|
+
export interface Writer<S> {
|
|
15
|
+
/** Whether it can draw `key`. */
|
|
16
|
+
readonly writes: (key: string) => boolean;
|
|
17
|
+
/** Its write for a Batch with these keys, in this order. */
|
|
18
|
+
readonly forKeys: (keys: ReadonlyArray<string>) => (subject: S, positions: Float64Array, base: number) => void;
|
|
19
|
+
/** Called once a frame, after every member's write: for a writer that hands what it wrote on in one go. */
|
|
20
|
+
readonly flush?: () => void;
|
|
21
|
+
}
|
|
22
|
+
/** A transition a Batch runs a key with: a spring, or a tween. */
|
|
23
|
+
export type Transition = ({
|
|
24
|
+
readonly type: "spring";
|
|
25
|
+
} & Omit<Machine.SpringOptions, "from" | "velocity">) | ({
|
|
26
|
+
readonly type: "tween";
|
|
27
|
+
} & Machine.TweenOptions);
|
|
28
|
+
/** One transition for every key, or one per key by its name, with `default` for the keys it doesn't name. */
|
|
29
|
+
export type Transitions = Transition | Readonly<Record<string, Transition>>;
|
|
30
|
+
/** `retarget`'s options. */
|
|
31
|
+
export interface RetargetOptions {
|
|
32
|
+
/**
|
|
33
|
+
* How this change's keys move: a key it doesn't give, nor its `default`, moves by the Batch's own. Or
|
|
34
|
+
* a function of a member's slot and its key's index, for members whose keys move differently. Give the
|
|
35
|
+
* same object for members that move alike: they then step together.
|
|
36
|
+
*/
|
|
37
|
+
readonly transition?: Transitions | ((slot: number, k: number) => Transition);
|
|
38
|
+
/**
|
|
39
|
+
* Seconds each member waits before it moves, after its transition's own delay: one for all, or by
|
|
40
|
+
* its rank among the members this change moves, of `n`, as `Stagger.make`'s delays are.
|
|
41
|
+
*/
|
|
42
|
+
readonly delay?: number | ((rank: number, n: number) => number);
|
|
43
|
+
/**
|
|
44
|
+
* Where a member's key starts from, `NaN` for where it is: it starts there, at `velocity`'s speed (0
|
|
45
|
+
* when it gives none), toward its target, the one it has when `targetOf` gives `NaN`. For a driver
|
|
46
|
+
* handing a member's keys back.
|
|
47
|
+
*/
|
|
48
|
+
readonly from?: (slot: number, k: number) => number;
|
|
49
|
+
/** Each started key's speed, with `from`. */
|
|
50
|
+
readonly velocity?: (slot: number, k: number) => number;
|
|
51
|
+
/**
|
|
52
|
+
* How far each member's change has run, in seconds, its delay included, or `NaN` for from its start:
|
|
53
|
+
* read once, at the member's first step, which draws the keys this change turns there, at the speed
|
|
54
|
+
* they have there (a spring's by its closed form, a tween's by its curve), and steps on from it at the
|
|
55
|
+
* next. A spring under its rest thresholds there lands at that next step. For an Appear animation taken
|
|
56
|
+
* over, read in the frame that draws it.
|
|
57
|
+
*/
|
|
58
|
+
readonly startAt?: (slot: number) => number;
|
|
59
|
+
}
|
|
60
|
+
/** `make`'s options. */
|
|
61
|
+
export interface Options<S> {
|
|
62
|
+
/** The keys its members animate, fixed when it's made. */
|
|
63
|
+
readonly keys: ReadonlyArray<string>;
|
|
64
|
+
/** How its members are drawn. */
|
|
65
|
+
readonly writer: Writer<S>;
|
|
66
|
+
/** How its keys move, unless a change gives its own: every key needs one, its own or `default`. */
|
|
67
|
+
readonly transition: Transitions;
|
|
68
|
+
/** How many members it holds before it grows. Default 16. */
|
|
69
|
+
readonly capacity?: number;
|
|
70
|
+
/** Called once a frame, after every member's write: Motion's `onUpdate`, for the whole Batch. */
|
|
71
|
+
readonly onFrame?: () => void;
|
|
72
|
+
}
|
|
73
|
+
/** A Batch of Subjects `S`: built by `make`, never as a literal. */
|
|
74
|
+
export interface Batch<S> extends Pipeable, Inspectable.Inspectable {
|
|
75
|
+
readonly [TypeId]: {
|
|
76
|
+
readonly _S: Invariant<S>;
|
|
77
|
+
};
|
|
78
|
+
/** The keys its members animate, in the order its writer reads them. */
|
|
79
|
+
readonly keys: ReadonlyArray<string>;
|
|
80
|
+
}
|
|
81
|
+
/** Whether `u` is a Batch. */
|
|
82
|
+
export declare const isBatch: (u: unknown) => u is Batch<unknown>;
|
|
83
|
+
/**
|
|
84
|
+
* A Batch of no members yet, on `options.keys`, drawn by `options.writer`.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* const grid = Batch.make({ keys: ["x", "y"], writer, transition: { type: "spring" } })
|
|
88
|
+
*/
|
|
89
|
+
export declare const make: <S>(options: Options<S>) => Batch<S>;
|
|
90
|
+
/**
|
|
91
|
+
* A new member, `subject`, starting from `start`'s values (a key it doesn't give starts at 0): its
|
|
92
|
+
* slot, which every other operation takes.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* const slot = Batch.enter(grid, tile, { x: 0, y: 0 })
|
|
96
|
+
*/
|
|
97
|
+
export declare const enter: {
|
|
98
|
+
<S>(subject: S, start: Readonly<Record<string, number>>): (self: Batch<S>) => number;
|
|
99
|
+
<S>(self: Batch<S>, subject: S, start: Readonly<Record<string, number>>): number;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* The member at `slot` leaves: it isn't written again, and its slot goes to the next to enter.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* Batch.leave(grid, slot)
|
|
106
|
+
*/
|
|
107
|
+
export declare const leave: {
|
|
108
|
+
(slot: number): <S>(self: Batch<S>) => void;
|
|
109
|
+
<S>(self: Batch<S>, slot: number): void;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* The member at `slot` is drawn on `subject` from now on: its values, speed, targets and delays carry
|
|
113
|
+
* on as they were. For an element its framework made again for the same member.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* Batch.replace(grid, slot, element)
|
|
117
|
+
*/
|
|
118
|
+
export declare const replace: {
|
|
119
|
+
<S>(slot: number, subject: S): (self: Batch<S>) => void;
|
|
120
|
+
<S>(self: Batch<S>, slot: number, subject: S): void;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* One change: each of `slots`' members turned toward `targetOf(slot, k)` for its `k`th key (`NaN`
|
|
124
|
+
* keeps that key's target). A member whose targets are unchanged gets nothing. It returns how many
|
|
125
|
+
* members it sets off from rest.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* const grid = Batch.make({ keys: ["x", "y"], writer, transition: { type: "spring" } })
|
|
129
|
+
* Batch.retarget(grid, slots, (slot, k) => cellOf(slot)[k], { delay: Stagger.make(0.02) })
|
|
130
|
+
*/
|
|
131
|
+
export declare const retarget: {
|
|
132
|
+
(slots: ReadonlyArray<number>, targetOf: (slot: number, k: number) => number, options?: RetargetOptions): <S>(self: Batch<S>) => number;
|
|
133
|
+
<S>(self: Batch<S>, slots: ReadonlyArray<number>, targetOf: (slot: number, k: number) => number, options?: RetargetOptions): number;
|
|
134
|
+
};
|
|
135
|
+
/** Whether any member moves: one `step` would move. */
|
|
136
|
+
export declare const isMoving: <S>(self: Batch<S>) => boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Steps every moving member by `dt` seconds and writes each one: whether nothing moves now. The run
|
|
139
|
+
* on the Frame loop calls it each tick.
|
|
140
|
+
*/
|
|
141
|
+
export declare const step: <S>(self: Batch<S>, dt: number) => boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Writes every member where it is now, with no step, then flushes the writer: a change that started its
|
|
144
|
+
* members from their targets (`retarget`'s `from`), drawn now, before the page paints, where the run would
|
|
145
|
+
* draw it at its next tick.
|
|
146
|
+
*/
|
|
147
|
+
export declare const draw: <S>(self: Batch<S>) => void;
|
|
148
|
+
declare const AnimationTypeId = "~@wardic/core/Batch/Animation";
|
|
149
|
+
/** A change of a Batch driven by a Playhead: built by `animate`, which `play`, `stop`, `cancel` and `durationOf` take. */
|
|
150
|
+
export interface Animation extends Pipeable, Inspectable.Inspectable {
|
|
151
|
+
readonly [AnimationTypeId]: typeof AnimationTypeId;
|
|
152
|
+
}
|
|
153
|
+
/** `animate`'s options: a change's, and its Playhead, its first stops and its landing's callback. */
|
|
154
|
+
export interface AnimateOptions extends RetargetOptions {
|
|
155
|
+
/** What drives it: its keys step at its speed, hold while it's paused, and move its time. */
|
|
156
|
+
readonly head: Playback.Playhead;
|
|
157
|
+
/** Each member's key's first stop, `NaN` for where it is: it starts there, from rest. */
|
|
158
|
+
readonly from?: (slot: number, k: number) => number;
|
|
159
|
+
/** Called once every key it moves has landed while it still moves it, or at its play when it moves none. */
|
|
160
|
+
readonly onLanded?: () => void;
|
|
161
|
+
/**
|
|
162
|
+
* Called for each member it's given, once, as every key of it it still moves has landed: at its
|
|
163
|
+
* first play for a member it moves nothing of; never for one whose keys a later change took.
|
|
164
|
+
*/
|
|
165
|
+
readonly onMemberLanded?: (slot: number) => void;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* A member's key's keyframes, for `keyframes`: its stops, `NaN` for the stop before (the key's value at
|
|
169
|
+
* its first play, first), and the run through them, as `Machine.keyframes` takes them.
|
|
170
|
+
*/
|
|
171
|
+
export interface Keyframes {
|
|
172
|
+
readonly stops: ReadonlyArray<number>;
|
|
173
|
+
readonly transition: Machine.KeyframesOptions;
|
|
174
|
+
}
|
|
175
|
+
/** `keyframes`' options: its Playhead, and its landing's callback. */
|
|
176
|
+
export interface KeyframesOptions {
|
|
177
|
+
/** What drives it: its keys step at its speed, hold while it's paused, and move its time. */
|
|
178
|
+
readonly head: Playback.Playhead;
|
|
179
|
+
/** Called once every key it moves has reached its last stop while it still moves it, or at its play when it moves none. */
|
|
180
|
+
readonly onLanded?: () => void;
|
|
181
|
+
}
|
|
182
|
+
/** Whether `u` is a Batch's Animation. */
|
|
183
|
+
export declare const isAnimation: (u: unknown) => u is Animation;
|
|
184
|
+
/**
|
|
185
|
+
* A change of `slots`' members toward `targetOf(slot, k)`, driven by `options.head`: nothing moves until
|
|
186
|
+
* it's played. Its controls are `play`, `stop`, `cancel` and `durationOf`.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* const head = Playback.make()
|
|
190
|
+
* const shuffle = Batch.animate(grid, slots, (slot, k) => cellOf(slot)[k], { head, transition: { type: "spring" } })
|
|
191
|
+
* Batch.play(shuffle)
|
|
192
|
+
*/
|
|
193
|
+
export declare const animate: {
|
|
194
|
+
(slots: ReadonlyArray<number>, targetOf: (slot: number, k: number) => number, options: AnimateOptions): <S>(self: Batch<S>) => Animation;
|
|
195
|
+
<S>(self: Batch<S>, slots: ReadonlyArray<number>, targetOf: (slot: number, k: number) => number, options: AnimateOptions): Animation;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* A change of `slots`' members through each key's own keyframes, `keyframesOf(slot, k)` (`undefined`
|
|
199
|
+
* for a key it leaves), driven by `options.head`: each key as `Machine.keyframes` would run its stops,
|
|
200
|
+
* frame for frame. Nothing moves until it's played; its controls are `animate`'s. A Sequence's Segment
|
|
201
|
+
* of a Batch, its members' stops placed over the whole sequence, runs on it.
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
* const head = Playback.make()
|
|
205
|
+
* const wave = Batch.keyframes(grid, slots, (slot) => ({ stops: [Number.NaN, -20, 0], transition: { duration: 0.6, delay: slot * 0.05 } }), { head })
|
|
206
|
+
* Batch.play(wave)
|
|
207
|
+
*/
|
|
208
|
+
export declare const keyframes: {
|
|
209
|
+
(slots: ReadonlyArray<number>, keyframesOf: (slot: number, k: number) => Keyframes | undefined, options: KeyframesOptions): <S>(self: Batch<S>) => Animation;
|
|
210
|
+
<S>(self: Batch<S>, slots: ReadonlyArray<number>, keyframesOf: (slot: number, k: number) => Keyframes | undefined, options: KeyframesOptions): Animation;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Plays `animation` from its Playhead's time: from its start at 0, its change worked out then, and from
|
|
214
|
+
* wherever a seek put the time, every key it moves taken again there. It returns how many members it
|
|
215
|
+
* sets off from rest. One that moves nothing lands at once, as an element's call with no key does.
|
|
216
|
+
*/
|
|
217
|
+
export declare const play: (self: Animation) => number;
|
|
218
|
+
/** Ends `animation` where it is: the keys it moves stay there, at rest. */
|
|
219
|
+
export declare const stop: (self: Animation) => void;
|
|
220
|
+
/** Ends `animation`, and puts the keys it moved back where it started them, at rest. */
|
|
221
|
+
export declare const cancel: (self: Animation) => void;
|
|
222
|
+
/**
|
|
223
|
+
* How long `animation` runs, in seconds: its longest key's, a spring's until it rests, stepped from its
|
|
224
|
+
* start at 60 Hz as `Machine.durationOf` steps a machine. Worked out once.
|
|
225
|
+
*/
|
|
226
|
+
export declare const durationOf: (self: Animation) => number;
|
|
227
|
+
/**
|
|
228
|
+
* Runs `self` on the Frame loop while any member moves, from the next tick: each tick steps every
|
|
229
|
+
* moving member and writes it. It succeeds once nothing moves. While one runs, another does nothing,
|
|
230
|
+
* so a binding calls it after each change.
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* Batch.retarget(grid, slots, targetOf)
|
|
234
|
+
* runtime.runFork(Batch.run(grid))
|
|
235
|
+
*/
|
|
236
|
+
export declare const run: <S>(self: Batch<S>) => Effect.Effect<void, never, FrameLoop.FrameLoop>;
|
|
237
|
+
/** A member's value for `key` now. */
|
|
238
|
+
export declare const get: <S>(self: Batch<S>, slot: number, key: string) => number;
|
|
239
|
+
/** A member's target for `key` now: where a change last turned it, toward which it moves or rests. */
|
|
240
|
+
export declare const target: <S>(self: Batch<S>, slot: number, key: string) => number;
|
|
241
|
+
/** A member's velocity for `key` now, per second: what an animation that takes the key over starts with. */
|
|
242
|
+
export declare const velocity: <S>(self: Batch<S>, slot: number, key: string) => number;
|
|
243
|
+
export {};
|
|
244
|
+
//# sourceMappingURL=Batch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Batch.d.ts","sourceRoot":"","sources":["../src/Batch.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAA;AAGjD,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,iBAAiB,CAAA;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C,OAAO,KAAK,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,KAAK,QAAQ,MAAM,eAAe,CAAA;AAS9C,QAAA,MAAM,MAAM,wBAAwB,CAAA;AAEpC;;;;GAIG;AAEH,MAAM,WAAW,MAAM,CAAC,CAAC;IACvB,iCAAiC;IACjC,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAA;IACzC,4DAA4D;IAC5D,QAAQ,CAAC,OA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