demoman 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES +1 -1
- package/dist/demoman.mjs +19646 -13607
- package/dist/page/decode-probe-entry.js +23071 -0
- package/dist/page/executor-entry.js +102 -17
- package/dist/page/mux-entry.js +351 -107
- package/dist/page/render-entry.js +1931 -1147
- package/dist/recipe.md +248 -292
- package/dist/skills/record-demo/SKILL.md +5 -4
- package/dist/studio/assets/confirm-dialog-BGEp6bKH.css +1 -0
- package/dist/studio/assets/confirm-dialog-F4BR4FU0.js +72 -0
- package/dist/studio/assets/editor-63atCcDn.js +4 -0
- package/dist/studio/assets/{editor-inline-7e387eed.css → editor-inline-d74caea2.css} +10 -0
- package/dist/studio/assets/library-L3IU8F5q.js +1 -0
- package/dist/studio/assets/library-inline-3627d15c.css +1426 -0
- package/dist/studio/assets/settings-g3t2C3Eo.js +1 -0
- package/dist/studio/assets/{settings-inline-ff6d2eee.css → settings-inline-2f59fbb0.css} +12 -0
- package/dist/studio/assets/state-eyG4SxVq.js +1 -0
- package/dist/studio/assets/topbar-CgsXzkpk.js +1 -0
- package/dist/studio/assets/view-DzaxHB2c.js +1 -0
- package/dist/studio/editor.html +11 -10
- package/dist/studio/library.html +9 -8
- package/dist/studio/settings.html +8 -7
- package/dist/studio/studio-build.json +3 -3
- package/dist/studio/wallpapers/dark-1-landscape.webp +0 -0
- package/dist/studio/wallpapers/dark-1-portrait.webp +0 -0
- package/dist/studio/wallpapers/dark-1-thumb.webp +0 -0
- package/dist/studio/wallpapers/dark-2-landscape.webp +0 -0
- package/dist/studio/wallpapers/dark-2-portrait.webp +0 -0
- package/dist/studio/wallpapers/dark-2-thumb.webp +0 -0
- package/dist/studio/wallpapers/light-1-landscape.webp +0 -0
- package/dist/studio/wallpapers/light-1-portrait.webp +0 -0
- package/dist/studio/wallpapers/light-1-thumb.webp +0 -0
- package/dist/studio/wallpapers/light-2-landscape.webp +0 -0
- package/dist/studio/wallpapers/light-2-portrait.webp +0 -0
- package/dist/studio/wallpapers/light-2-thumb.webp +0 -0
- package/dist/studio/wallpapers/muted-1-landscape.webp +0 -0
- package/dist/studio/wallpapers/muted-1-portrait.webp +0 -0
- package/dist/studio/wallpapers/muted-1-thumb.webp +0 -0
- package/dist/studio/wallpapers/muted-2-landscape.webp +0 -0
- package/dist/studio/wallpapers/muted-2-portrait.webp +0 -0
- package/dist/studio/wallpapers/muted-2-thumb.webp +0 -0
- package/dist/studio/wallpapers/muted-3-landscape.webp +0 -0
- package/dist/studio/wallpapers/muted-3-portrait.webp +0 -0
- package/dist/studio/wallpapers/muted-3-thumb.webp +0 -0
- package/dist/studio/wallpapers/muted-4-landscape.webp +0 -0
- package/dist/studio/wallpapers/muted-4-portrait.webp +0 -0
- package/dist/studio/wallpapers/muted-4-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-1-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-1-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-1-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-2-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-2-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-2-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-3-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-3-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-3-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-4-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-4-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-4-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-5-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-5-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-5-thumb.webp +0 -0
- package/dist/studio/wallpapers/vivid-6-landscape.webp +0 -0
- package/dist/studio/wallpapers/vivid-6-portrait.webp +0 -0
- package/dist/studio/wallpapers/vivid-6-thumb.webp +0 -0
- package/package.json +1 -1
- package/dist/studio/assets/confirm-dialog-Bcrw3f1a.js +0 -72
- package/dist/studio/assets/confirm-dialog-DSKBZQdV.css +0 -1
- package/dist/studio/assets/editor-DUZKtJ2T.js +0 -4
- package/dist/studio/assets/library-BPokDo6m.js +0 -1
- package/dist/studio/assets/library-inline-216fd6fd.css +0 -659
- package/dist/studio/assets/settings-RZj4oUzT.js +0 -1
- package/dist/studio/assets/state-tew-ACWl.js +0 -1
- package/dist/studio/assets/topbar-sSUyITjl.js +0 -1
- package/dist/studio/assets/view-SxAupNyx.js +0 -1
package/dist/page/mux-entry.js
CHANGED
|
@@ -15363,7 +15363,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15363
15363
|
moveTo: { cursorTravels: true, approach: "nearest" },
|
|
15364
15364
|
scrollTo: { cursorTravels: false, approach: "landing" },
|
|
15365
15365
|
waitFor: { cursorTravels: false, approach: "none" },
|
|
15366
|
-
drag: { cursorTravels: true, approach: "nearest" }
|
|
15366
|
+
drag: { cursorTravels: true, approach: "nearest" },
|
|
15367
|
+
press: { cursorTravels: false, approach: "none" }
|
|
15367
15368
|
};
|
|
15368
15369
|
|
|
15369
15370
|
// ../../packages/compositor/dist/bundle.js
|
|
@@ -15747,8 +15748,75 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15747
15748
|
userAgentMetadata: UserAgentMetadataSchema.optional()
|
|
15748
15749
|
});
|
|
15749
15750
|
|
|
15751
|
+
// ../../packages/scene-schema/dist/wallpapers.js
|
|
15752
|
+
var WALLPAPERS = [
|
|
15753
|
+
{
|
|
15754
|
+
id: "muted-1",
|
|
15755
|
+
family: "muted",
|
|
15756
|
+
swatch: { from: "#141422", to: "#26233e" }
|
|
15757
|
+
},
|
|
15758
|
+
{
|
|
15759
|
+
id: "muted-2",
|
|
15760
|
+
family: "muted",
|
|
15761
|
+
swatch: { from: "#bfb5aa", to: "#a19486" }
|
|
15762
|
+
},
|
|
15763
|
+
{
|
|
15764
|
+
id: "muted-3",
|
|
15765
|
+
family: "muted",
|
|
15766
|
+
swatch: { from: "#1b1e1d", to: "#51625d" }
|
|
15767
|
+
},
|
|
15768
|
+
{
|
|
15769
|
+
id: "muted-4",
|
|
15770
|
+
family: "muted",
|
|
15771
|
+
swatch: { from: "#a3a299", to: "#cfcbc3" }
|
|
15772
|
+
},
|
|
15773
|
+
{
|
|
15774
|
+
id: "vivid-1",
|
|
15775
|
+
family: "vivid",
|
|
15776
|
+
swatch: { from: "#3527bc", to: "#ce1676" }
|
|
15777
|
+
},
|
|
15778
|
+
{
|
|
15779
|
+
id: "vivid-2",
|
|
15780
|
+
family: "vivid",
|
|
15781
|
+
swatch: { from: "#0769ca", to: "#1e26b7" }
|
|
15782
|
+
},
|
|
15783
|
+
{
|
|
15784
|
+
id: "vivid-3",
|
|
15785
|
+
family: "vivid",
|
|
15786
|
+
swatch: { from: "#c90757", to: "#ed480d" }
|
|
15787
|
+
},
|
|
15788
|
+
{
|
|
15789
|
+
id: "vivid-4",
|
|
15790
|
+
family: "vivid",
|
|
15791
|
+
swatch: { from: "#0ba393", to: "#0575c7" }
|
|
15792
|
+
},
|
|
15793
|
+
{
|
|
15794
|
+
id: "vivid-5",
|
|
15795
|
+
family: "vivid",
|
|
15796
|
+
swatch: { from: "#f28b0a", to: "#df2d21" }
|
|
15797
|
+
},
|
|
15798
|
+
{
|
|
15799
|
+
id: "vivid-6",
|
|
15800
|
+
family: "vivid",
|
|
15801
|
+
swatch: { from: "#3d0dbf", to: "#133ac7" }
|
|
15802
|
+
},
|
|
15803
|
+
{
|
|
15804
|
+
id: "light-1",
|
|
15805
|
+
family: "light",
|
|
15806
|
+
swatch: { from: "#b7bff3", to: "#eda9c5" }
|
|
15807
|
+
},
|
|
15808
|
+
{
|
|
15809
|
+
id: "light-2",
|
|
15810
|
+
family: "light",
|
|
15811
|
+
swatch: { from: "#afe5f0", to: "#98c5e8" }
|
|
15812
|
+
},
|
|
15813
|
+
{ id: "dark-1", family: "dark", swatch: { from: "#150217", to: "#3d044b" } },
|
|
15814
|
+
{ id: "dark-2", family: "dark", swatch: { from: "#02576e", to: "#023758" } }
|
|
15815
|
+
];
|
|
15816
|
+
var DEFAULT_WALLPAPER_ID = "muted-1";
|
|
15817
|
+
|
|
15750
15818
|
// ../../packages/scene-schema/dist/document.js
|
|
15751
|
-
var CURRENT_SCHEMA_VERSION =
|
|
15819
|
+
var CURRENT_SCHEMA_VERSION = 15;
|
|
15752
15820
|
var Rect = external_exports.object({
|
|
15753
15821
|
x: external_exports.number(),
|
|
15754
15822
|
y: external_exports.number(),
|
|
@@ -15841,9 +15909,27 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15841
15909
|
signal: external_exports.enum(["mutation", "style"]).optional()
|
|
15842
15910
|
});
|
|
15843
15911
|
var TEXT_LINES_MAX = 200;
|
|
15912
|
+
var PRESS_KEYS = [
|
|
15913
|
+
"Enter",
|
|
15914
|
+
"Tab",
|
|
15915
|
+
"Escape",
|
|
15916
|
+
"Backspace",
|
|
15917
|
+
"Delete",
|
|
15918
|
+
"ArrowUp",
|
|
15919
|
+
"ArrowDown",
|
|
15920
|
+
"ArrowLeft",
|
|
15921
|
+
"ArrowRight",
|
|
15922
|
+
"Space"
|
|
15923
|
+
];
|
|
15924
|
+
var Spot = external_exports.object({
|
|
15925
|
+
x: external_exports.number().min(0).max(1),
|
|
15926
|
+
y: external_exports.number().min(0).max(1)
|
|
15927
|
+
});
|
|
15844
15928
|
var Click = external_exports.object({
|
|
15845
15929
|
...actionBase,
|
|
15846
15930
|
kind: external_exports.literal("click"),
|
|
15931
|
+
/** Where in the target's box the click lands, as fractions of it (v14); absent: its centre. */
|
|
15932
|
+
at: Spot.optional(),
|
|
15847
15933
|
button: external_exports.enum(["left", "middle", "right"]).optional(),
|
|
15848
15934
|
/**
|
|
15849
15935
|
* The lines of text on screen when the click was measured, in the space
|
|
@@ -15919,9 +16005,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15919
16005
|
kind: external_exports.literal("waitFor"),
|
|
15920
16006
|
condition: external_exports.enum(["visible", "hidden", "loaded"]).optional()
|
|
15921
16007
|
});
|
|
15922
|
-
var
|
|
15923
|
-
|
|
15924
|
-
|
|
16008
|
+
var Press = external_exports.object({
|
|
16009
|
+
...actionBase,
|
|
16010
|
+
anchorId: external_exports.null(),
|
|
16011
|
+
kind: external_exports.literal("press"),
|
|
16012
|
+
key: external_exports.enum(PRESS_KEYS)
|
|
15925
16013
|
});
|
|
15926
16014
|
var Drag = external_exports.object({
|
|
15927
16015
|
...actionBase,
|
|
@@ -15946,7 +16034,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15946
16034
|
TypeAction,
|
|
15947
16035
|
ScrollTo,
|
|
15948
16036
|
WaitFor,
|
|
15949
|
-
Drag
|
|
16037
|
+
Drag,
|
|
16038
|
+
Press
|
|
15950
16039
|
]);
|
|
15951
16040
|
var MarkerSchema2 = external_exports.object({
|
|
15952
16041
|
actionId: external_exports.string().min(1),
|
|
@@ -15971,14 +16060,35 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15971
16060
|
scale: external_exports.number().positive().optional(),
|
|
15972
16061
|
/** Why the aim is not what the click asked for (`aimFallback`), or
|
|
15973
16062
|
* anything else the editor owes the author about this zoom. */
|
|
15974
|
-
note: external_exports.string().optional()
|
|
16063
|
+
note: external_exports.string().optional(),
|
|
16064
|
+
/**
|
|
16065
|
+
* Where this zoom came from: `click` was generated for a click, `author`
|
|
16066
|
+
* was written by the author (the Studio's addZoom, or a click zoom the
|
|
16067
|
+
* author moved; a script's `zoom` stays `click` with `scaleSetBy: "script"`). The record that
|
|
16068
|
+
* write-back reads; never inferred from the event's shape. Absent on every
|
|
16069
|
+
* take saved before v15 — those are not guessed.
|
|
16070
|
+
*/
|
|
16071
|
+
source: external_exports.enum(["click", "author"]).optional(),
|
|
16072
|
+
/**
|
|
16073
|
+
* Who chose `scale`: `script` set it explicitly, `author` is the studio's
|
|
16074
|
+
* own edit. The record that write-back reads, never inferred from the
|
|
16075
|
+
* scale's value. Absent when the scale was the default.
|
|
16076
|
+
*/
|
|
16077
|
+
scaleSetBy: external_exports.enum(["script", "author"]).optional()
|
|
15975
16078
|
});
|
|
15976
16079
|
var ZoomSkipped = external_exports.union([
|
|
15977
16080
|
external_exports.object({
|
|
15978
16081
|
actionId: external_exports.string().min(1),
|
|
15979
16082
|
reason: external_exports.enum(["tooClose", "sameTarget"]),
|
|
15980
16083
|
afterActionId: external_exports.string().min(1),
|
|
15981
|
-
gapMs: external_exports.number()
|
|
16084
|
+
gapMs: external_exports.number(),
|
|
16085
|
+
/** The scale the script asked for on this click, which the gap refused.
|
|
16086
|
+
* The record that write-back reads, never inferred. */
|
|
16087
|
+
askedScale: external_exports.number().optional()
|
|
16088
|
+
}),
|
|
16089
|
+
external_exports.object({
|
|
16090
|
+
actionId: external_exports.string().min(1),
|
|
16091
|
+
reason: external_exports.literal("off")
|
|
15982
16092
|
}),
|
|
15983
16093
|
external_exports.object({
|
|
15984
16094
|
actionId: external_exports.string().min(1),
|
|
@@ -16071,7 +16181,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16071
16181
|
* it came with the v10 bump all the same: a build from before would read
|
|
16072
16182
|
* `capture` without it and rebuild a phone take on the desktop.
|
|
16073
16183
|
*/
|
|
16074
|
-
device: CaptureDeviceSchema.optional()
|
|
16184
|
+
device: CaptureDeviceSchema.optional(),
|
|
16185
|
+
/**
|
|
16186
|
+
* The display scale the run filmed motion at: the scale screencast spans
|
|
16187
|
+
* follow, which `dpr` (the stills' scale) is not. Written by the run that
|
|
16188
|
+
* decided it (the CLI's browser session, at launch), so `keep` reads it
|
|
16189
|
+
* rather than guessing from the frames. Absent on takes filmed before it
|
|
16190
|
+
* and where the run could not know it (a visible window, whose scale is
|
|
16191
|
+
* the OS's). Widening with an optional field is backward compatible, as
|
|
16192
|
+
* `mode`'s was: `CURRENT_SCHEMA_VERSION` stays and no migration is owed.
|
|
16193
|
+
*/
|
|
16194
|
+
displayScale: external_exports.number().positive().optional()
|
|
16075
16195
|
}),
|
|
16076
16196
|
/**
|
|
16077
16197
|
* Which render this scene wants: `screen` serves the frames the take
|
|
@@ -16151,6 +16271,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16151
16271
|
aspect: "auto"
|
|
16152
16272
|
});
|
|
16153
16273
|
var BrandColorSchema = external_exports.string().regex(/^#[0-9a-f]{6}$/);
|
|
16274
|
+
var WallpaperBlurSchema = external_exports.number().min(0).max(1).optional();
|
|
16275
|
+
var DEFAULT_WALLPAPER_BLUR = 0;
|
|
16154
16276
|
var BackgroundSchema = external_exports.discriminatedUnion("kind", [
|
|
16155
16277
|
external_exports.object({ kind: external_exports.literal("solid"), color: BrandColorSchema }),
|
|
16156
16278
|
external_exports.object({
|
|
@@ -16159,6 +16281,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16159
16281
|
to: BrandColorSchema,
|
|
16160
16282
|
/** CSS convention: 0 = to top, 90 = to right, 180 = to bottom. */
|
|
16161
16283
|
angle: external_exports.number().int().min(0).max(359)
|
|
16284
|
+
}),
|
|
16285
|
+
// Not restricted to `WALLPAPERS`: a take naming an id a later build
|
|
16286
|
+
// removed still loads, and export says so. A script is checked against
|
|
16287
|
+
// the list in `DemoScriptSchema`.
|
|
16288
|
+
external_exports.object({
|
|
16289
|
+
kind: external_exports.literal("wallpaper"),
|
|
16290
|
+
id: external_exports.string().regex(/^[a-z0-9-]+$/),
|
|
16291
|
+
blur: WallpaperBlurSchema
|
|
16292
|
+
}),
|
|
16293
|
+
external_exports.object({
|
|
16294
|
+
kind: external_exports.literal("image"),
|
|
16295
|
+
ref: external_exports.string().min(1),
|
|
16296
|
+
blur: WallpaperBlurSchema
|
|
16162
16297
|
})
|
|
16163
16298
|
]);
|
|
16164
16299
|
var LOGO_CORNERS = [
|
|
@@ -16193,21 +16328,27 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16193
16328
|
angle: 150
|
|
16194
16329
|
});
|
|
16195
16330
|
var BRANDING_DEFAULTS = Object.freeze({
|
|
16196
|
-
background:
|
|
16331
|
+
background: Object.freeze({
|
|
16332
|
+
kind: "wallpaper",
|
|
16333
|
+
id: DEFAULT_WALLPAPER_ID,
|
|
16334
|
+
blur: DEFAULT_WALLPAPER_BLUR
|
|
16335
|
+
}),
|
|
16197
16336
|
logo: null,
|
|
16198
16337
|
/**
|
|
16199
|
-
*
|
|
16200
|
-
*
|
|
16201
|
-
*
|
|
16202
|
-
*
|
|
16203
|
-
*
|
|
16204
|
-
* `
|
|
16338
|
+
* 12%: the author's call on 2026-10-28, from a side-by-side with the
|
|
16339
|
+
* wallpapers, which want more of the frame to show. It was 8% from
|
|
16340
|
+
* 2026-10-05 (the margin of a polished recording, 8.4% measured), the
|
|
16341
|
+
* smallest padding that draws the default logo at full size; documents
|
|
16342
|
+
* migrated from v7 still get that 8% (`migrations.ts`), so nothing saved
|
|
16343
|
+
* changes. `placeLogo` keeps a mark 0.02 × short in from the edge and
|
|
16344
|
+
* clear of the recording, so a logo of size `s` fits only when the padding
|
|
16345
|
+
* is at least `s + 0.02`; `LOGO_DEFAULTS.size` is 0.06, well inside.
|
|
16205
16346
|
*
|
|
16206
16347
|
* Landscape exports used 15% until 2026-10-05 for zoom headroom: a
|
|
16207
16348
|
* smaller window leaves more source detail per output pixel. That trade
|
|
16208
16349
|
* is the author's now; `clampToSourceDetail` reports what it costs.
|
|
16209
16350
|
*/
|
|
16210
|
-
padding: 0.
|
|
16351
|
+
padding: 0.12
|
|
16211
16352
|
});
|
|
16212
16353
|
var LOGO_DEFAULTS = Object.freeze({
|
|
16213
16354
|
corner: "bottom-right",
|
|
@@ -16429,6 +16570,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16429
16570
|
var SCRIPT_VERSION_DEVICE = 4;
|
|
16430
16571
|
var SCRIPT_VERSION_ACCOUNT = 5;
|
|
16431
16572
|
var SCRIPT_VERSION_DRAG = 6;
|
|
16573
|
+
var SCRIPT_VERSION_PRESS = 7;
|
|
16574
|
+
var SCRIPT_VERSION_EDITS = 8;
|
|
16575
|
+
var ZOOM_MAX_SCALE = 2.5;
|
|
16432
16576
|
var ACCOUNT_NAME = /^[a-z0-9][a-z0-9_-]{0,63}$/;
|
|
16433
16577
|
var ACCOUNT_NAME_RULE = 'lower-case letters, digits, "-" and "_", starting with a letter or digit, at most 64 characters';
|
|
16434
16578
|
var ScriptTargetSchema = external_exports.union([
|
|
@@ -16446,10 +16590,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16446
16590
|
by: external_exports.object({ x: external_exports.number().finite(), y: external_exports.number().finite() }).strict()
|
|
16447
16591
|
}).strict()
|
|
16448
16592
|
]);
|
|
16593
|
+
var ZoomIntentSchema = external_exports.union([
|
|
16594
|
+
external_exports.literal(false),
|
|
16595
|
+
external_exports.object({
|
|
16596
|
+
scale: external_exports.number().gt(1, {
|
|
16597
|
+
message: "a zoom scale is over 1; use `zoom: false` for none"
|
|
16598
|
+
}).max(ZOOM_MAX_SCALE, {
|
|
16599
|
+
message: `a zoom scale is at most ${ZOOM_MAX_SCALE}, the camera's limit`
|
|
16600
|
+
})
|
|
16601
|
+
}).strict()
|
|
16602
|
+
]);
|
|
16449
16603
|
var ScriptStepSchema = external_exports.discriminatedUnion("do", [
|
|
16450
16604
|
external_exports.object({
|
|
16451
16605
|
do: external_exports.literal("click"),
|
|
16452
16606
|
on: ScriptTargetSchema,
|
|
16607
|
+
/** Where in the target's box to click (its centre if absent). */
|
|
16608
|
+
at: DragSpotSchema.optional(),
|
|
16609
|
+
zoom: ZoomIntentSchema.optional(),
|
|
16453
16610
|
/**
|
|
16454
16611
|
* The recorded action this step was derived from (`scriptFromTake` writes
|
|
16455
16612
|
* it). How the recording layer pairs a run's step with the author's —
|
|
@@ -16500,6 +16657,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16500
16657
|
do: external_exports.literal("drag"),
|
|
16501
16658
|
from: DragFromSchema,
|
|
16502
16659
|
to: DragToSchema,
|
|
16660
|
+
zoom: ZoomIntentSchema.optional(),
|
|
16661
|
+
recorded: RecordedSchema
|
|
16662
|
+
}).strict(),
|
|
16663
|
+
external_exports.object({
|
|
16664
|
+
do: external_exports.literal("press"),
|
|
16665
|
+
key: external_exports.enum(PRESS_KEYS),
|
|
16503
16666
|
recorded: RecordedSchema
|
|
16504
16667
|
}).strict(),
|
|
16505
16668
|
external_exports.object({ do: external_exports.literal("waitForLoad"), recorded: RecordedSchema }).strict(),
|
|
@@ -16512,21 +16675,56 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16512
16675
|
scrollTo: true,
|
|
16513
16676
|
waitFor: true,
|
|
16514
16677
|
drag: true,
|
|
16678
|
+
press: true,
|
|
16515
16679
|
waitForLoad: true,
|
|
16516
16680
|
pause: false
|
|
16517
16681
|
};
|
|
16682
|
+
var SHOWN_STEP = {
|
|
16683
|
+
click: true,
|
|
16684
|
+
type: true,
|
|
16685
|
+
hover: true,
|
|
16686
|
+
scrollTo: true,
|
|
16687
|
+
waitFor: false,
|
|
16688
|
+
drag: true,
|
|
16689
|
+
press: true,
|
|
16690
|
+
waitForLoad: false,
|
|
16691
|
+
pause: false
|
|
16692
|
+
};
|
|
16693
|
+
function trimStepIndex(script, side) {
|
|
16694
|
+
const step = script.trim?.[side]?.step;
|
|
16695
|
+
if (step !== void 0)
|
|
16696
|
+
return step - 1;
|
|
16697
|
+
const shown = script.steps.flatMap((s, i) => SHOWN_STEP[s.do] ? [i] : []);
|
|
16698
|
+
return (side === "start" ? shown[0] : shown.at(-1)) ?? null;
|
|
16699
|
+
}
|
|
16700
|
+
var ScriptTrimSchema = external_exports.object({
|
|
16701
|
+
start: external_exports.object({
|
|
16702
|
+
ms: external_exports.number().finite().nonnegative(),
|
|
16703
|
+
step: external_exports.number().int().positive().optional()
|
|
16704
|
+
}).strict().optional(),
|
|
16705
|
+
end: external_exports.object({
|
|
16706
|
+
ms: external_exports.number().finite().nonnegative(),
|
|
16707
|
+
step: external_exports.number().int().positive().optional(),
|
|
16708
|
+
after: external_exports.enum(["zoomOut", "action"]).optional()
|
|
16709
|
+
}).strict().optional()
|
|
16710
|
+
}).strict();
|
|
16518
16711
|
var ScriptBrandingSchema = BrandingSchema.extend({
|
|
16519
16712
|
padding: BrandingSchema.shape.padding.default(BRANDING_DEFAULTS.padding)
|
|
16520
16713
|
});
|
|
16714
|
+
var ScriptVersionSchema = external_exports.literal([
|
|
16715
|
+
SCRIPT_VERSION,
|
|
16716
|
+
SCRIPT_VERSION_KIT,
|
|
16717
|
+
SCRIPT_VERSION_MOTION,
|
|
16718
|
+
SCRIPT_VERSION_DEVICE,
|
|
16719
|
+
SCRIPT_VERSION_ACCOUNT,
|
|
16720
|
+
SCRIPT_VERSION_DRAG,
|
|
16721
|
+
SCRIPT_VERSION_PRESS,
|
|
16722
|
+
SCRIPT_VERSION_EDITS
|
|
16723
|
+
]);
|
|
16724
|
+
var laterVersion = (a, b) => b > a ? b : a;
|
|
16521
16725
|
var DemoScriptShape = external_exports.object({
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
SCRIPT_VERSION_KIT,
|
|
16525
|
-
SCRIPT_VERSION_MOTION,
|
|
16526
|
-
SCRIPT_VERSION_DEVICE,
|
|
16527
|
-
SCRIPT_VERSION_ACCOUNT,
|
|
16528
|
-
SCRIPT_VERSION_DRAG
|
|
16529
|
-
]),
|
|
16726
|
+
/** Optional: Demoman sets it (see `minimumScriptVersion`); a lower one is raised. */
|
|
16727
|
+
scriptVersion: ScriptVersionSchema.optional(),
|
|
16530
16728
|
name: external_exports.string().min(1),
|
|
16531
16729
|
target: external_exports.url(),
|
|
16532
16730
|
/** Absent means the run's own window size, recorded into the document. */
|
|
@@ -16543,6 +16741,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16543
16741
|
message: `an account name is ${ACCOUNT_NAME_RULE}`
|
|
16544
16742
|
}).optional(),
|
|
16545
16743
|
steps: external_exports.array(ScriptStepSchema).min(1),
|
|
16744
|
+
/** Cut the film's start and end (`ScriptTrimSchema`). Absent: the whole take. */
|
|
16745
|
+
trim: ScriptTrimSchema.optional(),
|
|
16546
16746
|
/**
|
|
16547
16747
|
* The take that steps' `recorded` ids refer to (`scriptFromTake` writes it).
|
|
16548
16748
|
* Absent on a script nobody derived from a recording.
|
|
@@ -16577,51 +16777,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16577
16777
|
}).optional()
|
|
16578
16778
|
});
|
|
16579
16779
|
var DemoScriptSchema = DemoScriptShape.superRefine((script, ctx) => {
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
code: "custom",
|
|
16583
|
-
message: `a script that names look.kit declares scriptVersion ${SCRIPT_VERSION_KIT}: a build from before brand kits would drop the kit and record the default look`,
|
|
16584
|
-
path: ["scriptVersion"]
|
|
16585
|
-
});
|
|
16586
|
-
}
|
|
16587
|
-
if (script.look?.motion !== void 0 && script.scriptVersion < SCRIPT_VERSION_MOTION) {
|
|
16588
|
-
ctx.addIssue({
|
|
16589
|
-
code: "custom",
|
|
16590
|
-
message: `a script that names look.motion declares scriptVersion ${SCRIPT_VERSION_MOTION}: a build from before camera motion settings would drop them and record the default camera`,
|
|
16591
|
-
path: ["scriptVersion"]
|
|
16592
|
-
});
|
|
16593
|
-
}
|
|
16594
|
-
if (cursorPolishNamed(script.look?.cursor) && script.scriptVersion < SCRIPT_VERSION_MOTION) {
|
|
16595
|
-
ctx.addIssue({
|
|
16596
|
-
code: "custom",
|
|
16597
|
-
message: `a script that names look.cursor.tilt or look.cursor.clickBounce declares scriptVersion ${SCRIPT_VERSION_MOTION}: a build from before them would drop them and draw the default lean and press`,
|
|
16598
|
-
path: ["scriptVersion"]
|
|
16599
|
-
});
|
|
16600
|
-
}
|
|
16601
|
-
if (script.device !== void 0 && script.scriptVersion < SCRIPT_VERSION_DEVICE) {
|
|
16780
|
+
const bg = script.look?.branding?.background;
|
|
16781
|
+
if (bg?.kind === "wallpaper" && !WALLPAPERS.some((w) => w.id === bg.id)) {
|
|
16602
16782
|
ctx.addIssue({
|
|
16603
16783
|
code: "custom",
|
|
16604
|
-
message: `
|
|
16605
|
-
path: ["
|
|
16606
|
-
});
|
|
16607
|
-
}
|
|
16608
|
-
if (script.account !== void 0 && script.scriptVersion < SCRIPT_VERSION_ACCOUNT) {
|
|
16609
|
-
ctx.addIssue({
|
|
16610
|
-
code: "custom",
|
|
16611
|
-
message: `a script that names account declares scriptVersion ${SCRIPT_VERSION_ACCOUNT}: a build from before accounts would drop it and record as whoever is signed in`,
|
|
16612
|
-
path: ["scriptVersion"]
|
|
16784
|
+
message: `unknown wallpaper "${bg.id}" \u2014 one of ${WALLPAPERS.map((w) => w.id).join(", ")}`,
|
|
16785
|
+
path: ["look", "branding", "background", "id"]
|
|
16613
16786
|
});
|
|
16614
16787
|
}
|
|
16615
16788
|
script.steps.forEach((step, index) => {
|
|
16616
16789
|
if (step.do !== "drag")
|
|
16617
16790
|
return;
|
|
16618
|
-
if (script.scriptVersion < SCRIPT_VERSION_DRAG) {
|
|
16619
|
-
ctx.addIssue({
|
|
16620
|
-
code: "custom",
|
|
16621
|
-
message: `a script that uses drag declares scriptVersion ${SCRIPT_VERSION_DRAG}: a build from before drag would refuse the step`,
|
|
16622
|
-
path: ["scriptVersion"]
|
|
16623
|
-
});
|
|
16624
|
-
}
|
|
16625
16791
|
const nowhere = "by" in step.to ? step.to.by.x === 0 && step.to.by.y === 0 : JSON.stringify(step.to.on) === JSON.stringify(step.from.on) && (step.to.at?.x ?? 0.5) === (step.from.at?.x ?? 0.5) && (step.to.at?.y ?? 0.5) === (step.from.at?.y ?? 0.5);
|
|
16626
16792
|
if (nowhere) {
|
|
16627
16793
|
ctx.addIssue({
|
|
@@ -16658,6 +16824,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16658
16824
|
});
|
|
16659
16825
|
});
|
|
16660
16826
|
}
|
|
16827
|
+
if (script.trim)
|
|
16828
|
+
trimIssues(script, ctx);
|
|
16661
16829
|
if (script.steps.some((step) => ACTS_ON_THE_PAGE[step.do]))
|
|
16662
16830
|
return;
|
|
16663
16831
|
ctx.addIssue({
|
|
@@ -16665,7 +16833,56 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16665
16833
|
message: "a script needs at least one step that acts on the page; every step here is a pause, which is a duration and performs nothing, so this script can never produce a take",
|
|
16666
16834
|
path: ["steps"]
|
|
16667
16835
|
});
|
|
16668
|
-
})
|
|
16836
|
+
}).transform((script) => ({
|
|
16837
|
+
...script,
|
|
16838
|
+
scriptVersion: laterVersion(script.scriptVersion ?? SCRIPT_VERSION, minimumScriptVersion(script))
|
|
16839
|
+
}));
|
|
16840
|
+
function trimIssues(script, ctx) {
|
|
16841
|
+
const { steps, trim = {} } = script;
|
|
16842
|
+
let bad = false;
|
|
16843
|
+
for (const edge of ["start", "end"]) {
|
|
16844
|
+
const step = trim[edge]?.step;
|
|
16845
|
+
if (step === void 0)
|
|
16846
|
+
continue;
|
|
16847
|
+
const why = step > steps.length ? `trim.${edge}.step is ${step}, but the script has ${steps.length} steps` : steps[step - 1]?.do === "pause" ? `trim.${edge}.step is ${step}, a pause: name a step that does something` : void 0;
|
|
16848
|
+
if (!why)
|
|
16849
|
+
continue;
|
|
16850
|
+
bad = true;
|
|
16851
|
+
ctx.addIssue({
|
|
16852
|
+
code: "custom",
|
|
16853
|
+
message: why,
|
|
16854
|
+
path: ["trim", edge, "step"]
|
|
16855
|
+
});
|
|
16856
|
+
}
|
|
16857
|
+
const start = trimStepIndex(script, "start");
|
|
16858
|
+
const end = trimStepIndex(script, "end");
|
|
16859
|
+
if (!bad && start !== null && end !== null && start > end) {
|
|
16860
|
+
ctx.addIssue({
|
|
16861
|
+
code: "custom",
|
|
16862
|
+
message: `trim starts at step ${start + 1}, after the step it ends at (${end + 1}): the film would be empty`,
|
|
16863
|
+
path: ["trim", "start", "step"]
|
|
16864
|
+
});
|
|
16865
|
+
}
|
|
16866
|
+
}
|
|
16867
|
+
function minimumScriptVersion(script) {
|
|
16868
|
+
const rules = [
|
|
16869
|
+
[script.look?.kit !== void 0, SCRIPT_VERSION_KIT],
|
|
16870
|
+
[script.look?.motion !== void 0, SCRIPT_VERSION_MOTION],
|
|
16871
|
+
[cursorPolishNamed(script.look?.cursor), SCRIPT_VERSION_MOTION],
|
|
16872
|
+
[script.device !== void 0, SCRIPT_VERSION_DEVICE],
|
|
16873
|
+
[script.account !== void 0, SCRIPT_VERSION_ACCOUNT],
|
|
16874
|
+
[script.steps.some((step) => step.do === "drag"), SCRIPT_VERSION_DRAG],
|
|
16875
|
+
[
|
|
16876
|
+
script.trim !== void 0 || script.steps.some((step) => (step.do === "click" || step.do === "drag") && step.zoom !== void 0),
|
|
16877
|
+
SCRIPT_VERSION_EDITS
|
|
16878
|
+
],
|
|
16879
|
+
[
|
|
16880
|
+
script.steps.some((step) => step.do === "press" || step.do === "click" && step.at),
|
|
16881
|
+
SCRIPT_VERSION_PRESS
|
|
16882
|
+
]
|
|
16883
|
+
];
|
|
16884
|
+
return rules.filter(([on]) => on).map(([, v]) => v).reduce(laterVersion, SCRIPT_VERSION);
|
|
16885
|
+
}
|
|
16669
16886
|
function cursorPolishNamed(cursor) {
|
|
16670
16887
|
return cursor?.tilt !== void 0 || cursor?.clickBounce !== void 0;
|
|
16671
16888
|
}
|
|
@@ -16770,6 +16987,49 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16770
16987
|
}
|
|
16771
16988
|
};
|
|
16772
16989
|
|
|
16990
|
+
// ../../packages/compositor/dist/render/draw-cursor.js
|
|
16991
|
+
var CURSOR_UPRIGHT = Object.freeze({
|
|
16992
|
+
press: 1,
|
|
16993
|
+
angleRad: 0
|
|
16994
|
+
});
|
|
16995
|
+
var ARROW = [
|
|
16996
|
+
{ x: 0, y: 0 },
|
|
16997
|
+
{ x: 0, y: 0.75 },
|
|
16998
|
+
{ x: 0.19, y: 0.58 },
|
|
16999
|
+
{ x: 0.31, y: 0.87 },
|
|
17000
|
+
{ x: 0.45, y: 0.81 },
|
|
17001
|
+
{ x: 0.33, y: 0.53 },
|
|
17002
|
+
{ x: 0.56, y: 0.52 }
|
|
17003
|
+
];
|
|
17004
|
+
var TOUCH_RADIUS = 0.42;
|
|
17005
|
+
var CURSOR_ART = {
|
|
17006
|
+
light: { height: 40, hotspot: { x: 0, y: 0 }, ink: bounds(ARROW) },
|
|
17007
|
+
dark: { height: 40, hotspot: { x: 0, y: 0 }, ink: bounds(ARROW) },
|
|
17008
|
+
touch: {
|
|
17009
|
+
height: 40,
|
|
17010
|
+
hotspot: { x: 0.5, y: 0.5 },
|
|
17011
|
+
ink: {
|
|
17012
|
+
min: { x: 0.5 - TOUCH_RADIUS, y: 0.5 - TOUCH_RADIUS },
|
|
17013
|
+
max: { x: 0.5 + TOUCH_RADIUS, y: 0.5 + TOUCH_RADIUS }
|
|
17014
|
+
}
|
|
17015
|
+
}
|
|
17016
|
+
};
|
|
17017
|
+
function bounds(points) {
|
|
17018
|
+
const xs = points.map((p) => p.x);
|
|
17019
|
+
const ys = points.map((p) => p.y);
|
|
17020
|
+
return {
|
|
17021
|
+
min: { x: Math.min(...xs), y: Math.min(...ys) },
|
|
17022
|
+
max: { x: Math.max(...xs), y: Math.max(...ys) }
|
|
17023
|
+
};
|
|
17024
|
+
}
|
|
17025
|
+
|
|
17026
|
+
// ../../packages/compositor/dist/render/cursor-pose.js
|
|
17027
|
+
var TILT_MAX_RAD = 15 * Math.PI / 180;
|
|
17028
|
+
var TILT_VELOCITY_MS = 16;
|
|
17029
|
+
var TILT_TAPS = 8;
|
|
17030
|
+
var TILT_TAP_MS = 20;
|
|
17031
|
+
var TILT_SETTLE_MS = TILT_VELOCITY_MS + (TILT_TAPS - 1) * TILT_TAP_MS;
|
|
17032
|
+
|
|
16773
17033
|
// ../../node_modules/.pnpm/mediabunny@1.55.2/node_modules/mediabunny/dist/modules/src/misc.js
|
|
16774
17034
|
function assert2(x) {
|
|
16775
17035
|
if (!x) {
|
|
@@ -26482,6 +26742,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26482
26742
|
|
|
26483
26743
|
// ../../packages/compositor/dist/ports/sink-mp4.js
|
|
26484
26744
|
var ENCODER_USED_GLOBAL = "__demomanMp4Encoder";
|
|
26745
|
+
var SINK_TIMES_GLOBAL = "__demomanMp4SinkTimes";
|
|
26746
|
+
var sinkTimes = () => globalThis[SINK_TIMES_GLOBAL];
|
|
26485
26747
|
function createMp4Sink(target) {
|
|
26486
26748
|
const output2 = new Output({
|
|
26487
26749
|
format: new Mp4OutputFormat(),
|
|
@@ -26519,13 +26781,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26519
26781
|
throw new Error("sink already finish()ed; cannot accept more frames");
|
|
26520
26782
|
started ??= output2.start();
|
|
26521
26783
|
await started;
|
|
26784
|
+
const times = sinkTimes();
|
|
26785
|
+
const t0 = performance.now();
|
|
26522
26786
|
const sample = new VideoSample(canvas, {
|
|
26523
26787
|
timestamp: timestampSec,
|
|
26524
26788
|
duration: durationSec
|
|
26525
26789
|
});
|
|
26790
|
+
const t1 = performance.now();
|
|
26526
26791
|
await source.add(sample);
|
|
26527
26792
|
sample.close();
|
|
26528
26793
|
frames += 1;
|
|
26794
|
+
if (times !== void 0) {
|
|
26795
|
+
times.copyMs += t1 - t0;
|
|
26796
|
+
times.encodeMs += performance.now() - t1;
|
|
26797
|
+
times.frames += 1;
|
|
26798
|
+
}
|
|
26529
26799
|
},
|
|
26530
26800
|
// Bytes or a reason, never an empty array: a 0-byte file stored as a
|
|
26531
26801
|
// successful output is a Download button that does nothing, and the
|
|
@@ -26538,7 +26808,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26538
26808
|
}
|
|
26539
26809
|
started ??= output2.start();
|
|
26540
26810
|
await started;
|
|
26811
|
+
const t = performance.now();
|
|
26541
26812
|
await output2.finalize();
|
|
26813
|
+
const times = sinkTimes();
|
|
26814
|
+
if (times !== void 0)
|
|
26815
|
+
times.finishMs += performance.now() - t;
|
|
26542
26816
|
const buffer = output2.target.buffer;
|
|
26543
26817
|
if (!buffer) {
|
|
26544
26818
|
throw new Error(`mp4 muxer produced no bytes after ${frames} frame${frames === 1 ? "" : "s"}`);
|
|
@@ -26548,50 +26822,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26548
26822
|
};
|
|
26549
26823
|
}
|
|
26550
26824
|
|
|
26551
|
-
// ../../packages/compositor/dist/render/draw-cursor.js
|
|
26552
|
-
var CURSOR_UPRIGHT = Object.freeze({
|
|
26553
|
-
press: 1,
|
|
26554
|
-
angleRad: 0
|
|
26555
|
-
});
|
|
26556
|
-
var ARROW = [
|
|
26557
|
-
{ x: 0, y: 0 },
|
|
26558
|
-
{ x: 0, y: 0.75 },
|
|
26559
|
-
{ x: 0.19, y: 0.58 },
|
|
26560
|
-
{ x: 0.31, y: 0.87 },
|
|
26561
|
-
{ x: 0.45, y: 0.81 },
|
|
26562
|
-
{ x: 0.33, y: 0.53 },
|
|
26563
|
-
{ x: 0.56, y: 0.52 }
|
|
26564
|
-
];
|
|
26565
|
-
var TOUCH_RADIUS = 0.42;
|
|
26566
|
-
var CURSOR_ART = {
|
|
26567
|
-
light: { height: 40, hotspot: { x: 0, y: 0 }, ink: bounds(ARROW) },
|
|
26568
|
-
dark: { height: 40, hotspot: { x: 0, y: 0 }, ink: bounds(ARROW) },
|
|
26569
|
-
touch: {
|
|
26570
|
-
height: 40,
|
|
26571
|
-
hotspot: { x: 0.5, y: 0.5 },
|
|
26572
|
-
ink: {
|
|
26573
|
-
min: { x: 0.5 - TOUCH_RADIUS, y: 0.5 - TOUCH_RADIUS },
|
|
26574
|
-
max: { x: 0.5 + TOUCH_RADIUS, y: 0.5 + TOUCH_RADIUS }
|
|
26575
|
-
}
|
|
26576
|
-
}
|
|
26577
|
-
};
|
|
26578
|
-
function bounds(points) {
|
|
26579
|
-
const xs = points.map((p) => p.x);
|
|
26580
|
-
const ys = points.map((p) => p.y);
|
|
26581
|
-
return {
|
|
26582
|
-
min: { x: Math.min(...xs), y: Math.min(...ys) },
|
|
26583
|
-
max: { x: Math.max(...xs), y: Math.max(...ys) }
|
|
26584
|
-
};
|
|
26585
|
-
}
|
|
26586
|
-
|
|
26587
|
-
// ../../packages/compositor/dist/render/cursor-pose.js
|
|
26588
|
-
var TILT_MAX_RAD = 15 * Math.PI / 180;
|
|
26589
|
-
var TILT_VELOCITY_MS = 16;
|
|
26590
|
-
var TILT_TAPS = 8;
|
|
26591
|
-
var TILT_TAP_MS = 20;
|
|
26592
|
-
var TILT_SETTLE_MS = TILT_VELOCITY_MS + (TILT_TAPS - 1) * TILT_TAP_MS;
|
|
26593
|
-
|
|
26594
26825
|
// ../../packages/compositor/dist/render/target.js
|
|
26826
|
+
var LANDSCAPE_4K = {
|
|
26827
|
+
format: "mp4",
|
|
26828
|
+
width: 3840,
|
|
26829
|
+
height: 2160,
|
|
26830
|
+
fps: 60,
|
|
26831
|
+
bitrate: 4e7,
|
|
26832
|
+
cornerRadius: 36,
|
|
26833
|
+
fit: "contain"
|
|
26834
|
+
};
|
|
26595
26835
|
var LANDSCAPE_1440P = {
|
|
26596
26836
|
format: "mp4",
|
|
26597
26837
|
width: 2560,
|
|
@@ -26619,6 +26859,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
26619
26859
|
bitrate: HIGH_LANDSCAPE.bitrate
|
|
26620
26860
|
};
|
|
26621
26861
|
|
|
26862
|
+
// ../../packages/compositor/dist/render/wallpaper.js
|
|
26863
|
+
var WALLPAPER_LONG_SIDE = LANDSCAPE_4K.width * CAMERA_DEFAULTS.maxScale;
|
|
26864
|
+
var WALLPAPER_SHORT_SIDE = WALLPAPER_LONG_SIDE * 3 / 4;
|
|
26865
|
+
|
|
26622
26866
|
// dist/entry-globals.js
|
|
26623
26867
|
var MUX_ENTRY_GLOBAL = "__demomanMux";
|
|
26624
26868
|
|