hyperframes 0.9.48 → 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.
Files changed (223) hide show
  1. package/dist/{add-3H4DG4RA.js → add-MHBYQHUR.js} +6 -6
  2. package/dist/{agentPromptGenerator-PIHKWDAW.js → agentPromptGenerator-LJHTM6QS.js} +6 -6
  3. package/dist/{animatedGifPrep-SXYSHW6I.js → animatedGifPrep-V5SQRWAT.js} +6 -6
  4. package/dist/api.js +24 -24
  5. package/dist/{asset-43VALPNF.js → asset-2QF7W45V.js} +2 -2
  6. package/dist/{assetCataloger-MUOL6FRF.js → assetCataloger-HBGLL5OY.js} +7 -7
  7. package/dist/{audio-ZHGSDLJR.js → audio-ERHWZM2O.js} +11 -11
  8. package/dist/{auth-UXRKOJQB.js → auth-JNM2N5FK.js} +2 -2
  9. package/dist/{autoUpdate-PMEPQG65.js → autoUpdate-2A3PNPOQ.js} +2 -2
  10. package/dist/{avatars-QFBWZAIE.js → avatars-UXJM3YOF.js} +10 -10
  11. package/dist/{backgroundChecks-OK6SI7BE.js → backgroundChecks-FM7JOSDW.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-XYL2E7IX.js → batchRender-VKM4E7PI.js} +1 -1
  14. package/dist/{beats-O23QKE6J.js → beats-BAZOHGIS.js} +7 -7
  15. package/dist/{benchmark-DKBSDIX5.js → benchmark-AWDTJZW2.js} +7 -7
  16. package/dist/{billing-ZZCU3K3Q.js → billing-M7FIGUG3.js} +5 -5
  17. package/dist/{browser-4X6WZ6UD.js → browser-BJBAMHOZ.js} +4 -4
  18. package/dist/{bundleWithLocalizedFonts-M64DWYM5.js → bundleWithLocalizedFonts-NWMD2BBQ.js} +1 -1
  19. package/dist/{capture-JJARZBDS.js → capture-GKI3WNTE.js} +12 -12
  20. package/dist/{capture-O3W6P6DB.js → capture-V3KIGAHK.js} +4 -4
  21. package/dist/{captureCompositionFrame-JLTAV6VN.js → captureCompositionFrame-C3QPXFZZ.js} +9 -9
  22. package/dist/{catalog-4A4CPKPT.js → catalog-5VRQXFNE.js} +6 -6
  23. package/dist/{catch-up-EUQFPFMU.js → catch-up-IWRZL3T6.js} +5 -5
  24. package/dist/{check-IZ6SFIGR.js → check-3TTCBOR5.js} +27 -27
  25. package/dist/{checkAudio-5IRYPK3A.js → checkAudio-WNVIHTTH.js} +8 -8
  26. package/dist/{checkBrowser-HUCHMJV4.js → checkBrowser-IQR4HWS6.js} +21 -21
  27. package/dist/{chunk-5MHENUR3.js → chunk-2M7GGAXG.js} +2 -2
  28. package/dist/{chunk-BEPEMS56.js → chunk-3LTJKGJQ.js} +4 -4
  29. package/dist/{chunk-FFZE3G5R.js → chunk-4OWHB6Y4.js} +1 -1
  30. package/dist/{chunk-FWABCPJF.js → chunk-4Q2HYZZK.js} +1 -1
  31. package/dist/{chunk-IQA5CXNE.js → chunk-4QRYBCP5.js} +1 -1
  32. package/dist/{chunk-NECZT66A.js → chunk-5SIOKBKO.js} +3 -3
  33. package/dist/{chunk-FF3VETCD.js → chunk-5YF3NCZV.js} +1 -1
  34. package/dist/{chunk-E5OW6L6E.js → chunk-62LL7YPC.js} +2 -2
  35. package/dist/{chunk-67QXALQY.js → chunk-62R36CZW.js} +3 -3
  36. package/dist/{chunk-HZXRORAG.js → chunk-6Q7QF4UD.js} +2 -2
  37. package/dist/{chunk-PBTXEWFY.js → chunk-747XM6QN.js} +2 -2
  38. package/dist/{chunk-JUI6DQFD.js → chunk-7H6NEDNA.js} +2 -2
  39. package/dist/{chunk-XUCEC2EI.js → chunk-7W3MLVDC.js} +2 -2
  40. package/dist/{chunk-IK7DQLH7.js → chunk-7YKLBEIC.js} +6 -6
  41. package/dist/{chunk-CTWD5ND3.js → chunk-A5LYBVBC.js} +8 -8
  42. package/dist/{chunk-44EG3TMN.js → chunk-ARIBOM26.js} +1 -1
  43. package/dist/{chunk-RV6ZSL4E.js → chunk-ARREGNEF.js} +3 -3
  44. package/dist/{chunk-MZ2LNNLT.js → chunk-AVBZSLK5.js} +4 -4
  45. package/dist/{chunk-JET2QWI5.js → chunk-CB3GR7GV.js} +2 -2
  46. package/dist/{chunk-GXPAR6JC.js → chunk-CGHWDZXR.js} +2 -2
  47. package/dist/{chunk-ZJTSSZVG.js → chunk-CII7LO6I.js} +1 -1
  48. package/dist/{chunk-I4OQGQ5M.js → chunk-CIZB4MFK.js} +1 -1
  49. package/dist/{chunk-NAUOUIEW.js → chunk-CX5Y3TUU.js} +1 -1
  50. package/dist/{chunk-2GS3N3TZ.js → chunk-D3UYYHU2.js} +1 -1
  51. package/dist/{chunk-YZERHM3O.js → chunk-DSKX5OD2.js} +2 -2
  52. package/dist/{chunk-5IE7DN6I.js → chunk-DV5KH45B.js} +1 -1
  53. package/dist/{chunk-6DNSUUKB.js → chunk-E2QJFCYC.js} +8 -3
  54. package/dist/{chunk-ZQMK76GC.js → chunk-F7Z7UDAV.js} +1 -1
  55. package/dist/{chunk-JN4ING5S.js → chunk-FLDJ5AYW.js} +2 -2
  56. package/dist/{chunk-4HP2MTKM.js → chunk-G5M6MZPP.js} +1 -1
  57. package/dist/{chunk-T4TF22AD.js → chunk-GOZNQ2BU.js} +5 -5
  58. package/dist/{chunk-RGGQBF7T.js → chunk-GVYDYPMK.js} +1 -1
  59. package/dist/{chunk-DNDMJYSA.js → chunk-H4LCNEA2.js} +131 -56
  60. package/dist/{chunk-I542AQXY.js → chunk-H6GW4MUA.js} +2 -2
  61. package/dist/{chunk-OO4R2IFF.js → chunk-HCPT6BJD.js} +1 -1
  62. package/dist/{chunk-JYOOWDQK.js → chunk-I4PWEIZK.js} +1 -1
  63. package/dist/{chunk-GZSJYNAJ.js → chunk-I7UACFVY.js} +71 -24
  64. package/dist/{chunk-PVR4LBWK.js → chunk-JHNICCT2.js} +11 -11
  65. package/dist/{chunk-JX7623IE.js → chunk-JQPR3J5V.js} +2 -2
  66. package/dist/{chunk-7X2TCJJ7.js → chunk-KDT2WX7M.js} +1 -1
  67. package/dist/{chunk-FLHKID4G.js → chunk-LRKSFIYI.js} +2 -2
  68. package/dist/{chunk-UG3G4HEH.js → chunk-LS2FSESG.js} +58 -28
  69. package/dist/{chunk-EVRVYDKJ.js → chunk-LSL3XC2T.js} +4 -4
  70. package/dist/{chunk-POCPG2WI.js → chunk-M2UX3RAP.js} +7 -7
  71. package/dist/{chunk-EWMPCW7J.js → chunk-NLHR5VAJ.js} +1 -1
  72. package/dist/{chunk-WT2OKPEW.js → chunk-NLTJMUK6.js} +1 -1
  73. package/dist/{chunk-ULNYVLR5.js → chunk-NOSZSEN6.js} +1 -1
  74. package/dist/{chunk-QQSVDBSH.js → chunk-NYUTPQQ3.js} +10 -10
  75. package/dist/{chunk-Z2DDFW7J.js → chunk-OHC6GZAK.js} +9 -9
  76. package/dist/{chunk-LIQZZ6AE.js → chunk-OUABE6YT.js} +1 -1
  77. package/dist/{chunk-CDBPBLYJ.js → chunk-PGY4WFKL.js} +1 -1
  78. package/dist/{chunk-SXMAJMTP.js → chunk-PNL7SMWV.js} +2 -2
  79. package/dist/{chunk-ESXZZU25.js → chunk-QARZ5SCV.js} +2 -2
  80. package/dist/{chunk-3LH7DND6.js → chunk-QIKIHGPS.js} +1 -1
  81. package/dist/{chunk-DACTRVDQ.js → chunk-QLHNKVBG.js} +3 -3
  82. package/dist/{chunk-MXOWNQCI.js → chunk-R64WJS45.js} +2 -2
  83. package/dist/{chunk-4WDBYCUK.js → chunk-R76QWLJI.js} +1 -1
  84. package/dist/{chunk-DDXHYDJW.js → chunk-RJEX3RRW.js} +1 -1
  85. package/dist/{chunk-7SNB3KGY.js → chunk-S2Z46FMO.js} +1 -1
  86. package/dist/{chunk-5AJNQMML.js → chunk-T44NTM2R.js} +1 -1
  87. package/dist/{chunk-OFAEOC67.js → chunk-T47SZ3SP.js} +5 -5
  88. package/dist/{chunk-SGLUNJTO.js → chunk-TMAF33SA.js} +1 -1
  89. package/dist/{chunk-ZR7CJIH3.js → chunk-TW6S6A2B.js} +19 -19
  90. package/dist/{chunk-DFJIVRYU.js → chunk-U4CJQ4AU.js} +1 -1
  91. package/dist/{chunk-7SY3DERR.js → chunk-UBHBB3TB.js} +1 -1
  92. package/dist/{chunk-BM6LSTMG.js → chunk-UJRRUNWQ.js} +2 -2
  93. package/dist/{chunk-IPTZMILN.js → chunk-VNIVH2ZQ.js} +1 -1
  94. package/dist/{chunk-EPQC3FGZ.js → chunk-WFQJ6EJ6.js} +19 -4
  95. package/dist/{chunk-M5PWCI3M.js → chunk-WXNVVZCC.js} +3 -3
  96. package/dist/{chunk-TM4PTEAL.js → chunk-XBD5NV2F.js} +1 -1
  97. package/dist/{chunk-P4FZ67X5.js → chunk-XP5X4TKU.js} +1 -1
  98. package/dist/{chunk-3JWNN5PN.js → chunk-YIKOKVHE.js} +293 -187
  99. package/dist/{chunk-TPVRUKKI.js → chunk-YTO34UZE.js} +4 -4
  100. package/dist/{chunk-W56YNDIJ.js → chunk-YYF4HKW5.js} +1 -1
  101. package/dist/{chunk-5DW2DEHX.js → chunk-Z5TKOD2D.js} +1 -1
  102. package/dist/{chunk-4BJYQXFF.js → chunk-ZI5QVXG4.js} +1 -1
  103. package/dist/{chunk-CZBTUYLW.js → chunk-ZPMIIPDH.js} +3 -3
  104. package/dist/{chunk-VTLYJLGX.js → chunk-ZX52DCZH.js} +2 -2
  105. package/dist/{clean-YTQ7THRZ.js → clean-BT36HK75.js} +13 -13
  106. package/dist/cli.js +62 -62
  107. package/dist/{cloud-NYF5MJVW.js → cloud-R2QOPFMH.js} +4 -4
  108. package/dist/{cloudrun-XXGMWBUO.js → cloudrun-EULFHQQL.js} +1 -1
  109. package/dist/{compare-Z32R2SCB.js → compare-RUB5AIPD.js} +18 -18
  110. package/dist/{compiler-XTVXLGQA.js → compiler-DUG4GFRI.js} +3 -3
  111. package/dist/{component-UAZQ4P7D.js → component-NBW4NP3J.js} +3 -3
  112. package/dist/{compositions-WRX752GP.js → compositions-FHO2G54H.js} +10 -10
  113. package/dist/{curve-GPONFTFR.js → curve-2MSCLXM7.js} +10 -10
  114. package/dist/{cuts-RC2WIAYL.js → cuts-ND6ZL5AI.js} +11 -11
  115. package/dist/{delete-MDRUJACW.js → delete-FMQCJAHX.js} +2 -2
  116. package/dist/{deploy-EV4JCQW6.js → deploy-5UOYKYXF.js} +2 -2
  117. package/dist/{describeProject-D2MMDRME.js → describeProject-OIK763B5.js} +6 -6
  118. package/dist/{destroy-IBQ64X7C.js → destroy-MLAFCH6B.js} +2 -2
  119. package/dist/{diff-BGZFEZ7V.js → diff-KKJRQKFR.js} +23 -23
  120. package/dist/{dist-4ZDHU5RE.js → dist-2YJCNIWI.js} +2 -2
  121. package/dist/{dist-YX7FMBUD.js → dist-MXWEGMRB.js} +1 -1
  122. package/dist/{dist-BKWVQR7A.js → dist-UMYCC5T5.js} +5 -5
  123. package/dist/{doctor-TDF4VFEI.js → doctor-5DILJANT.js} +10 -10
  124. package/dist/{energy-DDE435SP.js → energy-BLU27H7G.js} +11 -11
  125. package/dist/{events-CQLKSC62.js → events-35CZGWGO.js} +2 -2
  126. package/dist/{events-IFAKMWNL.js → events-AXNHFZTY.js} +12 -12
  127. package/dist/{events-WA3SQMWZ.js → events-GRLM5BLQ.js} +4 -4
  128. package/dist/{execute-H337HQ2I.js → execute-FRDHPWNT.js} +16 -16
  129. package/dist/{extract-LOH2HC74.js → extract-ILQCKYWJ.js} +11 -11
  130. package/dist/{face-RMDNBINB.js → face-S3YZLPEO.js} +11 -11
  131. package/dist/{feedback-QX4CBEFU.js → feedback-LTEDBBL2.js} +8 -8
  132. package/dist/{ffmpeg-LXWLSIJN.js → ffmpeg-OJIIUEQQ.js} +6 -6
  133. package/dist/{figma-QNCIZZKI.js → figma-DXIX3JW2.js} +3 -3
  134. package/dist/fontLocalizeCli.js +9 -9
  135. package/dist/{frames-M3ZAUTAZ.js → frames-E7GSMQMG.js} +12 -12
  136. package/dist/{generate-JHWY26CH.js → generate-5BV3VOF5.js} +16 -16
  137. package/dist/{get-UOPVKIUK.js → get-LO5YZK5S.js} +2 -2
  138. package/dist/{gpuPolicy-4UHHZMH7.js → gpuPolicy-L6YX2UOM.js} +6 -6
  139. package/dist/{grade-compare-TRTR3HGM.js → grade-compare-45DGL4FX.js} +19 -19
  140. package/dist/{heifImagePrep-7DRKOFIJ.js → heifImagePrep-HZWZ6RCU.js} +7 -7
  141. package/dist/{help-XBJ3CPJG.js → help-NXUWIQZJ.js} +1 -1
  142. package/dist/{history-4NBOWTAK.js → history-B2VYYYFA.js} +7 -7
  143. package/dist/hyperframes-player.global.js +1 -1
  144. package/dist/hyperframes-slideshow.global.js +14 -14
  145. package/dist/{info-6OUYHW5G.js → info-6BK7QHQN.js} +12 -12
  146. package/dist/{init-U4UGYE5D.js → init-5NJNDMW5.js} +23 -23
  147. package/dist/{ink-3K5U33XB.js → ink-I2VH46VQ.js} +11 -11
  148. package/dist/{inspect-U6QLWQW2.js → inspect-VMCKQEOT.js} +19 -19
  149. package/dist/{installer-2LTM4GWP.js → installer-FI6HT2FW.js} +1 -1
  150. package/dist/{keyframes-HRT4ICFF.js → keyframes-2ZZUDJD7.js} +7 -7
  151. package/dist/{lambda-QCYXB7S3.js → lambda-BHLB7JHL.js} +10 -10
  152. package/dist/{layout-S6E5YVK5.js → layout-4Y2DWTXM.js} +19 -19
  153. package/dist/{lint-JNQUZ5H6.js → lint-QPQRY5WD.js} +8 -8
  154. package/dist/{lintProject-7C4U6NHF.js → lintProject-G4MXY4YA.js} +2 -2
  155. package/dist/{list-IEATKMVG.js → list-SPRUZTEJ.js} +2 -2
  156. package/dist/{localPage-KKLCOLJR.js → localPage-TZFDEA6W.js} +6 -6
  157. package/dist/{login-BWXQWFKL.js → login-JOQCOSOK.js} +4 -4
  158. package/dist/{look-5EMJASLS.js → look-3UNLVDPJ.js} +11 -11
  159. package/dist/{manager-7XKYKMB7.js → manager-7IV66O64.js} +7 -7
  160. package/dist/{measure-UW3MUWR7.js → measure-PFOIM7OJ.js} +11 -11
  161. package/dist/{media-treatment-C26U3INH.js → media-treatment-WR2EYI6J.js} +12 -12
  162. package/dist/{media-use-IGSJKXLU.js → media-use-VRMLASYM.js} +3 -3
  163. package/dist/{models-XQMHEBHU.js → models-6BN6ZA2T.js} +10 -10
  164. package/dist/{motionShot-PH2I6VOO.js → motionShot-SX6BQ2A3.js} +12 -12
  165. package/dist/{normalize-audio-ROHXFODM.js → normalize-audio-E2EMJIJU.js} +5 -5
  166. package/dist/{open-UAGIY4HR.js → open-N4SZ4OC6.js} +5 -5
  167. package/dist/{parakeetRunner-OOJI6E2B.js → parakeetRunner-GVZ2XLDV.js} +11 -11
  168. package/dist/{pipeline-GQUCPCXS.js → pipeline-Z4RAIXQM.js} +9 -9
  169. package/dist/{plan-PNV4KSCO.js → plan-NJKLH5DY.js} +12 -12
  170. package/dist/{play-UEEYAMEA.js → play-2P3J4O6N.js} +11 -11
  171. package/dist/{preflight-E6FYCMJX.js → preflight-VQ366D6O.js} +7 -7
  172. package/dist/{present-ZKBO5RTJ.js → present-HCY6XKUF.js} +12 -12
  173. package/dist/{preview-SQFT4TGS.js → preview-ZE435ZVI.js} +12 -12
  174. package/dist/{probe-35RQ7WQ6.js → probe-J2KN3Y3Z.js} +11 -11
  175. package/dist/{producer-7PCYSXHR.js → producer-G6AH4NES.js} +1 -1
  176. package/dist/{projectConfig-LSJSU4UR.js → projectConfig-VPL64JBD.js} +1 -1
  177. package/dist/{publicNetwork-CWRD7PSE.js → publicNetwork-CWKAKZXP.js} +5 -1
  178. package/dist/{publication-4EYVOO47.js → publication-ST3VFFWM.js} +1 -1
  179. package/dist/{publish-UEF3X6G7.js → publish-CMIRMUVW.js} +6 -6
  180. package/dist/{remove-background-KES26J53.js → remove-background-2HPZDKTN.js} +10 -10
  181. package/dist/{render-GH2KWOVT.js → render-FYWFWCL7.js} +17 -17
  182. package/dist/{render-IFRE426H.js → render-MG5MX45D.js} +1 -1
  183. package/dist/{render-4C7Q32BC.js → render-WXDAMYQU.js} +25 -25
  184. package/dist/{render-batch-2BWEMPAQ.js → render-batch-C3XGAQGX.js} +1 -1
  185. package/dist/renderSetupWorker.js +2 -2
  186. package/dist/{resolver-PM56BNET.js → resolver-AGMKICJW.js} +1 -1
  187. package/dist/{reverse-I6VOINAN.js → reverse-XNTL6ILN.js} +1 -1
  188. package/dist/{screenshotCapture-HXTGIPHY.js → screenshotCapture-4FFWYCKV.js} +6 -6
  189. package/dist/{service-KXRPG74T.js → service-BW7NT4R2.js} +10 -10
  190. package/dist/{share-G2UPZLLH.js → share-JJ6G2SRE.js} +13 -13
  191. package/dist/{sherpa-P3IEXV3S.js → sherpa-ZARNRTUF.js} +10 -10
  192. package/dist/{skills-4KNW2APN.js → skills-H6QD7AIP.js} +7 -7
  193. package/dist/{skillsUpdateCheck-XRXMK2BR.js → skillsUpdateCheck-BBSSMBNI.js} +3 -3
  194. package/dist/{slideshow-ARJR22W4.js → slideshow-PC3BBO5F.js} +1 -1
  195. package/dist/{snapshot-MSTKQXSJ.js → snapshot-AIASY7ZT.js} +26 -26
  196. package/dist/{src-5O3RW44E.js → src-IVCOSSDJ.js} +9 -5
  197. package/dist/{src-EJXQBNFT.js → src-RNWDJRGO.js} +8 -8
  198. package/dist/{start-WERFNWUG.js → start-CVUWN3EJ.js} +14 -14
  199. package/dist/{staticProjectServer-MTL5UOLQ.js → staticProjectServer-XHYEFNOX.js} +9 -9
  200. package/dist/{status-MOLSRFMM.js → status-TCUB55VV.js} +5 -5
  201. package/dist/studio/assets/{hyperframes-player-DYtpqF4w.js → hyperframes-player-DHIxqu8A.js} +1 -1
  202. package/dist/studio/assets/{index-pSFnTYYo.js → index-CefNftWO.js} +1 -1
  203. package/dist/studio/assets/{index-D_6Nvt4M.js → index-CuCj-ntQ.js} +117 -117
  204. package/dist/studio/assets/{pausedVideoDecoder-D_jYmpmj.js → pausedVideoDecoder-Dy-s5uPt.js} +1 -1
  205. package/dist/studio/index.html +1 -1
  206. package/dist/{studio-api-BTDNUTUL.js → studio-api-HPYJHSZY.js} +5 -5
  207. package/dist/{studioServer-A73V7BGB.js → studioServer-RIYJYGVD.js} +40 -40
  208. package/dist/{sync-VV4THGGW.js → sync-ILVIJDYI.js} +11 -11
  209. package/dist/{telemetry-VTF2M5AG.js → telemetry-Q6X3TCN6.js} +4 -4
  210. package/dist/{templates-IDYVXLRA.js → templates-64NH2NZF.js} +5 -5
  211. package/dist/{timeline-RHXNE24Z.js → timeline-CR4YEFN4.js} +13 -13
  212. package/dist/{tokens-TYYUI63J.js → tokens-NISS5JD7.js} +2 -2
  213. package/dist/{transcribe-ZC22NJXV.js → transcribe-AP3PUNHX.js} +9 -9
  214. package/dist/{transcribe-5JGZPJCT.js → transcribe-R7K7NSGF.js} +18 -18
  215. package/dist/{update-QIVTZXMN.js → update-OI6DZTRT.js} +8 -8
  216. package/dist/{updateCheck-7RZEDERP.js → updateCheck-7ZCJ7FNE.js} +2 -2
  217. package/dist/{upgrade-HYRR4ZLW.js → upgrade-D6VGQSRH.js} +3 -3
  218. package/dist/{urlDownloader-YPKIQ2PI.js → urlDownloader-KE7AXBCY.js} +7 -5
  219. package/dist/{validate-ZWUJ2E2U.js → validate-LZBOVEFV.js} +17 -17
  220. package/dist/{video-CNLMBOOB.js → video-7KEKO4H2.js} +7 -7
  221. package/dist/{voices-4GOW5GZG.js → voices-6EOBOCEU.js} +14 -14
  222. package/dist/warmCheck.js +27 -27
  223. package/package.json +1 -1
