hyperframes 0.8.219 → 0.8.221
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-2MXC4QCY.js → add-7CVO7K6M.js} +14 -11
- package/dist/{agentPromptGenerator-FIT75HWJ.js → agentPromptGenerator-YFC2SJLF.js} +6 -6
- package/dist/{animatedGifPrep-MFUNECD3.js → animatedGifPrep-YSMY5GU2.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-T6BI53SJ.js → asset-ZVKHSO3M.js} +2 -2
- package/dist/{assetCataloger-DP4SHXWI.js → assetCataloger-6IBSEOK7.js} +7 -7
- package/dist/{audio-SRQLO7BP.js → audio-JUV3TVSW.js} +14 -13
- package/dist/{auth-JONDB26P.js → auth-2J6FP462.js} +2 -2
- package/dist/{autoUpdate-YKJOOXCI.js → autoUpdate-ML6EZK6D.js} +2 -2
- package/dist/{backgroundChecks-GSTIIVNR.js → backgroundChecks-MAWP2REX.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ESAPNTE3.js → batchRender-Z7MGNJZH.js} +3 -3
- package/dist/{beats-OOVMTM4B.js → beats-LRZOZUUQ.js} +8 -8
- package/dist/{benchmark-WBFYHOSI.js → benchmark-XJWLDTIL.js} +8 -8
- package/dist/{browser-AZZAO24H.js → browser-STEVEWWA.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-GP4MD6DJ.js → bundleWithLocalizedFonts-WH63ZWUT.js} +2 -2
- package/dist/{capture-MGRV5VWE.js → capture-U3ZT3GNI.js} +12 -12
- package/dist/{capture-PN7GEEAB.js → capture-VB5ID7HT.js} +3 -3
- package/dist/{captureCompositionFrame-JYGGPKFZ.js → captureCompositionFrame-MXJ3WO2R.js} +11 -11
- package/dist/{catalog-D42NLFZT.js → catalog-ICGHSRPZ.js} +12 -11
- package/dist/{catch-up-TUL26VOB.js → catch-up-DJPQKXQB.js} +4 -4
- package/dist/{check-DBBH7DI3.js → check-TL7AGWPO.js} +39 -38
- package/dist/{checkAudio-UJ7XTDRD.js → checkAudio-GPTU6EGB.js} +9 -9
- package/dist/{checkBrowser-3YIZYXIR.js → checkBrowser-FG5DAW2R.js} +31 -30
- package/dist/{chunk-NP2QEAEW.js → chunk-2ZNURTH5.js} +9 -9
- package/dist/{chunk-ILCIWNPQ.js → chunk-322M35EB.js} +3 -3
- package/dist/{chunk-DWMI7CKI.js → chunk-3PJ3HVLG.js} +1 -1
- package/dist/{chunk-IGZHC55Z.js → chunk-3STL4WJ6.js} +72 -32
- package/dist/{chunk-3KDODK5M.js → chunk-4ZM727AO.js} +2 -2
- package/dist/{chunk-DMUDI5IH.js → chunk-5YT2KHPO.js} +2 -2
- package/dist/{chunk-473HMKSC.js → chunk-625I5VBE.js} +2 -2
- package/dist/{chunk-WUABYDXU.js → chunk-67CALYTU.js} +1 -1
- package/dist/{chunk-DOZGTBDV.js → chunk-6HKUUBAV.js} +2 -2
- package/dist/{chunk-LIWBGRPD.js → chunk-6YW3FEHC.js} +3 -3
- package/dist/{chunk-XXLG7GCA.js → chunk-74E7EHVH.js} +1 -1
- package/dist/{chunk-LJUFR7G5.js → chunk-7DVR3DL3.js} +7 -7
- package/dist/{chunk-2UT32TJS.js → chunk-AW7A27JM.js} +1 -1
- package/dist/{chunk-TCV7N2UY.js → chunk-AZI2T2KO.js} +1 -1
- package/dist/{chunk-5UIODBMI.js → chunk-AZXDEC2G.js} +1 -1
- package/dist/{chunk-FWWJRJB5.js → chunk-BQNTY7J5.js} +1 -1
- package/dist/{chunk-BT5UT4XT.js → chunk-D2RQVJLZ.js} +2 -2
- package/dist/{chunk-G2E2DHH2.js → chunk-DMCU2ELU.js} +3 -3
- package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
- package/dist/{chunk-GP5X7V6U.js → chunk-F6WHVEUS.js} +1 -1
- package/dist/{chunk-G7ZTD2KJ.js → chunk-FKPJP7KG.js} +5 -5
- package/dist/{chunk-BKHRAHV6.js → chunk-GSCFMG4C.js} +2 -2
- package/dist/{chunk-QE5JXNSW.js → chunk-H3HC6U4I.js} +10 -10
- package/dist/{chunk-U2EUCTYQ.js → chunk-HSHKLYDI.js} +3 -3
- package/dist/{chunk-XUOLKUE7.js → chunk-I45R2REQ.js} +1 -1
- package/dist/{chunk-FAIFPYRO.js → chunk-IDWJJ7PP.js} +1 -1
- package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
- package/dist/{chunk-KENUKJRG.js → chunk-JGZUG5V4.js} +2 -2
- package/dist/{chunk-BRU66Q24.js → chunk-KQPP4NIZ.js} +2 -2
- package/dist/{chunk-33XQUQKN.js → chunk-L63FJVSC.js} +1 -1
- package/dist/{chunk-MHZB6QSC.js → chunk-LYZB5CJN.js} +13 -3
- package/dist/{chunk-3VIICMJF.js → chunk-M2BCU4Y5.js} +1 -1
- package/dist/{chunk-YXZ56JUN.js → chunk-M2F6VGCP.js} +48 -15
- package/dist/{chunk-UGDLT4LZ.js → chunk-MEB6HWBM.js} +2 -2
- package/dist/{chunk-AU7VGKCP.js → chunk-MXVH6UW6.js} +1 -1
- package/dist/{chunk-UWV753SJ.js → chunk-MYNBV7WG.js} +9 -2
- package/dist/{chunk-C2G23WQQ.js → chunk-MYXFBIJO.js} +1 -1
- package/dist/{chunk-CBZN5JIK.js → chunk-NQOCM4KQ.js} +3 -3
- package/dist/{chunk-RYBFHEMZ.js → chunk-NYOQP6DO.js} +1 -1
- package/dist/{chunk-CPKBAMI3.js → chunk-O7WR4AHX.js} +14 -14
- package/dist/{chunk-K5GGTJJV.js → chunk-OMLDAF44.js} +1 -1
- package/dist/{chunk-64MFJSGZ.js → chunk-OOEOJPFY.js} +2 -2
- package/dist/{chunk-576ATOOU.js → chunk-OPKSVV4G.js} +2 -2
- package/dist/{chunk-KUQOUWJ4.js → chunk-P6FGS4U6.js} +2 -2
- package/dist/chunk-Q3PPGPEA.js +5061 -0
- package/dist/{chunk-KK5MZQXG.js → chunk-QLQVQQP6.js} +3 -3
- package/dist/{chunk-LGMRZWJS.js → chunk-QYUXDFJY.js} +1 -1
- package/dist/{chunk-O7YOS36L.js → chunk-ROVRC3CG.js} +2 -2
- package/dist/{chunk-XUTPVELE.js → chunk-RVCWVOXM.js} +3 -3
- package/dist/{chunk-UR6L2DXM.js → chunk-RVIMLJXC.js} +13 -13
- package/dist/{chunk-YATFRFNH.js → chunk-S5GOFDX5.js} +1 -1
- package/dist/{chunk-VTLIN7XN.js → chunk-SAKL7SZH.js} +2 -2
- package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
- package/dist/{chunk-GGDVZ7O4.js → chunk-TMK3MW7B.js} +10 -10
- package/dist/{chunk-UDBW6TK4.js → chunk-TNQCXU37.js} +1 -1
- package/dist/{chunk-4OWVRHSV.js → chunk-TVT465RJ.js} +5 -5
- package/dist/{chunk-VO7IEWOH.js → chunk-U6WH572X.js} +7 -7
- package/dist/{chunk-FC7QIE5X.js → chunk-UNQ3CVKW.js} +19 -19
- package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
- package/dist/chunk-WYKRGEDD.js +62 -0
- package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
- package/dist/{chunk-JH2AO4ZW.js → chunk-XDTCPMR3.js} +1 -1
- package/dist/{chunk-LJB2PF6K.js → chunk-XETZLYGW.js} +1 -1
- package/dist/{chunk-542VETC5.js → chunk-Y4GLFHO5.js} +1 -1
- package/dist/{chunk-Z537IJJH.js → chunk-YISDQ7YP.js} +4 -4
- package/dist/{chunk-BRYOYBO5.js → chunk-YKMFCE5B.js} +1 -1
- package/dist/{chunk-7ZRXSZF6.js → chunk-YSZ4VMXI.js} +1 -1
- package/dist/{chunk-VP5KECBU.js → chunk-YV2QQUTL.js} +2 -2
- package/dist/{chunk-GHWV6PIS.js → chunk-Z7YQEDA5.js} +1 -1
- package/dist/{chunk-QEKP7XCN.js → chunk-ZBLSSWSE.js} +1 -1
- package/dist/{chunk-TNQ4SSTR.js → chunk-ZKPRJPWN.js} +8 -8
- package/dist/{chunk-3MTNYVWM.js → chunk-ZOLKM3VZ.js} +5 -5
- package/dist/{clean-YERX334S.js → clean-3NMJWZXK.js} +19 -19
- package/dist/cli.js +62 -60
- package/dist/{cloud-5XFWROJK.js → cloud-CB3NYNUR.js} +4 -4
- package/dist/{cloudrun-5XEDIP77.js → cloudrun-2CTKCIXV.js} +4 -4
- package/dist/commands/layout-audit.browser.js +29 -5
- package/dist/commands/motion-signature.browser.js +11 -6
- package/dist/{compare-THYM62NL.js → compare-FVY3AMTT.js} +28 -27
- package/dist/{compiler-SLKHXYCO.js → compiler-SEQRWEEN.js} +3 -3
- package/dist/{component-N4FFNYA5.js → component-AEMJRROX.js} +3 -3
- package/dist/{compositions-XCM3Z65K.js → compositions-NRBSIBGZ.js} +10 -10
- package/dist/{delete-6PIKDOKV.js → delete-T4E53ELR.js} +2 -2
- package/dist/{deploy-PT77AP6G.js → deploy-PUF2DW3H.js} +1 -1
- package/dist/{dist-VNOJCTQR.js → dist-B6C3DU6I.js} +2 -2
- package/dist/{dist-XXBCSQYF.js → dist-VARV35QH.js} +1 -1
- package/dist/docs/motion-blur.md +28 -0
- package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
- package/dist/{doctor-KLDSXKUM.js → doctor-FVBU575B.js} +13 -13
- package/dist/{events-OHISH3KL.js → events-DZ5PRR6F.js} +2 -2
- package/dist/{events-KEJFQQDQ.js → events-RSPDI7FX.js} +3 -3
- package/dist/{feedback-VTLWYGLQ.js → feedback-AALA3OA7.js} +7 -7
- package/dist/{ffmpeg-SG3AYA6M.js → ffmpeg-YXKE5CUE.js} +6 -6
- package/dist/{figma-5AHFOYPG.js → figma-37R727XZ.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-5VTBUZIR.js → get-L3VKJ6JF.js} +2 -2
- package/dist/{gpuPolicy-ODODH5JV.js → gpuPolicy-6QIFFWAI.js} +6 -6
- package/dist/{grade-compare-25HQJORH.js → grade-compare-7IN5QDJD.js} +29 -28
- package/dist/{heifImagePrep-SPBGWX2L.js → heifImagePrep-AWII25PM.js} +7 -7
- package/dist/{help-3AZ4ZSWZ.js → help-B4MB7MWW.js} +1 -1
- package/dist/{history-KZFZ2MJI.js → history-TQO6AWEQ.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-XNYSD2SN.js → info-7CBHVXSG.js} +7 -7
- package/dist/{init-C76MX2UE.js → init-D7HKPQ5A.js} +27 -26
- package/dist/{inspect-OWDJTC64.js → inspect-VHDQL55M.js} +29 -28
- package/dist/{installer-OFIDWMYR.js → installer-EJNLL6SV.js} +4 -4
- package/dist/{keyframes-ZBIWACNT.js → keyframes-IFLBMAJP.js} +6 -6
- package/dist/{lambda-XS3E4XSL.js → lambda-I7EQULHC.js} +10 -10
- package/dist/{layout-HLU3IVDX.js → layout-MOCEANRO.js} +29 -28
- package/dist/{lint-DUJ5PM56.js → lint-HFXGSQKN.js} +7 -7
- package/dist/{lintProject-I4XPWIQZ.js → lintProject-VCDI6A2W.js} +1 -1
- package/dist/{list-KRDQLHDH.js → list-OFYIXVON.js} +2 -2
- package/dist/{localPage-KXNSCQIQ.js → localPage-QOOQ5YA2.js} +6 -6
- package/dist/{login-4P7LCOB5.js → login-WAG7B4PM.js} +4 -4
- package/dist/{manager-USFB6SE2.js → manager-34U5CEFB.js} +7 -7
- package/dist/{manager-I4ROBMYK.js → manager-ENFYM32B.js} +1 -1
- package/dist/{media-treatment-JOZB3MTT.js → media-treatment-2TLX6NKS.js} +12 -12
- package/dist/{models-RZRXHIER.js → models-M2F4WTAR.js} +10 -10
- package/dist/{motionShot-3SHLRT3L.js → motionShot-6WCTCV4W.js} +15 -15
- package/dist/{normalize-audio-SL2ATLJM.js → normalize-audio-T6PIPWOT.js} +8 -8
- package/dist/{open-TCGY4NB2.js → open-BC5METIY.js} +12 -11
- package/dist/{parakeetRunner-ZBO4LR7M.js → parakeetRunner-UXVY7PV2.js} +11 -11
- package/dist/{pipeline-7D36B3FW.js → pipeline-GJAJPWPB.js} +9 -9
- package/dist/{play-CTBPJFBX.js → play-UCIRUHCU.js} +20 -19
- package/dist/{preflight-GFWIOUO3.js → preflight-GVRYYIH5.js} +8 -8
- package/dist/{present-GXOHUNFP.js → present-46QLZOK4.js} +15 -15
- package/dist/{preview-BWCEXEII.js → preview-HWXMP7WL.js} +23 -21
- package/dist/{producer-UME4Q4HH.js → producer-2PBHUE5O.js} +1 -1
- package/dist/{projectConfig-I6QNMRVV.js → projectConfig-C4S3LBBX.js} +7 -6
- package/dist/{publication-JET7ZBWG.js → publication-GESNVVMS.js} +2 -2
- package/dist/{publish-ZGW46SKV.js → publish-IBY26S3T.js} +11 -10
- package/dist/{remove-background-YSJ7XFPQ.js → remove-background-3OBWOHVZ.js} +10 -10
- package/dist/{render-QFIWTDK3.js → render-3F6GQ5WW.js} +14 -14
- package/dist/{render-33TSTTN7.js → render-LSI5WXS7.js} +5 -5
- package/dist/{render-Q2VLJGFV.js → render-SR5RISLU.js} +36 -35
- package/dist/{render-batch-SDDZ3LM7.js → render-batch-HV4W3PZM.js} +5 -5
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-VLOUQ7I6.js → resolver-R5X3HAPE.js} +5 -4
- package/dist/{sherpa-YKK3LRSI.js → sherpa-2Q6U4ZFY.js} +10 -10
- package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
- package/dist/{skills-5ENIWSB2.js → skills-FSGXQSHA.js} +5 -5
- package/dist/{skillsUpdateCheck-7GDJNW5A.js → skillsUpdateCheck-UW6643XX.js} +3 -3
- package/dist/{snapshot-O3JXB3VM.js → snapshot-HFPB34Y7.js} +62 -39
- package/dist/{src-6T5KES5G.js → src-ROWFWCEN.js} +5 -5
- package/dist/{src-MT7UQJT5.js → src-VMTQQUUP.js} +8 -8
- package/dist/{staticProjectServer-UP22EGMU.js → staticProjectServer-4TGZJIWN.js} +18 -17
- package/dist/{status-63BKLDVW.js → status-4AAPTTRW.js} +2 -2
- package/dist/studio/assets/{hyperframes-player-B83GGznX.js → hyperframes-player-B_wvwarc.js} +1 -1
- package/dist/studio/assets/{index-B9gVTopE.js → index-BDE7dwov.js} +6 -6
- package/dist/studio/assets/{index-Ca_tSAqR.js → index-D0jGq2dS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q6KSNU77.js → studio-api-TSHXVZ6R.js} +9 -9
- package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
- package/dist/{studioServer-44OR56TK.js → studioServer-74ZBLNP2.js} +52 -57
- package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
- package/dist/{telemetry-2N7DLYCQ.js → telemetry-3NDLZOPR.js} +3 -3
- package/dist/{timeline-MT56A3HB.js → timeline-5IFZJU7M.js} +20 -19
- package/dist/{tokens-V6O4I5IX.js → tokens-UFNPQVLS.js} +2 -2
- package/dist/{transcribe-GGV4YEF3.js → transcribe-7KQAUHEN.js} +9 -9
- package/dist/{transcribe-ZCJ6WB6R.js → transcribe-NAXKBIPW.js} +15 -15
- package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
- package/dist/{updateCheck-ZBBUGX3A.js → updateCheck-KDSFL3XX.js} +2 -2
- package/dist/{upgrade-L7SM3TPB.js → upgrade-EXX4C35N.js} +2 -2
- package/dist/{urlDownloader-HTBT6K5N.js → urlDownloader-4UFCIAPH.js} +5 -5
- package/dist/{validate-WXKYRV2E.js → validate-QYOHY3N6.js} +22 -22
- package/dist/{video-JH5WQC2I.js → video-HRL3V2R5.js} +7 -7
- package/dist/warmCheck.js +39 -38
- package/package.json +1 -1
- package/dist/chunk-4I7KQWZS.js +0 -5061
|
@@ -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-625I5VBE.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M2F6VGCP.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TNQCXU37.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-3NDLZOPR.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -8155,7 +8155,7 @@ function hiddenSetTargetSelectors(target, aliases) {
|
|
|
8155
8155
|
const parts = target.startsWith("[") && target.endsWith("]") ? target.slice(1, -1).split(",") : [target];
|
|
8156
8156
|
return parts.flatMap((part) => {
|
|
8157
8157
|
const trimmed = part.trim();
|
|
8158
|
-
const resolved = /^(["'`])([^"'`]+)\1$/.exec(trimmed)?.[2] ?? aliases.get(trimmed);
|
|
8158
|
+
const resolved = /^(["'`])([^"'`]+)\1$/.exec(trimmed)?.[2] ?? /^[\w$.]+\.querySelector(?:All)?\(\s*(["'`])([^"'`]+)\1\s*\)$/.exec(trimmed)?.[2] ?? aliases.get(trimmed);
|
|
8159
8159
|
return resolved === void 0 ? [] : resolved.split(",");
|
|
8160
8160
|
}).map((selector) => selector.trim()).filter((selector) => selector.length > 0);
|
|
8161
8161
|
}
|
|
@@ -8169,7 +8169,12 @@ function extractStandaloneHiddenSelectors(script) {
|
|
|
8169
8169
|
)) {
|
|
8170
8170
|
aliases.set(match2[1] ?? "", match2[3] ?? "");
|
|
8171
8171
|
}
|
|
8172
|
-
const
|
|
8172
|
+
for (const match2 of source.matchAll(
|
|
8173
|
+
/(?:const|let|var)\s+([A-Za-z_$][\w$]*)\s*=\s*[\w$.]+\.querySelector(?:All)?\(\s*(["'`])([^"'`]+)\2\s*\)/g
|
|
8174
|
+
)) {
|
|
8175
|
+
aliases.set(match2[1] ?? "", match2[3] ?? "");
|
|
8176
|
+
}
|
|
8177
|
+
const pattern = /gsap\.set\s*\(\s*(\[[^[\]]*\]|"[^"]*"|'[^']*'|`[^`]*`|[\w$.]+\.querySelector(?:All)?\(\s*(?:"[^"]*"|'[^']*'|`[^`]*`)\s*\)|[^,()[\]]+?)\s*,\s*\{([\s\S]*?)\}\s*\)/g;
|
|
8173
8178
|
let match;
|
|
8174
8179
|
while ((match = pattern.exec(source)) !== null) {
|
|
8175
8180
|
if (indexInsideNonIifeRange(match.index, source, functionRanges)) continue;
|
|
@@ -8830,7 +8835,12 @@ ${right.raw}`)
|
|
|
8830
8835
|
(win) => win.position <= SCENE_BOUNDARY_EPSILON_SECONDS && (isHiddenGsapState(win.propertyValues) || win.fromPropertyValues !== void 0 && isHiddenGsapState(win.fromPropertyValues))
|
|
8831
8836
|
);
|
|
8832
8837
|
if (startsHiddenAtZero) continue;
|
|
8833
|
-
if (selectors.some(
|
|
8838
|
+
if (selectors.some(
|
|
8839
|
+
(selector2) => [...authoredHiddenSelectors].some(
|
|
8840
|
+
(hidden) => hidden === selector2 || targetedSelectorTokens(hidden).has(selector2)
|
|
8841
|
+
)
|
|
8842
|
+
))
|
|
8843
|
+
continue;
|
|
8834
8844
|
const firstVisible = visibilityWindows.find((win) => makesOverlayVisible(win));
|
|
8835
8845
|
if (!firstVisible) continue;
|
|
8836
8846
|
const selector = selectors.find(
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MXVH6UW6.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Q3PPGPEA.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-LYZB5CJN.js";
|
|
107
107
|
import {
|
|
108
108
|
FFMPEG_PATH_ENV,
|
|
109
109
|
FFPROBE_PATH_ENV,
|
|
@@ -691,7 +691,7 @@ async function explainChromeLaunchFailure(error, executablePath, args, signal) {
|
|
|
691
691
|
const { code, errno, syscall } = error;
|
|
692
692
|
if (code === "UNKNOWN" && syscall === "spawn")
|
|
693
693
|
return new Error(
|
|
694
|
-
`Windows refused to start the browser${executablePath ? ` at ${executablePath}` : ""} (error ${errno ?? "unknown"}, spawn UNKNOWN).
|
|
694
|
+
`Windows refused to start the browser${executablePath ? ` at ${executablePath}` : ""} (error ${errno ?? "unknown"}, spawn UNKNOWN). Windows Application Control or security software may be blocking it, or the computer may be out of memory. Close other apps and retry. If a policy blocks the file, allow that path or set HYPERFRAMES_BROWSER_PATH to a Chrome or Edge your policy allows; if the file is damaged, run \`hyperframes browser ensure --force\` to download it again.`,
|
|
695
695
|
{ cause: error }
|
|
696
696
|
);
|
|
697
697
|
if (!executablePath) return error;
|
|
@@ -6309,7 +6309,7 @@ async function waitForSubCompositionTimelines(session, page, timeoutMs, options
|
|
|
6309
6309
|
memo.unregisteredIds = session.pendingTimelineIds ?? [];
|
|
6310
6310
|
}
|
|
6311
6311
|
}
|
|
6312
|
-
async function authorScriptsMayRegisterTimelines(runtimeAttr, authoredBegin, authoredEnd) {
|
|
6312
|
+
async function authorScriptsMayRegisterTimelines(runtimeAttr, authoredBegin, authoredEnd, skipIds = []) {
|
|
6313
6313
|
if (document.readyState !== "complete") return true;
|
|
6314
6314
|
const memo = globalThis;
|
|
6315
6315
|
memo.__hfAuthorScan ??= await (async () => {
|
|
@@ -6319,26 +6319,47 @@ async function authorScriptsMayRegisterTimelines(runtimeAttr, authoredBegin, aut
|
|
|
6319
6319
|
(t) => Array.from(t.content.querySelectorAll("script"))
|
|
6320
6320
|
)
|
|
6321
6321
|
].filter((script) => !script.hasAttribute(runtimeAttr));
|
|
6322
|
-
const
|
|
6322
|
+
const scan = { opaque: false, mentions: false, ids: [] };
|
|
6323
|
+
const mayImport = (code) => /\bimport\s*\(|^\s*import\s*[\w{*"']/m.test(code);
|
|
6324
|
+
const read = (code) => {
|
|
6325
|
+
if (mayImport(code)) scan.opaque = true;
|
|
6326
|
+
if (!code.includes("__timelines")) return;
|
|
6327
|
+
scan.mentions = true;
|
|
6328
|
+
const literalKey = /__timelines\s*(?:\[\s*(["'])((?:(?!\1).)+)\1\s*\]|\.([A-Za-z_$][\w$]*))/g;
|
|
6329
|
+
const rest = code.replace(/__timelines\s*=\s*(?:window\.__timelines\s*\|\|\s*)?\{\s*\}/g, "").replace(literalKey, (_m, _q, bracketId, dotId) => {
|
|
6330
|
+
scan.ids.push(bracketId ?? dotId);
|
|
6331
|
+
return "";
|
|
6332
|
+
});
|
|
6333
|
+
if (rest.includes("__timelines")) scan.opaque = true;
|
|
6334
|
+
};
|
|
6323
6335
|
for (const script of scripts) {
|
|
6324
|
-
if (script.type === "module") return true;
|
|
6336
|
+
if (script.type === "module") return { ...scan, opaque: true };
|
|
6325
6337
|
if (!script.src) {
|
|
6326
6338
|
const text = script.textContent ?? "";
|
|
6327
|
-
|
|
6328
|
-
|
|
6339
|
+
read(
|
|
6340
|
+
text.includes(authoredBegin) ? text.split(authoredBegin).slice(1).map((region) => region.split(authoredEnd)[0]).join("\n") : text
|
|
6341
|
+
);
|
|
6329
6342
|
continue;
|
|
6330
6343
|
}
|
|
6331
6344
|
const url = new URL(script.src, location.href);
|
|
6332
|
-
if (url.origin !== location.origin) return true;
|
|
6345
|
+
if (url.origin !== location.origin) return { ...scan, opaque: true };
|
|
6333
6346
|
try {
|
|
6334
|
-
|
|
6347
|
+
read(await (await fetch(url)).text());
|
|
6335
6348
|
} catch {
|
|
6336
|
-
return true;
|
|
6349
|
+
return { ...scan, opaque: true };
|
|
6337
6350
|
}
|
|
6338
6351
|
}
|
|
6339
|
-
return
|
|
6352
|
+
return scan;
|
|
6340
6353
|
})();
|
|
6341
|
-
|
|
6354
|
+
const { opaque, mentions, ids } = memo.__hfAuthorScan;
|
|
6355
|
+
if (opaque) return true;
|
|
6356
|
+
if (!mentions) return false;
|
|
6357
|
+
const timelines = window.__timelines ?? {};
|
|
6358
|
+
return Array.from(document.querySelectorAll("[data-composition-id]")).some((host) => {
|
|
6359
|
+
const id = host.getAttribute("data-composition-id");
|
|
6360
|
+
const authoredId = host.getAttribute("data-hf-original-composition-id") ?? id;
|
|
6361
|
+
return id && !host.hasAttribute("data-no-timeline") && !timelines[id] && !skipIds.includes(id) && ids.includes(authoredId ?? id);
|
|
6362
|
+
});
|
|
6342
6363
|
}
|
|
6343
6364
|
async function pollSubCompositionTimelines(page, timeoutMs, {
|
|
6344
6365
|
intervalMs = 150,
|
|
@@ -6376,7 +6397,8 @@ async function pollSubCompositionTimelines(page, timeoutMs, {
|
|
|
6376
6397
|
authorScriptsMayRegisterTimelines,
|
|
6377
6398
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
6378
6399
|
AUTHORED_SOURCE_BEGIN,
|
|
6379
|
-
AUTHORED_SOURCE_END
|
|
6400
|
+
AUTHORED_SOURCE_END,
|
|
6401
|
+
knownUnregisteredIds
|
|
6380
6402
|
);
|
|
6381
6403
|
if (ready || shouldStop?.()) break;
|
|
6382
6404
|
const now = Date.now();
|
|
@@ -9516,6 +9538,12 @@ function parseFrameRate(frameRateStr) {
|
|
|
9516
9538
|
if (!Number.isFinite(rounded)) return 0;
|
|
9517
9539
|
return rounded > 0 ? rounded : 0.01;
|
|
9518
9540
|
}
|
|
9541
|
+
function parseSampleAspectRatio(value) {
|
|
9542
|
+
const [num, den] = (value ?? "").split(":").map(Number);
|
|
9543
|
+
if (!num || !den || !Number.isFinite(num) || !Number.isFinite(den)) return void 0;
|
|
9544
|
+
const ratio = num / den;
|
|
9545
|
+
return Math.abs(ratio - 1) < 1e-3 ? void 0 : ratio;
|
|
9546
|
+
}
|
|
9519
9547
|
async function probeDecodedAlphaPlane(filePath, decoder) {
|
|
9520
9548
|
let probeDir;
|
|
9521
9549
|
try {
|
|
@@ -9612,6 +9640,7 @@ async function extractMediaMetadata(filePath) {
|
|
|
9612
9640
|
};
|
|
9613
9641
|
const colorSpace = merged.colorTransfer || merged.colorPrimaries || merged.colorSpace ? merged : null;
|
|
9614
9642
|
const pixelFormat = videoStream.pix_fmt || "";
|
|
9643
|
+
const sampleAspectRatio = parseSampleAspectRatio(videoStream.sample_aspect_ratio);
|
|
9615
9644
|
const hasAlpha = videoStreamHasAlpha(videoStream);
|
|
9616
9645
|
const alphaDecoder = hasAlpha ? null : alphaDecoderFor(videoStream.codec_name);
|
|
9617
9646
|
const alphaPlaneDecoded = alphaDecoder ? await probeDecodedAlphaPlane(filePath, alphaDecoder) : void 0;
|
|
@@ -9647,6 +9676,7 @@ async function extractMediaMetadata(filePath) {
|
|
|
9647
9676
|
colorSpace,
|
|
9648
9677
|
colorRange: videoStream.color_range,
|
|
9649
9678
|
pixelFormat,
|
|
9679
|
+
...sampleAspectRatio === void 0 ? {} : { sampleAspectRatio },
|
|
9650
9680
|
frames
|
|
9651
9681
|
};
|
|
9652
9682
|
})();
|
|
@@ -13291,6 +13321,9 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13291
13321
|
vfFilters.push("format=nv12");
|
|
13292
13322
|
}
|
|
13293
13323
|
const samplingAt = vfFilters.length;
|
|
13324
|
+
if (metadata.sampleAspectRatio) {
|
|
13325
|
+
vfFilters.push("scale=trunc(iw*sar/2)*2:ih", "setsar=1");
|
|
13326
|
+
}
|
|
13294
13327
|
const samplingFilters = (seek) => sampleAtOutputFps ? [
|
|
13295
13328
|
...metadata.isVFR ? [] : undoTickRoundingOnTheSourceFrameGrid(seek, videoStartOnMediaTimeline(metadata)),
|
|
13296
13329
|
"settb=intb/2",
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QYUXDFJY.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FKPJP7KG.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
21
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -11,7 +11,10 @@ import {
|
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
fetchItemManifest,
|
|
13
13
|
fetchRegistryManifest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-S5GOFDX5.js";
|
|
15
|
+
import {
|
|
16
|
+
closestNames
|
|
17
|
+
} from "./chunk-WYKRGEDD.js";
|
|
15
18
|
|
|
16
19
|
// src/registry/resolver.ts
|
|
17
20
|
function defaultWarn(message) {
|
|
@@ -75,8 +78,12 @@ async function resolveItemWithDependencies(name, options = {}) {
|
|
|
75
78
|
const entry = entries.find((e) => e.name === name);
|
|
76
79
|
if (!entry) {
|
|
77
80
|
const available = entries.map((e) => e.name).join(", ");
|
|
81
|
+
const close = closestNames(
|
|
82
|
+
name,
|
|
83
|
+
entries.map((e) => e.name)
|
|
84
|
+
);
|
|
78
85
|
throw new Error(
|
|
79
|
-
available.length > 0 ? `Item "${name}" not found in registry. Available: ${available}` : unreachableRegistryMessage(name, options.baseUrl)
|
|
86
|
+
available.length > 0 ? `Item "${name}" not found in registry.${close.length > 0 ? ` Closest: ${close.join(", ")}.` : ""} Available: ${available}` : unreachableRegistryMessage(name, options.baseUrl)
|
|
80
87
|
);
|
|
81
88
|
}
|
|
82
89
|
const entryByName = new Map(entries.map((e) => [e.name, e]));
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F6WHVEUS.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZBLSSWSE.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-YXKE5CUE.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,23 +6,23 @@ 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-BQNTY7J5.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TMK3MW7B.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-322M35EB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NYOQP6DO.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JGZUG5V4.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Q3PPGPEA.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-KSC4O2RY.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YSZ4VMXI.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-2PBHUE5O.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
-
const { ensureBrowser } = await import("./manager-
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-SEQRWEEN.js");
|
|
277
|
+
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-4TGZJIWN.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-VCDI6A2W.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-ROWFWCEN.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-6QIFFWAI.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -6,7 +6,7 @@ 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-BQNTY7J5.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
findPreviewServerForProject,
|
|
19
19
|
studioApiUrl
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-US4BCRYB.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YV2QQUTL.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M2F6VGCP.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XDTCPMR3.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MXVH6UW6.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|