hyperframes 0.9.59 → 0.9.61
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-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
- package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
- package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
- package/dist/api.d.ts +8 -1
- package/dist/api.js +58 -58
- package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
- package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
- package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
- package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
- package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
- package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
- package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
- package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
- package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
- package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
- package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
- package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
- package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
- package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
- package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
- package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
- package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
- package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
- package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
- package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
- package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
- package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
- package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
- package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
- package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
- package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
- package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
- package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
- package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
- package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
- package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
- package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
- package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
- package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
- package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
- package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
- package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
- package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
- package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
- package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
- package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
- package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
- package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
- package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
- package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
- package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
- package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
- package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
- package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
- package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
- package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
- package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
- package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
- package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
- package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
- package/dist/chunk-BNH2IKGV.js +5101 -0
- package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
- package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
- package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
- package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
- package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
- package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
- package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
- package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
- package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
- package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
- package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
- package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
- package/dist/chunk-EDH2DMXM.js +113 -0
- package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
- package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
- package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
- package/dist/chunk-GADMF4BL.js +170 -0
- package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
- package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
- package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
- package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
- package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
- package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
- package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
- package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
- package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
- package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
- package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
- package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
- package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
- package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
- package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
- package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
- package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
- package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
- package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
- package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
- package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
- package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
- package/dist/chunk-MERWX4DZ.js +159 -0
- package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
- package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
- package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
- package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
- package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
- package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
- package/dist/chunk-NY6E4272.js +112 -0
- package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
- package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
- package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
- package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
- package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
- package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
- package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
- package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
- package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
- package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
- package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
- package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
- package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
- package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
- package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
- package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
- package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
- package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
- package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
- package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
- package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
- package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
- package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
- package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
- package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
- package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
- package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
- package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
- package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
- package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
- package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-LSGJY2FG.js → chunk-YLC67YFR.js} +1 -1
- package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
- package/dist/chunk-Z3BPDCRV.js +537 -0
- package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
- package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
- package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
- package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
- package/dist/cli.js +74 -75
- package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
- package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
- package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
- package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
- package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
- package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
- package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
- package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
- package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
- package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
- package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
- package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
- package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
- package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
- package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
- package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
- package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
- package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
- package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
- package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
- package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
- package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
- package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
- package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
- package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
- package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
- package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
- package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
- package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
- package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -27
- package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
- package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
- package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
- package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
- package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
- package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
- package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
- package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
- package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
- package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
- package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
- package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
- package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
- package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
- package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
- package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
- package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
- package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
- package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
- package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
- package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
- package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
- package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
- package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
- package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
- package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
- package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
- package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
- package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
- package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
- package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
- package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
- package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
- package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
- package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
- package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
- package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
- package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
- package/dist/privateProjectFile-6NPNZXK3.js +65 -0
- package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
- package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
- package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
- package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
- package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
- package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
- package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
- package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
- package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
- package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
- package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
- package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
- package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
- package/dist/renderSetupWorker.js +9 -9
- package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
- package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
- package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
- package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
- package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
- package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
- package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
- package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
- package/dist/sherpaWorker.js +6 -7
- package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +6 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
- package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
- package/dist/skills/media-use/scripts/resolve.mjs +21 -15
- package/dist/{skills-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
- package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
- package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
- package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
- package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
- package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
- package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
- package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
- package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
- package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
- package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
- package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
- package/dist/subCompositionWorker.js +60 -54
- package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
- package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
- package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
- package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
- package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
- package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
- package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
- package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
- package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
- package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
- package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
- package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
- package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
- package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
- package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
- package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
- package/dist/warmCheck.js +62 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VY6WTY5.js +0 -279
- package/dist/chunk-NI7JVGOE.js +0 -5083
- package/dist/chunk-NLN5NY3P.js +0 -34
- package/dist/chunk-UVZIABYZ.js +0 -40
- package/dist/chunk-VC76R6W2.js +0 -27
- /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BAU3ASNM.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RJCQZMNI.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
ProxyCapacityError,
|
|
41
41
|
ProxyTranscodeError,
|
|
42
42
|
ProxyWaitTimeoutError,
|
|
43
|
+
StillPastEndError,
|
|
43
44
|
createMediaCodecProbeCache,
|
|
44
45
|
decideMediaProxyEligibility,
|
|
45
46
|
isProxyVariantRequest,
|
|
@@ -56,11 +57,11 @@ import {
|
|
|
56
57
|
scanProjectMedia,
|
|
57
58
|
shouldPrewarmProxy,
|
|
58
59
|
waitForProxy
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-UX5KLSAJ.js";
|
|
60
61
|
import {
|
|
61
62
|
probeAudioTrack,
|
|
62
63
|
probeMediaMetadata
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-TJAFCC37.js";
|
|
64
65
|
import {
|
|
65
66
|
HistoryBusyError,
|
|
66
67
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -75,7 +76,7 @@ import {
|
|
|
75
76
|
resolveProjectSignature,
|
|
76
77
|
serveWhileOpen,
|
|
77
78
|
settledFileTag
|
|
78
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5T2LNQAH.js";
|
|
79
80
|
import {
|
|
80
81
|
findTimelineScript,
|
|
81
82
|
parseGsapScriptAcorn
|
|
@@ -96,24 +97,26 @@ import {
|
|
|
96
97
|
isAudioFile
|
|
97
98
|
} from "./chunk-P2ZMVHTF.js";
|
|
98
99
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
mediaInputArgs
|
|
101
|
+
} from "./chunk-TRQDC2UC.js";
|
|
101
102
|
import {
|
|
102
103
|
isInHiddenOrVendorDir,
|
|
103
104
|
isLinkFreeWithinProject,
|
|
104
105
|
isPrivateProjectFile,
|
|
105
106
|
isPrivateProjectPath,
|
|
107
|
+
isProjectCacheFile,
|
|
106
108
|
isWritableProjectFile,
|
|
107
109
|
mkdirOwnedWithinProject,
|
|
108
110
|
pinWithinProject,
|
|
109
111
|
pinWritableWithinProject,
|
|
110
112
|
projectRelativePath,
|
|
113
|
+
readProjectCacheFile,
|
|
111
114
|
realFilePath,
|
|
112
115
|
resolveWithinProject as resolveWithinProject2,
|
|
113
116
|
resolveWritableWithinProject,
|
|
114
117
|
toolTrustedFileWithin,
|
|
115
118
|
walkDir
|
|
116
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-WTO3A7ET.js";
|
|
117
120
|
import {
|
|
118
121
|
PREVIEW_FOR_ANOTHER_SITE_META,
|
|
119
122
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
@@ -122,7 +125,7 @@ import {
|
|
|
122
125
|
STUDIO_PREVIEW_LAZY_ATTR,
|
|
123
126
|
STUDIO_PREVIEW_MARK_META,
|
|
124
127
|
refusedPreviewMessage
|
|
125
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-BWFNWEUO.js";
|
|
126
129
|
import {
|
|
127
130
|
decodableAudioStream
|
|
128
131
|
} from "./chunk-D54ZDCZR.js";
|
|
@@ -131,7 +134,10 @@ import {
|
|
|
131
134
|
ensureHfIds,
|
|
132
135
|
stampHfIdsInPlace,
|
|
133
136
|
stripSdrPngColourTags
|
|
134
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-7AP5C4C2.js";
|
|
138
|
+
import {
|
|
139
|
+
RENDER_VARIABLES_FILE
|
|
140
|
+
} from "./chunk-F6PI5O3H.js";
|
|
135
141
|
import {
|
|
136
142
|
atomicTempPath,
|
|
137
143
|
catchHeldRename,
|
|
@@ -139,7 +145,7 @@ import {
|
|
|
139
145
|
createStagingDir,
|
|
140
146
|
replaceFileAtomically,
|
|
141
147
|
retryWindowsHold
|
|
142
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-LYTELQL2.js";
|
|
143
149
|
import {
|
|
144
150
|
GSAP_BASE_URL_META,
|
|
145
151
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -157,7 +163,7 @@ import {
|
|
|
157
163
|
normalizeGsapLocalRoot,
|
|
158
164
|
parseFps,
|
|
159
165
|
parsePreviewProxyBox
|
|
160
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-MPVJI4SE.js";
|
|
161
167
|
import {
|
|
162
168
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
163
169
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -172,7 +178,7 @@ import {
|
|
|
172
178
|
resolveRateSpec,
|
|
173
179
|
sourceTimeAt,
|
|
174
180
|
stripEmbeddedRuntimeScripts
|
|
175
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-BNH2IKGV.js";
|
|
176
182
|
import {
|
|
177
183
|
ProjectRootMissingError,
|
|
178
184
|
folderGone,
|
|
@@ -181,11 +187,11 @@ import {
|
|
|
181
187
|
mkdirWithinProject,
|
|
182
188
|
realpath,
|
|
183
189
|
resolveWithinProject
|
|
184
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-3GF72UPC.js";
|
|
185
191
|
import {
|
|
186
192
|
isWithinProjectRoot,
|
|
187
193
|
readProjectFile
|
|
188
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-S35RUNXJ.js";
|
|
189
195
|
import {
|
|
190
196
|
decodeCssEscapes,
|
|
191
197
|
decodeWellFormedEscapes,
|
|
@@ -217,7 +223,7 @@ import {
|
|
|
217
223
|
FFPROBE_PATH_ENV,
|
|
218
224
|
findFfBinary,
|
|
219
225
|
requireFfBinary
|
|
220
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-VM2VBJRC.js";
|
|
221
227
|
|
|
222
228
|
// ../studio-server/dist/chunk-UEEXAVOA.js
|
|
223
229
|
function findUnsafeMutationValues(value, path = "body", options = {}) {
|
|
@@ -244,7 +250,7 @@ function findUnsafeDomPatchValues(value) {
|
|
|
244
250
|
});
|
|
245
251
|
}
|
|
246
252
|
|
|
247
|
-
// ../studio-server/dist/chunk-
|
|
253
|
+
// ../studio-server/dist/chunk-P7XQOBFZ.js
|
|
248
254
|
import { hostname, networkInterfaces } from "os";
|
|
249
255
|
function isLoopbackHost(host) {
|
|
250
256
|
if (!host) return false;
|
|
@@ -328,6 +334,10 @@ function requestFromAnotherSite(headers) {
|
|
|
328
334
|
if (!host || isLoopbackHost(host)) return false;
|
|
329
335
|
return !refererNamesHost(headers.referer, host);
|
|
330
336
|
}
|
|
337
|
+
function documentFromAnotherSite(headers) {
|
|
338
|
+
if (headers.fetchSite !== void 0 || !headers.host) return requestFromAnotherSite(headers);
|
|
339
|
+
return !refererNamesHost(headers.referer, headers.host);
|
|
340
|
+
}
|
|
331
341
|
function firstForwarded(value) {
|
|
332
342
|
const first = value?.split(",")[0]?.trim();
|
|
333
343
|
return first === "" ? void 0 : first;
|
|
@@ -352,7 +362,7 @@ function sameOriginPost(headers) {
|
|
|
352
362
|
return originMatches(headers.origin, host, proto);
|
|
353
363
|
}
|
|
354
364
|
|
|
355
|
-
// ../studio-server/dist/chunk-
|
|
365
|
+
// ../studio-server/dist/chunk-MFIHKG5J.js
|
|
356
366
|
import { createHash } from "crypto";
|
|
357
367
|
import { closeSync, constants, fstatSync, openSync, readFileSync } from "fs";
|
|
358
368
|
import { dirname, join } from "path";
|
|
@@ -638,7 +648,7 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
|
|
|
638
648
|
applyManifest();
|
|
639
649
|
}
|
|
640
650
|
|
|
641
|
-
// ../studio-server/dist/chunk-
|
|
651
|
+
// ../studio-server/dist/chunk-2ZSUGK2Q.js
|
|
642
652
|
import { resolve } from "path";
|
|
643
653
|
function isAutoProxyEnabled(adapter) {
|
|
644
654
|
return adapter.autoProxy !== false;
|
|
@@ -685,7 +695,7 @@ async function injectMediaCodecMap(html, adapter, projectDir, compSrcPath, probe
|
|
|
685
695
|
return injectMediaCodecMapIntoHtml(html, projectDir, [{ html, compSrcPath }], probeCache, false);
|
|
686
696
|
}
|
|
687
697
|
|
|
688
|
-
// ../studio-server/dist/chunk-
|
|
698
|
+
// ../studio-server/dist/chunk-DRQHYTL6.js
|
|
689
699
|
import { existsSync, readFileSync as readFileSync2 } from "fs";
|
|
690
700
|
import { join as join2 } from "path";
|
|
691
701
|
import { readlinkSync } from "fs";
|
|
@@ -1269,7 +1279,13 @@ var JobAbandonedError = class extends Error {
|
|
|
1269
1279
|
this.name = "JobAbandonedError";
|
|
1270
1280
|
}
|
|
1271
1281
|
};
|
|
1272
|
-
|
|
1282
|
+
var JobQueueFullError = class extends Error {
|
|
1283
|
+
constructor() {
|
|
1284
|
+
super("job queue is full; retry shortly");
|
|
1285
|
+
this.name = "JobQueueFullError";
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1288
|
+
function createJobSlots(limit, maxWaiting = Number.POSITIVE_INFINITY) {
|
|
1273
1289
|
let running = 0;
|
|
1274
1290
|
const waiting = [];
|
|
1275
1291
|
const acquire = (signal) => new Promise((resolve33, reject) => {
|
|
@@ -1278,6 +1294,7 @@ function createJobSlots(limit) {
|
|
|
1278
1294
|
running++;
|
|
1279
1295
|
return resolve33();
|
|
1280
1296
|
}
|
|
1297
|
+
if (waiting.length >= maxWaiting) return reject(new JobQueueFullError());
|
|
1281
1298
|
const leave = () => {
|
|
1282
1299
|
waiting.splice(waiting.indexOf(start), 1);
|
|
1283
1300
|
reject(new JobAbandonedError());
|
|
@@ -1304,7 +1321,7 @@ function createJobSlots(limit) {
|
|
|
1304
1321
|
};
|
|
1305
1322
|
}
|
|
1306
1323
|
var PROJECT_SIGNATURE_META = "hyperframes-project-signature";
|
|
1307
|
-
var runStillJob = createJobSlots(4);
|
|
1324
|
+
var runStillJob = createJobSlots(4, 16);
|
|
1308
1325
|
function escapeGsapUrl(url) {
|
|
1309
1326
|
return url.replace(/&/g, "&").replace(/"/g, """);
|
|
1310
1327
|
}
|
|
@@ -1478,6 +1495,7 @@ function previewVariablesFromRequest(rawVariables) {
|
|
|
1478
1495
|
return { raw: rawVariables, values: parse22.values };
|
|
1479
1496
|
}
|
|
1480
1497
|
var PREVIEW_CAPTURE_PARAM = "hf-capture";
|
|
1498
|
+
var PREVIEW_PROXY_PARAM = "hf-proxy";
|
|
1481
1499
|
function scriptJson(value) {
|
|
1482
1500
|
return JSON.stringify(value).replace(/</g, "\\u003c").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
|
|
1483
1501
|
}
|
|
@@ -1776,7 +1794,7 @@ ${etag}`;
|
|
|
1776
1794
|
}
|
|
1777
1795
|
const contentType = getMimeType(subPath);
|
|
1778
1796
|
const isText2 = /\.(html|css|js|json|svg|txt|md|cube)$/i.test(subPath);
|
|
1779
|
-
const proxyParam = c.req.query(
|
|
1797
|
+
const proxyParam = c.req.query(PREVIEW_PROXY_PARAM);
|
|
1780
1798
|
const boxParam = c.req.query(PREVIEW_PROXY_BOX_PARAM);
|
|
1781
1799
|
const proxyBox = boxParam === void 0 ? void 0 : parsePreviewProxyBox(boxParam);
|
|
1782
1800
|
const lightRequested = c.req.query(PREVIEW_PROXY_LIGHT_PARAM) !== void 0;
|
|
@@ -1815,6 +1833,10 @@ ${etag}`;
|
|
|
1815
1833
|
headers: { "Content-Type": "image/jpeg", "Cache-Control": "private, max-age=3600" }
|
|
1816
1834
|
});
|
|
1817
1835
|
} catch (err) {
|
|
1836
|
+
if (err instanceof JobQueueFullError) {
|
|
1837
|
+
return c.text(err.message, 503, { "Retry-After": "5" });
|
|
1838
|
+
}
|
|
1839
|
+
if (err instanceof StillPastEndError) return c.text("not found", 404);
|
|
1818
1840
|
if (isProjectRootMissing(err)) throw err;
|
|
1819
1841
|
return c.text("media still failed", 502);
|
|
1820
1842
|
}
|
|
@@ -1967,7 +1989,7 @@ import {
|
|
|
1967
1989
|
statSync as statSync3,
|
|
1968
1990
|
fstatSync as fstatSync2,
|
|
1969
1991
|
renameSync as renameSync2,
|
|
1970
|
-
readdirSync as
|
|
1992
|
+
readdirSync as readdirSync3,
|
|
1971
1993
|
realpathSync
|
|
1972
1994
|
} from "fs";
|
|
1973
1995
|
import { resolve as resolve23, dirname as dirname3, join as join52, sep as sep2 } from "path";
|
|
@@ -1982,16 +2004,18 @@ import {
|
|
|
1982
2004
|
writeFileSync,
|
|
1983
2005
|
mkdirSync,
|
|
1984
2006
|
lstatSync,
|
|
2007
|
+
readdirSync,
|
|
1985
2008
|
renameSync,
|
|
1986
2009
|
rmSync,
|
|
1987
|
-
statSync as statSync2
|
|
2010
|
+
statSync as statSync2,
|
|
2011
|
+
utimesSync
|
|
1988
2012
|
} from "fs";
|
|
1989
2013
|
import { dirname as dirname23, join as join23 } from "path";
|
|
1990
2014
|
import { spawnSync } from "child_process";
|
|
1991
2015
|
import { mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
1992
2016
|
import { tmpdir } from "os";
|
|
1993
2017
|
import { basename, join as join32 } from "path";
|
|
1994
|
-
import { readdirSync, readFileSync as readFileSync23, unlinkSync, writeFileSync as writeFileSync3 } from "fs";
|
|
2018
|
+
import { readdirSync as readdirSync2, readFileSync as readFileSync23, unlinkSync, writeFileSync as writeFileSync3 } from "fs";
|
|
1995
2019
|
import { Buffer as Buffer2 } from "buffer";
|
|
1996
2020
|
import { createHash as createHash22 } from "crypto";
|
|
1997
2021
|
import { join as join42, relative as relative22 } from "path";
|
|
@@ -5247,7 +5271,7 @@ import {
|
|
|
5247
5271
|
lstatSync as lstatSync3,
|
|
5248
5272
|
readFileSync as readFileSync6,
|
|
5249
5273
|
unlinkSync as unlinkSync3,
|
|
5250
|
-
readdirSync as
|
|
5274
|
+
readdirSync as readdirSync4,
|
|
5251
5275
|
statSync as statSync4
|
|
5252
5276
|
} from "fs";
|
|
5253
5277
|
import { dirname as dirname42, join as join7 } from "path";
|
|
@@ -5260,7 +5284,7 @@ import {
|
|
|
5260
5284
|
fstatSync as fstatSync22,
|
|
5261
5285
|
openSync as openSync22,
|
|
5262
5286
|
readFileSync as readFileSync7,
|
|
5263
|
-
readdirSync as
|
|
5287
|
+
readdirSync as readdirSync5,
|
|
5264
5288
|
renameSync as renameSync3,
|
|
5265
5289
|
rmSync as rmSync4,
|
|
5266
5290
|
statSync as statSync5,
|
|
@@ -5270,29 +5294,29 @@ import {
|
|
|
5270
5294
|
import { dirname as dirname5, join as join8 } from "path";
|
|
5271
5295
|
import { createHash as createHash4, randomUUID as randomUUID2 } from "crypto";
|
|
5272
5296
|
import { isIP } from "net";
|
|
5273
|
-
import {
|
|
5297
|
+
import { statSync as statSync6 } from "fs";
|
|
5274
5298
|
import { join as join9, relative as relative3, resolve as resolve32 } from "path";
|
|
5275
5299
|
import { execFile } from "child_process";
|
|
5276
|
-
import { readFileSync as
|
|
5300
|
+
import { readFileSync as readFileSync8, rmSync as rmSync5, statSync as statSync7 } from "fs";
|
|
5277
5301
|
import { basename as basename2, dirname as dirname6, join as join10, relative as relative4, sep as sep3 } from "path";
|
|
5278
5302
|
import { createHash as createHash5, randomBytes } from "crypto";
|
|
5279
|
-
import { existsSync as
|
|
5280
|
-
import {
|
|
5303
|
+
import { existsSync as existsSync5 } from "fs";
|
|
5304
|
+
import { statSync as statSync8 } from "fs";
|
|
5281
5305
|
import { join as join11, relative as relative5, resolve as resolve4 } from "path";
|
|
5282
5306
|
import { spawn as spawn2 } from "child_process";
|
|
5283
5307
|
import { closeSync as closeSync3, constants as constants2, fstatSync as fstatSync3, openSync as openSync3, readSync } from "fs";
|
|
5284
5308
|
import { createHash as createHash6 } from "crypto";
|
|
5285
|
-
import { closeSync as closeSync4, constants as constants22, fstatSync as fstatSync4, openSync as openSync4, readFileSync as
|
|
5309
|
+
import { closeSync as closeSync4, constants as constants22, fstatSync as fstatSync4, openSync as openSync4, readFileSync as readFileSync9, rmSync as rmSync6 } from "fs";
|
|
5286
5310
|
import { join as join12 } from "path";
|
|
5287
5311
|
import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
5288
|
-
import { existsSync as
|
|
5312
|
+
import { existsSync as existsSync6, statSync as statSync9 } from "fs";
|
|
5289
5313
|
import { basename as basename3, dirname as dirname7, extname, join as join13, posix } from "path";
|
|
5290
|
-
import { existsSync as
|
|
5314
|
+
import { existsSync as existsSync7, readFileSync as readFileSync10 } from "fs";
|
|
5291
5315
|
import { homedir } from "os";
|
|
5292
5316
|
import { join as join14 } from "path";
|
|
5293
5317
|
import { createHmac, randomBytes as randomBytes2, timingSafeEqual } from "crypto";
|
|
5294
|
-
import { createHash as createHash7 } from "crypto";
|
|
5295
|
-
import {
|
|
5318
|
+
import { createHash as createHash7, createHmac as createHmac2, timingSafeEqual as timingSafeEqual2 } from "crypto";
|
|
5319
|
+
import { readdirSync as readdirSync6, rmSync as rmSync7 } from "fs";
|
|
5296
5320
|
import { join as join15 } from "path";
|
|
5297
5321
|
async function filterCompositionFiles(projectDir, files) {
|
|
5298
5322
|
const htmlFiles = files.filter((f) => f.endsWith(".html") && !isInHiddenOrVendorDir(f));
|
|
@@ -5635,6 +5659,8 @@ function compositionsAffectedBy(projectDir, changedPath) {
|
|
|
5635
5659
|
var SAMPLE_RATE = 4e3;
|
|
5636
5660
|
var PEAK_COUNT = 4e3;
|
|
5637
5661
|
var WAVEFORM_CACHE_VERSION = "v2";
|
|
5662
|
+
var WAVEFORM_CACHE_LIMITS = { entries: 500, bytes: 256 * 1024 * 1024 };
|
|
5663
|
+
var SAMPLE_BIN_CAPACITY = 1 << 16;
|
|
5638
5664
|
function buildWaveformCacheKey(assetPath, fingerprint) {
|
|
5639
5665
|
const name = assetPath.replace(/[/\\]/g, "_");
|
|
5640
5666
|
if (!fingerprint) return `${WAVEFORM_CACHE_VERSION}_${name}.json`;
|
|
@@ -5657,15 +5683,48 @@ function computePeaks(floats, count) {
|
|
|
5657
5683
|
const maxPeak = Math.max(...peaks, 1e-3);
|
|
5658
5684
|
return peaks.map((p) => p / maxPeak);
|
|
5659
5685
|
}
|
|
5660
|
-
|
|
5686
|
+
function createSampleBins(capacity = SAMPLE_BIN_CAPACITY) {
|
|
5687
|
+
return {
|
|
5688
|
+
peaks: new Float32Array(capacity),
|
|
5689
|
+
length: 0,
|
|
5690
|
+
samplesPerBin: 1,
|
|
5691
|
+
inBin: 0,
|
|
5692
|
+
carry: Buffer.alloc(0)
|
|
5693
|
+
};
|
|
5694
|
+
}
|
|
5695
|
+
function mergeNeighbouringBins(bins) {
|
|
5696
|
+
const half = bins.length / 2;
|
|
5697
|
+
for (let i = 0; i < half; i++) {
|
|
5698
|
+
bins.peaks[i] = Math.max(bins.peaks[2 * i] ?? 0, bins.peaks[2 * i + 1] ?? 0);
|
|
5699
|
+
}
|
|
5700
|
+
bins.length = half;
|
|
5701
|
+
bins.samplesPerBin *= 2;
|
|
5702
|
+
}
|
|
5703
|
+
function addSamples(bins, chunk) {
|
|
5704
|
+
const data = bins.carry.length > 0 ? Buffer.concat([bins.carry, chunk]) : chunk;
|
|
5705
|
+
const whole = data.length - data.length % 4;
|
|
5706
|
+
for (let offset = 0; offset < whole; offset += 4) {
|
|
5707
|
+
const abs = Math.abs(data.readFloatLE(offset));
|
|
5708
|
+
if (bins.inBin === 0) {
|
|
5709
|
+
if (bins.length === bins.peaks.length) mergeNeighbouringBins(bins);
|
|
5710
|
+
bins.peaks[bins.length++] = abs;
|
|
5711
|
+
} else if (abs > (bins.peaks[bins.length - 1] ?? 0)) {
|
|
5712
|
+
bins.peaks[bins.length - 1] = abs;
|
|
5713
|
+
}
|
|
5714
|
+
bins.inBin = (bins.inBin + 1) % bins.samplesPerBin;
|
|
5715
|
+
}
|
|
5716
|
+
bins.carry = Buffer.from(data.subarray(whole));
|
|
5717
|
+
}
|
|
5718
|
+
async function decodeAudioPeaks(audioPath, signal) {
|
|
5661
5719
|
const track2 = await probeAudioTrack(audioPath);
|
|
5662
5720
|
if (!track2) throw new Error("no audio stream");
|
|
5721
|
+
signal?.throwIfAborted();
|
|
5663
5722
|
const ffmpeg = requireFfBinary("ffmpeg");
|
|
5664
5723
|
return new Promise((resolvePromise, reject) => {
|
|
5665
5724
|
const proc = spawn(
|
|
5666
5725
|
ffmpeg,
|
|
5667
5726
|
[
|
|
5668
|
-
...
|
|
5727
|
+
...mediaInputArgs(audioPath),
|
|
5669
5728
|
"-i",
|
|
5670
5729
|
audioPath,
|
|
5671
5730
|
"-map",
|
|
@@ -5681,23 +5740,20 @@ async function decodeAudioPeaks(audioPath) {
|
|
|
5681
5740
|
"-vn",
|
|
5682
5741
|
"pipe:1"
|
|
5683
5742
|
],
|
|
5684
|
-
{ stdio: ["ignore", "pipe", "ignore"], windowsHide: true }
|
|
5743
|
+
{ stdio: ["ignore", "pipe", "ignore"], windowsHide: true, signal }
|
|
5685
5744
|
);
|
|
5686
|
-
const
|
|
5687
|
-
proc.stdout?.on("data", (chunk) =>
|
|
5745
|
+
const bins = createSampleBins();
|
|
5746
|
+
proc.stdout?.on("data", (chunk) => addSamples(bins, chunk));
|
|
5688
5747
|
proc.on("close", (code) => {
|
|
5689
|
-
if (code !== 0 &&
|
|
5748
|
+
if (code !== 0 && bins.length === 0) {
|
|
5690
5749
|
reject(new Error(`ffmpeg exited with code ${code}`));
|
|
5691
5750
|
return;
|
|
5692
5751
|
}
|
|
5693
|
-
|
|
5694
|
-
const numSamples = Math.floor(buf.length / 4);
|
|
5695
|
-
if (numSamples === 0) {
|
|
5752
|
+
if (bins.length === 0) {
|
|
5696
5753
|
reject(new Error("ffmpeg produced no audio samples"));
|
|
5697
5754
|
return;
|
|
5698
5755
|
}
|
|
5699
|
-
|
|
5700
|
-
resolvePromise(computePeaks(new Float32Array(ab), PEAK_COUNT));
|
|
5756
|
+
resolvePromise(computePeaks(bins.peaks.subarray(0, bins.length), PEAK_COUNT));
|
|
5701
5757
|
});
|
|
5702
5758
|
proc.on("error", reject);
|
|
5703
5759
|
});
|
|
@@ -5708,14 +5764,14 @@ async function generateWaveformCache(projectDir, assetPath) {
|
|
|
5708
5764
|
const stats = statSync2(audioPath);
|
|
5709
5765
|
const cacheDir = join23(projectDir, ".waveform-cache");
|
|
5710
5766
|
const cachePath = join23(cacheDir, buildWaveformCacheKey(assetPath, stats));
|
|
5711
|
-
if (
|
|
5767
|
+
if (isProjectCacheFile(projectDir, cachePath)) return;
|
|
5712
5768
|
const peaks = await decodeAudioPeaks(audioPath);
|
|
5713
5769
|
writeWaveformCache(cachePath, peaks);
|
|
5714
5770
|
}
|
|
5715
5771
|
function isWaveformCacheDirectory(cacheDir) {
|
|
5716
5772
|
return lstatSync(cacheDir, { throwIfNoEntry: false })?.isDirectory() ?? false;
|
|
5717
5773
|
}
|
|
5718
|
-
function writeWaveformCache(cachePath, peaks) {
|
|
5774
|
+
function writeWaveformCache(cachePath, peaks, limits = WAVEFORM_CACHE_LIMITS) {
|
|
5719
5775
|
const cacheDir = dirname23(cachePath);
|
|
5720
5776
|
try {
|
|
5721
5777
|
mkdirSync(cacheDir, { mode: 448 });
|
|
@@ -5733,10 +5789,46 @@ function writeWaveformCache(cachePath, peaks) {
|
|
|
5733
5789
|
} finally {
|
|
5734
5790
|
try {
|
|
5735
5791
|
rmSync(stagingDir, { recursive: true, force: true });
|
|
5792
|
+
dropEntriesPastCacheLimit(cacheDir, limits);
|
|
5736
5793
|
} catch {
|
|
5737
5794
|
}
|
|
5738
5795
|
}
|
|
5739
5796
|
}
|
|
5797
|
+
var PEAKS_CACHE_MAX_BYTES = 64 * 1024 * 1024;
|
|
5798
|
+
function readCachedPeaks(projectDir, cachePath) {
|
|
5799
|
+
const bytes = readProjectCacheFile(projectDir, cachePath, PEAKS_CACHE_MAX_BYTES);
|
|
5800
|
+
if (!bytes) return null;
|
|
5801
|
+
try {
|
|
5802
|
+
const parsed = JSON.parse(bytes.toString("utf-8"));
|
|
5803
|
+
if (!Array.isArray(parsed) || !parsed.every((n) => typeof n === "number")) return null;
|
|
5804
|
+
markWaveformCacheUsed(cachePath);
|
|
5805
|
+
return parsed;
|
|
5806
|
+
} catch {
|
|
5807
|
+
return null;
|
|
5808
|
+
}
|
|
5809
|
+
}
|
|
5810
|
+
function markWaveformCacheUsed(cachePath) {
|
|
5811
|
+
try {
|
|
5812
|
+
const now = /* @__PURE__ */ new Date();
|
|
5813
|
+
utimesSync(cachePath, now, now);
|
|
5814
|
+
} catch {
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
function dropEntriesPastCacheLimit(cacheDir, limits) {
|
|
5818
|
+
const entries = readdirSync(cacheDir, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => {
|
|
5819
|
+
const path = join23(cacheDir, entry.name);
|
|
5820
|
+
const stats = lstatSync(path, { throwIfNoEntry: false });
|
|
5821
|
+
return { path, mtimeMs: stats?.mtimeMs ?? 0, size: stats?.size ?? 0 };
|
|
5822
|
+
}).sort((a, b) => a.mtimeMs - b.mtimeMs);
|
|
5823
|
+
let count = entries.length;
|
|
5824
|
+
let bytes = entries.reduce((sum, entry) => sum + entry.size, 0);
|
|
5825
|
+
for (const entry of entries) {
|
|
5826
|
+
if (count <= limits.entries && bytes <= limits.bytes) return;
|
|
5827
|
+
rmSync(entry.path, { force: true });
|
|
5828
|
+
count--;
|
|
5829
|
+
bytes -= entry.size;
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5740
5832
|
var VIDEO_EXT = /\.(mp4|webm|mov|mkv|avi|m4v|mxf|mts|m2ts|ts)$/i;
|
|
5741
5833
|
var AUDIO_EXT = /\.(mp3|wav|ogg|m4a|aac|flac)$/i;
|
|
5742
5834
|
var defaultRunner = spawnSync;
|
|
@@ -5758,7 +5850,7 @@ function validateUploadedMedia(filePath, runner = defaultRunner) {
|
|
|
5758
5850
|
"stream=codec_type,codec_name",
|
|
5759
5851
|
"-of",
|
|
5760
5852
|
"json",
|
|
5761
|
-
...
|
|
5853
|
+
...mediaInputArgs(filePath),
|
|
5762
5854
|
"--",
|
|
5763
5855
|
filePath
|
|
5764
5856
|
],
|
|
@@ -5858,7 +5950,7 @@ function nextBackupPath(backupDir, backupKey) {
|
|
|
5858
5950
|
}
|
|
5859
5951
|
function backupsNewestFirst(backupDir, backupKeys) {
|
|
5860
5952
|
const suffix = new RegExp(`-(?:${backupKeys.join("|")})(?:-\\d+)?$`);
|
|
5861
|
-
return
|
|
5953
|
+
return readdirSync2(backupDir).filter((name) => suffix.test(name)).map((name) => join42(backupDir, name)).sort((a, b) => b.localeCompare(a));
|
|
5862
5954
|
}
|
|
5863
5955
|
function pruneBackups(backupDir, backupKeys, keepPerFile) {
|
|
5864
5956
|
const keep = Math.max(1, Math.floor(keepPerFile));
|
|
@@ -6333,7 +6425,7 @@ function skippable(error) {
|
|
|
6333
6425
|
}
|
|
6334
6426
|
function readableEntries(dir) {
|
|
6335
6427
|
try {
|
|
6336
|
-
return
|
|
6428
|
+
return readdirSync3(dir, { withFileTypes: true });
|
|
6337
6429
|
} catch (error) {
|
|
6338
6430
|
if (skippable(error)) return [];
|
|
6339
6431
|
throw error;
|
|
@@ -6911,7 +7003,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
6911
7003
|
let block = extractGsapScriptBlock(html);
|
|
6912
7004
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
6913
7005
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
6914
|
-
const { GSAP_CDN } = await import("./dist-
|
|
7006
|
+
const { GSAP_CDN } = await import("./dist-HF753IX4.js");
|
|
6915
7007
|
const bootstrap = [
|
|
6916
7008
|
`<script src="${GSAP_CDN}"></script>`,
|
|
6917
7009
|
"<script>",
|
|
@@ -9015,6 +9107,20 @@ function registerRenderRoutes(api, adapter) {
|
|
|
9015
9107
|
ensureCleanupTimer();
|
|
9016
9108
|
return c.json({ jobId, status: "rendering" });
|
|
9017
9109
|
});
|
|
9110
|
+
api.put("/projects/:id/render-variables", async (c) => {
|
|
9111
|
+
const project = await adapter.resolveProject(c.req.param("id"));
|
|
9112
|
+
if (!project) return c.json({ error: "not found" }, 404);
|
|
9113
|
+
const values = await c.req.json().catch(() => void 0);
|
|
9114
|
+
if (!isVariablesPayload(values)) return c.json({ error: VARIABLES_PAYLOAD_ERROR }, 400);
|
|
9115
|
+
if (folderGone(project.dir)) return projectDirMissing(c);
|
|
9116
|
+
const path = join7(project.dir, RENDER_VARIABLES_FILE);
|
|
9117
|
+
if (!isLinkFreeWithinProject(project.dir, dirname42(path))) {
|
|
9118
|
+
return c.json({ error: "forbidden", why: "link" }, 403);
|
|
9119
|
+
}
|
|
9120
|
+
mkdirWithinProject(project.dir, dirname42(path));
|
|
9121
|
+
replaceFileAtomically(path, JSON.stringify(values, null, 2) + "\n", 420);
|
|
9122
|
+
return c.json({ path: RENDER_VARIABLES_FILE });
|
|
9123
|
+
});
|
|
9018
9124
|
api.get("/render/:jobId/progress", (c) => {
|
|
9019
9125
|
const { jobId } = c.req.param();
|
|
9020
9126
|
const job = renderJobs.get(jobId);
|
|
@@ -9130,7 +9236,7 @@ function registerRenderRoutes(api, adapter) {
|
|
|
9130
9236
|
if (!project) return c.json({ error: "not found" }, 404);
|
|
9131
9237
|
const rendersDir = adapter.rendersDir(project);
|
|
9132
9238
|
if (!existsSync42(rendersDir)) return c.json({ renders: [] });
|
|
9133
|
-
const files =
|
|
9239
|
+
const files = readdirSync4(rendersDir).filter((f) => RENDER_EXTENSIONS.some((extension) => f.endsWith(extension))).flatMap((f) => {
|
|
9134
9240
|
const fp = resolveWithinProject2(rendersDir, f);
|
|
9135
9241
|
return fp && !isPrivateProjectFile(project.dir, fp) ? [{ f, fp }] : [];
|
|
9136
9242
|
}).map(({ f, fp }) => {
|
|
@@ -9297,7 +9403,7 @@ function pruneThumbnailCache(cacheDir, protectedPaths, now = Date.now()) {
|
|
|
9297
9403
|
if (!isLinkFreeWithinProject(dirname5(cacheDir), cacheDir)) return;
|
|
9298
9404
|
let entries;
|
|
9299
9405
|
try {
|
|
9300
|
-
entries =
|
|
9406
|
+
entries = readdirSync5(cacheDir, { withFileTypes: true });
|
|
9301
9407
|
} catch (err) {
|
|
9302
9408
|
if (err.code === "ENOENT") return;
|
|
9303
9409
|
throw err;
|
|
@@ -9364,7 +9470,7 @@ function manifestKey(file) {
|
|
|
9364
9470
|
const hash = createHash4("sha1").update(manifest.data).digest("hex").slice(0, 16);
|
|
9365
9471
|
return { key: `_${hash}`, mtimeMs: Math.round(manifest.mtimeMs) };
|
|
9366
9472
|
}
|
|
9367
|
-
function registerThumbnailRoutes(api, adapter) {
|
|
9473
|
+
function registerThumbnailRoutes(api, adapter, frameTokenForCapture) {
|
|
9368
9474
|
api.get("/projects/:id/thumbnail/*", async (c) => {
|
|
9369
9475
|
if (!adapter.generateThumbnail) {
|
|
9370
9476
|
return c.json({ error: "Thumbnails not available" }, 501);
|
|
@@ -9414,7 +9520,8 @@ function registerThumbnailRoutes(api, adapter) {
|
|
|
9414
9520
|
const origin = thumbnailPreviewOrigin(adapter.serverOrigin?.(), c.req.header("host"));
|
|
9415
9521
|
if (!origin) return c.json({ error: "thumbnail needs a loopback Host" }, 400);
|
|
9416
9522
|
const projectUrl = `${origin}/api/projects/${encodeURIComponent(project.id)}`;
|
|
9417
|
-
const
|
|
9523
|
+
const preview = frameTokenForCapture ? `preview/~${frameTokenForCapture(project.id)}` : "preview";
|
|
9524
|
+
const previewPath = compPath === "index.html" ? `${projectUrl}/${preview}` : `${projectUrl}/${preview}/comp/${compPath.split("/").map(encodeURIComponent).join("/")}`;
|
|
9418
9525
|
const previewUrl = `${previewPath}?${PREVIEW_CAPTURE_PARAM}=1`;
|
|
9419
9526
|
const cacheDir = join8(project.dir, ".thumbnails");
|
|
9420
9527
|
const selectorKey = selector ? `_${createHash4("sha1").update(selector).digest("hex").slice(0, 16)}_${selectorIndex ?? 0}` : "";
|
|
@@ -9432,9 +9539,9 @@ function registerThumbnailRoutes(api, adapter) {
|
|
|
9432
9539
|
/* @__PURE__ */ new Set([...thumbnailGenerationCoordinator.protectedKeys(), cachePath])
|
|
9433
9540
|
);
|
|
9434
9541
|
}
|
|
9435
|
-
const cached =
|
|
9436
|
-
if (
|
|
9437
|
-
return new Response(new Uint8Array(cached
|
|
9542
|
+
const cached = readProjectCacheFile(project.dir, cachePath, THUMBNAIL_CACHE_MAX_BYTES);
|
|
9543
|
+
if (cached) {
|
|
9544
|
+
return new Response(new Uint8Array(cached), {
|
|
9438
9545
|
headers: { "Content-Type": contentType, "Cache-Control": "no-cache" }
|
|
9439
9546
|
});
|
|
9440
9547
|
}
|
|
@@ -9493,6 +9600,65 @@ function registerThumbnailRoutes(api, adapter) {
|
|
|
9493
9600
|
}
|
|
9494
9601
|
});
|
|
9495
9602
|
}
|
|
9603
|
+
var AUDIO_DECODE_LIMIT = 4;
|
|
9604
|
+
var AUDIO_DECODE_TIMEOUT_MS = 10 * 6e4;
|
|
9605
|
+
var AudioDecodeTimeoutError = class extends Error {
|
|
9606
|
+
constructor() {
|
|
9607
|
+
super("audio decode took too long");
|
|
9608
|
+
this.name = "AudioDecodeTimeoutError";
|
|
9609
|
+
}
|
|
9610
|
+
};
|
|
9611
|
+
var runDecode = createJobSlots(AUDIO_DECODE_LIMIT);
|
|
9612
|
+
var inFlight = /* @__PURE__ */ new Map();
|
|
9613
|
+
function decodeWithTimeout(mediaPath, decode, stop) {
|
|
9614
|
+
const timedOut = new AbortController();
|
|
9615
|
+
const timer = setTimeout(
|
|
9616
|
+
() => timedOut.abort(new AudioDecodeTimeoutError()),
|
|
9617
|
+
AUDIO_DECODE_TIMEOUT_MS
|
|
9618
|
+
);
|
|
9619
|
+
return decode(mediaPath, AbortSignal.any([stop, timedOut.signal])).finally(
|
|
9620
|
+
() => clearTimeout(timer)
|
|
9621
|
+
);
|
|
9622
|
+
}
|
|
9623
|
+
function startDecode(key, mediaPath, decode) {
|
|
9624
|
+
const stop = new AbortController();
|
|
9625
|
+
const result = runDecode(
|
|
9626
|
+
() => decodeWithTimeout(mediaPath, decode, stop.signal),
|
|
9627
|
+
stop.signal
|
|
9628
|
+
).finally(() => {
|
|
9629
|
+
if (inFlight.get(key) === shared) inFlight.delete(key);
|
|
9630
|
+
});
|
|
9631
|
+
result.catch(() => void 0);
|
|
9632
|
+
const shared = { result, waiting: 0, stop };
|
|
9633
|
+
inFlight.set(key, shared);
|
|
9634
|
+
return shared;
|
|
9635
|
+
}
|
|
9636
|
+
function decodeShared(key, mediaPath, decode, signal) {
|
|
9637
|
+
const shared = inFlight.get(key) ?? startDecode(key, mediaPath, decode);
|
|
9638
|
+
shared.waiting++;
|
|
9639
|
+
return new Promise((resolve5, reject) => {
|
|
9640
|
+
const leave = () => {
|
|
9641
|
+
shared.waiting--;
|
|
9642
|
+
if (shared.waiting === 0) {
|
|
9643
|
+
if (inFlight.get(key) === shared) inFlight.delete(key);
|
|
9644
|
+
shared.stop.abort();
|
|
9645
|
+
}
|
|
9646
|
+
reject(new JobAbandonedError());
|
|
9647
|
+
};
|
|
9648
|
+
if (signal?.aborted) return leave();
|
|
9649
|
+
signal?.addEventListener("abort", leave, { once: true });
|
|
9650
|
+
shared.result.then(
|
|
9651
|
+
(peaks) => {
|
|
9652
|
+
signal?.removeEventListener("abort", leave);
|
|
9653
|
+
resolve5(peaks);
|
|
9654
|
+
},
|
|
9655
|
+
(error) => {
|
|
9656
|
+
signal?.removeEventListener("abort", leave);
|
|
9657
|
+
reject(error);
|
|
9658
|
+
}
|
|
9659
|
+
);
|
|
9660
|
+
});
|
|
9661
|
+
}
|
|
9496
9662
|
function registerWaveformRoutes(api, adapter) {
|
|
9497
9663
|
api.get("/projects/:id/waveform/*", async (c) => {
|
|
9498
9664
|
const project = await adapter.resolveProject(c.req.param("id"));
|
|
@@ -9509,16 +9675,11 @@ function registerWaveformRoutes(api, adapter) {
|
|
|
9509
9675
|
cacheDir,
|
|
9510
9676
|
buildWaveformCacheKey(relative3(project.dir, audioPath), stats)
|
|
9511
9677
|
);
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
const peaks2 = JSON.parse(readFileSync8(cachePath, "utf-8"));
|
|
9515
|
-
return c.json({ peaks: peaks2 });
|
|
9516
|
-
}
|
|
9517
|
-
} catch {
|
|
9518
|
-
}
|
|
9678
|
+
const cached = readCachedPeaks(project.dir, cachePath);
|
|
9679
|
+
if (cached) return c.json({ peaks: cached });
|
|
9519
9680
|
let peaks;
|
|
9520
9681
|
try {
|
|
9521
|
-
peaks = await
|
|
9682
|
+
peaks = await decodeShared(cachePath, audioPath, decodeAudioPeaks, c.req.raw.signal);
|
|
9522
9683
|
} catch {
|
|
9523
9684
|
return c.json({ error: "failed to decode audio" }, 500);
|
|
9524
9685
|
}
|
|
@@ -9550,7 +9711,7 @@ function freezeExtractArgs(src, mediaTime, output) {
|
|
|
9550
9711
|
"-y",
|
|
9551
9712
|
"-ss",
|
|
9552
9713
|
String(round3(mediaTime)),
|
|
9553
|
-
...
|
|
9714
|
+
...mediaInputArgs(src),
|
|
9554
9715
|
"-i",
|
|
9555
9716
|
src,
|
|
9556
9717
|
"-frames:v",
|
|
@@ -9722,7 +9883,7 @@ var FREEZE_DIR = ["assets", "freeze"];
|
|
|
9722
9883
|
function readExpected(absPath, expectedVersion) {
|
|
9723
9884
|
let content;
|
|
9724
9885
|
try {
|
|
9725
|
-
content =
|
|
9886
|
+
content = readFileSync8(absPath, "utf-8");
|
|
9726
9887
|
} catch {
|
|
9727
9888
|
return { error: "not found", status: 404 };
|
|
9728
9889
|
}
|
|
@@ -9730,7 +9891,7 @@ function readExpected(absPath, expectedVersion) {
|
|
|
9730
9891
|
}
|
|
9731
9892
|
function readFrame(path) {
|
|
9732
9893
|
try {
|
|
9733
|
-
return
|
|
9894
|
+
return readFileSync8(path);
|
|
9734
9895
|
} catch (error) {
|
|
9735
9896
|
if (error.code === "ENOENT") return null;
|
|
9736
9897
|
throw error;
|
|
@@ -9783,7 +9944,7 @@ async function extractStill(projectDir, absPath, source, playhead, tools) {
|
|
|
9783
9944
|
return { imageSrc: `${"../".repeat(depth)}${stillPath}`, stillPath, imagePath };
|
|
9784
9945
|
}
|
|
9785
9946
|
function writeFolded(projectDir, absPath, path, before, after, options) {
|
|
9786
|
-
if (
|
|
9947
|
+
if (readFileSync8(absPath, "utf-8") !== before) {
|
|
9787
9948
|
return { error: `file conflict: ${path}`, status: 409 };
|
|
9788
9949
|
}
|
|
9789
9950
|
const backup = snapshotBeforeWrite(projectDir, absPath);
|
|
@@ -9900,7 +10061,7 @@ function registerLoudnessRoutes(api, adapter, measure = defaultMeasure) {
|
|
|
9900
10061
|
} catch (error) {
|
|
9901
10062
|
return c.json({ error: error instanceof Error ? error.message : String(error) }, 400);
|
|
9902
10063
|
}
|
|
9903
|
-
if (!
|
|
10064
|
+
if (!existsSync5(file)) return c.json({ error: "file not found" }, 404);
|
|
9904
10065
|
try {
|
|
9905
10066
|
const measurement = await measure(file, request.window);
|
|
9906
10067
|
const plan = absoluteLoudnessPlan(
|
|
@@ -9948,9 +10109,10 @@ function accumulatePeaks(acc, chunk) {
|
|
|
9948
10109
|
function finishPeaks(acc) {
|
|
9949
10110
|
return acc.bins.map((peak) => Number(peak.toFixed(4)));
|
|
9950
10111
|
}
|
|
9951
|
-
async function decodePeakMap(mediaPath) {
|
|
10112
|
+
async function decodePeakMap(mediaPath, signal) {
|
|
9952
10113
|
const track2 = await probeAudioTrack(mediaPath);
|
|
9953
10114
|
if (!track2 || track2.channels < 1) throw new Error("no audio stream");
|
|
10115
|
+
signal?.throwIfAborted();
|
|
9954
10116
|
const { stream, channels } = track2;
|
|
9955
10117
|
const ffmpeg = requireFfBinary("ffmpeg");
|
|
9956
10118
|
return new Promise((resolvePromise, reject) => {
|
|
@@ -9959,7 +10121,7 @@ async function decodePeakMap(mediaPath) {
|
|
|
9959
10121
|
[
|
|
9960
10122
|
"-v",
|
|
9961
10123
|
"error",
|
|
9962
|
-
...
|
|
10124
|
+
...mediaInputArgs(mediaPath),
|
|
9963
10125
|
"-i",
|
|
9964
10126
|
mediaPath,
|
|
9965
10127
|
"-map",
|
|
@@ -9971,7 +10133,7 @@ async function decodePeakMap(mediaPath) {
|
|
|
9971
10133
|
"f32le",
|
|
9972
10134
|
"pipe:1"
|
|
9973
10135
|
],
|
|
9974
|
-
{ stdio: ["ignore", "pipe", "ignore"], windowsHide: true }
|
|
10136
|
+
{ stdio: ["ignore", "pipe", "ignore"], windowsHide: true, signal }
|
|
9975
10137
|
);
|
|
9976
10138
|
const acc = createPeakAccumulator(PEAK_SAMPLE_RATE, PEAK_BIN_SECONDS, channels);
|
|
9977
10139
|
proc.stdout?.on("data", (chunk) => accumulatePeaks(acc, chunk));
|
|
@@ -9993,23 +10155,6 @@ function buildPeakMapCacheKey(assetPath, fingerprint) {
|
|
|
9993
10155
|
const name = assetPath.replace(/[/\\]/g, "_");
|
|
9994
10156
|
return `${PEAK_MAP_CACHE_VERSION}_${name}_${fingerprint.size}-${Math.round(fingerprint.mtimeMs)}.json`;
|
|
9995
10157
|
}
|
|
9996
|
-
var decodesInFlight = /* @__PURE__ */ new Map();
|
|
9997
|
-
function decodeOnce(cachePath, mediaPath, decode) {
|
|
9998
|
-
const pending2 = decodesInFlight.get(cachePath);
|
|
9999
|
-
if (pending2) return pending2;
|
|
10000
|
-
const started = decode(mediaPath).finally(() => decodesInFlight.delete(cachePath));
|
|
10001
|
-
decodesInFlight.set(cachePath, started);
|
|
10002
|
-
return started;
|
|
10003
|
-
}
|
|
10004
|
-
function readCachedBins(cacheDir, cachePath) {
|
|
10005
|
-
try {
|
|
10006
|
-
if (!isWaveformCacheDirectory(cacheDir) || !existsSync7(cachePath)) return null;
|
|
10007
|
-
const parsed = JSON.parse(readFileSync10(cachePath, "utf-8"));
|
|
10008
|
-
return Array.isArray(parsed) && parsed.every((n) => typeof n === "number") ? parsed : null;
|
|
10009
|
-
} catch {
|
|
10010
|
-
return null;
|
|
10011
|
-
}
|
|
10012
|
-
}
|
|
10013
10158
|
function registerPeakRoutes(api, adapter, decode = decodePeakMap) {
|
|
10014
10159
|
api.get("/projects/:id/peaks/*", async (c) => {
|
|
10015
10160
|
const project = await adapter.resolveProject(c.req.param("id"));
|
|
@@ -10022,11 +10167,11 @@ function registerPeakRoutes(api, adapter, decode = decodePeakMap) {
|
|
|
10022
10167
|
if (!stats?.isFile()) return c.json({ error: "file not found" }, 404);
|
|
10023
10168
|
const cacheDir = join11(project.dir, ".waveform-cache");
|
|
10024
10169
|
const cachePath = join11(cacheDir, buildPeakMapCacheKey(relative5(project.dir, mediaPath), stats));
|
|
10025
|
-
const cached =
|
|
10170
|
+
const cached = readCachedPeaks(project.dir, cachePath);
|
|
10026
10171
|
if (cached) return c.json({ binSeconds: PEAK_BIN_SECONDS, bins: cached });
|
|
10027
10172
|
let bins;
|
|
10028
10173
|
try {
|
|
10029
|
-
bins = await
|
|
10174
|
+
bins = await decodeShared(cachePath, mediaPath, decode, c.req.raw.signal);
|
|
10030
10175
|
} catch {
|
|
10031
10176
|
return c.json({ error: "failed to decode audio" }, 500);
|
|
10032
10177
|
}
|
|
@@ -10307,7 +10452,7 @@ function readDraft(file) {
|
|
|
10307
10452
|
try {
|
|
10308
10453
|
const stat2 = fstatSync4(fd);
|
|
10309
10454
|
if (!stat2.isFile() || stat2.size > MAX_DRAFT_BYTES) return null;
|
|
10310
|
-
return JSON.parse(
|
|
10455
|
+
return JSON.parse(readFileSync9(fd, "utf-8"));
|
|
10311
10456
|
} catch {
|
|
10312
10457
|
return null;
|
|
10313
10458
|
} finally {
|
|
@@ -10386,7 +10531,7 @@ function uniqueAssetPath(projectDir, assetPath, taken) {
|
|
|
10386
10531
|
const ext = extname(assetPath);
|
|
10387
10532
|
const withoutExt = assetPath.slice(0, -ext.length);
|
|
10388
10533
|
let candidate = assetPath;
|
|
10389
|
-
for (let index = 2; taken.has(candidate) ||
|
|
10534
|
+
for (let index = 2; taken.has(candidate) || existsSync6(join13(projectDir, candidate)); index++) {
|
|
10390
10535
|
candidate = `${withoutExt}-${index}${ext}`;
|
|
10391
10536
|
}
|
|
10392
10537
|
return candidate;
|
|
@@ -10472,7 +10617,7 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
10472
10617
|
}
|
|
10473
10618
|
const inputPath = resolveWithinProject2(project.dir, inputAssetPath);
|
|
10474
10619
|
if (!inputPath) return c.json({ error: "forbidden" }, 403);
|
|
10475
|
-
if (!
|
|
10620
|
+
if (!existsSync6(inputPath)) return c.json({ error: "input media not found" }, 404);
|
|
10476
10621
|
const inputIsVideo = isVideoPath(inputAssetPath);
|
|
10477
10622
|
const inputIsImage = isImagePath(inputAssetPath);
|
|
10478
10623
|
if (!inputIsVideo && !inputIsImage) {
|
|
@@ -10565,9 +10710,9 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
10565
10710
|
}
|
|
10566
10711
|
function readGlobalAssets(home = homedir()) {
|
|
10567
10712
|
const manifestPath = join14(home, ".media", "manifest.jsonl");
|
|
10568
|
-
if (!
|
|
10713
|
+
if (!existsSync7(manifestPath)) return [];
|
|
10569
10714
|
const out = [];
|
|
10570
|
-
for (const line of
|
|
10715
|
+
for (const line of readFileSync10(manifestPath, "utf8").split("\n")) {
|
|
10571
10716
|
if (!line.trim()) continue;
|
|
10572
10717
|
try {
|
|
10573
10718
|
const rec = JSON.parse(line);
|
|
@@ -10932,6 +11077,8 @@ async function underToken(res, headers, projectId, token) {
|
|
|
10932
11077
|
const html = (await res.text()).replaceAll(base, `${base}~${token}/`);
|
|
10933
11078
|
return new Response(html, { status: res.status, headers });
|
|
10934
11079
|
}
|
|
11080
|
+
var frameTokenLoads = /* @__PURE__ */ new WeakSet();
|
|
11081
|
+
var loadedThroughFrameToken = (request) => frameTokenLoads.has(request);
|
|
10935
11082
|
function serveTokenPreviewPaths(api, tokens, resolveProjectId) {
|
|
10936
11083
|
return async (c, next) => {
|
|
10937
11084
|
const url = new URL(c.req.url);
|
|
@@ -10945,6 +11092,7 @@ function serveTokenPreviewPaths(api, tokens, resolveProjectId) {
|
|
|
10945
11092
|
if (answersProxyPreflight(c, url))
|
|
10946
11093
|
return new Response(null, { status: 204, headers: PROXY_PREFLIGHT_ANSWER });
|
|
10947
11094
|
const req = new Request(url, { method: c.req.method, headers: c.req.raw.headers });
|
|
11095
|
+
frameTokenLoads.add(req);
|
|
10948
11096
|
const res = await api.fetch(req);
|
|
10949
11097
|
return underToken(res, tokenPathHeaders(c, res, url.pathname), projectId, token);
|
|
10950
11098
|
};
|
|
@@ -10960,11 +11108,13 @@ async function answerRefusedFrameWithPage(c, next) {
|
|
|
10960
11108
|
headers
|
|
10961
11109
|
});
|
|
10962
11110
|
}
|
|
10963
|
-
var
|
|
11111
|
+
var siteHeaders = (c) => ({
|
|
10964
11112
|
fetchSite: c.req.header("sec-fetch-site"),
|
|
10965
11113
|
host: c.req.header("host") ?? urlHost(c.req.url),
|
|
10966
11114
|
referer: c.req.header("referer")
|
|
10967
11115
|
});
|
|
11116
|
+
var fromAnotherSite = (c) => requestFromAnotherSite(siteHeaders(c));
|
|
11117
|
+
var documentForAnotherSite = (c) => documentFromAnotherSite(siteHeaders(c));
|
|
10968
11118
|
var isThumbnailCapture = (c) => c.req.query(PREVIEW_CAPTURE_PARAM) !== void 0;
|
|
10969
11119
|
async function markPreviewForAnotherSite(c) {
|
|
10970
11120
|
if (c.res.status !== 200 || !c.res.headers.get("content-type")?.startsWith("text/html")) return;
|
|
@@ -10980,7 +11130,7 @@ async function markPreviewForAnotherSite(c) {
|
|
|
10980
11130
|
}
|
|
10981
11131
|
var FRAMED_DESTS = /* @__PURE__ */ new Set(["document", "iframe", "frame", "embed", "object", "fencedframe"]);
|
|
10982
11132
|
var framedByAnotherSite = (c) => {
|
|
10983
|
-
if (!
|
|
11133
|
+
if (!documentForAnotherSite(c)) return false;
|
|
10984
11134
|
const dest = c.req.header("sec-fetch-dest");
|
|
10985
11135
|
return dest === void 0 || FRAMED_DESTS.has(dest);
|
|
10986
11136
|
};
|
|
@@ -10993,12 +11143,18 @@ function withoutValidators(request) {
|
|
|
10993
11143
|
var sandboxPreviewForAnotherSiteOrCapture = (sandboxCaptures) => async (c, next) => {
|
|
10994
11144
|
if (framedByAnotherSite(c)) c.req.raw = withoutValidators(c.req.raw);
|
|
10995
11145
|
await next();
|
|
10996
|
-
c.header("Vary", "Sec-Fetch-Site", { append: true });
|
|
10997
|
-
const anotherSite =
|
|
11146
|
+
c.header("Vary", "Sec-Fetch-Site, Referer", { append: true });
|
|
11147
|
+
const anotherSite = documentForAnotherSite(c);
|
|
10998
11148
|
if (anotherSite || sandboxCaptures && isThumbnailCapture(c))
|
|
10999
11149
|
c.header("Content-Security-Policy", "sandbox allow-scripts");
|
|
11000
11150
|
if (anotherSite) await markPreviewForAnotherSite(c);
|
|
11001
11151
|
};
|
|
11152
|
+
async function refuseProxyWorkForAnotherSite(c, next) {
|
|
11153
|
+
const proxyWork = c.req.query(PREVIEW_PROXY_PARAM) !== void 0;
|
|
11154
|
+
if (proxyWork && fromAnotherSite(c) && !loadedThroughFrameToken(c.req.raw))
|
|
11155
|
+
return c.text("forbidden: media proxy requested by another site", 403);
|
|
11156
|
+
return next();
|
|
11157
|
+
}
|
|
11002
11158
|
var refuseForAnotherSite = (what) => async (c, next) => {
|
|
11003
11159
|
if (fromAnotherSite(c))
|
|
11004
11160
|
return c.json({ error: `forbidden: ${what} requested by another site` }, 403);
|
|
@@ -11027,6 +11183,7 @@ function createStudioApi(adapter, options = {}) {
|
|
|
11027
11183
|
() => void 0
|
|
11028
11184
|
);
|
|
11029
11185
|
api.use("/projects/:id/preview/*", serveTokenPreviewPaths(api, frameTokens, resolveProjectId));
|
|
11186
|
+
api.use("/projects/:id/preview/*", refuseProxyWorkForAnotherSite);
|
|
11030
11187
|
api.use(
|
|
11031
11188
|
"/projects/:id/preview/*",
|
|
11032
11189
|
sandboxPreviewForAnotherSiteOrCapture(sandboxThumbnailCaptures)
|
|
@@ -11107,7 +11264,11 @@ function createStudioApi(adapter, options = {}) {
|
|
|
11107
11264
|
});
|
|
11108
11265
|
registerLintRoutes(api, adapter);
|
|
11109
11266
|
registerRenderRoutes(api, adapter);
|
|
11110
|
-
registerThumbnailRoutes(
|
|
11267
|
+
registerThumbnailRoutes(
|
|
11268
|
+
api,
|
|
11269
|
+
adapter,
|
|
11270
|
+
sandboxThumbnailCaptures ? frameTokens.tokenFor : void 0
|
|
11271
|
+
);
|
|
11111
11272
|
registerImageThumbnailRoutes(api, adapter);
|
|
11112
11273
|
registerSelectionRoutes(api, adapter);
|
|
11113
11274
|
registerRecoveryDraftRoutes(api, adapter);
|
|
@@ -11172,24 +11333,33 @@ function numericAttribute(element, name) {
|
|
|
11172
11333
|
const value = Number(element.getAttribute(name));
|
|
11173
11334
|
return Number.isFinite(value) ? value : null;
|
|
11174
11335
|
}
|
|
11175
|
-
|
|
11336
|
+
var MAX_DOCUMENT_BYTES = 256 * 1024 * 1024;
|
|
11337
|
+
var MAC_HEX_LENGTH = 64;
|
|
11338
|
+
function createPreviewDocumentStore(projectDir, salt, secret) {
|
|
11339
|
+
if (!secret) return { read: () => null, write: () => {
|
|
11340
|
+
} };
|
|
11176
11341
|
const dir = join15(projectDir, ".hyperframes", "preview");
|
|
11177
11342
|
const fileFor = (key) => join15(dir, `${createHash7("sha256").update(`${salt}
|
|
11178
11343
|
${key}`).digest("hex").slice(0, 32)}.html`);
|
|
11344
|
+
const macFor = (key, html) => createHmac2("sha256", secret).update(`preview-document
|
|
11345
|
+
${salt}
|
|
11346
|
+
${key}
|
|
11347
|
+
`).update(html).digest("hex");
|
|
11179
11348
|
return {
|
|
11180
11349
|
read(key) {
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11350
|
+
const stored = readProjectCacheFile(projectDir, fileFor(key), MAX_DOCUMENT_BYTES);
|
|
11351
|
+
if (!stored || stored.length <= MAC_HEX_LENGTH) return null;
|
|
11352
|
+
const html = stored.subarray(MAC_HEX_LENGTH + 1).toString("utf-8");
|
|
11353
|
+
const mac = stored.subarray(0, MAC_HEX_LENGTH);
|
|
11354
|
+
return timingSafeEqual2(mac, Buffer.from(macFor(key, html))) ? html : null;
|
|
11186
11355
|
},
|
|
11187
11356
|
write(key, html) {
|
|
11188
11357
|
try {
|
|
11189
11358
|
mkdirOwnedWithinProject(projectDir, dir);
|
|
11190
11359
|
const file = fileFor(key);
|
|
11191
|
-
replaceFileAtomically(file,
|
|
11192
|
-
|
|
11360
|
+
replaceFileAtomically(file, `${macFor(key, html)}
|
|
11361
|
+
${html}`, 420);
|
|
11362
|
+
for (const name of readdirSync6(dir)) {
|
|
11193
11363
|
if (join15(dir, name) !== file) rmSync7(join15(dir, name), { force: true });
|
|
11194
11364
|
}
|
|
11195
11365
|
} catch {
|
|
@@ -11269,6 +11439,7 @@ export {
|
|
|
11269
11439
|
hostHeaderAllowed,
|
|
11270
11440
|
wildcardBindHostAllowed,
|
|
11271
11441
|
requestFromAnotherSite,
|
|
11442
|
+
documentFromAnotherSite,
|
|
11272
11443
|
sameOriginPost,
|
|
11273
11444
|
stampProjectHfIds,
|
|
11274
11445
|
stampProjectHfIdsAsync,
|