hyperframes 0.8.122 → 0.8.123
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-UDNFUHR7.js → add-CJXLRVWK.js} +14 -14
- package/dist/{animatedGifPrep-2EXOFDLI.js → animatedGifPrep-VHXPTSJL.js} +5 -5
- package/dist/{asset-YFEFDXZV.js → asset-KTRZSJ5R.js} +2 -2
- package/dist/{assetCataloger-NDJSFPJN.js → assetCataloger-NH6UQG4Y.js} +2 -2
- package/dist/{auth-22YSZLEK.js → auth-T52MOHC7.js} +2 -2
- package/dist/{autoUpdate-4OUJ7O3D.js → autoUpdate-EI6JX53V.js} +2 -2
- package/dist/{backgroundChecks-FP5AP654.js → backgroundChecks-7N3FFYIV.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZXQVHWED.js → batchRender-JDH4PXPD.js} +3 -3
- package/dist/{beats-AML5JHGX.js → beats-TG2TOST6.js} +11 -11
- package/dist/{benchmark-6LELU6ZT.js → benchmark-WGXMGPUI.js} +11 -11
- package/dist/{browser-5NUYM6P2.js → browser-VMEADLNK.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-TSGE3UAO.js → bundleWithLocalizedFonts-EDBQ5EME.js} +2 -2
- package/dist/{capture-33BJRABG.js → capture-22IWCYV2.js} +2 -2
- package/dist/{capture-HFYBSASN.js → capture-UZFI2G65.js} +8 -8
- package/dist/{catalog-KZ2PUXHS.js → catalog-3V4SSSYE.js} +14 -14
- package/dist/{check-RJQIUSVM.js → check-LTKOTPFI.js} +30 -30
- package/dist/{checkBrowser-QQZCRUSY.js → checkBrowser-LTZPCRBO.js} +33 -33
- package/dist/{chunk-J22NAGNW.js → chunk-24AS45UQ.js} +29 -14
- package/dist/{chunk-KCJGTEJD.js → chunk-2FH6HOQ2.js} +1 -1
- package/dist/{chunk-C477PVA2.js → chunk-2QAAOW5T.js} +1 -1
- package/dist/{chunk-NA2DKY3M.js → chunk-3SHYUYXR.js} +9 -9
- package/dist/{chunk-QR77QVIT.js → chunk-3V6V66SZ.js} +2 -2
- package/dist/{chunk-OHJGKETC.js → chunk-4EZKLNMD.js} +1 -1
- package/dist/{chunk-26LWC4RP.js → chunk-4TIUZ6Z7.js} +2 -2
- package/dist/{chunk-VFZICECI.js → chunk-4XAAOWFC.js} +1 -1
- package/dist/chunk-53IO4HLZ.js +3541 -0
- package/dist/{chunk-XIZHC6UO.js → chunk-73KPBRCO.js} +1 -1
- package/dist/{chunk-OZ4V6VQ2.js → chunk-7NWNDQID.js} +3 -3
- package/dist/{chunk-JD3C44FP.js → chunk-AICUP6TU.js} +1 -1
- package/dist/chunk-AMV2OPXR.js +82 -0
- package/dist/{chunk-2CYCP3AY.js → chunk-BET5FXMM.js} +1 -1
- package/dist/{chunk-74G66BSC.js → chunk-CZRQH5SP.js} +1 -1
- package/dist/{chunk-NUWXK2NW.js → chunk-DR7F77AN.js} +1 -1
- package/dist/{chunk-TV2LRJVK.js → chunk-E26WHQFM.js} +2 -2
- package/dist/{chunk-SSOJUJFQ.js → chunk-EJF6CESB.js} +1 -1
- package/dist/{chunk-EBODC6OT.js → chunk-ELHC6CLH.js} +3 -3
- package/dist/{chunk-OQ6HLIYU.js → chunk-EYNWMEWX.js} +9 -9
- package/dist/{chunk-2BMZEUGD.js → chunk-GPUM6BRL.js} +1 -1
- package/dist/{chunk-KJHOYQ2T.js → chunk-HISVSZH7.js} +2 -2
- package/dist/{chunk-EB5XYJBZ.js → chunk-ILOJE2TE.js} +1 -1
- package/dist/{chunk-X6SS5FWY.js → chunk-IML47HIH.js} +7 -7
- package/dist/{chunk-Y6WM6GY3.js → chunk-IOMMM4AX.js} +1 -1
- package/dist/{chunk-A6DWJRHP.js → chunk-KQ7BAEVP.js} +2 -2
- package/dist/{chunk-ABMHBIWX.js → chunk-MBSCHJQZ.js} +1 -1
- package/dist/{chunk-BGYDTAYR.js → chunk-MUAFAG77.js} +4 -4
- package/dist/{chunk-JQPICVXM.js → chunk-OCH6V4FB.js} +2 -2
- package/dist/{chunk-ZIPAUKTK.js → chunk-PQQZNS5K.js} +1 -1
- package/dist/{chunk-5KTDZVF3.js → chunk-PUFPAYTJ.js} +1 -1
- package/dist/{chunk-7T6RZSKP.js → chunk-QLKCB3NY.js} +7 -7
- package/dist/{chunk-UUI2OMI7.js → chunk-RTINVJNS.js} +1 -1
- package/dist/{chunk-LQBR4IC7.js → chunk-RYP46ARK.js} +1 -1
- package/dist/{chunk-UQR6DWPM.js → chunk-S3JOM6L4.js} +3 -3
- package/dist/{chunk-3VG4A22C.js → chunk-SKZ6H3JT.js} +1 -1
- package/dist/{chunk-VP4IJ3NC.js → chunk-TLA5RBEB.js} +1 -1
- package/dist/{chunk-FD5UEKRP.js → chunk-UI2I6ZQE.js} +1 -1
- package/dist/{chunk-DQKPTQEA.js → chunk-UMMVYWDI.js} +5 -5
- package/dist/{chunk-MOPVB4VL.js → chunk-VEGNMQZI.js} +2 -2
- package/dist/{chunk-NKS75GFI.js → chunk-WAD4ACBZ.js} +2 -2
- package/dist/{chunk-ZTWFHWRR.js → chunk-XIJTGR4O.js} +1 -1
- package/dist/{chunk-DNIJ7MH6.js → chunk-XQSMY5HF.js} +2 -2
- package/dist/{chunk-Q4GCD5WE.js → chunk-Z3SUEG2T.js} +5 -5
- package/dist/{clean-QXMDWVYB.js → clean-YZQXCSXZ.js} +14 -14
- package/dist/cli.js +52 -51
- package/dist/{cloud-WTPVHGBP.js → cloud-TYUXSEGA.js} +4 -4
- package/dist/{cloudrun-JFN7W6XI.js → cloudrun-MA2JVRHV.js} +3 -3
- package/dist/{compare-CCDZEHTS.js → compare-6DSDY2IF.js} +24 -24
- package/dist/{compiler-DNZFJIKO.js → compiler-4FHYKPNR.js} +2 -2
- package/dist/{component-OSVQHEQJ.js → component-NY4JERQ5.js} +3 -3
- package/dist/{compositions-CCMN5HAA.js → compositions-SI2SKZAF.js} +10 -10
- package/dist/{delete-ZE7Z7SDY.js → delete-YU7XRF6M.js} +2 -2
- package/dist/{dist-Z7QP5AQY.js → dist-AMQZTIJP.js} +2 -2
- package/dist/{doctor-KKRGCPV3.js → doctor-MXX7AHXT.js} +9 -9
- package/dist/{events-YN5EY7O7.js → events-LLCZN2LK.js} +8 -8
- package/dist/{events-WJKCFVF7.js → events-R5N3EVAF.js} +7 -7
- package/dist/{feedback-DHLYWTNU.js → feedback-MIZ3HJT4.js} +9 -9
- package/dist/{figma-KCTT7ELR.js → figma-4ESVBLHH.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-XCGOGN53.js → get-OF3I77OW.js} +2 -2
- package/dist/{gpuPolicy-J5CPE3TK.js → gpuPolicy-KDI7HVOA.js} +5 -5
- package/dist/{grade-compare-FBX5S77X.js → grade-compare-QXE4ZEZU.js} +24 -24
- package/dist/{help-6TQVEU2Q.js → help-NFHZFSQN.js} +3 -2
- package/dist/{history-PPDOAO2Z.js → history-DTRCFREW.js} +14 -14
- package/dist/hyperframe-runtime.js +50 -50
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +50 -50
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-42EBGTUI.js → info-KRDLMYKB.js} +10 -10
- package/dist/{init-SERRMFRH.js → init-XTXSP6IU.js} +21 -21
- package/dist/{inspect-6TEDC7QZ.js → inspect-KH3CTX62.js} +25 -25
- package/dist/{installer-C47R4ZSU.js → installer-M5OHZ3QU.js} +4 -4
- package/dist/{keyframes-BNLMFEWU.js → keyframes-K5UWQDSW.js} +11 -11
- package/dist/{lambda-DGWKFO3L.js → lambda-PXGK25LH.js} +4 -4
- package/dist/{layout-PMYXB4ZJ.js → layout-SYWCNF2S.js} +25 -25
- package/dist/{lint-DDNL3QQ5.js → lint-A5W6BCKC.js} +11 -11
- package/dist/{list-VCELX3BO.js → list-CXWE53HJ.js} +2 -2
- package/dist/{login-WC4YD67C.js → login-WUPTUIG2.js} +4 -4
- package/dist/{media-treatment-4QGIOHQR.js → media-treatment-INJWEP6H.js} +11 -11
- package/dist/{models-UTVBFNKD.js → models-D5CMY6VB.js} +6 -6
- package/dist/{motionShot-3WDJAW4C.js → motionShot-HS4M4WOQ.js} +11 -11
- package/dist/{normalize-audio-ZXESA45N.js → normalize-audio-ILF3IDZC.js} +10 -10
- package/dist/open-4V3RXCR6.js +115 -0
- package/dist/{pipeline-DRXU55OB.js → pipeline-CPGRA375.js} +5 -5
- package/dist/{play-AUEOCKY3.js → play-IFATKPFL.js} +19 -19
- package/dist/{preflight-OJJZVHWE.js → preflight-IQEYFD33.js} +6 -6
- package/dist/{present-7JZQMSSU.js → present-A3EXMPEB.js} +15 -15
- package/dist/{preview-3AMXHHVS.js → preview-6OFPNSRQ.js} +27 -22
- package/dist/{producer-QI55RCFB.js → producer-T4HGO327.js} +1 -1
- package/dist/{projectConfig-EJNHN452.js → projectConfig-VKUAJTKN.js} +6 -6
- package/dist/{publication-SH4OD64P.js → publication-EYW5DW5Q.js} +2 -2
- package/dist/{publish-2B5LKGKK.js → publish-7N3KAN23.js} +7 -7
- package/dist/{remove-background-EJ4SPMBK.js → remove-background-76NDLWX2.js} +6 -6
- package/dist/{render-GWIDYUYW.js → render-FVVTP6IC.js} +11 -11
- package/dist/{render-JRYEUEAR.js → render-SGKRP4OI.js} +41 -23
- package/dist/{render-Y4OQV7BU.js → render-WWSM5VDX.js} +3 -3
- package/dist/{render-batch-3F43JEX2.js → render-batch-UHVLIDQ6.js} +3 -3
- package/dist/{renderCancellation-WUM56H5O.js → renderCancellation-TZ2YQXLI.js} +5 -5
- package/dist/{resolver-WHBQ7QFS.js → resolver-BERTN5TY.js} +4 -4
- package/dist/{sherpa-5OYOKOOP.js → sherpa-WAI3BU35.js} +6 -6
- package/dist/{skills-JKBN3CQS.js → skills-4J56N4BF.js} +10 -10
- package/dist/{skillsUpdateCheck-KUYRATKA.js → skillsUpdateCheck-GPLLGZTN.js} +3 -3
- package/dist/{snapshot-M7FF5DBZ.js → snapshot-XPPNHMIG.js} +25 -25
- package/dist/{src-7NUMTCMB.js → src-6ZDBAHYH.js} +6 -6
- package/dist/{src-S7FSBDSO.js → src-K6L2URKG.js} +4 -4
- package/dist/{staticProjectServer-AQFAOUJX.js → staticProjectServer-ETIXS3GJ.js} +13 -13
- package/dist/{status-55DDWDMV.js → status-P2I66DU7.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-DMzBHhbH.js → hyperframes-player-yABdb6yk.js} +1 -1
- package/dist/studio/assets/{index-lyjhSEzi.js → index-D77MIjSJ.js} +1 -1
- package/dist/studio/assets/{index-CBRX2eZX.js → index-DWjF2Kxw.js} +1 -1
- package/dist/studio/assets/{index-B-YDp8hN.js → index-Dt7lWtY7.js} +146 -146
- package/dist/studio/assets/{index-t1LH6H5H.css → index-LrNlT5Tg.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +1195 -1009
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/styles.css +1 -1
- package/dist/{studio-api-7RBB3E3E.js → studio-api-PTVN2GZ5.js} +7 -7
- package/dist/{studioServer-5FPPFWL6.js → studioServer-55366NG4.js} +72 -37
- package/dist/{system-BQ72Y6YD.js → system-M44QRAAZ.js} +5 -5
- package/dist/{telemetry-OIX76XCZ.js → telemetry-6GQL3BIP.js} +8 -8
- package/dist/{timeline-JWDLDSVO.js → timeline-NMG3JG3V.js} +14 -14
- package/dist/{tokens-HZKAUSHK.js → tokens-5LYIBBEF.js} +2 -2
- package/dist/{transcribe-AQSGSWXV.js → transcribe-3SONDYLT.js} +6 -6
- package/dist/{transcribe-G2HSKAJN.js → transcribe-4DGPFZTU.js} +11 -11
- package/dist/{tts-P3LIPIL5.js → tts-CGUXR7R4.js} +1 -1
- package/dist/{updateCheck-Y6ICSKXS.js → updateCheck-CXNND3CL.js} +2 -2
- package/dist/{upgrade-XU35HZ7O.js → upgrade-RFTKDIVZ.js} +2 -2
- package/dist/{urlDownloader-V7FRXT7U.js → urlDownloader-VRZX26OK.js} +4 -4
- package/dist/{validate-J2D2ZRPB.js → validate-3BFHVVZH.js} +15 -15
- package/dist/{video-MZPB3UAC.js → video-ECPRKRRP.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-C6MUZ4T2.js +0 -3541
- package/dist/{synthesize-K62TIZWI.js → synthesize-BDXNRYZN.js} +4 -4
|
@@ -4,25 +4,25 @@ 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
|
+
auditClipDurations,
|
|
9
|
+
shouldIgnoreHttpError,
|
|
10
|
+
shouldIgnoreRequestFailure
|
|
11
|
+
} from "./chunk-EYNWMEWX.js";
|
|
7
12
|
import {
|
|
8
13
|
rectToBbox
|
|
9
14
|
} from "./chunk-WBLXWOYK.js";
|
|
10
15
|
import {
|
|
11
16
|
ambiguousIssue,
|
|
12
17
|
loadBrowserScript
|
|
13
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3SHYUYXR.js";
|
|
14
19
|
import {
|
|
15
20
|
serveStaticProjectHtml
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
auditClipDurations,
|
|
19
|
-
shouldIgnoreHttpError,
|
|
20
|
-
shouldIgnoreRequestFailure
|
|
21
|
-
} from "./chunk-OQ6HLIYU.js";
|
|
21
|
+
} from "./chunk-ELHC6CLH.js";
|
|
22
22
|
import "./chunk-XUHOIDKG.js";
|
|
23
23
|
import "./chunk-X7MTZ4T2.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-HISVSZH7.js";
|
|
25
|
+
import "./chunk-UI2I6ZQE.js";
|
|
26
26
|
import {
|
|
27
27
|
AUDIT_SEEK_OPTIONS,
|
|
28
28
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -34,54 +34,54 @@ import {
|
|
|
34
34
|
resolveCliChromeGpuMode,
|
|
35
35
|
seekCompositionTimeline,
|
|
36
36
|
waitForPreferredSeekTarget
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z3SUEG2T.js";
|
|
38
38
|
import "./chunk-5Z63TBTX.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-SKZ6H3JT.js";
|
|
40
|
+
import "./chunk-2QAAOW5T.js";
|
|
41
41
|
import "./chunk-YEIFI443.js";
|
|
42
42
|
import "./chunk-IHFUKJOR.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-24AS45UQ.js";
|
|
44
|
+
import "./chunk-OCH6V4FB.js";
|
|
45
45
|
import "./chunk-EOVYQ3IG.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-IOMMM4AX.js";
|
|
47
47
|
import {
|
|
48
48
|
decideMediaProxyEligibility,
|
|
49
49
|
proxyVariantFor,
|
|
50
50
|
resolveProxy,
|
|
51
51
|
scanProjectMediaCodecMap
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-GPUM6BRL.js";
|
|
53
|
+
import "./chunk-4XAAOWFC.js";
|
|
54
54
|
import "./chunk-PFCFR3KZ.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveAutoProxy
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-MBSCHJQZ.js";
|
|
58
58
|
import "./chunk-XT7X6QCP.js";
|
|
59
59
|
import "./chunk-4YYJOFKS.js";
|
|
60
60
|
import "./chunk-HVW7ABXD.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-BET5FXMM.js";
|
|
62
|
+
import "./chunk-E26WHQFM.js";
|
|
63
|
+
import "./chunk-XIJTGR4O.js";
|
|
64
64
|
import "./chunk-AWDFDFI3.js";
|
|
65
65
|
import "./chunk-P6LJ4Y32.js";
|
|
66
66
|
import "./chunk-GMECXFAN.js";
|
|
67
67
|
import "./chunk-NSVHO5LZ.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-7NWNDQID.js";
|
|
69
|
+
import "./chunk-S3JOM6L4.js";
|
|
70
70
|
import "./chunk-VWG7OQKU.js";
|
|
71
71
|
import "./chunk-ZTZA4UWZ.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-ILOJE2TE.js";
|
|
73
73
|
import "./chunk-AMKC3AXA.js";
|
|
74
74
|
import "./chunk-S3S4TGEH.js";
|
|
75
75
|
import "./chunk-54HJ63Q2.js";
|
|
76
76
|
import "./chunk-PBN6GBJE.js";
|
|
77
77
|
import "./chunk-KC5XXX3X.js";
|
|
78
78
|
import "./chunk-TJSTGSAW.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-WAD4ACBZ.js";
|
|
80
|
+
import "./chunk-TLA5RBEB.js";
|
|
81
81
|
import "./chunk-F7MXHGU3.js";
|
|
82
82
|
import "./chunk-DPVXBVLL.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-RYP46ARK.js";
|
|
84
|
+
import "./chunk-53IO4HLZ.js";
|
|
85
85
|
import "./chunk-VC76R6W2.js";
|
|
86
86
|
import "./chunk-OFQWTKPW.js";
|
|
87
87
|
import "./chunk-TWWSYAKJ.js";
|
|
@@ -91,12 +91,12 @@ import "./chunk-PJ3HDUCY.js";
|
|
|
91
91
|
import "./chunk-TQFG7HTI.js";
|
|
92
92
|
import "./chunk-GK4AIFIH.js";
|
|
93
93
|
import "./chunk-2PSPARWP.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-CZRQH5SP.js";
|
|
95
95
|
import "./chunk-K4WIOZFP.js";
|
|
96
96
|
import "./chunk-XUXGIA7H.js";
|
|
97
97
|
import "./chunk-WERLJGIC.js";
|
|
98
98
|
import "./chunk-ISN5GRYI.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-XQSMY5HF.js";
|
|
100
100
|
import {
|
|
101
101
|
normalizeErrorMessage
|
|
102
102
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -139,7 +139,7 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
139
139
|
);
|
|
140
140
|
}
|
|
141
141
|
async function runBrowserCheck(project, options, motion, runGrid) {
|
|
142
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
142
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EDBQ5EME.js");
|
|
143
143
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
144
144
|
await preResolveHostileMediaProxies(project.dir, html, options.autoProxy);
|
|
145
145
|
const server = await serveStaticProjectHtml(
|
|
@@ -166,7 +166,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
|
|
|
166
166
|
await waitForPreferredSeekTarget(page);
|
|
167
167
|
const rootAnchor = await resolveRootAnchor(page);
|
|
168
168
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
169
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
169
|
+
const { analyzeClipMediaFit } = await import("./src-K6L2URKG.js");
|
|
170
170
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
171
171
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
172
172
|
}
|
|
@@ -186,7 +186,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
|
|
|
186
186
|
}
|
|
187
187
|
async function captureFindingCrops(project, options, requests) {
|
|
188
188
|
if (requests.length === 0) return [];
|
|
189
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
189
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EDBQ5EME.js");
|
|
190
190
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
191
191
|
const server = await serveStaticProjectHtml(
|
|
192
192
|
project.dir,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
splitElementInHtml,
|
|
22
22
|
unwrapElementsFromHtml,
|
|
23
23
|
wrapElementsInHtml
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OCH6V4FB.js";
|
|
25
25
|
import {
|
|
26
26
|
atomicTempPath,
|
|
27
27
|
createFileAtomically,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
measureAudio,
|
|
35
35
|
requiredFfmpeg,
|
|
36
36
|
resolveLocalAudioPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IOMMM4AX.js";
|
|
38
38
|
import {
|
|
39
39
|
PROXY_PARAMS_VERSION,
|
|
40
40
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
shouldPrewarmProxy,
|
|
61
61
|
waitForProxy,
|
|
62
62
|
walkDir
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-GPUM6BRL.js";
|
|
64
64
|
import {
|
|
65
65
|
findTimelineScript,
|
|
66
66
|
parseGsapScriptAcorn
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
motionPathPluginUrl,
|
|
82
82
|
parseFps,
|
|
83
83
|
sameInstant
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-TLA5RBEB.js";
|
|
85
85
|
import {
|
|
86
86
|
MagicString,
|
|
87
87
|
VALID_CANVAS_RESOLUTIONS,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
addScenePartsManifest,
|
|
93
93
|
deferScriptsUntilFonts,
|
|
94
94
|
ensureHfIds
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-RYP46ARK.js";
|
|
96
96
|
import {
|
|
97
97
|
findStartTags,
|
|
98
98
|
injectTagsAtHeadStart,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
resolveRateSpec,
|
|
102
102
|
sourceTimeAt,
|
|
103
103
|
stripEmbeddedRuntimeScripts
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-53IO4HLZ.js";
|
|
105
105
|
import {
|
|
106
106
|
ProjectRootMissingError,
|
|
107
107
|
folderGone,
|
|
@@ -219,7 +219,7 @@ function stampFileHfIds(filePath) {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
// ../studio-server/dist/chunk-
|
|
222
|
+
// ../studio-server/dist/chunk-VT433QV2.js
|
|
223
223
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
224
224
|
import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, writeFile } from "fs/promises";
|
|
225
225
|
import {
|
|
@@ -985,6 +985,17 @@ var OUTSIDE = { kind: "outside", name: "Outside" };
|
|
|
985
985
|
var OUTSIDE_LABEL = "Changed outside the app";
|
|
986
986
|
var RACY_MS = 2e3;
|
|
987
987
|
var statKey = (file, sweptAt) => sweptAt - Math.max(file.mtimeMs, file.ctimeMs) < RACY_MS ? "" : `${file.size}:${file.mtimeMs}:${file.ctimeMs}`;
|
|
988
|
+
function isHistoryPath(path) {
|
|
989
|
+
if (STUDIO_SIGNATURE_MANIFEST_PATHS.includes(path)) return true;
|
|
990
|
+
return !path.split("/").some((segment) => segment.startsWith("."));
|
|
991
|
+
}
|
|
992
|
+
function withoutHiddenPaths(log) {
|
|
993
|
+
for (const path of log.baseline.keys()) if (!isHistoryPath(path)) log.baseline.delete(path);
|
|
994
|
+
for (const entry of log.entries)
|
|
995
|
+
entry.files = entry.files.filter((file) => isHistoryPath(file.path));
|
|
996
|
+
return log;
|
|
997
|
+
}
|
|
998
|
+
var historyFiles = (dir) => listProjectFiles(dir).filter((file) => isHistoryPath(file.path));
|
|
988
999
|
var sameWho = (a, b) => a.kind === b.kind && a.name === b.name;
|
|
989
1000
|
function splitAt(change, at, kept) {
|
|
990
1001
|
if (at === change.after) return [change, null];
|
|
@@ -1128,7 +1139,7 @@ var Engine = class {
|
|
|
1128
1139
|
)
|
|
1129
1140
|
);
|
|
1130
1141
|
if (!log) return this.firstOpen();
|
|
1131
|
-
this.log = log;
|
|
1142
|
+
this.log = withoutHiddenPaths(log);
|
|
1132
1143
|
const cache = this.readStatCache();
|
|
1133
1144
|
const last = this.log.entries.at(-1)?.id ?? START;
|
|
1134
1145
|
for (const [path, hash] of manifestAt(this.log, last) ?? []) {
|
|
@@ -1146,6 +1157,7 @@ var Engine = class {
|
|
|
1146
1157
|
const replaced = hashOfVersion(fileContentVersion(bytes));
|
|
1147
1158
|
if (!replaced || replaced === after) return;
|
|
1148
1159
|
const path = relative2(realDir, absPath).split(sep2).join("/");
|
|
1160
|
+
if (!isHistoryPath(path)) return;
|
|
1149
1161
|
this.overwritten.set(
|
|
1150
1162
|
path,
|
|
1151
1163
|
chainBackFrom(this.overwritten.get(path), replaced).set(after, replaced)
|
|
@@ -1178,7 +1190,7 @@ var Engine = class {
|
|
|
1178
1190
|
}
|
|
1179
1191
|
async firstOpen() {
|
|
1180
1192
|
const sweptAt = this.now();
|
|
1181
|
-
for (const file of
|
|
1193
|
+
for (const file of historyFiles(this.dir)) {
|
|
1182
1194
|
const hash = await this.storeIfPresent(file.path);
|
|
1183
1195
|
if (this.whereFolder() !== "here") throw this.replaced();
|
|
1184
1196
|
if (hash !== null) this.tracked.set(file.path, { hash, stat: statKey(file, sweptAt) });
|
|
@@ -1211,7 +1223,7 @@ var Engine = class {
|
|
|
1211
1223
|
if (this.whereFolder() !== "here") return;
|
|
1212
1224
|
const sweptAt = this.now();
|
|
1213
1225
|
const changedAt = (file) => Math.min(sweptAt, Math.max(file.mtimeMs, file.ctimeMs));
|
|
1214
|
-
const seen =
|
|
1226
|
+
const seen = historyFiles(this.dir);
|
|
1215
1227
|
const heard = new Map(this.overwritten);
|
|
1216
1228
|
const present = new Set(seen.map((file) => file.path));
|
|
1217
1229
|
const removed = [...this.tracked.keys()].filter((path) => !present.has(path)).map((path) => {
|
|
@@ -1409,7 +1421,8 @@ var Engine = class {
|
|
|
1409
1421
|
if (group) await this.commit(group);
|
|
1410
1422
|
}
|
|
1411
1423
|
async commit(group, extra = {}) {
|
|
1412
|
-
|
|
1424
|
+
const undoesEmptied = this.log.entries.find((entry2) => entry2.id === extra.undoes)?.files.length === 0;
|
|
1425
|
+
if (!group.changes.size && !undoesEmptied) return null;
|
|
1413
1426
|
const pending = this.pendingEntry(group);
|
|
1414
1427
|
const endedAt = Math.max(pending.endedAt, this.log.entries.at(-1)?.endedAt ?? 0);
|
|
1415
1428
|
const entry = { ...pending, endedAt, ...extra };
|
|
@@ -1467,7 +1480,9 @@ var Engine = class {
|
|
|
1467
1480
|
}
|
|
1468
1481
|
/** A watcher saw a write: one sweep per burst takes it in (a deleted folder is reported by its name alone). */
|
|
1469
1482
|
noteChange(path) {
|
|
1470
|
-
|
|
1483
|
+
const absolute = resolve3(this.dir, path);
|
|
1484
|
+
if (this.notedTimer || !affectsProjectSignature(this.dir, absolute)) return;
|
|
1485
|
+
if (!isHistoryPath(relative2(this.dir, absolute).split(sep2).join("/"))) return;
|
|
1471
1486
|
this.notedTimer = setTimeout(() => {
|
|
1472
1487
|
this.notedTimer = null;
|
|
1473
1488
|
this.background(() => this.sweep());
|
|
@@ -1628,7 +1643,7 @@ var Engine = class {
|
|
|
1628
1643
|
return stepTarget(
|
|
1629
1644
|
this.log.entries,
|
|
1630
1645
|
direction,
|
|
1631
|
-
(entry) => mine(entry.who) || everyone && !ofOpenTurn(entry)
|
|
1646
|
+
(entry) => entry.files.length > 0 && (mine(entry.who) || everyone && !ofOpenTurn(entry))
|
|
1632
1647
|
);
|
|
1633
1648
|
}
|
|
1634
1649
|
/** A pending group as the entry it becomes once committed (a window's part gets a fresh id). */
|
|
@@ -6586,7 +6601,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
6586
6601
|
let block = extractGsapScriptBlock(html);
|
|
6587
6602
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
6588
6603
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
6589
|
-
const { GSAP_CDN } = await import("./dist-
|
|
6604
|
+
const { GSAP_CDN } = await import("./dist-AMQZTIJP.js");
|
|
6590
6605
|
const bootstrap = [
|
|
6591
6606
|
`<script src="${GSAP_CDN}"></script>`,
|
|
6592
6607
|
"<script>",
|
|
@@ -6,24 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ELHC6CLH.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UI2I6ZQE.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z3SUEG2T.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SKZ6H3JT.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveDiagnosticNavigationTimeoutMs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2QAAOW5T.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CZRQH5SP.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -670,7 +670,7 @@ async function collectTweenBoundaries(page) {
|
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
672
|
async function bundleProjectHtml(projectDir) {
|
|
673
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
673
|
+
const { bundleToSingleHtml } = await import("./compiler-4FHYKPNR.js");
|
|
674
674
|
return bundleToSingleHtml(projectDir);
|
|
675
675
|
}
|
|
676
676
|
async function alignViewportToComposition(page, url) {
|
|
@@ -692,8 +692,8 @@ async function alignViewportToComposition(page, url) {
|
|
|
692
692
|
async function runLayoutAudit(projectDir, opts) {
|
|
693
693
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
694
694
|
const puppeteer = await import("puppeteer-core");
|
|
695
|
-
const { buildChromeArgs } = await import("./src-
|
|
696
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-
|
|
695
|
+
const { buildChromeArgs } = await import("./src-K6L2URKG.js");
|
|
696
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-KDI7HVOA.js");
|
|
697
697
|
const html = await bundleProjectHtml(projectDir);
|
|
698
698
|
const server = await serveStaticProjectHtml(
|
|
699
699
|
projectDir,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DR7F77AN.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -221,7 +221,7 @@ var asset_default = defineCommand({
|
|
|
221
221
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
224
|
+
const { trackFigmaImport } = await import("./telemetry-6GQL3BIP.js");
|
|
225
225
|
trackFigmaImport({
|
|
226
226
|
phase: "asset",
|
|
227
227
|
reused: results.every((r) => r.reused),
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WAD4ACBZ.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TLA5RBEB.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-GK4AIFIH.js";
|
|
@@ -13,7 +13,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
13
13
|
return "auto";
|
|
14
14
|
}
|
|
15
15
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath) {
|
|
16
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
16
|
+
const { resolveBrowserGpuMode } = await import("./src-K6L2URKG.js");
|
|
17
17
|
return resolveBrowserGpuMode(requestedMode, { chromePath });
|
|
18
18
|
}
|
|
19
19
|
|