@acedatacloud/nexior 3.55.0 → 3.57.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 (242) hide show
  1. package/dist/assets/{Auth-DeSQwaES.js → Auth-Dh3AlJrn.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-BllgiPdq.js → BotPlaceholder-DseLGowt.js} +1 -1
  3. package/dist/assets/{Callback-B96EC5BK.js → Callback-DTZGVDnO.js} +1 -1
  4. package/dist/assets/{Console-CWpFnj9S.js → Console-CdAWz210.js} +1 -1
  5. package/dist/assets/{Consumption-CAAmiLSE.js → Consumption-0dkfDzCC.js} +1 -1
  6. package/dist/assets/{Conversation-BzBmyp-Y.css → Conversation-CQBcjqjP.css} +1 -1
  7. package/dist/assets/{Conversation-BDSeUibn.js → Conversation-rxuHlkeB.js} +9 -7
  8. package/dist/assets/{CopyToClipboard-CVhPdcOB.js → CopyToClipboard-C8Io9ng1.js} +1 -1
  9. package/dist/assets/{Detail-BqAkuaog.js → Detail-DdJ70gcP.js} +2 -2
  10. package/dist/assets/{EditArray-BakpM6WV.js → EditArray-Bv6k6keK.js} +1 -1
  11. package/dist/assets/{Extra-CKD1iVko.js → Extra-WqsGuipJ.js} +1 -1
  12. package/dist/assets/{FilePreview-CyRuR9IJ.js → FilePreview-DFvKuzbx.js} +1 -1
  13. package/dist/assets/{History-CD3I9RnE.js → History-DiNQ6I0n.js} +1 -1
  14. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-DKHdbL75.js → IconPark.vue_vue_type_script_setup_true_lang-BarLE-9I.js} +1 -1
  15. package/dist/assets/{ImagePreview-BiL0UW9b.js → ImagePreview-gfUqPXh_.js} +1 -1
  16. package/dist/assets/{ImageWrapper-CC-vrMyi.js → ImageWrapper-BMBNch3_.js} +1 -1
  17. package/dist/assets/{Index-G4tZGsXE.js → Index-BGORRoxu.js} +1 -1
  18. package/dist/assets/{Index-Cq0SSDYh.js → Index-BVV5ki2o.js} +1 -1
  19. package/dist/assets/{Index-BMqLzRBt.js → Index-BX7Zd-X7.js} +1 -1
  20. package/dist/assets/{Index-B-gFfhFP.js → Index-BfYQoHc2.js} +1 -1
  21. package/dist/assets/{Index-BMhuq7rU.js → Index-BjbJaa4S.js} +1 -1
  22. package/dist/assets/{Index-t9-k0RtL.js → Index-BwiO69D0.js} +1 -1
  23. package/dist/assets/{Index-DKSFoPIB.js → Index-BxKeEsyW.js} +1 -1
  24. package/dist/assets/{Index-CUQcjSwK.js → Index-C01Sk2uQ.js} +1 -1
  25. package/dist/assets/{Index-CeJU2_Cm.js → Index-C68vjHnC.js} +1 -1
  26. package/dist/assets/{Index-C3N7Twn1.js → Index-CCZhA-_S.js} +1 -1
  27. package/dist/assets/{Index-Dihd61Ck.js → Index-CHl0qa0l.js} +1 -1
  28. package/dist/assets/{Index-BNekinC-.js → Index-CLEp0n19.js} +1 -1
  29. package/dist/assets/{Index-X6HwA2iF.js → Index-CQCUGVDL.js} +1 -1
  30. package/dist/assets/{Index-D6a4Fj-j.js → Index-CZ2Hr7xZ.js} +1 -1
  31. package/dist/assets/{Index-F1KwaskR.js → Index-Cz5Yu-Do.js} +1 -1
  32. package/dist/assets/{Index-EGqGqRwn.js → Index-Dxkic2xl.js} +1 -1
  33. package/dist/assets/{Index-Bp6gfcnp.js → Index-IUDOhXf5.js} +1 -1
  34. package/dist/assets/{Index--O3KAW5O.js → Index-ORUFuGaP.js} +1 -1
  35. package/dist/assets/{Index-B7f0m-EP.js → Index-PJ5APAJm.js} +1 -1
  36. package/dist/assets/{Index-MAeW6WS6.js → Index-TZq1_qAi.js} +1 -1
  37. package/dist/assets/{Index-gXeS6e3n.js → Index-XBfftThx.js} +1 -1
  38. package/dist/assets/{Index-CN5s3h8-.js → Index-ZcbmJoki.js} +1 -1
  39. package/dist/assets/{Index-DVVqjUNq.js → Index-f9oX9jWn.js} +1 -1
  40. package/dist/assets/{Index-CZmLXGoh.js → Index-vfrlnWoZ.js} +1 -1
  41. package/dist/assets/{Invitees-CNtMKRGK.js → Invitees-APNjnKT2.js} +1 -1
  42. package/dist/assets/{List-BXJTkpvq.js → List-BdFHSHxp.js} +1 -1
  43. package/dist/assets/{List-DCEZMF75.js → List-DD1rA9SW.js} +1 -1
  44. package/dist/assets/{List-Bu6C9EoL.js → List-DGiM89TW.js} +1 -1
  45. package/dist/assets/{Main-BMG_dcIC.js → Main-BtHsNHqJ.js} +1 -1
  46. package/dist/assets/{Navigator-D06fs3eZ.js → Navigator-B9_jlm5b.js} +1 -1
  47. package/dist/assets/{NoTasks-CI2X2NBf.js → NoTasks-CrE7cn7N.js} +1 -1
  48. package/dist/assets/{NotFound-CaJMPU-9.js → NotFound-BrP2gBIk.js} +1 -1
  49. package/dist/assets/{OAuthCallback-AoLr1MG2.js → OAuthCallback-oSqqEVxa.js} +1 -1
  50. package/dist/assets/{Pagination-DOj4dF4I.js → Pagination-yGiYqyTv.js} +1 -1
  51. package/dist/assets/{ScrollList-DFxw17Kf.js → ScrollList-FG7zpC8B.js} +1 -1
  52. package/dist/assets/{Status-CAZ4f7tq.js → Status-Ch-k7L4T.js} +1 -1
  53. package/dist/assets/{Subscribe-U9uKH_Zn.js → Subscribe-qLBd5y6w.js} +1 -1
  54. package/dist/assets/{TransportWebHID-JDKjHvAT.js → TransportWebHID-CjIBhryi.js} +1 -1
  55. package/dist/assets/{VideoPlayer-DoeV0Myw.js → VideoPlayer-Cb6PLgg3.js} +1 -1
  56. package/dist/assets/{_Uint8Array-BigPD846.js → _Uint8Array-BR8_eXF5.js} +1 -1
  57. package/dist/assets/{_baseClone-BFsd6tZ_.js → _baseClone-Ce58gz2g.js} +1 -1
  58. package/dist/assets/{_baseIteratee-Bo87bDBv.js → _baseIteratee-Cj6e-97v.js} +1 -1
  59. package/dist/assets/{_initCloneObject-cy4IQ5_1.js → _initCloneObject-C_h05GP6.js} +1 -1
  60. package/dist/assets/{add-DiBdjoJz.js → add-YiwVhQB5.js} +1 -1
  61. package/dist/assets/{all-wallets-YI7KvAbJ.js → all-wallets-C_3nhmDj.js} +1 -1
  62. package/dist/assets/{app-store-hJHJfnuO.js → app-store-EHOIZJK9.js} +1 -1
  63. package/dist/assets/{apple-BvyGnpgm.js → apple-CtqlsTj7.js} +1 -1
  64. package/dist/assets/{arrow-bottom-BuZri4fw.js → arrow-bottom-Dr7PhJcA.js} +1 -1
  65. package/dist/assets/{arrow-bottom-circle-DUm2Gsom.js → arrow-bottom-circle-BkHGEyN5.js} +1 -1
  66. package/dist/assets/{arrow-left-BUUImemg.js → arrow-left-D4TTAmDX.js} +1 -1
  67. package/dist/assets/{arrow-right-Uzvnpwmm.js → arrow-right-BEUbaIpj.js} +1 -1
  68. package/dist/assets/{arrow-top-P35W49Zl.js → arrow-top-CsLFdX-a.js} +1 -1
  69. package/dist/assets/{avatar-BxRMBMu4.js → avatar-rnqda1xx.js} +1 -1
  70. package/dist/assets/{bank-nXUhm1iQ.js → bank-Cs4v8NL1.js} +1 -1
  71. package/dist/assets/{basic-CEo71bFF.js → basic-xSFa7bBX.js} +1 -1
  72. package/dist/assets/{browser-B0grjLBd.js → browser-DLqcv_a6.js} +1 -1
  73. package/dist/assets/{card-BgomSXAl.js → card-DLzX1v2y.js} +1 -1
  74. package/dist/assets/{castArray-D7LfDZao.js → castArray-B1HXqJmD.js} +1 -1
  75. package/dist/assets/{chat-Cs7w3SS7.js → chat-BlMDXtZ9.js} +1 -1
  76. package/dist/assets/{checkmark-BIv-k9B6.js → checkmark-BcMO8FAy.js} +1 -1
  77. package/dist/assets/{checkmark-bold-KlC1uY4e.js → checkmark-bold-DOtXXjkq.js} +1 -1
  78. package/dist/assets/{chevron-bottom-BXzr6qSv.js → chevron-bottom-C2PomShB.js} +1 -1
  79. package/dist/assets/{chevron-left-C9yfgP3M.js → chevron-left-C9Wj9YaL.js} +1 -1
  80. package/dist/assets/{chevron-right-CXUO1cTG.js → chevron-right-CDpPBr6m.js} +1 -1
  81. package/dist/assets/{chevron-top-Cwh2E2xz.js → chevron-top-dZIYFuO2.js} +1 -1
  82. package/dist/assets/{chrome-store-cqtt0Zdg.js → chrome-store-B8dHgLyx.js} +1 -1
  83. package/dist/assets/{clock-DbuoHNli.js → clock-uCCuSxTL.js} +1 -1
  84. package/dist/assets/{close-roVqSDbK.js → close-BaFiJEUb.js} +1 -1
  85. package/dist/assets/{coinPlaceholder-DS5PhQfb.js → coinPlaceholder-CsKzJaLI.js} +1 -1
  86. package/dist/assets/{compass-D6JpaVgK.js → compass-CoW3IDdE.js} +1 -1
  87. package/dist/assets/{copy-D4qG0vUI.js → copy-RvPKiQWO.js} +1 -1
  88. package/dist/assets/{cursor-R4akAKjZ.js → cursor-CMqDyCys.js} +1 -1
  89. package/dist/assets/{cursor-transparent-Cs3doVNk.js → cursor-transparent-iuMFj5B7.js} +1 -1
  90. package/dist/assets/{debounce-CObvrrZF.js → debounce-CsWS4b-s.js} +1 -1
  91. package/dist/assets/{desktop-BD_cwidl.js → desktop-BvSwmbxw.js} +1 -1
  92. package/dist/assets/{disconnect-RekI04IH.js → disconnect-X8K8CsCQ.js} +1 -1
  93. package/dist/assets/{discord-SlfLCI17.js → discord-DjsJJb5K.js} +1 -1
  94. package/dist/assets/{distribution-a2Hz0Pi3.js → distribution-DWc0DGi7.js} +1 -1
  95. package/dist/assets/{dropdown-CzQpe-jM.js → dropdown-C39pA0vK.js} +1 -1
  96. package/dist/assets/{etherscan-BeSIHeYY.js → etherscan-rEBPWUhK.js} +1 -1
  97. package/dist/assets/{exclamation-triangle-BRjgtHRN.js → exclamation-triangle-COAp1C2d.js} +1 -1
  98. package/dist/assets/{extension-DG7w8sAt.js → extension-Dwa6wXij.js} +1 -1
  99. package/dist/assets/{external-link-DX2d2lG_.js → external-link-buIUnUiJ.js} +1 -1
  100. package/dist/assets/{facebook-Ci2lQ5ta.js → facebook-CLIkZDae.js} +1 -1
  101. package/dist/assets/{farcaster-B5Q0vrSE.js → farcaster-BeZuIr8K.js} +1 -1
  102. package/dist/assets/{filters-BkvBj7bD.js → filters-BGZB6sRi.js} +1 -1
  103. package/dist/assets/{flux-BC9GZ1CP.js → flux-DknOT7y7.js} +1 -1
  104. package/dist/assets/{github-DHgYxqFn.js → github-DBs0SHcg.js} +1 -1
  105. package/dist/assets/{google-BjFvqM82.js → google-DRqe2o_U.js} +1 -1
  106. package/dist/assets/{hailuo-CFfH5_6X.js → hailuo-Dlbckgap.js} +1 -1
  107. package/dist/assets/{headshots-A6NpDuns.js → headshots-Js0m3ETn.js} +1 -1
  108. package/dist/assets/{help-circle-_Cryn4dB.js → help-circle-DXXFDS1V.js} +1 -1
  109. package/dist/assets/{id-DO_iK0ZL.js → id-CdT5IajJ.js} +1 -1
  110. package/dist/assets/{image-XRAFJxE8.js → image-h1B81P_1.js} +1 -1
  111. package/dist/assets/{index-DMmiY74D.js → index-0h3kSKIC.js} +1 -1
  112. package/dist/assets/{index-2vy1wcj3.js → index-2hvfwh84.js} +7 -7
  113. package/dist/assets/{index-Ct2dOPsk.js → index-9Y-HC-Ui.js} +1 -1
  114. package/dist/assets/{index-DwZkhROc.js → index-9jrAdyYu.js} +1 -1
  115. package/dist/assets/{index-BptJaN8J.js → index-B3aYWgSk.js} +1 -1
  116. package/dist/assets/{index-BXX_vFt3.js → index-B4rd_ecQ.js} +1 -1
  117. package/dist/assets/{index-B-JAm44b.js → index-B85slcZG.js} +1 -1
  118. package/dist/assets/{index-22qc2FZq.js → index-B9lS3l7f.js} +1 -1
  119. package/dist/assets/{index-Calm1Ymh.js → index-BDsWYi92.js} +1 -1
  120. package/dist/assets/{index-cgxJEzcD.js → index-BEr3tMbn.js} +1 -1
  121. package/dist/assets/{index-aM9CwRlC.js → index-BKh3ayTV.js} +1 -1
  122. package/dist/assets/{index-BddwoPow.js → index-BLD2yZ6i.js} +1 -1
  123. package/dist/assets/{index-D2haFuBr.js → index-BMXCweS3.js} +1 -1
  124. package/dist/assets/{index-BkV6h0w_.js → index-BN3Vzs3_.js} +1 -1
  125. package/dist/assets/{index-BZFkYi9m.js → index-BShRcSd9.js} +1 -1
  126. package/dist/assets/{index-DOdMuxML.js → index-BTVoJnJr.js} +1 -1
  127. package/dist/assets/{index-DHcx_iZ1.js → index-BYIHDo4j.js} +1 -1
  128. package/dist/assets/{index-B7Z81JPL.js → index-BnxBgPvO.js} +1 -1
  129. package/dist/assets/{index-BwNsovG8.js → index-BoS0Nxhd.js} +1 -1
  130. package/dist/assets/{index-CavRwxY_.js → index-BruCJjR9.js} +1 -1
  131. package/dist/assets/{index-C7CBSS7-.js → index-BuqIYpqE.js} +1 -1
  132. package/dist/assets/{index-D2e68Y-F.js → index-Bwctwx0n.js} +1 -1
  133. package/dist/assets/{index-DSrn86ES.js → index-Bwe5KlOf.js} +1 -1
  134. package/dist/assets/{index-CBOTiBNX.js → index-C4KqRD0L.js} +1 -1
  135. package/dist/assets/{index-CYS9glHt.js → index-C4uqhFX4.js} +1 -1
  136. package/dist/assets/{index-CLI3QDhX.js → index-CCiR5Rcw.js} +1 -1
  137. package/dist/assets/{index-CDcKM8Oe.js → index-CETMISFc.js} +1 -1
  138. package/dist/assets/{index-CSIC1QfC.js → index-CGzjGpyG.js} +1 -1
  139. package/dist/assets/{index-BIzXxnr3.js → index-CMe01Rqw.js} +1 -1
  140. package/dist/assets/{index-BGtbuTdb.js → index-CMgjtWhn.js} +1 -1
  141. package/dist/assets/{index-IdolEomn.js → index-CSTgCvZt.js} +1 -1
  142. package/dist/assets/{index-BObO587n.js → index-CVSEJb6k.js} +1 -1
  143. package/dist/assets/{index-xQgMnsCc.js → index-CWfqFzvs.js} +1 -1
  144. package/dist/assets/{index-BZ7Pt7iN.js → index-CcoUY2FW.js} +1 -1
  145. package/dist/assets/{index-Cs6UviZ6.js → index-Cjg7oJzJ.js} +1 -1
  146. package/dist/assets/{index-Cpby9-Uu.js → index-CnmtwNe6.js} +1 -1
  147. package/dist/assets/{index-WkQL7I6u.js → index-CtFDsfE8.js} +1 -1
  148. package/dist/assets/{index-DuzIja6c.js → index-CyuG0OvQ.js} +1 -1
  149. package/dist/assets/{index-DftQtcM2.js → index-D-9eIHU-.js} +1 -1
  150. package/dist/assets/{index-C4yM0WEF.js → index-D62rxmo8.js} +1 -1
  151. package/dist/assets/{index-mADi1M8x.js → index-DHBUqaEv.js} +1 -1
  152. package/dist/assets/{index-DxdUqwps.js → index-DQIWk0tf.js} +1 -1
  153. package/dist/assets/{index-BGU4aRjj.js → index-DR3IzJ4m.js} +3 -3
  154. package/dist/assets/{index-Dvzk6MrK.js → index-DWLGFcC4.js} +1 -1
  155. package/dist/assets/{index-CQP0YXK6.js → index-DYhL1ZJt.js} +1 -1
  156. package/dist/assets/{index-BqHTNn6B.js → index-De6Diizh.js} +1 -1
  157. package/dist/assets/{index-BkeKEZ-k.js → index-DnSbLIop.js} +1 -1
  158. package/dist/assets/{index--ASUrBsO.js → index-Dqb5nJqw.js} +1 -1
  159. package/dist/assets/{index-gh_PJME6.js → index-Dubw2nvM.js} +1 -1
  160. package/dist/assets/{index-BtNJfDqf.js → index-DxEfT9-1.js} +1 -1
  161. package/dist/assets/{index-DzoEte5S.js → index-DzN7-bbZ.js} +1 -1
  162. package/dist/assets/{index-D68fhidV.js → index-Hck75jrF.js} +3 -3
  163. package/dist/assets/{index-CmO07HLV.js → index-RFt3ijpz.js} +1 -1
  164. package/dist/assets/{index-Dqn5s2k0.js → index-TyVNvLZz.js} +1 -1
  165. package/dist/assets/{index-Bz0EtlgU.js → index-VK7xiKI-.js} +1 -1
  166. package/dist/assets/{index-D8PBvILk.js → index-Xx_GVucA.js} +1 -1
  167. package/dist/assets/{index-n0Zn9M-i.js → index-cDdIN2dE.js} +1 -1
  168. package/dist/assets/{index-OApo6Bke.js → index-g6I7Sd6K.js} +1 -1
  169. package/dist/assets/{index-CvJvjYmL.js → index-vhuBFRDF.js} +1 -1
  170. package/dist/assets/{index-D2kK-l4R.js → index-xJKKTnAx.js} +1 -1
  171. package/dist/assets/{index-vndjDFcX.js → index-yyl-nKkp.js} +1 -1
  172. package/dist/assets/{index-L6clBPhN.js → index-zjxMP3vg.js} +1 -1
  173. package/dist/assets/{index.browser.esm-CeGLBpON.js → index.browser.esm-CRODK3Q6.js} +1 -1
  174. package/dist/assets/{index.es-DIKbTa6V.js → index.es-DW5fekYB.js} +1 -1
  175. package/dist/assets/{info-DGAgJR4-.js → info-DYxjE-tY.js} +1 -1
  176. package/dist/assets/{info-circle-wEjHFNYD.js → info-circle-B2W7XybJ.js} +1 -1
  177. package/dist/assets/{isEqual-Z3pGYmTS.js → isEqual-CmD0Idsh.js} +1 -1
  178. package/dist/assets/{isPlainObject-D94wc8MF.js → isPlainObject-BctsHYby.js} +1 -1
  179. package/dist/assets/{kling-KSXeZN_q.js → kling-vHQvr60T.js} +1 -1
  180. package/dist/assets/{lightbulb-jdVHt1YP.js → lightbulb-4rPlSmxi.js} +1 -1
  181. package/dist/assets/{luma-BpbjOSbc.js → luma-Lr2rzMqq.js} +1 -1
  182. package/dist/assets/{mail-cZiG8EC6.js → mail-CLPp6wbN.js} +1 -1
  183. package/dist/assets/{midjourney-B6i9JYtr.js → midjourney-Cg7E5OGy.js} +1 -1
  184. package/dist/assets/{mobile-BX78Krl7.js → mobile-D_CmXtxi.js} +1 -1
  185. package/dist/assets/{more-D8YHNzoc.js → more-B_6z7Bhz.js} +1 -1
  186. package/dist/assets/{nanobanana-BZpvpRm1.js → nanobanana-CfhSD26i.js} +1 -1
  187. package/dist/assets/{network-placeholder-CmaB8tj2.js → network-placeholder-Bb-_VqQ1.js} +1 -1
  188. package/dist/assets/{nftPlaceholder-qdDG74ln.js → nftPlaceholder-D2X6zTYp.js} +1 -1
  189. package/dist/assets/{off-BCYPxaC3.js → off-DtnDmN2o.js} +1 -1
  190. package/dist/assets/{openaiimage-DEGWFrbk.js → openaiimage-C74hhjtg.js} +1 -1
  191. package/dist/assets/{order-Bg4HbMtu.js → order-DUHwy2aQ.js} +1 -1
  192. package/dist/assets/{pika-Dc6LF-yW.js → pika-BQqTnPUK.js} +1 -1
  193. package/dist/assets/{pixverse-DgrmnQtR.js → pixverse-BVAqiTNX.js} +1 -1
  194. package/dist/assets/{play-store-DoDEd2SP.js → play-store-DQb412jw.js} +1 -1
  195. package/dist/assets/{plus-BnGq-uoK.js → plus-k7_wTkLa.js} +1 -1
  196. package/dist/assets/{price-Cttsdt-i.js → price-CzTrljYe.js} +1 -1
  197. package/dist/assets/{producer-ewVD8k-8.js → producer-DjiBoEeq.js} +1 -1
  198. package/dist/assets/{qr-code-BPyMjK5i.js → qr-code-vYw9aVV2.js} +1 -1
  199. package/dist/assets/{qrart-BkPr5GPo.js → qrart-CYLUi_rD.js} +1 -1
  200. package/dist/assets/{recycle-horizontal-SVwPyy_0.js → recycle-horizontal-BqyFcTkf.js} +1 -1
  201. package/dist/assets/{refresh-1v68Kl6n.js → refresh-D25oAUX-.js} +1 -1
  202. package/dist/assets/{reown-logo-D14JaupS.js → reown-logo-Ch54Aofy.js} +1 -1
  203. package/dist/assets/{search-DUZSN91o.js → search-DDflJ-ey.js} +1 -1
  204. package/dist/assets/{secp256k1-DyNZ7qAT.js → secp256k1-6C3E1QNu.js} +1 -1
  205. package/dist/assets/{secp256k1-C9Pg90Gk.js → secp256k1-YXfBNVBG.js} +1 -1
  206. package/dist/assets/{seedance-BXYFT59A.js → seedance-R_sIfSnY.js} +1 -1
  207. package/dist/assets/{seedream-Dq_JKBZX.js → seedream-BpY0rxME.js} +1 -1
  208. package/dist/assets/{send-I9pAiM6z.js → send-44E-Y6Wx.js} +1 -1
  209. package/dist/assets/{service-CX5CUS-s.js → service-PhyCZWF1.js} +1 -1
  210. package/dist/assets/{solana-wallets-D2bSwS89.js → solana-wallets-eaF1yjTm.js} +2 -2
  211. package/dist/assets/{solana-wallets-vue-DF9bnYim.js → solana-wallets-vue-D3OKtRJ6.js} +1 -1
  212. package/dist/assets/{solanaEmbed.esm-tjT-7HEa.js → solanaEmbed.esm-DONRIxNJ.js} +1 -1
  213. package/dist/assets/{sora-CPWCKubL.js → sora-C-kdVkcj.js} +1 -1
  214. package/dist/assets/{string_decoder-JNEqX79f.js → string_decoder-ayi19Z5I.js} +1 -1
  215. package/dist/assets/{suno-FGoYn-rt.js → suno-Be7vPe4D.js} +1 -1
  216. package/dist/assets/{swapHorizontal-BO9indWm.js → swapHorizontal-CCN_opKr.js} +1 -1
  217. package/dist/assets/{swapHorizontalBold-C50ZpQc8.js → swapHorizontalBold-BZ2SDS5N.js} +1 -1
  218. package/dist/assets/{swapHorizontalMedium-BqvDbNpn.js → swapHorizontalMedium-CyZG3CXG.js} +1 -1
  219. package/dist/assets/{swapHorizontalRoundedBold-DQnqiPyP.js → swapHorizontalRoundedBold-DMG8zpdL.js} +1 -1
  220. package/dist/assets/{swapVertical-DRYdIUjo.js → swapVertical-C2rBtlo-.js} +1 -1
  221. package/dist/assets/{telegram-DCN0ABf2.js → telegram-DP9qfy2e.js} +1 -1
  222. package/dist/assets/{three-dots-DK4BvNI7.js → three-dots-CvW8wDTh.js} +1 -1
  223. package/dist/assets/{twitch-C7e1vByY.js → twitch-gQmtb0SH.js} +1 -1
  224. package/dist/assets/{twitterIcon-B5MiC6I_.js → twitterIcon-DBQQce4B.js} +1 -1
  225. package/dist/assets/{typescript-CI6iuCqS.js → typescript-DzMMwDRL.js} +1 -1
  226. package/dist/assets/{use-form-item-D9F-5-a4.js → use-form-item-BO1xDDh9.js} +1 -1
  227. package/dist/assets/validator-Pgih-Ii9.js +1 -0
  228. package/dist/assets/{veo-C06GiJND.js → veo-BkiVL_th.js} +1 -1
  229. package/dist/assets/{verify-C211w0Hl.js → verify-CS0L2aL7.js} +1 -1
  230. package/dist/assets/{verify-filled-HLMpRJWi.js → verify-filled-DtD_hseK.js} +1 -1
  231. package/dist/assets/{w3m-modal-7Nd4zRoo.js → w3m-modal-mPzczVPx.js} +1 -1
  232. package/dist/assets/{wallet-CLD1R0W3.js → wallet-GG0CFazZ.js} +1 -1
  233. package/dist/assets/{wallet-placeholder-5xBMXUmv.js → wallet-placeholder-9C_d20pw.js} +1 -1
  234. package/dist/assets/{walletconnect-BzqbbNOI.js → walletconnect-B7y21-E7.js} +1 -1
  235. package/dist/assets/{wan-A1rT-Bzg.js → wan-DFFjNbjF.js} +1 -1
  236. package/dist/assets/{warning-circle-Bow0uc_E.js → warning-circle-CO--qi6I.js} +1 -1
  237. package/dist/assets/{web-B4uZgeiz.js → web-BWBmYUFg.js} +1 -1
  238. package/dist/assets/{web-BAv38Gqw.js → web-CPwmJ9Wf.js} +1 -1
  239. package/dist/assets/{x-CsVZqvIM.js → x-NlEqJPTR.js} +1 -1
  240. package/dist/index.html +1 -1
  241. package/package.json +1 -1
  242. package/dist/assets/validator-C6Lnd_57.js +0 -1
