hyperframes 0.8.144 → 0.8.146
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/README.md +3 -2
- package/dist/{add-CWRTVGDB.js → add-6J4TLUDW.js} +15 -15
- package/dist/{animatedGifPrep-JTOHIWI4.js → animatedGifPrep-TPYA45ZZ.js} +10 -10
- package/dist/{asset-KU2Z4UFM.js → asset-B4C6ZU4V.js} +2 -2
- package/dist/{assetCataloger-3CS2P7PA.js → assetCataloger-GX4B55VB.js} +4 -4
- package/dist/{auth-IDSOIQWG.js → auth-T2V3URGO.js} +2 -2
- package/dist/{autoUpdate-373B4BA2.js → autoUpdate-O4R7IOYP.js} +2 -2
- package/dist/{backgroundChecks-53Q3NAMG.js → backgroundChecks-SQHGZCSH.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-UKZA6BME.js → batchRender-T7S2CGJE.js} +5 -5
- package/dist/{beats-N5JGEOFR.js → beats-RNEXDM7U.js} +16 -16
- package/dist/{benchmark-CUN3LN4V.js → benchmark-IVK6FCEU.js} +12 -12
- package/dist/{browser-NCZT5AP6.js → browser-WUE6VK2N.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-FWC7PE2D.js → bundleWithLocalizedFonts-EEIRL7FT.js} +2 -2
- package/dist/{capture-YLS32UHT.js → capture-K3EONGGU.js} +2 -2
- package/dist/{capture-QBLG3VJR.js → capture-LEKIGJ4G.js} +13 -13
- package/dist/{catalog-HIWNAFHW.js → catalog-IXYQ2KXW.js} +15 -15
- package/dist/{catch-up-HGS7KIAC.js → catch-up-IIF7HKR6.js} +6 -6
- package/dist/{check-FH6UYYLO.js → check-W7CDOXNP.js} +38 -38
- package/dist/{checkBrowser-RNWNOMCZ.js → checkBrowser-5VSXEHBZ.js} +118 -61
- package/dist/{chunk-XU5GGV6R.js → chunk-2NAUEDA6.js} +2 -2
- package/dist/{chunk-GZM2EFOE.js → chunk-3HSWLZ6S.js} +1 -1
- package/dist/{chunk-YUAXFWSQ.js → chunk-4RUILXS6.js} +5 -5
- package/dist/{chunk-MXNDKDFT.js → chunk-54UXJKFF.js} +1 -1
- package/dist/{chunk-DIRJ322I.js → chunk-66SAATRI.js} +3 -3
- package/dist/{chunk-RI53TS2Y.js → chunk-6TTAXMDG.js} +2 -2
- package/dist/{chunk-YJXHMIZA.js → chunk-A72OAGNB.js} +6 -6
- package/dist/{chunk-G75ENCEZ.js → chunk-AIJS74LG.js} +3 -3
- package/dist/{chunk-GEWKFRFI.js → chunk-AJ5R4GM6.js} +1 -1
- package/dist/{chunk-3VYNNWVA.js → chunk-BAKPN2D2.js} +101 -94
- package/dist/{chunk-3XTEXWNN.js → chunk-CVPWZ5LY.js} +3 -3
- package/dist/{chunk-AUBOF2PN.js → chunk-DDNS2674.js} +1 -1
- package/dist/{chunk-QFSCCQIR.js → chunk-DMKI64EZ.js} +1 -1
- package/dist/{chunk-NOPBBSLA.js → chunk-DUU77E2S.js} +69 -64
- package/dist/{chunk-RVFEDAUV.js → chunk-EGO6Z24R.js} +3 -3
- package/dist/{chunk-KC5XXX3X.js → chunk-EOOEC32M.js} +1 -1
- package/dist/{chunk-2DA2BBNY.js → chunk-ETNQF37F.js} +10 -10
- package/dist/{chunk-54QISXOC.js → chunk-FDL4HV44.js} +2 -2
- package/dist/{chunk-VYSUZEJG.js → chunk-FJLHVAPO.js} +6 -6
- package/dist/{chunk-QZ3AZTXI.js → chunk-FJWEYVEM.js} +42 -16
- package/dist/{chunk-EX6C672Y.js → chunk-FKLYMV3U.js} +1 -1
- package/dist/{chunk-PUGIRFPX.js → chunk-FMNVTKX2.js} +4 -4
- package/dist/{chunk-L5TUCXWR.js → chunk-HBGJYBGE.js} +2 -2
- package/dist/{chunk-SLCFKB3Y.js → chunk-HTM4CIFS.js} +11 -8
- package/dist/{chunk-T42U2W2R.js → chunk-IXLUTE6N.js} +1 -1
- package/dist/{chunk-OUSLVRO4.js → chunk-JBQJKC23.js} +76 -6
- package/dist/{chunk-IEIJRMLZ.js → chunk-JDB65PPT.js} +62 -63
- package/dist/{chunk-USDEMXXL.js → chunk-JYVGYKXG.js} +1 -1
- package/dist/{chunk-P6WH6QTV.js → chunk-K7ES5RSK.js} +1 -1
- package/dist/{chunk-LC3RQURJ.js → chunk-KFZUUXUN.js} +3 -3
- package/dist/{chunk-OIDN7G42.js → chunk-KG265HQ7.js} +2 -2
- package/dist/{chunk-7RAYSCYT.js → chunk-KPJMBC4K.js} +2 -2
- package/dist/{chunk-MAYCCGMQ.js → chunk-KVGDFUVO.js} +1 -1
- package/dist/{chunk-JEHFZQYT.js → chunk-LE7T4ML7.js} +1 -1
- package/dist/{chunk-MQZVBHEY.js → chunk-LFNQDTSH.js} +1 -1
- package/dist/{chunk-ZOA2SC4P.js → chunk-MOL32UKR.js} +45 -11
- package/dist/{chunk-RG3QWWIE.js → chunk-QSSPIATO.js} +2 -2
- package/dist/{chunk-F2SMS24Q.js → chunk-R6R74HNZ.js} +117 -139
- package/dist/{chunk-7SDCIWHQ.js → chunk-SYMSKGXI.js} +2 -2
- package/dist/{chunk-ZEUONDQG.js → chunk-SYUGVPYH.js} +1 -1
- package/dist/{chunk-4OC7MQNB.js → chunk-TBOMPYG6.js} +2 -2
- package/dist/{chunk-KFKZ3ISO.js → chunk-TH4OXAWY.js} +1 -1
- package/dist/{chunk-4LAR447G.js → chunk-UOBYRLDD.js} +1 -1
- package/dist/{chunk-NV4RXIQ7.js → chunk-UZUUVYAO.js} +3 -3
- package/dist/{chunk-PJ3HDUCY.js → chunk-VAS6HQX3.js} +39 -9
- package/dist/{chunk-LFX2HEYP.js → chunk-VT563F4O.js} +7 -7
- package/dist/{chunk-5VMR4WBS.js → chunk-WU2B74TL.js} +363 -103
- package/dist/{chunk-5HJ343GH.js → chunk-WUZ6TMAO.js} +1 -1
- package/dist/{chunk-GQJZORQP.js → chunk-XBSPQ52S.js} +1 -1
- package/dist/{chunk-5WADG7PR.js → chunk-XJUZEB44.js} +1 -1
- package/dist/{chunk-I5KY7EZP.js → chunk-XVIYZU3D.js} +1 -1
- package/dist/{chunk-XGFHYAYN.js → chunk-Z5C4LEAD.js} +33 -28
- package/dist/chunk-Z6FLHIDV.js +3795 -0
- package/dist/{chunk-DDIVWXN7.js → chunk-ZFN6GQU4.js} +4 -4
- package/dist/{chunk-Y6UPYWJS.js → chunk-ZVZSFDW3.js} +2 -2
- package/dist/{chunk-A53CBD24.js → chunk-ZZ7H4IJ6.js} +9 -9
- package/dist/{clean-KPX27IKJ.js → clean-2GDD2B4F.js} +23 -23
- package/dist/cli.js +52 -52
- package/dist/{cloud-P7DAOISN.js → cloud-LUKGDTTE.js} +4 -4
- package/dist/{cloudrun-XM56TBOH.js → cloudrun-NQF5KFQI.js} +6 -6
- package/dist/{compare-F6YAFZZM.js → compare-4P6O4ONG.js} +32 -32
- package/dist/{compiler-JZ4GNFMG.js → compiler-ACCPOZMQ.js} +10 -6
- package/dist/{component-3CFOGIQA.js → component-SDDOLNJD.js} +3 -3
- package/dist/{compositions-CPCMWF24.js → compositions-P2L6HUVQ.js} +15 -15
- package/dist/{delete-GYVKOKB6.js → delete-Q6S4BJ3F.js} +2 -2
- package/dist/{deterministicFonts-U2BIMGPG.js → deterministicFonts-C5JQLCTS.js} +2 -2
- package/dist/{dist-YPWQDWJ4.js → dist-GPDOV3IQ.js} +4 -4
- package/dist/{dist-KDJTFJHA.js → dist-HUMFCJ6T.js} +3 -3
- package/dist/{doctor-GWI3B6JT.js → doctor-NL73UKHV.js} +15 -15
- package/dist/{events-BRRUDPPT.js → events-AVOPOKO3.js} +5 -5
- package/dist/{events-V2QFN4YM.js → events-X7KPU7LG.js} +4 -4
- package/dist/{feedback-CXMD7FWL.js → feedback-GJZ5NXSH.js} +10 -10
- package/dist/{ffmpeg-T5SH2EFJ.js → ffmpeg-5V4FP3R6.js} +2 -2
- package/dist/{figma-YABDWD66.js → figma-V7SVQQI5.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -14
- package/dist/{get-L2SOQKHX.js → get-FO3YZYEU.js} +2 -2
- package/dist/{gpuPolicy-NBJNWHYS.js → gpuPolicy-QGS4TFWP.js} +10 -10
- package/dist/{grade-compare-STXQPKYQ.js → grade-compare-7ICSN7KE.js} +33 -33
- package/dist/{help-4H6BSFLB.js → help-Y5LYZG7K.js} +2 -2
- package/dist/{history-4IQOLTHJ.js → history-RKGBRNLD.js} +49 -22
- package/dist/hyperframe-runtime.js +214 -68
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +214 -68
- package/dist/hyperframes-player.global.js +4 -5
- package/dist/hyperframes-slideshow.global.js +3 -4
- package/dist/{info-2CZOTNBC.js → info-GGUTL2NR.js} +11 -11
- package/dist/{init-6BXK42VS.js → init-PG7NA5SQ.js} +31 -31
- package/dist/{inspect-VKU47TBH.js → inspect-FCXUB6DE.js} +33 -33
- package/dist/{installer-T2BSSUDY.js → installer-LZ4X5TZZ.js} +6 -6
- package/dist/{keyframes-IEYVHRPI.js → keyframes-R3K6WJ3N.js} +8 -8
- package/dist/{lambda-TIKG25CK.js → lambda-3GAKHMC3.js} +7 -7
- package/dist/{layout-XOI4PT7A.js → layout-XNIZIGA2.js} +33 -33
- package/dist/{lint-DWCMVIX5.js → lint-4KDS2F4O.js} +11 -11
- package/dist/{lintProject-UBZ3TDHU.js → lintProject-SSEXWCH6.js} +3 -3
- package/dist/{list-7GXKG5QM.js → list-OVPURFPK.js} +2 -2
- package/dist/{login-BQ5L2UHX.js → login-EE2AX2PE.js} +4 -4
- package/dist/{manager-YKMHR6LN.js → manager-5ORDVWJB.js} +3 -3
- package/dist/{media-treatment-IFB7OSZ3.js → media-treatment-UDUEOP67.js} +86 -55
- package/dist/{models-TY4PJ545.js → models-LPK2O4B2.js} +14 -14
- package/dist/{motionShot-WXMFHICW.js → motionShot-G76XBOYI.js} +35 -29
- package/dist/{normalize-audio-RFD776HQ.js → normalize-audio-TUKWZ3OR.js} +10 -10
- package/dist/{open-7IXXGO2E.js → open-7XB2TGVB.js} +6 -6
- package/dist/{parakeetRunner-IHLYYMTZ.js → parakeetRunner-DL556HXL.js} +14 -14
- package/dist/{pipeline-TXKPLL2U.js → pipeline-34N5DLWU.js} +11 -11
- package/dist/{play-J2KP64UK.js → play-DDA2UUQF.js} +26 -26
- package/dist/{preflight-B4AFK3RG.js → preflight-ONF5AJNO.js} +5 -5
- package/dist/{present-MHHNRVRA.js → present-LLNRKXF5.js} +23 -23
- package/dist/{preview-CONUOFFQ.js → preview-H3ZZS46F.js} +57 -26
- package/dist/{producer-ZI46K7HH.js → producer-IFQOZK2G.js} +1 -1
- package/dist/{projectConfig-FGGVG5MV.js → projectConfig-SBRMQZGG.js} +8 -8
- package/dist/{publication-TXFBMW6B.js → publication-5BQICRZO.js} +4 -4
- package/dist/{publish-YZSPBFRD.js → publish-XDUZA3E3.js} +27 -26
- package/dist/{remove-background-4ATVLHLG.js → remove-background-GNKRMFQS.js} +12 -12
- package/dist/{render-MH4IUPWB.js → render-JM6KNRIA.js} +27 -27
- package/dist/{render-6FBYLYGJ.js → render-KTTC3EE5.js} +12 -12
- package/dist/{render-GFW5BPES.js → render-PCFO45RK.js} +5 -5
- package/dist/{render-batch-XUCZ2PUJ.js → render-batch-7R2NRNVJ.js} +5 -5
- package/dist/{renderCancellation-XF7M7IUP.js → renderCancellation-GP3XD2FS.js} +10 -10
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-W7AYCQGS.js → resolver-C4FPX72I.js} +6 -6
- package/dist/{sherpa-LDUB5NLY.js → sherpa-MZP3MV2X.js} +14 -14
- package/dist/skills/hyperframes/scripts/lib/frame-packets-core.mjs +2 -20
- package/dist/skills/hyperframes/scripts/lib/main-module.mjs +13 -0
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +51 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +4 -3
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +5 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/media-use/audio/scripts/heygen-voice.mjs +2 -2
- package/dist/skills/media-use/audio/scripts/lib/main-module.mjs +13 -0
- package/dist/skills/media-use/references/media-treatments.md +5 -1
- package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -3
- package/dist/skills/media-use/scripts/lib/main-module.mjs +13 -0
- package/dist/{skills-VENERS5X.js → skills-OET4XSHR.js} +7 -7
- package/dist/{skillsUpdateCheck-UXFYTACG.js → skillsUpdateCheck-IPFSKKJD.js} +3 -3
- package/dist/{slideshow-4OJEPWNZ.js → slideshow-YTWATJRT.js} +1 -1
- package/dist/{snapshot-C6T74HTI.js → snapshot-EC4N75MS.js} +34 -34
- package/dist/{src-VUJ2FUFK.js → src-LIERUCFW.js} +13 -9
- package/dist/{src-FS5RSVEI.js → src-ZZQJOKO6.js} +13 -13
- package/dist/{staticProjectServer-V2RZ4DWD.js → staticProjectServer-YH2RHYKW.js} +20 -20
- package/dist/{status-LXPGSSKY.js → status-PTKNQD2E.js} +2 -2
- package/dist/studio/assets/{hyperframes-player-Bw_jIaSX.js → hyperframes-player-tkxyWf5H.js} +3 -3
- package/dist/studio/assets/{index-Cj7W_c7p.js → index-BrdqOkqP.js} +1 -1
- package/dist/studio/assets/{index-BVM9NuWl.js → index-Cg48BxAo.js} +145 -145
- package/dist/studio/assets/{index-DyH9dT7b.js → index-Dllxg4aU.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TQE7KWKO.js → studio-api-T2TS2CHL.js} +16 -14
- package/dist/{studioServer-CYKSQK7L.js → studioServer-GJVVJUEL.js} +54 -52
- package/dist/{system-OQLOGGPJ.js → system-OXRG57F2.js} +2 -2
- package/dist/{telemetry-A23PPRD6.js → telemetry-ZQ5XVE6Z.js} +5 -5
- package/dist/{timeline-T3QSGT3A.js → timeline-I2T5WIPD.js} +34 -25
- package/dist/{tokens-RT5HWA6C.js → tokens-ONUWOXEX.js} +2 -2
- package/dist/{transcribe-FOLNOC5G.js → transcribe-BCQMA537.js} +12 -12
- package/dist/{transcribe-HCF64LQK.js → transcribe-ZLJF7V5Y.js} +13 -13
- package/dist/{updateCheck-27PIP3AA.js → updateCheck-ZWHDXF73.js} +2 -2
- package/dist/{upgrade-TVGXBUPJ.js → upgrade-32JGFZWS.js} +2 -2
- package/dist/{urlDownloader-KBLBJKRL.js → urlDownloader-EVDP43GM.js} +9 -9
- package/dist/{validate-ZMYGK4QI.js → validate-G4PUGQCI.js} +27 -27
- package/dist/{video-AVE5GIGM.js → video-TILEY3VJ.js} +10 -10
- package/package.json +3 -2
- package/dist/chunk-WJB7WI4J.js +0 -3753
- package/dist/studio/chunk-3GHTHPZD.js +0 -1105
- package/dist/studio/chunk-3GHTHPZD.js.map +0 -1
- package/dist/studio/chunk-EEXSYY5F.js +0 -190
- package/dist/studio/chunk-EEXSYY5F.js.map +0 -1
- package/dist/studio/chunk-G3EDKRZH.js +0 -1442
- package/dist/studio/chunk-G3EDKRZH.js.map +0 -1
- package/dist/studio/chunk-PEAKCOUW.js +0 -942
- package/dist/studio/chunk-PEAKCOUW.js.map +0 -1
- package/dist/studio/chunk-PZ5AY32C.js +0 -10
- package/dist/studio/chunk-PZ5AY32C.js.map +0 -1
- package/dist/studio/chunk-Y2OHHNM2.js +0 -970
- package/dist/studio/chunk-Y2OHHNM2.js.map +0 -1
- package/dist/studio/domEditingLayers-PYST4G45.js +0 -47
- package/dist/studio/domEditingLayers-PYST4G45.js.map +0 -1
- package/dist/studio/index.css +0 -165
- package/dist/studio/index.css.map +0 -1
- package/dist/studio/index.d.ts +0 -4315
- package/dist/studio/index.js +0 -100971
- package/dist/studio/index.js.map +0 -1
- package/dist/studio/player.d.ts +0 -30
- package/dist/studio/player.js +0 -10
- package/dist/studio/player.js.map +0 -1
- package/dist/studio/styles/tailwind-preset.d.ts +0 -39
- package/dist/studio/styles/tailwind-preset.js +0 -50
- package/dist/studio/styles/tailwind-preset.js.map +0 -1
- package/dist/studio/styles.css +0 -1
- package/dist/studio/ui.d.ts +0 -297
- package/dist/studio/ui.js +0 -66
- package/dist/studio/ui.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as P}from"./index-
|
|
1
|
+
import{h as P}from"./index-Cg48BxAo.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var h=e[o+x]-t,_=r.some(function(g){if(g.interval===h)return g.count+=1});_||r.push({interval:h,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
|
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-Cg48BxAo.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-CVd4O6eH.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getMimeType,
|
|
23
23
|
stampProjectHfIds,
|
|
24
24
|
thumbnailDeviceScaleFactor
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z5C4LEAD.js";
|
|
26
26
|
import {
|
|
27
27
|
dedupeClonedCompositionId,
|
|
28
28
|
findTargetElement,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-A72OAGNB.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_HISTORY_ROOT,
|
|
36
36
|
DELETED_VERSION,
|
|
@@ -50,35 +50,36 @@ import {
|
|
|
50
50
|
listProjectHistories,
|
|
51
51
|
openProjectHistory,
|
|
52
52
|
pruneGoneProjectHistories,
|
|
53
|
+
readProjectHistory,
|
|
53
54
|
settledFileTag
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FJWEYVEM.js";
|
|
55
56
|
import {
|
|
56
57
|
requestSubPath
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ZFN6GQU4.js";
|
|
58
59
|
import {
|
|
59
60
|
CACHE_DIR_NAME,
|
|
60
61
|
cleanupProxyCache
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-MOL32UKR.js";
|
|
62
63
|
import {
|
|
63
64
|
STUDIO_MOTION_PATH,
|
|
64
65
|
createStudioMotionRenderBodyScript,
|
|
65
66
|
walkDir
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-AIJS74LG.js";
|
|
67
68
|
import "./chunk-EOVYQ3IG.js";
|
|
68
69
|
import "./chunk-374QQGBQ.js";
|
|
69
70
|
import {
|
|
70
71
|
STUDIO_MANUAL_EDITS_PATH,
|
|
71
72
|
createStudioManualEditsRenderBodyScript,
|
|
72
73
|
createStudioPositionSeekReapplyScript
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-EOOEC32M.js";
|
|
74
75
|
import "./chunk-TJSTGSAW.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-JBQJKC23.js";
|
|
76
77
|
import "./chunk-NE55C6S5.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-BAKPN2D2.js";
|
|
79
|
+
import "./chunk-Z6FLHIDV.js";
|
|
79
80
|
import "./chunk-VC76R6W2.js";
|
|
80
81
|
import "./chunk-YA62XGXS.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-LFNQDTSH.js";
|
|
82
83
|
import {
|
|
83
84
|
isSafePath
|
|
84
85
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -86,17 +87,17 @@ import "./chunk-DPVXBVLL.js";
|
|
|
86
87
|
import "./chunk-T76PLPD6.js";
|
|
87
88
|
import "./chunk-FXMKHHPO.js";
|
|
88
89
|
import "./chunk-RQVDTPGD.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-JDB65PPT.js";
|
|
90
91
|
import "./chunk-IWFLMU2N.js";
|
|
91
92
|
import "./chunk-APDLWWFG.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-VAS6HQX3.js";
|
|
93
94
|
import "./chunk-3RM2ETQT.js";
|
|
94
95
|
import {
|
|
95
96
|
decodeWellFormedEscapes
|
|
96
97
|
} from "./chunk-BSQ7XANM.js";
|
|
97
98
|
import "./chunk-SDYDNHEE.js";
|
|
98
99
|
import "./chunk-2PSPARWP.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-IXLUTE6N.js";
|
|
100
101
|
import "./chunk-M2WBOQ2Q.js";
|
|
101
102
|
export {
|
|
102
103
|
DEFAULT_HISTORY_ROOT,
|
|
@@ -144,6 +145,7 @@ export {
|
|
|
144
145
|
parseSourceDocument,
|
|
145
146
|
patchElementInHtml,
|
|
146
147
|
pruneGoneProjectHistories,
|
|
148
|
+
readProjectHistory,
|
|
147
149
|
removeElementFromHtml,
|
|
148
150
|
requestSubPath,
|
|
149
151
|
settledFileTag,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
seekCompositionTimeline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HTM4CIFS.js";
|
|
10
10
|
import "./chunk-FH7WODJH.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-XJUZEB44.js";
|
|
12
12
|
import {
|
|
13
13
|
renderJobObservabilityTelemetryPayload,
|
|
14
14
|
renderObservabilityTelemetryPayload
|
|
15
15
|
} from "./chunk-VXVRPIJA.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3HSWLZ6S.js";
|
|
17
17
|
import "./chunk-WPNE5NEP.js";
|
|
18
18
|
import {
|
|
19
19
|
HANDOFF_READY,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
getMimeType,
|
|
35
35
|
stampProjectHfIds,
|
|
36
36
|
thumbnailDeviceScaleFactor
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-Z5C4LEAD.js";
|
|
38
|
+
import "./chunk-A72OAGNB.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_HISTORY_ROOT,
|
|
41
41
|
DELETED_VERSION,
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
historyCache,
|
|
49
49
|
identifyFileWrite,
|
|
50
50
|
openProjectHistory
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-FJWEYVEM.js";
|
|
52
|
+
import "./chunk-ZFN6GQU4.js";
|
|
53
|
+
import "./chunk-MOL32UKR.js";
|
|
54
|
+
import "./chunk-AIJS74LG.js";
|
|
55
55
|
import "./chunk-DCAI5DBR.js";
|
|
56
56
|
import {
|
|
57
57
|
isAtomicTempPath,
|
|
@@ -61,60 +61,60 @@ import {
|
|
|
61
61
|
resolveCaptureBrowserGpuMode,
|
|
62
62
|
resolveLocalBrowserGpuMode,
|
|
63
63
|
resolveLocalWebGpu
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-SYMSKGXI.js";
|
|
65
65
|
import {
|
|
66
66
|
resolveRenderBrowser
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-66SAATRI.js";
|
|
68
68
|
import "./chunk-442JNXRM.js";
|
|
69
69
|
import {
|
|
70
70
|
resolveAutoProxy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-LE7T4ML7.js";
|
|
72
72
|
import "./chunk-XT7X6QCP.js";
|
|
73
73
|
import "./chunk-4YYJOFKS.js";
|
|
74
74
|
import "./chunk-HVW7ABXD.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-DDNS2674.js";
|
|
76
|
+
import "./chunk-FDL4HV44.js";
|
|
77
|
+
import "./chunk-XVIYZU3D.js";
|
|
78
78
|
import "./chunk-AWDFDFI3.js";
|
|
79
79
|
import "./chunk-P6LJ4Y32.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-SYUGVPYH.js";
|
|
81
81
|
import "./chunk-374QQGBQ.js";
|
|
82
82
|
import {
|
|
83
83
|
trackRenderComplete,
|
|
84
84
|
trackRenderError
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-QSSPIATO.js";
|
|
86
86
|
import {
|
|
87
87
|
canaryDecisionsForStudio,
|
|
88
88
|
resetTelemetryPostureCache,
|
|
89
89
|
shouldTrack
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-2NAUEDA6.js";
|
|
91
91
|
import "./chunk-VWG7OQKU.js";
|
|
92
92
|
import {
|
|
93
93
|
bytesToMb,
|
|
94
94
|
detectAgentRuntime
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-XBSPQ52S.js";
|
|
96
96
|
import "./chunk-AMKC3AXA.js";
|
|
97
97
|
import "./chunk-GMECXFAN.js";
|
|
98
98
|
import "./chunk-54HJ63Q2.js";
|
|
99
99
|
import "./chunk-PBN6GBJE.js";
|
|
100
100
|
import {
|
|
101
101
|
createStudioManualEditsRenderBodyScript
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-EOOEC32M.js";
|
|
103
103
|
import "./chunk-TJSTGSAW.js";
|
|
104
104
|
import {
|
|
105
105
|
assertWebGpuAdapterAvailable,
|
|
106
106
|
compositionRequiresWebGpu
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
107
|
+
} from "./chunk-WU2B74TL.js";
|
|
108
|
+
import "./chunk-JBQJKC23.js";
|
|
109
109
|
import "./chunk-NE55C6S5.js";
|
|
110
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-JYVGYKXG.js";
|
|
111
111
|
import {
|
|
112
112
|
fpsToNumber
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import "./chunk-
|
|
113
|
+
} from "./chunk-BAKPN2D2.js";
|
|
114
|
+
import "./chunk-Z6FLHIDV.js";
|
|
115
115
|
import "./chunk-VC76R6W2.js";
|
|
116
116
|
import "./chunk-YA62XGXS.js";
|
|
117
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-LFNQDTSH.js";
|
|
118
118
|
import {
|
|
119
119
|
realpath
|
|
120
120
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -127,17 +127,17 @@ import {
|
|
|
127
127
|
runRenderSetupWorker
|
|
128
128
|
} from "./chunk-BYSBRF24.js";
|
|
129
129
|
import "./chunk-TWWSYAKJ.js";
|
|
130
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-JDB65PPT.js";
|
|
131
131
|
import {
|
|
132
132
|
isWithinProjectRoot
|
|
133
133
|
} from "./chunk-IWFLMU2N.js";
|
|
134
134
|
import "./chunk-APDLWWFG.js";
|
|
135
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-VAS6HQX3.js";
|
|
136
136
|
import "./chunk-3RM2ETQT.js";
|
|
137
137
|
import "./chunk-BSQ7XANM.js";
|
|
138
138
|
import "./chunk-SDYDNHEE.js";
|
|
139
139
|
import "./chunk-2PSPARWP.js";
|
|
140
|
-
import "./chunk-
|
|
140
|
+
import "./chunk-IXLUTE6N.js";
|
|
141
141
|
import "./chunk-K4WIOZFP.js";
|
|
142
142
|
import {
|
|
143
143
|
readConfig,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
} from "./chunk-ISN5GRYI.js";
|
|
150
150
|
import {
|
|
151
151
|
VERSION
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-TBOMPYG6.js";
|
|
153
153
|
import "./chunk-KNU5COPB.js";
|
|
154
154
|
import "./chunk-3GXQPCJC.js";
|
|
155
155
|
import "./chunk-ZTZA4UWZ.js";
|
|
@@ -357,7 +357,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
357
357
|
async function buildFromSource() {
|
|
358
358
|
if (!existsSync(ENTRY_TS)) return null;
|
|
359
359
|
try {
|
|
360
|
-
const mod = await import("./dist-
|
|
360
|
+
const mod = await import("./dist-GPDOV3IQ.js");
|
|
361
361
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
362
362
|
const source = mod.loadHyperframeRuntimeSource();
|
|
363
363
|
if (source) return source;
|
|
@@ -368,7 +368,7 @@ async function buildFromSource() {
|
|
|
368
368
|
}
|
|
369
369
|
async function getInlinedRuntime() {
|
|
370
370
|
try {
|
|
371
|
-
const mod = await import("./dist-
|
|
371
|
+
const mod = await import("./dist-GPDOV3IQ.js");
|
|
372
372
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
373
373
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
374
374
|
}
|
|
@@ -579,6 +579,7 @@ function emitStudioRenderError(opts, elapsedMs, failedStage, err, job) {
|
|
|
579
579
|
fps: fpsToNumber(opts.fps),
|
|
580
580
|
quality: opts.quality,
|
|
581
581
|
docker: false,
|
|
582
|
+
gpu: opts.useGpu === true,
|
|
582
583
|
source: "studio",
|
|
583
584
|
failedStage,
|
|
584
585
|
errorMessage: err instanceof Error ? err.message : String(err),
|
|
@@ -597,7 +598,7 @@ function emitStudioRenderComplete(opts, elapsedMs, perf) {
|
|
|
597
598
|
fps: fpsToNumber(opts.fps),
|
|
598
599
|
quality: opts.quality,
|
|
599
600
|
docker: false,
|
|
600
|
-
gpu:
|
|
601
|
+
gpu: opts.useGpu === true,
|
|
601
602
|
source: "studio",
|
|
602
603
|
outputFormat: opts.format,
|
|
603
604
|
outputResolutionPreset: opts.outputResolution,
|
|
@@ -711,13 +712,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
711
712
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
712
713
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
713
714
|
async function loadStudioProducer() {
|
|
714
|
-
if (!isDevMode()) return await import("./src-
|
|
715
|
+
if (!isDevMode()) return await import("./src-ZZQJOKO6.js");
|
|
715
716
|
if (!process.versions.bun) {
|
|
716
717
|
throw new Error(
|
|
717
718
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
718
719
|
);
|
|
719
720
|
}
|
|
720
|
-
return await import("./src-
|
|
721
|
+
return await import("./src-ZZQJOKO6.js");
|
|
721
722
|
}
|
|
722
723
|
function resolveDistDir() {
|
|
723
724
|
return resolveStudioBundle().dir;
|
|
@@ -832,7 +833,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
832
833
|
try {
|
|
833
834
|
if (isShuttingDown()) return null;
|
|
834
835
|
const { ensureBrowser } = await import("./manager-BPSR6D3V.js");
|
|
835
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
836
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-LIERUCFW.js");
|
|
836
837
|
let executablePath;
|
|
837
838
|
try {
|
|
838
839
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -992,7 +993,7 @@ function createStudioServer(options) {
|
|
|
992
993
|
resolveProject: (id) => id === projectId ? project : null,
|
|
993
994
|
async bundle(dir, options2) {
|
|
994
995
|
try {
|
|
995
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
996
|
+
const { bundleToSingleHtml } = await import("./compiler-ACCPOZMQ.js");
|
|
996
997
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
997
998
|
html = html.replace(
|
|
998
999
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1005,9 +1006,9 @@ function createStudioServer(options) {
|
|
|
1005
1006
|
}
|
|
1006
1007
|
},
|
|
1007
1008
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1008
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1009
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1010
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1009
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-C5JQLCTS.js");
|
|
1010
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-TPYA45ZZ.js");
|
|
1011
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-EVDP43GM.js");
|
|
1011
1012
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1012
1013
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1013
1014
|
const prepared = await prepareAnimatedGifInputs(html, {
|
|
@@ -1031,7 +1032,7 @@ function createStudioServer(options) {
|
|
|
1031
1032
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1032
1033
|
},
|
|
1033
1034
|
async lint(html, opts) {
|
|
1034
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1035
|
+
const { lintHyperframeHtml } = await import("./dist-HUMFCJ6T.js");
|
|
1035
1036
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1036
1037
|
},
|
|
1037
1038
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1092,7 +1093,8 @@ function createStudioServer(options) {
|
|
|
1092
1093
|
outputResolution: opts.outputResolution,
|
|
1093
1094
|
...manualEditsRenderScript ? { renderBodyScripts: [manualEditsRenderScript] } : {},
|
|
1094
1095
|
...opts.composition ? { entryFile: opts.composition } : {},
|
|
1095
|
-
...opts.variables ? { variables: opts.variables } : {}
|
|
1096
|
+
...opts.variables ? { variables: opts.variables } : {},
|
|
1097
|
+
...opts.useGpu ? { useGpu: true } : {}
|
|
1096
1098
|
});
|
|
1097
1099
|
renderJob = job;
|
|
1098
1100
|
const onProgress = (j) => {
|
|
@@ -1148,7 +1150,7 @@ function createStudioServer(options) {
|
|
|
1148
1150
|
startBackgroundRemoval(opts) {
|
|
1149
1151
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1150
1152
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1151
|
-
const pipeline = await import("./pipeline-
|
|
1153
|
+
const pipeline = await import("./pipeline-34N5DLWU.js").catch(
|
|
1152
1154
|
() => import(sourcePipelinePath)
|
|
1153
1155
|
);
|
|
1154
1156
|
return pipeline.render(renderOpts);
|
|
@@ -1233,8 +1235,8 @@ function createStudioServer(options) {
|
|
|
1233
1235
|
}
|
|
1234
1236
|
},
|
|
1235
1237
|
async listRegistryCatalog() {
|
|
1236
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1237
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1238
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-C4FPX72I.js");
|
|
1239
|
+
const { loadProjectConfig } = await import("./projectConfig-SBRMQZGG.js");
|
|
1238
1240
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1239
1241
|
const entries = await listRegistryItems(void 0, registry);
|
|
1240
1242
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1243,9 +1245,9 @@ function createStudioServer(options) {
|
|
|
1243
1245
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1244
1246
|
},
|
|
1245
1247
|
async installRegistryBlock(opts) {
|
|
1246
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1247
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1248
|
-
const { registryTargetPath } = await import("./publication-
|
|
1248
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-6J4TLUDW.js");
|
|
1249
|
+
const { recordRewrittenInstall } = await import("./installer-LZ4X5TZZ.js");
|
|
1250
|
+
const { registryTargetPath } = await import("./publication-5BQICRZO.js");
|
|
1249
1251
|
const { result, item } = await addToProject({
|
|
1250
1252
|
name: opts.blockName,
|
|
1251
1253
|
projectDir: opts.project.dir,
|
|
@@ -1346,8 +1348,8 @@ function createStudioServer(options) {
|
|
|
1346
1348
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1347
1349
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1348
1350
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1349
|
-
import("./preflight-
|
|
1350
|
-
import("./ffmpeg-
|
|
1351
|
+
import("./preflight-ONF5AJNO.js"),
|
|
1352
|
+
import("./ffmpeg-5V4FP3R6.js")
|
|
1351
1353
|
]);
|
|
1352
1354
|
const { outcomes } = await runEnvironmentChecks();
|
|
1353
1355
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1366,7 +1368,7 @@ function createStudioServer(options) {
|
|
|
1366
1368
|
mountDesktopRoutes(app, projectDir);
|
|
1367
1369
|
let cachedFFmpegPath;
|
|
1368
1370
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1369
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1371
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-5V4FP3R6.js");
|
|
1370
1372
|
if (!cachedFFmpegPath) {
|
|
1371
1373
|
cachedFFmpegPath = findFFmpeg();
|
|
1372
1374
|
}
|
|
@@ -1482,7 +1484,7 @@ function createStudioServer(options) {
|
|
|
1482
1484
|
});
|
|
1483
1485
|
const renders = [...inFlightRenders];
|
|
1484
1486
|
for (const [abortController] of renders) abortController.abort();
|
|
1485
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1487
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-LIERUCFW.js");
|
|
1486
1488
|
killTrackedProcesses();
|
|
1487
1489
|
const closeBrowsers = Promise.allSettled([
|
|
1488
1490
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
getShmSizeMb,
|
|
13
13
|
getSystemMeta,
|
|
14
14
|
parsePmsetPowerSource
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XBSPQ52S.js";
|
|
16
16
|
import "./chunk-AMKC3AXA.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JYVGYKXG.js";
|
|
18
18
|
import "./chunk-M2WBOQ2Q.js";
|
|
19
19
|
export {
|
|
20
20
|
bytesToMb,
|
|
@@ -17,25 +17,25 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QSSPIATO.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2NAUEDA6.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import {
|
|
30
30
|
bytesToMb,
|
|
31
31
|
getFreeDiskMb,
|
|
32
32
|
getShmSizeMb,
|
|
33
33
|
getSystemMeta
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XBSPQ52S.js";
|
|
35
35
|
import "./chunk-AMKC3AXA.js";
|
|
36
36
|
import "./chunk-54HJ63Q2.js";
|
|
37
37
|
import "./chunk-PBN6GBJE.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-JYVGYKXG.js";
|
|
39
39
|
import "./chunk-T76PLPD6.js";
|
|
40
40
|
import "./chunk-FXMKHHPO.js";
|
|
41
41
|
import "./chunk-K4WIOZFP.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-XUXGIA7H.js";
|
|
48
48
|
import "./chunk-WERLJGIC.js";
|
|
49
49
|
import "./chunk-ISN5GRYI.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-TBOMPYG6.js";
|
|
51
51
|
import "./chunk-KNU5COPB.js";
|
|
52
52
|
import "./chunk-ZTZA4UWZ.js";
|
|
53
53
|
import "./chunk-M2WBOQ2Q.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TH4OXAWY.js";
|
|
10
10
|
import {
|
|
11
11
|
readCompositionFps
|
|
12
12
|
} from "./chunk-WPNE5NEP.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-K2FLNJVB.js";
|
|
|
14
14
|
import {
|
|
15
15
|
applyFileMutations,
|
|
16
16
|
duplicateElementInHtml
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z5C4LEAD.js";
|
|
18
18
|
import {
|
|
19
19
|
findSyncPartner,
|
|
20
20
|
patchElementInHtml,
|
|
@@ -22,22 +22,22 @@ import {
|
|
|
22
22
|
removeElementFromHtml,
|
|
23
23
|
splitElementInHtml,
|
|
24
24
|
syncOffsetFrames
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-A72OAGNB.js";
|
|
26
26
|
import {
|
|
27
27
|
fileContentVersion
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-FJWEYVEM.js";
|
|
29
|
+
import "./chunk-ZFN6GQU4.js";
|
|
30
|
+
import "./chunk-MOL32UKR.js";
|
|
31
|
+
import "./chunk-AIJS74LG.js";
|
|
32
32
|
import "./chunk-EOVYQ3IG.js";
|
|
33
33
|
import {
|
|
34
34
|
ensureDOMParser
|
|
35
35
|
} from "./chunk-442JNXRM.js";
|
|
36
36
|
import "./chunk-374QQGBQ.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-QSSPIATO.js";
|
|
38
|
+
import "./chunk-2NAUEDA6.js";
|
|
39
39
|
import "./chunk-VWG7OQKU.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-XBSPQ52S.js";
|
|
41
41
|
import "./chunk-AMKC3AXA.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveExtraPositionals
|
|
@@ -53,7 +53,7 @@ import "./chunk-54HJ63Q2.js";
|
|
|
53
53
|
import {
|
|
54
54
|
setCommandExitCode
|
|
55
55
|
} from "./chunk-PBN6GBJE.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-EOOEC32M.js";
|
|
57
57
|
import "./chunk-TJSTGSAW.js";
|
|
58
58
|
import {
|
|
59
59
|
HF_AUDIO_GROUP_ATTR,
|
|
@@ -61,44 +61,47 @@ import {
|
|
|
61
61
|
extractMediaMetadata,
|
|
62
62
|
resolveReferencedDuration,
|
|
63
63
|
resolveReferencedStart
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-WU2B74TL.js";
|
|
65
|
+
import "./chunk-JBQJKC23.js";
|
|
66
66
|
import {
|
|
67
67
|
ensureHfIds
|
|
68
68
|
} from "./chunk-NE55C6S5.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-JYVGYKXG.js";
|
|
70
70
|
import {
|
|
71
71
|
byStart,
|
|
72
|
+
compositionOriginSeconds,
|
|
73
|
+
cutToHostSlots,
|
|
72
74
|
fpsToNumber,
|
|
75
|
+
hostInPointSeconds,
|
|
73
76
|
isInsideSpan,
|
|
74
77
|
parseFpsWithDefault,
|
|
75
78
|
resolveMediaStartSeconds,
|
|
76
79
|
sameInstant,
|
|
77
80
|
spansShareTime
|
|
78
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-BAKPN2D2.js";
|
|
79
82
|
import {
|
|
80
83
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
81
84
|
HF_AUDIO_FX_ATTR,
|
|
82
85
|
parseAudioFxChain,
|
|
83
86
|
parseAutomation,
|
|
84
87
|
resolveAutomation
|
|
85
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Z6FLHIDV.js";
|
|
86
89
|
import "./chunk-VC76R6W2.js";
|
|
87
90
|
import "./chunk-YA62XGXS.js";
|
|
88
91
|
import {
|
|
89
92
|
topLevelElements,
|
|
90
93
|
trackKindOf
|
|
91
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-LFNQDTSH.js";
|
|
92
95
|
import "./chunk-OFQWTKPW.js";
|
|
93
96
|
import "./chunk-DPVXBVLL.js";
|
|
94
97
|
import "./chunk-T76PLPD6.js";
|
|
95
98
|
import "./chunk-FXMKHHPO.js";
|
|
96
99
|
import "./chunk-RQVDTPGD.js";
|
|
97
100
|
import "./chunk-TWWSYAKJ.js";
|
|
98
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-JDB65PPT.js";
|
|
99
102
|
import "./chunk-IWFLMU2N.js";
|
|
100
103
|
import "./chunk-APDLWWFG.js";
|
|
101
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-VAS6HQX3.js";
|
|
102
105
|
import {
|
|
103
106
|
parseNumeric
|
|
104
107
|
} from "./chunk-3RM2ETQT.js";
|
|
@@ -109,15 +112,15 @@ import {
|
|
|
109
112
|
} from "./chunk-BSQ7XANM.js";
|
|
110
113
|
import "./chunk-SDYDNHEE.js";
|
|
111
114
|
import "./chunk-2PSPARWP.js";
|
|
112
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-IXLUTE6N.js";
|
|
113
116
|
import {
|
|
114
117
|
withMeta
|
|
115
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-K7ES5RSK.js";
|
|
116
119
|
import "./chunk-K4WIOZFP.js";
|
|
117
120
|
import "./chunk-XUXGIA7H.js";
|
|
118
121
|
import "./chunk-WERLJGIC.js";
|
|
119
122
|
import "./chunk-ISN5GRYI.js";
|
|
120
|
-
import "./chunk-
|
|
123
|
+
import "./chunk-TBOMPYG6.js";
|
|
121
124
|
import "./chunk-KNU5COPB.js";
|
|
122
125
|
import "./chunk-3GXQPCJC.js";
|
|
123
126
|
import "./chunk-ZTZA4UWZ.js";
|
|
@@ -240,7 +243,8 @@ async function resolveRowTiming(scope, node, depth) {
|
|
|
240
243
|
const authored = resolveReferencedDuration(scope.doc, el, scope.startCache, /* @__PURE__ */ new Set());
|
|
241
244
|
const host = el.getAttribute("data-composition-src");
|
|
242
245
|
const absStart = mainTimelineStart(scope, el, start);
|
|
243
|
-
const
|
|
246
|
+
const slots = hostInPointSeconds(el) > 0 ? [{ start: absStart, end: absStart + (authored ?? Infinity) }] : [];
|
|
247
|
+
const children = host && depth === 0 ? await readSubComposition(host, scope, compositionOriginSeconds(absStart, el), slots) : [];
|
|
244
248
|
const kind = el.tagName.toLowerCase();
|
|
245
249
|
const duration = MEDIA_TAG.test(kind) ? await resolveMediaRowDuration(scope, el, kind, authored) : resolveContainerDuration(authored, children);
|
|
246
250
|
return { start, authored, absStart, children, duration };
|
|
@@ -287,7 +291,7 @@ function syncOffsetOf(el, fps) {
|
|
|
287
291
|
async function describeRow(scope, node, depth) {
|
|
288
292
|
return describeRowFields(scope, node, await resolveRowTiming(scope, node, depth));
|
|
289
293
|
}
|
|
290
|
-
async function readSubComposition(src, parent, origin) {
|
|
294
|
+
async function readSubComposition(src, parent, origin, slots) {
|
|
291
295
|
const authored = resolve(parent.dir, src);
|
|
292
296
|
const file = realFileInside(parent.projectDir, authored);
|
|
293
297
|
if (!file) return [];
|
|
@@ -312,7 +316,12 @@ async function readSubComposition(src, parent, origin) {
|
|
|
312
316
|
const rows = await Promise.all(
|
|
313
317
|
topLevelElements(toNode(root)).map((node) => describeRow(scope, node, 1))
|
|
314
318
|
);
|
|
315
|
-
return rows.sort(byStart);
|
|
319
|
+
return rows.flatMap((row) => cutRow(row, slots)).sort(byStart);
|
|
320
|
+
}
|
|
321
|
+
function cutRow(row, slots) {
|
|
322
|
+
const kept = cutToHostSlots({ start: row.absStart, end: row.absEnd }, slots);
|
|
323
|
+
if (kept.end === kept.start && row.absEnd > row.absStart) return [];
|
|
324
|
+
return [{ ...row, absStart: roundMs(kept.start), absEnd: roundMs(kept.end) }];
|
|
316
325
|
}
|
|
317
326
|
function realFileInside(projectDir, path) {
|
|
318
327
|
try {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ETNQF37F.js";
|
|
15
15
|
import "./chunk-K2FLNJVB.js";
|
|
16
16
|
import {
|
|
17
17
|
defineCommand
|
|
@@ -76,7 +76,7 @@ var tokens_default = defineCommand({
|
|
|
76
76
|
console.log("add to data-composition-variables:");
|
|
77
77
|
console.log(JSON.stringify(result.entries, null, 2));
|
|
78
78
|
}
|
|
79
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
79
|
+
const { trackFigmaImport } = await import("./telemetry-ZQ5XVE6Z.js");
|
|
80
80
|
trackFigmaImport({
|
|
81
81
|
phase: "tokens",
|
|
82
82
|
tokensMode: result.mode,
|