hyperframes 0.9.50 → 0.9.52
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-MHBYQHUR.js → add-Z6G2DLNE.js} +7 -7
- package/dist/{agentPromptGenerator-LJHTM6QS.js → agentPromptGenerator-RCTC2XXL.js} +10 -11
- package/dist/{animatedGifPrep-V5SQRWAT.js → animatedGifPrep-X7KILCDI.js} +6 -5
- package/dist/api.d.ts +1 -0
- package/dist/api.js +27 -26
- package/dist/{asset-2QF7W45V.js → asset-A3ENWWCU.js} +2 -2
- package/dist/{assetCataloger-HBGLL5OY.js → assetCataloger-TIMZTOYH.js} +5 -5
- package/dist/{audio-ERHWZM2O.js → audio-HMCUO2CV.js} +12 -12
- package/dist/{auth-JNM2N5FK.js → auth-NXR3QM4C.js} +2 -2
- package/dist/{autoUpdate-2A3PNPOQ.js → autoUpdate-TY7P2Z4F.js} +2 -2
- package/dist/{avatars-UXJM3YOF.js → avatars-36MYJUPA.js} +8 -8
- package/dist/{backgroundChecks-FM7JOSDW.js → backgroundChecks-EWWJEGF6.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-BAZOHGIS.js → beats-Z4B4B4KM.js} +7 -7
- package/dist/{benchmark-AWDTJZW2.js → benchmark-PLGO2THH.js} +9 -8
- package/dist/{billing-M7FIGUG3.js → billing-ZIXACCLR.js} +7 -6
- package/dist/{browser-BJBAMHOZ.js → browser-VZFBNASB.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-NWMD2BBQ.js → bundleWithLocalizedFonts-XD2XDEQL.js} +1 -1
- package/dist/{capture-GKI3WNTE.js → capture-BAFLHNDI.js} +28 -15
- package/dist/{capture-V3KIGAHK.js → capture-GC4F54XT.js} +4 -4
- package/dist/{captureCompositionFrame-C3QPXFZZ.js → captureCompositionFrame-YBVEFKWM.js} +7 -7
- package/dist/{catalog-5VRQXFNE.js → catalog-LHOCJUO2.js} +7 -7
- package/dist/{catch-up-IWRZL3T6.js → catch-up-6FNQ6I7Q.js} +7 -6
- package/dist/{check-3TTCBOR5.js → check-S7T5LE6V.js} +28 -27
- package/dist/{checkAudio-WNVIHTTH.js → checkAudio-AKOI4AWK.js} +7 -7
- package/dist/{checkBrowser-IQR4HWS6.js → checkBrowser-NABXGNNM.js} +22 -21
- package/dist/{chunk-HCPT6BJD.js → chunk-24M5C5EQ.js} +1 -1
- package/dist/{chunk-ZI5QVXG4.js → chunk-2AZMG6DR.js} +2 -2
- package/dist/{chunk-JQPR3J5V.js → chunk-2MNSS7PH.js} +2 -2
- package/dist/{chunk-GOZNQ2BU.js → chunk-42JBYXIQ.js} +9 -9
- package/dist/{chunk-QE2G4RUL.js → chunk-445BBSZS.js} +1 -1
- package/dist/{chunk-QLHNKVBG.js → chunk-4FWR7OE3.js} +4 -4
- package/dist/{chunk-CX5Y3TUU.js → chunk-4OHV7UZZ.js} +1 -1
- package/dist/{chunk-VNIVH2ZQ.js → chunk-5B425ZB3.js} +1 -1
- package/dist/{chunk-7H6NEDNA.js → chunk-64T46P7K.js} +2 -2
- package/dist/{chunk-PGY4WFKL.js → chunk-6NGJ55V5.js} +1 -1
- package/dist/{chunk-62R36CZW.js → chunk-6PXVXIC7.js} +21 -5
- package/dist/{chunk-G5M6MZPP.js → chunk-7GVHPY7W.js} +1 -1
- package/dist/{chunk-5SIOKBKO.js → chunk-7QM73IH2.js} +2 -2
- package/dist/chunk-7RLMDAUO.js +60 -0
- package/dist/{chunk-FLDJ5AYW.js → chunk-7SZ7QQJ3.js} +2 -2
- package/dist/{chunk-OHC6GZAK.js → chunk-7VQ3RAKO.js} +9 -9
- package/dist/{chunk-U4CJQ4AU.js → chunk-AMWWQXTC.js} +3 -3
- package/dist/{chunk-4OWHB6Y4.js → chunk-APT2TSYC.js} +1 -1
- package/dist/{chunk-CB3GR7GV.js → chunk-C66O6A2J.js} +2 -2
- package/dist/{chunk-AVBZSLK5.js → chunk-CDK23M57.js} +4 -4
- package/dist/{chunk-747XM6QN.js → chunk-CIGQUDEV.js} +2 -2
- package/dist/{chunk-DSKX5OD2.js → chunk-CIMOTEZB.js} +2 -2
- package/dist/{chunk-GVYDYPMK.js → chunk-CQ5VQNOD.js} +1 -1
- package/dist/{chunk-CGHWDZXR.js → chunk-DE7Q2LWF.js} +2 -2
- package/dist/{chunk-OUABE6YT.js → chunk-DYYAFCZH.js} +1 -1
- package/dist/{chunk-H6GW4MUA.js → chunk-E2KJT7JR.js} +2 -2
- package/dist/{chunk-YTO34UZE.js → chunk-ETXOQXWT.js} +4 -4
- package/dist/{chunk-CII7LO6I.js → chunk-G6QCHM2N.js} +1 -1
- package/dist/{chunk-7YKLBEIC.js → chunk-GEIWJSWN.js} +6 -6
- package/dist/{chunk-XP5X4TKU.js → chunk-H4S3WY2N.js} +1 -1
- package/dist/{chunk-T47SZ3SP.js → chunk-HLXZFHEY.js} +5 -5
- package/dist/{chunk-I4PWEIZK.js → chunk-HS7LT4PL.js} +1 -1
- package/dist/{chunk-D3UYYHU2.js → chunk-HT4FWRIT.js} +1 -1
- package/dist/{chunk-M3MXR3HG.js → chunk-I6SCA2ME.js} +22 -11
- package/dist/{chunk-S2Z46FMO.js → chunk-IB722ALN.js} +1 -1
- package/dist/{chunk-ULPGXTB4.js → chunk-IZQDQ5AN.js} +1 -1
- package/dist/{chunk-M2UX3RAP.js → chunk-J45SCYTD.js} +7 -7
- package/dist/{chunk-R76QWLJI.js → chunk-JJLPGVTA.js} +1 -1
- package/dist/{chunk-7CLDXOEJ.js → chunk-KLIVZ5VG.js} +2 -1
- package/dist/{chunk-WXNVVZCC.js → chunk-KUZTIMY3.js} +41 -16
- package/dist/{chunk-YYF4HKW5.js → chunk-L2KUIV56.js} +1 -1
- package/dist/chunk-L2U4ISSS.js +93 -0
- package/dist/{chunk-E2QJFCYC.js → chunk-L56WTLQP.js} +3 -3
- package/dist/{chunk-LSL3XC2T.js → chunk-LIPVGXPV.js} +4 -4
- package/dist/{chunk-A5LYBVBC.js → chunk-LNZHSISH.js} +9 -9
- package/dist/{chunk-LS2FSESG.js → chunk-LZTBL7SR.js} +66 -4
- package/dist/{chunk-ZX52DCZH.js → chunk-M4E7CMYS.js} +2 -2
- package/dist/{chunk-ZPMIIPDH.js → chunk-M6TIOPL5.js} +2 -2
- package/dist/{chunk-CIZB4MFK.js → chunk-MF53JVZ5.js} +1 -1
- package/dist/{chunk-W4JWPYLU.js → chunk-MQGRMXFN.js} +50 -11
- package/dist/{chunk-GWTNXGIH.js → chunk-NFRKPLTJ.js} +1 -1
- package/dist/{chunk-62LL7YPC.js → chunk-NQ3NHCF6.js} +2 -2
- package/dist/{chunk-5YF3NCZV.js → chunk-NXDFCWF2.js} +1 -1
- package/dist/{chunk-TW6S6A2B.js → chunk-O45HB74L.js} +20 -20
- package/dist/{chunk-DV5KH45B.js → chunk-P27QDOID.js} +1 -1
- package/dist/{chunk-UJRRUNWQ.js → chunk-P37ZACC6.js} +2 -2
- package/dist/{chunk-PNL7SMWV.js → chunk-POGZYVM2.js} +1 -1
- package/dist/{chunk-7W3MLVDC.js → chunk-PRG42HNH.js} +1 -1
- package/dist/{chunk-QIKIHGPS.js → chunk-QP7MQ43Y.js} +1 -1
- package/dist/{chunk-JHNICCT2.js → chunk-RIHRYTNB.js} +10 -10
- package/dist/{chunk-3LTJKGJQ.js → chunk-RMO7KIFX.js} +4 -4
- package/dist/{chunk-F7Z7UDAV.js → chunk-RULKJFRT.js} +1 -1
- package/dist/{chunk-2M7GGAXG.js → chunk-S5EMQAKL.js} +2 -2
- package/dist/{chunk-T44NTM2R.js → chunk-SQ64IEA7.js} +2 -2
- package/dist/{chunk-RJEX3RRW.js → chunk-TDQUQAW5.js} +2 -2
- package/dist/{chunk-ARIBOM26.js → chunk-TI7JN55F.js} +1 -1
- package/dist/{chunk-HYMWSWKM.js → chunk-U3LWQGCD.js} +7 -2
- package/dist/{chunk-4QRYBCP5.js → chunk-UB44XZOI.js} +1 -1
- package/dist/{chunk-QARZ5SCV.js → chunk-UFET7UTU.js} +2 -2
- package/dist/{chunk-NOSZSEN6.js → chunk-UIIQA7DN.js} +1 -1
- package/dist/{chunk-AOITLZJO.js → chunk-UX2KMUKC.js} +6 -2
- package/dist/{chunk-YIKOKVHE.js → chunk-VXX4S2PH.js} +26 -15
- package/dist/{chunk-I7UACFVY.js → chunk-WPC2FKNB.js} +10 -9
- package/dist/{chunk-37NCCCVV.js → chunk-WSZJS4QC.js} +5 -34
- package/dist/{chunk-NLHR5VAJ.js → chunk-X3IULMVV.js} +1 -1
- package/dist/{chunk-NLTJMUK6.js → chunk-XHUFLQGD.js} +1 -1
- package/dist/{chunk-TMAF33SA.js → chunk-YJFIGFON.js} +1 -1
- package/dist/{chunk-6Q7QF4UD.js → chunk-YPURY3MW.js} +2 -2
- package/dist/{chunk-KDT2WX7M.js → chunk-YXQA6MKA.js} +1 -1
- package/dist/{chunk-LRKSFIYI.js → chunk-YXR5MVBM.js} +2 -2
- package/dist/{chunk-ARREGNEF.js → chunk-ZG6BVWQ7.js} +4 -4
- package/dist/{chunk-Z5TKOD2D.js → chunk-ZGWOCGSJ.js} +2 -2
- package/dist/{chunk-XBD5NV2F.js → chunk-ZW6ZUKBB.js} +1 -1
- package/dist/{chunk-NYUTPQQ3.js → chunk-ZXMZSU5Y.js} +11 -11
- package/dist/{clean-BT36HK75.js → clean-Y6YIQRPM.js} +16 -15
- package/dist/cli.js +61 -61
- package/dist/{cloud-R2QOPFMH.js → cloud-A5U7YYNA.js} +4 -4
- package/dist/{compare-RUB5AIPD.js → compare-6XCTMUF3.js} +18 -17
- package/dist/{component-NBW4NP3J.js → component-JDQIZSAL.js} +3 -3
- package/dist/{compositions-FHO2G54H.js → compositions-HZDEOSRL.js} +9 -9
- package/dist/{curve-2MSCLXM7.js → curve-SE7ZAMI6.js} +8 -8
- package/dist/{cuts-ND6ZL5AI.js → cuts-AEFJGBFP.js} +9 -9
- package/dist/{delete-FMQCJAHX.js → delete-EQUQ7Z2K.js} +2 -2
- package/dist/{deploy-5UOYKYXF.js → deploy-NSLC6BYZ.js} +2 -2
- package/dist/{describeProject-OIK763B5.js → describeProject-FTJBPDL3.js} +4 -4
- package/dist/{destroy-MLAFCH6B.js → destroy-4O4T3KL3.js} +2 -2
- package/dist/{diff-KKJRQKFR.js → diff-VJ3CS7YE.js} +22 -22
- package/dist/{dist-UMYCC5T5.js → dist-MNFB4YKV.js} +5 -4
- package/dist/{doctor-5DILJANT.js → doctor-RR7SNO6X.js} +10 -10
- package/dist/{energy-BLU27H7G.js → energy-PN23W2UJ.js} +9 -9
- package/dist/{events-GRLM5BLQ.js → events-4ECJEB2W.js} +6 -5
- package/dist/{events-AXNHFZTY.js → events-5OLO73VJ.js} +11 -11
- package/dist/{events-35CZGWGO.js → events-NR6UPBHG.js} +5 -4
- package/dist/{execute-FRDHPWNT.js → execute-TS3BP65F.js} +17 -16
- package/dist/{extract-ILQCKYWJ.js → extract-GCZ5HSEN.js} +9 -9
- package/dist/{face-S3YZLPEO.js → face-QKMYBRV3.js} +9 -9
- package/dist/{feedback-LTEDBBL2.js → feedback-3H43EK7N.js} +11 -10
- package/dist/{ffmpeg-OJIIUEQQ.js → ffmpeg-JRNM74WY.js} +4 -4
- package/dist/{figma-DXIX3JW2.js → figma-JGP2UGGU.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -8
- package/dist/{frames-E7GSMQMG.js → frames-OYSWKB3F.js} +10 -10
- package/dist/{generate-5BV3VOF5.js → generate-TDXLUFMR.js} +15 -15
- package/dist/{get-LO5YZK5S.js → get-UB2MNBYO.js} +2 -2
- package/dist/{gpuPolicy-L6YX2UOM.js → gpuPolicy-6CTTH3NY.js} +4 -4
- package/dist/{grade-compare-45DGL4FX.js → grade-compare-2DXT4RWV.js} +19 -18
- package/dist/{heifImagePrep-HZWZ6RCU.js → heifImagePrep-VDZVZ4G7.js} +7 -6
- package/dist/{help-NXUWIQZJ.js → help-RGKY4DR4.js} +1 -1
- package/dist/{history-B2VYYYFA.js → history-AVDXYNAP.js} +9 -8
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6BK7QHQN.js → info-NGTQABZC.js} +11 -11
- package/dist/{init-5NJNDMW5.js → init-C3EARHDW.js} +22 -22
- package/dist/{ink-I2VH46VQ.js → ink-ISO3VXRQ.js} +9 -9
- package/dist/{inspect-VMCKQEOT.js → inspect-V6MPU5I5.js} +20 -19
- package/dist/{keyframes-2ZZUDJD7.js → keyframes-PTJDE47Y.js} +9 -8
- package/dist/{lambda-BHLB7JHL.js → lambda-JTO5YD2I.js} +6 -6
- package/dist/{layout-4Y2DWTXM.js → layout-QMLEZP5T.js} +20 -19
- package/dist/{lint-QPQRY5WD.js → lint-6BWOQAW6.js} +8 -8
- package/dist/{list-SPRUZTEJ.js → list-7E4VD7JA.js} +2 -2
- package/dist/{localPage-TZFDEA6W.js → localPage-BQOYZAOW.js} +4 -4
- package/dist/{login-JOQCOSOK.js → login-37MSZXCY.js} +4 -4
- package/dist/{look-3UNLVDPJ.js → look-5GXW3NVP.js} +9 -9
- package/dist/{manager-7IV66O64.js → manager-J2IRAOR7.js} +5 -5
- package/dist/{manager-25RJ4IZN.js → manager-TMKN4DX5.js} +3 -3
- package/dist/{measure-PFOIM7OJ.js → measure-23IL23BL.js} +11 -11
- package/dist/{media-treatment-WR2EYI6J.js → media-treatment-7ODBREPX.js} +10 -10
- package/dist/{media-use-VRMLASYM.js → media-use-QJA6NB3V.js} +3 -3
- package/dist/{models-6BN6ZA2T.js → models-2Z6SURXU.js} +8 -8
- package/dist/{motionShot-SX6BQ2A3.js → motionShot-CYS3L6FK.js} +10 -10
- package/dist/{normalize-audio-E2EMJIJU.js → normalize-audio-6YVF4LED.js} +9 -8
- package/dist/{open-N4SZ4OC6.js → open-WQ6NRHCN.js} +7 -6
- package/dist/{parakeetRunner-GVZ2XLDV.js → parakeetRunner-R7KK6ZHD.js} +10 -10
- package/dist/{pipeline-Z4RAIXQM.js → pipeline-HRCK2JQL.js} +7 -7
- package/dist/{plan-NJKLH5DY.js → plan-FQNKACYR.js} +11 -11
- package/dist/{play-2P3J4O6N.js → play-UJZBNX2O.js} +14 -13
- package/dist/{preflight-VQ366D6O.js → preflight-VIMLSE3I.js} +7 -7
- package/dist/{present-HCY6XKUF.js → present-JIOVM3ZH.js} +14 -13
- package/dist/{preview-ZE435ZVI.js → preview-HCYGBEWR.js} +11 -11
- package/dist/{probe-J2KN3Y3Z.js → probe-6YQA2ZZC.js} +9 -9
- package/dist/{producer-G6AH4NES.js → producer-JIM74BGL.js} +1 -1
- package/dist/{publicNetwork-CWKAKZXP.js → publicNetwork-F3ZXSVOD.js} +3 -1
- package/dist/{publish-CMIRMUVW.js → publish-3TTCO4R4.js} +11 -10
- package/dist/{remove-background-2HPZDKTN.js → remove-background-XTICO22L.js} +8 -8
- package/dist/{render-WXDAMYQU.js → render-PFBZJRAN.js} +26 -25
- package/dist/{render-FYWFWCL7.js → render-WYDOZEZ5.js} +20 -19
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{reverse-XNTL6ILN.js → reverse-TV524NFW.js} +1 -1
- package/dist/{run-GGMHXAKM.js → run-NQBD5RDR.js} +2 -2
- package/dist/{screenshotCapture-4FFWYCKV.js → screenshotCapture-OUZMH7EQ.js} +4 -4
- package/dist/{service-BW7NT4R2.js → service-UIHDIMFM.js} +9 -9
- package/dist/{share-JJ6G2SRE.js → share-WD7MCA4I.js} +12 -12
- package/dist/{sherpa-ZARNRTUF.js → sherpa-H67ZJICN.js} +9 -9
- package/dist/{skills-H6QD7AIP.js → skills-7TUSQF6W.js} +9 -8
- package/dist/{skillsUpdateCheck-BBSSMBNI.js → skillsUpdateCheck-HF6SQWRA.js} +3 -3
- package/dist/{snapshot-AIASY7ZT.js → snapshot-P7ZSTKED.js} +26 -25
- package/dist/{src-RNWDJRGO.js → src-H2EUJUV3.js} +13 -7
- package/dist/{src-IVCOSSDJ.js → src-TQQ743H4.js} +13 -7
- package/dist/{start-CVUWN3EJ.js → start-7ZTAKHD4.js} +13 -13
- package/dist/{staticProjectServer-XHYEFNOX.js → staticProjectServer-X4PARIVN.js} +9 -8
- package/dist/{status-TCUB55VV.js → status-ELQXIXIB.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DHIxqu8A.js → hyperframes-player-D7LhzIg1.js} +1 -1
- package/dist/studio/assets/{index-CefNftWO.js → index-CQ7o0CBU.js} +1 -1
- package/dist/studio/assets/{index-CU24FmKd.css → index-CRiuMxyq.css} +1 -1
- package/dist/studio/assets/{index-CuCj-ntQ.js → index-D3WxJaqm.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-BVUmBgn0.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-HPYJHSZY.js → studio-api-OJEU24EG.js} +5 -4
- package/dist/{studioServer-RIYJYGVD.js → studioServer-E5CLZC46.js} +36 -35
- package/dist/{sync-ILVIJDYI.js → sync-VEJWMKDP.js} +9 -9
- package/dist/{system-BONOLEJX.js → system-I5KGZTUG.js} +3 -2
- package/dist/{telemetry-Q6X3TCN6.js → telemetry-3U4UGQ5V.js} +6 -5
- package/dist/{templates-64NH2NZF.js → templates-AUAOWIYA.js} +7 -6
- package/dist/{timeline-CR4YEFN4.js → timeline-YO27AP66.js} +15 -14
- package/dist/{tokens-NISS5JD7.js → tokens-UXLQGLVG.js} +2 -2
- package/dist/{transcribe-AP3PUNHX.js → transcribe-FZ3TE4FK.js} +8 -8
- package/dist/{transcribe-R7K7NSGF.js → transcribe-I7MTUH4M.js} +18 -18
- package/dist/{update-OI6DZTRT.js → update-KBKSO3SH.js} +10 -9
- package/dist/{updateCheck-7ZCJ7FNE.js → updateCheck-MUYN55HR.js} +2 -2
- package/dist/{upgrade-D6VGQSRH.js → upgrade-CRCX7CCK.js} +3 -3
- package/dist/{urlDownloader-KE7AXBCY.js → urlDownloader-4EM6GLN4.js} +3 -3
- package/dist/{validate-LZBOVEFV.js → validate-Y2KF2DU3.js} +19 -18
- package/dist/{video-7KEKO4H2.js → video-HG6SINBD.js} +5 -5
- package/dist/{voices-6EOBOCEU.js → voices-O4UHHFZS.js} +13 -13
- package/dist/warmCheck.js +28 -27
- package/package.json +1 -1
- package/dist/chunk-47JAY366.js +0 -44
package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-BVUmBgn0.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Input as V,ALL_FORMATS as G,UrlSource as K,VideoSampleSink as Q}from"./index-
|
|
1
|
+
import{Input as V,ALL_FORMATS as G,UrlSource as K,VideoSampleSink as Q}from"./index-CQ7o0CBU.js";import{l as X}from"./index-D3WxJaqm.js";const x=1e-5,k=1e-9,T=h=>!h.variableFrameRate&&(h.frameRate??0)>0;function Y(h,s){const{sourceLead:r,inputLead:l,timeResolution:d,frameRate:p=0}=s;if(!T(s))return Math.max(l,h-r+l)+k;const w=Math.max(0,Math.floor((h-r)*p+k)),f=l+w/p;return(d>0?Math.round(f*d)/d:f)+x}function J(h,s,r){const{frameRate:l=0,sourceLead:d,inputLead:p}=r,w=T(r)?Math.round((h-p)*l)/l+d:h-p+d,f=Math.min(s,w);return{timestamp:f,duration:Math.max(T(r)?1/l:0,s-f+x)}}const E=64*1024*1024,M=4,Z=.5,$=2e3;async function q(h,s){if(!h.transparent)return h.sink.getSample(s);let r=null;try{for await(const l of h.sink.samplesAtTimestamps([s]))r==null||r.close(),r=l;return r}catch(l){throw r==null||r.close(),l}}function ot(h){const s=new Map,r=new Map,l=new Map,d=new Map,p=new Map;let w=0,f=!1;const _=t=>{var o,n;let e=new URL(t,location.href).pathname;try{e=decodeURIComponent(e)}catch{}return(n=Object.entries(((o=h.contentWindow)==null?void 0:o.__HF_MEDIA_SOURCE_FACTS__)??{}).filter(([i])=>e.endsWith(i)).sort(([i],[a])=>a.length-i.length)[0])==null?void 0:n[1]},b=(t=E)=>{for(const[e,o]of p){if(w<=t)break;e.pins>0||(p.delete(e),o.cache.delete(e.timestamp),w-=e.bytes,e.image.close())}},v=async t=>{if(t.disposed)return;t.disposed=!0,clearTimeout(t.idleTimer),r.get(t.key)===t&&r.delete(t.key);const e=(async()=>{t.transparent&&await t.tail,t.cancelReads(),t.input.dispose(),await y(t).catch(()=>{});for(const o of t.cache.values())p.delete(o),w-=o.bytes,o.image.close();t.cache.clear(),t.canvas.width=t.canvas.height=0})();return t.transparent?new Promise((o,n)=>{const i=setTimeout(()=>{t.cancelReads(),o()},$);e.then(o,n).finally(()=>clearTimeout(i))}):e},P=t=>{clearTimeout(t.idleTimer),!(t.disposed||t.users>0||[...t.cache.values()].some(e=>e.pins>0))&&(t.idleTimer=setTimeout(()=>{t.users>0||[...t.cache.values()].some(e=>e.pins>0)||r.get(t.key)===t&&(s.delete(t.key),v(t))},1e4))},D=async t=>{const e=X("thumbnail"),o=new V({source:new K(t,e),formats:G});l.set(o,e.cancelReads);try{const n=await o.getPrimaryVideoTrack();if(!n||f)throw new Error("Preview video unavailable");const[i,a,u,c,m,S,F,B,j]=await Promise.all([n.getDisplayWidth(),n.getDisplayHeight(),n.getFirstTimestamp(),n.getTimeResolution(),n.getSquarePixelWidth(),n.getSquarePixelHeight(),n.getRotation(),n.getFlip(),n.canBeTransparent()]),g=document.createElement("canvas");g.width=Math.max(1,Math.ceil(i));const z=F%180===0?m/S:S/m;return g.height=Math.max(1,Math.round(g.width/z)),{key:t,input:o,cancelReads:e.cancelReads,sink:new Q(n),canvas:g,rotation:F,flip:B,width:i,height:a,lead:u,ticks:c,transparent:j,tail:Promise.resolve(),iterator:null,iteratorEnd:0,lastTime:-1/0,cache:new Map,users:0,disposed:!1}}catch(n){throw o.dispose(),e.cancelReads(),n}finally{l.delete(o)}},I=()=>{for(const[t]of s){if(s.size<M)break;const e=r.get(t);e&&e.users===0&&![...e.cache.values()].some(o=>o.pins>0)&&(s.delete(t),v(e))}if(s.size>=M)throw new Error("Preview decoder budget reached")},L=async t=>{const e=t;if((d.get(e)??0)>performance.now())throw new Error("Preview decoder cooling down");let o=s.get(e);o||(I(),o=D(t),s.set(e,o)),s.delete(e),s.set(e,o);let n;try{n=await o}catch(i){throw s.get(e)===o&&(s.delete(e),d.set(e,performance.now()+5e3)),i}if(f||n.disposed)throw new DOMException("Preview disposed","AbortError");return r.set(e,n),n.users++,clearTimeout(n.idleTimer),n},y=async t=>{const e=t.iterator;t.iterator=null,await(e==null?void 0:e.return())},R=(t,e)=>{if(e.throwIfAborted(),f||t.disposed)throw new Error("Preview disposed")},O=async(t,e,o)=>{for(t.iterator||(t.iteratorEnd=e+8,t.iterator=t.sink.samples(e,t.iteratorEnd));;){R(t,o);const n=await t.iterator.next();if(n.done)return null;const i=n.value;let a=!1;try{if(R(t,o),i.timestamp>e+1e-6)return null;if(a=i.timestamp+i.duration>e+1e-6,a)return i}finally{a||i.close()}}},A=(t,e)=>(e.pins++,p.delete(e),p.set(e,t),e),W=async(t,e,o,n,i)=>{const a=t.canvas.getContext("2d",{alpha:!0});if(!a)throw new Error("Preview canvas unavailable");a.clearRect(0,0,t.canvas.width,t.canvas.height),a.imageSmoothingQuality="high",e.drawWithFit(a,{fit:"fill",rotation:t.rotation,flip:t.flip});const u=await createImageBitmap(t.canvas);if(i.aborted||f||t.disposed)throw u.close(),i.throwIfAborted(),new Error("Preview disposed");const c={image:u,...J(e.timestamp,o,n),bytes:u.width*u.height*4,pins:1},m=t.cache.get(c.timestamp);if(m)return m.duration=Math.max(m.duration,c.duration),u.close(),A(t,m);if(b(E-c.bytes),w+c.bytes>E)throw u.close(),new Error("Preview frame budget reached");return t.cache.set(c.timestamp,c),p.set(c,t),w+=c.bytes,c},U=(t,e,o)=>!t.transparent&&!o.variableFrameRate&&(o.frameRate??0)>0&&e>t.lastTime+1e-6&&e-t.lastTime<=Z,C=async(t,e,o,n)=>{R(t,n);const i=[...t.cache.values()].find(m=>e>=m.timestamp-1e-6&&e<m.timestamp+m.duration-1e-6);if(i)return A(t,i);const a=Y(e,o),u=U(t,e,o);let c=null;try{if((!u||a>=t.iteratorEnd)&&await y(t),c=u?await O(t,a,n):null,c||(await y(t),c=await q(t,a)),!c)throw new Error("No preview frame at requested time");return R(t,n),t.lastTime=e,await W(t,c,e,o,n)}finally{c==null||c.close(),(n.aborted||f)&&await y(t).catch(()=>{})}},H=(t,e)=>{const o=_(t.source);return{frameRate:o==null?void 0:o.frameRate,variableFrameRate:o==null?void 0:o.variableFrameRate,sourceLead:e.lead,inputLead:e.lead,timeResolution:e.ticks}},N=async(t,e)=>{e.throwIfAborted();const o=t.source;if(!o)throw new Error("Preview source unavailable");const n=await L(o);try{const i=H(t,n),a=n.tail.then(()=>C(n,t.time,i,e));n.tail=a.then(()=>{},()=>{});const u=await a;let c=!1;return b(),{source:u.image,timestamp:u.timestamp,duration:u.duration,width:n.width,height:n.height,release(){c||(c=!0,u.pins--,b(),P(n))}}}finally{n.users--,P(n)}};return{async decode(t,e){if(f)throw new DOMException("Preview disposed","AbortError");if(new Set(t.map(({source:a})=>a)).size>M)throw new Error("Preview decoder budget reached");const o=await Promise.allSettled(t.map(a=>N(a,e))),n=o.find(a=>a.status==="rejected"),i=o.flatMap(a=>a.status==="fulfilled"?[a.value]:[]);if(n||f||e.aborted){for(const a of i)a.release();throw n?n.reason:new DOMException("Preview cancelled","AbortError")}return i},async suspend(){const t=[...s.values()].map(e=>e.then(v).catch(()=>{}));s.clear();for(const[e,o]of l)o(),e.dispose();await Promise.all(t)},dispose(){if(!f){f=!0;for(const[t,e]of l)e(),t.dispose();for(const t of s.values())t.then(v).catch(()=>{});s.clear(),d.clear()}}}}export{ot as createPausedVideoDecoder};
|
package/dist/studio/index.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-D3WxJaqm.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CRiuMxyq.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div data-hf-id="hf-aph5" id="root"></div>
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
stampProjectHfIds,
|
|
29
29
|
stampProjectHfIdsAsync,
|
|
30
30
|
thumbnailDeviceScaleFactor
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6PXVXIC7.js";
|
|
32
32
|
import {
|
|
33
33
|
dedupeClonedCompositionId,
|
|
34
34
|
findTargetElement,
|
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
} from "./chunk-R64WJS45.js";
|
|
40
40
|
import {
|
|
41
41
|
requestSubPath
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UX2KMUKC.js";
|
|
43
43
|
import "./chunk-DONVZZLV.js";
|
|
44
44
|
import {
|
|
45
45
|
CACHE_DIR_NAME,
|
|
46
46
|
cleanupProxyCache
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-I6SCA2ME.js";
|
|
48
|
+
import "./chunk-MQGRMXFN.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_HISTORY_ROOT,
|
|
51
51
|
DELETED_VERSION,
|
|
@@ -95,6 +95,7 @@ import {
|
|
|
95
95
|
MIME_TYPES,
|
|
96
96
|
getMimeType
|
|
97
97
|
} from "./chunk-4QFWV5GQ.js";
|
|
98
|
+
import "./chunk-7RLMDAUO.js";
|
|
98
99
|
import {
|
|
99
100
|
walkDir
|
|
100
101
|
} from "./chunk-SZGQU7EB.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shareError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CQ5VQNOD.js";
|
|
10
10
|
import {
|
|
11
11
|
ReviewFailed,
|
|
12
12
|
fileSha256Base64,
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
shareSite,
|
|
16
16
|
trackShareInteraction,
|
|
17
17
|
versionOnPage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ETXOQXWT.js";
|
|
19
19
|
import {
|
|
20
20
|
acquireRenderLock,
|
|
21
21
|
describeRenderLockHolder,
|
|
22
22
|
renderJobObservabilityTelemetryPayload,
|
|
23
23
|
renderObservabilityTelemetryPayload,
|
|
24
24
|
startRenderCpuSampler
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-H4S3WY2N.js";
|
|
26
26
|
import {
|
|
27
27
|
HANDOFF_READY,
|
|
28
28
|
desktopDownloadUrl,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import "./chunk-MI54IK7G.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveRenderBrowser
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AMWWQXTC.js";
|
|
37
37
|
import "./chunk-RCTY7VNK.js";
|
|
38
38
|
import "./chunk-M3BJEZ7E.js";
|
|
39
39
|
import {
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
} from "./chunk-YTHXSYYB.js";
|
|
42
42
|
import "./chunk-BAWGEGKD.js";
|
|
43
43
|
import "./chunk-6BEFEWFB.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-G6QCHM2N.js";
|
|
45
45
|
import "./chunk-X7MTZ4T2.js";
|
|
46
46
|
import "./chunk-X7MTZ4T2.js";
|
|
47
47
|
import {
|
|
48
48
|
seekCompositionTimeline
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LNZHSISH.js";
|
|
50
50
|
import "./chunk-47MEWWCO.js";
|
|
51
51
|
import "./chunk-YGGZ23BB.js";
|
|
52
52
|
import "./chunk-MR7VKWYT.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
readBundleFile,
|
|
58
58
|
resolveGsapVendorDir
|
|
59
59
|
} from "./chunk-WN4W76IQ.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-XHUFLQGD.js";
|
|
61
61
|
import "./chunk-Z2EKCD7H.js";
|
|
62
62
|
import {
|
|
63
63
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
@@ -76,12 +76,12 @@ import {
|
|
|
76
76
|
previewAllowedHostsFromEnv,
|
|
77
77
|
sameOriginPost,
|
|
78
78
|
thumbnailDeviceScaleFactor
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-6PXVXIC7.js";
|
|
80
80
|
import "./chunk-R64WJS45.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-UX2KMUKC.js";
|
|
82
82
|
import "./chunk-DONVZZLV.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-I6SCA2ME.js";
|
|
84
|
+
import "./chunk-MQGRMXFN.js";
|
|
85
85
|
import {
|
|
86
86
|
DEFAULT_HISTORY_ROOT,
|
|
87
87
|
DELETED_VERSION,
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
openProjectHistory
|
|
97
97
|
} from "./chunk-22EEGJLH.js";
|
|
98
98
|
import "./chunk-BZULWFMJ.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-DE7Q2LWF.js";
|
|
100
100
|
import "./chunk-ZLTB7ZCQ.js";
|
|
101
101
|
import {
|
|
102
102
|
resolveCaptureBrowserGpuMode,
|
|
103
103
|
resolveLocalBrowserGpuMode,
|
|
104
104
|
resolveLocalWebGpu
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NQ3NHCF6.js";
|
|
106
106
|
import {
|
|
107
107
|
resolveAutoProxy
|
|
108
108
|
} from "./chunk-FCNMU7LC.js";
|
|
@@ -121,12 +121,12 @@ import {
|
|
|
121
121
|
renderMotionBlurTelemetryPayload,
|
|
122
122
|
trackRenderComplete,
|
|
123
123
|
trackRenderError
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-SQ64IEA7.js";
|
|
125
125
|
import {
|
|
126
126
|
canaryDecisionsForStudio,
|
|
127
127
|
resetTelemetryPostureCache,
|
|
128
128
|
shouldTrack
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-ZGWOCGSJ.js";
|
|
130
130
|
import "./chunk-PXVQOMKL.js";
|
|
131
131
|
import "./chunk-MCDNAIFF.js";
|
|
132
132
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -141,6 +141,7 @@ import "./chunk-ZB2XGJSP.js";
|
|
|
141
141
|
import {
|
|
142
142
|
getMimeType
|
|
143
143
|
} from "./chunk-4QFWV5GQ.js";
|
|
144
|
+
import "./chunk-7RLMDAUO.js";
|
|
144
145
|
import {
|
|
145
146
|
isLinkFreeWithinProject,
|
|
146
147
|
isProjectIgnoredDir
|
|
@@ -148,8 +149,8 @@ import {
|
|
|
148
149
|
import {
|
|
149
150
|
assertWebGpuAdapterAvailable,
|
|
150
151
|
compositionRequiresWebGpu
|
|
151
|
-
} from "./chunk-
|
|
152
|
-
import "./chunk-
|
|
152
|
+
} from "./chunk-VXX4S2PH.js";
|
|
153
|
+
import "./chunk-LZTBL7SR.js";
|
|
153
154
|
import "./chunk-Z5J67X44.js";
|
|
154
155
|
import "./chunk-5S7W3TUO.js";
|
|
155
156
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -170,7 +171,7 @@ import {
|
|
|
170
171
|
realpath
|
|
171
172
|
} from "./chunk-XWK2RSD5.js";
|
|
172
173
|
import "./chunk-RQVDTPGD.js";
|
|
173
|
-
import "./chunk-
|
|
174
|
+
import "./chunk-445BBSZS.js";
|
|
174
175
|
import "./chunk-CNAOJ7XI.js";
|
|
175
176
|
import {
|
|
176
177
|
runRenderSetupWorker
|
|
@@ -178,14 +179,14 @@ import {
|
|
|
178
179
|
import "./chunk-KGPLIH7B.js";
|
|
179
180
|
import {
|
|
180
181
|
bytesToMb
|
|
181
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-NFRKPLTJ.js";
|
|
182
183
|
import "./chunk-LEIR7IDJ.js";
|
|
183
184
|
import "./chunk-H4LCNEA2.js";
|
|
184
185
|
import {
|
|
185
186
|
isWithinProjectRoot
|
|
186
187
|
} from "./chunk-MP4TEYUJ.js";
|
|
188
|
+
import "./chunk-U3LWQGCD.js";
|
|
187
189
|
import "./chunk-IU5DC4HP.js";
|
|
188
|
-
import "./chunk-HYMWSWKM.js";
|
|
189
190
|
import "./chunk-6MKM2RVL.js";
|
|
190
191
|
import "./chunk-M425BL2U.js";
|
|
191
192
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -211,7 +212,7 @@ import "./chunk-CPHQTXP5.js";
|
|
|
211
212
|
import "./chunk-QBXDU24O.js";
|
|
212
213
|
import {
|
|
213
214
|
VERSION
|
|
214
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-7SZ7QQJ3.js";
|
|
215
216
|
import "./chunk-E63BDV4Z.js";
|
|
216
217
|
import {
|
|
217
218
|
detectAgentRuntime
|
|
@@ -889,7 +890,7 @@ function optionalBoolean(value) {
|
|
|
889
890
|
function validSpace(value) {
|
|
890
891
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
891
892
|
}
|
|
892
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
893
|
+
var defaultCreate = async (path, progress) => (await import("./service-UIHDIMFM.js")).createShareService(path, progress, {
|
|
893
894
|
surface: "local_studio",
|
|
894
895
|
pinIdentity: true
|
|
895
896
|
});
|
|
@@ -1128,13 +1129,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
1128
1129
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1129
1130
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1130
1131
|
async function loadStudioProducer() {
|
|
1131
|
-
if (!isDevMode()) return await import("./src-
|
|
1132
|
+
if (!isDevMode()) return await import("./src-H2EUJUV3.js");
|
|
1132
1133
|
if (!process.versions.bun) {
|
|
1133
1134
|
throw new Error(
|
|
1134
1135
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
1135
1136
|
);
|
|
1136
1137
|
}
|
|
1137
|
-
return await import("./src-
|
|
1138
|
+
return await import("./src-H2EUJUV3.js");
|
|
1138
1139
|
}
|
|
1139
1140
|
function resolveDistDir() {
|
|
1140
1141
|
return resolveStudioBundle().dir;
|
|
@@ -1249,8 +1250,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
1249
1250
|
_thumbnailBrowserInitializing = (async () => {
|
|
1250
1251
|
try {
|
|
1251
1252
|
if (isShuttingDown()) return null;
|
|
1252
|
-
const { ensureBrowser } = await import("./manager-
|
|
1253
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1253
|
+
const { ensureBrowser } = await import("./manager-TMKN4DX5.js");
|
|
1254
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-TQQ743H4.js");
|
|
1254
1255
|
let executablePath;
|
|
1255
1256
|
try {
|
|
1256
1257
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1439,9 +1440,9 @@ function createStudioServer(options) {
|
|
|
1439
1440
|
},
|
|
1440
1441
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1441
1442
|
const { injectDeterministicFontFaces } = await import("./deterministicFonts-QY4KNTOU.js");
|
|
1442
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1443
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1444
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1443
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-X7KILCDI.js");
|
|
1444
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-VDZVZ4G7.js");
|
|
1445
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-4EM6GLN4.js");
|
|
1445
1446
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1446
1447
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1447
1448
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1623,7 +1624,7 @@ function createStudioServer(options) {
|
|
|
1623
1624
|
startBackgroundRemoval(opts) {
|
|
1624
1625
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1625
1626
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1626
|
-
const pipeline = await import("./pipeline-
|
|
1627
|
+
const pipeline = await import("./pipeline-HRCK2JQL.js").catch(
|
|
1627
1628
|
() => import(sourcePipelinePath)
|
|
1628
1629
|
);
|
|
1629
1630
|
return pipeline.render(renderOpts);
|
|
@@ -1719,7 +1720,7 @@ function createStudioServer(options) {
|
|
|
1719
1720
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1720
1721
|
},
|
|
1721
1722
|
async installRegistryBlock(opts) {
|
|
1722
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1723
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-Z6G2DLNE.js");
|
|
1723
1724
|
const { recordRewrittenInstall } = await import("./installer-FI6HT2FW.js");
|
|
1724
1725
|
const { registryTargetPath } = await import("./publication-ST3VFFWM.js");
|
|
1725
1726
|
const { result, item } = await addToProject({
|
|
@@ -1836,8 +1837,8 @@ function createStudioServer(options) {
|
|
|
1836
1837
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1837
1838
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1838
1839
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1839
|
-
import("./preflight-
|
|
1840
|
-
import("./ffmpeg-
|
|
1840
|
+
import("./preflight-VIMLSE3I.js"),
|
|
1841
|
+
import("./ffmpeg-JRNM74WY.js")
|
|
1841
1842
|
]);
|
|
1842
1843
|
const { outcomes } = await runEnvironmentChecks();
|
|
1843
1844
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1857,7 +1858,7 @@ function createStudioServer(options) {
|
|
|
1857
1858
|
mountShareRoutes(app, projectDir);
|
|
1858
1859
|
let cachedFFmpegPath;
|
|
1859
1860
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1860
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1861
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-JRNM74WY.js");
|
|
1861
1862
|
if (!cachedFFmpegPath) {
|
|
1862
1863
|
cachedFFmpegPath = findFFmpeg();
|
|
1863
1864
|
}
|
|
@@ -1974,7 +1975,7 @@ function createStudioServer(options) {
|
|
|
1974
1975
|
});
|
|
1975
1976
|
const renders = [...inFlightRenders];
|
|
1976
1977
|
for (const [abortController] of renders) abortController.abort();
|
|
1977
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1978
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-TQQ743H4.js");
|
|
1978
1979
|
killTrackedProcesses();
|
|
1979
1980
|
const closeBrowsers = Promise.allSettled([
|
|
1980
1981
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
avSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5B425ZB3.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg,
|
|
17
17
|
window
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YXR5MVBM.js";
|
|
19
19
|
import {
|
|
20
20
|
Fix
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-DYYAFCZH.js";
|
|
22
|
+
import "./chunk-G6QCHM2N.js";
|
|
23
23
|
import {
|
|
24
24
|
defineCommand
|
|
25
25
|
} from "./chunk-DL4OD7IA.js";
|
|
26
26
|
import "./chunk-S3S4TGEH.js";
|
|
27
27
|
import "./chunk-JCNPHRGX.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VXX4S2PH.js";
|
|
29
|
+
import "./chunk-LZTBL7SR.js";
|
|
30
30
|
import "./chunk-Z5J67X44.js";
|
|
31
31
|
import "./chunk-5S7W3TUO.js";
|
|
32
32
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -44,8 +44,8 @@ import "./chunk-KGPLIH7B.js";
|
|
|
44
44
|
import "./chunk-LEIR7IDJ.js";
|
|
45
45
|
import "./chunk-H4LCNEA2.js";
|
|
46
46
|
import "./chunk-MP4TEYUJ.js";
|
|
47
|
+
import "./chunk-U3LWQGCD.js";
|
|
47
48
|
import "./chunk-IU5DC4HP.js";
|
|
48
|
-
import "./chunk-HYMWSWKM.js";
|
|
49
49
|
import "./chunk-6MKM2RVL.js";
|
|
50
50
|
import "./chunk-M425BL2U.js";
|
|
51
51
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -56,7 +56,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
56
56
|
import "./chunk-WFQJ6EJ6.js";
|
|
57
57
|
import "./chunk-4NTCQF3L.js";
|
|
58
58
|
import "./chunk-JOQR4AP6.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-UIIQA7DN.js";
|
|
60
60
|
import "./chunk-BR2JQQC5.js";
|
|
61
61
|
import "./chunk-AWD2MWWL.js";
|
|
62
62
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -65,7 +65,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
65
65
|
import "./chunk-66W5IWLO.js";
|
|
66
66
|
import "./chunk-CPHQTXP5.js";
|
|
67
67
|
import "./chunk-QBXDU24O.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-7SZ7QQJ3.js";
|
|
69
69
|
import "./chunk-E63BDV4Z.js";
|
|
70
70
|
import "./chunk-LW33P24U.js";
|
|
71
71
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -11,10 +11,11 @@ import {
|
|
|
11
11
|
getShmSizeMb,
|
|
12
12
|
getSystemMeta,
|
|
13
13
|
parsePmsetPowerSource
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NFRKPLTJ.js";
|
|
15
15
|
import {
|
|
16
16
|
getAvailableMemoryMb
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-U3LWQGCD.js";
|
|
18
|
+
import "./chunk-IU5DC4HP.js";
|
|
18
19
|
import "./chunk-LW33P24U.js";
|
|
19
20
|
import "./chunk-XT6MXC7A.js";
|
|
20
21
|
import "./chunk-7KDQAD2W.js";
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SQ64IEA7.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZGWOCGSJ.js";
|
|
28
28
|
import "./chunk-PXVQOMKL.js";
|
|
29
29
|
import "./chunk-MCDNAIFF.js";
|
|
30
30
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -41,8 +41,9 @@ import {
|
|
|
41
41
|
getFreeDiskMb,
|
|
42
42
|
getShmSizeMb,
|
|
43
43
|
getSystemMeta
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-NFRKPLTJ.js";
|
|
45
|
+
import "./chunk-U3LWQGCD.js";
|
|
46
|
+
import "./chunk-IU5DC4HP.js";
|
|
46
47
|
import "./chunk-6MKM2RVL.js";
|
|
47
48
|
import "./chunk-M425BL2U.js";
|
|
48
49
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -64,7 +65,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
64
65
|
import "./chunk-66W5IWLO.js";
|
|
65
66
|
import "./chunk-CPHQTXP5.js";
|
|
66
67
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-7SZ7QQJ3.js";
|
|
68
69
|
import "./chunk-E63BDV4Z.js";
|
|
69
70
|
import "./chunk-LW33P24U.js";
|
|
70
71
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
billingBaseUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QP7MQ43Y.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveCloudAuthHeaders
|
|
12
12
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
import "./chunk-4XETQ5LC.js";
|
|
36
36
|
import {
|
|
37
37
|
trackSkillCommandRan
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-SQ64IEA7.js";
|
|
39
|
+
import "./chunk-ZGWOCGSJ.js";
|
|
40
40
|
import "./chunk-PXVQOMKL.js";
|
|
41
41
|
import "./chunk-MCDNAIFF.js";
|
|
42
42
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -61,8 +61,9 @@ import "./chunk-RQVDTPGD.js";
|
|
|
61
61
|
import {
|
|
62
62
|
processIsAlive
|
|
63
63
|
} from "./chunk-KGPLIH7B.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-NFRKPLTJ.js";
|
|
65
|
+
import "./chunk-U3LWQGCD.js";
|
|
66
|
+
import "./chunk-IU5DC4HP.js";
|
|
66
67
|
import "./chunk-6MKM2RVL.js";
|
|
67
68
|
import "./chunk-M425BL2U.js";
|
|
68
69
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -82,7 +83,7 @@ import {
|
|
|
82
83
|
} from "./chunk-66W5IWLO.js";
|
|
83
84
|
import "./chunk-CPHQTXP5.js";
|
|
84
85
|
import "./chunk-QBXDU24O.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-7SZ7QQJ3.js";
|
|
86
87
|
import "./chunk-E63BDV4Z.js";
|
|
87
88
|
import "./chunk-LW33P24U.js";
|
|
88
89
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
NEVER_VISIBLE,
|
|
9
9
|
describeProject
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-POGZYVM2.js";
|
|
11
11
|
import "./chunk-LLMSX6V6.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureDOMParser
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
import "./chunk-K4WKGXRC.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UB44XZOI.js";
|
|
22
22
|
import {
|
|
23
23
|
readCompositionFps
|
|
24
24
|
} from "./chunk-Z2EKCD7H.js";
|
|
25
25
|
import {
|
|
26
26
|
applyFileMutations,
|
|
27
27
|
duplicateElementInHtml
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6PXVXIC7.js";
|
|
29
29
|
import {
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
33
|
} from "./chunk-R64WJS45.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UX2KMUKC.js";
|
|
35
35
|
import "./chunk-DONVZZLV.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-I6SCA2ME.js";
|
|
37
|
+
import "./chunk-MQGRMXFN.js";
|
|
38
38
|
import {
|
|
39
39
|
fileContentVersion
|
|
40
40
|
} from "./chunk-22EEGJLH.js";
|
|
@@ -44,8 +44,8 @@ import {
|
|
|
44
44
|
readJsonFileText,
|
|
45
45
|
readJsonStdinText
|
|
46
46
|
} from "./chunk-EHZESMRB.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-SQ64IEA7.js";
|
|
48
|
+
import "./chunk-ZGWOCGSJ.js";
|
|
49
49
|
import "./chunk-PXVQOMKL.js";
|
|
50
50
|
import "./chunk-MCDNAIFF.js";
|
|
51
51
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -62,9 +62,10 @@ import "./chunk-JCNPHRGX.js";
|
|
|
62
62
|
import "./chunk-LD6JONPV.js";
|
|
63
63
|
import "./chunk-ZB2XGJSP.js";
|
|
64
64
|
import "./chunk-4QFWV5GQ.js";
|
|
65
|
+
import "./chunk-7RLMDAUO.js";
|
|
65
66
|
import "./chunk-SZGQU7EB.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-VXX4S2PH.js";
|
|
68
|
+
import "./chunk-LZTBL7SR.js";
|
|
68
69
|
import "./chunk-Z5J67X44.js";
|
|
69
70
|
import "./chunk-5S7W3TUO.js";
|
|
70
71
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -82,12 +83,12 @@ import "./chunk-DQZRNGDS.js";
|
|
|
82
83
|
import "./chunk-VC76R6W2.js";
|
|
83
84
|
import "./chunk-XWK2RSD5.js";
|
|
84
85
|
import "./chunk-RQVDTPGD.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-NFRKPLTJ.js";
|
|
86
87
|
import "./chunk-LEIR7IDJ.js";
|
|
87
88
|
import "./chunk-H4LCNEA2.js";
|
|
88
89
|
import "./chunk-MP4TEYUJ.js";
|
|
90
|
+
import "./chunk-U3LWQGCD.js";
|
|
89
91
|
import "./chunk-IU5DC4HP.js";
|
|
90
|
-
import "./chunk-HYMWSWKM.js";
|
|
91
92
|
import {
|
|
92
93
|
isInsideSpan,
|
|
93
94
|
sameInstant,
|
|
@@ -104,7 +105,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
104
105
|
import "./chunk-JOQR4AP6.js";
|
|
105
106
|
import {
|
|
106
107
|
withMeta
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-UIIQA7DN.js";
|
|
108
109
|
import "./chunk-BR2JQQC5.js";
|
|
109
110
|
import "./chunk-AWD2MWWL.js";
|
|
110
111
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -117,7 +118,7 @@ import {
|
|
|
117
118
|
} from "./chunk-66W5IWLO.js";
|
|
118
119
|
import "./chunk-CPHQTXP5.js";
|
|
119
120
|
import "./chunk-QBXDU24O.js";
|
|
120
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-7SZ7QQJ3.js";
|
|
121
122
|
import "./chunk-E63BDV4Z.js";
|
|
122
123
|
import "./chunk-LW33P24U.js";
|
|
123
124
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OHV7UZZ.js";
|
|
15
15
|
import "./chunk-ZLTB7ZCQ.js";
|
|
16
16
|
import {
|
|
17
17
|
defineCommand
|
|
@@ -83,7 +83,7 @@ var tokens_default = defineCommand({
|
|
|
83
83
|
console.log("add to data-composition-variables:");
|
|
84
84
|
console.log(JSON.stringify(result.entries, null, 2));
|
|
85
85
|
}
|
|
86
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
86
|
+
const { trackFigmaImport } = await import("./telemetry-3U4UGQ5V.js");
|
|
87
87
|
trackFigmaImport({
|
|
88
88
|
phase: "tokens",
|
|
89
89
|
tokensMode: result.mode,
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
whisperModelSlowdownFactor,
|
|
19
19
|
withoutPaths,
|
|
20
20
|
wrapWhisperTimeoutError
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-4FWR7OE3.js";
|
|
22
|
+
import "./chunk-KLIVZ5VG.js";
|
|
23
|
+
import "./chunk-HS7LT4PL.js";
|
|
24
|
+
import "./chunk-YXQA6MKA.js";
|
|
25
25
|
import "./chunk-RZ6CXJ56.js";
|
|
26
26
|
import "./chunk-R4EWRIDL.js";
|
|
27
27
|
import "./chunk-JJ47LVJ7.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-G6QCHM2N.js";
|
|
29
29
|
import "./chunk-CDNVZEGQ.js";
|
|
30
30
|
import "./chunk-UOFAE5RF.js";
|
|
31
31
|
import "./chunk-IR35BCLK.js";
|
|
32
32
|
import "./chunk-HU2SPFNG.js";
|
|
33
33
|
import "./chunk-EHZESMRB.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-VXX4S2PH.js";
|
|
35
|
+
import "./chunk-LZTBL7SR.js";
|
|
36
36
|
import "./chunk-Z5J67X44.js";
|
|
37
37
|
import "./chunk-5S7W3TUO.js";
|
|
38
38
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -51,8 +51,8 @@ import "./chunk-KGPLIH7B.js";
|
|
|
51
51
|
import "./chunk-LEIR7IDJ.js";
|
|
52
52
|
import "./chunk-H4LCNEA2.js";
|
|
53
53
|
import "./chunk-MP4TEYUJ.js";
|
|
54
|
+
import "./chunk-U3LWQGCD.js";
|
|
54
55
|
import "./chunk-IU5DC4HP.js";
|
|
55
|
-
import "./chunk-HYMWSWKM.js";
|
|
56
56
|
import "./chunk-6MKM2RVL.js";
|
|
57
57
|
import "./chunk-M425BL2U.js";
|
|
58
58
|
import "./chunk-FR7YBU3H.js";
|