@8wave/ai-elements 0.110.0 → 0.111.0-beta.11

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 (234) hide show
  1. package/README.md +1 -0
  2. package/dist/_chunks/{Agent-Su_LDF9_.js → Agent-tE7ZJPxG.js} +80 -78
  3. package/dist/_chunks/Agent-tE7ZJPxG.js.map +1 -0
  4. package/dist/_chunks/{Document-DecVclEe.js → Document-Bmx6774B.js} +33 -21
  5. package/dist/_chunks/Document-Bmx6774B.js.map +1 -0
  6. package/dist/_chunks/Media-Cft7Pwrh.js +108 -0
  7. package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -0
  8. package/dist/_chunks/{PkLazyImg-ClL4nr95.js → PkLazyImg-Dbj2dDXA.js} +2 -2
  9. package/dist/_chunks/{PkLazyImg-ClL4nr95.js.map → PkLazyImg-Dbj2dDXA.js.map} +1 -1
  10. package/dist/_chunks/{PkStreamingMarkdown-CwqsJnJJ.js → PkStreamingMarkdown-CNI8aV8t.js} +636 -427
  11. package/dist/_chunks/PkStreamingMarkdown-CNI8aV8t.js.map +1 -0
  12. package/dist/_chunks/{PkToolRequestGeolocation-CEVpl50q.js → PkToolRequestGeolocation-Bzy4IYSp.js} +4 -4
  13. package/dist/_chunks/PkToolRequestGeolocation-Bzy4IYSp.js.map +1 -0
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CncDU-Kl.js → PkToolRequestOAuthConnection-13CQH07t.js} +5 -5
  15. package/dist/_chunks/PkToolRequestOAuthConnection-13CQH07t.js.map +1 -0
  16. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js → PkToolShowArtifact-CGbHDEie.js} +4 -4
  17. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js.map → PkToolShowArtifact-CGbHDEie.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js → PkToolShowCalendarEvent-DIFX_rUz.js} +3 -3
  19. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js.map → PkToolShowCalendarEvent-DIFX_rUz.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowComparison-DbbUD9pg.js → PkToolShowComparison-CWLFWT9h.js} +7 -7
  21. package/dist/_chunks/PkToolShowComparison-CWLFWT9h.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js → PkToolShowContactForm-CYxgatUA.js} +5 -5
  23. package/dist/_chunks/PkToolShowContactForm-CYxgatUA.js.map +1 -0
  24. package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js → PkToolShowDiagram-Dx1Ba0PG.js} +4 -4
  25. package/dist/_chunks/PkToolShowDiagram-Dx1Ba0PG.js.map +1 -0
  26. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js → PkToolShowEmail-DnFFgzom.js} +3 -3
  27. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js.map → PkToolShowEmail-DnFFgzom.js.map} +1 -1
  28. package/dist/_chunks/{PkToolShowForm-DbJHMDbt.js → PkToolShowForm-B6x3Lp2i.js} +7 -8
  29. package/dist/_chunks/PkToolShowForm-B6x3Lp2i.js.map +1 -0
  30. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js → PkToolShowImageGallery-D99N_Plf.js} +2 -2
  31. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js.map → PkToolShowImageGallery-D99N_Plf.js.map} +1 -1
  32. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js → PkToolShowLocation-AfnrtFVJ.js} +3 -3
  33. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js.map → PkToolShowLocation-AfnrtFVJ.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js → PkToolShowMessage-DUo2c-im.js} +3 -3
  35. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js.map → PkToolShowMessage-DUo2c-im.js.map} +1 -1
  36. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js → PkToolShowProductList-BN6Qk1_y.js} +3 -3
  37. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js.map → PkToolShowProductList-BN6Qk1_y.js.map} +1 -1
  38. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js → PkToolShowQrCode-BLqeBecX.js} +3 -3
  39. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js.map → PkToolShowQrCode-BLqeBecX.js.map} +1 -1
  40. package/dist/_chunks/{PkToolShowSources-B69JmwbZ.js → PkToolShowSources-DpZb5FUP.js} +5 -5
  41. package/dist/_chunks/PkToolShowSources-DpZb5FUP.js.map +1 -0
  42. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js → PkToolShowSuggestedReply-C10nNgBs.js} +3 -3
  43. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js.map → PkToolShowSuggestedReply-C10nNgBs.js.map} +1 -1
  44. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js → PkToolShowVideo-S9b4QHUj.js} +2 -2
  45. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js.map → PkToolShowVideo-S9b4QHUj.js.map} +1 -1
  46. package/dist/_chunks/{PkToolShowWeather-LPd3tC77.js → PkToolShowWeather-CqhG430w.js} +2 -2
  47. package/dist/_chunks/PkToolShowWeather-CqhG430w.js.map +1 -0
  48. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js → PkToolShowWebPages-txAZi_iG.js} +3 -3
  49. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js.map → PkToolShowWebPages-txAZi_iG.js.map} +1 -1
  50. package/dist/_chunks/PkUrl-BPbjZJ1A.js.map +1 -1
  51. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js → VvCheckboxGroup.es-CTrF3pue.js} +2 -2
  52. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js.map → VvCheckboxGroup.es-CTrF3pue.js.map} +1 -1
  53. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js → VvCombobox.es-BWiXmQ_S.js} +10 -10
  54. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js.map → VvCombobox.es-BWiXmQ_S.js.map} +1 -1
  55. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js → VvInputText.es-Bo9I6g8H.js} +6 -6
  56. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js.map → VvInputText.es-Bo9I6g8H.js.map} +1 -1
  57. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js → VvRadioGroup.es-9ooHCuik.js} +2 -2
  58. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js.map → VvRadioGroup.es-9ooHCuik.js.map} +1 -1
  59. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js → VvSelect.es-DG0VuWtP.js} +2 -2
  60. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js.map → VvSelect.es-DG0VuWtP.js.map} +1 -1
  61. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js → VvTextarea.es-Dg3pxdZy.js} +6 -6
  62. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js.map → VvTextarea.es-Dg3pxdZy.js.map} +1 -1
  63. package/dist/_chunks/{browser-NgY6LXg-.js → browser-B0Xnbqi7.js} +726 -751
  64. package/dist/_chunks/browser-B0Xnbqi7.js.map +1 -0
  65. package/dist/_chunks/{dist-n5iFNYf-.js → dist-QdjZA6MJ.js} +143 -133
  66. package/dist/_chunks/{dist-n5iFNYf-.js.map → dist-QdjZA6MJ.js.map} +1 -1
  67. package/dist/_chunks/{index.es-dtdl3VFG.js → index.es-0YpCa4c5.js} +6 -6
  68. package/dist/_chunks/{index.es-dtdl3VFG.js.map → index.es-0YpCa4c5.js.map} +1 -1
  69. package/dist/_chunks/{index.es-BJnUA_36.js → index.es-CHkJ2TMJ.js} +10 -10
  70. package/dist/_chunks/{index.es-BJnUA_36.js.map → index.es-CHkJ2TMJ.js.map} +1 -1
  71. package/dist/_chunks/text-DbSEK8si.js.map +1 -1
  72. package/dist/ai-elements.es.js +3077 -3134
  73. package/dist/ai-elements.es.js.map +1 -1
  74. package/dist-vue/PkChatbot.js +1 -1
  75. package/dist-vue/PkChatbotEmptyState.js +1 -1
  76. package/dist-vue/PkChatbotError.js +1 -1
  77. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  78. package/dist-vue/PkChatbotFilePreview.js +1 -1
  79. package/dist-vue/PkChatbotInput.js +1 -1
  80. package/dist-vue/PkChatbotMessages.js +1 -1
  81. package/dist-vue/PkChatbotStepPayload.js +1 -1
  82. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  83. package/dist-vue/PkChatbotSteps.js +1 -1
  84. package/dist-vue/PkChatbotViewChat.js +1 -1
  85. package/dist-vue/PkChatbotViewConversations.js +1 -1
  86. package/dist-vue/PkChatbotViewFiles.js +1 -1
  87. package/dist-vue/PkChatbotViewProfile.js +1 -1
  88. package/dist-vue/_chunks/{Agent-C8BsTAxk.js → Agent-De2gFNjR.js} +165 -176
  89. package/dist-vue/_chunks/Agent-De2gFNjR.js.map +1 -0
  90. package/dist-vue/_chunks/{Document-CaUfI_SZ.js → Document-8umjeTVS.js} +84 -72
  91. package/dist-vue/_chunks/Document-8umjeTVS.js.map +1 -0
  92. package/dist-vue/_chunks/Media-_HfFLHGD.js.map +1 -1
  93. package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js → PkChatbot-CMajc7tE.js} +61 -61
  94. package/dist-vue/_chunks/PkChatbot-CMajc7tE.js.map +1 -0
  95. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js → PkChatbotEmptyState-BtzBYOHJ.js} +2 -2
  96. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js.map → PkChatbotEmptyState-BtzBYOHJ.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotError-CBP2mf-n.js → PkChatbotError-gvDpRcEz.js} +21 -19
  98. package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +1 -0
  99. package/dist-vue/_chunks/{PkChatbotFeedbackForm-DO1QIgmo.js → PkChatbotFeedbackForm-CxLOdwkm.js} +2 -2
  100. package/dist-vue/_chunks/PkChatbotFeedbackForm-CxLOdwkm.js.map +1 -0
  101. package/dist-vue/_chunks/{PkChatbotFilePreview-DO1wZPPj.js → PkChatbotFilePreview-CwiVQDF2.js} +3 -3
  102. package/dist-vue/_chunks/PkChatbotFilePreview-CwiVQDF2.js.map +1 -0
  103. package/dist-vue/_chunks/{PkChatbotInput-D8x52cVm.js → PkChatbotInput-MSpF6SB6.js} +140 -125
  104. package/dist-vue/_chunks/PkChatbotInput-MSpF6SB6.js.map +1 -0
  105. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js +776 -0
  106. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js.map +1 -0
  107. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js → PkChatbotStepPayload-XW4gT9AZ.js} +2 -2
  108. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js.map → PkChatbotStepPayload-XW4gT9AZ.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js → PkChatbotStepToolDetail-C4-K6Glw.js} +3 -3
  110. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js.map → PkChatbotStepToolDetail-C4-K6Glw.js.map} +1 -1
  111. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js +190 -0
  112. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js.map +1 -0
  113. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js → PkChatbotViewChat-DXu5ncaU.js} +10 -10
  114. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js.map → PkChatbotViewChat-DXu5ncaU.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js → PkChatbotViewConversations-3LaZPFyw.js} +2 -2
  116. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js.map → PkChatbotViewConversations-3LaZPFyw.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js → PkChatbotViewFiles-CTqnbsCj.js} +3 -3
  118. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js.map → PkChatbotViewFiles-CTqnbsCj.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js → PkChatbotViewProfile-B-Mp1jGQ.js} +2 -2
  120. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js.map → PkChatbotViewProfile-B-Mp1jGQ.js.map} +1 -1
  121. package/dist-vue/_chunks/PkRelativeTime--1cIphlA.js.map +1 -1
  122. package/dist-vue/_chunks/{PkStreamingMarkdown-D8_LwZMR.js → PkStreamingMarkdown-D0IOaETI.js} +432 -419
  123. package/dist-vue/_chunks/PkStreamingMarkdown-D0IOaETI.js.map +1 -0
  124. package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js → PkSvgViewer-D-0M5bqg.js} +2 -2
  125. package/dist-vue/_chunks/PkSvgViewer-D-0M5bqg.js.map +1 -0
  126. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1ZPmWiB.js → PkToolRequestGeolocation-Q3N3jlO8.js} +3 -3
  127. package/dist-vue/_chunks/PkToolRequestGeolocation-Q3N3jlO8.js.map +1 -0
  128. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CoJyKEE6.js → PkToolRequestOAuthConnection-lYoTJIF_.js} +4 -4
  129. package/dist-vue/_chunks/PkToolRequestOAuthConnection-lYoTJIF_.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js → PkToolShowArtifact-DHdJuzDi.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js.map → PkToolShowArtifact-DHdJuzDi.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowComparison-DMSjIpCR.js → PkToolShowComparison-BLn4pkno.js} +5 -5
  133. package/dist-vue/_chunks/PkToolShowComparison-BLn4pkno.js.map +1 -0
  134. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js → PkToolShowContactForm-DceSyuX8.js} +3 -3
  135. package/dist-vue/_chunks/PkToolShowContactForm-DceSyuX8.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowDiagram-DuDp5EHd.js → PkToolShowDiagram-pwc0wpNo.js} +4 -4
  137. package/dist-vue/_chunks/PkToolShowDiagram-pwc0wpNo.js.map +1 -0
  138. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js → PkToolShowEmail-DF__nKpR.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js.map → PkToolShowEmail-DF__nKpR.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowForm-CO5A_j9L.js → PkToolShowForm-Dx10jOXm.js} +7 -7
  141. package/dist-vue/_chunks/PkToolShowForm-Dx10jOXm.js.map +1 -0
  142. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js → PkToolShowImageGallery-DudQzBx4.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js.map → PkToolShowImageGallery-DudQzBx4.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js → PkToolShowMessage-Ck6VP-gw.js} +2 -2
  145. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js.map → PkToolShowMessage-Ck6VP-gw.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js → PkToolShowProductList-zfM8cx-l.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js.map → PkToolShowProductList-zfM8cx-l.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowSources-BvWOzVkQ.js → PkToolShowSources-Dlaz2Y77.js} +5 -5
  149. package/dist-vue/_chunks/PkToolShowSources-Dlaz2Y77.js.map +1 -0
  150. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js → PkToolShowSuggestedReply-DWLkUh2L.js} +2 -2
  151. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js.map → PkToolShowSuggestedReply-DWLkUh2L.js.map} +1 -1
  152. package/dist-vue/_chunks/PkToolShowWeather-Bzqalzh8.js.map +1 -1
  153. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js → PkToolShowWebPages-CosBYLrE.js} +2 -2
  154. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js.map → PkToolShowWebPages-CosBYLrE.js.map} +1 -1
  155. package/dist-vue/_chunks/{PkUrl-xUBKVJCv.js → PkUrl-B5CNTQj9.js} +2 -2
  156. package/dist-vue/_chunks/PkUrl-B5CNTQj9.js.map +1 -0
  157. package/dist-vue/_chunks/{createChatbotApiClient-CJ_5_3IT.js → createChatbotApiClient-MkaPbGWB.js} +6 -3
  158. package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +1 -0
  159. package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js → useChatbotStore-BzfqjiYz.js} +6 -3
  160. package/dist-vue/_chunks/useChatbotStore-BzfqjiYz.js.map +1 -0
  161. package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +1 -1
  162. package/dist-vue/_chunks/{utils-Coqik0XI.js → utils-C1666_6C.js} +58 -43
  163. package/dist-vue/_chunks/utils-C1666_6C.js.map +1 -0
  164. package/dist-vue/api.js +1 -1
  165. package/dist-vue/composables.js +3 -3
  166. package/dist-vue/index.js +3869 -3490
  167. package/dist-vue/index.js.map +1 -1
  168. package/dist-vue/locales.js +36 -8
  169. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +20 -3
  170. package/dist-vue/packages/components/src/chat/PkChatButton.d.ts +3 -2
  171. package/dist-vue/packages/components/src/chat/PkLanguageModel.d.ts +26 -2
  172. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +53 -1
  173. package/dist-vue/packages/components/src/chat/PkModelOption.d.ts +19 -0
  174. package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +6 -0
  175. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +6 -0
  176. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  177. package/dist-vue/packages/components/src/chat/constants.d.ts +5 -18
  178. package/dist-vue/packages/components/src/chat/index.d.ts +3 -1
  179. package/dist-vue/packages/components/src/chat/modelCatalog.d.ts +46 -0
  180. package/dist-vue/packages/components/src/chat/utils.d.ts +16 -0
  181. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +13 -1
  182. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  183. package/dist-vue/packages/composable/src/useChatbotError.d.ts +2 -0
  184. package/dist-vue/packages/models/src/schema/Agent.d.ts +70 -10
  185. package/dist-vue/packages/models/src/schema/Chat.d.ts +31 -0
  186. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +316 -0
  187. package/dist-vue/packages/models/src/schema/Organization.d.ts +142 -2
  188. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +20 -0
  189. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -0
  190. package/dist-vue/packages/models/src/schema/UserOverview.d.ts +41 -0
  191. package/dist-vue/packages/models/src/schema/constants.d.ts +56 -91
  192. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  193. package/dist-vue/style.css +1 -1
  194. package/package.json +1 -1
  195. package/dist/_chunks/Agent-Su_LDF9_.js.map +0 -1
  196. package/dist/_chunks/Document-DecVclEe.js.map +0 -1
  197. package/dist/_chunks/Media-C6SOQfJZ.js +0 -122
  198. package/dist/_chunks/Media-C6SOQfJZ.js.map +0 -1
  199. package/dist/_chunks/PkStreamingMarkdown-CwqsJnJJ.js.map +0 -1
  200. package/dist/_chunks/PkToolRequestGeolocation-CEVpl50q.js.map +0 -1
  201. package/dist/_chunks/PkToolRequestOAuthConnection-CncDU-Kl.js.map +0 -1
  202. package/dist/_chunks/PkToolShowComparison-DbbUD9pg.js.map +0 -1
  203. package/dist/_chunks/PkToolShowContactForm-D_dW59Dl.js.map +0 -1
  204. package/dist/_chunks/PkToolShowDiagram-Hy9qh68O.js.map +0 -1
  205. package/dist/_chunks/PkToolShowForm-DbJHMDbt.js.map +0 -1
  206. package/dist/_chunks/PkToolShowSources-B69JmwbZ.js.map +0 -1
  207. package/dist/_chunks/PkToolShowWeather-LPd3tC77.js.map +0 -1
  208. package/dist/_chunks/browser-NgY6LXg-.js.map +0 -1
  209. package/dist/_chunks/utils-YJ0ZOLDG.js +0 -185
  210. package/dist/_chunks/utils-YJ0ZOLDG.js.map +0 -1
  211. package/dist-vue/_chunks/Agent-C8BsTAxk.js.map +0 -1
  212. package/dist-vue/_chunks/Document-CaUfI_SZ.js.map +0 -1
  213. package/dist-vue/_chunks/PkChatbot-o7k7d-fj.js.map +0 -1
  214. package/dist-vue/_chunks/PkChatbotError-CBP2mf-n.js.map +0 -1
  215. package/dist-vue/_chunks/PkChatbotFeedbackForm-DO1QIgmo.js.map +0 -1
  216. package/dist-vue/_chunks/PkChatbotFilePreview-DO1wZPPj.js.map +0 -1
  217. package/dist-vue/_chunks/PkChatbotInput-D8x52cVm.js.map +0 -1
  218. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js +0 -771
  219. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js.map +0 -1
  220. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js +0 -180
  221. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js.map +0 -1
  222. package/dist-vue/_chunks/PkStreamingMarkdown-D8_LwZMR.js.map +0 -1
  223. package/dist-vue/_chunks/PkSvgViewer-DPpE9fiz.js.map +0 -1
  224. package/dist-vue/_chunks/PkToolRequestGeolocation-D1ZPmWiB.js.map +0 -1
  225. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CoJyKEE6.js.map +0 -1
  226. package/dist-vue/_chunks/PkToolShowComparison-DMSjIpCR.js.map +0 -1
  227. package/dist-vue/_chunks/PkToolShowContactForm-DHmzAIVF.js.map +0 -1
  228. package/dist-vue/_chunks/PkToolShowDiagram-DuDp5EHd.js.map +0 -1
  229. package/dist-vue/_chunks/PkToolShowForm-CO5A_j9L.js.map +0 -1
  230. package/dist-vue/_chunks/PkToolShowSources-BvWOzVkQ.js.map +0 -1
  231. package/dist-vue/_chunks/PkUrl-xUBKVJCv.js.map +0 -1
  232. package/dist-vue/_chunks/createChatbotApiClient-CJ_5_3IT.js.map +0 -1
  233. package/dist-vue/_chunks/useChatbotStore-CiRAuq7v.js.map +0 -1
  234. package/dist-vue/_chunks/utils-Coqik0XI.js.map +0 -1
