hyperframes 0.8.139 → 0.8.141
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-VYJQ4S3P.js → add-KH2CF4FD.js} +20 -22
- package/dist/{animatedGifPrep-IBMW6FZB.js → animatedGifPrep-QO4BSKR7.js} +15 -8
- package/dist/{asset-FLSUS73X.js → asset-4RDZILVJ.js} +3 -3
- package/dist/{assetCataloger-TGD7TRCR.js → assetCataloger-WGR4LYYN.js} +6 -3
- package/dist/{auth-EZXIN4M4.js → auth-WYQCOYE5.js} +7 -7
- package/dist/{autoUpdate-ZPMY5T3X.js → autoUpdate-PC5TN3NL.js} +2 -2
- package/dist/{backgroundChecks-JIDTAUFE.js → backgroundChecks-7M3T44EP.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FNZ6TJYY.js → batchRender-GOLLOE4V.js} +11 -8
- package/dist/beat-analyzer.global.js +5 -2
- package/dist/{beats-EAA4U3YN.js → beats-XJ7WP6QS.js} +24 -17
- package/dist/{benchmark-KKZQVK2Y.js → benchmark-HCGFBEZJ.js} +20 -23
- package/dist/{browser-ZIVVJLJT.js → browser-VQKO2FKG.js} +14 -28
- package/dist/{bundleWithLocalizedFonts-2XWC3PEM.js → bundleWithLocalizedFonts-FH7PHTTX.js} +5 -5
- package/dist/{capture-EFYPXI42.js → capture-TFZZSF6F.js} +22 -15
- package/dist/{capture-MKJHABUL.js → capture-XD3P3YQR.js} +2 -2
- package/dist/{catalog-EWX4BBI2.js → catalog-4S33QWJJ.js} +28 -30
- package/dist/{catch-up-FJFH7T4W.js → catch-up-RW7YXXNT.js} +11 -25
- package/dist/{check-YJNVDCBP.js → check-XVTRRN4Y.js} +72 -54
- package/dist/{checkBrowser-I6SPPEGD.js → checkBrowser-HZXJ2EDU.js} +81 -36
- package/dist/chunk-24OWOBQH.js +3656 -0
- package/dist/{chunk-OENM2JVZ.js → chunk-34TXESM7.js} +3 -3
- package/dist/{chunk-GWV2Y36Q.js → chunk-35RSNI77.js} +5 -106
- package/dist/{chunk-BC3OY2ED.js → chunk-3A5AAPMP.js} +1 -1
- package/dist/{chunk-U3HX7WE6.js → chunk-3NBKW2QJ.js} +1 -1
- package/dist/{chunk-A4X2YWNQ.js → chunk-4BB7V6AI.js} +38 -301
- package/dist/{chunk-EJ7OWYF2.js → chunk-6E6CM7WS.js} +19 -163
- package/dist/{chunk-CDMB3PRC.js → chunk-6IFXWJDX.js} +7 -7
- package/dist/{chunk-Z67RZ4XO.js → chunk-6Q6FR4KH.js} +279 -1968
- package/dist/{chunk-R4QIE6UY.js → chunk-7M4KAPAA.js} +92 -31
- package/dist/{chunk-25DHUDOK.js → chunk-7XTZVLE6.js} +12 -3
- package/dist/chunk-A4KQZXZI.js +116 -0
- package/dist/{chunk-DUQJF7FK.js → chunk-A7YQNIQT.js} +8 -8
- package/dist/{chunk-XOZ3J3LB.js → chunk-AVWEIOEN.js} +1 -1
- package/dist/{chunk-UQXOHEQ7.js → chunk-BM5PX3DJ.js} +4 -4
- package/dist/{chunk-SHB5VDMH.js → chunk-BRITLL56.js} +1 -1
- package/dist/{chunk-JX7Y57YY.js → chunk-E4BSCXMU.js} +1 -1
- package/dist/{chunk-QXOFUKBF.js → chunk-E6SDW5FV.js} +168 -165
- package/dist/{chunk-JH556Q42.js → chunk-EDYBFSPE.js} +2 -2
- package/dist/{chunk-R7LWDIKB.js → chunk-EKA4ZZBI.js} +1 -1
- package/dist/chunk-FXMKHHPO.js +123 -0
- package/dist/chunk-G75ENCEZ.js +283 -0
- package/dist/{chunk-PLNWWGE7.js → chunk-GQJZORQP.js} +1 -1
- package/dist/{chunk-U3GEXWI5.js → chunk-GS6FE3IW.js} +1 -1
- package/dist/{chunk-Y6W4DVPS.js → chunk-HKCNZITN.js} +1 -1
- package/dist/{chunk-HOIHGPWO.js → chunk-IKVBTDLO.js} +1 -1
- package/dist/{chunk-YOL4QRSL.js → chunk-INI3TM6I.js} +2 -2
- package/dist/{chunk-SIKMUO45.js → chunk-IO7ZIDRP.js} +12 -12
- package/dist/{chunk-W7SAWBQC.js → chunk-IV7EI5E2.js} +1 -1
- package/dist/{chunk-TCWL4BKK.js → chunk-IYFKBFTW.js} +1 -1
- package/dist/{chunk-JIIIBTN2.js → chunk-J5IPIQU2.js} +1 -1
- package/dist/chunk-JFKL3WAE.js +161 -0
- package/dist/{chunk-IBRZUVTH.js → chunk-K2GOFLTX.js} +2 -2
- package/dist/{chunk-X3TMMIDP.js → chunk-KFH6UD26.js} +8 -8
- package/dist/{chunk-O6K5DWXM.js → chunk-KOEWEFHK.js} +1 -1
- package/dist/{chunk-VTVS4IIP.js → chunk-L3JSAB4L.js} +2 -2
- package/dist/{chunk-3RT6D4P6.js → chunk-N77KD7ZZ.js} +1 -1
- package/dist/{chunk-FLRCVYNE.js → chunk-NORZWWLK.js} +2 -2
- package/dist/{chunk-4VZBKOQJ.js → chunk-O3SKIXQK.js} +1 -1
- package/dist/{chunk-PFI3VD77.js → chunk-OLDDJS3S.js} +10 -10
- package/dist/{chunk-UGI77E35.js → chunk-P6E4HFFU.js} +167 -61
- package/dist/{chunk-GIDHR5OL.js → chunk-Q65ZQFF2.js} +1 -1
- package/dist/chunk-QZ3AZTXI.js +1740 -0
- package/dist/{chunk-NTIOLSFE.js → chunk-R7UDXKI3.js} +3 -3
- package/dist/{chunk-7SI7GCX6.js → chunk-RCFCZT5O.js} +6 -6
- package/dist/{chunk-DW32KBHN.js → chunk-RPYPW5NN.js} +13 -13
- package/dist/chunk-SYKKFAUW.js +3711 -0
- package/dist/chunk-T76PLPD6.js +57 -0
- package/dist/{chunk-JTAYFSLO.js → chunk-TC2FBZJZ.js} +1 -1
- package/dist/{chunk-Q73ISOVQ.js → chunk-U7E736AJ.js} +1 -1
- package/dist/chunk-USDEMXXL.js +110 -0
- package/dist/{chunk-UMWROSIP.js → chunk-W6HTOVHU.js} +2 -2
- package/dist/{chunk-STA43FMY.js → chunk-WY5OODN5.js} +71 -3855
- package/dist/{chunk-EZ2P7LAP.js → chunk-XDSOIJC3.js} +8 -8
- package/dist/{chunk-ZTZ7NCJT.js → chunk-XTFJOR3K.js} +1 -1
- package/dist/{chunk-CDJ7FPPJ.js → chunk-XWVGSEUT.js} +1 -1
- package/dist/chunk-YA62XGXS.js +45 -0
- package/dist/{chunk-EH4VUY27.js → chunk-YURXPGAM.js} +2 -2
- package/dist/{clean-P4KTCOUA.js → clean-L2E4VD57.js} +29 -20
- package/dist/cli.js +55 -55
- package/dist/{cloud-PDY7S4HU.js → cloud-IDUQRYLO.js} +7 -7
- package/dist/{cloudrun-54MA2W5H.js → cloudrun-R3JXWXGG.js} +11 -8
- package/dist/commands/layout-audit.browser.js +37 -8
- package/dist/commands/motion-signature.browser.js +51 -2
- package/dist/{compare-LDWVSPC5.js → compare-VYBWSP3Y.js} +40 -31
- package/dist/{compiler-CWSZ4W7J.js → compiler-ACHWOU5N.js} +7 -3
- package/dist/{component-FIEGC22U.js → component-PYYV2V3F.js} +4 -4
- package/dist/{compositions-JR7PX356.js → compositions-B5GQSXH7.js} +23 -16
- package/dist/{delete-FXA2IHOS.js → delete-EAX2U3WI.js} +8 -8
- package/dist/{deterministicFonts-GTITFRSJ.js → deterministicFonts-F6WIVL2W.js} +1 -1
- package/dist/{dist-OJTEVNJR.js → dist-NZSQCYOF.js} +3 -1
- package/dist/{dist-4JZWRWS6.js → dist-ROUDWGLO.js} +27 -15
- package/dist/{doctor-OTDHPM6K.js → doctor-PJX7MLFG.js} +20 -13
- package/dist/{events-UAFTI24U.js → events-SBC54MHO.js} +6 -22
- package/dist/{events-6T7M2VCO.js → events-YFFXKAQQ.js} +10 -23
- package/dist/{feedback-ZGZODHB6.js → feedback-UETLWREV.js} +67 -45
- package/dist/{figma-D26EJ7ZB.js → figma-QDSJPIRW.js} +6 -6
- package/dist/fontLocalizeCli.js +18 -11
- package/dist/{get-IAREU7IK.js → get-B5TS6C7H.js} +8 -8
- package/dist/{gpuPolicy-NS7WZRDJ.js → gpuPolicy-LYOVBAJP.js} +15 -8
- package/dist/{grade-compare-ZXHFHCD2.js → grade-compare-LBIHMAUN.js} +40 -31
- package/dist/{help-RVNYHW3N.js → help-XBP6A6LT.js} +4 -4
- package/dist/{history-THP4VNMF.js → history-2S42ZXKL.js} +12 -30
- package/dist/hyperframe-runtime.js +59 -59
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-EOFRHN5A.js → info-I2VDAWT7.js} +17 -20
- package/dist/{init-YLIJE4CG.js → init-BGHSDODI.js} +48 -41
- package/dist/{inspect-3D56ONJD.js → inspect-MZK5B5RP.js} +39 -30
- package/dist/{installer-GRR2GDZK.js → installer-LL4QAKFW.js} +8 -5
- package/dist/{keyframes-NXNCTQPK.js → keyframes-2EBF7OSS.js} +14 -25
- package/dist/{lambda-VGRZD7TR.js → lambda-XKFPAOFE.js} +16 -13
- package/dist/{layout-Z5DOS6DU.js → layout-TP5ERKEF.js} +39 -30
- package/dist/{lint-YD6NJGR2.js → lint-FQ6CEI7E.js} +17 -23
- package/dist/{lintProject-ANMPLBIT.js → lintProject-LM3XZRPZ.js} +3 -1
- package/dist/{list-XGDKILYN.js → list-FRNUJXZ3.js} +8 -8
- package/dist/{login-GD5SA4RD.js → login-C25QU3BQ.js} +9 -9
- package/dist/{logout-Q654A3SI.js → logout-GJXZQKOA.js} +5 -5
- package/dist/{media-treatment-TY4X4GQQ.js → media-treatment-DCANGWSV.js} +21 -20
- package/dist/{models-MXRDH4WJ.js → models-GOD6ARB3.js} +19 -12
- package/dist/{motionShot-6LKR3C2E.js → motionShot-FSKETANX.js} +22 -15
- package/dist/{normalize-O76AC4HE.js → normalize-IGLHCWTF.js} +0 -4
- package/dist/{normalize-audio-5ADDZKPJ.js → normalize-audio-C2IM7OID.js} +13 -26
- package/dist/{open-JXAMO325.js → open-VVISXIII.js} +11 -25
- package/dist/{pipeline-Q5MOPIIX.js → pipeline-7YHZPYIS.js} +15 -8
- package/dist/{play-3SPH5GWZ.js → play-DSELK7G3.js} +38 -32
- package/dist/{preflight-2PWAPKWC.js → preflight-Y5DN5D37.js} +3 -18
- package/dist/{present-ZTJQDKXZ.js → present-N72YFDKP.js} +32 -26
- package/dist/{preview-4A3XZR6J.js → preview-XTYN4NJ2.js} +33 -26
- package/dist/{producer-5ZKKKQPB.js → producer-NDCU3MHK.js} +1 -1
- package/dist/{projectConfig-WA4CS4SN.js → projectConfig-MH4QU4AC.js} +10 -7
- package/dist/{publication-CLG2FRRI.js → publication-KUSHI5MG.js} +6 -3
- package/dist/{publish-YTT2WMXO.js → publish-3XEEFWMF.js} +27 -20
- package/dist/{refresh-K24ETHMA.js → refresh-MFITBIKV.js} +5 -5
- package/dist/{remove-background-W35INR3B.js → remove-background-2QKJ7XOD.js} +22 -15
- package/dist/{render-WUBFQMAH.js → render-2DVYTVLQ.js} +52 -32
- package/dist/{render-7A4P5WMU.js → render-75E342ZU.js} +10 -7
- package/dist/{render-KICXUPNR.js → render-S73DW4KK.js} +23 -26
- package/dist/{render-batch-N7EFGE6S.js → render-batch-YURBS54Q.js} +11 -8
- package/dist/{renderCancellation-LYQPPFAO.js → renderCancellation-373ASJTO.js} +15 -8
- package/dist/renderSetupWorker.js +4 -2
- package/dist/{resolver-YTT2NENF.js → resolver-FE3GBZ4T.js} +8 -5
- package/dist/{sherpa-353MW4UV.js → sherpa-B2D3AGP6.js} +16 -9
- package/dist/skills/hyperframes/references/capability-menu.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +5 -0
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
- package/dist/skills/media-use/SKILL.md +9 -5
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +47 -4
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +125 -18
- package/dist/skills/media-use/audio/scripts/lib/host-audio.mjs +28 -0
- package/dist/skills/media-use/audio/scripts/lib/host-audio.test.mjs +106 -0
- package/dist/skills/media-use/references/setup-providers.md +16 -2
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +21 -1
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +14 -0
- package/dist/skills/media-use/scripts/resolve.mjs +11 -6
- package/dist/{skills-2XJIOEBT.js → skills-ICJ22CZZ.js} +15 -30
- package/dist/{skillsUpdateCheck-LMCCWGNO.js → skillsUpdateCheck-GXZN56I5.js} +3 -3
- package/dist/{snapshot-WBRSTLJ2.js → snapshot-XHKOAWF4.js} +41 -32
- package/dist/{src-ZS3BLTZ5.js → src-74PFDTDX.js} +17 -10
- package/dist/{src-YWFJILQF.js → src-I7UC3JTL.js} +19 -11
- package/dist/{staticProjectServer-4VKVHPNG.js → staticProjectServer-2DGKD6TF.js} +24 -16
- package/dist/{status-73MBN37B.js → status-JA6SKQVH.js} +7 -24
- package/dist/studio/assets/hyperframes-player-5Vx2AiUz.js +473 -0
- package/dist/studio/assets/{index-DsEkE5_G.js → index-BAnh7cSQ.js} +1 -1
- package/dist/studio/assets/{index-Br1Whc0f.js → index-C0thd4eM.js} +204 -204
- package/dist/studio/assets/{index-BmIPrb8I.js → index-P8fgj_Xa.js} +1 -1
- package/dist/studio/{chunk-E422JDF5.js → chunk-H2DUOXTF.js} +2 -1
- package/dist/studio/index.d.ts +19 -3
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +6518 -5813
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +1 -1
- package/dist/{studio-api-5V4TVSQV.js → studio-api-PROBO7JG.js} +40 -28
- package/dist/{studioServer-M5XY3HYC.js → studioServer-ID6UV2NE.js} +100 -69
- package/dist/{system-RCRNX5VF.js → system-OQLOGGPJ.js} +2 -19
- package/dist/{telemetry-LOBRQGUD.js → telemetry-65LFHIWH.js} +8 -23
- package/dist/{timeline-3JCP6PXU.js → timeline-6UV3JJXD.js} +32 -22
- package/dist/{tokens-MLMIJBVF.js → tokens-HIL4TZXI.js} +3 -3
- package/dist/{transcribe-KNFXDEAX.js → transcribe-TIO6W3EQ.js} +16 -9
- package/dist/{transcribe-POH25ZPX.js → transcribe-V7F6QDSN.js} +20 -44
- package/dist/{updateCheck-5ITBSBST.js → updateCheck-GZELANMA.js} +2 -2
- package/dist/{upgrade-K6OK4FKT.js → upgrade-BX3KDDZJ.js} +5 -5
- package/dist/{urlDownloader-TJJQKADT.js → urlDownloader-R76OHFIE.js} +14 -7
- package/dist/{validate-PPPOBJHB.js → validate-7UX4I443.js} +26 -19
- package/dist/{video-OB22HWXZ.js → video-RVGYEFQU.js} +18 -11
- package/package.json +1 -1
- package/dist/chunk-HYYSJI5D.js +0 -3742
- package/dist/studio/assets/hyperframes-player-CckOoCJ8.js +0 -473
- package/dist/{chunk-I465DBM6.js → chunk-246MOR5U.js} +3 -3
- package/dist/{deploy-MX76RZ36.js → deploy-5G4Z6LPA.js} +1 -1
- package/dist/{destroy-H2TZBYHH.js → destroy-GFQLTIY3.js} +1 -1
- package/dist/{docs-QAPJEGLS.js → docs-MPOM3PHH.js} +3 -3
- package/dist/{policies-FSDZVS2E.js → policies-4FEXMXPK.js} +3 -3
- package/dist/{progress-FBIEEB7Y.js → progress-5AM2MZ7V.js} +3 -3
- package/dist/{sites-TNVKZS73.js → sites-HZMADOA3.js} +1 -1
- package/dist/studio/{chunk-E422JDF5.js.map → chunk-H2DUOXTF.js.map} +0 -0
- package/dist/{telemetry-2YC4SGQU.js → telemetry-W5AKPI4R.js} +3 -3
- package/dist/{tts-FU35O6YB.js → tts-TOHSPWEG.js} +4 -4
package/dist/studio/player.js
CHANGED
|
@@ -6,42 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import "./chunk-XUHOIDKG.js";
|
|
8
8
|
import {
|
|
9
|
-
DEFAULT_HISTORY_ROOT,
|
|
10
|
-
DELETED_VERSION,
|
|
11
|
-
HistoryBusyError,
|
|
12
|
-
HistoryClosedError,
|
|
13
|
-
HistoryIdError,
|
|
14
9
|
MAX_UPLOAD_BYTES,
|
|
15
|
-
MAX_WINDOW_IDLE_MS,
|
|
16
10
|
MIME_TYPES,
|
|
17
11
|
PREVIEW_BUNDLE_OPTIONS,
|
|
18
|
-
START,
|
|
19
|
-
UNDO_MODES,
|
|
20
12
|
affectsPreview,
|
|
21
|
-
affectsProjectSignature,
|
|
22
13
|
applyFileMutations,
|
|
23
14
|
buildSubCompositionHtml,
|
|
24
15
|
clearElementScreenshotIsolation,
|
|
25
16
|
compositionsAffectedBy,
|
|
26
|
-
consumeFileWriteReceipt,
|
|
27
17
|
createBackgroundRemovalJob,
|
|
28
18
|
createPreviewDocumentStore,
|
|
29
|
-
createProjectSignature,
|
|
30
19
|
createStudioApi,
|
|
31
20
|
duplicateElementInHtml,
|
|
32
|
-
fileContentVersion,
|
|
33
21
|
getElementScreenshotClip,
|
|
34
22
|
getMimeType,
|
|
35
|
-
historyCache,
|
|
36
|
-
identifyFileWrite,
|
|
37
|
-
listProjectHistories,
|
|
38
|
-
openProjectHistory,
|
|
39
|
-
pruneGoneProjectHistories,
|
|
40
23
|
requestSubPath,
|
|
41
|
-
settledFileTag,
|
|
42
24
|
stampProjectHfIds,
|
|
43
25
|
thumbnailDeviceScaleFactor
|
|
44
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6Q6FR4KH.js";
|
|
45
27
|
import {
|
|
46
28
|
dedupeClonedCompositionId,
|
|
47
29
|
findTargetElement,
|
|
@@ -49,15 +31,38 @@ import {
|
|
|
49
31
|
patchElementInHtml,
|
|
50
32
|
removeElementFromHtml,
|
|
51
33
|
splitElementInHtml
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import
|
|
34
|
+
} from "./chunk-A7YQNIQT.js";
|
|
35
|
+
import {
|
|
36
|
+
DEFAULT_HISTORY_ROOT,
|
|
37
|
+
DELETED_VERSION,
|
|
38
|
+
HistoryBusyError,
|
|
39
|
+
HistoryClosedError,
|
|
40
|
+
HistoryIdError,
|
|
41
|
+
MAX_WINDOW_IDLE_MS,
|
|
42
|
+
START,
|
|
43
|
+
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
44
|
+
UNDO_MODES,
|
|
45
|
+
affectsProjectSignature,
|
|
46
|
+
consumeFileWriteReceipt,
|
|
47
|
+
createProjectSignature,
|
|
48
|
+
fileContentVersion,
|
|
49
|
+
historyCache,
|
|
50
|
+
identifyFileWrite,
|
|
51
|
+
listProjectHistories,
|
|
52
|
+
openProjectHistory,
|
|
53
|
+
pruneGoneProjectHistories,
|
|
54
|
+
settledFileTag
|
|
55
|
+
} from "./chunk-QZ3AZTXI.js";
|
|
56
|
+
import "./chunk-U7E736AJ.js";
|
|
54
57
|
import {
|
|
55
58
|
CACHE_DIR_NAME,
|
|
59
|
+
cleanupProxyCache
|
|
60
|
+
} from "./chunk-4BB7V6AI.js";
|
|
61
|
+
import {
|
|
56
62
|
STUDIO_MOTION_PATH,
|
|
57
|
-
cleanupProxyCache,
|
|
58
63
|
createStudioMotionRenderBodyScript,
|
|
59
64
|
walkDir
|
|
60
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-G75ENCEZ.js";
|
|
61
66
|
import "./chunk-EOVYQ3IG.js";
|
|
62
67
|
import "./chunk-374QQGBQ.js";
|
|
63
68
|
import {
|
|
@@ -66,22 +71,28 @@ import {
|
|
|
66
71
|
createStudioPositionSeekReapplyScript
|
|
67
72
|
} from "./chunk-KC5XXX3X.js";
|
|
68
73
|
import "./chunk-TJSTGSAW.js";
|
|
69
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-35RSNI77.js";
|
|
75
|
+
import "./chunk-A4KQZXZI.js";
|
|
76
|
+
import "./chunk-6E6CM7WS.js";
|
|
70
77
|
import "./chunk-OZUQF4NB.js";
|
|
71
78
|
import "./chunk-DPVXBVLL.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-HYYSJI5D.js";
|
|
79
|
+
import "./chunk-SYKKFAUW.js";
|
|
74
80
|
import "./chunk-VC76R6W2.js";
|
|
81
|
+
import "./chunk-YA62XGXS.js";
|
|
75
82
|
import {
|
|
76
83
|
isSafePath
|
|
77
84
|
} from "./chunk-OFQWTKPW.js";
|
|
78
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-T76PLPD6.js";
|
|
86
|
+
import "./chunk-FXMKHHPO.js";
|
|
87
|
+
import "./chunk-RQVDTPGD.js";
|
|
88
|
+
import "./chunk-WY5OODN5.js";
|
|
89
|
+
import "./chunk-24OWOBQH.js";
|
|
90
|
+
import "./chunk-JFKL3WAE.js";
|
|
79
91
|
import "./chunk-HBBJFK6I.js";
|
|
80
92
|
import "./chunk-PJ3HDUCY.js";
|
|
81
93
|
import "./chunk-TQFG7HTI.js";
|
|
82
94
|
import "./chunk-GK4AIFIH.js";
|
|
83
95
|
import "./chunk-2PSPARWP.js";
|
|
84
|
-
import "./chunk-RQVDTPGD.js";
|
|
85
96
|
import "./chunk-PMRBLBUP.js";
|
|
86
97
|
import "./chunk-M2WBOQ2Q.js";
|
|
87
98
|
export {
|
|
@@ -98,6 +109,7 @@ export {
|
|
|
98
109
|
CACHE_DIR_NAME as PROXY_CACHE_DIR_NAME,
|
|
99
110
|
STUDIO_MANUAL_EDITS_PATH,
|
|
100
111
|
STUDIO_MOTION_PATH,
|
|
112
|
+
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
101
113
|
UNDO_MODES,
|
|
102
114
|
affectsPreview,
|
|
103
115
|
affectsProjectSignature,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
seekCompositionTimeline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XDSOIJC3.js";
|
|
10
10
|
import "./chunk-5Z63TBTX.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-O3SKIXQK.js";
|
|
12
12
|
import {
|
|
13
13
|
renderJobObservabilityTelemetryPayload,
|
|
14
14
|
renderObservabilityTelemetryPayload
|
|
15
15
|
} from "./chunk-VXVRPIJA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-EKA4ZZBI.js";
|
|
17
17
|
import "./chunk-YEIFI443.js";
|
|
18
18
|
import {
|
|
19
19
|
HANDOFF_READY,
|
|
@@ -23,31 +23,35 @@ import {
|
|
|
23
23
|
} from "./chunk-EDUBJPGL.js";
|
|
24
24
|
import "./chunk-IHFUKJOR.js";
|
|
25
25
|
import {
|
|
26
|
-
DEFAULT_HISTORY_ROOT,
|
|
27
|
-
DELETED_VERSION,
|
|
28
|
-
HistoryBusyError,
|
|
29
|
-
HistoryClosedError,
|
|
30
26
|
PREVIEW_BUNDLE_OPTIONS,
|
|
31
27
|
affectsPreview,
|
|
32
|
-
affectsProjectSignature,
|
|
33
28
|
clearElementScreenshotIsolation,
|
|
34
29
|
compositionsAffectedBy,
|
|
35
30
|
createBackgroundRemovalJob,
|
|
36
31
|
createPreviewDocumentStore,
|
|
37
|
-
createProjectSignature,
|
|
38
32
|
createStudioApi,
|
|
39
|
-
fileContentVersion,
|
|
40
33
|
getElementScreenshotClip,
|
|
41
34
|
getMimeType,
|
|
42
|
-
historyCache,
|
|
43
|
-
identifyFileWrite,
|
|
44
|
-
openProjectHistory,
|
|
45
35
|
stampProjectHfIds,
|
|
46
36
|
thumbnailDeviceScaleFactor
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import
|
|
50
|
-
|
|
37
|
+
} from "./chunk-6Q6FR4KH.js";
|
|
38
|
+
import "./chunk-A7YQNIQT.js";
|
|
39
|
+
import {
|
|
40
|
+
DEFAULT_HISTORY_ROOT,
|
|
41
|
+
DELETED_VERSION,
|
|
42
|
+
HistoryBusyError,
|
|
43
|
+
HistoryClosedError,
|
|
44
|
+
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
45
|
+
affectsProjectSignature,
|
|
46
|
+
createProjectSignature,
|
|
47
|
+
fileContentVersion,
|
|
48
|
+
historyCache,
|
|
49
|
+
identifyFileWrite,
|
|
50
|
+
openProjectHistory
|
|
51
|
+
} from "./chunk-QZ3AZTXI.js";
|
|
52
|
+
import "./chunk-U7E736AJ.js";
|
|
53
|
+
import "./chunk-4BB7V6AI.js";
|
|
54
|
+
import "./chunk-G75ENCEZ.js";
|
|
51
55
|
import "./chunk-DCAI5DBR.js";
|
|
52
56
|
import {
|
|
53
57
|
isAtomicTempPath,
|
|
@@ -56,41 +60,40 @@ import {
|
|
|
56
60
|
import {
|
|
57
61
|
resolveCaptureBrowserGpuMode,
|
|
58
62
|
resolveLocalBrowserGpuMode
|
|
59
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-J5IPIQU2.js";
|
|
60
64
|
import {
|
|
61
65
|
resolveRenderBrowser
|
|
62
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KOEWEFHK.js";
|
|
63
67
|
import "./chunk-PFCFR3KZ.js";
|
|
64
68
|
import {
|
|
65
69
|
resolveAutoProxy
|
|
66
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-AVWEIOEN.js";
|
|
67
71
|
import "./chunk-XT7X6QCP.js";
|
|
68
72
|
import "./chunk-4YYJOFKS.js";
|
|
69
73
|
import "./chunk-HVW7ABXD.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-IKVBTDLO.js";
|
|
75
|
+
import "./chunk-L3JSAB4L.js";
|
|
76
|
+
import "./chunk-Q65ZQFF2.js";
|
|
73
77
|
import "./chunk-AWDFDFI3.js";
|
|
74
78
|
import "./chunk-P6LJ4Y32.js";
|
|
75
|
-
import "./chunk-GMECXFAN.js";
|
|
76
79
|
import "./chunk-TVCRUG2S.js";
|
|
77
80
|
import "./chunk-374QQGBQ.js";
|
|
78
81
|
import {
|
|
79
82
|
trackRenderComplete,
|
|
80
83
|
trackRenderError
|
|
81
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7XTZVLE6.js";
|
|
82
85
|
import {
|
|
83
86
|
canaryDecisionsForStudio,
|
|
84
87
|
resetTelemetryPostureCache,
|
|
85
88
|
shouldTrack
|
|
86
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-RCFCZT5O.js";
|
|
87
90
|
import "./chunk-VWG7OQKU.js";
|
|
88
|
-
import "./chunk-ZTZA4UWZ.js";
|
|
89
91
|
import {
|
|
90
92
|
bytesToMb,
|
|
91
93
|
detectAgentRuntime
|
|
92
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GQJZORQP.js";
|
|
93
95
|
import "./chunk-AMKC3AXA.js";
|
|
96
|
+
import "./chunk-GMECXFAN.js";
|
|
94
97
|
import "./chunk-54HJ63Q2.js";
|
|
95
98
|
import "./chunk-PBN6GBJE.js";
|
|
96
99
|
import {
|
|
@@ -100,31 +103,40 @@ import "./chunk-TJSTGSAW.js";
|
|
|
100
103
|
import {
|
|
101
104
|
assertWebGpuAdapterAvailable,
|
|
102
105
|
compositionRequiresWebGpu
|
|
103
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-E6SDW5FV.js";
|
|
107
|
+
import "./chunk-35RSNI77.js";
|
|
108
|
+
import "./chunk-A4KQZXZI.js";
|
|
109
|
+
import "./chunk-USDEMXXL.js";
|
|
104
110
|
import {
|
|
105
111
|
fpsToNumber
|
|
106
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-6E6CM7WS.js";
|
|
107
113
|
import "./chunk-OZUQF4NB.js";
|
|
108
114
|
import "./chunk-DPVXBVLL.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-HYYSJI5D.js";
|
|
115
|
+
import "./chunk-SYKKFAUW.js";
|
|
111
116
|
import "./chunk-VC76R6W2.js";
|
|
117
|
+
import "./chunk-YA62XGXS.js";
|
|
112
118
|
import {
|
|
113
119
|
realpath
|
|
114
120
|
} from "./chunk-OFQWTKPW.js";
|
|
121
|
+
import "./chunk-T76PLPD6.js";
|
|
122
|
+
import "./chunk-FXMKHHPO.js";
|
|
123
|
+
import "./chunk-RQVDTPGD.js";
|
|
115
124
|
import "./chunk-4PFZPP2N.js";
|
|
116
125
|
import {
|
|
117
126
|
runRenderSetupWorker
|
|
118
127
|
} from "./chunk-LCSMOLGX.js";
|
|
119
128
|
import "./chunk-TWWSYAKJ.js";
|
|
129
|
+
import "./chunk-WY5OODN5.js";
|
|
130
|
+
import "./chunk-24OWOBQH.js";
|
|
120
131
|
import {
|
|
121
132
|
isWithinProjectRoot
|
|
122
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-JFKL3WAE.js";
|
|
123
134
|
import "./chunk-HBBJFK6I.js";
|
|
124
135
|
import "./chunk-PJ3HDUCY.js";
|
|
125
136
|
import "./chunk-TQFG7HTI.js";
|
|
126
137
|
import "./chunk-GK4AIFIH.js";
|
|
127
138
|
import "./chunk-2PSPARWP.js";
|
|
139
|
+
import "./chunk-PMRBLBUP.js";
|
|
128
140
|
import "./chunk-K4WIOZFP.js";
|
|
129
141
|
import {
|
|
130
142
|
readConfig,
|
|
@@ -136,11 +148,10 @@ import {
|
|
|
136
148
|
} from "./chunk-ISN5GRYI.js";
|
|
137
149
|
import {
|
|
138
150
|
VERSION
|
|
139
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-W6HTOVHU.js";
|
|
140
152
|
import "./chunk-KNU5COPB.js";
|
|
141
153
|
import "./chunk-3GXQPCJC.js";
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-PMRBLBUP.js";
|
|
154
|
+
import "./chunk-ZTZA4UWZ.js";
|
|
144
155
|
import "./chunk-M2WBOQ2Q.js";
|
|
145
156
|
|
|
146
157
|
// src/server/studioServer.ts
|
|
@@ -149,7 +160,7 @@ import { streamSSE } from "hono/streaming";
|
|
|
149
160
|
import { existsSync as existsSync2, readFileSync as readFileSync2, statSync as statSync2, writeFileSync, unlinkSync } from "fs";
|
|
150
161
|
import { createHash as createHash2 } from "crypto";
|
|
151
162
|
import { fileURLToPath } from "url";
|
|
152
|
-
import { resolve as resolve2, join as join2, basename, relative as relative2, sep as sep2 } from "path";
|
|
163
|
+
import { resolve as resolve2, join as join2, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
153
164
|
|
|
154
165
|
// src/server/readBundleFile.ts
|
|
155
166
|
import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
|
|
@@ -173,7 +184,7 @@ function readBundleFile(filePath) {
|
|
|
173
184
|
|
|
174
185
|
// src/server/fileWatcher.ts
|
|
175
186
|
import { lstatSync, readdirSync, watch } from "fs";
|
|
176
|
-
import { join, relative, sep } from "path";
|
|
187
|
+
import { basename, dirname, join, relative, sep } from "path";
|
|
177
188
|
var WATCHER_EXCLUDED_DIRS = /* @__PURE__ */ new Set([
|
|
178
189
|
".cache",
|
|
179
190
|
".git",
|
|
@@ -221,8 +232,8 @@ function watchProjectTree(projectDir, onChange) {
|
|
|
221
232
|
}
|
|
222
233
|
}
|
|
223
234
|
};
|
|
224
|
-
const watchDirectory = (dir) => {
|
|
225
|
-
if (directories.has(dir))
|
|
235
|
+
const watchDirectory = (dir, movedIn = false) => {
|
|
236
|
+
if (directories.has(dir)) unwatch(dir);
|
|
226
237
|
let watcher;
|
|
227
238
|
try {
|
|
228
239
|
watcher = watch(dir, { persistent: true }, (event, name) => {
|
|
@@ -230,28 +241,48 @@ function watchProjectTree(projectDir, onChange) {
|
|
|
230
241
|
const path = join(dir, name.toString());
|
|
231
242
|
onChange(relative(projectDir, path));
|
|
232
243
|
if (event !== "rename") return;
|
|
233
|
-
if (isDirectory(path)) descend(path);
|
|
244
|
+
if (isDirectory(path)) descend(path, true);
|
|
234
245
|
else unwatch(path);
|
|
235
246
|
});
|
|
236
|
-
} catch
|
|
237
|
-
if (dir === projectDir) throw error;
|
|
247
|
+
} catch {
|
|
238
248
|
return;
|
|
239
249
|
}
|
|
240
250
|
watcher.on("error", () => unwatch(dir));
|
|
241
251
|
directories.set(dir, watcher);
|
|
252
|
+
walkChildren(dir, movedIn);
|
|
253
|
+
};
|
|
254
|
+
const walkChildren = (dir, movedIn) => {
|
|
242
255
|
let entries = [];
|
|
243
256
|
try {
|
|
244
|
-
entries = readdirSync(dir, { withFileTypes: true })
|
|
257
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
245
258
|
} catch {
|
|
246
259
|
}
|
|
247
|
-
for (const
|
|
260
|
+
for (const entry of entries) {
|
|
261
|
+
const child = join(dir, entry.name);
|
|
262
|
+
if (entry.isDirectory()) descend(child, movedIn);
|
|
263
|
+
else if (movedIn) onChange(relative(projectDir, child));
|
|
264
|
+
}
|
|
265
|
+
if (movedIn && relative(projectDir, dir) === ".hyperframes") {
|
|
266
|
+
for (const manifest of STUDIO_SIGNATURE_MANIFEST_PATHS) onChange(manifest);
|
|
267
|
+
}
|
|
248
268
|
};
|
|
249
|
-
const descend = (dir) => {
|
|
269
|
+
const descend = (dir, movedIn = false) => {
|
|
250
270
|
const rel = relative(projectDir, dir);
|
|
251
|
-
if (shouldWatchProjectFile(rel) || rel === ".hyperframes") watchDirectory(dir);
|
|
271
|
+
if (shouldWatchProjectFile(rel) || rel === ".hyperframes") watchDirectory(dir, movedIn);
|
|
252
272
|
};
|
|
273
|
+
let parent = null;
|
|
274
|
+
try {
|
|
275
|
+
parent = watch(dirname(projectDir), { persistent: true }, (event, name) => {
|
|
276
|
+
if (event !== "rename" || name?.toString() !== basename(projectDir)) return;
|
|
277
|
+
watchDirectory(projectDir);
|
|
278
|
+
onChange(".");
|
|
279
|
+
});
|
|
280
|
+
parent.on("error", () => parent?.close());
|
|
281
|
+
} catch {
|
|
282
|
+
}
|
|
253
283
|
watchDirectory(projectDir);
|
|
254
284
|
return () => {
|
|
285
|
+
parent?.close();
|
|
255
286
|
for (const watcher of directories.values()) watcher.close();
|
|
256
287
|
directories.clear();
|
|
257
288
|
};
|
|
@@ -303,7 +334,7 @@ function createProjectWatcher(projectDir) {
|
|
|
303
334
|
// src/server/runtimeSource.ts
|
|
304
335
|
import { createHash } from "crypto";
|
|
305
336
|
import { existsSync } from "fs";
|
|
306
|
-
import { resolve, dirname } from "path";
|
|
337
|
+
import { resolve, dirname as dirname2 } from "path";
|
|
307
338
|
var ARTIFACT_NAMES = ["hyperframe-runtime.js", "hyperframe.runtime.iife.js"];
|
|
308
339
|
async function loadRuntimeSource() {
|
|
309
340
|
return await buildFromSource() ?? await getInlinedRuntime() ?? readPrebuiltArtifact();
|
|
@@ -325,7 +356,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
325
356
|
async function buildFromSource() {
|
|
326
357
|
if (!existsSync(ENTRY_TS)) return null;
|
|
327
358
|
try {
|
|
328
|
-
const mod = await import("./dist-
|
|
359
|
+
const mod = await import("./dist-ROUDWGLO.js");
|
|
329
360
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
330
361
|
const source = mod.loadHyperframeRuntimeSource();
|
|
331
362
|
if (source) return source;
|
|
@@ -336,7 +367,7 @@ async function buildFromSource() {
|
|
|
336
367
|
}
|
|
337
368
|
async function getInlinedRuntime() {
|
|
338
369
|
try {
|
|
339
|
-
const mod = await import("./dist-
|
|
370
|
+
const mod = await import("./dist-ROUDWGLO.js");
|
|
340
371
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
341
372
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
342
373
|
}
|
|
@@ -366,7 +397,7 @@ function readFromNodeModules() {
|
|
|
366
397
|
const result = readFromDir(resolve(dir, sub));
|
|
367
398
|
if (result) return result;
|
|
368
399
|
}
|
|
369
|
-
const parent =
|
|
400
|
+
const parent = dirname2(dir);
|
|
370
401
|
if (parent === dir) break;
|
|
371
402
|
dir = parent;
|
|
372
403
|
}
|
|
@@ -679,13 +710,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
679
710
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
680
711
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
681
712
|
async function loadStudioProducer() {
|
|
682
|
-
if (!isDevMode()) return await import("./src-
|
|
713
|
+
if (!isDevMode()) return await import("./src-74PFDTDX.js");
|
|
683
714
|
if (!process.versions.bun) {
|
|
684
715
|
throw new Error(
|
|
685
716
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
686
717
|
);
|
|
687
718
|
}
|
|
688
|
-
return await import("./src-
|
|
719
|
+
return await import("./src-74PFDTDX.js");
|
|
689
720
|
}
|
|
690
721
|
function resolveDistDir() {
|
|
691
722
|
return resolveStudioBundle().dir;
|
|
@@ -799,7 +830,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
799
830
|
try {
|
|
800
831
|
if (isShuttingDown()) return null;
|
|
801
832
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
802
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
833
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-I7UC3JTL.js");
|
|
803
834
|
let executablePath;
|
|
804
835
|
try {
|
|
805
836
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -892,7 +923,7 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
892
923
|
}
|
|
893
924
|
function createStudioServer(options) {
|
|
894
925
|
const { projectDir, projectName } = options;
|
|
895
|
-
const projectId = projectName ||
|
|
926
|
+
const projectId = projectName || basename2(projectDir);
|
|
896
927
|
const browserGpuMode = options.browserGpuMode ?? resolveLocalBrowserGpuMode();
|
|
897
928
|
const studioDir = resolveDistDir();
|
|
898
929
|
const runtimePath = resolveRuntimePath();
|
|
@@ -901,7 +932,7 @@ function createStudioServer(options) {
|
|
|
901
932
|
const project = { id: projectId, dir: projectDir, title: projectId };
|
|
902
933
|
let cachedProjectSignature = null;
|
|
903
934
|
watcher.addListener((changedPath) => {
|
|
904
|
-
if (affectsProjectSignature(projectDir, join2(projectDir, changedPath))) {
|
|
935
|
+
if (changedPath === "." || affectsProjectSignature(projectDir, join2(projectDir, changedPath))) {
|
|
905
936
|
cachedProjectSignature = null;
|
|
906
937
|
}
|
|
907
938
|
});
|
|
@@ -949,7 +980,7 @@ function createStudioServer(options) {
|
|
|
949
980
|
resolveProject: (id) => id === projectId ? project : null,
|
|
950
981
|
async bundle(dir, options2) {
|
|
951
982
|
try {
|
|
952
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
983
|
+
const { bundleToSingleHtml } = await import("./compiler-ACHWOU5N.js");
|
|
953
984
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
954
985
|
html = html.replace(
|
|
955
986
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -962,9 +993,9 @@ function createStudioServer(options) {
|
|
|
962
993
|
}
|
|
963
994
|
},
|
|
964
995
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
965
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
966
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
967
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
996
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-F6WIVL2W.js");
|
|
997
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-QO4BSKR7.js");
|
|
998
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-R76OHFIE.js");
|
|
968
999
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
969
1000
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
970
1001
|
const prepared = await prepareAnimatedGifInputs(html, {
|
|
@@ -988,7 +1019,7 @@ function createStudioServer(options) {
|
|
|
988
1019
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
989
1020
|
},
|
|
990
1021
|
async lint(html, opts) {
|
|
991
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1022
|
+
const { lintHyperframeHtml } = await import("./dist-NZSQCYOF.js");
|
|
992
1023
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
993
1024
|
},
|
|
994
1025
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1105,7 +1136,7 @@ function createStudioServer(options) {
|
|
|
1105
1136
|
startBackgroundRemoval(opts) {
|
|
1106
1137
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1107
1138
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1108
|
-
const pipeline = await import("./pipeline-
|
|
1139
|
+
const pipeline = await import("./pipeline-7YHZPYIS.js").catch(
|
|
1109
1140
|
() => import(sourcePipelinePath)
|
|
1110
1141
|
);
|
|
1111
1142
|
return pipeline.render(renderOpts);
|
|
@@ -1186,8 +1217,8 @@ function createStudioServer(options) {
|
|
|
1186
1217
|
}
|
|
1187
1218
|
},
|
|
1188
1219
|
async listRegistryCatalog() {
|
|
1189
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1190
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1220
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-FE3GBZ4T.js");
|
|
1221
|
+
const { loadProjectConfig } = await import("./projectConfig-MH4QU4AC.js");
|
|
1191
1222
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1192
1223
|
const entries = await listRegistryItems(void 0, registry);
|
|
1193
1224
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1196,9 +1227,9 @@ function createStudioServer(options) {
|
|
|
1196
1227
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1197
1228
|
},
|
|
1198
1229
|
async installRegistryBlock(opts) {
|
|
1199
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1200
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1201
|
-
const { registryTargetPath } = await import("./publication-
|
|
1230
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-KH2CF4FD.js");
|
|
1231
|
+
const { recordRewrittenInstall } = await import("./installer-LL4QAKFW.js");
|
|
1232
|
+
const { registryTargetPath } = await import("./publication-KUSHI5MG.js");
|
|
1202
1233
|
const { result, item } = await addToProject({
|
|
1203
1234
|
name: opts.blockName,
|
|
1204
1235
|
projectDir: opts.project.dir,
|
|
@@ -1299,7 +1330,7 @@ function createStudioServer(options) {
|
|
|
1299
1330
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1300
1331
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1301
1332
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1302
|
-
import("./preflight-
|
|
1333
|
+
import("./preflight-Y5DN5D37.js"),
|
|
1303
1334
|
import("./ffmpeg-QIUFEFTY.js")
|
|
1304
1335
|
]);
|
|
1305
1336
|
const { outcomes } = await runEnvironmentChecks();
|
|
@@ -1435,7 +1466,7 @@ function createStudioServer(options) {
|
|
|
1435
1466
|
});
|
|
1436
1467
|
const renders = [...inFlightRenders];
|
|
1437
1468
|
for (const [abortController] of renders) abortController.abort();
|
|
1438
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1469
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-I7UC3JTL.js");
|
|
1439
1470
|
killTrackedProcesses();
|
|
1440
1471
|
const closeBrowsers = Promise.allSettled([
|
|
1441
1472
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -12,26 +12,9 @@ import {
|
|
|
12
12
|
getShmSizeMb,
|
|
13
13
|
getSystemMeta,
|
|
14
14
|
parsePmsetPowerSource
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GQJZORQP.js";
|
|
16
16
|
import "./chunk-AMKC3AXA.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-EJ7OWYF2.js";
|
|
19
|
-
import "./chunk-OZUQF4NB.js";
|
|
20
|
-
import "./chunk-DPVXBVLL.js";
|
|
21
|
-
import "./chunk-GWV2Y36Q.js";
|
|
22
|
-
import "./chunk-HYYSJI5D.js";
|
|
23
|
-
import "./chunk-VC76R6W2.js";
|
|
24
|
-
import "./chunk-OFQWTKPW.js";
|
|
25
|
-
import "./chunk-TWWSYAKJ.js";
|
|
26
|
-
import "./chunk-STA43FMY.js";
|
|
27
|
-
import "./chunk-HBBJFK6I.js";
|
|
28
|
-
import "./chunk-PJ3HDUCY.js";
|
|
29
|
-
import "./chunk-TQFG7HTI.js";
|
|
30
|
-
import "./chunk-GK4AIFIH.js";
|
|
31
|
-
import "./chunk-2PSPARWP.js";
|
|
32
|
-
import "./chunk-3GXQPCJC.js";
|
|
33
|
-
import "./chunk-RQVDTPGD.js";
|
|
34
|
-
import "./chunk-PMRBLBUP.js";
|
|
17
|
+
import "./chunk-USDEMXXL.js";
|
|
35
18
|
import "./chunk-M2WBOQ2Q.js";
|
|
36
19
|
export {
|
|
37
20
|
bytesToMb,
|
|
@@ -17,40 +17,27 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7XTZVLE6.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RCFCZT5O.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
|
-
import "./chunk-ZTZA4UWZ.js";
|
|
30
29
|
import {
|
|
31
30
|
bytesToMb,
|
|
32
31
|
getFreeDiskMb,
|
|
33
32
|
getShmSizeMb,
|
|
34
33
|
getSystemMeta
|
|
35
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GQJZORQP.js";
|
|
36
35
|
import "./chunk-AMKC3AXA.js";
|
|
37
36
|
import "./chunk-54HJ63Q2.js";
|
|
38
37
|
import "./chunk-PBN6GBJE.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-DPVXBVLL.js";
|
|
43
|
-
import "./chunk-GWV2Y36Q.js";
|
|
44
|
-
import "./chunk-HYYSJI5D.js";
|
|
45
|
-
import "./chunk-VC76R6W2.js";
|
|
46
|
-
import "./chunk-OFQWTKPW.js";
|
|
47
|
-
import "./chunk-TWWSYAKJ.js";
|
|
48
|
-
import "./chunk-STA43FMY.js";
|
|
49
|
-
import "./chunk-HBBJFK6I.js";
|
|
50
|
-
import "./chunk-PJ3HDUCY.js";
|
|
51
|
-
import "./chunk-TQFG7HTI.js";
|
|
52
|
-
import "./chunk-GK4AIFIH.js";
|
|
53
|
-
import "./chunk-2PSPARWP.js";
|
|
38
|
+
import "./chunk-USDEMXXL.js";
|
|
39
|
+
import "./chunk-T76PLPD6.js";
|
|
40
|
+
import "./chunk-FXMKHHPO.js";
|
|
54
41
|
import "./chunk-K4WIOZFP.js";
|
|
55
42
|
import {
|
|
56
43
|
CONFIG_PATH,
|
|
@@ -60,11 +47,9 @@ import {
|
|
|
60
47
|
} from "./chunk-XUXGIA7H.js";
|
|
61
48
|
import "./chunk-WERLJGIC.js";
|
|
62
49
|
import "./chunk-ISN5GRYI.js";
|
|
63
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-W6HTOVHU.js";
|
|
64
51
|
import "./chunk-KNU5COPB.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-RQVDTPGD.js";
|
|
67
|
-
import "./chunk-PMRBLBUP.js";
|
|
52
|
+
import "./chunk-ZTZA4UWZ.js";
|
|
68
53
|
import "./chunk-M2WBOQ2Q.js";
|
|
69
54
|
export {
|
|
70
55
|
CONFIG_PATH,
|