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
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
|
|
12
12
|
// ../parsers/dist/compositionContract.js
|
|
13
13
|
var COMPOSITION_CONTRACT_VERSION = 1;
|
|
14
|
+
var SPLIT_BOUNDARY_EPSILON_S = 0.03;
|
|
14
15
|
var COMPOSITION_ATTRIBUTES = Object.freeze({
|
|
15
16
|
start: "data-start",
|
|
16
17
|
duration: "data-duration",
|
|
@@ -410,8 +411,9 @@ function decodeCssEscapes(text) {
|
|
|
410
411
|
}
|
|
411
412
|
var CSS_URL_RE = /\burl\(\s*(["']?)([^)"'\s](?:[^)"']*[^)"'\s])?)\1\s*\)/g;
|
|
412
413
|
var PATH_ATTRS = ["src", "href"];
|
|
414
|
+
var URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE = /^[a-z][a-z0-9+.-]+:/i;
|
|
413
415
|
function isNonRelativeUrl(val) {
|
|
414
|
-
return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/");
|
|
416
|
+
return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/") || URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE.test(val);
|
|
415
417
|
}
|
|
416
418
|
var LEADING_PARENT_SEGMENT_RE = /^\.\.(?:[\\/]|$)/;
|
|
417
419
|
function isPathInside(childPath, parentPath) {
|
|
@@ -421,6 +423,44 @@ function isPathInside(childPath, parentPath) {
|
|
|
421
423
|
const rel = relative(absParent, absChild);
|
|
422
424
|
return rel !== "" && !LEADING_PARENT_SEGMENT_RE.test(rel) && !isAbsolute(rel);
|
|
423
425
|
}
|
|
426
|
+
function skipSrcsetDescriptors(srcset, position) {
|
|
427
|
+
let inParens = false;
|
|
428
|
+
while (position < srcset.length) {
|
|
429
|
+
const char = srcset.charAt(position++);
|
|
430
|
+
if (char === "(") inParens = true;
|
|
431
|
+
else if (char === ")") inParens = false;
|
|
432
|
+
else if (char === "," && !inParens) break;
|
|
433
|
+
}
|
|
434
|
+
return position;
|
|
435
|
+
}
|
|
436
|
+
function readSrcsetUrl(srcset, position) {
|
|
437
|
+
while (position < srcset.length && /[ \t\n\r\f,]/.test(srcset.charAt(position))) position++;
|
|
438
|
+
const start = position;
|
|
439
|
+
while (position < srcset.length && !/[ \t\n\r\f]/.test(srcset.charAt(position))) position++;
|
|
440
|
+
let end = position;
|
|
441
|
+
while (end > start && srcset.charAt(end - 1) === ",") end--;
|
|
442
|
+
return { start, end, next: position };
|
|
443
|
+
}
|
|
444
|
+
function rewriteSrcsetUrls(srcset, rewriteUrl) {
|
|
445
|
+
const parts = [];
|
|
446
|
+
let position = 0;
|
|
447
|
+
let written = 0;
|
|
448
|
+
while (position < srcset.length) {
|
|
449
|
+
const { start, end, next } = readSrcsetUrl(srcset, position);
|
|
450
|
+
position = next;
|
|
451
|
+
if (end > start) {
|
|
452
|
+
const url = srcset.slice(start, end);
|
|
453
|
+
const rewritten = rewriteUrl(url);
|
|
454
|
+
if (rewritten !== url) {
|
|
455
|
+
parts.push(srcset.slice(written, start), rewritten);
|
|
456
|
+
written = end;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
if (end < position) continue;
|
|
460
|
+
position = skipSrcsetDescriptors(srcset, position);
|
|
461
|
+
}
|
|
462
|
+
return parts.length > 0 ? parts.join("") + srcset.slice(written) : srcset;
|
|
463
|
+
}
|
|
424
464
|
var { join, resolve: resolve2, dirname } = posix;
|
|
425
465
|
var isAbsoluteOrSpecial = isNonRelativeUrl;
|
|
426
466
|
function needsRewrite(val) {
|
|
@@ -442,11 +482,18 @@ function rewriteAssetPaths(elements, compSrcPath, getAttr, setAttr, assetExists)
|
|
|
442
482
|
for (const el of elements) {
|
|
443
483
|
for (const attr of PATH_ATTRS) {
|
|
444
484
|
const val = (getAttr(el, attr) || "").trim();
|
|
445
|
-
const
|
|
446
|
-
if (
|
|
447
|
-
setAttr(el, attr,
|
|
485
|
+
const rewritten2 = rewriteAssetPath(compSrcPath, val, assetExists);
|
|
486
|
+
if (rewritten2 !== val) {
|
|
487
|
+
setAttr(el, attr, rewritten2);
|
|
448
488
|
}
|
|
449
489
|
}
|
|
490
|
+
const srcset = getAttr(el, "srcset");
|
|
491
|
+
if (!srcset) continue;
|
|
492
|
+
const rewritten = rewriteSrcsetUrls(
|
|
493
|
+
srcset,
|
|
494
|
+
(url) => rewriteAssetPath(compSrcPath, url, assetExists)
|
|
495
|
+
);
|
|
496
|
+
if (rewritten !== srcset) setAttr(el, "srcset", rewritten);
|
|
450
497
|
}
|
|
451
498
|
}
|
|
452
499
|
function rewriteInlineStyleAssetUrls(elements, compSrcPath, getStyle, setStyle, assetExists) {
|
|
@@ -1477,6 +1524,7 @@ function extractMediaSrcMutations(script) {
|
|
|
1477
1524
|
|
|
1478
1525
|
export {
|
|
1479
1526
|
COMPOSITION_CONTRACT_VERSION,
|
|
1527
|
+
SPLIT_BOUNDARY_EPSILON_S,
|
|
1480
1528
|
COMPOSITION_ATTRIBUTES,
|
|
1481
1529
|
CANONICAL_AUTHORED_TIMING_ATTRIBUTES,
|
|
1482
1530
|
DERIVED_TIMING_ATTRIBUTES,
|
|
@@ -1504,6 +1552,7 @@ export {
|
|
|
1504
1552
|
PATH_ATTRS,
|
|
1505
1553
|
isNonRelativeUrl,
|
|
1506
1554
|
isPathInside,
|
|
1555
|
+
rewriteSrcsetUrls,
|
|
1507
1556
|
rewriteAssetPath,
|
|
1508
1557
|
rewriteAssetPaths,
|
|
1509
1558
|
rewriteInlineStyleAssetUrls,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5GSEM63G.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L37AZWB2.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AIXH3V5A.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-EPOGDJTT.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudio
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E5IIR67Q.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KEY2VA65.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5GSEM63G.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-D6LGD472.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E5IIR67Q.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KEY2VA65.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DC26QLB7.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-5ZBMHUY2.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AIXH3V5A.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BDZSH6P3.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-DP5LF7GF.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OQLYKDL5.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AKMY4QVI.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-6KKETX77.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EOUKB53E.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AIXH3V5A.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -44,32 +44,8 @@ import { request as httpsRequest } from "https";
|
|
|
44
44
|
import { connect as tlsConnect } from "tls";
|
|
45
45
|
var DNS_TIMEOUT_MS = 1e4;
|
|
46
46
|
var CARES_TIMEOUT_MS = 5e3;
|
|
47
|
-
function ipv4Number(address) {
|
|
48
|
-
return address.split(".").reduce((value, octet) => value * 256 + Number(octet), 0);
|
|
49
|
-
}
|
|
50
|
-
var NON_PUBLIC_IPV4 = [
|
|
51
|
-
["0.0.0.0", 8],
|
|
52
|
-
["10.0.0.0", 8],
|
|
53
|
-
["100.64.0.0", 10],
|
|
54
|
-
["127.0.0.0", 8],
|
|
55
|
-
["169.254.0.0", 16],
|
|
56
|
-
["172.16.0.0", 12],
|
|
57
|
-
["192.0.0.0", 16],
|
|
58
|
-
["192.88.99.0", 24],
|
|
59
|
-
["192.168.0.0", 16],
|
|
60
|
-
["198.18.0.0", 15],
|
|
61
|
-
["198.51.100.0", 24],
|
|
62
|
-
["203.0.113.0", 24],
|
|
63
|
-
["224.0.0.0", 3]
|
|
64
|
-
];
|
|
65
|
-
var NON_PUBLIC_RANGES = NON_PUBLIC_IPV4.map(([network, prefix]) => ({
|
|
66
|
-
start: ipv4Number(network),
|
|
67
|
-
end: ipv4Number(network) + 2 ** (32 - prefix)
|
|
68
|
-
}));
|
|
69
47
|
function isPublicIPv4(address) {
|
|
70
|
-
|
|
71
|
-
const value = ipv4Number(address);
|
|
72
|
-
return !NON_PUBLIC_RANGES.some(({ start, end }) => value >= start && value < end);
|
|
48
|
+
return isIP(address) === 4 && !isBlockedNetworkHost(address);
|
|
73
49
|
}
|
|
74
50
|
function assertPublicHostname(hostname) {
|
|
75
51
|
const host = hostname.toLowerCase().replace(/\.$/, "");
|
|
@@ -8,14 +8,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
8
8
|
// src/utils/jsonFlag.ts
|
|
9
9
|
import { readFileSync } from "fs";
|
|
10
10
|
import { resolve } from "path";
|
|
11
|
-
function
|
|
11
|
+
function decodeJsonText(bytes) {
|
|
12
12
|
if (bytes[0] === 255 && bytes[1] === 254)
|
|
13
13
|
return bytes.toString("utf16le").replace(/^\uFEFF/, "");
|
|
14
14
|
return bytes.toString("utf8").replace(/^\uFEFF/, "");
|
|
15
15
|
}
|
|
16
16
|
var defaultIO = {
|
|
17
|
-
readFile: (path) =>
|
|
18
|
-
readStdin: () =>
|
|
17
|
+
readFile: (path) => decodeJsonText(readFileSync(resolve(path))),
|
|
18
|
+
readStdin: () => decodeJsonText(readFileSync(0))
|
|
19
19
|
};
|
|
20
20
|
var JsonFlagReadError = class extends Error {
|
|
21
21
|
constructor(path, cause) {
|
|
@@ -36,7 +36,10 @@ function isJsonScalar(text) {
|
|
|
36
36
|
}
|
|
37
37
|
var errorText = (error) => error instanceof Error ? error.message : String(error);
|
|
38
38
|
function readJsonFlagText(value, partialIo = {}) {
|
|
39
|
-
const io = {
|
|
39
|
+
const io = {
|
|
40
|
+
readFile: partialIo.readFile ?? defaultIO.readFile,
|
|
41
|
+
readStdin: partialIo.readStdin ?? defaultIO.readStdin
|
|
42
|
+
};
|
|
40
43
|
const trimmed = value.trim();
|
|
41
44
|
if (trimmed.startsWith("{") || trimmed.startsWith("[") || isJsonScalar(trimmed)) return value;
|
|
42
45
|
const source = trimmed === "-" ? "stdin" : value;
|
|
@@ -47,13 +50,14 @@ function readJsonFlagText(value, partialIo = {}) {
|
|
|
47
50
|
}
|
|
48
51
|
}
|
|
49
52
|
var inlineJsonHint = (flag) => `PowerShell strips the quotes from inline JSON; pass a file (${flag} payload.json) or pipe it (${flag} -)`;
|
|
53
|
+
var unreadableJsonHint = (flag, value) => value.includes(":") && !/^\s*[A-Za-z]:[\\/]/.test(value) ? ` (${inlineJsonHint(flag)})` : "";
|
|
50
54
|
function readJsonFlag(flag, value, io) {
|
|
51
55
|
let text;
|
|
52
56
|
try {
|
|
53
57
|
text = readJsonFlagText(value, io);
|
|
54
58
|
} catch (error) {
|
|
55
59
|
if (!(error instanceof JsonFlagReadError)) throw error;
|
|
56
|
-
throw new Error(`Could not read ${flag}: ${error.message}`);
|
|
60
|
+
throw new Error(`Could not read ${flag}: ${error.message}${unreadableJsonHint(flag, value)}`);
|
|
57
61
|
}
|
|
58
62
|
try {
|
|
59
63
|
return JSON.parse(text);
|
|
@@ -64,8 +68,10 @@ function readJsonFlag(flag, value, io) {
|
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
export {
|
|
71
|
+
decodeJsonText,
|
|
67
72
|
JsonFlagReadError,
|
|
68
73
|
readJsonFlagText,
|
|
69
74
|
inlineJsonHint,
|
|
75
|
+
unreadableJsonHint,
|
|
70
76
|
readJsonFlag
|
|
71
77
|
};
|
|
@@ -31,6 +31,9 @@ function parseSlideshowManifest(html) {
|
|
|
31
31
|
function isOptionalNumberArray(v) {
|
|
32
32
|
return v === void 0 || Array.isArray(v) && v.every((n) => typeof n === "number");
|
|
33
33
|
}
|
|
34
|
+
function isOptionalFiniteNumber(v) {
|
|
35
|
+
return v === void 0 || typeof v === "number" && Number.isFinite(v);
|
|
36
|
+
}
|
|
34
37
|
function isOptionalBoolean(v) {
|
|
35
38
|
return v === void 0 || typeof v === "boolean";
|
|
36
39
|
}
|
|
@@ -49,6 +52,7 @@ function isSlideRef(v) {
|
|
|
49
52
|
if (!isRecord(v)) return false;
|
|
50
53
|
const r = v;
|
|
51
54
|
if (typeof r["sceneId"] !== "string") return false;
|
|
55
|
+
if (![r["startTime"], r["endTime"]].every(isOptionalFiniteNumber)) return false;
|
|
52
56
|
if (!isOptionalNumberArray(r["fragments"])) return false;
|
|
53
57
|
if (r["hotspots"] !== void 0 && (!Array.isArray(r["hotspots"]) || !r["hotspots"].every(isSlideHotspot)))
|
|
54
58
|
return false;
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AIXH3V5A.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-EPOGDJTT.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-P5M3AXEP.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BDZSH6P3.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-537WSYHU.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DIXTEVWQ.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D6LGD472.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E5IIR67Q.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KEY2VA65.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RIGSGNDQ.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DSHFKKSZ.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XHD7RKEZ.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GODT7QDZ.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-QOZPWIYV.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-Z5VQBRU2.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
64
64
|
import {
|
|
65
65
|
withRemainingBudget
|
|
66
66
|
} from "./chunk-EHSBBBR2.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-L37AZWB2.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-F6QV5N3A.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-AN4USOFT.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-XC3BGWCJ.js";
|
|
@@ -95,14 +95,14 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-AIXH3V5A.js";
|
|
99
99
|
import {
|
|
100
100
|
lintProject,
|
|
101
101
|
shouldBlockRender
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-VQMHDS2V.js";
|
|
103
103
|
import {
|
|
104
104
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-L55LAERP.js";
|
|
106
106
|
import {
|
|
107
107
|
recordLastCheck
|
|
108
108
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -518,14 +518,13 @@ function readableBlocks(frame, readHeight) {
|
|
|
518
518
|
const block = blocks.get(part.block);
|
|
519
519
|
if (!block) {
|
|
520
520
|
blocks.set(part.block, {
|
|
521
|
-
text: part.
|
|
521
|
+
text: part.blockText,
|
|
522
522
|
rect,
|
|
523
523
|
selector: part.blockSelector,
|
|
524
524
|
sourceFile: part.sourceFile
|
|
525
525
|
});
|
|
526
526
|
continue;
|
|
527
527
|
}
|
|
528
|
-
block.text = `${block.text} ${part.text}`;
|
|
529
528
|
block.rect = {
|
|
530
529
|
left: Math.min(block.rect.left, rect.left),
|
|
531
530
|
top: Math.min(block.rect.top, rect.top),
|
|
@@ -2361,7 +2360,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2361
2360
|
};
|
|
2362
2361
|
}
|
|
2363
2362
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2364
|
-
const module = await import("./checkBrowser-
|
|
2363
|
+
const module = await import("./checkBrowser-3W74WJ26.js");
|
|
2365
2364
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2366
2365
|
}
|
|
2367
2366
|
var adoptedBrowser;
|
|
@@ -2375,7 +2374,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2375
2374
|
if (adopted) return adopted;
|
|
2376
2375
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2377
2376
|
if (html === void 0) return void 0;
|
|
2378
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2377
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-KL4V6ORD.js");
|
|
2379
2378
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2380
2379
|
}
|
|
2381
2380
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2387,11 +2386,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2387
2386
|
return relative(projectDir, path);
|
|
2388
2387
|
}
|
|
2389
2388
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2390
|
-
const module = await import("./checkBrowser-
|
|
2389
|
+
const module = await import("./checkBrowser-3W74WJ26.js");
|
|
2391
2390
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2392
2391
|
}
|
|
2393
2392
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2394
|
-
const module = await import("./checkBrowser-
|
|
2393
|
+
const module = await import("./checkBrowser-3W74WJ26.js");
|
|
2395
2394
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2396
2395
|
}
|
|
2397
2396
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2413,7 +2412,7 @@ function collectMedia(project) {
|
|
|
2413
2412
|
return collectProjectMedia(project.dir);
|
|
2414
2413
|
}
|
|
2415
2414
|
async function inspectAudio(project, media) {
|
|
2416
|
-
const module = await import("./checkAudio-
|
|
2415
|
+
const module = await import("./checkAudio-MAX7JUYG.js");
|
|
2417
2416
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2418
2417
|
}
|
|
2419
2418
|
function audioCheckFailure(project, error) {
|
|
@@ -2487,7 +2486,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2487
2486
|
}
|
|
2488
2487
|
},
|
|
2489
2488
|
async prepareMedia(project, options) {
|
|
2490
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2489
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-MNG2UVH3.js");
|
|
2491
2490
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2492
2491
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2493
2492
|
},
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-52VXA3SC.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T5ELONXY.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/lambda/_dimensions.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AN4USOFT.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NUE44RN2.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VQMHDS2V.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NUE44RN2.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|