@@ -67,7 +67,7 @@ function te(e, t = {}) {
67
67
  isPending: h(o)
68
68
  });
69
69
  }
70
- function ne(...e) {
70
+ function F(...e) {
71
71
  let t = 0, n, r = !0, i = A, a, o, s, l, u;
72
72
  !c(e[0]) && typeof e[0] == "object" ? {delay: o, trailing: s = !0, leading: l = !0, rejectOnCancel: u = !1} = e[0] : [o, s = !0, l = !0, u = !1] = e;
73
73
  let d = () => {
@@ -82,7 +82,7 @@ function ne(...e) {
82
82
  })), !l && !n && (n = setTimeout(() => r = !0, c)), r = !1, a);
83
83
  };
84
84
  }
85
- function F(e = P, t = {}) {
85
+ function ne(e = P, t = {}) {
86
86
  let { initialState: n = "active" } = t, r = ee(n === "active");
87
87
  function i() {
88
88
  r.value = !1;
@@ -99,7 +99,7 @@ function F(e = P, t = {}) {
99
99
  }
100
100
  };
101
101
  }
102
- function I(e) {
102
+ function re(e) {
103
103
  let t;
104
104
  function n() {
105
105
  return t ||= e(), t;
@@ -109,32 +109,42 @@ function I(e) {
109
109
  t = void 0, e && await e;
110
110
  }, n;
111
111
  }
112
- function L(e) {
112
+ function I(e) {
113
113
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
114
114
  }
115
- function R(e) {
115
+ function L(e) {
116
116
  return Array.isArray(e) ? e : [e];
117
117
  }
118
- function re(e) {
118
+ function ie(e) {
119
119
  return e || b();
120
120
  }
121
- function ie(e, t = 200, n = {}) {
121
+ function ae(e, t = 200, n = {}) {
122
122
  return N(te(t, n), e);
123
123
  }
124
- function ae(e, t = 200, n = {}) {
125
- let r = g(x(e)), a = ie(() => {
124
+ function oe(e, t = 200, n = {}) {
125
+ let r = g(x(e)), a = ae(() => {
126
126
  r.value = e.value;
127
127
  }, t, n);
128
128
  return i(e, () => a()), h(r);
129
129
  }
130
- function oe(e, t, n = {}) {
130
+ function se(e, t = 200, n = !0, r = !0, i = !1) {
131
+ return N(F(t, n, r, i), e);
132
+ }
133
+ function ce(e, t = 200, n = !0, r = !0) {
134
+ if (t <= 0) return e;
135
+ let a = g(x(e)), o = se(() => {
136
+ a.value = e.value;
137
+ }, t, n, r);
138
+ return i(e, () => o()), a;
139
+ }
140
+ function le(e, t, n = {}) {
131
141
  let { eventFilter: r = P, ...a } = n;
132
142
  return i(e, N(r, t), a);
133
143
  }
134
- function se(e, t, n = {}) {
135
- let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = F(r, { initialState: i });
144
+ function ue(e, t, n = {}) {
145
+ let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = ne(r, { initialState: i });
136
146
  return {
137
- stop: oe(e, t, {
147
+ stop: le(e, t, {
138
148
  ...a,
139
149
  eventFilter: o
140
150
  }),
@@ -143,10 +153,10 @@ function se(e, t, n = {}) {
143
153
  isActive: l
144
154
  };
145
155
  }
146
- function z(e, r = !0, i) {
147
- re(i) ? t(e, i) : r ? e() : n(e);
156
+ function R(e, r = !0, i) {
157
+ ie(i) ? t(e, i) : r ? e() : n(e);
148
158
  }
149
- function ce(e, t, n = {}) {
159
+ function de(e, t, n = {}) {
150
160
  let { immediate: r = !0, immediateCallback: i = !1 } = n, a = d(!1), o;
151
161
  function s() {
152
162
  o &&= (clearTimeout(o), void 0);
@@ -165,7 +175,7 @@ function ce(e, t, n = {}) {
165
175
  stop: c
166
176
  };
167
177
  }
168
- function le(e, t, n = {}) {
178
+ function fe(e, t, n = {}) {
169
179
  let { eventFilter: r = P, ...a } = n, o = N(r, t), s, c, l;
170
180
  if (a.flush === "sync") {
171
181
  let t = !1;
@@ -199,13 +209,13 @@ function le(e, t, n = {}) {
199
209
  ignorePrevAsyncUpdates: c
200
210
  };
201
211
  }
202
- function ue(e, t, n) {
212
+ function pe(e, t, n) {
203
213
  return i(e, t, {
204
214
  ...n,
205
215
  immediate: !0
206
216
  });
207
217
  }
208
- function de(e, t, n) {
218
+ function me(e, t, n) {
209
219
  return i(e, t, {
210
220
  ...n,
211
221
  once: !0
@@ -214,7 +224,7 @@ function de(e, t, n) {
214
224
  //#endregion
215
225
  //#region ../../node_modules/.pnpm/@vueuse+core@15.0.0_vue@3.5.43_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
216
226
  r(), f();
217
- function fe(e, t, n) {
227
+ function he(e, t, n) {
218
228
  let r;
219
229
  r = c(n) ? { evaluating: n } : n || {};
220
230
  let { lazy: i = !1, flush: o = "sync", evaluating: s = void 0, shallow: l = !0, onError: u = globalThis.reportError ?? A } = r, f = d(!i), p = l ? d(t) : g(t), h = 0;
@@ -239,23 +249,23 @@ function fe(e, t, n) {
239
249
  }
240
250
  }, { flush: o }), i ? m(() => (f.value = !0, p.value)) : p;
241
251
  }
242
- var B = T ? window : void 0;
252
+ var z = T ? window : void 0;
243
253
  T && window.document;
244
- var V = T ? window.navigator : void 0;
254
+ var B = T ? window.navigator : void 0;
245
255
  T && window.location;
246
- function H(e) {
256
+ function V(e) {
247
257
  let t = x(e);
248
258
  return t?.$el ?? t;
249
259
  }
250
- function U(...e) {
260
+ function H(...e) {
251
261
  let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = m(() => {
252
- let t = R(x(e[0])).filter((e) => e != null);
262
+ let t = L(x(e[0])).filter((e) => e != null);
253
263
  return t.every((e) => typeof e != "string") ? t : void 0;
254
264
  });
255
- return ue(() => [
256
- n.value?.map((e) => H(e)) ?? [B].filter((e) => e != null),
257
- R(x(n.value ? e[1] : e[0])),
258
- R(s(n.value ? e[2] : e[1])),
265
+ return pe(() => [
266
+ n.value?.map((e) => V(e)) ?? [z].filter((e) => e != null),
267
+ L(x(n.value ? e[1] : e[0])),
268
+ L(s(n.value ? e[2] : e[1])),
259
269
  x(n.value ? e[3] : e[2])
260
270
  ], ([e, n, r, i], a, o) => {
261
271
  if (!e?.length || !n?.length || !r?.length) return;
@@ -265,23 +275,23 @@ function U(...e) {
265
275
  });
266
276
  }, { flush: "post" });
267
277
  }
268
- var W = !1;
269
- function pe(e, t, n = {}) {
270
- let { window: r = B, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
278
+ var U = !1;
279
+ function ge(e, t, n = {}) {
280
+ let { window: r = z, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
271
281
  if (!r) return s ? {
272
282
  stop: A,
273
283
  cancel: A,
274
284
  trigger: A
275
285
  } : A;
276
- if (j && !W) {
277
- W = !0;
286
+ if (j && !U) {
287
+ U = !0;
278
288
  let e = { passive: !0 };
279
289
  Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", A, e)), r.document.documentElement.addEventListener("click", A, e);
280
290
  }
281
291
  let c = !0, l = (e) => x(i).some((t) => {
282
292
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
283
293
  {
284
- let n = H(t);
294
+ let n = V(t);
285
295
  return n && (e.target === n || e.composedPath().includes(n));
286
296
  }
287
297
  });
@@ -294,7 +304,7 @@ function pe(e, t, n = {}) {
294
304
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
295
305
  }
296
306
  let f = (n) => {
297
- let r = H(e);
307
+ let r = V(e);
298
308
  if (n.target != null && !(!(r instanceof Element) && u(e) && d(e, n)) && r && r !== n.target && !n.composedPath().includes(r)) {
299
309
  if ("detail" in n && n.detail === 0 && (c = !l(n)), !c) {
300
310
  c = !0;
@@ -303,7 +313,7 @@ function pe(e, t, n = {}) {
303
313
  t(n);
304
314
  }
305
315
  }, p = !1, m = [
306
- U(r, "click", (e) => {
316
+ H(r, "click", (e) => {
307
317
  p || (p = !0, setTimeout(() => {
308
318
  p = !1;
309
319
  }, 0), f(e));
@@ -311,13 +321,13 @@ function pe(e, t, n = {}) {
311
321
  passive: !0,
312
322
  capture: a
313
323
  }),
314
- U(r, "pointerdown", (t) => {
315
- let n = H(e);
324
+ H(r, "pointerdown", (t) => {
325
+ let n = V(e);
316
326
  c = !l(t) && !(!n || t.composedPath().includes(n));
317
327
  }, { passive: !0 }),
318
- o && U(r, "blur", (n) => {
328
+ o && H(r, "blur", (n) => {
319
329
  setTimeout(() => {
320
- let i = H(e), a = r.document.activeElement;
330
+ let i = V(e), a = r.document.activeElement;
321
331
  for (; a?.shadowRoot;) a = a.shadowRoot.activeElement;
322
332
  a?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
323
333
  }, 0);
@@ -333,22 +343,22 @@ function pe(e, t, n = {}) {
333
343
  }
334
344
  } : h;
335
345
  }
336
- function me() {
346
+ function _e() {
337
347
  let e = d(!1), n = b();
338
348
  return n && t(() => {
339
349
  e.value = !0;
340
350
  }, n), e;
341
351
  }
342
352
  /* @__NO_SIDE_EFFECTS__ */
343
- function G(e) {
344
- let t = me();
353
+ function W(e) {
354
+ let t = _e();
345
355
  return m(() => (t.value, !!e()));
346
356
  }
347
- function K(e, t, n = {}) {
348
- let { window: r = B, ...a } = n, o, s = /* @__PURE__ */ G(() => r && "MutationObserver" in r), c = () => {
357
+ function G(e, t, n = {}) {
358
+ let { window: r = z, ...a } = n, o, s = /* @__PURE__ */ W(() => r && "MutationObserver" in r), c = () => {
349
359
  o &&= (o.disconnect(), void 0);
350
360
  }, l = m(() => {
351
- let t = R(x(e)).map(H).filter(D);
361
+ let t = L(x(e)).map(V).filter(D);
352
362
  return new Set(t);
353
363
  }), u = i(l, (e) => {
354
364
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -364,15 +374,15 @@ function K(e, t, n = {}) {
364
374
  takeRecords: d
365
375
  };
366
376
  }
367
- function q(e, t, n = {}) {
368
- let { window: r = B, document: i = r?.document, flush: o = "sync" } = n;
377
+ function K(e, t, n = {}) {
378
+ let { window: r = z, document: i = r?.document, flush: o = "sync" } = n;
369
379
  if (!r || !i) return A;
370
380
  let s, c = (e) => {
371
381
  s?.(), s = e;
372
382
  }, l = a(() => {
373
- let n = H(e);
383
+ let n = V(e);
374
384
  if (n) {
375
- let { stop: e } = K(i, (e) => {
385
+ let { stop: e } = G(i, (e) => {
376
386
  e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
377
387
  }, {
378
388
  window: r,
@@ -386,19 +396,19 @@ function q(e, t, n = {}) {
386
396
  };
387
397
  return S(u), u;
388
398
  }
389
- function he(e) {
399
+ function ve(e) {
390
400
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
391
401
  }
392
- function ge(...e) {
402
+ function ye(...e) {
393
403
  let t, n, r = {};
394
404
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
395
- let { target: i = B, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = he(t);
396
- return U(i, a, (e) => {
405
+ let { target: i = z, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = ve(t);
406
+ return H(i, a, (e) => {
397
407
  e.repeat && x(s) || c(e) && n(e);
398
408
  }, o);
399
409
  }
400
- function _e(e = {}) {
401
- let { window: t = B, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
410
+ function be(e = {}) {
411
+ let { window: t = z, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
402
412
  let e = i?.activeElement;
403
413
  if (n) for (var t; e?.shadowRoot;) e = e == null || (t = e.shadowRoot) == null ? void 0 : t.activeElement;
404
414
  return e;
@@ -410,42 +420,42 @@ function _e(e = {}) {
410
420
  capture: !0,
411
421
  passive: !0
412
422
  };
413
- U(t, "blur", (e) => {
423
+ H(t, "blur", (e) => {
414
424
  e.relatedTarget === null && s();
415
- }, e), U(t, "focus", s, e);
425
+ }, e), H(t, "focus", s, e);
416
426
  }
417
- return r && q(o, s, { document: i }), s(), o;
427
+ return r && K(o, s, { document: i }), s(), o;
418
428
  }
419
- var ve = Symbol("vueuse-ssr-width");
429
+ var xe = Symbol("vueuse-ssr-width");
420
430
  /* @__NO_SIDE_EFFECTS__ */
421
- function ye() {
422
- let t = e() ? /* @__PURE__ */ w(ve, null) : null;
431
+ function Se() {
432
+ let t = e() ? /* @__PURE__ */ w(xe, null) : null;
423
433
  return typeof t == "number" ? t : void 0;
424
434
  }
425
- function be(e, t = {}) {
426
- let { window: n = B, ssrWidth: r = /* @__PURE__ */ ye() } = t, i = /* @__PURE__ */ G(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = d(typeof r == "number"), s = d(), c = d(!1);
435
+ function Ce(e, t = {}) {
436
+ let { window: n = z, ssrWidth: r = /* @__PURE__ */ Se() } = t, i = /* @__PURE__ */ W(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = d(typeof r == "number"), s = d(), c = d(!1);
427
437
  return a(() => {
428
438
  if (o.value) {
429
439
  o.value = !i.value;
430
440
  let t = x(e).split(",");
431
441
  c.value = t.some((e) => {
432
442
  let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
433
- return n && a && (a = r >= L(n[1])), i && a && (a = r <= L(i[1])), t ? !a : a;
443
+ return n && a && (a = r >= I(n[1])), i && a && (a = r <= I(i[1])), t ? !a : a;
434
444
  });
435
445
  return;
436
446
  }
437
447
  i.value && (s.value = n.matchMedia(x(e)), c.value = s.value.matches);
438
- }), U(s, "change", (e) => {
448
+ }), H(s, "change", (e) => {
439
449
  c.value = e.matches;
440
450
  }, { passive: !0 }), m(() => c.value);
441
451
  }
442
452
  /* @__NO_SIDE_EFFECTS__ */
443
- function J(e, t = {}) {
444
- let { controls: n = !1, navigator: r = V } = t, i = /* @__PURE__ */ G(() => r && "permissions" in r), a = d(), o = typeof e == "string" ? { name: e } : e, s = d(), c = () => {
453
+ function q(e, t = {}) {
454
+ let { controls: n = !1, navigator: r = B } = t, i = /* @__PURE__ */ W(() => r && "permissions" in r), a = d(), o = typeof e == "string" ? { name: e } : e, s = d(), c = () => {
445
455
  s.value = a.value?.state ?? "prompt";
446
456
  };
447
- U(a, "change", c, { passive: !0 });
448
- let l = I(async () => {
457
+ H(a, "change", c, { passive: !0 });
458
+ let l = re(async () => {
449
459
  if (i.value) {
450
460
  if (!a.value) try {
451
461
  a.value = await r.permissions.query(o);
@@ -464,8 +474,8 @@ function J(e, t = {}) {
464
474
  } : s;
465
475
  }
466
476
  /* @__NO_SIDE_EFFECTS__ */
467
- function xe(e = {}) {
468
- let { navigator: t = V, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ G(() => t && "clipboard" in t), s = /* @__PURE__ */ J("clipboard-read"), c = /* @__PURE__ */ J("clipboard-write"), l = m(() => o.value || a), u = d(""), f = d(!1), p = d(!1), g = ce(() => f.value = !1, i, { immediate: !1 }), _ = 0;
477
+ function we(e = {}) {
478
+ let { navigator: t = B, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ W(() => t && "clipboard" in t), s = /* @__PURE__ */ q("clipboard-read"), c = /* @__PURE__ */ q("clipboard-write"), l = m(() => o.value || a), u = d(""), f = d(!1), p = d(!1), g = de(() => f.value = !1, i, { immediate: !1 }), _ = 0;
469
479
  async function v() {
470
480
  let e = !(o.value && w(s.value));
471
481
  if (!e) try {
@@ -475,7 +485,7 @@ function xe(e = {}) {
475
485
  }
476
486
  e && (u.value = C());
477
487
  }
478
- l.value && n && U(["copy", "cut"], v, { passive: !0 });
488
+ l.value && n && H(["copy", "cut"], v, { passive: !0 });
479
489
  async function y(e) {
480
490
  let n = e ?? x(r);
481
491
  if (l.value && n != null) {
@@ -519,23 +529,23 @@ function xe(e = {}) {
519
529
  copy: y
520
530
  };
521
531
  }
522
- function Se(e) {
532
+ function Te(e) {
523
533
  return JSON.parse(JSON.stringify(e));
524
534
  }
525
- var Y = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, X = "__vueuse_ssr_handlers__", Ce = /* #__PURE__ */ we();
526
- function we() {
527
- return X in Y || (Y[X] = Y[X] || {}), Y[X];
535
+ var J = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Y = "__vueuse_ssr_handlers__", Ee = /* #__PURE__ */ De();
536
+ function De() {
537
+ return Y in J || (J[Y] = J[Y] || {}), J[Y];
528
538
  }
529
- function Te(e, t) {
530
- return Ce[e] || t;
539
+ function Oe(e, t) {
540
+ return Ee[e] || t;
531
541
  }
532
- function Ee(e) {
533
- return be("(prefers-color-scheme: dark)", e);
542
+ function ke(e) {
543
+ return Ce("(prefers-color-scheme: dark)", e);
534
544
  }
535
- function De(e) {
545
+ function Ae(e) {
536
546
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
537
547
  }
538
- var Oe = {
548
+ var je = {
539
549
  boolean: {
540
550
  read: (e) => e === "true",
541
551
  write: (e) => String(e)
@@ -568,29 +578,29 @@ var Oe = {
568
578
  read: (e) => new Date(e),
569
579
  write: (e) => e.toISOString()
570
580
  }
571
- }, Z = "vueuse-storage";
572
- function Q(e, t, r, a = {}) {
573
- let { flush: o = "pre", deep: s = !0, listenToStorageChanges: c = !0, writeDefaults: l = !0, mergeDefaults: u = !1, shallow: f, window: p = B, eventFilter: h, onError: _ = (e) => {
581
+ }, X = "vueuse-storage";
582
+ function Z(e, t, r, a = {}) {
583
+ let { flush: o = "pre", deep: s = !0, listenToStorageChanges: c = !0, writeDefaults: l = !0, mergeDefaults: u = !1, shallow: f, window: p = z, eventFilter: h, onError: _ = (e) => {
574
584
  console.error(e);
575
585
  }, initOnMounted: v } = a, y = (f ? d : g)(typeof t == "function" ? t() : t), b = m(() => x(e));
576
586
  if (!r) try {
577
- r = Te("getDefaultStorage", () => B?.localStorage)();
587
+ r = Oe("getDefaultStorage", () => z?.localStorage)();
578
588
  } catch (e) {
579
589
  _(e);
580
590
  }
581
591
  if (!r) return y;
582
- let S = x(t), C = De(S), w = a.serializer ?? Oe[C], { pause: T, resume: E } = se(y, (e) => k(e), {
592
+ let S = x(t), C = Ae(S), w = a.serializer ?? je[C], { pause: T, resume: E } = ue(y, (e) => k(e), {
583
593
  flush: o,
584
594
  deep: s,
585
595
  eventFilter: h
586
596
  });
587
597
  i(b, () => j(), { flush: o });
588
598
  let D = !1;
589
- p && c && (r instanceof Storage ? U(p, "storage", (e) => {
599
+ p && c && (r instanceof Storage ? H(p, "storage", (e) => {
590
600
  (!v || D) && j(e);
591
- }, { passive: !0 }) : U(p, Z, (e) => {
601
+ }, { passive: !0 }) : H(p, X, (e) => {
592
602
  (!v || D) && M(e);
593
- })), v ? z(() => {
603
+ })), v ? R(() => {
594
604
  D = !0, j();
595
605
  }) : j();
596
606
  function O(e, t) {
@@ -601,7 +611,7 @@ function Q(e, t, r, a = {}) {
601
611
  newValue: t,
602
612
  storageArea: r
603
613
  };
604
- p.dispatchEvent(r instanceof Storage ? new StorageEvent("storage", n) : new CustomEvent(Z, { detail: n }));
614
+ p.dispatchEvent(r instanceof Storage ? new StorageEvent("storage", n) : new CustomEvent(X, { detail: n }));
605
615
  }
606
616
  }
607
617
  function k(e) {
@@ -652,7 +662,7 @@ function Q(e, t, r, a = {}) {
652
662
  }
653
663
  return y;
654
664
  }
655
- function ke(e, t = {}) {
665
+ function Me(e, t = {}) {
656
666
  let n = d(!1), r = d(null), i = 0, a = !0;
657
667
  if (T) {
658
668
  let o = typeof t == "function" ? { onDrop: t } : t, c = o.multiple ?? !0, l = o.preventDefaultForUnhandled ?? !1, u = (e) => {
@@ -692,19 +702,19 @@ function ke(e, t = {}) {
692
702
  }
693
703
  }
694
704
  };
695
- U(e, "dragenter", (e) => m(e, "enter")), U(e, "dragover", (e) => m(e, "over")), U(e, "dragleave", (e) => m(e, "leave")), U(e, "drop", (e) => m(e, "drop"));
705
+ H(e, "dragenter", (e) => m(e, "enter")), H(e, "dragover", (e) => m(e, "over")), H(e, "dragleave", (e) => m(e, "leave")), H(e, "drop", (e) => m(e, "drop"));
696
706
  }
697
707
  return {
698
708
  files: r,
699
709
  isOverDropZone: n
700
710
  };
701
711
  }
702
- function Ae(e, t, n = {}) {
703
- let { window: r = B, ...a } = n, o, s = /* @__PURE__ */ G(() => r && "ResizeObserver" in r), c = () => {
712
+ function Q(e, t, n = {}) {
713
+ let { window: r = z, ...a } = n, o, s = /* @__PURE__ */ W(() => r && "ResizeObserver" in r), c = () => {
704
714
  o &&= (o.disconnect(), void 0);
705
715
  }, l = m(() => {
706
716
  let t = x(e);
707
- return Array.isArray(t) ? t.map((e) => H(e)) : [H(t)];
717
+ return Array.isArray(t) ? t.map((e) => V(e)) : [V(t)];
708
718
  }), u = i(l, (e) => {
709
719
  if (c(), s.value && r) {
710
720
  o = new ResizeObserver(t);
@@ -721,35 +731,35 @@ function Ae(e, t, n = {}) {
721
731
  stop: d
722
732
  };
723
733
  }
724
- function $(e, t = {}) {
725
- let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = B } = t, o = d(!1), s, c = (e) => {
734
+ function Ne(e, t = {}) {
735
+ let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = z } = t, o = d(!1), s, c = (e) => {
726
736
  let t = e ? n : r;
727
737
  s &&= (clearTimeout(s), void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
728
738
  };
729
- return a ? (U(e, "mouseenter", () => c(!0), { passive: !0 }), U(e, "mouseleave", () => c(!1), { passive: !0 }), i && q(m(() => H(e)), () => c(!1)), o) : o;
739
+ return a ? (H(e, "mouseenter", () => c(!0), { passive: !0 }), H(e, "mouseleave", () => c(!1), { passive: !0 }), i && K(m(() => V(e)), () => c(!1)), o) : o;
730
740
  }
731
- function je(e, t = {
741
+ function Pe(e, t = {
732
742
  width: 0,
733
743
  height: 0
734
744
  }, n = {}) {
735
- let { window: r = B, box: a = "content-box" } = n, o = m(() => {
745
+ let { window: r = z, box: a = "content-box" } = n, o = m(() => {
736
746
  var t;
737
- return (t = H(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
738
- }), s = d(t.width), c = d(t.height), { stop: l } = Ae(e, ([t]) => {
747
+ return (t = V(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
748
+ }), s = d(t.width), c = d(t.height), { stop: l } = Q(e, ([t]) => {
739
749
  let n = a === "border-box" ? t.borderBoxSize : a === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
740
750
  if (r && o.value) {
741
- let t = H(e);
751
+ let t = V(e);
742
752
  if (t) {
743
753
  let e = t.getBoundingClientRect();
744
754
  s.value = e.width, c.value = e.height;
745
755
  }
746
756
  } else if (n) {
747
- let e = R(n);
757
+ let e = L(n);
748
758
  s.value = e.reduce((e, { inlineSize: t }) => e + t, 0), c.value = e.reduce((e, { blockSize: t }) => e + t, 0);
749
759
  } else s.value = t.contentRect.width, c.value = t.contentRect.height;
750
760
  }, n);
751
- z(() => {
752
- let n = H(e);
761
+ R(() => {
762
+ let n = V(e);
753
763
  if (n && "offsetWidth" in n) {
754
764
  if (a === "content-box" && r) {
755
765
  let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), o = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
@@ -757,7 +767,7 @@ function je(e, t = {
757
767
  } else s.value = n.offsetWidth, c.value = n.offsetHeight;
758
768
  } else n && (s.value = t.width, c.value = t.height);
759
769
  });
760
- let u = i(() => H(e), (e) => {
770
+ let u = i(() => V(e), (e) => {
761
771
  s.value = e ? t.width : 0, c.value = e ? t.height : 0;
762
772
  });
763
773
  function f() {
@@ -769,16 +779,16 @@ function je(e, t = {
769
779
  stop: f
770
780
  };
771
781
  }
772
- function Me(e, t, n = {}) {
773
- let { root: r, rootMargin: a, threshold: o = 0, window: s = B, immediate: c = !0 } = n, l = /* @__PURE__ */ G(() => s && "IntersectionObserver" in s), u = m(() => R(x(e)).map(H).filter(D)), f = A, p = d(c), h = l.value ? i(() => [
782
+ function $(e, t, n = {}) {
783
+ let { root: r, rootMargin: a, threshold: o = 0, window: s = z, immediate: c = !0 } = n, l = /* @__PURE__ */ W(() => s && "IntersectionObserver" in s), u = m(() => L(x(e)).map(V).filter(D)), f = A, p = d(c), h = l.value ? i(() => [
774
784
  u.value,
775
- H(r),
785
+ V(r),
776
786
  x(a),
777
787
  p.value
778
788
  ], ([e, n, r]) => {
779
789
  if (f(), !p.value || !e.length) return;
780
790
  let i = new IntersectionObserver(t, {
781
- root: H(n),
791
+ root: V(n),
782
792
  rootMargin: r,
783
793
  threshold: o
784
794
  });
@@ -803,11 +813,11 @@ function Me(e, t, n = {}) {
803
813
  stop: g
804
814
  };
805
815
  }
806
- function Ne(e, t = {}) {
807
- let { window: n = B, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, c = d(s), l = Me(e, (e) => {
816
+ function Fe(e, t = {}) {
817
+ let { window: n = z, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, c = d(s), l = $(e, (e) => {
808
818
  let t = c.value, n = 0;
809
819
  for (let r of e) r.time >= n && (n = r.time, t = r.isIntersecting);
810
- c.value = t, o && de(c, () => {
820
+ c.value = t, o && me(c, () => {
811
821
  l.stop();
812
822
  });
813
823
  }, {
@@ -821,12 +831,12 @@ function Ne(e, t = {}) {
821
831
  isVisible: c
822
832
  } : c;
823
833
  }
824
- function Pe(e, t = {}) {
825
- let { initialValue: n = !1, focusVisible: r = !1, preventScroll: a = !1 } = t, o = d(!1), s = m(() => H(e)), c = { passive: !0 };
826
- U(s, "focus", (e) => {
834
+ function Ie(e, t = {}) {
835
+ let { initialValue: n = !1, focusVisible: r = !1, preventScroll: a = !1 } = t, o = d(!1), s = m(() => V(e)), c = { passive: !0 };
836
+ H(s, "focus", (e) => {
827
837
  var t;
828
838
  (!r || (t = e.target).matches?.call(t, ":focus-visible")) && (o.value = !0);
829
- }, c), U(s, "blur", () => o.value = !1, c);
839
+ }, c), H(s, "blur", () => o.value = !1, c);
830
840
  let l = m({
831
841
  get: () => o.value,
832
842
  set(e) {
@@ -841,26 +851,26 @@ function Pe(e, t = {}) {
841
851
  flush: "post"
842
852
  }), { focused: l };
843
853
  }
844
- var Fe = "focusin", Ie = "focusout", Le = ":focus-within";
845
- function Re(e, t = {}) {
846
- let { window: n = B } = t, r = m(() => H(e)), i = d(!1), a = m(() => i.value), o = _e(t);
854
+ var Le = "focusin", Re = "focusout", ze = ":focus-within";
855
+ function Be(e, t = {}) {
856
+ let { window: n = z } = t, r = m(() => V(e)), i = d(!1), a = m(() => i.value), o = be(t);
847
857
  if (!n || !o.value) return { focused: a };
848
858
  let s = { passive: !0 };
849
- return U(r, Fe, () => i.value = !0, s), U(r, Ie, () => {
859
+ return H(r, Le, () => i.value = !0, s), H(r, Re, () => {
850
860
  var e, t;
851
- return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, Le)) ?? !1;
861
+ return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, ze)) ?? !1;
852
862
  }, s), { focused: a };
853
863
  }
854
- function ze(e, t, n = {}) {
855
- let { window: r = B } = n;
856
- return Q(e, t, r?.localStorage, n);
864
+ function Ve(e, t, n = {}) {
865
+ let { window: r = z } = n;
866
+ return Z(e, t, r?.localStorage, n);
857
867
  }
858
868
  /* @__NO_SIDE_EFFECTS__ */
859
- function Be(e, t, r, a = {}) {
869
+ function He(e, t, r, a = {}) {
860
870
  var o, s;
861
871
  let { clone: c = !1, passive: l = !1, eventName: u, deep: d = !1, defaultValue: f, shouldEmit: p } = a, h = b(), _ = r || h?.emit || (h == null || (o = h.$emit) == null ? void 0 : o.bind(h)) || (h == null || (s = h.proxy) == null || (s = s.$emit) == null ? void 0 : s.bind(h?.proxy)), v = u;
862
872
  t ||= "modelValue", v ||= `update:${t.toString()}`;
863
- let y = (e) => c ? typeof c == "function" ? c(e) : Se(e) : e, x = () => E(e[t]) ? y(e[t]) : f, S = (e) => {
873
+ let y = (e) => c ? typeof c == "function" ? c(e) : Te(e) : e, x = () => E(e[t]) ? y(e[t]) : f, S = (e) => {
864
874
  p ? p(e) && _(v, e) : _(v, e);
865
875
  };
866
876
  if (l) {
@@ -881,6 +891,6 @@ function Be(e, t, r, a = {}) {
881
891
  });
882
892
  }
883
893
  //#endregion
884
- export { ne as _, ke as a, Ne as c, ze as d, K as f, ae as g, Be as h, xe as i, Pe as l, Q as m, pe as n, $ as o, Ee as p, ge as r, je as s, fe as t, Re as u, le as v };
894
+ export { oe as _, Me as a, fe as b, Fe as c, Ve as d, G as f, He as g, Z as h, we as i, Ie as l, Q as m, ge as n, Ne as o, ke as p, ye as r, Pe as s, he as t, Be as u, ce as v, F as y };
885
895
 
886
- //# sourceMappingURL=dist-n5iFNYf-.js.map
896
+ //# sourceMappingURL=dist-QdjZA6MJ.js.map