@wardic/core 1.1.0 → 1.1.2
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/unstable/AnimationControls.d.ts +110 -0
- package/dist/unstable/AnimationControls.d.ts.map +1 -0
- package/dist/unstable/AnimationControls.js +107 -0
- package/dist/unstable/AnimationControls.js.map +1 -0
- package/dist/unstable/AppearHandoff.d.ts +53 -0
- package/dist/unstable/AppearHandoff.d.ts.map +1 -0
- package/dist/unstable/AppearHandoff.js +23 -0
- package/dist/unstable/AppearHandoff.js.map +1 -0
- package/dist/unstable/Config.d.ts +285 -0
- package/dist/unstable/Config.d.ts.map +1 -0
- package/dist/unstable/Config.js +3 -0
- package/dist/unstable/Config.js.map +1 -0
- package/dist/unstable/FlushGate.d.ts +222 -0
- package/dist/unstable/FlushGate.d.ts.map +1 -0
- package/dist/unstable/FlushGate.js +567 -0
- package/dist/unstable/FlushGate.js.map +1 -0
- package/dist/unstable/FrameTime.d.ts +21 -0
- package/dist/unstable/FrameTime.d.ts.map +1 -0
- package/dist/unstable/FrameTime.js +45 -0
- package/dist/unstable/FrameTime.js.map +1 -0
- package/dist/unstable/MeasuredPairs.d.ts +51 -0
- package/dist/unstable/MeasuredPairs.d.ts.map +1 -0
- package/dist/unstable/MeasuredPairs.js +20 -0
- package/dist/unstable/MeasuredPairs.js.map +1 -0
- package/dist/unstable/OwnValues.d.ts +29 -0
- package/dist/unstable/OwnValues.d.ts.map +1 -0
- package/dist/unstable/OwnValues.js +22 -0
- package/dist/unstable/OwnValues.js.map +1 -0
- package/dist/unstable/PresenceRecord.d.ts +176 -0
- package/dist/unstable/PresenceRecord.d.ts.map +1 -0
- package/dist/unstable/PresenceRecord.js +26 -0
- package/dist/unstable/PresenceRecord.js.map +1 -0
- package/dist/unstable/Reactivity.d.ts +29 -0
- package/dist/unstable/Reactivity.d.ts.map +1 -0
- package/dist/unstable/Reactivity.js +15 -0
- package/dist/unstable/Reactivity.js.map +1 -0
- package/dist/unstable/Report.d.ts +30 -0
- package/dist/unstable/Report.d.ts.map +1 -0
- package/dist/unstable/Report.js +66 -0
- package/dist/unstable/Report.js.map +1 -0
- package/dist/unstable/RetargetLegs.d.ts +189 -0
- package/dist/unstable/RetargetLegs.d.ts.map +1 -0
- package/dist/unstable/RetargetLegs.js +834 -0
- package/dist/unstable/RetargetLegs.js.map +1 -0
- package/dist/unstable/Spine.d.ts +696 -0
- package/dist/unstable/Spine.d.ts.map +1 -0
- package/dist/unstable/Spine.js +2617 -0
- package/dist/unstable/Spine.js.map +1 -0
- package/dist/unstable/Stops.d.ts +82 -0
- package/dist/unstable/Stops.d.ts.map +1 -0
- package/dist/unstable/Stops.js +149 -0
- package/dist/unstable/Stops.js.map +1 -0
- package/dist/unstable/Subject.d.ts +11 -0
- package/dist/unstable/Subject.d.ts.map +1 -0
- package/dist/unstable/Subject.js +12 -0
- package/dist/unstable/Subject.js.map +1 -0
- package/dist/unstable/Timelines.d.ts +51 -0
- package/dist/unstable/Timelines.d.ts.map +1 -0
- package/dist/unstable/Timelines.js +10 -0
- package/dist/unstable/Timelines.js.map +1 -0
- package/dist/unstable/VariableValues.d.ts +27 -0
- package/dist/unstable/VariableValues.d.ts.map +1 -0
- package/dist/unstable/VariableValues.js +19 -0
- package/dist/unstable/VariableValues.js.map +1 -0
- package/dist/unstable/VariantTarget.d.ts +106 -0
- package/dist/unstable/VariantTarget.d.ts.map +1 -0
- package/dist/unstable/VariantTarget.js +185 -0
- package/dist/unstable/VariantTarget.js.map +1 -0
- package/dist/unstable/VariantTree.d.ts +351 -0
- package/dist/unstable/VariantTree.d.ts.map +1 -0
- package/dist/unstable/VariantTree.js +362 -0
- package/dist/unstable/VariantTree.js.map +1 -0
- package/dist/unstable/WardicConfigValue.d.ts +89 -0
- package/dist/unstable/WardicConfigValue.d.ts.map +1 -0
- package/dist/unstable/WardicConfigValue.js +106 -0
- package/dist/unstable/WardicConfigValue.js.map +1 -0
- package/dist/unstable/WardicServices.d.ts +46 -0
- package/dist/unstable/WardicServices.d.ts.map +1 -0
- package/dist/unstable/WardicServices.js +72 -0
- package/dist/unstable/WardicServices.js.map +1 -0
- package/package.json +1 -1
- package/src/unstable/AnimationControls.ts +199 -0
- package/src/unstable/AppearHandoff.ts +81 -0
- package/src/unstable/Config.ts +326 -0
- package/src/unstable/FlushGate.ts +730 -0
- package/src/unstable/FrameTime.ts +52 -0
- package/src/unstable/MeasuredPairs.ts +56 -0
- package/src/unstable/OwnValues.ts +32 -0
- package/src/unstable/PresenceRecord.ts +202 -0
- package/src/unstable/Reactivity.ts +35 -0
- package/src/unstable/Report.ts +75 -0
- package/src/unstable/RetargetLegs.ts +1062 -0
- package/src/unstable/Spine.ts +3275 -0
- package/src/unstable/Stops.ts +221 -0
- package/src/unstable/Subject.ts +13 -0
- package/src/unstable/Timelines.ts +58 -0
- package/src/unstable/VariableValues.ts +27 -0
- package/src/unstable/VariantTarget.ts +246 -0
- package/src/unstable/VariantTree.ts +643 -0
- package/src/unstable/WardicConfigValue.ts +154 -0
- package/src/unstable/WardicServices.ts +125 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `makeFlushGate` — the deferred **Flush gate** (ADR-0006), framework-free and Environment-free in
|
|
3
|
+
* core, so every binding shares one (ADR-0031, decision 3). The binding hands in its `batch` and its
|
|
4
|
+
* sinks, and its Environment the edges it reads (`GateEnvironment`); the gate imports nothing from a
|
|
5
|
+
* framework.
|
|
6
|
+
*
|
|
7
|
+
* Per ADR-0006, per-frame writes never reach their element directly. Each source
|
|
8
|
+
* `write(id, partialValues)`s into a provider-owned gate that:
|
|
9
|
+
*
|
|
10
|
+
* 1. Accumulates *value-maps* (NOT already-projected Patches) per element,
|
|
11
|
+
* merging partials by key — so multiple sources can feed one element
|
|
12
|
+
* (e.g. a drag setting `x`/`y` while a spring drives `scale`, all
|
|
13
|
+
* collapsing into one grouped `transform`). Projecting per source would
|
|
14
|
+
* clobber the grouped transform.
|
|
15
|
+
* 2. Resolves the Renderer's PURE `project` ONCE at creation and uses it to
|
|
16
|
+
* turn each dirty element's merged value-map into a `Patch` exactly once
|
|
17
|
+
* per element per frame.
|
|
18
|
+
* 3. Commits each resulting Patch onto its element with the Renderer's `commit`, a plain
|
|
19
|
+
* call (ADR-0034) — one pass over the elements per frame, shared by every element: at the end of the
|
|
20
|
+
* Frame loop's tick, in the Refresh frame that computed the values (ADR-0033). No
|
|
21
|
+
* framework runs per frame: a binding's render carries an element's style only until its
|
|
22
|
+
* first commit (ADR-0021, decision 6), and after it only the keys the gate doesn't hold.
|
|
23
|
+
*
|
|
24
|
+
* Three locked design decisions (this session's grills):
|
|
25
|
+
* - FLUSHED at the end of the Frame loop's tick (ADR-0033): the gate registers a hook on
|
|
26
|
+
* the Environment's loop (`afterTick`), so everything a tick writes is applied at the end
|
|
27
|
+
* of that tick, inside the Clock's callback, and paints in that Refresh frame. A write
|
|
28
|
+
* made outside a tick (a drag's move, a `release` from a task, an effect a sink's hook ran,
|
|
29
|
+
* a Tier 2 `Stream` on `Clock.ticks` subscribed after the loop) still requests a
|
|
30
|
+
* Refresh frame, only if one is not already pending, and the hook withdraws that request
|
|
31
|
+
* when it flushes first. `flush` does NOT auto-reschedule, so an idle accumulator
|
|
32
|
+
* requests no frames — the next `write` does. The frames come from the Environment's
|
|
33
|
+
* `RefreshFrameSource` (ADR-0031): `@wardic/dom`'s is its runtime's frame callback. No binding
|
|
34
|
+
* asks its runtime for frames itself. A Tier 2 `Stream` that writes here paints in
|
|
35
|
+
* the loop's frame or the next one, by its subscription order (ADR-0033): run it on the
|
|
36
|
+
* loop (`Machine.run`) to paint with it.
|
|
37
|
+
* - ONE flush per frame: all dirty elements flush together. The one exception
|
|
38
|
+
* is `flushPass` (ADR-0018): a projection Measure pass's own writes are applied
|
|
39
|
+
* at the end of its task, so a new layout never paints without its projection.
|
|
40
|
+
* - ONE sink shape (ADR-0034): a sink is the element its patch is committed onto. The gate
|
|
41
|
+
* also removes a key its last patch had and this one doesn't (a dragged element's raise
|
|
42
|
+
* once it's dropped, ADR-0016 *Amendment (Reorder)*), restoring the element's own
|
|
43
|
+
* value, saved before the gate first wrote the key. Two hooks reach the binding,
|
|
44
|
+
* outside the commits, each in the binding's `batch` (ADR-0034, *Amendment (#209)*): the
|
|
45
|
+
* Starting-style switch before an element's first commit (`beforeFirstCommit`), and the keys
|
|
46
|
+
* the gate holds on the element whenever they change (`onHeld`), so the binding's `style`
|
|
47
|
+
* leaves them to Wardic.
|
|
48
|
+
*
|
|
49
|
+
* Observability (CONTEXT.md convention): the hot path (`write`/`flush`) is the
|
|
50
|
+
* per-frame work, so — exactly like core's per-frame writes and the Clock's
|
|
51
|
+
* `tick` — it stays quiet (no span, no per-call log, no metric). A flush that throws (a
|
|
52
|
+
* binding's hook, a commit) is reported (`Report.failure`) and the gate
|
|
53
|
+
* goes on, so it can't fail the Frame loop's tick it runs in (ADR-0033).
|
|
54
|
+
*
|
|
55
|
+
* Unstable, for Wardic's own packages: public, with no semver promise.
|
|
56
|
+
*
|
|
57
|
+
* @module
|
|
58
|
+
*/
|
|
59
|
+
import * as FrameLoop from "../FrameLoop.ts";
|
|
60
|
+
import * as RefreshFrameSource from "../RefreshFrameSource.ts";
|
|
61
|
+
import * as Renderer from "../Renderer.ts";
|
|
62
|
+
import * as Atom from "effect/reactivity/Atom";
|
|
63
|
+
import * as AtomRegistry from "effect/reactivity/AtomRegistry";
|
|
64
|
+
import * as Effect from "effect/Effect";
|
|
65
|
+
import type * as Fiber from "effect/Fiber";
|
|
66
|
+
import * as Scope from "effect/Scope";
|
|
67
|
+
/**
|
|
68
|
+
* Where a flushed `Patch` is delivered: committed onto `target` with the Renderer's `commit`,
|
|
69
|
+
* at flush time.
|
|
70
|
+
*/
|
|
71
|
+
export interface FlushSink {
|
|
72
|
+
/** The element the patch is committed onto. */
|
|
73
|
+
readonly target: unknown;
|
|
74
|
+
/**
|
|
75
|
+
* Called once, just before the element's first commit in a frame flush (not a Measure
|
|
76
|
+
* pass's `flushPass`), inside the binding's `batch` with every other element's switch that
|
|
77
|
+
* flush: a binding drops its Starting style from its `style` here,
|
|
78
|
+
* so its framework removes those keys and the commit writes the first frame in the same
|
|
79
|
+
* Refresh frame, with no paint in between.
|
|
80
|
+
*/
|
|
81
|
+
readonly beforeFirstCommit?: (() => void) | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Called with every key the gate now holds on the element, each time that set changes: after the
|
|
84
|
+
* gate restores a key it dropped, and before the commit that first
|
|
85
|
+
* writes a key. A binding whose `style` reaches the element leaves these keys out of it,
|
|
86
|
+
* so its framework never writes over Wardic's value (`style` is a key's fallback). Called in
|
|
87
|
+
* the binding's `batch`, with every other element's whose keys changed that flush, so what the
|
|
88
|
+
* binding changes reaches the element before the commit, a framework that applies an update later
|
|
89
|
+
* (Solid 2) included.
|
|
90
|
+
*/
|
|
91
|
+
readonly onHeld?: ((keys: ReadonlyArray<string>) => void) | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Called once per frame in which the element's values were committed, after every commit of that
|
|
94
|
+
* frame (Motion's `onUpdate`), with its values before
|
|
95
|
+
* projection (`x` as a number). The object is the element's own, reused each call: valid during
|
|
96
|
+
* the call, copied to keep. A Measure pass's commits are told at the frame flush after them, so
|
|
97
|
+
* a frame tells each element once. A write it makes is the next frame's. A throw is reported,
|
|
98
|
+
* and the others are still told.
|
|
99
|
+
*/
|
|
100
|
+
readonly onCommit?: ((values: Readonly<Record<string, unknown>>) => void) | undefined;
|
|
101
|
+
}
|
|
102
|
+
/** What the gate calls of a key's Timeline value (#240): its sync with the values drawn, and its cancel. */
|
|
103
|
+
export interface GateTimeline {
|
|
104
|
+
readonly sync: (values: Readonly<Record<string, unknown>>) => void;
|
|
105
|
+
readonly cancel: () => void;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* What the gate reads of its Environment's targets, and what it keeps from a sink: a target's value
|
|
109
|
+
* for a key before the gate first writes it there (`""` for none), which it gives back at the key's
|
|
110
|
+
* release, and the key its Renderer reserves for an element's Transform template, which `onCommit`
|
|
111
|
+
* never sees.
|
|
112
|
+
*/
|
|
113
|
+
export interface GateEnvironment {
|
|
114
|
+
readonly valueBeforeOf: (target: unknown, key: string) => string;
|
|
115
|
+
readonly templateKey: string;
|
|
116
|
+
}
|
|
117
|
+
/** A Flush gate: what a binding registers its elements with and writes their values into, one per provider. */
|
|
118
|
+
export interface FlushGate {
|
|
119
|
+
/**
|
|
120
|
+
* Register an element under `id` with its `sink`. Returns an unregister fn
|
|
121
|
+
* that removes the element from the accumulator (a subsequent `write` is a
|
|
122
|
+
* no-op). `values` start its value-map, unflushed: drawn with its first `write`, so they never
|
|
123
|
+
* commit alone.
|
|
124
|
+
*/
|
|
125
|
+
readonly register: (id: string, sink: FlushSink, values?: Readonly<Record<string, unknown>>) => () => void;
|
|
126
|
+
/**
|
|
127
|
+
* Merge `partial` into the element's value-map by key, mark it dirty, and
|
|
128
|
+
* schedule a flush: the end of the Frame loop's tick, for a write made in one, or else the
|
|
129
|
+
* next Refresh frame. A `write` for an unregistered (or unregistered-since) id
|
|
130
|
+
* is a no-op.
|
|
131
|
+
*/
|
|
132
|
+
readonly write: (id: string, partial: Record<string, unknown>) => void;
|
|
133
|
+
/**
|
|
134
|
+
* Run a projection **Measure pass** now and apply exactly what it wrote before
|
|
135
|
+
* returning. Only `write()`s made while
|
|
136
|
+
* `pass()` runs are recorded; each recorded entry is `project`ed and committed once, and
|
|
137
|
+
* marked clean. Everything else stays dirty for its flush. A write made by an effect a sink's
|
|
138
|
+
* hook runs (a Solid effect) takes the ordinary path. The Projection system calls it at the
|
|
139
|
+
* end of a task, so a new layout never paints without its projection.
|
|
140
|
+
*/
|
|
141
|
+
readonly flushPass: (pass: () => void) => void;
|
|
142
|
+
/**
|
|
143
|
+
* Hand `keys` back to the element's own style: drop each from the element's
|
|
144
|
+
* value-map and schedule a flush, which writes `restore[key]` (its Environment's text form) for a key it had
|
|
145
|
+
* written, or else the element's own value it overwrote, and tells the sink (`onHeld`). A key the
|
|
146
|
+
* entry doesn't hold, or an unknown id, is a no-op. A binding releases a key back at its `style`
|
|
147
|
+
* value, so a later `style` change shows at rest. A later `write` brings the key back. A property in
|
|
148
|
+
* `keep` (`transform` for its keys) is left as it's drawn when it drops out: another writer draws it next.
|
|
149
|
+
*/
|
|
150
|
+
readonly release: (id: string, keys: ReadonlyArray<string>, restore?: Readonly<Record<string, string>>, keep?: ReadonlyArray<string>) => void;
|
|
151
|
+
/**
|
|
152
|
+
* The element's value for `id`'s `key`, live: an `Atom` set as each write that
|
|
153
|
+
* changes it lands, so it's the value the next commit draws, before the Renderer projects it
|
|
154
|
+
* (`x` as a number, not a `transform`). Set at the write, not the commit, so a value derived
|
|
155
|
+
* from it (another key following it through a binding) is written in the same frame and
|
|
156
|
+
* commits with it. `undefined` before the key's first write, and once it's released or the
|
|
157
|
+
* element unregisters. One Atom for an id and a key, made on first ask, so per frame only the
|
|
158
|
+
* keys asked for cost anything.
|
|
159
|
+
*/
|
|
160
|
+
readonly valueOf: (id: string, key: string) => Atom.Atom<unknown>;
|
|
161
|
+
/**
|
|
162
|
+
* Run `key`'s Timeline value on `id`'s element (#240), or stop it (`undefined`): a binding sets one
|
|
163
|
+
* while the key shows its Live value, and clears it when an entry of the Override stack takes the
|
|
164
|
+
* key. The gate goes on writing the key: at each flush that commits the element, before the commit,
|
|
165
|
+
* it starts the value's animation over it, or cancels it while something else adds to its property
|
|
166
|
+
* (a projection, a Transform template, another transform key off its identity), so a frame shows one
|
|
167
|
+
* or the other. A cleared or replaced one is cancelled at the next flush; a released key's, an
|
|
168
|
+
* unregistered element's and a disposed gate's, at once. Setting one schedules a flush.
|
|
169
|
+
*/
|
|
170
|
+
readonly timeline: (id: string, key: string, timeline: GateTimeline | undefined) => void;
|
|
171
|
+
/**
|
|
172
|
+
* Call `fn` once, after the gate's next flush: the end of the Frame loop's tick, for a call
|
|
173
|
+
* made in one, else the next Refresh frame's, so what was written before it is on the elements.
|
|
174
|
+
* It schedules that flush if none is pending. A binding tells an animation's end here, as Motion's
|
|
175
|
+
* `onAnimationComplete` comes with the final value set. One that throws is reported, and the rest
|
|
176
|
+
* still run.
|
|
177
|
+
*/
|
|
178
|
+
readonly afterFlush: (fn: () => void) => void;
|
|
179
|
+
/** Takes the gate off the Frame loop, cancels a pending frame and clears what it held. The Layer's Scope calls it. */
|
|
180
|
+
readonly dispose: () => void;
|
|
181
|
+
}
|
|
182
|
+
/** The gate as its spine and its binding use it: all but its `dispose`, which its Scope runs. */
|
|
183
|
+
export type Shape = Omit<FlushGate, "dispose">;
|
|
184
|
+
/** An element's commit target and hooks, given to `register`. */
|
|
185
|
+
export type Sink = FlushSink;
|
|
186
|
+
/** What a flush gate needs from its Environment: the `Renderer`, the Frame loop it flushes at the end of each tick of, and the `RefreshFrameSource`. */
|
|
187
|
+
export type FlushGateServices = Renderer.Renderer | RefreshFrameSource.RefreshFrameSource | FrameLoop.FrameLoop | AtomRegistry.AtomRegistry;
|
|
188
|
+
/**
|
|
189
|
+
* How the gate runs its Effects: synchronously, and forked. `FlushGate.make` builds one from its
|
|
190
|
+
* Layer's context, forking into its Scope (#132, ADR-0041); a test's `ManagedRuntime` is one too.
|
|
191
|
+
*/
|
|
192
|
+
export interface FlushGateRuntime {
|
|
193
|
+
readonly runSync: <A, E>(effect: Effect.Effect<A, E, FlushGateServices>) => A;
|
|
194
|
+
readonly runFork: <A, E>(effect: Effect.Effect<A, E, FlushGateServices>) => Fiber.Fiber<A, E>;
|
|
195
|
+
/** The Scope it was built in: its own fibers live there, ended as it closes (#618). */
|
|
196
|
+
readonly scope: Scope.Scope;
|
|
197
|
+
}
|
|
198
|
+
/** What a binding hands its flush gate. */
|
|
199
|
+
export interface FlushGateOptions {
|
|
200
|
+
/**
|
|
201
|
+
* Runs a flush's hooks together: calls `apply`, and returns once every update inside it has reached
|
|
202
|
+
* the elements, before the gate commits. Solid 1 passes its `batch`, Solid 2 runs `apply` then
|
|
203
|
+
* `flush()`, and React would pass `flushSync`, untried; a binding with nothing to batch passes
|
|
204
|
+
* `(apply) => apply()`. Called at most twice a flush: once for the starting-style switches
|
|
205
|
+
* (`beforeFirstCommit`) of the elements committing for the first time, before anything is read off the
|
|
206
|
+
* elements; and once for the held keys (`onHeld`) of the elements whose held keys changed.
|
|
207
|
+
*/
|
|
208
|
+
readonly batch: (apply: () => void) => void;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Build a flush gate against the provider's `runtime`, running each frame flush's Starting-style
|
|
212
|
+
* switches through the binding's `batch`.
|
|
213
|
+
*
|
|
214
|
+
* Resolves both ONCE here: `project` is pure and `commit` a plain call (both called directly at
|
|
215
|
+
* flush, ADR-0034), `requestFrame` /
|
|
216
|
+
* `cancelFrame` schedule and cancel the flush of a write made outside a tick, and the Frame
|
|
217
|
+
* loop's `afterTick` takes the gate's hook for its lifetime. All come from whichever env the
|
|
218
|
+
* provider was given (`DomLive` / `TestLive`), so the gate inherits that environment's
|
|
219
|
+
* grouping/unit logic, its Refresh frames and its loop with zero duplication.
|
|
220
|
+
*/
|
|
221
|
+
export declare const makeFlushGate: (runtime: FlushGateRuntime, options: FlushGateOptions, environment: GateEnvironment) => FlushGate;
|
|
222
|
+
//# sourceMappingURL=FlushGate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlushGate.d.ts","sourceRoot":"","sources":["../../src/unstable/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAGH,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAA;AAC5C,OAAO,KAAK,kBAAkB,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,MAA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