hyperframes 0.8.202 → 0.8.204
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-YC7QXNDO.js → add-HBFVYKGU.js} +15 -13
- package/dist/{animatedGifPrep-SFHFVFFE.js → animatedGifPrep-VBUKGEZ6.js} +11 -9
- package/dist/api.js +23 -21
- package/dist/{asset-5E5BQ6BR.js → asset-OVLMJY4S.js} +4 -3
- package/dist/{assetCataloger-F6YSU3H6.js → assetCataloger-K4INCLFU.js} +11 -9
- package/dist/{audio-UZKBYVZ5.js → audio-JHW3HLHK.js} +21 -19
- package/dist/{auth-5DWW5DMO.js → auth-RH67KQMZ.js} +1 -1
- package/dist/{autoUpdate-D6HTQGOE.js → autoUpdate-JYR2RW5Z.js} +2 -2
- package/dist/{backgroundChecks-FW4MBBK2.js → backgroundChecks-DPHRM4HJ.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-DXD5THWY.js → batchRender-JFUWZR3M.js} +8 -6
- package/dist/{beats-WRF4CRL7.js → beats-AWAFZGOT.js} +13 -11
- package/dist/{benchmark-NDCR2AAG.js → benchmark-VQCCULJ2.js} +12 -10
- package/dist/{browser-KSG6M66G.js → browser-TT5L7D32.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-GJ2UYZ6E.js → bundleWithLocalizedFonts-EHXEP5ZL.js} +4 -4
- package/dist/{capture-FRVDEVPB.js → capture-5CM2P6CB.js} +14 -12
- package/dist/{capture-DTF47QX3.js → capture-Y7TGR3BI.js} +2 -2
- package/dist/{captureCompositionFrame-IC3MEOJR.js → captureCompositionFrame-LIT6U6C4.js} +16 -15
- package/dist/{catalog-TX3BMPOA.js → catalog-WZN2XB7D.js} +15 -13
- package/dist/{catch-up-YMVIJI2W.js → catch-up-WZMQUW5H.js} +4 -4
- package/dist/{check-2LBOZR6Z.js → check-YVJCDCJS.js} +40 -39
- package/dist/{checkBrowser-56C73ZNX.js → checkBrowser-7V2DGDVD.js} +36 -33
- package/dist/{chunk-24PUQCZO.js → chunk-23RPCDGE.js} +2 -2
- package/dist/{chunk-OJDOYHPQ.js → chunk-2756LXGY.js} +1 -1
- package/dist/chunk-2RY2LWAA.js +3466 -0
- package/dist/{chunk-WAXBJLV6.js → chunk-34VLVDOU.js} +3 -3
- package/dist/{chunk-B7CYKBXQ.js → chunk-3CISA3OS.js} +1 -1
- package/dist/{chunk-ABTBAQDB.js → chunk-3GPDAE3D.js} +1 -1
- package/dist/{chunk-5KPZ4QAS.js → chunk-4CR23IYU.js} +7 -7
- package/dist/{chunk-DMZ3SCCU.js → chunk-4HJMZI4H.js} +140 -31
- package/dist/{chunk-PI256PSW.js → chunk-54FO6TN7.js} +149 -23
- package/dist/{chunk-MO4VKSFT.js → chunk-54K7HW46.js} +1 -1
- package/dist/{chunk-7KGCJQGS.js → chunk-5RJSWYWL.js} +2 -2
- package/dist/{chunk-REUZB3HL.js → chunk-5UW7WCHQ.js} +8 -8
- package/dist/{chunk-LEQU6P6H.js → chunk-65VFH2UV.js} +7 -3
- package/dist/{chunk-QXQ74PYD.js → chunk-6KZY5RSV.js} +2 -2
- package/dist/{chunk-CFUCHO4T.js → chunk-6MUI2H6P.js} +1 -1
- package/dist/{chunk-3HTXEXQ6.js → chunk-6RLP6RDE.js} +1 -1
- package/dist/{chunk-UMGDRGF5.js → chunk-7PRESGFT.js} +3 -3
- package/dist/{chunk-AQLRXGNN.js → chunk-7RB4I2E6.js} +5 -5
- package/dist/{chunk-QZTFCWG7.js → chunk-AII6P2TC.js} +1 -1
- package/dist/{chunk-ANH7DV34.js → chunk-AQS3MMEQ.js} +23 -20
- package/dist/{chunk-DYDFCX4L.js → chunk-CXZDIWMK.js} +1 -1
- package/dist/{chunk-AQVLMH5C.js → chunk-D3EZHD2D.js} +1 -1
- package/dist/{chunk-MS4BAXOQ.js → chunk-D5CAZ7R4.js} +2 -2
- package/dist/{chunk-4OPDZMV6.js → chunk-DBF6LLXB.js} +1 -1
- package/dist/{chunk-IKX2UHEM.js → chunk-DRDG46KK.js} +13 -13
- package/dist/{chunk-JNBHYUEU.js → chunk-DTV3VHFE.js} +5 -5
- package/dist/{chunk-REFMKHRE.js → chunk-EF7R5EBJ.js} +9 -9
- package/dist/{chunk-LMRTEJYY.js → chunk-EUFBE5BW.js} +2 -2
- package/dist/chunk-FR7YBU3H.js +179 -0
- package/dist/{chunk-GZCACSED.js → chunk-GGEA5EHR.js} +1 -1
- package/dist/{chunk-SDYDNHEE.js → chunk-GWTIFRF5.js} +262 -3711
- package/dist/{chunk-QDEZ7LRH.js → chunk-HBDQGIQA.js} +2 -2
- package/dist/{chunk-CV32PRH3.js → chunk-IDASYE4U.js} +5 -3
- package/dist/{chunk-JCS7WFRM.js → chunk-IJ6RY4CH.js} +5 -6
- package/dist/{chunk-PYS6IKKM.js → chunk-KOBPUFCN.js} +1 -1
- package/dist/{chunk-IB6ICAI7.js → chunk-LN5EJMSC.js} +22 -13
- package/dist/{chunk-B2OUZUY5.js → chunk-LVMJXO45.js} +1 -1
- package/dist/{chunk-RFZJGC6V.js → chunk-MSH2F7VW.js} +2 -2
- package/dist/{chunk-NZEASM7M.js → chunk-N3EJG2X4.js} +1 -1
- package/dist/{chunk-PLL6VC4F.js → chunk-NJT6SZGL.js} +1 -1
- package/dist/{chunk-Z4PSJSDF.js → chunk-OPFG563D.js} +3 -3
- package/dist/{chunk-6BNTGNGD.js → chunk-PBNWRWKA.js} +1 -1
- package/dist/{chunk-PZIWSVMO.js → chunk-PLGGKTCB.js} +5 -1
- package/dist/{chunk-FWS2ZWV6.js → chunk-QCQDUQVJ.js} +5 -5
- package/dist/{chunk-73BGPSUW.js → chunk-QWATUGUX.js} +3 -3
- package/dist/{chunk-BU6XD7H2.js → chunk-QZ4HQQYS.js} +2 -2
- package/dist/{chunk-BUIJG2BQ.js → chunk-RFCLI6TW.js} +3 -3
- package/dist/{chunk-CL6ZTNQH.js → chunk-S35XO2ZA.js} +121 -41
- package/dist/{chunk-E3F5L6AB.js → chunk-SVVAUJPL.js} +4 -83
- package/dist/{chunk-B22YBW5W.js → chunk-TAYZSNYS.js} +1 -1
- package/dist/{chunk-QGB5DECO.js → chunk-TBSYUEB7.js} +1 -1
- package/dist/{chunk-J3CZK6PI.js → chunk-TCI4MUT6.js} +1 -1
- package/dist/{chunk-UI7YYCN2.js → chunk-TNOERLC6.js} +3 -3
- package/dist/{chunk-CXTXB2LZ.js → chunk-TQH7BF7K.js} +1 -1
- package/dist/{chunk-TOFL5P27.js → chunk-UKXF4IPA.js} +6 -6
- package/dist/{chunk-COHU6S2X.js → chunk-US6JSQ2L.js} +2 -2
- package/dist/{chunk-L5IKISP2.js → chunk-VC3BMKYO.js} +3 -3
- package/dist/{chunk-NT3L4IMM.js → chunk-VCBZOU7U.js} +1 -1
- package/dist/{chunk-RNLJJDGE.js → chunk-WLD4PX3P.js} +2 -2
- package/dist/{chunk-PH5PJY5Z.js → chunk-WM7GOKEP.js} +2 -2
- package/dist/{chunk-I64A5P5H.js → chunk-WMCGD4XL.js} +3 -3
- package/dist/{chunk-V6MTGX7B.js → chunk-WXAQT63P.js} +3 -3
- package/dist/{chunk-BIV4FVEN.js → chunk-X7XICOVM.js} +1 -1
- package/dist/{chunk-SQNPFWFM.js → chunk-XX5U64F2.js} +2 -2
- package/dist/{chunk-75KIZWAD.js → chunk-Y63CT2ZC.js} +53 -39
- package/dist/{chunk-7J4GQHSG.js → chunk-YIN2JAZE.js} +198 -88
- package/dist/{chunk-KFJMWPZT.js → chunk-YLGRZSH4.js} +1 -1
- package/dist/chunk-YRQPU7SV.js +3983 -0
- package/dist/{chunk-VOKI2HSE.js → chunk-YU53JSUZ.js} +1 -1
- package/dist/{chunk-442JNXRM.js → chunk-ZBAF6L74.js} +1 -1
- package/dist/{chunk-EPZXTQOO.js → chunk-ZBDVKLIU.js} +5 -5
- package/dist/{clean-LFPT6GNS.js → clean-3JE2KYTC.js} +20 -18
- package/dist/cli.js +53 -53
- package/dist/{cloud-XX5XB277.js → cloud-Z54BHP6G.js} +4 -4
- package/dist/{cloudrun-ANWC6QGV.js → cloudrun-4CPQLU5M.js} +10 -8
- package/dist/{compare-CISKXIRF.js → compare-AQMLMTFD.js} +31 -30
- package/dist/{compiler-XYZMBTYR.js → compiler-LIJYMSEL.js} +8 -6
- package/dist/{component-D4JJIDOC.js → component-ZH37EIYB.js} +5 -4
- package/dist/{compositions-UGRTLUBT.js → compositions-DF2FM6YD.js} +18 -16
- package/dist/{delete-TPH7N5PK.js → delete-A3NSK2HH.js} +2 -2
- package/dist/{deploy-ZUXLAVVX.js → deploy-6RC2DXPQ.js} +1 -1
- package/dist/{deterministicFonts-NQ6KL66D.js → deterministicFonts-HQYCUUAL.js} +5 -3
- package/dist/{dist-TFHABY7N.js → dist-6JMYDD7F.js} +4 -3
- package/dist/{dist-UXLDRI4D.js → dist-VSIT3UAX.js} +10 -4
- package/dist/{doctor-LVOS4EDV.js → doctor-RILK4ATO.js} +15 -13
- package/dist/{dom-37K6YOH4.js → dom-VFHEO7VM.js} +3 -2
- package/dist/{events-FIWA6UBT.js → events-B5EKVEPW.js} +3 -3
- package/dist/{events-UHIKJIWA.js → events-SL434XAY.js} +2 -2
- package/dist/{feedback-SPOCVRKJ.js → feedback-S4PC6VAR.js} +11 -9
- package/dist/{ffmpeg-7SDXE5P5.js → ffmpeg-XSDPPZCU.js} +11 -9
- package/dist/{figma-ONGILUUE.js → figma-MV2L6E2Z.js} +3 -3
- package/dist/fontLocalizeCli.js +15 -13
- package/dist/{get-W7ADZ5XS.js → get-ID3Y3PCN.js} +2 -2
- package/dist/{gpuPolicy-GETTDB3G.js → gpuPolicy-2LRMQOAD.js} +11 -9
- package/dist/{grade-compare-YIIQJNL3.js → grade-compare-NV3TKIOO.js} +32 -31
- package/dist/{help-HSKEDFT6.js → help-ZPT23LZ3.js} +1 -1
- package/dist/{history-JS6QALDS.js → history-MZGDX3TR.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-BIIA6M7Q.js → info-FIZ4A54H.js} +14 -12
- package/dist/{init-TGDKBWUY.js → init-WX4MNPL2.js} +32 -30
- package/dist/{inspect-MVMUFUHY.js → inspect-R5KWWKNJ.js} +32 -31
- package/dist/inspection.js +2088 -0
- package/dist/{installer-HITNNXHY.js → installer-CTV5FKYQ.js} +8 -6
- package/dist/{keyframes-XJ7DUUBW.js → keyframes-FAJY5RK5.js} +12 -11
- package/dist/{lambda-4C7APDR5.js → lambda-3MCC2ZH7.js} +11 -9
- package/dist/{layout-O3LEAM7S.js → layout-3RTVYRRN.js} +32 -31
- package/dist/{lint-72FKMBD2.js → lint-ZDCVL7K4.js} +10 -9
- package/dist/{lintProject-Q36Y3AHA.js → lintProject-4IVYXS5J.js} +4 -3
- package/dist/{list-YUK5VA2D.js → list-SBCXW2UT.js} +2 -2
- package/dist/live-LAHBXVK2.js +4165 -0
- package/dist/{login-TXBDKLOH.js → login-VQ2LQ2YG.js} +4 -4
- package/dist/{manager-APB2JLSH.js → manager-ZRF6UXUM.js} +12 -10
- package/dist/{media-treatment-GMP4JL46.js → media-treatment-MFIP7Q4G.js} +18 -16
- package/dist/{models-DW22WMQ5.js → models-OU36YZCT.js} +15 -13
- package/dist/{motionShot-UQJVQT76.js → motionShot-SHDUG7YR.js} +19 -18
- package/dist/{normalize-FASIPBUM.js → normalize-QJVXFMWO.js} +3 -2
- package/dist/{normalize-audio-4KYSZBWI.js → normalize-audio-7RTPEV7Y.js} +13 -11
- package/dist/{open-HNYN6VM2.js → open-HT4RG32S.js} +15 -13
- package/dist/{parakeetRunner-SJ2QW77R.js → parakeetRunner-DOVPZDCH.js} +16 -14
- package/dist/{pipeline-MG2W6NIW.js → pipeline-NIVQ6E2G.js} +12 -10
- package/dist/{play-ZQ6RNKIE.js → play-HPX5SIRQ.js} +23 -21
- package/dist/{preflight-HSQEJNA2.js → preflight-TNYC7EIS.js} +12 -10
- package/dist/{present-7M3W5E3Q.js → present-QSOIMURR.js} +19 -17
- package/dist/{preview-TT5Z6JK6.js → preview-WDO53XKK.js} +22 -20
- package/dist/{producer-B2Y4IKZS.js → producer-G27KP3IY.js} +1 -1
- package/dist/{projectConfig-VZVY6ZZP.js → projectConfig-CP722RCM.js} +10 -8
- package/dist/{publication-SRAYE6LT.js → publication-LCWVBLDN.js} +6 -4
- package/dist/{publish-3QMV3Q7B.js → publish-BIY6LEZ2.js} +14 -12
- package/dist/{remove-background-5GA2S5OI.js → remove-background-NPLZGLZ3.js} +13 -11
- package/dist/{render-WRLXYVSQ.js → render-HHUGUKG6.js} +34 -32
- package/dist/{render-W3VX647V.js → render-IHNAZXA2.js} +10 -8
- package/dist/{render-LN24E3OI.js → render-J57LAXB5.js} +20 -18
- package/dist/{render-batch-C73ELOQ7.js → render-batch-FK26OQ5E.js} +10 -8
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-ALD2ZELQ.js → resolver-FWJXO6DY.js} +8 -6
- package/dist/{sherpa-AHD5UPU3.js → sherpa-BXFJU5EP.js} +15 -13
- package/dist/{skills-WYJGVMR5.js → skills-7XS4HZBC.js} +5 -5
- package/dist/{skillsUpdateCheck-OHEGRQ2N.js → skillsUpdateCheck-MGU5KLR4.js} +3 -3
- package/dist/{snapshot-S6CGQACZ.js → snapshot-O2PMEMKH.js} +37 -36
- package/dist/{src-DAW4JYSR.js → src-OQRG6BT7.js} +10 -8
- package/dist/{src-I6WD5SMQ.js → src-Q4R2YPKA.js} +16 -14
- package/dist/{staticProjectServer-3BFEACQ6.js → staticProjectServer-6OY4VMO6.js} +20 -19
- package/dist/studio/assets/{hyperframes-player-DnrkDR-_.js → hyperframes-player-CttA4PW7.js} +1 -1
- package/dist/studio/assets/{index-BhFxhBMA.js → index-DmST2bTJ.js} +120 -120
- package/dist/studio/assets/{index-WFQeAouT.js → index-DpxSurnJ.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-2O6R4CM5.js → studio-api-YSUTKHV7.js} +13 -11
- package/dist/{studioServer-6ZSAJBVY.js → studioServer-APGEQIW5.js} +51 -50
- package/dist/{telemetry-WFLPGSUG.js → telemetry-3B6EA5IU.js} +3 -3
- package/dist/{timeline-BZJH266Q.js → timeline-QWM6JS4B.js} +24 -22
- package/dist/{tokens-5TX42ZMQ.js → tokens-TKLSP3OQ.js} +4 -3
- package/dist/{transcribe-WPFFLNTS.js → transcribe-PODOCWCC.js} +14 -12
- package/dist/{transcribe-IEYR46HB.js → transcribe-XOPMHJLJ.js} +21 -19
- package/dist/{updateCheck-TESZGKRJ.js → updateCheck-RO6FPYMZ.js} +2 -2
- package/dist/{upgrade-3EW4MYS7.js → upgrade-EVNIL5TZ.js} +2 -2
- package/dist/{urlDownloader-JULHEBLS.js → urlDownloader-F5HYFRA6.js} +10 -8
- package/dist/{validate-RSJPGXUZ.js → validate-NXLFCHGG.js} +26 -25
- package/dist/{video-TW4TSAM4.js → video-ECV2OIQN.js} +11 -9
- package/dist/warmCheck.js +40 -39
- package/package.json +2 -2
- package/dist/chunk-QTGKDF7D.js +0 -3983
|
@@ -4,13 +4,16 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
encode
|
|
9
|
+
} from "./chunk-FR7YBU3H.js";
|
|
7
10
|
import {
|
|
8
11
|
require_lib,
|
|
9
12
|
require_main
|
|
10
13
|
} from "./chunk-DPVXBVLL.js";
|
|
11
14
|
import {
|
|
12
15
|
decodeHTMLAttribute
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2RY2LWAA.js";
|
|
14
17
|
import {
|
|
15
18
|
ancestor,
|
|
16
19
|
full,
|
|
@@ -25,88 +28,6 @@ var recast = __toESM(require_main(), 1);
|
|
|
25
28
|
var import_parser = __toESM(require_lib(), 1);
|
|
26
29
|
import * as acorn from "acorn";
|
|
27
30
|
|
|
28
|
-
// ../../node_modules/.bun/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
29
|
-
var comma = ",".charCodeAt(0);
|
|
30
|
-
var semicolon = ";".charCodeAt(0);
|
|
31
|
-
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
32
|
-
var intToChar = new Uint8Array(64);
|
|
33
|
-
var charToInt = new Uint8Array(128);
|
|
34
|
-
for (let i = 0; i < chars.length; i++) {
|
|
35
|
-
const c = chars.charCodeAt(i);
|
|
36
|
-
intToChar[i] = c;
|
|
37
|
-
charToInt[c] = i;
|
|
38
|
-
}
|
|
39
|
-
function encodeInteger(builder, num, relative) {
|
|
40
|
-
let delta = num - relative;
|
|
41
|
-
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
|
42
|
-
do {
|
|
43
|
-
let clamped = delta & 31;
|
|
44
|
-
delta >>>= 5;
|
|
45
|
-
if (delta > 0) clamped |= 32;
|
|
46
|
-
builder.write(intToChar[clamped]);
|
|
47
|
-
} while (delta > 0);
|
|
48
|
-
return num;
|
|
49
|
-
}
|
|
50
|
-
var bufLength = 1024 * 16;
|
|
51
|
-
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
|
|
52
|
-
decode(buf) {
|
|
53
|
-
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
54
|
-
return out.toString();
|
|
55
|
-
}
|
|
56
|
-
} : {
|
|
57
|
-
decode(buf) {
|
|
58
|
-
let out = "";
|
|
59
|
-
for (let i = 0; i < buf.length; i++) {
|
|
60
|
-
out += String.fromCharCode(buf[i]);
|
|
61
|
-
}
|
|
62
|
-
return out;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var StringWriter = class {
|
|
66
|
-
constructor() {
|
|
67
|
-
this.pos = 0;
|
|
68
|
-
this.out = "";
|
|
69
|
-
this.buffer = new Uint8Array(bufLength);
|
|
70
|
-
}
|
|
71
|
-
write(v) {
|
|
72
|
-
const { buffer } = this;
|
|
73
|
-
buffer[this.pos++] = v;
|
|
74
|
-
if (this.pos === bufLength) {
|
|
75
|
-
this.out += td.decode(buffer);
|
|
76
|
-
this.pos = 0;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
flush() {
|
|
80
|
-
const { buffer, out, pos } = this;
|
|
81
|
-
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
function encode(decoded) {
|
|
85
|
-
const writer = new StringWriter();
|
|
86
|
-
let sourcesIndex = 0;
|
|
87
|
-
let sourceLine = 0;
|
|
88
|
-
let sourceColumn = 0;
|
|
89
|
-
let namesIndex = 0;
|
|
90
|
-
for (let i = 0; i < decoded.length; i++) {
|
|
91
|
-
const line = decoded[i];
|
|
92
|
-
if (i > 0) writer.write(semicolon);
|
|
93
|
-
if (line.length === 0) continue;
|
|
94
|
-
let genColumn = 0;
|
|
95
|
-
for (let j = 0; j < line.length; j++) {
|
|
96
|
-
const segment = line[j];
|
|
97
|
-
if (j > 0) writer.write(comma);
|
|
98
|
-
genColumn = encodeInteger(writer, segment[0], genColumn);
|
|
99
|
-
if (segment.length === 1) continue;
|
|
100
|
-
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
|
|
101
|
-
sourceLine = encodeInteger(writer, segment[2], sourceLine);
|
|
102
|
-
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
|
|
103
|
-
if (segment.length === 4) continue;
|
|
104
|
-
namesIndex = encodeInteger(writer, segment[4], namesIndex);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return writer.flush();
|
|
108
|
-
}
|
|
109
|
-
|
|
110
31
|
// ../../node_modules/.bun/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
|
|
111
32
|
var BitSet = class _BitSet {
|
|
112
33
|
constructor(arg) {
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y63CT2ZC.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-65VFH2UV.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GWTIFRF5.js";
|
|
19
19
|
|
|
20
20
|
// ../producer/src/services/animatedGifPrep.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -6,32 +6,32 @@ 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-TCI4MUT6.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RFCLI6TW.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-34VLVDOU.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-54K7HW46.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TBSYUEB7.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
32
32
|
loadTranscript,
|
|
33
33
|
patchCaptionHtml
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6MUI2H6P.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeErrorMessage
|
|
37
37
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y63CT2ZC.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-OQRG6BT7.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -6,7 +6,7 @@ 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-QZ4HQQYS.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Y63CT2ZC.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-65VFH2UV.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LN5EJMSC.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YRQPU7SV.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -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-IJ6RY4CH.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SVVAUJPL.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/lambda/_dimensions.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
stripEmbeddedRuntimeScripts,
|
|
41
41
|
styleElementsFor,
|
|
42
42
|
warnUnknownEnumValues
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YRQPU7SV.js";
|
|
44
44
|
import {
|
|
45
45
|
cssVariableName
|
|
46
46
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./chunk-OFQWTKPW.js";
|
|
51
51
|
import {
|
|
52
52
|
lintHyperframeHtml
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IDASYE4U.js";
|
|
54
54
|
import {
|
|
55
55
|
CSS_URL_RE,
|
|
56
56
|
checkSubCompositionUsability,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./chunk-2BGOB2QK.js";
|
|
69
69
|
import {
|
|
70
70
|
parseHTML
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-GWTIFRF5.js";
|
|
72
72
|
|
|
73
73
|
// ../core/dist/compiler/htmlCompiler.js
|
|
74
74
|
import { resolve } from "path";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D3EZHD2D.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y63CT2ZC.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
27
|
} from "./chunk-BL4U6U52.js";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-OQRG6BT7.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DBF6LLXB.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-65VFH2UV.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
renderFrameIdForRenderId,
|
|
29
29
|
resolveAuthoredTimingWindow,
|
|
30
30
|
toFps
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-65VFH2UV.js";
|
|
32
32
|
import {
|
|
33
33
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
34
34
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
sourceTimeAt,
|
|
69
69
|
timeAtSourceTime,
|
|
70
70
|
volumeSegmentSampleCount
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-YRQPU7SV.js";
|
|
72
72
|
import {
|
|
73
73
|
redactTelemetryString,
|
|
74
74
|
redactUrlQueryStrings
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from "./chunk-4UMPIPCQ.js";
|
|
87
87
|
import {
|
|
88
88
|
resolveReferencedStart
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-IDASYE4U.js";
|
|
90
90
|
import {
|
|
91
91
|
FFMPEG_PATH_ENV,
|
|
92
92
|
FFPROBE_PATH_ENV,
|
|
@@ -95,13 +95,13 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
isWithinProjectRoot,
|
|
97
97
|
resolveProjectRelativeSrc
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-PBNWRWKA.js";
|
|
99
99
|
import {
|
|
100
100
|
isPathInside
|
|
101
101
|
} from "./chunk-2BGOB2QK.js";
|
|
102
102
|
import {
|
|
103
103
|
parseHTML
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-GWTIFRF5.js";
|
|
105
105
|
import {
|
|
106
106
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
107
107
|
describeWslGpuAccess,
|
|
@@ -1094,22 +1094,32 @@ var BEGINFRAME_ONLY_FLAGS = /* @__PURE__ */ new Set([
|
|
|
1094
1094
|
function stripBeginFrameFlags(args) {
|
|
1095
1095
|
return args.filter((a) => !BEGINFRAME_ONLY_FLAGS.has(a));
|
|
1096
1096
|
}
|
|
1097
|
+
var BeginFrameProbeTimeout = class extends Error {
|
|
1098
|
+
};
|
|
1097
1099
|
var BEGINFRAME_PROBE_TIMEOUT_MS = 2e3;
|
|
1100
|
+
var BEGINFRAME_PROBE_RETRY_TIMEOUT_MS = 8e3;
|
|
1098
1101
|
var BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS = 250;
|
|
1099
1102
|
async function awaitBeforeDeadline(operation, deadline, label) {
|
|
1100
1103
|
const remainingMs = deadline - Date.now();
|
|
1101
1104
|
if (remainingMs <= 0) {
|
|
1102
|
-
throw new
|
|
1105
|
+
throw new BeginFrameProbeTimeout(`beginFrame probe timeout before ${label}`);
|
|
1103
1106
|
}
|
|
1104
|
-
return rejectAfter(
|
|
1107
|
+
return rejectAfter(
|
|
1108
|
+
operation,
|
|
1109
|
+
remainingMs,
|
|
1110
|
+
new BeginFrameProbeTimeout(`beginFrame probe timeout during ${label}`)
|
|
1111
|
+
);
|
|
1105
1112
|
}
|
|
1106
|
-
async function rejectAfter(operation, timeoutMs,
|
|
1113
|
+
async function rejectAfter(operation, timeoutMs, error) {
|
|
1107
1114
|
let timeout;
|
|
1108
1115
|
try {
|
|
1109
1116
|
return await Promise.race([
|
|
1110
1117
|
operation,
|
|
1111
1118
|
new Promise((_, reject) => {
|
|
1112
|
-
timeout = setTimeout(
|
|
1119
|
+
timeout = setTimeout(
|
|
1120
|
+
() => reject(typeof error === "string" ? new Error(error) : error),
|
|
1121
|
+
timeoutMs
|
|
1122
|
+
);
|
|
1113
1123
|
})
|
|
1114
1124
|
]);
|
|
1115
1125
|
} finally {
|
|
@@ -1199,7 +1209,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
|
|
|
1199
1209
|
);
|
|
1200
1210
|
}
|
|
1201
1211
|
if (!isPng) {
|
|
1202
|
-
|
|
1212
|
+
const Failure = bytes.length === 0 ? BeginFrameProbeTimeout : Error;
|
|
1213
|
+
throw new Failure(
|
|
1203
1214
|
`beginFrame screenshot returned ${bytes.length} bytes after ${attempts} attempts in ${Date.now() - started}ms with signature ${bytes.length >= 4 ? bytes.subarray(0, 4).toString("hex") : "<empty>"}`
|
|
1204
1215
|
);
|
|
1205
1216
|
}
|
|
@@ -1214,7 +1225,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
|
|
|
1214
1225
|
result = {
|
|
1215
1226
|
supported: false,
|
|
1216
1227
|
detail: error instanceof Error ? error.message : String(error),
|
|
1217
|
-
durationMs: Date.now() - started
|
|
1228
|
+
durationMs: Date.now() - started,
|
|
1229
|
+
timedOut: error instanceof BeginFrameProbeTimeout
|
|
1218
1230
|
};
|
|
1219
1231
|
}
|
|
1220
1232
|
if (page && !await settleWithin(page.close(), BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS)) {
|
|
@@ -1382,17 +1394,24 @@ async function launchBrowser(fingerprint) {
|
|
|
1382
1394
|
const env = launchEnv(fingerprint);
|
|
1383
1395
|
let captureMode = fingerprint.requestedCaptureMode;
|
|
1384
1396
|
let browser;
|
|
1397
|
+
const launch = (args) => ppt.launch({
|
|
1398
|
+
...sigintLaunchOptions(),
|
|
1399
|
+
headless: true,
|
|
1400
|
+
args: withHyperframesBrowserMarker(args),
|
|
1401
|
+
defaultViewport: null,
|
|
1402
|
+
executablePath: fingerprint.executablePath,
|
|
1403
|
+
env,
|
|
1404
|
+
timeout: fingerprint.browserTimeoutMs,
|
|
1405
|
+
protocolTimeout: fingerprint.protocolTimeoutMs
|
|
1406
|
+
});
|
|
1407
|
+
const probe = (target, timeoutMs) => probeBeginFrameSupport(target, timeoutMs).catch((error) => ({
|
|
1408
|
+
supported: true,
|
|
1409
|
+
detail: `probe harness error ignored: ${error instanceof Error ? error.message : String(error)}`,
|
|
1410
|
+
durationMs: 0,
|
|
1411
|
+
timedOut: false
|
|
1412
|
+
}));
|
|
1385
1413
|
try {
|
|
1386
|
-
browser = await
|
|
1387
|
-
...sigintLaunchOptions(),
|
|
1388
|
-
headless: true,
|
|
1389
|
-
args: withHyperframesBrowserMarker(fingerprint.args),
|
|
1390
|
-
defaultViewport: null,
|
|
1391
|
-
executablePath: fingerprint.executablePath,
|
|
1392
|
-
env,
|
|
1393
|
-
timeout: fingerprint.browserTimeoutMs,
|
|
1394
|
-
protocolTimeout: fingerprint.protocolTimeoutMs
|
|
1395
|
-
});
|
|
1414
|
+
browser = await launch(fingerprint.args);
|
|
1396
1415
|
const browserVersion = await browser.version().catch(() => "unknown");
|
|
1397
1416
|
const gpuFlags = fingerprint.args.filter(
|
|
1398
1417
|
(a) => a.startsWith("--use-gl=") || a.startsWith("--use-angle=")
|
|
@@ -1401,28 +1420,23 @@ async function launchBrowser(fingerprint) {
|
|
|
1401
1420
|
`[BrowserManager] Browser launched (${browserVersion}, ${captureMode}, gl=${gpuFlags.join(" ") || "default"}, headlessShell=${!!fingerprint.executablePath}, platform=${process.platform})`
|
|
1402
1421
|
);
|
|
1403
1422
|
if (captureMode === "beginframe") {
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1423
|
+
let result = await probe(browser);
|
|
1424
|
+
if (!result.supported && result.timedOut) {
|
|
1425
|
+
console.warn(
|
|
1426
|
+
`[BrowserManager] HeadlessExperimental.beginFrame probe timed out after ${result.durationMs}ms: ${result.detail}; retrying once with a longer budget.`
|
|
1427
|
+
);
|
|
1428
|
+
await closeBrowserAfterFailedProbe(browser);
|
|
1429
|
+
browser = await launch(fingerprint.args);
|
|
1430
|
+
result = await probe(browser, BEGINFRAME_PROBE_RETRY_TIMEOUT_MS);
|
|
1431
|
+
}
|
|
1432
|
+
if (!result.supported) {
|
|
1410
1433
|
await closeBrowserAfterFailedProbe(browser);
|
|
1411
1434
|
browser = void 0;
|
|
1412
1435
|
console.warn(
|
|
1413
|
-
`[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${
|
|
1436
|
+
`[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${result.durationMs}ms: ${result.detail}; falling back to screenshot mode.`
|
|
1414
1437
|
);
|
|
1415
1438
|
captureMode = "screenshot";
|
|
1416
|
-
browser = await
|
|
1417
|
-
...sigintLaunchOptions(),
|
|
1418
|
-
headless: true,
|
|
1419
|
-
args: withHyperframesBrowserMarker(stripBeginFrameFlags([...fingerprint.args])),
|
|
1420
|
-
defaultViewport: null,
|
|
1421
|
-
executablePath: fingerprint.executablePath,
|
|
1422
|
-
env,
|
|
1423
|
-
timeout: fingerprint.browserTimeoutMs,
|
|
1424
|
-
protocolTimeout: fingerprint.protocolTimeoutMs
|
|
1425
|
-
});
|
|
1439
|
+
browser = await launch(stripBeginFrameFlags([...fingerprint.args]));
|
|
1426
1440
|
}
|
|
1427
1441
|
}
|
|
1428
1442
|
return { browser, captureMode };
|
|
@@ -7885,7 +7899,7 @@ async function discardWarmupCapture(session, frameIndex = 0, time = 0, innerCapt
|
|
|
7885
7899
|
async function closeCaptureSession(session) {
|
|
7886
7900
|
if (session.chromeMemory) {
|
|
7887
7901
|
session.chromeMemory.stop();
|
|
7888
|
-
await session.chromeMemory.sampleOnce();
|
|
7902
|
+
await waitForCloseWithTimeout(session.chromeMemory.sampleOnce());
|
|
7889
7903
|
}
|
|
7890
7904
|
if (session.page && !session.pageReleased) {
|
|
7891
7905
|
const blur = await describePageMotionBlurAtEnd(session.page);
|