@8wave/ai-elements 0.69.0 → 0.70.0

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 (427) hide show
  1. package/README.md +30 -5
  2. package/dist/_chunks/{PkStreamingMarkdown-C0BpOvli.js → PkStreamingMarkdown-CCD_gifi.js} +2 -2
  3. package/dist/_chunks/{PkStreamingMarkdown-C0BpOvli.js.map → PkStreamingMarkdown-CCD_gifi.js.map} +1 -1
  4. package/dist/_chunks/{PkToolShowArtifact-DzNIkKvZ.js → PkToolShowArtifact-BZ9-wuXH.js} +12 -11
  5. package/dist/_chunks/PkToolShowArtifact-BZ9-wuXH.js.map +1 -0
  6. package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js → PkToolShowCalendarEvent-BFHzjM9E.js} +2 -2
  7. package/dist/_chunks/{PkToolShowCalendarEvent-Dolb7MTf.js.map → PkToolShowCalendarEvent-BFHzjM9E.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js → PkToolShowComparison-D-cY7yXE.js} +1 -1
  9. package/dist/_chunks/{PkToolShowComparison-BWwQPM6d.js.map → PkToolShowComparison-D-cY7yXE.js.map} +1 -1
  10. package/dist/_chunks/PkToolShowContactForm-B5Zuup-c.js +2 -0
  11. package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js +1102 -0
  12. package/dist/_chunks/PkToolShowContactForm-izy_eJOv.js.map +1 -0
  13. package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js → PkToolShowEmail-BhGdH4Ig.js} +1 -1
  14. package/dist/_chunks/{PkToolShowEmail-BrBJY7Op.js.map → PkToolShowEmail-BhGdH4Ig.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js → PkToolShowImageGallery-CiN2M02m.js} +3 -3
  16. package/dist/_chunks/{PkToolShowImageGallery-dnCkJaK8.js.map → PkToolShowImageGallery-CiN2M02m.js.map} +1 -1
  17. package/dist/_chunks/PkToolShowLocation-CbaF2oBf.js +2 -0
  18. package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js +4996 -0
  19. package/dist/_chunks/PkToolShowLocation-gQtxMrSM.js.map +1 -0
  20. package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js → PkToolShowMessage-5Luc042T.js} +1 -1
  21. package/dist/_chunks/{PkToolShowMessage-D0hwYIlo.js.map → PkToolShowMessage-5Luc042T.js.map} +1 -1
  22. package/dist/_chunks/PkToolShowMultipleChoice-DgfLPaKE.js +2 -0
  23. package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js +44 -0
  24. package/dist/_chunks/PkToolShowMultipleChoice-WBsP83PW.js.map +1 -0
  25. package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js → PkToolShowProductList-BSLTdM8w.js} +2 -2
  26. package/dist/_chunks/{PkToolShowProductList-C-t2Q6vG.js.map → PkToolShowProductList-BSLTdM8w.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js → PkToolShowQrCode-DLSOtaV9.js} +1 -1
  28. package/dist/_chunks/{PkToolShowQrCode-pX-2NQ0q.js.map → PkToolShowQrCode-DLSOtaV9.js.map} +1 -1
  29. package/dist/_chunks/PkToolShowSources-BZyYFWu6.js +490 -0
  30. package/dist/_chunks/PkToolShowSources-BZyYFWu6.js.map +1 -0
  31. package/dist/_chunks/PkToolShowSources-C0Edf43F.js +2 -0
  32. package/dist/_chunks/PkToolShowSuggestedReply-CMIWzymE.js +2 -0
  33. package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js +40 -0
  34. package/dist/_chunks/PkToolShowSuggestedReply-PyXHjIMg.js.map +1 -0
  35. package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js → PkToolShowWeather-BmB6I1CQ.js} +1 -1
  36. package/dist/_chunks/{PkToolShowWeather-BlxQ4-di.js.map → PkToolShowWeather-BmB6I1CQ.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js → PkToolShowWebPages-BQEuy2SB.js} +3 -3
  38. package/dist/_chunks/{PkToolShowWebPages-CflGTyAq.js.map → PkToolShowWebPages-BQEuy2SB.js.map} +1 -1
  39. package/dist/_chunks/{PkUrl-BiCK2gUF.js → PkUrl-DbCzf0TH.js} +5 -8
  40. package/dist/_chunks/{PkUrl-BiCK2gUF.js.map → PkUrl-DbCzf0TH.js.map} +1 -1
  41. package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js → VvCheckbox.es-xoDP7xfG.js} +1 -1
  42. package/dist/_chunks/{VvCheckbox.es-BB__5AQf.js.map → VvCheckbox.es-xoDP7xfG.js.map} +1 -1
  43. package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js → VvCheckboxGroup.es-CqmkSf32.js} +1 -1
  44. package/dist/_chunks/{VvCheckboxGroup.es-B8vNssFt.js.map → VvCheckboxGroup.es-CqmkSf32.js.map} +1 -1
  45. package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js → VvCombobox.es-8c5A9J7u.js} +1 -1
  46. package/dist/_chunks/{VvCombobox.es-B3EXD0qk.js.map → VvCombobox.es-8c5A9J7u.js.map} +1 -1
  47. package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js → VvInputText.es-C3DasKVI.js} +1 -1
  48. package/dist/_chunks/{VvInputText.es-Dz2nJhHg.js.map → VvInputText.es-C3DasKVI.js.map} +1 -1
  49. package/dist/_chunks/{VvRadio.es-CBNUR8-A.js → VvRadio.es-DWCbGLSw.js} +1 -1
  50. package/dist/_chunks/{VvRadio.es-CBNUR8-A.js.map → VvRadio.es-DWCbGLSw.js.map} +1 -1
  51. package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js → VvRadioGroup.es-DeZPOSLg.js} +1 -1
  52. package/dist/_chunks/{VvRadioGroup.es-C3cxLQie.js.map → VvRadioGroup.es-DeZPOSLg.js.map} +1 -1
  53. package/dist/_chunks/{VvSelect.es-DhnVYyFM.js → VvSelect.es-Cbdxv0hL.js} +1 -1
  54. package/dist/_chunks/{VvSelect.es-DhnVYyFM.js.map → VvSelect.es-Cbdxv0hL.js.map} +1 -1
  55. package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js → VvTextarea.es-G6PqQj_w.js} +1 -1
  56. package/dist/_chunks/{VvTextarea.es-CqwOOwHn.js.map → VvTextarea.es-G6PqQj_w.js.map} +1 -1
  57. package/dist/_chunks/_plugin-vue_export-helper-C6kC663S.js +8 -0
  58. package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js +7 -0
  59. package/dist/_chunks/marker-icon-2x-B5zK5Qr3.js.map +1 -0
  60. package/dist/_chunks/marker-icon-C9YVKiza.js +7 -0
  61. package/dist/_chunks/marker-icon-C9YVKiza.js.map +1 -0
  62. package/dist/_chunks/marker-shadow-C69K8Z1K.js +7 -0
  63. package/dist/_chunks/marker-shadow-C69K8Z1K.js.map +1 -0
  64. package/dist/_chunks/schemas-BzxsvNFR.js +3117 -0
  65. package/dist/_chunks/schemas-BzxsvNFR.js.map +1 -0
  66. package/dist/_chunks/{src-BRYn66N3.js → src-B7wQQMx2.js} +1 -1
  67. package/dist/_chunks/{src-BRYn66N3.js.map → src-B7wQQMx2.js.map} +1 -1
  68. package/dist/_chunks/{useLightbox-RmU8z981.js → useLightbox-krdR1Z0n.js} +2 -2
  69. package/dist/_chunks/{useLightbox-RmU8z981.js.map → useLightbox-krdR1Z0n.js.map} +1 -1
  70. package/dist/ai-elements.es.js +7433 -12095
  71. package/dist/ai-elements.es.js.map +1 -1
  72. package/dist-vue/PkChatbot.js +1 -1
  73. package/dist-vue/PkChatbotError.js +1 -1
  74. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  75. package/dist-vue/PkChatbotFilePreview.js +1 -1
  76. package/dist-vue/PkChatbotInput.js +1 -1
  77. package/dist-vue/PkChatbotMessages.js +1 -1
  78. package/dist-vue/PkChatbotViewChat.js +1 -1
  79. package/dist-vue/PkChatbotViewConversations.js +1 -1
  80. package/dist-vue/PkChatbotViewProfile.js +1 -1
  81. package/dist-vue/_chunks/Media-COOsOMMv.js +120 -0
  82. package/dist-vue/_chunks/Media-COOsOMMv.js.map +1 -0
  83. package/dist-vue/_chunks/{PkChatbot-Cy7p5UI_.js → PkChatbot-h7EIb9Y5.js} +61 -60
  84. package/dist-vue/_chunks/{PkChatbot-Cy7p5UI_.js.map → PkChatbot-h7EIb9Y5.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js → PkChatbotError-CBQaRNse.js} +1 -1
  86. package/dist-vue/_chunks/{PkChatbotError-DOkNTDsc.js.map → PkChatbotError-CBQaRNse.js.map} +1 -1
  87. package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js +91 -0
  88. package/dist-vue/_chunks/PkChatbotFeedbackForm-C5QLJeUc.js.map +1 -0
  89. package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js → PkChatbotFilePreview-0ow1cjom.js} +2 -2
  90. package/dist-vue/_chunks/{PkChatbotFilePreview-zHYZ0F7j.js.map → PkChatbotFilePreview-0ow1cjom.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js → PkChatbotInput-DjUU_5_9.js} +3 -3
  92. package/dist-vue/_chunks/{PkChatbotInput-CXydKByS.js.map → PkChatbotInput-DjUU_5_9.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkChatbotMessages-C7-ZtU0-.js → PkChatbotMessages-DJngZXIX.js} +130 -121
  94. package/dist-vue/_chunks/PkChatbotMessages-DJngZXIX.js.map +1 -0
  95. package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js +246 -0
  96. package/dist-vue/_chunks/PkChatbotViewChat-LdHOe19w.js.map +1 -0
  97. package/dist-vue/_chunks/{PkChatbotViewConversations-Ct0TbDrg.js → PkChatbotViewConversations-BAU8tPTf.js} +4 -4
  98. package/dist-vue/_chunks/{PkChatbotViewConversations-Ct0TbDrg.js.map → PkChatbotViewConversations-BAU8tPTf.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotViewProfile-BhdCxVSX.js → PkChatbotViewProfile-B_TpBkAf.js} +2 -2
  100. package/dist-vue/_chunks/{PkChatbotViewProfile-BhdCxVSX.js.map → PkChatbotViewProfile-B_TpBkAf.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js → PkRelativeTime-ivIkVQRR.js} +1 -1
  102. package/dist-vue/_chunks/{PkRelativeTime-Bzh37jv5.js.map → PkRelativeTime-ivIkVQRR.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js → PkStreamingMarkdown-CGEZEVZF.js} +2 -2
  104. package/dist-vue/_chunks/{PkStreamingMarkdown-C-XHB63C.js.map → PkStreamingMarkdown-CGEZEVZF.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowArtifact-pTS7wzhw.js → PkToolShowArtifact-D1PnI-E1.js} +14 -13
  106. package/dist-vue/_chunks/PkToolShowArtifact-D1PnI-E1.js.map +1 -0
  107. package/dist-vue/_chunks/{PkToolShowCalendarEvent-DQ--fzwb.js → PkToolShowCalendarEvent-HiRf_hSv.js} +3 -3
  108. package/dist-vue/_chunks/{PkToolShowCalendarEvent-DQ--fzwb.js.map → PkToolShowCalendarEvent-HiRf_hSv.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkToolShowComparison-CzRUrjbP.js → PkToolShowComparison-Bll3lc1g.js} +2 -2
  110. package/dist-vue/_chunks/{PkToolShowComparison-CzRUrjbP.js.map → PkToolShowComparison-Bll3lc1g.js.map} +1 -1
  111. package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js +130 -0
  112. package/dist-vue/_chunks/PkToolShowContactForm-DQDXyNco.js.map +1 -0
  113. package/dist-vue/_chunks/{PkToolShowEmail-htn0ivwY.js → PkToolShowEmail-DzYBtaIE.js} +2 -2
  114. package/dist-vue/_chunks/{PkToolShowEmail-htn0ivwY.js.map → PkToolShowEmail-DzYBtaIE.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkToolShowImageGallery-CpU183SC.js → PkToolShowImageGallery-BQtLChsM.js} +4 -4
  116. package/dist-vue/_chunks/{PkToolShowImageGallery-CpU183SC.js.map → PkToolShowImageGallery-BQtLChsM.js.map} +1 -1
  117. package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js +148 -0
  118. package/dist-vue/_chunks/PkToolShowLocation-CaG0Txb6.js.map +1 -0
  119. package/dist-vue/_chunks/{PkToolShowMessage-DtGDm3pq.js → PkToolShowMessage-C4os87fJ.js} +2 -2
  120. package/dist-vue/_chunks/{PkToolShowMessage-DtGDm3pq.js.map → PkToolShowMessage-C4os87fJ.js.map} +1 -1
  121. package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js +45 -0
  122. package/dist-vue/_chunks/PkToolShowMultipleChoice-DB5ZvvhS.js.map +1 -0
  123. package/dist-vue/_chunks/{PkToolShowProductList-BlkUdbtV.js → PkToolShowProductList-BR14mmfl.js} +3 -3
  124. package/dist-vue/_chunks/{PkToolShowProductList-BlkUdbtV.js.map → PkToolShowProductList-BR14mmfl.js.map} +1 -1
  125. package/dist-vue/_chunks/{PkToolShowQrCode-BUyhM_MN.js → PkToolShowQrCode-CTfDrItd.js} +2 -2
  126. package/dist-vue/_chunks/{PkToolShowQrCode-BUyhM_MN.js.map → PkToolShowQrCode-CTfDrItd.js.map} +1 -1
  127. package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js +377 -0
  128. package/dist-vue/_chunks/PkToolShowSources-B_UfP0QT.js.map +1 -0
  129. package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js +40 -0
  130. package/dist-vue/_chunks/PkToolShowSuggestedReply-BVa6p4DJ.js.map +1 -0
  131. package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js → PkToolShowWeather-D3MyAnH4.js} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowWeather-iAV7Hn_J.js.map → PkToolShowWeather-D3MyAnH4.js.map} +1 -1
  133. package/dist-vue/_chunks/{PkToolShowWebPages-BQp9A4vb.js → PkToolShowWebPages-0pwK7psA.js} +4 -4
  134. package/dist-vue/_chunks/{PkToolShowWebPages-BQp9A4vb.js.map → PkToolShowWebPages-0pwK7psA.js.map} +1 -1
  135. package/dist-vue/_chunks/{PkUrl-C9annqfF.js → PkUrl-tuHTaGCy.js} +1 -1
  136. package/dist-vue/_chunks/{PkUrl-C9annqfF.js.map → PkUrl-tuHTaGCy.js.map} +1 -1
  137. package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js → ZodError-DkVfTODd.js} +1 -1
  138. package/dist-vue/_chunks/{ZodError-B3AvmUCJ.js.map → ZodError-DkVfTODd.js.map} +1 -1
  139. package/dist-vue/_chunks/{apl-Bkqrrr3v.js → apl-j-tvtpTP.js} +1 -1
  140. package/dist-vue/_chunks/{apl-Bkqrrr3v.js.map → apl-j-tvtpTP.js.map} +1 -1
  141. package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js → asciiarmor-JNKKTtQt.js} +1 -1
  142. package/dist-vue/_chunks/{asciiarmor-DMBg7NdB.js.map → asciiarmor-JNKKTtQt.js.map} +1 -1
  143. package/dist-vue/_chunks/{asn1-WRfjxqL1.js → asn1-DBQ_amwa.js} +1 -1
  144. package/dist-vue/_chunks/{asn1-WRfjxqL1.js.map → asn1-DBQ_amwa.js.map} +1 -1
  145. package/dist-vue/_chunks/{asterisk-DYv-EHWB.js → asterisk-Di3iYNR-.js} +1 -1
  146. package/dist-vue/_chunks/{asterisk-DYv-EHWB.js.map → asterisk-Di3iYNR-.js.map} +1 -1
  147. package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js → brainfuck-D8mwwQut.js} +1 -1
  148. package/dist-vue/_chunks/{brainfuck-hzOnKOH7.js.map → brainfuck-D8mwwQut.js.map} +1 -1
  149. package/dist-vue/_chunks/{clike-r66wHNGT.js → clike-I6ihTsJ5.js} +1 -1
  150. package/dist-vue/_chunks/{clike-r66wHNGT.js.map → clike-I6ihTsJ5.js.map} +1 -1
  151. package/dist-vue/_chunks/{clojure-BDb_WsAm.js → clojure-CGENQS-R.js} +1 -1
  152. package/dist-vue/_chunks/{clojure-BDb_WsAm.js.map → clojure-CGENQS-R.js.map} +1 -1
  153. package/dist-vue/_chunks/{cmake-Curqstum.js → cmake-D2jqXHLk.js} +1 -1
  154. package/dist-vue/_chunks/{cmake-Curqstum.js.map → cmake-D2jqXHLk.js.map} +1 -1
  155. package/dist-vue/_chunks/{cobol-BAx4MdII.js → cobol-Db3IHNru.js} +1 -1
  156. package/dist-vue/_chunks/{cobol-BAx4MdII.js.map → cobol-Db3IHNru.js.map} +1 -1
  157. package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js → coffeescript-B4Rd3RcP.js} +1 -1
  158. package/dist-vue/_chunks/{coffeescript-jbcF4nR3.js.map → coffeescript-B4Rd3RcP.js.map} +1 -1
  159. package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js → commonlisp-B-ehiawF.js} +1 -1
  160. package/dist-vue/_chunks/{commonlisp-BXKJxcTF.js.map → commonlisp-B-ehiawF.js.map} +1 -1
  161. package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js +521 -0
  162. package/dist-vue/_chunks/createChatbotApiClient-C520OTrB.js.map +1 -0
  163. package/dist-vue/_chunks/{crystal-Dq4io9oq.js → crystal-Bj2fwY3J.js} +1 -1
  164. package/dist-vue/_chunks/{crystal-Dq4io9oq.js.map → crystal-Bj2fwY3J.js.map} +1 -1
  165. package/dist-vue/_chunks/{css-Bd9Y1kSi.js → css-CDqbdUZS.js} +1 -1
  166. package/dist-vue/_chunks/{css-Bd9Y1kSi.js.map → css-CDqbdUZS.js.map} +1 -1
  167. package/dist-vue/_chunks/{cypher-D14rILSd.js → cypher-BPgl78lW.js} +1 -1
  168. package/dist-vue/_chunks/{cypher-D14rILSd.js.map → cypher-BPgl78lW.js.map} +1 -1
  169. package/dist-vue/_chunks/{d-B-E6YUkN.js → d-_9PAw1JO.js} +1 -1
  170. package/dist-vue/_chunks/{d-B-E6YUkN.js.map → d-_9PAw1JO.js.map} +1 -1
  171. package/dist-vue/_chunks/{diff-BPPcQvHC.js → diff-C_qwk3ek.js} +1 -1
  172. package/dist-vue/_chunks/{diff-BPPcQvHC.js.map → diff-C_qwk3ek.js.map} +1 -1
  173. package/dist-vue/_chunks/{dist-CJYiwDlx.js → dist-2RCoY9yL.js} +2 -2
  174. package/dist-vue/_chunks/{dist-CJYiwDlx.js.map → dist-2RCoY9yL.js.map} +1 -1
  175. package/dist-vue/_chunks/{dist-DEe8jwtO.js → dist-B504iqq4.js} +3 -3
  176. package/dist-vue/_chunks/{dist-DEe8jwtO.js.map → dist-B504iqq4.js.map} +1 -1
  177. package/dist-vue/_chunks/{dist-BHuX2VvC.js → dist-BbACD7ZF.js} +3 -3
  178. package/dist-vue/_chunks/{dist-BHuX2VvC.js.map → dist-BbACD7ZF.js.map} +1 -1
  179. package/dist-vue/_chunks/{dist-Bh5Q6aSI2.js → dist-BfWfkbOA.js} +2 -2
  180. package/dist-vue/_chunks/dist-BfWfkbOA.js.map +1 -0
  181. package/dist-vue/_chunks/{dist-Qq_6SbFF.js → dist-BnR5Kl9J.js} +3 -3
  182. package/dist-vue/_chunks/{dist-Qq_6SbFF.js.map → dist-BnR5Kl9J.js.map} +1 -1
  183. package/dist-vue/_chunks/{dist-KPI2eL8F.js → dist-Bx_jrcne.js} +2 -2
  184. package/dist-vue/_chunks/{dist-KPI2eL8F.js.map → dist-Bx_jrcne.js.map} +1 -1
  185. package/dist-vue/_chunks/{dist-CAXUIcdd.js → dist-C4DKJxXu.js} +4 -4
  186. package/dist-vue/_chunks/{dist-CAXUIcdd.js.map → dist-C4DKJxXu.js.map} +1 -1
  187. package/dist-vue/_chunks/{dist-CAZOa5qs2.js → dist-C9oRomIQ.js} +3 -3
  188. package/dist-vue/_chunks/dist-C9oRomIQ.js.map +1 -0
  189. package/dist-vue/_chunks/{dist-DfEAZDKB.js → dist-COvC03Xx.js} +3 -3
  190. package/dist-vue/_chunks/{dist-DfEAZDKB.js.map → dist-COvC03Xx.js.map} +1 -1
  191. package/dist-vue/_chunks/{dist-D-VT7gvP.js → dist-CwB_dFae.js} +3 -3
  192. package/dist-vue/_chunks/{dist-D-VT7gvP.js.map → dist-CwB_dFae.js.map} +1 -1
  193. package/dist-vue/_chunks/{dist-BaIe783A.js → dist-Cz8slHpf.js} +2 -2
  194. package/dist-vue/_chunks/{dist-BaIe783A.js.map → dist-Cz8slHpf.js.map} +1 -1
  195. package/dist-vue/_chunks/{dist-DV82RztV.js → dist-D-G-983p.js} +3 -3
  196. package/dist-vue/_chunks/{dist-DV82RztV.js.map → dist-D-G-983p.js.map} +1 -1
  197. package/dist-vue/_chunks/{dist-BNLIqE7O.js → dist-DGsr6BFK.js} +2 -2
  198. package/dist-vue/_chunks/{dist-BNLIqE7O.js.map → dist-DGsr6BFK.js.map} +1 -1
  199. package/dist-vue/_chunks/{dist-DMP9Xsk0.js → dist-DJFxbNlz.js} +2 -2
  200. package/dist-vue/_chunks/{dist-DMP9Xsk0.js.map → dist-DJFxbNlz.js.map} +1 -1
  201. package/dist-vue/_chunks/{dist-bUGhZmKp.js → dist-DKeYnhzh.js} +5 -5
  202. package/dist-vue/_chunks/{dist-bUGhZmKp.js.map → dist-DKeYnhzh.js.map} +1 -1
  203. package/dist-vue/_chunks/{dist--mE2E_mM.js → dist-DL84m6GA.js} +1 -1
  204. package/dist-vue/_chunks/{dist--mE2E_mM.js.map → dist-DL84m6GA.js.map} +1 -1
  205. package/dist-vue/_chunks/{dist-QbFF3eM_.js → dist-DS-IY-lt.js} +4 -4
  206. package/dist-vue/_chunks/{dist-QbFF3eM_.js.map → dist-DS-IY-lt.js.map} +1 -1
  207. package/dist-vue/_chunks/{dist-s_XUA-aw.js → dist-DZloX6N0.js} +3 -3
  208. package/dist-vue/_chunks/{dist-s_XUA-aw.js.map → dist-DZloX6N0.js.map} +1 -1
  209. package/dist-vue/_chunks/{dist-jVwgEJDw.js → dist-DapfuoOT.js} +3 -3
  210. package/dist-vue/_chunks/{dist-jVwgEJDw.js.map → dist-DapfuoOT.js.map} +1 -1
  211. package/dist-vue/_chunks/{dist-BWXfA4NS.js → dist-DmUxIVrQ.js} +5 -5
  212. package/dist-vue/_chunks/{dist-BWXfA4NS.js.map → dist-DmUxIVrQ.js.map} +1 -1
  213. package/dist-vue/_chunks/{dist-BQRG0D3Y.js → dist-LX3EryGA.js} +2 -2
  214. package/dist-vue/_chunks/{dist-BQRG0D3Y.js.map → dist-LX3EryGA.js.map} +1 -1
  215. package/dist-vue/_chunks/{dist-afJW4ohP2.js → dist-Z_cFz9nA.js} +2 -2
  216. package/dist-vue/_chunks/dist-Z_cFz9nA.js.map +1 -0
  217. package/dist-vue/_chunks/{dist-DVM_p-M1.js → dist-mJVylhvZ.js} +4 -4
  218. package/dist-vue/_chunks/{dist-DVM_p-M1.js.map → dist-mJVylhvZ.js.map} +1 -1
  219. package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js → dockerfile-nMSg2tXY.js} +2 -2
  220. package/dist-vue/_chunks/{dockerfile-CGxYmrOo.js.map → dockerfile-nMSg2tXY.js.map} +1 -1
  221. package/dist-vue/_chunks/{dtd-ztbg9nev.js → dtd-BhtRjlzo.js} +1 -1
  222. package/dist-vue/_chunks/{dtd-ztbg9nev.js.map → dtd-BhtRjlzo.js.map} +1 -1
  223. package/dist-vue/_chunks/{dylan-Do2p-AA-.js → dylan-DyLL0Sxl.js} +1 -1
  224. package/dist-vue/_chunks/{dylan-Do2p-AA-.js.map → dylan-DyLL0Sxl.js.map} +1 -1
  225. package/dist-vue/_chunks/{ebnf-ChJPn51D.js → ebnf-DcBh-k1T.js} +1 -1
  226. package/dist-vue/_chunks/{ebnf-ChJPn51D.js.map → ebnf-DcBh-k1T.js.map} +1 -1
  227. package/dist-vue/_chunks/{ecl-ztl4D9j5.js → ecl-C-A1gGx7.js} +1 -1
  228. package/dist-vue/_chunks/{ecl-ztl4D9j5.js.map → ecl-C-A1gGx7.js.map} +1 -1
  229. package/dist-vue/_chunks/{eiffel-BYAAf3D8.js → eiffel-DwgfvIBI.js} +1 -1
  230. package/dist-vue/_chunks/{eiffel-BYAAf3D8.js.map → eiffel-DwgfvIBI.js.map} +1 -1
  231. package/dist-vue/_chunks/{elm-DFquGUxW.js → elm-RPF69bOV.js} +1 -1
  232. package/dist-vue/_chunks/{elm-DFquGUxW.js.map → elm-RPF69bOV.js.map} +1 -1
  233. package/dist-vue/_chunks/{erlang-BIndT8-8.js → erlang-BvNh96Ir.js} +1 -1
  234. package/dist-vue/_chunks/{erlang-BIndT8-8.js.map → erlang-BvNh96Ir.js.map} +1 -1
  235. package/dist-vue/_chunks/{factor-DqGzyyvS.js → factor-B_mOIxzF.js} +2 -2
  236. package/dist-vue/_chunks/{factor-DqGzyyvS.js.map → factor-B_mOIxzF.js.map} +1 -1
  237. package/dist-vue/_chunks/{fcl-MTt_AC1b.js → fcl-C9ulsEA4.js} +1 -1
  238. package/dist-vue/_chunks/{fcl-MTt_AC1b.js.map → fcl-C9ulsEA4.js.map} +1 -1
  239. package/dist-vue/_chunks/{forth-BPoSoJYE.js → forth-CFaZGhGS.js} +1 -1
  240. package/dist-vue/_chunks/{forth-BPoSoJYE.js.map → forth-CFaZGhGS.js.map} +1 -1
  241. package/dist-vue/_chunks/{fortran-BmHZEBN4.js → fortran-Cjm6fEBu.js} +1 -1
  242. package/dist-vue/_chunks/{fortran-BmHZEBN4.js.map → fortran-Cjm6fEBu.js.map} +1 -1
  243. package/dist-vue/_chunks/{gas-7ZHFSr9Y.js → gas-C3adNyJH.js} +1 -1
  244. package/dist-vue/_chunks/{gas-7ZHFSr9Y.js.map → gas-C3adNyJH.js.map} +1 -1
  245. package/dist-vue/_chunks/{gherkin-DiGPpFIT.js → gherkin-DFFRCqQB.js} +1 -1
  246. package/dist-vue/_chunks/{gherkin-DiGPpFIT.js.map → gherkin-DFFRCqQB.js.map} +1 -1
  247. package/dist-vue/_chunks/{groovy-DdKIH6vq.js → groovy-BHcqGGgZ.js} +1 -1
  248. package/dist-vue/_chunks/{groovy-DdKIH6vq.js.map → groovy-BHcqGGgZ.js.map} +1 -1
  249. package/dist-vue/_chunks/{haskell-DAISwZqR.js → haskell-BB45MUCR.js} +1 -1
  250. package/dist-vue/_chunks/{haskell-DAISwZqR.js.map → haskell-BB45MUCR.js.map} +1 -1
  251. package/dist-vue/_chunks/{haxe-CcCnoX02.js → haxe-QBohTRDI.js} +1 -1
  252. package/dist-vue/_chunks/{haxe-CcCnoX02.js.map → haxe-QBohTRDI.js.map} +1 -1
  253. package/dist-vue/_chunks/{http-Dy51A1Ji.js → http-HqJENFoz.js} +1 -1
  254. package/dist-vue/_chunks/{http-Dy51A1Ji.js.map → http-HqJENFoz.js.map} +1 -1
  255. package/dist-vue/_chunks/{idl-Cf5JG3Ez.js → idl-DZZwNvlw.js} +1 -1
  256. package/dist-vue/_chunks/{idl-Cf5JG3Ez.js.map → idl-DZZwNvlw.js.map} +1 -1
  257. package/dist-vue/_chunks/index.es-CikrfdXD.js +950 -0
  258. package/dist-vue/_chunks/index.es-CikrfdXD.js.map +1 -0
  259. package/dist-vue/_chunks/{javascript-CzLVX0gM.js → javascript-C85sLH7Y.js} +1 -1
  260. package/dist-vue/_chunks/{javascript-CzLVX0gM.js.map → javascript-C85sLH7Y.js.map} +1 -1
  261. package/dist-vue/_chunks/{julia-B2PXBujh.js → julia-ChIE7-ml.js} +1 -1
  262. package/dist-vue/_chunks/{julia-B2PXBujh.js.map → julia-ChIE7-ml.js.map} +1 -1
  263. package/dist-vue/_chunks/{livescript-2I87cCXG.js → livescript-BCs3u_kv.js} +1 -1
  264. package/dist-vue/_chunks/{livescript-2I87cCXG.js.map → livescript-BCs3u_kv.js.map} +1 -1
  265. package/dist-vue/_chunks/{lua-C3mMI1er.js → lua-DzZVFmfH.js} +1 -1
  266. package/dist-vue/_chunks/{lua-C3mMI1er.js.map → lua-DzZVFmfH.js.map} +1 -1
  267. package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js → mathematica-Zz2lXOfW.js} +1 -1
  268. package/dist-vue/_chunks/{mathematica-fQn4Bu4o.js.map → mathematica-Zz2lXOfW.js.map} +1 -1
  269. package/dist-vue/_chunks/{mbox-DKAPFpEV.js → mbox-CuPDY4hp.js} +1 -1
  270. package/dist-vue/_chunks/{mbox-DKAPFpEV.js.map → mbox-CuPDY4hp.js.map} +1 -1
  271. package/dist-vue/_chunks/{mirc-BjO0qN2s.js → mirc-DwrsqNtD.js} +1 -1
  272. package/dist-vue/_chunks/{mirc-BjO0qN2s.js.map → mirc-DwrsqNtD.js.map} +1 -1
  273. package/dist-vue/_chunks/{mllike-BlZyj79n.js → mllike-76cVByXA.js} +1 -1
  274. package/dist-vue/_chunks/{mllike-BlZyj79n.js.map → mllike-76cVByXA.js.map} +1 -1
  275. package/dist-vue/_chunks/{modelica-QjIv2_JC.js → modelica-kytS8Bwg.js} +1 -1
  276. package/dist-vue/_chunks/{modelica-QjIv2_JC.js.map → modelica-kytS8Bwg.js.map} +1 -1
  277. package/dist-vue/_chunks/{mscgen-LfC5dXDe.js → mscgen-CoPuHfjN.js} +1 -1
  278. package/dist-vue/_chunks/{mscgen-LfC5dXDe.js.map → mscgen-CoPuHfjN.js.map} +1 -1
  279. package/dist-vue/_chunks/{mumps-Dv1DAXnR.js → mumps-B2uz6FeJ.js} +1 -1
  280. package/dist-vue/_chunks/{mumps-Dv1DAXnR.js.map → mumps-B2uz6FeJ.js.map} +1 -1
  281. package/dist-vue/_chunks/{nginx-3DgpfXl3.js → nginx-BSBpB1IU.js} +1 -1
  282. package/dist-vue/_chunks/{nginx-3DgpfXl3.js.map → nginx-BSBpB1IU.js.map} +1 -1
  283. package/dist-vue/_chunks/{nsis-K3Sov04-.js → nsis-R5ELJwT9.js} +2 -2
  284. package/dist-vue/_chunks/{nsis-K3Sov04-.js.map → nsis-R5ELJwT9.js.map} +1 -1
  285. package/dist-vue/_chunks/{ntriples-BEnyXf7m.js → ntriples-CAwEARBj.js} +1 -1
  286. package/dist-vue/_chunks/{ntriples-BEnyXf7m.js.map → ntriples-CAwEARBj.js.map} +1 -1
  287. package/dist-vue/_chunks/{octave-CyLDdHqN.js → octave-Ufq41PR2.js} +1 -1
  288. package/dist-vue/_chunks/{octave-CyLDdHqN.js.map → octave-Ufq41PR2.js.map} +1 -1
  289. package/dist-vue/_chunks/{oz-D5CDtCy5.js → oz-gzP8z3Q6.js} +1 -1
  290. package/dist-vue/_chunks/{oz-D5CDtCy5.js.map → oz-gzP8z3Q6.js.map} +1 -1
  291. package/dist-vue/_chunks/{pascal-BSLSyZrm.js → pascal-Ccg4lI6j.js} +1 -1
  292. package/dist-vue/_chunks/{pascal-BSLSyZrm.js.map → pascal-Ccg4lI6j.js.map} +1 -1
  293. package/dist-vue/_chunks/{perl-DBW5T0Wn.js → perl-64iNbjRD.js} +1 -1
  294. package/dist-vue/_chunks/{perl-DBW5T0Wn.js.map → perl-64iNbjRD.js.map} +1 -1
  295. package/dist-vue/_chunks/{pig-C5Bshhgj.js → pig-CsJsXnem.js} +1 -1
  296. package/dist-vue/_chunks/{pig-C5Bshhgj.js.map → pig-CsJsXnem.js.map} +1 -1
  297. package/dist-vue/_chunks/{powershell-BEB8cXp1.js → powershell-CPnsuu0v.js} +1 -1
  298. package/dist-vue/_chunks/{powershell-BEB8cXp1.js.map → powershell-CPnsuu0v.js.map} +1 -1
  299. package/dist-vue/_chunks/{properties-Dywxo8ET.js → properties-CEGInQuZ.js} +1 -1
  300. package/dist-vue/_chunks/{properties-Dywxo8ET.js.map → properties-CEGInQuZ.js.map} +1 -1
  301. package/dist-vue/_chunks/{protobuf-236BAJ7w.js → protobuf-BGU8l-K6.js} +1 -1
  302. package/dist-vue/_chunks/{protobuf-236BAJ7w.js.map → protobuf-BGU8l-K6.js.map} +1 -1
  303. package/dist-vue/_chunks/{pug-cbZddqK7.js → pug-DMZOuiBR.js} +2 -2
  304. package/dist-vue/_chunks/{pug-cbZddqK7.js.map → pug-DMZOuiBR.js.map} +1 -1
  305. package/dist-vue/_chunks/{puppet-C2NL98jI.js → puppet-CT38RAOR.js} +1 -1
  306. package/dist-vue/_chunks/{puppet-C2NL98jI.js.map → puppet-CT38RAOR.js.map} +1 -1
  307. package/dist-vue/_chunks/{python-CwQbjwek.js → python-BmpRibCQ.js} +1 -1
  308. package/dist-vue/_chunks/{python-CwQbjwek.js.map → python-BmpRibCQ.js.map} +1 -1
  309. package/dist-vue/_chunks/{q-BSTDwNDO.js → q-CtSYDlyO.js} +1 -1
  310. package/dist-vue/_chunks/{q-BSTDwNDO.js.map → q-CtSYDlyO.js.map} +1 -1
  311. package/dist-vue/_chunks/{r-DFZgsfAZ.js → r-oVGiwSoK.js} +1 -1
  312. package/dist-vue/_chunks/{r-DFZgsfAZ.js.map → r-oVGiwSoK.js.map} +1 -1
  313. package/dist-vue/_chunks/{rpm-C0LbsDPX.js → rpm-B5gOa5-q.js} +1 -1
  314. package/dist-vue/_chunks/{rpm-C0LbsDPX.js.map → rpm-B5gOa5-q.js.map} +1 -1
  315. package/dist-vue/_chunks/{ruby-Bier99ao.js → ruby-34fuN336.js} +1 -1
  316. package/dist-vue/_chunks/{ruby-Bier99ao.js.map → ruby-34fuN336.js.map} +1 -1
  317. package/dist-vue/_chunks/{sas-VrUpo2iQ.js → sas-BlnUKWuD.js} +1 -1
  318. package/dist-vue/_chunks/{sas-VrUpo2iQ.js.map → sas-BlnUKWuD.js.map} +1 -1
  319. package/dist-vue/_chunks/{scheme-D6LSF3th.js → scheme-Ba-z_mxe.js} +1 -1
  320. package/dist-vue/_chunks/{scheme-D6LSF3th.js.map → scheme-Ba-z_mxe.js.map} +1 -1
  321. package/dist-vue/_chunks/{shell-Pil6sZYj.js → shell-B-EgOeQy.js} +1 -1
  322. package/dist-vue/_chunks/{shell-Pil6sZYj.js.map → shell-B-EgOeQy.js.map} +1 -1
  323. package/dist-vue/_chunks/{sieve-BP6vUMh6.js → sieve-DsG7bfYX.js} +1 -1
  324. package/dist-vue/_chunks/{sieve-BP6vUMh6.js.map → sieve-DsG7bfYX.js.map} +1 -1
  325. package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js → simple-mode-wQYx-pPa.js} +1 -1
  326. package/dist-vue/_chunks/{simple-mode-BG7WQO3g.js.map → simple-mode-wQYx-pPa.js.map} +1 -1
  327. package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js → smalltalk-ChZvyDpP.js} +1 -1
  328. package/dist-vue/_chunks/{smalltalk-BnTD_-u6.js.map → smalltalk-ChZvyDpP.js.map} +1 -1
  329. package/dist-vue/_chunks/{solr-VuxI6OR2.js → solr-Dqcv2AYp.js} +1 -1
  330. package/dist-vue/_chunks/{solr-VuxI6OR2.js.map → solr-Dqcv2AYp.js.map} +1 -1
  331. package/dist-vue/_chunks/{sparql-7LilzgeP.js → sparql-DqMXm2dv.js} +1 -1
  332. package/dist-vue/_chunks/{sparql-7LilzgeP.js.map → sparql-DqMXm2dv.js.map} +1 -1
  333. package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js → spreadsheet-DZEh4bps.js} +1 -1
  334. package/dist-vue/_chunks/{spreadsheet-CMp1pfGY.js.map → spreadsheet-DZEh4bps.js.map} +1 -1
  335. package/dist-vue/_chunks/{sql-7pX-pbPB.js → sql-MyS5CFp1.js} +1 -1
  336. package/dist-vue/_chunks/{sql-7pX-pbPB.js.map → sql-MyS5CFp1.js.map} +1 -1
  337. package/dist-vue/_chunks/{src-DjRNH9vV.js → src-BteqqLGW.js} +1 -1
  338. package/dist-vue/_chunks/{src-DjRNH9vV.js.map → src-BteqqLGW.js.map} +1 -1
  339. package/dist-vue/_chunks/{stex-Bb7D4YTq.js → stex-CuUykOIw.js} +1 -1
  340. package/dist-vue/_chunks/{stex-Bb7D4YTq.js.map → stex-CuUykOIw.js.map} +1 -1
  341. package/dist-vue/_chunks/{stylus-DtQ7d5hI.js → stylus-BIh9GBXG.js} +1 -1
  342. package/dist-vue/_chunks/{stylus-DtQ7d5hI.js.map → stylus-BIh9GBXG.js.map} +1 -1
  343. package/dist-vue/_chunks/{swift-BUw5YtkI.js → swift-En1d22e-.js} +1 -1
  344. package/dist-vue/_chunks/{swift-BUw5YtkI.js.map → swift-En1d22e-.js.map} +1 -1
  345. package/dist-vue/_chunks/{tcl-DXJDyEhN.js → tcl-CA3XR2Sh.js} +1 -1
  346. package/dist-vue/_chunks/{tcl-DXJDyEhN.js.map → tcl-CA3XR2Sh.js.map} +1 -1
  347. package/dist-vue/_chunks/{textile-CFJlGF4J.js → textile-CKe5SU6F.js} +1 -1
  348. package/dist-vue/_chunks/{textile-CFJlGF4J.js.map → textile-CKe5SU6F.js.map} +1 -1
  349. package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js → tiddlywiki-UOzNZSPW.js} +1 -1
  350. package/dist-vue/_chunks/{tiddlywiki-BcfgI-U0.js.map → tiddlywiki-UOzNZSPW.js.map} +1 -1
  351. package/dist-vue/_chunks/{tiki-Ck3ovlwE.js → tiki-CTiuYP9v.js} +1 -1
  352. package/dist-vue/_chunks/{tiki-Ck3ovlwE.js.map → tiki-CTiuYP9v.js.map} +1 -1
  353. package/dist-vue/_chunks/{toml-Cj82erLE.js → toml-DDNufn3M.js} +1 -1
  354. package/dist-vue/_chunks/{toml-Cj82erLE.js.map → toml-DDNufn3M.js.map} +1 -1
  355. package/dist-vue/_chunks/{troff-CizaXfug.js → troff-DW8Y_3S4.js} +1 -1
  356. package/dist-vue/_chunks/{troff-CizaXfug.js.map → troff-DW8Y_3S4.js.map} +1 -1
  357. package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js → ttcn-C-DIoNCg.js} +1 -1
  358. package/dist-vue/_chunks/{ttcn-mPO-QsiQ.js.map → ttcn-C-DIoNCg.js.map} +1 -1
  359. package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js → ttcn-cfg-B4ziRnM-.js} +1 -1
  360. package/dist-vue/_chunks/{ttcn-cfg-c_AW8b7V.js.map → ttcn-cfg-B4ziRnM-.js.map} +1 -1
  361. package/dist-vue/_chunks/{turtle-BF5AsFbP.js → turtle-CARqpYpc.js} +1 -1
  362. package/dist-vue/_chunks/{turtle-BF5AsFbP.js.map → turtle-CARqpYpc.js.map} +1 -1
  363. package/dist-vue/_chunks/{useChatbotStore-ys9uGP5v.js → useChatbotStore-C9xj40sY.js} +24 -24
  364. package/dist-vue/_chunks/{useChatbotStore-ys9uGP5v.js.map → useChatbotStore-C9xj40sY.js.map} +1 -1
  365. package/dist-vue/_chunks/{useLightbox-CRpWDdlN.js → useLightbox-CsBDIq4B.js} +2 -2
  366. package/dist-vue/_chunks/{useLightbox-CRpWDdlN.js.map → useLightbox-CsBDIq4B.js.map} +1 -1
  367. package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js +15 -0
  368. package/dist-vue/_chunks/useSafeLocalStorage-C1GCM7nD.js.map +1 -0
  369. package/dist-vue/_chunks/{utils-DBd_X5-V.js → utils-D1pBqT-n.js} +2 -2
  370. package/dist-vue/_chunks/{utils-DBd_X5-V.js.map → utils-D1pBqT-n.js.map} +1 -1
  371. package/dist-vue/_chunks/{vb-CeqEYgxc.js → vb-jy9Yl8VS.js} +1 -1
  372. package/dist-vue/_chunks/{vb-CeqEYgxc.js.map → vb-jy9Yl8VS.js.map} +1 -1
  373. package/dist-vue/_chunks/{vbscript-Dy7to0l6.js → vbscript-srk6lbz5.js} +1 -1
  374. package/dist-vue/_chunks/{vbscript-Dy7to0l6.js.map → vbscript-srk6lbz5.js.map} +1 -1
  375. package/dist-vue/_chunks/{velocity-CKubdsu-.js → velocity-DYmMYLwp.js} +1 -1
  376. package/dist-vue/_chunks/{velocity-CKubdsu-.js.map → velocity-DYmMYLwp.js.map} +1 -1
  377. package/dist-vue/_chunks/{verilog-BhlfpzOZ.js → verilog-UsIZeNkB.js} +1 -1
  378. package/dist-vue/_chunks/{verilog-BhlfpzOZ.js.map → verilog-UsIZeNkB.js.map} +1 -1
  379. package/dist-vue/_chunks/{vhdl-8WXkWtGM.js → vhdl-DNCP7Bn1.js} +1 -1
  380. package/dist-vue/_chunks/{vhdl-8WXkWtGM.js.map → vhdl-DNCP7Bn1.js.map} +1 -1
  381. package/dist-vue/_chunks/{webidl-Jc36v0Y0.js → webidl-DOqqk_0y.js} +1 -1
  382. package/dist-vue/_chunks/{webidl-Jc36v0Y0.js.map → webidl-DOqqk_0y.js.map} +1 -1
  383. package/dist-vue/_chunks/{xquery-H0oz85f3.js → xquery-DJDJrmLG.js} +1 -1
  384. package/dist-vue/_chunks/{xquery-H0oz85f3.js.map → xquery-DJDJrmLG.js.map} +1 -1
  385. package/dist-vue/_chunks/{yacas-BdW11VL8.js → yacas-BSgkPzcj.js} +1 -1
  386. package/dist-vue/_chunks/{yacas-BdW11VL8.js.map → yacas-BSgkPzcj.js.map} +1 -1
  387. package/dist-vue/_chunks/{z80-GK9AbKDL.js → z80-C0-Mg9L3.js} +1 -1
  388. package/dist-vue/_chunks/{z80-GK9AbKDL.js.map → z80-C0-Mg9L3.js.map} +1 -1
  389. package/dist-vue/api.js +1 -1
  390. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +2 -1
  391. package/dist-vue/composables.js +92 -80
  392. package/dist-vue/composables.js.map +1 -1
  393. package/dist-vue/index.js +874 -857
  394. package/dist-vue/index.js.map +1 -1
  395. package/dist-vue/locales.js +1 -0
  396. package/dist-vue/packages/ability/src/types.d.ts +3 -1
  397. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +10 -3
  398. package/dist-vue/packages/components/src/chat/PkCopyBlock.d.ts +4 -2
  399. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +5 -1
  400. package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +5 -0
  401. package/dist-vue/packages/components/src/index.d.ts +2 -1
  402. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -0
  403. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  404. package/dist-vue/packages/composable/src/useSafeLocalStorage.d.ts +7 -0
  405. package/dist-vue/packages/models/src/schema/AgentEndpoint.d.ts +108 -0
  406. package/dist-vue/packages/models/src/schema/AgentEndpointLog.d.ts +48 -0
  407. package/dist-vue/packages/models/src/schema/index.d.ts +2 -0
  408. package/dist-vue/style.css +1 -1
  409. package/package.json +3 -2
  410. package/dist/_chunks/PkToolShowArtifact-DzNIkKvZ.js.map +0 -1
  411. package/dist/_chunks/PkToolShowLocation-BsBiA4jV.js +0 -134
  412. package/dist/_chunks/PkToolShowLocation-BsBiA4jV.js.map +0 -1
  413. package/dist/_chunks/vue-leaflet.es-BT-uRmMx.js +0 -1738
  414. package/dist/_chunks/vue-leaflet.es-BT-uRmMx.js.map +0 -1
  415. package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js +0 -1035
  416. package/dist-vue/_chunks/PkChatbotFeedbackForm-Dl1pWKbb.js.map +0 -1
  417. package/dist-vue/_chunks/PkChatbotMessages-C7-ZtU0-.js.map +0 -1
  418. package/dist-vue/_chunks/PkChatbotViewChat-EWotdJkz.js +0 -792
  419. package/dist-vue/_chunks/PkChatbotViewChat-EWotdJkz.js.map +0 -1
  420. package/dist-vue/_chunks/PkToolShowArtifact-pTS7wzhw.js.map +0 -1
  421. package/dist-vue/_chunks/PkToolShowLocation-DSZvW68g.js +0 -135
  422. package/dist-vue/_chunks/PkToolShowLocation-DSZvW68g.js.map +0 -1
  423. package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js +0 -630
  424. package/dist-vue/_chunks/createChatbotApiClient-BJL1_AVi.js.map +0 -1
  425. package/dist-vue/_chunks/dist-Bh5Q6aSI2.js.map +0 -1
  426. package/dist-vue/_chunks/dist-CAZOa5qs2.js.map +0 -1
  427. package/dist-vue/_chunks/dist-afJW4ohP2.js.map +0 -1
