hyperframes 0.9.47 → 0.9.49
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-QNGZD4DD.js → add-PALFYN7F.js} +5 -5
- package/dist/{agentPromptGenerator-62YBRRWR.js → agentPromptGenerator-W7YECUWC.js} +3 -2
- package/dist/{animatedGifPrep-MOMPPYA2.js → animatedGifPrep-RGTZSKE4.js} +3 -2
- package/dist/api.js +20 -19
- package/dist/{asset-UCSTQD4V.js → asset-JI35ENTB.js} +2 -2
- package/dist/{assetCataloger-CB55JIVV.js → assetCataloger-A3T63E76.js} +5 -4
- package/dist/{audio-L6RHV5YR.js → audio-PWT3Y4ER.js} +8 -7
- package/dist/{auth-26I37JOQ.js → auth-HVB4YRTT.js} +2 -2
- package/dist/{autoUpdate-IKM2WKSQ.js → autoUpdate-6DLBJZZW.js} +2 -2
- package/dist/{avatars-PZPL5EG2.js → avatars-VKB5R2JP.js} +7 -6
- package/dist/{backgroundChecks-GISZGTXC.js → backgroundChecks-XCMKJT4Z.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-EKU5XXBV.js → beats-C2HOZUAS.js} +4 -4
- package/dist/{benchmark-TPGYG6JW.js → benchmark-TWKPWI27.js} +6 -6
- package/dist/{billing-PECZH526.js → billing-74IFJYAX.js} +4 -4
- package/dist/{browser-W26LDR2J.js → browser-GG3NMOT2.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-OI3E22MQ.js → bundleWithLocalizedFonts-HBFTQBPU.js} +1 -1
- package/dist/{capture-QHWQ2PB2.js → capture-S76Z24SZ.js} +81 -262
- package/dist/{capture-OPWIRIZC.js → capture-ZGZPBEA3.js} +4 -4
- package/dist/{captureCompositionFrame-EYB6LTAG.js → captureCompositionFrame-GX7OQSDA.js} +6 -5
- package/dist/{catalog-D6PL6DN3.js → catalog-U5IHPRJZ.js} +5 -5
- package/dist/{catch-up-SKLAQOCM.js → catch-up-XCQZZDVD.js} +4 -4
- package/dist/{check-QHDE55TC.js → check-ZEG6CTIC.js} +21 -20
- package/dist/{checkAudio-EENVIQJA.js → checkAudio-SAEK5LIU.js} +5 -4
- package/dist/{checkBrowser-SERJXBXN.js → checkBrowser-UDT2ROZ3.js} +15 -14
- package/dist/{chunk-HUMMHYLF.js → chunk-23PJ2IA5.js} +1 -1
- package/dist/{chunk-4KC5DS6S.js → chunk-26UWY6Y7.js} +1 -1
- package/dist/{chunk-E57FGXI2.js → chunk-2HNZSVMA.js} +8 -8
- package/dist/{chunk-YVWL2VBO.js → chunk-2IIKGFO3.js} +1 -1
- package/dist/{chunk-ZOCKADVZ.js → chunk-2KPNFTOV.js} +1 -1
- package/dist/{chunk-BQKVAQLE.js → chunk-2PZSUSHI.js} +2 -2
- package/dist/{chunk-LX4KUCDF.js → chunk-2RNRAB6U.js} +1 -1
- package/dist/{chunk-Y6FRUECL.js → chunk-5TJRJXFQ.js} +1 -1
- package/dist/{chunk-SHNSD75H.js → chunk-6D2TEACV.js} +1 -1
- package/dist/{chunk-GCL4GZVF.js → chunk-6LDIZ4GJ.js} +1 -1
- package/dist/{chunk-3GF2F27E.js → chunk-6OPBJLMM.js} +1 -1
- package/dist/{chunk-RAWVDZVU.js → chunk-6RHYYH7J.js} +2 -2
- package/dist/{chunk-MGDDKISL.js → chunk-6TKGMCMZ.js} +1 -1
- package/dist/{chunk-5PE6556N.js → chunk-7IQ4S5B3.js} +18 -18
- package/dist/{chunk-3FSMDR37.js → chunk-ADY66LYZ.js} +5 -5
- package/dist/{chunk-X3ZA4UCJ.js → chunk-ARKLBIF5.js} +1 -1
- package/dist/{chunk-7LO34MHD.js → chunk-AVND7IBZ.js} +2 -2
- package/dist/{chunk-N4FY2HKI.js → chunk-B2DE7LZ6.js} +2 -2
- package/dist/{chunk-3JFTAIKA.js → chunk-BIFCKMA2.js} +7 -7
- package/dist/{chunk-OBCJMZCW.js → chunk-BLZS4ZNW.js} +1 -1
- package/dist/{chunk-OGCP6FB2.js → chunk-C4YBN5X6.js} +1 -1
- package/dist/{chunk-JLJINOXS.js → chunk-CPKLZATK.js} +2 -2
- package/dist/{chunk-HKXQXP7W.js → chunk-CYWEBM2Q.js} +1 -1
- package/dist/{chunk-P63B2XHE.js → chunk-D6YNLDSQ.js} +2 -2
- package/dist/{chunk-TQGFY4NR.js → chunk-DLRGADJX.js} +1 -1
- package/dist/{chunk-IHRUU5WH.js → chunk-DOFY4D3Q.js} +2 -2
- package/dist/{chunk-T3QQB5EX.js → chunk-DS3IJC74.js} +1 -1
- package/dist/{chunk-FHDIU5ZS.js → chunk-ESO4PNZJ.js} +2 -2
- package/dist/{chunk-XEGFC2UX.js → chunk-FOIT542N.js} +1 -1
- package/dist/{chunk-B7BYBS7G.js → chunk-G5NF5RYM.js} +4 -4
- package/dist/{chunk-ZPRNVEOF.js → chunk-GJUX6ELV.js} +9 -9
- package/dist/{chunk-B4LOHIIR.js → chunk-IDX4AAHE.js} +2 -2
- package/dist/{chunk-IPKKY42Q.js → chunk-IHD5UW2O.js} +1 -1
- package/dist/{chunk-RYBLJK44.js → chunk-IML2Z4HA.js} +31 -11
- package/dist/{chunk-J7XEUHMI.js → chunk-INKZ3QC6.js} +9 -9
- package/dist/{chunk-PLXD7DE2.js → chunk-IS6FYK3E.js} +1 -1
- package/dist/{chunk-2NDIECXH.js → chunk-ISMKLYU5.js} +1 -1
- package/dist/{chunk-6FMUE7ZO.js → chunk-IWZDLLVZ.js} +1 -1
- package/dist/{chunk-3YBNVXEU.js → chunk-IXJNKHSW.js} +2 -2
- package/dist/{chunk-TE3W2M5C.js → chunk-JQPR3J5V.js} +4 -274
- package/dist/{chunk-HDHFXHUG.js → chunk-JZ7MGLDY.js} +1 -1
- package/dist/{chunk-KWFYSZCH.js → chunk-KZYOTTKM.js} +1 -1
- package/dist/{chunk-XG64CLX7.js → chunk-L3IF3ICK.js} +1 -1
- package/dist/{chunk-HZE3LKBA.js → chunk-L4XB67KR.js} +2 -2
- package/dist/{chunk-57LBTIIT.js → chunk-LGXOIEXD.js} +1 -1
- package/dist/chunk-LS2FSESG.js +731 -0
- package/dist/{chunk-DTA5WWXO.js → chunk-MYEVOW4Z.js} +2 -2
- package/dist/{chunk-37AEW3GR.js → chunk-NQW4IK5U.js} +2 -2
- package/dist/{chunk-FWNIFHN5.js → chunk-OT4X3UJO.js} +1 -1
- package/dist/{chunk-YXYRPI4X.js → chunk-PGY4WFKL.js} +1 -1
- package/dist/{chunk-KHK4M5ZI.js → chunk-PKIQ4ZR3.js} +1 -1
- package/dist/{chunk-IJOIZLYK.js → chunk-PNHLR7UQ.js} +4 -4
- package/dist/{chunk-WMHMIMFW.js → chunk-PQFUF5XD.js} +1 -1
- package/dist/{chunk-KWZSUULG.js → chunk-PWMGT73E.js} +2 -2
- package/dist/{chunk-TQIH2UOD.js → chunk-PXYO7CSG.js} +4 -4
- package/dist/{upstreamProxy-W5FWAT5Z.js → chunk-QCAKISPA.js} +0 -11
- package/dist/{chunk-U7W6SW3X.js → chunk-RAIAWYV6.js} +1 -1
- package/dist/{chunk-2KVC32Y3.js → chunk-RWCYIF4C.js} +2 -2
- package/dist/{chunk-PE4MPXIE.js → chunk-S6TSXBWT.js} +3 -3
- package/dist/{chunk-XGHZO74X.js → chunk-SC2UNTNA.js} +2 -2
- package/dist/{chunk-P4CZXQU5.js → chunk-SJLVYPVA.js} +8 -8
- package/dist/{chunk-ZKVC5V7U.js → chunk-SWNYAKJZ.js} +1 -1
- package/dist/{chunk-J25LQS5W.js → chunk-TCNUA5RK.js} +4 -4
- package/dist/{chunk-WOJPS7PK.js → chunk-UDFMNCZR.js} +1 -1
- package/dist/{chunk-WEP7PDVB.js → chunk-UETMAXZF.js} +1 -1
- package/dist/{chunk-VXT4EGLU.js → chunk-UL2P4PMR.js} +1 -1
- package/dist/{chunk-PO3OQ2FP.js → chunk-VC77JQWW.js} +61 -242
- package/dist/{chunk-BVAN2Q5W.js → chunk-W5LEGKUI.js} +3 -3
- package/dist/{chunk-LE3XMWQX.js → chunk-XHLWZTCQ.js} +4 -4
- package/dist/{chunk-SUZQXGUS.js → chunk-Y4CPI5F6.js} +2 -2
- package/dist/{chunk-YLX7EX7Z.js → chunk-YZFBMMY2.js} +1 -1
- package/dist/{chunk-3GSERPDG.js → chunk-YZJSU2XH.js} +4 -4
- package/dist/{clean-ZJIHNP2V.js → clean-XXEL3ZBK.js} +8 -7
- package/dist/cli.js +61 -61
- package/dist/{cloud-7I6NRBUH.js → cloud-XXMDGEMK.js} +4 -4
- package/dist/{compare-3LJ7SO5I.js → compare-JUVSFZRQ.js} +11 -10
- package/dist/{component-MDRAU2EL.js → component-KEJ34SM2.js} +3 -3
- package/dist/{compositions-7WWVFUKL.js → compositions-BF3NDKKG.js} +7 -6
- package/dist/{curve-CV2TEGZL.js → curve-QHLJ452Y.js} +7 -6
- package/dist/{cuts-UUAWNDQJ.js → cuts-VKKXIQPW.js} +8 -7
- package/dist/{delete-FFGW2LXY.js → delete-GEZVZPWY.js} +2 -2
- package/dist/{deploy-CWTKDXLS.js → deploy-ORQ7QDRG.js} +2 -2
- package/dist/{describeProject-EDKWLCSL.js → describeProject-LEBOC6CL.js} +3 -2
- package/dist/{destroy-NOYFGGDD.js → destroy-ANCSST2S.js} +2 -2
- package/dist/{diff-YSHVMJC7.js → diff-5X65JPB2.js} +20 -19
- package/dist/{doctor-4FEE457C.js → doctor-WUL4VESK.js} +7 -6
- package/dist/{energy-POEWTT6O.js → energy-L2VWHVVA.js} +8 -7
- package/dist/{events-FULDXHAM.js → events-3SKWRLOR.js} +2 -2
- package/dist/{events-I4LQF5YH.js → events-5EEASGJC.js} +3 -3
- package/dist/{events-XQQBVMQT.js → events-7FFAOKAE.js} +9 -8
- package/dist/{execute-PM46UN5B.js → execute-6VLBSJWW.js} +13 -12
- package/dist/{extract-RB6GUKDH.js → extract-NW3KYNN4.js} +8 -7
- package/dist/{face-CTNMUSZJ.js → face-4S5NWVNA.js} +8 -7
- package/dist/{feedback-JHSCPZAH.js → feedback-3OW5JVE4.js} +5 -5
- package/dist/{ffmpeg-ZDD7X4NY.js → ffmpeg-64HDYTRA.js} +3 -2
- package/dist/{figma-DOTGYJR2.js → figma-SN5Z2GUZ.js} +3 -3
- package/dist/fontLocalizeCli.js +6 -5
- package/dist/{frames-BA2O2YJD.js → frames-NZNNVA3R.js} +9 -8
- package/dist/{generate-UVYECX6G.js → generate-22O776FD.js} +13 -12
- package/dist/{get-THXXCSQ6.js → get-O6YCY5BU.js} +2 -2
- package/dist/{gpuPolicy-SXWEHK7V.js → gpuPolicy-26UL7BND.js} +3 -2
- package/dist/{grade-compare-H3VNRJQD.js → grade-compare-6JGG6AUM.js} +12 -11
- package/dist/{heifImagePrep-OLZTCTGK.js → heifImagePrep-6ZP77OL4.js} +4 -3
- package/dist/{help-LKHACFHV.js → help-4IHXYFYU.js} +1 -1
- package/dist/{history-6ABMJPFQ.js → history-ACOL6DPJ.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6ID5AKTQ.js → info-MVEC7EO5.js} +9 -8
- package/dist/{init-DMFKWS6X.js → init-YQRSQKD2.js} +19 -18
- package/dist/{ink-TGKWBWHT.js → ink-A63OPAUS.js} +8 -7
- package/dist/{inspect-YV6LZCC5.js → inspect-5FWI42ZE.js} +13 -12
- package/dist/{keyframes-ZAEKCOXL.js → keyframes-4ANCPAXZ.js} +6 -6
- package/dist/{lambda-44XW4CWE.js → lambda-A7UY44ZG.js} +5 -4
- package/dist/{layout-C5ZLVGVK.js → layout-7GGOEVCP.js} +13 -12
- package/dist/{lint-II2XYWFT.js → lint-AYAPUYJA.js} +6 -6
- package/dist/{list-VR64W4L2.js → list-TGPJOBFL.js} +2 -2
- package/dist/{localPage-7ANEOK7B.js → localPage-YJNVGFUR.js} +3 -2
- package/dist/{login-IXGTJPST.js → login-UFEGKTWJ.js} +4 -4
- package/dist/{look-CJTTSIFD.js → look-TS4DMBJZ.js} +8 -7
- package/dist/{manager-W5HFI6EI.js → manager-RN3IP5UM.js} +4 -3
- package/dist/{measure-FSFVXCQ5.js → measure-L2FJMFZQ.js} +11 -11
- package/dist/{media-treatment-2NRQQJKN.js → media-treatment-JB5W5JI4.js} +8 -7
- package/dist/{media-use-IKIIV7TQ.js → media-use-TMR5E5WJ.js} +3 -3
- package/dist/{models-XDVZN6B2.js → models-R5L2ZQFX.js} +7 -6
- package/dist/{motionShot-PJU7NV2G.js → motionShot-FXPW7WFS.js} +8 -7
- package/dist/{normalize-audio-6G5VU5XM.js → normalize-audio-IWEUGFKJ.js} +4 -4
- package/dist/{open-22OQII2X.js → open-YKOIAP7J.js} +4 -4
- package/dist/{parakeetRunner-YOQACWZQ.js → parakeetRunner-BMBL6UGF.js} +8 -7
- package/dist/{pipeline-DFPGGGHW.js → pipeline-HRJ3VN5Z.js} +6 -5
- package/dist/{plan-7IH2XDWA.js → plan-IIQ7SXWV.js} +9 -8
- package/dist/{play-YDY6IZZH.js → play-FPIHIX3E.js} +4 -4
- package/dist/{preflight-EPJE4LO7.js → preflight-4AV5WOGU.js} +4 -3
- package/dist/{present-FFNDXDPP.js → present-4K3VJUM7.js} +4 -4
- package/dist/{preview-KBV5YTCC.js → preview-2NIQ2EBG.js} +9 -8
- package/dist/{probe-ZN5VLXRP.js → probe-O42OCKVH.js} +8 -7
- package/dist/{producer-JIJV6EUA.js → producer-MTQYIIGW.js} +1 -1
- package/dist/publicNetwork-CWKAKZXP.js +38 -0
- package/dist/{publish-P5WEMSFM.js → publish-QU6NA5UG.js} +3 -3
- package/dist/{remove-background-TUJDKW2H.js → remove-background-55RUOFXG.js} +7 -6
- package/dist/{render-IS5W2MXU.js → render-UWWZFXK5.js} +13 -12
- package/dist/{render-KICKIUBU.js → render-WRCZGKUW.js} +21 -20
- package/dist/{reverse-AUPP7FPD.js → reverse-HIJSN6T6.js} +1 -1
- package/dist/{screenshotCapture-WLPWWM4U.js → screenshotCapture-F2G3ASF3.js} +3 -2
- package/dist/{service-WJTJEB5D.js → service-DLHBDMEI.js} +7 -6
- package/dist/{share-62SZB3ZC.js → share-GS3Z4J2Z.js} +10 -9
- package/dist/{sherpa-MCYJFFXG.js → sherpa-VL2QSAMK.js} +7 -6
- package/dist/{skills-WJWBMXTF.js → skills-LXKJRUCF.js} +6 -6
- package/dist/{skillsUpdateCheck-UF27YQL3.js → skillsUpdateCheck-XMFKI3F2.js} +3 -3
- package/dist/{snapshot-EXHFVNL2.js → snapshot-6BVWACEB.js} +19 -18
- package/dist/{src-JYBAAFEQ.js → src-5DALALRV.js} +5 -4
- package/dist/{src-2IOZPMJR.js → src-K6EIKBHK.js} +9 -5
- package/dist/{start-XSG7DSQ2.js → start-GSVOQ7VY.js} +11 -10
- package/dist/{staticProjectServer-FIGDMMOC.js → staticProjectServer-PXZAGXPM.js} +3 -2
- package/dist/{status-PQ2WYRMY.js → status-U532HK6C.js} +4 -4
- package/dist/studio/assets/{hyperframes-player-DTdMXCCs.js → hyperframes-player-DhaQoeHg.js} +1 -1
- package/dist/studio/assets/{index-CdtV6F8j.js → index-DPeGppVA.js} +5 -5
- package/dist/studio/assets/{index-DA5GM2Mj.js → index-qILK-NRY.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-B4OsoiOL.js → pausedVideoDecoder-DqCJ5lI8.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studioServer-R5OHWANQ.js → studioServer-ZDIVHU5Q.js} +27 -26
- package/dist/{sync-LD3KRR6A.js → sync-KXUIN2XW.js} +8 -7
- package/dist/{telemetry-QZ6KSMD7.js → telemetry-BE6NYAAP.js} +3 -3
- package/dist/{templates-LMVSSS6P.js → templates-6DXDZKQT.js} +4 -4
- package/dist/{timeline-RFMWAREC.js → timeline-DYU2RWSB.js} +8 -7
- package/dist/{tokens-5G463QQT.js → tokens-SSWEYFOF.js} +2 -2
- package/dist/{transcribe-7DCWYRRP.js → transcribe-7E653TIR.js} +15 -14
- package/dist/{transcribe-N3NT7EMS.js → transcribe-EHMQS2JF.js} +6 -5
- package/dist/{update-44NG62J2.js → update-5PNT24HU.js} +7 -7
- package/dist/{updateCheck-PEVRHYT2.js → updateCheck-DS6TTOUW.js} +2 -2
- package/dist/{upgrade-YGBOB2HE.js → upgrade-EHJ32IGT.js} +3 -3
- package/dist/{urlDownloader-NBGMT536.js → urlDownloader-6ZROXAQ7.js} +4 -1
- package/dist/{validate-V65Y26SO.js → validate-OPKF4E6C.js} +12 -11
- package/dist/{video-RYUMW6QV.js → video-BRGYDCC2.js} +5 -4
- package/dist/{voices-OBIFVMMB.js → voices-CYPYVEAI.js} +11 -10
- package/dist/warmCheck.js +21 -20
- package/package.json +1 -1
- package/dist/chunk-TSYRN646.js +0 -84
|
@@ -5,7 +5,15 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
browserProxyArgs,
|
|
9
|
+
createPublicOnlyProfile,
|
|
10
|
+
isBlockedNetworkHost,
|
|
11
|
+
logRefusal,
|
|
12
|
+
startCaptureProxy
|
|
13
|
+
} from "./chunk-LS2FSESG.js";
|
|
14
|
+
import {
|
|
15
|
+
removeTreeBestEffort,
|
|
16
|
+
removeTreeBestEffortAsync
|
|
9
17
|
} from "./chunk-Z5J67X44.js";
|
|
10
18
|
import {
|
|
11
19
|
alphaDecoderFor,
|
|
@@ -1091,7 +1099,8 @@ function fingerprintKey(fingerprint) {
|
|
|
1091
1099
|
fingerprint.withoutWaylandDisplay === true,
|
|
1092
1100
|
fingerprint.browserTimeoutMs,
|
|
1093
1101
|
fingerprint.protocolTimeoutMs,
|
|
1094
|
-
fingerprint.requestedCaptureMode
|
|
1102
|
+
fingerprint.requestedCaptureMode,
|
|
1103
|
+
fingerprint.publicOnly ?? null
|
|
1095
1104
|
]);
|
|
1096
1105
|
}
|
|
1097
1106
|
var BrowserLeasePool = class _BrowserLeasePool {
|
|
@@ -1801,7 +1810,10 @@ function createBrowserLaunchFingerprint(chromeArgs, config) {
|
|
|
1801
1810
|
withoutWaylandDisplay: launchConfig.withoutWaylandDisplay === true,
|
|
1802
1811
|
browserTimeoutMs: launchConfig.browserTimeout,
|
|
1803
1812
|
protocolTimeoutMs: launchConfig.protocolTimeout,
|
|
1804
|
-
requestedCaptureMode
|
|
1813
|
+
requestedCaptureMode,
|
|
1814
|
+
publicOnly: resolveRestrictPageNetwork() ? {
|
|
1815
|
+
pageServerHost: launchConfig.pageServerUrl && new URL(launchConfig.pageServerUrl).host
|
|
1816
|
+
} : void 0
|
|
1805
1817
|
};
|
|
1806
1818
|
}
|
|
1807
1819
|
async function acquireBrowser(chromeArgs, config) {
|
|
@@ -1819,11 +1831,30 @@ async function launchInsideSandbox(ppt, options) {
|
|
|
1819
1831
|
return ppt.launch(oneProcessOverPipe(options));
|
|
1820
1832
|
}
|
|
1821
1833
|
}
|
|
1834
|
+
async function publicOnlyNetwork(pageServerHost) {
|
|
1835
|
+
const proxy = await startCaptureProxy(null, logRefusal);
|
|
1836
|
+
try {
|
|
1837
|
+
const userDataDir = await createPublicOnlyProfile("hf-render-profile-");
|
|
1838
|
+
return {
|
|
1839
|
+
args: browserProxyArgs(proxy.url, pageServerHost),
|
|
1840
|
+
userDataDir,
|
|
1841
|
+
async close() {
|
|
1842
|
+
await proxy.close();
|
|
1843
|
+
await removeTreeBestEffortAsync(userDataDir);
|
|
1844
|
+
}
|
|
1845
|
+
};
|
|
1846
|
+
} catch (error) {
|
|
1847
|
+
await proxy.close();
|
|
1848
|
+
throw error;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1822
1851
|
async function launchBrowser(fingerprint) {
|
|
1823
1852
|
const ppt = await getPuppeteer();
|
|
1824
1853
|
const env = launchEnv(fingerprint);
|
|
1825
1854
|
let captureMode = fingerprint.requestedCaptureMode;
|
|
1826
1855
|
let browser;
|
|
1856
|
+
const network = fingerprint.publicOnly ? await publicOnlyNetwork(fingerprint.publicOnly.pageServerHost) : void 0;
|
|
1857
|
+
const browserArgs = network ? [...fingerprint.args, ...network.args] : fingerprint.args;
|
|
1827
1858
|
const launch = (args) => {
|
|
1828
1859
|
let attempted = args;
|
|
1829
1860
|
return launchWithChromeSandboxFallback(args, (launchArgs) => {
|
|
@@ -1833,6 +1864,7 @@ async function launchBrowser(fingerprint) {
|
|
|
1833
1864
|
headless: true,
|
|
1834
1865
|
args: withHyperframesBrowserMarker(launchArgs),
|
|
1835
1866
|
defaultViewport: null,
|
|
1867
|
+
userDataDir: network?.userDataDir,
|
|
1836
1868
|
executablePath: fingerprint.executablePath,
|
|
1837
1869
|
env,
|
|
1838
1870
|
timeout: fingerprint.browserTimeoutMs,
|
|
@@ -1855,7 +1887,7 @@ async function launchBrowser(fingerprint) {
|
|
|
1855
1887
|
timedOut: false
|
|
1856
1888
|
}));
|
|
1857
1889
|
try {
|
|
1858
|
-
browser = await launch(
|
|
1890
|
+
browser = await launch(browserArgs);
|
|
1859
1891
|
const browserVersion = await browser.version().catch(() => "unknown");
|
|
1860
1892
|
const gpuFlags = fingerprint.args.filter(
|
|
1861
1893
|
(a) => a.startsWith("--use-gl=") || a.startsWith("--use-angle=")
|
|
@@ -1871,7 +1903,7 @@ async function launchBrowser(fingerprint) {
|
|
|
1871
1903
|
`[BrowserManager] HeadlessExperimental.beginFrame probe timed out after ${result.durationMs}ms: ${result.detail}; retrying once with a longer budget.`
|
|
1872
1904
|
);
|
|
1873
1905
|
await closeBrowserAfterFailedProbe(browser);
|
|
1874
|
-
browser = await launch(
|
|
1906
|
+
browser = await launch(browserArgs);
|
|
1875
1907
|
result = await probe(browser, BEGINFRAME_PROBE_RETRY_TIMEOUT_MS);
|
|
1876
1908
|
}
|
|
1877
1909
|
if (!result.supported) {
|
|
@@ -1881,13 +1913,15 @@ async function launchBrowser(fingerprint) {
|
|
|
1881
1913
|
`[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${result.durationMs}ms: ${result.detail}; falling back to screenshot mode.`
|
|
1882
1914
|
);
|
|
1883
1915
|
captureMode = "screenshot";
|
|
1884
|
-
browser = await launch([...stripBeginFrameFlags(
|
|
1916
|
+
browser = await launch([...stripBeginFrameFlags(browserArgs), WHOLE_TILE_RASTER_FLAG]);
|
|
1885
1917
|
}
|
|
1886
1918
|
}
|
|
1919
|
+
if (network) browser.once("disconnected", () => void network.close());
|
|
1887
1920
|
return { browser, captureMode };
|
|
1888
1921
|
} catch (error) {
|
|
1889
1922
|
await browser?.close().catch(() => {
|
|
1890
1923
|
});
|
|
1924
|
+
await network?.close();
|
|
1891
1925
|
throw error;
|
|
1892
1926
|
}
|
|
1893
1927
|
}
|
|
@@ -5420,108 +5454,6 @@ async function listFfmpeg(flag) {
|
|
|
5420
5454
|
}
|
|
5421
5455
|
}
|
|
5422
5456
|
|
|
5423
|
-
// ../engine/src/services/pageNetworkPolicy.ts
|
|
5424
|
-
import { lookup } from "dns/promises";
|
|
5425
|
-
import { isIP as isIP2 } from "net";
|
|
5426
|
-
|
|
5427
|
-
// ../engine/src/utils/networkPolicy.ts
|
|
5428
|
-
import { BlockList, isIP } from "net";
|
|
5429
|
-
var NON_PUBLIC_IPV4_ADDRESSES = new BlockList();
|
|
5430
|
-
for (const [network, prefix] of [
|
|
5431
|
-
["0.0.0.0", 8],
|
|
5432
|
-
["10.0.0.0", 8],
|
|
5433
|
-
["100.64.0.0", 10],
|
|
5434
|
-
["127.0.0.0", 8],
|
|
5435
|
-
["169.254.0.0", 16],
|
|
5436
|
-
["172.16.0.0", 12],
|
|
5437
|
-
["192.0.0.0", 24],
|
|
5438
|
-
["192.0.2.0", 24],
|
|
5439
|
-
["192.88.99.0", 24],
|
|
5440
|
-
["192.168.0.0", 16],
|
|
5441
|
-
["198.18.0.0", 15],
|
|
5442
|
-
["198.51.100.0", 24],
|
|
5443
|
-
["203.0.113.0", 24],
|
|
5444
|
-
["224.0.0.0", 4],
|
|
5445
|
-
["240.0.0.0", 4]
|
|
5446
|
-
]) {
|
|
5447
|
-
NON_PUBLIC_IPV4_ADDRESSES.addSubnet(network, prefix, "ipv4");
|
|
5448
|
-
}
|
|
5449
|
-
var NON_PUBLIC_IPV6_ADDRESSES = new BlockList();
|
|
5450
|
-
for (const [network, prefix] of [
|
|
5451
|
-
["::", 128],
|
|
5452
|
-
["::1", 128],
|
|
5453
|
-
["::ffff:0:0", 96],
|
|
5454
|
-
["fc00::", 7],
|
|
5455
|
-
["fe80::", 10],
|
|
5456
|
-
["fec0::", 10],
|
|
5457
|
-
["ff00::", 8],
|
|
5458
|
-
["2001:db8::", 32]
|
|
5459
|
-
]) {
|
|
5460
|
-
NON_PUBLIC_IPV6_ADDRESSES.addSubnet(network, prefix, "ipv6");
|
|
5461
|
-
}
|
|
5462
|
-
function isBlockedNetworkHost(hostname) {
|
|
5463
|
-
const h = hostname.toLowerCase().replace(/\.$/, "").replace(/^\[|\]$/g, "");
|
|
5464
|
-
if (h === "localhost" || h.endsWith(".localhost") || h.endsWith(".local") || h.endsWith(".internal"))
|
|
5465
|
-
return true;
|
|
5466
|
-
const addressType = isIP(h);
|
|
5467
|
-
if (addressType === 0) return false;
|
|
5468
|
-
return addressType === 4 ? NON_PUBLIC_IPV4_ADDRESSES.check(h, "ipv4") : NON_PUBLIC_IPV6_ADDRESSES.check(h, "ipv6");
|
|
5469
|
-
}
|
|
5470
|
-
|
|
5471
|
-
// ../engine/src/services/pageNetworkPolicy.ts
|
|
5472
|
-
var systemResolveHost = async (hostname) => (await lookup(hostname, { all: true, verbatim: true })).map(({ address }) => address);
|
|
5473
|
-
async function hostVerdict(hostname, resolveHost) {
|
|
5474
|
-
const host = hostname.replace(/^\[|\]$/g, "");
|
|
5475
|
-
if (isBlockedNetworkHost(host)) return "non-public";
|
|
5476
|
-
if (isIP2(host)) return "public";
|
|
5477
|
-
let addresses;
|
|
5478
|
-
try {
|
|
5479
|
-
addresses = await resolveHost(host);
|
|
5480
|
-
} catch {
|
|
5481
|
-
return "unresolved";
|
|
5482
|
-
}
|
|
5483
|
-
if (addresses.length === 0) return "unresolved";
|
|
5484
|
-
return addresses.some((a) => isBlockedNetworkHost(a.split("%")[0])) ? "non-public" : "public";
|
|
5485
|
-
}
|
|
5486
|
-
async function restrictPageNetwork(page, allowedOrigin, resolveHost = systemResolveHost) {
|
|
5487
|
-
const own = new URL(allowedOrigin).origin;
|
|
5488
|
-
const verdicts = /* @__PURE__ */ new Map();
|
|
5489
|
-
const forgetFailedLookup = (host, asked, answer) => {
|
|
5490
|
-
if (answer === "unresolved" && verdicts.get(host) === asked) verdicts.delete(host);
|
|
5491
|
-
};
|
|
5492
|
-
const allows = (url) => {
|
|
5493
|
-
let target;
|
|
5494
|
-
try {
|
|
5495
|
-
target = new URL(url);
|
|
5496
|
-
} catch {
|
|
5497
|
-
return Promise.resolve(false);
|
|
5498
|
-
}
|
|
5499
|
-
if (target.origin === own || !/^(https?|wss?):$/.test(target.protocol)) {
|
|
5500
|
-
return Promise.resolve(true);
|
|
5501
|
-
}
|
|
5502
|
-
const host = target.hostname;
|
|
5503
|
-
let verdict = verdicts.get(host);
|
|
5504
|
-
if (!verdict) {
|
|
5505
|
-
const asked = hostVerdict(host, resolveHost);
|
|
5506
|
-
verdicts.set(host, asked);
|
|
5507
|
-
void asked.then((answer) => forgetFailedLookup(host, asked, answer));
|
|
5508
|
-
verdict = asked;
|
|
5509
|
-
}
|
|
5510
|
-
return verdict.then((answer) => answer === "public");
|
|
5511
|
-
};
|
|
5512
|
-
const client = await page.createCDPSession();
|
|
5513
|
-
client.on("Fetch.requestPaused", (event) => {
|
|
5514
|
-
void allows(event.request.url).then((allowed) => {
|
|
5515
|
-
const settled = allowed ? client.send("Fetch.continueRequest", { requestId: event.requestId }) : client.send("Fetch.failRequest", {
|
|
5516
|
-
requestId: event.requestId,
|
|
5517
|
-
errorReason: "BlockedByClient"
|
|
5518
|
-
});
|
|
5519
|
-
return settled.catch(() => void 0);
|
|
5520
|
-
});
|
|
5521
|
-
});
|
|
5522
|
-
await client.send("Fetch.enable", { patterns: [{ urlPattern: "*", requestStage: "Request" }] });
|
|
5523
|
-
}
|
|
5524
|
-
|
|
5525
5457
|
// ../engine/src/utils/renderProvenance.ts
|
|
5526
5458
|
import { readFileSync as readFileSync3 } from "fs";
|
|
5527
5459
|
import { createRequire } from "module";
|
|
@@ -7935,7 +7867,11 @@ async function createCaptureSession(serverUrl, outputDir, options, onBeforeCaptu
|
|
|
7935
7867
|
gpuConfig
|
|
7936
7868
|
);
|
|
7937
7869
|
const withoutWaylandDisplay = await captureWithoutWaylandDisplay(resolvedGpuMode);
|
|
7938
|
-
const browserLease = await acquireBrowser(chromeArgs, {
|
|
7870
|
+
const browserLease = await acquireBrowser(chromeArgs, {
|
|
7871
|
+
...config,
|
|
7872
|
+
withoutWaylandDisplay,
|
|
7873
|
+
pageServerUrl: serverUrl
|
|
7874
|
+
});
|
|
7939
7875
|
return constructCaptureSessionWithRollback({
|
|
7940
7876
|
browserLease,
|
|
7941
7877
|
serverUrl,
|
|
@@ -7985,9 +7921,6 @@ async function constructCaptureSessionWithRollback(input) {
|
|
|
7985
7921
|
throw error;
|
|
7986
7922
|
}
|
|
7987
7923
|
}
|
|
7988
|
-
async function guardPageNetwork(page, serverUrl) {
|
|
7989
|
-
if (resolveRestrictPageNetwork()) await restrictPageNetwork(page, serverUrl);
|
|
7990
|
-
}
|
|
7991
7924
|
async function constructCaptureSession(input) {
|
|
7992
7925
|
const {
|
|
7993
7926
|
browserLease,
|
|
@@ -8004,7 +7937,6 @@ async function constructCaptureSession(input) {
|
|
|
8004
7937
|
const { browser, captureMode } = browserLease;
|
|
8005
7938
|
const page = await browser.newPage();
|
|
8006
7939
|
onPageCreated(page);
|
|
8007
|
-
await guardPageNetwork(page, serverUrl);
|
|
8008
7940
|
const frame = page.mainFrame();
|
|
8009
7941
|
const { CDPSession } = await import("puppeteer-core");
|
|
8010
7942
|
if ("client" in frame && frame.client instanceof CDPSession) {
|
|
@@ -9536,7 +9468,6 @@ async function createStaticVerificationPage(session) {
|
|
|
9536
9468
|
const pageNavigationTimeout = session.config?.pageNavigationTimeout ?? DEFAULT_CONFIG.pageNavigationTimeout;
|
|
9537
9469
|
const pageReadyTimeout = session.config?.playerReadyTimeout ?? DEFAULT_CONFIG.playerReadyTimeout;
|
|
9538
9470
|
try {
|
|
9539
|
-
await guardPageNetwork(page, session.serverUrl);
|
|
9540
9471
|
await page.evaluateOnNewDocument(() => {
|
|
9541
9472
|
const w = window;
|
|
9542
9473
|
if (typeof w.__name !== "function") {
|
|
@@ -12906,7 +12837,7 @@ async function fetchWithValidatedRedirects(initialUrl, controller) {
|
|
|
12906
12837
|
currentUrl = resolveRedirectUrl(response, currentUrl, redirects);
|
|
12907
12838
|
}
|
|
12908
12839
|
}
|
|
12909
|
-
async function
|
|
12840
|
+
async function fetchPublicHttpsBytes(url, options) {
|
|
12910
12841
|
const timeoutMs = options.timeoutMs ?? 15e3;
|
|
12911
12842
|
if (!Number.isSafeInteger(options.maxBytes) || options.maxBytes <= 0) {
|
|
12912
12843
|
throw new RangeError("maxBytes must be a positive safe integer");
|
|
@@ -12933,7 +12864,7 @@ async function fetchPublicHttpsText(url, options) {
|
|
|
12933
12864
|
await cancelResponseBody(response);
|
|
12934
12865
|
throw classifyHttpFailure(response.status);
|
|
12935
12866
|
}
|
|
12936
|
-
if (!response.body) return
|
|
12867
|
+
if (!response.body) return new Uint8Array();
|
|
12937
12868
|
let declaredLength;
|
|
12938
12869
|
try {
|
|
12939
12870
|
declaredLength = parseDeclaredLength(response);
|
|
@@ -12980,7 +12911,7 @@ async function fetchPublicHttpsText(url, options) {
|
|
|
12980
12911
|
{ expectedBytes, receivedBytes }
|
|
12981
12912
|
);
|
|
12982
12913
|
}
|
|
12983
|
-
return
|
|
12914
|
+
return Buffer.concat(chunks.map((chunk) => Buffer.from(chunk)));
|
|
12984
12915
|
} catch (error) {
|
|
12985
12916
|
if (callerAborted) {
|
|
12986
12917
|
throw new UrlDownloadError("cancelled", false, "Text fetch cancelled");
|
|
@@ -12995,6 +12926,9 @@ async function fetchPublicHttpsText(url, options) {
|
|
|
12995
12926
|
controller.abort();
|
|
12996
12927
|
}
|
|
12997
12928
|
}
|
|
12929
|
+
async function fetchPublicHttpsText(url, options) {
|
|
12930
|
+
return new TextDecoder().decode(await fetchPublicHttpsBytes(url, options));
|
|
12931
|
+
}
|
|
12998
12932
|
function parseDeclaredLength(response) {
|
|
12999
12933
|
const raw = response.headers.get("content-length");
|
|
13000
12934
|
if (raw === null) return void 0;
|
|
@@ -15396,7 +15330,7 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
|
|
|
15396
15330
|
shownBoxKey(options.shownBoxes?.get(work.video.id) ?? options.shownBox)
|
|
15397
15331
|
].filter((part) => part !== void 0);
|
|
15398
15332
|
const transform = transformParts.length > 0 ? transformParts.join("+") : void 0;
|
|
15399
|
-
const
|
|
15333
|
+
const lookup = lookupCacheEntry(cacheRootDir, {
|
|
15400
15334
|
videoPath: keyInput.videoPath,
|
|
15401
15335
|
mtimeMs: keyInput.mtimeMs,
|
|
15402
15336
|
size: keyInput.size,
|
|
@@ -15407,14 +15341,14 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
|
|
|
15407
15341
|
format: work.format,
|
|
15408
15342
|
transform
|
|
15409
15343
|
});
|
|
15410
|
-
if (!
|
|
15344
|
+
if (!lookup.hit) {
|
|
15411
15345
|
breakdown.cacheMisses += 1;
|
|
15412
|
-
return { work, cacheTarget: { entry:
|
|
15346
|
+
return { work, cacheTarget: { entry: lookup.entry, srcPath: keyInput.videoPath } };
|
|
15413
15347
|
}
|
|
15414
15348
|
breakdown.cacheHits += 1;
|
|
15415
|
-
touchCacheEntry(
|
|
15349
|
+
touchCacheEntry(lookup.entry);
|
|
15416
15350
|
return {
|
|
15417
|
-
result: rehydratePublishedCache(work, { entry:
|
|
15351
|
+
result: rehydratePublishedCache(work, { entry: lookup.entry, srcPath: keyInput.videoPath })
|
|
15418
15352
|
};
|
|
15419
15353
|
}
|
|
15420
15354
|
async function extractDirectMiss(miss, maxTransientRetries = options.maxTransientRetries ?? 0) {
|
|
@@ -15687,11 +15621,11 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
|
|
|
15687
15621
|
);
|
|
15688
15622
|
await hashContentKeyedSources(worksToLookUp);
|
|
15689
15623
|
for (const work of worksToLookUp) {
|
|
15690
|
-
const
|
|
15691
|
-
if ("work" in
|
|
15692
|
-
cacheMisses.push(
|
|
15624
|
+
const lookup = lookupCacheFor(work);
|
|
15625
|
+
if ("work" in lookup) {
|
|
15626
|
+
cacheMisses.push(lookup);
|
|
15693
15627
|
} else {
|
|
15694
|
-
uniqueOutcomes.set(work.dedupeKey,
|
|
15628
|
+
uniqueOutcomes.set(work.dedupeKey, lookup);
|
|
15695
15629
|
}
|
|
15696
15630
|
}
|
|
15697
15631
|
const supersetPlan = planSupersetGroups(cacheMisses, fps);
|
|
@@ -19856,118 +19790,6 @@ function createFileServer(options) {
|
|
|
19856
19790
|
});
|
|
19857
19791
|
}
|
|
19858
19792
|
|
|
19859
|
-
// ../engine/src/utils/browserSafePort.ts
|
|
19860
|
-
var RESTRICTED_PORTS = /* @__PURE__ */ new Set([
|
|
19861
|
-
1,
|
|
19862
|
-
7,
|
|
19863
|
-
9,
|
|
19864
|
-
11,
|
|
19865
|
-
13,
|
|
19866
|
-
15,
|
|
19867
|
-
17,
|
|
19868
|
-
19,
|
|
19869
|
-
20,
|
|
19870
|
-
21,
|
|
19871
|
-
22,
|
|
19872
|
-
23,
|
|
19873
|
-
25,
|
|
19874
|
-
37,
|
|
19875
|
-
42,
|
|
19876
|
-
43,
|
|
19877
|
-
53,
|
|
19878
|
-
69,
|
|
19879
|
-
77,
|
|
19880
|
-
79,
|
|
19881
|
-
87,
|
|
19882
|
-
95,
|
|
19883
|
-
101,
|
|
19884
|
-
102,
|
|
19885
|
-
103,
|
|
19886
|
-
104,
|
|
19887
|
-
109,
|
|
19888
|
-
110,
|
|
19889
|
-
111,
|
|
19890
|
-
113,
|
|
19891
|
-
115,
|
|
19892
|
-
117,
|
|
19893
|
-
119,
|
|
19894
|
-
123,
|
|
19895
|
-
135,
|
|
19896
|
-
137,
|
|
19897
|
-
139,
|
|
19898
|
-
143,
|
|
19899
|
-
161,
|
|
19900
|
-
179,
|
|
19901
|
-
389,
|
|
19902
|
-
427,
|
|
19903
|
-
465,
|
|
19904
|
-
512,
|
|
19905
|
-
513,
|
|
19906
|
-
514,
|
|
19907
|
-
515,
|
|
19908
|
-
526,
|
|
19909
|
-
530,
|
|
19910
|
-
531,
|
|
19911
|
-
532,
|
|
19912
|
-
540,
|
|
19913
|
-
548,
|
|
19914
|
-
554,
|
|
19915
|
-
556,
|
|
19916
|
-
563,
|
|
19917
|
-
587,
|
|
19918
|
-
601,
|
|
19919
|
-
636,
|
|
19920
|
-
989,
|
|
19921
|
-
990,
|
|
19922
|
-
993,
|
|
19923
|
-
995,
|
|
19924
|
-
1719,
|
|
19925
|
-
1720,
|
|
19926
|
-
1723,
|
|
19927
|
-
2049,
|
|
19928
|
-
3659,
|
|
19929
|
-
4045,
|
|
19930
|
-
5060,
|
|
19931
|
-
5061,
|
|
19932
|
-
6e3,
|
|
19933
|
-
6566,
|
|
19934
|
-
6665,
|
|
19935
|
-
6666,
|
|
19936
|
-
6667,
|
|
19937
|
-
6668,
|
|
19938
|
-
6669,
|
|
19939
|
-
6697,
|
|
19940
|
-
10080
|
|
19941
|
-
]);
|
|
19942
|
-
var MAX_ATTEMPTS = 32;
|
|
19943
|
-
var isBrowserSafePort = (port) => !RESTRICTED_PORTS.has(port);
|
|
19944
|
-
function listenOnce(server, host) {
|
|
19945
|
-
return new Promise((resolve2, reject) => {
|
|
19946
|
-
server.once("error", reject);
|
|
19947
|
-
server.listen(0, host, () => {
|
|
19948
|
-
server.off("error", reject);
|
|
19949
|
-
resolve2(server.address().port);
|
|
19950
|
-
});
|
|
19951
|
-
});
|
|
19952
|
-
}
|
|
19953
|
-
function closeServer(server) {
|
|
19954
|
-
return new Promise((resolve2) => server.close(() => resolve2()));
|
|
19955
|
-
}
|
|
19956
|
-
async function settleOnBrowserSafePort(server, host) {
|
|
19957
|
-
let port = server.address().port;
|
|
19958
|
-
for (let attempt = 1; !isBrowserSafePort(port); attempt++) {
|
|
19959
|
-
if (attempt >= MAX_ATTEMPTS)
|
|
19960
|
-
throw new Error(`The OS kept offering browser-restricted ports (last: ${port}).`);
|
|
19961
|
-
await closeServer(server);
|
|
19962
|
-
port = await listenOnce(server, host);
|
|
19963
|
-
}
|
|
19964
|
-
return port;
|
|
19965
|
-
}
|
|
19966
|
-
async function listenOnBrowserSafePort(server, host) {
|
|
19967
|
-
await listenOnce(server, host);
|
|
19968
|
-
return settleOnBrowserSafePort(server, host);
|
|
19969
|
-
}
|
|
19970
|
-
|
|
19971
19793
|
// ../engine/src/utils/layerCompositor.ts
|
|
19972
19794
|
function groupIntoLayers(elements) {
|
|
19973
19795
|
const sorted = [...elements].sort((a, b) => a.zIndex - b.zIndex);
|
|
@@ -20368,7 +20190,6 @@ export {
|
|
|
20368
20190
|
getFfmpegBinary,
|
|
20369
20191
|
getFfprobeBinary,
|
|
20370
20192
|
assertConfiguredFfmpegBinariesExist,
|
|
20371
|
-
isBlockedNetworkHost,
|
|
20372
20193
|
trackChildProcess,
|
|
20373
20194
|
killTrackedProcesses,
|
|
20374
20195
|
ManagedChildProcess,
|
|
@@ -20480,6 +20301,7 @@ export {
|
|
|
20480
20301
|
writeUrlDownloadTelemetry,
|
|
20481
20302
|
assertPublicHttpsUrl,
|
|
20482
20303
|
_setDownloadFetchForTests,
|
|
20304
|
+
fetchPublicHttpsBytes,
|
|
20483
20305
|
fetchPublicHttpsText,
|
|
20484
20306
|
downloadToTemp,
|
|
20485
20307
|
isHttpUrl,
|
|
@@ -20554,9 +20376,6 @@ export {
|
|
|
20554
20376
|
mergeWorkerFrames,
|
|
20555
20377
|
getSystemResources,
|
|
20556
20378
|
createFileServer,
|
|
20557
|
-
isBrowserSafePort,
|
|
20558
|
-
settleOnBrowserSafePort,
|
|
20559
|
-
listenOnBrowserSafePort,
|
|
20560
20379
|
groupIntoLayers,
|
|
20561
20380
|
diffGpuParityFrames,
|
|
20562
20381
|
diffGpuParityPngs,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-7CLDXOEJ.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6TKGMCMZ.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CYWEBM2Q.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-C4YBN5X6.js";
|
|
28
28
|
import {
|
|
29
29
|
parseWhisperJson
|
|
30
30
|
} from "./chunk-CDNVZEGQ.js";
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BLZS4ZNW.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SC2UNTNA.js";
|
|
16
16
|
import {
|
|
17
17
|
chargedCredits,
|
|
18
18
|
idempotencyKey,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
publicVoices,
|
|
23
23
|
runJob,
|
|
24
24
|
senderScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-L4XB67KR.js";
|
|
26
26
|
import {
|
|
27
27
|
Fix,
|
|
28
28
|
probeSeconds,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
round,
|
|
32
32
|
runFfmpeg,
|
|
33
33
|
videoClip
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ISMKLYU5.js";
|
|
35
35
|
import {
|
|
36
36
|
loadSharp
|
|
37
37
|
} from "./chunk-YTHXSYYB.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IHD5UW2O.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VC77JQWW.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-DE3JRSGT.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
resetTelemetryPostureCache,
|
|
17
17
|
trackEvent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-23PJ2IA5.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthError,
|
|
21
21
|
ErrLoginChanged,
|
|
@@ -3635,9 +3635,9 @@ async function prepareShareRender(dir) {
|
|
|
3635
3635
|
const id = randomUUID9();
|
|
3636
3636
|
const output = join8(folder, `${id}.mp4`);
|
|
3637
3637
|
const [{ createRenderPlan }, { executeRenderPlan }, render] = await Promise.all([
|
|
3638
|
-
import("./plan-
|
|
3639
|
-
import("./execute-
|
|
3640
|
-
import("./render-
|
|
3638
|
+
import("./plan-IIQ7SXWV.js"),
|
|
3639
|
+
import("./execute-6VLBSJWW.js"),
|
|
3640
|
+
import("./render-WRCZGKUW.js")
|
|
3641
3641
|
]);
|
|
3642
3642
|
const target = join8(stateFolder, "share-render.json");
|
|
3643
3643
|
const temporary = `${target}.${id}.tmp`;
|
|
@@ -6,16 +6,16 @@ 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-ADY66LYZ.js";
|
|
10
10
|
import "./chunk-KCPIENND.js";
|
|
11
11
|
import "./chunk-N36NHUGP.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-IWZDLLVZ.js";
|
|
13
13
|
import "./chunk-YTHXSYYB.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-C4YBN5X6.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DS3IJC74.js";
|
|
19
19
|
import "./chunk-67QXALQY.js";
|
|
20
20
|
import "./chunk-MXOWNQCI.js";
|
|
21
21
|
import "./chunk-AOITLZJO.js";
|
|
@@ -51,7 +51,8 @@ import {
|
|
|
51
51
|
directorySizeBytes,
|
|
52
52
|
gcExtractionCache,
|
|
53
53
|
resolveExtractCacheDir
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-VC77JQWW.js";
|
|
55
|
+
import "./chunk-LS2FSESG.js";
|
|
55
56
|
import "./chunk-Z5J67X44.js";
|
|
56
57
|
import "./chunk-5S7W3TUO.js";
|
|
57
58
|
import "./chunk-D54ZDCZR.js";
|
|
@@ -85,7 +86,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
85
86
|
import "./chunk-JOQR4AP6.js";
|
|
86
87
|
import {
|
|
87
88
|
withMeta
|
|
88
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-OT4X3UJO.js";
|
|
89
90
|
import "./chunk-BR2JQQC5.js";
|
|
90
91
|
import "./chunk-AWD2MWWL.js";
|
|
91
92
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -96,7 +97,7 @@ import {
|
|
|
96
97
|
} from "./chunk-66W5IWLO.js";
|
|
97
98
|
import "./chunk-CPHQTXP5.js";
|
|
98
99
|
import "./chunk-QBXDU24O.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-B2DE7LZ6.js";
|
|
100
101
|
import "./chunk-E63BDV4Z.js";
|
|
101
102
|
import "./chunk-LW33P24U.js";
|
|
102
103
|
import "./chunk-XT6MXC7A.js";
|