@popcraft/kit 0.60.0 → 0.60.2

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 (2631) hide show
  1. package/dist/chunks/agent-JRFCFLXV.js +44 -0
  2. package/dist/chunks/build-7PL5PBAO.js +59 -0
  3. package/dist/chunks/builtin-ETH3APHF.js +118 -0
  4. package/dist/chunks/buy-credits-6YMORN2O.js +80 -0
  5. package/dist/chunks/check-template-C7YXRA7H.js +2429 -0
  6. package/dist/chunks/chunk-22TBVTWN.js +135 -0
  7. package/dist/chunks/chunk-22WPD6IB.js +183 -0
  8. package/dist/chunks/chunk-26BYUJH6.js +23 -0
  9. package/dist/chunks/chunk-27GFYE6E.js +155 -0
  10. package/dist/chunks/chunk-27HOQNCT.js +224 -0
  11. package/dist/chunks/chunk-27OJO6I7.js +228 -0
  12. package/dist/chunks/chunk-2B53WI3D.js +283 -0
  13. package/dist/chunks/chunk-2BN2AVPG.js +140 -0
  14. package/dist/chunks/chunk-2CDYVBVW.js +204 -0
  15. package/dist/chunks/chunk-2CMWWTMW.js +33 -0
  16. package/dist/chunks/chunk-2CNN2RBB.js +173 -0
  17. package/dist/chunks/chunk-2DUBQQTH.js +320 -0
  18. package/dist/chunks/chunk-2E47CYYH.js +181 -0
  19. package/dist/chunks/chunk-2EMVIKGA.js +274 -0
  20. package/dist/chunks/chunk-2FSLW6CH.js +50 -0
  21. package/dist/chunks/chunk-2FYV6GXE.js +23 -0
  22. package/dist/chunks/chunk-2GN7LJKB.js +55 -0
  23. package/dist/chunks/chunk-2IQODF3Q.js +626 -0
  24. package/dist/chunks/chunk-2J4KFGUL.js +1307 -0
  25. package/dist/chunks/chunk-2KBF5QHC.js +47 -0
  26. package/dist/chunks/chunk-2LH445HM.js +127 -0
  27. package/dist/chunks/chunk-2LSS6WCC.js +163 -0
  28. package/dist/chunks/chunk-2M7PCDLY.js +55 -0
  29. package/dist/chunks/chunk-2P33R3DM.js +36 -0
  30. package/dist/chunks/chunk-2QSYLUSY.js +230 -0
  31. package/dist/chunks/chunk-2TUO72ET.js +156 -0
  32. package/dist/chunks/chunk-2XSXHST4.js +146 -0
  33. package/dist/chunks/chunk-2YDR7MFF.js +33 -0
  34. package/dist/chunks/chunk-2YHDU62G.js +77 -0
  35. package/dist/chunks/chunk-32PFW63B.js +192 -0
  36. package/dist/chunks/chunk-33OEFBIN.js +23 -0
  37. package/dist/chunks/chunk-34EGM2IC.js +33 -0
  38. package/dist/chunks/chunk-34LEQZAR.js +97 -0
  39. package/dist/chunks/chunk-34QCZLZI.js +69 -0
  40. package/dist/chunks/chunk-36N2JI2E.js +23 -0
  41. package/dist/chunks/chunk-3743HK5T.js +147 -0
  42. package/dist/chunks/chunk-37D7LQEC.js +84 -0
  43. package/dist/chunks/chunk-3AZXH7L4.js +298 -0
  44. package/dist/chunks/chunk-3B6KXBE3.js +133 -0
  45. package/dist/chunks/chunk-3BCFXAI6.js +108 -0
  46. package/dist/chunks/chunk-3DUYPBD5.js +157 -0
  47. package/dist/chunks/chunk-3FSM5MXC.js +164 -0
  48. package/dist/chunks/chunk-3G2CSKEP.js +255 -0
  49. package/dist/chunks/chunk-3GLQGKJ2.js +122 -0
  50. package/dist/chunks/chunk-3HHPTDSF.js +23 -0
  51. package/dist/chunks/chunk-3ILBSFIX.js +214 -0
  52. package/dist/chunks/chunk-3JVYAZHM.js +338 -0
  53. package/dist/chunks/chunk-3L7OHGKS.js +102 -0
  54. package/dist/chunks/chunk-3LD3P7AV.js +93 -0
  55. package/dist/chunks/chunk-3LN4X6PE.js +361 -0
  56. package/dist/chunks/chunk-3MKVAMM3.js +33 -0
  57. package/dist/chunks/chunk-3MX3LIJD.js +196 -0
  58. package/dist/chunks/chunk-3MXLRR2X.js +106 -0
  59. package/dist/chunks/chunk-3NVB4SIY.js +154 -0
  60. package/dist/chunks/chunk-3OAH33GS.js +1403 -0
  61. package/dist/chunks/chunk-3S6CJN6C.js +86 -0
  62. package/dist/chunks/chunk-3SRKAIOH.js +144 -0
  63. package/dist/chunks/chunk-3TA6GR7K.js +1574 -0
  64. package/dist/chunks/chunk-3TDNMQ4Y.js +87 -0
  65. package/dist/chunks/chunk-3W4756BV.js +23 -0
  66. package/dist/chunks/chunk-3X2FEAVX.js +78 -0
  67. package/dist/chunks/chunk-3YTLMZPS.js +65 -0
  68. package/dist/chunks/chunk-3YXK6MSE.js +559 -0
  69. package/dist/chunks/chunk-42OZYLDN.js +83 -0
  70. package/dist/chunks/chunk-43GPELMK.js +220 -0
  71. package/dist/chunks/chunk-453KQZA4.js +391 -0
  72. package/dist/chunks/chunk-45GQGYQC.js +156 -0
  73. package/dist/chunks/chunk-4766FULI.js +30 -0
  74. package/dist/chunks/chunk-4BRECW2S.js +112 -0
  75. package/dist/chunks/chunk-4CZNZN3M.js +149 -0
  76. package/dist/chunks/chunk-4DAC3OCW.js +200 -0
  77. package/dist/chunks/chunk-4LH6KZVS.js +283 -0
  78. package/dist/chunks/chunk-4MPSB2F3.js +47 -0
  79. package/dist/chunks/chunk-4MX2264V.js +304 -0
  80. package/dist/chunks/chunk-4O5U2HO6.js +173 -0
  81. package/dist/chunks/chunk-4OQY3LMM.js +139 -0
  82. package/dist/chunks/chunk-4Q4PB2YA.js +113 -0
  83. package/dist/chunks/chunk-4RGPH4XY.js +197 -0
  84. package/dist/chunks/chunk-4SIH34JJ.js +110 -0
  85. package/dist/chunks/chunk-4UBQKNLG.js +190 -0
  86. package/dist/chunks/chunk-4VMONIMA.js +102 -0
  87. package/dist/chunks/chunk-4VRSISWP.js +145 -0
  88. package/dist/chunks/chunk-4XW4NJJP.js +141 -0
  89. package/dist/chunks/chunk-52L44HKM.js +23 -0
  90. package/dist/chunks/chunk-537MB3UF.js +33 -0
  91. package/dist/chunks/chunk-53WEIKUO.js +95 -0
  92. package/dist/chunks/chunk-552ZRQ7B.js +105 -0
  93. package/dist/chunks/chunk-55V7OC5Y.js +94 -0
  94. package/dist/chunks/chunk-56E3MMEU.js +167 -0
  95. package/dist/chunks/chunk-56ODCP6I.js +103 -0
  96. package/dist/chunks/chunk-5AL7KESD.js +117 -0
  97. package/dist/chunks/chunk-5AURUCC4.js +80 -0
  98. package/dist/chunks/chunk-5AVRWNMM.js +159 -0
  99. package/dist/chunks/chunk-5CXJI3D4.js +112 -0
  100. package/dist/chunks/chunk-5HYN67MD.js +104 -0
  101. package/dist/chunks/chunk-5J7USA5V.js +107 -0
  102. package/dist/chunks/chunk-5JLQSKN5.js +119 -0
  103. package/dist/chunks/chunk-5JX5QZEC.js +107 -0
  104. package/dist/chunks/chunk-5JZ4IKNG.js +136 -0
  105. package/dist/chunks/chunk-5LAQ7OXE.js +231 -0
  106. package/dist/chunks/chunk-5LGZRXWS.js +167 -0
  107. package/dist/chunks/chunk-5LOKVPCY.js +133 -0
  108. package/dist/chunks/chunk-5MCYWEIO.js +161 -0
  109. package/dist/chunks/chunk-5MTRVBRD.js +81 -0
  110. package/dist/chunks/chunk-5MUVK24D.js +287 -0
  111. package/dist/chunks/chunk-5OCHPWK5.js +122 -0
  112. package/dist/chunks/chunk-5OFTS6BI.js +282 -0
  113. package/dist/chunks/chunk-5QFKRME7.js +237 -0
  114. package/dist/chunks/chunk-5QOPITIM.js +23 -0
  115. package/dist/chunks/chunk-5RETKZCS.js +33 -0
  116. package/dist/chunks/chunk-5UXN3NN4.js +234 -0
  117. package/dist/chunks/chunk-5VLWTI5R.js +282 -0
  118. package/dist/chunks/chunk-5VUXTPOA.js +399 -0
  119. package/dist/chunks/chunk-5WR5LJMV.js +110 -0
  120. package/dist/chunks/chunk-5WUQMQZX.js +106 -0
  121. package/dist/chunks/chunk-62KHMJ5C.js +131 -0
  122. package/dist/chunks/chunk-63H5DQDZ.js +198 -0
  123. package/dist/chunks/chunk-64J2IDFJ.js +109 -0
  124. package/dist/chunks/chunk-64QGCAG5.js +204 -0
  125. package/dist/chunks/chunk-64TSJ24Y.js +103 -0
  126. package/dist/chunks/chunk-65A2T6LI.js +97 -0
  127. package/dist/chunks/chunk-6666UJW2.js +101 -0
  128. package/dist/chunks/chunk-67CUTFV7.js +195 -0
  129. package/dist/chunks/chunk-6ABE4QUY.js +255 -0
  130. package/dist/chunks/chunk-6EGBUGOM.js +23 -0
  131. package/dist/chunks/chunk-6ELXNBLU.js +115 -0
  132. package/dist/chunks/chunk-6ETN2OF6.js +94 -0
  133. package/dist/chunks/chunk-6F75OPOF.js +77 -0
  134. package/dist/chunks/chunk-6GZ62XMP.js +331 -0
  135. package/dist/chunks/chunk-6HZNFVPZ.js +160 -0
  136. package/dist/chunks/chunk-6KTIEYIH.js +198 -0
  137. package/dist/chunks/chunk-6MI2P3S6.js +100 -0
  138. package/dist/chunks/chunk-6MUNVX6J.js +23 -0
  139. package/dist/chunks/chunk-6RI4SG5X.js +61 -0
  140. package/dist/chunks/chunk-6SZCKWX4.js +147 -0
  141. package/dist/chunks/chunk-6X3ZWOUM.js +315 -0
  142. package/dist/chunks/chunk-6XFTC2K2.js +224 -0
  143. package/dist/chunks/chunk-6XH274IA.js +60 -0
  144. package/dist/chunks/chunk-6XR5EBI6.js +898 -0
  145. package/dist/chunks/chunk-72HWK36S.js +178 -0
  146. package/dist/chunks/chunk-73H4SUR4.js +248 -0
  147. package/dist/chunks/chunk-74JGLJBM.js +163 -0
  148. package/dist/chunks/chunk-76H47MGZ.js +99 -0
  149. package/dist/chunks/chunk-76NWEIMO.js +70 -0
  150. package/dist/chunks/chunk-76Y36W6L.js +261 -0
  151. package/dist/chunks/chunk-77JTHVBC.js +104 -0
  152. package/dist/chunks/chunk-77O65K7E.js +36 -0
  153. package/dist/chunks/chunk-77VRUGIO.js +366 -0
  154. package/dist/chunks/chunk-7A53UX6O.js +102 -0
  155. package/dist/chunks/chunk-7AC6BDLV.js +173 -0
  156. package/dist/chunks/chunk-7BSBZENN.js +62 -0
  157. package/dist/chunks/chunk-7BYQCY7C.js +42 -0
  158. package/dist/chunks/chunk-7CAASUXZ.js +98 -0
  159. package/dist/chunks/chunk-7KTRKSV6.js +41 -0
  160. package/dist/chunks/chunk-7KZ5K4YE.js +270 -0
  161. package/dist/chunks/chunk-7LHCCM5A.js +141 -0
  162. package/dist/chunks/chunk-7Q4QG76P.js +23 -0
  163. package/dist/chunks/chunk-7SKT6Y6L.js +23 -0
  164. package/dist/chunks/chunk-7SQWHBHA.js +169 -0
  165. package/dist/chunks/chunk-7V7G5QUR.js +92 -0
  166. package/dist/chunks/chunk-7XVXSJP2.js +95 -0
  167. package/dist/chunks/chunk-7XXUNEHI.js +95 -0
  168. package/dist/chunks/chunk-7YUNMUA7.js +266 -0
  169. package/dist/chunks/chunk-7ZAKIRVS.js +139 -0
  170. package/dist/chunks/chunk-7ZXKQXSC.js +98 -0
  171. package/dist/chunks/chunk-A4BXKEAS.js +138 -0
  172. package/dist/chunks/chunk-A57TSB5Y.js +33 -0
  173. package/dist/chunks/chunk-A5EW2X47.js +81 -0
  174. package/dist/chunks/chunk-A63WSPIO.js +327 -0
  175. package/dist/chunks/chunk-A6ZEODQN.js +63 -0
  176. package/dist/chunks/chunk-A7IQZ6MH.js +80 -0
  177. package/dist/chunks/chunk-ACTDXIF7.js +375 -0
  178. package/dist/chunks/chunk-ACTNKUT3.js +187 -0
  179. package/dist/chunks/chunk-ADSXLLDF.js +97 -0
  180. package/dist/chunks/chunk-AECYZZJG.js +33 -0
  181. package/dist/chunks/chunk-AGBSDT3A.js +84 -0
  182. package/dist/chunks/chunk-AHY3NGMH.js +45 -0
  183. package/dist/chunks/chunk-AIG2M75H.js +117 -0
  184. package/dist/chunks/chunk-AIRLSTBI.js +108 -0
  185. package/dist/chunks/chunk-AIXP7EVX.js +363 -0
  186. package/dist/chunks/chunk-AIZB4KGE.js +151 -0
  187. package/dist/chunks/chunk-AMPHOTDJ.js +78 -0
  188. package/dist/chunks/chunk-AN77YL2M.js +23 -0
  189. package/dist/chunks/chunk-APFIHKZV.js +75 -0
  190. package/dist/chunks/chunk-APYNXRMP.js +108 -0
  191. package/dist/chunks/chunk-AQ5DDHJM.js +1469 -0
  192. package/dist/chunks/chunk-AQ5Z6KZ5.js +307 -0
  193. package/dist/chunks/chunk-AQYISGNB.js +266 -0
  194. package/dist/chunks/chunk-AQZWLR6N.js +330 -0
  195. package/dist/chunks/chunk-AWTQFEYH.js +108 -0
  196. package/dist/chunks/chunk-AXGDFDX4.js +84 -0
  197. package/dist/chunks/chunk-AXUJIXGP.js +180 -0
  198. package/dist/chunks/chunk-AY3NVGQR.js +81 -0
  199. package/dist/chunks/chunk-AYKZUUKR.js +210 -0
  200. package/dist/chunks/chunk-AZPG4U2A.js +53 -0
  201. package/dist/chunks/chunk-B26DJBWE.js +112 -0
  202. package/dist/chunks/chunk-B2CIOXUP.js +218 -0
  203. package/dist/chunks/chunk-B434TE2Q.js +114 -0
  204. package/dist/chunks/chunk-B44HAJ23.js +10278 -0
  205. package/dist/chunks/chunk-B4TSJW7N.js +183 -0
  206. package/dist/chunks/chunk-B4UO3OKE.js +133 -0
  207. package/dist/chunks/chunk-BAB7WHCW.js +77 -0
  208. package/dist/chunks/chunk-BAOSA7FH.js +93 -0
  209. package/dist/chunks/chunk-BAWSAE4R.js +106 -0
  210. package/dist/chunks/chunk-BC4I5EMM.js +33 -0
  211. package/dist/chunks/chunk-BCFSZFWD.js +242 -0
  212. package/dist/chunks/chunk-BEYN3RYF.js +151 -0
  213. package/dist/chunks/chunk-BHU64D6P.js +217 -0
  214. package/dist/chunks/chunk-BKNBJG24.js +151 -0
  215. package/dist/chunks/chunk-BKUMTSWU.js +23 -0
  216. package/dist/chunks/chunk-BMK77CKQ.js +23 -0
  217. package/dist/chunks/chunk-BNDYV4R7.js +232 -0
  218. package/dist/chunks/chunk-BP5UO4B2.js +170 -0
  219. package/dist/chunks/chunk-BRREZSTC.js +100 -0
  220. package/dist/chunks/chunk-BS5M6QO3.js +97 -0
  221. package/dist/chunks/chunk-BSWLDPU4.js +44 -0
  222. package/dist/chunks/chunk-BUFRZSMM.js +969 -0
  223. package/dist/chunks/chunk-BWIMQNPO.js +115 -0
  224. package/dist/chunks/chunk-BWKULQN3.js +36 -0
  225. package/dist/chunks/chunk-BYCAOWHC.js +89 -0
  226. package/dist/chunks/chunk-BYFHKLJ4.js +260 -0
  227. package/dist/chunks/chunk-BYWNVASG.js +87 -0
  228. package/dist/chunks/chunk-BYYVKY6M.js +358 -0
  229. package/dist/chunks/chunk-BZABCI5D.js +215 -0
  230. package/dist/chunks/chunk-BZDEPZSR.js +33 -0
  231. package/dist/chunks/chunk-BZF2NSUM.js +60 -0
  232. package/dist/chunks/chunk-C2BNTNHL.js +100 -0
  233. package/dist/chunks/chunk-C2PWJMCC.js +60 -0
  234. package/dist/chunks/chunk-C3LDBMUP.js +232 -0
  235. package/dist/chunks/chunk-C45N2IOX.js +1393 -0
  236. package/dist/chunks/chunk-CCGODD3J.js +80 -0
  237. package/dist/chunks/chunk-CCNRNA77.js +126 -0
  238. package/dist/chunks/chunk-CDCUBXLT.js +209 -0
  239. package/dist/chunks/chunk-CDYCTKGF.js +189 -0
  240. package/dist/chunks/chunk-CGTXICTL.js +197 -0
  241. package/dist/chunks/chunk-CINKGH5J.js +66 -0
  242. package/dist/chunks/chunk-CJIDKDKG.js +152 -0
  243. package/dist/chunks/chunk-CK6NQ4SY.js +30 -0
  244. package/dist/chunks/chunk-CNWAVCTK.js +244 -0
  245. package/dist/chunks/chunk-CP6VL6OB.js +95 -0
  246. package/dist/chunks/chunk-CSFEZU4E.js +337 -0
  247. package/dist/chunks/chunk-CSPYUWVO.js +301 -0
  248. package/dist/chunks/chunk-CSWJBGT3.js +168 -0
  249. package/dist/chunks/chunk-CUQYPV6L.js +210 -0
  250. package/dist/chunks/chunk-CVGUIH5Q.js +165 -0
  251. package/dist/chunks/chunk-CXXBAIES.js +78 -0
  252. package/dist/chunks/chunk-CYOBTLJQ.js +39 -0
  253. package/dist/chunks/chunk-CYRUJZAV.js +212 -0
  254. package/dist/chunks/chunk-CZRAEN2N.js +146 -0
  255. package/dist/chunks/chunk-D25FWNIS.js +83 -0
  256. package/dist/chunks/chunk-D2I5XHGH.js +100 -0
  257. package/dist/chunks/chunk-D32553PT.js +33 -0
  258. package/dist/chunks/chunk-D4Z4GQVA.js +200 -0
  259. package/dist/chunks/chunk-D74FLITM.js +23 -0
  260. package/dist/chunks/chunk-DA325HMQ.js +122 -0
  261. package/dist/chunks/chunk-DAJCX5CM.js +53 -0
  262. package/dist/chunks/chunk-DBP7MAO4.js +36 -0
  263. package/dist/chunks/chunk-DEQVJBMA.js +192 -0
  264. package/dist/chunks/chunk-DF34Y7J7.js +55 -0
  265. package/dist/chunks/chunk-DFLQPNPH.js +76 -0
  266. package/dist/chunks/chunk-DFPGF7WI.js +277 -0
  267. package/dist/chunks/chunk-DH7PWGE6.js +214 -0
  268. package/dist/chunks/chunk-DHFC7DKD.js +182 -0
  269. package/dist/chunks/chunk-DHYR62CP.js +86 -0
  270. package/dist/chunks/chunk-DJMPPJAC.js +218 -0
  271. package/dist/chunks/chunk-DJZRYDQW.js +103 -0
  272. package/dist/chunks/chunk-DKEPF32U.js +87 -0
  273. package/dist/chunks/chunk-DMVNPQYC.js +53 -0
  274. package/dist/chunks/chunk-DOASOKPX.js +334 -0
  275. package/dist/chunks/chunk-DPPZFSFX.js +111 -0
  276. package/dist/chunks/chunk-DS2WBYV3.js +199 -0
  277. package/dist/chunks/chunk-DSILA3LU.js +152 -0
  278. package/dist/chunks/chunk-DTHJJ5GJ.js +206 -0
  279. package/dist/chunks/chunk-DTKUVNBV.js +101 -0
  280. package/dist/chunks/chunk-DUZXAFAU.js +172 -0
  281. package/dist/chunks/chunk-DV4IODMQ.js +138 -0
  282. package/dist/chunks/chunk-DVAMU4UX.js +187 -0
  283. package/dist/chunks/chunk-DWO4KA7Q.js +128 -0
  284. package/dist/chunks/chunk-DYVK7NGT.js +358 -0
  285. package/dist/chunks/chunk-E2VRD63Y.js +55 -0
  286. package/dist/chunks/chunk-E3IKQBOH.js +276 -0
  287. package/dist/chunks/chunk-E47AZN3W.js +23 -0
  288. package/dist/chunks/chunk-E4VGRFTU.js +106 -0
  289. package/dist/chunks/chunk-E52OTUK4.js +282 -0
  290. package/dist/chunks/chunk-EBJHFJLO.js +150 -0
  291. package/dist/chunks/chunk-EBMGJRXP.js +199 -0
  292. package/dist/chunks/chunk-EBP2SF37.js +84 -0
  293. package/dist/chunks/chunk-EDCKRPGG.js +23 -0
  294. package/dist/chunks/chunk-EEV762XD.js +226 -0
  295. package/dist/chunks/chunk-EHS2FCD5.js +83 -0
  296. package/dist/chunks/chunk-EHYUNGN4.js +97 -0
  297. package/dist/chunks/chunk-EIH7FZMV.js +45 -0
  298. package/dist/chunks/chunk-EJ46HSJM.js +137 -0
  299. package/dist/chunks/chunk-EJGAWYGP.js +97 -0
  300. package/dist/chunks/chunk-EKIX3XHN.js +240 -0
  301. package/dist/chunks/chunk-EKMJQVDA.js +1309 -0
  302. package/dist/chunks/chunk-EN4TGG73.js +89 -0
  303. package/dist/chunks/chunk-EN4YSFP4.js +170 -0
  304. package/dist/chunks/chunk-ESVN6FOH.js +80 -0
  305. package/dist/chunks/chunk-ESZIBCN5.js +78 -0
  306. package/dist/chunks/chunk-ETQYYZS3.js +95 -0
  307. package/dist/chunks/chunk-EUEM6F6C.js +262 -0
  308. package/dist/chunks/chunk-EUFFITRV.js +94 -0
  309. package/dist/chunks/chunk-EUSYZRNE.js +165 -0
  310. package/dist/chunks/chunk-EWQH7NFT.js +73 -0
  311. package/dist/chunks/chunk-EYWUDT35.js +23 -0
  312. package/dist/chunks/chunk-F2YLNOIO.js +111 -0
  313. package/dist/chunks/chunk-F3SE4GSA.js +94 -0
  314. package/dist/chunks/chunk-F45KJ5TH.js +134 -0
  315. package/dist/chunks/chunk-F7TPQJQR.js +265 -0
  316. package/dist/chunks/chunk-FA24QACF.js +198 -0
  317. package/dist/chunks/chunk-FADL7AXA.js +69 -0
  318. package/dist/chunks/chunk-FAPKTCVK.js +104 -0
  319. package/dist/chunks/chunk-FCRHGNZ3.js +172 -0
  320. package/dist/chunks/chunk-FD3ZAYOT.js +171 -0
  321. package/dist/chunks/chunk-FDXWT4F3.js +169 -0
  322. package/dist/chunks/chunk-FEOB45GL.js +71 -0
  323. package/dist/chunks/chunk-FERNONON.js +23 -0
  324. package/dist/chunks/chunk-FHWYPP4H.js +103 -0
  325. package/dist/chunks/chunk-FII32DQG.js +105 -0
  326. package/dist/chunks/chunk-FJRBPC55.js +98 -0
  327. package/dist/chunks/chunk-FLWVADHN.js +215 -0
  328. package/dist/chunks/chunk-FPBVZXVU.js +115 -0
  329. package/dist/chunks/chunk-FS45CE45.js +83 -0
  330. package/dist/chunks/chunk-FSFXNX5Z.js +158 -0
  331. package/dist/chunks/chunk-FSMUEAIR.js +33 -0
  332. package/dist/chunks/chunk-FTUQC672.js +194 -0
  333. package/dist/chunks/chunk-FYMRSWLQ.js +48 -0
  334. package/dist/chunks/chunk-FZGYAY74.js +33 -0
  335. package/dist/chunks/chunk-G3N3VN25.js +107 -0
  336. package/dist/chunks/chunk-G4Q4YN6V.js +93 -0
  337. package/dist/chunks/chunk-G4SCCHLX.js +181 -0
  338. package/dist/chunks/chunk-G4YLCBI7.js +96 -0
  339. package/dist/chunks/chunk-G5S4XOIA.js +94 -0
  340. package/dist/chunks/chunk-G6QMHIPE.js +138 -0
  341. package/dist/chunks/chunk-G7B4BPED.js +168 -0
  342. package/dist/chunks/chunk-G7OC6EXJ.js +206 -0
  343. package/dist/chunks/chunk-GCU4YMXE.js +777 -0
  344. package/dist/chunks/chunk-GCWBEXZP.js +115 -0
  345. package/dist/chunks/chunk-GCWMWCAI.js +130 -0
  346. package/dist/chunks/chunk-GEI5GAD3.js +91 -0
  347. package/dist/chunks/chunk-GEMWQTO3.js +304 -0
  348. package/dist/chunks/chunk-GGJ5KYV2.js +65 -0
  349. package/dist/chunks/chunk-GIKMFFYN.js +101 -0
  350. package/dist/chunks/chunk-GJXLLMJJ.js +163 -0
  351. package/dist/chunks/chunk-GKAY4QF3.js +149 -0
  352. package/dist/chunks/chunk-GKVBRUOG.js +163 -0
  353. package/dist/chunks/chunk-GLUBXPIN.js +119 -0
  354. package/dist/chunks/chunk-GMUCIVIV.js +172 -0
  355. package/dist/chunks/chunk-GNGCVS3N.js +304 -0
  356. package/dist/chunks/chunk-GPHDGTUU.js +109 -0
  357. package/dist/chunks/chunk-GRKMTK4W.js +90 -0
  358. package/dist/chunks/chunk-GT3JKC7D.js +136 -0
  359. package/dist/chunks/chunk-GUS36OEB.js +175 -0
  360. package/dist/chunks/chunk-GVON7IOF.js +104 -0
  361. package/dist/chunks/chunk-GVOXG7YN.js +344 -0
  362. package/dist/chunks/chunk-GW2XT3W7.js +261 -0
  363. package/dist/chunks/chunk-H2S7SFVX.js +270 -0
  364. package/dist/chunks/chunk-H4Q3VZKC.js +33 -0
  365. package/dist/chunks/chunk-H57UJ6M4.js +166 -0
  366. package/dist/chunks/chunk-H77EKJNL.js +195 -0
  367. package/dist/chunks/chunk-HAS4N4YD.js +170 -0
  368. package/dist/chunks/chunk-HCO6ZNT5.js +252 -0
  369. package/dist/chunks/chunk-HDYPDWTB.js +156 -0
  370. package/dist/chunks/chunk-HE66ORTC.js +87 -0
  371. package/dist/chunks/chunk-HEIASY5U.js +103 -0
  372. package/dist/chunks/chunk-HEQMI2VN.js +182 -0
  373. package/dist/chunks/chunk-HF6HYRWJ.js +150 -0
  374. package/dist/chunks/chunk-HFAV756T.js +23 -0
  375. package/dist/chunks/chunk-HFVI32QR.js +738 -0
  376. package/dist/chunks/chunk-HIL3ALH4.js +181 -0
  377. package/dist/chunks/chunk-HJUTSTG6.js +133 -0
  378. package/dist/chunks/chunk-HKEOGGUN.js +118 -0
  379. package/dist/chunks/chunk-HKKHT4D2.js +278 -0
  380. package/dist/chunks/chunk-HM5EKRDK.js +85 -0
  381. package/dist/chunks/chunk-HN3IH4ZH.js +49 -0
  382. package/dist/chunks/chunk-HS4TAP5F.js +127 -0
  383. package/dist/chunks/chunk-HSXQ7NSC.js +163 -0
  384. package/dist/chunks/chunk-HU2MBXEO.js +146 -0
  385. package/dist/chunks/chunk-HUAT3COC.js +45 -0
  386. package/dist/chunks/chunk-HUIGWDPA.js +141 -0
  387. package/dist/chunks/chunk-HVG7N4BO.js +112 -0
  388. package/dist/chunks/chunk-HVLJFPIR.js +36 -0
  389. package/dist/chunks/chunk-HVSKKQ6A.js +512 -0
  390. package/dist/chunks/chunk-HVVJI3OM.js +23 -0
  391. package/dist/chunks/chunk-HXO2JTJX.js +164 -0
  392. package/dist/chunks/chunk-I2VE3V5S.js +158 -0
  393. package/dist/chunks/chunk-I34MB34N.js +97 -0
  394. package/dist/chunks/chunk-I4S64LEM.js +95 -0
  395. package/dist/chunks/chunk-I5C5EN44.js +166 -0
  396. package/dist/chunks/chunk-IAIO4RUC.js +217 -0
  397. package/dist/chunks/chunk-IANV5I7R.js +122 -0
  398. package/dist/chunks/chunk-IDJMRUHI.js +147 -0
  399. package/dist/chunks/chunk-IDMWFVVO.js +52 -0
  400. package/dist/chunks/chunk-IETYCPPO.js +23 -0
  401. package/dist/chunks/chunk-IHWPB5BM.js +360 -0
  402. package/dist/chunks/chunk-IKMJ6MAK.js +23 -0
  403. package/dist/chunks/chunk-IKNABKAZ.js +188 -0
  404. package/dist/chunks/chunk-IQMFJ2M4.js +100 -0
  405. package/dist/chunks/chunk-ISYCX7YP.js +200 -0
  406. package/dist/chunks/chunk-IU2MH52V.js +125 -0
  407. package/dist/chunks/chunk-IVIOASET.js +88 -0
  408. package/dist/chunks/chunk-IW6EPQCW.js +78 -0
  409. package/dist/chunks/chunk-IXA7T2HH.js +215 -0
  410. package/dist/chunks/chunk-IXAMLUQ3.js +145 -0
  411. package/dist/chunks/chunk-IXDYXMVU.js +23 -0
  412. package/dist/chunks/chunk-IY3CGH5V.js +96 -0
  413. package/dist/chunks/chunk-IYFEF6VI.js +382 -0
  414. package/dist/chunks/chunk-IYMLRP7T.js +336 -0
  415. package/dist/chunks/chunk-IZWUADPD.js +45 -0
  416. package/dist/chunks/chunk-J3SOSMZV.js +155 -0
  417. package/dist/chunks/chunk-J5JAMG6Y.js +192 -0
  418. package/dist/chunks/chunk-J6H3HUWA.js +49 -0
  419. package/dist/chunks/chunk-J7CTHTR7.js +163 -0
  420. package/dist/chunks/chunk-JA6ZYACB.js +179 -0
  421. package/dist/chunks/chunk-JCGUI6BT.js +171 -0
  422. package/dist/chunks/chunk-JEGEW7A3.js +258 -0
  423. package/dist/chunks/chunk-JEKZ5RDP.js +303 -0
  424. package/dist/chunks/chunk-JEONDDP6.js +279 -0
  425. package/dist/chunks/chunk-JGXXPFF3.js +33 -0
  426. package/dist/chunks/chunk-JHDI66QU.js +326 -0
  427. package/dist/chunks/chunk-JI3UJEJL.js +145 -0
  428. package/dist/chunks/chunk-JIKYU5ET.js +36 -0
  429. package/dist/chunks/chunk-JKT2WIBW.js +589 -0
  430. package/dist/chunks/chunk-JKWE2SEP.js +142 -0
  431. package/dist/chunks/chunk-JMWMNHEW.js +120 -0
  432. package/dist/chunks/chunk-JN7Z37UN.js +48 -0
  433. package/dist/chunks/chunk-JNB3WN3R.js +120 -0
  434. package/dist/chunks/chunk-JPXNCDN4.js +45 -0
  435. package/dist/chunks/chunk-JPYNEXSN.js +274 -0
  436. package/dist/chunks/chunk-JSTUYATS.js +82 -0
  437. package/dist/chunks/chunk-JUHZNYAQ.js +135 -0
  438. package/dist/chunks/chunk-JXPAPFER.js +30 -0
  439. package/dist/chunks/chunk-JZ2XC3E6.js +120 -0
  440. package/dist/chunks/chunk-K26AEAGJ.js +358 -0
  441. package/dist/chunks/chunk-K26MMOKO.js +105 -0
  442. package/dist/chunks/chunk-K2H2MQJ4.js +105 -0
  443. package/dist/chunks/chunk-K3AUBGXC.js +74 -0
  444. package/dist/chunks/chunk-K3QMZPHK.js +100 -0
  445. package/dist/chunks/chunk-K3ZQFWMF.js +81 -0
  446. package/dist/chunks/chunk-K4IUU3F5.js +187 -0
  447. package/dist/chunks/chunk-K6EUKADC.js +79 -0
  448. package/dist/chunks/chunk-K6POH54K.js +102 -0
  449. package/dist/chunks/chunk-K6PXRWT3.js +256 -0
  450. package/dist/chunks/chunk-K6YHHLVZ.js +242 -0
  451. package/dist/chunks/chunk-K7UOSFWA.js +45 -0
  452. package/dist/chunks/chunk-KBFGFY2Y.js +155 -0
  453. package/dist/chunks/chunk-KCLTRWUI.js +23 -0
  454. package/dist/chunks/chunk-KEY57P2W.js +41 -0
  455. package/dist/chunks/chunk-KF7Y7JYY.js +63 -0
  456. package/dist/chunks/chunk-KFBDHXCP.js +71 -0
  457. package/dist/chunks/chunk-KGQDBEC5.js +43 -0
  458. package/dist/chunks/chunk-KH6522ZQ.js +79 -0
  459. package/dist/chunks/chunk-KHS64ZEA.js +196 -0
  460. package/dist/chunks/chunk-KKQEBJ7E.js +50 -0
  461. package/dist/chunks/chunk-KL5CBQBR.js +109 -0
  462. package/dist/chunks/chunk-KNSTY5FF.js +33 -0
  463. package/dist/chunks/chunk-KPWTKEVP.js +174 -0
  464. package/dist/chunks/chunk-KQ4MSEQB.js +54 -0
  465. package/dist/chunks/chunk-KQBPYG2L.js +77 -0
  466. package/dist/chunks/chunk-KRGLFQIL.js +51 -0
  467. package/dist/chunks/chunk-KRHBS5TK.js +44 -0
  468. package/dist/chunks/chunk-KSGLLHIQ.js +23 -0
  469. package/dist/chunks/chunk-KSJL2OTL.js +165 -0
  470. package/dist/chunks/chunk-KUHNKPVF.js +273 -0
  471. package/dist/chunks/chunk-KV5Z6ITJ.js +82 -0
  472. package/dist/chunks/chunk-KW3UDGHO.js +41 -0
  473. package/dist/chunks/chunk-KWZROWTZ.js +102 -0
  474. package/dist/chunks/chunk-KYCGH3SR.js +97 -0
  475. package/dist/chunks/chunk-L4GISLYR.js +12941 -0
  476. package/dist/chunks/chunk-L6ZU6FFR.js +97 -0
  477. package/dist/chunks/chunk-L7B6LXL7.js +45 -0
  478. package/dist/chunks/chunk-LBLPLMAH.js +85 -0
  479. package/dist/chunks/chunk-LBPKSNGR.js +396 -0
  480. package/dist/chunks/chunk-LD5YV746.js +90 -0
  481. package/dist/chunks/chunk-LDCM3IKV.js +106 -0
  482. package/dist/chunks/chunk-LGGMKUP5.js +150 -0
  483. package/dist/chunks/chunk-LI6Y2QZ7.js +74 -0
  484. package/dist/chunks/chunk-LJDUSXIT.js +70 -0
  485. package/dist/chunks/chunk-LJKSBWTT.js +45 -0
  486. package/dist/chunks/chunk-LK4UKEG4.js +141 -0
  487. package/dist/chunks/chunk-LKMLMUYX.js +33 -0
  488. package/dist/chunks/chunk-LLDJXZV7.js +159 -0
  489. package/dist/chunks/chunk-LNEFT5IK.js +33 -0
  490. package/dist/chunks/chunk-LOZJCKXJ.js +118 -0
  491. package/dist/chunks/chunk-LPOBXGKW.js +172 -0
  492. package/dist/chunks/chunk-LQFK3GKA.js +108 -0
  493. package/dist/chunks/chunk-LQPTHWK4.js +33 -0
  494. package/dist/chunks/chunk-LRZCD62R.js +79 -0
  495. package/dist/chunks/chunk-LSOB7TS3.js +92 -0
  496. package/dist/chunks/chunk-LTNNE6RO.js +49 -0
  497. package/dist/chunks/chunk-LVI4FBOK.js +366 -0
  498. package/dist/chunks/chunk-LZATIQU7.js +95 -0
  499. package/dist/chunks/chunk-LZFM6YZA.js +74 -0
  500. package/dist/chunks/chunk-LZRC3ARA.js +117 -0
  501. package/dist/chunks/chunk-LZX7ZHZZ.js +362 -0
  502. package/dist/chunks/chunk-M2KLBNZ5.js +169 -0
  503. package/dist/chunks/chunk-M4JZMQVH.js +123 -0
  504. package/dist/chunks/chunk-M7GVDO3X.js +198 -0
  505. package/dist/chunks/chunk-M7UGXZUC.js +822 -0
  506. package/dist/chunks/chunk-MBHT5NHR.js +351 -0
  507. package/dist/chunks/chunk-MBRTCEF7.js +185 -0
  508. package/dist/chunks/chunk-MBXTGZA5.js +224 -0
  509. package/dist/chunks/chunk-MC3WH3GI.js +202 -0
  510. package/dist/chunks/chunk-MD3HZG5V.js +305 -0
  511. package/dist/chunks/chunk-MEI6CJVH.js +153 -0
  512. package/dist/chunks/chunk-MGHPASXL.js +307 -0
  513. package/dist/chunks/chunk-MHOZR63T.js +261 -0
  514. package/dist/chunks/chunk-MKES24SK.js +161 -0
  515. package/dist/chunks/chunk-MLZEL7SU.js +207 -0
  516. package/dist/chunks/chunk-MMRHIBMR.js +184 -0
  517. package/dist/chunks/chunk-MOE4ARMM.js +77 -0
  518. package/dist/chunks/chunk-MOPRBGMH.js +122 -0
  519. package/dist/chunks/chunk-MOUJYXZ4.js +324 -0
  520. package/dist/chunks/chunk-MQ37JTTN.js +182 -0
  521. package/dist/chunks/chunk-MR3ATBNE.js +222 -0
  522. package/dist/chunks/chunk-MR4XKXI3.js +95 -0
  523. package/dist/chunks/chunk-MRYMIEW7.js +166 -0
  524. package/dist/chunks/chunk-MSZEYXS6.js +198 -0
  525. package/dist/chunks/chunk-MU7GB7MW.js +277 -0
  526. package/dist/chunks/chunk-MVJIKXMW.js +36 -0
  527. package/dist/chunks/chunk-MVKNA3JE.js +184 -0
  528. package/dist/chunks/chunk-MWRSAESL.js +123 -0
  529. package/dist/chunks/chunk-MYVJXSA4.js +23 -0
  530. package/dist/chunks/chunk-MZEI3UA5.js +152 -0
  531. package/dist/chunks/chunk-N3H3W4JE.js +156 -0
  532. package/dist/chunks/chunk-N6QZPCUY.js +272 -0
  533. package/dist/chunks/chunk-N7URELAV.js +179 -0
  534. package/dist/chunks/chunk-NAN3MRBL.js +91 -0
  535. package/dist/chunks/chunk-NE7FCPVF.js +162 -0
  536. package/dist/chunks/chunk-NEYCCIRG.js +312 -0
  537. package/dist/chunks/chunk-NEZZTMHF.js +23 -0
  538. package/dist/chunks/chunk-NGXVOSSC.js +28 -0
  539. package/dist/chunks/chunk-NIVJ3Q3L.js +257 -0
  540. package/dist/chunks/chunk-NKXADJ5G.js +115 -0
  541. package/dist/chunks/chunk-NL5FL2CX.js +121 -0
  542. package/dist/chunks/chunk-NNXGN2F2.js +155 -0
  543. package/dist/chunks/chunk-NOWXZDZK.js +180 -0
  544. package/dist/chunks/chunk-NPINVQ5L.js +124 -0
  545. package/dist/chunks/chunk-NPTQN2RK.js +111 -0
  546. package/dist/chunks/chunk-NQBVBSY6.js +86 -0
  547. package/dist/chunks/chunk-NRYRDTNK.js +250 -0
  548. package/dist/chunks/chunk-NSL5VMKS.js +728 -0
  549. package/dist/chunks/chunk-NVM4NYKC.js +152 -0
  550. package/dist/chunks/chunk-NWB4KNQQ.js +177 -0
  551. package/dist/chunks/chunk-NWIO6EI5.js +598 -0
  552. package/dist/chunks/chunk-NWX6K5GH.js +153 -0
  553. package/dist/chunks/chunk-NX7IN32S.js +342 -0
  554. package/dist/chunks/chunk-NYSR4VCP.js +209 -0
  555. package/dist/chunks/chunk-O4UXEZ6E.js +131 -0
  556. package/dist/chunks/chunk-O53NGFF7.js +121 -0
  557. package/dist/chunks/chunk-O5CSZJ5D.js +79 -0
  558. package/dist/chunks/chunk-O63NTTKB.js +231 -0
  559. package/dist/chunks/chunk-OC6TA77Z.js +33 -0
  560. package/dist/chunks/chunk-OCIUQJ4Q.js +86 -0
  561. package/dist/chunks/chunk-OCQ5YDUQ.js +33 -0
  562. package/dist/chunks/chunk-OCUD53FX.js +261 -0
  563. package/dist/chunks/chunk-OFIPR34I.js +130 -0
  564. package/dist/chunks/chunk-OFUCUXIP.js +102 -0
  565. package/dist/chunks/chunk-OH6DAUAE.js +23 -0
  566. package/dist/chunks/chunk-OHBSCRXI.js +136 -0
  567. package/dist/chunks/chunk-OHUYUWDP.js +221 -0
  568. package/dist/chunks/chunk-OI73CBUE.js +176 -0
  569. package/dist/chunks/chunk-OJWDIGIO.js +161 -0
  570. package/dist/chunks/chunk-OLXJMUWD.js +320 -0
  571. package/dist/chunks/chunk-OOSD4WUQ.js +177 -0
  572. package/dist/chunks/chunk-OPFPIUKB.js +345 -0
  573. package/dist/chunks/chunk-OQZCHGLT.js +152 -0
  574. package/dist/chunks/chunk-ORSVEPMQ.js +290 -0
  575. package/dist/chunks/chunk-OS7WMGJW.js +368 -0
  576. package/dist/chunks/chunk-OSTU5XFS.js +68 -0
  577. package/dist/chunks/chunk-OT4DRDNM.js +123 -0
  578. package/dist/chunks/chunk-OTBILLT2.js +23 -0
  579. package/dist/chunks/chunk-OTSZ5JUJ.js +191 -0
  580. package/dist/chunks/chunk-OW5BYSKR.js +317 -0
  581. package/dist/chunks/chunk-OZWURFEV.js +110 -0
  582. package/dist/chunks/chunk-P2FE4TWJ.js +178 -0
  583. package/dist/chunks/chunk-P3OU4PK2.js +126 -0
  584. package/dist/chunks/chunk-P3Q3SCN3.js +109 -0
  585. package/dist/chunks/chunk-P4IU7IWQ.js +194 -0
  586. package/dist/chunks/chunk-P5EBD4LE.js +39 -0
  587. package/dist/chunks/chunk-P77LF3JU.js +122 -0
  588. package/dist/chunks/chunk-P7JO7K3O.js +33 -0
  589. package/dist/chunks/chunk-P7XP3RQ2.js +346 -0
  590. package/dist/chunks/chunk-PA7B6ZON.js +90 -0
  591. package/dist/chunks/chunk-PAYGW644.js +55 -0
  592. package/dist/chunks/chunk-PBNBOV74.js +84 -0
  593. package/dist/chunks/chunk-PBOWVCAI.js +139 -0
  594. package/dist/chunks/chunk-PDSRECPH.js +361 -0
  595. package/dist/chunks/chunk-PEJP4QCB.js +119 -0
  596. package/dist/chunks/chunk-PFJHRKQD.js +260 -0
  597. package/dist/chunks/chunk-PFLG74GS.js +112 -0
  598. package/dist/chunks/chunk-PFPGV666.js +130 -0
  599. package/dist/chunks/chunk-PFVR5YKM.js +87 -0
  600. package/dist/chunks/chunk-PHLBZXON.js +497 -0
  601. package/dist/chunks/chunk-PHXEEWIV.js +142 -0
  602. package/dist/chunks/chunk-PINYUB75.js +33 -0
  603. package/dist/chunks/chunk-PL23V7LX.js +93 -0
  604. package/dist/chunks/chunk-PL5PW4HW.js +684 -0
  605. package/dist/chunks/chunk-PME4GKOJ.js +172 -0
  606. package/dist/chunks/chunk-PMTYVSWC.js +88 -0
  607. package/dist/chunks/chunk-PN34DZ7T.js +177 -0
  608. package/dist/chunks/chunk-PNNNJ3LY.js +1136 -0
  609. package/dist/chunks/chunk-POER6XZT.js +157 -0
  610. package/dist/chunks/chunk-PP72KO4W.js +225 -0
  611. package/dist/chunks/chunk-PPFCZGD7.js +91 -0
  612. package/dist/chunks/chunk-PPPM54KR.js +71 -0
  613. package/dist/chunks/chunk-PQEMDRLZ.js +114 -0
  614. package/dist/chunks/chunk-PQQXPSPR.js +225 -0
  615. package/dist/chunks/chunk-PR6DHVH4.js +152 -0
  616. package/dist/chunks/chunk-PS6B3RC4.js +80 -0
  617. package/dist/chunks/chunk-PTLTQ2IY.js +84 -0
  618. package/dist/chunks/chunk-PVDR6OPB.js +209 -0
  619. package/dist/chunks/chunk-PXTUTO6J.js +100 -0
  620. package/dist/chunks/chunk-PZZEYJSA.js +115 -0
  621. package/dist/chunks/chunk-Q25VUYCF.js +23 -0
  622. package/dist/chunks/chunk-Q2PYKWA5.js +250 -0
  623. package/dist/chunks/chunk-Q2XS2LZT.js +88 -0
  624. package/dist/chunks/chunk-Q4GF6PYS.js +135 -0
  625. package/dist/chunks/chunk-Q53UUAHE.js +130 -0
  626. package/dist/chunks/chunk-Q6DR2WC6.js +33 -0
  627. package/dist/chunks/chunk-Q73BAYW4.js +166 -0
  628. package/dist/chunks/chunk-Q7UJRU4Q.js +655 -0
  629. package/dist/chunks/chunk-QAB2JMLU.js +93 -0
  630. package/dist/chunks/chunk-QADFNCDO.js +112 -0
  631. package/dist/chunks/chunk-QEOUFEAO.js +106 -0
  632. package/dist/chunks/chunk-QF55QVFX.js +146 -0
  633. package/dist/chunks/chunk-QIB3JHFH.js +209 -0
  634. package/dist/chunks/chunk-QKSI56YS.js +45 -0
  635. package/dist/chunks/chunk-QN6RDTUP.js +77 -0
  636. package/dist/chunks/chunk-QQPI6JJR.js +38 -0
  637. package/dist/chunks/chunk-QSZAFN74.js +106 -0
  638. package/dist/chunks/chunk-QYAEAT3D.js +152 -0
  639. package/dist/chunks/chunk-R2Z6IIHZ.js +327 -0
  640. package/dist/chunks/chunk-R3G2GYTH.js +135 -0
  641. package/dist/chunks/chunk-R6JLDRS4.js +134 -0
  642. package/dist/chunks/chunk-RBAD6POZ.js +157 -0
  643. package/dist/chunks/chunk-RCEQT2OX.js +97 -0
  644. package/dist/chunks/chunk-RCHMEZH3.js +290 -0
  645. package/dist/chunks/chunk-RDKJORHX.js +170 -0
  646. package/dist/chunks/chunk-REASY2CX.js +174 -0
  647. package/dist/chunks/chunk-RF6FSRGA.js +23 -0
  648. package/dist/chunks/chunk-RGICMBNU.js +262 -0
  649. package/dist/chunks/chunk-RGQXEYQK.js +94 -0
  650. package/dist/chunks/chunk-RHHITHHN.js +305 -0
  651. package/dist/chunks/chunk-RJXQDHEX.js +503 -0
  652. package/dist/chunks/chunk-RJZVS2GS.js +33 -0
  653. package/dist/chunks/chunk-RM7MNGYS.js +311 -0
  654. package/dist/chunks/chunk-RPQYX7UA.js +161 -0
  655. package/dist/chunks/chunk-RR7G46HE.js +115 -0
  656. package/dist/chunks/chunk-RRNXZWEM.js +50 -0
  657. package/dist/chunks/chunk-RSVWKJVQ.js +153 -0
  658. package/dist/chunks/chunk-RVBQYLFO.js +66 -0
  659. package/dist/chunks/chunk-RW2PTR42.js +415 -0
  660. package/dist/chunks/chunk-RXMEFSVS.js +172 -0
  661. package/dist/chunks/chunk-RYLHP2O6.js +302 -0
  662. package/dist/chunks/chunk-S2TXOTEO.js +97 -0
  663. package/dist/chunks/chunk-S3HANOFE.js +137 -0
  664. package/dist/chunks/chunk-S3UAMWB7.js +94 -0
  665. package/dist/chunks/chunk-S4WXZ32A.js +105 -0
  666. package/dist/chunks/chunk-S6YEPSNE.js +220 -0
  667. package/dist/chunks/chunk-S7ZOKV4I.js +287 -0
  668. package/dist/chunks/chunk-SA4XN2YG.js +23 -0
  669. package/dist/chunks/chunk-SAC77FXI.js +117 -0
  670. package/dist/chunks/chunk-SCP4NZGT.js +249 -0
  671. package/dist/chunks/chunk-SDIE5KW5.js +191 -0
  672. package/dist/chunks/chunk-SEPY653M.js +163 -0
  673. package/dist/chunks/chunk-SFAYZ3PM.js +106 -0
  674. package/dist/chunks/chunk-SFK6OIRI.js +140 -0
  675. package/dist/chunks/chunk-SFL7E6GG.js +113 -0
  676. package/dist/chunks/chunk-SGBWTCAC.js +45 -0
  677. package/dist/chunks/chunk-SGYVC3FY.js +45 -0
  678. package/dist/chunks/chunk-SKQLSWOT.js +226 -0
  679. package/dist/chunks/chunk-SKVJGQ7Y.js +57 -0
  680. package/dist/chunks/chunk-SNXRBMMS.js +122 -0
  681. package/dist/chunks/chunk-SO4YGGDT.js +197 -0
  682. package/dist/chunks/chunk-SO5MQD5Q.js +80 -0
  683. package/dist/chunks/chunk-SOVQWL3G.js +127 -0
  684. package/dist/chunks/chunk-SQGL5EJN.js +159 -0
  685. package/dist/chunks/chunk-SSK6J2WG.js +91 -0
  686. package/dist/chunks/chunk-SSNTMFMB.js +33 -0
  687. package/dist/chunks/chunk-SUPUWZHT.js +178 -0
  688. package/dist/chunks/chunk-SUT6DF5L.js +81 -0
  689. package/dist/chunks/chunk-SUVTL6JS.js +206 -0
  690. package/dist/chunks/chunk-SVUO3SMS.js +297 -0
  691. package/dist/chunks/chunk-SWGNCLE6.js +10729 -0
  692. package/dist/chunks/chunk-SXHW4RAT.js +331 -0
  693. package/dist/chunks/chunk-T2DMUTB3.js +140 -0
  694. package/dist/chunks/chunk-T2MKC6L6.js +164 -0
  695. package/dist/chunks/chunk-T3IOW4FK.js +226 -0
  696. package/dist/chunks/chunk-TB6RXDWZ.js +105 -0
  697. package/dist/chunks/chunk-TBAOXUD6.js +213 -0
  698. package/dist/chunks/chunk-TBPH7UK7.js +49 -0
  699. package/dist/chunks/chunk-TEBQN327.js +247 -0
  700. package/dist/chunks/chunk-TJ5HPFFG.js +329 -0
  701. package/dist/chunks/chunk-TKF4VKPA.js +2070 -0
  702. package/dist/chunks/chunk-TLJRHHAH.js +261 -0
  703. package/dist/chunks/chunk-TMNFP7FK.js +135 -0
  704. package/dist/chunks/chunk-TO6RESJH.js +238 -0
  705. package/dist/chunks/chunk-TOYIXXYN.js +76 -0
  706. package/dist/chunks/chunk-TQSOJ5S4.js +149 -0
  707. package/dist/chunks/chunk-TQWGDTSO.js +685 -0
  708. package/dist/chunks/chunk-TSBAAOO3.js +50 -0
  709. package/dist/chunks/chunk-TV62S7HA.js +298 -0
  710. package/dist/chunks/chunk-TVNUL7XK.js +151 -0
  711. package/dist/chunks/chunk-TWNYPMSW.js +179 -0
  712. package/dist/chunks/chunk-TXGWR6JW.js +154 -0
  713. package/dist/chunks/chunk-TZEJPG4N.js +48 -0
  714. package/dist/chunks/chunk-U3J45ODV.js +170 -0
  715. package/dist/chunks/chunk-U6HTYSYX.js +177 -0
  716. package/dist/chunks/chunk-U7VI5BFK.js +201 -0
  717. package/dist/chunks/chunk-UA33OOU7.js +176 -0
  718. package/dist/chunks/chunk-UAUQ53KQ.js +90 -0
  719. package/dist/chunks/chunk-UAVZCBLV.js +77 -0
  720. package/dist/chunks/chunk-UAXVLOBO.js +390 -0
  721. package/dist/chunks/chunk-UBMDQIX2.js +251 -0
  722. package/dist/chunks/chunk-UENHHC76.js +422 -0
  723. package/dist/chunks/chunk-UFSUOTGE.js +165 -0
  724. package/dist/chunks/chunk-UHRSWEC2.js +239 -0
  725. package/dist/chunks/chunk-UHU6OQ2I.js +150 -0
  726. package/dist/chunks/chunk-UI2B4ALQ.js +125 -0
  727. package/dist/chunks/chunk-UJ5TBSSM.js +166 -0
  728. package/dist/chunks/chunk-UJHTU2C4.js +128 -0
  729. package/dist/chunks/chunk-UOMKLRPP.js +92 -0
  730. package/dist/chunks/chunk-UQTHZYXX.js +118 -0
  731. package/dist/chunks/chunk-US4D7VCN.js +118 -0
  732. package/dist/chunks/chunk-UW3ARTYC.js +92 -0
  733. package/dist/chunks/chunk-UWDOMK47.js +77 -0
  734. package/dist/chunks/chunk-UZ5ZTGL7.js +110 -0
  735. package/dist/chunks/chunk-V3TDQD3D.js +95 -0
  736. package/dist/chunks/chunk-V3ZTA2VC.js +89 -0
  737. package/dist/chunks/chunk-V4P2C3TQ.js +180 -0
  738. package/dist/chunks/chunk-V7DGU7W7.js +119 -0
  739. package/dist/chunks/chunk-VANBXZMZ.js +87 -0
  740. package/dist/chunks/chunk-VAZ2PGAC.js +82 -0
  741. package/dist/chunks/chunk-VB2XAEUD.js +112 -0
  742. package/dist/chunks/chunk-VC42JKZG.js +150 -0
  743. package/dist/chunks/chunk-VECKM3WP.js +149 -0
  744. package/dist/chunks/chunk-VFQSL2A5.js +93 -0
  745. package/dist/chunks/chunk-VGA23FLC.js +121 -0
  746. package/dist/chunks/chunk-VH7TBG54.js +41 -0
  747. package/dist/chunks/chunk-VHRCYHKT.js +90 -0
  748. package/dist/chunks/chunk-VKMXXDFI.js +129 -0
  749. package/dist/chunks/chunk-VKNBDXAM.js +149 -0
  750. package/dist/chunks/chunk-VLQF34JB.js +84 -0
  751. package/dist/chunks/chunk-VLTDFCVU.js +45 -0
  752. package/dist/chunks/chunk-VN444COA.js +99 -0
  753. package/dist/chunks/chunk-VO3ILGHV.js +146 -0
  754. package/dist/chunks/chunk-VOCVUSDB.js +78 -0
  755. package/dist/chunks/chunk-VQAYJ7ZX.js +99 -0
  756. package/dist/chunks/chunk-VRISHE7S.js +198 -0
  757. package/dist/chunks/chunk-VRJK5HLU.js +378 -0
  758. package/dist/chunks/chunk-VRPTCUPG.js +101 -0
  759. package/dist/chunks/chunk-VTJ6MIMD.js +221 -0
  760. package/dist/chunks/chunk-VWQPZTA7.js +193 -0
  761. package/dist/chunks/chunk-VZ3XH7FW.js +191 -0
  762. package/dist/chunks/chunk-VZ5BNNZH.js +131 -0
  763. package/dist/chunks/chunk-W2S5MC35.js +174 -0
  764. package/dist/chunks/chunk-W2V5MHC7.js +181 -0
  765. package/dist/chunks/chunk-W3NHDFYW.js +36 -0
  766. package/dist/chunks/chunk-W3OTXJU7.js +54 -0
  767. package/dist/chunks/chunk-W4ISZWGS.js +293 -0
  768. package/dist/chunks/chunk-W6KYYYJC.js +46 -0
  769. package/dist/chunks/chunk-W6MKW33A.js +140 -0
  770. package/dist/chunks/chunk-WBY6VWL6.js +23 -0
  771. package/dist/chunks/chunk-WC52SXBD.js +100 -0
  772. package/dist/chunks/chunk-WCD3RGJ6.js +235 -0
  773. package/dist/chunks/chunk-WD3NJIMG.js +263 -0
  774. package/dist/chunks/chunk-WFL7LL5M.js +160 -0
  775. package/dist/chunks/chunk-WGJ2GIUB.js +147 -0
  776. package/dist/chunks/chunk-WH6ZJGSZ.js +106 -0
  777. package/dist/chunks/chunk-WI2FUDRD.js +111 -0
  778. package/dist/chunks/chunk-WIDAZPDX.js +209 -0
  779. package/dist/chunks/chunk-WITJMU7V.js +104 -0
  780. package/dist/chunks/chunk-WMQ7LW6N.js +73 -0
  781. package/dist/chunks/chunk-WQP54NDM.js +145 -0
  782. package/dist/chunks/chunk-WQP5MB23.js +92 -0
  783. package/dist/chunks/chunk-WRONAL2Q.js +139 -0
  784. package/dist/chunks/chunk-WSGMEP4S.js +98 -0
  785. package/dist/chunks/chunk-WT5O3CUK.js +147 -0
  786. package/dist/chunks/chunk-WU7K5RDM.js +130 -0
  787. package/dist/chunks/chunk-WUPIR2C5.js +160 -0
  788. package/dist/chunks/chunk-WVBS42BQ.js +23 -0
  789. package/dist/chunks/chunk-WYS4NOCM.js +59 -0
  790. package/dist/chunks/chunk-X2LPOB2E.js +23 -0
  791. package/dist/chunks/chunk-X4OSHAMR.js +284 -0
  792. package/dist/chunks/chunk-X6FY5KF6.js +303 -0
  793. package/dist/chunks/chunk-XA4MTSNM.js +52 -0
  794. package/dist/chunks/chunk-XBVUB7WM.js +162 -0
  795. package/dist/chunks/chunk-XCW2W2H6.js +45 -0
  796. package/dist/chunks/chunk-XD3U3FBN.js +208 -0
  797. package/dist/chunks/chunk-XFM7EG6T.js +161 -0
  798. package/dist/chunks/chunk-XFU25KFG.js +150 -0
  799. package/dist/chunks/chunk-XGSGFWOA.js +1336 -0
  800. package/dist/chunks/chunk-XHHXJETM.js +304 -0
  801. package/dist/chunks/chunk-XI75AYM7.js +128 -0
  802. package/dist/chunks/chunk-XID65MGW.js +122 -0
  803. package/dist/chunks/chunk-XJT5I7Q5.js +204 -0
  804. package/dist/chunks/chunk-XNAIDB2J.js +157 -0
  805. package/dist/chunks/chunk-XOYDHW57.js +80 -0
  806. package/dist/chunks/chunk-XP2NX54J.js +71 -0
  807. package/dist/chunks/chunk-XPWHBNKE.js +231 -0
  808. package/dist/chunks/chunk-XRQKZWVI.js +889 -0
  809. package/dist/chunks/chunk-XSWOKRKK.js +33 -0
  810. package/dist/chunks/chunk-XUQOVYGL.js +70 -0
  811. package/dist/chunks/chunk-XUVU6RGW.js +100 -0
  812. package/dist/chunks/chunk-XVGCCOSB.js +147 -0
  813. package/dist/chunks/chunk-XWSIP4UL.js +42 -0
  814. package/dist/chunks/chunk-XXS2OICM.js +169 -0
  815. package/dist/chunks/chunk-XYAOOAFK.js +213 -0
  816. package/dist/chunks/chunk-XYGRZCD3.js +299 -0
  817. package/dist/chunks/chunk-XYJQVIQS.js +33 -0
  818. package/dist/chunks/chunk-XZEC65QN.js +188 -0
  819. package/dist/chunks/chunk-Y2SPXSXX.js +146 -0
  820. package/dist/chunks/chunk-Y2ZKXJU7.js +47 -0
  821. package/dist/chunks/chunk-Y3SQN3HG.js +33 -0
  822. package/dist/chunks/chunk-Y5QMCXZW.js +118 -0
  823. package/dist/chunks/chunk-Y7MTUKWE.js +45 -0
  824. package/dist/chunks/chunk-YA6UN64U.js +33 -0
  825. package/dist/chunks/chunk-YEMSEBGZ.js +175 -0
  826. package/dist/chunks/chunk-YFYNKORZ.js +79 -0
  827. package/dist/chunks/chunk-YG6KUK66.js +83 -0
  828. package/dist/chunks/chunk-YGAKCHYZ.js +163 -0
  829. package/dist/chunks/chunk-YGW342SB.js +85 -0
  830. package/dist/chunks/chunk-YII7JWBC.js +72 -0
  831. package/dist/chunks/chunk-YKSUY6R3.js +143 -0
  832. package/dist/chunks/chunk-YLF6MNX2.js +33 -0
  833. package/dist/chunks/chunk-YNJTWPGD.js +129 -0
  834. package/dist/chunks/chunk-YOUHNX7K.js +124 -0
  835. package/dist/chunks/chunk-YPBUUOEA.js +242 -0
  836. package/dist/chunks/chunk-YRTRUUPD.js +251 -0
  837. package/dist/chunks/chunk-YSGRTE7Q.js +23 -0
  838. package/dist/chunks/chunk-YSQWZ34X.js +23 -0
  839. package/dist/chunks/chunk-YTL2PXPD.js +122 -0
  840. package/dist/chunks/chunk-YU66RM4F.js +23 -0
  841. package/dist/chunks/chunk-YURD5SJ4.js +260 -0
  842. package/dist/chunks/chunk-YV3ZDLZJ.js +75 -0
  843. package/dist/chunks/chunk-YW7I43ZL.js +267 -0
  844. package/dist/chunks/chunk-YXEBTKIV.js +237 -0
  845. package/dist/chunks/chunk-YXPKVJKP.js +123 -0
  846. package/dist/chunks/chunk-YZLKBONZ.js +23 -0
  847. package/dist/chunks/chunk-Z4BNZ357.js +45 -0
  848. package/dist/chunks/chunk-Z74EQ5OF.js +130 -0
  849. package/dist/chunks/chunk-ZAUFHCHR.js +23 -0
  850. package/dist/chunks/chunk-ZBB5P4SC.js +196 -0
  851. package/dist/chunks/chunk-ZCNHWGNB.js +153 -0
  852. package/dist/chunks/chunk-ZCSKRQ3K.js +197 -0
  853. package/dist/chunks/chunk-ZEF44UKP.js +120 -0
  854. package/dist/chunks/chunk-ZEM5H6V5.js +85 -0
  855. package/dist/chunks/chunk-ZIEMZSBD.js +70 -0
  856. package/dist/chunks/chunk-ZJJFSNI2.js +123 -0
  857. package/dist/chunks/chunk-ZNUGZRCH.js +462 -0
  858. package/dist/chunks/chunk-ZUBM5LLJ.js +86 -0
  859. package/dist/chunks/chunk-ZVNYL4RR.js +78 -0
  860. package/dist/chunks/chunk-ZXH5FQDD.js +84 -0
  861. package/dist/chunks/chunk-ZXQTDOZW.js +108 -0
  862. package/dist/chunks/client-4WCENZEF.js +31 -0
  863. package/dist/chunks/client-RU56OBW3.js +168 -0
  864. package/dist/chunks/client-XS7K4T3M.js +47 -0
  865. package/dist/chunks/client-actions-ZKDNHOSP.js +168 -0
  866. package/dist/chunks/dangerous-ZWVJF4T2.js +121 -0
  867. package/dist/chunks/delete-current-file-UGPMMVAK.js +161 -0
  868. package/dist/chunks/editor-seams-6QVJMRCV.js +180 -0
  869. package/dist/chunks/editor-store-UUSPBXFS.js +147 -0
  870. package/dist/chunks/export-watermark-RY2CD55R.js +155 -0
  871. package/dist/chunks/eyedropper-TBY5M4HY.js +354 -0
  872. package/dist/chunks/generate-media-EGPMFNW4.js +255 -0
  873. package/dist/chunks/host-IV3R6D22.js +180 -0
  874. package/dist/chunks/integrations-S6JFCV6C.js +125 -0
  875. package/dist/chunks/kit-modules-IEFPIBKT.js +18 -0
  876. package/dist/chunks/libraries-6RVQKIGO.js +309 -0
  877. package/dist/chunks/live-2AAPOZRV.js +321 -0
  878. package/dist/chunks/media-tool-2VD56TN3.js +236 -0
  879. package/dist/chunks/new-file-CUPS2ZLS.js +139 -0
  880. package/dist/chunks/plugin-MSBORXUT.js +128 -0
  881. package/dist/chunks/plugin-import-4AXE4HIZ.js +688 -0
  882. package/dist/chunks/presence-FYOBINK7.js +136 -0
  883. package/dist/chunks/project-WWVB5VTZ.js +1654 -0
  884. package/dist/chunks/publish-site-OPP762L6.js +165 -0
  885. package/dist/chunks/publish-store-NFAISGJZ.js +95 -0
  886. package/dist/chunks/raster-actions-7XEW3BQ6.js +232 -0
  887. package/dist/chunks/runner-QKTFG3L6.js +3543 -0
  888. package/dist/chunks/store-56KML7VE.js +233 -0
  889. package/dist/chunks/sync-ZK2X5JRE.js +160 -0
  890. package/dist/chunks/tabs-DHEGJZ7D.js +319 -0
  891. package/dist/chunks/team-POYIGLVA.js +47 -0
  892. package/dist/chunks/team-client-FK5ZRP4Q.js +158 -0
  893. package/dist/chunks/tools-YX4OPAKI.js +37 -0
  894. package/dist/chunks/ui-commands-XK4RLLQ5.js +188 -0
  895. package/dist/chunks/versions-ALVKLH7G.js +318 -0
  896. package/dist/index.js +6 -6
  897. package/dist/lib/templates/resize.js +1 -1
  898. package/dist/migrations/brand-media.js +3 -3
  899. package/dist/migrations/index.js +3 -3
  900. package/dist/templates/anime/character.js +4 -4
  901. package/dist/templates/anime/duel.js +7 -7
  902. package/dist/templates/anime/morning.js +7 -7
  903. package/dist/templates/anime/rain.js +7 -7
  904. package/dist/templates/anime/shared.js +5 -5
  905. package/dist/templates/anime/starlight.js +7 -7
  906. package/dist/templates/anime/titan.js +7 -7
  907. package/dist/templates/app/festival-presale-electronic-ticket.js +6 -6
  908. package/dist/templates/app/festival-presale-family-ticket.js +6 -6
  909. package/dist/templates/app/festival-presale-folk-ticket.js +6 -6
  910. package/dist/templates/app/festival-presale-food-ticket.js +6 -6
  911. package/dist/templates/app/festival-presale-jazz-ticket.js +6 -6
  912. package/dist/templates/app/festival-presale-street-ticket.js +6 -6
  913. package/dist/templates/app/music/build.js +3 -3
  914. package/dist/templates/app/music-grove.js +4 -4
  915. package/dist/templates/app/music-nightline.js +4 -4
  916. package/dist/templates/app/music-orbit.js +4 -4
  917. package/dist/templates/app/music-undertow.js +4 -4
  918. package/dist/templates/app/onboarding-carousel.js +3 -3
  919. package/dist/templates/app/saas-store-paywall.js +3 -3
  920. package/dist/templates/app/splash.js +3 -3
  921. package/dist/templates/app/success-confetti.js +3 -3
  922. package/dist/templates/app/tour-tickets-june-ticket.js +3 -3
  923. package/dist/templates/app/tour-tickets-tide-ticket.js +3 -3
  924. package/dist/templates/app/tour-tickets-wreck-ticket.js +3 -3
  925. package/dist/templates/cards/index.js +5 -5
  926. package/dist/templates/cards/shared.js +3 -3
  927. package/dist/templates/cards/themes.js +4 -4
  928. package/dist/templates/data/bars.js +3 -3
  929. package/dist/templates/data/countdown-story.js +3 -3
  930. package/dist/templates/data/counters.js +3 -3
  931. package/dist/templates/data/donut.js +3 -3
  932. package/dist/templates/data/line.js +3 -3
  933. package/dist/templates/data/year-in-review.js +3 -3
  934. package/dist/templates/effects/glass-intro.js +3 -3
  935. package/dist/templates/effects/glass-promo.js +3 -3
  936. package/dist/templates/effects/grain-story.js +3 -3
  937. package/dist/templates/effects/grid-intro.js +3 -3
  938. package/dist/templates/effects/halftone-story.js +3 -3
  939. package/dist/templates/effects/mesh-story.js +3 -3
  940. package/dist/templates/effects/shader-title.js +3 -3
  941. package/dist/templates/email/april-fools-header.js +5 -5
  942. package/dist/templates/email/art-deco-invitation.js +4 -4
  943. package/dist/templates/email/autumn-harvest-header.js +4 -4
  944. package/dist/templates/email/back-to-school-header.js +4 -4
  945. package/dist/templates/email/black-friday-coupons-header.js +4 -4
  946. package/dist/templates/email/black-friday-header.js +4 -4
  947. package/dist/templates/email/black-friday-neon-header.js +4 -4
  948. package/dist/templates/email/black-friday-scratch-header.js +4 -4
  949. package/dist/templates/email/black-friday-ticker-header.js +4 -4
  950. package/dist/templates/email/broadsheet-weekly-edition-header.js +4 -4
  951. package/dist/templates/email/claymation-header.js +4 -4
  952. package/dist/templates/email/countdown-gif.js +4 -4
  953. package/dist/templates/email/cyberpunk-header.js +4 -4
  954. package/dist/templates/email/diwali-header.js +4 -4
  955. package/dist/templates/email/earth-day-header.js +4 -4
  956. package/dist/templates/email/festival-presale-electronic-header.js +6 -6
  957. package/dist/templates/email/festival-presale-family-header.js +6 -6
  958. package/dist/templates/email/festival-presale-folk-header.js +6 -6
  959. package/dist/templates/email/festival-presale-food-header.js +6 -6
  960. package/dist/templates/email/festival-presale-jazz-header.js +6 -6
  961. package/dist/templates/email/festival-presale-street-header.js +6 -6
  962. package/dist/templates/email/gothic-header.js +4 -4
  963. package/dist/templates/email/halloween-header.js +4 -4
  964. package/dist/templates/email/header-launch.js +4 -4
  965. package/dist/templates/email/header-newsletter.js +4 -4
  966. package/dist/templates/email/header-sale.js +4 -4
  967. package/dist/templates/email/lunar-new-year-header.js +4 -4
  968. package/dist/templates/email/manuscript-chronicle-header.js +4 -4
  969. package/dist/templates/email/new-year-header.js +4 -4
  970. package/dist/templates/email/noir-header.js +4 -4
  971. package/dist/templates/email/psychedelic-header.js +4 -4
  972. package/dist/templates/email/riso-zine-changelog-header.js +4 -4
  973. package/dist/templates/email/saas-mail-changelog.js +6 -6
  974. package/dist/templates/email/saas-mail-day-one.js +5 -5
  975. package/dist/templates/email/saas-mail-day-three.js +5 -5
  976. package/dist/templates/email/saas-mail-launch.js +5 -5
  977. package/dist/templates/email/saas-mail-payment-failed.js +5 -5
  978. package/dist/templates/email/saas-mail-sign-in-code.js +5 -5
  979. package/dist/templates/email/saas-mail-trial-ending.js +5 -5
  980. package/dist/templates/email/saas-mail-waitlist.js +5 -5
  981. package/dist/templates/email/shared.js +3 -3
  982. package/dist/templates/email/singles-day-header.js +4 -4
  983. package/dist/templates/email/solarpunk-header.js +4 -4
  984. package/dist/templates/email/space-opera-header.js +4 -4
  985. package/dist/templates/email/spring-bloom-header.js +4 -4
  986. package/dist/templates/email/style-bento-header.js +4 -4
  987. package/dist/templates/email/style-brutalist-header.js +4 -4
  988. package/dist/templates/email/style-dark-header.js +4 -4
  989. package/dist/templates/email/style-data-header.js +4 -4
  990. package/dist/templates/email/style-editorial-header.js +4 -4
  991. package/dist/templates/email/style-glass-header.js +4 -4
  992. package/dist/templates/email/style-gradient-header.js +4 -4
  993. package/dist/templates/email/style-maximal-header.js +4 -4
  994. package/dist/templates/email/style-pastel-header.js +4 -4
  995. package/dist/templates/email/style-sketch-header.js +4 -4
  996. package/dist/templates/email/style-swiss-header.js +4 -4
  997. package/dist/templates/email/style-terminal-header.js +4 -4
  998. package/dist/templates/email/summer-heatwave-header.js +4 -4
  999. package/dist/templates/email/tour-tickets-june-header.js +4 -4
  1000. package/dist/templates/email/tour-tickets-tide-header.js +4 -4
  1001. package/dist/templates/email/tour-tickets-wreck-header.js +4 -4
  1002. package/dist/templates/email/transit-map-service-update.js +4 -4
  1003. package/dist/templates/email/ukiyo-e-greeting-header.js +4 -4
  1004. package/dist/templates/email/valentines-header.js +4 -4
  1005. package/dist/templates/email/winter-cosy-header.js +4 -4
  1006. package/dist/templates/email/winter-holidays-header.js +4 -4
  1007. package/dist/templates/game/blossom-bash-puzzle.js +4 -4
  1008. package/dist/templates/game/deckbound-roguelike.js +4 -4
  1009. package/dist/templates/game/emberfall-rpg.js +4 -4
  1010. package/dist/templates/game/hearthmoor-farm.js +4 -4
  1011. package/dist/templates/game/index.js +17 -17
  1012. package/dist/templates/game/iron-lotus-fighter.js +4 -4
  1013. package/dist/templates/game/ironroot-rts.js +4 -4
  1014. package/dist/templates/game/mossy-hollow-platformer.js +6 -6
  1015. package/dist/templates/game/neon-apex-racing.js +4 -4
  1016. package/dist/templates/game/platformer.js +5 -5
  1017. package/dist/templates/game/pulse-riot-rhythm.js +4 -4
  1018. package/dist/templates/game/shared.js +3 -3
  1019. package/dist/templates/game/sprout-quest-pixel-platformer.js +6 -6
  1020. package/dist/templates/game/vanta-fps.js +4 -4
  1021. package/dist/templates/index.js +834 -834
  1022. package/dist/templates/kinetic/letters.js +3 -3
  1023. package/dist/templates/kinetic/lines.js +3 -3
  1024. package/dist/templates/kinetic/typewriter.js +3 -3
  1025. package/dist/templates/kinetic/word-swap.js +3 -3
  1026. package/dist/templates/kinetic/words.js +3 -3
  1027. package/dist/templates/kit.js +2 -2
  1028. package/dist/templates/libraries/audio-reactive.js +3 -3
  1029. package/dist/templates/libraries/loaders.js +3 -3
  1030. package/dist/templates/libraries/micro-interactions.js +3 -3
  1031. package/dist/templates/libraries/motion-essentials.js +3 -3
  1032. package/dist/templates/libraries/toasts.js +3 -3
  1033. package/dist/templates/lottie/ai.js +4 -4
  1034. package/dist/templates/lottie/climate.js +4 -4
  1035. package/dist/templates/lottie/commerce.js +4 -4
  1036. package/dist/templates/lottie/education.js +4 -4
  1037. package/dist/templates/lottie/fintech.js +4 -4
  1038. package/dist/templates/lottie/food.js +4 -4
  1039. package/dist/templates/lottie/health.js +4 -4
  1040. package/dist/templates/lottie/index.js +28 -28
  1041. package/dist/templates/lottie/lottie-kit.js +3 -3
  1042. package/dist/templates/lottie/realestate.js +4 -4
  1043. package/dist/templates/lottie/saas-ui-checklist.js +5 -5
  1044. package/dist/templates/lottie/saas-ui-dashboard-hero.js +5 -5
  1045. package/dist/templates/lottie/saas-ui-empty-data.js +5 -5
  1046. package/dist/templates/lottie/saas-ui-empty-search.js +5 -5
  1047. package/dist/templates/lottie/saas-ui-error-retry.js +5 -5
  1048. package/dist/templates/lottie/saas-ui-file-upload.js +5 -5
  1049. package/dist/templates/lottie/saas-ui-streaming-answer.js +5 -5
  1050. package/dist/templates/lottie/saas-ui-sync-connected.js +5 -5
  1051. package/dist/templates/lottie/saas-ui-trial-timeline.js +5 -5
  1052. package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +5 -5
  1053. package/dist/templates/lottie/saas-ui.js +15 -15
  1054. package/dist/templates/lottie/saas.js +4 -4
  1055. package/dist/templates/lottie/security.js +4 -4
  1056. package/dist/templates/lottie/techniques.js +4 -4
  1057. package/dist/templates/lottie/travel.js +4 -4
  1058. package/dist/templates/motion/ai-trailer/index.js +3 -3
  1059. package/dist/templates/motion/ambient-loop.js +3 -3
  1060. package/dist/templates/motion/app-icon-sting.js +3 -3
  1061. package/dist/templates/motion/april-fools-infomercial-reel.js +5 -5
  1062. package/dist/templates/motion/arcade-high-score.js +3 -3
  1063. package/dist/templates/motion/art-deco-grand-opening.js +3 -3
  1064. package/dist/templates/motion/autumn-harvest-year-reel.js +3 -3
  1065. package/dist/templates/motion/back-to-school-timetable-reel.js +3 -3
  1066. package/dist/templates/motion/bauhaus-launch-reel.js +3 -3
  1067. package/dist/templates/motion/black-friday-coupons-deal-reel.js +3 -3
  1068. package/dist/templates/motion/black-friday-coupons-last-day.js +3 -3
  1069. package/dist/templates/motion/black-friday-deal-drop.js +3 -3
  1070. package/dist/templates/motion/black-friday-neon-deal-reel.js +3 -3
  1071. package/dist/templates/motion/black-friday-neon-last-day.js +3 -3
  1072. package/dist/templates/motion/black-friday-scratch-countdown.js +3 -3
  1073. package/dist/templates/motion/black-friday-scratch-deal-reel.js +3 -3
  1074. package/dist/templates/motion/black-friday-scratch-last-day.js +3 -3
  1075. package/dist/templates/motion/black-friday-ticker-deal-drop.js +3 -3
  1076. package/dist/templates/motion/black-friday-ticker-last-call.js +3 -3
  1077. package/dist/templates/motion/blueprint-rev-b-reel.js +3 -3
  1078. package/dist/templates/motion/broadsheet-launch-reel.js +3 -3
  1079. package/dist/templates/motion/broadsheet-milestone-post.js +4 -4
  1080. package/dist/templates/motion/claymation-launch-reel.js +3 -3
  1081. package/dist/templates/motion/comic-book-issue-reel.js +3 -3
  1082. package/dist/templates/motion/countdown.js +3 -3
  1083. package/dist/templates/motion/cyberpunk-lock-on-reel.js +3 -3
  1084. package/dist/templates/motion/departure-board-reel.js +3 -3
  1085. package/dist/templates/motion/diwali-lamps-reel.js +3 -3
  1086. package/dist/templates/motion/earth-day-footprint-reel.js +3 -3
  1087. package/dist/templates/motion/earth-day-pledge-post.js +3 -3
  1088. package/dist/templates/motion/festival-presale-electronic-countdown.js +6 -6
  1089. package/dist/templates/motion/festival-presale-electronic-lineup.js +6 -6
  1090. package/dist/templates/motion/festival-presale-electronic-reel.js +6 -6
  1091. package/dist/templates/motion/festival-presale-electronic-tier.js +6 -6
  1092. package/dist/templates/motion/festival-presale-family-countdown.js +6 -6
  1093. package/dist/templates/motion/festival-presale-family-lineup.js +6 -6
  1094. package/dist/templates/motion/festival-presale-family-reel.js +6 -6
  1095. package/dist/templates/motion/festival-presale-family-tier.js +6 -6
  1096. package/dist/templates/motion/festival-presale-folk-countdown.js +6 -6
  1097. package/dist/templates/motion/festival-presale-folk-lineup.js +6 -6
  1098. package/dist/templates/motion/festival-presale-folk-reel.js +6 -6
  1099. package/dist/templates/motion/festival-presale-folk-tier.js +6 -6
  1100. package/dist/templates/motion/festival-presale-food-countdown.js +6 -6
  1101. package/dist/templates/motion/festival-presale-food-lineup.js +6 -6
  1102. package/dist/templates/motion/festival-presale-food-reel.js +6 -6
  1103. package/dist/templates/motion/festival-presale-food-tier.js +6 -6
  1104. package/dist/templates/motion/festival-presale-jazz-countdown.js +6 -6
  1105. package/dist/templates/motion/festival-presale-jazz-lineup.js +6 -6
  1106. package/dist/templates/motion/festival-presale-jazz-reel.js +6 -6
  1107. package/dist/templates/motion/festival-presale-jazz-tier.js +6 -6
  1108. package/dist/templates/motion/festival-presale-street-countdown.js +6 -6
  1109. package/dist/templates/motion/festival-presale-street-lineup.js +6 -6
  1110. package/dist/templates/motion/festival-presale-street-reel.js +6 -6
  1111. package/dist/templates/motion/festival-presale-street-tier.js +6 -6
  1112. package/dist/templates/motion/gothic-launch-reel.js +3 -3
  1113. package/dist/templates/motion/halloween-graveyard-reel.js +3 -3
  1114. package/dist/templates/motion/instagram-promo.js +3 -3
  1115. package/dist/templates/motion/kinetic-headline.js +3 -3
  1116. package/dist/templates/motion/landing-hero/index.js +5 -5
  1117. package/dist/templates/motion/launch-trailer/document.js +834 -834
  1118. package/dist/templates/motion/launch-trailer/index.js +5 -5
  1119. package/dist/templates/motion/launch-trailer/scenes.js +4 -4
  1120. package/dist/templates/motion/logo-reveal.js +3 -3
  1121. package/dist/templates/motion/lower-third.js +3 -3
  1122. package/dist/templates/motion/lunar-new-year-envelope-reel.js +3 -3
  1123. package/dist/templates/motion/machined-trailer.js +5 -5
  1124. package/dist/templates/motion/manuscript-launch-reel.js +3 -3
  1125. package/dist/templates/motion/new-year-ball-drop-reel.js +3 -3
  1126. package/dist/templates/motion/noir-case-reel.js +3 -3
  1127. package/dist/templates/motion/pitch-title.js +3 -3
  1128. package/dist/templates/motion/psychedelic-gig-reel.js +3 -3
  1129. package/dist/templates/motion/riso-zine-launch-reel.js +3 -3
  1130. package/dist/templates/motion/saas-ai-prompt.js +3 -3
  1131. package/dist/templates/motion/saas-before-after.js +3 -3
  1132. package/dist/templates/motion/saas-changelog-drop.js +3 -3
  1133. package/dist/templates/motion/saas-film-webinar-opener.js +3 -3
  1134. package/dist/templates/motion/saas-hook-features.js +3 -3
  1135. package/dist/templates/motion/saas-mrr-milestone.js +3 -3
  1136. package/dist/templates/motion/saas-screen-demo.js +3 -3
  1137. package/dist/templates/motion/saas-store-install-ad.js +4 -4
  1138. package/dist/templates/motion/saas-testimonial.js +3 -3
  1139. package/dist/templates/motion/saas-vs-comparison.js +3 -3
  1140. package/dist/templates/motion/singles-day-flash-post.js +3 -3
  1141. package/dist/templates/motion/singles-day-live-reel.js +3 -3
  1142. package/dist/templates/motion/smooth-loop.js +3 -3
  1143. package/dist/templates/motion/solarpunk-rooftop-reel.js +3 -3
  1144. package/dist/templates/motion/space-opera-countdown-reel.js +3 -3
  1145. package/dist/templates/motion/spring-bloom-first-hundred-post.js +3 -3
  1146. package/dist/templates/motion/spring-bloom-first-shoots-reel.js +3 -3
  1147. package/dist/templates/motion/stat-pop.js +3 -3
  1148. package/dist/templates/motion/style-bento-feature-demo.js +3 -3
  1149. package/dist/templates/motion/style-bento-launch-reel.js +3 -3
  1150. package/dist/templates/motion/style-brutalist-feature-demo.js +3 -3
  1151. package/dist/templates/motion/style-brutalist-launch-reel.js +3 -3
  1152. package/dist/templates/motion/style-dark-feature-demo.js +3 -3
  1153. package/dist/templates/motion/style-dark-launch-reel.js +3 -3
  1154. package/dist/templates/motion/style-data-feature-demo.js +3 -3
  1155. package/dist/templates/motion/style-data-launch-reel.js +3 -3
  1156. package/dist/templates/motion/style-editorial-feature-demo.js +3 -3
  1157. package/dist/templates/motion/style-editorial-launch-reel.js +3 -3
  1158. package/dist/templates/motion/style-glass-feature-demo.js +3 -3
  1159. package/dist/templates/motion/style-glass-launch-reel.js +3 -3
  1160. package/dist/templates/motion/style-gradient-feature-demo.js +3 -3
  1161. package/dist/templates/motion/style-gradient-launch-reel.js +3 -3
  1162. package/dist/templates/motion/style-maximal-beat-cut.js +3 -3
  1163. package/dist/templates/motion/style-maximal-feature-demo.js +3 -3
  1164. package/dist/templates/motion/style-maximal-launch-reel.js +3 -3
  1165. package/dist/templates/motion/style-pastel-feature-demo.js +3 -3
  1166. package/dist/templates/motion/style-pastel-launch-reel.js +3 -3
  1167. package/dist/templates/motion/style-sketch-feature-demo.js +3 -3
  1168. package/dist/templates/motion/style-sketch-launch-reel.js +3 -3
  1169. package/dist/templates/motion/style-swiss-feature-demo.js +3 -3
  1170. package/dist/templates/motion/style-swiss-launch-reel.js +3 -3
  1171. package/dist/templates/motion/style-terminal-feature-demo.js +3 -3
  1172. package/dist/templates/motion/style-terminal-launch-reel.js +3 -3
  1173. package/dist/templates/motion/summer-heatwave-lido-reel.js +3 -3
  1174. package/dist/templates/motion/template-wall.js +3 -3
  1175. package/dist/templates/motion/title-card-3d.js +3 -3
  1176. package/dist/templates/motion/tour-tickets-june-city.js +3 -3
  1177. package/dist/templates/motion/tour-tickets-june-dates.js +3 -3
  1178. package/dist/templates/motion/tour-tickets-june-final.js +3 -3
  1179. package/dist/templates/motion/tour-tickets-june-reel.js +3 -3
  1180. package/dist/templates/motion/tour-tickets-tide-city.js +3 -3
  1181. package/dist/templates/motion/tour-tickets-tide-dates.js +3 -3
  1182. package/dist/templates/motion/tour-tickets-tide-final.js +3 -3
  1183. package/dist/templates/motion/tour-tickets-tide-reel.js +3 -3
  1184. package/dist/templates/motion/tour-tickets-wreck-city.js +3 -3
  1185. package/dist/templates/motion/tour-tickets-wreck-dates.js +3 -3
  1186. package/dist/templates/motion/tour-tickets-wreck-final.js +3 -3
  1187. package/dist/templates/motion/tour-tickets-wreck-reel.js +3 -3
  1188. package/dist/templates/motion/transit-map-line-opening.js +3 -3
  1189. package/dist/templates/motion/transit-map-milestone-post.js +3 -3
  1190. package/dist/templates/motion/ukiyo-e-launch-reel.js +3 -3
  1191. package/dist/templates/motion/valentines-breakup-reel.js +3 -3
  1192. package/dist/templates/motion/vaporwave-launch-reel.js +4 -4
  1193. package/dist/templates/motion/winter-cosy-heads-down-post.js +3 -3
  1194. package/dist/templates/motion/winter-cosy-hibernation-reel.js +3 -3
  1195. package/dist/templates/motion/winter-holidays-advent-reel.js +3 -3
  1196. package/dist/templates/motion-qa.js +3 -3
  1197. package/dist/templates/motion3d/app-store-preview.js +4 -4
  1198. package/dist/templates/motion3d/before-after-swing.js +4 -4
  1199. package/dist/templates/motion3d/burger-reveal.js +4 -4
  1200. package/dist/templates/motion3d/coverflow.js +4 -4
  1201. package/dist/templates/motion3d/exploded-ui.js +4 -4
  1202. package/dist/templates/motion3d/feature-flip.js +4 -4
  1203. package/dist/templates/motion3d/kinetic-reveal.js +4 -4
  1204. package/dist/templates/motion3d/laptop-reveal.js +4 -4
  1205. package/dist/templates/motion3d/logo-extrude.js +4 -4
  1206. package/dist/templates/motion3d/parallax-cascade.js +4 -4
  1207. package/dist/templates/motion3d/phone-orbit.js +4 -4
  1208. package/dist/templates/motion3d/pricing-fan.js +4 -4
  1209. package/dist/templates/motion3d/product-turntable.js +4 -4
  1210. package/dist/templates/motion3d/saas-film-cinematic-trailer.js +5 -5
  1211. package/dist/templates/motion3d/screen-wall.js +4 -4
  1212. package/dist/templates/motion3d/stage.js +3 -3
  1213. package/dist/templates/motion3d/vertical-promo.js +4 -4
  1214. package/dist/templates/music/edm-drop.js +4 -4
  1215. package/dist/templates/music/festival-lineup.js +4 -4
  1216. package/dist/templates/music/hiphop-lyrics.js +4 -4
  1217. package/dist/templates/music/indie-poster.js +4 -4
  1218. package/dist/templates/music/lofi-loop.js +4 -4
  1219. package/dist/templates/music/podcast-audiogram.js +4 -4
  1220. package/dist/templates/music/shared.js +3 -3
  1221. package/dist/templates/music/synthwave-tunnel.js +4 -4
  1222. package/dist/templates/print/comic-hero-cascade.js +3 -3
  1223. package/dist/templates/print/comic-hero-chase.js +3 -3
  1224. package/dist/templates/print/comic-hero-cover-modern.js +3 -3
  1225. package/dist/templates/print/comic-hero-grid-break.js +3 -3
  1226. package/dist/templates/print/comic-hero-interrogation.js +3 -3
  1227. package/dist/templates/print/comic-hero-issue.js +14 -14
  1228. package/dist/templates/print/comic-hero-manga-action.js +3 -3
  1229. package/dist/templates/print/comic-hero-nested.js +3 -3
  1230. package/dist/templates/print/comic-hero-overlap.js +3 -3
  1231. package/dist/templates/print/comic-hero-parallel.js +3 -3
  1232. package/dist/templates/print/comic-hero-pinup.js +3 -3
  1233. package/dist/templates/print/comic-hero-widescreen.js +3 -3
  1234. package/dist/templates/print/comic-modern-action-slant.js +3 -3
  1235. package/dist/templates/print/comic-modern-cover-pulp.js +3 -3
  1236. package/dist/templates/print/comic-modern-flashback.js +3 -3
  1237. package/dist/templates/print/comic-modern-issue.js +12 -12
  1238. package/dist/templates/print/comic-modern-nine-grid.js +3 -3
  1239. package/dist/templates/print/comic-modern-page-classic.js +3 -3
  1240. package/dist/templates/print/comic-modern-polyptych.js +3 -3
  1241. package/dist/templates/print/comic-modern-radial.js +3 -3
  1242. package/dist/templates/print/comic-modern-splash.js +3 -3
  1243. package/dist/templates/print/comic-modern-spread.js +3 -3
  1244. package/dist/templates/print/everyday-save-the-date.js +3 -3
  1245. package/dist/templates/print/everyday-specials-board.js +3 -3
  1246. package/dist/templates/print/holidays-christmas-church-newsletter.js +3 -3
  1247. package/dist/templates/print/holidays-christmas-eve-invitation.js +3 -3
  1248. package/dist/templates/print/holidays-christmas-gift-tags.js +3 -3
  1249. package/dist/templates/print/holidays-diwali-party-invitation.js +3 -3
  1250. package/dist/templates/print/holidays-easter-activity-sheet.js +3 -3
  1251. package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +3 -3
  1252. package/dist/templates/print/holidays-eid-dinner-invitation.js +3 -3
  1253. package/dist/templates/print/holidays-eid-gift-tags.js +3 -3
  1254. package/dist/templates/print/holidays-halloween-party-invitation.js +3 -3
  1255. package/dist/templates/print/holidays-halloween-treat-labels.js +3 -3
  1256. package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +3 -3
  1257. package/dist/templates/print/holidays-hanukkah-activity-sheet.js +3 -3
  1258. package/dist/templates/print/holidays-hanukkah-party-invitation.js +3 -3
  1259. package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +3 -3
  1260. package/dist/templates/print/holidays-new-years-eve-poster.js +3 -3
  1261. package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +3 -3
  1262. package/dist/templates/print/holidays-thanksgiving-place-cards.js +3 -3
  1263. package/dist/templates/print/holidays-valentines-dinner-menu.js +3 -3
  1264. package/dist/templates/print/printshop-booklet-open-day.js +4 -4
  1265. package/dist/templates/print/printshop-brochure-community.js +4 -4
  1266. package/dist/templates/print/printshop-brochure-dental.js +4 -4
  1267. package/dist/templates/print/printshop-brochure-gym.js +4 -4
  1268. package/dist/templates/print/printshop-brochure-landscaping.js +4 -4
  1269. package/dist/templates/print/printshop-brochure-travel.js +5 -5
  1270. package/dist/templates/print/printshop-card-architect.js +4 -4
  1271. package/dist/templates/print/printshop-card-barber.js +4 -4
  1272. package/dist/templates/print/printshop-card-cafe.js +4 -4
  1273. package/dist/templates/print/printshop-card-developer.js +4 -4
  1274. package/dist/templates/print/printshop-card-florist.js +4 -4
  1275. package/dist/templates/print/printshop-card-lawyer.js +4 -4
  1276. package/dist/templates/print/printshop-card-photographer.js +5 -5
  1277. package/dist/templates/print/printshop-card-plumber.js +4 -4
  1278. package/dist/templates/print/printshop-card-realtor.js +4 -4
  1279. package/dist/templates/print/printshop-card-yoga.js +4 -4
  1280. package/dist/templates/print/printshop-flyer-charity-run.js +4 -4
  1281. package/dist/templates/print/printshop-flyer-farmers-market.js +4 -4
  1282. package/dist/templates/print/printshop-flyer-garage-sale.js +4 -4
  1283. package/dist/templates/print/printshop-flyer-grand-opening.js +4 -4
  1284. package/dist/templates/print/printshop-flyer-lost-pet.js +4 -4
  1285. package/dist/templates/print/printshop-flyer-tutoring.js +4 -4
  1286. package/dist/templates/print/printshop-flyer-yard-work.js +4 -4
  1287. package/dist/templates/print/printshop-poster-live-music.js +4 -4
  1288. package/dist/templates/print/studio-class-timetable-poster.js +3 -3
  1289. package/dist/templates/print/studio-portfolio-booklet.js +4 -4
  1290. package/dist/templates/saas/email-decks-shared.js +4 -4
  1291. package/dist/templates/saas/email-decks.js +16 -16
  1292. package/dist/templates/saas/index.js +190 -190
  1293. package/dist/templates/saas/launch-kit.js +12 -12
  1294. package/dist/templates/saas/launch-video.js +11 -11
  1295. package/dist/templates/saas/lottie-shared.js +4 -4
  1296. package/dist/templates/saas/stores-shared.js +3 -3
  1297. package/dist/templates/saas/stores.js +14 -14
  1298. package/dist/templates/saas/style-bento.js +13 -13
  1299. package/dist/templates/saas/style-brutalist.js +13 -13
  1300. package/dist/templates/saas/style-dark.js +13 -13
  1301. package/dist/templates/saas/style-data.js +13 -13
  1302. package/dist/templates/saas/style-editorial.js +13 -13
  1303. package/dist/templates/saas/style-glass.js +13 -13
  1304. package/dist/templates/saas/style-gradient.js +13 -13
  1305. package/dist/templates/saas/style-maximal.js +14 -14
  1306. package/dist/templates/saas/style-pastel.js +13 -13
  1307. package/dist/templates/saas/style-sketch.js +13 -13
  1308. package/dist/templates/saas/style-swiss.js +13 -13
  1309. package/dist/templates/saas/style-terminal.js +13 -13
  1310. package/dist/templates/saas/video.js +11 -11
  1311. package/dist/templates/saas/web.js +15 -15
  1312. package/dist/templates/scenes/before-after.js +3 -3
  1313. package/dist/templates/scenes/carousel-video.js +4 -4
  1314. package/dist/templates/scenes/saas-film-app-preview.js +4 -4
  1315. package/dist/templates/scenes/saas-film-bright-trailer.js +4 -4
  1316. package/dist/templates/scenes/saas-film-product-hunt-launch.js +4 -4
  1317. package/dist/templates/scenes/saas-film-youtube-demo-kit.js +4 -4
  1318. package/dist/templates/scenes/shared.js +3 -3
  1319. package/dist/templates/scenes/story-ad.js +4 -4
  1320. package/dist/templates/scenes/story-bakery.js +4 -4
  1321. package/dist/templates/scenes/story-fitness.js +4 -4
  1322. package/dist/templates/scenes/story-hotel.js +4 -4
  1323. package/dist/templates/scenes/transitions-pack.js +4 -4
  1324. package/dist/templates/scenes/web-scroll.js +4 -4
  1325. package/dist/templates/slides/agenda.js +4 -4
  1326. package/dist/templates/slides/deck.js +3 -3
  1327. package/dist/templates/slides/education.js +4 -4
  1328. package/dist/templates/slides/launch.js +4 -4
  1329. package/dist/templates/slides/layouts.js +4 -4
  1330. package/dist/templates/slides/pitch.js +4 -4
  1331. package/dist/templates/slides/report.js +4 -4
  1332. package/dist/templates/slides/saas-mail-investor-update.js +5 -5
  1333. package/dist/templates/slides/saas-mail-seed-pitch.js +5 -5
  1334. package/dist/templates/slides/sales.js +4 -4
  1335. package/dist/templates/slides/section-divider.js +4 -4
  1336. package/dist/templates/slides/title-card.js +4 -4
  1337. package/dist/templates/slides/training.js +4 -4
  1338. package/dist/templates/slides/webinar.js +4 -4
  1339. package/dist/templates/slideshow/adoption.js +5 -5
  1340. package/dist/templates/slideshow/baby.js +5 -5
  1341. package/dist/templates/slideshow/birthday.js +5 -5
  1342. package/dist/templates/slideshow/graduation.js +5 -5
  1343. package/dist/templates/slideshow/holiday.js +5 -5
  1344. package/dist/templates/slideshow/home.js +5 -5
  1345. package/dist/templates/slideshow/index.js +12 -12
  1346. package/dist/templates/slideshow/lease.js +5 -5
  1347. package/dist/templates/slideshow/memorial.js +5 -5
  1348. package/dist/templates/slideshow/portfolio.js +5 -5
  1349. package/dist/templates/slideshow/product.js +5 -5
  1350. package/dist/templates/slideshow/recipe.js +5 -5
  1351. package/dist/templates/slideshow/shared.js +4 -4
  1352. package/dist/templates/slideshow/team.js +5 -5
  1353. package/dist/templates/slideshow/travel.js +5 -5
  1354. package/dist/templates/slideshow/wedding.js +5 -5
  1355. package/dist/templates/slideshow/year.js +5 -5
  1356. package/dist/templates/social/april-fools-link-preview.js +5 -5
  1357. package/dist/templates/social/april-fools-price-slash-post.js +5 -5
  1358. package/dist/templates/social/arcade-boss-fight.js +3 -3
  1359. package/dist/templates/social/arcade-level-up.js +3 -3
  1360. package/dist/templates/social/art-deco-link-preview.js +3 -3
  1361. package/dist/templates/social/art-deco-premiere-post.js +3 -3
  1362. package/dist/templates/social/autumn-harvest-link-preview.js +3 -3
  1363. package/dist/templates/social/autumn-harvest-thanks-post.js +3 -3
  1364. package/dist/templates/social/back-to-school-link-preview.js +3 -3
  1365. package/dist/templates/social/back-to-school-report-card-post.js +3 -3
  1366. package/dist/templates/social/bauhaus-drift-post.js +3 -3
  1367. package/dist/templates/social/bauhaus-link-preview.js +3 -3
  1368. package/dist/templates/social/bauhaus-pricing-post.js +3 -3
  1369. package/dist/templates/social/black-friday-ads.js +3 -3
  1370. package/dist/templates/social/black-friday-countdown.js +3 -3
  1371. package/dist/templates/social/black-friday-coupons-ads.js +3 -3
  1372. package/dist/templates/social/black-friday-coupons-countdown.js +3 -3
  1373. package/dist/templates/social/black-friday-neon-ads.js +3 -3
  1374. package/dist/templates/social/black-friday-neon-countdown.js +3 -3
  1375. package/dist/templates/social/black-friday-scratch-ads.js +3 -3
  1376. package/dist/templates/social/black-friday-ticker-ads.js +3 -3
  1377. package/dist/templates/social/black-friday-ticker-countdown.js +3 -3
  1378. package/dist/templates/social/blueprint-dimension-post.js +3 -3
  1379. package/dist/templates/social/blueprint-link-preview.js +3 -3
  1380. package/dist/templates/social/blueprint-parts-list-post.js +3 -3
  1381. package/dist/templates/social/broadsheet-hiring-classifieds.js +3 -3
  1382. package/dist/templates/social/broadsheet-link-preview.js +3 -3
  1383. package/dist/templates/social/claymation-link-preview.js +3 -3
  1384. package/dist/templates/social/claymation-streak-post.js +3 -3
  1385. package/dist/templates/social/comic-book-cover-preview.js +3 -3
  1386. package/dist/templates/social/comic-book-strip-post.js +3 -3
  1387. package/dist/templates/social/cyberpunk-implant-post.js +3 -3
  1388. package/dist/templates/social/cyberpunk-link-preview.js +3 -3
  1389. package/dist/templates/social/departure-board-pass-ad.js +3 -3
  1390. package/dist/templates/social/departure-board-store-set.js +3 -3
  1391. package/dist/templates/social/departure-board-thanks-post.js +3 -3
  1392. package/dist/templates/social/diwali-link-preview.js +3 -3
  1393. package/dist/templates/social/diwali-thanks-post.js +3 -3
  1394. package/dist/templates/social/earth-day-link-preview.js +3 -3
  1395. package/dist/templates/social/everyday-save-the-date-post.js +3 -3
  1396. package/dist/templates/social/festival-presale-electronic-ads.js +6 -6
  1397. package/dist/templates/social/festival-presale-family-ads.js +6 -6
  1398. package/dist/templates/social/festival-presale-folk-ads.js +6 -6
  1399. package/dist/templates/social/festival-presale-food-ads.js +6 -6
  1400. package/dist/templates/social/festival-presale-jazz-ads.js +6 -6
  1401. package/dist/templates/social/festival-presale-street-ads.js +6 -6
  1402. package/dist/templates/social/gothic-feature-post.js +3 -3
  1403. package/dist/templates/social/gothic-link-preview.js +3 -3
  1404. package/dist/templates/social/halloween-link-preview.js +3 -3
  1405. package/dist/templates/social/halloween-offer-post.js +3 -3
  1406. package/dist/templates/social/holidays-diwali-sweet-shop-post.js +3 -3
  1407. package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +3 -3
  1408. package/dist/templates/social/holidays-new-years-eve-shop-hours.js +3 -3
  1409. package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +3 -3
  1410. package/dist/templates/social/holidays-valentines-florist-post.js +3 -3
  1411. package/dist/templates/social/lunar-new-year-greeting-post.js +3 -3
  1412. package/dist/templates/social/lunar-new-year-link-preview.js +3 -3
  1413. package/dist/templates/social/machined-link-preview.js +5 -5
  1414. package/dist/templates/social/machined-plate-post.js +5 -5
  1415. package/dist/templates/social/manuscript-chapter-post.js +3 -3
  1416. package/dist/templates/social/manuscript-link-preview.js +3 -3
  1417. package/dist/templates/social/new-year-link-preview.js +3 -3
  1418. package/dist/templates/social/new-year-resolutions-post.js +3 -3
  1419. package/dist/templates/social/noir-case-file.js +3 -3
  1420. package/dist/templates/social/noir-feature-post.js +3 -3
  1421. package/dist/templates/social/post-announcement.js +3 -3
  1422. package/dist/templates/social/post-event.js +3 -3
  1423. package/dist/templates/social/post-podcast.js +3 -3
  1424. package/dist/templates/social/post-quote.js +3 -3
  1425. package/dist/templates/social/post-sale.js +3 -3
  1426. package/dist/templates/social/post-stat.js +3 -3
  1427. package/dist/templates/social/post-testimonial.js +3 -3
  1428. package/dist/templates/social/promo-announcement.js +3 -3
  1429. package/dist/templates/social/promo-beat-drop.js +3 -3
  1430. package/dist/templates/social/promo-event.js +3 -3
  1431. package/dist/templates/social/promo-new-product.js +3 -3
  1432. package/dist/templates/social/promo-quote-reveal.js +3 -3
  1433. package/dist/templates/social/promo-sale-drop.js +3 -3
  1434. package/dist/templates/social/promo-tip-list.js +3 -3
  1435. package/dist/templates/social/psychedelic-lineup-post.js +3 -3
  1436. package/dist/templates/social/psychedelic-link-preview.js +3 -3
  1437. package/dist/templates/social/riso-zine-link-preview.js +3 -3
  1438. package/dist/templates/social/riso-zine-mrr-poster.js +3 -3
  1439. package/dist/templates/social/saas-kit-carousel.js +3 -3
  1440. package/dist/templates/social/saas-kit-countdown-post.js +3 -3
  1441. package/dist/templates/social/saas-kit-feature-drop.js +3 -3
  1442. package/dist/templates/social/saas-kit-link-preview.js +3 -3
  1443. package/dist/templates/social/saas-kit-live-post.js +3 -3
  1444. package/dist/templates/social/saas-kit-mrr-card.js +3 -3
  1445. package/dist/templates/social/saas-kit-ph-gallery.js +3 -3
  1446. package/dist/templates/social/saas-kit-ph-thumb.js +3 -3
  1447. package/dist/templates/social/saas-kit-youtube-thumbs.js +3 -3
  1448. package/dist/templates/social/saas-store-b2b-ads.js +4 -4
  1449. package/dist/templates/social/saas-store-caption-set.js +4 -4
  1450. package/dist/templates/social/saas-store-chrome-kit.js +4 -4
  1451. package/dist/templates/social/saas-store-ipad-set.js +4 -4
  1452. package/dist/templates/social/saas-store-panorama.js +5 -5
  1453. package/dist/templates/social/saas-store-play-kit.js +3 -3
  1454. package/dist/templates/social/saas-store-story.js +4 -4
  1455. package/dist/templates/social/singles-day-link-preview.js +3 -3
  1456. package/dist/templates/social/solarpunk-impact-post.js +3 -3
  1457. package/dist/templates/social/solarpunk-link-preview.js +3 -3
  1458. package/dist/templates/social/space-opera-link-preview.js +3 -3
  1459. package/dist/templates/social/space-opera-mission-patch-post.js +3 -3
  1460. package/dist/templates/social/spring-bloom-link-preview.js +3 -3
  1461. package/dist/templates/social/studio-class-timetable.js +3 -3
  1462. package/dist/templates/social/studio-podcast-cover.js +3 -3
  1463. package/dist/templates/social/style-bento-announcement.js +3 -3
  1464. package/dist/templates/social/style-bento-link-preview.js +3 -3
  1465. package/dist/templates/social/style-bento-milestone.js +3 -3
  1466. package/dist/templates/social/style-bento-testimonial.js +3 -3
  1467. package/dist/templates/social/style-brutalist-announcement.js +3 -3
  1468. package/dist/templates/social/style-brutalist-link-preview.js +3 -3
  1469. package/dist/templates/social/style-brutalist-milestone.js +3 -3
  1470. package/dist/templates/social/style-brutalist-testimonial.js +3 -3
  1471. package/dist/templates/social/style-dark-announcement.js +3 -3
  1472. package/dist/templates/social/style-dark-link-preview.js +3 -3
  1473. package/dist/templates/social/style-dark-milestone.js +3 -3
  1474. package/dist/templates/social/style-dark-testimonial.js +3 -3
  1475. package/dist/templates/social/style-data-announcement.js +3 -3
  1476. package/dist/templates/social/style-data-link-preview.js +3 -3
  1477. package/dist/templates/social/style-data-milestone.js +3 -3
  1478. package/dist/templates/social/style-data-testimonial.js +3 -3
  1479. package/dist/templates/social/style-editorial-announcement.js +3 -3
  1480. package/dist/templates/social/style-editorial-link-preview.js +3 -3
  1481. package/dist/templates/social/style-editorial-milestone.js +3 -3
  1482. package/dist/templates/social/style-editorial-testimonial.js +3 -3
  1483. package/dist/templates/social/style-glass-announcement.js +3 -3
  1484. package/dist/templates/social/style-glass-link-preview.js +3 -3
  1485. package/dist/templates/social/style-glass-milestone.js +3 -3
  1486. package/dist/templates/social/style-glass-testimonial.js +3 -3
  1487. package/dist/templates/social/style-gradient-announcement.js +3 -3
  1488. package/dist/templates/social/style-gradient-link-preview.js +3 -3
  1489. package/dist/templates/social/style-gradient-milestone.js +3 -3
  1490. package/dist/templates/social/style-gradient-testimonial.js +3 -3
  1491. package/dist/templates/social/style-maximal-announcement.js +3 -3
  1492. package/dist/templates/social/style-maximal-link-preview.js +3 -3
  1493. package/dist/templates/social/style-maximal-milestone.js +3 -3
  1494. package/dist/templates/social/style-maximal-testimonial.js +3 -3
  1495. package/dist/templates/social/style-pastel-announcement.js +3 -3
  1496. package/dist/templates/social/style-pastel-link-preview.js +3 -3
  1497. package/dist/templates/social/style-pastel-milestone.js +3 -3
  1498. package/dist/templates/social/style-pastel-testimonial.js +3 -3
  1499. package/dist/templates/social/style-sketch-announcement.js +3 -3
  1500. package/dist/templates/social/style-sketch-link-preview.js +3 -3
  1501. package/dist/templates/social/style-sketch-milestone.js +3 -3
  1502. package/dist/templates/social/style-sketch-testimonial.js +3 -3
  1503. package/dist/templates/social/style-swiss-announcement.js +3 -3
  1504. package/dist/templates/social/style-swiss-link-preview.js +3 -3
  1505. package/dist/templates/social/style-swiss-milestone.js +3 -3
  1506. package/dist/templates/social/style-swiss-testimonial.js +3 -3
  1507. package/dist/templates/social/style-terminal-announcement.js +3 -3
  1508. package/dist/templates/social/style-terminal-link-preview.js +3 -3
  1509. package/dist/templates/social/style-terminal-milestone.js +3 -3
  1510. package/dist/templates/social/style-terminal-testimonial.js +3 -3
  1511. package/dist/templates/social/summer-heatwave-link-preview.js +3 -3
  1512. package/dist/templates/social/summer-heatwave-lolly-post.js +3 -3
  1513. package/dist/templates/social/tour-tickets-june-ads.js +3 -3
  1514. package/dist/templates/social/tour-tickets-tide-ads.js +3 -3
  1515. package/dist/templates/social/tour-tickets-wreck-ads.js +3 -3
  1516. package/dist/templates/social/transit-map-link-preview.js +3 -3
  1517. package/dist/templates/social/ukiyo-e-link-preview.js +3 -3
  1518. package/dist/templates/social/ukiyo-e-spike-post.js +3 -3
  1519. package/dist/templates/social/valentines-link-preview.js +3 -3
  1520. package/dist/templates/social/valentines-poem-post.js +3 -3
  1521. package/dist/templates/social/vaporwave-feature-drop.js +3 -3
  1522. package/dist/templates/social/vaporwave-link-preview.js +3 -3
  1523. package/dist/templates/social/winter-cosy-link-preview.js +3 -3
  1524. package/dist/templates/social/winter-holidays-link-preview.js +3 -3
  1525. package/dist/templates/social/winter-holidays-thanks-post.js +3 -3
  1526. package/dist/templates/stings/line-reveal.js +3 -3
  1527. package/dist/templates/stings/sting-blur.js +3 -3
  1528. package/dist/templates/stings/sting-pop.js +3 -3
  1529. package/dist/templates/stings/sting-rise.js +3 -3
  1530. package/dist/templates/stings/sting-shimmer.js +3 -3
  1531. package/dist/templates/stings/word-swap.js +3 -3
  1532. package/dist/templates/text/stat-counter.js +3 -3
  1533. package/dist/templates/text/word-quote.js +3 -3
  1534. package/dist/templates/themes/april-fools-shared.js +4 -4
  1535. package/dist/templates/themes/april-fools.js +10 -10
  1536. package/dist/templates/themes/arcade.js +7 -7
  1537. package/dist/templates/themes/art-deco.js +9 -9
  1538. package/dist/templates/themes/autumn-harvest.js +9 -9
  1539. package/dist/templates/themes/back-to-school.js +9 -9
  1540. package/dist/templates/themes/bauhaus.js +8 -8
  1541. package/dist/templates/themes/black-friday-coupons.js +10 -10
  1542. package/dist/templates/themes/black-friday-neon.js +10 -10
  1543. package/dist/templates/themes/black-friday-scratch.js +10 -10
  1544. package/dist/templates/themes/black-friday-ticker.js +10 -10
  1545. package/dist/templates/themes/black-friday.js +9 -9
  1546. package/dist/templates/themes/blueprint.js +8 -8
  1547. package/dist/templates/themes/broadsheet.js +10 -10
  1548. package/dist/templates/themes/claymation.js +9 -9
  1549. package/dist/templates/themes/comic-book.js +17 -17
  1550. package/dist/templates/themes/comic-hero.js +15 -15
  1551. package/dist/templates/themes/comic-indie.js +3 -3
  1552. package/dist/templates/themes/cyberpunk.js +9 -9
  1553. package/dist/templates/themes/departure-board.js +8 -8
  1554. package/dist/templates/themes/diwali.js +9 -9
  1555. package/dist/templates/themes/earth-day.js +9 -9
  1556. package/dist/templates/themes/everyday.js +10 -10
  1557. package/dist/templates/themes/festival-presale-electronic-kit.js +5 -5
  1558. package/dist/templates/themes/festival-presale-family-a-shared.js +4 -4
  1559. package/dist/templates/themes/festival-presale-family-a.js +29 -29
  1560. package/dist/templates/themes/festival-presale-family-b-shared.js +4 -4
  1561. package/dist/templates/themes/festival-presale-family-b.js +29 -29
  1562. package/dist/templates/themes/festival-presale-family-kit.js +5 -5
  1563. package/dist/templates/themes/festival-presale-folk-kit.js +5 -5
  1564. package/dist/templates/themes/festival-presale-food-kit.js +5 -5
  1565. package/dist/templates/themes/festival-presale-jazz-kit.js +5 -5
  1566. package/dist/templates/themes/festival-presale-street-kit.js +5 -5
  1567. package/dist/templates/themes/festival-presale.js +9 -9
  1568. package/dist/templates/themes/gothic.js +9 -9
  1569. package/dist/templates/themes/halloween.js +9 -9
  1570. package/dist/templates/themes/holidays.js +26 -26
  1571. package/dist/templates/themes/index.js +427 -427
  1572. package/dist/templates/themes/lunar-new-year.js +9 -9
  1573. package/dist/templates/themes/machined-shared.js +4 -4
  1574. package/dist/templates/themes/machined.js +9 -9
  1575. package/dist/templates/themes/manuscript.js +9 -9
  1576. package/dist/templates/themes/memories.js +13 -13
  1577. package/dist/templates/themes/new-year.js +9 -9
  1578. package/dist/templates/themes/noir.js +9 -9
  1579. package/dist/templates/themes/printshop-shared.js +3 -3
  1580. package/dist/templates/themes/printshop.js +29 -29
  1581. package/dist/templates/themes/psychedelic.js +9 -9
  1582. package/dist/templates/themes/riso-zine.js +9 -9
  1583. package/dist/templates/themes/singles-day.js +9 -9
  1584. package/dist/templates/themes/solarpunk.js +9 -9
  1585. package/dist/templates/themes/space-opera.js +9 -9
  1586. package/dist/templates/themes/spring-bloom.js +9 -9
  1587. package/dist/templates/themes/studio.js +9 -9
  1588. package/dist/templates/themes/summer-heatwave.js +9 -9
  1589. package/dist/templates/themes/tour-tickets.js +28 -28
  1590. package/dist/templates/themes/transit-map.js +9 -9
  1591. package/dist/templates/themes/ukiyo-e.js +9 -9
  1592. package/dist/templates/themes/valentines.js +9 -9
  1593. package/dist/templates/themes/vaporwave.js +8 -8
  1594. package/dist/templates/themes/winter-cosy.js +9 -9
  1595. package/dist/templates/themes/winter-holidays.js +9 -9
  1596. package/dist/templates/video/youtube-chapter.js +3 -3
  1597. package/dist/templates/video/youtube-end-screen.js +3 -3
  1598. package/dist/templates/video/youtube-intro.js +3 -3
  1599. package/dist/templates/video/youtube-subscribe.js +3 -3
  1600. package/dist/templates/web/app-ui.js +4 -4
  1601. package/dist/templates/web/april-fools-landing.js +5 -5
  1602. package/dist/templates/web/arcade-landing.js +3 -3
  1603. package/dist/templates/web/art-deco-landing.js +3 -3
  1604. package/dist/templates/web/autumn-harvest-landing.js +3 -3
  1605. package/dist/templates/web/back-to-school-landing.js +3 -3
  1606. package/dist/templates/web/bauhaus-landing.js +3 -3
  1607. package/dist/templates/web/black-friday-coupons-landing.js +3 -3
  1608. package/dist/templates/web/black-friday-landing.js +3 -3
  1609. package/dist/templates/web/black-friday-neon-landing.js +3 -3
  1610. package/dist/templates/web/black-friday-scratch-landing.js +3 -3
  1611. package/dist/templates/web/black-friday-ticker-landing.js +3 -3
  1612. package/dist/templates/web/blog-post.js +3 -3
  1613. package/dist/templates/web/blueprint-landing.js +3 -3
  1614. package/dist/templates/web/broadsheet-landing.js +3 -3
  1615. package/dist/templates/web/claymation-landing.js +3 -3
  1616. package/dist/templates/web/comic-book-landing.js +3 -3
  1617. package/dist/templates/web/coming-soon-page.js +4 -4
  1618. package/dist/templates/web/coming-soon.js +3 -3
  1619. package/dist/templates/web/contact.js +4 -4
  1620. package/dist/templates/web/cyberpunk-landing.js +3 -3
  1621. package/dist/templates/web/daybreak-app.js +5 -5
  1622. package/dist/templates/web/departure-board-download.js +3 -3
  1623. package/dist/templates/web/diwali-landing.js +3 -3
  1624. package/dist/templates/web/earth-day-landing.js +3 -3
  1625. package/dist/templates/web/everyday-cafe.js +3 -3
  1626. package/dist/templates/web/everyday-hotel.js +3 -3
  1627. package/dist/templates/web/everyday-wedding.js +4 -4
  1628. package/dist/templates/web/festival-presale-electronic.js +3 -3
  1629. package/dist/templates/web/festival-presale-family.js +3 -3
  1630. package/dist/templates/web/festival-presale-folk.js +3 -3
  1631. package/dist/templates/web/festival-presale-food.js +3 -3
  1632. package/dist/templates/web/festival-presale-jazz.js +3 -3
  1633. package/dist/templates/web/festival-presale-street.js +3 -3
  1634. package/dist/templates/web/forms.js +3 -3
  1635. package/dist/templates/web/gothic-landing.js +3 -3
  1636. package/dist/templates/web/halloween-landing.js +3 -3
  1637. package/dist/templates/web/hero-animated.js +3 -3
  1638. package/dist/templates/web/kindling-app.js +5 -5
  1639. package/dist/templates/web/launch-waitlist.js +4 -4
  1640. package/dist/templates/web/lunar-new-year-landing.js +3 -3
  1641. package/dist/templates/web/machined-hero.js +5 -5
  1642. package/dist/templates/web/manuscript-landing.js +3 -3
  1643. package/dist/templates/web/marginalia-app.js +5 -5
  1644. package/dist/templates/web/new-year-landing.js +3 -3
  1645. package/dist/templates/web/noir-landing.js +3 -3
  1646. package/dist/templates/web/page-404.js +3 -3
  1647. package/dist/templates/web/portfolio-architect.js +5 -5
  1648. package/dist/templates/web/portfolio-art.js +3 -3
  1649. package/dist/templates/web/portfolio-card-deck.js +5 -5
  1650. package/dist/templates/web/portfolio-case-folio.js +5 -5
  1651. package/dist/templates/web/portfolio-cube-gallery.js +5 -5
  1652. package/dist/templates/web/portfolio-depth-tunnel.js +5 -5
  1653. package/dist/templates/web/portfolio-editorial.js +5 -5
  1654. package/dist/templates/web/portfolio-flip-wall.js +5 -5
  1655. package/dist/templates/web/portfolio-index-list.js +5 -5
  1656. package/dist/templates/web/portfolio-photographer.js +5 -5
  1657. package/dist/templates/web/portfolio-reel-carousel.js +5 -5
  1658. package/dist/templates/web/portfolio-shared.js +4 -4
  1659. package/dist/templates/web/portfolio-sketchbook.js +5 -5
  1660. package/dist/templates/web/portfolio-studio-grid.js +5 -5
  1661. package/dist/templates/web/portfolio.js +3 -3
  1662. package/dist/templates/web/portfolios.js +17 -17
  1663. package/dist/templates/web/potluck-app.js +5 -5
  1664. package/dist/templates/web/pricing-toggle.js +3 -3
  1665. package/dist/templates/web/product-page.js +3 -3
  1666. package/dist/templates/web/psychedelic-landing.js +3 -3
  1667. package/dist/templates/web/riso-zine-landing.js +3 -3
  1668. package/dist/templates/web/rsvp-invite.js +4 -4
  1669. package/dist/templates/web/saas-ai-landing.js +3 -3
  1670. package/dist/templates/web/saas-app-download.js +3 -3
  1671. package/dist/templates/web/saas-case-study.js +3 -3
  1672. package/dist/templates/web/saas-changelog.js +3 -3
  1673. package/dist/templates/web/saas-comparison.js +3 -3
  1674. package/dist/templates/web/saas-data-landing.js +3 -3
  1675. package/dist/templates/web/saas-dev-landing.js +3 -3
  1676. package/dist/templates/web/saas-indie-landing.js +3 -3
  1677. package/dist/templates/web/saas-integrations.js +3 -3
  1678. package/dist/templates/web/saas-security.js +3 -3
  1679. package/dist/templates/web/saas-signup.js +3 -3
  1680. package/dist/templates/web/saas-waitlist.js +3 -3
  1681. package/dist/templates/web/saffron-app.js +5 -5
  1682. package/dist/templates/web/shop-art.js +3 -3
  1683. package/dist/templates/web/shop-bloom.js +7 -7
  1684. package/dist/templates/web/shop-circuit.js +7 -7
  1685. package/dist/templates/web/shop-fieldwork.js +7 -7
  1686. package/dist/templates/web/shop-greenhouse.js +7 -7
  1687. package/dist/templates/web/shop-kiln.js +7 -7
  1688. package/dist/templates/web/shop-marginalia.js +7 -7
  1689. package/dist/templates/web/shop-ode.js +7 -7
  1690. package/dist/templates/web/shop-shared.js +6 -6
  1691. package/dist/templates/web/shop-static.js +7 -7
  1692. package/dist/templates/web/shop-summit.js +7 -7
  1693. package/dist/templates/web/shops.js +16 -16
  1694. package/dist/templates/web/singles-day-landing.js +3 -3
  1695. package/dist/templates/web/solarpunk-landing.js +3 -3
  1696. package/dist/templates/web/space-opera-landing.js +3 -3
  1697. package/dist/templates/web/spring-bloom-landing.js +3 -3
  1698. package/dist/templates/web/studio-careers.js +3 -3
  1699. package/dist/templates/web/style-bento-landing.js +3 -3
  1700. package/dist/templates/web/style-bento-pricing.js +3 -3
  1701. package/dist/templates/web/style-brutalist-landing.js +3 -3
  1702. package/dist/templates/web/style-brutalist-pricing.js +3 -3
  1703. package/dist/templates/web/style-dark-landing.js +3 -3
  1704. package/dist/templates/web/style-dark-pricing.js +3 -3
  1705. package/dist/templates/web/style-data-landing.js +3 -3
  1706. package/dist/templates/web/style-data-pricing.js +3 -3
  1707. package/dist/templates/web/style-editorial-landing.js +3 -3
  1708. package/dist/templates/web/style-editorial-pricing.js +3 -3
  1709. package/dist/templates/web/style-glass-landing.js +3 -3
  1710. package/dist/templates/web/style-glass-pricing.js +3 -3
  1711. package/dist/templates/web/style-gradient-landing.js +3 -3
  1712. package/dist/templates/web/style-gradient-pricing.js +3 -3
  1713. package/dist/templates/web/style-maximal-landing.js +3 -3
  1714. package/dist/templates/web/style-maximal-pricing.js +3 -3
  1715. package/dist/templates/web/style-pastel-landing.js +3 -3
  1716. package/dist/templates/web/style-pastel-pricing.js +3 -3
  1717. package/dist/templates/web/style-sketch-landing.js +3 -3
  1718. package/dist/templates/web/style-sketch-pricing.js +3 -3
  1719. package/dist/templates/web/style-swiss-landing.js +3 -3
  1720. package/dist/templates/web/style-swiss-pricing.js +3 -3
  1721. package/dist/templates/web/style-terminal-landing.js +3 -3
  1722. package/dist/templates/web/style-terminal-pricing.js +3 -3
  1723. package/dist/templates/web/summer-heatwave-landing.js +3 -3
  1724. package/dist/templates/web/tempo-app.js +5 -5
  1725. package/dist/templates/web/tour-tickets-june-landing.js +3 -3
  1726. package/dist/templates/web/tour-tickets-tide-landing.js +3 -3
  1727. package/dist/templates/web/tour-tickets-wreck-landing.js +3 -3
  1728. package/dist/templates/web/transit-map-landing.js +3 -3
  1729. package/dist/templates/web/ukiyo-e-landing.js +3 -3
  1730. package/dist/templates/web/valentines-landing.js +3 -3
  1731. package/dist/templates/web/vaporwave-landing.js +3 -3
  1732. package/dist/templates/web/wayfarer-app.js +5 -5
  1733. package/dist/templates/web/winter-cosy-landing.js +3 -3
  1734. package/dist/templates/web/winter-holidays-landing.js +3 -3
  1735. package/package.json +1 -1
  1736. package/dist/chunks/agent-Q7OXDRHJ.js +0 -44
  1737. package/dist/chunks/build-WLB432HH.js +0 -59
  1738. package/dist/chunks/builtin-3AHQTRQS.js +0 -118
  1739. package/dist/chunks/buy-credits-M5QSN6YX.js +0 -80
  1740. package/dist/chunks/check-template-BW7WMU7W.js +0 -2429
  1741. package/dist/chunks/chunk-225UFGKL.js +0 -79
  1742. package/dist/chunks/chunk-22LCDIWY.js +0 -45
  1743. package/dist/chunks/chunk-22QHODC3.js +0 -72
  1744. package/dist/chunks/chunk-23Q3WCP4.js +0 -71
  1745. package/dist/chunks/chunk-2546M4DM.js +0 -122
  1746. package/dist/chunks/chunk-2BXVOJIL.js +0 -161
  1747. package/dist/chunks/chunk-2CCPHJEG.js +0 -225
  1748. package/dist/chunks/chunk-2CQNKBJX.js +0 -282
  1749. package/dist/chunks/chunk-2CSWZ7YN.js +0 -358
  1750. package/dist/chunks/chunk-2CZCD7KQ.js +0 -174
  1751. package/dist/chunks/chunk-2EGEOFNE.js +0 -84
  1752. package/dist/chunks/chunk-2FQYTQ2E.js +0 -77
  1753. package/dist/chunks/chunk-2GGQGZSF.js +0 -55
  1754. package/dist/chunks/chunk-2GJAF3ME.js +0 -290
  1755. package/dist/chunks/chunk-2HW2NJUY.js +0 -260
  1756. package/dist/chunks/chunk-2IOGQ4TG.js +0 -152
  1757. package/dist/chunks/chunk-2MWOGYSU.js +0 -206
  1758. package/dist/chunks/chunk-2NWAG7MA.js +0 -23
  1759. package/dist/chunks/chunk-2OYIB4AE.js +0 -86
  1760. package/dist/chunks/chunk-2POMUQ7O.js +0 -251
  1761. package/dist/chunks/chunk-2R6QNRAR.js +0 -247
  1762. package/dist/chunks/chunk-2RQCXDQY.js +0 -103
  1763. package/dist/chunks/chunk-2RTRVRYH.js +0 -150
  1764. package/dist/chunks/chunk-2TB335T4.js +0 -304
  1765. package/dist/chunks/chunk-2TFVCICT.js +0 -218
  1766. package/dist/chunks/chunk-2UWGHVVJ.js +0 -366
  1767. package/dist/chunks/chunk-2UXQHV42.js +0 -33
  1768. package/dist/chunks/chunk-2VTC5WKQ.js +0 -30
  1769. package/dist/chunks/chunk-2W3KVNEZ.js +0 -165
  1770. package/dist/chunks/chunk-2WH45MWK.js +0 -146
  1771. package/dist/chunks/chunk-2WIWBDNT.js +0 -45
  1772. package/dist/chunks/chunk-2XAMLRQH.js +0 -315
  1773. package/dist/chunks/chunk-34CDBLUI.js +0 -98
  1774. package/dist/chunks/chunk-35NM4JXG.js +0 -150
  1775. package/dist/chunks/chunk-37DR73LV.js +0 -157
  1776. package/dist/chunks/chunk-3ABUOBFB.js +0 -95
  1777. package/dist/chunks/chunk-3ADDG6LB.js +0 -163
  1778. package/dist/chunks/chunk-3AXK6SET.js +0 -180
  1779. package/dist/chunks/chunk-3BOREQBZ.js +0 -99
  1780. package/dist/chunks/chunk-3FD7XELW.js +0 -23
  1781. package/dist/chunks/chunk-3GAOXNZL.js +0 -103
  1782. package/dist/chunks/chunk-3GHV4XOV.js +0 -140
  1783. package/dist/chunks/chunk-3GHZO2MW.js +0 -375
  1784. package/dist/chunks/chunk-3H5LESXS.js +0 -163
  1785. package/dist/chunks/chunk-3HHP46XL.js +0 -118
  1786. package/dist/chunks/chunk-3J4JTTB2.js +0 -109
  1787. package/dist/chunks/chunk-3K4AXSX3.js +0 -190
  1788. package/dist/chunks/chunk-3KFNWWCV.js +0 -134
  1789. package/dist/chunks/chunk-3KIZ5ZDZ.js +0 -175
  1790. package/dist/chunks/chunk-3KSOEQJD.js +0 -200
  1791. package/dist/chunks/chunk-3MLZEHTT.js +0 -95
  1792. package/dist/chunks/chunk-3MQ7VV27.js +0 -36
  1793. package/dist/chunks/chunk-3MST454M.js +0 -249
  1794. package/dist/chunks/chunk-3MW7UM47.js +0 -90
  1795. package/dist/chunks/chunk-3NDMB5OP.js +0 -39
  1796. package/dist/chunks/chunk-3OH7UWWV.js +0 -102
  1797. package/dist/chunks/chunk-3WNZKWPL.js +0 -23
  1798. package/dist/chunks/chunk-3WTFUL3I.js +0 -226
  1799. package/dist/chunks/chunk-3WULD4WE.js +0 -90
  1800. package/dist/chunks/chunk-3XACBHHM.js +0 -199
  1801. package/dist/chunks/chunk-3YH436ES.js +0 -150
  1802. package/dist/chunks/chunk-3ZZL4JA5.js +0 -304
  1803. package/dist/chunks/chunk-425F3B6B.js +0 -128
  1804. package/dist/chunks/chunk-4CERSVPE.js +0 -98
  1805. package/dist/chunks/chunk-4DSG3ELM.js +0 -598
  1806. package/dist/chunks/chunk-4EQP5ZTP.js +0 -252
  1807. package/dist/chunks/chunk-4IS2A4W6.js +0 -177
  1808. package/dist/chunks/chunk-4KF45JPX.js +0 -86
  1809. package/dist/chunks/chunk-4MQFV27K.js +0 -166
  1810. package/dist/chunks/chunk-4NCR6VU7.js +0 -131
  1811. package/dist/chunks/chunk-4O4GNVIW.js +0 -224
  1812. package/dist/chunks/chunk-4P2W3HGB.js +0 -589
  1813. package/dist/chunks/chunk-4Q6XE7I5.js +0 -184
  1814. package/dist/chunks/chunk-4RTM7BCO.js +0 -311
  1815. package/dist/chunks/chunk-4T7Z5QFL.js +0 -83
  1816. package/dist/chunks/chunk-4VYLSWUT.js +0 -71
  1817. package/dist/chunks/chunk-4WJTEWFA.js +0 -98
  1818. package/dist/chunks/chunk-4XGXFNBT.js +0 -261
  1819. package/dist/chunks/chunk-4XSEIVQZ.js +0 -55
  1820. package/dist/chunks/chunk-4YGAS4RA.js +0 -215
  1821. package/dist/chunks/chunk-4YKA6VJS.js +0 -195
  1822. package/dist/chunks/chunk-4ZSYN46E.js +0 -136
  1823. package/dist/chunks/chunk-526H33EW.js +0 -172
  1824. package/dist/chunks/chunk-52XGFTHZ.js +0 -207
  1825. package/dist/chunks/chunk-55AV62CH.js +0 -114
  1826. package/dist/chunks/chunk-55JMYGFB.js +0 -262
  1827. package/dist/chunks/chunk-5ACWFE64.js +0 -171
  1828. package/dist/chunks/chunk-5AKH4CCL.js +0 -210
  1829. package/dist/chunks/chunk-5DFS7QNV.js +0 -210
  1830. package/dist/chunks/chunk-5DS3H4FQ.js +0 -108
  1831. package/dist/chunks/chunk-5ELEZMYN.js +0 -108
  1832. package/dist/chunks/chunk-5ENLW3DD.js +0 -165
  1833. package/dist/chunks/chunk-5J7P2VAK.js +0 -95
  1834. package/dist/chunks/chunk-5LYW7BPT.js +0 -87
  1835. package/dist/chunks/chunk-5MGAMOP2.js +0 -77
  1836. package/dist/chunks/chunk-5MLDE2OK.js +0 -255
  1837. package/dist/chunks/chunk-5MVN56VK.js +0 -83
  1838. package/dist/chunks/chunk-5OBGL2A6.js +0 -53
  1839. package/dist/chunks/chunk-5OVB7SSL.js +0 -23
  1840. package/dist/chunks/chunk-5QNFBNHF.js +0 -108
  1841. package/dist/chunks/chunk-5SYR2466.js +0 -159
  1842. package/dist/chunks/chunk-5T4BSZU5.js +0 -174
  1843. package/dist/chunks/chunk-5TFMD3UF.js +0 -28
  1844. package/dist/chunks/chunk-5THGOLBT.js +0 -112
  1845. package/dist/chunks/chunk-5WMBKC7E.js +0 -163
  1846. package/dist/chunks/chunk-5X2QZNZW.js +0 -118
  1847. package/dist/chunks/chunk-5XTJSB6L.js +0 -170
  1848. package/dist/chunks/chunk-5Y4B6CI2.js +0 -147
  1849. package/dist/chunks/chunk-5ZULYO6M.js +0 -93
  1850. package/dist/chunks/chunk-63CFXAYA.js +0 -45
  1851. package/dist/chunks/chunk-63MMYSGT.js +0 -90
  1852. package/dist/chunks/chunk-64CMCBTY.js +0 -192
  1853. package/dist/chunks/chunk-65F3XASA.js +0 -23
  1854. package/dist/chunks/chunk-666ILBDC.js +0 -889
  1855. package/dist/chunks/chunk-67GWF3AF.js +0 -61
  1856. package/dist/chunks/chunk-6BLPHGRO.js +0 -102
  1857. package/dist/chunks/chunk-6BNMCT6G.js +0 -123
  1858. package/dist/chunks/chunk-6EB2PKBA.js +0 -91
  1859. package/dist/chunks/chunk-6HR5M65J.js +0 -119
  1860. package/dist/chunks/chunk-6KERSALZ.js +0 -208
  1861. package/dist/chunks/chunk-6KMHA6E3.js +0 -206
  1862. package/dist/chunks/chunk-6L6REPK2.js +0 -228
  1863. package/dist/chunks/chunk-6L7INUVA.js +0 -133
  1864. package/dist/chunks/chunk-6M3DRAHT.js +0 -23
  1865. package/dist/chunks/chunk-6OGQMDUQ.js +0 -100
  1866. package/dist/chunks/chunk-6OQT2YUZ.js +0 -231
  1867. package/dist/chunks/chunk-6QSW22R5.js +0 -178
  1868. package/dist/chunks/chunk-6UCMCNZE.js +0 -33
  1869. package/dist/chunks/chunk-6UY6YO7H.js +0 -23
  1870. package/dist/chunks/chunk-6WBLBLKR.js +0 -84
  1871. package/dist/chunks/chunk-6WDFNMG7.js +0 -124
  1872. package/dist/chunks/chunk-6Y65KK7X.js +0 -131
  1873. package/dist/chunks/chunk-6YNQW6KW.js +0 -206
  1874. package/dist/chunks/chunk-7377MOAO.js +0 -183
  1875. package/dist/chunks/chunk-73PRJWZI.js +0 -224
  1876. package/dist/chunks/chunk-75RYHBH4.js +0 -143
  1877. package/dist/chunks/chunk-7AS4RX4M.js +0 -131
  1878. package/dist/chunks/chunk-7BI2XXHG.js +0 -204
  1879. package/dist/chunks/chunk-7DRV2OXO.js +0 -198
  1880. package/dist/chunks/chunk-7E3HLO43.js +0 -163
  1881. package/dist/chunks/chunk-7EH47GXT.js +0 -36
  1882. package/dist/chunks/chunk-7F4NN55Y.js +0 -100
  1883. package/dist/chunks/chunk-7G5S7XXD.js +0 -305
  1884. package/dist/chunks/chunk-7JUQP6ES.js +0 -179
  1885. package/dist/chunks/chunk-7MRLF4EY.js +0 -23
  1886. package/dist/chunks/chunk-7MW5HO55.js +0 -217
  1887. package/dist/chunks/chunk-7N2AQI4K.js +0 -69
  1888. package/dist/chunks/chunk-7NLTTY63.js +0 -898
  1889. package/dist/chunks/chunk-7NVWGSWM.js +0 -153
  1890. package/dist/chunks/chunk-7OJL47NU.js +0 -108
  1891. package/dist/chunks/chunk-7T4Z3AAK.js +0 -100
  1892. package/dist/chunks/chunk-7VEZTXNA.js +0 -135
  1893. package/dist/chunks/chunk-7XMIT7UU.js +0 -164
  1894. package/dist/chunks/chunk-7XOX2TEK.js +0 -99
  1895. package/dist/chunks/chunk-7XUNMFP5.js +0 -317
  1896. package/dist/chunks/chunk-7ZULPX23.js +0 -97
  1897. package/dist/chunks/chunk-A2NDYAG5.js +0 -33
  1898. package/dist/chunks/chunk-A4IHMDF4.js +0 -149
  1899. package/dist/chunks/chunk-A7NX433L.js +0 -97
  1900. package/dist/chunks/chunk-AAM6Z3UK.js +0 -287
  1901. package/dist/chunks/chunk-ABKNRNJD.js +0 -195
  1902. package/dist/chunks/chunk-ABXL2QXI.js +0 -152
  1903. package/dist/chunks/chunk-AFCVFSZJ.js +0 -33
  1904. package/dist/chunks/chunk-AFEMN2AQ.js +0 -70
  1905. package/dist/chunks/chunk-AG624GCI.js +0 -176
  1906. package/dist/chunks/chunk-AGFTUQYU.js +0 -327
  1907. package/dist/chunks/chunk-AGUUUS3H.js +0 -304
  1908. package/dist/chunks/chunk-AHRYWYOE.js +0 -231
  1909. package/dist/chunks/chunk-AHV67POV.js +0 -97
  1910. package/dist/chunks/chunk-AHXNNAEV.js +0 -74
  1911. package/dist/chunks/chunk-AIIGDNVP.js +0 -52
  1912. package/dist/chunks/chunk-AKBXRHEK.js +0 -95
  1913. package/dist/chunks/chunk-ALJBF2H5.js +0 -141
  1914. package/dist/chunks/chunk-ALL22RWV.js +0 -304
  1915. package/dist/chunks/chunk-AORXAT3O.js +0 -82
  1916. package/dist/chunks/chunk-APQFGKMN.js +0 -162
  1917. package/dist/chunks/chunk-ASRTISVJ.js +0 -378
  1918. package/dist/chunks/chunk-ASVJ2BIW.js +0 -76
  1919. package/dist/chunks/chunk-ATD2CANO.js +0 -152
  1920. package/dist/chunks/chunk-AVHCXJOH.js +0 -122
  1921. package/dist/chunks/chunk-AWVP5HHI.js +0 -209
  1922. package/dist/chunks/chunk-AYYE35KG.js +0 -212
  1923. package/dist/chunks/chunk-B24LREK3.js +0 -84
  1924. package/dist/chunks/chunk-B32GEUXA.js +0 -78
  1925. package/dist/chunks/chunk-B3EFSIB6.js +0 -156
  1926. package/dist/chunks/chunk-B3G3ZO7F.js +0 -36
  1927. package/dist/chunks/chunk-B4HYPMCQ.js +0 -23
  1928. package/dist/chunks/chunk-B4U2CUZC.js +0 -139
  1929. package/dist/chunks/chunk-B5YPGYFI.js +0 -161
  1930. package/dist/chunks/chunk-B7G7QVRE.js +0 -145
  1931. package/dist/chunks/chunk-BBOPWPN7.js +0 -170
  1932. package/dist/chunks/chunk-BCPU5K3K.js +0 -97
  1933. package/dist/chunks/chunk-BDVJX6TO.js +0 -422
  1934. package/dist/chunks/chunk-BFAHSZQU.js +0 -75
  1935. package/dist/chunks/chunk-BG7L7IFE.js +0 -200
  1936. package/dist/chunks/chunk-BI6J6FHA.js +0 -23
  1937. package/dist/chunks/chunk-BIOVBEAJ.js +0 -164
  1938. package/dist/chunks/chunk-BJVEPHWC.js +0 -149
  1939. package/dist/chunks/chunk-BK33VWXD.js +0 -79
  1940. package/dist/chunks/chunk-BKG3HQI7.js +0 -166
  1941. package/dist/chunks/chunk-BKGSNL3Z.js +0 -122
  1942. package/dist/chunks/chunk-BKYIW5QN.js +0 -77
  1943. package/dist/chunks/chunk-BMFJJ5GN.js +0 -336
  1944. package/dist/chunks/chunk-BPBVT23D.js +0 -189
  1945. package/dist/chunks/chunk-BPKFD423.js +0 -179
  1946. package/dist/chunks/chunk-BQ3FG54C.js +0 -23
  1947. package/dist/chunks/chunk-BQ3Z66GB.js +0 -217
  1948. package/dist/chunks/chunk-BTALQ64U.js +0 -97
  1949. package/dist/chunks/chunk-BTEZBXGO.js +0 -23
  1950. package/dist/chunks/chunk-BUQY4A25.js +0 -110
  1951. package/dist/chunks/chunk-BVHLRXZM.js +0 -150
  1952. package/dist/chunks/chunk-BWCXOKED.js +0 -178
  1953. package/dist/chunks/chunk-BXCRCLE5.js +0 -366
  1954. package/dist/chunks/chunk-BYTAC74G.js +0 -194
  1955. package/dist/chunks/chunk-C2ZVCPMM.js +0 -198
  1956. package/dist/chunks/chunk-C556F4KM.js +0 -172
  1957. package/dist/chunks/chunk-C5RXZG7J.js +0 -1469
  1958. package/dist/chunks/chunk-C5TUI3JQ.js +0 -23
  1959. package/dist/chunks/chunk-C657WTJT.js +0 -360
  1960. package/dist/chunks/chunk-C67Q2F3G.js +0 -105
  1961. package/dist/chunks/chunk-C6U5RSU7.js +0 -105
  1962. package/dist/chunks/chunk-C7KETPBW.js +0 -168
  1963. package/dist/chunks/chunk-CAI26OVR.js +0 -178
  1964. package/dist/chunks/chunk-CAUEWDJM.js +0 -33
  1965. package/dist/chunks/chunk-CB5YGGQL.js +0 -173
  1966. package/dist/chunks/chunk-CEK4R2CF.js +0 -106
  1967. package/dist/chunks/chunk-CFAMAZAV.js +0 -77
  1968. package/dist/chunks/chunk-CG3XAO3X.js +0 -198
  1969. package/dist/chunks/chunk-CGU7NNH4.js +0 -220
  1970. package/dist/chunks/chunk-CHVTL46Z.js +0 -33
  1971. package/dist/chunks/chunk-CKZMLDBS.js +0 -220
  1972. package/dist/chunks/chunk-CLROSEJ2.js +0 -33
  1973. package/dist/chunks/chunk-CLX3W2IS.js +0 -363
  1974. package/dist/chunks/chunk-CMWXYTPH.js +0 -130
  1975. package/dist/chunks/chunk-CNE6TBXR.js +0 -108
  1976. package/dist/chunks/chunk-CNN3AHSO.js +0 -104
  1977. package/dist/chunks/chunk-COCLJAFL.js +0 -45
  1978. package/dist/chunks/chunk-CQZYLT6Z.js +0 -298
  1979. package/dist/chunks/chunk-CRSYBKHC.js +0 -230
  1980. package/dist/chunks/chunk-CUAS7BIR.js +0 -63
  1981. package/dist/chunks/chunk-CUJ3PZLT.js +0 -170
  1982. package/dist/chunks/chunk-CYIRRFPH.js +0 -33
  1983. package/dist/chunks/chunk-CZRJNFWC.js +0 -84
  1984. package/dist/chunks/chunk-CZZN2JSW.js +0 -33
  1985. package/dist/chunks/chunk-D3QSDEGG.js +0 -138
  1986. package/dist/chunks/chunk-D4KKXOBH.js +0 -70
  1987. package/dist/chunks/chunk-D72RM6QH.js +0 -23
  1988. package/dist/chunks/chunk-D7MG7QNG.js +0 -89
  1989. package/dist/chunks/chunk-D7OWR2WS.js +0 -107
  1990. package/dist/chunks/chunk-DAS5F4JJ.js +0 -33
  1991. package/dist/chunks/chunk-DBKTCMUS.js +0 -41
  1992. package/dist/chunks/chunk-DCJUTVMO.js +0 -23
  1993. package/dist/chunks/chunk-DCXGGMXG.js +0 -110
  1994. package/dist/chunks/chunk-DE3RXJQO.js +0 -121
  1995. package/dist/chunks/chunk-DFK24GYW.js +0 -155
  1996. package/dist/chunks/chunk-DHTFUXBB.js +0 -97
  1997. package/dist/chunks/chunk-DIEUWKH6.js +0 -33
  1998. package/dist/chunks/chunk-DJBXZDOV.js +0 -130
  1999. package/dist/chunks/chunk-DNQHGO5L.js +0 -96
  2000. package/dist/chunks/chunk-DNV4DZI3.js +0 -279
  2001. package/dist/chunks/chunk-DPQIWGK7.js +0 -151
  2002. package/dist/chunks/chunk-DPQZ2VKO.js +0 -199
  2003. package/dist/chunks/chunk-DSK7NCEP.js +0 -136
  2004. package/dist/chunks/chunk-DTJEO6FB.js +0 -90
  2005. package/dist/chunks/chunk-DTMROISZ.js +0 -33
  2006. package/dist/chunks/chunk-DVLX7DTG.js +0 -104
  2007. package/dist/chunks/chunk-DY5ZZDCW.js +0 -237
  2008. package/dist/chunks/chunk-E2D7S2JK.js +0 -140
  2009. package/dist/chunks/chunk-E2XMQCM5.js +0 -327
  2010. package/dist/chunks/chunk-E3BNVCIN.js +0 -45
  2011. package/dist/chunks/chunk-E56XNADQ.js +0 -822
  2012. package/dist/chunks/chunk-E6EPKLOC.js +0 -47
  2013. package/dist/chunks/chunk-E7A6LL6M.js +0 -209
  2014. package/dist/chunks/chunk-EAEEVYMV.js +0 -497
  2015. package/dist/chunks/chunk-EBHMQ56V.js +0 -45
  2016. package/dist/chunks/chunk-EDQOON2Q.js +0 -361
  2017. package/dist/chunks/chunk-EEMVT7B4.js +0 -42
  2018. package/dist/chunks/chunk-EFPRXYOI.js +0 -23
  2019. package/dist/chunks/chunk-EG5GWTJO.js +0 -86
  2020. package/dist/chunks/chunk-EKOKP2JI.js +0 -53
  2021. package/dist/chunks/chunk-EKUHHOQW.js +0 -138
  2022. package/dist/chunks/chunk-ELFV25LI.js +0 -77
  2023. package/dist/chunks/chunk-EMEDASUX.js +0 -358
  2024. package/dist/chunks/chunk-EMS4NZUT.js +0 -175
  2025. package/dist/chunks/chunk-EOXHUUAR.js +0 -97
  2026. package/dist/chunks/chunk-EPJT7XID.js +0 -209
  2027. package/dist/chunks/chunk-EPRZIVBG.js +0 -118
  2028. package/dist/chunks/chunk-ER77PGJ2.js +0 -44
  2029. package/dist/chunks/chunk-EUOAZ3L6.js +0 -95
  2030. package/dist/chunks/chunk-EUPE4RLA.js +0 -1307
  2031. package/dist/chunks/chunk-EUXYCQMP.js +0 -95
  2032. package/dist/chunks/chunk-EWGPXXIT.js +0 -201
  2033. package/dist/chunks/chunk-EY67EBTX.js +0 -45
  2034. package/dist/chunks/chunk-F2OSJ7XL.js +0 -187
  2035. package/dist/chunks/chunk-F3HHF7BC.js +0 -75
  2036. package/dist/chunks/chunk-F3SC47IO.js +0 -225
  2037. package/dist/chunks/chunk-F5PNHMRQ.js +0 -130
  2038. package/dist/chunks/chunk-F5SCG5SN.js +0 -391
  2039. package/dist/chunks/chunk-F66PYEH6.js +0 -119
  2040. package/dist/chunks/chunk-F72PU3NF.js +0 -117
  2041. package/dist/chunks/chunk-FALOQ4S3.js +0 -307
  2042. package/dist/chunks/chunk-FAX3UK33.js +0 -122
  2043. package/dist/chunks/chunk-FB3NR4RI.js +0 -30
  2044. package/dist/chunks/chunk-FBO2VZE3.js +0 -331
  2045. package/dist/chunks/chunk-FDOMVRMS.js +0 -147
  2046. package/dist/chunks/chunk-FDOXEDN5.js +0 -73
  2047. package/dist/chunks/chunk-FE26XBSI.js +0 -180
  2048. package/dist/chunks/chunk-FED4KVSF.js +0 -163
  2049. package/dist/chunks/chunk-FF2OENEB.js +0 -33
  2050. package/dist/chunks/chunk-FF7G5ZH2.js +0 -23
  2051. package/dist/chunks/chunk-FFP2HNNY.js +0 -88
  2052. package/dist/chunks/chunk-FGP5DAK5.js +0 -33
  2053. package/dist/chunks/chunk-FHIQWMKJ.js +0 -126
  2054. package/dist/chunks/chunk-FHITCTU6.js +0 -399
  2055. package/dist/chunks/chunk-FI2Q7OLK.js +0 -86
  2056. package/dist/chunks/chunk-FJ7N44HH.js +0 -250
  2057. package/dist/chunks/chunk-FJMQGCDH.js +0 -342
  2058. package/dist/chunks/chunk-FLPS23RA.js +0 -158
  2059. package/dist/chunks/chunk-FMMS2YQ2.js +0 -235
  2060. package/dist/chunks/chunk-FPYPFOUK.js +0 -79
  2061. package/dist/chunks/chunk-FRDOCYBJ.js +0 -234
  2062. package/dist/chunks/chunk-FSDFTG3C.js +0 -112
  2063. package/dist/chunks/chunk-FSSSSRKD.js +0 -50
  2064. package/dist/chunks/chunk-FSXWJRG7.js +0 -302
  2065. package/dist/chunks/chunk-FVY4LHQG.js +0 -214
  2066. package/dist/chunks/chunk-FWURGWI3.js +0 -23
  2067. package/dist/chunks/chunk-FZYDQLB4.js +0 -109
  2068. package/dist/chunks/chunk-G3ON5B34.js +0 -49
  2069. package/dist/chunks/chunk-G4A4PTXB.js +0 -258
  2070. package/dist/chunks/chunk-G5RKRUL2.js +0 -90
  2071. package/dist/chunks/chunk-G6QKBIFI.js +0 -184
  2072. package/dist/chunks/chunk-GBT5HYGL.js +0 -396
  2073. package/dist/chunks/chunk-GC45GJWR.js +0 -45
  2074. package/dist/chunks/chunk-GEKSHEHZ.js +0 -74
  2075. package/dist/chunks/chunk-GF3L65LH.js +0 -261
  2076. package/dist/chunks/chunk-GGWLSD5K.js +0 -10278
  2077. package/dist/chunks/chunk-GIG43WHK.js +0 -39
  2078. package/dist/chunks/chunk-GIKEMSR2.js +0 -153
  2079. package/dist/chunks/chunk-GJGE77IC.js +0 -115
  2080. package/dist/chunks/chunk-GK57O4JE.js +0 -77
  2081. package/dist/chunks/chunk-GL2JJ5PG.js +0 -120
  2082. package/dist/chunks/chunk-GMKOB7MK.js +0 -270
  2083. package/dist/chunks/chunk-GMOSQ4QK.js +0 -60
  2084. package/dist/chunks/chunk-GNNBEGQX.js +0 -152
  2085. package/dist/chunks/chunk-GNNCLAPP.js +0 -111
  2086. package/dist/chunks/chunk-GOREJHY4.js +0 -153
  2087. package/dist/chunks/chunk-GOUZCACF.js +0 -329
  2088. package/dist/chunks/chunk-GRHNDDWD.js +0 -80
  2089. package/dist/chunks/chunk-GSXFNS5T.js +0 -102
  2090. package/dist/chunks/chunk-GTGUYO64.js +0 -282
  2091. package/dist/chunks/chunk-GTNKDXFT.js +0 -338
  2092. package/dist/chunks/chunk-GVAKN6R5.js +0 -192
  2093. package/dist/chunks/chunk-GWJGC4TO.js +0 -78
  2094. package/dist/chunks/chunk-GXNQWDZ5.js +0 -113
  2095. package/dist/chunks/chunk-GYVS2U7W.js +0 -149
  2096. package/dist/chunks/chunk-H37PW4T2.js +0 -196
  2097. package/dist/chunks/chunk-H3GHMF4R.js +0 -33
  2098. package/dist/chunks/chunk-H54XPFBZ.js +0 -94
  2099. package/dist/chunks/chunk-H5L2UNF4.js +0 -239
  2100. package/dist/chunks/chunk-H6HEANCW.js +0 -154
  2101. package/dist/chunks/chunk-HB7RYHNI.js +0 -23
  2102. package/dist/chunks/chunk-HDELG5ET.js +0 -85
  2103. package/dist/chunks/chunk-HEUXXY44.js +0 -146
  2104. package/dist/chunks/chunk-HEWFPFKU.js +0 -60
  2105. package/dist/chunks/chunk-HFLBL2LQ.js +0 -23
  2106. package/dist/chunks/chunk-HH6PKMST.js +0 -136
  2107. package/dist/chunks/chunk-HH7SYSX2.js +0 -50
  2108. package/dist/chunks/chunk-HINXX63Q.js +0 -93
  2109. package/dist/chunks/chunk-HJ3BM4YS.js +0 -351
  2110. package/dist/chunks/chunk-HMSSL2CY.js +0 -91
  2111. package/dist/chunks/chunk-HOIQ6V2M.js +0 -255
  2112. package/dist/chunks/chunk-HOJG3DPC.js +0 -128
  2113. package/dist/chunks/chunk-HOMTXZRB.js +0 -68
  2114. package/dist/chunks/chunk-HOQWSQ6F.js +0 -221
  2115. package/dist/chunks/chunk-HOU5OW24.js +0 -123
  2116. package/dist/chunks/chunk-HP4UNKGH.js +0 -213
  2117. package/dist/chunks/chunk-HPTZDBSR.js +0 -79
  2118. package/dist/chunks/chunk-HQCCRDPH.js +0 -290
  2119. package/dist/chunks/chunk-HQJDNVPC.js +0 -23
  2120. package/dist/chunks/chunk-HTNTC4K3.js +0 -105
  2121. package/dist/chunks/chunk-HUUOD75U.js +0 -23
  2122. package/dist/chunks/chunk-HW64SMMM.js +0 -226
  2123. package/dist/chunks/chunk-HWCV6VTU.js +0 -118
  2124. package/dist/chunks/chunk-HWYTJA27.js +0 -213
  2125. package/dist/chunks/chunk-HX6JS4MF.js +0 -79
  2126. package/dist/chunks/chunk-HXXJBNF2.js +0 -169
  2127. package/dist/chunks/chunk-I32KG34K.js +0 -104
  2128. package/dist/chunks/chunk-I4T2CDXO.js +0 -196
  2129. package/dist/chunks/chunk-I4WMMZ7B.js +0 -146
  2130. package/dist/chunks/chunk-I5XSGPQD.js +0 -133
  2131. package/dist/chunks/chunk-I663A7ZD.js +0 -204
  2132. package/dist/chunks/chunk-I6ITFAKD.js +0 -95
  2133. package/dist/chunks/chunk-I7CEZ2JV.js +0 -256
  2134. package/dist/chunks/chunk-IBF2JDBW.js +0 -297
  2135. package/dist/chunks/chunk-ICXGJMGG.js +0 -104
  2136. package/dist/chunks/chunk-IDMW2KGH.js +0 -197
  2137. package/dist/chunks/chunk-IIDMZJKW.js +0 -106
  2138. package/dist/chunks/chunk-IJF5FBA5.js +0 -100
  2139. package/dist/chunks/chunk-IK5QFMAT.js +0 -120
  2140. package/dist/chunks/chunk-IMRRPW5Y.js +0 -137
  2141. package/dist/chunks/chunk-IPH7H54G.js +0 -70
  2142. package/dist/chunks/chunk-IQIWOGIX.js +0 -165
  2143. package/dist/chunks/chunk-IRPO6GSK.js +0 -149
  2144. package/dist/chunks/chunk-IUQWREQ7.js +0 -65
  2145. package/dist/chunks/chunk-IUR574PJ.js +0 -224
  2146. package/dist/chunks/chunk-IUSHBXDM.js +0 -153
  2147. package/dist/chunks/chunk-IUWNM2LI.js +0 -60
  2148. package/dist/chunks/chunk-IVFH4SFX.js +0 -105
  2149. package/dist/chunks/chunk-IVKT3XQH.js +0 -303
  2150. package/dist/chunks/chunk-IWFFNRAD.js +0 -41
  2151. package/dist/chunks/chunk-IWXKCTB2.js +0 -166
  2152. package/dist/chunks/chunk-IX6WSPGD.js +0 -192
  2153. package/dist/chunks/chunk-IYQQTQ7C.js +0 -122
  2154. package/dist/chunks/chunk-IZRUVDFB.js +0 -115
  2155. package/dist/chunks/chunk-J2VZIQTT.js +0 -92
  2156. package/dist/chunks/chunk-J4TJH4BL.js +0 -102
  2157. package/dist/chunks/chunk-J5MIVJ5X.js +0 -23
  2158. package/dist/chunks/chunk-J5R5U5SH.js +0 -147
  2159. package/dist/chunks/chunk-J5W76QKP.js +0 -33
  2160. package/dist/chunks/chunk-J75HBCRN.js +0 -161
  2161. package/dist/chunks/chunk-JABRVA4O.js +0 -33
  2162. package/dist/chunks/chunk-JBGRQFRL.js +0 -299
  2163. package/dist/chunks/chunk-JBPOUVVP.js +0 -196
  2164. package/dist/chunks/chunk-JCKQJBMQ.js +0 -111
  2165. package/dist/chunks/chunk-JDHA3Y5K.js +0 -146
  2166. package/dist/chunks/chunk-JEGIRA6F.js +0 -118
  2167. package/dist/chunks/chunk-JESDFPMS.js +0 -307
  2168. package/dist/chunks/chunk-JGWWE2UU.js +0 -84
  2169. package/dist/chunks/chunk-JHALIAWK.js +0 -23
  2170. package/dist/chunks/chunk-JHN4E73P.js +0 -181
  2171. package/dist/chunks/chunk-JIND5RJW.js +0 -320
  2172. package/dist/chunks/chunk-JINGFS5I.js +0 -130
  2173. package/dist/chunks/chunk-JN5RLRCN.js +0 -222
  2174. package/dist/chunks/chunk-JO6UKBRW.js +0 -114
  2175. package/dist/chunks/chunk-JOD2AJP6.js +0 -320
  2176. package/dist/chunks/chunk-JQYFYXVL.js +0 -121
  2177. package/dist/chunks/chunk-JSVLUKRH.js +0 -71
  2178. package/dist/chunks/chunk-JT42TAWR.js +0 -62
  2179. package/dist/chunks/chunk-JTZJ656K.js +0 -23
  2180. package/dist/chunks/chunk-JYFOJT6M.js +0 -276
  2181. package/dist/chunks/chunk-JYFXZVUP.js +0 -368
  2182. package/dist/chunks/chunk-JYH67NU7.js +0 -85
  2183. package/dist/chunks/chunk-JZH5F23D.js +0 -33
  2184. package/dist/chunks/chunk-JZSRK2HE.js +0 -78
  2185. package/dist/chunks/chunk-K2NTKTG2.js +0 -126
  2186. package/dist/chunks/chunk-K2XMSCUG.js +0 -44
  2187. package/dist/chunks/chunk-K3PU5AGQ.js +0 -151
  2188. package/dist/chunks/chunk-K5ICU3QU.js +0 -158
  2189. package/dist/chunks/chunk-K5ZD6GAZ.js +0 -33
  2190. package/dist/chunks/chunk-K6BENAMS.js +0 -36
  2191. package/dist/chunks/chunk-K7A7SA55.js +0 -124
  2192. package/dist/chunks/chunk-KAB7HSUS.js +0 -54
  2193. package/dist/chunks/chunk-KB7RSDLW.js +0 -53
  2194. package/dist/chunks/chunk-KBIJ77KG.js +0 -85
  2195. package/dist/chunks/chunk-KCMMVSGB.js +0 -685
  2196. package/dist/chunks/chunk-KDVL2XO2.js +0 -106
  2197. package/dist/chunks/chunk-KDYDZJVY.js +0 -102
  2198. package/dist/chunks/chunk-KE7FAMH5.js +0 -107
  2199. package/dist/chunks/chunk-KFYBNL2B.js +0 -95
  2200. package/dist/chunks/chunk-KGLWPDKJ.js +0 -232
  2201. package/dist/chunks/chunk-KKFCDWOM.js +0 -80
  2202. package/dist/chunks/chunk-KKNSG4RW.js +0 -139
  2203. package/dist/chunks/chunk-KMOW3NNZ.js +0 -177
  2204. package/dist/chunks/chunk-KNJTVVRI.js +0 -127
  2205. package/dist/chunks/chunk-KPXKRGY3.js +0 -138
  2206. package/dist/chunks/chunk-KQP36MRB.js +0 -226
  2207. package/dist/chunks/chunk-KRLZ2T7I.js +0 -244
  2208. package/dist/chunks/chunk-KSNYWMVS.js +0 -48
  2209. package/dist/chunks/chunk-KU3KKF2S.js +0 -161
  2210. package/dist/chunks/chunk-KU3XWYNC.js +0 -91
  2211. package/dist/chunks/chunk-KWAOG7GM.js +0 -83
  2212. package/dist/chunks/chunk-KZ4FU44P.js +0 -103
  2213. package/dist/chunks/chunk-KZCJ3BNI.js +0 -167
  2214. package/dist/chunks/chunk-L24E26CU.js +0 -180
  2215. package/dist/chunks/chunk-L2K45AHZ.js +0 -312
  2216. package/dist/chunks/chunk-L3JUXB4U.js +0 -251
  2217. package/dist/chunks/chunk-L4STGZJK.js +0 -33
  2218. package/dist/chunks/chunk-L7U6HQD5.js +0 -150
  2219. package/dist/chunks/chunk-LAW4QRVS.js +0 -655
  2220. package/dist/chunks/chunk-LBTTSYVC.js +0 -41
  2221. package/dist/chunks/chunk-LCOUYL6Q.js +0 -33
  2222. package/dist/chunks/chunk-LEIILYES.js +0 -115
  2223. package/dist/chunks/chunk-LGFKJ2XN.js +0 -345
  2224. package/dist/chunks/chunk-LKY26YDG.js +0 -2070
  2225. package/dist/chunks/chunk-LLTNRLGJ.js +0 -129
  2226. package/dist/chunks/chunk-LQ4O7QZM.js +0 -163
  2227. package/dist/chunks/chunk-LQJPK4HL.js +0 -104
  2228. package/dist/chunks/chunk-LTAEVQXS.js +0 -169
  2229. package/dist/chunks/chunk-LTWM2IBV.js +0 -55
  2230. package/dist/chunks/chunk-LUHNZXXZ.js +0 -248
  2231. package/dist/chunks/chunk-LV5LQS5P.js +0 -179
  2232. package/dist/chunks/chunk-LWMI7GAT.js +0 -96
  2233. package/dist/chunks/chunk-LY4XC5PG.js +0 -240
  2234. package/dist/chunks/chunk-LZDQRTAJ.js +0 -45
  2235. package/dist/chunks/chunk-LZQLRLCS.js +0 -78
  2236. package/dist/chunks/chunk-M6OUEH7U.js +0 -141
  2237. package/dist/chunks/chunk-M7BX3VTT.js +0 -324
  2238. package/dist/chunks/chunk-M7MI4LW4.js +0 -738
  2239. package/dist/chunks/chunk-M7N7L6U2.js +0 -101
  2240. package/dist/chunks/chunk-MAEUX2HV.js +0 -187
  2241. package/dist/chunks/chunk-MAN4QVOU.js +0 -120
  2242. package/dist/chunks/chunk-MBY7GOXI.js +0 -177
  2243. package/dist/chunks/chunk-MCFQPNZF.js +0 -106
  2244. package/dist/chunks/chunk-MDHYRK23.js +0 -174
  2245. package/dist/chunks/chunk-MDPNMJYT.js +0 -109
  2246. package/dist/chunks/chunk-MEUPQKBB.js +0 -69
  2247. package/dist/chunks/chunk-MG5LBDI7.js +0 -86
  2248. package/dist/chunks/chunk-MG5QDKHG.js +0 -684
  2249. package/dist/chunks/chunk-MHTZWZYG.js +0 -87
  2250. package/dist/chunks/chunk-MIFPSPDM.js +0 -45
  2251. package/dist/chunks/chunk-MIFXIXML.js +0 -177
  2252. package/dist/chunks/chunk-MIIJFG2E.js +0 -346
  2253. package/dist/chunks/chunk-MJ42KT47.js +0 -23
  2254. package/dist/chunks/chunk-MLWM7FMV.js +0 -99
  2255. package/dist/chunks/chunk-MM46UROB.js +0 -182
  2256. package/dist/chunks/chunk-MMFL7HGS.js +0 -261
  2257. package/dist/chunks/chunk-MNZTMGWW.js +0 -100
  2258. package/dist/chunks/chunk-MPOFAYLC.js +0 -193
  2259. package/dist/chunks/chunk-MQSULBDY.js +0 -102
  2260. package/dist/chunks/chunk-MSEZTWEY.js +0 -122
  2261. package/dist/chunks/chunk-MXDXSRN4.js +0 -168
  2262. package/dist/chunks/chunk-MXG2UFTK.js +0 -23
  2263. package/dist/chunks/chunk-MXKWYIDP.js +0 -147
  2264. package/dist/chunks/chunk-MYVBGCB5.js +0 -101
  2265. package/dist/chunks/chunk-MZKD36NK.js +0 -112
  2266. package/dist/chunks/chunk-MZMKBHIA.js +0 -81
  2267. package/dist/chunks/chunk-N3XKIUGG.js +0 -73
  2268. package/dist/chunks/chunk-N5GHAGDW.js +0 -237
  2269. package/dist/chunks/chunk-N5L5R2NJ.js +0 -127
  2270. package/dist/chunks/chunk-N6WMFQ7R.js +0 -218
  2271. package/dist/chunks/chunk-N7EV7IUB.js +0 -266
  2272. package/dist/chunks/chunk-NAUP4WDH.js +0 -110
  2273. package/dist/chunks/chunk-NBG42GVP.js +0 -33
  2274. package/dist/chunks/chunk-NBI4KGL2.js +0 -112
  2275. package/dist/chunks/chunk-ND6SQGXD.js +0 -123
  2276. package/dist/chunks/chunk-NENCFJKK.js +0 -172
  2277. package/dist/chunks/chunk-NFQLIXFO.js +0 -133
  2278. package/dist/chunks/chunk-NH524MCP.js +0 -113
  2279. package/dist/chunks/chunk-NHCWXDCA.js +0 -1403
  2280. package/dist/chunks/chunk-NIFBB2IT.js +0 -33
  2281. package/dist/chunks/chunk-NIZHI3IQ.js +0 -282
  2282. package/dist/chunks/chunk-NJFRJKUL.js +0 -117
  2283. package/dist/chunks/chunk-NMCJWKEU.js +0 -182
  2284. package/dist/chunks/chunk-NMX3PO3M.js +0 -137
  2285. package/dist/chunks/chunk-NORHNWBU.js +0 -130
  2286. package/dist/chunks/chunk-NOVN63GQ.js +0 -100
  2287. package/dist/chunks/chunk-NSKTFV4T.js +0 -188
  2288. package/dist/chunks/chunk-NWE6O5JD.js +0 -152
  2289. package/dist/chunks/chunk-NXVJ6PD5.js +0 -305
  2290. package/dist/chunks/chunk-NYLMY64W.js +0 -331
  2291. package/dist/chunks/chunk-O6OYLVTB.js +0 -83
  2292. package/dist/chunks/chunk-O6YX2TH3.js +0 -462
  2293. package/dist/chunks/chunk-O7ZE4KNK.js +0 -112
  2294. package/dist/chunks/chunk-OAMCGR3C.js +0 -358
  2295. package/dist/chunks/chunk-OATTW5IM.js +0 -83
  2296. package/dist/chunks/chunk-OEMYUOB2.js +0 -101
  2297. package/dist/chunks/chunk-OEOOTHUW.js +0 -82
  2298. package/dist/chunks/chunk-OFNRBWTY.js +0 -33
  2299. package/dist/chunks/chunk-OG7OI742.js +0 -122
  2300. package/dist/chunks/chunk-OGKZTUBW.js +0 -91
  2301. package/dist/chunks/chunk-OH5ZGLNK.js +0 -33
  2302. package/dist/chunks/chunk-OHFWKYPZ.js +0 -326
  2303. package/dist/chunks/chunk-OIW3U66R.js +0 -87
  2304. package/dist/chunks/chunk-OK6NQVCT.js +0 -165
  2305. package/dist/chunks/chunk-OMG6UJTF.js +0 -362
  2306. package/dist/chunks/chunk-OO42GZZ2.js +0 -181
  2307. package/dist/chunks/chunk-OOKFO2T7.js +0 -49
  2308. package/dist/chunks/chunk-OOPL3Q3C.js +0 -261
  2309. package/dist/chunks/chunk-OOQ3J3XK.js +0 -100
  2310. package/dist/chunks/chunk-OR2J3LHK.js +0 -191
  2311. package/dist/chunks/chunk-OSE3T7T7.js +0 -111
  2312. package/dist/chunks/chunk-OVEFAI35.js +0 -155
  2313. package/dist/chunks/chunk-OVPDS7EI.js +0 -197
  2314. package/dist/chunks/chunk-OWGZKFWU.js +0 -173
  2315. package/dist/chunks/chunk-P3KZL4D3.js +0 -156
  2316. package/dist/chunks/chunk-P4WYW6UM.js +0 -140
  2317. package/dist/chunks/chunk-P64CU4G4.js +0 -283
  2318. package/dist/chunks/chunk-P65CHL53.js +0 -12936
  2319. package/dist/chunks/chunk-P67OJTEU.js +0 -161
  2320. package/dist/chunks/chunk-P7MSRZ7B.js +0 -135
  2321. package/dist/chunks/chunk-PACHA46O.js +0 -250
  2322. package/dist/chunks/chunk-PCWFQ6II.js +0 -231
  2323. package/dist/chunks/chunk-PE5TEJS5.js +0 -89
  2324. package/dist/chunks/chunk-PGDUZVLO.js +0 -70
  2325. package/dist/chunks/chunk-PH2QZAA2.js +0 -97
  2326. package/dist/chunks/chunk-PHH2CCKN.js +0 -196
  2327. package/dist/chunks/chunk-PHLXIICR.js +0 -142
  2328. package/dist/chunks/chunk-PINJAI3P.js +0 -45
  2329. package/dist/chunks/chunk-PLRG74HL.js +0 -152
  2330. package/dist/chunks/chunk-PMUJPMJR.js +0 -119
  2331. package/dist/chunks/chunk-PMZZCHFX.js +0 -81
  2332. package/dist/chunks/chunk-PN5ZWEYZ.js +0 -47
  2333. package/dist/chunks/chunk-PS3KAXZK.js +0 -89
  2334. package/dist/chunks/chunk-PUE7ITIB.js +0 -111
  2335. package/dist/chunks/chunk-PYUJLKOT.js +0 -80
  2336. package/dist/chunks/chunk-Q3CTXAWI.js +0 -45
  2337. package/dist/chunks/chunk-Q5AD7FBR.js +0 -112
  2338. package/dist/chunks/chunk-Q7NYYBVV.js +0 -198
  2339. package/dist/chunks/chunk-QAHTXB3B.js +0 -283
  2340. package/dist/chunks/chunk-QB6HFBIE.js +0 -36
  2341. package/dist/chunks/chunk-QCNBRVHD.js +0 -559
  2342. package/dist/chunks/chunk-QEFTNAJI.js +0 -65
  2343. package/dist/chunks/chunk-QGYPRHHZ.js +0 -171
  2344. package/dist/chunks/chunk-QHQLAY77.js +0 -172
  2345. package/dist/chunks/chunk-QJ4URWSB.js +0 -23
  2346. package/dist/chunks/chunk-QJ5AJILA.js +0 -76
  2347. package/dist/chunks/chunk-QJVJPD2T.js +0 -105
  2348. package/dist/chunks/chunk-QKJLDSJN.js +0 -135
  2349. package/dist/chunks/chunk-QKW4FNNS.js +0 -221
  2350. package/dist/chunks/chunk-QLQ7IPUB.js +0 -41
  2351. package/dist/chunks/chunk-QNOZYJKX.js +0 -23
  2352. package/dist/chunks/chunk-QPGI52VG.js +0 -123
  2353. package/dist/chunks/chunk-QR6MONVY.js +0 -157
  2354. package/dist/chunks/chunk-QUHWXOFW.js +0 -23
  2355. package/dist/chunks/chunk-QWPKFW3J.js +0 -33
  2356. package/dist/chunks/chunk-QWWMC77O.js +0 -93
  2357. package/dist/chunks/chunk-QWZGSA3Y.js +0 -49
  2358. package/dist/chunks/chunk-QYKJLK4O.js +0 -156
  2359. package/dist/chunks/chunk-R2E4AUIM.js +0 -160
  2360. package/dist/chunks/chunk-R322HJ6Y.js +0 -157
  2361. package/dist/chunks/chunk-R4I54YUW.js +0 -155
  2362. package/dist/chunks/chunk-R67FM467.js +0 -87
  2363. package/dist/chunks/chunk-R6KWX7HU.js +0 -77
  2364. package/dist/chunks/chunk-R6WMZZIR.js +0 -272
  2365. package/dist/chunks/chunk-R7D2HZOG.js +0 -23
  2366. package/dist/chunks/chunk-RCIY2UY2.js +0 -92
  2367. package/dist/chunks/chunk-RD4BY3DL.js +0 -152
  2368. package/dist/chunks/chunk-REMBLPYQ.js +0 -139
  2369. package/dist/chunks/chunk-REUKYDSU.js +0 -115
  2370. package/dist/chunks/chunk-RGNFA7RM.js +0 -149
  2371. package/dist/chunks/chunk-RGRYDSUK.js +0 -93
  2372. package/dist/chunks/chunk-RGTROMZ6.js +0 -115
  2373. package/dist/chunks/chunk-RIJUHEFX.js +0 -100
  2374. package/dist/chunks/chunk-RJVHVN6H.js +0 -262
  2375. package/dist/chunks/chunk-RKE7C7ER.js +0 -80
  2376. package/dist/chunks/chunk-RL2JA4JN.js +0 -301
  2377. package/dist/chunks/chunk-RLRUELE3.js +0 -30
  2378. package/dist/chunks/chunk-RM6KMHC2.js +0 -129
  2379. package/dist/chunks/chunk-ROWWZXJK.js +0 -209
  2380. package/dist/chunks/chunk-RQ7HAMQM.js +0 -169
  2381. package/dist/chunks/chunk-RRIJTPFE.js +0 -71
  2382. package/dist/chunks/chunk-RRL7TN65.js +0 -135
  2383. package/dist/chunks/chunk-RRQAOLXX.js +0 -197
  2384. package/dist/chunks/chunk-RVC27BTB.js +0 -147
  2385. package/dist/chunks/chunk-RVGZ7EKG.js +0 -141
  2386. package/dist/chunks/chunk-RVSX2MQ7.js +0 -115
  2387. package/dist/chunks/chunk-RXSSRGPO.js +0 -151
  2388. package/dist/chunks/chunk-RZTKPSZN.js +0 -80
  2389. package/dist/chunks/chunk-RZUXGGRP.js +0 -1336
  2390. package/dist/chunks/chunk-S2M3TMKG.js +0 -160
  2391. package/dist/chunks/chunk-S3M7M5HU.js +0 -144
  2392. package/dist/chunks/chunk-S7GI5CIM.js +0 -172
  2393. package/dist/chunks/chunk-S7TYK43L.js +0 -127
  2394. package/dist/chunks/chunk-SA3YT2AV.js +0 -130
  2395. package/dist/chunks/chunk-SA6TVSPF.js +0 -123
  2396. package/dist/chunks/chunk-SBPYSZDS.js +0 -140
  2397. package/dist/chunks/chunk-SEHMG73P.js +0 -135
  2398. package/dist/chunks/chunk-SES5IB64.js +0 -382
  2399. package/dist/chunks/chunk-SGYLU5DH.js +0 -33
  2400. package/dist/chunks/chunk-SIHPBRGB.js +0 -170
  2401. package/dist/chunks/chunk-SNKJX4OY.js +0 -337
  2402. package/dist/chunks/chunk-SOE4QQPF.js +0 -503
  2403. package/dist/chunks/chunk-SOU52U4S.js +0 -969
  2404. package/dist/chunks/chunk-SQXXMPID.js +0 -157
  2405. package/dist/chunks/chunk-SREWH4SZ.js +0 -122
  2406. package/dist/chunks/chunk-SSEAVZKE.js +0 -46
  2407. package/dist/chunks/chunk-SYZOAPND.js +0 -36
  2408. package/dist/chunks/chunk-SZSCAEFZ.js +0 -63
  2409. package/dist/chunks/chunk-T3BKG2JX.js +0 -277
  2410. package/dist/chunks/chunk-T3V2SPJE.js +0 -85
  2411. package/dist/chunks/chunk-T3WFO2EM.js +0 -141
  2412. package/dist/chunks/chunk-T4B43GDP.js +0 -106
  2413. package/dist/chunks/chunk-T4E6C5D3.js +0 -120
  2414. package/dist/chunks/chunk-T4SN2TR7.js +0 -344
  2415. package/dist/chunks/chunk-T6YOOBUA.js +0 -145
  2416. package/dist/chunks/chunk-TBB7A5NM.js +0 -23
  2417. package/dist/chunks/chunk-TDJ6GUYT.js +0 -1393
  2418. package/dist/chunks/chunk-TFARXVKZ.js +0 -728
  2419. package/dist/chunks/chunk-TFY5XLR3.js +0 -45
  2420. package/dist/chunks/chunk-TGR3I4IE.js +0 -80
  2421. package/dist/chunks/chunk-TI5ANARH.js +0 -93
  2422. package/dist/chunks/chunk-TIFUYBY6.js +0 -182
  2423. package/dist/chunks/chunk-TJ2QRUWE.js +0 -81
  2424. package/dist/chunks/chunk-TNGCXXGL.js +0 -115
  2425. package/dist/chunks/chunk-TNU2HTYK.js +0 -107
  2426. package/dist/chunks/chunk-TQ4WHC4R.js +0 -176
  2427. package/dist/chunks/chunk-TQ6YAGCF.js +0 -74
  2428. package/dist/chunks/chunk-TQDJGEW7.js +0 -173
  2429. package/dist/chunks/chunk-TR6HGKI3.js +0 -198
  2430. package/dist/chunks/chunk-TR6N5YBJ.js +0 -100
  2431. package/dist/chunks/chunk-TSDGHTAX.js +0 -260
  2432. package/dist/chunks/chunk-TSNLC3BJ.js +0 -215
  2433. package/dist/chunks/chunk-TT2KK4BF.js +0 -261
  2434. package/dist/chunks/chunk-TTGN7N4A.js +0 -33
  2435. package/dist/chunks/chunk-TVH25LBR.js +0 -51
  2436. package/dist/chunks/chunk-TWFKVCQC.js +0 -164
  2437. package/dist/chunks/chunk-TWM6YXFH.js +0 -23
  2438. package/dist/chunks/chunk-TYAFUHOF.js +0 -97
  2439. package/dist/chunks/chunk-TZ4WA7RT.js +0 -170
  2440. package/dist/chunks/chunk-TZZAVMAP.js +0 -45
  2441. package/dist/chunks/chunk-U3CJPFRW.js +0 -166
  2442. package/dist/chunks/chunk-U4KUO5LU.js +0 -287
  2443. package/dist/chunks/chunk-U5OOYFKQ.js +0 -163
  2444. package/dist/chunks/chunk-U5YUATA6.js +0 -48
  2445. package/dist/chunks/chunk-U6UJK52Q.js +0 -160
  2446. package/dist/chunks/chunk-UA7HXWVA.js +0 -110
  2447. package/dist/chunks/chunk-UABXOHDB.js +0 -80
  2448. package/dist/chunks/chunk-UBGAUBDN.js +0 -284
  2449. package/dist/chunks/chunk-UCFUHSTU.js +0 -242
  2450. package/dist/chunks/chunk-UHADDF4I.js +0 -105
  2451. package/dist/chunks/chunk-UHQUYPXK.js +0 -23
  2452. package/dist/chunks/chunk-UI5HVO62.js +0 -183
  2453. package/dist/chunks/chunk-UIBSQFO2.js +0 -23
  2454. package/dist/chunks/chunk-UIZOCVLX.js +0 -106
  2455. package/dist/chunks/chunk-UJLZKWLH.js +0 -88
  2456. package/dist/chunks/chunk-UQNN5N3B.js +0 -97
  2457. package/dist/chunks/chunk-URVZGOUA.js +0 -263
  2458. package/dist/chunks/chunk-URY4PJZY.js +0 -142
  2459. package/dist/chunks/chunk-US5HNTAF.js +0 -278
  2460. package/dist/chunks/chunk-UT4LQYGN.js +0 -78
  2461. package/dist/chunks/chunk-UTOMSNP2.js +0 -169
  2462. package/dist/chunks/chunk-UU77ORZN.js +0 -94
  2463. package/dist/chunks/chunk-UX4MFGM4.js +0 -150
  2464. package/dist/chunks/chunk-UXDZOYMA.js +0 -45
  2465. package/dist/chunks/chunk-UYDTZBP6.js +0 -23
  2466. package/dist/chunks/chunk-UYIT4HE6.js +0 -488
  2467. package/dist/chunks/chunk-UYJPAKVZ.js +0 -146
  2468. package/dist/chunks/chunk-UYOD4GRL.js +0 -232
  2469. package/dist/chunks/chunk-UYYONOU2.js +0 -1309
  2470. package/dist/chunks/chunk-V6P274UB.js +0 -50
  2471. package/dist/chunks/chunk-VBSNNVGR.js +0 -55
  2472. package/dist/chunks/chunk-VBYCVYWC.js +0 -50
  2473. package/dist/chunks/chunk-VDU3J322.js +0 -42
  2474. package/dist/chunks/chunk-VELXTRKI.js +0 -159
  2475. package/dist/chunks/chunk-VG4FWNEJ.js +0 -87
  2476. package/dist/chunks/chunk-VG4HZNNS.js +0 -121
  2477. package/dist/chunks/chunk-VHLKKUMZ.js +0 -94
  2478. package/dist/chunks/chunk-VLX7HGGX.js +0 -334
  2479. package/dist/chunks/chunk-VMB2GLIY.js +0 -155
  2480. package/dist/chunks/chunk-VMS2WQ6B.js +0 -106
  2481. package/dist/chunks/chunk-VND4KSR4.js +0 -166
  2482. package/dist/chunks/chunk-VNJXLQC4.js +0 -390
  2483. package/dist/chunks/chunk-VOC3BONH.js +0 -145
  2484. package/dist/chunks/chunk-VOCROMKE.js +0 -59
  2485. package/dist/chunks/chunk-VPRALXMW.js +0 -139
  2486. package/dist/chunks/chunk-VQPWYRYR.js +0 -133
  2487. package/dist/chunks/chunk-VTOYVKN3.js +0 -57
  2488. package/dist/chunks/chunk-VUFGU4BS.js +0 -55
  2489. package/dist/chunks/chunk-VUH5EGDZ.js +0 -188
  2490. package/dist/chunks/chunk-VWP6W45T.js +0 -293
  2491. package/dist/chunks/chunk-VZB3BRRM.js +0 -277
  2492. package/dist/chunks/chunk-W27ZFG3Z.js +0 -84
  2493. package/dist/chunks/chunk-W2ADWNFH.js +0 -181
  2494. package/dist/chunks/chunk-W2EPZUF5.js +0 -191
  2495. package/dist/chunks/chunk-W2OGOF5I.js +0 -66
  2496. package/dist/chunks/chunk-W3347ZDH.js +0 -94
  2497. package/dist/chunks/chunk-W3SCAWNA.js +0 -77
  2498. package/dist/chunks/chunk-W3WG2HMI.js +0 -270
  2499. package/dist/chunks/chunk-W4TEMU6H.js +0 -146
  2500. package/dist/chunks/chunk-W5MKCJ5O.js +0 -265
  2501. package/dist/chunks/chunk-W7PAJTE4.js +0 -103
  2502. package/dist/chunks/chunk-WB5DMMUT.js +0 -97
  2503. package/dist/chunks/chunk-WBIDI5VT.js +0 -92
  2504. package/dist/chunks/chunk-WFJSTP2I.js +0 -159
  2505. package/dist/chunks/chunk-WJG4GSI6.js +0 -361
  2506. package/dist/chunks/chunk-WJJ2VZXG.js +0 -23
  2507. package/dist/chunks/chunk-WK7CZCZE.js +0 -10729
  2508. package/dist/chunks/chunk-WKCKDN5Z.js +0 -23
  2509. package/dist/chunks/chunk-WMO7S47K.js +0 -151
  2510. package/dist/chunks/chunk-WMQADWEK.js +0 -78
  2511. package/dist/chunks/chunk-WMXMKAGO.js +0 -125
  2512. package/dist/chunks/chunk-WN3QDZGF.js +0 -202
  2513. package/dist/chunks/chunk-WO5XG46V.js +0 -147
  2514. package/dist/chunks/chunk-WQBVDROD.js +0 -303
  2515. package/dist/chunks/chunk-WRT6CDBC.js +0 -103
  2516. package/dist/chunks/chunk-WSE2C7XW.js +0 -274
  2517. package/dist/chunks/chunk-WTEC44DW.js +0 -106
  2518. package/dist/chunks/chunk-WYEWSSEI.js +0 -92
  2519. package/dist/chunks/chunk-X3I2QZMW.js +0 -98
  2520. package/dist/chunks/chunk-X3IMBK5X.js +0 -1136
  2521. package/dist/chunks/chunk-X4TSYMFD.js +0 -214
  2522. package/dist/chunks/chunk-X5EBB4QZ.js +0 -106
  2523. package/dist/chunks/chunk-X5UR3CLX.js +0 -95
  2524. package/dist/chunks/chunk-X5ZCQJLM.js +0 -191
  2525. package/dist/chunks/chunk-X66LW77C.js +0 -172
  2526. package/dist/chunks/chunk-X6EG7BQ2.js +0 -33
  2527. package/dist/chunks/chunk-X6HOQ2XY.js +0 -242
  2528. package/dist/chunks/chunk-XA2LCOFK.js +0 -162
  2529. package/dist/chunks/chunk-XAK74QEP.js +0 -266
  2530. package/dist/chunks/chunk-XAN5ICPT.js +0 -415
  2531. package/dist/chunks/chunk-XANCGIKF.js +0 -81
  2532. package/dist/chunks/chunk-XCNTFJB3.js +0 -119
  2533. package/dist/chunks/chunk-XCQM5PBT.js +0 -267
  2534. package/dist/chunks/chunk-XDBHDGOV.js +0 -330
  2535. package/dist/chunks/chunk-XDGBLS5F.js +0 -36
  2536. package/dist/chunks/chunk-XFR3AP6M.js +0 -626
  2537. package/dist/chunks/chunk-XHD4XDG2.js +0 -298
  2538. package/dist/chunks/chunk-XK2XABQI.js +0 -84
  2539. package/dist/chunks/chunk-XKJ7PA2I.js +0 -215
  2540. package/dist/chunks/chunk-XLEP4MJU.js +0 -154
  2541. package/dist/chunks/chunk-XMM57N6L.js +0 -23
  2542. package/dist/chunks/chunk-XN72LXIP.js +0 -33
  2543. package/dist/chunks/chunk-XNOSWIRT.js +0 -78
  2544. package/dist/chunks/chunk-XOX2LZ7G.js +0 -273
  2545. package/dist/chunks/chunk-XP5QURJ4.js +0 -84
  2546. package/dist/chunks/chunk-XPHSZD3P.js +0 -38
  2547. package/dist/chunks/chunk-XPYKAPRO.js +0 -163
  2548. package/dist/chunks/chunk-XRAOUJIV.js +0 -257
  2549. package/dist/chunks/chunk-XSS4JL2P.js +0 -134
  2550. package/dist/chunks/chunk-XTCX4LYW.js +0 -112
  2551. package/dist/chunks/chunk-XU7C7JN2.js +0 -33
  2552. package/dist/chunks/chunk-XUI74OFR.js +0 -125
  2553. package/dist/chunks/chunk-XYMPV6ON.js +0 -81
  2554. package/dist/chunks/chunk-Y2IKQZW6.js +0 -87
  2555. package/dist/chunks/chunk-Y4TO2YBR.js +0 -200
  2556. package/dist/chunks/chunk-YABNHS75.js +0 -43
  2557. package/dist/chunks/chunk-YATS2TZA.js +0 -156
  2558. package/dist/chunks/chunk-YDDK7MRX.js +0 -47
  2559. package/dist/chunks/chunk-YFCBSZYB.js +0 -54
  2560. package/dist/chunks/chunk-YGODIBPR.js +0 -204
  2561. package/dist/chunks/chunk-YII3C27O.js +0 -82
  2562. package/dist/chunks/chunk-YKEJYRBJ.js +0 -274
  2563. package/dist/chunks/chunk-YKV6CTTH.js +0 -94
  2564. package/dist/chunks/chunk-YLUXIR6O.js +0 -48
  2565. package/dist/chunks/chunk-YMW7LZKC.js +0 -94
  2566. package/dist/chunks/chunk-YQLA2V6F.js +0 -49
  2567. package/dist/chunks/chunk-YSUKNNLY.js +0 -66
  2568. package/dist/chunks/chunk-YUN7QNHS.js +0 -23
  2569. package/dist/chunks/chunk-YV74PLYL.js +0 -93
  2570. package/dist/chunks/chunk-YVAP455E.js +0 -117
  2571. package/dist/chunks/chunk-YVRR7PAA.js +0 -197
  2572. package/dist/chunks/chunk-YW2TRYWR.js +0 -109
  2573. package/dist/chunks/chunk-YW7HDVWW.js +0 -117
  2574. package/dist/chunks/chunk-YWHAMPCW.js +0 -23
  2575. package/dist/chunks/chunk-YXCQ5VKH.js +0 -238
  2576. package/dist/chunks/chunk-YXMZ67GM.js +0 -187
  2577. package/dist/chunks/chunk-YYEB6KOI.js +0 -23
  2578. package/dist/chunks/chunk-Z3RUU5JX.js +0 -186
  2579. package/dist/chunks/chunk-Z4VKCHJZ.js +0 -36
  2580. package/dist/chunks/chunk-Z5MQAYL7.js +0 -122
  2581. package/dist/chunks/chunk-Z7YKXXRK.js +0 -88
  2582. package/dist/chunks/chunk-ZARGZ7Q6.js +0 -777
  2583. package/dist/chunks/chunk-ZEFPR7B3.js +0 -108
  2584. package/dist/chunks/chunk-ZF2IOADF.js +0 -128
  2585. package/dist/chunks/chunk-ZI6L4CZM.js +0 -145
  2586. package/dist/chunks/chunk-ZJ2GS6QT.js +0 -92
  2587. package/dist/chunks/chunk-ZKOCF5QU.js +0 -52
  2588. package/dist/chunks/chunk-ZMZQWJW3.js +0 -167
  2589. package/dist/chunks/chunk-ZOUY5BKP.js +0 -209
  2590. package/dist/chunks/chunk-ZS3UMCQA.js +0 -260
  2591. package/dist/chunks/chunk-ZVTYZ6BK.js +0 -194
  2592. package/dist/chunks/chunk-ZW2UZANA.js +0 -101
  2593. package/dist/chunks/chunk-ZWTASQJI.js +0 -185
  2594. package/dist/chunks/chunk-ZYIHPPLX.js +0 -181
  2595. package/dist/chunks/chunk-ZZ42RKKB.js +0 -1574
  2596. package/dist/chunks/chunk-ZZGNRYZW.js +0 -94
  2597. package/dist/chunks/client-MGTRD3D5.js +0 -168
  2598. package/dist/chunks/client-NFHQ5AR2.js +0 -47
  2599. package/dist/chunks/client-UBP3IZBE.js +0 -31
  2600. package/dist/chunks/client-actions-LOEZVJGG.js +0 -168
  2601. package/dist/chunks/dangerous-U5MQQW2Z.js +0 -121
  2602. package/dist/chunks/delete-current-file-GZCO6LRS.js +0 -161
  2603. package/dist/chunks/editor-seams-DVU53E2R.js +0 -180
  2604. package/dist/chunks/editor-store-B5LF7ORJ.js +0 -147
  2605. package/dist/chunks/export-watermark-5YOHTVF2.js +0 -155
  2606. package/dist/chunks/eyedropper-4PKCVCPJ.js +0 -354
  2607. package/dist/chunks/generate-media-OZU5VNAM.js +0 -255
  2608. package/dist/chunks/host-IEOB7VLK.js +0 -180
  2609. package/dist/chunks/integrations-OYFFPUM7.js +0 -125
  2610. package/dist/chunks/kit-modules-5EXDWPLH.js +0 -18
  2611. package/dist/chunks/libraries-UT7OFUEL.js +0 -309
  2612. package/dist/chunks/live-AHHZJJMB.js +0 -321
  2613. package/dist/chunks/media-tool-XPMNFYXL.js +0 -236
  2614. package/dist/chunks/new-file-2JTQ7LYE.js +0 -139
  2615. package/dist/chunks/plugin-6KKJZ6SK.js +0 -128
  2616. package/dist/chunks/plugin-import-SS5WZ2CK.js +0 -688
  2617. package/dist/chunks/presence-HFNFA2OE.js +0 -136
  2618. package/dist/chunks/project-C5GHWD4S.js +0 -1654
  2619. package/dist/chunks/publish-site-7IVXVDCF.js +0 -165
  2620. package/dist/chunks/publish-store-CAJOF4BJ.js +0 -95
  2621. package/dist/chunks/raster-actions-AN77PUK7.js +0 -232
  2622. package/dist/chunks/runner-6ENG2HGY.js +0 -3543
  2623. package/dist/chunks/store-OGZZAKRG.js +0 -233
  2624. package/dist/chunks/sync-OHFX5W44.js +0 -160
  2625. package/dist/chunks/tabs-FTM5BHT7.js +0 -319
  2626. package/dist/chunks/team-BHQYP6SA.js +0 -47
  2627. package/dist/chunks/team-client-BK3AULCP.js +0 -158
  2628. package/dist/chunks/tools-JJFVJULW.js +0 -37
  2629. package/dist/chunks/ui-commands-7Q3MDB2U.js +0 -188
  2630. package/dist/chunks/versions-HGSPPDDA.js +0 -318
  2631. /package/dist/chunks/{chunk-NIE6HVZZ.js → chunk-SLCUJD3Q.js} +0 -0
@@ -0,0 +1,3543 @@
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-TKF4VKPA.js";
29
+ import {
30
+ registerBuiltinTools
31
+ } from "./chunk-NGXVOSSC.js";
32
+ import {
33
+ registerDangerousCommands
34
+ } from "./chunk-UENHHC76.js";
35
+ import "./chunk-ONKVSMEQ.js";
36
+ import "./chunk-BUFRZSMM.js";
37
+ import {
38
+ editBlockReason,
39
+ editorToolContext
40
+ } from "./chunk-PL5PW4HW.js";
41
+ import "./chunk-HVSKKQ6A.js";
42
+ import "./chunk-V55TRMJK.js";
43
+ import "./chunk-L4GISLYR.js";
44
+ import "./chunk-F7YP4K43.js";
45
+ import "./chunk-VCQKXTSJ.js";
46
+ import "./chunk-PEJWXGQC.js";
47
+ import "./chunk-XRQKZWVI.js";
48
+ import {
49
+ buildDesignContext,
50
+ joinWithin
51
+ } from "./chunk-GRK5TBXU.js";
52
+ import "./chunk-JFJ3HQUH.js";
53
+ import "./chunk-IT56AOP2.js";
54
+ import "./chunk-ZLYTVR5V.js";
55
+ import {
56
+ allTools,
57
+ getTool,
58
+ runTool,
59
+ toolSpecs
60
+ } from "./chunk-Z74EQ5OF.js";
61
+ import {
62
+ external_exports
63
+ } from "./chunk-IX7HAFDY.js";
64
+ import {
65
+ provideAgentCapability
66
+ } from "./chunk-DS2WBYV3.js";
67
+ import {
68
+ defineCommand
69
+ } from "./chunk-ZF2EYBXY.js";
70
+ import "./chunk-5K4KHDXE.js";
71
+ import "./chunk-JUHREBH6.js";
72
+ import "./chunk-FXGQC6EO.js";
73
+ import "./chunk-BGWFCJM3.js";
74
+ import "./chunk-YEKG65KC.js";
75
+ import "./chunk-BF66SQUV.js";
76
+ import "./chunk-EATT7YGW.js";
77
+ import "./chunk-I5KO7Z3V.js";
78
+ import "./chunk-WGPGWKOM.js";
79
+ import "./chunk-PQKEBND4.js";
80
+ import "./chunk-KLL6R7TS.js";
81
+ import "./chunk-MSZEYXS6.js";
82
+ import {
83
+ HYPERY_PAYMENT_SOURCE_HEADER,
84
+ paymentSourceHeaders
85
+ } from "./chunk-2GN7LJKB.js";
86
+ import {
87
+ aiAvailability,
88
+ effectiveChatModel,
89
+ useAiStore
90
+ } from "./chunk-SUTZWEBK.js";
91
+ import "./chunk-B44HAJ23.js";
92
+ import "./chunk-RYLHP2O6.js";
93
+ import "./chunk-KBKUIFSG.js";
94
+ import "./chunk-GKJ4R7AO.js";
95
+ import "./chunk-XSW6GOER.js";
96
+ import "./chunk-XSCQ664G.js";
97
+ import {
98
+ activeHyperyTeamId
99
+ } from "./chunk-AYKZUUKR.js";
100
+ import "./chunk-D3CLCZGW.js";
101
+ import "./chunk-VPTV5SAT.js";
102
+ import "./chunk-MB62O5QU.js";
103
+ import "./chunk-VZZISHR7.js";
104
+ import "./chunk-DOLFFITQ.js";
105
+ import "./chunk-YMNCL7HL.js";
106
+ import "./chunk-N5JZDV55.js";
107
+ import "./chunk-D4Z4GQVA.js";
108
+ import {
109
+ useEditorStore
110
+ } from "./chunk-SWGNCLE6.js";
111
+ import "./chunk-JVFT5JCN.js";
112
+ import "./chunk-OPKP7PLB.js";
113
+ import "./chunk-R42VU24I.js";
114
+ import "./chunk-RTBJUWEE.js";
115
+ import "./chunk-2X24SBJF.js";
116
+ import "./chunk-YI6INFCC.js";
117
+ import "./chunk-4VSNXAMJ.js";
118
+ import "./chunk-Y4HZT6ZK.js";
119
+ import "./chunk-GTV7PTZN.js";
120
+ import "./chunk-4TMQFC7N.js";
121
+ import "./chunk-WJ5AENMU.js";
122
+ import "./chunk-F7ZJLILS.js";
123
+ import "./chunk-OYHB5HHD.js";
124
+ import "./chunk-YOPRKOI2.js";
125
+ import "./chunk-5X5P6J5E.js";
126
+ import "./chunk-VV5R25FM.js";
127
+ import "./chunk-5S6BIAKH.js";
128
+ import "./chunk-GWD6TTLU.js";
129
+ import "./chunk-YFRH4VFJ.js";
130
+ import "./chunk-LZT24WFD.js";
131
+ import "./chunk-CIDLHLQA.js";
132
+ import {
133
+ HYPERY_GATEWAY_URL,
134
+ accessToken
135
+ } from "./chunk-SWATOWQ7.js";
136
+ import "./chunk-DI5RJPOO.js";
137
+ import {
138
+ create
139
+ } from "./chunk-RF3OTYGM.js";
140
+ import "./chunk-5RRJ3OUK.js";
141
+ import "./chunk-R76Q2NXH.js";
142
+ import "./chunk-LOK7CTO5.js";
143
+ import {
144
+ ToolError,
145
+ registerCommand
146
+ } from "./chunk-C6TKCQIN.js";
147
+ import "./chunk-OHUQUVGR.js";
148
+ import "./chunk-U5TNF4FD.js";
149
+ import "./chunk-FLIR6YUB.js";
150
+ import "./chunk-WHGSFSSY.js";
151
+ import "./chunk-477EUI4Z.js";
152
+ import "./chunk-P2NW47YG.js";
153
+ import "./chunk-4RTUOSBF.js";
154
+ import "./chunk-HKPI7735.js";
155
+ import "./chunk-KEGQKDIY.js";
156
+ import "./chunk-FDDIEIJD.js";
157
+ import "./chunk-P2CEVYHS.js";
158
+ import "./chunk-OFALULEO.js";
159
+ import "./chunk-3IQVFRRW.js";
160
+ import "./chunk-2BJLDUMY.js";
161
+ import "./chunk-GCTZIUSA.js";
162
+ import "./chunk-DED42YET.js";
163
+ import "./chunk-OVATAAFZ.js";
164
+ import "./chunk-R4YXAIS5.js";
165
+ import "./chunk-HTNGQQJV.js";
166
+ import "./chunk-FMHTQQRL.js";
167
+ import "./chunk-WCQYAGVV.js";
168
+ import "./chunk-LUSB47O4.js";
169
+ import "./chunk-KS7RULOR.js";
170
+ import "./chunk-CXP33D4N.js";
171
+ import "./chunk-PEXPNSUR.js";
172
+ import "./chunk-H2DBFJIM.js";
173
+ import "./chunk-CZWWQUEW.js";
174
+ import "./chunk-FRSIJWK3.js";
175
+ import "./chunk-UR5Y7MYO.js";
176
+ import "./chunk-6D2O4HUZ.js";
177
+ import "./chunk-7MLAZLEA.js";
178
+ import "./chunk-CLCVMEVY.js";
179
+ import "./chunk-7DX7JFC2.js";
180
+ import "./chunk-CD6X34SS.js";
181
+ import "./chunk-K6YHHLVZ.js";
182
+ import "./chunk-JZRYCJJG.js";
183
+ import "./chunk-W54W6D2B.js";
184
+ import "./chunk-6UXJBGEV.js";
185
+ import "./chunk-7UUZ6SRB.js";
186
+ import "./chunk-HFAX4VOH.js";
187
+ import "./chunk-HX5HYI3E.js";
188
+ import "./chunk-KMCXH26V.js";
189
+ import "./chunk-N7QSO55N.js";
190
+ import "./chunk-5FZ7QVYK.js";
191
+ import "./chunk-J63IETAC.js";
192
+ import "./chunk-BPKBRYSV.js";
193
+ import "./chunk-AVWA3JAF.js";
194
+ import "./chunk-QBTI2CGL.js";
195
+ import "./chunk-RKNQON7E.js";
196
+ import "./chunk-2366MPHZ.js";
197
+ import "./chunk-XLZMVQKY.js";
198
+ import "./chunk-MOYZOWIX.js";
199
+ import "./chunk-POJF2G5B.js";
200
+ import "./chunk-6QLWNWJX.js";
201
+ import "./chunk-PV7ZTM3F.js";
202
+ import "./chunk-PK2RCLDC.js";
203
+ import "./chunk-AWLIH4CH.js";
204
+ import "./chunk-TL6ZGIAR.js";
205
+ import "./chunk-44T3H5XM.js";
206
+ import "./chunk-UCJNEBYZ.js";
207
+ import "./chunk-SQ7USC3X.js";
208
+ import "./chunk-H2AUNFWD.js";
209
+ import "./chunk-Y7IUJPOM.js";
210
+ import "./chunk-WXW7JTA5.js";
211
+ import "./chunk-PLZVHGZM.js";
212
+ import "./chunk-TOWH6B7C.js";
213
+ import "./chunk-UPLDJXNZ.js";
214
+ import "./chunk-Z7PK7AWN.js";
215
+ import "./chunk-PYD5VOKT.js";
216
+ import "./chunk-DJ5KLJ7A.js";
217
+ import "./chunk-JJR7HAHO.js";
218
+ import "./chunk-LBJI53SG.js";
219
+ import "./chunk-EHOEZ34A.js";
220
+ import "./chunk-NHZNJXF7.js";
221
+ import "./chunk-GZT3V3ES.js";
222
+ import "./chunk-42RPNV3C.js";
223
+ import "./chunk-MCISMRZH.js";
224
+ import "./chunk-QQBWWMWJ.js";
225
+ import {
226
+ AI_LIMITS,
227
+ init_limits,
228
+ str
229
+ } from "./chunk-2R2YRFWA.js";
230
+ import "./chunk-3QZWRIZ6.js";
231
+ import "./chunk-E3H2BGGZ.js";
232
+ import "./chunk-QPFUGO5I.js";
233
+ import "./chunk-LBZ5HG2N.js";
234
+ import "./chunk-L526ZU42.js";
235
+ import "./chunk-X37C4LF3.js";
236
+ import "./chunk-XJSHWKAU.js";
237
+ import "./chunk-ZD6ILV7H.js";
238
+ import "./chunk-GFCHJUD7.js";
239
+ import "./chunk-NUZY5B5V.js";
240
+ import "./chunk-H7H4KGB3.js";
241
+ import "./chunk-6PJXTO2W.js";
242
+ import "./chunk-FJ72XXMM.js";
243
+ import {
244
+ init_define_POPCRAFT_COMPONENT_IDS
245
+ } from "./chunk-POJ5P6WK.js";
246
+ import "./chunk-LJSVREWM.js";
247
+
248
+ // lib/agent/runner.ts
249
+ init_define_POPCRAFT_COMPONENT_IDS();
250
+
251
+ // lib/agent/gateway.ts
252
+ init_define_POPCRAFT_COMPONENT_IDS();
253
+
254
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/index.js
255
+ init_define_POPCRAFT_COMPONENT_IDS();
256
+
257
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/hypery-model.js
258
+ init_define_POPCRAFT_COMPONENT_IDS();
259
+ var delay = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
260
+ var utf8Complete = ((b) => {
261
+ if (!Array.isArray(b)) return null;
262
+ const n = b.length;
263
+ for (let i = n - 1; i >= Math.max(0, n - 3); i--) {
264
+ const c = b[i];
265
+ if ((c & 192) === 128) continue;
266
+ const len = c <= 127 ? 1 : c >= 194 && c <= 223 ? 2 : c >= 224 && c <= 239 ? 3 : c >= 240 && c <= 244 ? 4 : 1;
267
+ return n - i < len ? i : n;
268
+ }
269
+ return n;
270
+ });
271
+ var utf8Decode = ((b) => typeof b === "string" ? b : Array.isArray(b) ? new TextDecoder().decode(Uint8Array.from(b)) : null);
272
+ var MAX_REQUEST_BYTES = 44e5;
273
+ var DEFAULT_IDLE_TIMEOUT_MS = 18e4;
274
+ var HYPERY_TEAM_HEADER = "x-hypery-active-organization-id";
275
+ var HYPERY_PAYMENT_SOURCE_HEADER2 = "x-hypery-payment-source";
276
+ function agentModelError(message, code, status) {
277
+ {
278
+ return { name: "AgentModelError", message, code: code ?? "ai_upstream", status: ((__v) => __v == null ? "null" : typeof __v)(status) === "number" ? status : 502 };
279
+ }
280
+ }
281
+ async function resolve(v) {
282
+ {
283
+ if (((__v) => __v == null ? "null" : typeof __v)(v) === "function") {
284
+ return await (v() ?? null);
285
+ }
286
+ return v ?? null;
287
+ }
288
+ }
289
+ function errorCodeFor(status, payload) {
290
+ {
291
+ 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") {
292
+ return payload.error.code;
293
+ }
294
+ if (status === 401) {
295
+ return "ai_reauth";
296
+ }
297
+ if (status === 402) {
298
+ return "ai_credits";
299
+ }
300
+ if (status === 403) {
301
+ return "ai_scope";
302
+ }
303
+ if (status === 429) {
304
+ return "ai_rate_limited";
305
+ }
306
+ return "ai_upstream";
307
+ }
308
+ }
309
+ function streamErrorMessage(payload, fallback) {
310
+ {
311
+ let otherwise = fallback ?? "The AI request failed.";
312
+ if (payload == null || ((__v) => __v == null ? "null" : typeof __v)(payload) !== "object") {
313
+ return otherwise;
314
+ }
315
+ let err = payload.error ?? null;
316
+ if (((__v) => __v == null ? "null" : typeof __v)(err) === "string" && (err.trim() ?? null) !== "") {
317
+ return err;
318
+ }
319
+ let message = err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" ? err.message ?? null : null;
320
+ if (message == null) {
321
+ message = payload.message ?? null;
322
+ }
323
+ return ((__v) => __v == null ? "null" : typeof __v)(message) === "string" && (message.trim() ?? null) !== "" ? message : otherwise;
324
+ }
325
+ }
326
+ function createStreamAccumulator() {
327
+ {
328
+ let buffer = "";
329
+ let text = "";
330
+ let reasoning = "";
331
+ let sawDone = false;
332
+ let calls = /* @__PURE__ */ new Map() ?? null;
333
+ let order = [];
334
+ return { push: (part) => {
335
+ {
336
+ buffer = buffer + part;
337
+ let out = [];
338
+ let nl = buffer.indexOf("\n") ?? null;
339
+ while (nl >= 0) {
340
+ let line = (buffer.slice(0, nl) ?? null).trim() ?? null;
341
+ buffer = buffer.slice(nl + 1) ?? null;
342
+ nl = buffer.indexOf("\n") ?? null;
343
+ if (!(line.startsWith("data:") ?? null)) {
344
+ continue;
345
+ }
346
+ let data = (line.slice(5) ?? null).trim() ?? null;
347
+ if (data === "") {
348
+ continue;
349
+ }
350
+ if (data === "[DONE]") {
351
+ sawDone = true;
352
+ continue;
353
+ }
354
+ let chunk = null;
355
+ try {
356
+ {
357
+ chunk = JSON.parse(data) ?? null;
358
+ }
359
+ } catch (e) {
360
+ {
361
+ continue;
362
+ }
363
+ }
364
+ if (chunk == null || ((__v) => __v == null ? "null" : typeof __v)(chunk) !== "object") {
365
+ continue;
366
+ }
367
+ if (chunk.error) {
368
+ 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";
369
+ throw agentModelError(streamErrorMessage(chunk, null) ?? null, code, 502) ?? null;
370
+ }
371
+ let choice = (Array.isArray(chunk.choices) ?? null) && chunk.choices.length > 0 ? chunk.choices[0] ?? null : null;
372
+ let delta = choice != null ? choice.delta ?? null : null;
373
+ if (delta == null) {
374
+ continue;
375
+ }
376
+ if (((__v) => __v == null ? "null" : typeof __v)(delta.content) === "string" && delta.content !== "") {
377
+ text = text + delta.content;
378
+ out.push({ textDelta: delta.content }) ?? null;
379
+ }
380
+ 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 : "";
381
+ if (r !== "") {
382
+ reasoning = reasoning + r;
383
+ out.push({ reasoningDelta: r }) ?? null;
384
+ }
385
+ for (const tc of Array.isArray(delta.tool_calls) ?? null ? delta.tool_calls : []) {
386
+ let i = ((__v) => __v == null ? "null" : typeof __v)(tc.index) === "number" ? tc.index : order.length > 0 ? order[order.length - 1] ?? null : 0;
387
+ if (!(calls.has(i) ?? null)) {
388
+ calls.set(i, { id: null, name: "", arguments: "" }) ?? null;
389
+ order.push(i) ?? null;
390
+ }
391
+ let call = calls.get(i) ?? null;
392
+ if (((__v) => __v == null ? "null" : typeof __v)(tc.id) === "string" && tc.id !== "") {
393
+ call.id = tc.id;
394
+ }
395
+ let f = tc["function"] ?? null ?? null;
396
+ if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.name) === "string") {
397
+ call.name = call.name + f.name;
398
+ }
399
+ if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.arguments) === "string" && f.arguments !== "") {
400
+ call.arguments = call.arguments + f.arguments;
401
+ out.push({ toolProgress: { index: i, name: call.name, bytes: call.arguments.length, arguments: call.arguments } }) ?? null;
402
+ }
403
+ }
404
+ }
405
+ return out;
406
+ }
407
+ }, result: () => {
408
+ {
409
+ let toolCalls = [];
410
+ let n = 0;
411
+ for (const i of order) {
412
+ let c = calls.get(i) ?? null;
413
+ if (c.name !== "") {
414
+ toolCalls.push({ id: c.id ?? "call_" + (String(n) ?? null), name: c.name, arguments: c.arguments }) ?? null;
415
+ }
416
+ n = n + 1;
417
+ }
418
+ return { text, reasoning, sawDone, toolCalls };
419
+ }
420
+ } };
421
+ }
422
+ }
423
+ function appendBytes(pending, chunk) {
424
+ {
425
+ let out = pending.slice() ?? null;
426
+ let i = 0;
427
+ while (i < chunk.length) {
428
+ out.push(chunk[i] ?? null) ?? null;
429
+ i = i + 1;
430
+ }
431
+ return out;
432
+ }
433
+ }
434
+ function callHook(hooks, name, value) {
435
+ {
436
+ if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
437
+ return;
438
+ }
439
+ let h = hooks[name] ?? null;
440
+ if (((__v) => __v == null ? "null" : typeof __v)(h) === "function") {
441
+ h(value) ?? null;
442
+ }
443
+ }
444
+ }
445
+ function createHyperyModel(opts) {
446
+ {
447
+ let idleMs = ((__v) => __v == null ? "null" : typeof __v)(opts.idleTimeoutMs) === "number" ? opts.idleTimeoutMs : DEFAULT_IDLE_TIMEOUT_MS;
448
+ let limit = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRequestBytes) === "number" ? opts.maxRequestBytes : MAX_REQUEST_BYTES;
449
+ let base = ((__v) => __v == null ? "null" : typeof __v)(opts.gatewayUrl) === "string" && opts.gatewayUrl !== "" ? opts.gatewayUrl : "https://hypery.ai";
450
+ if (base.endsWith("/") ?? null) {
451
+ base = base.slice(0, base.length - 1) ?? null;
452
+ }
453
+ return async (messages, tools, hooks, signal, req = null) => {
454
+ {
455
+ let token = await (resolve(opts.token) ?? null);
456
+ if (((__v) => __v == null ? "null" : typeof __v)(token) !== "string" || token === "") {
457
+ throw agentModelError("Sign in to Hypery to use the agent.", "ai_reauth", 401) ?? null;
458
+ }
459
+ let hasReq = req != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object";
460
+ let model = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.model) === "string" && req.model !== "" ? req.model : await (resolve(opts.model) ?? null);
461
+ let effort = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.effort) === "string" ? req.effort : await (resolve(opts.effort) ?? null);
462
+ let team = await (resolve(opts.team) ?? null);
463
+ let paymentSource = await (resolve(opts.paymentSource) ?? null);
464
+ let hasTools = (Array.isArray(tools) ?? null) && tools.length > 0;
465
+ let request = { model, messages, stream: true, max_tokens: ((__v) => __v == null ? "null" : typeof __v)(opts.maxTokens) === "number" ? opts.maxTokens : hasTools ? 16384 : 4096 };
466
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.temperature) === "number") {
467
+ request.temperature = opts.temperature;
468
+ }
469
+ if (((__v) => __v == null ? "null" : typeof __v)(effort) === "string" && effort !== "") {
470
+ request.reasoning = { effort };
471
+ }
472
+ if (hasTools) {
473
+ request.tools = tools;
474
+ let choice = hasReq ? req.toolChoice ?? null : null;
475
+ request.tool_choice = choice != null ? choice : "auto";
476
+ }
477
+ let body = JSON.stringify(request) ?? null;
478
+ if (body.length > limit) {
479
+ 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;
480
+ }
481
+ let headers = { Authorization: "Bearer " + token, "Content-Type": "application/json", Accept: "text/event-stream" };
482
+ if (((__v) => __v == null ? "null" : typeof __v)(team) === "string" && team !== "") {
483
+ headers[HYPERY_TEAM_HEADER] = team;
484
+ }
485
+ if (((__v) => __v == null ? "null" : typeof __v)(paymentSource) === "string" && paymentSource !== "") {
486
+ headers[HYPERY_PAYMENT_SOURCE_HEADER2] = paymentSource;
487
+ }
488
+ let init = { method: "POST", headers, body };
489
+ if (signal != null && ((__v) => __v == null ? "null" : typeof __v)(signal.addEventListener) === "function") {
490
+ init.signal = signal;
491
+ }
492
+ let res = null;
493
+ try {
494
+ {
495
+ res = await (opts.fetch(base + "/api/v1/chat/completions", init) ?? null);
496
+ }
497
+ } catch (err) {
498
+ {
499
+ if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && err.name === "AbortError") {
500
+ throw err;
501
+ }
502
+ throw agentModelError("Could not reach Hypery. Check your connection.", "network", 0) ?? null;
503
+ }
504
+ }
505
+ if (res.ok !== true || res.body == null) {
506
+ let text = "";
507
+ try {
508
+ {
509
+ text = await (res.text() ?? null);
510
+ }
511
+ } catch (e) {
512
+ {
513
+ text = "";
514
+ }
515
+ }
516
+ let payload = text;
517
+ try {
518
+ {
519
+ payload = JSON.parse(text) ?? null;
520
+ }
521
+ } catch (e) {
522
+ {
523
+ payload = text;
524
+ }
525
+ }
526
+ throw agentModelError(streamErrorMessage(payload, "The AI request failed (" + (String(res.status) ?? null) + ").") ?? null, errorCodeFor(res.status, payload) ?? null, res.status) ?? null;
527
+ }
528
+ let acc = createStreamAccumulator() ?? null;
529
+ let reader = res.body.getReader() ?? null;
530
+ let pending = [];
531
+ let stopReading = () => {
532
+ {
533
+ if (((__v) => __v == null ? "null" : typeof __v)(reader.cancel) === "function") {
534
+ try {
535
+ {
536
+ reader.cancel() ?? null;
537
+ }
538
+ } catch (e) {
539
+ {
540
+ }
541
+ }
542
+ }
543
+ }
544
+ };
545
+ while (true) {
546
+ if (signal != null && signal.aborted === true) {
547
+ stopReading() ?? null;
548
+ throw { name: "AbortError", message: "The request was stopped." };
549
+ }
550
+ let next = await (Promise.race([reader.read() ?? null, delay(idleMs) ?? null]) ?? null);
551
+ if (next == null) {
552
+ stopReading() ?? null;
553
+ throw agentModelError("The model stopped responding.", "ai_timeout", 504) ?? null;
554
+ }
555
+ if (next.done === true) {
556
+ break;
557
+ }
558
+ if (next.value == null) {
559
+ continue;
560
+ }
561
+ let bytes = appendBytes(pending, next.value) ?? null;
562
+ let whole = utf8Complete(bytes) ?? null;
563
+ pending = bytes.slice(whole) ?? null;
564
+ let events = [];
565
+ try {
566
+ {
567
+ events = acc.push(utf8Decode(bytes.slice(0, whole) ?? null) ?? null) ?? null;
568
+ }
569
+ } catch (err) {
570
+ {
571
+ stopReading() ?? null;
572
+ throw err;
573
+ }
574
+ }
575
+ for (const e of events) {
576
+ if (((__v) => __v == null ? "null" : typeof __v)(e.textDelta) === "string") {
577
+ callHook(hooks, "onTextDelta", e.textDelta) ?? null;
578
+ }
579
+ if (((__v) => __v == null ? "null" : typeof __v)(e.reasoningDelta) === "string") {
580
+ callHook(hooks, "onReasoningDelta", e.reasoningDelta) ?? null;
581
+ }
582
+ if (e.toolProgress != null) {
583
+ callHook(hooks, "onToolProgress", e.toolProgress) ?? null;
584
+ }
585
+ }
586
+ }
587
+ if (pending.length > 0) {
588
+ acc.push(utf8Decode(pending) ?? null) ?? null;
589
+ }
590
+ acc.push("\n") ?? null;
591
+ let r = acc.result() ?? null;
592
+ if (!r.sawDone && r.text === "" && r.toolCalls.length === 0) {
593
+ throw agentModelError("The response was cut off before it started. Try again.", "ai_upstream", 502) ?? null;
594
+ }
595
+ return { text: r.text, reasoning: r.reasoning, toolCalls: r.toolCalls };
596
+ }
597
+ };
598
+ }
599
+ }
600
+
601
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
602
+ init_define_POPCRAFT_COMPONENT_IDS();
603
+
604
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
605
+ init_define_POPCRAFT_COMPONENT_IDS();
606
+
607
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
608
+ init_define_POPCRAFT_COMPONENT_IDS();
609
+
610
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/roles.js
611
+ init_define_POPCRAFT_COMPONENT_IDS();
612
+ var MODEL_ROLES = ["lead", "swarm", "advisor", "router"];
613
+ function isModelRole(v) {
614
+ {
615
+ return ((__v) => __v == null ? "null" : typeof __v)(v) === "string" && (MODEL_ROLES.includes(v) ?? null);
616
+ }
617
+ }
618
+ function roleOfProfileModel(model) {
619
+ {
620
+ if ((model ?? null) == null || model === "" || model === "inherit") {
621
+ return "lead";
622
+ }
623
+ if (model === "fast") {
624
+ return "swarm";
625
+ }
626
+ if (isModelRole(model) ?? null) {
627
+ return model;
628
+ }
629
+ return null;
630
+ }
631
+ }
632
+ function resolveCatalogModel(wanted, fallback, catalog) {
633
+ {
634
+ if (!(Array.isArray(catalog) ?? null) || catalog.length === 0) {
635
+ return wanted;
636
+ }
637
+ let ids = new Set(catalog.map((m) => {
638
+ {
639
+ return ((__v) => __v == null ? "null" : typeof __v)(m) === "string" ? m : m != null && ((__v) => __v == null ? "null" : typeof __v)(m) === "object" ? m.id : "";
640
+ }
641
+ }) ?? null) ?? null;
642
+ if (ids.has(wanted) ?? null) {
643
+ return wanted;
644
+ }
645
+ for (const f of fallback ?? []) {
646
+ if (ids.has(f) ?? null) {
647
+ return f;
648
+ }
649
+ }
650
+ return wanted;
651
+ }
652
+ }
653
+ function resolveRole(role, roles, catalog) {
654
+ {
655
+ let spec = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles[role] ?? null ?? null : null;
656
+ if (spec == null || ((__v) => __v == null ? "null" : typeof __v)(spec.model) !== "string" || spec.model === "") {
657
+ return null;
658
+ }
659
+ return { model: resolveCatalogModel(spec.model, spec.fallback ?? null, catalog) ?? null, effort: spec.effort ?? null, fallback: spec.fallback ?? null };
660
+ }
661
+ }
662
+ function mergeRoles(roles, overrides) {
663
+ {
664
+ let base = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles : {};
665
+ if ((overrides ?? null) == null || ((__v) => __v == null ? "null" : typeof __v)(overrides) !== "object") {
666
+ return base;
667
+ }
668
+ let out = { ...base };
669
+ for (const r of MODEL_ROLES) {
670
+ let o = overrides[r] ?? null ?? null;
671
+ if (o == null) {
672
+ continue;
673
+ }
674
+ out[r] = ((__v) => __v == null ? "null" : typeof __v)(o) === "string" ? { ...base[r] ?? null ?? {}, model: o } : { ...base[r] ?? null ?? {}, ...o };
675
+ }
676
+ return out;
677
+ }
678
+ }
679
+ function roleModel(callModel, spec) {
680
+ {
681
+ return async (messages, tools, hooks = null, signal = null, req = null) => {
682
+ {
683
+ let r = (req ?? null) != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object" ? req : {};
684
+ let merged = { ...r, model: r.model ?? spec.model, effort: r.effort ?? spec.effort ?? null };
685
+ return await (callModel(messages, tools, hooks, signal, merged) ?? null);
686
+ }
687
+ };
688
+ }
689
+ }
690
+
691
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
692
+ var REPEATED_ERROR_COUNT = 2;
693
+ 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;
694
+ 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." };
695
+ function contentText(c) {
696
+ {
697
+ if (((__v) => __v == null ? "null" : typeof __v)(c) === "string") {
698
+ return c;
699
+ }
700
+ if (Array.isArray(c) ?? null) {
701
+ return (c.map((p) => {
702
+ {
703
+ return ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" ? p.text : "[image]";
704
+ }
705
+ }) ?? null).join(" ") ?? null;
706
+ }
707
+ return "";
708
+ }
709
+ }
710
+ function renderTranscript(messages, maxChars) {
711
+ {
712
+ let lines = [];
713
+ for (const m of messages) {
714
+ let text = contentText(m.content) ?? null;
715
+ if (Array.isArray(m.tool_calls) ?? null) {
716
+ for (const c of m.tool_calls) {
717
+ text = text + "\n\u2192 " + (c["function"] ?? null).name + " " + (c["function"] ?? null).arguments;
718
+ }
719
+ }
720
+ lines.push("[" + m.role + (((__v) => __v == null ? "null" : typeof __v)(m.name) === "string" ? " " + m.name : "") + "] " + text) ?? null;
721
+ }
722
+ let all = lines.join("\n\n") ?? null;
723
+ return all.length > maxChars ? "\u2026" + (all.slice(all.length - maxChars) ?? null) : all;
724
+ }
725
+ }
726
+ function parseAdvice(text) {
727
+ {
728
+ let t = text.trim() ?? null;
729
+ let start = t.indexOf("{") ?? null;
730
+ let end = t.lastIndexOf("}") ?? null;
731
+ if (start >= 0 && end > start) {
732
+ try {
733
+ {
734
+ let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
735
+ let advice = Array.isArray(j.advice) ?? null ? j.advice.filter((a) => {
736
+ {
737
+ return ((__v) => __v == null ? "null" : typeof __v)(a) === "string" && (a.trim() ?? null) !== "";
738
+ }
739
+ }) ?? null : [];
740
+ return { verdict: j.verdict === "ok" ? "ok" : "revise", advice };
741
+ }
742
+ } catch (e) {
743
+ {
744
+ }
745
+ }
746
+ }
747
+ return { verdict: t === "" ? "ok" : "revise", advice: t === "" ? [] : [t] };
748
+ }
749
+ }
750
+ function createAdvisor(opts) {
751
+ {
752
+ let call = roleModel(opts.callModel, opts.spec) ?? null;
753
+ let maxCalls = ((__v) => __v == null ? "null" : typeof __v)(opts.maxCalls) === "number" ? opts.maxCalls : 8;
754
+ let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 6e5;
755
+ let triggers = opts.triggers ?? {};
756
+ let calls = 0;
757
+ let tokensRead = 0;
758
+ let emit = (e) => {
759
+ {
760
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
761
+ opts.onEvent(e) ?? null;
762
+ }
763
+ }
764
+ };
765
+ return { stats: () => {
766
+ {
767
+ return { calls, tokensRead };
768
+ }
769
+ }, advise: async (req) => {
770
+ {
771
+ if ((triggers[req.trigger] ?? null) === false || calls >= maxCalls) {
772
+ return null;
773
+ }
774
+ let transcript = renderTranscript(req.messages, maxChars) ?? null;
775
+ calls = calls + 1;
776
+ tokensRead = tokensRead + (Math.ceil(transcript.length / 4) ?? null);
777
+ emit({ type: "advisor:call", trigger: req.trigger, model: opts.spec.model, calls, tokensRead }) ?? null;
778
+ let ask = (TRIGGER_ASK[req.trigger] ?? null) + (((__v) => __v == null ? "null" : typeof __v)(req.detail) === "string" && req.detail !== "" ? "\n\n" + req.detail : "");
779
+ let turn = null;
780
+ try {
781
+ {
782
+ 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);
783
+ }
784
+ } catch (err) {
785
+ {
786
+ return null;
787
+ }
788
+ }
789
+ let parsed = parseAdvice(turn.text ?? "") ?? null;
790
+ emit({ type: "advisor:advice", trigger: req.trigger, model: opts.spec.model, calls, tokensRead, advice: parsed.advice, verdict: parsed.verdict }) ?? null;
791
+ if (parsed.verdict === "ok" || parsed.advice.length === 0) {
792
+ return null;
793
+ }
794
+ return "Advisor (" + req.trigger + "):\n" + ((parsed.advice.map((a) => {
795
+ {
796
+ return "\xBB " + a;
797
+ }
798
+ }) ?? null).join("\n") ?? null);
799
+ }
800
+ } };
801
+ }
802
+ }
803
+ function errorSignature(run) {
804
+ {
805
+ let s = (run.summary ?? "").toLowerCase() ?? null;
806
+ let out = "";
807
+ for (const ch of s) {
808
+ out = out + (ch >= "0" && ch <= "9" ? "#" : ch);
809
+ }
810
+ return run.name + ":" + (out.slice(0, 200) ?? null);
811
+ }
812
+ }
813
+
814
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/context.js
815
+ init_define_POPCRAFT_COMPONENT_IDS();
816
+ var RENDER_TURN_PREFIX = "Result of ";
817
+ var KEEP_IMAGE_TURNS = 2;
818
+ function sizeOf(messages) {
819
+ {
820
+ return (JSON.stringify(messages) ?? null).length;
821
+ }
822
+ }
823
+ function isRenderTurn(m) {
824
+ {
825
+ if (m.role !== "user" || !(Array.isArray(m.content) ?? null) || m.content.length === 0) {
826
+ return false;
827
+ }
828
+ let first = m.content[0] ?? null;
829
+ return first.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(first.text) === "string" && (first.text.startsWith(RENDER_TURN_PREFIX) ?? null);
830
+ }
831
+ }
832
+ function countImages(parts) {
833
+ {
834
+ return (parts.filter((p) => {
835
+ {
836
+ return p.type === "image_url";
837
+ }
838
+ }) ?? null).length;
839
+ }
840
+ }
841
+ function textOf(parts) {
842
+ {
843
+ return ((parts.filter((p) => {
844
+ {
845
+ return p.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" && p.text !== "";
846
+ }
847
+ }) ?? null).map((p) => {
848
+ {
849
+ return p.text;
850
+ }
851
+ }) ?? null).join(" ") ?? null;
852
+ }
853
+ }
854
+ function imagesLabel(n) {
855
+ {
856
+ return n === 1 ? "image" : (String(n) ?? null) + " images";
857
+ }
858
+ }
859
+ function pruneOldImages(messages, keep) {
860
+ {
861
+ let limit = ((__v) => __v == null ? "null" : typeof __v)(keep) === "number" ? keep : KEEP_IMAGE_TURNS;
862
+ let seen = 0;
863
+ let i = messages.length - 1;
864
+ while (i >= 0) {
865
+ let m = messages[i] ?? null;
866
+ if ((isRenderTurn(m) ?? null) && (countImages(m.content) ?? null) > 0) {
867
+ seen = seen + 1;
868
+ if (seen > limit) {
869
+ let note = (textOf(m.content) ?? null) + " [" + (imagesLabel(countImages(m.content) ?? null) ?? null) + " omitted: superseded by a later view.]";
870
+ messages[i] = { ...m, content: note.trim() ?? null };
871
+ }
872
+ }
873
+ i = i - 1;
874
+ }
875
+ }
876
+ }
877
+ function fitImagesToBudget(messages, budget) {
878
+ {
879
+ if ((sizeOf(messages) ?? null) <= budget) {
880
+ return;
881
+ }
882
+ let i = 0;
883
+ while (i < messages.length && (sizeOf(messages) ?? null) > budget) {
884
+ let m = messages[i] ?? null;
885
+ if (isRenderTurn(m) ?? null) {
886
+ let parts = m.content.slice() ?? null;
887
+ let dropped = 0;
888
+ let j = parts.length - 1;
889
+ while (j >= 0 && (sizeOf(messages) ?? null) > budget) {
890
+ if ((parts[j] ?? null).type === "image_url") {
891
+ parts.splice(j, 1) ?? null;
892
+ dropped = dropped + 1;
893
+ messages[i] = { ...m, content: parts.slice() ?? null };
894
+ }
895
+ j = j - 1;
896
+ }
897
+ if (dropped > 0) {
898
+ let label = dropped === 1 ? "1 image" : (String(dropped) ?? null) + " images";
899
+ let note = (textOf(parts) ?? null) + " [" + label + " omitted to keep the request under the size limit.]";
900
+ messages[i] = { ...m, content: note.trim() ?? null };
901
+ }
902
+ }
903
+ i = i + 1;
904
+ }
905
+ }
906
+ }
907
+ function safeTailStart(messages, want) {
908
+ {
909
+ let i = Math.max(1, messages.length - want) ?? null;
910
+ while (i < messages.length && (messages[i] ?? null).role === "tool") {
911
+ i = i + 1;
912
+ }
913
+ return i;
914
+ }
915
+ }
916
+ async function compactTranscript(messages, opts) {
917
+ {
918
+ if ((sizeOf(messages) ?? null) <= opts.maxChars) {
919
+ return false;
920
+ }
921
+ let head = messages.length > 0 && (messages[0] ?? null).role === "system" ? 1 : 0;
922
+ let firstUser = -1;
923
+ let k = head;
924
+ while (k < messages.length && firstUser < 0) {
925
+ if ((messages[k] ?? null).role === "user") {
926
+ firstUser = k;
927
+ }
928
+ k = k + 1;
929
+ }
930
+ let keepFrom = firstUser >= 0 ? firstUser + 1 : head;
931
+ let tail = safeTailStart(messages, ((__v) => __v == null ? "null" : typeof __v)(opts.keepRecent) === "number" ? opts.keepRecent : 12) ?? null;
932
+ if (tail <= keepFrom) {
933
+ return false;
934
+ }
935
+ let dropped = messages.slice(keepFrom, tail) ?? null;
936
+ let summary = "";
937
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.summarize) === "function") {
938
+ try {
939
+ {
940
+ summary = await (opts.summarize(dropped) ?? null);
941
+ }
942
+ } catch (e) {
943
+ {
944
+ summary = "";
945
+ }
946
+ }
947
+ }
948
+ 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.]";
949
+ messages.splice(keepFrom, dropped.length, { role: "user", content }) ?? null;
950
+ return true;
951
+ }
952
+ }
953
+
954
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
955
+ var DEFAULT_MAX_ROUNDS = 40;
956
+ var DEFAULT_MAX_PARALLEL = 4;
957
+ 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.";
958
+ var RENDER_TURN_PREFIX2 = "Result of ";
959
+ var RECOVERABLE_WORDS = ["timeout", "timed out", "stalled", "network", "fetch failed", "econnreset", "socket", "stream"];
960
+ function batchCalls(calls, isParallel, max) {
961
+ {
962
+ let batches = [];
963
+ for (const call of calls) {
964
+ let last = batches.length > 0 ? batches[batches.length - 1] ?? null : null;
965
+ let parallel = isParallel(call.name) ?? null;
966
+ if (parallel && last != null && last.length < max && (isParallel((last[0] ?? null).name) ?? null)) {
967
+ last.push(call) ?? null;
968
+ } else {
969
+ batches.push([call]) ?? null;
970
+ }
971
+ }
972
+ return batches;
973
+ }
974
+ }
975
+ function truncateResult(text, max) {
976
+ {
977
+ if (text.length <= max) {
978
+ return text;
979
+ }
980
+ return (text.slice(0, max) ?? null) + "\n\u2026[truncated " + (String(text.length - max) ?? null) + " characters]";
981
+ }
982
+ }
983
+ function defaultIsRecoverable(err) {
984
+ {
985
+ if (err == null || ((__v) => __v == null ? "null" : typeof __v)(err) !== "object") {
986
+ return false;
987
+ }
988
+ if (((__v) => __v == null ? "null" : typeof __v)(err.status) === "number") {
989
+ return err.status >= 500 || err.status === 408 || err.status === 429;
990
+ }
991
+ let text = ((String(err.name ?? "") ?? null) + " " + (String(err.code ?? "") ?? null) + " " + (String(err.message ?? "") ?? null)).toLowerCase() ?? null;
992
+ return RECOVERABLE_WORDS.some((w) => {
993
+ {
994
+ return text.includes(w) ?? null;
995
+ }
996
+ }) ?? null;
997
+ }
998
+ }
999
+ function errorMessage(err) {
1000
+ {
1001
+ if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1002
+ return err.message;
1003
+ }
1004
+ return String(err) ?? null;
1005
+ }
1006
+ }
1007
+ function repairTranscript(messages) {
1008
+ {
1009
+ let i = 0;
1010
+ while (i < messages.length) {
1011
+ let m = messages[i] ?? null;
1012
+ if (m.role === "assistant" && (Array.isArray(m.tool_calls) ?? null) && m.tool_calls.length > 0) {
1013
+ let j = i + 1;
1014
+ let answered = /* @__PURE__ */ new Set() ?? null;
1015
+ while (j < messages.length && (messages[j] ?? null).role === "tool") {
1016
+ answered.add((messages[j] ?? null).tool_call_id ?? "") ?? null;
1017
+ j = j + 1;
1018
+ }
1019
+ let missing = m.tool_calls.filter((c) => {
1020
+ {
1021
+ return !(answered.has(c.id) ?? null);
1022
+ }
1023
+ }) ?? null;
1024
+ if (missing.length > 0) {
1025
+ let fillers = missing.map((c) => {
1026
+ {
1027
+ 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 };
1028
+ }
1029
+ }) ?? null;
1030
+ messages.splice(j, 0, ...fillers) ?? null;
1031
+ i = j + missing.length - 1;
1032
+ }
1033
+ }
1034
+ i = i + 1;
1035
+ }
1036
+ return messages;
1037
+ }
1038
+ }
1039
+ function hook(hooks, name) {
1040
+ {
1041
+ if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
1042
+ return null;
1043
+ }
1044
+ let h = hooks[name] ?? null;
1045
+ return ((__v) => __v == null ? "null" : typeof __v)(h) === "function" ? h : null;
1046
+ }
1047
+ }
1048
+ async function runAgentLoop(opts) {
1049
+ {
1050
+ let maxRounds = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRounds) === "number" ? opts.maxRounds : DEFAULT_MAX_ROUNDS;
1051
+ let maxResultChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxResultChars) === "number" ? opts.maxResultChars : 8e3;
1052
+ let maxParallel = ((__v) => __v == null ? "null" : typeof __v)(opts.maxParallel) === "number" ? opts.maxParallel : DEFAULT_MAX_PARALLEL;
1053
+ let hooks = opts.hooks ?? null;
1054
+ let specs = opts.tools.map((t) => {
1055
+ {
1056
+ return t.spec;
1057
+ }
1058
+ }) ?? null;
1059
+ let parallelNames = new Set((opts.tools.filter((t) => {
1060
+ {
1061
+ return t.readOnly === true;
1062
+ }
1063
+ }) ?? null).map((t) => {
1064
+ {
1065
+ return (t.spec["function"] ?? null).name;
1066
+ }
1067
+ }) ?? null) ?? null;
1068
+ let actingNames = new Set((opts.tools.filter((t) => {
1069
+ {
1070
+ return ((__v) => __v == null ? "null" : typeof __v)(t.acts) === "boolean" ? t.acts : t.readOnly !== true;
1071
+ }
1072
+ }) ?? null).map((t) => {
1073
+ {
1074
+ return (t.spec["function"] ?? null).name;
1075
+ }
1076
+ }) ?? null) ?? null;
1077
+ let require2 = null;
1078
+ if (opts.requireAction === true) {
1079
+ require2 = {};
1080
+ }
1081
+ if (opts.requireAction != null && ((__v) => __v == null ? "null" : typeof __v)(opts.requireAction) === "object") {
1082
+ require2 = opts.requireAction;
1083
+ }
1084
+ let resume = opts.resumeState ?? {};
1085
+ 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;
1086
+ let signal = opts.signal ?? null;
1087
+ let isStopped = () => {
1088
+ {
1089
+ if (signal != null && signal.aborted === true) {
1090
+ return true;
1091
+ }
1092
+ return ((__v) => __v == null ? "null" : typeof __v)(opts.stopped) === "function" && (opts.stopped() ?? null) === true;
1093
+ }
1094
+ };
1095
+ let messages = repairTranscript(opts.messages.slice() ?? null) ?? null;
1096
+ let text = "";
1097
+ let acted = resume.acted === true;
1098
+ let retries = ((__v) => __v == null ? "null" : typeof __v)(opts.modelRetries) === "number" ? opts.modelRetries : 2;
1099
+ let recoverable = ((__v) => __v == null ? "null" : typeof __v)(opts.isRecoverable) === "function" ? opts.isRecoverable : defaultIsRecoverable;
1100
+ let ctx = opts.context ?? {};
1101
+ let maxRequestChars = ((__v) => __v == null ? "null" : typeof __v)(ctx.maxRequestChars) === "number" ? ctx.maxRequestChars : 43e5;
1102
+ let save = async (round2, done) => {
1103
+ {
1104
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1105
+ await (opts.checkpoint({ messages: messages.slice() ?? null, round: round2, acted, nudgesLeft, done }) ?? null);
1106
+ }
1107
+ }
1108
+ };
1109
+ let drain = () => {
1110
+ {
1111
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.drainNotifications) !== "function") {
1112
+ return [];
1113
+ }
1114
+ let notes = opts.drainNotifications() ?? null;
1115
+ return Array.isArray(notes) ?? null ? notes : [];
1116
+ }
1117
+ };
1118
+ let modelHooks = { onTextDelta: hook(hooks, "onTextDelta") ?? null, onReasoningDelta: hook(hooks, "onReasoningDelta") ?? null, onToolProgress: hook(hooks, "onToolProgress") ?? null };
1119
+ let choiceFor = (round2) => {
1120
+ {
1121
+ let c = opts.toolChoice ?? null;
1122
+ if (((__v) => __v == null ? "null" : typeof __v)(c) === "function") {
1123
+ c = c(round2) ?? null ?? null;
1124
+ }
1125
+ return c;
1126
+ }
1127
+ };
1128
+ let call = async (msgs, tools, choice) => {
1129
+ {
1130
+ let attempt = 0;
1131
+ while (true) {
1132
+ try {
1133
+ {
1134
+ if (choice == null || tools.length === 0) {
1135
+ return await (opts.callModel(msgs, tools, modelHooks, signal) ?? null);
1136
+ }
1137
+ return await (opts.callModel(msgs, tools, modelHooks, signal, { toolChoice: choice }) ?? null);
1138
+ }
1139
+ } catch (err) {
1140
+ {
1141
+ if ((isStopped() ?? null) || attempt >= retries || !(recoverable(err) ?? null)) {
1142
+ throw err;
1143
+ }
1144
+ }
1145
+ }
1146
+ attempt = attempt + 1;
1147
+ }
1148
+ }
1149
+ };
1150
+ let advise = ((__v) => __v == null ? "null" : typeof __v)(opts.advise) === "function" ? opts.advise : null;
1151
+ let route = ((__v) => __v == null ? "null" : typeof __v)(opts.route) === "function" ? opts.route : null;
1152
+ let errorCounts = /* @__PURE__ */ new Map() ?? null;
1153
+ let doneChecked = false;
1154
+ let consult = async (trigger, detail) => {
1155
+ {
1156
+ if (advise == null) {
1157
+ return false;
1158
+ }
1159
+ let note = null;
1160
+ try {
1161
+ {
1162
+ note = await (advise({ trigger, messages: messages.slice() ?? null, detail }) ?? null);
1163
+ }
1164
+ } catch (e) {
1165
+ {
1166
+ note = null;
1167
+ }
1168
+ }
1169
+ if (((__v) => __v == null ? "null" : typeof __v)(note) !== "string" || note === "") {
1170
+ return false;
1171
+ }
1172
+ messages.push({ role: "user", content: note }) ?? null;
1173
+ return true;
1174
+ }
1175
+ };
1176
+ let round = ((__v) => __v == null ? "null" : typeof __v)(resume.round) === "number" ? resume.round : 0;
1177
+ if (round === 0) {
1178
+ await (consult("plan", null) ?? null);
1179
+ }
1180
+ while (maxRounds === 0 || round < maxRounds) {
1181
+ if (isStopped() ?? null) {
1182
+ await (save(round, true) ?? null);
1183
+ return { messages, text, rounds: round, exhausted: false, stopped: true, acted };
1184
+ }
1185
+ for (const note of drain() ?? null) {
1186
+ messages.push({ role: "user", content: note }) ?? null;
1187
+ }
1188
+ pruneOldImages(messages, ctx.keepImageTurns ?? null) ?? null;
1189
+ if (ctx.compact != null && ((__v) => __v == null ? "null" : typeof __v)(ctx.compact) === "object") {
1190
+ await (compactTranscript(messages, ctx.compact) ?? null);
1191
+ }
1192
+ fitImagesToBudget(messages, maxRequestChars - (JSON.stringify(specs) ?? null).length) ?? null;
1193
+ let onStart = hook(hooks, "onAssistantStart") ?? null;
1194
+ if (onStart != null) {
1195
+ onStart(round) ?? null;
1196
+ }
1197
+ let choice = choiceFor(round) ?? null;
1198
+ if (choice == null && route != null && specs.length > 0) {
1199
+ try {
1200
+ {
1201
+ choice = await (route({ round, messages: messages.slice() ?? null, tools: specs }) ?? null);
1202
+ }
1203
+ } catch (e) {
1204
+ {
1205
+ choice = null;
1206
+ }
1207
+ }
1208
+ }
1209
+ let turn = await (call(messages, specs, choice ?? null) ?? null);
1210
+ text = turn.text;
1211
+ let toolCalls = Array.isArray(turn.toolCalls) ?? null ? turn.toolCalls : [];
1212
+ if (toolCalls.length > 0) {
1213
+ messages.push({ role: "assistant", content: turn.text, tool_calls: toolCalls.map((c) => {
1214
+ {
1215
+ return { id: c.id, type: "function", function: { name: c.name, arguments: c.arguments } };
1216
+ }
1217
+ }) ?? null }) ?? null;
1218
+ } else {
1219
+ messages.push({ role: "assistant", content: turn.text }) ?? null;
1220
+ }
1221
+ if (toolCalls.length === 0) {
1222
+ let onEnd = hook(hooks, "onRoundEnd") ?? null;
1223
+ if (onEnd != null) {
1224
+ onEnd(round) ?? null;
1225
+ }
1226
+ let late = drain() ?? null;
1227
+ if (late.length > 0) {
1228
+ for (const note of late) {
1229
+ messages.push({ role: "user", content: note }) ?? null;
1230
+ }
1231
+ round = round + 1;
1232
+ continue;
1233
+ }
1234
+ if (!doneChecked) {
1235
+ doneChecked = true;
1236
+ if (await (consult("done", null) ?? null)) {
1237
+ await (save(round + 1, false) ?? null);
1238
+ round = round + 1;
1239
+ continue;
1240
+ }
1241
+ }
1242
+ if (require2 != null && !acted && nudgesLeft > 0 && actingNames.size > 0) {
1243
+ nudgesLeft = nudgesLeft - 1;
1244
+ let nudge = ((__v) => __v == null ? "null" : typeof __v)(require2.message) === "string" ? require2.message : DEFAULT_ACTION_NUDGE;
1245
+ let onNudge = hook(hooks, "onNudge") ?? null;
1246
+ if (onNudge != null) {
1247
+ onNudge(nudge) ?? null;
1248
+ }
1249
+ messages.push({ role: "user", content: nudge }) ?? null;
1250
+ await (save(round + 1, false) ?? null);
1251
+ round = round + 1;
1252
+ continue;
1253
+ }
1254
+ await (save(round + 1, true) ?? null);
1255
+ return { messages, text, rounds: round + 1, exhausted: false, stopped: false, acted };
1256
+ }
1257
+ let calls = toolCalls.map((c) => {
1258
+ {
1259
+ return { id: c.id, name: c.name, argsText: c.arguments };
1260
+ }
1261
+ }) ?? null;
1262
+ let imageTurns = [];
1263
+ let repeated = [];
1264
+ doneChecked = false;
1265
+ for (const batch of batchCalls(calls, (n) => {
1266
+ {
1267
+ return parallelNames.has(n) ?? null;
1268
+ }
1269
+ }, maxParallel) ?? null) {
1270
+ if (isStopped() ?? null) {
1271
+ for (const c of calls) {
1272
+ let answered = messages.some((m) => {
1273
+ {
1274
+ return m.role === "tool" && m.tool_call_id === c.id;
1275
+ }
1276
+ }) ?? null;
1277
+ if (!answered) {
1278
+ messages.push({ role: "tool", tool_call_id: c.id, name: c.name, content: JSON.stringify({ error: "stopped" }) ?? null }) ?? null;
1279
+ }
1280
+ }
1281
+ await (save(round + 1, true) ?? null);
1282
+ return { messages, text, rounds: round + 1, exhausted: false, stopped: true, acted };
1283
+ }
1284
+ let onToolStart = hook(hooks, "onToolStart") ?? null;
1285
+ if (onToolStart != null) {
1286
+ for (const info of batch) {
1287
+ onToolStart(info) ?? null;
1288
+ }
1289
+ }
1290
+ let runs2 = await (Promise.all(batch.map(async (info) => {
1291
+ {
1292
+ try {
1293
+ {
1294
+ return await (opts.execTool(info) ?? null);
1295
+ }
1296
+ } catch (err) {
1297
+ {
1298
+ let message = errorMessage(err) ?? null;
1299
+ return { id: info.id, name: info.name, argsText: info.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }) ?? null };
1300
+ }
1301
+ }
1302
+ }
1303
+ }) ?? null) ?? null);
1304
+ let onToolEnd = hook(hooks, "onToolEnd") ?? null;
1305
+ for (const run of runs2) {
1306
+ let actedHere = ((__v) => __v == null ? "null" : typeof __v)(run.acted) === "boolean" ? run.acted : actingNames.has(run.name) ?? null;
1307
+ if (run.ok === true && actedHere) {
1308
+ acted = true;
1309
+ }
1310
+ if (onToolEnd != null) {
1311
+ onToolEnd(run) ?? null;
1312
+ }
1313
+ if (run.ok !== true && advise != null) {
1314
+ let sig = errorSignature(run) ?? null;
1315
+ let n = (errorCounts.get(sig) ?? null ?? 0) + 1;
1316
+ errorCounts.set(sig, n) ?? null;
1317
+ if (n === REPEATED_ERROR_COUNT) {
1318
+ repeated.push(run.name + ": " + run.summary) ?? null;
1319
+ }
1320
+ }
1321
+ messages.push({ role: "tool", tool_call_id: run.id, name: run.name, content: truncateResult(run.content, maxResultChars) ?? null }) ?? null;
1322
+ if ((Array.isArray(run.images) ?? null) && run.images.length > 0) {
1323
+ let label = run.images.length === 1 ? "the rendered view" : (String(run.images.length) ?? null) + " rendered views";
1324
+ let parts = [{ type: "text", text: RENDER_TURN_PREFIX2 + run.name + ": " + label + "." }];
1325
+ for (const url of run.images) {
1326
+ parts.push({ type: "image_url", image_url: { url } }) ?? null;
1327
+ }
1328
+ imageTurns.push({ role: "user", content: parts }) ?? null;
1329
+ }
1330
+ }
1331
+ }
1332
+ for (const m of imageTurns) {
1333
+ messages.push(m) ?? null;
1334
+ }
1335
+ for (const err of repeated) {
1336
+ await (consult("error", "The error, seen " + (String(REPEATED_ERROR_COUNT) ?? null) + " times: " + err) ?? null);
1337
+ }
1338
+ let onRoundEnd = hook(hooks, "onRoundEnd") ?? null;
1339
+ if (onRoundEnd != null) {
1340
+ onRoundEnd(round) ?? null;
1341
+ }
1342
+ await (save(round + 1, false) ?? null);
1343
+ round = round + 1;
1344
+ }
1345
+ 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;
1346
+ let final = await (call(messages, [], null) ?? null);
1347
+ messages.push({ role: "assistant", content: final.text }) ?? null;
1348
+ await (save(maxRounds, true) ?? null);
1349
+ return { messages, text: final.text, rounds: maxRounds, exhausted: true, stopped: false, acted };
1350
+ }
1351
+ }
1352
+
1353
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
1354
+ var delay2 = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
1355
+ var REPORT_TOOL = "report_to_parent";
1356
+ 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"] } } } };
1357
+ var WAIT_STEP_MS = 25;
1358
+ function isBusy(s) {
1359
+ {
1360
+ return s != null && (s.status === "running" || s.status === "queued");
1361
+ }
1362
+ }
1363
+ function plainStopControl() {
1364
+ {
1365
+ let flag = { aborted: false };
1366
+ return { signal: flag, stop: () => {
1367
+ {
1368
+ flag.aborted = true;
1369
+ }
1370
+ } };
1371
+ }
1372
+ }
1373
+ function allSessions(sessions) {
1374
+ {
1375
+ let out = [];
1376
+ for (const s of sessions.values() ?? null) {
1377
+ out.push(s) ?? null;
1378
+ }
1379
+ return out;
1380
+ }
1381
+ }
1382
+ function errorMessage2(err) {
1383
+ {
1384
+ if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1385
+ return err.message;
1386
+ }
1387
+ return String(err) ?? null;
1388
+ }
1389
+ }
1390
+ function createAgentRuntime(host) {
1391
+ {
1392
+ let sessions = /* @__PURE__ */ new Map() ?? null;
1393
+ let controls = /* @__PURE__ */ new Map() ?? null;
1394
+ let parentQueue = [];
1395
+ let loaded = false;
1396
+ let loading = null;
1397
+ let active = 0;
1398
+ let waiting = [];
1399
+ let listeners = [];
1400
+ let pendingSaves = 0;
1401
+ let orch = host.orchestration ?? null;
1402
+ let maxConcurrent = () => {
1403
+ {
1404
+ let h = ((__v) => __v == null ? "null" : typeof __v)(host.maxConcurrent) === "function" ? host.maxConcurrent() ?? null : host.maxConcurrent;
1405
+ if (((__v) => __v == null ? "null" : typeof __v)(h) === "number" && h > 0) {
1406
+ return h;
1407
+ }
1408
+ let o = orch != null ? orch.maxConcurrent ?? null : null;
1409
+ return ((__v) => __v == null ? "null" : typeof __v)(o) === "number" && o > 0 ? o : 4;
1410
+ }
1411
+ };
1412
+ let now = () => {
1413
+ {
1414
+ return ((__v) => __v == null ? "null" : typeof __v)(host.now) === "function" ? host.now() ?? null : Date.now() ?? null;
1415
+ }
1416
+ };
1417
+ let changed = () => {
1418
+ {
1419
+ if (((__v) => __v == null ? "null" : typeof __v)(host.onChange) === "function") {
1420
+ host.onChange() ?? null;
1421
+ }
1422
+ for (const l of listeners.slice() ?? null) {
1423
+ l() ?? null;
1424
+ }
1425
+ }
1426
+ };
1427
+ let emit = (e) => {
1428
+ {
1429
+ if (((__v) => __v == null ? "null" : typeof __v)(host.onEvent) === "function") {
1430
+ host.onEvent(e) ?? null;
1431
+ }
1432
+ }
1433
+ };
1434
+ let sessionEvent = (s) => {
1435
+ {
1436
+ emit({ type: "session", sessionId: s.id, status: s.status, profile: s.profile, description: s.description }) ?? null;
1437
+ }
1438
+ };
1439
+ let persist = (s) => {
1440
+ {
1441
+ changed() ?? null;
1442
+ if (host.store == null || ((__v) => __v == null ? "null" : typeof __v)(host.store) !== "object") {
1443
+ return;
1444
+ }
1445
+ pendingSaves = pendingSaves + 1;
1446
+ let save = async () => {
1447
+ {
1448
+ try {
1449
+ {
1450
+ await (host.store.save(s) ?? null);
1451
+ }
1452
+ } catch (e) {
1453
+ {
1454
+ }
1455
+ }
1456
+ pendingSaves = pendingSaves - 1;
1457
+ }
1458
+ };
1459
+ save() ?? null;
1460
+ }
1461
+ };
1462
+ let profileById = (id) => {
1463
+ {
1464
+ let found = (host.profiles() ?? null).filter((p) => {
1465
+ {
1466
+ return p.id === id;
1467
+ }
1468
+ }) ?? null;
1469
+ return found.length > 0 ? found[0] ?? null : null;
1470
+ }
1471
+ };
1472
+ let report = (fromId, text, question) => {
1473
+ {
1474
+ let s = sessions.get(fromId) ?? null ?? null;
1475
+ let who = "agent " + fromId + (s != null ? " (" + s.profile + ")" : "");
1476
+ let asks = question === true;
1477
+ parentQueue.push(asks ? "QUESTION from " + who + " \u2014 it needs your answer (send_message " + fromId + "):\n" + text : "Report from " + who + ":\n" + text) ?? null;
1478
+ emit({ type: "report", sessionId: fromId, message: text, question: asks }) ?? null;
1479
+ changed() ?? null;
1480
+ }
1481
+ };
1482
+ let run = async (session2, profile, prompt, forceReadOnly, parentSignal, fresh) => {
1483
+ {
1484
+ let control = ((__v) => __v == null ? "null" : typeof __v)(host.createSignal) === "function" ? host.createSignal() ?? null : plainStopControl() ?? null;
1485
+ controls.set(session2.id, control) ?? null;
1486
+ if (parentSignal != null) {
1487
+ if (parentSignal.aborted === true) {
1488
+ control.stop() ?? null;
1489
+ } else if (((__v) => __v == null ? "null" : typeof __v)(parentSignal.addEventListener) === "function") {
1490
+ parentSignal.addEventListener("abort", () => {
1491
+ {
1492
+ control.stop() ?? null;
1493
+ }
1494
+ }) ?? null;
1495
+ }
1496
+ }
1497
+ let ctx = { session: session2, profile, readOnly: forceReadOnly || profile.readOnly === true, signal: control.signal };
1498
+ let tools = (host.childTools(ctx) ?? null).concat([REPORT_SPEC]) ?? null;
1499
+ let childModel = ((__v) => __v == null ? "null" : typeof __v)(host.childModel) === "function" ? host.childModel(ctx) ?? null : null;
1500
+ if (((__v) => __v == null ? "null" : typeof __v)(childModel) !== "function" && orch != null) {
1501
+ childModel = orch.childModel(ctx.readOnly && (profile.model ?? null) == null ? "fast" : profile.model ?? null) ?? null;
1502
+ }
1503
+ 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;
1504
+ let ok = true;
1505
+ let summary = "";
1506
+ let rounds = 0;
1507
+ let wasStopped = () => {
1508
+ {
1509
+ return control.signal.aborted === true || parentSignal != null && parentSignal.aborted === true;
1510
+ }
1511
+ };
1512
+ try {
1513
+ {
1514
+ 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;
1515
+ let outcome = await (runAgentLoop({ messages, tools, callModel: ((__v) => __v == null ? "null" : typeof __v)(childModel) === "function" ? childModel : host.callModel, signal: control.signal, stopped: () => {
1516
+ {
1517
+ return parentSignal != null && parentSignal.aborted === true;
1518
+ }
1519
+ }, maxRounds: budget, drainNotifications: () => {
1520
+ {
1521
+ return (session2.inbox.splice(0, session2.inbox.length) ?? null).map((t) => {
1522
+ {
1523
+ return "Message from the main agent:\n" + t;
1524
+ }
1525
+ }) ?? null;
1526
+ }
1527
+ }, execTool: async (call) => {
1528
+ {
1529
+ if (call.name === REPORT_TOOL) {
1530
+ let args = {};
1531
+ try {
1532
+ {
1533
+ args = JSON.parse(call.argsText === "" ? "{}" : call.argsText) ?? null;
1534
+ }
1535
+ } catch (e) {
1536
+ {
1537
+ args = {};
1538
+ }
1539
+ }
1540
+ report(session2.id, String(args.message ?? "") ?? null, args.question === true) ?? null;
1541
+ return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: "reported", content: JSON.stringify({ ok: true }) ?? null };
1542
+ }
1543
+ return await (host.execChildTool(call, ctx) ?? null);
1544
+ }
1545
+ }, requireAction: fresh && !ctx.readOnly, hooks: { onToolStart: (c) => {
1546
+ {
1547
+ emit({ type: "tool-start", sessionId: session2.id, name: c.name }) ?? null;
1548
+ }
1549
+ }, onToolEnd: (r) => {
1550
+ {
1551
+ emit({ type: "tool-end", sessionId: session2.id, name: r.name, ok: r.ok, summary: r.summary }) ?? null;
1552
+ }
1553
+ }, onTextDelta: (d) => {
1554
+ {
1555
+ emit({ type: "text", sessionId: session2.id, delta: d }) ?? null;
1556
+ }
1557
+ }, onNudge: (m) => {
1558
+ {
1559
+ emit({ type: "nudge", sessionId: session2.id, message: m }) ?? null;
1560
+ }
1561
+ } } }) ?? null);
1562
+ session2.transcript = outcome.messages;
1563
+ rounds = outcome.rounds;
1564
+ let said = outcome.text.trim() ?? null;
1565
+ summary = said !== "" ? said : outcome.stopped ? "(stopped)" : "(finished without a summary)";
1566
+ ok = !outcome.stopped;
1567
+ }
1568
+ } catch (err) {
1569
+ {
1570
+ ok = false;
1571
+ summary = wasStopped() ?? null ? "(stopped)" : "(agent error: " + (errorMessage2(err) ?? null) + ")";
1572
+ }
1573
+ }
1574
+ controls.delete(session2.id) ?? null;
1575
+ session2.rounds = session2.rounds + rounds;
1576
+ if (session2.status === "running") {
1577
+ session2.status = ok ? "done" : wasStopped() ?? null ? "stopped" : "error";
1578
+ session2.summary = summary;
1579
+ session2.endedAt = now() ?? null;
1580
+ } else {
1581
+ session2.summary = summary;
1582
+ }
1583
+ if (session2.background && session2.status !== "stopped") {
1584
+ parentQueue.push("Agent " + session2.id + " (" + session2.profile + ") " + (ok ? "finished" : "failed") + ":\n" + summary) ?? null;
1585
+ }
1586
+ sessionEvent(session2) ?? null;
1587
+ persist(session2) ?? null;
1588
+ return { ok, summary, rounds };
1589
+ }
1590
+ };
1591
+ let takeNext = () => {
1592
+ {
1593
+ while (waiting.length > 0) {
1594
+ let next = waiting.shift() ?? null;
1595
+ if (next.session.status === "queued") {
1596
+ next.session.status = "running";
1597
+ sessionEvent(next.session) ?? null;
1598
+ changed() ?? null;
1599
+ return next;
1600
+ }
1601
+ }
1602
+ return null;
1603
+ }
1604
+ };
1605
+ let runSlot = (first) => {
1606
+ {
1607
+ ((f) => Promise.resolve().then(() => f()))(async () => {
1608
+ {
1609
+ let job = first;
1610
+ while (job != null) {
1611
+ try {
1612
+ {
1613
+ if (job.session.status !== "stopped") {
1614
+ await (job.go() ?? null);
1615
+ }
1616
+ }
1617
+ } catch (e) {
1618
+ {
1619
+ }
1620
+ }
1621
+ job = active <= (maxConcurrent() ?? null) ? takeNext() ?? null : null;
1622
+ if (job == null) {
1623
+ active = Math.max(0, active - 1) ?? null;
1624
+ if (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1625
+ active = active + 1;
1626
+ job = takeNext() ?? null;
1627
+ if (job == null) {
1628
+ active = Math.max(0, active - 1) ?? null;
1629
+ }
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+ }) ?? null;
1635
+ }
1636
+ };
1637
+ let startBackground = (session2, go) => {
1638
+ {
1639
+ while (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1640
+ let next = takeNext() ?? null;
1641
+ if (next == null) {
1642
+ break;
1643
+ }
1644
+ active = active + 1;
1645
+ runSlot(next) ?? null;
1646
+ }
1647
+ if (active < (maxConcurrent() ?? null)) {
1648
+ active = active + 1;
1649
+ runSlot({ session: session2, go }) ?? null;
1650
+ return;
1651
+ }
1652
+ session2.status = "queued";
1653
+ sessionEvent(session2) ?? null;
1654
+ changed() ?? null;
1655
+ waiting.push({ session: session2, go }) ?? null;
1656
+ }
1657
+ };
1658
+ let stop = (id) => {
1659
+ {
1660
+ let s = sessions.get(id) ?? null ?? null;
1661
+ if (s == null || s.status !== "running" && s.status !== "queued") {
1662
+ return false;
1663
+ }
1664
+ let control = controls.get(id) ?? null ?? null;
1665
+ if (control != null) {
1666
+ control.stop() ?? null;
1667
+ }
1668
+ s.status = "stopped";
1669
+ s.endedAt = now() ?? null;
1670
+ persist(s) ?? null;
1671
+ return true;
1672
+ }
1673
+ };
1674
+ let load = async () => {
1675
+ {
1676
+ if (loaded) {
1677
+ return;
1678
+ }
1679
+ loaded = true;
1680
+ if (host.store != null && ((__v) => __v == null ? "null" : typeof __v)(host.store) === "object") {
1681
+ let saved = await (host.store.load() ?? null);
1682
+ for (const s of Array.isArray(saved) ?? null ? saved : []) {
1683
+ if (s.status === "running" || s.status === "queued") {
1684
+ s.status = "stopped";
1685
+ if (((__v) => __v == null ? "null" : typeof __v)(s.endedAt) !== "number") {
1686
+ s.endedAt = now() ?? null;
1687
+ }
1688
+ }
1689
+ sessions.set(s.id, s) ?? null;
1690
+ }
1691
+ }
1692
+ changed() ?? null;
1693
+ }
1694
+ };
1695
+ let get = (id) => {
1696
+ {
1697
+ return sessions.get(id) ?? null ?? null;
1698
+ }
1699
+ };
1700
+ return { load, flush: async () => {
1701
+ {
1702
+ while (pendingSaves > 0) {
1703
+ await (delay2(WAIT_STEP_MS) ?? null);
1704
+ }
1705
+ }
1706
+ }, subscribe: (l) => {
1707
+ {
1708
+ listeners.push(l) ?? null;
1709
+ return () => {
1710
+ {
1711
+ let i = listeners.indexOf(l) ?? null;
1712
+ if (i >= 0) {
1713
+ listeners.splice(i, 1) ?? null;
1714
+ }
1715
+ }
1716
+ };
1717
+ }
1718
+ }, list: () => {
1719
+ {
1720
+ return (allSessions(sessions) ?? null).sort((a, b) => {
1721
+ {
1722
+ return a.startedAt - b.startedAt;
1723
+ }
1724
+ }) ?? null;
1725
+ }
1726
+ }, get, wait: async (id, opts) => {
1727
+ {
1728
+ let o = opts ?? {};
1729
+ let deadline = (now() ?? null) + (((__v) => __v == null ? "null" : typeof __v)(o.timeoutMs) === "number" ? o.timeoutMs : 12e4);
1730
+ let signal = o.signal ?? null;
1731
+ while ((isBusy(get(id) ?? null) ?? null) && (now() ?? null) < deadline && !(signal != null && signal.aborted === true)) {
1732
+ await (delay2(Math.min(WAIT_STEP_MS, Math.max(1, deadline - (now() ?? null)) ?? null) ?? null) ?? null);
1733
+ }
1734
+ return get(id) ?? null;
1735
+ }
1736
+ }, dismissFinished: (id) => {
1737
+ {
1738
+ let prefix = "Agent " + id + " (";
1739
+ let i = parentQueue.length - 1;
1740
+ while (i >= 0) {
1741
+ if ((parentQueue[i] ?? null).startsWith(prefix) ?? null) {
1742
+ parentQueue.splice(i, 1) ?? null;
1743
+ }
1744
+ i = i - 1;
1745
+ }
1746
+ }
1747
+ }, drainParentNotifications: () => {
1748
+ {
1749
+ return parentQueue.splice(0, parentQueue.length) ?? null;
1750
+ }
1751
+ }, hasPendingNotifications: () => {
1752
+ {
1753
+ return parentQueue.length > 0;
1754
+ }
1755
+ }, spawn: async (req) => {
1756
+ {
1757
+ let profile = profileById(req.profileId) ?? null;
1758
+ if (profile == null) {
1759
+ let ids = ((host.profiles() ?? null).map((p) => {
1760
+ {
1761
+ return p.id;
1762
+ }
1763
+ }) ?? null).join(", ") ?? null;
1764
+ return { kind: "refused", reason: 'No agent type "' + req.profileId + '". Available: ' + ids + "." };
1765
+ }
1766
+ let prompt = ((__v) => __v == null ? "null" : typeof __v)(req.prompt) === "string" ? req.prompt.trim() ?? null : "";
1767
+ if (prompt === "") {
1768
+ return { kind: "refused", reason: "A task needs a self-contained prompt \u2014 the agent cannot see this conversation." };
1769
+ }
1770
+ let background = ((__v) => __v == null ? "null" : typeof __v)(req.background) === "boolean" ? req.background : profile.background === true;
1771
+ 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);
1772
+ 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 };
1773
+ if (((__v) => __v == null ? "null" : typeof __v)(req.parentCallId) === "string" && req.parentCallId !== "") {
1774
+ session2.parentCallId = req.parentCallId;
1775
+ }
1776
+ sessions.set(session2.id, session2) ?? null;
1777
+ changed() ?? null;
1778
+ sessionEvent(session2) ?? null;
1779
+ let forceReadOnly = req.readOnly === true;
1780
+ let parentSignal = req.signal ?? null;
1781
+ if (background) {
1782
+ startBackground(session2, async () => {
1783
+ {
1784
+ return await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1785
+ }
1786
+ }) ?? null;
1787
+ return { kind: "started", id: session2.id };
1788
+ }
1789
+ let out = await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1790
+ return { kind: "done", id: session2.id, ok: out.ok, summary: out.summary, rounds: out.rounds };
1791
+ }
1792
+ }, message: async (id, text, opts) => {
1793
+ {
1794
+ await (load() ?? null);
1795
+ let o = opts ?? {};
1796
+ let session2 = sessions.get(id) ?? null ?? null;
1797
+ if (session2 == null) {
1798
+ return { kind: "unknown", id };
1799
+ }
1800
+ if (session2.status === "running" || session2.status === "queued") {
1801
+ session2.inbox.push(text) ?? null;
1802
+ persist(session2) ?? null;
1803
+ return { kind: "queued", id };
1804
+ }
1805
+ let profile = profileById(session2.profile) ?? null;
1806
+ if (profile == null) {
1807
+ return { kind: "unknown", id };
1808
+ }
1809
+ let wait = o.wait === true;
1810
+ let parentSignal = o.signal ?? null;
1811
+ session2.status = "running";
1812
+ session2.endedAt = null;
1813
+ session2.background = !wait;
1814
+ changed() ?? null;
1815
+ if (!wait) {
1816
+ startBackground(session2, async () => {
1817
+ {
1818
+ return await (run(session2, profile, text, false, parentSignal, false) ?? null);
1819
+ }
1820
+ }) ?? null;
1821
+ return { kind: "resumed", id };
1822
+ }
1823
+ let out = await (run(session2, profile, text, false, parentSignal, false) ?? null);
1824
+ return { kind: "done", id, ok: out.ok, summary: out.summary };
1825
+ }
1826
+ }, stop, stopAll: () => {
1827
+ {
1828
+ for (const s of allSessions(sessions) ?? null) {
1829
+ stop(s.id) ?? null;
1830
+ }
1831
+ parentQueue.splice(0, parentQueue.length) ?? null;
1832
+ }
1833
+ }, report };
1834
+ }
1835
+ }
1836
+
1837
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/types.js
1838
+ init_define_POPCRAFT_COMPONENT_IDS();
1839
+ function forceTool(name) {
1840
+ {
1841
+ return { type: "function", function: { name } };
1842
+ }
1843
+ }
1844
+
1845
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/store.js
1846
+ init_define_POPCRAFT_COMPONENT_IDS();
1847
+ async function loadAll(kv, prefix) {
1848
+ {
1849
+ let out = [];
1850
+ for (const k of await (kv.keys(prefix) ?? null)) {
1851
+ let v = await (kv.get(k) ?? null);
1852
+ if (v != null) {
1853
+ out.push(v) ?? null;
1854
+ }
1855
+ }
1856
+ return out;
1857
+ }
1858
+ }
1859
+ function sessionStore(kv, scope) {
1860
+ {
1861
+ let prefix = (scope ?? "default") + ":session:";
1862
+ return { load: async () => {
1863
+ {
1864
+ return await (loadAll(kv, prefix) ?? null);
1865
+ }
1866
+ }, save: async (s) => {
1867
+ {
1868
+ await (kv.set(prefix + s.id, s) ?? null);
1869
+ }
1870
+ }, remove: async (id) => {
1871
+ {
1872
+ await ((kv["delete"] ?? null)(prefix + id) ?? null);
1873
+ }
1874
+ } };
1875
+ }
1876
+ }
1877
+ function runStore(kv, scope) {
1878
+ {
1879
+ let prefix = (scope ?? "default") + ":run:";
1880
+ return { get: async (id) => {
1881
+ {
1882
+ return await (kv.get(prefix + id) ?? null);
1883
+ }
1884
+ }, save: async (run) => {
1885
+ {
1886
+ await (kv.set(prefix + run.id, run) ?? null);
1887
+ }
1888
+ }, list: async () => {
1889
+ {
1890
+ return await (loadAll(kv, prefix) ?? null);
1891
+ }
1892
+ }, remove: async (id) => {
1893
+ {
1894
+ await ((kv["delete"] ?? null)(prefix + id) ?? null);
1895
+ }
1896
+ } };
1897
+ }
1898
+ }
1899
+
1900
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/run.js
1901
+ init_define_POPCRAFT_COMPONENT_IDS();
1902
+ function errorMessage3(err) {
1903
+ {
1904
+ if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1905
+ return err.message;
1906
+ }
1907
+ return String(err) ?? null;
1908
+ }
1909
+ }
1910
+ async function runPersistent(opts) {
1911
+ {
1912
+ let now = ((__v) => __v == null ? "null" : typeof __v)(opts.now) === "function" ? opts.now : () => {
1913
+ {
1914
+ return Date.now() ?? null;
1915
+ }
1916
+ };
1917
+ let existing = await (opts.runs.get(opts.id) ?? null);
1918
+ let createdAt = existing != null ? existing.createdAt : now() ?? null;
1919
+ let record = (status, checkpoint) => {
1920
+ {
1921
+ let todos = opts.todos != null && ((__v) => __v == null ? "null" : typeof __v)(opts.todos) === "object" ? opts.todos.get() ?? null : existing != null ? existing.todos ?? null : null;
1922
+ let meta = opts.meta ?? (existing != null ? existing.meta ?? null : null);
1923
+ return { id: opts.id, createdAt, updatedAt: now() ?? null, meta, todos, status, checkpoint };
1924
+ }
1925
+ };
1926
+ let first = existing != null ? existing.checkpoint : { messages: opts.messages, round: 0, acted: false, nudgesLeft: 0, done: false };
1927
+ await (opts.runs.save(record("running", first) ?? null) ?? null);
1928
+ let mark = async (status, error) => {
1929
+ {
1930
+ let saved = await (opts.runs.get(opts.id) ?? null);
1931
+ if (saved != null) {
1932
+ let next = { ...saved, status, updatedAt: now() ?? null };
1933
+ if (((__v) => __v == null ? "null" : typeof __v)(error) === "string") {
1934
+ next.error = error;
1935
+ }
1936
+ await (opts.runs.save(next) ?? null);
1937
+ }
1938
+ }
1939
+ };
1940
+ let outcome = null;
1941
+ try {
1942
+ {
1943
+ outcome = await (runAgentLoop({ ...opts, checkpoint: async (state) => {
1944
+ {
1945
+ await (opts.runs.save(record(state.done ? "done" : "running", state) ?? null) ?? null);
1946
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1947
+ await (opts.checkpoint(state) ?? null);
1948
+ }
1949
+ }
1950
+ } }) ?? null);
1951
+ }
1952
+ } catch (err) {
1953
+ {
1954
+ await (mark("error", errorMessage3(err) ?? null) ?? null);
1955
+ throw err;
1956
+ }
1957
+ }
1958
+ if (outcome.stopped) {
1959
+ await (mark("stopped", null) ?? null);
1960
+ }
1961
+ return outcome;
1962
+ }
1963
+ }
1964
+ async function interruptedRuns(runs2, activeIds) {
1965
+ {
1966
+ let active = new Set(activeIds ?? []) ?? null;
1967
+ return (await (runs2.list() ?? null)).filter((r) => {
1968
+ {
1969
+ return r.status === "running" && !(active.has(r.id) ?? null);
1970
+ }
1971
+ }) ?? null;
1972
+ }
1973
+ }
1974
+ async function resumeRun(id, runs2, options) {
1975
+ {
1976
+ let saved = await (runs2.get(id) ?? null);
1977
+ if (saved == null) {
1978
+ throw { message: 'No saved run "' + id + '".', code: "not_found" };
1979
+ }
1980
+ let cp = saved.checkpoint;
1981
+ 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);
1982
+ }
1983
+ }
1984
+
1985
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/router.js
1986
+ init_define_POPCRAFT_COMPONENT_IDS();
1987
+ 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.';
1988
+ function createRouter(opts) {
1989
+ {
1990
+ let call = roleModel(opts.callModel, opts.spec) ?? null;
1991
+ let threshold = ((__v) => __v == null ? "null" : typeof __v)(opts.threshold) === "number" ? opts.threshold : 0.8;
1992
+ let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 12e3;
1993
+ return async (req) => {
1994
+ {
1995
+ if (!(Array.isArray(req.tools) ?? null) || req.tools.length === 0) {
1996
+ return null;
1997
+ }
1998
+ let names = req.tools.map((t2) => {
1999
+ {
2000
+ return (t2["function"] ?? null).name;
2001
+ }
2002
+ }) ?? null;
2003
+ let turn = null;
2004
+ try {
2005
+ {
2006
+ 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);
2007
+ }
2008
+ } catch (err) {
2009
+ {
2010
+ return null;
2011
+ }
2012
+ }
2013
+ let tool = null;
2014
+ let p = 0;
2015
+ let t = (turn.text ?? "").trim() ?? null;
2016
+ let start = t.indexOf("{") ?? null;
2017
+ let end = t.lastIndexOf("}") ?? null;
2018
+ if (start >= 0 && end > start) {
2019
+ try {
2020
+ {
2021
+ let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
2022
+ if (((__v) => __v == null ? "null" : typeof __v)(j.tool) === "string" && (names.includes(j.tool) ?? null)) {
2023
+ tool = j.tool;
2024
+ }
2025
+ if (((__v) => __v == null ? "null" : typeof __v)(j.p) === "number") {
2026
+ p = j.p;
2027
+ }
2028
+ }
2029
+ } catch (e) {
2030
+ {
2031
+ }
2032
+ }
2033
+ }
2034
+ let sharp = tool != null && p >= threshold;
2035
+ if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
2036
+ opts.onEvent({ type: "router:pick", round: req.round, model: opts.spec.model, tool, p, sharp }) ?? null;
2037
+ }
2038
+ return sharp ? forceTool(tool) ?? null : null;
2039
+ }
2040
+ };
2041
+ }
2042
+ }
2043
+
2044
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/auto.js
2045
+ init_define_POPCRAFT_COMPONENT_IDS();
2046
+ function normalizeMode(mode) {
2047
+ {
2048
+ if (mode === "off" || mode === false) {
2049
+ return "off";
2050
+ }
2051
+ if (mode === "ultra") {
2052
+ return "ultra";
2053
+ }
2054
+ return "auto";
2055
+ }
2056
+ }
2057
+ function createOrchestration(callModel, opts) {
2058
+ {
2059
+ let o = opts ?? {};
2060
+ let mode = normalizeMode(o.mode ?? "auto") ?? null;
2061
+ let skill = o.skill != null && ((__v) => __v == null ? "null" : typeof __v)(o.skill) === "object" ? o.skill : null;
2062
+ let catalog = o.catalog ?? null;
2063
+ let emit = (e) => {
2064
+ {
2065
+ if (((__v) => __v == null ? "null" : typeof __v)(o.onEvent) === "function") {
2066
+ o.onEvent(e) ?? null;
2067
+ }
2068
+ }
2069
+ };
2070
+ let hostLimit = ((__v) => __v == null ? "null" : typeof __v)(o.maxConcurrent) === "number" ? o.maxConcurrent : null;
2071
+ if (mode === "off" || skill == null) {
2072
+ return { mode, skill: null, roles: {}, maxConcurrent: hostLimit, guidance: "", callModel, childModel: (m) => {
2073
+ {
2074
+ return null;
2075
+ }
2076
+ }, advise: null, route: null };
2077
+ }
2078
+ emit({ type: "skill", skill: skill.name }) ?? null;
2079
+ let roles = mergeRoles(skill.roles, o.roles ?? null) ?? null;
2080
+ if (((__v) => __v == null ? "null" : typeof __v)(o.effort) === "string" && (roles.lead ?? null) != null) {
2081
+ roles = mergeRoles(roles, { lead: { effort: o.effort } }) ?? null;
2082
+ }
2083
+ let specs = {};
2084
+ let calls = {};
2085
+ let callFor = (role) => {
2086
+ {
2087
+ if ((calls[role] ?? null ?? null) == null) {
2088
+ let spec = resolveRole(role, roles, catalog) ?? null;
2089
+ if (spec == null) {
2090
+ return null;
2091
+ }
2092
+ specs[role] = spec;
2093
+ calls[role] = roleModel(callModel, spec) ?? null;
2094
+ emit({ type: "role:model", role, model: spec.model }) ?? null;
2095
+ }
2096
+ return calls[role] ?? null;
2097
+ }
2098
+ };
2099
+ let lead = callFor("lead") ?? null ?? callModel;
2100
+ let advise = null;
2101
+ let route = null;
2102
+ if ((callFor("advisor") ?? null) != null) {
2103
+ let triggers = null;
2104
+ if (Array.isArray(skill.advisorTriggers) ?? null) {
2105
+ 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 };
2106
+ }
2107
+ advise = (createAdvisor({ callModel, spec: specs.advisor, triggers, maxCalls: skill.advisorMaxCalls ?? null, maxChars: null, guidance: skill.guidance, onEvent: (e) => {
2108
+ {
2109
+ emit(e) ?? null;
2110
+ }
2111
+ } }) ?? null).advise;
2112
+ }
2113
+ if (((__v) => __v == null ? "null" : typeof __v)(skill.routerThreshold) === "number" && (callFor("router") ?? null) != null) {
2114
+ route = createRouter({ callModel, spec: specs.router, threshold: skill.routerThreshold, onEvent: (e) => {
2115
+ {
2116
+ emit(e) ?? null;
2117
+ }
2118
+ } }) ?? null;
2119
+ }
2120
+ return { mode, skill, roles, maxConcurrent: hostLimit ?? skill.maxConcurrent ?? null, guidance: skill.guidance, callModel: lead, childModel: (profileModel) => {
2121
+ {
2122
+ let role = roleOfProfileModel(profileModel) ?? null;
2123
+ if (role == null) {
2124
+ return roleModel(callModel, { model: profileModel, effort: (specs.lead ?? {}).effort ?? null, fallback: null }) ?? null;
2125
+ }
2126
+ return callFor(role) ?? null ?? lead;
2127
+ }
2128
+ }, advise, route };
2129
+ }
2130
+ }
2131
+
2132
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/core/orchestration-skill.js
2133
+ init_define_POPCRAFT_COMPONENT_IDS();
2134
+ function splitList(v) {
2135
+ {
2136
+ if ((v ?? null) == null) {
2137
+ return [];
2138
+ }
2139
+ return ((v.split(",") ?? null).map((s) => {
2140
+ {
2141
+ return s.trim() ?? null;
2142
+ }
2143
+ }) ?? null).filter((s) => {
2144
+ {
2145
+ return s !== "";
2146
+ }
2147
+ }) ?? null;
2148
+ }
2149
+ }
2150
+ function unquote(v) {
2151
+ {
2152
+ let t = v.trim() ?? null;
2153
+ if (t.length >= 2 && ((t.startsWith('"') ?? null) && (t.endsWith('"') ?? null) || (t.startsWith("'") ?? null) && (t.endsWith("'") ?? null))) {
2154
+ return t.slice(1, t.length - 1) ?? null;
2155
+ }
2156
+ return t;
2157
+ }
2158
+ }
2159
+ function num(v) {
2160
+ {
2161
+ if ((v ?? null) == null || v === "") {
2162
+ return null;
2163
+ }
2164
+ let n = Number(v) ?? null;
2165
+ return Number.isFinite(n) ?? null ? n : null;
2166
+ }
2167
+ }
2168
+ function parseOrchestrationSkill(text) {
2169
+ {
2170
+ let src = ((__v) => __v == null ? "null" : typeof __v)(text) === "string" ? (text.split("\r\n") ?? null).join("\n") ?? null : "";
2171
+ if (!(src.startsWith("---\n") ?? null)) {
2172
+ return null;
2173
+ }
2174
+ let end = src.indexOf("\n---", 4) ?? null;
2175
+ if (end < 0) {
2176
+ return null;
2177
+ }
2178
+ let head = src.slice(4, end) ?? null;
2179
+ let body = src.slice(end + 4) ?? null;
2180
+ if (body.startsWith("\n") ?? null) {
2181
+ body = body.slice(1) ?? null;
2182
+ }
2183
+ let f = {};
2184
+ for (const line of head.split("\n") ?? null) {
2185
+ let i = line.indexOf(":") ?? null;
2186
+ if (i <= 0 || ((line.trim() ?? null).startsWith("#") ?? null)) {
2187
+ continue;
2188
+ }
2189
+ f[((line.slice(0, i) ?? null).trim() ?? null).toLowerCase() ?? null] = unquote(line.slice(i + 1) ?? null) ?? null;
2190
+ }
2191
+ if ((f["kind"] ?? null ?? "") !== "orchestration") {
2192
+ return null;
2193
+ }
2194
+ let roles = {};
2195
+ for (const r of MODEL_ROLES) {
2196
+ let model = f[r] ?? null ?? "";
2197
+ if (model === "") {
2198
+ continue;
2199
+ }
2200
+ let spec = { model, effort: (f[r + "_effort"] ?? null ?? "") !== "" ? f[r + "_effort"] ?? null : null, fallback: splitList(f[r + "_fallback"] ?? null ?? null) ?? null };
2201
+ roles[r] = spec;
2202
+ }
2203
+ let triggers = splitList(f["advisor_triggers"] ?? null ?? null) ?? null;
2204
+ return { name: (f["name"] ?? null ?? "") !== "" ? f["name"] ?? null : "orchestration", description: f["description"] ?? null ?? "", modes: (splitList(f["modes"] ?? null ?? null) ?? null).map((m) => {
2205
+ {
2206
+ return m.toLowerCase() ?? null;
2207
+ }
2208
+ }) ?? 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 };
2209
+ }
2210
+ }
2211
+ function skillsForMode(skills, mode) {
2212
+ {
2213
+ if (mode === "off" || !(Array.isArray(skills) ?? null)) {
2214
+ return [];
2215
+ }
2216
+ return skills.filter((s) => {
2217
+ {
2218
+ return s != null && ((__v) => __v == null ? "null" : typeof __v)(s) === "object" && (s.modes.length === 0 || (s.modes.includes(mode) ?? null));
2219
+ }
2220
+ }) ?? null;
2221
+ }
2222
+ }
2223
+ async function chooseOrchestrationSkill(callModel, skills, task, mode) {
2224
+ {
2225
+ let candidates = skillsForMode(skills, mode) ?? null;
2226
+ if (candidates.length === 0) {
2227
+ return null;
2228
+ }
2229
+ if (candidates.length === 1) {
2230
+ return candidates[0] ?? null;
2231
+ }
2232
+ let list = (candidates.map((s) => {
2233
+ {
2234
+ return "- " + s.name + ": " + s.description;
2235
+ }
2236
+ }) ?? null).join("\n") ?? null;
2237
+ 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 }];
2238
+ let turn = null;
2239
+ try {
2240
+ {
2241
+ turn = await (callModel(messages, [], {}, null, null) ?? null);
2242
+ }
2243
+ } catch (err) {
2244
+ {
2245
+ return null;
2246
+ }
2247
+ }
2248
+ let said = ((String(turn.text ?? "") ?? null).trim() ?? null).toLowerCase() ?? null;
2249
+ for (const ch of ["`", "'", '"', "*", "."]) {
2250
+ said = (said.split(ch) ?? null).join("") ?? null;
2251
+ }
2252
+ for (const s of candidates) {
2253
+ if (said === (s.name.toLowerCase() ?? null) || (said.includes(s.name.toLowerCase() ?? null) ?? null)) {
2254
+ return s;
2255
+ }
2256
+ }
2257
+ return null;
2258
+ }
2259
+ }
2260
+
2261
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/indexeddb.js
2262
+ init_define_POPCRAFT_COMPONENT_IDS();
2263
+ function indexedDbStore(name = "hypery-agents") {
2264
+ let db = null;
2265
+ const open = () => db ?? (db = new Promise((res, rej) => {
2266
+ const req = indexedDB.open(name, 1);
2267
+ req.onupgradeneeded = () => {
2268
+ req.result.createObjectStore("kv");
2269
+ };
2270
+ req.onsuccess = () => res(req.result);
2271
+ req.onerror = () => rej(req.error);
2272
+ }));
2273
+ const tx = async (mode, fn) => {
2274
+ const store = (await open()).transaction("kv", mode).objectStore("kv");
2275
+ return new Promise((res, rej) => {
2276
+ const r = fn(store);
2277
+ r.onsuccess = () => res(r.result);
2278
+ r.onerror = () => rej(r.error);
2279
+ });
2280
+ };
2281
+ return {
2282
+ // A missing key reads as null, as the core's stores do.
2283
+ get: async (k) => await tx("readonly", (s) => s.get(k)) ?? null,
2284
+ set: async (k, v) => {
2285
+ await tx("readwrite", (s) => s.put(structuredClone(v), k));
2286
+ },
2287
+ delete: async (k) => {
2288
+ await tx("readwrite", (s) => s.delete(k));
2289
+ },
2290
+ keys: async (prefix) => (await tx("readonly", (s) => s.getAllKeys())).map(String).filter((k) => k.startsWith(prefix))
2291
+ };
2292
+ }
2293
+
2294
+ // node_modules/.pnpm/@hyperyai+sdk@3.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_d69693b791dff3e94d3ba5e17f14c5e0/node_modules/@hyperyai/sdk/dist/agents/index.js
2295
+ function createHyperyModel2(opts) {
2296
+ return createHyperyModel({ ...opts, fetch: opts.fetch ?? ((url, init) => fetch(url, init)) });
2297
+ }
2298
+ function createAgentRuntime2(host) {
2299
+ return createAgentRuntime({
2300
+ ...host,
2301
+ createSignal: host.createSignal ?? (() => {
2302
+ const controller = new AbortController();
2303
+ return { signal: controller.signal, stop: () => controller.abort() };
2304
+ })
2305
+ // The core types a child's signal as anything with `aborted`; here every one comes from `createSignal`, whose
2306
+ // signals are AbortSignals — so the host's callbacks may rely on that.
2307
+ });
2308
+ }
2309
+
2310
+ // lib/agent/stream-parse.ts
2311
+ init_define_POPCRAFT_COMPONENT_IDS();
2312
+
2313
+ // lib/agent/gateway.ts
2314
+ var session = {
2315
+ token: () => accessToken(),
2316
+ team: () => activeHyperyTeamId(),
2317
+ paymentSource: async () => (await paymentSourceHeaders())[HYPERY_PAYMENT_SOURCE_HEADER] === "credits" ? "credits" : null,
2318
+ gatewayUrl: HYPERY_GATEWAY_URL
2319
+ };
2320
+ var agentModel2 = (model) => createHyperyModel2({
2321
+ ...session,
2322
+ model: () => {
2323
+ const id = model();
2324
+ if (!id) throw agentModelError("Pick a chat model for the agent first.", "no_model", 400);
2325
+ return id;
2326
+ }
2327
+ });
2328
+
2329
+ // lib/agent/turn-recovery.ts
2330
+ init_define_POPCRAFT_COMPONENT_IDS();
2331
+ var ACTION_NUDGES = 2;
2332
+ var MAX_READ_ROUNDS = 4;
2333
+ 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.";
2334
+ 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.";
2335
+ 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;
2336
+ function wantsChange(text) {
2337
+ const body = text.trim();
2338
+ if (!body) return false;
2339
+ return !(body.endsWith("?") && QUESTION_START.test(body));
2340
+ }
2341
+ function createActionGuard(opts) {
2342
+ const maxReads = opts.maxReadRounds ?? MAX_READ_ROUNDS;
2343
+ const maxNudges = opts.nudges ?? ACTION_NUDGES;
2344
+ let readRounds = opts.initial?.readRounds ?? 0;
2345
+ let nudges = opts.initial?.nudges ?? 0;
2346
+ let acted = false;
2347
+ let actedThisRound = false;
2348
+ let ranThisRound = false;
2349
+ let notes = [];
2350
+ let choice = null;
2351
+ let budgetSpent = readRounds >= maxReads;
2352
+ return {
2353
+ onRun(run, changed) {
2354
+ ranThisRound = true;
2355
+ if (run.ok && changed) {
2356
+ acted = true;
2357
+ actedThisRound = true;
2358
+ }
2359
+ },
2360
+ onRoundEnd() {
2361
+ if (!opts.enabled || acted || !ranThisRound) {
2362
+ ranThisRound = false;
2363
+ actedThisRound = false;
2364
+ return;
2365
+ }
2366
+ if (!actedThisRound) readRounds++;
2367
+ ranThisRound = false;
2368
+ actedThisRound = false;
2369
+ if (!budgetSpent && readRounds >= maxReads) {
2370
+ budgetSpent = true;
2371
+ notes.push(READ_BUDGET_NOTE);
2372
+ choice = "required";
2373
+ }
2374
+ },
2375
+ onNudge() {
2376
+ nudges++;
2377
+ if (opts.enabled && nudges >= maxNudges && opts.writeTool) choice = forceTool(opts.writeTool);
2378
+ else if (opts.enabled) choice = "required";
2379
+ return nudges;
2380
+ },
2381
+ drain() {
2382
+ const out = notes;
2383
+ notes = [];
2384
+ return out;
2385
+ },
2386
+ toolChoice() {
2387
+ if (acted) return null;
2388
+ const c = choice;
2389
+ choice = null;
2390
+ return c;
2391
+ },
2392
+ get acted() {
2393
+ return acted;
2394
+ },
2395
+ state: () => ({ readRounds, nudges, forced: budgetSpent })
2396
+ };
2397
+ }
2398
+ function createToolLedger(initial = null) {
2399
+ let done = { ...initial ?? {} };
2400
+ return {
2401
+ get: (id) => done[id],
2402
+ record: (run) => {
2403
+ done = { ...done, [run.id]: { id: run.id, name: run.name, argsText: run.argsText, ok: run.ok, summary: run.summary, content: run.content } };
2404
+ },
2405
+ entries: () => done,
2406
+ clear: () => {
2407
+ done = {};
2408
+ }
2409
+ };
2410
+ }
2411
+ async function runOnce(ledger, call, run) {
2412
+ const seen = ledger.get(call.id);
2413
+ if (seen) return { ...seen, acted: false, replayed: true };
2414
+ const result = await run();
2415
+ ledger.record(result);
2416
+ return result;
2417
+ }
2418
+ function resumeTranscript(checkpoint, pending, ledger) {
2419
+ if (!pending?.calls.length) return checkpoint;
2420
+ const answered = new Set(checkpoint.filter((m) => m.role === "tool").map((m) => m.tool_call_id));
2421
+ if (pending.calls.every((c) => answered.has(c.id))) return checkpoint;
2422
+ const assistant = {
2423
+ role: "assistant",
2424
+ content: pending.text,
2425
+ tool_calls: pending.calls.map((c) => ({ id: c.id, type: "function", function: { name: c.name, arguments: c.argsText } }))
2426
+ };
2427
+ 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 }));
2428
+ return [...checkpoint, assistant, ...answers];
2429
+ }
2430
+ var browserSignals = () => {
2431
+ if (typeof document === "undefined" || typeof window === "undefined") return null;
2432
+ return {
2433
+ hidden: () => document.visibilityState === "hidden",
2434
+ online: () => typeof navigator === "undefined" || navigator.onLine !== false,
2435
+ subscribe: (fn) => {
2436
+ document.addEventListener("visibilitychange", fn);
2437
+ window.addEventListener("online", fn);
2438
+ window.addEventListener("pageshow", fn);
2439
+ return () => {
2440
+ document.removeEventListener("visibilitychange", fn);
2441
+ window.removeEventListener("online", fn);
2442
+ window.removeEventListener("pageshow", fn);
2443
+ };
2444
+ }
2445
+ };
2446
+ };
2447
+ function whenResumable(signals = browserSignals(), signal, offlineWaitMs = 0) {
2448
+ if (!signals || signal?.aborted) return Promise.resolve();
2449
+ const visible = () => !signals.hidden() ? Promise.resolve() : new Promise((resolve2) => {
2450
+ const done = () => {
2451
+ off();
2452
+ signal?.removeEventListener("abort", done);
2453
+ resolve2();
2454
+ };
2455
+ const off = signals.subscribe(() => {
2456
+ if (!signals.hidden()) done();
2457
+ });
2458
+ signal?.addEventListener("abort", done);
2459
+ });
2460
+ return visible().then(() => {
2461
+ if (!offlineWaitMs || signals.online() || signal?.aborted) return;
2462
+ return new Promise((resolve2) => {
2463
+ const done = () => {
2464
+ clearTimeout(timer);
2465
+ off();
2466
+ signal?.removeEventListener("abort", done);
2467
+ resolve2();
2468
+ };
2469
+ const timer = setTimeout(done, offlineWaitMs);
2470
+ const off = signals.subscribe(() => {
2471
+ if (signals.online()) done();
2472
+ });
2473
+ signal?.addEventListener("abort", done);
2474
+ });
2475
+ });
2476
+ }
2477
+ function isInterruption(err, hidden = false) {
2478
+ if (hidden) return true;
2479
+ const e = err ?? {};
2480
+ if (e.code === "ai_timeout") return true;
2481
+ if (typeof e.status === "number") return e.status >= 500 || e.status === 408;
2482
+ const text = `${String(e.name ?? "")} ${String(e.code ?? "")} ${String(e.message ?? "")}`.toLowerCase();
2483
+ return ["load failed", "failed to fetch", "network", "fetch failed", "econnreset", "socket", "stream", "stalled", "timed out", "timeout"].some((w) => text.includes(w));
2484
+ }
2485
+ function serialRuns(inner) {
2486
+ const latest = /* @__PURE__ */ new Map();
2487
+ let queue = Promise.resolve();
2488
+ return {
2489
+ peek: (id) => latest.get(id),
2490
+ get: async (id) => latest.get(id) ?? inner.get(id),
2491
+ save: (rec) => {
2492
+ latest.set(rec.id, rec);
2493
+ const write = queue.then(() => inner.save(rec));
2494
+ queue = write.catch(() => {
2495
+ });
2496
+ return write;
2497
+ },
2498
+ list: async () => {
2499
+ await queue;
2500
+ return inner.list();
2501
+ },
2502
+ remove: (id) => {
2503
+ latest.delete(id);
2504
+ const write = queue.then(() => inner.remove(id));
2505
+ queue = write.catch(() => {
2506
+ });
2507
+ return write;
2508
+ }
2509
+ };
2510
+ }
2511
+
2512
+ // lib/agent/tools/subagent-tools.ts
2513
+ init_define_POPCRAFT_COMPONENT_IDS();
2514
+
2515
+ // lib/agent/subagent.ts
2516
+ init_define_POPCRAFT_COMPONENT_IDS();
2517
+
2518
+ // lib/agent/orchestration.ts
2519
+ init_define_POPCRAFT_COMPONENT_IDS();
2520
+ var MODE_KEY = "popcraft-agent-orchestration";
2521
+ function loadMode() {
2522
+ try {
2523
+ return normalizeMode(typeof localStorage === "undefined" ? null : localStorage.getItem(MODE_KEY));
2524
+ } catch {
2525
+ return "auto";
2526
+ }
2527
+ }
2528
+ var useOrchestrationStore = create(() => ({ mode: loadMode() }));
2529
+ var orchestrationMode = () => useOrchestrationStore.getState().mode;
2530
+ var orchestrationSkillOf = (skill) => parseOrchestrationSkill(skill.instructions);
2531
+ var orchestrationSkills = (skills = allSkills()) => skills.map(orchestrationSkillOf).filter((s) => s !== null);
2532
+ var current = null;
2533
+ var currentOrchestration = () => current;
2534
+ async function orchestrateTurn(opts) {
2535
+ const mode = opts.mode ?? orchestrationMode();
2536
+ let skill = null;
2537
+ if (mode !== "off") {
2538
+ skill = await chooseOrchestrationSkill(opts.callModel, opts.skills ?? orchestrationSkills(), opts.task, mode).catch(() => null);
2539
+ }
2540
+ if (skill && opts.explicitModel && skill.roles?.lead) {
2541
+ const { lead: _lead, ...roles } = skill.roles;
2542
+ skill = { ...skill, roles };
2543
+ }
2544
+ current = createOrchestration(opts.callModel, { mode, skill, onEvent: opts.onEvent });
2545
+ return current;
2546
+ }
2547
+ function endOrchestration(orch) {
2548
+ if (current === orch) current = null;
2549
+ }
2550
+
2551
+ // lib/agent/prompt.ts
2552
+ init_define_POPCRAFT_COMPONENT_IDS();
2553
+ init_limits();
2554
+ var PROMPT_LIMITS = {
2555
+ maxPromptChars: 14400,
2556
+ maxSkillIndexChars: 5200,
2557
+ maxProfileIndexChars: 1600,
2558
+ maxContextChars: AI_LIMITS.maxContextChars,
2559
+ maxSelectionItems: 12
2560
+ };
2561
+ 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.`;
2562
+ var HOW_TO_WORK = `How you work:
2563
+ - Inspect before you edit. Read the selection and the layers you are about to change; never guess at node ids, colors or sizes.
2564
+ - 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.
2565
+ - 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.
2566
+ - Stay inside the scope the user pointed at. The selection is the default scope; do not touch the rest of the page unless asked.
2567
+ - Explain briefly. A line or two about what you did and why, with counts rather than lists. No preamble, no restating the request.
2568
+ - 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.
2569
+ - 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.
2570
+ - Plan visibly for anything longer than a couple of steps: manage_todos puts the plan in front of the user and keeps you honest.
2571
+ - 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.
2572
+ - 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.
2573
+ - 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.`;
2574
+ var describeNodes = (doc, ids) => {
2575
+ const shown = ids.slice(0, PROMPT_LIMITS.maxSelectionItems);
2576
+ const parts = shown.map((id) => {
2577
+ const n = doc.nodes[id];
2578
+ return n ? `${id} (${n.type}${n.name ? ` "${str(n.name, 40)}"` : ""})` : `${id} (missing)`;
2579
+ });
2580
+ const rest = ids.length - shown.length;
2581
+ return parts.join(", ") + (rest > 0 ? `, +${rest} more` : "");
2582
+ };
2583
+ function buildContextBlock(ctx, maxChars = PROMPT_LIMITS.maxContextChars) {
2584
+ const { doc, pageId, selection } = ctx;
2585
+ const page = doc.nodes[pageId];
2586
+ const lines = [
2587
+ `Document: "${str(doc.name, AI_LIMITS.maxNameChars)}" (${doc.pages.length} page${doc.pages.length === 1 ? "" : "s"}, ${Object.keys(doc.nodes).length} nodes)`,
2588
+ `Current page: ${page ? `"${str(page.name, AI_LIMITS.maxNameChars)}"` : "unknown"} (id ${pageId}, ${page?.childIds?.length ?? 0} top-level layers)`,
2589
+ 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."
2590
+ ];
2591
+ const mentions = mentionContext(ctx.mentions, doc);
2592
+ if (mentions) lines.push(mentions);
2593
+ if (ctx.camera) {
2594
+ const z = Math.round(ctx.camera.zoom * 100);
2595
+ const size = ctx.viewport ? `, ${Math.round(ctx.viewport.width / ctx.camera.zoom)}x${Math.round(ctx.viewport.height / ctx.camera.zoom)} canvas units visible` : "";
2596
+ lines.push(`Viewport: ${z}% zoom at (${Math.round(ctx.camera.x)}, ${Math.round(ctx.camera.y)})${size}`);
2597
+ }
2598
+ const design = buildDesignContext(doc, Math.max(200, Math.floor(maxChars / 2)));
2599
+ if (design) lines.push(design);
2600
+ 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.");
2601
+ return joinWithin(lines, maxChars);
2602
+ }
2603
+ function buildSkillIndex(skills, maxChars = PROMPT_LIMITS.maxSkillIndexChars) {
2604
+ return joinWithin(skills.filter((s) => parseOrchestrationSkill(s.instructions) === null).map(skillIndexLine), maxChars);
2605
+ }
2606
+ function buildProfileIndex(profiles, maxChars = PROMPT_LIMITS.maxProfileIndexChars) {
2607
+ return joinWithin(profiles.map(profileIndexLine), maxChars);
2608
+ }
2609
+ function buildSubagentPrompt(instructions, ctx) {
2610
+ const prompt = [instructions, SUBAGENT_FRAMING, `Current context:
2611
+ ${buildContextBlock(ctx)}`].join("\n\n");
2612
+ return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2613
+ \u2026`;
2614
+ }
2615
+ function buildSystemPrompt(ctx) {
2616
+ const skills = ctx.skills ?? allSkills();
2617
+ const profiles = ctx.profiles ?? allProfiles();
2618
+ const active = ctx.activeSkillId ? findSkill(ctx.activeSkillId) : void 0;
2619
+ const sections = [
2620
+ IDENTITY,
2621
+ HOW_TO_WORK,
2622
+ `Skills (read the full instructions with read_skill before you follow one \u2014 only the summaries are here):
2623
+ ${buildSkillIndex(skills)}`,
2624
+ `Subagent profiles (spawn one with task({ subagent_type, prompt }); it starts fresh, sees this document but not this conversation, and returns only a summary):
2625
+ ${buildProfileIndex(profiles)}`,
2626
+ active ? `The user selected the "${active.name}" skill (${active.id}) for this turn. Call read_skill("${active.id}") first and follow it.` : "",
2627
+ // Last on purpose: selection, camera and viewport change every turn, and providers cache prompts by
2628
+ // prefix — everything above is identical from turn to turn, so it stays cacheable.
2629
+ `Current context:
2630
+ ${buildContextBlock(ctx)}`
2631
+ ].filter(Boolean);
2632
+ const prompt = sections.join("\n\n");
2633
+ return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2634
+ \u2026`;
2635
+ }
2636
+
2637
+ // lib/agent/subagent.ts
2638
+ var PARENT_ONLY_TOOLS = ["task", "await_job", "send_message", "stop_agent", "list_agents"];
2639
+ var AGENT_SESSIONS_DB = "popcraft-agent-sessions";
2640
+ var FAST_HINTS = ["flash", "mini", "haiku", "lite", "nano", "small"];
2641
+ var isFastModelId = (id) => {
2642
+ const lower = id.toLowerCase();
2643
+ return FAST_HINTS.some((h) => lower.includes(h));
2644
+ };
2645
+ function canRunTools(model) {
2646
+ if (model.capabilities && !model.capabilities.includes("tools")) return false;
2647
+ const modalities = model.outputModalities;
2648
+ if (modalities?.length && !modalities.includes("text")) return false;
2649
+ return !/(^|[-/_])image([-/_]|$)/.test(model.id.toLowerCase());
2650
+ }
2651
+ function pickChildModel(profile, parentModel, catalog) {
2652
+ const explicit = profile.model?.trim();
2653
+ if (explicit && explicit !== "inherit") return explicit;
2654
+ if (!profile.readOnly) return parentModel;
2655
+ const fast = catalog.find((m) => isFastModelId(m.id) && canRunTools(m));
2656
+ return fast?.id ?? parentModel;
2657
+ }
2658
+ function childToolNames(profile, registered, forceReadOnly) {
2659
+ const wanted = profile.tools.includes(ALL_TOOLS) ? null : new Set(profile.tools);
2660
+ const parentOnly = new Set(PARENT_ONLY_TOOLS);
2661
+ 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);
2662
+ }
2663
+ function editorPromptContext() {
2664
+ const st = useEditorStore.getState();
2665
+ return {
2666
+ doc: st.document,
2667
+ pageId: st.currentPageId,
2668
+ selection: st.selection,
2669
+ camera: st.camera,
2670
+ viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
2671
+ readOnly: !!editBlockReason()
2672
+ };
2673
+ }
2674
+ var childToolListener = null;
2675
+ function onChildTool(fn) {
2676
+ childToolListener = fn;
2677
+ return () => {
2678
+ if (childToolListener === fn) childToolListener = null;
2679
+ };
2680
+ }
2681
+ function subagentHost(deps = {}) {
2682
+ const profiles = deps.profiles ?? allProfiles;
2683
+ const registered = deps.registeredTools ?? (() => allTools().map((t) => ({ name: t.name, readOnly: t.readOnly, confirm: t.confirm, interactive: t.interactive })));
2684
+ const promptContext = deps.promptContext ?? editorPromptContext;
2685
+ const parentModel = deps.parentModel ?? (() => effectiveChatModel());
2686
+ const catalog = deps.catalog ?? (() => useAiStore.getState().catalog?.chat ?? []);
2687
+ const modelCall = deps.modelCall ?? agentModel2;
2688
+ const toolContext = deps.toolContext ?? editorToolContext;
2689
+ const profileOf = (ctx) => profiles().find((p) => p.id === ctx.profile.id) ?? ctx.profile;
2690
+ const readOnly = (ctx) => ctx.readOnly || promptContext().readOnly === true;
2691
+ return {
2692
+ profiles,
2693
+ callModel: modelCall(parentModel),
2694
+ childModel: (ctx) => {
2695
+ const orch = currentOrchestration();
2696
+ if (orch?.skill) {
2697
+ const call = orch.childModel(readOnly(ctx) ? "swarm" : profileOf(ctx).model ?? null);
2698
+ if (call) return call;
2699
+ }
2700
+ const model = pickChildModel(profileOf(ctx), parentModel(), catalog());
2701
+ return modelCall(() => model);
2702
+ },
2703
+ // The turn's skill sets how many background children run at once (null: the SDK's default).
2704
+ maxConcurrent: () => currentOrchestration()?.maxConcurrent ?? null,
2705
+ childSystemPrompt: (ctx) => buildSubagentPrompt(ctx.profile.instructions, promptContext()),
2706
+ childTools: (ctx) => {
2707
+ const all = registered();
2708
+ const names = childToolNames(profileOf(ctx), all, readOnly(ctx));
2709
+ return (names.length ? toolSpecs(names) : []).map((spec) => ({
2710
+ spec,
2711
+ readOnly: all.find((t) => t.name === spec.function.name)?.readOnly === true
2712
+ }));
2713
+ },
2714
+ execChildTool: async (call, ctx) => {
2715
+ if (!childToolNames(profileOf(ctx), registered(), readOnly(ctx)).includes(call.name)) {
2716
+ 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.`;
2717
+ return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2718
+ }
2719
+ const base = toolContext(ctx.signal);
2720
+ const toolCtx = { ...base, actor: { ...base.actor ?? {}, kind: "agent", nested: true, id: ctx.session.id } };
2721
+ try {
2722
+ const result = await runTool(call.name, call.argsText, toolCtx);
2723
+ return { ...call, ok: true, summary: result.summary, content: JSON.stringify(result.data ?? { ok: true, summary: result.summary }), images: result.images };
2724
+ } catch (err) {
2725
+ const message = err.message ?? String(err);
2726
+ return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2727
+ }
2728
+ },
2729
+ store: deps.store === null ? void 0 : deps.store ?? (typeof indexedDB === "undefined" ? void 0 : sessionStore(indexedDbStore(AGENT_SESSIONS_DB), "editor")),
2730
+ onEvent: (event) => reportChildTool(runtimeRef, event)
2731
+ };
2732
+ }
2733
+ var runtimeRef = null;
2734
+ var MAX_STEPS = 50;
2735
+ var activity = /* @__PURE__ */ new Map();
2736
+ var activityListeners = /* @__PURE__ */ new Set();
2737
+ function recordStep(event) {
2738
+ if (event.type !== "tool-start" && event.type !== "tool-end") return;
2739
+ const name = event.name ?? "";
2740
+ const steps = [...activity.get(event.sessionId) ?? []];
2741
+ if (event.type === "tool-start") steps.push({ name, status: "running" });
2742
+ else {
2743
+ const i = steps.findLastIndex((s) => s.name === name && s.status === "running");
2744
+ const step = { name, status: event.ok ? "done" : "error", summary: event.summary ?? void 0 };
2745
+ if (i >= 0) steps[i] = step;
2746
+ else steps.push(step);
2747
+ }
2748
+ activity.set(event.sessionId, steps.slice(-MAX_STEPS));
2749
+ for (const l of activityListeners) l();
2750
+ }
2751
+ function reportChildTool(runtime, event) {
2752
+ recordStep(event);
2753
+ if (!childToolListener || event.type !== "tool-start" && event.type !== "tool-end") return;
2754
+ const session2 = runtime?.get(event.sessionId);
2755
+ if (!session2) return;
2756
+ const jobId = session2.background ? session2.id : void 0;
2757
+ childToolListener({
2758
+ profile: session2.profile,
2759
+ toolCallId: session2.parentCallId ?? void 0,
2760
+ jobId,
2761
+ job: jobId,
2762
+ name: event.name ?? "",
2763
+ status: event.type === "tool-start" ? "running" : event.ok ? "done" : "error",
2764
+ summary: event.type === "tool-end" ? event.summary ?? void 0 : void 0
2765
+ });
2766
+ }
2767
+ function agentRuntime() {
2768
+ if (!runtimeRef) {
2769
+ runtimeRef = createAgentRuntime2(subagentHost());
2770
+ void runtimeRef.load();
2771
+ }
2772
+ return runtimeRef;
2773
+ }
2774
+
2775
+ // lib/agent/tools/subagent-tools.ts
2776
+ var MAX_WAIT_MS = 6e5;
2777
+ var DEFAULT_WAIT_MS = 12e4;
2778
+ function subagentDelegate(deps = {}) {
2779
+ const runtime = deps.runtime ?? agentRuntime;
2780
+ return async (raw) => {
2781
+ const request = raw;
2782
+ const rt = runtime();
2783
+ await rt.load();
2784
+ switch (request.op) {
2785
+ case "spawn": {
2786
+ const r = await rt.spawn({
2787
+ profileId: request.profileId,
2788
+ prompt: request.prompt,
2789
+ description: request.description,
2790
+ readOnly: deps.readOnly === true || request.readOnly === true,
2791
+ background: request.background,
2792
+ signal: deps.signal,
2793
+ parentCallId: request.callId
2794
+ });
2795
+ if (r.kind === "refused") return { kind: "refused", reason: r.reason };
2796
+ if (r.kind === "started") return { kind: "job", jobId: r.id };
2797
+ return { kind: "result", jobId: r.id, ok: r.ok, rounds: r.rounds, summary: r.summary };
2798
+ }
2799
+ case "await": {
2800
+ const ms = Math.min(Math.max(request.timeoutMs ?? DEFAULT_WAIT_MS, 1e3), MAX_WAIT_MS);
2801
+ const s = await rt.wait(request.jobId, { timeoutMs: ms, signal: deps.signal });
2802
+ if (!s) return { kind: "unknown-job", jobId: request.jobId };
2803
+ if (s.status !== "running" && s.status !== "queued") rt.dismissFinished(s.id);
2804
+ return { kind: "status", jobId: s.id, status: s.status, summary: s.summary ?? "" };
2805
+ }
2806
+ case "message": {
2807
+ const r = await rt.message(request.jobId, request.text, { wait: request.wait === true, signal: deps.signal });
2808
+ if (r.kind === "unknown") return { kind: "unknown-job", jobId: request.jobId };
2809
+ if (r.kind === "queued") return { kind: "delivered", jobId: r.id, resumed: false };
2810
+ if (r.kind === "resumed") return { kind: "delivered", jobId: r.id, resumed: true };
2811
+ return { kind: "result", jobId: r.id, ok: r.ok, rounds: 0, summary: r.summary };
2812
+ }
2813
+ case "stop":
2814
+ return { kind: "stopped", jobId: request.jobId, stopped: rt.stop(request.jobId) };
2815
+ case "list":
2816
+ return {
2817
+ kind: "list",
2818
+ agents: rt.list().map((s) => ({ id: s.id, profile: s.profile, description: s.description, status: s.status, summary: s.summary ?? void 0 }))
2819
+ };
2820
+ }
2821
+ };
2822
+ }
2823
+
2824
+ // lib/commands/delegate.ts
2825
+ init_define_POPCRAFT_COMPONENT_IDS();
2826
+ var TASK_DESCRIPTION = [
2827
+ "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.",
2828
+ "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.",
2829
+ "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."
2830
+ ].join("\n\n");
2831
+ var delegateTask = defineCommand({
2832
+ id: "delegate.task",
2833
+ title: "Delegate to a subagent",
2834
+ domain: "delegate",
2835
+ // NOT harmless: a background task or a full-tool child obviously edits the document. The loop's
2836
+ // `readOnly` flag means "independent of the other calls in this batch", which a subagent spawn is, so
2837
+ // the agent exposure keeps saying true while the honest effect says document.
2838
+ effect: "document",
2839
+ permission: null,
2840
+ needs: ["delegate"],
2841
+ params: external_exports.object({
2842
+ subagent_type: external_exports.string().describe("Profile id \u2014 one of the profiles listed in your system prompt (list_profiles for the full set)."),
2843
+ prompt: external_exports.string().describe("The self-contained task. The child does not see this conversation."),
2844
+ description: external_exports.string().optional().describe('Short label for the panel row, e.g. "Survey the pricing page".'),
2845
+ readonly: external_exports.boolean().optional().describe("Force read-only tools for this child, whatever the profile allows."),
2846
+ run_in_background: external_exports.boolean().optional().describe("Return a job id immediately and notify you when the child finishes.")
2847
+ }),
2848
+ expose: {
2849
+ agent: { name: "task", description: TASK_DESCRIPTION, readOnly: true }
2850
+ },
2851
+ run: async (args, ctx) => {
2852
+ const reply = await ctx.use("delegate")({
2853
+ op: "spawn",
2854
+ profileId: args.subagent_type,
2855
+ prompt: args.prompt,
2856
+ description: args.description,
2857
+ readOnly: args.readonly === true,
2858
+ background: args.run_in_background,
2859
+ // omitted → the profile's `background` default (the SDK applies it)
2860
+ callId: ctx.callId
2861
+ });
2862
+ if (reply.kind === "refused") return { summary: "task refused (nested)", data: { error: reply.reason } };
2863
+ if (reply.kind === "job") {
2864
+ return {
2865
+ summary: `${args.subagent_type} started (${reply.jobId})`,
2866
+ data: {
2867
+ job_id: reply.jobId,
2868
+ status: "running",
2869
+ subagent_type: args.subagent_type,
2870
+ 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."
2871
+ }
2872
+ };
2873
+ }
2874
+ const result = reply;
2875
+ return {
2876
+ summary: `${args.subagent_type}: ${result.ok ? "done" : "failed"} in ${result.rounds} round${result.rounds === 1 ? "" : "s"}`,
2877
+ data: { job_id: result.jobId, subagent_type: args.subagent_type, ok: result.ok, rounds: result.rounds, summary: result.summary }
2878
+ };
2879
+ }
2880
+ });
2881
+ var delegateAwait = defineCommand({
2882
+ id: "delegate.await",
2883
+ title: "Wait for a subagent",
2884
+ domain: "delegate",
2885
+ effect: "document",
2886
+ permission: null,
2887
+ needs: ["delegate"],
2888
+ params: external_exports.object({
2889
+ job_id: external_exports.string().describe("The id a task call returned."),
2890
+ timeout_ms: external_exports.number().optional().describe("How long to wait at most, in ms (default 120000, at most 600000).")
2891
+ }),
2892
+ expose: {
2893
+ agent: {
2894
+ name: "await_job",
2895
+ 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.",
2896
+ readOnly: true
2897
+ }
2898
+ },
2899
+ run: async (args, ctx) => {
2900
+ const reply = await ctx.use("delegate")({ op: "await", jobId: args.job_id, timeoutMs: args.timeout_ms });
2901
+ if (reply.kind === "unknown-job") {
2902
+ return { summary: `No job ${args.job_id}`, data: { error: `No background task with id "${args.job_id}".` } };
2903
+ }
2904
+ const status = reply;
2905
+ if (status.status === "running" || status.status === "queued") {
2906
+ return {
2907
+ summary: `${args.job_id}: ${status.status}`,
2908
+ data: {
2909
+ job_id: args.job_id,
2910
+ status: status.status,
2911
+ note: "Still going after the wait. Carry on with other work; its summary is delivered to you automatically when it lands."
2912
+ }
2913
+ };
2914
+ }
2915
+ return { summary: `${args.job_id}: ${status.status}`, data: { job_id: args.job_id, status: status.status, summary: status.summary ?? "" } };
2916
+ }
2917
+ });
2918
+ var delegateMessage = defineCommand({
2919
+ id: "delegate.message",
2920
+ title: "Message a subagent",
2921
+ domain: "delegate",
2922
+ // A message can resume a builder, which edits the document.
2923
+ effect: "document",
2924
+ permission: null,
2925
+ needs: ["delegate"],
2926
+ params: external_exports.object({
2927
+ job_id: external_exports.string().describe("The id a task call returned."),
2928
+ message: external_exports.string().describe("What to tell it: a correction, an answer to its question, or the next piece of work."),
2929
+ wait: external_exports.boolean().optional().describe("For a finished subagent: resume it and wait for its answer now.")
2930
+ }),
2931
+ expose: {
2932
+ agent: {
2933
+ name: "send_message",
2934
+ 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.",
2935
+ readOnly: true
2936
+ }
2937
+ },
2938
+ run: async (args, ctx) => {
2939
+ const reply = await ctx.use("delegate")({ op: "message", jobId: args.job_id, text: args.message, wait: args.wait === true });
2940
+ if (reply.kind === "unknown-job") return { summary: `No subagent ${args.job_id}`, data: { error: `No subagent with id "${args.job_id}".` } };
2941
+ if (reply.kind === "delivered") {
2942
+ 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." } };
2943
+ }
2944
+ const result = reply;
2945
+ return { summary: `${args.job_id}: ${result.ok ? "answered" : "failed"}`, data: { job_id: args.job_id, ok: result.ok, summary: result.summary } };
2946
+ }
2947
+ });
2948
+ var delegateStop = defineCommand({
2949
+ id: "delegate.stop",
2950
+ title: "Stop a subagent",
2951
+ domain: "delegate",
2952
+ effect: "none",
2953
+ permission: null,
2954
+ needs: ["delegate"],
2955
+ params: external_exports.object({ job_id: external_exports.string().describe("The id a task call returned.") }),
2956
+ expose: { agent: { name: "stop_agent", description: "Stop one running subagent by id. Edits it already made stay.", readOnly: true } },
2957
+ run: async (args, ctx) => {
2958
+ const reply = await ctx.use("delegate")({ op: "stop", jobId: args.job_id });
2959
+ const stopped = reply.kind === "stopped" && reply.stopped;
2960
+ return { summary: stopped ? `${args.job_id}: stopped` : `${args.job_id}: not running`, data: { job_id: args.job_id, stopped } };
2961
+ }
2962
+ });
2963
+ var delegateList = defineCommand({
2964
+ id: "delegate.list",
2965
+ title: "List subagents",
2966
+ domain: "delegate",
2967
+ effect: "none",
2968
+ permission: null,
2969
+ needs: ["delegate"],
2970
+ params: external_exports.object({}),
2971
+ expose: { agent: { name: "list_agents", description: "List your subagents: id, profile, what each was asked, its status and its last summary.", readOnly: true } },
2972
+ run: async (_args, ctx) => {
2973
+ const reply = await ctx.use("delegate")({ op: "list" });
2974
+ const agents = reply.kind === "list" ? reply.agents : [];
2975
+ return {
2976
+ summary: `${agents.length} subagent${agents.length === 1 ? "" : "s"}`,
2977
+ data: { agents: agents.map((a) => ({ job_id: a.id, subagent_type: a.profile, description: a.description, status: a.status, summary: a.summary })) }
2978
+ };
2979
+ }
2980
+ });
2981
+ var profileList = defineCommand({
2982
+ id: "delegate.listProfiles",
2983
+ title: "List subagent profiles",
2984
+ domain: "delegate",
2985
+ effect: "none",
2986
+ permission: null,
2987
+ params: external_exports.object({}),
2988
+ expose: {
2989
+ agent: {
2990
+ name: "list_profiles",
2991
+ description: "List the subagent profiles you can delegate to with task (id, what each is for, when to use it)."
2992
+ }
2993
+ },
2994
+ run: () => {
2995
+ const profiles = allProfiles();
2996
+ return {
2997
+ summary: `${profiles.length} profile${profiles.length === 1 ? "" : "s"}`,
2998
+ data: {
2999
+ profiles: profiles.map((p) => ({
3000
+ id: p.id,
3001
+ name: p.name,
3002
+ description: p.description,
3003
+ whenToUse: p.whenToUse,
3004
+ readOnly: p.readOnly,
3005
+ tools: p.tools,
3006
+ maxRounds: p.maxRounds
3007
+ }))
3008
+ }
3009
+ };
3010
+ }
3011
+ });
3012
+ var profileRead = defineCommand({
3013
+ id: "delegate.readProfile",
3014
+ title: "Read a subagent profile",
3015
+ domain: "delegate",
3016
+ effect: "none",
3017
+ permission: null,
3018
+ params: external_exports.object({ id: external_exports.string().describe('The profile id, e.g. "inspector".') }),
3019
+ expose: {
3020
+ agent: {
3021
+ name: "read_profile",
3022
+ description: "Read a subagent profile in full \u2014 its instructions, tool allowlist and round budget \u2014 before you delegate to it."
3023
+ }
3024
+ },
3025
+ run: ({ id }) => {
3026
+ const profile = findProfile(id);
3027
+ if (!profile) {
3028
+ return { summary: `No profile "${id}"`, data: { error: `No subagent profile with id "${id}".`, available: allProfiles().map(profileIndexLine) } };
3029
+ }
3030
+ return {
3031
+ summary: `Read profile: ${profile.name}`,
3032
+ data: { id: profile.id, name: profile.name, readOnly: profile.readOnly, tools: profile.tools, maxRounds: profile.maxRounds, instructions: profile.instructions }
3033
+ };
3034
+ }
3035
+ });
3036
+ var delegateCommands = [delegateTask, delegateAwait, delegateMessage, delegateStop, delegateList, profileList, profileRead];
3037
+ function registerDelegateCommands() {
3038
+ registerCommand(...delegateCommands);
3039
+ }
3040
+
3041
+ // lib/commands/skill.ts
3042
+ init_define_POPCRAFT_COMPONENT_IDS();
3043
+ var skillList = defineCommand({
3044
+ id: "skill.list",
3045
+ title: "List skills",
3046
+ domain: "skill",
3047
+ effect: "none",
3048
+ // The skill sheets are the agent's own instructions, not the user's document.
3049
+ permission: null,
3050
+ params: external_exports.object({}),
3051
+ expose: {
3052
+ agent: {
3053
+ name: "list_skills",
3054
+ description: "List the available skills (name, what they are for, and when to use them). The full instructions come from read_skill."
3055
+ }
3056
+ },
3057
+ run: () => {
3058
+ const skills = allSkills();
3059
+ return {
3060
+ summary: `${skills.length} skill${skills.length === 1 ? "" : "s"}`,
3061
+ data: { skills: skills.map((s) => ({ id: s.id, name: s.name, description: s.description, whenToUse: s.whenToUse, tools: s.tools })) }
3062
+ };
3063
+ }
3064
+ });
3065
+ var skillRead = defineCommand({
3066
+ id: "skill.read",
3067
+ title: "Read a skill",
3068
+ domain: "skill",
3069
+ effect: "none",
3070
+ permission: null,
3071
+ params: external_exports.object({ id: external_exports.string().describe('The skill id, e.g. "fill-content".') }),
3072
+ expose: {
3073
+ agent: {
3074
+ name: "read_skill",
3075
+ description: "Read a skill\u2019s full instructions by id. Do this before following a skill; the system prompt only carries the summaries."
3076
+ }
3077
+ },
3078
+ run: ({ id }) => {
3079
+ const skill = findSkill(id);
3080
+ if (!skill) {
3081
+ return {
3082
+ summary: `No skill "${id}"`,
3083
+ data: { error: `No skill with id "${id}".`, available: allSkills().map(skillIndexLine) }
3084
+ };
3085
+ }
3086
+ return {
3087
+ summary: `Read skill: ${skill.name}`,
3088
+ data: { id: skill.id, name: skill.name, tools: skill.tools, instructions: skill.instructions }
3089
+ };
3090
+ }
3091
+ });
3092
+ var skillCommands = [skillList, skillRead];
3093
+ function registerSkillCommands() {
3094
+ registerCommand(...skillCommands);
3095
+ }
3096
+
3097
+ // lib/agent/parts.ts
3098
+ init_define_POPCRAFT_COMPONENT_IDS();
3099
+ function todoItemsFrom(rows) {
3100
+ if (!Array.isArray(rows)) return null;
3101
+ return rows.map((row) => {
3102
+ const t = row ?? {};
3103
+ return {
3104
+ text: String(t.title ?? t.text ?? ""),
3105
+ done: typeof t.done === "boolean" ? t.done : t.status === "done"
3106
+ };
3107
+ });
3108
+ }
3109
+ var textOf2 = (m) => m.parts.filter((p) => p.type === "text").map((p) => p.text).join("");
3110
+ function pushTextDelta(parts, delta) {
3111
+ const last = parts[parts.length - 1];
3112
+ if (last?.type === "text") {
3113
+ parts[parts.length - 1] = { type: "text", text: last.text + delta };
3114
+ return parts;
3115
+ }
3116
+ return [...parts, { type: "text", text: delta }];
3117
+ }
3118
+ function pushReasoningDelta(parts, delta) {
3119
+ const last = parts[parts.length - 1];
3120
+ if (last?.type === "reasoning") {
3121
+ parts[parts.length - 1] = { type: "reasoning", text: last.text + delta };
3122
+ return parts;
3123
+ }
3124
+ return [...parts, { type: "reasoning", text: delta }];
3125
+ }
3126
+ function upsertToolPart(parts, part) {
3127
+ const i = parts.findIndex((p) => p.type === "tool" && p.id === part.id);
3128
+ if (i < 0) return [...parts, part];
3129
+ const next = [...parts];
3130
+ next[i] = { ...next[i], ...part };
3131
+ return next;
3132
+ }
3133
+
3134
+ // lib/agent/runner.ts
3135
+ 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"];
3136
+ var MAX_HISTORY_MESSAGES = 24;
3137
+ var MAX_PARALLEL_TOOLS = 4;
3138
+ var MAX_TOOL_RESULT_CHARS = 48e3;
3139
+ var TURN_MAX_ROUNDS = 500;
3140
+ function needsEditableSession(name) {
3141
+ const tool = getTool(name);
3142
+ if (tool?.readOnly) return false;
3143
+ if (tool?.interactive) return false;
3144
+ return true;
3145
+ }
3146
+ function guardEdit(name) {
3147
+ if (!needsEditableSession(name)) return;
3148
+ const reason = editBlockReason();
3149
+ if (reason) throw new ToolError(`${name} cannot run: ${reason}`);
3150
+ }
3151
+ function historyMessages() {
3152
+ return activeMessages().slice(-MAX_HISTORY_MESSAGES).map((m) => ({ role: m.role, content: textOf2(m).trim() })).filter((m) => !!m.content);
3153
+ }
3154
+ function systemMessage(skillId, mentions = []) {
3155
+ const st = useEditorStore.getState();
3156
+ return {
3157
+ role: "system",
3158
+ content: buildSystemPrompt({
3159
+ doc: st.document,
3160
+ pageId: st.currentPageId,
3161
+ selection: st.selection,
3162
+ camera: st.camera,
3163
+ viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
3164
+ activeSkillId: skillId,
3165
+ readOnly: !!editBlockReason(),
3166
+ mentions
3167
+ })
3168
+ };
3169
+ }
3170
+ var registerTurnTools = (deps) => {
3171
+ registerBuiltinTools();
3172
+ registerSkillCommands();
3173
+ registerDelegateCommands();
3174
+ registerDangerousCommands();
3175
+ provideAgentCapability("delegate", subagentDelegate(deps));
3176
+ };
3177
+ var specsFor = (skillId) => {
3178
+ const skill = skillId ? findSkill(skillId) : void 0;
3179
+ return skill?.tools.length ? toolSpecs([.../* @__PURE__ */ new Set([...skill.tools, ...ALWAYS_ALLOWED])]) : toolSpecs();
3180
+ };
3181
+ var loopTools = (skillId) => specsFor(skillId).map((spec) => ({ spec, readOnly: getTool(spec.function.name)?.readOnly === true }));
3182
+ function syncTodos(run) {
3183
+ if (run.name !== "manage_todos" || !run.ok) return;
3184
+ try {
3185
+ const data = JSON.parse(run.content);
3186
+ const items = todoItemsFrom(data.todos);
3187
+ if (items) setTodos(items);
3188
+ } catch {
3189
+ }
3190
+ }
3191
+ var runs;
3192
+ var agentRuns = () => runs ??= serialRuns(runStore(indexedDbStore(AGENT_SESSIONS_DB), "editor"));
3193
+ var setAgentRuns = (store) => {
3194
+ runs = store && serialRuns(store);
3195
+ };
3196
+ var RESUME_WINDOW_MS = 30 * 6e4;
3197
+ var MAX_INTERRUPTIONS = 6;
3198
+ var SUSPEND_RESTART_MS = 5e3;
3199
+ var STOPPED_MESSAGE = "Stopped. Any edits already applied are still there.";
3200
+ async function runTurn(text, mentions = []) {
3201
+ const availability = aiAvailability();
3202
+ if (!availability.ok) {
3203
+ useAgentStore.setState({ error: { message: availability.message, code: availability.reason } });
3204
+ return;
3205
+ }
3206
+ if (!agentModel()) {
3207
+ useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3208
+ return;
3209
+ }
3210
+ const skillId = mentions.find((m) => m.kind === "skill")?.id ?? useAgentStore.getState().skillId;
3211
+ const checkpoint = rememberCheckpoint(useEditorStore.getState().document);
3212
+ const user = { id: newId(), role: "user", parts: [{ type: "text", text }], createdAt: Date.now() };
3213
+ appendMessage(user);
3214
+ const assistantId = newId();
3215
+ appendMessage({ id: assistantId, role: "assistant", parts: [], createdAt: Date.now(), checkpoint });
3216
+ const s = useAgentStore.getState();
3217
+ const meta = {
3218
+ documentId: s.documentId ?? useEditorStore.getState().document.id,
3219
+ threadId: s.activeThreadId ?? "",
3220
+ assistantId,
3221
+ skillId,
3222
+ mentions,
3223
+ wantsChange: wantsChange(text)
3224
+ };
3225
+ await drive(meta, { messages: [systemMessage(skillId, mentions), ...historyMessages()], checkpoint });
3226
+ }
3227
+ async function resumeInterrupted(documentId) {
3228
+ if (useAgentStore.getState().running) return false;
3229
+ const store = agentRuns();
3230
+ let list;
3231
+ try {
3232
+ list = await interruptedRuns(store);
3233
+ } catch {
3234
+ return false;
3235
+ }
3236
+ const mine = list.filter((r) => r.meta?.documentId === documentId).sort((a, b) => b.updatedAt - a.updatedAt);
3237
+ const [latest, ...rest] = mine;
3238
+ for (const r of rest) await store.save({ ...r, status: "stopped", updatedAt: Date.now() });
3239
+ if (!latest) return false;
3240
+ if (Date.now() - latest.updatedAt > RESUME_WINDOW_MS || !findMessage(latest.meta)) {
3241
+ await store.save({ ...latest, status: "stopped", updatedAt: Date.now() });
3242
+ return false;
3243
+ }
3244
+ if (useAgentStore.getState().running) return false;
3245
+ await drive(latest.meta, { resume: latest });
3246
+ return true;
3247
+ }
3248
+ async function continueTurn() {
3249
+ const s = useAgentStore.getState();
3250
+ if (s.running) return false;
3251
+ const messages = activeMessages();
3252
+ const last = [...messages].reverse().find((m) => m.role === "assistant");
3253
+ if (!last) return false;
3254
+ const record = await agentRuns().get(last.id).catch(() => null);
3255
+ if (record?.meta && record.meta.threadId === s.activeThreadId) {
3256
+ await drive(record.meta, { resume: { ...record, status: "running" } });
3257
+ return true;
3258
+ }
3259
+ const ask = [...messages].reverse().find((m) => m.role === "user");
3260
+ if (!ask) return false;
3261
+ await runTurn(textOf2(ask));
3262
+ return true;
3263
+ }
3264
+ function findMessage(meta) {
3265
+ if (!meta) return void 0;
3266
+ return useAgentStore.getState().threads.find((t) => t.id === meta.threadId)?.messages.find((m) => m.id === meta.assistantId);
3267
+ }
3268
+ function installPageHandlers() {
3269
+ if (typeof window === "undefined") return () => {
3270
+ };
3271
+ const save = () => persistThreads();
3272
+ const onVisibility = () => {
3273
+ if (document.visibilityState === "hidden") save();
3274
+ };
3275
+ window.addEventListener("pagehide", save);
3276
+ document.addEventListener("visibilitychange", onVisibility);
3277
+ return () => {
3278
+ window.removeEventListener("pagehide", save);
3279
+ document.removeEventListener("visibilitychange", onVisibility);
3280
+ };
3281
+ }
3282
+ function resilientModel(model, turn, parts) {
3283
+ return async (messages, specs, hooks, _signal, request) => {
3284
+ await whenResumable(void 0, turn);
3285
+ const call = new AbortController();
3286
+ const onTurnAbort = () => call.abort();
3287
+ turn.addEventListener("abort", onTurnAbort);
3288
+ let hiddenAt = 0;
3289
+ const onVisibility = () => {
3290
+ if (document.visibilityState === "hidden") hiddenAt = Date.now();
3291
+ else if (hiddenAt && Date.now() - hiddenAt > SUSPEND_RESTART_MS) call.abort();
3292
+ };
3293
+ if (typeof document !== "undefined") document.addEventListener("visibilitychange", onVisibility);
3294
+ const base = parts.get();
3295
+ try {
3296
+ const cut = new Promise((_, reject) => call.signal.addEventListener("abort", () => reject(new Error("aborted")), { once: true }));
3297
+ cut.catch(() => {
3298
+ });
3299
+ return await Promise.race([model(messages, specs, hooks, call.signal, request), cut]);
3300
+ } catch (err) {
3301
+ parts.set(base);
3302
+ if (call.signal.aborted && !turn.aborted) throw { message: "The stream was interrupted.", code: "interrupted" };
3303
+ throw err;
3304
+ } finally {
3305
+ turn.removeEventListener("abort", onTurnAbort);
3306
+ if (typeof document !== "undefined") document.removeEventListener("visibilitychange", onVisibility);
3307
+ }
3308
+ };
3309
+ }
3310
+ function lastUserText(messages) {
3311
+ const m = [...messages].reverse().find((x) => x.role === "user");
3312
+ return typeof m?.content === "string" ? m.content : m ? JSON.stringify(m.content) : "";
3313
+ }
3314
+ function withGuidance(messages, guidance) {
3315
+ const i = messages.findIndex((m) => m.role === "system");
3316
+ if (i < 0) return [{ role: "system", content: guidance }, ...messages];
3317
+ const sys = messages[i];
3318
+ return messages.map((m, j) => j === i ? { ...sys, content: `${typeof sys.content === "string" ? sys.content : ""}
3319
+
3320
+ ${guidance}` } : m);
3321
+ }
3322
+ async function drive(meta, initial) {
3323
+ let start = initial;
3324
+ const model = agentModel();
3325
+ if (!model) {
3326
+ useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3327
+ return;
3328
+ }
3329
+ const store = agentRuns();
3330
+ const id = meta.assistantId;
3331
+ const before = useEditorStore.getState().document;
3332
+ if (useAgentStore.getState().activeThreadId !== meta.threadId) useAgentStore.setState({ activeThreadId: meta.threadId });
3333
+ let checkpoint = "checkpoint" in start ? start.checkpoint : findMessage(meta)?.checkpoint;
3334
+ if (!checkpoint) {
3335
+ checkpoint = rememberCheckpoint(before);
3336
+ updateMessage(id, (m) => ({ ...m, checkpoint }), { save: false });
3337
+ }
3338
+ const ledger = createToolLedger(meta.ledger);
3339
+ let parts = [...findMessage(meta)?.parts ?? []].filter((p) => !(p.type === "error" && p.message === STOPPED_MESSAGE));
3340
+ const flush = (save = false) => setParts(id, parts, { save });
3341
+ if ("resume" in start) {
3342
+ parts = parts.map((p) => {
3343
+ if (p.type !== "tool" || p.status !== "running") return p;
3344
+ const done = ledger.get(p.id);
3345
+ return done ? { ...p, status: done.ok ? "done" : "error", summary: done.summary, result: done.content } : { ...p, status: "error", summary: "interrupted", error: "interrupted" };
3346
+ });
3347
+ parts = [...parts, { type: "notice", kind: "resumed" }];
3348
+ flush(true);
3349
+ }
3350
+ const abort = new AbortController();
3351
+ useAgentStore.setState({ running: true, resuming: false, abort, error: null });
3352
+ const ctx = editorToolContext(abort.signal);
3353
+ const { createDesignPreview, DESIGN_TOOL } = await import("./live-2AAPOZRV.js");
3354
+ const preview = createDesignPreview();
3355
+ const readOnly = !!editBlockReason();
3356
+ registerTurnTools({ readOnly, signal: abort.signal });
3357
+ const runtime = agentRuntime();
3358
+ const fresh = "messages" in start ? start : null;
3359
+ const resumed = !fresh;
3360
+ const pool = orchestrationSkills();
3361
+ const orch = await orchestrateTurn({
3362
+ callModel: agentModel2(() => model),
3363
+ task: fresh ? lastUserText(fresh.messages) : "",
3364
+ mode: resumed && !meta.orchestrationSkill ? "off" : void 0,
3365
+ skills: resumed ? pool.filter((s) => s.name === meta.orchestrationSkill) : pool
3366
+ }).catch(() => null);
3367
+ meta.orchestrationSkill = orch?.skill?.name ?? null;
3368
+ if (fresh && orch?.guidance) start = { ...fresh, messages: withGuidance(fresh.messages, orch.guidance) };
3369
+ const tools = loopTools(meta.skillId);
3370
+ const canWrite = !readOnly && meta.wantsChange;
3371
+ const writeTool = tools.some((t) => t.spec.function.name === DESIGN_TOOL) ? DESIGN_TOOL : null;
3372
+ const guard = createActionGuard({ enabled: canWrite, writeTool, initial: meta.guard });
3373
+ let pending = null;
3374
+ let saving = Promise.resolve();
3375
+ const saveMeta = () => {
3376
+ meta.guard = guard.state();
3377
+ meta.ledger = ledger.entries();
3378
+ meta.pending = pending;
3379
+ const rec = store.peek(id);
3380
+ if (rec) saving = store.save({ ...rec, meta: { ...meta }, updatedAt: Date.now() }).catch(() => {
3381
+ });
3382
+ return saving;
3383
+ };
3384
+ const offPage = installPageHandlers();
3385
+ let interruptions = 0;
3386
+ let resumeFrom = "resume" in start ? start.resume : null;
3387
+ try {
3388
+ while (true) {
3389
+ const options = {
3390
+ tools,
3391
+ meta,
3392
+ stopped: () => abort.signal.aborted,
3393
+ drainNotifications: () => {
3394
+ const notes = guard.drain();
3395
+ if (notes.length) {
3396
+ parts = [...parts, { type: "notice", kind: "read-budget" }];
3397
+ flush();
3398
+ }
3399
+ return [...notes, ...runtime.drainParentNotifications()];
3400
+ },
3401
+ maxParallel: MAX_PARALLEL_TOOLS,
3402
+ // The loop's default cut every result at 8000 characters AFTER the tool had honoured its own limit, so
3403
+ // export_svg with maxChars 40000 still came back without its last paths and the model could not
3404
+ // rebuild the artwork. Tools bound their own output; this is only the backstop.
3405
+ maxResultChars: MAX_TOOL_RESULT_CHARS,
3406
+ maxRounds: TURN_MAX_ROUNDS,
3407
+ modelRetries: 3,
3408
+ isRecoverable: (err) => !abort.signal.aborted && isInterruption(err),
3409
+ requireAction: canWrite ? { nudges: ACTION_NUDGES, message: ACTION_NUDGE } : false,
3410
+ toolChoice: () => guard.toolChoice(),
3411
+ advise: orch?.advise ?? void 0,
3412
+ route: orch?.route ?? void 0,
3413
+ callModel: resilientModel(orch?.skill ? orch.callModel : agentModel2(() => model), abort.signal, { get: () => parts, set: (p) => {
3414
+ parts = p;
3415
+ flush();
3416
+ } }),
3417
+ checkpoint: async () => {
3418
+ pending = null;
3419
+ ledger.clear();
3420
+ await saveMeta();
3421
+ },
3422
+ execTool: (call) => runOnce(ledger, call, async () => {
3423
+ const row = { type: "tool", id: call.id, name: call.name, argsText: call.argsText, status: "running" };
3424
+ parts = upsertToolPart(parts, row);
3425
+ flush();
3426
+ const docBefore = useEditorStore.getState().document;
3427
+ try {
3428
+ if (call.name === DESIGN_TOOL) preview.end();
3429
+ guardEdit(call.name);
3430
+ const result = await runTool(call.name, call.argsText, { ...ctx, toolCallId: call.id });
3431
+ const content = JSON.stringify(result.data ?? { ok: true, summary: result.summary });
3432
+ parts = upsertToolPart(parts, { ...row, status: "done", summary: result.summary, result: content });
3433
+ for (const url of result.images ?? []) parts = [...parts, { type: "image", url, caption: call.name }];
3434
+ const acted = useEditorStore.getState().document !== docBefore;
3435
+ return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: result.summary, content, images: result.images, acted };
3436
+ } catch (err) {
3437
+ const message = err.message ?? String(err);
3438
+ parts = upsertToolPart(parts, { ...row, status: "error", summary: message, error: message });
3439
+ return { id: call.id, name: call.name, argsText: call.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }), acted: false };
3440
+ } finally {
3441
+ flush(true);
3442
+ }
3443
+ }).then((run) => {
3444
+ void saveMeta();
3445
+ return run;
3446
+ }),
3447
+ hooks: {
3448
+ onAssistantStart: () => {
3449
+ pending = { text: "", calls: [] };
3450
+ },
3451
+ onTextDelta: (d) => {
3452
+ parts = pushTextDelta([...parts], d);
3453
+ if (pending) pending.text += d;
3454
+ flush();
3455
+ },
3456
+ onReasoningDelta: (d) => {
3457
+ parts = pushReasoningDelta([...parts], d);
3458
+ flush();
3459
+ },
3460
+ onToolProgress: (p) => preview.update(p.name, p.arguments),
3461
+ onToolStart: (call) => {
3462
+ pending?.calls.push({ id: call.id, name: call.name, argsText: call.argsText });
3463
+ void saveMeta();
3464
+ },
3465
+ onToolEnd: (run) => {
3466
+ guard.onRun(run, run.acted === true);
3467
+ syncTodos(run);
3468
+ },
3469
+ onRoundEnd: () => guard.onRoundEnd(),
3470
+ onNudge: () => {
3471
+ const count = guard.onNudge();
3472
+ parts = [...parts, { type: "notice", kind: "nudge", count, max: ACTION_NUDGES }];
3473
+ flush(true);
3474
+ }
3475
+ }
3476
+ };
3477
+ try {
3478
+ let outcome;
3479
+ if (resumeFrom) {
3480
+ const cp = resumeFrom.checkpoint;
3481
+ const nudgesLeft = canWrite ? Math.max(0, ACTION_NUDGES - guard.state().nudges) : 0;
3482
+ const patched = { ...resumeFrom, status: "running", checkpoint: { ...cp, nudgesLeft, messages: resumeTranscript(cp.messages, meta.pending, meta.ledger) } };
3483
+ await store.save(patched);
3484
+ pending = null;
3485
+ outcome = await resumeRun(id, store, options);
3486
+ } else {
3487
+ if (!("messages" in start)) throw new Error("nothing to run");
3488
+ outcome = await runPersistent({ ...options, id, runs: store, messages: start.messages });
3489
+ }
3490
+ if (canWrite && !outcome.stopped && !outcome.acted && !guard.acted) parts = [...parts, { type: "notice", kind: "no-change" }];
3491
+ break;
3492
+ } catch (err) {
3493
+ if (abort.signal.aborted) break;
3494
+ const hidden = typeof document !== "undefined" && document.visibilityState === "hidden";
3495
+ if (isInterruption(err, hidden) && interruptions < MAX_INTERRUPTIONS) {
3496
+ interruptions++;
3497
+ await saving;
3498
+ const rec = await store.get(id);
3499
+ if (!rec) throw err;
3500
+ await store.save({ ...rec, status: "running", error: void 0, updatedAt: Date.now() });
3501
+ useAgentStore.setState({ resuming: true });
3502
+ persistThreads();
3503
+ await whenResumable(void 0, abort.signal, Math.min(3e4, 1e3 * 2 ** interruptions));
3504
+ if (abort.signal.aborted) break;
3505
+ useAgentStore.setState({ resuming: false });
3506
+ resumeFrom = await store.get(id);
3507
+ parts = [...parts, { type: "notice", kind: "resumed" }];
3508
+ flush(true);
3509
+ continue;
3510
+ }
3511
+ throw err;
3512
+ }
3513
+ }
3514
+ } catch (err) {
3515
+ if (!abort.signal.aborted) {
3516
+ const message = err?.message ?? String(err);
3517
+ const code = err?.code;
3518
+ parts = [...parts, { type: "error", message, code }];
3519
+ }
3520
+ } finally {
3521
+ endOrchestration(orch);
3522
+ offPage();
3523
+ preview.end();
3524
+ if (abort.signal.aborted) {
3525
+ runtime.stopAll();
3526
+ parts = [...parts, { type: "error", message: STOPPED_MESSAGE }];
3527
+ }
3528
+ if (useEditorStore.getState().document === before) updateMessage(id, (m) => ({ ...m, checkpoint: void 0 }), { save: false });
3529
+ flush(true);
3530
+ updateActiveThread((t) => ({ ...t, checkpoint: { id: checkpoint, label: "Undo these changes" } }));
3531
+ useAgentStore.setState({ running: false, resuming: false, abort: null });
3532
+ }
3533
+ }
3534
+ export {
3535
+ agentRuns,
3536
+ continueTurn,
3537
+ editorToolContext,
3538
+ needsEditableSession,
3539
+ onChildTool,
3540
+ resumeInterrupted,
3541
+ runTurn,
3542
+ setAgentRuns
3543
+ };