@cliquify.me/transitions 0.11.18 → 1.0.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 +46 -0
- package/dist/index.es.js +239 -244
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +10 -10
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { interpolate as
|
|
2
|
-
import { jsx as o, Fragment as
|
|
3
|
-
import
|
|
4
|
-
import { getBoundingBox as
|
|
5
|
-
import { makeStar as
|
|
6
|
-
const
|
|
1
|
+
import { interpolate as D, spring as ce, measureSpring as me, AbsoluteFill as c, Internals as Z, Sequence as M, useVideoConfig as de, useCurrentFrame as fe, Freeze as Y, random as B } from "remotion";
|
|
2
|
+
import { jsx as o, Fragment as ee, jsxs as W } from "react/jsx-runtime";
|
|
3
|
+
import C, { useMemo as h, Children as pe, useState as A } from "react";
|
|
4
|
+
import { getBoundingBox as he, translatePath as te } from "@remotion/paths";
|
|
5
|
+
import { makeStar as ge, makePie as ye } from "@remotion/shapes";
|
|
6
|
+
const T = (n) => ({
|
|
7
7
|
getDurationInFrames: () => n.durationInFrames,
|
|
8
|
-
getProgress: ({ frame: t }) =>
|
|
8
|
+
getProgress: ({ frame: t }) => D(t, [0, n.durationInFrames], [0, 1], {
|
|
9
9
|
easing: n.easing,
|
|
10
10
|
extrapolateLeft: "clamp",
|
|
11
11
|
extrapolateRight: "clamp"
|
|
12
12
|
})
|
|
13
|
-
}),
|
|
14
|
-
getDurationInFrames: ({ fps: t }) => n.durationInFrames ? n.durationInFrames :
|
|
13
|
+
}), at = (n = {}) => ({
|
|
14
|
+
getDurationInFrames: ({ fps: t }) => n.durationInFrames ? n.durationInFrames : me({
|
|
15
15
|
config: n.config,
|
|
16
16
|
threshold: n.durationRestThreshold,
|
|
17
17
|
fps: t
|
|
18
18
|
}),
|
|
19
19
|
getProgress: ({ fps: t, frame: e }) => {
|
|
20
20
|
const r = n.reverse ? 0 : 1, s = n.reverse ? 1 : 0;
|
|
21
|
-
return
|
|
21
|
+
return ce({
|
|
22
22
|
fps: t,
|
|
23
23
|
frame: e,
|
|
24
24
|
to: r,
|
|
@@ -31,7 +31,7 @@ const $ = (n) => ({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
typeof window < "u" && (window.remotion_renderReady = !1, window.remotion_delayRenderTimeouts || (window.remotion_delayRenderTimeouts = {}), window.remotion_delayRenderHandles = []);
|
|
34
|
-
var
|
|
34
|
+
var $e = {
|
|
35
35
|
"style.transformOrigin": {
|
|
36
36
|
type: "transform-origin",
|
|
37
37
|
step: 1,
|
|
@@ -67,7 +67,7 @@ var qe = {
|
|
|
67
67
|
description: "Opacity",
|
|
68
68
|
hiddenFromList: !1
|
|
69
69
|
}
|
|
70
|
-
},
|
|
70
|
+
}, we = {
|
|
71
71
|
"style.borderWidth": {
|
|
72
72
|
type: "number",
|
|
73
73
|
default: void 0,
|
|
@@ -98,7 +98,7 @@ var qe = {
|
|
|
98
98
|
default: void 0,
|
|
99
99
|
description: "Border color"
|
|
100
100
|
}
|
|
101
|
-
},
|
|
101
|
+
}, Te = {
|
|
102
102
|
"style.borderRadius": {
|
|
103
103
|
type: "number",
|
|
104
104
|
default: 0,
|
|
@@ -140,13 +140,13 @@ var qe = {
|
|
|
140
140
|
description: "Bottom left radius",
|
|
141
141
|
hiddenFromList: !1
|
|
142
142
|
}
|
|
143
|
-
},
|
|
143
|
+
}, be = {
|
|
144
144
|
"style.backgroundColor": {
|
|
145
145
|
type: "color",
|
|
146
146
|
default: "transparent",
|
|
147
147
|
description: "Color"
|
|
148
148
|
}
|
|
149
|
-
},
|
|
149
|
+
}, Se = {
|
|
150
150
|
premountFor: {
|
|
151
151
|
type: "number",
|
|
152
152
|
default: 0,
|
|
@@ -164,9 +164,9 @@ var qe = {
|
|
|
164
164
|
hiddenFromList: !0,
|
|
165
165
|
keyframable: !1
|
|
166
166
|
}
|
|
167
|
-
},
|
|
168
|
-
...
|
|
169
|
-
},
|
|
167
|
+
}, Fe = {
|
|
168
|
+
...Se
|
|
169
|
+
}, ve = {
|
|
170
170
|
cropLeft: {
|
|
171
171
|
type: "number",
|
|
172
172
|
default: 0,
|
|
@@ -207,28 +207,28 @@ var qe = {
|
|
|
207
207
|
hiddenFromList: !1,
|
|
208
208
|
keyframable: !0
|
|
209
209
|
}
|
|
210
|
-
},
|
|
211
|
-
...
|
|
212
|
-
|
|
213
|
-
...
|
|
214
|
-
...
|
|
215
|
-
...
|
|
216
|
-
...
|
|
217
|
-
},
|
|
210
|
+
}, xe = ve, Ie = {
|
|
211
|
+
...xe,
|
|
212
|
+
...$e,
|
|
213
|
+
...be,
|
|
214
|
+
...we,
|
|
215
|
+
...Te,
|
|
216
|
+
...Fe
|
|
217
|
+
}, Ee = {
|
|
218
218
|
layout: {
|
|
219
219
|
type: "enum",
|
|
220
220
|
default: "absolute-fill",
|
|
221
221
|
description: "Layout",
|
|
222
222
|
variants: {
|
|
223
|
-
"absolute-fill":
|
|
223
|
+
"absolute-fill": Ie,
|
|
224
224
|
none: {}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
({
|
|
229
|
-
...
|
|
229
|
+
...Ee.layout
|
|
230
230
|
});
|
|
231
|
-
function
|
|
231
|
+
function Pe(n, t) {
|
|
232
232
|
const { allowFloats: e, component: r } = t;
|
|
233
233
|
if (typeof n > "u")
|
|
234
234
|
throw new Error(`The "durationInFrames" prop ${r} is missing.`);
|
|
@@ -241,31 +241,31 @@ function Ae(n, t) {
|
|
|
241
241
|
if (!Number.isFinite(n))
|
|
242
242
|
throw new TypeError(`The "durationInFrames" prop ${r} must be finite, but got ${n}.`);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
validateDurationInFrames:
|
|
244
|
+
var qe = {
|
|
245
|
+
validateDurationInFrames: Pe
|
|
246
246
|
};
|
|
247
|
-
const
|
|
247
|
+
const ne = C.createContext(null), re = C.createContext(null), K = ({ presentationProgress: n, children: t }) => {
|
|
248
248
|
const e = h(() => ({
|
|
249
249
|
enteringProgress: n
|
|
250
250
|
}), [n]);
|
|
251
|
-
return /* @__PURE__ */ o(
|
|
252
|
-
},
|
|
251
|
+
return /* @__PURE__ */ o(ne.Provider, { value: e, children: t });
|
|
252
|
+
}, G = ({ presentationProgress: n, children: t }) => {
|
|
253
253
|
const e = h(() => ({
|
|
254
254
|
exitingProgress: n
|
|
255
255
|
}), [n]);
|
|
256
|
-
return /* @__PURE__ */ o(
|
|
257
|
-
},
|
|
258
|
-
|
|
256
|
+
return /* @__PURE__ */ o(re.Provider, { value: e, children: t });
|
|
257
|
+
}, oe = (n) => C.Children.toArray(n).reduce((e, r) => r.type === C.Fragment ? e.concat(
|
|
258
|
+
oe(
|
|
259
259
|
r.props.children
|
|
260
260
|
)
|
|
261
|
-
) : (e.push(r), e), []),
|
|
261
|
+
) : (e.push(r), e), []), Re = 0.01, ke = ({
|
|
262
262
|
children: n,
|
|
263
263
|
presentationProgress: t,
|
|
264
264
|
presentationDirection: e,
|
|
265
265
|
passedProps: { direction: r = "from-left", enterStyle: s, exitStyle: l }
|
|
266
266
|
}) => {
|
|
267
267
|
const u = h(() => {
|
|
268
|
-
const i = t === 1 ? t * 100 : t * 100 -
|
|
268
|
+
const i = t === 1 ? t * 100 : t * 100 - Re;
|
|
269
269
|
if (e === "exiting")
|
|
270
270
|
switch (r) {
|
|
271
271
|
case "from-left":
|
|
@@ -315,128 +315,123 @@ const me = k.createContext(null), de = k.createContext(null), ie = ({ presentati
|
|
|
315
315
|
...u,
|
|
316
316
|
...e === "entering" ? s : l
|
|
317
317
|
}), [u, s, l, e]);
|
|
318
|
-
return /* @__PURE__ */ o(
|
|
318
|
+
return /* @__PURE__ */ o(c, { style: a, children: n });
|
|
319
319
|
}, N = (n) => ({
|
|
320
|
-
component:
|
|
320
|
+
component: ke,
|
|
321
321
|
props: {}
|
|
322
|
-
}),
|
|
322
|
+
}), Ce = qe.validateDurationInFrames, L = function(n) {
|
|
323
323
|
return null;
|
|
324
|
-
}
|
|
325
|
-
L.isTransitionSeriesTransition = !0;
|
|
326
|
-
const X = ({ children: n }) => /* @__PURE__ */ o(ue, { children: n });
|
|
327
|
-
X.isSeriesSequence = !0;
|
|
328
|
-
const De = ({
|
|
324
|
+
}, z = ({ children: n }) => /* @__PURE__ */ o(ee, { children: n }), Me = ({
|
|
329
325
|
children: n
|
|
330
326
|
}) => {
|
|
331
|
-
const { fps: t } =
|
|
327
|
+
const { fps: t } = de(), e = fe(), r = h(() => {
|
|
332
328
|
let s = 0, l = 0;
|
|
333
|
-
const u =
|
|
334
|
-
return
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
if (c.trim() === "")
|
|
329
|
+
const u = oe(n);
|
|
330
|
+
return pe.map(u, (a, i) => {
|
|
331
|
+
const f = a;
|
|
332
|
+
if (typeof f == "string") {
|
|
333
|
+
if (f.trim() === "")
|
|
339
334
|
return null;
|
|
340
335
|
throw new TypeError(
|
|
341
|
-
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> components as its children, but you passed a string "${
|
|
336
|
+
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> components as its children, but you passed a string "${f}"`
|
|
342
337
|
);
|
|
343
338
|
}
|
|
344
|
-
const d = u[i - 1],
|
|
345
|
-
if (
|
|
346
|
-
if (
|
|
339
|
+
const d = u[i - 1], $ = u[i + 1], p = typeof d == "string" || typeof d > "u" ? null : d.type === L ? d : null, g = typeof $ == "string" || typeof $ > "u" ? null : $.type === L ? $ : null, _ = typeof d == "string" || typeof d > "u" ? !1 : d.type === L;
|
|
340
|
+
if (f.type === L) {
|
|
341
|
+
if (_)
|
|
347
342
|
throw new TypeError(
|
|
348
343
|
`A <TransitionSeries.Transition /> component must not be followed by another <TransitionSeries.Transition /> component (nth children = ${i - 1} and ${i})`
|
|
349
344
|
);
|
|
350
345
|
return null;
|
|
351
346
|
}
|
|
352
|
-
if (
|
|
347
|
+
if (f.type !== z)
|
|
353
348
|
throw new TypeError(
|
|
354
|
-
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> and <TransitionSeries.Transition /> components as its children, but got ${
|
|
349
|
+
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> and <TransitionSeries.Transition /> components as its children, but got ${f} instead`
|
|
355
350
|
);
|
|
356
|
-
const E =
|
|
351
|
+
const E = f, R = `index = ${i}, duration = ${E.props.durationInFrames}`;
|
|
357
352
|
if (!(E != null && E.props.children))
|
|
358
353
|
throw new TypeError(
|
|
359
|
-
`A <TransitionSeries.Sequence /> component (${
|
|
354
|
+
`A <TransitionSeries.Sequence /> component (${R}) was detected to not have any children. Delete it to fix this error.`
|
|
360
355
|
);
|
|
361
|
-
const
|
|
362
|
-
durationInFrames:
|
|
363
|
-
children:
|
|
356
|
+
const w = E.props.durationInFrames, {
|
|
357
|
+
durationInFrames: b,
|
|
358
|
+
children: tt,
|
|
364
359
|
...F
|
|
365
360
|
} = E.props;
|
|
366
|
-
|
|
361
|
+
Ce(w, {
|
|
367
362
|
component: "of a <TransitionSeries.Sequence /> component",
|
|
368
363
|
allowFloats: !0
|
|
369
364
|
});
|
|
370
|
-
const
|
|
371
|
-
if (Number.isNaN(
|
|
365
|
+
const P = E.props.offset ?? 0;
|
|
366
|
+
if (Number.isNaN(P))
|
|
372
367
|
throw new TypeError(
|
|
373
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must not be NaN, but got NaN (${
|
|
368
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must not be NaN, but got NaN (${R}).`
|
|
374
369
|
);
|
|
375
|
-
if (!Number.isFinite(
|
|
370
|
+
if (!Number.isFinite(P))
|
|
376
371
|
throw new TypeError(
|
|
377
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${
|
|
372
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${P} (${R}).`
|
|
378
373
|
);
|
|
379
|
-
if (
|
|
374
|
+
if (P % 1 !== 0)
|
|
380
375
|
throw new TypeError(
|
|
381
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${
|
|
376
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${P} (${R}).`
|
|
382
377
|
);
|
|
383
|
-
const
|
|
384
|
-
let
|
|
385
|
-
p && (
|
|
378
|
+
const ie = l + P;
|
|
379
|
+
let X = 0;
|
|
380
|
+
p && (X = p.props.timing.getDurationInFrames({
|
|
386
381
|
fps: t
|
|
387
|
-
}), s -=
|
|
388
|
-
let
|
|
389
|
-
l +=
|
|
390
|
-
const
|
|
391
|
-
frame: e -
|
|
382
|
+
}), s -= X / 2);
|
|
383
|
+
let m = ie - X / 2;
|
|
384
|
+
l += w + P, m < 0 && (m = 0);
|
|
385
|
+
const O = g ? g.props.timing.getProgress({
|
|
386
|
+
frame: e - m - b + g.props.timing.getDurationInFrames({ fps: t }) / 2 + s,
|
|
392
387
|
fps: t
|
|
393
|
-
}) : null,
|
|
394
|
-
frame: e -
|
|
388
|
+
}) : null, k = p ? p.props.timing.getProgress({
|
|
389
|
+
frame: e - m,
|
|
395
390
|
fps: t
|
|
396
|
-
}) : null,
|
|
397
|
-
frame: e - (
|
|
391
|
+
}) : null, se = p ? p.props.timing.getProgress({
|
|
392
|
+
frame: e - (m + b),
|
|
398
393
|
fps: t
|
|
399
394
|
}) : null;
|
|
400
|
-
if (
|
|
395
|
+
if (g && w < g.props.timing.getDurationInFrames({ fps: t }) / 2)
|
|
401
396
|
throw new Error(
|
|
402
|
-
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the next <TransitionSeries.Transition />. The transition is ${
|
|
397
|
+
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the next <TransitionSeries.Transition />. The transition is ${g.props.timing.getDurationInFrames(
|
|
403
398
|
{ fps: t }
|
|
404
|
-
)} frames long, but the sequence is only ${
|
|
399
|
+
)} frames long, but the sequence is only ${w} frames long (${R})`
|
|
405
400
|
);
|
|
406
|
-
if (p &&
|
|
401
|
+
if (p && w < p.props.timing.getDurationInFrames({ fps: t }) / 2)
|
|
407
402
|
throw new Error(
|
|
408
403
|
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the previous <TransitionSeries.Transition />. The transition is ${p.props.timing.getDurationInFrames(
|
|
409
404
|
{ fps: t }
|
|
410
|
-
)} frames long, but the sequence is only ${
|
|
405
|
+
)} frames long, but the sequence is only ${w} frames long (${R})`
|
|
411
406
|
);
|
|
412
|
-
if (
|
|
413
|
-
const v =
|
|
407
|
+
if (g && p && se !== null && k !== null) {
|
|
408
|
+
const v = g.props.presentation ?? N(), x = p.props.presentation ?? N(), I = p.props.timing.getDurationInFrames({
|
|
414
409
|
fps: t
|
|
415
|
-
}),
|
|
410
|
+
}), S = g.props.timing.getDurationInFrames({
|
|
416
411
|
fps: t
|
|
417
|
-
}),
|
|
418
|
-
frame: e - (
|
|
412
|
+
}), q = v.component, U = x.component, j = e < +Math.floor(m) + I / 2, V = e > Math.floor(m) + Math.floor(b) + I / 2, ae = V ? Math.floor(m) + Math.floor(b) + Math.floor(S / 2) : Math.floor(m), H = j ? Math.floor(m) : Math.floor(m) + I / 2, J = g.props.timing.getProgress({
|
|
413
|
+
frame: e - (H + b - S / 2),
|
|
419
414
|
fps: t
|
|
420
|
-
}),
|
|
415
|
+
}), le = e > m, ue = e < m + b + S / 2 + I / 2;
|
|
421
416
|
return /* @__PURE__ */ o(
|
|
422
|
-
|
|
417
|
+
Y,
|
|
423
418
|
{
|
|
424
|
-
active:
|
|
425
|
-
frame:
|
|
419
|
+
active: ue && le && (j || V),
|
|
420
|
+
frame: ae,
|
|
426
421
|
children: /* @__PURE__ */ o(
|
|
427
422
|
M,
|
|
428
423
|
{
|
|
429
|
-
from:
|
|
430
|
-
durationInFrames:
|
|
424
|
+
from: H,
|
|
425
|
+
durationInFrames: w + S / 2,
|
|
431
426
|
...F,
|
|
432
427
|
name: F.name || "<TS.Sequence>",
|
|
433
428
|
children: /* @__PURE__ */ o(
|
|
434
|
-
|
|
429
|
+
q,
|
|
435
430
|
{
|
|
436
431
|
passedProps: v.props ?? {},
|
|
437
432
|
presentationDirection: "exiting",
|
|
438
|
-
presentationProgress:
|
|
439
|
-
presentationDurationInFrames:
|
|
433
|
+
presentationProgress: J,
|
|
434
|
+
presentationDurationInFrames: g.props.timing.getDurationInFrames(
|
|
440
435
|
{ fps: t }
|
|
441
436
|
),
|
|
442
437
|
onElementImage: () => {
|
|
@@ -445,15 +440,15 @@ const De = ({
|
|
|
445
440
|
},
|
|
446
441
|
bothEnteringAndExiting: !1,
|
|
447
442
|
children: /* @__PURE__ */ o(
|
|
448
|
-
|
|
443
|
+
G,
|
|
449
444
|
{
|
|
450
|
-
presentationProgress:
|
|
445
|
+
presentationProgress: J,
|
|
451
446
|
children: /* @__PURE__ */ o(
|
|
452
|
-
|
|
447
|
+
U,
|
|
453
448
|
{
|
|
454
449
|
passedProps: x.props ?? {},
|
|
455
450
|
presentationDirection: "entering",
|
|
456
|
-
presentationProgress:
|
|
451
|
+
presentationProgress: k,
|
|
457
452
|
presentationDurationInFrames: p.props.timing.getDurationInFrames(
|
|
458
453
|
{ fps: t }
|
|
459
454
|
),
|
|
@@ -463,9 +458,9 @@ const De = ({
|
|
|
463
458
|
},
|
|
464
459
|
bothEnteringAndExiting: !1,
|
|
465
460
|
children: /* @__PURE__ */ o(
|
|
466
|
-
|
|
461
|
+
K,
|
|
467
462
|
{
|
|
468
|
-
presentationProgress:
|
|
463
|
+
presentationProgress: k,
|
|
469
464
|
children: a
|
|
470
465
|
}
|
|
471
466
|
)
|
|
@@ -482,18 +477,18 @@ const De = ({
|
|
|
482
477
|
i
|
|
483
478
|
);
|
|
484
479
|
}
|
|
485
|
-
if (
|
|
486
|
-
const v = p.props.timing.getDurationInFrames({ fps: t }) / 2, x = p.props.presentation ?? N(), I = x.component,
|
|
480
|
+
if (k !== null && p) {
|
|
481
|
+
const v = p.props.timing.getDurationInFrames({ fps: t }) / 2, x = p.props.presentation ?? N(), I = x.component, S = e < m + v, q = S ? Math.floor(m) : Math.floor(m) + v, U = e > q;
|
|
487
482
|
return /* @__PURE__ */ o(
|
|
488
|
-
|
|
483
|
+
Y,
|
|
489
484
|
{
|
|
490
|
-
active:
|
|
491
|
-
frame:
|
|
485
|
+
active: U && S,
|
|
486
|
+
frame: q,
|
|
492
487
|
children: /* @__PURE__ */ o(
|
|
493
488
|
M,
|
|
494
489
|
{
|
|
495
|
-
from:
|
|
496
|
-
durationInFrames:
|
|
490
|
+
from: q,
|
|
491
|
+
durationInFrames: w,
|
|
497
492
|
...F,
|
|
498
493
|
name: F.name || "<TS.Sequence>",
|
|
499
494
|
children: /* @__PURE__ */ o(
|
|
@@ -501,7 +496,7 @@ const De = ({
|
|
|
501
496
|
{
|
|
502
497
|
passedProps: x.props ?? {},
|
|
503
498
|
presentationDirection: "entering",
|
|
504
|
-
presentationProgress:
|
|
499
|
+
presentationProgress: k,
|
|
505
500
|
presentationDurationInFrames: p.props.timing.getDurationInFrames(
|
|
506
501
|
{ fps: t }
|
|
507
502
|
),
|
|
@@ -511,9 +506,9 @@ const De = ({
|
|
|
511
506
|
},
|
|
512
507
|
bothEnteringAndExiting: !1,
|
|
513
508
|
children: /* @__PURE__ */ o(
|
|
514
|
-
|
|
509
|
+
K,
|
|
515
510
|
{
|
|
516
|
-
presentationProgress:
|
|
511
|
+
presentationProgress: k,
|
|
517
512
|
children: a
|
|
518
513
|
}
|
|
519
514
|
)
|
|
@@ -526,18 +521,18 @@ const De = ({
|
|
|
526
521
|
i
|
|
527
522
|
);
|
|
528
523
|
}
|
|
529
|
-
if (
|
|
530
|
-
const v =
|
|
524
|
+
if (O !== null && g) {
|
|
525
|
+
const v = g.props.timing.getDurationInFrames({ fps: t }) / 2, x = g.props.presentation ?? N(), I = x.component, S = e > Math.floor(b) + Math.floor(m), q = e < Math.floor(b) + Math.floor(m) + v;
|
|
531
526
|
return /* @__PURE__ */ o(
|
|
532
|
-
|
|
527
|
+
Y,
|
|
533
528
|
{
|
|
534
|
-
active:
|
|
535
|
-
frame: Math.floor(
|
|
529
|
+
active: q && S,
|
|
530
|
+
frame: Math.floor(b),
|
|
536
531
|
children: /* @__PURE__ */ o(
|
|
537
532
|
M,
|
|
538
533
|
{
|
|
539
|
-
from: Math.floor(
|
|
540
|
-
durationInFrames:
|
|
534
|
+
from: Math.floor(m),
|
|
535
|
+
durationInFrames: w + v,
|
|
541
536
|
...F,
|
|
542
537
|
name: F.name || "<TS.Sequence>",
|
|
543
538
|
children: /* @__PURE__ */ o(
|
|
@@ -545,8 +540,8 @@ const De = ({
|
|
|
545
540
|
{
|
|
546
541
|
passedProps: x.props ?? {},
|
|
547
542
|
presentationDirection: "exiting",
|
|
548
|
-
presentationProgress:
|
|
549
|
-
presentationDurationInFrames:
|
|
543
|
+
presentationProgress: O,
|
|
544
|
+
presentationDurationInFrames: g.props.timing.getDurationInFrames(
|
|
550
545
|
{ fps: t }
|
|
551
546
|
),
|
|
552
547
|
onElementImage: () => {
|
|
@@ -555,9 +550,9 @@ const De = ({
|
|
|
555
550
|
},
|
|
556
551
|
bothEnteringAndExiting: !1,
|
|
557
552
|
children: /* @__PURE__ */ o(
|
|
558
|
-
|
|
553
|
+
G,
|
|
559
554
|
{
|
|
560
|
-
presentationProgress:
|
|
555
|
+
presentationProgress: O,
|
|
561
556
|
children: a
|
|
562
557
|
}
|
|
563
558
|
)
|
|
@@ -573,8 +568,8 @@ const De = ({
|
|
|
573
568
|
return /* @__PURE__ */ o(
|
|
574
569
|
M,
|
|
575
570
|
{
|
|
576
|
-
from: Math.floor(
|
|
577
|
-
durationInFrames:
|
|
571
|
+
from: Math.floor(m),
|
|
572
|
+
durationInFrames: w,
|
|
578
573
|
...F,
|
|
579
574
|
name: F.name || "<TS.Sequence>",
|
|
580
575
|
children: a
|
|
@@ -583,14 +578,14 @@ const De = ({
|
|
|
583
578
|
);
|
|
584
579
|
});
|
|
585
580
|
}, [n, t, e]);
|
|
586
|
-
return /* @__PURE__ */ o(
|
|
587
|
-
},
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
const
|
|
593
|
-
const n =
|
|
581
|
+
return /* @__PURE__ */ o(ee, { children: r });
|
|
582
|
+
}, y = ({ children: n, name: t, layout: e, ...r }) => /* @__PURE__ */ o(M, { name: t ?? "<TransitionSeries>", layout: e ?? "absolute-fill", ...r, children: /* @__PURE__ */ o(Me, { children: n }) });
|
|
583
|
+
y.Sequence = z;
|
|
584
|
+
y.Transition = L;
|
|
585
|
+
Z.addSequenceStackTraces(y);
|
|
586
|
+
Z.addSequenceStackTraces(z);
|
|
587
|
+
const lt = () => {
|
|
588
|
+
const n = C.useContext(ne), t = C.useContext(re);
|
|
594
589
|
return !n && !t ? {
|
|
595
590
|
isInTransitionSeries: !1,
|
|
596
591
|
entering: 1,
|
|
@@ -600,13 +595,13 @@ const $t = () => {
|
|
|
600
595
|
entering: (n == null ? void 0 : n.enteringProgress) ?? 1,
|
|
601
596
|
exiting: (t == null ? void 0 : t.exitingProgress) ?? 0
|
|
602
597
|
};
|
|
603
|
-
},
|
|
598
|
+
}, Le = ({
|
|
604
599
|
children: n,
|
|
605
600
|
presentationDirection: t,
|
|
606
601
|
presentationProgress: e,
|
|
607
602
|
passedProps: r
|
|
608
603
|
}) => {
|
|
609
|
-
const l = Math.sqrt(r.width ** 2 + r.height ** 2) / 2 * e, u =
|
|
604
|
+
const l = Math.sqrt(r.width ** 2 + r.height ** 2) / 2 * e, u = Be(
|
|
610
605
|
r.width / 2,
|
|
611
606
|
r.height / 2,
|
|
612
607
|
l
|
|
@@ -615,74 +610,74 @@ const $t = () => {
|
|
|
615
610
|
height: "100%",
|
|
616
611
|
clipPath: t === "exiting" ? void 0 : `url(#${a})`
|
|
617
612
|
}), [a, t]);
|
|
618
|
-
return /* @__PURE__ */ W(
|
|
619
|
-
/* @__PURE__ */ o(
|
|
620
|
-
t === "exiting" ? null : /* @__PURE__ */ o(
|
|
613
|
+
return /* @__PURE__ */ W(c, { children: [
|
|
614
|
+
/* @__PURE__ */ o(c, { style: i, children: n }),
|
|
615
|
+
t === "exiting" ? null : /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o("svg", { width: r.width, height: r.height, children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: a, children: /* @__PURE__ */ o("path", { d: u, fill: "black" }) }) }) }) })
|
|
621
616
|
] });
|
|
622
|
-
},
|
|
617
|
+
}, Ne = (n) => ({ component: Le, props: n }), Be = (n, t, e) => `M ${n}, ${t}
|
|
623
618
|
m -${e}, 0
|
|
624
619
|
a ${e},${e} 0 1,0 ${e * 2},0
|
|
625
|
-
a ${e},${e} 0 1,0 -${e * 2},0`,
|
|
620
|
+
a ${e},${e} 0 1,0 -${e * 2},0`, We = ({
|
|
626
621
|
children: n,
|
|
627
622
|
presentationDirection: t,
|
|
628
623
|
presentationProgress: e,
|
|
629
624
|
passedProps: r
|
|
630
625
|
}) => {
|
|
631
|
-
const { width: s, height: l } = r, u = s * e, a = l * e, i = s / 2 - u / 2,
|
|
626
|
+
const { width: s, height: l } = r, u = s * e, a = l * e, i = s / 2 - u / 2, f = l / 2 - a / 2, [d] = A(() => String(B(null))), $ = h(() => ({
|
|
632
627
|
width: "100%",
|
|
633
628
|
height: "100%",
|
|
634
629
|
clipPath: t === "exiting" ? void 0 : `url(#${d})`
|
|
635
630
|
}), [d, t]);
|
|
636
|
-
return /* @__PURE__ */ W(
|
|
637
|
-
/* @__PURE__ */ o(
|
|
638
|
-
t === "exiting" ? null : /* @__PURE__ */ o(
|
|
631
|
+
return /* @__PURE__ */ W(c, { children: [
|
|
632
|
+
/* @__PURE__ */ o(c, { style: $, children: n }),
|
|
633
|
+
t === "exiting" ? null : /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: d, children: /* @__PURE__ */ o(
|
|
639
634
|
"rect",
|
|
640
635
|
{
|
|
641
636
|
x: i,
|
|
642
|
-
y:
|
|
637
|
+
y: f,
|
|
643
638
|
width: u,
|
|
644
639
|
height: a,
|
|
645
640
|
fill: "black"
|
|
646
641
|
}
|
|
647
642
|
) }) }) }) })
|
|
648
643
|
] });
|
|
649
|
-
},
|
|
644
|
+
}, Ae = (n) => ({ component: We, props: n }), Xe = ({
|
|
650
645
|
children: n,
|
|
651
646
|
presentationDirection: t,
|
|
652
647
|
presentationProgress: e,
|
|
653
648
|
passedProps: r
|
|
654
649
|
}) => {
|
|
655
|
-
const s = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, l = s * e, u = s * 2 * e, { path: a } =
|
|
650
|
+
const s = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, l = s * e, u = s * 2 * e, { path: a } = ge({
|
|
656
651
|
innerRadius: l,
|
|
657
652
|
outerRadius: u,
|
|
658
653
|
points: 5
|
|
659
|
-
}), i =
|
|
654
|
+
}), i = he(a), f = te(
|
|
660
655
|
a,
|
|
661
656
|
r.width / 2 - i.width / 2,
|
|
662
657
|
r.height / 2 - i.height / 2
|
|
663
|
-
), [d] = A(() => String(B(null))),
|
|
658
|
+
), [d] = A(() => String(B(null))), $ = h(() => ({
|
|
664
659
|
width: "100%",
|
|
665
660
|
height: "100%",
|
|
666
661
|
clipPath: t === "exiting" ? void 0 : `url(#${d})`
|
|
667
662
|
}), [d, t]);
|
|
668
|
-
return /* @__PURE__ */ W(
|
|
669
|
-
/* @__PURE__ */ o(
|
|
670
|
-
t === "exiting" ? null : /* @__PURE__ */ o(
|
|
663
|
+
return /* @__PURE__ */ W(c, { children: [
|
|
664
|
+
/* @__PURE__ */ o(c, { style: $, children: n }),
|
|
665
|
+
t === "exiting" ? null : /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: d, children: /* @__PURE__ */ o("path", { d: f, fill: "black" }) }) }) }) })
|
|
671
666
|
] });
|
|
672
|
-
},
|
|
667
|
+
}, Oe = (n) => ({ component: Xe, props: n }), Ue = ({
|
|
673
668
|
children: n,
|
|
674
669
|
presentationDirection: t,
|
|
675
670
|
presentationProgress: e,
|
|
676
671
|
passedProps: r
|
|
677
672
|
}) => {
|
|
678
|
-
const { width: s, height: l } = r, u = s * e, a = s / 2 - u / 2, [i] = A(() => String(B(null))),
|
|
673
|
+
const { width: s, height: l } = r, u = s * e, a = s / 2 - u / 2, [i] = A(() => String(B(null))), f = h(() => ({
|
|
679
674
|
width: "100%",
|
|
680
675
|
height: "100%",
|
|
681
676
|
clipPath: t === "exiting" ? void 0 : `url(#${i})`
|
|
682
677
|
}), [i, t]);
|
|
683
|
-
return /* @__PURE__ */ W(
|
|
684
|
-
/* @__PURE__ */ o(
|
|
685
|
-
t === "exiting" ? null : /* @__PURE__ */ o(
|
|
678
|
+
return /* @__PURE__ */ W(c, { children: [
|
|
679
|
+
/* @__PURE__ */ o(c, { style: f, children: n }),
|
|
680
|
+
t === "exiting" ? null : /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: i, children: /* @__PURE__ */ o(
|
|
686
681
|
"rect",
|
|
687
682
|
{
|
|
688
683
|
x: a,
|
|
@@ -693,8 +688,8 @@ const $t = () => {
|
|
|
693
688
|
}
|
|
694
689
|
) }) }) }) })
|
|
695
690
|
] });
|
|
696
|
-
},
|
|
697
|
-
var
|
|
691
|
+
}, Ye = (n) => ({ component: Ue, props: n });
|
|
692
|
+
var De = ({ children: n, presentationDirection: t, presentationProgress: e, passedProps: r }) => {
|
|
698
693
|
const s = t === "entering", l = h(() => ({
|
|
699
694
|
opacity: s ? e : r.shouldFadeOutExitingScene ? 1 - e : 1,
|
|
700
695
|
...t === "entering" ? r.enterStyle : r.exitStyle
|
|
@@ -706,21 +701,21 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
706
701
|
t,
|
|
707
702
|
e
|
|
708
703
|
]);
|
|
709
|
-
return /* @__PURE__ */ o(
|
|
704
|
+
return /* @__PURE__ */ o(c, {
|
|
710
705
|
style: l,
|
|
711
706
|
children: n
|
|
712
707
|
});
|
|
713
|
-
},
|
|
714
|
-
component:
|
|
708
|
+
}, Q = (n) => ({
|
|
709
|
+
component: De,
|
|
715
710
|
props: n ?? {}
|
|
716
|
-
}),
|
|
711
|
+
}), ze = 0.01, _e = ({
|
|
717
712
|
children: n,
|
|
718
713
|
presentationProgress: t,
|
|
719
714
|
presentationDirection: e,
|
|
720
715
|
passedProps: { direction: r = "from-left", enterStyle: s, exitStyle: l }
|
|
721
716
|
}) => {
|
|
722
717
|
const u = h(() => {
|
|
723
|
-
const i = t === 1 ? t * 100 : t * 100 -
|
|
718
|
+
const i = t === 1 ? t * 100 : t * 100 - ze;
|
|
724
719
|
if (e === "exiting")
|
|
725
720
|
switch (r) {
|
|
726
721
|
case "from-left":
|
|
@@ -770,14 +765,14 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
770
765
|
...u,
|
|
771
766
|
...e === "entering" ? s : l
|
|
772
767
|
}), [u, s, l, e]);
|
|
773
|
-
return /* @__PURE__ */ o(
|
|
768
|
+
return /* @__PURE__ */ o(c, {
|
|
774
769
|
style: a,
|
|
775
770
|
children: n
|
|
776
771
|
});
|
|
777
|
-
},
|
|
778
|
-
component:
|
|
772
|
+
}, je = (n) => ({
|
|
773
|
+
component: _e,
|
|
779
774
|
props: n ?? {}
|
|
780
|
-
}),
|
|
775
|
+
}), Ve = (n, t) => {
|
|
781
776
|
const e = n * 100;
|
|
782
777
|
switch (t) {
|
|
783
778
|
case "from-left":
|
|
@@ -799,7 +794,7 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
799
794
|
default:
|
|
800
795
|
throw new Error(`Unknown direction ${JSON.stringify(t)}`);
|
|
801
796
|
}
|
|
802
|
-
},
|
|
797
|
+
}, He = (n, t) => {
|
|
803
798
|
const e = n * 100;
|
|
804
799
|
switch (t) {
|
|
805
800
|
case "from-left":
|
|
@@ -821,7 +816,7 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
821
816
|
default:
|
|
822
817
|
throw new Error(`Unknown direction ${JSON.stringify(t)}`);
|
|
823
818
|
}
|
|
824
|
-
},
|
|
819
|
+
}, Je = ({
|
|
825
820
|
children: n,
|
|
826
821
|
presentationProgress: t,
|
|
827
822
|
presentationDirection: e,
|
|
@@ -833,25 +828,25 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
833
828
|
outerExitStyle: a
|
|
834
829
|
}
|
|
835
830
|
}) => {
|
|
836
|
-
const i = e === "entering" ? t : 1 - t,
|
|
831
|
+
const i = e === "entering" ? t : 1 - t, f = e === "entering" ? Ve(i, r) : He(i, r), d = h(() => ({
|
|
837
832
|
width: "100%",
|
|
838
833
|
height: "100%",
|
|
839
834
|
justifyContent: "center",
|
|
840
835
|
alignItems: "center",
|
|
841
|
-
clipPath:
|
|
836
|
+
clipPath: f,
|
|
842
837
|
...e === "entering" ? s : l
|
|
843
|
-
}), [
|
|
844
|
-
return /* @__PURE__ */ o(
|
|
845
|
-
style:
|
|
846
|
-
children: /* @__PURE__ */ o(
|
|
838
|
+
}), [f, s, l, e]), $ = h(() => e === "entering" ? u : a, [u, a, e]);
|
|
839
|
+
return /* @__PURE__ */ o(c, {
|
|
840
|
+
style: $,
|
|
841
|
+
children: /* @__PURE__ */ o(c, {
|
|
847
842
|
style: d,
|
|
848
843
|
children: n
|
|
849
844
|
})
|
|
850
845
|
});
|
|
851
|
-
},
|
|
852
|
-
component:
|
|
846
|
+
}, Ke = (n) => ({
|
|
847
|
+
component: Je,
|
|
853
848
|
props: n ?? {}
|
|
854
|
-
}),
|
|
849
|
+
}), Ge = ({
|
|
855
850
|
children: n,
|
|
856
851
|
presentationDirection: t,
|
|
857
852
|
presentationProgress: e,
|
|
@@ -864,12 +859,12 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
864
859
|
outerExitStyle: i
|
|
865
860
|
}
|
|
866
861
|
}) => {
|
|
867
|
-
const
|
|
868
|
-
const
|
|
862
|
+
const f = h(() => {
|
|
863
|
+
const g = t === "entering" ? D(e, [0, 1], [r === "from-right" || r === "from-top" ? 180 : -180, 0]) : D(e, [0, 1], [0, r === "from-right" || r === "from-top" ? -180 : 180]);
|
|
869
864
|
return {
|
|
870
865
|
width: "100%",
|
|
871
866
|
height: "100%",
|
|
872
|
-
transform: `${r === "from-top" || r === "from-bottom" ? "rotateX" : "rotateY"}(${
|
|
867
|
+
transform: `${r === "from-top" || r === "from-bottom" ? "rotateX" : "rotateY"}(${g}deg)`,
|
|
873
868
|
backfaceVisibility: "hidden",
|
|
874
869
|
WebkitBackfaceVisibility: "hidden",
|
|
875
870
|
...t === "entering" ? l : u
|
|
@@ -885,18 +880,18 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
885
880
|
transformStyle: "preserve-3d",
|
|
886
881
|
...t === "entering" ? a : i
|
|
887
882
|
}), [a, i, s, t]);
|
|
888
|
-
return /* @__PURE__ */ o(
|
|
883
|
+
return /* @__PURE__ */ o(c, {
|
|
889
884
|
style: d,
|
|
890
|
-
children: /* @__PURE__ */ o(
|
|
891
|
-
style:
|
|
885
|
+
children: /* @__PURE__ */ o(c, {
|
|
886
|
+
style: f,
|
|
892
887
|
children: n
|
|
893
888
|
})
|
|
894
889
|
});
|
|
895
|
-
},
|
|
896
|
-
const s = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, { path: l } =
|
|
890
|
+
}, Qe = (n) => ({ component: Ge, props: n ?? {} }), Ze = ({ children: n, presentationDirection: t, presentationProgress: e, passedProps: r }) => {
|
|
891
|
+
const s = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, { path: l } = ye({
|
|
897
892
|
radius: s,
|
|
898
893
|
progress: e
|
|
899
|
-
}), u =
|
|
894
|
+
}), u = te(l, -(s * 2 - r.width) / 2, -(s * 2 - r.height) / 2), a = h(() => ({
|
|
900
895
|
width: "100%",
|
|
901
896
|
height: "100%",
|
|
902
897
|
clipPath: t === "exiting" ? void 0 : `path("${u}")`,
|
|
@@ -911,84 +906,84 @@ var Ze = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
911
906
|
r.outerExitStyle,
|
|
912
907
|
t
|
|
913
908
|
]);
|
|
914
|
-
return /* @__PURE__ */ o(
|
|
909
|
+
return /* @__PURE__ */ o(c, {
|
|
915
910
|
style: i,
|
|
916
|
-
children: /* @__PURE__ */ o(
|
|
911
|
+
children: /* @__PURE__ */ o(c, {
|
|
917
912
|
style: a,
|
|
918
913
|
children: n
|
|
919
914
|
})
|
|
920
915
|
});
|
|
921
|
-
},
|
|
922
|
-
const
|
|
916
|
+
}, et = (n) => ({ component: Ze, props: n ?? {} });
|
|
917
|
+
const ut = {
|
|
923
918
|
none: ({ id: n }) => /* @__PURE__ */ o(
|
|
924
|
-
|
|
919
|
+
y.Transition,
|
|
925
920
|
{
|
|
926
|
-
presentation:
|
|
927
|
-
timing:
|
|
921
|
+
presentation: Q(),
|
|
922
|
+
timing: T({ durationInFrames: 1 })
|
|
928
923
|
},
|
|
929
924
|
n
|
|
930
925
|
),
|
|
931
926
|
fade: ({ durationInFrames: n, id: t }) => /* @__PURE__ */ o(
|
|
932
|
-
|
|
927
|
+
y.Transition,
|
|
933
928
|
{
|
|
934
|
-
presentation:
|
|
935
|
-
timing:
|
|
929
|
+
presentation: Q(),
|
|
930
|
+
timing: T({ durationInFrames: n })
|
|
936
931
|
},
|
|
937
932
|
t
|
|
938
933
|
),
|
|
939
934
|
slide: ({ durationInFrames: n, id: t, direction: e }) => /* @__PURE__ */ o(
|
|
940
|
-
|
|
935
|
+
y.Transition,
|
|
941
936
|
{
|
|
942
|
-
presentation:
|
|
943
|
-
timing:
|
|
937
|
+
presentation: je({ direction: e }),
|
|
938
|
+
timing: T({ durationInFrames: n })
|
|
944
939
|
},
|
|
945
940
|
t
|
|
946
941
|
),
|
|
947
942
|
wipe: ({ durationInFrames: n, id: t, direction: e }) => /* @__PURE__ */ o(
|
|
948
|
-
|
|
943
|
+
y.Transition,
|
|
949
944
|
{
|
|
950
|
-
presentation:
|
|
951
|
-
timing:
|
|
945
|
+
presentation: Ke({ direction: e }),
|
|
946
|
+
timing: T({ durationInFrames: n })
|
|
952
947
|
},
|
|
953
948
|
t
|
|
954
949
|
),
|
|
955
950
|
flip: ({ durationInFrames: n, id: t }) => /* @__PURE__ */ o(
|
|
956
|
-
|
|
951
|
+
y.Transition,
|
|
957
952
|
{
|
|
958
|
-
presentation:
|
|
959
|
-
timing:
|
|
953
|
+
presentation: Qe(),
|
|
954
|
+
timing: T({ durationInFrames: n })
|
|
960
955
|
},
|
|
961
956
|
t
|
|
962
957
|
),
|
|
963
958
|
clockWipe: ({ width: n, height: t, durationInFrames: e, id: r }) => /* @__PURE__ */ o(
|
|
964
|
-
|
|
959
|
+
y.Transition,
|
|
965
960
|
{
|
|
966
|
-
presentation:
|
|
967
|
-
timing:
|
|
961
|
+
presentation: et({ width: n, height: t }),
|
|
962
|
+
timing: T({ durationInFrames: e })
|
|
968
963
|
},
|
|
969
964
|
r
|
|
970
965
|
),
|
|
971
966
|
star: ({ width: n, height: t, durationInFrames: e, id: r }) => /* @__PURE__ */ o(
|
|
972
|
-
|
|
967
|
+
y.Transition,
|
|
973
968
|
{
|
|
974
|
-
presentation:
|
|
975
|
-
timing:
|
|
969
|
+
presentation: Oe({ width: n, height: t }),
|
|
970
|
+
timing: T({ durationInFrames: e })
|
|
976
971
|
},
|
|
977
972
|
r
|
|
978
973
|
),
|
|
979
974
|
circle: ({ width: n, height: t, durationInFrames: e, id: r }) => /* @__PURE__ */ o(
|
|
980
|
-
|
|
975
|
+
y.Transition,
|
|
981
976
|
{
|
|
982
|
-
presentation:
|
|
983
|
-
timing:
|
|
977
|
+
presentation: Ne({ width: n, height: t }),
|
|
978
|
+
timing: T({ durationInFrames: e })
|
|
984
979
|
},
|
|
985
980
|
r
|
|
986
981
|
),
|
|
987
982
|
rectangle: ({ width: n, height: t, durationInFrames: e, id: r }) => /* @__PURE__ */ o(
|
|
988
|
-
|
|
983
|
+
y.Transition,
|
|
989
984
|
{
|
|
990
|
-
presentation:
|
|
991
|
-
timing:
|
|
985
|
+
presentation: Ae({ width: n, height: t }),
|
|
986
|
+
timing: T({ durationInFrames: e })
|
|
992
987
|
},
|
|
993
988
|
r
|
|
994
989
|
),
|
|
@@ -998,28 +993,28 @@ const wt = {
|
|
|
998
993
|
durationInFrames: e,
|
|
999
994
|
id: r
|
|
1000
995
|
}) => /* @__PURE__ */ o(
|
|
1001
|
-
|
|
996
|
+
y.Transition,
|
|
1002
997
|
{
|
|
1003
|
-
presentation:
|
|
1004
|
-
timing:
|
|
998
|
+
presentation: Ye({ width: n, height: t }),
|
|
999
|
+
timing: T({ durationInFrames: e })
|
|
1005
1000
|
},
|
|
1006
1001
|
r
|
|
1007
1002
|
)
|
|
1008
1003
|
};
|
|
1009
1004
|
export {
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1005
|
+
y as TransitionSeries,
|
|
1006
|
+
ut as Transitions,
|
|
1007
|
+
Ne as circle,
|
|
1008
|
+
et as clockWipe,
|
|
1009
|
+
Q as fade,
|
|
1010
|
+
Qe as flip,
|
|
1011
|
+
T as linearTiming,
|
|
1012
|
+
Ae as rectangle,
|
|
1013
|
+
je as slide,
|
|
1014
|
+
Ye as slidingDoors,
|
|
1015
|
+
at as springTiming,
|
|
1016
|
+
Oe as star,
|
|
1017
|
+
lt as useTransitionProgress,
|
|
1018
|
+
Ke as wipe
|
|
1024
1019
|
};
|
|
1025
1020
|
//# sourceMappingURL=index.es.js.map
|