@@ -0,0 +1,3117 @@
1
+ Object.freeze({ status: "aborted" });
2
+ function e(e, t, n) {
3
+ function r(n, r) {
4
+ if (n._zod || Object.defineProperty(n, "_zod", {
5
+ value: {
6
+ def: r,
7
+ constr: o,
8
+ traits: /* @__PURE__ */ new Set()
9
+ },
10
+ enumerable: !1
11
+ }), n._zod.traits.has(e)) return;
12
+ n._zod.traits.add(e), t(n, r);
13
+ let i = o.prototype, a = Object.keys(i);
14
+ for (let e = 0; e < a.length; e++) {
15
+ let t = a[e];
16
+ t in n || (n[t] = i[t].bind(n));
17
+ }
18
+ }
19
+ let i = n?.Parent ?? Object;
20
+ class a extends i {}
21
+ Object.defineProperty(a, "name", { value: e });
22
+ function o(e) {
23
+ var t;
24
+ let i = n?.Parent ? new a() : this;
25
+ r(i, e), (t = i._zod).deferred ?? (t.deferred = []);
26
+ for (let e of i._zod.deferred) e();
27
+ return i;
28
+ }
29
+ return Object.defineProperty(o, "init", { value: r }), Object.defineProperty(o, Symbol.hasInstance, { value: (t) => n?.Parent && t instanceof n.Parent ? !0 : t?._zod?.traits?.has(e) }), Object.defineProperty(o, "name", { value: e }), o;
30
+ }
31
+ var t = class extends Error {
32
+ constructor() {
33
+ super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
34
+ }
35
+ }, n = class extends Error {
36
+ constructor(e) {
37
+ super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
38
+ }
39
+ }, r = {};
40
+ function i(e) {
41
+ return e && Object.assign(r, e), r;
42
+ }
43
+ //#endregion
44
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
45
+ function a(e) {
46
+ let t = Object.values(e).filter((e) => typeof e == "number");
47
+ return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
48
+ }
49
+ function o(e, t) {
50
+ return typeof t == "bigint" ? t.toString() : t;
51
+ }
52
+ function s(e) {
53
+ return { get value() {
54
+ {
55
+ let t = e();
56
+ return Object.defineProperty(this, "value", { value: t }), t;
57
+ }
58
+ throw Error("cached value already set");
59
+ } };
60
+ }
61
+ function c(e) {
62
+ return e == null;
63
+ }
64
+ function l(e) {
65
+ let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
66
+ return e.slice(t, n);
67
+ }
68
+ function u(e, t) {
69
+ let n = (e.toString().split(".")[1] || "").length, r = t.toString(), i = (r.split(".")[1] || "").length;
70
+ if (i === 0 && /\d?e-\d?/.test(r)) {
71
+ let e = r.match(/\d?e-(\d?)/);
72
+ e?.[1] && (i = Number.parseInt(e[1]));
73
+ }
74
+ let a = n > i ? n : i;
75
+ return Number.parseInt(e.toFixed(a).replace(".", "")) % Number.parseInt(t.toFixed(a).replace(".", "")) / 10 ** a;
76
+ }
77
+ var d = Symbol("evaluating");
78
+ function f(e, t, n) {
79
+ let r;
80
+ Object.defineProperty(e, t, {
81
+ get() {
82
+ if (r !== d) return r === void 0 && (r = d, r = n()), r;
83
+ },
84
+ set(n) {
85
+ Object.defineProperty(e, t, { value: n });
86
+ },
87
+ configurable: !0
88
+ });
89
+ }
90
+ function p(e, t, n) {
91
+ Object.defineProperty(e, t, {
92
+ value: n,
93
+ writable: !0,
94
+ enumerable: !0,
95
+ configurable: !0
96
+ });
97
+ }
98
+ function m(...e) {
99
+ let t = {};
100
+ for (let n of e) Object.assign(t, Object.getOwnPropertyDescriptors(n));
101
+ return Object.defineProperties({}, t);
102
+ }
103
+ function ee(e) {
104
+ return JSON.stringify(e);
105
+ }
106
+ function te(e) {
107
+ return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
108
+ }
109
+ var ne = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
110
+ function h(e) {
111
+ return typeof e == "object" && !!e && !Array.isArray(e);
112
+ }
113
+ var re = s(() => {
114
+ if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
115
+ try {
116
+ return Function(""), !0;
117
+ } catch {
118
+ return !1;
119
+ }
120
+ });
121
+ function g(e) {
122
+ if (h(e) === !1) return !1;
123
+ let t = e.constructor;
124
+ if (t === void 0 || typeof t != "function") return !0;
125
+ let n = t.prototype;
126
+ return !(h(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
127
+ }
128
+ function ie(e) {
129
+ return g(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
130
+ }
131
+ var ae = new Set([
132
+ "string",
133
+ "number",
134
+ "symbol"
135
+ ]);
136
+ function _(e) {
137
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
138
+ }
139
+ function v(e, t, n) {
140
+ let r = new e._zod.constr(t ?? e._zod.def);
141
+ return (!t || n?.parent) && (r._zod.parent = e), r;
142
+ }
143
+ function y(e) {
144
+ let t = e;
145
+ if (!t) return {};
146
+ if (typeof t == "string") return { error: () => t };
147
+ if (t?.message !== void 0) {
148
+ if (t?.error !== void 0) throw Error("Cannot specify both `message` and `error` params");
149
+ t.error = t.message;
150
+ }
151
+ return delete t.message, typeof t.error == "string" ? {
152
+ ...t,
153
+ error: () => t.error
154
+ } : t;
155
+ }
156
+ function oe(e) {
157
+ return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
158
+ }
159
+ var se = {
160
+ safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
161
+ int32: [-2147483648, 2147483647],
162
+ uint32: [0, 4294967295],
163
+ float32: [-34028234663852886e22, 34028234663852886e22],
164
+ float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
165
+ };
166
+ function ce(e, t) {
167
+ let n = e._zod.def, r = n.checks;
168
+ if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
169
+ return v(e, m(e._zod.def, {
170
+ get shape() {
171
+ let e = {};
172
+ for (let r in t) {
173
+ if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`);
174
+ t[r] && (e[r] = n.shape[r]);
175
+ }
176
+ return p(this, "shape", e), e;
177
+ },
178
+ checks: []
179
+ }));
180
+ }
181
+ function le(e, t) {
182
+ let n = e._zod.def, r = n.checks;
183
+ if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
184
+ return v(e, m(e._zod.def, {
185
+ get shape() {
186
+ let r = { ...e._zod.def.shape };
187
+ for (let e in t) {
188
+ if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`);
189
+ t[e] && delete r[e];
190
+ }
191
+ return p(this, "shape", r), r;
192
+ },
193
+ checks: []
194
+ }));
195
+ }
196
+ function ue(e, t) {
197
+ if (!g(t)) throw Error("Invalid input to extend: expected a plain object");
198
+ let n = e._zod.def.checks;
199
+ if (n && n.length > 0) {
200
+ let n = e._zod.def.shape;
201
+ for (let e in t) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
202
+ }
203
+ return v(e, m(e._zod.def, { get shape() {
204
+ let n = {
205
+ ...e._zod.def.shape,
206
+ ...t
207
+ };
208
+ return p(this, "shape", n), n;
209
+ } }));
210
+ }
211
+ function de(e, t) {
212
+ if (!g(t)) throw Error("Invalid input to safeExtend: expected a plain object");
213
+ return v(e, m(e._zod.def, { get shape() {
214
+ let n = {
215
+ ...e._zod.def.shape,
216
+ ...t
217
+ };
218
+ return p(this, "shape", n), n;
219
+ } }));
220
+ }
221
+ function fe(e, t) {
222
+ return v(e, m(e._zod.def, {
223
+ get shape() {
224
+ let n = {
225
+ ...e._zod.def.shape,
226
+ ...t._zod.def.shape
227
+ };
228
+ return p(this, "shape", n), n;
229
+ },
230
+ get catchall() {
231
+ return t._zod.def.catchall;
232
+ },
233
+ checks: []
234
+ }));
235
+ }
236
+ function pe(e, t, n) {
237
+ let r = t._zod.def.checks;
238
+ if (r && r.length > 0) throw Error(".partial() cannot be used on object schemas containing refinements");
239
+ return v(t, m(t._zod.def, {
240
+ get shape() {
241
+ let r = t._zod.def.shape, i = { ...r };
242
+ if (n) for (let t in n) {
243
+ if (!(t in r)) throw Error(`Unrecognized key: "${t}"`);
244
+ n[t] && (i[t] = e ? new e({
245
+ type: "optional",
246
+ innerType: r[t]
247
+ }) : r[t]);
248
+ }
249
+ else for (let t in r) i[t] = e ? new e({
250
+ type: "optional",
251
+ innerType: r[t]
252
+ }) : r[t];
253
+ return p(this, "shape", i), i;
254
+ },
255
+ checks: []
256
+ }));
257
+ }
258
+ function me(e, t, n) {
259
+ return v(t, m(t._zod.def, { get shape() {
260
+ let r = t._zod.def.shape, i = { ...r };
261
+ if (n) for (let t in n) {
262
+ if (!(t in i)) throw Error(`Unrecognized key: "${t}"`);
263
+ n[t] && (i[t] = new e({
264
+ type: "nonoptional",
265
+ innerType: r[t]
266
+ }));
267
+ }
268
+ else for (let t in r) i[t] = new e({
269
+ type: "nonoptional",
270
+ innerType: r[t]
271
+ });
272
+ return p(this, "shape", i), i;
273
+ } }));
274
+ }
275
+ function b(e, t = 0) {
276
+ if (e.aborted === !0) return !0;
277
+ for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue !== !0) return !0;
278
+ return !1;
279
+ }
280
+ function x(e, t) {
281
+ return t.map((t) => {
282
+ var n;
283
+ return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
284
+ });
285
+ }
286
+ function S(e) {
287
+ return typeof e == "string" ? e : e?.message;
288
+ }
289
+ function C(e, t, n) {
290
+ let r = {
291
+ ...e,
292
+ path: e.path ?? []
293
+ };
294
+ return e.message || (r.message = S(e.inst?._zod.def?.error?.(e)) ?? S(t?.error?.(e)) ?? S(n.customError?.(e)) ?? S(n.localeError?.(e)) ?? "Invalid input"), delete r.inst, delete r.continue, t?.reportInput || delete r.input, r;
295
+ }
296
+ function w(e) {
297
+ return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
298
+ }
299
+ function T(...e) {
300
+ let [t, n, r] = e;
301
+ return typeof t == "string" ? {
302
+ message: t,
303
+ code: "custom",
304
+ input: n,
305
+ inst: r
306
+ } : { ...t };
307
+ }
308
+ //#endregion
309
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
310
+ var he = (e, t) => {
311
+ e.name = "$ZodError", Object.defineProperty(e, "_zod", {
312
+ value: e._zod,
313
+ enumerable: !1
314
+ }), Object.defineProperty(e, "issues", {
315
+ value: t,
316
+ enumerable: !1
317
+ }), e.message = JSON.stringify(t, o, 2), Object.defineProperty(e, "toString", {
318
+ value: () => e.message,
319
+ enumerable: !1
320
+ });
321
+ }, E = e("$ZodError", he), ge = e("$ZodError", he, { Parent: Error });
322
+ function _e(e, t = (e) => e.message) {
323
+ let n = {}, r = [];
324
+ for (let i of e.issues) i.path.length > 0 ? (n[i.path[0]] = n[i.path[0]] || [], n[i.path[0]].push(t(i))) : r.push(t(i));
325
+ return {
326
+ formErrors: r,
327
+ fieldErrors: n
328
+ };
329
+ }
330
+ function ve(e, t = (e) => e.message) {
331
+ let n = { _errors: [] }, r = (e) => {
332
+ for (let i of e.issues) if (i.code === "invalid_union" && i.errors.length) i.errors.map((e) => r({ issues: e }));
333
+ else if (i.code === "invalid_key") r({ issues: i.issues });
334
+ else if (i.code === "invalid_element") r({ issues: i.issues });
335
+ else if (i.path.length === 0) n._errors.push(t(i));
336
+ else {
337
+ let e = n, r = 0;
338
+ for (; r < i.path.length;) {
339
+ let n = i.path[r];
340
+ r === i.path.length - 1 ? (e[n] = e[n] || { _errors: [] }, e[n]._errors.push(t(i))) : e[n] = e[n] || { _errors: [] }, e = e[n], r++;
341
+ }
342
+ }
343
+ };
344
+ return r(e), n;
345
+ }
346
+ //#endregion
347
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
348
+ var ye = (e) => (n, r, a, o) => {
349
+ let s = a ? Object.assign(a, { async: !1 }) : { async: !1 }, c = n._zod.run({
350
+ value: r,
351
+ issues: []
352
+ }, s);
353
+ if (c instanceof Promise) throw new t();
354
+ if (c.issues.length) {
355
+ let t = new (o?.Err ?? e)(c.issues.map((e) => C(e, s, i())));
356
+ throw ne(t, o?.callee), t;
357
+ }
358
+ return c.value;
359
+ }, D = (e) => async (t, n, r, a) => {
360
+ let o = r ? Object.assign(r, { async: !0 }) : { async: !0 }, s = t._zod.run({
361
+ value: n,
362
+ issues: []
363
+ }, o);
364
+ if (s instanceof Promise && (s = await s), s.issues.length) {
365
+ let t = new (a?.Err ?? e)(s.issues.map((e) => C(e, o, i())));
366
+ throw ne(t, a?.callee), t;
367
+ }
368
+ return s.value;
369
+ }, O = (e) => (n, r, a) => {
370
+ let o = a ? {
371
+ ...a,
372
+ async: !1
373
+ } : { async: !1 }, s = n._zod.run({
374
+ value: r,
375
+ issues: []
376
+ }, o);
377
+ if (s instanceof Promise) throw new t();
378
+ return s.issues.length ? {
379
+ success: !1,
380
+ error: new (e ?? E)(s.issues.map((e) => C(e, o, i())))
381
+ } : {
382
+ success: !0,
383
+ data: s.value
384
+ };
385
+ }, be = /* @__PURE__ */ O(ge), k = (e) => async (t, n, r) => {
386
+ let a = r ? Object.assign(r, { async: !0 }) : { async: !0 }, o = t._zod.run({
387
+ value: n,
388
+ issues: []
389
+ }, a);
390
+ return o instanceof Promise && (o = await o), o.issues.length ? {
391
+ success: !1,
392
+ error: new e(o.issues.map((e) => C(e, a, i())))
393
+ } : {
394
+ success: !0,
395
+ data: o.value
396
+ };
397
+ }, xe = /* @__PURE__ */ k(ge), Se = (e) => (t, n, r) => {
398
+ let i = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
399
+ return ye(e)(t, n, i);
400
+ }, Ce = (e) => (t, n, r) => ye(e)(t, n, r), we = (e) => async (t, n, r) => {
401
+ let i = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
402
+ return D(e)(t, n, i);
403
+ }, Te = (e) => async (t, n, r) => D(e)(t, n, r), Ee = (e) => (t, n, r) => {
404
+ let i = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
405
+ return O(e)(t, n, i);
406
+ }, De = (e) => (t, n, r) => O(e)(t, n, r), Oe = (e) => async (t, n, r) => {
407
+ let i = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
408
+ return k(e)(t, n, i);
409
+ }, ke = (e) => async (t, n, r) => k(e)(t, n, r), Ae = /^[cC][^\s-]{8,}$/, je = /^[0-9a-z]+$/, Me = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Ne = /^[0-9a-vA-V]{20}$/, Pe = /^[A-Za-z0-9]{27}$/, Fe = /^[a-zA-Z0-9_-]{21}$/, Ie = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Le = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Re = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, ze = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Be = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
410
+ function Ve() {
411
+ return new RegExp(Be, "u");
412
+ }
413
+ var He = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Ue = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, We = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Ge = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Ke = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, qe = /^[A-Za-z0-9_-]*$/, Je = /^\+[1-9]\d{6,14}$/, Ye = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Xe = /* @__PURE__ */ RegExp(`^${Ye}$`);
414
+ function Ze(e) {
415
+ let t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
416
+ return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
417
+ }
418
+ function Qe(e) {
419
+ return RegExp(`^${Ze(e)}$`);
420
+ }
421
+ function $e(e) {
422
+ let t = Ze({ precision: e.precision }), n = ["Z"];
423
+ e.local && n.push(""), e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
424
+ let r = `${t}(?:${n.join("|")})`;
425
+ return RegExp(`^${Ye}T(?:${r})$`);
426
+ }
427
+ var et = (e) => {
428
+ let t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
429
+ return RegExp(`^${t}$`);
430
+ }, tt = /^-?\d+$/, nt = /^-?\d+(?:\.\d+)?$/, rt = /^(?:true|false)$/i, it = /^null$/i, at = /^[^A-Z]*$/, ot = /^[^a-z]*$/, A = /* @__PURE__ */ e("$ZodCheck", (e, t) => {
431
+ var n;
432
+ e._zod ??= {}, e._zod.def = t, (n = e._zod).onattach ?? (n.onattach = []);
433
+ }), st = {
434
+ number: "number",
435
+ bigint: "bigint",
436
+ object: "date"
437
+ }, ct = /* @__PURE__ */ e("$ZodCheckLessThan", (e, t) => {
438
+ A.init(e, t);
439
+ let n = st[typeof t.value];
440
+ e._zod.onattach.push((e) => {
441
+ let n = e._zod.bag, r = (t.inclusive ? n.maximum : n.exclusiveMaximum) ?? Infinity;
442
+ t.value < r && (t.inclusive ? n.maximum = t.value : n.exclusiveMaximum = t.value);
443
+ }), e._zod.check = (r) => {
444
+ (t.inclusive ? r.value <= t.value : r.value < t.value) || r.issues.push({
445
+ origin: n,
446
+ code: "too_big",
447
+ maximum: typeof t.value == "object" ? t.value.getTime() : t.value,
448
+ input: r.value,
449
+ inclusive: t.inclusive,
450
+ inst: e,
451
+ continue: !t.abort
452
+ });
453
+ };
454
+ }), lt = /* @__PURE__ */ e("$ZodCheckGreaterThan", (e, t) => {
455
+ A.init(e, t);
456
+ let n = st[typeof t.value];
457
+ e._zod.onattach.push((e) => {
458
+ let n = e._zod.bag, r = (t.inclusive ? n.minimum : n.exclusiveMinimum) ?? -Infinity;
459
+ t.value > r && (t.inclusive ? n.minimum = t.value : n.exclusiveMinimum = t.value);
460
+ }), e._zod.check = (r) => {
461
+ (t.inclusive ? r.value >= t.value : r.value > t.value) || r.issues.push({
462
+ origin: n,
463
+ code: "too_small",
464
+ minimum: typeof t.value == "object" ? t.value.getTime() : t.value,
465
+ input: r.value,
466
+ inclusive: t.inclusive,
467
+ inst: e,
468
+ continue: !t.abort
469
+ });
470
+ };
471
+ }), ut = /* @__PURE__ */ e("$ZodCheckMultipleOf", (e, t) => {
472
+ A.init(e, t), e._zod.onattach.push((e) => {
473
+ var n;
474
+ (n = e._zod.bag).multipleOf ?? (n.multipleOf = t.value);
475
+ }), e._zod.check = (n) => {
476
+ if (typeof n.value != typeof t.value) throw Error("Cannot mix number and bigint in multiple_of check.");
477
+ (typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : u(n.value, t.value) === 0) || n.issues.push({
478
+ origin: typeof n.value,
479
+ code: "not_multiple_of",
480
+ divisor: t.value,
481
+ input: n.value,
482
+ inst: e,
483
+ continue: !t.abort
484
+ });
485
+ };
486
+ }), dt = /* @__PURE__ */ e("$ZodCheckNumberFormat", (e, t) => {
487
+ A.init(e, t), t.format = t.format || "float64";
488
+ let n = t.format?.includes("int"), r = n ? "int" : "number", [i, a] = se[t.format];
489
+ e._zod.onattach.push((e) => {
490
+ let r = e._zod.bag;
491
+ r.format = t.format, r.minimum = i, r.maximum = a, n && (r.pattern = tt);
492
+ }), e._zod.check = (o) => {
493
+ let s = o.value;
494
+ if (n) {
495
+ if (!Number.isInteger(s)) {
496
+ o.issues.push({
497
+ expected: r,
498
+ format: t.format,
499
+ code: "invalid_type",
500
+ continue: !1,
501
+ input: s,
502
+ inst: e
503
+ });
504
+ return;
505
+ }
506
+ if (!Number.isSafeInteger(s)) {
507
+ s > 0 ? o.issues.push({
508
+ input: s,
509
+ code: "too_big",
510
+ maximum: 2 ** 53 - 1,
511
+ note: "Integers must be within the safe integer range.",
512
+ inst: e,
513
+ origin: r,
514
+ inclusive: !0,
515
+ continue: !t.abort
516
+ }) : o.issues.push({
517
+ input: s,
518
+ code: "too_small",
519
+ minimum: -(2 ** 53 - 1),
520
+ note: "Integers must be within the safe integer range.",
521
+ inst: e,
522
+ origin: r,
523
+ inclusive: !0,
524
+ continue: !t.abort
525
+ });
526
+ return;
527
+ }
528
+ }
529
+ s < i && o.issues.push({
530
+ origin: "number",
531
+ input: s,
532
+ code: "too_small",
533
+ minimum: i,
534
+ inclusive: !0,
535
+ inst: e,
536
+ continue: !t.abort
537
+ }), s > a && o.issues.push({
538
+ origin: "number",
539
+ input: s,
540
+ code: "too_big",
541
+ maximum: a,
542
+ inclusive: !0,
543
+ inst: e,
544
+ continue: !t.abort
545
+ });
546
+ };
547
+ }), ft = /* @__PURE__ */ e("$ZodCheckMaxLength", (e, t) => {
548
+ var n;
549
+ A.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
550
+ let t = e.value;
551
+ return !c(t) && t.length !== void 0;
552
+ }), e._zod.onattach.push((e) => {
553
+ let n = e._zod.bag.maximum ?? Infinity;
554
+ t.maximum < n && (e._zod.bag.maximum = t.maximum);
555
+ }), e._zod.check = (n) => {
556
+ let r = n.value;
557
+ if (r.length <= t.maximum) return;
558
+ let i = w(r);
559
+ n.issues.push({
560
+ origin: i,
561
+ code: "too_big",
562
+ maximum: t.maximum,
563
+ inclusive: !0,
564
+ input: r,
565
+ inst: e,
566
+ continue: !t.abort
567
+ });
568
+ };
569
+ }), pt = /* @__PURE__ */ e("$ZodCheckMinLength", (e, t) => {
570
+ var n;
571
+ A.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
572
+ let t = e.value;
573
+ return !c(t) && t.length !== void 0;
574
+ }), e._zod.onattach.push((e) => {
575
+ let n = e._zod.bag.minimum ?? -Infinity;
576
+ t.minimum > n && (e._zod.bag.minimum = t.minimum);
577
+ }), e._zod.check = (n) => {
578
+ let r = n.value;
579
+ if (r.length >= t.minimum) return;
580
+ let i = w(r);
581
+ n.issues.push({
582
+ origin: i,
583
+ code: "too_small",
584
+ minimum: t.minimum,
585
+ inclusive: !0,
586
+ input: r,
587
+ inst: e,
588
+ continue: !t.abort
589
+ });
590
+ };
591
+ }), mt = /* @__PURE__ */ e("$ZodCheckLengthEquals", (e, t) => {
592
+ var n;
593
+ A.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
594
+ let t = e.value;
595
+ return !c(t) && t.length !== void 0;
596
+ }), e._zod.onattach.push((e) => {
597
+ let n = e._zod.bag;
598
+ n.minimum = t.length, n.maximum = t.length, n.length = t.length;
599
+ }), e._zod.check = (n) => {
600
+ let r = n.value, i = r.length;
601
+ if (i === t.length) return;
602
+ let a = w(r), o = i > t.length;
603
+ n.issues.push({
604
+ origin: a,
605
+ ...o ? {
606
+ code: "too_big",
607
+ maximum: t.length
608
+ } : {
609
+ code: "too_small",
610
+ minimum: t.length
611
+ },
612
+ inclusive: !0,
613
+ exact: !0,
614
+ input: n.value,
615
+ inst: e,
616
+ continue: !t.abort
617
+ });
618
+ };
619
+ }), j = /* @__PURE__ */ e("$ZodCheckStringFormat", (e, t) => {
620
+ var n, r;
621
+ A.init(e, t), e._zod.onattach.push((e) => {
622
+ let n = e._zod.bag;
623
+ n.format = t.format, t.pattern && (n.patterns ??= /* @__PURE__ */ new Set(), n.patterns.add(t.pattern));
624
+ }), t.pattern ? (n = e._zod).check ?? (n.check = (n) => {
625
+ t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
626
+ origin: "string",
627
+ code: "invalid_format",
628
+ format: t.format,
629
+ input: n.value,
630
+ ...t.pattern ? { pattern: t.pattern.toString() } : {},
631
+ inst: e,
632
+ continue: !t.abort
633
+ });
634
+ }) : (r = e._zod).check ?? (r.check = () => {});
635
+ }), ht = /* @__PURE__ */ e("$ZodCheckRegex", (e, t) => {
636
+ j.init(e, t), e._zod.check = (n) => {
637
+ t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
638
+ origin: "string",
639
+ code: "invalid_format",
640
+ format: "regex",
641
+ input: n.value,
642
+ pattern: t.pattern.toString(),
643
+ inst: e,
644
+ continue: !t.abort
645
+ });
646
+ };
647
+ }), gt = /* @__PURE__ */ e("$ZodCheckLowerCase", (e, t) => {
648
+ t.pattern ??= at, j.init(e, t);
649
+ }), _t = /* @__PURE__ */ e("$ZodCheckUpperCase", (e, t) => {
650
+ t.pattern ??= ot, j.init(e, t);
651
+ }), vt = /* @__PURE__ */ e("$ZodCheckIncludes", (e, t) => {
652
+ A.init(e, t);
653
+ let n = _(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
654
+ t.pattern = r, e._zod.onattach.push((e) => {
655
+ let t = e._zod.bag;
656
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(r);
657
+ }), e._zod.check = (n) => {
658
+ n.value.includes(t.includes, t.position) || n.issues.push({
659
+ origin: "string",
660
+ code: "invalid_format",
661
+ format: "includes",
662
+ includes: t.includes,
663
+ input: n.value,
664
+ inst: e,
665
+ continue: !t.abort
666
+ });
667
+ };
668
+ }), yt = /* @__PURE__ */ e("$ZodCheckStartsWith", (e, t) => {
669
+ A.init(e, t);
670
+ let n = RegExp(`^${_(t.prefix)}.*`);
671
+ t.pattern ??= n, e._zod.onattach.push((e) => {
672
+ let t = e._zod.bag;
673
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
674
+ }), e._zod.check = (n) => {
675
+ n.value.startsWith(t.prefix) || n.issues.push({
676
+ origin: "string",
677
+ code: "invalid_format",
678
+ format: "starts_with",
679
+ prefix: t.prefix,
680
+ input: n.value,
681
+ inst: e,
682
+ continue: !t.abort
683
+ });
684
+ };
685
+ }), bt = /* @__PURE__ */ e("$ZodCheckEndsWith", (e, t) => {
686
+ A.init(e, t);
687
+ let n = RegExp(`.*${_(t.suffix)}$`);
688
+ t.pattern ??= n, e._zod.onattach.push((e) => {
689
+ let t = e._zod.bag;
690
+ t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
691
+ }), e._zod.check = (n) => {
692
+ n.value.endsWith(t.suffix) || n.issues.push({
693
+ origin: "string",
694
+ code: "invalid_format",
695
+ format: "ends_with",
696
+ suffix: t.suffix,
697
+ input: n.value,
698
+ inst: e,
699
+ continue: !t.abort
700
+ });
701
+ };
702
+ }), xt = /* @__PURE__ */ e("$ZodCheckOverwrite", (e, t) => {
703
+ A.init(e, t), e._zod.check = (e) => {
704
+ e.value = t.tx(e.value);
705
+ };
706
+ }), St = class {
707
+ constructor(e = []) {
708
+ this.content = [], this.indent = 0, this && (this.args = e);
709
+ }
710
+ indented(e) {
711
+ this.indent += 1, e(this), --this.indent;
712
+ }
713
+ write(e) {
714
+ if (typeof e == "function") {
715
+ e(this, { execution: "sync" }), e(this, { execution: "async" });
716
+ return;
717
+ }
718
+ let t = e.split("\n").filter((e) => e), n = Math.min(...t.map((e) => e.length - e.trimStart().length)), r = t.map((e) => e.slice(n)).map((e) => " ".repeat(this.indent * 2) + e);
719
+ for (let e of r) this.content.push(e);
720
+ }
721
+ compile() {
722
+ let e = Function, t = this?.args, n = [...(this?.content ?? [""]).map((e) => ` ${e}`)];
723
+ return new e(...t, n.join("\n"));
724
+ }
725
+ }, Ct = {
726
+ major: 4,
727
+ minor: 3,
728
+ patch: 6
729
+ }, M = /* @__PURE__ */ e("$ZodType", (e, n) => {
730
+ var r;
731
+ e ??= {}, e._zod.def = n, e._zod.bag = e._zod.bag || {}, e._zod.version = Ct;
732
+ let i = [...e._zod.def.checks ?? []];
733
+ e._zod.traits.has("$ZodCheck") && i.unshift(e);
734
+ for (let t of i) for (let n of t._zod.onattach) n(e);
735
+ if (i.length === 0) (r = e._zod).deferred ?? (r.deferred = []), e._zod.deferred?.push(() => {
736
+ e._zod.run = e._zod.parse;
737
+ });
738
+ else {
739
+ let n = (e, n, r) => {
740
+ let i = b(e), a;
741
+ for (let o of n) {
742
+ if (o._zod.def.when) {
743
+ if (!o._zod.def.when(e)) continue;
744
+ } else if (i) continue;
745
+ let n = e.issues.length, s = o._zod.check(e);
746
+ if (s instanceof Promise && r?.async === !1) throw new t();
747
+ if (a || s instanceof Promise) a = (a ?? Promise.resolve()).then(async () => {
748
+ await s, e.issues.length !== n && (i ||= b(e, n));
749
+ });
750
+ else {
751
+ if (e.issues.length === n) continue;
752
+ i ||= b(e, n);
753
+ }
754
+ }
755
+ return a ? a.then(() => e) : e;
756
+ }, r = (r, a, o) => {
757
+ if (b(r)) return r.aborted = !0, r;
758
+ let s = n(a, i, o);
759
+ if (s instanceof Promise) {
760
+ if (o.async === !1) throw new t();
761
+ return s.then((t) => e._zod.parse(t, o));
762
+ }
763
+ return e._zod.parse(s, o);
764
+ };
765
+ e._zod.run = (a, o) => {
766
+ if (o.skipChecks) return e._zod.parse(a, o);
767
+ if (o.direction === "backward") {
768
+ let t = e._zod.parse({
769
+ value: a.value,
770
+ issues: []
771
+ }, {
772
+ ...o,
773
+ skipChecks: !0
774
+ });
775
+ return t instanceof Promise ? t.then((e) => r(e, a, o)) : r(t, a, o);
776
+ }
777
+ let s = e._zod.parse(a, o);
778
+ if (s instanceof Promise) {
779
+ if (o.async === !1) throw new t();
780
+ return s.then((e) => n(e, i, o));
781
+ }
782
+ return n(s, i, o);
783
+ };
784
+ }
785
+ f(e, "~standard", () => ({
786
+ validate: (t) => {
787
+ try {
788
+ let n = be(e, t);
789
+ return n.success ? { value: n.data } : { issues: n.error?.issues };
790
+ } catch {
791
+ return xe(e, t).then((e) => e.success ? { value: e.data } : { issues: e.error?.issues });
792
+ }
793
+ },
794
+ vendor: "zod",
795
+ version: 1
796
+ }));
797
+ }), N = /* @__PURE__ */ e("$ZodString", (e, t) => {
798
+ M.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? et(e._zod.bag), e._zod.parse = (n, r) => {
799
+ if (t.coerce) try {
800
+ n.value = String(n.value);
801
+ } catch {}
802
+ return typeof n.value == "string" || n.issues.push({
803
+ expected: "string",
804
+ code: "invalid_type",
805
+ input: n.value,
806
+ inst: e
807
+ }), n;
808
+ };
809
+ }), P = /* @__PURE__ */ e("$ZodStringFormat", (e, t) => {
810
+ j.init(e, t), N.init(e, t);
811
+ }), wt = /* @__PURE__ */ e("$ZodGUID", (e, t) => {
812
+ t.pattern ??= Le, P.init(e, t);
813
+ }), Tt = /* @__PURE__ */ e("$ZodUUID", (e, t) => {
814
+ if (t.version) {
815
+ let e = {
816
+ v1: 1,
817
+ v2: 2,
818
+ v3: 3,
819
+ v4: 4,
820
+ v5: 5,
821
+ v6: 6,
822
+ v7: 7,
823
+ v8: 8
824
+ }[t.version];
825
+ if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`);
826
+ t.pattern ??= Re(e);
827
+ } else t.pattern ??= Re();
828
+ P.init(e, t);
829
+ }), Et = /* @__PURE__ */ e("$ZodEmail", (e, t) => {
830
+ t.pattern ??= ze, P.init(e, t);
831
+ }), Dt = /* @__PURE__ */ e("$ZodURL", (e, t) => {
832
+ P.init(e, t), e._zod.check = (n) => {
833
+ try {
834
+ let r = n.value.trim(), i = new URL(r);
835
+ t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(i.hostname) || n.issues.push({
836
+ code: "invalid_format",
837
+ format: "url",
838
+ note: "Invalid hostname",
839
+ pattern: t.hostname.source,
840
+ input: n.value,
841
+ inst: e,
842
+ continue: !t.abort
843
+ })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(i.protocol.endsWith(":") ? i.protocol.slice(0, -1) : i.protocol) || n.issues.push({
844
+ code: "invalid_format",
845
+ format: "url",
846
+ note: "Invalid protocol",
847
+ pattern: t.protocol.source,
848
+ input: n.value,
849
+ inst: e,
850
+ continue: !t.abort
851
+ })), t.normalize ? n.value = i.href : n.value = r;
852
+ return;
853
+ } catch {
854
+ n.issues.push({
855
+ code: "invalid_format",
856
+ format: "url",
857
+ input: n.value,
858
+ inst: e,
859
+ continue: !t.abort
860
+ });
861
+ }
862
+ };
863
+ }), Ot = /* @__PURE__ */ e("$ZodEmoji", (e, t) => {
864
+ t.pattern ??= Ve(), P.init(e, t);
865
+ }), kt = /* @__PURE__ */ e("$ZodNanoID", (e, t) => {
866
+ t.pattern ??= Fe, P.init(e, t);
867
+ }), At = /* @__PURE__ */ e("$ZodCUID", (e, t) => {
868
+ t.pattern ??= Ae, P.init(e, t);
869
+ }), jt = /* @__PURE__ */ e("$ZodCUID2", (e, t) => {
870
+ t.pattern ??= je, P.init(e, t);
871
+ }), Mt = /* @__PURE__ */ e("$ZodULID", (e, t) => {
872
+ t.pattern ??= Me, P.init(e, t);
873
+ }), Nt = /* @__PURE__ */ e("$ZodXID", (e, t) => {
874
+ t.pattern ??= Ne, P.init(e, t);
875
+ }), Pt = /* @__PURE__ */ e("$ZodKSUID", (e, t) => {
876
+ t.pattern ??= Pe, P.init(e, t);
877
+ }), Ft = /* @__PURE__ */ e("$ZodISODateTime", (e, t) => {
878
+ t.pattern ??= $e(t), P.init(e, t);
879
+ }), It = /* @__PURE__ */ e("$ZodISODate", (e, t) => {
880
+ t.pattern ??= Xe, P.init(e, t);
881
+ }), Lt = /* @__PURE__ */ e("$ZodISOTime", (e, t) => {
882
+ t.pattern ??= Qe(t), P.init(e, t);
883
+ }), Rt = /* @__PURE__ */ e("$ZodISODuration", (e, t) => {
884
+ t.pattern ??= Ie, P.init(e, t);
885
+ }), zt = /* @__PURE__ */ e("$ZodIPv4", (e, t) => {
886
+ t.pattern ??= He, P.init(e, t), e._zod.bag.format = "ipv4";
887
+ }), Bt = /* @__PURE__ */ e("$ZodIPv6", (e, t) => {
888
+ t.pattern ??= Ue, P.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
889
+ try {
890
+ new URL(`http://[${n.value}]`);
891
+ } catch {
892
+ n.issues.push({
893
+ code: "invalid_format",
894
+ format: "ipv6",
895
+ input: n.value,
896
+ inst: e,
897
+ continue: !t.abort
898
+ });
899
+ }
900
+ };
901
+ }), Vt = /* @__PURE__ */ e("$ZodCIDRv4", (e, t) => {
902
+ t.pattern ??= We, P.init(e, t);
903
+ }), Ht = /* @__PURE__ */ e("$ZodCIDRv6", (e, t) => {
904
+ t.pattern ??= Ge, P.init(e, t), e._zod.check = (n) => {
905
+ let r = n.value.split("/");
906
+ try {
907
+ if (r.length !== 2) throw Error();
908
+ let [e, t] = r;
909
+ if (!t) throw Error();
910
+ let n = Number(t);
911
+ if (`${n}` !== t || n < 0 || n > 128) throw Error();
912
+ new URL(`http://[${e}]`);
913
+ } catch {
914
+ n.issues.push({
915
+ code: "invalid_format",
916
+ format: "cidrv6",
917
+ input: n.value,
918
+ inst: e,
919
+ continue: !t.abort
920
+ });
921
+ }
922
+ };
923
+ });
924
+ function Ut(e) {
925
+ if (e === "") return !0;
926
+ if (e.length % 4 != 0) return !1;
927
+ try {
928
+ return atob(e), !0;
929
+ } catch {
930
+ return !1;
931
+ }
932
+ }
933
+ var Wt = /* @__PURE__ */ e("$ZodBase64", (e, t) => {
934
+ t.pattern ??= Ke, P.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
935
+ Ut(n.value) || n.issues.push({
936
+ code: "invalid_format",
937
+ format: "base64",
938
+ input: n.value,
939
+ inst: e,
940
+ continue: !t.abort
941
+ });
942
+ };
943
+ });
944
+ function Gt(e) {
945
+ if (!qe.test(e)) return !1;
946
+ let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/");
947
+ return Ut(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
948
+ }
949
+ var Kt = /* @__PURE__ */ e("$ZodBase64URL", (e, t) => {
950
+ t.pattern ??= qe, P.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
951
+ Gt(n.value) || n.issues.push({
952
+ code: "invalid_format",
953
+ format: "base64url",
954
+ input: n.value,
955
+ inst: e,
956
+ continue: !t.abort
957
+ });
958
+ };
959
+ }), qt = /* @__PURE__ */ e("$ZodE164", (e, t) => {
960
+ t.pattern ??= Je, P.init(e, t);
961
+ });
962
+ function Jt(e, t = null) {
963
+ try {
964
+ let n = e.split(".");
965
+ if (n.length !== 3) return !1;
966
+ let [r] = n;
967
+ if (!r) return !1;
968
+ let i = JSON.parse(atob(r));
969
+ return !("typ" in i && i?.typ !== "JWT" || !i.alg || t && (!("alg" in i) || i.alg !== t));
970
+ } catch {
971
+ return !1;
972
+ }
973
+ }
974
+ var Yt = /* @__PURE__ */ e("$ZodJWT", (e, t) => {
975
+ P.init(e, t), e._zod.check = (n) => {
976
+ Jt(n.value, t.alg) || n.issues.push({
977
+ code: "invalid_format",
978
+ format: "jwt",
979
+ input: n.value,
980
+ inst: e,
981
+ continue: !t.abort
982
+ });
983
+ };
984
+ }), Xt = /* @__PURE__ */ e("$ZodNumber", (e, t) => {
985
+ M.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? nt, e._zod.parse = (n, r) => {
986
+ if (t.coerce) try {
987
+ n.value = Number(n.value);
988
+ } catch {}
989
+ let i = n.value;
990
+ if (typeof i == "number" && !Number.isNaN(i) && Number.isFinite(i)) return n;
991
+ let a = typeof i == "number" ? Number.isNaN(i) ? "NaN" : Number.isFinite(i) ? void 0 : "Infinity" : void 0;
992
+ return n.issues.push({
993
+ expected: "number",
994
+ code: "invalid_type",
995
+ input: i,
996
+ inst: e,
997
+ ...a ? { received: a } : {}
998
+ }), n;
999
+ };
1000
+ }), Zt = /* @__PURE__ */ e("$ZodNumberFormat", (e, t) => {
1001
+ dt.init(e, t), Xt.init(e, t);
1002
+ }), Qt = /* @__PURE__ */ e("$ZodBoolean", (e, t) => {
1003
+ M.init(e, t), e._zod.pattern = rt, e._zod.parse = (n, r) => {
1004
+ if (t.coerce) try {
1005
+ n.value = !!n.value;
1006
+ } catch {}
1007
+ let i = n.value;
1008
+ return typeof i == "boolean" || n.issues.push({
1009
+ expected: "boolean",
1010
+ code: "invalid_type",
1011
+ input: i,
1012
+ inst: e
1013
+ }), n;
1014
+ };
1015
+ }), $t = /* @__PURE__ */ e("$ZodNull", (e, t) => {
1016
+ M.init(e, t), e._zod.pattern = it, e._zod.values = new Set([null]), e._zod.parse = (t, n) => {
1017
+ let r = t.value;
1018
+ return r === null || t.issues.push({
1019
+ expected: "null",
1020
+ code: "invalid_type",
1021
+ input: r,
1022
+ inst: e
1023
+ }), t;
1024
+ };
1025
+ }), en = /* @__PURE__ */ e("$ZodUnknown", (e, t) => {
1026
+ M.init(e, t), e._zod.parse = (e) => e;
1027
+ }), tn = /* @__PURE__ */ e("$ZodNever", (e, t) => {
1028
+ M.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
1029
+ expected: "never",
1030
+ code: "invalid_type",
1031
+ input: t.value,
1032
+ inst: e
1033
+ }), t);
1034
+ }), nn = /* @__PURE__ */ e("$ZodDate", (e, t) => {
1035
+ M.init(e, t), e._zod.parse = (n, r) => {
1036
+ if (t.coerce) try {
1037
+ n.value = new Date(n.value);
1038
+ } catch {}
1039
+ let i = n.value, a = i instanceof Date;
1040
+ return a && !Number.isNaN(i.getTime()) || n.issues.push({
1041
+ expected: "date",
1042
+ code: "invalid_type",
1043
+ input: i,
1044
+ ...a ? { received: "Invalid Date" } : {},
1045
+ inst: e
1046
+ }), n;
1047
+ };
1048
+ });
1049
+ function rn(e, t, n) {
1050
+ e.issues.length && t.issues.push(...x(n, e.issues)), t.value[n] = e.value;
1051
+ }
1052
+ var an = /* @__PURE__ */ e("$ZodArray", (e, t) => {
1053
+ M.init(e, t), e._zod.parse = (n, r) => {
1054
+ let i = n.value;
1055
+ if (!Array.isArray(i)) return n.issues.push({
1056
+ expected: "array",
1057
+ code: "invalid_type",
1058
+ input: i,
1059
+ inst: e
1060
+ }), n;
1061
+ n.value = Array(i.length);
1062
+ let a = [];
1063
+ for (let e = 0; e < i.length; e++) {
1064
+ let o = i[e], s = t.element._zod.run({
1065
+ value: o,
1066
+ issues: []
1067
+ }, r);
1068
+ s instanceof Promise ? a.push(s.then((t) => rn(t, n, e))) : rn(s, n, e);
1069
+ }
1070
+ return a.length ? Promise.all(a).then(() => n) : n;
1071
+ };
1072
+ });
1073
+ function F(e, t, n, r, i) {
1074
+ if (e.issues.length) {
1075
+ if (i && !(n in r)) return;
1076
+ t.issues.push(...x(n, e.issues));
1077
+ }
1078
+ e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
1079
+ }
1080
+ function on(e) {
1081
+ let t = Object.keys(e.shape);
1082
+ for (let n of t) if (!e.shape?.[n]?._zod?.traits?.has("$ZodType")) throw Error(`Invalid element at key "${n}": expected a Zod schema`);
1083
+ let n = oe(e.shape);
1084
+ return {
1085
+ ...e,
1086
+ keys: t,
1087
+ keySet: new Set(t),
1088
+ numKeys: t.length,
1089
+ optionalKeys: new Set(n)
1090
+ };
1091
+ }
1092
+ function sn(e, t, n, r, i, a) {
1093
+ let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optout === "optional";
1094
+ for (let i in t) {
1095
+ if (s.has(i)) continue;
1096
+ if (l === "never") {
1097
+ o.push(i);
1098
+ continue;
1099
+ }
1100
+ let a = c.run({
1101
+ value: t[i],
1102
+ issues: []
1103
+ }, r);
1104
+ a instanceof Promise ? e.push(a.then((e) => F(e, n, i, t, u))) : F(a, n, i, t, u);
1105
+ }
1106
+ return o.length && n.issues.push({
1107
+ code: "unrecognized_keys",
1108
+ keys: o,
1109
+ input: t,
1110
+ inst: a
1111
+ }), e.length ? Promise.all(e).then(() => n) : n;
1112
+ }
1113
+ var cn = /* @__PURE__ */ e("$ZodObject", (e, t) => {
1114
+ if (M.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
1115
+ let e = t.shape;
1116
+ Object.defineProperty(t, "shape", { get: () => {
1117
+ let n = { ...e };
1118
+ return Object.defineProperty(t, "shape", { value: n }), n;
1119
+ } });
1120
+ }
1121
+ let n = s(() => on(t));
1122
+ f(e._zod, "propValues", () => {
1123
+ let e = t.shape, n = {};
1124
+ for (let t in e) {
1125
+ let r = e[t]._zod;
1126
+ if (r.values) {
1127
+ n[t] ?? (n[t] = /* @__PURE__ */ new Set());
1128
+ for (let e of r.values) n[t].add(e);
1129
+ }
1130
+ }
1131
+ return n;
1132
+ });
1133
+ let r = h, i = t.catchall, a;
1134
+ e._zod.parse = (t, o) => {
1135
+ a ??= n.value;
1136
+ let s = t.value;
1137
+ if (!r(s)) return t.issues.push({
1138
+ expected: "object",
1139
+ code: "invalid_type",
1140
+ input: s,
1141
+ inst: e
1142
+ }), t;
1143
+ t.value = {};
1144
+ let c = [], l = a.shape;
1145
+ for (let e of a.keys) {
1146
+ let n = l[e], r = n._zod.optout === "optional", i = n._zod.run({
1147
+ value: s[e],
1148
+ issues: []
1149
+ }, o);
1150
+ i instanceof Promise ? c.push(i.then((n) => F(n, t, e, s, r))) : F(i, t, e, s, r);
1151
+ }
1152
+ return i ? sn(c, s, t, o, n.value, e) : c.length ? Promise.all(c).then(() => t) : t;
1153
+ };
1154
+ }), ln = /* @__PURE__ */ e("$ZodObjectJIT", (e, t) => {
1155
+ cn.init(e, t);
1156
+ let n = e._zod.parse, i = s(() => on(t)), a = (e) => {
1157
+ let t = new St([
1158
+ "shape",
1159
+ "payload",
1160
+ "ctx"
1161
+ ]), n = i.value, r = (e) => {
1162
+ let t = ee(e);
1163
+ return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`;
1164
+ };
1165
+ t.write("const input = payload.value;");
1166
+ let a = Object.create(null), o = 0;
1167
+ for (let e of n.keys) a[e] = `key_${o++}`;
1168
+ t.write("const newResult = {};");
1169
+ for (let i of n.keys) {
1170
+ let n = a[i], o = ee(i), s = e[i]?._zod?.optout === "optional";
1171
+ t.write(`const ${n} = ${r(i)};`), s ? t.write(`
1172
+ if (${n}.issues.length) {
1173
+ if (${o} in input) {
1174
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
1175
+ ...iss,
1176
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
1177
+ })));
1178
+ }
1179
+ }
1180
+
1181
+ if (${n}.value === undefined) {
1182
+ if (${o} in input) {
1183
+ newResult[${o}] = undefined;
1184
+ }
1185
+ } else {
1186
+ newResult[${o}] = ${n}.value;
1187
+ }
1188
+
1189
+ `) : t.write(`
1190
+ if (${n}.issues.length) {
1191
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
1192
+ ...iss,
1193
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
1194
+ })));
1195
+ }
1196
+
1197
+ if (${n}.value === undefined) {
1198
+ if (${o} in input) {
1199
+ newResult[${o}] = undefined;
1200
+ }
1201
+ } else {
1202
+ newResult[${o}] = ${n}.value;
1203
+ }
1204
+
1205
+ `);
1206
+ }
1207
+ t.write("payload.value = newResult;"), t.write("return payload;");
1208
+ let s = t.compile();
1209
+ return (t, n) => s(e, t, n);
1210
+ }, o, c = h, l = !r.jitless, u = l && re.value, d = t.catchall, f;
1211
+ e._zod.parse = (r, s) => {
1212
+ f ??= i.value;
1213
+ let p = r.value;
1214
+ return c(p) ? l && u && s?.async === !1 && s.jitless !== !0 ? (o ||= a(t.shape), r = o(r, s), d ? sn([], p, r, s, f, e) : r) : n(r, s) : (r.issues.push({
1215
+ expected: "object",
1216
+ code: "invalid_type",
1217
+ input: p,
1218
+ inst: e
1219
+ }), r);
1220
+ };
1221
+ });
1222
+ function un(e, t, n, r) {
1223
+ for (let n of e) if (n.issues.length === 0) return t.value = n.value, t;
1224
+ let a = e.filter((e) => !b(e));
1225
+ return a.length === 1 ? (t.value = a[0].value, a[0]) : (t.issues.push({
1226
+ code: "invalid_union",
1227
+ input: t.value,
1228
+ inst: n,
1229
+ errors: e.map((e) => e.issues.map((e) => C(e, r, i())))
1230
+ }), t);
1231
+ }
1232
+ var dn = /* @__PURE__ */ e("$ZodUnion", (e, t) => {
1233
+ M.init(e, t), f(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), f(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), f(e._zod, "values", () => {
1234
+ if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values)));
1235
+ }), f(e._zod, "pattern", () => {
1236
+ if (t.options.every((e) => e._zod.pattern)) {
1237
+ let e = t.options.map((e) => e._zod.pattern);
1238
+ return RegExp(`^(${e.map((e) => l(e.source)).join("|")})$`);
1239
+ }
1240
+ });
1241
+ let n = t.options.length === 1, r = t.options[0]._zod.run;
1242
+ e._zod.parse = (i, a) => {
1243
+ if (n) return r(i, a);
1244
+ let o = !1, s = [];
1245
+ for (let e of t.options) {
1246
+ let t = e._zod.run({
1247
+ value: i.value,
1248
+ issues: []
1249
+ }, a);
1250
+ if (t instanceof Promise) s.push(t), o = !0;
1251
+ else {
1252
+ if (t.issues.length === 0) return t;
1253
+ s.push(t);
1254
+ }
1255
+ }
1256
+ return o ? Promise.all(s).then((t) => un(t, i, e, a)) : un(s, i, e, a);
1257
+ };
1258
+ }), fn = /* @__PURE__ */ e("$ZodDiscriminatedUnion", (e, t) => {
1259
+ t.inclusive = !1, dn.init(e, t);
1260
+ let n = e._zod.parse;
1261
+ f(e._zod, "propValues", () => {
1262
+ let e = {};
1263
+ for (let n of t.options) {
1264
+ let r = n._zod.propValues;
1265
+ if (!r || Object.keys(r).length === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);
1266
+ for (let [t, n] of Object.entries(r)) {
1267
+ e[t] || (e[t] = /* @__PURE__ */ new Set());
1268
+ for (let r of n) e[t].add(r);
1269
+ }
1270
+ }
1271
+ return e;
1272
+ });
1273
+ let r = s(() => {
1274
+ let e = t.options, n = /* @__PURE__ */ new Map();
1275
+ for (let r of e) {
1276
+ let e = r._zod.propValues?.[t.discriminator];
1277
+ if (!e || e.size === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);
1278
+ for (let t of e) {
1279
+ if (n.has(t)) throw Error(`Duplicate discriminator value "${String(t)}"`);
1280
+ n.set(t, r);
1281
+ }
1282
+ }
1283
+ return n;
1284
+ });
1285
+ e._zod.parse = (i, a) => {
1286
+ let o = i.value;
1287
+ if (!h(o)) return i.issues.push({
1288
+ code: "invalid_type",
1289
+ expected: "object",
1290
+ input: o,
1291
+ inst: e
1292
+ }), i;
1293
+ let s = r.value.get(o?.[t.discriminator]);
1294
+ return s ? s._zod.run(i, a) : t.unionFallback ? n(i, a) : (i.issues.push({
1295
+ code: "invalid_union",
1296
+ errors: [],
1297
+ note: "No matching discriminator",
1298
+ discriminator: t.discriminator,
1299
+ input: o,
1300
+ path: [t.discriminator],
1301
+ inst: e
1302
+ }), i);
1303
+ };
1304
+ }), pn = /* @__PURE__ */ e("$ZodIntersection", (e, t) => {
1305
+ M.init(e, t), e._zod.parse = (e, n) => {
1306
+ let r = e.value, i = t.left._zod.run({
1307
+ value: r,
1308
+ issues: []
1309
+ }, n), a = t.right._zod.run({
1310
+ value: r,
1311
+ issues: []
1312
+ }, n);
1313
+ return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => mn(e, t, n)) : mn(e, i, a);
1314
+ };
1315
+ });
1316
+ function I(e, t) {
1317
+ if (e === t || e instanceof Date && t instanceof Date && +e == +t) return {
1318
+ valid: !0,
1319
+ data: e
1320
+ };
1321
+ if (g(e) && g(t)) {
1322
+ let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = {
1323
+ ...e,
1324
+ ...t
1325
+ };
1326
+ for (let n of r) {
1327
+ let r = I(e[n], t[n]);
1328
+ if (!r.valid) return {
1329
+ valid: !1,
1330
+ mergeErrorPath: [n, ...r.mergeErrorPath]
1331
+ };
1332
+ i[n] = r.data;
1333
+ }
1334
+ return {
1335
+ valid: !0,
1336
+ data: i
1337
+ };
1338
+ }
1339
+ if (Array.isArray(e) && Array.isArray(t)) {
1340
+ if (e.length !== t.length) return {
1341
+ valid: !1,
1342
+ mergeErrorPath: []
1343
+ };
1344
+ let n = [];
1345
+ for (let r = 0; r < e.length; r++) {
1346
+ let i = e[r], a = t[r], o = I(i, a);
1347
+ if (!o.valid) return {
1348
+ valid: !1,
1349
+ mergeErrorPath: [r, ...o.mergeErrorPath]
1350
+ };
1351
+ n.push(o.data);
1352
+ }
1353
+ return {
1354
+ valid: !0,
1355
+ data: n
1356
+ };
1357
+ }
1358
+ return {
1359
+ valid: !1,
1360
+ mergeErrorPath: []
1361
+ };
1362
+ }
1363
+ function mn(e, t, n) {
1364
+ let r = /* @__PURE__ */ new Map(), i;
1365
+ for (let n of t.issues) if (n.code === "unrecognized_keys") {
1366
+ i ??= n;
1367
+ for (let e of n.keys) r.has(e) || r.set(e, {}), r.get(e).l = !0;
1368
+ } else e.issues.push(n);
1369
+ for (let t of n.issues) if (t.code === "unrecognized_keys") for (let e of t.keys) r.has(e) || r.set(e, {}), r.get(e).r = !0;
1370
+ else e.issues.push(t);
1371
+ let a = [...r].filter(([, e]) => e.l && e.r).map(([e]) => e);
1372
+ if (a.length && i && e.issues.push({
1373
+ ...i,
1374
+ keys: a
1375
+ }), b(e)) return e;
1376
+ let o = I(t.value, n.value);
1377
+ if (!o.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);
1378
+ return e.value = o.data, e;
1379
+ }
1380
+ var hn = /* @__PURE__ */ e("$ZodRecord", (e, t) => {
1381
+ M.init(e, t), e._zod.parse = (n, r) => {
1382
+ let a = n.value;
1383
+ if (!g(a)) return n.issues.push({
1384
+ expected: "record",
1385
+ code: "invalid_type",
1386
+ input: a,
1387
+ inst: e
1388
+ }), n;
1389
+ let o = [], s = t.keyType._zod.values;
1390
+ if (s) {
1391
+ n.value = {};
1392
+ let i = /* @__PURE__ */ new Set();
1393
+ for (let e of s) if (typeof e == "string" || typeof e == "number" || typeof e == "symbol") {
1394
+ i.add(typeof e == "number" ? e.toString() : e);
1395
+ let s = t.valueType._zod.run({
1396
+ value: a[e],
1397
+ issues: []
1398
+ }, r);
1399
+ s instanceof Promise ? o.push(s.then((t) => {
1400
+ t.issues.length && n.issues.push(...x(e, t.issues)), n.value[e] = t.value;
1401
+ })) : (s.issues.length && n.issues.push(...x(e, s.issues)), n.value[e] = s.value);
1402
+ }
1403
+ let c;
1404
+ for (let e in a) i.has(e) || (c ??= [], c.push(e));
1405
+ c && c.length > 0 && n.issues.push({
1406
+ code: "unrecognized_keys",
1407
+ input: a,
1408
+ inst: e,
1409
+ keys: c
1410
+ });
1411
+ } else {
1412
+ n.value = {};
1413
+ for (let s of Reflect.ownKeys(a)) {
1414
+ if (s === "__proto__") continue;
1415
+ let c = t.keyType._zod.run({
1416
+ value: s,
1417
+ issues: []
1418
+ }, r);
1419
+ if (c instanceof Promise) throw Error("Async schemas not supported in object keys currently");
1420
+ if (typeof s == "string" && nt.test(s) && c.issues.length) {
1421
+ let e = t.keyType._zod.run({
1422
+ value: Number(s),
1423
+ issues: []
1424
+ }, r);
1425
+ if (e instanceof Promise) throw Error("Async schemas not supported in object keys currently");
1426
+ e.issues.length === 0 && (c = e);
1427
+ }
1428
+ if (c.issues.length) {
1429
+ t.mode === "loose" ? n.value[s] = a[s] : n.issues.push({
1430
+ code: "invalid_key",
1431
+ origin: "record",
1432
+ issues: c.issues.map((e) => C(e, r, i())),
1433
+ input: s,
1434
+ path: [s],
1435
+ inst: e
1436
+ });
1437
+ continue;
1438
+ }
1439
+ let l = t.valueType._zod.run({
1440
+ value: a[s],
1441
+ issues: []
1442
+ }, r);
1443
+ l instanceof Promise ? o.push(l.then((e) => {
1444
+ e.issues.length && n.issues.push(...x(s, e.issues)), n.value[c.value] = e.value;
1445
+ })) : (l.issues.length && n.issues.push(...x(s, l.issues)), n.value[c.value] = l.value);
1446
+ }
1447
+ }
1448
+ return o.length ? Promise.all(o).then(() => n) : n;
1449
+ };
1450
+ }), gn = /* @__PURE__ */ e("$ZodEnum", (e, t) => {
1451
+ M.init(e, t);
1452
+ let n = a(t.entries), r = new Set(n);
1453
+ e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => ae.has(typeof e)).map((e) => typeof e == "string" ? _(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
1454
+ let a = t.value;
1455
+ return r.has(a) || t.issues.push({
1456
+ code: "invalid_value",
1457
+ values: n,
1458
+ input: a,
1459
+ inst: e
1460
+ }), t;
1461
+ };
1462
+ }), _n = /* @__PURE__ */ e("$ZodLiteral", (e, t) => {
1463
+ if (M.init(e, t), t.values.length === 0) throw Error("Cannot create literal schema with no valid values");
1464
+ let n = new Set(t.values);
1465
+ e._zod.values = n, e._zod.pattern = RegExp(`^(${t.values.map((e) => typeof e == "string" ? _(e) : e ? _(e.toString()) : String(e)).join("|")})$`), e._zod.parse = (r, i) => {
1466
+ let a = r.value;
1467
+ return n.has(a) || r.issues.push({
1468
+ code: "invalid_value",
1469
+ values: t.values,
1470
+ input: a,
1471
+ inst: e
1472
+ }), r;
1473
+ };
1474
+ }), vn = /* @__PURE__ */ e("$ZodTransform", (e, r) => {
1475
+ M.init(e, r), e._zod.parse = (i, a) => {
1476
+ if (a.direction === "backward") throw new n(e.constructor.name);
1477
+ let o = r.transform(i.value, i);
1478
+ if (a.async) return (o instanceof Promise ? o : Promise.resolve(o)).then((e) => (i.value = e, i));
1479
+ if (o instanceof Promise) throw new t();
1480
+ return i.value = o, i;
1481
+ };
1482
+ });
1483
+ function yn(e, t) {
1484
+ return e.issues.length && t === void 0 ? {
1485
+ issues: [],
1486
+ value: void 0
1487
+ } : e;
1488
+ }
1489
+ var bn = /* @__PURE__ */ e("$ZodOptional", (e, t) => {
1490
+ M.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", f(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), f(e._zod, "pattern", () => {
1491
+ let e = t.innerType._zod.pattern;
1492
+ return e ? RegExp(`^(${l(e.source)})?$`) : void 0;
1493
+ }), e._zod.parse = (e, n) => {
1494
+ if (t.innerType._zod.optin === "optional") {
1495
+ let r = t.innerType._zod.run(e, n);
1496
+ return r instanceof Promise ? r.then((t) => yn(t, e.value)) : yn(r, e.value);
1497
+ }
1498
+ return e.value === void 0 ? e : t.innerType._zod.run(e, n);
1499
+ };
1500
+ }), xn = /* @__PURE__ */ e("$ZodExactOptional", (e, t) => {
1501
+ bn.init(e, t), f(e._zod, "values", () => t.innerType._zod.values), f(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
1502
+ }), Sn = /* @__PURE__ */ e("$ZodNullable", (e, t) => {
1503
+ M.init(e, t), f(e._zod, "optin", () => t.innerType._zod.optin), f(e._zod, "optout", () => t.innerType._zod.optout), f(e._zod, "pattern", () => {
1504
+ let e = t.innerType._zod.pattern;
1505
+ return e ? RegExp(`^(${l(e.source)}|null)$`) : void 0;
1506
+ }), f(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n);
1507
+ }), Cn = /* @__PURE__ */ e("$ZodDefault", (e, t) => {
1508
+ M.init(e, t), e._zod.optin = "optional", f(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
1509
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1510
+ if (e.value === void 0) return e.value = t.defaultValue, e;
1511
+ let r = t.innerType._zod.run(e, n);
1512
+ return r instanceof Promise ? r.then((e) => wn(e, t)) : wn(r, t);
1513
+ };
1514
+ });
1515
+ function wn(e, t) {
1516
+ return e.value === void 0 && (e.value = t.defaultValue), e;
1517
+ }
1518
+ var Tn = /* @__PURE__ */ e("$ZodPrefault", (e, t) => {
1519
+ M.init(e, t), e._zod.optin = "optional", f(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
1520
+ }), En = /* @__PURE__ */ e("$ZodNonOptional", (e, t) => {
1521
+ M.init(e, t), f(e._zod, "values", () => {
1522
+ let e = t.innerType._zod.values;
1523
+ return e ? new Set([...e].filter((e) => e !== void 0)) : void 0;
1524
+ }), e._zod.parse = (n, r) => {
1525
+ let i = t.innerType._zod.run(n, r);
1526
+ return i instanceof Promise ? i.then((t) => Dn(t, e)) : Dn(i, e);
1527
+ };
1528
+ });
1529
+ function Dn(e, t) {
1530
+ return !e.issues.length && e.value === void 0 && e.issues.push({
1531
+ code: "invalid_type",
1532
+ expected: "nonoptional",
1533
+ input: e.value,
1534
+ inst: t
1535
+ }), e;
1536
+ }
1537
+ var On = /* @__PURE__ */ e("$ZodCatch", (e, t) => {
1538
+ M.init(e, t), f(e._zod, "optin", () => t.innerType._zod.optin), f(e._zod, "optout", () => t.innerType._zod.optout), f(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
1539
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1540
+ let r = t.innerType._zod.run(e, n);
1541
+ return r instanceof Promise ? r.then((r) => (e.value = r.value, r.issues.length && (e.value = t.catchValue({
1542
+ ...e,
1543
+ error: { issues: r.issues.map((e) => C(e, n, i())) },
1544
+ input: e.value
1545
+ }), e.issues = []), e)) : (e.value = r.value, r.issues.length && (e.value = t.catchValue({
1546
+ ...e,
1547
+ error: { issues: r.issues.map((e) => C(e, n, i())) },
1548
+ input: e.value
1549
+ }), e.issues = []), e);
1550
+ };
1551
+ }), kn = /* @__PURE__ */ e("$ZodPipe", (e, t) => {
1552
+ M.init(e, t), f(e._zod, "values", () => t.in._zod.values), f(e._zod, "optin", () => t.in._zod.optin), f(e._zod, "optout", () => t.out._zod.optout), f(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => {
1553
+ if (n.direction === "backward") {
1554
+ let r = t.out._zod.run(e, n);
1555
+ return r instanceof Promise ? r.then((e) => L(e, t.in, n)) : L(r, t.in, n);
1556
+ }
1557
+ let r = t.in._zod.run(e, n);
1558
+ return r instanceof Promise ? r.then((e) => L(e, t.out, n)) : L(r, t.out, n);
1559
+ };
1560
+ });
1561
+ function L(e, t, n) {
1562
+ return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
1563
+ value: e.value,
1564
+ issues: e.issues
1565
+ }, n);
1566
+ }
1567
+ var An = /* @__PURE__ */ e("$ZodReadonly", (e, t) => {
1568
+ M.init(e, t), f(e._zod, "propValues", () => t.innerType._zod.propValues), f(e._zod, "values", () => t.innerType._zod.values), f(e._zod, "optin", () => t.innerType?._zod?.optin), f(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (e, n) => {
1569
+ if (n.direction === "backward") return t.innerType._zod.run(e, n);
1570
+ let r = t.innerType._zod.run(e, n);
1571
+ return r instanceof Promise ? r.then(jn) : jn(r);
1572
+ };
1573
+ });
1574
+ function jn(e) {
1575
+ return e.value = Object.freeze(e.value), e;
1576
+ }
1577
+ var Mn = /* @__PURE__ */ e("$ZodLazy", (e, t) => {
1578
+ M.init(e, t), f(e._zod, "innerType", () => t.getter()), f(e._zod, "pattern", () => e._zod.innerType?._zod?.pattern), f(e._zod, "propValues", () => e._zod.innerType?._zod?.propValues), f(e._zod, "optin", () => e._zod.innerType?._zod?.optin ?? void 0), f(e._zod, "optout", () => e._zod.innerType?._zod?.optout ?? void 0), e._zod.parse = (t, n) => e._zod.innerType._zod.run(t, n);
1579
+ }), Nn = /* @__PURE__ */ e("$ZodCustom", (e, t) => {
1580
+ A.init(e, t), M.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
1581
+ let r = n.value, i = t.fn(r);
1582
+ if (i instanceof Promise) return i.then((t) => Pn(t, n, r, e));
1583
+ Pn(i, n, r, e);
1584
+ };
1585
+ });
1586
+ function Pn(e, t, n, r) {
1587
+ if (!e) {
1588
+ let e = {
1589
+ code: "custom",
1590
+ input: n,
1591
+ inst: r,
1592
+ path: [...r._zod.def.path ?? []],
1593
+ continue: !r._zod.def.abort
1594
+ };
1595
+ r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(T(e));
1596
+ }
1597
+ }
1598
+ //#endregion
1599
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
1600
+ var Fn, In = class {
1601
+ constructor() {
1602
+ this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
1603
+ }
1604
+ add(e, ...t) {
1605
+ let n = t[0];
1606
+ return this._map.set(e, n), n && typeof n == "object" && "id" in n && this._idmap.set(n.id, e), this;
1607
+ }
1608
+ clear() {
1609
+ return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
1610
+ }
1611
+ remove(e) {
1612
+ let t = this._map.get(e);
1613
+ return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
1614
+ }
1615
+ get(e) {
1616
+ let t = e._zod.parent;
1617
+ if (t) {
1618
+ let n = { ...this.get(t) ?? {} };
1619
+ delete n.id;
1620
+ let r = {
1621
+ ...n,
1622
+ ...this._map.get(e)
1623
+ };
1624
+ return Object.keys(r).length ? r : void 0;
1625
+ }
1626
+ return this._map.get(e);
1627
+ }
1628
+ has(e) {
1629
+ return this._map.has(e);
1630
+ }
1631
+ };
1632
+ function Ln() {
1633
+ return new In();
1634
+ }
1635
+ (Fn = globalThis).__zod_globalRegistry ?? (Fn.__zod_globalRegistry = Ln());
1636
+ var R = globalThis.__zod_globalRegistry;
1637
+ //#endregion
1638
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
1639
+ /* @__NO_SIDE_EFFECTS__ */
1640
+ function Rn(e, t) {
1641
+ return new e({
1642
+ type: "string",
1643
+ ...y(t)
1644
+ });
1645
+ }
1646
+ /* @__NO_SIDE_EFFECTS__ */
1647
+ function zn(e, t) {
1648
+ return new e({
1649
+ type: "string",
1650
+ format: "email",
1651
+ check: "string_format",
1652
+ abort: !1,
1653
+ ...y(t)
1654
+ });
1655
+ }
1656
+ /* @__NO_SIDE_EFFECTS__ */
1657
+ function Bn(e, t) {
1658
+ return new e({
1659
+ type: "string",
1660
+ format: "guid",
1661
+ check: "string_format",
1662
+ abort: !1,
1663
+ ...y(t)
1664
+ });
1665
+ }
1666
+ /* @__NO_SIDE_EFFECTS__ */
1667
+ function Vn(e, t) {
1668
+ return new e({
1669
+ type: "string",
1670
+ format: "uuid",
1671
+ check: "string_format",
1672
+ abort: !1,
1673
+ ...y(t)
1674
+ });
1675
+ }
1676
+ /* @__NO_SIDE_EFFECTS__ */
1677
+ function Hn(e, t) {
1678
+ return new e({
1679
+ type: "string",
1680
+ format: "uuid",
1681
+ check: "string_format",
1682
+ abort: !1,
1683
+ version: "v4",
1684
+ ...y(t)
1685
+ });
1686
+ }
1687
+ /* @__NO_SIDE_EFFECTS__ */
1688
+ function Un(e, t) {
1689
+ return new e({
1690
+ type: "string",
1691
+ format: "uuid",
1692
+ check: "string_format",
1693
+ abort: !1,
1694
+ version: "v6",
1695
+ ...y(t)
1696
+ });
1697
+ }
1698
+ /* @__NO_SIDE_EFFECTS__ */
1699
+ function Wn(e, t) {
1700
+ return new e({
1701
+ type: "string",
1702
+ format: "uuid",
1703
+ check: "string_format",
1704
+ abort: !1,
1705
+ version: "v7",
1706
+ ...y(t)
1707
+ });
1708
+ }
1709
+ /* @__NO_SIDE_EFFECTS__ */
1710
+ function Gn(e, t) {
1711
+ return new e({
1712
+ type: "string",
1713
+ format: "url",
1714
+ check: "string_format",
1715
+ abort: !1,
1716
+ ...y(t)
1717
+ });
1718
+ }
1719
+ /* @__NO_SIDE_EFFECTS__ */
1720
+ function Kn(e, t) {
1721
+ return new e({
1722
+ type: "string",
1723
+ format: "emoji",
1724
+ check: "string_format",
1725
+ abort: !1,
1726
+ ...y(t)
1727
+ });
1728
+ }
1729
+ /* @__NO_SIDE_EFFECTS__ */
1730
+ function qn(e, t) {
1731
+ return new e({
1732
+ type: "string",
1733
+ format: "nanoid",
1734
+ check: "string_format",
1735
+ abort: !1,
1736
+ ...y(t)
1737
+ });
1738
+ }
1739
+ /* @__NO_SIDE_EFFECTS__ */
1740
+ function Jn(e, t) {
1741
+ return new e({
1742
+ type: "string",
1743
+ format: "cuid",
1744
+ check: "string_format",
1745
+ abort: !1,
1746
+ ...y(t)
1747
+ });
1748
+ }
1749
+ /* @__NO_SIDE_EFFECTS__ */
1750
+ function Yn(e, t) {
1751
+ return new e({
1752
+ type: "string",
1753
+ format: "cuid2",
1754
+ check: "string_format",
1755
+ abort: !1,
1756
+ ...y(t)
1757
+ });
1758
+ }
1759
+ /* @__NO_SIDE_EFFECTS__ */
1760
+ function Xn(e, t) {
1761
+ return new e({
1762
+ type: "string",
1763
+ format: "ulid",
1764
+ check: "string_format",
1765
+ abort: !1,
1766
+ ...y(t)
1767
+ });
1768
+ }
1769
+ /* @__NO_SIDE_EFFECTS__ */
1770
+ function Zn(e, t) {
1771
+ return new e({
1772
+ type: "string",
1773
+ format: "xid",
1774
+ check: "string_format",
1775
+ abort: !1,
1776
+ ...y(t)
1777
+ });
1778
+ }
1779
+ /* @__NO_SIDE_EFFECTS__ */
1780
+ function Qn(e, t) {
1781
+ return new e({
1782
+ type: "string",
1783
+ format: "ksuid",
1784
+ check: "string_format",
1785
+ abort: !1,
1786
+ ...y(t)
1787
+ });
1788
+ }
1789
+ /* @__NO_SIDE_EFFECTS__ */
1790
+ function $n(e, t) {
1791
+ return new e({
1792
+ type: "string",
1793
+ format: "ipv4",
1794
+ check: "string_format",
1795
+ abort: !1,
1796
+ ...y(t)
1797
+ });
1798
+ }
1799
+ /* @__NO_SIDE_EFFECTS__ */
1800
+ function er(e, t) {
1801
+ return new e({
1802
+ type: "string",
1803
+ format: "ipv6",
1804
+ check: "string_format",
1805
+ abort: !1,
1806
+ ...y(t)
1807
+ });
1808
+ }
1809
+ /* @__NO_SIDE_EFFECTS__ */
1810
+ function tr(e, t) {
1811
+ return new e({
1812
+ type: "string",
1813
+ format: "cidrv4",
1814
+ check: "string_format",
1815
+ abort: !1,
1816
+ ...y(t)
1817
+ });
1818
+ }
1819
+ /* @__NO_SIDE_EFFECTS__ */
1820
+ function nr(e, t) {
1821
+ return new e({
1822
+ type: "string",
1823
+ format: "cidrv6",
1824
+ check: "string_format",
1825
+ abort: !1,
1826
+ ...y(t)
1827
+ });
1828
+ }
1829
+ /* @__NO_SIDE_EFFECTS__ */
1830
+ function rr(e, t) {
1831
+ return new e({
1832
+ type: "string",
1833
+ format: "base64",
1834
+ check: "string_format",
1835
+ abort: !1,
1836
+ ...y(t)
1837
+ });
1838
+ }
1839
+ /* @__NO_SIDE_EFFECTS__ */
1840
+ function ir(e, t) {
1841
+ return new e({
1842
+ type: "string",
1843
+ format: "base64url",
1844
+ check: "string_format",
1845
+ abort: !1,
1846
+ ...y(t)
1847
+ });
1848
+ }
1849
+ /* @__NO_SIDE_EFFECTS__ */
1850
+ function ar(e, t) {
1851
+ return new e({
1852
+ type: "string",
1853
+ format: "e164",
1854
+ check: "string_format",
1855
+ abort: !1,
1856
+ ...y(t)
1857
+ });
1858
+ }
1859
+ /* @__NO_SIDE_EFFECTS__ */
1860
+ function or(e, t) {
1861
+ return new e({
1862
+ type: "string",
1863
+ format: "jwt",
1864
+ check: "string_format",
1865
+ abort: !1,
1866
+ ...y(t)
1867
+ });
1868
+ }
1869
+ /* @__NO_SIDE_EFFECTS__ */
1870
+ function sr(e, t) {
1871
+ return new e({
1872
+ type: "string",
1873
+ format: "datetime",
1874
+ check: "string_format",
1875
+ offset: !1,
1876
+ local: !1,
1877
+ precision: null,
1878
+ ...y(t)
1879
+ });
1880
+ }
1881
+ /* @__NO_SIDE_EFFECTS__ */
1882
+ function cr(e, t) {
1883
+ return new e({
1884
+ type: "string",
1885
+ format: "date",
1886
+ check: "string_format",
1887
+ ...y(t)
1888
+ });
1889
+ }
1890
+ /* @__NO_SIDE_EFFECTS__ */
1891
+ function lr(e, t) {
1892
+ return new e({
1893
+ type: "string",
1894
+ format: "time",
1895
+ check: "string_format",
1896
+ precision: null,
1897
+ ...y(t)
1898
+ });
1899
+ }
1900
+ /* @__NO_SIDE_EFFECTS__ */
1901
+ function ur(e, t) {
1902
+ return new e({
1903
+ type: "string",
1904
+ format: "duration",
1905
+ check: "string_format",
1906
+ ...y(t)
1907
+ });
1908
+ }
1909
+ /* @__NO_SIDE_EFFECTS__ */
1910
+ function dr(e, t) {
1911
+ return new e({
1912
+ type: "number",
1913
+ checks: [],
1914
+ ...y(t)
1915
+ });
1916
+ }
1917
+ /* @__NO_SIDE_EFFECTS__ */
1918
+ function fr(e, t) {
1919
+ return new e({
1920
+ type: "number",
1921
+ check: "number_format",
1922
+ abort: !1,
1923
+ format: "safeint",
1924
+ ...y(t)
1925
+ });
1926
+ }
1927
+ /* @__NO_SIDE_EFFECTS__ */
1928
+ function pr(e, t) {
1929
+ return new e({
1930
+ type: "boolean",
1931
+ ...y(t)
1932
+ });
1933
+ }
1934
+ /* @__NO_SIDE_EFFECTS__ */
1935
+ function mr(e, t) {
1936
+ return new e({
1937
+ type: "null",
1938
+ ...y(t)
1939
+ });
1940
+ }
1941
+ /* @__NO_SIDE_EFFECTS__ */
1942
+ function hr(e) {
1943
+ return new e({ type: "unknown" });
1944
+ }
1945
+ /* @__NO_SIDE_EFFECTS__ */
1946
+ function gr(e, t) {
1947
+ return new e({
1948
+ type: "never",
1949
+ ...y(t)
1950
+ });
1951
+ }
1952
+ /* @__NO_SIDE_EFFECTS__ */
1953
+ function _r(e, t) {
1954
+ return new e({
1955
+ type: "date",
1956
+ coerce: !0,
1957
+ ...y(t)
1958
+ });
1959
+ }
1960
+ /* @__NO_SIDE_EFFECTS__ */
1961
+ function vr(e, t) {
1962
+ return new ct({
1963
+ check: "less_than",
1964
+ ...y(t),
1965
+ value: e,
1966
+ inclusive: !1
1967
+ });
1968
+ }
1969
+ /* @__NO_SIDE_EFFECTS__ */
1970
+ function z(e, t) {
1971
+ return new ct({
1972
+ check: "less_than",
1973
+ ...y(t),
1974
+ value: e,
1975
+ inclusive: !0
1976
+ });
1977
+ }
1978
+ /* @__NO_SIDE_EFFECTS__ */
1979
+ function yr(e, t) {
1980
+ return new lt({
1981
+ check: "greater_than",
1982
+ ...y(t),
1983
+ value: e,
1984
+ inclusive: !1
1985
+ });
1986
+ }
1987
+ /* @__NO_SIDE_EFFECTS__ */
1988
+ function B(e, t) {
1989
+ return new lt({
1990
+ check: "greater_than",
1991
+ ...y(t),
1992
+ value: e,
1993
+ inclusive: !0
1994
+ });
1995
+ }
1996
+ /* @__NO_SIDE_EFFECTS__ */
1997
+ function br(e, t) {
1998
+ return new ut({
1999
+ check: "multiple_of",
2000
+ ...y(t),
2001
+ value: e
2002
+ });
2003
+ }
2004
+ /* @__NO_SIDE_EFFECTS__ */
2005
+ function xr(e, t) {
2006
+ return new ft({
2007
+ check: "max_length",
2008
+ ...y(t),
2009
+ maximum: e
2010
+ });
2011
+ }
2012
+ /* @__NO_SIDE_EFFECTS__ */
2013
+ function V(e, t) {
2014
+ return new pt({
2015
+ check: "min_length",
2016
+ ...y(t),
2017
+ minimum: e
2018
+ });
2019
+ }
2020
+ /* @__NO_SIDE_EFFECTS__ */
2021
+ function Sr(e, t) {
2022
+ return new mt({
2023
+ check: "length_equals",
2024
+ ...y(t),
2025
+ length: e
2026
+ });
2027
+ }
2028
+ /* @__NO_SIDE_EFFECTS__ */
2029
+ function Cr(e, t) {
2030
+ return new ht({
2031
+ check: "string_format",
2032
+ format: "regex",
2033
+ ...y(t),
2034
+ pattern: e
2035
+ });
2036
+ }
2037
+ /* @__NO_SIDE_EFFECTS__ */
2038
+ function wr(e) {
2039
+ return new gt({
2040
+ check: "string_format",
2041
+ format: "lowercase",
2042
+ ...y(e)
2043
+ });
2044
+ }
2045
+ /* @__NO_SIDE_EFFECTS__ */
2046
+ function Tr(e) {
2047
+ return new _t({
2048
+ check: "string_format",
2049
+ format: "uppercase",
2050
+ ...y(e)
2051
+ });
2052
+ }
2053
+ /* @__NO_SIDE_EFFECTS__ */
2054
+ function Er(e, t) {
2055
+ return new vt({
2056
+ check: "string_format",
2057
+ format: "includes",
2058
+ ...y(t),
2059
+ includes: e
2060
+ });
2061
+ }
2062
+ /* @__NO_SIDE_EFFECTS__ */
2063
+ function Dr(e, t) {
2064
+ return new yt({
2065
+ check: "string_format",
2066
+ format: "starts_with",
2067
+ ...y(t),
2068
+ prefix: e
2069
+ });
2070
+ }
2071
+ /* @__NO_SIDE_EFFECTS__ */
2072
+ function Or(e, t) {
2073
+ return new bt({
2074
+ check: "string_format",
2075
+ format: "ends_with",
2076
+ ...y(t),
2077
+ suffix: e
2078
+ });
2079
+ }
2080
+ /* @__NO_SIDE_EFFECTS__ */
2081
+ function H(e) {
2082
+ return new xt({
2083
+ check: "overwrite",
2084
+ tx: e
2085
+ });
2086
+ }
2087
+ /* @__NO_SIDE_EFFECTS__ */
2088
+ function kr(e) {
2089
+ return /* @__PURE__ */ H((t) => t.normalize(e));
2090
+ }
2091
+ /* @__NO_SIDE_EFFECTS__ */
2092
+ function Ar() {
2093
+ return /* @__PURE__ */ H((e) => e.trim());
2094
+ }
2095
+ /* @__NO_SIDE_EFFECTS__ */
2096
+ function jr() {
2097
+ return /* @__PURE__ */ H((e) => e.toLowerCase());
2098
+ }
2099
+ /* @__NO_SIDE_EFFECTS__ */
2100
+ function Mr() {
2101
+ return /* @__PURE__ */ H((e) => e.toUpperCase());
2102
+ }
2103
+ /* @__NO_SIDE_EFFECTS__ */
2104
+ function Nr() {
2105
+ return /* @__PURE__ */ H((e) => te(e));
2106
+ }
2107
+ /* @__NO_SIDE_EFFECTS__ */
2108
+ function Pr(e, t, n) {
2109
+ return new e({
2110
+ type: "array",
2111
+ element: t,
2112
+ ...y(n)
2113
+ });
2114
+ }
2115
+ /* @__NO_SIDE_EFFECTS__ */
2116
+ function Fr(e, t, n) {
2117
+ let r = y(n);
2118
+ return r.abort ??= !0, new e({
2119
+ type: "custom",
2120
+ check: "custom",
2121
+ fn: t,
2122
+ ...r
2123
+ });
2124
+ }
2125
+ /* @__NO_SIDE_EFFECTS__ */
2126
+ function Ir(e, t, n) {
2127
+ return new e({
2128
+ type: "custom",
2129
+ check: "custom",
2130
+ fn: t,
2131
+ ...y(n)
2132
+ });
2133
+ }
2134
+ /* @__NO_SIDE_EFFECTS__ */
2135
+ function Lr(e) {
2136
+ let t = /* @__PURE__ */ Rr((n) => (n.addIssue = (e) => {
2137
+ if (typeof e == "string") n.issues.push(T(e, n.value, t._zod.def));
2138
+ else {
2139
+ let r = e;
2140
+ r.fatal && (r.continue = !1), r.code ??= "custom", r.input ??= n.value, r.inst ??= t, r.continue ??= !t._zod.def.abort, n.issues.push(T(r));
2141
+ }
2142
+ }, e(n.value, n)));
2143
+ return t;
2144
+ }
2145
+ /* @__NO_SIDE_EFFECTS__ */
2146
+ function Rr(e, t) {
2147
+ let n = new A({
2148
+ check: "custom",
2149
+ ...y(t)
2150
+ });
2151
+ return n._zod.check = e, n;
2152
+ }
2153
+ //#endregion
2154
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
2155
+ function U(e) {
2156
+ let t = e?.target ?? "draft-2020-12";
2157
+ return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
2158
+ processors: e.processors ?? {},
2159
+ metadataRegistry: e?.metadata ?? R,
2160
+ target: t,
2161
+ unrepresentable: e?.unrepresentable ?? "throw",
2162
+ override: e?.override ?? (() => {}),
2163
+ io: e?.io ?? "output",
2164
+ counter: 0,
2165
+ seen: /* @__PURE__ */ new Map(),
2166
+ cycles: e?.cycles ?? "ref",
2167
+ reused: e?.reused ?? "inline",
2168
+ external: e?.external ?? void 0
2169
+ };
2170
+ }
2171
+ function W(e, t, n = {
2172
+ path: [],
2173
+ schemaPath: []
2174
+ }) {
2175
+ var r;
2176
+ let i = e._zod.def, a = t.seen.get(e);
2177
+ if (a) return a.count++, n.schemaPath.includes(e) && (a.cycle = n.path), a.schema;
2178
+ let o = {
2179
+ schema: {},
2180
+ count: 1,
2181
+ cycle: void 0,
2182
+ path: n.path
2183
+ };
2184
+ t.seen.set(e, o);
2185
+ let s = e._zod.toJSONSchema?.();
2186
+ if (s) o.schema = s;
2187
+ else {
2188
+ let r = {
2189
+ ...n,
2190
+ schemaPath: [...n.schemaPath, e],
2191
+ path: n.path
2192
+ };
2193
+ if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, o.schema, r);
2194
+ else {
2195
+ let n = o.schema, a = t.processors[i.type];
2196
+ if (!a) throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);
2197
+ a(e, t, n, r);
2198
+ }
2199
+ let a = e._zod.parent;
2200
+ a && (o.ref ||= a, W(a, t, r), t.seen.get(a).isParent = !0);
2201
+ }
2202
+ let c = t.metadataRegistry.get(e);
2203
+ return c && Object.assign(o.schema, c), t.io === "input" && q(e) && (delete o.schema.examples, delete o.schema.default), t.io === "input" && o.schema._prefault && ((r = o.schema).default ?? (r.default = o.schema._prefault)), delete o.schema._prefault, t.seen.get(e).schema;
2204
+ }
2205
+ function G(e, t) {
2206
+ let n = e.seen.get(t);
2207
+ if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
2208
+ let r = /* @__PURE__ */ new Map();
2209
+ for (let t of e.seen.entries()) {
2210
+ let n = e.metadataRegistry.get(t[0])?.id;
2211
+ if (n) {
2212
+ let e = r.get(n);
2213
+ if (e && e !== t[0]) throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
2214
+ r.set(n, t[0]);
2215
+ }
2216
+ }
2217
+ let i = (t) => {
2218
+ let r = e.target === "draft-2020-12" ? "$defs" : "definitions";
2219
+ if (e.external) {
2220
+ let n = e.external.registry.get(t[0])?.id, i = e.external.uri ?? ((e) => e);
2221
+ if (n) return { ref: i(n) };
2222
+ let a = t[1].defId ?? t[1].schema.id ?? `schema${e.counter++}`;
2223
+ return t[1].defId = a, {
2224
+ defId: a,
2225
+ ref: `${i("__shared")}#/${r}/${a}`
2226
+ };
2227
+ }
2228
+ if (t[1] === n) return { ref: "#" };
2229
+ let i = `#/${r}/`, a = t[1].schema.id ?? `__schema${e.counter++}`;
2230
+ return {
2231
+ defId: a,
2232
+ ref: i + a
2233
+ };
2234
+ }, a = (e) => {
2235
+ if (e[1].schema.$ref) return;
2236
+ let t = e[1], { ref: n, defId: r } = i(e);
2237
+ t.def = { ...t.schema }, r && (t.defId = r);
2238
+ let a = t.schema;
2239
+ for (let e in a) delete a[e];
2240
+ a.$ref = n;
2241
+ };
2242
+ if (e.cycles === "throw") for (let t of e.seen.entries()) {
2243
+ let e = t[1];
2244
+ if (e.cycle) throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
2245
+
2246
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
2247
+ }
2248
+ for (let n of e.seen.entries()) {
2249
+ let r = n[1];
2250
+ if (t === n[0]) {
2251
+ a(n);
2252
+ continue;
2253
+ }
2254
+ if (e.external) {
2255
+ let r = e.external.registry.get(n[0])?.id;
2256
+ if (t !== n[0] && r) {
2257
+ a(n);
2258
+ continue;
2259
+ }
2260
+ }
2261
+ if (e.metadataRegistry.get(n[0])?.id) {
2262
+ a(n);
2263
+ continue;
2264
+ }
2265
+ if (r.cycle) {
2266
+ a(n);
2267
+ continue;
2268
+ }
2269
+ if (r.count > 1 && e.reused === "ref") {
2270
+ a(n);
2271
+ continue;
2272
+ }
2273
+ }
2274
+ }
2275
+ function K(e, t) {
2276
+ let n = e.seen.get(t);
2277
+ if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
2278
+ let r = (t) => {
2279
+ let n = e.seen.get(t);
2280
+ if (n.ref === null) return;
2281
+ let i = n.def ?? n.schema, a = { ...i }, o = n.ref;
2282
+ if (n.ref = null, o) {
2283
+ r(o);
2284
+ let n = e.seen.get(o), s = n.schema;
2285
+ if (s.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (i.allOf = i.allOf ?? [], i.allOf.push(s)) : Object.assign(i, s), Object.assign(i, a), t._zod.parent === o) for (let e in i) e === "$ref" || e === "allOf" || e in a || delete i[e];
2286
+ if (s.$ref && n.def) for (let e in i) e === "$ref" || e === "allOf" || e in n.def && JSON.stringify(i[e]) === JSON.stringify(n.def[e]) && delete i[e];
2287
+ }
2288
+ let s = t._zod.parent;
2289
+ if (s && s !== o) {
2290
+ r(s);
2291
+ let t = e.seen.get(s);
2292
+ if (t?.schema.$ref && (i.$ref = t.schema.$ref, t.def)) for (let e in i) e === "$ref" || e === "allOf" || e in t.def && JSON.stringify(i[e]) === JSON.stringify(t.def[e]) && delete i[e];
2293
+ }
2294
+ e.override({
2295
+ zodSchema: t,
2296
+ jsonSchema: i,
2297
+ path: n.path ?? []
2298
+ });
2299
+ };
2300
+ for (let t of [...e.seen.entries()].reverse()) r(t[0]);
2301
+ let i = {};
2302
+ if (e.target === "draft-2020-12" ? i.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? i.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? i.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
2303
+ let n = e.external.registry.get(t)?.id;
2304
+ if (!n) throw Error("Schema is missing an `id` property");
2305
+ i.$id = e.external.uri(n);
2306
+ }
2307
+ Object.assign(i, n.def ?? n.schema);
2308
+ let a = e.external?.defs ?? {};
2309
+ for (let t of e.seen.entries()) {
2310
+ let e = t[1];
2311
+ e.def && e.defId && (a[e.defId] = e.def);
2312
+ }
2313
+ e.external || Object.keys(a).length > 0 && (e.target === "draft-2020-12" ? i.$defs = a : i.definitions = a);
2314
+ try {
2315
+ let n = JSON.parse(JSON.stringify(i));
2316
+ return Object.defineProperty(n, "~standard", {
2317
+ value: {
2318
+ ...t["~standard"],
2319
+ jsonSchema: {
2320
+ input: J(t, "input", e.processors),
2321
+ output: J(t, "output", e.processors)
2322
+ }
2323
+ },
2324
+ enumerable: !1,
2325
+ writable: !1
2326
+ }), n;
2327
+ } catch {
2328
+ throw Error("Error converting schema to JSON.");
2329
+ }
2330
+ }
2331
+ function q(e, t) {
2332
+ let n = t ?? { seen: /* @__PURE__ */ new Set() };
2333
+ if (n.seen.has(e)) return !1;
2334
+ n.seen.add(e);
2335
+ let r = e._zod.def;
2336
+ if (r.type === "transform") return !0;
2337
+ if (r.type === "array") return q(r.element, n);
2338
+ if (r.type === "set") return q(r.valueType, n);
2339
+ if (r.type === "lazy") return q(r.getter(), n);
2340
+ if (r.type === "promise" || r.type === "optional" || r.type === "nonoptional" || r.type === "nullable" || r.type === "readonly" || r.type === "default" || r.type === "prefault") return q(r.innerType, n);
2341
+ if (r.type === "intersection") return q(r.left, n) || q(r.right, n);
2342
+ if (r.type === "record" || r.type === "map") return q(r.keyType, n) || q(r.valueType, n);
2343
+ if (r.type === "pipe") return q(r.in, n) || q(r.out, n);
2344
+ if (r.type === "object") {
2345
+ for (let e in r.shape) if (q(r.shape[e], n)) return !0;
2346
+ return !1;
2347
+ }
2348
+ if (r.type === "union") {
2349
+ for (let e of r.options) if (q(e, n)) return !0;
2350
+ return !1;
2351
+ }
2352
+ if (r.type === "tuple") {
2353
+ for (let e of r.items) if (q(e, n)) return !0;
2354
+ return !!(r.rest && q(r.rest, n));
2355
+ }
2356
+ return !1;
2357
+ }
2358
+ var zr = (e, t = {}) => (n) => {
2359
+ let r = U({
2360
+ ...n,
2361
+ processors: t
2362
+ });
2363
+ return W(e, r), G(r, e), K(r, e);
2364
+ }, J = (e, t, n = {}) => (r) => {
2365
+ let { libraryOptions: i, target: a } = r ?? {}, o = U({
2366
+ ...i ?? {},
2367
+ target: a,
2368
+ io: t,
2369
+ processors: n
2370
+ });
2371
+ return W(e, o), G(o, e), K(o, e);
2372
+ }, Br = {
2373
+ guid: "uuid",
2374
+ url: "uri",
2375
+ datetime: "date-time",
2376
+ json_string: "json-string",
2377
+ regex: ""
2378
+ }, Vr = (e, t, n, r) => {
2379
+ let i = n;
2380
+ i.type = "string";
2381
+ let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l } = e._zod.bag;
2382
+ if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = Br[s] ?? s, i.format === "" && delete i.format, s === "time" && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
2383
+ let e = [...c];
2384
+ e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
2385
+ ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
2386
+ pattern: e.source
2387
+ }))]);
2388
+ }
2389
+ }, Hr = (e, t, n, r) => {
2390
+ let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
2391
+ typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number", typeof u == "number" && (t.target === "draft-04" || t.target === "openapi-3.0" ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u), typeof a == "number" && (i.minimum = a, typeof u == "number" && t.target !== "draft-04" && (u >= a ? delete i.minimum : delete i.exclusiveMinimum)), typeof l == "number" && (t.target === "draft-04" || t.target === "openapi-3.0" ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l), typeof o == "number" && (i.maximum = o, typeof l == "number" && t.target !== "draft-04" && (l <= o ? delete i.maximum : delete i.exclusiveMaximum)), typeof c == "number" && (i.multipleOf = c);
2392
+ }, Ur = (e, t, n, r) => {
2393
+ n.type = "boolean";
2394
+ }, Wr = (e, t, n, r) => {
2395
+ if (t.unrepresentable === "throw") throw Error("BigInt cannot be represented in JSON Schema");
2396
+ }, Gr = (e, t, n, r) => {
2397
+ if (t.unrepresentable === "throw") throw Error("Symbols cannot be represented in JSON Schema");
2398
+ }, Kr = (e, t, n, r) => {
2399
+ t.target === "openapi-3.0" ? (n.type = "string", n.nullable = !0, n.enum = [null]) : n.type = "null";
2400
+ }, qr = (e, t, n, r) => {
2401
+ if (t.unrepresentable === "throw") throw Error("Undefined cannot be represented in JSON Schema");
2402
+ }, Jr = (e, t, n, r) => {
2403
+ if (t.unrepresentable === "throw") throw Error("Void cannot be represented in JSON Schema");
2404
+ }, Yr = (e, t, n, r) => {
2405
+ n.not = {};
2406
+ }, Xr = (e, t, n, r) => {}, Zr = (e, t, n, r) => {}, Qr = (e, t, n, r) => {
2407
+ if (t.unrepresentable === "throw") throw Error("Date cannot be represented in JSON Schema");
2408
+ }, $r = (e, t, n, r) => {
2409
+ let i = e._zod.def, o = a(i.entries);
2410
+ o.every((e) => typeof e == "number") && (n.type = "number"), o.every((e) => typeof e == "string") && (n.type = "string"), n.enum = o;
2411
+ }, ei = (e, t, n, r) => {
2412
+ let i = e._zod.def, a = [];
2413
+ for (let e of i.values) if (e === void 0) {
2414
+ if (t.unrepresentable === "throw") throw Error("Literal `undefined` cannot be represented in JSON Schema");
2415
+ } else if (typeof e == "bigint") {
2416
+ if (t.unrepresentable === "throw") throw Error("BigInt literals cannot be represented in JSON Schema");
2417
+ a.push(Number(e));
2418
+ } else a.push(e);
2419
+ if (a.length !== 0) if (a.length === 1) {
2420
+ let e = a[0];
2421
+ n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
2422
+ } else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
2423
+ }, ti = (e, t, n, r) => {
2424
+ if (t.unrepresentable === "throw") throw Error("NaN cannot be represented in JSON Schema");
2425
+ }, ni = (e, t, n, r) => {
2426
+ let i = n, a = e._zod.pattern;
2427
+ if (!a) throw Error("Pattern not found in template literal");
2428
+ i.type = "string", i.pattern = a.source;
2429
+ }, ri = (e, t, n, r) => {
2430
+ let i = n, a = {
2431
+ type: "string",
2432
+ format: "binary",
2433
+ contentEncoding: "binary"
2434
+ }, { minimum: o, maximum: s, mime: c } = e._zod.bag;
2435
+ o !== void 0 && (a.minLength = o), s !== void 0 && (a.maxLength = s), c ? c.length === 1 ? (a.contentMediaType = c[0], Object.assign(i, a)) : (Object.assign(i, a), i.anyOf = c.map((e) => ({ contentMediaType: e }))) : Object.assign(i, a);
2436
+ }, ii = (e, t, n, r) => {
2437
+ n.type = "boolean";
2438
+ }, ai = (e, t, n, r) => {
2439
+ if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
2440
+ }, oi = (e, t, n, r) => {
2441
+ if (t.unrepresentable === "throw") throw Error("Function types cannot be represented in JSON Schema");
2442
+ }, si = (e, t, n, r) => {
2443
+ if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
2444
+ }, ci = (e, t, n, r) => {
2445
+ if (t.unrepresentable === "throw") throw Error("Map cannot be represented in JSON Schema");
2446
+ }, li = (e, t, n, r) => {
2447
+ if (t.unrepresentable === "throw") throw Error("Set cannot be represented in JSON Schema");
2448
+ }, ui = (e, t, n, r) => {
2449
+ let i = n, a = e._zod.def, { minimum: o, maximum: s } = e._zod.bag;
2450
+ typeof o == "number" && (i.minItems = o), typeof s == "number" && (i.maxItems = s), i.type = "array", i.items = W(a.element, t, {
2451
+ ...r,
2452
+ path: [...r.path, "items"]
2453
+ });
2454
+ }, di = (e, t, n, r) => {
2455
+ let i = n, a = e._zod.def;
2456
+ i.type = "object", i.properties = {};
2457
+ let o = a.shape;
2458
+ for (let e in o) i.properties[e] = W(o[e], t, {
2459
+ ...r,
2460
+ path: [
2461
+ ...r.path,
2462
+ "properties",
2463
+ e
2464
+ ]
2465
+ });
2466
+ let s = new Set(Object.keys(o)), c = new Set([...s].filter((e) => {
2467
+ let n = a.shape[e]._zod;
2468
+ return t.io === "input" ? n.optin === void 0 : n.optout === void 0;
2469
+ }));
2470
+ c.size > 0 && (i.required = Array.from(c)), a.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : a.catchall ? a.catchall && (i.additionalProperties = W(a.catchall, t, {
2471
+ ...r,
2472
+ path: [...r.path, "additionalProperties"]
2473
+ })) : t.io === "output" && (i.additionalProperties = !1);
2474
+ }, fi = (e, t, n, r) => {
2475
+ let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => W(e, t, {
2476
+ ...r,
2477
+ path: [
2478
+ ...r.path,
2479
+ a ? "oneOf" : "anyOf",
2480
+ n
2481
+ ]
2482
+ }));
2483
+ a ? n.oneOf = o : n.anyOf = o;
2484
+ }, pi = (e, t, n, r) => {
2485
+ let i = e._zod.def, a = W(i.left, t, {
2486
+ ...r,
2487
+ path: [
2488
+ ...r.path,
2489
+ "allOf",
2490
+ 0
2491
+ ]
2492
+ }), o = W(i.right, t, {
2493
+ ...r,
2494
+ path: [
2495
+ ...r.path,
2496
+ "allOf",
2497
+ 1
2498
+ ]
2499
+ }), s = (e) => "allOf" in e && Object.keys(e).length === 1;
2500
+ n.allOf = [...s(a) ? a.allOf : [a], ...s(o) ? o.allOf : [o]];
2501
+ }, mi = (e, t, n, r) => {
2502
+ let i = n, a = e._zod.def;
2503
+ i.type = "array";
2504
+ let o = t.target === "draft-2020-12" ? "prefixItems" : "items", s = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", c = a.items.map((e, n) => W(e, t, {
2505
+ ...r,
2506
+ path: [
2507
+ ...r.path,
2508
+ o,
2509
+ n
2510
+ ]
2511
+ })), l = a.rest ? W(a.rest, t, {
2512
+ ...r,
2513
+ path: [
2514
+ ...r.path,
2515
+ s,
2516
+ ...t.target === "openapi-3.0" ? [a.items.length] : []
2517
+ ]
2518
+ }) : null;
2519
+ t.target === "draft-2020-12" ? (i.prefixItems = c, l && (i.items = l)) : t.target === "openapi-3.0" ? (i.items = { anyOf: c }, l && i.items.anyOf.push(l), i.minItems = c.length, l || (i.maxItems = c.length)) : (i.items = c, l && (i.additionalItems = l));
2520
+ let { minimum: u, maximum: d } = e._zod.bag;
2521
+ typeof u == "number" && (i.minItems = u), typeof d == "number" && (i.maxItems = d);
2522
+ }, hi = (e, t, n, r) => {
2523
+ let i = n, a = e._zod.def;
2524
+ i.type = "object";
2525
+ let o = a.keyType, s = o._zod.bag?.patterns;
2526
+ if (a.mode === "loose" && s && s.size > 0) {
2527
+ let e = W(a.valueType, t, {
2528
+ ...r,
2529
+ path: [
2530
+ ...r.path,
2531
+ "patternProperties",
2532
+ "*"
2533
+ ]
2534
+ });
2535
+ i.patternProperties = {};
2536
+ for (let t of s) i.patternProperties[t.source] = e;
2537
+ } else (t.target === "draft-07" || t.target === "draft-2020-12") && (i.propertyNames = W(a.keyType, t, {
2538
+ ...r,
2539
+ path: [...r.path, "propertyNames"]
2540
+ })), i.additionalProperties = W(a.valueType, t, {
2541
+ ...r,
2542
+ path: [...r.path, "additionalProperties"]
2543
+ });
2544
+ let c = o._zod.values;
2545
+ if (c) {
2546
+ let e = [...c].filter((e) => typeof e == "string" || typeof e == "number");
2547
+ e.length > 0 && (i.required = e);
2548
+ }
2549
+ }, gi = (e, t, n, r) => {
2550
+ let i = e._zod.def, a = W(i.innerType, t, r), o = t.seen.get(e);
2551
+ t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
2552
+ }, _i = (e, t, n, r) => {
2553
+ let i = e._zod.def;
2554
+ W(i.innerType, t, r);
2555
+ let a = t.seen.get(e);
2556
+ a.ref = i.innerType;
2557
+ }, vi = (e, t, n, r) => {
2558
+ let i = e._zod.def;
2559
+ W(i.innerType, t, r);
2560
+ let a = t.seen.get(e);
2561
+ a.ref = i.innerType, n.default = JSON.parse(JSON.stringify(i.defaultValue));
2562
+ }, yi = (e, t, n, r) => {
2563
+ let i = e._zod.def;
2564
+ W(i.innerType, t, r);
2565
+ let a = t.seen.get(e);
2566
+ a.ref = i.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(i.defaultValue)));
2567
+ }, bi = (e, t, n, r) => {
2568
+ let i = e._zod.def;
2569
+ W(i.innerType, t, r);
2570
+ let a = t.seen.get(e);
2571
+ a.ref = i.innerType;
2572
+ let o;
2573
+ try {
2574
+ o = i.catchValue(void 0);
2575
+ } catch {
2576
+ throw Error("Dynamic catch values are not supported in JSON Schema");
2577
+ }
2578
+ n.default = o;
2579
+ }, xi = (e, t, n, r) => {
2580
+ let i = e._zod.def, a = t.io === "input" ? i.in._zod.def.type === "transform" ? i.out : i.in : i.out;
2581
+ W(a, t, r);
2582
+ let o = t.seen.get(e);
2583
+ o.ref = a;
2584
+ }, Si = (e, t, n, r) => {
2585
+ let i = e._zod.def;
2586
+ W(i.innerType, t, r);
2587
+ let a = t.seen.get(e);
2588
+ a.ref = i.innerType, n.readOnly = !0;
2589
+ }, Ci = (e, t, n, r) => {
2590
+ let i = e._zod.def;
2591
+ W(i.innerType, t, r);
2592
+ let a = t.seen.get(e);
2593
+ a.ref = i.innerType;
2594
+ }, Y = (e, t, n, r) => {
2595
+ let i = e._zod.def;
2596
+ W(i.innerType, t, r);
2597
+ let a = t.seen.get(e);
2598
+ a.ref = i.innerType;
2599
+ }, wi = (e, t, n, r) => {
2600
+ let i = e._zod.innerType;
2601
+ W(i, t, r);
2602
+ let a = t.seen.get(e);
2603
+ a.ref = i;
2604
+ }, Ti = {
2605
+ string: Vr,
2606
+ number: Hr,
2607
+ boolean: Ur,
2608
+ bigint: Wr,
2609
+ symbol: Gr,
2610
+ null: Kr,
2611
+ undefined: qr,
2612
+ void: Jr,
2613
+ never: Yr,
2614
+ any: Xr,
2615
+ unknown: Zr,
2616
+ date: Qr,
2617
+ enum: $r,
2618
+ literal: ei,
2619
+ nan: ti,
2620
+ template_literal: ni,
2621
+ file: ri,
2622
+ success: ii,
2623
+ custom: ai,
2624
+ function: oi,
2625
+ transform: si,
2626
+ map: ci,
2627
+ set: li,
2628
+ array: ui,
2629
+ object: di,
2630
+ union: fi,
2631
+ intersection: pi,
2632
+ tuple: mi,
2633
+ record: hi,
2634
+ nullable: gi,
2635
+ nonoptional: _i,
2636
+ default: vi,
2637
+ prefault: yi,
2638
+ catch: bi,
2639
+ pipe: xi,
2640
+ readonly: Si,
2641
+ promise: Ci,
2642
+ optional: Y,
2643
+ lazy: wi
2644
+ };
2645
+ function Ei(e, t) {
2646
+ if ("_idmap" in e) {
2647
+ let n = e, r = U({
2648
+ ...t,
2649
+ processors: Ti
2650
+ }), i = {};
2651
+ for (let e of n._idmap.entries()) {
2652
+ let [t, n] = e;
2653
+ W(n, r);
2654
+ }
2655
+ let a = {};
2656
+ r.external = {
2657
+ registry: n,
2658
+ uri: t?.uri,
2659
+ defs: i
2660
+ };
2661
+ for (let e of n._idmap.entries()) {
2662
+ let [t, n] = e;
2663
+ G(r, n), a[t] = K(r, n);
2664
+ }
2665
+ return Object.keys(i).length > 0 && (a.__shared = { [r.target === "draft-2020-12" ? "$defs" : "definitions"]: i }), { schemas: a };
2666
+ }
2667
+ let n = U({
2668
+ ...t,
2669
+ processors: Ti
2670
+ });
2671
+ return W(e, n), G(n, e), K(n, e);
2672
+ }
2673
+ //#endregion
2674
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js
2675
+ var Di = /* @__PURE__ */ e("ZodISODateTime", (e, t) => {
2676
+ Ft.init(e, t), Q.init(e, t);
2677
+ });
2678
+ function Oi(e) {
2679
+ return /* @__PURE__ */ sr(Di, e);
2680
+ }
2681
+ var ki = /* @__PURE__ */ e("ZodISODate", (e, t) => {
2682
+ It.init(e, t), Q.init(e, t);
2683
+ });
2684
+ function Ai(e) {
2685
+ return /* @__PURE__ */ cr(ki, e);
2686
+ }
2687
+ var ji = /* @__PURE__ */ e("ZodISOTime", (e, t) => {
2688
+ Lt.init(e, t), Q.init(e, t);
2689
+ });
2690
+ function Mi(e) {
2691
+ return /* @__PURE__ */ lr(ji, e);
2692
+ }
2693
+ var Ni = /* @__PURE__ */ e("ZodISODuration", (e, t) => {
2694
+ Rt.init(e, t), Q.init(e, t);
2695
+ });
2696
+ function Pi(e) {
2697
+ return /* @__PURE__ */ ur(Ni, e);
2698
+ }
2699
+ //#endregion
2700
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js
2701
+ var Fi = (e, t) => {
2702
+ E.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2703
+ format: { value: (t) => ve(e, t) },
2704
+ flatten: { value: (t) => _e(e, t) },
2705
+ addIssue: { value: (t) => {
2706
+ e.issues.push(t), e.message = JSON.stringify(e.issues, o, 2);
2707
+ } },
2708
+ addIssues: { value: (t) => {
2709
+ e.issues.push(...t), e.message = JSON.stringify(e.issues, o, 2);
2710
+ } },
2711
+ isEmpty: { get() {
2712
+ return e.issues.length === 0;
2713
+ } }
2714
+ });
2715
+ };
2716
+ e("ZodError", Fi);
2717
+ var X = e("ZodError", Fi, { Parent: Error }), Ii = /* @__PURE__ */ ye(X), Li = /* @__PURE__ */ D(X), Ri = /* @__PURE__ */ O(X), zi = /* @__PURE__ */ k(X), Bi = /* @__PURE__ */ Se(X), Vi = /* @__PURE__ */ Ce(X), Hi = /* @__PURE__ */ we(X), Ui = /* @__PURE__ */ Te(X), Wi = /* @__PURE__ */ Ee(X), Gi = /* @__PURE__ */ De(X), Ki = /* @__PURE__ */ Oe(X), qi = /* @__PURE__ */ ke(X), Z = /* @__PURE__ */ e("ZodType", (e, t) => (M.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
2718
+ input: J(e, "input"),
2719
+ output: J(e, "output")
2720
+ } }), e.toJSONSchema = zr(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(m(t, { checks: [...t.checks ?? [], ...n.map((e) => typeof e == "function" ? { _zod: {
2721
+ check: e,
2722
+ def: { check: "custom" },
2723
+ onattach: []
2724
+ } } : e)] }), { parent: !0 }), e.with = e.check, e.clone = (t, n) => v(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => Ii(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Ri(e, t, n), e.parseAsync = async (t, n) => Li(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => zi(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => Bi(e, t, n), e.decode = (t, n) => Vi(e, t, n), e.encodeAsync = async (t, n) => Hi(e, t, n), e.decodeAsync = async (t, n) => Ui(e, t, n), e.safeEncode = (t, n) => Wi(e, t, n), e.safeDecode = (t, n) => Gi(e, t, n), e.safeEncodeAsync = async (t, n) => Ki(e, t, n), e.safeDecodeAsync = async (t, n) => qi(e, t, n), e.refine = (t, n) => e.check(vo(t, n)), e.superRefine = (t) => e.check(yo(t)), e.overwrite = (t) => e.check(/* @__PURE__ */ H(t)), e.optional = () => Xa(e), e.exactOptional = () => Qa(e), e.nullable = () => eo(e), e.nullish = () => Xa(eo(e)), e.nonoptional = (t) => oo(e, t), e.array = () => ja(e), e.or = (t) => Ia([e, t]), e.and = (t) => Ba(e, t), e.transform = (t) => uo(e, Ja(t)), e.default = (t) => no(e, t), e.prefault = (t) => io(e, t), e.catch = (t) => co(e, t), e.pipe = (t) => uo(e, t), e.readonly = () => po(e), e.describe = (t) => {
2725
+ let n = e.clone();
2726
+ return R.add(n, { description: t }), n;
2727
+ }, Object.defineProperty(e, "description", {
2728
+ get() {
2729
+ return R.get(e)?.description;
2730
+ },
2731
+ configurable: !0
2732
+ }), e.meta = (...t) => {
2733
+ if (t.length === 0) return R.get(e);
2734
+ let n = e.clone();
2735
+ return R.add(n, t[0]), n;
2736
+ }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (t) => t(e), e)), Ji = /* @__PURE__ */ e("_ZodString", (e, t) => {
2737
+ N.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vr(e, t, n, r);
2738
+ let n = e._zod.bag;
2739
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...t) => e.check(/* @__PURE__ */ Cr(...t)), e.includes = (...t) => e.check(/* @__PURE__ */ Er(...t)), e.startsWith = (...t) => e.check(/* @__PURE__ */ Dr(...t)), e.endsWith = (...t) => e.check(/* @__PURE__ */ Or(...t)), e.min = (...t) => e.check(/* @__PURE__ */ V(...t)), e.max = (...t) => e.check(/* @__PURE__ */ xr(...t)), e.length = (...t) => e.check(/* @__PURE__ */ Sr(...t)), e.nonempty = (...t) => e.check(/* @__PURE__ */ V(1, ...t)), e.lowercase = (t) => e.check(/* @__PURE__ */ wr(t)), e.uppercase = (t) => e.check(/* @__PURE__ */ Tr(t)), e.trim = () => e.check(/* @__PURE__ */ Ar()), e.normalize = (...t) => e.check(/* @__PURE__ */ kr(...t)), e.toLowerCase = () => e.check(/* @__PURE__ */ jr()), e.toUpperCase = () => e.check(/* @__PURE__ */ Mr()), e.slugify = () => e.check(/* @__PURE__ */ Nr());
2740
+ }), Yi = /* @__PURE__ */ e("ZodString", (e, t) => {
2741
+ N.init(e, t), Ji.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ zn(Zi, t)), e.url = (t) => e.check(/* @__PURE__ */ Gn(ea, t)), e.jwt = (t) => e.check(/* @__PURE__ */ or(ga, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Kn(na, t)), e.guid = (t) => e.check(/* @__PURE__ */ Bn($i, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Vn($, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Hn($, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Un($, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Wn($, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ qn(ra, t)), e.guid = (t) => e.check(/* @__PURE__ */ Bn($i, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Jn(ia, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Yn(aa, t)), e.ulid = (t) => e.check(/* @__PURE__ */ Xn(oa, t)), e.base64 = (t) => e.check(/* @__PURE__ */ rr(pa, t)), e.base64url = (t) => e.check(/* @__PURE__ */ ir(ma, t)), e.xid = (t) => e.check(/* @__PURE__ */ Zn(sa, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ Qn(ca, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ $n(la, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ er(ua, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ tr(da, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ nr(fa, t)), e.e164 = (t) => e.check(/* @__PURE__ */ ar(ha, t)), e.datetime = (t) => e.check(Oi(t)), e.date = (t) => e.check(Ai(t)), e.time = (t) => e.check(Mi(t)), e.duration = (t) => e.check(Pi(t));
2742
+ });
2743
+ function Xi(e) {
2744
+ return /* @__PURE__ */ Rn(Yi, e);
2745
+ }
2746
+ var Q = /* @__PURE__ */ e("ZodStringFormat", (e, t) => {
2747
+ P.init(e, t), Ji.init(e, t);
2748
+ }), Zi = /* @__PURE__ */ e("ZodEmail", (e, t) => {
2749
+ Et.init(e, t), Q.init(e, t);
2750
+ });
2751
+ function Qi(e) {
2752
+ return /* @__PURE__ */ zn(Zi, e);
2753
+ }
2754
+ var $i = /* @__PURE__ */ e("ZodGUID", (e, t) => {
2755
+ wt.init(e, t), Q.init(e, t);
2756
+ }), $ = /* @__PURE__ */ e("ZodUUID", (e, t) => {
2757
+ Tt.init(e, t), Q.init(e, t);
2758
+ }), ea = /* @__PURE__ */ e("ZodURL", (e, t) => {
2759
+ Dt.init(e, t), Q.init(e, t);
2760
+ });
2761
+ function ta(e) {
2762
+ return /* @__PURE__ */ Gn(ea, e);
2763
+ }
2764
+ var na = /* @__PURE__ */ e("ZodEmoji", (e, t) => {
2765
+ Ot.init(e, t), Q.init(e, t);
2766
+ }), ra = /* @__PURE__ */ e("ZodNanoID", (e, t) => {
2767
+ kt.init(e, t), Q.init(e, t);
2768
+ }), ia = /* @__PURE__ */ e("ZodCUID", (e, t) => {
2769
+ At.init(e, t), Q.init(e, t);
2770
+ }), aa = /* @__PURE__ */ e("ZodCUID2", (e, t) => {
2771
+ jt.init(e, t), Q.init(e, t);
2772
+ }), oa = /* @__PURE__ */ e("ZodULID", (e, t) => {
2773
+ Mt.init(e, t), Q.init(e, t);
2774
+ }), sa = /* @__PURE__ */ e("ZodXID", (e, t) => {
2775
+ Nt.init(e, t), Q.init(e, t);
2776
+ }), ca = /* @__PURE__ */ e("ZodKSUID", (e, t) => {
2777
+ Pt.init(e, t), Q.init(e, t);
2778
+ }), la = /* @__PURE__ */ e("ZodIPv4", (e, t) => {
2779
+ zt.init(e, t), Q.init(e, t);
2780
+ }), ua = /* @__PURE__ */ e("ZodIPv6", (e, t) => {
2781
+ Bt.init(e, t), Q.init(e, t);
2782
+ }), da = /* @__PURE__ */ e("ZodCIDRv4", (e, t) => {
2783
+ Vt.init(e, t), Q.init(e, t);
2784
+ }), fa = /* @__PURE__ */ e("ZodCIDRv6", (e, t) => {
2785
+ Ht.init(e, t), Q.init(e, t);
2786
+ }), pa = /* @__PURE__ */ e("ZodBase64", (e, t) => {
2787
+ Wt.init(e, t), Q.init(e, t);
2788
+ }), ma = /* @__PURE__ */ e("ZodBase64URL", (e, t) => {
2789
+ Kt.init(e, t), Q.init(e, t);
2790
+ }), ha = /* @__PURE__ */ e("ZodE164", (e, t) => {
2791
+ qt.init(e, t), Q.init(e, t);
2792
+ }), ga = /* @__PURE__ */ e("ZodJWT", (e, t) => {
2793
+ Yt.init(e, t), Q.init(e, t);
2794
+ }), _a = /* @__PURE__ */ e("ZodNumber", (e, t) => {
2795
+ Xt.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hr(e, t, n, r), e.gt = (t, n) => e.check(/* @__PURE__ */ yr(t, n)), e.gte = (t, n) => e.check(/* @__PURE__ */ B(t, n)), e.min = (t, n) => e.check(/* @__PURE__ */ B(t, n)), e.lt = (t, n) => e.check(/* @__PURE__ */ vr(t, n)), e.lte = (t, n) => e.check(/* @__PURE__ */ z(t, n)), e.max = (t, n) => e.check(/* @__PURE__ */ z(t, n)), e.int = (t) => e.check(ba(t)), e.safe = (t) => e.check(ba(t)), e.positive = (t) => e.check(/* @__PURE__ */ yr(0, t)), e.nonnegative = (t) => e.check(/* @__PURE__ */ B(0, t)), e.negative = (t) => e.check(/* @__PURE__ */ vr(0, t)), e.nonpositive = (t) => e.check(/* @__PURE__ */ z(0, t)), e.multipleOf = (t, n) => e.check(/* @__PURE__ */ br(t, n)), e.step = (t, n) => e.check(/* @__PURE__ */ br(t, n)), e.finite = () => e;
2796
+ let n = e._zod.bag;
2797
+ e.minValue = Math.max(n.minimum ?? -Infinity, n.exclusiveMinimum ?? -Infinity) ?? null, e.maxValue = Math.min(n.maximum ?? Infinity, n.exclusiveMaximum ?? Infinity) ?? null, e.isInt = (n.format ?? "").includes("int") || Number.isSafeInteger(n.multipleOf ?? .5), e.isFinite = !0, e.format = n.format ?? null;
2798
+ });
2799
+ function va(e) {
2800
+ return /* @__PURE__ */ dr(_a, e);
2801
+ }
2802
+ var ya = /* @__PURE__ */ e("ZodNumberFormat", (e, t) => {
2803
+ Zt.init(e, t), _a.init(e, t);
2804
+ });
2805
+ function ba(e) {
2806
+ return /* @__PURE__ */ fr(ya, e);
2807
+ }
2808
+ var xa = /* @__PURE__ */ e("ZodBoolean", (e, t) => {
2809
+ Qt.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ur(e, t, n, r);
2810
+ });
2811
+ function Sa(e) {
2812
+ return /* @__PURE__ */ pr(xa, e);
2813
+ }
2814
+ var Ca = /* @__PURE__ */ e("ZodNull", (e, t) => {
2815
+ $t.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Kr(e, t, n, r);
2816
+ });
2817
+ function wa(e) {
2818
+ return /* @__PURE__ */ mr(Ca, e);
2819
+ }
2820
+ var Ta = /* @__PURE__ */ e("ZodUnknown", (e, t) => {
2821
+ en.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
2822
+ });
2823
+ function Ea() {
2824
+ return /* @__PURE__ */ hr(Ta);
2825
+ }
2826
+ var Da = /* @__PURE__ */ e("ZodNever", (e, t) => {
2827
+ tn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Yr(e, t, n, r);
2828
+ });
2829
+ function Oa(e) {
2830
+ return /* @__PURE__ */ gr(Da, e);
2831
+ }
2832
+ var ka = /* @__PURE__ */ e("ZodDate", (e, t) => {
2833
+ nn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Qr(e, t, n, r), e.min = (t, n) => e.check(/* @__PURE__ */ B(t, n)), e.max = (t, n) => e.check(/* @__PURE__ */ z(t, n));
2834
+ let n = e._zod.bag;
2835
+ e.minDate = n.minimum ? new Date(n.minimum) : null, e.maxDate = n.maximum ? new Date(n.maximum) : null;
2836
+ }), Aa = /* @__PURE__ */ e("ZodArray", (e, t) => {
2837
+ an.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => ui(e, t, n, r), e.element = t.element, e.min = (t, n) => e.check(/* @__PURE__ */ V(t, n)), e.nonempty = (t) => e.check(/* @__PURE__ */ V(1, t)), e.max = (t, n) => e.check(/* @__PURE__ */ xr(t, n)), e.length = (t, n) => e.check(/* @__PURE__ */ Sr(t, n)), e.unwrap = () => e.element;
2838
+ });
2839
+ function ja(e, t) {
2840
+ return /* @__PURE__ */ Pr(Aa, e, t);
2841
+ }
2842
+ var Ma = /* @__PURE__ */ e("ZodObject", (e, t) => {
2843
+ ln.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => di(e, t, n, r), f(e, "shape", () => t.shape), e.keyof = () => Wa(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({
2844
+ ...e._zod.def,
2845
+ catchall: t
2846
+ }), e.passthrough = () => e.clone({
2847
+ ...e._zod.def,
2848
+ catchall: Ea()
2849
+ }), e.loose = () => e.clone({
2850
+ ...e._zod.def,
2851
+ catchall: Ea()
2852
+ }), e.strict = () => e.clone({
2853
+ ...e._zod.def,
2854
+ catchall: Oa()
2855
+ }), e.strip = () => e.clone({
2856
+ ...e._zod.def,
2857
+ catchall: void 0
2858
+ }), e.extend = (t) => ue(e, t), e.safeExtend = (t) => de(e, t), e.merge = (t) => fe(e, t), e.pick = (t) => ce(e, t), e.omit = (t) => le(e, t), e.partial = (...t) => pe(Ya, e, t[0]), e.required = (...t) => me(ao, e, t[0]);
2859
+ });
2860
+ function Na(e, t) {
2861
+ return new Ma({
2862
+ type: "object",
2863
+ shape: e ?? {},
2864
+ ...y(t)
2865
+ });
2866
+ }
2867
+ function Pa(e, t) {
2868
+ return new Ma({
2869
+ type: "object",
2870
+ shape: e,
2871
+ catchall: Oa(),
2872
+ ...y(t)
2873
+ });
2874
+ }
2875
+ var Fa = /* @__PURE__ */ e("ZodUnion", (e, t) => {
2876
+ dn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => fi(e, t, n, r), e.options = t.options;
2877
+ });
2878
+ function Ia(e, t) {
2879
+ return new Fa({
2880
+ type: "union",
2881
+ options: e,
2882
+ ...y(t)
2883
+ });
2884
+ }
2885
+ var La = /* @__PURE__ */ e("ZodDiscriminatedUnion", (e, t) => {
2886
+ Fa.init(e, t), fn.init(e, t);
2887
+ });
2888
+ function Ra(e, t, n) {
2889
+ return new La({
2890
+ type: "union",
2891
+ options: t,
2892
+ discriminator: e,
2893
+ ...y(n)
2894
+ });
2895
+ }
2896
+ var za = /* @__PURE__ */ e("ZodIntersection", (e, t) => {
2897
+ pn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => pi(e, t, n, r);
2898
+ });
2899
+ function Ba(e, t) {
2900
+ return new za({
2901
+ type: "intersection",
2902
+ left: e,
2903
+ right: t
2904
+ });
2905
+ }
2906
+ var Va = /* @__PURE__ */ e("ZodRecord", (e, t) => {
2907
+ hn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => hi(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
2908
+ });
2909
+ function Ha(e, t, n) {
2910
+ return new Va({
2911
+ type: "record",
2912
+ keyType: e,
2913
+ valueType: t,
2914
+ ...y(n)
2915
+ });
2916
+ }
2917
+ var Ua = /* @__PURE__ */ e("ZodEnum", (e, t) => {
2918
+ gn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => $r(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
2919
+ let n = new Set(Object.keys(t.entries));
2920
+ e.extract = (e, r) => {
2921
+ let i = {};
2922
+ for (let r of e) if (n.has(r)) i[r] = t.entries[r];
2923
+ else throw Error(`Key ${r} not found in enum`);
2924
+ return new Ua({
2925
+ ...t,
2926
+ checks: [],
2927
+ ...y(r),
2928
+ entries: i
2929
+ });
2930
+ }, e.exclude = (e, r) => {
2931
+ let i = { ...t.entries };
2932
+ for (let t of e) if (n.has(t)) delete i[t];
2933
+ else throw Error(`Key ${t} not found in enum`);
2934
+ return new Ua({
2935
+ ...t,
2936
+ checks: [],
2937
+ ...y(r),
2938
+ entries: i
2939
+ });
2940
+ };
2941
+ });
2942
+ function Wa(e, t) {
2943
+ return new Ua({
2944
+ type: "enum",
2945
+ entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
2946
+ ...y(t)
2947
+ });
2948
+ }
2949
+ var Ga = /* @__PURE__ */ e("ZodLiteral", (e, t) => {
2950
+ _n.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => ei(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
2951
+ if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
2952
+ return t.values[0];
2953
+ } });
2954
+ });
2955
+ function Ka(e, t) {
2956
+ return new Ga({
2957
+ type: "literal",
2958
+ values: Array.isArray(e) ? e : [e],
2959
+ ...y(t)
2960
+ });
2961
+ }
2962
+ var qa = /* @__PURE__ */ e("ZodTransform", (e, t) => {
2963
+ vn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => si(e, t, n, r), e._zod.parse = (r, i) => {
2964
+ if (i.direction === "backward") throw new n(e.constructor.name);
2965
+ r.addIssue = (n) => {
2966
+ if (typeof n == "string") r.issues.push(T(n, r.value, t));
2967
+ else {
2968
+ let t = n;
2969
+ t.fatal && (t.continue = !1), t.code ??= "custom", t.input ??= r.value, t.inst ??= e, r.issues.push(T(t));
2970
+ }
2971
+ };
2972
+ let a = t.transform(r.value, r);
2973
+ return a instanceof Promise ? a.then((e) => (r.value = e, r)) : (r.value = a, r);
2974
+ };
2975
+ });
2976
+ function Ja(e) {
2977
+ return new qa({
2978
+ type: "transform",
2979
+ transform: e
2980
+ });
2981
+ }
2982
+ var Ya = /* @__PURE__ */ e("ZodOptional", (e, t) => {
2983
+ bn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Y(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2984
+ });
2985
+ function Xa(e) {
2986
+ return new Ya({
2987
+ type: "optional",
2988
+ innerType: e
2989
+ });
2990
+ }
2991
+ var Za = /* @__PURE__ */ e("ZodExactOptional", (e, t) => {
2992
+ xn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Y(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2993
+ });
2994
+ function Qa(e) {
2995
+ return new Za({
2996
+ type: "optional",
2997
+ innerType: e
2998
+ });
2999
+ }
3000
+ var $a = /* @__PURE__ */ e("ZodNullable", (e, t) => {
3001
+ Sn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => gi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3002
+ });
3003
+ function eo(e) {
3004
+ return new $a({
3005
+ type: "nullable",
3006
+ innerType: e
3007
+ });
3008
+ }
3009
+ var to = /* @__PURE__ */ e("ZodDefault", (e, t) => {
3010
+ Cn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => vi(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
3011
+ });
3012
+ function no(e, t) {
3013
+ return new to({
3014
+ type: "default",
3015
+ innerType: e,
3016
+ get defaultValue() {
3017
+ return typeof t == "function" ? t() : ie(t);
3018
+ }
3019
+ });
3020
+ }
3021
+ var ro = /* @__PURE__ */ e("ZodPrefault", (e, t) => {
3022
+ Tn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => yi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3023
+ });
3024
+ function io(e, t) {
3025
+ return new ro({
3026
+ type: "prefault",
3027
+ innerType: e,
3028
+ get defaultValue() {
3029
+ return typeof t == "function" ? t() : ie(t);
3030
+ }
3031
+ });
3032
+ }
3033
+ var ao = /* @__PURE__ */ e("ZodNonOptional", (e, t) => {
3034
+ En.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => _i(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3035
+ });
3036
+ function oo(e, t) {
3037
+ return new ao({
3038
+ type: "nonoptional",
3039
+ innerType: e,
3040
+ ...y(t)
3041
+ });
3042
+ }
3043
+ var so = /* @__PURE__ */ e("ZodCatch", (e, t) => {
3044
+ On.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => bi(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
3045
+ });
3046
+ function co(e, t) {
3047
+ return new so({
3048
+ type: "catch",
3049
+ innerType: e,
3050
+ catchValue: typeof t == "function" ? t : () => t
3051
+ });
3052
+ }
3053
+ var lo = /* @__PURE__ */ e("ZodPipe", (e, t) => {
3054
+ kn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => xi(e, t, n, r), e.in = t.in, e.out = t.out;
3055
+ });
3056
+ function uo(e, t) {
3057
+ return new lo({
3058
+ type: "pipe",
3059
+ in: e,
3060
+ out: t
3061
+ });
3062
+ }
3063
+ var fo = /* @__PURE__ */ e("ZodReadonly", (e, t) => {
3064
+ An.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => Si(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
3065
+ });
3066
+ function po(e) {
3067
+ return new fo({
3068
+ type: "readonly",
3069
+ innerType: e
3070
+ });
3071
+ }
3072
+ var mo = /* @__PURE__ */ e("ZodLazy", (e, t) => {
3073
+ Mn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => wi(e, t, n, r), e.unwrap = () => e._zod.def.getter();
3074
+ });
3075
+ function ho(e) {
3076
+ return new mo({
3077
+ type: "lazy",
3078
+ getter: e
3079
+ });
3080
+ }
3081
+ var go = /* @__PURE__ */ e("ZodCustom", (e, t) => {
3082
+ Nn.init(e, t), Z.init(e, t), e._zod.processJSONSchema = (t, n, r) => ai(e, t, n, r);
3083
+ });
3084
+ function _o(e, t) {
3085
+ return /* @__PURE__ */ Fr(go, e ?? (() => !0), t);
3086
+ }
3087
+ function vo(e, t = {}) {
3088
+ return /* @__PURE__ */ Ir(go, e, t);
3089
+ }
3090
+ function yo(e) {
3091
+ return /* @__PURE__ */ Lr(e);
3092
+ }
3093
+ function bo(e, t = {}) {
3094
+ let n = new go({
3095
+ type: "custom",
3096
+ check: "custom",
3097
+ fn: (t) => t instanceof e,
3098
+ abort: !0,
3099
+ ...y(t)
3100
+ });
3101
+ return n._zod.bag.Class = e, n._zod.check = (t) => {
3102
+ t.value instanceof e || t.issues.push({
3103
+ code: "invalid_type",
3104
+ expected: e.name,
3105
+ input: t.value,
3106
+ inst: n,
3107
+ path: [...n._zod.def.path ?? []]
3108
+ });
3109
+ }, n;
3110
+ }
3111
+ function xo(e, t) {
3112
+ return uo(Ja(e), t);
3113
+ }
3114
+ //#endregion
3115
+ export { Ei as C, E as D, xe as E, ve as O, zi as S, be as T, Pa as _, ja as a, Ea as b, Ra as c, Ka as d, Oa as f, Ha as g, xo as h, wa as i, Qi as l, Na as m, Wa as n, Sa as o, va as p, bo as r, _o as s, ka as t, ho as u, Xi as v, _r as w, ta as x, Ia as y };
3116
+
3117
+ //# sourceMappingURL=schemas-BzxsvNFR.js.map