hyperframes 0.8.125 → 0.8.127
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-IFW36THF.js → add-7CE5XYK2.js} +16 -16
- package/dist/{animatedGifPrep-RWLNZGK4.js → animatedGifPrep-4VAIRX7D.js} +7 -7
- package/dist/{asset-WMPG6T2H.js → asset-22WQELZE.js} +2 -2
- package/dist/{assetCataloger-KJRYDRTK.js → assetCataloger-A2AITAHA.js} +3 -3
- package/dist/{auth-552SJTZY.js → auth-33GV2LO2.js} +2 -2
- package/dist/{autoUpdate-2EEU2WEN.js → autoUpdate-OIXGTNLS.js} +2 -2
- package/dist/{backgroundChecks-EO47KLYR.js → backgroundChecks-BVP36PXK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZKBWCNPW.js → batchRender-URT4LT44.js} +4 -4
- package/dist/{beats-JSLKCIMO.js → beats-U34XHTAA.js} +13 -13
- package/dist/{benchmark-4OITC52U.js → benchmark-FNGERKUQ.js} +13 -13
- package/dist/{browser-7KKHZVZG.js → browser-35LEQMCO.js} +10 -10
- package/dist/{bundleWithLocalizedFonts-VYYJV4MC.js → bundleWithLocalizedFonts-4CGUDHCA.js} +2 -2
- package/dist/{capture-Q4HT2YI3.js → capture-GZKMVNKK.js} +2 -2
- package/dist/{capture-6OXDGVSK.js → capture-M2JJS4F2.js} +10 -10
- package/dist/{catalog-PZXB7JKY.js → catalog-OVTLU2MC.js} +16 -16
- package/dist/{check-O4VPFH7X.js → check-DBVGHGKO.js} +33 -33
- package/dist/{checkBrowser-FKXDR2O3.js → checkBrowser-2SQIUOXA.js} +32 -32
- package/dist/{chunk-NSY245QZ.js → chunk-4C656PVL.js} +1 -1
- package/dist/{chunk-EZ54IXGG.js → chunk-6252EFFW.js} +1 -1
- package/dist/{chunk-SD4TJSOZ.js → chunk-6ACXAUBT.js} +4 -4
- package/dist/{chunk-F7MXHGU3.js → chunk-7DPBFAYT.js} +20 -12
- package/dist/{chunk-GA46NF76.js → chunk-7TSIAYXZ.js} +1 -1
- package/dist/{chunk-IWF6XF2V.js → chunk-7YJ7CCKW.js} +1 -1
- package/dist/{chunk-ZGGEWKPA.js → chunk-AGNZ2QLE.js} +2 -2
- package/dist/chunk-AQIS2UNW.js +3578 -0
- package/dist/{chunk-CML2M4A5.js → chunk-BE6X3G5C.js} +1 -1
- package/dist/{chunk-PEOAH4LM.js → chunk-BYI2K4RN.js} +2 -2
- package/dist/{chunk-HUJT2WV7.js → chunk-CSHKZ3SL.js} +1 -1
- package/dist/{chunk-EJA7FDVA.js → chunk-CX7NQZDE.js} +3 -3
- package/dist/{chunk-T7KM6AG5.js → chunk-D4NPKZFY.js} +3 -3
- package/dist/{chunk-T64K236B.js → chunk-EKGD52A2.js} +2 -2
- package/dist/{chunk-CANIQ65S.js → chunk-F4WYYNNG.js} +1 -1
- package/dist/{chunk-IBSKMPBO.js → chunk-G33WTKF3.js} +2 -2
- package/dist/{chunk-FMTOCJN6.js → chunk-GBTGTS35.js} +1 -1
- package/dist/{chunk-OLLALODH.js → chunk-HXGPETEM.js} +1 -1
- package/dist/{chunk-CZBP6WD7.js → chunk-HZHXHO4V.js} +1 -1
- package/dist/{chunk-BVC2TTOR.js → chunk-IAKZWKNV.js} +4 -4
- package/dist/{chunk-FWJDB65E.js → chunk-K3ZB5A3K.js} +12 -11
- package/dist/{chunk-SBMSZEBS.js → chunk-KPY6JX4K.js} +9 -9
- package/dist/{chunk-Y6UZPO7H.js → chunk-L32XKBOF.js} +1 -1
- package/dist/{chunk-75Z3SG7S.js → chunk-LLU2BJYY.js} +2 -2
- package/dist/{chunk-K4DH364E.js → chunk-MK2HBL6E.js} +1 -1
- package/dist/{chunk-NGQ5NP2Q.js → chunk-NDPSG5WQ.js} +2 -2
- package/dist/{chunk-M4LHIME7.js → chunk-OE66T7R2.js} +1 -1
- package/dist/{chunk-QM7YQ35N.js → chunk-OLVR6P6R.js} +40 -48
- package/dist/{chunk-I33AB6HW.js → chunk-OQN3AUOV.js} +10 -10
- package/dist/{chunk-CYILDWZD.js → chunk-P4PMYDLR.js} +1 -1
- package/dist/{chunk-HN63O2Y6.js → chunk-PVVUMILD.js} +1 -1
- package/dist/{chunk-QV4PJ5EE.js → chunk-PZSNUSBM.js} +2 -2
- package/dist/{chunk-MKTOQKW4.js → chunk-Q3I4JEGM.js} +49 -53
- package/dist/{chunk-WZQYKSDF.js → chunk-QR7IRRUX.js} +5 -5
- package/dist/{chunk-SDRIDMMN.js → chunk-RHBM33JF.js} +7 -7
- package/dist/{chunk-NSVHO5LZ.js → chunk-RUYSBG3F.js} +20 -12
- package/dist/{chunk-2K3QXNHK.js → chunk-S2WNVYLQ.js} +1 -1
- package/dist/{chunk-JD6UVTTT.js → chunk-S4AMCVAK.js} +5 -5
- package/dist/{chunk-YVFBNUUH.js → chunk-SC4T53X4.js} +3 -3
- package/dist/{chunk-AZP4Q3HX.js → chunk-T6HJCRJC.js} +2 -2
- package/dist/{chunk-6AGYEZQ7.js → chunk-TL7Y6IBY.js} +3 -3
- package/dist/{chunk-OHE54L2X.js → chunk-TP4PR3SL.js} +3 -3
- package/dist/{chunk-N4RVOW43.js → chunk-TPWWGKU7.js} +2 -2
- package/dist/{chunk-OJ3NJ54J.js → chunk-V6LLKVWS.js} +1 -1
- package/dist/{chunk-RGDS435K.js → chunk-YII7JZ2C.js} +1 -1
- package/dist/{chunk-TSJNOSJF.js → chunk-YSCN66NT.js} +1 -1
- package/dist/{chunk-IJPINTW6.js → chunk-ZOUDTLLH.js} +2 -2
- package/dist/{chunk-HIPHGIMM.js → chunk-ZZAHIKFK.js} +1 -1
- package/dist/{clean-ZQ3QVGVU.js → clean-STQ2XPVL.js} +17 -17
- package/dist/cli.js +51 -51
- package/dist/{cloud-E4GWT7KZ.js → cloud-OQNTIR2N.js} +4 -4
- package/dist/{cloudrun-RRNAJMHQ.js → cloudrun-ELOBBQHC.js} +5 -5
- package/dist/{compare-4IMB3KDE.js → compare-7PHURXFI.js} +27 -27
- package/dist/{compiler-GM4XUGUA.js → compiler-A3FX5DBC.js} +7 -3
- package/dist/{component-ZIKBZXGS.js → component-56DVF6XU.js} +3 -3
- package/dist/{compositions-DRFZ36DG.js → compositions-2DMUUOFR.js} +12 -12
- package/dist/{delete-7LIHYMTQ.js → delete-EECQVAVJ.js} +2 -2
- package/dist/{deterministicFonts-HHGHYN6V.js → deterministicFonts-64U7A25I.js} +2 -2
- package/dist/{dist-57EISMJZ.js → dist-IPEAV427.js} +3 -3
- package/dist/{dist-RUZFIHUD.js → dist-OJYO32WN.js} +1 -1
- package/dist/{doctor-GVRY22DC.js → doctor-F3CXFLFV.js} +11 -11
- package/dist/{events-XHIAV6Q6.js → events-2LJGIZKG.js} +10 -10
- package/dist/{events-P3XLY3QN.js → events-H5RGIYVK.js} +9 -9
- package/dist/{feedback-I2IJMVE6.js → feedback-VCMOOK2O.js} +11 -11
- package/dist/{figma-KXZD5OXU.js → figma-BL4HCJ5P.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-3TF6CQRJ.js → get-HWN5Z3BL.js} +2 -2
- package/dist/{gpuPolicy-GUILWNQI.js → gpuPolicy-37CE57HN.js} +7 -7
- package/dist/{grade-compare-6A4MPRDT.js → grade-compare-3OPZYNNZ.js} +27 -27
- package/dist/{gsapParser-ZGBBDA54.js → gsapParser-LOSAMHNR.js} +20 -12
- package/dist/{gsapParserAcorn-3Z742FXU.js → gsapParserAcorn-ZO2LPEZY.js} +1 -1
- package/dist/{help-P2LXSWPH.js → help-X3EPTRKV.js} +1 -1
- package/dist/{history-TIEBO3TQ.js → history-YR6YTOLT.js} +17 -17
- package/dist/hyperframe-runtime.js +48 -48
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +48 -48
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-RDYN6M4J.js → info-QG7OXNW6.js} +12 -12
- package/dist/{init-FWKYWNED.js → init-JUHW2ZN3.js} +23 -23
- package/dist/{inspect-4X3GCH7D.js → inspect-LIDYSXAG.js} +28 -28
- package/dist/{installer-HBBKRFDP.js → installer-YH76H5ML.js} +5 -5
- package/dist/{keyframes-7D4TUZZ2.js → keyframes-ZLHVLMRA.js} +33 -25
- package/dist/{lambda-AYYSPAYH.js → lambda-T33I4AX6.js} +6 -6
- package/dist/{layout-J2IBMYTZ.js → layout-VD36CWWV.js} +28 -28
- package/dist/{lint-H7QFZNTA.js → lint-JAWDGLYW.js} +13 -13
- package/dist/{lintProject-MXUZEBDH.js → lintProject-IOQ4DBS4.js} +1 -1
- package/dist/{list-SPHCGWNR.js → list-24TGFCB3.js} +2 -2
- package/dist/{login-A4GMDPEZ.js → login-E2PE6CAD.js} +4 -4
- package/dist/{media-treatment-QOA3QGWO.js → media-treatment-2BMUTUGD.js} +13 -13
- package/dist/{models-ZDGTC4SZ.js → models-TS5PWNPS.js} +8 -8
- package/dist/{motionShot-QS5SVOHF.js → motionShot-RU4MTVOO.js} +13 -13
- package/dist/{normalize-audio-OPQAYTZV.js → normalize-audio-245DPF4X.js} +12 -12
- package/dist/{open-UKGA7TPU.js → open-RH7YWUVH.js} +11 -11
- package/dist/{pipeline-G5NLBVNJ.js → pipeline-ZK3JBXX5.js} +7 -7
- package/dist/{play-C7GBF6WB.js → play-VK6IF765.js} +22 -22
- package/dist/{preflight-DIJQBGM4.js → preflight-H7YMOAYQ.js} +8 -8
- package/dist/{present-DWKHRNIC.js → present-CLKL6QSK.js} +18 -18
- package/dist/{preview-FGLYZD5S.js → preview-GEPWX2GX.js} +18 -18
- package/dist/{producer-NP2763FP.js → producer-HBP36IDM.js} +1 -1
- package/dist/{projectConfig-MVB3R3H4.js → projectConfig-FPSBKFQO.js} +7 -7
- package/dist/{publication-UBT6VC5K.js → publication-ACSV54DD.js} +3 -3
- package/dist/{publish-EP4CNDPL.js → publish-L2NGI7MV.js} +9 -9
- package/dist/{remove-background-BSWFZHW3.js → remove-background-JRRBJN4U.js} +8 -8
- package/dist/{render-4Q23SIOZ.js → render-LZEOB6JN.js} +4 -4
- package/dist/{render-4BL4C55X.js → render-RXMA4QYX.js} +13 -13
- package/dist/{render-I3S3XTXQ.js → render-TDSGRTQQ.js} +22 -22
- package/dist/{render-batch-6MCTZTJR.js → render-batch-ZJQ5VHY6.js} +4 -4
- package/dist/{renderCancellation-N3E4RU7B.js → renderCancellation-MS5MAATT.js} +7 -7
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-2D5RWIQP.js → resolver-WODAPAQC.js} +5 -5
- package/dist/{sherpa-XLMKWU7U.js → sherpa-B3IHJHTK.js} +8 -8
- package/dist/{skills-HIHYTIAV.js → skills-56DFZVPS.js} +12 -12
- package/dist/{skillsUpdateCheck-5YHBTQ6C.js → skillsUpdateCheck-AXKUBY44.js} +3 -3
- package/dist/{snapshot-OHAYOW4C.js → snapshot-NYQJL43J.js} +28 -28
- package/dist/{src-ESCXJW7I.js → src-4K2RSSO5.js} +6 -6
- package/dist/{src-IXQPVJNK.js → src-UQ72QBPU.js} +9 -9
- package/dist/{staticProjectServer-BP5PM77J.js → staticProjectServer-OJH6TFA3.js} +16 -16
- package/dist/{status-BB22DSC3.js → status-MZT3S6U2.js} +7 -7
- package/dist/studio/assets/{hyperframes-player-CmIh-wq9.js → hyperframes-player-uqzDaxVL.js} +1 -1
- package/dist/studio/assets/{index-4LRR6o2F.js → index-CLBNYlDY.js} +1 -1
- package/dist/studio/assets/{index-CrYoEZ5p.js → index-COhbL1xq.js} +177 -177
- package/dist/studio/assets/{index-yCK8osBg.js → index-DXSYlqmV.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +5368 -4986
- package/dist/studio/index.js.map +1 -1
- package/dist/{studio-api-MPH3F7Y5.js → studio-api-IT5SYLXJ.js} +10 -10
- package/dist/{studioServer-JD5KIYR6.js → studioServer-KHYH2K3Q.js} +42 -42
- package/dist/{system-JPG4ILMN.js → system-4KER4Y62.js} +7 -7
- package/dist/{telemetry-VP5MPNOI.js → telemetry-G3NYQGWI.js} +10 -10
- package/dist/{timeline-TKJJ7RHM.js → timeline-CXK4RVZE.js} +17 -17
- package/dist/{tokens-DRCIONI6.js → tokens-RLU7WBIC.js} +2 -2
- package/dist/{transcribe-ZOGMUKWL.js → transcribe-SOY2USBA.js} +8 -8
- package/dist/{transcribe-7TASY37D.js → transcribe-Y37DWCAV.js} +13 -13
- package/dist/{updateCheck-G5JNP5U5.js → updateCheck-EJ5SAGDC.js} +2 -2
- package/dist/{upgrade-B2IT4JO4.js → upgrade-MBWWBNGK.js} +2 -2
- package/dist/{urlDownloader-VQNIYP7Y.js → urlDownloader-ZJ2TZQ7C.js} +6 -6
- package/dist/{validate-ENFIOU6R.js → validate-4J3OCFET.js} +17 -17
- package/dist/{video-MJBFMRFI.js → video-43437E6M.js} +7 -7
- package/package.json +1 -1
- package/dist/chunk-YKSQOWAL.js +0 -3571
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_VP9_CPU_USED,
|
|
18
18
|
renderProvenanceArgs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D4NPKZFY.js";
|
|
20
20
|
import {
|
|
21
21
|
loadOptionalPackage
|
|
22
22
|
} from "./chunk-XT5P4QMO.js";
|
|
@@ -202,7 +202,7 @@ function inferInputKind(inputPath) {
|
|
|
202
202
|
}
|
|
203
203
|
async function probeMedia(inputPath) {
|
|
204
204
|
const isImage = inferInputKind(inputPath) === "image";
|
|
205
|
-
const engine = await import("./src-
|
|
205
|
+
const engine = await import("./src-4K2RSSO5.js");
|
|
206
206
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
207
207
|
if (isImage) {
|
|
208
208
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P4PMYDLR.js";
|
|
10
10
|
import {
|
|
11
11
|
requestCliExit
|
|
12
12
|
} from "./chunk-PBN6GBJE.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q3I4JEGM.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PZSNUSBM.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F4WYYNNG.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/staticProjectServer.ts
|
|
27
27
|
import { createServer } from "http";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
renderFrameIdForRenderId,
|
|
23
23
|
resolveAuthoredTimingWindow,
|
|
24
24
|
toFps
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AGNZ2QLE.js";
|
|
26
26
|
import {
|
|
27
27
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
28
28
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
shiftRateLane,
|
|
53
53
|
sourceTimeAt,
|
|
54
54
|
timeAtSourceTime
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AQIS2UNW.js";
|
|
56
56
|
import {
|
|
57
57
|
chromeMajorCeiling,
|
|
58
58
|
exceedsChromeCeiling
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
isWithinProjectRoot,
|
|
62
62
|
resolveProjectRelativeSrc
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-TPWWGKU7.js";
|
|
64
64
|
import {
|
|
65
65
|
FFMPEG_PATH_ENV,
|
|
66
66
|
FFPROBE_PATH_ENV,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GBTGTS35.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -221,7 +221,7 @@ var asset_default = defineCommand({
|
|
|
221
221
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
224
|
+
const { trackFigmaImport } = await import("./telemetry-G3NYQGWI.js");
|
|
225
225
|
trackFigmaImport({
|
|
226
226
|
phase: "asset",
|
|
227
227
|
reused: results.every((r) => r.reused),
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.127" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.127" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-2LJGIZKG.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
isAllowedHtmlAttribute,
|
|
9
9
|
isSafeAttributeValue,
|
|
10
10
|
sanitizeRichTextChildren
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AGNZ2QLE.js";
|
|
12
12
|
import {
|
|
13
13
|
removeElementWithGsapCascade
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7DPBFAYT.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OLVR6P6R.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TPWWGKU7.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
iterateFontFamilyDeclarations,
|
|
13
13
|
normalizeSystemFontPrimaryFamilies,
|
|
14
14
|
resolveFontFamilyDeclarationFamilies
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4C656PVL.js";
|
|
16
16
|
import {
|
|
17
17
|
EncoderInterruptedError,
|
|
18
18
|
encoderFailureError,
|
|
19
19
|
prepareAnimatedGifInputs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LLU2BJYY.js";
|
|
21
21
|
import {
|
|
22
22
|
createStudioPositionSeekReapplyScript
|
|
23
23
|
} from "./chunk-KC5XXX3X.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
validateEngineConfigSnapshot,
|
|
146
146
|
verifyDiskDrawElementSamples,
|
|
147
147
|
writeCapturedFrame
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-D4NPKZFY.js";
|
|
149
149
|
import {
|
|
150
150
|
HF_VFX_ATTR,
|
|
151
151
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
resolveAbsoluteMediaStartSeconds,
|
|
164
164
|
resolveAuthoredTimingWindow,
|
|
165
165
|
toFps
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-AGNZ2QLE.js";
|
|
167
167
|
import {
|
|
168
168
|
CANVAS_DIMENSIONS,
|
|
169
169
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
isAspectAgnosticResolutionAlias,
|
|
175
175
|
normalizeResolutionFlag,
|
|
176
176
|
suggestMatchingPreset
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-7DPBFAYT.js";
|
|
178
178
|
import {
|
|
179
179
|
assignBundledRuntimeCompositionIds,
|
|
180
180
|
buildVariablesByCompScript,
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
inlineSubCompositions,
|
|
189
189
|
prepareFlattenedInnerRoot,
|
|
190
190
|
styleElementsFor
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-OLVR6P6R.js";
|
|
192
192
|
import {
|
|
193
193
|
HF_COLOR_GRADING_ATTR,
|
|
194
194
|
MAX_AUDIO_GAIN,
|
|
@@ -201,6 +201,7 @@ import {
|
|
|
201
201
|
injectScriptsAtHeadStart,
|
|
202
202
|
injectScriptsIntoHtml,
|
|
203
203
|
insertBeforeCloseTag,
|
|
204
|
+
isRuntimeFileUrl,
|
|
204
205
|
normalizeRateSpec,
|
|
205
206
|
parseHostVariableValues,
|
|
206
207
|
parseStrictFiniteTimingNumber,
|
|
@@ -209,7 +210,7 @@ import {
|
|
|
209
210
|
resolveNaturalMediaTimelineDurationFromValues,
|
|
210
211
|
shouldClampResolvedMediaDuration,
|
|
211
212
|
sourceTimeAt
|
|
212
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-AQIS2UNW.js";
|
|
213
214
|
import {
|
|
214
215
|
chromeMajorCeiling
|
|
215
216
|
} from "./chunk-TWWSYAKJ.js";
|
|
@@ -218,7 +219,7 @@ import {
|
|
|
218
219
|
lintHyperframeHtml,
|
|
219
220
|
readProjectFile,
|
|
220
221
|
resolveProjectRelativeSrc
|
|
221
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-TPWWGKU7.js";
|
|
222
223
|
import {
|
|
223
224
|
CSS_URL_RE,
|
|
224
225
|
checkSubCompositionUsability,
|
|
@@ -6039,7 +6040,7 @@ async function inlineExternalScripts(html) {
|
|
|
6039
6040
|
const externalScripts = [];
|
|
6040
6041
|
for (const el of scripts) {
|
|
6041
6042
|
const src = (el.getAttribute("src") || "").trim();
|
|
6042
|
-
if (src && isHttpUrl(src)) {
|
|
6043
|
+
if (src && isHttpUrl(src) && !isRuntimeFileUrl(src)) {
|
|
6043
6044
|
externalScripts.push({ el, src });
|
|
6044
6045
|
}
|
|
6045
6046
|
}
|
|
@@ -14156,7 +14157,7 @@ function startServer(options = {}) {
|
|
|
14156
14157
|
});
|
|
14157
14158
|
async function shutdown(signal) {
|
|
14158
14159
|
log.info(`Received ${signal}, shutting down`);
|
|
14159
|
-
const { drainBrowserPool } = await import("./src-
|
|
14160
|
+
const { drainBrowserPool } = await import("./src-4K2RSSO5.js");
|
|
14160
14161
|
await drainBrowserPool().catch(() => {
|
|
14161
14162
|
});
|
|
14162
14163
|
const handle = await Promise.race([
|
|
@@ -15279,7 +15280,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15279
15280
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15280
15281
|
if (probeResult.probeSession) {
|
|
15281
15282
|
try {
|
|
15282
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15283
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-4K2RSSO5.js");
|
|
15283
15284
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15284
15285
|
} catch (err) {
|
|
15285
15286
|
log.warn("[plan] probe session close failed", {
|
|
@@ -6,24 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CX7NQZDE.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YII7JZ2C.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-S4AMCVAK.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CSHKZ3SL.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveDiagnosticNavigationTimeoutMs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S2WNVYLQ.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HXGPETEM.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -670,7 +670,7 @@ async function collectTweenBoundaries(page) {
|
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
672
|
async function bundleProjectHtml(projectDir) {
|
|
673
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
673
|
+
const { bundleToSingleHtml } = await import("./compiler-A3FX5DBC.js");
|
|
674
674
|
return bundleToSingleHtml(projectDir);
|
|
675
675
|
}
|
|
676
676
|
async function alignViewportToComposition(page, url) {
|
|
@@ -692,8 +692,8 @@ async function alignViewportToComposition(page, url) {
|
|
|
692
692
|
async function runLayoutAudit(projectDir, opts) {
|
|
693
693
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
694
694
|
const puppeteer = await import("puppeteer-core");
|
|
695
|
-
const { buildChromeArgs } = await import("./src-
|
|
696
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-
|
|
695
|
+
const { buildChromeArgs } = await import("./src-4K2RSSO5.js");
|
|
696
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-37CE57HN.js");
|
|
697
697
|
const html = await bundleProjectHtml(projectDir);
|
|
698
698
|
const server = await serveStaticProjectHtml(
|
|
699
699
|
projectDir,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G33WTKF3.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-D4NPKZFY.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AGNZ2QLE.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-GK4AIFIH.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6252EFFW.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AGNZ2QLE.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -9,11 +9,12 @@ import {
|
|
|
9
9
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
10
10
|
clampDurations,
|
|
11
11
|
compileTimingAttrs,
|
|
12
|
+
escapeInlineScriptSource,
|
|
12
13
|
extractResolvedMedia,
|
|
13
14
|
getHyperframeRuntimeScript,
|
|
14
15
|
injectDurations,
|
|
15
16
|
injectTagsAtHeadStart,
|
|
16
|
-
|
|
17
|
+
insertRuntimeTag,
|
|
17
18
|
parseHTMLContent,
|
|
18
19
|
parseHostVariableValues,
|
|
19
20
|
queryByAttr,
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
shouldClampResolvedMediaDuration,
|
|
22
23
|
stripEmbeddedRuntimeScripts,
|
|
23
24
|
warnUnknownEnumValues
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AQIS2UNW.js";
|
|
25
26
|
import {
|
|
26
27
|
cssVariableName
|
|
27
28
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -31,7 +32,7 @@ import {
|
|
|
31
32
|
} from "./chunk-OFQWTKPW.js";
|
|
32
33
|
import {
|
|
33
34
|
lintHyperframeHtml
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-TPWWGKU7.js";
|
|
35
36
|
import {
|
|
36
37
|
CSS_URL_RE,
|
|
37
38
|
checkSubCompositionUsability,
|
|
@@ -97,12 +98,33 @@ async function compileHtml(rawHtml, projectDir, probeMediaDuration) {
|
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
// ../core/dist/compiler/scriptRuns.js
|
|
101
|
+
var JAVASCRIPT_TYPES = /* @__PURE__ */ new Set([
|
|
102
|
+
"",
|
|
103
|
+
"application/ecmascript",
|
|
104
|
+
"application/javascript",
|
|
105
|
+
"application/x-ecmascript",
|
|
106
|
+
"application/x-javascript",
|
|
107
|
+
"text/ecmascript",
|
|
108
|
+
"text/javascript",
|
|
109
|
+
"text/javascript1.0",
|
|
110
|
+
"text/javascript1.1",
|
|
111
|
+
"text/javascript1.2",
|
|
112
|
+
"text/javascript1.3",
|
|
113
|
+
"text/javascript1.4",
|
|
114
|
+
"text/javascript1.5",
|
|
115
|
+
"text/jscript",
|
|
116
|
+
"text/livescript",
|
|
117
|
+
"text/x-ecmascript",
|
|
118
|
+
"text/x-javascript"
|
|
119
|
+
]);
|
|
120
|
+
function isJavaScriptType(el) {
|
|
121
|
+
return JAVASCRIPT_TYPES.has((el.getAttribute("type") || "").trim().toLowerCase());
|
|
122
|
+
}
|
|
100
123
|
function isClassicInline(el) {
|
|
101
|
-
|
|
102
|
-
return !type || type === "text/javascript" || type === "application/javascript";
|
|
124
|
+
return !el.hasAttribute("nomodule") && isJavaScriptType(el);
|
|
103
125
|
}
|
|
104
126
|
function isSeparateExecution(el, isPinned) {
|
|
105
|
-
return el.hasAttribute("src") || isPinned(el) || (el.getAttribute("type") || "").trim().toLowerCase() === "module";
|
|
127
|
+
return el.hasAttribute("src") || el.hasAttribute("defer") || el.hasAttribute("async") || isPinned(el) || (el.getAttribute("type") || "").trim().toLowerCase() === "module";
|
|
106
128
|
}
|
|
107
129
|
function inlineScriptRuns(scripts, isPinned = () => false) {
|
|
108
130
|
const runs = [];
|
|
@@ -125,6 +147,8 @@ var AFTER_FONTS_SCRIPT_TYPE = "text/hf-after-fonts";
|
|
|
125
147
|
var AFTER_FONTS_MODULE_TYPE = `${AFTER_FONTS_SCRIPT_TYPE}+module`;
|
|
126
148
|
var AFTER_FONTS_SCRIPTS = `script[type="${AFTER_FONTS_SCRIPT_TYPE}"], script[type="${AFTER_FONTS_MODULE_TYPE}"]`;
|
|
127
149
|
var AFTER_FONTS_CLAIM = "__hfAfterFontsClaimed";
|
|
150
|
+
var INLINED_FILE_ATTR = "data-hf-inlined-src";
|
|
151
|
+
var DEFERRED_FILE = `[defer][src], [defer][${INLINED_FILE_ATTR}]`;
|
|
128
152
|
var AFTER_FONTS_FALLBACK_ATTR = "data-hf-after-fonts-fallback";
|
|
129
153
|
var afterFontsFallback = () => `document.addEventListener("DOMContentLoaded", function () {
|
|
130
154
|
if (window.${AFTER_FONTS_CLAIM}) return;
|
|
@@ -132,7 +156,7 @@ var afterFontsFallback = () => `document.addEventListener("DOMContentLoaded", fu
|
|
|
132
156
|
var all = [].slice.call(document.querySelectorAll('${AFTER_FONTS_SCRIPTS}'));
|
|
133
157
|
if (!all.length) return;
|
|
134
158
|
console.warn("[hyperframes] the runtime has no web-font gate; composition scripts run without waiting for fonts");
|
|
135
|
-
var late = function (el) { return el.type !== T ||
|
|
159
|
+
var late = function (el) { return el.type !== T || el.matches('${DEFERRED_FILE}'); };
|
|
136
160
|
var queue = all.filter(function (el) { return !late(el); }).concat(all.filter(late));
|
|
137
161
|
(function next() {
|
|
138
162
|
var el = queue.shift();
|
|
@@ -1833,8 +1857,6 @@ function getRuntimeScriptUrl() {
|
|
|
1833
1857
|
}
|
|
1834
1858
|
function injectInterceptor(html, runtimeMode = "inline") {
|
|
1835
1859
|
const sanitized = stripEmbeddedRuntimeScripts(html);
|
|
1836
|
-
if (sanitized.includes(RUNTIME_BOOTSTRAP_ATTR))
|
|
1837
|
-
return sanitized;
|
|
1838
1860
|
const runtimeScriptUrl = getRuntimeScriptUrl();
|
|
1839
1861
|
let tag;
|
|
1840
1862
|
if (runtimeScriptUrl) {
|
|
@@ -1846,21 +1868,7 @@ function injectInterceptor(html, runtimeMode = "inline") {
|
|
|
1846
1868
|
const inlinedRuntime = getHyperframeRuntimeScript();
|
|
1847
1869
|
tag = `<script ${RUNTIME_BOOTSTRAP_ATTR}="1">${inlinedRuntime}</script>`;
|
|
1848
1870
|
}
|
|
1849
|
-
|
|
1850
|
-
`);
|
|
1851
|
-
if (withHead !== null)
|
|
1852
|
-
return withHead;
|
|
1853
|
-
const htmlOpenMatch = sanitized.match(/<html\b[^>]*>/i);
|
|
1854
|
-
if (htmlOpenMatch?.index != null) {
|
|
1855
|
-
const insertPos = htmlOpenMatch.index + htmlOpenMatch[0].length;
|
|
1856
|
-
return `${sanitized.slice(0, insertPos)}<head>${tag}</head>${sanitized.slice(insertPos)}`;
|
|
1857
|
-
}
|
|
1858
|
-
const doctypeIdx = sanitized.toLowerCase().indexOf("<!doctype");
|
|
1859
|
-
if (doctypeIdx >= 0) {
|
|
1860
|
-
const insertPos = sanitized.indexOf(">", doctypeIdx) + 1;
|
|
1861
|
-
return sanitized.slice(0, insertPos) + tag + sanitized.slice(insertPos);
|
|
1862
|
-
}
|
|
1863
|
-
return tag + sanitized;
|
|
1871
|
+
return insertRuntimeTag(sanitized, tag);
|
|
1864
1872
|
}
|
|
1865
1873
|
function isRelativeUrl(url) {
|
|
1866
1874
|
return !isNonRelativeUrl(url) && !isAbsolute(url);
|
|
@@ -2429,7 +2437,7 @@ function coalesceHeadStylesAndBodyScripts(document) {
|
|
|
2429
2437
|
if (!mergedJs)
|
|
2430
2438
|
continue;
|
|
2431
2439
|
const inlineScript = document.createElement("script");
|
|
2432
|
-
inlineScript.textContent = stripJsCommentsParserSafe(mergedJs);
|
|
2440
|
+
inlineScript.textContent = escapeInlineScriptSource(stripJsCommentsParserSafe(mergedJs));
|
|
2433
2441
|
if (anchor)
|
|
2434
2442
|
anchor.before(inlineScript);
|
|
2435
2443
|
else
|
|
@@ -2714,8 +2722,6 @@ async function bundleProject(projectDir, options) {
|
|
|
2714
2722
|
}
|
|
2715
2723
|
templateEl.remove();
|
|
2716
2724
|
}
|
|
2717
|
-
const localJsChunks = [];
|
|
2718
|
-
let jsAnchorPlaced = false;
|
|
2719
2725
|
for (const el of [...document.querySelectorAll("script[src]")]) {
|
|
2720
2726
|
const src = el.getAttribute("src");
|
|
2721
2727
|
if (!src || !isRelativeUrl(src))
|
|
@@ -2728,27 +2734,9 @@ async function bundleProject(projectDir, options) {
|
|
|
2728
2734
|
const js = jsPath ? safeReadFile(jsPath) : null;
|
|
2729
2735
|
if (js == null)
|
|
2730
2736
|
continue;
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
anchor.setAttribute("data-hf-bundled-local-js", "1");
|
|
2735
|
-
el.replaceWith(anchor);
|
|
2736
|
-
jsAnchorPlaced = true;
|
|
2737
|
-
} else {
|
|
2738
|
-
el.remove();
|
|
2739
|
-
}
|
|
2740
|
-
}
|
|
2741
|
-
if (localJsChunks.length > 0) {
|
|
2742
|
-
const anchor = document.querySelector('script[data-hf-bundled-local-js="1"]');
|
|
2743
|
-
const joinedJs = joinJsChunks(localJsChunks);
|
|
2744
|
-
if (anchor) {
|
|
2745
|
-
anchor.removeAttribute("data-hf-bundled-local-js");
|
|
2746
|
-
anchor.textContent = joinedJs;
|
|
2747
|
-
} else {
|
|
2748
|
-
const script = document.createElement("script");
|
|
2749
|
-
script.textContent = joinedJs;
|
|
2750
|
-
document.body.appendChild(script);
|
|
2751
|
-
}
|
|
2737
|
+
el.setAttribute(INLINED_FILE_ATTR, src);
|
|
2738
|
+
el.removeAttribute("src");
|
|
2739
|
+
el.textContent = js;
|
|
2752
2740
|
}
|
|
2753
2741
|
for (const link of compExternalLinks)
|
|
2754
2742
|
ensureExternalLinkTag(document, link);
|
|
@@ -2783,6 +2771,10 @@ async function bundleProject(projectDir, options) {
|
|
|
2783
2771
|
enforceCompositionPixelSizing(document);
|
|
2784
2772
|
autoHealMissingCompositionIds(document);
|
|
2785
2773
|
coalesceHeadStylesAndBodyScripts(document);
|
|
2774
|
+
for (const el of document.querySelectorAll(`script[${INLINED_FILE_ATTR}]`)) {
|
|
2775
|
+
const js = el.textContent ?? "";
|
|
2776
|
+
el.textContent = escapeInlineScriptSource(isJavaScriptType(el) ? stripJsCommentsParserSafe(js) : js);
|
|
2777
|
+
}
|
|
2786
2778
|
deferScriptsUntilFonts(document, (el) => el.hasAttribute(RUNTIME_BOOTSTRAP_ATTR));
|
|
2787
2779
|
injectTextRenderingRule(document);
|
|
2788
2780
|
const inlineAssets = options?.inlineAssets !== false;
|
|
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YII7JZ2C.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S4AMCVAK.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCompositionViewportFromHtml
|
|
18
18
|
} from "./chunk-5Z63TBTX.js";
|
|
19
19
|
import {
|
|
20
20
|
launchManagedBrowser,
|
|
21
21
|
resolveManagedGpuMode
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CSHKZ3SL.js";
|
|
23
23
|
import {
|
|
24
24
|
c
|
|
25
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
printDeprecationNotice,
|
|
35
35
|
withMeta
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HXGPETEM.js";
|
|
37
37
|
import {
|
|
38
38
|
normalizeErrorMessage
|
|
39
39
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -222,7 +222,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
222
222
|
async function localizeRemoteAssets(html) {
|
|
223
223
|
let dir;
|
|
224
224
|
try {
|
|
225
|
-
const { loadProducer } = await import("./producer-
|
|
225
|
+
const { loadProducer } = await import("./producer-HBP36IDM.js");
|
|
226
226
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
227
227
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
228
228
|
const assetDir = dir;
|
|
@@ -243,10 +243,10 @@ async function localizeRemoteAssets(html) {
|
|
|
243
243
|
}
|
|
244
244
|
async function validateInBrowser(project, opts) {
|
|
245
245
|
const projectDir = project.dir;
|
|
246
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
246
|
+
const { bundleToSingleHtml } = await import("./compiler-A3FX5DBC.js");
|
|
247
247
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
248
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
249
|
-
const { lintProject } = await import("./lintProject-
|
|
248
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-OJH6TFA3.js");
|
|
249
|
+
const { lintProject } = await import("./lintProject-IOQ4DBS4.js");
|
|
250
250
|
const lintResult = await lintProject(projectDir);
|
|
251
251
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
252
252
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -267,9 +267,9 @@ async function validateInBrowser(project, opts) {
|
|
|
267
267
|
try {
|
|
268
268
|
const browser = await ensureBrowser();
|
|
269
269
|
const puppeteer = await import("puppeteer-core");
|
|
270
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
270
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-4K2RSSO5.js");
|
|
271
271
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
272
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-
|
|
272
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-37CE57HN.js");
|
|
273
273
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
274
274
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
275
275
|
const chromeBrowser = await launchManagedBrowser(puppeteer.default, {
|
|
@@ -13,7 +13,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
13
13
|
return "auto";
|
|
14
14
|
}
|
|
15
15
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath) {
|
|
16
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
16
|
+
const { resolveBrowserGpuMode } = await import("./src-4K2RSSO5.js");
|
|
17
17
|
return resolveBrowserGpuMode(requestedMode, { chromePath });
|
|
18
18
|
}
|
|
19
19
|
|