hyperframes 0.8.194 → 0.8.195
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-47UAIWY4.js → add-NL6XABRV.js} +11 -11
- package/dist/{animatedGifPrep-TFSQZWK6.js → animatedGifPrep-JD4BBM2L.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-AU7PZHXA.js → asset-LRRHLG4L.js} +2 -2
- package/dist/{assetCataloger-HC5N6WPT.js → assetCataloger-D7KGO346.js} +6 -6
- package/dist/{audio-7AWMZWBM.js → audio-34CZM4HF.js} +12 -12
- package/dist/{auth-GXH3QNDJ.js → auth-FL5ZMOXB.js} +1 -1
- package/dist/{autoUpdate-GVGP5O2I.js → autoUpdate-FZTJFLIH.js} +2 -2
- package/dist/{backgroundChecks-IUJM2Q35.js → backgroundChecks-6ZKDCQET.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-3XS2Y2Y4.js → batchRender-KDZ4F4QT.js} +3 -3
- package/dist/{beats-U64B4S7Z.js → beats-7PK677VR.js} +8 -8
- package/dist/{benchmark-2YUPAI76.js → benchmark-LO36QH5D.js} +8 -8
- package/dist/{browser-DBFH7KXM.js → browser-3F7NDHU2.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-XWL7KSQJ.js → bundleWithLocalizedFonts-JL5J52L6.js} +2 -2
- package/dist/{capture-YWH7BPBI.js → capture-DOP3ONNZ.js} +9 -9
- package/dist/{capture-E4VW75NM.js → capture-JOSZZYUW.js} +2 -2
- package/dist/{captureCompositionFrame-IG6S2OHG.js → captureCompositionFrame-SWZ4GEJP.js} +11 -11
- package/dist/{catalog-LZIZLZ34.js → catalog-EZLHZMLM.js} +11 -11
- package/dist/{catch-up-ZVNPIACY.js → catch-up-6B7VY43I.js} +4 -4
- package/dist/{check-EKEOD4UM.js → check-QGELCBBF.js} +33 -33
- package/dist/{checkBrowser-MYH6HPHH.js → checkBrowser-A5C2AB4L.js} +28 -28
- package/dist/{chunk-EB3XXHNO.js → chunk-2G6JZJAV.js} +2 -2
- package/dist/{chunk-Q4HKC3O7.js → chunk-2HSRLKZR.js} +3 -3
- package/dist/{chunk-K2VXPQKC.js → chunk-2TU4OKIR.js} +173 -20
- package/dist/{chunk-4PIPQPCW.js → chunk-3OAFRLD3.js} +7 -7
- package/dist/{chunk-2AJU7PZ6.js → chunk-3PYIQLPL.js} +1 -1
- package/dist/{chunk-XYGULBFV.js → chunk-4R2NWLQL.js} +1 -1
- package/dist/{chunk-HQD7ODQB.js → chunk-636WBDXB.js} +5 -5
- package/dist/{chunk-EY7GKVPS.js → chunk-66Q27H72.js} +2 -2
- package/dist/{chunk-BK5YCT54.js → chunk-6ORTRIDW.js} +3 -3
- package/dist/{chunk-RUPGFW5B.js → chunk-7DFIVUOW.js} +5 -5
- package/dist/{chunk-F3B7CE3Q.js → chunk-7G2LQM3J.js} +13 -13
- package/dist/{chunk-NVVIFW3C.js → chunk-7PXVXRVX.js} +9 -9
- package/dist/{chunk-JU4T4VAA.js → chunk-7Y5RVQQ7.js} +3 -3
- package/dist/{chunk-KDEV5RIE.js → chunk-B7Y2DGU6.js} +1 -1
- package/dist/{chunk-MGSNFWGR.js → chunk-BBXZPDEA.js} +2 -2
- package/dist/{chunk-FUA22HO4.js → chunk-CCZMCX3F.js} +1 -1
- package/dist/{chunk-QJQTWTM7.js → chunk-D6XDOYMB.js} +1 -1
- package/dist/{chunk-LZ4WPR3B.js → chunk-E527A6RS.js} +1 -1
- package/dist/{chunk-JVTWX5G3.js → chunk-E74JMKSK.js} +26 -1
- package/dist/{chunk-SNECH6QA.js → chunk-ELQ2QQC5.js} +1 -1
- package/dist/{chunk-O2ILONGK.js → chunk-ES7KSCSO.js} +9 -9
- package/dist/{chunk-Y3BT27Y7.js → chunk-F4T7XYMF.js} +1 -1
- package/dist/{chunk-452UK7E7.js → chunk-FWDDLW2H.js} +2 -2
- package/dist/{chunk-MCFPMUMT.js → chunk-GJG4CTXD.js} +1 -1
- package/dist/{chunk-HPGQPRHY.js → chunk-GKMRLES4.js} +1 -1
- package/dist/{chunk-VHIBBDEI.js → chunk-GOOE33GV.js} +1 -1
- package/dist/{chunk-52YJKWV3.js → chunk-HJINEUHY.js} +20 -4
- package/dist/{chunk-M2VXARYK.js → chunk-HT33OHQL.js} +1 -1
- package/dist/{chunk-3OSBSUN3.js → chunk-HTLCE7M2.js} +17 -17
- package/dist/{chunk-DVQDBWQG.js → chunk-IA7HZ4CM.js} +3 -3
- package/dist/{chunk-LMIDZIW2.js → chunk-IZR7U27Z.js} +11 -11
- package/dist/{chunk-54PZ2EQZ.js → chunk-KJ6ZQL34.js} +1 -1
- package/dist/{chunk-VPON6DF2.js → chunk-KVLGJJTE.js} +5 -5
- package/dist/{chunk-4GMDL4N5.js → chunk-L2EBYFU7.js} +1 -1
- package/dist/{chunk-JXTPNUSO.js → chunk-L4BFXWHC.js} +91 -46
- package/dist/{chunk-RZWJJCI7.js → chunk-NKNRVPNV.js} +1 -1
- package/dist/{chunk-3S3CXF4W.js → chunk-NOHH25WS.js} +2 -2
- package/dist/{chunk-PXK3ICU6.js → chunk-OB4GJZTY.js} +1 -1
- package/dist/{chunk-4FVNEXSV.js → chunk-ORZMO6NY.js} +3 -3
- package/dist/{chunk-4VSV56F2.js → chunk-P5X5URNQ.js} +1 -1
- package/dist/{chunk-B3GG3HJB.js → chunk-RAACYYWX.js} +1 -1
- package/dist/{chunk-CEUBYYVJ.js → chunk-RZUEXJRC.js} +2 -2
- package/dist/{chunk-MO6RTNYD.js → chunk-SC6NILKD.js} +1 -1
- package/dist/{chunk-HCLBM2LQ.js → chunk-SMROKE63.js} +1 -1
- package/dist/{chunk-N33FO44R.js → chunk-TE6VGYHQ.js} +1 -1
- package/dist/{chunk-GAFEU6AB.js → chunk-VNWX5GBF.js} +8 -7
- package/dist/{chunk-BYADARIC.js → chunk-W4SSWOOD.js} +2 -2
- package/dist/{chunk-TDYKVJTU.js → chunk-W7GMPEY3.js} +31 -18
- package/dist/{chunk-CEZH4AQT.js → chunk-WUL5LPI2.js} +1 -1
- package/dist/{chunk-LOGKDQ3G.js → chunk-XC7SJ2UR.js} +3 -3
- package/dist/{chunk-DT3JESJ6.js → chunk-XOUWCZHD.js} +1 -1
- package/dist/{chunk-HG5ECUOR.js → chunk-YFTO5YD7.js} +5 -5
- package/dist/{chunk-PEHST4UY.js → chunk-YSXCPSJ4.js} +3 -3
- package/dist/{chunk-N3M3IU6S.js → chunk-YUFECVHG.js} +1 -1
- package/dist/{chunk-ST4SHO3S.js → chunk-ZAVUASNT.js} +1 -1
- package/dist/{chunk-POFJH2IS.js → chunk-ZL6ZCLY6.js} +1 -1
- package/dist/{chunk-37IHQVNQ.js → chunk-ZOJHEN3C.js} +1 -1
- package/dist/chunk-ZQRD62QZ.js +3901 -0
- package/dist/{clean-NS2SDRK7.js → clean-PI4JLT6O.js} +14 -14
- package/dist/cli.js +53 -53
- package/dist/{cloud-K4XQPWTY.js → cloud-SQRY723M.js} +4 -4
- package/dist/{cloudrun-BKOKXTXV.js → cloudrun-VMPROR43.js} +4 -4
- package/dist/commands/layout-audit.browser.js +1 -1
- package/dist/{compare-ZAV773OL.js → compare-EHX4APTP.js} +25 -25
- package/dist/{compiler-CWHFCE3H.js → compiler-FZCJGGBF.js} +3 -3
- package/dist/{component-OXA2ZWX3.js → component-I75ZKJYH.js} +3 -3
- package/dist/{compositions-NKRVWCPE.js → compositions-YNYYUEQD.js} +10 -10
- package/dist/{delete-HZ2LBCLC.js → delete-7BVTBKOC.js} +2 -2
- package/dist/{deploy-FNDTZFF7.js → deploy-TUEEJP3W.js} +1 -1
- package/dist/{dist-7OCZHNLY.js → dist-VRGIE57H.js} +1 -1
- package/dist/{dist-2YTN2UGY.js → dist-VVROHSP4.js} +2 -2
- package/dist/{doctor-6QWJGO5P.js → doctor-53DSQFW4.js} +10 -10
- package/dist/{events-MBKHVGXX.js → events-AD3U6E7I.js} +2 -2
- package/dist/{events-HTHOBIUN.js → events-M6FIUDNQ.js} +3 -3
- package/dist/{feedback-X5QWTLEX.js → feedback-7SQ7KKAR.js} +6 -6
- package/dist/{ffmpeg-7GESJCCT.js → ffmpeg-3HSSPXS4.js} +6 -6
- package/dist/{figma-SXOHFVJI.js → figma-B5XII2BO.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-T2HI5FCK.js → get-RZKNBIRD.js} +2 -2
- package/dist/{gpuPolicy-5FABKW5G.js → gpuPolicy-77LOK3K6.js} +6 -6
- package/dist/{grade-compare-JATGHA6Q.js → grade-compare-K3YB3FQA.js} +26 -26
- package/dist/{help-G6CIKCGS.js → help-UM6INVL5.js} +1 -1
- package/dist/{history-CSJUHYTD.js → history-EWKPACWR.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +61 -61
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-MTTUMW2C.js → info-KY3MFTCY.js} +7 -7
- package/dist/{init-LJYNI5EK.js → init-LURF2PL5.js} +26 -26
- package/dist/{inspect-HGDM2VJE.js → inspect-46CZJM6P.js} +26 -26
- package/dist/{installer-3XHURUDG.js → installer-NGFX6INI.js} +4 -4
- package/dist/{keyframes-MSU7N53X.js → keyframes-YCSK6POI.js} +6 -6
- package/dist/{lambda-2I2TIUSD.js → lambda-5KXULI2S.js} +6 -6
- package/dist/{layout-KWOXZMN7.js → layout-WOLH24YE.js} +26 -26
- package/dist/{lint-N53TLHFG.js → lint-P3P2LX6S.js} +7 -7
- package/dist/{lintProject-EOUZA4EG.js → lintProject-ESAJKFOX.js} +1 -1
- package/dist/{list-SHYPQC7U.js → list-RUYQWMF2.js} +2 -2
- package/dist/{login-TEB6PA3Y.js → login-THBBWZAY.js} +4 -4
- package/dist/{manager-PLRSZH5G.js → manager-V34BMSAG.js} +7 -7
- package/dist/{media-treatment-XTUKMIGE.js → media-treatment-IMBLTYGV.js} +12 -12
- package/dist/{models-4WKAPP2L.js → models-3NW7HU72.js} +10 -10
- package/dist/{motionShot-PTKB4ILH.js → motionShot-VTTYZ6KW.js} +14 -14
- package/dist/{normalize-audio-3NG326I2.js → normalize-audio-ME3X7HBX.js} +4 -4
- package/dist/{open-6S2LMF7R.js → open-GLGSJISM.js} +11 -11
- package/dist/{parakeetRunner-OEI35DVO.js → parakeetRunner-T3UGRZWC.js} +11 -11
- package/dist/{pipeline-543FUKH4.js → pipeline-IJXVEQCU.js} +7 -7
- package/dist/{play-ETEGHP3B.js → play-HFFGGAZH.js} +17 -17
- package/dist/{preflight-Y5IYUF2T.js → preflight-QV6V3UO2.js} +7 -7
- package/dist/{present-ZRSLMJ6J.js → present-TH34CTYY.js} +13 -13
- package/dist/{preview-CEJ3SVTY.js → preview-R67EQGQP.js} +17 -17
- package/dist/{producer-JFVFIV26.js → producer-HWPFETDU.js} +1 -1
- package/dist/{projectConfig-7EK3BS72.js → projectConfig-AO4V3RHS.js} +6 -6
- package/dist/{publication-Y54GYFMV.js → publication-BDQ3PXYG.js} +2 -2
- package/dist/{publish-S3UJTPCV.js → publish-PXYTWSXN.js} +8 -8
- package/dist/{remove-background-YTATNQSI.js → remove-background-BVDJPT3Z.js} +8 -8
- package/dist/{render-WNIG4B3J.js → render-45YHWV6W.js} +5 -5
- package/dist/{render-RN3W6YL4.js → render-5MZY4TAB.js} +13 -13
- package/dist/{render-IIPXMSBO.js → render-5RQUYPIV.js} +27 -27
- package/dist/{render-batch-OYS3UQDB.js → render-batch-ZUTUBTHX.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-OVCXVEDX.js → resolver-FN2M3XVM.js} +4 -4
- package/dist/{sherpa-NCSFD7S3.js → sherpa-6KWNPRWB.js} +10 -10
- package/dist/{skills-IUV3K3X7.js → skills-PWQCM2BT.js} +5 -5
- package/dist/{skillsUpdateCheck-NACBXMWW.js → skillsUpdateCheck-EHV2G3JX.js} +3 -3
- package/dist/{snapshot-7S5USJ2I.js → snapshot-7Q24NFEI.js} +30 -30
- package/dist/{src-CAR6PHI4.js → src-J43SXEHJ.js} +7 -7
- package/dist/{src-HITT6NWG.js → src-OS2FRVZV.js} +5 -5
- package/dist/{staticProjectServer-QR6VZBPT.js → staticProjectServer-YJWOQJF4.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-DLOUZUct.js → hyperframes-player-DnIPEARk.js} +1 -1
- package/dist/studio/assets/{index-D9kA6JUX.js → index-CVppCm_X.js} +1 -1
- package/dist/studio/assets/{index-CAQ7OcNJ.js → index-Dkt4c1MV.js} +134 -134
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HVNOJILH.js → studio-api-CZBZ4D65.js} +7 -7
- package/dist/{studioServer-3BG5FRJL.js → studioServer-U6EX5DSB.js} +85 -45
- package/dist/{telemetry-PET2GFQG.js → telemetry-VP4UWWO3.js} +3 -3
- package/dist/{timeline-PVIC2Z5K.js → timeline-LMSUKEG6.js} +15 -15
- package/dist/{tokens-4N46PWSF.js → tokens-FQ5AI5H4.js} +2 -2
- package/dist/{transcribe-IDC7JTM4.js → transcribe-DNQFPZ2S.js} +9 -9
- package/dist/{transcribe-2DVBS7MH.js → transcribe-VAMXV7QS.js} +15 -15
- package/dist/{updateCheck-QRDVXU7I.js → updateCheck-TOU7VLZK.js} +2 -2
- package/dist/{upgrade-5CNE3TBH.js → upgrade-CJRMRR2S.js} +2 -2
- package/dist/{urlDownloader-P2I25DFC.js → urlDownloader-GETNWEIT.js} +5 -5
- package/dist/{validate-CLR5PEOV.js → validate-PRI2UTQS.js} +20 -20
- package/dist/vendor/npm/gsap@3.15.0/dist/CustomEase.min.js +11 -0
- package/dist/vendor/npm/gsap@3.15.0/dist/MotionPathPlugin.min.js +11 -0
- package/dist/vendor/npm/gsap@3.15.0/dist/gsap.min.js +11 -0
- package/dist/{video-3CKZZBOB.js → video-VOCQA6AG.js} +6 -6
- package/dist/warmCheck.js +33 -33
- package/package.json +1 -1
- package/dist/chunk-2D5WP2NI.js +0 -3901
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E527A6RS.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L2EBYFU7.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ORZMO6NY.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
25
|
preResolveHostileMediaProxies,
|
|
26
26
|
rectToBbox
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IZR7U27Z.js";
|
|
28
28
|
import {
|
|
29
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
30
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,27 +47,27 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7PXVXRVX.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveProject
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ZAVUASNT.js";
|
|
54
54
|
import {
|
|
55
55
|
recordArtifacts
|
|
56
56
|
} from "./chunk-OJNNKHAZ.js";
|
|
57
57
|
import {
|
|
58
58
|
BrowserCleanupError,
|
|
59
59
|
closeManagedBrowser
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WUL5LPI2.js";
|
|
61
61
|
import {
|
|
62
62
|
withRemainingBudget
|
|
63
63
|
} from "./chunk-EHSBBBR2.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveLocalBrowserGpuMode
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-BBXZPDEA.js";
|
|
67
67
|
import {
|
|
68
68
|
trackCheckReport,
|
|
69
69
|
trackCommandFailure
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-ZL6ZCLY6.js";
|
|
71
71
|
import {
|
|
72
72
|
swallowedFlagUsageError
|
|
73
73
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -87,17 +87,17 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
extractMediaMetadata,
|
|
89
89
|
findHdrAutoPromotion
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-HJINEUHY.js";
|
|
91
91
|
import {
|
|
92
92
|
lintProject,
|
|
93
93
|
shouldBlockRender
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-2TU4OKIR.js";
|
|
95
95
|
import {
|
|
96
96
|
resolveProjectRelativeSrc
|
|
97
97
|
} from "./chunk-6BNTGNGD.js";
|
|
98
98
|
import {
|
|
99
99
|
withMeta
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-ELQ2QQC5.js";
|
|
101
101
|
import {
|
|
102
102
|
normalizeErrorMessage
|
|
103
103
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -620,7 +620,7 @@ function round(value) {
|
|
|
620
620
|
|
|
621
621
|
// src/utils/hdrPromotion.ts
|
|
622
622
|
async function bundleProjectHtml(projectDir) {
|
|
623
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
623
|
+
const { bundleToSingleHtml } = await import("./compiler-FZCJGGBF.js");
|
|
624
624
|
return bundleToSingleHtml(projectDir);
|
|
625
625
|
}
|
|
626
626
|
async function collectBundledRenderMedia(html) {
|
|
@@ -2191,7 +2191,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
2193
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2194
|
-
const module = await import("./checkBrowser-
|
|
2194
|
+
const module = await import("./checkBrowser-A5C2AB4L.js");
|
|
2195
2195
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2196
2196
|
}
|
|
2197
2197
|
var adoptedBrowser;
|
|
@@ -2205,7 +2205,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2205
2205
|
if (adopted) return adopted;
|
|
2206
2206
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2207
2207
|
if (html === void 0) return void 0;
|
|
2208
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2208
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-SWZ4GEJP.js");
|
|
2209
2209
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2210
2210
|
}
|
|
2211
2211
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2217,7 +2217,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2217
2217
|
return relative(projectDir, path);
|
|
2218
2218
|
}
|
|
2219
2219
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2220
|
-
const module = await import("./checkBrowser-
|
|
2220
|
+
const module = await import("./checkBrowser-A5C2AB4L.js");
|
|
2221
2221
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2222
2222
|
}
|
|
2223
2223
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2256,7 +2256,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
},
|
|
2258
2258
|
async prepareMedia(project, options) {
|
|
2259
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2259
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JL5J52L6.js");
|
|
2260
2260
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2261
2261
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2262
2262
|
},
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4R2NWLQL.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-HJINEUHY.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-OS2FRVZV.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 };
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7PXVXRVX.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7G2LQM3J.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KVLGJJTE.js";
|
|
19
19
|
import {
|
|
20
20
|
artifactDirectory,
|
|
21
21
|
finishSnapshotRun
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
proxyVariantFor,
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GJG4CTXD.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIT_SEEK_OPTIONS,
|
|
33
33
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
seekCompositionTimeline,
|
|
42
42
|
seekInPage,
|
|
43
43
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ES7KSCSO.js";
|
|
45
45
|
import {
|
|
46
46
|
BrowserCleanupError,
|
|
47
47
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WUL5LPI2.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-GOOE33GV.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RAACYYWX.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -389,7 +389,7 @@ function proxyFailedDraft(message) {
|
|
|
389
389
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
390
390
|
}
|
|
391
391
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
392
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
392
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JL5J52L6.js");
|
|
393
393
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
394
394
|
deadline?.enter("copies");
|
|
395
395
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
@@ -442,7 +442,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
442
442
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
443
443
|
}));
|
|
444
444
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
445
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
445
|
+
const { analyzeClipMediaFit } = await import("./src-OS2FRVZV.js");
|
|
446
446
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
447
447
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
448
448
|
}
|
|
@@ -559,7 +559,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
559
559
|
}
|
|
560
560
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
561
561
|
if (requests.length === 0) return [];
|
|
562
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
562
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JL5J52L6.js");
|
|
563
563
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
564
564
|
const server = await serveStaticProjectHtml(
|
|
565
565
|
project.dir,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L4BFXWHC.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GJG4CTXD.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GOOE33GV.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RAACYYWX.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-E74JMKSK.js";
|
|
32
32
|
import {
|
|
33
33
|
decodeWellFormedEscapes
|
|
34
34
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7Y5RVQQ7.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
scanProjectMediaCodecMap,
|
|
69
69
|
shouldPrewarmProxy,
|
|
70
70
|
waitForProxy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-GJG4CTXD.js";
|
|
72
72
|
import {
|
|
73
73
|
STUDIO_MOTION_PATH,
|
|
74
74
|
createStudioMotionRenderBodyScript,
|
|
@@ -109,14 +109,15 @@ import {
|
|
|
109
109
|
gsapCdnDist,
|
|
110
110
|
motionPathPluginUrl,
|
|
111
111
|
normalizeGsapBaseUrl,
|
|
112
|
+
normalizeGsapLocalRoot,
|
|
112
113
|
parseFps,
|
|
113
114
|
parsePreviewProxyBox
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-E74JMKSK.js";
|
|
115
116
|
import {
|
|
116
117
|
addScenePartsManifest,
|
|
117
118
|
ensureHfIds,
|
|
118
119
|
stampHfIdsInPlace
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-VNWX5GBF.js";
|
|
120
121
|
import {
|
|
121
122
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
122
123
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -130,7 +131,7 @@ import {
|
|
|
130
131
|
resolveRateSpec,
|
|
131
132
|
sourceTimeAt,
|
|
132
133
|
stripEmbeddedRuntimeScripts
|
|
133
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-ZQRD62QZ.js";
|
|
134
135
|
import {
|
|
135
136
|
HTML_ATTRIBUTE_ENTITIES,
|
|
136
137
|
MagicString,
|
|
@@ -3777,6 +3778,48 @@ function getMimeType(path) {
|
|
|
3777
3778
|
function isAudioFile(name) {
|
|
3778
3779
|
return (getMimeType(name) ?? "").startsWith("audio/");
|
|
3779
3780
|
}
|
|
3781
|
+
var URL_BASE = "http://localhost/";
|
|
3782
|
+
function urlPath(src) {
|
|
3783
|
+
return URL.canParse(src, URL_BASE) ? new URL(src, URL_BASE).pathname : null;
|
|
3784
|
+
}
|
|
3785
|
+
function isGsapCoreUrl(src) {
|
|
3786
|
+
return /\/gsap(-\d+(\.\d+)*)?(\.min)?\.js$/i.test(urlPath(src) ?? "");
|
|
3787
|
+
}
|
|
3788
|
+
var GSAP_PLUGIN_FILE = /\/(\w+Plugin|CustomBounce|CustomEase|CustomWiggle|Draggable|EasePack|Flip|GSDevTools|MotionPathHelper|Observer|ScrollSmoother|ScrollTrigger|SplitText)(\.min)?\.js$/i;
|
|
3789
|
+
function isGsapPluginUrl(src) {
|
|
3790
|
+
const path = urlPath(src);
|
|
3791
|
+
if (!path || isGsapCoreUrl(src)) return false;
|
|
3792
|
+
return GSAP_PLUGIN_FILE.test(path) || /\/gsap(@[^/]*)?\/(.+\/)?[^/]+\.js$/i.test(path);
|
|
3793
|
+
}
|
|
3794
|
+
var TEMPLATE_ELEMENT = /<template\b[^>]*>[\s\S]*?<\/template>/gi;
|
|
3795
|
+
var SCRIPT_SRC = /<script\b[^>]*?\ssrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/gi;
|
|
3796
|
+
var INLINED_MARKER = /\/\*\s*inlined:\s*(\S+)\s*\*\//gi;
|
|
3797
|
+
var CORE_LICENSE_BANNER = /\/\*!\s*\*\s*GSAP\s+\d/;
|
|
3798
|
+
var PLUGIN_LICENSE_BANNER = /\/\*!\s*\*\s*(?!GSAP\s)\w+\s+\d[^*]*\*\s*https:\/\/gsap\.com/;
|
|
3799
|
+
var CORE_BODY = /Missing plugin\? gsap\.registerPlugin\(\)/;
|
|
3800
|
+
function scriptUrls(html) {
|
|
3801
|
+
const srcs = [...html.matchAll(SCRIPT_SRC)].map(
|
|
3802
|
+
(m) => (m[1] ?? m[2] ?? m[3] ?? "").replace(/&/gi, "&")
|
|
3803
|
+
);
|
|
3804
|
+
return [...srcs, ...[...html.matchAll(INLINED_MARKER)].map((m) => m[1] ?? "")];
|
|
3805
|
+
}
|
|
3806
|
+
function htmlHasGsapCore(html) {
|
|
3807
|
+
const live = html.replace(TEMPLATE_ELEMENT, "");
|
|
3808
|
+
return scriptUrls(live).some(isGsapCoreUrl) || CORE_LICENSE_BANNER.test(live) || CORE_BODY.test(live);
|
|
3809
|
+
}
|
|
3810
|
+
function isGsapPluginScript(script) {
|
|
3811
|
+
return scriptUrls(script).some(isGsapPluginUrl) || PLUGIN_LICENSE_BANNER.test(script);
|
|
3812
|
+
}
|
|
3813
|
+
function insertGsapCoreBeforeHeadPlugin(html, coreTag) {
|
|
3814
|
+
const lowered = html.toLowerCase();
|
|
3815
|
+
const at = findStartTags(html, "script").find((start) => {
|
|
3816
|
+
const close = lowered.indexOf("</script", start);
|
|
3817
|
+
return isGsapPluginScript(html.slice(start, close === -1 ? void 0 : close));
|
|
3818
|
+
});
|
|
3819
|
+
if (at === void 0 || insertBeforeCloseTag(html.slice(0, at), "head", "") !== null) return null;
|
|
3820
|
+
return `${html.slice(0, at)}${coreTag}
|
|
3821
|
+
${html.slice(at)}`;
|
|
3822
|
+
}
|
|
3780
3823
|
function rewriteRelativePaths(root, compPath, projectDir) {
|
|
3781
3824
|
const assetExists = (path) => existsSync(join22(projectDir, path));
|
|
3782
3825
|
rewriteAssetPaths(
|
|
@@ -3927,9 +3970,10 @@ ${compHeadContent}`;
|
|
|
3927
3970
|
headContent = stripEmbeddedRuntimeScripts(headContent);
|
|
3928
3971
|
headContent += `
|
|
3929
3972
|
<script ${RUNTIME_BOOTSTRAP_ATTR}="1" src="${runtimeUrl}"></script>`;
|
|
3930
|
-
if (!headContent
|
|
3931
|
-
|
|
3932
|
-
|
|
3973
|
+
if (!htmlHasGsapCore(headContent)) {
|
|
3974
|
+
const core = `<script src="${gsapCdnDist(void 0, gsapBaseUrl).replace(/&/g, "&")}gsap.min.js"></script>`;
|
|
3975
|
+
headContent = insertGsapCoreBeforeHeadPlugin(headContent, core) ?? `${headContent}
|
|
3976
|
+
${core}`;
|
|
3933
3977
|
}
|
|
3934
3978
|
const htmlOpen = htmlAttrs ? `<html ${htmlAttrs}>` : "<html>";
|
|
3935
3979
|
const bodyOpen = bodyAttrs ? `<body ${bodyAttrs}>` : "<body>";
|
|
@@ -5502,7 +5546,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5502
5546
|
let block = extractGsapScriptBlock(html);
|
|
5503
5547
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5504
5548
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5505
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5549
|
+
const { GSAP_CDN } = await import("./dist-VVROHSP4.js");
|
|
5506
5550
|
const bootstrap = [
|
|
5507
5551
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5508
5552
|
"<script>",
|
|
@@ -7425,10 +7469,6 @@ function injectScriptTagIntoHead(html, scriptTag) {
|
|
|
7425
7469
|
`) ?? `${scriptTag}
|
|
7426
7470
|
${html}`;
|
|
7427
7471
|
}
|
|
7428
|
-
function htmlHasGsap(html) {
|
|
7429
|
-
const outsideTemplates = html.replace(/<template\b[^>]*>[\s\S]*?<\/template>/gi, "");
|
|
7430
|
-
return /<script\b[^>]*src=["'][^"']*gsap/i.test(outsideTemplates) || /\/\*\s*inlined:.*gsap/i.test(outsideTemplates) || /\b(GreenSock|_gsScope)\b/.test(outsideTemplates) || /\bgsap\.(config|defaults|registerPlugin|version)\b/.test(outsideTemplates);
|
|
7431
|
-
}
|
|
7432
7472
|
function htmlHasCustomEase(html) {
|
|
7433
7473
|
return /<script\b[^>]*src=["'][^"']*CustomEase/i.test(html) || /\bwindow\.CustomEase\b/.test(html) || /\bCustomEase\s*=\s*/.test(html);
|
|
7434
7474
|
}
|
|
@@ -7449,10 +7489,6 @@ function injectMotionPathPluginIfNeeded(html, baseUrl) {
|
|
|
7449
7489
|
}
|
|
7450
7490
|
return injectScriptTagIntoHead(html, gsapScriptTag("MotionPathPlugin.min.js", baseUrl));
|
|
7451
7491
|
}
|
|
7452
|
-
function isGsapCoreUrl(src) {
|
|
7453
|
-
const base = "http://localhost/";
|
|
7454
|
-
return URL.canParse(src, base) && /\/gsap(\.min)?\.js$/i.test(new URL(src, base).pathname);
|
|
7455
|
-
}
|
|
7456
7492
|
function findGsapCoreScript(html) {
|
|
7457
7493
|
const scripts = [...parseHTML(html).document.querySelectorAll("script")];
|
|
7458
7494
|
const starts = findStartTags(html, "script");
|
|
@@ -7484,22 +7520,25 @@ function injectStudioMotionDependencies(html, manifestContent, baseUrl) {
|
|
|
7484
7520
|
const manifest = parseStudioMotionManifestContent(manifestContent);
|
|
7485
7521
|
if (!manifest.hasMotion) return html;
|
|
7486
7522
|
let next = html;
|
|
7487
|
-
if (!
|
|
7488
|
-
|
|
7523
|
+
if (!htmlHasGsapCore(next)) {
|
|
7524
|
+
const core = gsapScriptTag("gsap.min.js", baseUrl);
|
|
7525
|
+
next = insertGsapCoreBeforeHeadPlugin(next, core) ?? injectScriptTagIntoHead(next, core);
|
|
7526
|
+
}
|
|
7489
7527
|
if (manifest.hasCustomEase && !htmlHasCustomEase(next)) {
|
|
7490
7528
|
next = injectScriptTagIntoHead(next, gsapScriptTag("CustomEase.min.js", baseUrl));
|
|
7491
7529
|
}
|
|
7492
7530
|
return next;
|
|
7493
7531
|
}
|
|
7494
|
-
function
|
|
7532
|
+
function readStudioMotion(projectDir, activeCompositionPath) {
|
|
7495
7533
|
const manifestContent = readStudioMotionManifestContent(projectDir);
|
|
7496
7534
|
const script = createStudioMotionRenderBodyScript(manifestContent, {
|
|
7497
7535
|
activeCompositionPath
|
|
7498
7536
|
});
|
|
7499
|
-
|
|
7500
|
-
|
|
7537
|
+
return script ? { manifestContent, script } : null;
|
|
7538
|
+
}
|
|
7539
|
+
function injectStudioMotionScript(html, script) {
|
|
7501
7540
|
const tag = `<script type="${AFTER_FONTS_SCRIPT_TYPE}">${script.replace(/<\/script/gi, "<\\/script")}</script>`;
|
|
7502
|
-
return insertBeforeCloseTag(
|
|
7541
|
+
return insertBeforeCloseTag(html, "body", tag) ?? `${html}${tag}`;
|
|
7503
7542
|
}
|
|
7504
7543
|
var GSAP_FALLBACK_ATTR = "data-hf-gsap-fallback";
|
|
7505
7544
|
function gsapCdnFallbackScript(baseUrl) {
|
|
@@ -7565,24 +7604,24 @@ function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompo
|
|
|
7565
7604
|
lazyPreviewImages(html),
|
|
7566
7605
|
`<meta name="${STUDIO_PREVIEW_MARK_META}">${EARLY_ERRORS_SCRIPT}`
|
|
7567
7606
|
);
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
marked,
|
|
7574
|
-
`<meta name="${GSAP_BASE_URL_META}" content="${escapeGsapUrl(options.gsapBaseUrl)}">`
|
|
7575
|
-
),
|
|
7576
|
-
resolveProjectSignature(adapter, projectDir)
|
|
7577
|
-
),
|
|
7578
|
-
options.gsapBaseUrl
|
|
7607
|
+
const withFallback = injectGsapCdnFallback(
|
|
7608
|
+
injectProjectSignature(
|
|
7609
|
+
injectTagsAtHeadStart(
|
|
7610
|
+
marked,
|
|
7611
|
+
`<meta name="${GSAP_BASE_URL_META}" content="${escapeGsapUrl(options.gsapBaseUrl)}">`
|
|
7579
7612
|
),
|
|
7580
|
-
|
|
7613
|
+
resolveProjectSignature(adapter, projectDir)
|
|
7581
7614
|
),
|
|
7582
|
-
projectDir,
|
|
7583
|
-
activeCompositionPath,
|
|
7584
7615
|
options.gsapBaseUrl
|
|
7585
7616
|
);
|
|
7617
|
+
const studioMotion = readStudioMotion(projectDir, activeCompositionPath);
|
|
7618
|
+
const withMotionDependencies = studioMotion ? injectStudioMotionDependencies(
|
|
7619
|
+
withFallback,
|
|
7620
|
+
studioMotion.manifestContent,
|
|
7621
|
+
options.gsapBaseUrl
|
|
7622
|
+
) : withFallback;
|
|
7623
|
+
const withPlugin = injectMotionPathPluginIfNeeded(withMotionDependencies, options.gsapBaseUrl);
|
|
7624
|
+
return studioMotion ? injectStudioMotionScript(withPlugin, studioMotion.script) : withPlugin;
|
|
7586
7625
|
}
|
|
7587
7626
|
async function transformPreviewHtml(html, adapter, project, activeCompositionPath) {
|
|
7588
7627
|
if (!adapter.transformPreviewHtml) return html;
|
|
@@ -7624,16 +7663,22 @@ var PREVIEW_BUNDLE_OPTIONS = {
|
|
|
7624
7663
|
};
|
|
7625
7664
|
var previewBaseHref = (projectId) => `/api/projects/${encodeURIComponent(projectId)}/preview/`;
|
|
7626
7665
|
var withPreviewBase = (html, projectId) => hasBaseElement(html) ? html : injectTagsAtHeadStart(html, `<base href="${previewBaseHref(projectId)}">`);
|
|
7627
|
-
function
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7666
|
+
function resolvePreviewGsapBaseUrl(adapter) {
|
|
7667
|
+
const configured = process.env.HYPERFRAMES_GSAP_BASE_URL;
|
|
7668
|
+
if (configured?.trim() || !adapter.gsapLocalRoot) {
|
|
7669
|
+
try {
|
|
7670
|
+
return normalizeGsapBaseUrl(configured);
|
|
7671
|
+
} catch (cause) {
|
|
7672
|
+
throw new Error(
|
|
7673
|
+
"Invalid HYPERFRAMES_GSAP_BASE_URL: use an absolute HTTPS npm mirror root (plain HTTP only for localhost) without credentials, query, or fragment",
|
|
7674
|
+
{ cause }
|
|
7675
|
+
);
|
|
7676
|
+
}
|
|
7636
7677
|
}
|
|
7678
|
+
return normalizeGsapLocalRoot(adapter.gsapLocalRoot);
|
|
7679
|
+
}
|
|
7680
|
+
function registerPreviewRoutes(api, adapter) {
|
|
7681
|
+
const gsapBaseUrl = resolvePreviewGsapBaseUrl(adapter);
|
|
7637
7682
|
const gsapEtagSalt = `:gsap:${createHash22("sha1").update(gsapBaseUrl).digest("hex").slice(0, 12)}`;
|
|
7638
7683
|
const previewCacheHeaders = (etag) => ({
|
|
7639
7684
|
"Cache-Control": "private, no-cache",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YUFECVHG.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-VP4UWWO3.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZL6ZCLY6.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KJ6ZQL34.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2TU4OKIR.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RAACYYWX.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E74JMKSK.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|