@popcraft/kit 2.0.0 → 2.0.1

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 (2662) hide show
  1. package/dist/chunks/agent-RS3FUOXH.js +44 -0
  2. package/dist/chunks/audio-import-JTWHVLRE.js +125 -0
  3. package/dist/chunks/builtin-IVWW5R7O.js +121 -0
  4. package/dist/chunks/buy-credits-YRM6G2OD.js +80 -0
  5. package/dist/chunks/check-template-FT3VKHL6.js +2413 -0
  6. package/dist/chunks/chunk-22BWFKMY.js +109 -0
  7. package/dist/chunks/chunk-22FGDACV.js +74 -0
  8. package/dist/chunks/chunk-24OEAFQJ.js +117 -0
  9. package/dist/chunks/chunk-24PD6B4V.js +728 -0
  10. package/dist/chunks/chunk-24SN6LOF.js +382 -0
  11. package/dist/chunks/chunk-2AJZOZ5D.js +23 -0
  12. package/dist/chunks/chunk-2ASMTZMU.js +204 -0
  13. package/dist/chunks/chunk-2BOL6THE.js +74 -0
  14. package/dist/chunks/chunk-2C3JEKPS.js +112 -0
  15. package/dist/chunks/chunk-2CNW4MQS.js +103 -0
  16. package/dist/chunks/chunk-2CRDUUM3.js +36 -0
  17. package/dist/chunks/chunk-2E6TJ7A3.js +142 -0
  18. package/dist/chunks/chunk-2LKP4EZR.js +235 -0
  19. package/dist/chunks/chunk-2MAWYJ5S.js +276 -0
  20. package/dist/chunks/chunk-2O2LN4K2.js +23 -0
  21. package/dist/chunks/chunk-2OAKI2FI.js +47 -0
  22. package/dist/chunks/chunk-2OWO4NEH.js +1469 -0
  23. package/dist/chunks/chunk-2S6OK3TB.js +107 -0
  24. package/dist/chunks/chunk-2TUXV3RK.js +82 -0
  25. package/dist/chunks/chunk-2UERBNCY.js +96 -0
  26. package/dist/chunks/chunk-2WO3MFD6.js +33 -0
  27. package/dist/chunks/chunk-2XMYX76C.js +176 -0
  28. package/dist/chunks/chunk-2XQVTF2O.js +91 -0
  29. package/dist/chunks/chunk-2XUIEQFC.js +49 -0
  30. package/dist/chunks/chunk-2ZK4BKF3.js +150 -0
  31. package/dist/chunks/chunk-32KS4X2Z.js +60 -0
  32. package/dist/chunks/chunk-33RVPW4B.js +82 -0
  33. package/dist/chunks/chunk-34AB6HR5.js +161 -0
  34. package/dist/chunks/chunk-34JSDRER.js +361 -0
  35. package/dist/chunks/chunk-34SD6T2Q.js +23 -0
  36. package/dist/chunks/chunk-356VY7UL.js +118 -0
  37. package/dist/chunks/chunk-35A6EGAN.js +266 -0
  38. package/dist/chunks/chunk-35DPD7LA.js +272 -0
  39. package/dist/chunks/chunk-36DEAEYS.js +136 -0
  40. package/dist/chunks/chunk-37LWA7IA.js +154 -0
  41. package/dist/chunks/chunk-3C5OC2SY.js +282 -0
  42. package/dist/chunks/chunk-3CDK2SYI.js +149 -0
  43. package/dist/chunks/chunk-3CNLOXLO.js +140 -0
  44. package/dist/chunks/chunk-3DN2KWNZ.js +136 -0
  45. package/dist/chunks/chunk-3HEDPEWF.js +63 -0
  46. package/dist/chunks/chunk-3HJE2BOM.js +41 -0
  47. package/dist/chunks/chunk-3HMO67NJ.js +79 -0
  48. package/dist/chunks/chunk-3KAKAFE4.js +151 -0
  49. package/dist/chunks/chunk-3KY6CNPK.js +175 -0
  50. package/dist/chunks/chunk-3LCTLAFL.js +185 -0
  51. package/dist/chunks/chunk-3LROF4X2.js +331 -0
  52. package/dist/chunks/chunk-3MPFXCDH.js +251 -0
  53. package/dist/chunks/chunk-3RAXPWBA.js +85 -0
  54. package/dist/chunks/chunk-3RF3GGPP.js +90 -0
  55. package/dist/chunks/chunk-3V4BGAY7.js +119 -0
  56. package/dist/chunks/chunk-3VN3FYNM.js +110 -0
  57. package/dist/chunks/chunk-3WDKF6I7.js +226 -0
  58. package/dist/chunks/chunk-3ZF54K2K.js +98 -0
  59. package/dist/chunks/chunk-3ZNKHRYZ.js +99 -0
  60. package/dist/chunks/chunk-42KDQFX7.js +287 -0
  61. package/dist/chunks/chunk-42Y22JBU.js +157 -0
  62. package/dist/chunks/chunk-436ISUMQ.js +172 -0
  63. package/dist/chunks/chunk-43U7OHPI.js +171 -0
  64. package/dist/chunks/chunk-44TBNYOV.js +258 -0
  65. package/dist/chunks/chunk-44YCPZLE.js +33 -0
  66. package/dist/chunks/chunk-45SII4L7.js +23 -0
  67. package/dist/chunks/chunk-4A6H57DA.js +47 -0
  68. package/dist/chunks/chunk-4B6ICP7L.js +105 -0
  69. package/dist/chunks/chunk-4BRFLBFV.js +92 -0
  70. package/dist/chunks/chunk-4CSOSV4P.js +95 -0
  71. package/dist/chunks/chunk-4DVCEWMC.js +70 -0
  72. package/dist/chunks/chunk-4EYL4E5S.js +36 -0
  73. package/dist/chunks/chunk-4FJU6ZDM.js +103 -0
  74. package/dist/chunks/chunk-4HXQWLBG.js +279 -0
  75. package/dist/chunks/chunk-4IWJTV2B.js +23 -0
  76. package/dist/chunks/chunk-4JSGPHU2.js +152 -0
  77. package/dist/chunks/chunk-4NQT23CP.js +145 -0
  78. package/dist/chunks/chunk-4OFYXIFM.js +320 -0
  79. package/dist/chunks/chunk-4OJ2WBFO.js +70 -0
  80. package/dist/chunks/chunk-4OKOJ4WN.js +111 -0
  81. package/dist/chunks/chunk-4OSMFXHS.js +102 -0
  82. package/dist/chunks/chunk-4PHHUEXE.js +131 -0
  83. package/dist/chunks/chunk-4RDOD3F6.js +251 -0
  84. package/dist/chunks/chunk-4RO6EE5C.js +30 -0
  85. package/dist/chunks/chunk-4TZC4YFW.js +198 -0
  86. package/dist/chunks/chunk-4V7GLC6B.js +103 -0
  87. package/dist/chunks/chunk-4VBBAZ5X.js +177 -0
  88. package/dist/chunks/chunk-4VGRFAZO.js +123 -0
  89. package/dist/chunks/chunk-4VQPEUUT.js +117 -0
  90. package/dist/chunks/chunk-4XJERPHI.js +293 -0
  91. package/dist/chunks/chunk-4XSEGIBR.js +23 -0
  92. package/dist/chunks/chunk-4ZFGUOSI.js +41 -0
  93. package/dist/chunks/chunk-54BDAMB4.js +220 -0
  94. package/dist/chunks/chunk-572H7SO4.js +213 -0
  95. package/dist/chunks/chunk-57JXRDCB.js +110 -0
  96. package/dist/chunks/chunk-5B4TBS3J.js +145 -0
  97. package/dist/chunks/chunk-5EELXM44.js +107 -0
  98. package/dist/chunks/chunk-5GSFQBXH.js +152 -0
  99. package/dist/chunks/chunk-5H5XSXBR.js +118 -0
  100. package/dist/chunks/chunk-5HX3IITE.js +212 -0
  101. package/dist/chunks/chunk-5JAJXMKF.js +118 -0
  102. package/dist/chunks/chunk-5NPP4PGG.js +181 -0
  103. package/dist/chunks/chunk-5OSWJ5IC.js +96 -0
  104. package/dist/chunks/chunk-5PF2UEP4.js +115 -0
  105. package/dist/chunks/chunk-5S67HC3J.js +33 -0
  106. package/dist/chunks/chunk-5SR6IFB6.js +90 -0
  107. package/dist/chunks/chunk-5TQOUOPK.js +151 -0
  108. package/dist/chunks/chunk-5WO7TNZS.js +247 -0
  109. package/dist/chunks/chunk-5WUVN7GM.js +898 -0
  110. package/dist/chunks/chunk-5YWZWLYL.js +174 -0
  111. package/dist/chunks/chunk-62452IH2.js +163 -0
  112. package/dist/chunks/chunk-62SYONAO.js +78 -0
  113. package/dist/chunks/chunk-62TMYKAA.js +150 -0
  114. package/dist/chunks/chunk-64MY37WJ.js +48 -0
  115. package/dist/chunks/chunk-65Z556EW.js +127 -0
  116. package/dist/chunks/chunk-67CI6Q3R.js +70 -0
  117. package/dist/chunks/chunk-6BNSODLB.js +97 -0
  118. package/dist/chunks/chunk-6CNK7JLP.js +155 -0
  119. package/dist/chunks/chunk-6D3PGN4L.js +198 -0
  120. package/dist/chunks/chunk-6D5Z63SY.js +69 -0
  121. package/dist/chunks/chunk-6DIWDU3P.js +156 -0
  122. package/dist/chunks/chunk-6EU4HURO.js +153 -0
  123. package/dist/chunks/chunk-6FNBMKZ5.js +133 -0
  124. package/dist/chunks/chunk-6JW6SXSB.js +265 -0
  125. package/dist/chunks/chunk-6LXM6NI4.js +117 -0
  126. package/dist/chunks/chunk-6LYA6YHW.js +80 -0
  127. package/dist/chunks/chunk-6MGI7TFI.js +115 -0
  128. package/dist/chunks/chunk-6MHUJ6IO.js +140 -0
  129. package/dist/chunks/chunk-6OEOJ55R.js +33 -0
  130. package/dist/chunks/chunk-6PJE2MZU.js +199 -0
  131. package/dist/chunks/chunk-6PZEHIXD.js +146 -0
  132. package/dist/chunks/chunk-6RMA5WCZ.js +45 -0
  133. package/dist/chunks/chunk-6RON35TB.js +222 -0
  134. package/dist/chunks/chunk-6S3USZAL.js +218 -0
  135. package/dist/chunks/chunk-6T3TUQ4M.js +70 -0
  136. package/dist/chunks/chunk-6ULS3X3L.js +23 -0
  137. package/dist/chunks/chunk-6YC3WGBU.js +399 -0
  138. package/dist/chunks/chunk-6Z22MN35.js +117 -0
  139. package/dist/chunks/chunk-6ZKVUAEY.js +23 -0
  140. package/dist/chunks/chunk-73B5QI3C.js +100 -0
  141. package/dist/chunks/chunk-75HYVHKR.js +147 -0
  142. package/dist/chunks/chunk-75KT5KVO.js +33 -0
  143. package/dist/chunks/chunk-76WPIQKV.js +86 -0
  144. package/dist/chunks/chunk-77YCS7QL.js +231 -0
  145. package/dist/chunks/chunk-7CAGPU7B.js +1136 -0
  146. package/dist/chunks/chunk-7DBJAOZD.js +23 -0
  147. package/dist/chunks/chunk-7E6XFENB.js +195 -0
  148. package/dist/chunks/chunk-7EORF6ZG.js +303 -0
  149. package/dist/chunks/chunk-7FC3HXFN.js +1403 -0
  150. package/dist/chunks/chunk-7FHTM6PI.js +112 -0
  151. package/dist/chunks/chunk-7GM6L6KG.js +88 -0
  152. package/dist/chunks/chunk-7GW4GMES.js +87 -0
  153. package/dist/chunks/chunk-7HKKWAJS.js +87 -0
  154. package/dist/chunks/chunk-7HS5CYEH.js +84 -0
  155. package/dist/chunks/chunk-7I52INC2.js +78 -0
  156. package/dist/chunks/chunk-7JXY4YZZ.js +182 -0
  157. package/dist/chunks/chunk-7LR3I7NB.js +163 -0
  158. package/dist/chunks/chunk-7MUGYRAM.js +304 -0
  159. package/dist/chunks/chunk-7OQEXDWF.js +237 -0
  160. package/dist/chunks/chunk-7RUVCWFB.js +100 -0
  161. package/dist/chunks/chunk-7TNYFX2B.js +161 -0
  162. package/dist/chunks/chunk-7TXTAF73.js +559 -0
  163. package/dist/chunks/chunk-7UQ2ZIXX.js +45 -0
  164. package/dist/chunks/chunk-7VBMMNXJ.js +84 -0
  165. package/dist/chunks/chunk-7X5YCEJC.js +23 -0
  166. package/dist/chunks/chunk-7XMSSM5Y.js +147 -0
  167. package/dist/chunks/chunk-7Y3HLE6K.js +164 -0
  168. package/dist/chunks/chunk-7ZSXIS7R.js +185 -0
  169. package/dist/chunks/chunk-7ZUCKFK7.js +53 -0
  170. package/dist/chunks/chunk-A256CV2X.js +188 -0
  171. package/dist/chunks/chunk-A3NLNEZO.js +176 -0
  172. package/dist/chunks/chunk-A4CB47TD.js +284 -0
  173. package/dist/chunks/chunk-A7FFX52M.js +138 -0
  174. package/dist/chunks/chunk-A7NJESLP.js +119 -0
  175. package/dist/chunks/chunk-A7PE2QPN.js +33 -0
  176. package/dist/chunks/chunk-AAAKGCG4.js +198 -0
  177. package/dist/chunks/chunk-AATECGFF.js +217 -0
  178. package/dist/chunks/chunk-ABPNH6SL.js +98 -0
  179. package/dist/chunks/chunk-ABUZ35BU.js +139 -0
  180. package/dist/chunks/chunk-AD4ZYMWP.js +209 -0
  181. package/dist/chunks/chunk-AEE6DIVV.js +33 -0
  182. package/dist/chunks/chunk-AESWTLV5.js +97 -0
  183. package/dist/chunks/chunk-AEVRVQWI.js +1574 -0
  184. package/dist/chunks/chunk-AF5VUFSV.js +172 -0
  185. package/dist/chunks/chunk-AFIWYYIW.js +150 -0
  186. package/dist/chunks/chunk-AFLHAPMK.js +97 -0
  187. package/dist/chunks/chunk-AFV3ZJVT.js +162 -0
  188. package/dist/chunks/chunk-AHC2I76I.js +124 -0
  189. package/dist/chunks/chunk-AHYQLTHV.js +84 -0
  190. package/dist/chunks/chunk-AI5BTY4R.js +52 -0
  191. package/dist/chunks/chunk-AKUZGOWU.js +242 -0
  192. package/dist/chunks/chunk-ALK7BGFJ.js +191 -0
  193. package/dist/chunks/chunk-AM4GQ6UD.js +230 -0
  194. package/dist/chunks/chunk-ANYSAKHS.js +188 -0
  195. package/dist/chunks/chunk-ANZYGQGV.js +252 -0
  196. package/dist/chunks/chunk-AOQJSUZP.js +152 -0
  197. package/dist/chunks/chunk-AS332QIP.js +266 -0
  198. package/dist/chunks/chunk-AUPMB6ZM.js +210 -0
  199. package/dist/chunks/chunk-AWNNQU4L.js +180 -0
  200. package/dist/chunks/chunk-AXZTAGDM.js +192 -0
  201. package/dist/chunks/chunk-AYHKZ3YG.js +23 -0
  202. package/dist/chunks/chunk-B2HXAWRY.js +23 -0
  203. package/dist/chunks/chunk-B3JS7O54.js +95 -0
  204. package/dist/chunks/chunk-B3NLN362.js +122 -0
  205. package/dist/chunks/chunk-B53PVLF5.js +304 -0
  206. package/dist/chunks/chunk-B7DSPQ6B.js +154 -0
  207. package/dist/chunks/chunk-B7ZHHTE3.js +122 -0
  208. package/dist/chunks/chunk-BAEKDKG6.js +225 -0
  209. package/dist/chunks/chunk-BDD36ZWC.js +119 -0
  210. package/dist/chunks/chunk-BDMA5C7B.js +28 -0
  211. package/dist/chunks/chunk-BG6JR5LN.js +208 -0
  212. package/dist/chunks/chunk-BHFTYES6.js +198 -0
  213. package/dist/chunks/chunk-BITG2MWN.js +125 -0
  214. package/dist/chunks/chunk-BJ3YKV7G.js +81 -0
  215. package/dist/chunks/chunk-BJEMJCZJ.js +1419 -0
  216. package/dist/chunks/chunk-BKDY2EEP.js +98 -0
  217. package/dist/chunks/chunk-BLGT7AUD.js +180 -0
  218. package/dist/chunks/chunk-BNGZXPDQ.js +92 -0
  219. package/dist/chunks/chunk-BOGDYFBC.js +91 -0
  220. package/dist/chunks/chunk-BPIGK57H.js +180 -0
  221. package/dist/chunks/chunk-BPOBG5YN.js +120 -0
  222. package/dist/chunks/chunk-BQ4BXNF7.js +147 -0
  223. package/dist/chunks/chunk-BQ6PC34Z.js +100 -0
  224. package/dist/chunks/chunk-BQD2KWUA.js +108 -0
  225. package/dist/chunks/chunk-BREXQV4G.js +77 -0
  226. package/dist/chunks/chunk-BRWJ7CU6.js +198 -0
  227. package/dist/chunks/chunk-BTESWMFP.js +182 -0
  228. package/dist/chunks/chunk-BTFVVDM4.js +172 -0
  229. package/dist/chunks/chunk-BTOEEE4N.js +283 -0
  230. package/dist/chunks/chunk-BTZOLTUP.js +105 -0
  231. package/dist/chunks/chunk-BUA2VB4D.js +80 -0
  232. package/dist/chunks/chunk-BUH7HQMV.js +126 -0
  233. package/dist/chunks/chunk-BUWEFJWW.js +358 -0
  234. package/dist/chunks/chunk-BWCHVHDJ.js +87 -0
  235. package/dist/chunks/chunk-BWGTC4FK.js +90 -0
  236. package/dist/chunks/chunk-BX3PZC7L.js +100 -0
  237. package/dist/chunks/chunk-BZ6JZLHW.js +204 -0
  238. package/dist/chunks/chunk-BZKQQO5F.js +50 -0
  239. package/dist/chunks/chunk-C2GKMSED.js +93 -0
  240. package/dist/chunks/chunk-C5W3TT3U.js +53 -0
  241. package/dist/chunks/chunk-CCPQGD3W.js +23 -0
  242. package/dist/chunks/chunk-CDEKJ7XN.js +163 -0
  243. package/dist/chunks/chunk-CDOMVMMP.js +189 -0
  244. package/dist/chunks/chunk-CHFJUUAV.js +102 -0
  245. package/dist/chunks/chunk-CJ4N5AD4.js +23 -0
  246. package/dist/chunks/chunk-CL6VBZSB.js +92 -0
  247. package/dist/chunks/chunk-CL7AP75Y.js +287 -0
  248. package/dist/chunks/chunk-CLRN44W3.js +75 -0
  249. package/dist/chunks/chunk-CO4UTVNZ.js +113 -0
  250. package/dist/chunks/chunk-COTG4F5F.js +23 -0
  251. package/dist/chunks/chunk-CR7X2PX5.js +250 -0
  252. package/dist/chunks/chunk-CUTA7OLD.js +23 -0
  253. package/dist/chunks/chunk-CV3QR2BP.js +112 -0
  254. package/dist/chunks/chunk-CW24VQM3.js +23 -0
  255. package/dist/chunks/chunk-CW3VKWFW.js +60 -0
  256. package/dist/chunks/chunk-CWWWM3HZ.js +111 -0
  257. package/dist/chunks/chunk-CXJNSAOF.js +104 -0
  258. package/dist/chunks/chunk-CZRDPNM2.js +107 -0
  259. package/dist/chunks/chunk-D2NBF362.js +165 -0
  260. package/dist/chunks/chunk-D5FBE5PE.js +128 -0
  261. package/dist/chunks/chunk-D6MBV2UQ.js +100 -0
  262. package/dist/chunks/chunk-D7IZPPV5.js +114 -0
  263. package/dist/chunks/chunk-DDHLDNKX.js +277 -0
  264. package/dist/chunks/chunk-DDNP2A3W.js +155 -0
  265. package/dist/chunks/chunk-DE3DJHS4.js +140 -0
  266. package/dist/chunks/chunk-DEPD5ARG.js +226 -0
  267. package/dist/chunks/chunk-DF5G2P7O.js +95 -0
  268. package/dist/chunks/chunk-DFQYSOFV.js +94 -0
  269. package/dist/chunks/chunk-DGPKNOSH.js +23 -0
  270. package/dist/chunks/chunk-DHWC5GZU.js +153 -0
  271. package/dist/chunks/chunk-DHXSCSGE.js +41 -0
  272. package/dist/chunks/chunk-DIJFFNW6.js +153 -0
  273. package/dist/chunks/chunk-DJVPZTI3.js +270 -0
  274. package/dist/chunks/chunk-DKAA3PVR.js +45 -0
  275. package/dist/chunks/chunk-DKYMG7W6.js +80 -0
  276. package/dist/chunks/chunk-DMFNQELF.js +146 -0
  277. package/dist/chunks/chunk-DVF7M43L.js +97 -0
  278. package/dist/chunks/chunk-DW7VRFPR.js +94 -0
  279. package/dist/chunks/chunk-DWOSB5OG.js +36 -0
  280. package/dist/chunks/chunk-E3KSQX2C.js +54 -0
  281. package/dist/chunks/chunk-E3RDUS6J.js +305 -0
  282. package/dist/chunks/chunk-E547DCJN.js +329 -0
  283. package/dist/chunks/chunk-E5ERCS7Y.js +125 -0
  284. package/dist/chunks/chunk-E6BUVGEM.js +173 -0
  285. package/dist/chunks/chunk-E6WAJNWL.js +135 -0
  286. package/dist/chunks/chunk-E7WIDHOX.js +83 -0
  287. package/dist/chunks/chunk-EB6VKLAJ.js +234 -0
  288. package/dist/chunks/chunk-EBPSOIEX.js +134 -0
  289. package/dist/chunks/chunk-EC4DPVT5.js +139 -0
  290. package/dist/chunks/chunk-EDLLCVQF.js +153 -0
  291. package/dist/chunks/chunk-EEMK2O5N.js +684 -0
  292. package/dist/chunks/chunk-EEVNQCTV.js +100 -0
  293. package/dist/chunks/chunk-EFTPHBPV.js +141 -0
  294. package/dist/chunks/chunk-EFWNIBOC.js +152 -0
  295. package/dist/chunks/chunk-EG7WNJFZ.js +396 -0
  296. package/dist/chunks/chunk-EGEGJZ53.js +94 -0
  297. package/dist/chunks/chunk-EHD3XPWX.js +115 -0
  298. package/dist/chunks/chunk-EHI3JCQO.js +106 -0
  299. package/dist/chunks/chunk-EJ4MJX3F.js +95 -0
  300. package/dist/chunks/chunk-EJITHNSN.js +85 -0
  301. package/dist/chunks/chunk-EJW3Q7IH.js +209 -0
  302. package/dist/chunks/chunk-EQZ3DBTP.js +187 -0
  303. package/dist/chunks/chunk-ERUYVZWN.js +141 -0
  304. package/dist/chunks/chunk-ERWDZNYG.js +97 -0
  305. package/dist/chunks/chunk-ERXLK44F.js +57 -0
  306. package/dist/chunks/chunk-ESIPTDQU.js +221 -0
  307. package/dist/chunks/chunk-ET3M3L45.js +152 -0
  308. package/dist/chunks/chunk-EUDE4D7K.js +122 -0
  309. package/dist/chunks/chunk-EVJF76HM.js +163 -0
  310. package/dist/chunks/chunk-EYOTZLZU.js +150 -0
  311. package/dist/chunks/chunk-F2CTKRXI.js +48 -0
  312. package/dist/chunks/chunk-F2FMQL7K.js +33 -0
  313. package/dist/chunks/chunk-F4GWLG6D.js +462 -0
  314. package/dist/chunks/chunk-F5NYLQAB.js +53 -0
  315. package/dist/chunks/chunk-F6QGWFPB.js +145 -0
  316. package/dist/chunks/chunk-F6SANZFM.js +55 -0
  317. package/dist/chunks/chunk-F7X5VOWS.js +889 -0
  318. package/dist/chunks/chunk-FB5QNWPN.js +33 -0
  319. package/dist/chunks/chunk-FDWDRAIZ.js +158 -0
  320. package/dist/chunks/chunk-FETHDXOS.js +45 -0
  321. package/dist/chunks/chunk-FGT2PR3M.js +100 -0
  322. package/dist/chunks/chunk-FH6MB4GW.js +55 -0
  323. package/dist/chunks/chunk-FHHAH4JX.js +124 -0
  324. package/dist/chunks/chunk-FISVKK6C.js +33 -0
  325. package/dist/chunks/chunk-FJMFKIN6.js +158 -0
  326. package/dist/chunks/chunk-FNEIVQDB.js +164 -0
  327. package/dist/chunks/chunk-FPWANSII.js +95 -0
  328. package/dist/chunks/chunk-FQ3ODVZY.js +226 -0
  329. package/dist/chunks/chunk-FQ5YFJMO.js +166 -0
  330. package/dist/chunks/chunk-FQCAU4XR.js +157 -0
  331. package/dist/chunks/chunk-FT7OO4HQ.js +215 -0
  332. package/dist/chunks/chunk-FU36FPDB.js +77 -0
  333. package/dist/chunks/chunk-FVAHXWIY.js +127 -0
  334. package/dist/chunks/chunk-G26WBGPJ.js +149 -0
  335. package/dist/chunks/chunk-G3KOKY6V.js +378 -0
  336. package/dist/chunks/chunk-G46GUWS5.js +102 -0
  337. package/dist/chunks/chunk-G47UBPSH.js +155 -0
  338. package/dist/chunks/chunk-G4DND2YY.js +277 -0
  339. package/dist/chunks/chunk-G53KOC4Q.js +215 -0
  340. package/dist/chunks/chunk-G5EPTRRL.js +135 -0
  341. package/dist/chunks/chunk-GALZ2YLM.js +59 -0
  342. package/dist/chunks/chunk-GBHX43B5.js +334 -0
  343. package/dist/chunks/chunk-GCMUSV3X.js +149 -0
  344. package/dist/chunks/chunk-GDLIUWSE.js +181 -0
  345. package/dist/chunks/chunk-GDNEYB4A.js +77 -0
  346. package/dist/chunks/chunk-GHPHZCQG.js +105 -0
  347. package/dist/chunks/chunk-GICAJHIS.js +169 -0
  348. package/dist/chunks/chunk-GJPDO7I6.js +93 -0
  349. package/dist/chunks/chunk-GKQF7EEL.js +78 -0
  350. package/dist/chunks/chunk-GPKTIBCP.js +1393 -0
  351. package/dist/chunks/chunk-GPL3HMVB.js +97 -0
  352. package/dist/chunks/chunk-GRQJ3BOZ.js +96 -0
  353. package/dist/chunks/chunk-GSIGX663.js +23 -0
  354. package/dist/chunks/chunk-GSXNGDEE.js +33 -0
  355. package/dist/chunks/chunk-GTLUBIMV.js +104 -0
  356. package/dist/chunks/chunk-GUH5OQOI.js +173 -0
  357. package/dist/chunks/chunk-GWPGCYAL.js +155 -0
  358. package/dist/chunks/chunk-GYWMZPQ4.js +249 -0
  359. package/dist/chunks/chunk-H2HYMNZE.js +415 -0
  360. package/dist/chunks/chunk-H2UZYKHP.js +150 -0
  361. package/dist/chunks/chunk-H2Z5WIZP.js +225 -0
  362. package/dist/chunks/chunk-H352XCJB.js +63 -0
  363. package/dist/chunks/chunk-H4QVCQV6.js +23 -0
  364. package/dist/chunks/chunk-H4SK5XK2.js +97 -0
  365. package/dist/chunks/chunk-H5BD6PHR.js +146 -0
  366. package/dist/chunks/chunk-H6TG42U2.js +263 -0
  367. package/dist/chunks/chunk-HAEDOXDL.js +105 -0
  368. package/dist/chunks/chunk-HAHLPZQ7.js +112 -0
  369. package/dist/chunks/chunk-HBQ7VPU4.js +181 -0
  370. package/dist/chunks/chunk-HDETFPIN.js +330 -0
  371. package/dist/chunks/chunk-HG35IBKP.js +200 -0
  372. package/dist/chunks/chunk-HG3Y5ESR.js +161 -0
  373. package/dist/chunks/chunk-HH2ZVQRP.js +257 -0
  374. package/dist/chunks/chunk-HJBDANWK.js +126 -0
  375. package/dist/chunks/chunk-HJJEKFHW.js +244 -0
  376. package/dist/chunks/chunk-HJNGDHZV.js +358 -0
  377. package/dist/chunks/chunk-HLZGX7HB.js +144 -0
  378. package/dist/chunks/chunk-HMURFIQN.js +108 -0
  379. package/dist/chunks/chunk-HNRZCIZN.js +80 -0
  380. package/dist/chunks/chunk-HOGMSTNL.js +61 -0
  381. package/dist/chunks/chunk-HP2X54EY.js +51 -0
  382. package/dist/chunks/chunk-HPFYINN3.js +45 -0
  383. package/dist/chunks/chunk-HQA6OSBL.js +95 -0
  384. package/dist/chunks/chunk-HQOQPXMB.js +151 -0
  385. package/dist/chunks/chunk-HSTYJJJN.js +327 -0
  386. package/dist/chunks/chunk-HSZV7ZER.js +33 -0
  387. package/dist/chunks/chunk-HUWERBK6.js +196 -0
  388. package/dist/chunks/chunk-HXAYTOWN.js +45 -0
  389. package/dist/chunks/chunk-HYJ6EQAR.js +191 -0
  390. package/dist/chunks/chunk-HYOWCCUC.js +187 -0
  391. package/dist/chunks/chunk-I3S53MUL.js +23 -0
  392. package/dist/chunks/chunk-I4K6ISEA.js +123 -0
  393. package/dist/chunks/chunk-I5AQTS6L.js +33 -0
  394. package/dist/chunks/chunk-IB65ADPO.js +178 -0
  395. package/dist/chunks/chunk-IDT2MRKB.js +255 -0
  396. package/dist/chunks/chunk-IHO37NQ6.js +299 -0
  397. package/dist/chunks/chunk-IHUMZKMT.js +346 -0
  398. package/dist/chunks/chunk-II4H4JYF.js +33 -0
  399. package/dist/chunks/chunk-II52KAJB.js +118 -0
  400. package/dist/chunks/chunk-IIE24S5U.js +133 -0
  401. package/dist/chunks/chunk-IJXMVWTS.js +207 -0
  402. package/dist/chunks/chunk-ILRQOCLP.js +84 -0
  403. package/dist/chunks/chunk-INIGVJV7.js +104 -0
  404. package/dist/chunks/chunk-IOGNMJEI.js +145 -0
  405. package/dist/chunks/chunk-IPJVIWZO.js +92 -0
  406. package/dist/chunks/chunk-IQE7M6ER.js +320 -0
  407. package/dist/chunks/chunk-IQY2JUU3.js +55 -0
  408. package/dist/chunks/chunk-ISQY6SEP.js +146 -0
  409. package/dist/chunks/chunk-IUNA5S6S.js +23 -0
  410. package/dist/chunks/chunk-IWJXE4SI.js +192 -0
  411. package/dist/chunks/chunk-IXGOJYST.js +99 -0
  412. package/dist/chunks/chunk-J25U5P2Z.js +159 -0
  413. package/dist/chunks/chunk-J2TTCFAI.js +93 -0
  414. package/dist/chunks/chunk-J4MREGUV.js +112 -0
  415. package/dist/chunks/chunk-J57MSR45.js +135 -0
  416. package/dist/chunks/chunk-J6N4VNCH.js +206 -0
  417. package/dist/chunks/chunk-J75PNHXX.js +337 -0
  418. package/dist/chunks/chunk-J7P6VR3W.js +39 -0
  419. package/dist/chunks/chunk-J7Z6LABN.js +86 -0
  420. package/dist/chunks/chunk-JCX75KWD.js +165 -0
  421. package/dist/chunks/chunk-JEBI5VGB.js +33 -0
  422. package/dist/chunks/chunk-JEIHP4RL.js +81 -0
  423. package/dist/chunks/chunk-JGH7DVOY.js +159 -0
  424. package/dist/chunks/chunk-JH55LWXE.js +33 -0
  425. package/dist/chunks/chunk-JI555FYG.js +391 -0
  426. package/dist/chunks/chunk-JIFP4ESM.js +95 -0
  427. package/dist/chunks/chunk-JK5SSLPT.js +351 -0
  428. package/dist/chunks/chunk-JL7AFOSA.js +261 -0
  429. package/dist/chunks/chunk-JMLTHAW2.js +110 -0
  430. package/dist/chunks/chunk-JN7R72GT.js +120 -0
  431. package/dist/chunks/chunk-JOSZIMMK.js +23 -0
  432. package/dist/chunks/chunk-JQXLWHNV.js +65 -0
  433. package/dist/chunks/chunk-JRPCGVKL.js +45 -0
  434. package/dist/chunks/chunk-JSBHWMPG.js +102 -0
  435. package/dist/chunks/chunk-JSSK4J34.js +106 -0
  436. package/dist/chunks/chunk-JVH7ZPJX.js +151 -0
  437. package/dist/chunks/chunk-JVYKAV2D.js +114 -0
  438. package/dist/chunks/chunk-JXHR7OEX.js +30 -0
  439. package/dist/chunks/chunk-JXR3BKFD.js +174 -0
  440. package/dist/chunks/chunk-K2QQZYQD.js +135 -0
  441. package/dist/chunks/chunk-K3KF6LLO.js +109 -0
  442. package/dist/chunks/chunk-K4TYBVPO.js +194 -0
  443. package/dist/chunks/chunk-K7WB24UF.js +85 -0
  444. package/dist/chunks/chunk-KB646A4H.js +214 -0
  445. package/dist/chunks/chunk-KDM3HHI2.js +139 -0
  446. package/dist/chunks/chunk-KEHUTLNX.js +184 -0
  447. package/dist/chunks/chunk-KFP3F4UR.js +100 -0
  448. package/dist/chunks/chunk-KGQIS3LZ.js +152 -0
  449. package/dist/chunks/chunk-KGR5FYCY.js +80 -0
  450. package/dist/chunks/chunk-KHHZVJRF.js +89 -0
  451. package/dist/chunks/chunk-KIPYM566.js +108 -0
  452. package/dist/chunks/chunk-KIW3SWDM.js +168 -0
  453. package/dist/chunks/chunk-KKSWHPVU.js +182 -0
  454. package/dist/chunks/chunk-KLO46IZ2.js +119 -0
  455. package/dist/chunks/chunk-KN3Y6EZY.js +105 -0
  456. package/dist/chunks/chunk-KOIBYRH6.js +77 -0
  457. package/dist/chunks/chunk-KQQ4WQSB.js +133 -0
  458. package/dist/chunks/chunk-KRJWKISC.js +33 -0
  459. package/dist/chunks/chunk-KT3SCNRZ.js +84 -0
  460. package/dist/chunks/chunk-KU5MDYJU.js +72 -0
  461. package/dist/chunks/chunk-KWH7E6XC.js +125 -0
  462. package/dist/chunks/chunk-KYDOG7JP.js +93 -0
  463. package/dist/chunks/chunk-KYUWPD26.js +136 -0
  464. package/dist/chunks/chunk-L2HZ5QFV.js +122 -0
  465. package/dist/chunks/chunk-L4LLU4OR.js +77 -0
  466. package/dist/chunks/chunk-LAD77O5F.js +178 -0
  467. package/dist/chunks/chunk-LAHAW23S.js +97 -0
  468. package/dist/chunks/chunk-LC5KOCVW.js +106 -0
  469. package/dist/chunks/chunk-LCBX65MQ.js +969 -0
  470. package/dist/chunks/chunk-LD5DK63W.js +23 -0
  471. package/dist/chunks/chunk-LDPYDVM6.js +140 -0
  472. package/dist/chunks/chunk-LDQ35LVC.js +33 -0
  473. package/dist/chunks/chunk-LETCYNV7.js +626 -0
  474. package/dist/chunks/chunk-LGY7REUL.js +232 -0
  475. package/dist/chunks/chunk-LHMCKV65.js +66 -0
  476. package/dist/chunks/chunk-LIIYJFRB.js +204 -0
  477. package/dist/chunks/chunk-LIQG3BT3.js +130 -0
  478. package/dist/chunks/chunk-LIQPADZI.js +197 -0
  479. package/dist/chunks/chunk-LJR5TBRT.js +106 -0
  480. package/dist/chunks/chunk-LLJD4ZH2.js +170 -0
  481. package/dist/chunks/chunk-LNBRTXX2.js +512 -0
  482. package/dist/chunks/chunk-LOGJKLGZ.js +69 -0
  483. package/dist/chunks/chunk-LOKRB4BK.js +163 -0
  484. package/dist/chunks/chunk-LOLJ3NQG.js +138 -0
  485. package/dist/chunks/chunk-LPSWXSC6.js +66 -0
  486. package/dist/chunks/chunk-LTKGMDDL.js +147 -0
  487. package/dist/chunks/chunk-LYMQLJQL.js +93 -0
  488. package/dist/chunks/chunk-LYWO4OVL.js +177 -0
  489. package/dist/chunks/chunk-M2RHCOEM.js +95 -0
  490. package/dist/chunks/chunk-M2S4TLGP.js +122 -0
  491. package/dist/chunks/chunk-M37J5AXF.js +166 -0
  492. package/dist/chunks/chunk-M3BSKUTQ.js +106 -0
  493. package/dist/chunks/chunk-M3WSXWQZ.js +23 -0
  494. package/dist/chunks/chunk-M4KJ3FTU.js +33 -0
  495. package/dist/chunks/chunk-M7555UMD.js +303 -0
  496. package/dist/chunks/chunk-MA3ZYAKV.js +103 -0
  497. package/dist/chunks/chunk-MA56YJ2B.js +422 -0
  498. package/dist/chunks/chunk-MAC6KUUA.js +23 -0
  499. package/dist/chunks/chunk-MBLRF6V3.js +142 -0
  500. package/dist/chunks/chunk-MCM7JM3K.js +68 -0
  501. package/dist/chunks/chunk-MDGL63M7.js +167 -0
  502. package/dist/chunks/chunk-MEIELUWQ.js +390 -0
  503. package/dist/chunks/chunk-MGMQ2KJU.js +292 -0
  504. package/dist/chunks/chunk-MHYCNNBP.js +317 -0
  505. package/dist/chunks/chunk-MJO252B2.js +121 -0
  506. package/dist/chunks/chunk-MJOPADHH.js +45 -0
  507. package/dist/chunks/chunk-MM3ZOMKJ.js +274 -0
  508. package/dist/chunks/chunk-MMMTL4S2.js +76 -0
  509. package/dist/chunks/chunk-MORGT6U3.js +172 -0
  510. package/dist/chunks/chunk-MQ2CTQPN.js +33 -0
  511. package/dist/chunks/chunk-MQ6GP7EX.js +120 -0
  512. package/dist/chunks/chunk-MTGIATR3.js +108 -0
  513. package/dist/chunks/chunk-MU3HOWKP.js +62 -0
  514. package/dist/chunks/chunk-MXXAATXX.js +77 -0
  515. package/dist/chunks/chunk-MYUISXOO.js +260 -0
  516. package/dist/chunks/chunk-MZIXR6VF.js +161 -0
  517. package/dist/chunks/chunk-MZL6S2Q6.js +160 -0
  518. package/dist/chunks/chunk-N3R5EYST.js +170 -0
  519. package/dist/chunks/chunk-N5E7IOII.js +646 -0
  520. package/dist/chunks/chunk-N652KEJF.js +33 -0
  521. package/dist/chunks/chunk-N77LLMN4.js +109 -0
  522. package/dist/chunks/chunk-N7FGRZH7.js +121 -0
  523. package/dist/chunks/chunk-N7QELHZD.js +23 -0
  524. package/dist/chunks/chunk-NADK3ZPZ.js +177 -0
  525. package/dist/chunks/chunk-NBGUWYGK.js +101 -0
  526. package/dist/chunks/chunk-NCOD4UFL.js +94 -0
  527. package/dist/chunks/chunk-NF7MPL4T.js +202 -0
  528. package/dist/chunks/chunk-NG6VXEEL.js +123 -0
  529. package/dist/chunks/chunk-NGR3QIJW.js +169 -0
  530. package/dist/chunks/chunk-NHDOQPUU.js +961 -0
  531. package/dist/chunks/chunk-NHGVB5WB.js +267 -0
  532. package/dist/chunks/chunk-NJCJ2GN3.js +84 -0
  533. package/dist/chunks/chunk-NLBDX563.js +197 -0
  534. package/dist/chunks/chunk-NLJNFR4D.js +109 -0
  535. package/dist/chunks/chunk-NLP7LQUA.js +200 -0
  536. package/dist/chunks/chunk-NLSBRC7R.js +41 -0
  537. package/dist/chunks/chunk-NOYHKOLE.js +106 -0
  538. package/dist/chunks/chunk-NP43XRCO.js +33 -0
  539. package/dist/chunks/chunk-NP7VUGFB.js +89 -0
  540. package/dist/chunks/chunk-NPZVIDKL.js +53 -0
  541. package/dist/chunks/chunk-NR3ETE6E.js +133 -0
  542. package/dist/chunks/chunk-NRBYOTD4.js +38 -0
  543. package/dist/chunks/chunk-NRNJPO47.js +312 -0
  544. package/dist/chunks/chunk-NRWQXLBS.js +112 -0
  545. package/dist/chunks/chunk-NRX7V5RS.js +84 -0
  546. package/dist/chunks/chunk-NWUOEY3N.js +86 -0
  547. package/dist/chunks/chunk-NZ6HG3ZK.js +130 -0
  548. package/dist/chunks/chunk-NZKVA5TS.js +163 -0
  549. package/dist/chunks/chunk-O2WJE5KA.js +23 -0
  550. package/dist/chunks/chunk-O2WKZUNJ.js +497 -0
  551. package/dist/chunks/chunk-O5XBCI4F.js +362 -0
  552. package/dist/chunks/chunk-O6WIL2TR.js +137 -0
  553. package/dist/chunks/chunk-OBSU3P4D.js +178 -0
  554. package/dist/chunks/chunk-OG3HYZLC.js +113 -0
  555. package/dist/chunks/chunk-OHLHOQJK.js +81 -0
  556. package/dist/chunks/chunk-OIMOWJFK.js +261 -0
  557. package/dist/chunks/chunk-OIUVYBZP.js +183 -0
  558. package/dist/chunks/chunk-OKKXZJBC.js +777 -0
  559. package/dist/chunks/chunk-OLD3GDSH.js +179 -0
  560. package/dist/chunks/chunk-OMT3HYIB.js +282 -0
  561. package/dist/chunks/chunk-ONS4NBZ7.js +48 -0
  562. package/dist/chunks/chunk-ONWWHEMU.js +181 -0
  563. package/dist/chunks/chunk-OOT4ZGYE.js +305 -0
  564. package/dist/chunks/chunk-OPDH6JAE.js +307 -0
  565. package/dist/chunks/chunk-ORVFMO2O.js +80 -0
  566. package/dist/chunks/chunk-OSMWZTAJ.js +298 -0
  567. package/dist/chunks/chunk-OTN6QTDG.js +83 -0
  568. package/dist/chunks/chunk-OV343S3D.js +179 -0
  569. package/dist/chunks/chunk-OVGMJABD.js +33 -0
  570. package/dist/chunks/chunk-OVYJELTT.js +42 -0
  571. package/dist/chunks/chunk-OXKHXV7J.js +270 -0
  572. package/dist/chunks/chunk-OYOIIYGW.js +156 -0
  573. package/dist/chunks/chunk-OYTEIUMU.js +123 -0
  574. package/dist/chunks/chunk-OZ4NCP2D.js +33 -0
  575. package/dist/chunks/chunk-P2FUPFA5.js +217 -0
  576. package/dist/chunks/chunk-P43YJHNK.js +79 -0
  577. package/dist/chunks/chunk-P4IE7MK5.js +45 -0
  578. package/dist/chunks/chunk-P567523H.js +191 -0
  579. package/dist/chunks/chunk-PAO64QZA.js +250 -0
  580. package/dist/chunks/chunk-PCP4AT2W.js +44 -0
  581. package/dist/chunks/chunk-PCVYSBS4.js +122 -0
  582. package/dist/chunks/chunk-PD7POZC3.js +89 -0
  583. package/dist/chunks/chunk-PDA6U2CD.js +2168 -0
  584. package/dist/chunks/chunk-PDP4ZKX7.js +255 -0
  585. package/dist/chunks/chunk-PGU5K5D6.js +194 -0
  586. package/dist/chunks/chunk-PKOQZHV5.js +23 -0
  587. package/dist/chunks/chunk-PL5V5SSZ.js +106 -0
  588. package/dist/chunks/chunk-PMNTFGXM.js +112 -0
  589. package/dist/chunks/chunk-PN44HK4O.js +170 -0
  590. package/dist/chunks/chunk-PNCVGLRG.js +168 -0
  591. package/dist/chunks/chunk-PNGSRART.js +23 -0
  592. package/dist/chunks/chunk-POXVW3DV.js +74 -0
  593. package/dist/chunks/chunk-PP2ILW3M.js +156 -0
  594. package/dist/chunks/chunk-PQALLIVU.js +101 -0
  595. package/dist/chunks/chunk-PQDTQODZ.js +190 -0
  596. package/dist/chunks/chunk-PR6GSYWJ.js +327 -0
  597. package/dist/chunks/chunk-PSFAKL53.js +45 -0
  598. package/dist/chunks/chunk-PT5NRFFL.js +83 -0
  599. package/dist/chunks/chunk-PU7TLYYE.js +183 -0
  600. package/dist/chunks/chunk-PUK6FD7A.js +83 -0
  601. package/dist/chunks/chunk-PVFGJIK3.js +342 -0
  602. package/dist/chunks/chunk-PW3WJB2P.js +81 -0
  603. package/dist/chunks/chunk-PYC7Y6IR.js +108 -0
  604. package/dist/chunks/chunk-Q2TO6EHO.js +161 -0
  605. package/dist/chunks/chunk-QCMMEGSQ.js +193 -0
  606. package/dist/chunks/chunk-QELYSHVC.js +848 -0
  607. package/dist/chunks/chunk-QFP7YT3C.js +206 -0
  608. package/dist/chunks/chunk-QGDBR4ME.js +375 -0
  609. package/dist/chunks/chunk-QIEFKU62.js +326 -0
  610. package/dist/chunks/chunk-QK2WWDFU.js +54 -0
  611. package/dist/chunks/chunk-QK5B2HBS.js +307 -0
  612. package/dist/chunks/chunk-QNGL2YY7.js +147 -0
  613. package/dist/chunks/chunk-QNH5VED3.js +163 -0
  614. package/dist/chunks/chunk-QNMAEHPB.js +91 -0
  615. package/dist/chunks/chunk-QPOFCXUH.js +172 -0
  616. package/dist/chunks/chunk-QRZV2OBO.js +45 -0
  617. package/dist/chunks/chunk-QSNKBA5O.js +33 -0
  618. package/dist/chunks/chunk-QTDG5OH6.js +87 -0
  619. package/dist/chunks/chunk-QTIJL5SP.js +232 -0
  620. package/dist/chunks/chunk-QTQNT4A5.js +194 -0
  621. package/dist/chunks/chunk-QUAV3GFT.js +128 -0
  622. package/dist/chunks/chunk-QV7GPU45.js +213 -0
  623. package/dist/chunks/chunk-QVW5TKRW.js +192 -0
  624. package/dist/chunks/chunk-QXOZSDFP.js +278 -0
  625. package/dist/chunks/chunk-R6RHMJIV.js +102 -0
  626. package/dist/chunks/chunk-R7SIFAMQ.js +1834 -0
  627. package/dist/chunks/chunk-R7UUCQTK.js +187 -0
  628. package/dist/chunks/chunk-RBHKH3GR.js +199 -0
  629. package/dist/chunks/chunk-RBODCCN2.js +50 -0
  630. package/dist/chunks/chunk-RD6OM3UD.js +146 -0
  631. package/dist/chunks/chunk-RDGZQJ2Q.js +130 -0
  632. package/dist/chunks/chunk-RDMJAWFN.js +52 -0
  633. package/dist/chunks/chunk-RG2WRCVL.js +13729 -0
  634. package/dist/chunks/chunk-RH3QDH23.js +368 -0
  635. package/dist/chunks/chunk-RH4QOO6B.js +81 -0
  636. package/dist/chunks/chunk-RHFDKKCY.js +103 -0
  637. package/dist/chunks/chunk-RHXETOKL.js +238 -0
  638. package/dist/chunks/chunk-RIUR42EK.js +33 -0
  639. package/dist/chunks/chunk-RKPX4IXW.js +104 -0
  640. package/dist/chunks/chunk-RLEVNE4Z.js +65 -0
  641. package/dist/chunks/chunk-RMAOXSOE.js +174 -0
  642. package/dist/chunks/chunk-RNHTCMLQ.js +149 -0
  643. package/dist/chunks/chunk-ROMAKG2E.js +104 -0
  644. package/dist/chunks/chunk-RUCVOIAV.js +215 -0
  645. package/dist/chunks/chunk-RVY2BDHJ.js +262 -0
  646. package/dist/chunks/chunk-S24JVUZ6.js +71 -0
  647. package/dist/chunks/chunk-S25JSO4I.js +777 -0
  648. package/dist/chunks/chunk-S2GAPDUX.js +167 -0
  649. package/dist/chunks/chunk-S32SEM2O.js +94 -0
  650. package/dist/chunks/chunk-S52F63L3.js +33 -0
  651. package/dist/chunks/chunk-SAALMHAN.js +78 -0
  652. package/dist/chunks/chunk-SFGXZQHH.js +122 -0
  653. package/dist/chunks/chunk-SFRJBBEB.js +184 -0
  654. package/dist/chunks/chunk-SHMG4674.js +220 -0
  655. package/dist/chunks/chunk-SIZZ4USN.js +23 -0
  656. package/dist/chunks/chunk-SKBC5QRP.js +97 -0
  657. package/dist/chunks/chunk-SL5OW5MG.js +169 -0
  658. package/dist/chunks/chunk-SLGS6HKX.js +224 -0
  659. package/dist/chunks/chunk-SMJG2MGE.js +23 -0
  660. package/dist/chunks/chunk-SNIZSVCC.js +55 -0
  661. package/dist/chunks/chunk-SPT36YLL.js +36 -0
  662. package/dist/chunks/chunk-SQAXRHYK.js +123 -0
  663. package/dist/chunks/chunk-SRASDDYT.js +170 -0
  664. package/dist/chunks/chunk-STEWM7QO.js +108 -0
  665. package/dist/chunks/chunk-SV2STDY7.js +131 -0
  666. package/dist/chunks/chunk-SWM6YBYV.js +361 -0
  667. package/dist/chunks/chunk-SX7VOT2N.js +152 -0
  668. package/dist/chunks/chunk-T4B7SBSK.js +85 -0
  669. package/dist/chunks/chunk-T5CNKOPQ.js +261 -0
  670. package/dist/chunks/chunk-T5QJJYEC.js +101 -0
  671. package/dist/chunks/chunk-T6QUY7ML.js +324 -0
  672. package/dist/chunks/chunk-T7A53G4A.js +248 -0
  673. package/dist/chunks/chunk-TASTW64R.js +82 -0
  674. package/dist/chunks/chunk-TAZSGYEF.js +138 -0
  675. package/dist/chunks/chunk-TCVEFD2V.js +166 -0
  676. package/dist/chunks/chunk-TDQYYA5V.js +23 -0
  677. package/dist/chunks/chunk-TF323EOK.js +115 -0
  678. package/dist/chunks/chunk-TFFUBL3N.js +60 -0
  679. package/dist/chunks/chunk-THKBYEMN.js +147 -0
  680. package/dist/chunks/chunk-THZGQSWE.js +23 -0
  681. package/dist/chunks/chunk-TI7VRB6R.js +33 -0
  682. package/dist/chunks/chunk-TIKUHYZ3.js +77 -0
  683. package/dist/chunks/chunk-TIL6LFVN.js +10754 -0
  684. package/dist/chunks/chunk-TJD2HRUF.js +80 -0
  685. package/dist/chunks/chunk-TLPYI2NI.js +190 -0
  686. package/dist/chunks/chunk-TM4MU7TO.js +360 -0
  687. package/dist/chunks/chunk-TP7IPISR.js +93 -0
  688. package/dist/chunks/chunk-TQXSOQCP.js +94 -0
  689. package/dist/chunks/chunk-TRN6LKBZ.js +242 -0
  690. package/dist/chunks/chunk-TS3ZKPA2.js +131 -0
  691. package/dist/chunks/chunk-TSZB27DR.js +260 -0
  692. package/dist/chunks/chunk-TTIKCSEB.js +105 -0
  693. package/dist/chunks/chunk-TVKRIRV7.js +175 -0
  694. package/dist/chunks/chunk-TW6NSSXK.js +410 -0
  695. package/dist/chunks/chunk-TWKL45WS.js +45 -0
  696. package/dist/chunks/chunk-TWMSBQJM.js +209 -0
  697. package/dist/chunks/chunk-TWYLXC6K.js +358 -0
  698. package/dist/chunks/chunk-TX22URYR.js +221 -0
  699. package/dist/chunks/chunk-TXLM2BMO.js +44 -0
  700. package/dist/chunks/chunk-TZQA7OE4.js +102 -0
  701. package/dist/chunks/chunk-U2CUXMI2.js +176 -0
  702. package/dist/chunks/chunk-U7RB6KDH.js +237 -0
  703. package/dist/chunks/chunk-UBRDEHN4.js +121 -0
  704. package/dist/chunks/chunk-UC67CFRN.js +315 -0
  705. package/dist/chunks/chunk-UCRHXKSH.js +262 -0
  706. package/dist/chunks/chunk-UF3GUQH5.js +30 -0
  707. package/dist/chunks/chunk-UFSGE63A.js +273 -0
  708. package/dist/chunks/chunk-UFZIN5SR.js +36 -0
  709. package/dist/chunks/chunk-UGSPAT3B.js +197 -0
  710. package/dist/chunks/chunk-UIPZR5MF.js +344 -0
  711. package/dist/chunks/chunk-UKPNJFQ3.js +200 -0
  712. package/dist/chunks/chunk-ULNKEGLN.js +149 -0
  713. package/dist/chunks/chunk-UNEXZIT4.js +130 -0
  714. package/dist/chunks/chunk-UNKG3YKJ.js +201 -0
  715. package/dist/chunks/chunk-UR6GM5BR.js +23 -0
  716. package/dist/chunks/chunk-UXA6Q2YM.js +135 -0
  717. package/dist/chunks/chunk-UYZVM67B.js +98 -0
  718. package/dist/chunks/chunk-V37LUF5O.js +196 -0
  719. package/dist/chunks/chunk-V4YU4R34.js +228 -0
  720. package/dist/chunks/chunk-V5SFZSB4.js +239 -0
  721. package/dist/chunks/chunk-V66Z2LFI.js +224 -0
  722. package/dist/chunks/chunk-V7KUM3BX.js +171 -0
  723. package/dist/chunks/chunk-V7WEN5R6.js +79 -0
  724. package/dist/chunks/chunk-VAC3BEYR.js +77 -0
  725. package/dist/chunks/chunk-VBSA5JXF.js +290 -0
  726. package/dist/chunks/chunk-VBXMQVPV.js +94 -0
  727. package/dist/chunks/chunk-VEC2YS4Y.js +141 -0
  728. package/dist/chunks/chunk-VFKBU6WS.js +1309 -0
  729. package/dist/chunks/chunk-VGQFXFFC.js +88 -0
  730. package/dist/chunks/chunk-VHHVC3E7.js +366 -0
  731. package/dist/chunks/chunk-VIK5RVZO.js +143 -0
  732. package/dist/chunks/chunk-VIRE2IJM.js +23 -0
  733. package/dist/chunks/chunk-VJ4PDTYT.js +139 -0
  734. package/dist/chunks/chunk-VLFL4ZR7.js +50 -0
  735. package/dist/chunks/chunk-VLPKE5OM.js +33 -0
  736. package/dist/chunks/chunk-VMEIJMND.js +304 -0
  737. package/dist/chunks/chunk-VMXKPZKD.js +23 -0
  738. package/dist/chunks/chunk-VNVQCXES.js +83 -0
  739. package/dist/chunks/chunk-VO2G6W4R.js +49 -0
  740. package/dist/chunks/chunk-VOJ32H27.js +336 -0
  741. package/dist/chunks/chunk-VQMJYJNV.js +1307 -0
  742. package/dist/chunks/chunk-VQPABUEC.js +366 -0
  743. package/dist/chunks/chunk-VQYOV3MN.js +73 -0
  744. package/dist/chunks/chunk-VRTGUNT2.js +33 -0
  745. package/dist/chunks/chunk-VVRIX3LG.js +338 -0
  746. package/dist/chunks/chunk-VYXVXJF4.js +101 -0
  747. package/dist/chunks/chunk-VZXQIJXG.js +163 -0
  748. package/dist/chunks/chunk-W23BLXPT.js +78 -0
  749. package/dist/chunks/chunk-W2R45YDM.js +95 -0
  750. package/dist/chunks/chunk-W3EIUFJC.js +162 -0
  751. package/dist/chunks/chunk-W3NYXY5E.js +39 -0
  752. package/dist/chunks/chunk-W4YVZOAN.js +197 -0
  753. package/dist/chunks/chunk-W5B6TNG3.js +110 -0
  754. package/dist/chunks/chunk-W6B4KLZD.js +209 -0
  755. package/dist/chunks/chunk-W6ZIDU5T.js +99 -0
  756. package/dist/chunks/chunk-W7WUKI6F.js +75 -0
  757. package/dist/chunks/chunk-WB7T35FT.js +42 -0
  758. package/dist/chunks/chunk-WCLTLJZK.js +179 -0
  759. package/dist/chunks/chunk-WDOTTWO6.js +97 -0
  760. package/dist/chunks/chunk-WDSVR43E.js +111 -0
  761. package/dist/chunks/chunk-WE2HKGBH.js +652 -0
  762. package/dist/chunks/chunk-WEG75LIK.js +90 -0
  763. package/dist/chunks/chunk-WGH4CVYS.js +685 -0
  764. package/dist/chunks/chunk-WGQAKKZI.js +46 -0
  765. package/dist/chunks/chunk-WGVX6PXC.js +71 -0
  766. package/dist/chunks/chunk-WICLRDQZ.js +166 -0
  767. package/dist/chunks/chunk-WK62J56K.js +23 -0
  768. package/dist/chunks/chunk-WKKMXRUV.js +90 -0
  769. package/dist/chunks/chunk-WLLXSMNK.js +130 -0
  770. package/dist/chunks/chunk-WMJ4WBPI.js +655 -0
  771. package/dist/chunks/chunk-WNRSRDWM.js +165 -0
  772. package/dist/chunks/chunk-WORYGIZT.js +100 -0
  773. package/dist/chunks/chunk-WPXRIM5R.js +146 -0
  774. package/dist/chunks/chunk-WQ5B2GAD.js +115 -0
  775. package/dist/chunks/chunk-WQ74LRJI.js +160 -0
  776. package/dist/chunks/chunk-WQCDQOTJ.js +156 -0
  777. package/dist/chunks/chunk-WQOUZC4D.js +210 -0
  778. package/dist/chunks/chunk-WQQCF6NL.js +172 -0
  779. package/dist/chunks/chunk-WTKTLHOU.js +301 -0
  780. package/dist/chunks/chunk-WUTF3422.js +104 -0
  781. package/dist/chunks/chunk-WVOQOTWX.js +78 -0
  782. package/dist/chunks/chunk-WXI45JRY.js +165 -0
  783. package/dist/chunks/chunk-WY5UE33E.js +33 -0
  784. package/dist/chunks/chunk-X3HFUGD7.js +231 -0
  785. package/dist/chunks/chunk-X4ULTVQF.js +99 -0
  786. package/dist/chunks/chunk-X56FL55Q.js +76 -0
  787. package/dist/chunks/chunk-XBP6DUQY.js +79 -0
  788. package/dist/chunks/chunk-XBQCEVQW.js +129 -0
  789. package/dist/chunks/chunk-XCSO7XVS.js +55 -0
  790. package/dist/chunks/chunk-XDMBBQ44.js +247 -0
  791. package/dist/chunks/chunk-XDNFB4TS.js +206 -0
  792. package/dist/chunks/chunk-XF3B74OT.js +130 -0
  793. package/dist/chunks/chunk-XHG22X5P.js +134 -0
  794. package/dist/chunks/chunk-XHPPSQT7.js +97 -0
  795. package/dist/chunks/chunk-XJKYBDAO.js +282 -0
  796. package/dist/chunks/chunk-XKHIUVJ5.js +159 -0
  797. package/dist/chunks/chunk-XLCCAI5D.js +23 -0
  798. package/dist/chunks/chunk-XLHC7NTN.js +92 -0
  799. package/dist/chunks/chunk-XN325PUR.js +150 -0
  800. package/dist/chunks/chunk-XNNAHKAM.js +23 -0
  801. package/dist/chunks/chunk-XODZ6X7X.js +23 -0
  802. package/dist/chunks/chunk-XP6P2R3O.js +297 -0
  803. package/dist/chunks/chunk-XP7RQ2JB.js +195 -0
  804. package/dist/chunks/chunk-XPJSZBHK.js +73 -0
  805. package/dist/chunks/chunk-XPXPSPRM.js +86 -0
  806. package/dist/chunks/chunk-XQBS2VBJ.js +91 -0
  807. package/dist/chunks/chunk-XSCH7XGI.js +23 -0
  808. package/dist/chunks/chunk-XU3DX7AI.js +10311 -0
  809. package/dist/chunks/chunk-XVGGUBC4.js +589 -0
  810. package/dist/chunks/chunk-XXK45HVS.js +137 -0
  811. package/dist/chunks/chunk-XXSOKSUQ.js +231 -0
  812. package/dist/chunks/chunk-XZEBPBCM.js +198 -0
  813. package/dist/chunks/chunk-XZOSIBIM.js +1845 -0
  814. package/dist/chunks/chunk-XZW24X26.js +141 -0
  815. package/dist/chunks/chunk-Y3PZN3AX.js +36 -0
  816. package/dist/chunks/chunk-Y6KOUCGO.js +261 -0
  817. package/dist/chunks/chunk-Y77EGRF6.js +169 -0
  818. package/dist/chunks/chunk-Y7KZ5OF5.js +177 -0
  819. package/dist/chunks/chunk-YBKBHLEY.js +106 -0
  820. package/dist/chunks/chunk-YBUBOH3P.js +149 -0
  821. package/dist/chunks/chunk-YDLHRF4U.js +260 -0
  822. package/dist/chunks/chunk-YDXP4WTW.js +106 -0
  823. package/dist/chunks/chunk-YEO34X3A.js +160 -0
  824. package/dist/chunks/chunk-YETU2A7I.js +224 -0
  825. package/dist/chunks/chunk-YFESMKQQ.js +71 -0
  826. package/dist/chunks/chunk-YGKTGJM2.js +41 -0
  827. package/dist/chunks/chunk-YH3SSR6G.js +128 -0
  828. package/dist/chunks/chunk-YIW5VSFK.js +120 -0
  829. package/dist/chunks/chunk-YJ6LEU2J.js +78 -0
  830. package/dist/chunks/chunk-YJEHJEX4.js +47 -0
  831. package/dist/chunks/chunk-YKIKRJ74.js +84 -0
  832. package/dist/chunks/chunk-YLGRUDW6.js +166 -0
  833. package/dist/chunks/chunk-YLWIXBTK.js +118 -0
  834. package/dist/chunks/chunk-YM6PJXNQ.js +298 -0
  835. package/dist/chunks/chunk-YNB5QZDP.js +49 -0
  836. package/dist/chunks/chunk-YQX3IV5C.js +214 -0
  837. package/dist/chunks/chunk-YVWMVSVP.js +283 -0
  838. package/dist/chunks/chunk-YXUBN6Z7.js +129 -0
  839. package/dist/chunks/chunk-YXVXP4MG.js +218 -0
  840. package/dist/chunks/chunk-YZLW4DFE.js +305 -0
  841. package/dist/chunks/chunk-Z2HJGR3A.js +209 -0
  842. package/dist/chunks/chunk-Z65YVTIN.js +30 -0
  843. package/dist/chunks/chunk-ZBNBRVIV.js +45 -0
  844. package/dist/chunks/chunk-ZDWEIQIE.js +240 -0
  845. package/dist/chunks/chunk-ZEKCLU2L.js +88 -0
  846. package/dist/chunks/chunk-ZFDDNQCQ.js +311 -0
  847. package/dist/chunks/chunk-ZGQMKX4X.js +36 -0
  848. package/dist/chunks/chunk-ZHW574NT.js +45 -0
  849. package/dist/chunks/chunk-ZITOQAQM.js +274 -0
  850. package/dist/chunks/chunk-ZJ5QPIBV.js +115 -0
  851. package/dist/chunks/chunk-ZJQK6N6E.js +165 -0
  852. package/dist/chunks/chunk-ZNQEAZWK.js +36 -0
  853. package/dist/chunks/chunk-ZOZ3V5DX.js +111 -0
  854. package/dist/chunks/chunk-ZPBD3O7T.js +91 -0
  855. package/dist/chunks/chunk-ZQFETLUJ.js +122 -0
  856. package/dist/chunks/chunk-ZQXUZNCB.js +71 -0
  857. package/dist/chunks/chunk-ZSSYBVOB.js +164 -0
  858. package/dist/chunks/chunk-ZT6SX43S.js +115 -0
  859. package/dist/chunks/chunk-ZTAOLM7L.js +79 -0
  860. package/dist/chunks/chunk-ZU2G72GQ.js +157 -0
  861. package/dist/chunks/chunk-ZVNMHMKW.js +195 -0
  862. package/dist/chunks/chunk-ZXWPGQM2.js +45 -0
  863. package/dist/chunks/chunk-ZYKXKIJQ.js +157 -0
  864. package/dist/chunks/chunk-ZZOVEG7Y.js +256 -0
  865. package/dist/chunks/client-CUSZUCKL.js +168 -0
  866. package/dist/chunks/client-P2N4HJDI.js +31 -0
  867. package/dist/chunks/client-URK3YYVX.js +47 -0
  868. package/dist/chunks/client-actions-BVZPKYVU.js +170 -0
  869. package/dist/chunks/components-D2X2JWWH.js +78 -0
  870. package/dist/chunks/dangerous-VLYOJ64W.js +124 -0
  871. package/dist/chunks/delete-current-file-3O3ZC5TD.js +163 -0
  872. package/dist/chunks/dispatch-C2VG6SFM.js +21 -0
  873. package/dist/chunks/editor-seams-FDXTVQME.js +183 -0
  874. package/dist/chunks/editor-store-U3IBR5IB.js +148 -0
  875. package/dist/chunks/export-5OCOY5YP.js +67 -0
  876. package/dist/chunks/export-watermark-7V6Q2WDH.js +157 -0
  877. package/dist/chunks/eyedropper-E3CPFXF3.js +355 -0
  878. package/dist/chunks/generate-media-SINWPAL2.js +255 -0
  879. package/dist/chunks/host-LX5BAIAO.js +184 -0
  880. package/dist/chunks/host-ZCLOZGK7.js +246 -0
  881. package/dist/chunks/integrations-4D5N2HJ4.js +125 -0
  882. package/dist/chunks/libraries-UCNQ7N5Q.js +311 -0
  883. package/dist/chunks/library-previews-SYFKURM3.js +206 -0
  884. package/dist/chunks/live-H7TONE3V.js +322 -0
  885. package/dist/chunks/lottie-WJENERSB.js +91 -0
  886. package/dist/chunks/media-tool-ZZEYSUGK.js +237 -0
  887. package/dist/chunks/new-file-BVZJRZQ6.js +140 -0
  888. package/dist/chunks/next-commerce-5KRQYQY5.js +74 -0
  889. package/dist/chunks/pdf-LJ4WTABV.js +1218 -0
  890. package/dist/chunks/player-check-2PQRKOPH.js +119 -0
  891. package/dist/chunks/plugin-GLJN2F4L.js +131 -0
  892. package/dist/chunks/plugin-import-O7GNJMV2.js +692 -0
  893. package/dist/chunks/pptx-ULKYOQQZ.js +307 -0
  894. package/dist/chunks/presence-UBWVP6PY.js +137 -0
  895. package/dist/chunks/preview-media-2J6ZTIYU.js +129 -0
  896. package/dist/chunks/project-TLJSABZU.js +1601 -0
  897. package/dist/chunks/publish-site-TW46EWEK.js +167 -0
  898. package/dist/chunks/publish-store-BDAQYXHD.js +100 -0
  899. package/dist/chunks/raster-actions-HC5OLH3T.js +233 -0
  900. package/dist/chunks/reference-images-FWIKE3UF.js +62 -0
  901. package/dist/chunks/registry-IWH5W2YN.js +45 -0
  902. package/dist/chunks/resolvers-Z3GFIWPW.js +150 -0
  903. package/dist/chunks/runner-7IOB2RD3.js +3546 -0
  904. package/dist/chunks/shader-preview-5NMWMVRW.js +1 -1
  905. package/dist/chunks/store-A7CHGORL.js +235 -0
  906. package/dist/chunks/storefront-L3R5KFQ4.js +336 -0
  907. package/dist/chunks/storefront-prepare-NS6G6MMT.js +33 -0
  908. package/dist/chunks/svg-export-SXF3SN5D.js +84 -0
  909. package/dist/chunks/sync-SYCWFNRY.js +162 -0
  910. package/dist/chunks/tabs-VSF6YMCN.js +320 -0
  911. package/dist/chunks/team-6CKYUXXU.js +47 -0
  912. package/dist/chunks/team-client-6RLJ7MYM.js +158 -0
  913. package/dist/chunks/templates-VVC7NNE2.js +183 -0
  914. package/dist/chunks/tools-QK7JZ2JQ.js +37 -0
  915. package/dist/chunks/tree-FCCI3I2H.js +83 -0
  916. package/dist/chunks/ui-commands-IFHCVB6M.js +191 -0
  917. package/dist/chunks/versions-QKCND6B2.js +320 -0
  918. package/dist/chunks/video-CBPUIGXR.js +1 -1
  919. package/dist/chunks/web-E3ZJWOGA.js +186 -0
  920. package/dist/index.js +8 -7
  921. package/dist/lib/templates/capabilities.js +5 -4
  922. package/dist/lib/templates/finish.js +6 -5
  923. package/dist/migrations/index.js +8 -7
  924. package/dist/migrations/timeline-facets.js +8 -7
  925. package/dist/templates/anime/character.js +9 -8
  926. package/dist/templates/anime/duel.js +11 -10
  927. package/dist/templates/anime/morning.js +11 -10
  928. package/dist/templates/anime/rain.js +11 -10
  929. package/dist/templates/anime/shared.js +10 -9
  930. package/dist/templates/anime/starlight.js +11 -10
  931. package/dist/templates/anime/titan.js +11 -10
  932. package/dist/templates/app/festival-presale-electronic-ticket.js +10 -9
  933. package/dist/templates/app/festival-presale-family-ticket.js +10 -9
  934. package/dist/templates/app/festival-presale-folk-ticket.js +10 -9
  935. package/dist/templates/app/festival-presale-food-ticket.js +10 -9
  936. package/dist/templates/app/festival-presale-jazz-ticket.js +10 -9
  937. package/dist/templates/app/festival-presale-street-ticket.js +10 -9
  938. package/dist/templates/app/music-grove.js +8 -7
  939. package/dist/templates/app/music-nightline.js +8 -7
  940. package/dist/templates/app/music-orbit.js +8 -7
  941. package/dist/templates/app/music-undertow.js +8 -7
  942. package/dist/templates/app/onboarding-carousel.js +8 -7
  943. package/dist/templates/app/saas-store-paywall.js +8 -7
  944. package/dist/templates/app/splash.js +8 -7
  945. package/dist/templates/app/success-confetti.js +8 -7
  946. package/dist/templates/app/tour-tickets-june-ticket.js +8 -7
  947. package/dist/templates/app/tour-tickets-tide-ticket.js +8 -7
  948. package/dist/templates/app/tour-tickets-wreck-ticket.js +8 -7
  949. package/dist/templates/build.js +7 -6
  950. package/dist/templates/cards/index.js +10 -9
  951. package/dist/templates/cards/shared.js +8 -7
  952. package/dist/templates/cards/themes.js +9 -8
  953. package/dist/templates/count.js +5 -4
  954. package/dist/templates/data/bars.js +8 -7
  955. package/dist/templates/data/countdown-story.js +8 -7
  956. package/dist/templates/data/counters.js +8 -7
  957. package/dist/templates/data/donut.js +8 -7
  958. package/dist/templates/data/line.js +8 -7
  959. package/dist/templates/data/year-in-review.js +8 -7
  960. package/dist/templates/effects/glass-intro.js +8 -7
  961. package/dist/templates/effects/glass-promo.js +8 -7
  962. package/dist/templates/effects/grain-story.js +8 -7
  963. package/dist/templates/effects/grid-intro.js +8 -7
  964. package/dist/templates/effects/halftone-story.js +8 -7
  965. package/dist/templates/effects/mesh-story.js +8 -7
  966. package/dist/templates/effects/shader-title.js +8 -7
  967. package/dist/templates/email/april-fools-header.js +8 -7
  968. package/dist/templates/email/art-deco-invitation.js +8 -7
  969. package/dist/templates/email/autumn-harvest-header.js +8 -7
  970. package/dist/templates/email/back-to-school-header.js +8 -7
  971. package/dist/templates/email/black-friday-coupons-header.js +8 -7
  972. package/dist/templates/email/black-friday-header.js +8 -7
  973. package/dist/templates/email/black-friday-neon-header.js +8 -7
  974. package/dist/templates/email/black-friday-scratch-header.js +8 -7
  975. package/dist/templates/email/black-friday-ticker-header.js +8 -7
  976. package/dist/templates/email/broadsheet-weekly-edition-header.js +8 -7
  977. package/dist/templates/email/claymation-header.js +8 -7
  978. package/dist/templates/email/countdown-gif.js +8 -7
  979. package/dist/templates/email/cyberpunk-header.js +8 -7
  980. package/dist/templates/email/diwali-header.js +8 -7
  981. package/dist/templates/email/earth-day-header.js +8 -7
  982. package/dist/templates/email/festival-presale-electronic-header.js +10 -9
  983. package/dist/templates/email/festival-presale-family-header.js +10 -9
  984. package/dist/templates/email/festival-presale-folk-header.js +10 -9
  985. package/dist/templates/email/festival-presale-food-header.js +10 -9
  986. package/dist/templates/email/festival-presale-jazz-header.js +10 -9
  987. package/dist/templates/email/festival-presale-street-header.js +10 -9
  988. package/dist/templates/email/gothic-header.js +8 -7
  989. package/dist/templates/email/halloween-header.js +8 -7
  990. package/dist/templates/email/header-launch.js +8 -7
  991. package/dist/templates/email/header-newsletter.js +8 -7
  992. package/dist/templates/email/header-sale.js +8 -7
  993. package/dist/templates/email/lunar-new-year-header.js +8 -7
  994. package/dist/templates/email/manuscript-chronicle-header.js +8 -7
  995. package/dist/templates/email/new-year-header.js +8 -7
  996. package/dist/templates/email/noir-header.js +8 -7
  997. package/dist/templates/email/psychedelic-header.js +8 -7
  998. package/dist/templates/email/riso-zine-changelog-header.js +8 -7
  999. package/dist/templates/email/saas-mail-changelog.js +10 -9
  1000. package/dist/templates/email/saas-mail-day-one.js +10 -9
  1001. package/dist/templates/email/saas-mail-day-three.js +10 -9
  1002. package/dist/templates/email/saas-mail-launch.js +10 -9
  1003. package/dist/templates/email/saas-mail-payment-failed.js +10 -9
  1004. package/dist/templates/email/saas-mail-sign-in-code.js +10 -9
  1005. package/dist/templates/email/saas-mail-trial-ending.js +10 -9
  1006. package/dist/templates/email/saas-mail-waitlist.js +10 -9
  1007. package/dist/templates/email/singles-day-header.js +8 -7
  1008. package/dist/templates/email/solarpunk-header.js +8 -7
  1009. package/dist/templates/email/space-opera-header.js +8 -7
  1010. package/dist/templates/email/spring-bloom-header.js +8 -7
  1011. package/dist/templates/email/style-bento-header.js +8 -7
  1012. package/dist/templates/email/style-brutalist-header.js +8 -7
  1013. package/dist/templates/email/style-dark-header.js +8 -7
  1014. package/dist/templates/email/style-data-header.js +8 -7
  1015. package/dist/templates/email/style-editorial-header.js +8 -7
  1016. package/dist/templates/email/style-glass-header.js +8 -7
  1017. package/dist/templates/email/style-gradient-header.js +8 -7
  1018. package/dist/templates/email/style-maximal-header.js +8 -7
  1019. package/dist/templates/email/style-pastel-header.js +8 -7
  1020. package/dist/templates/email/style-sketch-header.js +8 -7
  1021. package/dist/templates/email/style-swiss-header.js +8 -7
  1022. package/dist/templates/email/style-terminal-header.js +8 -7
  1023. package/dist/templates/email/summer-heatwave-header.js +8 -7
  1024. package/dist/templates/email/tour-tickets-june-header.js +8 -7
  1025. package/dist/templates/email/tour-tickets-tide-header.js +8 -7
  1026. package/dist/templates/email/tour-tickets-wreck-header.js +8 -7
  1027. package/dist/templates/email/transit-map-service-update.js +8 -7
  1028. package/dist/templates/email/ukiyo-e-greeting-header.js +8 -7
  1029. package/dist/templates/email/valentines-header.js +8 -7
  1030. package/dist/templates/email/winter-cosy-header.js +8 -7
  1031. package/dist/templates/email/winter-holidays-header.js +8 -7
  1032. package/dist/templates/game/blossom-bash-puzzle.js +8 -7
  1033. package/dist/templates/game/deckbound-roguelike.js +8 -7
  1034. package/dist/templates/game/emberfall-rpg.js +8 -7
  1035. package/dist/templates/game/hearthmoor-farm.js +8 -7
  1036. package/dist/templates/game/index.js +21 -20
  1037. package/dist/templates/game/iron-lotus-fighter.js +8 -7
  1038. package/dist/templates/game/ironroot-rts.js +8 -7
  1039. package/dist/templates/game/mossy-hollow-platformer.js +10 -9
  1040. package/dist/templates/game/neon-apex-racing.js +8 -7
  1041. package/dist/templates/game/platformer.js +9 -8
  1042. package/dist/templates/game/pulse-riot-rhythm.js +8 -7
  1043. package/dist/templates/game/sprout-quest-pixel-platformer.js +10 -9
  1044. package/dist/templates/game/vanta-fps.js +8 -7
  1045. package/dist/templates/index.js +826 -825
  1046. package/dist/templates/kinetic/letters.js +8 -7
  1047. package/dist/templates/kinetic/lines.js +8 -7
  1048. package/dist/templates/kinetic/typewriter.js +8 -7
  1049. package/dist/templates/kinetic/word-swap.js +8 -7
  1050. package/dist/templates/kinetic/words.js +8 -7
  1051. package/dist/templates/libraries/audio-reactive.js +8 -7
  1052. package/dist/templates/libraries/loaders.js +8 -7
  1053. package/dist/templates/libraries/micro-interactions.js +8 -7
  1054. package/dist/templates/libraries/motion-essentials.js +8 -7
  1055. package/dist/templates/libraries/toasts.js +8 -7
  1056. package/dist/templates/lottie/ai.js +9 -8
  1057. package/dist/templates/lottie/climate.js +9 -8
  1058. package/dist/templates/lottie/commerce.js +9 -8
  1059. package/dist/templates/lottie/education.js +9 -8
  1060. package/dist/templates/lottie/fintech.js +9 -8
  1061. package/dist/templates/lottie/food.js +9 -8
  1062. package/dist/templates/lottie/health.js +9 -8
  1063. package/dist/templates/lottie/index.js +33 -32
  1064. package/dist/templates/lottie/lottie-kit.js +8 -7
  1065. package/dist/templates/lottie/realestate.js +9 -8
  1066. package/dist/templates/lottie/saas-ui-checklist.js +10 -9
  1067. package/dist/templates/lottie/saas-ui-dashboard-hero.js +10 -9
  1068. package/dist/templates/lottie/saas-ui-empty-data.js +10 -9
  1069. package/dist/templates/lottie/saas-ui-empty-search.js +10 -9
  1070. package/dist/templates/lottie/saas-ui-error-retry.js +10 -9
  1071. package/dist/templates/lottie/saas-ui-file-upload.js +10 -9
  1072. package/dist/templates/lottie/saas-ui-streaming-answer.js +10 -9
  1073. package/dist/templates/lottie/saas-ui-sync-connected.js +10 -9
  1074. package/dist/templates/lottie/saas-ui-trial-timeline.js +10 -9
  1075. package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +10 -9
  1076. package/dist/templates/lottie/saas-ui.js +20 -19
  1077. package/dist/templates/lottie/saas.js +9 -8
  1078. package/dist/templates/lottie/security.js +9 -8
  1079. package/dist/templates/lottie/techniques.js +9 -8
  1080. package/dist/templates/lottie/travel.js +9 -8
  1081. package/dist/templates/motion/ai-trailer/index.js +8 -7
  1082. package/dist/templates/motion/ambient-loop.js +8 -7
  1083. package/dist/templates/motion/app-icon-sting.js +8 -7
  1084. package/dist/templates/motion/april-fools-infomercial-reel.js +8 -7
  1085. package/dist/templates/motion/arcade-high-score.js +8 -7
  1086. package/dist/templates/motion/art-deco-grand-opening.js +8 -7
  1087. package/dist/templates/motion/autumn-harvest-year-reel.js +8 -7
  1088. package/dist/templates/motion/back-to-school-timetable-reel.js +8 -7
  1089. package/dist/templates/motion/bauhaus-launch-reel.js +8 -7
  1090. package/dist/templates/motion/black-friday-coupons-deal-reel.js +8 -7
  1091. package/dist/templates/motion/black-friday-coupons-last-day.js +8 -7
  1092. package/dist/templates/motion/black-friday-deal-drop.js +8 -7
  1093. package/dist/templates/motion/black-friday-neon-deal-reel.js +8 -7
  1094. package/dist/templates/motion/black-friday-neon-last-day.js +8 -7
  1095. package/dist/templates/motion/black-friday-scratch-countdown.js +8 -7
  1096. package/dist/templates/motion/black-friday-scratch-deal-reel.js +8 -7
  1097. package/dist/templates/motion/black-friday-scratch-last-day.js +8 -7
  1098. package/dist/templates/motion/black-friday-ticker-deal-drop.js +8 -7
  1099. package/dist/templates/motion/black-friday-ticker-last-call.js +8 -7
  1100. package/dist/templates/motion/blueprint-rev-b-reel.js +8 -7
  1101. package/dist/templates/motion/broadsheet-launch-reel.js +8 -7
  1102. package/dist/templates/motion/broadsheet-milestone-post.js +8 -7
  1103. package/dist/templates/motion/claymation-launch-reel.js +8 -7
  1104. package/dist/templates/motion/comic-book-issue-reel.js +8 -7
  1105. package/dist/templates/motion/countdown.js +8 -7
  1106. package/dist/templates/motion/cyberpunk-lock-on-reel.js +8 -7
  1107. package/dist/templates/motion/departure-board-reel.js +8 -7
  1108. package/dist/templates/motion/diwali-lamps-reel.js +8 -7
  1109. package/dist/templates/motion/earth-day-footprint-reel.js +8 -7
  1110. package/dist/templates/motion/earth-day-pledge-post.js +8 -7
  1111. package/dist/templates/motion/festival-presale-electronic-countdown.js +10 -9
  1112. package/dist/templates/motion/festival-presale-electronic-lineup.js +10 -9
  1113. package/dist/templates/motion/festival-presale-electronic-reel.js +10 -9
  1114. package/dist/templates/motion/festival-presale-electronic-tier.js +10 -9
  1115. package/dist/templates/motion/festival-presale-family-countdown.js +10 -9
  1116. package/dist/templates/motion/festival-presale-family-lineup.js +10 -9
  1117. package/dist/templates/motion/festival-presale-family-reel.js +10 -9
  1118. package/dist/templates/motion/festival-presale-family-tier.js +10 -9
  1119. package/dist/templates/motion/festival-presale-folk-countdown.js +10 -9
  1120. package/dist/templates/motion/festival-presale-folk-lineup.js +10 -9
  1121. package/dist/templates/motion/festival-presale-folk-reel.js +10 -9
  1122. package/dist/templates/motion/festival-presale-folk-tier.js +10 -9
  1123. package/dist/templates/motion/festival-presale-food-countdown.js +10 -9
  1124. package/dist/templates/motion/festival-presale-food-lineup.js +10 -9
  1125. package/dist/templates/motion/festival-presale-food-reel.js +10 -9
  1126. package/dist/templates/motion/festival-presale-food-tier.js +10 -9
  1127. package/dist/templates/motion/festival-presale-jazz-countdown.js +10 -9
  1128. package/dist/templates/motion/festival-presale-jazz-lineup.js +10 -9
  1129. package/dist/templates/motion/festival-presale-jazz-reel.js +10 -9
  1130. package/dist/templates/motion/festival-presale-jazz-tier.js +10 -9
  1131. package/dist/templates/motion/festival-presale-street-countdown.js +10 -9
  1132. package/dist/templates/motion/festival-presale-street-lineup.js +10 -9
  1133. package/dist/templates/motion/festival-presale-street-reel.js +10 -9
  1134. package/dist/templates/motion/festival-presale-street-tier.js +10 -9
  1135. package/dist/templates/motion/gothic-launch-reel.js +8 -7
  1136. package/dist/templates/motion/halloween-graveyard-reel.js +8 -7
  1137. package/dist/templates/motion/instagram-promo.js +8 -7
  1138. package/dist/templates/motion/kinetic-headline.js +8 -7
  1139. package/dist/templates/motion/landing-hero/index.js +10 -9
  1140. package/dist/templates/motion/launch-trailer/document.js +826 -825
  1141. package/dist/templates/motion/launch-trailer/index.js +10 -9
  1142. package/dist/templates/motion/launch-trailer/scenes.js +9 -8
  1143. package/dist/templates/motion/logo-reveal.js +8 -7
  1144. package/dist/templates/motion/lower-third.js +8 -7
  1145. package/dist/templates/motion/lunar-new-year-envelope-reel.js +8 -7
  1146. package/dist/templates/motion/machined-trailer.js +8 -7
  1147. package/dist/templates/motion/manuscript-launch-reel.js +8 -7
  1148. package/dist/templates/motion/new-year-ball-drop-reel.js +8 -7
  1149. package/dist/templates/motion/noir-case-reel.js +8 -7
  1150. package/dist/templates/motion/pitch-title.js +8 -7
  1151. package/dist/templates/motion/psychedelic-gig-reel.js +8 -7
  1152. package/dist/templates/motion/riso-zine-launch-reel.js +8 -7
  1153. package/dist/templates/motion/saas-ai-prompt.js +8 -7
  1154. package/dist/templates/motion/saas-before-after.js +8 -7
  1155. package/dist/templates/motion/saas-changelog-drop.js +8 -7
  1156. package/dist/templates/motion/saas-film-webinar-opener.js +8 -7
  1157. package/dist/templates/motion/saas-hook-features.js +8 -7
  1158. package/dist/templates/motion/saas-mrr-milestone.js +8 -7
  1159. package/dist/templates/motion/saas-screen-demo.js +8 -7
  1160. package/dist/templates/motion/saas-store-install-ad.js +8 -7
  1161. package/dist/templates/motion/saas-testimonial.js +8 -7
  1162. package/dist/templates/motion/saas-vs-comparison.js +8 -7
  1163. package/dist/templates/motion/singles-day-flash-post.js +8 -7
  1164. package/dist/templates/motion/singles-day-live-reel.js +8 -7
  1165. package/dist/templates/motion/smooth-loop.js +8 -7
  1166. package/dist/templates/motion/solarpunk-rooftop-reel.js +8 -7
  1167. package/dist/templates/motion/space-opera-countdown-reel.js +8 -7
  1168. package/dist/templates/motion/spring-bloom-first-hundred-post.js +8 -7
  1169. package/dist/templates/motion/spring-bloom-first-shoots-reel.js +8 -7
  1170. package/dist/templates/motion/stat-pop.js +8 -7
  1171. package/dist/templates/motion/style-bento-feature-demo.js +8 -7
  1172. package/dist/templates/motion/style-bento-launch-reel.js +8 -7
  1173. package/dist/templates/motion/style-brutalist-feature-demo.js +8 -7
  1174. package/dist/templates/motion/style-brutalist-launch-reel.js +8 -7
  1175. package/dist/templates/motion/style-dark-feature-demo.js +8 -7
  1176. package/dist/templates/motion/style-dark-launch-reel.js +8 -7
  1177. package/dist/templates/motion/style-data-feature-demo.js +8 -7
  1178. package/dist/templates/motion/style-data-launch-reel.js +8 -7
  1179. package/dist/templates/motion/style-editorial-feature-demo.js +8 -7
  1180. package/dist/templates/motion/style-editorial-launch-reel.js +8 -7
  1181. package/dist/templates/motion/style-glass-feature-demo.js +8 -7
  1182. package/dist/templates/motion/style-glass-launch-reel.js +8 -7
  1183. package/dist/templates/motion/style-gradient-feature-demo.js +8 -7
  1184. package/dist/templates/motion/style-gradient-launch-reel.js +8 -7
  1185. package/dist/templates/motion/style-maximal-beat-cut.js +8 -7
  1186. package/dist/templates/motion/style-maximal-feature-demo.js +8 -7
  1187. package/dist/templates/motion/style-maximal-launch-reel.js +8 -7
  1188. package/dist/templates/motion/style-pastel-feature-demo.js +8 -7
  1189. package/dist/templates/motion/style-pastel-launch-reel.js +8 -7
  1190. package/dist/templates/motion/style-sketch-feature-demo.js +8 -7
  1191. package/dist/templates/motion/style-sketch-launch-reel.js +8 -7
  1192. package/dist/templates/motion/style-swiss-feature-demo.js +8 -7
  1193. package/dist/templates/motion/style-swiss-launch-reel.js +8 -7
  1194. package/dist/templates/motion/style-terminal-feature-demo.js +8 -7
  1195. package/dist/templates/motion/style-terminal-launch-reel.js +8 -7
  1196. package/dist/templates/motion/summer-heatwave-lido-reel.js +8 -7
  1197. package/dist/templates/motion/template-wall.js +8 -7
  1198. package/dist/templates/motion/title-card-3d.js +8 -7
  1199. package/dist/templates/motion/tour-tickets-june-city.js +8 -7
  1200. package/dist/templates/motion/tour-tickets-june-dates.js +8 -7
  1201. package/dist/templates/motion/tour-tickets-june-final.js +8 -7
  1202. package/dist/templates/motion/tour-tickets-june-reel.js +8 -7
  1203. package/dist/templates/motion/tour-tickets-tide-city.js +8 -7
  1204. package/dist/templates/motion/tour-tickets-tide-dates.js +8 -7
  1205. package/dist/templates/motion/tour-tickets-tide-final.js +8 -7
  1206. package/dist/templates/motion/tour-tickets-tide-reel.js +8 -7
  1207. package/dist/templates/motion/tour-tickets-wreck-city.js +8 -7
  1208. package/dist/templates/motion/tour-tickets-wreck-dates.js +8 -7
  1209. package/dist/templates/motion/tour-tickets-wreck-final.js +8 -7
  1210. package/dist/templates/motion/tour-tickets-wreck-reel.js +8 -7
  1211. package/dist/templates/motion/transit-map-line-opening.js +8 -7
  1212. package/dist/templates/motion/transit-map-milestone-post.js +8 -7
  1213. package/dist/templates/motion/ukiyo-e-launch-reel.js +8 -7
  1214. package/dist/templates/motion/valentines-breakup-reel.js +8 -7
  1215. package/dist/templates/motion/vaporwave-launch-reel.js +8 -7
  1216. package/dist/templates/motion/winter-cosy-heads-down-post.js +8 -7
  1217. package/dist/templates/motion/winter-cosy-hibernation-reel.js +8 -7
  1218. package/dist/templates/motion/winter-holidays-advent-reel.js +8 -7
  1219. package/dist/templates/motion3d/app-store-preview.js +8 -7
  1220. package/dist/templates/motion3d/before-after-swing.js +8 -7
  1221. package/dist/templates/motion3d/burger-reveal.js +8 -7
  1222. package/dist/templates/motion3d/coverflow.js +8 -7
  1223. package/dist/templates/motion3d/exploded-ui.js +8 -7
  1224. package/dist/templates/motion3d/feature-flip.js +8 -7
  1225. package/dist/templates/motion3d/kinetic-reveal.js +8 -7
  1226. package/dist/templates/motion3d/laptop-reveal.js +8 -7
  1227. package/dist/templates/motion3d/logo-extrude.js +8 -7
  1228. package/dist/templates/motion3d/parallax-cascade.js +8 -7
  1229. package/dist/templates/motion3d/phone-orbit.js +8 -7
  1230. package/dist/templates/motion3d/pricing-fan.js +8 -7
  1231. package/dist/templates/motion3d/product-turntable.js +8 -7
  1232. package/dist/templates/motion3d/saas-film-cinematic-trailer.js +8 -7
  1233. package/dist/templates/motion3d/screen-wall.js +8 -7
  1234. package/dist/templates/motion3d/vertical-promo.js +8 -7
  1235. package/dist/templates/music/edm-drop.js +8 -7
  1236. package/dist/templates/music/festival-lineup.js +8 -7
  1237. package/dist/templates/music/hiphop-lyrics.js +8 -7
  1238. package/dist/templates/music/indie-poster.js +8 -7
  1239. package/dist/templates/music/lofi-loop.js +8 -7
  1240. package/dist/templates/music/podcast-audiogram.js +8 -7
  1241. package/dist/templates/music/synthwave-tunnel.js +8 -7
  1242. package/dist/templates/print/comic-hero-cascade.js +8 -7
  1243. package/dist/templates/print/comic-hero-chase.js +8 -7
  1244. package/dist/templates/print/comic-hero-cover-modern.js +8 -7
  1245. package/dist/templates/print/comic-hero-grid-break.js +8 -7
  1246. package/dist/templates/print/comic-hero-interrogation.js +8 -7
  1247. package/dist/templates/print/comic-hero-issue.js +19 -18
  1248. package/dist/templates/print/comic-hero-manga-action.js +8 -7
  1249. package/dist/templates/print/comic-hero-nested.js +8 -7
  1250. package/dist/templates/print/comic-hero-overlap.js +8 -7
  1251. package/dist/templates/print/comic-hero-parallel.js +8 -7
  1252. package/dist/templates/print/comic-hero-pinup.js +8 -7
  1253. package/dist/templates/print/comic-hero-widescreen.js +8 -7
  1254. package/dist/templates/print/comic-modern-action-slant.js +8 -7
  1255. package/dist/templates/print/comic-modern-cover-pulp.js +8 -7
  1256. package/dist/templates/print/comic-modern-flashback.js +8 -7
  1257. package/dist/templates/print/comic-modern-issue.js +17 -16
  1258. package/dist/templates/print/comic-modern-nine-grid.js +8 -7
  1259. package/dist/templates/print/comic-modern-page-classic.js +8 -7
  1260. package/dist/templates/print/comic-modern-polyptych.js +8 -7
  1261. package/dist/templates/print/comic-modern-radial.js +8 -7
  1262. package/dist/templates/print/comic-modern-splash.js +8 -7
  1263. package/dist/templates/print/comic-modern-spread.js +8 -7
  1264. package/dist/templates/print/everyday-save-the-date.js +8 -7
  1265. package/dist/templates/print/everyday-specials-board.js +8 -7
  1266. package/dist/templates/print/holidays-christmas-church-newsletter.js +8 -7
  1267. package/dist/templates/print/holidays-christmas-eve-invitation.js +8 -7
  1268. package/dist/templates/print/holidays-christmas-gift-tags.js +8 -7
  1269. package/dist/templates/print/holidays-diwali-party-invitation.js +8 -7
  1270. package/dist/templates/print/holidays-easter-activity-sheet.js +8 -7
  1271. package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +8 -7
  1272. package/dist/templates/print/holidays-eid-dinner-invitation.js +8 -7
  1273. package/dist/templates/print/holidays-eid-gift-tags.js +8 -7
  1274. package/dist/templates/print/holidays-halloween-party-invitation.js +8 -7
  1275. package/dist/templates/print/holidays-halloween-treat-labels.js +8 -7
  1276. package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +8 -7
  1277. package/dist/templates/print/holidays-hanukkah-activity-sheet.js +8 -7
  1278. package/dist/templates/print/holidays-hanukkah-party-invitation.js +8 -7
  1279. package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +8 -7
  1280. package/dist/templates/print/holidays-new-years-eve-poster.js +8 -7
  1281. package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +8 -7
  1282. package/dist/templates/print/holidays-thanksgiving-place-cards.js +8 -7
  1283. package/dist/templates/print/holidays-valentines-dinner-menu.js +8 -7
  1284. package/dist/templates/print/knit-christmas-tree-sweater.js +8 -7
  1285. package/dist/templates/print/knit-nordic-snowflake-sweater.js +8 -7
  1286. package/dist/templates/print/knit-snowflake-beanie.js +8 -7
  1287. package/dist/templates/print/printshop-booklet-open-day.js +8 -7
  1288. package/dist/templates/print/printshop-brochure-community.js +8 -7
  1289. package/dist/templates/print/printshop-brochure-dental.js +8 -7
  1290. package/dist/templates/print/printshop-brochure-gym.js +8 -7
  1291. package/dist/templates/print/printshop-brochure-landscaping.js +8 -7
  1292. package/dist/templates/print/printshop-brochure-travel.js +8 -7
  1293. package/dist/templates/print/printshop-card-architect.js +8 -7
  1294. package/dist/templates/print/printshop-card-barber.js +8 -7
  1295. package/dist/templates/print/printshop-card-cafe.js +8 -7
  1296. package/dist/templates/print/printshop-card-developer.js +8 -7
  1297. package/dist/templates/print/printshop-card-florist.js +8 -7
  1298. package/dist/templates/print/printshop-card-lawyer.js +8 -7
  1299. package/dist/templates/print/printshop-card-photographer.js +8 -7
  1300. package/dist/templates/print/printshop-card-plumber.js +8 -7
  1301. package/dist/templates/print/printshop-card-realtor.js +8 -7
  1302. package/dist/templates/print/printshop-card-yoga.js +8 -7
  1303. package/dist/templates/print/printshop-flyer-charity-run.js +8 -7
  1304. package/dist/templates/print/printshop-flyer-farmers-market.js +8 -7
  1305. package/dist/templates/print/printshop-flyer-garage-sale.js +8 -7
  1306. package/dist/templates/print/printshop-flyer-grand-opening.js +8 -7
  1307. package/dist/templates/print/printshop-flyer-lost-pet.js +8 -7
  1308. package/dist/templates/print/printshop-flyer-tutoring.js +8 -7
  1309. package/dist/templates/print/printshop-flyer-yard-work.js +8 -7
  1310. package/dist/templates/print/printshop-poster-live-music.js +8 -7
  1311. package/dist/templates/print/studio-class-timetable-poster.js +8 -7
  1312. package/dist/templates/print/studio-portfolio-booklet.js +8 -7
  1313. package/dist/templates/saas/email-decks-shared.js +9 -8
  1314. package/dist/templates/saas/email-decks.js +20 -19
  1315. package/dist/templates/saas/index.js +191 -190
  1316. package/dist/templates/saas/launch-kit.js +17 -16
  1317. package/dist/templates/saas/launch-video.js +14 -13
  1318. package/dist/templates/saas/lottie-shared.js +9 -8
  1319. package/dist/templates/saas/stores.js +17 -16
  1320. package/dist/templates/saas/style-bento.js +17 -16
  1321. package/dist/templates/saas/style-brutalist.js +17 -16
  1322. package/dist/templates/saas/style-dark.js +17 -16
  1323. package/dist/templates/saas/style-data.js +17 -16
  1324. package/dist/templates/saas/style-editorial.js +17 -16
  1325. package/dist/templates/saas/style-glass.js +17 -16
  1326. package/dist/templates/saas/style-gradient.js +17 -16
  1327. package/dist/templates/saas/style-maximal.js +18 -17
  1328. package/dist/templates/saas/style-pastel.js +17 -16
  1329. package/dist/templates/saas/style-sketch.js +17 -16
  1330. package/dist/templates/saas/style-swiss.js +17 -16
  1331. package/dist/templates/saas/style-terminal.js +17 -16
  1332. package/dist/templates/saas/video.js +16 -15
  1333. package/dist/templates/saas/web.js +20 -19
  1334. package/dist/templates/scenes/before-after.js +8 -7
  1335. package/dist/templates/scenes/carousel-video.js +8 -7
  1336. package/dist/templates/scenes/saas-film-app-preview.js +8 -7
  1337. package/dist/templates/scenes/saas-film-bright-trailer.js +8 -7
  1338. package/dist/templates/scenes/saas-film-product-hunt-launch.js +8 -7
  1339. package/dist/templates/scenes/saas-film-youtube-demo-kit.js +8 -7
  1340. package/dist/templates/scenes/story-ad.js +8 -7
  1341. package/dist/templates/scenes/story-bakery.js +8 -7
  1342. package/dist/templates/scenes/story-fitness.js +8 -7
  1343. package/dist/templates/scenes/story-hotel.js +8 -7
  1344. package/dist/templates/scenes/transitions-pack.js +8 -7
  1345. package/dist/templates/scenes/web-scroll.js +8 -7
  1346. package/dist/templates/slides/agenda.js +9 -8
  1347. package/dist/templates/slides/deck.js +8 -7
  1348. package/dist/templates/slides/education.js +9 -8
  1349. package/dist/templates/slides/launch.js +9 -8
  1350. package/dist/templates/slides/layouts.js +9 -8
  1351. package/dist/templates/slides/pitch.js +9 -8
  1352. package/dist/templates/slides/report.js +9 -8
  1353. package/dist/templates/slides/saas-mail-investor-update.js +10 -9
  1354. package/dist/templates/slides/saas-mail-seed-pitch.js +10 -9
  1355. package/dist/templates/slides/sales.js +9 -8
  1356. package/dist/templates/slides/section-divider.js +9 -8
  1357. package/dist/templates/slides/title-card.js +9 -8
  1358. package/dist/templates/slides/training.js +9 -8
  1359. package/dist/templates/slides/webinar.js +9 -8
  1360. package/dist/templates/slideshow/adoption.js +9 -8
  1361. package/dist/templates/slideshow/baby.js +9 -8
  1362. package/dist/templates/slideshow/birthday.js +9 -8
  1363. package/dist/templates/slideshow/graduation.js +9 -8
  1364. package/dist/templates/slideshow/holiday.js +9 -8
  1365. package/dist/templates/slideshow/home.js +9 -8
  1366. package/dist/templates/slideshow/index.js +16 -15
  1367. package/dist/templates/slideshow/lease.js +9 -8
  1368. package/dist/templates/slideshow/memorial.js +9 -8
  1369. package/dist/templates/slideshow/portfolio.js +9 -8
  1370. package/dist/templates/slideshow/product.js +9 -8
  1371. package/dist/templates/slideshow/recipe.js +9 -8
  1372. package/dist/templates/slideshow/shared.js +8 -7
  1373. package/dist/templates/slideshow/team.js +9 -8
  1374. package/dist/templates/slideshow/travel.js +9 -8
  1375. package/dist/templates/slideshow/wedding.js +9 -8
  1376. package/dist/templates/slideshow/year.js +9 -8
  1377. package/dist/templates/social/april-fools-link-preview.js +8 -7
  1378. package/dist/templates/social/april-fools-price-slash-post.js +8 -7
  1379. package/dist/templates/social/arcade-boss-fight.js +8 -7
  1380. package/dist/templates/social/arcade-level-up.js +8 -7
  1381. package/dist/templates/social/art-deco-link-preview.js +8 -7
  1382. package/dist/templates/social/art-deco-premiere-post.js +8 -7
  1383. package/dist/templates/social/autumn-harvest-link-preview.js +8 -7
  1384. package/dist/templates/social/autumn-harvest-thanks-post.js +8 -7
  1385. package/dist/templates/social/back-to-school-link-preview.js +8 -7
  1386. package/dist/templates/social/back-to-school-report-card-post.js +8 -7
  1387. package/dist/templates/social/bauhaus-drift-post.js +8 -7
  1388. package/dist/templates/social/bauhaus-link-preview.js +8 -7
  1389. package/dist/templates/social/bauhaus-pricing-post.js +8 -7
  1390. package/dist/templates/social/black-friday-ads.js +8 -7
  1391. package/dist/templates/social/black-friday-countdown.js +8 -7
  1392. package/dist/templates/social/black-friday-coupons-ads.js +8 -7
  1393. package/dist/templates/social/black-friday-coupons-countdown.js +8 -7
  1394. package/dist/templates/social/black-friday-neon-ads.js +8 -7
  1395. package/dist/templates/social/black-friday-neon-countdown.js +8 -7
  1396. package/dist/templates/social/black-friday-scratch-ads.js +8 -7
  1397. package/dist/templates/social/black-friday-ticker-ads.js +8 -7
  1398. package/dist/templates/social/black-friday-ticker-countdown.js +8 -7
  1399. package/dist/templates/social/blueprint-dimension-post.js +8 -7
  1400. package/dist/templates/social/blueprint-link-preview.js +8 -7
  1401. package/dist/templates/social/blueprint-parts-list-post.js +8 -7
  1402. package/dist/templates/social/broadsheet-hiring-classifieds.js +8 -7
  1403. package/dist/templates/social/broadsheet-link-preview.js +8 -7
  1404. package/dist/templates/social/claymation-link-preview.js +8 -7
  1405. package/dist/templates/social/claymation-streak-post.js +8 -7
  1406. package/dist/templates/social/comic-book-cover-preview.js +8 -7
  1407. package/dist/templates/social/comic-book-strip-post.js +8 -7
  1408. package/dist/templates/social/cyberpunk-implant-post.js +8 -7
  1409. package/dist/templates/social/cyberpunk-link-preview.js +8 -7
  1410. package/dist/templates/social/departure-board-pass-ad.js +8 -7
  1411. package/dist/templates/social/departure-board-store-set.js +8 -7
  1412. package/dist/templates/social/departure-board-thanks-post.js +8 -7
  1413. package/dist/templates/social/diwali-link-preview.js +8 -7
  1414. package/dist/templates/social/diwali-thanks-post.js +8 -7
  1415. package/dist/templates/social/earth-day-link-preview.js +8 -7
  1416. package/dist/templates/social/everyday-save-the-date-post.js +8 -7
  1417. package/dist/templates/social/festival-presale-electronic-ads.js +10 -9
  1418. package/dist/templates/social/festival-presale-family-ads.js +10 -9
  1419. package/dist/templates/social/festival-presale-folk-ads.js +10 -9
  1420. package/dist/templates/social/festival-presale-food-ads.js +10 -9
  1421. package/dist/templates/social/festival-presale-jazz-ads.js +10 -9
  1422. package/dist/templates/social/festival-presale-street-ads.js +10 -9
  1423. package/dist/templates/social/gothic-feature-post.js +8 -7
  1424. package/dist/templates/social/gothic-link-preview.js +8 -7
  1425. package/dist/templates/social/halloween-link-preview.js +8 -7
  1426. package/dist/templates/social/halloween-offer-post.js +8 -7
  1427. package/dist/templates/social/holidays-diwali-sweet-shop-post.js +8 -7
  1428. package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +8 -7
  1429. package/dist/templates/social/holidays-new-years-eve-shop-hours.js +8 -7
  1430. package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +8 -7
  1431. package/dist/templates/social/holidays-valentines-florist-post.js +8 -7
  1432. package/dist/templates/social/lunar-new-year-greeting-post.js +8 -7
  1433. package/dist/templates/social/lunar-new-year-link-preview.js +8 -7
  1434. package/dist/templates/social/machined-link-preview.js +8 -7
  1435. package/dist/templates/social/machined-plate-post.js +8 -7
  1436. package/dist/templates/social/manuscript-chapter-post.js +8 -7
  1437. package/dist/templates/social/manuscript-link-preview.js +8 -7
  1438. package/dist/templates/social/new-year-link-preview.js +8 -7
  1439. package/dist/templates/social/new-year-resolutions-post.js +8 -7
  1440. package/dist/templates/social/noir-case-file.js +8 -7
  1441. package/dist/templates/social/noir-feature-post.js +8 -7
  1442. package/dist/templates/social/post-announcement.js +8 -7
  1443. package/dist/templates/social/post-event.js +8 -7
  1444. package/dist/templates/social/post-podcast.js +8 -7
  1445. package/dist/templates/social/post-quote.js +8 -7
  1446. package/dist/templates/social/post-sale.js +8 -7
  1447. package/dist/templates/social/post-stat.js +8 -7
  1448. package/dist/templates/social/post-testimonial.js +8 -7
  1449. package/dist/templates/social/promo-announcement.js +8 -7
  1450. package/dist/templates/social/promo-beat-drop.js +8 -7
  1451. package/dist/templates/social/promo-event.js +8 -7
  1452. package/dist/templates/social/promo-new-product.js +8 -7
  1453. package/dist/templates/social/promo-quote-reveal.js +8 -7
  1454. package/dist/templates/social/promo-sale-drop.js +8 -7
  1455. package/dist/templates/social/promo-tip-list.js +8 -7
  1456. package/dist/templates/social/psychedelic-lineup-post.js +8 -7
  1457. package/dist/templates/social/psychedelic-link-preview.js +8 -7
  1458. package/dist/templates/social/riso-zine-link-preview.js +8 -7
  1459. package/dist/templates/social/riso-zine-mrr-poster.js +8 -7
  1460. package/dist/templates/social/saas-kit-carousel.js +8 -7
  1461. package/dist/templates/social/saas-kit-countdown-post.js +8 -7
  1462. package/dist/templates/social/saas-kit-feature-drop.js +8 -7
  1463. package/dist/templates/social/saas-kit-link-preview.js +8 -7
  1464. package/dist/templates/social/saas-kit-live-post.js +8 -7
  1465. package/dist/templates/social/saas-kit-mrr-card.js +8 -7
  1466. package/dist/templates/social/saas-kit-ph-gallery.js +8 -7
  1467. package/dist/templates/social/saas-kit-ph-thumb.js +8 -7
  1468. package/dist/templates/social/saas-kit-youtube-thumbs.js +8 -7
  1469. package/dist/templates/social/saas-store-b2b-ads.js +8 -7
  1470. package/dist/templates/social/saas-store-caption-set.js +8 -7
  1471. package/dist/templates/social/saas-store-chrome-kit.js +8 -7
  1472. package/dist/templates/social/saas-store-ipad-set.js +8 -7
  1473. package/dist/templates/social/saas-store-panorama.js +8 -7
  1474. package/dist/templates/social/saas-store-play-kit.js +8 -7
  1475. package/dist/templates/social/saas-store-story.js +8 -7
  1476. package/dist/templates/social/singles-day-link-preview.js +8 -7
  1477. package/dist/templates/social/solarpunk-impact-post.js +8 -7
  1478. package/dist/templates/social/solarpunk-link-preview.js +8 -7
  1479. package/dist/templates/social/space-opera-link-preview.js +8 -7
  1480. package/dist/templates/social/space-opera-mission-patch-post.js +8 -7
  1481. package/dist/templates/social/spring-bloom-link-preview.js +8 -7
  1482. package/dist/templates/social/studio-class-timetable.js +8 -7
  1483. package/dist/templates/social/studio-podcast-cover.js +8 -7
  1484. package/dist/templates/social/style-bento-announcement.js +8 -7
  1485. package/dist/templates/social/style-bento-link-preview.js +8 -7
  1486. package/dist/templates/social/style-bento-milestone.js +8 -7
  1487. package/dist/templates/social/style-bento-testimonial.js +8 -7
  1488. package/dist/templates/social/style-brutalist-announcement.js +8 -7
  1489. package/dist/templates/social/style-brutalist-link-preview.js +8 -7
  1490. package/dist/templates/social/style-brutalist-milestone.js +8 -7
  1491. package/dist/templates/social/style-brutalist-testimonial.js +8 -7
  1492. package/dist/templates/social/style-dark-announcement.js +8 -7
  1493. package/dist/templates/social/style-dark-link-preview.js +8 -7
  1494. package/dist/templates/social/style-dark-milestone.js +8 -7
  1495. package/dist/templates/social/style-dark-testimonial.js +8 -7
  1496. package/dist/templates/social/style-data-announcement.js +8 -7
  1497. package/dist/templates/social/style-data-link-preview.js +8 -7
  1498. package/dist/templates/social/style-data-milestone.js +8 -7
  1499. package/dist/templates/social/style-data-testimonial.js +8 -7
  1500. package/dist/templates/social/style-editorial-announcement.js +8 -7
  1501. package/dist/templates/social/style-editorial-link-preview.js +8 -7
  1502. package/dist/templates/social/style-editorial-milestone.js +8 -7
  1503. package/dist/templates/social/style-editorial-testimonial.js +8 -7
  1504. package/dist/templates/social/style-glass-announcement.js +8 -7
  1505. package/dist/templates/social/style-glass-link-preview.js +8 -7
  1506. package/dist/templates/social/style-glass-milestone.js +8 -7
  1507. package/dist/templates/social/style-glass-testimonial.js +8 -7
  1508. package/dist/templates/social/style-gradient-announcement.js +8 -7
  1509. package/dist/templates/social/style-gradient-link-preview.js +8 -7
  1510. package/dist/templates/social/style-gradient-milestone.js +8 -7
  1511. package/dist/templates/social/style-gradient-testimonial.js +8 -7
  1512. package/dist/templates/social/style-maximal-announcement.js +8 -7
  1513. package/dist/templates/social/style-maximal-link-preview.js +8 -7
  1514. package/dist/templates/social/style-maximal-milestone.js +8 -7
  1515. package/dist/templates/social/style-maximal-testimonial.js +8 -7
  1516. package/dist/templates/social/style-pastel-announcement.js +8 -7
  1517. package/dist/templates/social/style-pastel-link-preview.js +8 -7
  1518. package/dist/templates/social/style-pastel-milestone.js +8 -7
  1519. package/dist/templates/social/style-pastel-testimonial.js +8 -7
  1520. package/dist/templates/social/style-sketch-announcement.js +8 -7
  1521. package/dist/templates/social/style-sketch-link-preview.js +8 -7
  1522. package/dist/templates/social/style-sketch-milestone.js +8 -7
  1523. package/dist/templates/social/style-sketch-testimonial.js +8 -7
  1524. package/dist/templates/social/style-swiss-announcement.js +8 -7
  1525. package/dist/templates/social/style-swiss-link-preview.js +8 -7
  1526. package/dist/templates/social/style-swiss-milestone.js +8 -7
  1527. package/dist/templates/social/style-swiss-testimonial.js +8 -7
  1528. package/dist/templates/social/style-terminal-announcement.js +8 -7
  1529. package/dist/templates/social/style-terminal-link-preview.js +8 -7
  1530. package/dist/templates/social/style-terminal-milestone.js +8 -7
  1531. package/dist/templates/social/style-terminal-testimonial.js +8 -7
  1532. package/dist/templates/social/summer-heatwave-link-preview.js +8 -7
  1533. package/dist/templates/social/summer-heatwave-lolly-post.js +8 -7
  1534. package/dist/templates/social/tour-tickets-june-ads.js +8 -7
  1535. package/dist/templates/social/tour-tickets-tide-ads.js +8 -7
  1536. package/dist/templates/social/tour-tickets-wreck-ads.js +8 -7
  1537. package/dist/templates/social/transit-map-link-preview.js +8 -7
  1538. package/dist/templates/social/ukiyo-e-link-preview.js +8 -7
  1539. package/dist/templates/social/ukiyo-e-spike-post.js +8 -7
  1540. package/dist/templates/social/valentines-link-preview.js +8 -7
  1541. package/dist/templates/social/valentines-poem-post.js +8 -7
  1542. package/dist/templates/social/vaporwave-feature-drop.js +8 -7
  1543. package/dist/templates/social/vaporwave-link-preview.js +8 -7
  1544. package/dist/templates/social/winter-cosy-link-preview.js +8 -7
  1545. package/dist/templates/social/winter-holidays-link-preview.js +8 -7
  1546. package/dist/templates/social/winter-holidays-thanks-post.js +8 -7
  1547. package/dist/templates/stings/line-reveal.js +8 -7
  1548. package/dist/templates/stings/sting-blur.js +8 -7
  1549. package/dist/templates/stings/sting-pop.js +8 -7
  1550. package/dist/templates/stings/sting-rise.js +8 -7
  1551. package/dist/templates/stings/sting-shimmer.js +8 -7
  1552. package/dist/templates/stings/word-swap.js +8 -7
  1553. package/dist/templates/text/stat-counter.js +8 -7
  1554. package/dist/templates/text/word-quote.js +8 -7
  1555. package/dist/templates/themes/april-fools.js +13 -12
  1556. package/dist/templates/themes/arcade.js +12 -11
  1557. package/dist/templates/themes/art-deco.js +13 -12
  1558. package/dist/templates/themes/autumn-harvest.js +13 -12
  1559. package/dist/templates/themes/back-to-school.js +13 -12
  1560. package/dist/templates/themes/bauhaus.js +13 -12
  1561. package/dist/templates/themes/black-friday-coupons.js +14 -13
  1562. package/dist/templates/themes/black-friday-neon.js +14 -13
  1563. package/dist/templates/themes/black-friday-scratch.js +14 -13
  1564. package/dist/templates/themes/black-friday-ticker.js +14 -13
  1565. package/dist/templates/themes/black-friday.js +13 -12
  1566. package/dist/templates/themes/blueprint.js +13 -12
  1567. package/dist/templates/themes/broadsheet.js +14 -13
  1568. package/dist/templates/themes/claymation.js +13 -12
  1569. package/dist/templates/themes/comic-book.js +22 -21
  1570. package/dist/templates/themes/comic-hero.js +20 -19
  1571. package/dist/templates/themes/comic-indie.js +8 -7
  1572. package/dist/templates/themes/cyberpunk.js +13 -12
  1573. package/dist/templates/themes/departure-board.js +13 -12
  1574. package/dist/templates/themes/diwali.js +13 -12
  1575. package/dist/templates/themes/earth-day.js +13 -12
  1576. package/dist/templates/themes/everyday.js +14 -13
  1577. package/dist/templates/themes/festival-presale-electronic-kit.js +9 -8
  1578. package/dist/templates/themes/festival-presale-family-a-shared.js +8 -7
  1579. package/dist/templates/themes/festival-presale-family-a.js +33 -32
  1580. package/dist/templates/themes/festival-presale-family-b-shared.js +8 -7
  1581. package/dist/templates/themes/festival-presale-family-b.js +33 -32
  1582. package/dist/templates/themes/festival-presale-family-kit.js +9 -8
  1583. package/dist/templates/themes/festival-presale-folk-kit.js +9 -8
  1584. package/dist/templates/themes/festival-presale-food-kit.js +9 -8
  1585. package/dist/templates/themes/festival-presale-jazz-kit.js +9 -8
  1586. package/dist/templates/themes/festival-presale-street-kit.js +9 -8
  1587. package/dist/templates/themes/festival-presale.js +14 -13
  1588. package/dist/templates/themes/gothic.js +13 -12
  1589. package/dist/templates/themes/halloween.js +13 -12
  1590. package/dist/templates/themes/holidays.js +34 -33
  1591. package/dist/templates/themes/index.js +426 -425
  1592. package/dist/templates/themes/lunar-new-year.js +13 -12
  1593. package/dist/templates/themes/machined.js +12 -11
  1594. package/dist/templates/themes/manuscript.js +13 -12
  1595. package/dist/templates/themes/memories.js +17 -16
  1596. package/dist/templates/themes/new-year.js +13 -12
  1597. package/dist/templates/themes/noir.js +13 -12
  1598. package/dist/templates/themes/printshop.js +32 -31
  1599. package/dist/templates/themes/psychedelic.js +13 -12
  1600. package/dist/templates/themes/riso-zine.js +13 -12
  1601. package/dist/templates/themes/singles-day.js +13 -12
  1602. package/dist/templates/themes/solarpunk.js +13 -12
  1603. package/dist/templates/themes/space-opera.js +13 -12
  1604. package/dist/templates/themes/spring-bloom.js +13 -12
  1605. package/dist/templates/themes/studio.js +13 -12
  1606. package/dist/templates/themes/summer-heatwave.js +13 -12
  1607. package/dist/templates/themes/tour-tickets.js +32 -31
  1608. package/dist/templates/themes/transit-map.js +13 -12
  1609. package/dist/templates/themes/ukiyo-e.js +13 -12
  1610. package/dist/templates/themes/valentines.js +13 -12
  1611. package/dist/templates/themes/vaporwave.js +12 -11
  1612. package/dist/templates/themes/winter-cosy.js +13 -12
  1613. package/dist/templates/themes/winter-holidays.js +13 -12
  1614. package/dist/templates/video/youtube-chapter.js +8 -7
  1615. package/dist/templates/video/youtube-end-screen.js +8 -7
  1616. package/dist/templates/video/youtube-intro.js +8 -7
  1617. package/dist/templates/video/youtube-subscribe.js +8 -7
  1618. package/dist/templates/web/april-fools-landing.js +8 -7
  1619. package/dist/templates/web/arcade-landing.js +8 -7
  1620. package/dist/templates/web/art-deco-landing.js +8 -7
  1621. package/dist/templates/web/autumn-harvest-landing.js +8 -7
  1622. package/dist/templates/web/back-to-school-landing.js +8 -7
  1623. package/dist/templates/web/bauhaus-landing.js +8 -7
  1624. package/dist/templates/web/black-friday-coupons-landing.js +8 -7
  1625. package/dist/templates/web/black-friday-landing.js +8 -7
  1626. package/dist/templates/web/black-friday-neon-landing.js +8 -7
  1627. package/dist/templates/web/black-friday-scratch-landing.js +8 -7
  1628. package/dist/templates/web/black-friday-ticker-landing.js +8 -7
  1629. package/dist/templates/web/blog-post.js +8 -7
  1630. package/dist/templates/web/blueprint-landing.js +8 -7
  1631. package/dist/templates/web/broadsheet-landing.js +8 -7
  1632. package/dist/templates/web/claymation-landing.js +8 -7
  1633. package/dist/templates/web/comic-book-landing.js +8 -7
  1634. package/dist/templates/web/coming-soon-page.js +8 -7
  1635. package/dist/templates/web/coming-soon.js +8 -7
  1636. package/dist/templates/web/contact.js +8 -7
  1637. package/dist/templates/web/cyberpunk-landing.js +8 -7
  1638. package/dist/templates/web/daybreak-app.js +8 -7
  1639. package/dist/templates/web/departure-board-download.js +8 -7
  1640. package/dist/templates/web/diwali-landing.js +8 -7
  1641. package/dist/templates/web/earth-day-landing.js +8 -7
  1642. package/dist/templates/web/everyday-cafe.js +8 -7
  1643. package/dist/templates/web/everyday-hotel.js +8 -7
  1644. package/dist/templates/web/everyday-wedding.js +8 -7
  1645. package/dist/templates/web/festival-presale-electronic.js +8 -7
  1646. package/dist/templates/web/festival-presale-family.js +8 -7
  1647. package/dist/templates/web/festival-presale-folk.js +8 -7
  1648. package/dist/templates/web/festival-presale-food.js +8 -7
  1649. package/dist/templates/web/festival-presale-jazz.js +8 -7
  1650. package/dist/templates/web/festival-presale-street.js +8 -7
  1651. package/dist/templates/web/gothic-landing.js +8 -7
  1652. package/dist/templates/web/halloween-landing.js +8 -7
  1653. package/dist/templates/web/hero-animated.js +8 -7
  1654. package/dist/templates/web/kindling-app.js +8 -7
  1655. package/dist/templates/web/launch-waitlist.js +8 -7
  1656. package/dist/templates/web/lunar-new-year-landing.js +8 -7
  1657. package/dist/templates/web/machined-hero.js +8 -7
  1658. package/dist/templates/web/manuscript-landing.js +8 -7
  1659. package/dist/templates/web/marginalia-app.js +8 -7
  1660. package/dist/templates/web/new-year-landing.js +8 -7
  1661. package/dist/templates/web/noir-landing.js +8 -7
  1662. package/dist/templates/web/page-404.js +8 -7
  1663. package/dist/templates/web/portfolio-architect.js +8 -7
  1664. package/dist/templates/web/portfolio-card-deck.js +8 -7
  1665. package/dist/templates/web/portfolio-case-folio.js +8 -7
  1666. package/dist/templates/web/portfolio-cube-gallery.js +8 -7
  1667. package/dist/templates/web/portfolio-depth-tunnel.js +8 -7
  1668. package/dist/templates/web/portfolio-editorial.js +8 -7
  1669. package/dist/templates/web/portfolio-flip-wall.js +8 -7
  1670. package/dist/templates/web/portfolio-index-list.js +8 -7
  1671. package/dist/templates/web/portfolio-photographer.js +8 -7
  1672. package/dist/templates/web/portfolio-reel-carousel.js +8 -7
  1673. package/dist/templates/web/portfolio-sketchbook.js +8 -7
  1674. package/dist/templates/web/portfolio-studio-grid.js +8 -7
  1675. package/dist/templates/web/portfolio.js +8 -7
  1676. package/dist/templates/web/portfolios.js +20 -19
  1677. package/dist/templates/web/potluck-app.js +8 -7
  1678. package/dist/templates/web/pricing-toggle.js +8 -7
  1679. package/dist/templates/web/product-page.js +8 -7
  1680. package/dist/templates/web/psychedelic-landing.js +8 -7
  1681. package/dist/templates/web/riso-zine-landing.js +8 -7
  1682. package/dist/templates/web/rsvp-invite.js +8 -7
  1683. package/dist/templates/web/saas-ai-landing.js +8 -7
  1684. package/dist/templates/web/saas-app-download.js +8 -7
  1685. package/dist/templates/web/saas-case-study.js +8 -7
  1686. package/dist/templates/web/saas-changelog.js +8 -7
  1687. package/dist/templates/web/saas-comparison.js +8 -7
  1688. package/dist/templates/web/saas-data-landing.js +8 -7
  1689. package/dist/templates/web/saas-dev-landing.js +8 -7
  1690. package/dist/templates/web/saas-indie-landing.js +8 -7
  1691. package/dist/templates/web/saas-integrations.js +8 -7
  1692. package/dist/templates/web/saas-security.js +8 -7
  1693. package/dist/templates/web/saas-signup.js +8 -7
  1694. package/dist/templates/web/saas-waitlist.js +8 -7
  1695. package/dist/templates/web/saffron-app.js +8 -7
  1696. package/dist/templates/web/shop-bloom.js +8 -7
  1697. package/dist/templates/web/shop-circuit.js +8 -7
  1698. package/dist/templates/web/shop-fieldwork.js +8 -7
  1699. package/dist/templates/web/shop-greenhouse.js +8 -7
  1700. package/dist/templates/web/shop-kiln.js +8 -7
  1701. package/dist/templates/web/shop-marginalia.js +8 -7
  1702. package/dist/templates/web/shop-ode.js +8 -7
  1703. package/dist/templates/web/shop-static.js +8 -7
  1704. package/dist/templates/web/shop-summit.js +8 -7
  1705. package/dist/templates/web/shops.js +17 -16
  1706. package/dist/templates/web/singles-day-landing.js +8 -7
  1707. package/dist/templates/web/solarpunk-landing.js +8 -7
  1708. package/dist/templates/web/space-opera-landing.js +8 -7
  1709. package/dist/templates/web/spring-bloom-landing.js +8 -7
  1710. package/dist/templates/web/studio-careers.js +8 -7
  1711. package/dist/templates/web/style-bento-landing.js +8 -7
  1712. package/dist/templates/web/style-bento-pricing.js +8 -7
  1713. package/dist/templates/web/style-brutalist-landing.js +8 -7
  1714. package/dist/templates/web/style-brutalist-pricing.js +8 -7
  1715. package/dist/templates/web/style-dark-landing.js +8 -7
  1716. package/dist/templates/web/style-dark-pricing.js +8 -7
  1717. package/dist/templates/web/style-data-landing.js +8 -7
  1718. package/dist/templates/web/style-data-pricing.js +8 -7
  1719. package/dist/templates/web/style-editorial-landing.js +8 -7
  1720. package/dist/templates/web/style-editorial-pricing.js +8 -7
  1721. package/dist/templates/web/style-glass-landing.js +8 -7
  1722. package/dist/templates/web/style-glass-pricing.js +8 -7
  1723. package/dist/templates/web/style-gradient-landing.js +8 -7
  1724. package/dist/templates/web/style-gradient-pricing.js +8 -7
  1725. package/dist/templates/web/style-maximal-landing.js +8 -7
  1726. package/dist/templates/web/style-maximal-pricing.js +8 -7
  1727. package/dist/templates/web/style-pastel-landing.js +8 -7
  1728. package/dist/templates/web/style-pastel-pricing.js +8 -7
  1729. package/dist/templates/web/style-sketch-landing.js +8 -7
  1730. package/dist/templates/web/style-sketch-pricing.js +8 -7
  1731. package/dist/templates/web/style-swiss-landing.js +8 -7
  1732. package/dist/templates/web/style-swiss-pricing.js +8 -7
  1733. package/dist/templates/web/style-terminal-landing.js +8 -7
  1734. package/dist/templates/web/style-terminal-pricing.js +8 -7
  1735. package/dist/templates/web/summer-heatwave-landing.js +8 -7
  1736. package/dist/templates/web/tempo-app.js +8 -7
  1737. package/dist/templates/web/tour-tickets-june-landing.js +8 -7
  1738. package/dist/templates/web/tour-tickets-tide-landing.js +8 -7
  1739. package/dist/templates/web/tour-tickets-wreck-landing.js +8 -7
  1740. package/dist/templates/web/transit-map-landing.js +8 -7
  1741. package/dist/templates/web/ukiyo-e-landing.js +8 -7
  1742. package/dist/templates/web/valentines-landing.js +8 -7
  1743. package/dist/templates/web/vaporwave-landing.js +8 -7
  1744. package/dist/templates/web/wayfarer-app.js +8 -7
  1745. package/dist/templates/web/winter-cosy-landing.js +8 -7
  1746. package/dist/templates/web/winter-holidays-landing.js +8 -7
  1747. package/package.json +1 -1
  1748. package/dist/chunks/agent-KQBQGJ3Y.js +0 -44
  1749. package/dist/chunks/audio-import-BMXT43SR.js +0 -125
  1750. package/dist/chunks/builtin-D5JLL76Q.js +0 -120
  1751. package/dist/chunks/buy-credits-V2KBTX4R.js +0 -80
  1752. package/dist/chunks/check-template-UX6DLQYY.js +0 -2412
  1753. package/dist/chunks/chunk-22NE4PUE.js +0 -23
  1754. package/dist/chunks/chunk-22R4VDZW.js +0 -136
  1755. package/dist/chunks/chunk-23W4W6Q6.js +0 -163
  1756. package/dist/chunks/chunk-23WM7XQE.js +0 -231
  1757. package/dist/chunks/chunk-245T27IT.js +0 -208
  1758. package/dist/chunks/chunk-25QYQKPJ.js +0 -152
  1759. package/dist/chunks/chunk-25VWDS4B.js +0 -80
  1760. package/dist/chunks/chunk-26JAMQOZ.js +0 -79
  1761. package/dist/chunks/chunk-26U4TKH5.js +0 -1574
  1762. package/dist/chunks/chunk-26V3D3JM.js +0 -267
  1763. package/dist/chunks/chunk-27IGSBK3.js +0 -150
  1764. package/dist/chunks/chunk-2CX5OSXJ.js +0 -53
  1765. package/dist/chunks/chunk-2CZTOHRM.js +0 -181
  1766. package/dist/chunks/chunk-2EEP6WBT.js +0 -85
  1767. package/dist/chunks/chunk-2GONRVFY.js +0 -165
  1768. package/dist/chunks/chunk-2HDNY5MM.js +0 -200
  1769. package/dist/chunks/chunk-2HOLI3ZX.js +0 -33
  1770. package/dist/chunks/chunk-2HYRVQHB.js +0 -88
  1771. package/dist/chunks/chunk-2I6MCHST.js +0 -163
  1772. package/dist/chunks/chunk-2IXXEAYW.js +0 -282
  1773. package/dist/chunks/chunk-2KTFM6DL.js +0 -276
  1774. package/dist/chunks/chunk-2MM4IZKX.js +0 -99
  1775. package/dist/chunks/chunk-2PIZYCTX.js +0 -195
  1776. package/dist/chunks/chunk-2PPNJHVK.js +0 -110
  1777. package/dist/chunks/chunk-2PWK5MOR.js +0 -157
  1778. package/dist/chunks/chunk-2PXCYVAD.js +0 -177
  1779. package/dist/chunks/chunk-2RZLBYBC.js +0 -23
  1780. package/dist/chunks/chunk-2TNGPEUG.js +0 -65
  1781. package/dist/chunks/chunk-2UVTWAIA.js +0 -54
  1782. package/dist/chunks/chunk-2VYL4WVO.js +0 -75
  1783. package/dist/chunks/chunk-2XAMTFDB.js +0 -242
  1784. package/dist/chunks/chunk-2XZKV7NV.js +0 -141
  1785. package/dist/chunks/chunk-2YWKJKNB.js +0 -261
  1786. package/dist/chunks/chunk-32I23Z35.js +0 -23
  1787. package/dist/chunks/chunk-33LVWMXJ.js +0 -45
  1788. package/dist/chunks/chunk-34BEROVU.js +0 -90
  1789. package/dist/chunks/chunk-36ZX4YRZ.js +0 -78
  1790. package/dist/chunks/chunk-3ABO32BI.js +0 -191
  1791. package/dist/chunks/chunk-3BGGEVB6.js +0 -184
  1792. package/dist/chunks/chunk-3CQ72RAK.js +0 -180
  1793. package/dist/chunks/chunk-3ECVUUAQ.js +0 -131
  1794. package/dist/chunks/chunk-3I4R5PYP.js +0 -192
  1795. package/dist/chunks/chunk-3J56XYSJ.js +0 -159
  1796. package/dist/chunks/chunk-3JF6KVDG.js +0 -330
  1797. package/dist/chunks/chunk-3L5QIJ6E.js +0 -104
  1798. package/dist/chunks/chunk-3MMCZOHP.js +0 -151
  1799. package/dist/chunks/chunk-3N4EAM2O.js +0 -97
  1800. package/dist/chunks/chunk-3NDPRTWG.js +0 -145
  1801. package/dist/chunks/chunk-3NO6XO6M.js +0 -130
  1802. package/dist/chunks/chunk-3O6JQ3CW.js +0 -252
  1803. package/dist/chunks/chunk-3PN6UW5F.js +0 -78
  1804. package/dist/chunks/chunk-3RUO3SM6.js +0 -39
  1805. package/dist/chunks/chunk-3SO5GHK6.js +0 -87
  1806. package/dist/chunks/chunk-3T6XR4LA.js +0 -151
  1807. package/dist/chunks/chunk-3TLJNQJJ.js +0 -150
  1808. package/dist/chunks/chunk-3TNP34ZL.js +0 -52
  1809. package/dist/chunks/chunk-3U3CCON4.js +0 -33
  1810. package/dist/chunks/chunk-3UTJXO3M.js +0 -143
  1811. package/dist/chunks/chunk-3VJMETKW.js +0 -36
  1812. package/dist/chunks/chunk-3WAL5OT5.js +0 -106
  1813. package/dist/chunks/chunk-3XLSBTJE.js +0 -175
  1814. package/dist/chunks/chunk-3XLTRIKC.js +0 -165
  1815. package/dist/chunks/chunk-44ASVBLU.js +0 -79
  1816. package/dist/chunks/chunk-456HSSXX.js +0 -188
  1817. package/dist/chunks/chunk-463I2Z6H.js +0 -217
  1818. package/dist/chunks/chunk-46OTQXQP.js +0 -297
  1819. package/dist/chunks/chunk-4AWWB3UW.js +0 -224
  1820. package/dist/chunks/chunk-4BI6UKXM.js +0 -23
  1821. package/dist/chunks/chunk-4DNRSX5D.js +0 -92
  1822. package/dist/chunks/chunk-4EMSDW6K.js +0 -33
  1823. package/dist/chunks/chunk-4FAWNKGU.js +0 -23
  1824. package/dist/chunks/chunk-4FDGQFXB.js +0 -118
  1825. package/dist/chunks/chunk-4GZMGZRA.js +0 -84
  1826. package/dist/chunks/chunk-4JPAVSW3.js +0 -23
  1827. package/dist/chunks/chunk-4KZYYMWC.js +0 -218
  1828. package/dist/chunks/chunk-4MFLJDUZ.js +0 -298
  1829. package/dist/chunks/chunk-4MLXNY4X.js +0 -30
  1830. package/dist/chunks/chunk-4ONGWJ2A.js +0 -85
  1831. package/dist/chunks/chunk-4OPXT5X2.js +0 -118
  1832. package/dist/chunks/chunk-4QK4M4YU.js +0 -83
  1833. package/dist/chunks/chunk-4T2QPTXX.js +0 -101
  1834. package/dist/chunks/chunk-4VV4YEO5.js +0 -69
  1835. package/dist/chunks/chunk-4XMMF5Y2.js +0 -166
  1836. package/dist/chunks/chunk-4YMTRFKC.js +0 -304
  1837. package/dist/chunks/chunk-52SMGRGF.js +0 -250
  1838. package/dist/chunks/chunk-54MQRPR4.js +0 -41
  1839. package/dist/chunks/chunk-57A5ZRCP.js +0 -247
  1840. package/dist/chunks/chunk-5AB72RRV.js +0 -154
  1841. package/dist/chunks/chunk-5CIQOIZK.js +0 -165
  1842. package/dist/chunks/chunk-5DFKORG3.js +0 -206
  1843. package/dist/chunks/chunk-5DGAUAHP.js +0 -92
  1844. package/dist/chunks/chunk-5DR6ZYFE.js +0 -48
  1845. package/dist/chunks/chunk-5EI3U266.js +0 -106
  1846. package/dist/chunks/chunk-5FC5XQTN.js +0 -358
  1847. package/dist/chunks/chunk-5GHEJMNT.js +0 -161
  1848. package/dist/chunks/chunk-5GJJCCNE.js +0 -140
  1849. package/dist/chunks/chunk-5H6ETYCX.js +0 -93
  1850. package/dist/chunks/chunk-5HBAPJGN.js +0 -107
  1851. package/dist/chunks/chunk-5I6PZIS5.js +0 -113
  1852. package/dist/chunks/chunk-5IMMXLPW.js +0 -139
  1853. package/dist/chunks/chunk-5KOVVFQW.js +0 -213
  1854. package/dist/chunks/chunk-5LULKXLG.js +0 -164
  1855. package/dist/chunks/chunk-5NQ2AKK3.js +0 -97
  1856. package/dist/chunks/chunk-5NSIJKYX.js +0 -97
  1857. package/dist/chunks/chunk-5PYMWWDS.js +0 -95
  1858. package/dist/chunks/chunk-5QAZM34A.js +0 -283
  1859. package/dist/chunks/chunk-5QSG2WBX.js +0 -94
  1860. package/dist/chunks/chunk-5RAML5WO.js +0 -135
  1861. package/dist/chunks/chunk-5VTTNMTH.js +0 -80
  1862. package/dist/chunks/chunk-5WSTPSAS.js +0 -151
  1863. package/dist/chunks/chunk-5XLFJAOL.js +0 -77
  1864. package/dist/chunks/chunk-5Y5K4MX6.js +0 -110
  1865. package/dist/chunks/chunk-6AFYESCC.js +0 -100
  1866. package/dist/chunks/chunk-6AMUOSGD.js +0 -327
  1867. package/dist/chunks/chunk-6BQFNHOL.js +0 -221
  1868. package/dist/chunks/chunk-6BQKAIYG.js +0 -106
  1869. package/dist/chunks/chunk-6BVDE3AK.js +0 -265
  1870. package/dist/chunks/chunk-6EESJYWH.js +0 -100
  1871. package/dist/chunks/chunk-6EOZMFWM.js +0 -123
  1872. package/dist/chunks/chunk-6GRCJEN7.js +0 -23
  1873. package/dist/chunks/chunk-6IUMGDIY.js +0 -248
  1874. package/dist/chunks/chunk-6MXMRFQB.js +0 -100
  1875. package/dist/chunks/chunk-6NKQTNR6.js +0 -45
  1876. package/dist/chunks/chunk-6OG2LHVA.js +0 -155
  1877. package/dist/chunks/chunk-6ONVPRII.js +0 -161
  1878. package/dist/chunks/chunk-6P3IXDZQ.js +0 -23
  1879. package/dist/chunks/chunk-6PE526MY.js +0 -108
  1880. package/dist/chunks/chunk-6PNOVI7F.js +0 -90
  1881. package/dist/chunks/chunk-6POVQI3V.js +0 -70
  1882. package/dist/chunks/chunk-6PQRMNSU.js +0 -60
  1883. package/dist/chunks/chunk-6QJFCXUR.js +0 -155
  1884. package/dist/chunks/chunk-6RQDLFQA.js +0 -36
  1885. package/dist/chunks/chunk-6RXYAGHI.js +0 -23
  1886. package/dist/chunks/chunk-6SXDCE2B.js +0 -30
  1887. package/dist/chunks/chunk-6TZR2AEW.js +0 -131
  1888. package/dist/chunks/chunk-6WF77D2R.js +0 -77
  1889. package/dist/chunks/chunk-6WKRJQRT.js +0 -342
  1890. package/dist/chunks/chunk-723PE5N4.js +0 -33
  1891. package/dist/chunks/chunk-72VDNPH2.js +0 -53
  1892. package/dist/chunks/chunk-733RVQXB.js +0 -91
  1893. package/dist/chunks/chunk-77SFEEFN.js +0 -120
  1894. package/dist/chunks/chunk-7BAAVJAC.js +0 -187
  1895. package/dist/chunks/chunk-7DIN3AXH.js +0 -399
  1896. package/dist/chunks/chunk-7F35W27M.js +0 -50
  1897. package/dist/chunks/chunk-7GMFJZ5P.js +0 -1403
  1898. package/dist/chunks/chunk-7HHZ4ZH4.js +0 -97
  1899. package/dist/chunks/chunk-7KKSXSVW.js +0 -102
  1900. package/dist/chunks/chunk-7NUY57VH.js +0 -174
  1901. package/dist/chunks/chunk-7ODUB3E5.js +0 -75
  1902. package/dist/chunks/chunk-7QHAOIYF.js +0 -338
  1903. package/dist/chunks/chunk-7RYMXKN7.js +0 -150
  1904. package/dist/chunks/chunk-7T4EB3BC.js +0 -122
  1905. package/dist/chunks/chunk-7WN25JCS.js +0 -101
  1906. package/dist/chunks/chunk-7WS7Q3UT.js +0 -87
  1907. package/dist/chunks/chunk-7Z7W65YE.js +0 -160
  1908. package/dist/chunks/chunk-A2KV6RRO.js +0 -163
  1909. package/dist/chunks/chunk-A3BCTI5A.js +0 -94
  1910. package/dist/chunks/chunk-A45GY5XV.js +0 -100
  1911. package/dist/chunks/chunk-A47VCPM5.js +0 -130
  1912. package/dist/chunks/chunk-A63VDSU5.js +0 -175
  1913. package/dist/chunks/chunk-A6C66WJJ.js +0 -47
  1914. package/dist/chunks/chunk-A6IC6R2B.js +0 -178
  1915. package/dist/chunks/chunk-A6VXQBWQ.js +0 -171
  1916. package/dist/chunks/chunk-A7LZ3OVX.js +0 -161
  1917. package/dist/chunks/chunk-ACO4YZPA.js +0 -366
  1918. package/dist/chunks/chunk-AI4D7ZZK.js +0 -222
  1919. package/dist/chunks/chunk-AI7UEXIT.js +0 -180
  1920. package/dist/chunks/chunk-ALA2FCGS.js +0 -164
  1921. package/dist/chunks/chunk-AO5IUQVQ.js +0 -33
  1922. package/dist/chunks/chunk-AQLZ5YSS.js +0 -158
  1923. package/dist/chunks/chunk-AS67NIIH.js +0 -337
  1924. package/dist/chunks/chunk-ASA3COMY.js +0 -173
  1925. package/dist/chunks/chunk-ASBNUECJ.js +0 -278
  1926. package/dist/chunks/chunk-AU3W24K5.js +0 -303
  1927. package/dist/chunks/chunk-AWU5PHO7.js +0 -33
  1928. package/dist/chunks/chunk-AY2ZQFOC.js +0 -187
  1929. package/dist/chunks/chunk-AYJITYEZ.js +0 -181
  1930. package/dist/chunks/chunk-B3UBF6KP.js +0 -232
  1931. package/dist/chunks/chunk-B5MBSYBB.js +0 -46
  1932. package/dist/chunks/chunk-BAAB3FVQ.js +0 -33
  1933. package/dist/chunks/chunk-BCBXDFSH.js +0 -23
  1934. package/dist/chunks/chunk-BCJSYH6M.js +0 -110
  1935. package/dist/chunks/chunk-BDLDFIQU.js +0 -327
  1936. package/dist/chunks/chunk-BE3ZZJI6.js +0 -334
  1937. package/dist/chunks/chunk-BERJKZZ2.js +0 -167
  1938. package/dist/chunks/chunk-BFWKNMTD.js +0 -45
  1939. package/dist/chunks/chunk-BGDGE2DN.js +0 -90
  1940. package/dist/chunks/chunk-BGMGXSXA.js +0 -153
  1941. package/dist/chunks/chunk-BGQX7G6I.js +0 -172
  1942. package/dist/chunks/chunk-BIFCUE42.js +0 -168
  1943. package/dist/chunks/chunk-BIWYI533.js +0 -282
  1944. package/dist/chunks/chunk-BIZVL2PM.js +0 -82
  1945. package/dist/chunks/chunk-BJWTMUAS.js +0 -45
  1946. package/dist/chunks/chunk-BK3Q3FA6.js +0 -168
  1947. package/dist/chunks/chunk-BKXY24WT.js +0 -685
  1948. package/dist/chunks/chunk-BQA2BFVT.js +0 -329
  1949. package/dist/chunks/chunk-BQGLR3XY.js +0 -59
  1950. package/dist/chunks/chunk-BQO3ZRJO.js +0 -166
  1951. package/dist/chunks/chunk-BQQUTVHU.js +0 -10754
  1952. package/dist/chunks/chunk-BQZKDPRW.js +0 -84
  1953. package/dist/chunks/chunk-BRELQTXU.js +0 -71
  1954. package/dist/chunks/chunk-BSLVKEDZ.js +0 -23
  1955. package/dist/chunks/chunk-BTJMS3NE.js +0 -177
  1956. package/dist/chunks/chunk-BV65D4VD.js +0 -81
  1957. package/dist/chunks/chunk-BX4A35BD.js +0 -127
  1958. package/dist/chunks/chunk-BXJCEIFY.js +0 -134
  1959. package/dist/chunks/chunk-BYG37BFU.js +0 -361
  1960. package/dist/chunks/chunk-BYUHMJIX.js +0 -256
  1961. package/dist/chunks/chunk-BYZJ5LWF.js +0 -156
  1962. package/dist/chunks/chunk-BZ3NRXXV.js +0 -961
  1963. package/dist/chunks/chunk-BZKTR4OM.js +0 -135
  1964. package/dist/chunks/chunk-C2QTT5CF.js +0 -142
  1965. package/dist/chunks/chunk-C4PYA6S2.js +0 -33
  1966. package/dist/chunks/chunk-C4QIXUOK.js +0 -176
  1967. package/dist/chunks/chunk-C65XZDAL.js +0 -49
  1968. package/dist/chunks/chunk-C6B55KOD.js +0 -646
  1969. package/dist/chunks/chunk-C6V2QAMT.js +0 -2168
  1970. package/dist/chunks/chunk-CA4GDCRK.js +0 -150
  1971. package/dist/chunks/chunk-CBAYHTJO.js +0 -103
  1972. package/dist/chunks/chunk-CCQ5JWJE.js +0 -197
  1973. package/dist/chunks/chunk-CD2RUGID.js +0 -36
  1974. package/dist/chunks/chunk-CDAIWMDG.js +0 -86
  1975. package/dist/chunks/chunk-CDJ2GDTZ.js +0 -92
  1976. package/dist/chunks/chunk-CEHYLO5R.js +0 -147
  1977. package/dist/chunks/chunk-CEZ4VBOV.js +0 -112
  1978. package/dist/chunks/chunk-CG6O775L.js +0 -155
  1979. package/dist/chunks/chunk-CG6PAQEG.js +0 -655
  1980. package/dist/chunks/chunk-CGCY5ZA3.js +0 -83
  1981. package/dist/chunks/chunk-CIAIH7MU.js +0 -150
  1982. package/dist/chunks/chunk-CJ425M5C.js +0 -87
  1983. package/dist/chunks/chunk-CJUWULU4.js +0 -185
  1984. package/dist/chunks/chunk-CMN4ATF5.js +0 -84
  1985. package/dist/chunks/chunk-CMRA4B7X.js +0 -23
  1986. package/dist/chunks/chunk-CMSPJMQR.js +0 -179
  1987. package/dist/chunks/chunk-COCGCJ6K.js +0 -23
  1988. package/dist/chunks/chunk-CPFHFBDY.js +0 -89
  1989. package/dist/chunks/chunk-CQIGVOLN.js +0 -145
  1990. package/dist/chunks/chunk-CQVLRO4T.js +0 -146
  1991. package/dist/chunks/chunk-CT4UFLEP.js +0 -99
  1992. package/dist/chunks/chunk-CUJVFYCX.js +0 -123
  1993. package/dist/chunks/chunk-CZLAVHSC.js +0 -133
  1994. package/dist/chunks/chunk-D2NKD674.js +0 -57
  1995. package/dist/chunks/chunk-D4V2LVKD.js +0 -361
  1996. package/dist/chunks/chunk-D4XQ3YHA.js +0 -159
  1997. package/dist/chunks/chunk-D5AGZJKY.js +0 -177
  1998. package/dist/chunks/chunk-D6OOFUIJ.js +0 -410
  1999. package/dist/chunks/chunk-D72Y54CX.js +0 -360
  2000. package/dist/chunks/chunk-D76EN52C.js +0 -146
  2001. package/dist/chunks/chunk-D7EF7FJO.js +0 -311
  2002. package/dist/chunks/chunk-D7TZXWVW.js +0 -273
  2003. package/dist/chunks/chunk-DA6HTNAH.js +0 -71
  2004. package/dist/chunks/chunk-DCQVLPZB.js +0 -105
  2005. package/dist/chunks/chunk-DD42W2VA.js +0 -263
  2006. package/dist/chunks/chunk-DDQURHFV.js +0 -128
  2007. package/dist/chunks/chunk-DDXH2UP6.js +0 -126
  2008. package/dist/chunks/chunk-DDZJJBBW.js +0 -23
  2009. package/dist/chunks/chunk-DGJPIZ3A.js +0 -125
  2010. package/dist/chunks/chunk-DH5DPYCH.js +0 -198
  2011. package/dist/chunks/chunk-DHEQGSAP.js +0 -33
  2012. package/dist/chunks/chunk-DJ7F6V7D.js +0 -152
  2013. package/dist/chunks/chunk-DJBTL4FA.js +0 -108
  2014. package/dist/chunks/chunk-DJDLZO56.js +0 -10311
  2015. package/dist/chunks/chunk-DKQWYA4N.js +0 -196
  2016. package/dist/chunks/chunk-DMGMMJ6N.js +0 -170
  2017. package/dist/chunks/chunk-DNBTJFWW.js +0 -105
  2018. package/dist/chunks/chunk-DOCCYVBX.js +0 -170
  2019. package/dist/chunks/chunk-DOCUNLYV.js +0 -1419
  2020. package/dist/chunks/chunk-DPTXE7HK.js +0 -55
  2021. package/dist/chunks/chunk-DRA6SEUY.js +0 -123
  2022. package/dist/chunks/chunk-DRLV7A7Z.js +0 -147
  2023. package/dist/chunks/chunk-DS5XCRN4.js +0 -102
  2024. package/dist/chunks/chunk-DSPFL4XY.js +0 -78
  2025. package/dist/chunks/chunk-DTJVVO7C.js +0 -97
  2026. package/dist/chunks/chunk-DTLIXZJK.js +0 -55
  2027. package/dist/chunks/chunk-DTWVCSEU.js +0 -178
  2028. package/dist/chunks/chunk-DWN3IMD4.js +0 -260
  2029. package/dist/chunks/chunk-DYZZVJ27.js +0 -82
  2030. package/dist/chunks/chunk-E2BLDY7D.js +0 -91
  2031. package/dist/chunks/chunk-E2BSVGKP.js +0 -262
  2032. package/dist/chunks/chunk-E3F2BMSZ.js +0 -104
  2033. package/dist/chunks/chunk-E6XHAD6F.js +0 -153
  2034. package/dist/chunks/chunk-EGY5SMFV.js +0 -179
  2035. package/dist/chunks/chunk-EHDC2QRB.js +0 -213
  2036. package/dist/chunks/chunk-EJVBMHRH.js +0 -178
  2037. package/dist/chunks/chunk-ELRBQPAS.js +0 -261
  2038. package/dist/chunks/chunk-EMMD23HV.js +0 -33
  2039. package/dist/chunks/chunk-ENH2OCGH.js +0 -183
  2040. package/dist/chunks/chunk-EPSXXXWF.js +0 -198
  2041. package/dist/chunks/chunk-EPZME2JV.js +0 -89
  2042. package/dist/chunks/chunk-EQEWJ2EH.js +0 -160
  2043. package/dist/chunks/chunk-ER6C73QO.js +0 -60
  2044. package/dist/chunks/chunk-ESGWHIX4.js +0 -626
  2045. package/dist/chunks/chunk-ESHQCRCA.js +0 -104
  2046. package/dist/chunks/chunk-ESQDCGIV.js +0 -163
  2047. package/dist/chunks/chunk-ET75YWRR.js +0 -207
  2048. package/dist/chunks/chunk-ET7CAEKU.js +0 -84
  2049. package/dist/chunks/chunk-ETIGXM7P.js +0 -140
  2050. package/dist/chunks/chunk-EVBPWL4P.js +0 -124
  2051. package/dist/chunks/chunk-EW4UC465.js +0 -141
  2052. package/dist/chunks/chunk-EWJN637V.js +0 -220
  2053. package/dist/chunks/chunk-EYDHAACH.js +0 -422
  2054. package/dist/chunks/chunk-EYY2FOAY.js +0 -33
  2055. package/dist/chunks/chunk-EZ5QG4D4.js +0 -101
  2056. package/dist/chunks/chunk-EZD47EFT.js +0 -462
  2057. package/dist/chunks/chunk-EZRMDNSA.js +0 -169
  2058. package/dist/chunks/chunk-F2PE4YYI.js +0 -120
  2059. package/dist/chunks/chunk-F2WIXXCI.js +0 -133
  2060. package/dist/chunks/chunk-F4FXXHKT.js +0 -49
  2061. package/dist/chunks/chunk-F4H2JIGL.js +0 -320
  2062. package/dist/chunks/chunk-F4P757EL.js +0 -559
  2063. package/dist/chunks/chunk-F4VMHPVX.js +0 -174
  2064. package/dist/chunks/chunk-F77FP5T4.js +0 -209
  2065. package/dist/chunks/chunk-F7HHUFLG.js +0 -91
  2066. package/dist/chunks/chunk-FFFJ5FD6.js +0 -194
  2067. package/dist/chunks/chunk-FGDZPE66.js +0 -192
  2068. package/dist/chunks/chunk-FIAKOKOQ.js +0 -33
  2069. package/dist/chunks/chunk-FK54QCHP.js +0 -122
  2070. package/dist/chunks/chunk-FKH7PWUX.js +0 -93
  2071. package/dist/chunks/chunk-FKQ7CVTY.js +0 -110
  2072. package/dist/chunks/chunk-FLNTFUB7.js +0 -153
  2073. package/dist/chunks/chunk-FML5MYTE.js +0 -87
  2074. package/dist/chunks/chunk-FMOTIXPX.js +0 -129
  2075. package/dist/chunks/chunk-FNDTDVIG.js +0 -187
  2076. package/dist/chunks/chunk-FOPP3SHI.js +0 -76
  2077. package/dist/chunks/chunk-FQOXCCQ2.js +0 -69
  2078. package/dist/chunks/chunk-FSMFOMSF.js +0 -198
  2079. package/dist/chunks/chunk-FXHGRZCD.js +0 -165
  2080. package/dist/chunks/chunk-FYHULSPL.js +0 -163
  2081. package/dist/chunks/chunk-G2R67YRY.js +0 -78
  2082. package/dist/chunks/chunk-G46NHQHE.js +0 -287
  2083. package/dist/chunks/chunk-G5ZDXWCT.js +0 -147
  2084. package/dist/chunks/chunk-G6MY2GM3.js +0 -969
  2085. package/dist/chunks/chunk-G7QCGH5V.js +0 -497
  2086. package/dist/chunks/chunk-GADDN5S2.js +0 -284
  2087. package/dist/chunks/chunk-GDTRLIOS.js +0 -139
  2088. package/dist/chunks/chunk-GE42ROE4.js +0 -138
  2089. package/dist/chunks/chunk-GEVYHKO4.js +0 -51
  2090. package/dist/chunks/chunk-GFJJ4MEO.js +0 -90
  2091. package/dist/chunks/chunk-GFLVPENS.js +0 -125
  2092. package/dist/chunks/chunk-GFXFTD75.js +0 -33
  2093. package/dist/chunks/chunk-GHD5COBQ.js +0 -889
  2094. package/dist/chunks/chunk-GIEO5Z2H.js +0 -101
  2095. package/dist/chunks/chunk-GIVMJ2NV.js +0 -176
  2096. package/dist/chunks/chunk-GIX3A5UR.js +0 -140
  2097. package/dist/chunks/chunk-GLQG4F36.js +0 -92
  2098. package/dist/chunks/chunk-GONKOURH.js +0 -47
  2099. package/dist/chunks/chunk-GQMJ3XQL.js +0 -191
  2100. package/dist/chunks/chunk-GRUBFIKC.js +0 -28
  2101. package/dist/chunks/chunk-GVRMGZHM.js +0 -152
  2102. package/dist/chunks/chunk-GWS44ZSK.js +0 -279
  2103. package/dist/chunks/chunk-GXL27IJA.js +0 -197
  2104. package/dist/chunks/chunk-GYM4HSF6.js +0 -109
  2105. package/dist/chunks/chunk-HA7MUNVV.js +0 -33
  2106. package/dist/chunks/chunk-HAJ45FXD.js +0 -36
  2107. package/dist/chunks/chunk-HDA6OMDX.js +0 -315
  2108. package/dist/chunks/chunk-HIQ7N4XU.js +0 -103
  2109. package/dist/chunks/chunk-HIXEX5B5.js +0 -163
  2110. package/dist/chunks/chunk-HJ3A2QNE.js +0 -23
  2111. package/dist/chunks/chunk-HJ7UCHMB.js +0 -85
  2112. package/dist/chunks/chunk-HLJVPUN2.js +0 -23
  2113. package/dist/chunks/chunk-HM4PIWA5.js +0 -146
  2114. package/dist/chunks/chunk-HOOUYEHK.js +0 -108
  2115. package/dist/chunks/chunk-HP2F4MRP.js +0 -391
  2116. package/dist/chunks/chunk-HPFFLQA7.js +0 -78
  2117. package/dist/chunks/chunk-HPQ23MS7.js +0 -147
  2118. package/dist/chunks/chunk-HPTKPD5S.js +0 -152
  2119. package/dist/chunks/chunk-HQU4HLJY.js +0 -274
  2120. package/dist/chunks/chunk-HRN5FQ5D.js +0 -111
  2121. package/dist/chunks/chunk-HUI56QE2.js +0 -76
  2122. package/dist/chunks/chunk-HV2CALBC.js +0 -66
  2123. package/dist/chunks/chunk-HVA3PGJ3.js +0 -261
  2124. package/dist/chunks/chunk-HYHMZ7DV.js +0 -136
  2125. package/dist/chunks/chunk-HYKCSFCJ.js +0 -33
  2126. package/dist/chunks/chunk-I25XLNEB.js +0 -390
  2127. package/dist/chunks/chunk-I3SZR45Q.js +0 -1309
  2128. package/dist/chunks/chunk-I3YKNJ4F.js +0 -108
  2129. package/dist/chunks/chunk-I44ZFSBI.js +0 -1002
  2130. package/dist/chunks/chunk-I6PCKBLM.js +0 -23
  2131. package/dist/chunks/chunk-I7XTJKG2.js +0 -204
  2132. package/dist/chunks/chunk-I7YXBRPL.js +0 -326
  2133. package/dist/chunks/chunk-IBFJZ7TP.js +0 -171
  2134. package/dist/chunks/chunk-IBU63LKT.js +0 -301
  2135. package/dist/chunks/chunk-IEJCPWLE.js +0 -206
  2136. package/dist/chunks/chunk-IF6HVQUE.js +0 -161
  2137. package/dist/chunks/chunk-IFVQ6E6H.js +0 -41
  2138. package/dist/chunks/chunk-IGZ7FIYV.js +0 -42
  2139. package/dist/chunks/chunk-IH5HVG5Q.js +0 -94
  2140. package/dist/chunks/chunk-IJ5RQTNA.js +0 -260
  2141. package/dist/chunks/chunk-IKPTHOS3.js +0 -156
  2142. package/dist/chunks/chunk-ILL37BST.js +0 -351
  2143. package/dist/chunks/chunk-ILTV2FXR.js +0 -172
  2144. package/dist/chunks/chunk-IP3WY3ZM.js +0 -249
  2145. package/dist/chunks/chunk-IQ5DVHMP.js +0 -94
  2146. package/dist/chunks/chunk-IQGG3ZZM.js +0 -133
  2147. package/dist/chunks/chunk-IRASARQN.js +0 -120
  2148. package/dist/chunks/chunk-IU2VMNH6.js +0 -107
  2149. package/dist/chunks/chunk-IVJGAUSW.js +0 -378
  2150. package/dist/chunks/chunk-IVKKDMFF.js +0 -130
  2151. package/dist/chunks/chunk-IVVFD3ZJ.js +0 -146
  2152. package/dist/chunks/chunk-IW63LXPU.js +0 -239
  2153. package/dist/chunks/chunk-IXDQZEOC.js +0 -95
  2154. package/dist/chunks/chunk-J2CVR2C4.js +0 -23
  2155. package/dist/chunks/chunk-J2SPVCFA.js +0 -212
  2156. package/dist/chunks/chunk-J47SNU5Q.js +0 -358
  2157. package/dist/chunks/chunk-J5EPG643.js +0 -99
  2158. package/dist/chunks/chunk-J66422LJ.js +0 -122
  2159. package/dist/chunks/chunk-JABRTEOQ.js +0 -23
  2160. package/dist/chunks/chunk-JBWSGNJ4.js +0 -185
  2161. package/dist/chunks/chunk-JCHM4KXS.js +0 -63
  2162. package/dist/chunks/chunk-JFRE2LIT.js +0 -135
  2163. package/dist/chunks/chunk-JHOGXKQT.js +0 -65
  2164. package/dist/chunks/chunk-JK3DVOP2.js +0 -157
  2165. package/dist/chunks/chunk-JL5MFSQZ.js +0 -194
  2166. package/dist/chunks/chunk-JMSEO34Z.js +0 -299
  2167. package/dist/chunks/chunk-JMUNI6YC.js +0 -80
  2168. package/dist/chunks/chunk-JMW5MSIF.js +0 -166
  2169. package/dist/chunks/chunk-JNU3S6XK.js +0 -48
  2170. package/dist/chunks/chunk-JOJ2ITWK.js +0 -77
  2171. package/dist/chunks/chunk-JOMQIK3J.js +0 -23
  2172. package/dist/chunks/chunk-JP4II2C5.js +0 -202
  2173. package/dist/chunks/chunk-JRJCOPWE.js +0 -105
  2174. package/dist/chunks/chunk-JT62KTQX.js +0 -193
  2175. package/dist/chunks/chunk-JTCKAZCF.js +0 -33
  2176. package/dist/chunks/chunk-JUGJNNFA.js +0 -277
  2177. package/dist/chunks/chunk-JV2SAWE2.js +0 -94
  2178. package/dist/chunks/chunk-JVZD25UQ.js +0 -70
  2179. package/dist/chunks/chunk-JYJDMX6P.js +0 -1393
  2180. package/dist/chunks/chunk-JZNC3ESB.js +0 -224
  2181. package/dist/chunks/chunk-K4DX3SKU.js +0 -1469
  2182. package/dist/chunks/chunk-K55IVPAV.js +0 -149
  2183. package/dist/chunks/chunk-K5BCO4W5.js +0 -95
  2184. package/dist/chunks/chunk-K5ILILPQ.js +0 -106
  2185. package/dist/chunks/chunk-K5SVRRCI.js +0 -97
  2186. package/dist/chunks/chunk-K5UM5G7E.js +0 -98
  2187. package/dist/chunks/chunk-K6YLHLUB.js +0 -144
  2188. package/dist/chunks/chunk-K7B5WF6L.js +0 -210
  2189. package/dist/chunks/chunk-KAYEGRGD.js +0 -94
  2190. package/dist/chunks/chunk-KBAR4HVJ.js +0 -45
  2191. package/dist/chunks/chunk-KBT22QH3.js +0 -36
  2192. package/dist/chunks/chunk-KBTZKC5T.js +0 -145
  2193. package/dist/chunks/chunk-KEMZKH6N.js +0 -161
  2194. package/dist/chunks/chunk-KFUQWMEX.js +0 -169
  2195. package/dist/chunks/chunk-KFXHPP2Q.js +0 -84
  2196. package/dist/chunks/chunk-KGHRKLAH.js +0 -149
  2197. package/dist/chunks/chunk-KH2XYHGN.js +0 -237
  2198. package/dist/chunks/chunk-KH32MJEU.js +0 -45
  2199. package/dist/chunks/chunk-KIB547IP.js +0 -192
  2200. package/dist/chunks/chunk-KJESL6AA.js +0 -162
  2201. package/dist/chunks/chunk-KMFNFQU5.js +0 -45
  2202. package/dist/chunks/chunk-KMYLX4HD.js +0 -206
  2203. package/dist/chunks/chunk-KN6MW4AI.js +0 -124
  2204. package/dist/chunks/chunk-KNIXC5BL.js +0 -166
  2205. package/dist/chunks/chunk-KOZZASHF.js +0 -298
  2206. package/dist/chunks/chunk-KQD3JM4U.js +0 -23
  2207. package/dist/chunks/chunk-KQLPEZHJ.js +0 -84
  2208. package/dist/chunks/chunk-KTKH5C52.js +0 -123
  2209. package/dist/chunks/chunk-KTR3DVPZ.js +0 -23
  2210. package/dist/chunks/chunk-KUM23H4R.js +0 -1136
  2211. package/dist/chunks/chunk-KUS25F63.js +0 -108
  2212. package/dist/chunks/chunk-KUT5PN7M.js +0 -118
  2213. package/dist/chunks/chunk-KVJ4HMDM.js +0 -163
  2214. package/dist/chunks/chunk-KVYG7CG4.js +0 -140
  2215. package/dist/chunks/chunk-KWEJKE3B.js +0 -228
  2216. package/dist/chunks/chunk-KX7TDDUQ.js +0 -226
  2217. package/dist/chunks/chunk-KY3SXRIS.js +0 -167
  2218. package/dist/chunks/chunk-KYBV6ZEY.js +0 -23
  2219. package/dist/chunks/chunk-KZGOHN7E.js +0 -50
  2220. package/dist/chunks/chunk-KZXH5E55.js +0 -231
  2221. package/dist/chunks/chunk-L2DG25VC.js +0 -106
  2222. package/dist/chunks/chunk-L4XHLDJW.js +0 -104
  2223. package/dist/chunks/chunk-L54UKDAI.js +0 -220
  2224. package/dist/chunks/chunk-LBPFQLGD.js +0 -48
  2225. package/dist/chunks/chunk-LBQE7WMK.js +0 -255
  2226. package/dist/chunks/chunk-LCGLC5XO.js +0 -36
  2227. package/dist/chunks/chunk-LE2RTMWD.js +0 -240
  2228. package/dist/chunks/chunk-LEZQVO6N.js +0 -23
  2229. package/dist/chunks/chunk-LG6JCSKR.js +0 -589
  2230. package/dist/chunks/chunk-LGQ4SAYO.js +0 -105
  2231. package/dist/chunks/chunk-LI3WOSKQ.js +0 -23
  2232. package/dist/chunks/chunk-LIHWDTWA.js +0 -23
  2233. package/dist/chunks/chunk-LJNEPJ7G.js +0 -247
  2234. package/dist/chunks/chunk-LKVEI4TG.js +0 -100
  2235. package/dist/chunks/chunk-LNDAH4Y5.js +0 -149
  2236. package/dist/chunks/chunk-LO2COKX6.js +0 -290
  2237. package/dist/chunks/chunk-LP4ISJZQ.js +0 -169
  2238. package/dist/chunks/chunk-LPUCXVEC.js +0 -33
  2239. package/dist/chunks/chunk-LQAABJHJ.js +0 -258
  2240. package/dist/chunks/chunk-LQW4WJ4X.js +0 -77
  2241. package/dist/chunks/chunk-LRU2N3NW.js +0 -36
  2242. package/dist/chunks/chunk-LRVQ6VTM.js +0 -146
  2243. package/dist/chunks/chunk-LSW3AJSG.js +0 -198
  2244. package/dist/chunks/chunk-LUY3Q7U3.js +0 -23
  2245. package/dist/chunks/chunk-LVTYDR4O.js +0 -122
  2246. package/dist/chunks/chunk-LWBFXSD7.js +0 -200
  2247. package/dist/chunks/chunk-LXV6KUPD.js +0 -86
  2248. package/dist/chunks/chunk-LY5WGQU5.js +0 -154
  2249. package/dist/chunks/chunk-LY6OQOVQ.js +0 -652
  2250. package/dist/chunks/chunk-M46N34J4.js +0 -23
  2251. package/dist/chunks/chunk-M4ERKOQS.js +0 -95
  2252. package/dist/chunks/chunk-M4MKJOMD.js +0 -41
  2253. package/dist/chunks/chunk-M6RQWVHU.js +0 -272
  2254. package/dist/chunks/chunk-M7VIM2FJ.js +0 -102
  2255. package/dist/chunks/chunk-M7XP3EJR.js +0 -121
  2256. package/dist/chunks/chunk-MBEQLV23.js +0 -109
  2257. package/dist/chunks/chunk-MBKPPQLW.js +0 -215
  2258. package/dist/chunks/chunk-MCZGU56X.js +0 -81
  2259. package/dist/chunks/chunk-MGJ6A4WP.js +0 -251
  2260. package/dist/chunks/chunk-MHMAU3E6.js +0 -159
  2261. package/dist/chunks/chunk-MISUZPUZ.js +0 -23
  2262. package/dist/chunks/chunk-MMSSTV3E.js +0 -170
  2263. package/dist/chunks/chunk-MOFBKUAK.js +0 -44
  2264. package/dist/chunks/chunk-MOFKQVFI.js +0 -250
  2265. package/dist/chunks/chunk-MONAG25N.js +0 -38
  2266. package/dist/chunks/chunk-MOVBSPKX.js +0 -93
  2267. package/dist/chunks/chunk-MR33MQS3.js +0 -71
  2268. package/dist/chunks/chunk-MVDFWBBW.js +0 -81
  2269. package/dist/chunks/chunk-MVXDZT7Y.js +0 -53
  2270. package/dist/chunks/chunk-MW7XEKOU.js +0 -135
  2271. package/dist/chunks/chunk-MWAPUWCM.js +0 -117
  2272. package/dist/chunks/chunk-MZRHC5ZO.js +0 -33
  2273. package/dist/chunks/chunk-N4FFAMM5.js +0 -137
  2274. package/dist/chunks/chunk-N52BNR4N.js +0 -375
  2275. package/dist/chunks/chunk-N77V7NHB.js +0 -45
  2276. package/dist/chunks/chunk-NAYISXPK.js +0 -235
  2277. package/dist/chunks/chunk-NBIELP5B.js +0 -197
  2278. package/dist/chunks/chunk-NCUL257M.js +0 -150
  2279. package/dist/chunks/chunk-NDJ47WZY.js +0 -96
  2280. package/dist/chunks/chunk-NEZRW45W.js +0 -415
  2281. package/dist/chunks/chunk-NHVRLNY3.js +0 -23
  2282. package/dist/chunks/chunk-NIMN7PTL.js +0 -115
  2283. package/dist/chunks/chunk-NJZ3O5DR.js +0 -23
  2284. package/dist/chunks/chunk-NPSAHPTU.js +0 -88
  2285. package/dist/chunks/chunk-NQTCYLN2.js +0 -74
  2286. package/dist/chunks/chunk-NQUP72KL.js +0 -106
  2287. package/dist/chunks/chunk-NRLK4U3I.js +0 -73
  2288. package/dist/chunks/chunk-NRWOXGYT.js +0 -158
  2289. package/dist/chunks/chunk-NSRQND7P.js +0 -266
  2290. package/dist/chunks/chunk-NU5IHG7B.js +0 -215
  2291. package/dist/chunks/chunk-NULGIUAT.js +0 -209
  2292. package/dist/chunks/chunk-NVBQFO4W.js +0 -210
  2293. package/dist/chunks/chunk-NVE4QLD5.js +0 -95
  2294. package/dist/chunks/chunk-NVIUSTOS.js +0 -85
  2295. package/dist/chunks/chunk-NW5TS5S2.js +0 -63
  2296. package/dist/chunks/chunk-NWWGGVAO.js +0 -199
  2297. package/dist/chunks/chunk-NXPEJ57M.js +0 -368
  2298. package/dist/chunks/chunk-NYFT2WUP.js +0 -96
  2299. package/dist/chunks/chunk-NYT2I6YH.js +0 -117
  2300. package/dist/chunks/chunk-O2OUUNME.js +0 -47
  2301. package/dist/chunks/chunk-O3EHQ5M2.js +0 -197
  2302. package/dist/chunks/chunk-O7A5UJ5A.js +0 -152
  2303. package/dist/chunks/chunk-O7ZV34WM.js +0 -224
  2304. package/dist/chunks/chunk-OAWZMFFY.js +0 -209
  2305. package/dist/chunks/chunk-OBMPLA3O.js +0 -127
  2306. package/dist/chunks/chunk-OGMXIJ5B.js +0 -55
  2307. package/dist/chunks/chunk-OGQYDO6Q.js +0 -182
  2308. package/dist/chunks/chunk-OHJ3LNPB.js +0 -78
  2309. package/dist/chunks/chunk-OIVJ6P6U.js +0 -204
  2310. package/dist/chunks/chunk-OJS4DFBC.js +0 -103
  2311. package/dist/chunks/chunk-OJZJO2EH.js +0 -728
  2312. package/dist/chunks/chunk-OKH4PD6T.js +0 -226
  2313. package/dist/chunks/chunk-OLUV3XVZ.js +0 -190
  2314. package/dist/chunks/chunk-ORYQBFQ4.js +0 -102
  2315. package/dist/chunks/chunk-OTHEPQ5U.js +0 -142
  2316. package/dist/chunks/chunk-OVYEFUOG.js +0 -266
  2317. package/dist/chunks/chunk-OX2SVXIX.js +0 -119
  2318. package/dist/chunks/chunk-OY6BJC37.js +0 -115
  2319. package/dist/chunks/chunk-P4MDCFDC.js +0 -147
  2320. package/dist/chunks/chunk-P72VNGKD.js +0 -257
  2321. package/dist/chunks/chunk-P7KJUXQJ.js +0 -95
  2322. package/dist/chunks/chunk-P7ZRGMEI.js +0 -108
  2323. package/dist/chunks/chunk-PA2GKJKU.js +0 -189
  2324. package/dist/chunks/chunk-PDWN4VZH.js +0 -100
  2325. package/dist/chunks/chunk-PE7FAFCN.js +0 -45
  2326. package/dist/chunks/chunk-PGA7ZL3Z.js +0 -23
  2327. package/dist/chunks/chunk-PGR2CSXU.js +0 -111
  2328. package/dist/chunks/chunk-PHVJ4QOH.js +0 -112
  2329. package/dist/chunks/chunk-PLFEXL7M.js +0 -33
  2330. package/dist/chunks/chunk-PLWJHSIG.js +0 -115
  2331. package/dist/chunks/chunk-PMSQQMXL.js +0 -119
  2332. package/dist/chunks/chunk-PMTOLNWK.js +0 -112
  2333. package/dist/chunks/chunk-PNLTFZTX.js +0 -92
  2334. package/dist/chunks/chunk-PNRI2X3N.js +0 -23
  2335. package/dist/chunks/chunk-PO7GBYWP.js +0 -23
  2336. package/dist/chunks/chunk-POEL2ICI.js +0 -115
  2337. package/dist/chunks/chunk-POND6BW5.js +0 -115
  2338. package/dist/chunks/chunk-PPTYZ5MA.js +0 -777
  2339. package/dist/chunks/chunk-PRGKIOID.js +0 -23
  2340. package/dist/chunks/chunk-PRJEBEZH.js +0 -88
  2341. package/dist/chunks/chunk-PRVFVH6C.js +0 -78
  2342. package/dist/chunks/chunk-PTCCXMQ5.js +0 -172
  2343. package/dist/chunks/chunk-PTFC2TB5.js +0 -122
  2344. package/dist/chunks/chunk-PTJVN2A5.js +0 -125
  2345. package/dist/chunks/chunk-PUDID26R.js +0 -270
  2346. package/dist/chunks/chunk-PV7OR2LQ.js +0 -23
  2347. package/dist/chunks/chunk-PVOLMMKT.js +0 -100
  2348. package/dist/chunks/chunk-PZ7R2LFD.js +0 -184
  2349. package/dist/chunks/chunk-PZBYR6AH.js +0 -201
  2350. package/dist/chunks/chunk-PZU2DPCQ.js +0 -23
  2351. package/dist/chunks/chunk-Q2LRBIPL.js +0 -79
  2352. package/dist/chunks/chunk-Q3XZ7YGE.js +0 -122
  2353. package/dist/chunks/chunk-Q4B4PPQJ.js +0 -153
  2354. package/dist/chunks/chunk-Q7HNQAMT.js +0 -83
  2355. package/dist/chunks/chunk-Q7KDPNWQ.js +0 -55
  2356. package/dist/chunks/chunk-Q7PTZNQO.js +0 -331
  2357. package/dist/chunks/chunk-QBYSVNPK.js +0 -195
  2358. package/dist/chunks/chunk-QBYX2QFZ.js +0 -139
  2359. package/dist/chunks/chunk-QBZXJDRX.js +0 -362
  2360. package/dist/chunks/chunk-QCDR26VO.js +0 -70
  2361. package/dist/chunks/chunk-QCKXI5JR.js +0 -128
  2362. package/dist/chunks/chunk-QCXRK4SM.js +0 -149
  2363. package/dist/chunks/chunk-QELTJQ23.js +0 -117
  2364. package/dist/chunks/chunk-QF4LJ5LO.js +0 -74
  2365. package/dist/chunks/chunk-QGTAUIWF.js +0 -251
  2366. package/dist/chunks/chunk-QIJPR37R.js +0 -218
  2367. package/dist/chunks/chunk-QINBXYPG.js +0 -130
  2368. package/dist/chunks/chunk-QJUAULDU.js +0 -39
  2369. package/dist/chunks/chunk-QLN3BBJF.js +0 -128
  2370. package/dist/chunks/chunk-QLZP5EIV.js +0 -181
  2371. package/dist/chunks/chunk-QNQQGYYE.js +0 -238
  2372. package/dist/chunks/chunk-QPN2CZ7Z.js +0 -382
  2373. package/dist/chunks/chunk-QPUUEU2Z.js +0 -98
  2374. package/dist/chunks/chunk-QRFEO2XQ.js +0 -83
  2375. package/dist/chunks/chunk-QRPWXOHA.js +0 -277
  2376. package/dist/chunks/chunk-QSME6P2K.js +0 -122
  2377. package/dist/chunks/chunk-QTWDG5OV.js +0 -106
  2378. package/dist/chunks/chunk-QVF2XBWX.js +0 -105
  2379. package/dist/chunks/chunk-QW3LDBZD.js +0 -90
  2380. package/dist/chunks/chunk-QWER44AV.js +0 -71
  2381. package/dist/chunks/chunk-QY4ZAJB7.js +0 -317
  2382. package/dist/chunks/chunk-QYUONCKP.js +0 -95
  2383. package/dist/chunks/chunk-QZ7JGAZ6.js +0 -181
  2384. package/dist/chunks/chunk-QZEVMA2Q.js +0 -512
  2385. package/dist/chunks/chunk-R27SHKB3.js +0 -141
  2386. package/dist/chunks/chunk-R2JKWFID.js +0 -336
  2387. package/dist/chunks/chunk-R3S7VIDE.js +0 -54
  2388. package/dist/chunks/chunk-R4PNCY34.js +0 -118
  2389. package/dist/chunks/chunk-R4XXOL5D.js +0 -344
  2390. package/dist/chunks/chunk-R72NT5EU.js +0 -134
  2391. package/dist/chunks/chunk-R75EKWTH.js +0 -89
  2392. package/dist/chunks/chunk-RBWD32VC.js +0 -41
  2393. package/dist/chunks/chunk-RBZ7IUQW.js +0 -304
  2394. package/dist/chunks/chunk-RC5NGMOX.js +0 -45
  2395. package/dist/chunks/chunk-RCFN7QEF.js +0 -136
  2396. package/dist/chunks/chunk-RCM4FSIP.js +0 -72
  2397. package/dist/chunks/chunk-REJAEZZW.js +0 -137
  2398. package/dist/chunks/chunk-RHIENAJR.js +0 -174
  2399. package/dist/chunks/chunk-RJBLO27S.js +0 -45
  2400. package/dist/chunks/chunk-RJXRARJQ.js +0 -230
  2401. package/dist/chunks/chunk-RKZSN3T2.js +0 -209
  2402. package/dist/chunks/chunk-RN34DSUJ.js +0 -84
  2403. package/dist/chunks/chunk-RPVENC2N.js +0 -848
  2404. package/dist/chunks/chunk-RQYE6C4Q.js +0 -138
  2405. package/dist/chunks/chunk-RSSTABUO.js +0 -358
  2406. package/dist/chunks/chunk-RUWFJOKH.js +0 -120
  2407. package/dist/chunks/chunk-RV3EY7SY.js +0 -44
  2408. package/dist/chunks/chunk-RVAILPA3.js +0 -114
  2409. package/dist/chunks/chunk-RVAKOFEX.js +0 -191
  2410. package/dist/chunks/chunk-RWMSBYT3.js +0 -100
  2411. package/dist/chunks/chunk-RXFSUOB2.js +0 -66
  2412. package/dist/chunks/chunk-RXYYKFH7.js +0 -91
  2413. package/dist/chunks/chunk-RXZW2VTP.js +0 -93
  2414. package/dist/chunks/chunk-RYR3HGVM.js +0 -33
  2415. package/dist/chunks/chunk-S2AEVMX3.js +0 -45
  2416. package/dist/chunks/chunk-S2PRECQU.js +0 -190
  2417. package/dist/chunks/chunk-S2XKKUVX.js +0 -305
  2418. package/dist/chunks/chunk-S52MXDH4.js +0 -204
  2419. package/dist/chunks/chunk-S65HCM5B.js +0 -33
  2420. package/dist/chunks/chunk-SBF3P7YV.js +0 -121
  2421. package/dist/chunks/chunk-SCBY2WJL.js +0 -156
  2422. package/dist/chunks/chunk-SCSYJXTX.js +0 -172
  2423. package/dist/chunks/chunk-SERNCV6U.js +0 -214
  2424. package/dist/chunks/chunk-SG2KS36L.js +0 -129
  2425. package/dist/chunks/chunk-SHAUFLZS.js +0 -103
  2426. package/dist/chunks/chunk-SJIVHDN5.js +0 -109
  2427. package/dist/chunks/chunk-SJXWFEJL.js +0 -138
  2428. package/dist/chunks/chunk-SLPW6Q6L.js +0 -112
  2429. package/dist/chunks/chunk-SNXRMGGV.js +0 -173
  2430. package/dist/chunks/chunk-SPD3C2VM.js +0 -80
  2431. package/dist/chunks/chunk-SQKK7QKL.js +0 -180
  2432. package/dist/chunks/chunk-SQPA44LC.js +0 -114
  2433. package/dist/chunks/chunk-SUZGNOUD.js +0 -217
  2434. package/dist/chunks/chunk-SVH345JI.js +0 -182
  2435. package/dist/chunks/chunk-SVQ7CPO3.js +0 -94
  2436. package/dist/chunks/chunk-SVTOXKG2.js +0 -169
  2437. package/dist/chunks/chunk-SYEF6ZK7.js +0 -13719
  2438. package/dist/chunks/chunk-SZEOU2PW.js +0 -312
  2439. package/dist/chunks/chunk-T3YWC6UF.js +0 -131
  2440. package/dist/chunks/chunk-T4TEFQMZ.js +0 -33
  2441. package/dist/chunks/chunk-T5UGQRI2.js +0 -49
  2442. package/dist/chunks/chunk-T64SY5V2.js +0 -195
  2443. package/dist/chunks/chunk-T6I477KF.js +0 -200
  2444. package/dist/chunks/chunk-T76EVHO5.js +0 -33
  2445. package/dist/chunks/chunk-TARGVQ2Q.js +0 -126
  2446. package/dist/chunks/chunk-TFIFTJM4.js +0 -152
  2447. package/dist/chunks/chunk-TGUWO6YA.js +0 -23
  2448. package/dist/chunks/chunk-THQSKBIH.js +0 -33
  2449. package/dist/chunks/chunk-TINBNLLN.js +0 -164
  2450. package/dist/chunks/chunk-TJ5E7CG2.js +0 -80
  2451. package/dist/chunks/chunk-TLTF26MB.js +0 -160
  2452. package/dist/chunks/chunk-TMCMCLSI.js +0 -225
  2453. package/dist/chunks/chunk-TMFXBN2E.js +0 -33
  2454. package/dist/chunks/chunk-TONNO3UN.js +0 -45
  2455. package/dist/chunks/chunk-TQVNARAT.js +0 -225
  2456. package/dist/chunks/chunk-TTCCOCRH.js +0 -196
  2457. package/dist/chunks/chunk-TUBAJVP6.js +0 -33
  2458. package/dist/chunks/chunk-TUUSVBOQ.js +0 -112
  2459. package/dist/chunks/chunk-TVMHGFER.js +0 -366
  2460. package/dist/chunks/chunk-TWI36DJS.js +0 -237
  2461. package/dist/chunks/chunk-U4QZCJEG.js +0 -109
  2462. package/dist/chunks/chunk-U5W7MGDZ.js +0 -123
  2463. package/dist/chunks/chunk-U6MKRNO4.js +0 -95
  2464. package/dist/chunks/chunk-UE2UM7MI.js +0 -199
  2465. package/dist/chunks/chunk-UGQ47PP4.js +0 -113
  2466. package/dist/chunks/chunk-UHAIYNKV.js +0 -79
  2467. package/dist/chunks/chunk-UHHGDN5F.js +0 -98
  2468. package/dist/chunks/chunk-UIRU7XHV.js +0 -147
  2469. package/dist/chunks/chunk-UISD7F3P.js +0 -111
  2470. package/dist/chunks/chunk-ULV2HH6S.js +0 -97
  2471. package/dist/chunks/chunk-UN3464DL.js +0 -122
  2472. package/dist/chunks/chunk-UPOUIPDR.js +0 -111
  2473. package/dist/chunks/chunk-UQSA62KS.js +0 -119
  2474. package/dist/chunks/chunk-UQX7ZQUX.js +0 -97
  2475. package/dist/chunks/chunk-URWF2FAB.js +0 -86
  2476. package/dist/chunks/chunk-UTRJJFGE.js +0 -170
  2477. package/dist/chunks/chunk-UTXAXSWP.js +0 -97
  2478. package/dist/chunks/chunk-UW5LPTRZ.js +0 -262
  2479. package/dist/chunks/chunk-UWE37NFW.js +0 -157
  2480. package/dist/chunks/chunk-UWHRHA7I.js +0 -305
  2481. package/dist/chunks/chunk-UZ464MTM.js +0 -102
  2482. package/dist/chunks/chunk-V23XNQRV.js +0 -234
  2483. package/dist/chunks/chunk-V3POGI7I.js +0 -81
  2484. package/dist/chunks/chunk-V4RKNG3E.js +0 -283
  2485. package/dist/chunks/chunk-V4YZHKZR.js +0 -79
  2486. package/dist/chunks/chunk-V5AP2T3R.js +0 -95
  2487. package/dist/chunks/chunk-V5U2JJ36.js +0 -80
  2488. package/dist/chunks/chunk-V7B3W5GX.js +0 -293
  2489. package/dist/chunks/chunk-V7U7A2DM.js +0 -242
  2490. package/dist/chunks/chunk-V7VDJAEP.js +0 -307
  2491. package/dist/chunks/chunk-VAOVKPCW.js +0 -305
  2492. package/dist/chunks/chunk-VB6D3XUP.js +0 -45
  2493. package/dist/chunks/chunk-VCTAQLFP.js +0 -261
  2494. package/dist/chunks/chunk-VCUD5F2D.js +0 -194
  2495. package/dist/chunks/chunk-VJ3ZS2VM.js +0 -684
  2496. package/dist/chunks/chunk-VJD3OFQD.js +0 -179
  2497. package/dist/chunks/chunk-VJWFTKVL.js +0 -182
  2498. package/dist/chunks/chunk-VKB6TGQZ.js +0 -23
  2499. package/dist/chunks/chunk-VNCDGKO4.js +0 -176
  2500. package/dist/chunks/chunk-VOOWPCRH.js +0 -61
  2501. package/dist/chunks/chunk-VOPDA3ML.js +0 -270
  2502. package/dist/chunks/chunk-VOYMURID.js +0 -133
  2503. package/dist/chunks/chunk-VPPELBC3.js +0 -231
  2504. package/dist/chunks/chunk-VPVFT6PB.js +0 -172
  2505. package/dist/chunks/chunk-VT7DN2L3.js +0 -282
  2506. package/dist/chunks/chunk-VTJL5APR.js +0 -130
  2507. package/dist/chunks/chunk-VTQ3TE7H.js +0 -157
  2508. package/dist/chunks/chunk-VWB6GYPD.js +0 -104
  2509. package/dist/chunks/chunk-VWK47IUY.js +0 -82
  2510. package/dist/chunks/chunk-W32BCRVF.js +0 -23
  2511. package/dist/chunks/chunk-W6O3MDOZ.js +0 -30
  2512. package/dist/chunks/chunk-W7Q5ZVZS.js +0 -1845
  2513. package/dist/chunks/chunk-WALPE56T.js +0 -33
  2514. package/dist/chunks/chunk-WBQS25KX.js +0 -83
  2515. package/dist/chunks/chunk-WCFL6BZW.js +0 -77
  2516. package/dist/chunks/chunk-WHON3GOX.js +0 -135
  2517. package/dist/chunks/chunk-WJQSKNSM.js +0 -104
  2518. package/dist/chunks/chunk-WMRYDOG3.js +0 -107
  2519. package/dist/chunks/chunk-WN6EPDTM.js +0 -152
  2520. package/dist/chunks/chunk-WPGUPAFO.js +0 -45
  2521. package/dist/chunks/chunk-WQSDO6OI.js +0 -105
  2522. package/dist/chunks/chunk-WQTJWMWK.js +0 -81
  2523. package/dist/chunks/chunk-WQX3BZKW.js +0 -209
  2524. package/dist/chunks/chunk-WU2DL2QM.js +0 -112
  2525. package/dist/chunks/chunk-WUKK5O6D.js +0 -96
  2526. package/dist/chunks/chunk-WUWFTXXO.js +0 -77
  2527. package/dist/chunks/chunk-WWHW6QPA.js +0 -77
  2528. package/dist/chunks/chunk-X2MIXFAR.js +0 -149
  2529. package/dist/chunks/chunk-X2Q4M27W.js +0 -23
  2530. package/dist/chunks/chunk-X3O4H3MK.js +0 -260
  2531. package/dist/chunks/chunk-X4RK4HFQ.js +0 -166
  2532. package/dist/chunks/chunk-X7EHU5AS.js +0 -103
  2533. package/dist/chunks/chunk-XA7TSRGP.js +0 -324
  2534. package/dist/chunks/chunk-XG6SCVLD.js +0 -33
  2535. package/dist/chunks/chunk-XGJKPNQH.js +0 -73
  2536. package/dist/chunks/chunk-XGLXEQTH.js +0 -198
  2537. package/dist/chunks/chunk-XHPHSSYL.js +0 -33
  2538. package/dist/chunks/chunk-XIYTHHS3.js +0 -84
  2539. package/dist/chunks/chunk-XJ4TDWHS.js +0 -320
  2540. package/dist/chunks/chunk-XJGZ63SS.js +0 -214
  2541. package/dist/chunks/chunk-XKIWYOGH.js +0 -145
  2542. package/dist/chunks/chunk-XLXWTXXG.js +0 -97
  2543. package/dist/chunks/chunk-XMFZQF2M.js +0 -149
  2544. package/dist/chunks/chunk-XNPOY3X5.js +0 -100
  2545. package/dist/chunks/chunk-XOI4SNFV.js +0 -156
  2546. package/dist/chunks/chunk-XQ6JCUCS.js +0 -898
  2547. package/dist/chunks/chunk-XQUEU3JO.js +0 -33
  2548. package/dist/chunks/chunk-XTPIB4EG.js +0 -23
  2549. package/dist/chunks/chunk-XUYWUFVZ.js +0 -117
  2550. package/dist/chunks/chunk-XVPYJHI4.js +0 -141
  2551. package/dist/chunks/chunk-XW2WUI4C.js +0 -177
  2552. package/dist/chunks/chunk-XX6AYOEU.js +0 -226
  2553. package/dist/chunks/chunk-XXLE3IN3.js +0 -118
  2554. package/dist/chunks/chunk-XYPTVLKF.js +0 -155
  2555. package/dist/chunks/chunk-XZ5R6KAR.js +0 -42
  2556. package/dist/chunks/chunk-XZTWY4W2.js +0 -346
  2557. package/dist/chunks/chunk-XZYFXH7S.js +0 -99
  2558. package/dist/chunks/chunk-Y2OX5N6W.js +0 -146
  2559. package/dist/chunks/chunk-Y3LISQUP.js +0 -74
  2560. package/dist/chunks/chunk-Y53ADCL7.js +0 -1832
  2561. package/dist/chunks/chunk-YA2S7L26.js +0 -274
  2562. package/dist/chunks/chunk-YBU7MNXQ.js +0 -115
  2563. package/dist/chunks/chunk-YCSZUXED.js +0 -151
  2564. package/dist/chunks/chunk-YEBHC5M7.js +0 -93
  2565. package/dist/chunks/chunk-YFKVLXF6.js +0 -106
  2566. package/dist/chunks/chunk-YGE2S62M.js +0 -287
  2567. package/dist/chunks/chunk-YH2A3S4M.js +0 -93
  2568. package/dist/chunks/chunk-YHZ7TMFW.js +0 -33
  2569. package/dist/chunks/chunk-YISDPLH6.js +0 -121
  2570. package/dist/chunks/chunk-YJ4TKLUY.js +0 -97
  2571. package/dist/chunks/chunk-YKJZJUBS.js +0 -255
  2572. package/dist/chunks/chunk-YKWGENC5.js +0 -77
  2573. package/dist/chunks/chunk-YLGUBOS2.js +0 -102
  2574. package/dist/chunks/chunk-YLKGFMYC.js +0 -1307
  2575. package/dist/chunks/chunk-YP5B2I5E.js +0 -106
  2576. package/dist/chunks/chunk-YPRYTRAL.js +0 -303
  2577. package/dist/chunks/chunk-YPT6N2KH.js +0 -70
  2578. package/dist/chunks/chunk-YQIQQH76.js +0 -232
  2579. package/dist/chunks/chunk-YSK7NOVB.js +0 -98
  2580. package/dist/chunks/chunk-YSOT5NM7.js +0 -60
  2581. package/dist/chunks/chunk-YTTCM2KX.js +0 -68
  2582. package/dist/chunks/chunk-YUCRY66Q.js +0 -165
  2583. package/dist/chunks/chunk-YV5QNUOR.js +0 -86
  2584. package/dist/chunks/chunk-YWED75OR.js +0 -172
  2585. package/dist/chunks/chunk-YX5ZGTDY.js +0 -52
  2586. package/dist/chunks/chunk-YXMPDT3S.js +0 -183
  2587. package/dist/chunks/chunk-YYZYL5VA.js +0 -62
  2588. package/dist/chunks/chunk-YZKSD4HF.js +0 -162
  2589. package/dist/chunks/chunk-Z2UJDJVI.js +0 -91
  2590. package/dist/chunks/chunk-Z34BMFY2.js +0 -304
  2591. package/dist/chunks/chunk-Z4BMKTO4.js +0 -30
  2592. package/dist/chunks/chunk-Z4OPCSAQ.js +0 -139
  2593. package/dist/chunks/chunk-Z4WDLU5S.js +0 -112
  2594. package/dist/chunks/chunk-Z67OQJAI.js +0 -198
  2595. package/dist/chunks/chunk-ZCZQFX63.js +0 -244
  2596. package/dist/chunks/chunk-ZDLS255M.js +0 -396
  2597. package/dist/chunks/chunk-ZFHOFY37.js +0 -36
  2598. package/dist/chunks/chunk-ZFWJUBZA.js +0 -130
  2599. package/dist/chunks/chunk-ZLHIISEA.js +0 -80
  2600. package/dist/chunks/chunk-ZMJ2CTVD.js +0 -221
  2601. package/dist/chunks/chunk-ZNLBWHQE.js +0 -50
  2602. package/dist/chunks/chunk-ZNWBPLOL.js +0 -307
  2603. package/dist/chunks/chunk-ZO6THKTO.js +0 -188
  2604. package/dist/chunks/chunk-ZOMFXRRG.js +0 -55
  2605. package/dist/chunks/chunk-ZP2ECUPJ.js +0 -215
  2606. package/dist/chunks/chunk-ZPYBP4OB.js +0 -115
  2607. package/dist/chunks/chunk-ZRAJL66X.js +0 -119
  2608. package/dist/chunks/chunk-ZRQCKQSL.js +0 -41
  2609. package/dist/chunks/chunk-ZTXC4KXA.js +0 -53
  2610. package/dist/chunks/chunk-ZYNVRIBY.js +0 -163
  2611. package/dist/chunks/client-3W4VV2XE.js +0 -31
  2612. package/dist/chunks/client-DKZP4BWK.js +0 -168
  2613. package/dist/chunks/client-MPSA5EWK.js +0 -47
  2614. package/dist/chunks/client-actions-BO3AMD66.js +0 -169
  2615. package/dist/chunks/components-OSDTA7I7.js +0 -77
  2616. package/dist/chunks/dangerous-4U2Z26C4.js +0 -123
  2617. package/dist/chunks/delete-current-file-Q2BFZYCS.js +0 -163
  2618. package/dist/chunks/dispatch-GX7NV7RO.js +0 -21
  2619. package/dist/chunks/editor-seams-U53QQCCH.js +0 -182
  2620. package/dist/chunks/editor-store-FHHEEARJ.js +0 -148
  2621. package/dist/chunks/export-M6ET67D6.js +0 -67
  2622. package/dist/chunks/export-watermark-6IDKVIPB.js +0 -157
  2623. package/dist/chunks/eyedropper-OTKV7DZ3.js +0 -355
  2624. package/dist/chunks/generate-media-F2Q7SQPS.js +0 -255
  2625. package/dist/chunks/host-SDWEBWRP.js +0 -245
  2626. package/dist/chunks/host-UEL6ELAC.js +0 -183
  2627. package/dist/chunks/integrations-L5VV2557.js +0 -125
  2628. package/dist/chunks/libraries-5BCCTWQX.js +0 -311
  2629. package/dist/chunks/library-previews-X2G4EEM6.js +0 -206
  2630. package/dist/chunks/live-XKXVFEKG.js +0 -322
  2631. package/dist/chunks/lottie-TF74Y5W6.js +0 -90
  2632. package/dist/chunks/media-tool-JIA5SHSB.js +0 -237
  2633. package/dist/chunks/new-file-C3ZDRELB.js +0 -140
  2634. package/dist/chunks/next-commerce-OL4VHU3F.js +0 -73
  2635. package/dist/chunks/pdf-FXJZTBRT.js +0 -1217
  2636. package/dist/chunks/player-check-ZSEYHYY3.js +0 -118
  2637. package/dist/chunks/plugin-O47UIEDE.js +0 -130
  2638. package/dist/chunks/plugin-import-SQU6UE22.js +0 -691
  2639. package/dist/chunks/pptx-X3E5FDWX.js +0 -307
  2640. package/dist/chunks/presence-HC5M32AR.js +0 -137
  2641. package/dist/chunks/preview-media-4YWOP5NM.js +0 -129
  2642. package/dist/chunks/project-QDESERAH.js +0 -1600
  2643. package/dist/chunks/publish-site-DXJJRDWT.js +0 -167
  2644. package/dist/chunks/publish-store-6QWGFW75.js +0 -99
  2645. package/dist/chunks/raster-actions-TEJBQI3X.js +0 -233
  2646. package/dist/chunks/reference-images-PE6UCTTN.js +0 -62
  2647. package/dist/chunks/resolvers-DQLE7BNX.js +0 -149
  2648. package/dist/chunks/runner-XUURPIZF.js +0 -3545
  2649. package/dist/chunks/store-TOCLA25Q.js +0 -234
  2650. package/dist/chunks/storefront-DAYUB6EH.js +0 -335
  2651. package/dist/chunks/storefront-prepare-UNVOAGBX.js +0 -33
  2652. package/dist/chunks/svg-export-6PEWZGO2.js +0 -83
  2653. package/dist/chunks/sync-XNCTKPXP.js +0 -162
  2654. package/dist/chunks/tabs-SWAOYABZ.js +0 -320
  2655. package/dist/chunks/team-I35OMCFI.js +0 -47
  2656. package/dist/chunks/team-client-U2TRUODW.js +0 -158
  2657. package/dist/chunks/templates-LXICC7QG.js +0 -183
  2658. package/dist/chunks/tools-ZPNFDEWG.js +0 -37
  2659. package/dist/chunks/tree-L3QPVVUF.js +0 -82
  2660. package/dist/chunks/ui-commands-KSTOIZSS.js +0 -190
  2661. package/dist/chunks/versions-WX7FNFNE.js +0 -320
  2662. package/dist/chunks/web-MOALVYPG.js +0 -185
@@ -1,3545 +0,0 @@
1
- import { createRequire as __popcraftRequire } from 'node:module';
2
- import { fileURLToPath as __popcraftPath } from 'node:url';
3
- import { dirname as __popcraftDirname } from 'node:path';
4
- const require = __popcraftRequire(import.meta.url);
5
- const __filename = __popcraftPath(import.meta.url);
6
- const __dirname = __popcraftDirname(__filename);
7
- import {
8
- ALL_TOOLS,
9
- SUBAGENT_FRAMING,
10
- activeMessages,
11
- agentModel,
12
- allProfiles,
13
- allSkills,
14
- appendMessage,
15
- findProfile,
16
- findSkill,
17
- mentionContext,
18
- newId,
19
- persistThreads,
20
- profileIndexLine,
21
- rememberCheckpoint,
22
- setParts,
23
- setTodos,
24
- skillIndexLine,
25
- updateActiveThread,
26
- updateMessage,
27
- useAgentStore
28
- } from "./chunk-C6V2QAMT.js";
29
- import "./chunk-V3I4KSGP.js";
30
- import {
31
- registerBuiltinTools
32
- } from "./chunk-GRUBFIKC.js";
33
- import {
34
- registerDangerousCommands
35
- } from "./chunk-EYDHAACH.js";
36
- import "./chunk-G6MY2GM3.js";
37
- import {
38
- editBlockReason,
39
- editorToolContext
40
- } from "./chunk-VJ3ZS2VM.js";
41
- import "./chunk-QZEVMA2Q.js";
42
- import "./chunk-EFDY2CAU.js";
43
- import "./chunk-SYEF6ZK7.js";
44
- import "./chunk-UD5NRN4U.js";
45
- import "./chunk-VJWGIX35.js";
46
- import "./chunk-NFM6Y2II.js";
47
- import "./chunk-GHD5COBQ.js";
48
- import {
49
- buildDesignContext,
50
- joinWithin
51
- } from "./chunk-SY3YROB5.js";
52
- import "./chunk-HYBRBOHZ.js";
53
- import "./chunk-LGVVLVLF.js";
54
- import "./chunk-WMOX7OES.js";
55
- import "./chunk-YMZ7ZPBV.js";
56
- import {
57
- allTools,
58
- getTool,
59
- runTool,
60
- toolSpecs
61
- } from "./chunk-3NO6XO6M.js";
62
- import {
63
- external_exports
64
- } from "./chunk-Z5OEPBFF.js";
65
- import {
66
- provideAgentCapability
67
- } from "./chunk-NWWGGVAO.js";
68
- import {
69
- defineCommand
70
- } from "./chunk-FLOXTSFB.js";
71
- import "./chunk-XPTCDD7W.js";
72
- import "./chunk-Y53ADCL7.js";
73
- import "./chunk-BZ3NRXXV.js";
74
- import "./chunk-EZEIVLC6.js";
75
- import "./chunk-VRLULK3N.js";
76
- import "./chunk-BTKMDAAV.js";
77
- import "./chunk-W7Q5ZVZS.js";
78
- import "./chunk-HBBCFHNF.js";
79
- import "./chunk-44UEFX4Z.js";
80
- import "./chunk-WJQSKNSM.js";
81
- import "./chunk-C4QIXUOK.js";
82
- import "./chunk-EPSXXXWF.js";
83
- import {
84
- HYPERY_PAYMENT_SOURCE_HEADER,
85
- paymentSourceHeaders
86
- } from "./chunk-DPTXE7HK.js";
87
- import {
88
- aiAvailability,
89
- effectiveChatModel,
90
- useAiStore
91
- } from "./chunk-I3TLMSA5.js";
92
- import "./chunk-7AGYCJ67.js";
93
- import "./chunk-CJKLC6HP.js";
94
- import "./chunk-OZZ3JLQP.js";
95
- import "./chunk-A2NMZSLJ.js";
96
- import "./chunk-DJDLZO56.js";
97
- import "./chunk-MQTCBQFK.js";
98
- import "./chunk-S2XKKUVX.js";
99
- import "./chunk-HNGLOJHT.js";
100
- import "./chunk-I4YWQRCU.js";
101
- import "./chunk-5IXLJCSO.js";
102
- import {
103
- activeHyperyTeamId
104
- } from "./chunk-NVBQFO4W.js";
105
- import "./chunk-ECQZMDXA.js";
106
- import "./chunk-E2MJREAG.js";
107
- import "./chunk-ZKSRHKPM.js";
108
- import "./chunk-4MIBB47F.js";
109
- import "./chunk-HBWDTR2D.js";
110
- import "./chunk-2PIZYCTX.js";
111
- import "./chunk-2HDNY5MM.js";
112
- import {
113
- useEditorStore
114
- } from "./chunk-BQQUTVHU.js";
115
- import "./chunk-DOUOALWM.js";
116
- import "./chunk-AWBZ7OAC.js";
117
- import "./chunk-O44R3J7R.js";
118
- import "./chunk-AHKEV5K5.js";
119
- import "./chunk-TCKWHC2T.js";
120
- import "./chunk-EEHWGME6.js";
121
- import "./chunk-DJPA67HX.js";
122
- import "./chunk-TZKMYQIF.js";
123
- import "./chunk-K7PP5B6S.js";
124
- import "./chunk-3M62OUTK.js";
125
- import "./chunk-C5T3O7EZ.js";
126
- import "./chunk-C7DPHQPS.js";
127
- import "./chunk-S2DQHYU5.js";
128
- import "./chunk-MXELDDJ6.js";
129
- import "./chunk-XPPJ32X2.js";
130
- import "./chunk-ERAYSG3J.js";
131
- import "./chunk-FWDXVU53.js";
132
- import "./chunk-O5E55OHY.js";
133
- import {
134
- create
135
- } from "./chunk-TUV2TNCJ.js";
136
- import "./chunk-ZWTDSAPC.js";
137
- import "./chunk-FA5ALFMY.js";
138
- import "./chunk-6IBV7CUB.js";
139
- import "./chunk-236QPZBZ.js";
140
- import "./chunk-VLXQMEMB.js";
141
- import {
142
- HYPERY_GATEWAY_URL,
143
- accessToken
144
- } from "./chunk-ZXMJ5RMP.js";
145
- import "./chunk-W2BUFR5A.js";
146
- import {
147
- ToolError,
148
- registerCommand
149
- } from "./chunk-ZNJPRHVZ.js";
150
- import "./chunk-TM4VR73D.js";
151
- import "./chunk-PEXL5UTV.js";
152
- import "./chunk-2R2DQG4N.js";
153
- import "./chunk-VI7BFNHR.js";
154
- import "./chunk-7KVJX66N.js";
155
- import "./chunk-U7V2X5LV.js";
156
- import "./chunk-32EVMNM5.js";
157
- import "./chunk-FZYQFW5T.js";
158
- import "./chunk-CMJYKODG.js";
159
- import "./chunk-BJEUPCOR.js";
160
- import "./chunk-HKD5NDRS.js";
161
- import "./chunk-RKKGBNQO.js";
162
- import "./chunk-GKCGYCD5.js";
163
- import "./chunk-37VLXIVF.js";
164
- import "./chunk-IZEICGWI.js";
165
- import "./chunk-Y5DRBM5F.js";
166
- import "./chunk-EOSBX3FZ.js";
167
- import "./chunk-WYYVX52S.js";
168
- import "./chunk-VJW672NQ.js";
169
- import "./chunk-NQY5XZX5.js";
170
- import "./chunk-ZRLSCCJO.js";
171
- import "./chunk-MJKZDUX4.js";
172
- import "./chunk-D3GI6HKP.js";
173
- import "./chunk-RWHIKQ2L.js";
174
- import "./chunk-L7WGJ7QG.js";
175
- import "./chunk-KAZHOJUN.js";
176
- import "./chunk-I44ZFSBI.js";
177
- import "./chunk-5AHFTM4R.js";
178
- import "./chunk-HLPK64GC.js";
179
- import "./chunk-XGC2MJQ3.js";
180
- import "./chunk-W4FGFFXJ.js";
181
- import "./chunk-3FIMYIY3.js";
182
- import "./chunk-LGNJXK44.js";
183
- import "./chunk-4MUZ5SYF.js";
184
- import "./chunk-4MR5JYE7.js";
185
- import "./chunk-B5UXEWRA.js";
186
- import "./chunk-URHNWZHU.js";
187
- import "./chunk-RXMFX47E.js";
188
- import "./chunk-UNLBBM3F.js";
189
- import "./chunk-FM6YGPXM.js";
190
- import "./chunk-T6F7SEJP.js";
191
- import "./chunk-D3OJDBJY.js";
192
- import "./chunk-QUOR4SUK.js";
193
- import "./chunk-ILFAANSR.js";
194
- import "./chunk-PNWI5K2Y.js";
195
- import "./chunk-AVWA3JAF.js";
196
- import "./chunk-IOROC34C.js";
197
- import "./chunk-EGIAI3WB.js";
198
- import "./chunk-WBDXYOUD.js";
199
- import "./chunk-GX75ZDZV.js";
200
- import "./chunk-MAY74YBA.js";
201
- import "./chunk-I2HS3G6L.js";
202
- import "./chunk-LJ7MRJ3J.js";
203
- import "./chunk-7YE3VGUX.js";
204
- import "./chunk-2YAPOWSJ.js";
205
- import "./chunk-ULZ3TRKS.js";
206
- import "./chunk-SG2HVQFH.js";
207
- import "./chunk-J65G3EI7.js";
208
- import "./chunk-CK4GXI74.js";
209
- import "./chunk-2M67NB55.js";
210
- import "./chunk-QSMUW5EB.js";
211
- import "./chunk-TUUV4LPG.js";
212
- import "./chunk-PYLLKI27.js";
213
- import "./chunk-RTGD6W7X.js";
214
- import "./chunk-DJNLUKOU.js";
215
- import "./chunk-4S6PGBFE.js";
216
- import "./chunk-XMFUQRVR.js";
217
- import "./chunk-ZM2DPCNT.js";
218
- import "./chunk-XLDMTJQY.js";
219
- import "./chunk-TI7QDIRR.js";
220
- import "./chunk-W267QXPV.js";
221
- import "./chunk-RE7SHU2D.js";
222
- import "./chunk-MPIYDOEF.js";
223
- import "./chunk-AJCJBDGI.js";
224
- import "./chunk-ZDL3FDAT.js";
225
- import "./chunk-X6UBPW5N.js";
226
- import "./chunk-6KJT76UR.js";
227
- import {
228
- AI_LIMITS,
229
- init_limits,
230
- str
231
- } from "./chunk-NZKUQ5FE.js";
232
- import "./chunk-EZXBEAVI.js";
233
- import "./chunk-EDXW4XPI.js";
234
- import "./chunk-2XB63O3T.js";
235
- import "./chunk-E36SCACU.js";
236
- import "./chunk-7BWDTEXO.js";
237
- import "./chunk-VW2FNPYI.js";
238
- import "./chunk-I62FQ5QU.js";
239
- import "./chunk-P4XICREO.js";
240
- import "./chunk-ZPBARJPC.js";
241
- import "./chunk-PFM3YVVM.js";
242
- import "./chunk-FEKRQPV3.js";
243
- import "./chunk-PIQWSU7I.js";
244
- import "./chunk-LPSIJ2QE.js";
245
- import {
246
- init_define_POPCRAFT_COMPONENT_IDS
247
- } from "./chunk-MFWXJURX.js";
248
- import "./chunk-LJSVREWM.js";
249
-
250
- // lib/agent/runner.ts
251
- init_define_POPCRAFT_COMPONENT_IDS();
252
-
253
- // lib/agent/gateway.ts
254
- init_define_POPCRAFT_COMPONENT_IDS();
255
-
256
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
257
- init_define_POPCRAFT_COMPONENT_IDS();
258
-
259
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/hypery-model.js
260
- init_define_POPCRAFT_COMPONENT_IDS();
261
- var delay = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
262
- var utf8Complete = ((b) => {
263
- if (!Array.isArray(b)) return null;
264
- const n = b.length;
265
- for (let i = n - 1; i >= Math.max(0, n - 3); i--) {
266
- const c = b[i];
267
- if ((c & 192) === 128) continue;
268
- const len = c <= 127 ? 1 : c >= 194 && c <= 223 ? 2 : c >= 224 && c <= 239 ? 3 : c >= 240 && c <= 244 ? 4 : 1;
269
- return n - i < len ? i : n;
270
- }
271
- return n;
272
- });
273
- var utf8Decode = ((b) => typeof b === "string" ? b : Array.isArray(b) ? new TextDecoder().decode(Uint8Array.from(b)) : null);
274
- var MAX_REQUEST_BYTES = 44e5;
275
- var DEFAULT_IDLE_TIMEOUT_MS = 18e4;
276
- var HYPERY_TEAM_HEADER = "x-hypery-active-organization-id";
277
- var HYPERY_PAYMENT_SOURCE_HEADER2 = "x-hypery-payment-source";
278
- function agentModelError(message, code, status) {
279
- {
280
- return { name: "AgentModelError", message, code: code ?? "ai_upstream", status: ((__v) => __v == null ? "null" : typeof __v)(status) === "number" ? status : 502 };
281
- }
282
- }
283
- async function resolve(v) {
284
- {
285
- if (((__v) => __v == null ? "null" : typeof __v)(v) === "function") {
286
- return await (v() ?? null);
287
- }
288
- return v ?? null;
289
- }
290
- }
291
- function errorCodeFor(status, payload) {
292
- {
293
- if (payload != null && ((__v) => __v == null ? "null" : typeof __v)(payload) === "object" && payload.error != null && ((__v) => __v == null ? "null" : typeof __v)(payload.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(payload.error.code) === "string") {
294
- return payload.error.code;
295
- }
296
- if (status === 401) {
297
- return "ai_reauth";
298
- }
299
- if (status === 402) {
300
- return "ai_credits";
301
- }
302
- if (status === 403) {
303
- return "ai_scope";
304
- }
305
- if (status === 429) {
306
- return "ai_rate_limited";
307
- }
308
- return "ai_upstream";
309
- }
310
- }
311
- function streamErrorMessage(payload, fallback) {
312
- {
313
- let otherwise = fallback ?? "The AI request failed.";
314
- if (payload == null || ((__v) => __v == null ? "null" : typeof __v)(payload) !== "object") {
315
- return otherwise;
316
- }
317
- let err = payload.error ?? null;
318
- if (((__v) => __v == null ? "null" : typeof __v)(err) === "string" && (err.trim() ?? null) !== "") {
319
- return err;
320
- }
321
- let message = err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" ? err.message ?? null : null;
322
- if (message == null) {
323
- message = payload.message ?? null;
324
- }
325
- return ((__v) => __v == null ? "null" : typeof __v)(message) === "string" && (message.trim() ?? null) !== "" ? message : otherwise;
326
- }
327
- }
328
- function createStreamAccumulator() {
329
- {
330
- let buffer = "";
331
- let text = "";
332
- let reasoning = "";
333
- let sawDone = false;
334
- let calls = /* @__PURE__ */ new Map() ?? null;
335
- let order = [];
336
- return { push: (part) => {
337
- {
338
- buffer = buffer + part;
339
- let out = [];
340
- let nl = buffer.indexOf("\n") ?? null;
341
- while (nl >= 0) {
342
- let line = (buffer.slice(0, nl) ?? null).trim() ?? null;
343
- buffer = buffer.slice(nl + 1) ?? null;
344
- nl = buffer.indexOf("\n") ?? null;
345
- if (!(line.startsWith("data:") ?? null)) {
346
- continue;
347
- }
348
- let data = (line.slice(5) ?? null).trim() ?? null;
349
- if (data === "") {
350
- continue;
351
- }
352
- if (data === "[DONE]") {
353
- sawDone = true;
354
- continue;
355
- }
356
- let chunk = null;
357
- try {
358
- {
359
- chunk = JSON.parse(data) ?? null;
360
- }
361
- } catch (e) {
362
- {
363
- continue;
364
- }
365
- }
366
- if (chunk == null || ((__v) => __v == null ? "null" : typeof __v)(chunk) !== "object") {
367
- continue;
368
- }
369
- if (chunk.error) {
370
- let code = ((__v) => __v == null ? "null" : typeof __v)(chunk.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(chunk.error.code) === "string" ? chunk.error.code : "ai_upstream";
371
- throw agentModelError(streamErrorMessage(chunk, null) ?? null, code, 502) ?? null;
372
- }
373
- let choice = (Array.isArray(chunk.choices) ?? null) && chunk.choices.length > 0 ? chunk.choices[0] ?? null : null;
374
- let delta = choice != null ? choice.delta ?? null : null;
375
- if (delta == null) {
376
- continue;
377
- }
378
- if (((__v) => __v == null ? "null" : typeof __v)(delta.content) === "string" && delta.content !== "") {
379
- text = text + delta.content;
380
- out.push({ textDelta: delta.content }) ?? null;
381
- }
382
- let r = ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning) === "string" ? delta.reasoning : ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning_content) === "string" ? delta.reasoning_content : "";
383
- if (r !== "") {
384
- reasoning = reasoning + r;
385
- out.push({ reasoningDelta: r }) ?? null;
386
- }
387
- for (const tc of Array.isArray(delta.tool_calls) ?? null ? delta.tool_calls : []) {
388
- let i = ((__v) => __v == null ? "null" : typeof __v)(tc.index) === "number" ? tc.index : order.length > 0 ? order[order.length - 1] ?? null : 0;
389
- if (!(calls.has(i) ?? null)) {
390
- calls.set(i, { id: null, name: "", arguments: "" }) ?? null;
391
- order.push(i) ?? null;
392
- }
393
- let call = calls.get(i) ?? null;
394
- if (((__v) => __v == null ? "null" : typeof __v)(tc.id) === "string" && tc.id !== "") {
395
- call.id = tc.id;
396
- }
397
- let f = tc["function"] ?? null ?? null;
398
- if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.name) === "string") {
399
- call.name = call.name + f.name;
400
- }
401
- if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.arguments) === "string" && f.arguments !== "") {
402
- call.arguments = call.arguments + f.arguments;
403
- out.push({ toolProgress: { index: i, name: call.name, bytes: call.arguments.length, arguments: call.arguments } }) ?? null;
404
- }
405
- }
406
- }
407
- return out;
408
- }
409
- }, result: () => {
410
- {
411
- let toolCalls = [];
412
- let n = 0;
413
- for (const i of order) {
414
- let c = calls.get(i) ?? null;
415
- if (c.name !== "") {
416
- toolCalls.push({ id: c.id ?? "call_" + (String(n) ?? null), name: c.name, arguments: c.arguments }) ?? null;
417
- }
418
- n = n + 1;
419
- }
420
- return { text, reasoning, sawDone, toolCalls };
421
- }
422
- } };
423
- }
424
- }
425
- function appendBytes(pending, chunk) {
426
- {
427
- let out = pending.slice() ?? null;
428
- let i = 0;
429
- while (i < chunk.length) {
430
- out.push(chunk[i] ?? null) ?? null;
431
- i = i + 1;
432
- }
433
- return out;
434
- }
435
- }
436
- function callHook(hooks, name, value) {
437
- {
438
- if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
439
- return;
440
- }
441
- let h = hooks[name] ?? null;
442
- if (((__v) => __v == null ? "null" : typeof __v)(h) === "function") {
443
- h(value) ?? null;
444
- }
445
- }
446
- }
447
- function createHyperyModel(opts) {
448
- {
449
- let idleMs = ((__v) => __v == null ? "null" : typeof __v)(opts.idleTimeoutMs) === "number" ? opts.idleTimeoutMs : DEFAULT_IDLE_TIMEOUT_MS;
450
- let limit = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRequestBytes) === "number" ? opts.maxRequestBytes : MAX_REQUEST_BYTES;
451
- let base = ((__v) => __v == null ? "null" : typeof __v)(opts.gatewayUrl) === "string" && opts.gatewayUrl !== "" ? opts.gatewayUrl : "https://hypery.ai";
452
- if (base.endsWith("/") ?? null) {
453
- base = base.slice(0, base.length - 1) ?? null;
454
- }
455
- return async (messages, tools, hooks, signal, req = null) => {
456
- {
457
- let token = await (resolve(opts.token) ?? null);
458
- if (((__v) => __v == null ? "null" : typeof __v)(token) !== "string" || token === "") {
459
- throw agentModelError("Sign in to Hypery to use the agent.", "ai_reauth", 401) ?? null;
460
- }
461
- let hasReq = req != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object";
462
- let model = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.model) === "string" && req.model !== "" ? req.model : await (resolve(opts.model) ?? null);
463
- let effort = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.effort) === "string" ? req.effort : await (resolve(opts.effort) ?? null);
464
- let team = await (resolve(opts.team) ?? null);
465
- let paymentSource = await (resolve(opts.paymentSource) ?? null);
466
- let hasTools = (Array.isArray(tools) ?? null) && tools.length > 0;
467
- let request = { model, messages, stream: true, max_tokens: ((__v) => __v == null ? "null" : typeof __v)(opts.maxTokens) === "number" ? opts.maxTokens : hasTools ? 16384 : 4096 };
468
- if (((__v) => __v == null ? "null" : typeof __v)(opts.temperature) === "number") {
469
- request.temperature = opts.temperature;
470
- }
471
- if (((__v) => __v == null ? "null" : typeof __v)(effort) === "string" && effort !== "") {
472
- request.reasoning = { effort };
473
- }
474
- if (hasTools) {
475
- request.tools = tools;
476
- let choice = hasReq ? req.toolChoice ?? null : null;
477
- request.tool_choice = choice != null ? choice : "auto";
478
- }
479
- let body = JSON.stringify(request) ?? null;
480
- if (body.length > limit) {
481
- throw agentModelError("This message is too large to send (" + ((body.length / 1e6).toFixed(1) ?? null) + " MB with its images). Send fewer or smaller images.", "too_large", 413) ?? null;
482
- }
483
- let headers = { Authorization: "Bearer " + token, "Content-Type": "application/json", Accept: "text/event-stream" };
484
- if (((__v) => __v == null ? "null" : typeof __v)(team) === "string" && team !== "") {
485
- headers[HYPERY_TEAM_HEADER] = team;
486
- }
487
- if (((__v) => __v == null ? "null" : typeof __v)(paymentSource) === "string" && paymentSource !== "") {
488
- headers[HYPERY_PAYMENT_SOURCE_HEADER2] = paymentSource;
489
- }
490
- let init = { method: "POST", headers, body };
491
- if (signal != null && ((__v) => __v == null ? "null" : typeof __v)(signal.addEventListener) === "function") {
492
- init.signal = signal;
493
- }
494
- let res = null;
495
- try {
496
- {
497
- res = await (opts.fetch(base + "/api/v1/chat/completions", init) ?? null);
498
- }
499
- } catch (err) {
500
- {
501
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && err.name === "AbortError") {
502
- throw err;
503
- }
504
- throw agentModelError("Could not reach Hypery. Check your connection.", "network", 0) ?? null;
505
- }
506
- }
507
- if (res.ok !== true || res.body == null) {
508
- let text = "";
509
- try {
510
- {
511
- text = await (res.text() ?? null);
512
- }
513
- } catch (e) {
514
- {
515
- text = "";
516
- }
517
- }
518
- let payload = text;
519
- try {
520
- {
521
- payload = JSON.parse(text) ?? null;
522
- }
523
- } catch (e) {
524
- {
525
- payload = text;
526
- }
527
- }
528
- throw agentModelError(streamErrorMessage(payload, "The AI request failed (" + (String(res.status) ?? null) + ").") ?? null, errorCodeFor(res.status, payload) ?? null, res.status) ?? null;
529
- }
530
- let acc = createStreamAccumulator() ?? null;
531
- let reader = res.body.getReader() ?? null;
532
- let pending = [];
533
- let stopReading = () => {
534
- {
535
- if (((__v) => __v == null ? "null" : typeof __v)(reader.cancel) === "function") {
536
- try {
537
- {
538
- reader.cancel() ?? null;
539
- }
540
- } catch (e) {
541
- {
542
- }
543
- }
544
- }
545
- }
546
- };
547
- while (true) {
548
- if (signal != null && signal.aborted === true) {
549
- stopReading() ?? null;
550
- throw { name: "AbortError", message: "The request was stopped." };
551
- }
552
- let next = await (Promise.race([reader.read() ?? null, delay(idleMs) ?? null]) ?? null);
553
- if (next == null) {
554
- stopReading() ?? null;
555
- throw agentModelError("The model stopped responding.", "ai_timeout", 504) ?? null;
556
- }
557
- if (next.done === true) {
558
- break;
559
- }
560
- if (next.value == null) {
561
- continue;
562
- }
563
- let bytes = appendBytes(pending, next.value) ?? null;
564
- let whole = utf8Complete(bytes) ?? null;
565
- pending = bytes.slice(whole) ?? null;
566
- let events = [];
567
- try {
568
- {
569
- events = acc.push(utf8Decode(bytes.slice(0, whole) ?? null) ?? null) ?? null;
570
- }
571
- } catch (err) {
572
- {
573
- stopReading() ?? null;
574
- throw err;
575
- }
576
- }
577
- for (const e of events) {
578
- if (((__v) => __v == null ? "null" : typeof __v)(e.textDelta) === "string") {
579
- callHook(hooks, "onTextDelta", e.textDelta) ?? null;
580
- }
581
- if (((__v) => __v == null ? "null" : typeof __v)(e.reasoningDelta) === "string") {
582
- callHook(hooks, "onReasoningDelta", e.reasoningDelta) ?? null;
583
- }
584
- if (e.toolProgress != null) {
585
- callHook(hooks, "onToolProgress", e.toolProgress) ?? null;
586
- }
587
- }
588
- }
589
- if (pending.length > 0) {
590
- acc.push(utf8Decode(pending) ?? null) ?? null;
591
- }
592
- acc.push("\n") ?? null;
593
- let r = acc.result() ?? null;
594
- if (!r.sawDone && r.text === "" && r.toolCalls.length === 0) {
595
- throw agentModelError("The response was cut off before it started. Try again.", "ai_upstream", 502) ?? null;
596
- }
597
- return { text: r.text, reasoning: r.reasoning, toolCalls: r.toolCalls };
598
- }
599
- };
600
- }
601
- }
602
-
603
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
604
- init_define_POPCRAFT_COMPONENT_IDS();
605
-
606
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
607
- init_define_POPCRAFT_COMPONENT_IDS();
608
-
609
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
610
- init_define_POPCRAFT_COMPONENT_IDS();
611
-
612
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/roles.js
613
- init_define_POPCRAFT_COMPONENT_IDS();
614
- var MODEL_ROLES = ["lead", "swarm", "advisor", "router"];
615
- function isModelRole(v) {
616
- {
617
- return ((__v) => __v == null ? "null" : typeof __v)(v) === "string" && (MODEL_ROLES.includes(v) ?? null);
618
- }
619
- }
620
- function roleOfProfileModel(model) {
621
- {
622
- if ((model ?? null) == null || model === "" || model === "inherit") {
623
- return "lead";
624
- }
625
- if (model === "fast") {
626
- return "swarm";
627
- }
628
- if (isModelRole(model) ?? null) {
629
- return model;
630
- }
631
- return null;
632
- }
633
- }
634
- function resolveCatalogModel(wanted, fallback, catalog) {
635
- {
636
- if (!(Array.isArray(catalog) ?? null) || catalog.length === 0) {
637
- return wanted;
638
- }
639
- let ids = new Set(catalog.map((m) => {
640
- {
641
- return ((__v) => __v == null ? "null" : typeof __v)(m) === "string" ? m : m != null && ((__v) => __v == null ? "null" : typeof __v)(m) === "object" ? m.id : "";
642
- }
643
- }) ?? null) ?? null;
644
- if (ids.has(wanted) ?? null) {
645
- return wanted;
646
- }
647
- for (const f of fallback ?? []) {
648
- if (ids.has(f) ?? null) {
649
- return f;
650
- }
651
- }
652
- return wanted;
653
- }
654
- }
655
- function resolveRole(role, roles, catalog) {
656
- {
657
- let spec = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles[role] ?? null ?? null : null;
658
- if (spec == null || ((__v) => __v == null ? "null" : typeof __v)(spec.model) !== "string" || spec.model === "") {
659
- return null;
660
- }
661
- return { model: resolveCatalogModel(spec.model, spec.fallback ?? null, catalog) ?? null, effort: spec.effort ?? null, fallback: spec.fallback ?? null };
662
- }
663
- }
664
- function mergeRoles(roles, overrides) {
665
- {
666
- let base = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles : {};
667
- if ((overrides ?? null) == null || ((__v) => __v == null ? "null" : typeof __v)(overrides) !== "object") {
668
- return base;
669
- }
670
- let out = { ...base };
671
- for (const r of MODEL_ROLES) {
672
- let o = overrides[r] ?? null ?? null;
673
- if (o == null) {
674
- continue;
675
- }
676
- out[r] = ((__v) => __v == null ? "null" : typeof __v)(o) === "string" ? { ...base[r] ?? null ?? {}, model: o } : { ...base[r] ?? null ?? {}, ...o };
677
- }
678
- return out;
679
- }
680
- }
681
- function roleModel(callModel, spec) {
682
- {
683
- return async (messages, tools, hooks = null, signal = null, req = null) => {
684
- {
685
- let r = (req ?? null) != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object" ? req : {};
686
- let merged = { ...r, model: r.model ?? spec.model, effort: r.effort ?? spec.effort ?? null };
687
- return await (callModel(messages, tools, hooks, signal, merged) ?? null);
688
- }
689
- };
690
- }
691
- }
692
-
693
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
694
- var REPEATED_ERROR_COUNT = 2;
695
- var ADVISOR_PROMPT = ["You are the advisor to a coding agent (the lead). You read its whole session and give it short, specific advice. You never write code or call tools yourself.", 'Answer with JSON only: {"verdict": "ok" | "revise", "advice": ["..."]}. At most 4 advice items, each one sentence, concrete (files, commands, the likely cause).', 'Use "ok" with no advice when the lead is on track \u2014 do not add advice for its own sake.'].join("\n") ?? null;
696
- var TRIGGER_ASK = { plan: "The lead is about to plan. Point out anything it should know before choosing an approach.", done: "The lead is about to say it is done. Check the work against the request: anything missing, wrong or unverified?", error: "The lead hit the same error again. Diagnose the likely cause and the next thing to try.", ask: "The lead asked for your advice." };
697
- function contentText(c) {
698
- {
699
- if (((__v) => __v == null ? "null" : typeof __v)(c) === "string") {
700
- return c;
701
- }
702
- if (Array.isArray(c) ?? null) {
703
- return (c.map((p) => {
704
- {
705
- return ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" ? p.text : "[image]";
706
- }
707
- }) ?? null).join(" ") ?? null;
708
- }
709
- return "";
710
- }
711
- }
712
- function renderTranscript(messages, maxChars) {
713
- {
714
- let lines = [];
715
- for (const m of messages) {
716
- let text = contentText(m.content) ?? null;
717
- if (Array.isArray(m.tool_calls) ?? null) {
718
- for (const c of m.tool_calls) {
719
- text = text + "\n\u2192 " + (c["function"] ?? null).name + " " + (c["function"] ?? null).arguments;
720
- }
721
- }
722
- lines.push("[" + m.role + (((__v) => __v == null ? "null" : typeof __v)(m.name) === "string" ? " " + m.name : "") + "] " + text) ?? null;
723
- }
724
- let all = lines.join("\n\n") ?? null;
725
- return all.length > maxChars ? "\u2026" + (all.slice(all.length - maxChars) ?? null) : all;
726
- }
727
- }
728
- function parseAdvice(text) {
729
- {
730
- let t = text.trim() ?? null;
731
- let start = t.indexOf("{") ?? null;
732
- let end = t.lastIndexOf("}") ?? null;
733
- if (start >= 0 && end > start) {
734
- try {
735
- {
736
- let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
737
- let advice = Array.isArray(j.advice) ?? null ? j.advice.filter((a) => {
738
- {
739
- return ((__v) => __v == null ? "null" : typeof __v)(a) === "string" && (a.trim() ?? null) !== "";
740
- }
741
- }) ?? null : [];
742
- return { verdict: j.verdict === "ok" ? "ok" : "revise", advice };
743
- }
744
- } catch (e) {
745
- {
746
- }
747
- }
748
- }
749
- return { verdict: t === "" ? "ok" : "revise", advice: t === "" ? [] : [t] };
750
- }
751
- }
752
- function createAdvisor(opts) {
753
- {
754
- let call = roleModel(opts.callModel, opts.spec) ?? null;
755
- let maxCalls = ((__v) => __v == null ? "null" : typeof __v)(opts.maxCalls) === "number" ? opts.maxCalls : 8;
756
- let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 6e5;
757
- let triggers = opts.triggers ?? {};
758
- let calls = 0;
759
- let tokensRead = 0;
760
- let emit = (e) => {
761
- {
762
- if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
763
- opts.onEvent(e) ?? null;
764
- }
765
- }
766
- };
767
- return { stats: () => {
768
- {
769
- return { calls, tokensRead };
770
- }
771
- }, advise: async (req) => {
772
- {
773
- if ((triggers[req.trigger] ?? null) === false || calls >= maxCalls) {
774
- return null;
775
- }
776
- let transcript = renderTranscript(req.messages, maxChars) ?? null;
777
- calls = calls + 1;
778
- tokensRead = tokensRead + (Math.ceil(transcript.length / 4) ?? null);
779
- emit({ type: "advisor:call", trigger: req.trigger, model: opts.spec.model, calls, tokensRead }) ?? null;
780
- let ask = (TRIGGER_ASK[req.trigger] ?? null) + (((__v) => __v == null ? "null" : typeof __v)(req.detail) === "string" && req.detail !== "" ? "\n\n" + req.detail : "");
781
- let turn = null;
782
- try {
783
- {
784
- turn = await (call([{ role: "system", content: ((__v) => __v == null ? "null" : typeof __v)(opts.guidance) === "string" && (opts.guidance.trim() ?? null) !== "" ? ADVISOR_PROMPT + "\n\nGuidance for this kind of task:\n" + (opts.guidance.trim() ?? null) : ADVISOR_PROMPT }, { role: "user", content: "The session so far:\n\n" + transcript + "\n\n---\n" + ask }], [], {}, null, null) ?? null);
785
- }
786
- } catch (err) {
787
- {
788
- return null;
789
- }
790
- }
791
- let parsed = parseAdvice(turn.text ?? "") ?? null;
792
- emit({ type: "advisor:advice", trigger: req.trigger, model: opts.spec.model, calls, tokensRead, advice: parsed.advice, verdict: parsed.verdict }) ?? null;
793
- if (parsed.verdict === "ok" || parsed.advice.length === 0) {
794
- return null;
795
- }
796
- return "Advisor (" + req.trigger + "):\n" + ((parsed.advice.map((a) => {
797
- {
798
- return "\xBB " + a;
799
- }
800
- }) ?? null).join("\n") ?? null);
801
- }
802
- } };
803
- }
804
- }
805
- function errorSignature(run) {
806
- {
807
- let s = (run.summary ?? "").toLowerCase() ?? null;
808
- let out = "";
809
- for (const ch of s) {
810
- out = out + (ch >= "0" && ch <= "9" ? "#" : ch);
811
- }
812
- return run.name + ":" + (out.slice(0, 200) ?? null);
813
- }
814
- }
815
-
816
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/context.js
817
- init_define_POPCRAFT_COMPONENT_IDS();
818
- var RENDER_TURN_PREFIX = "Result of ";
819
- var KEEP_IMAGE_TURNS = 2;
820
- function sizeOf(messages) {
821
- {
822
- return (JSON.stringify(messages) ?? null).length;
823
- }
824
- }
825
- function isRenderTurn(m) {
826
- {
827
- if (m.role !== "user" || !(Array.isArray(m.content) ?? null) || m.content.length === 0) {
828
- return false;
829
- }
830
- let first = m.content[0] ?? null;
831
- return first.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(first.text) === "string" && (first.text.startsWith(RENDER_TURN_PREFIX) ?? null);
832
- }
833
- }
834
- function countImages(parts) {
835
- {
836
- return (parts.filter((p) => {
837
- {
838
- return p.type === "image_url";
839
- }
840
- }) ?? null).length;
841
- }
842
- }
843
- function textOf(parts) {
844
- {
845
- return ((parts.filter((p) => {
846
- {
847
- return p.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" && p.text !== "";
848
- }
849
- }) ?? null).map((p) => {
850
- {
851
- return p.text;
852
- }
853
- }) ?? null).join(" ") ?? null;
854
- }
855
- }
856
- function imagesLabel(n) {
857
- {
858
- return n === 1 ? "image" : (String(n) ?? null) + " images";
859
- }
860
- }
861
- function pruneOldImages(messages, keep) {
862
- {
863
- let limit = ((__v) => __v == null ? "null" : typeof __v)(keep) === "number" ? keep : KEEP_IMAGE_TURNS;
864
- let seen = 0;
865
- let i = messages.length - 1;
866
- while (i >= 0) {
867
- let m = messages[i] ?? null;
868
- if ((isRenderTurn(m) ?? null) && (countImages(m.content) ?? null) > 0) {
869
- seen = seen + 1;
870
- if (seen > limit) {
871
- let note = (textOf(m.content) ?? null) + " [" + (imagesLabel(countImages(m.content) ?? null) ?? null) + " omitted: superseded by a later view.]";
872
- messages[i] = { ...m, content: note.trim() ?? null };
873
- }
874
- }
875
- i = i - 1;
876
- }
877
- }
878
- }
879
- function fitImagesToBudget(messages, budget) {
880
- {
881
- if ((sizeOf(messages) ?? null) <= budget) {
882
- return;
883
- }
884
- let i = 0;
885
- while (i < messages.length && (sizeOf(messages) ?? null) > budget) {
886
- let m = messages[i] ?? null;
887
- if (isRenderTurn(m) ?? null) {
888
- let parts = m.content.slice() ?? null;
889
- let dropped = 0;
890
- let j = parts.length - 1;
891
- while (j >= 0 && (sizeOf(messages) ?? null) > budget) {
892
- if ((parts[j] ?? null).type === "image_url") {
893
- parts.splice(j, 1) ?? null;
894
- dropped = dropped + 1;
895
- messages[i] = { ...m, content: parts.slice() ?? null };
896
- }
897
- j = j - 1;
898
- }
899
- if (dropped > 0) {
900
- let label = dropped === 1 ? "1 image" : (String(dropped) ?? null) + " images";
901
- let note = (textOf(parts) ?? null) + " [" + label + " omitted to keep the request under the size limit.]";
902
- messages[i] = { ...m, content: note.trim() ?? null };
903
- }
904
- }
905
- i = i + 1;
906
- }
907
- }
908
- }
909
- function safeTailStart(messages, want) {
910
- {
911
- let i = Math.max(1, messages.length - want) ?? null;
912
- while (i < messages.length && (messages[i] ?? null).role === "tool") {
913
- i = i + 1;
914
- }
915
- return i;
916
- }
917
- }
918
- async function compactTranscript(messages, opts) {
919
- {
920
- if ((sizeOf(messages) ?? null) <= opts.maxChars) {
921
- return false;
922
- }
923
- let head = messages.length > 0 && (messages[0] ?? null).role === "system" ? 1 : 0;
924
- let firstUser = -1;
925
- let k = head;
926
- while (k < messages.length && firstUser < 0) {
927
- if ((messages[k] ?? null).role === "user") {
928
- firstUser = k;
929
- }
930
- k = k + 1;
931
- }
932
- let keepFrom = firstUser >= 0 ? firstUser + 1 : head;
933
- let tail = safeTailStart(messages, ((__v) => __v == null ? "null" : typeof __v)(opts.keepRecent) === "number" ? opts.keepRecent : 12) ?? null;
934
- if (tail <= keepFrom) {
935
- return false;
936
- }
937
- let dropped = messages.slice(keepFrom, tail) ?? null;
938
- let summary = "";
939
- if (((__v) => __v == null ? "null" : typeof __v)(opts.summarize) === "function") {
940
- try {
941
- {
942
- summary = await (opts.summarize(dropped) ?? null);
943
- }
944
- } catch (e) {
945
- {
946
- summary = "";
947
- }
948
- }
949
- }
950
- let content = summary !== "" ? "Summary of the earlier work in this session (the details were compacted to save space):\n" + summary : "[" + (String(dropped.length) ?? null) + " earlier messages were compacted to save space. Look again at anything you need from them.]";
951
- messages.splice(keepFrom, dropped.length, { role: "user", content }) ?? null;
952
- return true;
953
- }
954
- }
955
-
956
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
957
- var DEFAULT_MAX_ROUNDS = 40;
958
- var DEFAULT_MAX_PARALLEL = 4;
959
- var DEFAULT_ACTION_NUDGE = "You have not changed anything yet. Stop reading and do what was asked now, with the tools that make changes. If you truly cannot, say exactly what is blocking you.";
960
- var RENDER_TURN_PREFIX2 = "Result of ";
961
- var RECOVERABLE_WORDS = ["timeout", "timed out", "stalled", "network", "fetch failed", "econnreset", "socket", "stream"];
962
- function batchCalls(calls, isParallel, max) {
963
- {
964
- let batches = [];
965
- for (const call of calls) {
966
- let last = batches.length > 0 ? batches[batches.length - 1] ?? null : null;
967
- let parallel = isParallel(call.name) ?? null;
968
- if (parallel && last != null && last.length < max && (isParallel((last[0] ?? null).name) ?? null)) {
969
- last.push(call) ?? null;
970
- } else {
971
- batches.push([call]) ?? null;
972
- }
973
- }
974
- return batches;
975
- }
976
- }
977
- function truncateResult(text, max) {
978
- {
979
- if (text.length <= max) {
980
- return text;
981
- }
982
- return (text.slice(0, max) ?? null) + "\n\u2026[truncated " + (String(text.length - max) ?? null) + " characters]";
983
- }
984
- }
985
- function defaultIsRecoverable(err) {
986
- {
987
- if (err == null || ((__v) => __v == null ? "null" : typeof __v)(err) !== "object") {
988
- return false;
989
- }
990
- if (((__v) => __v == null ? "null" : typeof __v)(err.status) === "number") {
991
- return err.status >= 500 || err.status === 408 || err.status === 429;
992
- }
993
- let text = ((String(err.name ?? "") ?? null) + " " + (String(err.code ?? "") ?? null) + " " + (String(err.message ?? "") ?? null)).toLowerCase() ?? null;
994
- return RECOVERABLE_WORDS.some((w) => {
995
- {
996
- return text.includes(w) ?? null;
997
- }
998
- }) ?? null;
999
- }
1000
- }
1001
- function errorMessage(err) {
1002
- {
1003
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1004
- return err.message;
1005
- }
1006
- return String(err) ?? null;
1007
- }
1008
- }
1009
- function repairTranscript(messages) {
1010
- {
1011
- let i = 0;
1012
- while (i < messages.length) {
1013
- let m = messages[i] ?? null;
1014
- if (m.role === "assistant" && (Array.isArray(m.tool_calls) ?? null) && m.tool_calls.length > 0) {
1015
- let j = i + 1;
1016
- let answered = /* @__PURE__ */ new Set() ?? null;
1017
- while (j < messages.length && (messages[j] ?? null).role === "tool") {
1018
- answered.add((messages[j] ?? null).tool_call_id ?? "") ?? null;
1019
- j = j + 1;
1020
- }
1021
- let missing = m.tool_calls.filter((c) => {
1022
- {
1023
- return !(answered.has(c.id) ?? null);
1024
- }
1025
- }) ?? null;
1026
- if (missing.length > 0) {
1027
- let fillers = missing.map((c) => {
1028
- {
1029
- return { role: "tool", tool_call_id: c.id, name: (c["function"] ?? null).name, content: JSON.stringify({ error: "interrupted: this call did not finish (the session was interrupted). Check its effect and run it again if needed." }) ?? null };
1030
- }
1031
- }) ?? null;
1032
- messages.splice(j, 0, ...fillers) ?? null;
1033
- i = j + missing.length - 1;
1034
- }
1035
- }
1036
- i = i + 1;
1037
- }
1038
- return messages;
1039
- }
1040
- }
1041
- function hook(hooks, name) {
1042
- {
1043
- if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
1044
- return null;
1045
- }
1046
- let h = hooks[name] ?? null;
1047
- return ((__v) => __v == null ? "null" : typeof __v)(h) === "function" ? h : null;
1048
- }
1049
- }
1050
- async function runAgentLoop(opts) {
1051
- {
1052
- let maxRounds = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRounds) === "number" ? opts.maxRounds : DEFAULT_MAX_ROUNDS;
1053
- let maxResultChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxResultChars) === "number" ? opts.maxResultChars : 8e3;
1054
- let maxParallel = ((__v) => __v == null ? "null" : typeof __v)(opts.maxParallel) === "number" ? opts.maxParallel : DEFAULT_MAX_PARALLEL;
1055
- let hooks = opts.hooks ?? null;
1056
- let specs = opts.tools.map((t) => {
1057
- {
1058
- return t.spec;
1059
- }
1060
- }) ?? null;
1061
- let parallelNames = new Set((opts.tools.filter((t) => {
1062
- {
1063
- return t.readOnly === true;
1064
- }
1065
- }) ?? null).map((t) => {
1066
- {
1067
- return (t.spec["function"] ?? null).name;
1068
- }
1069
- }) ?? null) ?? null;
1070
- let actingNames = new Set((opts.tools.filter((t) => {
1071
- {
1072
- return ((__v) => __v == null ? "null" : typeof __v)(t.acts) === "boolean" ? t.acts : t.readOnly !== true;
1073
- }
1074
- }) ?? null).map((t) => {
1075
- {
1076
- return (t.spec["function"] ?? null).name;
1077
- }
1078
- }) ?? null) ?? null;
1079
- let require2 = null;
1080
- if (opts.requireAction === true) {
1081
- require2 = {};
1082
- }
1083
- if (opts.requireAction != null && ((__v) => __v == null ? "null" : typeof __v)(opts.requireAction) === "object") {
1084
- require2 = opts.requireAction;
1085
- }
1086
- let resume = opts.resumeState ?? {};
1087
- let nudgesLeft = ((__v) => __v == null ? "null" : typeof __v)(resume.nudgesLeft) === "number" ? resume.nudgesLeft : require2 != null ? ((__v) => __v == null ? "null" : typeof __v)(require2.nudges) === "number" ? require2.nudges : 2 : 0;
1088
- let signal = opts.signal ?? null;
1089
- let isStopped = () => {
1090
- {
1091
- if (signal != null && signal.aborted === true) {
1092
- return true;
1093
- }
1094
- return ((__v) => __v == null ? "null" : typeof __v)(opts.stopped) === "function" && (opts.stopped() ?? null) === true;
1095
- }
1096
- };
1097
- let messages = repairTranscript(opts.messages.slice() ?? null) ?? null;
1098
- let text = "";
1099
- let acted = resume.acted === true;
1100
- let retries = ((__v) => __v == null ? "null" : typeof __v)(opts.modelRetries) === "number" ? opts.modelRetries : 2;
1101
- let recoverable = ((__v) => __v == null ? "null" : typeof __v)(opts.isRecoverable) === "function" ? opts.isRecoverable : defaultIsRecoverable;
1102
- let ctx = opts.context ?? {};
1103
- let maxRequestChars = ((__v) => __v == null ? "null" : typeof __v)(ctx.maxRequestChars) === "number" ? ctx.maxRequestChars : 43e5;
1104
- let save = async (round2, done) => {
1105
- {
1106
- if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1107
- await (opts.checkpoint({ messages: messages.slice() ?? null, round: round2, acted, nudgesLeft, done }) ?? null);
1108
- }
1109
- }
1110
- };
1111
- let drain = () => {
1112
- {
1113
- if (((__v) => __v == null ? "null" : typeof __v)(opts.drainNotifications) !== "function") {
1114
- return [];
1115
- }
1116
- let notes = opts.drainNotifications() ?? null;
1117
- return Array.isArray(notes) ?? null ? notes : [];
1118
- }
1119
- };
1120
- let modelHooks = { onTextDelta: hook(hooks, "onTextDelta") ?? null, onReasoningDelta: hook(hooks, "onReasoningDelta") ?? null, onToolProgress: hook(hooks, "onToolProgress") ?? null };
1121
- let choiceFor = (round2) => {
1122
- {
1123
- let c = opts.toolChoice ?? null;
1124
- if (((__v) => __v == null ? "null" : typeof __v)(c) === "function") {
1125
- c = c(round2) ?? null ?? null;
1126
- }
1127
- return c;
1128
- }
1129
- };
1130
- let call = async (msgs, tools, choice) => {
1131
- {
1132
- let attempt = 0;
1133
- while (true) {
1134
- try {
1135
- {
1136
- if (choice == null || tools.length === 0) {
1137
- return await (opts.callModel(msgs, tools, modelHooks, signal) ?? null);
1138
- }
1139
- return await (opts.callModel(msgs, tools, modelHooks, signal, { toolChoice: choice }) ?? null);
1140
- }
1141
- } catch (err) {
1142
- {
1143
- if ((isStopped() ?? null) || attempt >= retries || !(recoverable(err) ?? null)) {
1144
- throw err;
1145
- }
1146
- }
1147
- }
1148
- attempt = attempt + 1;
1149
- }
1150
- }
1151
- };
1152
- let advise = ((__v) => __v == null ? "null" : typeof __v)(opts.advise) === "function" ? opts.advise : null;
1153
- let route = ((__v) => __v == null ? "null" : typeof __v)(opts.route) === "function" ? opts.route : null;
1154
- let errorCounts = /* @__PURE__ */ new Map() ?? null;
1155
- let doneChecked = false;
1156
- let consult = async (trigger, detail) => {
1157
- {
1158
- if (advise == null) {
1159
- return false;
1160
- }
1161
- let note = null;
1162
- try {
1163
- {
1164
- note = await (advise({ trigger, messages: messages.slice() ?? null, detail }) ?? null);
1165
- }
1166
- } catch (e) {
1167
- {
1168
- note = null;
1169
- }
1170
- }
1171
- if (((__v) => __v == null ? "null" : typeof __v)(note) !== "string" || note === "") {
1172
- return false;
1173
- }
1174
- messages.push({ role: "user", content: note }) ?? null;
1175
- return true;
1176
- }
1177
- };
1178
- let round = ((__v) => __v == null ? "null" : typeof __v)(resume.round) === "number" ? resume.round : 0;
1179
- if (round === 0) {
1180
- await (consult("plan", null) ?? null);
1181
- }
1182
- while (maxRounds === 0 || round < maxRounds) {
1183
- if (isStopped() ?? null) {
1184
- await (save(round, true) ?? null);
1185
- return { messages, text, rounds: round, exhausted: false, stopped: true, acted };
1186
- }
1187
- for (const note of drain() ?? null) {
1188
- messages.push({ role: "user", content: note }) ?? null;
1189
- }
1190
- pruneOldImages(messages, ctx.keepImageTurns ?? null) ?? null;
1191
- if (ctx.compact != null && ((__v) => __v == null ? "null" : typeof __v)(ctx.compact) === "object") {
1192
- await (compactTranscript(messages, ctx.compact) ?? null);
1193
- }
1194
- fitImagesToBudget(messages, maxRequestChars - (JSON.stringify(specs) ?? null).length) ?? null;
1195
- let onStart = hook(hooks, "onAssistantStart") ?? null;
1196
- if (onStart != null) {
1197
- onStart(round) ?? null;
1198
- }
1199
- let choice = choiceFor(round) ?? null;
1200
- if (choice == null && route != null && specs.length > 0) {
1201
- try {
1202
- {
1203
- choice = await (route({ round, messages: messages.slice() ?? null, tools: specs }) ?? null);
1204
- }
1205
- } catch (e) {
1206
- {
1207
- choice = null;
1208
- }
1209
- }
1210
- }
1211
- let turn = await (call(messages, specs, choice ?? null) ?? null);
1212
- text = turn.text;
1213
- let toolCalls = Array.isArray(turn.toolCalls) ?? null ? turn.toolCalls : [];
1214
- if (toolCalls.length > 0) {
1215
- messages.push({ role: "assistant", content: turn.text, tool_calls: toolCalls.map((c) => {
1216
- {
1217
- return { id: c.id, type: "function", function: { name: c.name, arguments: c.arguments } };
1218
- }
1219
- }) ?? null }) ?? null;
1220
- } else {
1221
- messages.push({ role: "assistant", content: turn.text }) ?? null;
1222
- }
1223
- if (toolCalls.length === 0) {
1224
- let onEnd = hook(hooks, "onRoundEnd") ?? null;
1225
- if (onEnd != null) {
1226
- onEnd(round) ?? null;
1227
- }
1228
- let late = drain() ?? null;
1229
- if (late.length > 0) {
1230
- for (const note of late) {
1231
- messages.push({ role: "user", content: note }) ?? null;
1232
- }
1233
- round = round + 1;
1234
- continue;
1235
- }
1236
- if (!doneChecked) {
1237
- doneChecked = true;
1238
- if (await (consult("done", null) ?? null)) {
1239
- await (save(round + 1, false) ?? null);
1240
- round = round + 1;
1241
- continue;
1242
- }
1243
- }
1244
- if (require2 != null && !acted && nudgesLeft > 0 && actingNames.size > 0) {
1245
- nudgesLeft = nudgesLeft - 1;
1246
- let nudge = ((__v) => __v == null ? "null" : typeof __v)(require2.message) === "string" ? require2.message : DEFAULT_ACTION_NUDGE;
1247
- let onNudge = hook(hooks, "onNudge") ?? null;
1248
- if (onNudge != null) {
1249
- onNudge(nudge) ?? null;
1250
- }
1251
- messages.push({ role: "user", content: nudge }) ?? null;
1252
- await (save(round + 1, false) ?? null);
1253
- round = round + 1;
1254
- continue;
1255
- }
1256
- await (save(round + 1, true) ?? null);
1257
- return { messages, text, rounds: round + 1, exhausted: false, stopped: false, acted };
1258
- }
1259
- let calls = toolCalls.map((c) => {
1260
- {
1261
- return { id: c.id, name: c.name, argsText: c.arguments };
1262
- }
1263
- }) ?? null;
1264
- let imageTurns = [];
1265
- let repeated = [];
1266
- doneChecked = false;
1267
- for (const batch of batchCalls(calls, (n) => {
1268
- {
1269
- return parallelNames.has(n) ?? null;
1270
- }
1271
- }, maxParallel) ?? null) {
1272
- if (isStopped() ?? null) {
1273
- for (const c of calls) {
1274
- let answered = messages.some((m) => {
1275
- {
1276
- return m.role === "tool" && m.tool_call_id === c.id;
1277
- }
1278
- }) ?? null;
1279
- if (!answered) {
1280
- messages.push({ role: "tool", tool_call_id: c.id, name: c.name, content: JSON.stringify({ error: "stopped" }) ?? null }) ?? null;
1281
- }
1282
- }
1283
- await (save(round + 1, true) ?? null);
1284
- return { messages, text, rounds: round + 1, exhausted: false, stopped: true, acted };
1285
- }
1286
- let onToolStart = hook(hooks, "onToolStart") ?? null;
1287
- if (onToolStart != null) {
1288
- for (const info of batch) {
1289
- onToolStart(info) ?? null;
1290
- }
1291
- }
1292
- let runs2 = await (Promise.all(batch.map(async (info) => {
1293
- {
1294
- try {
1295
- {
1296
- return await (opts.execTool(info) ?? null);
1297
- }
1298
- } catch (err) {
1299
- {
1300
- let message = errorMessage(err) ?? null;
1301
- return { id: info.id, name: info.name, argsText: info.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }) ?? null };
1302
- }
1303
- }
1304
- }
1305
- }) ?? null) ?? null);
1306
- let onToolEnd = hook(hooks, "onToolEnd") ?? null;
1307
- for (const run of runs2) {
1308
- let actedHere = ((__v) => __v == null ? "null" : typeof __v)(run.acted) === "boolean" ? run.acted : actingNames.has(run.name) ?? null;
1309
- if (run.ok === true && actedHere) {
1310
- acted = true;
1311
- }
1312
- if (onToolEnd != null) {
1313
- onToolEnd(run) ?? null;
1314
- }
1315
- if (run.ok !== true && advise != null) {
1316
- let sig = errorSignature(run) ?? null;
1317
- let n = (errorCounts.get(sig) ?? null ?? 0) + 1;
1318
- errorCounts.set(sig, n) ?? null;
1319
- if (n === REPEATED_ERROR_COUNT) {
1320
- repeated.push(run.name + ": " + run.summary) ?? null;
1321
- }
1322
- }
1323
- messages.push({ role: "tool", tool_call_id: run.id, name: run.name, content: truncateResult(run.content, maxResultChars) ?? null }) ?? null;
1324
- if ((Array.isArray(run.images) ?? null) && run.images.length > 0) {
1325
- let label = run.images.length === 1 ? "the rendered view" : (String(run.images.length) ?? null) + " rendered views";
1326
- let parts = [{ type: "text", text: RENDER_TURN_PREFIX2 + run.name + ": " + label + "." }];
1327
- for (const url of run.images) {
1328
- parts.push({ type: "image_url", image_url: { url } }) ?? null;
1329
- }
1330
- imageTurns.push({ role: "user", content: parts }) ?? null;
1331
- }
1332
- }
1333
- }
1334
- for (const m of imageTurns) {
1335
- messages.push(m) ?? null;
1336
- }
1337
- for (const err of repeated) {
1338
- await (consult("error", "The error, seen " + (String(REPEATED_ERROR_COUNT) ?? null) + " times: " + err) ?? null);
1339
- }
1340
- let onRoundEnd = hook(hooks, "onRoundEnd") ?? null;
1341
- if (onRoundEnd != null) {
1342
- onRoundEnd(round) ?? null;
1343
- }
1344
- await (save(round + 1, false) ?? null);
1345
- round = round + 1;
1346
- }
1347
- messages.push({ role: "user", content: "You have reached the tool limit for this turn. Summarise what you changed and what is left, without calling more tools." }) ?? null;
1348
- let final = await (call(messages, [], null) ?? null);
1349
- messages.push({ role: "assistant", content: final.text }) ?? null;
1350
- await (save(maxRounds, true) ?? null);
1351
- return { messages, text: final.text, rounds: maxRounds, exhausted: true, stopped: false, acted };
1352
- }
1353
- }
1354
-
1355
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
1356
- var delay2 = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
1357
- var REPORT_TOOL = "report_to_parent";
1358
- var REPORT_SPEC = { readOnly: true, acts: false, spec: { type: "function", function: { name: REPORT_TOOL, description: "Send the main agent a progress update, or a question (set question) when you need a decision you cannot make yourself. It arrives between its steps and it answers with a message you read at your next step \u2014 keep working on what you can meanwhile. Your final answer still goes back by itself when you finish.", parameters: { type: "object", properties: { message: { type: "string", description: "What to tell the main agent." }, question: { type: "boolean", description: "This needs an answer." } }, required: ["message"] } } } };
1359
- var WAIT_STEP_MS = 25;
1360
- function isBusy(s) {
1361
- {
1362
- return s != null && (s.status === "running" || s.status === "queued");
1363
- }
1364
- }
1365
- function plainStopControl() {
1366
- {
1367
- let flag = { aborted: false };
1368
- return { signal: flag, stop: () => {
1369
- {
1370
- flag.aborted = true;
1371
- }
1372
- } };
1373
- }
1374
- }
1375
- function allSessions(sessions) {
1376
- {
1377
- let out = [];
1378
- for (const s of sessions.values() ?? null) {
1379
- out.push(s) ?? null;
1380
- }
1381
- return out;
1382
- }
1383
- }
1384
- function errorMessage2(err) {
1385
- {
1386
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1387
- return err.message;
1388
- }
1389
- return String(err) ?? null;
1390
- }
1391
- }
1392
- function createAgentRuntime(host) {
1393
- {
1394
- let sessions = /* @__PURE__ */ new Map() ?? null;
1395
- let controls = /* @__PURE__ */ new Map() ?? null;
1396
- let parentQueue = [];
1397
- let loaded = false;
1398
- let loading = null;
1399
- let active = 0;
1400
- let waiting = [];
1401
- let listeners = [];
1402
- let pendingSaves = 0;
1403
- let orch = host.orchestration ?? null;
1404
- let maxConcurrent = () => {
1405
- {
1406
- let h = ((__v) => __v == null ? "null" : typeof __v)(host.maxConcurrent) === "function" ? host.maxConcurrent() ?? null : host.maxConcurrent;
1407
- if (((__v) => __v == null ? "null" : typeof __v)(h) === "number" && h > 0) {
1408
- return h;
1409
- }
1410
- let o = orch != null ? orch.maxConcurrent ?? null : null;
1411
- return ((__v) => __v == null ? "null" : typeof __v)(o) === "number" && o > 0 ? o : 4;
1412
- }
1413
- };
1414
- let now = () => {
1415
- {
1416
- return ((__v) => __v == null ? "null" : typeof __v)(host.now) === "function" ? host.now() ?? null : Date.now() ?? null;
1417
- }
1418
- };
1419
- let changed = () => {
1420
- {
1421
- if (((__v) => __v == null ? "null" : typeof __v)(host.onChange) === "function") {
1422
- host.onChange() ?? null;
1423
- }
1424
- for (const l of listeners.slice() ?? null) {
1425
- l() ?? null;
1426
- }
1427
- }
1428
- };
1429
- let emit = (e) => {
1430
- {
1431
- if (((__v) => __v == null ? "null" : typeof __v)(host.onEvent) === "function") {
1432
- host.onEvent(e) ?? null;
1433
- }
1434
- }
1435
- };
1436
- let sessionEvent = (s) => {
1437
- {
1438
- emit({ type: "session", sessionId: s.id, status: s.status, profile: s.profile, description: s.description }) ?? null;
1439
- }
1440
- };
1441
- let persist = (s) => {
1442
- {
1443
- changed() ?? null;
1444
- if (host.store == null || ((__v) => __v == null ? "null" : typeof __v)(host.store) !== "object") {
1445
- return;
1446
- }
1447
- pendingSaves = pendingSaves + 1;
1448
- let save = async () => {
1449
- {
1450
- try {
1451
- {
1452
- await (host.store.save(s) ?? null);
1453
- }
1454
- } catch (e) {
1455
- {
1456
- }
1457
- }
1458
- pendingSaves = pendingSaves - 1;
1459
- }
1460
- };
1461
- save() ?? null;
1462
- }
1463
- };
1464
- let profileById = (id) => {
1465
- {
1466
- let found = (host.profiles() ?? null).filter((p) => {
1467
- {
1468
- return p.id === id;
1469
- }
1470
- }) ?? null;
1471
- return found.length > 0 ? found[0] ?? null : null;
1472
- }
1473
- };
1474
- let report = (fromId, text, question) => {
1475
- {
1476
- let s = sessions.get(fromId) ?? null ?? null;
1477
- let who = "agent " + fromId + (s != null ? " (" + s.profile + ")" : "");
1478
- let asks = question === true;
1479
- parentQueue.push(asks ? "QUESTION from " + who + " \u2014 it needs your answer (send_message " + fromId + "):\n" + text : "Report from " + who + ":\n" + text) ?? null;
1480
- emit({ type: "report", sessionId: fromId, message: text, question: asks }) ?? null;
1481
- changed() ?? null;
1482
- }
1483
- };
1484
- let run = async (session2, profile, prompt, forceReadOnly, parentSignal, fresh) => {
1485
- {
1486
- let control = ((__v) => __v == null ? "null" : typeof __v)(host.createSignal) === "function" ? host.createSignal() ?? null : plainStopControl() ?? null;
1487
- controls.set(session2.id, control) ?? null;
1488
- if (parentSignal != null) {
1489
- if (parentSignal.aborted === true) {
1490
- control.stop() ?? null;
1491
- } else if (((__v) => __v == null ? "null" : typeof __v)(parentSignal.addEventListener) === "function") {
1492
- parentSignal.addEventListener("abort", () => {
1493
- {
1494
- control.stop() ?? null;
1495
- }
1496
- }) ?? null;
1497
- }
1498
- }
1499
- let ctx = { session: session2, profile, readOnly: forceReadOnly || profile.readOnly === true, signal: control.signal };
1500
- let tools = (host.childTools(ctx) ?? null).concat([REPORT_SPEC]) ?? null;
1501
- let childModel = ((__v) => __v == null ? "null" : typeof __v)(host.childModel) === "function" ? host.childModel(ctx) ?? null : null;
1502
- if (((__v) => __v == null ? "null" : typeof __v)(childModel) !== "function" && orch != null) {
1503
- childModel = orch.childModel(ctx.readOnly && (profile.model ?? null) == null ? "fast" : profile.model ?? null) ?? null;
1504
- }
1505
- let budget = ((__v) => __v == null ? "null" : typeof __v)(profile.maxRounds) === "number" && profile.maxRounds > 0 ? profile.maxRounds : ((__v) => __v == null ? "null" : typeof __v)(host.maxRounds) === "number" && host.maxRounds > 0 ? host.maxRounds : 30;
1506
- let ok = true;
1507
- let summary = "";
1508
- let rounds = 0;
1509
- let wasStopped = () => {
1510
- {
1511
- return control.signal.aborted === true || parentSignal != null && parentSignal.aborted === true;
1512
- }
1513
- };
1514
- try {
1515
- {
1516
- let messages = fresh ? [{ role: "system", content: await (host.childSystemPrompt(ctx) ?? null) }, { role: "user", content: prompt }] : session2.transcript.concat([{ role: "user", content: "Message from the main agent:\n" + prompt }]) ?? null;
1517
- let outcome = await (runAgentLoop({ messages, tools, callModel: ((__v) => __v == null ? "null" : typeof __v)(childModel) === "function" ? childModel : host.callModel, signal: control.signal, stopped: () => {
1518
- {
1519
- return parentSignal != null && parentSignal.aborted === true;
1520
- }
1521
- }, maxRounds: budget, drainNotifications: () => {
1522
- {
1523
- return (session2.inbox.splice(0, session2.inbox.length) ?? null).map((t) => {
1524
- {
1525
- return "Message from the main agent:\n" + t;
1526
- }
1527
- }) ?? null;
1528
- }
1529
- }, execTool: async (call) => {
1530
- {
1531
- if (call.name === REPORT_TOOL) {
1532
- let args = {};
1533
- try {
1534
- {
1535
- args = JSON.parse(call.argsText === "" ? "{}" : call.argsText) ?? null;
1536
- }
1537
- } catch (e) {
1538
- {
1539
- args = {};
1540
- }
1541
- }
1542
- report(session2.id, String(args.message ?? "") ?? null, args.question === true) ?? null;
1543
- return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: "reported", content: JSON.stringify({ ok: true }) ?? null };
1544
- }
1545
- return await (host.execChildTool(call, ctx) ?? null);
1546
- }
1547
- }, requireAction: fresh && !ctx.readOnly, hooks: { onToolStart: (c) => {
1548
- {
1549
- emit({ type: "tool-start", sessionId: session2.id, name: c.name }) ?? null;
1550
- }
1551
- }, onToolEnd: (r) => {
1552
- {
1553
- emit({ type: "tool-end", sessionId: session2.id, name: r.name, ok: r.ok, summary: r.summary }) ?? null;
1554
- }
1555
- }, onTextDelta: (d) => {
1556
- {
1557
- emit({ type: "text", sessionId: session2.id, delta: d }) ?? null;
1558
- }
1559
- }, onNudge: (m) => {
1560
- {
1561
- emit({ type: "nudge", sessionId: session2.id, message: m }) ?? null;
1562
- }
1563
- } } }) ?? null);
1564
- session2.transcript = outcome.messages;
1565
- rounds = outcome.rounds;
1566
- let said = outcome.text.trim() ?? null;
1567
- summary = said !== "" ? said : outcome.stopped ? "(stopped)" : "(finished without a summary)";
1568
- ok = !outcome.stopped;
1569
- }
1570
- } catch (err) {
1571
- {
1572
- ok = false;
1573
- summary = wasStopped() ?? null ? "(stopped)" : "(agent error: " + (errorMessage2(err) ?? null) + ")";
1574
- }
1575
- }
1576
- controls.delete(session2.id) ?? null;
1577
- session2.rounds = session2.rounds + rounds;
1578
- if (session2.status === "running") {
1579
- session2.status = ok ? "done" : wasStopped() ?? null ? "stopped" : "error";
1580
- session2.summary = summary;
1581
- session2.endedAt = now() ?? null;
1582
- } else {
1583
- session2.summary = summary;
1584
- }
1585
- if (session2.background && session2.status !== "stopped") {
1586
- parentQueue.push("Agent " + session2.id + " (" + session2.profile + ") " + (ok ? "finished" : "failed") + ":\n" + summary) ?? null;
1587
- }
1588
- sessionEvent(session2) ?? null;
1589
- persist(session2) ?? null;
1590
- return { ok, summary, rounds };
1591
- }
1592
- };
1593
- let takeNext = () => {
1594
- {
1595
- while (waiting.length > 0) {
1596
- let next = waiting.shift() ?? null;
1597
- if (next.session.status === "queued") {
1598
- next.session.status = "running";
1599
- sessionEvent(next.session) ?? null;
1600
- changed() ?? null;
1601
- return next;
1602
- }
1603
- }
1604
- return null;
1605
- }
1606
- };
1607
- let runSlot = (first) => {
1608
- {
1609
- ((f) => Promise.resolve().then(() => f()))(async () => {
1610
- {
1611
- let job = first;
1612
- while (job != null) {
1613
- try {
1614
- {
1615
- if (job.session.status !== "stopped") {
1616
- await (job.go() ?? null);
1617
- }
1618
- }
1619
- } catch (e) {
1620
- {
1621
- }
1622
- }
1623
- job = active <= (maxConcurrent() ?? null) ? takeNext() ?? null : null;
1624
- if (job == null) {
1625
- active = Math.max(0, active - 1) ?? null;
1626
- if (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1627
- active = active + 1;
1628
- job = takeNext() ?? null;
1629
- if (job == null) {
1630
- active = Math.max(0, active - 1) ?? null;
1631
- }
1632
- }
1633
- }
1634
- }
1635
- }
1636
- }) ?? null;
1637
- }
1638
- };
1639
- let startBackground = (session2, go) => {
1640
- {
1641
- while (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1642
- let next = takeNext() ?? null;
1643
- if (next == null) {
1644
- break;
1645
- }
1646
- active = active + 1;
1647
- runSlot(next) ?? null;
1648
- }
1649
- if (active < (maxConcurrent() ?? null)) {
1650
- active = active + 1;
1651
- runSlot({ session: session2, go }) ?? null;
1652
- return;
1653
- }
1654
- session2.status = "queued";
1655
- sessionEvent(session2) ?? null;
1656
- changed() ?? null;
1657
- waiting.push({ session: session2, go }) ?? null;
1658
- }
1659
- };
1660
- let stop = (id) => {
1661
- {
1662
- let s = sessions.get(id) ?? null ?? null;
1663
- if (s == null || s.status !== "running" && s.status !== "queued") {
1664
- return false;
1665
- }
1666
- let control = controls.get(id) ?? null ?? null;
1667
- if (control != null) {
1668
- control.stop() ?? null;
1669
- }
1670
- s.status = "stopped";
1671
- s.endedAt = now() ?? null;
1672
- persist(s) ?? null;
1673
- return true;
1674
- }
1675
- };
1676
- let load = async () => {
1677
- {
1678
- if (loaded) {
1679
- return;
1680
- }
1681
- loaded = true;
1682
- if (host.store != null && ((__v) => __v == null ? "null" : typeof __v)(host.store) === "object") {
1683
- let saved = await (host.store.load() ?? null);
1684
- for (const s of Array.isArray(saved) ?? null ? saved : []) {
1685
- if (s.status === "running" || s.status === "queued") {
1686
- s.status = "stopped";
1687
- if (((__v) => __v == null ? "null" : typeof __v)(s.endedAt) !== "number") {
1688
- s.endedAt = now() ?? null;
1689
- }
1690
- }
1691
- sessions.set(s.id, s) ?? null;
1692
- }
1693
- }
1694
- changed() ?? null;
1695
- }
1696
- };
1697
- let get = (id) => {
1698
- {
1699
- return sessions.get(id) ?? null ?? null;
1700
- }
1701
- };
1702
- return { load, flush: async () => {
1703
- {
1704
- while (pendingSaves > 0) {
1705
- await (delay2(WAIT_STEP_MS) ?? null);
1706
- }
1707
- }
1708
- }, subscribe: (l) => {
1709
- {
1710
- listeners.push(l) ?? null;
1711
- return () => {
1712
- {
1713
- let i = listeners.indexOf(l) ?? null;
1714
- if (i >= 0) {
1715
- listeners.splice(i, 1) ?? null;
1716
- }
1717
- }
1718
- };
1719
- }
1720
- }, list: () => {
1721
- {
1722
- return (allSessions(sessions) ?? null).sort((a, b) => {
1723
- {
1724
- return a.startedAt - b.startedAt;
1725
- }
1726
- }) ?? null;
1727
- }
1728
- }, get, wait: async (id, opts) => {
1729
- {
1730
- let o = opts ?? {};
1731
- let deadline = (now() ?? null) + (((__v) => __v == null ? "null" : typeof __v)(o.timeoutMs) === "number" ? o.timeoutMs : 12e4);
1732
- let signal = o.signal ?? null;
1733
- while ((isBusy(get(id) ?? null) ?? null) && (now() ?? null) < deadline && !(signal != null && signal.aborted === true)) {
1734
- await (delay2(Math.min(WAIT_STEP_MS, Math.max(1, deadline - (now() ?? null)) ?? null) ?? null) ?? null);
1735
- }
1736
- return get(id) ?? null;
1737
- }
1738
- }, dismissFinished: (id) => {
1739
- {
1740
- let prefix = "Agent " + id + " (";
1741
- let i = parentQueue.length - 1;
1742
- while (i >= 0) {
1743
- if ((parentQueue[i] ?? null).startsWith(prefix) ?? null) {
1744
- parentQueue.splice(i, 1) ?? null;
1745
- }
1746
- i = i - 1;
1747
- }
1748
- }
1749
- }, drainParentNotifications: () => {
1750
- {
1751
- return parentQueue.splice(0, parentQueue.length) ?? null;
1752
- }
1753
- }, hasPendingNotifications: () => {
1754
- {
1755
- return parentQueue.length > 0;
1756
- }
1757
- }, spawn: async (req) => {
1758
- {
1759
- let profile = profileById(req.profileId) ?? null;
1760
- if (profile == null) {
1761
- let ids = ((host.profiles() ?? null).map((p) => {
1762
- {
1763
- return p.id;
1764
- }
1765
- }) ?? null).join(", ") ?? null;
1766
- return { kind: "refused", reason: 'No agent type "' + req.profileId + '". Available: ' + ids + "." };
1767
- }
1768
- let prompt = ((__v) => __v == null ? "null" : typeof __v)(req.prompt) === "string" ? req.prompt.trim() ?? null : "";
1769
- if (prompt === "") {
1770
- return { kind: "refused", reason: "A task needs a self-contained prompt \u2014 the agent cannot see this conversation." };
1771
- }
1772
- let background = ((__v) => __v == null ? "null" : typeof __v)(req.background) === "boolean" ? req.background : profile.background === true;
1773
- let id = ((__v) => __v == null ? "null" : typeof __v)(host.newId) === "function" ? host.newId() ?? null : "agent-" + ((now() ?? null).toString(36) ?? null) + "-" + (((Math.random() ?? null).toString(36) ?? null).slice(2, 7) ?? null);
1774
- let session2 = { id, profile: profile.id, description: ((__v) => __v == null ? "null" : typeof __v)(req.description) === "string" && req.description !== "" ? req.description : prompt.slice(0, 80) ?? null, status: "running", background, transcript: [], inbox: [], startedAt: now() ?? null, rounds: 0, readOnly: req.readOnly === true || profile.readOnly === true };
1775
- if (((__v) => __v == null ? "null" : typeof __v)(req.parentCallId) === "string" && req.parentCallId !== "") {
1776
- session2.parentCallId = req.parentCallId;
1777
- }
1778
- sessions.set(session2.id, session2) ?? null;
1779
- changed() ?? null;
1780
- sessionEvent(session2) ?? null;
1781
- let forceReadOnly = req.readOnly === true;
1782
- let parentSignal = req.signal ?? null;
1783
- if (background) {
1784
- startBackground(session2, async () => {
1785
- {
1786
- return await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1787
- }
1788
- }) ?? null;
1789
- return { kind: "started", id: session2.id };
1790
- }
1791
- let out = await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1792
- return { kind: "done", id: session2.id, ok: out.ok, summary: out.summary, rounds: out.rounds };
1793
- }
1794
- }, message: async (id, text, opts) => {
1795
- {
1796
- await (load() ?? null);
1797
- let o = opts ?? {};
1798
- let session2 = sessions.get(id) ?? null ?? null;
1799
- if (session2 == null) {
1800
- return { kind: "unknown", id };
1801
- }
1802
- if (session2.status === "running" || session2.status === "queued") {
1803
- session2.inbox.push(text) ?? null;
1804
- persist(session2) ?? null;
1805
- return { kind: "queued", id };
1806
- }
1807
- let profile = profileById(session2.profile) ?? null;
1808
- if (profile == null) {
1809
- return { kind: "unknown", id };
1810
- }
1811
- let wait = o.wait === true;
1812
- let parentSignal = o.signal ?? null;
1813
- session2.status = "running";
1814
- session2.endedAt = null;
1815
- session2.background = !wait;
1816
- changed() ?? null;
1817
- if (!wait) {
1818
- startBackground(session2, async () => {
1819
- {
1820
- return await (run(session2, profile, text, false, parentSignal, false) ?? null);
1821
- }
1822
- }) ?? null;
1823
- return { kind: "resumed", id };
1824
- }
1825
- let out = await (run(session2, profile, text, false, parentSignal, false) ?? null);
1826
- return { kind: "done", id, ok: out.ok, summary: out.summary };
1827
- }
1828
- }, stop, stopAll: () => {
1829
- {
1830
- for (const s of allSessions(sessions) ?? null) {
1831
- stop(s.id) ?? null;
1832
- }
1833
- parentQueue.splice(0, parentQueue.length) ?? null;
1834
- }
1835
- }, report };
1836
- }
1837
- }
1838
-
1839
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/types.js
1840
- init_define_POPCRAFT_COMPONENT_IDS();
1841
- function forceTool(name) {
1842
- {
1843
- return { type: "function", function: { name } };
1844
- }
1845
- }
1846
-
1847
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/store.js
1848
- init_define_POPCRAFT_COMPONENT_IDS();
1849
- async function loadAll(kv, prefix) {
1850
- {
1851
- let out = [];
1852
- for (const k of await (kv.keys(prefix) ?? null)) {
1853
- let v = await (kv.get(k) ?? null);
1854
- if (v != null) {
1855
- out.push(v) ?? null;
1856
- }
1857
- }
1858
- return out;
1859
- }
1860
- }
1861
- function sessionStore(kv, scope) {
1862
- {
1863
- let prefix = (scope ?? "default") + ":session:";
1864
- return { load: async () => {
1865
- {
1866
- return await (loadAll(kv, prefix) ?? null);
1867
- }
1868
- }, save: async (s) => {
1869
- {
1870
- await (kv.set(prefix + s.id, s) ?? null);
1871
- }
1872
- }, remove: async (id) => {
1873
- {
1874
- await ((kv["delete"] ?? null)(prefix + id) ?? null);
1875
- }
1876
- } };
1877
- }
1878
- }
1879
- function runStore(kv, scope) {
1880
- {
1881
- let prefix = (scope ?? "default") + ":run:";
1882
- return { get: async (id) => {
1883
- {
1884
- return await (kv.get(prefix + id) ?? null);
1885
- }
1886
- }, save: async (run) => {
1887
- {
1888
- await (kv.set(prefix + run.id, run) ?? null);
1889
- }
1890
- }, list: async () => {
1891
- {
1892
- return await (loadAll(kv, prefix) ?? null);
1893
- }
1894
- }, remove: async (id) => {
1895
- {
1896
- await ((kv["delete"] ?? null)(prefix + id) ?? null);
1897
- }
1898
- } };
1899
- }
1900
- }
1901
-
1902
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/run.js
1903
- init_define_POPCRAFT_COMPONENT_IDS();
1904
- function errorMessage3(err) {
1905
- {
1906
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1907
- return err.message;
1908
- }
1909
- return String(err) ?? null;
1910
- }
1911
- }
1912
- async function runPersistent(opts) {
1913
- {
1914
- let now = ((__v) => __v == null ? "null" : typeof __v)(opts.now) === "function" ? opts.now : () => {
1915
- {
1916
- return Date.now() ?? null;
1917
- }
1918
- };
1919
- let existing = await (opts.runs.get(opts.id) ?? null);
1920
- let createdAt = existing != null ? existing.createdAt : now() ?? null;
1921
- let record = (status, checkpoint) => {
1922
- {
1923
- let todos = opts.todos != null && ((__v) => __v == null ? "null" : typeof __v)(opts.todos) === "object" ? opts.todos.get() ?? null : existing != null ? existing.todos ?? null : null;
1924
- let meta = opts.meta ?? (existing != null ? existing.meta ?? null : null);
1925
- return { id: opts.id, createdAt, updatedAt: now() ?? null, meta, todos, status, checkpoint };
1926
- }
1927
- };
1928
- let first = existing != null ? existing.checkpoint : { messages: opts.messages, round: 0, acted: false, nudgesLeft: 0, done: false };
1929
- await (opts.runs.save(record("running", first) ?? null) ?? null);
1930
- let mark = async (status, error) => {
1931
- {
1932
- let saved = await (opts.runs.get(opts.id) ?? null);
1933
- if (saved != null) {
1934
- let next = { ...saved, status, updatedAt: now() ?? null };
1935
- if (((__v) => __v == null ? "null" : typeof __v)(error) === "string") {
1936
- next.error = error;
1937
- }
1938
- await (opts.runs.save(next) ?? null);
1939
- }
1940
- }
1941
- };
1942
- let outcome = null;
1943
- try {
1944
- {
1945
- outcome = await (runAgentLoop({ ...opts, checkpoint: async (state) => {
1946
- {
1947
- await (opts.runs.save(record(state.done ? "done" : "running", state) ?? null) ?? null);
1948
- if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1949
- await (opts.checkpoint(state) ?? null);
1950
- }
1951
- }
1952
- } }) ?? null);
1953
- }
1954
- } catch (err) {
1955
- {
1956
- await (mark("error", errorMessage3(err) ?? null) ?? null);
1957
- throw err;
1958
- }
1959
- }
1960
- if (outcome.stopped) {
1961
- await (mark("stopped", null) ?? null);
1962
- }
1963
- return outcome;
1964
- }
1965
- }
1966
- async function interruptedRuns(runs2, activeIds) {
1967
- {
1968
- let active = new Set(activeIds ?? []) ?? null;
1969
- return (await (runs2.list() ?? null)).filter((r) => {
1970
- {
1971
- return r.status === "running" && !(active.has(r.id) ?? null);
1972
- }
1973
- }) ?? null;
1974
- }
1975
- }
1976
- async function resumeRun(id, runs2, options) {
1977
- {
1978
- let saved = await (runs2.get(id) ?? null);
1979
- if (saved == null) {
1980
- throw { message: 'No saved run "' + id + '".', code: "not_found" };
1981
- }
1982
- let cp = saved.checkpoint;
1983
- return await (runPersistent({ ...options, id, runs: runs2, messages: cp.messages.concat([{ role: "user", content: "The session was interrupted and has resumed. Check the state of your work, then carry on where you left off." }]) ?? null, resumeState: { round: cp.round, acted: cp.acted, nudgesLeft: cp.nudgesLeft }, meta: options.meta ?? saved.meta ?? null }) ?? null);
1984
- }
1985
- }
1986
-
1987
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/router.js
1988
- init_define_POPCRAFT_COMPONENT_IDS();
1989
- var ROUTER_PROMPT = 'You pick the next tool for a coding agent. Answer with JSON only: {"tool": "<one of the tool names, or none>", "p": <your confidence 0..1>}. Pick "none" when the agent should answer in words or the choice is unclear.';
1990
- function createRouter(opts) {
1991
- {
1992
- let call = roleModel(opts.callModel, opts.spec) ?? null;
1993
- let threshold = ((__v) => __v == null ? "null" : typeof __v)(opts.threshold) === "number" ? opts.threshold : 0.8;
1994
- let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 12e3;
1995
- return async (req) => {
1996
- {
1997
- if (!(Array.isArray(req.tools) ?? null) || req.tools.length === 0) {
1998
- return null;
1999
- }
2000
- let names = req.tools.map((t2) => {
2001
- {
2002
- return (t2["function"] ?? null).name;
2003
- }
2004
- }) ?? null;
2005
- let turn = null;
2006
- try {
2007
- {
2008
- turn = await (call([{ role: "system", content: ROUTER_PROMPT }, { role: "user", content: "Tools: " + (names.join(", ") ?? null) + "\n\nRecent session:\n" + (renderTranscript(req.messages, maxChars) ?? null) }], [], {}, null, null) ?? null);
2009
- }
2010
- } catch (err) {
2011
- {
2012
- return null;
2013
- }
2014
- }
2015
- let tool = null;
2016
- let p = 0;
2017
- let t = (turn.text ?? "").trim() ?? null;
2018
- let start = t.indexOf("{") ?? null;
2019
- let end = t.lastIndexOf("}") ?? null;
2020
- if (start >= 0 && end > start) {
2021
- try {
2022
- {
2023
- let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
2024
- if (((__v) => __v == null ? "null" : typeof __v)(j.tool) === "string" && (names.includes(j.tool) ?? null)) {
2025
- tool = j.tool;
2026
- }
2027
- if (((__v) => __v == null ? "null" : typeof __v)(j.p) === "number") {
2028
- p = j.p;
2029
- }
2030
- }
2031
- } catch (e) {
2032
- {
2033
- }
2034
- }
2035
- }
2036
- let sharp = tool != null && p >= threshold;
2037
- if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
2038
- opts.onEvent({ type: "router:pick", round: req.round, model: opts.spec.model, tool, p, sharp }) ?? null;
2039
- }
2040
- return sharp ? forceTool(tool) ?? null : null;
2041
- }
2042
- };
2043
- }
2044
- }
2045
-
2046
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/auto.js
2047
- init_define_POPCRAFT_COMPONENT_IDS();
2048
- function normalizeMode(mode) {
2049
- {
2050
- if (mode === "off" || mode === false) {
2051
- return "off";
2052
- }
2053
- if (mode === "ultra") {
2054
- return "ultra";
2055
- }
2056
- return "auto";
2057
- }
2058
- }
2059
- function createOrchestration(callModel, opts) {
2060
- {
2061
- let o = opts ?? {};
2062
- let mode = normalizeMode(o.mode ?? "auto") ?? null;
2063
- let skill = o.skill != null && ((__v) => __v == null ? "null" : typeof __v)(o.skill) === "object" ? o.skill : null;
2064
- let catalog = o.catalog ?? null;
2065
- let emit = (e) => {
2066
- {
2067
- if (((__v) => __v == null ? "null" : typeof __v)(o.onEvent) === "function") {
2068
- o.onEvent(e) ?? null;
2069
- }
2070
- }
2071
- };
2072
- let hostLimit = ((__v) => __v == null ? "null" : typeof __v)(o.maxConcurrent) === "number" ? o.maxConcurrent : null;
2073
- if (mode === "off" || skill == null) {
2074
- return { mode, skill: null, roles: {}, maxConcurrent: hostLimit, guidance: "", callModel, childModel: (m) => {
2075
- {
2076
- return null;
2077
- }
2078
- }, advise: null, route: null };
2079
- }
2080
- emit({ type: "skill", skill: skill.name }) ?? null;
2081
- let roles = mergeRoles(skill.roles, o.roles ?? null) ?? null;
2082
- if (((__v) => __v == null ? "null" : typeof __v)(o.effort) === "string" && (roles.lead ?? null) != null) {
2083
- roles = mergeRoles(roles, { lead: { effort: o.effort } }) ?? null;
2084
- }
2085
- let specs = {};
2086
- let calls = {};
2087
- let callFor = (role) => {
2088
- {
2089
- if ((calls[role] ?? null ?? null) == null) {
2090
- let spec = resolveRole(role, roles, catalog) ?? null;
2091
- if (spec == null) {
2092
- return null;
2093
- }
2094
- specs[role] = spec;
2095
- calls[role] = roleModel(callModel, spec) ?? null;
2096
- emit({ type: "role:model", role, model: spec.model }) ?? null;
2097
- }
2098
- return calls[role] ?? null;
2099
- }
2100
- };
2101
- let lead = callFor("lead") ?? null ?? callModel;
2102
- let advise = null;
2103
- let route = null;
2104
- if ((callFor("advisor") ?? null) != null) {
2105
- let triggers = null;
2106
- if (Array.isArray(skill.advisorTriggers) ?? null) {
2107
- triggers = { plan: skill.advisorTriggers.includes("plan") ?? null, done: skill.advisorTriggers.includes("done") ?? null, error: skill.advisorTriggers.includes("error") ?? null, ask: skill.advisorTriggers.includes("ask") ?? null };
2108
- }
2109
- advise = (createAdvisor({ callModel, spec: specs.advisor, triggers, maxCalls: skill.advisorMaxCalls ?? null, maxChars: null, guidance: skill.guidance, onEvent: (e) => {
2110
- {
2111
- emit(e) ?? null;
2112
- }
2113
- } }) ?? null).advise;
2114
- }
2115
- if (((__v) => __v == null ? "null" : typeof __v)(skill.routerThreshold) === "number" && (callFor("router") ?? null) != null) {
2116
- route = createRouter({ callModel, spec: specs.router, threshold: skill.routerThreshold, onEvent: (e) => {
2117
- {
2118
- emit(e) ?? null;
2119
- }
2120
- } }) ?? null;
2121
- }
2122
- return { mode, skill, roles, maxConcurrent: hostLimit ?? skill.maxConcurrent ?? null, guidance: skill.guidance, callModel: lead, childModel: (profileModel) => {
2123
- {
2124
- let role = roleOfProfileModel(profileModel) ?? null;
2125
- if (role == null) {
2126
- return roleModel(callModel, { model: profileModel, effort: (specs.lead ?? {}).effort ?? null, fallback: null }) ?? null;
2127
- }
2128
- return callFor(role) ?? null ?? lead;
2129
- }
2130
- }, advise, route };
2131
- }
2132
- }
2133
-
2134
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/orchestration-skill.js
2135
- init_define_POPCRAFT_COMPONENT_IDS();
2136
- function splitList(v) {
2137
- {
2138
- if ((v ?? null) == null) {
2139
- return [];
2140
- }
2141
- return ((v.split(",") ?? null).map((s) => {
2142
- {
2143
- return s.trim() ?? null;
2144
- }
2145
- }) ?? null).filter((s) => {
2146
- {
2147
- return s !== "";
2148
- }
2149
- }) ?? null;
2150
- }
2151
- }
2152
- function unquote(v) {
2153
- {
2154
- let t = v.trim() ?? null;
2155
- if (t.length >= 2 && ((t.startsWith('"') ?? null) && (t.endsWith('"') ?? null) || (t.startsWith("'") ?? null) && (t.endsWith("'") ?? null))) {
2156
- return t.slice(1, t.length - 1) ?? null;
2157
- }
2158
- return t;
2159
- }
2160
- }
2161
- function num(v) {
2162
- {
2163
- if ((v ?? null) == null || v === "") {
2164
- return null;
2165
- }
2166
- let n = Number(v) ?? null;
2167
- return Number.isFinite(n) ?? null ? n : null;
2168
- }
2169
- }
2170
- function parseOrchestrationSkill(text) {
2171
- {
2172
- let src = ((__v) => __v == null ? "null" : typeof __v)(text) === "string" ? (text.split("\r\n") ?? null).join("\n") ?? null : "";
2173
- if (!(src.startsWith("---\n") ?? null)) {
2174
- return null;
2175
- }
2176
- let end = src.indexOf("\n---", 4) ?? null;
2177
- if (end < 0) {
2178
- return null;
2179
- }
2180
- let head = src.slice(4, end) ?? null;
2181
- let body = src.slice(end + 4) ?? null;
2182
- if (body.startsWith("\n") ?? null) {
2183
- body = body.slice(1) ?? null;
2184
- }
2185
- let f = {};
2186
- for (const line of head.split("\n") ?? null) {
2187
- let i = line.indexOf(":") ?? null;
2188
- if (i <= 0 || ((line.trim() ?? null).startsWith("#") ?? null)) {
2189
- continue;
2190
- }
2191
- f[((line.slice(0, i) ?? null).trim() ?? null).toLowerCase() ?? null] = unquote(line.slice(i + 1) ?? null) ?? null;
2192
- }
2193
- if ((f["kind"] ?? null ?? "") !== "orchestration") {
2194
- return null;
2195
- }
2196
- let roles = {};
2197
- for (const r of MODEL_ROLES) {
2198
- let model = f[r] ?? null ?? "";
2199
- if (model === "") {
2200
- continue;
2201
- }
2202
- let spec = { model, effort: (f[r + "_effort"] ?? null ?? "") !== "" ? f[r + "_effort"] ?? null : null, fallback: splitList(f[r + "_fallback"] ?? null ?? null) ?? null };
2203
- roles[r] = spec;
2204
- }
2205
- let triggers = splitList(f["advisor_triggers"] ?? null ?? null) ?? null;
2206
- return { name: (f["name"] ?? null ?? "") !== "" ? f["name"] ?? null : "orchestration", description: f["description"] ?? null ?? "", modes: (splitList(f["modes"] ?? null ?? null) ?? null).map((m) => {
2207
- {
2208
- return m.toLowerCase() ?? null;
2209
- }
2210
- }) ?? null, roles, advisorTriggers: triggers.length > 0 ? triggers : null, advisorMaxCalls: num(f["advisor_max_calls"] ?? null ?? null) ?? null, routerThreshold: num(f["router_threshold"] ?? null ?? null) ?? null, maxConcurrent: num(f["max_concurrent"] ?? null ?? null) ?? null, guidance: body.trim() ?? null };
2211
- }
2212
- }
2213
- function skillsForMode(skills, mode) {
2214
- {
2215
- if (mode === "off" || !(Array.isArray(skills) ?? null)) {
2216
- return [];
2217
- }
2218
- return skills.filter((s) => {
2219
- {
2220
- return s != null && ((__v) => __v == null ? "null" : typeof __v)(s) === "object" && (s.modes.length === 0 || (s.modes.includes(mode) ?? null));
2221
- }
2222
- }) ?? null;
2223
- }
2224
- }
2225
- async function chooseOrchestrationSkill(callModel, skills, task, mode) {
2226
- {
2227
- let candidates = skillsForMode(skills, mode) ?? null;
2228
- if (candidates.length === 0) {
2229
- return null;
2230
- }
2231
- if (candidates.length === 1) {
2232
- return candidates[0] ?? null;
2233
- }
2234
- let list = (candidates.map((s) => {
2235
- {
2236
- return "- " + s.name + ": " + s.description;
2237
- }
2238
- }) ?? null).join("\n") ?? null;
2239
- let messages = [{ role: "system", content: "Pick the orchestration skill that fits the task. Reply with its name only, or `none`." }, { role: "user", content: "Skills:\n" + list + "\n\nTask:\n" + task }];
2240
- let turn = null;
2241
- try {
2242
- {
2243
- turn = await (callModel(messages, [], {}, null, null) ?? null);
2244
- }
2245
- } catch (err) {
2246
- {
2247
- return null;
2248
- }
2249
- }
2250
- let said = ((String(turn.text ?? "") ?? null).trim() ?? null).toLowerCase() ?? null;
2251
- for (const ch of ["`", "'", '"', "*", "."]) {
2252
- said = (said.split(ch) ?? null).join("") ?? null;
2253
- }
2254
- for (const s of candidates) {
2255
- if (said === (s.name.toLowerCase() ?? null) || (said.includes(s.name.toLowerCase() ?? null) ?? null)) {
2256
- return s;
2257
- }
2258
- }
2259
- return null;
2260
- }
2261
- }
2262
-
2263
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/indexeddb.js
2264
- init_define_POPCRAFT_COMPONENT_IDS();
2265
- function indexedDbStore(name = "hypery-agents") {
2266
- let db = null;
2267
- const open = () => db ?? (db = new Promise((res, rej) => {
2268
- const req = indexedDB.open(name, 1);
2269
- req.onupgradeneeded = () => {
2270
- req.result.createObjectStore("kv");
2271
- };
2272
- req.onsuccess = () => res(req.result);
2273
- req.onerror = () => rej(req.error);
2274
- }));
2275
- const tx = async (mode, fn) => {
2276
- const store = (await open()).transaction("kv", mode).objectStore("kv");
2277
- return new Promise((res, rej) => {
2278
- const r = fn(store);
2279
- r.onsuccess = () => res(r.result);
2280
- r.onerror = () => rej(r.error);
2281
- });
2282
- };
2283
- return {
2284
- // A missing key reads as null, as the core's stores do.
2285
- get: async (k) => await tx("readonly", (s) => s.get(k)) ?? null,
2286
- set: async (k, v) => {
2287
- await tx("readwrite", (s) => s.put(structuredClone(v), k));
2288
- },
2289
- delete: async (k) => {
2290
- await tx("readwrite", (s) => s.delete(k));
2291
- },
2292
- keys: async (prefix) => (await tx("readonly", (s) => s.getAllKeys())).map(String).filter((k) => k.startsWith(prefix))
2293
- };
2294
- }
2295
-
2296
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
2297
- function createHyperyModel2(opts) {
2298
- return createHyperyModel({ ...opts, fetch: opts.fetch ?? ((url, init) => fetch(url, init)) });
2299
- }
2300
- function createAgentRuntime2(host) {
2301
- return createAgentRuntime({
2302
- ...host,
2303
- createSignal: host.createSignal ?? (() => {
2304
- const controller = new AbortController();
2305
- return { signal: controller.signal, stop: () => controller.abort() };
2306
- })
2307
- // The core types a child's signal as anything with `aborted`; here every one comes from `createSignal`, whose
2308
- // signals are AbortSignals — so the host's callbacks may rely on that.
2309
- });
2310
- }
2311
-
2312
- // lib/agent/stream-parse.ts
2313
- init_define_POPCRAFT_COMPONENT_IDS();
2314
-
2315
- // lib/agent/gateway.ts
2316
- var session = {
2317
- token: () => accessToken(),
2318
- team: () => activeHyperyTeamId(),
2319
- paymentSource: async () => (await paymentSourceHeaders())[HYPERY_PAYMENT_SOURCE_HEADER] === "credits" ? "credits" : null,
2320
- gatewayUrl: HYPERY_GATEWAY_URL
2321
- };
2322
- var agentModel2 = (model) => createHyperyModel2({
2323
- ...session,
2324
- model: () => {
2325
- const id = model();
2326
- if (!id) throw agentModelError("Pick a chat model for the agent first.", "no_model", 400);
2327
- return id;
2328
- }
2329
- });
2330
-
2331
- // lib/agent/turn-recovery.ts
2332
- init_define_POPCRAFT_COMPONENT_IDS();
2333
- var ACTION_NUDGES = 2;
2334
- var MAX_READ_ROUNDS = 4;
2335
- var READ_BUDGET_NOTE = "You have read enough to start. Make the change now with a tool that edits the document; read more only if a write fails.";
2336
- var ACTION_NUDGE = "Nothing has changed in the document yet. Make the change that was asked for now, with a tool that edits the document. If you truly cannot, say exactly what is blocking you.";
2337
- var QUESTION_START = /^(what|why|how|which|who|where|when|is|are|does|do|did|can you (explain|tell)|could you (explain|tell)|explain|describe|tell me|list|show me what)\b/i;
2338
- function wantsChange(text) {
2339
- const body = text.trim();
2340
- if (!body) return false;
2341
- return !(body.endsWith("?") && QUESTION_START.test(body));
2342
- }
2343
- function createActionGuard(opts) {
2344
- const maxReads = opts.maxReadRounds ?? MAX_READ_ROUNDS;
2345
- const maxNudges = opts.nudges ?? ACTION_NUDGES;
2346
- let readRounds = opts.initial?.readRounds ?? 0;
2347
- let nudges = opts.initial?.nudges ?? 0;
2348
- let acted = false;
2349
- let actedThisRound = false;
2350
- let ranThisRound = false;
2351
- let notes = [];
2352
- let choice = null;
2353
- let budgetSpent = readRounds >= maxReads;
2354
- return {
2355
- onRun(run, changed) {
2356
- ranThisRound = true;
2357
- if (run.ok && changed) {
2358
- acted = true;
2359
- actedThisRound = true;
2360
- }
2361
- },
2362
- onRoundEnd() {
2363
- if (!opts.enabled || acted || !ranThisRound) {
2364
- ranThisRound = false;
2365
- actedThisRound = false;
2366
- return;
2367
- }
2368
- if (!actedThisRound) readRounds++;
2369
- ranThisRound = false;
2370
- actedThisRound = false;
2371
- if (!budgetSpent && readRounds >= maxReads) {
2372
- budgetSpent = true;
2373
- notes.push(READ_BUDGET_NOTE);
2374
- choice = "required";
2375
- }
2376
- },
2377
- onNudge() {
2378
- nudges++;
2379
- if (opts.enabled && nudges >= maxNudges && opts.writeTool) choice = forceTool(opts.writeTool);
2380
- else if (opts.enabled) choice = "required";
2381
- return nudges;
2382
- },
2383
- drain() {
2384
- const out = notes;
2385
- notes = [];
2386
- return out;
2387
- },
2388
- toolChoice() {
2389
- if (acted) return null;
2390
- const c = choice;
2391
- choice = null;
2392
- return c;
2393
- },
2394
- get acted() {
2395
- return acted;
2396
- },
2397
- state: () => ({ readRounds, nudges, forced: budgetSpent })
2398
- };
2399
- }
2400
- function createToolLedger(initial = null) {
2401
- let done = { ...initial ?? {} };
2402
- return {
2403
- get: (id) => done[id],
2404
- record: (run) => {
2405
- done = { ...done, [run.id]: { id: run.id, name: run.name, argsText: run.argsText, ok: run.ok, summary: run.summary, content: run.content } };
2406
- },
2407
- entries: () => done,
2408
- clear: () => {
2409
- done = {};
2410
- }
2411
- };
2412
- }
2413
- async function runOnce(ledger, call, run) {
2414
- const seen = ledger.get(call.id);
2415
- if (seen) return { ...seen, acted: false, replayed: true };
2416
- const result = await run();
2417
- ledger.record(result);
2418
- return result;
2419
- }
2420
- function resumeTranscript(checkpoint, pending, ledger) {
2421
- if (!pending?.calls.length) return checkpoint;
2422
- const answered = new Set(checkpoint.filter((m) => m.role === "tool").map((m) => m.tool_call_id));
2423
- if (pending.calls.every((c) => answered.has(c.id))) return checkpoint;
2424
- const assistant = {
2425
- role: "assistant",
2426
- content: pending.text,
2427
- tool_calls: pending.calls.map((c) => ({ id: c.id, type: "function", function: { name: c.name, arguments: c.argsText } }))
2428
- };
2429
- const answers = pending.calls.map((c) => ledger?.[c.id]).filter((e) => !!e).map((e) => ({ role: "tool", tool_call_id: e.id, name: e.name, content: e.content }));
2430
- return [...checkpoint, assistant, ...answers];
2431
- }
2432
- var browserSignals = () => {
2433
- if (typeof document === "undefined" || typeof window === "undefined") return null;
2434
- return {
2435
- hidden: () => document.visibilityState === "hidden",
2436
- online: () => typeof navigator === "undefined" || navigator.onLine !== false,
2437
- subscribe: (fn) => {
2438
- document.addEventListener("visibilitychange", fn);
2439
- window.addEventListener("online", fn);
2440
- window.addEventListener("pageshow", fn);
2441
- return () => {
2442
- document.removeEventListener("visibilitychange", fn);
2443
- window.removeEventListener("online", fn);
2444
- window.removeEventListener("pageshow", fn);
2445
- };
2446
- }
2447
- };
2448
- };
2449
- function whenResumable(signals = browserSignals(), signal, offlineWaitMs = 0) {
2450
- if (!signals || signal?.aborted) return Promise.resolve();
2451
- const visible = () => !signals.hidden() ? Promise.resolve() : new Promise((resolve2) => {
2452
- const done = () => {
2453
- off();
2454
- signal?.removeEventListener("abort", done);
2455
- resolve2();
2456
- };
2457
- const off = signals.subscribe(() => {
2458
- if (!signals.hidden()) done();
2459
- });
2460
- signal?.addEventListener("abort", done);
2461
- });
2462
- return visible().then(() => {
2463
- if (!offlineWaitMs || signals.online() || signal?.aborted) return;
2464
- return new Promise((resolve2) => {
2465
- const done = () => {
2466
- clearTimeout(timer);
2467
- off();
2468
- signal?.removeEventListener("abort", done);
2469
- resolve2();
2470
- };
2471
- const timer = setTimeout(done, offlineWaitMs);
2472
- const off = signals.subscribe(() => {
2473
- if (signals.online()) done();
2474
- });
2475
- signal?.addEventListener("abort", done);
2476
- });
2477
- });
2478
- }
2479
- function isInterruption(err, hidden = false) {
2480
- if (hidden) return true;
2481
- const e = err ?? {};
2482
- if (e.code === "ai_timeout") return true;
2483
- if (typeof e.status === "number") return e.status >= 500 || e.status === 408;
2484
- const text = `${String(e.name ?? "")} ${String(e.code ?? "")} ${String(e.message ?? "")}`.toLowerCase();
2485
- return ["load failed", "failed to fetch", "network", "fetch failed", "econnreset", "socket", "stream", "stalled", "timed out", "timeout"].some((w) => text.includes(w));
2486
- }
2487
- function serialRuns(inner) {
2488
- const latest = /* @__PURE__ */ new Map();
2489
- let queue = Promise.resolve();
2490
- return {
2491
- peek: (id) => latest.get(id),
2492
- get: async (id) => latest.get(id) ?? inner.get(id),
2493
- save: (rec) => {
2494
- latest.set(rec.id, rec);
2495
- const write = queue.then(() => inner.save(rec));
2496
- queue = write.catch(() => {
2497
- });
2498
- return write;
2499
- },
2500
- list: async () => {
2501
- await queue;
2502
- return inner.list();
2503
- },
2504
- remove: (id) => {
2505
- latest.delete(id);
2506
- const write = queue.then(() => inner.remove(id));
2507
- queue = write.catch(() => {
2508
- });
2509
- return write;
2510
- }
2511
- };
2512
- }
2513
-
2514
- // lib/agent/tools/subagent-tools.ts
2515
- init_define_POPCRAFT_COMPONENT_IDS();
2516
-
2517
- // lib/agent/subagent.ts
2518
- init_define_POPCRAFT_COMPONENT_IDS();
2519
-
2520
- // lib/agent/orchestration.ts
2521
- init_define_POPCRAFT_COMPONENT_IDS();
2522
- var MODE_KEY = "popcraft-agent-orchestration";
2523
- function loadMode() {
2524
- try {
2525
- return normalizeMode(typeof localStorage === "undefined" ? null : localStorage.getItem(MODE_KEY));
2526
- } catch {
2527
- return "auto";
2528
- }
2529
- }
2530
- var useOrchestrationStore = create(() => ({ mode: loadMode() }));
2531
- var orchestrationMode = () => useOrchestrationStore.getState().mode;
2532
- var orchestrationSkillOf = (skill) => parseOrchestrationSkill(skill.instructions);
2533
- var orchestrationSkills = (skills = allSkills()) => skills.map(orchestrationSkillOf).filter((s) => s !== null);
2534
- var current = null;
2535
- var currentOrchestration = () => current;
2536
- async function orchestrateTurn(opts) {
2537
- const mode = opts.mode ?? orchestrationMode();
2538
- let skill = null;
2539
- if (mode !== "off") {
2540
- skill = await chooseOrchestrationSkill(opts.callModel, opts.skills ?? orchestrationSkills(), opts.task, mode).catch(() => null);
2541
- }
2542
- if (skill && opts.explicitModel && skill.roles?.lead) {
2543
- const { lead: _lead, ...roles } = skill.roles;
2544
- skill = { ...skill, roles };
2545
- }
2546
- current = createOrchestration(opts.callModel, { mode, skill, onEvent: opts.onEvent });
2547
- return current;
2548
- }
2549
- function endOrchestration(orch) {
2550
- if (current === orch) current = null;
2551
- }
2552
-
2553
- // lib/agent/prompt.ts
2554
- init_define_POPCRAFT_COMPONENT_IDS();
2555
- init_limits();
2556
- var PROMPT_LIMITS = {
2557
- maxPromptChars: 14400,
2558
- maxSkillIndexChars: 5800,
2559
- maxProfileIndexChars: 1600,
2560
- maxContextChars: AI_LIMITS.maxContextChars,
2561
- maxSelectionItems: 12
2562
- };
2563
- var IDENTITY = `You are the PopCraft design agent. PopCraft is a browser design tool (frames, vectors, text, components, styles, variables, auto layout), and you work inside the user's open document through tools that edit it live.`;
2564
- var HOW_TO_WORK = `How you work:
2565
- - Inspect before you edit. Read the selection and the layers you are about to change; never guess at node ids, colors or sizes.
2566
- - Make designs as code. Anything bigger than a small tweak \u2014 a poster, a post, a reel, a page, an ad set \u2014 is ONE script built with write_design (read the design-code skill and read_design_reference first), not dozens of create_node and update_nodes calls: it builds in one step, shows on the canvas as you write it, returns a render to look at, and is changed by editing the script and building again. Before calling a design done, review it with the design-review skill: every size, moments in time, a light and a dark brand kit.
2567
- - Prefer batched tools. One call that renames thirty layers or sets ten strings beats thirty calls: every write is one undo step for the user, and a wall of undo steps is a bad edit.
2568
- - Stay inside the scope the user pointed at. The selection is the default scope; do not touch the rest of the page unless asked.
2569
- - Explain briefly. A line or two about what you did and why, with counts rather than lists. No preamble, no restating the request.
2570
- - Use skills. Before a multi-step job, read the matching skill with read_skill and follow it; skills carry the rules that make the result look designed rather than generated.
2571
- - Pixel art (sprites, characters, items, tiles, 8-/16-bit) always goes in Pixel canvases made with k.pixels, never rects or vectors \u2014 even when the file already holds vector sprites. Read the pixel-sprites skill first. When the request does not say whether the sprite is still or animated (or pixel versus vector), ask with ask_user before building: that choice is consequential, so it is an exception to asking rarely.
2572
- - Plan visibly for anything longer than a couple of steps: manage_todos puts the plan in front of the user and keeps you honest.
2573
- - When a tool fails, read the error and fix the call \u2014 do not retry the same arguments, and do not pretend a failed edit happened.
2574
- - Ask only when you genuinely cannot proceed (a structural ambiguity), and ask once. ask_user puts the question in front of them with options to click \u2014 use it when a choice is both ambiguous AND consequential, and never when you can reasonably infer the answer from the document or the request, or when you could just try it and let them undo. If they skip the question, pick sensibly and say which way you went.
2575
- - Delegate the heavy parts. Surveying a big page, writing all the copy, restyling dozens of layers \u2014 hand those to a subagent with task(); it burns its own context and hands you back a short summary, which is what keeps you able to finish the turn. Several task() calls in one message run at the same time.`;
2576
- var describeNodes = (doc, ids) => {
2577
- const shown = ids.slice(0, PROMPT_LIMITS.maxSelectionItems);
2578
- const parts = shown.map((id) => {
2579
- const n = doc.nodes[id];
2580
- return n ? `${id} (${n.type}${n.name ? ` "${str(n.name, 40)}"` : ""})` : `${id} (missing)`;
2581
- });
2582
- const rest = ids.length - shown.length;
2583
- return parts.join(", ") + (rest > 0 ? `, +${rest} more` : "");
2584
- };
2585
- function buildContextBlock(ctx, maxChars = PROMPT_LIMITS.maxContextChars) {
2586
- const { doc, pageId, selection } = ctx;
2587
- const page = doc.nodes[pageId];
2588
- const lines = [
2589
- `Document: "${str(doc.name, AI_LIMITS.maxNameChars)}" (${doc.pages.length} page${doc.pages.length === 1 ? "" : "s"}, ${Object.keys(doc.nodes).length} nodes)`,
2590
- `Current page: ${page ? `"${str(page.name, AI_LIMITS.maxNameChars)}"` : "unknown"} (id ${pageId}, ${page?.childIds?.length ?? 0} top-level layers)`,
2591
- selection.length ? `Selection (${selection.length}): ${describeNodes(doc, selection)}` : "Selection: nothing selected \u2014 ask what to work on, or use find_nodes / get_document_outline to locate it."
2592
- ];
2593
- const mentions = mentionContext(ctx.mentions, doc);
2594
- if (mentions) lines.push(mentions);
2595
- if (ctx.camera) {
2596
- const z = Math.round(ctx.camera.zoom * 100);
2597
- const size = ctx.viewport ? `, ${Math.round(ctx.viewport.width / ctx.camera.zoom)}x${Math.round(ctx.viewport.height / ctx.camera.zoom)} canvas units visible` : "";
2598
- lines.push(`Viewport: ${z}% zoom at (${Math.round(ctx.camera.x)}, ${Math.round(ctx.camera.y)})${size}`);
2599
- }
2600
- const design = buildDesignContext(doc, Math.max(200, Math.floor(maxChars / 2)));
2601
- if (design) lines.push(design);
2602
- if (ctx.readOnly) lines.push("This document is currently read-only (a version-history preview, or you are in this file as a viewer or commenter) \u2014 editing tools will refuse; explain that instead of retrying.");
2603
- return joinWithin(lines, maxChars);
2604
- }
2605
- function buildSkillIndex(skills, maxChars = PROMPT_LIMITS.maxSkillIndexChars) {
2606
- return joinWithin(skills.filter((s) => parseOrchestrationSkill(s.instructions) === null).map(skillIndexLine), maxChars);
2607
- }
2608
- function buildProfileIndex(profiles, maxChars = PROMPT_LIMITS.maxProfileIndexChars) {
2609
- return joinWithin(profiles.map(profileIndexLine), maxChars);
2610
- }
2611
- function buildSubagentPrompt(instructions, ctx) {
2612
- const prompt = [instructions, SUBAGENT_FRAMING, `Current context:
2613
- ${buildContextBlock(ctx)}`].join("\n\n");
2614
- return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2615
- \u2026`;
2616
- }
2617
- function buildSystemPrompt(ctx) {
2618
- const skills = ctx.skills ?? allSkills();
2619
- const profiles = ctx.profiles ?? allProfiles();
2620
- const active = ctx.activeSkillId ? findSkill(ctx.activeSkillId) : void 0;
2621
- const sections = [
2622
- IDENTITY,
2623
- HOW_TO_WORK,
2624
- `Skills (read the full instructions with read_skill before you follow one \u2014 only the summaries are here):
2625
- ${buildSkillIndex(skills)}`,
2626
- `Subagent profiles (spawn one with task({ subagent_type, prompt }); it starts fresh, sees this document but not this conversation, and returns only a summary):
2627
- ${buildProfileIndex(profiles)}`,
2628
- active ? `The user selected the "${active.name}" skill (${active.id}) for this turn. Call read_skill("${active.id}") first and follow it.` : "",
2629
- // Last on purpose: selection, camera and viewport change every turn, and providers cache prompts by
2630
- // prefix — everything above is identical from turn to turn, so it stays cacheable.
2631
- `Current context:
2632
- ${buildContextBlock(ctx)}`
2633
- ].filter(Boolean);
2634
- const prompt = sections.join("\n\n");
2635
- return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2636
- \u2026`;
2637
- }
2638
-
2639
- // lib/agent/subagent.ts
2640
- var PARENT_ONLY_TOOLS = ["task", "await_job", "send_message", "stop_agent", "list_agents"];
2641
- var AGENT_SESSIONS_DB = "popcraft-agent-sessions";
2642
- var FAST_HINTS = ["flash", "mini", "haiku", "lite", "nano", "small"];
2643
- var isFastModelId = (id) => {
2644
- const lower = id.toLowerCase();
2645
- return FAST_HINTS.some((h) => lower.includes(h));
2646
- };
2647
- function canRunTools(model) {
2648
- if (model.capabilities && !model.capabilities.includes("tools")) return false;
2649
- const modalities = model.outputModalities;
2650
- if (modalities?.length && !modalities.includes("text")) return false;
2651
- return !/(^|[-/_])image([-/_]|$)/.test(model.id.toLowerCase());
2652
- }
2653
- function pickChildModel(profile, parentModel, catalog) {
2654
- const explicit = profile.model?.trim();
2655
- if (explicit && explicit !== "inherit") return explicit;
2656
- if (!profile.readOnly) return parentModel;
2657
- const fast = catalog.find((m) => isFastModelId(m.id) && canRunTools(m));
2658
- return fast?.id ?? parentModel;
2659
- }
2660
- function childToolNames(profile, registered, forceReadOnly) {
2661
- const wanted = profile.tools.includes(ALL_TOOLS) ? null : new Set(profile.tools);
2662
- const parentOnly = new Set(PARENT_ONLY_TOOLS);
2663
- return registered.filter((t) => !parentOnly.has(t.name)).filter((t) => t.confirm === void 0).filter((t) => t.interactive !== true).filter((t) => !wanted || wanted.has(t.name)).filter((t) => !forceReadOnly || t.readOnly === true).map((t) => t.name);
2664
- }
2665
- function editorPromptContext() {
2666
- const st = useEditorStore.getState();
2667
- return {
2668
- doc: st.document,
2669
- pageId: st.currentPageId,
2670
- selection: st.selection,
2671
- camera: st.camera,
2672
- viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
2673
- readOnly: !!editBlockReason()
2674
- };
2675
- }
2676
- var childToolListener = null;
2677
- function onChildTool(fn) {
2678
- childToolListener = fn;
2679
- return () => {
2680
- if (childToolListener === fn) childToolListener = null;
2681
- };
2682
- }
2683
- function subagentHost(deps = {}) {
2684
- const profiles = deps.profiles ?? allProfiles;
2685
- const registered = deps.registeredTools ?? (() => allTools().map((t) => ({ name: t.name, readOnly: t.readOnly, confirm: t.confirm, interactive: t.interactive })));
2686
- const promptContext = deps.promptContext ?? editorPromptContext;
2687
- const parentModel = deps.parentModel ?? (() => effectiveChatModel());
2688
- const catalog = deps.catalog ?? (() => useAiStore.getState().catalog?.chat ?? []);
2689
- const modelCall = deps.modelCall ?? agentModel2;
2690
- const toolContext = deps.toolContext ?? editorToolContext;
2691
- const profileOf = (ctx) => profiles().find((p) => p.id === ctx.profile.id) ?? ctx.profile;
2692
- const readOnly = (ctx) => ctx.readOnly || promptContext().readOnly === true;
2693
- return {
2694
- profiles,
2695
- callModel: modelCall(parentModel),
2696
- childModel: (ctx) => {
2697
- const orch = currentOrchestration();
2698
- if (orch?.skill) {
2699
- const call = orch.childModel(readOnly(ctx) ? "swarm" : profileOf(ctx).model ?? null);
2700
- if (call) return call;
2701
- }
2702
- const model = pickChildModel(profileOf(ctx), parentModel(), catalog());
2703
- return modelCall(() => model);
2704
- },
2705
- // The turn's skill sets how many background children run at once (null: the SDK's default).
2706
- maxConcurrent: () => currentOrchestration()?.maxConcurrent ?? null,
2707
- childSystemPrompt: (ctx) => buildSubagentPrompt(ctx.profile.instructions, promptContext()),
2708
- childTools: (ctx) => {
2709
- const all = registered();
2710
- const names = childToolNames(profileOf(ctx), all, readOnly(ctx));
2711
- return (names.length ? toolSpecs(names) : []).map((spec) => ({
2712
- spec,
2713
- readOnly: all.find((t) => t.name === spec.function.name)?.readOnly === true
2714
- }));
2715
- },
2716
- execChildTool: async (call, ctx) => {
2717
- if (!childToolNames(profileOf(ctx), registered(), readOnly(ctx)).includes(call.name)) {
2718
- const message = `${call.name} is not one of your tools. Do this work with the tools you have, or say in your summary what is missing.`;
2719
- return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2720
- }
2721
- const base = toolContext(ctx.signal);
2722
- const toolCtx = { ...base, actor: { ...base.actor ?? {}, kind: "agent", nested: true, id: ctx.session.id } };
2723
- try {
2724
- const result = await runTool(call.name, call.argsText, toolCtx);
2725
- return { ...call, ok: true, summary: result.summary, content: JSON.stringify(result.data ?? { ok: true, summary: result.summary }), images: result.images };
2726
- } catch (err) {
2727
- const message = err.message ?? String(err);
2728
- return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2729
- }
2730
- },
2731
- store: deps.store === null ? void 0 : deps.store ?? (typeof indexedDB === "undefined" ? void 0 : sessionStore(indexedDbStore(AGENT_SESSIONS_DB), "editor")),
2732
- onEvent: (event) => reportChildTool(runtimeRef, event)
2733
- };
2734
- }
2735
- var runtimeRef = null;
2736
- var MAX_STEPS = 50;
2737
- var activity = /* @__PURE__ */ new Map();
2738
- var activityListeners = /* @__PURE__ */ new Set();
2739
- function recordStep(event) {
2740
- if (event.type !== "tool-start" && event.type !== "tool-end") return;
2741
- const name = event.name ?? "";
2742
- const steps = [...activity.get(event.sessionId) ?? []];
2743
- if (event.type === "tool-start") steps.push({ name, status: "running" });
2744
- else {
2745
- const i = steps.findLastIndex((s) => s.name === name && s.status === "running");
2746
- const step = { name, status: event.ok ? "done" : "error", summary: event.summary ?? void 0 };
2747
- if (i >= 0) steps[i] = step;
2748
- else steps.push(step);
2749
- }
2750
- activity.set(event.sessionId, steps.slice(-MAX_STEPS));
2751
- for (const l of activityListeners) l();
2752
- }
2753
- function reportChildTool(runtime, event) {
2754
- recordStep(event);
2755
- if (!childToolListener || event.type !== "tool-start" && event.type !== "tool-end") return;
2756
- const session2 = runtime?.get(event.sessionId);
2757
- if (!session2) return;
2758
- const jobId = session2.background ? session2.id : void 0;
2759
- childToolListener({
2760
- profile: session2.profile,
2761
- toolCallId: session2.parentCallId ?? void 0,
2762
- jobId,
2763
- job: jobId,
2764
- name: event.name ?? "",
2765
- status: event.type === "tool-start" ? "running" : event.ok ? "done" : "error",
2766
- summary: event.type === "tool-end" ? event.summary ?? void 0 : void 0
2767
- });
2768
- }
2769
- function agentRuntime() {
2770
- if (!runtimeRef) {
2771
- runtimeRef = createAgentRuntime2(subagentHost());
2772
- void runtimeRef.load();
2773
- }
2774
- return runtimeRef;
2775
- }
2776
-
2777
- // lib/agent/tools/subagent-tools.ts
2778
- var MAX_WAIT_MS = 6e5;
2779
- var DEFAULT_WAIT_MS = 12e4;
2780
- function subagentDelegate(deps = {}) {
2781
- const runtime = deps.runtime ?? agentRuntime;
2782
- return async (raw) => {
2783
- const request = raw;
2784
- const rt = runtime();
2785
- await rt.load();
2786
- switch (request.op) {
2787
- case "spawn": {
2788
- const r = await rt.spawn({
2789
- profileId: request.profileId,
2790
- prompt: request.prompt,
2791
- description: request.description,
2792
- readOnly: deps.readOnly === true || request.readOnly === true,
2793
- background: request.background,
2794
- signal: deps.signal,
2795
- parentCallId: request.callId
2796
- });
2797
- if (r.kind === "refused") return { kind: "refused", reason: r.reason };
2798
- if (r.kind === "started") return { kind: "job", jobId: r.id };
2799
- return { kind: "result", jobId: r.id, ok: r.ok, rounds: r.rounds, summary: r.summary };
2800
- }
2801
- case "await": {
2802
- const ms = Math.min(Math.max(request.timeoutMs ?? DEFAULT_WAIT_MS, 1e3), MAX_WAIT_MS);
2803
- const s = await rt.wait(request.jobId, { timeoutMs: ms, signal: deps.signal });
2804
- if (!s) return { kind: "unknown-job", jobId: request.jobId };
2805
- if (s.status !== "running" && s.status !== "queued") rt.dismissFinished(s.id);
2806
- return { kind: "status", jobId: s.id, status: s.status, summary: s.summary ?? "" };
2807
- }
2808
- case "message": {
2809
- const r = await rt.message(request.jobId, request.text, { wait: request.wait === true, signal: deps.signal });
2810
- if (r.kind === "unknown") return { kind: "unknown-job", jobId: request.jobId };
2811
- if (r.kind === "queued") return { kind: "delivered", jobId: r.id, resumed: false };
2812
- if (r.kind === "resumed") return { kind: "delivered", jobId: r.id, resumed: true };
2813
- return { kind: "result", jobId: r.id, ok: r.ok, rounds: 0, summary: r.summary };
2814
- }
2815
- case "stop":
2816
- return { kind: "stopped", jobId: request.jobId, stopped: rt.stop(request.jobId) };
2817
- case "list":
2818
- return {
2819
- kind: "list",
2820
- agents: rt.list().map((s) => ({ id: s.id, profile: s.profile, description: s.description, status: s.status, summary: s.summary ?? void 0 }))
2821
- };
2822
- }
2823
- };
2824
- }
2825
-
2826
- // lib/commands/delegate.ts
2827
- init_define_POPCRAFT_COMPONENT_IDS();
2828
- var TASK_DESCRIPTION = [
2829
- "Delegate a self-contained piece of work to a subagent, which runs with its own fresh context and hands back only a summary. Use it to keep your own context small: surveys of large pages, writing all the copy, restyling dozens of layers.",
2830
- "The child CANNOT see this conversation \u2014 put everything it needs in the prompt: the scope (node ids), the goal, the constraints, and what you want back. It cannot spawn subagents of its own; it may send you a progress report or a question while it works, which you answer with send_message.",
2831
- "Several task calls in one message run at the same time. Set run_in_background when you want to carry on working while it runs: you get its id immediately and its summary arrives as a notification. Every child has an id: send_message steers a running one or continues a finished one with its whole context, await_job waits for one, stop_agent stops one, list_agents lists them."
2832
- ].join("\n\n");
2833
- var delegateTask = defineCommand({
2834
- id: "delegate.task",
2835
- title: "Delegate to a subagent",
2836
- domain: "delegate",
2837
- // NOT harmless: a background task or a full-tool child obviously edits the document. The loop's
2838
- // `readOnly` flag means "independent of the other calls in this batch", which a subagent spawn is, so
2839
- // the agent exposure keeps saying true while the honest effect says document.
2840
- effect: "document",
2841
- permission: null,
2842
- needs: ["delegate"],
2843
- params: external_exports.object({
2844
- subagent_type: external_exports.string().describe("Profile id \u2014 one of the profiles listed in your system prompt (list_profiles for the full set)."),
2845
- prompt: external_exports.string().describe("The self-contained task. The child does not see this conversation."),
2846
- description: external_exports.string().optional().describe('Short label for the panel row, e.g. "Survey the pricing page".'),
2847
- readonly: external_exports.boolean().optional().describe("Force read-only tools for this child, whatever the profile allows."),
2848
- run_in_background: external_exports.boolean().optional().describe("Return a job id immediately and notify you when the child finishes.")
2849
- }),
2850
- expose: {
2851
- agent: { name: "task", description: TASK_DESCRIPTION, readOnly: true }
2852
- },
2853
- run: async (args, ctx) => {
2854
- const reply = await ctx.use("delegate")({
2855
- op: "spawn",
2856
- profileId: args.subagent_type,
2857
- prompt: args.prompt,
2858
- description: args.description,
2859
- readOnly: args.readonly === true,
2860
- background: args.run_in_background,
2861
- // omitted → the profile's `background` default (the SDK applies it)
2862
- callId: ctx.callId
2863
- });
2864
- if (reply.kind === "refused") return { summary: "task refused (nested)", data: { error: reply.reason } };
2865
- if (reply.kind === "job") {
2866
- return {
2867
- summary: `${args.subagent_type} started (${reply.jobId})`,
2868
- data: {
2869
- job_id: reply.jobId,
2870
- status: "running",
2871
- subagent_type: args.subagent_type,
2872
- note: "Keep working. Its summary arrives as a notification when it finishes; await_job waits for it if you need it before you can go on."
2873
- }
2874
- };
2875
- }
2876
- const result = reply;
2877
- return {
2878
- summary: `${args.subagent_type}: ${result.ok ? "done" : "failed"} in ${result.rounds} round${result.rounds === 1 ? "" : "s"}`,
2879
- data: { job_id: result.jobId, subagent_type: args.subagent_type, ok: result.ok, rounds: result.rounds, summary: result.summary }
2880
- };
2881
- }
2882
- });
2883
- var delegateAwait = defineCommand({
2884
- id: "delegate.await",
2885
- title: "Wait for a subagent",
2886
- domain: "delegate",
2887
- effect: "document",
2888
- permission: null,
2889
- needs: ["delegate"],
2890
- params: external_exports.object({
2891
- job_id: external_exports.string().describe("The id a task call returned."),
2892
- timeout_ms: external_exports.number().optional().describe("How long to wait at most, in ms (default 120000, at most 600000).")
2893
- }),
2894
- expose: {
2895
- agent: {
2896
- name: "await_job",
2897
- description: "Wait for a subagent by id to finish and get its summary (or its status when the wait times out). Use it when you need the answer before you can go on; otherwise keep working and let it notify you.",
2898
- readOnly: true
2899
- }
2900
- },
2901
- run: async (args, ctx) => {
2902
- const reply = await ctx.use("delegate")({ op: "await", jobId: args.job_id, timeoutMs: args.timeout_ms });
2903
- if (reply.kind === "unknown-job") {
2904
- return { summary: `No job ${args.job_id}`, data: { error: `No background task with id "${args.job_id}".` } };
2905
- }
2906
- const status = reply;
2907
- if (status.status === "running" || status.status === "queued") {
2908
- return {
2909
- summary: `${args.job_id}: ${status.status}`,
2910
- data: {
2911
- job_id: args.job_id,
2912
- status: status.status,
2913
- note: "Still going after the wait. Carry on with other work; its summary is delivered to you automatically when it lands."
2914
- }
2915
- };
2916
- }
2917
- return { summary: `${args.job_id}: ${status.status}`, data: { job_id: args.job_id, status: status.status, summary: status.summary ?? "" } };
2918
- }
2919
- });
2920
- var delegateMessage = defineCommand({
2921
- id: "delegate.message",
2922
- title: "Message a subagent",
2923
- domain: "delegate",
2924
- // A message can resume a builder, which edits the document.
2925
- effect: "document",
2926
- permission: null,
2927
- needs: ["delegate"],
2928
- params: external_exports.object({
2929
- job_id: external_exports.string().describe("The id a task call returned."),
2930
- message: external_exports.string().describe("What to tell it: a correction, an answer to its question, or the next piece of work."),
2931
- wait: external_exports.boolean().optional().describe("For a finished subagent: resume it and wait for its answer now.")
2932
- }),
2933
- expose: {
2934
- agent: {
2935
- name: "send_message",
2936
- description: "Message a subagent by id. A running one reads it at its next step (steer it, answer its question). A finished one is resumed with its whole context and this message; set wait to get its answer now, otherwise it arrives as a notification.",
2937
- readOnly: true
2938
- }
2939
- },
2940
- run: async (args, ctx) => {
2941
- const reply = await ctx.use("delegate")({ op: "message", jobId: args.job_id, text: args.message, wait: args.wait === true });
2942
- if (reply.kind === "unknown-job") return { summary: `No subagent ${args.job_id}`, data: { error: `No subagent with id "${args.job_id}".` } };
2943
- if (reply.kind === "delivered") {
2944
- return reply.resumed ? { summary: `${args.job_id}: resumed`, data: { job_id: args.job_id, status: "running", note: "Resumed with your message. Its answer arrives as a notification." } } : { summary: `${args.job_id}: message delivered`, data: { job_id: args.job_id, status: "running", note: "It reads this at its next step." } };
2945
- }
2946
- const result = reply;
2947
- return { summary: `${args.job_id}: ${result.ok ? "answered" : "failed"}`, data: { job_id: args.job_id, ok: result.ok, summary: result.summary } };
2948
- }
2949
- });
2950
- var delegateStop = defineCommand({
2951
- id: "delegate.stop",
2952
- title: "Stop a subagent",
2953
- domain: "delegate",
2954
- effect: "none",
2955
- permission: null,
2956
- needs: ["delegate"],
2957
- params: external_exports.object({ job_id: external_exports.string().describe("The id a task call returned.") }),
2958
- expose: { agent: { name: "stop_agent", description: "Stop one running subagent by id. Edits it already made stay.", readOnly: true } },
2959
- run: async (args, ctx) => {
2960
- const reply = await ctx.use("delegate")({ op: "stop", jobId: args.job_id });
2961
- const stopped = reply.kind === "stopped" && reply.stopped;
2962
- return { summary: stopped ? `${args.job_id}: stopped` : `${args.job_id}: not running`, data: { job_id: args.job_id, stopped } };
2963
- }
2964
- });
2965
- var delegateList = defineCommand({
2966
- id: "delegate.list",
2967
- title: "List subagents",
2968
- domain: "delegate",
2969
- effect: "none",
2970
- permission: null,
2971
- needs: ["delegate"],
2972
- params: external_exports.object({}),
2973
- expose: { agent: { name: "list_agents", description: "List your subagents: id, profile, what each was asked, its status and its last summary.", readOnly: true } },
2974
- run: async (_args, ctx) => {
2975
- const reply = await ctx.use("delegate")({ op: "list" });
2976
- const agents = reply.kind === "list" ? reply.agents : [];
2977
- return {
2978
- summary: `${agents.length} subagent${agents.length === 1 ? "" : "s"}`,
2979
- data: { agents: agents.map((a) => ({ job_id: a.id, subagent_type: a.profile, description: a.description, status: a.status, summary: a.summary })) }
2980
- };
2981
- }
2982
- });
2983
- var profileList = defineCommand({
2984
- id: "delegate.listProfiles",
2985
- title: "List subagent profiles",
2986
- domain: "delegate",
2987
- effect: "none",
2988
- permission: null,
2989
- params: external_exports.object({}),
2990
- expose: {
2991
- agent: {
2992
- name: "list_profiles",
2993
- description: "List the subagent profiles you can delegate to with task (id, what each is for, when to use it)."
2994
- }
2995
- },
2996
- run: () => {
2997
- const profiles = allProfiles();
2998
- return {
2999
- summary: `${profiles.length} profile${profiles.length === 1 ? "" : "s"}`,
3000
- data: {
3001
- profiles: profiles.map((p) => ({
3002
- id: p.id,
3003
- name: p.name,
3004
- description: p.description,
3005
- whenToUse: p.whenToUse,
3006
- readOnly: p.readOnly,
3007
- tools: p.tools,
3008
- maxRounds: p.maxRounds
3009
- }))
3010
- }
3011
- };
3012
- }
3013
- });
3014
- var profileRead = defineCommand({
3015
- id: "delegate.readProfile",
3016
- title: "Read a subagent profile",
3017
- domain: "delegate",
3018
- effect: "none",
3019
- permission: null,
3020
- params: external_exports.object({ id: external_exports.string().describe('The profile id, e.g. "inspector".') }),
3021
- expose: {
3022
- agent: {
3023
- name: "read_profile",
3024
- description: "Read a subagent profile in full \u2014 its instructions, tool allowlist and round budget \u2014 before you delegate to it."
3025
- }
3026
- },
3027
- run: ({ id }) => {
3028
- const profile = findProfile(id);
3029
- if (!profile) {
3030
- return { summary: `No profile "${id}"`, data: { error: `No subagent profile with id "${id}".`, available: allProfiles().map(profileIndexLine) } };
3031
- }
3032
- return {
3033
- summary: `Read profile: ${profile.name}`,
3034
- data: { id: profile.id, name: profile.name, readOnly: profile.readOnly, tools: profile.tools, maxRounds: profile.maxRounds, instructions: profile.instructions }
3035
- };
3036
- }
3037
- });
3038
- var delegateCommands = [delegateTask, delegateAwait, delegateMessage, delegateStop, delegateList, profileList, profileRead];
3039
- function registerDelegateCommands() {
3040
- registerCommand(...delegateCommands);
3041
- }
3042
-
3043
- // lib/commands/skill.ts
3044
- init_define_POPCRAFT_COMPONENT_IDS();
3045
- var skillList = defineCommand({
3046
- id: "skill.list",
3047
- title: "List skills",
3048
- domain: "skill",
3049
- effect: "none",
3050
- // The skill sheets are the agent's own instructions, not the user's document.
3051
- permission: null,
3052
- params: external_exports.object({}),
3053
- expose: {
3054
- agent: {
3055
- name: "list_skills",
3056
- description: "List the available skills (name, what they are for, and when to use them). The full instructions come from read_skill."
3057
- }
3058
- },
3059
- run: () => {
3060
- const skills = allSkills();
3061
- return {
3062
- summary: `${skills.length} skill${skills.length === 1 ? "" : "s"}`,
3063
- data: { skills: skills.map((s) => ({ id: s.id, name: s.name, description: s.description, whenToUse: s.whenToUse, tools: s.tools })) }
3064
- };
3065
- }
3066
- });
3067
- var skillRead = defineCommand({
3068
- id: "skill.read",
3069
- title: "Read a skill",
3070
- domain: "skill",
3071
- effect: "none",
3072
- permission: null,
3073
- params: external_exports.object({ id: external_exports.string().describe('The skill id, e.g. "fill-content".') }),
3074
- expose: {
3075
- agent: {
3076
- name: "read_skill",
3077
- description: "Read a skill\u2019s full instructions by id. Do this before following a skill; the system prompt only carries the summaries."
3078
- }
3079
- },
3080
- run: ({ id }) => {
3081
- const skill = findSkill(id);
3082
- if (!skill) {
3083
- return {
3084
- summary: `No skill "${id}"`,
3085
- data: { error: `No skill with id "${id}".`, available: allSkills().map(skillIndexLine) }
3086
- };
3087
- }
3088
- return {
3089
- summary: `Read skill: ${skill.name}`,
3090
- data: { id: skill.id, name: skill.name, tools: skill.tools, instructions: skill.instructions }
3091
- };
3092
- }
3093
- });
3094
- var skillCommands = [skillList, skillRead];
3095
- function registerSkillCommands() {
3096
- registerCommand(...skillCommands);
3097
- }
3098
-
3099
- // lib/agent/parts.ts
3100
- init_define_POPCRAFT_COMPONENT_IDS();
3101
- function todoItemsFrom(rows) {
3102
- if (!Array.isArray(rows)) return null;
3103
- return rows.map((row) => {
3104
- const t = row ?? {};
3105
- return {
3106
- text: String(t.title ?? t.text ?? ""),
3107
- done: typeof t.done === "boolean" ? t.done : t.status === "done"
3108
- };
3109
- });
3110
- }
3111
- var textOf2 = (m) => m.parts.filter((p) => p.type === "text").map((p) => p.text).join("");
3112
- function pushTextDelta(parts, delta) {
3113
- const last = parts[parts.length - 1];
3114
- if (last?.type === "text") {
3115
- parts[parts.length - 1] = { type: "text", text: last.text + delta };
3116
- return parts;
3117
- }
3118
- return [...parts, { type: "text", text: delta }];
3119
- }
3120
- function pushReasoningDelta(parts, delta) {
3121
- const last = parts[parts.length - 1];
3122
- if (last?.type === "reasoning") {
3123
- parts[parts.length - 1] = { type: "reasoning", text: last.text + delta };
3124
- return parts;
3125
- }
3126
- return [...parts, { type: "reasoning", text: delta }];
3127
- }
3128
- function upsertToolPart(parts, part) {
3129
- const i = parts.findIndex((p) => p.type === "tool" && p.id === part.id);
3130
- if (i < 0) return [...parts, part];
3131
- const next = [...parts];
3132
- next[i] = { ...next[i], ...part };
3133
- return next;
3134
- }
3135
-
3136
- // lib/agent/runner.ts
3137
- var ALWAYS_ALLOWED = ["list_skills", "read_skill", "manage_todos", "notify", "get_selection", "task", "await_job", "send_message", "stop_agent", "list_agents", "list_profiles", "read_profile", "ask_user"];
3138
- var MAX_HISTORY_MESSAGES = 24;
3139
- var MAX_PARALLEL_TOOLS = 4;
3140
- var MAX_TOOL_RESULT_CHARS = 48e3;
3141
- var TURN_MAX_ROUNDS = 500;
3142
- function needsEditableSession(name) {
3143
- const tool = getTool(name);
3144
- if (tool?.readOnly) return false;
3145
- if (tool?.interactive) return false;
3146
- return true;
3147
- }
3148
- function guardEdit(name) {
3149
- if (!needsEditableSession(name)) return;
3150
- const reason = editBlockReason();
3151
- if (reason) throw new ToolError(`${name} cannot run: ${reason}`);
3152
- }
3153
- function historyMessages() {
3154
- return activeMessages().slice(-MAX_HISTORY_MESSAGES).map((m) => ({ role: m.role, content: textOf2(m).trim() })).filter((m) => !!m.content);
3155
- }
3156
- function systemMessage(skillId, mentions = []) {
3157
- const st = useEditorStore.getState();
3158
- return {
3159
- role: "system",
3160
- content: buildSystemPrompt({
3161
- doc: st.document,
3162
- pageId: st.currentPageId,
3163
- selection: st.selection,
3164
- camera: st.camera,
3165
- viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
3166
- activeSkillId: skillId,
3167
- readOnly: !!editBlockReason(),
3168
- mentions
3169
- })
3170
- };
3171
- }
3172
- var registerTurnTools = (deps) => {
3173
- registerBuiltinTools();
3174
- registerSkillCommands();
3175
- registerDelegateCommands();
3176
- registerDangerousCommands();
3177
- provideAgentCapability("delegate", subagentDelegate(deps));
3178
- };
3179
- var specsFor = (skillId) => {
3180
- const skill = skillId ? findSkill(skillId) : void 0;
3181
- return skill?.tools.length ? toolSpecs([.../* @__PURE__ */ new Set([...skill.tools, ...ALWAYS_ALLOWED])]) : toolSpecs();
3182
- };
3183
- var loopTools = (skillId) => specsFor(skillId).map((spec) => ({ spec, readOnly: getTool(spec.function.name)?.readOnly === true }));
3184
- function syncTodos(run) {
3185
- if (run.name !== "manage_todos" || !run.ok) return;
3186
- try {
3187
- const data = JSON.parse(run.content);
3188
- const items = todoItemsFrom(data.todos);
3189
- if (items) setTodos(items);
3190
- } catch {
3191
- }
3192
- }
3193
- var runs;
3194
- var agentRuns = () => runs ??= serialRuns(runStore(indexedDbStore(AGENT_SESSIONS_DB), "editor"));
3195
- var setAgentRuns = (store) => {
3196
- runs = store && serialRuns(store);
3197
- };
3198
- var RESUME_WINDOW_MS = 30 * 6e4;
3199
- var MAX_INTERRUPTIONS = 6;
3200
- var SUSPEND_RESTART_MS = 5e3;
3201
- var STOPPED_MESSAGE = "Stopped. Any edits already applied are still there.";
3202
- async function runTurn(text, mentions = []) {
3203
- const availability = aiAvailability();
3204
- if (!availability.ok) {
3205
- useAgentStore.setState({ error: { message: availability.message, code: availability.reason } });
3206
- return;
3207
- }
3208
- if (!agentModel()) {
3209
- useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3210
- return;
3211
- }
3212
- const skillId = mentions.find((m) => m.kind === "skill")?.id ?? useAgentStore.getState().skillId;
3213
- const checkpoint = rememberCheckpoint(useEditorStore.getState().document);
3214
- const user = { id: newId(), role: "user", parts: [{ type: "text", text }], createdAt: Date.now() };
3215
- appendMessage(user);
3216
- const assistantId = newId();
3217
- appendMessage({ id: assistantId, role: "assistant", parts: [], createdAt: Date.now(), checkpoint });
3218
- const s = useAgentStore.getState();
3219
- const meta = {
3220
- documentId: s.documentId ?? useEditorStore.getState().document.id,
3221
- threadId: s.activeThreadId ?? "",
3222
- assistantId,
3223
- skillId,
3224
- mentions,
3225
- wantsChange: wantsChange(text)
3226
- };
3227
- await drive(meta, { messages: [systemMessage(skillId, mentions), ...historyMessages()], checkpoint });
3228
- }
3229
- async function resumeInterrupted(documentId) {
3230
- if (useAgentStore.getState().running) return false;
3231
- const store = agentRuns();
3232
- let list;
3233
- try {
3234
- list = await interruptedRuns(store);
3235
- } catch {
3236
- return false;
3237
- }
3238
- const mine = list.filter((r) => r.meta?.documentId === documentId).sort((a, b) => b.updatedAt - a.updatedAt);
3239
- const [latest, ...rest] = mine;
3240
- for (const r of rest) await store.save({ ...r, status: "stopped", updatedAt: Date.now() });
3241
- if (!latest) return false;
3242
- if (Date.now() - latest.updatedAt > RESUME_WINDOW_MS || !findMessage(latest.meta)) {
3243
- await store.save({ ...latest, status: "stopped", updatedAt: Date.now() });
3244
- return false;
3245
- }
3246
- if (useAgentStore.getState().running) return false;
3247
- await drive(latest.meta, { resume: latest });
3248
- return true;
3249
- }
3250
- async function continueTurn() {
3251
- const s = useAgentStore.getState();
3252
- if (s.running) return false;
3253
- const messages = activeMessages();
3254
- const last = [...messages].reverse().find((m) => m.role === "assistant");
3255
- if (!last) return false;
3256
- const record = await agentRuns().get(last.id).catch(() => null);
3257
- if (record?.meta && record.meta.threadId === s.activeThreadId) {
3258
- await drive(record.meta, { resume: { ...record, status: "running" } });
3259
- return true;
3260
- }
3261
- const ask = [...messages].reverse().find((m) => m.role === "user");
3262
- if (!ask) return false;
3263
- await runTurn(textOf2(ask));
3264
- return true;
3265
- }
3266
- function findMessage(meta) {
3267
- if (!meta) return void 0;
3268
- return useAgentStore.getState().threads.find((t) => t.id === meta.threadId)?.messages.find((m) => m.id === meta.assistantId);
3269
- }
3270
- function installPageHandlers() {
3271
- if (typeof window === "undefined") return () => {
3272
- };
3273
- const save = () => persistThreads();
3274
- const onVisibility = () => {
3275
- if (document.visibilityState === "hidden") save();
3276
- };
3277
- window.addEventListener("pagehide", save);
3278
- document.addEventListener("visibilitychange", onVisibility);
3279
- return () => {
3280
- window.removeEventListener("pagehide", save);
3281
- document.removeEventListener("visibilitychange", onVisibility);
3282
- };
3283
- }
3284
- function resilientModel(model, turn, parts) {
3285
- return async (messages, specs, hooks, _signal, request) => {
3286
- await whenResumable(void 0, turn);
3287
- const call = new AbortController();
3288
- const onTurnAbort = () => call.abort();
3289
- turn.addEventListener("abort", onTurnAbort);
3290
- let hiddenAt = 0;
3291
- const onVisibility = () => {
3292
- if (document.visibilityState === "hidden") hiddenAt = Date.now();
3293
- else if (hiddenAt && Date.now() - hiddenAt > SUSPEND_RESTART_MS) call.abort();
3294
- };
3295
- if (typeof document !== "undefined") document.addEventListener("visibilitychange", onVisibility);
3296
- const base = parts.get();
3297
- try {
3298
- const cut = new Promise((_, reject) => call.signal.addEventListener("abort", () => reject(new Error("aborted")), { once: true }));
3299
- cut.catch(() => {
3300
- });
3301
- return await Promise.race([model(messages, specs, hooks, call.signal, request), cut]);
3302
- } catch (err) {
3303
- parts.set(base);
3304
- if (call.signal.aborted && !turn.aborted) throw { message: "The stream was interrupted.", code: "interrupted" };
3305
- throw err;
3306
- } finally {
3307
- turn.removeEventListener("abort", onTurnAbort);
3308
- if (typeof document !== "undefined") document.removeEventListener("visibilitychange", onVisibility);
3309
- }
3310
- };
3311
- }
3312
- function lastUserText(messages) {
3313
- const m = [...messages].reverse().find((x) => x.role === "user");
3314
- return typeof m?.content === "string" ? m.content : m ? JSON.stringify(m.content) : "";
3315
- }
3316
- function withGuidance(messages, guidance) {
3317
- const i = messages.findIndex((m) => m.role === "system");
3318
- if (i < 0) return [{ role: "system", content: guidance }, ...messages];
3319
- const sys = messages[i];
3320
- return messages.map((m, j) => j === i ? { ...sys, content: `${typeof sys.content === "string" ? sys.content : ""}
3321
-
3322
- ${guidance}` } : m);
3323
- }
3324
- async function drive(meta, initial) {
3325
- let start = initial;
3326
- const model = agentModel();
3327
- if (!model) {
3328
- useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3329
- return;
3330
- }
3331
- const store = agentRuns();
3332
- const id = meta.assistantId;
3333
- const before = useEditorStore.getState().document;
3334
- if (useAgentStore.getState().activeThreadId !== meta.threadId) useAgentStore.setState({ activeThreadId: meta.threadId });
3335
- let checkpoint = "checkpoint" in start ? start.checkpoint : findMessage(meta)?.checkpoint;
3336
- if (!checkpoint) {
3337
- checkpoint = rememberCheckpoint(before);
3338
- updateMessage(id, (m) => ({ ...m, checkpoint }), { save: false });
3339
- }
3340
- const ledger = createToolLedger(meta.ledger);
3341
- let parts = [...findMessage(meta)?.parts ?? []].filter((p) => !(p.type === "error" && p.message === STOPPED_MESSAGE));
3342
- const flush = (save = false) => setParts(id, parts, { save });
3343
- if ("resume" in start) {
3344
- parts = parts.map((p) => {
3345
- if (p.type !== "tool" || p.status !== "running") return p;
3346
- const done = ledger.get(p.id);
3347
- return done ? { ...p, status: done.ok ? "done" : "error", summary: done.summary, result: done.content } : { ...p, status: "error", summary: "interrupted", error: "interrupted" };
3348
- });
3349
- parts = [...parts, { type: "notice", kind: "resumed" }];
3350
- flush(true);
3351
- }
3352
- const abort = new AbortController();
3353
- useAgentStore.setState({ running: true, resuming: false, abort, error: null });
3354
- const ctx = editorToolContext(abort.signal);
3355
- const { createDesignPreview, DESIGN_TOOL } = await import("./live-XKXVFEKG.js");
3356
- const preview = createDesignPreview();
3357
- const readOnly = !!editBlockReason();
3358
- registerTurnTools({ readOnly, signal: abort.signal });
3359
- const runtime = agentRuntime();
3360
- const fresh = "messages" in start ? start : null;
3361
- const resumed = !fresh;
3362
- const pool = orchestrationSkills();
3363
- const orch = await orchestrateTurn({
3364
- callModel: agentModel2(() => model),
3365
- task: fresh ? lastUserText(fresh.messages) : "",
3366
- mode: resumed && !meta.orchestrationSkill ? "off" : void 0,
3367
- skills: resumed ? pool.filter((s) => s.name === meta.orchestrationSkill) : pool
3368
- }).catch(() => null);
3369
- meta.orchestrationSkill = orch?.skill?.name ?? null;
3370
- if (fresh && orch?.guidance) start = { ...fresh, messages: withGuidance(fresh.messages, orch.guidance) };
3371
- const tools = loopTools(meta.skillId);
3372
- const canWrite = !readOnly && meta.wantsChange;
3373
- const writeTool = tools.some((t) => t.spec.function.name === DESIGN_TOOL) ? DESIGN_TOOL : null;
3374
- const guard = createActionGuard({ enabled: canWrite, writeTool, initial: meta.guard });
3375
- let pending = null;
3376
- let saving = Promise.resolve();
3377
- const saveMeta = () => {
3378
- meta.guard = guard.state();
3379
- meta.ledger = ledger.entries();
3380
- meta.pending = pending;
3381
- const rec = store.peek(id);
3382
- if (rec) saving = store.save({ ...rec, meta: { ...meta }, updatedAt: Date.now() }).catch(() => {
3383
- });
3384
- return saving;
3385
- };
3386
- const offPage = installPageHandlers();
3387
- let interruptions = 0;
3388
- let resumeFrom = "resume" in start ? start.resume : null;
3389
- try {
3390
- while (true) {
3391
- const options = {
3392
- tools,
3393
- meta,
3394
- stopped: () => abort.signal.aborted,
3395
- drainNotifications: () => {
3396
- const notes = guard.drain();
3397
- if (notes.length) {
3398
- parts = [...parts, { type: "notice", kind: "read-budget" }];
3399
- flush();
3400
- }
3401
- return [...notes, ...runtime.drainParentNotifications()];
3402
- },
3403
- maxParallel: MAX_PARALLEL_TOOLS,
3404
- // The loop's default cut every result at 8000 characters AFTER the tool had honoured its own limit, so
3405
- // export_svg with maxChars 40000 still came back without its last paths and the model could not
3406
- // rebuild the artwork. Tools bound their own output; this is only the backstop.
3407
- maxResultChars: MAX_TOOL_RESULT_CHARS,
3408
- maxRounds: TURN_MAX_ROUNDS,
3409
- modelRetries: 3,
3410
- isRecoverable: (err) => !abort.signal.aborted && isInterruption(err),
3411
- requireAction: canWrite ? { nudges: ACTION_NUDGES, message: ACTION_NUDGE } : false,
3412
- toolChoice: () => guard.toolChoice(),
3413
- advise: orch?.advise ?? void 0,
3414
- route: orch?.route ?? void 0,
3415
- callModel: resilientModel(orch?.skill ? orch.callModel : agentModel2(() => model), abort.signal, { get: () => parts, set: (p) => {
3416
- parts = p;
3417
- flush();
3418
- } }),
3419
- checkpoint: async () => {
3420
- pending = null;
3421
- ledger.clear();
3422
- await saveMeta();
3423
- },
3424
- execTool: (call) => runOnce(ledger, call, async () => {
3425
- const row = { type: "tool", id: call.id, name: call.name, argsText: call.argsText, status: "running" };
3426
- parts = upsertToolPart(parts, row);
3427
- flush();
3428
- const docBefore = useEditorStore.getState().document;
3429
- try {
3430
- if (call.name === DESIGN_TOOL) preview.end();
3431
- guardEdit(call.name);
3432
- const result = await runTool(call.name, call.argsText, { ...ctx, toolCallId: call.id });
3433
- const content = JSON.stringify(result.data ?? { ok: true, summary: result.summary });
3434
- parts = upsertToolPart(parts, { ...row, status: "done", summary: result.summary, result: content });
3435
- for (const url of result.images ?? []) parts = [...parts, { type: "image", url, caption: call.name }];
3436
- const acted = useEditorStore.getState().document !== docBefore;
3437
- return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: result.summary, content, images: result.images, acted };
3438
- } catch (err) {
3439
- const message = err.message ?? String(err);
3440
- parts = upsertToolPart(parts, { ...row, status: "error", summary: message, error: message });
3441
- return { id: call.id, name: call.name, argsText: call.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }), acted: false };
3442
- } finally {
3443
- flush(true);
3444
- }
3445
- }).then((run) => {
3446
- void saveMeta();
3447
- return run;
3448
- }),
3449
- hooks: {
3450
- onAssistantStart: () => {
3451
- pending = { text: "", calls: [] };
3452
- },
3453
- onTextDelta: (d) => {
3454
- parts = pushTextDelta([...parts], d);
3455
- if (pending) pending.text += d;
3456
- flush();
3457
- },
3458
- onReasoningDelta: (d) => {
3459
- parts = pushReasoningDelta([...parts], d);
3460
- flush();
3461
- },
3462
- onToolProgress: (p) => preview.update(p.name, p.arguments),
3463
- onToolStart: (call) => {
3464
- pending?.calls.push({ id: call.id, name: call.name, argsText: call.argsText });
3465
- void saveMeta();
3466
- },
3467
- onToolEnd: (run) => {
3468
- guard.onRun(run, run.acted === true);
3469
- syncTodos(run);
3470
- },
3471
- onRoundEnd: () => guard.onRoundEnd(),
3472
- onNudge: () => {
3473
- const count = guard.onNudge();
3474
- parts = [...parts, { type: "notice", kind: "nudge", count, max: ACTION_NUDGES }];
3475
- flush(true);
3476
- }
3477
- }
3478
- };
3479
- try {
3480
- let outcome;
3481
- if (resumeFrom) {
3482
- const cp = resumeFrom.checkpoint;
3483
- const nudgesLeft = canWrite ? Math.max(0, ACTION_NUDGES - guard.state().nudges) : 0;
3484
- const patched = { ...resumeFrom, status: "running", checkpoint: { ...cp, nudgesLeft, messages: resumeTranscript(cp.messages, meta.pending, meta.ledger) } };
3485
- await store.save(patched);
3486
- pending = null;
3487
- outcome = await resumeRun(id, store, options);
3488
- } else {
3489
- if (!("messages" in start)) throw new Error("nothing to run");
3490
- outcome = await runPersistent({ ...options, id, runs: store, messages: start.messages });
3491
- }
3492
- if (canWrite && !outcome.stopped && !outcome.acted && !guard.acted) parts = [...parts, { type: "notice", kind: "no-change" }];
3493
- break;
3494
- } catch (err) {
3495
- if (abort.signal.aborted) break;
3496
- const hidden = typeof document !== "undefined" && document.visibilityState === "hidden";
3497
- if (isInterruption(err, hidden) && interruptions < MAX_INTERRUPTIONS) {
3498
- interruptions++;
3499
- await saving;
3500
- const rec = await store.get(id);
3501
- if (!rec) throw err;
3502
- await store.save({ ...rec, status: "running", error: void 0, updatedAt: Date.now() });
3503
- useAgentStore.setState({ resuming: true });
3504
- persistThreads();
3505
- await whenResumable(void 0, abort.signal, Math.min(3e4, 1e3 * 2 ** interruptions));
3506
- if (abort.signal.aborted) break;
3507
- useAgentStore.setState({ resuming: false });
3508
- resumeFrom = await store.get(id);
3509
- parts = [...parts, { type: "notice", kind: "resumed" }];
3510
- flush(true);
3511
- continue;
3512
- }
3513
- throw err;
3514
- }
3515
- }
3516
- } catch (err) {
3517
- if (!abort.signal.aborted) {
3518
- const message = err?.message ?? String(err);
3519
- const code = err?.code;
3520
- parts = [...parts, { type: "error", message, code }];
3521
- }
3522
- } finally {
3523
- endOrchestration(orch);
3524
- offPage();
3525
- preview.end();
3526
- if (abort.signal.aborted) {
3527
- runtime.stopAll();
3528
- parts = [...parts, { type: "error", message: STOPPED_MESSAGE }];
3529
- }
3530
- if (useEditorStore.getState().document === before) updateMessage(id, (m) => ({ ...m, checkpoint: void 0 }), { save: false });
3531
- flush(true);
3532
- updateActiveThread((t) => ({ ...t, checkpoint: { id: checkpoint, label: "Undo these changes" } }));
3533
- useAgentStore.setState({ running: false, resuming: false, abort: null });
3534
- }
3535
- }
3536
- export {
3537
- agentRuns,
3538
- continueTurn,
3539
- editorToolContext,
3540
- needsEditableSession,
3541
- onChildTool,
3542
- resumeInterrupted,
3543
- runTurn,
3544
- setAgentRuns
3545
- };