hyperframes 0.8.200 → 0.8.201
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-MFJDOJHQ.js → add-33XNCMY4.js} +14 -17
- package/dist/{animatedGifPrep-WBZ2VVP6.js → animatedGifPrep-MI7Z4OYQ.js} +8 -11
- package/dist/api.js +16 -19
- package/dist/{asset-PTAQLOR6.js → asset-RMRQN24O.js} +2 -2
- package/dist/{assetCataloger-N3UGZ2RC.js → assetCataloger-KWTQNFUU.js} +8 -11
- package/dist/{audio-CPHWRLC4.js → audio-SQDZZS6X.js} +33 -31
- package/dist/{auth-ZWOJIYK7.js → auth-PNC6K5ZD.js} +2 -2
- package/dist/{autoUpdate-DO74673A.js → autoUpdate-MBZFLUF2.js} +2 -2
- package/dist/{backgroundChecks-HOAN7YB6.js → backgroundChecks-ZMSPA6TK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-AZFHTPSV.js → batchRender-2MMOZRMW.js} +5 -7
- package/dist/{beats-JRMM6JQQ.js → beats-GDLNPR4A.js} +32 -23
- package/dist/{benchmark-2PEQUV7H.js → benchmark-AUKB3XDF.js} +11 -13
- package/dist/{browser-2D6IHFO6.js → browser-C3AU5TST.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-ERB43NFP.js → bundleWithLocalizedFonts-G3UT65XI.js} +2 -2
- package/dist/{capture-WNC2DWF7.js → capture-EKNPCFPF.js} +15 -17
- package/dist/{capture-3ODEX55X.js → capture-XGBPNGC5.js} +2 -2
- package/dist/{captureCompositionFrame-JXXTHR7J.js → captureCompositionFrame-4HHLPTDH.js} +13 -16
- package/dist/{catalog-MHTRTKSY.js → catalog-HLDNEJX3.js} +14 -17
- package/dist/{catch-up-XNDRKMKL.js → catch-up-LRFV4LJO.js} +5 -5
- package/dist/{check-7IB355TM.js → check-XWHWGNYE.js} +39 -42
- package/dist/{checkBrowser-E3ZCTAGY.js → checkBrowser-KSOBXPJ3.js} +34 -37
- package/dist/{chunk-MMQ52NIZ.js → chunk-2BGOB2QK.js} +500 -17
- package/dist/{chunk-5ULL3P6S.js → chunk-2FA53V5S.js} +2 -2
- package/dist/{chunk-PFFR4NQV.js → chunk-3J5KO4EJ.js} +8 -10
- package/dist/{chunk-FTD5QXGF.js → chunk-47NZWTJL.js} +2 -2
- package/dist/{chunk-HXHSGDU6.js → chunk-53E45AKI.js} +60 -34
- package/dist/{chunk-TOC6E65N.js → chunk-6UFEOVR5.js} +2 -2
- package/dist/{chunk-I4VEFPZE.js → chunk-6XGO7ZKS.js} +1 -1
- package/dist/{chunk-G7RKSAKS.js → chunk-74UH2KGI.js} +28 -6
- package/dist/{chunk-7LRVGYKZ.js → chunk-7EJ7OZGC.js} +16 -3
- package/dist/{chunk-7D7V3UDI.js → chunk-7WEGIXI3.js} +2 -2
- package/dist/{chunk-NC3TVM27.js → chunk-A7YO6YSD.js} +6 -6
- package/dist/{chunk-OE7AUN6G.js → chunk-AK2MOAJY.js} +82 -34
- package/dist/{chunk-3XXSRN36.js → chunk-B67P2WP3.js} +2 -2
- package/dist/chunk-B7CYKBXQ.js +36 -0
- package/dist/{chunk-63JJFXAD.js → chunk-CD5ZU6PN.js} +6 -6
- package/dist/{chunk-IC6BO4GU.js → chunk-CV32PRH3.js} +65 -21
- package/dist/{chunk-Q5IJYX7X.js → chunk-DS3XITZ5.js} +2 -2
- package/dist/{chunk-XV7ZNBVY.js → chunk-DWULQYOQ.js} +3 -3
- package/dist/{chunk-VHBBV5DH.js → chunk-ERUINDRT.js} +62 -25
- package/dist/{chunk-FMTJ4I6I.js → chunk-FDWN4XAD.js} +1 -1
- package/dist/{chunk-57Y5X4VU.js → chunk-GC6N2LH5.js} +10 -12
- package/dist/{chunk-5CTORVUM.js → chunk-GHROWWUN.js} +32 -1
- package/dist/{chunk-ZFBET3PD.js → chunk-GKXH4C2B.js} +1 -1
- package/dist/{chunk-63S4VUOL.js → chunk-GNX3BCQP.js} +1 -1
- package/dist/{chunk-HBRPELT6.js → chunk-I4DHHX7E.js} +3 -3
- package/dist/{chunk-TDF2O2RM.js → chunk-IDRUJFT4.js} +2 -2
- package/dist/{chunk-H2X4TQVK.js → chunk-IFOZZYHK.js} +7 -7
- package/dist/{chunk-VFLBOKDI.js → chunk-IHQBTZHE.js} +3 -3
- package/dist/{chunk-KPUTRG54.js → chunk-IIH24PKY.js} +2 -2
- package/dist/{chunk-BIZPUWBG.js → chunk-ITJAHKYO.js} +1 -1
- package/dist/{chunk-6JR2XUEE.js → chunk-IXXVS2Z4.js} +1 -1
- package/dist/{chunk-QP4UWICL.js → chunk-JOI7TNCX.js} +2 -2
- package/dist/{chunk-RFQ6BIRL.js → chunk-JXLHLR26.js} +1 -1
- package/dist/{chunk-DY53XJ3P.js → chunk-K2AUGELJ.js} +1 -1
- package/dist/{chunk-733CEBPF.js → chunk-L33EDCSR.js} +5 -5
- package/dist/{chunk-7NWSVRFE.js → chunk-LVEXHBSH.js} +1 -1
- package/dist/{chunk-XOTUPVIF.js → chunk-MSGWR7WP.js} +9 -1
- package/dist/{chunk-ACH5ZR7X.js → chunk-ORMTNJBS.js} +3 -3
- package/dist/{chunk-DRTUJVLE.js → chunk-Q537KXWA.js} +153 -44
- package/dist/{chunk-7WV27W7R.js → chunk-Q6SHXSZX.js} +2 -2
- package/dist/{chunk-QDK7XCOB.js → chunk-QB4K2EWI.js} +1 -1
- package/dist/{chunk-BQA3X7TI.js → chunk-QSFWGZG6.js} +4 -6
- package/dist/{chunk-D35MPIGJ.js → chunk-QTWSMJ22.js} +15 -15
- package/dist/{chunk-4UPGPCMB.js → chunk-QXBZ6VBL.js} +1 -1
- package/dist/{chunk-FZ3R5XOH.js → chunk-QYTGUWNF.js} +1 -1
- package/dist/{chunk-JBQNDHRT.js → chunk-RVKJDAYE.js} +1 -1
- package/dist/{chunk-32V3VHMK.js → chunk-SEAHCCQ4.js} +6 -43
- package/dist/{chunk-GR2G5L2O.js → chunk-SGKG7DNX.js} +3 -3
- package/dist/{chunk-KVFSXCN6.js → chunk-SIZYTGG4.js} +1 -1
- package/dist/{chunk-3YGSZSEN.js → chunk-SZNCAINN.js} +1 -1
- package/dist/{chunk-I6A2B3IJ.js → chunk-T33GLS6C.js} +3 -3
- package/dist/{chunk-OYVVDYM6.js → chunk-TAXGZAXM.js} +10 -10
- package/dist/{chunk-FTUKOLLB.js → chunk-TOT3CLUK.js} +1 -1
- package/dist/{chunk-TTFHBTXQ.js → chunk-TYRDDIIH.js} +1 -1
- package/dist/{chunk-ML4IULLQ.js → chunk-U2EK5MFR.js} +10 -10
- package/dist/{chunk-QXPZGDTI.js → chunk-UIIGEPYY.js} +3 -3
- package/dist/{chunk-UUFY6A7I.js → chunk-UKB62QOT.js} +131 -92
- package/dist/{chunk-4VZAIVZQ.js → chunk-UOSTDTBF.js} +1 -1
- package/dist/{chunk-IW4LKYDY.js → chunk-VCVUEK65.js} +3 -3
- package/dist/{chunk-TUVNQA5B.js → chunk-VF2VMKNI.js} +3 -3
- package/dist/{chunk-QYQY5ACN.js → chunk-VKTUZP7U.js} +1 -1
- package/dist/{chunk-ISN6BAZX.js → chunk-WO3XZ6HC.js} +1 -1
- package/dist/{chunk-HN6TP4D2.js → chunk-X72DJZCM.js} +1 -1
- package/dist/{chunk-PGDWNIOK.js → chunk-XDMZY3H7.js} +57 -5
- package/dist/{chunk-BERGVZKN.js → chunk-XG365L6T.js} +1 -1
- package/dist/{chunk-GYSPF5ZT.js → chunk-XHVQIOOF.js} +19 -19
- package/dist/{chunk-OMXXJSCK.js → chunk-XONIZ5CH.js} +13 -13
- package/dist/{chunk-2LKHE32Z.js → chunk-YBJECXQJ.js} +5 -5
- package/dist/{chunk-WAG4AX5C.js → chunk-YTBE4JCX.js} +1 -1
- package/dist/{chunk-VLVQQJOX.js → chunk-ZDVJXWEG.js} +22 -3
- package/dist/chunk-ZKHXN2BV.js +3983 -0
- package/dist/{clean-BOYUTBAU.js → clean-EUKURSX2.js} +21 -24
- package/dist/cli.js +54 -54
- package/dist/{cloud-3O2MEZO4.js → cloud-LJDRNQ2N.js} +4 -4
- package/dist/{cloudrun-MCTN22O6.js → cloudrun-AXVFD6KV.js} +7 -9
- package/dist/{compare-A57RHCPB.js → compare-T3LMATAF.js} +31 -34
- package/dist/{compiler-LVNWLZCX.js → compiler-KH6DMHIJ.js} +6 -10
- package/dist/{component-MIJC3LWO.js → component-2FOHCMP2.js} +3 -3
- package/dist/{compositions-OUNZAEC3.js → compositions-REQ6ARAO.js} +13 -16
- package/dist/{delete-X6Q3S3SL.js → delete-KEPP2QAZ.js} +2 -2
- package/dist/{deploy-XXMIXGUF.js → deploy-N756FEME.js} +1 -1
- package/dist/{deterministicFonts-RMA7GDJC.js → deterministicFonts-4FULD3AS.js} +2 -2
- package/dist/{dist-2UO4RVFN.js → dist-5ULOGA6A.js} +28 -16
- package/dist/{dist-ONHJ6ZDA.js → dist-TFHABY7N.js} +2 -4
- package/dist/{doctor-ASSDEPCO.js → doctor-2SJPC4WZ.js} +14 -17
- package/dist/{dotEnv-64S3VKGH.js → dotEnv-RPHCAUBZ.js} +1 -1
- package/dist/{events-DVWSV3TQ.js → events-24ZE2PKB.js} +4 -4
- package/dist/{events-4ULC5VUK.js → events-U53QH4XZ.js} +3 -3
- package/dist/{feedback-OB3NJPNF.js → feedback-QFMLDLUN.js} +10 -12
- package/dist/{ffmpeg-JH3JXES2.js → ffmpeg-7XNWNO7M.js} +8 -11
- package/dist/{figma-GV4OGXC2.js → figma-B4JO44CV.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -14
- package/dist/{get-FLMCUJGR.js → get-7CFVCINR.js} +2 -2
- package/dist/{gpuPolicy-RZ2OUY4M.js → gpuPolicy-MU7CFSAF.js} +8 -11
- package/dist/{grade-compare-O62JAOA7.js → grade-compare-Q23U2HGS.js} +32 -35
- package/dist/{help-6POZ4GNV.js → help-M67MEDV3.js} +1 -1
- package/dist/{history-72ZIF5WR.js → history-I2PZXOFL.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -64
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-GGIFZ5CT.js → info-Z2MX54IE.js} +10 -12
- package/dist/{init-QYRN6HG2.js → init-SWH5KZO2.js} +29 -32
- package/dist/{inspect-KSL4YVIU.js → inspect-WBBDB3YS.js} +32 -35
- package/dist/{installer-ENQCLSJQ.js → installer-DQIHGUBJ.js} +6 -9
- package/dist/{keyframes-6PNLGKOO.js → keyframes-PSNEUS6P.js} +7 -7
- package/dist/{lambda-3RFOOJV6.js → lambda-KSZFMQ3L.js} +9 -11
- package/dist/{layout-3XFC6N3L.js → layout-AAOI7W2M.js} +32 -35
- package/dist/{lint-5XGLCTV5.js → lint-GGNVITIK.js} +9 -11
- package/dist/{lintProject-FKPKSU6M.js → lintProject-Q36Y3AHA.js} +2 -4
- package/dist/{list-B76BTLOM.js → list-OFPDL2AM.js} +2 -2
- package/dist/{login-MNXS7GEL.js → login-MZAHGGP4.js} +4 -4
- package/dist/{manager-BWU4U7DV.js → manager-F34TSFV6.js} +2 -2
- package/dist/{manager-QZZVJV7Z.js → manager-ZOFTZTRY.js} +9 -12
- package/dist/{media-treatment-J3OWRCBF.js → media-treatment-PF67GSUD.js} +66 -42
- package/dist/{models-MCDUTV54.js → models-WR7CL54R.js} +12 -15
- package/dist/{motionShot-RWEH3VWI.js → motionShot-ISLDWLIU.js} +17 -20
- package/dist/{normalize-audio-N7VRZODX.js → normalize-audio-D7AH5GFZ.js} +44 -26
- package/dist/{open-ROUFAVKD.js → open-HPVBB2CX.js} +14 -17
- package/dist/{parakeetRunner-PTVV5M44.js → parakeetRunner-P6PE4WXG.js} +13 -16
- package/dist/{pipeline-HN5KMORF.js → pipeline-XKBZG2CM.js} +9 -12
- package/dist/{play-AO7AF4Y4.js → play-QXHO47ZH.js} +23 -26
- package/dist/{preflight-ARNDDFGX.js → preflight-KZCU66ES.js} +11 -14
- package/dist/{present-FBPKUC5R.js → present-ERGC5PR4.js} +19 -22
- package/dist/{preview-35X5G426.js → preview-AGTOQIE7.js} +20 -23
- package/dist/{producer-FVGPLR5E.js → producer-4ONVM5A2.js} +1 -1
- package/dist/{projectConfig-SRUJLOHL.js → projectConfig-7T4VY6RJ.js} +8 -11
- package/dist/{publication-XH2BRL3V.js → publication-J5TS5VR3.js} +4 -6
- package/dist/{publish-RI4ZQZNT.js → publish-BSOVXRF4.js} +11 -14
- package/dist/{remove-background-J22P5JFW.js → remove-background-645NVCGL.js} +10 -13
- package/dist/{render-UXYZN6D2.js → render-55TYPJ5U.js} +7 -9
- package/dist/{render-2EZQT4IS.js → render-IAVH33YG.js} +37 -33
- package/dist/{render-IJUKJILU.js → render-R3L44QAP.js} +34 -37
- package/dist/{render-batch-X34UZ442.js → render-batch-JWWLQ7ZC.js} +7 -9
- package/dist/renderSetupWorker.js +4 -6
- package/dist/{resolver-UUEIRLMY.js → resolver-DBAFWC4F.js} +6 -8
- package/dist/{sherpa-FI4VNAFT.js → sherpa-UPWG6TKY.js} +12 -15
- package/dist/skills/hyperframes/references/runtimes.md +26 -0
- package/dist/skills/media-use/references/mixing.md +1 -1
- package/dist/skills/media-use/scripts/lib/grade-analyzer.mjs +38 -26
- package/dist/{skills-LGKXQFW7.js → skills-ILH52UL4.js} +6 -6
- package/dist/{skillsUpdateCheck-NDPKSX3H.js → skillsUpdateCheck-ZHFDGMEL.js} +3 -3
- package/dist/{snapshot-JM6427YW.js → snapshot-WMVHIQVQ.js} +93 -60
- package/dist/{src-26NBARTO.js → src-46QTOHZE.js} +10 -13
- package/dist/{src-WEECPY6E.js → src-HPLELQRK.js} +11 -10
- package/dist/{staticProjectServer-I5WGMJOV.js → staticProjectServer-FHP2YQFV.js} +19 -22
- package/dist/{status-SCCC7A6N.js → status-LR7VXITS.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-LmRUJE8q.js → hyperframes-player-BNeO6YSP.js} +1 -1
- package/dist/studio/assets/{index-BmTWk8xf.js → index-CZWE0FI8.js} +162 -162
- package/dist/studio/assets/{index-CKNiEwbW.js → index-DiNYtcMK.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-N774Q4NO.js → studio-api-5YHQ4Y2D.js} +12 -15
- package/dist/{studioServer-KZIM5UBJ.js → studioServer-P6IC76SV.js} +53 -56
- package/dist/{system-HV7PYIXE.js → system-YD4AW5ZX.js} +1 -1
- package/dist/{telemetry-JIETM7WP.js → telemetry-WZ7OGFWQ.js} +4 -4
- package/dist/{timeline-JJ6JG7GQ.js → timeline-U6S7BGMI.js} +23 -25
- package/dist/{tokens-VOIMSCGX.js → tokens-FPUYNZSV.js} +2 -2
- package/dist/{transcribe-2V23EQHD.js → transcribe-DJX4E2PE.js} +18 -21
- package/dist/{transcribe-7BDHDQVP.js → transcribe-DZHTKXI5.js} +11 -14
- package/dist/{updateCheck-7B7L3UWO.js → updateCheck-2LHWRDE7.js} +2 -2
- package/dist/{upgrade-TUA2QZTY.js → upgrade-WAQHCAUS.js} +2 -2
- package/dist/{urlDownloader-CGV6EYL7.js → urlDownloader-HZQPXQET.js} +7 -10
- package/dist/{validate-JLCXEI2U.js → validate-D6XJ7OSS.js} +26 -29
- package/dist/{video-TI3EOA2D.js → video-A4CQ4WDL.js} +8 -11
- package/dist/warmCheck.js +39 -42
- package/package.json +1 -1
- package/dist/chunk-BSQ7XANM.js +0 -210
- package/dist/chunk-PKZ7RK5N.js +0 -281
- package/dist/chunk-PW22CDII.js +0 -3901
- package/dist/chunk-X7HBSTCZ.js +0 -53
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3J5KO4EJ.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IXXVS2Z4.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TARGET_LUFS,
|
|
29
29
|
absoluteLoudnessPlan,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UIIGEPYY.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveProjectAndSignature,
|
|
47
47
|
resolveProjectSignature,
|
|
48
48
|
settledFileTag
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XDMZY3H7.js";
|
|
50
50
|
import {
|
|
51
51
|
PROXY_PARAMS_VERSION,
|
|
52
52
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
recordProxyRequest,
|
|
66
66
|
resolveProxy,
|
|
67
67
|
resolveProxyVariantRequest,
|
|
68
|
-
|
|
68
|
+
scanProjectMedia,
|
|
69
69
|
shouldPrewarmProxy,
|
|
70
70
|
waitForProxy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-Q537KXWA.js";
|
|
72
72
|
import {
|
|
73
73
|
STUDIO_MOTION_PATH,
|
|
74
74
|
createStudioMotionRenderBodyScript,
|
|
@@ -104,6 +104,7 @@ import {
|
|
|
104
104
|
import {
|
|
105
105
|
GSAP_BASE_URL_META,
|
|
106
106
|
PREVIEW_PROXY_BOX_PARAM,
|
|
107
|
+
PREVIEW_PROXY_LIGHT_PARAM,
|
|
107
108
|
formatPreviewProxyBox,
|
|
108
109
|
formatRenderOutputTimestamp,
|
|
109
110
|
gsapCdnDist,
|
|
@@ -112,12 +113,12 @@ import {
|
|
|
112
113
|
normalizeGsapLocalRoot,
|
|
113
114
|
parseFps,
|
|
114
115
|
parsePreviewProxyBox
|
|
115
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-74UH2KGI.js";
|
|
116
117
|
import {
|
|
117
118
|
addScenePartsManifest,
|
|
118
119
|
ensureHfIds,
|
|
119
120
|
stampHfIdsInPlace
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-SEAHCCQ4.js";
|
|
121
122
|
import {
|
|
122
123
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
124
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +132,7 @@ import {
|
|
|
131
132
|
resolveRateSpec,
|
|
132
133
|
sourceTimeAt,
|
|
133
134
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-ZKHXN2BV.js";
|
|
135
136
|
import {
|
|
136
137
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
138
|
MagicString,
|
|
@@ -139,7 +140,7 @@ import {
|
|
|
139
140
|
decodeAuthoredAttribute,
|
|
140
141
|
scanHtmlOpeningTags,
|
|
141
142
|
unrollComputedTimeline
|
|
142
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-MSGWR7WP.js";
|
|
143
144
|
import {
|
|
144
145
|
ProjectRootMissingError,
|
|
145
146
|
folderGone,
|
|
@@ -156,9 +157,6 @@ import {
|
|
|
156
157
|
isWithinProjectRoot,
|
|
157
158
|
readProjectFile
|
|
158
159
|
} from "./chunk-6BNTGNGD.js";
|
|
159
|
-
import {
|
|
160
|
-
sameInstant
|
|
161
|
-
} from "./chunk-MMQ52NIZ.js";
|
|
162
160
|
import {
|
|
163
161
|
decodeCssEscapes,
|
|
164
162
|
decodeWellFormedEscapes,
|
|
@@ -167,8 +165,9 @@ import {
|
|
|
167
165
|
readMediaOffsetSeconds,
|
|
168
166
|
rewriteAssetPaths,
|
|
169
167
|
rewriteCssAssetUrls,
|
|
170
|
-
rewriteInlineStyleAssetUrls
|
|
171
|
-
|
|
168
|
+
rewriteInlineStyleAssetUrls,
|
|
169
|
+
sameInstant
|
|
170
|
+
} from "./chunk-2BGOB2QK.js";
|
|
172
171
|
import {
|
|
173
172
|
parseHTML
|
|
174
173
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -308,7 +307,7 @@ function clearElementScreenshotIsolation() {
|
|
|
308
307
|
page.__hfThumbnailFaded = [];
|
|
309
308
|
}
|
|
310
309
|
|
|
311
|
-
// ../studio-server/dist/chunk-
|
|
310
|
+
// ../studio-server/dist/chunk-HZCA2O76.js
|
|
312
311
|
import { resolve } from "path";
|
|
313
312
|
function isAutoProxyEnabled(adapter) {
|
|
314
313
|
return adapter.autoProxy !== false;
|
|
@@ -321,17 +320,15 @@ function proxyEtagSalt(raw, box) {
|
|
|
321
320
|
return `:proxy:${raw}:${PROXY_PARAMS_VERSION}${box ? `:${formatPreviewProxyBox(box)}` : ""}`;
|
|
322
321
|
}
|
|
323
322
|
async function injectMediaCodecMapIntoHtml(html, projectDir, htmlSources, probeCache, prewarm = true, signal, box) {
|
|
324
|
-
let
|
|
323
|
+
let scan;
|
|
325
324
|
try {
|
|
326
|
-
|
|
327
|
-
projectDir,
|
|
328
|
-
htmlSources,
|
|
329
|
-
probeCache ? { cache: probeCache } : {}
|
|
330
|
-
);
|
|
325
|
+
scan = await scanProjectMedia(projectDir, htmlSources, probeCache ? { cache: probeCache } : {});
|
|
331
326
|
} catch {
|
|
332
327
|
return html;
|
|
333
328
|
}
|
|
334
|
-
|
|
329
|
+
const { codecMap: map, sourceFacts } = scan;
|
|
330
|
+
const hasMap = Object.keys(map).length > 0;
|
|
331
|
+
if (!hasMap && Object.keys(sourceFacts).length === 0) return html;
|
|
335
332
|
for (const [rootRelativePathname, facts] of Object.entries(map)) {
|
|
336
333
|
if (!prewarm || !shouldPrewarmProxy(facts)) continue;
|
|
337
334
|
recordProxyPrewarm();
|
|
@@ -344,8 +341,12 @@ async function injectMediaCodecMapIntoHtml(html, projectDir, htmlSources, probeC
|
|
|
344
341
|
).catch(() => {
|
|
345
342
|
});
|
|
346
343
|
}
|
|
347
|
-
const
|
|
348
|
-
const
|
|
344
|
+
const safeJson = (value) => JSON.stringify(value).replace(/</g, "\\u003c").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
|
|
345
|
+
const assignments = [
|
|
346
|
+
...hasMap ? [`window.__HF_MEDIA_CODEC_MAP__=${safeJson(map)};`] : [],
|
|
347
|
+
`window.__HF_MEDIA_SOURCE_FACTS__=${safeJson(sourceFacts)};`
|
|
348
|
+
];
|
|
349
|
+
const tag = `<script data-hf-media-codec-map>${assignments.join("")}</script>`;
|
|
349
350
|
return insertBeforeCloseTag(html, "head", `${tag}
|
|
350
351
|
`) ?? `${tag}
|
|
351
352
|
${html}`;
|
|
@@ -5544,7 +5545,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5544
5545
|
let block = extractGsapScriptBlock(html);
|
|
5545
5546
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5546
5547
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5547
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5548
|
+
const { GSAP_CDN } = await import("./dist-5ULOGA6A.js");
|
|
5548
5549
|
const bootstrap = [
|
|
5549
5550
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5550
5551
|
"<script>",
|
|
@@ -7864,7 +7865,8 @@ ${etag}`;
|
|
|
7864
7865
|
const proxyParam = c.req.query("hf-proxy");
|
|
7865
7866
|
const boxParam = c.req.query(PREVIEW_PROXY_BOX_PARAM);
|
|
7866
7867
|
const proxyBox = boxParam === void 0 ? void 0 : parsePreviewProxyBox(boxParam);
|
|
7867
|
-
|
|
7868
|
+
const lightRequested = c.req.query(PREVIEW_PROXY_LIGHT_PARAM) !== void 0;
|
|
7869
|
+
if (proxyBox === null || proxyBox && proxyParam === void 0 || lightRequested && !proxyBox) {
|
|
7868
7870
|
return c.text("not found", 404);
|
|
7869
7871
|
}
|
|
7870
7872
|
let proxyVariant;
|
|
@@ -7873,7 +7875,7 @@ ${etag}`;
|
|
|
7873
7875
|
return c.text("not found", 404);
|
|
7874
7876
|
}
|
|
7875
7877
|
const facts = await probeAssetCodec(file, void 0, mediaCodecProbeCache);
|
|
7876
|
-
const eligibility = decideMediaProxyEligibility(facts);
|
|
7878
|
+
const eligibility = decideMediaProxyEligibility(facts, lightRequested ? proxyBox : void 0);
|
|
7877
7879
|
if (!eligibility.eligible) {
|
|
7878
7880
|
return c.text(`media proxy unavailable: ${eligibility.reason}`, 422);
|
|
7879
7881
|
}
|
|
@@ -9908,8 +9910,25 @@ function registerHistoryRoutes(api, adapter) {
|
|
|
9908
9910
|
})
|
|
9909
9911
|
);
|
|
9910
9912
|
}
|
|
9913
|
+
function previewErrorPage(status) {
|
|
9914
|
+
const message = `The preview page could not be loaded (HTTP ${status}).`;
|
|
9915
|
+
return `<!doctype html><meta charset="utf-8"><script>window.${STUDIO_PREVIEW_ERRORS}=[${JSON.stringify(message)}]</script><p>${message}</p>`;
|
|
9916
|
+
}
|
|
9917
|
+
async function answerRefusedFrameWithPage(c, next) {
|
|
9918
|
+
await next();
|
|
9919
|
+
if (c.req.header("sec-fetch-dest") !== "iframe" || c.res.status < 400) return;
|
|
9920
|
+
const headers = new Headers(c.res.headers);
|
|
9921
|
+
headers.set("content-type", "text/html; charset=utf-8");
|
|
9922
|
+
headers.delete("content-length");
|
|
9923
|
+
c.res = new Response(previewErrorPage(c.res.status), {
|
|
9924
|
+
status: c.res.status,
|
|
9925
|
+
headers
|
|
9926
|
+
});
|
|
9927
|
+
}
|
|
9911
9928
|
function createStudioApi(adapter) {
|
|
9912
9929
|
const api = new Hono();
|
|
9930
|
+
api.use("/projects/:id/preview/*", answerRefusedFrameWithPage);
|
|
9931
|
+
api.use("/projects/:id/preview", answerRefusedFrameWithPage);
|
|
9913
9932
|
api.use(async function answerProjectDirMissingAfterErrorHandlers(c, next) {
|
|
9914
9933
|
const hostHeaders = new Headers(c.res.headers);
|
|
9915
9934
|
await next();
|
|
@@ -9956,13 +9975,14 @@ function createStudioApi(adapter) {
|
|
|
9956
9975
|
registerHistoryRoutes(api, adapter);
|
|
9957
9976
|
return api;
|
|
9958
9977
|
}
|
|
9959
|
-
function duplicateElementInHtml(source, target, newId, at) {
|
|
9978
|
+
function duplicateElementInHtml(source, target, newId, at, fallbackDuration = 0) {
|
|
9960
9979
|
const { document: document2, wrappedFragment } = parseSourceDocument(source);
|
|
9961
9980
|
const element = findTargetElement(document2, target);
|
|
9962
9981
|
if (!element || !element.parentElement) return { html: source, matched: false, newId: null };
|
|
9963
|
-
const duration = numericAttribute(element, "data-duration");
|
|
9982
|
+
const duration = element.hasAttribute("data-duration") ? numericAttribute(element, "data-duration") : fallbackDuration;
|
|
9983
|
+
const start = numericAttribute(element, "data-start");
|
|
9964
9984
|
const track = numericAttribute(element, "data-track-index") ?? 0;
|
|
9965
|
-
if (duration === null ||
|
|
9985
|
+
if (duration === null || start === null) {
|
|
9966
9986
|
return { html: source, matched: false, newId: null };
|
|
9967
9987
|
}
|
|
9968
9988
|
const uniqueId = nextUniqueId(document2, newId);
|
|
@@ -9972,13 +9992,13 @@ function duplicateElementInHtml(source, target, newId, at) {
|
|
|
9972
9992
|
clone.setAttribute("id", uniqueId);
|
|
9973
9993
|
dedupeClonedCompositionId(document2, clone);
|
|
9974
9994
|
stripStableIds(clone);
|
|
9975
|
-
clone
|
|
9995
|
+
moveElementStart(clone, start, at);
|
|
9976
9996
|
element.parentElement.insertBefore(clone, element.nextSibling);
|
|
9977
9997
|
const html = wrappedFragment ? document2.body.innerHTML || "" : document2.toString();
|
|
9978
9998
|
return { html: ensureHfIds(html), matched: true, newId: uniqueId };
|
|
9979
9999
|
}
|
|
9980
10000
|
function rippleElements(document2, element, at, duration, track) {
|
|
9981
|
-
for (const candidate of Array.from(document2.querySelectorAll("[data-start]
|
|
10001
|
+
for (const candidate of Array.from(document2.querySelectorAll("[data-start]"))) {
|
|
9982
10002
|
if (candidate === element || candidate.getAttribute("data-track-index") !== String(track)) {
|
|
9983
10003
|
continue;
|
|
9984
10004
|
}
|
|
@@ -9986,9 +10006,15 @@ function rippleElements(document2, element, at, duration, track) {
|
|
|
9986
10006
|
if (start === null) continue;
|
|
9987
10007
|
const metInsertionPoint = sameInstant(start, at);
|
|
9988
10008
|
if (start < at && !metInsertionPoint) continue;
|
|
9989
|
-
candidate
|
|
10009
|
+
moveElementStart(candidate, start, (metInsertionPoint ? at : start) + duration);
|
|
9990
10010
|
}
|
|
9991
10011
|
}
|
|
10012
|
+
function moveElementStart(element, start, nextStart) {
|
|
10013
|
+
element.setAttribute("data-start", String(nextStart));
|
|
10014
|
+
if (!element.hasAttribute("data-end")) return;
|
|
10015
|
+
const end = numericAttribute(element, "data-end");
|
|
10016
|
+
if (end !== null) element.setAttribute("data-end", String(end + (nextStart - start)));
|
|
10017
|
+
}
|
|
9992
10018
|
function stripStableIds(element) {
|
|
9993
10019
|
element.removeAttribute("data-hf-id");
|
|
9994
10020
|
for (const child of Array.from(element.querySelectorAll("[data-hf-id]"))) {
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ITJAHKYO.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
13
13
|
MAX_WINDOW_IDLE_MS,
|
|
14
14
|
openProjectHistory,
|
|
15
15
|
readProjectHistory
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XDMZY3H7.js";
|
|
17
17
|
import {
|
|
18
18
|
findPreviewServerForProject,
|
|
19
19
|
studioApiUrl
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZKHXN2BV.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -17,17 +17,19 @@ import {
|
|
|
17
17
|
isTextElement,
|
|
18
18
|
keyframesToGsapAnimations,
|
|
19
19
|
serializeGsapAnimations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MSGWR7WP.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
MEDIA_START_BASIS_ATTR,
|
|
24
24
|
compositionOriginSeconds,
|
|
25
25
|
hostInPointSeconds,
|
|
26
|
+
isFontValue,
|
|
27
|
+
isImageValue,
|
|
26
28
|
isRootGlobalMediaStart,
|
|
27
29
|
parseStartExpression,
|
|
28
30
|
resolveMediaStartSeconds,
|
|
29
31
|
sameInstant
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2BGOB2QK.js";
|
|
31
33
|
import {
|
|
32
34
|
parseHTML
|
|
33
35
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -1226,6 +1228,7 @@ function parseFirstFrameColour(stderr) {
|
|
|
1226
1228
|
|
|
1227
1229
|
// ../core/dist/previewProxyBox.js
|
|
1228
1230
|
var PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
|
|
1231
|
+
var PREVIEW_PROXY_LIGHT_PARAM = "hf-proxy-light";
|
|
1229
1232
|
var RUNGS = [
|
|
1230
1233
|
256,
|
|
1231
1234
|
304,
|
|
@@ -1270,6 +1273,18 @@ function parsePreviewProxyBox(raw) {
|
|
|
1270
1273
|
const height = Number(match[2]);
|
|
1271
1274
|
return RUNGS.includes(width) && RUNGS.includes(height) ? { width, height } : null;
|
|
1272
1275
|
}
|
|
1276
|
+
var PREVIEW_QUALITY_LEVELS = [1, 0.5, 0.25, 0.125];
|
|
1277
|
+
function isPreviewQuality(value) {
|
|
1278
|
+
return PREVIEW_QUALITY_LEVELS.some((level) => level === value);
|
|
1279
|
+
}
|
|
1280
|
+
var HEAVY_PIXEL_SHARE = 0.5;
|
|
1281
|
+
var HEAVY_BITRATE = 4e7;
|
|
1282
|
+
function scalePreviewProxyBox(box, level) {
|
|
1283
|
+
return quantizePreviewProxyBox(box.width * level, box.height * level) ?? box;
|
|
1284
|
+
}
|
|
1285
|
+
function isHeavyForPreview(facts, copyBox) {
|
|
1286
|
+
return copyBox.width * copyBox.height <= HEAVY_PIXEL_SHARE * facts.width * facts.height || facts.bitDepth > 8 || facts.bitrate >= HEAVY_BITRATE;
|
|
1287
|
+
}
|
|
1273
1288
|
|
|
1274
1289
|
// ../core/dist/inline-scripts/hyperframesRuntime.engine.js
|
|
1275
1290
|
import { existsSync } from "fs";
|
|
@@ -4720,7 +4735,7 @@ function checkType(value, decl) {
|
|
|
4720
4735
|
actual: jsTypeOf(value)
|
|
4721
4736
|
};
|
|
4722
4737
|
}
|
|
4723
|
-
if (
|
|
4738
|
+
if (!isFontValue(value)) {
|
|
4724
4739
|
return {
|
|
4725
4740
|
kind: "type-mismatch",
|
|
4726
4741
|
variableId: decl.id,
|
|
@@ -4741,12 +4756,12 @@ function checkType(value, decl) {
|
|
|
4741
4756
|
actual: jsTypeOf(value)
|
|
4742
4757
|
};
|
|
4743
4758
|
}
|
|
4744
|
-
if (
|
|
4759
|
+
if (!isImageValue(value)) {
|
|
4745
4760
|
return {
|
|
4746
4761
|
kind: "type-mismatch",
|
|
4747
4762
|
variableId: decl.id,
|
|
4748
4763
|
expected: "image object {url: string}",
|
|
4749
|
-
actual: "object missing string url"
|
|
4764
|
+
actual: typeof value.url !== "string" ? "object missing string url" : "object with invalid alt/fit"
|
|
4750
4765
|
};
|
|
4751
4766
|
}
|
|
4752
4767
|
return null;
|
|
@@ -5629,9 +5644,16 @@ export {
|
|
|
5629
5644
|
firstFrameColourArgs,
|
|
5630
5645
|
parseFirstFrameColour,
|
|
5631
5646
|
PREVIEW_PROXY_BOX_PARAM,
|
|
5647
|
+
PREVIEW_PROXY_LIGHT_PARAM,
|
|
5632
5648
|
quantizePreviewProxyBox,
|
|
5633
5649
|
formatPreviewProxyBox,
|
|
5634
5650
|
parsePreviewProxyBox,
|
|
5651
|
+
PREVIEW_QUALITY_LEVELS,
|
|
5652
|
+
isPreviewQuality,
|
|
5653
|
+
HEAVY_PIXEL_SHARE,
|
|
5654
|
+
HEAVY_BITRATE,
|
|
5655
|
+
scalePreviewProxyBox,
|
|
5656
|
+
isHeavyForPreview,
|
|
5635
5657
|
buildHyperframesRuntimeScript,
|
|
5636
5658
|
HYPERFRAME_RUNTIME_GLOBALS,
|
|
5637
5659
|
HYPERFRAME_BRIDGE_SOURCES,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
updateCheckDisabled
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SZNCAINN.js";
|
|
10
10
|
import {
|
|
11
11
|
hostAnswers
|
|
12
12
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -41,6 +41,7 @@ var TEXT_EXT = /* @__PURE__ */ new Set([
|
|
|
41
41
|
".yaml"
|
|
42
42
|
]);
|
|
43
43
|
var DEFAULT_REPO_SLUG = "heygen-com/hyperframes";
|
|
44
|
+
var REPO_SLUG_PATTERN = /^[\w.-]+\/[\w.-]+$/;
|
|
44
45
|
var MANIFEST_FILE = "skills-manifest.json";
|
|
45
46
|
var FETCH_TIMEOUT_MS = 4e3;
|
|
46
47
|
var ENTRY_SKILL = "hyperframes";
|
|
@@ -297,13 +298,25 @@ async function fetchManifest(url) {
|
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
300
|
async function remoteHeadSha(repoSlug2) {
|
|
301
|
+
if (!REPO_SLUG_PATTERN.test(repoSlug2)) return null;
|
|
300
302
|
try {
|
|
301
303
|
const { stdout } = await execFileAsync(
|
|
302
304
|
"git",
|
|
303
|
-
[
|
|
305
|
+
[
|
|
306
|
+
"-c",
|
|
307
|
+
"credential.helper=",
|
|
308
|
+
"ls-remote",
|
|
309
|
+
`https://github.com/${repoSlug2}.git`,
|
|
310
|
+
"refs/heads/main"
|
|
311
|
+
],
|
|
304
312
|
{
|
|
305
313
|
timeout: FETCH_TIMEOUT_MS,
|
|
306
|
-
env: {
|
|
314
|
+
env: {
|
|
315
|
+
...process.env,
|
|
316
|
+
GIT_TERMINAL_PROMPT: "0",
|
|
317
|
+
GIT_ASKPASS: "",
|
|
318
|
+
GCM_INTERACTIVE: "never"
|
|
319
|
+
},
|
|
307
320
|
windowsHide: true
|
|
308
321
|
}
|
|
309
322
|
);
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6UFEOVR5.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XDMZY3H7.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-53E45AKI.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Q537KXWA.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GKXH4C2B.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UOSTDTBF.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-74UH2KGI.js";
|
|
32
32
|
import {
|
|
33
33
|
decodeWellFormedEscapes
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2BGOB2QK.js";
|
|
35
35
|
|
|
36
36
|
// src/utils/staticProjectServer.ts
|
|
37
37
|
import { createServer, request as httpRequest } from "http";
|