@@ -1 +1 @@
1
- import{aq as T,ao as i,a6 as f,aM as u}from"./index-BGU4aRjj.js";import{W as g}from"./wan-DKq-jYOo.js";import{s as b}from"./service-CX5CUS-s.js";import{w}from"./wan-A1rT-Bzg.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},W=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,n);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(o=>{console.debug("get videos tasks success",o.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=o.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",o.data.count),m(o.data.items)}).catch(o=>c(o))}),L={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:R,setTasksActive:W,getTasks:D,createCredential:x},M=t=>{Object.assign(t,u())},N=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},B=(t,e)=>{t.config=e},F=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},G=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},J=(t,e)=>{t.tasks=e},K={setTasks:J,setApplication:j,setApplications:z,setConfig:B,setCredential:V,setService:N,setTasksActive:H,setTasksItems:F,setTasksTotal:G,resetAll:M},nt={namespaced:!0,state:u,mutations:K,actions:L};export{nt as default,nt as wan};
1
+ import{aq as T,ao as i,a6 as f,aM as u}from"./index-DR3IzJ4m.js";import{W as g}from"./wan-DKq-jYOo.js";import{s as b}from"./service-PhyCZWF1.js";import{w}from"./wan-DFFjNbjF.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:n}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,t("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},W=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,n);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(o=>{console.debug("get videos tasks success",o.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=o.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",o.data.count),m(o.data.items)}).catch(o=>c(o))}),L={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:R,setTasksActive:W,getTasks:D,createCredential:x},M=t=>{Object.assign(t,u())},N=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},B=(t,e)=>{t.config=e},F=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},G=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},J=(t,e)=>{t.tasks=e},K={setTasks:J,setApplication:j,setApplications:z,setConfig:B,setCredential:V,setService:N,setTasksActive:H,setTasksItems:F,setTasksTotal:G,resetAll:M},nt={namespaced:!0,state:u,mutations:K,actions:L};export{nt as default,nt as wan};
@@ -1 +1 @@
1
- import{K as M,H as B,M as A,U as T,I as y,z as N,J as j,S as z,y as V,bi as U,N as W,bs as G,R as L,a_ as q,A as J}from"./index-BGU4aRjj.js";import{m as Q}from"./typescript-CI6iuCqS.js";import{S as R,g as X,r as K,w as Y,f as d,p as Z,W as k,d as E,I as D,x as g,z as _,Q as f,u as e,e as ee,E as h,C as x,K as se,F as te,y as P,q as ae,V as oe,U as le,M as ne,G as ie,L as ce}from"./vendor-vue-CpN3YBVJ.js";import{c as $}from"./castArray-D7LfDZao.js";import{E as re}from"./index-C4yM0WEF.js";const S=t=>M(t)||R(t)||X(t),de=B({accordion:Boolean,modelValue:{type:y([Array,String,Number]),default:()=>Q([])},expandIconPosition:{type:y([String]),default:"right"},beforeCollapse:{type:y(Function)}}),ue={[T]:S,[A]:S},F=Symbol("collapseContextKey"),pe="ElCollapse",me=(t,n)=>{const a=K($(t.modelValue)),i=o=>{a.value=o;const l=t.accordion?a.value[0]:a.value;n(T,l),n(A,l)},s=o=>{if(t.accordion)i([a.value[0]===o?"":o]);else{const l=[...a.value],r=l.indexOf(o);r>-1?l.splice(r,1):l.push(o),i(l)}},c=async o=>{const{beforeCollapse:l}=t;if(!l){s(o);return}const r=l(o);[k(r),j(r)].includes(!0)||z(pe,"beforeCollapse must return type `Promise<boolean>` or `boolean`"),k(r)?r.then(p=>{p!==!1&&s(o)}).catch(p=>{}):r&&s(o)};return Y(()=>t.modelValue,()=>a.value=$(t.modelValue),{deep:!0}),Z(F,{activeNames:a,handleItemClick:c}),{activeNames:a,setActiveNames:i}},fe=t=>{const n=N("collapse");return{rootKls:d(()=>[n.b(),n.b(`icon-position-${t.expandIconPosition}`)])}},ve=E({name:"ElCollapse"}),Ce=E({...ve,props:de,emits:ue,setup(t,{expose:n,emit:a}){const i=t,{activeNames:s,setActiveNames:c}=me(i,a),{rootKls:o}=fe(i);return n({activeNames:s,setActiveNames:c}),(l,r)=>(g(),D("div",{class:f(e(o))},[_(l.$slots,"default")],2))}});var be=V(Ce,[["__file","collapse.vue"]]);const he=B({title:{type:String,default:""},name:{type:y([String,Number]),default:void 0},icon:{type:W,default:U},disabled:Boolean}),ye=t=>{const n=ee(F),{namespace:a}=N("collapse"),i=K(!1),s=K(!1),c=G(),o=d(()=>c.current++),l=d(()=>{var u;return(u=t.name)!=null?u:`${a.value}-id-${c.prefix}-${e(o)}`}),r=d(()=>n?.activeNames.value.includes(e(l)));return{focusing:i,id:o,isActive:r,handleFocus:()=>{setTimeout(()=>{s.value?s.value=!1:i.value=!0},50)},handleHeaderClick:u=>{if(t.disabled)return;const m=u.target;m?.closest("input, textarea, select")||(n?.handleItemClick(e(l)),i.value=!1,s.value=!0)},handleEnterClick:u=>{const m=u.target;m?.closest("input, textarea, select")||(u.preventDefault(),n?.handleItemClick(e(l)))}}},_e=(t,{focusing:n,isActive:a,id:i})=>{const s=N("collapse"),c=d(()=>[s.b("item"),s.is("active",e(a)),s.is("disabled",t.disabled)]),o=d(()=>[s.be("item","header"),s.is("active",e(a)),{focusing:e(n)&&!t.disabled}]),l=d(()=>[s.be("item","arrow"),s.is("active",e(a))]),r=d(()=>[s.be("item","title")]),C=d(()=>s.be("item","wrap")),p=d(()=>s.be("item","content")),b=d(()=>s.b(`content-${e(i)}`)),u=d(()=>s.b(`head-${e(i)}`));return{itemTitleKls:r,arrowKls:l,headKls:o,rootKls:c,itemWrapperKls:C,itemContentKls:p,scopedContentId:b,scopedHeadId:u}},Ee=E({name:"ElCollapseItem"}),Ie=E({...Ee,props:he,setup(t,{expose:n}){const a=t,{focusing:i,id:s,isActive:c,handleFocus:o,handleHeaderClick:l,handleEnterClick:r}=ye(a),{arrowKls:C,headKls:p,rootKls:b,itemTitleKls:u,itemWrapperKls:m,itemContentKls:O,scopedContentId:I,scopedHeadId:w}=_e(a,{focusing:i,isActive:c,id:s});return n({isActive:c}),(v,Ke)=>(g(),D("div",{class:f(e(b))},[h("div",{id:e(w),class:f(e(p)),"aria-expanded":e(c),"aria-controls":e(I),"aria-describedby":e(I),tabindex:v.disabled?-1:0,role:"button",onClick:e(l),onKeydown:le(ne(e(r),["stop"]),["space","enter"]),onFocus:e(o),onBlur:ge=>i.value=!1},[h("span",{class:f(e(u))},[_(v.$slots,"title",{isActive:e(c)},()=>[se(te(v.title),1)])],2),_(v.$slots,"icon",{isActive:e(c)},()=>[x(e(L),{class:f(e(C))},{default:P(()=>[(g(),ae(oe(v.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),x(e(re),null,{default:P(()=>[ie(h("div",{id:e(I),role:"region",class:f(e(m)),"aria-hidden":!e(c),"aria-labelledby":e(w)},[h("div",{class:f(e(O))},[_(v.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[ce,e(c)]])]),_:3})],2))}});var H=V(Ie,[["__file","collapse-item.vue"]]);const $e=J(be,{CollapseItem:H}),Se=q(H);export{Se as E,$e as a};
1
+ import{K as M,H as B,M as A,U as T,I as y,z as N,J as j,S as z,y as V,bi as U,N as W,bs as G,R as L,a_ as q,A as J}from"./index-DR3IzJ4m.js";import{m as Q}from"./typescript-DzMMwDRL.js";import{S as R,g as X,r as K,w as Y,f as d,p as Z,W as k,d as E,I as D,x as g,z as _,Q as f,u as e,e as ee,E as h,C as x,K as se,F as te,y as P,q as ae,V as oe,U as le,M as ne,G as ie,L as ce}from"./vendor-vue-CpN3YBVJ.js";import{c as $}from"./castArray-B1HXqJmD.js";import{E as re}from"./index-D62rxmo8.js";const S=t=>M(t)||R(t)||X(t),de=B({accordion:Boolean,modelValue:{type:y([Array,String,Number]),default:()=>Q([])},expandIconPosition:{type:y([String]),default:"right"},beforeCollapse:{type:y(Function)}}),ue={[T]:S,[A]:S},F=Symbol("collapseContextKey"),pe="ElCollapse",me=(t,n)=>{const a=K($(t.modelValue)),i=o=>{a.value=o;const l=t.accordion?a.value[0]:a.value;n(T,l),n(A,l)},s=o=>{if(t.accordion)i([a.value[0]===o?"":o]);else{const l=[...a.value],r=l.indexOf(o);r>-1?l.splice(r,1):l.push(o),i(l)}},c=async o=>{const{beforeCollapse:l}=t;if(!l){s(o);return}const r=l(o);[k(r),j(r)].includes(!0)||z(pe,"beforeCollapse must return type `Promise<boolean>` or `boolean`"),k(r)?r.then(p=>{p!==!1&&s(o)}).catch(p=>{}):r&&s(o)};return Y(()=>t.modelValue,()=>a.value=$(t.modelValue),{deep:!0}),Z(F,{activeNames:a,handleItemClick:c}),{activeNames:a,setActiveNames:i}},fe=t=>{const n=N("collapse");return{rootKls:d(()=>[n.b(),n.b(`icon-position-${t.expandIconPosition}`)])}},ve=E({name:"ElCollapse"}),Ce=E({...ve,props:de,emits:ue,setup(t,{expose:n,emit:a}){const i=t,{activeNames:s,setActiveNames:c}=me(i,a),{rootKls:o}=fe(i);return n({activeNames:s,setActiveNames:c}),(l,r)=>(g(),D("div",{class:f(e(o))},[_(l.$slots,"default")],2))}});var be=V(Ce,[["__file","collapse.vue"]]);const he=B({title:{type:String,default:""},name:{type:y([String,Number]),default:void 0},icon:{type:W,default:U},disabled:Boolean}),ye=t=>{const n=ee(F),{namespace:a}=N("collapse"),i=K(!1),s=K(!1),c=G(),o=d(()=>c.current++),l=d(()=>{var u;return(u=t.name)!=null?u:`${a.value}-id-${c.prefix}-${e(o)}`}),r=d(()=>n?.activeNames.value.includes(e(l)));return{focusing:i,id:o,isActive:r,handleFocus:()=>{setTimeout(()=>{s.value?s.value=!1:i.value=!0},50)},handleHeaderClick:u=>{if(t.disabled)return;const m=u.target;m?.closest("input, textarea, select")||(n?.handleItemClick(e(l)),i.value=!1,s.value=!0)},handleEnterClick:u=>{const m=u.target;m?.closest("input, textarea, select")||(u.preventDefault(),n?.handleItemClick(e(l)))}}},_e=(t,{focusing:n,isActive:a,id:i})=>{const s=N("collapse"),c=d(()=>[s.b("item"),s.is("active",e(a)),s.is("disabled",t.disabled)]),o=d(()=>[s.be("item","header"),s.is("active",e(a)),{focusing:e(n)&&!t.disabled}]),l=d(()=>[s.be("item","arrow"),s.is("active",e(a))]),r=d(()=>[s.be("item","title")]),C=d(()=>s.be("item","wrap")),p=d(()=>s.be("item","content")),b=d(()=>s.b(`content-${e(i)}`)),u=d(()=>s.b(`head-${e(i)}`));return{itemTitleKls:r,arrowKls:l,headKls:o,rootKls:c,itemWrapperKls:C,itemContentKls:p,scopedContentId:b,scopedHeadId:u}},Ee=E({name:"ElCollapseItem"}),Ie=E({...Ee,props:he,setup(t,{expose:n}){const a=t,{focusing:i,id:s,isActive:c,handleFocus:o,handleHeaderClick:l,handleEnterClick:r}=ye(a),{arrowKls:C,headKls:p,rootKls:b,itemTitleKls:u,itemWrapperKls:m,itemContentKls:O,scopedContentId:I,scopedHeadId:w}=_e(a,{focusing:i,isActive:c,id:s});return n({isActive:c}),(v,Ke)=>(g(),D("div",{class:f(e(b))},[h("div",{id:e(w),class:f(e(p)),"aria-expanded":e(c),"aria-controls":e(I),"aria-describedby":e(I),tabindex:v.disabled?-1:0,role:"button",onClick:e(l),onKeydown:le(ne(e(r),["stop"]),["space","enter"]),onFocus:e(o),onBlur:ge=>i.value=!1},[h("span",{class:f(e(u))},[_(v.$slots,"title",{isActive:e(c)},()=>[se(te(v.title),1)])],2),_(v.$slots,"icon",{isActive:e(c)},()=>[x(e(L),{class:f(e(C))},{default:P(()=>[(g(),ae(oe(v.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),x(e(re),null,{default:P(()=>[ie(h("div",{id:e(I),role:"region",class:f(e(m)),"aria-hidden":!e(c),"aria-labelledby":e(w)},[h("div",{class:f(e(O))},[_(v.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[ce,e(c)]])]),_:3})],2))}});var H=V(Ie,[["__file","collapse-item.vue"]]);const $e=J(be,{CollapseItem:H}),Se=q(H);export{Se as E,$e as a};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-DiBdjoJz.js","assets/index-2vy1wcj3.js","assets/index.browser.esm-CeGLBpON.js","assets/vendor-dayjs-D7e3rSuL.js","assets/index-BGU4aRjj.js","assets/vendor-vue-CpN3YBVJ.js","assets/vendor-axios-NIGUFBhG.js","assets/vendor-vue-router-DjvMdekB.js","assets/index-CwQfvHBb.css","assets/index-4erIVwAR.js","assets/events-C1bJOe9X.js","assets/types-Cvj5H4DH.js","assets/all-wallets-YI7KvAbJ.js","assets/arrow-bottom-circle-DUm2Gsom.js","assets/app-store-hJHJfnuO.js","assets/apple-BvyGnpgm.js","assets/arrow-bottom-BuZri4fw.js","assets/arrow-left-BUUImemg.js","assets/arrow-right-Uzvnpwmm.js","assets/arrow-top-P35W49Zl.js","assets/bank-nXUhm1iQ.js","assets/browser-B0grjLBd.js","assets/card-BgomSXAl.js","assets/checkmark-BIv-k9B6.js","assets/checkmark-bold-KlC1uY4e.js","assets/chevron-bottom-BXzr6qSv.js","assets/chevron-left-C9yfgP3M.js","assets/chevron-right-CXUO1cTG.js","assets/chevron-top-Cwh2E2xz.js","assets/chrome-store-cqtt0Zdg.js","assets/clock-DbuoHNli.js","assets/close-roVqSDbK.js","assets/compass-D6JpaVgK.js","assets/coinPlaceholder-DS5PhQfb.js","assets/copy-D4qG0vUI.js","assets/cursor-R4akAKjZ.js","assets/cursor-transparent-Cs3doVNk.js","assets/desktop-BD_cwidl.js","assets/disconnect-RekI04IH.js","assets/discord-SlfLCI17.js","assets/etherscan-BeSIHeYY.js","assets/extension-DG7w8sAt.js","assets/external-link-DX2d2lG_.js","assets/facebook-Ci2lQ5ta.js","assets/farcaster-B5Q0vrSE.js","assets/filters-BkvBj7bD.js","assets/github-DHgYxqFn.js","assets/google-BjFvqM82.js","assets/help-circle-_Cryn4dB.js","assets/image-XRAFJxE8.js","assets/id-DO_iK0ZL.js","assets/info-circle-wEjHFNYD.js","assets/lightbulb-jdVHt1YP.js","assets/mail-cZiG8EC6.js","assets/mobile-BX78Krl7.js","assets/more-D8YHNzoc.js","assets/network-placeholder-CmaB8tj2.js","assets/nftPlaceholder-qdDG74ln.js","assets/off-BCYPxaC3.js","assets/play-store-DoDEd2SP.js","assets/plus-BnGq-uoK.js","assets/qr-code-BPyMjK5i.js","assets/recycle-horizontal-SVwPyy_0.js","assets/refresh-1v68Kl6n.js","assets/search-DUZSN91o.js","assets/send-I9pAiM6z.js","assets/swapHorizontal-BO9indWm.js","assets/swapHorizontalMedium-BqvDbNpn.js","assets/swapHorizontalBold-C50ZpQc8.js","assets/swapHorizontalRoundedBold-DQnqiPyP.js","assets/swapVertical-DRYdIUjo.js","assets/telegram-DCN0ABf2.js","assets/three-dots-DK4BvNI7.js","assets/twitch-C7e1vByY.js","assets/x-CsVZqvIM.js","assets/twitterIcon-B5MiC6I_.js","assets/verify-C211w0Hl.js","assets/verify-filled-HLMpRJWi.js","assets/wallet-CLD1R0W3.js","assets/walletconnect-BzqbbNOI.js","assets/wallet-placeholder-5xBMXUmv.js","assets/warning-circle-Bow0uc_E.js","assets/info-DGAgJR4-.js","assets/exclamation-triangle-BRjgtHRN.js","assets/reown-logo-D14JaupS.js"])))=>i.map(i=>d[i]);
2
- import{_ as N,$ as q,z as S,A as b,B as E,C as f,a0 as Y,a1 as V,F as H,E as X}from"./index-2vy1wcj3.js";import{_ as a}from"./index-BGU4aRjj.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:r}){return t.length<=e+i?t:r==="end"?`${t.substring(0,e)}...`:r==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),r=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),c=100-3*Number(n?.replace("px","")),s=`${c}% ${c}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(r,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-YiwVhQB5.js","assets/index-2hvfwh84.js","assets/index.browser.esm-CRODK3Q6.js","assets/vendor-dayjs-D7e3rSuL.js","assets/index-DR3IzJ4m.js","assets/vendor-vue-CpN3YBVJ.js","assets/vendor-axios-NIGUFBhG.js","assets/vendor-vue-router-DjvMdekB.js","assets/index-CwQfvHBb.css","assets/index-4erIVwAR.js","assets/events-C1bJOe9X.js","assets/types-Cvj5H4DH.js","assets/all-wallets-C_3nhmDj.js","assets/arrow-bottom-circle-BkHGEyN5.js","assets/app-store-EHOIZJK9.js","assets/apple-CtqlsTj7.js","assets/arrow-bottom-Dr7PhJcA.js","assets/arrow-left-D4TTAmDX.js","assets/arrow-right-BEUbaIpj.js","assets/arrow-top-CsLFdX-a.js","assets/bank-Cs4v8NL1.js","assets/browser-DLqcv_a6.js","assets/card-DLzX1v2y.js","assets/checkmark-BcMO8FAy.js","assets/checkmark-bold-DOtXXjkq.js","assets/chevron-bottom-C2PomShB.js","assets/chevron-left-C9Wj9YaL.js","assets/chevron-right-CDpPBr6m.js","assets/chevron-top-dZIYFuO2.js","assets/chrome-store-B8dHgLyx.js","assets/clock-uCCuSxTL.js","assets/close-BaFiJEUb.js","assets/compass-CoW3IDdE.js","assets/coinPlaceholder-CsKzJaLI.js","assets/copy-RvPKiQWO.js","assets/cursor-CMqDyCys.js","assets/cursor-transparent-iuMFj5B7.js","assets/desktop-BvSwmbxw.js","assets/disconnect-X8K8CsCQ.js","assets/discord-DjsJJb5K.js","assets/etherscan-rEBPWUhK.js","assets/extension-Dwa6wXij.js","assets/external-link-buIUnUiJ.js","assets/facebook-CLIkZDae.js","assets/farcaster-BeZuIr8K.js","assets/filters-BGZB6sRi.js","assets/github-DBs0SHcg.js","assets/google-DRqe2o_U.js","assets/help-circle-DXXFDS1V.js","assets/image-h1B81P_1.js","assets/id-CdT5IajJ.js","assets/info-circle-B2W7XybJ.js","assets/lightbulb-4rPlSmxi.js","assets/mail-CLPp6wbN.js","assets/mobile-D_CmXtxi.js","assets/more-B_6z7Bhz.js","assets/network-placeholder-Bb-_VqQ1.js","assets/nftPlaceholder-D2X6zTYp.js","assets/off-DtnDmN2o.js","assets/play-store-DQb412jw.js","assets/plus-k7_wTkLa.js","assets/qr-code-vYw9aVV2.js","assets/recycle-horizontal-BqyFcTkf.js","assets/refresh-D25oAUX-.js","assets/search-DDflJ-ey.js","assets/send-44E-Y6Wx.js","assets/swapHorizontal-CCN_opKr.js","assets/swapHorizontalMedium-CyZG3CXG.js","assets/swapHorizontalBold-BZ2SDS5N.js","assets/swapHorizontalRoundedBold-DMG8zpdL.js","assets/swapVertical-C2rBtlo-.js","assets/telegram-DP9qfy2e.js","assets/three-dots-CvW8wDTh.js","assets/twitch-gQmtb0SH.js","assets/x-NlEqJPTR.js","assets/twitterIcon-DBQQce4B.js","assets/verify-CS0L2aL7.js","assets/verify-filled-DtD_hseK.js","assets/wallet-GG0CFazZ.js","assets/walletconnect-B7y21-E7.js","assets/wallet-placeholder-9C_d20pw.js","assets/warning-circle-CO--qi6I.js","assets/info-DYxjE-tY.js","assets/exclamation-triangle-COAp1C2d.js","assets/reown-logo-Ch54Aofy.js"])))=>i.map(i=>d[i]);
2
+ import{_ as N,$ as q,z as S,A as b,B as E,C as f,a0 as Y,a1 as V,F as H,E as X}from"./index-2hvfwh84.js";import{_ as a}from"./index-DR3IzJ4m.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:r}){return t.length<=e+i?t:r==="end"?`${t.substring(0,e)}...`:r==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),r=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),c=100-3*Number(n?.replace("px","")),s=`${c}% ${c}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(r,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
3
3
  --local-color-1: ${u[0]};
4
4
  --local-color-2: ${u[1]};
5
5
  --local-color-3: ${u[2]};
@@ -82,7 +82,7 @@ import{_ as N,$ as q,z as S,A as b,B as E,C as f,a0 as Y,a1 as V,F as H,E as X}f
82
82
  width: var(--local-width);
83
83
  height: var(--local-height);
84
84
  }
85
- `;var P=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-DiBdjoJz.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-YI7KvAbJ.js");return{allWalletsSvg:t}},__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-DUm2Gsom.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-hJHJfnuO.js");return{appStoreSvg:t}},__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-BvyGnpgm.js");return{appleSvg:t}},__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-BuZri4fw.js");return{arrowBottomSvg:t}},__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-BUUImemg.js");return{arrowLeftSvg:t}},__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-Uzvnpwmm.js");return{arrowRightSvg:t}},__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-P35W49Zl.js");return{arrowTopSvg:t}},__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-nXUhm1iQ.js");return{bankSvg:t}},__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-B0grjLBd.js");return{browserSvg:t}},__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-BgomSXAl.js");return{cardSvg:t}},__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-BIv-k9B6.js");return{checkmarkSvg:t}},__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-KlC1uY4e.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-BXzr6qSv.js");return{chevronBottomSvg:t}},__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-C9yfgP3M.js");return{chevronLeftSvg:t}},__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-CXUO1cTG.js");return{chevronRightSvg:t}},__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-Cwh2E2xz.js");return{chevronTopSvg:t}},__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,10,11]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-cqtt0Zdg.js");return{chromeStoreSvg:t}},__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-DbuoHNli.js");return{clockSvg:t}},__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-roVqSDbK.js");return{closeSvg:t}},__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-D6JpaVgK.js");return{compassSvg:t}},__vite__mapDeps([32,1,2,3,4,5,6,7,8,9,10,11]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-DS5PhQfb.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,10,11]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-D4qG0vUI.js");return{copySvg:t}},__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-R4akAKjZ.js");return{cursorSvg:t}},__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,10,11]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-Cs3doVNk.js");return{cursorTransparentSvg:t}},__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-BD_cwidl.js");return{desktopSvg:t}},__vite__mapDeps([37,1,2,3,4,5,6,7,8,9,10,11]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-RekI04IH.js");return{disconnectSvg:t}},__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-SlfLCI17.js");return{discordSvg:t}},__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-BeSIHeYY.js");return{etherscanSvg:t}},__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-DG7w8sAt.js");return{extensionSvg:t}},__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-DX2d2lG_.js");return{externalLinkSvg:t}},__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-Ci2lQ5ta.js");return{facebookSvg:t}},__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-B5Q0vrSE.js");return{farcasterSvg:t}},__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-BkvBj7bD.js");return{filtersSvg:t}},__vite__mapDeps([45,1,2,3,4,5,6,7,8,9,10,11]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-DHgYxqFn.js");return{githubSvg:t}},__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-BjFvqM82.js");return{googleSvg:t}},__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-_Cryn4dB.js");return{helpCircleSvg:t}},__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-XRAFJxE8.js");return{imageSvg:t}},__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-DO_iK0ZL.js");return{idSvg:t}},__vite__mapDeps([50,1,2,3,4,5,6,7,8,9,10,11]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-wEjHFNYD.js");return{infoCircleSvg:t}},__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-jdVHt1YP.js");return{lightbulbSvg:t}},__vite__mapDeps([52,1,2,3,4,5,6,7,8,9,10,11]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-cZiG8EC6.js");return{mailSvg:t}},__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,10,11]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-BX78Krl7.js");return{mobileSvg:t}},__vite__mapDeps([54,1,2,3,4,5,6,7,8,9,10,11]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-D8YHNzoc.js");return{moreSvg:t}},__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,10,11]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-CmaB8tj2.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,11]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-qdDG74ln.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-BCYPxaC3.js");return{offSvg:t}},__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,11]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-DoDEd2SP.js");return{playStoreSvg:t}},__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,10,11]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-BnGq-uoK.js");return{plusSvg:t}},__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-BPyMjK5i.js");return{qrCodeIcon:t}},__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,10,11]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-SVwPyy_0.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([62,1,2,3,4,5,6,7,8,9,10,11]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-1v68Kl6n.js");return{refreshSvg:t}},__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-DUZSN91o.js");return{searchSvg:t}},__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,10,11]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-I9pAiM6z.js");return{sendSvg:t}},__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-BO9indWm.js");return{swapHorizontalSvg:t}},__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-BqvDbNpn.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([67,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-C50ZpQc8.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-DQnqiPyP.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-DRYdIUjo.js");return{swapVerticalSvg:t}},__vite__mapDeps([70,1,2,3,4,5,6,7,8,9,10,11]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-DCN0ABf2.js");return{telegramSvg:t}},__vite__mapDeps([71,1,2,3,4,5,6,7,8,9,10,11]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-DK4BvNI7.js");return{threeDotsSvg:t}},__vite__mapDeps([72,1,2,3,4,5,6,7,8,9,10,11]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-C7e1vByY.js");return{twitchSvg:t}},__vite__mapDeps([73,1,2,3,4,5,6,7,8,9,10,11]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CsVZqvIM.js");return{xSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6,7,8,9,10,11]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-B5MiC6I_.js");return{twitterIconSvg:t}},__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,10,11]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-C211w0Hl.js");return{verifySvg:t}},__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-HLMpRJWi.js");return{verifyFilledSvg:t}},__vite__mapDeps([77,1,2,3,4,5,6,7,8,9,10,11]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-CLD1R0W3.js");return{walletSvg:t}},__vite__mapDeps([78,1,2,3,4,5,6,7,8,9,10,11]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-BzqbbNOI.js");return{walletConnectSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-BzqbbNOI.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-BzqbbNOI.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-5xBMXUmv.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,10,11]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-Bow0uc_E.js");return{warningCircleSvg:t}},__vite__mapDeps([81,1,2,3,4,5,6,7,8,9,10,11]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CsVZqvIM.js");return{xSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6,7,8,9,10,11]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-DGAgJR4-.js");return{infoSvg:t}},__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,10,11]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-BRjgtHRN.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([83,1,2,3,4,5,6,7,8,9,10,11]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-D14JaupS.js");return{reownSvg:t}},__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,10,11]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const i=(M[t]??M.copy)();return D.set(t,i),i}let m=class extends E{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
85
+ `;var P=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-YiwVhQB5.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-C_3nhmDj.js");return{allWalletsSvg:t}},__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-BkHGEyN5.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-EHOIZJK9.js");return{appStoreSvg:t}},__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-CtqlsTj7.js");return{appleSvg:t}},__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-Dr7PhJcA.js");return{arrowBottomSvg:t}},__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-D4TTAmDX.js");return{arrowLeftSvg:t}},__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-BEUbaIpj.js");return{arrowRightSvg:t}},__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-CsLFdX-a.js");return{arrowTopSvg:t}},__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-Cs4v8NL1.js");return{bankSvg:t}},__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-DLqcv_a6.js");return{browserSvg:t}},__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-DLzX1v2y.js");return{cardSvg:t}},__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-BcMO8FAy.js");return{checkmarkSvg:t}},__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-DOtXXjkq.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-C2PomShB.js");return{chevronBottomSvg:t}},__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-C9Wj9YaL.js");return{chevronLeftSvg:t}},__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-CDpPBr6m.js");return{chevronRightSvg:t}},__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-dZIYFuO2.js");return{chevronTopSvg:t}},__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,10,11]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-B8dHgLyx.js");return{chromeStoreSvg:t}},__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-uCCuSxTL.js");return{clockSvg:t}},__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-BaFiJEUb.js");return{closeSvg:t}},__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-CoW3IDdE.js");return{compassSvg:t}},__vite__mapDeps([32,1,2,3,4,5,6,7,8,9,10,11]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-CsKzJaLI.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,10,11]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-RvPKiQWO.js");return{copySvg:t}},__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-CMqDyCys.js");return{cursorSvg:t}},__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,10,11]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-iuMFj5B7.js");return{cursorTransparentSvg:t}},__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-BvSwmbxw.js");return{desktopSvg:t}},__vite__mapDeps([37,1,2,3,4,5,6,7,8,9,10,11]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-X8K8CsCQ.js");return{disconnectSvg:t}},__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-DjsJJb5K.js");return{discordSvg:t}},__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-rEBPWUhK.js");return{etherscanSvg:t}},__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-Dwa6wXij.js");return{extensionSvg:t}},__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-buIUnUiJ.js");return{externalLinkSvg:t}},__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-CLIkZDae.js");return{facebookSvg:t}},__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-BeZuIr8K.js");return{farcasterSvg:t}},__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-BGZB6sRi.js");return{filtersSvg:t}},__vite__mapDeps([45,1,2,3,4,5,6,7,8,9,10,11]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-DBs0SHcg.js");return{githubSvg:t}},__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-DRqe2o_U.js");return{googleSvg:t}},__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-DXXFDS1V.js");return{helpCircleSvg:t}},__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-h1B81P_1.js");return{imageSvg:t}},__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-CdT5IajJ.js");return{idSvg:t}},__vite__mapDeps([50,1,2,3,4,5,6,7,8,9,10,11]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-B2W7XybJ.js");return{infoCircleSvg:t}},__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-4rPlSmxi.js");return{lightbulbSvg:t}},__vite__mapDeps([52,1,2,3,4,5,6,7,8,9,10,11]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-CLPp6wbN.js");return{mailSvg:t}},__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,10,11]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-D_CmXtxi.js");return{mobileSvg:t}},__vite__mapDeps([54,1,2,3,4,5,6,7,8,9,10,11]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-B_6z7Bhz.js");return{moreSvg:t}},__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,10,11]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-Bb-_VqQ1.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,11]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-D2X6zTYp.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-DtnDmN2o.js");return{offSvg:t}},__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,11]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-DQb412jw.js");return{playStoreSvg:t}},__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,10,11]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-k7_wTkLa.js");return{plusSvg:t}},__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-vYw9aVV2.js");return{qrCodeIcon:t}},__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,10,11]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-BqyFcTkf.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([62,1,2,3,4,5,6,7,8,9,10,11]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-D25oAUX-.js");return{refreshSvg:t}},__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-DDflJ-ey.js");return{searchSvg:t}},__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,10,11]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-44E-Y6Wx.js");return{sendSvg:t}},__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-CCN_opKr.js");return{swapHorizontalSvg:t}},__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-CyZG3CXG.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([67,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-BZ2SDS5N.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-DMG8zpdL.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6,7,8,9,10,11]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-C2rBtlo-.js");return{swapVerticalSvg:t}},__vite__mapDeps([70,1,2,3,4,5,6,7,8,9,10,11]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-DP9qfy2e.js");return{telegramSvg:t}},__vite__mapDeps([71,1,2,3,4,5,6,7,8,9,10,11]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-CvW8wDTh.js");return{threeDotsSvg:t}},__vite__mapDeps([72,1,2,3,4,5,6,7,8,9,10,11]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-gQmtb0SH.js");return{twitchSvg:t}},__vite__mapDeps([73,1,2,3,4,5,6,7,8,9,10,11]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-NlEqJPTR.js");return{xSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6,7,8,9,10,11]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-DBQQce4B.js");return{twitterIconSvg:t}},__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,10,11]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-CS0L2aL7.js");return{verifySvg:t}},__vite__mapDeps([76,1,2,3,4,5,6,7,8,9,10,11]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-DtD_hseK.js");return{verifyFilledSvg:t}},__vite__mapDeps([77,1,2,3,4,5,6,7,8,9,10,11]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-GG0CFazZ.js");return{walletSvg:t}},__vite__mapDeps([78,1,2,3,4,5,6,7,8,9,10,11]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-B7y21-E7.js");return{walletConnectSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-B7y21-E7.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-B7y21-E7.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,9,10,11]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-9C_d20pw.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,10,11]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-CO--qi6I.js");return{warningCircleSvg:t}},__vite__mapDeps([81,1,2,3,4,5,6,7,8,9,10,11]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-NlEqJPTR.js");return{xSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6,7,8,9,10,11]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-DYxjE-tY.js");return{infoSvg:t}},__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,10,11]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-COAp1C2d.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([83,1,2,3,4,5,6,7,8,9,10,11]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-Ch54Aofy.js");return{reownSvg:t}},__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,10,11]))).reownSvg};async function gt(t){if(D.has(t))return D.get(t);const i=(M[t]??M.copy)();return D.set(t,i),i}let m=class extends E{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
86
86
  --local-color: ${`var(--wui-color-${this.color});`}
87
87
  --local-width: ${`var(--wui-icon-size-${this.size});`}
88
88
  --local-aspect-ratio: ${this.aspectRatio}
@@ -1 +1 @@
1
- import{aq as T,ao as n,a6 as f,aB as u}from"./index-BGU4aRjj.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-CX5CUS-s.js";import{h as S}from"./hailuo-CFfH5_6X.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},H=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),B={setService:$,getService:x,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:R,setTasksActive:H,getTasks:L,createCredential:O},D=t=>{Object.assign(t,u())},U=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:j,setApplications:z,setConfig:F,setCredential:V,setService:U,setTasksActive:K,setTasksItems:G,setTasksTotal:J,resetAll:D},ot={namespaced:!0,state:u,mutations:N,actions:B};export{ot as default,ot as hailuo};
1
+ import{aq as T,ao as n,a6 as f,aB as u}from"./index-DR3IzJ4m.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-PhyCZWF1.js";import{h as S}from"./hailuo-Dlbckgap.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},H=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),B={setService:$,getService:x,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:R,setTasksActive:H,getTasks:L,createCredential:O},D=t=>{Object.assign(t,u())},U=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:j,setApplications:z,setConfig:F,setCredential:V,setService:U,setTasksActive:K,setTasksItems:G,setTasksTotal:J,resetAll:D},ot={namespaced:!0,state:u,mutations:N,actions:B};export{ot as default,ot as hailuo};
@@ -1 +1 @@
1
- import{ao as n,a6 as b,aE as g,aq as f,aF as k}from"./index-BGU4aRjj.js";import{s as S}from"./service-CX5CUS-s.js";import{n as w}from"./nanobanana-BZpvpRm1.js";import{m as C}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const I=({commit:t})=>{t("resetAll")},$=async({commit:t,dispatch:s},e)=>{if(console.debug("set application",e),t("setApplication",e),!e){console.debug("application is null, return");return}const a=e?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",e),await s("createCredential"))},y=async({commit:t},s)=>{console.debug("set applications",s),t("setApplications",s)},E=async({commit:t},s)=>{console.debug("set service",s),t("setService",s)},h=async({commit:t},s)=>{console.debug("set credential",s),t("setCredential",s)},O=async({commit:t,state:s})=>{const e=s.application;if(console.debug("prepare to create credential for application",e),!e){console.error("Application not found");return}console.debug("creating create credential for application",e);const{data:a}=await f.create({application_id:e?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:s})=>{s.status.getService=n.Request;try{const{data:e}=await S.get(g);return s.status.getService=n.Success,t("setService",e),e}catch{s.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:s,rootState:e})=>{console.debug("start to get applications for nanobanana"),s.status.getApplications=n.Request;try{const{data:a}=await b.getAll({user_id:e?.user?.id,service_id:g});return s.status.getApplications=n.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),s.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},q=({commit:t},s)=>{t("setConfig",s)},N=({commit:t},s)=>{t("setTasks",s)},P=({commit:t},s)=>{t("setTasksItems",s)},R=({commit:t},s)=>{t("setTasksTotal",s)},B=({commit:t},s)=>{t("setTasksActive",s)},D=async({commit:t,state:s,rootState:e},{offset:a,limit:i,createdAtMin:A,createdAtMax:T})=>(s.status.getTasks=n.Request,new Promise((v,r)=>{console.debug("start to get tasks",a,i);const l=s.credential;console.debug("current credential",l);const d=l?.token;if(!d)return s.status.getTasks=n.Error,r("no token");w.tasks({userId:e?.user?.id,offset:a,limit:i,createdAtMin:A,createdAtMax:T,type:"images"},{token:d}).then(o=>{console.debug("get images tasks success",o.data.items);const p=s?.tasks?.items||[];console.debug("existing items",p);const u=o.data.items||[];console.debug("new items",u);const m=C(p,u);t("setTasksItems",m),t("setTasksTotal",o.data.count),s.status.getTasks=n.Success,v(o.data.items)}).catch(o=>(s.status.getTasks=n.Error,r(o)))})),F={createCredential:O,setService:E,getService:x,resetAll:I,setCredential:h,setConfig:q,setApplications:y,setApplication:$,getApplications:_,setTasks:N,setTasksItems:P,setTasksTotal:R,setTasksActive:B,getTasks:D},c={items:void 0,total:void 0,active:void 0},L=t=>{Object.assign(t,k())},V=(t,s)=>{t.service=s},j=(t,s)=>{t.credential=s},z=(t,s)=>{t.application=s},G=(t,s)=>{t.applications=s},H=(t,s)=>{t.config=s},J=(t,s)=>{const e={...t.tasks||c,items:s};t.tasks=e},K=(t,s)=>{const e={...t.tasks||c,total:s};t.tasks=e},M=(t,s)=>{const e={...t.tasks||c,active:s};t.tasks=e},Q=(t,s)=>{t.tasks=s},U={setTasks:Q,setApplication:z,setApplications:G,setConfig:H,setCredential:j,setService:V,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:L},nt={namespaced:!0,state:k,mutations:U,actions:F};export{nt as default,nt as nanobanana};
1
+ import{ao as n,a6 as b,aE as g,aq as f,aF as k}from"./index-DR3IzJ4m.js";import{s as S}from"./service-PhyCZWF1.js";import{n as w}from"./nanobanana-CfhSD26i.js";import{m as C}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const I=({commit:t})=>{t("resetAll")},$=async({commit:t,dispatch:s},e)=>{if(console.debug("set application",e),t("setApplication",e),!e){console.debug("application is null, return");return}const a=e?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",e),await s("createCredential"))},y=async({commit:t},s)=>{console.debug("set applications",s),t("setApplications",s)},E=async({commit:t},s)=>{console.debug("set service",s),t("setService",s)},h=async({commit:t},s)=>{console.debug("set credential",s),t("setCredential",s)},O=async({commit:t,state:s})=>{const e=s.application;if(console.debug("prepare to create credential for application",e),!e){console.error("Application not found");return}console.debug("creating create credential for application",e);const{data:a}=await f.create({application_id:e?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:s})=>{s.status.getService=n.Request;try{const{data:e}=await S.get(g);return s.status.getService=n.Success,t("setService",e),e}catch{s.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:s,rootState:e})=>{console.debug("start to get applications for nanobanana"),s.status.getApplications=n.Request;try{const{data:a}=await b.getAll({user_id:e?.user?.id,service_id:g});return s.status.getApplications=n.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),s.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},q=({commit:t},s)=>{t("setConfig",s)},N=({commit:t},s)=>{t("setTasks",s)},P=({commit:t},s)=>{t("setTasksItems",s)},R=({commit:t},s)=>{t("setTasksTotal",s)},B=({commit:t},s)=>{t("setTasksActive",s)},D=async({commit:t,state:s,rootState:e},{offset:a,limit:i,createdAtMin:A,createdAtMax:T})=>(s.status.getTasks=n.Request,new Promise((v,r)=>{console.debug("start to get tasks",a,i);const l=s.credential;console.debug("current credential",l);const d=l?.token;if(!d)return s.status.getTasks=n.Error,r("no token");w.tasks({userId:e?.user?.id,offset:a,limit:i,createdAtMin:A,createdAtMax:T,type:"images"},{token:d}).then(o=>{console.debug("get images tasks success",o.data.items);const p=s?.tasks?.items||[];console.debug("existing items",p);const u=o.data.items||[];console.debug("new items",u);const m=C(p,u);t("setTasksItems",m),t("setTasksTotal",o.data.count),s.status.getTasks=n.Success,v(o.data.items)}).catch(o=>(s.status.getTasks=n.Error,r(o)))})),F={createCredential:O,setService:E,getService:x,resetAll:I,setCredential:h,setConfig:q,setApplications:y,setApplication:$,getApplications:_,setTasks:N,setTasksItems:P,setTasksTotal:R,setTasksActive:B,getTasks:D},c={items:void 0,total:void 0,active:void 0},L=t=>{Object.assign(t,k())},V=(t,s)=>{t.service=s},j=(t,s)=>{t.credential=s},z=(t,s)=>{t.application=s},G=(t,s)=>{t.applications=s},H=(t,s)=>{t.config=s},J=(t,s)=>{const e={...t.tasks||c,items:s};t.tasks=e},K=(t,s)=>{const e={...t.tasks||c,total:s};t.tasks=e},M=(t,s)=>{const e={...t.tasks||c,active:s};t.tasks=e},Q=(t,s)=>{t.tasks=s},U={setTasks:Q,setApplication:z,setApplications:G,setConfig:H,setCredential:j,setService:V,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:L},nt={namespaced:!0,state:k,mutations:U,actions:F};export{nt as default,nt as nanobanana};
@@ -1 +1 @@
1
- import{aq as T,ao as n,a6 as f,ay as u}from"./index-BGU4aRjj.js";import{S as g}from"./sora-BiA8hqQT.js";import{s as b}from"./service-CX5CUS-s.js";import{s as S}from"./sora-CPWCKubL.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),V={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:L,createCredential:O},j=t=>{Object.assign(t,u())},z=(t,e)=>{t.service=e},B=(t,e)=>{t.credential=e},F=(t,e)=>{t.application=e},G=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:F,setApplications:G,setConfig:H,setCredential:B,setService:z,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:j},ot={namespaced:!0,state:u,mutations:Q,actions:V};export{ot as default,ot as sora};
1
+ import{aq as T,ao as n,a6 as f,ay as u}from"./index-DR3IzJ4m.js";import{S as g}from"./sora-BiA8hqQT.js";import{s as b}from"./service-PhyCZWF1.js";import{s as S}from"./sora-C-kdVkcj.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),V={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:L,createCredential:O},j=t=>{Object.assign(t,u())},z=(t,e)=>{t.service=e},B=(t,e)=>{t.credential=e},F=(t,e)=>{t.application=e},G=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:F,setApplications:G,setConfig:H,setCredential:B,setService:z,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:j},ot={namespaced:!0,state:u,mutations:Q,actions:V};export{ot as default,ot as sora};
@@ -1 +1 @@
1
- import{aq as T,ao as i,a6 as f,au as u}from"./index-BGU4aRjj.js";import{L as g}from"./luma-CZR6zMIo.js";import{s as b}from"./service-CX5CUS-s.js";import{l as S}from"./luma-BpbjOSbc.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,console.debug("get applications success",o.items),t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},L=({commit:t},e)=>{t("setTasksTotal",e)},R=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:m})=>new Promise((A,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:m},{token:l}).then(n=>{console.debug("get luma tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",n.data.count),A(n.data.items)}).catch(n=>c(n))}),M={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:L,setTasksActive:R,getTasks:D,createCredential:x},U=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},K=(t,e)=>{t.tasks=e},N={setTasks:K,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:U},ot={namespaced:!0,state:u,mutations:N,actions:M};export{ot as default,ot as luma};
1
+ import{aq as T,ao as i,a6 as f,au as u}from"./index-DR3IzJ4m.js";import{L as g}from"./luma-CZR6zMIo.js";import{s as b}from"./service-PhyCZWF1.js";import{l as S}from"./luma-Lr2rzMqq.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},x=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},O=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await b.get(g);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=i.Success,console.debug("get applications success",o.items),t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},L=({commit:t},e)=>{t("setTasksTotal",e)},R=({commit:t},e)=>{t("setTasksActive",e)},D=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:m})=>new Promise((A,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:m},{token:l}).then(n=>{console.debug("get luma tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",n.data.count),A(n.data.items)}).catch(n=>c(n))}),M={setService:h,getService:O,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:q,setTasksTotal:L,setTasksActive:R,getTasks:D,createCredential:x},U=t=>{Object.assign(t,u())},V=(t,e)=>{t.service=e},j=(t,e)=>{t.credential=e},z=(t,e)=>{t.application=e},B=(t,e)=>{t.applications=e},F=(t,e)=>{t.config=e},G=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},H=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},K=(t,e)=>{t.tasks=e},N={setTasks:K,setApplication:z,setApplications:B,setConfig:F,setCredential:j,setService:V,setTasksActive:J,setTasksItems:G,setTasksTotal:H,resetAll:U},ot={namespaced:!0,state:u,mutations:N,actions:M};export{ot as default,ot as luma};
@@ -1 +1 @@
1
- import{d as w,X as N,r as V,f as g,j as u,q as i,x as o,y as d,G as $,E as k,Q as a,u as e,J as r,z as m,V as z,I as c,K as b,F as y,O,C as P,L as F,T as R}from"./vendor-vue-CpN3YBVJ.js";import{a1 as j,H as q,a2 as G,a3 as E,y as H,z as J,b as K,R as T,a4 as L,A as M}from"./index-BGU4aRjj.js";import{u as Q,a as U}from"./index-DwZkhROc.js";const X=["light","dark"],W=q({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:G(E),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:X,default:"light"},...Q}),Y={open:()=>!0,close:n=>j(n)||n instanceof Event},Z=w({name:"ElAlert"}),_=w({...Z,props:W,emits:Y,setup(n,{emit:v}){const l=n,{Close:S}=L,A=N(),t=J("alert"),p=V(!1),C=g(()=>E[l.type]),f=g(()=>!!(l.description||A.default)),B=()=>{p.value=!0,v("open")},h=s=>{p.value=!1,v("close",s)},{onOpen:D,onClose:I}=U({showAfter:u(l,"showAfter"),hideAfter:u(l,"hideAfter"),autoClose:u(l,"autoClose"),open:B,close:h});return K&&D(),(s,ee)=>(o(),i(R,{name:e(t).b("fade"),persisted:""},{default:d(()=>[$(k("div",{class:a([e(t).b(),e(t).m(s.type),e(t).is("center",s.center),e(t).is(s.effect)]),role:"alert"},[s.showIcon&&(s.$slots.icon||e(C))?(o(),i(e(T),{key:0,class:a([e(t).e("icon"),{[e(t).is("big")]:e(f)}])},{default:d(()=>[m(s.$slots,"icon",{},()=>[(o(),i(z(e(C))))])]),_:3},8,["class"])):r("v-if",!0),k("div",{class:a(e(t).e("content"))},[s.title||s.$slots.title?(o(),c("span",{key:0,class:a([e(t).e("title"),{"with-description":e(f)}])},[m(s.$slots,"title",{},()=>[b(y(s.title),1)])],2)):r("v-if",!0),e(f)?(o(),c("p",{key:1,class:a(e(t).e("description"))},[m(s.$slots,"default",{},()=>[b(y(s.description),1)])],2)):r("v-if",!0),s.closable?(o(),c(O,{key:2},[s.closeText?(o(),c("div",{key:0,class:a([e(t).e("close-btn"),e(t).is("customed")]),onClick:h},y(s.closeText),3)):(o(),i(e(T),{key:1,class:a(e(t).e("close-btn")),onClick:e(I)},{default:d(()=>[P(e(S))]),_:1},8,["class","onClick"]))],64)):r("v-if",!0)],2)],2),[[F,p.value]])]),_:3},8,["name"]))}});var x=H(_,[["__file","alert.vue"]]);const ae=M(x);export{ae as E};
1
+ import{d as w,X as N,r as V,f as g,j as u,q as i,x as o,y as d,G as $,E as k,Q as a,u as e,J as r,z as m,V as z,I as c,K as b,F as y,O,C as P,L as F,T as R}from"./vendor-vue-CpN3YBVJ.js";import{a1 as j,H as q,a2 as G,a3 as E,y as H,z as J,b as K,R as T,a4 as L,A as M}from"./index-DR3IzJ4m.js";import{u as Q,a as U}from"./index-9jrAdyYu.js";const X=["light","dark"],W=q({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:G(E),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:X,default:"light"},...Q}),Y={open:()=>!0,close:n=>j(n)||n instanceof Event},Z=w({name:"ElAlert"}),_=w({...Z,props:W,emits:Y,setup(n,{emit:v}){const l=n,{Close:S}=L,A=N(),t=J("alert"),p=V(!1),C=g(()=>E[l.type]),f=g(()=>!!(l.description||A.default)),B=()=>{p.value=!0,v("open")},h=s=>{p.value=!1,v("close",s)},{onOpen:D,onClose:I}=U({showAfter:u(l,"showAfter"),hideAfter:u(l,"hideAfter"),autoClose:u(l,"autoClose"),open:B,close:h});return K&&D(),(s,ee)=>(o(),i(R,{name:e(t).b("fade"),persisted:""},{default:d(()=>[$(k("div",{class:a([e(t).b(),e(t).m(s.type),e(t).is("center",s.center),e(t).is(s.effect)]),role:"alert"},[s.showIcon&&(s.$slots.icon||e(C))?(o(),i(e(T),{key:0,class:a([e(t).e("icon"),{[e(t).is("big")]:e(f)}])},{default:d(()=>[m(s.$slots,"icon",{},()=>[(o(),i(z(e(C))))])]),_:3},8,["class"])):r("v-if",!0),k("div",{class:a(e(t).e("content"))},[s.title||s.$slots.title?(o(),c("span",{key:0,class:a([e(t).e("title"),{"with-description":e(f)}])},[m(s.$slots,"title",{},()=>[b(y(s.title),1)])],2)):r("v-if",!0),e(f)?(o(),c("p",{key:1,class:a(e(t).e("description"))},[m(s.$slots,"default",{},()=>[b(y(s.description),1)])],2)):r("v-if",!0),s.closable?(o(),c(O,{key:2},[s.closeText?(o(),c("div",{key:0,class:a([e(t).e("close-btn"),e(t).is("customed")]),onClick:h},y(s.closeText),3)):(o(),i(e(T),{key:1,class:a(e(t).e("close-btn")),onClick:e(I)},{default:d(()=>[P(e(S))]),_:1},8,["class","onClick"]))],64)):r("v-if",!0)],2)],2),[[F,p.value]])]),_:3},8,["name"]))}});var x=H(_,[["__file","alert.vue"]]);const ae=M(x);export{ae as E};
@@ -1 +1 @@
1
- import{H as b,I as S,y as N,z as h,a$ as $,K as B,a1 as E,A as P,a_ as T}from"./index-BGU4aRjj.js";import{d as p,I as u,x as i,q as w,J as I,u as t,Q as f,ab as v,r as z,o as C,w as V,j,z as _,O as m,N as g,C as O,A as y,a1 as A}from"./vendor-vue-CpN3YBVJ.js";const H=b({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:S([Number,Object])}}),L=b({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),R=p({name:"ElSkeletonItem"}),q=p({...R,props:L,setup(l){const e=h("skeleton");return(o,s)=>(i(),u("div",{class:f([t(e).e("item"),t(e).e(o.variant)])},[o.variant==="image"?(i(),w(t($),{key:0})):I("v-if",!0)],2))}});var c=N(q,[["__file","skeleton-item.vue"]]);const F=(l,e=0)=>{if(e===0)return l;const o=v(e)&&!!e.initVal,s=z(o);let r=null;const a=n=>{if(E(n)){s.value=l.value;return}r&&clearTimeout(r),r=setTimeout(()=>{s.value=l.value},n)},d=n=>{n==="leading"?B(e)?a(e):a(e.leading):v(e)?a(e.trailing):s.value=!1};return C(()=>d("leading")),V(()=>l.value,n=>{d(n?"leading":"trailing")}),s},J=p({name:"ElSkeleton"}),K=p({...J,props:H,setup(l,{expose:e}){const o=l,s=h("skeleton"),r=F(j(o,"loading"),o.throttle);return e({uiLoading:r}),(a,d)=>t(r)?(i(),u("div",y({key:0,class:[t(s).b(),t(s).is("animated",a.animated)]},a.$attrs),[(i(!0),u(m,null,g(a.count,n=>(i(),u(m,{key:n},[t(r)?_(a.$slots,"template",{key:n},()=>[O(c,{class:f(t(s).is("first")),variant:"p"},null,8,["class"]),(i(!0),u(m,null,g(a.rows,k=>(i(),w(c,{key:k,class:f([t(s).e("paragraph"),t(s).is("last",k===a.rows&&a.rows>1)]),variant:"p"},null,8,["class"]))),128))]):I("v-if",!0)],64))),128))],16)):_(a.$slots,"default",A(y({key:1},a.$attrs)))}});var M=N(K,[["__file","skeleton.vue"]]);const D=P(M,{SkeletonItem:c}),G=T(c);export{G as E,D as a};
1
+ import{H as b,I as S,y as N,z as h,a$ as $,K as B,a1 as E,A as P,a_ as T}from"./index-DR3IzJ4m.js";import{d as p,I as u,x as i,q as w,J as I,u as t,Q as f,ab as v,r as z,o as C,w as V,j,z as _,O as m,N as g,C as O,A as y,a1 as A}from"./vendor-vue-CpN3YBVJ.js";const H=b({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:S([Number,Object])}}),L=b({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),R=p({name:"ElSkeletonItem"}),q=p({...R,props:L,setup(l){const e=h("skeleton");return(o,s)=>(i(),u("div",{class:f([t(e).e("item"),t(e).e(o.variant)])},[o.variant==="image"?(i(),w(t($),{key:0})):I("v-if",!0)],2))}});var c=N(q,[["__file","skeleton-item.vue"]]);const F=(l,e=0)=>{if(e===0)return l;const o=v(e)&&!!e.initVal,s=z(o);let r=null;const a=n=>{if(E(n)){s.value=l.value;return}r&&clearTimeout(r),r=setTimeout(()=>{s.value=l.value},n)},d=n=>{n==="leading"?B(e)?a(e):a(e.leading):v(e)?a(e.trailing):s.value=!1};return C(()=>d("leading")),V(()=>l.value,n=>{d(n?"leading":"trailing")}),s},J=p({name:"ElSkeleton"}),K=p({...J,props:H,setup(l,{expose:e}){const o=l,s=h("skeleton"),r=F(j(o,"loading"),o.throttle);return e({uiLoading:r}),(a,d)=>t(r)?(i(),u("div",y({key:0,class:[t(s).b(),t(s).is("animated",a.animated)]},a.$attrs),[(i(!0),u(m,null,g(a.count,n=>(i(),u(m,{key:n},[t(r)?_(a.$slots,"template",{key:n},()=>[O(c,{class:f(t(s).is("first")),variant:"p"},null,8,["class"]),(i(!0),u(m,null,g(a.rows,k=>(i(),w(c,{key:k,class:f([t(s).e("paragraph"),t(s).is("last",k===a.rows&&a.rows>1)]),variant:"p"},null,8,["class"]))),128))]):I("v-if",!0)],64))),128))],16)):_(a.$slots,"default",A(y({key:1},a.$attrs)))}});var M=N(K,[["__file","skeleton.vue"]]);const D=P(M,{SkeletonItem:c}),G=T(c);export{G as E,D as a};
@@ -1 +1 @@
1
- import{S as w,d as L,f as d,r as S,w as D,o as Y,I as v,x as i,E as T,J as c,U as Z,u as a,Q as u,q as r,y as p,V as y,F as E,z as F,C as _,R as x,M as ee,n as ae,W as O}from"./vendor-vue-CpN3YBVJ.js";import{J as V,K as C,H as ie,L as N,M as P,U as B,I as te,N as g,y as ne,O as se,z as oe,P as le,Q as ce,R as m,G as re,S as ue,T as de,A as ve}from"./index-BGU4aRjj.js";import{i as fe}from"./validator-C6Lnd_57.js";import{u as pe}from"./index-aM9CwRlC.js";import{u as me,a as he}from"./use-form-item-D9F-5-a4.js";const ye=ie({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:fe},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:g},activeActionIcon:{type:g},activeIcon:{type:g},inactiveIcon:{type:g},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:te(Function)},id:String,tabindex:{type:[String,Number]},...pe(["ariaLabel"])}),be={[B]:o=>V(o)||w(o)||C(o),[P]:o=>V(o)||w(o)||C(o),[N]:o=>V(o)||w(o)||C(o)},U="ElSwitch",Ie=L({name:U}),ke=L({...Ie,props:ye,emits:be,setup(o,{expose:R,emit:f}){const n=o,{formItem:b}=me(),G=se(),t=oe("switch"),{inputId:H}=he(n,{formItemContext:b}),I=le(d(()=>n.loading)),A=S(n.modelValue!==!1),h=S(),J=S(),Q=d(()=>[t.b(),t.m(G.value),t.is("disabled",I.value),t.is("checked",s.value)]),W=d(()=>[t.e("label"),t.em("label","left"),t.is("active",!s.value)]),$=d(()=>[t.e("label"),t.em("label","right"),t.is("active",s.value)]),q=d(()=>({width:ce(n.width)}));D(()=>n.modelValue,()=>{A.value=!0});const z=d(()=>A.value?n.modelValue:!1),s=d(()=>z.value===n.activeValue);[n.activeValue,n.inactiveValue].includes(z.value)||(f(B,n.inactiveValue),f(P,n.inactiveValue),f(N,n.inactiveValue)),D(s,e=>{var l;h.value.checked=e,n.validateEvent&&((l=b?.validate)==null||l.call(b,"change").catch(X=>de()))});const k=()=>{const e=s.value?n.inactiveValue:n.activeValue;f(B,e),f(P,e),f(N,e),ae(()=>{h.value.checked=s.value})},K=()=>{if(I.value)return;const{beforeChange:e}=n;if(!e){k();return}const l=e();[O(l),V(l)].includes(!0)||ue(U,"beforeChange must return type `Promise<boolean>` or `boolean`"),O(l)?l.then(M=>{M&&k()}).catch(M=>{}):l&&k()},j=()=>{var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)};return Y(()=>{h.value.checked=s.value}),R({focus:j,checked:s}),(e,l)=>(i(),v("div",{class:u(a(Q)),onClick:ee(K,["prevent"])},[T("input",{id:a(H),ref_key:"input",ref:h,class:u(a(t).e("input")),type:"checkbox",role:"switch","aria-checked":a(s),"aria-disabled":a(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:a(I),tabindex:e.tabindex,onChange:k,onKeydown:Z(K,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(i(),v("span",{key:0,class:u(a(W))},[e.inactiveIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.inactiveIcon)))]),_:1})):c("v-if",!0),!e.inactiveIcon&&e.inactiveText?(i(),v("span",{key:1,"aria-hidden":a(s)},E(e.inactiveText),9,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0),T("span",{ref_key:"core",ref:J,class:u(a(t).e("core")),style:x(a(q))},[e.inlinePrompt?(i(),v("div",{key:0,class:u(a(t).e("inner"))},[e.activeIcon||e.inactiveIcon?(i(),r(a(m),{key:0,class:u(a(t).is("icon"))},{default:p(()=>[(i(),r(y(a(s)?e.activeIcon:e.inactiveIcon)))]),_:1},8,["class"])):e.activeText||e.inactiveText?(i(),v("span",{key:1,class:u(a(t).is("text")),"aria-hidden":!a(s)},E(a(s)?e.activeText:e.inactiveText),11,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0),T("div",{class:u(a(t).e("action"))},[e.loading?(i(),r(a(m),{key:0,class:u(a(t).is("loading"))},{default:p(()=>[_(a(re))]),_:1},8,["class"])):a(s)?F(e.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.activeActionIcon)))]),_:1})):c("v-if",!0)]):a(s)?c("v-if",!0):F(e.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.inactiveActionIcon)))]),_:1})):c("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(i(),v("span",{key:1,class:u(a($))},[e.activeIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.activeIcon)))]),_:1})):c("v-if",!0),!e.activeIcon&&e.activeText?(i(),v("span",{key:1,"aria-hidden":!a(s)},E(e.activeText),9,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0)],10,["onClick"]))}});var ge=ne(ke,[["__file","switch.vue"]]);const Ce=ve(ge);export{Ce as E};
1
+ import{S as w,d as L,f as d,r as S,w as D,o as Y,I as v,x as i,E as T,J as c,U as Z,u as a,Q as u,q as r,y as p,V as y,F as E,z as F,C as _,R as x,M as ee,n as ae,W as O}from"./vendor-vue-CpN3YBVJ.js";import{J as V,K as C,H as ie,L as N,M as P,U as B,I as te,N as g,y as ne,O as se,z as oe,P as le,Q as ce,R as m,G as re,S as ue,T as de,A as ve}from"./index-DR3IzJ4m.js";import{i as fe}from"./validator-Pgih-Ii9.js";import{u as pe}from"./index-BKh3ayTV.js";import{u as me,a as he}from"./use-form-item-BO1xDDh9.js";const ye=ie({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:fe},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:g},activeActionIcon:{type:g},activeIcon:{type:g},inactiveIcon:{type:g},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:te(Function)},id:String,tabindex:{type:[String,Number]},...pe(["ariaLabel"])}),be={[B]:o=>V(o)||w(o)||C(o),[P]:o=>V(o)||w(o)||C(o),[N]:o=>V(o)||w(o)||C(o)},U="ElSwitch",Ie=L({name:U}),ke=L({...Ie,props:ye,emits:be,setup(o,{expose:R,emit:f}){const n=o,{formItem:b}=me(),G=se(),t=oe("switch"),{inputId:H}=he(n,{formItemContext:b}),I=le(d(()=>n.loading)),A=S(n.modelValue!==!1),h=S(),J=S(),Q=d(()=>[t.b(),t.m(G.value),t.is("disabled",I.value),t.is("checked",s.value)]),W=d(()=>[t.e("label"),t.em("label","left"),t.is("active",!s.value)]),$=d(()=>[t.e("label"),t.em("label","right"),t.is("active",s.value)]),q=d(()=>({width:ce(n.width)}));D(()=>n.modelValue,()=>{A.value=!0});const z=d(()=>A.value?n.modelValue:!1),s=d(()=>z.value===n.activeValue);[n.activeValue,n.inactiveValue].includes(z.value)||(f(B,n.inactiveValue),f(P,n.inactiveValue),f(N,n.inactiveValue)),D(s,e=>{var l;h.value.checked=e,n.validateEvent&&((l=b?.validate)==null||l.call(b,"change").catch(X=>de()))});const k=()=>{const e=s.value?n.inactiveValue:n.activeValue;f(B,e),f(P,e),f(N,e),ae(()=>{h.value.checked=s.value})},K=()=>{if(I.value)return;const{beforeChange:e}=n;if(!e){k();return}const l=e();[O(l),V(l)].includes(!0)||ue(U,"beforeChange must return type `Promise<boolean>` or `boolean`"),O(l)?l.then(M=>{M&&k()}).catch(M=>{}):l&&k()},j=()=>{var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)};return Y(()=>{h.value.checked=s.value}),R({focus:j,checked:s}),(e,l)=>(i(),v("div",{class:u(a(Q)),onClick:ee(K,["prevent"])},[T("input",{id:a(H),ref_key:"input",ref:h,class:u(a(t).e("input")),type:"checkbox",role:"switch","aria-checked":a(s),"aria-disabled":a(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:a(I),tabindex:e.tabindex,onChange:k,onKeydown:Z(K,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(i(),v("span",{key:0,class:u(a(W))},[e.inactiveIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.inactiveIcon)))]),_:1})):c("v-if",!0),!e.inactiveIcon&&e.inactiveText?(i(),v("span",{key:1,"aria-hidden":a(s)},E(e.inactiveText),9,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0),T("span",{ref_key:"core",ref:J,class:u(a(t).e("core")),style:x(a(q))},[e.inlinePrompt?(i(),v("div",{key:0,class:u(a(t).e("inner"))},[e.activeIcon||e.inactiveIcon?(i(),r(a(m),{key:0,class:u(a(t).is("icon"))},{default:p(()=>[(i(),r(y(a(s)?e.activeIcon:e.inactiveIcon)))]),_:1},8,["class"])):e.activeText||e.inactiveText?(i(),v("span",{key:1,class:u(a(t).is("text")),"aria-hidden":!a(s)},E(a(s)?e.activeText:e.inactiveText),11,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0),T("div",{class:u(a(t).e("action"))},[e.loading?(i(),r(a(m),{key:0,class:u(a(t).is("loading"))},{default:p(()=>[_(a(re))]),_:1},8,["class"])):a(s)?F(e.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.activeActionIcon)))]),_:1})):c("v-if",!0)]):a(s)?c("v-if",!0):F(e.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.inactiveActionIcon)))]),_:1})):c("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(i(),v("span",{key:1,class:u(a($))},[e.activeIcon?(i(),r(a(m),{key:0},{default:p(()=>[(i(),r(y(e.activeIcon)))]),_:1})):c("v-if",!0),!e.activeIcon&&e.activeText?(i(),v("span",{key:1,"aria-hidden":!a(s)},E(e.activeText),9,["aria-hidden"])):c("v-if",!0)],2)):c("v-if",!0)],10,["onClick"]))}});var ge=ne(ke,[["__file","switch.vue"]]);const Ce=ve(ge);export{Ce as E};
@@ -1 +1 @@
1
- import{aq as b,ao as a,a6 as v,as as m}from"./index-BGU4aRjj.js";import{M as f}from"./midjourney-D43AbamE.js";import{m as S}from"./midjourney-B6i9JYtr.js";import{s as C}from"./service-CX5CUS-s.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const T=({commit:e})=>{e("resetAll")},I=async({commit:e,dispatch:t},s)=>{if(console.debug("set application",s),e("setApplication",s),!s){console.debug("application is null, return");return}const n=s?.credentials?.find(i=>i?.host===window.location.origin);n?(console.debug("credential exists, set credential",n),e("setCredential",n)):(console.debug("credential not exists, start to create credential for application",s),await t("createCredential"))},h=async({commit:e},t)=>{console.debug("set applications",t),e("setApplications",t)},y=async({commit:e},t)=>{console.debug("set service",t),e("setService",t)},$=async({commit:e},t)=>{console.debug("set credential",t),e("setCredential",t)},O=async({commit:e,state:t})=>{const s=t.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:n}=await b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",n),e("setCredential",n),console.debug("end createCredential"),n},E=async({commit:e,state:t})=>{t.status.getService=a.Request;try{const{data:s}=await C.get(f);return t.status.getService=a.Success,e("setService",s),s}catch{t.status.getService=a.Error,e("setService",void 0)}},_=async({commit:e,state:t,rootState:s})=>{console.debug("start to get applications for chat"),t.status.getApplications=a.Request;const n=t.application;console.debug("current application",n);try{const{data:i}=await v.getAll({user_id:s?.user?.id,service_id:f});return t.status.getApplications=a.Success,e("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),t.status.getApplications=a.Error,e("setApplications",void 0),e("setApplication",void 0)}},x=({commit:e},t)=>{e("setConfig",t)},R=({commit:e},t)=>{e("setMode",t)},q=({commit:e},t)=>{e("setTasks",t)},P=async({commit:e,state:t,rootState:s},{offset:n,limit:i,createdAtMin:c,createdAtMax:r})=>new Promise((k,l)=>{console.debug("start to get tasks",n,i,r,c);const p=t.credential;console.debug("current credential",p);const d=p?.token;if(!d)return l("no token");S.tasks({userId:s?.user?.id,createdAtMin:c,createdAtMax:r},{token:d}).then(o=>{console.debug("get imagine tasks success",o.data.items);const u=t?.tasks?.items||[];console.debug("existing items",u);const g=o.data.items||[];console.debug("new items",g);const A=w(u,g);e("setTasksItems",A),e("setTasksTotal",o.data.count),k(o.data.items)}).catch(o=>l(o))}),j={setService:y,getService:E,resetAll:T,setCredential:$,setConfig:x,setMode:R,setApplication:I,setApplications:h,getApplications:_,setTasks:q,getTasks:P,createCredential:O},D=e=>{Object.assign(e,m())},M=(e,t)=>{const s={...e.tasks,items:t};e.tasks=s},J=(e,t)=>{const s={...e.tasks,total:t};e.tasks=s},L=(e,t)=>{e.service=t},N=(e,t)=>{e.credential=t},U=(e,t)=>{e.application=t},V=(e,t)=>{e.applications=t},Y=(e,t)=>{e.config=t},z=(e,t)=>{e.tasks=t},B={setApplication:U,setApplications:V,setConfig:Y,setTasksItems:M,setTasksTotal:J,setCredential:N,setService:L,setTasks:z,resetAll:D},te={namespaced:!0,state:m,mutations:B,actions:j};export{te as default,te as midjourney};
1
+ import{aq as b,ao as a,a6 as v,as as m}from"./index-DR3IzJ4m.js";import{M as f}from"./midjourney-D43AbamE.js";import{m as S}from"./midjourney-Cg7E5OGy.js";import{s as C}from"./service-PhyCZWF1.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const T=({commit:e})=>{e("resetAll")},I=async({commit:e,dispatch:t},s)=>{if(console.debug("set application",s),e("setApplication",s),!s){console.debug("application is null, return");return}const n=s?.credentials?.find(i=>i?.host===window.location.origin);n?(console.debug("credential exists, set credential",n),e("setCredential",n)):(console.debug("credential not exists, start to create credential for application",s),await t("createCredential"))},h=async({commit:e},t)=>{console.debug("set applications",t),e("setApplications",t)},y=async({commit:e},t)=>{console.debug("set service",t),e("setService",t)},$=async({commit:e},t)=>{console.debug("set credential",t),e("setCredential",t)},O=async({commit:e,state:t})=>{const s=t.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:n}=await b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",n),e("setCredential",n),console.debug("end createCredential"),n},E=async({commit:e,state:t})=>{t.status.getService=a.Request;try{const{data:s}=await C.get(f);return t.status.getService=a.Success,e("setService",s),s}catch{t.status.getService=a.Error,e("setService",void 0)}},_=async({commit:e,state:t,rootState:s})=>{console.debug("start to get applications for chat"),t.status.getApplications=a.Request;const n=t.application;console.debug("current application",n);try{const{data:i}=await v.getAll({user_id:s?.user?.id,service_id:f});return t.status.getApplications=a.Success,e("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),t.status.getApplications=a.Error,e("setApplications",void 0),e("setApplication",void 0)}},x=({commit:e},t)=>{e("setConfig",t)},R=({commit:e},t)=>{e("setMode",t)},q=({commit:e},t)=>{e("setTasks",t)},P=async({commit:e,state:t,rootState:s},{offset:n,limit:i,createdAtMin:c,createdAtMax:r})=>new Promise((k,l)=>{console.debug("start to get tasks",n,i,r,c);const p=t.credential;console.debug("current credential",p);const d=p?.token;if(!d)return l("no token");S.tasks({userId:s?.user?.id,createdAtMin:c,createdAtMax:r},{token:d}).then(o=>{console.debug("get imagine tasks success",o.data.items);const u=t?.tasks?.items||[];console.debug("existing items",u);const g=o.data.items||[];console.debug("new items",g);const A=w(u,g);e("setTasksItems",A),e("setTasksTotal",o.data.count),k(o.data.items)}).catch(o=>l(o))}),j={setService:y,getService:E,resetAll:T,setCredential:$,setConfig:x,setMode:R,setApplication:I,setApplications:h,getApplications:_,setTasks:q,getTasks:P,createCredential:O},D=e=>{Object.assign(e,m())},M=(e,t)=>{const s={...e.tasks,items:t};e.tasks=s},J=(e,t)=>{const s={...e.tasks,total:t};e.tasks=s},L=(e,t)=>{e.service=t},N=(e,t)=>{e.credential=t},U=(e,t)=>{e.application=t},V=(e,t)=>{e.applications=t},Y=(e,t)=>{e.config=t},z=(e,t)=>{e.tasks=t},B={setApplication:U,setApplications:V,setConfig:Y,setTasksItems:M,setTasksTotal:J,setCredential:N,setService:L,setTasks:z,resetAll:D},te={namespaced:!0,state:m,mutations:B,actions:j};export{te as default,te as midjourney};
@@ -1 +1 @@
1
- import{aq as T,ao as o,a6 as f,av as u}from"./index-BGU4aRjj.js";import{p as b,P as g}from"./pika-Dc6LF-yW.js";import{s as S}from"./service-CX5CUS-s.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},P=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:i}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},E=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},K=async({commit:t,state:e,rootState:s},{offset:a,limit:i,createdAtMin:k,createdAtMax:A})=>new Promise((v,c)=>{console.debug("start to get tasks",a,i);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(n=>{console.debug("get videos tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const m=w(p,d);t("setTasksItems",m),t("setTasksTotal",n.data.count),v(n.data.items)}).catch(n=>c(n))}),L={setService:h,getService:x,resetAll:C,setCredential:y,setConfig:_,setApplication:I,setApplications:$,getApplications:O,setTasks:E,setTasksItems:q,setTasksTotal:R,setTasksActive:D,getTasks:K,createCredential:P},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:u,mutations:Q,actions:L};export{at as default,at as pika};
1
+ import{aq as T,ao as o,a6 as f,av as u}from"./index-DR3IzJ4m.js";import{p as b,P as g}from"./pika-BQqTnPUK.js";import{s as S}from"./service-PhyCZWF1.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-dayjs-D7e3rSuL.js";import"./vendor-vue-router-DjvMdekB.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(i=>i?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},P=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=o.Request;const a=e.application;console.debug("current application",a);try{const{data:i}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",i.items),i.items}catch(i){console.error("get applications failed",i),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},E=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},R=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},K=async({commit:t,state:e,rootState:s},{offset:a,limit:i,createdAtMin:k,createdAtMax:A})=>new Promise((v,c)=>{console.debug("start to get tasks",a,i);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");b.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(n=>{console.debug("get videos tasks success",n.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=n.data.items||[];console.debug("new items",d);const m=w(p,d);t("setTasksItems",m),t("setTasksTotal",n.data.count),v(n.data.items)}).catch(n=>c(n))}),L={setService:h,getService:x,resetAll:C,setCredential:y,setConfig:_,setApplication:I,setApplications:$,getApplications:O,setTasks:E,setTasksItems:q,setTasksTotal:R,setTasksActive:D,getTasks:K,createCredential:P},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:M,setTasksItems:H,setTasksTotal:J,resetAll:V},at={namespaced:!0,state:u,mutations:Q,actions:L};export{at as default,at as pika};