@lunora/studio 1.0.0-alpha.361 → 1.0.0-alpha.363

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 (327) hide show
  1. package/dist/index.d.mts +4 -1
  2. package/dist/index.d.ts +4 -1
  3. package/dist/index.mjs +1 -1
  4. package/dist/mount.mjs +1 -1
  5. package/dist/packem_chunks/AdvisorHealthPanel.mjs +1 -1
  6. package/dist/packem_chunks/ApiTab.mjs +1 -1
  7. package/dist/packem_chunks/AuditPanel.mjs +1 -1
  8. package/dist/packem_chunks/ExportImportPanel.mjs +1 -1
  9. package/dist/packem_chunks/FileBrowser.mjs +1 -1
  10. package/dist/packem_chunks/FunctionRunner.mjs +1 -1
  11. package/dist/packem_chunks/FunctionStatsPanel.mjs +1 -1
  12. package/dist/packem_chunks/HealthPanel.mjs +1 -1
  13. package/dist/packem_chunks/InsightsPanel.mjs +1 -1
  14. package/dist/packem_chunks/LogsPanel.mjs +1 -1
  15. package/dist/packem_chunks/MailPanel.mjs +1 -1
  16. package/dist/packem_chunks/MetricsPanel.mjs +1 -1
  17. package/dist/packem_chunks/NotificationsPanel.mjs +1 -1
  18. package/dist/packem_chunks/PitrPanel.mjs +1 -1
  19. package/dist/packem_chunks/SchemaViewer.mjs +1 -1
  20. package/dist/packem_chunks/SecurityAdvisorPanel.mjs +1 -1
  21. package/dist/packem_chunks/SettingsPanel.mjs +1 -1
  22. package/dist/packem_chunks/SqlEditorPanel.mjs +24 -9
  23. package/dist/packem_chunks/TableEditor.mjs +1 -1
  24. package/dist/packem_chunks/agents-panel.mjs +1 -1
  25. package/dist/packem_chunks/ai-knowledge.mjs +1 -0
  26. package/dist/packem_chunks/ai-usage-panel.mjs +1 -1
  27. package/dist/packem_chunks/assistant-panel.mjs +3 -0
  28. package/dist/packem_chunks/auth-audit-panel.mjs +1 -1
  29. package/dist/packem_chunks/containers-panel.mjs +1 -1
  30. package/dist/packem_chunks/dashboards-panel.mjs +1 -1
  31. package/dist/packem_chunks/evals-panel.mjs +1 -1
  32. package/dist/packem_chunks/fanout-panel.mjs +1 -1
  33. package/dist/packem_chunks/flags-panel.mjs +1 -1
  34. package/dist/packem_chunks/issues-panel.mjs +1 -1
  35. package/dist/packem_chunks/kv-browser.mjs +1 -1
  36. package/dist/packem_chunks/log-drains-panel.mjs +1 -1
  37. package/dist/packem_chunks/migrations-route.mjs +1 -1
  38. package/dist/packem_chunks/payments-panel.mjs +1 -1
  39. package/dist/packem_chunks/permissions-panel.mjs +1 -1
  40. package/dist/packem_chunks/privacy-requests-panel.mjs +1 -1
  41. package/dist/packem_chunks/queues-panel.mjs +1 -1
  42. package/dist/packem_chunks/reactors-panel.mjs +1 -1
  43. package/dist/packem_chunks/rls-panel.mjs +1 -1
  44. package/dist/packem_chunks/schedule-panel.mjs +1 -1
  45. package/dist/packem_chunks/storage-rules-panel.mjs +1 -1
  46. package/dist/packem_chunks/subscriptions-panel.mjs +1 -1
  47. package/dist/packem_chunks/traces-panel.mjs +1 -1
  48. package/dist/packem_chunks/workflows-panel.mjs +1 -1
  49. package/dist/packem_shared/ADMIN_FUNCTIONS-DUXsXId1.mjs +1 -0
  50. package/dist/packem_shared/{ApiDocsPanel-DD2Uns6b.mjs → ApiDocsPanel-B9S9l1Ce.mjs} +1 -1
  51. package/dist/packem_shared/{DataBrowser-CVRWnNWu.mjs → DataBrowser-Dm-jhIUP.mjs} +2 -2
  52. package/dist/packem_shared/{GlobalDataBrowser-DC47T6Zl.mjs → GlobalDataBrowser-C1Y8GUhe.mjs} +1 -1
  53. package/dist/packem_shared/{HomePanel-D12HxHQo.mjs → HomePanel-B5ytwPIo.mjs} +1 -1
  54. package/dist/packem_shared/{MigrationsPanel-DMkxSXNl.mjs → MigrationsPanel-CwLikxDT.mjs} +1 -1
  55. package/dist/packem_shared/Studio-B89ZNMOD.mjs +1 -0
  56. package/dist/packem_shared/{StudioApp-isdWpF9P.mjs → StudioApp-C9l1a3A8.mjs} +1 -1
  57. package/dist/packem_shared/advisor-view-CzieqKMe.mjs +5 -0
  58. package/dist/packem_shared/assistant-provider-Bp72uWsq.mjs +1 -0
  59. package/dist/packem_shared/assistant-reason-D6EwMCxT.mjs +1 -0
  60. package/dist/packem_shared/{cf-links-CBJ5SywP.mjs → cf-links-C4DVTr8A.mjs} +1 -1
  61. package/dist/packem_shared/error-alert-DKXm5h19.mjs +6 -0
  62. package/dist/packem_shared/{home-panel-CDVTuTF8.mjs → home-panel-5fGktYeD.mjs} +1 -1
  63. package/dist/packem_shared/recording-client-z4CBi0y8.mjs +1 -0
  64. package/dist/packem_shared/studio-gZfpz1wC.mjs +2 -0
  65. package/dist/packem_shared/{table-list-sidebar-CNadcIgG.mjs → table-list-sidebar-kpHaDWjy.mjs} +1 -1
  66. package/dist/packem_shared/use-assistant-rpc-GCUK2zPa.mjs +1 -0
  67. package/dist/standalone/chunk-2DT3QG6Q.js +1 -0
  68. package/dist/standalone/chunk-2EB7FN5S.js +1 -0
  69. package/dist/standalone/chunk-2H6VLY2M.js +1 -0
  70. package/dist/standalone/chunk-2NGKUO32.js +1 -0
  71. package/dist/standalone/chunk-2SNHKJXK.js +1 -0
  72. package/dist/standalone/chunk-2W4UO5BC.js +1 -0
  73. package/dist/standalone/chunk-32V7XGNC.js +1 -0
  74. package/dist/standalone/{chunk-SLIDAWNX.js → chunk-3D67ZJRW.js} +1 -1
  75. package/dist/standalone/chunk-3X3NXJBR.js +1 -0
  76. package/dist/standalone/chunk-4EPW63HS.js +1 -0
  77. package/dist/standalone/chunk-4L55URI5.js +2 -0
  78. package/dist/standalone/chunk-4N76XUNG.js +1 -0
  79. package/dist/standalone/{chunk-WS36BO4R.js → chunk-4NKJV7YX.js} +1 -1
  80. package/dist/standalone/chunk-4PI2OSSP.js +1 -0
  81. package/dist/standalone/chunk-53XKGQEE.js +1 -0
  82. package/dist/standalone/chunk-5GYHGDIF.js +8 -0
  83. package/dist/standalone/chunk-5PEAXTYQ.js +1 -0
  84. package/dist/standalone/chunk-5QUTVSHM.js +1 -0
  85. package/dist/standalone/{chunk-BYOGQ2IV.js → chunk-5RX5CQSU.js} +2 -2
  86. package/dist/standalone/{chunk-O2NMPIV2.js → chunk-5WNGRT7N.js} +1 -1
  87. package/dist/standalone/chunk-5Z2U4KBN.js +1 -0
  88. package/dist/standalone/chunk-66BMMNUR.js +1 -0
  89. package/dist/standalone/chunk-6FPV3EK2.js +1 -0
  90. package/dist/standalone/chunk-6G3E4PJ2.js +1 -0
  91. package/dist/standalone/chunk-75TRPM7O.js +1 -0
  92. package/dist/standalone/chunk-7MLX5CGD.js +1 -0
  93. package/dist/standalone/chunk-7QEZ2SFW.js +1 -0
  94. package/dist/standalone/chunk-7TQ7BZ67.js +1 -0
  95. package/dist/standalone/chunk-A2Q3TGIQ.js +1 -0
  96. package/dist/standalone/chunk-AD5J2ANS.js +1 -0
  97. package/dist/standalone/chunk-ALR4VAUE.js +1 -0
  98. package/dist/standalone/chunk-AXE2SDRU.js +1 -0
  99. package/dist/standalone/chunk-AZIKM5BA.js +1 -0
  100. package/dist/standalone/chunk-BAEIW3YS.js +1 -0
  101. package/dist/standalone/chunk-BBDTJG2K.js +1 -0
  102. package/dist/standalone/chunk-BCUOQNI2.js +1 -0
  103. package/dist/standalone/chunk-BG2CJOVS.js +1 -0
  104. package/dist/standalone/chunk-BI6MZHZJ.js +1 -0
  105. package/dist/standalone/chunk-BKI3JMXQ.js +1 -0
  106. package/dist/standalone/chunk-CKEQX655.js +1 -0
  107. package/dist/standalone/{chunk-DX55P3KZ.js → chunk-CL3JOU6F.js} +1 -1
  108. package/dist/standalone/chunk-CP7QNLR4.js +1 -0
  109. package/dist/standalone/chunk-CVSIFPI5.js +1 -0
  110. package/dist/standalone/chunk-D57B4MFK.js +1 -0
  111. package/dist/standalone/chunk-D65UVZIA.js +1 -0
  112. package/dist/standalone/{chunk-DBVJ5VLI.js → chunk-DA2CAFXI.js} +1 -1
  113. package/dist/standalone/chunk-DB6QX4X6.js +1 -0
  114. package/dist/standalone/chunk-DZFXH55R.js +1 -0
  115. package/dist/standalone/chunk-ELSQ4FVH.js +1 -0
  116. package/dist/standalone/chunk-EPWCW2DF.js +1 -0
  117. package/dist/standalone/chunk-FHLODLBC.js +1 -0
  118. package/dist/standalone/chunk-FJLRSFTE.js +1 -0
  119. package/dist/standalone/{chunk-3FS22LNI.js → chunk-FVCBNFQW.js} +3 -3
  120. package/dist/standalone/{chunk-VEWQWS3J.js → chunk-FWM5Z6CH.js} +1 -1
  121. package/dist/standalone/chunk-GJXCPZDN.js +1 -0
  122. package/dist/standalone/chunk-GNI37YCV.js +33 -0
  123. package/dist/standalone/chunk-GVQPNM3T.js +3 -0
  124. package/dist/standalone/chunk-GWNGVKLG.js +1 -0
  125. package/dist/standalone/chunk-GXTSE66Z.js +1 -0
  126. package/dist/standalone/chunk-H3EIPYRZ.js +1 -0
  127. package/dist/standalone/chunk-H5TMLWIS.js +1 -0
  128. package/dist/standalone/{chunk-XIRKBJPD.js → chunk-HBG6SSE2.js} +5 -5
  129. package/dist/standalone/chunk-HC2B7SXW.js +1 -0
  130. package/dist/standalone/chunk-HCOF7HOM.js +1 -0
  131. package/dist/standalone/chunk-HGCOTYPV.js +1 -0
  132. package/dist/standalone/chunk-HLHMHCXS.js +1 -0
  133. package/dist/standalone/chunk-HSF2DCJ2.js +30 -0
  134. package/dist/standalone/chunk-HZDLUAWS.js +1 -0
  135. package/dist/standalone/{chunk-3PAYDWHN.js → chunk-I3SSF2T6.js} +2 -2
  136. package/dist/standalone/chunk-I5QX75DE.js +1 -0
  137. package/dist/standalone/chunk-ICHZ2IBL.js +1 -0
  138. package/dist/standalone/{chunk-7ZIYHKLX.js → chunk-IG5VD7R7.js} +3 -3
  139. package/dist/standalone/{chunk-SU5DTRGK.js → chunk-IHGRWY3Y.js} +1 -1
  140. package/dist/standalone/chunk-J45HAKBU.js +1 -0
  141. package/dist/standalone/chunk-J4PQAVOF.js +1 -0
  142. package/dist/standalone/chunk-JD6PRRFO.js +1 -0
  143. package/dist/standalone/chunk-JOPNP4EO.js +1 -0
  144. package/dist/standalone/chunk-JVP3TR3A.js +1 -0
  145. package/dist/standalone/chunk-KGLIQIZU.js +1 -0
  146. package/dist/standalone/{chunk-ONWGX5Y4.js → chunk-KH6OXCG3.js} +1 -1
  147. package/dist/standalone/chunk-KKMQUBYH.js +1 -0
  148. package/dist/standalone/chunk-L2FYX4FN.js +1 -0
  149. package/dist/standalone/chunk-LDHJRHPZ.js +1 -0
  150. package/dist/standalone/chunk-LSEUUZN4.js +1 -0
  151. package/dist/standalone/chunk-MNYDT3RH.js +1 -0
  152. package/dist/standalone/chunk-MT4ICMXJ.js +1 -0
  153. package/dist/standalone/chunk-MXJTD2OX.js +1 -0
  154. package/dist/standalone/chunk-NGZNXNRD.js +1 -0
  155. package/dist/standalone/chunk-O3AZ7JKE.js +1 -0
  156. package/dist/standalone/chunk-OK2QU2EV.js +1 -0
  157. package/dist/standalone/{chunk-IH2CJZF2.js → chunk-ONTGYVAN.js} +1 -1
  158. package/dist/standalone/chunk-OWRKSQPE.js +1 -0
  159. package/dist/standalone/chunk-OZAOWE7T.js +1 -0
  160. package/dist/standalone/chunk-P5EVJEGC.js +1 -0
  161. package/dist/standalone/chunk-PDBW6GTJ.js +1 -0
  162. package/dist/standalone/chunk-PJUVJTDR.js +1 -0
  163. package/dist/standalone/chunk-Q3IA6HPX.js +1 -0
  164. package/dist/standalone/chunk-QAOZXPLU.js +1 -0
  165. package/dist/standalone/chunk-QKUVJIRX.js +1 -0
  166. package/dist/standalone/chunk-QNM2J7MG.js +1 -0
  167. package/dist/standalone/chunk-QRA7AKYO.js +1 -0
  168. package/dist/standalone/chunk-RBIVXSXT.js +1 -0
  169. package/dist/standalone/chunk-RCXNYW7P.js +1 -0
  170. package/dist/standalone/{chunk-TDVDZ7XQ.js → chunk-RIAOZECW.js} +1 -1
  171. package/dist/standalone/{chunk-LUHXNZI4.js → chunk-RTS5G3ET.js} +1 -1
  172. package/dist/standalone/chunk-S36FVTKK.js +1 -0
  173. package/dist/standalone/chunk-SDDEOSQB.js +1 -0
  174. package/dist/standalone/chunk-SHHGIT7M.js +7 -0
  175. package/dist/standalone/chunk-SR6CPTRT.js +1 -0
  176. package/dist/standalone/chunk-SVQWZPO4.js +1 -0
  177. package/dist/standalone/chunk-T3ZCW3RG.js +1 -0
  178. package/dist/standalone/chunk-TEMI7MVE.js +1 -0
  179. package/dist/standalone/chunk-TKBTZX4K.js +1 -0
  180. package/dist/standalone/chunk-TW4O2BA5.js +159 -0
  181. package/dist/standalone/chunk-U5MPNEM2.js +1 -0
  182. package/dist/standalone/chunk-UD5REVU2.js +1 -0
  183. package/dist/standalone/chunk-ULQNADMJ.js +1 -0
  184. package/dist/standalone/chunk-UPPNZ6MI.js +1 -0
  185. package/dist/standalone/{chunk-PQH2LSJX.js → chunk-UQA2AJGI.js} +1 -1
  186. package/dist/standalone/chunk-UTQLJKHH.js +1 -0
  187. package/dist/standalone/chunk-UVG3ZISC.js +1 -0
  188. package/dist/standalone/chunk-UXBNXITB.js +1 -0
  189. package/dist/standalone/chunk-UZ2ZXB74.js +1 -0
  190. package/dist/standalone/chunk-V3BE427M.js +1 -0
  191. package/dist/standalone/chunk-VQDTA4P6.js +1 -0
  192. package/dist/standalone/chunk-W4LJQYCI.js +1 -0
  193. package/dist/standalone/chunk-WLHQ4FKC.js +1 -0
  194. package/dist/standalone/chunk-XPFVUAPX.js +1 -0
  195. package/dist/standalone/{chunk-SYGCASPT.js → chunk-Y2YLTUMD.js} +1 -1
  196. package/dist/standalone/chunk-Y3IGTWUE.js +1 -0
  197. package/dist/standalone/chunk-Y64STA6O.js +1 -0
  198. package/dist/standalone/chunk-YEVTA35E.js +1 -0
  199. package/dist/standalone/chunk-YEXTJUKQ.js +6 -0
  200. package/dist/standalone/chunk-YFTPHGS2.js +1 -0
  201. package/dist/standalone/{chunk-R36QXQZX.js → chunk-YORPLSI5.js} +1 -1
  202. package/dist/standalone/chunk-Z64BZNPS.js +1 -0
  203. package/dist/standalone/chunk-Z6VILGGP.js +5 -0
  204. package/dist/standalone/chunk-ZBOB33BA.js +1 -0
  205. package/dist/standalone/{chunk-5R2YO7HF.js → chunk-ZOKSVUID.js} +4 -4
  206. package/dist/standalone/{chunk-H7HZ42JY.js → chunk-ZPQBVYNN.js} +1 -1
  207. package/dist/standalone/chunk-ZSWW2UGP.js +1 -0
  208. package/dist/standalone/studio.js +2 -2
  209. package/dist/styles.css +1 -1
  210. package/package.json +7 -6
  211. package/dist/packem_shared/ADMIN_FUNCTIONS-4aGsMs95.mjs +0 -1
  212. package/dist/packem_shared/Studio-MA8kKZLu.mjs +0 -1
  213. package/dist/packem_shared/advisor-view-tBumWci_.mjs +0 -1
  214. package/dist/packem_shared/error-alert-C0R39DO1.mjs +0 -1
  215. package/dist/packem_shared/recording-client-DAipTA_n.mjs +0 -1
  216. package/dist/packem_shared/studio-UhUrPz5J.mjs +0 -2
  217. package/dist/packem_shared/use-sql-assistant-rZPs3LC3.mjs +0 -1
  218. package/dist/standalone/chunk-2AH4ABE5.js +0 -1
  219. package/dist/standalone/chunk-2G57ENH5.js +0 -1
  220. package/dist/standalone/chunk-3GXPALXG.js +0 -1
  221. package/dist/standalone/chunk-3GYLOE4V.js +0 -1
  222. package/dist/standalone/chunk-473JK2PQ.js +0 -1
  223. package/dist/standalone/chunk-4C4THJUD.js +0 -1
  224. package/dist/standalone/chunk-4DAKKAK7.js +0 -1
  225. package/dist/standalone/chunk-4M57OYFX.js +0 -1
  226. package/dist/standalone/chunk-4SQBAPY6.js +0 -1
  227. package/dist/standalone/chunk-5DNGK3NT.js +0 -1
  228. package/dist/standalone/chunk-5GIQ6C5N.js +0 -1
  229. package/dist/standalone/chunk-5WJG7FMH.js +0 -1
  230. package/dist/standalone/chunk-63KDHS3H.js +0 -1
  231. package/dist/standalone/chunk-6B6ARRMI.js +0 -1
  232. package/dist/standalone/chunk-6LMO2D54.js +0 -1
  233. package/dist/standalone/chunk-6M7FLLMT.js +0 -1
  234. package/dist/standalone/chunk-6QEXGYWH.js +0 -1
  235. package/dist/standalone/chunk-6UTZXEW3.js +0 -1
  236. package/dist/standalone/chunk-6VAY6L4J.js +0 -1
  237. package/dist/standalone/chunk-7PADVGQX.js +0 -1
  238. package/dist/standalone/chunk-7RGYCU6F.js +0 -1
  239. package/dist/standalone/chunk-7UM5ROG6.js +0 -1
  240. package/dist/standalone/chunk-A566HCBX.js +0 -1
  241. package/dist/standalone/chunk-A5JISKHE.js +0 -1
  242. package/dist/standalone/chunk-ADNRFCMZ.js +0 -1
  243. package/dist/standalone/chunk-AP4PC2M4.js +0 -1
  244. package/dist/standalone/chunk-BFE2DRP6.js +0 -33
  245. package/dist/standalone/chunk-BPEB4KFE.js +0 -1
  246. package/dist/standalone/chunk-BVX45MU5.js +0 -7
  247. package/dist/standalone/chunk-C6GN7ZXJ.js +0 -1
  248. package/dist/standalone/chunk-CL2VZNDI.js +0 -1
  249. package/dist/standalone/chunk-CNA3TVUK.js +0 -1
  250. package/dist/standalone/chunk-CZ6HBDIL.js +0 -1
  251. package/dist/standalone/chunk-D6S7MXW4.js +0 -1
  252. package/dist/standalone/chunk-E26OT26O.js +0 -1
  253. package/dist/standalone/chunk-FCAXVYAX.js +0 -1
  254. package/dist/standalone/chunk-FXPAJDES.js +0 -1
  255. package/dist/standalone/chunk-HHRYM6UW.js +0 -1
  256. package/dist/standalone/chunk-HPRF5LMA.js +0 -1
  257. package/dist/standalone/chunk-IB22LETR.js +0 -1
  258. package/dist/standalone/chunk-IBJVVHV5.js +0 -1
  259. package/dist/standalone/chunk-IENQRRQT.js +0 -1
  260. package/dist/standalone/chunk-IQ4TTHQT.js +0 -1
  261. package/dist/standalone/chunk-ITH5LRWM.js +0 -1
  262. package/dist/standalone/chunk-J6VFG6M5.js +0 -1
  263. package/dist/standalone/chunk-JSDKOE4U.js +0 -1
  264. package/dist/standalone/chunk-JTGGWF7R.js +0 -1
  265. package/dist/standalone/chunk-JZD7ZN3F.js +0 -1
  266. package/dist/standalone/chunk-K3CWB3AM.js +0 -1
  267. package/dist/standalone/chunk-KNFB3FGW.js +0 -1
  268. package/dist/standalone/chunk-KNXWDE4N.js +0 -1
  269. package/dist/standalone/chunk-KRPXOSBL.js +0 -1
  270. package/dist/standalone/chunk-KRY7BYHT.js +0 -1
  271. package/dist/standalone/chunk-KYAG2YMF.js +0 -1
  272. package/dist/standalone/chunk-KZCEJFZF.js +0 -1
  273. package/dist/standalone/chunk-KZILJQX3.js +0 -8
  274. package/dist/standalone/chunk-LEYUH5TS.js +0 -1
  275. package/dist/standalone/chunk-LFM672WN.js +0 -1
  276. package/dist/standalone/chunk-LIGOLZND.js +0 -1
  277. package/dist/standalone/chunk-LPU6YTSU.js +0 -1
  278. package/dist/standalone/chunk-MWJC3S62.js +0 -1
  279. package/dist/standalone/chunk-NP2AQOLE.js +0 -1
  280. package/dist/standalone/chunk-NVKLYDOH.js +0 -1
  281. package/dist/standalone/chunk-O2X2XYCM.js +0 -1
  282. package/dist/standalone/chunk-O3MDWYXF.js +0 -1
  283. package/dist/standalone/chunk-ONG4JEZD.js +0 -1
  284. package/dist/standalone/chunk-OS26JXYA.js +0 -1
  285. package/dist/standalone/chunk-OXFKZ4BM.js +0 -1
  286. package/dist/standalone/chunk-PGTEGUAB.js +0 -1
  287. package/dist/standalone/chunk-PTBUWRBY.js +0 -1
  288. package/dist/standalone/chunk-Q6HA3L2H.js +0 -1
  289. package/dist/standalone/chunk-QGV5ARD2.js +0 -1
  290. package/dist/standalone/chunk-QWRK4ESB.js +0 -1
  291. package/dist/standalone/chunk-RL2ITK2N.js +0 -1
  292. package/dist/standalone/chunk-RTJO3AR4.js +0 -1
  293. package/dist/standalone/chunk-SFY646MC.js +0 -1
  294. package/dist/standalone/chunk-T5UMHPAB.js +0 -1
  295. package/dist/standalone/chunk-T6HV2FQP.js +0 -2
  296. package/dist/standalone/chunk-T7ZKNNGX.js +0 -1
  297. package/dist/standalone/chunk-TCYPNSTV.js +0 -1
  298. package/dist/standalone/chunk-TQM6XHBA.js +0 -1
  299. package/dist/standalone/chunk-TRMWBRRU.js +0 -1
  300. package/dist/standalone/chunk-TW7KJSMR.js +0 -15
  301. package/dist/standalone/chunk-TYD3V4NB.js +0 -1
  302. package/dist/standalone/chunk-TZKLK52W.js +0 -1
  303. package/dist/standalone/chunk-U4RXQSQ7.js +0 -1
  304. package/dist/standalone/chunk-UNZ2UBVL.js +0 -1
  305. package/dist/standalone/chunk-VJRNOSRY.js +0 -1
  306. package/dist/standalone/chunk-W2BCSK5S.js +0 -1
  307. package/dist/standalone/chunk-W7MRISE3.js +0 -1
  308. package/dist/standalone/chunk-WM72PRE3.js +0 -1
  309. package/dist/standalone/chunk-X4WHMCOZ.js +0 -1
  310. package/dist/standalone/chunk-X74GEPSG.js +0 -1
  311. package/dist/standalone/chunk-XKPD4SFN.js +0 -1
  312. package/dist/standalone/chunk-XMSNLMWU.js +0 -1
  313. package/dist/standalone/chunk-XOPFDWXX.js +0 -1
  314. package/dist/standalone/chunk-XQLOVFPP.js +0 -1
  315. package/dist/standalone/chunk-XSHYZPGF.js +0 -1
  316. package/dist/standalone/chunk-XST3UEHU.js +0 -1
  317. package/dist/standalone/chunk-XYR5NST4.js +0 -1
  318. package/dist/standalone/chunk-Y74LIFSL.js +0 -1
  319. package/dist/standalone/chunk-YHTHRYP5.js +0 -1
  320. package/dist/standalone/chunk-YMEKCV27.js +0 -1
  321. package/dist/standalone/chunk-Z5EV64KS.js +0 -1
  322. package/dist/standalone/chunk-ZBON5T5A.js +0 -1
  323. package/dist/standalone/chunk-ZGSL4DPP.js +0 -1
  324. package/dist/standalone/chunk-ZOQTXWPK.js +0 -1
  325. package/dist/standalone/chunk-ZTOREMGH.js +0 -1
  326. package/dist/standalone/chunk-ZZ5GICTF.js +0 -1
  327. /package/dist/standalone/{chunk-UYEZR3BI.js → chunk-P6VNMPWR.js} +0 -0
