hyperframes 0.8.189 → 0.8.191
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-TIKUM2YX.js → add-S2ZQYG52.js} +11 -11
- package/dist/{animatedGifPrep-25X4G5IE.js → animatedGifPrep-3JA2CQ3U.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-TPKLIP4R.js → asset-2CNTAPOC.js} +2 -2
- package/dist/{assetCataloger-PQAIV3FI.js → assetCataloger-5HXLXL7C.js} +6 -6
- package/dist/{audio-6RLPKB5X.js → audio-DZTSYHXS.js} +12 -12
- package/dist/{auth-O7QSTP6Y.js → auth-GX3M6TJ4.js} +1 -1
- package/dist/{autoUpdate-TIEJODP7.js → autoUpdate-EDIWE4Z5.js} +2 -2
- package/dist/{backgroundChecks-K2AXYDYG.js → backgroundChecks-VPUPJ7UI.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ORVWYJAH.js → batchRender-JHIIDBJR.js} +3 -3
- package/dist/{beats-2VTB2ATR.js → beats-PZRVTRYW.js} +4 -4
- package/dist/{benchmark-NLNBL6YR.js → benchmark-22UFDW2N.js} +8 -8
- package/dist/{browser-M5UV6VJB.js → browser-VRDWYIUM.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-EDD2XDS2.js → bundleWithLocalizedFonts-23QDKFSN.js} +2 -2
- package/dist/{capture-WHWEE5FE.js → capture-NFCBXHDE.js} +2 -2
- package/dist/{capture-JSYVNFKO.js → capture-TOCLXYMJ.js} +9 -9
- package/dist/{captureCompositionFrame-JANGQCIA.js → captureCompositionFrame-BEM6MF7F.js} +13 -11
- package/dist/{catalog-MPOOKNSZ.js → catalog-NXS35KM7.js} +11 -11
- package/dist/{catch-up-6KZV3UMZ.js → catch-up-6WJBUI2C.js} +4 -4
- package/dist/{check-G273NWK7.js → check-WVEBMWN5.js} +33 -33
- package/dist/{checkBrowser-G53E2ZQI.js → checkBrowser-RT45HJ36.js} +28 -28
- package/dist/{chunk-ZPMF6GAQ.js → chunk-2WNVHZHA.js} +11 -7
- package/dist/{chunk-TSFA2Y5C.js → chunk-3NRB7YXW.js} +3 -2
- package/dist/{chunk-44TJOEH5.js → chunk-3WJT2JCX.js} +32 -25
- package/dist/{chunk-VRQU564T.js → chunk-3XI7MIZB.js} +1 -1
- package/dist/{chunk-AYBKDHYD.js → chunk-7A65UCMI.js} +1 -1
- package/dist/{chunk-HUG47UEE.js → chunk-7FF36MAD.js} +1 -1
- package/dist/{chunk-6RA4TWGV.js → chunk-7LUJE3II.js} +1 -1
- package/dist/{chunk-GWYMAII7.js → chunk-7NKJS5KM.js} +1 -1
- package/dist/{chunk-37EPEFXM.js → chunk-7ZJEQY7Q.js} +1 -1
- package/dist/{chunk-AQ3L7DVB.js → chunk-ALEF2F5N.js} +2 -2
- package/dist/{chunk-74Y43RJZ.js → chunk-AQB5M53R.js} +3 -3
- package/dist/{chunk-M6FHSQZ3.js → chunk-BFFLKQVB.js} +3 -3
- package/dist/{chunk-CTF7BYCV.js → chunk-CINKQY6M.js} +3 -3
- package/dist/{chunk-BZQLTNMB.js → chunk-COETAXRN.js} +1 -1
- package/dist/{chunk-SGFMCNLY.js → chunk-COWQITWP.js} +1 -1
- package/dist/{chunk-3X6LH25W.js → chunk-CXMXJEVY.js} +1 -1
- package/dist/{chunk-NDBWI7OA.js → chunk-DOOSC34Z.js} +5 -5
- package/dist/{chunk-F45HHA3M.js → chunk-EFCKV7MY.js} +1 -1
- package/dist/{chunk-R5FS7GFU.js → chunk-FBDOHH3Q.js} +1 -1
- package/dist/{chunk-3OLOVRWS.js → chunk-GLG5JWLI.js} +1 -1
- package/dist/{chunk-WYCFMNU3.js → chunk-GM3WIOO6.js} +1 -1
- package/dist/{chunk-FJF5JBYU.js → chunk-HYW6HTAK.js} +1 -1
- package/dist/{chunk-KS4HMJJD.js → chunk-JGTRVG32.js} +1 -1
- package/dist/{chunk-Z2BW2WJS.js → chunk-JJJCFKMF.js} +1 -1
- package/dist/{chunk-4DZ3HBKF.js → chunk-JOLZ3BSL.js} +1 -1
- package/dist/{chunk-IFXOMIBP.js → chunk-JTPHFYZI.js} +3 -3
- package/dist/{chunk-TREMHDWT.js → chunk-JYSSPQDT.js} +56 -21
- package/dist/{chunk-OHXHBMF4.js → chunk-KAC2WR7P.js} +1 -1
- package/dist/{chunk-JZDVIDFH.js → chunk-KGMHMYWI.js} +2 -2
- package/dist/{chunk-2CYM34M7.js → chunk-KHCTBZGJ.js} +3 -3
- package/dist/{chunk-TPTQHOXU.js → chunk-KV72BP7O.js} +9 -9
- package/dist/{chunk-5HJJEHGE.js → chunk-LBNEH6IQ.js} +1 -1
- package/dist/chunk-LM265QNK.js +3896 -0
- package/dist/{chunk-ASZ4IQB4.js → chunk-MSM6VRQ4.js} +2 -2
- package/dist/{chunk-GBT7P3OQ.js → chunk-NJGTNWQY.js} +5 -5
- package/dist/{chunk-HXM2ISEK.js → chunk-NMDUSCCE.js} +377 -233
- package/dist/{chunk-5544QB3U.js → chunk-OV6KHXLX.js} +1 -1
- package/dist/{chunk-QYQ2EYOI.js → chunk-RE3EEBWC.js} +3 -3
- package/dist/{chunk-XJVXROOL.js → chunk-RQBB7PYT.js} +2 -2
- package/dist/{chunk-TFUAKV6O.js → chunk-RWYUK7LM.js} +1 -1
- package/dist/{chunk-JIPUWKLA.js → chunk-SMEF3TRJ.js} +26 -14
- package/dist/{chunk-CSYSEPWL.js → chunk-T5YF32WV.js} +5 -5
- package/dist/{chunk-B634ZCY2.js → chunk-TADJOIFW.js} +1 -1
- package/dist/{chunk-IPEP346Y.js → chunk-TFGO5YMI.js} +1 -1
- package/dist/{chunk-HQIFMCQN.js → chunk-TFMZ4RKM.js} +85 -38
- package/dist/{chunk-565X6Q4X.js → chunk-TJKE4EYX.js} +16 -8
- package/dist/{chunk-WMJJCHVQ.js → chunk-TRZVS6TL.js} +2 -2
- package/dist/{chunk-NSJ5HD6A.js → chunk-U5GTDAQL.js} +5 -5
- package/dist/{chunk-4QFKGRTB.js → chunk-UNR3P7IF.js} +2 -2
- package/dist/{chunk-SMF6YAUL.js → chunk-VYQYVYQ5.js} +2 -2
- package/dist/{chunk-T37XXYRK.js → chunk-W3CS2KFV.js} +1 -1
- package/dist/{chunk-KLWUB37U.js → chunk-WHAEJX26.js} +7 -7
- package/dist/{chunk-ANYBRVPF.js → chunk-WJEVUPVD.js} +1 -1
- package/dist/{chunk-QMFI4N7J.js → chunk-WQ3X5OH4.js} +1 -1
- package/dist/{chunk-HNMDLKA4.js → chunk-WY3TQ2PT.js} +1 -1
- package/dist/{chunk-B52BJM5K.js → chunk-XMSQRDAK.js} +2 -2
- package/dist/{chunk-E7TI5PAQ.js → chunk-XWOCXIKR.js} +1 -1
- package/dist/{chunk-E676Y7AY.js → chunk-ZHKUIC7X.js} +42 -14
- package/dist/{clean-PS4VYGQ6.js → clean-3VIU2BSK.js} +14 -14
- package/dist/cli.js +53 -53
- package/dist/{cloud-E47CE5VQ.js → cloud-NA3J4XW2.js} +4 -4
- package/dist/{cloudrun-3J4SQBXE.js → cloudrun-4MHOF7UT.js} +4 -4
- package/dist/commands/layout-audit.browser.js +64 -3
- package/dist/{compare-EAKHXBDO.js → compare-ZR7XRPPT.js} +29 -26
- package/dist/{compiler-23MT6CX6.js → compiler-MA2ELZPG.js} +3 -3
- package/dist/{component-QBOXYJJS.js → component-ZJSOPUAM.js} +3 -3
- package/dist/{compositions-QC3EO3MJ.js → compositions-WA5V2SHF.js} +10 -10
- package/dist/{delete-TXEOLPC6.js → delete-UC427UEA.js} +2 -2
- package/dist/{deploy-3B3WJ6PM.js → deploy-B5UO4UIK.js} +1 -1
- package/dist/{dist-F4UJFK4S.js → dist-BPK37SAB.js} +2 -2
- package/dist/{dist-JH32CBQL.js → dist-XGPSPKKP.js} +1 -1
- package/dist/docs/rendering.md +2 -2
- package/dist/{doctor-2CRFH4B3.js → doctor-ZERCTKEK.js} +10 -10
- package/dist/{events-GUIOSBIB.js → events-CNIXB2QK.js} +3 -3
- package/dist/{events-KVTX3QFV.js → events-DCOZQERS.js} +2 -2
- package/dist/{feedback-VQIOSTIB.js → feedback-YBD5ITTY.js} +6 -6
- package/dist/{ffmpeg-BPCZGXFW.js → ffmpeg-V4BBFDTG.js} +6 -6
- package/dist/{figma-QIOKCH26.js → figma-Z45ZYVGE.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-TU45SNXF.js → get-23NXQWCD.js} +2 -2
- package/dist/{gpuPolicy-AWAJBGYY.js → gpuPolicy-H6ABHVEB.js} +6 -6
- package/dist/{grade-compare-LDNUXX3Q.js → grade-compare-ZPX2G3UV.js} +26 -26
- package/dist/{help-YUCHJKKL.js → help-EP4CDPLO.js} +1 -1
- package/dist/{history-MMHFUMIG.js → history-E5OSXO74.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +61 -61
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-HBHOFSC2.js → info-2HHGSW5H.js} +7 -7
- package/dist/{init-3E4GUXIZ.js → init-ENEG6RZT.js} +26 -26
- package/dist/{inspect-YNUPJVIH.js → inspect-PVQK4E2A.js} +26 -26
- package/dist/{installer-WLCRP33K.js → installer-YGGLEOSF.js} +4 -4
- package/dist/{keyframes-Z47GHCGO.js → keyframes-UWSYS2SL.js} +6 -6
- package/dist/{lambda-CA4PEUO2.js → lambda-L3LPXC2M.js} +7 -7
- package/dist/{layout-YPV6PIKF.js → layout-JVL4QREC.js} +26 -26
- package/dist/{lint-3AVVQ74A.js → lint-JXQ72DDB.js} +7 -7
- package/dist/{lintProject-XM3DLUKG.js → lintProject-F7IC7WY4.js} +1 -1
- package/dist/{list-JH52Y735.js → list-UFMLM3VV.js} +2 -2
- package/dist/{login-G7NPJUAW.js → login-CKGMWQJN.js} +4 -4
- package/dist/{manager-2LSMMZY4.js → manager-U6OP3EXB.js} +7 -7
- package/dist/{media-treatment-BVMMD5EN.js → media-treatment-MFMEWCDY.js} +12 -12
- package/dist/{models-P3TNRVRV.js → models-QA3TJ75Y.js} +10 -10
- package/dist/{motionShot-LK62QHNE.js → motionShot-NV2OPJHD.js} +14 -14
- package/dist/{normalize-audio-Y7BAQ7AR.js → normalize-audio-JWJRUKK2.js} +4 -4
- package/dist/{open-CCFFLAT7.js → open-PTJNDRER.js} +11 -11
- package/dist/{parakeetRunner-N2BWSOSD.js → parakeetRunner-B5FCWWOO.js} +11 -11
- package/dist/{pipeline-3VT2DQGU.js → pipeline-N26NA6ZG.js} +7 -7
- package/dist/{play-G4I5IFHO.js → play-45D6X6TV.js} +17 -17
- package/dist/{preflight-2KU2QLCZ.js → preflight-MFOHPUOI.js} +7 -7
- package/dist/{present-EJ7XHGQO.js → present-IFBUDI4D.js} +13 -13
- package/dist/{preview-O23BYFAY.js → preview-MQRLXQOV.js} +18 -17
- package/dist/{producer-UJQVLKLP.js → producer-2QG7HLAW.js} +1 -1
- package/dist/{projectConfig-QFVIBT37.js → projectConfig-I4FTZXHB.js} +6 -6
- package/dist/{publication-4UYGFB2X.js → publication-3GOFXCGU.js} +2 -2
- package/dist/{publish-MHLVJLCR.js → publish-3B2TZCFH.js} +8 -8
- package/dist/{remove-background-N7AHTZWP.js → remove-background-RK4BJDBF.js} +8 -8
- package/dist/{render-6HQV4LZJ.js → render-BV6FWFX3.js} +7 -6
- package/dist/{render-EI2ODKOP.js → render-PW3XGS7B.js} +28 -28
- package/dist/{render-CDATEVDJ.js → render-SJ4HFPFU.js} +13 -13
- package/dist/{render-batch-F7HMC7XH.js → render-batch-GKX54O6N.js} +7 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-63DB5JCY.js → resolver-RQJ7CNXD.js} +4 -4
- package/dist/{sherpa-AK3MTPL3.js → sherpa-XZPG7QFF.js} +10 -10
- package/dist/{sites-5PWHAMEG.js → sites-Q2S3DZY4.js} +2 -1
- package/dist/skills/hyperframes/references/captions.md +1 -1
- package/dist/skills/hyperframes/references/motion.md +1 -1
- package/dist/skills/hyperframes-cli/references/cloudrun.md +1 -1
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +0 -8
- package/dist/skills/media-use/audio/references/transcribe.md +2 -2
- package/dist/skills/media-use/references/audio.md +1 -1
- package/dist/{skills-EVIDL7PV.js → skills-EYLB2V6F.js} +5 -5
- package/dist/{skillsUpdateCheck-YCNJYDJO.js → skillsUpdateCheck-TE6K5ROM.js} +3 -3
- package/dist/{snapshot-WSYZKR3C.js → snapshot-FE4T3SCN.js} +48 -33
- package/dist/{src-KTD6WTEV.js → src-SEJ7LNNB.js} +7 -7
- package/dist/{src-YNXBU4ZQ.js → src-ZOXSEJCD.js} +5 -5
- package/dist/{staticProjectServer-D2D3BKBP.js → staticProjectServer-LSVIRDRO.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-CkK8Zijf.js → hyperframes-player-Bv9hQ3v7.js} +1 -1
- package/dist/studio/assets/index-CBO8uz7-.css +1 -0
- package/dist/studio/assets/{index-B2JcCaRF.js → index-D_QqfWhx.js} +133 -132
- package/dist/studio/assets/{index-ATnRoBug.js → index-Df14bh-L.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-3ZGQPE5J.js → studio-api-SL2Z76NU.js} +7 -7
- package/dist/{studioServer-VWM4J7ZP.js → studioServer-BADWVIHU.js} +44 -44
- package/dist/{telemetry-BEVI64BB.js → telemetry-RN6VYEID.js} +3 -3
- package/dist/{timeline-P57FUXJQ.js → timeline-JBTCIPLU.js} +15 -15
- package/dist/{tokens-OUQY6LPD.js → tokens-A7V7UHNK.js} +2 -2
- package/dist/{transcribe-CK66VIU4.js → transcribe-E4BOSNM4.js} +9 -9
- package/dist/{transcribe-QUPX67KC.js → transcribe-NTUCJGFI.js} +16 -16
- package/dist/{updateCheck-XZ43CH3L.js → updateCheck-M7UAYLUR.js} +2 -2
- package/dist/{upgrade-7QQNGI7I.js → upgrade-A2COSIMB.js} +2 -2
- package/dist/{urlDownloader-ESAEL6YX.js → urlDownloader-MBSQYART.js} +5 -5
- package/dist/{validate-5GZ6KFRU.js → validate-NODZYBHY.js} +20 -20
- package/dist/{video-AQNVR6PE.js → video-LBCUUYK7.js} +6 -6
- package/dist/warmCheck.js +33 -33
- package/package.json +1 -1
- package/dist/chunk-BPX7LZG6.js +0 -3896
- package/dist/studio/assets/index-CESvLzz0.css +0 -1
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WJEVUPVD.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JJJCFKMF.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3XI7MIZB.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TRZVS6TL.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LBNEH6IQ.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TFGO5YMI.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GM3WIOO6.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -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-MSM6VRQ4.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NMDUSCCE.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-ZOXSEJCD.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-CNIXB2QK.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KV72BP7O.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SMEF3TRJ.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T5YF32WV.js";
|
|
19
19
|
import {
|
|
20
20
|
artifactDirectory,
|
|
21
21
|
finishSnapshotRun
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
proxyVariantFor,
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-COETAXRN.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIT_SEEK_OPTIONS,
|
|
33
33
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,21 +41,26 @@ import {
|
|
|
41
41
|
seekCompositionTimeline,
|
|
42
42
|
seekInPage,
|
|
43
43
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JYSSPQDT.js";
|
|
45
45
|
import {
|
|
46
46
|
BrowserCleanupError,
|
|
47
47
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WY3TQ2PT.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-COWQITWP.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JJJCFKMF.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-KNU5COPB.js";
|
|
58
58
|
|
|
59
|
+
// src/utils/checkProgress.ts
|
|
60
|
+
function logCheckProgress(stage, done, total) {
|
|
61
|
+
console.error(`[hyperframes] check: ${stage} ${done}/${total}`);
|
|
62
|
+
}
|
|
63
|
+
|
|
59
64
|
// src/utils/checkMotionBlur.ts
|
|
60
65
|
var OFF_HINTS = {
|
|
61
66
|
"accelerated-canvas": "html-in-canvas captures WebGL/WebGPU frozen, in sub-compositions too: render that effect separately or flatten it out of the page, or drop data-motion-blur on this composition",
|
|
@@ -66,6 +71,7 @@ var OFF_HINTS = {
|
|
|
66
71
|
"root-blend-mode": "set mix-blend-mode on a child element instead of the composition root, or drop motion blur",
|
|
67
72
|
"nested-capture-canvas": "remove the inner <canvas layoutsubtree> / content=drawable, or drop motion blur"
|
|
68
73
|
};
|
|
74
|
+
var CHOSEN = /* @__PURE__ */ new Set(["translation-only", "tier-attribute"]);
|
|
69
75
|
var GENERIC_OFF_HINT = "remove what the reason names, or drop data-motion-blur";
|
|
70
76
|
var ASKED = 'data-motion-blur="on" is set but';
|
|
71
77
|
function motionBlurDrafts(probe) {
|
|
@@ -75,8 +81,8 @@ function motionBlurDrafts(probe) {
|
|
|
75
81
|
{
|
|
76
82
|
code: "motion_blur_unverified",
|
|
77
83
|
severity: "info",
|
|
78
|
-
message: `${ASKED} blur
|
|
79
|
-
fixHint: "the check browser has no html-in-canvas (drawElementImage); render once to see
|
|
84
|
+
message: `${ASKED} the check browser cannot run capture blur, so it was drawn with the filter fallback`,
|
|
85
|
+
fixHint: "the check browser has no html-in-canvas (drawElementImage); render once to see how capture blur looks",
|
|
80
86
|
time: 0
|
|
81
87
|
}
|
|
82
88
|
];
|
|
@@ -92,6 +98,17 @@ function motionBlurDrafts(probe) {
|
|
|
92
98
|
}
|
|
93
99
|
];
|
|
94
100
|
}
|
|
101
|
+
if (probe.tier === "filter" && probe.movers > 0 && !CHOSEN.has(probe.reasonCode ?? "")) {
|
|
102
|
+
return [
|
|
103
|
+
{
|
|
104
|
+
code: "motion_blur_filter_fallback",
|
|
105
|
+
severity: "info",
|
|
106
|
+
message: `data-motion-blur="on" is drawn by the filter fallback: ${probe.reason ?? "capture blur cannot run here"}`,
|
|
107
|
+
fixHint: `the fallback smears movement but only softens zoom and rotation; ${OFF_HINTS[probe.reasonCode ?? ""] ?? GENERIC_OFF_HINT}`,
|
|
108
|
+
time: 0
|
|
109
|
+
}
|
|
110
|
+
];
|
|
111
|
+
}
|
|
95
112
|
if (probe.movers === 0) {
|
|
96
113
|
return [
|
|
97
114
|
{
|
|
@@ -115,10 +132,12 @@ function readMotionBlurProbe() {
|
|
|
115
132
|
const reason = Reflect.get(report, "reason");
|
|
116
133
|
const code = Reflect.get(report, "reasonCode");
|
|
117
134
|
const movers = Reflect.get(report, "movers");
|
|
135
|
+
const tier = Reflect.get(report, "tier");
|
|
118
136
|
const suspend = Reflect.get(api, "suspend");
|
|
119
137
|
if (typeof suspend === "function") Reflect.apply(suspend, api, []);
|
|
120
138
|
return {
|
|
121
139
|
state: Reflect.get(report, "state") === "off" ? "off" : "on",
|
|
140
|
+
tier: tier === "capture" || tier === "filter" ? tier : null,
|
|
122
141
|
reason: typeof reason === "string" ? reason : null,
|
|
123
142
|
reasonCode: typeof code === "string" ? code : null,
|
|
124
143
|
movers: typeof movers === "number" ? movers : 0
|
|
@@ -204,6 +223,8 @@ function tweenTailMessage(tail) {
|
|
|
204
223
|
function collectTweenRecords() {
|
|
205
224
|
const NOT_PROPERTIES = /* @__PURE__ */ new Set([
|
|
206
225
|
"duration",
|
|
226
|
+
"force3D",
|
|
227
|
+
"autoRound",
|
|
207
228
|
"delay",
|
|
208
229
|
"ease",
|
|
209
230
|
"repeat",
|
|
@@ -368,7 +389,7 @@ function proxyFailedDraft(message) {
|
|
|
368
389
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
369
390
|
}
|
|
370
391
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
371
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
392
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-23QDKFSN.js");
|
|
372
393
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
373
394
|
deadline?.enter("copies");
|
|
374
395
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
@@ -415,7 +436,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
415
436
|
await waitForPreferredSeekTarget(page);
|
|
416
437
|
const rootAnchor = await resolveRootAnchor(page);
|
|
417
438
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
418
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
439
|
+
const { analyzeClipMediaFit } = await import("./src-ZOXSEJCD.js");
|
|
419
440
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
420
441
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
421
442
|
}
|
|
@@ -427,7 +448,14 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
427
448
|
drafts.push(...blur);
|
|
428
449
|
const sampleLog = sampleWindow(drafts);
|
|
429
450
|
const driver = createPageDriver(page, clock, sampleLog);
|
|
430
|
-
const result = await runGrid(
|
|
451
|
+
const result = await runGrid(
|
|
452
|
+
driver,
|
|
453
|
+
options,
|
|
454
|
+
motion,
|
|
455
|
+
helpers,
|
|
456
|
+
deadline?.enter,
|
|
457
|
+
logCheckProgress
|
|
458
|
+
);
|
|
431
459
|
helperSession?.stop();
|
|
432
460
|
const helper = await helperOpen?.catch(() => void 0);
|
|
433
461
|
const merged = helper ? mergeHelperDrafts(sampleLog, helper.sampleLog) : drafts;
|
|
@@ -524,7 +552,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
524
552
|
}
|
|
525
553
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
526
554
|
if (requests.length === 0) return [];
|
|
527
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
555
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-23QDKFSN.js");
|
|
528
556
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
529
557
|
const server = await serveStaticProjectHtml(
|
|
530
558
|
project.dir,
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DOOSC34Z.js";
|
|
10
10
|
import "./chunk-Z27A7NUB.js";
|
|
11
11
|
import "./chunk-5ETJX6WM.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TADJOIFW.js";
|
|
13
13
|
import "./chunk-QH3T4WI2.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GLG5JWLI.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-JGTRVG32.js";
|
|
19
|
+
import "./chunk-2WNVHZHA.js";
|
|
20
|
+
import "./chunk-KHCTBZGJ.js";
|
|
21
21
|
import "./chunk-6JR2XUEE.js";
|
|
22
22
|
import "./chunk-EI7FP7F3.js";
|
|
23
23
|
import {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
CACHE_DIR_NAME,
|
|
30
30
|
cleanupProxyCache
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-COETAXRN.js";
|
|
32
32
|
import "./chunk-ALVXFXUG.js";
|
|
33
33
|
import {
|
|
34
34
|
formatBytes
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
directorySizeBytes,
|
|
53
53
|
gcExtractionCache,
|
|
54
54
|
resolveExtractCacheDir
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NMDUSCCE.js";
|
|
56
56
|
import "./chunk-IZCW2NKT.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-GM3WIOO6.js";
|
|
58
58
|
import "./chunk-RQVDTPGD.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-VYQYVYQ5.js";
|
|
60
|
+
import "./chunk-LM265QNK.js";
|
|
61
61
|
import "./chunk-VC76R6W2.js";
|
|
62
62
|
import "./chunk-X7HBSTCZ.js";
|
|
63
63
|
import "./chunk-B2A56S5C.js";
|
|
@@ -71,7 +71,7 @@ import "./chunk-DYAPHNV6.js";
|
|
|
71
71
|
import "./chunk-T6AGUTZJ.js";
|
|
72
72
|
import "./chunk-XT6MXC7A.js";
|
|
73
73
|
import "./chunk-4UMPIPCQ.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-3NRB7YXW.js";
|
|
75
75
|
import "./chunk-VAS6HQX3.js";
|
|
76
76
|
import "./chunk-6BNTGNGD.js";
|
|
77
77
|
import "./chunk-RUOG4VB7.js";
|
|
@@ -83,12 +83,12 @@ import "./chunk-I5JRXMCV.js";
|
|
|
83
83
|
import "./chunk-W2LGJSEN.js";
|
|
84
84
|
import {
|
|
85
85
|
withMeta
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-KAC2WR7P.js";
|
|
87
87
|
import "./chunk-K4WIOZFP.js";
|
|
88
88
|
import "./chunk-XUXGIA7H.js";
|
|
89
89
|
import "./chunk-WERLJGIC.js";
|
|
90
90
|
import "./chunk-ISN5GRYI.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-MSM6VRQ4.js";
|
|
92
92
|
import "./chunk-KNU5COPB.js";
|
|
93
93
|
import "./chunk-KGPLIH7B.js";
|
|
94
94
|
import "./chunk-M2WBOQ2Q.js";
|
package/dist/cli.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-ISN5GRYI.js";
|
|
43
43
|
import {
|
|
44
44
|
VERSION
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MSM6VRQ4.js";
|
|
46
46
|
import "./chunk-M2WBOQ2Q.js";
|
|
47
47
|
|
|
48
48
|
// src/cli.ts
|
|
@@ -92,7 +92,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
92
92
|
}
|
|
93
93
|
async function reportCommandFailure(command2, err) {
|
|
94
94
|
try {
|
|
95
|
-
const { trackCommandFailure } = await import("./events-
|
|
95
|
+
const { trackCommandFailure } = await import("./events-CNIXB2QK.js");
|
|
96
96
|
trackCommandFailure(command2, err);
|
|
97
97
|
} catch {
|
|
98
98
|
}
|
|
@@ -172,55 +172,55 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
var commandLoaders = {
|
|
175
|
-
init: () => import("./init-
|
|
176
|
-
add: () => import("./add-
|
|
177
|
-
catalog: () => import("./catalog-
|
|
175
|
+
init: () => import("./init-ENEG6RZT.js").then((m) => m.default),
|
|
176
|
+
add: () => import("./add-S2ZQYG52.js").then((m) => m.default),
|
|
177
|
+
catalog: () => import("./catalog-NXS35KM7.js").then((m) => m.default),
|
|
178
178
|
"media-use": () => import("./media-use-JBN57JE3.js").then((m) => m.default),
|
|
179
|
-
play: () => import("./play-
|
|
180
|
-
present: () => import("./present-
|
|
181
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
182
|
-
publish: () => import("./publish-
|
|
183
|
-
open: () => import("./open-
|
|
184
|
-
"catch-up": () => import("./catch-up-
|
|
185
|
-
render: () => import("./render-
|
|
186
|
-
lint: () => import("./lint-
|
|
187
|
-
check: () => import("./check-
|
|
188
|
-
beats: () => import("./beats-
|
|
189
|
-
audio: () => import("./audio-
|
|
190
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
191
|
-
inspect: () => import("./inspect-
|
|
192
|
-
keyframes: () => import("./keyframes-
|
|
193
|
-
layout: () => import("./layout-
|
|
194
|
-
info: () => import("./info-
|
|
195
|
-
compositions: () => import("./compositions-
|
|
196
|
-
timeline: () => import("./timeline-
|
|
197
|
-
history: () => import("./history-
|
|
198
|
-
benchmark: () => import("./benchmark-
|
|
199
|
-
browser: () => import("./browser-
|
|
200
|
-
"remove-background": () => import("./remove-background-
|
|
201
|
-
transcribe: () => import("./transcribe-
|
|
179
|
+
play: () => import("./play-45D6X6TV.js").then((m) => m.default),
|
|
180
|
+
present: () => import("./present-IFBUDI4D.js").then((m) => m.default),
|
|
181
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-MQRLXQOV.js").then((m) => m.default)),
|
|
182
|
+
publish: () => import("./publish-3B2TZCFH.js").then((m) => m.default),
|
|
183
|
+
open: () => import("./open-PTJNDRER.js").then((m) => m.default),
|
|
184
|
+
"catch-up": () => import("./catch-up-6WJBUI2C.js").then((m) => m.default),
|
|
185
|
+
render: () => import("./render-PW3XGS7B.js").then((m) => m.default),
|
|
186
|
+
lint: () => import("./lint-JXQ72DDB.js").then((m) => m.default),
|
|
187
|
+
check: () => import("./check-WVEBMWN5.js").then((m) => m.default),
|
|
188
|
+
beats: () => import("./beats-PZRVTRYW.js").then((m) => m.default),
|
|
189
|
+
audio: () => import("./audio-DZTSYHXS.js").then((m) => m.default),
|
|
190
|
+
"normalize-audio": () => import("./normalize-audio-JWJRUKK2.js").then((m) => m.default),
|
|
191
|
+
inspect: () => import("./inspect-PVQK4E2A.js").then((m) => m.default),
|
|
192
|
+
keyframes: () => import("./keyframes-UWSYS2SL.js").then((m) => m.default),
|
|
193
|
+
layout: () => import("./layout-JVL4QREC.js").then((m) => m.default),
|
|
194
|
+
info: () => import("./info-2HHGSW5H.js").then((m) => m.default),
|
|
195
|
+
compositions: () => import("./compositions-WA5V2SHF.js").then((m) => m.default),
|
|
196
|
+
timeline: () => import("./timeline-JBTCIPLU.js").then((m) => m.default),
|
|
197
|
+
history: () => import("./history-E5OSXO74.js").then((m) => m.default),
|
|
198
|
+
benchmark: () => import("./benchmark-22UFDW2N.js").then((m) => m.default),
|
|
199
|
+
browser: () => import("./browser-VRDWYIUM.js").then((m) => m.default),
|
|
200
|
+
"remove-background": () => import("./remove-background-RK4BJDBF.js").then((m) => m.default),
|
|
201
|
+
transcribe: () => import("./transcribe-NTUCJGFI.js").then((m) => m.default),
|
|
202
202
|
usage: () => import("./usage-HG4WMM7A.js").then((m) => m.default),
|
|
203
|
-
models: () => import("./models-
|
|
203
|
+
models: () => import("./models-QA3TJ75Y.js").then((m) => m.default),
|
|
204
204
|
tts: () => import("./tts-A2WILYGN.js").then((m) => m.default),
|
|
205
205
|
docs: () => import("./docs-UEWLIP6D.js").then((m) => m.default),
|
|
206
|
-
doctor: () => import("./doctor-
|
|
207
|
-
clean: () => import("./clean-
|
|
208
|
-
upgrade: () => import("./upgrade-
|
|
209
|
-
skills: () => import("./skills-
|
|
210
|
-
feedback: () => import("./feedback-
|
|
206
|
+
doctor: () => import("./doctor-ZERCTKEK.js").then((m) => m.default),
|
|
207
|
+
clean: () => import("./clean-3VIU2BSK.js").then((m) => m.default),
|
|
208
|
+
upgrade: () => import("./upgrade-A2COSIMB.js").then((m) => m.default),
|
|
209
|
+
skills: () => import("./skills-EYLB2V6F.js").then((m) => m.default),
|
|
210
|
+
feedback: () => import("./feedback-YBD5ITTY.js").then((m) => m.default),
|
|
211
211
|
telemetry: () => import("./telemetry-QG5AANZ4.js").then((m) => m.default),
|
|
212
|
-
events: () => import("./events-
|
|
213
|
-
validate: () => import("./validate-
|
|
214
|
-
snapshot: () => import("./snapshot-
|
|
215
|
-
"media-treatment": () => import("./media-treatment-
|
|
216
|
-
"grade-compare": () => import("./grade-compare-
|
|
217
|
-
compare: () => import("./compare-
|
|
218
|
-
capture: () => import("./capture-
|
|
219
|
-
lambda: () => import("./lambda-
|
|
220
|
-
cloudrun: () => import("./cloudrun-
|
|
221
|
-
cloud: () => import("./cloud-
|
|
222
|
-
auth: () => import("./auth-
|
|
223
|
-
figma: () => import("./figma-
|
|
212
|
+
events: () => import("./events-DCOZQERS.js").then((m) => m.default),
|
|
213
|
+
validate: () => import("./validate-NODZYBHY.js").then((m) => m.default),
|
|
214
|
+
snapshot: () => import("./snapshot-FE4T3SCN.js").then((m) => m.default),
|
|
215
|
+
"media-treatment": () => import("./media-treatment-MFMEWCDY.js").then((m) => m.mediaTreatmentCommand),
|
|
216
|
+
"grade-compare": () => import("./grade-compare-ZPX2G3UV.js").then((m) => m.default),
|
|
217
|
+
compare: () => import("./compare-ZR7XRPPT.js").then((m) => m.default),
|
|
218
|
+
capture: () => import("./capture-NFCBXHDE.js").then((m) => m.default),
|
|
219
|
+
lambda: () => import("./lambda-L3LPXC2M.js").then((m) => m.default),
|
|
220
|
+
cloudrun: () => import("./cloudrun-4MHOF7UT.js").then((m) => m.default),
|
|
221
|
+
cloud: () => import("./cloud-NA3J4XW2.js").then((m) => m.default),
|
|
222
|
+
auth: () => import("./auth-GX3M6TJ4.js").then((m) => m.default),
|
|
223
|
+
figma: () => import("./figma-Z45ZYVGE.js").then((m) => m.default)
|
|
224
224
|
};
|
|
225
225
|
var subCommands = Object.fromEntries(
|
|
226
226
|
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
|
|
@@ -244,7 +244,7 @@ var _printStalePinNotice;
|
|
|
244
244
|
var _printSkillsUpdateNotice;
|
|
245
245
|
var telemetryReady = Promise.resolve();
|
|
246
246
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
247
|
-
telemetryReady = import("./telemetry-
|
|
247
|
+
telemetryReady = import("./telemetry-RN6VYEID.js").then((mod) => {
|
|
248
248
|
_flushSync = mod.flushSync;
|
|
249
249
|
_trackCliError = mod.trackCliError;
|
|
250
250
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -254,23 +254,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
257
|
-
import("./autoUpdate-
|
|
257
|
+
import("./autoUpdate-EDIWE4Z5.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
258
258
|
});
|
|
259
|
-
import("./updateCheck-
|
|
259
|
+
import("./updateCheck-M7UAYLUR.js").then(async (mod) => {
|
|
260
260
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
261
261
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
262
262
|
const result = mod.cachedUpdateCheck();
|
|
263
263
|
if (result.updateAvailable) {
|
|
264
|
-
const auto = await import("./autoUpdate-
|
|
264
|
+
const auto = await import("./autoUpdate-EDIWE4Z5.js").catch(() => null);
|
|
265
265
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
266
266
|
}
|
|
267
267
|
}).catch(() => {
|
|
268
268
|
});
|
|
269
|
-
import("./skillsUpdateCheck-
|
|
269
|
+
import("./skillsUpdateCheck-TE6K5ROM.js").then((mod) => {
|
|
270
270
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
271
271
|
}).catch(() => {
|
|
272
272
|
});
|
|
273
|
-
import("./backgroundChecks-
|
|
273
|
+
import("./backgroundChecks-VPUPJ7UI.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
var _appHistoryNotice = null;
|
|
@@ -391,7 +391,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
391
391
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
392
392
|
});
|
|
393
393
|
async function showUsage(cmd, parent) {
|
|
394
|
-
const { showUsage: impl } = await import("./help-
|
|
394
|
+
const { showUsage: impl } = await import("./help-EP4CDPLO.js");
|
|
395
395
|
return impl(cmd, parent);
|
|
396
396
|
}
|
|
397
397
|
async function showRequestedUsage() {
|
|
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
|
|
|
55
55
|
var cloud_default = defineCommand({
|
|
56
56
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
57
57
|
subCommands: {
|
|
58
|
-
render: () => import("./render-
|
|
59
|
-
list: () => import("./list-
|
|
60
|
-
get: () => import("./get-
|
|
61
|
-
delete: () => import("./delete-
|
|
58
|
+
render: () => import("./render-SJ4HFPFU.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-UFMLM3VV.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-23NXQWCD.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-UC427UEA.js").then((m) => m.default)
|
|
62
62
|
},
|
|
63
63
|
async run({ args }) {
|
|
64
64
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
resolveVariablesArg,
|
|
17
17
|
validateVariablesAgainstProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WQ3X5OH4.js";
|
|
19
19
|
import {
|
|
20
20
|
defaultCloudFps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7FF36MAD.js";
|
|
22
22
|
import "./chunk-K2FLNJVB.js";
|
|
23
23
|
import "./chunk-442JNXRM.js";
|
|
24
24
|
import {
|
|
@@ -33,9 +33,9 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
DISTRIBUTED_FPS,
|
|
35
35
|
isDistributedFps
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GM3WIOO6.js";
|
|
37
37
|
import "./chunk-RQVDTPGD.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LM265QNK.js";
|
|
39
39
|
import "./chunk-VC76R6W2.js";
|
|
40
40
|
import "./chunk-X7HBSTCZ.js";
|
|
41
41
|
import "./chunk-B2A56S5C.js";
|
|
@@ -1633,7 +1633,8 @@
|
|
|
1633
1633
|
// Chromium 150+ includes independently painted descendants in text masks;
|
|
1634
1634
|
// older builds drop their glyphs: https://github.com/heygen-com/hyperframes/issues/5117.
|
|
1635
1635
|
const chromium = window.navigator.userAgent.match(/(?:HeadlessChrome|Chrome)\/(\d+)/);
|
|
1636
|
-
|
|
1636
|
+
const chromiumVersion = chromium ? Number(chromium[1]) : 0;
|
|
1637
|
+
if (!chromiumVersion || !(element instanceof HTMLElement)) return false;
|
|
1637
1638
|
|
|
1638
1639
|
for (
|
|
1639
1640
|
let ancestor = element.parentElement;
|
|
@@ -1645,6 +1646,7 @@
|
|
|
1645
1646
|
style.webkitBackgroundClip || style.backgroundClip || "border-box",
|
|
1646
1647
|
).map((clip) => clip.trim());
|
|
1647
1648
|
if (!clips.includes("text")) continue;
|
|
1649
|
+
if (chromiumVersion < 150 && hasIndependentTextPaint(element, ancestor)) continue;
|
|
1648
1650
|
// Chromium builds the mask before descendant transforms, so moving the
|
|
1649
1651
|
// child must not move its glyphs out of the mask for this check.
|
|
1650
1652
|
const offset = layoutOffset(element);
|
|
@@ -1671,8 +1673,8 @@
|
|
|
1671
1673
|
const imagePaints = images.some(
|
|
1672
1674
|
(image, index) =>
|
|
1673
1675
|
clips[index % clips.length] === "text" &&
|
|
1674
|
-
/
|
|
1675
|
-
|
|
1676
|
+
(/url\(/i.test(image) ||
|
|
1677
|
+
(/(?:linear|radial|conic)-gradient\(/i.test(image) && gradientMaxAlpha(image) > 0.05)),
|
|
1676
1678
|
);
|
|
1677
1679
|
const colorPaints =
|
|
1678
1680
|
clips[(images.length - 1) % clips.length] === "text" &&
|
|
@@ -1682,6 +1684,65 @@
|
|
|
1682
1684
|
return false;
|
|
1683
1685
|
}
|
|
1684
1686
|
|
|
1687
|
+
// Plain descendants share a text mask on older Chromium; independently
|
|
1688
|
+
// painted descendants do not. Check the whole path to the mask, including
|
|
1689
|
+
// wrappers: https://github.com/chromium/chromium/blob/148.0.7778.97/third_party/blink/renderer/core/layout/layout_inline.cc.
|
|
1690
|
+
function hasIndependentTextPaint(element, background) {
|
|
1691
|
+
for (let current = element; current !== background; current = current.parentElement) {
|
|
1692
|
+
const style = getComputedStyle(current);
|
|
1693
|
+
if (style.position && style.position !== "static") return true;
|
|
1694
|
+
if (Number.parseFloat(style.opacity || "1") < 1) return true;
|
|
1695
|
+
const isInline = style.display === "inline";
|
|
1696
|
+
if (
|
|
1697
|
+
[
|
|
1698
|
+
style.filter,
|
|
1699
|
+
style.backdropFilter,
|
|
1700
|
+
style.webkitBackdropFilter,
|
|
1701
|
+
style.maskImage,
|
|
1702
|
+
style.webkitMaskImage,
|
|
1703
|
+
style.clipPath,
|
|
1704
|
+
style.webkitClipPath,
|
|
1705
|
+
style.viewTransitionName,
|
|
1706
|
+
].some((value) => value && value !== "none")
|
|
1707
|
+
)
|
|
1708
|
+
return true;
|
|
1709
|
+
if (
|
|
1710
|
+
!isInline &&
|
|
1711
|
+
[style.transform, style.translate, style.rotate, style.scale, style.perspective].some(
|
|
1712
|
+
(value) => value && value !== "none",
|
|
1713
|
+
)
|
|
1714
|
+
)
|
|
1715
|
+
return true;
|
|
1716
|
+
if (style.isolation === "isolate") return true;
|
|
1717
|
+
if (style.mixBlendMode && style.mixBlendMode !== "normal") return true;
|
|
1718
|
+
if (
|
|
1719
|
+
!isInline &&
|
|
1720
|
+
(style.backfaceVisibility === "hidden" || style.transformStyle === "preserve-3d")
|
|
1721
|
+
)
|
|
1722
|
+
return true;
|
|
1723
|
+
if (!isInline && /\b(?:paint|layout|content|strict)\b/.test(style.contain || "")) return true;
|
|
1724
|
+
if (style.contentVisibility && style.contentVisibility !== "visible") return true;
|
|
1725
|
+
if (
|
|
1726
|
+
(style.willChange || "")
|
|
1727
|
+
.split(",")
|
|
1728
|
+
.some(
|
|
1729
|
+
(property) =>
|
|
1730
|
+
/^(?:opacity|filter|backdrop-filter|position|isolation|mix-blend-mode|mask|mask-image|clip-path)$/.test(
|
|
1731
|
+
property.trim(),
|
|
1732
|
+
) ||
|
|
1733
|
+
(!isInline &&
|
|
1734
|
+
/^(?:transform|translate|rotate|scale|perspective)$/.test(property.trim())),
|
|
1735
|
+
)
|
|
1736
|
+
)
|
|
1737
|
+
return true;
|
|
1738
|
+
if (style.zIndex && style.zIndex !== "auto" && current.parentElement) {
|
|
1739
|
+
const display = getComputedStyle(current.parentElement).display;
|
|
1740
|
+
if (/^(?:inline-)?(?:flex|grid)$/.test(display)) return true;
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
return false;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1685
1746
|
// Text whose glyphs paint with an effectively transparent fill renders
|
|
1686
1747
|
// invisibly even though the element, its box, opacity and color all read as
|
|
1687
1748
|
// present — so geometry/occlusion/contrast audits miss it (contrast reads
|