@softure-ai/marketing-kit 0.22.0 → 0.24.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/CHANGELOG.md +27 -0
- package/README.md +21 -1
- package/dist/cli/failure.d.ts.map +1 -1
- package/dist/cli/failure.js.map +1 -1
- package/dist/cli/films.js.map +1 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/options.d.ts.map +1 -1
- package/dist/compose/timeline.d.ts +22 -1
- package/dist/compose/timeline.d.ts.map +1 -1
- package/dist/compose/timeline.js +52 -14
- package/dist/compose/timeline.js.map +1 -1
- package/dist/config/actions-schema.d.ts +85 -85
- package/dist/config/actions-schema.d.ts.map +1 -1
- package/dist/config/colors.d.ts +24 -2
- package/dist/config/colors.d.ts.map +1 -1
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +3 -0
- package/dist/config/config.js.map +1 -1
- package/dist/config/placeholders.d.ts.map +1 -1
- package/dist/config/placeholders.js.map +1 -1
- package/dist/config/schema.d.ts +469 -466
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +15 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/config/shot-steps.d.ts +96 -96
- package/dist/film.d.ts.map +1 -1
- package/dist/footage/audio.js.map +1 -1
- package/dist/footage/captions.d.ts +22 -6
- package/dist/footage/captions.d.ts.map +1 -1
- package/dist/footage/captions.js +24 -14
- package/dist/footage/captions.js.map +1 -1
- package/dist/footage/clip-sound.d.ts.map +1 -1
- package/dist/footage/clip-sound.js.map +1 -1
- package/dist/footage/compose.d.ts +2 -0
- package/dist/footage/compose.d.ts.map +1 -1
- package/dist/footage/compose.js +3 -2
- package/dist/footage/compose.js.map +1 -1
- package/dist/footage/cuts.d.ts.map +1 -1
- package/dist/footage/cuts.js.map +1 -1
- package/dist/footage/declick.d.ts.map +1 -1
- package/dist/footage/disk.js.map +1 -1
- package/dist/footage/draft-font.js.map +1 -1
- package/dist/footage/draft-overlays.d.ts +24 -4
- package/dist/footage/draft-overlays.d.ts.map +1 -1
- package/dist/footage/draft-overlays.js +232 -34
- package/dist/footage/draft-overlays.js.map +1 -1
- package/dist/footage/draft.d.ts +7 -2
- package/dist/footage/draft.d.ts.map +1 -1
- package/dist/footage/draft.js +13 -2
- package/dist/footage/draft.js.map +1 -1
- package/dist/footage/edl.d.ts +46 -19
- package/dist/footage/edl.d.ts.map +1 -1
- package/dist/footage/edl.js +1 -1
- package/dist/footage/edl.js.map +1 -1
- package/dist/footage/elevenlabs.d.ts.map +1 -1
- package/dist/footage/failure.js.map +1 -1
- package/dist/footage/fake.js.map +1 -1
- package/dist/footage/ffmpeg-failure.d.ts.map +1 -1
- package/dist/footage/ffmpeg-failure.js.map +1 -1
- package/dist/footage/film.d.ts +9 -0
- package/dist/footage/film.d.ts.map +1 -1
- package/dist/footage/film.js.map +1 -1
- package/dist/footage/hyperframes-capture.d.ts.map +1 -1
- package/dist/footage/keyterms.d.ts.map +1 -1
- package/dist/footage/loudness.d.ts.map +1 -1
- package/dist/footage/loudness.js.map +1 -1
- package/dist/footage/mouth-clicks.d.ts.map +1 -1
- package/dist/footage/normalize.d.ts.map +1 -1
- package/dist/footage/normalize.js.map +1 -1
- package/dist/footage/overlay-html.d.ts +21 -1
- package/dist/footage/overlay-html.d.ts.map +1 -1
- package/dist/footage/overlay-html.js +217 -56
- package/dist/footage/overlay-html.js.map +1 -1
- package/dist/footage/overlay-schema.d.ts +104 -12
- package/dist/footage/overlay-schema.d.ts.map +1 -1
- package/dist/footage/overlay-schema.js +215 -45
- package/dist/footage/overlay-schema.js.map +1 -1
- package/dist/footage/overlays.d.ts +109 -16
- package/dist/footage/overlays.d.ts.map +1 -1
- package/dist/footage/overlays.js +303 -52
- package/dist/footage/overlays.js.map +1 -1
- package/dist/footage/paid.d.ts.map +1 -1
- package/dist/footage/pipeline.d.ts +5 -0
- package/dist/footage/pipeline.d.ts.map +1 -1
- package/dist/footage/pipeline.js +3 -2
- package/dist/footage/pipeline.js.map +1 -1
- package/dist/footage/probe.js.map +1 -1
- package/dist/footage/process.js.map +1 -1
- package/dist/footage/publish.js.map +1 -1
- package/dist/footage/render.js.map +1 -1
- package/dist/footage/sound-analysis.d.ts.map +1 -1
- package/dist/footage/speech-ranges.js.map +1 -1
- package/dist/footage/tonemap-lut.d.ts.map +1 -1
- package/dist/footage/tonemap-lut.js.map +1 -1
- package/dist/footage/tools.d.ts.map +1 -1
- package/dist/footage/tools.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/index.js.map +1 -1
- package/dist/og/font-file.d.ts.map +1 -1
- package/dist/og/fonts.d.ts.map +1 -1
- package/dist/og/fonts.js.map +1 -1
- package/dist/og/photo-cover.d.ts.map +1 -1
- package/dist/og/result.d.ts.map +1 -1
- package/dist/og/templates/schemas.d.ts.map +1 -1
- package/dist/platforms.d.ts.map +1 -1
- package/dist/render/hyperframes.js.map +1 -1
- package/dist/render/render.d.ts +4 -1
- package/dist/render/render.d.ts.map +1 -1
- package/dist/render/render.js +2 -1
- package/dist/render/render.js.map +1 -1
- package/dist/screenshot/gates.d.ts.map +1 -1
- package/dist/voice/fake.js.map +1 -1
- package/dist/voice/provider.d.ts.map +1 -1
- package/package.json +2 -2
- package/schema/edl.schema.json +90 -8
- package/schema/marketing.schema.json +18 -0
- package/src/compose/timeline.ts +62 -13
- package/src/config/config.ts +3 -0
- package/src/config/schema.ts +15 -0
- package/src/footage/captions.ts +39 -16
- package/src/footage/compose.ts +5 -3
- package/src/footage/draft-overlays.ts +276 -35
- package/src/footage/draft.ts +20 -4
- package/src/footage/edl.ts +1 -1
- package/src/footage/film.ts +9 -0
- package/src/footage/overlay-html.ts +239 -59
- package/src/footage/overlay-schema.ts +245 -40
- package/src/footage/overlays.ts +364 -55
- package/src/footage/pipeline.ts +8 -3
- package/src/index.ts +28 -0
- package/src/render/render.ts +3 -2
|
@@ -6,38 +6,191 @@ import { z } from "zod";
|
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* `punch_in`: an emphasis zoom of the picture on a word, eased in and back out. `keyword`: one word or number beside
|
|
9
|
-
* the subject. `lower_third`: a place or a name above the captions. `list`: 2 to 4 short points.
|
|
10
|
-
* `anchor` in the frame. `highlight`: marks the `anchor` rectangle of the frame.
|
|
9
|
+
* the subject. `lower_third`: a place or a name above the captions (or at the top). `list`: 2 to 4 short points.
|
|
10
|
+
* `arrow`: points at `anchor` in the frame. `highlight`: marks the `anchor` rectangle of the frame. `hook_title`: the
|
|
11
|
+
* hook's question or title at the top of the frame, one or two lines, with an optional place label (a drawn pin and
|
|
12
|
+
* "City, Country") above it; it may stay across cuts. `search_bar`: a rounded search field whose text types in.
|
|
13
|
+
* `place_card`: a big place title with a one-line subtitle. `counter`: a number with a unit counting up to its value.
|
|
14
|
+
* `date_stamp`: a day or a date with a place, small, in a corner of the top band.
|
|
11
15
|
*/
|
|
12
|
-
export const OVERLAY_KINDS = ["punch_in", "keyword", "lower_third", "list", "arrow", "highlight"];
|
|
16
|
+
export const OVERLAY_KINDS = ["punch_in", "keyword", "lower_third", "list", "arrow", "highlight", "hook_title", "search_bar", "place_card", "counter", "date_stamp"];
|
|
13
17
|
/** An overlay's size step: the zoom of a `punch_in`, the type size of the others. */
|
|
14
18
|
export const OVERLAY_SIZES = ["s", "m", "l"];
|
|
15
19
|
/** The side of the frame a text overlay sits on. */
|
|
16
20
|
export const OVERLAY_SIDES = ["left", "right"];
|
|
21
|
+
/** The band of the text region an overlay sits in (`OVERLAY_POSITIONS_BY_KIND` says which a kind takes). */
|
|
22
|
+
export const OVERLAY_POSITIONS = ["top", "middle", "bottom"];
|
|
23
|
+
/**
|
|
24
|
+
* How an overlay enters: `fade` in place, `slide` up into place, `type` letter by letter (text kinds), `none` (it is
|
|
25
|
+
* simply there). Without one, the kind's own entrance. Never a bounce or a pop: the reel stays natural.
|
|
26
|
+
*/
|
|
27
|
+
export const OVERLAY_ENTRANCES = ["fade", "slide", "type", "none"];
|
|
17
28
|
/** The shortest an overlay stays on screen: shorter does not read. */
|
|
18
29
|
export const MIN_OVERLAY_SECONDS = 1;
|
|
19
|
-
/** The longest an overlay stays on screen. */
|
|
30
|
+
/** The longest an overlay stays on screen (a `hook_title` may stay up to `MAX_HOOK_TITLE_SECONDS`). */
|
|
20
31
|
export const MAX_OVERLAY_SECONDS = 8;
|
|
32
|
+
/** The longest a `hook_title` stays on screen: up to a whole short film. */
|
|
33
|
+
export const MAX_HOOK_TITLE_SECONDS = 180;
|
|
21
34
|
/** The longest `keyword` text. */
|
|
22
35
|
export const MAX_OVERLAY_KEYWORD_LENGTH = 24;
|
|
23
36
|
/** The longest `lower_third` text. */
|
|
24
37
|
export const MAX_OVERLAY_LOWER_THIRD_LENGTH = 40;
|
|
25
38
|
/** The longest point of a `list`. */
|
|
26
39
|
export const MAX_OVERLAY_LIST_ITEM_LENGTH = 32;
|
|
27
|
-
/**
|
|
40
|
+
/** The longest `hook_title` text (one or two lines). */
|
|
41
|
+
export const MAX_OVERLAY_HOOK_TITLE_LENGTH = 64;
|
|
42
|
+
/** The longest place label (`hook_title`, `date_stamp`). */
|
|
43
|
+
export const MAX_OVERLAY_PLACE_LENGTH = 40;
|
|
44
|
+
/** The longest `search_bar` query. */
|
|
45
|
+
export const MAX_OVERLAY_SEARCH_LENGTH = 40;
|
|
46
|
+
/** The longest `place_card` title. */
|
|
47
|
+
export const MAX_OVERLAY_PLACE_TITLE_LENGTH = 28;
|
|
48
|
+
/** The longest `place_card` subtitle. */
|
|
49
|
+
export const MAX_OVERLAY_SUBTITLE_LENGTH = 40;
|
|
50
|
+
/** The longest `date_stamp` text. */
|
|
51
|
+
export const MAX_OVERLAY_DATE_LENGTH = 24;
|
|
52
|
+
/** The longest `counter` unit. */
|
|
53
|
+
export const MAX_OVERLAY_UNIT_LENGTH = 12;
|
|
54
|
+
/** The largest `counter` value. */
|
|
55
|
+
export const MAX_OVERLAY_COUNTER_VALUE = 999_999_999;
|
|
56
|
+
/** The `type` entrance's and the search bar's typing speed bounds, in characters per second. */
|
|
57
|
+
export const MIN_OVERLAY_TYPING_SPEED = 4;
|
|
58
|
+
export const MAX_OVERLAY_TYPING_SPEED = 40;
|
|
59
|
+
/** The typing speed without a `typing_speed`, in characters per second. */
|
|
60
|
+
export const DEFAULT_OVERLAY_TYPING_SPEED = 14;
|
|
61
|
+
const NO_FIELDS = { text: "none", items: false, anchor: "none", place: false, subtitle: false, counter: false };
|
|
62
|
+
const TEXT_ONLY = { ...NO_FIELDS, text: "required" };
|
|
63
|
+
/** What each kind needs, takes and refuses. */
|
|
28
64
|
const KIND_FIELDS = {
|
|
29
|
-
punch_in:
|
|
30
|
-
keyword:
|
|
31
|
-
lower_third:
|
|
32
|
-
list: {
|
|
33
|
-
arrow: {
|
|
34
|
-
highlight: {
|
|
65
|
+
punch_in: NO_FIELDS,
|
|
66
|
+
keyword: TEXT_ONLY,
|
|
67
|
+
lower_third: TEXT_ONLY,
|
|
68
|
+
list: { ...NO_FIELDS, items: true },
|
|
69
|
+
arrow: { ...NO_FIELDS, anchor: "point" },
|
|
70
|
+
highlight: { ...NO_FIELDS, anchor: "rect" },
|
|
71
|
+
hook_title: { ...TEXT_ONLY, place: true },
|
|
72
|
+
search_bar: TEXT_ONLY,
|
|
73
|
+
place_card: { ...TEXT_ONLY, subtitle: true },
|
|
74
|
+
counter: { ...NO_FIELDS, counter: true },
|
|
75
|
+
date_stamp: { ...TEXT_ONLY, place: true },
|
|
76
|
+
};
|
|
77
|
+
const TEXT_LIMITS = {
|
|
78
|
+
keyword: MAX_OVERLAY_KEYWORD_LENGTH,
|
|
79
|
+
lower_third: MAX_OVERLAY_LOWER_THIRD_LENGTH,
|
|
80
|
+
hook_title: MAX_OVERLAY_HOOK_TITLE_LENGTH,
|
|
81
|
+
search_bar: MAX_OVERLAY_SEARCH_LENGTH,
|
|
82
|
+
place_card: MAX_OVERLAY_PLACE_TITLE_LENGTH,
|
|
83
|
+
date_stamp: MAX_OVERLAY_DATE_LENGTH,
|
|
84
|
+
};
|
|
85
|
+
/** The kinds that take a side. */
|
|
86
|
+
export const OVERLAY_SIDED_KINDS = ["keyword", "lower_third", "list", "date_stamp"];
|
|
87
|
+
/** The positions a kind may take (none: its place is fixed). */
|
|
88
|
+
export const OVERLAY_POSITIONS_BY_KIND = {
|
|
89
|
+
keyword: ["top", "middle", "bottom"],
|
|
90
|
+
lower_third: ["top", "bottom"],
|
|
91
|
+
list: ["top", "middle"],
|
|
92
|
+
search_bar: ["top", "middle", "bottom"],
|
|
93
|
+
place_card: ["top", "middle", "bottom"],
|
|
94
|
+
counter: ["top", "middle", "bottom"],
|
|
35
95
|
};
|
|
36
|
-
const
|
|
96
|
+
const TEXT_ENTRANCES = ["fade", "slide", "type", "none"];
|
|
97
|
+
const BLOCK_ENTRANCES = ["fade", "slide", "none"];
|
|
98
|
+
/** The entrances a kind may take (none listed: it takes no entrance). */
|
|
99
|
+
export const OVERLAY_ENTRANCES_BY_KIND = {
|
|
100
|
+
punch_in: [],
|
|
101
|
+
keyword: TEXT_ENTRANCES,
|
|
102
|
+
lower_third: TEXT_ENTRANCES,
|
|
103
|
+
list: BLOCK_ENTRANCES,
|
|
104
|
+
arrow: ["fade", "none"],
|
|
105
|
+
highlight: ["fade", "none"],
|
|
106
|
+
hook_title: TEXT_ENTRANCES,
|
|
107
|
+
search_bar: TEXT_ENTRANCES,
|
|
108
|
+
place_card: TEXT_ENTRANCES,
|
|
109
|
+
counter: BLOCK_ENTRANCES,
|
|
110
|
+
date_stamp: TEXT_ENTRANCES,
|
|
111
|
+
};
|
|
112
|
+
/** Whether an overlay types its text in: the `type` entrance, or a search bar without another entrance. */
|
|
113
|
+
export function isTypedOverlay(overlay) {
|
|
114
|
+
const entrance = overlay.style?.entrance;
|
|
115
|
+
return entrance === "type" || (overlay.kind === "search_bar" && entrance === undefined);
|
|
116
|
+
}
|
|
37
117
|
const overlayText = z.string().trim().min(1, "is empty");
|
|
118
|
+
const hexColor = z.string().regex(/^#[0-9a-fA-F]{6}$/, "is not a #rrggbb colour");
|
|
119
|
+
const article = (kind) => (/^[aeiou]/.test(kind) ? `an ${kind}` : `a ${kind}`);
|
|
120
|
+
const hasTwoDecimals = (value) => Math.abs(Math.round(value * 100) - value * 100) < 1e-6;
|
|
121
|
+
const counterNumber = z.number().min(0).max(MAX_OVERLAY_COUNTER_VALUE).refine(hasTwoDecimals, "has more than two decimals");
|
|
122
|
+
/** Every issue of one overlay's fields against its kind. */
|
|
123
|
+
function checkOverlayFields(overlay, issue) {
|
|
124
|
+
const { kind } = overlay;
|
|
125
|
+
const fields = KIND_FIELDS[kind];
|
|
126
|
+
if ((overlay.at_word === undefined) === (overlay.at === undefined))
|
|
127
|
+
issue([], "needs exactly one of at_word and at");
|
|
128
|
+
if (kind !== "hook_title" && overlay.duration > MAX_OVERLAY_SECONDS)
|
|
129
|
+
issue(["duration"], `${article(kind)} stays at most ${MAX_OVERLAY_SECONDS} s (only a hook_title stays longer)`);
|
|
130
|
+
if (fields.text === "required" && overlay.text === undefined)
|
|
131
|
+
issue(["text"], `${article(kind)} needs its text`);
|
|
132
|
+
if (fields.text === "none" && overlay.text !== undefined)
|
|
133
|
+
issue(["text"], `${article(kind)} draws no text; leave it out`);
|
|
134
|
+
const limit = TEXT_LIMITS[kind];
|
|
135
|
+
if (limit !== undefined && overlay.text !== undefined && overlay.text.length > limit)
|
|
136
|
+
issue(["text"], `is longer than ${limit} characters`);
|
|
137
|
+
if (fields.items && overlay.items === undefined)
|
|
138
|
+
issue(["items"], "a list needs 2 to 4 points");
|
|
139
|
+
if (!fields.items && overlay.items !== undefined)
|
|
140
|
+
issue(["items"], `${article(kind)} draws no points; leave them out`);
|
|
141
|
+
if (fields.anchor === "none" && overlay.anchor !== undefined)
|
|
142
|
+
issue(["anchor"], `${article(kind)} has no anchor; leave it out`);
|
|
143
|
+
if (fields.anchor !== "none" && overlay.anchor === undefined)
|
|
144
|
+
issue(["anchor"], `${article(kind)} needs its anchor`);
|
|
145
|
+
const isRect = overlay.anchor?.width !== undefined && overlay.anchor.height !== undefined;
|
|
146
|
+
if (fields.anchor === "rect" && overlay.anchor !== undefined && !isRect)
|
|
147
|
+
issue(["anchor"], "a highlight needs the anchor's width and height");
|
|
148
|
+
if (fields.anchor === "point" && (overlay.anchor?.width !== undefined || overlay.anchor?.height !== undefined))
|
|
149
|
+
issue(["anchor"], "an arrow points at a point: leave width and height out");
|
|
150
|
+
if (!fields.place && overlay.place !== undefined)
|
|
151
|
+
issue(["place"], `${article(kind)} has no place label; leave it out`);
|
|
152
|
+
if (!fields.subtitle && overlay.subtitle !== undefined)
|
|
153
|
+
issue(["subtitle"], `${article(kind)} has no subtitle; leave it out`);
|
|
154
|
+
if (fields.counter && overlay.value === undefined)
|
|
155
|
+
issue(["value"], "a counter needs its value");
|
|
156
|
+
if (!fields.counter) {
|
|
157
|
+
for (const key of ["value", "from", "unit"])
|
|
158
|
+
if (overlay[key] !== undefined)
|
|
159
|
+
issue([key], `${article(kind)} counts nothing; leave ${key} out`);
|
|
160
|
+
}
|
|
161
|
+
if (overlay.value !== undefined && overlay.from !== undefined && overlay.from >= overlay.value)
|
|
162
|
+
issue(["from"], "a counter counts up: from must be below value");
|
|
163
|
+
}
|
|
164
|
+
/** Every issue of one overlay's style knobs against its kind. */
|
|
165
|
+
function checkOverlayStyle(overlay, issue) {
|
|
166
|
+
const { kind, style } = overlay;
|
|
167
|
+
if (style === undefined)
|
|
168
|
+
return;
|
|
169
|
+
if (style.side !== undefined && !OVERLAY_SIDED_KINDS.includes(kind))
|
|
170
|
+
issue(["style", "side"], `${article(kind)} has no side; leave it out`);
|
|
171
|
+
const positions = OVERLAY_POSITIONS_BY_KIND[kind];
|
|
172
|
+
if (style.position !== undefined && !(positions ?? []).includes(style.position)) {
|
|
173
|
+
issue(["style", "position"], positions === undefined ? `${article(kind)} has a fixed place; leave position out` : `${article(kind)} sits at ${positions.join(", ")}`);
|
|
174
|
+
}
|
|
175
|
+
const entrances = OVERLAY_ENTRANCES_BY_KIND[kind];
|
|
176
|
+
if (style.entrance !== undefined && !entrances.includes(style.entrance)) {
|
|
177
|
+
issue(["style", "entrance"], entrances.length === 0 ? `${article(kind)} has no entrance; leave it out` : `${article(kind)} enters by ${entrances.join(", ")}`);
|
|
178
|
+
}
|
|
179
|
+
if (style.typing_speed !== undefined && !isTypedOverlay(overlay))
|
|
180
|
+
issue(["style", "typing_speed"], "only a typed entrance or a search bar has a typing speed");
|
|
181
|
+
if (style.colors === undefined)
|
|
182
|
+
return;
|
|
183
|
+
if (kind === "punch_in")
|
|
184
|
+
issue(["style", "colors"], "a punch_in draws nothing to colour; leave colors out");
|
|
185
|
+
if ((kind === "arrow" || kind === "highlight") && (style.colors.card !== undefined || style.colors.text !== undefined)) {
|
|
186
|
+
issue(["style", "colors"], `${article(kind)} draws in its accent only; leave card and text out`);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
38
189
|
export const overlaySchema = z
|
|
39
190
|
.strictObject({
|
|
40
|
-
kind: z
|
|
191
|
+
kind: z
|
|
192
|
+
.enum(OVERLAY_KINDS)
|
|
193
|
+
.describe("punch_in (an emphasis zoom on a word), keyword, lower_third, list, arrow, highlight, hook_title, search_bar, place_card, counter or date_stamp."),
|
|
41
194
|
at_word: z
|
|
42
195
|
.strictObject({
|
|
43
196
|
text: overlayText.describe("The word as the transcript has it; compared without case and punctuation."),
|
|
@@ -46,8 +199,14 @@ export const overlaySchema = z
|
|
|
46
199
|
.optional()
|
|
47
200
|
.describe("The transcript word the overlay starts on (its start after the cut); give this or at."),
|
|
48
201
|
at: z.number().min(0).optional().describe("The film second the overlay starts at; give this or at_word."),
|
|
49
|
-
duration: z
|
|
50
|
-
|
|
202
|
+
duration: z
|
|
203
|
+
.number()
|
|
204
|
+
.min(MIN_OVERLAY_SECONDS)
|
|
205
|
+
.max(MAX_HOOK_TITLE_SECONDS)
|
|
206
|
+
.describe(`Seconds on screen (${MIN_OVERLAY_SECONDS}-${MAX_OVERLAY_SECONDS}; a hook_title up to ${MAX_HOOK_TITLE_SECONDS}).`),
|
|
207
|
+
text: overlayText
|
|
208
|
+
.optional()
|
|
209
|
+
.describe(`The text: keyword (up to ${MAX_OVERLAY_KEYWORD_LENGTH} characters), lower_third (${MAX_OVERLAY_LOWER_THIRD_LENGTH}), hook_title (${MAX_OVERLAY_HOOK_TITLE_LENGTH}, one or two lines), search_bar (${MAX_OVERLAY_SEARCH_LENGTH}), place_card title (${MAX_OVERLAY_PLACE_TITLE_LENGTH}) or date_stamp (${MAX_OVERLAY_DATE_LENGTH}).`),
|
|
51
210
|
items: z
|
|
52
211
|
.array(overlayText.max(MAX_OVERLAY_LIST_ITEM_LENGTH, `is longer than ${MAX_OVERLAY_LIST_ITEM_LENGTH} characters`))
|
|
53
212
|
.min(2, "a list needs 2 to 4 points")
|
|
@@ -63,42 +222,53 @@ export const overlaySchema = z
|
|
|
63
222
|
})
|
|
64
223
|
.optional()
|
|
65
224
|
.describe("The point an arrow points at, or the rectangle a highlight marks (x, y its top left), in px of the film's frame."),
|
|
225
|
+
place: overlayText
|
|
226
|
+
.max(MAX_OVERLAY_PLACE_LENGTH, `is longer than ${MAX_OVERLAY_PLACE_LENGTH} characters`)
|
|
227
|
+
.optional()
|
|
228
|
+
.describe(`A hook_title's place label above it (drawn with a pin) or a date_stamp's place, e.g. "Hanoi, Vietnam" (up to ${MAX_OVERLAY_PLACE_LENGTH} characters).`),
|
|
229
|
+
subtitle: overlayText
|
|
230
|
+
.max(MAX_OVERLAY_SUBTITLE_LENGTH, `is longer than ${MAX_OVERLAY_SUBTITLE_LENGTH} characters`)
|
|
231
|
+
.optional()
|
|
232
|
+
.describe(`A place_card's one-line subtitle (up to ${MAX_OVERLAY_SUBTITLE_LENGTH} characters).`),
|
|
233
|
+
value: counterNumber.optional().describe("The number a counter counts up to (at most two decimals)."),
|
|
234
|
+
from: counterNumber.optional().describe("The number a counter counts from (0 by default), below its value."),
|
|
235
|
+
unit: overlayText
|
|
236
|
+
.max(MAX_OVERLAY_UNIT_LENGTH, `is longer than ${MAX_OVERLAY_UNIT_LENGTH} characters`)
|
|
237
|
+
.optional()
|
|
238
|
+
.describe(`A counter's unit after the number, e.g. km (up to ${MAX_OVERLAY_UNIT_LENGTH} characters).`),
|
|
66
239
|
style: z
|
|
67
240
|
.strictObject({
|
|
68
241
|
size: z.enum(OVERLAY_SIZES).optional().describe("s, m (the default) or l: the punch-in's zoom (108, 112, 115 %) or the type size."),
|
|
69
|
-
side: z.enum(OVERLAY_SIDES).optional().describe("The side a keyword, lower third or
|
|
242
|
+
side: z.enum(OVERLAY_SIDES).optional().describe("The side a keyword, lower third, list or date stamp sits on."),
|
|
243
|
+
position: z
|
|
244
|
+
.enum(OVERLAY_POSITIONS)
|
|
245
|
+
.optional()
|
|
246
|
+
.describe("top, middle or bottom of the room above the captions: keyword, search_bar, place_card, counter (any), lower_third (top or bottom), list (top or middle)."),
|
|
247
|
+
entrance: z
|
|
248
|
+
.enum(OVERLAY_ENTRANCES)
|
|
249
|
+
.optional()
|
|
250
|
+
.describe("fade, slide, type (text typed in letter by letter) or none; without it the kind's own. Never a bounce or a pop."),
|
|
251
|
+
typing_speed: z
|
|
252
|
+
.number()
|
|
253
|
+
.min(MIN_OVERLAY_TYPING_SPEED)
|
|
254
|
+
.max(MAX_OVERLAY_TYPING_SPEED)
|
|
255
|
+
.optional()
|
|
256
|
+
.describe(`Characters per second of a typed entrance or a search bar (${MIN_OVERLAY_TYPING_SPEED}-${MAX_OVERLAY_TYPING_SPEED}, ${DEFAULT_OVERLAY_TYPING_SPEED} by default).`),
|
|
257
|
+
colors: z
|
|
258
|
+
.strictObject({
|
|
259
|
+
card: hexColor.optional().describe("The card's colour (#rrggbb); the brand's background without it."),
|
|
260
|
+
text: hexColor.optional().describe("The text's colour; the brand's foreground without it."),
|
|
261
|
+
accent: hexColor.optional().describe("The accent (dot, pin, magnifier, arrow, marker); the brand's accent without it."),
|
|
262
|
+
})
|
|
263
|
+
.optional()
|
|
264
|
+
.describe("The overlay's own colours in place of the brand's."),
|
|
70
265
|
})
|
|
71
266
|
.optional()
|
|
72
|
-
.describe("The overlay's size
|
|
267
|
+
.describe("The overlay's look: size, side, position, entrance, typing speed and colours; fonts are the brand's."),
|
|
73
268
|
})
|
|
74
269
|
.superRefine((overlay, context) => {
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (fields.text && overlay.text === undefined)
|
|
79
|
-
context.addIssue({ code: "custom", path: ["text"], message: `a ${overlay.kind} needs its text` });
|
|
80
|
-
if (!fields.text && overlay.text !== undefined)
|
|
81
|
-
context.addIssue({ code: "custom", path: ["text"], message: `a ${overlay.kind} draws no text; leave it out` });
|
|
82
|
-
const limit = TEXT_LIMITS[overlay.kind];
|
|
83
|
-
if (limit !== undefined && overlay.text !== undefined && overlay.text.length > limit) {
|
|
84
|
-
context.addIssue({ code: "custom", path: ["text"], message: `is longer than ${limit} characters` });
|
|
85
|
-
}
|
|
86
|
-
if (fields.items && overlay.items === undefined)
|
|
87
|
-
context.addIssue({ code: "custom", path: ["items"], message: "a list needs 2 to 4 points" });
|
|
88
|
-
if (!fields.items && overlay.items !== undefined)
|
|
89
|
-
context.addIssue({ code: "custom", path: ["items"], message: `a ${overlay.kind} draws no points; leave them out` });
|
|
90
|
-
if (fields.anchor === "none" && overlay.anchor !== undefined)
|
|
91
|
-
context.addIssue({ code: "custom", path: ["anchor"], message: `a ${overlay.kind} has no anchor; leave it out` });
|
|
92
|
-
if (fields.anchor !== "none" && overlay.anchor === undefined)
|
|
93
|
-
context.addIssue({ code: "custom", path: ["anchor"], message: `${overlay.kind === "arrow" ? "an arrow" : "a highlight"} needs its anchor` });
|
|
94
|
-
const isRect = overlay.anchor?.width !== undefined && overlay.anchor.height !== undefined;
|
|
95
|
-
if (fields.anchor === "rect" && overlay.anchor !== undefined && !isRect)
|
|
96
|
-
context.addIssue({ code: "custom", path: ["anchor"], message: "a highlight needs the anchor's width and height" });
|
|
97
|
-
if (fields.anchor === "point" && (overlay.anchor?.width !== undefined || overlay.anchor?.height !== undefined)) {
|
|
98
|
-
context.addIssue({ code: "custom", path: ["anchor"], message: "an arrow points at a point: leave width and height out" });
|
|
99
|
-
}
|
|
100
|
-
if (overlay.kind !== "keyword" && overlay.kind !== "lower_third" && overlay.kind !== "list" && overlay.style?.side !== undefined) {
|
|
101
|
-
context.addIssue({ code: "custom", path: ["style", "side"], message: `a ${overlay.kind} has no side; leave it out` });
|
|
102
|
-
}
|
|
270
|
+
const issue = (path, message) => context.addIssue({ code: "custom", path, message });
|
|
271
|
+
checkOverlayFields(overlay, issue);
|
|
272
|
+
checkOverlayStyle(overlay, issue);
|
|
103
273
|
});
|
|
104
274
|
//# sourceMappingURL=overlay-schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-schema.js","sourceRoot":"","sources":["../../src/footage/overlay-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAU,CAAC;AAI3G,qFAAqF;AACrF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAU,CAAC;AAItD,oDAAoD;AACpD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAIxD,sEAAsE;AACtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AACrC,8CAA8C;AAC9C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AACrC,kCAAkC;AAClC,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAC7C,sCAAsC;AACtC,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E;IAChC,MAAM,KAAK,GAAG,CAAC,IAAc,EAAE,OAAe,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACvG,kBAAkB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACnC,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type CaptionLayout } from "../compose/timeline.js";
|
|
|
2
2
|
import type { TimedWord } from "../voice/voiceover.js";
|
|
3
3
|
import { type Edl } from "./edl.js";
|
|
4
4
|
import { type FootageFilm } from "./film.js";
|
|
5
|
-
import type
|
|
5
|
+
import { type EdlOverlayColors, type OverlayEntrance, type OverlayKind, type OverlaySide, type OverlaySize } from "./overlay-schema.js";
|
|
6
6
|
/**
|
|
7
7
|
* An EDL's overlays resolved for the render and the draft (issue #1200): each one's film time (from its word through
|
|
8
8
|
* the cut, or its second), the segment it plays in, and where it sits in the frame, inside the platform safe zone and
|
|
@@ -13,17 +13,43 @@ import type { OverlaySide, OverlaySize } from "./overlay-schema.js";
|
|
|
13
13
|
export declare const PUNCH_IN_SCALES: Record<OverlaySize, number>;
|
|
14
14
|
/** The `punch_in`'s ease into its zoom and back out, in seconds (shorter when the overlay is short). */
|
|
15
15
|
export declare const PUNCH_IN_EASE_SECONDS = 0.35;
|
|
16
|
-
/**
|
|
17
|
-
export
|
|
16
|
+
/** The kinds drawn with text: every kind but `punch_in`, `arrow` and `highlight`. */
|
|
17
|
+
export type TextOverlayKind = Exclude<OverlayKind, "punch_in" | "arrow" | "highlight">;
|
|
18
|
+
/** A text overlay's main type size in px of a 1080 px wide frame, by kind and size step. */
|
|
19
|
+
export declare const OVERLAY_FONT_SIZES: Record<TextOverlayKind, Record<OverlaySize, number>>;
|
|
20
|
+
/** A second line's type size in main font sizes: the hook title's place label, the subtitle, the unit, the stamp's place. */
|
|
21
|
+
export declare const OVERLAY_SECONDARY_SCALE: {
|
|
22
|
+
readonly hook_title: 0.55;
|
|
23
|
+
readonly place_card: 0.42;
|
|
24
|
+
readonly counter: 0.5;
|
|
25
|
+
readonly date_stamp: 0.78;
|
|
26
|
+
};
|
|
18
27
|
/** A text overlay's line height and its box's padding, in font sizes. */
|
|
19
28
|
export declare const OVERLAY_LINE_HEIGHT = 1.15;
|
|
20
29
|
export declare const OVERLAY_LIST_LINE_HEIGHT = 1.4;
|
|
30
|
+
/** A place card title's line height, tighter for its big type. */
|
|
31
|
+
export declare const OVERLAY_TITLE_LINE_HEIGHT = 1.05;
|
|
21
32
|
export declare const OVERLAY_PADDING_EM: {
|
|
22
33
|
readonly x: 0.6;
|
|
23
34
|
readonly y: 0.35;
|
|
24
35
|
};
|
|
36
|
+
/** The search field's padding round its query, in font sizes (its height is the line plus twice this). */
|
|
37
|
+
export declare const SEARCH_BAR_PADDING_EM: {
|
|
38
|
+
readonly x: 0.7;
|
|
39
|
+
readonly y: 0.55;
|
|
40
|
+
};
|
|
41
|
+
/** The room the search field's magnifier and its gap take before the query, in font sizes. */
|
|
42
|
+
export declare const SEARCH_BAR_ICON_EM = 1.5;
|
|
43
|
+
/** The average advance of a bold Latin letter, in font sizes: how wide a line is estimated before it is drawn. */
|
|
44
|
+
export declare const OVERLAY_CHAR_EM = 0.56;
|
|
45
|
+
/** The most lines a hook title or a place card's title wraps to. */
|
|
46
|
+
export declare const MAX_OVERLAY_TITLE_LINES = 2;
|
|
25
47
|
/** The room kept between an overlay and the safe zone's edge or the captions, in px. */
|
|
26
48
|
export declare const OVERLAY_MARGIN = 24;
|
|
49
|
+
/** The brand font a text overlay is drawn in: `heading` for titles and numbers, `interface` for labels and lists. */
|
|
50
|
+
export type OverlayFontRole = "heading" | "interface";
|
|
51
|
+
/** Each text kind's font role (the hook title's place label and a place card's subtitle are interface text). */
|
|
52
|
+
export declare const OVERLAY_FONT_ROLES: Record<TextOverlayKind, OverlayFontRole>;
|
|
27
53
|
/** A box in the film's frame, in px. */
|
|
28
54
|
export interface OverlayBox {
|
|
29
55
|
left: number;
|
|
@@ -41,33 +67,87 @@ interface OverlayBase {
|
|
|
41
67
|
/** Film seconds. */
|
|
42
68
|
start: number;
|
|
43
69
|
end: number;
|
|
44
|
-
/** The segment it
|
|
70
|
+
/** The segment it starts in. */
|
|
45
71
|
segment: number;
|
|
46
72
|
}
|
|
47
|
-
/**
|
|
73
|
+
/** How a drawn overlay looks besides its place: its entrance (null: the kind's own), typing speed and own colours. */
|
|
74
|
+
export interface OverlayLook {
|
|
75
|
+
entrance: OverlayEntrance | null;
|
|
76
|
+
/** Characters per second when it types its text in, else null. */
|
|
77
|
+
typing: number | null;
|
|
78
|
+
/** Its own colours in place of the brand's (empty: the brand's). */
|
|
79
|
+
colors: EdlOverlayColors;
|
|
80
|
+
}
|
|
81
|
+
type Drawn = OverlayBase & OverlayLook;
|
|
82
|
+
/**
|
|
83
|
+
* A text overlay's box: for `keyword`, `lower_third` and `list`, `left` and `top` of its outer edge and the most it
|
|
84
|
+
* may take (it shrinks to its text); for the others, the box its card takes.
|
|
85
|
+
*/
|
|
48
86
|
export type ResolvedOverlay = (OverlayBase & {
|
|
49
87
|
kind: "punch_in";
|
|
50
88
|
scale: number;
|
|
51
89
|
ease: number;
|
|
52
|
-
}) | (
|
|
53
|
-
kind: "keyword"
|
|
90
|
+
}) | (Drawn & {
|
|
91
|
+
kind: "keyword";
|
|
54
92
|
text: string;
|
|
55
93
|
fontSize: number;
|
|
56
94
|
side: OverlaySide;
|
|
57
95
|
box: OverlayBox;
|
|
58
|
-
}) | (
|
|
96
|
+
}) | (Drawn & {
|
|
97
|
+
kind: "lower_third";
|
|
98
|
+
text: string;
|
|
99
|
+
fontSize: number;
|
|
100
|
+
side: OverlaySide;
|
|
101
|
+
box: OverlayBox;
|
|
102
|
+
}) | (Drawn & {
|
|
59
103
|
kind: "list";
|
|
60
104
|
items: string[];
|
|
61
105
|
fontSize: number;
|
|
62
106
|
side: OverlaySide;
|
|
63
107
|
box: OverlayBox;
|
|
64
|
-
}) | (
|
|
108
|
+
}) | (Drawn & {
|
|
65
109
|
kind: "arrow";
|
|
66
110
|
from: OverlayPoint;
|
|
67
111
|
to: OverlayPoint;
|
|
68
|
-
}) | (
|
|
112
|
+
}) | (Drawn & {
|
|
69
113
|
kind: "highlight";
|
|
70
114
|
rect: OverlayBox;
|
|
115
|
+
}) | (Drawn & {
|
|
116
|
+
kind: "hook_title";
|
|
117
|
+
lines: string[];
|
|
118
|
+
place: string | null;
|
|
119
|
+
fontSize: number;
|
|
120
|
+
placeFontSize: number;
|
|
121
|
+
box: OverlayBox;
|
|
122
|
+
}) | (Drawn & {
|
|
123
|
+
kind: "search_bar";
|
|
124
|
+
text: string;
|
|
125
|
+
fontSize: number;
|
|
126
|
+
box: OverlayBox;
|
|
127
|
+
}) | (Drawn & {
|
|
128
|
+
kind: "place_card";
|
|
129
|
+
lines: string[];
|
|
130
|
+
subtitle: string | null;
|
|
131
|
+
fontSize: number;
|
|
132
|
+
subtitleFontSize: number;
|
|
133
|
+
box: OverlayBox;
|
|
134
|
+
}) | (Drawn & {
|
|
135
|
+
kind: "counter";
|
|
136
|
+
value: number;
|
|
137
|
+
from: number;
|
|
138
|
+
decimals: number;
|
|
139
|
+
unit: string | null;
|
|
140
|
+
fontSize: number;
|
|
141
|
+
unitFontSize: number;
|
|
142
|
+
box: OverlayBox;
|
|
143
|
+
}) | (Drawn & {
|
|
144
|
+
kind: "date_stamp";
|
|
145
|
+
text: string;
|
|
146
|
+
place: string | null;
|
|
147
|
+
fontSize: number;
|
|
148
|
+
placeFontSize: number;
|
|
149
|
+
side: OverlaySide;
|
|
150
|
+
box: OverlayBox;
|
|
71
151
|
});
|
|
72
152
|
export type ResolvedOverlaysResult = {
|
|
73
153
|
ok: true;
|
|
@@ -98,15 +178,28 @@ export declare function getOverlaySafeZone(film: Pick<FootageFilm, "format" | "c
|
|
|
98
178
|
left: number;
|
|
99
179
|
right: number;
|
|
100
180
|
};
|
|
181
|
+
/** The estimated width of a line of text at a font size, in px (`OVERLAY_CHAR_EM` a letter). */
|
|
182
|
+
export declare function estimateTextWidth(text: string, fontSize: number): number;
|
|
183
|
+
/** Text broken into lines at spaces so each fits `width` at `fontSize` by the estimate; a word longer than a line stands alone. */
|
|
184
|
+
export declare function wrapOverlayText(text: string, fontSize: number, width: number): string[];
|
|
185
|
+
/** The number of decimals a counter shows: the most of its value's and its start's (at most two). */
|
|
186
|
+
export declare function getCounterDecimals(value: number, from: number): number;
|
|
187
|
+
/** A counter's number as the film shows it, grouped as `locale` writes numbers, with plain spaces for the group gaps. */
|
|
188
|
+
export declare function formatOverlayNumber(value: number, decimals: number, locale: string): string;
|
|
189
|
+
/** The box a drawn overlay takes in the frame, or null for a `punch_in` (it draws nothing). */
|
|
190
|
+
export declare function getOverlayBounds(overlay: ResolvedOverlay): OverlayBox | null;
|
|
101
191
|
/**
|
|
102
192
|
* The overlays of an EDL resolved to film time and placed, or every reason one cannot be drawn: its word is not said,
|
|
103
|
-
* it is too short or runs past the cut or into the next segment, two overlap,
|
|
104
|
-
* `overlayMinSpacing`, a text overlay does not fit between the safe zone and the captions, an
|
|
105
|
-
* zone or sits on the captions, or a `punch_in` falls on a `kenburns` segment or inside a zoom
|
|
106
|
-
*
|
|
193
|
+
* it is too short or runs past the cut or into the next segment (a `hook_title` may stay across cuts), two overlap,
|
|
194
|
+
* two start closer than `overlayMinSpacing`, a text overlay does not fit between the safe zone and the captions, an
|
|
195
|
+
* anchor leaves the safe zone or sits on the captions, or a `punch_in` falls on a `kenburns` segment or inside a zoom
|
|
196
|
+
* cut's ease. A `hook_title` lives in the top band: it does not count against one overlay at a time or the spacing,
|
|
197
|
+
* but nothing drawn while it shows may sit on it. An EDL without overlays resolves to none.
|
|
107
198
|
*/
|
|
108
199
|
export declare function resolveEdlOverlays(input: ResolveOverlaysInput): ResolvedOverlaysResult;
|
|
109
|
-
/** The texts the overlays draw, for the glyph check. */
|
|
110
|
-
export declare function
|
|
200
|
+
/** The texts the overlays draw, by the brand font that draws them, for the glyph check. */
|
|
201
|
+
export declare function getOverlayTextsByRole(overlays: readonly ResolvedOverlay[], locale?: string): Record<OverlayFontRole, string[]>;
|
|
202
|
+
/** The texts the overlays draw, every role together. */
|
|
203
|
+
export declare function getOverlayTexts(overlays: readonly ResolvedOverlay[], locale?: string): string[];
|
|
111
204
|
export {};
|
|
112
205
|
//# sourceMappingURL=overlays.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../src/footage/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAmD,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AACrF,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../src/footage/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAmD,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AACrF,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7D,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;AAI7B;;;;;GAKG;AAEH,uFAAuF;AACvF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAiC,CAAC;AAC1F,wGAAwG;AACxG,eAAO,MAAM,q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