hyperframes 0.9.61 → 0.9.63
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-LNPIKHAX.js → add-OBIEVDD7.js} +11 -11
- package/dist/{agentPromptGenerator-N3HL4JWM.js → agentPromptGenerator-KOFDIQGE.js} +6 -6
- package/dist/{animatedGifPrep-SEPXIM4W.js → animatedGifPrep-C4S7AVG7.js} +6 -6
- package/dist/api.js +31 -31
- package/dist/{asset-3L2G3ROU.js → asset-FUQDWJ62.js} +4 -4
- package/dist/{assetCataloger-3D75A6GI.js → assetCataloger-A5N6O4JB.js} +7 -7
- package/dist/{audio-U4W5ZWQ7.js → audio-AFNZLDGT.js} +16 -16
- package/dist/{auth-V4G5ZE3P.js → auth-N2G7ERXF.js} +4 -4
- package/dist/{autoUpdate-QYKF3DDS.js → autoUpdate-ZGC4CJIP.js} +2 -2
- package/dist/{avatars-SB2XCDWJ.js → avatars-ALJTTP5M.js} +13 -13
- package/dist/{backgroundChecks-KHBYRE6J.js → backgroundChecks-3S6MXDFU.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-6S5GMICZ.js → batchRender-HZIXQY4N.js} +3 -3
- package/dist/{beats-7YLYCCMD.js → beats-2XU7WVQU.js} +7 -7
- package/dist/{benchmark-IBX7ZWVU.js → benchmark-SBZQIKED.js} +10 -10
- package/dist/{billing-EAHOGMQW.js → billing-2DFCEQSM.js} +13 -13
- package/dist/{browser-XKYRXDJW.js → browser-336OZKWA.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-ZFX7TSWT.js → bundleWithLocalizedFonts-DMW5VAFU.js} +1 -1
- package/dist/{capture-4WKQKMXG.js → capture-AD5PYZ2O.js} +5 -5
- package/dist/{capture-IBOCZ2MK.js → capture-Z3LNLS32.js} +15 -15
- package/dist/{captureCompositionFrame-HZA3LNU3.js → captureCompositionFrame-2BVCI3V2.js} +13 -13
- package/dist/{catalog-TSXQTLKM.js → catalog-OKCKRILJ.js} +11 -11
- package/dist/{catch-up-LD2B5CE3.js → catch-up-MP2BCTZH.js} +6 -6
- package/dist/{check-TEZKUD26.js → check-FYG4RBOV.js} +38 -38
- package/dist/{checkAudio-3GM74ZGV.js → checkAudio-3RKJELTT.js} +9 -9
- package/dist/{checkBrowser-OFH3I7Q6.js → checkBrowser-R3KY4UR5.js} +31 -31
- package/dist/{chunk-5F2ULLFW.js → chunk-2XKRMQJP.js} +4 -4
- package/dist/{chunk-CRX444MF.js → chunk-3KKKIHBJ.js} +4 -4
- package/dist/{chunk-RRI7NGQZ.js → chunk-3O2FM72C.js} +3 -3
- package/dist/{chunk-J56ZJFSF.js → chunk-3SMQ3AKQ.js} +21 -10
- package/dist/{chunk-4ZLWEPK4.js → chunk-4KEONZJ2.js} +1 -1
- package/dist/{chunk-6NDSDQCR.js → chunk-5RCXJH5B.js} +4 -4
- package/dist/{chunk-GYPZTG46.js → chunk-5YY4SRBH.js} +1 -1
- package/dist/{chunk-L7MFHIG7.js → chunk-6HHKHDMW.js} +1 -1
- package/dist/{chunk-CT54FOTS.js → chunk-6PANJZEW.js} +2 -2
- package/dist/{chunk-HTHLFEO2.js → chunk-7AYDKU2X.js} +1 -1
- package/dist/{chunk-R2LBMDYH.js → chunk-7CSPYOLI.js} +2 -2
- package/dist/{chunk-4EWS3KP3.js → chunk-7F3NOYSK.js} +1 -1
- package/dist/{chunk-RDJOA5MM.js → chunk-7NHID6VP.js} +2 -2
- package/dist/{chunk-MPX3FO4A.js → chunk-7NMH22SY.js} +3 -3
- package/dist/{chunk-RSYV6NNI.js → chunk-7YB4BDX7.js} +1 -1
- package/dist/{chunk-ICZWQNBR.js → chunk-A65Q5P62.js} +1 -1
- package/dist/{chunk-5RM7274K.js → chunk-ABK44JS4.js} +1 -1
- package/dist/{chunk-BHZZM2PK.js → chunk-AQFSYY23.js} +2 -2
- package/dist/{chunk-CAAUQUCW.js → chunk-BGIRYNAW.js} +20 -7
- package/dist/{chunk-H6Y4XOSP.js → chunk-BGV5YKSM.js} +6 -6
- package/dist/{chunk-SQI2MWJE.js → chunk-BJLC2UEQ.js} +3 -3
- package/dist/{chunk-MPVJI4SE.js → chunk-BJMW2GYO.js} +1 -1
- package/dist/{chunk-YLC67YFR.js → chunk-CDPVVNNZ.js} +1 -1
- package/dist/{chunk-GNRC4L6F.js → chunk-CLRASDLH.js} +11 -11
- package/dist/{chunk-ZGSGBGTB.js → chunk-CSMWC336.js} +1 -1
- package/dist/{chunk-RJCQZMNI.js → chunk-CZYQR7VM.js} +2 -2
- package/dist/{chunk-73NC557V.js → chunk-DEWY2KX4.js} +1 -1
- package/dist/{chunk-6ZU654EU.js → chunk-DG4VSBM3.js} +2 -2
- package/dist/{chunk-VJVTGSGW.js → chunk-DJCBHKQ5.js} +1 -1
- package/dist/{chunk-CPLVXXRS.js → chunk-DN4KUTQ5.js} +2 -2
- package/dist/{chunk-LZSSGF7G.js → chunk-DVUC244G.js} +1 -1
- package/dist/{chunk-2CNVJQKU.js → chunk-E6WYYM6K.js} +1 -1
- package/dist/{chunk-EDH2DMXM.js → chunk-EJINQHA6.js} +2 -2
- package/dist/{chunk-IT2YUKYY.js → chunk-EPWGATQN.js} +1 -1
- package/dist/{chunk-OBP5WNKP.js → chunk-FA6TQ22Y.js} +3 -3
- package/dist/{chunk-7DMES2F3.js → chunk-FAYFXXVF.js} +2 -2
- package/dist/{chunk-OGOR22GY.js → chunk-FEURVA3G.js} +1 -1
- package/dist/{chunk-6P7FLYOR.js → chunk-GGSE4SO2.js} +1 -1
- package/dist/{chunk-NY6E4272.js → chunk-GJPT5Q6H.js} +1 -1
- package/dist/{chunk-5ZAM42GH.js → chunk-GPZIE45V.js} +1 -1
- package/dist/{chunk-VZM7AFUH.js → chunk-GRBYYKYT.js} +2 -2
- package/dist/{chunk-3ROFCQAW.js → chunk-H7FGALE4.js} +1 -1
- package/dist/{chunk-6R22Y26Z.js → chunk-HAFE7SZR.js} +1 -1
- package/dist/{chunk-KBEC6VQS.js → chunk-HF2A733B.js} +73 -48
- package/dist/{chunk-FU62NEWC.js → chunk-HGVBKNLQ.js} +1 -1
- package/dist/{chunk-IIXSSRUR.js → chunk-HHM2JZLH.js} +3 -3
- package/dist/{chunk-TRVWLAQ3.js → chunk-HJTCWQGF.js} +7 -7
- package/dist/{chunk-MQCIX6O2.js → chunk-HMY3GUJN.js} +1 -1
- package/dist/{chunk-DD37XZVE.js → chunk-HS7YBLZS.js} +1 -1
- package/dist/{chunk-3W2ORSFV.js → chunk-HY6N5K6U.js} +3 -3
- package/dist/{chunk-LULZFFDN.js → chunk-HZMDLKRP.js} +3 -3
- package/dist/{chunk-22B53HD3.js → chunk-IBU2BW4H.js} +2 -2
- package/dist/{chunk-CSWJCRDU.js → chunk-ICP22AQY.js} +1 -1
- package/dist/{chunk-7GDEQJSL.js → chunk-IS45C2EI.js} +11 -11
- package/dist/{chunk-X3NGTIE3.js → chunk-J2MAI47E.js} +1 -1
- package/dist/{chunk-VNWPHKKI.js → chunk-J43NNMIX.js} +5 -5
- package/dist/{chunk-PPETKAEO.js → chunk-J4YDHNAH.js} +1 -1
- package/dist/{chunk-DWGDP537.js → chunk-JDKLF3AG.js} +2 -2
- package/dist/{chunk-ENKXJNKX.js → chunk-JU4ZWNU6.js} +2 -2
- package/dist/{chunk-SYMLVFQF.js → chunk-KDLMUU3E.js} +1 -1
- package/dist/{chunk-ADQ7XZE5.js → chunk-KIWGMFXC.js} +2 -2
- package/dist/{chunk-BWFNWEUO.js → chunk-LKHH4BUW.js} +12 -1
- package/dist/{chunk-G7HO2FFX.js → chunk-LNDOTF7B.js} +6 -1
- package/dist/{chunk-WVCCSYZC.js → chunk-LYGIKJBA.js} +12 -12
- package/dist/{chunk-GADMF4BL.js → chunk-MCTQEI6H.js} +1 -1
- package/dist/{chunk-VRUVJTFW.js → chunk-MHS3RUAQ.js} +13 -13
- package/dist/{chunk-LV2ETFC5.js → chunk-N5EZRITN.js} +2 -2
- package/dist/{chunk-6OKMCIDU.js → chunk-NEZVFC34.js} +2 -2
- package/dist/{chunk-UEJMLVGW.js → chunk-OOVT26AC.js} +5 -5
- package/dist/{chunk-MERWX4DZ.js → chunk-PET4B6IL.js} +1 -1
- package/dist/{chunk-2H4SJSUS.js → chunk-PJ22RPTH.js} +7 -7
- package/dist/{chunk-7AP5C4C2.js → chunk-PLI7YT5S.js} +1 -1
- package/dist/{chunk-C2GAAMZ3.js → chunk-QOLZBRLN.js} +1 -1
- package/dist/{chunk-6X2CLRU7.js → chunk-QUYSLXNP.js} +1 -1
- package/dist/{chunk-CRZ7FUMI.js → chunk-QY42NK3T.js} +1 -1
- package/dist/{chunk-LTXZLTXW.js → chunk-R5HNUPI5.js} +82 -31
- package/dist/{chunk-NU7BEOCX.js → chunk-RHHPEUVM.js} +1 -1
- package/dist/{chunk-WTUDKVWQ.js → chunk-RQ4YNYWE.js} +1 -1
- package/dist/{chunk-KYZEK7QF.js → chunk-S4X7H76F.js} +1 -1
- package/dist/{chunk-Y53Z2M77.js → chunk-SFIUSS3O.js} +2 -2
- package/dist/{chunk-7463BOQJ.js → chunk-SKQWXQ7H.js} +2 -2
- package/dist/{chunk-TJAFCC37.js → chunk-SOIOB7FF.js} +1 -1
- package/dist/{chunk-CPHK3XMF.js → chunk-T25ZHQR2.js} +6 -6
- package/dist/chunk-TZ6M2LEV.js +5101 -0
- package/dist/{chunk-W772ZFTE.js → chunk-U4KLJXI4.js} +2 -2
- package/dist/{chunk-NOJRZCN3.js → chunk-UOWDVL6M.js} +7 -7
- package/dist/{chunk-ZBDITGMP.js → chunk-V7Z2JQRL.js} +1 -1
- package/dist/{chunk-BAU3ASNM.js → chunk-VHDT4EME.js} +2 -2
- package/dist/{chunk-UX5KLSAJ.js → chunk-VSCJ76AM.js} +2 -2
- package/dist/{chunk-CYM53TWZ.js → chunk-VWI7V4Q5.js} +16 -11
- package/dist/{chunk-BNO5RN55.js → chunk-WMKIO4OA.js} +19 -19
- package/dist/{chunk-A2ZUVULS.js → chunk-XBHPFWRL.js} +1 -1
- package/dist/{chunk-SCEBICAQ.js → chunk-XFGC5XLR.js} +1 -1
- package/dist/{chunk-4AMOVEV7.js → chunk-XGKNDIBT.js} +4 -4
- package/dist/{chunk-XLG3JMSS.js → chunk-XQQRCWS5.js} +4 -4
- package/dist/{chunk-OPUR2XQ2.js → chunk-XQQZ2G25.js} +2 -2
- package/dist/{chunk-B5JWBMDR.js → chunk-YN6UGKZE.js} +2 -2
- package/dist/{chunk-C7IEAEKF.js → chunk-YSWORAKY.js} +1 -1
- package/dist/{chunk-32H642MS.js → chunk-YWNQOM4P.js} +1 -1
- package/dist/{chunk-ILKK6F5E.js → chunk-ZM3GP62D.js} +2 -2
- package/dist/{chunk-KTY46LIH.js → chunk-ZYODIJRG.js} +2 -2
- package/dist/{clean-RJKQ23WH.js → clean-QXAUIYBP.js} +16 -16
- package/dist/cli.js +66 -66
- package/dist/{cloud-VUR3ZO6O.js → cloud-46NGVK4Q.js} +4 -4
- package/dist/{cloud-R3NQSUTQ.js → cloud-7B4YZT5U.js} +4 -4
- package/dist/{cloudrun-SZYAYV7N.js → cloudrun-CZGDPM57.js} +4 -4
- package/dist/{compare-AO5VJBJW.js → compare-O2UN7HGD.js} +31 -31
- package/dist/{compiler-65SP7M2P.js → compiler-ZGIAIJVE.js} +2 -2
- package/dist/{component-WGTPAIKX.js → component-ZIGH3VGE.js} +5 -5
- package/dist/{compositions-HWM6DNJA.js → compositions-W54S4VIU.js} +10 -10
- package/dist/{curve-PLPTMDS4.js → curve-HBHRWPIE.js} +10 -10
- package/dist/{cuts-T5GYTDUA.js → cuts-YHNO7A5G.js} +11 -11
- package/dist/{delete-6WE3N3VO.js → delete-WIW3WLKA.js} +8 -8
- package/dist/{deploy-GYY6CYQD.js → deploy-ICQ2PLU5.js} +2 -2
- package/dist/{describeProject-UQQ2GGIX.js → describeProject-OCXNHB5X.js} +7 -7
- package/dist/{destroy-WSGREGAG.js → destroy-UBSVUXYW.js} +2 -2
- package/dist/{diff-JQBZUPKG.js → diff-43OCC2Y3.js} +31 -31
- package/dist/{dist-HF753IX4.js → dist-A65PCIEN.js} +2 -2
- package/dist/{dist-JRJHFP27.js → dist-DRHXUWGQ.js} +14 -9
- package/dist/{doctor-SPJ5AJKX.js → doctor-XVOTWU62.js} +10 -10
- package/dist/{dotEnv-7JWLJ2TG.js → dotEnv-MWWLCN66.js} +1 -1
- package/dist/{energy-KPDVIZ5D.js → energy-SGA245NF.js} +11 -11
- package/dist/{events-P4223ZZZ.js → events-6HPYERWI.js} +13 -13
- package/dist/{events-XON5I7VU.js → events-LIZCRDAT.js} +2 -2
- package/dist/{events-4WAMG3JE.js → events-MMXXYK5J.js} +5 -5
- package/dist/{execute-CN5FLBYU.js → execute-3346FOCY.js} +24 -24
- package/dist/{extract-ABSBKYYH.js → extract-VDV6EY5E.js} +11 -11
- package/dist/{face-PLPQ5335.js → face-EGKO7HYX.js} +11 -11
- package/dist/{feedback-QPQ4G72X.js → feedback-KEX6YIDA.js} +11 -11
- package/dist/{ffmpeg-F3XK57IP.js → ffmpeg-OIAPERTW.js} +6 -6
- package/dist/{figma-S5CVANVZ.js → figma-KANAV6Q6.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-F4QEQB4V.js → frames-XBQNOQBU.js} +12 -12
- package/dist/{generate-O3OPOCHP.js → generate-P4E5UIEY.js} +23 -23
- package/dist/{get-P7LQ7U22.js → get-R2FJMNJK.js} +8 -8
- package/dist/{gpuPolicy-JPRDRQWU.js → gpuPolicy-AISTDFL2.js} +6 -6
- package/dist/{grade-compare-6UZ6SK4J.js → grade-compare-CE4RUMFU.js} +30 -30
- package/dist/{heifImagePrep-3PDFNYIE.js → heifImagePrep-UQUW2OVF.js} +7 -7
- package/dist/{help-DLOCAL7E.js → help-SK6PGYI2.js} +1 -1
- package/dist/{history-YIJVOGH7.js → history-DM5H55WQ.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-FVYJNNQL.js → info-UBGKJ5XD.js} +12 -12
- package/dist/{init-V45K4VAG.js → init-SGBCTXCE.js} +26 -26
- package/dist/{ink-P72OB7L4.js → ink-NWXEZQPJ.js} +11 -11
- package/dist/{inspect-3W2IG3JF.js → inspect-B7VENILS.js} +32 -32
- package/dist/{installer-QGDTFTDU.js → installer-GR5X6HMD.js} +4 -4
- package/dist/{keyframes-57OPHIR2.js → keyframes-VZSC75GL.js} +11 -11
- package/dist/{lambda-EQZS7UMO.js → lambda-KCTB2LV5.js} +11 -11
- package/dist/{layout-KSWMO6MH.js → layout-3HSW3SNT.js} +32 -32
- package/dist/{lint-WIYBGVF2.js → lint-Q6NRDYLG.js} +8 -8
- package/dist/{list-3FQAHEE2.js → list-5TAZKTS2.js} +8 -8
- package/dist/{localPage-G2QEA7JL.js → localPage-X22Z5SDE.js} +6 -6
- package/dist/{login-C3U6WSHF.js → login-TIPDZQXX.js} +6 -6
- package/dist/{logout-525LWS6J.js → logout-KQ7VU5M6.js} +2 -2
- package/dist/{look-U5LWOI4H.js → look-VODDQOS6.js} +11 -11
- package/dist/{manager-ZVYDWLHI.js → manager-B5HWXCKJ.js} +7 -7
- package/dist/{measure-R2KZIHXT.js → measure-EPD4JLR7.js} +11 -11
- package/dist/{media-treatment-FAW5ZLT7.js → media-treatment-ZLWCSYMP.js} +12 -12
- package/dist/{media-use-CPTT2ZDE.js → media-use-HELWSEKT.js} +5 -5
- package/dist/{models-53JHNGSL.js → models-OKVD2GZS.js} +10 -10
- package/dist/{motionShot-K5ZHHHE6.js → motionShot-6HJBMGBW.js} +16 -16
- package/dist/{normalize-audio-EOO2ORPP.js → normalize-audio-PKUJQYZZ.js} +8 -8
- package/dist/{open-3YABRCER.js → open-ZOXZI6MJ.js} +12 -12
- package/dist/{parakeetRunner-TLZC2WAJ.js → parakeetRunner-I3TPZNMG.js} +11 -11
- package/dist/{pipeline-LZ73CHLB.js → pipeline-IGYBW7NA.js} +9 -9
- package/dist/{plan-3QQZ57IC.js → plan-K2WUQRA2.js} +17 -17
- package/dist/{play-ESWP4SF2.js → play-QRRL526W.js} +23 -22
- package/dist/{preflight-7G5OBMAA.js → preflight-KTYLNVCB.js} +7 -7
- package/dist/{present-5ER4JKR5.js → present-EX2TKGXD.js} +19 -19
- package/dist/{preview-62XOVSXM.js → preview-FXMD27D6.js} +18 -18
- package/dist/{privateProjectFile-6NPNZXK3.js → privateProjectFile-TTLLYWGC.js} +2 -2
- package/dist/{probe-CFOGEVFU.js → probe-2QG66GKK.js} +11 -11
- package/dist/{producer-LLE32VVO.js → producer-QH7A62IS.js} +1 -1
- package/dist/{projectConfig-R54UDB5Y.js → projectConfig-ZX2IUY45.js} +6 -6
- package/dist/{publication-TOBV6M4Q.js → publication-SKR5UXQK.js} +2 -2
- package/dist/{publish-QVNH5PXC.js → publish-X2PMT5TT.js} +15 -15
- package/dist/{receivedRecordFollow-U43DTVLP.js → receivedRecordFollow-K7DVCCUS.js} +5 -5
- package/dist/{refresh-HK4YEHWC.js → refresh-CYSJHATJ.js} +2 -2
- package/dist/{remove-background-XHE6JL35.js → remove-background-5FVNHD45.js} +10 -10
- package/dist/{render-GRZMK6ET.js → render-CJDV7E5M.js} +27 -27
- package/dist/{render-7JJ2DFEB.js → render-GPXJCWM4.js} +5 -5
- package/dist/{render-WK3D5VOW.js → render-KAABP77Y.js} +35 -35
- package/dist/{render-batch-KFEZFJXB.js → render-batch-JYPH5RA7.js} +5 -5
- package/dist/{resolver-N4U52UK5.js → resolver-NXCI42VM.js} +4 -4
- package/dist/{reverse-6AOA3PXF.js → reverse-TQTVHTEN.js} +1 -1
- package/dist/{run-M2J3ZJ3W.js → run-3O3N737Q.js} +4 -4
- package/dist/{screenshotCapture-UXJZ7D3L.js → screenshotCapture-V6VXB4AZ.js} +8 -8
- package/dist/{service-DBNZZLPU.js → service-HBLZ3T4R.js} +12 -12
- package/dist/{share-6P7S3USP.js → share-QBLF3RGF.js} +15 -15
- package/dist/{sherpa-CXEHEVAJ.js → sherpa-UZXWHCV4.js} +10 -10
- package/dist/{skills-RMIHFNI6.js → skills-HVIJD32X.js} +8 -8
- package/dist/{skillsUpdateCheck-EHOSL2AC.js → skillsUpdateCheck-DD2NM36O.js} +3 -3
- package/dist/{snapshot-DQK3P7TF.js → snapshot-JKKROVMI.js} +36 -36
- package/dist/{src-4INHWM6L.js → src-BBT6W66H.js} +8 -8
- package/dist/{src-BNSCFKOD.js → src-IQKTGPPV.js} +5 -5
- package/dist/{start-KPCEUG5K.js → start-A4KULXY2.js} +21 -21
- package/dist/{staticProjectServer-VCS4TOU2.js → staticProjectServer-WH2SJFSD.js} +17 -17
- package/dist/{status-WBNQSG4H.js → status-ZL2XQWMR.js} +13 -13
- package/dist/studio/assets/{hyperframes-player-Cm0hYGm2.js → hyperframes-player-CUQxAJaE.js} +1 -1
- package/dist/studio/assets/{index-REqr_dLu.js → index-D3rdYBVx.js} +1 -1
- package/dist/studio/assets/{index-BGrNWeLK.js → index-DSrTQv-k.js} +164 -164
- package/dist/studio/assets/{pausedVideoDecoder-DqLDSq8J.js → pausedVideoDecoder-BWllfjF-.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-RAW4CIPR.js → studio-api-FNZ62P67.js} +14 -9
- package/dist/{studioServer-5PWBZADN.js → studioServer-BBVHB7A6.js} +56 -56
- package/dist/subCompositionWorker.js +4 -4
- package/dist/{sync-PM2WLBUC.js → sync-UW6N6ORX.js} +11 -11
- package/dist/{telemetry-4BST73P2.js → telemetry-OJ2XS46A.js} +5 -5
- package/dist/{templates-G3XOWYXG.js → templates-GH4ZOTLA.js} +13 -13
- package/dist/{timeline-E6ZXYGQR.js → timeline-MABFMT2U.js} +17 -17
- package/dist/{tokens-KRHXM44C.js → tokens-XE3K3AJF.js} +4 -4
- package/dist/{transcribe-RJ3GOCJL.js → transcribe-IRYGXKOQ.js} +25 -25
- package/dist/{transcribe-TKV3POYD.js → transcribe-TV5THKEM.js} +9 -9
- package/dist/{tts-EPXRE275.js → tts-HRWZJFLJ.js} +2 -2
- package/dist/{update-TO7MLJCS.js → update-BLVL5JMT.js} +9 -9
- package/dist/{updateCheck-5AY447D5.js → updateCheck-5QADMRBP.js} +2 -2
- package/dist/{upgrade-BLZWWXYL.js → upgrade-CBB7FP3D.js} +3 -3
- package/dist/{urlDownloader-ME67HQ4O.js → urlDownloader-ZJ423NLB.js} +5 -5
- package/dist/{validate-SRBV5NFV.js → validate-PASIFGBU.js} +24 -24
- package/dist/{video-JPESR36I.js → video-3MS2DCXZ.js} +7 -7
- package/dist/{voices-AECYKXGA.js → voices-TXV5K5WI.js} +21 -21
- package/dist/warmCheck.js +38 -38
- package/package.json +1 -1
- package/dist/chunk-BNH2IKGV.js +0 -5101
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var HyperframesPlayer=(()=>{var qe=Object.defineProperty;var _i=Object.getOwnPropertyDescriptor;var yi=Object.getOwnPropertyNames;var vi=Object.prototype.hasOwnProperty;var Si=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})},Ai=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of yi(e))!vi.call(t,r)&&r!==n&&qe(t,r,{get:()=>e[r],enumerable:!(i=_i(e,r))||i.enumerable});return t};var Ei=t=>Ai(qe({},"__esModule",{value:!0}),t);var To={};Si(To,{HyperframesPlayer:()=>Ge,SPEED_PRESETS:()=>ht,formatSpeed:()=>W,formatTime:()=>Le});var Ut=t=>t!==null&&Number.isFinite(t)&&t>0;function Ye(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Ut(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Ut);return n.length>0?{seconds:Math.max(...n),source:"derived",pendingClips:e}:{seconds:null,source:"unresolved",pendingClips:e,reason:e>0?"every clip's length is still pending":"no authored duration and no clip with a length"}}var Ti="http://www.w3.org/1999/xhtml";function Ht(t){return t!=null&&t.nodeType===1}function Xe(t){return Ht(t)&&t.namespaceURI===Ti}function Ke(t,e){return Xe(t)&&t.localName===e}function Ri(t){return Ke(t,"video")}function xi(t){return Ke(t,"audio")}function L(t){return Ri(t)||xi(t)}function Vt(t){return Ke(t,"img")}function Ae(t){if(t==null||t.trim()==="")return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function ee(t=document){let e=t.querySelector('[data-composition-id][data-root="true"]');return Xe(e)?e:t.querySelector("[data-composition-id]")}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Co=Object.freeze([z.start,z.duration,z.trackIndex]),Io=Object.freeze([z.derivedEnd]),Do=Object.freeze([z.derivedEnd,z.legacyTrack]);function Ze(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var Wt=t=>{let e=Ze(t);return e!==null&&e>=0?e:null};function Ee(t){return Wt(t("data-playback-start"))??Wt(t("data-media-start"))??0}var te=.1,ne=10;function Je(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function $t(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return Je(Number.isFinite(n)&&n>0?n:e)}function Qe(t){let e=Ze(t("data-duration"));return e!==null&&e>0?e:null}function Bt(t,e){let n=Qe(t);if(n!==null)return n;let i=Ze(t("data-end"));return i!==null?i-e:null}var wi=3;function et(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/Je(n):null}function tt(t){let{tag:e,authoredDurationSeconds:n,sourceDurationSeconds:i,mediaStartSeconds:r,playbackRate:o}=t;if(n!==null&&n>0)return{seconds:n,source:"authored"};if(e==="img")return{seconds:wi,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=et(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var ki="data-fx-chain",Lo=ki.slice(5);var ie=(t="frequency",e="Frequency",n=1e3,i=20,r=2e4)=>({kind:"number",key:t,label:e,unit:"Hz",min:i,max:r,step:1,default:n,scale:"log",automatable:!0}),nt=(t=.707,e="Bandwidth: higher is narrower.")=>({kind:"number",key:"q",label:"Q",unit:"",min:.1,max:20,step:.01,default:t,scale:"log",automatable:!0,hint:e}),Te=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),zt={kind:"enum",key:"poles",label:"Slope",options:[{value:"1",label:"6 dB/oct"},{value:"2",label:"12 dB/oct"}],default:"2",hint:"Two poles is the usual biquad; one pole is gentler."},Gt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[Te(-60,12,0)],web:"gain-node"},{id:"peaking",label:"Peaking EQ",group:"filter",description:"Boost or cut a band, leaving everything either side alone.",params:[ie("frequency","Frequency",1e3),Te(-40,40,0),nt(1)],web:"biquad-peaking"},{id:"lowshelf",label:"Low Shelf",group:"filter",description:"Lift or drop everything below the corner frequency.",params:[ie("frequency","Frequency",200,20,2e3),Te(-40,40,0)],web:"biquad-lowshelf"},{id:"highshelf",label:"High Shelf",group:"filter",description:"Lift or drop everything above the corner frequency.",params:[ie("frequency","Frequency",4e3,500,2e4),Te(-40,40,0)],web:"biquad-highshelf"},{id:"highpass",label:"High-pass",group:"filter",description:"Remove low frequencies: the usual fix for rumble on a voice.",params:[ie("frequency","Cutoff",300,20,2e4),nt(.707),zt],web:"biquad-highpass"},{id:"lowpass",label:"Low-pass",group:"filter",description:"Remove high frequencies, which darkens or muffles a track.",params:[ie("frequency","Cutoff",8e3,100,2e4),nt(.707),zt],web:"biquad-lowpass"},{id:"compressor",label:"Compressor",group:"dynamics",description:"Pull loud parts down so the quiet ones can come up.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-60,max:0,step:.5,default:-24,hint:"Level above which the compressor starts working."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:4},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:2e3,step:.1,default:20,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:250,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83,hint:"1 is a hard corner; higher eases into it."},{kind:"number",key:"makeup",label:"Makeup",unit:"dB",min:0,max:36,step:.1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1,hint:"Below 1 blends the dry signal back in."}],web:"worklet-compressor"},{id:"limiter",label:"Limiter",group:"dynamics",description:"Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.",params:[{kind:"number",key:"limit",label:"Ceiling",unit:"dB",min:-24,max:0,step:.1,default:-1},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.1,max:80,step:.1,default:5},{kind:"number",key:"release",label:"Release",unit:"ms",min:1,max:8e3,step:1,default:50,scale:"log"},{kind:"number",key:"level_out",label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0}],web:"worklet-limiter"},{id:"truepeak",label:"True-peak limiter",group:"dynamics",description:"Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.",params:[{kind:"number",key:"ceiling",label:"Ceiling",unit:"dBTP",min:-24,max:0,step:.1,default:-1,hint:"Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it."},{kind:"number",key:"lookahead",label:"Lookahead",unit:"ms",min:.5,max:10,step:.1,default:3,hint:"How far ahead the gain starts falling. Longer is smoother and adds the same latency."},{kind:"number",key:"release",label:"Release",unit:"ms",min:10,max:2e3,step:1,default:80,scale:"log"}],web:"worklet-truepeak"},{id:"gate",label:"Noise Gate",group:"dynamics",description:"Silence the track when it drops below the threshold.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-80,max:0,step:.5,default:-35},{kind:"number",key:"range",label:"Range",unit:"dB",min:-80,max:0,step:.5,default:-24,hint:"How far down the gate pulls when closed."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:10},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:9e3,step:.1,default:1,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:100,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83}],web:"worklet-gate"},{id:"saturate",label:"Saturation",group:"nonlinear",description:"Soft-clip the waveform for warmth or outright distortion.",params:[{kind:"enum",key:"type",label:"Curve",options:[{value:"tanh",label:"Tanh"},{value:"atan",label:"Arctan"},{value:"cubic",label:"Cubic"},{value:"exp",label:"Exponential"},{value:"alg",label:"Algebraic"},{value:"quintic",label:"Quintic"},{value:"sin",label:"Sine"},{value:"erf",label:"Error function"},{value:"hard",label:"Hard clip"}],default:"tanh"},{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-40,max:0,step:.1,default:-6},{kind:"number",key:"output",automatable:!0,label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0},{kind:"number",key:"oversample",label:"Oversample",unit:"x",min:1,max:8,step:1,default:4,hint:"Higher costs more but keeps aliasing down."}],web:"waveshaper"},{id:"bitcrush",label:"Bitcrush",group:"nonlinear",description:"Drop bit depth and sample rate for a lo-fi, digital sound.",params:[{kind:"number",key:"bits",label:"Bit depth",unit:"bit",min:1,max:32,step:.1,default:8},{kind:"number",key:"samples",label:"Sample hold",unit:"x",min:1,max:250,step:1,default:1,hint:"Repeats each sample N times, a crude downsample."},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-bitcrush"},{id:"pitchshift",label:"Pitch shift",group:"time",description:"Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.",params:[{kind:"number",key:"semitones",label:"Semitones",unit:"st",min:-12,max:12,step:1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-pitchshift"},{id:"delay",label:"Delay",group:"time",description:"Repeating echoes behind the dry signal.",params:[{kind:"number",key:"time",automatable:!0,label:"Time",unit:"ms",min:1,max:5e3,step:1,default:250,scale:"log"},{kind:"number",key:"feedback",automatable:!0,label:"Feedback",unit:"",min:.01,max:.95,step:.01,default:.35},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.4}],web:"delay-feedback"},{id:"chorus",label:"Chorus",group:"time",description:"Detuned copies of the signal for width and thickness.",params:[{kind:"number",key:"delay",automatable:!0,label:"Delay",unit:"ms",min:1,max:100,step:.1,default:7},{kind:"number",key:"depth",automatable:!0,label:"Depth",unit:"ms",min:0,max:10,step:.01,default:2},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.01,max:10,step:.01,default:1},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.5}],web:"chorus-lfo"},{id:"phaser",label:"Phaser",group:"time",description:"Sweeping notches moving through the spectrum.",params:[{kind:"number",key:"in_gain",automatable:!0,label:"Input",unit:"",min:0,max:1,step:.01,default:.4},{kind:"number",key:"out_gain",automatable:!0,label:"Output",unit:"",min:0,max:2,step:.01,default:.74},{kind:"number",key:"delay",label:"Delay",unit:"ms",min:.1,max:5,step:.1,default:3},{kind:"number",key:"decay",label:"Decay",unit:"",min:0,max:.99,step:.01,default:.4},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.1,max:2,step:.01,default:.5},{kind:"enum",key:"type",label:"Waveform",options:[{value:"0",label:"Triangular"},{value:"1",label:"Sinusoidal"}],default:"0"}],web:"allpass-phaser"},{id:"reverb",label:"Reverb",group:"time",description:"Room tail. Both ends convolve the same generated impulse, so preview matches render.",params:[{kind:"number",key:"size",label:"Room size",unit:"",min:.05,max:1,step:.01,default:.7},{kind:"number",key:"damping",label:"Damping",unit:"",min:0,max:1,step:.01,default:.5,hint:"Higher rolls the top off the tail faster."},{kind:"number",key:"wet",automatable:!0,label:"Wet",unit:"",min:0,max:1,step:.01,default:.35},{kind:"number",key:"dry",automatable:!0,label:"Dry",unit:"",min:0,max:1,step:.01,default:.7}],web:"convolver"}],No=new Map(Gt.map(t=>[t.id,t]));var Oo=Gt.map(t=>t.id);function Mi(t){return 10**(t/20)}var jt=Mi(12);var qt="data-automation",qo=qt.slice(5),it=1,Ci=512,N=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},Re="volume",xe="rate";function Yt(t){if(t===Re)return{kind:"volume"};if(t===xe)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===Ii){let r=e[2];return r?{kind:"preset",presetId:r}:null}if(e.length!==3||e[0]!=="fx")return null;let[,n,i]=e;return!n||!i?null:{kind:"fx",nodeId:n,param:i}}var Ii="preset";var Di={min:0,max:jt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Pi={min:te,max:ne,step:.05,unit:"x",label:"Speed",scale:"log",default:1};function re(t){if(typeof t=="number")return Number.isFinite(t)?t:null;if(typeof t=="string"&&t.trim()!==""){let e=Number(t);return Number.isFinite(e)?e:null}return null}function Li(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Xt(t,e){let n=re(t),i=re(e);if(n===null||i===null)return null;let r=s=>Math.min(.999,Math.max(.001,s)),o=r(n),a=r(i);return Math.abs(o-a)<1e-6?null:{x:o,y:a}}function Ni(t){let e=Li(t?.curve),n=Xt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Oi(t,e){let n=re(t?.t),i=re(t?.v);if(n===null||i===null)return null;let r=e?Math.min(e.max,Math.max(e.min,i)):i;return{t:Math.max(0,n),v:r,...Ni(t)}}function Fi(t,e){let n=t.map(r=>Oi(r,e)).filter(r=>r!==null).sort((r,o)=>r.t-o.t),i=[];for(let r of n)i.length>0&&i[i.length-1].t===r.t?i[i.length-1]=r:i.push(r);return i.slice(0,Ci)}function Ui(t){let e=[];for(let n of t.lanes){if(!Yt(n.target))continue;let i=n.target===Re?Di:n.target===xe?Pi:null,r=Fi(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:it,lanes:e}}function Kt(t){let e;try{e=JSON.parse(t)}catch(r){throw new N(`Automation is not valid JSON: ${r.message}`)}if(typeof e!="object"||e===null)throw new N("Automation must be a JSON object.");let n=e;if(n.version!==it)throw new N(`Unsupported automation version: ${String(n.version)}`);if(!Array.isArray(n.lanes))throw new N("Automation is missing a `lanes` array.");let i=n.lanes.map((r,o)=>{if(typeof r!="object"||r===null)throw new N(`Lane ${o} is not an object.`);let a=r;if(typeof a.target!="string"||!Yt(a.target))throw new N(`Lane ${o} has an unreadable target: ${String(a.target)}`);if(!Array.isArray(a.points))throw new N(`Lane ${o} is missing a \`points\` array.`);return{target:a.target,points:a.points}});return Ui({version:it,lanes:i})}function Hi(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Vi(t,e){let n=t-.5,i=e-.5,r=.999,o=1e6,a=n>0?n/(r-t):n<0?-n/(t-(1-r)):0,s=i>0?i/(r-e):i<0?-i/(e-(1-r)):0,l=Math.min(o,Math.max(1,a,s));return{cx:t+n/l,cy:e+i/l,w:l}}function Wi(t,e,n){let{cx:i,cy:r,w:o}=Vi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=$i(s,l,t),c=1-u,h=c*c+2*o*u*c+u*u;return h>0?(2*o*r*u*c+u*u)/h:t}function $i(t,e,n){if(Math.abs(t)<1e-12)return Math.abs(e)<1e-12?n:-n/e;let i=Math.sqrt(Math.max(0,e*e-4*t*n)),r=(-e+i)/(2*t),o=(-e-i)/(2*t),a=s=>s>=-1e-9&&s<=1+1e-9;return a(r)?Math.min(1,Math.max(0,r)):a(o)?Math.min(1,Math.max(0,o)):n}function Bi(t,e){let n=Xt(e.viaX,e.viaY);return n?Wi(Math.min(1,Math.max(0,t)),n.x,n.y):Hi(t,e.curve)}function zi(t,e,n,i){return i==="log"&&t>0&&e>0?Math.exp(Math.log(t)+(Math.log(e)-Math.log(t))*n):t+(e-t)*n}function we(t,e,n="linear"){let i=t.points;if(i.length===0)return 0;let r=i[0];if(e<=r.t)return r.v;let o=i[i.length-1];if(e>=o.t)return o.v;let a=0,s=i.length-1;for(;s-a>1;){let h=a+s>>1;i[h].t<=e?a=h:s=h}let l=i[a],u=i[s],c=u.t-l.t;return c<=0?u.v:zi(l.v,u.v,Bi((e-l.t)/c,l),n)}var ke=new Map,Gi=64;function Zt(t,e=Re){let n=`${e}\0${t}`,i=ke.get(n);if(i!==void 0)return i;let r=null;try{r=Kt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return ke.size>Gi&&ke.clear(),ke.set(n,r),r}var Jt=48,Qt=new WeakMap;function ji(t){let e=t.points,n=e[0].v,i=e[e.length-1].v,r=[0],o=[0],a=l=>{let u=r[r.length-1];if(l<=u)return;let c=we(t,u,"log");r.push(l),o.push(o[o.length-1]+(c+we(t,l,"log"))/2*(l-u))},s=Math.max(0,e[0].t);a(s);for(let l=1;l<e.length;l+=1){let u=e[l-1].t,c=e[l].t;if(!(c<=0))for(let h=1;h<=Jt;h+=1)a(Math.max(u,0)+(c-u)*h/Jt)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function qi(t){let e=Qt.get(t);return e||(e=ji(t),Qt.set(t,e)),e}function Yi(t){return typeof t!="number"&&t.points.length>0}function Xi(t,e,n){let i=0,r=t.length-1;for(;r-i>1;){let o=i+r>>1;t[o]<=n?i=o:r=o}return e[i]+(e[r]-e[i])*(n-t[i])/(t[r]-t[i])}function en(t,e){if(typeof t=="number")return e/t;if(!Yi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=qi(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:Xi(i,n,e)}function Ki(t){return t?Zt(t,xe):null}function tn(t,e){return Ki(t)??e}var ea=[{id:"montage",label:"Montage",points:[[0,.9],[.15,.3],[.5,2.5],[.85,.3],[1,.9]]},{id:"hero",label:"Hero",points:[[0,1],[.25,1.6],[.5,.25],[.75,1.6],[1,1]]},{id:"bullet",label:"Bullet",points:[[0,3],[.4,3],[.5,.15],[.6,3],[1,3]]},{id:"jump-cut",label:"Jump cut",points:[[0,.5],[.24,.5],[.26,3],[.5,3],[.52,.5],[.74,.5],[.76,3],[1,3]]},{id:"flash-in",label:"Flash in",points:[[0,.3],[.6,.6],[1,5]]},{id:"flash-out",label:"Flash out",points:[[0,5],[.4,.6],[1,.3]]},{id:"ramp-in",label:"Ramp in",points:[[0,.5],[1,1]]},{id:"ramp-out",label:"Ramp out",points:[[0,1],[1,.5]]},{id:"slowmo-middle",label:"Slow-mo middle",points:[[0,1],[1/3,.35],[2/3,.35],[1,1]]}];var y=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),na=Object.freeze([y.start,y.duration,y.trackIndex]),ia=Object.freeze([y.derivedEnd]),ra=Object.freeze([y.derivedEnd,y.legacyTrack]);function O(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var on=/^[A-Za-z0-9_.:-]+$/;function an(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function nn(t,e){let n=e;for(;n>=0&&an(t,n);)n--;return n}function Zi(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function Ji(t){let e=t.length-1;if(!an(t,e))return null;let n=nn(t,e);return t[n]==="."&&(n=nn(t,n-1)),n+1}function Qi(t){let e=Ji(t);if(e==null)return null;let n=Zi(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!on.test(r))return null;let o=Number(t.slice(e));return Number.isFinite(o)?{refId:r,operator:i,magnitude:o}:null}function oe(t){let e=(t??"").trim();if(!e)return null;let n=O(e);if(n!=null)return{kind:"absolute",value:n};if(on.test(e))return{kind:"reference",refId:e,offset:0};let i=Qi(e);return i?{kind:"reference",refId:i.refId,offset:i.operator==="-"?-i.magnitude:i.magnitude}:null}function x(t,e,n,i){t.push({code:e,attribute:n,value:i})}function er(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",y.start,e),null;if(t.kind==="absolute")return Math.max(0,t.value);let r=n.resolveReferenceEnd?.(t.refId);return r==null||!Number.isFinite(r)?(x(i,"unresolved-start-reference",y.start,e),null):Math.max(0,r+t.offset)}var tr=1e-9;function nr(t,e){return Math.abs(t-e)<=tr}function ir(t,e,n){let i=O(t);if(i==null){x(n,"deprecated-end",y.derivedEnd,t),x(n,"invalid-end",y.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",y.derivedEnd,t);return}nr(i,e)||(x(n,"deprecated-end",y.derivedEnd,t),x(n,"conflicting-end",y.derivedEnd,t))}function rr(t,e,n){let i=O(t);return i==null||i<0?(x(n,"invalid-duration",y.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function or(t,e,n){x(n,"deprecated-end",y.derivedEnd,t);let i=O(t);return i==null?(x(n,"invalid-end",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function ar(t,e,n){let i=t.getAttribute(y.duration),r=t.getAttribute(y.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:or(r,e,n);let o=rr(i,e,n);return r!=null&&ir(r,o.end,n),o}function rn(t,e,n,i){let r=O(t);return r==null||!Number.isInteger(r)?(x(i,"invalid-track-index",e,t),{trackIndex:0,trackSource:"invalid"}):{trackIndex:r,trackSource:n}}function sr(t,e){let n=t.getAttribute(y.trackIndex),i=t.getAttribute(y.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",y.legacyTrack,i),rn(i,y.legacyTrack,"legacy-layer",e);let r=rn(n??"",y.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",y.legacyTrack,i);let o=O(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",y.legacyTrack,i),r}function rt(t,e={}){let n=[],i=t.getAttribute(y.start),r=oe(i),o=er(r,i,e,n),a=ar(t,o,n),s=sr(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return O(t)}function ot(t){return $t(e=>t.getAttribute(e),L(t)?t.defaultPlaybackRate:1)}function lr(t){return tn(t.getAttribute("data-automation"),ot(t))}function at(t){return Ee(e=>t.getAttribute(e))}function ae(t,e){return ur(e,at(t),lr(t))}function st(t){let e=tt({tag:"video",authoredDurationSeconds:Qe(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:at(t),playbackRate:ot(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Me(t,e=0){return!Vt(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:tt({tag:"img",authoredDurationSeconds:Bt(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function ur(t,e,n){return typeof n=="number"?et(t,e,n):Number.isFinite(t)?en(n,Math.max(0,t-e)):null}function sn(){return globalThis}function lt(t,e){if(typeof window>"u")return;let n=sn(),i=n.__hf?.onSwallowed;if(i)try{i({label:t,error:e})}catch(r){}(n.__hfDebug||n.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${t} swallowed:`,e)}var dr=t=>t.paused?.()===!0?(t.startTime?.()??0)+(t.totalDuration?.()??0)/Math.abs(t.timeScale?.()||1):0;function se(t){try{if(typeof t?.duration!="function")return null;let e=t.getChildren?.(!1,!1,!0),n=Array.isArray(e)?e:[],i=Math.max(Number(t.duration()),...n.map(dr));return Number.isFinite(i)?i:null}catch(e){return lt("runtime.timelineDuration",e),null}}var ln="data-hf-authored-duration",un="data-hf-authored-end";function le(t){if(t==null||typeof t=="string"&&t.trim()==="")return null;let e=typeof t=="number"?t:Number(t);return Number.isFinite(e)?e:null}function Ce(t){let e=le(t.start);if(e==null)return null;let n=Math.max(0,e),i=le(t.duration),r=le(t.authoredDuration),o=i!=null&&i>0?i:r!=null&&r>0?r:null;if(o!=null)return{start:n,duration:o,end:n+o};let a=le(t.end),s=le(t.authoredEnd),l=a!=null&&a>n?a:s!=null&&s>n?s:null;return{start:n,duration:l==null?null:l-n,end:l}}var G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),ya=Object.freeze([G.start,G.duration,G.trackIndex]),va=Object.freeze([G.derivedEnd]),Sa=Object.freeze([G.derivedEnd,G.legacyTrack]);function cr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var dn=t=>{let e=cr(t);return e!==null&&e>=0?e:null};function mr(t){return dn(t("data-playback-start"))??dn(t("data-media-start"))??0}var cn="data-hf-media-start-basis";function mn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function pr(t){return mn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function pn(t){return fn(t)?pr({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function hn(t){return fn(t)&&mn(t.basis)==="global"}function fn(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function ut(t){return mr(e=>t.getAttribute(e))}function gn(t,e){return t-ut(e)}function ue(t){let e=t.timelineRegistry??{},n=t.includeAuthoredTimingAttrs??!1,i=t.documentRef??document,r=new WeakMap,o=new WeakMap,a=new Set,s=d=>(d.hasAttribute("data-composition-id")?d.parentElement:d)?.closest("[data-composition-id]")??null,l=(d,f)=>{let b=s(f);if(b){for(let M of b.querySelectorAll(`[id="${d}"]`))if(s(M)===b)return M}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(M=>M.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,c=d=>Ce({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??Ce({start:T(d,0),end:d.getAttribute("data-end"),authoredEnd:u(d,"data-hf-authored-end")})?.duration??null,h=d=>d!=null&&Number.isFinite(d)&&d>0?d:null,v=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},_=d=>{let f=o.get(d);if(f!==void 0)return f;let b=c(d)??h(L(d)?ae(d,d.duration):null)??h(Me(d))??v(d);return o.set(d,b),b},S="[data-composition-src], [data-composition-id], [data-composition-file]",g=d=>d.matches(S),A=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${S}`)??null,k=(d,f)=>gn(T(d,f),A(d)??d),C=(d,f)=>{let b=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return b?k(b,f):0},I=(d,f)=>{let b=oe(d.getAttribute("data-start"));if(!b){let H=A(d);return H?T(H,f):f}if(b.kind==="absolute")return C(d,f)+Math.max(0,b.value);let R=l(b.refId,d);if(!R)return f;let M=T(R,0),ve=_(R)??0,Se=Math.min(0,C(d,0));return Math.max(Se,M+ve+b.offset)},T=(d,f)=>{let b=r.get(d);if(b!==void 0)return b??f;if(a.has(d))return f;a.add(d);try{let R=I(d,f);return r.set(d,R),R}finally{a.delete(d)}},U=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?k(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(cn)}};return{resolveStartForElement:(d,f=0)=>T(d,Math.max(0,f)),resolveDurationForElement:d=>_(d),resolveMediaStartForElement:d=>{let f=U(d);return pn({...f,ordinaryStart:()=>T(d,f.hostStart)})},resolveHostStartForElement:d=>C(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let b=d.parentElement;b;b=b.parentElement){if(!g(b)||A(b)||ut(b)<=0)continue;let R=T(b,0),M=c(b);f.push({start:R,end:M?R+M:1/0})}return f},isRootGlobalMediaStartForElement:d=>L(d)&&hn(U(d))}}function bn(){return{capturedTimeline:null,isPlaying:!1,currentTime:0,deterministicAdapters:[],canonicalFps:30,bridgeMuted:!1,bridgeVolume:1,mediaOutputMuted:!1,nativeMediaSyncDisabled:!1,webAudioMediaDisabled:!1,mediaAutoplayBlockedPosted:!1,mediaForceSyncNextTick:!1,playbackRate:1,bridgeLastPostedFrame:-1,bridgeLastPostedAt:0,bridgeLastPostedPlaying:!1,bridgeLastPostedMuted:!1,bridgeMaxPostIntervalMs:80,controlBridgeHandler:null,beforeUnloadHandler:null,injectedCompStyles:[],injectedCompScripts:[],injectedCompLinks:[],cachedTimedMediaEls:[],cachedMediaClips:[],cachedVideoClips:[],cachedMediaTimelineDurationSeconds:0,tornDown:!1,transportClock:null,transportRafId:null}}var _n=7200,dt=1/60,de=t=>t!==null&&t>dt?t:null;function hr(t){return{width:Ae(t.getAttribute("data-width")),height:Ae(t.getAttribute("data-height"))}}function fr(t,e){let n=null;for(let i of t.querySelectorAll("video[data-start], audio[data-start]")){let r=e.mediaStart(i);if(!Number.isFinite(r))continue;let o=e.mediaDuration(i);if(o==null||o<=dt)continue;let a=Math.max(0,r)+o;(!n||a>n.seconds)&&(n={seconds:a,element:i})}return n&&de(n.seconds)!==null?n:null}function gr(t,e){return fr(t,e)?.seconds??null}function br(t,e){let n=[];for(let r of t.querySelectorAll("[data-composition-id][data-start]")){if(r.parentElement?.closest("[data-composition-id]")!==t)continue;let o=e.resolveStartForElement(r,0),a=e.resolveDurationForElement(r);!Number.isFinite(o)||a==null||a<=0||n.push(Math.max(0,o)+a)}let i=V(t.getAttribute("data-duration"));return de(Ye({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var _r=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function yr(t,e,{unregisteredLottie:n}){let i=[];for(let o of t.querySelectorAll("[data-start]")){let a=e.resolveStartForElement(o,0);if(!Number.isFinite(a))continue;let s=e.resolveDurationForElement(o);s!=null?i.push(Math.max(0,a)+s):(L(o)||_r(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=Ye({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function vr(t){return Sr(t).seconds}function Sr(t){if(t.declared!==null&&Number.isFinite(t.declared)&&t.declared>0)return{seconds:t.declared,from:"declared",floorIndex:null};let e=de(t.timeline()),n=t.floors().map(h=>h??0),i=Math.max(0,...n),r=Number.isFinite(t.fallback)&&t.fallback>dt?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=_n&&de(o)!==null?null:e,l=i>=r,u=h=>({seconds:h,from:l?"floor":"fallback",floorIndex:l?n.indexOf(i):null});if(s!==null)return s>=o?{seconds:s,from:"timeline",floorIndex:null}:u(o);if(de(i)!==null)return u(o);if(r>0)return{seconds:r,from:"fallback",floorIndex:null};let c=t.derived();return{seconds:c>0?c:0,from:"derived",floorIndex:null}}function yn(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=vr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[gr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:st}),br(e,n)],fallback:0,derived:()=>yr(e,n,{unregisteredLottie:!1}).seconds??0});return{...hr(e),fps:bn().canonicalFps,durationSeconds:i}}function Ie(t){return t+1e-5}function vn(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function De(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var Ar="hyperframes-studio-preview";var ct="data-hf-player-frame";function Er(t){return De()&&t.defaultView?.frameElement?.hasAttribute(ct)===!0}function Sn(t){return t.querySelector(`meta[name="${Ar}"]`)!==null||Er(t)}var An="__hfPreviewErrors";function En(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function Tn(t){return j(t)&&typeof t.getDuration=="function"}function Rn(t){return j(t)&&typeof t.duration=="function"&&typeof t.time=="function"&&typeof t.seek=="function"&&typeof t.play=="function"&&typeof t.pause=="function"}var q="https://cdn.jsdelivr.net/npm/@hyperframes/core@0.9.61/dist/hyperframe.runtime.iife.js";function ce(t){if(t===null)return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function Tr(t){let e=t?.querySelector("[data-composition-id][data-width][data-height]")??t?.querySelector("[data-width][data-height]");if(!e)return null;let n=ce(e.getAttribute("data-width")),i=ce(e.getAttribute("data-height"));return n!==null&&i!==null?{width:n,height:i}:null}function Rr(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Pe=class{constructor(e,n){this._iframe=e;this._callbacks=n}_iframe;_callbacks;_interval=null;_runtimeInjected=!1;_runtimeScript=null;_failure=null;get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let e=0;this._interval=setInterval(()=>{e++;let n=null;try{n=this._poll(e)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(n={kind:"error",message:i instanceof Error?i.message:String(i)})}n??=this._deadlineOutcome(e),n&&(this.stop(),n.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(n.message)):this._callbacks.onReady(n.result))},200)}_deadlineOutcome(e){return e<40||this._callbacks.hostOwnsDeadline?.()?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(e){let n=this._iframe.contentWindow;if(!n)return null;let i=Rr(Reflect.get(n,An));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(En({hasRuntime:a,hasTimelines:j(o)&&Object.keys(o).length>0,hasNestedCompositions:!!r?.querySelector("[data-composition-src]"),runtimeInjected:this._runtimeInjected,attempts:e}))return this._injectRuntime(),null;if(this._runtimeInjected&&!a)return null;let s=this._resolveReadyResult(n,r);return s?{kind:"ready",result:s}:null}_resolveReadyResult(e,n){let i=this._resolvePlaybackDurationAdapter(e)??{kind:"document",getDuration:()=>0},r=i.getDuration();if(!Number.isFinite(r)||r<=0){if(i.kind==="direct-timeline")return null;r=n?yn(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:Tr(n)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{let e=this._iframe.contentWindow;return e?this._resolveDirectTimelineAdapterFromWindow(e):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(e){return this._resolveDirectTimelineAdapterFromWindow(e)}hasRuntimeBridge(e){return j(Reflect.get(e,"__player"))}_injectRuntime(){this._runtimeInjected=!0;try{let e=this._iframe.contentDocument;if(!e)return;let n=e.createElement("script");n.src=this._callbacks.resolveRuntimeUrl?.()??q,this._runtimeScript=n,n.onerror=()=>{this._runtimeScript!==n||this._iframe.contentDocument!==e||(this.stop(),this._failure={document:e},this._callbacks.onError("HyperFrames runtime failed to load from "+n.src))},(e.head||e.documentElement).appendChild(n),this._callbacks.onRuntimeInjected?.()}catch{}}_resolveDirectTimelineAdapterFromWindow(e){if(this.hasRuntimeBridge(e))return null;let n=Reflect.get(e,"__timelines");if(!j(n))return null;let i=Object.keys(n);if(i.length===0)return null;let r=this._iframe.contentDocument?.querySelector("[data-composition-id]")?.getAttribute("data-composition-id"),o=r&&r in n?r:i[i.length-1],a=n[o];return Rn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(Tn(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var xn=`
|
|
1
|
+
"use strict";var HyperframesPlayer=(()=>{var qe=Object.defineProperty;var _i=Object.getOwnPropertyDescriptor;var yi=Object.getOwnPropertyNames;var vi=Object.prototype.hasOwnProperty;var Si=(t,e)=>{for(var n in e)qe(t,n,{get:e[n],enumerable:!0})},Ai=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of yi(e))!vi.call(t,r)&&r!==n&&qe(t,r,{get:()=>e[r],enumerable:!(i=_i(e,r))||i.enumerable});return t};var Ei=t=>Ai(qe({},"__esModule",{value:!0}),t);var To={};Si(To,{HyperframesPlayer:()=>Ge,SPEED_PRESETS:()=>ht,formatSpeed:()=>W,formatTime:()=>Le});var Ut=t=>t!==null&&Number.isFinite(t)&&t>0;function Ye(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Ut(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Ut);return n.length>0?{seconds:Math.max(...n),source:"derived",pendingClips:e}:{seconds:null,source:"unresolved",pendingClips:e,reason:e>0?"every clip's length is still pending":"no authored duration and no clip with a length"}}var Ti="http://www.w3.org/1999/xhtml";function Ht(t){return t!=null&&t.nodeType===1}function Xe(t){return Ht(t)&&t.namespaceURI===Ti}function Ke(t,e){return Xe(t)&&t.localName===e}function Ri(t){return Ke(t,"video")}function xi(t){return Ke(t,"audio")}function L(t){return Ri(t)||xi(t)}function Vt(t){return Ke(t,"img")}function Ae(t){if(t==null||t.trim()==="")return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function ee(t=document){let e=t.querySelector('[data-composition-id][data-root="true"]');return Xe(e)?e:t.querySelector("[data-composition-id]")}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Co=Object.freeze([z.start,z.duration,z.trackIndex]),Io=Object.freeze([z.derivedEnd]),Do=Object.freeze([z.derivedEnd,z.legacyTrack]);function Ze(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var Wt=t=>{let e=Ze(t);return e!==null&&e>=0?e:null};function Ee(t){return Wt(t("data-playback-start"))??Wt(t("data-media-start"))??0}var te=.1,ne=10;function Je(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function $t(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return Je(Number.isFinite(n)&&n>0?n:e)}function Qe(t){let e=Ze(t("data-duration"));return e!==null&&e>0?e:null}function Bt(t,e){let n=Qe(t);if(n!==null)return n;let i=Ze(t("data-end"));return i!==null?i-e:null}var wi=3;function et(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/Je(n):null}function tt(t){let{tag:e,authoredDurationSeconds:n,sourceDurationSeconds:i,mediaStartSeconds:r,playbackRate:o}=t;if(n!==null&&n>0)return{seconds:n,source:"authored"};if(e==="img")return{seconds:wi,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=et(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var ki="data-fx-chain",Lo=ki.slice(5);var ie=(t="frequency",e="Frequency",n=1e3,i=20,r=2e4)=>({kind:"number",key:t,label:e,unit:"Hz",min:i,max:r,step:1,default:n,scale:"log",automatable:!0}),nt=(t=.707,e="Bandwidth: higher is narrower.")=>({kind:"number",key:"q",label:"Q",unit:"",min:.1,max:20,step:.01,default:t,scale:"log",automatable:!0,hint:e}),Te=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),zt={kind:"enum",key:"poles",label:"Slope",options:[{value:"1",label:"6 dB/oct"},{value:"2",label:"12 dB/oct"}],default:"2",hint:"Two poles is the usual biquad; one pole is gentler."},Gt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[Te(-60,12,0)],web:"gain-node"},{id:"peaking",label:"Peaking EQ",group:"filter",description:"Boost or cut a band, leaving everything either side alone.",params:[ie("frequency","Frequency",1e3),Te(-40,40,0),nt(1)],web:"biquad-peaking"},{id:"lowshelf",label:"Low Shelf",group:"filter",description:"Lift or drop everything below the corner frequency.",params:[ie("frequency","Frequency",200,20,2e3),Te(-40,40,0)],web:"biquad-lowshelf"},{id:"highshelf",label:"High Shelf",group:"filter",description:"Lift or drop everything above the corner frequency.",params:[ie("frequency","Frequency",4e3,500,2e4),Te(-40,40,0)],web:"biquad-highshelf"},{id:"highpass",label:"High-pass",group:"filter",description:"Remove low frequencies: the usual fix for rumble on a voice.",params:[ie("frequency","Cutoff",300,20,2e4),nt(.707),zt],web:"biquad-highpass"},{id:"lowpass",label:"Low-pass",group:"filter",description:"Remove high frequencies, which darkens or muffles a track.",params:[ie("frequency","Cutoff",8e3,100,2e4),nt(.707),zt],web:"biquad-lowpass"},{id:"compressor",label:"Compressor",group:"dynamics",description:"Pull loud parts down so the quiet ones can come up.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-60,max:0,step:.5,default:-24,hint:"Level above which the compressor starts working."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:4},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:2e3,step:.1,default:20,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:250,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83,hint:"1 is a hard corner; higher eases into it."},{kind:"number",key:"makeup",label:"Makeup",unit:"dB",min:0,max:36,step:.1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1,hint:"Below 1 blends the dry signal back in."}],web:"worklet-compressor"},{id:"limiter",label:"Limiter",group:"dynamics",description:"Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.",params:[{kind:"number",key:"limit",label:"Ceiling",unit:"dB",min:-24,max:0,step:.1,default:-1},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.1,max:80,step:.1,default:5},{kind:"number",key:"release",label:"Release",unit:"ms",min:1,max:8e3,step:1,default:50,scale:"log"},{kind:"number",key:"level_out",label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0}],web:"worklet-limiter"},{id:"truepeak",label:"True-peak limiter",group:"dynamics",description:"Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.",params:[{kind:"number",key:"ceiling",label:"Ceiling",unit:"dBTP",min:-24,max:0,step:.1,default:-1,hint:"Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it."},{kind:"number",key:"lookahead",label:"Lookahead",unit:"ms",min:.5,max:10,step:.1,default:3,hint:"How far ahead the gain starts falling. Longer is smoother and adds the same latency."},{kind:"number",key:"release",label:"Release",unit:"ms",min:10,max:2e3,step:1,default:80,scale:"log"}],web:"worklet-truepeak"},{id:"gate",label:"Noise Gate",group:"dynamics",description:"Silence the track when it drops below the threshold.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-80,max:0,step:.5,default:-35},{kind:"number",key:"range",label:"Range",unit:"dB",min:-80,max:0,step:.5,default:-24,hint:"How far down the gate pulls when closed."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:10},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:9e3,step:.1,default:1,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:100,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83}],web:"worklet-gate"},{id:"saturate",label:"Saturation",group:"nonlinear",description:"Soft-clip the waveform for warmth or outright distortion.",params:[{kind:"enum",key:"type",label:"Curve",options:[{value:"tanh",label:"Tanh"},{value:"atan",label:"Arctan"},{value:"cubic",label:"Cubic"},{value:"exp",label:"Exponential"},{value:"alg",label:"Algebraic"},{value:"quintic",label:"Quintic"},{value:"sin",label:"Sine"},{value:"erf",label:"Error function"},{value:"hard",label:"Hard clip"}],default:"tanh"},{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-40,max:0,step:.1,default:-6},{kind:"number",key:"output",automatable:!0,label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0},{kind:"number",key:"oversample",label:"Oversample",unit:"x",min:1,max:8,step:1,default:4,hint:"Higher costs more but keeps aliasing down."}],web:"waveshaper"},{id:"bitcrush",label:"Bitcrush",group:"nonlinear",description:"Drop bit depth and sample rate for a lo-fi, digital sound.",params:[{kind:"number",key:"bits",label:"Bit depth",unit:"bit",min:1,max:32,step:.1,default:8},{kind:"number",key:"samples",label:"Sample hold",unit:"x",min:1,max:250,step:1,default:1,hint:"Repeats each sample N times, a crude downsample."},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-bitcrush"},{id:"pitchshift",label:"Pitch shift",group:"time",description:"Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.",params:[{kind:"number",key:"semitones",label:"Semitones",unit:"st",min:-12,max:12,step:1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-pitchshift"},{id:"delay",label:"Delay",group:"time",description:"Repeating echoes behind the dry signal.",params:[{kind:"number",key:"time",automatable:!0,label:"Time",unit:"ms",min:1,max:5e3,step:1,default:250,scale:"log"},{kind:"number",key:"feedback",automatable:!0,label:"Feedback",unit:"",min:.01,max:.95,step:.01,default:.35},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.4}],web:"delay-feedback"},{id:"chorus",label:"Chorus",group:"time",description:"Detuned copies of the signal for width and thickness.",params:[{kind:"number",key:"delay",automatable:!0,label:"Delay",unit:"ms",min:1,max:100,step:.1,default:7},{kind:"number",key:"depth",automatable:!0,label:"Depth",unit:"ms",min:0,max:10,step:.01,default:2},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.01,max:10,step:.01,default:1},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.5}],web:"chorus-lfo"},{id:"phaser",label:"Phaser",group:"time",description:"Sweeping notches moving through the spectrum.",params:[{kind:"number",key:"in_gain",automatable:!0,label:"Input",unit:"",min:0,max:1,step:.01,default:.4},{kind:"number",key:"out_gain",automatable:!0,label:"Output",unit:"",min:0,max:2,step:.01,default:.74},{kind:"number",key:"delay",label:"Delay",unit:"ms",min:.1,max:5,step:.1,default:3},{kind:"number",key:"decay",label:"Decay",unit:"",min:0,max:.99,step:.01,default:.4},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.1,max:2,step:.01,default:.5},{kind:"enum",key:"type",label:"Waveform",options:[{value:"0",label:"Triangular"},{value:"1",label:"Sinusoidal"}],default:"0"}],web:"allpass-phaser"},{id:"reverb",label:"Reverb",group:"time",description:"Room tail. Both ends convolve the same generated impulse, so preview matches render.",params:[{kind:"number",key:"size",label:"Room size",unit:"",min:.05,max:1,step:.01,default:.7},{kind:"number",key:"damping",label:"Damping",unit:"",min:0,max:1,step:.01,default:.5,hint:"Higher rolls the top off the tail faster."},{kind:"number",key:"wet",automatable:!0,label:"Wet",unit:"",min:0,max:1,step:.01,default:.35},{kind:"number",key:"dry",automatable:!0,label:"Dry",unit:"",min:0,max:1,step:.01,default:.7}],web:"convolver"}],No=new Map(Gt.map(t=>[t.id,t]));var Oo=Gt.map(t=>t.id);function Mi(t){return 10**(t/20)}var jt=Mi(12);var qt="data-automation",qo=qt.slice(5),it=1,Ci=512,N=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},Re="volume",xe="rate";function Yt(t){if(t===Re)return{kind:"volume"};if(t===xe)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===Ii){let r=e[2];return r?{kind:"preset",presetId:r}:null}if(e.length!==3||e[0]!=="fx")return null;let[,n,i]=e;return!n||!i?null:{kind:"fx",nodeId:n,param:i}}var Ii="preset";var Di={min:0,max:jt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Pi={min:te,max:ne,step:.05,unit:"x",label:"Speed",scale:"log",default:1};function re(t){if(typeof t=="number")return Number.isFinite(t)?t:null;if(typeof t=="string"&&t.trim()!==""){let e=Number(t);return Number.isFinite(e)?e:null}return null}function Li(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Xt(t,e){let n=re(t),i=re(e);if(n===null||i===null)return null;let r=s=>Math.min(.999,Math.max(.001,s)),o=r(n),a=r(i);return Math.abs(o-a)<1e-6?null:{x:o,y:a}}function Ni(t){let e=Li(t?.curve),n=Xt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Oi(t,e){let n=re(t?.t),i=re(t?.v);if(n===null||i===null)return null;let r=e?Math.min(e.max,Math.max(e.min,i)):i;return{t:Math.max(0,n),v:r,...Ni(t)}}function Fi(t,e){let n=t.map(r=>Oi(r,e)).filter(r=>r!==null).sort((r,o)=>r.t-o.t),i=[];for(let r of n)i.length>0&&i[i.length-1].t===r.t?i[i.length-1]=r:i.push(r);return i.slice(0,Ci)}function Ui(t){let e=[];for(let n of t.lanes){if(!Yt(n.target))continue;let i=n.target===Re?Di:n.target===xe?Pi:null,r=Fi(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:it,lanes:e}}function Kt(t){let e;try{e=JSON.parse(t)}catch(r){throw new N(`Automation is not valid JSON: ${r.message}`)}if(typeof e!="object"||e===null)throw new N("Automation must be a JSON object.");let n=e;if(n.version!==it)throw new N(`Unsupported automation version: ${String(n.version)}`);if(!Array.isArray(n.lanes))throw new N("Automation is missing a `lanes` array.");let i=n.lanes.map((r,o)=>{if(typeof r!="object"||r===null)throw new N(`Lane ${o} is not an object.`);let a=r;if(typeof a.target!="string"||!Yt(a.target))throw new N(`Lane ${o} has an unreadable target: ${String(a.target)}`);if(!Array.isArray(a.points))throw new N(`Lane ${o} is missing a \`points\` array.`);return{target:a.target,points:a.points}});return Ui({version:it,lanes:i})}function Hi(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Vi(t,e){let n=t-.5,i=e-.5,r=.999,o=1e6,a=n>0?n/(r-t):n<0?-n/(t-(1-r)):0,s=i>0?i/(r-e):i<0?-i/(e-(1-r)):0,l=Math.min(o,Math.max(1,a,s));return{cx:t+n/l,cy:e+i/l,w:l}}function Wi(t,e,n){let{cx:i,cy:r,w:o}=Vi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=$i(s,l,t),c=1-u,h=c*c+2*o*u*c+u*u;return h>0?(2*o*r*u*c+u*u)/h:t}function $i(t,e,n){if(Math.abs(t)<1e-12)return Math.abs(e)<1e-12?n:-n/e;let i=Math.sqrt(Math.max(0,e*e-4*t*n)),r=(-e+i)/(2*t),o=(-e-i)/(2*t),a=s=>s>=-1e-9&&s<=1+1e-9;return a(r)?Math.min(1,Math.max(0,r)):a(o)?Math.min(1,Math.max(0,o)):n}function Bi(t,e){let n=Xt(e.viaX,e.viaY);return n?Wi(Math.min(1,Math.max(0,t)),n.x,n.y):Hi(t,e.curve)}function zi(t,e,n,i){return i==="log"&&t>0&&e>0?Math.exp(Math.log(t)+(Math.log(e)-Math.log(t))*n):t+(e-t)*n}function we(t,e,n="linear"){let i=t.points;if(i.length===0)return 0;let r=i[0];if(e<=r.t)return r.v;let o=i[i.length-1];if(e>=o.t)return o.v;let a=0,s=i.length-1;for(;s-a>1;){let h=a+s>>1;i[h].t<=e?a=h:s=h}let l=i[a],u=i[s],c=u.t-l.t;return c<=0?u.v:zi(l.v,u.v,Bi((e-l.t)/c,l),n)}var ke=new Map,Gi=64;function Zt(t,e=Re){let n=`${e}\0${t}`,i=ke.get(n);if(i!==void 0)return i;let r=null;try{r=Kt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return ke.size>Gi&&ke.clear(),ke.set(n,r),r}var Jt=48,Qt=new WeakMap;function ji(t){let e=t.points,n=e[0].v,i=e[e.length-1].v,r=[0],o=[0],a=l=>{let u=r[r.length-1];if(l<=u)return;let c=we(t,u,"log");r.push(l),o.push(o[o.length-1]+(c+we(t,l,"log"))/2*(l-u))},s=Math.max(0,e[0].t);a(s);for(let l=1;l<e.length;l+=1){let u=e[l-1].t,c=e[l].t;if(!(c<=0))for(let h=1;h<=Jt;h+=1)a(Math.max(u,0)+(c-u)*h/Jt)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function qi(t){let e=Qt.get(t);return e||(e=ji(t),Qt.set(t,e)),e}function Yi(t){return typeof t!="number"&&t.points.length>0}function Xi(t,e,n){let i=0,r=t.length-1;for(;r-i>1;){let o=i+r>>1;t[o]<=n?i=o:r=o}return e[i]+(e[r]-e[i])*(n-t[i])/(t[r]-t[i])}function en(t,e){if(typeof t=="number")return e/t;if(!Yi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=qi(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:Xi(i,n,e)}function Ki(t){return t?Zt(t,xe):null}function tn(t,e){return Ki(t)??e}var ea=[{id:"montage",label:"Montage",points:[[0,.9],[.15,.3],[.5,2.5],[.85,.3],[1,.9]]},{id:"hero",label:"Hero",points:[[0,1],[.25,1.6],[.5,.25],[.75,1.6],[1,1]]},{id:"bullet",label:"Bullet",points:[[0,3],[.4,3],[.5,.15],[.6,3],[1,3]]},{id:"jump-cut",label:"Jump cut",points:[[0,.5],[.24,.5],[.26,3],[.5,3],[.52,.5],[.74,.5],[.76,3],[1,3]]},{id:"flash-in",label:"Flash in",points:[[0,.3],[.6,.6],[1,5]]},{id:"flash-out",label:"Flash out",points:[[0,5],[.4,.6],[1,.3]]},{id:"ramp-in",label:"Ramp in",points:[[0,.5],[1,1]]},{id:"ramp-out",label:"Ramp out",points:[[0,1],[1,.5]]},{id:"slowmo-middle",label:"Slow-mo middle",points:[[0,1],[1/3,.35],[2/3,.35],[1,1]]}];var y=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),na=Object.freeze([y.start,y.duration,y.trackIndex]),ia=Object.freeze([y.derivedEnd]),ra=Object.freeze([y.derivedEnd,y.legacyTrack]);function O(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var on=/^[A-Za-z0-9_.:-]+$/;function an(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function nn(t,e){let n=e;for(;n>=0&&an(t,n);)n--;return n}function Zi(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function Ji(t){let e=t.length-1;if(!an(t,e))return null;let n=nn(t,e);return t[n]==="."&&(n=nn(t,n-1)),n+1}function Qi(t){let e=Ji(t);if(e==null)return null;let n=Zi(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!on.test(r))return null;let o=Number(t.slice(e));return Number.isFinite(o)?{refId:r,operator:i,magnitude:o}:null}function oe(t){let e=(t??"").trim();if(!e)return null;let n=O(e);if(n!=null)return{kind:"absolute",value:n};if(on.test(e))return{kind:"reference",refId:e,offset:0};let i=Qi(e);return i?{kind:"reference",refId:i.refId,offset:i.operator==="-"?-i.magnitude:i.magnitude}:null}function x(t,e,n,i){t.push({code:e,attribute:n,value:i})}function er(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",y.start,e),null;if(t.kind==="absolute")return Math.max(0,t.value);let r=n.resolveReferenceEnd?.(t.refId);return r==null||!Number.isFinite(r)?(x(i,"unresolved-start-reference",y.start,e),null):Math.max(0,r+t.offset)}var tr=1e-9;function nr(t,e){return Math.abs(t-e)<=tr}function ir(t,e,n){let i=O(t);if(i==null){x(n,"deprecated-end",y.derivedEnd,t),x(n,"invalid-end",y.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",y.derivedEnd,t);return}nr(i,e)||(x(n,"deprecated-end",y.derivedEnd,t),x(n,"conflicting-end",y.derivedEnd,t))}function rr(t,e,n){let i=O(t);return i==null||i<0?(x(n,"invalid-duration",y.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function or(t,e,n){x(n,"deprecated-end",y.derivedEnd,t);let i=O(t);return i==null?(x(n,"invalid-end",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function ar(t,e,n){let i=t.getAttribute(y.duration),r=t.getAttribute(y.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:or(r,e,n);let o=rr(i,e,n);return r!=null&&ir(r,o.end,n),o}function rn(t,e,n,i){let r=O(t);return r==null||!Number.isInteger(r)?(x(i,"invalid-track-index",e,t),{trackIndex:0,trackSource:"invalid"}):{trackIndex:r,trackSource:n}}function sr(t,e){let n=t.getAttribute(y.trackIndex),i=t.getAttribute(y.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",y.legacyTrack,i),rn(i,y.legacyTrack,"legacy-layer",e);let r=rn(n??"",y.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",y.legacyTrack,i);let o=O(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",y.legacyTrack,i),r}function rt(t,e={}){let n=[],i=t.getAttribute(y.start),r=oe(i),o=er(r,i,e,n),a=ar(t,o,n),s=sr(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return O(t)}function ot(t){return $t(e=>t.getAttribute(e),L(t)?t.defaultPlaybackRate:1)}function lr(t){return tn(t.getAttribute("data-automation"),ot(t))}function at(t){return Ee(e=>t.getAttribute(e))}function ae(t,e){return ur(e,at(t),lr(t))}function st(t){let e=tt({tag:"video",authoredDurationSeconds:Qe(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:at(t),playbackRate:ot(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Me(t,e=0){return!Vt(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:tt({tag:"img",authoredDurationSeconds:Bt(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function ur(t,e,n){return typeof n=="number"?et(t,e,n):Number.isFinite(t)?en(n,Math.max(0,t-e)):null}function sn(){return globalThis}function lt(t,e){if(typeof window>"u")return;let n=sn(),i=n.__hf?.onSwallowed;if(i)try{i({label:t,error:e})}catch(r){}(n.__hfDebug||n.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${t} swallowed:`,e)}var dr=t=>t.paused?.()===!0?(t.startTime?.()??0)+(t.totalDuration?.()??0)/Math.abs(t.timeScale?.()||1):0;function se(t){try{if(typeof t?.duration!="function")return null;let e=t.getChildren?.(!1,!1,!0),n=Array.isArray(e)?e:[],i=Math.max(Number(t.duration()),...n.map(dr));return Number.isFinite(i)?i:null}catch(e){return lt("runtime.timelineDuration",e),null}}var ln="data-hf-authored-duration",un="data-hf-authored-end";function le(t){if(t==null||typeof t=="string"&&t.trim()==="")return null;let e=typeof t=="number"?t:Number(t);return Number.isFinite(e)?e:null}function Ce(t){let e=le(t.start);if(e==null)return null;let n=Math.max(0,e),i=le(t.duration),r=le(t.authoredDuration),o=i!=null&&i>0?i:r!=null&&r>0?r:null;if(o!=null)return{start:n,duration:o,end:n+o};let a=le(t.end),s=le(t.authoredEnd),l=a!=null&&a>n?a:s!=null&&s>n?s:null;return{start:n,duration:l==null?null:l-n,end:l}}var G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),ya=Object.freeze([G.start,G.duration,G.trackIndex]),va=Object.freeze([G.derivedEnd]),Sa=Object.freeze([G.derivedEnd,G.legacyTrack]);function cr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var dn=t=>{let e=cr(t);return e!==null&&e>=0?e:null};function mr(t){return dn(t("data-playback-start"))??dn(t("data-media-start"))??0}var cn="data-hf-media-start-basis";function mn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function pr(t){return mn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function pn(t){return fn(t)?pr({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function hn(t){return fn(t)&&mn(t.basis)==="global"}function fn(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function ut(t){return mr(e=>t.getAttribute(e))}function gn(t,e){return t-ut(e)}function ue(t){let e=t.timelineRegistry??{},n=t.includeAuthoredTimingAttrs??!1,i=t.documentRef??document,r=new WeakMap,o=new WeakMap,a=new Set,s=d=>(d.hasAttribute("data-composition-id")?d.parentElement:d)?.closest("[data-composition-id]")??null,l=(d,f)=>{let b=s(f);if(b){for(let M of b.querySelectorAll(`[id="${d}"]`))if(s(M)===b)return M}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(M=>M.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,c=d=>Ce({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??Ce({start:T(d,0),end:d.getAttribute("data-end"),authoredEnd:u(d,"data-hf-authored-end")})?.duration??null,h=d=>d!=null&&Number.isFinite(d)&&d>0?d:null,v=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},_=d=>{let f=o.get(d);if(f!==void 0)return f;let b=c(d)??h(L(d)?ae(d,d.duration):null)??h(Me(d))??v(d);return o.set(d,b),b},S="[data-composition-src], [data-composition-id], [data-composition-file]",g=d=>d.matches(S),A=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${S}`)??null,k=(d,f)=>gn(T(d,f),A(d)??d),C=(d,f)=>{let b=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return b?k(b,f):0},I=(d,f)=>{let b=oe(d.getAttribute("data-start"));if(!b){let H=A(d);return H?T(H,f):f}if(b.kind==="absolute")return C(d,f)+Math.max(0,b.value);let R=l(b.refId,d);if(!R)return f;let M=T(R,0),ve=_(R)??0,Se=Math.min(0,C(d,0));return Math.max(Se,M+ve+b.offset)},T=(d,f)=>{let b=r.get(d);if(b!==void 0)return b??f;if(a.has(d))return f;a.add(d);try{let R=I(d,f);return r.set(d,R),R}finally{a.delete(d)}},U=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?k(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(cn)}};return{resolveStartForElement:(d,f=0)=>T(d,Math.max(0,f)),resolveDurationForElement:d=>_(d),resolveMediaStartForElement:d=>{let f=U(d);return pn({...f,ordinaryStart:()=>T(d,f.hostStart)})},resolveHostStartForElement:d=>C(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let b=d.parentElement;b;b=b.parentElement){if(!g(b)||A(b)||ut(b)<=0)continue;let R=T(b,0),M=c(b);f.push({start:R,end:M?R+M:1/0})}return f},isRootGlobalMediaStartForElement:d=>L(d)&&hn(U(d))}}function bn(){return{capturedTimeline:null,isPlaying:!1,currentTime:0,deterministicAdapters:[],canonicalFps:30,bridgeMuted:!1,bridgeVolume:1,mediaOutputMuted:!1,nativeMediaSyncDisabled:!1,webAudioMediaDisabled:!1,mediaAutoplayBlockedPosted:!1,mediaForceSyncNextTick:!1,playbackRate:1,bridgeLastPostedFrame:-1,bridgeLastPostedAt:0,bridgeLastPostedPlaying:!1,bridgeLastPostedMuted:!1,bridgeMaxPostIntervalMs:80,controlBridgeHandler:null,beforeUnloadHandler:null,injectedCompStyles:[],injectedCompScripts:[],injectedCompLinks:[],cachedTimedMediaEls:[],cachedMediaClips:[],cachedVideoClips:[],cachedMediaTimelineDurationSeconds:0,tornDown:!1,transportClock:null,transportRafId:null}}var _n=7200,dt=1/60,de=t=>t!==null&&t>dt?t:null;function hr(t){return{width:Ae(t.getAttribute("data-width")),height:Ae(t.getAttribute("data-height"))}}function fr(t,e){let n=null;for(let i of t.querySelectorAll("video[data-start], audio[data-start]")){let r=e.mediaStart(i);if(!Number.isFinite(r))continue;let o=e.mediaDuration(i);if(o==null||o<=dt)continue;let a=Math.max(0,r)+o;(!n||a>n.seconds)&&(n={seconds:a,element:i})}return n&&de(n.seconds)!==null?n:null}function gr(t,e){return fr(t,e)?.seconds??null}function br(t,e){let n=[];for(let r of t.querySelectorAll("[data-composition-id][data-start]")){if(r.parentElement?.closest("[data-composition-id]")!==t)continue;let o=e.resolveStartForElement(r,0),a=e.resolveDurationForElement(r);!Number.isFinite(o)||a==null||a<=0||n.push(Math.max(0,o)+a)}let i=V(t.getAttribute("data-duration"));return de(Ye({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var _r=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function yr(t,e,{unregisteredLottie:n}){let i=[];for(let o of t.querySelectorAll("[data-start]")){let a=e.resolveStartForElement(o,0);if(!Number.isFinite(a))continue;let s=e.resolveDurationForElement(o);s!=null?i.push(Math.max(0,a)+s):(L(o)||_r(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=Ye({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function vr(t){return Sr(t).seconds}function Sr(t){if(t.declared!==null&&Number.isFinite(t.declared)&&t.declared>0)return{seconds:t.declared,from:"declared",floorIndex:null};let e=de(t.timeline()),n=t.floors().map(h=>h??0),i=Math.max(0,...n),r=Number.isFinite(t.fallback)&&t.fallback>dt?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=_n&&de(o)!==null?null:e,l=i>=r,u=h=>({seconds:h,from:l?"floor":"fallback",floorIndex:l?n.indexOf(i):null});if(s!==null)return s>=o?{seconds:s,from:"timeline",floorIndex:null}:u(o);if(de(i)!==null)return u(o);if(r>0)return{seconds:r,from:"fallback",floorIndex:null};let c=t.derived();return{seconds:c>0?c:0,from:"derived",floorIndex:null}}function yn(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=vr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[gr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:st}),br(e,n)],fallback:0,derived:()=>yr(e,n,{unregisteredLottie:!1}).seconds??0});return{...hr(e),fps:bn().canonicalFps,durationSeconds:i}}function Ie(t){return t+1e-5}function vn(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function De(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var Ar="hyperframes-studio-preview";var ct="data-hf-player-frame";function Er(t){return De()&&t.defaultView?.frameElement?.hasAttribute(ct)===!0}function Sn(t){return t.querySelector(`meta[name="${Ar}"]`)!==null||Er(t)}var An="__hfPreviewErrors";function En(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function Tn(t){return j(t)&&typeof t.getDuration=="function"}function Rn(t){return j(t)&&typeof t.duration=="function"&&typeof t.time=="function"&&typeof t.seek=="function"&&typeof t.play=="function"&&typeof t.pause=="function"}var q="https://cdn.jsdelivr.net/npm/@hyperframes/core@0.9.63/dist/hyperframe.runtime.iife.js";function ce(t){if(t===null)return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function Tr(t){let e=t?.querySelector("[data-composition-id][data-width][data-height]")??t?.querySelector("[data-width][data-height]");if(!e)return null;let n=ce(e.getAttribute("data-width")),i=ce(e.getAttribute("data-height"));return n!==null&&i!==null?{width:n,height:i}:null}function Rr(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Pe=class{constructor(e,n){this._iframe=e;this._callbacks=n}_iframe;_callbacks;_interval=null;_runtimeInjected=!1;_runtimeScript=null;_failure=null;get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let e=0;this._interval=setInterval(()=>{e++;let n=null;try{n=this._poll(e)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(n={kind:"error",message:i instanceof Error?i.message:String(i)})}n??=this._deadlineOutcome(e),n&&(this.stop(),n.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(n.message)):this._callbacks.onReady(n.result))},200)}_deadlineOutcome(e){return e<40||this._callbacks.hostOwnsDeadline?.()?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(e){let n=this._iframe.contentWindow;if(!n)return null;let i=Rr(Reflect.get(n,An));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(En({hasRuntime:a,hasTimelines:j(o)&&Object.keys(o).length>0,hasNestedCompositions:!!r?.querySelector("[data-composition-src]"),runtimeInjected:this._runtimeInjected,attempts:e}))return this._injectRuntime(),null;if(this._runtimeInjected&&!a)return null;let s=this._resolveReadyResult(n,r);return s?{kind:"ready",result:s}:null}_resolveReadyResult(e,n){let i=this._resolvePlaybackDurationAdapter(e)??{kind:"document",getDuration:()=>0},r=i.getDuration();if(!Number.isFinite(r)||r<=0){if(i.kind==="direct-timeline")return null;r=n?yn(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:Tr(n)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{let e=this._iframe.contentWindow;return e?this._resolveDirectTimelineAdapterFromWindow(e):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(e){return this._resolveDirectTimelineAdapterFromWindow(e)}hasRuntimeBridge(e){return j(Reflect.get(e,"__player"))}_injectRuntime(){this._runtimeInjected=!0;try{let e=this._iframe.contentDocument;if(!e)return;let n=e.createElement("script");n.src=this._callbacks.resolveRuntimeUrl?.()??q,this._runtimeScript=n,n.onerror=()=>{this._runtimeScript!==n||this._iframe.contentDocument!==e||(this.stop(),this._failure={document:e},this._callbacks.onError("HyperFrames runtime failed to load from "+n.src))},(e.head||e.documentElement).appendChild(n),this._callbacks.onRuntimeInjected?.()}catch{}}_resolveDirectTimelineAdapterFromWindow(e){if(this.hasRuntimeBridge(e))return null;let n=Reflect.get(e,"__timelines");if(!j(n))return null;let i=Object.keys(n);if(i.length===0)return null;let r=this._iframe.contentDocument?.querySelector("[data-composition-id]")?.getAttribute("data-composition-id"),o=r&&r in n?r:i[i.length-1],a=n[o];return Rn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(Tn(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var xn=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
10
|
import {
|
|
11
11
|
heardClips
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HHM2JZLH.js";
|
|
13
|
+
import "./chunk-E6WYYM6K.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveProject
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-S4X7H76F.js";
|
|
17
|
+
import "./chunk-IBU2BW4H.js";
|
|
18
|
+
import "./chunk-RHHPEUVM.js";
|
|
19
19
|
import "./chunk-PXVQOMKL.js";
|
|
20
20
|
import "./chunk-NGRWDXRZ.js";
|
|
21
21
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -31,20 +31,20 @@ import "./chunk-54HJ63Q2.js";
|
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-JCNPHRGX.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-R5HNUPI5.js";
|
|
35
35
|
import "./chunk-Z5J67X44.js";
|
|
36
36
|
import "./chunk-PJQVJSMG.js";
|
|
37
37
|
import "./chunk-3GXQPCJC.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LKHH4BUW.js";
|
|
39
39
|
import "./chunk-5S7W3TUO.js";
|
|
40
40
|
import "./chunk-D54ZDCZR.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-PLI7YT5S.js";
|
|
42
42
|
import "./chunk-LYTELQL2.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-BJMW2GYO.js";
|
|
44
44
|
import "./chunk-FXMKHHPO.js";
|
|
45
45
|
import {
|
|
46
46
|
isHtmlElement
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-TZ6M2LEV.js";
|
|
48
48
|
import {
|
|
49
49
|
terminalText
|
|
50
50
|
} from "./chunk-3GF72UPC.js";
|
|
@@ -72,7 +72,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
72
72
|
import "./chunk-KUJJJBV2.js";
|
|
73
73
|
import {
|
|
74
74
|
withMeta
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HGVBKNLQ.js";
|
|
76
76
|
import "./chunk-BR2JQQC5.js";
|
|
77
77
|
import "./chunk-AWD2MWWL.js";
|
|
78
78
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -81,7 +81,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
81
81
|
import "./chunk-U7M4SZUB.js";
|
|
82
82
|
import "./chunk-CPHQTXP5.js";
|
|
83
83
|
import "./chunk-QBXDU24O.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-FAYFXXVF.js";
|
|
85
85
|
import "./chunk-E63BDV4Z.js";
|
|
86
86
|
import "./chunk-LW33P24U.js";
|
|
87
87
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LSUM6RTW.js";
|
|
10
10
|
import {
|
|
11
11
|
gateRegistryItemsCompatibility
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7AYDKU2X.js";
|
|
13
13
|
import {
|
|
14
14
|
shellArg
|
|
15
15
|
} from "./chunk-IEESWUIQ.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-OH3MUFZG.js";
|
|
30
30
|
import {
|
|
31
31
|
initialModelForLanguage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3O2FM72C.js";
|
|
33
33
|
import "./chunk-NK2UW3WR.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-A65Q5P62.js";
|
|
35
35
|
import {
|
|
36
36
|
DEFAULT_MODEL,
|
|
37
37
|
hasFFmpeg
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ABK44JS4.js";
|
|
39
39
|
import "./chunk-RZ6CXJ56.js";
|
|
40
40
|
import "./chunk-6B2TH52B.js";
|
|
41
41
|
import "./chunk-JJ47LVJ7.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
findFFmpeg,
|
|
44
44
|
findFFprobe,
|
|
45
45
|
getFFmpegInstallHint
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QY42NK3T.js";
|
|
47
47
|
import "./chunk-4T45V6GF.js";
|
|
48
48
|
import "./chunk-UOFAE5RF.js";
|
|
49
49
|
import {
|
|
@@ -57,8 +57,8 @@ import {
|
|
|
57
57
|
import "./chunk-EHZESMRB.js";
|
|
58
58
|
import {
|
|
59
59
|
trackInitTemplate
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-IBU2BW4H.js";
|
|
61
|
+
import "./chunk-RHHPEUVM.js";
|
|
62
62
|
import "./chunk-PXVQOMKL.js";
|
|
63
63
|
import "./chunk-NGRWDXRZ.js";
|
|
64
64
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -66,12 +66,12 @@ import {
|
|
|
66
66
|
listRegistryItems,
|
|
67
67
|
loadAllItems,
|
|
68
68
|
resolveItemWithDependencies
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-6HHKHDMW.js";
|
|
70
70
|
import "./chunk-XFF4XJZO.js";
|
|
71
71
|
import {
|
|
72
72
|
installItem
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-NEZVFC34.js";
|
|
74
|
+
import "./chunk-QOLZBRLN.js";
|
|
75
75
|
import "./chunk-AWDFDFI3.js";
|
|
76
76
|
import "./chunk-662337AC.js";
|
|
77
77
|
import "./chunk-D3UCUI7G.js";
|
|
@@ -88,20 +88,20 @@ import {
|
|
|
88
88
|
c,
|
|
89
89
|
isColorSupported
|
|
90
90
|
} from "./chunk-JCNPHRGX.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-R5HNUPI5.js";
|
|
92
92
|
import "./chunk-Z5J67X44.js";
|
|
93
93
|
import "./chunk-PJQVJSMG.js";
|
|
94
94
|
import "./chunk-3GXQPCJC.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-LKHH4BUW.js";
|
|
96
96
|
import "./chunk-5S7W3TUO.js";
|
|
97
97
|
import {
|
|
98
98
|
decodableAudioStream
|
|
99
99
|
} from "./chunk-D54ZDCZR.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-PLI7YT5S.js";
|
|
101
101
|
import "./chunk-LYTELQL2.js";
|
|
102
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-BJMW2GYO.js";
|
|
103
103
|
import "./chunk-FXMKHHPO.js";
|
|
104
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-TZ6M2LEV.js";
|
|
105
105
|
import {
|
|
106
106
|
terminalText
|
|
107
107
|
} from "./chunk-3GF72UPC.js";
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
import "./chunk-QBXDU24O.js";
|
|
149
149
|
import {
|
|
150
150
|
VERSION
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-FAYFXXVF.js";
|
|
152
152
|
import "./chunk-E63BDV4Z.js";
|
|
153
153
|
import "./chunk-LW33P24U.js";
|
|
154
154
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -774,7 +774,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
774
774
|
"utf-8"
|
|
775
775
|
);
|
|
776
776
|
if (!existsSync2(resolve(destDir, "hyperframes.json"))) {
|
|
777
|
-
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-
|
|
777
|
+
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-ZX2IUY45.js");
|
|
778
778
|
const { normalizeSkillSlug } = await import("./skill-ZHVLH7KX.js");
|
|
779
779
|
const skill = normalizeSkillSlug(authoringSkill);
|
|
780
780
|
createProjectConfig(
|
|
@@ -795,7 +795,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
async function keepSkillsCurrent(destDir) {
|
|
798
|
-
const { updateSkills } = await import("./skills-
|
|
798
|
+
const { updateSkills } = await import("./skills-HVIJD32X.js");
|
|
799
799
|
console.log();
|
|
800
800
|
console.log(c.bold("Checking AI coding skills against GitHub..."));
|
|
801
801
|
try {
|
|
@@ -993,17 +993,17 @@ var init_default = defineCommand({
|
|
|
993
993
|
if (audioPath) {
|
|
994
994
|
sourceFilePath2 = audioPath;
|
|
995
995
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir2, basename(audioPath)));
|
|
996
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
996
|
+
const { getMediaDurationSeconds } = await import("./transcribe-TV5THKEM.js");
|
|
997
997
|
videoDuration2 = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
998
998
|
console.log(`Audio: ${basename(audioPath)}`);
|
|
999
999
|
}
|
|
1000
1000
|
if (sourceFilePath2 && !skipTranscribe) {
|
|
1001
1001
|
try {
|
|
1002
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
1002
|
+
const { ensureWhisper, ensureModel } = await import("./manager-B5HWXCKJ.js");
|
|
1003
1003
|
await ensureWhisper();
|
|
1004
1004
|
await ensureModel(initialTranscriptionModel);
|
|
1005
1005
|
console.log("Transcribing...");
|
|
1006
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
1006
|
+
const { transcribe: runTranscribe } = await import("./transcribe-TV5THKEM.js");
|
|
1007
1007
|
const result = await runTranscribe(sourceFilePath2, destDir2, {
|
|
1008
1008
|
model: modelFlag,
|
|
1009
1009
|
language: languageFlag
|
|
@@ -1153,7 +1153,7 @@ var init_default = defineCommand({
|
|
|
1153
1153
|
mkdirSync(destDir, { recursive: true });
|
|
1154
1154
|
sourceFilePath = audioPath;
|
|
1155
1155
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir, basename(audioPath)));
|
|
1156
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
1156
|
+
const { getMediaDurationSeconds } = await import("./transcribe-TV5THKEM.js");
|
|
1157
1157
|
videoDuration = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
1158
1158
|
R.info(`Audio copied to ${c.accent(basename(audioPath))}`);
|
|
1159
1159
|
}
|
|
@@ -1163,7 +1163,7 @@ var init_default = defineCommand({
|
|
|
1163
1163
|
initialValue: true
|
|
1164
1164
|
});
|
|
1165
1165
|
if (!q(transcribeChoice) && transcribeChoice) {
|
|
1166
|
-
const { findWhisper } = await import("./manager-
|
|
1166
|
+
const { findWhisper } = await import("./manager-B5HWXCKJ.js");
|
|
1167
1167
|
const needsInstall = findWhisper() === void 0;
|
|
1168
1168
|
if (needsInstall) {
|
|
1169
1169
|
R.info(c.dim("whisper-cpp not found \u2014 installing automatically..."));
|
|
@@ -1173,7 +1173,7 @@ var init_default = defineCommand({
|
|
|
1173
1173
|
needsInstall ? "Installing whisper-cpp (this may take a moment)..." : "Preparing transcription..."
|
|
1174
1174
|
);
|
|
1175
1175
|
try {
|
|
1176
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
1176
|
+
const { ensureWhisper, ensureModel } = await import("./manager-B5HWXCKJ.js");
|
|
1177
1177
|
await ensureWhisper({
|
|
1178
1178
|
onProgress: (msg) => spin2.message(msg)
|
|
1179
1179
|
});
|
|
@@ -1181,7 +1181,7 @@ var init_default = defineCommand({
|
|
|
1181
1181
|
onProgress: (msg) => spin2.message(msg)
|
|
1182
1182
|
});
|
|
1183
1183
|
spin2.message("Transcribing audio...");
|
|
1184
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
1184
|
+
const { transcribe: runTranscribe } = await import("./transcribe-TV5THKEM.js");
|
|
1185
1185
|
const transcribeResult = await runTranscribe(sourceFilePath, destDir, {
|
|
1186
1186
|
model: modelFlag,
|
|
1187
1187
|
language: languageFlag,
|
|
@@ -1259,7 +1259,7 @@ ${c.dim("Use --example blank for offline use.")}`
|
|
|
1259
1259
|
}
|
|
1260
1260
|
R.info("Opening studio preview...");
|
|
1261
1261
|
try {
|
|
1262
|
-
const previewCmd = await import("./preview-
|
|
1262
|
+
const previewCmd = await import("./preview-FXMD27D6.js").then((m) => m.default);
|
|
1263
1263
|
await runCommand(previewCmd, { rawArgs: [destDir] });
|
|
1264
1264
|
} catch {
|
|
1265
1265
|
}
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
inkOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J2MAI47E.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -14,30 +14,30 @@ import {
|
|
|
14
14
|
runMeasure,
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZYODIJRG.js";
|
|
18
18
|
import {
|
|
19
19
|
Fix,
|
|
20
20
|
readFrameAt
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-V7Z2JQRL.js";
|
|
22
|
+
import "./chunk-QY42NK3T.js";
|
|
23
23
|
import "./chunk-OW6MOJSR.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
27
27
|
import "./chunk-S3S4TGEH.js";
|
|
28
28
|
import "./chunk-JCNPHRGX.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-R5HNUPI5.js";
|
|
30
30
|
import "./chunk-Z5J67X44.js";
|
|
31
31
|
import "./chunk-PJQVJSMG.js";
|
|
32
32
|
import "./chunk-3GXQPCJC.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-LKHH4BUW.js";
|
|
34
34
|
import "./chunk-5S7W3TUO.js";
|
|
35
35
|
import "./chunk-D54ZDCZR.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-PLI7YT5S.js";
|
|
37
37
|
import "./chunk-LYTELQL2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-BJMW2GYO.js";
|
|
39
39
|
import "./chunk-FXMKHHPO.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-TZ6M2LEV.js";
|
|
41
41
|
import "./chunk-3GF72UPC.js";
|
|
42
42
|
import "./chunk-RQVDTPGD.js";
|
|
43
43
|
import "./chunk-Q4FVSYTD.js";
|
|
@@ -57,7 +57,7 @@ import "./chunk-PTGNUVCB.js";
|
|
|
57
57
|
import "./chunk-WFQJ6EJ6.js";
|
|
58
58
|
import "./chunk-4NTCQF3L.js";
|
|
59
59
|
import "./chunk-KUJJJBV2.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-HGVBKNLQ.js";
|
|
61
61
|
import "./chunk-BR2JQQC5.js";
|
|
62
62
|
import "./chunk-AWD2MWWL.js";
|
|
63
63
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -66,7 +66,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
66
66
|
import "./chunk-U7M4SZUB.js";
|
|
67
67
|
import "./chunk-CPHQTXP5.js";
|
|
68
68
|
import "./chunk-QBXDU24O.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-FAYFXXVF.js";
|
|
70
70
|
import "./chunk-E63BDV4Z.js";
|
|
71
71
|
import "./chunk-LW33P24U.js";
|
|
72
72
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -6,50 +6,50 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createInspectCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-CLRASDLH.js";
|
|
10
|
+
import "./chunk-MHS3RUAQ.js";
|
|
11
11
|
import "./chunk-TQBQYO4L.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LYGIKJBA.js";
|
|
13
|
+
import "./chunk-VWI7V4Q5.js";
|
|
14
|
+
import "./chunk-BGIRYNAW.js";
|
|
15
15
|
import "./chunk-X7MTZ4T2.js";
|
|
16
16
|
import "./chunk-X7MTZ4T2.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-IS45C2EI.js";
|
|
18
|
+
import "./chunk-DN4KUTQ5.js";
|
|
19
|
+
import "./chunk-H7FGALE4.js";
|
|
20
20
|
import "./chunk-X7MTZ4T2.js";
|
|
21
21
|
import "./chunk-262C25DQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-CDPVVNNZ.js";
|
|
23
23
|
import "./chunk-YGGZ23BB.js";
|
|
24
24
|
import "./chunk-XUHOIDKG.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-3SMQ3AKQ.js";
|
|
26
|
+
import "./chunk-VHDT4EME.js";
|
|
27
|
+
import "./chunk-CZYQR7VM.js";
|
|
28
28
|
import "./chunk-HYO4DIYT.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-VSCJ76AM.js";
|
|
30
|
+
import "./chunk-SOIOB7FF.js";
|
|
31
31
|
import "./chunk-5T2LNQAH.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-BJLC2UEQ.js";
|
|
33
|
+
import "./chunk-YSWORAKY.js";
|
|
34
|
+
import "./chunk-S4X7H76F.js";
|
|
35
35
|
import "./chunk-7FIJRDUG.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-XQQZ2G25.js";
|
|
37
|
+
import "./chunk-SFIUSS3O.js";
|
|
38
|
+
import "./chunk-DVUC244G.js";
|
|
39
39
|
import "./chunk-XT7X6QCP.js";
|
|
40
40
|
import "./chunk-SIQGTRZ5.js";
|
|
41
41
|
import "./chunk-HVW7ABXD.js";
|
|
42
42
|
import "./chunk-EHZESMRB.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-IBU2BW4H.js";
|
|
44
|
+
import "./chunk-RHHPEUVM.js";
|
|
45
45
|
import "./chunk-PXVQOMKL.js";
|
|
46
46
|
import "./chunk-NGRWDXRZ.js";
|
|
47
47
|
import "./chunk-DMW5SSUN.js";
|
|
48
48
|
import "./chunk-OW6MOJSR.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-6HHKHDMW.js";
|
|
50
50
|
import "./chunk-XFF4XJZO.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-NEZVFC34.js";
|
|
52
|
+
import "./chunk-QOLZBRLN.js";
|
|
53
53
|
import "./chunk-AWDFDFI3.js";
|
|
54
54
|
import "./chunk-662337AC.js";
|
|
55
55
|
import "./chunk-D3UCUI7G.js";
|
|
@@ -62,23 +62,23 @@ import "./chunk-YAROSZMP.js";
|
|
|
62
62
|
import "./chunk-JCNPHRGX.js";
|
|
63
63
|
import "./chunk-LD6JONPV.js";
|
|
64
64
|
import "./chunk-ZB2XGJSP.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-R5HNUPI5.js";
|
|
66
66
|
import "./chunk-Z5J67X44.js";
|
|
67
67
|
import "./chunk-PJQVJSMG.js";
|
|
68
68
|
import "./chunk-P2ZMVHTF.js";
|
|
69
69
|
import "./chunk-TRQDC2UC.js";
|
|
70
70
|
import "./chunk-WTO3A7ET.js";
|
|
71
71
|
import "./chunk-3GXQPCJC.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-LKHH4BUW.js";
|
|
73
73
|
import "./chunk-5S7W3TUO.js";
|
|
74
74
|
import "./chunk-D54ZDCZR.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-PLI7YT5S.js";
|
|
76
76
|
import "./chunk-D37I36FY.js";
|
|
77
77
|
import "./chunk-F6PI5O3H.js";
|
|
78
78
|
import "./chunk-LYTELQL2.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-BJMW2GYO.js";
|
|
80
80
|
import "./chunk-FXMKHHPO.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-TZ6M2LEV.js";
|
|
82
82
|
import "./chunk-3GF72UPC.js";
|
|
83
83
|
import "./chunk-RQVDTPGD.js";
|
|
84
84
|
import "./chunk-KGPLIH7B.js";
|
|
@@ -98,7 +98,7 @@ import "./chunk-PTGNUVCB.js";
|
|
|
98
98
|
import "./chunk-WFQJ6EJ6.js";
|
|
99
99
|
import "./chunk-4NTCQF3L.js";
|
|
100
100
|
import "./chunk-KUJJJBV2.js";
|
|
101
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-HGVBKNLQ.js";
|
|
102
102
|
import "./chunk-BR2JQQC5.js";
|
|
103
103
|
import "./chunk-AWD2MWWL.js";
|
|
104
104
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -107,7 +107,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
107
107
|
import "./chunk-U7M4SZUB.js";
|
|
108
108
|
import "./chunk-CPHQTXP5.js";
|
|
109
109
|
import "./chunk-QBXDU24O.js";
|
|
110
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-FAYFXXVF.js";
|
|
111
111
|
import "./chunk-E63BDV4Z.js";
|
|
112
112
|
import "./chunk-LW33P24U.js";
|
|
113
113
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
prepareItem,
|
|
11
11
|
publishItem,
|
|
12
12
|
recordRewrittenInstall
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-NEZVFC34.js";
|
|
14
|
+
import "./chunk-QOLZBRLN.js";
|
|
15
15
|
import "./chunk-AWDFDFI3.js";
|
|
16
16
|
import "./chunk-662337AC.js";
|
|
17
17
|
import "./chunk-D3UCUI7G.js";
|
|
18
18
|
import "./chunk-WTS245RC.js";
|
|
19
19
|
import "./chunk-LYTELQL2.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BJMW2GYO.js";
|
|
21
21
|
import "./chunk-FXMKHHPO.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TZ6M2LEV.js";
|
|
23
23
|
import "./chunk-3GF72UPC.js";
|
|
24
24
|
import "./chunk-RQVDTPGD.js";
|
|
25
25
|
import "./chunk-IH2C53YV.js";
|