@@ -71,7 +71,7 @@ import {
71
71
  isSceneLikeCompositionId,
72
72
  parseSlideshowManifest,
73
73
  resolveSlideshow
74
- } from "./chunk-EPQC3FGZ.js";
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 = findProtectedVisibleMarkupRanges(source);
5220
- for (const match of source.matchAll(VISIBLE_MARKUP_COMMENT_PATTERN)) {
5221
- if (isInsideHtmlTag(source, match.index)) continue;
5222
- if (isInsideSourceRange(match.index, protectedRanges)) continue;
5223
- return match[0];
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 match of source.matchAll(
5363
- /<script\b[\s\S]*?<\/script[^>]*>|<style\b|<\/style\s*>/gi
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 = match[0];
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 (!INVALID_SCRIPT_CLOSE_PATTERN.test(source)) return [];
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.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi, "<style></style>"));
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.replace(/\/\*[\s\S]*?\*\//g, "");
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.replace(/\/\*[\s\S]*?\*\//g, "");
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.replace(/\/\*[\s\S]*?\*\//g, "");
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 (/<script\b[^>]*\bsrc\s*=/i.test(rawSource)) return [];
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}`.replace(/\/\*[\s\S]*?\*\//g, "");
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.replace(/\/\*[\s\S]*?\*\//g, " ");
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-EWMPCW7J.js";
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-LIQZZ6AE.js";
16
+ } from "./chunk-OUABE6YT.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-ESXZZU25.js";
10
+ } from "./chunk-QARZ5SCV.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-7PBJR7WI.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-3JWNN5PN.js";
9
+ } from "./chunk-YIKOKVHE.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -16,7 +16,7 @@ import {
16
16
  Semaphore,
17
17
  prepareHeifImageInputs,
18
18
  withMediaProbeSlot
19
- } from "./chunk-JUI6DQFD.js";
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-4BJYQXFF.js";
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,
@@ -115,6 +116,7 @@ import {
115
116
  extractMediaMetadata,
116
117
  extractVideoFramesRange,
117
118
  extractionFrameCountForDuration,
119
+ fetchPublicHttpsBytes,
118
120
  fetchPublicHttpsText,
119
121
  ffmpegSeekSeconds,
120
122
  fingerprintElementId,
@@ -160,6 +162,7 @@ import {
160
162
  parseMasterFxChain,
161
163
  parseTransformMatrix,
162
164
  parseVideoElements,
165
+ playlistLeavesItsFolder,
163
166
  prepareCaptureSessionForReuse,
164
167
  probeBeginFrameLiveness,
165
168
  probeMediaProfile,
@@ -196,10 +199,10 @@ import {
196
199
  videoAudioId,
197
200
  videoStartOnMediaTimeline,
198
201
  writeCapturedFrame
199
- } from "./chunk-3JWNN5PN.js";
202
+ } from "./chunk-YIKOKVHE.js";
200
203
  import {
201
204
  settleOnBrowserSafePort
202
- } from "./chunk-UG3G4HEH.js";
205
+ } from "./chunk-LS2FSESG.js";
203
206
  import {
204
207
  assignBundledRuntimeCompositionIds,
205
208
  boundMediaSrc,
@@ -212,7 +215,7 @@ import {
212
215
  parsesAsScript,
213
216
  prepareFlattenedInnerRoot,
214
217
  stripSdrPngColourTags
215
- } from "./chunk-7SY3DERR.js";
218
+ } from "./chunk-UBHBB3TB.js";
216
219
  import {
217
220
  cannotHardLink,
218
221
  collectScratchLeftovers,
@@ -290,7 +293,7 @@ import {
290
293
  import {
291
294
  lintHyperframeHtml,
292
295
  resolveReferencedStart
293
- } from "./chunk-DNDMJYSA.js";
296
+ } from "./chunk-H4LCNEA2.js";
294
297
  import {
295
298
  isUnresolvedAssetPlaceholder,
296
299
  namesAnotherNetworkRoot,
@@ -1070,6 +1073,7 @@ function createFileServer(options) {
1070
1073
  const candidate = join(root, relativePath);
1071
1074
  const resolveSymlinks = !allowOutsideProjectAssets && root !== compiledDir;
1072
1075
  if (!isPathInside2(candidate, root, { resolveSymlinks })) continue;
1076
+ if (isPrivateFileUnder(root, candidate, isVcsOrSecretPath)) continue;
1073
1077
  const checksLinks = allowOutsideProjectAssets && root !== compiledDir;
1074
1078
  if (checksLinks && refusesOutsideLink(root, candidate, warnLeftOut)) continue;
1075
1079
  file = openRegularFile(candidate);
@@ -5703,20 +5707,25 @@ async function oversizedVideos(videos, projectDir, compiledDir, canvas) {
5703
5707
  );
5704
5708
  return videos.filter((_, index) => sized[index]);
5705
5709
  }
5706
- function shownBoxTimes(videos, fps) {
5710
+ function shownBoxTimes(videos, fps, duration) {
5707
5711
  const frame = fps.den / fps.num;
5708
5712
  const times = /* @__PURE__ */ new Set();
5709
- 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;
5710
5716
  const last = Math.max(start, end - frame);
5711
- for (let t = start; t < last; t += SHOWN_BOX_STRIDE_S) times.add(t);
5717
+ for (let step = 0; start + step * SHOWN_BOX_STRIDE_S < last; step += 1) {
5718
+ times.add(start + step * SHOWN_BOX_STRIDE_S);
5719
+ }
5712
5720
  times.add(last);
5713
5721
  }
5714
5722
  return [...times].sort((a, b) => a - b);
5715
5723
  }
5716
- async function measureLocalShownBoxes(page, videos, fps, log) {
5717
- const times = shownBoxTimes(videos, fps);
5724
+ async function measureLocalShownBoxes(page, videos, fps, duration, log) {
5725
+ let times = [];
5718
5726
  const startedAt = Date.now();
5719
5727
  try {
5728
+ times = shownBoxTimes(videos, fps, duration);
5720
5729
  const ranges = await measureVideoShownBoxRanges(
5721
5730
  page,
5722
5731
  videos.map((video) => video.id),
@@ -6711,8 +6720,11 @@ import { existsSync as existsSync9 } from "fs";
6711
6720
  import { join as join15 } from "path";
6712
6721
  var ASSET_MEDIA_TYPE_MISMATCH = "ASSET_MEDIA_TYPE_MISMATCH";
6713
6722
  var AssetMediaTypeMismatchError = class extends Error {
6723
+ // fallow-ignore-next-line unused-class-member
6714
6724
  code = ASSET_MEDIA_TYPE_MISMATCH;
6725
+ // fallow-ignore-next-line unused-class-member
6715
6726
  owner = "user";
6727
+ // fallow-ignore-next-line unused-class-member
6716
6728
  retryable = false;
6717
6729
  mismatches;
6718
6730
  constructor(mismatches) {
@@ -6768,6 +6780,11 @@ function dropMediaOutsideProject(input) {
6768
6780
  composition.audios = composition.audios.filter(staysInside);
6769
6781
  composition.images = composition.images.filter(staysInside);
6770
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
+ }
6771
6788
  async function preflightCompositionAssetMediaTypes(input) {
6772
6789
  const references = [
6773
6790
  ...input.composition.videos.map((asset) => ({
@@ -6803,11 +6820,9 @@ async function preflightCompositionAssetMediaTypes(input) {
6803
6820
  await Promise.all(
6804
6821
  entries.map(
6805
6822
  ([resolvedPath, pathReferences]) => withMediaProbeSlot(async () => {
6806
- const sniffableReferences = pathReferences.filter((ref) => ref.expected === "video");
6807
- if (sniffableReferences.length > 0 && await isNotMediaPayload(resolvedPath)) {
6808
- notMediaFingerprints.push(
6809
- ...sniffableReferences.map((ref) => fingerprintElementId(ref.id))
6810
- );
6823
+ const refused = await notMediaReferences(resolvedPath, pathReferences);
6824
+ if (refused.length > 0) {
6825
+ notMediaFingerprints.push(...refused.map((ref) => fingerprintElementId(ref.id)));
6811
6826
  return;
6812
6827
  }
6813
6828
  let profile;
@@ -7561,6 +7576,26 @@ function matchesScriptIntegrity(bytes, metadata) {
7561
7576
  (hash) => hash[1]?.toLowerCase() === strongest && actual.equals(Buffer.from(hash[2], "base64"))
7562
7577
  );
7563
7578
  }
7579
+ var MAX_SCRIPT_BYTES = 16 * 1024 * 1024;
7580
+ function operatorGsapMirror() {
7581
+ const raw = process.env.HYPERFRAMES_GSAP_BASE_URL?.trim();
7582
+ if (!raw || raw.startsWith("/")) return void 0;
7583
+ try {
7584
+ return `${normalizeGsapBaseUrl(raw)}/`;
7585
+ } catch {
7586
+ return void 0;
7587
+ }
7588
+ }
7589
+ async function downloadScript(src, mirror) {
7590
+ if (mirror && new URL(src).href.startsWith(mirror)) {
7591
+ const response = await fetch(src, { redirect: "error", signal: AbortSignal.timeout(15e3) });
7592
+ if (!response.ok) throw new Error(`HTTP ${response.status} for ${src}`);
7593
+ const bytes = new Uint8Array(await response.arrayBuffer());
7594
+ if (bytes.byteLength > MAX_SCRIPT_BYTES) throw new Error(`Script over 16 MiB: ${src}`);
7595
+ return bytes;
7596
+ }
7597
+ return fetchPublicHttpsBytes(src, { maxBytes: MAX_SCRIPT_BYTES, timeoutMs: 15e3 });
7598
+ }
7564
7599
  async function inlineExternalScripts(html) {
7565
7600
  const fullHtml = ensureFullDocument(html);
7566
7601
  const wrappedFragment = fullHtml !== html;
@@ -7574,6 +7609,7 @@ async function inlineExternalScripts(html) {
7574
7609
  }
7575
7610
  }
7576
7611
  if (externalScripts.length === 0) return html;
7612
+ const mirror = operatorGsapMirror();
7577
7613
  const downloads = await Promise.allSettled(
7578
7614
  externalScripts.map(async ({ el, src }) => {
7579
7615
  const integrity = el.getAttribute("integrity") || "";
@@ -7581,11 +7617,7 @@ async function inlineExternalScripts(html) {
7581
7617
  if (bundled && matchesScriptIntegrity(bundled, integrity)) {
7582
7618
  return { src, text: new TextDecoder().decode(bundled) };
7583
7619
  }
7584
- const response = await fetch(src, {
7585
- signal: AbortSignal.timeout(15e3)
7586
- });
7587
- if (!response.ok) throw new Error(`HTTP ${response.status} for ${src}`);
7588
- const bytes = new Uint8Array(await response.arrayBuffer());
7620
+ const bytes = await downloadScript(src, mirror);
7589
7621
  if (!matchesScriptIntegrity(bytes, integrity)) {
7590
7622
  throw new ScriptIntegrityError(`Subresource integrity mismatch for ${src}`);
7591
7623
  }
@@ -9965,6 +9997,14 @@ function appendAutoDetectedVideoAudio(composition, extracted) {
9965
9997
  existingAudioSrcs.add(video.src);
9966
9998
  }
9967
9999
  }
10000
+ function isPublicHttpsUrl(url) {
10001
+ try {
10002
+ assertPublicHttpsUrl(url);
10003
+ return true;
10004
+ } catch {
10005
+ return false;
10006
+ }
10007
+ }
9968
10008
  async function appendVideoAudioFromProbe(input) {
9969
10009
  const { projectDir, compiledDir, composition, urlByAbsentLocalPath } = input;
9970
10010
  const videos = composition.videos.filter(
@@ -9972,6 +10012,7 @@ async function appendVideoAudioFromProbe(input) {
9972
10012
  );
9973
10013
  const probed = await Promise.all(
9974
10014
  videos.map(async (video) => {
10015
+ if (isHttpUrl(video.src) && !isPublicHttpsUrl(video.src)) return null;
9975
10016
  const path = isHttpUrl(video.src) ? video.src : resolveProjectRelativeSrc(video.src, projectDir, compiledDir);
9976
10017
  const readFrom = urlByAbsentLocalPath?.get(path) ?? path;
9977
10018
  if (!isHttpUrl(readFrom) && !existsSync12(readFrom)) return null;
@@ -13880,7 +13921,6 @@ async function executeRenderPipeline(input) {
13880
13921
  compositionHash = computeCompositionObservabilityHash(compiled.html);
13881
13922
  fileServer = probeResult.fileServer;
13882
13923
  probeSession = probeResult.probeSession;
13883
- const shownBoxes = largerThanCanvas.length > 0 && probeSession?.isInitialized ? await measureLocalShownBoxes(probeSession.page, largerThanCanvas, job.config.fps, log) : void 0;
13884
13924
  job.strictVariablesChecked = probeResult.strictVariablesChecked;
13885
13925
  lastBrowserConsole = probeResult.lastBrowserConsole;
13886
13926
  let resolvedCaptureBeyondViewport = probeSession?.options.captureBeyondViewport;
@@ -13896,6 +13936,13 @@ async function executeRenderPipeline(input) {
13896
13936
  totalFrames,
13897
13937
  fps: fpsToNumber(job.config.fps)
13898
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;
13899
13946
  perfStages.browserProbeMs = probeResult.browserProbeMs;
13900
13947
  perfStages.compileMs = Date.now() - stage1Start;
13901
13948
  if (probeResult.beginFrameStalled && !captureForceScreenshot) {
@@ -17969,7 +18016,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
17969
18016
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
17970
18017
  if (probeResult.probeSession) {
17971
18018
  try {
17972
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-5O3RW44E.js");
18019
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-IVCOSSDJ.js");
17973
18020
  await closeCaptureSession2(probeResult.probeSession);
17974
18021
  } catch (err) {
17975
18022
  log.warn("[plan] probe session close failed", {
@@ -21466,7 +21513,7 @@ function startServer(options = {}) {
21466
21513
  });
21467
21514
  async function shutdown(signal) {
21468
21515
  log.info(`Received ${signal}, shutting down`);
21469
- const { drainBrowserPool } = await import("./src-5O3RW44E.js");
21516
+ const { drainBrowserPool } = await import("./src-IVCOSSDJ.js");
21470
21517
  await drainBrowserPool().catch(() => {
21471
21518
  });
21472
21519
  const handle = await Promise.race([
@@ -9,20 +9,20 @@ import {
9
9
  resolveCliChromeGpuMode,
10
10
  seekCompositionTimeline,
11
11
  waitForRuntimeReady
12
- } from "./chunk-CTWD5ND3.js";
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-IQA5CXNE.js";
18
+ } from "./chunk-4QRYBCP5.js";
19
19
  import {
20
20
  pageNavigationTimeoutMs
21
- } from "./chunk-WT2OKPEW.js";
21
+ } from "./chunk-NLTJMUK6.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode
25
- } from "./chunk-GXPAR6JC.js";
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-ULNYVLR5.js";
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-7PCYSXHR.js");
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-XTVXLGQA.js");
277
+ const { bundleToSingleHtml } = await import("./compiler-DUG4GFRI.js");
278
278
  const { ensureBrowser } = await import("./manager-25RJ4IZN.js");
279
- const { serveStaticProjectHtml } = await import("./staticProjectServer-MTL5UOLQ.js");
280
- const { lintProject } = await import("./lintProject-7C4U6NHF.js");
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-5O3RW44E.js");
301
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-IVCOSSDJ.js");
302
302
  const requestedGpuMode = resolveCliChromeGpuMode();
303
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-4UHHZMH7.js");
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);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  fetchLocalPageUrl
9
- } from "./chunk-CDBPBLYJ.js";
9
+ } from "./chunk-PGY4WFKL.js";
10
10
  import {
11
11
  ensureCaptureDirSync,
12
12
  writeCaptureFileSync
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  isBlockedNetworkHost,
23
23
  publicRequest
24
- } from "./chunk-UG3G4HEH.js";
24
+ } from "./chunk-LS2FSESG.js";
25
25
  import {
26
26
  DOMParser,
27
27
  parseHTML
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-ZJTSSZVG.js";
18
+ } from "./chunk-CII7LO6I.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";