@@ -1,33 +0,0 @@
1
- import{a as s,b as ke,d as Ye,e as qt}from"./chunk-OXFKZ4BM.js";var St=ke((Ot,Te)=>{(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Te=="object"&&Te.exports?Te.exports=t():e.moo=t()})(Ot,function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=typeof new RegExp().sticky=="boolean";function o(a){return a&&t.call(a)==="[object RegExp]"}s(o,"isRegExp");function n(a){return a&&typeof a=="object"&&!o(a)&&!Array.isArray(a)}s(n,"isObject");function i(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,function(c){return c==="-"?"\\x2d":"\\"+c})}s(i,"reEscape");function l(a){var c=new RegExp("|"+a);return c.exec("").length-1}s(l,"reGroups");function u(a){return"("+a+")"}s(u,"reCapture");function w(a){if(!a.length)return"(?!)";var c=a.map(function(h){return"(?:"+h+")"}).join("|");return"(?:"+c+")"}s(w,"reUnion");function m(a){if(typeof a=="string")return"(?:"+i(a)+")";if(o(a)){if(a.ignoreCase)throw new Error("RegExp /i flag not allowed");if(a.global)throw new Error("RegExp /g flag is implied");if(a.sticky)throw new Error("RegExp /y flag is implied");if(a.multiline)throw new Error("RegExp /m flag is implied");return a.source}else throw new Error("Not a pattern: "+a)}s(m,"regexpOrLiteral");function S(a,c){return a.length>c?a:Array(c-a.length+1).join(" ")+a}s(S,"pad");function I(a,c){for(var h=a.length,b=0;;){var T=a.lastIndexOf(`
2
- `,h-1);if(T===-1||(b++,h=T,b===c)||h===0)break}var y=b<c?0:h+1;return a.substring(y).split(`
3
- `)}s(I,"lastNLines");function B(a){for(var c=Object.getOwnPropertyNames(a),h=[],b=0;b<c.length;b++){var T=c[b],y=a[T],_=[].concat(y);if(T==="include"){for(var O=0;O<_.length;O++)h.push({include:_[O]});continue}var A=[];_.forEach(function(E){n(E)?(A.length&&h.push(F(T,A)),h.push(F(T,E)),A=[]):A.push(E)}),A.length&&h.push(F(T,A))}return h}s(B,"objectToRules");function D(a){for(var c=[],h=0;h<a.length;h++){var b=a[h];if(b.include){for(var T=[].concat(b.include),y=0;y<T.length;y++)c.push({include:T[y]});continue}if(!b.type)throw new Error("Rule has no type: "+JSON.stringify(b));c.push(F(b.type,b))}return c}s(D,"arrayToRules");function F(a,c){if(n(c)||(c={match:c}),c.include)throw new Error("Matching rules cannot also include states");var h={defaultType:a,lineBreaks:!!c.error||!!c.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var b in c)e.call(c,b)&&(h[b]=c[b]);if(typeof h.type=="string"&&a!==h.type)throw new Error("Type transform cannot be a string (type '"+h.type+"' for token '"+a+"')");var T=h.match;return h.match=Array.isArray(T)?T:T?[T]:[],h.match.sort(function(y,_){return o(y)&&o(_)?0:o(_)?-1:o(y)?1:_.length-y.length}),h}s(F,"ruleOptions");function N(a){return Array.isArray(a)?D(a):B(a)}s(N,"toRules");var P=F("error",{lineBreaks:!0,shouldThrow:!0});function H(a,c){for(var h=null,b=Object.create(null),T=!0,y=null,_=[],O=[],A=0;A<a.length;A++)a[A].fallback&&(T=!1);for(var A=0;A<a.length;A++){var E=a[A];if(E.include)throw new Error("Inheritance is not allowed in stateless lexers");if(E.error||E.fallback){if(h)throw!E.fallback==!h.fallback?new Error("Multiple "+(E.fallback?"fallback":"error")+" rules not allowed (for token '"+E.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+E.defaultType+"')");h=E}var d=E.match.slice();if(T)for(;d.length&&typeof d[0]=="string"&&d[0].length===1;){var V=d.shift();b[V.charCodeAt(0)]=E}if(E.pop||E.push||E.next){if(!c)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+E.defaultType+"')");if(E.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+E.defaultType+"')")}if(d.length!==0){T=!1,_.push(E);for(var q=0;q<d.length;q++){var W=d[q];if(o(W)){if(y===null)y=W.unicode;else if(y!==W.unicode&&E.fallback===!1)throw new Error("If one rule is /u then all must be")}}var $=w(d.map(m)),x=new RegExp($);if(x.test(""))throw new Error("RegExp matches empty string: "+x);var C=l($);if(C>0)throw new Error("RegExp has capture groups: "+x+`
4
- Use (?: \u2026 ) instead`);if(!E.lineBreaks&&x.test(`
5
- `))throw new Error("Rule should declare lineBreaks: "+x);O.push(u($))}}var j=h&&h.fallback,te=r&&!j?"ym":"gm",k=r||j?"":"|";y===!0&&(te+="u");var fe=new RegExp(w(O)+k,te);return{regexp:fe,groups:_,fast:b,error:h||P}}s(H,"compileRules");function M(a){var c=H(N(a));return new R({start:c},"start")}s(M,"compile");function J(a,c,h){var b=a&&(a.push||a.next);if(b&&!h[b])throw new Error("Missing state '"+b+"' (in token '"+a.defaultType+"' of state '"+c+"')");if(a&&a.pop&&+a.pop!=1)throw new Error("pop must be 1 (in token '"+a.defaultType+"' of state '"+c+"')")}s(J,"checkStateGroup");function Z(a,c){var h=a.$all?N(a.$all):[];delete a.$all;var b=Object.getOwnPropertyNames(a);c||(c=b[0]);for(var T=Object.create(null),y=0;y<b.length;y++){var _=b[y];T[_]=N(a[_]).concat(h)}for(var y=0;y<b.length;y++)for(var _=b[y],O=T[_],A=Object.create(null),E=0;E<O.length;E++){var d=O[E];if(d.include){var V=[E,1];if(d.include!==_&&!A[d.include]){A[d.include]=!0;var q=T[d.include];if(!q)throw new Error("Cannot include nonexistent state '"+d.include+"' (in state '"+_+"')");for(var W=0;W<q.length;W++){var $=q[W];O.indexOf($)===-1&&V.push($)}}O.splice.apply(O,V),E--}}for(var x=Object.create(null),y=0;y<b.length;y++){var _=b[y];x[_]=H(T[_],!0)}for(var y=0;y<b.length;y++){for(var C=b[y],j=x[C],te=j.groups,E=0;E<te.length;E++)J(te[E],C,x);for(var k=Object.getOwnPropertyNames(j.fast),E=0;E<k.length;E++)J(j.fast[k[E]],C,x)}return new R(x,c)}s(Z,"compileStates");function ee(a){for(var c=typeof Map<"u",h=c?new Map:Object.create(null),b=Object.getOwnPropertyNames(a),T=0;T<b.length;T++){var y=b[T],_=a[y],O=Array.isArray(_)?_:[_];O.forEach(function(A){if(typeof A!="string")throw new Error("keyword must be string (in keyword '"+y+"')");c?h.set(A,y):h[A]=y})}return function(A){return c?h.get(A):h[A]}}s(ee,"keywordTransform");var R=s(function(a,c){this.startState=c,this.states=a,this.buffer="",this.stack=[],this.reset()},"Lexer");R.prototype.reset=function(a,c){return this.buffer=a||"",this.index=0,this.line=c?c.line:1,this.col=c?c.col:1,this.queuedToken=c?c.queuedToken:null,this.queuedText=c?c.queuedText:"",this.queuedThrow=c?c.queuedThrow:null,this.setState(c?c.state:this.startState),this.stack=c&&c.stack?c.stack.slice():[],this},R.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},R.prototype.setState=function(a){if(!(!a||this.state===a)){this.state=a;var c=this.states[a];this.groups=c.groups,this.error=c.error,this.re=c.regexp,this.fast=c.fast}},R.prototype.popState=function(){this.setState(this.stack.pop())},R.prototype.pushState=function(a){this.stack.push(this.state),this.setState(a)};var z=r?function(a,c){return a.exec(c)}:function(a,c){var h=a.exec(c);return h[0].length===0?null:h};R.prototype._getGroup=function(a){for(var c=this.groups.length,h=0;h<c;h++)if(a[h+1]!==void 0)return this.groups[h];throw new Error("Cannot find token type for matched text")};function g(){return this.value}if(s(g,"tokenToString"),R.prototype.next=function(){var a=this.index;if(this.queuedGroup){var c=this._token(this.queuedGroup,this.queuedText,a);return this.queuedGroup=null,this.queuedText="",c}var h=this.buffer;if(a!==h.length){var _=this.fast[h.charCodeAt(a)];if(_)return this._token(_,h.charAt(a),a);var b=this.re;b.lastIndex=a;var T=z(b,h),y=this.error;if(T==null)return this._token(y,h.slice(a,h.length),a);var _=this._getGroup(T),O=T[0];return y.fallback&&T.index!==a?(this.queuedGroup=_,this.queuedText=O,this._token(y,h.slice(a,T.index),a)):this._token(_,O,a)}},R.prototype._token=function(a,c,h){var b=0;if(a.lineBreaks){var T=/\n/g,y=1;if(c===`
6
- `)b=1;else for(;T.exec(c);)b++,y=T.lastIndex}var _={type:typeof a.type=="function"&&a.type(c)||a.defaultType,value:typeof a.value=="function"?a.value(c):c,text:c,toString:g,offset:h,lineBreaks:b,line:this.line,col:this.col},O=c.length;if(this.index+=O,this.line+=b,b!==0?this.col=O-y+1:this.col+=O,a.shouldThrow){var A=new Error(this.formatError(_,"invalid syntax"));throw A}return a.pop?this.popState():a.push?this.pushState(a.push):a.next&&this.setState(a.next),_},typeof Symbol<"u"&&Symbol.iterator){var G=s(function(a){this.lexer=a},"LexerIterator");G.prototype.next=function(){var a=this.lexer.next();return{value:a,done:!a}},G.prototype[Symbol.iterator]=function(){return this},R.prototype[Symbol.iterator]=function(){return new G(this)}}return R.prototype.formatError=function(a,c){if(a==null)var h=this.buffer.slice(this.index),a={text:h,offset:this.index,lineBreaks:h.indexOf(`
7
- `)===-1?0:1,line:this.line,col:this.col};var b=2,T=Math.max(a.line-b,1),y=a.line+b,_=String(y).length,O=I(this.buffer,this.line-a.line+b+1).slice(0,5),A=[];A.push(c+" at line "+a.line+" col "+a.col+":"),A.push("");for(var E=0;E<O.length;E++){var d=O[E],V=T+E;A.push(S(String(V),_)+" "+d),V===a.line&&A.push(S("",_+a.col+1)+"^")}return A.join(`
8
- `)},R.prototype.clone=function(){return new R(this.states,this.state)},R.prototype.has=function(a){return!0},{compile:M,states:Z,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ee}})});var xt=ke(X=>{"use strict";var Vr=X&&X.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(X,"__esModule",{value:!0});X.lexer=X.states=void 0;var qr=Vr(St());X.states={body:{doubleapos:{match:"''",value:s(()=>"'","value")},quoted:{lineBreaks:!0,match:/'[{}#](?:[^']|'')*'(?!')/u,value:s(e=>e.slice(1,-1).replace(/''/g,"'"),"value")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:s(e=>e.substring(1).trim(),"value")},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:s(e=>e.split(",")[1].trim(),"value")},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:s(e=>e.split(",")[1].trim(),"value")},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:s(e=>e.substring(1).trim(),"value")},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:s(e=>e.split(":")[1].trim(),"value")},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:s(e=>e.substring(0,e.indexOf("{")).trim(),"value")},end:{match:/\s*\}/u,pop:1}}};X.lexer=qr.default.states(X.states)});var Rt=ke(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.ParseError=void 0;de.parse=Kr;var kt=xt(),ve=s(e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),"getContext"),He=s(e=>e==="plural"||e==="select"||e==="selectordinal","isSelectType");function Wr(e,t){let r="",o="";for(let i of t){let l=i.ctx.text;switch(o+=l,i.type){case"content":r+=i.value;break;case"argument":case"function":case"octothorpe":r+=l;break;default:throw new L(e,`Unsupported part in strict mode function arg style: ${l}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:o})}]}s(Wr,"strictArgStyleParam");var $r=["number","date","time","spellout","ordinal","duration"],It=["zero","one","two","few","many","other"],L=class extends Error{static{s(this,"ParseError")}constructor(t,r){super(kt.lexer.formatError(t,r))}};de.ParseError=L;var Be=class{static{s(this,"Parser")}constructor(t,r){var o,n,i,l;this.lexer=kt.lexer.reset(t),this.cardinalKeys=(o=r?.cardinal)!==null&&o!==void 0?o:It,this.ordinalKeys=(n=r?.ordinal)!==null&&n!==void 0?n:It,this.strict=(i=r?.strict)!==null&&i!==void 0?i:!1,this.strictPluralKeys=(l=r?.strictPluralKeys)!==null&&l!==void 0?l:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,r,o){if(o[0]==="="){if(r==="select")throw new L(t,`The case ${o} is not valid with select`)}else if(r!=="select"){let n=r==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(o)){let i=`The ${r} case ${o} is not valid in this locale`;throw new L(t,i)}}}parseSelect({value:t},r,o,n){let i={type:n,arg:t,cases:[],ctx:o};n==="plural"||n==="selectordinal"?r=!0:this.strict&&(r=!1);for(let l of this.lexer)switch(l.type){case"offset":if(n==="select")throw new L(l,"Unexpected plural offset for select");if(i.cases.length>0)throw new L(l,"Plural offset must be set before cases");i.pluralOffset=Number(l.value),o.text+=l.text,o.lineBreaks+=l.lineBreaks;break;case"case":{this.checkSelectKey(l,n,l.value),i.cases.push({key:l.value,tokens:this.parseBody(r),ctx:ve(l)});break}case"end":return i;default:throw new L(l,`Unexpected lexer token: ${l.type}`)}throw new L(null,"Unexpected message end")}parseArgToken(t,r){let o=ve(t),n=this.lexer.next();if(!n)throw new L(null,"Unexpected message end");if(o.text+=n.text,o.lineBreaks+=n.lineBreaks,this.strict&&(n.type==="func-simple"||n.type==="func-args")&&!$r.includes(n.value)){let i=`Invalid strict mode function arg type: ${n.value}`;throw new L(t,i)}switch(n.type){case"end":return{type:"argument",arg:t.value,ctx:o};case"func-simple":{let i=this.lexer.next();if(!i)throw new L(null,"Unexpected message end");if(i.type!=="end")throw new L(i,`Unexpected lexer token: ${i.type}`);if(o.text+=i.text,He(n.value.toLowerCase()))throw new L(n,`Invalid type identifier: ${n.value}`);return{type:"function",arg:t.value,key:n.value,ctx:o}}case"func-args":{if(He(n.value.toLowerCase())){let l=`Invalid type identifier: ${n.value}`;throw new L(n,l)}let i=this.parseBody(this.strict?!1:r);return this.strict&&i.length>0&&(i=Wr(t,i)),{type:"function",arg:t.value,key:n.value,param:i,ctx:o}}case"select":if(He(n.value))return this.parseSelect(t,r,o,n.value);throw new L(n,`Unexpected select type ${n.value}`);default:throw new L(n,`Unexpected lexer token: ${n.type}`)}}parseBody(t,r){let o=[],n=null;for(let i of this.lexer)if(i.type==="argument")n&&(n=null),o.push(this.parseArgToken(i,t));else if(i.type==="octothorpe"&&t)n&&(n=null),o.push({type:"octothorpe",ctx:ve(i)});else{if(i.type==="end"&&!r)return o;{let l=i.value;if(!t&&i.type==="quoted"&&l[0]==="#"){if(l.includes("{")){let u=`Unsupported escape pattern: ${l}`;throw new L(i,u)}l=i.text}n?(n.value+=l,n.ctx.text+=i.text,n.ctx.lineBreaks+=i.lineBreaks):(n={type:"content",value:l,ctx:ve(i)},o.push(n))}}if(r)return o;throw new L(null,"Unexpected message end")}};function Kr(e,t={}){return new Be(e,t).parse()}s(Kr,"parse")});var Re={BAD_REQUEST:{status:400,title:"Bad request"},UNAUTHORIZED:{status:401,title:"Unauthorized"},FORBIDDEN:{status:403,title:"Forbidden"},NOT_FOUND:{status:404,title:"Not found"},DELIVERY_FENCED:{status:409,title:"Delivery authorization changed"},DELIVERY_RECEIPT_FENCED:{status:409,title:"Committed receipt authorization changed"},CONFLICT:{status:409,title:"Conflict"},NOT_UNIQUE:{status:400,title:"Query matched more than one document"},VALIDATION_ERROR:{status:400,title:"Validation failed"},TOO_MANY_REQUESTS:{status:429,title:"Too many requests"},UNPROCESSABLE:{status:422,title:"Unprocessable"},NOT_IMPLEMENTED:{status:501,title:"Not implemented"},FUNCTION_NOT_FOUND:{status:404,title:"Function not found"},METHOD_NOT_ALLOWED:{status:405,title:"Method not allowed"},PAYLOAD_TOO_LARGE:{status:413,title:"Payload too large"},INTERNAL:{internal:!0,status:500,title:"Internal error"},INTERNAL_SERVER_ERROR:{internal:!0,status:500,title:"Internal error"},RPC_FAILED:{internal:!0,status:500,title:"Internal error"},COUNT_RLS_UNSUPPORTED:{status:422,title:"count() is unsupported under an RLS policy"},MASK_UNSUPPORTED:{status:422,title:"Aggregation over a masked column is unsupported"},RELATION_PREDICATE_UNSUPPORTED:{status:422,title:"Relation predicate is unsupported in a write policy"},RLS_REQUIRED:{status:403,title:"RLS policy required"},RUN_DEPTH_EXCEEDED:{internal:!0,status:500,title:"Run depth exceeded"},RUN_KIND_FORBIDDEN:{status:500,title:"Function kind may not be composed from a query"},TRANSACTION_LIMIT_EXCEEDED:{status:413,title:"Transaction limit exceeded"},MIGRATION_NOT_FOUND:{status:404,title:"Data migration not found"},MIGRATION_DRIFT:{status:409,title:"Migration drift"},UNIQUE_INDEX_DUPLICATES:{status:503,title:"Unique index blocked by duplicate rows"},UNKNOWN_TABLE:{status:404,title:"Unknown table"},GLOBAL_TABLE_NOT_EDITABLE:{status:400,title:"Global table is not editable"},SHARD_ERROR:{status:503,title:"Shard error"},SHARD_UNAVAILABLE:{status:503,title:"Shard unavailable"},SHARD_TIMEOUT:{status:504,title:"Shard timeout"},SHARD_HTTP_ERROR:{status:502,title:"Shard HTTP error"},SHARD_DRY_RUN_UNSUPPORTED:{status:501,title:"Shard cannot dry-run an import"},SUBSCRIPTION_PERSIST_FAILED:{status:500,title:"Subscription persist failed"},TOO_MANY_SUBSCRIPTIONS:{status:429,title:"Too many subscriptions"},LIVE_CONTROL_SUPERSEDED:{status:409,title:"A later live control call already applied"},OFFLINE_IDENTITY_CHANGED:{status:409,title:"Offline identity changed"},OFFLINE_NOT_QUEUED:{status:503,title:"Offline, write not queued"},IDENTITY_MISMATCH:{status:409,title:"Session changed since the write was queued"},CODEGEN_DIAGNOSTIC:{status:500,title:"Codegen diagnostic"},JURISDICTION_MOVE:{status:422,title:"Unacknowledged jurisdiction move"},INDEX_FIELD_NESTED_PATH:{status:500,title:"Index field is a nested path"},SCHEMA_SNAPSHOT_PARSE:{status:500,title:"Schema snapshot parse error"},ENV_INVALID:{internal:!0,status:500,title:"Invalid environment"},X402_FACILITATOR_ERROR:{internal:!0,status:502,title:"Payment facilitator error"},AUTH_HEADERS_MISSING:{internal:!0,status:500,title:"Auth headers missing"},PRIVACY_COVERAGE:{status:500,title:"Privacy coverage check failed"},PRIVACY_REQUEST_OPEN:{status:409,title:"A privacy request is already open"},PRIVACY_SESSION_NOT_FRESH:{status:403,title:"Recent sign-in required"},EMAIL_DOMAIN_BLOCKED:{status:400,title:"Email domain not allowed"},EMAIL_UNDELIVERABLE:{status:400,title:"Email domain cannot receive mail"},ANALYTICS_SQL_QUERY_ERROR:{status:502,title:"Analytics SQL query error"},BROWSER_RUN_ERROR:{status:502,title:"Browser Run API error"},BROWSER_TOO_MANY_REDIRECTS:{status:502,title:"Too many redirects"},R2_SQL_ERROR:{status:502,title:"R2 SQL API error"},WORKFLOWS_REST_ERROR:{status:502,title:"Cloudflare Workflows REST API error"},CONFIG_INVALID:{internal:!0,status:500,title:"Payment configuration invalid"},CURRENCY_MISMATCH:{status:400,title:"Currency mismatch"},PROVIDER_ERROR:{status:502,title:"Payment provider error"},WEBHOOK_EVENT_ID_MISSING:{status:400,title:"Webhook event id missing"},WEBHOOK_SIGNATURE_INVALID:{status:400,title:"Webhook signature invalid"},WEBHOOK_TIMESTAMP_INVALID:{status:400,title:"Webhook timestamp outside tolerance"},ADMIN_FORBIDDEN:{status:403,title:"Admin access forbidden"},ADMIN_TOKEN_NOT_CONFIGURED:{status:400,title:"Admin token not configured"},AUTH_MIGRATOR_UNSUPPORTED:{status:500,title:"Auth migrator cannot drive the configured database"},AUTH_NOT_CONFIGURED:{status:400,title:"Auth admin not configured"},AUTH_OP_NOT_SUPPORTED:{status:400,title:"Auth admin operation not supported"},AUTH_CIMD_FETCH_NOT_PUBLIC:{status:500,title:"CIMD transport needs the global_fetch_strictly_public flag"},AUTH_MCP_RESOURCE_AMBIGUOUS:{status:500,title:"MCP resource cannot be told apart from the provider's other resources"},AUTH_MCP_RESOURCE_INVALID:{status:500,title:"MCP resource missing or not an absolute URL"},MCP_STEP_UP_MISCONFIGURED:{status:500,title:"MCP step-up misconfigured"},BACKUP_NOT_CONFIGURED:{status:500,title:"Scheduled backup not configured"},BACKUP_RETENTION_NOT_CONFIGURED:{status:400,title:"Backup retention window not configured"},BACKUP_TOO_LARGE:{status:507,title:"Backup too large to assemble in a Worker"},CRON_JOBS_NOT_CONFIGURED:{status:400,title:"Cron jobs not configured"},CRON_JOB_NOT_FOUND:{status:404,title:"Cron job not found"},EXPORT_SHARD_FAILED:{status:502,title:"Export failed on one or more shards"},EXPORT_TAP_NOT_CONFIGURED:{status:400,title:"Export tap not configured"},FUNCTIONS_NOT_CONFIGURED:{status:400,title:"Functions registry not configured"},GLOBALS_NOT_CONFIGURED:{status:400,title:"Global-table introspector not configured"},ID_COLLISION:{status:409,title:"Document id already belongs to another table"},KV_NOT_CONFIGURED:{status:400,title:"KV introspector not configured"},MIGRATION_ID_REQUIRED:{status:400,title:"Migration id required"},PITR_UNAVAILABLE:{status:409,title:"Point-in-time recovery unavailable"},SCHEDULER_NOT_CONFIGURED:{status:400,title:"Scheduler not configured"},STORAGE_CHECKSUM_MISMATCH:{status:400,title:"Storage checksum mismatch"},STORAGE_DELETE_NOT_CONFIGURED:{status:400,title:"Storage delete not configured"},STORAGE_DOWNLOAD_NOT_CONFIGURED:{status:400,title:"Storage download not configured"},STORAGE_NOT_CONFIGURED:{status:400,title:"Storage not configured"},STORAGE_OBJECT_NOT_FOUND:{status:404,title:"Storage object not found"},STORAGE_UPLOAD_NOT_CONFIGURED:{status:400,title:"Storage upload not configured"},STORAGE_URL_NOT_CONFIGURED:{status:400,title:"Storage signed URL not configured"},AI_UNKNOWN_IMAGE_MODEL:{status:400,title:"Unknown image model"},RAG_DIMENSION_MISMATCH:{status:409,title:"Embedding dimension mismatch"},VECTORS_NOT_CONFIGURED:{status:400,title:"Vector index introspector not configured"},VECTOR_QUERY_UNSUPPORTED:{status:400,title:"Vector index querying not enabled"},WORKFLOWS_NOT_CONFIGURED:{status:501,title:"Workflows not configured"},AUTH_AUDIT_NOT_CONFIGURED:{status:400,title:"Auth audit reader not configured"},AUTH_AUDIT_READ_FAILED:{internal:!0,status:500,title:"Auth audit read failed"},AUTH_MOVE_NOT_CONFIGURED:{status:400,title:"Auth jurisdiction move not configured"},AUTH_MOVE_TARGET_NOT_EMPTY:{status:409,title:"Pinned auth object is not empty"},AUTH_MOVE_CONFLICT:{status:409,title:"Auth copy conflict"},AUTH_MOVE_SOURCE_CHANGED:{status:409,title:"Un-pinned auth object changed since the copy"},AUTH_MOVE_SOURCE_PURGED:{status:409,title:"Un-pinned auth object already purged"},AUTH_MOVE_INCOMPLETE:{status:409,title:"Auth copy not finished"},AUTH_MOVE_FAILED:{status:500,title:"Auth jurisdiction move failed"},CRON_EXPR_INVALID:{status:500,title:"Invalid cron expression"},CRON_EXPR_NOT_STATIC:{status:500,title:"Cron expression is not statically analyzable"},CRON_JOB_FAILED:{internal:!0,status:500,title:"Cron job failed"},CRON_NAME_NOT_STATIC:{status:500,title:"Cron job name is not statically analyzable"},CRON_NON_STATIC_FN:{status:500,title:"Cron function reference is not statically analyzable"},CRON_NON_STATIC_VALUE:{status:500,title:"Cron value is not statically analyzable"},CRON_SCHEDULE_INVALID:{status:500,title:"Invalid cron schedule"},CRON_SCHEDULE_NOT_STATIC:{status:500,title:"Cron schedule is not statically analyzable"},DUPLICATE_CRON_NAME:{status:500,title:"Duplicate cron job name"},DUPLICATE_AGENT_CLASS:{status:500,title:"Duplicate agent generated class name"},DUPLICATE_AGENT_NAME:{status:500,title:"Duplicate agent name"},DUPLICATE_MIGRATION_ID:{status:500,title:"Duplicate migration id"},DUPLICATE_QUEUE_BINDING:{status:500,title:"Duplicate queue binding"},DUPLICATE_QUEUE_NAME:{status:500,title:"Duplicate queue name"},DUPLICATE_ROOM_NAME:{status:500,title:"Duplicate room name"},ROOM_NAME_NOT_LITERAL:{status:500,title:"Room name is not a string literal"},DUPLICATE_SOCKET_PATH:{status:500,title:"Duplicate socket route path"},SOCKET_AUTH_NOT_LITERAL:{status:500,title:"Socket route auth is not a literal boolean"},SOCKET_PATH_INVALID:{status:500,title:"Socket route path is not a plain URL path"},SOCKET_PATH_NOT_LITERAL:{status:500,title:"Socket route path is not a string literal"},LIVE_STREAM_DUPLICATE:{status:500,title:"Duplicate live stream id or export name"},LIVE_STREAM_NOT_EXPORTED:{status:500,title:"Live stream is not a named export"},LIVE_STREAM_NOT_LITERAL:{status:500,title:"Live stream declaration is not a literal"},LIVE_TOPIC_INVALID:{status:500,title:"Live topic name or key field is not allowed"},DUPLICATE_WORKFLOW_CLASS:{status:500,title:"Duplicate workflow generated class name"},WORKFLOW_EVENT_DUPLICATE:{status:500,title:"Duplicate workflow event type"},WORKFLOW_EVENT_NOT_LITERAL:{status:500,title:"Workflow event type is not a string literal"},MIGRATION_ID_NOT_STATIC:{status:500,title:"Migration id is not statically analyzable"},NAMESPACE_COLLISION:{status:500,title:"Function namespace collision"},BAD_ROW:{status:400,title:"Malformed import row"},BAD_SUBSCRIPTION_ARGS:{status:400,title:"Invalid subscription arguments"},BATCH_LIMIT_EXCEEDED:{status:400,title:"Batch limit exceeded"},CASCADE_LIMIT:{status:400,title:"Cascade limit exceeded"},CROSS_SHARD_RANK_UNSUPPORTED:{status:400,title:"Cross-shard rank() is unsupported"},DISPATCH_UNAUTHENTICATED:{status:403,title:"Dispatch caller not authenticated"},DISPATCH_IN_PROGRESS:{status:409,title:"Dispatch already in progress"},STALE_CREDENTIAL:{status:409,title:"Stale credential"},IDENTITY_CHANGED:{status:409,title:"Socket identity changed"},FORBIDDEN_FANOUT:{status:403,title:"Fan-out forbidden"},GLOBAL_SEARCH_SCORES_UNSUPPORTED:{status:400,title:"collectWithScores() is unsupported on a global table"},FORBIDDEN_ORIGIN:{status:403,title:"Origin forbidden"},FORBIDDEN_SHARD:{status:403,title:"Shard access forbidden"},FORBIDDEN_TOPIC:{status:403,title:"Live topic publish forbidden"},GLOBAL_DRY_RUN_UNSUPPORTED:{status:400,title:"Global table dry run not supported"},GLOBAL_NOT_CONFIGURED:{status:400,title:"Global table import not configured"},INVALID_INPUT:{status:400,title:"Invalid input"},INVALID_SCHEDULE_ID:{status:400,title:"Invalid schedule id"},RATE_LIMITED:{status:429,title:"Rate limited"},REPLICA_NOT_READY:{status:421,title:"Replica not caught up"},REPLICA_READ_ONLY:{status:421,title:"Replica is read-only"},SEARCH_INDEX_BUILDING:{status:503,title:"Search index is still building"},SERVICE_UNAVAILABLE:{status:503,title:"Service unavailable"},SHAPE_MEMORY_TABLE:{status:400,title:"Shape over a memory table is unsupported"},SHAPE_CROSS_SHARD_JOIN:{status:400,title:"Shape cross-shard join is unsupported"},SHAPE_RELATION_PREDICATE:{status:400,title:"Shape filtered by a relation is unsupported"},UNAUTHENTICATED:{status:401,title:"Unauthenticated"},WIRE_DECODE_FAILED:{status:502,title:"Could not decode a server frame"},WIRE_ENCODE_FAILED:{status:500,title:"Could not encode a return value"},UNKNOWN_COLUMN:{status:404,title:"Unknown column"},CDC_LOG_TRIMMED:{status:409,title:"CDC log trimmed"},CDC_TIMELINE_FORKED:{status:409,title:"CDC timeline forked"},CDC_PAYLOAD_COMPACTED:{status:409,title:"CDC payloads compacted"},EXPIRED:{status:404,title:"Session expired"},LIVE_CONNECTION_LIMIT:{status:503,title:"Live connection limit reached"},LIVE_CONNECTION_NOT_FOUND:{status:404,title:"Live connection not found"},LIVE_STREAMS_UNSUPPORTED:{status:501,title:"Live streams are not served by this worker"},NESTED_TRANSACTION:{internal:!0,status:500,title:"Nested transaction"},OUT_OF_ORDER:{status:409,title:"Out-of-order mutation"},SHAPE_GLOBAL_TOO_LARGE:{status:413,title:"Global shape too large"},SHAPE_NOT_FOUND:{status:404,title:"Shape not found"},SHAPE_REQUIRES_CDC:{status:409,title:"Shape requires change-data-capture"},SQL_UNAVAILABLE:{internal:!0,status:500,title:"SQL storage unavailable"},STREAM_ID_IN_USE:{status:409,title:"Stream id already in use"},STREAM_IDLE:{status:504,title:"Stream went idle"},STREAM_INTERRUPTED:{status:503,title:"Durable stream interrupted"},STREAM_TOO_LONG:{status:507,title:"Durable stream exceeded its chunk ceiling"},SUBSCRIPTION_RESULT_TOO_LARGE:{status:413,title:"Subscription result too large"},TOKEN_EXPIRED:{status:401,title:"Authentication token expired"},TOO_MANY_LIVE_TOPICS:{status:429,title:"Too many live topics"},TOO_MANY_STREAMS:{status:429,title:"Too many streams"},TOO_MANY_WHISPER_TOPICS:{status:429,title:"Too many whisper topics"},UNKNOWN_ADMIN_OP:{status:404,title:"Unknown admin operation"},SOCKET_TAG_BUDGET_EXCEEDED:{status:400,title:"Socket tag budget exceeded"},RELAY_CANNOT_SEED:{status:500,title:"Relay cannot seed"},RELAY_MISCONFIGURED:{status:500,title:"Relay misconfigured"},RELAY_SEED_FAILED:{status:502,title:"Relay seed failed"},RELAY_SHAPE_UNROUTABLE:{status:500,title:"Relay shape unroutable"},MISCONFIGURED:{internal:!0,status:500,title:"Worker misconfigured"},LUNORA_RUNTIME_UNAVAILABLE:{status:500,title:"Lunora runtime unavailable"},INTERNAL_ERROR:{internal:!0,status:500,title:"Internal error"},BROWSER_TIMEOUT:{status:504,title:"Browser operation timed out"},CLIENT_CLOSED:{status:400,title:"Client is closed"},HTTP_STREAM_BAD_CHUNK:{status:502,title:"Malformed HTTP stream chunk"},HTTP_STREAM_CALLBACK:{status:500,title:"HTTP stream callback threw"},HTTP_STREAM_INTERRUPTED:{status:502,title:"HTTP stream interrupted"},HTTP_STREAM_MISSING_PARAM:{status:400,title:"HTTP stream missing path parameter"},HTTP_STREAM_NO_BODY:{status:502,title:"HTTP stream response has no body"},HTTP_STREAM_STATUS:{status:502,title:"HTTP stream request failed"},HTTP_STREAM_TRANSPORT:{status:502,title:"HTTP stream transport error"},STREAM_BACKPRESSURE:{status:429,title:"Stream backpressure"},STREAM_DISCONNECTED:{status:503,title:"Stream disconnected"},STREAM_QUEUE_OVERFLOW:{status:429,title:"Stream queue overflow"},UNKNOWN_MUTATION_FN:{status:404,title:"Unknown mutation function"},LOCAL_DEPENDENCY_MISSING:{status:500,title:"Required local tool not found"}},Ne=s(e=>Object.hasOwn(Re,e)?Re[e]:void 0,"s");var Qe=Symbol.for("@lunora/errors/LunoraError"),Ce=class e extends Error{static{s(this,"s")}static[Symbol.hasInstance](t){return this!==e?Function.prototype[Symbol.hasInstance].call(this,t):typeof t=="object"&&t!==null&&t[Qe]===!0}type="VisulimaError";hint;title;loc;code;status;docsUrl;data;why;constructor(t,r,o={}){let n=Ne(t);super(r??t,o.cause===void 0?void 0:{cause:o.cause}),this.name=o.name??"LunoraError",this.hint=o.hint,this.title=o.title??n?.title,this.loc=o.location,this.code=t,this.status=o.status??n?.status??500,this.docsUrl=o.docsUrl,this.data=o.data,this.why=o.why,Object.defineProperty(this,Qe,{value:!0}),o.internal!==void 0&&Object.defineProperty(this,"internal",{value:o.internal}),o.headers!==void 0&&Object.defineProperty(this,"headers",{value:o.headers})}};var ne="https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/",le="https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/",Wt=/string or blob too big/iu,Je=["Another write changed this row while your mutation was running (optimistic concurrency conflict).","","Re-read the row and retry the mutation with the fresh value. Lunora serializes a DO's mutations, so a persistent conflict usually means the handler conflicts **with itself** (e.g. a trigger or cascade touching the same row) \u2014 split that work rather than adding a retry loop."],De={DELIVERY_FENCED:"The operation may have committed. Retry with the same transport key; a committed result from an older authority epoch returns DELIVERY_RECEIPT_FENCED. Do not automatically retry with a new transport key.",DELIVERY_RECEIPT_FENCED:"The operation committed, but its stored result belongs to an older authority epoch. Do not automatically retry with a new transport ID. Recover through the application's durable operation key under current authorization.",CONFLICT:Je,NOT_UNIQUE:["`.unique()` matched more than one document \u2014 it expects the query to identify at most one row.","","- If several matches are legitimate, use `.first()` (take one) or `.collect()` (take all) instead.","- Otherwise tighten the query (e.g. filter on a unique/indexed field) so it can only match one row."],RLS_REQUIRED:["This table is secure-by-default: it has no `.public()` marker and no RLS policy resolved for the caller, so the read fails closed.","","Add a read policy with `.rls(...)`, or mark the table `.public()` if it is intentionally world-readable."],TRANSACTION_LIMIT_EXCEEDED:["A single mutation may only read and write a bounded amount before it is stopped.","","Narrow the read with an index (`.withIndex(...)`) instead of scanning the table, or split the write across several mutations \u2014 for a large backfill use `defineMigration` + `lunora migrate up`, which batches and checkpoints for you.","","The ceilings are deliberately conservative \u2014 they exist to stop one request taking down the whole shard. A deployment that genuinely needs bigger transactions can raise them by overriding the `transactionLimits()` seam on its generated shard class."],MIGRATION_DRIFT:["An applied SQL migration is never re-run, so the runner stopped before applying anything.","","- **Its text changed after it ran:** revert the edit and put the change in a new migration. If the edit is inert (a comment, whitespace, line endings), record the new hash with the `UPDATE` the message prints.","- **Tracking rows predate versions and match no migration:** set each row's `version` with the `UPDATE` the message prints, so the runner can tell what already ran."],UNIQUE_INDEX_DUPLICATES:["The index was not built, so requests to its store are refused until it is.","","Make one row keep each key. For a shard table, write a `defineMigration` in `lunora/migrations.ts` that deletes or merges the duplicates, deploy it, then run `lunora migrate up <id>` with that migration's id; the `lunora-migration-helper` skill covers the pattern. A `.global()` table lives in your SQL database, not a shard, so `defineMigration` does not reach it: delete or merge the duplicate rows directly in the database. Either way the index build is retried on its own, so no second deploy is needed."],OFFLINE_NOT_QUEUED:"A mutation sent with `onlineOnly: true` found its connection down or reconnecting (the shard had connected before), or, on a shard that has never connected, its request failed on the wire. It was refused instead of queued. Nothing was persisted or replayed; issue the call again once the connection is back. See [keeping a write off the queue](/docs/concepts/offline-first#keeping-a-write-off-the-queue).",IDENTITY_MISMATCH:["A write queued offline was replayed on a session that now belongs to someone else (a sign-out, or another user's sign-in, while it waited), so the worker refused it rather than commit it as them.","","`@lunora/client` re-resolves the session on this refusal and settles the write itself. If every replay is refused while the same user stays signed in, your worker's `resolveIdentity` returns a different `userId` than better-auth's `user.id`, or the RPC request carries no session cookie."],JURISDICTION_MOVE:["The schema declares `.jurisdiction(...)` and the project has DO-backed auth (`.auth({ namespace })`). Pinning the auth object to the jurisdiction resolves it to a new, empty one: every user, account and session stays in the unpinned object until copied across. Voice sessions are pinned without an acknowledgement: they store nothing, and their transcripts are rows in the already-pinned shards.","",'Acknowledge with `.jurisdiction("eu", { pinAuth: true })` and deploy, then copy the auth tables across with the `__lunora_admin__:copyAuthToJurisdiction` admin op and, once the counts check out, purge the unpinned copy with `__lunora_admin__:purgeUnpinnedAuth` (see [Pinning auth and voice](/docs/concepts/data-residency#pinning-auth-and-voice)). For D1-mode auth the acknowledgement changes nothing.'],INDEX_FIELD_NESTED_PATH:"Indexes cover top-level columns only. Denormalise the nested value into its own column, index that, and keep it in sync with a table `.triggers()` beforeInsert/beforeUpdate.",EMAIL_DOMAIN_BLOCKED:["This address's domain is on the disposable/throwaway blocklist (or your configured deny-list).","","Sign up with a permanent mailbox. To tune the policy, pass `blockDisposable` / `allowDomains` / `denyDomains` in the `EmailGateConfig` you hand `assertEmailAllowed` / `classifyEmail` / `emailGateMiddleware` (`@lunora/auth/email-guard`)."],EMAIL_UNDELIVERABLE:["The address's domain publishes no MX (or fallback A/AAAA) records, so it can't receive mail.","","Check for a typo in the domain. MX verification is opt-in (`mx: true`) and needs DNS \u2014 leave it off on the edge path if DNS is unavailable."],AUTH_MIGRATOR_UNSUPPORTED:["better-auth migrates only through its Kysely adapter, so `ensureMigrated` / `compileMigrationsSql` need the raw D1 binding as `database` \u2014 a custom adapter (`lunoraD1Adapter`, `lunoraAuthAdapter`, `lunoraDoAdapter`) cannot be migrated through, and neither can an absent `database`.","","Build a SECOND, migration-only instance over the raw binding \u2014 `createMigrationAuth({ ...options, database: env.DB })` (from `@lunora/auth/migrate`) \u2014 and hand that one to `ensureMigrated`. Keep the adapter on the instance that serves requests: the adapter exists to dodge a dev-runner hang in `$context`, which the migration instance never resolves.","","To compile the SQL off-platform (`compileMigrationsSql`), diff against an empty local database \u2014 `new DatabaseSync(':memory:')` from `node:sqlite` \u2014 rather than passing no `database` at all."],AUTH_CIMD_FETCH_NOT_PUBLIC:'Add "global_fetch_strictly_public" to "compatibility_flags" in wrangler.jsonc, so CIMD metadata fetches cannot reach private addresses. `lunora doctor` reports it as `cimd-fetch-not-strictly-public`.',AUTH_MCP_RESOURCE_AMBIGUOUS:'Use `mcp` from "@lunora/auth/plugins" (not `@better-auth/mcp`) and pass the plugin object as is: it records its `resource`, which the worker needs to serve the protected-resource metadata when the provider names several resources.',AUTH_MCP_RESOURCE_INVALID:"Pass `resource` to `requireMcpAuth` (and `mcp()`) as the absolute URL of the MCP route, e.g. `https://app.example.com/mcp`: issued tokens are audience-bound to it.",MCP_STEP_UP_MISCONFIGURED:"Give `createAuthedMcpFetchHandler`'s `stepUp` a non-empty `scope` (such as `lunora:write`) and a `challenge` (`createInsufficientScopeError` from `@lunora/auth/plugins`), or leave `stepUp` out.",BACKUP_RETENTION_NOT_CONFIGURED:["`lunora backup prune` removes snapshots past the retention window, and this worker has no window: set `backupRetain` (how many to keep) and `backupCron` (which decides whose snapshots retention owns) on `createWorker`.","","Nothing was deleted. A default is deliberately not invented here \u2014 retention deleting on its own is exactly what this command exists to replace."],BACKUP_TOO_LARGE:["The scheduled backup is assembled inside the Worker isolate, so it caps the snapshot it will build. Nothing was written.","","The cap is on the NDJSON, not on peak memory: the export fan-out resolves every shard's rows before the first row is encoded, so a snapshot under the cap can still exhaust the isolate. It is set well below the isolate's limit for that reason.","","Narrow the snapshot with `backupTables`, or take this backup off-platform with `lunora backup create --bucket`, which runs on a machine rather than in an isolate. Backing up more often does not help \u2014 every run is a full snapshot."],EXPORT_SHARD_FAILED:["One or more shards failed to export, so the snapshot would have been short. Nothing is written when this fires \u2014 a partial export must never be mistaken for a complete one.","","The message names each failed shard key and its error. Re-run the export once those shards are reachable; a shard that fails repeatedly is usually over the per-request memory budget, which `backupTables` narrows."],ID_COLLISION:["The imported row carries an `_id` that is already held by a DIFFERENT table in this shard. Ids are per-table, so inserting it would leave two tables claiming one id and make a later lookup resolve to whichever one it reached first.","","This is reported per row rather than aborting the import: the remaining rows still apply. Re-mint the id on the source side, or import that table into a shard that does not already hold it."],STORAGE_CHECKSUM_MISMATCH:["The upload body did not match the declared `expectedSize` or `expectedSha256`, so nothing was written \u2014 this check fails closed.","","Re-read the bytes from the source export and retry the transfer. A persistent mismatch means the source blob is corrupt or truncated; fix the export rather than bypassing the check."],STORAGE_DOWNLOAD_NOT_CONFIGURED:["`GET /_lunora/admin/storage/object` needs a `storageDownload` function on the worker. The generated app worker wires it up; a hand-written `createWorker({ ... })` has to pass `(key, opts) => pick(opts?.bucket).download(key)` \u2014 forwarding `opts.bucket` to the right bucket, and wrapping rather than passing `createStorage(...).download` itself, whose second parameter is a byte range.","","Without it a bucket-backed `lunora backup restore --bucket` cannot read the snapshot. The object is still readable out of band with `wrangler r2 object get`."],RAG_DIMENSION_MISMATCH:["A stored vector and the query embedding have different widths, so they cannot be compared.","","This is what changing a RAG index's `embeddingModel` (or a provider's `dimensions` option) without reindexing looks like. Either put the previous model back, or reindex the namespace under the new one \u2014 bump `embeddingModelVersion` so the index rebuilds instead of mixing widths."],AUTH_MOVE_NOT_CONFIGURED:"The copy needs DO-backed auth (`.auth({ namespace })`) pinned with `.jurisdiction(\u2026, { pinAuth: true })`, and the auth object's `internalSecret` set.",AUTH_MOVE_TARGET_NOT_EMPTY:"The pinned auth object holds users the copy did not write (someone signed up there), so copying into it would merge two user bases. Pass `force: true` to copy anyway: a copied row that collides with one of the pinned object's rows is left out and counted under `conflicts`.",AUTH_MOVE_CONFLICT:"A copied row has the same key or unique value (such as an email) as a row the pinned auth object holds on its own, or the pinned object changed a row the source changed too. Nothing from that page was written. Pass `force: true` to keep the pinned object's rows and count the collisions under `conflicts`.",AUTH_MOVE_SOURCE_CHANGED:"The un-pinned auth object changed after the copy read it (an update, a delete, or a new row), for example during a gradual rollout or a rollback. Run the copy again: it reconciles the changed tables. Then purge.",AUTH_MOVE_SOURCE_PURGED:"The un-pinned auth object was already purged. Its tables may exist again (a rollback served requests there), but they hold only rows written since, so the copy refuses rather than read them as deletions and remove the pinned object's users. Nothing is left to copy.",AUTH_MOVE_INCOMPLETE:"Run `__lunora_admin__:copyAuthToJurisdiction` until it answers `done: true`, check the per-table counts, then purge.",AUTH_MOVE_FAILED:"The message names the step, the table and the class of the SQLite error; the auth object's log has the full error. The copy resumes where it stopped once the cause is fixed.",DISPATCH_UNAUTHENTICATED:"The scheduler could not authenticate to the worker. Check that `LUNORA_SCHEDULER_SECRET` matches on both sides, or that `LUNORA_ADMIN_TOKEN` is set and current.",DISPATCH_IN_PROGRESS:"A dispatch with this idempotency id is still running on the shard. Retry it; once the first attempt settles the same id is served from the replay cache.",TOKEN_EXPIRED:["The caller's credential verified but its expiry has passed. The worker refuses an HTTP call with this code before it runs; a shard drops a socket with close code `4001` and the same code.","","It is a refusal of the credential, not of the call: `@lunora/client` holds a queued write, fires `onTokenExpired`, and re-sends it after `setAuthToken`. The held write survives the refresh only if you pass the same `subject` (the user id) with the new token, `setAuthToken(freshToken, user.id)`; without one a refresh reads as a user switch and the write is rejected `OFFLINE_IDENTITY_CHANGED`. Under a cookie session there is no token to replace: renew the cookie and the write is re-sent on a backoff. The worker can only tell expired from anonymous if your `resolveIdentity` returns the identity with its past `exp` (or `expiresAtMs`), or throws a `LunoraError` with this code. Returning `null` runs the call anonymous."],TOO_MANY_WHISPER_TOPICS:"Reuse a stable set of whisper topic names, or reconnect \u2014 the per-socket verdict memo is in-memory, so a new connection starts empty. Leaving a topic does not free its entry.",HTTP_STREAM_NO_BODY:["The `fetch` implementation resolved with a response that exposes neither a `body` stream nor a `text()` read \u2014 a broken `fetch` substitute, not a runtime limitation.","A response with no `body` stream that can still be read as text (React Native's `whatwg-fetch` polyfill) is buffered through `text()` instead and never raises this code. Check the `fetch` override passed to the client or the `httpStream` call."],LOCAL_DEPENDENCY_MISSING:["The command Lunora tried to run is not on your PATH, so nothing ran.","","Install it (or put it on PATH) and retry \u2014 `wrangler` ships as a dependency of a Lunora app, so `pnpm install` usually fixes that one; `git` and `docker` are installed separately."]},Ze=s(e=>Object.hasOwn(De,e)?De[e]:void 0,"m"),et=[{body:["A single row exceeded the storage engine's per-row ceiling \u2014 2 MB on a Durable Object's SQLite, and 2,000,000 bytes on D1.","","The limit is on the STORED bytes, which are UTF-8: a document of multi-byte text (CJK, emoji) costs up to 3x its character count. `v.bytes()` and `v.bigint()` columns cost more again on a shard-local table, where the row stores both a SQL-comparable projection and the original.","","Keep the large payload out of the row and store a reference to it:","","```ts","const key = `uploads/${crypto.randomUUID()}`;","await ctx.storage.uploads.put(key, bytes);",'await ctx.db.insert("documents", { storageKey: key, title });',"```","","R2 has no practical object-size ceiling, and the row stays small enough to read, index, and replicate."].join(`
9
- `),header:"Row too large for the storage engine",id:"lunora-row-too-big",test:s(e=>Wt.test(e),"test")},{body:["Lunora codegen couldn't find a schema to generate from.","","Create `lunora/schema.ts` exporting a `defineSchema(...)` call:","","```ts",'import { defineSchema, defineTable, v } from "@lunora/server";',"","export default defineSchema({"," messages: defineTable({ body: v.string() }),","});","```","","Or run `lunora init` to scaffold Lunora (a sample `lunora/schema.ts` included) into your app."].join(`
10
- `),header:"No Lunora schema found",id:"lunora-schema-missing",test:s(e=>e.includes("defineSchema() not found")||e.includes("schema.ts not found at"),"test")},{body:["`defineSchema(...)` must be called with an **inline object literal** mapping table names to `defineTable(...)`:","","```ts","export default defineSchema({"," todos: defineTable({ title: v.string(), done: v.boolean() }),","});","```","","Codegen reads the schema statically, so it can't follow a variable or a spread \u2014 pass the object literal directly."].join(`
11
- `),header:"`defineSchema()` needs an inline object literal",id:"lunora-schema-not-object-literal",test:s(e=>e.includes("defineSchema() expects an object literal"),"test")},{body:["This table name collides with a built-in `ctx.db` member, so the generated client can't expose it.","","Rename the table to anything that isn't a `ctx.db` member (the error names the one it hit) \u2014 e.g. `userAccounts` instead of `insert`, or `pageViews` instead of `count`."].join(`
12
- `),header:"Table name is reserved",id:"lunora-table-reserved",test:s(e=>e.includes("is reserved")&&e.includes("ctx.db"),"test")},{body:["Two tables resolve to the same name \u2014 usually a base table and a schema **extension** both defining it.","","Rename one of them, or drop the duplicate from the extension. Each table name must be unique across `defineSchema(...)` and every `.extend(...)`."].join(`
13
- `),header:"Duplicate table name",id:"lunora-table-duplicate",test:s(e=>e.includes("already exists")&&e.includes(".extend("),"test")},{body:['`.jurisdiction(...)` accepts only a **string literal** of `"eu"`, `"us"`, or `"fedramp"`:',"","```ts",'defineSchema({ /* \u2026 */ }).jurisdiction("eu");',"```"].join(`
14
- `),header:"Invalid `.jurisdiction(...)` value",id:"lunora-jurisdiction",test:s(e=>e.includes("unknown jurisdiction")||e.includes("jurisdiction")&&e.includes('"eu", "us", or "fedramp"'),"test")},{body:["The `unique` flag on an index must be a **literal** `true` or `false`, not a computed value \u2014 codegen needs to read it statically:","","```ts",'defineTable({ email: v.string() }).index("by_email", ["email"], { unique: true });',"```"].join(`
15
- `),header:"`unique` must be a literal",id:"lunora-unique-literal",test:s(e=>e.includes("must be a literal")&&e.includes("unique"),"test")},{body:["A declared container/workflow class isn't re-exported by your worker entry, so `wrangler deploy` would reject it.","","Add the generated re-export shown in the error to your worker entry (e.g. `src/index.ts`):","","```ts",'export * from "./lunora/_generated/containers";',"```"].join(`
16
- `),header:"Binding not exported by your worker entry",id:"lunora-worker-entry-export-gap",test:s(e=>e.includes("not exported by your worker entry"),"test")},{body:["A row with the same value already exists in a `unique` index.","","- If you meant to upsert, use `ctx.db.<table>().upsert(...)` (or `.patch(...)` an existing row) instead of `.insert(...)`.",`- Otherwise pick a value that isn't already taken, and consider surfacing a friendly "already exists" message to the user.`].join(`
17
- `),header:"Unique constraint violation",id:"lunora-runtime-unique",test:s(e=>e.includes("unique constraint violation on"),"test")},{body:Je.join(`
18
- `),header:"Optimistic concurrency conflict",id:"lunora-runtime-occ",test:s(e=>e.includes("optimistic concurrency conflict"),"test")}],Le=[{causes:"the origin returned an empty, unknown, or malformed response Cloudflare couldn't interpret (often an origin crash or an oversized response header)",code:"520",docsUrl:ne,family:"5xx",fix:"check your origin's logs for a crash, ensure it returns a valid HTTP response, and keep response headers under the size limit",summary:"Cloudflare got an unknown/empty response from your origin web server.",title:"Web server returns an unknown error"},{causes:"the origin refused the connection \u2014 the web server is down, or a firewall is blocking Cloudflare's IP ranges",code:"521",docsUrl:ne,family:"5xx",fix:"confirm the origin process is running and allowlist Cloudflare's published IP ranges in your firewall/security groups",summary:"Cloudflare could not connect to your origin because it refused the connection.",title:"Web server is down"},{causes:"Cloudflare could not establish a TCP connection to the origin in time \u2014 the origin is overloaded, a firewall is dropping packets, or the origin IP is wrong",code:"522",docsUrl:ne,family:"5xx",fix:"verify the origin is reachable and not overloaded, and that the DNS record points at the correct origin IP",summary:"The connection to your origin timed out before it was established.",title:"Connection timed out"},{causes:"Cloudflare cannot route to the origin at all \u2014 a bad DNS record, an origin IP that changed, or invalid routing",code:"523",docsUrl:ne,family:"5xx",fix:"verify the DNS A/AAAA record points at a reachable origin IP and that no upstream network is blocking Cloudflare",summary:"Cloudflare could not reach your origin server.",title:"Origin is unreachable"},{causes:"Cloudflare made a TCP connection but the origin did not return an HTTP response within 100 seconds \u2014 a slow handler or long-running request",code:"524",docsUrl:ne,family:"5xx",fix:"speed up the slow origin handler, or move long work off the request path into a background job (a Durable Object, Queue, or Workflow)",summary:"Cloudflare connected to your origin but it did not respond in time.",title:"A timeout occurred"},{causes:"the TLS handshake between Cloudflare and the origin failed \u2014 a missing/invalid origin certificate, or a cipher/SNI mismatch under Full (Strict) SSL",code:"525",docsUrl:ne,family:"5xx",fix:"install a valid certificate on the origin and align your Cloudflare SSL/TLS mode with the origin's certificate setup",summary:"The SSL handshake with your origin failed.",title:"SSL handshake failed"},{causes:"Cloudflare could not validate the origin's certificate under Full (Strict) SSL \u2014 it is expired, self-signed, or issued for the wrong hostname",code:"526",docsUrl:ne,family:"5xx",fix:"install a valid, publicly-trusted certificate on the origin (or use a Cloudflare Origin CA cert), matching the request hostname",summary:"Cloudflare could not validate your origin's SSL certificate.",title:"Invalid SSL certificate"},{causes:"a DNS record points at a Cloudflare IP or another prohibited address instead of your real origin",code:"1000",docsUrl:le,family:"1xxx",fix:"point the DNS record at your real origin IP, not a Cloudflare-owned or loopback address",summary:"DNS points to a prohibited IP.",title:"DNS points to prohibited IP"},{causes:"Cloudflare could not resolve the requested hostname \u2014 a Worker fetched an unresolvable host, or a DNS record is misconfigured",code:"1001",docsUrl:le,family:"1xxx",fix:"check the hostname you're requesting and the DNS records for the zone resolve to a valid origin",summary:"Cloudflare could not resolve the origin DNS.",title:"DNS resolution error"},{causes:"a Worker or DNS record targets a restricted IP (for example a Cloudflare-owned or loopback address)",code:"1002",docsUrl:le,family:"1xxx",fix:"change the Worker fetch target or DNS record to a valid, non-restricted origin address",summary:"DNS points to a prohibited IP (Worker/restricted).",title:"DNS points to a prohibited IP"},{causes:"the visitor's IP was blocked by an IP Access Rule, WAF rule, or security configuration on the zone",code:"1006",docsUrl:le,family:"1xxx",fix:"review the zone's Firewall/WAF and IP Access Rules to see why the address was banned, and adjust if it was blocked in error",summary:"Access denied: the visitor's IP has been banned.",title:"Access denied: your IP has been banned"},{causes:"your Worker threw an unhandled JavaScript exception during the request",code:"1101",docsUrl:le,family:"1xxx",fix:"reproduce with `wrangler tail` (or the Workers Logs / Studio Logs panel) to get the stack trace, then handle the throwing code path",summary:"A Worker threw a JavaScript exception.",title:"Worker threw a JavaScript exception"},{causes:"the Worker used more CPU time than a single invocation is allowed \u2014 usually a hot loop or heavy synchronous work",code:"1102",docsUrl:le,family:"1xxx",fix:"reduce per-request CPU (optimize hot loops, avoid heavy synchronous work) or offload the heavy work to a Durable Object, Queue, or Workflow",summary:"A Worker exceeded its CPU-time resource limit.",title:"Worker exceeded resource limits"}],Ue=s(e=>e!==void 0&&e>="0"&&e<="9","s"),$t=s((e,t)=>{for(let r=e.indexOf(t);r!==-1;r=e.indexOf(t,r+t.length))if(!Ue(e[r-1])&&!Ue(e[r+t.length]))return!0;return!1},"g"),Kt=s((e,t)=>{for(let r of[`error ${t}`,`error: ${t}`])for(let o=e.indexOf(r);o!==-1;o=e.indexOf(r,o+r.length))if(!Ue(e[o+r.length]))return!0;return!1},"b"),Yt=/error|cloudflare/iu,Xe=s(e=>({body:[e.summary,"",`**Likely cause:** ${e.causes}.`,"",`**Fix:** ${e.fix}.`,"",`See [Cloudflare's ${e.family} error docs](${e.docsUrl}).`].join(`
19
- `),header:`Cloudflare Error ${e.code}: ${e.title}`,id:`cloudflare-error-${e.code}`}),"c"),tt=s(e=>{if(!Yt.test(e))return;let t=e.toLowerCase(),r=t.includes("error"),o=t.includes("cloudflare");if(r){for(let n of Le)if(Kt(t,n.code))return Xe(n)}if(o){for(let n of Le)if($t(t,n.code))return Xe(n)}},"y"),Qt=s(e=>(typeof e=="string"?e:e.join(`
20
- `)).split(`
21
- `).filter(t=>!t.startsWith("```")).join(`
22
- `).replaceAll(/\*\*(.+?)\*\*/gu,"$1").replaceAll(/`([^`]+)`/gu,"$1"),"T"),be=s(e=>{for(let t of et)if(t.test(e))return{body:t.body,header:t.header,id:t.id}},"d"),Xt=s(e=>be(e)??tt(e),"x"),ye=s(e=>{if(typeof e=="string")return be(e)?.body;if(e.hint!==void 0)return e.hint;if(e.code!==void 0){let t=Ze(e.code);if(t!==void 0)return t}return e.message===void 0?void 0:be(e.message)?.body},"v");var Jt="A mutation sent with `onlineOnly: true` found its connection down or reconnecting (the shard had connected before), or, on a shard that has never connected, its request failed on the wire. It was refused instead of queued. Nothing was persisted or replayed; issue the call again once the connection is back. See [keeping a write off the queue](/docs/concepts/offline-first#keeping-a-write-off-the-queue).",Zt=["The `fetch` implementation resolved with a response that exposes neither a `body` stream nor a `text()` read \u2014 a broken `fetch` substitute, not a runtime limitation.","A response with no `body` stream that can still be read as text (React Native's `whatwg-fetch` polyfill) is buffered through `text()` instead and never raises this code. Check the `fetch` override passed to the client or the `httpStream` call."];function rt(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=rt(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}s(rt,"r");function ot(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=rt(e))&&(o&&(o+=" "),o+=t);return o}s(ot,"clsx");var er=s((e,t)=>{let r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r},"concatArrays"),tr=s((e,t)=>({classGroupId:e,validator:t}),"createClassValidatorObject"),ut=s((e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),"createClassPartObject"),Ee="-",st=[],rr="arbitrary..",or=s(e=>{let t=nr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:s(l=>{if(l.startsWith("[")&&l.endsWith("]"))return sr(l);let u=l.split(Ee),w=u[0]===""&&u.length>1?1:0;return dt(u,w,t)},"getClassGroupId"),getConflictingClassGroupIds:s((l,u)=>{if(u){let w=o[l],m=r[l];return w?m?er(m,w):w:m||st}return r[l]||st},"getConflictingClassGroupIds")}},"createClassGroupUtils"),dt=s((e,t,r)=>{if(e.length-t===0)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let m=dt(e,t+1,i);if(m)return m}let l=r.validators;if(l===null)return;let u=t===0?e.join(Ee):e.slice(t).join(Ee),w=l.length;for(let m=0;m<w;m++){let S=l[m];if(S.validator(u))return S.classGroupId}},"getGroupRecursive"),sr=s(e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?rr+o:void 0})(),"getGroupIdForArbitraryProperty"),nr=s(e=>{let{theme:t,classGroups:r}=e;return ar(r,t)},"createClassMap"),ar=s((e,t)=>{let r=ut();for(let o in e){let n=e[o];Ge(n,r,o,t)}return r},"processClassGroups"),Ge=s((e,t,r,o)=>{let n=e.length;for(let i=0;i<n;i++){let l=e[i];ir(l,t,r,o)}},"processClassesRecursively"),ir=s((e,t,r,o)=>{if(typeof e=="string"){lr(e,t,r);return}if(typeof e=="function"){cr(e,t,r,o);return}ur(e,t,r,o)},"processClassDefinition"),lr=s((e,t,r)=>{let o=e===""?t:ht(t,e);o.classGroupId=r},"processStringDefinition"),cr=s((e,t,r,o)=>{if(dr(e)){Ge(e(o),t,r,o);return}t.validators===null&&(t.validators=[]),t.validators.push(tr(r,e))},"processFunctionDefinition"),ur=s((e,t,r,o)=>{let n=Object.entries(e),i=n.length;for(let l=0;l<i;l++){let[u,w]=n[l];Ge(w,ht(t,u),r,o)}},"processObjectDefinition"),ht=s((e,t)=>{let r=e,o=t.split(Ee),n=o.length;for(let i=0;i<n;i++){let l=o[i],u=r.nextPart.get(l);u||(u=ut(),r.nextPart.set(l,u)),r=u}return r},"getPart"),dr=s(e=>"isThemeGetter"in e&&e.isThemeGetter===!0,"isThemeGetter"),hr=s(e=>{if(e<1)return{get:s(()=>{},"get"),set:s(()=>{},"set")};let t=0,r=Object.create(null),o=Object.create(null),n=s((i,l)=>{r[i]=l,t++,t>e&&(t=0,o=r,r=Object.create(null))},"update");return{get(i){let l=r[i];if(l!==void 0)return l;if((l=o[i])!==void 0)return n(i,l),l},set(i,l){i in r?r[i]=l:n(i,l)}}},"createLruCache"),Me="!",nt=":",fr=[],at=s((e,t,r,o,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:n}),"createResultObject"),pr=s(e=>{let{prefix:t,experimentalParseClassName:r}=e,o=s(n=>{let i=[],l=0,u=0,w=0,m,S=n.length;for(let N=0;N<S;N++){let P=n[N];if(l===0&&u===0){if(P===nt){i.push(n.slice(w,N)),w=N+1;continue}if(P==="/"){m=N;continue}}P==="["?l++:P==="]"?l--:P==="("?u++:P===")"&&u--}let I=i.length===0?n:n.slice(w),B=I,D=!1;I.endsWith(Me)?(B=I.slice(0,-1),D=!0):I.startsWith(Me)&&(B=I.slice(1),D=!0);let F=m&&m>w?m-w:void 0;return at(i,D,B,F)},"parseClassName");if(t){let n=t+nt,i=o;o=s(l=>l.startsWith(n)?i(l.slice(n.length)):at(fr,!1,l,void 0,!0),"parseClassName")}if(r){let n=o;o=s(i=>r({className:i,parseClassName:n}),"parseClassName")}return o},"createParseClassName"),mr=s(e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((r,o)=>{t.set(r,1e6+o)}),r=>{let o=[],n=[];for(let i=0;i<r.length;i++){let l=r[i],u=l[0]==="[",w=t.has(l);u||w?(n.length>0&&(n.sort(),o.push(...n),n=[]),o.push(l)):n.push(l)}return n.length>0&&(n.sort(),o.push(...n)),o}},"createSortModifiers"),gr=s(e=>({cache:hr(e.cacheSize),parseClassName:pr(e),sortModifiers:mr(e),postfixLookupClassGroupIds:br(e),...or(e)}),"createConfigUtils"),br=s(e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let o=0;o<r.length;o++)t[r[o]]=!0;return t},"createPostfixLookupClassGroupIds"),yr=/\s+/,wr=s((e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:l}=t,u=[],w=e.trim().split(yr),m="";for(let S=w.length-1;S>=0;S-=1){let I=w[S],{isExternal:B,modifiers:D,hasImportantModifier:F,baseClassName:N,maybePostfixModifierPosition:P}=r(I);if(B){m=I+(m.length>0?" "+m:m);continue}let H=!!P,M;if(H){let z=N.substring(0,P);M=o(z);let g=M&&l[M]?o(N):void 0;g&&g!==M&&(M=g,H=!1)}else M=o(N);if(!M){if(!H){m=I+(m.length>0?" "+m:m);continue}if(M=o(N),!M){m=I+(m.length>0?" "+m:m);continue}H=!1}let J=D.length===0?"":D.length===1?D[0]:i(D).join(":"),Z=F?J+Me:J,ee=Z+M;if(u.indexOf(ee)>-1)continue;u.push(ee);let R=n(M,H);for(let z=0;z<R.length;++z){let g=R[z];u.push(Z+g)}m=I+(m.length>0?" "+m:m)}return m},"mergeClassList"),_r=s((...e)=>{let t=0,r,o,n="";for(;t<e.length;)(r=e[t++])&&(o=ft(r))&&(n&&(n+=" "),n+=o);return n},"twJoin"),ft=s(e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ft(e[o]))&&(r&&(r+=" "),r+=t);return r},"toValue"),Er=s((e,...t)=>{let r,o,n,i,l=s(w=>{let m=t.reduce((S,I)=>I(S),e());return r=gr(m),o=r.cache.get,n=r.cache.set,i=u,u(w)},"initTailwindMerge"),u=s(w=>{let m=o(w);if(m)return m;let S=wr(w,r);return n(w,S),S},"tailwindMerge");return i=l,(...w)=>i(_r(...w))},"createTailwindMerge"),Tr=[],U=s(e=>{let t=s(r=>r[e]||Tr,"themeGetter");return t.isThemeGetter=!0,t.themeKey=e,t},"fromTheme"),pt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,vr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ar=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Or=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,xr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ir=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,re=s(e=>vr.test(e),"isFraction"),v=s(e=>!!e&&!Number.isNaN(Number(e)),"isNumber"),K=s(e=>!!e&&Number.isInteger(Number(e)),"isInteger"),Pe=s(e=>e.endsWith("%")&&v(e.slice(0,-1)),"isPercent"),Q=s(e=>Ar.test(e),"isTshirtSize"),gt=s(()=>!0,"isAny"),kr=s(e=>Or.test(e)&&!Sr.test(e),"isLengthOnly"),Fe=s(()=>!1,"isNever"),Rr=s(e=>xr.test(e),"isShadow"),Nr=s(e=>Ir.test(e),"isImage"),Cr=s(e=>!f(e)&&!p(e),"isAnyNonArbitrary"),Dr=s(e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),"isNamedContainerQuery"),Lr=s(e=>oe(e,wt,Fe),"isArbitrarySize"),f=s(e=>pt.test(e),"isArbitraryValue"),ae=s(e=>oe(e,_t,kr),"isArbitraryLength"),it=s(e=>oe(e,zr,v),"isArbitraryNumber"),Ur=s(e=>oe(e,Tt,gt),"isArbitraryWeight"),Pr=s(e=>oe(e,Et,Fe),"isArbitraryFamilyName"),lt=s(e=>oe(e,bt,Fe),"isArbitraryPosition"),Mr=s(e=>oe(e,yt,Nr),"isArbitraryImage"),we=s(e=>oe(e,vt,Rr),"isArbitraryShadow"),p=s(e=>mt.test(e),"isArbitraryVariable"),ue=s(e=>ie(e,_t),"isArbitraryVariableLength"),Gr=s(e=>ie(e,Et),"isArbitraryVariableFamilyName"),ct=s(e=>ie(e,bt),"isArbitraryVariablePosition"),Fr=s(e=>ie(e,wt),"isArbitraryVariableSize"),Hr=s(e=>ie(e,yt),"isArbitraryVariableImage"),_e=s(e=>ie(e,vt,!0),"isArbitraryVariableShadow"),Br=s(e=>ie(e,Tt,!0),"isArbitraryVariableWeight"),oe=s((e,t,r)=>{let o=pt.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},"getIsArbitraryValue"),ie=s((e,t,r=!1)=>{let o=mt.exec(e);return o?o[1]?t(o[1]):r:!1},"getIsArbitraryVariable"),bt=s(e=>e==="position"||e==="percentage","isLabelPosition"),yt=s(e=>e==="image"||e==="url","isLabelImage"),wt=s(e=>e==="length"||e==="size"||e==="bg-size","isLabelSize"),_t=s(e=>e==="length","isLabelLength"),zr=s(e=>e==="number","isLabelNumber"),Et=s(e=>e==="family-name","isLabelFamilyName"),Tt=s(e=>e==="number"||e==="weight","isLabelWeight"),vt=s(e=>e==="shadow","isLabelShadow");var jr=s(()=>{let e=U("color"),t=U("font"),r=U("text"),o=U("font-weight"),n=U("tracking"),i=U("leading"),l=U("breakpoint"),u=U("container"),w=U("spacing"),m=U("radius"),S=U("shadow"),I=U("inset-shadow"),B=U("text-shadow"),D=U("drop-shadow"),F=U("blur"),N=U("perspective"),P=U("aspect"),H=U("ease"),M=U("animate"),J=s(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak"),Z=s(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition"),ee=s(()=>[...Z(),p,f],"scalePositionWithArbitrary"),R=s(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow"),z=s(()=>["auto","contain","none"],"scaleOverscroll"),g=s(()=>[p,f,w],"scaleUnambiguousSpacing"),G=s(()=>[re,"full","auto",...g()],"scaleInset"),a=s(()=>[K,"none","subgrid",p,f],"scaleGridTemplateColsRows"),c=s(()=>["auto",{span:["full",K,p,f]},K,p,f],"scaleGridColRowStartAndEnd"),h=s(()=>[K,"auto",p,f],"scaleGridColRowStartOrEnd"),b=s(()=>["auto","min","max","fr",p,f],"scaleGridAutoColsRows"),T=s(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis"),y=s(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis"),_=s(()=>["auto",...g()],"scaleMargin"),O=s(()=>[re,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],"scaleSizing"),A=s(()=>[u,re,"screen","full","dvw","lvw","svw","min","max","fit",...g()],"scaleSizingInline"),E=s(()=>[re,"screen","full","lh","dvh","lvh","svh","min","max","fit",...g()],"scaleSizingBlock"),d=s(()=>[e,p,f],"scaleColor"),V=s(()=>[...Z(),ct,lt,{position:[p,f]}],"scaleBgPosition"),q=s(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat"),W=s(()=>["auto","cover","contain",Fr,Lr,{size:[p,f]}],"scaleBgSize"),$=s(()=>[Pe,ue,ae],"scaleGradientStopPosition"),x=s(()=>["","none","full",m,p,f],"scaleRadius"),C=s(()=>["",v,ue,ae],"scaleBorderWidth"),j=s(()=>["solid","dashed","dotted","double"],"scaleLineStyle"),te=s(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode"),k=s(()=>[v,Pe,ct,lt],"scaleMaskImagePosition"),fe=s(()=>["","none",F,p,f],"scaleBlur"),pe=s(()=>["none",v,p,f],"scaleRotate"),me=s(()=>["none",v,p,f],"scaleScale"),Ie=s(()=>[v,p,f],"scaleSkew"),ge=s(()=>[re,"full",...g()],"scaleTranslate");return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Q],breakpoint:[Q],color:[gt],container:[Q],"drop-shadow":[Q],ease:["in","out","in-out"],font:[Cr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Q],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Q],shadow:[Q],spacing:["px",v],text:[Q],"text-shadow":[Q],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",re,f,p,P]}],container:["container"],"container-type":[{"@container":["","normal","size",p,f]}],"container-named":[Dr],columns:[{columns:[v,"auto",f,p,u]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:ee()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{"inset-s":G(),start:G()}],end:[{"inset-e":G(),end:G()}],"inset-bs":[{"inset-bs":G()}],"inset-be":[{"inset-be":G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[K,"auto",p,f]}],basis:[{basis:[re,"full","auto",u,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[v,re,"auto","initial","none",f]}],grow:[{grow:["",v,p,f]}],shrink:[{shrink:["",v,p,f]}],order:[{order:[K,"first","last","none",p,f]}],"grid-cols":[{"grid-cols":a()}],"col-start-end":[{col:c()}],"col-start":[{"col-start":h()}],"col-end":[{"col-end":h()}],"grid-rows":[{"grid-rows":a()}],"row-start-end":[{row:c()}],"row-start":[{"row-start":h()}],"row-end":[{"row-end":h()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":b()}],"auto-rows":[{"auto-rows":b()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...T(),"normal"]}],"justify-items":[{"justify-items":[...y(),"normal"]}],"justify-self":[{"justify-self":["auto",...y()]}],"align-content":[{content:["normal",...T()]}],"align-items":[{items:[...y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...y(),{baseline:["","last"]}]}],"place-content":[{"place-content":T()}],"place-items":[{"place-items":[...y(),"baseline"]}],"place-self":[{"place-self":["auto",...y()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pbs:[{pbs:g()}],pbe:[{pbe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...A()]}],"min-inline-size":[{"min-inline":["auto",...A()]}],"max-inline-size":[{"max-inline":["none",...A()]}],"block-size":[{block:["auto",...E()]}],"min-block-size":[{"min-block":["auto",...E()]}],"max-block-size":[{"max-block":["none",...E()]}],w:[{w:[u,"screen",...O()]}],"min-w":[{"min-w":[u,"screen","none",...O()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh","none",...O()]}],"font-size":[{text:["base",r,ue,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Br,Ur]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Pe,f]}],"font-family":[{font:[Gr,Pr,t]}],"font-features":[{"font-features":[f]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,p,f]}],"line-clamp":[{"line-clamp":[v,"none",p,it]}],leading:[{leading:["none",i,...g()]}],"list-image":[{"list-image":["none",p,f]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:[v,"from-font","auto",p,ae]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[v,"auto",p,f]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"tab-size":[{tab:[K,p,f]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,f]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p,f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:W()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},K,p,f],radial:["",p,f],conic:["",K,p,f]},Hr,Mr]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:x()}],"rounded-s":[{"rounded-s":x()}],"rounded-e":[{"rounded-e":x()}],"rounded-t":[{"rounded-t":x()}],"rounded-r":[{"rounded-r":x()}],"rounded-b":[{"rounded-b":x()}],"rounded-l":[{"rounded-l":x()}],"rounded-ss":[{"rounded-ss":x()}],"rounded-se":[{"rounded-se":x()}],"rounded-ee":[{"rounded-ee":x()}],"rounded-es":[{"rounded-es":x()}],"rounded-tl":[{"rounded-tl":x()}],"rounded-tr":[{"rounded-tr":x()}],"rounded-br":[{"rounded-br":x()}],"rounded-bl":[{"rounded-bl":x()}],"border-w":[{border:C()}],"border-w-x":[{"border-x":C()}],"border-w-y":[{"border-y":C()}],"border-w-s":[{"border-s":C()}],"border-w-e":[{"border-e":C()}],"border-w-bs":[{"border-bs":C()}],"border-w-be":[{"border-be":C()}],"border-w-t":[{"border-t":C()}],"border-w-r":[{"border-r":C()}],"border-w-b":[{"border-b":C()}],"border-w-l":[{"border-l":C()}],"divide-x":[{"divide-x":C()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":C()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...j(),"hidden","none"]}],"divide-style":[{divide:[...j(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-bs":[{"border-bs":d()}],"border-color-be":[{"border-be":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...j(),"none","hidden"]}],"outline-offset":[{"outline-offset":[v,p,f]}],"outline-w":[{outline:["",v,ue,ae]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","inner","none",S,_e,we]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",I,_e,we]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[v,ae]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":C()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",B,_e,we]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[v,p,f]}],"mix-blend":[{"mix-blend":[...te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[v]}],"mask-image-linear-from-pos":[{"mask-linear-from":k()}],"mask-image-linear-to-pos":[{"mask-linear-to":k()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":k()}],"mask-image-t-to-pos":[{"mask-t-to":k()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":k()}],"mask-image-r-to-pos":[{"mask-r-to":k()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":k()}],"mask-image-b-to-pos":[{"mask-b-to":k()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":k()}],"mask-image-l-to-pos":[{"mask-l-to":k()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":k()}],"mask-image-x-to-pos":[{"mask-x-to":k()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":k()}],"mask-image-y-to-pos":[{"mask-y-to":k()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[p,f]}],"mask-image-radial-from-pos":[{"mask-radial-from":k()}],"mask-image-radial-to-pos":[{"mask-radial-to":k()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Z()}],"mask-image-conic-pos":[{"mask-conic":[v]}],"mask-image-conic-from-pos":[{"mask-conic-from":k()}],"mask-image-conic-to-pos":[{"mask-conic-to":k()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:W()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,f]}],filter:[{filter:["","none",p,f]}],blur:[{blur:fe()}],brightness:[{brightness:[v,p,f]}],contrast:[{contrast:[v,p,f]}],"drop-shadow":[{"drop-shadow":["","none",D,_e,we]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",v,p,f]}],"hue-rotate":[{"hue-rotate":[v,p,f]}],invert:[{invert:["",v,p,f]}],saturate:[{saturate:[v,p,f]}],sepia:[{sepia:["",v,p,f]}],"backdrop-filter":[{"backdrop-filter":["","none",p,f]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[v,p,f]}],"backdrop-contrast":[{"backdrop-contrast":[v,p,f]}],"backdrop-grayscale":[{"backdrop-grayscale":["",v,p,f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v,p,f]}],"backdrop-invert":[{"backdrop-invert":["",v,p,f]}],"backdrop-opacity":[{"backdrop-opacity":[v,p,f]}],"backdrop-saturate":[{"backdrop-saturate":[v,p,f]}],"backdrop-sepia":[{"backdrop-sepia":["",v,p,f]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",p,f]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[v,"initial",p,f]}],ease:[{ease:["linear","initial",H,p,f]}],delay:[{delay:[v,p,f]}],animate:[{animate:["none",M,p,f]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,p,f]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:pe()}],"rotate-x":[{"rotate-x":pe()}],"rotate-y":[{"rotate-y":pe()}],"rotate-z":[{"rotate-z":pe()}],scale:[{scale:me()}],"scale-x":[{"scale-x":me()}],"scale-y":[{"scale-y":me()}],"scale-z":[{"scale-z":me()}],"scale-3d":["scale-3d"],skew:[{skew:Ie()}],"skew-x":[{"skew-x":Ie()}],"skew-y":[{"skew-y":Ie()}],transform:[{transform:[p,f,"","none","gpu","cpu"]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ge()}],"translate-x":[{"translate-x":ge()}],"translate-y":[{"translate-y":ge()}],"translate-z":[{"translate-z":ge()}],"translate-none":["translate-none"],zoom:[{zoom:[K,p,f]}],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p,f]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":d()}],"scrollbar-track-color":[{"scrollbar-track":d()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mbs":[{"scroll-mbs":g()}],"scroll-mbe":[{"scroll-mbe":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pbs":[{"scroll-pbs":g()}],"scroll-pbe":[{"scroll-pbe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p,f]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[v,ue,ae,it]}],stroke:[{stroke:["none",...d()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},"getDefaultConfig");var At=Er(jr);function $o(...e){return At(ot(e))}s($o,"m");var Dt=Ye(Rt(),1);var Y=class extends Error{static{s(this,"DateFormatError")}constructor(t,r,o){super(t),this.token=r,this.type=o||"error"}},Nt=s(e=>e<4?"short":e===4?"long":"narrow","alpha"),he=s(e=>e%2===0?"2-digit":"numeric","numeric");function Yr(e,t){switch(e.char){case"y":return{year:he(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t(`${e.desc} is not supported; falling back to year:numeric`,Y.WARNING),{year:"numeric"}}}s(Yr,"yearOptions");function Qr(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:t(`${e.desc} is not supported with width ${e.width}`);return}}s(Qr,"monthStyle");function Xr(e,t){let{char:r,desc:o,width:n}=e;if(r==="d")return he(n);t(`${o} is not supported`)}s(Xr,"dayStyle");function Jr(e,t){let{char:r,desc:o,width:n}=e;if((r==="c"||r==="e")&&n<3){let i=`Numeric value is not supported for ${o}; falling back to weekday:short`;t(i,Y.WARNING)}return Nt(n)}s(Jr,"weekdayStyle");function Zr(e){let t=he(e.width),r;switch(e.char){case"h":r="h12";break;case"H":r="h23";break;case"k":r="h24";break;case"K":r="h11";break}return r?{hour:t,hourCycle:r}:{hour:t}}s(Zr,"hourOptions");function eo(e,t){let{char:r,desc:o,width:n}=e;switch(r){case"v":case"z":return n===4?"long":"short";case"V":if(n===4)return"long";t(`${o} is not supported with width ${n}`);return;case"X":t(`${o} is not supported`);return}return"short"}s(eo,"timeZoneNameStyle");function to(e,t){switch(e.field){case"era":return{era:Nt(e.width)};case"year":return Yr(e,t);case"month":return{month:Qr(e,t)};case"day":return{day:Xr(e,t)};case"weekday":return{weekday:Jr(e,t)};case"period":return;case"hour":return Zr(e);case"min":return{minute:he(e.width)};case"sec":return{second:he(e.width)};case"tz":return{timeZoneName:eo(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}s(to,"compileOptions");function ze(e,t,r=o=>{throw o}){let o={timeZone:t},n=[];for(let i of e){let{error:l,field:u,str:w}=i;if(l){let S=new Y(l.message,i);S.stack=l.stack,r(S)}if(w){let S=`Ignoring string part: ${w}`;r(new Y(S,i,Y.WARNING))}u&&(n.indexOf(u)===-1?n.push(u):r(new Y(`Duplicate ${u} token`,i)));let m=to(i,(S,I)=>r(new Y(S,i,I)));m&&Object.assign(o,m)}return o}s(ze,"getDateFormatOptions");var ro={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},Ct=s(e=>e>="A"&&e<="Z"||e>="a"&&e<="z","isLetter");function oo(e,t){let r=e[t],o=1;for(;e[++t]===r;)++o;let n=ro[r];if(!n){let i=`The letter ${r} is not a valid field identifier`;return{char:r,error:new Error(i),width:o}}return{char:r,field:n.field,desc:n.desc,width:o}}s(oo,"readFieldToken");function so(e,t){let r=e[++t],o=2;if(r==="'")return{char:"'",str:r,width:o};for(;;){let n=e[++t];if(++o,n===void 0){let i=`Unterminated quoted literal in pattern: ${r||e}`;return{char:"'",error:new Error(i),str:r,width:o}}else if(n==="'"){if(e[++t]!=="'")return{char:"'",str:r,width:o};++o}r+=n}}s(so,"readQuotedToken");function no(e,t){let r=e[t];if(!r)return null;if(Ct(r))return oo(e,t);if(r==="'")return so(e,t);let o=r,n=1;for(;;){let i=e[++t];if(!i||Ct(i)||i==="'")return{char:r,str:o,width:n};o+=i,n+=1}}s(no,"readToken");function Ae(e){let t=[],r=0;for(;;){let o=no(e,r);if(!o)return t;t.push(o),r+=o.width}}s(Ae,"parseDateTokens");function Lt(e,t){return e.filter(r=>r.type!=="content").length?e.map(r=>{if(r.type==="content")return t(r.value);if(r.type==="octothorpe")return"#";if(r.type==="argument")return[r.arg];if(r.type==="function"){let i=r?.param?.[0];if(r.key==="date"&&i){let l=ao(i.value.trim(),u=>{throw new Error(`Unable to compile date expression: ${u.message}`)});return[r.arg,r.key,l]}return i?[r.arg,r.key,i.value.trim()]:[r.arg,r.key]}let o=r.pluralOffset,n={};return r.cases.forEach(({key:i,tokens:l})=>{let u=i[0]==="="?i.slice(1):i;n[u]=Lt(l,t)}),[r.arg,r.type,{offset:o,...n}]}):e.map(r=>t(r.value))}s(Lt,"processTokens");function ao(e,t){if(/^::/.test(e)){let r=Ae(e.substring(2));return ze(r,void 0,t)}return e}s(ao,"compileDateExpression");function io(e,t=r=>r){return Lt((0,Dt.parse)(e),t)}s(io,"compileMessageOrThrow");function Ut(e,t=r=>r){try{return io(e,t)}catch(r){return console.error(`${r.message}
23
-
24
- Message: ${e}`),[e]}}s(Ut,"compileMessage");var se=s(e=>typeof e=="string","isString"),lo=s(e=>typeof e=="function","isFunction"),Pt=new Map,Gt="en";function We(e){return[...Array.isArray(e)?e:[e],Gt]}s(We,"normalizeLocales");function $e(e,t,r){let o=We(e);r||(r="default");let n;if(typeof r=="string")switch(n={day:"numeric",month:"short",year:"numeric"},r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric";break}else n=r;return Oe(()=>Se("date",o,r),()=>new Intl.DateTimeFormat(o,n)).format(se(t)?new Date(t):t)}s($e,"date");function co(e,t,r){let o;if(r||(r="default"),typeof r=="string")switch(o={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":o.timeZoneName="short";break;case"short":delete o.second}else o=r;return $e(e,t,o)}s(co,"time");function je(e,t,r){let o=We(e);return Oe(()=>Se("number",o,r),()=>new Intl.NumberFormat(o,r)).format(t)}s(je,"number");function Mt(e,t,r,{offset:o=0,...n}){let i=We(e),l=t?Oe(()=>Se("plural-ordinal",i),()=>new Intl.PluralRules(i,{type:"ordinal"})):Oe(()=>Se("plural-cardinal",i),()=>new Intl.PluralRules(i,{type:"cardinal"}));return n[r]??n[l.select(r-o)]??n.other}s(Mt,"plural");function Oe(e,t){let r=e(),o=Pt.get(r);return o||(o=t(),Pt.set(r,o)),o}s(Oe,"getMemoized");function Se(e,t,r){let o=t.join("-");return`${e}-${o}-${JSON.stringify(r)}`}s(Se,"cacheKey");var Ft=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,Ht=s(e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,r,o)=>{if(r){let n=parseInt(r,16);return String.fromCharCode(n)}else{let n=parseInt(o,16);return String.fromCharCode(n)}}),"decodeEscapeSequences"),Bt="%__lingui_octothorpe__%",uo=s((e,t,r={})=>{let o=t||e,n=s(l=>typeof l=="object"?l:r[l],"style"),i=s((l,u)=>{let w=Object.keys(r).length?n("number"):void 0,m=je(o,l,w);return u.replace(new RegExp(Bt,"g"),m)},"replaceOctothorpe");return{plural:s((l,u)=>{let{offset:w=0}=u,m=Mt(o,!1,l,u);return i(l-w,m)},"plural"),selectordinal:s((l,u)=>{let{offset:w=0}=u,m=Mt(o,!0,l,u);return i(l-w,m)},"selectordinal"),select:ho,number:s((l,u)=>je(o,l,n(u)||{style:u}),"number"),date:s((l,u)=>$e(o,l,n(u)||u),"date"),time:s((l,u)=>co(o,l,n(u)||u),"time")}},"getDefaultFormats"),ho=s((e,t)=>(Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0)??t.other,"selectFormatter");function fo(e,t,r){return(o={},n)=>{let i=uo(t,r,n),l=s((w,m=!1)=>Array.isArray(w)?w.reduce((S,I)=>{if(I==="#"&&m)return S+Bt;if(se(I))return S+I;let[B,D,F]=I,N={};D==="plural"||D==="selectordinal"||D==="select"?Object.entries(F).forEach(([H,M])=>{N[H]=l(M,D==="plural"||D==="selectordinal")}):N=F;let P;if(D){let H=i[D];P=H(o[B],N)}else P=o[B];return P==null?S:S+P},""):w,"formatMessage"),u=l(e);return se(u)&&Ft.test(u)?Ht(u):se(u)?u:u?String(u):""}}s(fo,"interpolate");var Ve=class{static{s(this,"EventEmitter")}_events={};on(t,r){return this._events[t]??=new Set,this._events[t].add(r),()=>this.removeListener(t,r)}removeListener(t,r){let o=this._events[t];o?.delete(r),o?.size===0&&delete this._events[t]}emit(t,...r){let o=this._events[t];if(o)for(let n of[...o])n.apply(this,r)}},qe=class extends Ve{static{s(this,"I18n")}_locale="";_locales;_messages={};_missing;_messageCompiler;constructor(t){super(),t.missing!=null&&(this._missing=t.missing),t.messages!=null&&this.load(t.messages),(typeof t.locale=="string"||t.locales)&&this.activate(t.locale??Gt,t.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(t){return this._messageCompiler=t,this}_load(t,r){let o=Object.prototype.hasOwnProperty.call(this._messages,t)?this._messages[t]:void 0;o?Object.assign(o,r):this._messages[t]=r}load(t,r){typeof t=="string"&&typeof r=="object"?this._load(t,r):Object.entries(t).forEach(([o,n])=>this._load(o,n)),this.emit("change")}loadAndActivate({locale:t,locales:r,messages:o}){this._locale=t,this._locales=r||void 0,this._messages[this._locale]=o,this.emit("change")}activate(t,r){this._locale=t,this._locales=r,this.emit("change")}_(t,r,o){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let n=o?.message;t||(t=""),se(t)||(r=t.values||r,n=t.message,t=t.id);let i=this.messages,l=Object.prototype.hasOwnProperty.call(i,t)?i[t]:void 0,u=l===void 0,w=this._missing;if(w&&u)return lo(w)?w(this._locale,t):w;u&&this.emit("missing",{id:t,locale:this._locale});let m=l||n||t;return se(m)&&(this._messageCompiler?m=this._messageCompiler(m):console.warn(`Uncompiled message detected! Message:
25
-
26
- > ${m}
27
-
28
- That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
29
- ICU features such as interpolation and plurals will not work properly for that message.
30
-
31
- Please compile your catalog first.
32
- `)),se(m)&&Ft.test(m)?Ht(m):se(m)?m:fo(m,this._locale,this._locales)(r,o?.formats)}t=this._.bind(this);date(t,r){return $e(this._locales||this._locale,t,r)}number(t,r){return je(this._locales||this._locale,t,r)}};function Ke(e={}){return new qe(e)}s(Ke,"setupI18n");var ws=Ke();var xe=Ye(qt(),1);var po={},zt="en",mo={en:po},ce=new Map,go=1e4,bo=s(e=>{let t=ce.get(e);return t===void 0?(t=Ut(e),ce.size>=go&&ce.delete(ce.keys().next().value)):ce.delete(e),ce.set(e,t),t},"I"),yo=s((e=zt,t=mo)=>{let r=Ke();r.setMessagesCompiler(bo);for(let[o,n]of Object.entries(t))r.load(o,n);return r.activate(t[e]===void 0?zt:e),r},"M"),wo=yo(),_o=(0,xe.createContext)(wo),As=s(()=>{let e=(0,xe.use)(_o);return(t,r)=>e._(t,r)},"S");var Eo=s(e=>{if(typeof e=="string")return[e];if(!Array.isArray(e))return;let t=e.filter(r=>typeof r=="string");return t.length>0?t:void 0},"a"),jt=s(e=>{if(e!==void 0)return typeof e=="string"?e:e.join(`
33
- `)},"s"),To=new Set(["ADMIN_FORBIDDEN","FORBIDDEN","UNAUTHORIZED"]),Is=s((e,t,r,o,n)=>{switch(t){case"action":return e.action(r,o,n);case"mutation":return e.mutation(r,o,{...n,onlineOnly:!0});default:return e.query(r,o,n)}},"p"),ks=s(e=>({__lunoraRef:e}),"m"),Rs=s(e=>{let t=e.trim();return t===""?{}:{shardKey:t}},"h"),Ns=s(e=>e instanceof Error?e.message:String(e),"b"),vo=s(e=>{if(e===null||typeof e!="object"||!("code"in e))return;let{code:t}=e;return typeof t=="string"?t:void 0},"u"),Cs=s(e=>{let t=vo(e);return t!==void 0&&To.has(t)},"B"),Ds=s(e=>{if(typeof e=="string")return jt(ye(e));if(e===null||typeof e!="object")return;let{code:t,hint:r,message:o}=e;return jt(ye({code:typeof t=="string"?t:void 0,hint:Eo(r),message:typeof o=="string"?o:void 0}))},"w"),Ls=s(e=>{if(e===null||typeof e!="object"||!("docsUrl"in e))return;let t=e.docsUrl;if(typeof t=="string")try{let{protocol:r}=new URL(t);return r==="http:"||r==="https:"?t:void 0}catch{return}},"T"),Vt=s(e=>{if(e==null)return"\u2014";if(e<1024)return`${e.toString()} B`;let t=["KB","MB","GB","TB"],r=e/1024,o=0;for(;r>=1024&&o<t.length-1;)r/=1024,o+=1;return`${r.toFixed(1)} ${t[o]??"TB"}`},"c"),Ao=s((e,t)=>typeof t=="bigint"?t.toString():t instanceof ArrayBuffer||ArrayBuffer.isView(t)?`<bytes: ${Vt(t.byteLength)}>`:t,"d"),Us=s(e=>typeof e=="bigint"?e.toString():e,"S"),Ps=s(e=>{if(e==null)return"";switch(typeof e){case"bigint":case"boolean":case"number":return e.toString();case"string":return e;case"symbol":return e.toString();default:return e instanceof ArrayBuffer||ArrayBuffer.isView(e)?`<bytes: ${Vt(e.byteLength)}>`:JSON.stringify(e,Ao)}},"A"),Oo=s((e,t)=>{e.catch(r=>{t?.(r)})},"g"),So=s(e=>{if(e!==void 0&&e!=="")return e;let t=globalThis.location;return t?.origin!==void 0&&t.origin!==""?t.origin:"http://localhost:5173"},"l"),Ms=s(e=>{let t=So(e);for(;t.endsWith("/");)t=t.slice(0,-1);return t},"D"),Gs=s(e=>{let t="navigator"in globalThis?globalThis.navigator.clipboard:void 0;return t===void 0?!1:(Oo(t.writeText(e)),!0)},"N"),Fs=s((e,t="")=>{if(e==null||e==="")return t;let r=new Date(e);return Number.isNaN(r.getTime())?String(e):r.toLocaleString()},"O");export{Re as a,Ce as b,Jt as c,Zt as d,Qt as e,Xt as f,ot as g,$o as h,yo as i,wo as j,_o as k,As as l,Is as m,ks as n,Rs as o,Ns as p,vo as q,Cs as r,Ds as s,Ls as t,Vt as u,Ao as v,Us as w,Ps as x,Oo as y,So as z,Ms as A,Gs as B,Fs as C};
@@ -1 +0,0 @@
1
- import{a as N}from"./chunk-CZ6HBDIL.js";import{a as v,b as w,c as y,d,e as c,f as i}from"./chunk-HHRYM6UW.js";import{a as x,e as b}from"./chunk-JSDKOE4U.js";import{h as g,l as h}from"./chunk-BFE2DRP6.js";import{a,d as p,e as I,g as R}from"./chunk-OXFKZ4BM.js";var $=p(I(),1);var e=p(R(),1);var A={ERROR:"error",INFO:"info",WARN:"warning"},q=a(r=>{let n=typeof r.metadata.table=="string"?r.metadata.table:void 0;return{description:`${r.detail} ${r.remediation}`,entity:n,issueType:r.title,key:r.cacheKey,level:A[r.level]}},"z"),C=["error","warning","info"],O={error:"bg-destructive",info:"bg-info",warning:"bg-warning"},S=a((r,n)=>({error:r("Errors"),info:r("Info"),warning:r("Warnings")})[n],"$"),j=a((r,n,o)=>({error:r("{count} errors",{count:o}),info:r("{count} suggestions",{count:o}),warning:r("{count} warnings",{count:o})})[n],"k"),z=a((r,n)=>({error:r("No errors detected"),info:r("No suggestions"),warning:r("No warnings detected")})[n],"V"),F=a(r=>{let n={error:0,info:0,warning:0};for(let o of r??[])n[o.level]+=1;return n},"O"),B=a(({error:r=null,errorSource:n,rows:o,testId:l,toolbar:f})=>{let s=h(),[m,k]=(0,$.useState)("error"),T=F(o),u=(o??[]).filter(t=>t.level===m),E=a(t=>{k(t.currentTarget.dataset.level)},"h");return(0,e.jsxs)("div",{className:"flex flex-col gap-3","data-testid":l,children:[(0,e.jsx)("div",{className:"flex border-b border-border",role:"tablist",children:C.map(t=>(0,e.jsxs)("button",{"aria-selected":m===t,className:"flex min-w-32 flex-col gap-0.5 border-b-2 border-transparent px-4 py-2 text-start outline-none transition-colors hover:bg-muted/40 focus-visible:bg-muted/40 aria-selected:border-foreground","data-level":t,"data-testid":`${l}-tab-${t}`,onClick:E,role:"tab",type:"button",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-foreground",children:[(0,e.jsx)("span",{"aria-hidden":"true",className:g("size-2 rounded-sm",O[t])}),S(s,t)]}),(0,e.jsx)("span",{className:"ps-4 text-xs text-muted-foreground",children:j(s,t,T[t])})]},t))}),f!==void 0&&(0,e.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:f}),r!==null&&(0,e.jsx)(N,{error:n??r,testId:`${l}-error`}),(0,e.jsx)(x,{className:"overflow-hidden py-0",children:(0,e.jsx)(b,{className:"px-0",children:(0,e.jsxs)(v,{children:[(0,e.jsx)(w,{children:(0,e.jsxs)(d,{children:[(0,e.jsx)(c,{children:s("Issue type")}),(0,e.jsx)(c,{children:s("Entity/item")}),(0,e.jsx)(c,{children:s("Description")})]})}),(0,e.jsx)(y,{children:u.length===0?(0,e.jsx)(d,{children:(0,e.jsxs)(i,{className:"h-40 text-center align-middle text-muted-foreground",colSpan:3,"data-testid":`${l}-empty`,children:[(0,e.jsx)("span",{className:"block text-sm font-medium text-foreground",children:z(s,m)}),(0,e.jsx)("span",{className:"block text-sm",children:s("Nothing to report for this deployment.")})]})}):u.map(t=>(0,e.jsxs)(d,{children:[(0,e.jsx)(i,{className:"font-medium text-foreground",children:t.issueType}),(0,e.jsx)(i,{className:"font-mono text-xs text-muted-foreground",children:t.entity??"\u2014"}),(0,e.jsxs)(i,{className:"text-muted-foreground",children:[(0,e.jsx)("span",{children:t.description}),t.action!==void 0&&(0,e.jsx)("span",{className:"mt-1.5 flex flex-wrap items-center gap-1.5",children:t.action})]})]},t.key))})]})})})]})},"F");export{q as a,B as b};