hyperframes 0.9.23 → 0.9.25
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-5FVLVG3H.js → add-FIQ7X2UM.js} +11 -11
- package/dist/{agentPromptGenerator-6T6SBKKW.js → agentPromptGenerator-BZDDAACV.js} +5 -5
- package/dist/{animatedGifPrep-IM272TFX.js → animatedGifPrep-QHKEBSEG.js} +5 -5
- package/dist/api.js +26 -26
- package/dist/{asset-3M2XBSS7.js → asset-GI2GUGHA.js} +2 -2
- package/dist/{assetCataloger-RVMGNGZ2.js → assetCataloger-UVEETMYY.js} +6 -6
- package/dist/{audio-JFO5YKQI.js → audio-XS7JJBFM.js} +11 -11
- package/dist/{auth-SDZQ4GPW.js → auth-4HA6L5RV.js} +2 -2
- package/dist/{autoUpdate-R6DLK2HV.js → autoUpdate-P2WTCGD5.js} +2 -2
- package/dist/{avatars-SZFBWUSM.js → avatars-ZUEC4VQX.js} +9 -9
- package/dist/{backgroundChecks-TMXA5OCH.js → backgroundChecks-23MDYVVG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZY5OTISU.js → batchRender-BN4H7CRS.js} +3 -3
- package/dist/{beats-3NPXLTXG.js → beats-BPMY6WVU.js} +7 -7
- package/dist/{benchmark-RCHSGEWW.js → benchmark-MTWV4OKR.js} +8 -8
- package/dist/{billing-5Q5VDXB7.js → billing-O2UNQICC.js} +10 -10
- package/dist/{browser-HRTWQ36R.js → browser-G762CJHD.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-YXEDVGWO.js → bundleWithLocalizedFonts-GR4BQHS5.js} +1 -1
- package/dist/{capture-J3BHS724.js → capture-H6DPERYY.js} +3 -3
- package/dist/{capture-J57DJPIQ.js → capture-QKS2OOSF.js} +12 -12
- package/dist/{captureCompositionFrame-2CWS67BU.js → captureCompositionFrame-PSLV3E4Y.js} +11 -11
- package/dist/{catalog-JYTILXQY.js → catalog-J5P4XZOY.js} +11 -11
- package/dist/{catch-up-WYQ6LBTZ.js → catch-up-GAQ7GZUY.js} +6 -6
- package/dist/{check-CSQWXWZ5.js → check-KXMAFDHW.js} +36 -36
- package/dist/{checkAudio-KJC7BJRT.js → checkAudio-CHPYLUDB.js} +8 -8
- package/dist/{checkBrowser-FJANSFJ4.js → checkBrowser-BBOMHS32.js} +30 -30
- package/dist/{chunk-CBBQ74SP.js → chunk-254HMQ7B.js} +1 -1
- package/dist/{chunk-D67EC7S4.js → chunk-2GHQMVYE.js} +1 -1
- package/dist/{chunk-SWY63JRI.js → chunk-2L6V6535.js} +2 -2
- package/dist/{chunk-UNZXNS7D.js → chunk-2OKM5V4N.js} +4 -4
- package/dist/{chunk-2QPVEA4S.js → chunk-2VW2MOD2.js} +3 -3
- package/dist/{chunk-MZHGYNPI.js → chunk-2ZHD474U.js} +2 -2
- package/dist/{chunk-4QRTTXE2.js → chunk-32VBJHBI.js} +1 -1
- package/dist/{chunk-CNFOXC44.js → chunk-3ARWVNNK.js} +3 -3
- package/dist/{chunk-Q767J52D.js → chunk-3DYZRZFI.js} +2 -2
- package/dist/{chunk-PMDFDSFX.js → chunk-3LC6GDR7.js} +1 -1
- package/dist/{chunk-S3ONFBQA.js → chunk-4FUWA4QW.js} +2 -2
- package/dist/{chunk-LW2BWM3V.js → chunk-4HOYUG34.js} +2 -2
- package/dist/{chunk-A3JYGVB5.js → chunk-6BI4ESZH.js} +5 -5
- package/dist/{chunk-4K2DG4ZA.js → chunk-6BSSCAC3.js} +12 -12
- package/dist/{chunk-LNKZDCL4.js → chunk-6TDAOOGV.js} +1 -1
- package/dist/{chunk-HZA3FFBP.js → chunk-7GILET6T.js} +1 -1
- package/dist/{chunk-N2WDPI5T.js → chunk-7LUVPCIB.js} +1 -1
- package/dist/{chunk-ZUVIMTCY.js → chunk-7TMYYSPM.js} +1 -1
- package/dist/{chunk-2TNX4CF4.js → chunk-7XQENYJK.js} +1 -1
- package/dist/{chunk-4UJLMP7R.js → chunk-ANURCSEW.js} +1 -1
- package/dist/{chunk-TGYIGRDT.js → chunk-AWFYCJXZ.js} +7 -7
- package/dist/{chunk-RKINAT4N.js → chunk-BHG3PLDI.js} +1 -1
- package/dist/{chunk-SHJKPHKH.js → chunk-BVOTSOAS.js} +2 -2
- package/dist/{chunk-CG22POZ7.js → chunk-CS7DHCRZ.js} +2 -2
- package/dist/{chunk-5SNYXKDV.js → chunk-D6AC6N7X.js} +8 -8
- package/dist/{chunk-DUKFDLEL.js → chunk-DBEE7F7W.js} +30 -35
- package/dist/{chunk-LW6NSV6Q.js → chunk-DEU4JCIF.js} +1 -1
- package/dist/{chunk-N5PMTGPJ.js → chunk-DIWUWYQZ.js} +1 -1
- package/dist/{chunk-7ISFRXRU.js → chunk-DL7R6DWU.js} +2 -2
- package/dist/{chunk-OBZ4BBPD.js → chunk-DUOZSML3.js} +14 -14
- package/dist/{chunk-LPVWQDWN.js → chunk-EARKC4ZO.js} +1 -1
- package/dist/{chunk-B5TFX2NQ.js → chunk-EBPXSOT7.js} +2 -2
- package/dist/{chunk-VEGK6XIU.js → chunk-ELMZM2QX.js} +1 -1
- package/dist/{chunk-XOLEQLVG.js → chunk-FEHGZTE5.js} +2 -2
- package/dist/{chunk-AK5BLSZR.js → chunk-FPQAQS64.js} +1 -1
- package/dist/{chunk-K5XLYJCM.js → chunk-FQOOOFTF.js} +1 -1
- package/dist/{chunk-TLWBHLHW.js → chunk-FSCPSJBA.js} +1 -1
- package/dist/{chunk-WD56Y5HB.js → chunk-GDGHSVGP.js} +3 -3
- package/dist/{chunk-3ZGWXGIG.js → chunk-GXYGI5FG.js} +2 -2
- package/dist/{chunk-YICA47KJ.js → chunk-J2ZNX2OY.js} +3 -3
- package/dist/{chunk-CNGL7ALP.js → chunk-J4CMGJ6U.js} +1 -1
- package/dist/{chunk-6L42JK4X.js → chunk-JNU4OO4L.js} +2 -2
- package/dist/{chunk-V5ZFTU5Q.js → chunk-JPCUTMUU.js} +7 -7
- package/dist/{chunk-PDBCKBWX.js → chunk-LXFCCGHN.js} +10 -10
- package/dist/{chunk-CNG7GWYD.js → chunk-M2PGYJG3.js} +1 -1
- package/dist/{chunk-F4SVJCHT.js → chunk-MCDUWW36.js} +2 -2
- package/dist/{chunk-TECE5Z2E.js → chunk-MGQTL7M3.js} +1 -1
- package/dist/{chunk-BRHU7HC7.js → chunk-MS6S66B6.js} +4 -4
- package/dist/{chunk-WKZFMRR5.js → chunk-NAI4ID2Q.js} +7 -7
- package/dist/{chunk-JBF772XP.js → chunk-NGO2HYW6.js} +5 -5
- package/dist/{chunk-GTP3UFGU.js → chunk-NHSCE2XY.js} +2 -2
- package/dist/{chunk-4ABQ3BFW.js → chunk-NJ3H7N4T.js} +1 -1
- package/dist/{chunk-DENV5KPG.js → chunk-NSCS6HX2.js} +2 -2
- package/dist/chunk-OQXVY3HI.js +5035 -0
- package/dist/{chunk-4FJQ2VO5.js → chunk-OUQO3DKO.js} +2 -2
- package/dist/{chunk-LLD6KXIY.js → chunk-PB3N3LBM.js} +1 -1
- package/dist/{chunk-566KI2Y5.js → chunk-Q5JX74IM.js} +2 -2
- package/dist/{chunk-LCZBA6U6.js → chunk-QV3RFTLC.js} +1 -1
- package/dist/{chunk-526IPUN7.js → chunk-RT6MI3TZ.js} +1 -1
- package/dist/{chunk-MI6H3QQ7.js → chunk-S4KPXQ6H.js} +3 -3
- package/dist/{chunk-4UKKJMIY.js → chunk-SG7NQ7BI.js} +1 -1
- package/dist/{chunk-AHSKMVRM.js → chunk-T6QQOGLJ.js} +1 -1
- package/dist/{chunk-3AMBM4FR.js → chunk-TPBDABHP.js} +10 -10
- package/dist/{chunk-NWRCURZ7.js → chunk-TXMXWJNZ.js} +2 -2
- package/dist/{chunk-T4TE2MGA.js → chunk-UHOZCI3W.js} +2 -2
- package/dist/{chunk-EI2IBI7L.js → chunk-UMHSIUAC.js} +1 -1
- package/dist/{chunk-5FYGFKWD.js → chunk-VN33543F.js} +166 -28
- package/dist/{chunk-ZGEUVIO7.js → chunk-W6PKKBDA.js} +1 -1
- package/dist/{chunk-BDMR2NVH.js → chunk-WRFETVZF.js} +2 -2
- package/dist/{chunk-AP523BFH.js → chunk-XB77ZA5A.js} +1 -1
- package/dist/{chunk-AZWWXL27.js → chunk-XE4BDJBH.js} +3 -3
- package/dist/{chunk-QABKCLP4.js → chunk-XG4YPYXX.js} +2 -2
- package/dist/{chunk-TEPMNPZB.js → chunk-XKMKXORV.js} +3 -3
- package/dist/{chunk-MZOPMN3K.js → chunk-XLCHFZWB.js} +1 -1
- package/dist/{chunk-TG2F2JZM.js → chunk-XSXLFVDI.js} +2 -2
- package/dist/{chunk-NW4FE42M.js → chunk-XZJ7A6YM.js} +1 -1
- package/dist/{chunk-F2D6TRVQ.js → chunk-Y24YPVDN.js} +2 -2
- package/dist/{chunk-36V6IQ7A.js → chunk-YO3ZE7KU.js} +1 -1
- package/dist/{chunk-7YXTS2X6.js → chunk-YTGKCGLT.js} +1 -1
- package/dist/{chunk-5XQ3S73H.js → chunk-Z3PD7V6K.js} +1 -1
- package/dist/{chunk-J752ACSU.js → chunk-Z6XLJVZW.js} +1 -1
- package/dist/{chunk-SUUX2YOC.js → chunk-ZZFYEYKR.js} +4 -4
- package/dist/{clean-JKOIOXDP.js → clean-AZC2XGXK.js} +15 -15
- package/dist/cli.js +60 -60
- package/dist/{cloud-WH7SIQTG.js → cloud-ID5WI6WX.js} +4 -4
- package/dist/{cloudrun-OBXR4QSI.js → cloudrun-K7KBTFWT.js} +4 -4
- package/dist/{compare-CR22FHXU.js → compare-V452YQTT.js} +27 -27
- package/dist/{compiler-LPIEZ6SS.js → compiler-RWPIYAIS.js} +2 -2
- package/dist/{component-C6HBHLRD.js → component-PKMWRCKF.js} +3 -3
- package/dist/{compositions-J3XOKHTO.js → compositions-4HLQE34P.js} +9 -9
- package/dist/{curve-7BHM54UK.js → curve-LWNXGZIR.js} +9 -9
- package/dist/{cuts-3WDELHHT.js → cuts-FCG44VKV.js} +10 -10
- package/dist/{delete-E44IMBN5.js → delete-PGIQL57A.js} +2 -2
- package/dist/{deploy-BLSLQUA4.js → deploy-OYXYGAN7.js} +1 -1
- package/dist/{describeProject-IJWD57UO.js → describeProject-EPJ36LZS.js} +6 -6
- package/dist/{diff-BDFP42F2.js → diff-X6UP4FGI.js} +27 -27
- package/dist/{dist-VAOM3QXB.js → dist-G6COMUG7.js} +2 -2
- package/dist/{dist-AE5FYPUB.js → dist-QMZNV55J.js} +8 -8
- package/dist/{doctor-KBFPCGRJ.js → doctor-ALNW7CR5.js} +9 -9
- package/dist/{energy-Q4QPJCOA.js → energy-OWXBHU5V.js} +10 -10
- package/dist/{events-IUT3YTRC.js → events-LAWAINM2.js} +5 -5
- package/dist/{events-OUHYS3HE.js → events-UO3BS6F2.js} +2 -2
- package/dist/{events-OSYG5UE6.js → events-VP7QSKHQ.js} +11 -11
- package/dist/{extract-DXQVMKU7.js → extract-VYOS4QCN.js} +10 -10
- package/dist/{face-SB73M5NP.js → face-JR3YIVEB.js} +10 -10
- package/dist/{feedback-DJEB7HIF.js → feedback-7YNW4VXQ.js} +6 -6
- package/dist/{ffmpeg-RFVN6GF5.js → ffmpeg-CJZTY5IK.js} +5 -5
- package/dist/{figma-2YPOBVIY.js → figma-GOKUTU7D.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-WZVVHWTZ.js → frames-2DEBHVNX.js} +11 -11
- package/dist/{generate-EEX3I3IC.js → generate-NF5SUHZJ.js} +19 -19
- package/dist/{get-RZFSFN5L.js → get-6VOIQACT.js} +2 -2
- package/dist/{gpuPolicy-IIA5RNJF.js → gpuPolicy-JDSWBFRQ.js} +5 -5
- package/dist/{grade-compare-EE5H2NV3.js → grade-compare-4NO3FHH4.js} +28 -28
- package/dist/{heifImagePrep-6YC7OAKR.js → heifImagePrep-D7YHH6FO.js} +6 -6
- package/dist/{help-7TE35RSX.js → help-6E3RFPDW.js} +1 -1
- package/dist/{history-U56W2EAF.js → history-KIR6V7S3.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-7D2I276Q.js → info-BJEIZI5W.js} +11 -11
- package/dist/{init-YCU6BW6E.js → init-Z6JOMO7M.js} +25 -25
- package/dist/{ink-EGRTMVAX.js → ink-DUTQDEIF.js} +10 -10
- package/dist/{inspect-77SIRVHR.js → inspect-SZMIZOV3.js} +28 -28
- package/dist/{installer-4I5V43HA.js → installer-JTF7JFPQ.js} +4 -4
- package/dist/{keyframes-GOLLCPYX.js → keyframes-47SSIBNC.js} +8 -8
- package/dist/{lambda-FVOT4GHS.js → lambda-J5TLTIWN.js} +9 -9
- package/dist/{layout-KHVZAWEF.js → layout-FV6F6OLX.js} +28 -28
- package/dist/{lint-KCRTDRJV.js → lint-56PDOTYV.js} +8 -8
- package/dist/{list-IMGP2C4C.js → list-CQIDKSYA.js} +2 -2
- package/dist/{localPage-OGIFSJ2E.js → localPage-ABSGRIBA.js} +5 -5
- package/dist/{login-BQSDSOAI.js → login-DDZ4F5VD.js} +4 -4
- package/dist/{look-TCGZVIQY.js → look-N6DDKZV5.js} +10 -10
- package/dist/{manager-6BIDZMV7.js → manager-N2AZZQPD.js} +6 -6
- package/dist/{measure-TMZKGDLO.js → measure-SE6XHU7X.js} +11 -11
- package/dist/{media-treatment-566VGLCI.js → media-treatment-F72G2PIT.js} +11 -11
- package/dist/{media-use-BCGBCG5I.js → media-use-4YR7SBNR.js} +3 -3
- package/dist/{models-6YCFLMBJ.js → models-GPILZH33.js} +9 -9
- package/dist/{motionShot-FNI7XRQS.js → motionShot-3DAZIVN7.js} +14 -14
- package/dist/{normalize-audio-GUSEAHOX.js → normalize-audio-26EV5GAR.js} +8 -8
- package/dist/{open-5GEI3L27.js → open-7XG6SFXL.js} +11 -11
- package/dist/{parakeetRunner-GOJNQ2UM.js → parakeetRunner-HPQ5OZLX.js} +10 -10
- package/dist/{pipeline-JXCWNBBV.js → pipeline-OPKQDBOS.js} +8 -8
- package/dist/{play-HF24VR3C.js → play-PVR6FKX3.js} +18 -18
- package/dist/{preflight-RWIRWH5R.js → preflight-LFUR4JRE.js} +6 -6
- package/dist/{present-5ZC6A4WB.js → present-4TCPMLYQ.js} +14 -14
- package/dist/{preview-VOQF7DVE.js → preview-2MFKI2FY.js} +16 -16
- package/dist/{probe-QXP7GSF5.js → probe-WWO4BBQZ.js} +10 -10
- package/dist/{producer-PCDPX3EJ.js → producer-5SH42ZJI.js} +1 -1
- package/dist/{projectConfig-4H5PLSLL.js → projectConfig-L7F2OHVX.js} +6 -6
- package/dist/{publication-FGTSFMGJ.js → publication-MUEYZCG5.js} +2 -2
- package/dist/{publish-AR6BP2DL.js → publish-5QFFN6D4.js} +8 -8
- package/dist/{remove-background-CQYYHSF3.js → remove-background-XFB5SJX5.js} +9 -9
- package/dist/{render-OB7YKCXU.js → render-ARJA4MYF.js} +20 -20
- package/dist/{render-OJ7FUZQE.js → render-E2CLPC3P.js} +30 -30
- package/dist/{render-SAZBFJGS.js → render-JBUASSHE.js} +5 -5
- package/dist/{render-batch-FGJ63NQT.js → render-batch-EEXJI6KV.js} +5 -5
- package/dist/{resolver-QMPLMIII.js → resolver-TLZQ7CQV.js} +4 -4
- package/dist/{reverse-2GQG35AJ.js → reverse-LKIVLBZ7.js} +1 -1
- package/dist/{screenshotCapture-J5GZ54MU.js → screenshotCapture-E5RMPWZS.js} +6 -6
- package/dist/{sherpa-Z5J5NHCA.js → sherpa-PZFB6QRE.js} +9 -9
- package/dist/{skills-ODN3IYJU.js → skills-4AMSNW3U.js} +8 -8
- package/dist/{skillsUpdateCheck-7TXLIYIU.js → skillsUpdateCheck-FMPVRPJ2.js} +3 -3
- package/dist/{snapshot-K6222U2D.js → snapshot-N3JIF3KN.js} +34 -34
- package/dist/{src-H5SSAHTM.js → src-LPL3NISU.js} +4 -4
- package/dist/{src-MLGLSGCL.js → src-OBVQCCNO.js} +7 -7
- package/dist/{start-LTIHIT5G.js → start-VAVEAA42.js} +17 -17
- package/dist/{staticProjectServer-EGY52C6V.js → staticProjectServer-KKBIEFAQ.js} +16 -16
- package/dist/{status-YWD6DQX6.js → status-WMMWZJR4.js} +10 -10
- package/dist/studio/assets/{codec-DYZ1sJnW.js → codec-DkDSuF26.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BOxJo7Nx.js → hyperframes-player-DqHhPw_M.js} +1 -1
- package/dist/studio/assets/{index-DKEq8iSv.js → index-BeQCqWc3.js} +1 -1
- package/dist/studio/assets/{index-Ccf4_r8m.js → index-Tf9fkNRM.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-B65VVvs_.js → pausedVideoDecoder-CmNTruVA.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-D7V7L446.js → studio-api-MRSPHRP3.js} +8 -8
- package/dist/{studioServer-XJPIOJW7.js → studioServer-VBZYMPMI.js} +46 -46
- package/dist/{sync-AM5KGFYG.js → sync-WTM2VGNV.js} +10 -10
- package/dist/{telemetry-YUVLFEWM.js → telemetry-XH6HM2GM.js} +5 -5
- package/dist/{templates-DHSN2Q2L.js → templates-QIN3YHRE.js} +10 -10
- package/dist/{timeline-KJVZBH33.js → timeline-TASNQMKL.js} +16 -16
- package/dist/{tokens-RGIF4GRS.js → tokens-BROTCLH4.js} +2 -2
- package/dist/{transcribe-6RLTFWPI.js → transcribe-BXGVSXD4.js} +8 -8
- package/dist/{transcribe-TFLNFVC2.js → transcribe-X2KMHAYJ.js} +21 -21
- package/dist/{update-NTEFXNIO.js → update-BVAZOPFL.js} +9 -9
- package/dist/{updateCheck-7H6DHZDB.js → updateCheck-LVXDS36Z.js} +2 -2
- package/dist/{upgrade-V4FNM3PE.js → upgrade-A34X4BHN.js} +3 -3
- package/dist/{urlDownloader-X7GYEASD.js → urlDownloader-EIV6N7BL.js} +4 -4
- package/dist/{validate-5JBXRY3Y.js → validate-PUSI5TDW.js} +22 -22
- package/dist/{video-7VNXU3D4.js → video-U2IL2IAE.js} +6 -6
- package/dist/{voices-FNF5GRYK.js → voices-URE43KUH.js} +17 -17
- package/dist/warmCheck.js +36 -36
- package/package.json +1 -1
- package/dist/chunk-UYZFQW63.js +0 -5035
package/dist/studio/assets/{pausedVideoDecoder-B65VVvs_.js → pausedVideoDecoder-CmNTruVA.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as V}from"./index-
|
|
1
|
+
import{l as V}from"./index-Tf9fkNRM.js";import{bw as G,bN as K,cH as Q,bE as X}from"./codec-DkDSuF26.js";const x=1e-5,k=1e-9,T=h=>!h.variableFrameRate&&(h.frameRate??0)>0;function Y(h,i){const{sourceLead:r,inputLead:l,timeResolution:w,frameRate:p=0}=i;if(!T(i))return Math.max(l,h-r+l)+k;const d=Math.max(0,Math.floor((h-r)*p+k)),f=l+d/p;return(w>0?Math.round(f*w)/w:f)+x}function J(h,i,r){const{frameRate:l=0,sourceLead:w,inputLead:p}=r,d=T(r)?Math.round((h-p)*l)/l+w:h-p+w,f=Math.min(i,d);return{timestamp:f,duration:Math.max(T(r)?1/l:0,i-f+x)}}const E=64*1024*1024,M=4,Z=.5,$=2e3;async function q(h,i){if(!h.transparent)return h.sink.getSample(i);let r=null;try{for await(const l of h.sink.samplesAtTimestamps([i]))r==null||r.close(),r=l;return r}catch(l){throw r==null||r.close(),l}}function ot(h){const i=new Map,r=new Map,l=new Map,w=new Map,p=new Map;let d=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(([s])=>e.endsWith(s)).sort(([s],[a])=>a.length-s.length)[0])==null?void 0:n[1]},g=(t=E)=>{for(const[e,o]of p){if(d<=t)break;e.pins>0||(p.delete(e),o.cache.delete(e.timestamp),d-=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),d-=o.bytes,o.image.close();t.cache.clear(),t.canvas.width=t.canvas.height=0})();return t.transparent?new Promise((o,n)=>{const s=setTimeout(()=>{t.cancelReads(),o()},$);e.then(o,n).finally(()=>clearTimeout(s))}):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&&(i.delete(t.key),v(t))},1e4))},D=async t=>{const e=V("thumbnail"),o=new G({source:new Q(t,e),formats:K});l.set(o,e.cancelReads);try{const n=await o.getPrimaryVideoTrack();if(!n||f)throw new Error("Preview video unavailable");const[s,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()]),b=document.createElement("canvas");b.width=Math.max(1,Math.ceil(s));const z=F%180===0?m/S:S/m;return b.height=Math.max(1,Math.round(b.width/z)),{key:t,input:o,cancelReads:e.cancelReads,sink:new X(n),canvas:b,rotation:F,flip:B,width:s,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 i){if(i.size<M)break;const e=r.get(t);e&&e.users===0&&![...e.cache.values()].some(o=>o.pins>0)&&(i.delete(t),v(e))}if(i.size>=M)throw new Error("Preview decoder budget reached")},L=async t=>{const e=t;if((w.get(e)??0)>performance.now())throw new Error("Preview decoder cooling down");let o=i.get(e);o||(I(),o=D(t),i.set(e,o)),i.delete(e),i.set(e,o);let n;try{n=await o}catch(s){throw i.get(e)===o&&(i.delete(e),w.set(e,performance.now()+5e3)),s}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 s=n.value;let a=!1;try{if(R(t,o),s.timestamp>e+1e-6)return null;if(a=s.timestamp+s.duration>e+1e-6,a)return s}finally{a||s.close()}}},A=(t,e)=>(e.pins++,p.delete(e),p.set(e,t),e),W=async(t,e,o,n,s)=>{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(s.aborted||f||t.disposed)throw u.close(),s.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(g(E-c.bytes),d+c.bytes>E)throw u.close(),new Error("Preview frame budget reached");return t.cache.set(c.timestamp,c),p.set(c,t),d+=c.bytes,c},H=(t,e,o)=>!t.transparent&&!o.variableFrameRate&&(o.frameRate??0)>0&&e>t.lastTime+1e-6&&e-t.lastTime<=Z,N=async(t,e,o,n)=>{R(t,n);const s=[...t.cache.values()].find(m=>e>=m.timestamp-1e-6&&e<m.timestamp+m.duration-1e-6);if(s)return A(t,s);const a=Y(e,o),u=H(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(()=>{})}},U=(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}},C=async(t,e)=>{e.throwIfAborted();const o=t.source;if(!o)throw new Error("Preview source unavailable");const n=await L(o);try{const s=U(t,n),a=n.tail.then(()=>N(n,t.time,s,e));n.tail=a.then(()=>{},()=>{});const u=await a;let c=!1;return g(),{source:u.image,timestamp:u.timestamp,duration:u.duration,width:n.width,height:n.height,release(){c||(c=!0,u.pins--,g(),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=>C(a,e))),n=o.find(a=>a.status==="rejected"),s=o.flatMap(a=>a.status==="fulfilled"?[a.value]:[]);if(n||f||e.aborted){for(const a of s)a.release();throw n?n.reason:new DOMException("Preview cancelled","AbortError")}return s},async suspend(){const t=[...i.values()].map(e=>e.then(v).catch(()=>{}));i.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 i.values())t.then(v).catch(()=>{});i.clear(),w.clear()}}}}export{ot as createPausedVideoDecoder};
|
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-Tf9fkNRM.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-dsfjBidg.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
stampProjectHfIds,
|
|
24
24
|
stampProjectHfIdsAsync,
|
|
25
25
|
thumbnailDeviceScaleFactor
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-D6AC6N7X.js";
|
|
27
27
|
import {
|
|
28
28
|
dedupeClonedCompositionId,
|
|
29
29
|
findTargetElement,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
patchElementInHtml,
|
|
32
32
|
removeElementFromHtml,
|
|
33
33
|
splitElementInHtml
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FEHGZTE5.js";
|
|
35
35
|
import {
|
|
36
36
|
requestSubPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MCDUWW36.js";
|
|
38
38
|
import "./chunk-6FDVPIOO.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_HISTORY_ROOT,
|
|
@@ -75,8 +75,8 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
CACHE_DIR_NAME,
|
|
77
77
|
cleanupProxyCache
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-BVOTSOAS.js";
|
|
79
|
+
import "./chunk-2GHQMVYE.js";
|
|
80
80
|
import {
|
|
81
81
|
STUDIO_MOTION_PATH,
|
|
82
82
|
createStudioMotionRenderBodyScript,
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
import "./chunk-ZB2XGJSP.js";
|
|
97
97
|
import "./chunk-5S7W3TUO.js";
|
|
98
98
|
import "./chunk-D3MUHMFG.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-T6QQOGLJ.js";
|
|
100
100
|
import "./chunk-YWRUQ7XZ.js";
|
|
101
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-ANURCSEW.js";
|
|
102
102
|
import "./chunk-FXMKHHPO.js";
|
|
103
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-OQXVY3HI.js";
|
|
104
104
|
import "./chunk-VC76R6W2.js";
|
|
105
105
|
import {
|
|
106
106
|
isSafePath
|
|
@@ -8,37 +8,37 @@ import {
|
|
|
8
8
|
renderJobObservabilityTelemetryPayload,
|
|
9
9
|
renderObservabilityTelemetryPayload,
|
|
10
10
|
startRenderCpuSampler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QV3RFTLC.js";
|
|
12
12
|
import {
|
|
13
13
|
HANDOFF_READY,
|
|
14
14
|
desktopDownloadUrl,
|
|
15
15
|
desktopInstalled,
|
|
16
16
|
insideHostApp,
|
|
17
17
|
openInDesktop
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CS7DHCRZ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveRenderBrowser
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FPQAQS64.js";
|
|
22
22
|
import "./chunk-CXUT4XVT.js";
|
|
23
23
|
import {
|
|
24
24
|
loadSharpInBackground
|
|
25
25
|
} from "./chunk-NL4RCLQF.js";
|
|
26
26
|
import "./chunk-6BEFEWFB.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-7GILET6T.js";
|
|
28
28
|
import "./chunk-X7MTZ4T2.js";
|
|
29
29
|
import {
|
|
30
30
|
seekCompositionTimeline
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LXFCCGHN.js";
|
|
32
32
|
import {
|
|
33
33
|
GSAP_VENDOR_FILES,
|
|
34
34
|
readBundleFile,
|
|
35
35
|
resolveGsapVendorDir
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-M2PGYJG3.js";
|
|
37
37
|
import "./chunk-262C25DQ.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-2VW2MOD2.js";
|
|
39
|
+
import "./chunk-DEU4JCIF.js";
|
|
40
40
|
import "./chunk-YGGZ23BB.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-RT6MI3TZ.js";
|
|
42
42
|
import {
|
|
43
43
|
PREVIEW_BUNDLE_OPTIONS,
|
|
44
44
|
affectsPreview,
|
|
@@ -50,9 +50,9 @@ import {
|
|
|
50
50
|
getElementScreenshotClip,
|
|
51
51
|
getMimeType,
|
|
52
52
|
thumbnailDeviceScaleFactor
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-D6AC6N7X.js";
|
|
54
|
+
import "./chunk-FEHGZTE5.js";
|
|
55
|
+
import "./chunk-MCDUWW36.js";
|
|
56
56
|
import "./chunk-6FDVPIOO.js";
|
|
57
57
|
import {
|
|
58
58
|
DEFAULT_HISTORY_ROOT,
|
|
@@ -67,20 +67,20 @@ import {
|
|
|
67
67
|
identifyFileWrite,
|
|
68
68
|
openProjectHistory
|
|
69
69
|
} from "./chunk-US2SO6O4.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-BVOTSOAS.js";
|
|
71
|
+
import "./chunk-2GHQMVYE.js";
|
|
72
72
|
import "./chunk-ALVXFXUG.js";
|
|
73
73
|
import "./chunk-W4DMQZL5.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-UHOZCI3W.js";
|
|
75
75
|
import "./chunk-M3JU24AI.js";
|
|
76
76
|
import {
|
|
77
77
|
resolveCaptureBrowserGpuMode,
|
|
78
78
|
resolveLocalBrowserGpuMode,
|
|
79
79
|
resolveLocalWebGpu
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-4FUWA4QW.js";
|
|
81
81
|
import {
|
|
82
82
|
resolveAutoProxy
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-W6PKKBDA.js";
|
|
84
84
|
import "./chunk-XT7X6QCP.js";
|
|
85
85
|
import "./chunk-5YPMCCCA.js";
|
|
86
86
|
import {
|
|
@@ -88,10 +88,10 @@ import {
|
|
|
88
88
|
replaceFileAtomically
|
|
89
89
|
} from "./chunk-A4ZTSQLW.js";
|
|
90
90
|
import "./chunk-HVW7ABXD.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-7TMYYSPM.js";
|
|
92
92
|
import "./chunk-JHOCK3DG.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-JNU4OO4L.js";
|
|
94
|
+
import "./chunk-Z6XLJVZW.js";
|
|
95
95
|
import "./chunk-AWDFDFI3.js";
|
|
96
96
|
import "./chunk-P6LJ4Y32.js";
|
|
97
97
|
import "./chunk-D3UCUI7G.js";
|
|
@@ -100,12 +100,12 @@ import {
|
|
|
100
100
|
renderMotionBlurTelemetryPayload,
|
|
101
101
|
trackRenderComplete,
|
|
102
102
|
trackRenderError
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-DL7R6DWU.js";
|
|
104
104
|
import {
|
|
105
105
|
canaryDecisionsForStudio,
|
|
106
106
|
resetTelemetryPostureCache,
|
|
107
107
|
shouldTrack
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-32VBJHBI.js";
|
|
109
109
|
import "./chunk-PXVQOMKL.js";
|
|
110
110
|
import "./chunk-MCDNAIFF.js";
|
|
111
111
|
import "./chunk-LP7B3JLC.js";
|
|
@@ -123,19 +123,19 @@ import "./chunk-ZB2XGJSP.js";
|
|
|
123
123
|
import {
|
|
124
124
|
assertWebGpuAdapterAvailable,
|
|
125
125
|
compositionRequiresWebGpu
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-2L6V6535.js";
|
|
127
127
|
import "./chunk-Z5J67X44.js";
|
|
128
128
|
import "./chunk-5S7W3TUO.js";
|
|
129
129
|
import "./chunk-D3MUHMFG.js";
|
|
130
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-T6QQOGLJ.js";
|
|
131
131
|
import "./chunk-YWRUQ7XZ.js";
|
|
132
132
|
import "./chunk-3GXQPCJC.js";
|
|
133
133
|
import {
|
|
134
134
|
GSAP_CDN_VERSION,
|
|
135
135
|
fpsToNumber
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-ANURCSEW.js";
|
|
137
137
|
import "./chunk-FXMKHHPO.js";
|
|
138
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-OQXVY3HI.js";
|
|
139
139
|
import "./chunk-VC76R6W2.js";
|
|
140
140
|
import {
|
|
141
141
|
realpath
|
|
@@ -181,7 +181,7 @@ import "./chunk-FYZFURBN.js";
|
|
|
181
181
|
import "./chunk-QBXDU24O.js";
|
|
182
182
|
import {
|
|
183
183
|
VERSION
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-TXMXWJNZ.js";
|
|
185
185
|
import "./chunk-E63BDV4Z.js";
|
|
186
186
|
import {
|
|
187
187
|
detectAgentRuntime
|
|
@@ -356,7 +356,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
356
356
|
async function buildFromSource() {
|
|
357
357
|
if (!existsSync(ENTRY_TS)) return null;
|
|
358
358
|
try {
|
|
359
|
-
const mod = await import("./dist-
|
|
359
|
+
const mod = await import("./dist-G6COMUG7.js");
|
|
360
360
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
361
361
|
const source = mod.loadHyperframeRuntimeSource();
|
|
362
362
|
if (source) return source;
|
|
@@ -367,7 +367,7 @@ async function buildFromSource() {
|
|
|
367
367
|
}
|
|
368
368
|
async function getInlinedRuntime() {
|
|
369
369
|
try {
|
|
370
|
-
const mod = await import("./dist-
|
|
370
|
+
const mod = await import("./dist-G6COMUG7.js");
|
|
371
371
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
372
372
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
373
373
|
}
|
|
@@ -733,13 +733,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
733
733
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
734
734
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
735
735
|
async function loadStudioProducer() {
|
|
736
|
-
if (!isDevMode()) return await import("./src-
|
|
736
|
+
if (!isDevMode()) return await import("./src-OBVQCCNO.js");
|
|
737
737
|
if (!process.versions.bun) {
|
|
738
738
|
throw new Error(
|
|
739
739
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
740
740
|
);
|
|
741
741
|
}
|
|
742
|
-
return await import("./src-
|
|
742
|
+
return await import("./src-OBVQCCNO.js");
|
|
743
743
|
}
|
|
744
744
|
function resolveDistDir() {
|
|
745
745
|
return resolveStudioBundle().dir;
|
|
@@ -855,7 +855,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
855
855
|
try {
|
|
856
856
|
if (isShuttingDown()) return null;
|
|
857
857
|
const { ensureBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
858
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
858
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-LPL3NISU.js");
|
|
859
859
|
let executablePath;
|
|
860
860
|
try {
|
|
861
861
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1030,7 +1030,7 @@ function createStudioServer(options) {
|
|
|
1030
1030
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1031
1031
|
async bundle(dir, options2) {
|
|
1032
1032
|
try {
|
|
1033
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1033
|
+
const { bundleToSingleHtml } = await import("./compiler-RWPIYAIS.js");
|
|
1034
1034
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1035
1035
|
html = html.replace(
|
|
1036
1036
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1044,9 +1044,9 @@ function createStudioServer(options) {
|
|
|
1044
1044
|
},
|
|
1045
1045
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1046
1046
|
const { injectDeterministicFontFaces } = await import("./deterministicFonts-IXXU76SA.js");
|
|
1047
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1048
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1049
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1047
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-QHKEBSEG.js");
|
|
1048
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-D7YHH6FO.js");
|
|
1049
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-EIV6N7BL.js");
|
|
1050
1050
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1051
1051
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1052
1052
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1210,7 +1210,7 @@ function createStudioServer(options) {
|
|
|
1210
1210
|
startBackgroundRemoval(opts) {
|
|
1211
1211
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1212
1212
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1213
|
-
const pipeline = await import("./pipeline-
|
|
1213
|
+
const pipeline = await import("./pipeline-OPKQDBOS.js").catch(
|
|
1214
1214
|
() => import(sourcePipelinePath)
|
|
1215
1215
|
);
|
|
1216
1216
|
return pipeline.render(renderOpts);
|
|
@@ -1295,8 +1295,8 @@ function createStudioServer(options) {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
1297
|
async listRegistryCatalog() {
|
|
1298
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1299
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1298
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-TLZQ7CQV.js");
|
|
1299
|
+
const { loadProjectConfig } = await import("./projectConfig-L7F2OHVX.js");
|
|
1300
1300
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1301
1301
|
const entries = await listRegistryItems(void 0, registry);
|
|
1302
1302
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1305,9 +1305,9 @@ function createStudioServer(options) {
|
|
|
1305
1305
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1306
1306
|
},
|
|
1307
1307
|
async installRegistryBlock(opts) {
|
|
1308
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1309
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1310
|
-
const { registryTargetPath } = await import("./publication-
|
|
1308
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-FIQ7X2UM.js");
|
|
1309
|
+
const { recordRewrittenInstall } = await import("./installer-JTF7JFPQ.js");
|
|
1310
|
+
const { registryTargetPath } = await import("./publication-MUEYZCG5.js");
|
|
1311
1311
|
const { result, item } = await addToProject({
|
|
1312
1312
|
name: opts.blockName,
|
|
1313
1313
|
projectDir: opts.project.dir,
|
|
@@ -1411,8 +1411,8 @@ function createStudioServer(options) {
|
|
|
1411
1411
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1412
1412
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1413
1413
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1414
|
-
import("./preflight-
|
|
1415
|
-
import("./ffmpeg-
|
|
1414
|
+
import("./preflight-LFUR4JRE.js"),
|
|
1415
|
+
import("./ffmpeg-CJZTY5IK.js")
|
|
1416
1416
|
]);
|
|
1417
1417
|
const { outcomes } = await runEnvironmentChecks();
|
|
1418
1418
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1431,7 +1431,7 @@ function createStudioServer(options) {
|
|
|
1431
1431
|
mountDesktopRoutes(app, projectDir);
|
|
1432
1432
|
let cachedFFmpegPath;
|
|
1433
1433
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1434
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1434
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-CJZTY5IK.js");
|
|
1435
1435
|
if (!cachedFFmpegPath) {
|
|
1436
1436
|
cachedFFmpegPath = findFFmpeg();
|
|
1437
1437
|
}
|
|
@@ -1547,7 +1547,7 @@ function createStudioServer(options) {
|
|
|
1547
1547
|
});
|
|
1548
1548
|
const renders = [...inFlightRenders];
|
|
1549
1549
|
for (const [abortController] of renders) abortController.abort();
|
|
1550
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1550
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-LPL3NISU.js");
|
|
1551
1551
|
killTrackedProcesses();
|
|
1552
1552
|
const closeBrowsers = Promise.allSettled([
|
|
1553
1553
|
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-3LC6GDR7.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -15,26 +15,26 @@ import {
|
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg,
|
|
17
17
|
window
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y24YPVDN.js";
|
|
19
19
|
import {
|
|
20
20
|
Fix
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-XZJ7A6YM.js";
|
|
22
|
+
import "./chunk-7GILET6T.js";
|
|
23
23
|
import {
|
|
24
24
|
defineCommand
|
|
25
25
|
} from "./chunk-DL4OD7IA.js";
|
|
26
26
|
import "./chunk-S3S4TGEH.js";
|
|
27
27
|
import "./chunk-HOCC4J5C.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-2L6V6535.js";
|
|
29
29
|
import "./chunk-Z5J67X44.js";
|
|
30
30
|
import "./chunk-5S7W3TUO.js";
|
|
31
31
|
import "./chunk-D3MUHMFG.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-T6QQOGLJ.js";
|
|
33
33
|
import "./chunk-YWRUQ7XZ.js";
|
|
34
34
|
import "./chunk-3GXQPCJC.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ANURCSEW.js";
|
|
36
36
|
import "./chunk-FXMKHHPO.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-OQXVY3HI.js";
|
|
38
38
|
import "./chunk-VC76R6W2.js";
|
|
39
39
|
import "./chunk-OFQWTKPW.js";
|
|
40
40
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-2RY2LWAA.js";
|
|
|
55
55
|
import "./chunk-WC4MTXGN.js";
|
|
56
56
|
import "./chunk-EPQC3FGZ.js";
|
|
57
57
|
import "./chunk-JOQR4AP6.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-Z3PD7V6K.js";
|
|
59
59
|
import "./chunk-BR2JQQC5.js";
|
|
60
60
|
import "./chunk-CMQZP52Y.js";
|
|
61
61
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
65
|
import "./chunk-FYZFURBN.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-TXMXWJNZ.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-G7VEYUZ2.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DL7R6DWU.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-32VBJHBI.js";
|
|
28
28
|
import "./chunk-PXVQOMKL.js";
|
|
29
29
|
import "./chunk-MCDNAIFF.js";
|
|
30
30
|
import "./chunk-LP7B3JLC.js";
|
|
31
31
|
import "./chunk-54HJ63Q2.js";
|
|
32
32
|
import "./chunk-HOCC4J5C.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-ANURCSEW.js";
|
|
34
34
|
import "./chunk-FXMKHHPO.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-OQXVY3HI.js";
|
|
36
36
|
import "./chunk-VC76R6W2.js";
|
|
37
37
|
import "./chunk-OFQWTKPW.js";
|
|
38
38
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
65
|
import "./chunk-FYZFURBN.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-TXMXWJNZ.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-G7VEYUZ2.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
} from "./chunk-3S27CPV7.js";
|
|
10
10
|
import {
|
|
11
11
|
billingBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GXYGI5FG.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCloudAuthHeaders
|
|
15
15
|
} from "./chunk-H6676SHA.js";
|
|
16
16
|
import "./chunk-KBHBSWEE.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-W6PKKBDA.js";
|
|
18
18
|
import "./chunk-XT7X6QCP.js";
|
|
19
19
|
import "./chunk-5YPMCCCA.js";
|
|
20
20
|
import "./chunk-A4ZTSQLW.js";
|
|
21
21
|
import "./chunk-HVW7ABXD.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7TMYYSPM.js";
|
|
23
23
|
import "./chunk-JHOCK3DG.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-JNU4OO4L.js";
|
|
25
|
+
import "./chunk-Z6XLJVZW.js";
|
|
26
26
|
import "./chunk-AWDFDFI3.js";
|
|
27
27
|
import "./chunk-P6LJ4Y32.js";
|
|
28
28
|
import {
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
fetchExplained
|
|
31
31
|
} from "./chunk-D3UCUI7G.js";
|
|
32
32
|
import "./chunk-T2WJO4XM.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-DL7R6DWU.js";
|
|
34
|
+
import "./chunk-32VBJHBI.js";
|
|
35
35
|
import "./chunk-PXVQOMKL.js";
|
|
36
36
|
import "./chunk-MCDNAIFF.js";
|
|
37
37
|
import "./chunk-LP7B3JLC.js";
|
|
@@ -45,9 +45,9 @@ import {
|
|
|
45
45
|
c
|
|
46
46
|
} from "./chunk-HOCC4J5C.js";
|
|
47
47
|
import "./chunk-YWRUQ7XZ.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-ANURCSEW.js";
|
|
49
49
|
import "./chunk-FXMKHHPO.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-OQXVY3HI.js";
|
|
51
51
|
import "./chunk-VC76R6W2.js";
|
|
52
52
|
import "./chunk-OFQWTKPW.js";
|
|
53
53
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-66W5IWLO.js";
|
|
76
76
|
import "./chunk-FYZFURBN.js";
|
|
77
77
|
import "./chunk-QBXDU24O.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-TXMXWJNZ.js";
|
|
79
79
|
import "./chunk-E63BDV4Z.js";
|
|
80
80
|
import "./chunk-G7VEYUZ2.js";
|
|
81
81
|
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-ZZFYEYKR.js";
|
|
11
11
|
import "./chunk-LLMSX6V6.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureDOMParser
|
|
@@ -18,26 +18,26 @@ import {
|
|
|
18
18
|
import "./chunk-K4WKGXRC.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DIWUWYQZ.js";
|
|
22
22
|
import {
|
|
23
23
|
readCompositionFps
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DEU4JCIF.js";
|
|
25
25
|
import {
|
|
26
26
|
applyFileMutations,
|
|
27
27
|
duplicateElementInHtml
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-D6AC6N7X.js";
|
|
29
29
|
import {
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-FEHGZTE5.js";
|
|
34
|
+
import "./chunk-MCDUWW36.js";
|
|
35
35
|
import "./chunk-6FDVPIOO.js";
|
|
36
36
|
import {
|
|
37
37
|
fileContentVersion
|
|
38
38
|
} from "./chunk-US2SO6O4.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-BVOTSOAS.js";
|
|
40
|
+
import "./chunk-2GHQMVYE.js";
|
|
41
41
|
import "./chunk-ALVXFXUG.js";
|
|
42
42
|
import "./chunk-W4DMQZL5.js";
|
|
43
43
|
import "./chunk-M3JU24AI.js";
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
readJsonStdinText
|
|
47
47
|
} from "./chunk-EHZESMRB.js";
|
|
48
48
|
import "./chunk-A4ZTSQLW.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-DL7R6DWU.js";
|
|
50
|
+
import "./chunk-32VBJHBI.js";
|
|
51
51
|
import "./chunk-PXVQOMKL.js";
|
|
52
52
|
import "./chunk-MCDNAIFF.js";
|
|
53
53
|
import "./chunk-LP7B3JLC.js";
|
|
@@ -64,21 +64,21 @@ import "./chunk-HOCC4J5C.js";
|
|
|
64
64
|
import "./chunk-VEIGTKYZ.js";
|
|
65
65
|
import "./chunk-EVMY7IPL.js";
|
|
66
66
|
import "./chunk-ZB2XGJSP.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-2L6V6535.js";
|
|
68
68
|
import "./chunk-Z5J67X44.js";
|
|
69
69
|
import "./chunk-5S7W3TUO.js";
|
|
70
70
|
import "./chunk-D3MUHMFG.js";
|
|
71
71
|
import {
|
|
72
72
|
ensureHfIds
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-T6QQOGLJ.js";
|
|
74
74
|
import "./chunk-YWRUQ7XZ.js";
|
|
75
75
|
import "./chunk-3GXQPCJC.js";
|
|
76
76
|
import {
|
|
77
77
|
fpsToNumber,
|
|
78
78
|
parseFpsWithDefault
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ANURCSEW.js";
|
|
80
80
|
import "./chunk-FXMKHHPO.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-OQXVY3HI.js";
|
|
82
82
|
import "./chunk-VC76R6W2.js";
|
|
83
83
|
import "./chunk-OFQWTKPW.js";
|
|
84
84
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -104,7 +104,7 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
104
104
|
import "./chunk-JOQR4AP6.js";
|
|
105
105
|
import {
|
|
106
106
|
withMeta
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-Z3PD7V6K.js";
|
|
108
108
|
import "./chunk-BR2JQQC5.js";
|
|
109
109
|
import "./chunk-CMQZP52Y.js";
|
|
110
110
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
} from "./chunk-66W5IWLO.js";
|
|
118
118
|
import "./chunk-FYZFURBN.js";
|
|
119
119
|
import "./chunk-QBXDU24O.js";
|
|
120
|
-
import "./chunk-
|
|
120
|
+
import "./chunk-TXMXWJNZ.js";
|
|
121
121
|
import "./chunk-E63BDV4Z.js";
|
|
122
122
|
import "./chunk-G7VEYUZ2.js";
|
|
123
123
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FQOOOFTF.js";
|
|
15
15
|
import "./chunk-M3JU24AI.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-XH6HM2GM.js");
|
|
87
87
|
trackFigmaImport({
|
|
88
88
|
phase: "tokens",
|
|
89
89
|
tokensMode: result.mode,
|