hyperframes 0.8.225 → 0.8.227
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-ZGNY2AXJ.js → add-XX23UL2L.js} +12 -12
- package/dist/{agentPromptGenerator-GG4FFZH7.js → agentPromptGenerator-IMNWTMHM.js} +7 -7
- package/dist/{animatedGifPrep-NVDUG2CD.js → animatedGifPrep-MPU6T26Y.js} +7 -7
- package/dist/api.d.ts +122 -1
- package/dist/api.js +31 -23
- package/dist/{asset-UC3OQBB3.js → asset-FZSKOSMO.js} +2 -2
- package/dist/{assetCataloger-WQTNJMZU.js → assetCataloger-SITUNOV5.js} +8 -8
- package/dist/{audio-T6RWZHAA.js → audio-T5RHG57J.js} +17 -17
- package/dist/{auth-FSXEGF3B.js → auth-CMGIWJ6S.js} +5 -5
- package/dist/{autoUpdate-LOBHDWAA.js → autoUpdate-NNHBVLHN.js} +2 -2
- package/dist/{backgroundChecks-RBFWIWBP.js → backgroundChecks-HQYOBCV2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-LDZ6NO2X.js → batchRender-5URYGOLM.js} +3 -3
- package/dist/{beats-WFPPVM6N.js → beats-J7IBNLP4.js} +10 -10
- package/dist/{benchmark-7MYD5S26.js → benchmark-Q2BILDRB.js} +9 -9
- package/dist/{billing-2BJTLFDX.js → billing-WNOAP6KO.js} +4 -4
- package/dist/{browser-6C4IDYQE.js → browser-EERGHDRV.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-ARTT664T.js → bundleWithLocalizedFonts-FKU44QSO.js} +2 -2
- package/dist/{capture-7TFC65RN.js → capture-5W7BR36Q.js} +3 -3
- package/dist/{capture-TWZ5DQHP.js → capture-IRJ7DO45.js} +17 -17
- package/dist/{captureCompositionFrame-EMP6R3F6.js → captureCompositionFrame-R4LFCHHV.js} +14 -13
- package/dist/{catalog-W4RJO4FE.js → catalog-IRFBKRFP.js} +12 -12
- package/dist/{catch-up-OOCJH3O6.js → catch-up-RGQAFA3E.js} +5 -5
- package/dist/{check-BPPHG2CF.js → check-EXLZVGDY.js} +40 -39
- package/dist/{checkAudio-QEGCKX2V.js → checkAudio-K3XKXNEN.js} +10 -10
- package/dist/{checkBrowser-4JDYYAVA.js → checkBrowser-ZOU5XFMN.js} +34 -33
- package/dist/chunk-262C25DQ.js +31 -0
- package/dist/{chunk-3XQQLL3G.js → chunk-27JEDDX5.js} +1 -1
- package/dist/{chunk-AKMY4QVI.js → chunk-2GTFW4MK.js} +9 -1
- package/dist/{chunk-EECV7SDN.js → chunk-2M6LMJ32.js} +1 -1
- package/dist/{chunk-G45NYKSM.js → chunk-3TWAMQF6.js} +3 -3
- package/dist/{chunk-BEMGUGGJ.js → chunk-3ZWUNOTS.js} +1 -1
- package/dist/{chunk-Z7GIHPAZ.js → chunk-53ZOVLGJ.js} +2 -2
- package/dist/{chunk-G6Z47UQP.js → chunk-5ETFQB5F.js} +49 -31
- package/dist/{chunk-ZGQC6IU7.js → chunk-62LATJB6.js} +1 -1
- package/dist/{chunk-KDF67KEB.js → chunk-65LMGFJ5.js} +13 -13
- package/dist/{chunk-SVGHIMPQ.js → chunk-6HPCEV3U.js} +2 -2
- package/dist/{chunk-VLA6UJGH.js → chunk-6NJVSTSY.js} +5 -6
- package/dist/{chunk-VHL26GNQ.js → chunk-6PQXDPKV.js} +2 -2
- package/dist/{chunk-T5KG6H6L.js → chunk-6RSOEYIG.js} +7 -7
- package/dist/{chunk-5HGS5MGD.js → chunk-6TXW6LHH.js} +339 -136
- package/dist/{chunk-IJWDVOIO.js → chunk-7XNMKKXI.js} +2 -2
- package/dist/{chunk-SIYDHVN2.js → chunk-A3UIADPB.js} +1 -1
- package/dist/{chunk-X5BSSPC2.js → chunk-AI6Z7BVD.js} +1 -1
- package/dist/{chunk-BKHBSFEO.js → chunk-AJREH4PX.js} +3 -2
- package/dist/{chunk-GI42ZB52.js → chunk-AQ2C6AQH.js} +1 -1
- package/dist/{chunk-UZ5AWZCA.js → chunk-AXRFHQRS.js} +1 -1
- package/dist/{chunk-WQCVZEXH.js → chunk-BKK57WEL.js} +6 -6
- package/dist/{chunk-5I6XEO4W.js → chunk-BW3CQT3A.js} +3 -25
- package/dist/{chunk-W464PHF3.js → chunk-CQKK7S4I.js} +7 -7
- package/dist/{chunk-2YZD6CAF.js → chunk-E2GNVQSH.js} +10 -3
- package/dist/{chunk-652ERUZD.js → chunk-FD7Z5BDR.js} +2 -2
- package/dist/{chunk-UQWOOANM.js → chunk-FFCQR7AP.js} +2 -2
- package/dist/{chunk-AMQFGICP.js → chunk-GIGZYW5Q.js} +1 -1
- package/dist/{chunk-HT3D5AKG.js → chunk-GR2T3BOX.js} +6 -5
- package/dist/{chunk-LWTT7I7X.js → chunk-HGEFDPRP.js} +1 -1
- package/dist/{chunk-HW6HTTBZ.js → chunk-HNB7DA2F.js} +1 -1
- package/dist/{chunk-R6JPOEDZ.js → chunk-IN2355UQ.js} +1 -1
- package/dist/{chunk-EIIMWDZW.js → chunk-IQFLDX7I.js} +4 -4
- package/dist/{chunk-GE4ABM5K.js → chunk-ISEHEDSN.js} +41 -12
- package/dist/{chunk-RDLJSUI4.js → chunk-IUQCPWHU.js} +17 -11
- package/dist/{chunk-FJ3KUOUZ.js → chunk-IZRC24DI.js} +1 -1
- package/dist/{chunk-LZB5AHFD.js → chunk-JP6C673M.js} +1 -1
- package/dist/{chunk-OZMZFJDW.js → chunk-K6YHKCVX.js} +1 -1
- package/dist/{chunk-CGX4EOGT.js → chunk-K7LS42XC.js} +3 -3
- package/dist/{chunk-7RTPHNOO.js → chunk-KLTD64CP.js} +7 -4
- package/dist/{chunk-E47ZWDMH.js → chunk-KU6VRNJF.js} +1 -1
- package/dist/{chunk-KVBOJJ5R.js → chunk-L2XYH5SQ.js} +1 -1
- package/dist/{chunk-XM5KYLIE.js → chunk-M63U54H7.js} +4 -4
- package/dist/{chunk-4K6AS5TX.js → chunk-MBS45ZKL.js} +313 -149
- package/dist/{chunk-5KADQQ6S.js → chunk-MR7I3L6N.js} +1 -1
- package/dist/{chunk-FPWCICAI.js → chunk-NFUJ35XX.js} +1 -1
- package/dist/{chunk-35NDLXHZ.js → chunk-NQ4MVBNC.js} +10 -10
- package/dist/{chunk-PICDT6ZW.js → chunk-OG3S6SE6.js} +1 -1
- package/dist/{chunk-GZPGTGRV.js → chunk-OJW6TC57.js} +1 -1
- package/dist/{chunk-Z57RQBIA.js → chunk-OVLO32XC.js} +3 -3
- package/dist/{chunk-HMS6UHUW.js → chunk-OWJTWCE6.js} +2 -2
- package/dist/{chunk-M3WOI7BU.js → chunk-PFGBFTNS.js} +1 -1
- package/dist/{chunk-ACUVSKUI.js → chunk-PSRFHITV.js} +13 -13
- package/dist/{chunk-2EH3WQCS.js → chunk-PVLG6IY4.js} +5 -5
- package/dist/chunk-PXH3TD4X.js +760 -0
- package/dist/{chunk-Y5OSQXGZ.js → chunk-Q7S4JN73.js} +5 -5
- package/dist/{chunk-K73PYNON.js → chunk-QSWUM7WR.js} +2 -5
- package/dist/{chunk-EQFDOQTG.js → chunk-RABQDJMA.js} +1 -1
- package/dist/{chunk-ADOBHVHW.js → chunk-RG7WG2BC.js} +2 -2
- package/dist/{chunk-4Z2SU2VC.js → chunk-RVKHNBJI.js} +18 -18
- package/dist/{chunk-BTDKWWND.js → chunk-SANQC4QD.js} +1 -1
- package/dist/chunk-SBQV5FLG.js +5030 -0
- package/dist/{chunk-4VTXUGDR.js → chunk-SPN4SJV7.js} +1 -1
- package/dist/chunk-SQJNSPL5.js +177 -0
- package/dist/{chunk-4A643C3B.js → chunk-SZVMN7L3.js} +7 -7
- package/dist/{chunk-IB7I5IEC.js → chunk-T53C5UTH.js} +1 -1
- package/dist/{chunk-KEDN4LSV.js → chunk-TFJSU4IV.js} +2 -2
- package/dist/{chunk-UBH2R663.js → chunk-TG5RBLCM.js} +2 -2
- package/dist/{chunk-CXVFPIOM.js → chunk-TJ6G325N.js} +1 -1
- package/dist/{chunk-UBXKKXXR.js → chunk-TJPZYMYX.js} +3 -3
- package/dist/{chunk-M4NN4AHH.js → chunk-TMTZ5M4R.js} +9 -9
- package/dist/{chunk-RR5QE7DB.js → chunk-TNPFF5TQ.js} +18 -14
- package/dist/{chunk-AF3EN5XS.js → chunk-UIDZKSF6.js} +1 -1
- package/dist/{chunk-QOYZ3U6G.js → chunk-V4SD6HQ6.js} +2 -3
- package/dist/{chunk-EEBIHQF2.js → chunk-V7BBBD5C.js} +2 -2
- package/dist/{chunk-SXHSNLEC.js → chunk-VHREBR3T.js} +1 -1
- package/dist/chunk-VO55NLTM.js +111 -0
- package/dist/{chunk-IORJ42GY.js → chunk-VUDMPRZN.js} +5 -6
- package/dist/{chunk-3HRQI6LJ.js → chunk-WISN2ACZ.js} +1 -1
- package/dist/{chunk-7HSV5SJ4.js → chunk-XOFJZ3UG.js} +1 -1
- package/dist/{chunk-UCPEABYK.js → chunk-XZULISH5.js} +2 -2
- package/dist/{chunk-3E2BO3L3.js → chunk-YKOHWGUC.js} +1 -1
- package/dist/{chunk-A25SCSOK.js → chunk-YTMWGLEQ.js} +1 -1
- package/dist/{chunk-6IV2N527.js → chunk-ZAE5Q7D5.js} +2 -2
- package/dist/{chunk-O3MGHHJO.js → chunk-ZSZKNGSQ.js} +3 -3
- package/dist/{chunk-NLELDFX7.js → chunk-ZU5GYVRG.js} +3 -3
- package/dist/{clean-XWDDXLRP.js → clean-IXG2MEQ6.js} +18 -18
- package/dist/cli.js +57 -57
- package/dist/{cloud-SETWVGKH.js → cloud-C2SUZ4ML.js} +4 -4
- package/dist/{cloudrun-RHPVVXCR.js → cloudrun-SWS7AI67.js} +4 -4
- package/dist/{compare-FWMFV7A7.js → compare-HKONJNY4.js} +31 -30
- package/dist/{compiler-SKRY6FPA.js → compiler-67X7VCNS.js} +4 -4
- package/dist/{component-HGEIXY3U.js → component-YBGAFPNS.js} +3 -3
- package/dist/{compositions-2TXJLBWE.js → compositions-B5T65NKW.js} +12 -12
- package/dist/{curve-SSFKIA2L.js → curve-QZCRRLBS.js} +11 -11
- package/dist/{cuts-BWXHTOOP.js → cuts-5DIKHPDZ.js} +20 -15
- package/dist/{delete-F5RDWZEJ.js → delete-GHNNYUXL.js} +6 -6
- package/dist/{deploy-OH4SMYTG.js → deploy-IARSTZY6.js} +1 -1
- package/dist/{describeProject-B7H4T5PW.js → describeProject-6DA3FMM2.js} +8 -8
- package/dist/{diff-6JFFTFKR.js → diff-JWNEN6CO.js} +89 -229
- package/dist/{dist-YEYUGCOR.js → dist-AY2X5DPM.js} +2 -2
- package/dist/{dist-24QQO5IL.js → dist-DCP77RWC.js} +2 -2
- package/dist/{doctor-XQCZB5BY.js → doctor-BMUGN4C2.js} +11 -11
- package/dist/{energy-MEMYSTFT.js → energy-DSK2FPBK.js} +12 -12
- package/dist/{events-T7OLH6MW.js → events-6VLVSDSN.js} +4 -4
- package/dist/{events-U6PXJI34.js → events-HD5CYSPO.js} +3 -3
- package/dist/{events-ZU2ATKWK.js → events-KKH2U7U5.js} +14 -14
- package/dist/{extract-25TUTGCA.js → extract-IFMYI2DA.js} +15 -19
- package/dist/{face-KMLYOE5H.js → face-JD2ZVOH3.js} +12 -12
- package/dist/{feedback-FE7GQTBH.js → feedback-LI55MDGG.js} +14 -14
- package/dist/{ffmpeg-CXYPYIZK.js → ffmpeg-A4M2I6R3.js} +7 -7
- package/dist/{figma-QMKU7M7T.js → figma-CNVJZ7BL.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-2NPBO6LB.js → frames-MOAPFEBS.js} +13 -13
- package/dist/{generate-I6E3V7PU.js → generate-ZRQYOJ3I.js} +18 -18
- package/dist/{get-JJWBP5NB.js → get-2RNNB5KC.js} +6 -6
- package/dist/{gpuPolicy-2OMDU74V.js → gpuPolicy-MXPGQGRO.js} +7 -7
- package/dist/{grade-compare-QCA3VIKQ.js → grade-compare-CQHZR7LX.js} +32 -31
- package/dist/{heifImagePrep-P53GG4GF.js → heifImagePrep-PRXKTL2U.js} +8 -8
- package/dist/{help-COSONWFD.js → help-MDT2MEPS.js} +1 -1
- package/dist/{history-CWKF5AXI.js → history-N7H2FN6R.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-SD74Y6V5.js → info-NXYRDRHE.js} +8 -8
- package/dist/{init-XAYQNTVF.js → init-DJ5EJAQI.js} +28 -28
- package/dist/ink-WZSITVIW.js +148 -0
- package/dist/{inspect-Y5IIQBIW.js → inspect-JAXBBYA3.js} +32 -31
- package/dist/{installer-NQA4KXRP.js → installer-N5OHXI5C.js} +4 -4
- package/dist/{keyframes-MNPCJZYU.js → keyframes-TXNYBMOV.js} +8 -8
- package/dist/{lambda-PMI6IDVN.js → lambda-4LVII6VK.js} +11 -11
- package/dist/{layout-6IM6R6LX.js → layout-AS4FJ53O.js} +32 -31
- package/dist/{lint-6VUHVHFF.js → lint-DCAYD4CN.js} +9 -9
- package/dist/{lintProject-6H64SX3V.js → lintProject-54CNQ4HT.js} +2 -2
- package/dist/{list-XXTAS744.js → list-7Z6YRO6I.js} +6 -6
- package/dist/{localPage-2UHUS6LM.js → localPage-FUOBAMSA.js} +7 -7
- package/dist/{login-KM3LPYQ7.js → login-JZ4COLEB.js} +7 -7
- package/dist/{logout-LHTQV2BZ.js → logout-6CEIH4HW.js} +3 -3
- package/dist/{look-3CD3ZSXY.js → look-QELVFTKU.js} +12 -12
- package/dist/{manager-C6GVT3EI.js → manager-ZJPSMHK6.js} +8 -8
- package/dist/{measure-DWZX4YAK.js → measure-2I5VAVHN.js} +12 -11
- package/dist/{media-treatment-IIUPGQIX.js → media-treatment-MDTQ6564.js} +14 -14
- package/dist/{media-use-HLHUEFDK.js → media-use-NFGRWEGA.js} +3 -3
- package/dist/{models-IWHY5V6N.js → models-DKSUFPQ6.js} +11 -11
- package/dist/{motionShot-4NKHFUS7.js → motionShot-BJARRLMN.js} +17 -16
- package/dist/{normalize-audio-M2RS5Q23.js → normalize-audio-EW5JUESE.js} +10 -10
- package/dist/{open-U7CCHUBO.js → open-737GUSFD.js} +13 -13
- package/dist/{parakeetRunner-ZHG3S6GY.js → parakeetRunner-OIVHACYW.js} +12 -12
- package/dist/{pipeline-66JR7EC7.js → pipeline-UTNPWFMF.js} +10 -10
- package/dist/{play-5COR53D2.js → play-ZCYUVL2Y.js} +22 -22
- package/dist/{preflight-OKAO5NPW.js → preflight-HWFWGTIG.js} +8 -8
- package/dist/{present-YKFQC22R.js → present-AO3XZKSL.js} +18 -18
- package/dist/{preview-3YNKJZME.js → preview-ORIRMNIU.js} +20 -20
- package/dist/{probe-QMPDGKU5.js → probe-HYO2KC2E.js} +11 -11
- package/dist/{producer-WBVDP3IV.js → producer-B4VCP4D2.js} +1 -1
- package/dist/{projectConfig-UI4NZDN7.js → projectConfig-HUR4LZME.js} +6 -6
- package/dist/{publication-VPJZQCLA.js → publication-YH74GUD4.js} +2 -2
- package/dist/{publish-7RA2MK2M.js → publish-WIEB5ON4.js} +25 -25
- package/dist/{refresh-AM2ULRRV.js → refresh-MQTO43RB.js} +3 -3
- package/dist/{remove-background-ELC7V7KT.js → remove-background-NHLEPVOM.js} +11 -11
- package/dist/{render-WH7MPRZD.js → render-3WFVN7HO.js} +45 -43
- package/dist/{render-R7E7TTNE.js → render-DQSNIKEG.js} +59 -759
- package/dist/{render-IYV73CG6.js → render-GBJSUM3R.js} +5 -5
- package/dist/{render-batch-IN2ZXPS7.js → render-batch-YZF2XMYL.js} +8 -8
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-DIXFK5ZR.js → resolver-KGTY7RJU.js} +4 -4
- package/dist/{run-MCVU7AZX.js → run-OJ2GBYKB.js} +4 -4
- package/dist/{sherpa-FP6HX5KK.js → sherpa-B3T3I2PX.js} +11 -11
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +3 -9
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +6 -4
- package/dist/skills/media-use/references/heygen.md +2 -1
- package/dist/skills/media-use/scripts/lib/logo-provider.mjs +8 -3
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +14 -0
- package/dist/skills/media-use/scripts/resolve.mjs +11 -5
- package/dist/{skills-JLNDM2KP.js → skills-FATGE2YZ.js} +6 -6
- package/dist/{skillsUpdateCheck-WS5M25TN.js → skillsUpdateCheck-AHDI2POI.js} +3 -3
- package/dist/{snapshot-VPN6GA7U.js → snapshot-SELBWDZ7.js} +68 -43
- package/dist/{src-RGQFYVHO.js → src-55VXHZM5.js} +9 -9
- package/dist/{src-AP7B27MZ.js → src-6H4ENHBH.js} +10 -6
- package/dist/{staticProjectServer-YA6XOSFY.js → staticProjectServer-E4BZ4YZO.js} +18 -18
- package/dist/{status-Y5ZBFJ53.js → status-6WAZ5EBM.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-Do2ZF6Lp.js → hyperframes-player-merzSkao.js} +3 -3
- package/dist/studio/assets/{index-CK4_IJ8G.js → index-B4XEg_n-.js} +1 -1
- package/dist/studio/assets/{index-Dxb7fTWf.js → index-DoXOJGW5.js} +174 -174
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-57E36S5N.js → studio-api-IERYGFXT.js} +10 -10
- package/dist/{studioServer-EVMF3HHL.js → studioServer-3RCCQB3T.js} +51 -50
- package/dist/{sync-ASUBSVGQ.js → sync-VV7L5GRE.js} +12 -12
- package/dist/{telemetry-YON45KT4.js → telemetry-KZRSFUC6.js} +4 -4
- package/dist/{timeline-OQWDGV7L.js → timeline-ALU6E3WE.js} +20 -20
- package/dist/{tokens-NMPY673W.js → tokens-XEZF2LGB.js} +2 -2
- package/dist/{transcribe-HSYXT5TZ.js → transcribe-HJX65J5D.js} +10 -10
- package/dist/{transcribe-C6FKVSRR.js → transcribe-OVOOUYK7.js} +22 -22
- package/dist/{updateCheck-B7PAAPCJ.js → updateCheck-FEOJQNLJ.js} +2 -2
- package/dist/{upgrade-BOECDD5S.js → upgrade-VM2DGLXZ.js} +2 -2
- package/dist/{urlDownloader-KC2SS457.js → urlDownloader-YENOMQQF.js} +6 -6
- package/dist/{validate-LEEBUIIH.js → validate-HXTL5C7J.js} +26 -25
- package/dist/{video-JJAEISDH.js → video-3BIRQK2N.js} +8 -8
- package/dist/warmCheck.js +40 -39
- package/package.json +1 -1
- package/dist/chunk-6UWSEXQ3.js +0 -5030
- package/dist/chunk-TRPNLI6V.js +0 -71
|
@@ -19,52 +19,53 @@ import {
|
|
|
19
19
|
preResolveHostileMediaProxies,
|
|
20
20
|
runBrowserCheck,
|
|
21
21
|
samplingBrowserCount
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-PSRFHITV.js";
|
|
23
|
+
import "./chunk-TMTZ5M4R.js";
|
|
24
|
+
import "./chunk-65LMGFJ5.js";
|
|
25
25
|
import "./chunk-TQBQYO4L.js";
|
|
26
26
|
import "./chunk-X7MTZ4T2.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-UIDZKSF6.js";
|
|
28
|
+
import "./chunk-SZVMN7L3.js";
|
|
29
29
|
import "./chunk-X7MTZ4T2.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-K7LS42XC.js";
|
|
31
31
|
import "./chunk-XUHOIDKG.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-NQ4MVBNC.js";
|
|
33
|
+
import "./chunk-3TWAMQF6.js";
|
|
34
|
+
import "./chunk-FD7Z5BDR.js";
|
|
35
35
|
import "./chunk-AW3XJY4S.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ISEHEDSN.js";
|
|
37
|
+
import "./chunk-KU6VRNJF.js";
|
|
38
38
|
import "./chunk-QU5OYMTB.js";
|
|
39
39
|
import "./chunk-ALVXFXUG.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-IUQCPWHU.js";
|
|
41
41
|
import "./chunk-R2C5EON5.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-262C25DQ.js";
|
|
43
|
+
import "./chunk-BW3CQT3A.js";
|
|
44
|
+
import "./chunk-AI6Z7BVD.js";
|
|
45
45
|
import "./chunk-YGGZ23BB.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-K6YHKCVX.js";
|
|
47
|
+
import "./chunk-62LATJB6.js";
|
|
48
48
|
import "./chunk-XT7X6QCP.js";
|
|
49
49
|
import "./chunk-5YPMCCCA.js";
|
|
50
50
|
import "./chunk-HVW7ABXD.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-YTMWGLEQ.js";
|
|
52
52
|
import "./chunk-JHOCK3DG.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-XZULISH5.js";
|
|
54
|
+
import "./chunk-RABQDJMA.js";
|
|
55
55
|
import "./chunk-AWDFDFI3.js";
|
|
56
56
|
import "./chunk-P6LJ4Y32.js";
|
|
57
57
|
import "./chunk-T2WJO4XM.js";
|
|
58
58
|
import "./chunk-W4DMQZL5.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-TG5RBLCM.js";
|
|
60
|
+
import "./chunk-5LOZWO2M.js";
|
|
61
|
+
import "./chunk-7XNMKKXI.js";
|
|
61
62
|
import "./chunk-EHZESMRB.js";
|
|
62
63
|
import "./chunk-A4ZTSQLW.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-OG3S6SE6.js";
|
|
65
|
+
import "./chunk-RG7WG2BC.js";
|
|
65
66
|
import "./chunk-PXVQOMKL.js";
|
|
66
67
|
import "./chunk-MCDNAIFF.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-6NJVSTSY.js";
|
|
68
69
|
import "./chunk-DL4OD7IA.js";
|
|
69
70
|
import "./chunk-S3S4TGEH.js";
|
|
70
71
|
import "./chunk-WYKRGEDD.js";
|
|
@@ -73,15 +74,15 @@ import "./chunk-2GICKZ3I.js";
|
|
|
73
74
|
import "./chunk-G6OKQMJI.js";
|
|
74
75
|
import "./chunk-EVMY7IPL.js";
|
|
75
76
|
import "./chunk-7FMUTGOH.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-6TXW6LHH.js";
|
|
77
78
|
import "./chunk-Z5J67X44.js";
|
|
78
79
|
import "./chunk-5S7W3TUO.js";
|
|
79
80
|
import "./chunk-D3MUHMFG.js";
|
|
80
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-KLTD64CP.js";
|
|
81
82
|
import "./chunk-YWRUQ7XZ.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-IZRC24DI.js";
|
|
83
84
|
import "./chunk-MEJH7VEA.js";
|
|
84
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-SBQV5FLG.js";
|
|
85
86
|
import "./chunk-VC76R6W2.js";
|
|
86
87
|
import "./chunk-OFQWTKPW.js";
|
|
87
88
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -92,9 +93,9 @@ import "./chunk-KGPLIH7B.js";
|
|
|
92
93
|
import "./chunk-LAGZGKKN.js";
|
|
93
94
|
import "./chunk-K4MJX7SR.js";
|
|
94
95
|
import "./chunk-WE42NVH7.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-GR2T3BOX.js";
|
|
96
97
|
import "./chunk-HYRPH6LL.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-2GTFW4MK.js";
|
|
98
99
|
import "./chunk-CZGHFATT.js";
|
|
99
100
|
import "./chunk-C2KEGBR3.js";
|
|
100
101
|
import "./chunk-T5ELONXY.js";
|
|
@@ -105,7 +106,7 @@ import "./chunk-2RY2LWAA.js";
|
|
|
105
106
|
import "./chunk-EPQC3FGZ.js";
|
|
106
107
|
import "./chunk-WC4MTXGN.js";
|
|
107
108
|
import "./chunk-FBN2M2HK.js";
|
|
108
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-SANQC4QD.js";
|
|
109
110
|
import "./chunk-BR2JQQC5.js";
|
|
110
111
|
import "./chunk-BLBMPEBX.js";
|
|
111
112
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -113,7 +114,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
113
114
|
import "./chunk-66W5IWLO.js";
|
|
114
115
|
import "./chunk-J3RXEDR2.js";
|
|
115
116
|
import "./chunk-QBXDU24O.js";
|
|
116
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-V7BBBD5C.js";
|
|
117
118
|
import "./chunk-E63BDV4Z.js";
|
|
118
119
|
import "./chunk-G7VEYUZ2.js";
|
|
119
120
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/browser/windowsCrash.ts
|
|
9
|
+
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
10
|
+
var STATUS_STACK_BUFFER_OVERRUN_HEX = /0x[cC]0000409/;
|
|
11
|
+
var STATUS_STACK_BUFFER_OVERRUN_NAME = /STATUS_STACK_BUFFER_OVERRUN/i;
|
|
12
|
+
function isWindowsChromeCrashError(errorMessage) {
|
|
13
|
+
if (!/Failed to launch the browser process/i.test(errorMessage)) return false;
|
|
14
|
+
return errorMessage.includes(STATUS_STACK_BUFFER_OVERRUN_DEC) || STATUS_STACK_BUFFER_OVERRUN_HEX.test(errorMessage) || STATUS_STACK_BUFFER_OVERRUN_NAME.test(errorMessage);
|
|
15
|
+
}
|
|
16
|
+
function windowsChromeCrashRemediation(errorMessage) {
|
|
17
|
+
if (process.platform !== "win32") return void 0;
|
|
18
|
+
if (!isWindowsChromeCrashError(errorMessage)) return void 0;
|
|
19
|
+
return [
|
|
20
|
+
"chrome-headless-shell crashed at launch (Windows STATUS_STACK_BUFFER_OVERRUN, exit 0xC0000409 / 3221225595).",
|
|
21
|
+
"The pinned Chromium build is not stable on this Windows host; point hyperframes at your installed Chrome instead:",
|
|
22
|
+
"",
|
|
23
|
+
' set HYPERFRAMES_BROWSER_PATH="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"',
|
|
24
|
+
"",
|
|
25
|
+
"Then re-run your command. Any Chrome build works for the screenshot capture path; install a real chrome-headless-shell later if you need the perf-optimized BeginFrame path."
|
|
26
|
+
].join("\n");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
windowsChromeCrashRemediation
|
|
31
|
+
};
|
|
@@ -254,6 +254,13 @@ function maskNonScannableRanges(html) {
|
|
|
254
254
|
out = maskRange(out, /<script\b[^>]*>[\s\S]*?<\/script\b[^>]*>/gi);
|
|
255
255
|
return out;
|
|
256
256
|
}
|
|
257
|
+
function decodeTextHonoringBom(bytes) {
|
|
258
|
+
if (bytes[0] === 255 && bytes[1] === 254) return bytes.subarray(2).toString("utf16le");
|
|
259
|
+
if (bytes[0] === 254 && bytes[1] === 255)
|
|
260
|
+
return Buffer.from(bytes.subarray(2, bytes.length - bytes.length % 2)).swap16().toString("utf16le");
|
|
261
|
+
return bytes.toString("utf-8").replace(/^\uFEFF/, "");
|
|
262
|
+
}
|
|
263
|
+
var readTextFile = (path) => decodeTextHonoringBom(readFileSync(path));
|
|
257
264
|
function readProjectFile(path) {
|
|
258
265
|
let fd;
|
|
259
266
|
try {
|
|
@@ -266,7 +273,7 @@ function readProjectFile(path) {
|
|
|
266
273
|
}
|
|
267
274
|
try {
|
|
268
275
|
if (!fstatSync(fd).isFile()) return { kind: "folder" };
|
|
269
|
-
return { kind: "file", text: readFileSync(fd
|
|
276
|
+
return { kind: "file", text: decodeTextHonoringBom(readFileSync(fd)) };
|
|
270
277
|
} finally {
|
|
271
278
|
closeSync(fd);
|
|
272
279
|
}
|
|
@@ -283,5 +290,6 @@ export {
|
|
|
283
290
|
resolveAuthoredAssetFile,
|
|
284
291
|
resolveProjectRelativeSrc,
|
|
285
292
|
maskNonScannableRanges,
|
|
293
|
+
readTextFile,
|
|
286
294
|
readProjectFile
|
|
287
295
|
};
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KLTD64CP.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IZRC24DI.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GR2T3BOX.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
hasPreservedUnknownData,
|
|
10
10
|
readStore,
|
|
11
11
|
writeStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V4SD6HQ6.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6NJVSTSY.js";
|
|
16
16
|
|
|
17
17
|
// src/auth/user.ts
|
|
18
18
|
function isUserInfoEmpty(u) {
|
|
@@ -7,23 +7,24 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VO55NLTM.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AJREH4PX.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PVLG6IY4.js";
|
|
20
20
|
import {
|
|
21
21
|
Fix,
|
|
22
22
|
probeVideo,
|
|
23
|
+
projectOf,
|
|
23
24
|
round,
|
|
24
25
|
runFfmpeg,
|
|
25
26
|
videoClip
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E2GNVQSH.js";
|
|
27
28
|
import {
|
|
28
29
|
defineCommand
|
|
29
30
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -203,6 +204,18 @@ function needFile(path) {
|
|
|
203
204
|
if (!existsSync(path))
|
|
204
205
|
throw new Fix(`no file at ${path}`, "pass a picture or sound from the project");
|
|
205
206
|
}
|
|
207
|
+
var shrink = (path, out) => runFfmpeg([
|
|
208
|
+
"-y",
|
|
209
|
+
"-i",
|
|
210
|
+
path,
|
|
211
|
+
"-vf",
|
|
212
|
+
"scale='min(2048,iw)':'min(2048,ih)':force_original_aspect_ratio=decrease",
|
|
213
|
+
"-q:v",
|
|
214
|
+
"3",
|
|
215
|
+
"-frames:v",
|
|
216
|
+
"1",
|
|
217
|
+
out
|
|
218
|
+
]);
|
|
206
219
|
function inline(work, masks = []) {
|
|
207
220
|
return (path, kind) => {
|
|
208
221
|
needFile(path);
|
|
@@ -210,19 +223,7 @@ function inline(work, masks = []) {
|
|
|
210
223
|
work,
|
|
211
224
|
`in-${Math.random().toString(36).slice(2)}.${{ image: "jpg", audio: "mp3", video: "mp4" }[kind]}`
|
|
212
225
|
);
|
|
213
|
-
if (kind === "image")
|
|
214
|
-
runFfmpeg([
|
|
215
|
-
"-y",
|
|
216
|
-
"-i",
|
|
217
|
-
path,
|
|
218
|
-
"-vf",
|
|
219
|
-
"scale='min(2048,iw)':'min(2048,ih)':force_original_aspect_ratio=decrease",
|
|
220
|
-
"-q:v",
|
|
221
|
-
"3",
|
|
222
|
-
"-frames:v",
|
|
223
|
-
"1",
|
|
224
|
-
out
|
|
225
|
-
]);
|
|
226
|
+
if (kind === "image") shrink(path, out);
|
|
226
227
|
else if (kind === "audio")
|
|
227
228
|
runFfmpeg(["-y", "-i", path, "-vn", "-ac", "1", "-c:a", "libmp3lame", "-b:a", "128k", out]);
|
|
228
229
|
else {
|
|
@@ -310,10 +311,29 @@ function fitAspect(out, aspect) {
|
|
|
310
311
|
renameSync(fitted, out);
|
|
311
312
|
return `HeyGen returned ${width}x${height} for ${aspect}; cropped to ${w}x${h} (centre), not stretched`;
|
|
312
313
|
}
|
|
314
|
+
function aspectOf(r, work) {
|
|
315
|
+
if (r.aspect || !r.firstFrame) return r.aspect ?? "16:9";
|
|
316
|
+
const sent = join(work, "first-frame.jpg");
|
|
317
|
+
shrink(r.firstFrame, sent);
|
|
318
|
+
const { width, height } = probeVideo(sent);
|
|
319
|
+
return `${width}:${height}`;
|
|
320
|
+
}
|
|
321
|
+
var MIN_SHOT_S = 0.15;
|
|
322
|
+
function foldShort(cuts, length) {
|
|
323
|
+
const kept = [...cuts];
|
|
324
|
+
for (; ; ) {
|
|
325
|
+
const edges = [0, ...kept, length];
|
|
326
|
+
const short = edges.slice(1).findIndex((e, i) => e - edges[i] < MIN_SHOT_S);
|
|
327
|
+
if (short < 0 || !kept.length) return kept;
|
|
328
|
+
kept.splice(short ? short - 1 : 0, 1);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
313
331
|
var COUNT = ["", "one", "two", "three", "four", "five", "six"];
|
|
314
332
|
function checkGuide(r) {
|
|
315
|
-
if (!r.motion) return;
|
|
316
|
-
const
|
|
333
|
+
if (!r.motion || r.allowCuts) return;
|
|
334
|
+
const found = cutsInside(r.motion, GUIDE_MAX_S);
|
|
335
|
+
const { length } = found;
|
|
336
|
+
const cuts = foldShort(found.cuts, length);
|
|
317
337
|
if (!cuts.length) return;
|
|
318
338
|
const s = (t) => t.toFixed(2);
|
|
319
339
|
const and = (items) => `${items.slice(0, -1).join(", ")} and ${items.at(-1)}`;
|
|
@@ -322,7 +342,7 @@ function checkGuide(r) {
|
|
|
322
342
|
const shots = edges.slice(1).map((e, i) => `${i ? s(edges[i]) : "0"}\u2013${s(e)} s`);
|
|
323
343
|
throw new Fix(
|
|
324
344
|
`--motion ${r.motion} has ${at2}`,
|
|
325
|
-
`guide has ${at2}: generate ${and(shots)} as ${COUNT[shots.length] ?? shots.length} shots, each with its own --motion clip`
|
|
345
|
+
`guide has ${at2}: generate ${and(shots)} as ${COUNT[shots.length] ?? shots.length} shots, each with its own --motion clip, or pass --allow-cuts for a guide you have checked`
|
|
326
346
|
);
|
|
327
347
|
}
|
|
328
348
|
function checkRequest(r) {
|
|
@@ -337,12 +357,6 @@ function checkRequest(r) {
|
|
|
337
357
|
});
|
|
338
358
|
checkGuide(r);
|
|
339
359
|
}
|
|
340
|
-
function projectOf(from) {
|
|
341
|
-
for (let dir = resolve(from); ; dir = dirname(dir)) {
|
|
342
|
-
if (existsSync(join(dir, "index.html"))) return dir;
|
|
343
|
-
if (dirname(dir) === dir) return null;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
360
|
async function generate(r, onWait, credits) {
|
|
347
361
|
checkRequest(r);
|
|
348
362
|
const route = ROUTES[r.type];
|
|
@@ -383,14 +397,12 @@ async function generate(r, onWait, credits) {
|
|
|
383
397
|
cuts = null;
|
|
384
398
|
}
|
|
385
399
|
const notes = [];
|
|
386
|
-
if (r.type === "video"
|
|
400
|
+
if (r.type === "video")
|
|
387
401
|
try {
|
|
388
|
-
const note = fitAspect(out, r
|
|
402
|
+
const note = fitAspect(out, aspectOf(r, work));
|
|
389
403
|
if (note) notes.push(note);
|
|
390
404
|
} catch (e) {
|
|
391
|
-
notes.push(
|
|
392
|
-
`kept HeyGen's size, could not crop to ${r.aspect ?? "16:9"}: ${e instanceof Error ? e.message : e}`
|
|
393
|
-
);
|
|
405
|
+
notes.push(`kept HeyGen's size, could not crop: ${e instanceof Error ? e.message : e}`);
|
|
394
406
|
}
|
|
395
407
|
if (r.masks?.length && r.motion)
|
|
396
408
|
try {
|
|
@@ -593,6 +605,11 @@ var generate_default = defineCommand({
|
|
|
593
605
|
type: "string",
|
|
594
606
|
description: "video: a clip whose camera and body motion the shot follows (up to 15 s)"
|
|
595
607
|
},
|
|
608
|
+
"allow-cuts": {
|
|
609
|
+
type: "boolean",
|
|
610
|
+
description: "video: send a --motion clip that reads as several shots (one you have checked)",
|
|
611
|
+
default: false
|
|
612
|
+
},
|
|
596
613
|
mask: {
|
|
597
614
|
type: "string",
|
|
598
615
|
description: "video: x,y,w,h[,a-b] of the --motion clip to blank before sending (its drawn text; a-b in the clip's seconds); repeat for more"
|
|
@@ -640,6 +657,7 @@ var generate_default = defineCommand({
|
|
|
640
657
|
firstFrame: args["first-frame"],
|
|
641
658
|
audio: args.audio,
|
|
642
659
|
motion: args.motion,
|
|
660
|
+
allowCuts: args["allow-cuts"],
|
|
643
661
|
masks: repeated(rawArgs, "--mask").map(parseMask),
|
|
644
662
|
photo: args.photo,
|
|
645
663
|
script: args.script,
|
|
@@ -6,23 +6,23 @@ 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-UIDZKSF6.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IUQCPWHU.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BW3CQT3A.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K6YHKCVX.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TG5RBLCM.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SBQV5FLG.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-C2KEGBR3.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SANQC4QD.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-B4VCP4D2.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-67X7VCNS.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-E4BZ4YZO.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-54CNQ4HT.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-6H4ENHBH.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-MXPGQGRO.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OWJTWCE6.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6TXW6LHH.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -69,7 +69,7 @@ function oauthEnvironment() {
|
|
|
69
69
|
throw new AuthError("OAUTH_NOT_CONFIGURED", "HYPERFRAMES_ENV must be prod or dev");
|
|
70
70
|
}
|
|
71
71
|
function defaultClientId() {
|
|
72
|
-
return
|
|
72
|
+
return PROD_CLIENT_ID;
|
|
73
73
|
}
|
|
74
74
|
function resolveClientId() {
|
|
75
75
|
const id = process.env["HYPERFRAMES_OAUTH_CLIENT_ID"] || defaultClientId();
|
|
@@ -77,16 +77,16 @@ function resolveClientId() {
|
|
|
77
77
|
return id;
|
|
78
78
|
}
|
|
79
79
|
function tokenEndpoint() {
|
|
80
|
-
return process.env["HYPERFRAMES_OAUTH_TOKEN_URL"] ||
|
|
80
|
+
return process.env["HYPERFRAMES_OAUTH_TOKEN_URL"] || "https://api2.heygen.com/v1/oauth/token";
|
|
81
81
|
}
|
|
82
82
|
function authorizeEndpoint() {
|
|
83
|
-
return process.env["HYPERFRAMES_OAUTH_AUTHORIZE_URL"] ||
|
|
83
|
+
return process.env["HYPERFRAMES_OAUTH_AUTHORIZE_URL"] || "https://app.heygen.com/oauth/authorize";
|
|
84
84
|
}
|
|
85
85
|
function revokeEndpoint() {
|
|
86
|
-
return process.env["HYPERFRAMES_OAUTH_REVOKE_URL"] ||
|
|
86
|
+
return process.env["HYPERFRAMES_OAUTH_REVOKE_URL"] || "https://api2.heygen.com/v1/oauth/revoke";
|
|
87
87
|
}
|
|
88
88
|
function deviceAuthorizationEndpoint() {
|
|
89
|
-
return process.env["HYPERFRAMES_OAUTH_DEVICE_URL"] ||
|
|
89
|
+
return process.env["HYPERFRAMES_OAUTH_DEVICE_URL"] || "https://api2.heygen.com/v1/oauth/device_authorization";
|
|
90
90
|
}
|
|
91
91
|
function oauthIdentity() {
|
|
92
92
|
return { client_id: resolveClientId(), token_endpoint: tokenEndpoint() };
|
|
@@ -125,7 +125,6 @@ export {
|
|
|
125
125
|
ErrLoginChanged,
|
|
126
126
|
ErrDeviceAuthFailed,
|
|
127
127
|
isAuthError,
|
|
128
|
-
oauthEnvironment,
|
|
129
128
|
defaultClientId,
|
|
130
129
|
resolveClientId,
|
|
131
130
|
tokenEndpoint,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VO55NLTM.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E2GNVQSH.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HGEFDPRP.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-62LATJB6.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YTMWGLEQ.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XZULISH5.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RABQDJMA.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OG3S6SE6.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IZRC24DI.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|