hyperframes 0.9.2 → 0.9.3
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-K34NTQUM.js → add-NWSVMTMY.js} +12 -12
- package/dist/{agentPromptGenerator-ABZXT2DG.js → agentPromptGenerator-7WPRSD2B.js} +6 -6
- package/dist/{animatedGifPrep-BFCUE2OG.js → animatedGifPrep-ARJB7VKZ.js} +6 -6
- package/dist/api.js +19 -19
- package/dist/{asset-N4FCNZBO.js → asset-PMV7EMPY.js} +2 -2
- package/dist/{assetCataloger-UNVAPKMB.js → assetCataloger-CW5ZF3EA.js} +7 -7
- package/dist/{audio-GFQLYAT3.js → audio-AYMZG3JI.js} +14 -14
- package/dist/{auth-S5HVZNXK.js → auth-YCKUAZMW.js} +1 -1
- package/dist/{autoUpdate-YYOXDXX7.js → autoUpdate-C3OVDSJ7.js} +2 -2
- package/dist/{backgroundChecks-DI5BL2IR.js → backgroundChecks-27PYCU56.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-V7SJ7QV4.js → batchRender-PBG4CGXF.js} +3 -3
- package/dist/{beats-FJSQDYDJ.js → beats-WETFDMWG.js} +8 -8
- package/dist/{benchmark-ACNM4VKJ.js → benchmark-VIISD4NB.js} +8 -8
- package/dist/{browser-D7RYNET2.js → browser-FWDS345L.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WDBGONSG.js → bundleWithLocalizedFonts-KBSF7WWN.js} +2 -2
- package/dist/{capture-2LP2DCGQ.js → capture-4XJA235Z.js} +11 -11
- package/dist/{capture-TMDIPBXV.js → capture-KLDMUL25.js} +3 -3
- package/dist/{captureCompositionFrame-YEW3K6EX.js → captureCompositionFrame-TL5DY3IC.js} +11 -11
- package/dist/{catalog-54GO4FUG.js → catalog-O2JZGWCQ.js} +12 -12
- package/dist/{catch-up-LAP5H7JB.js → catch-up-4LHO7VC5.js} +4 -4
- package/dist/{check-S7WUPOM7.js → check-GH3ESQCJ.js} +39 -39
- package/dist/{checkAudio-FKUIUYLS.js → checkAudio-GMQUD43Q.js} +9 -9
- package/dist/{checkBrowser-PJBUYHRK.js → checkBrowser-EXB55OSU.js} +32 -32
- package/dist/{chunk-XCKYPT3Y.js → chunk-3EUFRJDT.js} +7 -4
- package/dist/{chunk-AF23ACYM.js → chunk-3PPJNMDL.js} +1 -1
- package/dist/{chunk-RONQ4XLB.js → chunk-3SQLCJBU.js} +1 -1
- package/dist/{chunk-HM4AWTSN.js → chunk-3TSTVDBN.js} +1 -1
- package/dist/{chunk-6I4FTULM.js → chunk-4JRB7Z3Y.js} +1 -1
- package/dist/{chunk-5E3XDZDT.js → chunk-4NICETCR.js} +1 -1
- package/dist/{chunk-PLW2GDZA.js → chunk-4YHANIGZ.js} +3 -3
- package/dist/{chunk-6H4YQGJG.js → chunk-52IMFRLQ.js} +14 -13
- package/dist/{chunk-6NVTY4QS.js → chunk-6MSBCAWN.js} +3 -3
- package/dist/{chunk-TDFT5UMG.js → chunk-6YT7HWVE.js} +1 -1
- package/dist/{chunk-YRYDGYMD.js → chunk-A37ZYNF2.js} +1 -1
- package/dist/{chunk-QCLTC2KT.js → chunk-AOZGJMJV.js} +1 -1
- package/dist/{chunk-UNUKLVLK.js → chunk-AQ7RL2LW.js} +2 -2
- package/dist/{chunk-ZFQSXMX6.js → chunk-BGHKFD3T.js} +1 -1
- package/dist/{chunk-3VQJAAAN.js → chunk-BJWGYU5Y.js} +2 -2
- package/dist/{chunk-M4USYPD5.js → chunk-DV5HERBR.js} +2 -2
- package/dist/{chunk-ZJAXF7C2.js → chunk-ELWTUL6P.js} +2 -2
- package/dist/{chunk-GMMPMBFA.js → chunk-EP4SZ4Q7.js} +1 -1
- package/dist/{chunk-LGCRKXZW.js → chunk-F6OEVGWZ.js} +1 -1
- package/dist/{chunk-CW7W6SO2.js → chunk-FHZUYZE7.js} +1 -1
- package/dist/{chunk-RCW2KVIT.js → chunk-GDYVJQIZ.js} +13 -13
- package/dist/{chunk-JCQ2DAJI.js → chunk-GUZDUCWN.js} +2 -2
- package/dist/{chunk-MEIKHVOM.js → chunk-GYH3IKW2.js} +3 -3
- package/dist/{chunk-WANY2GAM.js → chunk-HYRFAJAT.js} +1 -1
- package/dist/{chunk-A5MIAHTC.js → chunk-J6ILNTQN.js} +1 -1
- package/dist/{chunk-P7YYC2LQ.js → chunk-JDM247Z3.js} +7 -7
- package/dist/{chunk-Z3BY5BW4.js → chunk-JGLOO2TU.js} +5 -5
- package/dist/{chunk-EBYGGFC2.js → chunk-K2A3YASA.js} +5 -5
- package/dist/{chunk-KPIS4EHC.js → chunk-KLLMWGA6.js} +1 -1
- package/dist/{chunk-BWIUYPZK.js → chunk-KSX76LZR.js} +47 -30
- package/dist/{chunk-KGKWZ2PC.js → chunk-KW5QUEOQ.js} +19 -19
- package/dist/{chunk-DKENTPM2.js → chunk-KXKSG7YI.js} +2 -2
- package/dist/{chunk-TOR5RW6T.js → chunk-L3OZV3UQ.js} +2 -2
- package/dist/{chunk-WXALNAFF.js → chunk-LF6Y2NW2.js} +1 -1
- package/dist/{chunk-D6CL6G7B.js → chunk-LQCC4C64.js} +9 -9
- package/dist/{chunk-H5KZZTJV.js → chunk-LYRR5QEW.js} +1 -1
- package/dist/{chunk-IDH5BHNO.js → chunk-LZRMO35E.js} +1 -1
- package/dist/{chunk-HKFKAI54.js → chunk-M35ASY5D.js} +1 -1
- package/dist/{chunk-3NMJ45TV.js → chunk-M4ZBZSNI.js} +2 -2
- package/dist/{chunk-IMLAMNOI.js → chunk-MFSRGVZG.js} +1 -1
- package/dist/{chunk-4WW6TQFT.js → chunk-N3SUUHBH.js} +1 -1
- package/dist/{chunk-ZIMQHOER.js → chunk-N5RKJQEH.js} +1 -1
- package/dist/{chunk-GFD2HHF2.js → chunk-NASVSJQK.js} +1 -0
- package/dist/{chunk-ESDUMAS6.js → chunk-NJG3TE3S.js} +3 -3
- package/dist/{chunk-T3RPG2A4.js → chunk-NJQRQEDK.js} +2 -2
- package/dist/{chunk-PFZDLHDS.js → chunk-NLDG4RPK.js} +1 -1
- package/dist/{chunk-B2GWZ7GS.js → chunk-NNGOKPDX.js} +1 -1
- package/dist/{chunk-TC6PBV6X.js → chunk-NZ35JIRT.js} +9 -9
- package/dist/{chunk-DJF2O4BP.js → chunk-OS7TTSND.js} +1 -1
- package/dist/{chunk-5FKMDLL7.js → chunk-P6HALV2D.js} +1 -1
- package/dist/{chunk-ZEZ4O6HN.js → chunk-QN4CNGPQ.js} +1 -1
- package/dist/{chunk-4SPVBLY5.js → chunk-QUSKUXVE.js} +2 -2
- package/dist/{chunk-YIA6B4Z6.js → chunk-RX6JF3NL.js} +3 -3
- package/dist/{chunk-G2ZPSSP4.js → chunk-RXYZSD7A.js} +2 -2
- package/dist/{chunk-VTHAKD22.js → chunk-RZMWWOS7.js} +1 -1
- package/dist/{chunk-Q2SE2LUT.js → chunk-RZPY6MDM.js} +1 -1
- package/dist/{chunk-J4YRATEJ.js → chunk-SK3PA7HC.js} +2 -2
- package/dist/{chunk-PK6V3AT7.js → chunk-SRYZBN4K.js} +2 -2
- package/dist/{chunk-LTZL4TFM.js → chunk-SUCPNYHK.js} +50 -3
- package/dist/{chunk-WYKRGEDD.js → chunk-TABWG4IT.js} +8 -1
- package/dist/{chunk-Z3WXEVEX.js → chunk-TVHLRGPF.js} +7 -7
- package/dist/{chunk-W2ENFHUA.js → chunk-UBVGTHQP.js} +11 -8
- package/dist/{chunk-HCWS5RUM.js → chunk-UEZAP3BO.js} +1 -1
- package/dist/{chunk-3V2HKZ22.js → chunk-UNNWK2JI.js} +2 -2
- package/dist/{chunk-QNZZB5Y5.js → chunk-UPI2EEOL.js} +1 -1
- package/dist/{chunk-ITW64FMK.js → chunk-UREVHKCW.js} +3 -3
- package/dist/{chunk-A7HPOUHS.js → chunk-VCJ3RLHQ.js} +2 -2
- package/dist/{chunk-G6OKQMJI.js → chunk-VEIGTKYZ.js} +10 -1
- package/dist/{chunk-V6GUHJ7E.js → chunk-VUANJYUD.js} +2 -2
- package/dist/{chunk-XHSL2MLZ.js → chunk-WFMYK76M.js} +4 -4
- package/dist/{chunk-77LPFLXQ.js → chunk-WGY5AKV4.js} +1 -1
- package/dist/{chunk-YEH3XUEN.js → chunk-WJX4A3IH.js} +13 -13
- package/dist/{chunk-2BJBCWDT.js → chunk-X5HZ56HA.js} +1 -1
- package/dist/{chunk-6JMZXMZX.js → chunk-XMTPFGPD.js} +1 -1
- package/dist/{chunk-Y3RDZOEB.js → chunk-YMURBIUA.js} +47 -13
- package/dist/{chunk-FQYN2EXP.js → chunk-YQLIUSY7.js} +3 -3
- package/dist/{chunk-OTDYARS3.js → chunk-YXCDL3RD.js} +1 -1
- package/dist/{chunk-U6NYCMK4.js → chunk-Z3KQYFUV.js} +3 -3
- package/dist/{chunk-XOWUOJ6H.js → chunk-ZG3N2RPH.js} +1 -1
- package/dist/{clean-Y366JHQ6.js → clean-LC6RS4IG.js} +17 -17
- package/dist/cli.js +62 -60
- package/dist/{cloud-Q3AAFX34.js → cloud-PIRJVOK5.js} +4 -4
- package/dist/{cloudrun-LOJEWIV2.js → cloudrun-BYQPGHTF.js} +4 -4
- package/dist/{compare-INWN5AAL.js → compare-2ADTV43G.js} +29 -29
- package/dist/{compiler-UD7DGV6O.js → compiler-UEPRJKBD.js} +3 -3
- package/dist/{component-Z2B24QQC.js → component-BE7DH74D.js} +3 -3
- package/dist/{compositions-EQMN4QLS.js → compositions-HH34BEOX.js} +10 -10
- package/dist/{curve-QOBLRQEF.js → curve-JX44LODX.js} +10 -10
- package/dist/{cuts-D2WGO2T5.js → cuts-IIXW7MYG.js} +11 -11
- package/dist/{delete-NSGIQDD2.js → delete-HLYUSNAQ.js} +2 -2
- package/dist/{deploy-5B7YZR5C.js → deploy-6TJ4IYL5.js} +1 -1
- package/dist/{describeProject-PBGCJ3BD.js → describeProject-RI2A2JDQ.js} +7 -7
- package/dist/{diff-4IFTYKMH.js → diff-KIYXNVXE.js} +22 -22
- package/dist/{dist-SGTEDHYW.js → dist-6FIIUR6D.js} +2 -2
- package/dist/{dist-YZJ25VQL.js → dist-IHPMKRYN.js} +1 -1
- package/dist/{doctor-UZQABYZ6.js → doctor-BW5SXYD6.js} +10 -10
- package/dist/{energy-LCDKLVTV.js → energy-Q6U4IMQP.js} +11 -11
- package/dist/{events-RIVVJHMU.js → events-4IWKLOCR.js} +2 -2
- package/dist/{events-WD6WY2R4.js → events-FD7TXLK7.js} +12 -12
- package/dist/{events-5PSQKR3R.js → events-P5SAJJVG.js} +3 -3
- package/dist/{extract-QITFWIOP.js → extract-P5TKDTTW.js} +11 -11
- package/dist/{face-MBJBFREV.js → face-3FTPC2ZL.js} +11 -11
- package/dist/{feedback-X6N4QTYA.js → feedback-NL5UYUHT.js} +6 -6
- package/dist/{ffmpeg-LA4ZCLCV.js → ffmpeg-BOXLIJAQ.js} +6 -6
- package/dist/{figma-YZOHJZFG.js → figma-XWTLQXZW.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-5SDBCMIQ.js → frames-ZILKTSKO.js} +12 -12
- package/dist/{generate-GVLXGQ5Y.js → generate-7UKX6ABW.js} +13 -13
- package/dist/{get-R36LD4W2.js → get-6JV7KGTM.js} +2 -2
- package/dist/{gpuPolicy-DFMP4HEQ.js → gpuPolicy-C6SQ5IY3.js} +6 -6
- package/dist/{grade-compare-TVIGG7F7.js → grade-compare-AMTWNUT4.js} +30 -30
- package/dist/{heifImagePrep-YDEAQIIV.js → heifImagePrep-VL7KOCKD.js} +7 -7
- package/dist/{help-G3YVZOBB.js → help-6TW5UXKE.js} +1 -1
- package/dist/{history-PAX57GA7.js → history-BBFCPEFJ.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +70 -70
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-I24SSKKQ.js → info-JACXETYM.js} +7 -7
- package/dist/{init-QZH3T6TC.js → init-JMYL22Y5.js} +27 -27
- package/dist/{ink-D54IVD27.js → ink-AW2XKRLO.js} +11 -11
- package/dist/{inspect-PAQXGKDJ.js → inspect-5WOMJTHH.js} +30 -30
- package/dist/{installer-NEYRPK2H.js → installer-WRIPRO7P.js} +4 -4
- package/dist/{keyframes-BCU2DQ3O.js → keyframes-GTBNJNY4.js} +6 -6
- package/dist/{lambda-VUGQW3M6.js → lambda-Y4WNMTV5.js} +10 -10
- package/dist/{layout-AC4VRU7B.js → layout-5KBIO2CY.js} +30 -30
- package/dist/{lint-UBFSY7AU.js → lint-YCZFN7EC.js} +7 -7
- package/dist/{lintProject-JCKFNQZM.js → lintProject-SG4KRUAV.js} +1 -1
- package/dist/{list-AZZXVAJQ.js → list-DQCQINX4.js} +2 -2
- package/dist/{localPage-SOHTM3OB.js → localPage-GGIDTF4A.js} +6 -6
- package/dist/{login-VC24OTCT.js → login-W6HPKUCC.js} +4 -4
- package/dist/{look-XW25KCO4.js → look-J3EIOKIR.js} +11 -11
- package/dist/{manager-45EWY67S.js → manager-GXCIO6AV.js} +7 -7
- package/dist/{measure-HCBUYO3W.js → measure-CN2A3IZY.js} +11 -11
- package/dist/{media-treatment-ZPGU433S.js → media-treatment-UY5LCNM5.js} +12 -12
- package/dist/{media-use-W2BDLMNM.js → media-use-DLUMWJDU.js} +1 -1
- package/dist/{models-OHKLE7DI.js → models-6JWAVFZX.js} +10 -10
- package/dist/{motionShot-6LE7X2IP.js → motionShot-2FNVPAXB.js} +14 -14
- package/dist/{normalize-audio-JJYUYVYI.js → normalize-audio-6KRLNKU5.js} +8 -8
- package/dist/{open-UD3PXGL2.js → open-K5T3DAX5.js} +12 -12
- package/dist/{parakeetRunner-XMMDRK3F.js → parakeetRunner-FRVDYFI7.js} +11 -11
- package/dist/{pipeline-XW6M6IZF.js → pipeline-HZTSP2O3.js} +9 -9
- package/dist/{play-SVKC524U.js → play-QJGTMJJU.js} +21 -21
- package/dist/{preflight-NVGMHMPQ.js → preflight-4UCEW3VI.js} +7 -7
- package/dist/{present-HPD5XHCB.js → present-HKTEDR2P.js} +16 -16
- package/dist/{preview-IGF7Y6NR.js → preview-LK4K5ET7.js} +18 -18
- package/dist/{probe-R2SDIF43.js → probe-5FQQXNKV.js} +10 -10
- package/dist/{producer-23GOZN56.js → producer-GVXPQQ2H.js} +1 -1
- package/dist/{projectConfig-CYHIE764.js → projectConfig-HR6DG3LV.js} +7 -7
- package/dist/{publication-2ZND75C7.js → publication-ZDDDABRK.js} +2 -2
- package/dist/{publish-6WDXRN6Y.js → publish-UTSFWLH5.js} +10 -10
- package/dist/{remove-background-H7TXALTY.js → remove-background-UCI5SJ7B.js} +10 -10
- package/dist/{render-QOQDZWUB.js → render-H66JS3A3.js} +5 -5
- package/dist/{render-WI5NBJ37.js → render-PXFSYPTM.js} +33 -33
- package/dist/{render-CKUAI3KF.js → render-RJLWIVGX.js} +15 -15
- package/dist/{render-batch-PBPZZBNM.js → render-batch-Q2LHYTF5.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-UBSPM52W.js → resolver-6WC7RO7O.js} +5 -5
- package/dist/{sherpa-VTKR4HNT.js → sherpa-RPI2FY7W.js} +10 -10
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/skill-lifecycle.md +1 -1
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/skills/media-use/references/heygen.md +4 -4
- package/dist/{skills-VFVTKRYY.js → skills-5GES277Y.js} +5 -5
- package/dist/{skillsUpdateCheck-GJGECNLE.js → skillsUpdateCheck-B2M6U2XL.js} +3 -3
- package/dist/{snapshot-5TWJ2ND5.js → snapshot-KG7YZVMZ.js} +35 -35
- package/dist/{src-A4REARXU.js → src-B644ONLF.js} +5 -5
- package/dist/{src-HIUZ53LU.js → src-KYGXTF6B.js} +9 -9
- package/dist/{staticProjectServer-X7ZFXDJC.js → staticProjectServer-G3D4J7AM.js} +19 -19
- package/dist/studio/assets/{hyperframes-player-ZrazkISK.js → hyperframes-player-BHCO0AJz.js} +1 -1
- package/dist/studio/assets/{index-ZDVj-MKT.js → index-CWzE624c.js} +155 -155
- package/dist/studio/assets/{index-DVDkDAQX.js → index-VhjEqQ4-.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-P6H6OYZV.js → studio-api-OEZIX2NY.js} +17 -10
- package/dist/{studioServer-G23M24ME.js → studioServer-MRXZ7ESE.js} +49 -49
- package/dist/{sync-MF5MTRRV.js → sync-CFHYEHZY.js} +11 -11
- package/dist/{telemetry-HBXGTSK4.js → telemetry-PEE4QWFW.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +1 -0
- package/dist/templates/_shared/CLAUDE.md +1 -0
- package/dist/{timeline-OVRKD33S.js → timeline-PXGMJPF5.js} +20 -20
- package/dist/{tokens-A7D7USA2.js → tokens-D4527YUF.js} +2 -2
- package/dist/{transcribe-5PVMVZO6.js → transcribe-JAQAME5S.js} +17 -17
- package/dist/{transcribe-OWNBJY2C.js → transcribe-K4AYVYPV.js} +9 -9
- package/dist/{updateCheck-ALIWNBLS.js → updateCheck-KK2T5QGE.js} +2 -2
- package/dist/{upgrade-7IZFKO5U.js → upgrade-WTE3UGLS.js} +2 -2
- package/dist/{urlDownloader-2QAXBCS2.js → urlDownloader-3OVTM6UV.js} +5 -5
- package/dist/{validate-3XR6ARJP.js → validate-PIGAXOXV.js} +23 -23
- package/dist/{video-SB2SVFOD.js → video-QKOH7GUF.js} +7 -7
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BJWGYU5Y.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -9165,6 +9165,7 @@ ${right.raw}`)
|
|
|
9165
9165
|
const findings = [];
|
|
9166
9166
|
const canInheritFromHost = options.isSubComposition || rawSource.trimStart().toLowerCase().startsWith("<template");
|
|
9167
9167
|
for (const script of scripts) {
|
|
9168
|
+
if (script.index === -1) continue;
|
|
9168
9169
|
const content = script.content;
|
|
9169
9170
|
if (!/gsap\.timeline/.test(content)) continue;
|
|
9170
9171
|
const hasRegistration = WINDOW_TIMELINE_ASSIGN_PATTERN.test(content) || TIMELINE_REGISTRY_OBJECT_LITERAL_PATTERN.test(content);
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VCJ3RLHQ.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3TSTVDBN.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NASVSJQK.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4NICETCR.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-PEE4QWFW.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A37ZYNF2.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-T5ELONXY.js";
|
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RX6JF3NL.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A37ZYNF2.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GUZDUCWN.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SRYZBN4K.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UREVHKCW.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-B644ONLF.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-G3D4J7AM.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-B644ONLF.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-SAXHANEY.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-B644ONLF.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LF6Y2NW2.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AOZGJMJV.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3TSTVDBN.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YXCDL3RD.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-5LOZWO2M.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UREVHKCW.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3TSTVDBN.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UREVHKCW.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3TSTVDBN.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RXYZSD7A.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UREVHKCW.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UREVHKCW.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-B644ONLF.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-WTUIK6Y4.js";
|
|
10
10
|
import {
|
|
11
11
|
Fix
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EP4SZ4Q7.js";
|
|
13
13
|
import {
|
|
14
14
|
refreshIfNeeded,
|
|
15
15
|
resolveCloudAuthHeaders,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
// src/heygen/v3.ts
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { appendFileSync, existsSync, mkdirSync, readFileSync } from "fs";
|
|
30
|
-
import { join } from "path";
|
|
30
|
+
import { dirname, join } from "path";
|
|
31
31
|
var RUNNING = /* @__PURE__ */ new Set(["pending", "processing", "queued", "running", "waiting", "in_progress"]);
|
|
32
32
|
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
33
33
|
function idempotencyKey(route, parts) {
|
|
@@ -198,8 +198,55 @@ async function runJob(route, body, key, pollRoute, opts = {}) {
|
|
|
198
198
|
}
|
|
199
199
|
return job;
|
|
200
200
|
}
|
|
201
|
+
var isVoice = (v) => isRecord(v) && typeof v.voice_id === "string" && typeof v.name === "string";
|
|
202
|
+
async function publicVoices(language, limit) {
|
|
203
|
+
const headers = {
|
|
204
|
+
...await resolveCloudAuthHeaders().catch(noSignIn),
|
|
205
|
+
accept: "application/json"
|
|
206
|
+
};
|
|
207
|
+
const query = new URLSearchParams({ type: "public", language, limit: String(limit) });
|
|
208
|
+
const res = await fetch(`${resolveCloudBaseUrl()}/v3/voices?${query}`, {
|
|
209
|
+
headers,
|
|
210
|
+
signal: AbortSignal.timeout(3e4)
|
|
211
|
+
}).catch((err) => {
|
|
212
|
+
throw new Fix(
|
|
213
|
+
`no answer from HeyGen for its voices (${err instanceof Error ? err.message : String(err)})`,
|
|
214
|
+
"run the same command again"
|
|
215
|
+
);
|
|
216
|
+
});
|
|
217
|
+
const value = await res.json().catch(() => null);
|
|
218
|
+
if (!res.ok || !isRecord(value) || !Array.isArray(value.data))
|
|
219
|
+
throw new Fix(`HeyGen ${res.status} listing its voices`, "run the same command again");
|
|
220
|
+
return value.data.filter(isVoice).map(({ voice_id, name, language: language2, gender }) => ({ voice_id, name, language: language2, gender }));
|
|
221
|
+
}
|
|
222
|
+
async function senderScope() {
|
|
223
|
+
return (await jobSender()).scope;
|
|
224
|
+
}
|
|
225
|
+
var picksFile = (projectDir) => projectDir ? join(projectDir, ".hyperframes", "heygen-jobs.jsonl") : join(configDir(), "heygen-voice-picks.jsonl");
|
|
226
|
+
function keptVoice(projectDir, request) {
|
|
227
|
+
const file = picksFile(projectDir);
|
|
228
|
+
if (!existsSync(file)) return void 0;
|
|
229
|
+
for (const line of readFileSync(file, "utf8").split("\n")) {
|
|
230
|
+
const entry = line ? JSON.parse(line) : null;
|
|
231
|
+
if (isRecord(entry) && entry.voice_pick === request && isVoice(entry.voice)) return entry.voice;
|
|
232
|
+
}
|
|
233
|
+
return void 0;
|
|
234
|
+
}
|
|
235
|
+
function keepVoice(projectDir, request, voice) {
|
|
236
|
+
const file = picksFile(projectDir);
|
|
237
|
+
mkdirSync(dirname(file), { recursive: true });
|
|
238
|
+
appendFileSync(
|
|
239
|
+
file,
|
|
240
|
+
`${JSON.stringify({ at: (/* @__PURE__ */ new Date()).toISOString(), voice_pick: request, voice })}
|
|
241
|
+
`
|
|
242
|
+
);
|
|
243
|
+
}
|
|
201
244
|
|
|
202
245
|
export {
|
|
203
246
|
idempotencyKey,
|
|
204
|
-
runJob
|
|
247
|
+
runJob,
|
|
248
|
+
publicVoices,
|
|
249
|
+
senderScope,
|
|
250
|
+
keptVoice,
|
|
251
|
+
keepVoice
|
|
205
252
|
};
|
|
@@ -6,6 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/utils/didYouMean.ts
|
|
9
|
+
import { existsSync } from "fs";
|
|
9
10
|
function editDistance(a, b) {
|
|
10
11
|
let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
|
|
11
12
|
for (let i = 1; i <= a.length; i++) {
|
|
@@ -54,9 +55,15 @@ function synonymMatch(input, candidates) {
|
|
|
54
55
|
const target = COMMAND_SYNONYMS[input];
|
|
55
56
|
return target !== void 0 && [...candidates].includes(target) ? target : void 0;
|
|
56
57
|
}
|
|
58
|
+
function fileHint(word, path, names) {
|
|
59
|
+
if (path.length === 0 || names.length === 0 || !existsSync(word)) return void 0;
|
|
60
|
+
const group = ["hyperframes", ...path].join(" ");
|
|
61
|
+
return `'${word}' is a file; name a command first: '${group} <${names.join("|")}> ${word}'.`;
|
|
62
|
+
}
|
|
57
63
|
|
|
58
64
|
export {
|
|
59
65
|
closestMatch,
|
|
60
66
|
closestNames,
|
|
61
|
-
synonymMatch
|
|
67
|
+
synonymMatch,
|
|
68
|
+
fileHint
|
|
62
69
|
};
|
|
@@ -6,33 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J6ILNTQN.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KXKSG7YI.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SUCPNYHK.js";
|
|
20
20
|
import {
|
|
21
21
|
runFfmpeg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EP4SZ4Q7.js";
|
|
23
23
|
import {
|
|
24
24
|
initialModelForLanguage,
|
|
25
25
|
transcribe
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6MSBCAWN.js";
|
|
27
27
|
import {
|
|
28
28
|
createRenderCancellationScope,
|
|
29
29
|
stoppedByCancelSignal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NLDG4RPK.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MODEL,
|
|
33
33
|
findWhisper,
|
|
34
34
|
isWhisperUnavailable
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KLLMWGA6.js";
|
|
36
36
|
import {
|
|
37
37
|
formatSrt,
|
|
38
38
|
formatVtt,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KSX76LZR.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,23 +18,26 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M4ZBZSNI.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A37ZYNF2.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LZRMO35E.js";
|
|
28
|
+
import {
|
|
29
|
+
openRangeEnd
|
|
30
|
+
} from "./chunk-VEIGTKYZ.js";
|
|
28
31
|
import {
|
|
29
32
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UREVHKCW.js";
|
|
31
34
|
import {
|
|
32
35
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VCJ3RLHQ.js";
|
|
34
37
|
import {
|
|
35
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
39
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3TSTVDBN.js";
|
|
38
41
|
import {
|
|
39
42
|
decodeWellFormedEscapes
|
|
40
43
|
} from "./chunk-C2KEGBR3.js";
|
|
@@ -122,7 +125,7 @@ function serveFileWithRange(filePath, rangeHeader, res, contentType = getMimeTyp
|
|
|
122
125
|
if (match) {
|
|
123
126
|
const hasStart = match[1] !== "";
|
|
124
127
|
start = hasStart ? Number(match[1]) : Math.max(0, size - Number(match[2]));
|
|
125
|
-
end = !hasStart ? last : match[2] !== "" ? Math.min(Number(match[2]), last) : last;
|
|
128
|
+
end = !hasStart ? last : match[2] !== "" ? Math.min(Number(match[2]), last) : openRangeEnd(start, last, contentType);
|
|
126
129
|
if (start > end || start > last) {
|
|
127
130
|
res.writeHead(416, { ...headers, "Content-Range": `bytes */${size}` });
|
|
128
131
|
res.end();
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LZRMO35E.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3TSTVDBN.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3TSTVDBN.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-MFSRGVZG.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-NASVSJQK.js";
|
|
107
107
|
import {
|
|
108
108
|
FFMPEG_PATH_ENV,
|
|
109
109
|
FFPROBE_PATH_ENV,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
warnUnknownEnumValues,
|
|
59
59
|
wrapInlineScriptWithErrorBoundary,
|
|
60
60
|
wrapScopedCompositionScript
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MFSRGVZG.js";
|
|
62
62
|
import {
|
|
63
63
|
cssVariableName
|
|
64
64
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
collectExternalStyles,
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-NASVSJQK.js";
|
|
73
73
|
import {
|
|
74
74
|
readTextFile
|
|
75
75
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -122,7 +122,16 @@ function encoderJobOptions(opts) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
// ../studio-server/dist/chunk-6HAB346W.js
|
|
126
|
+
var MAX_OPEN_MEDIA_RANGE_BYTES = 4 * 1024 * 1024;
|
|
127
|
+
var isMedia = (contentType) => /^(audio|video)\//i.test(contentType);
|
|
128
|
+
function openRangeEnd(start, last, contentType) {
|
|
129
|
+
return isMedia(contentType) ? Math.min(last, start + MAX_OPEN_MEDIA_RANGE_BYTES - 1) : last;
|
|
130
|
+
}
|
|
131
|
+
|
|
125
132
|
export {
|
|
126
133
|
parseEncoderOptions,
|
|
127
|
-
encoderJobOptions
|
|
134
|
+
encoderJobOptions,
|
|
135
|
+
MAX_OPEN_MEDIA_RANGE_BYTES,
|
|
136
|
+
openRangeEnd
|
|
128
137
|
};
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RZPY6MDM.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UREVHKCW.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XMTPFGPD.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GUZDUCWN.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UREVHKCW.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-B644ONLF.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|