hyperframes 0.9.45 → 0.9.46
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-YPU2EV5O.js → add-3FQLHIZ6.js} +12 -12
- package/dist/{agentPromptGenerator-O7EAXSHZ.js → agentPromptGenerator-Y4WVIS7O.js} +4 -4
- package/dist/{animatedGifPrep-HXJJESKY.js → animatedGifPrep-6IFABDM3.js} +3 -3
- package/dist/api.js +27 -27
- package/dist/{appHistory-EAQ52L6X.js → appHistory-LZCGD54D.js} +2 -2
- package/dist/{asset-VNFRXZY5.js → asset-KPQAHAZ7.js} +2 -2
- package/dist/{assetCataloger-EALOGJOW.js → assetCataloger-3FGGZTTX.js} +5 -5
- package/dist/{audio-BWI7YJ34.js → audio-7RADC3X7.js} +9 -9
- package/dist/{auth-VZOUEEAD.js → auth-CHHUN4IL.js} +2 -2
- package/dist/{autoUpdate-Y4HG3PTQ.js → autoUpdate-H72HIWTL.js} +2 -2
- package/dist/{avatars-AB3OH25Q.js → avatars-XLQOPLVQ.js} +7 -7
- package/dist/{backgroundChecks-5GNMIDQR.js → backgroundChecks-ACOSRT3C.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-2ZDHRMF2.js → beats-RZQQEVK3.js} +4 -4
- package/dist/{benchmark-SEYHSMS3.js → benchmark-PJ6P5PI7.js} +6 -6
- package/dist/{billing-BNZPIIZS.js → billing-4DCA7C7L.js} +11 -11
- package/dist/{browser-KUMMOQJX.js → browser-CEAT5YF3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-VFTRJ5JK.js → bundleWithLocalizedFonts-U6PRV3XO.js} +1 -1
- package/dist/{capture-TM6OTHOG.js → capture-JRITMVAO.js} +12 -12
- package/dist/{capture-7A7KWYH3.js → capture-KJIHJTDP.js} +4 -4
- package/dist/{captureCompositionFrame-VDH77DSY.js → captureCompositionFrame-TURWWCHG.js} +6 -6
- package/dist/{captureFile-B5SMYIB6.js → captureFile-JFNQEK4R.js} +2 -2
- package/dist/{catalog-BA7QPRWM.js → catalog-W7436LYB.js} +12 -12
- package/dist/{catch-up-MUQYCQFE.js → catch-up-TXDSUZZF.js} +6 -6
- package/dist/{check-LT756XVB.js → check-RF4BU4YS.js} +30 -30
- package/dist/{checkAudio-R5CE2BRH.js → checkAudio-355J7YK4.js} +5 -5
- package/dist/{checkBrowser-TAA7LLDH.js → checkBrowser-K3EFUVEG.js} +23 -23
- package/dist/{chunk-FHANW7O5.js → chunk-37GD3CWK.js} +1 -1
- package/dist/{chunk-NBJEWRY2.js → chunk-37ZR6H7S.js} +5 -5
- package/dist/{chunk-5SK5H4LH.js → chunk-3WASKIY5.js} +1 -1
- package/dist/{chunk-KVLH7SV3.js → chunk-4IU2UP4A.js} +2 -2
- package/dist/{chunk-Z36N4XS4.js → chunk-5BK52ECX.js} +2 -2
- package/dist/{chunk-7I6CD4QB.js → chunk-5TF5KKGF.js} +1 -1
- package/dist/{chunk-GCHJBZH3.js → chunk-5VNF24CQ.js} +8 -8
- package/dist/{chunk-L5NON5XI.js → chunk-6LWG6HAU.js} +8 -8
- package/dist/{chunk-DF5EKSIA.js → chunk-6M2D5R5Q.js} +1 -1
- package/dist/{chunk-WCYMXYSP.js → chunk-6OCZCBLT.js} +3 -3
- package/dist/{chunk-ZBSZZKS3.js → chunk-7HDLRWT6.js} +1 -1
- package/dist/{chunk-GKRNND5K.js → chunk-ACUFGUTH.js} +7 -2
- package/dist/{chunk-BSZP3W4G.js → chunk-AK6PJNCY.js} +4 -4
- package/dist/{chunk-VLVLK2WK.js → chunk-AQQK6BFW.js} +9 -9
- package/dist/{chunk-OPJRCUK5.js → chunk-BN7UITKY.js} +4 -2
- package/dist/{chunk-7QXO3TS4.js → chunk-BR6FHEP5.js} +2 -2
- package/dist/{chunk-KOHGGBWP.js → chunk-BVSG3ZQQ.js} +1 -1
- package/dist/{chunk-RCAHDUZC.js → chunk-C44GJVPH.js} +2 -2
- package/dist/{chunk-ISFDARWG.js → chunk-DIUOG4KA.js} +2 -2
- package/dist/{chunk-QP5QUPDX.js → chunk-EH4AQ3DS.js} +2 -2
- package/dist/{chunk-2OBKBPZ6.js → chunk-EHV6WJDU.js} +2 -2
- package/dist/{chunk-GQDHE5GW.js → chunk-EOO255GS.js} +7 -7
- package/dist/{chunk-MAB6IFYY.js → chunk-EYAHZIYQ.js} +1 -1
- package/dist/{chunk-4JR7EGPB.js → chunk-EZXMEROT.js} +1 -1
- package/dist/{chunk-27NPHYSD.js → chunk-F3TMSCSZ.js} +2 -2
- package/dist/{chunk-KEG4N4E2.js → chunk-FKHIDW46.js} +4 -4
- package/dist/{chunk-Q3AMO2SN.js → chunk-FZUM2FWY.js} +3 -3
- package/dist/{chunk-SI5EZFPE.js → chunk-GCI34AB3.js} +1 -1
- package/dist/{chunk-DVYFSNTN.js → chunk-GHQ2B7CB.js} +1 -1
- package/dist/{chunk-MBOCWE3P.js → chunk-GTA7W75W.js} +10 -0
- package/dist/{chunk-JXFEEIU4.js → chunk-GUVBME3S.js} +1 -1
- package/dist/{chunk-5O7QUHR5.js → chunk-HC5D2SDF.js} +1 -1
- package/dist/{chunk-EUB2PYYJ.js → chunk-HGLLFTCP.js} +1 -1
- package/dist/{chunk-Z3VRBEMB.js → chunk-HMEMBYTA.js} +12 -12
- package/dist/{chunk-5UNTR3PT.js → chunk-HMPPBQUY.js} +2 -2
- package/dist/{chunk-GJSXHP3K.js → chunk-IR4JEH5Q.js} +2 -2
- package/dist/{chunk-AKGTRCVP.js → chunk-ISPEHDUQ.js} +1 -1
- package/dist/{chunk-PXUR442C.js → chunk-IT2YDRMD.js} +1 -1
- package/dist/{chunk-4P626SFJ.js → chunk-J5ZACODW.js} +2 -2
- package/dist/{chunk-47IOECPN.js → chunk-JL45V2DZ.js} +1 -1
- package/dist/{chunk-I6IFBQTC.js → chunk-JRDSR3YU.js} +1 -1
- package/dist/{chunk-BZYDU2VT.js → chunk-KDA3LTQU.js} +3 -3
- package/dist/{chunk-QVI24QKB.js → chunk-KH2HGTPT.js} +1 -1
- package/dist/{chunk-SFXUWXVE.js → chunk-LHSVECRX.js} +2 -2
- package/dist/{chunk-5ACNK6RD.js → chunk-LK2GOIB7.js} +1 -1
- package/dist/{chunk-P6HIXKAQ.js → chunk-LRHW62CP.js} +8 -8
- package/dist/{chunk-TD3EUNTN.js → chunk-M3NFK4OF.js} +1 -1
- package/dist/{chunk-WMSRUOYN.js → chunk-MKXMXMRH.js} +6 -6
- package/dist/{chunk-EQY5ITMK.js → chunk-MNQ2N4YH.js} +2 -2
- package/dist/{chunk-7IE5T6OT.js → chunk-MZZN4RLK.js} +2 -2
- package/dist/{chunk-3MIL5QWL.js → chunk-NN267VD6.js} +2 -2
- package/dist/{chunk-R2WSTO26.js → chunk-NRNZJELI.js} +1 -1
- package/dist/{chunk-RU432VM5.js → chunk-ONLHSDFK.js} +5 -5
- package/dist/{chunk-S7YH3IQH.js → chunk-ORKXVTJI.js} +3 -3
- package/dist/{chunk-FG3PH5TF.js → chunk-OYUASBFR.js} +1 -1
- package/dist/{chunk-5ZBDI4UE.js → chunk-P4JJRVSY.js} +2 -2
- package/dist/{chunk-R647EQLT.js → chunk-PE7IEERM.js} +1 -1
- package/dist/{chunk-FATRK6W5.js → chunk-PHEXH35X.js} +1 -1
- package/dist/{chunk-DMB5REF3.js → chunk-PYXBD4ZH.js} +1 -1
- package/dist/{chunk-2BLORYMZ.js → chunk-QPI4PPHA.js} +2 -2
- package/dist/{chunk-SJQKYI3P.js → chunk-QYAZSX4L.js} +1 -1
- package/dist/{chunk-4YIENZMZ.js → chunk-R2SL4STW.js} +2 -2
- package/dist/{chunk-LZA2BSZ7.js → chunk-RHB37MXS.js} +3 -3
- package/dist/{chunk-4OBVCIE6.js → chunk-RK5KGIYX.js} +1 -1
- package/dist/{chunk-64NDDR4G.js → chunk-RWHVILFO.js} +6 -6
- package/dist/{chunk-G4KNTGAC.js → chunk-S4PA46LO.js} +1 -1
- package/dist/{chunk-NM64SXXM.js → chunk-S54GG7OD.js} +3 -3
- package/dist/{chunk-F3XIVMDU.js → chunk-SLNSV3HI.js} +1 -1
- package/dist/{chunk-JUNSRWYS.js → chunk-THKMCTAA.js} +1 -1
- package/dist/{chunk-7VBNAOFZ.js → chunk-TMGMUL3J.js} +1 -1
- package/dist/{chunk-3O2EWF6Z.js → chunk-TZRMV44S.js} +2 -2
- package/dist/{chunk-DL3DMPOF.js → chunk-UGT4SXWS.js} +6 -3
- package/dist/{chunk-M7ONQVZA.js → chunk-V3TXAAMF.js} +1 -1
- package/dist/{chunk-TPZXVFZM.js → chunk-VC4R6DPZ.js} +3 -3
- package/dist/{chunk-RZ62FH4H.js → chunk-VN2BQZSL.js} +4 -4
- package/dist/{chunk-4QGHNJHX.js → chunk-VNEVQU4Y.js} +3 -3
- package/dist/{chunk-JSYN76WB.js → chunk-VS5SC7OM.js} +2 -2
- package/dist/{chunk-ZBM6F3B4.js → chunk-VVQQJIRX.js} +2 -2
- package/dist/{chunk-6X4LDJ4O.js → chunk-WH6EXEDN.js} +1 -1
- package/dist/{chunk-2DNHC44G.js → chunk-WKD5W3TN.js} +4 -4
- package/dist/{chunk-CZXW4CFS.js → chunk-WOG6H6QL.js} +2 -2
- package/dist/{chunk-YSYPHSWK.js → chunk-X3EWYERU.js} +1 -1
- package/dist/{chunk-QAB7H2A2.js → chunk-Y3NV4IJX.js} +1 -1
- package/dist/{chunk-CIWBZAS4.js → chunk-Y7V4GGFQ.js} +1 -1
- package/dist/{chunk-E6XP5M6N.js → chunk-ZEPP4IYU.js} +1 -1
- package/dist/{chunk-7Q234TS5.js → chunk-ZJ6LT2NW.js} +20 -20
- package/dist/{chunk-WTPKBPKY.js → chunk-ZQMS7HXL.js} +1 -1
- package/dist/{clean-F7DGPNLO.js → clean-XEOLR4BJ.js} +10 -10
- package/dist/cli.js +63 -63
- package/dist/{cloud-JIG76GAH.js → cloud-A4HVQUQM.js} +2 -2
- package/dist/{cloud-JK3QB63R.js → cloud-FIUFEYC3.js} +4 -4
- package/dist/{compare-RZ6XE464.js → compare-LRJSRWR3.js} +21 -21
- package/dist/{component-5SAPVS5A.js → component-UB7BMON5.js} +3 -3
- package/dist/{compositions-MYRF2ZIP.js → compositions-E3EDTQ3J.js} +7 -7
- package/dist/{contactSheet-KCB4R2QC.js → contactSheet-2JNX5JCQ.js} +3 -3
- package/dist/{curve-XEPSLISW.js → curve-QLYI5ZTJ.js} +7 -7
- package/dist/{cuts-BAW6E465.js → cuts-Y2XN3NND.js} +8 -8
- package/dist/{delete-2BH2YVVH.js → delete-CJBPT67E.js} +4 -4
- package/dist/{deploy-DJGKP7UX.js → deploy-J2NMEORU.js} +2 -2
- package/dist/{describeProject-S4PDRITZ.js → describeProject-TPF3Z2HR.js} +3 -3
- package/dist/{destroy-AOTDEPWH.js → destroy-ORZHOLMM.js} +2 -2
- package/dist/{deterministicFonts-TEZOZIED.js → deterministicFonts-4JVXQH5F.js} +2 -2
- package/dist/{diff-4VQECT6Y.js → diff-5KBBWVT7.js} +28 -28
- package/dist/{dist-CRZMQQ27.js → dist-UGBEQYQQ.js} +3 -3
- package/dist/{doctor-PGNUW3I3.js → doctor-H2OX6GBM.js} +7 -7
- package/dist/{energy-ZSL2J5PF.js → energy-274ABZCI.js} +8 -8
- package/dist/{events-2YIJI2KG.js → events-3ZG334OJ.js} +3 -3
- package/dist/{events-RKIKPZLO.js → events-72RX4ARF.js} +9 -9
- package/dist/{events-2CCPSWXT.js → events-SDXGCMWR.js} +2 -2
- package/dist/{execute-LPQRLHU7.js → execute-QFAHJM6Q.js} +20 -20
- package/dist/{extract-GYOHALYZ.js → extract-PMFDZHVG.js} +8 -8
- package/dist/{face-JJMIXPKL.js → face-SS3SCFVS.js} +9 -9
- package/dist/{feedback-HXLLCNDZ.js → feedback-GUOORIB3.js} +5 -5
- package/dist/{ffmpeg-ZYJVIBIQ.js → ffmpeg-6OO3GLBM.js} +3 -3
- package/dist/{figma-AF3V62M2.js → figma-7UPOW7FE.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{frames-PQA5CWKV.js → frames-U3YGMMMJ.js} +10 -10
- package/dist/{generate-26FXX7GM.js → generate-AUPHWEEL.js} +19 -19
- package/dist/{get-FU4FNSC5.js → get-A2NZGSFG.js} +4 -4
- package/dist/{gpuPolicy-WMCC5JA6.js → gpuPolicy-W433AKJE.js} +3 -3
- package/dist/{grade-compare-COHZWWR2.js → grade-compare-5C2LRNHQ.js} +20 -20
- package/dist/{heifImagePrep-2YWQXODI.js → heifImagePrep-D446M7WT.js} +4 -4
- package/dist/{help-M6MV2MYQ.js → help-3LV7M6B7.js} +1 -1
- package/dist/{history-USBJ3RRE.js → history-ZQHBWWZE.js} +8 -8
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-X5YT745W.js → info-XQ2IJOMG.js} +9 -9
- package/dist/{init-3EHOBRTG.js → init-ZKRYYGOT.js} +25 -25
- package/dist/{ink-QTRD44Q4.js → ink-A53ZJM3Y.js} +8 -8
- package/dist/{inspect-5PCGGWUH.js → inspect-MQ4EK7IR.js} +21 -21
- package/dist/{installer-R4OLQJLN.js → installer-FC2Z2XXY.js} +4 -4
- package/dist/{keyframes-YYM7T7QG.js → keyframes-B55NHFTC.js} +6 -6
- package/dist/{lambda-VLFWMDG2.js → lambda-2QOMUSG6.js} +5 -5
- package/dist/{layout-M5FCZ2HW.js → layout-7YH7VP7S.js} +21 -21
- package/dist/{lint-6S6IOTML.js → lint-KAJRCNL2.js} +6 -6
- package/dist/{list-6JVKIDMR.js → list-RNSNNZQE.js} +4 -4
- package/dist/{localPage-JCUHUL5O.js → localPage-GJ6C7W53.js} +4 -4
- package/dist/{login-5MYRLW63.js → login-JVPXGRUD.js} +4 -4
- package/dist/{look-2YC2JTOW.js → look-YVXOUUZD.js} +8 -8
- package/dist/{manager-GQ7GVEHY.js → manager-54RABD4L.js} +4 -4
- package/dist/{measure-YUFVQRJN.js → measure-3YFE6T4L.js} +11 -11
- package/dist/{media-treatment-DAT6UUEA.js → media-treatment-JGN2SUZ4.js} +8 -8
- package/dist/{media-use-L2VSONKR.js → media-use-2I2N7TE5.js} +3 -3
- package/dist/{models-LIWRESXV.js → models-QSEJP7DQ.js} +7 -7
- package/dist/{motionShot-QYSCVCE5.js → motionShot-2NLQJU33.js} +8 -8
- package/dist/{normalize-audio-EYG5WB2C.js → normalize-audio-64TH5ILM.js} +4 -4
- package/dist/{open-2CMLIGHD.js → open-64HC2QB2.js} +14 -14
- package/dist/{parakeetRunner-B6HO4KCP.js → parakeetRunner-V7U32IZL.js} +9 -9
- package/dist/{pipeline-IW4SGHDM.js → pipeline-OMPNZQWD.js} +6 -6
- package/dist/{plan-4RVKVJ6Z.js → plan-TFZG6XYY.js} +15 -15
- package/dist/{play-OSVIKZHP.js → play-4UDHK5VX.js} +14 -14
- package/dist/{preflight-LFPUGBT6.js → preflight-4WCKA5GQ.js} +4 -4
- package/dist/{present-FQQMUTIT.js → present-6P7GSOPW.js} +8 -8
- package/dist/{preview-4OQXZO7B.js → preview-BT4WQGVC.js} +18 -18
- package/dist/{probe-CDHB5HB7.js → probe-FH3TBZ4E.js} +8 -8
- package/dist/{producer-6LBQY7LE.js → producer-FSE66NZO.js} +1 -1
- package/dist/{projectConfig-XMUSYXL3.js → projectConfig-UW5YWKWL.js} +7 -7
- package/dist/{publication-R4E4LGFV.js → publication-SHADGLOC.js} +2 -2
- package/dist/{publish-4JIY66L6.js → publish-T3CTDP4X.js} +10 -10
- package/dist/{remove-background-O22ZAZ3N.js → remove-background-O2TPD3D2.js} +7 -7
- package/dist/{render-VTINJG6L.js → render-3CA3HN76.js} +20 -20
- package/dist/{render-YBI7WDRR.js → render-BVHGKYHI.js} +32 -32
- package/dist/{resolver-YMO7VCL6.js → resolver-4XARUMYN.js} +4 -4
- package/dist/{reverse-SCZCNXOM.js → reverse-JFMJXJGH.js} +1 -1
- package/dist/{screenshotCapture-R3VXZICP.js → screenshotCapture-VQHYCPIL.js} +4 -4
- package/dist/{service-EQC6ENN3.js → service-EUTTPCZS.js} +7 -7
- package/dist/{share-GJV6KVVX.js → share-2B4TPNAM.js} +10 -10
- package/dist/{sherpa-VXBR2LVH.js → sherpa-KCSNZSHQ.js} +8 -8
- package/dist/{skills-HXG3Y4KE.js → skills-C2ANFQ34.js} +6 -6
- package/dist/{skillsUpdateCheck-TILFOBGB.js → skillsUpdateCheck-5SHCR7NW.js} +3 -3
- package/dist/{snapshot-RDALD7DE.js → snapshot-5FUXM5ZY.js} +32 -32
- package/dist/{src-24RSMMOB.js → src-BBV5FVBE.js} +6 -6
- package/dist/{src-DMRL5PBJ.js → src-LPQZ7OIH.js} +2 -2
- package/dist/{start-T7XKA2MN.js → start-72LKTGKX.js} +17 -17
- package/dist/{staticProjectServer-AX23X7UN.js → staticProjectServer-SZCFUX63.js} +11 -11
- package/dist/{status-47HVIQQ7.js → status-YTVMG6TS.js} +11 -11
- package/dist/studio/assets/{codec-DQ7n-U_9.js → codec-D3GU4v7H.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-C7JtYIRD.js → hyperframes-player-CjQNefFs.js} +1 -1
- package/dist/studio/assets/{index-CByWY7fK.js → index-B7N7k0rf.js} +1 -1
- package/dist/studio/assets/{index-C7EGuz1n.js → index-B85NqQ6A.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-Bnvo9NIs.js → pausedVideoDecoder-CPaoO7Pl.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-VXWAAFOS.js → studio-api-PQS4K2CS.js} +3 -3
- package/dist/{studioServer-VXIAK364.js → studioServer-2MVX2Y4H.js} +43 -43
- package/dist/{sync-C6SUWWEZ.js → sync-2B3MWR6Z.js} +8 -8
- package/dist/{synthesize-4WZGBE2D.js → synthesize-KF5QG6ZN.js} +2 -2
- package/dist/{telemetry-SXASYO5M.js → telemetry-CJEW3BVT.js} +3 -3
- package/dist/{templates-IL7G63RL.js → templates-HXOBKWG7.js} +11 -11
- package/dist/{timeline-UAI63XMM.js → timeline-HIRADRSL.js} +10 -10
- package/dist/{tokens-Y5AIVQJN.js → tokens-6UWEIY7L.js} +2 -2
- package/dist/{transcribe-AMRT4JMZ.js → transcribe-W5JTJ34L.js} +22 -22
- package/dist/{transcribe-ZDORCRKT.js → transcribe-WGMHJ2EN.js} +6 -6
- package/dist/{tts-UFA5UHA6.js → tts-IF65L6CN.js} +1 -1
- package/dist/{update-35I2M4ZI.js → update-HAAZ3VDJ.js} +8 -8
- package/dist/{updateCheck-3HXGV5NL.js → updateCheck-WEE7DFPV.js} +2 -2
- package/dist/{upgrade-FHOHHZNW.js → upgrade-GVNUJJPT.js} +4 -4
- package/dist/{urlDownloader-RD4SEG6K.js → urlDownloader-KIIAJEO5.js} +2 -2
- package/dist/{validate-D6CATGTW.js → validate-2R3OKTIA.js} +14 -14
- package/dist/{video-UOZJSSUR.js → video-IFAQCSQX.js} +5 -5
- package/dist/{voices-KEY5L2AP.js → voices-NXOZK3PB.js} +17 -17
- package/dist/warmCheck.js +30 -30
- package/package.json +1 -1
package/dist/studio/assets/{pausedVideoDecoder-Bnvo9NIs.js → pausedVideoDecoder-CPaoO7Pl.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as V}from"./index-
|
|
1
|
+
import{l as V}from"./index-B85NqQ6A.js";import{bw as G,bN as K,cH as Q,bE as X}from"./codec-D3GU4v7H.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-B85NqQ6A.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-CU24FmKd.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
stampProjectHfIds,
|
|
29
29
|
stampProjectHfIdsAsync,
|
|
30
30
|
thumbnailDeviceScaleFactor
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ACUFGUTH.js";
|
|
32
32
|
import {
|
|
33
33
|
dedupeClonedCompositionId,
|
|
34
34
|
findTargetElement,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
registerRenderOutput,
|
|
82
82
|
retainSnapshotOutput,
|
|
83
83
|
settledFileTag
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-BN7UITKY.js";
|
|
85
85
|
import "./chunk-BZULWFMJ.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_OPEN_MEDIA_RANGE_BYTES,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
import "./chunk-5S7W3TUO.js";
|
|
102
102
|
import "./chunk-D54ZDCZR.js";
|
|
103
103
|
import "./chunk-7SY3DERR.js";
|
|
104
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-GTA7W75W.js";
|
|
105
105
|
import "./chunk-CL5IBQJC.js";
|
|
106
106
|
import "./chunk-FXMKHHPO.js";
|
|
107
107
|
import "./chunk-DQZRNGDS.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-LK2GOIB7.js";
|
|
10
10
|
import {
|
|
11
11
|
ReviewFailed,
|
|
12
12
|
fileSha256Base64,
|
|
@@ -15,49 +15,49 @@ import {
|
|
|
15
15
|
shareSite,
|
|
16
16
|
trackShareInteraction,
|
|
17
17
|
versionOnPage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FKHIDW46.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-RHB37MXS.js";
|
|
26
26
|
import {
|
|
27
27
|
HANDOFF_READY,
|
|
28
28
|
desktopDownloadUrl,
|
|
29
29
|
desktopInstalled,
|
|
30
30
|
insideHostApp,
|
|
31
31
|
openInDesktop
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EH4AQ3DS.js";
|
|
33
33
|
import "./chunk-MI54IK7G.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveRenderBrowser
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-5TF5KKGF.js";
|
|
37
|
+
import "./chunk-SLNSV3HI.js";
|
|
38
38
|
import "./chunk-M3BJEZ7E.js";
|
|
39
39
|
import {
|
|
40
40
|
loadSharpInBackground
|
|
41
41
|
} from "./chunk-YTHXSYYB.js";
|
|
42
42
|
import "./chunk-BAWGEGKD.js";
|
|
43
43
|
import "./chunk-6BEFEWFB.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EYAHZIYQ.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-LRHW62CP.js";
|
|
50
50
|
import "./chunk-WWMPS3LM.js";
|
|
51
51
|
import "./chunk-YGGZ23BB.js";
|
|
52
52
|
import "./chunk-43GCSOM5.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-6M2D5R5Q.js";
|
|
54
54
|
import "./chunk-262C25DQ.js";
|
|
55
55
|
import {
|
|
56
56
|
GSAP_VENDOR_FILES,
|
|
57
57
|
readBundleFile,
|
|
58
58
|
resolveGsapVendorDir
|
|
59
59
|
} from "./chunk-ESYKCW5A.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-PE7IEERM.js";
|
|
61
61
|
import "./chunk-J2PFGVTU.js";
|
|
62
62
|
import {
|
|
63
63
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
previewAllowedHostsFromEnv,
|
|
77
77
|
sameOriginPost,
|
|
78
78
|
thumbnailDeviceScaleFactor
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ACUFGUTH.js";
|
|
80
80
|
import "./chunk-OXTPNY3V.js";
|
|
81
81
|
import "./chunk-EQ6MHHC2.js";
|
|
82
82
|
import "./chunk-DONVZZLV.js";
|
|
@@ -94,39 +94,39 @@ import {
|
|
|
94
94
|
historyCache,
|
|
95
95
|
identifyFileWrite,
|
|
96
96
|
openProjectHistory
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-BN7UITKY.js";
|
|
98
98
|
import "./chunk-BZULWFMJ.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-R2SL4STW.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-VVQQJIRX.js";
|
|
106
106
|
import {
|
|
107
107
|
resolveAutoProxy
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-BR6FHEP5.js";
|
|
109
109
|
import "./chunk-XT7X6QCP.js";
|
|
110
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-NRNZJELI.js";
|
|
111
111
|
import "./chunk-HVW7ABXD.js";
|
|
112
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-37GD3CWK.js";
|
|
113
113
|
import "./chunk-JHOCK3DG.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-F3TMSCSZ.js";
|
|
115
|
+
import "./chunk-S4PA46LO.js";
|
|
116
116
|
import "./chunk-AWDFDFI3.js";
|
|
117
117
|
import "./chunk-662337AC.js";
|
|
118
118
|
import "./chunk-D3UCUI7G.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-HGLLFTCP.js";
|
|
120
120
|
import {
|
|
121
121
|
renderMotionBlurTelemetryPayload,
|
|
122
122
|
trackRenderComplete,
|
|
123
123
|
trackRenderError
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-GUVBME3S.js";
|
|
125
125
|
import {
|
|
126
126
|
canaryDecisionsForStudio,
|
|
127
127
|
resetTelemetryPostureCache,
|
|
128
128
|
shouldTrack
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-BVSG3ZQQ.js";
|
|
130
130
|
import "./chunk-PXVQOMKL.js";
|
|
131
131
|
import "./chunk-MCDNAIFF.js";
|
|
132
132
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
import {
|
|
149
149
|
assertWebGpuAdapterAvailable,
|
|
150
150
|
compositionRequiresWebGpu
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-UGT4SXWS.js";
|
|
152
152
|
import "./chunk-Z5J67X44.js";
|
|
153
153
|
import "./chunk-5S7W3TUO.js";
|
|
154
154
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -156,7 +156,7 @@ import "./chunk-7SY3DERR.js";
|
|
|
156
156
|
import {
|
|
157
157
|
isAtomicTempPath,
|
|
158
158
|
replaceFileAtomically
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-GTA7W75W.js";
|
|
160
160
|
import "./chunk-3GXQPCJC.js";
|
|
161
161
|
import {
|
|
162
162
|
GSAP_CDN_VERSION,
|
|
@@ -210,7 +210,7 @@ import "./chunk-CPHQTXP5.js";
|
|
|
210
210
|
import "./chunk-QBXDU24O.js";
|
|
211
211
|
import {
|
|
212
212
|
VERSION
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-LHSVECRX.js";
|
|
214
214
|
import "./chunk-E63BDV4Z.js";
|
|
215
215
|
import {
|
|
216
216
|
detectAgentRuntime
|
|
@@ -888,7 +888,7 @@ function optionalBoolean(value) {
|
|
|
888
888
|
function validSpace(value) {
|
|
889
889
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
890
890
|
}
|
|
891
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
891
|
+
var defaultCreate = async (path, progress) => (await import("./service-EUTTPCZS.js")).createShareService(path, progress, {
|
|
892
892
|
surface: "local_studio",
|
|
893
893
|
pinIdentity: true
|
|
894
894
|
});
|
|
@@ -1127,13 +1127,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
1127
1127
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1128
1128
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1129
1129
|
async function loadStudioProducer() {
|
|
1130
|
-
if (!isDevMode()) return await import("./src-
|
|
1130
|
+
if (!isDevMode()) return await import("./src-BBV5FVBE.js");
|
|
1131
1131
|
if (!process.versions.bun) {
|
|
1132
1132
|
throw new Error(
|
|
1133
1133
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
1134
1134
|
);
|
|
1135
1135
|
}
|
|
1136
|
-
return await import("./src-
|
|
1136
|
+
return await import("./src-BBV5FVBE.js");
|
|
1137
1137
|
}
|
|
1138
1138
|
function resolveDistDir() {
|
|
1139
1139
|
return resolveStudioBundle().dir;
|
|
@@ -1249,7 +1249,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
1249
1249
|
try {
|
|
1250
1250
|
if (isShuttingDown()) return null;
|
|
1251
1251
|
const { ensureBrowser } = await import("./manager-25RJ4IZN.js");
|
|
1252
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1252
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-LPQZ7OIH.js");
|
|
1253
1253
|
let executablePath;
|
|
1254
1254
|
try {
|
|
1255
1255
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1437,10 +1437,10 @@ function createStudioServer(options) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
},
|
|
1439
1439
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1440
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1441
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1442
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1443
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1440
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-4JVXQH5F.js");
|
|
1441
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-6IFABDM3.js");
|
|
1442
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-D446M7WT.js");
|
|
1443
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-KIIAJEO5.js");
|
|
1444
1444
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1445
1445
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1446
1446
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1622,7 +1622,7 @@ function createStudioServer(options) {
|
|
|
1622
1622
|
startBackgroundRemoval(opts) {
|
|
1623
1623
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1624
1624
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1625
|
-
const pipeline = await import("./pipeline-
|
|
1625
|
+
const pipeline = await import("./pipeline-OMPNZQWD.js").catch(
|
|
1626
1626
|
() => import(sourcePipelinePath)
|
|
1627
1627
|
);
|
|
1628
1628
|
return pipeline.render(renderOpts);
|
|
@@ -1708,8 +1708,8 @@ function createStudioServer(options) {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
},
|
|
1710
1710
|
async listRegistryCatalog() {
|
|
1711
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1712
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1711
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-4XARUMYN.js");
|
|
1712
|
+
const { loadProjectConfig } = await import("./projectConfig-UW5YWKWL.js");
|
|
1713
1713
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1714
1714
|
const entries = await listRegistryItems(void 0, registry);
|
|
1715
1715
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1718,9 +1718,9 @@ function createStudioServer(options) {
|
|
|
1718
1718
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1719
1719
|
},
|
|
1720
1720
|
async installRegistryBlock(opts) {
|
|
1721
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1722
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1723
|
-
const { registryTargetPath } = await import("./publication-
|
|
1721
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-3FQLHIZ6.js");
|
|
1722
|
+
const { recordRewrittenInstall } = await import("./installer-FC2Z2XXY.js");
|
|
1723
|
+
const { registryTargetPath } = await import("./publication-SHADGLOC.js");
|
|
1724
1724
|
const { result, item } = await addToProject({
|
|
1725
1725
|
name: opts.blockName,
|
|
1726
1726
|
projectDir: opts.project.dir,
|
|
@@ -1835,8 +1835,8 @@ function createStudioServer(options) {
|
|
|
1835
1835
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1836
1836
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1837
1837
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1838
|
-
import("./preflight-
|
|
1839
|
-
import("./ffmpeg-
|
|
1838
|
+
import("./preflight-4WCKA5GQ.js"),
|
|
1839
|
+
import("./ffmpeg-6OO3GLBM.js")
|
|
1840
1840
|
]);
|
|
1841
1841
|
const { outcomes } = await runEnvironmentChecks();
|
|
1842
1842
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1856,7 +1856,7 @@ function createStudioServer(options) {
|
|
|
1856
1856
|
mountShareRoutes(app, projectDir);
|
|
1857
1857
|
let cachedFFmpegPath;
|
|
1858
1858
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1859
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1859
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-6OO3GLBM.js");
|
|
1860
1860
|
if (!cachedFFmpegPath) {
|
|
1861
1861
|
cachedFFmpegPath = findFFmpeg();
|
|
1862
1862
|
}
|
|
@@ -1973,7 +1973,7 @@ function createStudioServer(options) {
|
|
|
1973
1973
|
});
|
|
1974
1974
|
const renders = [...inFlightRenders];
|
|
1975
1975
|
for (const [abortController] of renders) abortController.abort();
|
|
1976
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1976
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-LPQZ7OIH.js");
|
|
1977
1977
|
killTrackedProcesses();
|
|
1978
1978
|
const closeBrowsers = Promise.allSettled([
|
|
1979
1979
|
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-V3TXAAMF.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg,
|
|
17
17
|
window
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EHV6WJDU.js";
|
|
19
19
|
import {
|
|
20
20
|
Fix
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-OYUASBFR.js";
|
|
22
|
+
import "./chunk-EYAHZIYQ.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-
|
|
28
|
+
import "./chunk-UGT4SXWS.js";
|
|
29
29
|
import "./chunk-Z5J67X44.js";
|
|
30
30
|
import "./chunk-5S7W3TUO.js";
|
|
31
31
|
import "./chunk-D54ZDCZR.js";
|
|
32
32
|
import "./chunk-7SY3DERR.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-GTA7W75W.js";
|
|
34
34
|
import "./chunk-3GXQPCJC.js";
|
|
35
35
|
import "./chunk-CL5IBQJC.js";
|
|
36
36
|
import "./chunk-FXMKHHPO.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
55
55
|
import "./chunk-EPQC3FGZ.js";
|
|
56
56
|
import "./chunk-4NTCQF3L.js";
|
|
57
57
|
import "./chunk-JOQR4AP6.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-ZQMS7HXL.js";
|
|
59
59
|
import "./chunk-BR2JQQC5.js";
|
|
60
60
|
import "./chunk-AWD2MWWL.js";
|
|
61
61
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
65
|
import "./chunk-CPHQTXP5.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-LHSVECRX.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-LW33P24U.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
import "./chunk-R4EWRIDL.js";
|
|
22
22
|
import {
|
|
23
23
|
writeNewFileSync
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-NRNZJELI.js";
|
|
25
|
+
import "./chunk-GTA7W75W.js";
|
|
26
26
|
import "./chunk-XWK2RSD5.js";
|
|
27
27
|
import "./chunk-IU5DC4HP.js";
|
|
28
28
|
import {
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GUVBME3S.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-BVSG3ZQQ.js";
|
|
28
28
|
import "./chunk-PXVQOMKL.js";
|
|
29
29
|
import "./chunk-MCDNAIFF.js";
|
|
30
30
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
65
|
import "./chunk-CPHQTXP5.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-LHSVECRX.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-LW33P24U.js";
|
|
70
70
|
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-4IU2UP4A.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveCloudAuthHeaders
|
|
12
12
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -18,25 +18,25 @@ import "./chunk-BAWGEGKD.js";
|
|
|
18
18
|
import {
|
|
19
19
|
projectConfigPath,
|
|
20
20
|
seedProjectAuthoringSkill
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BR6FHEP5.js";
|
|
22
22
|
import "./chunk-XT7X6QCP.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-NRNZJELI.js";
|
|
24
24
|
import "./chunk-HVW7ABXD.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-37GD3CWK.js";
|
|
26
26
|
import "./chunk-JHOCK3DG.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-F3TMSCSZ.js";
|
|
28
|
+
import "./chunk-S4PA46LO.js";
|
|
29
29
|
import "./chunk-AWDFDFI3.js";
|
|
30
30
|
import "./chunk-662337AC.js";
|
|
31
31
|
import {
|
|
32
32
|
NetworkFailure,
|
|
33
33
|
fetchExplained
|
|
34
34
|
} from "./chunk-D3UCUI7G.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-HGLLFTCP.js";
|
|
36
36
|
import {
|
|
37
37
|
trackSkillCommandRan
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-GUVBME3S.js";
|
|
39
|
+
import "./chunk-BVSG3ZQQ.js";
|
|
40
40
|
import "./chunk-PXVQOMKL.js";
|
|
41
41
|
import "./chunk-MCDNAIFF.js";
|
|
42
42
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-JCNPHRGX.js";
|
|
52
52
|
import {
|
|
53
53
|
createStagingDir
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-GTA7W75W.js";
|
|
55
55
|
import "./chunk-CL5IBQJC.js";
|
|
56
56
|
import "./chunk-FXMKHHPO.js";
|
|
57
57
|
import "./chunk-DQZRNGDS.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
} from "./chunk-66W5IWLO.js";
|
|
83
83
|
import "./chunk-CPHQTXP5.js";
|
|
84
84
|
import "./chunk-QBXDU24O.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-LHSVECRX.js";
|
|
86
86
|
import "./chunk-E63BDV4Z.js";
|
|
87
87
|
import "./chunk-LW33P24U.js";
|
|
88
88
|
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-ZEPP4IYU.js";
|
|
11
11
|
import "./chunk-LLMSX6V6.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureDOMParser
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
import "./chunk-K4WKGXRC.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M3NFK4OF.js";
|
|
22
22
|
import {
|
|
23
23
|
readCompositionFps
|
|
24
24
|
} from "./chunk-J2PFGVTU.js";
|
|
25
25
|
import {
|
|
26
26
|
applyFileMutations,
|
|
27
27
|
duplicateElementInHtml
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ACUFGUTH.js";
|
|
29
29
|
import {
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
@@ -37,15 +37,15 @@ import "./chunk-XRQQIE2X.js";
|
|
|
37
37
|
import "./chunk-ZH2LHLVS.js";
|
|
38
38
|
import {
|
|
39
39
|
fileContentVersion
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BN7UITKY.js";
|
|
41
41
|
import "./chunk-BZULWFMJ.js";
|
|
42
42
|
import "./chunk-ZLTB7ZCQ.js";
|
|
43
43
|
import {
|
|
44
44
|
readJsonFileText,
|
|
45
45
|
readJsonStdinText
|
|
46
46
|
} from "./chunk-EHZESMRB.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-GUVBME3S.js";
|
|
48
|
+
import "./chunk-BVSG3ZQQ.js";
|
|
49
49
|
import "./chunk-PXVQOMKL.js";
|
|
50
50
|
import "./chunk-MCDNAIFF.js";
|
|
51
51
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -63,14 +63,14 @@ import "./chunk-LD6JONPV.js";
|
|
|
63
63
|
import "./chunk-ZB2XGJSP.js";
|
|
64
64
|
import "./chunk-4QFWV5GQ.js";
|
|
65
65
|
import "./chunk-SZGQU7EB.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-UGT4SXWS.js";
|
|
67
67
|
import "./chunk-Z5J67X44.js";
|
|
68
68
|
import "./chunk-5S7W3TUO.js";
|
|
69
69
|
import "./chunk-D54ZDCZR.js";
|
|
70
70
|
import {
|
|
71
71
|
ensureHfIds
|
|
72
72
|
} from "./chunk-7SY3DERR.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-GTA7W75W.js";
|
|
74
74
|
import "./chunk-3GXQPCJC.js";
|
|
75
75
|
import {
|
|
76
76
|
fpsToNumber,
|
|
@@ -103,7 +103,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
103
103
|
import "./chunk-JOQR4AP6.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-ZQMS7HXL.js";
|
|
107
107
|
import "./chunk-BR2JQQC5.js";
|
|
108
108
|
import "./chunk-AWD2MWWL.js";
|
|
109
109
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
} from "./chunk-66W5IWLO.js";
|
|
117
117
|
import "./chunk-CPHQTXP5.js";
|
|
118
118
|
import "./chunk-QBXDU24O.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-LHSVECRX.js";
|
|
120
120
|
import "./chunk-E63BDV4Z.js";
|
|
121
121
|
import "./chunk-LW33P24U.js";
|
|
122
122
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GHQ2B7CB.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-CJEW3BVT.js");
|
|
87
87
|
trackFigmaImport({
|
|
88
88
|
phase: "tokens",
|
|
89
89
|
tokensMode: result.mode,
|