hyperframes 0.8.204 → 0.8.206
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-HBFVYKGU.js → add-FFMNAJXJ.js} +12 -12
- package/dist/{animatedGifPrep-VBUKGEZ6.js → animatedGifPrep-BIIIIVWL.js} +16 -10
- package/dist/api.js +18 -18
- package/dist/{asset-OVLMJY4S.js → asset-IPUHGZSL.js} +2 -2
- package/dist/{assetCataloger-K4INCLFU.js → assetCataloger-M5FWXLAJ.js} +8 -8
- package/dist/{audio-JHW3HLHK.js → audio-VYWWM4DB.js} +19 -16
- package/dist/{auth-RH67KQMZ.js → auth-GZQZCUPL.js} +1 -1
- package/dist/{autoUpdate-JYR2RW5Z.js → autoUpdate-GJUDDLLO.js} +2 -2
- package/dist/{backgroundChecks-DPHRM4HJ.js → backgroundChecks-BTMSW34Z.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JFUWZR3M.js → batchRender-LI2BJRGO.js} +4 -4
- package/dist/{beats-AWAFZGOT.js → beats-H73CSYT4.js} +11 -11
- package/dist/{benchmark-VQCCULJ2.js → benchmark-XT3A5REC.js} +14 -12
- package/dist/{browser-TT5L7D32.js → browser-VIOK66YK.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-EHXEP5ZL.js → bundleWithLocalizedFonts-PFRVWYOO.js} +2 -2
- package/dist/{capture-Y7TGR3BI.js → capture-252WNPCD.js} +2 -2
- package/dist/{capture-5CM2P6CB.js → capture-KKD5GMAF.js} +20 -20
- package/dist/{captureCompositionFrame-LIT6U6C4.js → captureCompositionFrame-YLYVGNN2.js} +13 -13
- package/dist/{catalog-WZN2XB7D.js → catalog-6IJGNN3T.js} +12 -12
- package/dist/{catch-up-WZMQUW5H.js → catch-up-BFW7Z35W.js} +4 -4
- package/dist/{check-YVJCDCJS.js → check-XUWBZASR.js} +40 -38
- package/dist/checkAudio-2NRR3VHQ.js +201 -0
- package/dist/{checkBrowser-7V2DGDVD.js → checkBrowser-JW74KWTF.js} +33 -32
- package/dist/{chunk-IDASYE4U.js → chunk-2MLMO25E.js} +8 -5
- package/dist/{chunk-TBSYUEB7.js → chunk-2RT7MXFL.js} +1 -1
- package/dist/{chunk-7RB4I2E6.js → chunk-2S263R6D.js} +19 -7
- package/dist/{chunk-YLGRZSH4.js → chunk-36QE3P6B.js} +1 -1
- package/dist/{chunk-3GPDAE3D.js → chunk-3B2DBUQX.js} +1 -1
- package/dist/{chunk-UKXF4IPA.js → chunk-3CS6QYL7.js} +5 -5
- package/dist/{chunk-KOBPUFCN.js → chunk-3R6SXPHD.js} +2 -2
- package/dist/{chunk-US6JSQ2L.js → chunk-42KN6I6A.js} +2 -2
- package/dist/{chunk-LTGTN2TH.js → chunk-4CY5RXXC.js} +1 -1
- package/dist/{chunk-TQH7BF7K.js → chunk-4DGLKB2H.js} +1 -1
- package/dist/{chunk-DQBY7FRR.js → chunk-543U46OR.js} +4 -1
- package/dist/{chunk-D3EZHD2D.js → chunk-5QKJPCQ4.js} +2 -2
- package/dist/{chunk-IJ6RY4CH.js → chunk-63DGZRZP.js} +1 -1
- package/dist/{chunk-DRDG46KK.js → chunk-6ZFDNEMY.js} +14 -14
- package/dist/{chunk-LN5EJMSC.js → chunk-7SXL476O.js} +30 -20
- package/dist/{chunk-2756LXGY.js → chunk-AAX2A7LQ.js} +1 -1
- package/dist/{chunk-DTV3VHFE.js → chunk-AEC4T4IF.js} +4 -4
- package/dist/{chunk-4HJMZI4H.js → chunk-AJSU6KGS.js} +13 -13
- package/dist/{chunk-S35XO2ZA.js → chunk-AXEEZKIL.js} +2 -2
- package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
- package/dist/{chunk-ZBDVKLIU.js → chunk-BBUK6A7Q.js} +5 -5
- package/dist/{chunk-NJT6SZGL.js → chunk-CIHW6VM2.js} +1 -1
- package/dist/{chunk-EF7R5EBJ.js → chunk-CMDVJP4T.js} +10 -10
- package/dist/{chunk-VCBZOU7U.js → chunk-CNVHMLPI.js} +1 -1
- package/dist/{chunk-RFCLI6TW.js → chunk-CPSGXAYD.js} +3 -3
- package/dist/{chunk-54FO6TN7.js → chunk-CZYS6UKP.js} +83 -78
- package/dist/{chunk-5UW7WCHQ.js → chunk-DEVZJ4AL.js} +10 -9
- package/dist/{chunk-TCI4MUT6.js → chunk-DZG565OO.js} +1 -1
- package/dist/{chunk-D5CAZ7R4.js → chunk-E2ZZSDDQ.js} +2 -2
- package/dist/{chunk-TAYZSNYS.js → chunk-FJW757TF.js} +1 -1
- package/dist/{chunk-LVMJXO45.js → chunk-FMWACL3L.js} +1 -1
- package/dist/{chunk-54K7HW46.js → chunk-FNNGQ3DB.js} +2 -2
- package/dist/{chunk-AQS3MMEQ.js → chunk-FULMZCDW.js} +13 -43
- package/dist/chunk-G6QDFWDN.js +355 -0
- package/dist/{chunk-QB4K2EWI.js → chunk-G6W55MTX.js} +1 -1
- package/dist/{chunk-WM7GOKEP.js → chunk-GAV56VJL.js} +2 -2
- package/dist/{chunk-4CR23IYU.js → chunk-H4JO7VSI.js} +7 -6
- package/dist/{chunk-6RLP6RDE.js → chunk-HEP5XMXV.js} +1 -1
- package/dist/{chunk-23RPCDGE.js → chunk-HJAJ6W4V.js} +2 -2
- package/dist/chunk-KLIPVNCO.js +4824 -0
- package/dist/{chunk-YIN2JAZE.js → chunk-L5MFWGGU.js} +62 -65
- package/dist/{chunk-WMCGD4XL.js → chunk-MFHYBSJC.js} +58 -828
- package/dist/{chunk-LFGJWOVA.js → chunk-MNNK7RV5.js} +11 -8
- package/dist/{chunk-EUFBE5BW.js → chunk-N7ZMDVAK.js} +1 -1
- package/dist/{chunk-X7XICOVM.js → chunk-NNLQTG3M.js} +1 -1
- package/dist/{chunk-TNOERLC6.js → chunk-NVLPW3DG.js} +17 -9
- package/dist/{chunk-SVVAUJPL.js → chunk-OFRRUYBA.js} +1 -1
- package/dist/{chunk-WLD4PX3P.js → chunk-OZUAVHFE.js} +18 -3
- package/dist/{chunk-QCQDUQVJ.js → chunk-PNKLOMHQ.js} +2 -2
- package/dist/{chunk-QZ4HQQYS.js → chunk-PQYWYBEQ.js} +1 -1
- package/dist/{chunk-VC3BMKYO.js → chunk-QL4ZYSIB.js} +3 -3
- package/dist/{chunk-N3EJG2X4.js → chunk-QVTCXN42.js} +3 -3
- package/dist/{chunk-Y63CT2ZC.js → chunk-RDDVQSNQ.js} +124 -37
- package/dist/{chunk-WXAQT63P.js → chunk-RW4DMP2Y.js} +4 -4
- package/dist/{chunk-5RJSWYWL.js → chunk-SFYLZX5C.js} +1 -1
- package/dist/{chunk-YU53JSUZ.js → chunk-T6SD37JZ.js} +1 -1
- package/dist/chunk-TQBQYO4L.js +55 -0
- package/dist/{chunk-MSH2F7VW.js → chunk-TSJVPPXT.js} +1 -1
- package/dist/{chunk-7PRESGFT.js → chunk-UMUVGNOH.js} +3 -3
- package/dist/{chunk-6KZY5RSV.js → chunk-VDVVQNTK.js} +2 -2
- package/dist/{chunk-XX5U64F2.js → chunk-VEA7Z4PZ.js} +4 -3
- package/dist/{chunk-QWATUGUX.js → chunk-VHVSBOZH.js} +3 -3
- package/dist/{chunk-65VFH2UV.js → chunk-VW2LVMKB.js} +19 -9
- package/dist/{chunk-DBF6LLXB.js → chunk-WHD5IAHI.js} +1 -1
- package/dist/{chunk-OPFG563D.js → chunk-WYB3VKLK.js} +2 -2
- package/dist/{chunk-34VLVDOU.js → chunk-X5HHHFTX.js} +3 -3
- package/dist/{chunk-BL4U6U52.js → chunk-X7A7C4JS.js} +70 -7
- package/dist/chunk-X7RXXBYM.js +29 -0
- package/dist/{chunk-GGEA5EHR.js → chunk-XOM3XTJ4.js} +1 -1
- package/dist/{chunk-HBDQGIQA.js → chunk-Z3XXLTVB.js} +2 -2
- package/dist/{chunk-ERUINDRT.js → chunk-ZF3R2IPC.js} +184 -183
- package/dist/{chunk-CXZDIWMK.js → chunk-ZNAOBFU5.js} +1 -1
- package/dist/{chunk-AII6P2TC.js → chunk-ZTEKVSZ6.js} +1 -1
- package/dist/{clean-3JE2KYTC.js → clean-N5VSKUVS.js} +20 -20
- package/dist/cli.js +82 -60
- package/dist/{cloud-Z54BHP6G.js → cloud-74NF5FXC.js} +4 -4
- package/dist/{cloudrun-4CPQLU5M.js → cloudrun-7UOH335V.js} +6 -6
- package/dist/{compare-AQMLMTFD.js → compare-AY2LS2TZ.js} +33 -33
- package/dist/{compiler-LIJYMSEL.js → compiler-4MHMC777.js} +14 -10
- package/dist/{component-ZH37EIYB.js → component-CFWQOAZI.js} +3 -3
- package/dist/{compositions-DF2FM6YD.js → compositions-DXLJTDSP.js} +14 -14
- package/dist/{delete-A3NSK2HH.js → delete-GB4MS7LM.js} +2 -2
- package/dist/{deploy-6RC2DXPQ.js → deploy-NXD3Q3KD.js} +4 -4
- package/dist/{deterministicFonts-HQYCUUAL.js → deterministicFonts-775YXAQ2.js} +2 -2
- package/dist/{dist-VSIT3UAX.js → dist-3ZJMZU75.js} +11 -3
- package/dist/{dist-6JMYDD7F.js → dist-ZY6IFESG.js} +2 -2
- package/dist/docs/examples.md +31 -7
- package/dist/{doctor-RILK4ATO.js → doctor-CVY2XXKS.js} +14 -14
- package/dist/{events-SL434XAY.js → events-RYQYEWBV.js} +2 -2
- package/dist/{events-B5EKVEPW.js → events-T3CLIYRG.js} +3 -3
- package/dist/{feedback-S4PC6VAR.js → feedback-K5ZMMLTA.js} +8 -8
- package/dist/{ffmpeg-XSDPPZCU.js → ffmpeg-UNDAJ2IC.js} +9 -9
- package/dist/{figma-MV2L6E2Z.js → figma-MYYCX635.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -12
- package/dist/{get-ID3Y3PCN.js → get-JVIDYMVP.js} +2 -2
- package/dist/{gpuPolicy-2LRMQOAD.js → gpuPolicy-KEX7GDRJ.js} +8 -8
- package/dist/{grade-compare-NV3TKIOO.js → grade-compare-QEF6VASJ.js} +31 -31
- package/dist/{gsapParser-IEUSLYDJ.js → gsapParser-3H7ON3DO.js} +1 -1
- package/dist/heifImagePrep-A3ZPVQGU.js +53 -0
- package/dist/{help-ZPT23LZ3.js → help-XPPSLIRY.js} +1 -1
- package/dist/{history-MZGDX3TR.js → history-OFOPRD27.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +66 -64
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +16 -16
- package/dist/{info-FIZ4A54H.js → info-7RF6FQX5.js} +8 -8
- package/dist/{init-WX4MNPL2.js → init-NTIXWA3D.js} +32 -35
- package/dist/{inspect-R5KWWKNJ.js → inspect-MYMCV5E7.js} +31 -30
- package/dist/inspection.js +4 -4
- package/dist/{installer-CTV5FKYQ.js → installer-PYJIJ3PJ.js} +5 -5
- package/dist/{keyframes-FAJY5RK5.js → keyframes-UJ52PYE4.js} +6 -6
- package/dist/{lambda-3MCC2ZH7.js → lambda-SBNUYEQE.js} +8 -8
- package/dist/{layout-3RTVYRRN.js → layout-IOMCOABO.js} +31 -30
- package/dist/{lint-ZDCVL7K4.js → lint-AQWHHMPS.js} +8 -8
- package/dist/{lintProject-4IVYXS5J.js → lintProject-5A4SCW3S.js} +2 -2
- package/dist/{list-SBCXW2UT.js → list-WKAJ5SP3.js} +2 -2
- package/dist/{login-VQ2LQ2YG.js → login-3ZDK5JOA.js} +4 -4
- package/dist/{manager-F34TSFV6.js → manager-F2YREC5X.js} +2 -2
- package/dist/{manager-ZRF6UXUM.js → manager-QYFYWZOK.js} +10 -10
- package/dist/{media-treatment-MFIP7Q4G.js → media-treatment-4OLWVHUY.js} +15 -15
- package/dist/{models-OU36YZCT.js → models-MR55FAUX.js} +14 -14
- package/dist/{motionShot-SHDUG7YR.js → motionShot-DC47S7BT.js} +17 -17
- package/dist/{normalize-audio-7RTPEV7Y.js → normalize-audio-M2TK4NG5.js} +8 -8
- package/dist/{open-HT4RG32S.js → open-YXWBWTKL.js} +15 -14
- package/dist/{parakeetRunner-DOVPZDCH.js → parakeetRunner-J6QR3GTG.js} +15 -15
- package/dist/{pipeline-NIVQ6E2G.js → pipeline-7MJ5H4SW.js} +10 -10
- package/dist/{play-HPX5SIRQ.js → play-S562STR4.js} +34 -24
- package/dist/{preflight-TNYC7EIS.js → preflight-QWGXMISC.js} +11 -11
- package/dist/{present-QSOIMURR.js → present-PGOHZT3L.js} +30 -20
- package/dist/{preview-WDO53XKK.js → preview-JU75H4QN.js} +32 -29
- package/dist/{producer-G27KP3IY.js → producer-H66OMZLW.js} +1 -1
- package/dist/{projectConfig-CP722RCM.js → projectConfig-COSP24YT.js} +7 -7
- package/dist/{publication-LCWVBLDN.js → publication-J3XYHPGB.js} +3 -3
- package/dist/{publish-BIY6LEZ2.js → publish-7GCCEPJZ.js} +11 -11
- package/dist/{remove-background-NPLZGLZ3.js → remove-background-WRCGIU32.js} +11 -11
- package/dist/{render-J57LAXB5.js → render-5J5PP3UK.js} +21 -21
- package/dist/{render-IHNAZXA2.js → render-QS3YJCBR.js} +6 -6
- package/dist/{render-HHUGUKG6.js → render-VUVTK2JM.js} +36 -36
- package/dist/{render-batch-FK26OQ5E.js → render-batch-Q2LQ3D4P.js} +6 -6
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-FWJXO6DY.js → resolver-QCBWPRSC.js} +5 -5
- package/dist/{sherpa-BXFJU5EP.js → sherpa-IZ22SC5W.js} +14 -14
- package/dist/skills/hyperframes/references/types/launch.md +12 -2
- package/dist/skills/media-use/references/memory.md +4 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
- package/dist/{skills-7XS4HZBC.js → skills-3RFMPMJA.js} +5 -5
- package/dist/{skillsUpdateCheck-MGU5KLR4.js → skillsUpdateCheck-DWBFVUBT.js} +3 -3
- package/dist/{snapshot-O2PMEMKH.js → snapshot-5PHA43DK.js} +54 -41
- package/dist/{src-Q4R2YPKA.js → src-36BQVJL3.js} +17 -11
- package/dist/{src-OQRG6BT7.js → src-4YJKYMNF.js} +11 -7
- package/dist/{staticProjectServer-6OY4VMO6.js → staticProjectServer-3XFB76XS.js} +18 -18
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +478 -0
- package/dist/studio/assets/{index-DpxSurnJ.js → index-BNuxGFZK.js} +1 -1
- package/dist/studio/assets/{index-DmST2bTJ.js → index-CwreIGoq.js} +132 -132
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YSUTKHV7.js → studio-api-WL6EZ4KE.js} +11 -11
- package/dist/{studioSelectionClient-IUUPKUHZ.js → studioSelectionClient-D6VMGTKQ.js} +1 -1
- package/dist/{studioServer-APGEQIW5.js → studioServer-ZS5RA6U3.js} +66 -56
- package/dist/{telemetry-3B6EA5IU.js → telemetry-W3LRO3TB.js} +3 -3
- package/dist/{timeline-QWM6JS4B.js → timeline-BDO5DYWP.js} +19 -19
- package/dist/{tokens-TKLSP3OQ.js → tokens-47CEMYFV.js} +2 -2
- package/dist/{transcribe-XOPMHJLJ.js → transcribe-GEPVJO3A.js} +19 -19
- package/dist/{transcribe-PODOCWCC.js → transcribe-XF3NL6JI.js} +13 -13
- package/dist/{tts-5I2AJNLM.js → tts-QM4RFE7U.js} +1 -1
- package/dist/{updateCheck-RO6FPYMZ.js → updateCheck-BON6ZFYP.js} +2 -2
- package/dist/{upgrade-EVNIL5TZ.js → upgrade-KIF5Z4J3.js} +2 -2
- package/dist/{urlDownloader-F5HYFRA6.js → urlDownloader-UDRHVUWR.js} +7 -7
- package/dist/{validate-NXLFCHGG.js → validate-2OPSQT3W.js} +24 -24
- package/dist/{video-ECV2OIQN.js → video-ECWXMY4F.js} +8 -8
- package/dist/warmCheck.js +40 -38
- package/package.json +1 -1
- package/dist/chunk-YRQPU7SV.js +0 -3983
- package/dist/studio/assets/hyperframes-player-CttA4PW7.js +0 -478
- package/dist/{synthesize-PKTB5ATG.js → synthesize-QCRP3NI7.js} +4 -4
|
@@ -17,63 +17,64 @@ import {
|
|
|
17
17
|
preResolveHostileMediaProxies,
|
|
18
18
|
runBrowserCheck,
|
|
19
19
|
samplingBrowserCount
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AJSU6KGS.js";
|
|
21
21
|
import "./chunk-X7MTZ4T2.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-FULMZCDW.js";
|
|
23
|
+
import "./chunk-TQBQYO4L.js";
|
|
24
|
+
import "./chunk-6ZFDNEMY.js";
|
|
25
|
+
import "./chunk-HEP5XMXV.js";
|
|
26
|
+
import "./chunk-2S263R6D.js";
|
|
27
|
+
import "./chunk-OZUAVHFE.js";
|
|
27
28
|
import "./chunk-X7MTZ4T2.js";
|
|
28
29
|
import "./chunk-XUHOIDKG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-7SXL476O.js";
|
|
31
|
+
import "./chunk-AEC4T4IF.js";
|
|
31
32
|
import "./chunk-IXXVS2Z4.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-VDVVQNTK.js";
|
|
33
34
|
import "./chunk-XDMZY3H7.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-AXEEZKIL.js";
|
|
35
36
|
import "./chunk-ALVXFXUG.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-CMDVJP4T.js";
|
|
38
|
+
import "./chunk-T6SD37JZ.js";
|
|
38
39
|
import "./chunk-MOEGCMKI.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-QL4ZYSIB.js";
|
|
40
41
|
import "./chunk-DKPNNYBZ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-PQYWYBEQ.js";
|
|
42
43
|
import "./chunk-K2FLNJVB.js";
|
|
43
44
|
import "./chunk-EHSBBBR2.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-63DGZRZP.js";
|
|
46
|
+
import "./chunk-42KN6I6A.js";
|
|
47
|
+
import "./chunk-WHD5IAHI.js";
|
|
47
48
|
import "./chunk-XT7X6QCP.js";
|
|
48
49
|
import "./chunk-4YYJOFKS.js";
|
|
49
50
|
import "./chunk-HVW7ABXD.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-3B2DBUQX.js";
|
|
51
52
|
import "./chunk-JHOCK3DG.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-Z3XXLTVB.js";
|
|
54
|
+
import "./chunk-4DGLKB2H.js";
|
|
54
55
|
import "./chunk-AWDFDFI3.js";
|
|
55
56
|
import "./chunk-P6LJ4Y32.js";
|
|
56
57
|
import "./chunk-GMECXFAN.js";
|
|
57
58
|
import "./chunk-FLREUEHW.js";
|
|
58
59
|
import "./chunk-EOVYQ3IG.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-FMWACL3L.js";
|
|
61
|
+
import "./chunk-FJW757TF.js";
|
|
61
62
|
import "./chunk-VWG7OQKU.js";
|
|
62
63
|
import "./chunk-S3S4TGEH.js";
|
|
63
64
|
import "./chunk-54HJ63Q2.js";
|
|
64
65
|
import "./chunk-JVBRJMOP.js";
|
|
65
66
|
import "./chunk-ZTZA4UWZ.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-AYH5ANVS.js";
|
|
67
68
|
import "./chunk-EVMY7IPL.js";
|
|
68
69
|
import "./chunk-7FMUTGOH.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-RDDVQSNQ.js";
|
|
70
71
|
import "./chunk-5S7W3TUO.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-VW2LVMKB.js";
|
|
72
73
|
import "./chunk-RQVDTPGD.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-MFHYBSJC.js";
|
|
75
|
+
import "./chunk-KLIPVNCO.js";
|
|
75
76
|
import "./chunk-VC76R6W2.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-OFRRUYBA.js";
|
|
77
78
|
import "./chunk-FR7YBU3H.js";
|
|
78
79
|
import "./chunk-OFQWTKPW.js";
|
|
79
80
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -84,22 +85,22 @@ import "./chunk-QSFWGZG6.js";
|
|
|
84
85
|
import "./chunk-XT6MXC7A.js";
|
|
85
86
|
import "./chunk-K4MJX7SR.js";
|
|
86
87
|
import "./chunk-4UMPIPCQ.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-2MLMO25E.js";
|
|
89
|
+
import "./chunk-CZGHFATT.js";
|
|
88
90
|
import "./chunk-VAS6HQX3.js";
|
|
89
91
|
import "./chunk-PBNWRWKA.js";
|
|
90
|
-
import "./chunk-CZGHFATT.js";
|
|
91
92
|
import "./chunk-2BGOB2QK.js";
|
|
92
93
|
import "./chunk-GWTIFRF5.js";
|
|
93
94
|
import "./chunk-2RY2LWAA.js";
|
|
94
95
|
import "./chunk-3422KMTD.js";
|
|
95
96
|
import "./chunk-RXATE6FZ.js";
|
|
96
97
|
import "./chunk-UIOZIIB7.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-XOM3XTJ4.js";
|
|
98
99
|
import "./chunk-K4WIOZFP.js";
|
|
99
100
|
import "./chunk-PSX5SF2N.js";
|
|
100
101
|
import "./chunk-WERLJGIC.js";
|
|
101
102
|
import "./chunk-ISN5GRYI.js";
|
|
102
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-E2ZZSDDQ.js";
|
|
103
104
|
import "./chunk-T2EUWCJE.js";
|
|
104
105
|
import "./chunk-KGPLIH7B.js";
|
|
105
106
|
import "./chunk-M2WBOQ2Q.js";
|
|
@@ -4,6 +4,10 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
TIMING_TOLERANCE_SECONDS,
|
|
9
|
+
resolveCompositionDuration
|
|
10
|
+
} from "./chunk-CZGHFATT.js";
|
|
7
11
|
import {
|
|
8
12
|
findFfBinary
|
|
9
13
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -19,10 +23,6 @@ import {
|
|
|
19
23
|
resolveLocalAssetCandidates,
|
|
20
24
|
resolveProjectRelativeSrc
|
|
21
25
|
} from "./chunk-PBNWRWKA.js";
|
|
22
|
-
import {
|
|
23
|
-
TIMING_TOLERANCE_SECONDS,
|
|
24
|
-
resolveCompositionDuration
|
|
25
|
-
} from "./chunk-CZGHFATT.js";
|
|
26
26
|
import {
|
|
27
27
|
COLOR_GRADING_SOURCE_TAGS,
|
|
28
28
|
COMPOSITION_ATTRIBUTES,
|
|
@@ -5356,7 +5356,8 @@ var coreRules = [
|
|
|
5356
5356
|
),
|
|
5357
5357
|
code: "css_parse_error",
|
|
5358
5358
|
severity: "error",
|
|
5359
|
-
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}
|
|
5359
|
+
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}`,
|
|
5360
|
+
fixHint: "Check the CSS at the reported line for an unclosed brace, quote, or comment, or a missing semicolon between declarations."
|
|
5360
5361
|
});
|
|
5361
5362
|
continue;
|
|
5362
5363
|
}
|
|
@@ -7042,6 +7043,7 @@ function variablesDeclarationFindings(tag, tags) {
|
|
|
7042
7043
|
code: "invalid_composition_variables_declaration",
|
|
7043
7044
|
severity: "error",
|
|
7044
7045
|
message: `data-composition-variables entry [${i}] must be an object with id, type, label, and default.`,
|
|
7046
|
+
fixHint: 'Replace the entry with an object such as {"id":"title","type":"string","label":"Title","default":"Hello"}.',
|
|
7045
7047
|
snippet: truncateSnippet(tag.raw)
|
|
7046
7048
|
});
|
|
7047
7049
|
continue;
|
|
@@ -7057,6 +7059,7 @@ function variablesDeclarationFindings(tag, tags) {
|
|
|
7057
7059
|
code: "invalid_composition_variables_declaration",
|
|
7058
7060
|
severity: "error",
|
|
7059
7061
|
message: `data-composition-variables entry [${i}] is missing or has invalid: ${missing.join(", ")}. Type must be one of string, number, color, boolean, enum, font, image.`,
|
|
7062
|
+
fixHint: `Give entry [${i}] a string id and label, a supported type, and a default, e.g. {"id":"title","type":"string","label":"Title","default":"Hello"}.`,
|
|
7060
7063
|
snippet: truncateSnippet(tag.raw)
|
|
7061
7064
|
});
|
|
7062
7065
|
continue;
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7SXL476O.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,17 +18,20 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AXEEZKIL.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-63DGZRZP.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WHD5IAHI.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VW2LVMKB.js";
|
|
32
|
+
import {
|
|
33
|
+
stripSdrPngColourTags
|
|
34
|
+
} from "./chunk-MFHYBSJC.js";
|
|
32
35
|
import {
|
|
33
36
|
decodeWellFormedEscapes
|
|
34
37
|
} from "./chunk-2BGOB2QK.js";
|
|
@@ -36,7 +39,7 @@ import {
|
|
|
36
39
|
// src/utils/staticProjectServer.ts
|
|
37
40
|
import { createServer, request as httpRequest } from "http";
|
|
38
41
|
import { Duplex } from "stream";
|
|
39
|
-
import { createReadStream, existsSync, statSync } from "fs";
|
|
42
|
+
import { createReadStream, existsSync, readFileSync, statSync } from "fs";
|
|
40
43
|
import { isAbsolute, relative, resolve } from "path";
|
|
41
44
|
var REFUSED_LISTEN = /* @__PURE__ */ new Set(["EPERM", "EACCES"]);
|
|
42
45
|
function socketPair() {
|
|
@@ -94,6 +97,14 @@ var inProcessAnswers = /* @__PURE__ */ new Map();
|
|
|
94
97
|
function inProcessAnswer(url) {
|
|
95
98
|
return inProcessAnswers.get(new URL(url).origin);
|
|
96
99
|
}
|
|
100
|
+
function serveUntaggedPng(filePath, res) {
|
|
101
|
+
if (getMimeType(filePath) !== "image/png") return false;
|
|
102
|
+
const untagged = stripSdrPngColourTags(readFileSync(filePath));
|
|
103
|
+
if (!untagged) return false;
|
|
104
|
+
res.writeHead(200, { "Content-Type": "image/png", "Content-Length": String(untagged.length) });
|
|
105
|
+
res.end(untagged);
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
97
108
|
function serveFileWithRange(filePath, rangeHeader, res, contentType = getMimeType(filePath)) {
|
|
98
109
|
const size = statSync(filePath).size;
|
|
99
110
|
const headers = {
|
|
@@ -233,7 +244,8 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
|
|
|
233
244
|
copies.signal
|
|
234
245
|
);
|
|
235
246
|
} else {
|
|
236
|
-
|
|
247
|
+
if (!serveUntaggedPng(filePath, res))
|
|
248
|
+
serveFileWithRange(filePath, req.headers.range, res);
|
|
237
249
|
}
|
|
238
250
|
return;
|
|
239
251
|
}
|
|
@@ -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-DZG565OO.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CPSGXAYD.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X5HHHFTX.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FNNGQ3DB.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2RT7MXFL.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -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-HEP5XMXV.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-543U46OR.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RDDVQSNQ.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-4YJKYMNF.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
runRenderSetupWorker
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X7A7C4JS.js";
|
|
10
10
|
import {
|
|
11
11
|
HYPERFRAMES_BROWSER_MARKER_ARG
|
|
12
12
|
} from "./chunk-K4MJX7SR.js";
|
|
@@ -117,7 +117,10 @@ async function getProcessOnPort(port) {
|
|
|
117
117
|
}
|
|
118
118
|
async function windowsListenerPid(port) {
|
|
119
119
|
try {
|
|
120
|
-
const { stdout } = await execFileAsync("netstat", ["-ano", "-p", "tcp"], {
|
|
120
|
+
const { stdout } = await execFileAsync("netstat", ["-ano", "-p", "tcp"], {
|
|
121
|
+
timeout: 4e3,
|
|
122
|
+
windowsHide: true
|
|
123
|
+
});
|
|
121
124
|
for (const line of stdout.split(/\r?\n/)) {
|
|
122
125
|
const columns = line.trim().split(/\s+/);
|
|
123
126
|
if (columns.length < 5 || columns[3] !== "LISTENING") continue;
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
detectGpuEncoder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RDDVQSNQ.js";
|
|
10
10
|
import {
|
|
11
11
|
runCancellableProcess
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X7A7C4JS.js";
|
|
13
13
|
import {
|
|
14
14
|
findFfBinary
|
|
15
15
|
} from "./chunk-VAS6HQX3.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-HEP5XMXV.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CMDVJP4T.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T6SD37JZ.js";
|
|
20
20
|
import {
|
|
21
21
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QL4ZYSIB.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-63DGZRZP.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-KLIPVNCO.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-2BGOB2QK.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XOM3XTJ4.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
48
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
248
248
|
async function localizeRemoteAssets(html) {
|
|
249
249
|
let dir;
|
|
250
250
|
try {
|
|
251
|
-
const { loadProducer } = await import("./producer-
|
|
251
|
+
const { loadProducer } = await import("./producer-H66OMZLW.js");
|
|
252
252
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
253
253
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
254
254
|
const assetDir = dir;
|
|
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
|
|
|
269
269
|
}
|
|
270
270
|
async function validateInBrowser(project, opts) {
|
|
271
271
|
const projectDir = project.dir;
|
|
272
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
273
|
-
const { ensureBrowser } = await import("./manager-
|
|
274
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
275
|
-
const { lintProject } = await import("./lintProject-
|
|
272
|
+
const { bundleToSingleHtml } = await import("./compiler-4MHMC777.js");
|
|
273
|
+
const { ensureBrowser } = await import("./manager-F2YREC5X.js");
|
|
274
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-3XFB76XS.js");
|
|
275
|
+
const { lintProject } = await import("./lintProject-5A4SCW3S.js");
|
|
276
276
|
const lintResult = await lintProject(projectDir);
|
|
277
277
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
278
278
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
|
|
|
293
293
|
try {
|
|
294
294
|
const browser = await ensureBrowser();
|
|
295
295
|
const puppeteer = await import("puppeteer-core");
|
|
296
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
296
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-4YJKYMNF.js");
|
|
297
297
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
298
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
298
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-KEX7GDRJ.js");
|
|
299
299
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
300
300
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
301
301
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AEC4T4IF.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VDVVQNTK.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-AXEEZKIL.js";
|
|
74
74
|
import {
|
|
75
75
|
STUDIO_MOTION_PATH,
|
|
76
76
|
createStudioMotionRenderBodyScript,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./chunk-EOVYQ3IG.js";
|
|
94
94
|
import {
|
|
95
95
|
parseEncoderOptions
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-AYH5ANVS.js";
|
|
97
97
|
import {
|
|
98
98
|
STUDIO_MANUAL_EDITS_PATH
|
|
99
99
|
} from "./chunk-EVMY7IPL.js";
|
|
@@ -111,18 +111,20 @@ import {
|
|
|
111
111
|
PREVIEW_PROXY_RETRY_PARAM,
|
|
112
112
|
formatPreviewProxyBox,
|
|
113
113
|
formatRenderOutputTimestamp,
|
|
114
|
+
fpsToNumber,
|
|
114
115
|
gsapCdnDist,
|
|
115
116
|
motionPathPluginUrl,
|
|
116
117
|
normalizeGsapBaseUrl,
|
|
117
118
|
normalizeGsapLocalRoot,
|
|
118
119
|
parseFps,
|
|
119
120
|
parsePreviewProxyBox
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-VW2LVMKB.js";
|
|
121
122
|
import {
|
|
122
123
|
addScenePartsManifest,
|
|
123
124
|
ensureHfIds,
|
|
124
|
-
stampHfIdsInPlace
|
|
125
|
-
|
|
125
|
+
stampHfIdsInPlace,
|
|
126
|
+
stripSdrPngColourTags
|
|
127
|
+
} from "./chunk-MFHYBSJC.js";
|
|
126
128
|
import {
|
|
127
129
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
128
130
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -136,7 +138,7 @@ import {
|
|
|
136
138
|
resolveRateSpec,
|
|
137
139
|
sourceTimeAt,
|
|
138
140
|
stripEmbeddedRuntimeScripts
|
|
139
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KLIPVNCO.js";
|
|
140
142
|
import {
|
|
141
143
|
HTML_ATTRIBUTE_ENTITIES,
|
|
142
144
|
MagicString,
|
|
@@ -144,7 +146,7 @@ import {
|
|
|
144
146
|
decodeAuthoredAttribute,
|
|
145
147
|
scanHtmlOpeningTags,
|
|
146
148
|
unrollComputedTimeline
|
|
147
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-OFRRUYBA.js";
|
|
148
150
|
import {
|
|
149
151
|
ProjectRootMissingError,
|
|
150
152
|
folderGone,
|
|
@@ -4690,7 +4692,7 @@ function resolveGsapWriter(env) {
|
|
|
4690
4692
|
throw new Error(`Invalid ${GSAP_WRITER_MIGRATION.flag}=${configured}; expected recast or acorn`);
|
|
4691
4693
|
}
|
|
4692
4694
|
async function loadGsapParser() {
|
|
4693
|
-
return import("./gsapParser-
|
|
4695
|
+
return import("./gsapParser-3H7ON3DO.js");
|
|
4694
4696
|
}
|
|
4695
4697
|
function isDanglingSymlinkInProject(projectDir, lexicalPath) {
|
|
4696
4698
|
if (!isSafePath(projectDir, dirname3(lexicalPath))) return false;
|
|
@@ -5549,7 +5551,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5549
5551
|
let block = extractGsapScriptBlock(html);
|
|
5550
5552
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5551
5553
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5552
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5554
|
+
const { GSAP_CDN } = await import("./dist-3ZJMZU75.js");
|
|
5553
5555
|
const bootstrap = [
|
|
5554
5556
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5555
5557
|
"<script>",
|
|
@@ -7926,8 +7928,9 @@ ${etag}`;
|
|
|
7926
7928
|
servedContentType = PROXY_VARIANT_CONFIG[proxyVariant].contentType;
|
|
7927
7929
|
}
|
|
7928
7930
|
const textBuffer = isText ? Buffer.from(readFileSync6(file, "utf-8"), "utf-8") : null;
|
|
7929
|
-
const
|
|
7930
|
-
const
|
|
7931
|
+
const heldBuffer = textBuffer ?? (contentType === "image/png" ? stripSdrPngColourTags(readFileSync6(file)) : null);
|
|
7932
|
+
const totalSize = heldBuffer ? heldBuffer.length : statSync4(servedPath).size;
|
|
7933
|
+
const bodyFor = (start, end) => heldBuffer ? new Uint8Array(heldBuffer.subarray(start, end + 1)) : (
|
|
7931
7934
|
// Node's web stream type and the DOM one do not overlap for tsc on
|
|
7932
7935
|
// every platform's lib set; the double cast is the documented bridge.
|
|
7933
7936
|
Readable.toWeb(
|
|
@@ -8022,7 +8025,8 @@ var VALID_RESOLUTIONS = new Set(VALID_CANVAS_RESOLUTIONS);
|
|
|
8022
8025
|
var RENDER_MIME = {
|
|
8023
8026
|
".mp4": "video/mp4",
|
|
8024
8027
|
".webm": "video/webm",
|
|
8025
|
-
".mov": "video/quicktime"
|
|
8028
|
+
".mov": "video/quicktime",
|
|
8029
|
+
".gif": "image/gif"
|
|
8026
8030
|
};
|
|
8027
8031
|
var RENDER_EXTENSIONS = Object.keys(RENDER_MIME);
|
|
8028
8032
|
var RENDER_ARTIFACT_EXTENSIONS = [...RENDER_EXTENSIONS, ".meta.json"];
|
|
@@ -8072,11 +8076,17 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8072
8076
|
const project = await adapter.resolveProject(c.req.param("id"));
|
|
8073
8077
|
if (!project) return c.json({ error: "not found" }, 404);
|
|
8074
8078
|
const body = await c.req.json().catch(() => ({}));
|
|
8075
|
-
const VALID_FORMATS =
|
|
8076
|
-
const FORMAT_EXT = {
|
|
8077
|
-
|
|
8079
|
+
const VALID_FORMATS = ["mp4", "webm", "mov", "gif"];
|
|
8080
|
+
const FORMAT_EXT = {
|
|
8081
|
+
mp4: ".mp4",
|
|
8082
|
+
webm: ".webm",
|
|
8083
|
+
mov: ".mov",
|
|
8084
|
+
gif: ".gif"
|
|
8085
|
+
};
|
|
8086
|
+
const format = VALID_FORMATS.find((value) => value === body.format) ?? "mp4";
|
|
8078
8087
|
const fpsParse = body.fps === void 0 ? null : parseFps(body.fps);
|
|
8079
|
-
const
|
|
8088
|
+
const requestedFps = fpsParse && fpsParse.ok ? fpsParse.value : { num: 30, den: 1 };
|
|
8089
|
+
const fps = format === "gif" && fpsToNumber(requestedFps) > 30 ? { num: 30, den: 1 } : requestedFps;
|
|
8080
8090
|
const quality = ["draft", "standard", "high"].includes(body.quality ?? "") ? body.quality : "standard";
|
|
8081
8091
|
const outputResolution = VALID_RESOLUTIONS.has(body.resolution ?? "") ? body.resolution : void 0;
|
|
8082
8092
|
let composition;
|
|
@@ -8251,12 +8261,12 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8251
8261
|
if (!project) return c.json({ error: "not found" }, 404);
|
|
8252
8262
|
const rendersDir = adapter.rendersDir(project);
|
|
8253
8263
|
if (!existsSync6(rendersDir)) return c.json({ renders: [] });
|
|
8254
|
-
const files = readdirSync3(rendersDir).filter((f) =>
|
|
8264
|
+
const files = readdirSync3(rendersDir).filter((f) => RENDER_EXTENSIONS.some((extension) => f.endsWith(extension))).flatMap((f) => {
|
|
8255
8265
|
const fp = resolveWithinProject(rendersDir, f);
|
|
8256
8266
|
return fp && !isPrivateProjectFile(project.dir, fp) ? [{ f, fp }] : [];
|
|
8257
8267
|
}).map(({ f, fp }) => {
|
|
8258
8268
|
const stat2 = statSync5(fp);
|
|
8259
|
-
const rid = f.replace(/\.(mp4|webm|mov)$/, "");
|
|
8269
|
+
const rid = f.replace(/\.(mp4|webm|mov|gif)$/, "");
|
|
8260
8270
|
const metaPath = join10(rendersDir, `${rid}.meta.json`);
|
|
8261
8271
|
let status = "complete";
|
|
8262
8272
|
let durationMs;
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VW2LVMKB.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MFHYBSJC.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OFRRUYBA.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2MLMO25E.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
readMediaOffsetSeconds,
|