hyperframes 0.8.142 → 0.8.144
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-YS2RCWEK.js → add-CWRTVGDB.js} +18 -17
- package/dist/{animatedGifPrep-SAMCDT7T.js → animatedGifPrep-JTOHIWI4.js} +15 -14
- package/dist/{asset-BLWC2NWB.js → asset-KU2Z4UFM.js} +4 -4
- package/dist/{assetCataloger-FVNBBRP3.js → assetCataloger-3CS2P7PA.js} +8 -7
- package/dist/{auth-DRZB7OAC.js → auth-IDSOIQWG.js} +1 -1
- package/dist/{autoUpdate-I5I3BOJK.js → autoUpdate-373B4BA2.js} +2 -2
- package/dist/{backgroundChecks-VR2QHGNY.js → backgroundChecks-53Q3NAMG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-4YUHQI6X.js → batchRender-UKZA6BME.js} +11 -10
- package/dist/{beats-7OT7ALV3.js → beats-N5JGEOFR.js} +33 -28
- package/dist/{benchmark-Q2XQCRTR.js → benchmark-CUN3LN4V.js} +15 -14
- package/dist/{browser-7VAWQQZC.js → browser-NCZT5AP6.js} +40 -56
- package/dist/{bundleWithLocalizedFonts-DDMLLL2R.js → bundleWithLocalizedFonts-FWC7PE2D.js} +2 -2
- package/dist/{capture-HEJS6M5A.js → capture-QBLG3VJR.js} +26 -25
- package/dist/{capture-U7ABPKS5.js → capture-YLS32UHT.js} +2 -2
- package/dist/{catalog-DVJ3XPDN.js → catalog-HIWNAFHW.js} +19 -18
- package/dist/{catch-up-DF6AVSN2.js → catch-up-HGS7KIAC.js} +5 -5
- package/dist/{check-KXORRWAE.js → check-FH6UYYLO.js} +78 -66
- package/dist/{checkBrowser-J7HZJTRH.js → checkBrowser-RNWNOMCZ.js} +93 -41
- package/dist/{chunk-R2JEKLDZ.js → chunk-2DA2BBNY.js} +3 -3
- package/dist/{chunk-TQFG7HTI.js → chunk-3RM2ETQT.js} +0 -168
- package/dist/{chunk-YFT3BL7N.js → chunk-3VYNNWVA.js} +30 -12
- package/dist/{chunk-7FCDA4RH.js → chunk-3XTEXWNN.js} +8 -5
- package/dist/{chunk-PFCFR3KZ.js → chunk-442JNXRM.js} +1 -1
- package/dist/{chunk-BPZVDBHY.js → chunk-4LAR447G.js} +1 -1
- package/dist/{chunk-AM5L5YIA.js → chunk-4OA4LDTU.js} +1 -1
- package/dist/{chunk-DZEVA7DI.js → chunk-4OC7MQNB.js} +2 -2
- package/dist/{chunk-75JJVANE.js → chunk-54QISXOC.js} +3 -3
- package/dist/{chunk-FZK35GT4.js → chunk-5HJ343GH.js} +1 -1
- package/dist/{chunk-IDX52YJN.js → chunk-5VMR4WBS.js} +458 -159
- package/dist/{chunk-OSUKETIH.js → chunk-5WADG7PR.js} +1 -1
- package/dist/{chunk-JYYOAKHS.js → chunk-6IIGT7BX.js} +1 -1
- package/dist/{chunk-6UYZB4TY.js → chunk-7RAYSCYT.js} +4 -4
- package/dist/{chunk-WTMUCJ6Z.js → chunk-7SDCIWHQ.js} +11 -2
- package/dist/{chunk-LAOCA3MQ.js → chunk-A4Q7W4LV.js} +13 -8
- package/dist/{chunk-B6SMSALD.js → chunk-A53CBD24.js} +18 -12
- package/dist/{chunk-4PFZPP2N.js → chunk-A6S35NYA.js} +54 -16
- package/dist/{chunk-JOTLPC6S.js → chunk-AUBOF2PN.js} +1 -1
- package/dist/{chunk-WCJGTLPF.js → chunk-BHVFTYSI.js} +6 -3
- package/dist/chunk-BSQ7XANM.js +210 -0
- package/dist/{chunk-LCSMOLGX.js → chunk-BYSBRF24.js} +69 -8
- package/dist/{chunk-U7E736AJ.js → chunk-DDIVWXN7.js} +32 -14
- package/dist/{chunk-KOEWEFHK.js → chunk-DIRJ322I.js} +10 -5
- package/dist/{chunk-HMUF7FEO.js → chunk-EX6C672Y.js} +2 -2
- package/dist/{chunk-QGRFOOLE.js → chunk-F2SMS24Q.js} +288 -85
- package/dist/{chunk-5Z63TBTX.js → chunk-FH7WODJH.js} +1 -1
- package/dist/{chunk-XTLBLWOV.js → chunk-GEWKFRFI.js} +1 -1
- package/dist/{chunk-RVCWIIZ7.js → chunk-GV5R5B7Q.js} +1 -1
- package/dist/{chunk-TY6XOHEM.js → chunk-GZM2EFOE.js} +3 -3
- package/dist/chunk-GZVP4TWN.js +76 -0
- package/dist/{chunk-QXPCARFE.js → chunk-I5KY7EZP.js} +1 -1
- package/dist/{chunk-IW2CKH6A.js → chunk-IEIJRMLZ.js} +94 -59
- package/dist/chunk-IR35BCLK.js +13 -0
- package/dist/{chunk-JFKL3WAE.js → chunk-IWFLMU2N.js} +104 -19
- package/dist/{chunk-EFDXGAAD.js → chunk-JEHFZQYT.js} +1 -1
- package/dist/{chunk-IHFUKJOR.js → chunk-K2FLNJVB.js} +8 -2
- package/dist/{chunk-KDPYVTEU.js → chunk-KBB4RG6F.js} +6 -1
- package/dist/{chunk-LJAU4TPS.js → chunk-KFKZ3ISO.js} +2 -2
- package/dist/{sherpa-ZYTNFHD5.js → chunk-L5TUCXWR.js} +11 -44
- package/dist/{chunk-KYN364DU.js → chunk-LC3RQURJ.js} +7 -9
- package/dist/{chunk-IMY4QQTQ.js → chunk-LFX2HEYP.js} +8 -8
- package/dist/{chunk-PXSM4HPB.js → chunk-MAYCCGMQ.js} +12 -3
- package/dist/{chunk-OZUQF4NB.js → chunk-MQZVBHEY.js} +123 -8
- package/dist/{chunk-FWRNQOLT.js → chunk-MXNDKDFT.js} +3 -3
- package/dist/{chunk-A4KQZXZI.js → chunk-NE55C6S5.js} +4 -2
- package/dist/{chunk-GYE63V4P.js → chunk-NOPBBSLA.js} +24 -19
- package/dist/{chunk-H2X52H2N.js → chunk-NV4RXIQ7.js} +3 -3
- package/dist/{chunk-WGVOWWVK.js → chunk-OIDN7G42.js} +3 -3
- package/dist/{chunk-DPHJKWP5.js → chunk-OUSLVRO4.js} +107 -108
- package/dist/{chunk-JLKMWY2T.js → chunk-P6WH6QTV.js} +8 -5
- package/dist/{chunk-7M4KAPAA.js → chunk-PUGIRFPX.js} +2 -2
- package/dist/{chunk-6RAD4BCC.js → chunk-QATWIE4K.js} +2 -2
- package/dist/{chunk-D2KNWIQ6.js → chunk-QFSCCQIR.js} +1 -1
- package/dist/{chunk-XGMNQQTJ.js → chunk-RG3QWWIE.js} +1 -1
- package/dist/{chunk-MVTUV4TP.js → chunk-RI53TS2Y.js} +14 -6
- package/dist/{chunk-LQASVU3I.js → chunk-RVFEDAUV.js} +12 -4
- package/dist/{chunk-GK4AIFIH.js → chunk-SDYDNHEE.js} +34 -3
- package/dist/{chunk-WSGY5CDQ.js → chunk-SLCFKB3Y.js} +14 -10
- package/dist/{chunk-2NCHQUPX.js → chunk-SQLK7SJL.js} +1 -1
- package/dist/{chunk-PMRBLBUP.js → chunk-T42U2W2R.js} +14 -2
- package/dist/chunk-UPFUC4DB.js +136 -0
- package/dist/{chunk-IXCTG2WY.js → chunk-VYSUZEJG.js} +5 -5
- package/dist/chunk-WJB7WI4J.js +3753 -0
- package/dist/{chunk-YEIFI443.js → chunk-WPNE5NEP.js} +1 -1
- package/dist/{chunk-YHRZQJXH.js → chunk-XGFHYAYN.js} +265 -68
- package/dist/{chunk-LBKDQKWV.js → chunk-XU5GGV6R.js} +1 -1
- package/dist/{chunk-LTGGTEMA.js → chunk-Y6UPYWJS.js} +2 -2
- package/dist/{chunk-OKCR3JTO.js → chunk-YJXHMIZA.js} +13 -10
- package/dist/{chunk-JU6Y5TTZ.js → chunk-YUAXFWSQ.js} +3 -3
- package/dist/{chunk-TVCRUG2S.js → chunk-ZEUONDQG.js} +1 -1
- package/dist/{chunk-THXFSPLV.js → chunk-ZIRIDSDB.js} +1 -1
- package/dist/{chunk-6UM3R7PP.js → chunk-ZOA2SC4P.js} +129 -60
- package/dist/{clean-KTHTV5G5.js → clean-KPX27IKJ.js} +27 -26
- package/dist/cli.js +70 -160
- package/dist/{cloud-ARSZWALC.js → cloud-P7DAOISN.js} +4 -4
- package/dist/{cloudrun-NM7RXOCL.js → cloudrun-XM56TBOH.js} +13 -12
- package/dist/commands/contrast-audit.browser.js +60 -4
- package/dist/commands/layout-audit.browser.js +68 -0
- package/dist/{compare-CY4UO3RW.js → compare-F6YAFZZM.js} +37 -36
- package/dist/{compiler-VTH2D3ID.js → compiler-JZ4GNFMG.js} +16 -10
- package/dist/{component-FRUIAXIR.js → component-3CFOGIQA.js} +5 -5
- package/dist/{compositions-CUSY6ZYY.js → compositions-CPCMWF24.js} +38 -33
- package/dist/{delete-KT3VHP4L.js → delete-GYVKOKB6.js} +4 -4
- package/dist/{deterministicFonts-F6WIVL2W.js → deterministicFonts-U2BIMGPG.js} +3 -3
- package/dist/{dist-7SZU7MA7.js → dist-KDJTFJHA.js} +7 -6
- package/dist/{dist-2GC6XKRQ.js → dist-YPWQDWJ4.js} +42 -40
- package/dist/{doctor-4ROTBL5U.js → doctor-GWI3B6JT.js} +21 -20
- package/dist/{dom-IROKGVJI.js → dom-37K6YOH4.js} +2 -2
- package/dist/{events-QJDVMKSR.js → events-BRRUDPPT.js} +3 -3
- package/dist/{events-Q5PXT5UC.js → events-V2QFN4YM.js} +2 -2
- package/dist/{feedback-PQ7TWESA.js → feedback-CXMD7FWL.js} +14 -13
- package/dist/{ffmpeg-QIUFEFTY.js → ffmpeg-T5SH2EFJ.js} +3 -2
- package/dist/{figma-JN5DDBDS.js → figma-YABDWD66.js} +3 -3
- package/dist/fontLocalizeCli.js +18 -17
- package/dist/{get-KT6OTERO.js → get-L2SOQKHX.js} +4 -4
- package/dist/{gpuPolicy-LCBWVGEH.js → gpuPolicy-NBJNWHYS.js} +19 -16
- package/dist/{grade-compare-VS3RP73G.js → grade-compare-STXQPKYQ.js} +39 -38
- package/dist/{help-AD6FIZIO.js → help-4H6BSFLB.js} +2 -2
- package/dist/{history-ZRWYRY7R.js → history-4IQOLTHJ.js} +6 -6
- package/dist/hyperframe-runtime.js +56 -56
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +56 -56
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +23 -23
- package/dist/{info-WBBQA2AX.js → info-2CZOTNBC.js} +17 -16
- package/dist/{init-A2XBDFGF.js → init-6BXK42VS.js} +46 -46
- package/dist/{inspect-CLTZHA5O.js → inspect-VKU47TBH.js} +38 -37
- package/dist/{installer-WQDRVXH4.js → installer-T2BSSUDY.js} +11 -10
- package/dist/{keyframes-3FYOK6H6.js → keyframes-IEYVHRPI.js} +10 -10
- package/dist/{lambda-Y2PA2BGS.js → lambda-TIKG25CK.js} +12 -11
- package/dist/{layout-4KP5O7IJ.js → layout-XOI4PT7A.js} +38 -37
- package/dist/{lint-V4GRFHOJ.js → lint-DWCMVIX5.js} +14 -13
- package/dist/{lintProject-RG2KGAXB.js → lintProject-UBZ3TDHU.js} +7 -6
- package/dist/{list-OQ4VED6E.js → list-7GXKG5QM.js} +5 -5
- package/dist/{login-W47NKN5S.js → login-BQ5L2UHX.js} +4 -4
- package/dist/{manager-CT3D67CG.js → manager-BPSR6D3V.js} +2 -2
- package/dist/{manager-524RPYO7.js → manager-RFZNG5YT.js} +2 -2
- package/dist/{manager-DXB7JDHU.js → manager-YKMHR6LN.js} +9 -6
- package/dist/{media-treatment-HJYL3EME.js → media-treatment-IFB7OSZ3.js} +24 -22
- package/dist/{models-DYBAD2GQ.js → models-TY4PJ545.js} +68 -27
- package/dist/{motionShot-7NE2YBB3.js → motionShot-WXMFHICW.js} +33 -33
- package/dist/{normalize-IGLHCWTF.js → normalize-U3SL5VG3.js} +19 -8
- package/dist/{normalize-audio-INKCLMS2.js → normalize-audio-RFD776HQ.js} +10 -6
- package/dist/{open-TYC5THVY.js → open-7IXXGO2E.js} +5 -5
- package/dist/parakeetRunner-IHLYYMTZ.js +67 -0
- package/dist/{pipeline-EVKEPQEW.js → pipeline-TXKPLL2U.js} +20 -18
- package/dist/{play-QMZEM6X3.js → play-J2KP64UK.js} +31 -29
- package/dist/{preflight-Y5DN5D37.js → preflight-B4AFK3RG.js} +4 -4
- package/dist/{present-Y7IK3C4W.js → present-MHHNRVRA.js} +26 -25
- package/dist/{preview-5OQRYE6A.js → preview-CONUOFFQ.js} +28 -27
- package/dist/{producer-Q6G6JU7B.js → producer-ZI46K7HH.js} +1 -1
- package/dist/{projectConfig-RJN3DKDB.js → projectConfig-FGGVG5MV.js} +13 -12
- package/dist/{publication-QCPGGN3U.js → publication-TXFBMW6B.js} +8 -7
- package/dist/{publish-VZLFIGYY.js → publish-YZSPBFRD.js} +18 -17
- package/dist/{remove-background-TKOEHBA5.js → remove-background-4ATVLHLG.js} +22 -20
- package/dist/{render-KIIIF6PS.js → render-6FBYLYGJ.js} +20 -19
- package/dist/{render-XTXE5CRU.js → render-GFW5BPES.js} +13 -12
- package/dist/{render-X3NFNVEQ.js → render-MH4IUPWB.js} +41 -40
- package/dist/{render-batch-M55YZLZ5.js → render-batch-XUCZ2PUJ.js} +13 -12
- package/dist/{renderCancellation-X5BEHAZU.js → renderCancellation-XF7M7IUP.js} +18 -16
- package/dist/renderSetupWorker.js +37 -48
- package/dist/{resolver-GAMXRA42.js → resolver-W7AYCQGS.js} +10 -9
- package/dist/sherpa-LDUB5NLY.js +75 -0
- package/dist/sherpaWorker.js +2 -1
- package/dist/skills/hyperframes-cli/references/doctor-browser.md +24 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/media-use/scripts/lib/cache.mjs +28 -14
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +110 -0
- package/dist/skills/media-use/scripts/lib/duck.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +87 -0
- package/dist/skills/media-use/scripts/lib/probe.mjs +6 -1
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +73 -0
- package/dist/skills/media-use/scripts/lib/words.mjs +1 -1
- package/dist/{skills-CZHVAD3J.js → skills-VENERS5X.js} +7 -7
- package/dist/{skillsUpdateCheck-6WLLX53A.js → skillsUpdateCheck-UXFYTACG.js} +3 -3
- package/dist/{slideshow-EJ4IMY6P.js → slideshow-4OJEPWNZ.js} +1 -1
- package/dist/{snapshot-K7BTJPYQ.js → snapshot-C6T74HTI.js} +44 -40
- package/dist/{src-YUW26JU5.js → src-FS5RSVEI.js} +17 -16
- package/dist/{src-3I3RH3V5.js → src-VUJ2FUFK.js} +18 -13
- package/dist/{staticProjectServer-IKCSGN2B.js → staticProjectServer-V2RZ4DWD.js} +23 -22
- package/dist/studio/assets/hyperframes-player-Bw_jIaSX.js +473 -0
- package/dist/studio/assets/{index-B-wffzRH.js → index-BVM9NuWl.js} +153 -153
- package/dist/studio/assets/{index-D3Vij9t1.js → index-Cj7W_c7p.js} +1 -1
- package/dist/studio/assets/{index-D5q2_7Gw.js → index-DyH9dT7b.js} +1 -1
- package/dist/studio/{chunk-TFLU2MGI.js → chunk-3GHTHPZD.js} +8 -1
- package/dist/studio/chunk-3GHTHPZD.js.map +1 -0
- package/dist/studio/{chunk-H2DUOXTF.js → chunk-G3EDKRZH.js} +3 -3
- package/dist/studio/{chunk-UYWON5AX.js → chunk-PEAKCOUW.js} +7 -3
- package/dist/studio/chunk-PEAKCOUW.js.map +1 -0
- package/dist/studio/{chunk-LOVBLSMR.js → chunk-Y2OHHNM2.js} +35 -19
- package/dist/studio/chunk-Y2OHHNM2.js.map +1 -0
- package/dist/studio/{domEditingLayers-KBTPQKGA.js → domEditingLayers-PYST4G45.js} +3 -3
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +261 -230
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +3 -3
- package/dist/studio/ui.d.ts +4 -5
- package/dist/studio/ui.js +1 -1
- package/dist/{studio-api-SQ3NXFSM.js → studio-api-TQE7KWKO.js} +22 -17
- package/dist/{studioServer-VVEO7XCH.js → studioServer-CYKSQK7L.js} +81 -64
- package/dist/{synthesize-77PTU6C5.js → synthesize-UCI4X5O7.js} +6 -6
- package/dist/{telemetry-FQDKR5XA.js → telemetry-A23PPRD6.js} +3 -3
- package/dist/{timeline-N6ZASFNE.js → timeline-T3QSGT3A.js} +143 -99
- package/dist/{tokens-2OIIBBCW.js → tokens-RT5HWA6C.js} +4 -4
- package/dist/{transcribe-7YTUCXDX.js → transcribe-FOLNOC5G.js} +116 -52
- package/dist/{transcribe-4F6MK73N.js → transcribe-HCF64LQK.js} +23 -20
- package/dist/{tts-TOHSPWEG.js → tts-B6AHFQEO.js} +6 -6
- package/dist/{updateCheck-AZ2COZFR.js → updateCheck-27PIP3AA.js} +2 -2
- package/dist/{upgrade-QAJEYB4X.js → upgrade-TVGXBUPJ.js} +2 -2
- package/dist/{urlDownloader-LSMFEO3R.js → urlDownloader-KBLBJKRL.js} +14 -13
- package/dist/{validate-GW5MDL36.js → validate-ZMYGK4QI.js} +40 -27
- package/dist/{video-PRNOKUK3.js → video-AVE5GIGM.js} +15 -14
- package/package.json +1 -1
- package/dist/chunk-J4UX3RS3.js +0 -3717
- package/dist/studio/assets/hyperframes-player-sAsRuV73.js +0 -473
- package/dist/studio/chunk-LOVBLSMR.js.map +0 -1
- package/dist/studio/chunk-TFLU2MGI.js.map +0 -1
- package/dist/studio/chunk-UYWON5AX.js.map +0 -1
- package/dist/{chunk-HBBJFK6I.js → chunk-APDLWWFG.js} +0 -0
- package/dist/{screenshotCapture-TEUIWXWN.js → screenshotCapture-3JXXUZND.js} +3 -3
- /package/dist/studio/{chunk-H2DUOXTF.js.map → chunk-G3EDKRZH.js.map} +0 -0
- /package/dist/studio/{domEditingLayers-KBTPQKGA.js.map → domEditingLayers-PYST4G45.js.map} +0 -0
package/dist/studio/player.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Player
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-G3EDKRZH.js";
|
|
4
|
+
import "./chunk-Y2OHHNM2.js";
|
|
5
|
+
import "./chunk-3GHTHPZD.js";
|
|
6
6
|
import "./chunk-PZ5AY32C.js";
|
|
7
7
|
export {
|
|
8
8
|
Player
|
package/dist/studio/ui.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ type StyledProps<T extends ElementType> = Omit<ComponentPropsWithoutRef<T>, "cla
|
|
|
115
115
|
/** Forces the settled open look for a gallery shot; CSS-only, open state stays controlled. */
|
|
116
116
|
type PopupPreviewState = "open";
|
|
117
117
|
/** Where the portal puts the popup. `null` keeps it inline, next to its trigger. */
|
|
118
|
-
type PortalContainer
|
|
118
|
+
type PortalContainer = ComponentPropsWithoutRef<typeof Menu$1.Portal>["container"];
|
|
119
119
|
/**
|
|
120
120
|
* Chrome shared by every floating panel (`Popover` too); callers add their own shadow token.
|
|
121
121
|
*/
|
|
@@ -125,8 +125,8 @@ interface PositionedProps {
|
|
|
125
125
|
side?: "top" | "bottom" | "left" | "right";
|
|
126
126
|
align?: "start" | "center" | "end";
|
|
127
127
|
sideOffset?: number;
|
|
128
|
-
/** Portal target. Pass the shadow root when the trigger lives in one. */
|
|
129
|
-
container?: PortalContainer
|
|
128
|
+
/** Portal target. Pass the shadow root when the trigger lives in one; `null` keeps it inline. */
|
|
129
|
+
container?: PortalContainer;
|
|
130
130
|
/** Names the popup for assistive tech. A menu with no name is unlabelled. */
|
|
131
131
|
"aria-label"?: string;
|
|
132
132
|
className?: string;
|
|
@@ -174,7 +174,6 @@ declare function MenuRadioItem({ className, children, ...props }: MenuRadioItemP
|
|
|
174
174
|
/** A hairline between two groups of items. */
|
|
175
175
|
declare function MenuSeparator({ className, ...props }: StyledProps<typeof Menu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
176
176
|
|
|
177
|
-
type PortalContainer = ComponentPropsWithoutRef<typeof Popover$1.Portal>["container"];
|
|
178
177
|
interface PopoverProps extends Omit<ComponentPropsWithoutRef<typeof Popover$1.Root>, "children"> {
|
|
179
178
|
/** A single element. It becomes the trigger; no wrapper is added around it. */
|
|
180
179
|
trigger: ReactElement;
|
|
@@ -185,7 +184,7 @@ interface PopoverProps extends Omit<ComponentPropsWithoutRef<typeof Popover$1.Ro
|
|
|
185
184
|
sideOffset?: number;
|
|
186
185
|
/** Points the popup at its trigger. Off by default; the default gap from the trigger grows by the arrow's height. */
|
|
187
186
|
arrow?: boolean;
|
|
188
|
-
/** Portal target. Pass the shadow root when the trigger lives in one. */
|
|
187
|
+
/** Portal target. Pass the shadow root when the trigger lives in one; `null` keeps it inline. */
|
|
189
188
|
container?: PortalContainer;
|
|
190
189
|
/** Names the popup for assistive tech. */
|
|
191
190
|
"aria-label"?: string;
|
package/dist/studio/ui.js
CHANGED
|
@@ -20,10 +20,9 @@ import {
|
|
|
20
20
|
duplicateElementInHtml,
|
|
21
21
|
getElementScreenshotClip,
|
|
22
22
|
getMimeType,
|
|
23
|
-
requestSubPath,
|
|
24
23
|
stampProjectHfIds,
|
|
25
24
|
thumbnailDeviceScaleFactor
|
|
26
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XGFHYAYN.js";
|
|
27
26
|
import {
|
|
28
27
|
dedupeClonedCompositionId,
|
|
29
28
|
findTargetElement,
|
|
@@ -31,7 +30,7 @@ import {
|
|
|
31
30
|
patchElementInHtml,
|
|
32
31
|
removeElementFromHtml,
|
|
33
32
|
splitElementInHtml
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YJXHMIZA.js";
|
|
35
34
|
import {
|
|
36
35
|
DEFAULT_HISTORY_ROOT,
|
|
37
36
|
DELETED_VERSION,
|
|
@@ -53,11 +52,13 @@ import {
|
|
|
53
52
|
pruneGoneProjectHistories,
|
|
54
53
|
settledFileTag
|
|
55
54
|
} from "./chunk-QZ3AZTXI.js";
|
|
56
|
-
import
|
|
55
|
+
import {
|
|
56
|
+
requestSubPath
|
|
57
|
+
} from "./chunk-DDIVWXN7.js";
|
|
57
58
|
import {
|
|
58
59
|
CACHE_DIR_NAME,
|
|
59
60
|
cleanupProxyCache
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZOA2SC4P.js";
|
|
61
62
|
import {
|
|
62
63
|
STUDIO_MOTION_PATH,
|
|
63
64
|
createStudioMotionRenderBodyScript,
|
|
@@ -71,28 +72,31 @@ import {
|
|
|
71
72
|
createStudioPositionSeekReapplyScript
|
|
72
73
|
} from "./chunk-KC5XXX3X.js";
|
|
73
74
|
import "./chunk-TJSTGSAW.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-DPVXBVLL.js";
|
|
79
|
-
import "./chunk-J4UX3RS3.js";
|
|
75
|
+
import "./chunk-OUSLVRO4.js";
|
|
76
|
+
import "./chunk-NE55C6S5.js";
|
|
77
|
+
import "./chunk-3VYNNWVA.js";
|
|
78
|
+
import "./chunk-WJB7WI4J.js";
|
|
80
79
|
import "./chunk-VC76R6W2.js";
|
|
81
80
|
import "./chunk-YA62XGXS.js";
|
|
81
|
+
import "./chunk-MQZVBHEY.js";
|
|
82
82
|
import {
|
|
83
83
|
isSafePath
|
|
84
84
|
} from "./chunk-OFQWTKPW.js";
|
|
85
|
+
import "./chunk-DPVXBVLL.js";
|
|
85
86
|
import "./chunk-T76PLPD6.js";
|
|
86
87
|
import "./chunk-FXMKHHPO.js";
|
|
87
88
|
import "./chunk-RQVDTPGD.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-IEIJRMLZ.js";
|
|
90
|
+
import "./chunk-IWFLMU2N.js";
|
|
91
|
+
import "./chunk-APDLWWFG.js";
|
|
91
92
|
import "./chunk-PJ3HDUCY.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import
|
|
93
|
+
import "./chunk-3RM2ETQT.js";
|
|
94
|
+
import {
|
|
95
|
+
decodeWellFormedEscapes
|
|
96
|
+
} from "./chunk-BSQ7XANM.js";
|
|
97
|
+
import "./chunk-SDYDNHEE.js";
|
|
94
98
|
import "./chunk-2PSPARWP.js";
|
|
95
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-T42U2W2R.js";
|
|
96
100
|
import "./chunk-M2WBOQ2Q.js";
|
|
97
101
|
export {
|
|
98
102
|
DEFAULT_HISTORY_ROOT,
|
|
@@ -125,6 +129,7 @@ export {
|
|
|
125
129
|
createStudioManualEditsRenderBodyScript,
|
|
126
130
|
createStudioMotionRenderBodyScript,
|
|
127
131
|
createStudioPositionSeekReapplyScript,
|
|
132
|
+
decodeWellFormedEscapes,
|
|
128
133
|
dedupeClonedCompositionId,
|
|
129
134
|
duplicateElementInHtml,
|
|
130
135
|
fileContentVersion,
|
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
seekCompositionTimeline
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SLCFKB3Y.js";
|
|
10
|
+
import "./chunk-FH7WODJH.js";
|
|
11
|
+
import "./chunk-5WADG7PR.js";
|
|
12
12
|
import {
|
|
13
13
|
renderJobObservabilityTelemetryPayload,
|
|
14
14
|
renderObservabilityTelemetryPayload
|
|
15
15
|
} from "./chunk-VXVRPIJA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GZM2EFOE.js";
|
|
17
|
+
import "./chunk-WPNE5NEP.js";
|
|
18
18
|
import {
|
|
19
19
|
HANDOFF_READY,
|
|
20
20
|
desktopDownloadUrl,
|
|
21
21
|
desktopInstalled,
|
|
22
22
|
openInDesktop
|
|
23
23
|
} from "./chunk-EDUBJPGL.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-K2FLNJVB.js";
|
|
25
25
|
import {
|
|
26
26
|
PREVIEW_BUNDLE_OPTIONS,
|
|
27
27
|
affectsPreview,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
getMimeType,
|
|
35
35
|
stampProjectHfIds,
|
|
36
36
|
thumbnailDeviceScaleFactor
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-XGFHYAYN.js";
|
|
38
|
+
import "./chunk-YJXHMIZA.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_HISTORY_ROOT,
|
|
41
41
|
DELETED_VERSION,
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
identifyFileWrite,
|
|
50
50
|
openProjectHistory
|
|
51
51
|
} from "./chunk-QZ3AZTXI.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-DDIVWXN7.js";
|
|
53
|
+
import "./chunk-ZOA2SC4P.js";
|
|
54
54
|
import "./chunk-G75ENCEZ.js";
|
|
55
55
|
import "./chunk-DCAI5DBR.js";
|
|
56
56
|
import {
|
|
@@ -59,34 +59,35 @@ import {
|
|
|
59
59
|
} from "./chunk-EOVYQ3IG.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveCaptureBrowserGpuMode,
|
|
62
|
-
resolveLocalBrowserGpuMode
|
|
63
|
-
|
|
62
|
+
resolveLocalBrowserGpuMode,
|
|
63
|
+
resolveLocalWebGpu
|
|
64
|
+
} from "./chunk-7SDCIWHQ.js";
|
|
64
65
|
import {
|
|
65
66
|
resolveRenderBrowser
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-DIRJ322I.js";
|
|
68
|
+
import "./chunk-442JNXRM.js";
|
|
68
69
|
import {
|
|
69
70
|
resolveAutoProxy
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-JEHFZQYT.js";
|
|
71
72
|
import "./chunk-XT7X6QCP.js";
|
|
72
73
|
import "./chunk-4YYJOFKS.js";
|
|
73
74
|
import "./chunk-HVW7ABXD.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-AUBOF2PN.js";
|
|
76
|
+
import "./chunk-54QISXOC.js";
|
|
77
|
+
import "./chunk-I5KY7EZP.js";
|
|
77
78
|
import "./chunk-AWDFDFI3.js";
|
|
78
79
|
import "./chunk-P6LJ4Y32.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-ZEUONDQG.js";
|
|
80
81
|
import "./chunk-374QQGBQ.js";
|
|
81
82
|
import {
|
|
82
83
|
trackRenderComplete,
|
|
83
84
|
trackRenderError
|
|
84
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-RG3QWWIE.js";
|
|
85
86
|
import {
|
|
86
87
|
canaryDecisionsForStudio,
|
|
87
88
|
resetTelemetryPostureCache,
|
|
88
89
|
shouldTrack
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XU5GGV6R.js";
|
|
90
91
|
import "./chunk-VWG7OQKU.js";
|
|
91
92
|
import {
|
|
92
93
|
bytesToMb,
|
|
@@ -103,39 +104,40 @@ import "./chunk-TJSTGSAW.js";
|
|
|
103
104
|
import {
|
|
104
105
|
assertWebGpuAdapterAvailable,
|
|
105
106
|
compositionRequiresWebGpu
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
107
|
+
} from "./chunk-5VMR4WBS.js";
|
|
108
|
+
import "./chunk-OUSLVRO4.js";
|
|
109
|
+
import "./chunk-NE55C6S5.js";
|
|
109
110
|
import "./chunk-USDEMXXL.js";
|
|
110
111
|
import {
|
|
111
112
|
fpsToNumber
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-DPVXBVLL.js";
|
|
115
|
-
import "./chunk-J4UX3RS3.js";
|
|
113
|
+
} from "./chunk-3VYNNWVA.js";
|
|
114
|
+
import "./chunk-WJB7WI4J.js";
|
|
116
115
|
import "./chunk-VC76R6W2.js";
|
|
117
116
|
import "./chunk-YA62XGXS.js";
|
|
117
|
+
import "./chunk-MQZVBHEY.js";
|
|
118
118
|
import {
|
|
119
119
|
realpath
|
|
120
120
|
} from "./chunk-OFQWTKPW.js";
|
|
121
|
+
import "./chunk-DPVXBVLL.js";
|
|
121
122
|
import "./chunk-T76PLPD6.js";
|
|
122
123
|
import "./chunk-FXMKHHPO.js";
|
|
123
124
|
import "./chunk-RQVDTPGD.js";
|
|
124
|
-
import "./chunk-
|
|
125
|
+
import "./chunk-A6S35NYA.js";
|
|
125
126
|
import {
|
|
126
127
|
runRenderSetupWorker
|
|
127
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-BYSBRF24.js";
|
|
128
129
|
import "./chunk-TWWSYAKJ.js";
|
|
129
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-IEIJRMLZ.js";
|
|
130
131
|
import {
|
|
131
132
|
isWithinProjectRoot
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-
|
|
133
|
+
} from "./chunk-IWFLMU2N.js";
|
|
134
|
+
import "./chunk-APDLWWFG.js";
|
|
134
135
|
import "./chunk-PJ3HDUCY.js";
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-3RM2ETQT.js";
|
|
137
|
+
import "./chunk-BSQ7XANM.js";
|
|
138
|
+
import "./chunk-SDYDNHEE.js";
|
|
137
139
|
import "./chunk-2PSPARWP.js";
|
|
138
|
-
import "./chunk-
|
|
140
|
+
import "./chunk-T42U2W2R.js";
|
|
139
141
|
import "./chunk-K4WIOZFP.js";
|
|
140
142
|
import {
|
|
141
143
|
readConfig,
|
|
@@ -147,7 +149,7 @@ import {
|
|
|
147
149
|
} from "./chunk-ISN5GRYI.js";
|
|
148
150
|
import {
|
|
149
151
|
VERSION
|
|
150
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-4OC7MQNB.js";
|
|
151
153
|
import "./chunk-KNU5COPB.js";
|
|
152
154
|
import "./chunk-3GXQPCJC.js";
|
|
153
155
|
import "./chunk-ZTZA4UWZ.js";
|
|
@@ -355,7 +357,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
355
357
|
async function buildFromSource() {
|
|
356
358
|
if (!existsSync(ENTRY_TS)) return null;
|
|
357
359
|
try {
|
|
358
|
-
const mod = await import("./dist-
|
|
360
|
+
const mod = await import("./dist-YPWQDWJ4.js");
|
|
359
361
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
360
362
|
const source = mod.loadHyperframeRuntimeSource();
|
|
361
363
|
if (source) return source;
|
|
@@ -366,7 +368,7 @@ async function buildFromSource() {
|
|
|
366
368
|
}
|
|
367
369
|
async function getInlinedRuntime() {
|
|
368
370
|
try {
|
|
369
|
-
const mod = await import("./dist-
|
|
371
|
+
const mod = await import("./dist-YPWQDWJ4.js");
|
|
370
372
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
371
373
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
372
374
|
}
|
|
@@ -709,13 +711,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
709
711
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
710
712
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
711
713
|
async function loadStudioProducer() {
|
|
712
|
-
if (!isDevMode()) return await import("./src-
|
|
714
|
+
if (!isDevMode()) return await import("./src-FS5RSVEI.js");
|
|
713
715
|
if (!process.versions.bun) {
|
|
714
716
|
throw new Error(
|
|
715
717
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
716
718
|
);
|
|
717
719
|
}
|
|
718
|
-
return await import("./src-
|
|
720
|
+
return await import("./src-FS5RSVEI.js");
|
|
719
721
|
}
|
|
720
722
|
function resolveDistDir() {
|
|
721
723
|
return resolveStudioBundle().dir;
|
|
@@ -817,7 +819,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
817
819
|
return {
|
|
818
820
|
browser: _thumbnailBrowserLease.browser,
|
|
819
821
|
requestedGpuMode: _thumbnailBrowserModes.requested,
|
|
820
|
-
resolvedGpuMode: _thumbnailBrowserModes.resolved
|
|
822
|
+
resolvedGpuMode: _thumbnailBrowserModes.resolved,
|
|
823
|
+
softwareWebGpu: _thumbnailBrowserModes.softwareWebGpu
|
|
821
824
|
};
|
|
822
825
|
}
|
|
823
826
|
if (_thumbnailBrowserInitializing) {
|
|
@@ -828,8 +831,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
828
831
|
_thumbnailBrowserInitializing = (async () => {
|
|
829
832
|
try {
|
|
830
833
|
if (isShuttingDown()) return null;
|
|
831
|
-
const { ensureBrowser } = await import("./manager-
|
|
832
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
834
|
+
const { ensureBrowser } = await import("./manager-BPSR6D3V.js");
|
|
835
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-VUJ2FUFK.js");
|
|
833
836
|
let executablePath;
|
|
834
837
|
try {
|
|
835
838
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -840,22 +843,32 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
840
843
|
} catch {
|
|
841
844
|
}
|
|
842
845
|
const resolvedGpuMode = await resolveCaptureBrowserGpuMode(requestedGpuMode, executablePath);
|
|
846
|
+
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, true);
|
|
843
847
|
const acquired = await acquireBrowser(
|
|
844
848
|
buildChromeArgs(
|
|
845
|
-
{
|
|
846
|
-
|
|
849
|
+
{
|
|
850
|
+
width: 1920,
|
|
851
|
+
height: 1080,
|
|
852
|
+
captureMode: "screenshot",
|
|
853
|
+
requiresWebGpu: softwareWebGpu
|
|
854
|
+
},
|
|
855
|
+
gpuConfig
|
|
847
856
|
),
|
|
848
857
|
{ forceScreenshot: true }
|
|
849
858
|
);
|
|
850
859
|
_thumbnailBrowserLease = acquired;
|
|
851
|
-
_thumbnailBrowserModes = {
|
|
860
|
+
_thumbnailBrowserModes = {
|
|
861
|
+
requested: requestedGpuMode,
|
|
862
|
+
resolved: resolvedGpuMode,
|
|
863
|
+
softwareWebGpu
|
|
864
|
+
};
|
|
852
865
|
acquired.browser.on("disconnected", () => {
|
|
853
866
|
if (_thumbnailBrowserLease !== acquired) return;
|
|
854
867
|
_thumbnailBrowserLease = null;
|
|
855
868
|
_thumbnailBrowserModes = null;
|
|
856
869
|
_thumbnailBrowserInitializing = null;
|
|
857
870
|
});
|
|
858
|
-
return { browser: acquired.browser, requestedGpuMode, resolvedGpuMode };
|
|
871
|
+
return { browser: acquired.browser, requestedGpuMode, resolvedGpuMode, softwareWebGpu };
|
|
859
872
|
} catch (err) {
|
|
860
873
|
console.warn(
|
|
861
874
|
"[Studio] Failed to launch thumbnail browser:",
|
|
@@ -979,7 +992,7 @@ function createStudioServer(options) {
|
|
|
979
992
|
resolveProject: (id) => id === projectId ? project : null,
|
|
980
993
|
async bundle(dir, options2) {
|
|
981
994
|
try {
|
|
982
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
995
|
+
const { bundleToSingleHtml } = await import("./compiler-JZ4GNFMG.js");
|
|
983
996
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
984
997
|
html = html.replace(
|
|
985
998
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -992,9 +1005,9 @@ function createStudioServer(options) {
|
|
|
992
1005
|
}
|
|
993
1006
|
},
|
|
994
1007
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
995
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
996
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
997
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1008
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-U2BIMGPG.js");
|
|
1009
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-JTOHIWI4.js");
|
|
1010
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-KBLBJKRL.js");
|
|
998
1011
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
999
1012
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1000
1013
|
const prepared = await prepareAnimatedGifInputs(html, {
|
|
@@ -1018,7 +1031,7 @@ function createStudioServer(options) {
|
|
|
1018
1031
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1019
1032
|
},
|
|
1020
1033
|
async lint(html, opts) {
|
|
1021
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1034
|
+
const { lintHyperframeHtml } = await import("./dist-KDJTFJHA.js");
|
|
1022
1035
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1023
1036
|
},
|
|
1024
1037
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1135,7 +1148,7 @@ function createStudioServer(options) {
|
|
|
1135
1148
|
startBackgroundRemoval(opts) {
|
|
1136
1149
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1137
1150
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1138
|
-
const pipeline = await import("./pipeline-
|
|
1151
|
+
const pipeline = await import("./pipeline-TXKPLL2U.js").catch(
|
|
1139
1152
|
() => import(sourcePipelinePath)
|
|
1140
1153
|
);
|
|
1141
1154
|
return pipeline.render(renderOpts);
|
|
@@ -1164,7 +1177,11 @@ function createStudioServer(options) {
|
|
|
1164
1177
|
async (page) => {
|
|
1165
1178
|
await page.setViewport(viewport);
|
|
1166
1179
|
await page.goto(opts.previewUrl, { waitUntil: "domcontentloaded", timeout: 1e4 });
|
|
1167
|
-
await assertWebGpuAdapterAvailable(
|
|
1180
|
+
await assertWebGpuAdapterAvailable(
|
|
1181
|
+
page,
|
|
1182
|
+
requiresWebGpu,
|
|
1183
|
+
requiresWebGpu && session.softwareWebGpu
|
|
1184
|
+
);
|
|
1168
1185
|
await page.waitForFunction(
|
|
1169
1186
|
() => {
|
|
1170
1187
|
const w = window;
|
|
@@ -1216,8 +1233,8 @@ function createStudioServer(options) {
|
|
|
1216
1233
|
}
|
|
1217
1234
|
},
|
|
1218
1235
|
async listRegistryCatalog() {
|
|
1219
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1220
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1236
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-W7AYCQGS.js");
|
|
1237
|
+
const { loadProjectConfig } = await import("./projectConfig-FGGVG5MV.js");
|
|
1221
1238
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1222
1239
|
const entries = await listRegistryItems(void 0, registry);
|
|
1223
1240
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1226,9 +1243,9 @@ function createStudioServer(options) {
|
|
|
1226
1243
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1227
1244
|
},
|
|
1228
1245
|
async installRegistryBlock(opts) {
|
|
1229
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1230
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1231
|
-
const { registryTargetPath } = await import("./publication-
|
|
1246
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-CWRTVGDB.js");
|
|
1247
|
+
const { recordRewrittenInstall } = await import("./installer-T2BSSUDY.js");
|
|
1248
|
+
const { registryTargetPath } = await import("./publication-TXFBMW6B.js");
|
|
1232
1249
|
const { result, item } = await addToProject({
|
|
1233
1250
|
name: opts.blockName,
|
|
1234
1251
|
projectDir: opts.project.dir,
|
|
@@ -1329,8 +1346,8 @@ function createStudioServer(options) {
|
|
|
1329
1346
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1330
1347
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1331
1348
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1332
|
-
import("./preflight-
|
|
1333
|
-
import("./ffmpeg-
|
|
1349
|
+
import("./preflight-B4AFK3RG.js"),
|
|
1350
|
+
import("./ffmpeg-T5SH2EFJ.js")
|
|
1334
1351
|
]);
|
|
1335
1352
|
const { outcomes } = await runEnvironmentChecks();
|
|
1336
1353
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1349,7 +1366,7 @@ function createStudioServer(options) {
|
|
|
1349
1366
|
mountDesktopRoutes(app, projectDir);
|
|
1350
1367
|
let cachedFFmpegPath;
|
|
1351
1368
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1352
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1369
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-T5SH2EFJ.js");
|
|
1353
1370
|
if (!cachedFFmpegPath) {
|
|
1354
1371
|
cachedFFmpegPath = findFFmpeg();
|
|
1355
1372
|
}
|
|
@@ -1465,7 +1482,7 @@ function createStudioServer(options) {
|
|
|
1465
1482
|
});
|
|
1466
1483
|
const renders = [...inFlightRenders];
|
|
1467
1484
|
for (const [abortController] of renders) abortController.abort();
|
|
1468
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1485
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-VUJ2FUFK.js");
|
|
1469
1486
|
killTrackedProcesses();
|
|
1470
1487
|
const closeBrowsers = Promise.allSettled([
|
|
1471
1488
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -4,20 +4,20 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
findPython,
|
|
9
|
-
hasPythonPackage
|
|
10
|
-
} from "./chunk-5ETJX6WM.js";
|
|
11
7
|
import {
|
|
12
8
|
DEFAULT_VOICE,
|
|
13
9
|
ensureModel,
|
|
14
10
|
ensureVoices,
|
|
15
11
|
inferLangFromVoiceId
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6IIGT7BX.js";
|
|
13
|
+
import {
|
|
14
|
+
findPython,
|
|
15
|
+
hasPythonPackage
|
|
16
|
+
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
writeNewFileSync
|
|
19
19
|
} from "./chunk-4YYJOFKS.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BHVFTYSI.js";
|
|
21
21
|
import "./chunk-M2WBOQ2Q.js";
|
|
22
22
|
|
|
23
23
|
// src/tts/synthesize.ts
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RG3QWWIE.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-XU5GGV6R.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import {
|
|
30
30
|
bytesToMb,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-XUXGIA7H.js";
|
|
48
48
|
import "./chunk-WERLJGIC.js";
|
|
49
49
|
import "./chunk-ISN5GRYI.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-4OC7MQNB.js";
|
|
51
51
|
import "./chunk-KNU5COPB.js";
|
|
52
52
|
import "./chunk-ZTZA4UWZ.js";
|
|
53
53
|
import "./chunk-M2WBOQ2Q.js";
|