hyperframes 0.8.162 → 0.8.163
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-UW7GCPQF.js → add-Y7BGO2MK.js} +11 -11
- package/dist/{animatedGifPrep-YAJTDXB7.js → animatedGifPrep-NUU6VMFL.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-TWBPYQOL.js → asset-OONPCZS5.js} +2 -2
- package/dist/{assetCataloger-BIDQA34M.js → assetCataloger-YWJRJK23.js} +2 -2
- package/dist/{audio-DJIE4YLH.js → audio-KPTXNHDC.js} +10 -10
- package/dist/{auth-VTCEZYBT.js → auth-UKXSZ4WA.js} +1 -1
- package/dist/{autoUpdate-JA3SV472.js → autoUpdate-4MRUONUQ.js} +2 -2
- package/dist/{backgroundChecks-J3WJDPQJ.js → backgroundChecks-X5M7Z6L7.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-C2JCG5EK.js → batchRender-GJ65EZ26.js} +3 -3
- package/dist/{beats-QVJVXZV5.js → beats-EQNT7OZE.js} +4 -4
- package/dist/{benchmark-WNBAKOXS.js → benchmark-WXWALVZJ.js} +8 -8
- package/dist/{browser-VJOTRIXL.js → browser-ZSNFVRC3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-SLBVWQ7O.js → bundleWithLocalizedFonts-O3BXZLCD.js} +2 -2
- package/dist/{capture-GUO23PVN.js → capture-JFFYE7XM.js} +2 -2
- package/dist/{capture-M5ZAD3BI.js → capture-TKWJBFGC.js} +9 -9
- package/dist/{catalog-SAC4GFIN.js → catalog-LK5MNUQY.js} +11 -11
- package/dist/{catch-up-T5RIRFJF.js → catch-up-ISTWIF6K.js} +4 -4
- package/dist/{check-IRETF27J.js → check-YVEBXKNY.js} +30 -30
- package/dist/{checkBrowser-5IXR4QCK.js → checkBrowser-OJAXYTRD.js} +28 -27
- package/dist/{chunk-VXVRPIJA.js → chunk-23IS5QVP.js} +69 -1
- package/dist/{chunk-B5FZ2CQM.js → chunk-2ALJMIFW.js} +1 -1
- package/dist/{chunk-ZEWX3GHP.js → chunk-2XIPB4MP.js} +1 -1
- package/dist/{chunk-RTS7BGEC.js → chunk-3E3VMAAM.js} +1 -1
- package/dist/{chunk-MMV6IY6U.js → chunk-3KY7FUSS.js} +2 -2
- package/dist/{chunk-XTLV6UVP.js → chunk-3TKNBY6K.js} +2 -2
- package/dist/{chunk-LYIG2GZ5.js → chunk-42AER3PM.js} +1 -1
- package/dist/{chunk-5K34RPE5.js → chunk-43H7XDO6.js} +2 -2
- package/dist/{chunk-B7RUGHBT.js → chunk-4LXWLCIX.js} +1 -1
- package/dist/{chunk-GS5EXZBV.js → chunk-54E2ELUA.js} +9 -9
- package/dist/{chunk-4ID635FL.js → chunk-5K5YH6M7.js} +1 -1
- package/dist/{chunk-GJQHHAAX.js → chunk-74H5SHQL.js} +3 -3
- package/dist/{chunk-PLEMSN3E.js → chunk-A356JY2J.js} +29 -19
- package/dist/{chunk-OMJA7JP6.js → chunk-AFPGUKMN.js} +4 -4
- package/dist/{chunk-RGYEL7QD.js → chunk-AXATVUCD.js} +3 -3
- package/dist/{chunk-GG37I7B3.js → chunk-BHGIBGUZ.js} +1 -1
- package/dist/{chunk-5YSHR4XC.js → chunk-CXVBPW5F.js} +6 -6
- package/dist/{chunk-GIPNECWL.js → chunk-D5PUMG2P.js} +1 -1
- package/dist/{chunk-D33YJZOH.js → chunk-DSXDYQQV.js} +1 -1
- package/dist/{chunk-PPF65XAF.js → chunk-GD7VU7CY.js} +1 -1
- package/dist/{chunk-ERTJPFCH.js → chunk-H3JGPRWA.js} +1 -1
- package/dist/{chunk-EVRUR7DW.js → chunk-H45RC6HN.js} +1 -1
- package/dist/{chunk-DJZEIVAP.js → chunk-H46R2BND.js} +1 -1
- package/dist/{chunk-YLBV2PXM.js → chunk-HQMWZNO2.js} +12 -1
- package/dist/{chunk-XWWYGXJ5.js → chunk-JEW5CCRU.js} +2 -2
- package/dist/{chunk-FF5TAEPT.js → chunk-JYR3YAAK.js} +1 -1
- package/dist/{chunk-JJYFRAI4.js → chunk-LHETZ63N.js} +1 -1
- package/dist/{chunk-G642IIVK.js → chunk-LMHXUDSR.js} +1 -1
- package/dist/{chunk-NQR5SBXX.js → chunk-M4237QMQ.js} +1 -1
- package/dist/{chunk-YJKUE3LV.js → chunk-NU4PDQ6G.js} +1 -1
- package/dist/{chunk-Q3TFX4OZ.js → chunk-NZ7K76Y2.js} +1 -1
- package/dist/{chunk-MP676E4B.js → chunk-O2CXBATN.js} +4 -3
- package/dist/{chunk-PBNV5V5G.js → chunk-OFD2XWIQ.js} +13 -2
- package/dist/{chunk-KAKBRDU4.js → chunk-OGGPNDGO.js} +2 -2
- package/dist/{chunk-3LQEZ4EI.js → chunk-OZUYK6IS.js} +1 -1
- package/dist/{chunk-N2NDDTYW.js → chunk-QGYAHDOR.js} +2 -2
- package/dist/{chunk-ON2HYNGB.js → chunk-QXAXCRK5.js} +6 -6
- package/dist/{chunk-2ZLYSXZC.js → chunk-R64V3KQN.js} +10 -9
- package/dist/{chunk-T65MIV36.js → chunk-SQN7N27A.js} +3 -3
- package/dist/{chunk-KIJO75L4.js → chunk-TQMJKZS5.js} +18 -4
- package/dist/{chunk-P4QE7SSN.js → chunk-ULAB77ZO.js} +1 -1
- package/dist/{chunk-YU2QRNWN.js → chunk-UZOZ2W2E.js} +3 -2
- package/dist/{chunk-3NSVHCOH.js → chunk-VG3ZMY2H.js} +2 -2
- package/dist/{chunk-GNFWKGSQ.js → chunk-WJVDUUH2.js} +2 -2
- package/dist/{chunk-S6OLD4SL.js → chunk-WMXOKTGO.js} +7 -7
- package/dist/{chunk-T5BG7PYZ.js → chunk-Z6P5OVCF.js} +1 -1
- package/dist/{chunk-SB5DX6AD.js → chunk-Z6VBXCYN.js} +2 -2
- package/dist/{chunk-P47XYVEQ.js → chunk-ZJO4SLHC.js} +1 -1
- package/dist/{chunk-AAUK5GDI.js → chunk-ZVOCFUPA.js} +9 -9
- package/dist/{clean-WB62QULT.js → clean-PGEA3UPT.js} +11 -11
- package/dist/cli.js +53 -53
- package/dist/{cloud-E5WB4DWZ.js → cloud-SAODZ2PK.js} +4 -4
- package/dist/{cloudrun-BIQXBUDO.js → cloudrun-RMBT2JQK.js} +3 -3
- package/dist/commands/layout-audit.browser.js +347 -20
- package/dist/{compare-GHFVHZ5A.js → compare-R7X7LXCX.js} +22 -22
- package/dist/{compiler-57M6W5WY.js → compiler-RKH75FZH.js} +2 -2
- package/dist/{component-ZGCC3MHX.js → component-DTVCMTLX.js} +3 -3
- package/dist/{compositions-THPEDDIX.js → compositions-UXS2ISGS.js} +9 -9
- package/dist/{delete-6FWT7DZX.js → delete-LIGHRH4L.js} +2 -2
- package/dist/{dist-4JFB3WAR.js → dist-P5OHBFEV.js} +2 -2
- package/dist/{doctor-RDGDOUC4.js → doctor-6VR5JUWZ.js} +7 -7
- package/dist/{events-VHXICDA2.js → events-YP2MRCPP.js} +2 -2
- package/dist/{events-CU6FDXHC.js → events-ZQFIOH5Z.js} +3 -3
- package/dist/{feedback-PUPN6EKP.js → feedback-47UEIUOO.js} +7 -7
- package/dist/{figma-ZKWBF7QH.js → figma-ZTHHEDY5.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-JHIBQRPM.js → get-EZGQNT7G.js} +2 -2
- package/dist/{gpuPolicy-VGE3I5J4.js → gpuPolicy-SYV7N237.js} +5 -5
- package/dist/{grade-compare-GPLUXDPW.js → grade-compare-SEFOAA4E.js} +22 -22
- package/dist/{help-GO6RGM37.js → help-WIZONGVE.js} +1 -1
- package/dist/{history-RUTC4SH5.js → history-PE45CSGA.js} +6 -6
- package/dist/hyperframe-runtime.js +23 -23
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +23 -23
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-773VXW37.js → info-WIRSMQKB.js} +7 -7
- package/dist/{init-YXSIRYZI.js → init-N26RW4YN.js} +20 -20
- package/dist/{inspect-L4RRJEAA.js → inspect-XHQUASDV.js} +23 -23
- package/dist/{installer-T3STEB4U.js → installer-QWK7EA5M.js} +4 -4
- package/dist/{keyframes-P5IOQ6AM.js → keyframes-RNTYYHMK.js} +6 -6
- package/dist/{lambda-RAJA6ZNA.js → lambda-LQHGF3LK.js} +4 -4
- package/dist/{layout-OH2VTN5E.js → layout-YRCKPNAO.js} +23 -23
- package/dist/{lint-YEEPVE6Q.js → lint-HLOZHJVM.js} +6 -6
- package/dist/{list-QURRZTVN.js → list-X7NTQB32.js} +2 -2
- package/dist/{login-DFT4L5YY.js → login-S7PVNUEB.js} +4 -4
- package/dist/{media-treatment-ERQ2PBIN.js → media-treatment-465Y6CWE.js} +8 -8
- package/dist/{models-OA4MXEYG.js → models-J2FZXHMD.js} +8 -8
- package/dist/{motionShot-C2YDYRNB.js → motionShot-K6OBEZ2N.js} +11 -11
- package/dist/{normalize-audio-R23VODOA.js → normalize-audio-VODIXLAC.js} +4 -4
- package/dist/{open-GEOB4L3S.js → open-K5OZGYJ7.js} +4 -4
- package/dist/{parakeetRunner-DBLHMD5T.js → parakeetRunner-NDIU5PKO.js} +8 -8
- package/dist/{pipeline-FSY65OQ4.js → pipeline-UKGI44NN.js} +5 -5
- package/dist/{play-BYUS37GA.js → play-QOXKOZ6L.js} +16 -16
- package/dist/{present-BZLRNHDY.js → present-7CVCJIS3.js} +12 -12
- package/dist/{preview-TXML6PQ7.js → preview-HX5F6RGT.js} +15 -15
- package/dist/{producer-C5V2A3YL.js → producer-66MQWVVQ.js} +1 -1
- package/dist/{projectConfig-X2IEHCSK.js → projectConfig-EVBNJKPS.js} +6 -6
- package/dist/{publication-JEANCWBW.js → publication-F6BOBZMI.js} +2 -2
- package/dist/{publish-VX5OH4ST.js → publish-6KTQDKL6.js} +8 -8
- package/dist/{remove-background-IXCISD26.js → remove-background-TJTKY3YM.js} +6 -6
- package/dist/{render-57SXH6NS.js → render-TRU75TVB.js} +42 -29
- package/dist/{render-ISUT7Q3X.js → render-X4MWSR5L.js} +3 -3
- package/dist/{render-JTY7XQFQ.js → render-XS22VQHC.js} +9 -9
- package/dist/{render-batch-2C6RUP3F.js → render-batch-VKFOIMV5.js} +3 -3
- package/dist/{resolver-KTNKZVIB.js → resolver-VGAM26OR.js} +4 -4
- package/dist/{sherpa-GFRG3TMM.js → sherpa-3OI5VMCY.js} +9 -7
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/{skills-2LBVMKVY.js → skills-RKDR4AXV.js} +5 -5
- package/dist/{skillsUpdateCheck-5DRXL565.js → skillsUpdateCheck-QWIERB7M.js} +3 -3
- package/dist/{snapshot-V2L77FCF.js → snapshot-SSSF334Y.js} +25 -25
- package/dist/{src-GPUDUKY6.js → src-LZXECBBQ.js} +4 -4
- package/dist/{src-IMCQRH4P.js → src-RQPKPFRO.js} +6 -6
- package/dist/{staticProjectServer-4CQ3KDQK.js → staticProjectServer-DMG2CER4.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-CAclPB6q.js → hyperframes-player-oCk9rjq9.js} +1 -1
- package/dist/studio/assets/{index-DCwGKghK.js → index-BOQPXBQ0.js} +1 -1
- package/dist/studio/assets/{index-B82aOvgB.js → index-DK2wgdLx.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-RYCDLEOR.js → studio-api-KRPBPUYQ.js} +6 -6
- package/dist/{studioServer-B7H7EQ4U.js → studioServer-KWNULEM4.js} +54 -41
- package/dist/{telemetry-WVHWY3DU.js → telemetry-4G6CD3X7.js} +3 -3
- package/dist/{timeline-EDXJ5L45.js → timeline-TKPBJ4EP.js} +13 -13
- package/dist/{tokens-UNJONAXT.js → tokens-TX7THSB7.js} +2 -2
- package/dist/{transcribe-VX7ZE2IZ.js → transcribe-7DBONX4C.js} +12 -12
- package/dist/{transcribe-FL6NGWHF.js → transcribe-HOLKYWY5.js} +6 -6
- package/dist/{updateCheck-NLH5E44Q.js → updateCheck-64D7B73Z.js} +2 -2
- package/dist/{upgrade-RGQJA2B4.js → upgrade-MXQDGGYO.js} +2 -2
- package/dist/{urlDownloader-KDJGLR2Y.js → urlDownloader-Z435W35E.js} +4 -4
- package/dist/{validate-4AN4PDV7.js → validate-5ZNGP5QO.js} +17 -17
- package/dist/{video-AHO4CDCK.js → video-62JJK3XL.js} +5 -5
- package/package.json +1 -1
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
} from "./chunk-QABAVWEX.js";
|
|
21
21
|
import {
|
|
22
22
|
captureArtifactRevision
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-JYR3YAAK.js";
|
|
24
|
+
import "./chunk-LHETZ63N.js";
|
|
25
25
|
import "./chunk-X7MTZ4T2.js";
|
|
26
26
|
import {
|
|
27
27
|
loadProducer
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ULAB77ZO.js";
|
|
29
29
|
import {
|
|
30
30
|
trackLintRun
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WJVDUUH2.js";
|
|
32
32
|
import {
|
|
33
33
|
assertionTargets,
|
|
34
34
|
buildLayoutSampleTimes,
|
|
@@ -47,44 +47,44 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-54E2ELUA.js";
|
|
51
|
+
import "./chunk-QXAXCRK5.js";
|
|
52
52
|
import {
|
|
53
53
|
BrowserCleanupError,
|
|
54
54
|
closeManagedBrowser
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2ALJMIFW.js";
|
|
56
56
|
import "./chunk-FH7WODJH.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-H3JGPRWA.js";
|
|
58
58
|
import "./chunk-WPNE5NEP.js";
|
|
59
59
|
import {
|
|
60
60
|
resolveProject
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NU4PDQ6G.js";
|
|
62
62
|
import "./chunk-K2FLNJVB.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-AXATVUCD.js";
|
|
64
64
|
import "./chunk-X7MTZ4T2.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-JEW5CCRU.js";
|
|
66
66
|
import "./chunk-DQBY7FRR.js";
|
|
67
67
|
import {
|
|
68
68
|
resolveLocalBrowserGpuMode
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-Z6VBXCYN.js";
|
|
70
70
|
import "./chunk-442JNXRM.js";
|
|
71
71
|
import "./chunk-XUHOIDKG.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-CXVBPW5F.js";
|
|
73
|
+
import "./chunk-D5PUMG2P.js";
|
|
74
74
|
import "./chunk-6JR2XUEE.js";
|
|
75
75
|
import "./chunk-C6TPGUWD.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-5K5YH6M7.js";
|
|
77
77
|
import {
|
|
78
78
|
recordArtifacts
|
|
79
79
|
} from "./chunk-JGYHWVXQ.js";
|
|
80
80
|
import "./chunk-FFDC5OWV.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-BHGIBGUZ.js";
|
|
82
82
|
import "./chunk-XT7X6QCP.js";
|
|
83
83
|
import "./chunk-4YYJOFKS.js";
|
|
84
84
|
import "./chunk-HVW7ABXD.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-DSXDYQQV.js";
|
|
86
|
+
import "./chunk-QGYAHDOR.js";
|
|
87
|
+
import "./chunk-H45RC6HN.js";
|
|
88
88
|
import "./chunk-AWDFDFI3.js";
|
|
89
89
|
import "./chunk-P6LJ4Y32.js";
|
|
90
90
|
import "./chunk-GMECXFAN.js";
|
|
@@ -92,8 +92,8 @@ import "./chunk-5CS4T6C6.js";
|
|
|
92
92
|
import {
|
|
93
93
|
trackCheckReport,
|
|
94
94
|
trackCommandFailure
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
} from "./chunk-HQMWZNO2.js";
|
|
96
|
+
import "./chunk-2XIPB4MP.js";
|
|
97
97
|
import "./chunk-VWG7OQKU.js";
|
|
98
98
|
import "./chunk-QWQ6GQTI.js";
|
|
99
99
|
import {
|
|
@@ -118,24 +118,24 @@ import "./chunk-TJSTGSAW.js";
|
|
|
118
118
|
import "./chunk-Q5X2B5WT.js";
|
|
119
119
|
import {
|
|
120
120
|
withMeta
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-Z6P5OVCF.js";
|
|
122
122
|
import "./chunk-K4WIOZFP.js";
|
|
123
123
|
import "./chunk-XUXGIA7H.js";
|
|
124
124
|
import "./chunk-WERLJGIC.js";
|
|
125
125
|
import "./chunk-ISN5GRYI.js";
|
|
126
|
-
import "./chunk-
|
|
126
|
+
import "./chunk-VG3ZMY2H.js";
|
|
127
127
|
import "./chunk-EOVYQ3IG.js";
|
|
128
128
|
import "./chunk-XT6MXC7A.js";
|
|
129
129
|
import {
|
|
130
130
|
extractMediaMetadata,
|
|
131
131
|
findHdrAutoPromotion
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-
|
|
132
|
+
} from "./chunk-A356JY2J.js";
|
|
133
|
+
import "./chunk-42AER3PM.js";
|
|
134
134
|
import "./chunk-KCF6GHJP.js";
|
|
135
135
|
import "./chunk-JYVGYKXG.js";
|
|
136
136
|
import "./chunk-7KDQAD2W.js";
|
|
137
|
-
import "./chunk-
|
|
138
|
-
import "./chunk-
|
|
137
|
+
import "./chunk-NZ7K76Y2.js";
|
|
138
|
+
import "./chunk-ZJO4SLHC.js";
|
|
139
139
|
import "./chunk-VC76R6W2.js";
|
|
140
140
|
import "./chunk-UJKQWGFF.js";
|
|
141
141
|
import "./chunk-ALLKNYC3.js";
|
|
@@ -268,7 +268,7 @@ import { join, relative } from "path";
|
|
|
268
268
|
|
|
269
269
|
// src/utils/hdrPromotion.ts
|
|
270
270
|
async function bundleProjectHtml(projectDir) {
|
|
271
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
271
|
+
const { bundleToSingleHtml } = await import("./compiler-RKH75FZH.js");
|
|
272
272
|
return bundleToSingleHtml(projectDir);
|
|
273
273
|
}
|
|
274
274
|
async function collectBundledRenderMedia(html) {
|
|
@@ -1555,7 +1555,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
1555
1555
|
};
|
|
1556
1556
|
}
|
|
1557
1557
|
async function runBrowserCheck(project, options, motion, deadline) {
|
|
1558
|
-
const module = await import("./checkBrowser-
|
|
1558
|
+
const module = await import("./checkBrowser-OJAXYTRD.js");
|
|
1559
1559
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline);
|
|
1560
1560
|
}
|
|
1561
1561
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -1567,7 +1567,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
1567
1567
|
return relative(projectDir, path);
|
|
1568
1568
|
}
|
|
1569
1569
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
1570
|
-
const module = await import("./checkBrowser-
|
|
1570
|
+
const module = await import("./checkBrowser-OJAXYTRD.js");
|
|
1571
1571
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
1572
1572
|
}
|
|
1573
1573
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
auditClipDurations,
|
|
9
9
|
shouldIgnoreHttpError,
|
|
10
10
|
shouldIgnoreRequestFailure
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZVOCFUPA.js";
|
|
12
12
|
import {
|
|
13
13
|
checkSnapshotDirectory,
|
|
14
14
|
rectToBbox
|
|
@@ -17,7 +17,7 @@ import "./chunk-X7MTZ4T2.js";
|
|
|
17
17
|
import {
|
|
18
18
|
ambiguousIssue,
|
|
19
19
|
loadBrowserScript
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-54E2ELUA.js";
|
|
21
21
|
import {
|
|
22
22
|
AUDIT_SEEK_OPTIONS,
|
|
23
23
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
resolveCliChromeGpuMode,
|
|
30
30
|
seekCompositionTimeline,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QXAXCRK5.js";
|
|
33
33
|
import {
|
|
34
34
|
BrowserCleanupError,
|
|
35
35
|
closeManagedBrowser
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2ALJMIFW.js";
|
|
37
37
|
import "./chunk-FH7WODJH.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-H3JGPRWA.js";
|
|
39
39
|
import "./chunk-WPNE5NEP.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-NU4PDQ6G.js";
|
|
41
41
|
import "./chunk-K2FLNJVB.js";
|
|
42
42
|
import {
|
|
43
43
|
serveStaticProjectHtml
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AXATVUCD.js";
|
|
45
45
|
import "./chunk-X7MTZ4T2.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-JEW5CCRU.js";
|
|
47
|
+
import "./chunk-Z6VBXCYN.js";
|
|
48
48
|
import "./chunk-442JNXRM.js";
|
|
49
49
|
import "./chunk-XUHOIDKG.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-CXVBPW5F.js";
|
|
51
|
+
import "./chunk-D5PUMG2P.js";
|
|
52
52
|
import "./chunk-6JR2XUEE.js";
|
|
53
53
|
import "./chunk-C6TPGUWD.js";
|
|
54
54
|
import {
|
|
@@ -57,24 +57,24 @@ import {
|
|
|
57
57
|
proxyVariantFor,
|
|
58
58
|
resolveProxies,
|
|
59
59
|
scanProjectMediaCodecMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5K5YH6M7.js";
|
|
61
61
|
import "./chunk-JGYHWVXQ.js";
|
|
62
62
|
import "./chunk-FFDC5OWV.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BHGIBGUZ.js";
|
|
66
66
|
import "./chunk-XT7X6QCP.js";
|
|
67
67
|
import "./chunk-4YYJOFKS.js";
|
|
68
68
|
import "./chunk-HVW7ABXD.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-DSXDYQQV.js";
|
|
70
|
+
import "./chunk-QGYAHDOR.js";
|
|
71
|
+
import "./chunk-H45RC6HN.js";
|
|
72
72
|
import "./chunk-AWDFDFI3.js";
|
|
73
73
|
import "./chunk-P6LJ4Y32.js";
|
|
74
74
|
import "./chunk-GMECXFAN.js";
|
|
75
75
|
import "./chunk-5CS4T6C6.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-HQMWZNO2.js";
|
|
77
|
+
import "./chunk-2XIPB4MP.js";
|
|
78
78
|
import "./chunk-VWG7OQKU.js";
|
|
79
79
|
import "./chunk-QWQ6GQTI.js";
|
|
80
80
|
import "./chunk-S3S4TGEH.js";
|
|
@@ -84,21 +84,21 @@ import "./chunk-ZTZA4UWZ.js";
|
|
|
84
84
|
import "./chunk-KLIKCX6Q.js";
|
|
85
85
|
import "./chunk-EOOEC32M.js";
|
|
86
86
|
import "./chunk-TJSTGSAW.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-Z6P5OVCF.js";
|
|
88
88
|
import "./chunk-K4WIOZFP.js";
|
|
89
89
|
import "./chunk-XUXGIA7H.js";
|
|
90
90
|
import "./chunk-WERLJGIC.js";
|
|
91
91
|
import "./chunk-ISN5GRYI.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-VG3ZMY2H.js";
|
|
93
93
|
import "./chunk-EOVYQ3IG.js";
|
|
94
94
|
import "./chunk-XT6MXC7A.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-A356JY2J.js";
|
|
96
|
+
import "./chunk-42AER3PM.js";
|
|
97
97
|
import "./chunk-KCF6GHJP.js";
|
|
98
98
|
import "./chunk-JYVGYKXG.js";
|
|
99
99
|
import "./chunk-7KDQAD2W.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-NZ7K76Y2.js";
|
|
101
|
+
import "./chunk-ZJO4SLHC.js";
|
|
102
102
|
import "./chunk-VC76R6W2.js";
|
|
103
103
|
import "./chunk-UJKQWGFF.js";
|
|
104
104
|
import "./chunk-ALLKNYC3.js";
|
|
@@ -293,7 +293,7 @@ function proxyFailedDraft(message) {
|
|
|
293
293
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
294
294
|
}
|
|
295
295
|
async function runBrowserCheck(project, options, motion, runGrid, deadline) {
|
|
296
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
296
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-O3BXZLCD.js");
|
|
297
297
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
298
298
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
299
299
|
project.dir,
|
|
@@ -330,7 +330,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline) {
|
|
|
330
330
|
await waitForPreferredSeekTarget(page);
|
|
331
331
|
const rootAnchor = await resolveRootAnchor(page);
|
|
332
332
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
333
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
333
|
+
const { analyzeClipMediaFit } = await import("./src-LZXECBBQ.js");
|
|
334
334
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
335
335
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
336
336
|
}
|
|
@@ -360,7 +360,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline) {
|
|
|
360
360
|
}
|
|
361
361
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
362
362
|
if (requests.length === 0) return [];
|
|
363
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
363
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-O3BXZLCD.js");
|
|
364
364
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
365
365
|
const server = await serveStaticProjectHtml(
|
|
366
366
|
project.dir,
|
|
@@ -1263,6 +1263,7 @@ var LAYOUT_ISSUE_CODES = [
|
|
|
1263
1263
|
"content_overlap",
|
|
1264
1264
|
"visibility_escapes_segment",
|
|
1265
1265
|
"text_occluded",
|
|
1266
|
+
"video_alpha_unread",
|
|
1266
1267
|
"text_not_painted",
|
|
1267
1268
|
"caption_zone_collision",
|
|
1268
1269
|
"frame_out_of_frame",
|
|
@@ -4,6 +4,9 @@ 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
|
+
shouldTrack
|
|
9
|
+
} from "./chunk-2XIPB4MP.js";
|
|
7
10
|
|
|
8
11
|
// src/telemetry/renderObservability.ts
|
|
9
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -99,7 +102,72 @@ function renderJobObservabilityTelemetryPayload(job) {
|
|
|
99
102
|
};
|
|
100
103
|
}
|
|
101
104
|
|
|
105
|
+
// src/telemetry/renderCpu.ts
|
|
106
|
+
import { cpus, loadavg, platform } from "os";
|
|
107
|
+
var SAMPLE_INTERVAL_MS = 2e3;
|
|
108
|
+
var BUSY_CORE_PCT = 80;
|
|
109
|
+
function readCoreTimes() {
|
|
110
|
+
return cpus().map(({ times }) => {
|
|
111
|
+
const total = times.user + times.nice + times.sys + times.idle + times.irq;
|
|
112
|
+
return { busy: total - times.idle, total };
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function busyBetween(from, to) {
|
|
116
|
+
let busy = 0;
|
|
117
|
+
let total = 0;
|
|
118
|
+
let coresBusy = 0;
|
|
119
|
+
to.forEach((core, i) => {
|
|
120
|
+
const before = from[i];
|
|
121
|
+
if (!before) return;
|
|
122
|
+
const dBusy = core.busy - before.busy;
|
|
123
|
+
const dTotal = core.total - before.total;
|
|
124
|
+
if (dTotal <= 0) return;
|
|
125
|
+
busy += dBusy;
|
|
126
|
+
total += dTotal;
|
|
127
|
+
if (dBusy / dTotal * 100 >= BUSY_CORE_PCT) coresBusy++;
|
|
128
|
+
});
|
|
129
|
+
return total > 0 ? { pct: Math.round(busy / total * 100), coresBusy } : null;
|
|
130
|
+
}
|
|
131
|
+
function readLoadAvg() {
|
|
132
|
+
if (platform() === "win32") return void 0;
|
|
133
|
+
return Math.round((loadavg()[0] ?? 0) * 100) / 100;
|
|
134
|
+
}
|
|
135
|
+
var DISABLED = { stop: () => ({}) };
|
|
136
|
+
function startRenderCpuSampler(requesterOptedIn = true) {
|
|
137
|
+
if (!requesterOptedIn || !shouldTrack()) return DISABLED;
|
|
138
|
+
const start = readCoreTimes();
|
|
139
|
+
const loadAvgStart = readLoadAvg();
|
|
140
|
+
let last = start;
|
|
141
|
+
let peak = null;
|
|
142
|
+
const sample = () => {
|
|
143
|
+
const now = readCoreTimes();
|
|
144
|
+
const window = busyBetween(last, now);
|
|
145
|
+
if (window && (!peak || window.pct > peak.pct)) peak = window;
|
|
146
|
+
last = now;
|
|
147
|
+
};
|
|
148
|
+
const timer = setInterval(sample, SAMPLE_INTERVAL_MS);
|
|
149
|
+
timer.unref?.();
|
|
150
|
+
let result;
|
|
151
|
+
return {
|
|
152
|
+
stop() {
|
|
153
|
+
if (result) return result;
|
|
154
|
+
clearInterval(timer);
|
|
155
|
+
sample();
|
|
156
|
+
const avg = busyBetween(start, last);
|
|
157
|
+
result = {
|
|
158
|
+
cpuBusyAvgPct: avg?.pct,
|
|
159
|
+
cpuBusyPeakPct: peak?.pct,
|
|
160
|
+
cpuCoresBusyPeak: peak?.coresBusy,
|
|
161
|
+
loadAvgStart,
|
|
162
|
+
loadAvgEnd: readLoadAvg()
|
|
163
|
+
};
|
|
164
|
+
return result;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
102
169
|
export {
|
|
103
170
|
renderObservabilityTelemetryPayload,
|
|
104
|
-
renderJobObservabilityTelemetryPayload
|
|
171
|
+
renderJobObservabilityTelemetryPayload,
|
|
172
|
+
startRenderCpuSampler
|
|
105
173
|
};
|
|
@@ -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-Z6VBXCYN.js";
|
|
10
10
|
import {
|
|
11
11
|
requestCliExit
|
|
12
12
|
} from "./chunk-PBN6GBJE.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A356JY2J.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
21
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
22
22
|
renderProvenanceArgs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-A356JY2J.js";
|
|
24
24
|
|
|
25
25
|
// src/background-removal/pipeline.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
270
270
|
}
|
|
271
271
|
async function probeMedia(inputPath) {
|
|
272
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
273
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-LZXECBBQ.js");
|
|
274
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
275
275
|
if (isImage) {
|
|
276
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HQMWZNO2.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2XIPB4MP.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-QWQ6GQTI.js";
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForCompositionFonts,
|
|
12
12
|
waitForRuntimeReady
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QXAXCRK5.js";
|
|
14
14
|
import {
|
|
15
15
|
launchManagedBrowser,
|
|
16
16
|
resolveManagedGpuMode
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2ALJMIFW.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveDiagnosticNavigationTimeoutMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-H3JGPRWA.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveProject
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NU4PDQ6G.js";
|
|
24
24
|
import {
|
|
25
25
|
serveStaticProjectHtml
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AXATVUCD.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Z6P5OVCF.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -708,7 +708,7 @@ async function collectTweenBoundaries(page) {
|
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
async function bundleProjectHtml(projectDir) {
|
|
711
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
711
|
+
const { bundleToSingleHtml } = await import("./compiler-RKH75FZH.js");
|
|
712
712
|
return bundleToSingleHtml(projectDir);
|
|
713
713
|
}
|
|
714
714
|
async function alignViewportToComposition(page, url) {
|
|
@@ -730,13 +730,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
730
730
|
async function runLayoutAudit(projectDir, opts) {
|
|
731
731
|
const { ensureBrowser } = await import("./manager-HEUPD2YB.js");
|
|
732
732
|
const puppeteer = await import("puppeteer-core");
|
|
733
|
-
const { buildChromeArgs } = await import("./src-
|
|
733
|
+
const { buildChromeArgs } = await import("./src-LZXECBBQ.js");
|
|
734
734
|
const {
|
|
735
735
|
assertWebGpuAdapterAvailable,
|
|
736
736
|
compositionRequiresWebGpu,
|
|
737
737
|
resolveLocalBrowserGpuMode,
|
|
738
738
|
resolveLocalWebGpu
|
|
739
|
-
} = await import("./gpuPolicy-
|
|
739
|
+
} = await import("./gpuPolicy-SYV7N237.js");
|
|
740
740
|
const html = await bundleProjectHtml(projectDir);
|
|
741
741
|
const server = await serveStaticProjectHtml(
|
|
742
742
|
projectDir,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
extractMediaMetadata,
|
|
19
19
|
resolveReferencedDuration,
|
|
20
20
|
resolveReferencedStart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A356JY2J.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-NZ7K76Y2.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-ZJO4SLHC.js";
|
|
38
38
|
import {
|
|
39
39
|
topLevelElements,
|
|
40
40
|
trackKindOf
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
renderFrameIdForRenderId,
|
|
31
31
|
resolveAuthoredTimingWindow,
|
|
32
32
|
toFps
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
34
34
|
import {
|
|
35
35
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
36
36
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
shiftRateLane,
|
|
60
60
|
sourceTimeAt,
|
|
61
61
|
timeAtSourceTime
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
63
63
|
import {
|
|
64
64
|
clampAudioGain,
|
|
65
65
|
isAudibleVideoElement
|
|
@@ -8051,8 +8051,12 @@ ${tail}` : `FFmpeg exited with code ${exitCode}`;
|
|
|
8051
8051
|
}
|
|
8052
8052
|
function describeFfmpegFailure(result, timeoutMs) {
|
|
8053
8053
|
const error = formatFfmpegError(result.exitCode, result.stderr);
|
|
8054
|
-
if (result.terminationReason
|
|
8055
|
-
|
|
8054
|
+
if (result.terminationReason === "deadline") {
|
|
8055
|
+
return `FFmpeg timed out after ${timeoutMs} ms (ffmpegProcessTimeout; long renders can raise FFMPEG_PROCESS_TIMEOUT_MS). ${error}`;
|
|
8056
|
+
}
|
|
8057
|
+
if (result.exitCode !== null) return error;
|
|
8058
|
+
const signalOrRequestedStop = result.terminationReason === "exit" ? result.signal : result.terminationReason;
|
|
8059
|
+
return signalOrRequestedStop ? `FFmpeg ended without an exit code (${signalOrRequestedStop}). ${error}` : error;
|
|
8056
8060
|
}
|
|
8057
8061
|
function spawnFfmpeg(args) {
|
|
8058
8062
|
const ffmpeg = spawn2(getFfmpegBinary(), args, { windowsHide: true });
|
|
@@ -15368,6 +15372,7 @@ async function mixThroughMasterBus(tracks, masterChain, outputPath, workDir, tot
|
|
|
15368
15372
|
async function processCompositionAudio(elements, baseDir, workDir, outputPath, totalDuration, signal, config, compiledDir) {
|
|
15369
15373
|
const startMs = Date.now();
|
|
15370
15374
|
const tracks = [];
|
|
15375
|
+
const preparedTracks = new Array(elements.length);
|
|
15371
15376
|
const failures = [];
|
|
15372
15377
|
const groupTracks = /* @__PURE__ */ new Map();
|
|
15373
15378
|
const groupMeta = /* @__PURE__ */ new Map();
|
|
@@ -15379,7 +15384,7 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15379
15384
|
else signal.addEventListener("abort", () => internalController.abort(), { once: true });
|
|
15380
15385
|
}
|
|
15381
15386
|
await Promise.all(
|
|
15382
|
-
elements.map(async (element) => {
|
|
15387
|
+
elements.map(async (element, index) => {
|
|
15383
15388
|
if (effectiveSignal.aborted) {
|
|
15384
15389
|
failures.push({
|
|
15385
15390
|
stage: "cancelled",
|
|
@@ -15559,20 +15564,7 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15559
15564
|
...element.fadeOut ? { fadeOut: element.fadeOut } : {},
|
|
15560
15565
|
...tailSeconds > 0 ? { tailSeconds } : {}
|
|
15561
15566
|
};
|
|
15562
|
-
|
|
15563
|
-
const bucket = groupTracks.get(element.groupId);
|
|
15564
|
-
if (bucket) bucket.push(track);
|
|
15565
|
-
else groupTracks.set(element.groupId, [track]);
|
|
15566
|
-
if (!groupMeta.has(element.groupId)) {
|
|
15567
|
-
groupMeta.set(element.groupId, {
|
|
15568
|
-
...element.groupFxChain ? { fxChain: element.groupFxChain } : {},
|
|
15569
|
-
...element.groupAutomation ? { automation: element.groupAutomation } : {},
|
|
15570
|
-
volume: element.groupVolume ?? 1
|
|
15571
|
-
});
|
|
15572
|
-
}
|
|
15573
|
-
} else {
|
|
15574
|
-
tracks.push(track);
|
|
15575
|
-
}
|
|
15567
|
+
preparedTracks[index] = track;
|
|
15576
15568
|
} catch (err) {
|
|
15577
15569
|
if (err instanceof AudioFxRenderError) throw err;
|
|
15578
15570
|
failures.push({
|
|
@@ -15595,6 +15587,24 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15595
15587
|
}
|
|
15596
15588
|
throw err;
|
|
15597
15589
|
});
|
|
15590
|
+
elements.forEach((element, index) => {
|
|
15591
|
+
const track = preparedTracks[index];
|
|
15592
|
+
if (!track) return;
|
|
15593
|
+
if (element.groupId) {
|
|
15594
|
+
const bucket = groupTracks.get(element.groupId);
|
|
15595
|
+
if (bucket) bucket.push(track);
|
|
15596
|
+
else groupTracks.set(element.groupId, [track]);
|
|
15597
|
+
if (!groupMeta.has(element.groupId)) {
|
|
15598
|
+
groupMeta.set(element.groupId, {
|
|
15599
|
+
...element.groupFxChain ? { fxChain: element.groupFxChain } : {},
|
|
15600
|
+
...element.groupAutomation ? { automation: element.groupAutomation } : {},
|
|
15601
|
+
volume: element.groupVolume ?? 1
|
|
15602
|
+
});
|
|
15603
|
+
}
|
|
15604
|
+
} else {
|
|
15605
|
+
tracks.push(track);
|
|
15606
|
+
}
|
|
15607
|
+
});
|
|
15598
15608
|
const removeWorkDir = () => {
|
|
15599
15609
|
try {
|
|
15600
15610
|
rmSync7(workDir, { recursive: true, force: true });
|