hyperframes 0.8.206 → 0.8.207
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/bin/hyperframes.mjs +1 -0
- package/dist/{add-FFMNAJXJ.js → add-LXFWHBE3.js} +19 -18
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-D2E62ZP5.js} +1 -1
- package/dist/{animatedGifPrep-BIIIIVWL.js → animatedGifPrep-VBPJZKFT.js} +12 -12
- package/dist/api.js +30 -30
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-IPUHGZSL.js → asset-JX4RW3GO.js} +2 -2
- package/dist/{assetCataloger-M5FWXLAJ.js → assetCataloger-JKKOPBCF.js} +14 -13
- package/dist/{audio-VYWWM4DB.js → audio-OXQ3L6DW.js} +22 -22
- package/dist/{auth-GZQZCUPL.js → auth-JAL7P7ZA.js} +1 -1
- package/dist/{autoUpdate-GJUDDLLO.js → autoUpdate-MRI2AICE.js} +2 -2
- package/dist/{backgroundChecks-BTMSW34Z.js → backgroundChecks-ORR46PBY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-LI2BJRGO.js → batchRender-IFZYPGIW.js} +9 -9
- package/dist/{beats-H73CSYT4.js → beats-UDLOEW6U.js} +19 -19
- package/dist/{benchmark-XT3A5REC.js → benchmark-VTVDNKSO.js} +14 -14
- package/dist/{browser-VIOK66YK.js → browser-QJC4BL2Y.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-PFRVWYOO.js → bundleWithLocalizedFonts-Z2JTBNDS.js} +2 -2
- package/dist/{capture-252WNPCD.js → capture-2P4JERSX.js} +14 -3
- package/dist/{capture-KKD5GMAF.js → capture-GLM2ACPM.js} +73 -33
- package/dist/{captureCompositionFrame-YLYVGNN2.js → captureCompositionFrame-A2A5MGQB.js} +18 -18
- package/dist/{captureFile-LYOJOUIE.js → captureFile-RPUEOZO6.js} +1 -1
- package/dist/{catalog-6IJGNN3T.js → catalog-5ZLVUQVJ.js} +25 -24
- package/dist/{catch-up-BFW7Z35W.js → catch-up-FRMVYJHZ.js} +5 -5
- package/dist/{check-XUWBZASR.js → check-WVY7SM7C.js} +47 -47
- package/dist/{checkAudio-2NRR3VHQ.js → checkAudio-PLEQY3SZ.js} +16 -16
- package/dist/{checkBrowser-JW74KWTF.js → checkBrowser-XSZUA2DQ.js} +40 -40
- package/dist/{chunk-2S263R6D.js → chunk-526VSRZ4.js} +9 -9
- package/dist/{chunk-SFYLZX5C.js → chunk-5KBMYSF2.js} +54 -15
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-AJSU6KGS.js → chunk-5PYRU5DT.js} +13 -13
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-QVTCXN42.js → chunk-63DP5CB2.js} +29 -3
- package/dist/{chunk-FNNGQ3DB.js → chunk-6IYIS2U7.js} +2 -2
- package/dist/{chunk-VDVVQNTK.js → chunk-6KCFVLO6.js} +5 -5
- package/dist/{chunk-DEVZJ4AL.js → chunk-6KOHY5EP.js} +7 -7
- package/dist/{chunk-CIHW6VM2.js → chunk-6Z7XDUUJ.js} +1 -1
- package/dist/{chunk-PQYWYBEQ.js → chunk-7PJ3AJB2.js} +1 -1
- package/dist/{chunk-VW2LVMKB.js → chunk-7RWUY3BJ.js} +47 -55
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/chunk-BDJIQZN2.js +4830 -0
- package/dist/{chunk-4CY5RXXC.js → chunk-C53ZNJDZ.js} +4 -4
- package/dist/{chunk-FULMZCDW.js → chunk-CVZO6TFE.js} +10 -10
- package/dist/{chunk-6ZFDNEMY.js → chunk-DJQZ7DEH.js} +15 -15
- package/dist/{chunk-E2ZZSDDQ.js → chunk-DML6BD4K.js} +2 -2
- package/dist/{chunk-PNKLOMHQ.js → chunk-EG3B2VWK.js} +2 -2
- package/dist/{chunk-XOM3XTJ4.js → chunk-EGRIVMCQ.js} +1 -1
- package/dist/{chunk-3CS6QYL7.js → chunk-FEO7YW7V.js} +8 -8
- package/dist/{chunk-H4JO7VSI.js → chunk-FVAI7AHF.js} +12 -12
- package/dist/{chunk-PLGGKTCB.js → chunk-GXUONASF.js} +13 -20
- package/dist/{chunk-CZYS6UKP.js → chunk-H3LQ5X6Q.js} +19 -19
- package/dist/{chunk-AXEEZKIL.js → chunk-HA3V4XAF.js} +6 -6
- package/dist/{chunk-G6W55MTX.js → chunk-HM7SUIQD.js} +38 -9
- package/dist/{chunk-VEA7Z4PZ.js → chunk-HVOTYAS4.js} +15 -7
- package/dist/{chunk-3R6SXPHD.js → chunk-I2TDHVFV.js} +2 -2
- package/dist/{chunk-36QE3P6B.js → chunk-I3TYUQLB.js} +1 -1
- package/dist/{chunk-63DGZRZP.js → chunk-IBZHSU2J.js} +1 -1
- package/dist/{chunk-AEC4T4IF.js → chunk-ID766OZB.js} +12 -12
- package/dist/{chunk-5QKJPCQ4.js → chunk-IK4JY2LI.js} +2 -2
- package/dist/{chunk-UMUVGNOH.js → chunk-IW5P4KK7.js} +3 -3
- package/dist/{chunk-AAX2A7LQ.js → chunk-IYZT62UR.js} +1 -1
- package/dist/chunk-JKE24AG7.js +62 -0
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-N7ZMDVAK.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-2RT7MXFL.js → chunk-JQ32262N.js} +1 -1
- package/dist/{chunk-RW4DMP2Y.js → chunk-KDHHPJOG.js} +4 -4
- package/dist/{chunk-DZG565OO.js → chunk-LCCYYTEK.js} +1 -1
- package/dist/{chunk-RDDVQSNQ.js → chunk-LK6KPVX2.js} +167 -55
- package/dist/{chunk-42KN6I6A.js → chunk-LPI7HX4G.js} +2 -2
- package/dist/{chunk-WHD5IAHI.js → chunk-LXP6XWJL.js} +2 -2
- package/dist/{chunk-T6SD37JZ.js → chunk-MAUGXKSI.js} +4 -4
- package/dist/{chunk-ZTEKVSZ6.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-TSJVPPXT.js → chunk-MSHL6CF2.js} +1 -1
- package/dist/{chunk-OFRRUYBA.js → chunk-NHA4NRBE.js} +135 -24
- package/dist/{chunk-OZUAVHFE.js → chunk-NHL5CMO2.js} +3 -3
- package/dist/{chunk-7SXL476O.js → chunk-NJNC2DQV.js} +27 -26
- package/dist/{chunk-FMWACL3L.js → chunk-NSC5A4IR.js} +1 -1
- package/dist/{chunk-MRF4AMKD.js → chunk-NWGXTUYS.js} +32 -10
- package/dist/{chunk-X5HHHFTX.js → chunk-PL36HK3U.js} +3 -3
- package/dist/{chunk-BBUK6A7Q.js → chunk-PUIG6DHT.js} +5 -5
- package/dist/{chunk-CPSGXAYD.js → chunk-QE4WRS3N.js} +3 -3
- package/dist/{chunk-FJW757TF.js → chunk-QTWXVOZI.js} +1 -1
- package/dist/{chunk-WYB3VKLK.js → chunk-QZ2JQ6O4.js} +6 -6
- package/dist/{chunk-MFHYBSJC.js → chunk-RPZNQV6D.js} +3 -3
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-GAV56VJL.js → chunk-SXOD5J7T.js} +2 -2
- package/dist/{chunk-VHVSBOZH.js → chunk-T4JGFCXU.js} +3 -3
- package/dist/{chunk-HJAJ6W4V.js → chunk-TSTONNOD.js} +2 -2
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-CNVHMLPI.js → chunk-U32PA6DI.js} +1 -1
- package/dist/{chunk-ZNAOBFU5.js → chunk-UAT2UMTP.js} +1 -1
- package/dist/{chunk-QL4ZYSIB.js → chunk-UKM3JYNB.js} +5 -71
- package/dist/{chunk-Z3XXLTVB.js → chunk-UUOIH4RW.js} +3 -3
- package/dist/{chunk-CMDVJP4T.js → chunk-UYPWH7PH.js} +10 -10
- package/dist/{chunk-3B2DBUQX.js → chunk-VAVDAOUA.js} +1 -1
- package/dist/{chunk-G6QDFWDN.js → chunk-VBPNCOD7.js} +2 -2
- package/dist/{chunk-NNLQTG3M.js → chunk-VH4PNYOS.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-F2ASNL2K.js → chunk-WL263XM2.js} +1 -1
- package/dist/{chunk-HEP5XMXV.js → chunk-XAGBSYIQ.js} +9 -2
- package/dist/{chunk-4DGLKB2H.js → chunk-XKW4Z7BU.js} +1 -1
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-NVLPW3DG.js → chunk-XULJBZ7K.js} +2 -2
- package/dist/{chunk-X7RXXBYM.js → chunk-YJK6HOL5.js} +2 -2
- package/dist/{chunk-2MLMO25E.js → chunk-ZCJ5EGLU.js} +26 -6
- package/dist/{chunk-L5MFWGGU.js → chunk-ZYGIDXAK.js} +528 -327
- package/dist/{clean-N5VSKUVS.js → clean-TL3IPJDN.js} +27 -27
- package/dist/cli.js +55 -55
- package/dist/{cloud-74NF5FXC.js → cloud-EYMRPJNY.js} +4 -4
- package/dist/{cloudrun-7UOH335V.js → cloudrun-TOJ36NLX.js} +11 -11
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-AY2LS2TZ.js → compare-MP5EOW4D.js} +41 -41
- package/dist/{compiler-4MHMC777.js → compiler-NOPVLJ2S.js} +8 -8
- package/dist/{component-CFWQOAZI.js → component-ASACDCZK.js} +3 -3
- package/dist/{compositions-DXLJTDSP.js → compositions-WKNZJY34.js} +16 -16
- package/dist/{contactSheet-5APX35L3.js → contactSheet-YOBPATEM.js} +2 -2
- package/dist/{delete-GB4MS7LM.js → delete-DQTFHP3G.js} +2 -2
- package/dist/{deploy-NXD3Q3KD.js → deploy-HHCFOUFM.js} +1 -1
- package/dist/{deterministicFonts-775YXAQ2.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-ZY6IFESG.js → dist-L4Z4ZEYW.js} +6 -3
- package/dist/{dist-3ZJMZU75.js → dist-NQEYA4ZX.js} +36 -36
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-CVY2XXKS.js → doctor-JDM65CP7.js} +19 -19
- package/dist/{events-T3CLIYRG.js → events-MBRNA3UF.js} +3 -3
- package/dist/{events-RYQYEWBV.js → events-RKRHRLJD.js} +2 -2
- package/dist/{feedback-K5ZMMLTA.js → feedback-LZWIWV5J.js} +17 -17
- package/dist/{ffmpeg-UNDAJ2IC.js → ffmpeg-4PZKSIGE.js} +14 -14
- package/dist/{figma-MYYCX635.js → figma-QFNYUT3F.js} +3 -3
- package/dist/fontLocalizeCli.js +19 -18
- package/dist/{get-JVIDYMVP.js → get-2B5ENJOH.js} +2 -2
- package/dist/{gpuPolicy-KEX7GDRJ.js → gpuPolicy-E5FB2GFR.js} +12 -12
- package/dist/{grade-compare-QEF6VASJ.js → grade-compare-4GUAPJHE.js} +39 -39
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/{heifImagePrep-A3ZPVQGU.js → heifImagePrep-C2RYIEER.js} +13 -13
- package/dist/{help-XPPSLIRY.js → help-XGDAXV67.js} +1 -1
- package/dist/{history-OFOPRD27.js → history-WNFF6HGU.js} +107 -59
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +74 -69
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7RF6FQX5.js → info-BR2LKGJD.js} +16 -16
- package/dist/{init-NTIXWA3D.js → init-P6UWPUY3.js} +58 -57
- package/dist/{inspect-MYMCV5E7.js → inspect-MSRPF7ZO.js} +38 -38
- package/dist/{installer-PYJIJ3PJ.js → installer-MPUQS3ZX.js} +10 -10
- package/dist/{keyframes-UJ52PYE4.js → keyframes-J6K66QTO.js} +11 -11
- package/dist/{lambda-SBNUYEQE.js → lambda-LJ2OSWFJ.js} +32 -13
- package/dist/{layout-IOMCOABO.js → layout-CDY65XGA.js} +38 -38
- package/dist/{lint-AQWHHMPS.js → lint-CAUNBGPX.js} +12 -9
- package/dist/{lintProject-5A4SCW3S.js → lintProject-ZTSX3AWT.js} +6 -3
- package/dist/{list-WKAJ5SP3.js → list-33BYQNRZ.js} +2 -2
- package/dist/{login-3ZDK5JOA.js → login-5QMRKOHK.js} +4 -4
- package/dist/{manager-QYFYWZOK.js → manager-3JOHHPVR.js} +16 -16
- package/dist/{manager-F2YREC5X.js → manager-RMYSZ3KI.js} +7 -3
- package/dist/{media-treatment-4OLWVHUY.js → media-treatment-4WP22CFN.js} +22 -22
- package/dist/{models-MR55FAUX.js → models-HPWCHAZX.js} +27 -27
- package/dist/{motionShot-DC47S7BT.js → motionShot-I7GDIROQ.js} +22 -22
- package/dist/{normalize-audio-M2TK4NG5.js → normalize-audio-VTMXPSC7.js} +14 -14
- package/dist/{open-YXWBWTKL.js → open-SAO7OQTT.js} +19 -19
- package/dist/{parakeetRunner-J6QR3GTG.js → parakeetRunner-ZYPBIA73.js} +24 -24
- package/dist/{pipeline-7MJ5H4SW.js → pipeline-VNBMR6QU.js} +15 -15
- package/dist/{play-S562STR4.js → play-7VI6A7KN.js} +28 -28
- package/dist/{preflight-QWGXMISC.js → preflight-VWV7L45J.js} +16 -16
- package/dist/{present-PGOHZT3L.js → present-CSJGYOFF.js} +23 -23
- package/dist/{preview-JU75H4QN.js → preview-B246ZTVO.js} +48 -36
- package/dist/{producer-H66OMZLW.js → producer-WJLFDVQJ.js} +1 -1
- package/dist/{projectConfig-COSP24YT.js → projectConfig-OMR46ZWQ.js} +14 -13
- package/dist/{publication-J3XYHPGB.js → publication-AA7NNYET.js} +8 -8
- package/dist/{publish-7GCCEPJZ.js → publish-TJ4QVVSP.js} +17 -16
- package/dist/{remove-background-WRCGIU32.js → remove-background-LQ2V7W7N.js} +19 -19
- package/dist/{render-5J5PP3UK.js → render-AWEEPG3F.js} +34 -32
- package/dist/{render-QS3YJCBR.js → render-E5QJG74D.js} +14 -11
- package/dist/{render-VUVTK2JM.js → render-JLTNZ36U.js} +80 -48
- package/dist/{render-batch-Q2LQ3D4P.js → render-batch-U4T4VSCM.js} +14 -11
- package/dist/renderSetupWorker.js +10 -7
- package/dist/{resolver-QCBWPRSC.js → resolver-GXCTUKPV.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-X6OKIXCB.js} +1 -1
- package/dist/{sherpa-IZ22SC5W.js → sherpa-4VZWVHWZ.js} +23 -23
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
- package/dist/{skills-3RFMPMJA.js → skills-WUKR7SUE.js} +8 -8
- package/dist/{skillsUpdateCheck-DWBFVUBT.js → skillsUpdateCheck-YXRBY3JC.js} +3 -3
- package/dist/{snapshot-5PHA43DK.js → snapshot-Q7S2FTNG.js} +123 -70
- package/dist/{src-36BQVJL3.js → src-CLAALR5W.js} +20 -19
- package/dist/{src-4YJKYMNF.js → src-ZOXUSGAP.js} +19 -11
- package/dist/{staticProjectServer-3XFB76XS.js → staticProjectServer-DQ7PIDPA.js} +25 -25
- package/dist/studio/assets/hyperframes-player-Cm5aBiKq.js +478 -0
- package/dist/studio/assets/{index-CwreIGoq.js → index-BF9YeBnC.js} +131 -131
- package/dist/studio/assets/{index-BNuxGFZK.js → index-BrqAmMRt.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-WL6EZ4KE.js → studio-api-NUE227JM.js} +17 -17
- package/dist/{studioServer-ZS5RA6U3.js → studioServer-HVOKP4VI.js} +71 -69
- package/dist/{synthesize-QCRP3NI7.js → synthesize-QZHRXGRY.js} +26 -4
- package/dist/{telemetry-W3LRO3TB.js → telemetry-2Y5JXLDB.js} +3 -3
- package/dist/{timeline-BDO5DYWP.js → timeline-WOQGXFRV.js} +27 -27
- package/dist/{tokens-47CEMYFV.js → tokens-T3OHTWUC.js} +2 -2
- package/dist/{transcribe-XF3NL6JI.js → transcribe-4U74P5TG.js} +21 -21
- package/dist/{transcribe-GEPVJO3A.js → transcribe-JZ3BO546.js} +31 -31
- package/dist/{tts-QM4RFE7U.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-BON6ZFYP.js → updateCheck-6EUAGAM4.js} +2 -2
- package/dist/{upgrade-KIF5Z4J3.js → upgrade-55K6F4MP.js} +2 -2
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-UDRHVUWR.js → urlDownloader-47JMOLNN.js} +11 -11
- package/dist/{validate-2OPSQT3W.js → validate-QBJ3SBS4.js} +31 -31
- package/dist/{video-ECWXMY4F.js → video-3ZAUNAR3.js} +16 -14
- package/dist/warmCheck.js +47 -47
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-KLIPVNCO.js +0 -4824
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +0 -478
- package/dist/{chunk-X7A7C4JS.js → chunk-EHFZEKQM.js} +3 -3
|
@@ -17,8 +17,9 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
ancestor,
|
|
19
19
|
full,
|
|
20
|
+
fullAncestor,
|
|
20
21
|
simple
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WC4MTXGN.js";
|
|
22
23
|
import {
|
|
23
24
|
__toESM
|
|
24
25
|
} from "./chunk-M2WBOQ2Q.js";
|
|
@@ -4701,43 +4702,152 @@ function parseProgram2(script) {
|
|
|
4701
4702
|
}
|
|
4702
4703
|
function literalString(node) {
|
|
4703
4704
|
if (node?.type === "Literal" && typeof node.value === "string") return node.value;
|
|
4704
|
-
if (node?.type === "TemplateLiteral" && node.expressions
|
|
4705
|
-
return node.quasis
|
|
4705
|
+
if (node?.type === "TemplateLiteral" && node.expressions.length === 0) {
|
|
4706
|
+
return node.quasis[0]?.value.cooked ?? void 0;
|
|
4706
4707
|
}
|
|
4707
4708
|
return void 0;
|
|
4708
4709
|
}
|
|
4709
4710
|
function memberName(node) {
|
|
4710
4711
|
if (node?.type !== "MemberExpression") return void 0;
|
|
4711
|
-
if (!node.computed && node.property
|
|
4712
|
+
if (!node.computed && node.property.type === "Identifier") return node.property.name;
|
|
4712
4713
|
return literalString(node.property);
|
|
4713
4714
|
}
|
|
4714
|
-
function
|
|
4715
|
-
|
|
4716
|
-
|
|
4715
|
+
function isFunctionScope(node) {
|
|
4716
|
+
return node.type === "Program" || node.type === "FunctionDeclaration" || node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression" || node.type === "StaticBlock";
|
|
4717
|
+
}
|
|
4718
|
+
function isScope(node) {
|
|
4719
|
+
return isFunctionScope(node) || node.type === "BlockStatement" || node.type === "CatchClause" || node.type === "ForStatement" || node.type === "ForInStatement" || node.type === "ForOfStatement" || node.type === "SwitchStatement" || node.type === "ClassDeclaration" || node.type === "ClassExpression";
|
|
4720
|
+
}
|
|
4721
|
+
function declarePattern(pattern, initializer, scope, initializerScope = scope) {
|
|
4722
|
+
switch (pattern.type) {
|
|
4723
|
+
case "Identifier":
|
|
4724
|
+
if (initializer || !scope.bindings.has(pattern.name)) {
|
|
4725
|
+
scope.bindings.set(pattern.name, { initializer, scope: initializerScope });
|
|
4726
|
+
}
|
|
4727
|
+
break;
|
|
4728
|
+
case "RestElement":
|
|
4729
|
+
declarePattern(pattern.argument, null, scope);
|
|
4730
|
+
break;
|
|
4731
|
+
case "AssignmentPattern":
|
|
4732
|
+
declarePattern(pattern.left, null, scope);
|
|
4733
|
+
break;
|
|
4734
|
+
case "ArrayPattern":
|
|
4735
|
+
case "ObjectPattern":
|
|
4736
|
+
declarePatterns(destructuredPatterns(pattern), scope);
|
|
4737
|
+
break;
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
function declarePatterns(patterns, scope) {
|
|
4741
|
+
for (const pattern of patterns) declarePattern(pattern, null, scope);
|
|
4742
|
+
}
|
|
4743
|
+
function destructuredPatterns(pattern) {
|
|
4744
|
+
if (pattern.type === "ObjectPattern") {
|
|
4745
|
+
return pattern.properties.map(
|
|
4746
|
+
(property) => property.type === "RestElement" ? property.argument : property.value
|
|
4747
|
+
);
|
|
4748
|
+
}
|
|
4749
|
+
return pattern.elements.filter((element) => element !== null);
|
|
4750
|
+
}
|
|
4751
|
+
function declareOptionalPattern(pattern, scope) {
|
|
4752
|
+
if (pattern) declarePattern(pattern, null, scope);
|
|
4753
|
+
}
|
|
4754
|
+
function declareScopedName(node, scope) {
|
|
4755
|
+
switch (node.type) {
|
|
4756
|
+
case "FunctionExpression":
|
|
4757
|
+
case "FunctionDeclaration":
|
|
4758
|
+
declareOptionalPattern(node.id, scope);
|
|
4759
|
+
declarePatterns(node.params, scope);
|
|
4760
|
+
break;
|
|
4761
|
+
case "ArrowFunctionExpression":
|
|
4762
|
+
declarePatterns(node.params, scope);
|
|
4763
|
+
break;
|
|
4764
|
+
case "ClassDeclaration":
|
|
4765
|
+
case "ClassExpression":
|
|
4766
|
+
declareOptionalPattern(node.id, scope);
|
|
4767
|
+
break;
|
|
4768
|
+
case "CatchClause":
|
|
4769
|
+
declareOptionalPattern(node.param, scope);
|
|
4770
|
+
break;
|
|
4771
|
+
case "ImportDeclaration":
|
|
4772
|
+
declarePatterns(
|
|
4773
|
+
node.specifiers.map((specifier) => specifier.local),
|
|
4774
|
+
scope
|
|
4775
|
+
);
|
|
4776
|
+
break;
|
|
4777
|
+
}
|
|
4778
|
+
}
|
|
4779
|
+
function lookupBinding(name, scope) {
|
|
4780
|
+
for (let current = scope; current; current = current.parent) {
|
|
4781
|
+
const binding = current.bindings.get(name);
|
|
4782
|
+
if (binding) return binding;
|
|
4783
|
+
}
|
|
4784
|
+
return void 0;
|
|
4785
|
+
}
|
|
4786
|
+
function collectBindings(ast) {
|
|
4787
|
+
const root = { bindings: /* @__PURE__ */ new Map() };
|
|
4788
|
+
const scopes = new WeakMap([[ast, root]]);
|
|
4789
|
+
const scopeAt = (ancestors, functionOnly = false) => {
|
|
4790
|
+
let parent = root;
|
|
4791
|
+
let selected = root;
|
|
4792
|
+
for (const node of ancestors) {
|
|
4793
|
+
if (!isScope(node)) continue;
|
|
4794
|
+
let scope = scopes.get(node);
|
|
4795
|
+
if (!scope) {
|
|
4796
|
+
scope = { parent, bindings: /* @__PURE__ */ new Map() };
|
|
4797
|
+
scopes.set(node, scope);
|
|
4798
|
+
}
|
|
4799
|
+
parent = scope;
|
|
4800
|
+
if (!functionOnly || isFunctionScope(node)) selected = scope;
|
|
4801
|
+
}
|
|
4802
|
+
return selected;
|
|
4803
|
+
};
|
|
4804
|
+
fullAncestor(ast, (node, _state, ancestors) => {
|
|
4805
|
+
const scope = scopeAt(ancestors);
|
|
4806
|
+
if (node.type === "VariableDeclarator") {
|
|
4807
|
+
const declaration = ancestors.at(-2);
|
|
4808
|
+
const bindingScope = scopeAt(
|
|
4809
|
+
ancestors,
|
|
4810
|
+
declaration?.type === "VariableDeclaration" && declaration.kind === "var"
|
|
4811
|
+
);
|
|
4812
|
+
declarePattern(node.id, node.init ?? null, bindingScope, scope);
|
|
4813
|
+
return;
|
|
4814
|
+
}
|
|
4815
|
+
if ((node.type === "FunctionDeclaration" || node.type === "ClassDeclaration") && node.id) {
|
|
4816
|
+
declarePattern(node.id, null, scopeAt(ancestors.slice(0, -1)));
|
|
4817
|
+
}
|
|
4818
|
+
declareScopedName(node, scope);
|
|
4819
|
+
});
|
|
4820
|
+
return scopeAt;
|
|
4821
|
+
}
|
|
4822
|
+
function lookupSelector(node, scope, seen = /* @__PURE__ */ new Set()) {
|
|
4823
|
+
if (node?.type === "Identifier") {
|
|
4824
|
+
const binding = lookupBinding(node.name, scope);
|
|
4825
|
+
if (!binding || seen.has(binding)) return void 0;
|
|
4826
|
+
seen.add(binding);
|
|
4827
|
+
return lookupSelector(binding.initializer, binding.scope, seen);
|
|
4828
|
+
}
|
|
4829
|
+
return selectorFromDomLookup(node);
|
|
4830
|
+
}
|
|
4831
|
+
function selectorFromDomLookup(node) {
|
|
4832
|
+
if (node?.type !== "CallExpression" || node.callee.type !== "MemberExpression") {
|
|
4717
4833
|
return void 0;
|
|
4718
4834
|
}
|
|
4719
4835
|
const method = memberName(node.callee);
|
|
4720
4836
|
if (method !== "getElementById" && method !== "querySelector") return void 0;
|
|
4721
|
-
const value = literalString(node.arguments
|
|
4837
|
+
const value = literalString(node.arguments[0]);
|
|
4722
4838
|
if (!value) return void 0;
|
|
4723
4839
|
return method === "getElementById" ? `#${value}` : value;
|
|
4724
4840
|
}
|
|
4725
4841
|
function extractMediaSrcMutations(script) {
|
|
4726
4842
|
try {
|
|
4727
4843
|
const ast = parseProgram2(script);
|
|
4728
|
-
const
|
|
4729
|
-
simple(ast, {
|
|
4730
|
-
VariableDeclarator(node) {
|
|
4731
|
-
if (node.id?.type !== "Identifier") return;
|
|
4732
|
-
const selector = lookupSelector(node.init, bindings);
|
|
4733
|
-
if (selector) bindings.set(node.id.name, selector);
|
|
4734
|
-
}
|
|
4735
|
-
});
|
|
4844
|
+
const scopeAt = collectBindings(ast);
|
|
4736
4845
|
const mutations = [];
|
|
4737
|
-
|
|
4738
|
-
AssignmentExpression(node) {
|
|
4739
|
-
if (node.operator !== "=" || memberName(node.left) !== "src")
|
|
4740
|
-
|
|
4846
|
+
ancestor(ast, {
|
|
4847
|
+
AssignmentExpression(node, _state, ancestors) {
|
|
4848
|
+
if (node.operator !== "=" || node.left.type !== "MemberExpression" || memberName(node.left) !== "src")
|
|
4849
|
+
return;
|
|
4850
|
+
const selector = lookupSelector(node.left.object, scopeAt(ancestors));
|
|
4741
4851
|
if (!selector) return;
|
|
4742
4852
|
mutations.push({
|
|
4743
4853
|
selector,
|
|
@@ -4745,10 +4855,11 @@ function extractMediaSrcMutations(script) {
|
|
|
4745
4855
|
raw: script.slice(node.start, node.end)
|
|
4746
4856
|
});
|
|
4747
4857
|
},
|
|
4748
|
-
CallExpression(node) {
|
|
4749
|
-
if (memberName(node.callee) !== "setAttribute")
|
|
4750
|
-
|
|
4751
|
-
|
|
4858
|
+
CallExpression(node, _state, ancestors) {
|
|
4859
|
+
if (node.callee.type !== "MemberExpression" || memberName(node.callee) !== "setAttribute")
|
|
4860
|
+
return;
|
|
4861
|
+
if (literalString(node.arguments[0])?.toLowerCase() !== "src") return;
|
|
4862
|
+
const selector = lookupSelector(node.callee.object, scopeAt(ancestors));
|
|
4752
4863
|
if (!selector) return;
|
|
4753
4864
|
mutations.push({
|
|
4754
4865
|
selector,
|
|
@@ -6,13 +6,13 @@ 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-NJNC2DQV.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RPZNQV6D.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BDJIQZN2.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/compositionServer.ts
|
|
18
18
|
import { createHash } from "crypto";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ID766OZB.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VQB7G5BM.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TARGET_LUFS,
|
|
29
29
|
absoluteLoudnessPlan,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6KCFVLO6.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HA3V4XAF.js";
|
|
74
74
|
import {
|
|
75
75
|
STUDIO_MOTION_PATH,
|
|
76
76
|
createStudioMotionRenderBodyScript,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
import {
|
|
86
86
|
findTimelineScript,
|
|
87
87
|
parseGsapScriptAcorn
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-W4DMQZL5.js";
|
|
89
89
|
import {
|
|
90
90
|
atomicTempPath,
|
|
91
91
|
createFileAtomically,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./chunk-EOVYQ3IG.js";
|
|
94
94
|
import {
|
|
95
95
|
parseEncoderOptions
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-5YHQBCWH.js";
|
|
97
97
|
import {
|
|
98
98
|
STUDIO_MANUAL_EDITS_PATH
|
|
99
99
|
} from "./chunk-EVMY7IPL.js";
|
|
@@ -103,6 +103,12 @@ import {
|
|
|
103
103
|
fontDirectories,
|
|
104
104
|
locateSystemFont
|
|
105
105
|
} from "./chunk-7FMUTGOH.js";
|
|
106
|
+
import {
|
|
107
|
+
addScenePartsManifest,
|
|
108
|
+
ensureHfIds,
|
|
109
|
+
stampHfIdsInPlace,
|
|
110
|
+
stripSdrPngColourTags
|
|
111
|
+
} from "./chunk-RPZNQV6D.js";
|
|
106
112
|
import {
|
|
107
113
|
GSAP_BASE_URL_META,
|
|
108
114
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -118,13 +124,7 @@ import {
|
|
|
118
124
|
normalizeGsapLocalRoot,
|
|
119
125
|
parseFps,
|
|
120
126
|
parsePreviewProxyBox
|
|
121
|
-
} from "./chunk-
|
|
122
|
-
import {
|
|
123
|
-
addScenePartsManifest,
|
|
124
|
-
ensureHfIds,
|
|
125
|
-
stampHfIdsInPlace,
|
|
126
|
-
stripSdrPngColourTags
|
|
127
|
-
} from "./chunk-MFHYBSJC.js";
|
|
127
|
+
} from "./chunk-7RWUY3BJ.js";
|
|
128
128
|
import {
|
|
129
129
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
130
130
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -138,15 +138,7 @@ import {
|
|
|
138
138
|
resolveRateSpec,
|
|
139
139
|
sourceTimeAt,
|
|
140
140
|
stripEmbeddedRuntimeScripts
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import {
|
|
143
|
-
HTML_ATTRIBUTE_ENTITIES,
|
|
144
|
-
MagicString,
|
|
145
|
-
VALID_CANVAS_RESOLUTIONS,
|
|
146
|
-
decodeAuthoredAttribute,
|
|
147
|
-
scanHtmlOpeningTags,
|
|
148
|
-
unrollComputedTimeline
|
|
149
|
-
} from "./chunk-OFRRUYBA.js";
|
|
141
|
+
} from "./chunk-BDJIQZN2.js";
|
|
150
142
|
import {
|
|
151
143
|
ProjectRootMissingError,
|
|
152
144
|
folderGone,
|
|
@@ -173,7 +165,15 @@ import {
|
|
|
173
165
|
rewriteCssAssetUrls,
|
|
174
166
|
rewriteInlineStyleAssetUrls,
|
|
175
167
|
sameInstant
|
|
176
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-SE2MXV2N.js";
|
|
169
|
+
import {
|
|
170
|
+
HTML_ATTRIBUTE_ENTITIES,
|
|
171
|
+
MagicString,
|
|
172
|
+
VALID_CANVAS_RESOLUTIONS,
|
|
173
|
+
decodeAuthoredAttribute,
|
|
174
|
+
scanHtmlOpeningTags,
|
|
175
|
+
unrollComputedTimeline
|
|
176
|
+
} from "./chunk-NHA4NRBE.js";
|
|
177
177
|
import {
|
|
178
178
|
parseHTML
|
|
179
179
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
ancestor,
|
|
182
182
|
full,
|
|
183
183
|
simple
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-WC4MTXGN.js";
|
|
185
185
|
|
|
186
186
|
// ../studio-server/dist/chunk-FJBJJURY.js
|
|
187
187
|
import { createHash } from "crypto";
|
|
@@ -367,6 +367,7 @@ var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
|
|
|
367
367
|
var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
|
|
368
368
|
var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
|
|
369
369
|
var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
|
|
370
|
+
var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
|
|
370
371
|
|
|
371
372
|
// ../studio-server/dist/chunk-UEEXAVOA.js
|
|
372
373
|
function findUnsafeMutationValues(value, path = "body", options = {}) {
|
|
@@ -5551,7 +5552,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5551
5552
|
let block = extractGsapScriptBlock(html);
|
|
5552
5553
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5553
5554
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5554
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5555
|
+
const { GSAP_CDN } = await import("./dist-NQEYA4ZX.js");
|
|
5555
5556
|
const bootstrap = [
|
|
5556
5557
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5557
5558
|
"<script>",
|
|
@@ -9930,7 +9931,7 @@ function registerHistoryRoutes(api, adapter) {
|
|
|
9930
9931
|
);
|
|
9931
9932
|
}
|
|
9932
9933
|
function previewErrorPage(status) {
|
|
9933
|
-
const message =
|
|
9934
|
+
const message = refusedPreviewMessage(status);
|
|
9934
9935
|
return `<!doctype html><meta charset="utf-8"><script>window.${STUDIO_PREVIEW_ERRORS}=[${JSON.stringify(message)}]</script><p>${message}</p>`;
|
|
9935
9936
|
}
|
|
9936
9937
|
async function answerRefusedFrameWithPage(c, next) {
|
|
@@ -6,15 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/capture/captureFile.ts
|
|
9
|
-
import {
|
|
10
|
-
mkdirSync,
|
|
11
|
-
mkdtempSync,
|
|
12
|
-
realpathSync,
|
|
13
|
-
renameSync,
|
|
14
|
-
rmSync,
|
|
15
|
-
statSync,
|
|
16
|
-
writeFileSync
|
|
17
|
-
} from "fs";
|
|
9
|
+
import { mkdirSync, mkdtempSync, realpathSync, renameSync, statSync, writeFileSync } from "fs";
|
|
18
10
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
19
11
|
|
|
20
12
|
// src/capture/captureErrors.ts
|
|
@@ -35,6 +27,35 @@ var CaptureDirRefusedError = class extends Error {
|
|
|
35
27
|
}
|
|
36
28
|
};
|
|
37
29
|
|
|
30
|
+
// ../core/dist/removeTree.js
|
|
31
|
+
import { rmSync } from "fs";
|
|
32
|
+
import { rm } from "fs/promises";
|
|
33
|
+
var RETRY = { recursive: true, force: true, maxRetries: 10, retryDelay: 100 };
|
|
34
|
+
function refusal(path, error) {
|
|
35
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
36
|
+
return `[cleanup] could not remove ${path}: ${reason}`;
|
|
37
|
+
}
|
|
38
|
+
function removeTreeWithRetry(path, remove = rmSync) {
|
|
39
|
+
remove(path, RETRY);
|
|
40
|
+
}
|
|
41
|
+
async function removeTreeWithRetryAsync(path, remove = rm) {
|
|
42
|
+
await remove(path, RETRY);
|
|
43
|
+
}
|
|
44
|
+
function removeTreeBestEffort(path, options = {}) {
|
|
45
|
+
try {
|
|
46
|
+
removeTreeWithRetry(path, options.remove);
|
|
47
|
+
} catch (error) {
|
|
48
|
+
(options.warn ?? console.warn)(refusal(path, error));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
async function removeTreeBestEffortAsync(path, options = {}) {
|
|
52
|
+
try {
|
|
53
|
+
await removeTreeWithRetryAsync(path, options.remove);
|
|
54
|
+
} catch (error) {
|
|
55
|
+
(options.warn ?? console.warn)(refusal(path, error));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
38
59
|
// src/capture/captureFile.ts
|
|
39
60
|
function publishCaptureFileSync(path, data, options) {
|
|
40
61
|
const stagingDir = mkdtempSync(join(dirname(path), ".capture-"));
|
|
@@ -43,7 +64,7 @@ function publishCaptureFileSync(path, data, options) {
|
|
|
43
64
|
writeCaptureFileSync(staged, data, { ...options, flag: "wx" });
|
|
44
65
|
renameSync(staged, path);
|
|
45
66
|
} finally {
|
|
46
|
-
|
|
67
|
+
removeTreeBestEffort(stagingDir);
|
|
47
68
|
}
|
|
48
69
|
}
|
|
49
70
|
function writeCaptureFileSync(path, data, options) {
|
|
@@ -99,6 +120,7 @@ function ensureCaptureDirSync(root, dir) {
|
|
|
99
120
|
export {
|
|
100
121
|
NavigationDeadlineError,
|
|
101
122
|
CaptureDirRefusedError,
|
|
123
|
+
removeTreeBestEffortAsync,
|
|
102
124
|
writeCaptureFileSync,
|
|
103
125
|
ensureCaptureDirSync
|
|
104
126
|
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6IYIS2U7.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JQ32262N.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IK4JY2LI.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-63DP5CB2.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LK6KPVX2.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
getUpdateMeta,
|
|
43
43
|
withMeta
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EGRIVMCQ.js";
|
|
45
45
|
import {
|
|
46
46
|
CONFIG_PATH,
|
|
47
47
|
withFileLock
|
|
48
48
|
} from "./chunk-PSX5SF2N.js";
|
|
49
49
|
import {
|
|
50
50
|
VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-DML6BD4K.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeErrorMessage
|
|
54
54
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -234,7 +234,7 @@ function checkEnvironment() {
|
|
|
234
234
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
235
235
|
}
|
|
236
236
|
async function checkWhisper() {
|
|
237
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
237
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-3JOHHPVR.js");
|
|
238
238
|
const result = findWhisper();
|
|
239
239
|
if (result) {
|
|
240
240
|
return { ok: true, detail: result.executablePath };
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PL36HK3U.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6IYIS2U7.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JQ32262N.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
} from "./chunk-ELP5QZWL.js";
|
|
17
17
|
import {
|
|
18
18
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
decodeUrlPathVariants,
|
|
22
|
-
encodeUrlPath
|
|
23
|
-
} from "./chunk-OFRRUYBA.js";
|
|
19
|
+
} from "./chunk-BDJIQZN2.js";
|
|
24
20
|
import {
|
|
25
21
|
CSS_URL_RE,
|
|
26
22
|
isNonRelativeUrl,
|
|
27
23
|
isPathInside
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SE2MXV2N.js";
|
|
25
|
+
import {
|
|
26
|
+
decodeUrlPathVariants,
|
|
27
|
+
encodeUrlPath
|
|
28
|
+
} from "./chunk-NHA4NRBE.js";
|
|
29
29
|
import {
|
|
30
30
|
parseHTML
|
|
31
31
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BDJIQZN2.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-OFQWTKPW.js";
|
|
70
70
|
import {
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ZCJ5EGLU.js";
|
|
73
73
|
import {
|
|
74
74
|
CSS_URL_RE,
|
|
75
75
|
checkSubCompositionUsability,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
rewriteCssAssetUrls,
|
|
85
85
|
rewriteInlineStyleAssetUrls,
|
|
86
86
|
splitUrlSuffix
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-SE2MXV2N.js";
|
|
88
88
|
import {
|
|
89
89
|
parseHTML
|
|
90
90
|
} from "./chunk-GWTIFRF5.js";
|