@zync/zync-screnplay-player 0.1.246 → 0.1.248
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/bundle.js +1 -1
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabColdOpenVisual.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabConversationSpine.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabDocumentaryInset.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabRackFocus.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabSplit.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabStudioSet.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/DynamicTriangle.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/HookVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/IntroVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeyPointOverlayDepth.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/Keyword.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeywordStudioBackdrop.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/MotionStill.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/TextWithVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/fontRegistry.js +423 -0
- package/dist/screenplay/RemotionRenderer/registeredComponents.js +2 -0
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldNameTag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/boxwipe/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/centerline/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionBold.js +80 -0
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColor.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorInverse.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorShadow.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionElegant.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionEmphasis.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionPunctuated.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBoom.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBubble.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordPopup.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/DefaultCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/HandoffNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/fullcover/TextFullCover.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/rightslide/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/SportsBounceSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/stackfill/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/tracks/DynamicVideoComposition.js +2 -0
- package/package.json +1 -1
|
@@ -6,15 +6,12 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
6
6
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import { AbsoluteFill, Sequence, interpolate, random, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
8
8
|
import React from "react";
|
|
9
|
-
import {
|
|
10
|
-
import { loadFont as loadCursiveFont } from "@remotion/google-fonts/Rochester";
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
11
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
12
11
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
13
12
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
var _loadCursiveFont = loadCursiveFont(),
|
|
17
|
-
cursiveFontFamily = _loadCursiveFont.fontFamily;
|
|
13
|
+
var regularFontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
14
|
+
var cursiveFontFamily = FONT_FAMILIES.ROCHESTER;
|
|
18
15
|
var toNumber = function toNumber(value, fallback) {
|
|
19
16
|
var parsed = Number(value);
|
|
20
17
|
return Number.isFinite(parsed) ? parsed : fallback;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme";
|
|
7
7
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
8
|
-
var
|
|
9
|
-
fontFamily = _loadFont.fontFamily;
|
|
8
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
10
9
|
var Text = function Text(_ref) {
|
|
11
10
|
var transcript = _ref.transcript,
|
|
12
11
|
color = _ref.color,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme";
|
|
7
7
|
import { getBrighterColor } from "../../../helpers/hexToRgb";
|
|
8
8
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
11
10
|
export var CaptionPunctuated = function CaptionPunctuated(_ref) {
|
|
12
11
|
var transcripts = _ref.transcripts,
|
|
13
12
|
color = _ref.color;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme";
|
|
7
7
|
import { getBrighterColor } from "../../../helpers/hexToRgb";
|
|
8
8
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.TITAN_ONE;
|
|
11
10
|
export var CaptionWordBoom = function CaptionWordBoom(_ref) {
|
|
12
11
|
var transcripts = _ref.transcripts,
|
|
13
12
|
color = _ref.color;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme";
|
|
7
7
|
import { getBrighterColor } from "../../../helpers/hexToRgb";
|
|
8
8
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
11
10
|
export var CaptionWordBubble = function CaptionWordBubble(_ref) {
|
|
12
11
|
var transcripts = _ref.transcripts,
|
|
13
12
|
color = _ref.color;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadFont2 } from "@remotion/google-fonts/CherryBombOne";
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
6
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
7
6
|
import { useTheme } from "../../hooks/useTheme";
|
|
8
7
|
import { getBrighterColor } from "../../../helpers/hexToRgb";
|
|
9
8
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
var _loadFont2 = loadFont2(),
|
|
13
|
-
fontFamilyBubble = _loadFont2.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
10
|
+
var fontFamilyBubble = FONT_FAMILIES.CHERRY_BOMB_ONE;
|
|
14
11
|
export var CaptionWordPopup = function CaptionWordPopup(_ref) {
|
|
15
12
|
var transcripts = _ref.transcripts,
|
|
16
13
|
color = _ref.color;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { AbsoluteFill, Sequence, useVideoConfig } from "remotion";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
6
6
|
import { CAPTION_PORTRAIT_BOTTOM_OFFSET } from "./constants";
|
|
7
|
-
var
|
|
8
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
9
8
|
export var DefaultCaption = function DefaultCaption(_ref) {
|
|
10
9
|
var transcripts = _ref.transcripts,
|
|
11
10
|
color = _ref.color;
|
|
@@ -6,15 +6,14 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
6
6
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import { AbsoluteFill, Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
8
8
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
10
|
import { calculateInputRangeInPhases, DEFAULT_TIME_INTERPOLATE_OPTIONS, useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
11
11
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
12
12
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
13
13
|
import { getHandoffNametagConfig } from "./HandoffNametag/handoffNametagConfig.js";
|
|
14
14
|
import React from "react";
|
|
15
15
|
import PausableImg from "../../../components/utils/PausableImg";
|
|
16
|
-
var
|
|
17
|
-
fontFamily = _loadFont.fontFamily;
|
|
16
|
+
var fontFamily = FONT_FAMILIES.ROBOTO;
|
|
18
17
|
var HANDOFF_NAMETAG_VARIANTS = {
|
|
19
18
|
BOXED: "boxed",
|
|
20
19
|
HIGHLIGHT: "highlight"
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Easing, useVideoConfig } from "remotion";
|
|
2
2
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
5
5
|
import React from "react";
|
|
6
|
-
var
|
|
7
|
-
fontFamily = _loadFont.fontFamily;
|
|
6
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
8
7
|
export var Nametag = function Nametag(_ref) {
|
|
9
8
|
var name = _ref.name,
|
|
10
9
|
title = _ref.title,
|
|
@@ -6,13 +6,12 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { AbsoluteFill } from "remotion";
|
|
8
8
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
10
|
import { CHROME_PADDING } from "../../../config.js";
|
|
11
11
|
import { defaultGlassmorphismStyles } from "../glassmorphism/config.js";
|
|
12
12
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
13
13
|
import { AnimatedSentenceDefault } from "./Sentence/AnimatedSentenceDefault";
|
|
14
|
-
var
|
|
15
|
-
fontFamily = _loadFont.fontFamily;
|
|
14
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
16
15
|
import React from "react";
|
|
17
16
|
export var Sentence = function Sentence(_ref) {
|
|
18
17
|
var lines = _ref.lines,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
2
2
|
import { distributeTextToFit } from "./Sentence/SentenceSimple.helpers.js";
|
|
3
3
|
import { AbsoluteFill, useVideoConfig } from "remotion";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import React from "react";
|
|
7
|
-
var
|
|
8
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
9
8
|
var VerticalRevealer = function VerticalRevealer(_ref) {
|
|
10
9
|
var children = _ref.children,
|
|
11
10
|
_ref$index = _ref.index,
|
|
@@ -6,12 +6,8 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
6
6
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill, Audio, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from "remotion";
|
|
9
|
-
import {
|
|
10
|
-
var
|
|
11
|
-
subsets: ["latin"],
|
|
12
|
-
weights: ["900"]
|
|
13
|
-
}),
|
|
14
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
15
11
|
var TEXT_COLOR = "#0a3567";
|
|
16
12
|
var BACKGROUND_COLORS = ["#fff200", "#22f3d0", "#ff8a00", "#ff78a8", "#b9ff4a", "#f7f7f2"];
|
|
17
13
|
var HORIZONTAL_SAFE_AREA = 0.86;
|
|
@@ -6,14 +6,13 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { Easing, useVideoConfig } from "remotion";
|
|
8
8
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
10
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
11
11
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
12
12
|
import { defaultGlassmorphismStyles } from "./config.js";
|
|
13
13
|
import { FloatAnimation } from "./animations.js";
|
|
14
14
|
import React from "react";
|
|
15
|
-
var
|
|
16
|
-
fontFamily = _loadFont.fontFamily;
|
|
15
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
17
16
|
export var Nametag = function Nametag(_ref) {
|
|
18
17
|
var name = _ref.name,
|
|
19
18
|
title = _ref.title;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AbsoluteFill } from "remotion";
|
|
2
2
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
3
3
|
import { AnimatedSentence } from "../default/Sentence/AnimatedSentence";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import React from "react";
|
|
6
|
-
var
|
|
7
|
-
fontFamily = _loadFont.fontFamily;
|
|
6
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
8
7
|
export var Sentence = function Sentence(_ref) {
|
|
9
8
|
var lines = _ref.lines,
|
|
10
9
|
fontSize = _ref.fontSize,
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import {
|
|
7
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
8
8
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
9
9
|
import { AbsoluteFill, Easing, useVideoConfig } from "remotion";
|
|
10
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
@@ -16,8 +16,7 @@ import { FloatAnimation } from "./animations.js";
|
|
|
16
16
|
import React from "react";
|
|
17
17
|
var borderRadius = 16;
|
|
18
18
|
var color = "#fff";
|
|
19
|
-
var
|
|
20
|
-
fontFamily = _loadFont.fontFamily;
|
|
19
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
21
20
|
var Revealer = function Revealer(_ref) {
|
|
22
21
|
var children = _ref.children,
|
|
23
22
|
_ref$index = _ref.index,
|
|
@@ -6,7 +6,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
6
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
8
8
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
10
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
11
11
|
import { hexToRgbHtml } from "../../../helpers/hexToRgb.js";
|
|
12
12
|
import { SplitSentence } from "./components/SplitSentence";
|
|
@@ -15,8 +15,7 @@ import { DisplacedText } from "./components/DisplacedText";
|
|
|
15
15
|
import React, { useMemo } from "react";
|
|
16
16
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
17
17
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
18
|
-
var
|
|
19
|
-
fontFamily = _loadFont.fontFamily;
|
|
18
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
20
19
|
export var getValue = function getValue(x) {
|
|
21
20
|
if (x < 1) {
|
|
22
21
|
return 0;
|
|
@@ -9,14 +9,13 @@ import { AbsoluteFill, Img, interpolate, useCurrentFrame, useVideoConfig } from
|
|
|
9
9
|
import { CHROME_PADDING } from "../../../config.js";
|
|
10
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
11
11
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
12
|
-
import {
|
|
12
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
13
13
|
import { createAnimationCycles, glitchXInterpolate } from "./helpers.js";
|
|
14
14
|
import { SplitSentence } from "./components/SplitSentence";
|
|
15
15
|
import { GlitchAnimatedLine } from "./components/GlitchAnimatedLine";
|
|
16
16
|
import { DisplacedText } from "./components/DisplacedText";
|
|
17
17
|
import PausableImg from "../../../components/utils/PausableImg";
|
|
18
|
-
var
|
|
19
|
-
fontFamily = _loadFont.fontFamily;
|
|
18
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
20
19
|
export var GlitchSentence = function GlitchSentence(_ref) {
|
|
21
20
|
var sentence = _ref.sentence;
|
|
22
21
|
var _useVideoConfig = useVideoConfig(),
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
4
4
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
|
-
import {
|
|
7
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
8
8
|
import { SplitSentence } from "./components/SplitSentence";
|
|
9
9
|
import { AbsoluteFill, Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
10
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
@@ -13,8 +13,7 @@ import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.
|
|
|
13
13
|
import { DisplacedText } from "./components/DisplacedText";
|
|
14
14
|
import React, { useMemo } from "react";
|
|
15
15
|
import { createAnimationCycles, glitchXInterpolate } from "./helpers.js";
|
|
16
|
-
var
|
|
17
|
-
fontFamily = _loadFont.fontFamily;
|
|
16
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
18
17
|
export var GlitchTitle = function GlitchTitle(_ref) {
|
|
19
18
|
var text = _ref.text;
|
|
20
19
|
var _useVideoConfig = useVideoConfig(),
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { hexToRgbHtml } from "../../../helpers/hexToRgb.js";
|
|
7
7
|
import { CameraMotionBlur } from "@remotion/motion-blur";
|
|
8
8
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
9
9
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
10
|
-
var
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
10
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
11
|
var PushPullNametagEffect = function PushPullNametagEffect(_ref) {
|
|
13
12
|
var name = _ref.name,
|
|
14
13
|
title = _ref.title,
|
|
@@ -6,14 +6,13 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
6
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill } from "remotion";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
10
10
|
import { CHROME_PADDING } from "../../../config.js";
|
|
11
11
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
12
12
|
import { PushToTop, SlideFromBottom, SlideFromLeft, SlideFromRight, SlideFromTop } from "./designs/sentence";
|
|
13
13
|
import { hexToRgbHtml } from "../../../helpers/hexToRgb.js";
|
|
14
14
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
15
|
-
var
|
|
16
|
-
fontFamily = _loadFont.fontFamily;
|
|
15
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
17
16
|
var effects = [SlideFromTop, SlideFromRight, SlideFromBottom, SlideFromLeft, SlideFromTop, SlideFromRight, SlideFromBottom, SlideFromLeft, SlideFromTop, SlideFromRight];
|
|
18
17
|
var effectsTimings = [[0, 0.25], [0.25, 0.5], [0.5, 0.75], [0.75, 1], [1, 1.25], [1.25, 1.5], [1.5, 1.75], [1.75, 2.0], [2.0, 2.25], [2.25, 2.5]];
|
|
19
18
|
var SentenceEffect = function SentenceEffect(_ref) {
|
|
@@ -5,7 +5,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React from "react";
|
|
8
|
-
import {
|
|
8
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
9
9
|
import { AbsoluteFill, useVideoConfig } from "remotion";
|
|
10
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
11
11
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
@@ -13,8 +13,7 @@ import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.
|
|
|
13
13
|
import { hexToRgbHtml } from "../../../helpers/hexToRgb.js";
|
|
14
14
|
import { HangFromTop, PushUpAndSlide, RotateGrow, SlideAndPushByGrow } from "./designs/title";
|
|
15
15
|
import { CameraMotionBlur } from "@remotion/motion-blur";
|
|
16
|
-
var
|
|
17
|
-
fontFamily = _loadFont.fontFamily;
|
|
16
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
18
17
|
var effects = [PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop, PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop, PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop];
|
|
19
18
|
var effectsTimings = [[0, 0.25, 0.75, 0.9], [0.7, 0.9, 1.25, 1.5], [1.25, 1.5], [2, 4.5], [2.5, 2.75, 3.25, 3.4], [3.2, 3.4, 3.75, 4.0], [3.75, 4.0], [4.0, 7.0], [5, 5.25, 5.75, 5.9], [5.7, 5.9, 6.35, 6.6], [6.25, 6.5], [6.0, 8.5]];
|
|
20
19
|
export var PushPullTitleEffect = function PushPullTitleEffect(_ref) {
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
subsets: ["latin"],
|
|
9
|
-
weights: ["400", "500", "600"]
|
|
10
|
-
}),
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
8
|
var clamp = function clamp(value, min, max) {
|
|
13
9
|
return Math.max(min, Math.min(max, value));
|
|
14
10
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { LottieAnimation } from "../../../components/effects/LottieAnimation";
|
|
7
7
|
import { convertToSeconds } from "../../../helpers/convertToSeconds.js";
|
|
8
8
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
9
9
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
10
|
-
var
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
10
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
11
|
export var SportsNametag = function SportsNametag(_ref) {
|
|
13
12
|
var name = _ref.name,
|
|
14
13
|
title = _ref.title,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
6
|
-
var
|
|
7
|
-
fontFamily = _loadFont.fontFamily;
|
|
6
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
8
7
|
var FlyInOutText = function FlyInOutText(_ref) {
|
|
9
8
|
var transcript = _ref.transcript,
|
|
10
9
|
width = _ref.width,
|
|
@@ -4,9 +4,8 @@ import { CHROME_PADDING } from "../../../config.js";
|
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { AnimatedLine } from "./shared";
|
|
6
6
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
7
|
-
import {
|
|
8
|
-
var
|
|
9
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
8
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
10
9
|
export var SportsSentence = function SportsSentence(_ref) {
|
|
11
10
|
var sentence = _ref.sentence;
|
|
12
11
|
var maxWidth = 800;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { DEFAULT_TIME_INTERPOLATE_OPTIONS, useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { convertToSeconds } from "../../../helpers/convertToSeconds.js";
|
|
7
7
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
8
8
|
import { AnimatedLine } from "./shared";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
11
10
|
export var SportsTitle = function SportsTitle(_ref) {
|
|
12
11
|
var text = _ref.text;
|
|
13
12
|
var _useOrientationBased = useOrientationBased({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
9
8
|
var IndividualLine = function IndividualLine(_ref) {
|
|
10
9
|
var text = _ref.text,
|
|
11
10
|
translateY = _ref.translateY,
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
5
5
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
7
7
|
import { timeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
8
8
|
|
|
9
9
|
// Load custom font
|
|
10
|
-
var
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
10
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
12
11
|
var IndividualLine = function IndividualLine(_ref) {
|
|
13
12
|
var text = _ref.text,
|
|
14
13
|
translateY = _ref.translateY,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { timeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { CameraMotionBlur } from "@remotion/motion-blur";
|
|
7
7
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
8
8
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
11
10
|
var NoBlurSportsBounceTitle = function NoBlurSportsBounceTitle(_ref) {
|
|
12
11
|
var text = _ref.text;
|
|
13
12
|
var _useOrientationBased = useOrientationBased({
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
subsets: ["latin"],
|
|
9
|
-
weights: ["400", "500", "600"]
|
|
10
|
-
}),
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
8
|
var clamp = function clamp(value, min, max) {
|
|
13
9
|
return Math.max(min, Math.min(max, value));
|
|
14
10
|
};
|
|
@@ -8,6 +8,7 @@ import { EffectsVideoTrack } from "./EffectsVideoTrack";
|
|
|
8
8
|
import { CaptionsVideoTrack } from "./CaptionsVideoTrack";
|
|
9
9
|
import { AudioTrack } from "./AudioTrack";
|
|
10
10
|
import { SafeZones } from "../components/utils/SafeZones";
|
|
11
|
+
import { loadFontsForTimeline } from "../fontRegistry.js";
|
|
11
12
|
var isSafeZoneDisplayed = false;
|
|
12
13
|
var DISABLED_BUFFER_MANAGER = {
|
|
13
14
|
addBlock: function addBlock() {
|
|
@@ -74,6 +75,7 @@ var DynamicVideoCompositionComponent = function DynamicVideoCompositionComponent
|
|
|
74
75
|
};
|
|
75
76
|
export var DynamicVideoComposition = function DynamicVideoComposition(props) {
|
|
76
77
|
if (props) {
|
|
78
|
+
loadFontsForTimeline(props);
|
|
77
79
|
window.screenplayProps = props;
|
|
78
80
|
}
|
|
79
81
|
return /*#__PURE__*/React.createElement(DynamicVideoCompositionComponent, props);
|