hyperframes 0.8.194 → 0.8.195
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-47UAIWY4.js → add-NL6XABRV.js} +11 -11
- package/dist/{animatedGifPrep-TFSQZWK6.js → animatedGifPrep-JD4BBM2L.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-AU7PZHXA.js → asset-LRRHLG4L.js} +2 -2
- package/dist/{assetCataloger-HC5N6WPT.js → assetCataloger-D7KGO346.js} +6 -6
- package/dist/{audio-7AWMZWBM.js → audio-34CZM4HF.js} +12 -12
- package/dist/{auth-GXH3QNDJ.js → auth-FL5ZMOXB.js} +1 -1
- package/dist/{autoUpdate-GVGP5O2I.js → autoUpdate-FZTJFLIH.js} +2 -2
- package/dist/{backgroundChecks-IUJM2Q35.js → backgroundChecks-6ZKDCQET.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-3XS2Y2Y4.js → batchRender-KDZ4F4QT.js} +3 -3
- package/dist/{beats-U64B4S7Z.js → beats-7PK677VR.js} +8 -8
- package/dist/{benchmark-2YUPAI76.js → benchmark-LO36QH5D.js} +8 -8
- package/dist/{browser-DBFH7KXM.js → browser-3F7NDHU2.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-XWL7KSQJ.js → bundleWithLocalizedFonts-JL5J52L6.js} +2 -2
- package/dist/{capture-YWH7BPBI.js → capture-DOP3ONNZ.js} +9 -9
- package/dist/{capture-E4VW75NM.js → capture-JOSZZYUW.js} +2 -2
- package/dist/{captureCompositionFrame-IG6S2OHG.js → captureCompositionFrame-SWZ4GEJP.js} +11 -11
- package/dist/{catalog-LZIZLZ34.js → catalog-EZLHZMLM.js} +11 -11
- package/dist/{catch-up-ZVNPIACY.js → catch-up-6B7VY43I.js} +4 -4
- package/dist/{check-EKEOD4UM.js → check-QGELCBBF.js} +33 -33
- package/dist/{checkBrowser-MYH6HPHH.js → checkBrowser-A5C2AB4L.js} +28 -28
- package/dist/{chunk-EB3XXHNO.js → chunk-2G6JZJAV.js} +2 -2
- package/dist/{chunk-Q4HKC3O7.js → chunk-2HSRLKZR.js} +3 -3
- package/dist/{chunk-K2VXPQKC.js → chunk-2TU4OKIR.js} +173 -20
- package/dist/{chunk-4PIPQPCW.js → chunk-3OAFRLD3.js} +7 -7
- package/dist/{chunk-2AJU7PZ6.js → chunk-3PYIQLPL.js} +1 -1
- package/dist/{chunk-XYGULBFV.js → chunk-4R2NWLQL.js} +1 -1
- package/dist/{chunk-HQD7ODQB.js → chunk-636WBDXB.js} +5 -5
- package/dist/{chunk-EY7GKVPS.js → chunk-66Q27H72.js} +2 -2
- package/dist/{chunk-BK5YCT54.js → chunk-6ORTRIDW.js} +3 -3
- package/dist/{chunk-RUPGFW5B.js → chunk-7DFIVUOW.js} +5 -5
- package/dist/{chunk-F3B7CE3Q.js → chunk-7G2LQM3J.js} +13 -13
- package/dist/{chunk-NVVIFW3C.js → chunk-7PXVXRVX.js} +9 -9
- package/dist/{chunk-JU4T4VAA.js → chunk-7Y5RVQQ7.js} +3 -3
- package/dist/{chunk-KDEV5RIE.js → chunk-B7Y2DGU6.js} +1 -1
- package/dist/{chunk-MGSNFWGR.js → chunk-BBXZPDEA.js} +2 -2
- package/dist/{chunk-FUA22HO4.js → chunk-CCZMCX3F.js} +1 -1
- package/dist/{chunk-QJQTWTM7.js → chunk-D6XDOYMB.js} +1 -1
- package/dist/{chunk-LZ4WPR3B.js → chunk-E527A6RS.js} +1 -1
- package/dist/{chunk-JVTWX5G3.js → chunk-E74JMKSK.js} +26 -1
- package/dist/{chunk-SNECH6QA.js → chunk-ELQ2QQC5.js} +1 -1
- package/dist/{chunk-O2ILONGK.js → chunk-ES7KSCSO.js} +9 -9
- package/dist/{chunk-Y3BT27Y7.js → chunk-F4T7XYMF.js} +1 -1
- package/dist/{chunk-452UK7E7.js → chunk-FWDDLW2H.js} +2 -2
- package/dist/{chunk-MCFPMUMT.js → chunk-GJG4CTXD.js} +1 -1
- package/dist/{chunk-HPGQPRHY.js → chunk-GKMRLES4.js} +1 -1
- package/dist/{chunk-VHIBBDEI.js → chunk-GOOE33GV.js} +1 -1
- package/dist/{chunk-52YJKWV3.js → chunk-HJINEUHY.js} +20 -4
- package/dist/{chunk-M2VXARYK.js → chunk-HT33OHQL.js} +1 -1
- package/dist/{chunk-3OSBSUN3.js → chunk-HTLCE7M2.js} +17 -17
- package/dist/{chunk-DVQDBWQG.js → chunk-IA7HZ4CM.js} +3 -3
- package/dist/{chunk-LMIDZIW2.js → chunk-IZR7U27Z.js} +11 -11
- package/dist/{chunk-54PZ2EQZ.js → chunk-KJ6ZQL34.js} +1 -1
- package/dist/{chunk-VPON6DF2.js → chunk-KVLGJJTE.js} +5 -5
- package/dist/{chunk-4GMDL4N5.js → chunk-L2EBYFU7.js} +1 -1
- package/dist/{chunk-JXTPNUSO.js → chunk-L4BFXWHC.js} +91 -46
- package/dist/{chunk-RZWJJCI7.js → chunk-NKNRVPNV.js} +1 -1
- package/dist/{chunk-3S3CXF4W.js → chunk-NOHH25WS.js} +2 -2
- package/dist/{chunk-PXK3ICU6.js → chunk-OB4GJZTY.js} +1 -1
- package/dist/{chunk-4FVNEXSV.js → chunk-ORZMO6NY.js} +3 -3
- package/dist/{chunk-4VSV56F2.js → chunk-P5X5URNQ.js} +1 -1
- package/dist/{chunk-B3GG3HJB.js → chunk-RAACYYWX.js} +1 -1
- package/dist/{chunk-CEUBYYVJ.js → chunk-RZUEXJRC.js} +2 -2
- package/dist/{chunk-MO6RTNYD.js → chunk-SC6NILKD.js} +1 -1
- package/dist/{chunk-HCLBM2LQ.js → chunk-SMROKE63.js} +1 -1
- package/dist/{chunk-N33FO44R.js → chunk-TE6VGYHQ.js} +1 -1
- package/dist/{chunk-GAFEU6AB.js → chunk-VNWX5GBF.js} +8 -7
- package/dist/{chunk-BYADARIC.js → chunk-W4SSWOOD.js} +2 -2
- package/dist/{chunk-TDYKVJTU.js → chunk-W7GMPEY3.js} +31 -18
- package/dist/{chunk-CEZH4AQT.js → chunk-WUL5LPI2.js} +1 -1
- package/dist/{chunk-LOGKDQ3G.js → chunk-XC7SJ2UR.js} +3 -3
- package/dist/{chunk-DT3JESJ6.js → chunk-XOUWCZHD.js} +1 -1
- package/dist/{chunk-HG5ECUOR.js → chunk-YFTO5YD7.js} +5 -5
- package/dist/{chunk-PEHST4UY.js → chunk-YSXCPSJ4.js} +3 -3
- package/dist/{chunk-N3M3IU6S.js → chunk-YUFECVHG.js} +1 -1
- package/dist/{chunk-ST4SHO3S.js → chunk-ZAVUASNT.js} +1 -1
- package/dist/{chunk-POFJH2IS.js → chunk-ZL6ZCLY6.js} +1 -1
- package/dist/{chunk-37IHQVNQ.js → chunk-ZOJHEN3C.js} +1 -1
- package/dist/chunk-ZQRD62QZ.js +3901 -0
- package/dist/{clean-NS2SDRK7.js → clean-PI4JLT6O.js} +14 -14
- package/dist/cli.js +53 -53
- package/dist/{cloud-K4XQPWTY.js → cloud-SQRY723M.js} +4 -4
- package/dist/{cloudrun-BKOKXTXV.js → cloudrun-VMPROR43.js} +4 -4
- package/dist/commands/layout-audit.browser.js +1 -1
- package/dist/{compare-ZAV773OL.js → compare-EHX4APTP.js} +25 -25
- package/dist/{compiler-CWHFCE3H.js → compiler-FZCJGGBF.js} +3 -3
- package/dist/{component-OXA2ZWX3.js → component-I75ZKJYH.js} +3 -3
- package/dist/{compositions-NKRVWCPE.js → compositions-YNYYUEQD.js} +10 -10
- package/dist/{delete-HZ2LBCLC.js → delete-7BVTBKOC.js} +2 -2
- package/dist/{deploy-FNDTZFF7.js → deploy-TUEEJP3W.js} +1 -1
- package/dist/{dist-7OCZHNLY.js → dist-VRGIE57H.js} +1 -1
- package/dist/{dist-2YTN2UGY.js → dist-VVROHSP4.js} +2 -2
- package/dist/{doctor-6QWJGO5P.js → doctor-53DSQFW4.js} +10 -10
- package/dist/{events-MBKHVGXX.js → events-AD3U6E7I.js} +2 -2
- package/dist/{events-HTHOBIUN.js → events-M6FIUDNQ.js} +3 -3
- package/dist/{feedback-X5QWTLEX.js → feedback-7SQ7KKAR.js} +6 -6
- package/dist/{ffmpeg-7GESJCCT.js → ffmpeg-3HSSPXS4.js} +6 -6
- package/dist/{figma-SXOHFVJI.js → figma-B5XII2BO.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-T2HI5FCK.js → get-RZKNBIRD.js} +2 -2
- package/dist/{gpuPolicy-5FABKW5G.js → gpuPolicy-77LOK3K6.js} +6 -6
- package/dist/{grade-compare-JATGHA6Q.js → grade-compare-K3YB3FQA.js} +26 -26
- package/dist/{help-G6CIKCGS.js → help-UM6INVL5.js} +1 -1
- package/dist/{history-CSJUHYTD.js → history-EWKPACWR.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +61 -61
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-MTTUMW2C.js → info-KY3MFTCY.js} +7 -7
- package/dist/{init-LJYNI5EK.js → init-LURF2PL5.js} +26 -26
- package/dist/{inspect-HGDM2VJE.js → inspect-46CZJM6P.js} +26 -26
- package/dist/{installer-3XHURUDG.js → installer-NGFX6INI.js} +4 -4
- package/dist/{keyframes-MSU7N53X.js → keyframes-YCSK6POI.js} +6 -6
- package/dist/{lambda-2I2TIUSD.js → lambda-5KXULI2S.js} +6 -6
- package/dist/{layout-KWOXZMN7.js → layout-WOLH24YE.js} +26 -26
- package/dist/{lint-N53TLHFG.js → lint-P3P2LX6S.js} +7 -7
- package/dist/{lintProject-EOUZA4EG.js → lintProject-ESAJKFOX.js} +1 -1
- package/dist/{list-SHYPQC7U.js → list-RUYQWMF2.js} +2 -2
- package/dist/{login-TEB6PA3Y.js → login-THBBWZAY.js} +4 -4
- package/dist/{manager-PLRSZH5G.js → manager-V34BMSAG.js} +7 -7
- package/dist/{media-treatment-XTUKMIGE.js → media-treatment-IMBLTYGV.js} +12 -12
- package/dist/{models-4WKAPP2L.js → models-3NW7HU72.js} +10 -10
- package/dist/{motionShot-PTKB4ILH.js → motionShot-VTTYZ6KW.js} +14 -14
- package/dist/{normalize-audio-3NG326I2.js → normalize-audio-ME3X7HBX.js} +4 -4
- package/dist/{open-6S2LMF7R.js → open-GLGSJISM.js} +11 -11
- package/dist/{parakeetRunner-OEI35DVO.js → parakeetRunner-T3UGRZWC.js} +11 -11
- package/dist/{pipeline-543FUKH4.js → pipeline-IJXVEQCU.js} +7 -7
- package/dist/{play-ETEGHP3B.js → play-HFFGGAZH.js} +17 -17
- package/dist/{preflight-Y5IYUF2T.js → preflight-QV6V3UO2.js} +7 -7
- package/dist/{present-ZRSLMJ6J.js → present-TH34CTYY.js} +13 -13
- package/dist/{preview-CEJ3SVTY.js → preview-R67EQGQP.js} +17 -17
- package/dist/{producer-JFVFIV26.js → producer-HWPFETDU.js} +1 -1
- package/dist/{projectConfig-7EK3BS72.js → projectConfig-AO4V3RHS.js} +6 -6
- package/dist/{publication-Y54GYFMV.js → publication-BDQ3PXYG.js} +2 -2
- package/dist/{publish-S3UJTPCV.js → publish-PXYTWSXN.js} +8 -8
- package/dist/{remove-background-YTATNQSI.js → remove-background-BVDJPT3Z.js} +8 -8
- package/dist/{render-WNIG4B3J.js → render-45YHWV6W.js} +5 -5
- package/dist/{render-RN3W6YL4.js → render-5MZY4TAB.js} +13 -13
- package/dist/{render-IIPXMSBO.js → render-5RQUYPIV.js} +27 -27
- package/dist/{render-batch-OYS3UQDB.js → render-batch-ZUTUBTHX.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-OVCXVEDX.js → resolver-FN2M3XVM.js} +4 -4
- package/dist/{sherpa-NCSFD7S3.js → sherpa-6KWNPRWB.js} +10 -10
- package/dist/{skills-IUV3K3X7.js → skills-PWQCM2BT.js} +5 -5
- package/dist/{skillsUpdateCheck-NACBXMWW.js → skillsUpdateCheck-EHV2G3JX.js} +3 -3
- package/dist/{snapshot-7S5USJ2I.js → snapshot-7Q24NFEI.js} +30 -30
- package/dist/{src-CAR6PHI4.js → src-J43SXEHJ.js} +7 -7
- package/dist/{src-HITT6NWG.js → src-OS2FRVZV.js} +5 -5
- package/dist/{staticProjectServer-QR6VZBPT.js → staticProjectServer-YJWOQJF4.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-DLOUZUct.js → hyperframes-player-DnIPEARk.js} +1 -1
- package/dist/studio/assets/{index-D9kA6JUX.js → index-CVppCm_X.js} +1 -1
- package/dist/studio/assets/{index-CAQ7OcNJ.js → index-Dkt4c1MV.js} +134 -134
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HVNOJILH.js → studio-api-CZBZ4D65.js} +7 -7
- package/dist/{studioServer-3BG5FRJL.js → studioServer-U6EX5DSB.js} +85 -45
- package/dist/{telemetry-PET2GFQG.js → telemetry-VP4UWWO3.js} +3 -3
- package/dist/{timeline-PVIC2Z5K.js → timeline-LMSUKEG6.js} +15 -15
- package/dist/{tokens-4N46PWSF.js → tokens-FQ5AI5H4.js} +2 -2
- package/dist/{transcribe-IDC7JTM4.js → transcribe-DNQFPZ2S.js} +9 -9
- package/dist/{transcribe-2DVBS7MH.js → transcribe-VAMXV7QS.js} +15 -15
- package/dist/{updateCheck-QRDVXU7I.js → updateCheck-TOU7VLZK.js} +2 -2
- package/dist/{upgrade-5CNE3TBH.js → upgrade-CJRMRR2S.js} +2 -2
- package/dist/{urlDownloader-P2I25DFC.js → urlDownloader-GETNWEIT.js} +5 -5
- package/dist/{validate-CLR5PEOV.js → validate-PRI2UTQS.js} +20 -20
- package/dist/vendor/npm/gsap@3.15.0/dist/CustomEase.min.js +11 -0
- package/dist/vendor/npm/gsap@3.15.0/dist/MotionPathPlugin.min.js +11 -0
- package/dist/vendor/npm/gsap@3.15.0/dist/gsap.min.js +11 -0
- package/dist/{video-3CKZZBOB.js → video-VOCQA6AG.js} +6 -6
- package/dist/warmCheck.js +33 -33
- package/package.json +1 -1
- package/dist/chunk-2D5WP2NI.js +0 -3901
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TE6VGYHQ.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6ORTRIDW.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2HSRLKZR.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P5X5URNQ.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F4T7XYMF.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -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.195" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.195" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2HSRLKZR.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-P5X5URNQ.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-F4T7XYMF.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-6JR2XUEE.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CCZMCX3F.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HJINEUHY.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E74JMKSK.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-ZQRD62QZ.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-2TU4OKIR.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAuthoredAssetFile
|
|
46
46
|
} from "./chunk-6BNTGNGD.js";
|
|
@@ -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-ZAVUASNT.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ES7KSCSO.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WUL5LPI2.js";
|
|
20
20
|
import {
|
|
21
21
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YSXCPSJ4.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GOOE33GV.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveNaturalMediaTimelineDuration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZQRD62QZ.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-BSQ7XANM.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ELQ2QQC5.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
48
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -239,7 +239,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
239
239
|
async function localizeRemoteAssets(html) {
|
|
240
240
|
let dir;
|
|
241
241
|
try {
|
|
242
|
-
const { loadProducer } = await import("./producer-
|
|
242
|
+
const { loadProducer } = await import("./producer-HWPFETDU.js");
|
|
243
243
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
244
244
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
245
245
|
const assetDir = dir;
|
|
@@ -260,10 +260,10 @@ async function localizeRemoteAssets(html) {
|
|
|
260
260
|
}
|
|
261
261
|
async function validateInBrowser(project, opts) {
|
|
262
262
|
const projectDir = project.dir;
|
|
263
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
263
|
+
const { bundleToSingleHtml } = await import("./compiler-FZCJGGBF.js");
|
|
264
264
|
const { ensureBrowser } = await import("./manager-COSJVRAE.js");
|
|
265
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
266
|
-
const { lintProject } = await import("./lintProject-
|
|
265
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-YJWOQJF4.js");
|
|
266
|
+
const { lintProject } = await import("./lintProject-ESAJKFOX.js");
|
|
267
267
|
const lintResult = await lintProject(projectDir);
|
|
268
268
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
269
269
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -284,9 +284,9 @@ async function validateInBrowser(project, opts) {
|
|
|
284
284
|
try {
|
|
285
285
|
const browser = await ensureBrowser();
|
|
286
286
|
const puppeteer = await import("puppeteer-core");
|
|
287
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
287
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-OS2FRVZV.js");
|
|
288
288
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
289
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
289
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-77LOK3K6.js");
|
|
290
290
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
291
291
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
292
292
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -6,27 +6,27 @@ 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-ZAVUASNT.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KVLGJJTE.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ES7KSCSO.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WUL5LPI2.js";
|
|
24
24
|
import {
|
|
25
25
|
gotoWhenSent
|
|
26
26
|
} from "./chunk-MOEGCMKI.js";
|
|
27
27
|
import {
|
|
28
28
|
pageNavigationTimeoutMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YSXCPSJ4.js";
|
|
30
30
|
import {
|
|
31
31
|
defineCommand
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
printDeprecationNotice,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ELQ2QQC5.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
46
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -715,7 +715,7 @@ async function collectTweenBoundaries(page) {
|
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
717
|
async function bundleProjectHtml(projectDir) {
|
|
718
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
718
|
+
const { bundleToSingleHtml } = await import("./compiler-FZCJGGBF.js");
|
|
719
719
|
return bundleToSingleHtml(projectDir);
|
|
720
720
|
}
|
|
721
721
|
async function alignViewportToComposition(page, url) {
|
|
@@ -734,13 +734,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
734
734
|
async function runLayoutAudit(projectDir, opts) {
|
|
735
735
|
const { ensureBrowser } = await import("./manager-COSJVRAE.js");
|
|
736
736
|
const puppeteer = await import("puppeteer-core");
|
|
737
|
-
const { buildChromeArgs } = await import("./src-
|
|
737
|
+
const { buildChromeArgs } = await import("./src-OS2FRVZV.js");
|
|
738
738
|
const {
|
|
739
739
|
assertWebGpuAdapterAvailable,
|
|
740
740
|
compositionRequiresWebGpu,
|
|
741
741
|
resolveLocalBrowserGpuMode,
|
|
742
742
|
resolveLocalWebGpu
|
|
743
|
-
} = await import("./gpuPolicy-
|
|
743
|
+
} = await import("./gpuPolicy-77LOK3K6.js");
|
|
744
744
|
const html = await bundleProjectHtml(projectDir);
|
|
745
745
|
const server = await serveStaticProjectHtml(
|
|
746
746
|
projectDir,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E74JMKSK.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VNWX5GBF.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
24
|
} from "./chunk-B7RJV74O.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2TU4OKIR.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HJINEUHY.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-OS2FRVZV.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZQRD62QZ.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -154,6 +154,9 @@ function getStageStyles(resolution = "portrait") {
|
|
|
154
154
|
var GSAP_CDN_VERSION = "3.15.0";
|
|
155
155
|
var GSAP_CDN_BASE_URL = "https://cdn.jsdelivr.net/npm";
|
|
156
156
|
var GSAP_BASE_URL_META = "hyperframes-gsap-base-url";
|
|
157
|
+
function isLoopbackHost(hostname) {
|
|
158
|
+
return hostname === "localhost" || hostname === "[::1]" || /^127\.\d+\.\d+\.\d+$/.test(hostname);
|
|
159
|
+
}
|
|
157
160
|
function normalizeGsapBaseUrl(baseUrl) {
|
|
158
161
|
const value = baseUrl?.trim();
|
|
159
162
|
if (!value)
|
|
@@ -165,10 +168,30 @@ function normalizeGsapBaseUrl(baseUrl) {
|
|
|
165
168
|
if (url.username || url.password) {
|
|
166
169
|
throw new Error("GSAP base URL must not contain credentials");
|
|
167
170
|
}
|
|
171
|
+
if (url.protocol === "http:" && !isLoopbackHost(url.hostname)) {
|
|
172
|
+
throw new Error("GSAP base URL must use HTTPS unless it points at this machine");
|
|
173
|
+
}
|
|
168
174
|
return url.href.replace(/\/+$/, "");
|
|
169
175
|
}
|
|
176
|
+
function normalizeGsapLocalRoot(root) {
|
|
177
|
+
const value = root.trim();
|
|
178
|
+
if (!/^\/(?![/\\])/.test(value) || /[?#\\]/.test(value)) {
|
|
179
|
+
throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
|
|
180
|
+
}
|
|
181
|
+
const origin = "http://local.invalid";
|
|
182
|
+
const url = new URL(value, origin);
|
|
183
|
+
const path = url.pathname.replace(/\/+$/, "");
|
|
184
|
+
if (url.origin !== origin || !path) {
|
|
185
|
+
throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
|
|
186
|
+
}
|
|
187
|
+
return path;
|
|
188
|
+
}
|
|
170
189
|
function gsapCdnDist(gsapVersion, baseUrl) {
|
|
171
190
|
const version = gsapVersion && /^\d+(\.\d+)*$/.test(gsapVersion) ? gsapVersion : GSAP_CDN_VERSION;
|
|
191
|
+
if (baseUrl?.trim().startsWith("/")) {
|
|
192
|
+
const root = normalizeGsapLocalRoot(baseUrl);
|
|
193
|
+
return `${version === GSAP_CDN_VERSION ? root : GSAP_CDN_BASE_URL}/gsap@${version}/dist/`;
|
|
194
|
+
}
|
|
172
195
|
return `${normalizeGsapBaseUrl(baseUrl)}/gsap@${version}/dist/`;
|
|
173
196
|
}
|
|
174
197
|
function motionPathPluginUrl(gsapVersion, baseUrl) {
|
|
@@ -5553,8 +5576,10 @@ export {
|
|
|
5553
5576
|
isDistributedFps,
|
|
5554
5577
|
generateBaseHtml,
|
|
5555
5578
|
getStageStyles,
|
|
5579
|
+
GSAP_CDN_VERSION,
|
|
5556
5580
|
GSAP_BASE_URL_META,
|
|
5557
5581
|
normalizeGsapBaseUrl,
|
|
5582
|
+
normalizeGsapLocalRoot,
|
|
5558
5583
|
gsapCdnDist,
|
|
5559
5584
|
motionPathPluginUrl,
|
|
5560
5585
|
GSAP_CDN,
|
|
@@ -8,31 +8,31 @@ import {
|
|
|
8
8
|
launchManagedBrowser,
|
|
9
9
|
resolveManagedGpuMode,
|
|
10
10
|
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WUL5LPI2.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-YSXCPSJ4.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-GOOE33GV.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveLocalBrowserGpuMode,
|
|
27
27
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BBXZPDEA.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-HJINEUHY.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-OS2FRVZV.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-YJWOQJF4.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-OS2FRVZV.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-OS2FRVZV.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HJINEUHY.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E74JMKSK.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
18
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
renderFrameIdForRenderId,
|
|
27
27
|
resolveAuthoredTimingWindow,
|
|
28
28
|
toFps
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E74JMKSK.js";
|
|
30
30
|
import {
|
|
31
31
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
32
32
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
sourceTimeAt,
|
|
64
64
|
timeAtSourceTime,
|
|
65
65
|
volumeSegmentSampleCount
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ZQRD62QZ.js";
|
|
67
67
|
import {
|
|
68
68
|
clampAudioGain,
|
|
69
69
|
clipGain,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from "./chunk-4UMPIPCQ.js";
|
|
87
87
|
import {
|
|
88
88
|
resolveReferencedStart
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-2TU4OKIR.js";
|
|
90
90
|
import {
|
|
91
91
|
FFMPEG_PATH_ENV,
|
|
92
92
|
FFPROBE_PATH_ENV,
|
|
@@ -1287,6 +1287,22 @@ function envWithoutWaylandDisplay() {
|
|
|
1287
1287
|
const { WAYLAND_DISPLAY: _wslg, ...env } = process.env;
|
|
1288
1288
|
return env;
|
|
1289
1289
|
}
|
|
1290
|
+
var VULKAN_VARS_THAT_OVERRIDE_SWIFTSHADER = [
|
|
1291
|
+
"VK_DRIVER_FILES",
|
|
1292
|
+
"VK_LOADER_DRIVERS_SELECT",
|
|
1293
|
+
"VK_LOADER_DRIVERS_DISABLE"
|
|
1294
|
+
];
|
|
1295
|
+
function launchEnv(fingerprint) {
|
|
1296
|
+
if (fingerprint.withoutWaylandDisplay) return envWithoutWaylandDisplay();
|
|
1297
|
+
const swiftShader = fingerprint.args.some(
|
|
1298
|
+
(arg) => arg === "--use-angle=swiftshader" || arg === "--use-vulkan=swiftshader"
|
|
1299
|
+
);
|
|
1300
|
+
const overriding = VULKAN_VARS_THAT_OVERRIDE_SWIFTSHADER.filter((name) => name in process.env);
|
|
1301
|
+
if (!swiftShader || overriding.length === 0) return void 0;
|
|
1302
|
+
const env = { ...process.env };
|
|
1303
|
+
for (const name of overriding) delete env[name];
|
|
1304
|
+
return env;
|
|
1305
|
+
}
|
|
1290
1306
|
async function captureWithoutWaylandDisplay(resolvedMode) {
|
|
1291
1307
|
if (resolvedMode !== "hardware") return false;
|
|
1292
1308
|
return (await _autoBrowserGpuModeCache)?.withoutWaylandDisplay === true;
|
|
@@ -1362,7 +1378,7 @@ async function acquireBrowser(chromeArgs, config) {
|
|
|
1362
1378
|
}
|
|
1363
1379
|
async function launchBrowser(fingerprint) {
|
|
1364
1380
|
const ppt = await getPuppeteer();
|
|
1365
|
-
const env = fingerprint
|
|
1381
|
+
const env = launchEnv(fingerprint);
|
|
1366
1382
|
let captureMode = fingerprint.requestedCaptureMode;
|
|
1367
1383
|
let browser;
|
|
1368
1384
|
try {
|