hyperframes 0.8.189 → 0.8.190
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/{add-TIKUM2YX.js → add-DBKN5H7H.js} +11 -11
- package/dist/{animatedGifPrep-25X4G5IE.js → animatedGifPrep-YVBKKLQY.js} +5 -5
- package/dist/api.js +13 -13
- package/dist/{asset-TPKLIP4R.js → asset-2OHQKUMQ.js} +2 -2
- package/dist/{assetCataloger-PQAIV3FI.js → assetCataloger-O3QAUWIK.js} +5 -5
- package/dist/{audio-6RLPKB5X.js → audio-IR3JGCMM.js} +11 -11
- package/dist/{auth-O7QSTP6Y.js → auth-J6TAJLGD.js} +1 -1
- package/dist/{autoUpdate-TIEJODP7.js → autoUpdate-D7BJJUT2.js} +2 -2
- package/dist/{backgroundChecks-K2AXYDYG.js → backgroundChecks-AILHY2YZ.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ORVWYJAH.js → batchRender-QZKFVWEI.js} +3 -3
- package/dist/{beats-2VTB2ATR.js → beats-6LOEKZPB.js} +4 -4
- package/dist/{benchmark-NLNBL6YR.js → benchmark-RJMHI3YW.js} +8 -8
- package/dist/{browser-M5UV6VJB.js → browser-Q3Q36FE3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-EDD2XDS2.js → bundleWithLocalizedFonts-RWHFMSFL.js} +2 -2
- package/dist/{capture-JSYVNFKO.js → capture-2PNTGVYV.js} +8 -8
- package/dist/{capture-WHWEE5FE.js → capture-FO3ZZCT4.js} +2 -2
- package/dist/{captureCompositionFrame-JANGQCIA.js → captureCompositionFrame-WTMLWVEJ.js} +10 -10
- package/dist/{catalog-MPOOKNSZ.js → catalog-LUZYPUYT.js} +11 -11
- package/dist/{catch-up-6KZV3UMZ.js → catch-up-TUTLUTFP.js} +4 -4
- package/dist/{check-G273NWK7.js → check-K2TBTJZS.js} +32 -32
- package/dist/{checkBrowser-G53E2ZQI.js → checkBrowser-JT7CXDT6.js} +27 -27
- package/dist/{chunk-74Y43RJZ.js → chunk-2FFOLLU2.js} +3 -3
- package/dist/{chunk-QYQ2EYOI.js → chunk-3QLT727N.js} +3 -3
- package/dist/{chunk-GBT7P3OQ.js → chunk-45U3KY7Z.js} +4 -4
- package/dist/{chunk-AYBKDHYD.js → chunk-56IDMP37.js} +1 -1
- package/dist/{chunk-WYCFMNU3.js → chunk-56IOFIYB.js} +1 -1
- package/dist/{chunk-WMJJCHVQ.js → chunk-6HYHHMX3.js} +2 -2
- package/dist/{chunk-NSJ5HD6A.js → chunk-76ITJYXX.js} +5 -5
- package/dist/{chunk-4DZ3HBKF.js → chunk-7JHTNUF2.js} +1 -1
- package/dist/{chunk-XJVXROOL.js → chunk-A5YHWTSP.js} +2 -2
- package/dist/{chunk-5HJJEHGE.js → chunk-AYFF3GX6.js} +1 -1
- package/dist/{chunk-4QFKGRTB.js → chunk-B7JFAXDP.js} +2 -2
- package/dist/{chunk-BZQLTNMB.js → chunk-BT64TTSE.js} +1 -1
- package/dist/{chunk-3X6LH25W.js → chunk-BWPY64WA.js} +1 -1
- package/dist/{chunk-565X6Q4X.js → chunk-CWVSJA52.js} +16 -8
- package/dist/{chunk-F45HHA3M.js → chunk-CWYS2UNQ.js} +1 -1
- package/dist/chunk-DIV37NUE.js +3896 -0
- package/dist/{chunk-FJF5JBYU.js → chunk-DRTIIAIZ.js} +1 -1
- package/dist/{chunk-KS4HMJJD.js → chunk-DX7VEUBO.js} +1 -1
- package/dist/{chunk-CTF7BYCV.js → chunk-E7DXKMKU.js} +2 -2
- package/dist/{chunk-AQ3L7DVB.js → chunk-EPOYPP36.js} +2 -2
- package/dist/{chunk-44TJOEH5.js → chunk-EQF6TVWB.js} +16 -16
- package/dist/{chunk-TREMHDWT.js → chunk-EU5HTY3E.js} +9 -9
- package/dist/{chunk-R5FS7GFU.js → chunk-EUUHVDMN.js} +1 -1
- package/dist/{chunk-ASZ4IQB4.js → chunk-F6DNM676.js} +2 -2
- package/dist/{chunk-TPTQHOXU.js → chunk-FANFO5HI.js} +9 -9
- package/dist/{chunk-M6FHSQZ3.js → chunk-FUHI34T4.js} +3 -3
- package/dist/{chunk-HQIFMCQN.js → chunk-FVD44EQX.js} +42 -26
- package/dist/{chunk-HNMDLKA4.js → chunk-GGVGOY6M.js} +1 -1
- package/dist/{chunk-CSYSEPWL.js → chunk-HJZ5CPZA.js} +5 -5
- package/dist/{chunk-3OLOVRWS.js → chunk-IARWN467.js} +1 -1
- package/dist/{chunk-IFXOMIBP.js → chunk-JB7LML5B.js} +3 -3
- package/dist/{chunk-GWYMAII7.js → chunk-JLSXXMRU.js} +1 -1
- package/dist/{chunk-E676Y7AY.js → chunk-K4664CDS.js} +27 -13
- package/dist/{chunk-B52BJM5K.js → chunk-KNQQZRB2.js} +2 -2
- package/dist/{chunk-KLWUB37U.js → chunk-KUMUK6QS.js} +7 -7
- package/dist/{chunk-ZPMF6GAQ.js → chunk-L34DPWY4.js} +11 -7
- package/dist/{chunk-HXM2ISEK.js → chunk-OAPYPSEB.js} +239 -204
- package/dist/{chunk-IPEP346Y.js → chunk-OOAVKK2W.js} +1 -1
- package/dist/{chunk-37EPEFXM.js → chunk-OTQXYTQZ.js} +1 -1
- package/dist/{chunk-JZDVIDFH.js → chunk-R4QASDTN.js} +2 -2
- package/dist/{chunk-TFUAKV6O.js → chunk-RBGNU7VD.js} +1 -1
- package/dist/{chunk-2CYM34M7.js → chunk-RDHEG7RX.js} +2 -2
- package/dist/{chunk-JIPUWKLA.js → chunk-S2IEO6TH.js} +11 -11
- package/dist/{chunk-6RA4TWGV.js → chunk-S7C6EM7N.js} +1 -1
- package/dist/{chunk-OHXHBMF4.js → chunk-STJ2ANMF.js} +1 -1
- package/dist/{chunk-VRQU564T.js → chunk-SUSSMCWL.js} +1 -1
- package/dist/{chunk-SMF6YAUL.js → chunk-TSQAPPRS.js} +1 -1
- package/dist/{chunk-T37XXYRK.js → chunk-TTZTGXKG.js} +1 -1
- package/dist/{chunk-Z2BW2WJS.js → chunk-UZ7RJDEC.js} +1 -1
- package/dist/{chunk-QMFI4N7J.js → chunk-WBUO6WH6.js} +1 -1
- package/dist/{chunk-5544QB3U.js → chunk-WCT6KGGT.js} +1 -1
- package/dist/{chunk-ANYBRVPF.js → chunk-WLG4OYH7.js} +1 -1
- package/dist/{chunk-B634ZCY2.js → chunk-XBGEWNGQ.js} +1 -1
- package/dist/{chunk-HUG47UEE.js → chunk-XNLYMHX2.js} +1 -1
- package/dist/{chunk-NDBWI7OA.js → chunk-Y5L5I4US.js} +5 -5
- package/dist/{chunk-E7TI5PAQ.js → chunk-YT5VLUHM.js} +1 -1
- package/dist/{chunk-SGFMCNLY.js → chunk-ZFFKWHXN.js} +1 -1
- package/dist/{clean-PS4VYGQ6.js → clean-UVTWBPXK.js} +13 -13
- package/dist/cli.js +53 -53
- package/dist/{cloud-E47CE5VQ.js → cloud-M42IPKFD.js} +4 -4
- package/dist/{cloudrun-3J4SQBXE.js → cloudrun-CTNX64R6.js} +4 -4
- package/dist/{compare-EAKHXBDO.js → compare-MQI7TG5M.js} +24 -24
- package/dist/{compiler-23MT6CX6.js → compiler-EJE3HLCS.js} +2 -2
- package/dist/{component-QBOXYJJS.js → component-QSYOSFVV.js} +3 -3
- package/dist/{compositions-QC3EO3MJ.js → compositions-ITDFE7K4.js} +9 -9
- package/dist/{delete-TXEOLPC6.js → delete-NTGTENKJ.js} +2 -2
- package/dist/{deploy-3B3WJ6PM.js → deploy-AOJOXEYX.js} +1 -1
- package/dist/{dist-F4UJFK4S.js → dist-NHW2JQCA.js} +2 -2
- package/dist/{doctor-2CRFH4B3.js → doctor-Q6DAYVSQ.js} +9 -9
- package/dist/{events-KVTX3QFV.js → events-BQIBYPCF.js} +2 -2
- package/dist/{events-GUIOSBIB.js → events-PV3CDO4A.js} +3 -3
- package/dist/{feedback-VQIOSTIB.js → feedback-BZH26JQE.js} +6 -6
- package/dist/{ffmpeg-BPCZGXFW.js → ffmpeg-KU7RNT3U.js} +5 -5
- package/dist/{figma-QIOKCH26.js → figma-PBGZUEIL.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-TU45SNXF.js → get-MM2JZ5ET.js} +2 -2
- package/dist/{gpuPolicy-AWAJBGYY.js → gpuPolicy-DQE2CD5T.js} +5 -5
- package/dist/{grade-compare-LDNUXX3Q.js → grade-compare-YTDQ7YXW.js} +25 -25
- package/dist/{help-YUCHJKKL.js → help-M4B2DN7E.js} +1 -1
- package/dist/{history-MMHFUMIG.js → history-ZW4UYKAJ.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-HBHOFSC2.js → info-L7LQAXLK.js} +7 -7
- package/dist/{init-3E4GUXIZ.js → init-HTSQ535A.js} +25 -25
- package/dist/{inspect-YNUPJVIH.js → inspect-EWF2THRR.js} +25 -25
- package/dist/{installer-WLCRP33K.js → installer-PQKH2S7C.js} +4 -4
- package/dist/{keyframes-Z47GHCGO.js → keyframes-X2QKJ4DP.js} +6 -6
- package/dist/{lambda-CA4PEUO2.js → lambda-BURM66GP.js} +6 -6
- package/dist/{layout-YPV6PIKF.js → layout-3Z3SJGZZ.js} +25 -25
- package/dist/{lint-3AVVQ74A.js → lint-OMNZ2K5J.js} +6 -6
- package/dist/{list-JH52Y735.js → list-5ZSQEH6N.js} +2 -2
- package/dist/{login-G7NPJUAW.js → login-YNCQPHLA.js} +4 -4
- package/dist/{manager-2LSMMZY4.js → manager-N6XXRQN3.js} +6 -6
- package/dist/{media-treatment-BVMMD5EN.js → media-treatment-EOKBRJPY.js} +11 -11
- package/dist/{models-P3TNRVRV.js → models-6T4CCKUV.js} +9 -9
- package/dist/{motionShot-LK62QHNE.js → motionShot-KXKMYZ3A.js} +13 -13
- package/dist/{normalize-audio-Y7BAQ7AR.js → normalize-audio-VWB7RHHA.js} +4 -4
- package/dist/{open-CCFFLAT7.js → open-32SQCNUP.js} +11 -11
- package/dist/{parakeetRunner-N2BWSOSD.js → parakeetRunner-BXW2WX6Q.js} +10 -10
- package/dist/{pipeline-3VT2DQGU.js → pipeline-V5ONFRCY.js} +6 -6
- package/dist/{play-G4I5IFHO.js → play-BBL262JE.js} +16 -16
- package/dist/{preflight-2KU2QLCZ.js → preflight-LCNGQFNY.js} +6 -6
- package/dist/{present-EJ7XHGQO.js → present-RY4HO4ZQ.js} +12 -12
- package/dist/{preview-O23BYFAY.js → preview-BLLPCCLG.js} +16 -16
- package/dist/{producer-UJQVLKLP.js → producer-QG4AQ35S.js} +1 -1
- package/dist/{projectConfig-QFVIBT37.js → projectConfig-LN3NR5OM.js} +6 -6
- package/dist/{publication-4UYGFB2X.js → publication-TXMCS4KM.js} +2 -2
- package/dist/{publish-MHLVJLCR.js → publish-57VURD7Z.js} +7 -7
- package/dist/{remove-background-N7AHTZWP.js → remove-background-VEWVIO3A.js} +7 -7
- package/dist/{render-CDATEVDJ.js → render-4E7QDVOI.js} +12 -12
- package/dist/{render-6HQV4LZJ.js → render-SP7WAUB4.js} +5 -5
- package/dist/{render-EI2ODKOP.js → render-XMN3NJIQ.js} +26 -26
- package/dist/{render-batch-F7HMC7XH.js → render-batch-7ULP5RIJ.js} +5 -5
- package/dist/{resolver-63DB5JCY.js → resolver-D3XERO6U.js} +4 -4
- package/dist/{sherpa-AK3MTPL3.js → sherpa-5B5G426W.js} +9 -9
- package/dist/skills/hyperframes/references/motion.md +1 -1
- package/dist/{skills-EVIDL7PV.js → skills-RXHRF7O7.js} +5 -5
- package/dist/{skillsUpdateCheck-YCNJYDJO.js → skillsUpdateCheck-JOTDZJAE.js} +3 -3
- package/dist/{snapshot-WSYZKR3C.js → snapshot-DN4MP4VN.js} +29 -29
- package/dist/{src-KTD6WTEV.js → src-W6Y5ZYRQ.js} +6 -6
- package/dist/{src-YNXBU4ZQ.js → src-XSDYRKLG.js} +4 -4
- package/dist/{staticProjectServer-D2D3BKBP.js → staticProjectServer-JMFGTPMX.js} +13 -13
- package/dist/studio/assets/{hyperframes-player-CkK8Zijf.js → hyperframes-player-0HXJPmYC.js} +1 -1
- package/dist/studio/assets/{index-CESvLzz0.css → index-B3vk3hfU.css} +1 -1
- package/dist/studio/assets/{index-B2JcCaRF.js → index-BYw97F07.js} +127 -127
- package/dist/studio/assets/{index-ATnRoBug.js → index-DsSfhjUS.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-3ZGQPE5J.js → studio-api-SZ4OMFPN.js} +6 -6
- package/dist/{studioServer-VWM4J7ZP.js → studioServer-LWO33H7D.js} +42 -42
- package/dist/{telemetry-BEVI64BB.js → telemetry-K3AFDKOP.js} +3 -3
- package/dist/{timeline-P57FUXJQ.js → timeline-NYQOAQDH.js} +14 -14
- package/dist/{tokens-OUQY6LPD.js → tokens-K7YWUVOK.js} +2 -2
- package/dist/{transcribe-CK66VIU4.js → transcribe-ANPUQDZD.js} +8 -8
- package/dist/{transcribe-QUPX67KC.js → transcribe-QAUMODXM.js} +14 -14
- package/dist/{updateCheck-XZ43CH3L.js → updateCheck-RNR4HMDI.js} +2 -2
- package/dist/{upgrade-7QQNGI7I.js → upgrade-MKUGZZPA.js} +2 -2
- package/dist/{urlDownloader-ESAEL6YX.js → urlDownloader-5USPXLCS.js} +4 -4
- package/dist/{validate-5GZ6KFRU.js → validate-OJHPDLC5.js} +19 -19
- package/dist/{video-AQNVR6PE.js → video-BCKRR6LU.js} +5 -5
- package/dist/warmCheck.js +32 -32
- package/package.json +1 -1
- package/dist/chunk-BPX7LZG6.js +0 -3896
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FANFO5HI.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S2IEO6TH.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HJZ5CPZA.js";
|
|
19
19
|
import {
|
|
20
20
|
artifactDirectory,
|
|
21
21
|
finishSnapshotRun
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
proxyVariantFor,
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BT64TTSE.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIT_SEEK_OPTIONS,
|
|
33
33
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
seekCompositionTimeline,
|
|
42
42
|
seekInPage,
|
|
43
43
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EU5HTY3E.js";
|
|
45
45
|
import {
|
|
46
46
|
BrowserCleanupError,
|
|
47
47
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GGVGOY6M.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZFFKWHXN.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UZ7RJDEC.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -66,6 +66,7 @@ var OFF_HINTS = {
|
|
|
66
66
|
"root-blend-mode": "set mix-blend-mode on a child element instead of the composition root, or drop motion blur",
|
|
67
67
|
"nested-capture-canvas": "remove the inner <canvas layoutsubtree> / content=drawable, or drop motion blur"
|
|
68
68
|
};
|
|
69
|
+
var CHOSEN = /* @__PURE__ */ new Set(["translation-only", "tier-attribute"]);
|
|
69
70
|
var GENERIC_OFF_HINT = "remove what the reason names, or drop data-motion-blur";
|
|
70
71
|
var ASKED = 'data-motion-blur="on" is set but';
|
|
71
72
|
function motionBlurDrafts(probe) {
|
|
@@ -75,8 +76,8 @@ function motionBlurDrafts(probe) {
|
|
|
75
76
|
{
|
|
76
77
|
code: "motion_blur_unverified",
|
|
77
78
|
severity: "info",
|
|
78
|
-
message: `${ASKED} blur
|
|
79
|
-
fixHint: "the check browser has no html-in-canvas (drawElementImage); render once to see
|
|
79
|
+
message: `${ASKED} the check browser cannot run capture blur, so it was drawn with the filter fallback`,
|
|
80
|
+
fixHint: "the check browser has no html-in-canvas (drawElementImage); render once to see how capture blur looks",
|
|
80
81
|
time: 0
|
|
81
82
|
}
|
|
82
83
|
];
|
|
@@ -92,6 +93,17 @@ function motionBlurDrafts(probe) {
|
|
|
92
93
|
}
|
|
93
94
|
];
|
|
94
95
|
}
|
|
96
|
+
if (probe.tier === "filter" && probe.movers > 0 && !CHOSEN.has(probe.reasonCode ?? "")) {
|
|
97
|
+
return [
|
|
98
|
+
{
|
|
99
|
+
code: "motion_blur_filter_fallback",
|
|
100
|
+
severity: "info",
|
|
101
|
+
message: `data-motion-blur="on" is drawn by the filter fallback: ${probe.reason ?? "capture blur cannot run here"}`,
|
|
102
|
+
fixHint: `the fallback smears movement but only softens zoom and rotation; ${OFF_HINTS[probe.reasonCode ?? ""] ?? GENERIC_OFF_HINT}`,
|
|
103
|
+
time: 0
|
|
104
|
+
}
|
|
105
|
+
];
|
|
106
|
+
}
|
|
95
107
|
if (probe.movers === 0) {
|
|
96
108
|
return [
|
|
97
109
|
{
|
|
@@ -115,10 +127,12 @@ function readMotionBlurProbe() {
|
|
|
115
127
|
const reason = Reflect.get(report, "reason");
|
|
116
128
|
const code = Reflect.get(report, "reasonCode");
|
|
117
129
|
const movers = Reflect.get(report, "movers");
|
|
130
|
+
const tier = Reflect.get(report, "tier");
|
|
118
131
|
const suspend = Reflect.get(api, "suspend");
|
|
119
132
|
if (typeof suspend === "function") Reflect.apply(suspend, api, []);
|
|
120
133
|
return {
|
|
121
134
|
state: Reflect.get(report, "state") === "off" ? "off" : "on",
|
|
135
|
+
tier: tier === "capture" || tier === "filter" ? tier : null,
|
|
122
136
|
reason: typeof reason === "string" ? reason : null,
|
|
123
137
|
reasonCode: typeof code === "string" ? code : null,
|
|
124
138
|
movers: typeof movers === "number" ? movers : 0
|
|
@@ -368,7 +382,7 @@ function proxyFailedDraft(message) {
|
|
|
368
382
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
369
383
|
}
|
|
370
384
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
371
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
385
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RWHFMSFL.js");
|
|
372
386
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
373
387
|
deadline?.enter("copies");
|
|
374
388
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
@@ -415,7 +429,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
415
429
|
await waitForPreferredSeekTarget(page);
|
|
416
430
|
const rootAnchor = await resolveRootAnchor(page);
|
|
417
431
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
418
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
432
|
+
const { analyzeClipMediaFit } = await import("./src-XSDYRKLG.js");
|
|
419
433
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
420
434
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
421
435
|
}
|
|
@@ -524,7 +538,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
524
538
|
}
|
|
525
539
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
526
540
|
if (requests.length === 0) return [];
|
|
527
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
541
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RWHFMSFL.js");
|
|
528
542
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
529
543
|
const server = await serveStaticProjectHtml(
|
|
530
544
|
project.dir,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OAPYPSEB.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-XSDYRKLG.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WLG4OYH7.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UZ7RJDEC.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SUSSMCWL.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6HYHHMX3.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AYFF3GX6.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OOAVKK2W.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-56IOFIYB.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RDHEG7RX.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
scanProjectMediaCodecMap,
|
|
69
69
|
shouldPrewarmProxy,
|
|
70
70
|
waitForProxy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BT64TTSE.js";
|
|
72
72
|
import {
|
|
73
73
|
STUDIO_MOTION_PATH,
|
|
74
74
|
createStudioMotionRenderBodyScript,
|
|
@@ -109,12 +109,12 @@ import {
|
|
|
109
109
|
motionPathPluginUrl,
|
|
110
110
|
parseFps,
|
|
111
111
|
parsePreviewProxyBox
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-56IOFIYB.js";
|
|
113
113
|
import {
|
|
114
114
|
addScenePartsManifest,
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-TSQAPPRS.js";
|
|
118
118
|
import {
|
|
119
119
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
120
120
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
resolveRateSpec,
|
|
129
129
|
sourceTimeAt,
|
|
130
130
|
stripEmbeddedRuntimeScripts
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-DIV37NUE.js";
|
|
132
132
|
import {
|
|
133
133
|
HTML_ATTRIBUTE_ENTITIES,
|
|
134
134
|
MagicString,
|
|
@@ -3640,6 +3640,7 @@ import { createHash as createHash22 } from "crypto";
|
|
|
3640
3640
|
|
|
3641
3641
|
// ../core/dist/studioPreviewMark.js
|
|
3642
3642
|
var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
|
|
3643
|
+
var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
|
|
3643
3644
|
var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
|
|
3644
3645
|
var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
|
|
3645
3646
|
|
|
@@ -5499,7 +5500,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5499
5500
|
let block = extractGsapScriptBlock(html);
|
|
5500
5501
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5501
5502
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5502
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5503
|
+
const { GSAP_CDN } = await import("./dist-NHW2JQCA.js");
|
|
5503
5504
|
const bootstrap = [
|
|
5504
5505
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5505
5506
|
"<script>",
|
|
@@ -7548,7 +7549,10 @@ var PREVIEW_CAPTURE_PARAM = "hf-capture";
|
|
|
7548
7549
|
var EARLY_ERRORS_SCRIPT = `<script>(function(){var seen=window.${STUDIO_PREVIEW_ERRORS}=[];
|
|
7549
7550
|
addEventListener("error",function(e){seen.push(e.message||String(e))});})();</script>`;
|
|
7550
7551
|
function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompositionPath, capture) {
|
|
7551
|
-
const marked = capture ?
|
|
7552
|
+
const marked = capture ? injectTagsAtHeadStart(
|
|
7553
|
+
html,
|
|
7554
|
+
`<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
|
|
7555
|
+
) : injectTagsAtHeadStart(
|
|
7552
7556
|
lazyPreviewImages(html),
|
|
7553
7557
|
`<meta name="${STUDIO_PREVIEW_MARK_META}">${EARLY_ERRORS_SCRIPT}`
|
|
7554
7558
|
);
|