hyperframes 0.9.29 → 0.9.30
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-BRXFSBYO.js → add-JBBBMWP4.js} +8 -8
- package/dist/api.js +15 -15
- package/dist/{asset-FEAC2U74.js → asset-VFG5LF4B.js} +5 -5
- package/dist/{audio-PBKCPYW2.js → audio-URYC7ND7.js} +15 -15
- package/dist/{auth-IPHKPGNV.js → auth-E4ZBU47K.js} +6 -6
- package/dist/{autoUpdate-4HUTYRYX.js → autoUpdate-CEYR6IHF.js} +4 -4
- package/dist/{avatars-U2XLC3OS.js → avatars-ZPRQ3ZCD.js} +8 -8
- package/dist/{backgroundChecks-4Q4R56DT.js → backgroundChecks-BL4XMMXE.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-AL6DO5IA.js → batchRender-FK7U2GUF.js} +4 -4
- package/dist/{beats-VS4P6KKZ.js → beats-XK4QL74K.js} +8 -8
- package/dist/{benchmark-MGDPACXB.js → benchmark-MABRDF7U.js} +10 -10
- package/dist/{billing-JLASHFQM.js → billing-2CABBLDC.js} +9 -9
- package/dist/{browser-FU4TZSMT.js → browser-SHU4XK5O.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-B2XFORNZ.js → bundleWithLocalizedFonts-W7SSOXOO.js} +3 -3
- package/dist/{capture-LL7WE2S7.js → capture-VPWHIN5C.js} +3 -3
- package/dist/{captureCompositionFrame-DABFEOQO.js → captureCompositionFrame-MT3CHQJ6.js} +6 -6
- package/dist/{catalog-U6CHLXTI.js → catalog-BBPONQOO.js} +9 -9
- package/dist/{catch-up-DMREF334.js → catch-up-DEZVG3A5.js} +8 -8
- package/dist/{check-ILJC6WYD.js → check-LIC6DYFD.js} +24 -24
- package/dist/{checkAudio-MWSP2436.js → checkAudio-RHF5CWWX.js} +4 -4
- package/dist/{checkBrowser-HC3LYH6H.js → checkBrowser-LUHIFDJZ.js} +19 -19
- package/dist/{chunk-U46YQL7E.js → chunk-2B2IMLUQ.js} +1 -1
- package/dist/{chunk-C25RSEQN.js → chunk-2II5FCVK.js} +6 -6
- package/dist/{chunk-RYFVUPXH.js → chunk-2NK3K7JL.js} +1 -1
- package/dist/{chunk-FXPDWYD7.js → chunk-2QUQKYOK.js} +37 -13
- package/dist/{chunk-IQKMIYLG.js → chunk-3OA75WJW.js} +2 -2
- package/dist/{chunk-SCNC7YPB.js → chunk-3YNJAXA5.js} +1 -1
- package/dist/{chunk-GISQ7VOP.js → chunk-5IAFM6M5.js} +3 -3
- package/dist/{chunk-FJPHKCWU.js → chunk-7DMIAJD7.js} +6 -6
- package/dist/{chunk-M457GQGR.js → chunk-7NDF2MO3.js} +1 -1
- package/dist/{chunk-42MHKDVP.js → chunk-AGHSWES2.js} +2 -2
- package/dist/{chunk-UPR5TMLG.js → chunk-AJCFMDFQ.js} +1 -1
- package/dist/{chunk-SS7OEJGR.js → chunk-AMZ22QP7.js} +3 -3
- package/dist/{chunk-UKAZEO7A.js → chunk-AW2M5TZW.js} +4 -4
- package/dist/{chunk-F5QBIIFT.js → chunk-AWD2MWWL.js} +1 -1
- package/dist/{chunk-47JZ2UQC.js → chunk-B23DUMZ4.js} +2 -2
- package/dist/{chunk-6JAB5BHX.js → chunk-BUYUJ3EV.js} +1 -1
- package/dist/{chunk-ZUXES5HA.js → chunk-CK3DD2MC.js} +2 -2
- package/dist/{chunk-PQYICV7O.js → chunk-CPHQTXP5.js} +17 -2
- package/dist/{chunk-NURN5W6M.js → chunk-CWN75OWQ.js} +2 -2
- package/dist/{chunk-6OQPKRPJ.js → chunk-D2LIT7UR.js} +1 -1
- package/dist/{chunk-ZY3N64NC.js → chunk-EBU7T3WZ.js} +1 -1
- package/dist/{chunk-YXNRWPF5.js → chunk-EPOBJVVG.js} +18 -18
- package/dist/{chunk-ITWIFUDS.js → chunk-F4Z2UPAA.js} +2 -2
- package/dist/{chunk-SCUKEERJ.js → chunk-FJQGA6H6.js} +6 -6
- package/dist/{chunk-TIWO5QKS.js → chunk-G3WGKT3B.js} +135 -2
- package/dist/{chunk-J3X2RZON.js → chunk-G7PITEUH.js} +1 -1
- package/dist/{chunk-NSQLSL42.js → chunk-HKWKMXAC.js} +1 -1
- package/dist/{chunk-72LMHSPL.js → chunk-J4Z7LQKU.js} +2 -2
- package/dist/{chunk-VU4EPKFI.js → chunk-JCNPHRGX.js} +1 -1
- package/dist/{chunk-IXMO4RXK.js → chunk-KMGF6GJU.js} +4 -4
- package/dist/{chunk-FGFVUKPP.js → chunk-LIWK3MFR.js} +1 -1
- package/dist/{chunk-U5RXCKWJ.js → chunk-LRDS7MG5.js} +1 -1
- package/dist/{chunk-UCCD6SY7.js → chunk-MSL2BS73.js} +1 -1
- package/dist/{chunk-EIVSIGS2.js → chunk-NBF7SU6Q.js} +4 -4
- package/dist/{chunk-4TPTB6PY.js → chunk-NLKHXPTZ.js} +2 -2
- package/dist/{chunk-GTUTZIRR.js → chunk-NTNS5EFN.js} +2 -2
- package/dist/{chunk-VXWASGGT.js → chunk-P74B5H73.js} +1 -1
- package/dist/{chunk-T37WJWV2.js → chunk-PIEVAPKP.js} +1 -1
- package/dist/{chunk-7DGBOZ4N.js → chunk-PV2D2TZV.js} +1 -1
- package/dist/{chunk-ZCRATF6D.js → chunk-RCYKUNVZ.js} +2 -2
- package/dist/{chunk-TM5H5ZY3.js → chunk-SP5GQGP2.js} +2 -2
- package/dist/{chunk-H5BHEZ4B.js → chunk-SPPSVPY7.js} +2 -2
- package/dist/{chunk-B4TLQLGI.js → chunk-T6VQGCN3.js} +1 -1
- package/dist/{chunk-L6OXEDJQ.js → chunk-TNZ2EF2Y.js} +3 -3
- package/dist/{chunk-BX2BIU6Z.js → chunk-UPVM6UDG.js} +62 -15
- package/dist/{chunk-USOP5XTT.js → chunk-UTU3HSJS.js} +1 -1
- package/dist/{chunk-X7NFWMWW.js → chunk-UY3H42VE.js} +1 -1
- package/dist/{chunk-7TION72L.js → chunk-VHOETOGT.js} +8 -8
- package/dist/{chunk-SBYFFP7R.js → chunk-VMLPDIR6.js} +1 -1
- package/dist/{chunk-ZQXK4L4G.js → chunk-VPQXRTEW.js} +5 -5
- package/dist/{chunk-L2GOO2UY.js → chunk-WAXPM7TK.js} +1 -1
- package/dist/{chunk-VWEELCAJ.js → chunk-WCSEEQ5R.js} +1 -1
- package/dist/{chunk-BYJEUZNT.js → chunk-WGVWW6O4.js} +2 -2
- package/dist/{chunk-MTJ46TG7.js → chunk-WJPEMXI3.js} +1 -1
- package/dist/{chunk-NXFUEPWT.js → chunk-YAKPBJOU.js} +4 -4
- package/dist/{chunk-OY4YSQBK.js → chunk-YJYEKNJG.js} +3 -3
- package/dist/{chunk-77B6C7CU.js → chunk-YNRQTFYH.js} +2 -2
- package/dist/{chunk-XGGEOBH2.js → chunk-YZH2IWEE.js} +2 -2
- package/dist/{chunk-4N3UVDIJ.js → chunk-ZLDYDO64.js} +1 -1
- package/dist/{clean-YU7AM7DC.js → clean-AGQEPUBC.js} +9 -9
- package/dist/cli.js +67 -67
- package/dist/{cloud-U7RRT2TA.js → cloud-H5HJH6SD.js} +6 -6
- package/dist/{cloud-QJMPTQ3N.js → cloud-TDXVUIUM.js} +5 -5
- package/dist/{cloudrun-T7VVPRDG.js → cloudrun-7BR5FKOC.js} +6 -6
- package/dist/{colors-SS2KTOKM.js → colors-NMNY26B5.js} +2 -2
- package/dist/{compare-USGR7PZL.js → compare-YWZ6O2FL.js} +15 -15
- package/dist/{component-RIFXLYK3.js → component-MX2PJOTA.js} +6 -6
- package/dist/{compositions-QHRNVZ2K.js → compositions-PLT4OLGR.js} +9 -9
- package/dist/{curve-BX46Q4OW.js → curve-BJYCZUEY.js} +6 -6
- package/dist/{cuts-JRLHBLOX.js → cuts-TWAVF7WI.js} +6 -6
- package/dist/{delete-SE7ABVTH.js → delete-3KCBCPBD.js} +11 -11
- package/dist/{deploy-AQUEV6ND.js → deploy-KWTMJNBL.js} +4 -4
- package/dist/{describeProject-XBT7PHZD.js → describeProject-HZLM3B55.js} +4 -4
- package/dist/{destroy-YAMTVR2W.js → destroy-4DOMPOYB.js} +2 -2
- package/dist/{diff-6TZLA6KU.js → diff-XC6IU3IY.js} +16 -16
- package/dist/{dist-ALNMJZ7K.js → dist-M5WQQ6WE.js} +6 -2
- package/dist/{docs-ZSVK3VZD.js → docs-YTM4NX2R.js} +2 -2
- package/dist/{doctor-DDKKCJMO.js → doctor-VRUSZ6GH.js} +6 -6
- package/dist/{energy-HC7BNZ5E.js → energy-VNAAJYAW.js} +6 -6
- package/dist/{events-KNH677YB.js → events-6WYNARX7.js} +5 -5
- package/dist/{events-EETQNKK2.js → events-MR72RS47.js} +7 -7
- package/dist/{events-ZRVQOB4Y.js → events-WZJTLFCQ.js} +6 -6
- package/dist/{extract-I3J3ZK55.js → extract-MKOCZIFN.js} +7 -7
- package/dist/{face-HJUZ2OXQ.js → face-NIV5ZSUX.js} +6 -6
- package/dist/{feedback-M6I5AVZ5.js → feedback-A4F4G5JO.js} +12 -12
- package/dist/{figma-RFAPGGBF.js → figma-4WZIDYAD.js} +5 -5
- package/dist/fontLocalizeCli.js +1 -1
- package/dist/{frames-FOAWRBW4.js → frames-DAKLRIWG.js} +6 -6
- package/dist/{generate-FLG6B7RX.js → generate-NRPHH4NJ.js} +13 -13
- package/dist/{get-I5JCIGPW.js → get-ISXQCK3G.js} +11 -11
- package/dist/{grade-compare-R3UOE4WI.js → grade-compare-TVMAAZVC.js} +15 -15
- package/dist/{help-NVQZEN6A.js → help-ZOYDS3YW.js} +3 -3
- package/dist/{history-AGNMVDRQ.js → history-CLGGMJ7Z.js} +11 -11
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-EXAJSKZP.js → info-ZTFII4N4.js} +9 -9
- package/dist/{init-Z7FZ7U5J.js → init-RCDPQKFA.js} +10 -10
- package/dist/{ink-QYCQXNUY.js → ink-2ATPIDWC.js} +6 -6
- package/dist/{inspect-ZJNHBIJI.js → inspect-GDMUC5F6.js} +17 -17
- package/dist/{keyframes-QYRES5IL.js → keyframes-EPAX446T.js} +10 -10
- package/dist/{lambda-3I4IV63E.js → lambda-HG6Y6KOH.js} +13 -13
- package/dist/{layout-J33Y6DD7.js → layout-KXBKGHOS.js} +17 -17
- package/dist/{lint-JT74BZWJ.js → lint-O62OPAW7.js} +11 -11
- package/dist/{list-NOWT754O.js → list-4HWWKMM6.js} +12 -12
- package/dist/{login-3JR3HXS6.js → login-2H4XMPUT.js} +12 -29
- package/dist/{logout-FJ444652.js → logout-7SMEH7JL.js} +4 -4
- package/dist/{look-NKCQENM7.js → look-W6PV445D.js} +6 -6
- package/dist/{measure-VSZBVJJZ.js → measure-CWOXQCGH.js} +11 -11
- package/dist/{media-treatment-733EANTU.js → media-treatment-SDGXF2PK.js} +9 -9
- package/dist/{media-use-IUN5ATZQ.js → media-use-NWNX24MD.js} +6 -6
- package/dist/{models-A6FBCVFA.js → models-J2P2DLSA.js} +4 -4
- package/dist/{motionShot-PVWZLEMB.js → motionShot-VQ2KFPMR.js} +7 -7
- package/dist/{normalize-audio-XD4QE5NE.js → normalize-audio-MABOG5XR.js} +8 -8
- package/dist/{open-TWEEOMZA.js → open-KWTFPDML.js} +9 -9
- package/dist/{play-ZOZRB5OG.js → play-6MSC2ZCU.js} +13 -13
- package/dist/{policies-5G7G26ZX.js → policies-5RUNO47I.js} +2 -2
- package/dist/{present-IMQS3KJ7.js → present-X5T75QS4.js} +13 -13
- package/dist/{preview-JSK5IKSR.js → preview-7NW7RUET.js} +12 -12
- package/dist/{probe-ZLRD2TRZ.js → probe-XTZVXTQ2.js} +7 -7
- package/dist/{progress-OOEHTBBU.js → progress-TGYZ2TKQ.js} +2 -2
- package/dist/{prompts-RYVLXI7Q.js → prompts-7VQEH645.js} +2 -2
- package/dist/{publish-C3ARXH6D.js → publish-3BBHK2NK.js} +8 -8
- package/dist/{refresh-YY4K2RWR.js → refresh-47T6Z2PK.js} +4 -4
- package/dist/{remove-background-VDTWA7BL.js → remove-background-W7WMLL5C.js} +3 -3
- package/dist/{render-UF5XKGO5.js → render-5G6745C3.js} +23 -23
- package/dist/{render-TSV3XTQV.js → render-ZGCH2FZJ.js} +4 -4
- package/dist/{render-P27DEH4H.js → render-ZIBXBMNI.js} +23 -23
- package/dist/{render-batch-ISMXAG7F.js → render-batch-ONWJJ627.js} +4 -4
- package/dist/{reverse-J4CLVRPY.js → reverse-5YTLWWDZ.js} +1 -1
- package/dist/{run-UPKPPRV7.js → run-24USN7TA.js} +5 -5
- package/dist/{sites-NWEJJNAZ.js → sites-LILUBMRM.js} +2 -2
- package/dist/{skills-AAETAWZH.js → skills-YMSZHKK4.js} +10 -10
- package/dist/{skillsUpdateCheck-KCP2EYKX.js → skillsUpdateCheck-YJYYN5CH.js} +5 -5
- package/dist/{snapshot-5PMHOVPR.js → snapshot-4MZGXL4A.js} +20 -20
- package/dist/{start-6D25MEIJ.js → start-FPEBVENS.js} +57 -26
- package/dist/{staticProjectServer-LM3YLJ6K.js → staticProjectServer-XZNME57Y.js} +4 -4
- package/dist/{status-22TRM6DI.js → status-7TRDJU47.js} +10 -10
- package/dist/studio/assets/{codec-D84nARi6.js → codec-B1UWDNJp.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-C2-hh0bR.js → hyperframes-player-DQd2VPm2.js} +1 -1
- package/dist/studio/assets/{index-B0rj7KmJ.js → index-B7CtVv8e.js} +1 -1
- package/dist/studio/assets/{index-D3lR9-ik.js → index-gkyTLE7n.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-D8vnt-Wd.js → pausedVideoDecoder-Bfv1WSlz.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-LSWAJEK4.js → studio-api-JKJXAELI.js} +6 -2
- package/dist/{studioServer-MC57HJAV.js → studioServer-UCRCZOLS.js} +43 -69
- package/dist/{sync-SEN3M7GA.js → sync-E72XNR2G.js} +6 -6
- package/dist/{telemetry-NP2FXZQL.js → telemetry-L5D3U4IO.js} +6 -6
- package/dist/{telemetry-5CLJMTHU.js → telemetry-M722DCXI.js} +3 -3
- package/dist/{templates-QN7ZUHHZ.js → templates-O7HEL7HC.js} +9 -9
- package/dist/{timeline-V43AACFE.js → timeline-QTODTYKQ.js} +14 -14
- package/dist/{tokens-NOFZVX4P.js → tokens-D7JYFE2K.js} +5 -5
- package/dist/{transcribe-IVZ4OASF.js → transcribe-D2WFL2RO.js} +12 -12
- package/dist/{tts-HOZ6X3MD.js → tts-IXX2HHHJ.js} +4 -4
- package/dist/{update-LML5YVLT.js → update-SCMEUTRM.js} +11 -11
- package/dist/{updateCheck-FFHCGLRU.js → updateCheck-KNTQDXMN.js} +4 -4
- package/dist/{upgrade-UWT2FB5Y.js → upgrade-V2BP5PAQ.js} +7 -7
- package/dist/{validate-ZNK2THUV.js → validate-W3E6QVJ6.js} +15 -15
- package/dist/{video-QXVXG7PW.js → video-KC4AFMAY.js} +2 -2
- package/dist/{voices-JI7QOSLT.js → voices-7N6QU3C6.js} +12 -12
- package/dist/warmCheck.js +24 -24
- package/package.json +1 -1
package/dist/studio/assets/{pausedVideoDecoder-D8vnt-Wd.js → pausedVideoDecoder-Bfv1WSlz.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as V}from"./index-
|
|
1
|
+
import{l as V}from"./index-gkyTLE7n.js";import{bw as G,bN as K,cH as Q,bE as X}from"./codec-B1UWDNJp.js";const x=1e-5,k=1e-9,T=h=>!h.variableFrameRate&&(h.frameRate??0)>0;function Y(h,i){const{sourceLead:r,inputLead:l,timeResolution:w,frameRate:p=0}=i;if(!T(i))return Math.max(l,h-r+l)+k;const d=Math.max(0,Math.floor((h-r)*p+k)),f=l+d/p;return(w>0?Math.round(f*w)/w:f)+x}function J(h,i,r){const{frameRate:l=0,sourceLead:w,inputLead:p}=r,d=T(r)?Math.round((h-p)*l)/l+w:h-p+w,f=Math.min(i,d);return{timestamp:f,duration:Math.max(T(r)?1/l:0,i-f+x)}}const E=64*1024*1024,M=4,Z=.5,$=2e3;async function q(h,i){if(!h.transparent)return h.sink.getSample(i);let r=null;try{for await(const l of h.sink.samplesAtTimestamps([i]))r==null||r.close(),r=l;return r}catch(l){throw r==null||r.close(),l}}function ot(h){const i=new Map,r=new Map,l=new Map,w=new Map,p=new Map;let d=0,f=!1;const _=t=>{var o,n;let e=new URL(t,location.href).pathname;try{e=decodeURIComponent(e)}catch{}return(n=Object.entries(((o=h.contentWindow)==null?void 0:o.__HF_MEDIA_SOURCE_FACTS__)??{}).filter(([s])=>e.endsWith(s)).sort(([s],[a])=>a.length-s.length)[0])==null?void 0:n[1]},g=(t=E)=>{for(const[e,o]of p){if(d<=t)break;e.pins>0||(p.delete(e),o.cache.delete(e.timestamp),d-=e.bytes,e.image.close())}},v=async t=>{if(t.disposed)return;t.disposed=!0,clearTimeout(t.idleTimer),r.get(t.key)===t&&r.delete(t.key);const e=(async()=>{t.transparent&&await t.tail,t.cancelReads(),t.input.dispose(),await y(t).catch(()=>{});for(const o of t.cache.values())p.delete(o),d-=o.bytes,o.image.close();t.cache.clear(),t.canvas.width=t.canvas.height=0})();return t.transparent?new Promise((o,n)=>{const s=setTimeout(()=>{t.cancelReads(),o()},$);e.then(o,n).finally(()=>clearTimeout(s))}):e},P=t=>{clearTimeout(t.idleTimer),!(t.disposed||t.users>0||[...t.cache.values()].some(e=>e.pins>0))&&(t.idleTimer=setTimeout(()=>{t.users>0||[...t.cache.values()].some(e=>e.pins>0)||r.get(t.key)===t&&(i.delete(t.key),v(t))},1e4))},D=async t=>{const e=V("thumbnail"),o=new G({source:new Q(t,e),formats:K});l.set(o,e.cancelReads);try{const n=await o.getPrimaryVideoTrack();if(!n||f)throw new Error("Preview video unavailable");const[s,a,u,c,m,S,F,B,j]=await Promise.all([n.getDisplayWidth(),n.getDisplayHeight(),n.getFirstTimestamp(),n.getTimeResolution(),n.getSquarePixelWidth(),n.getSquarePixelHeight(),n.getRotation(),n.getFlip(),n.canBeTransparent()]),b=document.createElement("canvas");b.width=Math.max(1,Math.ceil(s));const z=F%180===0?m/S:S/m;return b.height=Math.max(1,Math.round(b.width/z)),{key:t,input:o,cancelReads:e.cancelReads,sink:new X(n),canvas:b,rotation:F,flip:B,width:s,height:a,lead:u,ticks:c,transparent:j,tail:Promise.resolve(),iterator:null,iteratorEnd:0,lastTime:-1/0,cache:new Map,users:0,disposed:!1}}catch(n){throw o.dispose(),e.cancelReads(),n}finally{l.delete(o)}},I=()=>{for(const[t]of i){if(i.size<M)break;const e=r.get(t);e&&e.users===0&&![...e.cache.values()].some(o=>o.pins>0)&&(i.delete(t),v(e))}if(i.size>=M)throw new Error("Preview decoder budget reached")},L=async t=>{const e=t;if((w.get(e)??0)>performance.now())throw new Error("Preview decoder cooling down");let o=i.get(e);o||(I(),o=D(t),i.set(e,o)),i.delete(e),i.set(e,o);let n;try{n=await o}catch(s){throw i.get(e)===o&&(i.delete(e),w.set(e,performance.now()+5e3)),s}if(f||n.disposed)throw new DOMException("Preview disposed","AbortError");return r.set(e,n),n.users++,clearTimeout(n.idleTimer),n},y=async t=>{const e=t.iterator;t.iterator=null,await(e==null?void 0:e.return())},R=(t,e)=>{if(e.throwIfAborted(),f||t.disposed)throw new Error("Preview disposed")},O=async(t,e,o)=>{for(t.iterator||(t.iteratorEnd=e+8,t.iterator=t.sink.samples(e,t.iteratorEnd));;){R(t,o);const n=await t.iterator.next();if(n.done)return null;const s=n.value;let a=!1;try{if(R(t,o),s.timestamp>e+1e-6)return null;if(a=s.timestamp+s.duration>e+1e-6,a)return s}finally{a||s.close()}}},A=(t,e)=>(e.pins++,p.delete(e),p.set(e,t),e),W=async(t,e,o,n,s)=>{const a=t.canvas.getContext("2d",{alpha:!0});if(!a)throw new Error("Preview canvas unavailable");a.clearRect(0,0,t.canvas.width,t.canvas.height),a.imageSmoothingQuality="high",e.drawWithFit(a,{fit:"fill",rotation:t.rotation,flip:t.flip});const u=await createImageBitmap(t.canvas);if(s.aborted||f||t.disposed)throw u.close(),s.throwIfAborted(),new Error("Preview disposed");const c={image:u,...J(e.timestamp,o,n),bytes:u.width*u.height*4,pins:1},m=t.cache.get(c.timestamp);if(m)return m.duration=Math.max(m.duration,c.duration),u.close(),A(t,m);if(g(E-c.bytes),d+c.bytes>E)throw u.close(),new Error("Preview frame budget reached");return t.cache.set(c.timestamp,c),p.set(c,t),d+=c.bytes,c},H=(t,e,o)=>!t.transparent&&!o.variableFrameRate&&(o.frameRate??0)>0&&e>t.lastTime+1e-6&&e-t.lastTime<=Z,N=async(t,e,o,n)=>{R(t,n);const s=[...t.cache.values()].find(m=>e>=m.timestamp-1e-6&&e<m.timestamp+m.duration-1e-6);if(s)return A(t,s);const a=Y(e,o),u=H(t,e,o);let c=null;try{if((!u||a>=t.iteratorEnd)&&await y(t),c=u?await O(t,a,n):null,c||(await y(t),c=await q(t,a)),!c)throw new Error("No preview frame at requested time");return R(t,n),t.lastTime=e,await W(t,c,e,o,n)}finally{c==null||c.close(),(n.aborted||f)&&await y(t).catch(()=>{})}},U=(t,e)=>{const o=_(t.source);return{frameRate:o==null?void 0:o.frameRate,variableFrameRate:o==null?void 0:o.variableFrameRate,sourceLead:e.lead,inputLead:e.lead,timeResolution:e.ticks}},C=async(t,e)=>{e.throwIfAborted();const o=t.source;if(!o)throw new Error("Preview source unavailable");const n=await L(o);try{const s=U(t,n),a=n.tail.then(()=>N(n,t.time,s,e));n.tail=a.then(()=>{},()=>{});const u=await a;let c=!1;return g(),{source:u.image,timestamp:u.timestamp,duration:u.duration,width:n.width,height:n.height,release(){c||(c=!0,u.pins--,g(),P(n))}}}finally{n.users--,P(n)}};return{async decode(t,e){if(f)throw new DOMException("Preview disposed","AbortError");if(new Set(t.map(({source:a})=>a)).size>M)throw new Error("Preview decoder budget reached");const o=await Promise.allSettled(t.map(a=>C(a,e))),n=o.find(a=>a.status==="rejected"),s=o.flatMap(a=>a.status==="fulfilled"?[a.value]:[]);if(n||f||e.aborted){for(const a of s)a.release();throw n?n.reason:new DOMException("Preview cancelled","AbortError")}return s},async suspend(){const t=[...i.values()].map(e=>e.then(v).catch(()=>{}));i.clear();for(const[e,o]of l)o(),e.dispose();await Promise.all(t)},dispose(){if(!f){f=!0;for(const[t,e]of l)e(),t.dispose();for(const t of i.values())t.then(v).catch(()=>{});i.clear(),w.clear()}}}}export{ot as createPausedVideoDecoder};
|
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-gkyTLE7n.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-dsfjBidg.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -8,6 +8,7 @@ import "./chunk-XUHOIDKG.js";
|
|
|
8
8
|
import {
|
|
9
9
|
MAX_UPLOAD_BYTES,
|
|
10
10
|
MIME_TYPES,
|
|
11
|
+
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
11
12
|
PREVIEW_BUNDLE_OPTIONS,
|
|
12
13
|
affectsPreview,
|
|
13
14
|
applyFileMutations,
|
|
@@ -20,10 +21,11 @@ import {
|
|
|
20
21
|
duplicateElementInHtml,
|
|
21
22
|
getElementScreenshotClip,
|
|
22
23
|
getMimeType,
|
|
24
|
+
previewAllowedHostsFromEnv,
|
|
23
25
|
stampProjectHfIds,
|
|
24
26
|
stampProjectHfIdsAsync,
|
|
25
27
|
thumbnailDeviceScaleFactor
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G3WGKT3B.js";
|
|
27
29
|
import {
|
|
28
30
|
dedupeClonedCompositionId,
|
|
29
31
|
findTargetElement,
|
|
@@ -71,7 +73,7 @@ import {
|
|
|
71
73
|
registerRenderOutput,
|
|
72
74
|
retainSnapshotOutput,
|
|
73
75
|
settledFileTag
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-2QUQKYOK.js";
|
|
75
77
|
import {
|
|
76
78
|
CACHE_DIR_NAME,
|
|
77
79
|
cleanupProxyCache
|
|
@@ -132,6 +134,7 @@ export {
|
|
|
132
134
|
MAX_UPLOAD_BYTES,
|
|
133
135
|
MAX_WINDOW_IDLE_MS,
|
|
134
136
|
MIME_TYPES,
|
|
137
|
+
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
135
138
|
PREVIEW_BUNDLE_OPTIONS,
|
|
136
139
|
CACHE_DIR_NAME as PROXY_CACHE_DIR_NAME,
|
|
137
140
|
STUDIO_MANUAL_EDITS_PATH,
|
|
@@ -175,6 +178,7 @@ export {
|
|
|
175
178
|
openRangeEnd,
|
|
176
179
|
parseSourceDocument,
|
|
177
180
|
patchElementInHtml,
|
|
181
|
+
previewAllowedHostsFromEnv,
|
|
178
182
|
pruneGoneProjectHistories,
|
|
179
183
|
readProjectHistory,
|
|
180
184
|
reclaimUncopiedBlobs,
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
renderJobObservabilityTelemetryPayload,
|
|
11
11
|
renderObservabilityTelemetryPayload,
|
|
12
12
|
startRenderCpuSampler
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VMLPDIR6.js";
|
|
14
14
|
import {
|
|
15
15
|
HANDOFF_READY,
|
|
16
16
|
desktopDownloadUrl,
|
|
17
17
|
desktopInstalled,
|
|
18
18
|
insideHostApp,
|
|
19
19
|
openInDesktop
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P74B5H73.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveRenderBrowser
|
|
23
23
|
} from "./chunk-DYKBB5HB.js";
|
|
@@ -31,18 +31,19 @@ import "./chunk-X7MTZ4T2.js";
|
|
|
31
31
|
import "./chunk-GGDJLN5I.js";
|
|
32
32
|
import {
|
|
33
33
|
seekCompositionTimeline
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5IAFM6M5.js";
|
|
35
35
|
import {
|
|
36
36
|
GSAP_VENDOR_FILES,
|
|
37
37
|
readBundleFile,
|
|
38
38
|
resolveGsapVendorDir
|
|
39
39
|
} from "./chunk-OSDNRYQJ.js";
|
|
40
40
|
import "./chunk-262C25DQ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-AGHSWES2.js";
|
|
42
|
+
import "./chunk-LRDS7MG5.js";
|
|
43
43
|
import "./chunk-YGGZ23BB.js";
|
|
44
44
|
import "./chunk-BJYCLZBQ.js";
|
|
45
45
|
import {
|
|
46
|
+
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
46
47
|
PREVIEW_BUNDLE_OPTIONS,
|
|
47
48
|
affectsPreview,
|
|
48
49
|
clearElementScreenshotIsolation,
|
|
@@ -52,8 +53,12 @@ import {
|
|
|
52
53
|
createStudioApi,
|
|
53
54
|
getElementScreenshotClip,
|
|
54
55
|
getMimeType,
|
|
56
|
+
hostHeaderAllowed,
|
|
57
|
+
identityAllowed,
|
|
58
|
+
previewAllowedHostsFromEnv,
|
|
59
|
+
sameOriginPost,
|
|
55
60
|
thumbnailDeviceScaleFactor
|
|
56
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-G3WGKT3B.js";
|
|
57
62
|
import "./chunk-IX3K55NA.js";
|
|
58
63
|
import "./chunk-LMCFILEY.js";
|
|
59
64
|
import "./chunk-DONVZZLV.js";
|
|
@@ -69,13 +74,13 @@ import {
|
|
|
69
74
|
historyCache,
|
|
70
75
|
identifyFileWrite,
|
|
71
76
|
openProjectHistory
|
|
72
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-2QUQKYOK.js";
|
|
73
78
|
import "./chunk-V4Z37HFN.js";
|
|
74
79
|
import "./chunk-NFUXYBOR.js";
|
|
75
80
|
import "./chunk-ALVXFXUG.js";
|
|
76
81
|
import "./chunk-BZULWFMJ.js";
|
|
77
82
|
import "./chunk-AOPNJEQC.js";
|
|
78
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-LIWK3MFR.js";
|
|
79
84
|
import {
|
|
80
85
|
resolveCaptureBrowserGpuMode,
|
|
81
86
|
resolveLocalBrowserGpuMode,
|
|
@@ -99,18 +104,18 @@ import {
|
|
|
99
104
|
renderMotionBlurTelemetryPayload,
|
|
100
105
|
trackRenderComplete,
|
|
101
106
|
trackRenderError
|
|
102
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-NTNS5EFN.js";
|
|
103
108
|
import {
|
|
104
109
|
canaryDecisionsForStudio,
|
|
105
110
|
resetTelemetryPostureCache,
|
|
106
111
|
shouldTrack
|
|
107
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-YJYEKNJG.js";
|
|
108
113
|
import "./chunk-PXVQOMKL.js";
|
|
109
114
|
import "./chunk-MCDNAIFF.js";
|
|
110
115
|
import "./chunk-LP7B3JLC.js";
|
|
111
116
|
import "./chunk-JNHJX2BZ.js";
|
|
112
117
|
import "./chunk-54HJ63Q2.js";
|
|
113
|
-
import "./chunk-
|
|
118
|
+
import "./chunk-JCNPHRGX.js";
|
|
114
119
|
import {
|
|
115
120
|
encoderJobOptions
|
|
116
121
|
} from "./chunk-VEIGTKYZ.js";
|
|
@@ -173,18 +178,18 @@ import "./chunk-BR2JQQC5.js";
|
|
|
173
178
|
import {
|
|
174
179
|
readConfig,
|
|
175
180
|
readConfigFresh
|
|
176
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-AWD2MWWL.js";
|
|
177
182
|
import {
|
|
178
183
|
isDevMode
|
|
179
184
|
} from "./chunk-ISN5GRYI.js";
|
|
180
185
|
import "./chunk-GR2E54E6.js";
|
|
181
186
|
import "./chunk-ADVVQX4I.js";
|
|
182
187
|
import "./chunk-66W5IWLO.js";
|
|
183
|
-
import "./chunk-
|
|
188
|
+
import "./chunk-CPHQTXP5.js";
|
|
184
189
|
import "./chunk-QBXDU24O.js";
|
|
185
190
|
import {
|
|
186
191
|
VERSION
|
|
187
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-SP5GQGP2.js";
|
|
188
193
|
import "./chunk-E63BDV4Z.js";
|
|
189
194
|
import {
|
|
190
195
|
detectAgentRuntime
|
|
@@ -408,7 +413,6 @@ function readFromNodeModules() {
|
|
|
408
413
|
}
|
|
409
414
|
|
|
410
415
|
// src/server/telemetryIdentity.ts
|
|
411
|
-
import { hostname, networkInterfaces } from "os";
|
|
412
416
|
function resolveCliTelemetryDistinctId() {
|
|
413
417
|
try {
|
|
414
418
|
if (!shouldTrack()) return null;
|
|
@@ -427,13 +431,6 @@ function resolveCliBucketSeed() {
|
|
|
427
431
|
return null;
|
|
428
432
|
}
|
|
429
433
|
}
|
|
430
|
-
function isLoopbackHost(host) {
|
|
431
|
-
if (!host) return false;
|
|
432
|
-
const bracketed = /^\[([^\]]+)\]/.exec(host);
|
|
433
|
-
const hostname2 = (bracketed ? bracketed[1] : host.split(":")[0])?.toLowerCase() ?? "";
|
|
434
|
-
if (hostname2 === "localhost" || hostname2 === "::1" || hostname2 === "0:0:0:0:0:0:0:1") return true;
|
|
435
|
-
return /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(hostname2);
|
|
436
|
-
}
|
|
437
434
|
function encodeInlineScriptValue(value) {
|
|
438
435
|
return JSON.stringify(value).replace(/</g, "\\u003c").replace(/\//g, "\\/");
|
|
439
436
|
}
|
|
@@ -471,44 +468,6 @@ function buildCliIdentityScript(options = {}) {
|
|
|
471
468
|
function buildStudioHeadScripts(envScript, options = {}) {
|
|
472
469
|
return `${buildCliIdentityScript(options)}${envScript}`;
|
|
473
470
|
}
|
|
474
|
-
function hostnameOf(host) {
|
|
475
|
-
if (!host) return "";
|
|
476
|
-
const bracketed = /^\[([^\]]+)\]/.exec(host);
|
|
477
|
-
return (bracketed ? bracketed[1] : host.split(":")[0])?.toLowerCase() ?? "";
|
|
478
|
-
}
|
|
479
|
-
function localNames() {
|
|
480
|
-
const names = /* @__PURE__ */ new Set();
|
|
481
|
-
try {
|
|
482
|
-
for (const entries of Object.values(networkInterfaces())) {
|
|
483
|
-
for (const entry of entries ?? []) names.add(entry.address.toLowerCase());
|
|
484
|
-
}
|
|
485
|
-
const self = hostname().toLowerCase();
|
|
486
|
-
if (self !== "") {
|
|
487
|
-
names.add(self);
|
|
488
|
-
names.add(`${self}.local`);
|
|
489
|
-
const short = self.split(".")[0];
|
|
490
|
-
if (short !== void 0 && short !== "") {
|
|
491
|
-
names.add(short);
|
|
492
|
-
names.add(`${short}.local`);
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
} catch {
|
|
496
|
-
}
|
|
497
|
-
return names;
|
|
498
|
-
}
|
|
499
|
-
function hostMatchesBind(host, bind) {
|
|
500
|
-
const requested = hostnameOf(host);
|
|
501
|
-
if (requested === "") return false;
|
|
502
|
-
const bound = bind.toLowerCase();
|
|
503
|
-
if (requested === bound) return true;
|
|
504
|
-
return bound === "0.0.0.0" || bound === "::" || bound === "*" ? localNames().has(requested) : false;
|
|
505
|
-
}
|
|
506
|
-
function identityAllowed(host) {
|
|
507
|
-
if (isLoopbackHost(host)) return true;
|
|
508
|
-
const bind = (process.env["HYPERFRAMES_PREVIEW_HOST"] ?? "").trim();
|
|
509
|
-
if (bind === "" || isLoopbackHost(bind)) return false;
|
|
510
|
-
return hostMatchesBind(host, bind);
|
|
511
|
-
}
|
|
512
471
|
function refreshTelemetryPosture() {
|
|
513
472
|
try {
|
|
514
473
|
readConfigFresh();
|
|
@@ -618,13 +577,14 @@ function emitStudioRenderComplete(opts, elapsedMs, perf, cpuUsage = {}) {
|
|
|
618
577
|
}
|
|
619
578
|
|
|
620
579
|
// src/server/desktopRoutes.ts
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
580
|
+
function urlSchemeOf(url) {
|
|
581
|
+
try {
|
|
582
|
+
return new URL(url).protocol.replace(/:$/, "") || void 0;
|
|
583
|
+
} catch {
|
|
584
|
+
return void 0;
|
|
585
|
+
}
|
|
627
586
|
}
|
|
587
|
+
var CTA_ID = /^[A-Za-z0-9-]{1,64}$/;
|
|
628
588
|
function mountDesktopRoutes(app, projectDir, {
|
|
629
589
|
ready = HANDOFF_READY,
|
|
630
590
|
open = (dir, cta, doc) => openInDesktop(dir, { cta, doc, src: "browser-editor" }),
|
|
@@ -646,7 +606,10 @@ function mountDesktopRoutes(app, projectDir, {
|
|
|
646
606
|
const allowed = sameOriginPost({
|
|
647
607
|
host: c.req.header("host"),
|
|
648
608
|
origin: c.req.header("origin"),
|
|
649
|
-
fetchSite: c.req.header("sec-fetch-site")
|
|
609
|
+
fetchSite: c.req.header("sec-fetch-site"),
|
|
610
|
+
proto: urlSchemeOf(c.req.url),
|
|
611
|
+
forwardedProto: c.req.header("x-forwarded-proto"),
|
|
612
|
+
forwardedHost: c.req.header("x-forwarded-host")
|
|
650
613
|
});
|
|
651
614
|
if (!allowed) return c.json({ error: "forbidden" }, 403);
|
|
652
615
|
if (!ready)
|
|
@@ -1321,7 +1284,7 @@ function createStudioServer(options) {
|
|
|
1321
1284
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1322
1285
|
},
|
|
1323
1286
|
async installRegistryBlock(opts) {
|
|
1324
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1287
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-JBBBMWP4.js");
|
|
1325
1288
|
const { recordRewrittenInstall } = await import("./installer-VPGNKCEU.js");
|
|
1326
1289
|
const { registryTargetPath } = await import("./publication-5KOANEHK.js");
|
|
1327
1290
|
const { result, item } = await addToProject({
|
|
@@ -1348,6 +1311,17 @@ function createStudioServer(options) {
|
|
|
1348
1311
|
}
|
|
1349
1312
|
};
|
|
1350
1313
|
const app = new Hono();
|
|
1314
|
+
const allowedHosts = previewAllowedHostsFromEnv();
|
|
1315
|
+
app.use(async function refuseUnknownHost(c, next) {
|
|
1316
|
+
const host = c.req.header("host") ?? new URL(c.req.url).host;
|
|
1317
|
+
if (hostHeaderAllowed(host, allowedHosts)) return next();
|
|
1318
|
+
return c.json(
|
|
1319
|
+
{
|
|
1320
|
+
error: `forbidden: host "${host}" is not allowed. Set ${PREVIEW_ALLOWED_HOSTS_ENV}=${host} to allow it (comma separated for several hosts).`
|
|
1321
|
+
},
|
|
1322
|
+
403
|
|
1323
|
+
);
|
|
1324
|
+
});
|
|
1351
1325
|
app.get("/__hyperframes_config", (c) => {
|
|
1352
1326
|
const serve = async () => {
|
|
1353
1327
|
const serverBuildSignature = await loadPreviewServerBuildSignature();
|
|
@@ -1456,7 +1430,7 @@ function createStudioServer(options) {
|
|
|
1456
1430
|
}
|
|
1457
1431
|
return next();
|
|
1458
1432
|
});
|
|
1459
|
-
const api = createStudioApi(adapter);
|
|
1433
|
+
const api = createStudioApi(adapter, { allowedHosts });
|
|
1460
1434
|
app.all("/api/*", async (c) => {
|
|
1461
1435
|
const url = new URL(c.req.url);
|
|
1462
1436
|
url.pathname = url.pathname.slice(4);
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg,
|
|
17
17
|
window
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SPPSVPY7.js";
|
|
19
19
|
import {
|
|
20
20
|
Fix
|
|
21
21
|
} from "./chunk-2YZ6GA4E.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
defineCommand
|
|
25
25
|
} from "./chunk-DL4OD7IA.js";
|
|
26
26
|
import "./chunk-S3S4TGEH.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-JCNPHRGX.js";
|
|
28
28
|
import "./chunk-7GJKUOPX.js";
|
|
29
29
|
import "./chunk-Z5J67X44.js";
|
|
30
30
|
import "./chunk-5S7W3TUO.js";
|
|
@@ -55,16 +55,16 @@ import "./chunk-2RY2LWAA.js";
|
|
|
55
55
|
import "./chunk-WC4MTXGN.js";
|
|
56
56
|
import "./chunk-EPQC3FGZ.js";
|
|
57
57
|
import "./chunk-JOQR4AP6.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-UPVM6UDG.js";
|
|
59
59
|
import "./chunk-BR2JQQC5.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-AWD2MWWL.js";
|
|
61
61
|
import "./chunk-ISN5GRYI.js";
|
|
62
62
|
import "./chunk-GR2E54E6.js";
|
|
63
63
|
import "./chunk-ADVVQX4I.js";
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-CPHQTXP5.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-SP5GQGP2.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-LW33P24U.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NTNS5EFN.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-YJYEKNJG.js";
|
|
28
28
|
import "./chunk-PXVQOMKL.js";
|
|
29
29
|
import "./chunk-MCDNAIFF.js";
|
|
30
30
|
import "./chunk-LP7B3JLC.js";
|
|
31
31
|
import "./chunk-54HJ63Q2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-JCNPHRGX.js";
|
|
33
33
|
import "./chunk-RYT22J4V.js";
|
|
34
34
|
import "./chunk-FXMKHHPO.js";
|
|
35
35
|
import "./chunk-F24B2PLD.js";
|
|
@@ -57,14 +57,14 @@ import {
|
|
|
57
57
|
incrementCommandCount,
|
|
58
58
|
readConfig,
|
|
59
59
|
writeConfig
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-AWD2MWWL.js";
|
|
61
61
|
import "./chunk-ISN5GRYI.js";
|
|
62
62
|
import "./chunk-GR2E54E6.js";
|
|
63
63
|
import "./chunk-ADVVQX4I.js";
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-CPHQTXP5.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-SP5GQGP2.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-LW33P24U.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
import "./chunk-S3S4TGEH.js";
|
|
11
11
|
import {
|
|
12
12
|
c
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JCNPHRGX.js";
|
|
14
14
|
import {
|
|
15
15
|
CONFIG_PATH,
|
|
16
16
|
STATE_PATH,
|
|
17
17
|
effectiveTelemetryStatus,
|
|
18
18
|
readConfigFresh,
|
|
19
19
|
writeConfigWithResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AWD2MWWL.js";
|
|
21
21
|
import "./chunk-ISN5GRYI.js";
|
|
22
22
|
import "./chunk-GR2E54E6.js";
|
|
23
23
|
import {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
failCommand,
|
|
26
26
|
failUsage
|
|
27
27
|
} from "./chunk-66W5IWLO.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CPHQTXP5.js";
|
|
29
29
|
import "./chunk-E63BDV4Z.js";
|
|
30
30
|
import "./chunk-LW33P24U.js";
|
|
31
31
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-3S27CPV7.js";
|
|
10
10
|
import {
|
|
11
11
|
billingBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WGVWW6O4.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCloudAuthHeaders
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-ZLDYDO64.js";
|
|
16
|
+
import "./chunk-7NDF2MO3.js";
|
|
17
17
|
import {
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
seedProjectAuthoringSkill
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
import "./chunk-F2GWIWHN.js";
|
|
35
35
|
import {
|
|
36
36
|
trackSkillCommandRan
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-NTNS5EFN.js";
|
|
38
|
+
import "./chunk-YJYEKNJG.js";
|
|
39
39
|
import "./chunk-PXVQOMKL.js";
|
|
40
40
|
import "./chunk-MCDNAIFF.js";
|
|
41
41
|
import "./chunk-LP7B3JLC.js";
|
|
@@ -47,7 +47,7 @@ import "./chunk-JNHJX2BZ.js";
|
|
|
47
47
|
import "./chunk-54HJ63Q2.js";
|
|
48
48
|
import {
|
|
49
49
|
c
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JCNPHRGX.js";
|
|
51
51
|
import {
|
|
52
52
|
createStagingDir
|
|
53
53
|
} from "./chunk-IEXRKKHC.js";
|
|
@@ -72,16 +72,16 @@ import "./chunk-WC4MTXGN.js";
|
|
|
72
72
|
import "./chunk-EPQC3FGZ.js";
|
|
73
73
|
import "./chunk-JOQR4AP6.js";
|
|
74
74
|
import "./chunk-BR2JQQC5.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-AWD2MWWL.js";
|
|
76
76
|
import "./chunk-ISN5GRYI.js";
|
|
77
77
|
import "./chunk-GR2E54E6.js";
|
|
78
78
|
import "./chunk-ADVVQX4I.js";
|
|
79
79
|
import {
|
|
80
80
|
failCommand
|
|
81
81
|
} from "./chunk-66W5IWLO.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-CPHQTXP5.js";
|
|
83
83
|
import "./chunk-QBXDU24O.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-SP5GQGP2.js";
|
|
85
85
|
import "./chunk-E63BDV4Z.js";
|
|
86
86
|
import "./chunk-LW33P24U.js";
|
|
87
87
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
NEVER_VISIBLE,
|
|
9
9
|
describeProject
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HKWKMXAC.js";
|
|
11
11
|
import "./chunk-LLMSX6V6.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureDOMParser
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
import "./chunk-K4WKGXRC.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B23DUMZ4.js";
|
|
22
22
|
import {
|
|
23
23
|
readCompositionFps
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LRDS7MG5.js";
|
|
25
25
|
import {
|
|
26
26
|
applyFileMutations,
|
|
27
27
|
duplicateElementInHtml
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G3WGKT3B.js";
|
|
29
29
|
import {
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
@@ -35,31 +35,31 @@ import "./chunk-LMCFILEY.js";
|
|
|
35
35
|
import "./chunk-DONVZZLV.js";
|
|
36
36
|
import {
|
|
37
37
|
fileContentVersion
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2QUQKYOK.js";
|
|
39
39
|
import "./chunk-V4Z37HFN.js";
|
|
40
40
|
import "./chunk-NFUXYBOR.js";
|
|
41
41
|
import "./chunk-ALVXFXUG.js";
|
|
42
42
|
import "./chunk-BZULWFMJ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-LIWK3MFR.js";
|
|
44
44
|
import {
|
|
45
45
|
readJsonFileText,
|
|
46
46
|
readJsonStdinText
|
|
47
47
|
} from "./chunk-EHZESMRB.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-NTNS5EFN.js";
|
|
49
|
+
import "./chunk-YJYEKNJG.js";
|
|
50
50
|
import "./chunk-PXVQOMKL.js";
|
|
51
51
|
import "./chunk-MCDNAIFF.js";
|
|
52
52
|
import "./chunk-LP7B3JLC.js";
|
|
53
53
|
import {
|
|
54
54
|
assertKnownFlags
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AJCFMDFQ.js";
|
|
56
56
|
import {
|
|
57
57
|
defineCommand
|
|
58
58
|
} from "./chunk-DL4OD7IA.js";
|
|
59
59
|
import "./chunk-S3S4TGEH.js";
|
|
60
60
|
import "./chunk-JNHJX2BZ.js";
|
|
61
61
|
import "./chunk-54HJ63Q2.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-JCNPHRGX.js";
|
|
63
63
|
import "./chunk-VEIGTKYZ.js";
|
|
64
64
|
import "./chunk-EVMY7IPL.js";
|
|
65
65
|
import "./chunk-ZB2XGJSP.js";
|
|
@@ -103,9 +103,9 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
103
103
|
import "./chunk-JOQR4AP6.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-UPVM6UDG.js";
|
|
107
107
|
import "./chunk-BR2JQQC5.js";
|
|
108
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-AWD2MWWL.js";
|
|
109
109
|
import "./chunk-ISN5GRYI.js";
|
|
110
110
|
import "./chunk-GR2E54E6.js";
|
|
111
111
|
import {
|
|
@@ -114,9 +114,9 @@ import {
|
|
|
114
114
|
import {
|
|
115
115
|
setCommandExitCode
|
|
116
116
|
} from "./chunk-66W5IWLO.js";
|
|
117
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-CPHQTXP5.js";
|
|
118
118
|
import "./chunk-QBXDU24O.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-SP5GQGP2.js";
|
|
120
120
|
import "./chunk-E63BDV4Z.js";
|
|
121
121
|
import "./chunk-LW33P24U.js";
|
|
122
122
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-F4Z2UPAA.js";
|
|
15
|
+
import "./chunk-LIWK3MFR.js";
|
|
16
16
|
import {
|
|
17
17
|
defineCommand
|
|
18
18
|
} from "./chunk-DL4OD7IA.js";
|
|
19
19
|
import "./chunk-S3S4TGEH.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JCNPHRGX.js";
|
|
21
21
|
import "./chunk-VC76R6W2.js";
|
|
22
22
|
import "./chunk-GWTIFRF5.js";
|
|
23
23
|
import "./chunk-2RY2LWAA.js";
|
|
24
24
|
import "./chunk-ADVVQX4I.js";
|
|
25
25
|
import "./chunk-66W5IWLO.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CPHQTXP5.js";
|
|
27
27
|
import "./chunk-LW33P24U.js";
|
|
28
28
|
import "./chunk-XT6MXC7A.js";
|
|
29
29
|
import "./chunk-7KDQAD2W.js";
|
|
@@ -83,7 +83,7 @@ var tokens_default = defineCommand({
|
|
|
83
83
|
console.log("add to data-composition-variables:");
|
|
84
84
|
console.log(JSON.stringify(result.entries, null, 2));
|
|
85
85
|
}
|
|
86
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
86
|
+
const { trackFigmaImport } = await import("./telemetry-L5D3U4IO.js");
|
|
87
87
|
trackFigmaImport({
|
|
88
88
|
phase: "tokens",
|
|
89
89
|
tokensMode: result.mode,
|