hyperframes 0.8.198 → 0.8.199
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-KEYBYC4P.js → add-7LA5CGDM.js} +12 -12
- package/dist/{animatedGifPrep-Z5BJNWKN.js → animatedGifPrep-NB2MZTMQ.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-I4SWXLQ6.js → asset-4BIOI6GN.js} +2 -2
- package/dist/{assetCataloger-FBZ36VTV.js → assetCataloger-TX5KL5VV.js} +6 -6
- package/dist/{audio-I4Z5PT7P.js → audio-ZGMIIDNU.js} +13 -13
- package/dist/{auth-CKN546QV.js → auth-OQ5PWEUG.js} +1 -1
- package/dist/{autoUpdate-AKOIVDJZ.js → autoUpdate-QREPD6I4.js} +3 -3
- package/dist/{backgroundChecks-5BJIAXAC.js → backgroundChecks-5CJPJX2O.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-QY2RN3J2.js → batchRender-BW2ZK4MA.js} +3 -3
- package/dist/{beats-UEGEBTZ6.js → beats-I5XARMDB.js} +9 -9
- package/dist/{benchmark-BNGEOBEM.js → benchmark-S2WWY4U7.js} +9 -9
- package/dist/{browser-DL2STX2A.js → browser-PAXVQYQZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-ULZJ7GHE.js → bundleWithLocalizedFonts-3ED26VCR.js} +2 -2
- package/dist/{capture-UNI6ZOPZ.js → capture-23574YLP.js} +9 -9
- package/dist/{capture-DHYANXXU.js → capture-OVITDMKK.js} +2 -2
- package/dist/{captureCompositionFrame-PS5KDJXF.js → captureCompositionFrame-KAUUHCOL.js} +11 -11
- package/dist/{catalog-UF3CDKXY.js → catalog-CM3VXSQE.js} +12 -12
- package/dist/{catch-up-DIESQDJZ.js → catch-up-HMFREOC2.js} +5 -5
- package/dist/{check-WZ6L42CH.js → check-CYJZ6CGT.js} +34 -34
- package/dist/{checkBrowser-7J6VC7D6.js → checkBrowser-GZJ3W2OP.js} +29 -29
- package/dist/{chunk-MMJ3L4XQ.js → chunk-2KZSKIYY.js} +1 -1
- package/dist/chunk-2ONVJ7NT.js +3901 -0
- package/dist/{chunk-JTTWK6IM.js → chunk-3CFTCM7X.js} +1 -1
- package/dist/{chunk-WA6HZFDD.js → chunk-4QG64APO.js} +2 -2
- package/dist/{chunk-4WDOTQDY.js → chunk-65HUC64P.js} +1 -1
- package/dist/{chunk-JBTNMFFR.js → chunk-6RRO4GE3.js} +1 -1
- package/dist/{chunk-F2ZAINSR.js → chunk-7QB46WTF.js} +1 -1
- package/dist/{chunk-7W7F3KBH.js → chunk-7SKOZHIY.js} +2 -2
- package/dist/{chunk-6NSH5EAO.js → chunk-7YZME6DE.js} +1 -1
- package/dist/{chunk-TXJKDBUB.js → chunk-AHZLNYZY.js} +1 -1
- package/dist/{chunk-ISZK5IJM.js → chunk-BFYDVTD3.js} +1 -1
- package/dist/{chunk-O3KFO66O.js → chunk-BYLC52GJ.js} +1 -1
- package/dist/{chunk-56ZYGITX.js → chunk-CMHVLASW.js} +1 -1
- package/dist/{chunk-2CGWIIPE.js → chunk-D5CZCYYT.js} +2 -2
- package/dist/{chunk-6WZ6HNK2.js → chunk-DMRDGGNM.js} +6 -6
- package/dist/{chunk-GJA6QSSQ.js → chunk-DWUOGV3M.js} +3 -3
- package/dist/{chunk-N4NKPFKQ.js → chunk-FHDKRWQN.js} +54 -16
- package/dist/{chunk-P3ZZD4SK.js → chunk-FV5GKRAO.js} +3 -3
- package/dist/{chunk-OU6YITCR.js → chunk-FZ2VPLXL.js} +2 -2
- package/dist/{chunk-FXDYR644.js → chunk-GQACWAOC.js} +1 -1
- package/dist/{chunk-4UAUXH77.js → chunk-HK45GJMI.js} +648 -422
- package/dist/{chunk-EUZB3ZV3.js → chunk-HOAXHVRR.js} +9 -9
- package/dist/{chunk-MFDZK3X5.js → chunk-HRZ6ZBKO.js} +2 -2
- package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
- package/dist/{chunk-FCY375PD.js → chunk-IELYOY6S.js} +3 -3
- package/dist/{chunk-HBPFY3KU.js → chunk-ILFDFMYJ.js} +3 -3
- package/dist/{chunk-5I74DQPC.js → chunk-IMVTN367.js} +2 -2
- package/dist/{chunk-7OFK6XMH.js → chunk-JFIEV2J4.js} +7 -7
- package/dist/{chunk-HVF7K2T3.js → chunk-JN63IPHT.js} +1 -1
- package/dist/{chunk-ESJYD4AE.js → chunk-K5O6JTJQ.js} +5 -5
- package/dist/{chunk-DZWTK3HJ.js → chunk-K65XUUJX.js} +1 -1
- package/dist/{chunk-BPU22WKT.js → chunk-KFZPWUPN.js} +7 -7
- package/dist/{chunk-F2K72QNO.js → chunk-KG3BVLA4.js} +1 -1
- package/dist/{chunk-ZSO7UVC5.js → chunk-L6FG62QM.js} +40 -24
- package/dist/{chunk-JSLQZKXA.js → chunk-LPDNR3R4.js} +2 -2
- package/dist/{chunk-AFQ777YP.js → chunk-M2GO2AAS.js} +1 -1
- package/dist/{chunk-O2CO6QNK.js → chunk-M6IMQBK6.js} +1 -1
- package/dist/{chunk-7FT7E7OU.js → chunk-NUZMP7SV.js} +17 -17
- package/dist/{chunk-2FT5WJPY.js → chunk-NY2OH5XD.js} +1 -1
- package/dist/{chunk-O2SA7HOG.js → chunk-OZVRCLEN.js} +2 -2
- package/dist/{chunk-UBOBOWWB.js → chunk-PO5PAROC.js} +3 -3
- package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
- package/dist/{chunk-6BTMNV3R.js → chunk-QH4425AL.js} +1 -1
- package/dist/{chunk-4V2OO56A.js → chunk-QYOUK3UO.js} +1 -1
- package/dist/{chunk-PKQ3GBDU.js → chunk-RYCANWOM.js} +4 -4
- package/dist/{chunk-DFL4XSQZ.js → chunk-S5WSJVHP.js} +3 -3
- package/dist/{chunk-NDBOBZRL.js → chunk-SQQZUUK6.js} +9 -9
- package/dist/{chunk-UUG3DETI.js → chunk-T4IJMVCB.js} +1 -1
- package/dist/{chunk-C6WBKEOI.js → chunk-TF7LCULS.js} +2 -2
- package/dist/{chunk-ORNE2BC4.js → chunk-TTWFTEUG.js} +5 -5
- package/dist/{chunk-GHO33VCP.js → chunk-TVR744AS.js} +2 -2
- package/dist/{chunk-XIYNIHGQ.js → chunk-UBSAHYWA.js} +2 -2
- package/dist/{chunk-YP5XWK7M.js → chunk-UMBCYIFE.js} +1 -1
- package/dist/{chunk-YEVU5W5G.js → chunk-UVQLSMAR.js} +27 -4
- package/dist/{chunk-256C5DYC.js → chunk-VWPU6URV.js} +5 -5
- package/dist/{chunk-U66P7HPN.js → chunk-XP55QWOB.js} +13 -13
- package/dist/{chunk-UMCU32QC.js → chunk-XVZZQVT4.js} +1 -1
- package/dist/{chunk-WY67Q2QY.js → chunk-YAMRODVV.js} +3 -2
- package/dist/{chunk-Y2I7KT2R.js → chunk-Z6Q4ASCD.js} +107 -44
- package/dist/{clean-2W5OGTMI.js → clean-QX6LKOWJ.js} +15 -15
- package/dist/cli.js +54 -54
- package/dist/{cloud-AJK5OLJM.js → cloud-ASA7Y3HA.js} +4 -4
- package/dist/{cloudrun-HAAYNZWP.js → cloudrun-LK4GJWUZ.js} +4 -4
- package/dist/{compare-KRY3JTXM.js → compare-426Z2ND6.js} +26 -26
- package/dist/{compiler-47QXFQF4.js → compiler-WER7FC5O.js} +3 -3
- package/dist/{component-XQR75LCM.js → component-HTDWZMEG.js} +3 -3
- package/dist/{compositions-QJZQZJFB.js → compositions-EKRLQ5TU.js} +11 -11
- package/dist/{delete-PPOMPFZG.js → delete-KHXM6R7A.js} +3 -3
- package/dist/{deploy-IKVAHO42.js → deploy-WJ5JQJBD.js} +1 -1
- package/dist/{dist-JBRYL3MH.js → dist-EYJATCTF.js} +2 -2
- package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
- package/dist/{doctor-TM2B4PLJ.js → doctor-NB3G2GDG.js} +11 -11
- package/dist/{events-UFQAFJ7A.js → events-6EL5NIJV.js} +3 -3
- package/dist/{events-QERYXJVB.js → events-LH6W5ZCV.js} +4 -4
- package/dist/{feedback-X6GA5Z2Y.js → feedback-2GNY725M.js} +7 -7
- package/dist/{ffmpeg-G6RMIP5K.js → ffmpeg-XX3O53B3.js} +6 -6
- package/dist/{figma-WAM4RJUC.js → figma-X7KKOOXB.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-7TO44JK3.js → get-M57U7QCX.js} +3 -3
- package/dist/{gpuPolicy-IMLRNUEJ.js → gpuPolicy-GIBBYBI5.js} +6 -6
- package/dist/{grade-compare-TCUAQKW4.js → grade-compare-XNY37UYQ.js} +27 -27
- package/dist/{help-GSPNIWE2.js → help-ZXSPZBUG.js} +1 -1
- package/dist/{history-SFC4KDFT.js → history-G5B4IPBH.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-YBSWR4VE.js → info-ZWZDG54W.js} +8 -8
- package/dist/{init-RJCZWSTH.js → init-F4XMU6SV.js} +27 -27
- package/dist/{inspect-R6C5Q7WI.js → inspect-6VXFMQRR.js} +27 -27
- package/dist/{installer-BJQSDYHE.js → installer-4M3Y5T5F.js} +4 -4
- package/dist/{keyframes-UJOV3QTF.js → keyframes-3U466AWX.js} +7 -7
- package/dist/{lambda-645URVF4.js → lambda-OPSTAEF6.js} +6 -6
- package/dist/{layout-MPGHNIY6.js → layout-B3MXD3F3.js} +27 -27
- package/dist/{lint-BWYP7H5P.js → lint-TVOEGW63.js} +8 -8
- package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
- package/dist/{list-YBOALPIY.js → list-M5GQSFVT.js} +3 -3
- package/dist/{login-Z3JYXJKB.js → login-HBHGZIDN.js} +4 -4
- package/dist/{manager-CCRWUMQO.js → manager-VLIJARMF.js} +7 -7
- package/dist/{media-treatment-4P54XYM7.js → media-treatment-RQZ437VS.js} +13 -13
- package/dist/{models-3LIZKQPH.js → models-2CCKVBTR.js} +10 -10
- package/dist/{motionShot-22NRFNLM.js → motionShot-3IFRSICA.js} +14 -14
- package/dist/{normalize-audio-C6JTJBZE.js → normalize-audio-23H2MBDP.js} +5 -5
- package/dist/{open-5KOE2UWD.js → open-J33KT3G7.js} +12 -12
- package/dist/{parakeetRunner-67JLWWPE.js → parakeetRunner-QTXNEMVY.js} +11 -11
- package/dist/{pipeline-QZQRLXSV.js → pipeline-2ECWWEBD.js} +7 -7
- package/dist/{play-ID4KS6LH.js → play-G5777L7A.js} +18 -18
- package/dist/{preflight-DVW7XWEO.js → preflight-NVFB4HXQ.js} +7 -7
- package/dist/{present-CDJCTLFJ.js → present-4EI2BE4Z.js} +14 -14
- package/dist/{preview-KDMHWG3L.js → preview-HYCIDZ52.js} +18 -18
- package/dist/{producer-QPUWC6S3.js → producer-6JAATJVD.js} +1 -1
- package/dist/{projectConfig-VMVZXMC6.js → projectConfig-XPGN76VV.js} +6 -6
- package/dist/{publication-VBXDWVC7.js → publication-YRZ7EBUV.js} +2 -2
- package/dist/{publish-XDNOVFIZ.js → publish-UIDHN7KD.js} +8 -8
- package/dist/{remove-background-OQUEVC4I.js → remove-background-LPQP4WBN.js} +8 -8
- package/dist/{render-MMEZAOL7.js → render-DT3OCUCV.js} +117 -37
- package/dist/{render-2MVVITHT.js → render-LFJQNVCK.js} +5 -5
- package/dist/{render-L5DUPSDJ.js → render-NZSNQFYW.js} +14 -14
- package/dist/{render-batch-EZRFUUHG.js → render-batch-QI2A45WH.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-E6OFNCLG.js → resolver-4YDXG4PP.js} +4 -4
- package/dist/{sherpa-MQUVKCRX.js → sherpa-XLKWFYFO.js} +10 -10
- package/dist/skills/media-use/references/mixing.md +1 -0
- package/dist/{skills-Y7AATMSQ.js → skills-OVVLZHF5.js} +6 -6
- package/dist/{skillsUpdateCheck-K7DSQJGU.js → skillsUpdateCheck-Y2UQA7I5.js} +4 -4
- package/dist/{snapshot-DZWLAQAW.js → snapshot-7NVB5WSO.js} +31 -31
- package/dist/{src-RRTSNZLM.js → src-ACAFJXAJ.js} +7 -7
- package/dist/{src-7FSQZKIY.js → src-QQPHMIJ7.js} +5 -5
- package/dist/{staticProjectServer-J2IXFINI.js → staticProjectServer-JUN6BRTW.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-DDoxfTBd.js → hyperframes-player-BDtBfwof.js} +1 -1
- package/dist/studio/assets/{index-D9WoRF2S.js → index--W_0fuR8.js} +1 -1
- package/dist/studio/assets/{index-BAKWbo0z.js → index-BFfBBQMu.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-7BNDWZG5.js → studio-api-D76Q4Q2N.js} +7 -7
- package/dist/{studioServer-FBRUE3XK.js → studioServer-HG3RFAOY.js} +45 -45
- package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
- package/dist/{telemetry-OOQVUJGL.js → telemetry-Q2EHWVO4.js} +4 -4
- package/dist/{timeline-U6MIU6JP.js → timeline-WDQCCETQ.js} +16 -16
- package/dist/{tokens-3ZPX6WKB.js → tokens-2GJWP2HY.js} +2 -2
- package/dist/{transcribe-VPGQV5TG.js → transcribe-SRLAY6RG.js} +9 -9
- package/dist/{transcribe-QDBXRADM.js → transcribe-Z63Y53GQ.js} +16 -16
- package/dist/{updateCheck-MN3QTSGM.js → updateCheck-MJ6NDE3T.js} +3 -3
- package/dist/{upgrade-4FVRTMU5.js → upgrade-D5XEX3XE.js} +3 -3
- package/dist/{urlDownloader-UTVBU5IQ.js → urlDownloader-R7BZ47TY.js} +5 -5
- package/dist/{validate-NN43T4XX.js → validate-F5BIDZLN.js} +21 -21
- package/dist/{video-VQ67QXES.js → video-QUG5OG5Q.js} +6 -6
- package/dist/warmCheck.js +34 -34
- package/package.json +1 -1
- package/dist/chunk-UYBXHV7R.js +0 -3901
|
@@ -8,31 +8,31 @@ import {
|
|
|
8
8
|
launchManagedBrowser,
|
|
9
9
|
resolveManagedGpuMode,
|
|
10
10
|
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2KZSKIYY.js";
|
|
12
12
|
import {
|
|
13
13
|
gotoWhenSent
|
|
14
14
|
} from "./chunk-MOEGCMKI.js";
|
|
15
15
|
import {
|
|
16
16
|
pageNavigationTimeoutMs,
|
|
17
17
|
windowsChromeCrashRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S5WSJVHP.js";
|
|
19
19
|
import {
|
|
20
20
|
oneProcessOverPipe
|
|
21
21
|
} from "./chunk-DKPNNYBZ.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveCompositionViewportFromHtml
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T4IJMVCB.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveLocalBrowserGpuMode,
|
|
27
27
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TF7LCULS.js";
|
|
29
29
|
import {
|
|
30
30
|
c
|
|
31
31
|
} from "./chunk-ZTZA4UWZ.js";
|
|
32
32
|
import {
|
|
33
33
|
assertWebGpuAdapterAvailable,
|
|
34
34
|
compositionRequiresWebGpu
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L6FG62QM.js";
|
|
36
36
|
import {
|
|
37
37
|
normalizeErrorMessage
|
|
38
38
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -140,7 +140,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
140
140
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
141
141
|
});
|
|
142
142
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
143
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
143
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-QQPHMIJ7.js");
|
|
144
144
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
145
145
|
await waitForImagesReady(
|
|
146
146
|
page,
|
|
@@ -189,7 +189,7 @@ async function installPageFunctionGuard(page) {
|
|
|
189
189
|
async function openSettledCompositionPage(html, url, options) {
|
|
190
190
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
191
191
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
192
|
-
const answer = (await import("./staticProjectServer-
|
|
192
|
+
const answer = (await import("./staticProjectServer-JUN6BRTW.js")).inProcessAnswer(url);
|
|
193
193
|
const noListen = answer !== void 0;
|
|
194
194
|
let chromeBrowser;
|
|
195
195
|
try {
|
|
@@ -200,7 +200,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
200
200
|
options.onBrowserReady?.();
|
|
201
201
|
const page = await chromeBrowser.newPage();
|
|
202
202
|
await installPageFunctionGuard(page);
|
|
203
|
-
const { installMediaRenderIdBridge } = await import("./src-
|
|
203
|
+
const { installMediaRenderIdBridge } = await import("./src-QQPHMIJ7.js");
|
|
204
204
|
await installMediaRenderIdBridge(page);
|
|
205
205
|
await page.setViewport(viewport);
|
|
206
206
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
@@ -219,7 +219,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
219
219
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-COSJVRAE.js");
|
|
220
220
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
221
221
|
const puppeteer = await import("puppeteer-core");
|
|
222
|
-
const { buildChromeArgs } = await import("./src-
|
|
222
|
+
const { buildChromeArgs } = await import("./src-QQPHMIJ7.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
stripEmbeddedRuntimeScripts,
|
|
40
40
|
styleElementsFor,
|
|
41
41
|
warnUnknownEnumValues
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
43
43
|
import {
|
|
44
44
|
cssVariableName
|
|
45
45
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-OFQWTKPW.js";
|
|
50
50
|
import {
|
|
51
51
|
lintHyperframeHtml
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IC6BO4GU.js";
|
|
53
53
|
import {
|
|
54
54
|
checkSubCompositionUsability,
|
|
55
55
|
resolveSubCompositionContent
|
|
@@ -7055,11 +7055,14 @@ function declaredIdsForBindingCheck(tags) {
|
|
|
7055
7055
|
if (declared.size === 0 && !findHtmlTag(tags)) return null;
|
|
7056
7056
|
return declared;
|
|
7057
7057
|
}
|
|
7058
|
-
function
|
|
7058
|
+
function isInsideTag(tag, tags, name) {
|
|
7059
7059
|
return tags.some(
|
|
7060
|
-
(candidate) => candidate.name ===
|
|
7060
|
+
(candidate) => candidate.name === name && candidate.closeIndex != null && tag.index > candidate.index && tag.index < candidate.closeIndex
|
|
7061
7061
|
);
|
|
7062
7062
|
}
|
|
7063
|
+
function isInsideInertTemplate(tag, tags) {
|
|
7064
|
+
return isInsideTag(tag, tags, "template");
|
|
7065
|
+
}
|
|
7063
7066
|
var NEGATIVE_Z_INDEX = /(?<![\w-])z-index\s*:\s*-(?!0(?:\s*[;}]|\s*$))([\d.]+)/g;
|
|
7064
7067
|
function cssOwnerSelector(content, matchIndex) {
|
|
7065
7068
|
const blockStart = content.lastIndexOf("{", matchIndex);
|
|
@@ -7657,6 +7660,26 @@ var compositionRules = [
|
|
|
7657
7660
|
}
|
|
7658
7661
|
];
|
|
7659
7662
|
},
|
|
7663
|
+
// subcomposition_style_outside_template
|
|
7664
|
+
// Mounting keeps only the <template> content and the <head> stylesheet links.
|
|
7665
|
+
({ rawSource, options }) => {
|
|
7666
|
+
if (!options.isSubComposition) return [];
|
|
7667
|
+
const { tags } = parseHtmlStructure(stripHtmlComments(rawSource));
|
|
7668
|
+
if (!tags.some((tag) => tag.name === "template")) return [];
|
|
7669
|
+
const dropped = tags.filter((tag) => {
|
|
7670
|
+
if (isInsideInertTemplate(tag, tags)) return false;
|
|
7671
|
+
if (tag.name === "style") return true;
|
|
7672
|
+
const rel = (readAttr(tag.raw, "rel") || "").toLowerCase().split(/\s+/);
|
|
7673
|
+
return tag.name === "link" && rel.includes("stylesheet") && !isInsideTag(tag, tags, "head");
|
|
7674
|
+
});
|
|
7675
|
+
return dropped.map((tag) => ({
|
|
7676
|
+
code: "subcomposition_style_outside_template",
|
|
7677
|
+
severity: "warning",
|
|
7678
|
+
message: `<${tag.name}> sits outside this sub-composition's <template>. Mounting keeps only the template's content, so these styles never apply in preview, snapshot or render.`,
|
|
7679
|
+
fixHint: "Move it inside <template>, next to the composition root.",
|
|
7680
|
+
snippet: truncateSnippet(tag.raw)
|
|
7681
|
+
}));
|
|
7682
|
+
},
|
|
7660
7683
|
// root_composition_missing_duration_source
|
|
7661
7684
|
//
|
|
7662
7685
|
// The render engine (packages/engine/src/services/frameCapture.ts) needs a
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DWUOGV3M.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-65HUC64P.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M6IMQBK6.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QYOUK3UO.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-L6FG62QM.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
27
|
} from "./chunk-BL4U6U52.js";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-QQPHMIJ7.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
readConfig,
|
|
35
35
|
telemetryRuntimeOverride,
|
|
36
36
|
writeConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PSX5SF2N.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OZVRCLEN.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FV5GKRAO.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
scanProjectMediaCodecMap,
|
|
69
69
|
shouldPrewarmProxy,
|
|
70
70
|
waitForProxy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-Z6Q4ASCD.js";
|
|
72
72
|
import {
|
|
73
73
|
STUDIO_MOTION_PATH,
|
|
74
74
|
createStudioMotionRenderBodyScript,
|
|
@@ -112,12 +112,12 @@ import {
|
|
|
112
112
|
normalizeGsapLocalRoot,
|
|
113
113
|
parseFps,
|
|
114
114
|
parsePreviewProxyBox
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-UVQLSMAR.js";
|
|
116
116
|
import {
|
|
117
117
|
addScenePartsManifest,
|
|
118
118
|
ensureHfIds,
|
|
119
119
|
stampHfIdsInPlace
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-HRZ6ZBKO.js";
|
|
121
121
|
import {
|
|
122
122
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
123
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
resolveRateSpec,
|
|
132
132
|
sourceTimeAt,
|
|
133
133
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
135
135
|
import {
|
|
136
136
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
137
|
MagicString,
|
|
@@ -308,7 +308,7 @@ function clearElementScreenshotIsolation() {
|
|
|
308
308
|
page.__hfThumbnailFaded = [];
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
// ../studio-server/dist/chunk-
|
|
311
|
+
// ../studio-server/dist/chunk-ZCCJNXS7.js
|
|
312
312
|
import { resolve } from "path";
|
|
313
313
|
function isAutoProxyEnabled(adapter) {
|
|
314
314
|
return adapter.autoProxy !== false;
|
|
@@ -5544,7 +5544,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5544
5544
|
let block = extractGsapScriptBlock(html);
|
|
5545
5545
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5546
5546
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5547
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5547
|
+
const { GSAP_CDN } = await import("./dist-EYJATCTF.js");
|
|
5548
5548
|
const bootstrap = [
|
|
5549
5549
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5550
5550
|
"<script>",
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-6JR2XUEE.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AHZLNYZY.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L6FG62QM.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UVQLSMAR.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
35
35
|
import {
|
|
36
36
|
isSubCompositionHost,
|
|
37
37
|
topLevelElements,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
resolveReferencedDuration,
|
|
42
42
|
resolveReferencedStart
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-IC6BO4GU.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAuthoredAssetFile
|
|
46
46
|
} from "./chunk-6BNTGNGD.js";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CMHVLASW.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JN63IPHT.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BYLC52GJ.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LPDNR3R4.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QH4425AL.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YAMRODVV.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UVQLSMAR.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
renderFrameIdForRenderId,
|
|
28
28
|
resolveAuthoredTimingWindow,
|
|
29
29
|
toFps
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UVQLSMAR.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
33
33
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
sourceTimeAt,
|
|
65
65
|
timeAtSourceTime,
|
|
66
66
|
volumeSegmentSampleCount
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
68
68
|
import {
|
|
69
69
|
clampAudioGain,
|
|
70
70
|
clipGain,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
} from "./chunk-4UMPIPCQ.js";
|
|
88
88
|
import {
|
|
89
89
|
resolveReferencedStart
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-IC6BO4GU.js";
|
|
91
91
|
import {
|
|
92
92
|
FFMPEG_PATH_ENV,
|
|
93
93
|
FFPROBE_PATH_ENV,
|
|
@@ -7685,6 +7685,16 @@ function computeDeVerifySampleFractions(k) {
|
|
|
7685
7685
|
if (k === 1) return [0.95];
|
|
7686
7686
|
return [...Array.from({ length: k - 1 }, (_, i) => (i + 1) / k), 0.95];
|
|
7687
7687
|
}
|
|
7688
|
+
async function seekDeVerifyTruth(page, t, suppressEvents) {
|
|
7689
|
+
await page.evaluate(
|
|
7690
|
+
(tt, suppress) => {
|
|
7691
|
+
const hf = window.__hf;
|
|
7692
|
+
if (hf && typeof hf.seek === "function") hf.seek(tt, { suppressEvents: suppress });
|
|
7693
|
+
},
|
|
7694
|
+
t,
|
|
7695
|
+
suppressEvents
|
|
7696
|
+
);
|
|
7697
|
+
}
|
|
7688
7698
|
async function captureDeVerificationFrames(session, page, logInitPhase) {
|
|
7689
7699
|
const kRaw = Number(process.env.HF_DE_VERIFY ?? session.options.deVerifySamples ?? "4");
|
|
7690
7700
|
const k = Number.isFinite(kRaw) ? Math.max(0, Math.min(8, Math.floor(kRaw))) : 4;
|
|
@@ -7709,28 +7719,34 @@ async function captureDeVerificationFrames(session, page, logInitPhase) {
|
|
|
7709
7719
|
}
|
|
7710
7720
|
const boundary = await computeClipBoundaryFrames(page, fps);
|
|
7711
7721
|
const fractions = computeDeVerifySampleFractions(k);
|
|
7712
|
-
const
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
await pageScreenshotCapture(page, session.options);
|
|
7722
|
+
const disposable = session.onBeforeCapture ? null : await createStaticVerificationPage(session).catch(() => {
|
|
7723
|
+
logInitPhase("self-verify truth page unavailable; reading it on the render page");
|
|
7724
|
+
return null;
|
|
7725
|
+
});
|
|
7726
|
+
const isolated = disposable !== null;
|
|
7727
|
+
const truthPage = disposable ?? page;
|
|
7728
|
+
const seekTo = (t) => seekDeVerifyTruth(truthPage, t, !isolated);
|
|
7720
7729
|
const frames = /* @__PURE__ */ new Map();
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7730
|
+
try {
|
|
7731
|
+
await seekTo(quantizeTimeToFrame(0, fps));
|
|
7732
|
+
await pageScreenshotCapture(truthPage, session.options);
|
|
7733
|
+
for (const f of fractions) {
|
|
7734
|
+
let idx = Math.min(totalFrames - 1, Math.max(1, Math.round(totalFrames * f)));
|
|
7735
|
+
let guard = 0;
|
|
7736
|
+
while (boundary.has(idx) && guard++ < 6) idx = Math.min(totalFrames - 1, idx + 2);
|
|
7737
|
+
if (boundary.has(idx)) continue;
|
|
7738
|
+
if (frames.has(idx)) continue;
|
|
7739
|
+
const t = quantizeTimeToFrame(idx / fps, fps);
|
|
7740
|
+
await seekTo(t);
|
|
7741
|
+
if (session.onBeforeCapture) await session.onBeforeCapture(truthPage, t);
|
|
7742
|
+
await pageScreenshotCapture(truthPage, session.options);
|
|
7743
|
+
frames.set(idx, await pageScreenshotCapture(truthPage, session.options));
|
|
7744
|
+
}
|
|
7745
|
+
if (!isolated) await seekTo(quantizeTimeToFrame(0, fps));
|
|
7746
|
+
} finally {
|
|
7747
|
+
if (isolated) await truthPage.close().catch(() => {
|
|
7748
|
+
});
|
|
7749
|
+
}
|
|
7734
7750
|
session.deVerifyFrames = frames;
|
|
7735
7751
|
logInitPhase(
|
|
7736
7752
|
`drawElement self-verify armed: ${frames.size} ground-truth frame(s) @ [${[...frames.keys()].join(", ")}] of ${totalFrames}`
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QH4425AL.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-UVQLSMAR.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7QB46WTF.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6RRO4GE3.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PO5PAROC.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
25
|
preResolveHostileMediaProxies,
|
|
26
26
|
rectToBbox
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FHDKRWQN.js";
|
|
28
28
|
import {
|
|
29
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
30
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SQQZUUK6.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveProject
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-K65XUUJX.js";
|
|
54
54
|
import {
|
|
55
55
|
recordArtifacts
|
|
56
56
|
} from "./chunk-PGDWNIOK.js";
|
|
@@ -59,17 +59,17 @@ import {
|
|
|
59
59
|
closeManagedBrowser,
|
|
60
60
|
onStopSignal,
|
|
61
61
|
registerBrowserSessionCleanup
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2KZSKIYY.js";
|
|
63
63
|
import {
|
|
64
64
|
withRemainingBudget
|
|
65
65
|
} from "./chunk-EHSBBBR2.js";
|
|
66
66
|
import {
|
|
67
67
|
resolveLocalBrowserGpuMode
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TF7LCULS.js";
|
|
69
69
|
import {
|
|
70
70
|
trackCheckReport,
|
|
71
71
|
trackCommandFailure
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-YAMRODVV.js";
|
|
73
73
|
import {
|
|
74
74
|
swallowedFlagUsageError
|
|
75
75
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -89,17 +89,17 @@ import {
|
|
|
89
89
|
import {
|
|
90
90
|
extractMediaMetadata,
|
|
91
91
|
findHdrAutoPromotion
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-L6FG62QM.js";
|
|
93
93
|
import {
|
|
94
94
|
lintProject,
|
|
95
95
|
shouldBlockRender
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-IC6BO4GU.js";
|
|
97
97
|
import {
|
|
98
98
|
resolveProjectRelativeSrc
|
|
99
99
|
} from "./chunk-6BNTGNGD.js";
|
|
100
100
|
import {
|
|
101
101
|
withMeta
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-4QG64APO.js";
|
|
103
103
|
import {
|
|
104
104
|
normalizeErrorMessage
|
|
105
105
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -636,7 +636,7 @@ function round(value) {
|
|
|
636
636
|
|
|
637
637
|
// src/utils/hdrPromotion.ts
|
|
638
638
|
async function bundleProjectHtml(projectDir) {
|
|
639
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
639
|
+
const { bundleToSingleHtml } = await import("./compiler-WER7FC5O.js");
|
|
640
640
|
return bundleToSingleHtml(projectDir);
|
|
641
641
|
}
|
|
642
642
|
async function collectBundledRenderMedia(html) {
|
|
@@ -2209,7 +2209,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2209
2209
|
};
|
|
2210
2210
|
}
|
|
2211
2211
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2212
|
-
const module = await import("./checkBrowser-
|
|
2212
|
+
const module = await import("./checkBrowser-GZJ3W2OP.js");
|
|
2213
2213
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2214
2214
|
}
|
|
2215
2215
|
var adoptedBrowser;
|
|
@@ -2223,7 +2223,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2223
2223
|
if (adopted) return adopted;
|
|
2224
2224
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2225
2225
|
if (html === void 0) return void 0;
|
|
2226
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2226
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-KAUUHCOL.js");
|
|
2227
2227
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2228
2228
|
}
|
|
2229
2229
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2235,7 +2235,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2235
2235
|
return relative(projectDir, path);
|
|
2236
2236
|
}
|
|
2237
2237
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2238
|
-
const module = await import("./checkBrowser-
|
|
2238
|
+
const module = await import("./checkBrowser-GZJ3W2OP.js");
|
|
2239
2239
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2240
2240
|
}
|
|
2241
2241
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2274,7 +2274,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
},
|
|
2276
2276
|
async prepareMedia(project, options) {
|
|
2277
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2277
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-3ED26VCR.js");
|
|
2278
2278
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2279
2279
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2280
2280
|
},
|
|
@@ -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-LH6W5ZCV.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -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.199" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.199" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|