hyperframes 0.8.221 → 0.8.222
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-7CVO7K6M.js → add-6MPLIWVP.js} +16 -15
- package/dist/{agentPromptGenerator-YFC2SJLF.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
- package/dist/{animatedGifPrep-YSMY5GU2.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
- package/dist/api.js +23 -22
- package/dist/{asset-ZVKHSO3M.js → asset-Y735VQV6.js} +2 -2
- package/dist/{assetCataloger-6IBSEOK7.js → assetCataloger-AOJAUEZW.js} +13 -12
- package/dist/{audio-JUV3TVSW.js → audio-VMMCGPOV.js} +20 -19
- package/dist/{auth-2J6FP462.js → auth-BD5NHYRA.js} +1 -1
- package/dist/{autoUpdate-ML6EZK6D.js → autoUpdate-VTMNHOAJ.js} +2 -2
- package/dist/{backgroundChecks-MAWP2REX.js → backgroundChecks-SUDYQZSW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Z7MGNJZH.js → batchRender-4NR7RMT7.js} +11 -8
- package/dist/{beats-LRZOZUUQ.js → beats-PKEHQHBY.js} +53 -21
- package/dist/{benchmark-XJWLDTIL.js → benchmark-K55DDFHG.js} +12 -11
- package/dist/{browser-STEVEWWA.js → browser-G2WFWJJ3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WH63ZWUT.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
- package/dist/{capture-U3ZT3GNI.js → capture-24PIC3TZ.js} +67 -25
- package/dist/{capture-VB5ID7HT.js → capture-U3EEAPI6.js} +3 -3
- package/dist/{captureCompositionFrame-MXJ3WO2R.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
- package/dist/{catalog-ICGHSRPZ.js → catalog-J3BU4TFW.js} +16 -15
- package/dist/{catch-up-DJPQKXQB.js → catch-up-LDGNMEGL.js} +4 -4
- package/dist/{check-TL7AGWPO.js → check-J6HG6EKE.js} +45 -44
- package/dist/{checkAudio-GPTU6EGB.js → checkAudio-MAX7JUYG.js} +17 -16
- package/dist/{checkBrowser-FG5DAW2R.js → checkBrowser-3W74WJ26.js} +43 -38
- package/dist/{chunk-4ZM727AO.js → chunk-3RXZZIDQ.js} +5 -5
- package/dist/{chunk-ZOLKM3VZ.js → chunk-42Q3VX34.js} +9 -9
- package/dist/{chunk-OOEOJPFY.js → chunk-4VEXJTUT.js} +2 -2
- package/dist/{chunk-NYOQP6DO.js → chunk-52VXA3SC.js} +1 -1
- package/dist/{chunk-AZI2T2KO.js → chunk-537WSYHU.js} +1 -1
- package/dist/{chunk-QYUXDFJY.js → chunk-5GSEM63G.js} +12 -10
- package/dist/{chunk-MYNBV7WG.js → chunk-6CFBFWLF.js} +1 -1
- package/dist/{chunk-5YT2KHPO.js → chunk-6W3DY5BP.js} +2 -2
- package/dist/{chunk-TNQCXU37.js → chunk-7D2LTSNV.js} +1 -1
- package/dist/{chunk-3STL4WJ6.js → chunk-7IH3RSSG.js} +17 -8
- package/dist/{chunk-M2F6VGCP.js → chunk-AIXH3V5A.js} +85 -50
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-F6WHVEUS.js → chunk-AN4USOFT.js} +5 -1
- package/dist/{chunk-OMLDAF44.js → chunk-AOHG22HQ.js} +6 -5
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/{chunk-P6FGS4U6.js → chunk-AXVTL7B6.js} +6 -6
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-MXVH6UW6.js → chunk-BDZSH6P3.js} +6 -57
- package/dist/{chunk-6YW3FEHC.js → chunk-BPIY5LB3.js} +9 -8
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-YISDQ7YP.js → chunk-CVY6OIKN.js} +4 -4
- package/dist/{chunk-I45R2REQ.js → chunk-CZOC7WY7.js} +1 -1
- package/dist/{chunk-HSHKLYDI.js → chunk-D6LGD472.js} +4 -4
- package/dist/{chunk-Z7YQEDA5.js → chunk-DC26QLB7.js} +1 -1
- package/dist/{chunk-DMCU2ELU.js → chunk-DIXTEVWQ.js} +3 -3
- package/dist/{chunk-322M35EB.js → chunk-DNTPNSH5.js} +3 -3
- package/dist/{chunk-GSCFMG4C.js → chunk-DSHFKKSZ.js} +3 -3
- package/dist/{chunk-3PJ3HVLG.js → chunk-E5IIR67Q.js} +1 -1
- package/dist/{chunk-D2RQVJLZ.js → chunk-EE7YWKDY.js} +3 -27
- package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
- package/dist/{chunk-MYXFBIJO.js → chunk-EOUKB53E.js} +1 -1
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-625I5VBE.js → chunk-F6QV5N3A.js} +2 -2
- package/dist/{chunk-6HKUUBAV.js → chunk-FMKI7ZLM.js} +2 -2
- package/dist/{chunk-TVT465RJ.js → chunk-FT3CNACL.js} +5 -5
- package/dist/{chunk-L63FJVSC.js → chunk-G2EY3MVW.js} +1 -1
- package/dist/{chunk-UNQ3CVKW.js → chunk-G675S644.js} +20 -21
- package/dist/{chunk-XETZLYGW.js → chunk-GHEYGMKD.js} +2 -2
- package/dist/{chunk-RVCWVOXM.js → chunk-GODT7QDZ.js} +3 -3
- package/dist/{chunk-74E7EHVH.js → chunk-GOWU3NCE.js} +1 -1
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-AW7A27JM.js → chunk-HQDHMAUI.js} +1 -1
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-TMK3MW7B.js → chunk-IB7UYGXR.js} +10 -10
- package/dist/{chunk-SAKL7SZH.js → chunk-IGBOFU2Y.js} +3 -3
- package/dist/{chunk-KQPP4NIZ.js → chunk-JQWITWVC.js} +2 -2
- package/dist/{chunk-AZXDEC2G.js → chunk-K5UCRKUK.js} +4 -6
- package/dist/{chunk-M2BCU4Y5.js → chunk-KEY2VA65.js} +1 -1
- package/dist/{chunk-JGZUG5V4.js → chunk-L37AZWB2.js} +2 -2
- package/dist/{chunk-YSZ4VMXI.js → chunk-L55LAERP.js} +1 -1
- package/dist/chunk-LL3VMDAC.js +5013 -0
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-ZBLSSWSE.js → chunk-NUE44RN2.js} +1 -1
- package/dist/{chunk-MEB6HWBM.js → chunk-OAXWHPNS.js} +2 -2
- package/dist/{chunk-Y4GLFHO5.js → chunk-OQLYKDL5.js} +1 -1
- package/dist/{chunk-7DVR3DL3.js → chunk-OROHGC7W.js} +8 -8
- package/dist/{chunk-YKMFCE5B.js → chunk-P5M3AXEP.js} +1 -1
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-H3HC6U4I.js → chunk-QOZPWIYV.js} +10 -10
- package/dist/{chunk-XDTCPMR3.js → chunk-QYRMR45H.js} +2 -2
- package/dist/{chunk-RVIMLJXC.js → chunk-RIGSGNDQ.js} +54 -18
- package/dist/{chunk-U6WH572X.js → chunk-RRPO44PE.js} +5 -5
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-2ZNURTH5.js → chunk-SKCS4SUZ.js} +4455 -4312
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-S5GOFDX5.js → chunk-VJVVWYP6.js} +1 -1
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/{chunk-LYZB5CJN.js → chunk-VQMHDS2V.js} +110 -9
- package/dist/{chunk-NQOCM4KQ.js → chunk-WJYFJGYT.js} +3 -3
- package/dist/{chunk-ZKPRJPWN.js → chunk-WWT6ETQA.js} +43 -43
- package/dist/{chunk-IDWJJ7PP.js → chunk-XHD7RKEZ.js} +2 -2
- package/dist/{chunk-OPKSVV4G.js → chunk-Y7IV5MAK.js} +2 -2
- package/dist/{chunk-67CALYTU.js → chunk-YEKJOA47.js} +1 -1
- package/dist/{chunk-O7WR4AHX.js → chunk-YHL4CVTF.js} +14 -14
- package/dist/{chunk-BQNTY7J5.js → chunk-Z5VQBRU2.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
- package/dist/{chunk-ROVRC3CG.js → chunk-ZBNK6X5O.js} +5 -5
- package/dist/{chunk-QLQVQQP6.js → chunk-ZLXWRYOO.js} +3 -3
- package/dist/{chunk-YV2QQUTL.js → chunk-ZPTNLDOB.js} +2 -2
- package/dist/{clean-3NMJWZXK.js → clean-K6IM3LC4.js} +24 -23
- package/dist/cli.js +54 -54
- package/dist/{cloud-CB3NYNUR.js → cloud-OV7EA4BJ.js} +4 -4
- package/dist/{cloudrun-2CTKCIXV.js → cloudrun-ZEMODIOP.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +8 -4
- package/dist/{compare-FVY3AMTT.js → compare-MJZ3D3HA.js} +36 -35
- package/dist/{compiler-SEQRWEEN.js → compiler-6KKETX77.js} +8 -8
- package/dist/{component-AEMJRROX.js → component-EVXMYIP3.js} +3 -3
- package/dist/{compositions-NRBSIBGZ.js → compositions-PZ7FQ7WN.js} +16 -15
- package/dist/{delete-T4E53ELR.js → delete-DL3XA4QV.js} +2 -2
- package/dist/{deploy-PUF2DW3H.js → deploy-VEYP3IP5.js} +1 -1
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/{dist-B6C3DU6I.js → dist-M77KFAYW.js} +7 -6
- package/dist/{dist-VARV35QH.js → dist-SHMQOKMF.js} +6 -6
- package/dist/{doctor-FVBU575B.js → doctor-JM2WHH7Y.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/{events-DZ5PRR6F.js → events-GW5I5RCG.js} +2 -2
- package/dist/{events-RSPDI7FX.js → events-S7KVBRSL.js} +3 -3
- package/dist/{feedback-AALA3OA7.js → feedback-7OR5FVTX.js} +11 -10
- package/dist/{ffmpeg-YXKE5CUE.js → ffmpeg-A7CSIX3U.js} +12 -11
- package/dist/{figma-37R727XZ.js → figma-444HKFX5.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/{get-L3VKJ6JF.js → get-6UTF3225.js} +2 -2
- package/dist/{gpuPolicy-6QIFFWAI.js → gpuPolicy-ORPUS5Z2.js} +12 -11
- package/dist/{grade-compare-7IN5QDJD.js → grade-compare-UCTAYN3B.js} +37 -36
- package/dist/{heifImagePrep-AWII25PM.js → heifImagePrep-ED6V6RFN.js} +13 -12
- package/dist/{help-B4MB7MWW.js → help-HZR32XWP.js} +1 -1
- package/dist/{history-TQO6AWEQ.js → history-TQ56MZIA.js} +17 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/{info-7CBHVXSG.js → info-RPIIP7RN.js} +11 -10
- package/dist/{init-D7HKPQ5A.js → init-ONAWKHFW.js} +33 -32
- package/dist/{inspect-VHDQL55M.js → inspect-A75PYOWJ.js} +37 -36
- package/dist/{installer-EJNLL6SV.js → installer-ISMCCFBZ.js} +8 -7
- package/dist/{keyframes-IFLBMAJP.js → keyframes-2I75DP3O.js} +7 -7
- package/dist/{lambda-I7EQULHC.js → lambda-4QIHGPGJ.js} +17 -16
- package/dist/{layout-MOCEANRO.js → layout-GW7WE7RT.js} +37 -36
- package/dist/{lint-HFXGSQKN.js → lint-OWP72OZQ.js} +12 -12
- package/dist/{lintProject-VCDI6A2W.js → lintProject-XYQ5L7RQ.js} +6 -6
- package/dist/{list-OFYIXVON.js → list-WVK7ZCPW.js} +2 -2
- package/dist/{localPage-QOOQ5YA2.js → localPage-IQWHN7BH.js} +12 -11
- package/dist/{login-WAG7B4PM.js → login-Q5CNHYWU.js} +4 -4
- package/dist/{manager-34U5CEFB.js → manager-JCYVNEWH.js} +13 -12
- package/dist/{media-treatment-2TLX6NKS.js → media-treatment-M5IUP7H4.js} +21 -20
- package/dist/{models-M2F4WTAR.js → models-CFXKDYZ3.js} +16 -15
- package/dist/{motionShot-6WCTCV4W.js → motionShot-CWUEI4ZM.js} +21 -20
- package/dist/{normalize-audio-T6PIPWOT.js → normalize-audio-FASY33LR.js} +15 -14
- package/dist/{open-BC5METIY.js → open-KOVVESYN.js} +15 -14
- package/dist/{parakeetRunner-UXVY7PV2.js → parakeetRunner-E4IP5SL4.js} +18 -17
- package/dist/{pipeline-GJAJPWPB.js → pipeline-C6EZVV43.js} +15 -14
- package/dist/{play-UCIRUHCU.js → play-MZJI6SMH.js} +27 -26
- package/dist/{preflight-GVRYYIH5.js → preflight-K4SPUWXP.js} +13 -12
- package/dist/{present-46QLZOK4.js → present-7L7ZTG7F.js} +24 -23
- package/dist/{preview-HWXMP7WL.js → preview-QGDVMR3X.js} +23 -22
- package/dist/{producer-2PBHUE5O.js → producer-EJPNNY3E.js} +1 -1
- package/dist/{projectConfig-C4S3LBBX.js → projectConfig-EEF6OPXO.js} +10 -9
- package/dist/{publication-GESNVVMS.js → publication-5KF44AKQ.js} +6 -5
- package/dist/{publish-IBY26S3T.js → publish-SSKWZ5TE.js} +16 -15
- package/dist/{remove-background-3OBWOHVZ.js → remove-background-PCL6I5SZ.js} +16 -15
- package/dist/{render-LSI5WXS7.js → render-DH4UA7KW.js} +10 -9
- package/dist/{render-3F6GQ5WW.js → render-DRWQ6F37.js} +22 -21
- package/dist/{render-SR5RISLU.js → render-UPRWOGLS.js} +156 -42
- package/dist/{render-batch-HV4W3PZM.js → render-batch-EBW5WHB5.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-R5X3HAPE.js → resolver-ZSZXNRFP.js} +8 -7
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-2Q6U4ZFY.js → sherpa-IKVUCBOW.js} +17 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- package/dist/{skills-FSGXQSHA.js → skills-ZREHX3TU.js} +5 -5
- package/dist/{skillsUpdateCheck-UW6643XX.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-HFPB34Y7.js → snapshot-KPFLZNEL.js} +57 -45
- package/dist/{src-ROWFWCEN.js → src-EPOGDJTT.js} +11 -10
- package/dist/{src-VMTQQUUP.js → src-QRV3466B.js} +21 -14
- package/dist/{staticProjectServer-4TGZJIWN.js → staticProjectServer-ERKLMZVM.js} +25 -24
- package/dist/studio/assets/{hyperframes-player-B_wvwarc.js → hyperframes-player-Dka6e1BG.js} +1 -1
- package/dist/studio/assets/{index-BDE7dwov.js → index-C8VIUiGz.js} +117 -117
- package/dist/studio/assets/{index-D0jGq2dS.js → index-CVPNbydK.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TSHXVZ6R.js → studio-api-7WFZIIPL.js} +21 -16
- package/dist/{studioServer-74ZBLNP2.js → studioServer-3XZTLI26.js} +76 -113
- package/dist/{telemetry-3NDLZOPR.js → telemetry-BMLI4TMC.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-5IFZJU7M.js → timeline-EDCDO2ZR.js} +25 -24
- package/dist/{tokens-UFNPQVLS.js → tokens-2ZFLFO3K.js} +2 -2
- package/dist/{transcribe-7KQAUHEN.js → transcribe-3WMH62HH.js} +16 -15
- package/dist/{transcribe-NAXKBIPW.js → transcribe-Y2LPBT7I.js} +22 -21
- package/dist/{updateCheck-KDSFL3XX.js → updateCheck-5LFZGC3P.js} +2 -2
- package/dist/{upgrade-EXX4C35N.js → upgrade-X7QVSEKP.js} +2 -2
- package/dist/{urlDownloader-4UFCIAPH.js → urlDownloader-TYD6ROKL.js} +11 -10
- package/dist/{validate-QYOHY3N6.js → validate-26KQ5VX7.js} +31 -30
- package/dist/{video-HRL3V2R5.js → video-BPKLZIJK.js} +13 -12
- package/dist/warmCheck.js +45 -44
- package/package.json +1 -1
- package/dist/chunk-Q3PPGPEA.js +0 -5061
- /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../core/dist/gsapCdn.js
|
|
9
|
+
var GSAP_CDN_VERSION = "3.15.0";
|
|
10
|
+
var GSAP_CDN_BASE_URL = "https://cdn.jsdelivr.net/npm";
|
|
11
|
+
var GSAP_BASE_URL_META = "hyperframes-gsap-base-url";
|
|
12
|
+
function isLoopbackHost(hostname) {
|
|
13
|
+
return hostname === "localhost" || hostname === "[::1]" || /^127\.\d+\.\d+\.\d+$/.test(hostname);
|
|
14
|
+
}
|
|
15
|
+
function normalizeGsapBaseUrl(baseUrl) {
|
|
16
|
+
const value = baseUrl?.trim();
|
|
17
|
+
if (!value)
|
|
18
|
+
return GSAP_CDN_BASE_URL;
|
|
19
|
+
if (!/^https?:\/\//i.test(value) || !URL.canParse(value) || /[?#]/.test(value)) {
|
|
20
|
+
throw new Error("GSAP base URL must be an absolute HTTP(S) URL without a query or fragment");
|
|
21
|
+
}
|
|
22
|
+
const url = new URL(value);
|
|
23
|
+
if (url.username || url.password) {
|
|
24
|
+
throw new Error("GSAP base URL must not contain credentials");
|
|
25
|
+
}
|
|
26
|
+
if (url.protocol === "http:" && !isLoopbackHost(url.hostname)) {
|
|
27
|
+
throw new Error("GSAP base URL must use HTTPS unless it points at this machine");
|
|
28
|
+
}
|
|
29
|
+
return url.href.replace(/\/+$/, "");
|
|
30
|
+
}
|
|
31
|
+
function normalizeGsapLocalRoot(root) {
|
|
32
|
+
const value = root.trim();
|
|
33
|
+
if (!/^\/(?![/\\])/.test(value) || /[?#\\]/.test(value)) {
|
|
34
|
+
throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
|
|
35
|
+
}
|
|
36
|
+
const origin = "http://local.invalid";
|
|
37
|
+
const url = new URL(value, origin);
|
|
38
|
+
const path = url.pathname.replace(/\/+$/, "");
|
|
39
|
+
if (url.origin !== origin || !path) {
|
|
40
|
+
throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
|
|
41
|
+
}
|
|
42
|
+
return path;
|
|
43
|
+
}
|
|
44
|
+
function gsapCdnDist(gsapVersion, baseUrl) {
|
|
45
|
+
const version = gsapVersion && /^\d+(\.\d+)*$/.test(gsapVersion) ? gsapVersion : GSAP_CDN_VERSION;
|
|
46
|
+
if (baseUrl?.trim().startsWith("/")) {
|
|
47
|
+
const root = normalizeGsapLocalRoot(baseUrl);
|
|
48
|
+
return `${version === GSAP_CDN_VERSION ? root : GSAP_CDN_BASE_URL}/gsap@${version}/dist/`;
|
|
49
|
+
}
|
|
50
|
+
return `${normalizeGsapBaseUrl(baseUrl)}/gsap@${version}/dist/`;
|
|
51
|
+
}
|
|
52
|
+
function motionPathPluginUrl(gsapVersion, baseUrl) {
|
|
53
|
+
return `${gsapCdnDist(gsapVersion, baseUrl)}MotionPathPlugin.min.js`;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
GSAP_CDN_VERSION,
|
|
58
|
+
GSAP_BASE_URL_META,
|
|
59
|
+
normalizeGsapBaseUrl,
|
|
60
|
+
normalizeGsapLocalRoot,
|
|
61
|
+
gsapCdnDist,
|
|
62
|
+
motionPathPluginUrl
|
|
63
|
+
};
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5GSEM63G.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
FFMPEG_PATH_ENV,
|
|
27
27
|
FFPROBE_PATH_ENV,
|
|
28
28
|
findFfBinary
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HYRPH6LL.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeErrorMessage
|
|
32
32
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WWT6ETQA.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,26 +18,26 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AXVTL7B6.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-52VXA3SC.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-P5M3AXEP.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AIXH3V5A.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3RXZZIDQ.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BDZSH6P3.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeWellFormedEscapes
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-C2KEGBR3.js";
|
|
41
41
|
|
|
42
42
|
// src/utils/staticProjectServer.ts
|
|
43
43
|
import { createServer, request as httpRequest } from "http";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z5VQBRU2.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OROHGC7W.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IB7UYGXR.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HOTXWVVP.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DNTPNSH5.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L37AZWB2.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
printDeprecationNotice,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-L55LAERP.js";
|
|
43
43
|
import {
|
|
44
44
|
failureMessage,
|
|
45
45
|
jsonFailure
|
|
@@ -706,7 +706,7 @@ async function collectTweenBoundaries(page) {
|
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
async function bundleProjectHtml(projectDir) {
|
|
709
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
709
|
+
const { bundleToSingleHtml } = await import("./compiler-6KKETX77.js");
|
|
710
710
|
return bundleToSingleHtml(projectDir);
|
|
711
711
|
}
|
|
712
712
|
async function alignViewportToComposition(page, url) {
|
|
@@ -725,13 +725,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
725
725
|
async function runLayoutAudit(projectDir, opts) {
|
|
726
726
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
727
727
|
const puppeteer = await import("puppeteer-core");
|
|
728
|
-
const { buildChromeArgs } = await import("./src-
|
|
728
|
+
const { buildChromeArgs } = await import("./src-EPOGDJTT.js");
|
|
729
729
|
const {
|
|
730
730
|
assertWebGpuAdapterAvailable,
|
|
731
731
|
compositionRequiresWebGpu,
|
|
732
732
|
resolveLocalBrowserGpuMode,
|
|
733
733
|
resolveLocalWebGpu
|
|
734
|
-
} = await import("./gpuPolicy-
|
|
734
|
+
} = await import("./gpuPolicy-ORPUS5Z2.js");
|
|
735
735
|
const html = await bundleProjectHtml(projectDir);
|
|
736
736
|
const server = await serveStaticProjectHtml(
|
|
737
737
|
projectDir,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
firstFrameColourArgs,
|
|
15
15
|
parseFirstFrameColour
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BDZSH6P3.js";
|
|
17
17
|
import {
|
|
18
18
|
findFfBinary
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HYRPH6LL.js";
|
|
20
20
|
|
|
21
21
|
// ../studio-server/dist/chunk-X73QTST2.js
|
|
22
22
|
import { execFile } from "child_process";
|
|
@@ -7,23 +7,23 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QOZPWIYV.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YHL4CVTF.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OROHGC7W.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WWT6ETQA.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
27
27
|
import {
|
|
28
28
|
FfmpegUnavailableError,
|
|
29
29
|
decideMediaProxyEligibility,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AXVTL7B6.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,21 +45,21 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IB7UYGXR.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-52VXA3SC.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-P5M3AXEP.js";
|
|
55
55
|
import {
|
|
56
56
|
BrowserCleanupError,
|
|
57
57
|
closeManagedBrowser,
|
|
58
58
|
onStopSignal
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-L37AZWB2.js";
|
|
60
60
|
import {
|
|
61
61
|
injectTagsAtHeadStart
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-LL3VMDAC.js";
|
|
63
63
|
import {
|
|
64
64
|
normalizeErrorMessage
|
|
65
65
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -578,7 +578,7 @@ function proxyFailedDraft(message) {
|
|
|
578
578
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
579
579
|
}
|
|
580
580
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
581
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
581
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-MNG2UVH3.js");
|
|
582
582
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
583
583
|
}
|
|
584
584
|
function withCapturePreviewMark(html) {
|
|
@@ -635,12 +635,12 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
635
635
|
const rootAnchor = await resolveRootAnchor(page);
|
|
636
636
|
deadline?.keepPartial(() => ({
|
|
637
637
|
runtimeFindings: dropFailedProxyEchoes(
|
|
638
|
-
keepBrokenImageAborts(drafts, /* @__PURE__ */ new Set()),
|
|
638
|
+
keepFailedNetworkChanges(keepBrokenImageAborts(drafts, /* @__PURE__ */ new Set()), /* @__PURE__ */ new Set()),
|
|
639
639
|
failedPaths
|
|
640
640
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
641
641
|
}));
|
|
642
642
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
643
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
643
|
+
const { analyzeClipMediaFit } = await import("./src-EPOGDJTT.js");
|
|
644
644
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
645
645
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
646
646
|
}
|
|
@@ -665,12 +665,16 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
665
665
|
const helper = await helperOpen?.catch(() => void 0);
|
|
666
666
|
const merged = helper ? mergeHelperDrafts(sampleLog, helper.sampleLog) : drafts;
|
|
667
667
|
const broken = await abortedImagesStillBroken(page, merged);
|
|
668
|
+
const unreachable = await networkChangesStillFailing(merged);
|
|
668
669
|
return {
|
|
669
670
|
...result,
|
|
670
671
|
timings: { ...result.timings, launchSettleMs },
|
|
671
672
|
renderReadyTimedOut: session.renderReadyTimedOut,
|
|
672
673
|
runtimeFindings: dropFailedProxyEchoes(
|
|
673
|
-
dropMotionBlurConsoleEcho(
|
|
674
|
+
dropMotionBlurConsoleEcho(
|
|
675
|
+
keepFailedNetworkChanges(keepBrokenImageAborts(merged, broken), unreachable),
|
|
676
|
+
blur
|
|
677
|
+
),
|
|
674
678
|
failedPaths
|
|
675
679
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
676
680
|
};
|
|
@@ -777,7 +781,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
777
781
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
778
782
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
779
783
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
780
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
784
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-MNG2UVH3.js");
|
|
781
785
|
return withCapturePreviewMark(
|
|
782
786
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
783
787
|
);
|
|
@@ -936,6 +940,9 @@ function wireRuntimeListeners(page, drafts, clock) {
|
|
|
936
940
|
});
|
|
937
941
|
wireNetworkListeners(page, drafts, clock);
|
|
938
942
|
}
|
|
943
|
+
function keepFailedNetworkChanges(drafts, failing) {
|
|
944
|
+
return drafts.filter((draft) => !draft.networkChanged || failing.has(draft.url ?? ""));
|
|
945
|
+
}
|
|
939
946
|
function keepBrokenImageAborts(drafts, broken) {
|
|
940
947
|
return drafts.filter((draft) => !draft.abortedImage || broken.has(draft.url ?? ""));
|
|
941
948
|
}
|
|
@@ -970,6 +977,26 @@ function decodedPath(url) {
|
|
|
970
977
|
}
|
|
971
978
|
}
|
|
972
979
|
var IMAGE_DECODE_CAP_MS = 5e3;
|
|
980
|
+
async function networkChangesStillFailing(drafts) {
|
|
981
|
+
const urls = [
|
|
982
|
+
...new Set(drafts.filter((draft) => draft.networkChanged).map((draft) => draft.url ?? ""))
|
|
983
|
+
];
|
|
984
|
+
const failing = await Promise.all(
|
|
985
|
+
urls.map(async (url) => {
|
|
986
|
+
try {
|
|
987
|
+
const response = await fetch(url, {
|
|
988
|
+
headers: { Range: "bytes=0-0" },
|
|
989
|
+
signal: AbortSignal.timeout(5e3)
|
|
990
|
+
});
|
|
991
|
+
await response.body?.cancel();
|
|
992
|
+
return response.status >= 400;
|
|
993
|
+
} catch {
|
|
994
|
+
return true;
|
|
995
|
+
}
|
|
996
|
+
})
|
|
997
|
+
);
|
|
998
|
+
return new Set(urls.filter((_, i) => failing[i]));
|
|
999
|
+
}
|
|
973
1000
|
async function abortedImagesStillBroken(page, drafts) {
|
|
974
1001
|
const urls = drafts.filter((draft) => draft.abortedImage).map((draft) => draft.url ?? "");
|
|
975
1002
|
if (urls.length === 0) return /* @__PURE__ */ new Set();
|
|
@@ -1009,7 +1036,8 @@ function wireNetworkListeners(page, drafts, clock) {
|
|
|
1009
1036
|
message: `Failed to load ${urlPath(url)}: ${failure ?? "net::ERR_FAILED"}`,
|
|
1010
1037
|
...clock.now(),
|
|
1011
1038
|
url,
|
|
1012
|
-
abortedImage: failure === "net::ERR_ABORTED" && request.resourceType() === "image"
|
|
1039
|
+
abortedImage: failure === "net::ERR_ABORTED" && request.resourceType() === "image",
|
|
1040
|
+
networkChanged: failure === "net::ERR_NETWORK_CHANGED"
|
|
1013
1041
|
});
|
|
1014
1042
|
});
|
|
1015
1043
|
page.on("response", (response) => {
|
|
@@ -1123,7 +1151,13 @@ async function collectCraftFilm(page) {
|
|
|
1123
1151
|
return { soundSources: (isRecord(raw) ? numberValue(raw, "soundSources") : null) ?? 0 };
|
|
1124
1152
|
}
|
|
1125
1153
|
var CRAFT_PART_NUMBERS = ["key", "block", "opacity", "fontPx"];
|
|
1126
|
-
var CRAFT_PART_STRINGS = [
|
|
1154
|
+
var CRAFT_PART_STRINGS = [
|
|
1155
|
+
"selector",
|
|
1156
|
+
"blockSelector",
|
|
1157
|
+
"sourceFile",
|
|
1158
|
+
"text",
|
|
1159
|
+
"blockText"
|
|
1160
|
+
];
|
|
1127
1161
|
var CRAFT_RECT_NUMBERS = ["left", "top", "width", "height"];
|
|
1128
1162
|
function parseCraftTextPart(value) {
|
|
1129
1163
|
if (!isRecord(value)) return [];
|
|
@@ -2053,8 +2087,10 @@ export {
|
|
|
2053
2087
|
mergeHelperDrafts,
|
|
2054
2088
|
captureFindingCrops,
|
|
2055
2089
|
captureFindingFrames,
|
|
2090
|
+
keepFailedNetworkChanges,
|
|
2056
2091
|
keepBrokenImageAborts,
|
|
2057
2092
|
dropFailedProxyEchoes,
|
|
2093
|
+
networkChangesStillFailing,
|
|
2058
2094
|
createPageDriver,
|
|
2059
2095
|
collectSeekClock,
|
|
2060
2096
|
captureOverviewShot,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OAXWHPNS.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-2GICKZ3I.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AIXH3V5A.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
getUpdateMeta,
|
|
43
43
|
withMeta
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-L55LAERP.js";
|
|
45
45
|
import {
|
|
46
46
|
CONFIG_PATH,
|
|
47
47
|
withFileLock
|
|
48
48
|
} from "./chunk-BLBMPEBX.js";
|
|
49
49
|
import {
|
|
50
50
|
VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-6W3DY5BP.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeErrorMessage
|
|
54
54
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -240,7 +240,7 @@ function checkEnvironment() {
|
|
|
240
240
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
241
241
|
}
|
|
242
242
|
async function checkWhisper() {
|
|
243
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
243
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-JCYVNEWH.js");
|
|
244
244
|
const result = findWhisper();
|
|
245
245
|
if (result) {
|
|
246
246
|
return { ok: true, detail: result.executablePath };
|