hyperframes 0.8.177 → 0.8.179
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-YVP5YBNV.js → add-2CCBND75.js} +12 -12
- package/dist/{animatedGifPrep-6SPYXSHE.js → animatedGifPrep-S6XXOOXK.js} +7 -7
- package/dist/api.js +16 -16
- package/dist/{asset-CZHAZMDR.js → asset-7HOLVSD5.js} +2 -2
- package/dist/{assetCataloger-5GGNQC3Y.js → assetCataloger-MSAMR77T.js} +7 -7
- package/dist/{audio-F37HJPGZ.js → audio-356GVOLJ.js} +13 -13
- package/dist/{auth-CADZEUXD.js → auth-YHI5VR4X.js} +1 -1
- package/dist/{autoUpdate-46XNDX2V.js → autoUpdate-OP345EBV.js} +2 -2
- package/dist/{backgroundChecks-UWDSDJHJ.js → backgroundChecks-6NVELE25.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-KXXTVNPB.js → batchRender-OOQYGH5A.js} +4 -4
- package/dist/{beats-COVC2QGG.js → beats-DQH5SOHM.js} +5 -5
- package/dist/{benchmark-HDPPG2FE.js → benchmark-2W2NPNLJ.js} +9 -9
- package/dist/{browser-JEIXZKJN.js → browser-SCM75524.js} +9 -8
- package/dist/{bundleWithLocalizedFonts-PMRGOQWD.js → bundleWithLocalizedFonts-4F6HKLMZ.js} +2 -2
- package/dist/{capture-QVW6JPTF.js → capture-YRS6SZ6B.js} +11 -11
- package/dist/{capture-YMF7J55W.js → capture-ZBGAJYVH.js} +2 -2
- package/dist/{captureCompositionFrame-QUYL3DEX.js → captureCompositionFrame-Z33NWUED.js} +11 -11
- package/dist/{catalog-DTB6S66P.js → catalog-MOSGL65T.js} +13 -13
- package/dist/{catch-up-Y4KO7XHK.js → catch-up-TCAZFTMO.js} +5 -5
- package/dist/{check-3YLTRK6W.js → check-QVXSTHZB.js} +39 -39
- package/dist/{checkBrowser-LEUOWFNZ.js → checkBrowser-NF2CMWYR.js} +35 -35
- package/dist/chunk-2R5ZKWSV.js +26 -0
- package/dist/{chunk-HIP62XAW.js → chunk-2X4PQEYM.js} +1 -3
- package/dist/{chunk-42T7OP4O.js → chunk-32GKQ73S.js} +1 -1
- package/dist/{chunk-PIH4P2G6.js → chunk-3EJYUZHW.js} +16 -14
- package/dist/{chunk-L6XT6GSV.js → chunk-52L2L46Q.js} +1 -1
- package/dist/chunk-537IYAEE.js +80 -0
- package/dist/{chunk-7L4JOVV7.js → chunk-5HZAIPHY.js} +1 -1
- package/dist/{chunk-GVIH4ZQY.js → chunk-5RS2FIZU.js} +1 -1
- package/dist/{chunk-T76PLPD6.js → chunk-634HSJ3J.js} +2 -1
- package/dist/{chunk-L3LJVYXS.js → chunk-A2BB2XQU.js} +2 -2
- package/dist/{chunk-DQY6WTF7.js → chunk-A3RUVTGB.js} +1 -1
- package/dist/{chunk-P3MMF2JQ.js → chunk-AEWZDKFS.js} +1 -1
- package/dist/{chunk-OYEDHVSI.js → chunk-AFKVI7FJ.js} +1 -1
- package/dist/{chunk-DNZMBQTH.js → chunk-AHPGAESX.js} +1 -1
- package/dist/{chunk-VEQ7DKPG.js → chunk-AHS5QYKF.js} +1 -1
- package/dist/{chunk-FFDC5OWV.js → chunk-ALVXFXUG.js} +5 -3
- package/dist/{chunk-TNDNFZOK.js → chunk-BGKZ37BC.js} +2 -2
- package/dist/{chunk-LY2GLSOS.js → chunk-BJJ3QF7T.js} +1 -1
- package/dist/{chunk-GZG3ZZOO.js → chunk-BNGRVR3Y.js} +4 -4
- package/dist/{chunk-AFSBPASX.js → chunk-BW2UQR4A.js} +5 -5
- package/dist/{chunk-2PNLYDGZ.js → chunk-C5XU53VP.js} +10 -10
- package/dist/{chunk-NL5F3AD4.js → chunk-CML25PAF.js} +2 -4
- package/dist/{chunk-S3T3TDAB.js → chunk-COK5OUBX.js} +2 -2
- package/dist/{chunk-MG66UO4N.js → chunk-CW3VIQMZ.js} +1 -1
- package/dist/{chunk-6GMZRHYD.js → chunk-DHKYJYOY.js} +3 -3
- package/dist/{chunk-MPNVXG3J.js → chunk-DLF5KIBL.js} +2 -2
- package/dist/{chunk-XRKMITSS.js → chunk-E24HSMZV.js} +12 -51
- package/dist/{chunk-FE2XTCTM.js → chunk-EEP5Y5IE.js} +1 -18
- package/dist/{chunk-EOOEC32M.js → chunk-EVMY7IPL.js} +22 -0
- package/dist/{chunk-KRKSY2AE.js → chunk-F3GML67X.js} +1 -1
- package/dist/{chunk-PL4WM5XE.js → chunk-FIAQ4J45.js} +2 -2
- package/dist/{chunk-6OV3YGZF.js → chunk-FTWOVWHR.js} +2 -2
- package/dist/{chunk-457OAAL2.js → chunk-HU4PBQGJ.js} +1 -1
- package/dist/{chunk-GMJ3ILLW.js → chunk-ICMXC3MI.js} +7 -24
- package/dist/{chunk-LZT3NUTE.js → chunk-IE6O2VXV.js} +1 -1
- package/dist/{chunk-B7DJQFAC.js → chunk-IHWI3KZY.js} +4 -4
- package/dist/{chunk-WNQUXBDU.js → chunk-ILLFG4RN.js} +3 -3
- package/dist/{chunk-LEILKM2N.js → chunk-JRIXYXG3.js} +1361 -1151
- package/dist/{chunk-MNEC244Z.js → chunk-LBRJKTVY.js} +2 -2
- package/dist/{chunk-X4PK5ZXP.js → chunk-LO4DHZLH.js} +3 -3
- package/dist/{chunk-SJFA4CZ3.js → chunk-M2DZX2DP.js} +2 -2
- package/dist/{chunk-2CEIKEFU.js → chunk-M5CJQ6EH.js} +1 -1
- package/dist/{chunk-JWUKHXM6.js → chunk-MK6D6HVT.js} +1 -1
- package/dist/{chunk-BQTCQ6VN.js → chunk-MXNKK7HY.js} +3 -3
- package/dist/{chunk-BHFIITTD.js → chunk-N3U7WHQK.js} +5 -5
- package/dist/{chunk-SSYUONVH.js → chunk-NTMCSIQB.js} +2 -2
- package/dist/{chunk-BEX7K4WO.js → chunk-OINJILMB.js} +2 -2
- package/dist/{chunk-UEGULMAH.js → chunk-ORM7SJ7K.js} +7 -7
- package/dist/{chunk-2YT3SCXL.js → chunk-OXP77SHD.js} +2 -2
- package/dist/chunk-PLNQW2C6.js +3805 -0
- package/dist/{chunk-JNL3RMDG.js → chunk-PU33GPG4.js} +1 -1
- package/dist/{chunk-XXHHPB6E.js → chunk-Q73AGCTV.js} +11 -11
- package/dist/{chunk-W47D3KOB.js → chunk-RHWJKSGH.js} +1 -1
- package/dist/{chunk-M3MXTYDE.js → chunk-RJIJWETG.js} +1 -1
- package/dist/{chunk-K535ASAM.js → chunk-TINAVSGR.js} +1 -1
- package/dist/{chunk-C6TPGUWD.js → chunk-TTVHYD5R.js} +2 -2
- package/dist/{chunk-QWCXGTOH.js → chunk-UOHQV6AV.js} +24 -12
- package/dist/{chunk-5ZSLJXQX.js → chunk-UWPUEI5U.js} +2 -2
- package/dist/{chunk-4YBNQDZM.js → chunk-VCDWVVDV.js} +11 -7
- package/dist/{chunk-MXFCQCKE.js → chunk-VI7IQ2QF.js} +7 -7
- package/dist/{chunk-YWSXFFO3.js → chunk-VU4JLRNH.js} +156 -76
- package/dist/{chunk-YCRX5APY.js → chunk-WOXRCPJU.js} +1 -1
- package/dist/{chunk-PO2SDVQA.js → chunk-WQ6ZXHFQ.js} +3 -1
- package/dist/{chunk-X6HYBA4A.js → chunk-XSQWXUK2.js} +1 -1
- package/dist/{chunk-HLBAQBHT.js → chunk-XX4ZYQR6.js} +1 -1
- package/dist/{chunk-NWEER3QY.js → chunk-YH7VQAKX.js} +2 -2
- package/dist/{chunk-DZMWNCHM.js → chunk-ZAJO3YCQ.js} +2 -2
- package/dist/{clean-BDXOJ4PW.js → clean-SJ2UIDKG.js} +20 -20
- package/dist/cli.js +54 -54
- package/dist/{cloud-HVG2LUBO.js → cloud-DH7QGNPZ.js} +4 -4
- package/dist/{cloudrun-P35BPQCO.js → cloudrun-ZA2ZH2VZ.js} +10 -8
- package/dist/{compare-ZXORZDGQ.js → compare-5JNN5BHX.js} +29 -29
- package/dist/{compiler-5TFPJPQQ.js → compiler-CQ6OKYT5.js} +2 -2
- package/dist/{component-AZHVBBVP.js → component-LJQWLOXZ.js} +3 -3
- package/dist/{compositions-WFILUFC4.js → compositions-UILNO2RF.js} +11 -11
- package/dist/{delete-I34NH2Q4.js → delete-WIO2MDPB.js} +2 -2
- package/dist/deploy-BUEYC7MP.js +196 -0
- package/dist/{destroy-BEL232I5.js → destroy-QBLMYDBF.js} +6 -3
- package/dist/{dist-U2HCECNB.js → dist-MHJYD5IZ.js} +6 -4
- package/dist/{doctor-6YID47TF.js → doctor-5G2RXBQX.js} +12 -12
- package/dist/{events-G76VOIBQ.js → events-2LHNVY2F.js} +4 -4
- package/dist/{events-OKT2KO6S.js → events-BXODXMJ6.js} +2 -2
- package/dist/{feedback-EGU7SSXF.js → feedback-57END2CW.js} +7 -7
- package/dist/{ffmpeg-CSJLJAQ3.js → ffmpeg-64E4VH6W.js} +7 -7
- package/dist/{figma-SUJPNBQQ.js → figma-O5MO4GF5.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-7MYYFGO7.js → get-OEWPJ4HH.js} +2 -2
- package/dist/{gpuPolicy-C6JWEX7F.js → gpuPolicy-IGZOHHMX.js} +7 -7
- package/dist/{grade-compare-P22VRQLA.js → grade-compare-PG2UOMHO.js} +30 -30
- package/dist/{help-HL6QBZMC.js → help-44J4SQTE.js} +1 -1
- package/dist/{history-OG2IXOQA.js → history-CUA53AOE.js} +10 -10
- package/dist/hyperframe-runtime.js +57 -55
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +57 -55
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-7P77JIWI.js → info-UDXYDQVK.js} +8 -8
- package/dist/{init-JI7QDJV4.js → init-CVT6HLW2.js} +28 -28
- package/dist/{inspect-7GSF776P.js → inspect-6F72RJQG.js} +30 -30
- package/dist/{installer-NY5E5HCO.js → installer-ADKWK4I4.js} +5 -5
- package/dist/{keyframes-6NM477BA.js → keyframes-GJ7EEWW2.js} +7 -7
- package/dist/{lambda-4DNBHUPF.js → lambda-WFSBYU6U.js} +16 -21
- package/dist/{layout-IBDEMDYP.js → layout-SASENZOG.js} +30 -30
- package/dist/{lint-BGAON4GT.js → lint-JX57B52X.js} +7 -7
- package/dist/{list-PGWNFSLX.js → list-WG7NTE63.js} +2 -2
- package/dist/{login-IAGLU3R3.js → login-3NFLD65G.js} +4 -4
- package/dist/{manager-VOGZQSK4.js → manager-BKHRATMY.js} +9 -9
- package/dist/{manager-HEUPD2YB.js → manager-V2QCCPOJ.js} +4 -3
- package/dist/{media-treatment-Z4N3JEDB.js → media-treatment-QI5F2SMU.js} +13 -13
- package/dist/{models-QUOIJVQI.js → models-TXURF3J6.js} +11 -11
- package/dist/{motionShot-GPNESXTN.js → motionShot-HRM6NMT4.js} +15 -15
- package/dist/{normalize-audio-C264N2QE.js → normalize-audio-IEKL43N4.js} +8 -8
- package/dist/{open-HB5F4HSD.js → open-GU3I75TB.js} +12 -12
- package/dist/{parakeetRunner-2ZQOINZQ.js → parakeetRunner-S2QI3PCA.js} +13 -13
- package/dist/{pipeline-JWGTH2BJ.js → pipeline-OO2MYYIV.js} +9 -9
- package/dist/{play-VQ4HA4CC.js → play-VL2WQCT3.js} +21 -21
- package/dist/{preflight-4WTT4D5X.js → preflight-GBPRLIM6.js} +9 -9
- package/dist/{present-HU46P43M.js → present-YWSFX5CH.js} +17 -17
- package/dist/{preview-LNTJ62DX.js → preview-SMG6GXLY.js} +18 -18
- package/dist/{producer-UZZQX6IJ.js → producer-67RIQCWZ.js} +1 -1
- package/dist/{projectConfig-HDALEM6S.js → projectConfig-NQQDEDAK.js} +7 -7
- package/dist/{publication-NX4VC7UU.js → publication-7DW4IJPC.js} +3 -3
- package/dist/{publish-AZRRQUXM.js → publish-FJKJ74IF.js} +10 -10
- package/dist/{remove-background-OX5WZTXY.js → remove-background-HO2NBZCJ.js} +10 -10
- package/dist/{render-HGT3EGIK.js → render-5TTZDI5N.js} +7 -14
- package/dist/{render-DV76TO7S.js → render-DH4CGGLO.js} +9 -9
- package/dist/{render-TPE44TOW.js → render-MB7PW2YQ.js} +32 -32
- package/dist/{render-batch-MUCDZ2WF.js → render-batch-4RPH66OX.js} +11 -17
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-FLQ42X2Y.js → resolver-UW6NYBJA.js} +5 -5
- package/dist/{sam-IKPEJRRO.js → sam-MC24SZHC.js} +1 -1
- package/dist/{sherpa-IBMU4WV6.js → sherpa-LVXRZGE3.js} +12 -12
- package/dist/{sites-HZMADOA3.js → sites-3ZBYB5X4.js} +2 -1
- package/dist/{skills-M2ANTFD6.js → skills-NDWQPEUD.js} +6 -6
- package/dist/{skillsUpdateCheck-4WNEKKDW.js → skillsUpdateCheck-HZVZ3IUU.js} +3 -3
- package/dist/{snapshot-5AKBT5IQ.js → snapshot-MCHWMAPH.js} +33 -33
- package/dist/{src-SGPA7DM7.js → src-E34ZBMAS.js} +9 -9
- package/dist/{src-JGPFLYBL.js → src-XRFOS5LP.js} +6 -6
- package/dist/{staticProjectServer-UVFPQEUZ.js → staticProjectServer-COEAKTGH.js} +17 -17
- package/dist/studio/assets/{hyperframes-player-BulZP0_1.js → hyperframes-player-C0SyMC21.js} +1 -1
- package/dist/studio/assets/{index-CGncBUsJ.js → index-DHUassFP.js} +1 -1
- package/dist/studio/assets/{index-B1Gypobp.js → index-ueMRyAJ2.js} +173 -172
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-RVIU7JP2.js → studio-api-455XWQPD.js} +11 -11
- package/dist/{studioServer-K22MWDLW.js → studioServer-XK5N6PIB.js} +52 -67
- package/dist/{synthesize-W2M7QGDV.js → synthesize-I2C24XJ5.js} +2 -2
- package/dist/{telemetry-SUAMGBFK.js → telemetry-DD5ZIBOK.js} +4 -4
- package/dist/{timeline-SGVBFT36.js → timeline-MJJEX5CU.js} +20 -20
- package/dist/{tokens-IFHWY5WC.js → tokens-AKUZMYRE.js} +2 -2
- package/dist/{transcribe-KAOCI5CW.js → transcribe-ER7GGF4L.js} +11 -11
- package/dist/{transcribe-GY4JHB7V.js → transcribe-ZQI5P2LH.js} +17 -17
- package/dist/{tts-RE227GFP.js → tts-EDK3QS7M.js} +3 -3
- package/dist/{updateCheck-YUNDJDLW.js → updateCheck-GYFCXFWR.js} +2 -2
- package/dist/{upgrade-PL2BFWTO.js → upgrade-UNWHMZP5.js} +2 -2
- package/dist/{urlDownloader-FZ5ISJES.js → urlDownloader-QF7EBQC2.js} +6 -6
- package/dist/{validate-2NALRIFW.js → validate-32CQZFNZ.js} +24 -24
- package/dist/{video-7CDAIWYC.js → video-2KGC3RIQ.js} +7 -7
- package/package.json +1 -2
- package/dist/chunk-EEXE43II.js +0 -3805
- package/dist/chunk-TWWSYAKJ.js +0 -24
- package/dist/deploy-3TTQZGTF.js +0 -116
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../engine/src/services/chromeHostCeiling.ts
|
|
9
|
+
import { spawnSync } from "child_process";
|
|
10
|
+
import { debuglog } from "util";
|
|
11
|
+
import { release } from "os";
|
|
12
|
+
var MACOS_12_LAST_CHROME_MAJOR = 150;
|
|
13
|
+
function chromeMajorCeiling(hostPlatform = process.platform, hostRelease = release()) {
|
|
14
|
+
if (hostPlatform !== "darwin") return void 0;
|
|
15
|
+
return Number.parseInt(hostRelease, 10) < 22 ? MACOS_12_LAST_CHROME_MAJOR : void 0;
|
|
16
|
+
}
|
|
17
|
+
function exceedsChromeCeiling(versionName, ceiling) {
|
|
18
|
+
if (ceiling === void 0) return false;
|
|
19
|
+
const major = Number.parseInt(versionName.slice(versionName.indexOf("-") + 1), 10);
|
|
20
|
+
return major > ceiling;
|
|
21
|
+
}
|
|
22
|
+
var CHROME_VERSION = "152.0.7977.30";
|
|
23
|
+
var MACOS_12_CHROME_VERSION = "150.0.7871.124";
|
|
24
|
+
function managedChromeVersion(hostPlatform = process.platform, hostRelease = release()) {
|
|
25
|
+
return chromeMajorCeiling(hostPlatform, hostRelease) === void 0 ? CHROME_VERSION : MACOS_12_CHROME_VERSION;
|
|
26
|
+
}
|
|
27
|
+
var isManagedChromeDir = (versionName) => versionName.slice(versionName.indexOf("-") + 1) === managedChromeVersion();
|
|
28
|
+
function compareBrowserVersionsDescending(left, right) {
|
|
29
|
+
const parse = (value) => {
|
|
30
|
+
const version = value.slice(value.indexOf("-") + 1);
|
|
31
|
+
const segments = [];
|
|
32
|
+
for (const segment of version.split(".")) {
|
|
33
|
+
const parsed = Number.parseInt(segment, 10);
|
|
34
|
+
if (!Number.isFinite(parsed)) break;
|
|
35
|
+
segments.push(parsed);
|
|
36
|
+
}
|
|
37
|
+
return segments;
|
|
38
|
+
};
|
|
39
|
+
const leftSegments = parse(left);
|
|
40
|
+
const rightSegments = parse(right);
|
|
41
|
+
const length = Math.max(leftSegments.length, rightSegments.length);
|
|
42
|
+
for (let index = 0; index < length; index += 1) {
|
|
43
|
+
const difference = (rightSegments[index] ?? 0) - (leftSegments[index] ?? 0);
|
|
44
|
+
if (difference !== 0) return difference;
|
|
45
|
+
}
|
|
46
|
+
return 0;
|
|
47
|
+
}
|
|
48
|
+
var starts = /* @__PURE__ */ new Map();
|
|
49
|
+
var debug = debuglog("hyperframes:browser");
|
|
50
|
+
function shellStarts(binary) {
|
|
51
|
+
let answer = starts.get(binary);
|
|
52
|
+
if (answer === void 0) {
|
|
53
|
+
const probe = ["--no-sandbox", "--dump-dom", "about:blank"];
|
|
54
|
+
answer = spawnSync(binary, probe, { stdio: "ignore", timeout: 1e4 })?.status === 0;
|
|
55
|
+
if (!answer) debug("skipping %s: it did not start", binary);
|
|
56
|
+
starts.set(binary, answer);
|
|
57
|
+
}
|
|
58
|
+
return answer;
|
|
59
|
+
}
|
|
60
|
+
function pickSharedShell(versions, shell) {
|
|
61
|
+
const managed = versions.find(isManagedChromeDir);
|
|
62
|
+
const pinned = managed && shell(managed);
|
|
63
|
+
if (pinned) return pinned;
|
|
64
|
+
const ceiling = chromeMajorCeiling();
|
|
65
|
+
for (const version of [...versions].sort(compareBrowserVersionsDescending)) {
|
|
66
|
+
if (version === managed || exceedsChromeCeiling(version, ceiling)) continue;
|
|
67
|
+
const binary = shell(version);
|
|
68
|
+
if (binary && shellStarts(binary)) return binary;
|
|
69
|
+
}
|
|
70
|
+
return void 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
chromeMajorCeiling,
|
|
75
|
+
exceedsChromeCeiling,
|
|
76
|
+
managedChromeVersion,
|
|
77
|
+
isManagedChromeDir,
|
|
78
|
+
compareBrowserVersionsDescending,
|
|
79
|
+
pickSharedShell
|
|
80
|
+
};
|
|
@@ -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-2LHNVY2F.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -13,7 +13,7 @@ function truncateTelemetryString(value, maxLength) {
|
|
|
13
13
|
return `${value.slice(0, maxLength - 1)}\u2026`;
|
|
14
14
|
}
|
|
15
15
|
function redactUrlQueryStrings(value) {
|
|
16
|
-
return value.replace(/\b(https?:\/\/[^\s?]+)\?[^\s]*/g, "$1?\u2026");
|
|
16
|
+
return value.replace(/\b(https?:\/\/[^\s?]+)\?[^\s]*/g, "$1?\u2026").replace(/((?:X-(?:Amz|Goog)-[\w-]*|Signature)=)[^&\s]*/gi, "$1\u2026");
|
|
17
17
|
}
|
|
18
18
|
var SEGMENT = String.raw`[^\s/\\'"]+`;
|
|
19
19
|
var SEGMENT_NODOT = String.raw`[^\s/\\'".]+`;
|
|
@@ -52,6 +52,7 @@ function redactTelemetryString(value, maxLength = MAX_TELEMETRY_STRING_LENGTH) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export {
|
|
55
|
+
redactUrlQueryStrings,
|
|
55
56
|
redactKnownPaths,
|
|
56
57
|
redactTelemetryString
|
|
57
58
|
};
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VU4JLRNH.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-XRFOS5LP.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -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-DLF5KIBL.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -5,8 +5,9 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
RENDER_TEMP_DIR,
|
|
8
9
|
STUDIO_MANUAL_EDITS_PATH
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EVMY7IPL.js";
|
|
10
11
|
import {
|
|
11
12
|
realpath,
|
|
12
13
|
resolveWithinProject
|
|
@@ -199,7 +200,7 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
|
|
|
199
200
|
applyManifest();
|
|
200
201
|
}
|
|
201
202
|
|
|
202
|
-
// ../studio-server/dist/chunk-
|
|
203
|
+
// ../studio-server/dist/chunk-QF7MFJJU.js
|
|
203
204
|
import { basename, dirname, isAbsolute, join, relative, sep } from "path";
|
|
204
205
|
import { readdirSync } from "fs";
|
|
205
206
|
function resolveWithinProject2(base, relativePath) {
|
|
@@ -265,7 +266,8 @@ function walkDir(dir, prefix = "") {
|
|
|
265
266
|
const files = [];
|
|
266
267
|
for (const entry of entries) {
|
|
267
268
|
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
268
|
-
if (IGNORE_DIRS.has(entry.name) || shouldIgnoreDir(rel))
|
|
269
|
+
if (IGNORE_DIRS.has(entry.name) || RENDER_TEMP_DIR.test(entry.name) || shouldIgnoreDir(rel))
|
|
270
|
+
continue;
|
|
269
271
|
if (entry.isDirectory()) {
|
|
270
272
|
files.push(...walkDir(join(dir, entry.name), rel));
|
|
271
273
|
} else {
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PU33GPG4.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AHS5QYKF.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
} from "./chunk-6JR2XUEE.js";
|
|
12
12
|
import {
|
|
13
13
|
readCompositionFps
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A3RUVTGB.js";
|
|
15
15
|
import {
|
|
16
16
|
HF_AUDIO_GROUP_ATTR,
|
|
17
17
|
extractAudioMetadata,
|
|
18
18
|
extractMediaMetadata,
|
|
19
19
|
resolveReferencedDuration,
|
|
20
20
|
resolveReferencedStart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VU4JLRNH.js";
|
|
22
22
|
import {
|
|
23
23
|
byStart,
|
|
24
24
|
compositionOriginSeconds,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
hostInPointSeconds,
|
|
28
28
|
parseFpsWithDefault,
|
|
29
29
|
resolveMediaStartSeconds
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AHS5QYKF.js";
|
|
31
31
|
import {
|
|
32
32
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
33
33
|
HF_AUDIO_FX_ATTR,
|
|
34
34
|
parseAudioFxChain,
|
|
35
35
|
parseAutomation,
|
|
36
36
|
resolveAutomation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PLNQW2C6.js";
|
|
38
38
|
import {
|
|
39
39
|
isSubCompositionHost,
|
|
40
40
|
topLevelElements,
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WOXRCPJU.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MXNKK7HY.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DHKYJYOY.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XSQWXUK2.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M2DZX2DP.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -6,25 +6,25 @@ 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-XX4ZYQR6.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VCDWVVDV.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-ORM7SJ7K.js";
|
|
20
20
|
import {
|
|
21
21
|
gotoWhenSent,
|
|
22
22
|
launchManagedBrowser,
|
|
23
23
|
resolveManagedGpuMode
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-52L2L46Q.js";
|
|
25
25
|
import {
|
|
26
26
|
pageNavigationTimeoutMs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LO4DHZLH.js";
|
|
28
28
|
import {
|
|
29
29
|
defineCommand
|
|
30
30
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HU4PBQGJ.js";
|
|
42
42
|
import {
|
|
43
43
|
normalizeErrorMessage
|
|
44
44
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
|
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
711
|
async function bundleProjectHtml(projectDir) {
|
|
712
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
712
|
+
const { bundleToSingleHtml } = await import("./compiler-CQ6OKYT5.js");
|
|
713
713
|
return bundleToSingleHtml(projectDir);
|
|
714
714
|
}
|
|
715
715
|
async function alignViewportToComposition(page, url) {
|
|
@@ -726,15 +726,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
726
726
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
727
727
|
}
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
|
-
const { ensureBrowser } = await import("./manager-
|
|
729
|
+
const { ensureBrowser } = await import("./manager-V2QCCPOJ.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-XRFOS5LP.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-IGZOHHMX.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -73,8 +73,7 @@ function samDeploy(opts) {
|
|
|
73
73
|
if (opts.awsProfile) {
|
|
74
74
|
args.push("--profile", opts.awsProfile);
|
|
75
75
|
}
|
|
76
|
-
const
|
|
77
|
-
const result = spawnSync("sam", args, { cwd: samDir, stdio: opts.stdio ?? "inherit" });
|
|
76
|
+
const result = spawnSync("sam", args, { cwd: opts.samDir, stdio: opts.stdio ?? "inherit" });
|
|
78
77
|
if (result.status !== 0) {
|
|
79
78
|
throw new Error(
|
|
80
79
|
`[lambda] sam deploy exited with code ${result.status ?? "unknown"}
|
|
@@ -91,8 +90,7 @@ function samDelete(opts) {
|
|
|
91
90
|
if (opts.awsProfile) {
|
|
92
91
|
args.push("--profile", opts.awsProfile);
|
|
93
92
|
}
|
|
94
|
-
const
|
|
95
|
-
const result = spawnSync("sam", args, { cwd: samDir, stdio: opts.stdio ?? "inherit" });
|
|
93
|
+
const result = spawnSync("sam", args, { cwd: opts.samDir, stdio: opts.stdio ?? "inherit" });
|
|
96
94
|
if (result.status !== 0) {
|
|
97
95
|
throw new Error(`[lambda] sam delete exited with code ${result.status ?? "unknown"}`);
|
|
98
96
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M5CJQ6EH.js";
|
|
12
12
|
import {
|
|
13
13
|
getPowerState
|
|
14
14
|
} from "./chunk-T6AGUTZJ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-XUXGIA7H.js";
|
|
21
21
|
import {
|
|
22
22
|
redactTelemetryString
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-634HSJ3J.js";
|
|
24
24
|
|
|
25
25
|
// src/utils/feedbackRating.ts
|
|
26
26
|
var FEEDBACK_RATING_SCALE = 10;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XSQWXUK2.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M2DZX2DP.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5RS2FIZU.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -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.179" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.179" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
runRenderSetupWorker
|
|
9
9
|
} from "./chunk-D3ZWBHZP.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
11
|
+
managedChromeVersion,
|
|
12
|
+
pickSharedShell
|
|
13
|
+
} from "./chunk-537IYAEE.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeErrorMessage
|
|
16
16
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -43,11 +43,6 @@ Fix: run \`npm install\` or \`bun install\` to restore missing packages, then re
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var CHROME_VERSION = "152.0.7977.30";
|
|
47
|
-
var MACOS_12_CHROME_VERSION = "150.0.7871.124";
|
|
48
|
-
function managedChromeVersion() {
|
|
49
|
-
return chromeMajorCeiling() === void 0 ? CHROME_VERSION : MACOS_12_CHROME_VERSION;
|
|
50
|
-
}
|
|
51
46
|
var CACHE_ROOT_DIR = join(homedir(), ".cache", "hyperframes");
|
|
52
47
|
var CACHE_DIR = join(homedir(), ".cache", "hyperframes", "chrome");
|
|
53
48
|
var PUPPETEER_CACHE_DIR = join(homedir(), ".cache", "puppeteer", "chrome-headless-shell");
|
|
@@ -244,39 +239,10 @@ async function findFromHyperframesCache() {
|
|
|
244
239
|
return {};
|
|
245
240
|
}
|
|
246
241
|
async function findFromCache() {
|
|
242
|
+
const ours = await findFromHyperframesCache();
|
|
243
|
+
if (ours.result) return ours;
|
|
247
244
|
const fromPuppeteer = findFromPuppeteerCache();
|
|
248
|
-
|
|
249
|
-
return { result: fromPuppeteer };
|
|
250
|
-
}
|
|
251
|
-
return findFromHyperframesCache();
|
|
252
|
-
}
|
|
253
|
-
function parseVersionSegments(versionDir) {
|
|
254
|
-
const dashIdx = versionDir.indexOf("-");
|
|
255
|
-
const versionPart = dashIdx >= 0 ? versionDir.slice(dashIdx + 1) : versionDir;
|
|
256
|
-
const segments = versionPart.split(".");
|
|
257
|
-
const parsed = [];
|
|
258
|
-
for (const seg of segments) {
|
|
259
|
-
const n = parseInt(seg, 10);
|
|
260
|
-
if (!Number.isFinite(n)) {
|
|
261
|
-
break;
|
|
262
|
-
}
|
|
263
|
-
parsed.push(n);
|
|
264
|
-
}
|
|
265
|
-
return parsed.length > 0 ? parsed : void 0;
|
|
266
|
-
}
|
|
267
|
-
function compareVersionDirsDescending(a, b) {
|
|
268
|
-
const pa = parseVersionSegments(a);
|
|
269
|
-
const pb = parseVersionSegments(b);
|
|
270
|
-
if (!pa && !pb) return 0;
|
|
271
|
-
if (!pa) return 1;
|
|
272
|
-
if (!pb) return -1;
|
|
273
|
-
const len = Math.max(pa.length, pb.length);
|
|
274
|
-
for (let i = 0; i < len; i += 1) {
|
|
275
|
-
const av = pa[i] ?? 0;
|
|
276
|
-
const bv = pb[i] ?? 0;
|
|
277
|
-
if (av !== bv) return bv - av;
|
|
278
|
-
}
|
|
279
|
-
return 0;
|
|
245
|
+
return fromPuppeteer ? { result: fromPuppeteer } : ours;
|
|
280
246
|
}
|
|
281
247
|
var CACHED_HEADLESS_SHELL_EXECUTABLES = {
|
|
282
248
|
"darwin/arm64": ["chrome-headless-shell-mac-arm64", "chrome-headless-shell"],
|
|
@@ -294,19 +260,15 @@ function findFromPuppeteerCache() {
|
|
|
294
260
|
if (!executable) return void 0;
|
|
295
261
|
let versions;
|
|
296
262
|
try {
|
|
297
|
-
versions =
|
|
263
|
+
versions = readdirSync(PUPPETEER_CACHE_DIR);
|
|
298
264
|
} catch {
|
|
299
265
|
return void 0;
|
|
300
266
|
}
|
|
301
|
-
const
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
return { executablePath: binary, source: "cache" };
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
return void 0;
|
|
267
|
+
const binary = pickSharedShell(versions, (version) => {
|
|
268
|
+
const candidate = join(PUPPETEER_CACHE_DIR, version, ...executable);
|
|
269
|
+
return isUsableExecutable(candidate) ? candidate : void 0;
|
|
270
|
+
});
|
|
271
|
+
return binary ? { executablePath: binary, source: "cache" } : void 0;
|
|
310
272
|
}
|
|
311
273
|
function isHeadlessShellBinary(executablePath) {
|
|
312
274
|
const name = basename(executablePath).toLowerCase();
|
|
@@ -610,7 +572,6 @@ function isLinuxArm() {
|
|
|
610
572
|
}
|
|
611
573
|
|
|
612
574
|
export {
|
|
613
|
-
managedChromeVersion,
|
|
614
575
|
CACHE_DIR,
|
|
615
576
|
withInstallLock,
|
|
616
577
|
releaseOwnedBrowserInstallLock,
|
|
@@ -4,9 +4,6 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
c
|
|
9
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
10
7
|
import {
|
|
11
8
|
VALID_CANVAS_RESOLUTIONS,
|
|
12
9
|
resolveResolutionFlagPair
|
|
@@ -26,20 +23,6 @@ function parseOutputResolutionFlag(raw, options) {
|
|
|
26
23
|
);
|
|
27
24
|
}
|
|
28
25
|
|
|
29
|
-
// src/utils/missingPackage.ts
|
|
30
|
-
function isMissingPackageError(error, pkg) {
|
|
31
|
-
return error?.code === "ERR_MODULE_NOT_FOUND" && error instanceof Error && error.message.includes(`Cannot find package '${pkg}'`);
|
|
32
|
-
}
|
|
33
|
-
function missingPackageMessage(pkg, command) {
|
|
34
|
-
return `${c.error(`${pkg} is not installed.`)} The ${c.accent(command)} command needs it at runtime.
|
|
35
|
-
Install it alongside the CLI:
|
|
36
|
-
${c.accent(`npm install -g ${pkg}`)}
|
|
37
|
-
Or, for an opt-in project setup:
|
|
38
|
-
${c.accent(`npm install ${pkg}`)}`;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
26
|
export {
|
|
42
|
-
parseOutputResolutionFlag
|
|
43
|
-
isMissingPackageError,
|
|
44
|
-
missingPackageMessage
|
|
27
|
+
parseOutputResolutionFlag
|
|
45
28
|
};
|
|
@@ -583,7 +583,29 @@ function studioManualEditsRenderRuntime(manifestContent, activeCompositionPath)
|
|
|
583
583
|
}, 50);
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
+
// ../core/dist/projectFolders.js
|
|
587
|
+
var PREVIEW_IGNORED_DIRS = /* @__PURE__ */ new Set([
|
|
588
|
+
".cache",
|
|
589
|
+
".git",
|
|
590
|
+
".hyperframes",
|
|
591
|
+
".next",
|
|
592
|
+
".thumbnails",
|
|
593
|
+
".transcode-cache",
|
|
594
|
+
".vite",
|
|
595
|
+
".waveform-cache",
|
|
596
|
+
"build",
|
|
597
|
+
"coverage",
|
|
598
|
+
"dist",
|
|
599
|
+
"node_modules",
|
|
600
|
+
"outputs",
|
|
601
|
+
"renders"
|
|
602
|
+
]);
|
|
603
|
+
var RENDER_TEMP_DIR = /^(work-[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}|hf-render|\..+\.hf-transaction)-[A-Za-z0-9]{6}$/;
|
|
604
|
+
var isProjectIgnoredDir = (name) => PREVIEW_IGNORED_DIRS.has(name) || RENDER_TEMP_DIR.test(name);
|
|
605
|
+
|
|
586
606
|
export {
|
|
607
|
+
RENDER_TEMP_DIR,
|
|
608
|
+
isProjectIgnoredDir,
|
|
587
609
|
STUDIO_MANUAL_EDITS_PATH,
|
|
588
610
|
createStudioManualEditsRenderBodyScript,
|
|
589
611
|
createStudioPositionSeekReapplyScript
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VU4JLRNH.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AHS5QYKF.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3EJYUZHW.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PLNQW2C6.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|