hyperframes 0.9.49 → 0.9.50
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-PALFYN7F.js → add-MHBYQHUR.js} +6 -6
- package/dist/{agentPromptGenerator-W7YECUWC.js → agentPromptGenerator-LJHTM6QS.js} +4 -4
- package/dist/{animatedGifPrep-RGTZSKE4.js → animatedGifPrep-V5SQRWAT.js} +5 -5
- package/dist/api.js +23 -23
- package/dist/{asset-JI35ENTB.js → asset-2QF7W45V.js} +2 -2
- package/dist/{assetCataloger-A3T63E76.js → assetCataloger-HBGLL5OY.js} +4 -4
- package/dist/{audio-PWT3Y4ER.js → audio-ERHWZM2O.js} +10 -10
- package/dist/{auth-HVB4YRTT.js → auth-JNM2N5FK.js} +2 -2
- package/dist/{autoUpdate-6DLBJZZW.js → autoUpdate-2A3PNPOQ.js} +2 -2
- package/dist/{avatars-VKB5R2JP.js → avatars-UXJM3YOF.js} +9 -9
- package/dist/{backgroundChecks-XCMKJT4Z.js → backgroundChecks-FM7JOSDW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-XYL2E7IX.js → batchRender-VKM4E7PI.js} +1 -1
- package/dist/{beats-C2HOZUAS.js → beats-BAZOHGIS.js} +7 -7
- package/dist/{benchmark-TWKPWI27.js → benchmark-AWDTJZW2.js} +7 -7
- package/dist/{billing-74IFJYAX.js → billing-M7FIGUG3.js} +5 -5
- package/dist/{browser-GG3NMOT2.js → browser-BJBAMHOZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-HBFTQBPU.js → bundleWithLocalizedFonts-NWMD2BBQ.js} +1 -1
- package/dist/{capture-S76Z24SZ.js → capture-GKI3WNTE.js} +9 -9
- package/dist/{capture-ZGZPBEA3.js → capture-V3KIGAHK.js} +3 -3
- package/dist/{captureCompositionFrame-GX7OQSDA.js → captureCompositionFrame-C3QPXFZZ.js} +8 -8
- package/dist/{catalog-U5IHPRJZ.js → catalog-5VRQXFNE.js} +6 -6
- package/dist/{catch-up-XCQZZDVD.js → catch-up-IWRZL3T6.js} +5 -5
- package/dist/{check-ZEG6CTIC.js → check-3TTCBOR5.js} +26 -26
- package/dist/{checkAudio-SAEK5LIU.js → checkAudio-WNVIHTTH.js} +7 -7
- package/dist/{checkBrowser-UDT2ROZ3.js → checkBrowser-IQR4HWS6.js} +20 -20
- package/dist/{chunk-6RHYYH7J.js → chunk-2M7GGAXG.js} +2 -2
- package/dist/{chunk-G5NF5RYM.js → chunk-3LTJKGJQ.js} +4 -4
- package/dist/{chunk-DS3IJC74.js → chunk-4OWHB6Y4.js} +1 -1
- package/dist/{chunk-FWABCPJF.js → chunk-4Q2HYZZK.js} +1 -1
- package/dist/{chunk-2KPNFTOV.js → chunk-4QRYBCP5.js} +1 -1
- package/dist/{chunk-RWCYIF4C.js → chunk-5SIOKBKO.js} +3 -3
- package/dist/{chunk-5TJRJXFQ.js → chunk-5YF3NCZV.js} +1 -1
- package/dist/{chunk-IDX4AAHE.js → chunk-62LL7YPC.js} +2 -2
- package/dist/{chunk-67QXALQY.js → chunk-62R36CZW.js} +3 -3
- package/dist/{chunk-CPKLZATK.js → chunk-6Q7QF4UD.js} +2 -2
- package/dist/{chunk-PWMGT73E.js → chunk-747XM6QN.js} +2 -2
- package/dist/{chunk-Y4CPI5F6.js → chunk-7H6NEDNA.js} +2 -2
- package/dist/{chunk-PKIQ4ZR3.js → chunk-7W3MLVDC.js} +2 -2
- package/dist/{chunk-PNHLR7UQ.js → chunk-7YKLBEIC.js} +6 -6
- package/dist/{chunk-SJLVYPVA.js → chunk-A5LYBVBC.js} +8 -8
- package/dist/{chunk-DLRGADJX.js → chunk-ARIBOM26.js} +1 -1
- package/dist/{chunk-S6TSXBWT.js → chunk-ARREGNEF.js} +3 -3
- package/dist/{chunk-PXYO7CSG.js → chunk-AVBZSLK5.js} +4 -4
- package/dist/{chunk-AVND7IBZ.js → chunk-CB3GR7GV.js} +2 -2
- package/dist/{chunk-ESO4PNZJ.js → chunk-CGHWDZXR.js} +2 -2
- package/dist/{chunk-C4YBN5X6.js → chunk-CII7LO6I.js} +1 -1
- package/dist/{chunk-KZYOTTKM.js → chunk-CIZB4MFK.js} +1 -1
- package/dist/{chunk-6OPBJLMM.js → chunk-CX5Y3TUU.js} +1 -1
- package/dist/{chunk-2RNRAB6U.js → chunk-D3UYYHU2.js} +1 -1
- package/dist/{chunk-L4XB67KR.js → chunk-DSKX5OD2.js} +2 -2
- package/dist/{chunk-UL2P4PMR.js → chunk-DV5KH45B.js} +1 -1
- package/dist/{chunk-UETMAXZF.js → chunk-E2QJFCYC.js} +7 -2
- package/dist/{chunk-FOIT542N.js → chunk-F7Z7UDAV.js} +1 -1
- package/dist/{chunk-B2DE7LZ6.js → chunk-FLDJ5AYW.js} +2 -2
- package/dist/{chunk-JZ7MGLDY.js → chunk-G5M6MZPP.js} +1 -1
- package/dist/{chunk-ADY66LYZ.js → chunk-GOZNQ2BU.js} +5 -5
- package/dist/{chunk-LGXOIEXD.js → chunk-GVYDYPMK.js} +1 -1
- package/dist/{chunk-DNDMJYSA.js → chunk-H4LCNEA2.js} +131 -56
- package/dist/{chunk-NQW4IK5U.js → chunk-H6GW4MUA.js} +2 -2
- package/dist/{chunk-L3IF3ICK.js → chunk-HCPT6BJD.js} +1 -1
- package/dist/{chunk-6TKGMCMZ.js → chunk-I4PWEIZK.js} +1 -1
- package/dist/{chunk-IML2Z4HA.js → chunk-I7UACFVY.js} +47 -18
- package/dist/{chunk-INKZ3QC6.js → chunk-JHNICCT2.js} +11 -11
- package/dist/{chunk-CYWEBM2Q.js → chunk-KDT2WX7M.js} +1 -1
- package/dist/{chunk-SC2UNTNA.js → chunk-LRKSFIYI.js} +2 -2
- package/dist/{chunk-TCNUA5RK.js → chunk-LSL3XC2T.js} +4 -4
- package/dist/{chunk-BIFCKMA2.js → chunk-M2UX3RAP.js} +7 -7
- package/dist/{chunk-BLZS4ZNW.js → chunk-NLHR5VAJ.js} +1 -1
- package/dist/{chunk-ARKLBIF5.js → chunk-NLTJMUK6.js} +1 -1
- package/dist/{chunk-OT4X3UJO.js → chunk-NOSZSEN6.js} +1 -1
- package/dist/{chunk-GJUX6ELV.js → chunk-NYUTPQQ3.js} +10 -10
- package/dist/{chunk-2HNZSVMA.js → chunk-OHC6GZAK.js} +9 -9
- package/dist/{chunk-ISMKLYU5.js → chunk-OUABE6YT.js} +1 -1
- package/dist/{chunk-PQFUF5XD.js → chunk-PNL7SMWV.js} +2 -2
- package/dist/{chunk-IXJNKHSW.js → chunk-QARZ5SCV.js} +2 -2
- package/dist/{chunk-RAIAWYV6.js → chunk-QIKIHGPS.js} +1 -1
- package/dist/{chunk-W5LEGKUI.js → chunk-QLHNKVBG.js} +3 -3
- package/dist/{chunk-MXOWNQCI.js → chunk-R64WJS45.js} +2 -2
- package/dist/{chunk-SWNYAKJZ.js → chunk-R76QWLJI.js} +1 -1
- package/dist/{chunk-DDXHYDJW.js → chunk-RJEX3RRW.js} +1 -1
- package/dist/{chunk-6D2TEACV.js → chunk-S2Z46FMO.js} +1 -1
- package/dist/{chunk-YZFBMMY2.js → chunk-T44NTM2R.js} +1 -1
- package/dist/{chunk-XHLWZTCQ.js → chunk-T47SZ3SP.js} +5 -5
- package/dist/{chunk-2IIKGFO3.js → chunk-TMAF33SA.js} +1 -1
- package/dist/{chunk-7IQ4S5B3.js → chunk-TW6S6A2B.js} +19 -19
- package/dist/{chunk-IWZDLLVZ.js → chunk-U4CJQ4AU.js} +1 -1
- package/dist/{chunk-7SY3DERR.js → chunk-UBHBB3TB.js} +1 -1
- package/dist/{chunk-MYEVOW4Z.js → chunk-UJRRUNWQ.js} +2 -2
- package/dist/{chunk-26UWY6Y7.js → chunk-VNIVH2ZQ.js} +1 -1
- package/dist/{chunk-EPQC3FGZ.js → chunk-WFQJ6EJ6.js} +19 -4
- package/dist/{chunk-DOFY4D3Q.js → chunk-WXNVVZCC.js} +3 -3
- package/dist/{chunk-IS6FYK3E.js → chunk-XBD5NV2F.js} +1 -1
- package/dist/{chunk-UDFMNCZR.js → chunk-XP5X4TKU.js} +1 -1
- package/dist/{chunk-VC77JQWW.js → chunk-YIKOKVHE.js} +283 -182
- package/dist/{chunk-YZJSU2XH.js → chunk-YTO34UZE.js} +4 -4
- package/dist/{chunk-6LDIZ4GJ.js → chunk-YYF4HKW5.js} +1 -1
- package/dist/{chunk-23PJ2IA5.js → chunk-Z5TKOD2D.js} +1 -1
- package/dist/{chunk-IHD5UW2O.js → chunk-ZI5QVXG4.js} +1 -1
- package/dist/{chunk-2PZSUSHI.js → chunk-ZPMIIPDH.js} +3 -3
- package/dist/{chunk-D6YNLDSQ.js → chunk-ZX52DCZH.js} +2 -2
- package/dist/{clean-XXEL3ZBK.js → clean-BT36HK75.js} +12 -12
- package/dist/cli.js +62 -62
- package/dist/{cloud-XXMDGEMK.js → cloud-R2QOPFMH.js} +4 -4
- package/dist/{cloudrun-XXGMWBUO.js → cloudrun-EULFHQQL.js} +1 -1
- package/dist/{compare-JUVSFZRQ.js → compare-RUB5AIPD.js} +17 -17
- package/dist/{compiler-XTVXLGQA.js → compiler-DUG4GFRI.js} +3 -3
- package/dist/{component-KEJ34SM2.js → component-NBW4NP3J.js} +3 -3
- package/dist/{compositions-BF3NDKKG.js → compositions-FHO2G54H.js} +9 -9
- package/dist/{curve-QHLJ452Y.js → curve-2MSCLXM7.js} +9 -9
- package/dist/{cuts-VKKXIQPW.js → cuts-ND6ZL5AI.js} +10 -10
- package/dist/{delete-GEZVZPWY.js → delete-FMQCJAHX.js} +2 -2
- package/dist/{deploy-ORQ7QDRG.js → deploy-5UOYKYXF.js} +2 -2
- package/dist/{describeProject-LEBOC6CL.js → describeProject-OIK763B5.js} +5 -5
- package/dist/{destroy-ANCSST2S.js → destroy-MLAFCH6B.js} +2 -2
- package/dist/{diff-5X65JPB2.js → diff-KKJRQKFR.js} +22 -22
- package/dist/{dist-4ZDHU5RE.js → dist-2YJCNIWI.js} +2 -2
- package/dist/{dist-YX7FMBUD.js → dist-MXWEGMRB.js} +1 -1
- package/dist/{dist-BKWVQR7A.js → dist-UMYCC5T5.js} +5 -5
- package/dist/{doctor-WUL4VESK.js → doctor-5DILJANT.js} +9 -9
- package/dist/{energy-L2VWHVVA.js → energy-BLU27H7G.js} +10 -10
- package/dist/{events-3SKWRLOR.js → events-35CZGWGO.js} +2 -2
- package/dist/{events-7FFAOKAE.js → events-AXNHFZTY.js} +11 -11
- package/dist/{events-5EEASGJC.js → events-GRLM5BLQ.js} +4 -4
- package/dist/{execute-6VLBSJWW.js → execute-FRDHPWNT.js} +15 -15
- package/dist/{extract-NW3KYNN4.js → extract-ILQCKYWJ.js} +10 -10
- package/dist/{face-4S5NWVNA.js → face-S3YZLPEO.js} +10 -10
- package/dist/{feedback-3OW5JVE4.js → feedback-LTEDBBL2.js} +8 -8
- package/dist/{ffmpeg-64HDYTRA.js → ffmpeg-OJIIUEQQ.js} +5 -5
- package/dist/{figma-SN5Z2GUZ.js → figma-DXIX3JW2.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-NZNNVA3R.js → frames-E7GSMQMG.js} +11 -11
- package/dist/{generate-22O776FD.js → generate-5BV3VOF5.js} +15 -15
- package/dist/{get-O6YCY5BU.js → get-LO5YZK5S.js} +2 -2
- package/dist/{gpuPolicy-26UL7BND.js → gpuPolicy-L6YX2UOM.js} +5 -5
- package/dist/{grade-compare-6JGG6AUM.js → grade-compare-45DGL4FX.js} +18 -18
- package/dist/{heifImagePrep-6ZP77OL4.js → heifImagePrep-HZWZ6RCU.js} +6 -6
- package/dist/{help-4IHXYFYU.js → help-NXUWIQZJ.js} +1 -1
- package/dist/{history-ACOL6DPJ.js → history-B2VYYYFA.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/hyperframes-slideshow.global.js +14 -14
- package/dist/{info-MVEC7EO5.js → info-6BK7QHQN.js} +11 -11
- package/dist/{init-YQRSQKD2.js → init-5NJNDMW5.js} +22 -22
- package/dist/{ink-A63OPAUS.js → ink-I2VH46VQ.js} +10 -10
- package/dist/{inspect-5FWI42ZE.js → inspect-VMCKQEOT.js} +18 -18
- package/dist/{installer-2LTM4GWP.js → installer-FI6HT2FW.js} +1 -1
- package/dist/{keyframes-4ANCPAXZ.js → keyframes-2ZZUDJD7.js} +7 -7
- package/dist/{lambda-A7UY44ZG.js → lambda-BHLB7JHL.js} +9 -9
- package/dist/{layout-7GGOEVCP.js → layout-4Y2DWTXM.js} +18 -18
- package/dist/{lint-AYAPUYJA.js → lint-QPQRY5WD.js} +8 -8
- package/dist/{lintProject-7C4U6NHF.js → lintProject-G4MXY4YA.js} +2 -2
- package/dist/{list-TGPJOBFL.js → list-SPRUZTEJ.js} +2 -2
- package/dist/{localPage-YJNVGFUR.js → localPage-TZFDEA6W.js} +4 -4
- package/dist/{login-UFEGKTWJ.js → login-JOQCOSOK.js} +4 -4
- package/dist/{look-TS4DMBJZ.js → look-3UNLVDPJ.js} +10 -10
- package/dist/{manager-RN3IP5UM.js → manager-7IV66O64.js} +6 -6
- package/dist/{measure-L2FJMFZQ.js → measure-PFOIM7OJ.js} +11 -11
- package/dist/{media-treatment-JB5W5JI4.js → media-treatment-WR2EYI6J.js} +11 -11
- package/dist/{media-use-TMR5E5WJ.js → media-use-VRMLASYM.js} +3 -3
- package/dist/{models-R5L2ZQFX.js → models-6BN6ZA2T.js} +9 -9
- package/dist/{motionShot-FXPW7WFS.js → motionShot-SX6BQ2A3.js} +11 -11
- package/dist/{normalize-audio-IWEUGFKJ.js → normalize-audio-E2EMJIJU.js} +5 -5
- package/dist/{open-YKOIAP7J.js → open-N4SZ4OC6.js} +5 -5
- package/dist/{parakeetRunner-BMBL6UGF.js → parakeetRunner-GVZ2XLDV.js} +10 -10
- package/dist/{pipeline-HRJ3VN5Z.js → pipeline-Z4RAIXQM.js} +8 -8
- package/dist/{plan-IIQ7SXWV.js → plan-NJKLH5DY.js} +11 -11
- package/dist/{play-FPIHIX3E.js → play-2P3J4O6N.js} +11 -11
- package/dist/{preflight-4AV5WOGU.js → preflight-VQ366D6O.js} +6 -6
- package/dist/{present-4K3VJUM7.js → present-HCY6XKUF.js} +12 -12
- package/dist/{preview-2NIQ2EBG.js → preview-ZE435ZVI.js} +11 -11
- package/dist/{probe-O42OCKVH.js → probe-J2KN3Y3Z.js} +10 -10
- package/dist/{producer-MTQYIIGW.js → producer-G6AH4NES.js} +1 -1
- package/dist/{projectConfig-LSJSU4UR.js → projectConfig-VPL64JBD.js} +1 -1
- package/dist/{publication-4EYVOO47.js → publication-ST3VFFWM.js} +1 -1
- package/dist/{publish-QU6NA5UG.js → publish-CMIRMUVW.js} +6 -6
- package/dist/{remove-background-55RUOFXG.js → remove-background-2HPZDKTN.js} +9 -9
- package/dist/{render-UWWZFXK5.js → render-FYWFWCL7.js} +16 -16
- package/dist/{render-IFRE426H.js → render-MG5MX45D.js} +1 -1
- package/dist/{render-WRCZGKUW.js → render-WXDAMYQU.js} +24 -24
- package/dist/{render-batch-2BWEMPAQ.js → render-batch-C3XGAQGX.js} +1 -1
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-PM56BNET.js → resolver-AGMKICJW.js} +1 -1
- package/dist/{reverse-HIJSN6T6.js → reverse-XNTL6ILN.js} +1 -1
- package/dist/{screenshotCapture-F2G3ASF3.js → screenshotCapture-4FFWYCKV.js} +5 -5
- package/dist/{service-DLHBDMEI.js → service-BW7NT4R2.js} +9 -9
- package/dist/{share-GS3Z4J2Z.js → share-JJ6G2SRE.js} +12 -12
- package/dist/{sherpa-VL2QSAMK.js → sherpa-ZARNRTUF.js} +9 -9
- package/dist/{skills-LXKJRUCF.js → skills-H6QD7AIP.js} +7 -7
- package/dist/{skillsUpdateCheck-XMFKI3F2.js → skillsUpdateCheck-BBSSMBNI.js} +3 -3
- package/dist/{slideshow-ARJR22W4.js → slideshow-PC3BBO5F.js} +1 -1
- package/dist/{snapshot-6BVWACEB.js → snapshot-AIASY7ZT.js} +25 -25
- package/dist/{src-K6EIKBHK.js → src-IVCOSSDJ.js} +6 -4
- package/dist/{src-5DALALRV.js → src-RNWDJRGO.js} +7 -7
- package/dist/{start-GSVOQ7VY.js → start-CVUWN3EJ.js} +13 -13
- package/dist/{staticProjectServer-PXZAGXPM.js → staticProjectServer-XHYEFNOX.js} +8 -8
- package/dist/{status-U532HK6C.js → status-TCUB55VV.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-DhaQoeHg.js → hyperframes-player-DHIxqu8A.js} +1 -1
- package/dist/studio/assets/{index-qILK-NRY.js → index-CefNftWO.js} +1 -1
- package/dist/studio/assets/{index-DPeGppVA.js → index-CuCj-ntQ.js} +117 -117
- package/dist/studio/assets/{pausedVideoDecoder-DqCJ5lI8.js → pausedVideoDecoder-Dy-s5uPt.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BTDNUTUL.js → studio-api-HPYJHSZY.js} +5 -5
- package/dist/{studioServer-ZDIVHU5Q.js → studioServer-RIYJYGVD.js} +39 -39
- package/dist/{sync-KXUIN2XW.js → sync-ILVIJDYI.js} +10 -10
- package/dist/{telemetry-BE6NYAAP.js → telemetry-Q6X3TCN6.js} +4 -4
- package/dist/{templates-6DXDZKQT.js → templates-64NH2NZF.js} +5 -5
- package/dist/{timeline-DYU2RWSB.js → timeline-CR4YEFN4.js} +12 -12
- package/dist/{tokens-SSWEYFOF.js → tokens-NISS5JD7.js} +2 -2
- package/dist/{transcribe-EHMQS2JF.js → transcribe-AP3PUNHX.js} +8 -8
- package/dist/{transcribe-7E653TIR.js → transcribe-R7K7NSGF.js} +17 -17
- package/dist/{update-5PNT24HU.js → update-OI6DZTRT.js} +8 -8
- package/dist/{updateCheck-DS6TTOUW.js → updateCheck-7ZCJ7FNE.js} +2 -2
- package/dist/{upgrade-EHJ32IGT.js → upgrade-D6VGQSRH.js} +3 -3
- package/dist/{urlDownloader-6ZROXAQ7.js → urlDownloader-KE7AXBCY.js} +4 -4
- package/dist/{validate-OPKF4E6C.js → validate-LZBOVEFV.js} +16 -16
- package/dist/{video-BRGYDCC2.js → video-7KEKO4H2.js} +4 -4
- package/dist/{voices-CYPYVEAI.js → voices-6EOBOCEU.js} +13 -13
- package/dist/warmCheck.js +26 -26
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
isSceneLikeCompositionId,
|
|
72
72
|
parseSlideshowManifest,
|
|
73
73
|
resolveSlideshow
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WFQJ6EJ6.js";
|
|
75
75
|
import {
|
|
76
76
|
__commonJS,
|
|
77
77
|
__require,
|
|
@@ -4013,7 +4013,6 @@ var TIMELINE_REGISTRY_INIT_PATTERN = /window\.__timelines\s*=\s*window\.__timeli
|
|
|
4013
4013
|
var TIMELINE_REGISTRY_OBJECT_LITERAL_PATTERN = /window\.__timelines\s*=\s*\{\s*(?:["'][^"']+["']|[A-Za-z_$][\w$]*)\s*:/i;
|
|
4014
4014
|
var TIMELINE_REGISTRY_ASSIGN_PATTERN = /window\.__timelines(?:\[[^\]]+\]|\.[A-Za-z_$][\w$]*)\s*=/i;
|
|
4015
4015
|
var WINDOW_TIMELINE_ASSIGN_PATTERN = /window\.__timelines(?:\[\s*(?:["']([^"']+)["']|[A-Za-z_$][\w$.]*)\s*\]|\.\s*([A-Za-z_$][\w$]*))\s*=\s*([A-Za-z_$][\w$]*)/i;
|
|
4016
|
-
var INVALID_SCRIPT_CLOSE_PATTERN = /<script[^>]*>[\s\S]*?<\s*\/\s*script(?!>)/i;
|
|
4017
4016
|
var TIMELINE_REGISTRY_KEY_PATTERN = /window\.__timelines(?:\[\s*["']([^"']+)["']\s*\]|\.\s*([A-Za-z_$][\w$]*))\s*(?:\?\?|\|\||&&)?=/g;
|
|
4018
4017
|
var TIMELINE_REGISTRY_OBJECT_OPEN_PATTERN = /window\.__timelines\s*=\s*\{/i;
|
|
4019
4018
|
var TIMELINE_REGISTRY_OBJECT_ENTRY_PATTERN = /(?:["']([^"']+)["']|([A-Za-z_$][\w$]*))\s*:\s*[A-Za-z_$][\w$]*/g;
|
|
@@ -4823,6 +4822,116 @@ function buildLintContext(html, options = {}) {
|
|
|
4823
4822
|
options
|
|
4824
4823
|
};
|
|
4825
4824
|
}
|
|
4825
|
+
function execFrom(pattern, source, from) {
|
|
4826
|
+
pattern.lastIndex = from;
|
|
4827
|
+
return pattern.exec(source);
|
|
4828
|
+
}
|
|
4829
|
+
function* blockComments(source) {
|
|
4830
|
+
for (let from = 0; ; ) {
|
|
4831
|
+
const start = source.indexOf("/*", from);
|
|
4832
|
+
if (start < 0) return;
|
|
4833
|
+
const close = source.indexOf("*/", start + 2);
|
|
4834
|
+
if (close < 0) return;
|
|
4835
|
+
yield { index: start, text: source.slice(start, close + 2) };
|
|
4836
|
+
from = close + 2;
|
|
4837
|
+
}
|
|
4838
|
+
}
|
|
4839
|
+
function replaceBlockComments(source, replacement) {
|
|
4840
|
+
let out = "";
|
|
4841
|
+
let kept = 0;
|
|
4842
|
+
for (const { index, text } of blockComments(source)) {
|
|
4843
|
+
out += source.slice(kept, index) + replacement;
|
|
4844
|
+
kept = index + text.length;
|
|
4845
|
+
}
|
|
4846
|
+
return out + source.slice(kept);
|
|
4847
|
+
}
|
|
4848
|
+
function hasInvalidScriptClose(source) {
|
|
4849
|
+
const open = execFrom(/<script/gi, source, 0);
|
|
4850
|
+
const gt = open ? source.indexOf(">", open.index + open[0].length) : -1;
|
|
4851
|
+
return gt >= 0 && execFrom(/<\s*\/\s*script(?!>)/gi, source, gt + 1) !== null;
|
|
4852
|
+
}
|
|
4853
|
+
function emptyStyleBlocks(source) {
|
|
4854
|
+
let out = "";
|
|
4855
|
+
let kept = 0;
|
|
4856
|
+
const opener = /<style\b/gi;
|
|
4857
|
+
for (let open = execFrom(opener, source, 0); open; open = opener.exec(source)) {
|
|
4858
|
+
const gt = source.indexOf(">", open.index + 6);
|
|
4859
|
+
const close = gt < 0 ? null : execFrom(/<\/style>/gi, source, gt + 1);
|
|
4860
|
+
if (!close) break;
|
|
4861
|
+
out += `${source.slice(kept, open.index)}<style></style>`;
|
|
4862
|
+
kept = close.index + close[0].length;
|
|
4863
|
+
opener.lastIndex = kept;
|
|
4864
|
+
}
|
|
4865
|
+
return out + source.slice(kept);
|
|
4866
|
+
}
|
|
4867
|
+
function styleTagTokens(source) {
|
|
4868
|
+
const tokens = [];
|
|
4869
|
+
const token = /<script\b|<style\b|<\/style\s*>/gi;
|
|
4870
|
+
let scriptsClose = true;
|
|
4871
|
+
for (let match = token.exec(source); match; match = token.exec(source)) {
|
|
4872
|
+
if (!/^<script/i.test(match[0])) {
|
|
4873
|
+
tokens.push(match[0]);
|
|
4874
|
+
continue;
|
|
4875
|
+
}
|
|
4876
|
+
if (!scriptsClose) continue;
|
|
4877
|
+
const close = execFrom(/<\/script/gi, source, match.index + 7);
|
|
4878
|
+
const gt = close ? source.indexOf(">", close.index + 8) : -1;
|
|
4879
|
+
if (gt < 0) scriptsClose = false;
|
|
4880
|
+
else token.lastIndex = gt + 1;
|
|
4881
|
+
}
|
|
4882
|
+
return tokens;
|
|
4883
|
+
}
|
|
4884
|
+
var PROTECTED_NAMES = "style|script|template|title|noscript|pre|code|textarea|text";
|
|
4885
|
+
function protectedBlockRanges(source) {
|
|
4886
|
+
const ranges = [];
|
|
4887
|
+
const unclosed = /* @__PURE__ */ new Set();
|
|
4888
|
+
const lastGt = source.lastIndexOf(">");
|
|
4889
|
+
const opener = new RegExp(`<(${PROTECTED_NAMES})\\b`, "gi");
|
|
4890
|
+
for (let open = opener.exec(source); open; open = opener.exec(source)) {
|
|
4891
|
+
const name = open[1].toLowerCase();
|
|
4892
|
+
if (unclosed.has(name)) continue;
|
|
4893
|
+
const gt = source.indexOf(">", open.index + open[0].length);
|
|
4894
|
+
if (gt < 0) break;
|
|
4895
|
+
const end = protectedBlockEnd(source, name, gt + 1, lastGt);
|
|
4896
|
+
if (end < 0) {
|
|
4897
|
+
unclosed.add(name);
|
|
4898
|
+
continue;
|
|
4899
|
+
}
|
|
4900
|
+
ranges.push({ start: open.index, end });
|
|
4901
|
+
opener.lastIndex = end;
|
|
4902
|
+
}
|
|
4903
|
+
return ranges;
|
|
4904
|
+
}
|
|
4905
|
+
function protectedBlockEnd(source, name, from, lastGt) {
|
|
4906
|
+
const closer = new RegExp(`</${name}`, "gi");
|
|
4907
|
+
for (let close = execFrom(closer, source, from); close; close = closer.exec(source)) {
|
|
4908
|
+
const after = close.index + close[0].length;
|
|
4909
|
+
if (after > lastGt) return -1;
|
|
4910
|
+
if (source[after] === ">") return after + 1;
|
|
4911
|
+
if (/\s/.test(source[after] ?? "")) return source.indexOf(">", after) + 1;
|
|
4912
|
+
}
|
|
4913
|
+
return -1;
|
|
4914
|
+
}
|
|
4915
|
+
function htmlTagTracker(source) {
|
|
4916
|
+
let i = 0;
|
|
4917
|
+
let inTag = false;
|
|
4918
|
+
let quote = null;
|
|
4919
|
+
return (index) => {
|
|
4920
|
+
for (; i < index; i++) {
|
|
4921
|
+
const char = source[i];
|
|
4922
|
+
if (!inTag) inTag = char === "<";
|
|
4923
|
+
else if (quote) quote = char === quote ? null : quote;
|
|
4924
|
+
else if (char === '"' || char === "'") quote = char;
|
|
4925
|
+
else if (char === ">") inTag = false;
|
|
4926
|
+
}
|
|
4927
|
+
return inTag;
|
|
4928
|
+
};
|
|
4929
|
+
}
|
|
4930
|
+
function hasScriptWithSrc(source) {
|
|
4931
|
+
for (const [tag] of source.matchAll(/<script\b[^>]*>?/gi))
|
|
4932
|
+
if (/\bsrc\s*=/i.test(tag)) return true;
|
|
4933
|
+
return false;
|
|
4934
|
+
}
|
|
4826
4935
|
var parsed = /* @__PURE__ */ new WeakMap();
|
|
4827
4936
|
function styleRoot(style) {
|
|
4828
4937
|
let entry = parsed.get(style);
|
|
@@ -5182,45 +5291,15 @@ function describeStudioElement(tag) {
|
|
|
5182
5291
|
parts.push(">");
|
|
5183
5292
|
return parts.join("");
|
|
5184
5293
|
}
|
|
5185
|
-
var VISIBLE_MARKUP_COMMENT_PATTERN = /\/\*[\s\S]*?\*\//g;
|
|
5186
|
-
var VISIBLE_MARKUP_COMMENT_PROTECTED_BLOCK_PATTERN = /<(style|script|template|title|noscript|pre|code|textarea|text)\b[^>]*>[\s\S]*?<\/\1(?:\s[^>]*)?>/gi;
|
|
5187
|
-
function findProtectedVisibleMarkupRanges(source) {
|
|
5188
|
-
const ranges = [];
|
|
5189
|
-
for (const match of source.matchAll(VISIBLE_MARKUP_COMMENT_PROTECTED_BLOCK_PATTERN)) {
|
|
5190
|
-
ranges.push({ start: match.index, end: match.index + match[0].length });
|
|
5191
|
-
}
|
|
5192
|
-
return ranges;
|
|
5193
|
-
}
|
|
5194
|
-
function isInsideSourceRange(index, ranges) {
|
|
5195
|
-
return ranges.some((range) => range.start <= index && index < range.end);
|
|
5196
|
-
}
|
|
5197
|
-
function isInsideHtmlTag(source, index) {
|
|
5198
|
-
let inTag = false;
|
|
5199
|
-
let quote = null;
|
|
5200
|
-
for (let i = 0; i < index; i++) {
|
|
5201
|
-
const char = source[i];
|
|
5202
|
-
if (!inTag) {
|
|
5203
|
-
if (char === "<") inTag = true;
|
|
5204
|
-
continue;
|
|
5205
|
-
}
|
|
5206
|
-
if (quote) {
|
|
5207
|
-
if (char === quote) quote = null;
|
|
5208
|
-
continue;
|
|
5209
|
-
}
|
|
5210
|
-
if (char === '"' || char === "'") {
|
|
5211
|
-
quote = char;
|
|
5212
|
-
} else if (char === ">") {
|
|
5213
|
-
inTag = false;
|
|
5214
|
-
}
|
|
5215
|
-
}
|
|
5216
|
-
return inTag;
|
|
5217
|
-
}
|
|
5218
5294
|
function findVisibleMarkupCommentLeak(source) {
|
|
5219
|
-
const protectedRanges =
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5295
|
+
const protectedRanges = protectedBlockRanges(source);
|
|
5296
|
+
const insideHtmlTag = htmlTagTracker(source);
|
|
5297
|
+
let range = 0;
|
|
5298
|
+
for (const comment of blockComments(source)) {
|
|
5299
|
+
if (insideHtmlTag(comment.index)) continue;
|
|
5300
|
+
while (protectedRanges[range] && protectedRanges[range].end <= comment.index) range++;
|
|
5301
|
+
if ((protectedRanges[range]?.start ?? Infinity) <= comment.index) continue;
|
|
5302
|
+
return comment.text;
|
|
5224
5303
|
}
|
|
5225
5304
|
return null;
|
|
5226
5305
|
}
|
|
@@ -5359,14 +5438,10 @@ var coreRules = [
|
|
|
5359
5438
|
let opens = 0;
|
|
5360
5439
|
let closes = 0;
|
|
5361
5440
|
let firstTag = "";
|
|
5362
|
-
for (const
|
|
5363
|
-
|
|
5364
|
-
)) {
|
|
5365
|
-
const token = match[0].toLowerCase();
|
|
5366
|
-
if (token.startsWith("<script")) continue;
|
|
5367
|
-
if (token.startsWith("</style")) closes += 1;
|
|
5441
|
+
for (const tag of styleTagTokens(source)) {
|
|
5442
|
+
if (tag.toLowerCase().startsWith("</style")) closes += 1;
|
|
5368
5443
|
else opens += 1;
|
|
5369
|
-
if (!firstTag) firstTag =
|
|
5444
|
+
if (!firstTag) firstTag = tag;
|
|
5370
5445
|
}
|
|
5371
5446
|
if (opens === closes) return [];
|
|
5372
5447
|
return [
|
|
@@ -5562,7 +5637,7 @@ var coreRules = [
|
|
|
5562
5637
|
},
|
|
5563
5638
|
// invalid_inline_script_syntax (malformed close tag)
|
|
5564
5639
|
({ source }) => {
|
|
5565
|
-
if (!
|
|
5640
|
+
if (!hasInvalidScriptClose(source)) return [];
|
|
5566
5641
|
return [
|
|
5567
5642
|
{
|
|
5568
5643
|
code: "invalid_inline_script_syntax",
|
|
@@ -6893,7 +6968,7 @@ function countPhysicalLines(source) {
|
|
|
6893
6968
|
return withoutFinalNewline.split("\n").length;
|
|
6894
6969
|
}
|
|
6895
6970
|
function countStructuralLines(source) {
|
|
6896
|
-
return countPhysicalLines(source
|
|
6971
|
+
return countPhysicalLines(emptyStyleBlocks(source));
|
|
6897
6972
|
}
|
|
6898
6973
|
function isCaptionCue(tag) {
|
|
6899
6974
|
const classTokens2 = (readAttr(tag.raw, "class") || "").split(/\s+/).filter(Boolean);
|
|
@@ -6915,7 +6990,7 @@ function isCompositionRootOrMount(rawTag) {
|
|
|
6915
6990
|
}
|
|
6916
6991
|
function extractCssUrlReferences(css) {
|
|
6917
6992
|
const out = [];
|
|
6918
|
-
const noComments = css
|
|
6993
|
+
const noComments = replaceBlockComments(css, "");
|
|
6919
6994
|
const urlPattern = /\burl\(\s*(["']?)([^)"']+)\1\s*\)/g;
|
|
6920
6995
|
let m;
|
|
6921
6996
|
while ((m = urlPattern.exec(noComments)) !== null) {
|
|
@@ -6944,7 +7019,7 @@ function climbsAboveRoot(fileDepth, path) {
|
|
|
6944
7019
|
}
|
|
6945
7020
|
function extractCssSelectors(css) {
|
|
6946
7021
|
const out = [];
|
|
6947
|
-
const noComments = css
|
|
7022
|
+
const noComments = replaceBlockComments(css, "");
|
|
6948
7023
|
const ruleHeader = /(?<![^{}])([^{}]+)\{/g;
|
|
6949
7024
|
let m;
|
|
6950
7025
|
while ((m = ruleHeader.exec(noComments)) !== null) {
|
|
@@ -6969,7 +7044,7 @@ function collectHeavyOverlayHooks(styles) {
|
|
|
6969
7044
|
const classes = /* @__PURE__ */ new Set();
|
|
6970
7045
|
const ids = /* @__PURE__ */ new Set();
|
|
6971
7046
|
for (const style of styles) {
|
|
6972
|
-
const noComments = style.content
|
|
7047
|
+
const noComments = replaceBlockComments(style.content, "");
|
|
6973
7048
|
const ruleWithBody = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
|
|
6974
7049
|
let m;
|
|
6975
7050
|
while ((m = ruleWithBody.exec(noComments)) !== null) {
|
|
@@ -7712,7 +7787,7 @@ var compositionRules = [
|
|
|
7712
7787
|
// opts out with data-no-timeline.
|
|
7713
7788
|
({ rootTag, rootCompositionId, tags, scripts, rawSource, options }) => {
|
|
7714
7789
|
if (!rootCompositionId || !rootTag) return [];
|
|
7715
|
-
if (
|
|
7790
|
+
if (hasScriptWithSrc(rawSource)) return [];
|
|
7716
7791
|
if (hasComputedTimelineRegistration(scripts)) return [];
|
|
7717
7792
|
const registeredIds = new Set(
|
|
7718
7793
|
scripts.flatMap((script) => extractTimelineRegistryKeys(stripJsComments(script.content)))
|
|
@@ -8013,8 +8088,8 @@ var compositionRules = [
|
|
|
8013
8088
|
if (hasGsapTimeline && hasRegisteredTimeline) return [];
|
|
8014
8089
|
const allCss = styles.map((s) => s.content).join("\n");
|
|
8015
8090
|
const allInlineStyles = tags.map((t) => readAttr(t.raw, "style") || "").join("\n");
|
|
8016
|
-
const combinedCss = `${allCss}
|
|
8017
|
-
${allInlineStyles}
|
|
8091
|
+
const combinedCss = replaceBlockComments(`${allCss}
|
|
8092
|
+
${allInlineStyles}`, "");
|
|
8018
8093
|
const usesLottie = tags.some((t) => readAttr(t.raw, "data-lottie-src") !== null) || allScriptTexts.some((t) => /lottie\.(loadAnimation)\b|__hfLottie\b/.test(t));
|
|
8019
8094
|
const usesThree = allScriptTexts.some((t) => /\bTHREE\./.test(t));
|
|
8020
8095
|
const usesWaapi = allScriptTexts.some((t) => /\.animate\s*\(\s*[[{$A-Za-z_]/.test(t));
|
|
@@ -8402,7 +8477,7 @@ function collectStaticCssVariableDefinitions(tags, styles) {
|
|
|
8402
8477
|
];
|
|
8403
8478
|
const definitionPattern = /(?:^|[;{])\s*(--[A-Za-z0-9_-]+)\s*:/gm;
|
|
8404
8479
|
for (const source of sources) {
|
|
8405
|
-
const withoutComments2 = source
|
|
8480
|
+
const withoutComments2 = replaceBlockComments(source, " ");
|
|
8406
8481
|
for (const match of withoutComments2.matchAll(definitionPattern)) {
|
|
8407
8482
|
if (match[1]) definitions.add(match[1]);
|
|
8408
8483
|
}
|
|
@@ -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-NLHR5VAJ.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-OUABE6YT.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7H6NEDNA.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
refusesOutsideLink,
|
|
31
31
|
resolveRenderPaths,
|
|
32
32
|
toExternalAssetKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZI5QVXG4.js";
|
|
34
34
|
import {
|
|
35
35
|
createStudioPositionSeekReapplyScript,
|
|
36
36
|
openRangeEnd,
|
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
applyFaststart,
|
|
67
67
|
assertConfiguredFfmpegBinariesExist,
|
|
68
68
|
assertMediaPayload,
|
|
69
|
+
assertPublicHttpsUrl,
|
|
69
70
|
assertSwiftShader,
|
|
70
71
|
audioFailureDiagnostics,
|
|
71
72
|
augmentPageNavigationTimeoutError,
|
|
@@ -161,6 +162,7 @@ import {
|
|
|
161
162
|
parseMasterFxChain,
|
|
162
163
|
parseTransformMatrix,
|
|
163
164
|
parseVideoElements,
|
|
165
|
+
playlistLeavesItsFolder,
|
|
164
166
|
prepareCaptureSessionForReuse,
|
|
165
167
|
probeBeginFrameLiveness,
|
|
166
168
|
probeMediaProfile,
|
|
@@ -197,7 +199,7 @@ import {
|
|
|
197
199
|
videoAudioId,
|
|
198
200
|
videoStartOnMediaTimeline,
|
|
199
201
|
writeCapturedFrame
|
|
200
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-YIKOKVHE.js";
|
|
201
203
|
import {
|
|
202
204
|
settleOnBrowserSafePort
|
|
203
205
|
} from "./chunk-LS2FSESG.js";
|
|
@@ -213,7 +215,7 @@ import {
|
|
|
213
215
|
parsesAsScript,
|
|
214
216
|
prepareFlattenedInnerRoot,
|
|
215
217
|
stripSdrPngColourTags
|
|
216
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-UBHBB3TB.js";
|
|
217
219
|
import {
|
|
218
220
|
cannotHardLink,
|
|
219
221
|
collectScratchLeftovers,
|
|
@@ -291,7 +293,7 @@ import {
|
|
|
291
293
|
import {
|
|
292
294
|
lintHyperframeHtml,
|
|
293
295
|
resolveReferencedStart
|
|
294
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-H4LCNEA2.js";
|
|
295
297
|
import {
|
|
296
298
|
isUnresolvedAssetPlaceholder,
|
|
297
299
|
namesAnotherNetworkRoot,
|
|
@@ -1071,6 +1073,7 @@ function createFileServer(options) {
|
|
|
1071
1073
|
const candidate = join(root, relativePath);
|
|
1072
1074
|
const resolveSymlinks = !allowOutsideProjectAssets && root !== compiledDir;
|
|
1073
1075
|
if (!isPathInside2(candidate, root, { resolveSymlinks })) continue;
|
|
1076
|
+
if (isPrivateFileUnder(root, candidate, isVcsOrSecretPath)) continue;
|
|
1074
1077
|
const checksLinks = allowOutsideProjectAssets && root !== compiledDir;
|
|
1075
1078
|
if (checksLinks && refusesOutsideLink(root, candidate, warnLeftOut)) continue;
|
|
1076
1079
|
file = openRegularFile(candidate);
|
|
@@ -5704,20 +5707,25 @@ async function oversizedVideos(videos, projectDir, compiledDir, canvas) {
|
|
|
5704
5707
|
);
|
|
5705
5708
|
return videos.filter((_, index) => sized[index]);
|
|
5706
5709
|
}
|
|
5707
|
-
function shownBoxTimes(videos, fps) {
|
|
5710
|
+
function shownBoxTimes(videos, fps, duration) {
|
|
5708
5711
|
const frame = fps.den / fps.num;
|
|
5709
5712
|
const times = /* @__PURE__ */ new Set();
|
|
5710
|
-
for (const { start, end } of videos) {
|
|
5713
|
+
for (const { start, end: authoredEnd } of videos) {
|
|
5714
|
+
const end = Math.min(authoredEnd, duration);
|
|
5715
|
+
if (!Number.isFinite(start) || !Number.isFinite(end) || start > end) continue;
|
|
5711
5716
|
const last = Math.max(start, end - frame);
|
|
5712
|
-
for (let
|
|
5717
|
+
for (let step = 0; start + step * SHOWN_BOX_STRIDE_S < last; step += 1) {
|
|
5718
|
+
times.add(start + step * SHOWN_BOX_STRIDE_S);
|
|
5719
|
+
}
|
|
5713
5720
|
times.add(last);
|
|
5714
5721
|
}
|
|
5715
5722
|
return [...times].sort((a, b) => a - b);
|
|
5716
5723
|
}
|
|
5717
|
-
async function measureLocalShownBoxes(page, videos, fps, log) {
|
|
5718
|
-
|
|
5724
|
+
async function measureLocalShownBoxes(page, videos, fps, duration, log) {
|
|
5725
|
+
let times = [];
|
|
5719
5726
|
const startedAt = Date.now();
|
|
5720
5727
|
try {
|
|
5728
|
+
times = shownBoxTimes(videos, fps, duration);
|
|
5721
5729
|
const ranges = await measureVideoShownBoxRanges(
|
|
5722
5730
|
page,
|
|
5723
5731
|
videos.map((video) => video.id),
|
|
@@ -6712,8 +6720,11 @@ import { existsSync as existsSync9 } from "fs";
|
|
|
6712
6720
|
import { join as join15 } from "path";
|
|
6713
6721
|
var ASSET_MEDIA_TYPE_MISMATCH = "ASSET_MEDIA_TYPE_MISMATCH";
|
|
6714
6722
|
var AssetMediaTypeMismatchError = class extends Error {
|
|
6723
|
+
// fallow-ignore-next-line unused-class-member
|
|
6715
6724
|
code = ASSET_MEDIA_TYPE_MISMATCH;
|
|
6725
|
+
// fallow-ignore-next-line unused-class-member
|
|
6716
6726
|
owner = "user";
|
|
6727
|
+
// fallow-ignore-next-line unused-class-member
|
|
6717
6728
|
retryable = false;
|
|
6718
6729
|
mismatches;
|
|
6719
6730
|
constructor(mismatches) {
|
|
@@ -6769,6 +6780,11 @@ function dropMediaOutsideProject(input) {
|
|
|
6769
6780
|
composition.audios = composition.audios.filter(staysInside);
|
|
6770
6781
|
composition.images = composition.images.filter(staysInside);
|
|
6771
6782
|
}
|
|
6783
|
+
async function notMediaReferences(path, references) {
|
|
6784
|
+
const videos = references.filter((ref) => ref.expected === "video");
|
|
6785
|
+
if (videos.length > 0 && await isNotMediaPayload(path)) return videos;
|
|
6786
|
+
return await playlistLeavesItsFolder(path) ? references : [];
|
|
6787
|
+
}
|
|
6772
6788
|
async function preflightCompositionAssetMediaTypes(input) {
|
|
6773
6789
|
const references = [
|
|
6774
6790
|
...input.composition.videos.map((asset) => ({
|
|
@@ -6804,11 +6820,9 @@ async function preflightCompositionAssetMediaTypes(input) {
|
|
|
6804
6820
|
await Promise.all(
|
|
6805
6821
|
entries.map(
|
|
6806
6822
|
([resolvedPath, pathReferences]) => withMediaProbeSlot(async () => {
|
|
6807
|
-
const
|
|
6808
|
-
if (
|
|
6809
|
-
notMediaFingerprints.push(
|
|
6810
|
-
...sniffableReferences.map((ref) => fingerprintElementId(ref.id))
|
|
6811
|
-
);
|
|
6823
|
+
const refused = await notMediaReferences(resolvedPath, pathReferences);
|
|
6824
|
+
if (refused.length > 0) {
|
|
6825
|
+
notMediaFingerprints.push(...refused.map((ref) => fingerprintElementId(ref.id)));
|
|
6812
6826
|
return;
|
|
6813
6827
|
}
|
|
6814
6828
|
let profile;
|
|
@@ -9983,6 +9997,14 @@ function appendAutoDetectedVideoAudio(composition, extracted) {
|
|
|
9983
9997
|
existingAudioSrcs.add(video.src);
|
|
9984
9998
|
}
|
|
9985
9999
|
}
|
|
10000
|
+
function isPublicHttpsUrl(url) {
|
|
10001
|
+
try {
|
|
10002
|
+
assertPublicHttpsUrl(url);
|
|
10003
|
+
return true;
|
|
10004
|
+
} catch {
|
|
10005
|
+
return false;
|
|
10006
|
+
}
|
|
10007
|
+
}
|
|
9986
10008
|
async function appendVideoAudioFromProbe(input) {
|
|
9987
10009
|
const { projectDir, compiledDir, composition, urlByAbsentLocalPath } = input;
|
|
9988
10010
|
const videos = composition.videos.filter(
|
|
@@ -9990,6 +10012,7 @@ async function appendVideoAudioFromProbe(input) {
|
|
|
9990
10012
|
);
|
|
9991
10013
|
const probed = await Promise.all(
|
|
9992
10014
|
videos.map(async (video) => {
|
|
10015
|
+
if (isHttpUrl(video.src) && !isPublicHttpsUrl(video.src)) return null;
|
|
9993
10016
|
const path = isHttpUrl(video.src) ? video.src : resolveProjectRelativeSrc(video.src, projectDir, compiledDir);
|
|
9994
10017
|
const readFrom = urlByAbsentLocalPath?.get(path) ?? path;
|
|
9995
10018
|
if (!isHttpUrl(readFrom) && !existsSync12(readFrom)) return null;
|
|
@@ -13898,7 +13921,6 @@ async function executeRenderPipeline(input) {
|
|
|
13898
13921
|
compositionHash = computeCompositionObservabilityHash(compiled.html);
|
|
13899
13922
|
fileServer = probeResult.fileServer;
|
|
13900
13923
|
probeSession = probeResult.probeSession;
|
|
13901
|
-
const shownBoxes = largerThanCanvas.length > 0 && probeSession?.isInitialized ? await measureLocalShownBoxes(probeSession.page, largerThanCanvas, job.config.fps, log) : void 0;
|
|
13902
13924
|
job.strictVariablesChecked = probeResult.strictVariablesChecked;
|
|
13903
13925
|
lastBrowserConsole = probeResult.lastBrowserConsole;
|
|
13904
13926
|
let resolvedCaptureBeyondViewport = probeSession?.options.captureBeyondViewport;
|
|
@@ -13914,6 +13936,13 @@ async function executeRenderPipeline(input) {
|
|
|
13914
13936
|
totalFrames,
|
|
13915
13937
|
fps: fpsToNumber(job.config.fps)
|
|
13916
13938
|
});
|
|
13939
|
+
const shownBoxes = largerThanCanvas.length > 0 && probeSession?.isInitialized ? await measureLocalShownBoxes(
|
|
13940
|
+
probeSession.page,
|
|
13941
|
+
largerThanCanvas,
|
|
13942
|
+
job.config.fps,
|
|
13943
|
+
probeResult.duration,
|
|
13944
|
+
log
|
|
13945
|
+
) : void 0;
|
|
13917
13946
|
perfStages.browserProbeMs = probeResult.browserProbeMs;
|
|
13918
13947
|
perfStages.compileMs = Date.now() - stage1Start;
|
|
13919
13948
|
if (probeResult.beginFrameStalled && !captureForceScreenshot) {
|
|
@@ -17987,7 +18016,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17987
18016
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17988
18017
|
if (probeResult.probeSession) {
|
|
17989
18018
|
try {
|
|
17990
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18019
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-IVCOSSDJ.js");
|
|
17991
18020
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17992
18021
|
} catch (err) {
|
|
17993
18022
|
log.warn("[plan] probe session close failed", {
|
|
@@ -21484,7 +21513,7 @@ function startServer(options = {}) {
|
|
|
21484
21513
|
});
|
|
21485
21514
|
async function shutdown(signal) {
|
|
21486
21515
|
log.info(`Received ${signal}, shutting down`);
|
|
21487
|
-
const { drainBrowserPool } = await import("./src-
|
|
21516
|
+
const { drainBrowserPool } = await import("./src-IVCOSSDJ.js");
|
|
21488
21517
|
await drainBrowserPool().catch(() => {
|
|
21489
21518
|
});
|
|
21490
21519
|
const handle = await Promise.race([
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A5LYBVBC.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-MR7VKWYT.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4QRYBCP5.js";
|
|
19
19
|
import {
|
|
20
20
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NLTJMUK6.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CGHWDZXR.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NOSZSEN6.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
253
253
|
async function localizeRemoteAssets(html) {
|
|
254
254
|
let dir;
|
|
255
255
|
try {
|
|
256
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-G6AH4NES.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -274,10 +274,10 @@ async function localizeRemoteAssets(html) {
|
|
|
274
274
|
}
|
|
275
275
|
async function validateInBrowser(project, opts) {
|
|
276
276
|
const projectDir = project.dir;
|
|
277
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
+
const { bundleToSingleHtml } = await import("./compiler-DUG4GFRI.js");
|
|
278
278
|
const { ensureBrowser } = await import("./manager-25RJ4IZN.js");
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
280
|
-
const { lintProject } = await import("./lintProject-
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-XHYEFNOX.js");
|
|
280
|
+
const { lintProject } = await import("./lintProject-G4MXY4YA.js");
|
|
281
281
|
const lintResult = await lintProject(projectDir);
|
|
282
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
283
283
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
298
298
|
try {
|
|
299
299
|
const browser = await ensureBrowser();
|
|
300
300
|
const puppeteer = await import("puppeteer-core");
|
|
301
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-IVCOSSDJ.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-L6YX2UOM.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OUABE6YT.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-JCNPHRGX.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NOSZSEN6.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CII7LO6I.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CGHWDZXR.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YIKOKVHE.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-IVCOSSDJ.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HCPT6BJD.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QARZ5SCV.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DSKX5OD2.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OUABE6YT.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QLHNKVBG.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I4PWEIZK.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KDT2WX7M.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|