hermes-web-ui 0.6.40 → 0.6.41

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 (287) hide show
  1. package/dist/client/assets/js/{AppSidebar-CaSVcbCW.js → AppSidebar-CNkSiv3l.js} +1 -1
  2. package/dist/client/assets/js/{ChannelsView-hdAXa1hf.js → ChannelsView-6rEo6RBl.js} +1 -1
  3. package/dist/client/assets/js/{ChatPanel-C6sX6idm.js → ChatPanel-ANAZWluc.js} +3 -3
  4. package/dist/client/assets/js/{ChatView-B68k_-D9.js → ChatView-DFcPsmRF.js} +1 -1
  5. package/dist/client/assets/js/{CodingAgentsView-CsIjwbXR.js → CodingAgentsView-CpIY0SHT.js} +1 -1
  6. package/dist/client/assets/js/{DefaultCredentialPrompt-BRhb4DOa.js → DefaultCredentialPrompt-DmNeotSW.js} +1 -1
  7. package/dist/client/assets/js/{DesktopBrowserPanel-BlBfS64w.js → DesktopBrowserPanel-CWjTU-3y.js} +1 -1
  8. package/dist/client/assets/js/{DesktopBrowserView-JukL0QuS.js → DesktopBrowserView-D9Qb3fIV.js} +1 -1
  9. package/dist/client/assets/js/{DesktopPetView-DWq4EiRU.js → DesktopPetView-B7REtC57.js} +1 -1
  10. package/dist/client/assets/js/{DesktopTitleBar-DphP4oa6.js → DesktopTitleBar-Dej_16hB.js} +1 -1
  11. package/dist/client/assets/js/{DevicesView-BFtrfqJs.js → DevicesView--d4HCkch.js} +1 -1
  12. package/dist/client/assets/js/{DocxFilePreview-CmVJ9Jxx.js → DocxFilePreview-BQz6WC7r.js} +2 -2
  13. package/dist/client/assets/js/{FileEditor-CdkNYp7b.js → FileEditor-BBegs-5i.js} +2 -2
  14. package/dist/client/assets/js/{FilePreview-CJrVRPRs.js → FilePreview-B7WqYvZs.js} +2 -2
  15. package/dist/client/assets/js/{FileRenameModal-mghyEXU4.js → FileRenameModal-82RkAZkd.js} +1 -1
  16. package/dist/client/assets/js/{FilesPanel-B9cKB5lX.js → FilesPanel-BHcg6CpC.js} +2 -2
  17. package/dist/client/assets/js/{FilesView-iKZu70E9.js → FilesView-Dl15WTar.js} +2 -2
  18. package/dist/client/assets/js/{GlobalAgentView-JZsss0gx.js → GlobalAgentView-dxEX611f.js} +1 -1
  19. package/dist/client/assets/js/{GlobalPendingActions-BRQIt5vl.js → GlobalPendingActions-CeK96C3G.js} +1 -1
  20. package/dist/client/assets/js/{GroupChatLinkView-CNrV8lnT.js → GroupChatLinkView-CJhI9DVE.js} +1 -1
  21. package/dist/client/assets/js/{GroupChatPanel-WK4zBasl.js → GroupChatPanel-CLa3s08V.js} +3 -3
  22. package/dist/client/assets/js/{GroupChatView-BlMUD1MW.js → GroupChatView-CUwvu-6F.js} +1 -1
  23. package/dist/client/assets/js/{HistoryMessageList-D8zoQ1Zs.js → HistoryMessageList-BdD8GJYM.js} +1 -1
  24. package/dist/client/assets/js/{HistoryView-Bpr8N2lC.js → HistoryView-Ro92tP5R.js} +1 -1
  25. package/dist/client/assets/js/{HtmlFilePreview-Bj3_-hMo.js → HtmlFilePreview-xYn7YtmC.js} +1 -1
  26. package/dist/client/assets/js/{JobsView-CZK26gTw.js → JobsView-BaNA1Yaa.js} +2 -2
  27. package/dist/client/assets/js/{JourneyView-BPUsLj4o.js → JourneyView-Bw-05mCF.js} +1 -1
  28. package/dist/client/assets/js/{KanbanView-B7d-2_z9.js → KanbanView-BYC32l2Q.js} +1 -1
  29. package/dist/client/assets/js/{LoginView-BpYyv831.js → LoginView-KrpCkwOr.js} +1 -1
  30. package/dist/client/assets/js/{LogsView-CabFHk0v.js → LogsView-Dgm4v5sN.js} +1 -1
  31. package/dist/client/assets/js/{MarkdownRenderer-CVtmHZwc.js → MarkdownRenderer-BIPowjr-.js} +3 -3
  32. package/dist/client/assets/js/{McpManagerView-C-ou8vf3.js → McpManagerView-DTtkUIvq.js} +1 -1
  33. package/dist/client/assets/js/{MemoryView-QGFW4iZo.js → MemoryView-BnL7xzux.js} +2 -2
  34. package/dist/client/assets/js/{MessageList-DZR-TFjD.js → MessageList-5tytzhb0.js} +3 -3
  35. package/dist/client/assets/js/{ModelsView-DiWdSWOW.js → ModelsView-ComCz0Ce.js} +1 -1
  36. package/dist/client/assets/js/{OutlinePanel-Dlr5svMY.js → OutlinePanel-CF_XPCRn.js} +1 -1
  37. package/dist/client/assets/js/{PageSidebarFooter-Bic1fUmG.js → PageSidebarFooter-dvLzcTIm.js} +1 -1
  38. package/dist/client/assets/js/{PdfFilePreview-Dkpan1ay.js → PdfFilePreview-COOAoJ4V.js} +2 -2
  39. package/dist/client/assets/js/{PerformanceView-LrZaED_Z.js → PerformanceView-D6dKifJh.js} +1 -1
  40. package/dist/client/assets/js/{PetdexView-Bv8RioGL.js → PetdexView-CmvzDYwf.js} +1 -1
  41. package/dist/client/assets/js/{PluginsView-CbtdIGlq.js → PluginsView-zJV9FE9c.js} +1 -1
  42. package/dist/client/assets/js/{PptxFilePreview-5if_GbU6.js → PptxFilePreview-dC4JxV6j.js} +2 -2
  43. package/dist/client/assets/js/{ProfileAvatar-DI9ciJxS.js → ProfileAvatar-C8xoALCI.js} +1 -1
  44. package/dist/client/assets/js/{ProfilesView-C-FSiKMU.js → ProfilesView-CxVxJRN_.js} +1 -1
  45. package/dist/client/assets/js/{ProviderConfigurationPrompt-BUoWC41Y.js → ProviderConfigurationPrompt-zwk1UwoP.js} +1 -1
  46. package/dist/client/assets/js/{SessionSearchModal-CEKvSihp.js → SessionSearchModal-DhwGsV-i.js} +1 -1
  47. package/dist/client/assets/js/{SettingRow-CSfiJmxx.js → SettingRow-DHqhLX3M.js} +1 -1
  48. package/dist/client/assets/js/{SettingsCircuitBadge-DHIEFyTR.js → SettingsCircuitBadge-CnWSfQZd.js} +1 -1
  49. package/dist/client/assets/js/{SettingsView-DbNJroV3.js → SettingsView-Cbroga25.js} +1 -1
  50. package/dist/client/assets/js/{SharedGroupChatView-CTYjqWcO.js → SharedGroupChatView-DXfqtQ33.js} +1 -1
  51. package/dist/client/assets/js/{SkillsUsageView-BqZ3GtfT.js → SkillsUsageView-C34i3lOQ.js} +1 -1
  52. package/dist/client/assets/js/{SkillsView-Bhla7821.js → SkillsView-DRG_1esx.js} +2 -2
  53. package/dist/client/assets/js/{SpreadsheetFilePreview-CGK8HDAx.js → SpreadsheetFilePreview-DRw4kIx5.js} +1 -1
  54. package/dist/client/assets/js/{TerminalPanel-CtBTLOwq.js → TerminalPanel-Da1nL9P8.js} +1 -1
  55. package/dist/client/assets/js/{TerminalView-BID7fupB.js → TerminalView-B6z-VaGq.js} +1 -1
  56. package/dist/client/assets/js/{ThemeView-Cx3ucIus.js → ThemeView-CAaJ9MH-.js} +1 -1
  57. package/dist/client/assets/js/{UsageView-ByGCsw7o.js → UsageView-B_hLsp0k.js} +1 -1
  58. package/dist/client/assets/js/{VersionPreviewView-DiAK1ind.js → VersionPreviewView-DKXL6anl.js} +1 -1
  59. package/dist/client/assets/js/{WebPet-CdIqrnp1.js → WebPet-BUvrfjpq.js} +1 -1
  60. package/dist/client/assets/js/{WorkflowView-DmBOhSuq.js → WorkflowView-r46Ap9FY.js} +1 -1
  61. package/dist/client/assets/js/{WorkspaceDiffPreview-dHIGp-9F.js → WorkspaceDiffPreview-EwZAE18F.js} +2 -2
  62. package/dist/client/assets/js/{abap-Dj8IFKiF.js → abap-C7gkFu-A.js} +1 -1
  63. package/dist/client/assets/js/{aiden0z-pptx-renderer.es-6vi5-jAN.js → aiden0z-pptx-renderer.es-DOpVaH_k.js} +1 -1
  64. package/dist/client/assets/js/{apex-C3INPUEt.js → apex-DZOtRowu.js} +1 -1
  65. package/dist/client/assets/js/{ar-Gk9y3ZfO.js → ar-8iThLSJQ.js} +1 -1
  66. package/dist/client/assets/js/architecture-7EHR7CIX-BrfhYGuP.js +1 -0
  67. package/dist/client/assets/js/{architectureDiagram-3BPJPVTR-DLZYeivB.js → architectureDiagram-3BPJPVTR-DEsTTzKd.js} +1 -1
  68. package/dist/client/assets/js/{auth-D1ZFqv22.js → auth-B52zm2Ir.js} +1 -1
  69. package/dist/client/assets/js/{azcli-UBzLhJq5.js → azcli-KxuicZQh.js} +1 -1
  70. package/dist/client/assets/js/{bat-P3O4jldt.js → bat-DfFP4HF-.js} +1 -1
  71. package/dist/client/assets/js/{bicep-DdQR9RxE.js → bicep-Co4bntVh.js} +1 -1
  72. package/dist/client/assets/js/{blockDiagram-GPEHLZMM-UWFo8sm5.js → blockDiagram-GPEHLZMM-NsxYeUKd.js} +1 -1
  73. package/dist/client/assets/js/{c4Diagram-AAUBKEIU-jgyj0wOb.js → c4Diagram-AAUBKEIU-D68asSzm.js} +1 -1
  74. package/dist/client/assets/js/{cameligo-Bb4ubW_C.js → cameligo-Xi0l_9Wr.js} +1 -1
  75. package/dist/client/assets/js/{chat-DdHii4Qz.js → chat-fUZW3YFa.js} +1 -1
  76. package/dist/client/assets/js/{chat-input-height-CSPwB9it.js → chat-input-height-lvFawuv9.js} +1 -1
  77. package/dist/client/assets/js/{chat-timestamp-DGQ8fmtT.js → chat-timestamp-4wWFcZWv.js} +1 -1
  78. package/dist/client/assets/js/{chunk-2J33WTMH-Br9OWF5a.js → chunk-2J33WTMH-CEU5sLIh.js} +1 -1
  79. package/dist/client/assets/js/{chunk-3OPIFGDE-Cb40LuI4.js → chunk-3OPIFGDE-DEhbKkCl.js} +1 -1
  80. package/dist/client/assets/js/{chunk-4BX2VUAB-jYtdiafd.js → chunk-4BX2VUAB-OIZUstuy.js} +1 -1
  81. package/dist/client/assets/js/{chunk-55IACEB6-CBtymeHY.js → chunk-55IACEB6-DQHKZCBG.js} +1 -1
  82. package/dist/client/assets/js/{chunk-5ZQYHXKU-yj9xqmex.js → chunk-5ZQYHXKU-BU3pQVVl.js} +1 -1
  83. package/dist/client/assets/js/{chunk-727SXJPM-er_5tB5X.js → chunk-727SXJPM-jj97gdnP.js} +1 -1
  84. package/dist/client/assets/js/{chunk-AQP2D5EJ-C4mDD6xK.js → chunk-AQP2D5EJ-jv-oWlkb.js} +1 -1
  85. package/dist/client/assets/js/{chunk-BSJP7CBP-QZesZe57.js → chunk-BSJP7CBP-DkKsepNF.js} +1 -1
  86. package/dist/client/assets/js/{chunk-CSCIHK7Q-5LH118bT.js → chunk-CSCIHK7Q-CLgoBoCF.js} +3 -3
  87. package/dist/client/assets/js/{chunk-FMBD7UC4-CQho6QZ5.js → chunk-FMBD7UC4-Bx1bCKUR.js} +1 -1
  88. package/dist/client/assets/js/{chunk-KSCS5N6A-DONM1Omv.js → chunk-KSCS5N6A-CZHZ6pBd.js} +1 -1
  89. package/dist/client/assets/js/{chunk-L5ZTLDWV-FN_zFWkp.js → chunk-L5ZTLDWV-dz9D3kOb.js} +1 -1
  90. package/dist/client/assets/js/{chunk-LZXEDZCA-CEEUVvpS.js → chunk-LZXEDZCA-CQiSQehC.js} +2 -2
  91. package/dist/client/assets/js/{chunk-ND2GUHAM-DWckpxQD.js → chunk-ND2GUHAM-mWODKb8v.js} +1 -1
  92. package/dist/client/assets/js/{chunk-NZK2D7GU-0mKZmkuV.js → chunk-NZK2D7GU-ivCkjCOR.js} +1 -1
  93. package/dist/client/assets/js/{chunk-O5CBEL6O-DIDAOkT_.js → chunk-O5CBEL6O-BRUisK47.js} +1 -1
  94. package/dist/client/assets/js/{chunk-QZHKN3VN-D3c-TMz-.js → chunk-QZHKN3VN-BHjgTrzY.js} +1 -1
  95. package/dist/client/assets/js/{chunk-WU5MYG2G-BZvSpwm4.js → chunk-WU5MYG2G-CNW1rcpL.js} +1 -1
  96. package/dist/client/assets/js/{chunk-XPW4576I-xdyJtk-s.js → chunk-XPW4576I-DP3dJbOu.js} +1 -1
  97. package/dist/client/assets/js/classDiagram-4FO5ZUOK-BVBBe3DQ.js +1 -0
  98. package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-DJUe3i9Y.js +1 -0
  99. package/dist/client/assets/js/{clipboard-DQ_A8ns-.js → clipboard-DHZFaAvO.js} +1 -1
  100. package/dist/client/assets/js/{clipboard-files-bDrcGKPe.js → clipboard-files-CBDy-02Y.js} +1 -1
  101. package/dist/client/assets/js/{clojure-ku7aCU1_.js → clojure-DuyGwS8X.js} +1 -1
  102. package/dist/client/assets/js/{coding-agents-DfHyBvky.js → coding-agents-BNTHD6kd.js} +1 -1
  103. package/dist/client/assets/js/{codingAgentProviders-BM18FAW9.js → codingAgentProviders-DM_ouxbL.js} +1 -1
  104. package/dist/client/assets/js/{coffee-DnRIdJlY.js → coffee-C5p7vzpa.js} +1 -1
  105. package/dist/client/assets/js/{completion-notification-XxjbntI8.js → completion-notification-CzdnhuX3.js} +1 -1
  106. package/dist/client/assets/js/{cose-bilkent-S5V4N54A-w891sIF1.js → cose-bilkent-S5V4N54A-De_ZdqY0.js} +1 -1
  107. package/dist/client/assets/js/{cpp-CN8i6ISX.js → cpp-II5hDbTe.js} +1 -1
  108. package/dist/client/assets/js/{csharp-B-fxig7O.js → csharp-D0POzSpv.js} +1 -1
  109. package/dist/client/assets/js/{csp-Bar9LGt4.js → csp-CwtuRkR3.js} +1 -1
  110. package/dist/client/assets/js/{css-DFtC5xZN.js → css-Dc2fJIqQ.js} +1 -1
  111. package/dist/client/assets/js/{cssMode-DH5XKKL2.js → cssMode-CC6jRvHF.js} +1 -1
  112. package/dist/client/assets/js/{cypher-BkJexWsv.js → cypher-DBcQoWDH.js} +1 -1
  113. package/dist/client/assets/js/{cytoscape.esm-BDsvr8Aq.js → cytoscape.esm-C9FMRqxM.js} +1 -1
  114. package/dist/client/assets/js/{dagre-BM42HDAG-BuT885pa.js → dagre-BM42HDAG-CvJIC410.js} +1 -1
  115. package/dist/client/assets/js/{dagre-BVUDh8Sh.js → dagre-BtgEsAtK.js} +1 -1
  116. package/dist/client/assets/js/{dart-B7W8hAtN.js → dart-Jf_Hmp2o.js} +1 -1
  117. package/dist/client/assets/js/{de-LDpd8WHJ.js → de-7hLSwCEx.js} +1 -1
  118. package/dist/client/assets/js/{defineProperty-DdPu4ZVv.js → defineProperty-DHkErCmG.js} +1 -1
  119. package/dist/client/assets/js/{desktop-browser-xrRFPNUg.js → desktop-browser-C6AhY0uu.js} +1 -1
  120. package/dist/client/assets/js/{diagram-2AECGRRQ-B1sSf-09.js → diagram-2AECGRRQ-CvPeU5Lm.js} +1 -1
  121. package/dist/client/assets/js/{diagram-5GNKFQAL-BffX22pf.js → diagram-5GNKFQAL-CBniYlkH.js} +1 -1
  122. package/dist/client/assets/js/{diagram-KO2AKTUF-D8QvpUpn.js → diagram-KO2AKTUF-C_yFaVRj.js} +1 -1
  123. package/dist/client/assets/js/{diagram-LMA3HP47-DkG7p3lQ.js → diagram-LMA3HP47-BzM1IxNe.js} +1 -1
  124. package/dist/client/assets/js/{diagram-OG6HWLK6-RjvNNvXM.js → diagram-OG6HWLK6-yvmf_3ax.js} +1 -1
  125. package/dist/client/assets/js/{dist-Bk0VKtV3.js → dist-BHzBn3v7.js} +1 -1
  126. package/dist/client/assets/js/{dockerfile-C4m7j8sy.js → dockerfile-J3d6ZPDJ.js} +1 -1
  127. package/dist/client/assets/js/{docx-preview-BpTW-GN7.js → docx-preview-Rqt8wMjQ.js} +1 -1
  128. package/dist/client/assets/js/{download-CX8EG48r.js → download-xhRMWMda.js} +1 -1
  129. package/dist/client/assets/js/{ecl-EHV358Ls.js → ecl-XnlT0p97.js} +1 -1
  130. package/dist/client/assets/js/{editor.api2-CnHBqh_d.js → editor.api2-ChO5nUQb.js} +1 -1
  131. package/dist/client/assets/js/{elixir-DLfp2Dwn.js → elixir-BEJbxH-B.js} +1 -1
  132. package/dist/client/assets/js/{en-D6VVFwFU.js → en-D2WSXgkM.js} +1 -1
  133. package/dist/client/assets/js/{erDiagram-TEJ5UH35-CLlLC6xx.js → erDiagram-TEJ5UH35-DZysD9r9.js} +1 -1
  134. package/dist/client/assets/js/{es-BIMLuyVP.js → es-B7Mq1P0U.js} +1 -1
  135. package/dist/client/assets/js/{esm-C8D4M0Yn.js → esm-DnZPPtmx.js} +1 -1
  136. package/dist/client/assets/js/eventmodeling-FCH6USID-vlE3-g2j.js +1 -0
  137. package/dist/client/assets/js/{file-preview-BvgwVZXh.js → file-preview-C417aixJ.js} +1 -1
  138. package/dist/client/assets/js/{files-CJkCqsUx.js → files-DjI-npgn.js} +1 -1
  139. package/dist/client/assets/js/{flow9-CtBaUnAi.js → flow9-j5XT_8TQ.js} +1 -1
  140. package/dist/client/assets/js/{flowDiagram-I6XJVG4X-VTRTPnqD.js → flowDiagram-I6XJVG4X-Dt5ZtyHz.js} +1 -1
  141. package/dist/client/assets/js/{fr-C2lf0cY2.js → fr-DvClrDOw.js} +1 -1
  142. package/dist/client/assets/js/{freemarker2-XLeMvhl_.js → freemarker2-BzCf_0SN.js} +1 -1
  143. package/dist/client/assets/js/{fsharp-Db0uaBQv.js → fsharp-ClU_Sdjr.js} +1 -1
  144. package/dist/client/assets/js/{ganttDiagram-6RSMTGT7-CdKcIZ8_.js → ganttDiagram-6RSMTGT7-Bca3rPWi.js} +1 -1
  145. package/dist/client/assets/js/gitGraph-WXDBUCRP-Cyd4P6XH.js +1 -0
  146. package/dist/client/assets/js/{gitGraphDiagram-PVQCEYII-Bcuyw6fo.js → gitGraphDiagram-PVQCEYII-Co29qnTg.js} +1 -1
  147. package/dist/client/assets/js/{go-DwaTlB-B.js → go-D3iUyCM0.js} +1 -1
  148. package/dist/client/assets/js/{graphlib-vAI4Pw7R.js → graphlib-Bln6qd-Z.js} +1 -1
  149. package/dist/client/assets/js/{graphql-Cf2XhNJR.js → graphql-z8koqyyL.js} +1 -1
  150. package/dist/client/assets/js/{group-agent-avatar-CPehpiK0.js → group-agent-avatar-CwqtaKGw.js} +1 -1
  151. package/dist/client/assets/js/{group-chat-CY62vc77.js → group-chat-Buz8HP-N.js} +1 -1
  152. package/dist/client/assets/js/{group-chat-xkdjC2Jt.js → group-chat-CgFAwCtr.js} +1 -1
  153. package/dist/client/assets/js/{group-chat-agent-link-DdSNKasF.js → group-chat-agent-link-N5IFeN_j.js} +1 -1
  154. package/dist/client/assets/js/{handlebars-CNEKu_p8.js → handlebars-C_JvhUYs.js} +1 -1
  155. package/dist/client/assets/js/{hcl-6UZbq6h2.js → hcl-X7TzviIX.js} +1 -1
  156. package/dist/client/assets/js/{highlight-DwtBT6t1.js → highlight-C4yUBxwQ.js} +1 -1
  157. package/dist/client/assets/js/{html-DfSIHhKA.js → html-B-rCQB0N.js} +1 -1
  158. package/dist/client/assets/js/{htmlMode-iGw9-O-W.js → htmlMode-CAeEf_yf.js} +1 -1
  159. package/dist/client/assets/js/{index-DnjQJzX4.js → index-DN4SafrP.js} +5 -5
  160. package/dist/client/assets/js/info-J43DQDTF-B9tkQ2Sb.js +1 -0
  161. package/dist/client/assets/js/{infoDiagram-5YYISTIA-85450Zam.js → infoDiagram-5YYISTIA-BWQGayms.js} +1 -1
  162. package/dist/client/assets/js/{ini-8em8V_Af.js → ini-LTHHN4J-.js} +1 -1
  163. package/dist/client/assets/js/{ishikawaDiagram-YF4QCWOH-BZ4az7UA.js → ishikawaDiagram-YF4QCWOH-Dhuplz_z.js} +1 -1
  164. package/dist/client/assets/js/{ja-C1bBXgr_.js → ja-D7BeX2_D.js} +1 -1
  165. package/dist/client/assets/js/{java-CP1MdIkO.js → java-BRFX-ya0.js} +1 -1
  166. package/dist/client/assets/js/{javascript-Cr8_LHYa.js → javascript-ZXiVmjXn.js} +1 -1
  167. package/dist/client/assets/js/{journeyDiagram-JHISSGLW-DGMB8Tgc.js → journeyDiagram-JHISSGLW-CJeatAU9.js} +1 -1
  168. package/dist/client/assets/js/{jsonMode-HCZ-1lFH.js → jsonMode-C6FcMe0o.js} +1 -1
  169. package/dist/client/assets/js/{jszip.min-BkR6b8DY.js → jszip.min-skZCUzWf.js} +1 -1
  170. package/dist/client/assets/js/{julia-DMTMxa5q.js → julia-Bph8N3CL.js} +1 -1
  171. package/dist/client/assets/js/{kanban-definition-UN3LZRKU-F5cH_RpB.js → kanban-definition-UN3LZRKU-tvWuOdSr.js} +1 -1
  172. package/dist/client/assets/js/{katex-CYbEJAbZ.js → katex-hSGJNERm.js} +1 -1
  173. package/dist/client/assets/js/{ko-qgOeHd8L.js → ko-BsVa-If_.js} +1 -1
  174. package/dist/client/assets/js/{kotlin-Blzus47W.js → kotlin-_c4-tPQp.js} +1 -1
  175. package/dist/client/assets/js/{less-DWCHpDyf.js → less-5oVo4jfQ.js} +1 -1
  176. package/dist/client/assets/js/{lexon-YXdlYGbJ.js → lexon-DE4YtGwF.js} +1 -1
  177. package/dist/client/assets/js/{liquid-DSQgvRwe.js → liquid-BGfieGMG.js} +1 -1
  178. package/dist/client/assets/js/{lspLanguageFeatures-0Hx2Vnc-.js → lspLanguageFeatures-DU_1H2uW.js} +1 -1
  179. package/dist/client/assets/js/{lua-Cyv3mTkg.js → lua-7WJSZJqD.js} +1 -1
  180. package/dist/client/assets/js/{m3-CPY3Ym7_.js → m3-gZlfoR19.js} +1 -1
  181. package/dist/client/assets/js/{markdown-DaPQ1nuG.js → markdown-BYF71orA.js} +1 -1
  182. package/dist/client/assets/js/{mdx-BqA6Xr9V.js → mdx-CunEIV3g.js} +1 -1
  183. package/dist/client/assets/js/{mermaid-parser.core-D4HRUOce.js → mermaid-parser.core-DU_SX15F.js} +3 -3
  184. package/dist/client/assets/js/{mermaid.core-w6kHmgOG.js → mermaid.core-8vsbhG5J.js} +3 -3
  185. package/dist/client/assets/js/{message-scroll-position-C5yRCyBU.js → message-scroll-position-C9_YO3pX.js} +2 -2
  186. package/dist/client/assets/js/{mindmap-definition-RKZ34NQL-CnzhnJ7Z.js → mindmap-definition-RKZ34NQL-HPtlKqL1.js} +1 -1
  187. package/dist/client/assets/js/{mips-BfqBfLvN.js → mips-DXkvw9aZ.js} +1 -1
  188. package/dist/client/assets/js/{models-wrytxWnf.js → models-BILDy2sV.js} +1 -1
  189. package/dist/client/assets/js/{monaco.contribution-Bc-DesyO.js → monaco.contribution-DDqeHGl3.js} +2 -2
  190. package/dist/client/assets/js/{msdax-DgMip49g.js → msdax-BbHEBDvP.js} +1 -1
  191. package/dist/client/assets/js/{mysql-DPUvF1g2.js → mysql-7I1rlwh7.js} +1 -1
  192. package/dist/client/assets/js/{objective-c-BQ3llrPW.js → objective-c-Dk03REAv.js} +1 -1
  193. package/dist/client/assets/js/packet-YPE3B663-DlTFK3Wo.js +1 -0
  194. package/dist/client/assets/js/{pascal-bFWHV7MZ.js → pascal-BCfNkzYY.js} +1 -1
  195. package/dist/client/assets/js/{pascaligo-C8Qza2pK.js → pascaligo-D-DslS98.js} +1 -1
  196. package/dist/client/assets/js/{pdf-Cb7x495t.js → pdf-B_OYWxSy.js} +1 -1
  197. package/dist/client/assets/js/{pdf.worker.min-DDUKJ6cJ.js → pdf.worker.min--q2RLEHa.js} +1 -1
  198. package/dist/client/assets/js/{perl-x25gw0_p.js → perl-MUnuTclx.js} +1 -1
  199. package/dist/client/assets/js/{pets-BfRsvl7D.js → pets-D74G2jqA.js} +1 -1
  200. package/dist/client/assets/js/{pgsql-DAUcGeRq.js → pgsql-BxCBktNe.js} +1 -1
  201. package/dist/client/assets/js/{php-nri1eqb2.js → php-zp9UgH03.js} +1 -1
  202. package/dist/client/assets/js/pie-LRSECV5Y-BtnBGhFZ.js +1 -0
  203. package/dist/client/assets/js/{pieDiagram-4H26LBE5-4LODdtT_.js → pieDiagram-4H26LBE5-CG8_pcHr.js} +1 -1
  204. package/dist/client/assets/js/{pla-CHi5LWNL.js → pla-DGCtmYZC.js} +1 -1
  205. package/dist/client/assets/js/{postiats-Bk7jD0AA.js → postiats-DHSW8gnY.js} +1 -1
  206. package/dist/client/assets/js/{powerquery-UTqJ0Vs7.js → powerquery-BGsPEmJe.js} +1 -1
  207. package/dist/client/assets/js/{powershell-CuPY3Rqk.js → powershell-BItlb0hE.js} +1 -1
  208. package/dist/client/assets/js/{profiles-D-vlI-Ec.js → profiles-BK5JKD7h.js} +1 -1
  209. package/dist/client/assets/js/{protobuf-Be4AIz9j.js → protobuf-BIhm6JYx.js} +1 -1
  210. package/dist/client/assets/js/{pt-D7_udWb3.js → pt-BSORCDMm.js} +1 -1
  211. package/dist/client/assets/js/{pug-CZFx15Ey.js → pug-BtnM7KZj.js} +1 -1
  212. package/dist/client/assets/js/{python-BgRg6Ez6.js → python-DxzTx1Q_.js} +1 -1
  213. package/dist/client/assets/js/{qsharp-BiBiLhRS.js → qsharp-B_8MSfaB.js} +1 -1
  214. package/dist/client/assets/js/{quadrantDiagram-W4KKPZXB-g_q9-dXx.js → quadrantDiagram-W4KKPZXB-CsbkMYuV.js} +1 -1
  215. package/dist/client/assets/js/{r-DM7NVSbZ.js → r-kvKC59jk.js} +1 -1
  216. package/dist/client/assets/js/radar-GUYGQ44K-BTKMKX4G.js +1 -0
  217. package/dist/client/assets/js/{razor-CiWy0jCW.js → razor-BwZ0MkaL.js} +1 -1
  218. package/dist/client/assets/js/{redis-BR2LPmFL.js → redis-5j1U_i85.js} +1 -1
  219. package/dist/client/assets/js/{redshift-B0sdAV16.js → redshift-CX1dFLA1.js} +1 -1
  220. package/dist/client/assets/js/{requirementDiagram-4Y6WPE33-EedCclad.js → requirementDiagram-4Y6WPE33-CKC7CQCX.js} +1 -1
  221. package/dist/client/assets/js/{restructuredtext-kQOBLN1M.js → restructuredtext-MV0-Naya.js} +1 -1
  222. package/dist/client/assets/js/{rough.esm-Dyx_2DON.js → rough.esm-CV1rL6PC.js} +1 -1
  223. package/dist/client/assets/js/{ru-CVQQmreT.js → ru-JsH6TKyg.js} +1 -1
  224. package/dist/client/assets/js/{ruby-CbdJXy6J.js → ruby-Bhyejf9X.js} +1 -1
  225. package/dist/client/assets/js/{rust-DZanYksk.js → rust-CR8d_FC1.js} +1 -1
  226. package/dist/client/assets/js/{sankeyDiagram-5OEKKPKP-DFC0nzsd.js → sankeyDiagram-5OEKKPKP-CKlqlvAe.js} +1 -1
  227. package/dist/client/assets/js/{sb-C5-WiqDZ.js → sb-hLW2EM2L.js} +1 -1
  228. package/dist/client/assets/js/{scala-Bk7i9nV-.js → scala-DVUhALEZ.js} +1 -1
  229. package/dist/client/assets/js/{scheme-CaZSWmJ2.js → scheme-BS6yNanr.js} +1 -1
  230. package/dist/client/assets/js/{scss-ByOYuc7K.js → scss-BfoRsElt.js} +1 -1
  231. package/dist/client/assets/js/{sequenceDiagram-3UESZ5HK-hWjPfqXt.js → sequenceDiagram-3UESZ5HK-CTimhD6H.js} +1 -1
  232. package/dist/client/assets/js/{session-browser-prefs-Br8OYA4_.js → session-browser-prefs-BT1woDux.js} +1 -1
  233. package/dist/client/assets/js/{sessions-iGK9S6zk.js → sessions-IkLKgnN6.js} +1 -1
  234. package/dist/client/assets/js/{settings-pbanANH0.js → settings-roYY6G3W.js} +1 -1
  235. package/dist/client/assets/js/{shell-Di0TEySc.js → shell-BO_Lyczz.js} +1 -1
  236. package/dist/client/assets/js/{skills-DC-UPcXj.js → skills-a5LPwmiT.js} +1 -1
  237. package/dist/client/assets/js/{solidity-BNTjAuuA.js → solidity-D3T2Ki4l.js} +1 -1
  238. package/dist/client/assets/js/{sophia-LY__8Yob.js → sophia-iJmIEvi8.js} +1 -1
  239. package/dist/client/assets/js/{sparql-CWnLfgGS.js → sparql-C2HCEExr.js} +1 -1
  240. package/dist/client/assets/js/{sql-B0ypQ9lR.js → sql-DM6_3GBc.js} +1 -1
  241. package/dist/client/assets/js/{src-BihFroE7.js → src-DD_TpJde.js} +1 -1
  242. package/dist/client/assets/js/{st-CqVFKTbZ.js → st-DSb39Fm5.js} +1 -1
  243. package/dist/client/assets/js/{stateDiagram-AJRCARHV-B7wEnYVe.js → stateDiagram-AJRCARHV-DwBGmBj6.js} +1 -1
  244. package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-5bNcwBne.js +1 -0
  245. package/dist/client/assets/js/{style-DDAg_jVj.js → style-B5xXhBlp.js} +1 -1
  246. package/dist/client/assets/js/{swift-B4ZZmDxc.js → swift-DrZYSZK3.js} +1 -1
  247. package/dist/client/assets/js/{systemverilog-zLt-O1mT.js → systemverilog-BAWNCaf6.js} +1 -1
  248. package/dist/client/assets/js/{tcl-DCSZmA-l.js → tcl-DY15ex6v.js} +1 -1
  249. package/dist/client/assets/js/{timeline-definition-PNZ67QCA-BN_LfleE.js → timeline-definition-PNZ67QCA-B8xuIu6g.js} +1 -1
  250. package/dist/client/assets/js/treeView-BLDUP644-DvZPUnGM.js +1 -0
  251. package/dist/client/assets/js/treemap-LRROVOQU-Bis1djYh.js +1 -0
  252. package/dist/client/assets/js/{tsMode-BjUcuHrq.js → tsMode-BE8JCSCE.js} +1 -1
  253. package/dist/client/assets/js/{ttsHelpers-BLunFYsq.js → ttsHelpers-BLNiQExI.js} +1 -1
  254. package/dist/client/assets/js/{twig-CuJlVpUG.js → twig-BpHF_18K.js} +1 -1
  255. package/dist/client/assets/js/{typescript-De40YVFt.js → typescript-FQ3z9hVG.js} +1 -1
  256. package/dist/client/assets/js/{typespec-8QcsIc3c.js → typespec-BKvcn6aE.js} +1 -1
  257. package/dist/client/assets/js/{useSttSettings-B1-KXN44.js → useSttSettings-DHX06G8A.js} +1 -1
  258. package/dist/client/assets/js/{vb-DEGTdhxf.js → vb-B74ucE43.js} +1 -1
  259. package/dist/client/assets/js/{vennDiagram-CIIHVFJN-hL8ax7wF.js → vennDiagram-CIIHVFJN-DtEu04QR.js} +1 -1
  260. package/dist/client/assets/js/wardley-L42UT6IY-CD4dIN63.js +1 -0
  261. package/dist/client/assets/js/{wardleyDiagram-YWT4CUSO-BIR-RA6Y.js → wardleyDiagram-YWT4CUSO-DdNKCPsp.js} +1 -1
  262. package/dist/client/assets/js/{wgsl-CmbiucmY.js → wgsl-DEf5Vdqv.js} +1 -1
  263. package/dist/client/assets/js/{workers-BgWBq4qY.js → workers-BbaiLVxx.js} +1 -1
  264. package/dist/client/assets/js/{workflow-socket-DZ9Ceffc.js → workflow-socket-DH402vxO.js} +1 -1
  265. package/dist/client/assets/js/{xml-SZLdwDmk.js → xml-zjE51I7v.js} +1 -1
  266. package/dist/client/assets/js/{xterm-D6CotCNH.js → xterm-Djy4rCx0.js} +1 -1
  267. package/dist/client/assets/js/{xychartDiagram-2RQKCTM6-DHa486uP.js → xychartDiagram-2RQKCTM6-CKqN7g7r.js} +1 -1
  268. package/dist/client/assets/js/{yaml-CgQpCgM5.js → yaml-DabeGoTc.js} +1 -1
  269. package/dist/client/assets/js/{zh-BDlMioZr.js → zh-CI4-L3JY.js} +1 -1
  270. package/dist/client/assets/js/{zh-TW-DTbLWR1A.js → zh-TW-wYlj-uOZ.js} +1 -1
  271. package/dist/client/index.html +1 -1
  272. package/dist/server/index.js +3 -3
  273. package/dist/server/openapi.json +1 -1
  274. package/package.json +9 -1
  275. package/dist/client/assets/js/architecture-7EHR7CIX-Cl4Qi40R.js +0 -1
  276. package/dist/client/assets/js/classDiagram-4FO5ZUOK-DC0BcY8x.js +0 -1
  277. package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-BfDDH_fm.js +0 -1
  278. package/dist/client/assets/js/eventmodeling-FCH6USID-Bgzwnvkn.js +0 -1
  279. package/dist/client/assets/js/gitGraph-WXDBUCRP-CwFrpI3e.js +0 -1
  280. package/dist/client/assets/js/info-J43DQDTF-wMwkmIWM.js +0 -1
  281. package/dist/client/assets/js/packet-YPE3B663-DYmKXJOE.js +0 -1
  282. package/dist/client/assets/js/pie-LRSECV5Y-Dx0hbcjV.js +0 -1
  283. package/dist/client/assets/js/radar-GUYGQ44K-D-t-QJhi.js +0 -1
  284. package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-CoMhBVvo.js +0 -1
  285. package/dist/client/assets/js/treeView-BLDUP644-CMJGhbWk.js +0 -1
  286. package/dist/client/assets/js/treemap-LRROVOQU-_j4KoVDh.js +0 -1
  287. package/dist/client/assets/js/wardley-L42UT6IY-BeOvmJoM.js +0 -1
@@ -1,10 +1,10 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/DesktopPetView-DWq4EiRU.js","assets/js/WebPet-CdIqrnp1.js","assets/js/esm-C8D4M0Yn.js","assets/js/pets-BfRsvl7D.js","assets/js/profiles-D-vlI-Ec.js","assets/css/WebPet-ZniPU8ZC.css","assets/css/DesktopPetView-BAjQs-_e.css","assets/js/LoginView-BpYyv831.js","assets/js/auth-D1ZFqv22.js","assets/css/LoginView-DEPwIFv4.css","assets/js/SharedGroupChatView-CTYjqWcO.js","assets/js/ProfileAvatar-DI9ciJxS.js","assets/css/ProfileAvatar-xbQ0XuRt.css","assets/js/group-chat-agent-link-DdSNKasF.js","assets/js/group-chat-xkdjC2Jt.js","assets/js/chat-DdHii4Qz.js","assets/js/coding-agents-DfHyBvky.js","assets/js/sessions-iGK9S6zk.js","assets/js/settings-pbanANH0.js","assets/js/download-CX8EG48r.js","assets/js/completion-notification-XxjbntI8.js","assets/js/group-chat-CY62vc77.js","assets/js/group-agent-avatar-CPehpiK0.js","assets/js/GroupChatPanel-WK4zBasl.js","assets/js/highlight-DwtBT6t1.js","assets/js/clipboard-DQ_A8ns-.js","assets/js/chat-timestamp-DGQ8fmtT.js","assets/css/chat-timestamp-D3ERLof0.css","assets/js/files-CJkCqsUx.js","assets/js/file-preview-BvgwVZXh.js","assets/js/SettingsCircuitBadge-DHIEFyTR.js","assets/css/SettingsCircuitBadge-DpseXoQc.css","assets/js/ttsHelpers-BLunFYsq.js","assets/js/clipboard-files-bDrcGKPe.js","assets/css/clipboard-files-CP_yNtjF.css","assets/js/chat-input-height-CSPwB9it.js","assets/js/codingAgentProviders-BM18FAW9.js","assets/js/desktop-browser-xrRFPNUg.js","assets/css/GroupChatPanel-CvC4ma2U.css","assets/css/SharedGroupChatView-CiuKYJ3Q.css","assets/js/GroupChatLinkView-CNrV8lnT.js","assets/css/GroupChatLinkView-Cx1SawM8.css","assets/js/ChatView-B68k_-D9.js","assets/js/ChatPanel-C6sX6idm.js","assets/js/MessageList-DZR-TFjD.js","assets/js/skills-DC-UPcXj.js","assets/js/useSttSettings-B1-KXN44.js","assets/js/message-scroll-position-C5yRCyBU.js","assets/css/message-scroll-position-cH2RIWpz.css","assets/css/MessageList-ByiV74u1.css","assets/js/OutlinePanel-Dlr5svMY.js","assets/css/OutlinePanel-B4u7Hf5j.css","assets/js/TerminalPanel-CtBTLOwq.js","assets/js/xterm-D6CotCNH.js","assets/css/xterm-sLQPUA_C.css","assets/css/TerminalPanel-CUbNjP7N.css","assets/js/session-browser-prefs-Br8OYA4_.js","assets/css/ChatPanel-BpUk26Kj.css","assets/css/ChatView-DLHVX8Z-.css","assets/js/HistoryView-Bpr8N2lC.js","assets/js/HistoryMessageList-D8zoQ1Zs.js","assets/css/HistoryMessageList-DqQiqQWj.css","assets/js/PageSidebarFooter-Bic1fUmG.js","assets/css/PageSidebarFooter-Drz2AnvS.css","assets/css/HistoryView-BMruH-5R.css","assets/js/GlobalAgentView-JZsss0gx.js","assets/css/GlobalAgentView-B2N3x5-q.css","assets/js/JobsView-CZK26gTw.js","assets/css/JobsView-asd018gn.css","assets/js/KanbanView-B7d-2_z9.js","assets/js/style-DDAg_jVj.js","assets/css/style-Buqfex8j.css","assets/js/FilePreview-CJrVRPRs.js","assets/css/FilePreview-BeZfXgUq.css","assets/css/KanbanView-Dzp0IvFw.css","assets/js/WorkflowView-DmBOhSuq.js","assets/js/workflow-socket-DZ9Ceffc.js","assets/css/WorkflowView-CCNo8W5j.css","assets/js/ModelsView-DiWdSWOW.js","assets/js/models-wrytxWnf.js","assets/css/ModelsView-Yc5zsFAe.css","assets/js/ProfilesView-C-FSiKMU.js","assets/css/ProfilesView-DK5CZihh.css","assets/js/LogsView-CabFHk0v.js","assets/css/LogsView-23kI84Z-.css","assets/js/UsageView-ByGCsw7o.js","assets/css/UsageView-CuXLyzvB.css","assets/js/PerformanceView-LrZaED_Z.js","assets/css/PerformanceView-BMnmMnpt.css","assets/js/JourneyView-BPUsLj4o.js","assets/css/JourneyView-CVolLPGh.css","assets/js/SkillsUsageView-BqZ3GtfT.js","assets/css/SkillsUsageView-DdYUif6Y.css","assets/js/SkillsView-Bhla7821.js","assets/css/SkillsView-Cr52C-v0.css","assets/js/PluginsView-CbtdIGlq.js","assets/css/PluginsView-DCkPWKNm.css","assets/js/PetdexView-Bv8RioGL.js","assets/css/PetdexView-DRV8mnsS.css","assets/js/MemoryView-QGFW4iZo.js","assets/css/MemoryView-B1FZzyJE.css","assets/js/SettingsView-DbNJroV3.js","assets/js/SettingRow-CSfiJmxx.js","assets/css/SettingRow-De5Ouv7i.css","assets/css/SettingsView-DVLP9PV0.css","assets/js/ThemeView-Cx3ucIus.js","assets/css/ThemeView-BiyUfp_G.css","assets/js/ChannelsView-hdAXa1hf.js","assets/css/ChannelsView-dXvEkDG0.css","assets/js/TerminalView-BID7fupB.js","assets/css/TerminalView-Bsd4pnpQ.css","assets/js/DevicesView-BFtrfqJs.js","assets/css/DevicesView-CyzgwepJ.css","assets/js/GroupChatView-BlMUD1MW.js","assets/css/GroupChatView-DLcHowrQ.css","assets/js/FilesView-iKZu70E9.js","assets/js/FileRenameModal-mghyEXU4.js","assets/css/FileRenameModal-Ua3OLTl8.css","assets/css/FilesView-BBQqyhlQ.css","assets/js/CodingAgentsView-CsIjwbXR.js","assets/css/CodingAgentsView-BJ-QO6wD.css","assets/js/VersionPreviewView-DiAK1ind.js","assets/css/VersionPreviewView-CRFJ90fw.css","assets/js/McpManagerView-C-ou8vf3.js","assets/css/McpManagerView-KCpFG8z2.css","assets/js/DesktopBrowserView-JukL0QuS.js","assets/css/DesktopBrowserView-DJcb7GSH.css","assets/js/AppSidebar-CaSVcbCW.js","assets/css/AppSidebar-D80mim-W.css","assets/js/DesktopTitleBar-DphP4oa6.js","assets/css/DesktopTitleBar-C1f-lWdf.css","assets/js/SessionSearchModal-CEKvSihp.js","assets/css/SessionSearchModal-DNyyKzhs.css","assets/js/DefaultCredentialPrompt-BRhb4DOa.js","assets/css/DefaultCredentialPrompt-CeB_u2Ck.css","assets/js/ProviderConfigurationPrompt-BUoWC41Y.js","assets/css/ProviderConfigurationPrompt-D0Nhlt3s.css","assets/js/GlobalPendingActions-BRQIt5vl.js","assets/css/GlobalPendingActions-sCrfzt2r.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/DesktopPetView-B7REtC57.js","assets/js/WebPet-BUvrfjpq.js","assets/js/esm-DnZPPtmx.js","assets/js/pets-D74G2jqA.js","assets/js/profiles-BK5JKD7h.js","assets/css/WebPet-ZniPU8ZC.css","assets/css/DesktopPetView-BAjQs-_e.css","assets/js/LoginView-KrpCkwOr.js","assets/js/auth-B52zm2Ir.js","assets/css/LoginView-DEPwIFv4.css","assets/js/SharedGroupChatView-DXfqtQ33.js","assets/js/ProfileAvatar-C8xoALCI.js","assets/css/ProfileAvatar-xbQ0XuRt.css","assets/js/group-chat-agent-link-N5IFeN_j.js","assets/js/group-chat-CgFAwCtr.js","assets/js/chat-fUZW3YFa.js","assets/js/coding-agents-BNTHD6kd.js","assets/js/sessions-IkLKgnN6.js","assets/js/settings-roYY6G3W.js","assets/js/download-xhRMWMda.js","assets/js/completion-notification-CzdnhuX3.js","assets/js/group-chat-Buz8HP-N.js","assets/js/group-agent-avatar-CwqtaKGw.js","assets/js/GroupChatPanel-CLa3s08V.js","assets/js/highlight-C4yUBxwQ.js","assets/js/clipboard-DHZFaAvO.js","assets/js/chat-timestamp-4wWFcZWv.js","assets/css/chat-timestamp-D3ERLof0.css","assets/js/files-DjI-npgn.js","assets/js/file-preview-C417aixJ.js","assets/js/SettingsCircuitBadge-CnWSfQZd.js","assets/css/SettingsCircuitBadge-DpseXoQc.css","assets/js/ttsHelpers-BLNiQExI.js","assets/js/clipboard-files-CBDy-02Y.js","assets/css/clipboard-files-CP_yNtjF.css","assets/js/chat-input-height-lvFawuv9.js","assets/js/codingAgentProviders-DM_ouxbL.js","assets/js/desktop-browser-C6AhY0uu.js","assets/css/GroupChatPanel-CvC4ma2U.css","assets/css/SharedGroupChatView-CiuKYJ3Q.css","assets/js/GroupChatLinkView-CJhI9DVE.js","assets/css/GroupChatLinkView-Cx1SawM8.css","assets/js/ChatView-DFcPsmRF.js","assets/js/ChatPanel-ANAZWluc.js","assets/js/MessageList-5tytzhb0.js","assets/js/skills-a5LPwmiT.js","assets/js/useSttSettings-DHX06G8A.js","assets/js/message-scroll-position-C9_YO3pX.js","assets/css/message-scroll-position-cH2RIWpz.css","assets/css/MessageList-ByiV74u1.css","assets/js/OutlinePanel-CF_XPCRn.js","assets/css/OutlinePanel-B4u7Hf5j.css","assets/js/TerminalPanel-Da1nL9P8.js","assets/js/xterm-Djy4rCx0.js","assets/css/xterm-sLQPUA_C.css","assets/css/TerminalPanel-CUbNjP7N.css","assets/js/session-browser-prefs-BT1woDux.js","assets/css/ChatPanel-BpUk26Kj.css","assets/css/ChatView-DLHVX8Z-.css","assets/js/HistoryView-Ro92tP5R.js","assets/js/HistoryMessageList-BdD8GJYM.js","assets/css/HistoryMessageList-DqQiqQWj.css","assets/js/PageSidebarFooter-dvLzcTIm.js","assets/css/PageSidebarFooter-Drz2AnvS.css","assets/css/HistoryView-BMruH-5R.css","assets/js/GlobalAgentView-dxEX611f.js","assets/css/GlobalAgentView-B2N3x5-q.css","assets/js/JobsView-BaNA1Yaa.js","assets/css/JobsView-asd018gn.css","assets/js/KanbanView-BYC32l2Q.js","assets/js/style-B5xXhBlp.js","assets/css/style-Buqfex8j.css","assets/js/FilePreview-B7WqYvZs.js","assets/css/FilePreview-BeZfXgUq.css","assets/css/KanbanView-Dzp0IvFw.css","assets/js/WorkflowView-r46Ap9FY.js","assets/js/workflow-socket-DH402vxO.js","assets/css/WorkflowView-CCNo8W5j.css","assets/js/ModelsView-ComCz0Ce.js","assets/js/models-BILDy2sV.js","assets/css/ModelsView-Yc5zsFAe.css","assets/js/ProfilesView-CxVxJRN_.js","assets/css/ProfilesView-DK5CZihh.css","assets/js/LogsView-Dgm4v5sN.js","assets/css/LogsView-23kI84Z-.css","assets/js/UsageView-B_hLsp0k.js","assets/css/UsageView-CuXLyzvB.css","assets/js/PerformanceView-D6dKifJh.js","assets/css/PerformanceView-BMnmMnpt.css","assets/js/JourneyView-Bw-05mCF.js","assets/css/JourneyView-CVolLPGh.css","assets/js/SkillsUsageView-C34i3lOQ.js","assets/css/SkillsUsageView-DdYUif6Y.css","assets/js/SkillsView-DRG_1esx.js","assets/css/SkillsView-Cr52C-v0.css","assets/js/PluginsView-zJV9FE9c.js","assets/css/PluginsView-DCkPWKNm.css","assets/js/PetdexView-CmvzDYwf.js","assets/css/PetdexView-DRV8mnsS.css","assets/js/MemoryView-BnL7xzux.js","assets/css/MemoryView-B1FZzyJE.css","assets/js/SettingsView-Cbroga25.js","assets/js/SettingRow-DHqhLX3M.js","assets/css/SettingRow-De5Ouv7i.css","assets/css/SettingsView-DVLP9PV0.css","assets/js/ThemeView-CAaJ9MH-.js","assets/css/ThemeView-BiyUfp_G.css","assets/js/ChannelsView-6rEo6RBl.js","assets/css/ChannelsView-dXvEkDG0.css","assets/js/TerminalView-B6z-VaGq.js","assets/css/TerminalView-Bsd4pnpQ.css","assets/js/DevicesView--d4HCkch.js","assets/css/DevicesView-CyzgwepJ.css","assets/js/GroupChatView-CUwvu-6F.js","assets/css/GroupChatView-DLcHowrQ.css","assets/js/FilesView-Dl15WTar.js","assets/js/FileRenameModal-82RkAZkd.js","assets/css/FileRenameModal-Ua3OLTl8.css","assets/css/FilesView-BBQqyhlQ.css","assets/js/CodingAgentsView-CpIY0SHT.js","assets/css/CodingAgentsView-BJ-QO6wD.css","assets/js/VersionPreviewView-DKXL6anl.js","assets/css/VersionPreviewView-CRFJ90fw.css","assets/js/McpManagerView-DTtkUIvq.js","assets/css/McpManagerView-KCpFG8z2.css","assets/js/DesktopBrowserView-D9Qb3fIV.js","assets/css/DesktopBrowserView-DJcb7GSH.css","assets/js/AppSidebar-CNkSiv3l.js","assets/css/AppSidebar-D80mim-W.css","assets/js/DesktopTitleBar-Dej_16hB.js","assets/css/DesktopTitleBar-C1f-lWdf.css","assets/js/SessionSearchModal-DhwGsV-i.js","assets/css/SessionSearchModal-DNyyKzhs.css","assets/js/DefaultCredentialPrompt-DmNeotSW.js","assets/css/DefaultCredentialPrompt-CeB_u2Ck.css","assets/js/ProviderConfigurationPrompt-zwk1UwoP.js","assets/css/ProviderConfigurationPrompt-D0Nhlt3s.css","assets/js/GlobalPendingActions-CeK96C3G.js","assets/css/GlobalPendingActions-sCrfzt2r.css"])))=>i.map(i=>d[i]);
2
2
  var lZ=Object.create,bu=Object.defineProperty,sZ=Object.getOwnPropertyDescriptor,cZ=Object.getOwnPropertyNames,dZ=Object.getPrototypeOf,$I=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(e&&(t=e(e=0)),t),swe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),uZ=(e,t)=>{let r={};for(var n in e)bu(r,n,{get:e[n],enumerable:!0});return t||bu(r,Symbol.toStringTag,{value:"Module"}),r},TI=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=cZ(t),i=0,a=o.length,l;i<a;i++)l=o[i],!$I.call(e,l)&&l!==r&&bu(e,l,{get:(s=>t[s]).bind(null,l),enumerable:!(n=sZ(t,l))||n.enumerable});return e},cwe=(e,t,r)=>(r=e!=null?lZ(dZ(e)):{},TI(t||!e||!e.__esModule?bu(r,"default",{value:e,enumerable:!0}):r,e)),dwe=e=>$I.call(e,"module.exports")?e["module.exports"]:TI(bu({},"__esModule",{value:!0}),e),uwe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();function Ld(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}function Pc(e){if(tt(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Xt(n)?fZ(n):Pc(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(Xt(e)||Dt(e))return e}function fZ(e){const t={};return e.replace(zI,"").split(II).forEach(r=>{if(r){const n=r.split(FI);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function zo(e){let t="";if(Xt(e))t=e;else if(tt(e))for(let r=0;r<e.length;r++){const n=zo(e[r]);n&&(t+=n+" ")}else if(Dt(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function hZ(e){if(!e)return null;let{class:t,style:r}=e;return t&&!Xt(t)&&(e.class=zo(t)),r&&(e.style=Pc(r)),e}function EI(e){return!!e||e===""}function vZ(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=qi(e[n],t[n]);return r}function qi(e,t){if(e===t)return!0;let r=my(e),n=my(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=In(e),n=In(t),r||n)return e===t;if(r=tt(e),n=tt(t),r||n)return r&&n?vZ(e,t):!1;if(r=Dt(e),n=Dt(t),r||n){if(!r||!n||Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e){const i=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(i&&!a||!i&&a||!qi(e[o],t[o]))return!1}}return String(e)===String(t)}function Tm(e,t){return e.findIndex(r=>qi(r,t))}function mZ(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:(typeof e!="number"||Number.isFinite(e),String(e))}var Et,$l,Yn,h_,kc,rf,Gt,Em,JP,Wt,tt,Tl,Oa,my,OI,ft,Xt,In,Dt,Om,zg,il,AI,yu,tu,Pa,wd,QP,Or,ek,xn,lc,Vs,Gr,El,v_,xu,Cu,tk,ru,MI,II,FI,zI,Dg,DI,pZ,Lg,Zv,Bg,Ah,m_=c((()=>{Et={},$l=[],Yn=()=>{},h_=()=>!1,kc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rf=e=>e.startsWith("onUpdate:"),Gt=Object.assign,Em=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},JP=Object.prototype.hasOwnProperty,Wt=(e,t)=>JP.call(e,t),tt=Array.isArray,Tl=e=>il(e)==="[object Map]",Oa=e=>il(e)==="[object Set]",my=e=>il(e)==="[object Date]",OI=e=>il(e)==="[object RegExp]",ft=e=>typeof e=="function",Xt=e=>typeof e=="string",In=e=>typeof e=="symbol",Dt=e=>e!==null&&typeof e=="object",Om=e=>(Dt(e)||ft(e))&&ft(e.then)&&ft(e.catch),zg=Object.prototype.toString,il=e=>zg.call(e),AI=e=>il(e).slice(8,-1),yu=e=>il(e)==="[object Object]",tu=e=>Xt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pa=Ld(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wd=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},QP=/-\w/g,Or=wd(e=>e.replace(QP,t=>t.slice(1).toUpperCase())),ek=/\B([A-Z])/g,xn=wd(e=>e.replace(ek,"-$1").toLowerCase()),lc=wd(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vs=wd(e=>e?`on${lc(e)}`:""),Gr=(e,t)=>!Object.is(e,t),El=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},v_=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},xu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Cu=e=>{const t=Xt(e)?Number(e):NaN;return isNaN(t)?e:t},ru=()=>tk||(tk=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),MI=Ld("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),II=/;(?![^(]*\))/g,FI=/:([^]+)/,zI=/\/\*[^]*?\*\//g,Dg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",DI=Ld(Dg),pZ=Ld(Dg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Lg=e=>!!(e&&e.__v_isRef===!0),Zv=e=>Xt(e)?e:e==null?"":tt(e)||Dt(e)&&(e.toString===zg||!ft(e.toString))?Lg(e)?Zv(e.value):JSON.stringify(e,Bg,2):String(e),Bg=(e,t)=>Lg(t)?Bg(e,t.value):Tl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[Ah(n,i)+" =>"]=o,r),{})}:Oa(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Ah(r))}:In(t)?Ah(t):Dt(t)&&!tt(t)&&!yu(t)?String(t):t,Ah=(e,t="")=>{var r;return In(e)?`Symbol(${(r=e.description)!=null?r:t})`:e}}));function Am(e){return new zm(e)}function Mm(){return Nr}function p_(e,t=!1){Nr&&Nr.cleanups.push(e)}function rk(e,t=!1){if(e.flags|=8,t){e.next=ou,ou=e;return}e.next=nu,nu=e}function g_(){w_++}function b_(){if(--w_>0)return;if(ou){let t=ou;for(ou=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;nu;){let t=nu;for(nu=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function LI(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function BI(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),y_(n),gZ(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function py(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(NI(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function NI(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Us)||(e.globalVersion=Us,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!py(e))))return;e.flags|=2;const t=e.dep,r=ur,n=io;ur=e,io=!0;try{LI(e);const o=e.fn(e._value);(t.version===0||Gr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ur=r,io=n,BI(e),e.flags&=-3}}function y_(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)y_(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function gZ(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function bZ(e,t){e.effect instanceof cc&&(e=e.effect.fn);const r=new cc(e);t&&Gt(r,t);try{r.run()}catch(o){throw r.stop(),o}const n=r.run.bind(r);return n.effect=r,n}function yZ(e){e.effect.stop()}function Gi(){S_.push(io),io=!1}function Yi(){const e=S_.pop();io=e===void 0?!0:e}function nk(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=ur;ur=void 0;try{t()}finally{ur=r}}}function HI(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)HI(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}function cn(e,t,r){if(io&&ur){let n=_u.get(e);n||_u.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Bd),o.map=n,o.key=r),o.track()}}function Ni(e,t,r,n,o,i){const a=_u.get(e);if(!a){Us++;return}const l=s=>{s&&s.trigger()};if(g_(),t==="clear")a.forEach(l);else{const s=tt(e),d=s&&tu(r);if(s&&r==="length"){const u=Number(n);a.forEach((f,m)=>{(m==="length"||m===dc||!In(m)&&m>=u)&&l(f)})}else switch((r!==void 0||a.has(void 0))&&l(a.get(r)),d&&l(a.get(dc)),t){case"add":s?d&&l(a.get("length")):(l(a.get(ka)),Tl(e)&&l(a.get(Jv)));break;case"delete":s||(l(a.get(ka)),Tl(e)&&l(a.get(Jv)));break;case"set":Tl(e)&&l(a.get(ka));break}}b_()}function xZ(e,t){const r=_u.get(e);return r&&r.get(t)}function Ss(e){const t=At(e);return t===e?t:(cn(t,"iterate",dc),Fn(e)?t:t.map(co))}function Im(e){return cn(e=At(e),"iterate",dc),e}function oi(e,t){return ii(e)?zl(Do(e)?co(t):t):co(t)}function Ng(e,t,r){const n=Im(e),o=n[t]();return n!==e&&!Fn(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=r(i.value)),i}),o}function wi(e,t,r,n,o,i){const a=Im(e),l=a!==e&&!Fn(e),s=a[t];if(s!==KI[t]){const f=s.apply(e,i);return l?co(f):f}let d=r;a!==e&&(l?d=function(f,m){return r.call(this,oi(e,f),m,e)}:r.length>2&&(d=function(f,m){return r.call(this,f,m,e)}));const u=s.call(a,d,n);return l&&o?o(u):u}function ok(e,t,r,n){const o=Im(e),i=o!==e&&!Fn(e);let a=r,l=!1;o!==e&&(i?(l=n.length===0,a=function(d,u,f){return l&&(l=!1,d=oi(e,d)),r.call(this,d,oi(e,u),f,e)}):r.length>3&&(a=function(d,u,f){return r.call(this,d,u,f,e)}));const s=o[t](a,...n);return l?oi(e,s):s}function Hg(e,t,r){const n=At(e);cn(n,"iterate",dc);const o=n[t](...r);return(o===-1||o===!1)&&nf(r[0])?(r[0]=At(r[0]),n[t](...r)):o}function Sd(e,t,r=[]){Gi(),g_();const n=At(e)[t].apply(e,r);return b_(),Yi(),n}function CZ(e){In(e)||(e=String(e));const t=At(this);return cn(t,"has",e),t.hasOwnProperty(e)}function _Z(e,t,r){return function(...n){const o=this.__v_raw,i=At(o),a=Tl(i),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,d=o[e](...n),u=r?Qv:t?zl:co;return!t&&cn(i,"iterate",s?Jv:ka),Gt(Object.create(d),{next(){const{value:f,done:m}=d.next();return m?{value:f,done:m}:{value:l?[u(f[0]),u(f[1])]:u(f),done:m}}})}}function Mh(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wZ(e,t){const r={get(n){const o=this.__v_raw,i=At(o),a=At(n);e||(Gr(n,a)&&cn(i,"get",n),cn(i,"get",a));const{has:l}=Nd(i),s=t?Qv:e?zl:co;if(l.call(i,n))return s(o.get(n));if(l.call(i,a))return s(o.get(a));o!==i&&o.get(n)},get size(){const n=this.__v_raw;return!e&&cn(At(n),"iterate",ka),n.size},has(n){const o=this.__v_raw,i=At(o),a=At(n);return e||(Gr(n,a)&&cn(i,"has",n),cn(i,"has",a)),n===a?o.has(n):o.has(n)||o.has(a)},forEach(n,o){const i=this,a=i.__v_raw,l=At(a),s=t?Qv:e?zl:co;return!e&&cn(l,"iterate",ka),a.forEach((d,u)=>n.call(o,s(d),s(u),i))}};return Gt(r,e?{add:Mh("add"),set:Mh("set"),delete:Mh("delete"),clear:Mh("clear")}:{add(n){const o=At(this),i=Nd(o),a=At(n),l=!t&&!Fn(n)&&!ii(n)?a:n;return i.has.call(o,l)||Gr(n,l)&&i.has.call(o,n)||Gr(a,l)&&i.has.call(o,a)||(o.add(l),Ni(o,"add",l,l)),this},set(n,o){!t&&!Fn(o)&&!ii(o)&&(o=At(o));const i=At(this),{has:a,get:l}=Nd(i);let s=a.call(i,n);s||(n=At(n),s=a.call(i,n));const d=l.call(i,n);return i.set(n,o),s?Gr(o,d)&&Ni(i,"set",n,o,d):Ni(i,"add",n,o),this},delete(n){const o=At(this),{has:i,get:a}=Nd(o);let l=i.call(o,n);l||(n=At(n),l=i.call(o,n));const s=a?a.call(o,n):void 0,d=o.delete(n);return l&&Ni(o,"delete",n,void 0,s),d},clear(){const n=At(this),o=n.size!==0,i=void 0,a=n.clear();return o&&Ni(n,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(n=>{r[n]=_Z(n,e,t)}),r}function Ih(e,t){const r=wZ(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(Wt(r,o)&&o in n?r:n,o,i)}function SZ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ui(e){return ii(e)?e:Fm(e,!1,qI,ZI,gy)}function x_(e){return Fm(e,!1,YI,JI,by)}function so(e){return Fm(e,!0,GI,QI,yy)}function PZ(e){return Fm(e,!0,XI,eF,xy)}function Fm(e,t,r,n,o){if(!Dt(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=o.get(e);if(i)return i;const a=SZ(AI(e));if(a===0)return e;const l=new Proxy(e,a===2?n:r);return o.set(e,l),l}function Do(e){return ii(e)?Do(e.__v_raw):!!(e&&e.__v_isReactive)}function ii(e){return!!(e&&e.__v_isReadonly)}function Fn(e){return!!(e&&e.__v_isShallow)}function nf(e){return e?!!e.__v_raw:!1}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function sc(e){return!Wt(e,"__v_skip")&&Object.isExtensible(e)&&v_(e,"__v_skip",!0),e}function hr(e){return e?e.__v_isRef===!0:!1}function q(e){return WI(e,!1)}function Rc(e){return WI(e,!0)}function WI(e,t){return hr(e)?e:new tF(e,t)}function kZ(e){e.dep&&e.dep.trigger()}function er(e){return hr(e)?e.value:e}function RZ(e){return ft(e)?e():er(e)}function C_(e){return Do(e)?e:new Proxy(e,rF)}function jI(e){return new nF(e)}function __(e){const t=tt(e)?new Array(e.length):{};for(const r in e)t[r]=VI(e,r);return t}function Se(e,t,r){return hr(e)?e:ft(e)?new iF(e):Dt(e)&&arguments.length>1?VI(e,t,r):q(e)}function VI(e,t,r){return new oF(e,t,r)}function $Z(e,t,r=!1){let n,o;return ft(e)?n=e:(n=e.get,o=e.set),new aF(n,o,r)}function TZ(){return Di}function UI(e,t=!1,r=Di){if(r){let n=wu.get(r);n||wu.set(r,n=[]),n.push(e)}}function EZ(e,t,r=Et){const{immediate:n,deep:o,once:i,scheduler:a,augmentJob:l,call:s}=r,d=w=>o?w:Fn(w)||o===!1||o===0?Hi(w,1):Hi(w);let u,f,m,g,h=!1,p=!1;if(hr(e)?(f=()=>e.value,h=Fn(e)):Do(e)?(f=()=>d(e),h=!0):tt(e)?(p=!0,h=e.some(w=>Do(w)||Fn(w)),f=()=>e.map(w=>{if(hr(w))return w.value;if(Do(w))return d(w);if(ft(w))return s?s(w,2):w()})):ft(e)?t?f=s?()=>s(e,2):e:f=()=>{if(m){Gi();try{m()}finally{Yi()}}const w=Di;Di=u;try{return s?s(e,3,[g]):e(g)}finally{Di=w}}:f=Yn,t&&o){const w=f,S=o===!0?1/0:o;f=()=>Hi(w(),S)}const b=Mm(),y=()=>{u.stop(),b&&b.active&&Em(b.effects,u)};if(i&&t){const w=t;t=(...S)=>{w(...S),y()}}let x=p?new Array(e.length).fill(Hd):Hd;const C=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const S=u.run();if(o||h||(p?S.some((P,_)=>Gr(P,x[_])):Gr(S,x))){m&&m();const P=Di;Di=u;try{const _=[S,x===Hd?void 0:p&&x[0]===Hd?[]:x,g];x=S,s?s(t,3,_):t(..._)}finally{Di=P}}}else u.run()};return l&&l(C),u=new cc(f),u.scheduler=a?()=>a(C,!1):C,g=w=>UI(w,!1,u),m=u.onStop=()=>{const w=wu.get(u);if(w){if(s)s(w,4);else for(const S of w)S();wu.delete(u)}},t?n?C(!0):x=u.run():a?a(C.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Hi(e,t=1/0,r){if(t<=0||!Dt(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,hr(e))Hi(e.value,t,r);else if(tt(e))for(let n=0;n<e.length;n++)Hi(e[n],t,r);else if(Oa(e)||Tl(e))e.forEach(n=>{Hi(n,t,r)});else if(yu(e)){for(const n in e)Hi(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Hi(e[n],t,r)}return e}var Nr,zm,ur,Fh,cc,w_,nu,ou,io,S_,Us,ik,Bd,_u,ka,Jv,dc,ak,KI,lk,Wg,jg,Vg,Ug,qI,GI,YI,XI,Qv,Nd,ZI,JI,QI,eF,gy,by,yy,xy,co,zl,tF,rF,nF,oF,iF,aF,lF,sF,Hd,wu,Di,OZ=c((()=>{m_(),zm=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Nr&&(Nr.active?(this.parent=Nr,this.index=(Nr.scopes||(Nr.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Nr;try{return Nr=this,e()}finally{Nr=t}}}on(){++this._on===1&&(this.prevScope=Nr,Nr=this)}off(){if(this._on>0&&--this._on===0){if(Nr===this)Nr=this.prevScope;else{let e=Nr;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,r;for(t=0,r=this.effects.length;t<r;t++)this.effects[t].stop();for(this.effects.length=0,t=0,r=this.cleanups.length;t<r;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}},Fh=new WeakSet,cc=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Nr&&(Nr.active?Nr.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fh.has(this)&&(Fh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||rk(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,nk(this),LI(this);const e=ur,t=io;ur=this,io=!0;try{return this.fn()}finally{BI(this),ur=e,io=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)y_(e);this.deps=this.depsTail=void 0,nk(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){py(this)&&this.run()}get dirty(){return py(this)}},w_=0,io=!0,S_=[],Us=0,ik=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Bd=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ur||!io||ur===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==ur)t=this.activeLink=new ik(ur,this),ur.deps?(t.prevDep=ur.depsTail,ur.depsTail.nextDep=t,ur.depsTail=t):ur.deps=ur.depsTail=t,HI(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const r=t.nextDep;r.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=r),t.prevDep=ur.depsTail,t.nextDep=void 0,ur.depsTail.nextDep=t,ur.depsTail=t,ur.deps===t&&(ur.deps=r)}return t}trigger(e){this.version++,Us++,this.notify(e)}notify(e){g_();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{b_()}}},_u=new WeakMap,ka=Symbol(""),Jv=Symbol(""),dc=Symbol(""),ak={__proto__:null,[Symbol.iterator](){return Ng(this,Symbol.iterator,e=>oi(this,e))},concat(...e){return Ss(this).concat(...e.map(t=>tt(t)?Ss(t):t))},entries(){return Ng(this,"entries",e=>(e[1]=oi(this,e[1]),e))},every(e,t){return wi(this,"every",e,t,void 0,arguments)},filter(e,t){return wi(this,"filter",e,t,r=>r.map(n=>oi(this,n)),arguments)},find(e,t){return wi(this,"find",e,t,r=>oi(this,r),arguments)},findIndex(e,t){return wi(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return wi(this,"findLast",e,t,r=>oi(this,r),arguments)},findLastIndex(e,t){return wi(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return wi(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hg(this,"includes",e)},indexOf(...e){return Hg(this,"indexOf",e)},join(e){return Ss(this).join(e)},lastIndexOf(...e){return Hg(this,"lastIndexOf",e)},map(e,t){return wi(this,"map",e,t,void 0,arguments)},pop(){return Sd(this,"pop")},push(...e){return Sd(this,"push",e)},reduce(e,...t){return ok(this,"reduce",e,t)},reduceRight(e,...t){return ok(this,"reduceRight",e,t)},shift(){return Sd(this,"shift")},some(e,t){return wi(this,"some",e,t,void 0,arguments)},splice(...e){return Sd(this,"splice",e)},toReversed(){return Ss(this).toReversed()},toSorted(e){return Ss(this).toSorted(e)},toSpliced(...e){return Ss(this).toSpliced(...e)},unshift(...e){return Sd(this,"unshift",e)},values(){return Ng(this,"values",e=>oi(this,e))}},KI=Array.prototype,lk=Ld("__proto__,__v_isRef,__isVue"),Wg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(In)),jg=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,r){if(t==="__v_skip")return e.__v_skip;const n=this._isReadonly,o=this._isShallow;if(t==="__v_isReactive")return!n;if(t==="__v_isReadonly")return n;if(t==="__v_isShallow")return o;if(t==="__v_raw")return r===(n?o?xy:yy:o?by:gy).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const i=tt(e);if(!n){let l;if(i&&(l=ak[t]))return l;if(t==="hasOwnProperty")return CZ}const a=Reflect.get(e,t,hr(e)?e:r);if((In(t)?Wg.has(t):lk(t))||(n||cn(e,"get",t),o))return a;if(hr(a)){const l=i&&tu(t)?a:a.value;return n&&Dt(l)?so(l):l}return Dt(a)?n?so(a):ui(a):a}},Vg=class extends jg{constructor(e=!1){super(!1,e)}set(e,t,r,n){let o=e[t];const i=tt(e)&&tu(t);if(!this._isShallow){const s=ii(o);if(!Fn(r)&&!ii(r)&&(o=At(o),r=At(r)),!i&&hr(o)&&!hr(r))return s||(o.value=r),!0}const a=i?Number(t)<e.length:Wt(e,t),l=Reflect.set(e,t,r,hr(e)?e:n);return e===At(n)&&(a?Gr(r,o)&&Ni(e,"set",t,r,o):Ni(e,"add",t,r)),l}deleteProperty(e,t){const r=Wt(e,t),n=e[t],o=Reflect.deleteProperty(e,t);return o&&r&&Ni(e,"delete",t,void 0,n),o}has(e,t){const r=Reflect.has(e,t);return(!In(t)||!Wg.has(t))&&cn(e,"has",t),r}ownKeys(e){return cn(e,"iterate",tt(e)?"length":ka),Reflect.ownKeys(e)}},Ug=class extends jg{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},qI=new Vg,GI=new Ug,YI=new Vg(!0),XI=new Ug(!0),Qv=e=>e,Nd=e=>Reflect.getPrototypeOf(e),ZI={get:Ih(!1,!1)},JI={get:Ih(!1,!0)},QI={get:Ih(!0,!1)},eF={get:Ih(!0,!0)},gy=new WeakMap,by=new WeakMap,yy=new WeakMap,xy=new WeakMap,co=e=>Dt(e)?ui(e):e,zl=e=>Dt(e)?so(e):e,tF=class{constructor(e,t){this.dep=new Bd,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:At(e),this._value=t?e:co(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,r=this.__v_isShallow||Fn(e)||ii(e);e=r?e:At(e),Gr(e,t)&&(this._rawValue=e,this._value=r?e:co(e),this.dep.trigger())}},rF={get:(e,t,r)=>t==="__v_raw"?e:er(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return hr(o)&&!hr(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}},nF=class{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Bd,{get:r,set:n}=e(t.track.bind(t),t.trigger.bind(t));this._get=r,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}},oF=class{constructor(e,t,r){this._object=e,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=In(t)?t:String(t),this._raw=At(e);let n=!0,o=e;if(!tt(e)||In(this._key)||!tu(this._key))do n=!nf(o)||Fn(o);while(n&&(o=o.__v_raw));this._shallow=n}get value(){let e=this._object[this._key];return this._shallow&&(e=er(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&hr(this._raw[this._key])){const t=this._object[this._key];if(hr(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return xZ(this._raw,this._key)}},iF=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}},aF=class{constructor(e,t,r){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Bd(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Us-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ur!==this)return rk(this,!0),!0}get value(){const e=this.dep.track();return NI(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},lF={GET:"get",HAS:"has",ITERATE:"iterate"},sF={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Hd={},wu=new WeakMap,Di=void 0}));function AZ(e){I_.push(e)}function MZ(){I_.pop()}function IZ(e,t){}function $c(e,t,r,n){try{return n?e(...n):e()}catch(o){Yl(o,t,r)}}function Zn(e,t,r,n){if(ft(e)){const o=$c(e,t,r,n);return o&&Om(o)&&o.catch(i=>{Yl(i,t,r)}),o}if(tt(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Zn(e[i],t,r,n));return o}}function Yl(e,t,r,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Et;if(t){let l=t.parent;const s=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,s,d)===!1)return}l=l.parent}if(i){Gi(),$c(i,null,10,[e,s,d]),Yi();return}}FZ(e,r,o,n,a)}function FZ(e,t,r,n=!0,o=!1){if(o)throw e;console.error(e)}function Lt(e){const t=Eu||F_;return e?t.then(this?e.bind(this):e):t}function zZ(e){let t=Oo+1,r=dn.length;for(;t<r;){const n=t+r>>>1,o=dn[n],i=fc(o);i<e||i===e&&o.flags&2?t=n+1:r=n}return t}function P_(e){if(!(e.flags&1)){const t=fc(e),r=dn[dn.length-1];!r||!(e.flags&2)&&t>=fc(r)?dn.push(e):dn.splice(zZ(t),0,e),e.flags|=1,cF()}}function cF(){Eu||(Eu=F_.then(dF))}function Su(e){tt(e)?Ol.push(...e):Bi&&e.id===-1?Bi.splice(yl+1,0,e):e.flags&1||(Ol.push(e),e.flags|=1),cF()}function sk(e,t,r=Oo+1){for(;r<dn.length;r++){const n=dn[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;dn.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function em(e){if(Ol.length){const t=[...new Set(Ol)].sort((r,n)=>fc(r)-fc(n));if(Ol.length=0,Bi){Bi.push(...t);return}for(Bi=t,yl=0;yl<Bi.length;yl++){const r=Bi[yl];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Bi=null,yl=0}}function dF(e){try{for(Oo=0;Oo<dn.length;Oo++){const t=dn[Oo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),$c(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Oo<dn.length;Oo++){const t=dn[Oo];t&&(t.flags&=-2)}Oo=-1,dn.length=0,em(e),Eu=null,(dn.length||Ol.length)&&dF(e)}}function uF(e,t){var r,n;Ms=e,Ms?(Ms.enabled=!0,Ud.forEach(({event:o,args:i})=>Ms.emit(o,...i)),Ud=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{uF(o,t)}),setTimeout(()=>{Ms||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ud=[])},3e3)):Ud=[]}function Pu(e){const t=Yr;return Yr=e,lf=e&&e.type.__scopeId||null,t}function DZ(e){lf=e}function LZ(){lf=null}function wl(e,t=Yr,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&$u(-1);const i=Pu(t);let a;try{a=e(...o)}finally{Pu(i),n._d&&$u(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function fn(e,t){if(Yr===null)return e;const r=Tu(Yr),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,s=Et]=t[o];i&&(ft(i)&&(i={mounted:i,updated:i}),i.deep&&Hi(a),n.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:s}))}return e}function ni(e,t,r,n){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const l=o[a];i&&(l.oldValue=i[a].value);let s=l.dir[n];s&&(Gi(),Zn(s,r,8,[e.el,l,e,t]),Yi())}}function dt(e,t){if(qr){let r=qr.provides;const n=qr.parent&&qr.parent.provides;n===r&&(r=qr.provides=Object.create(n)),r[e]=t}}function He(e,t,r=!1){const n=Pr();if(n||Ra){let o=Ra?Ra._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return r&&ft(t)?t.call(n&&n.proxy):t}}function fF(){return!!(Pr()||Ra)}function lr(e,t){return of(e,null,t)}function BZ(e,t){return of(e,null,{flush:"post"})}function hF(e,t){return of(e,null,{flush:"sync"})}function nt(e,t,r){return of(e,t,r)}function of(e,t,r=Et){const{immediate:n,deep:o,flush:i,once:a}=r,l=Gt({},r),s=t&&n||!t&&i!=="post";let d;if(Ca){if(i==="sync"){const g=z_();d=g.__watcherHandles||(g.__watcherHandles=[])}else if(!s){const g=()=>{};return g.stop=Yn,g.resume=Yn,g.pause=Yn,g}}const u=qr;l.call=(g,h,p)=>Zn(g,u,h,p);let f=!1;i==="post"?l.scheduler=g=>{Er(g,u&&u.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(g,h)=>{h?g():P_(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=EZ(e,t,l);return Ca&&(d?d.push(m):s&&m()),m}function NZ(e,t,r){const n=this.proxy,o=Xt(e)?e.includes(".")?vF(n,e):()=>n[e]:e.bind(n,n);let i;ft(t)?i=t:(i=t.handler,r=t);const a=Xl(this),l=of(o,i.bind(n),r);return a(),l}function vF(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function zh(e,t,r,{o:{insert:n},m:o},i=2){i===0&&n(e.targetAnchor,t,r);const{el:a,anchor:l,shapeFlag:s,children:d,props:u}=e,f=i===2;if(f&&n(a,t,r),!$i.has(e)&&(!f||ya(u))&&s&16)for(let m=0;m<d.length;m++)o(d[m],t,r,2);f&&n(l,t,r)}function HZ(e,t,r,n,o,i,{o:{nextSibling:a,parentNode:l,querySelector:s,insert:d,createText:u}},f){function m(b,y){let x=y;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,b._lpa=t.targetAnchor&&a(t.targetAnchor);break}}x=a(x)}}function g(b,y){y.anchor=f(a(b),y,l(b),r,n,o,i)}const h=t.target=wv(t.props,s),p=ya(t.props);if(h){const b=h._lpa||h.firstChild;t.shapeFlag&16&&(p?(g(e,t),m(h,b),t.targetAnchor||Cy(h,t,u,d,l(e)===h?e:null)):(t.anchor=a(e),m(h,b),t.targetAnchor||Cy(h,t,u,d),f(b&&a(b),t,h,r,n,o,i))),Wd(t,p)}else p&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}function Wd(e,t){const r=e.ctx;if(r&&r.ut){let n,o;for(t?(n=e.el,o=e.anchor):(n=e.targetStart,o=e.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function Cy(e,t,r,n,o=null){const i=t.targetStart=r(""),a=t.targetAnchor=r("");return i[D_]=a,e&&(n(i,e,o),n(a,e,o)),a}function k_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ht(()=>{e.isMounted=!0}),tr(()=>{e.isUnmounting=!0}),e}function mF(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==fr){t=r;break}}return t}function pF(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function uc(e,t,r,n,o){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:d,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:m,onLeave:g,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:b,onAppear:y,onAfterAppear:x,onAppearCancelled:C}=t,w=String(e.key),S=pF(r,e),P=(E,D)=>{E&&Zn(E,n,9,D)},_=(E,D)=>{const M=D[1];P(E,D),tt(E)?E.every(W=>W.length<=1)&&M():E.length<=1&&M()},T={mode:a,persisted:l,beforeEnter(E){let D=s;if(!r.isMounted)if(i)D=b||s;else return;E[qn]&&E[qn](!0);const M=S[w];M&&Mo(e,M)&&M.el[qn]&&M.el[qn](),P(D,[E])},enter(E){if(S[w]===e)return;let D=d,M=u,W=f;if(!r.isMounted)if(i)D=y||d,M=x||u,W=C||f;else return;let L=!1;E[Is]=V=>{L||(L=!0,V?P(W,[E]):P(M,[E]),T.delayedLeave&&T.delayedLeave(),E[Is]=void 0)};const H=E[Is].bind(null,!1);D?_(D,[E,H]):H()},leave(E,D){const M=String(e.key);if(E[Is]&&E[Is](!0),r.isUnmounting)return D();P(m,[E]);let W=!1;E[qn]=H=>{W||(W=!0,D(),H?P(p,[E]):P(h,[E]),E[qn]=void 0,S[M]===e&&delete S[M])};const L=E[qn].bind(null,!1);S[M]=e,g?_(g,[E,L]):L()},clone(E){const D=uc(E,t,r,n,o);return o&&o(D),D}};return T}function Kg(e){if(Ec(e))return e=Jn(e),e.children=null,e}function ck(e){if(!Ec(e))return L_(e.type)&&e.children?mF(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&ft(r.default))return r.default()}}function Ki(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ki(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Dm(e,t=!1,r){let n=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const l=r==null?a.key:String(r)+String(a.key!=null?a.key:i);a.type===yt?(a.patchFlag&128&&o++,n=n.concat(Dm(a.children,t,l))):(t||a.type!==fr)&&n.push(l!=null?Jn(a,{key:l}):a)}if(o>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function Re(e,t){return ft(e)?Gt({name:e.name},t,{setup:e}):e}function WZ(){const e=Pr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function R_(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function jZ(e){const t=Pr(),r=Rc(null);if(t){const n=t.refs===Et?t.refs={}:t.refs;Object.defineProperty(n,e,{enumerable:!0,get:()=>r.value,set:o=>r.value=o})}return r}function dk(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}function Ks(e,t,r,n,o=!1){if(tt(e)){e.forEach((p,b)=>Ks(p,t&&(tt(t)?t[b]:t),r,n,o));return}if(ai(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ks(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Tu(n.component):n.el,a=o?null:i,{i:l,r:s}=e,d=t&&t.r,u=l.refs===Et?l.refs={}:l.refs,f=l.setupState,m=At(f),g=f===Et?h_:p=>dk(u,p)?!1:Wt(m,p),h=(p,b)=>!(b&&dk(u,b));if(d!=null&&d!==s){if(uk(t),Xt(d))u[d]=null,g(d)&&(f[d]=null);else if(hr(d)){const p=t;h(d,p.k)&&(d.value=null),p.k&&(u[p.k]=null)}}if(ft(s))$c(s,l,12,[a,u]);else{const p=Xt(s),b=hr(s);if(p||b){const y=()=>{if(e.f){const x=p?g(s)?f[s]:u[s]:h(s)||!e.k?s.value:u[e.k];if(o)tt(x)&&Em(x,i);else if(tt(x))x.includes(i)||x.push(i);else if(p)u[s]=[i],g(s)&&(f[s]=u[s]);else{const C=[i];h(s,e.k)&&(s.value=C),e.k&&(u[e.k]=C)}}else p?(u[s]=a,g(s)&&(f[s]=a)):b&&(h(s,e.k)&&(s.value=a),e.k&&(u[e.k]=a))};if(a){const x=()=>{y(),Ou.delete(e)};x.id=-1,Ou.set(e,x),Er(x,r)}else uk(e),y()}}}function uk(e){const t=Ou.get(e);t&&(t.flags|=8,Ou.delete(e))}function VZ(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:i,parentNode:a,remove:l,insert:s,createComment:d}}=e,u=(C,w)=>{if(!w.hasChildNodes()){r(null,C,w),em(),w._vnode=C;return}f(w.firstChild,C,null,null,null),em(),w._vnode=C},f=(C,w,S,P,_,T=!1)=>{T=T||!!w.dynamicChildren;const E=Sl(C)&&C.data==="[",D=()=>p(C,w,S,P,_,E),{type:M,ref:W,shapeFlag:L,patchFlag:H}=w;let V=C.nodeType;w.el=C,H===-2&&(T=!1,w.dynamicChildren=null);let G=null;switch(M){case Lo:V!==3?w.children===""?(s(w.el=o(""),a(C),C),G=C):G=D():(C.data!==w.children&&(ml(),C.data=w.children),G=i(C));break;case fr:x(C)?(G=i(C),y(w.el=C.content.firstChild,C,S)):V!==8||E?G=D():G=i(C);break;case $a:if(E&&(C=i(C),V=C.nodeType),V===1||V===3){G=C;const J=!w.children.length;for(let Q=0;Q<w.staticCount;Q++)J&&(w.children+=G.nodeType===1?G.outerHTML:G.data),Q===w.staticCount-1&&(w.anchor=G),G=i(G);return E?i(G):G}else D();break;case yt:E?G=h(C,w,S,P,_,T):G=D();break;default:if(L&1)(V!==1||w.type.toLowerCase()!==C.tagName.toLowerCase())&&!x(C)?G=D():G=m(C,w,S,P,_,T);else if(L&6){w.slotScopeIds=_;const J=a(C);if(E?G=b(C):Sl(C)&&C.data==="teleport start"?G=b(C,C.data,"teleport end"):G=i(C),t(w,J,null,S,P,Kd(J),T),ai(w)&&!w.type.__asyncResolved){let Q;E?(Q=Ut(yt),Q.anchor=G?G.previousSibling:J.lastChild):Q=C.nodeType===3?Dl(""):Ut("div"),Q.el=C,w.component.subTree=Q}}else L&64?V!==8?G=D():G=w.type.hydrate(C,w,S,P,_,T,e,g):L&128&&(G=w.type.hydrate(C,w,S,P,Kd(a(C)),_,T,e,f))}return W!=null&&Ks(W,null,P,w),G},m=(C,w,S,P,_,T)=>{T=T||!!w.dynamicChildren;const{type:E,props:D,patchFlag:M,shapeFlag:W,dirs:L,transition:H}=w,V=E==="input"||E==="option";if(V||M!==-1){L&&ni(w,null,S,"created");let G=!1;if(x(C)){G=EF(null,H)&&S&&S.vnode.props&&S.vnode.props.appear;const Q=C.content.firstChild;if(G){const de=Q.getAttribute("class");de&&(Q.$cls=de),H.beforeEnter(Q)}y(Q,C,S),w.el=C=Q}if(W&16&&!(D&&(D.innerHTML||D.textContent))){let Q=g(C.firstChild,w,C,S,P,_,T);for(Q&&!Dh(C,1)&&ml();Q;){const de=Q;Q=Q.nextSibling,l(de)}}else if(W&8){let Q=w.children;Q[0]===`
3
3
  `&&(C.tagName==="PRE"||C.tagName==="TEXTAREA")&&(Q=Q.slice(1));const{textContent:de}=C;de!==Q&&de!==Q.replace(/\r\n|\r/g,`
4
4
  `)&&(Dh(C,0)||ml(),C.textContent=w.children)}if(D){if(V||!T||M&48){const Q=C.tagName.includes("-");for(const de in D)(V&&(de.endsWith("value")||de==="indeterminate")||kc(de)&&!Pa(de)||de[0]==="."||Q&&!Pa(de))&&n(C,de,null,D[de],void 0,S)}else if(D.onClick)n(C,"onClick",null,D.onClick,void 0,S);else if(M&4&&Do(D.style))for(const Q in D.style)D.style[Q]}let J;(J=D&&D.onVnodeBeforeMount)&&An(J,S,w),L&&ni(w,null,S,"beforeMount"),((J=D&&D.onVnodeMounted)||L||G)&&IF(()=>{J&&An(J,S,w),G&&H.enter(C),L&&ni(w,null,S,"mounted")},P)}return C.nextSibling},g=(C,w,S,P,_,T,E)=>{E=E||!!w.dynamicChildren;const D=w.children,M=D.length;let W=!1;for(let L=0;L<M;L++){const H=E?D[L]:D[L]=Mn(D[L]),V=H.type===Lo;C?(V&&!E&&L+1<M&&Mn(D[L+1]).type===Lo&&(s(o(C.data.slice(H.children.length)),S,i(C)),C.data=H.children),C=f(C,H,P,_,T,E)):V&&!H.children?s(H.el=o(""),S):(W||(W=!0,Dh(S,1)||ml()),r(null,H,S,null,P,_,Kd(S),T))}return C},h=(C,w,S,P,_,T)=>{const{slotScopeIds:E}=w;E&&(_=_?_.concat(E):E);const D=a(C),M=g(i(C),w,D,S,P,_,T);return M&&Sl(M)&&M.data==="]"?i(w.anchor=M):(ml(),s(w.anchor=d("]"),D,M),M)},p=(C,w,S,P,_,T)=>{if(Dh(C.parentElement,1)||ml(),w.el=null,T){const M=b(C);for(;;){const W=i(C);if(W&&W!==M)l(W);else break}}const E=i(C),D=a(C);return l(C),r(null,w,D,E,S,P,Kd(D),_),S&&(S.vnode.el=w.el,Hm(S,w.el)),E},b=(C,w="[",S="]")=>{let P=0;for(;C;)if(C=i(C),C&&Sl(C)&&(C.data===w&&P++,C.data===S)){if(P===0)return i(C);P--}return C},y=(C,w,S)=>{const P=w.parentNode;P&&P.replaceChild(C,w);let _=S;for(;_;)_.vnode.el===w&&(_.vnode.el=_.subTree.el=C),_=_.parent},x=C=>C.nodeType===1&&C.tagName==="TEMPLATE";return[u,f]}function Dh(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ry);)e=e.parentElement;const r=e&&e.getAttribute(Ry);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:n.includes(KF[t])}}function UZ(e){const{top:t,left:r,bottom:n,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||n>0&&n<i)&&(r>0&&r<a||o>0&&o<a)}function KZ(e,t){if(Sl(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Sl(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}function ma(e){ft(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:i,timeout:a,suspensible:l=!0,onError:s}=e;let d=null,u,f=0;const m=()=>(f++,d=null,g()),g=()=>{let h;return d||(h=d=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((b,y)=>{s(p,()=>b(m()),()=>y(p),f+1)});throw p}).then(p=>h!==d&&d?d:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Re({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(h,p,b){let y=!1;(p.bu||(p.bu=[])).push(()=>y=!0);const x=()=>{y||b()},C=i?()=>{const w=i(x,S=>KZ(h,S));w&&(p.bum||(p.bum=[])).push(w)}:x;u?C():g().then(()=>!p.isUnmounted&&C())},get __asyncResolved(){return u},setup(){const h=qr;if(R_(h),u)return()=>Lh(u,h);const p=C=>{d=null,Yl(C,h,13,!n)};if(l&&h.suspense||Ca)return g().then(C=>()=>Lh(C,h)).catch(C=>(p(C),()=>n?Ut(n,{error:C}):null));const b=q(!1),y=q(),x=q(!!o);return o&&setTimeout(()=>{x.value=!1},o),a!=null&&setTimeout(()=>{if(!b.value&&!y.value){const C=new Error(`Async component timed out after ${a}ms.`);p(C),y.value=C}},a),g().then(()=>{b.value=!0,h.parent&&Ec(h.parent.vnode)&&h.parent.update()}).catch(C=>{p(C),y.value=C}),()=>{if(b.value&&u)return Lh(u,h);if(y.value&&n)return Ut(n,{error:y.value});if(r&&!x.value)return Lh(r,h)}}})}function Lh(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=Ut(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}function jd(e,t){return tt(e)?e.some(r=>jd(r,t)):Xt(e)?e.split(",").includes(t):OI(e)?(e.lastIndex=0,e.test(t)):!1}function Lm(e,t){gF(e,"a",t)}function af(e,t){gF(e,"da",t)}function gF(e,t,r=qr){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Bm(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Ec(o.parent.vnode)&&qZ(n,t,r,o),o=o.parent}}function qZ(e,t,r,n){const o=Bm(t,e,n,!0);go(()=>{Em(n[t],o)},r)}function qg(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bh(e){return e.shapeFlag&128?e.ssContent:e}function Bm(e,t,r=qr,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Gi();const l=Xl(r),s=Zn(t,r,e,a);return l(),Yi(),s});return n?o.unshift(i):o.push(i),i}}function bF(e,t=qr){Bm("ec",e,t)}function yF(e,t){return $_(Wm,e,!0,t)||e}function GZ(e){return Xt(e)?$_(Wm,e,!1)||e:e||j_}function YZ(e){return $_(JF,e)}function $_(e,t,r=!0,n=!1){const o=Yr||qr;if(o){const i=o.type;if(e===Wm){const l=Py(i,!1);if(l&&(l===t||l===Or(t)||l===lc(Or(t))))return i}const a=fk(o[e]||i[e],t)||fk(o.appContext[e],t);return!a&&n?i:a}}function fk(e,t){return e&&(e[t]||e[Or(t)]||e[lc(Or(t))])}function XZ(e,t,r,n){let o;const i=r&&r[n],a=tt(e);if(a||Xt(e)){const l=a&&Do(e);let s=!1,d=!1;l&&(s=!Fn(e),d=ii(e),e=Im(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(s?d?zl(co(e[u])):co(e[u]):e[u],u,void 0,i&&i[u])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i&&i[l])}else if(Dt(e))if(e[Symbol.iterator])o=Array.from(e,(l,s)=>t(l,s,void 0,i&&i[s]));else{const l=Object.keys(e);o=new Array(l.length);for(let s=0,d=l.length;s<d;s++){const u=l[s];o[s]=t(e[u],u,s,i&&i[s])}}else o=[];return r&&(r[n]=o),o}function ZZ(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(tt(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const i=n.fn(...o);return i&&(i.key=n.key),i}:n.fn)}return e}function T_(e,t,r={},n,o){if(Yr.ce||Yr.parent&&ai(Yr.parent)&&Yr.parent.ce){const d=Object.keys(r).length>0;return t!=="default"&&(r.name=t),Hr(),Kn(yt,null,[Ut("slot",r,n&&n())],d?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Hr();const a=i&&E_(i(r)),l=r.key||a&&a.key,s=Kn(yt,{key:(l&&!In(l)?l:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function E_(e){return e.some(t=>fi(t)?!(t.type===fr||t.type===yt&&!E_(t.children)):!0)?e:null}function JZ(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:Vs(n)]=e[n];return r}function QZ(){return null}function eJ(){return null}function tJ(e){}function rJ(e){}function nJ(){return null}function oJ(){}function iJ(e,t){return null}function aJ(){return xF("useSlots").slots}function lJ(){return xF("useAttrs").attrs}function xF(e){const t=Pr();return t.setupContext||(t.setupContext=WF(t))}function ku(e){return tt(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function sJ(e,t){const r=ku(e);for(const n in t){if(n.startsWith("__skip"))continue;let o=r[n];o?tt(o)||ft(o)?o=r[n]={type:o,default:t[n]}:o.default=t[n]:o===null&&(o=r[n]={default:t[n]}),o&&t[`__skip_${n}`]&&(o.skipFactory=!0)}return r}function cJ(e,t){return!e||!t?e||t:tt(e)&&tt(t)?e.concat(t):Gt({},ku(e),ku(t))}function dJ(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function uJ(e){const t=Pr(),r=Ca;let n=e();hc(),r&&Zs(!1);const o=()=>{Xl(t),r&&Zs(!0)},i=()=>{Pr()!==t&&t.scope.off(),hc(),r&&Zs(!1)};return Om(n)&&(n=n.catch(a=>{throw o(),Promise.resolve().then(()=>Promise.resolve().then(i)),a})),[n,()=>{o(),Promise.resolve().then(i)}]}function fJ(e){const t=O_(e),r=e.proxy,n=e.ctx;om=!1,t.beforeCreate&&hk(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:l,provide:s,inject:d,created:u,beforeMount:f,mounted:m,beforeUpdate:g,updated:h,activated:p,deactivated:b,beforeDestroy:y,beforeUnmount:x,destroyed:C,unmounted:w,render:S,renderTracked:P,renderTriggered:_,errorCaptured:T,serverPrefetch:E,expose:D,inheritAttrs:M,components:W,directives:L,filters:H}=t;if(d&&hJ(d,n,null),a)for(const J in a){const Q=a[J];ft(Q)&&(n[J]=Q.bind(r))}if(o){const J=o.call(r,r);Dt(J)&&(e.data=ui(J))}if(om=!0,i)for(const J in i){const Q=i[J],de=I({get:ft(Q)?Q.bind(r,r):ft(Q.get)?Q.get.bind(r,r):Yn,set:!ft(Q)&&ft(Q.set)?Q.set.bind(r):Yn});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>de.value,set:ke=>de.value=ke})}if(l)for(const J in l)CF(l[J],n,r,J);if(s){const J=ft(s)?s.call(r):s;Reflect.ownKeys(J).forEach(Q=>{dt(Q,J[Q])})}u&&hk(u,e,"c");function G(J,Q){tt(Q)?Q.forEach(de=>J(de.bind(r))):Q&&J(Q.bind(r))}if(G(pi,f),G(Ht,m),G(sf,g),G(Au,h),G(Lm,p),G(af,b),G(bF,T),G(W_,P),G(H_,_),G(tr,x),G(go,w),G(N_,E),tt(D))if(D.length){const J=e.exposed||(e.exposed={});D.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>r[Q],set:de=>r[Q]=de,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===Yn&&(e.render=S),M!=null&&(e.inheritAttrs=M),W&&(e.components=W),L&&(e.directives=L),E&&R_(e)}function hJ(e,t,r=Yn){tt(e)&&(e=_y(e));for(const n in e){const o=e[n];let i;Dt(o)?"default"in o?i=He(o.from||n,o.default,!0):i=He(o.from||n):i=He(o),hr(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function hk(e,t,r){Zn(tt(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function CF(e,t,r,n){let o=n.includes(".")?vF(r,n):()=>r[n];if(Xt(e)){const i=t[e];ft(i)&&nt(o,i)}else if(ft(e))nt(o,e.bind(r));else if(Dt(e))if(tt(e))e.forEach(i=>CF(i,t,r,n));else{const i=ft(e.handler)?e.handler.bind(r):t[e.handler];ft(i)&&nt(o,i,e)}}function O_(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:!o.length&&!r&&!n?s=t:(s={},o.length&&o.forEach(d=>tm(s,d,a,!0)),tm(s,t,a)),Dt(t)&&i.set(t,s),s}function tm(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&tm(e,i,r,!0),o&&o.forEach(a=>tm(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const l=e4[a]||r&&r[a];e[a]=l?l(e[a],t[a]):t[a]}return e}function vk(e,t){return t?e?function(){return Gt(ft(e)?e.call(this,this):e,ft(t)?t.call(this,this):t)}:t:e}function vJ(e,t){return Vd(_y(e),_y(t))}function _y(e){if(tt(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function yn(e,t){return e?[...new Set([].concat(e,t))]:t}function Vd(e,t){return e?Gt(Object.create(null),e,t):t}function mk(e,t){return e?tt(e)&&tt(t)?[...new Set([...e,...t])]:Gt(Object.create(null),ku(e),ku(t??{})):t}function mJ(e,t){if(!e)return t;if(!t)return e;const r=Gt(Object.create(null),e);for(const n in t)r[n]=yn(e[n],t[n]);return r}function _F(){return{app:null,config:{isNativeTag:h_,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}function pJ(e,t){return function(n,o=null){ft(n)||(n=Gt({},n)),o!=null&&!Dt(o)&&(o=null);const i=_F(),a=new WeakSet,l=[];let s=!1;const d=i.app={_uid:t4++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:q_,get config(){return i.config},set config(u){},use(u,...f){return a.has(u)||(u&&ft(u.install)?(a.add(u),u.install(d,...f)):ft(u)&&(a.add(u),u(d,...f))),d},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),d},component(u,f){return f?(i.components[u]=f,d):i.components[u]},directive(u,f){return f?(i.directives[u]=f,d):i.directives[u]},mount(u,f,m){if(!s){const g=d._ceVNode||Ut(n,o);return g.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),f&&t?t(g,u):e(g,u,m),s=!0,d._container=u,u.__vue_app__=d,Tu(g.component)}},onUnmount(u){l.push(u)},unmount(){s&&(Zn(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(u,f){return i.provides[u]=f,d},runWithContext(u){const f=Ra;Ra=d;try{return u()}finally{Ra=f}}};return d}}function gJ(e,t,r=Et){const n=Pr(),o=Or(t),i=xn(t),a=V_(e,o),l=jI((s,d)=>{let u,f=Et,m;return hF(()=>{const g=e[o];Gr(u,g)&&(u=g,d())}),{get(){return s(),r.get?r.get(u):u},set(g){const h=r.set?r.set(g):g;if(!Gr(h,u)&&!(f!==Et&&Gr(g,f)))return;const p=n.vnode.props;p&&(t in p||o in p||i in p)&&(`onUpdate:${t}`in p||`onUpdate:${o}`in p||`onUpdate:${i}`in p)||(u=g,d()),n.emit(`update:${t}`,h),Gr(g,h)&&Gr(g,f)&&!Gr(h,m)&&d(),f=g,m=h}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?a||Et:l,done:!1}:{done:!0}}}},l}function bJ(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Et;let o=r;const i=t.startsWith("update:"),a=i&&V_(n,t.slice(7));a&&(a.trim&&(o=r.map(u=>Xt(u)?u.trim():u)),a.number&&(o=r.map(xu)));let l,s=n[l=Vs(t)]||n[l=Vs(Or(t))];!s&&i&&(s=n[l=Vs(xn(t))]),s&&Zn(s,e,6,o);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Zn(d,e,6,o)}}function wF(e,t,r=!1){const n=r?r4:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let a={},l=!1;if(!ft(e)){const s=d=>{const u=wF(d,t,!0);u&&(l=!0,Gt(a,u))};!r&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Dt(e)&&n.set(e,null),null):(tt(i)?i.forEach(s=>a[s]=null):Gt(a,i),Dt(e)&&n.set(e,a),a)}function Nm(e,t){return!e||!kc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Wt(e,t[0].toLowerCase()+t.slice(1))||Wt(e,xn(t))||Wt(e,t))}function _v(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:s,render:d,renderCache:u,props:f,data:m,setupState:g,ctx:h,inheritAttrs:p}=e,b=Pu(e);let y,x;try{if(r.shapeFlag&4){const w=o||n,S=w;y=Mn(d.call(S,w,u,f,g,m,h)),x=l}else{const w=t;y=Mn(w.length>1?w(f,{attrs:l,slots:a,emit:s}):w(f,null)),x=t.props?l:n4(l)}}catch(w){Xs.length=0,Yl(w,e,1),y=Ut(fr)}let C=y;if(x&&p!==!1){const w=Object.keys(x),{shapeFlag:S}=C;w.length&&S&7&&(i&&w.some(rf)&&(x=o4(x,i)),C=Jn(C,x,!1,!0))}return r.dirs&&(C=Jn(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(r.dirs):r.dirs),r.transition&&Ki(C,r.transition),y=C,Pu(b),y}function yJ(e,t=!0){let r;for(let n=0;n<e.length;n++){const o=e[n];if(fi(o)){if(o.type!==fr||o.children==="v-if"){if(r)return;r=o}}else return}return r}function xJ(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:l,patchFlag:s}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&s>=0){if(s&1024)return!0;if(s&16)return n?pk(n,a,d):!!a;if(s&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const m=u[f];if(SF(a,n,m)&&!Nm(d,m))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?pk(n,a,d):!0:!!a;return!1}function pk(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(SF(t,e,i)&&!Nm(r,i))return!0}return!1}function SF(e,t,r){const n=e[r],o=t[r];return r==="style"&&Dt(n)&&Dt(o)?!qi(n,o):n!==o}function Hm({vnode:e,parent:t,suspense:r},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=n,e=o),o===e)(e=t.vnode).el=n,t=t.parent;else break}r&&r.activeBranch===e&&(r.vnode.el=n)}function CJ(e,t,r,n=!1){const o={},i=$y();e.propsDefaults=Object.create(null),PF(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);r?e.props=n?o:x_(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function _J(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,l=At(o),[s]=e.propsOptions;let d=!1;if((n||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let m=u[f];if(Nm(e.emitsOptions,m))continue;const g=t[m];if(s)if(Wt(i,m))g!==i[m]&&(i[m]=g,d=!0);else{const h=Or(m);o[h]=wy(s,l,h,g,e,!1)}else g!==i[m]&&(i[m]=g,d=!0)}}}else{PF(e,t,o,i)&&(d=!0);let u;for(const f in l)(!t||!Wt(t,f)&&((u=xn(f))===f||!Wt(t,u)))&&(s?r&&(r[f]!==void 0||r[u]!==void 0)&&(o[f]=wy(s,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!Wt(t,f))&&(delete i[f],d=!0)}d&&Ni(e.attrs,"set","")}function PF(e,t,r,n){const[o,i]=e.propsOptions;let a=!1,l;if(t)for(let s in t){if(Pa(s))continue;const d=t[s];let u;o&&Wt(o,u=Or(s))?!i||!i.includes(u)?r[u]=d:(l||(l={}))[u]=d:Nm(e.emitsOptions,s)||(!(s in n)||d!==n[s])&&(n[s]=d,a=!0)}if(i){const s=At(r),d=l||Et;for(let u=0;u<i.length;u++){const f=i[u];r[f]=wy(o,s,f,d[f],e,!Wt(d,f))}}return a}function wy(e,t,r,n,o,i){const a=e[r];if(a!=null){const l=Wt(a,"default");if(l&&n===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&ft(s)){const{propsDefaults:d}=o;if(r in d)n=d[r];else{const u=Xl(o);n=d[r]=s.call(null,t),u()}}else n=s;o.ce&&o.ce._setProp(r,n)}a[0]&&(i&&!l?n=!1:a[1]&&(n===""||n===xn(r))&&(n=!0))}return n}function kF(e,t,r=!1){const n=r?i4:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,a={},l=[];let s=!1;if(!ft(e)){const u=f=>{s=!0;const[m,g]=kF(f,t,!0);Gt(a,m),g&&l.push(...g)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!s)return Dt(e)&&n.set(e,$l),$l;if(tt(i))for(let u=0;u<i.length;u++){const f=Or(i[u]);gk(f)&&(a[f]=Et)}else if(i)for(const u in i){const f=Or(u);if(gk(f)){const m=i[u],g=a[f]=tt(m)||ft(m)?{type:m}:Gt({},m),h=g.type;let p=!1,b=!0;if(tt(h))for(let y=0;y<h.length;++y){const x=h[y],C=ft(x)&&x.name;if(C==="Boolean"){p=!0;break}else C==="String"&&(b=!1)}else p=ft(h)&&h.name==="Boolean";g[0]=p,g[1]=b,(p||Wt(g,"default"))&&l.push(f)}}const d=[a,l];return Dt(e)&&n.set(e,d),d}function gk(e){return e[0]!=="$"&&!Pa(e)}function RF(e){return TF(e)}function $F(e){return TF(e,VZ)}function TF(e,t){const r=ru();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:a,createText:l,createComment:s,setText:d,setElementText:u,parentNode:f,nextSibling:m,setScopeId:g=Yn,insertStaticContent:h}=e,p=(F,K,ne,be=null,B=null,R=null,O=void 0,Z=null,re=!!K.dynamicChildren)=>{if(F===K)return;F&&!Mo(F,K)&&(be=ae(F),ye(F,B,R,!0),F=null),K.patchFlag===-2&&(re=!1,K.dynamicChildren=null);const{type:X,ref:U,shapeFlag:$}=K;switch(X){case Lo:b(F,K,ne,be);break;case fr:y(F,K,ne,be);break;case $a:F==null&&x(K,ne,be,O);break;case yt:W(F,K,ne,be,B,R,O,Z,re);break;default:$&1?S(F,K,ne,be,B,R,O,Z,re):$&6?L(F,K,ne,be,B,R,O,Z,re):($&64||$&128)&&X.process(F,K,ne,be,B,R,O,Z,re,he)}U!=null&&B?Ks(U,F&&F.ref,R,K||F,!K):U==null&&F&&F.ref!=null&&Ks(F.ref,null,R,F,!0)},b=(F,K,ne,be)=>{if(F==null)n(K.el=l(K.children),ne,be);else{const B=K.el=F.el;K.children!==F.children&&d(B,K.children)}},y=(F,K,ne,be)=>{F==null?n(K.el=s(K.children||""),ne,be):K.el=F.el},x=(F,K,ne,be)=>{[F.el,F.anchor]=h(F.children,K,ne,be,F.el,F.anchor)},C=({el:F,anchor:K},ne,be)=>{let B;for(;F&&F!==K;)B=m(F),n(F,ne,be),F=B;n(K,ne,be)},w=({el:F,anchor:K})=>{let ne;for(;F&&F!==K;)ne=m(F),o(F),F=ne;o(K)},S=(F,K,ne,be,B,R,O,Z,re)=>{if(K.type==="svg"?O="svg":K.type==="math"&&(O="mathml"),F==null)P(K,ne,be,B,R,O,Z,re);else{const X=F.el&&F.el._isVueCE?F.el:null;try{X&&X._beginPatch(),E(F,K,B,R,O,Z,re)}finally{X&&X._endPatch()}}},P=(F,K,ne,be,B,R,O,Z)=>{let re,X;const{props:U,shapeFlag:$,transition:N,dirs:pe}=F;if(re=F.el=a(F.type,R,U&&U.is,U),$&8?u(re,F.children):$&16&&T(F.children,re,null,be,B,Gg(F,R),O,Z),pe&&ni(F,null,be,"created"),_(re,F,F.scopeId,O,be),U){for(const Ke in U)Ke!=="value"&&!Pa(Ke)&&i(re,Ke,null,U[Ke],R,be);"value"in U&&i(re,"value",null,U.value,R),(X=U.onVnodeBeforeMount)&&An(X,be,F)}pe&&ni(F,null,be,"beforeMount");const Ae=EF(B,N);Ae&&N.beforeEnter(re),n(re,K,ne),((X=U&&U.onVnodeMounted)||Ae||pe)&&Er(()=>{X&&An(X,be,F),Ae&&N.enter(re),pe&&ni(F,null,be,"mounted")},B)},_=(F,K,ne,be,B)=>{if(ne&&g(F,ne),be)for(let R=0;R<be.length;R++)g(F,be[R]);if(B){let R=B.subTree;if(K===R||iu(R.type)&&(R.ssContent===K||R.ssFallback===K)){const O=B.vnode;_(F,O,O.scopeId,O.slotScopeIds,B.parent)}}},T=(F,K,ne,be,B,R,O,Z,re=0)=>{for(let X=re;X<F.length;X++)p(null,F[X]=Z?Li(F[X]):Mn(F[X]),K,ne,be,B,R,O,Z)},E=(F,K,ne,be,B,R,O)=>{const Z=K.el=F.el;let{patchFlag:re,dynamicChildren:X,dirs:U}=K;re|=F.patchFlag&16;const $=F.props||Et,N=K.props||Et;let pe;if(ne&&al(ne,!1),(pe=N.onVnodeBeforeUpdate)&&An(pe,ne,K,F),U&&ni(K,F,ne,"beforeUpdate"),ne&&al(ne,!0),($.innerHTML&&N.innerHTML==null||$.textContent&&N.textContent==null)&&u(Z,""),X?D(F.dynamicChildren,X,Z,ne,be,Gg(K,B),R):O||Q(F,K,Z,null,ne,be,Gg(K,B),R,!1),re>0){if(re&16)M(Z,$,N,ne,B);else if(re&2&&$.class!==N.class&&i(Z,"class",null,N.class,B),re&4&&i(Z,"style",$.style,N.style,B),re&8){const Ae=K.dynamicProps;for(let Ke=0;Ke<Ae.length;Ke++){const ze=Ae[Ke],Ge=$[ze],et=N[ze];(et!==Ge||ze==="value")&&i(Z,ze,Ge,et,B,ne)}}re&1&&F.children!==K.children&&u(Z,K.children)}else!O&&X==null&&M(Z,$,N,ne,B);((pe=N.onVnodeUpdated)||U)&&Er(()=>{pe&&An(pe,ne,K,F),U&&ni(K,F,ne,"updated")},be)},D=(F,K,ne,be,B,R,O)=>{for(let Z=0;Z<K.length;Z++){const re=F[Z],X=K[Z];p(re,X,re.el&&(re.type===yt||!Mo(re,X)||re.shapeFlag&198)?f(re.el):ne,null,be,B,R,O,!0)}},M=(F,K,ne,be,B)=>{if(K!==ne){if(K!==Et)for(const R in K)!Pa(R)&&!(R in ne)&&i(F,R,K[R],null,B,be);for(const R in ne){if(Pa(R))continue;const O=ne[R],Z=K[R];O!==Z&&R!=="value"&&i(F,R,Z,O,B,be)}"value"in ne&&i(F,"value",K.value,ne.value,B)}},W=(F,K,ne,be,B,R,O,Z,re)=>{const X=K.el=F?F.el:l(""),U=K.anchor=F?F.anchor:l("");let{patchFlag:$,dynamicChildren:N,slotScopeIds:pe}=K;pe&&(Z=Z?Z.concat(pe):pe),F==null?(n(X,ne,be),n(U,ne,be),T(K.children||[],ne,U,B,R,O,Z,re)):$>0&&$&64&&N&&F.dynamicChildren&&F.dynamicChildren.length===N.length?(D(F.dynamicChildren,N,ne,B,R,O,Z),(K.key!=null||B&&K===B.subTree)&&A_(F,K,!0)):Q(F,K,ne,U,B,R,O,Z,re)},L=(F,K,ne,be,B,R,O,Z,re)=>{K.slotScopeIds=Z,F==null?K.shapeFlag&512?B.ctx.activate(K,ne,be,O,re):H(K,ne,be,B,R,O,re):V(F,K,re)},H=(F,K,ne,be,B,R,O)=>{const Z=F.component=LF(F,be,B);if(Ec(F)&&(Z.ctx.renderer=he),NF(Z,!1,O),Z.asyncDep){if(B&&B.registerDep(Z,G,O),!F.el){const re=Z.subTree=Ut(fr);y(null,re,K,ne),F.placeholder=re.el}}else G(Z,F,K,ne,B,R,O)},V=(F,K,ne)=>{const be=K.component=F.component;if(xJ(F,K,ne))if(be.asyncDep&&!be.asyncResolved){J(be,K,ne);return}else be.next=K,be.update();else K.el=F.el,be.vnode=K},G=(F,K,ne,be,B,R,O)=>{const Z=()=>{if(F.isMounted){let{next:$,bu:N,u:pe,parent:Ae,vnode:Ke}=F;{const Pt=OF(F);if(Pt){$&&($.el=Ke.el,J(F,$,O)),Pt.asyncDep.then(()=>{Er(()=>{F.isUnmounted||X()},B)});return}}let ze=$,Ge;al(F,!1),$?($.el=Ke.el,J(F,$,O)):$=Ke,N&&El(N),(Ge=$.props&&$.props.onVnodeBeforeUpdate)&&An(Ge,Ae,$,Ke),al(F,!0);const et=_v(F),xt=F.subTree;F.subTree=et,p(xt,et,f(xt.el),ae(xt),F,B,R),$.el=et.el,ze===null&&Hm(F,et.el),pe&&Er(pe,B),(Ge=$.props&&$.props.onVnodeUpdated)&&Er(()=>An(Ge,Ae,$,Ke),B)}else{let $;const{el:N,props:pe}=K,{bm:Ae,m:Ke,parent:ze,root:Ge,type:et}=F,xt=ai(K);if(al(F,!1),Ae&&El(Ae),!xt&&($=pe&&pe.onVnodeBeforeMount)&&An($,ze,K),al(F,!0),N&&Ie){const Pt=()=>{F.subTree=_v(F),Ie(N,F.subTree,F,B,null)};xt&&et.__asyncHydrate?et.__asyncHydrate(N,F,Pt):Pt()}else{Ge.ce&&Ge.ce._hasShadowRoot()&&Ge.ce._injectChildStyle(et,F.parent?F.parent.type:void 0);const Pt=F.subTree=_v(F);p(null,Pt,ne,be,F,B,R),K.el=Pt.el}if(Ke&&Er(Ke,B),!xt&&($=pe&&pe.onVnodeMounted)){const Pt=K;Er(()=>An($,ze,Pt),B)}(K.shapeFlag&256||ze&&ai(ze.vnode)&&ze.vnode.shapeFlag&256)&&F.a&&Er(F.a,B),F.isMounted=!0,K=ne=be=null}};F.scope.on();const re=F.effect=new cc(Z);F.scope.off();const X=F.update=re.run.bind(re),U=F.job=re.runIfDirty.bind(re);U.i=F,U.id=F.uid,re.scheduler=()=>P_(U),al(F,!0),X()},J=(F,K,ne)=>{K.component=F;const be=F.vnode.props;F.vnode=K,F.next=null,_J(F,K.props,be,ne),l4(F,K.children,ne),Gi(),sk(F),Yi()},Q=(F,K,ne,be,B,R,O,Z,re=!1)=>{const X=F&&F.children,U=F?F.shapeFlag:0,$=K.children,{patchFlag:N,shapeFlag:pe}=K;if(N>0){if(N&128){ke(X,$,ne,be,B,R,O,Z,re);return}else if(N&256){de(X,$,ne,be,B,R,O,Z,re);return}}pe&8?(U&16&&xe(X,B,R),$!==X&&u(ne,$)):U&16?pe&16?ke(X,$,ne,be,B,R,O,Z,re):xe(X,B,R,!0):(U&8&&u(ne,""),pe&16&&T($,ne,be,B,R,O,Z,re))},de=(F,K,ne,be,B,R,O,Z,re)=>{F=F||$l,K=K||$l;const X=F.length,U=K.length,$=Math.min(X,U);let N;for(N=0;N<$;N++){const pe=K[N]=re?Li(K[N]):Mn(K[N]);p(F[N],pe,ne,null,B,R,O,Z,re)}X>U?xe(F,B,R,!0,!1,$):T(K,ne,be,B,R,O,Z,re,$)},ke=(F,K,ne,be,B,R,O,Z,re)=>{let X=0;const U=K.length;let $=F.length-1,N=U-1;for(;X<=$&&X<=N;){const pe=F[X],Ae=K[X]=re?Li(K[X]):Mn(K[X]);if(Mo(pe,Ae))p(pe,Ae,ne,null,B,R,O,Z,re);else break;X++}for(;X<=$&&X<=N;){const pe=F[$],Ae=K[N]=re?Li(K[N]):Mn(K[N]);if(Mo(pe,Ae))p(pe,Ae,ne,null,B,R,O,Z,re);else break;$--,N--}if(X>$){if(X<=N){const pe=N+1,Ae=pe<U?K[pe].el:be;for(;X<=N;)p(null,K[X]=re?Li(K[X]):Mn(K[X]),ne,Ae,B,R,O,Z,re),X++}}else if(X>N)for(;X<=$;)ye(F[X],B,R,!0),X++;else{const pe=X,Ae=X,Ke=new Map;for(X=Ae;X<=N;X++){const te=K[X]=re?Li(K[X]):Mn(K[X]);te.key!=null&&Ke.set(te.key,X)}let ze,Ge=0;const et=N-Ae+1;let xt=!1,Pt=0;const Ct=new Array(et);for(X=0;X<et;X++)Ct[X]=0;for(X=pe;X<=$;X++){const te=F[X];if(Ge>=et){ye(te,B,R,!0);continue}let ve;if(te.key!=null)ve=Ke.get(te.key);else for(ze=Ae;ze<=N;ze++)if(Ct[ze-Ae]===0&&Mo(te,K[ze])){ve=ze;break}ve===void 0?ye(te,B,R,!0):(Ct[ve-Ae]=X+1,ve>=Pt?Pt=ve:xt=!0,p(te,K[ve],ne,null,B,R,O,Z,re),Ge++)}const ge=xt?wJ(Ct):$l;for(ze=ge.length-1,X=et-1;X>=0;X--){const te=Ae+X,ve=K[te],Oe=K[te+1],Ne=te+1<U?Oe.el||AF(Oe):be;Ct[X]===0?p(null,ve,ne,Ne,B,R,O,Z,re):xt&&(ze<0||X!==ge[ze]?le(ve,ne,Ne,2):ze--)}}},le=(F,K,ne,be,B=null)=>{const{el:R,type:O,transition:Z,children:re,shapeFlag:X}=F;if(X&6){le(F.component.subTree,K,ne,be);return}if(X&128){F.suspense.move(K,ne,be);return}if(X&64){O.move(F,K,ne,he);return}if(O===yt){n(R,K,ne);for(let U=0;U<re.length;U++)le(re[U],K,ne,be);n(F.anchor,K,ne);return}if(O===$a){C(F,K,ne);return}if(be!==2&&X&1&&Z)if(be===0)Z.persisted&&!R[qn]?n(R,K,ne):(Z.beforeEnter(R),n(R,K,ne),Er(()=>Z.enter(R),B));else{const{leave:U,delayLeave:$,afterLeave:N}=Z,pe=()=>{F.ctx.isUnmounted?o(R):n(R,K,ne)},Ae=()=>{const Ke=R._isLeaving||!!R[qn];R._isLeaving&&R[qn](!0),Z.persisted&&!Ke?pe():U(R,()=>{pe(),N&&N()})};$?$(R,pe,Ae):Ae()}else n(R,K,ne)},ye=(F,K,ne,be=!1,B=!1)=>{const{type:R,props:O,ref:Z,children:re,dynamicChildren:X,shapeFlag:U,patchFlag:$,dirs:N,cacheIndex:pe,memo:Ae}=F;if($===-2&&(B=!1),Z!=null&&(Gi(),Ks(Z,null,ne,F,!0),Yi()),pe!=null&&(K.renderCache[pe]=void 0),U&256){K.ctx.deactivate(F);return}const Ke=U&1&&N,ze=!ai(F);let Ge;if(ze&&(Ge=O&&O.onVnodeBeforeUnmount)&&An(Ge,K,F),U&6)ie(F.component,ne,be);else{if(U&128){F.suspense.unmount(ne,be);return}Ke&&ni(F,null,K,"beforeUnmount"),U&64?F.type.remove(F,K,ne,he,be):X&&!X.hasOnce&&(R!==yt||$>0&&$&64)?xe(X,K,ne,!1,!0):(R===yt&&$&384||!B&&U&16)&&xe(re,K,ne),be&&ue(F)}const et=Ae!=null&&pe==null;(ze&&(Ge=O&&O.onVnodeUnmounted)||Ke||et)&&Er(()=>{Ge&&An(Ge,K,F),Ke&&ni(F,null,K,"unmounted"),et&&(F.el=null)},ne)},ue=F=>{const{type:K,el:ne,anchor:be,transition:B}=F;if(K===yt){oe(ne,be);return}if(K===$a){w(F);return}const R=()=>{o(ne),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(F.shapeFlag&1&&B&&!B.persisted){const{leave:O,delayLeave:Z}=B,re=()=>O(ne,R);Z?Z(F.el,R,re):re()}else R()},oe=(F,K)=>{let ne;for(;F!==K;)ne=m(F),o(F),F=ne;o(K)},ie=(F,K,ne)=>{const{bum:be,scope:B,job:R,subTree:O,um:Z,m:re,a:X}=F;rm(re),rm(X),be&&El(be),B.stop(),R&&(R.flags|=8,ye(O,F,K,ne)),Z&&Er(Z,K),Er(()=>{F.isUnmounted=!0},K)},xe=(F,K,ne,be=!1,B=!1,R=0)=>{for(let O=R;O<F.length;O++)ye(F[O],K,ne,be,B)},ae=F=>{if(F.shapeFlag&6)return ae(F.component.subTree);if(F.shapeFlag&128)return F.suspense.next();const K=m(F.anchor||F.el),ne=K&&K[D_];return ne?m(ne):K};let Ce=!1;const fe=(F,K,ne)=>{let be;F==null?K._vnode&&(ye(K._vnode,null,null,!0),be=K._vnode.component):p(K._vnode||null,F,K,null,null,null,ne),K._vnode=F,Ce||(Ce=!0,sk(be),em(),Ce=!1)},he={p,um:ye,m:le,r:ue,mt:H,mc:T,pc:Q,pbc:D,n:ae,o:e};let se,Ie;return t&&([se,Ie]=t(he)),{render:fe,hydrate:se,createApp:pJ(fe,se)}}function Gg({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function al({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function EF(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function A_(e,t,r=!1){const n=e.children,o=t.children;if(tt(n)&&tt(o))for(let i=0;i<n.length;i++){const a=n[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=Li(o[i]),l.el=a.el),!r&&l.patchFlag!==-2&&A_(a,l)),l.type===Lo&&(l.patchFlag===-1&&(l=o[i]=Li(l)),l.el=a.el),l.type===fr&&!l.el&&(l.el=a.el)}}function wJ(e){const t=e.slice(),r=[0];let n,o,i,a,l;const s=e.length;for(n=0;n<s;n++){const d=e[n];if(d!==0){if(o=r[r.length-1],e[o]<d){t[n]=o,r.push(n);continue}for(i=0,a=r.length-1;i<a;)l=i+a>>1,e[r[l]]<d?i=l+1:a=l;d<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function OF(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:OF(t)}function rm(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function AF(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?AF(t.subTree):null}function Ru(e,t){const r=e.props&&e.props[t];ft(r)&&r()}function SJ(e,t,r,n,o,i,a,l,s){const{p:d,o:{createElement:u}}=s,f=u("div"),m=e.suspense=MF(e,o,n,t,f,r,i,a,l,s);d(null,m.pendingBranch=e.ssContent,f,null,n,m,i,a),m.deps>0?(Ru(e,"onPending"),Ru(e,"onFallback"),d(null,e.ssFallback,t,r,n,null,i,a),qs(m,e.ssFallback)):m.resolve(!1,!0)}function PJ(e,t,r,n,o,i,a,l,{p:s,um:d,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,g=t.ssFallback,{activeBranch:h,pendingBranch:p,isInFallback:b,isHydrating:y}=f;if(p)f.pendingBranch=m,Mo(p,m)?(s(p,m,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0?f.resolve():b&&(y||(s(h,g,r,n,o,null,i,a,l),qs(f,g)))):(f.pendingId=im++,y?(f.isHydrating=!1,f.activeBranch=p):d(p,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(s(null,m,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0?f.resolve():(s(h,g,r,n,o,null,i,a,l),qs(f,g))):h&&Mo(h,m)?(s(h,m,r,n,o,f,i,a,l),f.resolve(!0)):(s(null,m,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0&&f.resolve()));else if(h&&Mo(h,m))s(h,m,r,n,o,f,i,a,l),qs(f,m);else if(Ru(t,"onPending"),f.pendingBranch=m,m.shapeFlag&512?f.pendingId=m.component.suspenseId:f.pendingId=im++,s(null,m,f.hiddenContainer,null,o,f,i,a,l),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:C}=f;x>0?setTimeout(()=>{f.pendingId===C&&f.fallback(g)},x):x===0&&f.fallback(g)}}function MF(e,t,r,n,o,i,a,l,s,d,u=!1){const{p:f,m,um:g,n:h,o:{parentNode:p,remove:b}}=d;let y;const x=$J(e);x&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const C=e.props?Cu(e.props.timeout):void 0,w=i,S={vnode:e,parent:t,parentComponent:r,namespace:a,container:n,hiddenContainer:o,deps:0,pendingId:im++,timeout:typeof C=="number"?C:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,_=!1){const{vnode:T,activeBranch:E,pendingBranch:D,pendingId:M,effects:W,parentComponent:L,container:H,isInFallback:V}=S;let G=!1;if(S.isHydrating)S.isHydrating=!1;else if(!P){G=E&&D.transition&&D.transition.mode==="out-in";let de=!1;G&&(E.transition.afterLeave=()=>{M===S.pendingId&&(m(D,H,i===w&&!de?h(E):i,0),Su(W),V&&T.ssFallback&&(T.ssFallback.el=null))}),E&&!S.isFallbackMountPending&&(p(E.el)===H&&(i=h(E),de=!0),g(E,L,S,!0),!G&&V&&T.ssFallback&&Er(()=>T.ssFallback.el=null,S)),G||m(D,H,i,0)}S.isFallbackMountPending=!1,qs(S,D),S.pendingBranch=null,S.isInFallback=!1;let J=S.parent,Q=!1;for(;J;){if(J.pendingBranch){J.effects.push(...W),Q=!0;break}J=J.parent}!Q&&!G&&Su(W),S.effects=[],x&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!_&&t.resolve()),Ru(T,"onResolve")},fallback(P){if(!S.pendingBranch)return;const{vnode:_,activeBranch:T,parentComponent:E,container:D,namespace:M}=S;Ru(_,"onFallback");const W=h(T),L=()=>{S.isFallbackMountPending=!1,S.isInFallback&&(f(null,P,D,W,E,null,M,l,s),qs(S,P))},H=P.transition&&P.transition.mode==="out-in";H&&(S.isFallbackMountPending=!0,T.transition.afterLeave=L),S.isInFallback=!0,g(T,E,null,!0),H||L()},move(P,_,T){S.activeBranch&&m(S.activeBranch,P,_,T),S.container=P},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(P,_,T){const E=!!S.pendingBranch;E&&S.deps++;const D=P.vnode.el;P.asyncDep.catch(M=>{Yl(M,P,0)}).then(M=>{if(P.isUnmounted||S.isUnmounted||S.pendingId!==P.suspenseId)return;hc(),P.asyncResolved=!0;const{vnode:W}=P;Sy(P,M,!1),D&&(W.el=D);const L=!D&&P.subTree.el;_(P,W,p(D||P.subTree.el),D?null:h(P.subTree),S,a,T),L&&(W.placeholder=null,b(L)),Hm(P,W.el),E&&--S.deps===0&&S.resolve()})},unmount(P,_){S.isUnmounted=!0,S.activeBranch&&g(S.activeBranch,r,P,_),S.pendingBranch&&g(S.pendingBranch,r,P,_)}};return S}function kJ(e,t,r,n,o,i,a,l,s){const d=t.suspense=MF(t,n,r,e.parentNode,document.createElement("div"),null,o,i,a,l,!0),u=s(e,d.pendingBranch=t.ssContent,r,d,i,a);return d.deps===0&&d.resolve(!1,!0),u}function RJ(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=bk(n?r.default:r),e.ssFallback=n?bk(r.fallback):Ut(fr)}function bk(e){let t;if(ft(e)){const r=Aa&&e._c;r&&(e._d=!1,Hr()),e=e(),r&&(e._d=!0,t=rn,FF())}return tt(e)&&(e=yJ(e)),e=Mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function IF(e,t){t&&t.pendingBranch?tt(e)?t.effects.push(...e):t.effects.push(e):Su(e)}function qs(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;r.el=o,n&&n.subTree===r&&(n.vnode.el=o,Hm(n,o))}function $J(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function Hr(e=!1){Xs.push(rn=e?null:[])}function FF(){Xs.pop(),rn=Xs[Xs.length-1]||null}function $u(e,t=!1){Aa+=e,e<0&&rn&&t&&(rn.hasOnce=!0)}function zF(e){return e.dynamicChildren=Aa>0?rn||$l:null,FF(),Aa>0&&rn&&rn.push(e),e}function Ns(e,t,r,n,o,i){return zF(Gs(e,t,r,n,o,i,!0))}function Kn(e,t,r,n,o){return zF(Ut(e,t,r,n,o,!0))}function fi(e){return e?e.__v_isVNode===!0:!1}function Mo(e,t){return e.type===t.type&&e.key===t.key}function TJ(e){}function Gs(e,t=null,r=null,n=0,o=null,i=e===yt?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&K_(t),ref:t&&au(t),scopeId:lf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Yr};return l?(M_(s,r),i&128&&e.normalize(s)):r&&(s.shapeFlag|=Xt(r)?8:16),Aa>0&&!a&&rn&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&rn.push(s),s}function EJ(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===j_)&&(e=fr),fi(e)){const l=Jn(e,t,!0);return r&&M_(l,r),Aa>0&&!i&&rn&&(l.shapeFlag&6?rn[rn.indexOf(e)]=l:rn.push(l)),l.patchFlag=-2,l}if(IJ(e)&&(e=e.__vccOpts),t){t=DF(t);let{class:l,style:s}=t;l&&!Xt(l)&&(t.class=zo(l)),Dt(s)&&(nf(s)&&!tt(s)&&(s=Gt({},s)),t.style=Pc(s))}const a=Xt(e)?1:iu(e)?128:L_(e)?64:Dt(e)?4:ft(e)?2:0;return Gs(e,t,r,n,o,a,i,!0)}function DF(e){return e?nf(e)||U_(e)?Gt({},e):e:null}function Jn(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:a,children:l,transition:s}=e,d=t?_n(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&K_(d),ref:t&&t.ref?r&&i?tt(i)?i.concat(au(t)):[i,au(t)]:au(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==yt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&Ki(u,s.clone(u)),u}function Dl(e=" ",t=0){return Ut(Lo,null,e,t)}function OJ(e,t){const r=Ut($a,null,e);return r.staticCount=t,r}function no(e="",t=!1){return t?(Hr(),Kn(fr,null,e)):Ut(fr,null,e)}function Mn(e){return e==null||typeof e=="boolean"?Ut(fr):tt(e)?Ut(yt,null,e.slice()):fi(e)?Li(e):Ut(Lo,null,String(e))}function Li(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function M_(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(tt(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),M_(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!U_(t)?t._ctx=Yr:o===3&&Yr&&(Yr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ft(t)?(t={default:t,_ctx:Yr},r=32):(t=String(t),n&64?(r=16,t=[Dl(t)]):r=8);e.children=t,e.shapeFlag|=r}function _n(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=zo([t.class,n.class]));else if(o==="style")t.style=Pc([t.style,n.style]);else if(kc(o)){const i=t[o],a=n[o];a&&i!==a&&!(tt(i)&&i.includes(a))?t[o]=i?[].concat(i,a):a:a==null&&i==null&&!rf(o)&&(t[o]=a)}else o!==""&&(t[o]=n[o])}return t}function An(e,t,r,n=null){Zn(e,t,7,[r,n])}function LF(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||c4,i={uid:d4++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kF(n,o),emitsOptions:wF(n,o),emit:null,emitted:null,propsDefaults:Et,inheritAttrs:n.inheritAttrs,ctx:Et,data:Et,props:Et,attrs:Et,slots:Et,refs:Et,setupState:Et,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=bJ.bind(null,i),e.ce&&e.ce(i),i}function BF(e){return e.vnode.shapeFlag&4}function NF(e,t=!1,r=!1){t&&Zs(t);const{props:n,children:o}=e.vnode,i=BF(e);CJ(e,n,i,t),a4(e,o,r||t);const a=i?AJ(e,t):void 0;return t&&Zs(!1),a}function AJ(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sv);const{setup:n}=r;if(n){Gi();const o=e.setupContext=n.length>1?WF(e):null,i=Xl(e),a=$c(n,e,0,[e.props,o]),l=Om(a);if(Yi(),i(),(l||e.sp)&&!ai(e)&&R_(e),l){if(a.then(hc,hc),t)return a.then(s=>{Sy(e,s,t)}).catch(s=>{Yl(s,e,0)});e.asyncDep=a}else Sy(e,a,t)}else HF(e,t)}function Sy(e,t,r){ft(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Dt(t)&&(e.setupState=C_(t)),HF(e,r)}function MJ(e){am=e,Ty=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,QF))}}function HF(e,t,r){const n=e.type;if(!e.render){if(!t&&am&&!n.render){const o=n.template||O_(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=n,d=Gt(Gt({isCustomElement:i,delimiters:l},a),s);n.render=am(o,d)}}e.render=n.render||Yn,Ty&&Ty(e)}{const o=Xl(e);Gi();try{fJ(e)}finally{Yi(),o()}}}function WF(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,f4),slots:e.slots,emit:e.emit,expose:t}}function Tu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(C_(sc(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ys)return Ys[r](e)},has(t,r){return r in t||r in Ys}})):e.proxy}function Py(e,t=!0){return ft(e)?e.displayName||e.name:e.name||t&&e.__name}function IJ(e){return ft(e)&&"__vccOpts"in e}function v(e,t,r){try{$u(-1);const n=arguments.length;return n===2?Dt(t)&&!tt(t)?fi(t)?Ut(e,null,[t]):Ut(e,t):Ut(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&fi(r)&&(r=[r]),Ut(e,t,r))}finally{$u(1)}}function FJ(){return;function e(t,r,n){const o=t[n];if(tt(o)&&o.includes(r)||Dt(o)&&r in o||t.extends&&e(t.extends,r,n)||t.mixins&&t.mixins.some(i=>e(i,r,n)))return!0}}function zJ(e,t,r,n){const o=r[n];if(o&&jF(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function jF(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(Gr(r[n],t[n]))return!1;return Aa>0&&rn&&rn.push(e),!0}var I_,VF,yk,dn,Oo,Ol,Bi,yl,F_,Eu,fc,Ms,Ud,Yr,lf,UF,ky,z_,$i,D_,L_,ya,xk,Yg,Xg,wv,Ck,Tc,qn,Is,jn,nm,Zg,_k,B_,Ou,Jg,ml,wk,Sk,Kd,Sl,Ry,KF,Pk,kk,qF,GF,YF,XF,ai,Ec,ZF,Xo,pi,Ht,sf,Au,tr,go,N_,H_,W_,Wm,JF,j_,Nh,Ys,Hh,Sv,QF,om,e4,t4,Ra,V_,r4,n4,o4,Qg,$y,U_,i4,Wh,jh,Rk,eb,tb,rb,a4,l4,Er,iu,im,s4,yt,Lo,fr,$a,Xs,rn,Aa,K_,au,Ut,c4,d4,qr,Pr,Vh,Zs,Xl,hc,Ca,am,Ty,u4,f4,I,q_,h4,v4,m4,p4,g4,DJ,LJ,BJ,$k=c((()=>{OZ(),m_(),I_=[],VF={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},yk={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"},dn=[],Oo=-1,Ol=[],Bi=null,yl=0,F_=Promise.resolve(),Eu=null,fc=e=>e.id==null?e.flags&2?-1:1/0:e.id,Ud=[],Yr=null,lf=null,UF=e=>wl,ky=Symbol.for("v-scx"),z_=()=>{{const e=He(ky);return e}},$i=new WeakMap,D_=Symbol("_vte"),L_=e=>e.__isTeleport,ya=e=>e&&(e.disabled||e.disabled===""),xk=e=>e&&(e.defer||e.defer===""),Yg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Xg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,wv=(e,t)=>{const r=e&&e.to;return Xt(r)?t?t(r):null:r},Ck={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,a,l,s,d){const{mc:u,pc:f,pbc:m,o:{insert:g,querySelector:h,createText:p,createComment:b,parentNode:y}}=d,x=ya(t.props);let{dynamicChildren:C}=t;const w=(_,T,E)=>{_.shapeFlag&16&&u(_.children,T,E,o,i,a,l,s)},S=(_=t)=>{const T=ya(_.props),E=_.target=wv(_.props,h),D=Cy(E,_,p,g);E&&(a!=="svg"&&Yg(E)?a="svg":a!=="mathml"&&Xg(E)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(E),T||(w(_,E,D),Wd(_,!1)))},P=_=>{const T=()=>{$i.get(_)===T&&($i.delete(_),ya(_.props)&&(w(_,y(_.el)||r,_.anchor),Wd(_,!0)),S(_))};$i.set(_,T),Er(T,i)};if(e==null){const _=t.el=p(""),T=t.anchor=p("");if(g(_,r,n),g(T,r,n),xk(t.props)||i&&i.pendingBranch){P(t);return}x&&(w(t,r,T),Wd(t,!0)),S()}else{t.el=e.el;const _=t.anchor=e.anchor,T=$i.get(e);if(T){T.flags|=8,$i.delete(e),P(t);return}t.targetStart=e.targetStart;const E=t.target=e.target,D=t.targetAnchor=e.targetAnchor,M=ya(e.props),W=M?r:E,L=M?_:D;if(a==="svg"||Yg(E)?a="svg":(a==="mathml"||Xg(E))&&(a="mathml"),C?(m(e.dynamicChildren,C,W,o,i,a,l),A_(e,t,!0)):s||f(e,t,W,L,o,i,a,l,!1),x)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):zh(t,r,_,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=wv(t.props,h);H&&zh(t,H,null,d,0)}else M&&zh(t,E,D,d,1);Wd(t,x)}},remove(e,t,r,{um:n,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:d,targetAnchor:u,target:f,props:m}=e,g=i||!ya(m),h=$i.get(e);if(h&&(h.flags|=8,$i.delete(e)),f&&(o(d),o(u)),i&&o(s),!h&&a&16)for(let p=0;p<l.length;p++){const b=l[p];n(b,t,r,g,!!b.dynamicChildren)}},move:zh,hydrate:HZ},Tc=Ck,qn=Symbol("_leaveCb"),Is=Symbol("_enterCb"),jn=[Function,Array],nm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},Zg=e=>{const t=e.subTree;return t.component?Zg(t.component):t},_k={name:"BaseTransition",props:nm,setup(e,{slots:t}){const r=Pr(),n=k_();return()=>{const o=t.default&&Dm(t.default(),!0),i=o&&o.length?mF(o):r.subTree?no():void 0;if(!i)return;const a=At(e),{mode:l}=a;if(n.isLeaving)return Kg(i);const s=ck(i);if(!s)return Kg(i);let d=uc(s,a,n,r,f=>d=f);s.type!==fr&&Ki(s,d);let u=r.subTree&&ck(r.subTree);if(u&&u.type!==fr&&!Mo(u,s)&&Zg(r).type!==fr){let f=uc(u,a,n,r);if(Ki(u,f),l==="out-in"&&s.type!==fr)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete f.afterLeave,u=void 0},Kg(i);l==="in-out"&&s.type!==fr?f.delayLeave=(m,g,h)=>{const p=pF(n,u);p[String(u.key)]=u,m[qn]=()=>{g(),m[qn]=void 0,delete d.delayedLeave,u=void 0},d.delayedLeave=()=>{h(),delete d.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}},B_=_k,Ou=new WeakMap,Jg=!1,ml=()=>{Jg||(console.error("Hydration completed but contains mismatches."),Jg=!0)},wk=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Sk=e=>e.namespaceURI.includes("MathML"),Kd=e=>{if(e.nodeType===1){if(wk(e))return"svg";if(Sk(e))return"mathml"}},Sl=e=>e.nodeType===8,Ry="data-allow-mismatch",KF={0:"text",1:"children",2:"class",3:"style",4:"attribute"},Pk=ru().requestIdleCallback||(e=>setTimeout(e,1)),kk=ru().cancelIdleCallback||(e=>clearTimeout(e)),qF=(e=1e4)=>t=>{const r=Pk(t,{timeout:e});return()=>kk(r)},GF=e=>(t,r)=>{const n=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(o=>{if(o instanceof Element){if(UZ(o))return t(),n.disconnect(),!1;n.observe(o)}}),()=>n.disconnect()},YF=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},XF=(e=[])=>(t,r)=>{Xt(e)&&(e=[e]);let n=!1;const o=a=>{n||(n=!0,i(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},i=()=>{r(a=>{for(const l of e)a.removeEventListener(l,o)})};return r(a=>{for(const l of e)a.addEventListener(l,o,{once:!0})}),i},ai=e=>!!e.type.__asyncLoader,Ec=e=>e.type.__isKeepAlive,ZF={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=Pr(),n=r.ctx;if(!n.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const o=new Map,i=new Set;let a=null;const l=r.suspense,{renderer:{p:s,m:d,um:u,o:{createElement:f}}}=n,m=f("div");n.activate=(x,C,w,S,P)=>{const _=x.component;d(x,C,w,0,l),s(_.vnode,x,C,w,_,l,S,x.slotScopeIds,P),Er(()=>{_.isDeactivated=!1,_.a&&El(_.a);const T=x.props&&x.props.onVnodeMounted;T&&An(T,_.parent,x)},l)},n.deactivate=x=>{const C=x.component;rm(C.m),rm(C.a),d(x,m,null,1,l),Er(()=>{C.da&&El(C.da);const w=x.props&&x.props.onVnodeUnmounted;w&&An(w,C.parent,x),C.isDeactivated=!0},l)};function g(x){qg(x),u(x,r,l,!0)}function h(x){o.forEach((C,w)=>{const S=Py(ai(C)?C.type.__asyncResolved||{}:C.type);S&&!x(S)&&p(w)})}function p(x){const C=o.get(x);C&&(!a||!Mo(C,a))?g(C):a&&qg(a),o.delete(x),i.delete(x)}nt(()=>[e.include,e.exclude],([x,C])=>{x&&h(w=>jd(x,w)),C&&h(w=>!jd(C,w))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(iu(r.subTree.type)?Er(()=>{o.set(b,Bh(r.subTree))},r.subTree.suspense):o.set(b,Bh(r.subTree)))};return Ht(y),Au(y),tr(()=>{o.forEach(x=>{const{subTree:C,suspense:w}=r,S=Bh(C);if(x.type===S.type&&x.key===S.key){qg(S);const P=S.component.da;P&&Er(P,w);return}g(x)})}),()=>{if(b=null,!t.default)return a=null;const x=t.default(),C=x[0];if(x.length>1)return a=null,x;if(!fi(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return a=null,C;let w=Bh(C);if(w.type===fr)return a=null,w;const S=w.type,P=Py(ai(w)?w.type.__asyncResolved||{}:S),{include:_,exclude:T,max:E}=e;if(_&&(!P||!jd(_,P))||T&&P&&jd(T,P))return w.shapeFlag&=-257,a=w,C;const D=w.key==null?S:w.key,M=o.get(D);return w.el&&(w=Jn(w),C.shapeFlag&128&&(C.ssContent=w)),b=D,M?(w.el=M.el,w.component=M.component,w.transition&&Ki(w,w.transition),w.shapeFlag|=512,i.delete(D),i.add(D)):(i.add(D),E&&i.size>parseInt(E,10)&&p(i.values().next().value)),w.shapeFlag|=256,a=w,iu(C.type)?C:w}}},Xo=e=>(t,r=qr)=>{(!Ca||e==="sp")&&Bm(e,(...n)=>t(...n),r)},pi=Xo("bm"),Ht=Xo("m"),sf=Xo("bu"),Au=Xo("u"),tr=Xo("bum"),go=Xo("um"),N_=Xo("sp"),H_=Xo("rtg"),W_=Xo("rtc"),Wm="components",JF="directives",j_=Symbol.for("v-ndc"),Nh=e=>e?BF(e)?Tu(e):Nh(e.parent):null,Ys=Gt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Nh(e.parent),$root:e=>Nh(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>O_(e),$forceUpdate:e=>e.f||(e.f=()=>{P_(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>NZ.bind(e)}),Hh=(e,t)=>e!==Et&&!e.__isScriptSetup&&Wt(e,t),Sv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:i,accessCache:a,type:l,appContext:s}=e;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(Hh(n,t))return a[t]=1,n[t];if(o!==Et&&Wt(o,t))return a[t]=2,o[t];if(Wt(i,t))return a[t]=3,i[t];if(r!==Et&&Wt(r,t))return a[t]=4,r[t];om&&(a[t]=0)}}const d=Ys[t];let u,f;if(d)return t==="$attrs"&&cn(e.attrs,"get",""),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(r!==Et&&Wt(r,t))return a[t]=4,r[t];if(f=s.config.globalProperties,Wt(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return Hh(o,t)?(o[t]=r,!0):n!==Et&&Wt(n,t)?(n[t]=r,!0):Wt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,props:i,type:a}},l){let s;return!!(r[l]||e!==Et&&l[0]!=="$"&&Wt(e,l)||Hh(t,l)||Wt(i,l)||Wt(n,l)||Wt(Ys,l)||Wt(o.config.globalProperties,l)||(s=a.__cssModules)&&s[l])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Wt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},QF=Gt({},Sv,{get(e,t){if(t!==Symbol.unscopables)return Sv.get(e,t,e)},has(e,t){return t[0]!=="_"&&!MI(t)}}),om=!0,e4={data:vk,props:mk,emits:mk,methods:Vd,computed:Vd,beforeCreate:yn,created:yn,beforeMount:yn,mounted:yn,beforeUpdate:yn,updated:yn,beforeDestroy:yn,beforeUnmount:yn,destroyed:yn,unmounted:yn,activated:yn,deactivated:yn,errorCaptured:yn,serverPrefetch:yn,components:Vd,directives:Vd,watch:mJ,provide:vk,inject:vJ},t4=0,Ra=null,V_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Or(t)}Modifiers`]||e[`${xn(t)}Modifiers`],r4=new WeakMap,n4=e=>{let t;for(const r in e)(r==="class"||r==="style"||kc(r))&&((t||(t={}))[r]=e[r]);return t},o4=(e,t)=>{const r={};for(const n in e)(!rf(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r},Qg={},$y=()=>Object.create(Qg),U_=e=>Object.getPrototypeOf(e)===Qg,i4=new WeakMap,Wh=e=>e==="_"||e==="_ctx"||e==="$stable",jh=e=>tt(e)?e.map(Mn):[Mn(e)],Rk=(e,t,r)=>{if(t._n)return t;const n=wl((...o)=>jh(t(...o)),r);return n._c=!1,n},eb=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Wh(o))continue;const i=e[o];if(ft(i))t[o]=Rk(o,i,n);else if(i!=null){const a=jh(i);t[o]=()=>a}}},tb=(e,t)=>{const r=jh(t);e.slots.default=()=>r},rb=(e,t,r)=>{for(const n in t)(r||!Wh(n))&&(e[n]=t[n])},a4=(e,t,r)=>{const n=e.slots=$y();if(e.vnode.shapeFlag&32){const o=t._;o?(rb(n,t,r),r&&v_(n,"_",o,!0)):eb(t,n)}else t&&tb(e,t)},l4=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,a=Et;if(n.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:rb(o,t,r):(i=!t.$stable,eb(t,o)),a=t}else t&&(tb(e,t),a={default:1});if(i)for(const l in o)!Wh(l)&&a[l]==null&&delete o[l]},Er=IF,iu=e=>e.__isSuspense,im=0,s4={name:"Suspense",__isSuspense:!0,process(e,t,r,n,o,i,a,l,s,d){if(e==null)SJ(t,r,n,o,i,a,l,s,d);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}PJ(e,t,r,n,o,a,l,s,d)}},hydrate:kJ,normalize:RJ},yt=Symbol.for("v-fgt"),Lo=Symbol.for("v-txt"),fr=Symbol.for("v-cmt"),$a=Symbol.for("v-stc"),Xs=[],rn=null,Aa=1,K_=({key:e})=>e??null,au=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Xt(e)||hr(e)||ft(e)?{i:Yr,r:e,k:t,f:!!r}:e:null),Ut=EJ,c4=_F(),d4=0,qr=null,Pr=()=>qr||Yr;{const e=ru(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};Vh=t("__VUE_INSTANCE_SETTERS__",r=>qr=r),Zs=t("__VUE_SSR_SETTERS__",r=>Ca=r)}Xl=e=>{const t=qr;return Vh(e),e.scope.on(),()=>{e.scope.off(),Vh(t)}},hc=()=>{qr&&qr.scope.off(),Vh(null)},Ca=!1,u4=()=>!am,f4={get(e,t){return cn(e,"get",""),e[t]}},I=(e,t)=>$Z(e,t,Ca),q_="3.5.35",h4=Yn,v4=yk,m4=Ms,p4=uF,g4={createComponentInstance:LF,setupComponent:NF,renderComponentRoot:_v,setCurrentRenderingInstance:Pu,isVNode:fi,normalizeVNode:Mn,getComponentPublicInstance:Tu,ensureValidVNode:E_,pushWarningContext:AZ,popWarningContext:MZ},DJ=null,LJ=null,BJ=null}));function Tk(e){const t={};for(const W in e)W in Iy||(t[W]=e[W]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:s=i,appearActiveClass:d=a,appearToClass:u=l,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:g=`${r}-leave-to`}=e,h=NJ(o),p=h&&h[0],b=h&&h[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:C,onLeave:w,onLeaveCancelled:S,onBeforeAppear:P=y,onAppear:_=x,onAppearCancelled:T=C}=t,E=(W,L,H,V)=>{W._enterCancelled=V,pa(W,L?u:l),pa(W,L?d:a),H&&H()},D=(W,L)=>{W._isLeaving=!1,pa(W,f),pa(W,g),pa(W,m),L&&L()},M=W=>(L,H)=>{const V=W?_:x,G=()=>E(L,W,H);ga(V,[L,G]),Ek(()=>{pa(L,W?s:i),ti(L,W?u:l),Fy(V)||Ok(L,n,p,G)})};return Gt(t,{onBeforeEnter(W){ga(y,[W]),ti(W,i),ti(W,a)},onBeforeAppear(W){ga(P,[W]),ti(W,s),ti(W,d)},onEnter:M(!1),onAppear:M(!0),onLeave(W,L){W._isLeaving=!0;const H=()=>D(W,L);ti(W,f),W._enterCancelled?(ti(W,m),Ey(W)):(Ey(W),ti(W,m)),Ek(()=>{W._isLeaving&&(pa(W,f),ti(W,g),Fy(w)||Ok(W,n,b,H))}),ga(w,[W,H])},onEnterCancelled(W){E(W,!1,void 0,!0),ga(C,[W])},onAppearCancelled(W){E(W,!0,void 0,!0),ga(T,[W])},onLeaveCancelled(W){D(W),ga(S,[W])}})}function NJ(e){if(e==null)return null;if(Dt(e))return[nb(e.enter),nb(e.leave)];{const t=nb(e);return[t,t]}}function nb(e){return Cu(e)}function ti(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Ll]||(e[Ll]=new Set)).add(t)}function pa(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Ll];r&&(r.delete(t),r.size||(e[Ll]=void 0))}function Ek(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function Ok(e,t,r,n){const o=e._endId=++S4,i=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:l,propCount:s}=b4(e,t);if(!a)return n();const d=a+"end";let u=0;const f=()=>{e.removeEventListener(d,m),i()},m=g=>{g.target===e&&++u>=s&&f()};setTimeout(()=>{u<s&&f()},l+1),e.addEventListener(d,m)}function b4(e,t){const r=window.getComputedStyle(e),n=h=>(r[h]||"").split(", "),o=n(`${Ei}Delay`),i=n(`${Ei}Duration`),a=Ak(o,i),l=n(`${Fs}Delay`),s=n(`${Fs}Duration`),d=Ak(l,s);let u=null,f=0,m=0;t===Ei?a>0&&(u=Ei,f=a,m=i.length):t===Fs?d>0&&(u=Fs,f=d,m=s.length):(f=Math.max(a,d),u=f>0?a>d?Ei:Fs:null,m=u?u===Ei?i.length:s.length:0);const g=u===Ei&&/\b(?:transform|all)(?:,|$)/.test(n(`${Ei}Property`).toString());return{type:u,timeout:f,propCount:m,hasTransform:g}}function Ak(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>Mk(r)+Mk(e[n])))}function Mk(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ey(e){return(e?e.ownerDocument:document).body.offsetHeight}function HJ(e,t,r){const n=e[Ll];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Pd(e,t){e.style.display=t?e[Mu]:"none",e[G_]=!t}function WJ(){uo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function jJ(e){const t=Pr();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>lm(i,o))},n=()=>{const o=e(t.proxy);t.ce?lm(t.ce,o):Oy(t.subTree,o),r(o)};sf(()=>{Su(n)}),Ht(()=>{nt(n,Yn,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),go(()=>o.disconnect())})}function Oy(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Oy(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)lm(e.el,t);else if(e.type===yt)e.children.forEach(r=>Oy(r,t));else if(e.type===$a){let{el:r,anchor:n}=e;for(;r&&(lm(r,t),r!==n);)r=r.nextSibling}}function lm(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t){const i=mZ(t[o]);r.setProperty(`--${o}`,i),n+=`--${o}: ${i};`}r[Y_]=n}}function VJ(e,t,r){const n=e.style,o=Xt(r);let i=!1;if(r&&!o){if(t)if(Xt(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();r[l]==null&&qd(n,l,"")}else for(const a in t)r[a]==null&&qd(n,a,"");for(const a in r){a==="display"&&(i=!0);const l=r[a];l!=null?KJ(e,a,!Xt(t)&&t?t[a]:void 0,l)||qd(n,a,l):qd(n,a,"")}}else if(o){if(t!==r){const a=n[Y_];a&&(r+=";"+a),n.cssText=r,i=P4.test(r)}}else t&&e.removeAttribute("style");Mu in e&&(e[Mu]=i?n.display:"",e[G_]&&(n.display="none"))}function qd(e,t,r){if(tt(r))r.forEach(n=>qd(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=UJ(e,t);zy.test(r)?e.setProperty(xn(n),r.replace(zy,""),"important"):e[n]=r}}function UJ(e,t){const r=Pv[t];if(r)return r;let n=Or(t);if(n!=="filter"&&n in e)return Pv[t]=n;n=lc(n);for(let o=0;o<Dy.length;o++){const i=Dy[o]+n;if(i in e)return Pv[t]=i}return t}function KJ(e,t,r,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Xt(n)&&r===n}function Ik(e,t,r,n,o,i=DI(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(Ly,t.slice(6,t.length)):e.setAttributeNS(Ly,t,r):r==null||i&&!EI(r)?e.removeAttribute(t):e.setAttribute(t,i?"":In(r)?String(r):r)}function Fk(e,t,r,n,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?Ay(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,s=r==null?e.type==="checkbox"?"on":"":String(r);(l!==s||!("_value"in e))&&(e.value=s),r==null&&e.removeAttribute(t),e._value=r;return}let a=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=EI(r):r==null&&l==="string"?(r="",a=!0):l==="number"&&(r=0,a=!0)}try{e[t]=r}catch{}a&&e.removeAttribute(o||t)}function Ti(e,t,r,n){e.addEventListener(t,r,n)}function qJ(e,t,r,n){e.removeEventListener(t,r,n)}function GJ(e,t,r,n,o=null){const i=e[By]||(e[By]={}),a=i[t];if(n&&a)a.value=n;else{const[l,s]=YJ(t);n?Ti(e,l,i[t]=XJ(n,o),s):a&&(qJ(e,l,a,s),i[t]=void 0)}}function YJ(e){let t;if(Ny.test(e)){t={};let r;for(;r=e.match(Ny);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xn(e.slice(2)),t]}function XJ(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;const o=r.value;if(tt(o)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const a=o.slice(),l=[n];for(let s=0;s<a.length&&!n._stopped;s++){const d=a[s];d&&Zn(d,t,5,l)}}else Zn(o,t,5,[n])};return r.value=e,r.attached=k4(),r}function ZJ(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hy(t)&&ft(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Hy(t)&&Xt(r)?!1:t in e}function JJ(e,t){const r=e._def.props;if(!r)return!1;const n=Or(t);return Array.isArray(r)?r.some(o=>Or(o)===n):Object.keys(r).some(o=>Or(o)===n)}function y4(e,t,r){let n=Re(e,t);yu(n)&&(n=Gt({},n,t));class o extends X_{constructor(a){super(n,a,r)}}return o.def=n,o}function x4(e){const t=Pr(),r=t&&t.ce;return r||null}function QJ(){const e=x4();return e&&e.shadowRoot}function eQ(e="$style"){{const t=Pr();if(!t)return Et;const r=t.type.__cssModules;if(!r)return Et;const n=r[e];return n||Et}}function tQ(e){const t=e.el;t[lu]&&t[lu](),t[Vy]&&t[Vy]()}function rQ(e){Z_.set(e,C4(e.el))}function nQ(e){const t=jy.get(e),r=Z_.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const i=e.el,a=i.style,l=i.getBoundingClientRect();let s=1,d=1;return i.offsetWidth&&(s=l.width/i.offsetWidth),i.offsetHeight&&(d=l.height/i.offsetHeight),(!Number.isFinite(s)||s===0)&&(s=1),(!Number.isFinite(d)||d===0)&&(d=1),Math.abs(s-1)<.01&&(s=1),Math.abs(d-1)<.01&&(d=1),a.transform=a.webkitTransform=`translate(${n/s}px,${o/d}px)`,a.transitionDuration="0s",e}}function C4(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function oQ(e,t,r){const n=e.cloneNode(),o=e[Ll];o&&o.forEach(l=>{l.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=b4(n);return i.removeChild(n),a}function iQ(e){e.target.composing=!0}function zk(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}function Dk(e,t,r){return t&&(e=e.trim()),r&&(e=xu(e)),e}function Lk(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(tt(t))o=Tm(t,n.props.value)>-1;else if(Oa(t))o=t.has(n.props.value);else{if(t===r)return;o=qi(t,_4(e,!0))}e.checked!==o&&(e.checked=o)}function Bk(e,t){const r=e.multiple,n=tt(t);if(!(r&&!n&&!Oa(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=Hs(a);if(r)if(n){const s=typeof l;s==="string"||s==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=Tm(t,l)>-1}else a.selected=t.has(l);else if(qi(Hs(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Hs(e){return"_value"in e?e._value:e.value}function _4(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}function w4(e,t){switch(e){case"SELECT":return J_;case"TEXTAREA":return Iu;default:switch(t){case"checkbox":return jm;case"radio":return Vm;default:return Iu}}}function Uh(e,t,r,n,o){const i=w4(e.tagName,r.props&&r.props.type)[o];i&&i(e,t,r,n)}function aQ(){Iu.getSSRProps=({value:e})=>({value:e}),Vm.getSSRProps=({value:e},t)=>{if(t.props&&qi(t.props.value,e))return{checked:!0}},jm.getSSRProps=({value:e},t)=>{if(tt(e)){if(t.props&&Tm(e,t.props.value)>-1)return{checked:!0}}else if(Oa(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Q_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=w4(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}function Nk(){return su||(su=RF(e1))}function Hk(){return su=Uy?su:$F(e1),Uy=!0,su}function Wk(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jk(e){return Xt(e)?document.querySelector(e):e}var Kh,ob,Ay,Vk,Uk,Zo,ib,My,Ei,Fs,Ll,Iy,ab,Kk,_r,ga,Fy,S4,Mu,G_,uo,Y_,P4,zy,Dy,Pv,Ly,By,Ny,qh,qk,k4,Hy,Wy,lb,R4,Gk,X_,jy,Z_,lu,Vy,Yk,cf,Si,Vn,Iu,jm,Vm,J_,Q_,Xk,Zk,$4,Jk,T4,e1,su,Uy,Ky,E4,cu,qy,sb,O4,lQ=c((()=>{if($k(),$k(),m_(),Kh=void 0,ob=typeof window<"u"&&window.trustedTypes,ob)try{Kh=ob.createPolicy("vue",{createHTML:e=>e})}catch{}Ay=Kh?e=>Kh.createHTML(e):e=>e,Vk="http://www.w3.org/2000/svg",Uk="http://www.w3.org/1998/Math/MathML",Zo=typeof document<"u"?document:null,ib=Zo&&Zo.createElement("template"),My={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Zo.createElementNS(Vk,e):t==="mathml"?Zo.createElementNS(Uk,e):r?Zo.createElement(e,{is:r}):Zo.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Zo.createTextNode(e),createComment:e=>Zo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const a=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{ib.innerHTML=Ay(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=ib.content;if(n==="svg"||n==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Ei="transition",Fs="animation",Ll=Symbol("_vtc"),Iy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ab=Gt({},nm,Iy),Kk=e=>(e.displayName="Transition",e.props=ab,e),_r=Kk((e,{slots:t})=>v(B_,Tk(e),t)),ga=(e,t=[])=>{tt(e)?e.forEach(r=>r(...t)):e&&e(...t)},Fy=e=>e?tt(e)?e.some(t=>t.length>1):e.length>1:!1,S4=0,Mu=Symbol("_vod"),G_=Symbol("_vsh"),uo={name:"show",beforeMount(e,{value:t},{transition:r}){e[Mu]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Pd(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Pd(e,!0),n.enter(e)):n.leave(e,()=>{Pd(e,!1)}):Pd(e,t))},beforeUnmount(e,{value:t}){Pd(e,t)}},Y_=Symbol(""),P4=/(?:^|;)\s*display\s*:/,zy=/\s*!important$/,Dy=["Webkit","Moz","ms"],Pv={},Ly="http://www.w3.org/1999/xlink",By=Symbol("_vei"),Ny=/(?:Once|Passive|Capture)$/,qh=0,qk=Promise.resolve(),k4=()=>qh||(qk.then(()=>qh=0),qh=Date.now()),Hy=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wy=(e,t,r,n,o,i)=>{const a=o==="svg";t==="class"?HJ(e,n,a):t==="style"?VJ(e,r,n):kc(t)?rf(t)||GJ(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ZJ(e,t,n,a))?(Fk(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ik(e,t,n,a,i,t!=="value")):e._isVueCE&&(JJ(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Xt(n)))?Fk(e,Or(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ik(e,t,n,a))},lb={},R4=((e,t)=>y4(e,t,qy)),Gk=typeof HTMLElement<"u"?HTMLElement:class{},X_=class A4 extends Gk{constructor(t,r={},n=cu){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==cu?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Gt({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof A4){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Lt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let l;if(i&&!tt(i))for(const s in i){const d=i[s];(d===Number||d&&d.type===Number)&&(s in this._props&&(this._props[s]=Cu(this._props[s])),(l||(l=Object.create(null)))[Or(s)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)Wt(this,n)||Object.defineProperty(this,n,{get:()=>er(r[n])})}_resolveProps(t){const{props:r}=t,n=tt(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(Or))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):lb;const o=Or(t);r&&this._numberProps&&this._numberProps[o]&&(n=Cu(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,o=!1){if(r!==this._props[t]&&(this._dirty=!0,r===lb?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),r===!0?this.setAttribute(xn(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(xn(t),r+""):r||this.removeAttribute(xn(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ky(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=Ut(this._def,Gt(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,a)=>{this.dispatchEvent(new CustomEvent(i,yu(a[0])?Gt({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{o(i,a),xn(i)!==i&&o(xn(i),a)},this._setParent()}),r}_applyStyles(t,r,n){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const o=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let s=t.length-1;s>=0;s--){const d=document.createElement("style");o&&d.setAttribute("nonce",o),d.textContent=t[s],i.insertBefore(d,l||a),l=d,s===0&&(n||this._styleAnchors.set(this._def,d),r&&this._styleAnchors.set(r,d))}}_getStyleAnchor(t){if(!t)return null;const r=this._styleAnchors.get(t);return r&&r.parentNode===this.shadowRoot?r:(r&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let r=0;r<t.childNodes.length;r++){const n=t.childNodes[r];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",a=this._slots[i],l=o.parentNode;if(a)for(const s of a){if(r&&s.nodeType===1){const d=r+"-s",u=document.createTreeWalker(s,1);s.setAttribute(d,"");let f;for(;f=u.nextNode();)f.setAttribute(d,"")}l.insertBefore(s,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const r=new Set;for(const n of t){const o=n.querySelectorAll("slot");for(let i=0;i<o.length;i++)r.add(o[i])}return Array.from(r)}_injectChildStyle(t,r){this._applyStyles(t.styles,t,r)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}},jy=new WeakMap,Z_=new WeakMap,lu=Symbol("_moveCb"),Vy=Symbol("_enterCb"),Yk=e=>(delete e.props.mode,e),cf=Yk({name:"TransitionGroup",props:Gt({},ab,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Pr(),n=k_();let o,i;return Au(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!oQ(o[0].el,r.vnode.el,a)){o=[];return}o.forEach(tQ),o.forEach(rQ);const l=o.filter(nQ);Ey(r.vnode.el),l.forEach(s=>{const d=s.el,u=d.style;ti(d,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=d[lu]=m=>{m&&m.target!==d||(!m||m.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",f),d[lu]=null,pa(d,a))};d.addEventListener("transitionend",f)}),o=[]}),()=>{const a=At(e),l=Tk(a);let s=a.tag||yt;if(o=[],i)for(let d=0;d<i.length;d++){const u=i[d];u.el&&u.el instanceof Element&&(o.push(u),Ki(u,uc(u,l,n,r)),jy.set(u,C4(u.el)))}i=t.default?Dm(t.default()):[];for(let d=0;d<i.length;d++){const u=i[d];u.key!=null&&Ki(u,uc(u,l,n,r))}return Ut(s,null,i)}}}),Si=e=>{const t=e.props["onUpdate:modelValue"]||!1;return tt(t)?r=>El(t,r):t},Vn=Symbol("_assign"),Iu={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Vn]=Si(o);const i=n||o.props&&o.props.type==="number";Ti(e,t?"change":"input",a=>{a.target.composing||e[Vn](Dk(e.value,r,i))}),(r||i)&&Ti(e,"change",()=>{e.value=Dk(e.value,r,i)}),t||(Ti(e,"compositionstart",iQ),Ti(e,"compositionend",zk),Ti(e,"change",zk))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},a){if(e[Vn]=Si(a),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?xu(e.value):e.value,s=t??"";if(l===s)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===s)||(e.value=s)}},jm={deep:!0,created(e,t,r){e[Vn]=Si(r),Ti(e,"change",()=>{const n=e._modelValue,o=Hs(e),i=e.checked,a=e[Vn];if(tt(n)){const l=Tm(n,o),s=l!==-1;if(i&&!s)a(n.concat(o));else if(!i&&s){const d=[...n];d.splice(l,1),a(d)}}else if(Oa(n)){const l=new Set(n);i?l.add(o):l.delete(o),a(l)}else a(_4(e,i))})},mounted:Lk,beforeUpdate(e,t,r){e[Vn]=Si(r),Lk(e,t,r)}},Vm={created(e,{value:t},r){e.checked=qi(t,r.props.value),e[Vn]=Si(r),Ti(e,"change",()=>{e[Vn](Hs(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Vn]=Si(n),t!==r&&(e.checked=qi(t,n.props.value))}},J_={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=Oa(t);Ti(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?xu(Hs(a)):Hs(a));e[Vn](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Lt(()=>{e._assigning=!1})}),e[Vn]=Si(n)},mounted(e,{value:t}){Bk(e,t)},beforeUpdate(e,t,r){e[Vn]=Si(r)},updated(e,{value:t}){e._assigning||Bk(e,t)}},Q_={created(e,t,r){Uh(e,t,r,null,"created")},mounted(e,t,r){Uh(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){Uh(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){Uh(e,t,r,n,"updated")}},Xk=["ctrl","shift","alt","meta"],Zk={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Xk.some(r=>e[`${r}Key`]&&!t.includes(r))},$4=(e,t)=>{if(!e)return e;const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=((o,...i)=>{for(let a=0;a<t.length;a++){const l=Zk[t[a]];if(l&&l(o,t))return}return e(o,...i)}))},Jk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},T4=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=(o=>{if(!("key"in o))return;const i=xn(o.key);if(t.some(a=>a===i||Jk[a]===i))return e(o)}))},e1=Gt({patchProp:Wy},My),Uy=!1,Ky=((...e)=>{Nk().render(...e)}),E4=((...e)=>{Hk().hydrate(...e)}),cu=((...e)=>{const t=Nk().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=jk(n);if(!o)return;const i=t._component;!ft(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=r(o,!1,Wk(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t}),qy=((...e)=>{const t=Hk().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=jk(n);if(o)return r(o,!0,Wk(o))},t}),sb=!1,O4=()=>{sb||(sb=!0,aQ(),WJ())}})),Qk=uZ({BaseTransition:()=>B_,BaseTransitionPropsValidators:()=>nm,Comment:()=>fr,DeprecationTypes:()=>null,EffectScope:()=>zm,ErrorCodes:()=>VF,ErrorTypeStrings:()=>v4,Fragment:()=>yt,KeepAlive:()=>ZF,ReactiveEffect:()=>cc,Static:()=>$a,Suspense:()=>s4,Teleport:()=>Tc,Text:()=>Lo,TrackOpTypes:()=>lF,Transition:()=>_r,TransitionGroup:()=>cf,TriggerOpTypes:()=>sF,VueElement:()=>X_,assertNumber:()=>IZ,callWithAsyncErrorHandling:()=>Zn,callWithErrorHandling:()=>$c,camelize:()=>Or,capitalize:()=>lc,cloneVNode:()=>Jn,compatUtils:()=>null,compile:()=>M4,computed:()=>I,createApp:()=>cu,createBlock:()=>Kn,createCommentVNode:()=>no,createElementBlock:()=>Ns,createElementVNode:()=>Gs,createHydrationRenderer:()=>$F,createPropsRestProxy:()=>dJ,createRenderer:()=>RF,createSSRApp:()=>qy,createSlots:()=>ZZ,createStaticVNode:()=>OJ,createTextVNode:()=>Dl,createVNode:()=>Ut,customRef:()=>jI,defineAsyncComponent:()=>ma,defineComponent:()=>Re,defineCustomElement:()=>y4,defineEmits:()=>eJ,defineExpose:()=>tJ,defineModel:()=>oJ,defineOptions:()=>rJ,defineProps:()=>QZ,defineSSRCustomElement:()=>R4,defineSlots:()=>nJ,devtools:()=>m4,effect:()=>bZ,effectScope:()=>Am,getCurrentInstance:()=>Pr,getCurrentScope:()=>Mm,getCurrentWatcher:()=>TZ,getTransitionRawChildren:()=>Dm,guardReactiveProps:()=>DF,h:()=>v,handleError:()=>Yl,hasInjectionContext:()=>fF,hydrate:()=>E4,hydrateOnIdle:()=>qF,hydrateOnInteraction:()=>XF,hydrateOnMediaQuery:()=>YF,hydrateOnVisible:()=>GF,initCustomFormatter:()=>FJ,initDirectivesForSSR:()=>O4,inject:()=>He,isMemoSame:()=>jF,isProxy:()=>nf,isReactive:()=>Do,isReadonly:()=>ii,isRef:()=>hr,isRuntimeOnly:()=>u4,isShallow:()=>Fn,isVNode:()=>fi,markRaw:()=>sc,mergeDefaults:()=>sJ,mergeModels:()=>cJ,mergeProps:()=>_n,nextTick:()=>Lt,nodeOps:()=>My,normalizeClass:()=>zo,normalizeProps:()=>hZ,normalizeStyle:()=>Pc,onActivated:()=>Lm,onBeforeMount:()=>pi,onBeforeUnmount:()=>tr,onBeforeUpdate:()=>sf,onDeactivated:()=>af,onErrorCaptured:()=>bF,onMounted:()=>Ht,onRenderTracked:()=>W_,onRenderTriggered:()=>H_,onScopeDispose:()=>p_,onServerPrefetch:()=>N_,onUnmounted:()=>go,onUpdated:()=>Au,onWatcherCleanup:()=>UI,openBlock:()=>Hr,patchProp:()=>Wy,popScopeId:()=>LZ,provide:()=>dt,proxyRefs:()=>C_,pushScopeId:()=>DZ,queuePostFlushCb:()=>Su,reactive:()=>ui,readonly:()=>so,ref:()=>q,registerRuntimeCompiler:()=>MJ,render:()=>Ky,renderList:()=>XZ,renderSlot:()=>T_,resolveComponent:()=>yF,resolveDirective:()=>YZ,resolveDynamicComponent:()=>GZ,resolveFilter:()=>null,resolveTransitionHooks:()=>uc,setBlockTracking:()=>$u,setDevtoolsHook:()=>p4,setTransitionHooks:()=>Ki,shallowReactive:()=>x_,shallowReadonly:()=>PZ,shallowRef:()=>Rc,ssrContextKey:()=>ky,ssrUtils:()=>g4,stop:()=>yZ,toDisplayString:()=>Zv,toHandlerKey:()=>Vs,toHandlers:()=>JZ,toRaw:()=>At,toRef:()=>Se,toRefs:()=>__,toValue:()=>RZ,transformVNodeArgs:()=>TJ,triggerRef:()=>kZ,unref:()=>er,useAttrs:()=>lJ,useCssModule:()=>eQ,useCssVars:()=>jJ,useHost:()=>x4,useId:()=>WZ,useModel:()=>gJ,useSSRContext:()=>z_,useShadowRoot:()=>QJ,useSlots:()=>aJ,useTemplateRef:()=>jZ,useTransitionState:()=>k_,vModelCheckbox:()=>jm,vModelDynamic:()=>Q_,vModelRadio:()=>Vm,vModelSelect:()=>J_,vModelText:()=>Iu,vShow:()=>uo,version:()=>q_,warn:()=>h4,watch:()=>nt,watchEffect:()=>lr,watchPostEffect:()=>BZ,watchSyncEffect:()=>hF,withAsyncContext:()=>uJ,withCtx:()=>wl,withDefaults:()=>iJ,withDirectives:()=>fn,withKeys:()=>T4,withMemo:()=>zJ,withModifiers:()=>$4,withScopeId:()=>UF}),M4,Y=c((()=>{lQ(),M4=()=>{}}));function Gy(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}function sQ(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function t1(e,t,r){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){D4(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function I4(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function kv(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const r=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(r)}}function cQ(e,t="download",r){const n=document.createElement("a");n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin!==location.origin?I4(n.href)?t1(e,t,r):(n.target="_blank",kv(n)):kv(n)):(n.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(n.href)},4e4),setTimeout(function(){kv(n)},0))}function dQ(e,t="download",r){if(typeof e=="string")if(I4(e))t1(e,t,r);else{const n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){kv(n)})}else navigator.msSaveOrOpenBlob(sQ(e,r),t)}function uQ(e,t,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return t1(e,t,r);const o=e.type==="application/octet-stream",i=/constructor/i.test(String(Xy.HTMLElement))||"safari"in Xy,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||o&&i||Zy)&&typeof FileReader<"u"){const l=new FileReader;l.onloadend=function(){let s=l.result;if(typeof s!="string")throw n=null,new Error("Wrong reader.result type");s=a?s:s.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=s:location.assign(s),n=null},l.readAsDataURL(e)}else{const l=URL.createObjectURL(e);n?n.location.assign(l):location.href=l,n=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function fQ(){const e=Am(!0),t=e.run(()=>q({}));let r=[],n=[];const o=sc({install(i){df(o),o._a=i,i.provide(r1,o),i.config.globalProperties.$pinia=o,n.forEach(a=>r.push(a)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}function eR(e,t,r,n=n1){e.add(t);const o=()=>{e.delete(t)&&n()};return!r&&Mm()&&p_(o),o}function Ps(e,...t){e.forEach(r=>{r(...t)})}function Yy(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];Gy(o)&&Gy(n)&&e.hasOwnProperty(r)&&!hr(n)&&!Do(n)?e[r]=Yy(o,n):e[r]=n}return e}function hQ(e){return!Gy(e)||!Object.prototype.hasOwnProperty.call(e,B4)}function vQ(e){return!!(hr(e)&&e.effect)}function mQ(e,t,r,n){const{state:o,actions:i,getters:a}=t,l=r.state.value[e];let s;function d(){return l||(r.state.value[e]=o?o():{}),zi(__(r.state.value[e]),i,Object.keys(a||{}).reduce((u,f)=>(u[f]=sc(I(()=>{df(r);const m=r._s.get(e);return a[f].call(m,m)})),u),{}))}return s=F4(e,d,t,r,n,!0),s}function F4(e,t,r={},n,o,i){let a;const l=zi({actions:{}},r),s={deep:!0};let d,u,f=new Set,m=new Set,g;const h=n.state.value[e];!i&&!h&&(n.state.value[e]={});let p;function b(P){let _;d=u=!1,typeof P=="function"?(P(n.state.value[e]),_={type:du.patchFunction,storeId:e,events:g}):(Yy(n.state.value[e],P),_={type:du.patchObject,payload:P,storeId:e,events:g});const T=p=Symbol();Lt().then(()=>{p===T&&(d=!0)}),u=!0,Ps(f,_,n.state.value[e])}const y=i?function(){const{state:_}=r,T=_?_():{};this.$patch(E=>{zi(E,T)})}:n1;function x(){a.stop(),f.clear(),m.clear(),n._s.delete(e)}const C=(P,_="")=>{if(Jy in P)return P[Rv]=_,P;const T=function(){df(n);const E=Array.from(arguments),D=new Set,M=new Set;function W(V){D.add(V)}function L(V){M.add(V)}Ps(m,{args:E,name:T[Rv],store:w,after:W,onError:L});let H;try{H=P.apply(this&&this.$id===e?this:w,E)}catch(V){throw Ps(M,V),V}return H instanceof Promise?H.then(V=>(Ps(D,V),V)).catch(V=>(Ps(M,V),Promise.reject(V))):(Ps(D,H),H)};return T[Jy]=!0,T[Rv]=_,T},w=ui({_p:n,$id:e,$onAction:eR.bind(null,m),$patch:b,$reset:y,$subscribe(P,_={}){const T=eR(f,P,_.detached,()=>E()),E=a.run(()=>nt(()=>n.state.value[e],D=>{(_.flush==="sync"?u:d)&&P({storeId:e,type:du.direct,events:g},D)},zi({},s,_)));return T},$dispose:x});n._s.set(e,w);const S=(n._a&&n._a.runWithContext||L4)(()=>n._e.run(()=>(a=Am()).run(()=>t({action:C}))));for(const P in S){const _=S[P];hr(_)&&!vQ(_)||Do(_)?i||(h&&hQ(_)&&(hr(_)?_.value=h[P]:Yy(_,h[P])),n.state.value[e][P]=_):typeof _=="function"&&(S[P]=C(_,P),l.actions[P]=_)}return zi(w,S),zi(At(w),S),Object.defineProperty(w,"$state",{get:()=>n.state.value[e],set:P=>{b(_=>{zi(_,P)})}}),n._p.forEach(P=>{zi(w,a.run(()=>P({store:w,app:n._a,pinia:n,options:l})))}),h&&i&&r.hydrate&&r.hydrate(w.$state,h),d=!0,u=!0,w}function pQ(e,t,r){let n;const o=typeof t=="function";n=o?r:t;function i(a,l){const s=fF();return a=a||(s?He(r1,null):null),a&&df(a),a=z4,a._s.has(e)||(o?F4(e,t,n,a):mQ(e,n,a)),a._s.get(e)}return i.$id=e,i}var tR,z4,df,r1,du,Xy,kd,Zy,D4,gQ,n1,L4,Jy,Rv,B4,zi,N4=c((()=>{Y(),tR=typeof window<"u",df=e=>z4=e,r1=Symbol(),(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(du||(du={})),Xy=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null},kd=typeof navigator=="object"?navigator:{userAgent:""},Zy=/Macintosh/.test(kd.userAgent)&&/AppleWebKit/.test(kd.userAgent)&&!/Safari/.test(kd.userAgent),D4=tR?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!Zy?cQ:"msSaveOrOpenBlob"in kd?dQ:uQ:()=>{},{assign:gQ}=Object,n1=()=>{},L4=e=>e(),Jy=Symbol(),Rv=Symbol(),B4=Symbol(),{assign:zi}=Object}));function H4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bQ(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&H4(e.default)}function cb(e,t){const r={};for(const n in t){const o=t[n];r[n]=fo(o)?o.map(e):e(o)}return r}function rR(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function o1(e){return e==null?"":encodeURI(""+e).replace(Z4,"|").replace(G4,"[").replace(Y4,"]")}function yQ(e){return o1(e).replace(s1,"{").replace(c1,"}").replace(l1,"^")}function Qy(e){return o1(e).replace(a1,"%2B").replace(J4,"+").replace(i1,"%23").replace(V4,"%26").replace(X4,"`").replace(s1,"{").replace(c1,"}").replace(l1,"^")}function xQ(e){return Qy(e).replace(K4,"%3D")}function CQ(e){return o1(e).replace(i1,"%23").replace(q4,"%3F")}function _Q(e){return CQ(e).replace(U4,"%2F")}function Fu(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}function db(e,t,r="/"){let n,o={},i="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return s=l>=0&&s>l?-1:s,s>=0&&(n=t.slice(0,s),i=t.slice(s,l>0?l:t.length),o=e(i.slice(1))),l>=0&&(n=n||t.slice(0,l),a=t.slice(l,t.length)),n=kQ(n??t,r),{fullPath:n+i+a,path:n,query:o,hash:Fu(a)}}function wQ(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function nR(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function SQ(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&vc(t.matched[n],r.matched[o])&&W4(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function vc(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function W4(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!PQ(e[r],t[r]))return!1;return!0}function PQ(e,t){return fo(e)?oR(e,t):fo(t)?oR(t,e):e?.valueOf()===t?.valueOf()}function oR(e,t){return fo(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function kQ(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let i=r.length-1,a,l;for(a=0;a<n.length;a++)if(l=n[a],l!==".")if(l==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a).join("/")}function RQ(e){if(!e)if(xl){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Q4(e)}function $Q(e,t){return e.replace(ez,"#")+t}function TQ(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}function EQ(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=TQ(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function iR(e,t){return(history.state?history.state.position-t:-1)+e}function OQ(e,t){cm.set(e,t)}function AQ(e){const t=cm.get(e);return cm.delete(e),t}function MQ(e){return typeof e=="string"||e&&typeof e=="object"}function j4(e){return typeof e=="string"||typeof e=="symbol"}function mc(e,t){return Vt(new Error,{type:e,[d1]:!0},t)}function Pi(e,t){return e instanceof Error&&d1 in e&&(t==null||!!(e.type&t))}function IQ(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;n<r.length;++n){const o=r[n].replace(a1," "),i=o.indexOf("="),a=Fu(i<0?o:o.slice(0,i)),l=i<0?null:Fu(o.slice(i+1));if(a in t){let s=t[a];fo(s)||(s=t[a]=[s]),s.push(l)}else t[a]=l}return t}function aR(e){let t="";for(let r in e){const n=e[r];if(r=xQ(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(fo(n)?n.map(o=>o&&Qy(o)):[n&&Qy(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+r,o!=null&&(t+="="+o))})}return t}function FQ(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=fo(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}function Rd(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function xa(e,t,r,n,o,i=a=>a()){const a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,s)=>{const d=m=>{m===!1?s(mc(yr.NAVIGATION_ABORTED,{from:r,to:t})):m instanceof Error?s(m):MQ(m)?s(mc(yr.NAVIGATION_GUARD_REDIRECT,{from:t,to:m})):(a&&n.enterCallbacks[o]===a&&typeof m=="function"&&a.push(m),l())},u=i(()=>e.call(n&&n.instances[o],t,r,d));let f=Promise.resolve(u);e.length<3&&(f=f.then(d)),f.catch(m=>s(m))})}function ub(e,t,r,n,o=i=>i()){const i=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(H4(s)){const d=(s.__vccOpts||s)[t];d&&i.push(xa(d,r,n,a,l,o))}else{let d=s();i.push(()=>d.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const f=bQ(u)?u.default:u;a.mods[l]=u,a.components[l]=f;const m=(f.__vccOpts||f)[t];return m&&xa(m,r,n,a,l,o)()}))}}return i}function zQ(e,t){const r=[],n=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const l=t.matched[a];l&&(e.matched.find(d=>vc(d,l))?n.push(l):r.push(l));const s=e.matched[a];s&&(t.matched.find(d=>vc(d,s))||o.push(s))}return[r,n,o]}var xl,Vt,Js,fo,i1,V4,U4,K4,q4,a1,G4,Y4,l1,X4,s1,Z4,c1,J4,lR,Q4,Oi,sm,$v,ez,uf,cm,yr,d1,tz,ex,ff,Um,dm,DQ=c((()=>{Y(),xl=typeof document<"u",Vt=Object.assign,Js=()=>{},fo=Array.isArray,i1=/#/g,V4=/&/g,U4=/\//g,K4=/=/g,q4=/\?/g,a1=/\+/g,G4=/%5B/g,Y4=/%5D/g,l1=/%5E/g,X4=/%60/g,s1=/%7B/g,Z4=/%7C/g,c1=/%7D/g,J4=/%20/g,lR=/\/$/,Q4=e=>e.replace(lR,""),Oi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},sm=(function(e){return e.pop="pop",e.push="push",e})({}),$v=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({}),ez=/^[^#]+#/,uf=()=>({left:window.scrollX,top:window.scrollY}),cm=new Map,yr=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({}),d1=Symbol(""),yr.MATCHER_NOT_FOUND,yr.NAVIGATION_GUARD_REDIRECT,yr.NAVIGATION_ABORTED,yr.NAVIGATION_CANCELLED,yr.NAVIGATION_DUPLICATED,tz=Symbol(""),ex=Symbol(""),ff=Symbol(""),Um=Symbol(""),dm=Symbol("")}));function rz(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),nR(l,"")}return nR(r,e)+n+o}function LQ(e,t,r,n){let o=[],i=[],a=null;const l=({state:m})=>{const g=rz(e,location),h=r.value,p=t.value;let b=0;if(m){if(r.value=g,t.value=m,a&&a===h){a=null;return}b=p?m.position-p.position:0}else n(g);o.forEach(y=>{y(r.value,h,{delta:b,type:sm.pop,direction:b?b>0?$v.forward:$v.back:$v.unknown})})};function s(){a=r.value}function d(m){o.push(m);const g=()=>{const h=o.indexOf(m);h>-1&&o.splice(h,1)};return i.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(Vt({},m.state,{scroll:uf()}),"")}}function f(){for(const m of i)m();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:s,listen:d,destroy:f}}function sR(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?uf():null}}function BQ(e){const{history:t,location:r}=window,n={value:rz(e,r)},o={value:t.state};o.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,d,u){const f=e.indexOf("#"),m=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+s:iz()+e+s;try{t[u?"replaceState":"pushState"](d,"",m),o.value=d}catch(g){console.error(g),r[u?"replace":"assign"](m)}}function a(s,d){i(s,Vt({},t.state,sR(o.value.back,s,o.value.forward,!0),d,{position:o.value.position}),!0),n.value=s}function l(s,d){const u=Vt({},o.value,t.state,{forward:s,scroll:uf()});i(u.current,u,!0),i(s,Vt({},sR(n.value,s,null),{position:u.position+1},d),!1),n.value=s}return{location:n,state:o,push:l,replace:a}}function NQ(e){e=RQ(e);const t=BQ(e),r=LQ(e,t.state,t.location,t.replace);function n(i,a=!0){a||r.pauseListeners(),history.go(i)}const o=Vt({location:"",base:e,go:n,createHref:$Q.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function HQ(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),NQ(e)}function WQ(e){if(!e)return[[]];if(e==="/")return[[az]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${r})/"${d}": ${g}`)}let r=Dr.Static,n=r;const o=[];let i;function a(){i&&o.push(i),i=[]}let l=0,s,d="",u="";function f(){d&&(r===Dr.Static?i.push({type:_a.Static,value:d}):r===Dr.Param||r===Dr.ParamRegExp||r===Dr.ParamRegExpEnd?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:_a.Param,value:d,regexp:u,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),d="")}function m(){d+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&r!==Dr.ParamRegExp){n=r,r=Dr.EscapeNext;continue}switch(r){case Dr.Static:s==="/"?(d&&f(),a()):s===":"?(f(),r=Dr.Param):m();break;case Dr.EscapeNext:m(),r=n;break;case Dr.Param:s==="("?r=Dr.ParamRegExp:lz.test(s)?m():(f(),r=Dr.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case Dr.ParamRegExp:s===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+s:r=Dr.ParamRegExpEnd:u+=s;break;case Dr.ParamRegExpEnd:f(),r=Dr.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--,u="";break;default:t("Unknown state");break}}return r===Dr.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),f(),a(),o}function jQ(e,t){const r=Vt({},sz,t),n=[];let o=r.start?"^":"";const i=[];for(const d of e){const u=d.length?[]:[sn.Root];r.strict&&!d.length&&(o+="/");for(let f=0;f<d.length;f++){const m=d[f];let g=sn.Segment+(r.sensitive?sn.BonusCaseSensitive:0);if(m.type===_a.Static)f||(o+="/"),o+=m.value.replace(cz,"\\$&"),g+=sn.Static;else if(m.type===_a.Param){const{value:h,repeatable:p,optional:b,regexp:y}=m;i.push({name:h,repeatable:p,optional:b});const x=y||tx;if(x!==tx){g+=sn.BonusCustomRegExp;try{`${x}`}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${x}): `+w.message)}}let C=p?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;f||(C=b&&d.length<2?`(?:/${C})`:"/"+C),b&&(C+="?"),o+=C,g+=sn.Dynamic,b&&(g+=sn.BonusOptional),p&&(g+=sn.BonusRepeatable),x===".*"&&(g+=sn.BonusWildcard)}u.push(g)}n.push(u)}if(r.strict&&r.end){const d=n.length-1;n[d][n[d].length-1]+=sn.BonusStrict}r.strict||(o+="/?"),r.end?o+="$":r.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,r.sensitive?"":"i");function l(d){const u=d.match(a),f={};if(!u)return null;for(let m=1;m<u.length;m++){const g=u[m]||"",h=i[m-1];f[h.name]=g&&h.repeatable?g.split("/"):g}return f}function s(d){let u="",f=!1;for(const m of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of m)if(g.type===_a.Static)u+=g.value;else if(g.type===_a.Param){const{value:h,repeatable:p,optional:b}=g,y=h in d?d[h]:"";if(fo(y)&&!p)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const x=fo(y)?y.join("/"):y;if(!x)if(b)m.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=x}}return u||"/"}return{re:a,score:n,keys:i,parse:l,stringify:s}}function VQ(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===sn.Static+sn.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===sn.Static+sn.Segment?1:-1:0}function nz(e,t){let r=0;const n=e.score,o=t.score;for(;r<n.length&&r<o.length;){const i=VQ(n[r],o[r]);if(i)return i;r++}if(Math.abs(o.length-n.length)===1){if(cR(n))return 1;if(cR(o))return-1}return o.length-n.length}function cR(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}function UQ(e,t,r){const n=Vt(jQ(WQ(e.path),r),{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function KQ(e,t){const r=[],n=new Map;t=rR(dz,t);function o(f){return n.get(f)}function i(f,m,g){const h=!g,p=uR(f);p.aliasOf=g&&g.record;const b=rR(t,f),y=[p];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of w)y.push(uR(Vt({},p,{components:g?g.record.components:p.components,path:S,aliasOf:g?g.record:p})))}let x,C;for(const w of y){const{path:S}=w;if(m&&S[0]!=="/"){const P=m.record.path,_=P[P.length-1]==="/"?"":"/";w.path=m.record.path+(S&&_+S)}if(x=UQ(w,m,b),g?g.alias.push(x):(C=C||x,C!==x&&C.alias.push(x),h&&f.name&&!fR(x)&&a(f.name)),oz(x)&&s(x),p.children){const P=p.children;for(let _=0;_<P.length;_++)i(P[_],x,g&&g.children[_])}g=g||x}return C?()=>{a(C)}:Js}function a(f){if(j4(f)){const m=n.get(f);m&&(n.delete(f),r.splice(r.indexOf(m),1),m.children.forEach(a),m.alias.forEach(a))}else{const m=r.indexOf(f);m>-1&&(r.splice(m,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function l(){return r}function s(f){const m=YQ(f,r);r.splice(m,0,f),f.record.name&&!fR(f)&&n.set(f.record.name,f)}function d(f,m){let g,h={},p,b;if("name"in f&&f.name){if(g=n.get(f.name),!g)throw mc(yr.MATCHER_NOT_FOUND,{location:f});b=g.record.name,h=Vt(dR(m.params,g.keys.filter(C=>!C.optional).concat(g.parent?g.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&dR(f.params,g.keys.map(C=>C.name))),p=g.stringify(h)}else if(f.path!=null)p=f.path,g=r.find(C=>C.re.test(p)),g&&(h=g.parse(p),b=g.record.name);else{if(g=m.name?n.get(m.name):r.find(C=>C.re.test(m.path)),!g)throw mc(yr.MATCHER_NOT_FOUND,{location:f,currentLocation:m});b=g.record.name,h=Vt({},m.params,f.params),p=g.stringify(h)}const y=[];let x=g;for(;x;)y.unshift(x.record),x=x.parent;return{name:b,path:p,params:h,matched:y,meta:GQ(y)}}e.forEach(f=>i(f));function u(){r.length=0,n.clear()}return{addRoute:i,resolve:d,removeRoute:a,clearRoutes:u,getRoutes:l,getRecordMatcher:o}}function dR(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function uR(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qQ(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function qQ(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function fR(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function GQ(e){return e.reduce((t,r)=>Vt(t,r.meta),{})}function YQ(e,t){let r=0,n=t.length;for(;r!==n;){const i=r+n>>1;nz(e,t[i])<0?n=i:r=i+1}const o=XQ(e);return o&&(n=t.lastIndexOf(o,n-1)),n}function XQ(e){let t=e;for(;t=t.parent;)if(oz(t)&&nz(e,t)===0)return t}function oz({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function hR(e){const t=He(ff),r=He(Um),n=I(()=>{const s=er(e.to);return t.resolve(s)}),o=I(()=>{const{matched:s}=n.value,{length:d}=s,u=s[d-1],f=r.matched;if(!u||!f.length)return-1;const m=f.findIndex(vc.bind(null,u));if(m>-1)return m;const g=vR(s[d-2]);return d>1&&vR(u)===g&&f[f.length-1].path!==g?f.findIndex(vc.bind(null,s[d-2])):m}),i=I(()=>o.value>-1&&QQ(r.params,n.value.params)),a=I(()=>o.value>-1&&o.value===r.matched.length-1&&W4(r.params,n.value.params));function l(s={}){if(JQ(s)){const d=t[er(e.replace)?"replace":"push"](er(e.to)).catch(Js);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:n,href:I(()=>n.value.href),isActive:i,isExactActive:a,navigate:l}}function ZQ(e){return e.length===1?e[0]:e}function JQ(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function QQ(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!fo(o)||o.length!==n.length||n.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function vR(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function mR(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}function eee(e){const t=KQ(e.routes,e),r=e.parseQuery||IQ,n=e.stringifyQuery||aR,o=e.history,i=Rd(),a=Rd(),l=Rd(),s=Rc(Oi);let d=Oi;xl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=cb.bind(null,ae=>""+ae),f=cb.bind(null,_Q),m=cb.bind(null,Fu);function g(ae,Ce){let fe,he;return j4(ae)?(fe=t.getRecordMatcher(ae),he=Ce):he=ae,t.addRoute(he,fe)}function h(ae){const Ce=t.getRecordMatcher(ae);Ce&&t.removeRoute(Ce)}function p(){return t.getRoutes().map(ae=>ae.record)}function b(ae){return!!t.getRecordMatcher(ae)}function y(ae,Ce){if(Ce=Vt({},Ce||s.value),typeof ae=="string"){const K=db(r,ae,Ce.path),ne=t.resolve({path:K.path},Ce),be=o.createHref(K.fullPath);return Vt(K,ne,{params:m(ne.params),hash:Fu(K.hash),redirectedFrom:void 0,href:be})}let fe;if(ae.path!=null)fe=Vt({},ae,{path:db(r,ae.path,Ce.path).path});else{const K=Vt({},ae.params);for(const ne in K)K[ne]==null&&delete K[ne];fe=Vt({},ae,{params:f(K)}),Ce.params=f(Ce.params)}const he=t.resolve(fe,Ce),se=ae.hash||"";he.params=u(m(he.params));const Ie=wQ(n,Vt({},ae,{hash:yQ(se),path:he.path})),F=o.createHref(Ie);return Vt({fullPath:Ie,hash:se,query:n===aR?FQ(ae.query):ae.query||{}},he,{redirectedFrom:void 0,href:F})}function x(ae){return typeof ae=="string"?db(r,ae,s.value.path):Vt({},ae)}function C(ae,Ce){if(d!==ae)return mc(yr.NAVIGATION_CANCELLED,{from:Ce,to:ae})}function w(ae){return _(ae)}function S(ae){return w(Vt(x(ae),{replace:!0}))}function P(ae,Ce){const fe=ae.matched[ae.matched.length-1];if(fe&&fe.redirect){const{redirect:he}=fe;let se=typeof he=="function"?he(ae,Ce):he;return typeof se=="string"&&(se=se.includes("?")||se.includes("#")?se=x(se):{path:se},se.params={}),Vt({query:ae.query,hash:ae.hash,params:se.path!=null?{}:ae.params},se)}}function _(ae,Ce){const fe=d=y(ae),he=s.value,se=ae.state,Ie=ae.force,F=ae.replace===!0,K=P(fe,he);if(K)return _(Vt(x(K),{state:typeof K=="object"?Vt({},se,K.state):se,force:Ie,replace:F}),Ce||fe);const ne=fe;ne.redirectedFrom=Ce;let be;return!Ie&&SQ(n,he,fe)&&(be=mc(yr.NAVIGATION_DUPLICATED,{to:ne,from:he}),le(he,he,!0,!1)),(be?Promise.resolve(be):D(ne,he)).catch(B=>Pi(B)?Pi(B,yr.NAVIGATION_GUARD_REDIRECT)?B:ke(B):Q(B,ne,he)).then(B=>{if(B){if(Pi(B,yr.NAVIGATION_GUARD_REDIRECT))return _(Vt({replace:F},x(B.to),{state:typeof B.to=="object"?Vt({},se,B.to.state):se,force:Ie}),Ce||ne)}else B=W(ne,he,!0,F,se);return M(ne,he,B),B})}function T(ae,Ce){const fe=C(ae,Ce);return fe?Promise.reject(fe):Promise.resolve()}function E(ae){const Ce=oe.values().next().value;return Ce&&typeof Ce.runWithContext=="function"?Ce.runWithContext(ae):ae()}function D(ae,Ce){let fe;const[he,se,Ie]=zQ(ae,Ce);fe=ub(he.reverse(),"beforeRouteLeave",ae,Ce);for(const K of he)K.leaveGuards.forEach(ne=>{fe.push(xa(ne,ae,Ce))});const F=T.bind(null,ae,Ce);return fe.push(F),xe(fe).then(()=>{fe=[];for(const K of i.list())fe.push(xa(K,ae,Ce));return fe.push(F),xe(fe)}).then(()=>{fe=ub(se,"beforeRouteUpdate",ae,Ce);for(const K of se)K.updateGuards.forEach(ne=>{fe.push(xa(ne,ae,Ce))});return fe.push(F),xe(fe)}).then(()=>{fe=[];for(const K of Ie)if(K.beforeEnter)if(fo(K.beforeEnter))for(const ne of K.beforeEnter)fe.push(xa(ne,ae,Ce));else fe.push(xa(K.beforeEnter,ae,Ce));return fe.push(F),xe(fe)}).then(()=>(ae.matched.forEach(K=>K.enterCallbacks={}),fe=ub(Ie,"beforeRouteEnter",ae,Ce,E),fe.push(F),xe(fe))).then(()=>{fe=[];for(const K of a.list())fe.push(xa(K,ae,Ce));return fe.push(F),xe(fe)}).catch(K=>Pi(K,yr.NAVIGATION_CANCELLED)?K:Promise.reject(K))}function M(ae,Ce,fe){l.list().forEach(he=>E(()=>he(ae,Ce,fe)))}function W(ae,Ce,fe,he,se){const Ie=C(ae,Ce);if(Ie)return Ie;const F=Ce===Oi,K=xl?history.state:{};fe&&(he||F?o.replace(ae.fullPath,Vt({scroll:F&&K&&K.scroll},se)):o.push(ae.fullPath,se)),s.value=ae,le(ae,Ce,fe,F),ke()}let L;function H(){L||(L=o.listen((ae,Ce,fe)=>{if(!ie.listening)return;const he=y(ae),se=P(he,ie.currentRoute.value);if(se){_(Vt(se,{replace:!0,force:!0}),he).catch(Js);return}d=he;const Ie=s.value;xl&&OQ(iR(Ie.fullPath,fe.delta),uf()),D(he,Ie).catch(F=>Pi(F,yr.NAVIGATION_ABORTED|yr.NAVIGATION_CANCELLED)?F:Pi(F,yr.NAVIGATION_GUARD_REDIRECT)?(_(Vt(x(F.to),{force:!0}),he).then(K=>{Pi(K,yr.NAVIGATION_ABORTED|yr.NAVIGATION_DUPLICATED)&&!fe.delta&&fe.type===sm.pop&&o.go(-1,!1)}).catch(Js),Promise.reject()):(fe.delta&&o.go(-fe.delta,!1),Q(F,he,Ie))).then(F=>{F=F||W(he,Ie,!1),F&&(fe.delta&&!Pi(F,yr.NAVIGATION_CANCELLED)?o.go(-fe.delta,!1):fe.type===sm.pop&&Pi(F,yr.NAVIGATION_ABORTED|yr.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(he,Ie,F)}).catch(Js)}))}let V=Rd(),G=Rd(),J;function Q(ae,Ce,fe){ke(ae);const he=G.list();return he.length?he.forEach(se=>se(ae,Ce,fe)):console.error(ae),Promise.reject(ae)}function de(){return J&&s.value!==Oi?Promise.resolve():new Promise((ae,Ce)=>{V.add([ae,Ce])})}function ke(ae){return J||(J=!ae,H(),V.list().forEach(([Ce,fe])=>ae?fe(ae):Ce()),V.reset()),ae}function le(ae,Ce,fe,he){const{scrollBehavior:se}=e;if(!xl||!se)return Promise.resolve();const Ie=!fe&&AQ(iR(ae.fullPath,0))||(he||!fe)&&history.state&&history.state.scroll||null;return Lt().then(()=>se(ae,Ce,Ie)).then(F=>F&&EQ(F)).catch(F=>Q(F,ae,Ce))}const ye=ae=>o.go(ae);let ue;const oe=new Set,ie={currentRoute:s,listening:!0,addRoute:g,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:p,resolve:y,options:e,push:w,replace:S,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:G.add,isReady:de,install(ae){ae.component("RouterLink",uz),ae.component("RouterView",fz),ae.config.globalProperties.$router=ie,Object.defineProperty(ae.config.globalProperties,"$route",{enumerable:!0,get:()=>er(s)}),xl&&!ue&&s.value===Oi&&(ue=!0,w(o.location).catch(he=>{}));const Ce={};for(const he in Oi)Object.defineProperty(Ce,he,{get:()=>s.value[he],enumerable:!0});ae.provide(ff,ie),ae.provide(Um,x_(Ce)),ae.provide(dm,s);const fe=ae.unmount;oe.add(ae),ae.unmount=function(){oe.delete(ae),oe.size<1&&(d=Oi,L&&L(),L=null,s.value=Oi,ue=!1,J=!1),fe()}}};function xe(ae){return ae.reduce((Ce,fe)=>Ce.then(()=>E(fe)),Promise.resolve())}return ie}function tee(){return He(ff)}function ree(e){return He(Um)}var iz,_a,Dr,az,lz,tx,sz,sn,cz,dz,uz,fb,pR,fz,u1=c((()=>{DQ(),Y(),iz=()=>location.protocol+"//"+location.host,_a=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({}),Dr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Dr||{}),az={type:_a.Static,value:""},lz=/[a-zA-Z0-9_]/,tx="[^/]+?",sz={sensitive:!1,strict:!1,start:!0,end:!0},sn=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(sn||{}),cz=/[.+*?^${}()[\]/\\]/g,dz={strict:!1,end:!0,sensitive:!1},uz=Re({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:hR,setup(e,{slots:t}){const r=ui(hR(e)),{options:n}=He(ff),o=I(()=>({[fb(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[fb(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&ZQ(t.default(r));return e.custom?i:v("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},i)}}}),fb=(e,t,r)=>e??t??r,pR=Re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=He(dm),o=I(()=>e.route||n.value),i=He(ex,0),a=I(()=>{let d=er(i);const{matched:u}=o.value;let f;for(;(f=u[d])&&!f.components;)d++;return d}),l=I(()=>o.value.matched[a.value]);dt(ex,I(()=>a.value+1)),dt(tz,l),dt(dm,o);const s=q();return nt(()=>[s.value,l.value,e.name],([d,u,f],[m,g,h])=>{u&&(u.instances[f]=d,g&&g!==u&&d&&d===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!vc(u,g)||!m)&&(u.enterCallbacks[f]||[]).forEach(p=>p(d))},{flush:"post"}),()=>{const d=o.value,u=e.name,f=l.value,m=f&&f.components[u];if(!m)return mR(r.default,{Component:m,route:d});const g=f.props[u],h=g?g===!0?d.params:typeof g=="function"?g(d):g:null,b=v(m,Vt({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:s}));return mR(r.default,{Component:b,route:d})||b}}}),fz=pR}));function nee(){return typeof window<"u"&&window.hermesDesktop?.isDesktop===!0}async function hz(){if(typeof window>"u"||Zl())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function vz(){return nee()?nx:localStorage.getItem("hermes_server_url")||nx}function Zl(){return localStorage.getItem("hermes_api_key")||""}function fwe(e){localStorage.setItem("hermes_api_key",e)}function oee(){localStorage.removeItem("hermes_api_key")}function gR(){oee(),localStorage.removeItem(f1)}function zu(){return!!Zl()}function iee(){const e=Zl().split(".")[1];if(!e)return null;try{const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"="),n=JSON.parse(atob(r));return n.role==="super_admin"||n.role==="admin"?n.role:null}catch{return null}}function aee(){return iee()==="super_admin"}function hwe(){const e=Zl().split(".")[1];if(!e)return null;try{const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"="),n=JSON.parse(atob(r));return typeof n.username=="string"&&n.username.length>0?n.username:null}catch{return null}}function vwe(){const e=Zl().split(".")[1];if(!e)return null;try{const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"="),n=JSON.parse(atob(r)),o=Number(n.sub);return Number.isInteger(o)&&o>0?o:null}catch{return null}}function lee(){return localStorage.getItem(f1)}function see(e){if(typeof e!="string")return!1;try{const t=JSON.parse(e);return typeof t?.profile=="string"&&t.profile.trim().length>0}catch{return!1}}function cee(e,t){try{const r=new URL(e,"http://hermes.local");if(r.searchParams.has("profile")||r.pathname.startsWith("/api/hermes/profiles")||r.pathname.startsWith("/api/theme")||bR(r.pathname))return!1}catch{if(e.startsWith("/api/hermes/profiles")||e.startsWith("/api/theme")||bR(e.split("?")[0]||e))return!1}return!see(t.body)}function bR(e){return e==="/api/hermes/sessions"||e==="/api/hermes/sessions/batch-delete"||e==="/api/hermes/search/sessions"||e==="/api/hermes/sessions/search"||e==="/api/hermes/sessions/conversations"}function hb(e){typeof window>"u"||window.dispatchEvent(new CustomEvent("hermes-auth-notice",{detail:{kind:e}}))}function rx(e){if(typeof e=="string")return e;if(e==null)return"";if(typeof e!="object")return String(e);const t=e;for(const r of["message","error","detail","description"]){const n=rx(t[r]);if(n)return n}if(Array.isArray(e))return e.map(rx).filter(Boolean).join(`
5
- `);try{return JSON.stringify(e)}catch{return String(e)}}function dee(e,t){const r=e.trim();if(!r)return t;try{return rx(JSON.parse(r))||r}catch{return r}}async function Yt(e,t={}){await hz();const r=`${vz()}${e}`,n={...typeof FormData<"u"&&t.body instanceof FormData?{}:{"Content-Type":"application/json"},...t.headers},o=Zl();o&&(n.Authorization=`Bearer ${o}`);const i=lee();i&&cee(e,t)&&(n["X-Hermes-Profile"]=i);const a=await fetch(r,{...t,headers:n}),l=!e.startsWith("/api/hermes/v1/")&&!e.startsWith("/v1/");if(a.status===401&&l)throw gR(),hb("expired"),Vi.currentRoute.value.name!=="login"&&Vi.replace({name:"login"}),new Error("Unauthorized");if(!a.ok){const s=await a.text().catch(()=>"");throw a.status===403&&l&&(s.includes("User is disabled or does not exist")?(gR(),hb("expired"),Vi.currentRoute.value.name!=="login"&&Vi.replace({name:"login"})):hb("forbidden")),new Error(`API Error ${a.status}: ${dee(s,a.statusText)}`)}return a.json()}function uee(){return vz()}var nx,f1,Km=c((()=>{gz(),nx="",f1="hermes_active_profile_name"}));function Pl(){return window.hermesDesktop}function fee(){const e=Pl(),t=e?.browser;return e?.isDesktop===!0&&!!t&&mz.every(r=>typeof t[r]=="function")}function mwe(){return Pl()?.isDesktop===!0}var mz,h1=c((()=>{mz=["getState","setViewport","createTab","closeTab","activateTab","navigate","navigationAction","createProfile","chooseProfileRootDirectory","renameProfile","profileSwitchImpact","switchProfile","updateProfile","deleteProfile","clearProfileData","cancelDownload","takeOver","annotate","cancelAnnotation","updateAnnotationNote","captureAnnotations","clearAnnotations","onAnnotationRequest","onStateChange"]}));function hee(e){const t=typeof e=="string"?e:"";return t.startsWith("/")&&!t.startsWith("//")?t:pz}var pz,vee=c((()=>{pz="/hermes/chat"})),yR,xR,vb,it,qm=c((()=>{yR="modulepreload",xR=function(e){return"/"+e},vb={},it=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let d=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");o=d(r.map(u=>{if(u=xR(u,n),u in vb)return;vb[u]=!0;const f=u.endsWith(".css"),m=f?'[rel="stylesheet"]':"";if(n)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===u&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${m}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":yR,f||(g.as="script"),g.crossOrigin="",g.href=u,s&&g.setAttribute("nonce",s),document.head.appendChild(g),f)return new Promise((h,p)=>{g.addEventListener("load",h),g.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})}}));async function mee(){if(zu())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function pee(){return window.hermesDesktop?.isDesktop===!0}var Vi,gz=c((()=>{u1(),Km(),h1(),vee(),qm(),Vi=eee({history:HQ(),routes:[{path:"/desktop-pet",name:"desktop.pet",component:()=>it(()=>import("./DesktopPetView-DWq4EiRU.js"),__vite__mapDeps([0,1,2,3,4,5,6])),meta:{public:!0}},{path:"/",name:"login",component:()=>it(()=>import("./LoginView-BpYyv831.js"),__vite__mapDeps([7,8,9])),meta:{public:!0}},{path:"/share/group-chat/:inviteCode?",name:"share.groupChat",component:()=>it(()=>import("./SharedGroupChatView-CTYjqWcO.js"),__vite__mapDeps([10,11,12,13,14,8,15,2,16,17,18,19,4,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),meta:{public:!0,standaloneChat:!0,inviteOnly:!0}},{path:"/group-chat-link",name:"groupChat.link",component:()=>it(()=>import("./GroupChatLinkView-CNrV8lnT.js"),__vite__mapDeps([40,11,12,16,13,4,36,22,41])),meta:{standaloneChat:!0}},{path:"/hermes/chat",name:"hermes.chat",component:()=>it(()=>import("./ChatView-B68k_-D9.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58]))},{path:"/hermes/session/:sessionId",name:"hermes.session",component:()=>it(()=>import("./ChatView-B68k_-D9.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58]))},{path:"/desktop-chat/:sessionId",name:"desktop.chat",component:()=>it(()=>import("./ChatView-B68k_-D9.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58])),meta:{standaloneChat:!0}},{path:"/hermes/history",name:"hermes.history",component:()=>it(()=>import("./HistoryView-Bpr8N2lC.js"),__vite__mapDeps([59,17,15,2,16,18,19,4,20,30,31,60,26,27,47,11,12,24,25,28,21,29,32,48,61,50,51,62,63,56,64]))},{path:"/hermes/history/session/:sessionId",name:"hermes.historySession",component:()=>it(()=>import("./HistoryView-Bpr8N2lC.js"),__vite__mapDeps([59,17,15,2,16,18,19,4,20,30,31,60,26,27,47,11,12,24,25,28,21,29,32,48,61,50,51,62,63,56,64]))},{path:"/hermes/global-agent",name:"hermes.globalAgent",component:()=>it(()=>import("./GlobalAgentView-JZsss0gx.js"),__vite__mapDeps([65,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,66]))},{path:"/hermes/global-agent/session/:sessionId",name:"hermes.globalAgentSession",component:()=>it(()=>import("./GlobalAgentView-JZsss0gx.js"),__vite__mapDeps([65,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,66]))},{path:"/hermes/jobs",name:"hermes.jobs",component:()=>it(()=>import("./JobsView-CZK26gTw.js"),__vite__mapDeps([67,4,45,68]))},{path:"/hermes/kanban",name:"hermes.kanban",component:()=>it(()=>import("./KanbanView-B7d-2_z9.js"),__vite__mapDeps([69,11,12,70,71,17,28,21,2,29,4,45,60,26,27,15,16,18,19,20,47,24,25,32,48,61,72,37,73,74]))},{path:"/hermes/workflow",name:"hermes.workflow",component:()=>it(()=>import("./WorkflowView-DmBOhSuq.js"),__vite__mapDeps([75,11,12,70,71,16,17,15,2,18,19,4,20,28,21,29,30,31,44,26,27,45,46,32,33,25,34,47,24,48,35,49,76,62,63,36,77]))},{path:"/hermes/models",name:"hermes.models",component:()=>it(()=>import("./ModelsView-DiWdSWOW.js"),__vite__mapDeps([78,15,2,16,17,18,19,4,20,46,32,79,25,80]))},{path:"/hermes/profiles",name:"hermes.profiles",component:()=>it(()=>import("./ProfilesView-C-FSiKMU.js"),__vite__mapDeps([81,11,12,4,82])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/logs",name:"hermes.logs",component:()=>it(()=>import("./LogsView-CabFHk0v.js"),__vite__mapDeps([83,84]))},{path:"/hermes/usage",name:"hermes.usage",component:()=>it(()=>import("./UsageView-ByGCsw7o.js"),__vite__mapDeps([85,17,4,86]))},{path:"/hermes/performance",name:"hermes.performance",component:()=>it(()=>import("./PerformanceView-LrZaED_Z.js"),__vite__mapDeps([87,88])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/journey",name:"hermes.journey",component:()=>it(()=>import("./JourneyView-BPUsLj4o.js"),__vite__mapDeps([89,70,71,4,45,90]))},{path:"/hermes/skills-usage",name:"hermes.skillsUsage",component:()=>it(()=>import("./SkillsUsageView-BqZ3GtfT.js"),__vite__mapDeps([91,4,45,92]))},{path:"/hermes/skills",name:"hermes.skills",component:()=>it(()=>import("./SkillsView-Bhla7821.js"),__vite__mapDeps([93,4,45,94]))},{path:"/hermes/plugins",name:"hermes.plugins",component:()=>it(()=>import("./PluginsView-CbtdIGlq.js"),__vite__mapDeps([95,4,96]))},{path:"/hermes/petdex",name:"hermes.petdex",component:()=>it(()=>import("./PetdexView-Bv8RioGL.js"),__vite__mapDeps([97,3,98]))},{path:"/hermes/memory",name:"hermes.memory",component:()=>it(()=>import("./MemoryView-QGFW4iZo.js"),__vite__mapDeps([99,4,45,100]))},{path:"/hermes/settings",name:"hermes.settings",component:()=>it(()=>import("./SettingsView-DbNJroV3.js"),__vite__mapDeps([101,11,12,8,18,4,102,103,79,56,35,20,104]))},{path:"/hermes/theme",name:"hermes.theme",component:()=>it(()=>import("./ThemeView-Cx3ucIus.js"),__vite__mapDeps([105,106]))},{path:"/hermes/channels",name:"hermes.channels",component:()=>it(()=>import("./ChannelsView-hdAXa1hf.js"),__vite__mapDeps([107,18,4,102,103,108]))},{path:"/hermes/terminal",name:"hermes.terminal",component:()=>it(()=>import("./TerminalView-BID7fupB.js"),__vite__mapDeps([109,53,54,110])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/devices",name:"hermes.devices",component:()=>it(()=>import("./DevicesView-BFtrfqJs.js"),__vite__mapDeps([111,25,112])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/group-chat",name:"hermes.groupChat",component:()=>it(()=>import("./GroupChatView-BlMUD1MW.js"),__vite__mapDeps([113,18,14,8,15,2,16,17,19,4,20,21,22,23,11,12,24,25,26,27,28,29,13,30,31,32,33,34,35,36,37,38,114]))},{path:"/hermes/group-chat/room/:roomId",name:"hermes.groupChatRoom",component:()=>it(()=>import("./GroupChatView-BlMUD1MW.js"),__vite__mapDeps([113,18,14,8,15,2,16,17,19,4,20,21,22,23,11,12,24,25,26,27,28,29,13,30,31,32,33,34,35,36,37,38,114]))},{path:"/hermes/files",name:"hermes.files",component:()=>it(()=>import("./FilesView-iKZu70E9.js"),__vite__mapDeps([115,28,17,21,2,29,4,116,19,25,117,118]))},{path:"/hermes/coding-agents",name:"hermes.codingAgents",component:()=>it(()=>import("./CodingAgentsView-CsIjwbXR.js"),__vite__mapDeps([119,16,4,52,53,54,55,36,120]))},{path:"/hermes/version-preview",name:"hermes.versionPreview",component:()=>it(()=>import("./VersionPreviewView-DiAK1ind.js"),__vite__mapDeps([121,122])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/mcp",name:"hermes.mcp",component:()=>it(()=>import("./McpManagerView-C-ou8vf3.js"),__vite__mapDeps([123,124]))}]}),fee()&&Vi.addRoute({path:"/hermes/browser",name:"hermes.browser",component:()=>it(()=>import("./DesktopBrowserView-JukL0QuS.js"),__vite__mapDeps([125,126]))}),Vi.beforeEach(async(e,t,r)=>{if(await mee(),e.meta.public){if(e.name==="login"&&zu()&&!pee()){r(hee(e.query.redirect));return}r();return}if(!zu()){r({name:"login",query:{redirect:e.fullPath}});return}if(e.meta.requiresSuperAdmin&&!aee()){r({name:"hermes.chat"});return}r()})}));function gee(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}function CR(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function bee(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function v1(e){return yz.test(e)}function yee(e){const t=/url\s*\(/gi;let r="",n=0,o;for(;(o=t.exec(e))!==null;){const i=o.index,a=t.lastIndex-1;let l=a+1,s=1,d=null;for(;l<e.length;l++){const m=e[l];if(d){m===d&&(d=null);continue}if(m==='"'||m==="'")d=m;else if(m==="(")s++;else if(m===")"&&(s--,s===0))break}if(s!==0)break;const u=e.slice(a+1,l).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;r+=e.slice(n,i),r+=v1(f)?"url(about:blank)":e.slice(i,l+1),n=l+1}return r+e.slice(n)}function _R(e,t){return xz.test(e)&&v1(t)?"about:blank":bee(e.toLowerCase()==="style"?yee(t):t)}function xee(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,r,n)=>`${r}="${_R(r,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,r,n)=>`${r}='${_R(r,n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(t,r,n)=>v1(n)?`${r}about:blank`:t),e}function ao(e,t){return Cz.call(e,t)}function m1(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function Tv(e,t){if(Gd(e)||Gd(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(i=>{i!=="__proto__"&&(Bt(n[i])&&!Bt(o[i])&&(o[i]=Array.isArray(n[i])?[]:Zt()),Gd(o[i])||Gd(n[i])?o[i]=n[i]:r.push({src:n[i],des:o[i]}))})}}var Du,ri,bz,wR,Ar,p1,Bl,hf,Mr,SR,Zt,PR,wa,yz,xz,Cz,xr,mr,Qe,zt,Bt,_z,mb,Gh,Mt,wz,Gd,g1=c((()=>{Du=typeof window<"u",ri=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bz=(e,t,r)=>wR({l:e,k:t,s:r}),wR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ar=e=>typeof e=="number"&&isFinite(e),p1=e=>Gh(e)==="[object Date]",Bl=e=>Gh(e)==="[object RegExp]",hf=e=>Mt(e)&&Object.keys(e).length===0,Mr=Object.assign,SR=Object.create,Zt=(e=null)=>SR(e),wa=()=>PR||(PR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Zt()),yz=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,xz=/^(?:href|src|action|formaction)$/i,Cz=Object.prototype.hasOwnProperty,xr=Array.isArray,mr=e=>typeof e=="function",Qe=e=>typeof e=="string",zt=e=>typeof e=="boolean",Bt=e=>e!==null&&typeof e=="object",_z=e=>Bt(e)&&mr(e.then)&&mr(e.catch),mb=Object.prototype.toString,Gh=e=>mb.call(e),Mt=e=>Gh(e)==="[object Object]",wz=e=>e==null?"":xr(e)||Mt(e)&&e.toString===mb?JSON.stringify(e,null,2):String(e),Gd=e=>!Bt(e)||xr(e)}));function Cee(e,t,r){return{line:e,column:t,offset:r}}function ox(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}function Gm(e,t,r={}){const{domain:n,messages:o,args:i}=r,a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=n,a}function _ee(e){throw e}function wee(e){const t=e;let r=0,n=1,o=1,i=0;const a=_=>t[_]===Sz&&t[_+1]===Qr,l=_=>t[_]===Qr,s=_=>t[_]===kz,d=_=>t[_]===Pz,u=_=>a(_)||l(_)||s(_)||d(_),f=()=>r,m=()=>n,g=()=>o,h=()=>i,p=_=>a(_)||s(_)||d(_)?Qr:t[_],b=()=>p(r),y=()=>p(r+i);function x(){return i=0,u(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function C(){return a(r+i)&&i++,i++,t[r+i]}function w(){r=0,n=1,o=1,i=0}function S(_=0){i=_}function P(){const _=r+i;for(;_!==r;)x();i=0}return{index:f,line:m,column:g,peekOffset:h,charAt:p,currentChar:b,currentPeek:y,next:x,peek:C,reset:w,resetPeek:S,skipToPeek:P}}function See(e,t={}){const r=t.location!==!1,n=wee(e),o=()=>n.index(),i=()=>Cee(n.line(),n.column(),n.index()),a=i(),l=o(),s={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},d=()=>s,{onError:u}=t;function f(R,O,Z,...re){const X=d();O.column+=Z,O.offset+=Z,u&&u(Gm(R,r?ox(X.startLoc,O):null,{domain:$z,args:re}))}function m(R,O,Z){R.endLoc=i(),R.currentType=O;const re={type:O};return r&&(re.loc=ox(R.startLoc,R.endLoc)),Z!=null&&(re.value=Z),re}const g=R=>m(R,13);function h(R,O){return R.currentChar()===O?(R.next(),O):(f(mt.EXPECTED_TOKEN,i(),0,O),"")}function p(R){let O="";for(;R.currentPeek()===To||R.currentPeek()===Qr;)O+=R.currentPeek(),R.peek();return O}function b(R){const O=p(R);return R.skipToPeek(),O}function y(R){if(R===Ai)return!1;const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O===95}function x(R){if(R===Ai)return!1;const O=R.charCodeAt(0);return O>=48&&O<=57}function C(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=y(R.currentPeek());return R.resetPeek(),re}function w(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=x(R.currentPeek()==="-"?R.peek():R.currentPeek());return R.resetPeek(),re}function S(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=R.currentPeek()===ix;return R.resetPeek(),re}function P(R,O){const{currentType:Z}=O;if(Z!==7)return!1;p(R);const re=R.currentPeek()===".";return R.resetPeek(),re}function _(R,O){const{currentType:Z}=O;if(Z!==8)return!1;p(R);const re=y(R.currentPeek());return R.resetPeek(),re}function T(R,O){const{currentType:Z}=O;if(!(Z===7||Z===11))return!1;p(R);const re=R.currentPeek()===":";return R.resetPeek(),re}function E(R,O){const{currentType:Z}=O;if(Z!==9)return!1;const re=()=>{const U=R.currentPeek();return U==="{"?y(R.peek()):U==="@"||U==="|"||U===":"||U==="."||U===To||!U?!1:U===Qr?(R.peek(),re()):M(R,!1)},X=re();return R.resetPeek(),X}function D(R){p(R);const O=R.currentPeek()==="|";return R.resetPeek(),O}function M(R,O=!0){const Z=(X=!1,U="")=>{const $=R.currentPeek();return $==="{"||$==="@"||!$?X:$==="|"?!(U===To||U===Qr):$===To?(R.peek(),Z(!0,To)):$===Qr?(R.peek(),Z(!0,Qr)):!0},re=Z();return O&&R.resetPeek(),re}function W(R,O){const Z=R.currentChar();if(Z!==Ai)return O(Z)?(R.next(),Z):null}function L(R){const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36}function H(R){return W(R,L)}function V(R){const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36||O===45}function G(R){return W(R,V)}function J(R){const O=R.charCodeAt(0);return O>=48&&O<=57}function Q(R){return W(R,J)}function de(R){const O=R.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}function ke(R){return W(R,de)}function le(R){let O="",Z="";for(;O=Q(R);)Z+=O;return Z}function ye(R){let O="";for(;;){const Z=R.currentChar();if(Z==="\\"){const re=R.peek();re==="{"||re==="}"||re==="@"||re==="|"||re==="\\"?(O+=Z+re,R.next(),R.next()):(R.resetPeek(),O+=Z,R.next())}else{if(Z==="{"||Z==="}"||Z==="@"||Z==="|"||!Z)break;if(Z===To||Z===Qr)if(M(R))O+=Z,R.next();else{if(D(R))break;O+=Z,R.next()}else O+=Z,R.next()}}return O}function ue(R){b(R);let O="",Z="";for(;O=G(R);)Z+=O;const re=R.currentChar();if(re&&re!=="}"&&re!==Ai&&re!==To&&re!==Qr&&re!==" "){const X=he(R);return f(mt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z+X),Z+X}return R.currentChar()===Ai&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z}function oe(R){b(R);let O="";return R.currentChar()==="-"?(R.next(),O+=`-${le(R)}`):O+=le(R),R.currentChar()===Ai&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),O}function ie(R){return R!==ix&&R!==Qr}function xe(R){b(R),h(R,"'");let O="",Z="";for(;O=W(R,ie);)O==="\\"?Z+=ae(R):Z+=O;const re=R.currentChar();return re===Qr||re===Ai?(f(mt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),re===Qr&&(R.next(),h(R,"'")),Z):(h(R,"'"),Z)}function ae(R){const O=R.currentChar();switch(O){case"\\":case"'":return R.next(),`\\${O}`;case"u":return Ce(R,O,4);case"U":return Ce(R,O,6);default:return f(mt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,O),""}}function Ce(R,O,Z){h(R,O);let re="";for(let X=0;X<Z;X++){const U=ke(R);if(!U){f(mt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${O}${re}${R.currentChar()}`);break}re+=U}return`\\${O}${re}`}function fe(R){return R!=="{"&&R!=="}"&&R!==To&&R!==Qr}function he(R){b(R);let O="",Z="";for(;O=W(R,fe);)Z+=O;return Z}function se(R){let O="",Z="";for(;O=H(R);)Z+=O;return Z}function Ie(R){const O=Z=>{const re=R.currentChar();return re==="{"||re==="@"||re==="|"||re==="("||re===")"||!re||re===To?Z:(Z+=re,R.next(),O(Z))};return O("")}function F(R){b(R);const O=h(R,"|");return b(R),O}function K(R,O){let Z=null;switch(R.currentChar()){case"{":return O.braceNest>=1&&f(mt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),R.next(),Z=m(O,2,"{"),b(R),O.braceNest++,Z;case"}":return O.braceNest>0&&O.currentType===2&&f(mt.EMPTY_PLACEHOLDER,i(),0),R.next(),Z=m(O,3,"}"),O.braceNest--,O.braceNest>0&&b(R),O.inLinked&&O.braceNest===0&&(O.inLinked=!1),Z;case"@":return O.braceNest>0&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z=ne(R,O)||g(O),O.braceNest=0,Z;default:{let re=!0,X=!0,U=!0;if(D(R))return O.braceNest>0&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,Z;if(O.braceNest>0&&(O.currentType===4||O.currentType===5||O.currentType===6))return f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),O.braceNest=0,be(R,O);if(re=C(R,O))return Z=m(O,4,ue(R)),b(R),Z;if(X=w(R,O))return Z=m(O,5,oe(R)),b(R),Z;if(U=S(R,O))return Z=m(O,6,xe(R)),b(R),Z;if(!re&&!X&&!U)return Z=m(O,12,he(R)),f(mt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z.value),b(R),Z;break}}return Z}function ne(R,O){const{currentType:Z}=O;let re=null;const X=R.currentChar();switch((Z===7||Z===8||Z===11||Z===9)&&(X===Qr||X===To)&&f(mt.INVALID_LINKED_FORMAT,i(),0),X){case"@":return R.next(),re=m(O,7,"@"),O.inLinked=!0,re;case".":return b(R),R.next(),m(O,8,".");case":":return b(R),R.next(),m(O,9,":");default:return D(R)?(re=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,re):P(R,O)||T(R,O)?(b(R),ne(R,O)):_(R,O)?(b(R),m(O,11,se(R))):E(R,O)?(b(R),X==="{"?K(R,O)||re:m(O,10,Ie(R))):(Z===7&&f(mt.INVALID_LINKED_FORMAT,i(),0),O.braceNest=0,O.inLinked=!1,be(R,O))}}function be(R,O){let Z={type:13};if(O.braceNest>0)return K(R,O)||g(O);if(O.inLinked)return ne(R,O)||g(O);switch(R.currentChar()){case"{":return K(R,O)||g(O);case"}":return f(mt.UNBALANCED_CLOSING_BRACE,i(),0),R.next(),m(O,3,"}");case"@":return ne(R,O)||g(O);default:if(D(R))return Z=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,Z;if(M(R))return m(O,0,ye(R));break}return Z}function B(){const{currentType:R,offset:O,startLoc:Z,endLoc:re}=s;return s.lastType=R,s.lastOffset=O,s.lastStartLoc=Z,s.lastEndLoc=re,s.offset=o(),s.startLoc=i(),n.currentChar()===Ai?m(s,13):be(n,s)}return{nextToken:B,currentOffset:o,currentPosition:i,context:d}}function Pee(e,t){return t}function kee(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Ree(e={}){const t=e.location!==!1,{onError:r}=e;function n(y,x,C,w,...S){const P=y.currentPosition();P.offset+=w,P.column+=w,r&&r(Gm(x,t?ox(C,P):null,{domain:Tz,args:S}))}function o(y,x,C){const w={type:y};return t&&(w.start=x,w.end=x,w.loc={start:C,end:C}),w}function i(y,x,C,w){t&&(y.end=x,y.loc&&(y.loc.end=C))}function a(y,x){const C=y.context(),w=o(3,C.offset,C.startLoc);return w.value=x.replace(Oz,Pee),i(w,y.currentOffset(),y.currentPosition()),w}function l(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(5,C,w);return S.index=parseInt(x,10),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function s(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(4,C,w);return S.key=x,y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function d(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(9,C,w);return S.value=x.replace(Ez,kee),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function u(y){const x=y.nextToken(),C=y.context(),{lastOffset:w,lastStartLoc:S}=C,P=o(8,w,S);return x.type!==11?(n(y,mt.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),P.value="",i(P,w,S),{nextConsumeToken:x,node:P}):(x.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Jo(x)),P.value=x.value||"",i(P,y.currentOffset(),y.currentPosition()),{node:P})}function f(y,x){const C=y.context(),w=o(7,C.offset,C.startLoc);return w.value=x,i(w,y.currentOffset(),y.currentPosition()),w}function m(y){const x=y.context(),C=o(6,x.offset,x.startLoc);let w=y.nextToken();if(w.type===8){const S=u(y);C.modifier=S.node,w=S.nextConsumeToken||y.nextToken()}switch(w.type!==9&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),w=y.nextToken(),w.type===2&&(w=y.nextToken()),w.type){case 10:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=f(y,w.value||"");break;case 4:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=s(y,w.value||"");break;case 5:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=l(y,w.value||"");break;case 6:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=d(y,w.value||"");break;default:{n(y,mt.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const S=y.context(),P=o(7,S.offset,S.startLoc);return P.value="",i(P,S.offset,S.startLoc),C.key=P,i(C,S.offset,S.startLoc),{nextConsumeToken:w,node:C}}}return i(C,y.currentOffset(),y.currentPosition()),{node:C}}function g(y){const x=y.context(),C=o(2,x.currentType===1?y.currentOffset():x.offset,x.currentType===1?x.endLoc:x.startLoc);C.items=[];let w=null;do{const S=w||y.nextToken();switch(w=null,S.type){case 0:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(a(y,S.value||""));break;case 5:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(l(y,S.value||""));break;case 4:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(s(y,S.value||""));break;case 6:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(d(y,S.value||""));break;case 7:{const P=m(y);C.items.push(P.node),w=P.nextConsumeToken||null;break}}}while(x.currentType!==13&&x.currentType!==1);return i(C,x.currentType===1?x.lastOffset:y.currentOffset(),x.currentType===1?x.lastEndLoc:y.currentPosition()),C}function h(y,x,C,w){const S=y.context();let P=w.items.length===0;const _=o(1,x,C);_.cases=[],_.cases.push(w);do{const T=g(y);P||(P=T.items.length===0),_.cases.push(T)}while(S.currentType!==13);return P&&n(y,mt.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),i(_,y.currentOffset(),y.currentPosition()),_}function p(y){const x=y.context(),{offset:C,startLoc:w}=x,S=g(y);return x.currentType===13?S:h(y,C,w,S)}function b(y){const x=See(y,Mr({},e)),C=x.context(),w=o(0,C.offset,C.startLoc);return t&&w.loc&&(w.loc.source=y),w.body=p(x),e.onCacheKey&&(w.cacheKey=e.onCacheKey(y)),C.currentType!==13&&n(x,mt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,y[C.offset]||""),i(w,x.currentOffset(),x.currentPosition()),w}return{parse:b}}function Jo(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function $ee(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:i=>(r.helpers.add(i),i)}}function kR(e,t){for(let r=0;r<e.length;r++)b1(e[r],t)}function b1(e,t){switch(e.type){case 1:kR(e.cases,t),t.helper("plural");break;case 2:kR(e.items,t);break;case 6:b1(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Tee(e,t={}){const r=$ee(e);r.helper("normalize"),e.body&&b1(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function Eee(e){const t=e.body;return t.type===2?RR(t):t.cases.forEach(r=>RR(r)),e}function RR(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const n=e.items[r];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=m1(t);for(let r=0;r<e.items.length;r++){const n=e.items[r];(n.type===3||n.type===9)&&delete n.value}}}}function zs(e){switch(e.t=e.type,e.type){case 0:{const t=e;zs(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let n=0;n<r.length;n++)zs(r[n]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let n=0;n<r.length;n++)zs(r[n]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;zs(t.key),t.k=t.key,delete t.key,t.modifier&&(zs(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:}delete e.type}function Oee(e,t){const{filename:r,breakLineCode:n,needIndent:o}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function s(p,b){a.code+=p}function d(p,b=!0){const y=b?n:"";s(o?y+" ".repeat(p):y)}function u(p=!0){const b=++a.indentLevel;p&&d(b)}function f(p=!0){const b=--a.indentLevel;p&&d(b)}function m(){d(a.indentLevel)}return{context:l,push:s,indent:u,deindent:f,newline:m,helper:p=>`_${p}`,needIndent:()=>a.needIndent}}function Aee(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),pc(e,t.key),t.modifier?(e.push(", "),pc(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Mee(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let i=0;i<o&&(pc(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}function Iee(e,t){const{helper:r,needIndent:n}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let i=0;i<o&&(pc(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}}function Fee(e,t){t.body?pc(e,t.body):e.push("null")}function pc(e,t){const{helper:r}=e;switch(t.type){case 0:Fee(e,t);break;case 1:Iee(e,t);break;case 2:Mee(e,t);break;case 6:Aee(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:}}function zee(e,t={}){const r=Mr({},t),n=!!r.jit,o=!!r.minify,i=r.optimize==null?!0:r.optimize,a=Ree(r).parse(e);return n?(i&&Eee(a),o&&zs(a),{ast:a,code:""}):(Tee(a,r),Az(a,r))}var mt,Dee,To,Sz,Qr,Pz,kz,Ai,Rz,ix,$z,Tz,Ez,Oz,Az,Lee=c((()=>{g1(),mt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Dee={[mt.EXPECTED_TOKEN]:"Expected token: '{0}'",[mt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[mt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[mt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[mt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[mt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[mt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[mt.EMPTY_PLACEHOLDER]:"Empty placeholder",[mt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[mt.INVALID_LINKED_FORMAT]:"Invalid linked format",[mt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[mt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[mt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[mt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[mt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[mt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"},To=" ",Sz="\r",Qr=`
5
+ `);try{return JSON.stringify(e)}catch{return String(e)}}function dee(e,t){const r=e.trim();if(!r)return t;try{return rx(JSON.parse(r))||r}catch{return r}}async function Yt(e,t={}){await hz();const r=`${vz()}${e}`,n={...typeof FormData<"u"&&t.body instanceof FormData?{}:{"Content-Type":"application/json"},...t.headers},o=Zl();o&&(n.Authorization=`Bearer ${o}`);const i=lee();i&&cee(e,t)&&(n["X-Hermes-Profile"]=i);const a=await fetch(r,{...t,headers:n}),l=!e.startsWith("/api/hermes/v1/")&&!e.startsWith("/v1/");if(a.status===401&&l)throw gR(),hb("expired"),Vi.currentRoute.value.name!=="login"&&Vi.replace({name:"login"}),new Error("Unauthorized");if(!a.ok){const s=await a.text().catch(()=>"");throw a.status===403&&l&&(s.includes("User is disabled or does not exist")?(gR(),hb("expired"),Vi.currentRoute.value.name!=="login"&&Vi.replace({name:"login"})):hb("forbidden")),new Error(`API Error ${a.status}: ${dee(s,a.statusText)}`)}return a.json()}function uee(){return vz()}var nx,f1,Km=c((()=>{gz(),nx="",f1="hermes_active_profile_name"}));function Pl(){return window.hermesDesktop}function fee(){const e=Pl(),t=e?.browser;return e?.isDesktop===!0&&!!t&&mz.every(r=>typeof t[r]=="function")}function mwe(){return Pl()?.isDesktop===!0}var mz,h1=c((()=>{mz=["getState","setViewport","createTab","closeTab","activateTab","navigate","navigationAction","createProfile","chooseProfileRootDirectory","renameProfile","profileSwitchImpact","switchProfile","updateProfile","deleteProfile","clearProfileData","cancelDownload","takeOver","annotate","cancelAnnotation","updateAnnotationNote","captureAnnotations","clearAnnotations","onAnnotationRequest","onStateChange"]}));function hee(e){const t=typeof e=="string"?e:"";return t.startsWith("/")&&!t.startsWith("//")?t:pz}var pz,vee=c((()=>{pz="/hermes/chat"})),yR,xR,vb,it,qm=c((()=>{yR="modulepreload",xR=function(e){return"/"+e},vb={},it=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let d=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");o=d(r.map(u=>{if(u=xR(u,n),u in vb)return;vb[u]=!0;const f=u.endsWith(".css"),m=f?'[rel="stylesheet"]':"";if(n)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===u&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${m}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":yR,f||(g.as="script"),g.crossOrigin="",g.href=u,s&&g.setAttribute("nonce",s),document.head.appendChild(g),f)return new Promise((h,p)=>{g.addEventListener("load",h),g.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})}}));async function mee(){if(zu())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function pee(){return window.hermesDesktop?.isDesktop===!0}var Vi,gz=c((()=>{u1(),Km(),h1(),vee(),qm(),Vi=eee({history:HQ(),routes:[{path:"/desktop-pet",name:"desktop.pet",component:()=>it(()=>import("./DesktopPetView-B7REtC57.js"),__vite__mapDeps([0,1,2,3,4,5,6])),meta:{public:!0}},{path:"/",name:"login",component:()=>it(()=>import("./LoginView-KrpCkwOr.js"),__vite__mapDeps([7,8,9])),meta:{public:!0}},{path:"/share/group-chat/:inviteCode?",name:"share.groupChat",component:()=>it(()=>import("./SharedGroupChatView-DXfqtQ33.js"),__vite__mapDeps([10,11,12,13,14,8,15,2,16,17,18,19,4,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),meta:{public:!0,standaloneChat:!0,inviteOnly:!0}},{path:"/group-chat-link",name:"groupChat.link",component:()=>it(()=>import("./GroupChatLinkView-CJhI9DVE.js"),__vite__mapDeps([40,11,12,16,13,4,36,22,41])),meta:{standaloneChat:!0}},{path:"/hermes/chat",name:"hermes.chat",component:()=>it(()=>import("./ChatView-DFcPsmRF.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58]))},{path:"/hermes/session/:sessionId",name:"hermes.session",component:()=>it(()=>import("./ChatView-DFcPsmRF.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58]))},{path:"/desktop-chat/:sessionId",name:"desktop.chat",component:()=>it(()=>import("./ChatView-DFcPsmRF.js"),__vite__mapDeps([42,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,58])),meta:{standaloneChat:!0}},{path:"/hermes/history",name:"hermes.history",component:()=>it(()=>import("./HistoryView-Ro92tP5R.js"),__vite__mapDeps([59,17,15,2,16,18,19,4,20,30,31,60,26,27,47,11,12,24,25,28,21,29,32,48,61,50,51,62,63,56,64]))},{path:"/hermes/history/session/:sessionId",name:"hermes.historySession",component:()=>it(()=>import("./HistoryView-Ro92tP5R.js"),__vite__mapDeps([59,17,15,2,16,18,19,4,20,30,31,60,26,27,47,11,12,24,25,28,21,29,32,48,61,50,51,62,63,56,64]))},{path:"/hermes/global-agent",name:"hermes.globalAgent",component:()=>it(()=>import("./GlobalAgentView-dxEX611f.js"),__vite__mapDeps([65,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,66]))},{path:"/hermes/global-agent/session/:sessionId",name:"hermes.globalAgentSession",component:()=>it(()=>import("./GlobalAgentView-dxEX611f.js"),__vite__mapDeps([65,15,2,16,17,18,19,4,20,43,26,27,28,21,29,30,31,44,45,46,32,33,25,34,47,11,12,24,48,35,49,50,51,52,53,54,55,56,36,37,57,66]))},{path:"/hermes/jobs",name:"hermes.jobs",component:()=>it(()=>import("./JobsView-BaNA1Yaa.js"),__vite__mapDeps([67,4,45,68]))},{path:"/hermes/kanban",name:"hermes.kanban",component:()=>it(()=>import("./KanbanView-BYC32l2Q.js"),__vite__mapDeps([69,11,12,70,71,17,28,21,2,29,4,45,60,26,27,15,16,18,19,20,47,24,25,32,48,61,72,37,73,74]))},{path:"/hermes/workflow",name:"hermes.workflow",component:()=>it(()=>import("./WorkflowView-r46Ap9FY.js"),__vite__mapDeps([75,11,12,70,71,16,17,15,2,18,19,4,20,28,21,29,30,31,44,26,27,45,46,32,33,25,34,47,24,48,35,49,76,62,63,36,77]))},{path:"/hermes/models",name:"hermes.models",component:()=>it(()=>import("./ModelsView-ComCz0Ce.js"),__vite__mapDeps([78,15,2,16,17,18,19,4,20,46,32,79,25,80]))},{path:"/hermes/profiles",name:"hermes.profiles",component:()=>it(()=>import("./ProfilesView-CxVxJRN_.js"),__vite__mapDeps([81,11,12,4,82])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/logs",name:"hermes.logs",component:()=>it(()=>import("./LogsView-Dgm4v5sN.js"),__vite__mapDeps([83,84]))},{path:"/hermes/usage",name:"hermes.usage",component:()=>it(()=>import("./UsageView-B_hLsp0k.js"),__vite__mapDeps([85,17,4,86]))},{path:"/hermes/performance",name:"hermes.performance",component:()=>it(()=>import("./PerformanceView-D6dKifJh.js"),__vite__mapDeps([87,88])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/journey",name:"hermes.journey",component:()=>it(()=>import("./JourneyView-Bw-05mCF.js"),__vite__mapDeps([89,70,71,4,45,90]))},{path:"/hermes/skills-usage",name:"hermes.skillsUsage",component:()=>it(()=>import("./SkillsUsageView-C34i3lOQ.js"),__vite__mapDeps([91,4,45,92]))},{path:"/hermes/skills",name:"hermes.skills",component:()=>it(()=>import("./SkillsView-DRG_1esx.js"),__vite__mapDeps([93,4,45,94]))},{path:"/hermes/plugins",name:"hermes.plugins",component:()=>it(()=>import("./PluginsView-zJV9FE9c.js"),__vite__mapDeps([95,4,96]))},{path:"/hermes/petdex",name:"hermes.petdex",component:()=>it(()=>import("./PetdexView-CmvzDYwf.js"),__vite__mapDeps([97,3,98]))},{path:"/hermes/memory",name:"hermes.memory",component:()=>it(()=>import("./MemoryView-BnL7xzux.js"),__vite__mapDeps([99,4,45,100]))},{path:"/hermes/settings",name:"hermes.settings",component:()=>it(()=>import("./SettingsView-Cbroga25.js"),__vite__mapDeps([101,11,12,8,18,4,102,103,79,56,35,20,104]))},{path:"/hermes/theme",name:"hermes.theme",component:()=>it(()=>import("./ThemeView-CAaJ9MH-.js"),__vite__mapDeps([105,106]))},{path:"/hermes/channels",name:"hermes.channels",component:()=>it(()=>import("./ChannelsView-6rEo6RBl.js"),__vite__mapDeps([107,18,4,102,103,108]))},{path:"/hermes/terminal",name:"hermes.terminal",component:()=>it(()=>import("./TerminalView-B6z-VaGq.js"),__vite__mapDeps([109,53,54,110])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/devices",name:"hermes.devices",component:()=>it(()=>import("./DevicesView--d4HCkch.js"),__vite__mapDeps([111,25,112])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/group-chat",name:"hermes.groupChat",component:()=>it(()=>import("./GroupChatView-CUwvu-6F.js"),__vite__mapDeps([113,18,14,8,15,2,16,17,19,4,20,21,22,23,11,12,24,25,26,27,28,29,13,30,31,32,33,34,35,36,37,38,114]))},{path:"/hermes/group-chat/room/:roomId",name:"hermes.groupChatRoom",component:()=>it(()=>import("./GroupChatView-CUwvu-6F.js"),__vite__mapDeps([113,18,14,8,15,2,16,17,19,4,20,21,22,23,11,12,24,25,26,27,28,29,13,30,31,32,33,34,35,36,37,38,114]))},{path:"/hermes/files",name:"hermes.files",component:()=>it(()=>import("./FilesView-Dl15WTar.js"),__vite__mapDeps([115,28,17,21,2,29,4,116,19,25,117,118]))},{path:"/hermes/coding-agents",name:"hermes.codingAgents",component:()=>it(()=>import("./CodingAgentsView-CpIY0SHT.js"),__vite__mapDeps([119,16,4,52,53,54,55,36,120]))},{path:"/hermes/version-preview",name:"hermes.versionPreview",component:()=>it(()=>import("./VersionPreviewView-DKXL6anl.js"),__vite__mapDeps([121,122])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/mcp",name:"hermes.mcp",component:()=>it(()=>import("./McpManagerView-DTtkUIvq.js"),__vite__mapDeps([123,124]))}]}),fee()&&Vi.addRoute({path:"/hermes/browser",name:"hermes.browser",component:()=>it(()=>import("./DesktopBrowserView-D9Qb3fIV.js"),__vite__mapDeps([125,126]))}),Vi.beforeEach(async(e,t,r)=>{if(await mee(),e.meta.public){if(e.name==="login"&&zu()&&!pee()){r(hee(e.query.redirect));return}r();return}if(!zu()){r({name:"login",query:{redirect:e.fullPath}});return}if(e.meta.requiresSuperAdmin&&!aee()){r({name:"hermes.chat"});return}r()})}));function gee(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}function CR(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function bee(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function v1(e){return yz.test(e)}function yee(e){const t=/url\s*\(/gi;let r="",n=0,o;for(;(o=t.exec(e))!==null;){const i=o.index,a=t.lastIndex-1;let l=a+1,s=1,d=null;for(;l<e.length;l++){const m=e[l];if(d){m===d&&(d=null);continue}if(m==='"'||m==="'")d=m;else if(m==="(")s++;else if(m===")"&&(s--,s===0))break}if(s!==0)break;const u=e.slice(a+1,l).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;r+=e.slice(n,i),r+=v1(f)?"url(about:blank)":e.slice(i,l+1),n=l+1}return r+e.slice(n)}function _R(e,t){return xz.test(e)&&v1(t)?"about:blank":bee(e.toLowerCase()==="style"?yee(t):t)}function xee(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,r,n)=>`${r}="${_R(r,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,r,n)=>`${r}='${_R(r,n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(t,r,n)=>v1(n)?`${r}about:blank`:t),e}function ao(e,t){return Cz.call(e,t)}function m1(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function Tv(e,t){if(Gd(e)||Gd(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(i=>{i!=="__proto__"&&(Bt(n[i])&&!Bt(o[i])&&(o[i]=Array.isArray(n[i])?[]:Zt()),Gd(o[i])||Gd(n[i])?o[i]=n[i]:r.push({src:n[i],des:o[i]}))})}}var Du,ri,bz,wR,Ar,p1,Bl,hf,Mr,SR,Zt,PR,wa,yz,xz,Cz,xr,mr,Qe,zt,Bt,_z,mb,Gh,Mt,wz,Gd,g1=c((()=>{Du=typeof window<"u",ri=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bz=(e,t,r)=>wR({l:e,k:t,s:r}),wR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ar=e=>typeof e=="number"&&isFinite(e),p1=e=>Gh(e)==="[object Date]",Bl=e=>Gh(e)==="[object RegExp]",hf=e=>Mt(e)&&Object.keys(e).length===0,Mr=Object.assign,SR=Object.create,Zt=(e=null)=>SR(e),wa=()=>PR||(PR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Zt()),yz=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,xz=/^(?:href|src|action|formaction)$/i,Cz=Object.prototype.hasOwnProperty,xr=Array.isArray,mr=e=>typeof e=="function",Qe=e=>typeof e=="string",zt=e=>typeof e=="boolean",Bt=e=>e!==null&&typeof e=="object",_z=e=>Bt(e)&&mr(e.then)&&mr(e.catch),mb=Object.prototype.toString,Gh=e=>mb.call(e),Mt=e=>Gh(e)==="[object Object]",wz=e=>e==null?"":xr(e)||Mt(e)&&e.toString===mb?JSON.stringify(e,null,2):String(e),Gd=e=>!Bt(e)||xr(e)}));function Cee(e,t,r){return{line:e,column:t,offset:r}}function ox(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}function Gm(e,t,r={}){const{domain:n,messages:o,args:i}=r,a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=n,a}function _ee(e){throw e}function wee(e){const t=e;let r=0,n=1,o=1,i=0;const a=_=>t[_]===Sz&&t[_+1]===Qr,l=_=>t[_]===Qr,s=_=>t[_]===kz,d=_=>t[_]===Pz,u=_=>a(_)||l(_)||s(_)||d(_),f=()=>r,m=()=>n,g=()=>o,h=()=>i,p=_=>a(_)||s(_)||d(_)?Qr:t[_],b=()=>p(r),y=()=>p(r+i);function x(){return i=0,u(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function C(){return a(r+i)&&i++,i++,t[r+i]}function w(){r=0,n=1,o=1,i=0}function S(_=0){i=_}function P(){const _=r+i;for(;_!==r;)x();i=0}return{index:f,line:m,column:g,peekOffset:h,charAt:p,currentChar:b,currentPeek:y,next:x,peek:C,reset:w,resetPeek:S,skipToPeek:P}}function See(e,t={}){const r=t.location!==!1,n=wee(e),o=()=>n.index(),i=()=>Cee(n.line(),n.column(),n.index()),a=i(),l=o(),s={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},d=()=>s,{onError:u}=t;function f(R,O,Z,...re){const X=d();O.column+=Z,O.offset+=Z,u&&u(Gm(R,r?ox(X.startLoc,O):null,{domain:$z,args:re}))}function m(R,O,Z){R.endLoc=i(),R.currentType=O;const re={type:O};return r&&(re.loc=ox(R.startLoc,R.endLoc)),Z!=null&&(re.value=Z),re}const g=R=>m(R,13);function h(R,O){return R.currentChar()===O?(R.next(),O):(f(mt.EXPECTED_TOKEN,i(),0,O),"")}function p(R){let O="";for(;R.currentPeek()===To||R.currentPeek()===Qr;)O+=R.currentPeek(),R.peek();return O}function b(R){const O=p(R);return R.skipToPeek(),O}function y(R){if(R===Ai)return!1;const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O===95}function x(R){if(R===Ai)return!1;const O=R.charCodeAt(0);return O>=48&&O<=57}function C(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=y(R.currentPeek());return R.resetPeek(),re}function w(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=x(R.currentPeek()==="-"?R.peek():R.currentPeek());return R.resetPeek(),re}function S(R,O){const{currentType:Z}=O;if(Z!==2)return!1;p(R);const re=R.currentPeek()===ix;return R.resetPeek(),re}function P(R,O){const{currentType:Z}=O;if(Z!==7)return!1;p(R);const re=R.currentPeek()===".";return R.resetPeek(),re}function _(R,O){const{currentType:Z}=O;if(Z!==8)return!1;p(R);const re=y(R.currentPeek());return R.resetPeek(),re}function T(R,O){const{currentType:Z}=O;if(!(Z===7||Z===11))return!1;p(R);const re=R.currentPeek()===":";return R.resetPeek(),re}function E(R,O){const{currentType:Z}=O;if(Z!==9)return!1;const re=()=>{const U=R.currentPeek();return U==="{"?y(R.peek()):U==="@"||U==="|"||U===":"||U==="."||U===To||!U?!1:U===Qr?(R.peek(),re()):M(R,!1)},X=re();return R.resetPeek(),X}function D(R){p(R);const O=R.currentPeek()==="|";return R.resetPeek(),O}function M(R,O=!0){const Z=(X=!1,U="")=>{const $=R.currentPeek();return $==="{"||$==="@"||!$?X:$==="|"?!(U===To||U===Qr):$===To?(R.peek(),Z(!0,To)):$===Qr?(R.peek(),Z(!0,Qr)):!0},re=Z();return O&&R.resetPeek(),re}function W(R,O){const Z=R.currentChar();if(Z!==Ai)return O(Z)?(R.next(),Z):null}function L(R){const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36}function H(R){return W(R,L)}function V(R){const O=R.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36||O===45}function G(R){return W(R,V)}function J(R){const O=R.charCodeAt(0);return O>=48&&O<=57}function Q(R){return W(R,J)}function de(R){const O=R.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}function ke(R){return W(R,de)}function le(R){let O="",Z="";for(;O=Q(R);)Z+=O;return Z}function ye(R){let O="";for(;;){const Z=R.currentChar();if(Z==="\\"){const re=R.peek();re==="{"||re==="}"||re==="@"||re==="|"||re==="\\"?(O+=Z+re,R.next(),R.next()):(R.resetPeek(),O+=Z,R.next())}else{if(Z==="{"||Z==="}"||Z==="@"||Z==="|"||!Z)break;if(Z===To||Z===Qr)if(M(R))O+=Z,R.next();else{if(D(R))break;O+=Z,R.next()}else O+=Z,R.next()}}return O}function ue(R){b(R);let O="",Z="";for(;O=G(R);)Z+=O;const re=R.currentChar();if(re&&re!=="}"&&re!==Ai&&re!==To&&re!==Qr&&re!==" "){const X=he(R);return f(mt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z+X),Z+X}return R.currentChar()===Ai&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z}function oe(R){b(R);let O="";return R.currentChar()==="-"?(R.next(),O+=`-${le(R)}`):O+=le(R),R.currentChar()===Ai&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),O}function ie(R){return R!==ix&&R!==Qr}function xe(R){b(R),h(R,"'");let O="",Z="";for(;O=W(R,ie);)O==="\\"?Z+=ae(R):Z+=O;const re=R.currentChar();return re===Qr||re===Ai?(f(mt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),re===Qr&&(R.next(),h(R,"'")),Z):(h(R,"'"),Z)}function ae(R){const O=R.currentChar();switch(O){case"\\":case"'":return R.next(),`\\${O}`;case"u":return Ce(R,O,4);case"U":return Ce(R,O,6);default:return f(mt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,O),""}}function Ce(R,O,Z){h(R,O);let re="";for(let X=0;X<Z;X++){const U=ke(R);if(!U){f(mt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${O}${re}${R.currentChar()}`);break}re+=U}return`\\${O}${re}`}function fe(R){return R!=="{"&&R!=="}"&&R!==To&&R!==Qr}function he(R){b(R);let O="",Z="";for(;O=W(R,fe);)Z+=O;return Z}function se(R){let O="",Z="";for(;O=H(R);)Z+=O;return Z}function Ie(R){const O=Z=>{const re=R.currentChar();return re==="{"||re==="@"||re==="|"||re==="("||re===")"||!re||re===To?Z:(Z+=re,R.next(),O(Z))};return O("")}function F(R){b(R);const O=h(R,"|");return b(R),O}function K(R,O){let Z=null;switch(R.currentChar()){case"{":return O.braceNest>=1&&f(mt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),R.next(),Z=m(O,2,"{"),b(R),O.braceNest++,Z;case"}":return O.braceNest>0&&O.currentType===2&&f(mt.EMPTY_PLACEHOLDER,i(),0),R.next(),Z=m(O,3,"}"),O.braceNest--,O.braceNest>0&&b(R),O.inLinked&&O.braceNest===0&&(O.inLinked=!1),Z;case"@":return O.braceNest>0&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z=ne(R,O)||g(O),O.braceNest=0,Z;default:{let re=!0,X=!0,U=!0;if(D(R))return O.braceNest>0&&f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),Z=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,Z;if(O.braceNest>0&&(O.currentType===4||O.currentType===5||O.currentType===6))return f(mt.UNTERMINATED_CLOSING_BRACE,i(),0),O.braceNest=0,be(R,O);if(re=C(R,O))return Z=m(O,4,ue(R)),b(R),Z;if(X=w(R,O))return Z=m(O,5,oe(R)),b(R),Z;if(U=S(R,O))return Z=m(O,6,xe(R)),b(R),Z;if(!re&&!X&&!U)return Z=m(O,12,he(R)),f(mt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z.value),b(R),Z;break}}return Z}function ne(R,O){const{currentType:Z}=O;let re=null;const X=R.currentChar();switch((Z===7||Z===8||Z===11||Z===9)&&(X===Qr||X===To)&&f(mt.INVALID_LINKED_FORMAT,i(),0),X){case"@":return R.next(),re=m(O,7,"@"),O.inLinked=!0,re;case".":return b(R),R.next(),m(O,8,".");case":":return b(R),R.next(),m(O,9,":");default:return D(R)?(re=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,re):P(R,O)||T(R,O)?(b(R),ne(R,O)):_(R,O)?(b(R),m(O,11,se(R))):E(R,O)?(b(R),X==="{"?K(R,O)||re:m(O,10,Ie(R))):(Z===7&&f(mt.INVALID_LINKED_FORMAT,i(),0),O.braceNest=0,O.inLinked=!1,be(R,O))}}function be(R,O){let Z={type:13};if(O.braceNest>0)return K(R,O)||g(O);if(O.inLinked)return ne(R,O)||g(O);switch(R.currentChar()){case"{":return K(R,O)||g(O);case"}":return f(mt.UNBALANCED_CLOSING_BRACE,i(),0),R.next(),m(O,3,"}");case"@":return ne(R,O)||g(O);default:if(D(R))return Z=m(O,1,F(R)),O.braceNest=0,O.inLinked=!1,Z;if(M(R))return m(O,0,ye(R));break}return Z}function B(){const{currentType:R,offset:O,startLoc:Z,endLoc:re}=s;return s.lastType=R,s.lastOffset=O,s.lastStartLoc=Z,s.lastEndLoc=re,s.offset=o(),s.startLoc=i(),n.currentChar()===Ai?m(s,13):be(n,s)}return{nextToken:B,currentOffset:o,currentPosition:i,context:d}}function Pee(e,t){return t}function kee(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Ree(e={}){const t=e.location!==!1,{onError:r}=e;function n(y,x,C,w,...S){const P=y.currentPosition();P.offset+=w,P.column+=w,r&&r(Gm(x,t?ox(C,P):null,{domain:Tz,args:S}))}function o(y,x,C){const w={type:y};return t&&(w.start=x,w.end=x,w.loc={start:C,end:C}),w}function i(y,x,C,w){t&&(y.end=x,y.loc&&(y.loc.end=C))}function a(y,x){const C=y.context(),w=o(3,C.offset,C.startLoc);return w.value=x.replace(Oz,Pee),i(w,y.currentOffset(),y.currentPosition()),w}function l(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(5,C,w);return S.index=parseInt(x,10),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function s(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(4,C,w);return S.key=x,y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function d(y,x){const{lastOffset:C,lastStartLoc:w}=y.context(),S=o(9,C,w);return S.value=x.replace(Ez,kee),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function u(y){const x=y.nextToken(),C=y.context(),{lastOffset:w,lastStartLoc:S}=C,P=o(8,w,S);return x.type!==11?(n(y,mt.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),P.value="",i(P,w,S),{nextConsumeToken:x,node:P}):(x.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Jo(x)),P.value=x.value||"",i(P,y.currentOffset(),y.currentPosition()),{node:P})}function f(y,x){const C=y.context(),w=o(7,C.offset,C.startLoc);return w.value=x,i(w,y.currentOffset(),y.currentPosition()),w}function m(y){const x=y.context(),C=o(6,x.offset,x.startLoc);let w=y.nextToken();if(w.type===8){const S=u(y);C.modifier=S.node,w=S.nextConsumeToken||y.nextToken()}switch(w.type!==9&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),w=y.nextToken(),w.type===2&&(w=y.nextToken()),w.type){case 10:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=f(y,w.value||"");break;case 4:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=s(y,w.value||"");break;case 5:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=l(y,w.value||"");break;case 6:w.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(w)),C.key=d(y,w.value||"");break;default:{n(y,mt.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const S=y.context(),P=o(7,S.offset,S.startLoc);return P.value="",i(P,S.offset,S.startLoc),C.key=P,i(C,S.offset,S.startLoc),{nextConsumeToken:w,node:C}}}return i(C,y.currentOffset(),y.currentPosition()),{node:C}}function g(y){const x=y.context(),C=o(2,x.currentType===1?y.currentOffset():x.offset,x.currentType===1?x.endLoc:x.startLoc);C.items=[];let w=null;do{const S=w||y.nextToken();switch(w=null,S.type){case 0:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(a(y,S.value||""));break;case 5:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(l(y,S.value||""));break;case 4:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(s(y,S.value||""));break;case 6:S.value==null&&n(y,mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Jo(S)),C.items.push(d(y,S.value||""));break;case 7:{const P=m(y);C.items.push(P.node),w=P.nextConsumeToken||null;break}}}while(x.currentType!==13&&x.currentType!==1);return i(C,x.currentType===1?x.lastOffset:y.currentOffset(),x.currentType===1?x.lastEndLoc:y.currentPosition()),C}function h(y,x,C,w){const S=y.context();let P=w.items.length===0;const _=o(1,x,C);_.cases=[],_.cases.push(w);do{const T=g(y);P||(P=T.items.length===0),_.cases.push(T)}while(S.currentType!==13);return P&&n(y,mt.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),i(_,y.currentOffset(),y.currentPosition()),_}function p(y){const x=y.context(),{offset:C,startLoc:w}=x,S=g(y);return x.currentType===13?S:h(y,C,w,S)}function b(y){const x=See(y,Mr({},e)),C=x.context(),w=o(0,C.offset,C.startLoc);return t&&w.loc&&(w.loc.source=y),w.body=p(x),e.onCacheKey&&(w.cacheKey=e.onCacheKey(y)),C.currentType!==13&&n(x,mt.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,y[C.offset]||""),i(w,x.currentOffset(),x.currentPosition()),w}return{parse:b}}function Jo(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function $ee(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:i=>(r.helpers.add(i),i)}}function kR(e,t){for(let r=0;r<e.length;r++)b1(e[r],t)}function b1(e,t){switch(e.type){case 1:kR(e.cases,t),t.helper("plural");break;case 2:kR(e.items,t);break;case 6:b1(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Tee(e,t={}){const r=$ee(e);r.helper("normalize"),e.body&&b1(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function Eee(e){const t=e.body;return t.type===2?RR(t):t.cases.forEach(r=>RR(r)),e}function RR(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const n=e.items[r];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=m1(t);for(let r=0;r<e.items.length;r++){const n=e.items[r];(n.type===3||n.type===9)&&delete n.value}}}}function zs(e){switch(e.t=e.type,e.type){case 0:{const t=e;zs(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let n=0;n<r.length;n++)zs(r[n]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let n=0;n<r.length;n++)zs(r[n]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;zs(t.key),t.k=t.key,delete t.key,t.modifier&&(zs(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:}delete e.type}function Oee(e,t){const{filename:r,breakLineCode:n,needIndent:o}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function s(p,b){a.code+=p}function d(p,b=!0){const y=b?n:"";s(o?y+" ".repeat(p):y)}function u(p=!0){const b=++a.indentLevel;p&&d(b)}function f(p=!0){const b=--a.indentLevel;p&&d(b)}function m(){d(a.indentLevel)}return{context:l,push:s,indent:u,deindent:f,newline:m,helper:p=>`_${p}`,needIndent:()=>a.needIndent}}function Aee(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),pc(e,t.key),t.modifier?(e.push(", "),pc(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Mee(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let i=0;i<o&&(pc(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}function Iee(e,t){const{helper:r,needIndent:n}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let i=0;i<o&&(pc(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}}function Fee(e,t){t.body?pc(e,t.body):e.push("null")}function pc(e,t){const{helper:r}=e;switch(t.type){case 0:Fee(e,t);break;case 1:Iee(e,t);break;case 2:Mee(e,t);break;case 6:Aee(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:}}function zee(e,t={}){const r=Mr({},t),n=!!r.jit,o=!!r.minify,i=r.optimize==null?!0:r.optimize,a=Ree(r).parse(e);return n?(i&&Eee(a),o&&zs(a),{ast:a,code:""}):(Tee(a,r),Az(a,r))}var mt,Dee,To,Sz,Qr,Pz,kz,Ai,Rz,ix,$z,Tz,Ez,Oz,Az,Lee=c((()=>{g1(),mt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Dee={[mt.EXPECTED_TOKEN]:"Expected token: '{0}'",[mt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[mt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[mt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[mt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[mt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[mt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[mt.EMPTY_PLACEHOLDER]:"Empty placeholder",[mt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[mt.INVALID_LINKED_FORMAT]:"Invalid linked format",[mt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[mt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[mt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[mt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[mt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[mt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"},To=" ",Sz="\r",Qr=`
6
6
  `,Pz="\u2028",kz="\u2029",Ai=void 0,Rz=".",ix="'",$z="tokenizer",Tz="parser",Ez=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,Oz=/\\([\\@{}|])/g,Az=(e,t={})=>{const r=Qe(t.mode)?t.mode:"normal",n=Qe(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
7
- `,i=t.needIndent?t.needIndent:r!=="arrow",a=e.helpers||[],l=Oee(e,{filename:n,breakLineCode:o,needIndent:i});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${m1(a.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),pc(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:s,map:d}=l.context();return{ast:e,code:s,map:d?d.toJSON():void 0}}}));function Bee(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function li(e){return Bt(e)&&y1(e)===0&&(ao(e,"b")||ao(e,"body"))}function Nee(e){return Da(e,ux)}function Hee(e){return Da(e,fx,[])}function Wee(e){return Da(e,hx)}function jee(e){return Da(e,vx,[])}function y1(e){return Da(e,mx)}function Yh(e,t){const r=Da(e,px);if(r!=null)return r;throw Lu(t)}function Vee(e){return Da(e,gx)}function Uee(e){const t=Da(e,bx);if(t)return t;throw Lu(6)}function Da(e,t,r){for(let n=0;n<t.length;n++){const o=t[n];if(ao(e,o)&&e[o]!=null)return e[o]}return r}function Lu(e){return new Error(`unhandled node type: ${e}`)}function pb(e){return r=>Kee(r,e)}function Kee(e,t){const r=Nee(t);if(r==null)throw Lu(0);if(y1(r)===1){const n=Hee(r);return e.plural(n.reduce((o,i)=>[...o,$R(e,i)],[]))}else return $R(e,r)}function $R(e,t){const r=Wee(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=jee(t).reduce((o,i)=>[...o,ax(e,i)],[]);return e.normalize(n)}}function ax(e,t){const r=y1(t);switch(r){case 3:return Yh(t,r);case 9:return Yh(t,r);case 4:{const n=t;if(ao(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(ao(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Lu(r)}case 5:{const n=t;if(ao(n,"i")&&Ar(n.i))return e.interpolate(e.list(n.i));if(ao(n,"index")&&Ar(n.index))return e.interpolate(e.list(n.index));throw Lu(r)}case 6:{const n=t,o=Vee(n),i=Uee(n);return e.linked(ax(e,i),o?ax(e,o):void 0,e.type)}case 7:return Yh(t,r);case 8:return Yh(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}function qee(e,t={}){let r=!1;const n=t.onError||_ee;return t.onError=o=>{r=!0,n(o)},{...zee(e,t),detectError:r}}function Gee(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Qe(e)){zt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Fz)(e),n=Yd[r];if(n)return n;const{ast:o,detectError:i}=qee(e,{...t,location:!1,jit:!0}),a=pb(o);return i?a:Yd[r]=a}else{const r=e.cacheKey;if(r){const n=Yd[r];return n||(Yd[r]=pb(e))}else return pb(e)}}function Yee(e){gc=e}function Xee(e,t,r){gc&&gc.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}function Zee(e){return t=>gc&&gc.emit(e,t)}function Ui(e){return Gm(e,null,void 0)}function x1(e,t){return t.locale!=null?TR(t.locale):TR(e.locale)}function TR(e){if(Qe(e))return e;if(mr(e)){if(e.resolvedOnce&&bb!=null)return bb;if(e.constructor.name==="Function"){const t=e();if(_z(t))throw Ui(en.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return bb=t}else throw Ui(en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ui(en.NOT_SUPPORT_LOCALE_TYPE)}function Jee(e,t,r){return[...new Set([r,...xr(t)?t:Bt(t)?Object.keys(t):Qe(t)?[t]:[r]])]}function lx(e,t,r){const n=Qe(r)?r:bc,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let a=[r];for(;xr(a);)a=ER(i,a,t);const l=xr(t)||!Mt(t)?t:t.default?t.default:null;a=Qe(l)?[l]:l,xr(a)&&ER(i,a,!1),o.__localeChainCache.set(n,i)}return i}function ER(e,t,r){let n=!0;for(let o=0;o<t.length&&zt(n);o++){const i=t[o];Qe(i)&&(n=Qee(e,t[o],r))}return n}function Qee(e,t,r){let n;const o=t.split("-");do n=ete(e,o.join("-"),r),o.splice(-1,1);while(o.length&&n===!0);return n}function ete(e,t,r){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(xr(r)||Mt(r))&&r[o]&&(n=r[o])}return n}function tte(e){return Dz.test(e)}function rte(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function nte(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ote(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tte(t)?rte(t):"*"+t}function ite(e){const t=[];let r=-1,n=0,o=0,i,a,l,s,d,u,f;const m=[];m[0]=()=>{a===void 0?a=l:a+=l},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,n=4,m[0]();else{if(o=0,a===void 0||(a=ote(a),a===!1))return!1;m[1]()}};function g(){const h=e[r+1];if(n===5&&h==="'"||n===6&&h==='"')return r++,l="\\"+h,m[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&g())){if(s=nte(i),f=Mi[n],d=f[s]||f.l||8,d===8||(n=d[0],d[1]!==void 0&&(u=m[d[1]],u&&(l=i,u()===!1))))return;if(n===7)return t}}function ate(e,t){return Bt(e)?e[t]:null}function lte(e,t){if(!Bt(e))return null;let r=yx.get(t);if(r||(r=ite(t),r&&yx.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;for(;i<n;){const a=r[i];if(_1.includes(a)&&li(o)||!Bt(o)||!ao(o,a))return null;const l=o[a];if(l===void 0||mr(o))return null;o=l,i++}return o}function ste(){return{upper:(e,t)=>t==="text"&&Qe(e)?e.toUpperCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Qe(e)?e.toLowerCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Qe(e)?xx(e):t==="vnode"&&Bt(e)&&"__v_isVNode"in e?xx(e.children):e}}function cte(e){Bz=e}function dte(e){Nz=e}function ute(e){Hz=e}function fte(e={}){const t=mr(e.onWarn)?e.onWarn:gee,r=Qe(e.version)?e.version:Lz,n=Qe(e.locale)||mr(e.locale)?e.locale:bc,o=mr(n)?bc:n,i=xr(e.fallbackLocale)||Mt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=Mt(e.messages)?e.messages:Ev(o),l=Mt(e.datetimeFormats)?e.datetimeFormats:Ev(o),s=Mt(e.numberFormats)?e.numberFormats:Ev(o),d=Mr(Zt(),e.modifiers,ste()),u=e.pluralRules||Zt(),f=mr(e.missing)?e.missing:null,m=zt(e.missingWarn)||Bl(e.missingWarn)?e.missingWarn:!0,g=zt(e.fallbackWarn)||Bl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,p=!!e.unresolving,b=mr(e.postTranslation)?e.postTranslation:null,y=Mt(e.processor)?e.processor:null,x=zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,w=mr(e.messageCompiler)?e.messageCompiler:Bz,S=mr(e.messageResolver)?e.messageResolver:Nz||ate,P=mr(e.localeFallbacker)?e.localeFallbacker:Hz||Jee,_=Bt(e.fallbackContext)?e.fallbackContext:void 0,T=e,E=Bt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,D=Bt(T.__numberFormatters)?T.__numberFormatters:new Map,M=Bt(T.__meta)?T.__meta:{};wx++;const W={version:r,cid:wx,locale:n,fallbackLocale:i,messages:a,modifiers:d,pluralRules:u,missing:f,missingWarn:m,fallbackWarn:g,fallbackFormat:h,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:x,escapeParameter:C,messageCompiler:w,messageResolver:S,localeFallbacker:P,fallbackContext:_,onWarn:t,__meta:M};return W.datetimeFormats=l,W.numberFormats=s,W.__datetimeFormatters=E,W.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&Xee(W,r,M),W}function C1(e,t,r,n,o){const{missing:i,onWarn:a}=e;if(i!==null){const l=i(e,r,t,o);return Qe(l)?l:t}else return t}function $d(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function hte(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vte(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n<t.length;n++)if(hte(e,t[n]))return!0;return!1}function OR(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(!Qe(t[0])&&!p1(t[0])&&!Ar(t[0]))return"";const[s,d,u,f]=sx(...t),m=zt(u.missingWarn)?u.missingWarn:e.missingWarn;zt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,h=x1(e,u),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(d);let b={},y,x=null;const C="datetime format";for(let P=0;P<p.length&&(y=p[P],b=r[y]||{},x=b[s],!Mt(x));P++)C1(e,s,y,m,C);if(!Mt(x)||!Qe(y))return n?-1:s;let w=`${y}__${s}`;hf(f)||(w=`${w}__${JSON.stringify(f)}`);let S=l.get(w);return S||(S=new Intl.DateTimeFormat(y,Mr({},x,f)),l.set(w,S)),g?S.formatToParts(d):S.format(d)}function sx(...e){const[t,r,n,o]=e,i=Zt();let a=Zt(),l;if(Qe(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Ui(en.INVALID_ISO_DATE_ARGUMENT);const d=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();l=new Date(d);try{l.toISOString()}catch{throw Ui(en.INVALID_ISO_DATE_ARGUMENT)}}else if(p1(t)){if(isNaN(t.getTime()))throw Ui(en.INVALID_DATE_ARGUMENT);l=t}else if(Ar(t))l=t;else throw Ui(en.INVALID_ARGUMENT);return Qe(r)?i.key=r:Mt(r)&&Object.keys(r).forEach(s=>{w1.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Mt(n)&&(a=n),Mt(o)&&(a=o),[i.key||"",l,i,a]}function AR(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function MR(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(!Ar(t[0]))return"";const[s,d,u,f]=cx(...t),m=zt(u.missingWarn)?u.missingWarn:e.missingWarn;zt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,h=x1(e,u),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(d);let b={},y,x=null;const C="number format";for(let P=0;P<p.length&&(y=p[P],b=r[y]||{},x=b[s],!Mt(x));P++)C1(e,s,y,m,C);if(!Mt(x)||!Qe(y))return n?-1:s;let w=`${y}__${s}`;hf(f)||(w=`${w}__${JSON.stringify(f)}`);let S=l.get(w);return S||(S=new Intl.NumberFormat(y,Mr({},x,f)),l.set(w,S)),g?S.formatToParts(d):S.format(d)}function cx(...e){const[t,r,n,o]=e,i=Zt();let a=Zt();if(!Ar(t))throw Ui(en.INVALID_ARGUMENT);const l=t;return Qe(r)?i.key=r:Mt(r)&&Object.keys(r).forEach(s=>{S1.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Mt(n)&&(a=n),Mt(o)&&(a=o),[i.key||"",l,i,a]}function IR(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}function gb(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function mte(e){const t=Ar(e.pluralIndex)?e.pluralIndex:-1;return Ar(e.named?.count)?e.named.count:Ar(e.named?.n)?e.named.n:t}function pte(e={}){const t=e.locale,r=mte(e),n=Qe(t)&&mr(e.pluralRules?.[t])?e.pluralRules[t]:gb,o=n===gb?void 0:gb,i=y=>y[n(r,y.length,o)],a=e.list||[],l=y=>a[y],s=e.named||Zt();Ar(e.pluralIndex)&&(s.count||(s.count=e.pluralIndex),s.n||(s.n=e.pluralIndex));const d=y=>s[y];function u(y,x){const C=mr(e.messages)?e.messages(y,!!x):Bt(e.messages)?e.messages[y]:!1;return C||(e.parent?e.parent.message(y):Uz)}const f=y=>e.modifiers?e.modifiers[y]:Vz,m=mr(e.processor?.normalize)?e.processor.normalize:qz,g=mr(e.processor?.interpolate)?e.processor.interpolate:Gz,h=Qe(e.processor?.type)?e.processor.type:Kz,b={list:l,named:d,plural:i,linked:(y,...x)=>{const[C,w]=x;let S="text",P="";x.length===1?Bt(C)?(P=C.modifier||P,S=C.type||S):Qe(C)&&(P=C||P):x.length===2&&(Qe(C)&&(P=C||P),Qe(w)&&(S=w||S));const _=u(y,!0)(b),T=_===""||_===void 0?y:_,E=S==="vnode"&&xr(T)&&P?T[0]:T;return P?f(P)(E,S):E},message:u,type:h,interpolate:g,normalize:m,values:Mr(Zt(),a,s)};return b}function FR(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,d]=dx(...t),u=zt(d.missingWarn)?d.missingWarn:e.missingWarn,f=zt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=zt(d.escapeParameter)?d.escapeParameter:e.escapeParameter,g=!!d.resolvedMessage,h=Qe(d.default)||zt(d.default)?zt(d.default)?i?s:()=>s:d.default:r?i?s:()=>s:null,p=r||h!=null&&(Qe(h)||mr(h)),b=x1(e,d);m&&gte(d);let[y,x,C]=g?[s,b,l[b]||Zt()]:Mz(e,s,b,a,f,u),w=y,S=s;if(!g&&!(Qe(w)||li(w)||Gn(w))&&p&&(w=h,S=w),!g&&(!(Qe(w)||li(w)||Gn(w))||!Qe(x)))return o?-1:s;let P=!1;const _=()=>{P=!0},T=Gn(w)?w:Iz(e,s,x,w,S,_);if(P)return w;const E=bte(e,T,pte(xte(e,x,C,d)));let D=n?n(E,s):E;if(m&&Qe(D)&&(D=xee(D)),__INTLIFY_PROD_DEVTOOLS__){const M={timestamp:Date.now(),key:Qe(s)?s:Gn(w)?w.key:"",locale:x||(Gn(w)?w.locale:""),format:Qe(w)?w:Gn(w)?w.source:"",message:D};M.meta=Mr({},e.__meta,Wz()||{}),zz(M)}return D}function gte(e){xr(e.list)?e.list=e.list.map(t=>Qe(t)?CR(t):t):Bt(e.named)&&Object.keys(e.named).forEach(t=>{Qe(e.named[t])&&(e.named[t]=CR(e.named[t]))})}function Mz(e,t,r,n,o,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:d}=e,u=d(e,n,r);let f=Zt(),m,g=null;const h="translate";for(let p=0;p<u.length&&(m=u[p],f=a[m]||Zt(),(g=s(f,t))===null&&(g=f[t]),!(Qe(g)||li(g)||Gn(g)));p++)if(!vte(m,u)){const b=C1(e,t,m,i,h);b!==t&&(g=b)}return[g,m,f]}function Iz(e,t,r,n,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Gn(n)){const d=n;return d.locale=d.locale||r,d.key=d.key||t,d}if(a==null){const d=(()=>n);return d.locale=r,d.key=t,d}const s=a(n,yte(e,r,o,n,l,i));return s.locale=r,s.key=t,s.source=n,s}function bte(e,t,r){return t(r)}function dx(...e){const[t,r,n]=e,o=Zt();if(!Qe(t)&&!Ar(t)&&!Gn(t)&&!li(t))throw Ui(en.INVALID_ARGUMENT);const i=Ar(t)?String(t):(Gn(t),t);return Ar(r)?o.plural=r:Qe(r)?o.default=r:Mt(r)&&!hf(r)?o.named=r:xr(r)&&(o.list=r),Ar(n)?o.plural=n:Qe(n)?o.default=n:Mt(n)&&Mr(o,n),[i,o]}function yte(e,t,r,n,o,i){return{locale:t,key:r,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>bz(t,r,a)}}function xte(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:d,fallbackContext:u}=e,m={locale:t,modifiers:o,pluralRules:i,messages:(g,h)=>{let p=a(r,g);if(p==null&&(u||h)){const[b,,y]=Mz(u||e,g,t,l,s,d);p=b??a(y,g)}if(Qe(p)||li(p)){let b=!1;const x=Iz(e,g,t,p,g,()=>{b=!0});return b?Sx:x}else return Gn(p)?p:Sx}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),Ar(n.plural)&&(m.pluralIndex=n.plural),m}var ux,fx,hx,vx,mx,px,gx,bx,_1,Fz,Yd,gc,zz,en,bb,Mi,Dz,yx,Qo,Cte,Lz,_te,bc,wte,xx,Bz,Nz,Hz,yb,Cx,Wz,xb,_x,jz,wx,Ev,Cb,w1,S1,Vz,Uz,Kz,qz,Gz,Sx,Gn,Ste=c((()=>{g1(),Lee(),ux=["b","body"],fx=["c","cases"],hx=["s","static"],vx=["i","items"],mx=["t","type"],px=["v","value"],gx=["m","modifier"],bx=["k","key"],_1=[...ux,...fx,...hx,...vx,...bx,...gx,...px,...mx],Fz=e=>e,Yd=Zt(),gc=null,zz=Zee("function:translate"),en={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},en.INVALID_ARGUMENT,en.INVALID_DATE_ARGUMENT,en.INVALID_ISO_DATE_ARGUMENT,en.NOT_SUPPORT_NON_STRING_MESSAGE,en.NOT_SUPPORT_LOCALE_PROMISE_VALUE,en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,en.NOT_SUPPORT_LOCALE_TYPE,Mi=[],Mi[0]={w:[0],i:[3,0],"[":[4],o:[7]},Mi[1]={w:[1],".":[2],"[":[4],o:[7]},Mi[2]={w:[2],i:[3,0],0:[3,0]},Mi[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Mi[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Mi[5]={"'":[4,0],o:8,l:[5,0]},Mi[6]={'"':[4,0],o:8,l:[6,0]},Dz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,yx=new Map,Qo={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9},Cte={[Qo.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Qo.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Qo.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Qo.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Qo.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Qo.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Qo.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",[Qo.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[Qo.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."},Lz="11.4.4",_te=-1,bc="en-US",wte="",xx=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,yb=null,Cx=e=>{yb=e},Wz=()=>yb,xb=null,_x=e=>{xb=e},jz=()=>xb,wx=0,Ev=e=>({[e]:Zt()}),Cb=typeof Intl<"u",Cb&&Intl.DateTimeFormat,Cb&&Intl.NumberFormat,w1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"],S1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"],Vz=e=>e,Uz=e=>"",Kz="text",qz=e=>e.length===0?"":m1(e),Gz=wz,Sx=()=>"",Gn=e=>mr(e),Bee()}));function Pte(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1)}function zn(e,...t){return Gm(e,null,void 0)}function Bu(e){if(!Bt(e)||li(e))return e;for(const t in e)if(ao(e,t))if(!t.includes("."))Bt(e[t])&&Bu(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let a=0;a<n;a++){if(r[a]==="__proto__")throw new Error(`unsafe key: ${r[a]}`);if(r[a]in o||(o[r[a]]=Zt()),!Bt(o[r[a]])){i=!0;break}o=o[r[a]]}if(i||(li(o)?_1.includes(r[n])||delete e[t]:(o[r[n]]=e[t],delete e[t])),!li(o)){const a=o[r[n]];Bt(a)&&Bu(a)}}return e}function P1(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,a=Mt(r)?r:xr(n)?Zt():{[e]:Zt()};if(xr(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:d}=l;s?(a[s]=a[s]||Zt(),Tv(d,a[s])):Tv(d,a)}else Qe(l)&&Tv(JSON.parse(l),a)}),o==null&&i)for(const l in a)ao(a,l)&&Bu(a[l]);return a}function Yz(e){return e.type}function Xz(e,t,r){let n=Bt(t.messages)?t.messages:Zt();"__i18nGlobal"in r&&(n=P1(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])}),Bt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Bt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}function zR(e){return Ut(Lo,null,e,0)}function Nu(){const e="currentInstance";return e in Qk?Qk[e]:Pr()}function DR(e){return((t,r,n,o)=>e(r,n,Nu()||void 0,o))}function um(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,o=e.flatJson,i=Du?q:Rc;let a=zt(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&a?t.locale.value:Qe(e.locale)?e.locale:bc),s=i(t&&a?t.fallbackLocale.value:Qe(e.fallbackLocale)||xr(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),d=i(P1(l.value,e)),u=i(Mt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(Mt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let m=t?t.missingWarn:zt(e.missingWarn)||Bl(e.missingWarn)?e.missingWarn:!0,g=t?t.fallbackWarn:zt(e.fallbackWarn)||Bl(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:zt(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=mr(e.missing)?e.missing:null,y=mr(e.missing)?DR(e.missing):null,x=mr(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const S=t?t.modifiers:Mt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,_;_=(()=>{n&&_x(null);const $={version:Jz,locale:l.value,fallbackLocale:s.value,messages:d.value,modifiers:S,pluralRules:P,missing:y===null?void 0:y,missingWarn:m,fallbackWarn:g,fallbackFormat:p,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:C,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=u.value,$.numberFormats=f.value,$.__datetimeFormatters=Mt(_)?_.__datetimeFormatters:void 0,$.__numberFormatters=Mt(_)?_.__numberFormatters:void 0;const N=fte($);return n&&_x(N),N})(),$d(_,l.value,s.value);function E(){return[l.value,s.value,d.value,u.value,f.value]}const D=I({get:()=>l.value,set:$=>{_.locale=$,l.value=$}}),M=I({get:()=>s.value,set:$=>{_.fallbackLocale=$,s.value=$,$d(_,l.value,$)}}),W=I(()=>d.value),L=I(()=>u.value),H=I(()=>f.value);function V(){return mr(x)?x:null}function G($){x=$,_.postTranslation=$}function J(){return b}function Q($){$!==null&&(y=DR($)),b=$,_.missing=y}const de=($,N,pe,Ae,Ke,ze)=>{E();let Ge;try{__INTLIFY_PROD_DEVTOOLS__&&Cx(eD()),n||(_.fallbackContext=t?jz():void 0),Ge=$(_)}finally{__INTLIFY_PROD_DEVTOOLS__&&Cx(null),n||(_.fallbackContext=void 0)}if(pe!=="translate exists"&&Ar(Ge)&&Ge===-1||pe==="translate exists"&&!Ge){const[et,xt]=N();return t&&h?Ae(t):Ke(et)}else{if(ze(Ge))return Ge;throw zn(or.UNEXPECTED_RETURN_TYPE)}};function ke(...$){return de(N=>Reflect.apply(FR,null,[N,...$]),()=>dx(...$),"translate",N=>Reflect.apply(N.t,N,[...$]),N=>N,N=>Qe(N))}function le(...$){const[N,pe,Ae]=$;if(Ae&&!Bt(Ae))throw zn(or.INVALID_ARGUMENT);return ke(N,pe,Mr({resolvedMessage:!0},Ae||{}))}function ye(...$){return de(N=>Reflect.apply(OR,null,[N,...$]),()=>sx(...$),"datetime format",N=>Reflect.apply(N.d,N,[...$]),()=>"",N=>Qe(N)||xr(N))}function ue(...$){return de(N=>Reflect.apply(MR,null,[N,...$]),()=>cx(...$),"number format",N=>Reflect.apply(N.n,N,[...$]),()=>"",N=>Qe(N)||xr(N))}function oe($){return $.map(N=>Qe(N)||Ar(N)||zt(N)?zR(String(N)):N)}const xe={normalize:oe,interpolate:$=>$,type:"vnode"};function ae(...$){return de(N=>{let pe;const Ae=N;try{Ae.processor=xe,pe=Reflect.apply(FR,null,[Ae,...$])}finally{Ae.processor=null}return pe},()=>dx(...$),"translate",N=>N[fm](...$),N=>[zR(N)],N=>xr(N))}function Ce(...$){return de(N=>Reflect.apply(MR,null,[N,...$]),()=>cx(...$),"number format",N=>N[vm](...$),kx,N=>Qe(N)||xr(N))}function fe(...$){return de(N=>Reflect.apply(OR,null,[N,...$]),()=>sx(...$),"datetime format",N=>N[hm](...$),kx,N=>Qe(N)||xr(N))}function he($){P=$,_.pluralRules=P}function se($,N){return de(()=>{if(!$)return!1;const pe=Qe(N)?N:l.value,Ae=Qe(N)?[pe]:lx(_,s.value,pe);for(let Ke=0;Ke<Ae.length;Ke++){const ze=K(Ae[Ke]);let Ge=_.messageResolver(ze,$);if(Ge===null&&(Ge=ze[$]),li(Ge)||Gn(Ge)||Qe(Ge))return!0}return!1},()=>[$],"translate exists",pe=>Reflect.apply(pe.te,pe,[$,N]),Qz,pe=>zt(pe))}function Ie($){let N=null;const pe=lx(_,s.value,l.value);for(let Ae=0;Ae<pe.length;Ae++){const Ke=d.value[pe[Ae]]||{},ze=_.messageResolver(Ke,$);if(ze!=null){N=ze;break}}return N}function F($){const N=Ie($);return N??(t?t.tm($)||{}:{})}function K($){return d.value[$]||{}}function ne($,N){if(o){const pe={[$]:N};for(const Ae in pe)ao(pe,Ae)&&Bu(pe[Ae]);N=pe[$]}d.value[$]=N,_.messages=d.value}function be($,N){d.value[$]=d.value[$]||{};const pe={[$]:N};if(o)for(const Ae in pe)ao(pe,Ae)&&Bu(pe[Ae]);N=pe[$],Tv(N,d.value[$]),_.messages=d.value}function B($){return u.value[$]||{}}function R($,N){u.value[$]=N,_.datetimeFormats=u.value,AR(_,$,N)}function O($,N){u.value[$]=Mr(u.value[$]||{},N),_.datetimeFormats=u.value,AR(_,$,N)}function Z($){return f.value[$]||{}}function re($,N){f.value[$]=N,_.numberFormats=f.value,IR(_,$,N)}function X($,N){f.value[$]=Mr(f.value[$]||{},N),_.numberFormats=f.value,IR(_,$,N)}Rx++,t&&Du&&(nt(t.locale,$=>{a&&(l.value=$,_.locale=$,$d(_,l.value,s.value))}),nt(t.fallbackLocale,$=>{a&&(s.value=$,_.fallbackLocale=$,$d(_,l.value,s.value))}));const U={id:Rx,locale:D,fallbackLocale:M,get inheritLocale(){return a},set inheritLocale($){a=$,$&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,$d(_,l.value,s.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:W,get modifiers(){return S},get pluralRules(){return P||{}},get isGlobal(){return n},get missingWarn(){return m},set missingWarn($){m=$,_.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn($){g=$,_.fallbackWarn=g},get fallbackRoot(){return h},set fallbackRoot($){h=$},get fallbackFormat(){return p},set fallbackFormat($){p=$,_.fallbackFormat=p},get warnHtmlMessage(){return C},set warnHtmlMessage($){C=$,_.warnHtmlMessage=$},get escapeParameter(){return w},set escapeParameter($){w=$,_.escapeParameter=$},t:ke,getLocaleMessage:K,setLocaleMessage:ne,mergeLocaleMessage:be,getPostTranslationHandler:V,setPostTranslationHandler:G,getMissingHandler:J,setMissingHandler:Q,[k1]:he};return U.datetimeFormats=L,U.numberFormats=H,U.rt=le,U.te=se,U.tm=F,U.d=ye,U.n=ue,U.getDateTimeFormat=B,U.setDateTimeFormat=R,U.mergeDateTimeFormat=O,U.getNumberFormat=Z,U.setNumberFormat=re,U.mergeNumberFormat=X,U[R1]=r,U[fm]=ae,U[hm]=fe,U[vm]=Ce,U}function kte(e){const t=Qe(e.locale)?e.locale:bc,r=Qe(e.fallbackLocale)||xr(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=mr(e.missing)?e.missing:void 0,o=zt(e.silentTranslationWarn)||Bl(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=zt(e.silentFallbackWarn)||Bl(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=zt(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,s=Mt(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=mr(e.postTranslation)?e.postTranslation:void 0,f=Qe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,g=zt(e.sync)?e.sync:!0;let h=e.messages;if(Mt(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((P,_)=>(Mr(P[_]||(P[_]={}),S[_]),P),h||{})}const{__i18n:p,__root:b,__injectWithOption:y}=e,x=e.datetimeFormats,C=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:w,datetimeFormats:x,numberFormats:C,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:d,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:g,__i18n:p,__root:b,__injectWithOption:y}}function Px(e={}){const t=um(kte(e)),{__extender:r}=e,n={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return zt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=zt(o)?!o:o},get silentFallbackWarn(){return zt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=zt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return n.__extender=r,n}function Rte(e,t,r){return{beforeCreate(){const n=Nu();if(!n)throw zn(or.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=LR(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Px(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=LR(e,o);else{this.$i18n=Px({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Xz(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Nu();if(!n)throw zn(or.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function LR(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[k1](t.pluralizationRules||e.pluralizationRules);const r=P1(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}function $te({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,n)=>[...r,...n.type===yt?n.children:[n]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},Zt())}function Zz(){return yt}function Tte(e){return xr(e)&&!Qe(e[0])}function BR(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const d={part:!0};let u=Zt();e.locale&&(d.locale=e.locale),Qe(e.format)?d.key=e.format:Bt(e.format)&&(Qe(e.format.key)&&(d.key=e.format.key),u=Object.keys(e.format).reduce((g,h)=>r.includes(h)?Mr(Zt(),g,{[h]:e.format[h]}):g,Zt()));const f=n(e.value,d,u);let m=[d.key];return xr(f)?m=f.map((g,h)=>{const p=o[g.type],b=p?p({[g.type]:g.value,index:h,parts:f}):[g.value];return Tte(b)&&(b[0].key=`${g.type}-${h}`),b}):Qe(f)&&(m=[f]),m},l=Mr(Zt(),i),s=Qe(e.tag)||Bt(e.tag)?e.tag:Zz();return Bt(s)?v(s,l,{default:a}):v(s,l,a())}}function Ete(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Ote(e){const t=a=>{const{instance:l,value:s}=a;if(!l||!l.$)throw zn(or.UNEXPECTED_ERROR);const d=Ete(e,l.$),u=NR(s);return[Reflect.apply(d.t,d,[...HR(u)]),d]};return{created:(a,l)=>{const[s,d]=t(l);Du&&(a.__i18nWatcher=nt(d.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=d,a.textContent=s},unmounted:a=>{Du&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const s=a.__composer,d=NR(l);a.textContent=Reflect.apply(s.t,s,[...HR(d)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function NR(e){if(Qe(e))return{path:e};if(Mt(e)){if(!("path"in e))throw zn(or.REQUIRED_VALUE,"path");return e}else throw zn(or.INVALID_VALUE)}function HR(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},l=n||{};return Qe(r)&&(a.locale=r),Ar(o)&&(a.plural=o),Ar(i)&&(a.plural=i),[t,l,a]}function Ate(e,t,...r){const n=Mt(r[0])?r[0]:{};(!zt(n.globalInstall)||n.globalInstall)&&([$x.name,"I18nT"].forEach(o=>e.component(o,$x)),[Tx.name,"I18nN"].forEach(o=>e.component(o,Tx)),[Ox.name,"I18nD"].forEach(o=>e.component(o,Ox))),e.directive("t",Ote(t))}function Mte(e={}){const t=__VUE_I18N_LEGACY_API__&&zt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=zt(e.globalInjection)?e.globalInjection:!0,n=new Map,[o,i]=Ite(e,t),a=ri("");function l(f){return n.get(f)||null}function s(f,m){n.set(f,m)}function d(f){n.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...m){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,u),Mt(m[0])){const p=m[0];u.__composerExtend=p.__composerExtend,u.__vueI18nExtend=p.__vueI18nExtend}let g=null;!t&&r&&(g=Nte(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Ate(f,u,...m),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Rte(i,i.__composer,u));const h=f.unmount;f.unmount=()=>{g&&g(),u.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:n,__getInstance:l,__setInstance:s,__deleteInstance:d};return u}function uu(e={}){const t=Nu();if(t==null)throw zn(or.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw zn(or.NOT_INSTALLED);const r=Fte(t),n=Dte(r),o=Yz(t),i=zte(e,o);if(i==="global")return Xz(n,e,o),n;if(i==="parent"){let s=WR(r,t,e.__useComponent);return s==null&&(s=n),s}if(i==="isolated"){if(r.mode!=="composition")throw zn(or.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const s=r,d=Mr({},e);d.__root=WR(r,t)||n;const u=um(d);return s.__composerExtend&&(u[kl]=s.__composerExtend(u)),Mm()&&p_(()=>{const f=u[kl];f&&(f(),delete u[kl])}),u}const a=r;let l=a.__getInstance(t);if(l==null){const s=Mr({},e);"__i18n"in o&&(s.__i18n=o.__i18n),n&&(s.__root=n),l=um(s),a.__composerExtend&&(l[kl]=a.__composerExtend(l)),Bte(a,t,l),a.__setInstance(t,l)}return l}function Ite(e,t){const r=Am(),n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Px(e)):r.run(()=>um(e));if(n==null)throw zn(or.UNEXPECTED_ERROR);return[r,n]}function Fte(e){const t=He(e.isCE?tD:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw zn(e.isCE?or.NOT_INSTALLED_WITH_PROVIDE:or.UNEXPECTED_ERROR);return t}function zte(e,t){return hf(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Dte(e){return e.mode==="composition"?e.global:e.global.__composer}function WR(e,t,r=!1){let n=null;const o=t.root;let i=Lte(t,r);for(;i!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=a.__getInstance(i);l!=null&&(n=l.__composer,r&&n&&!n[R1]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function Lte(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Bte(e,t,r){Ht(()=>{},t),go(()=>{const n=r;e.__deleteInstance(t);const o=n[kl];o&&(o(),delete n[kl])},t)}function Nte(e,t){const r=Object.create(null);return rD.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw zn(or.UNEXPECTED_ERROR);const a=hr(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,o,a)}),e.config.globalProperties.$i18n=r,Ex.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw zn(or.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Ex.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var Jz,or,fm,hm,vm,k1,R1,kl,ll,_b,kx,Qz,Rx,eD,Xh,$x,Tx,tD,rD,Ex,Ox,$1=c((()=>{if(Ste(),g1(),Y(),Jz="11.4.4",or={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34},or.UNEXPECTED_RETURN_TYPE,or.INVALID_ARGUMENT,or.MUST_BE_CALL_SETUP_TOP,or.NOT_INSTALLED,or.UNEXPECTED_ERROR,or.REQUIRED_VALUE,or.INVALID_VALUE,or.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,or.NOT_INSTALLED_WITH_PROVIDE,or.NOT_COMPATIBLE_LEGACY_VUE_I18N,or.NOT_AVAILABLE_COMPOSITION_IN_LEGACY,fm=ri("__translateVNode"),hm=ri("__datetimeParts"),vm=ri("__numberParts"),k1=ri("__setPluralRules"),ri("__intlifyMeta"),R1=ri("__injectWithOption"),kl=ri("__dispose"),ll={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15},ll.FALLBACK_TO_ROOT,ll.NOT_FOUND_PARENT_SCOPE,ll.IGNORE_OBJ_FLATTEN,ll.DEPRECATE_LEGACY_MODE,ll.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,ll.DUPLICATE_USE_I18N_CALLING,_b="__INTLIFY_META__",kx=()=>[],Qz=()=>!1,Rx=0,eD=()=>{const e=Nu();let t=null;return e&&(t=Yz(e)[_b])?{[_b]:t}:null},Xh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},$x=Re({name:"i18n-t",props:Mr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ar(e)||!isNaN(e)}},Xh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||uu({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const s=Object.keys(r).filter(f=>f[0]!=="_"),d=Zt();e.locale&&(d.locale=e.locale),e.plural!==void 0&&(d.plural=Qe(e.plural)?+e.plural:e.plural);const u=$te(t,s);return o[fm](e.keypath,u,d)},a=Mr(Zt(),n),l=Qe(e.tag)||Bt(e.tag)?e.tag:Zz();return Bt(l)?v(l,a,{default:i}):v(l,a,i())}}}),Tx=Re({name:"i18n-n",props:Mr({value:{type:Number,required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||uu({useScope:e.scope,__useComponent:!0});return BR(e,t,S1,(...n)=>r[vm](...n))}}),tD=ri("global-vue-i18n"),rD=["locale","fallbackLocale","availableLocales"],Ex=["t","rt","d","n","tm","te"],Ox=Re({name:"i18n-d",props:Mr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||uu({useScope:e.scope,__useComponent:!0});return BR(e,t,w1,(...n)=>r[hm](...n))}}),Pte(),cte(Gee),dte(lte),ute(lx),__INTLIFY_PROD_DEVTOOLS__){const e=wa();e.__INTLIFY__=!0,Yee(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}}));N4();$1();qm();var Ov=["en","zh","zh-TW","ja","ko","fr","es","de","pt","ru","ar"];function jR(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function T1(e,t){const r={...e};for(const[n,o]of Object.entries(t)){const i=e[n];r[n]=jR(i)&&jR(o)?T1(i,o):o}return r}var Hte={en:()=>it(()=>import("./en-D6VVFwFU.js"),[]),zh:()=>it(()=>import("./zh-BDlMioZr.js"),[]),"zh-TW":()=>it(()=>import("./zh-TW-DTbLWR1A.js"),[]),ja:()=>it(()=>import("./ja-C1bBXgr_.js"),[]),ko:()=>it(()=>import("./ko-qgOeHd8L.js"),[]),fr:()=>it(()=>import("./fr-C2lf0cY2.js"),[]),es:()=>it(()=>import("./es-BIMLuyVP.js"),[]),de:()=>it(()=>import("./de-LDpd8WHJ.js"),[]),pt:()=>it(()=>import("./pt-D7_udWb3.js"),[]),ru:()=>it(()=>import("./ru-CVQQmreT.js"),[]),ar:()=>it(()=>import("./ar-Gk9y3ZfO.js"),[])},wb=new Map;function Ax(e){const t=wb.get(e);if(t)return t;const r=Hte[e]().then(n=>n.default).catch(n=>{throw wb.delete(e),n});return wb.set(e,r),r}var Wte=new Set(["ar","fa","he","iw","ur","ps","sd","ug","yi"]);function nD(e){const t=e.split(/[-_]/)[0]?.toLowerCase()??"";return Wte.has(t)}function jte(e){return nD(e)?"rtl":"ltr"}function Vte(e){document.documentElement.dir=jte(e)}var Ute=localStorage.getItem("hermes_locale");function Kte(e){if(e&&Ov.includes(e))return e;function t(r){const n=r.toLowerCase();if(n.startsWith("zh"))return n.includes("hant")||n.includes("-tw")||n.includes("-hk")||n.includes("-mo")?"zh-TW":"zh";const o=r.slice(0,2);return Ov.includes(r)?r:Ov.includes(o)?o:null}for(const r of navigator.languages){const n=t(r);if(n)return n}return"en"}function oD(e){document.documentElement.lang=e,Vte(e)}var Ds=Kte(Ute);oD(Ds);async function qte(){const e=Ax("en"),t=Ds==="en"?e:Ax(Ds),[r,n]=await Promise.all([e,t]);return Mte({legacy:!1,locale:Ds,fallbackLocale:"en",messages:Ds==="en"?{en:r}:{en:r,[Ds]:T1(r,n)}})}var iD=qte(),Sb=0;async function pwe(e){if(!Ov.includes(e))return;const t=(await iD).global,r=e,n=++Sb;if(!t.availableLocales.includes(r)){const o=await Ax(r);if(n!==Sb)return;t.setLocaleMessage(r,r==="en"?o:T1(t.getLocaleMessage("en"),o))}n===Sb&&(t.locale.value=r,oD(r),localStorage.setItem("hermes_locale",r))}var Gte,Yte=c((()=>{Gte="/logo.png"}));function Xte(e){let t=".",r="__",n="--",o;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(r=h),h=e.modifierPrefix,h&&(n=h)}const i={install(h){o=h.c;const p=h.context;p.bem={},p.bem.b=null,p.bem.els=null}};function a(h){let p,b;return{before(y){p=y.bem.b,b=y.bem.els,y.bem.els=null},after(y){y.bem.b=p,y.bem.els=b},$({context:y,props:x}){return h=typeof h=="string"?h:h({context:y,props:x}),y.bem.b=h,`${x?.bPrefix||t}${y.bem.b}`}}}function l(h){let p;return{before(b){p=b.bem.els},after(b){b.bem.els=p},$({context:b,props:y}){return h=typeof h=="string"?h:h({context:b,props:y}),b.bem.els=h.split(",").map(x=>x.trim()),b.bem.els.map(x=>`${y?.bPrefix||t}${b.bem.b}${r}${x}`).join(", ")}}}function s(h){return{$({context:p,props:b}){h=typeof h=="string"?h:h({context:p,props:b});const y=h.split(",").map(w=>w.trim());function x(w){return y.map(S=>`&${b?.bPrefix||t}${p.bem.b}${w!==void 0?`${r}${w}`:""}${n}${S}`).join(", ")}const C=p.bem.els;return C!==null?x(C[0]):x()}}}function d(h){return{$({context:p,props:b}){h=typeof h=="string"?h:h({context:p,props:b});const y=p.bem.els;return`&:not(${b?.bPrefix||t}${p.bem.b}${y!==null&&y.length>0?`${r}${y[0]}`:""}${n}${h})`}}}return Object.assign(i,{cB:((...h)=>o(a(h[0]),h[1],h[2])),cE:((...h)=>o(l(h[0]),h[1],h[2])),cM:((...h)=>o(s(h[0]),h[1],h[2])),cNotM:((...h)=>o(d(h[0]),h[1],h[2]))}),i}var Zte=c((()=>{}));function Jte(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}function Qte(e,t){const r=[];return t.split(E1).forEach(n=>{let o=Jte(n);if(o){if(o===1){e.forEach(a=>{r.push(n.replace("&",a))});return}}else{e.forEach(a=>{r.push((a&&a+" ")+n)});return}let i=[n];for(;o--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>r.push(a))}),r}function ere(e,t){const r=[];return t.split(E1).forEach(n=>{e.forEach(o=>{r.push((o&&o+" ")+n)})}),r}function tre(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=Qte(t,r):t=ere(t,r))}),t.join(", ").replace(aD," ")}var E1,aD,rre=c((()=>{E1=/\s*,(?![^(]*\))\s*/g,aD=/\s+/g}));function VR(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Ym(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function nre(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Zh(e){return e?/^\s*@(s|m)/.test(e):!1}var Xm=c((()=>{}));function lD(e){return e.replace(cD,t=>"-"+t.toLowerCase())}function ore(e,t=" "){return typeof e=="object"&&e!==null?` {
7
+ `,i=t.needIndent?t.needIndent:r!=="arrow",a=e.helpers||[],l=Oee(e,{filename:n,breakLineCode:o,needIndent:i});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${m1(a.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),pc(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:s,map:d}=l.context();return{ast:e,code:s,map:d?d.toJSON():void 0}}}));function Bee(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function li(e){return Bt(e)&&y1(e)===0&&(ao(e,"b")||ao(e,"body"))}function Nee(e){return Da(e,ux)}function Hee(e){return Da(e,fx,[])}function Wee(e){return Da(e,hx)}function jee(e){return Da(e,vx,[])}function y1(e){return Da(e,mx)}function Yh(e,t){const r=Da(e,px);if(r!=null)return r;throw Lu(t)}function Vee(e){return Da(e,gx)}function Uee(e){const t=Da(e,bx);if(t)return t;throw Lu(6)}function Da(e,t,r){for(let n=0;n<t.length;n++){const o=t[n];if(ao(e,o)&&e[o]!=null)return e[o]}return r}function Lu(e){return new Error(`unhandled node type: ${e}`)}function pb(e){return r=>Kee(r,e)}function Kee(e,t){const r=Nee(t);if(r==null)throw Lu(0);if(y1(r)===1){const n=Hee(r);return e.plural(n.reduce((o,i)=>[...o,$R(e,i)],[]))}else return $R(e,r)}function $R(e,t){const r=Wee(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=jee(t).reduce((o,i)=>[...o,ax(e,i)],[]);return e.normalize(n)}}function ax(e,t){const r=y1(t);switch(r){case 3:return Yh(t,r);case 9:return Yh(t,r);case 4:{const n=t;if(ao(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(ao(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Lu(r)}case 5:{const n=t;if(ao(n,"i")&&Ar(n.i))return e.interpolate(e.list(n.i));if(ao(n,"index")&&Ar(n.index))return e.interpolate(e.list(n.index));throw Lu(r)}case 6:{const n=t,o=Vee(n),i=Uee(n);return e.linked(ax(e,i),o?ax(e,o):void 0,e.type)}case 7:return Yh(t,r);case 8:return Yh(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}function qee(e,t={}){let r=!1;const n=t.onError||_ee;return t.onError=o=>{r=!0,n(o)},{...zee(e,t),detectError:r}}function Gee(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Qe(e)){zt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Fz)(e),n=Yd[r];if(n)return n;const{ast:o,detectError:i}=qee(e,{...t,location:!1,jit:!0}),a=pb(o);return i?a:Yd[r]=a}else{const r=e.cacheKey;if(r){const n=Yd[r];return n||(Yd[r]=pb(e))}else return pb(e)}}function Yee(e){gc=e}function Xee(e,t,r){gc&&gc.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}function Zee(e){return t=>gc&&gc.emit(e,t)}function Ui(e){return Gm(e,null,void 0)}function x1(e,t){return t.locale!=null?TR(t.locale):TR(e.locale)}function TR(e){if(Qe(e))return e;if(mr(e)){if(e.resolvedOnce&&bb!=null)return bb;if(e.constructor.name==="Function"){const t=e();if(_z(t))throw Ui(en.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return bb=t}else throw Ui(en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ui(en.NOT_SUPPORT_LOCALE_TYPE)}function Jee(e,t,r){return[...new Set([r,...xr(t)?t:Bt(t)?Object.keys(t):Qe(t)?[t]:[r]])]}function lx(e,t,r){const n=Qe(r)?r:bc,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let a=[r];for(;xr(a);)a=ER(i,a,t);const l=xr(t)||!Mt(t)?t:t.default?t.default:null;a=Qe(l)?[l]:l,xr(a)&&ER(i,a,!1),o.__localeChainCache.set(n,i)}return i}function ER(e,t,r){let n=!0;for(let o=0;o<t.length&&zt(n);o++){const i=t[o];Qe(i)&&(n=Qee(e,t[o],r))}return n}function Qee(e,t,r){let n;const o=t.split("-");do n=ete(e,o.join("-"),r),o.splice(-1,1);while(o.length&&n===!0);return n}function ete(e,t,r){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(xr(r)||Mt(r))&&r[o]&&(n=r[o])}return n}function tte(e){return Dz.test(e)}function rte(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function nte(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ote(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tte(t)?rte(t):"*"+t}function ite(e){const t=[];let r=-1,n=0,o=0,i,a,l,s,d,u,f;const m=[];m[0]=()=>{a===void 0?a=l:a+=l},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,n=4,m[0]();else{if(o=0,a===void 0||(a=ote(a),a===!1))return!1;m[1]()}};function g(){const h=e[r+1];if(n===5&&h==="'"||n===6&&h==='"')return r++,l="\\"+h,m[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&g())){if(s=nte(i),f=Mi[n],d=f[s]||f.l||8,d===8||(n=d[0],d[1]!==void 0&&(u=m[d[1]],u&&(l=i,u()===!1))))return;if(n===7)return t}}function ate(e,t){return Bt(e)?e[t]:null}function lte(e,t){if(!Bt(e))return null;let r=yx.get(t);if(r||(r=ite(t),r&&yx.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;for(;i<n;){const a=r[i];if(_1.includes(a)&&li(o)||!Bt(o)||!ao(o,a))return null;const l=o[a];if(l===void 0||mr(o))return null;o=l,i++}return o}function ste(){return{upper:(e,t)=>t==="text"&&Qe(e)?e.toUpperCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Qe(e)?e.toLowerCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Qe(e)?xx(e):t==="vnode"&&Bt(e)&&"__v_isVNode"in e?xx(e.children):e}}function cte(e){Bz=e}function dte(e){Nz=e}function ute(e){Hz=e}function fte(e={}){const t=mr(e.onWarn)?e.onWarn:gee,r=Qe(e.version)?e.version:Lz,n=Qe(e.locale)||mr(e.locale)?e.locale:bc,o=mr(n)?bc:n,i=xr(e.fallbackLocale)||Mt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=Mt(e.messages)?e.messages:Ev(o),l=Mt(e.datetimeFormats)?e.datetimeFormats:Ev(o),s=Mt(e.numberFormats)?e.numberFormats:Ev(o),d=Mr(Zt(),e.modifiers,ste()),u=e.pluralRules||Zt(),f=mr(e.missing)?e.missing:null,m=zt(e.missingWarn)||Bl(e.missingWarn)?e.missingWarn:!0,g=zt(e.fallbackWarn)||Bl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,p=!!e.unresolving,b=mr(e.postTranslation)?e.postTranslation:null,y=Mt(e.processor)?e.processor:null,x=zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,w=mr(e.messageCompiler)?e.messageCompiler:Bz,S=mr(e.messageResolver)?e.messageResolver:Nz||ate,P=mr(e.localeFallbacker)?e.localeFallbacker:Hz||Jee,_=Bt(e.fallbackContext)?e.fallbackContext:void 0,T=e,E=Bt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,D=Bt(T.__numberFormatters)?T.__numberFormatters:new Map,M=Bt(T.__meta)?T.__meta:{};wx++;const W={version:r,cid:wx,locale:n,fallbackLocale:i,messages:a,modifiers:d,pluralRules:u,missing:f,missingWarn:m,fallbackWarn:g,fallbackFormat:h,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:x,escapeParameter:C,messageCompiler:w,messageResolver:S,localeFallbacker:P,fallbackContext:_,onWarn:t,__meta:M};return W.datetimeFormats=l,W.numberFormats=s,W.__datetimeFormatters=E,W.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&Xee(W,r,M),W}function C1(e,t,r,n,o){const{missing:i,onWarn:a}=e;if(i!==null){const l=i(e,r,t,o);return Qe(l)?l:t}else return t}function $d(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function hte(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vte(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n<t.length;n++)if(hte(e,t[n]))return!0;return!1}function OR(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(!Qe(t[0])&&!p1(t[0])&&!Ar(t[0]))return"";const[s,d,u,f]=sx(...t),m=zt(u.missingWarn)?u.missingWarn:e.missingWarn;zt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,h=x1(e,u),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(d);let b={},y,x=null;const C="datetime format";for(let P=0;P<p.length&&(y=p[P],b=r[y]||{},x=b[s],!Mt(x));P++)C1(e,s,y,m,C);if(!Mt(x)||!Qe(y))return n?-1:s;let w=`${y}__${s}`;hf(f)||(w=`${w}__${JSON.stringify(f)}`);let S=l.get(w);return S||(S=new Intl.DateTimeFormat(y,Mr({},x,f)),l.set(w,S)),g?S.formatToParts(d):S.format(d)}function sx(...e){const[t,r,n,o]=e,i=Zt();let a=Zt(),l;if(Qe(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Ui(en.INVALID_ISO_DATE_ARGUMENT);const d=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();l=new Date(d);try{l.toISOString()}catch{throw Ui(en.INVALID_ISO_DATE_ARGUMENT)}}else if(p1(t)){if(isNaN(t.getTime()))throw Ui(en.INVALID_DATE_ARGUMENT);l=t}else if(Ar(t))l=t;else throw Ui(en.INVALID_ARGUMENT);return Qe(r)?i.key=r:Mt(r)&&Object.keys(r).forEach(s=>{w1.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Mt(n)&&(a=n),Mt(o)&&(a=o),[i.key||"",l,i,a]}function AR(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function MR(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(!Ar(t[0]))return"";const[s,d,u,f]=cx(...t),m=zt(u.missingWarn)?u.missingWarn:e.missingWarn;zt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,h=x1(e,u),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(d);let b={},y,x=null;const C="number format";for(let P=0;P<p.length&&(y=p[P],b=r[y]||{},x=b[s],!Mt(x));P++)C1(e,s,y,m,C);if(!Mt(x)||!Qe(y))return n?-1:s;let w=`${y}__${s}`;hf(f)||(w=`${w}__${JSON.stringify(f)}`);let S=l.get(w);return S||(S=new Intl.NumberFormat(y,Mr({},x,f)),l.set(w,S)),g?S.formatToParts(d):S.format(d)}function cx(...e){const[t,r,n,o]=e,i=Zt();let a=Zt();if(!Ar(t))throw Ui(en.INVALID_ARGUMENT);const l=t;return Qe(r)?i.key=r:Mt(r)&&Object.keys(r).forEach(s=>{S1.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Mt(n)&&(a=n),Mt(o)&&(a=o),[i.key||"",l,i,a]}function IR(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}function gb(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function mte(e){const t=Ar(e.pluralIndex)?e.pluralIndex:-1;return Ar(e.named?.count)?e.named.count:Ar(e.named?.n)?e.named.n:t}function pte(e={}){const t=e.locale,r=mte(e),n=Qe(t)&&mr(e.pluralRules?.[t])?e.pluralRules[t]:gb,o=n===gb?void 0:gb,i=y=>y[n(r,y.length,o)],a=e.list||[],l=y=>a[y],s=e.named||Zt();Ar(e.pluralIndex)&&(s.count||(s.count=e.pluralIndex),s.n||(s.n=e.pluralIndex));const d=y=>s[y];function u(y,x){const C=mr(e.messages)?e.messages(y,!!x):Bt(e.messages)?e.messages[y]:!1;return C||(e.parent?e.parent.message(y):Uz)}const f=y=>e.modifiers?e.modifiers[y]:Vz,m=mr(e.processor?.normalize)?e.processor.normalize:qz,g=mr(e.processor?.interpolate)?e.processor.interpolate:Gz,h=Qe(e.processor?.type)?e.processor.type:Kz,b={list:l,named:d,plural:i,linked:(y,...x)=>{const[C,w]=x;let S="text",P="";x.length===1?Bt(C)?(P=C.modifier||P,S=C.type||S):Qe(C)&&(P=C||P):x.length===2&&(Qe(C)&&(P=C||P),Qe(w)&&(S=w||S));const _=u(y,!0)(b),T=_===""||_===void 0?y:_,E=S==="vnode"&&xr(T)&&P?T[0]:T;return P?f(P)(E,S):E},message:u,type:h,interpolate:g,normalize:m,values:Mr(Zt(),a,s)};return b}function FR(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,d]=dx(...t),u=zt(d.missingWarn)?d.missingWarn:e.missingWarn,f=zt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=zt(d.escapeParameter)?d.escapeParameter:e.escapeParameter,g=!!d.resolvedMessage,h=Qe(d.default)||zt(d.default)?zt(d.default)?i?s:()=>s:d.default:r?i?s:()=>s:null,p=r||h!=null&&(Qe(h)||mr(h)),b=x1(e,d);m&&gte(d);let[y,x,C]=g?[s,b,l[b]||Zt()]:Mz(e,s,b,a,f,u),w=y,S=s;if(!g&&!(Qe(w)||li(w)||Gn(w))&&p&&(w=h,S=w),!g&&(!(Qe(w)||li(w)||Gn(w))||!Qe(x)))return o?-1:s;let P=!1;const _=()=>{P=!0},T=Gn(w)?w:Iz(e,s,x,w,S,_);if(P)return w;const E=bte(e,T,pte(xte(e,x,C,d)));let D=n?n(E,s):E;if(m&&Qe(D)&&(D=xee(D)),__INTLIFY_PROD_DEVTOOLS__){const M={timestamp:Date.now(),key:Qe(s)?s:Gn(w)?w.key:"",locale:x||(Gn(w)?w.locale:""),format:Qe(w)?w:Gn(w)?w.source:"",message:D};M.meta=Mr({},e.__meta,Wz()||{}),zz(M)}return D}function gte(e){xr(e.list)?e.list=e.list.map(t=>Qe(t)?CR(t):t):Bt(e.named)&&Object.keys(e.named).forEach(t=>{Qe(e.named[t])&&(e.named[t]=CR(e.named[t]))})}function Mz(e,t,r,n,o,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:d}=e,u=d(e,n,r);let f=Zt(),m,g=null;const h="translate";for(let p=0;p<u.length&&(m=u[p],f=a[m]||Zt(),(g=s(f,t))===null&&(g=f[t]),!(Qe(g)||li(g)||Gn(g)));p++)if(!vte(m,u)){const b=C1(e,t,m,i,h);b!==t&&(g=b)}return[g,m,f]}function Iz(e,t,r,n,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Gn(n)){const d=n;return d.locale=d.locale||r,d.key=d.key||t,d}if(a==null){const d=(()=>n);return d.locale=r,d.key=t,d}const s=a(n,yte(e,r,o,n,l,i));return s.locale=r,s.key=t,s.source=n,s}function bte(e,t,r){return t(r)}function dx(...e){const[t,r,n]=e,o=Zt();if(!Qe(t)&&!Ar(t)&&!Gn(t)&&!li(t))throw Ui(en.INVALID_ARGUMENT);const i=Ar(t)?String(t):(Gn(t),t);return Ar(r)?o.plural=r:Qe(r)?o.default=r:Mt(r)&&!hf(r)?o.named=r:xr(r)&&(o.list=r),Ar(n)?o.plural=n:Qe(n)?o.default=n:Mt(n)&&Mr(o,n),[i,o]}function yte(e,t,r,n,o,i){return{locale:t,key:r,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>bz(t,r,a)}}function xte(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:d,fallbackContext:u}=e,m={locale:t,modifiers:o,pluralRules:i,messages:(g,h)=>{let p=a(r,g);if(p==null&&(u||h)){const[b,,y]=Mz(u||e,g,t,l,s,d);p=b??a(y,g)}if(Qe(p)||li(p)){let b=!1;const x=Iz(e,g,t,p,g,()=>{b=!0});return b?Sx:x}else return Gn(p)?p:Sx}};return e.processor&&(m.processor=e.processor),n.list&&(m.list=n.list),n.named&&(m.named=n.named),Ar(n.plural)&&(m.pluralIndex=n.plural),m}var ux,fx,hx,vx,mx,px,gx,bx,_1,Fz,Yd,gc,zz,en,bb,Mi,Dz,yx,Qo,Cte,Lz,_te,bc,wte,xx,Bz,Nz,Hz,yb,Cx,Wz,xb,_x,jz,wx,Ev,Cb,w1,S1,Vz,Uz,Kz,qz,Gz,Sx,Gn,Ste=c((()=>{g1(),Lee(),ux=["b","body"],fx=["c","cases"],hx=["s","static"],vx=["i","items"],mx=["t","type"],px=["v","value"],gx=["m","modifier"],bx=["k","key"],_1=[...ux,...fx,...hx,...vx,...bx,...gx,...px,...mx],Fz=e=>e,Yd=Zt(),gc=null,zz=Zee("function:translate"),en={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},en.INVALID_ARGUMENT,en.INVALID_DATE_ARGUMENT,en.INVALID_ISO_DATE_ARGUMENT,en.NOT_SUPPORT_NON_STRING_MESSAGE,en.NOT_SUPPORT_LOCALE_PROMISE_VALUE,en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,en.NOT_SUPPORT_LOCALE_TYPE,Mi=[],Mi[0]={w:[0],i:[3,0],"[":[4],o:[7]},Mi[1]={w:[1],".":[2],"[":[4],o:[7]},Mi[2]={w:[2],i:[3,0],0:[3,0]},Mi[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Mi[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Mi[5]={"'":[4,0],o:8,l:[5,0]},Mi[6]={'"':[4,0],o:8,l:[6,0]},Dz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,yx=new Map,Qo={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9},Cte={[Qo.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Qo.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Qo.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Qo.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Qo.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Qo.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Qo.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",[Qo.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[Qo.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."},Lz="11.4.4",_te=-1,bc="en-US",wte="",xx=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,yb=null,Cx=e=>{yb=e},Wz=()=>yb,xb=null,_x=e=>{xb=e},jz=()=>xb,wx=0,Ev=e=>({[e]:Zt()}),Cb=typeof Intl<"u",Cb&&Intl.DateTimeFormat,Cb&&Intl.NumberFormat,w1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"],S1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"],Vz=e=>e,Uz=e=>"",Kz="text",qz=e=>e.length===0?"":m1(e),Gz=wz,Sx=()=>"",Gn=e=>mr(e),Bee()}));function Pte(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1)}function zn(e,...t){return Gm(e,null,void 0)}function Bu(e){if(!Bt(e)||li(e))return e;for(const t in e)if(ao(e,t))if(!t.includes("."))Bt(e[t])&&Bu(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let a=0;a<n;a++){if(r[a]==="__proto__")throw new Error(`unsafe key: ${r[a]}`);if(r[a]in o||(o[r[a]]=Zt()),!Bt(o[r[a]])){i=!0;break}o=o[r[a]]}if(i||(li(o)?_1.includes(r[n])||delete e[t]:(o[r[n]]=e[t],delete e[t])),!li(o)){const a=o[r[n]];Bt(a)&&Bu(a)}}return e}function P1(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,a=Mt(r)?r:xr(n)?Zt():{[e]:Zt()};if(xr(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:d}=l;s?(a[s]=a[s]||Zt(),Tv(d,a[s])):Tv(d,a)}else Qe(l)&&Tv(JSON.parse(l),a)}),o==null&&i)for(const l in a)ao(a,l)&&Bu(a[l]);return a}function Yz(e){return e.type}function Xz(e,t,r){let n=Bt(t.messages)?t.messages:Zt();"__i18nGlobal"in r&&(n=P1(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])}),Bt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Bt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}function zR(e){return Ut(Lo,null,e,0)}function Nu(){const e="currentInstance";return e in Qk?Qk[e]:Pr()}function DR(e){return((t,r,n,o)=>e(r,n,Nu()||void 0,o))}function um(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,o=e.flatJson,i=Du?q:Rc;let a=zt(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&a?t.locale.value:Qe(e.locale)?e.locale:bc),s=i(t&&a?t.fallbackLocale.value:Qe(e.fallbackLocale)||xr(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),d=i(P1(l.value,e)),u=i(Mt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(Mt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let m=t?t.missingWarn:zt(e.missingWarn)||Bl(e.missingWarn)?e.missingWarn:!0,g=t?t.fallbackWarn:zt(e.fallbackWarn)||Bl(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:zt(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=mr(e.missing)?e.missing:null,y=mr(e.missing)?DR(e.missing):null,x=mr(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const S=t?t.modifiers:Mt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,_;_=(()=>{n&&_x(null);const $={version:Jz,locale:l.value,fallbackLocale:s.value,messages:d.value,modifiers:S,pluralRules:P,missing:y===null?void 0:y,missingWarn:m,fallbackWarn:g,fallbackFormat:p,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:C,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=u.value,$.numberFormats=f.value,$.__datetimeFormatters=Mt(_)?_.__datetimeFormatters:void 0,$.__numberFormatters=Mt(_)?_.__numberFormatters:void 0;const N=fte($);return n&&_x(N),N})(),$d(_,l.value,s.value);function E(){return[l.value,s.value,d.value,u.value,f.value]}const D=I({get:()=>l.value,set:$=>{_.locale=$,l.value=$}}),M=I({get:()=>s.value,set:$=>{_.fallbackLocale=$,s.value=$,$d(_,l.value,$)}}),W=I(()=>d.value),L=I(()=>u.value),H=I(()=>f.value);function V(){return mr(x)?x:null}function G($){x=$,_.postTranslation=$}function J(){return b}function Q($){$!==null&&(y=DR($)),b=$,_.missing=y}const de=($,N,pe,Ae,Ke,ze)=>{E();let Ge;try{__INTLIFY_PROD_DEVTOOLS__&&Cx(eD()),n||(_.fallbackContext=t?jz():void 0),Ge=$(_)}finally{__INTLIFY_PROD_DEVTOOLS__&&Cx(null),n||(_.fallbackContext=void 0)}if(pe!=="translate exists"&&Ar(Ge)&&Ge===-1||pe==="translate exists"&&!Ge){const[et,xt]=N();return t&&h?Ae(t):Ke(et)}else{if(ze(Ge))return Ge;throw zn(or.UNEXPECTED_RETURN_TYPE)}};function ke(...$){return de(N=>Reflect.apply(FR,null,[N,...$]),()=>dx(...$),"translate",N=>Reflect.apply(N.t,N,[...$]),N=>N,N=>Qe(N))}function le(...$){const[N,pe,Ae]=$;if(Ae&&!Bt(Ae))throw zn(or.INVALID_ARGUMENT);return ke(N,pe,Mr({resolvedMessage:!0},Ae||{}))}function ye(...$){return de(N=>Reflect.apply(OR,null,[N,...$]),()=>sx(...$),"datetime format",N=>Reflect.apply(N.d,N,[...$]),()=>"",N=>Qe(N)||xr(N))}function ue(...$){return de(N=>Reflect.apply(MR,null,[N,...$]),()=>cx(...$),"number format",N=>Reflect.apply(N.n,N,[...$]),()=>"",N=>Qe(N)||xr(N))}function oe($){return $.map(N=>Qe(N)||Ar(N)||zt(N)?zR(String(N)):N)}const xe={normalize:oe,interpolate:$=>$,type:"vnode"};function ae(...$){return de(N=>{let pe;const Ae=N;try{Ae.processor=xe,pe=Reflect.apply(FR,null,[Ae,...$])}finally{Ae.processor=null}return pe},()=>dx(...$),"translate",N=>N[fm](...$),N=>[zR(N)],N=>xr(N))}function Ce(...$){return de(N=>Reflect.apply(MR,null,[N,...$]),()=>cx(...$),"number format",N=>N[vm](...$),kx,N=>Qe(N)||xr(N))}function fe(...$){return de(N=>Reflect.apply(OR,null,[N,...$]),()=>sx(...$),"datetime format",N=>N[hm](...$),kx,N=>Qe(N)||xr(N))}function he($){P=$,_.pluralRules=P}function se($,N){return de(()=>{if(!$)return!1;const pe=Qe(N)?N:l.value,Ae=Qe(N)?[pe]:lx(_,s.value,pe);for(let Ke=0;Ke<Ae.length;Ke++){const ze=K(Ae[Ke]);let Ge=_.messageResolver(ze,$);if(Ge===null&&(Ge=ze[$]),li(Ge)||Gn(Ge)||Qe(Ge))return!0}return!1},()=>[$],"translate exists",pe=>Reflect.apply(pe.te,pe,[$,N]),Qz,pe=>zt(pe))}function Ie($){let N=null;const pe=lx(_,s.value,l.value);for(let Ae=0;Ae<pe.length;Ae++){const Ke=d.value[pe[Ae]]||{},ze=_.messageResolver(Ke,$);if(ze!=null){N=ze;break}}return N}function F($){const N=Ie($);return N??(t?t.tm($)||{}:{})}function K($){return d.value[$]||{}}function ne($,N){if(o){const pe={[$]:N};for(const Ae in pe)ao(pe,Ae)&&Bu(pe[Ae]);N=pe[$]}d.value[$]=N,_.messages=d.value}function be($,N){d.value[$]=d.value[$]||{};const pe={[$]:N};if(o)for(const Ae in pe)ao(pe,Ae)&&Bu(pe[Ae]);N=pe[$],Tv(N,d.value[$]),_.messages=d.value}function B($){return u.value[$]||{}}function R($,N){u.value[$]=N,_.datetimeFormats=u.value,AR(_,$,N)}function O($,N){u.value[$]=Mr(u.value[$]||{},N),_.datetimeFormats=u.value,AR(_,$,N)}function Z($){return f.value[$]||{}}function re($,N){f.value[$]=N,_.numberFormats=f.value,IR(_,$,N)}function X($,N){f.value[$]=Mr(f.value[$]||{},N),_.numberFormats=f.value,IR(_,$,N)}Rx++,t&&Du&&(nt(t.locale,$=>{a&&(l.value=$,_.locale=$,$d(_,l.value,s.value))}),nt(t.fallbackLocale,$=>{a&&(s.value=$,_.fallbackLocale=$,$d(_,l.value,s.value))}));const U={id:Rx,locale:D,fallbackLocale:M,get inheritLocale(){return a},set inheritLocale($){a=$,$&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,$d(_,l.value,s.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:W,get modifiers(){return S},get pluralRules(){return P||{}},get isGlobal(){return n},get missingWarn(){return m},set missingWarn($){m=$,_.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn($){g=$,_.fallbackWarn=g},get fallbackRoot(){return h},set fallbackRoot($){h=$},get fallbackFormat(){return p},set fallbackFormat($){p=$,_.fallbackFormat=p},get warnHtmlMessage(){return C},set warnHtmlMessage($){C=$,_.warnHtmlMessage=$},get escapeParameter(){return w},set escapeParameter($){w=$,_.escapeParameter=$},t:ke,getLocaleMessage:K,setLocaleMessage:ne,mergeLocaleMessage:be,getPostTranslationHandler:V,setPostTranslationHandler:G,getMissingHandler:J,setMissingHandler:Q,[k1]:he};return U.datetimeFormats=L,U.numberFormats=H,U.rt=le,U.te=se,U.tm=F,U.d=ye,U.n=ue,U.getDateTimeFormat=B,U.setDateTimeFormat=R,U.mergeDateTimeFormat=O,U.getNumberFormat=Z,U.setNumberFormat=re,U.mergeNumberFormat=X,U[R1]=r,U[fm]=ae,U[hm]=fe,U[vm]=Ce,U}function kte(e){const t=Qe(e.locale)?e.locale:bc,r=Qe(e.fallbackLocale)||xr(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=mr(e.missing)?e.missing:void 0,o=zt(e.silentTranslationWarn)||Bl(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=zt(e.silentFallbackWarn)||Bl(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=zt(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,s=Mt(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=mr(e.postTranslation)?e.postTranslation:void 0,f=Qe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,g=zt(e.sync)?e.sync:!0;let h=e.messages;if(Mt(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((P,_)=>(Mr(P[_]||(P[_]={}),S[_]),P),h||{})}const{__i18n:p,__root:b,__injectWithOption:y}=e,x=e.datetimeFormats,C=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:w,datetimeFormats:x,numberFormats:C,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:d,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:g,__i18n:p,__root:b,__injectWithOption:y}}function Px(e={}){const t=um(kte(e)),{__extender:r}=e,n={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return zt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=zt(o)?!o:o},get silentFallbackWarn(){return zt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=zt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return n.__extender=r,n}function Rte(e,t,r){return{beforeCreate(){const n=Nu();if(!n)throw zn(or.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=LR(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Px(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=LR(e,o);else{this.$i18n=Px({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Xz(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Nu();if(!n)throw zn(or.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function LR(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[k1](t.pluralizationRules||e.pluralizationRules);const r=P1(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}function $te({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,n)=>[...r,...n.type===yt?n.children:[n]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},Zt())}function Zz(){return yt}function Tte(e){return xr(e)&&!Qe(e[0])}function BR(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const d={part:!0};let u=Zt();e.locale&&(d.locale=e.locale),Qe(e.format)?d.key=e.format:Bt(e.format)&&(Qe(e.format.key)&&(d.key=e.format.key),u=Object.keys(e.format).reduce((g,h)=>r.includes(h)?Mr(Zt(),g,{[h]:e.format[h]}):g,Zt()));const f=n(e.value,d,u);let m=[d.key];return xr(f)?m=f.map((g,h)=>{const p=o[g.type],b=p?p({[g.type]:g.value,index:h,parts:f}):[g.value];return Tte(b)&&(b[0].key=`${g.type}-${h}`),b}):Qe(f)&&(m=[f]),m},l=Mr(Zt(),i),s=Qe(e.tag)||Bt(e.tag)?e.tag:Zz();return Bt(s)?v(s,l,{default:a}):v(s,l,a())}}function Ete(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Ote(e){const t=a=>{const{instance:l,value:s}=a;if(!l||!l.$)throw zn(or.UNEXPECTED_ERROR);const d=Ete(e,l.$),u=NR(s);return[Reflect.apply(d.t,d,[...HR(u)]),d]};return{created:(a,l)=>{const[s,d]=t(l);Du&&(a.__i18nWatcher=nt(d.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=d,a.textContent=s},unmounted:a=>{Du&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const s=a.__composer,d=NR(l);a.textContent=Reflect.apply(s.t,s,[...HR(d)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function NR(e){if(Qe(e))return{path:e};if(Mt(e)){if(!("path"in e))throw zn(or.REQUIRED_VALUE,"path");return e}else throw zn(or.INVALID_VALUE)}function HR(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},l=n||{};return Qe(r)&&(a.locale=r),Ar(o)&&(a.plural=o),Ar(i)&&(a.plural=i),[t,l,a]}function Ate(e,t,...r){const n=Mt(r[0])?r[0]:{};(!zt(n.globalInstall)||n.globalInstall)&&([$x.name,"I18nT"].forEach(o=>e.component(o,$x)),[Tx.name,"I18nN"].forEach(o=>e.component(o,Tx)),[Ox.name,"I18nD"].forEach(o=>e.component(o,Ox))),e.directive("t",Ote(t))}function Mte(e={}){const t=__VUE_I18N_LEGACY_API__&&zt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=zt(e.globalInjection)?e.globalInjection:!0,n=new Map,[o,i]=Ite(e,t),a=ri("");function l(f){return n.get(f)||null}function s(f,m){n.set(f,m)}function d(f){n.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...m){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,u),Mt(m[0])){const p=m[0];u.__composerExtend=p.__composerExtend,u.__vueI18nExtend=p.__vueI18nExtend}let g=null;!t&&r&&(g=Nte(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Ate(f,u,...m),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Rte(i,i.__composer,u));const h=f.unmount;f.unmount=()=>{g&&g(),u.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:n,__getInstance:l,__setInstance:s,__deleteInstance:d};return u}function uu(e={}){const t=Nu();if(t==null)throw zn(or.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw zn(or.NOT_INSTALLED);const r=Fte(t),n=Dte(r),o=Yz(t),i=zte(e,o);if(i==="global")return Xz(n,e,o),n;if(i==="parent"){let s=WR(r,t,e.__useComponent);return s==null&&(s=n),s}if(i==="isolated"){if(r.mode!=="composition")throw zn(or.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const s=r,d=Mr({},e);d.__root=WR(r,t)||n;const u=um(d);return s.__composerExtend&&(u[kl]=s.__composerExtend(u)),Mm()&&p_(()=>{const f=u[kl];f&&(f(),delete u[kl])}),u}const a=r;let l=a.__getInstance(t);if(l==null){const s=Mr({},e);"__i18n"in o&&(s.__i18n=o.__i18n),n&&(s.__root=n),l=um(s),a.__composerExtend&&(l[kl]=a.__composerExtend(l)),Bte(a,t,l),a.__setInstance(t,l)}return l}function Ite(e,t){const r=Am(),n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Px(e)):r.run(()=>um(e));if(n==null)throw zn(or.UNEXPECTED_ERROR);return[r,n]}function Fte(e){const t=He(e.isCE?tD:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw zn(e.isCE?or.NOT_INSTALLED_WITH_PROVIDE:or.UNEXPECTED_ERROR);return t}function zte(e,t){return hf(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Dte(e){return e.mode==="composition"?e.global:e.global.__composer}function WR(e,t,r=!1){let n=null;const o=t.root;let i=Lte(t,r);for(;i!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=a.__getInstance(i);l!=null&&(n=l.__composer,r&&n&&!n[R1]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function Lte(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Bte(e,t,r){Ht(()=>{},t),go(()=>{const n=r;e.__deleteInstance(t);const o=n[kl];o&&(o(),delete n[kl])},t)}function Nte(e,t){const r=Object.create(null);return rD.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw zn(or.UNEXPECTED_ERROR);const a=hr(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,o,a)}),e.config.globalProperties.$i18n=r,Ex.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw zn(or.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Ex.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var Jz,or,fm,hm,vm,k1,R1,kl,ll,_b,kx,Qz,Rx,eD,Xh,$x,Tx,tD,rD,Ex,Ox,$1=c((()=>{if(Ste(),g1(),Y(),Jz="11.4.4",or={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34},or.UNEXPECTED_RETURN_TYPE,or.INVALID_ARGUMENT,or.MUST_BE_CALL_SETUP_TOP,or.NOT_INSTALLED,or.UNEXPECTED_ERROR,or.REQUIRED_VALUE,or.INVALID_VALUE,or.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,or.NOT_INSTALLED_WITH_PROVIDE,or.NOT_COMPATIBLE_LEGACY_VUE_I18N,or.NOT_AVAILABLE_COMPOSITION_IN_LEGACY,fm=ri("__translateVNode"),hm=ri("__datetimeParts"),vm=ri("__numberParts"),k1=ri("__setPluralRules"),ri("__intlifyMeta"),R1=ri("__injectWithOption"),kl=ri("__dispose"),ll={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15},ll.FALLBACK_TO_ROOT,ll.NOT_FOUND_PARENT_SCOPE,ll.IGNORE_OBJ_FLATTEN,ll.DEPRECATE_LEGACY_MODE,ll.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,ll.DUPLICATE_USE_I18N_CALLING,_b="__INTLIFY_META__",kx=()=>[],Qz=()=>!1,Rx=0,eD=()=>{const e=Nu();let t=null;return e&&(t=Yz(e)[_b])?{[_b]:t}:null},Xh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},$x=Re({name:"i18n-t",props:Mr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ar(e)||!isNaN(e)}},Xh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||uu({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const s=Object.keys(r).filter(f=>f[0]!=="_"),d=Zt();e.locale&&(d.locale=e.locale),e.plural!==void 0&&(d.plural=Qe(e.plural)?+e.plural:e.plural);const u=$te(t,s);return o[fm](e.keypath,u,d)},a=Mr(Zt(),n),l=Qe(e.tag)||Bt(e.tag)?e.tag:Zz();return Bt(l)?v(l,a,{default:i}):v(l,a,i())}}}),Tx=Re({name:"i18n-n",props:Mr({value:{type:Number,required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||uu({useScope:e.scope,__useComponent:!0});return BR(e,t,S1,(...n)=>r[vm](...n))}}),tD=ri("global-vue-i18n"),rD=["locale","fallbackLocale","availableLocales"],Ex=["t","rt","d","n","tm","te"],Ox=Re({name:"i18n-d",props:Mr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||uu({useScope:e.scope,__useComponent:!0});return BR(e,t,w1,(...n)=>r[hm](...n))}}),Pte(),cte(Gee),dte(lte),ute(lx),__INTLIFY_PROD_DEVTOOLS__){const e=wa();e.__INTLIFY__=!0,Yee(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}}));N4();$1();qm();var Ov=["en","zh","zh-TW","ja","ko","fr","es","de","pt","ru","ar"];function jR(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function T1(e,t){const r={...e};for(const[n,o]of Object.entries(t)){const i=e[n];r[n]=jR(i)&&jR(o)?T1(i,o):o}return r}var Hte={en:()=>it(()=>import("./en-D2WSXgkM.js"),[]),zh:()=>it(()=>import("./zh-CI4-L3JY.js"),[]),"zh-TW":()=>it(()=>import("./zh-TW-wYlj-uOZ.js"),[]),ja:()=>it(()=>import("./ja-D7BeX2_D.js"),[]),ko:()=>it(()=>import("./ko-BsVa-If_.js"),[]),fr:()=>it(()=>import("./fr-DvClrDOw.js"),[]),es:()=>it(()=>import("./es-B7Mq1P0U.js"),[]),de:()=>it(()=>import("./de-7hLSwCEx.js"),[]),pt:()=>it(()=>import("./pt-BSORCDMm.js"),[]),ru:()=>it(()=>import("./ru-JsH6TKyg.js"),[]),ar:()=>it(()=>import("./ar-8iThLSJQ.js"),[])},wb=new Map;function Ax(e){const t=wb.get(e);if(t)return t;const r=Hte[e]().then(n=>n.default).catch(n=>{throw wb.delete(e),n});return wb.set(e,r),r}var Wte=new Set(["ar","fa","he","iw","ur","ps","sd","ug","yi"]);function nD(e){const t=e.split(/[-_]/)[0]?.toLowerCase()??"";return Wte.has(t)}function jte(e){return nD(e)?"rtl":"ltr"}function Vte(e){document.documentElement.dir=jte(e)}var Ute=localStorage.getItem("hermes_locale");function Kte(e){if(e&&Ov.includes(e))return e;function t(r){const n=r.toLowerCase();if(n.startsWith("zh"))return n.includes("hant")||n.includes("-tw")||n.includes("-hk")||n.includes("-mo")?"zh-TW":"zh";const o=r.slice(0,2);return Ov.includes(r)?r:Ov.includes(o)?o:null}for(const r of navigator.languages){const n=t(r);if(n)return n}return"en"}function oD(e){document.documentElement.lang=e,Vte(e)}var Ds=Kte(Ute);oD(Ds);async function qte(){const e=Ax("en"),t=Ds==="en"?e:Ax(Ds),[r,n]=await Promise.all([e,t]);return Mte({legacy:!1,locale:Ds,fallbackLocale:"en",messages:Ds==="en"?{en:r}:{en:r,[Ds]:T1(r,n)}})}var iD=qte(),Sb=0;async function pwe(e){if(!Ov.includes(e))return;const t=(await iD).global,r=e,n=++Sb;if(!t.availableLocales.includes(r)){const o=await Ax(r);if(n!==Sb)return;t.setLocaleMessage(r,r==="en"?o:T1(t.getLocaleMessage("en"),o))}n===Sb&&(t.locale.value=r,oD(r),localStorage.setItem("hermes_locale",r))}var Gte,Yte=c((()=>{Gte="/logo.png"}));function Xte(e){let t=".",r="__",n="--",o;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(r=h),h=e.modifierPrefix,h&&(n=h)}const i={install(h){o=h.c;const p=h.context;p.bem={},p.bem.b=null,p.bem.els=null}};function a(h){let p,b;return{before(y){p=y.bem.b,b=y.bem.els,y.bem.els=null},after(y){y.bem.b=p,y.bem.els=b},$({context:y,props:x}){return h=typeof h=="string"?h:h({context:y,props:x}),y.bem.b=h,`${x?.bPrefix||t}${y.bem.b}`}}}function l(h){let p;return{before(b){p=b.bem.els},after(b){b.bem.els=p},$({context:b,props:y}){return h=typeof h=="string"?h:h({context:b,props:y}),b.bem.els=h.split(",").map(x=>x.trim()),b.bem.els.map(x=>`${y?.bPrefix||t}${b.bem.b}${r}${x}`).join(", ")}}}function s(h){return{$({context:p,props:b}){h=typeof h=="string"?h:h({context:p,props:b});const y=h.split(",").map(w=>w.trim());function x(w){return y.map(S=>`&${b?.bPrefix||t}${p.bem.b}${w!==void 0?`${r}${w}`:""}${n}${S}`).join(", ")}const C=p.bem.els;return C!==null?x(C[0]):x()}}}function d(h){return{$({context:p,props:b}){h=typeof h=="string"?h:h({context:p,props:b});const y=p.bem.els;return`&:not(${b?.bPrefix||t}${p.bem.b}${y!==null&&y.length>0?`${r}${y[0]}`:""}${n}${h})`}}}return Object.assign(i,{cB:((...h)=>o(a(h[0]),h[1],h[2])),cE:((...h)=>o(l(h[0]),h[1],h[2])),cM:((...h)=>o(s(h[0]),h[1],h[2])),cNotM:((...h)=>o(d(h[0]),h[1],h[2]))}),i}var Zte=c((()=>{}));function Jte(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}function Qte(e,t){const r=[];return t.split(E1).forEach(n=>{let o=Jte(n);if(o){if(o===1){e.forEach(a=>{r.push(n.replace("&",a))});return}}else{e.forEach(a=>{r.push((a&&a+" ")+n)});return}let i=[n];for(;o--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>r.push(a))}),r}function ere(e,t){const r=[];return t.split(E1).forEach(n=>{e.forEach(o=>{r.push((o&&o+" ")+n)})}),r}function tre(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=Qte(t,r):t=ere(t,r))}),t.join(", ").replace(aD," ")}var E1,aD,rre=c((()=>{E1=/\s*,(?![^(]*\))\s*/g,aD=/\s+/g}));function VR(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Ym(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function nre(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Zh(e){return e?/^\s*@(s|m)/.test(e):!1}var Xm=c((()=>{}));function lD(e){return e.replace(cD,t=>"-"+t.toLowerCase())}function ore(e,t=" "){return typeof e=="object"&&e!==null?` {
8
8
  `+Object.entries(e).map(r=>t+` ${lD(r[0])}: ${r[1]};`).join(`
9
9
  `)+`
10
10
  `+t+"}":`: ${e};`}function ire(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function UR(e,t,r,n){if(!t)return"";const o=ire(t,r,n);if(!o)return"";if(typeof o=="string")return`${e} {
@@ -4603,6 +4603,6 @@ ${t}
4603
4603
  width: 0;
4604
4604
  height: 0;
4605
4605
  opacity: 0;
4606
- `)])})),yI,gX,DP=c((()=>{Y(),we(),_d(),yI="__UPLOAD_DRAGGER__",gX=Re({name:"UploadDragger",[yI]:!0,setup(e,{slots:t}){const r=He(ws,null);return r||bo("upload-dragger","`n-upload-dragger` must be placed inside `n-upload`."),()=>{const{mergedClsPrefixRef:{value:n},mergedDisabledRef:{value:o},maxReachedRef:{value:i}}=r;return v("div",{class:[`${n}-upload-dragger`,(o||i)&&`${n}-upload-dragger--disabled`]},t)}}})}));function A_e(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},v("g",{fill:"none"},v("path",{d:"M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",fill:"currentColor"})))}function M_e(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},v("g",{fill:"none"},v("path",{d:"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2H6.4zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9V4.4zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06l6.44 6.44z",fill:"currentColor"})))}var I_e=c((()=>{Y()})),bX,F_e=c((()=>{Y(),rt(),YY(),_d(),bX=Re({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup(){return{mergedTheme:He(ws).mergedThemeRef}},render(){return v(na,null,{default:()=>this.show?v(GY,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}})}));function yX(e){return e.includes("image/")}function xI(e=""){const t=e.split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}function z_e(e){return Rm(this,void 0,void 0,function*(){return yield new Promise(t=>{if(!e.type||!yX(e.type)){t("");return}t(window.URL.createObjectURL(e))})})}function D_e(e){return e.isDirectory}function L_e(e){return e.isFile}function B_e(e,t){return Rm(this,void 0,void 0,function*(){const r=[];function n(o){return Rm(this,void 0,void 0,function*(){for(const i of o)if(i){if(t&&D_e(i)){const a=i.createReader();let l=[],s;try{do s=yield new Promise((d,u)=>{a.readEntries(d,u)}),l=l.concat(s);while(s.length>0)}catch(d){x$("upload","error happens when handling directory upload",d)}yield n(l)}else if(L_e(i))try{const a=yield new Promise((l,s)=>{i.file(l,s)});r.push({file:a,entry:i,source:"dnd"})}catch(a){x$("upload","error happens when handling file upload",a)}}})}return yield n(e),r})}function Qu(e){const{id:t,name:r,percentage:n,status:o,url:i,file:a,thumbnailUrl:l,type:s,fullPath:d,batchId:u}=e;return{id:t,name:r,percentage:n??null,status:o,url:i??null,file:a??null,thumbnailUrl:l??null,type:s??null,fullPath:d??null,batchId:u??null}}function N_e(e,t,r){return e=e.toLowerCase(),t=t.toLocaleLowerCase(),r=r.toLocaleLowerCase(),r.split(",").map(n=>n.trim()).filter(Boolean).some(n=>{if(n.startsWith(".")){if(e.endsWith(n))return!0}else if(n.includes("/")){const[o,i]=t.split("/"),[a,l]=n.split("/");if((a==="*"||o&&a&&a===o)&&(l==="*"||i&&l&&l===i))return!0}else return!0;return!1})}var Rm,sy,LP,xX,BP=c((()=>{we(),_L(),Rm=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},sy=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,LP=e=>{if(e.type)return yX(e.type);const t=xI(e.name||"");if(sy.test(t))return!0;const r=e.thumbnailUrl||e.url||"",n=xI(r);return!!(/^data:image\//.test(r)||sy.test(n))},xX=Bo&&window.FileReader&&window.File})),cy,zd,CX,H_e=c((()=>{Je(),Y(),rt(),St(),we(),$n(),OP(),I_e(),_d(),F_e(),BP(),cy=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},zd={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},CX=Re({name:"UploadFile",props:{clsPrefix:{type:String,required:!0},file:{type:Object,required:!0},listType:{type:String,required:!0},index:{type:Number,required:!0}},setup(e){const t=He(ws),r=q(null),n=q(""),o=I(()=>{const{file:S}=e;return S.status==="finished"?"success":S.status==="error"?"error":"info"}),i=I(()=>{const{file:S}=e;if(S.status==="error")return"error"}),a=I(()=>{const{file:S}=e;return S.status==="uploading"}),l=I(()=>{if(!t.showCancelButtonRef.value)return!1;const{file:S}=e;return["uploading","pending","error"].includes(S.status)}),s=I(()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),d=I(()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),u=I(()=>{if(!t.showRetryButtonRef.value)return!1;const{file:S}=e;return["error"].includes(S.status)}),f=ct(()=>n.value||e.file.thumbnailUrl||e.file.url),m=I(()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:S},listType:P}=e;return["finished"].includes(S)&&f.value&&P==="image-card"});function g(){return cy(this,void 0,void 0,function*(){const S=t.onRetryRef.value;S&&(yield S({file:e.file}))===!1||t.submit({fileId:e.file.id})})}function h(S){S.preventDefault();const{file:P}=e;["finished","pending","error"].includes(P.status)?b(P):["uploading"].includes(P.status)?x(P):vo("upload","The button clicked type is unknown.")}function p(S){S.preventDefault(),y(e.file)}function b(S){const{xhrMap:P,doChange:_,onRemoveRef:{value:T},mergedFileListRef:{value:E}}=t;Promise.resolve(T?T({file:Object.assign({},S),fileList:E,index:e.index}):!0).then(D=>{if(D===!1)return;const M=Object.assign({},S,{status:"removed"});P.delete(S.id),_(M,void 0,{remove:!0})})}function y(S){const{onDownloadRef:{value:P},customDownloadRef:{value:_}}=t;Promise.resolve(P?P(Object.assign({},S)):!0).then(T=>{T!==!1&&(_?_(Object.assign({},S)):K1(S.url,S.name))})}function x(S){const{xhrMap:P}=t,_=P.get(S.id);_?.abort(),b(Object.assign({},S))}function C(S){const{onPreviewRef:{value:P}}=t;if(P)P(e.file,{event:S});else if(e.listType==="image-card"){const{value:_}=r;if(!_)return;_.showPreview()}}const w=()=>cy(this,void 0,void 0,function*(){const{listType:S}=e;S!=="image"&&S!=="image-card"||t.shouldUseThumbnailUrlRef.value(e.file)&&(n.value=yield t.getFileThumbnailUrlResolver(e.file))});return lr(()=>{w()}),{mergedTheme:t.mergedThemeRef,progressStatus:o,buttonType:i,showProgress:a,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:d,showRetryButton:u,showPreviewButton:m,mergedThumbnailUrl:f,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:r,handleRemoveOrCancelClick:h,handleDownloadClick:p,handleRetryClick:g,handlePreviewClick:C}},render(){const{clsPrefix:e,mergedTheme:t,listType:r,file:n,renderIcon:o}=this;let i;const a=r==="image";a||r==="image-card"?i=!this.shouldUseThumbnailUrl(n)||!this.mergedThumbnailUrl?v("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):LP(n)?v(ht,{clsPrefix:e},{default:A_e}):v(ht,{clsPrefix:e},{default:M_e})):v("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,class:`${e}-upload-file-info__thumbnail`,onClick:this.handlePreviewClick},r==="image-card"?v(IY,{src:this.mergedThumbnailUrl||void 0,previewSrc:n.url||void 0,alt:n.name,ref:"imageRef"}):v("img",{src:this.mergedThumbnailUrl||void 0,alt:n.name})):i=v("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):v(ht,{clsPrefix:e},{default:()=>v(K7,null)}));const l=v(bX,{show:this.showProgress,percentage:n.percentage||0,status:this.progressStatus}),s=r==="text"||r==="image";return v("div",{class:[`${e}-upload-file`,`${e}-upload-file--${this.progressStatus}-status`,n.url&&n.status!=="error"&&r!=="image-card"&&`${e}-upload-file--with-url`,`${e}-upload-file--${r}-type`]},v("div",{class:`${e}-upload-file-info`},i,v("div",{class:`${e}-upload-file-info__name`},s&&(n.url&&n.status!=="error"?v("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,onClick:this.handlePreviewClick},n.name):v("span",{onClick:this.handlePreviewClick},n.name)),a&&l),v("div",{class:[`${e}-upload-file-info__action`,`${e}-upload-file-info__action--${r}-type`]},this.showPreviewButton?v(lo,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(Ww,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&v(lo,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:zd,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>v(bi,null,{default:()=>this.showRemoveButton?v(ht,{clsPrefix:e,key:"trash"},{default:()=>v(l9,null)}):v(ht,{clsPrefix:e,key:"cancel"},{default:()=>v(q7,null)})})}),this.showRetryButton&&!this.disabled&&v(lo,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(n9,null)})}),this.showDownloadButton?v(lo,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(Hw,null)})}):null)),!a&&l)}})})),NP,HP=c((()=>{Y(),rt(),St(),we(),_d(),DP(),BP(),NP=Re({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const r=He(ws,null);r||bo("upload-trigger","`n-upload-trigger` must be placed inside `n-upload`.");const{mergedClsPrefixRef:n,mergedDisabledRef:o,maxReachedRef:i,listTypeRef:a,dragOverRef:l,openOpenFileDialog:s,draggerInsideRef:d,handleFileAddition:u,mergedDirectoryDndRef:f,triggerClassRef:m,triggerStyleRef:g}=r,h=I(()=>a.value==="image-card");function p(){o.value||i.value||s()}function b(w){w.preventDefault(),l.value=!0}function y(w){w.preventDefault(),l.value=!0}function x(w){w.preventDefault(),l.value=!1}function C(w){var S;if(w.preventDefault(),!d.value||o.value||i.value){l.value=!1;return}const P=(S=w.dataTransfer)===null||S===void 0?void 0:S.items;P?.length?B_e(Array.from(P).map(_=>_.webkitGetAsEntry()),f.value).then(_=>{u(_)}).finally(()=>{l.value=!1}):l.value=!1}return()=>{var w;const{value:S}=n;return e.abstract?(w=t.default)===null||w===void 0?void 0:w.call(t,{handleClick:p,handleDrop:C,handleDragOver:b,handleDragEnter:y,handleDragLeave:x}):v("div",{class:[`${S}-upload-trigger`,(o.value||i.value)&&`${S}-upload-trigger--disabled`,h.value&&`${S}-upload-trigger--image-card`,m.value],style:g.value,onClick:p,onDrop:C,onDragover:b,onDragenter:y,onDragleave:x},h.value?v(gX,null,{default:()=>wr(t.default,()=>[v(ht,{clsPrefix:S},{default:()=>v(Lp,null)})])}):t)}}})})),_X,wX=c((()=>{Y(),rt(),we(),OP(),_d(),H_e(),HP(),_X=Re({name:"UploadFileList",setup(e,{slots:t}){const r=He(ws,null);r||bo("upload-file-list","`n-upload-file-list` must be placed inside `n-upload`.");const{abstractRef:n,mergedClsPrefixRef:o,listTypeRef:i,mergedFileListRef:a,fileListClassRef:l,fileListStyleRef:s,cssVarsRef:d,themeClassRef:u,maxReachedRef:f,showTriggerRef:m,imageGroupPropsRef:g}=r,h=I(()=>i.value==="image-card"),p=()=>a.value.map((y,x)=>v(CX,{clsPrefix:o.value,key:y.id,file:y,index:x,listType:i.value})),b=()=>h.value?v(AY,Object.assign({},g.value),{default:p}):v(na,{group:!0},{default:p});return()=>{const{value:y}=o,{value:x}=n;return v("div",{class:[`${y}-upload-file-list`,h.value&&`${y}-upload-file-list--grid`,x?u?.value:void 0,l.value],style:[x&&d?d.value:"",s.value]},b(),m.value&&!f.value&&h.value&&v(NP,null,t))}}})}));function W_e(e,t,r){const{doChange:n,xhrMap:o}=e;let i=0;function a(s){var d;let u=Object.assign({},t,{status:"error",percentage:i});o.delete(t.id),u=Qu(((d=e.onError)===null||d===void 0?void 0:d.call(e,{file:u,event:s}))||u),n(u,s)}function l(s){var d;if(e.isErrorState){if(e.isErrorState(r)){a(s);return}}else if(r.status<200||r.status>=300){a(s);return}let u=Object.assign({},t,{status:"finished",percentage:i});o.delete(t.id),u=Qu(((d=e.onFinish)===null||d===void 0?void 0:d.call(e,{file:u,event:s}))||u),n(u,s)}return{handleXHRLoad:l,handleXHRError:a,handleXHRAbort(s){const d=Object.assign({},t,{status:"removed",file:null,percentage:i});o.delete(t.id),n(d,s)},handleXHRProgress(s){const d=Object.assign({},t,{status:"uploading"});if(s.lengthComputable){const u=Math.ceil(s.loaded/s.total*100);d.percentage=u,i=u}n(d,s)}}}function j_e(e){const{inst:t,file:r,data:n,headers:o,withCredentials:i,action:a,customRequest:l}=e,{doChange:s}=e.inst;let d=0;l({file:r,data:n,headers:o,withCredentials:i,action:a,onProgress(u){const f=Object.assign({},r,{status:"uploading"}),m=u.percent;f.percentage=m,d=m,s(f)},onFinish(){var u;let f=Object.assign({},r,{status:"finished",percentage:d});f=Qu(((u=t.onFinish)===null||u===void 0?void 0:u.call(t,{file:f}))||f),s(f)},onError(){var u;let f=Object.assign({},r,{status:"error",percentage:d});f=Qu(((u=t.onError)===null||u===void 0?void 0:u.call(t,{file:f}))||f),s(f)}})}function V_e(e,t,r){const n=W_e(e,t,r);r.onabort=n.handleXHRAbort,r.onerror=n.handleXHRError,r.onload=n.handleXHRLoad,r.upload&&(r.upload.onprogress=n.handleXHRProgress)}function SX(e,t){return typeof e=="function"?e({file:t}):e||{}}function U_e(e,t,r){const n=SX(t,r);n&&Object.keys(n).forEach(o=>{e.setRequestHeader(o,n[o])})}function K_e(e,t,r){const n=SX(t,r);n&&Object.keys(n).forEach(o=>{e.append(o,n[o])})}function q_e(e,t,r,{method:n,action:o,withCredentials:i,responseType:a,headers:l,data:s}){const d=new XMLHttpRequest;d.responseType=a,e.xhrMap.set(r.id,d),d.withCredentials=i;const u=new FormData;if(K_e(u,s,r),r.file!==null&&u.append(t,r.file),V_e(e,r,d),o!==void 0){d.open(n.toUpperCase(),o),U_e(d,l,r),d.send(u);const f=Object.assign({},r,{status:"uploading"});e.doChange(f)}}var dy,CI,G_e,Y_e=c((()=>{De(),Je(),Y(),Pe(),we(),bd(),_d(),O_e(),DP(),wX(),HP(),BP(),dy=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},CI=Object.assign(Object.assign({},je.props),{name:{type:String,default:"file"},accept:String,action:String,customRequest:Function,directory:Boolean,directoryDnd:{type:Boolean,default:void 0},method:{type:String,default:"POST"},multiple:Boolean,showFileList:{type:Boolean,default:!0},data:[Object,Function],headers:[Object,Function],withCredentials:Boolean,responseType:{type:String,default:""},disabled:{type:Boolean,default:void 0},onChange:Function,onRemove:Function,onFinish:Function,onError:Function,onRetry:Function,onBeforeUpload:Function,isErrorState:Function,onDownload:Function,customDownload:Function,defaultUpload:{type:Boolean,default:!0},fileList:Array,"onUpdate:fileList":[Function,Array],onUpdateFileList:[Function,Array],fileListClass:String,fileListStyle:[String,Object],defaultFileList:{type:Array,default:()=>[]},showCancelButton:{type:Boolean,default:!0},showRemoveButton:{type:Boolean,default:!0},showDownloadButton:Boolean,showRetryButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},listType:{type:String,default:"text"},onPreview:Function,shouldUseThumbnailUrl:{type:Function,default:e=>xX?LP(e):!1},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),G_e=Re({name:"Upload",props:CI,setup(e){e.abstract&&e.listType==="image-card"&&bo("upload","when the list-type is image-card, abstract is not supported.");const{mergedClsPrefixRef:t,inlineThemeDisabled:r,mergedRtlRef:n}=ot(e),o=je("Upload","-upload",pX,vY,e,t),i=sr("Upload",n,t),a=Ho(e),l=q(e.defaultFileList),s=Se(e,"fileList"),d=q(null),u={value:!1},f=q(!1),m=new Map,g=Jt(s,l),h=I(()=>g.value.map(Qu)),p=I(()=>{const{max:M}=e;return M!==void 0?h.value.length>=M:!1});function b(){var M;(M=d.value)===null||M===void 0||M.click()}function y(M){const W=M.target;S(W.files?Array.from(W.files).map(L=>({file:L,entry:null,source:"input"})):null,M),W.value=""}function x(M){const{"onUpdate:fileList":W,onUpdateFileList:L}=e;W&&Ee(W,M),L&&Ee(L,M),l.value=M}const C=I(()=>e.multiple||e.directory),w=(M,W,L={append:!1,remove:!1})=>{const{append:H,remove:V}=L,G=Array.from(h.value),J=G.findIndex(Q=>Q.id===M.id);if(H||V||~J){H?G.push(M):V?G.splice(J,1):G.splice(J,1,M);const{onChange:Q}=e;Q&&Q({file:M,fileList:G,event:W}),x(G)}};function S(M,W){if(!M||M.length===0)return;const{onBeforeUpload:L}=e;M=C.value?M:[M[0]];const{max:H,accept:V}=e;M=M.filter(({file:J,source:Q})=>Q==="dnd"&&V?.trim()?N_e(J.name,J.type,V):!0),H&&(M=M.slice(0,H-h.value.length));const G=ho();Promise.all(M.map(J=>dy(this,[J],void 0,function*({file:Q,entry:de}){var ke;const le={id:ho(),batchId:G,name:Q.name,status:"pending",percentage:0,file:Q,url:null,type:Q.type,thumbnailUrl:null,fullPath:(ke=de?.fullPath)!==null&&ke!==void 0?ke:`/${Q.webkitRelativePath||Q.name}`};return!L||(yield L({file:le,fileList:h.value}))!==!1?le:null}))).then(J=>dy(this,void 0,void 0,function*(){let Q=Promise.resolve();J.forEach(de=>{Q=Q.then(Lt).then(()=>{de&&w(de,W,{append:!0})})}),yield Q})).then(()=>{e.defaultUpload&&P()})}function P({fileId:M,retry:W=!1}={}){const{method:L,action:H,withCredentials:V,headers:G,data:J,name:Q}=e,de=M!==void 0?h.value.filter(le=>le.id===M):h.value,ke=W||M!==void 0;de.forEach(le=>{const{status:ye}=le;(ye==="pending"||ye==="error"&&ke)&&(e.customRequest?j_e({inst:{doChange:w,xhrMap:m,onFinish:e.onFinish,onError:e.onError},file:le,action:H,withCredentials:V,headers:G,data:J,customRequest:e.customRequest}):q_e({doChange:w,xhrMap:m,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},Q,le,{method:L,action:H,withCredentials:V,responseType:e.responseType,headers:G,data:J}))})}function _(M){var W;if(M.thumbnailUrl)return M.thumbnailUrl;const{createThumbnailUrl:L}=e;return L?(W=L(M.file,M))!==null&&W!==void 0?W:M.url||"":M.url?M.url:M.file?z_e(M.file):""}const T=I(()=>{const{common:{cubicBezierEaseInOut:M},self:{draggerColor:W,draggerBorder:L,draggerBorderHover:H,itemColorHover:V,itemColorHoverError:G,itemTextColorError:J,itemTextColorSuccess:Q,itemTextColor:de,itemIconColor:ke,itemDisabledOpacity:le,lineHeight:ye,borderRadius:ue,fontSize:oe,itemBorderImageCardError:ie,itemBorderImageCard:xe}}=o.value;return{"--n-bezier":M,"--n-border-radius":ue,"--n-dragger-border":L,"--n-dragger-border-hover":H,"--n-dragger-color":W,"--n-font-size":oe,"--n-item-color-hover":V,"--n-item-color-hover-error":G,"--n-item-disabled-opacity":le,"--n-item-icon-color":ke,"--n-item-text-color":de,"--n-item-text-color-error":J,"--n-item-text-color-success":Q,"--n-line-height":ye,"--n-item-border-image-card-error":ie,"--n-item-border-image-card":xe}}),E=r?wt("upload",void 0,T,e):void 0;dt(ws,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:Se(e,"showCancelButton"),showDownloadButtonRef:Se(e,"showDownloadButton"),showRemoveButtonRef:Se(e,"showRemoveButton"),showRetryButtonRef:Se(e,"showRetryButton"),onRemoveRef:Se(e,"onRemove"),onDownloadRef:Se(e,"onDownload"),customDownloadRef:Se(e,"customDownload"),mergedFileListRef:h,triggerClassRef:Se(e,"triggerClass"),triggerStyleRef:Se(e,"triggerStyle"),shouldUseThumbnailUrlRef:Se(e,"shouldUseThumbnailUrl"),renderIconRef:Se(e,"renderIcon"),xhrMap:m,submit:P,doChange:w,showPreviewButtonRef:Se(e,"showPreviewButton"),onPreviewRef:Se(e,"onPreview"),getFileThumbnailUrlResolver:_,listTypeRef:Se(e,"listType"),dragOverRef:f,openOpenFileDialog:b,draggerInsideRef:u,handleFileAddition:S,mergedDisabledRef:a.mergedDisabledRef,maxReachedRef:p,fileListClassRef:Se(e,"fileListClass"),fileListStyleRef:Se(e,"fileListStyle"),abstractRef:Se(e,"abstract"),acceptRef:Se(e,"accept"),cssVarsRef:r?void 0:T,themeClassRef:E?.themeClass,onRender:E?.onRender,showTriggerRef:Se(e,"showTrigger"),imageGroupPropsRef:Se(e,"imageGroupProps"),mergedDirectoryDndRef:I(()=>{var M;return(M=e.directoryDnd)!==null&&M!==void 0?M:e.directory}),onRetryRef:Se(e,"onRetry")});const D={clear:()=>{l.value=[]},submit:P,openOpenFileDialog:b};return Object.assign({mergedClsPrefix:t,draggerInsideRef:u,rtlEnabled:i,inputElRef:d,mergedTheme:o,dragOver:f,mergedMultiple:C,cssVars:r?void 0:T,themeClass:E?.themeClass,onRender:E?.onRender,handleFileInputChange:y},D)},render(){var e,t;const{draggerInsideRef:r,mergedClsPrefix:n,$slots:o,directory:i,onRender:a}=this;if(o.default&&!this.abstract){const s=o.default()[0];!((e=s?.type)===null||e===void 0)&&e.__UPLOAD_DRAGGER__&&(r.value=!0)}const l=v("input",Object.assign({},this.inputProps,{ref:"inputElRef",type:"file",class:`${n}-upload-file-input`,accept:this.accept,multiple:this.mergedMultiple,onChange:this.handleFileInputChange,webkitdirectory:i||void 0,directory:i||void 0}));return this.abstract?v(yt,null,(t=o.default)===null||t===void 0?void 0:t.call(o),v(Tc,{to:"body"},l)):(a?.(),v("div",{class:[`${n}-upload`,this.rtlEnabled&&`${n}-upload--rtl`,r.value&&`${n}-upload--dragger-inside`,this.dragOver&&`${n}-upload--drag-over`,this.themeClass],style:this.cssVars},l,this.showTrigger&&this.listType!=="image-card"&&v(NP,null,o),this.showFileList&&v(_X,null,o)))}})})),X_e=c((()=>{yL(),Y_e(),DP(),wX(),HP()})),Z_e=c((()=>{Y(),Ot(),rt()})),J_e=c((()=>{Je(),Y(),Pe(),we(),Th(),$e()})),_I=c((()=>{j7(),$ve(),Ave(),Gve(),Zve(),rme(),ome(),hme(),_me(),$n(),fS(),Ime(),Aj(),Wme(),Jme(),Qa(),Gj(),oV(),fpe(),fV(),bS(),gpe(),sbe(),vbe(),wbe(),mK(),n0e(),XK(),w0e(),US(),T0e(),B0e(),$q(),lU(),oa(),H0e(),U0e(),dxe(),uxe(),Fxe(),zxe(),Dxe(),SY(),Nxe(),Hxe(),HS(),Vxe(),OP(),eCe(),Hn(),lCe(),sCe(),cCe(),dCe(),fCe(),hCe(),gK(),vCe(),gCe(),bCe(),yCe(),OK(),qK(),KK(),xCe(),CCe(),AV(),kCe(),Xa(),bV(),YY(),MCe(),zS(),ICe(),FCe(),LCe(),wV(),NCe(),UCe(),mP(),YCe(),ZCe(),JCe(),QCe(),n_e(),o_e(),c_e(),eS(),d_e(),u_e(),WU(),f_e(),eg(),h_e(),vX(),k_e(),E_e(),X_e(),Z_e(),J_e()})),Q_e=c((()=>{Y(),_e(),Sn()})),PX,kX=c((()=>{PX=()=>({})})),RX,e1e=c((()=>{_e(),kX(),RX={name:"Equation",common:Ve,self:PX}})),WP=c((()=>{e1e(),kX()})),$X,t1e=c((()=>{_e(),$X={name:"FloatButtonGroup",common:Ve,self(e){const{popoverColor:t,dividerColor:r,borderRadius:n}=e;return{color:t,buttonBorderColor:r,borderRadiusSquare:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}}})),jP=c((()=>{t1e(),yd()})),TX,r1e=c((()=>{Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),yd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th(),TX={name:"dark",common:Ve,Alert:yW,Anchor:$W,AutoComplete:NW,Avatar:dS,AvatarGroup:GW,BackTop:QW,Badge:ej,Breadcrumb:cj,Button:Rn,ButtonGroup:Iq,Calendar:wj,Card:vS,Carousel:Ij,Cascader:Wj,Checkbox:ys,Code:gS,Collapse:Jj,CollapseTransition:aV,ColorPicker:uV,DataTable:VV,DatePicker:HU,Descriptions:qU,Dialog:eP,Divider:YK,Drawer:eq,Dropdown:Jp,DynamicInput:mq,DynamicTags:kq,Element:Rq,Empty:qa,Ellipsis:$S,Equation:RX,Flex:Oq,Form:Lq,GradientText:Bq,Heatmap:kY,Icon:yU,IconWrapper:$Y,Image:TY,Input:Nn,InputNumber:Nq,InputOtp:jq,LegacyTransfer:LY,Layout:Kq,List:Yq,LoadingBar:pK,Log:Jq,Menu:rG,Mention:Qq,Message:_K,Modal:lK,Notification:zK,PageHeader:iG,Pagination:PS,Popconfirm:dG,Popover:Ya,Popselect:yS,Progress:xP,QrCode:XY,Radio:OS,Rate:hG,Result:pG,Row:qq,Scrollbar:on,Select:_S,Skeleton:ZY,Slider:bG,Space:hP,Spin:wG,Statistic:PG,Steps:EG,Switch:IG,Table:LG,Tabs:UG,Tag:Zw,Thing:qG,TimePicker:YS,Timeline:JG,Tooltip:Qf,Transfer:tY,Tree:wP,TreeSelect:lY,Typography:fY,Upload:pY,Watermark:yY,Split:eX,FloatButton:xY,FloatButtonGroup:$X,Marquee:NY}})),n1e=c((()=>{r1e(),Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),fh(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),ig(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th()})),VP=c((()=>{$e(),_I(),Q_e(),H7(),_I(),yd(),nn(),Y(),Pe(),we(),$n(),oV(),fV(),bS(),Sn(),XK(),$q(),oa(),SY(),HS(),Hn(),Xa(),mP(),Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),fh(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),ig(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th(),n1e(),hn(),Je()}));function UP(e){const t=typeof e=="number"?e:Number(e);return Number.isFinite(t)?Math.min(20,Math.max(12,Math.round(t))):14}function ef(e){if(typeof e!="string")return null;const t=e.trim().toLowerCase();return/^#[0-9a-f]{6}$/.test(t)?t:/^#[0-9a-f]{3}$/.test(t)?`#${t.slice(1).split("").map(r=>r.repeat(2)).join("")}`:null}function $m(e){return[Number.parseInt(e.slice(1,3),16),Number.parseInt(e.slice(3,5),16),Number.parseInt(e.slice(5,7),16)]}function o1e(e){return`#${e.map(t=>Math.round(t).toString(16).padStart(2,"0")).join("")}`}function yv(e,t,r){const n=$m(e),o=$m(t);return o1e(n.map((i,a)=>i*r+o[a]*(1-r)))}function Dd(e){return $m(e).join(", ")}function i1e(e){const[t,r,n]=$m(e).map(o=>{const i=o/255;return i<=.03928?i/12.92:((i+.055)/1.055)**2.4});return .2126*t+.7152*r+.0722*n>.42?"#1a1a1a":"#ffffff"}function a1e(e){const t=e&&typeof e=="object"?e:{};return{fontSize:UP(t.fontSize),textColor:ef(t.textColor),accentColor:ef(t.accentColor)}}function EX(e,t){const r=t?"#1a1a1a":"#fafafa",n={fontSize:UP(e.fontSize)},o=ef(e.textColor);o&&(n.textPrimary=o,n.textSecondary=yv(o,r,.68),n.textMuted=yv(o,r,.5),n.textPrimaryRgb=Dd(o),n.textSecondaryRgb=Dd(n.textSecondary),n.textMutedRgb=Dd(n.textMuted));const i=ef(e.accentColor);if(i){const a=t?"#ffffff":"#000000";n.accentPrimary=i,n.accentHover=yv(a,i,.18),n.accentMuted=yv(i,r,.55),n.accentPrimaryRgb=Dd(i),n.accentHoverRgb=Dd(n.accentHover),n.textOnAccent=i1e(i)}return n}var l1e,s1e,c1e,OX=c((()=>{l1e=14,s1e=12,c1e=20}));Yte();VP();OX();var d1e={common:{primaryColor:"#333333",primaryColorHover:"#1a1a1a",primaryColorPressed:"#000000",primaryColorSuppl:"#333333",bodyColor:"#fafafa",cardColor:"#ffffff",modalColor:"#ffffff",popoverColor:"#ffffff",tableColor:"#ffffff",inputColor:"#ffffff",actionColor:"#f0f0f0",textColorBase:"#1a1a1a",textColor1:"#1a1a1a",textColor2:"#666666",textColor3:"#999999",dividerColor:"#e0e0e0",borderColor:"#e0e0e0",hoverColor:"rgba(0, 0, 0, 0.04)",borderRadius:"8px",borderRadiusSmall:"6px",fontSize:"14px",fontSizeMedium:"14px",heightMedium:"36px",fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontFamilyMono:"JetBrains Mono, Fira Code, Consolas, monospace"},Layout:{color:"#fafafa",siderColor:"#f5f5f5",headerColor:"#fafafa"},Menu:{itemTextColorActive:"#1a1a1a",itemTextColorActiveHover:"#1a1a1a",itemTextColorChildActive:"#1a1a1a",itemIconColorActive:"#1a1a1a",itemIconColorActiveHover:"#000000",itemColorActive:"rgba(0, 0, 0, 0.06)",itemColorActiveHover:"rgba(0, 0, 0, 0.1)",arrowColorActive:"#1a1a1a"},Button:{textColorPrimary:"#ffffff",colorPrimary:"#333333",colorHoverPrimary:"#1a1a1a",colorPressedPrimary:"#000000"},Input:{color:"#ffffff",colorFocus:"#ffffff",border:"1px solid #e0e0e0",borderHover:"1px solid #999999",borderFocus:"1px solid #333333",borderDisabled:"1px solid #ebebeb",groupLabelBorder:"1px solid #e0e0e0",placeholderColor:"#999999",caretColor:"#1a1a1a"},InternalSelection:{border:"1px solid #e0e0e0",borderHover:"1px solid #999999",borderActive:"1px solid #333333",borderFocus:"1px solid #333333"},Card:{color:"#ffffff",borderColor:"#e0e0e0"},Modal:{color:"#ffffff"},Tag:{borderRadius:"6px"}},u1e={common:{primaryColor:"#e0e0e0",primaryColorHover:"#f5f5f5",primaryColorPressed:"#ffffff",primaryColorSuppl:"#e0e0e0",bodyColor:"#1a1a1a",cardColor:"#2a2a2a",modalColor:"#2a2a2a",popoverColor:"#2a2a2a",tableColor:"#2a2a2a",inputColor:"#2a2a2a",actionColor:"#252525",textColorBase:"#e0e0e0",textColor1:"#e0e0e0",textColor2:"#a0a0a0",textColor3:"#666666",dividerColor:"#3a3a3a",borderColor:"#3a3a3a",hoverColor:"rgba(255, 255, 255, 0.06)",borderRadius:"8px",borderRadiusSmall:"6px",fontSize:"14px",fontSizeMedium:"14px",heightMedium:"36px",fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontFamilyMono:"JetBrains Mono, Fira Code, Consolas, monospace"},Layout:{color:"#1a1a1a",siderColor:"#202020",headerColor:"#1a1a1a"},Menu:{itemTextColorActive:"#e0e0e0",itemTextColorActiveHover:"#e0e0e0",itemTextColorChildActive:"#e0e0e0",itemIconColorActive:"#e0e0e0",itemIconColorActiveHover:"#ffffff",itemColorActive:"rgba(255, 255, 255, 0.08)",itemColorActiveHover:"rgba(255, 255, 255, 0.12)",arrowColorActive:"#e0e0e0"},Button:{textColorPrimary:"#1a1a1a",colorPrimary:"#e0e0e0",colorHoverPrimary:"#f5f5f5",colorPressedPrimary:"#ffffff"},Input:{color:"#2a2a2a",colorFocus:"#2a2a2a",border:"1px solid #555555",borderHover:"1px solid #777777",borderFocus:"1px solid #e0e0e0",borderDisabled:"1px solid #3a3a3a",groupLabelBorder:"1px solid #555555",placeholderColor:"#666666",caretColor:"#e0e0e0"},InternalSelection:{border:"1px solid #555555",borderHover:"1px solid #777777",borderActive:"1px solid #e0e0e0",borderFocus:"1px solid #e0e0e0"},Card:{color:"#2a2a2a",borderColor:"#3a3a3a"},Modal:{color:"#2a2a2a"},Tag:{borderRadius:"6px"},Switch:{railColor:"#3a3a3a",railColorActive:"#e0e0e0",loadingColor:"#e0e0e0",opacityDisabled:.4}};function f1e(e,t,r){const n=e?u1e:d1e;if(!t&&!r)return n;const o="'Comic Neue', 'ZCOOL KuaiLe', 'Zen Maru Gothic', 'Gaegu', cursive, sans-serif",i=r?EX(r,e):null,a={...n.common,...t?{fontFamily:o}:{},...i?{fontSize:`${i.fontSize}px`,fontSizeMedium:`${i.fontSize}px`}:{},...i?.textPrimary?{textColorBase:i.textPrimary,textColor1:i.textPrimary,textColor2:i.textSecondary,textColor3:i.textMuted}:{},...i?.accentPrimary?{primaryColor:i.accentPrimary,primaryColorHover:i.accentHover,primaryColorPressed:i.accentHover,primaryColorSuppl:i.accentPrimary}:{}},l=i?.textPrimary||i?.accentPrimary?{...n.Input,...i?.textPrimary?{textColor:i.textPrimary,placeholderColor:i.textMuted,caretColor:i.textPrimary}:{},...i?.accentPrimary&&i.accentPrimaryRgb?{border:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`,borderHover:`1px solid rgba(${i.accentPrimaryRgb}, 0.32)`,borderFocus:`1px solid ${i.accentPrimary}`,groupLabelBorder:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`}:{}}:null,s=i?.textPrimary||i?.accentPrimary?{...n.InternalSelection,...i?.textPrimary?{textColor:i.textPrimary,placeholderColor:i.textMuted,placeholderColorDisabled:i.textMuted,caretColor:i.textPrimary}:{},...i?.accentPrimary&&i.accentPrimaryRgb?{border:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`,borderHover:`1px solid rgba(${i.accentPrimaryRgb}, 0.32)`,borderActive:`1px solid ${i.accentPrimary}`,borderFocus:`1px solid ${i.accentPrimary}`,boxShadowActive:`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.2)`,boxShadowFocus:`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.2)`,loadingColor:i.accentPrimary}:{}}:null;return{...n,common:a,...l?{Input:l}:{},...s?{InternalSelection:s}:{},...i?.accentPrimary?{Button:{...n.Button,textColorPrimary:i.textOnAccent,colorPrimary:i.accentPrimary,colorHoverPrimary:i.accentHover,colorPressedPrimary:i.accentHover},Switch:{...n.Switch,railColorActive:i.accentPrimary,loadingColor:i.accentPrimary,boxShadowFocus:i.accentPrimaryRgb?`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.3)`:n.Switch?.boxShadowFocus}}:{}}}function h1e(e,t){const r=typeof window>"u"?"http://hermes.local":window.location.origin;return new URL(`/__hermes-theme-background/${e}/${t}`,r).toString()}async function v1e(e,t={}){await hz();const r=new Headers(t.headers),n=Zl();return n&&r.set("Authorization",`Bearer ${n}`),fetch(`${uee()}${e}`,{...t,headers:r})}function m1e(){return Yt("/api/theme")}function p1e(e){return Yt("/api/theme",{method:"PUT",body:JSON.stringify(e)})}function g1e(e){const t=new FormData;return t.append("background",e),Yt("/api/theme/background",{method:"POST",body:t})}function b1e(){return Yt("/api/theme/background",{method:"DELETE"})}async function y1e(e,t,r=!1){const n=h1e(e,t),o=typeof caches>"u"?null:await caches.open(KP).catch(()=>null);if(!r){const l=await o?.match(n).catch(()=>{});if(l)return l.blob()}const i=await v1e(`/api/theme/background?v=${encodeURIComponent(t)}`);if(!i.ok)throw new Error(`Failed to load theme background (${i.status})`);const a=await i.blob();if(o){const l=`/__hermes-theme-background/${e}/`,s=await o.keys().catch(()=>[]);await Promise.all(s.filter(d=>new URL(d.url).pathname.startsWith(l)&&d.url!==n).map(d=>o.delete(d).catch(()=>!1))),await o.put(n,new Response(a,{headers:{"Content-Type":a.type}})).catch(()=>{})}return a}async function x1e(e){if(typeof caches>"u")return;const t=await caches.open(KP).catch(()=>null);if(!t)return;const r=`/__hermes-theme-background/${e}/`,n=await t.keys().catch(()=>[]);await Promise.all(n.filter(o=>new URL(o.url).pathname.startsWith(r)).map(o=>t.delete(o).catch(()=>!1)))}var KP,C1e=c((()=>{Km(),KP="hermes-theme-background-v1"}));function _1e(){const e=(localStorage.getItem(DX)||"").split(".")[1];if(!e)return null;try{const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"="),n=JSON.parse(atob(r)),o=Number(n.sub);return Number.isInteger(o)&&o>0?o:null}catch{return null}}function AX(e){return`${LX}:${e}`}function qP(e){const t=e&&typeof e=="object"?e:{},r=a1e(t),n=t.background&&typeof t.background=="object"?t.background:null,o=Number(n?.updatedAt),i=n&&Number.isFinite(o)&&o>0?{name:typeof n.name=="string"?n.name:"background",mime:typeof n.mime=="string"?n.mime:null,updatedAt:o}:null;return{...r,background:i,updatedAt:Number.isFinite(Number(t.updatedAt))?Number(t.updatedAt):0}}function w1e(e){if(!e)return{...Yv};try{const t=localStorage.getItem(AX(e));return t?qP(JSON.parse(t)):{...Yv}}catch{return{...Yv}}}function S1e(e){return e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches:e==="dark"}function ro(e,t){t?document.documentElement.style.setProperty(e,t):document.documentElement.style.removeProperty(e)}function xg(){const e=EX(XP.value,ic.value);document.documentElement.style.setProperty("--font-size-base",`${e.fontSize}px`),ro("--text-primary",e.textPrimary),ro("--text-secondary",e.textSecondary),ro("--text-muted",e.textMuted),ro("--text-primary-rgb",e.textPrimaryRgb),ro("--text-secondary-rgb",e.textSecondaryRgb),ro("--text-muted-rgb",e.textMutedRgb),ro("--accent-primary",e.accentPrimary),ro("--accent-hover",e.accentHover),ro("--accent-muted",e.accentMuted),ro("--accent-primary-rgb",e.accentPrimaryRgb),ro("--accent-hover-rgb",e.accentHoverRgb),ro("--text-on-accent",e.textOnAccent)}function xv(){const e=S1e(Fl.value);ic.value=e,ac.value=oc.value==="comic",document.documentElement.classList.toggle("dark",e),document.documentElement.classList.toggle("comic",ac.value),xg()}function MX(){mi.value&&localStorage.setItem(AX(mi.value),JSON.stringify(tn.value))}function IX(){pu&&typeof URL.revokeObjectURL=="function"&&URL.revokeObjectURL(pu),pu=null}function u_(){gu+=1,IX(),tf.value=null,document.documentElement.style.removeProperty("--app-background-image")}async function GP(e=!1){const t=mi.value,r=tn.value.background;if(!t||!r){u_();return}const n=++gu;try{const o=await y1e(t,r.updatedAt,e);if(n!==gu||t!==mi.value||r.updatedAt!==tn.value.background?.updatedAt||typeof URL.createObjectURL!="function")return;const i=URL.createObjectURL(o);IX(),pu=i,tf.value=i,document.documentElement.style.setProperty("--app-background-image",`url("${i}")`)}catch{n===gu&&u_()}}function Oh(e,t=mi.value){t&&(mi.value=t),tn.value=qP(e),YP=tn.value,MX(),xg(),GP()}function FX(e){tn.value=qP({...tn.value,...e}),xg()}async function zX(e){FX(e);try{Oh(await p1e(e))}catch(t){throw tn.value=YP,MX(),xg(),t}}async function P1e(){mi.value&&Oh(await m1e())}function k1e(e,t){Oh(t,e)}async function R1e(e){Oh(await g1e(e)),await GP(!0)}async function $1e(){const e=mi.value,t=await b1e();u_(),e&&await x1e(e),Oh(t)}function T1e(){return zX({fontSize:14,textColor:null,accentColor:null})}function E1e(){const e=I(()=>{const i=ic.value?"dark":"light";return ac.value?`comic-${i}`:i});function t(i){Fl.value=i}function r(i){oc.value=i}function n(){Fl.value=ic.value?"light":"dark"}function o(){oc.value=ac.value?"ink":"comic"}return{brightness:Fl,style:oc,isDark:ic,isComic:ac,themeName:e,customization:XP,fontSize:I(()=>tn.value.fontSize),textColor:I(()=>tn.value.textColor),accentColor:I(()=>tn.value.accentColor),backgroundImageUrl:tf,backgroundImageName:BX,hasBackgroundImage:f_,setBrightness:t,setStyle:r,toggleBrightness:n,toggleStyle:o,previewThemeSettings:FX,saveThemeCustomization:zX,resetCustomization:T1e,syncThemeFromServer:P1e,activateUserTheme:k1e,uploadBackground:R1e,removeBackground:$1e,normalizeThemeFontSize:UP,normalizeHexColor:ef}}var uy,fy,DX,LX,Yv,Fl,oc,ic,ac,mi,tn,YP,tf,BX,f_,pu,gu,XP,O1e=c((()=>{Y(),C1e(),OX(),uy="hermes_brightness",fy="hermes_style",DX="hermes_api_key",LX="hermes_theme_customization_v1",Yv={fontSize:14,textColor:null,accentColor:null,background:null,updatedAt:0},Fl=q(localStorage.getItem(uy)||"system"),oc=q(localStorage.getItem(fy)||"ink"),ic=q(!1),ac=q(!1),mi=q(_1e()),tn=q(w1e(mi.value)),YP=tn.value,tf=q(null),BX=I(()=>tn.value.background?.name||""),f_=I(()=>!!tf.value),pu=null,gu=0,XP=I(()=>({fontSize:tn.value.fontSize,textColor:tn.value.textColor,accentColor:tn.value.accentColor})),xv(),GP(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{Fl.value==="system"&&xv()}),nt(Fl,e=>{localStorage.setItem(uy,e),xv()}),nt(oc,e=>{localStorage.setItem(fy,e),xv()}),nt(f_,e=>{document.documentElement.classList.toggle("theme-has-custom-background",e)},{immediate:!0})}));function NX(){function e(){Xv.value=!0}function t(){Xv.value=!1}return{sessionSearchOpen:Xv,openSessionSearch:e,closeSessionSearch:t}}var Xv,HX=c((()=>{Y(),Xv=q(!1)}));O1e();Y();u1();HX();qm();function A1e(){const e=tee(),{sessionSearchOpen:t,openSessionSearch:r,closeSessionSearch:n}=NX();function o(i){const a=i.ctrlKey||i.metaKey;if(a&&i.key==="n"){i.preventDefault(),it(async()=>{const{useChatStore:l}=await import("./chat-DdHii4Qz.js").then(s=>(s.i(),s.t));return{useChatStore:l}},__vite__mapDeps([15,2,16,17,18,19,4,20])).then(({useChatStore:l})=>{l().newChat()});return}if(a&&i.key==="j"){i.preventDefault(),e.push({name:"hermes.jobs"});return}if(a&&i.key.toLowerCase()==="k"){if(e.currentRoute.value.name==="login")return;i.preventDefault(),r();return}if(i.key==="Escape"){if(t.value){i.preventDefault(),n();return}const l=document.querySelector(".n-modal-mask");l&&l.querySelector(".n-base-close")?.click()}}Ht(()=>{window.addEventListener("keydown",o)}),go(()=>{window.removeEventListener("keydown",o)})}async function M1e(){return Yt("/health")}async function I1e(){return Yt("/api/hermes/update",{method:"POST"})}async function Lwe(){return Yt("/api/hermes/update/preview")}async function Bwe(){return Yt("/api/hermes/update/preview/tags")}async function Nwe(e){return Yt("/api/hermes/update/preview/prepare",{method:"POST",body:JSON.stringify({tag:e})})}async function Hwe(){return Yt("/api/hermes/update/preview/install",{method:"POST"})}async function Wwe(e){return Yt("/api/hermes/update/preview/start",{method:"POST",body:JSON.stringify({tag:e})})}async function jwe(){return Yt("/api/hermes/update/preview/stop",{method:"POST"})}async function F1e(){return Yt("/api/hermes/available-models")}async function Vwe(e){const t=new URLSearchParams;return t.set("profile",e||"default"),Yt(`/api/hermes/available-models?${t.toString()}`)}async function Uwe(e){return Yt("/api/hermes/provider-models",{method:"POST",body:JSON.stringify(e)})}async function Kwe(){return Yt("/api/hermes/provider-models/cache/refresh",{method:"POST"})}async function z1e(e){await Yt("/api/hermes/config/model",{method:"PUT",body:JSON.stringify(e)})}async function D1e(e){await Yt("/api/hermes/model-alias",{method:"PUT",body:JSON.stringify(e)})}async function qwe(e){await Yt("/api/hermes/config/providers",{method:"POST",body:JSON.stringify(e)})}async function Gwe(e,t={}){const r=new URLSearchParams;t.source&&r.set("source",t.source),t.providerKey&&r.set("providerKey",t.providerKey),await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}${r.size?`?${r}`:""}`,{method:"DELETE"})}async function Ywe(e,t){await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(t)})}async function Xwe(e){return(await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor`)).provider}async function Zwe(e,t,r){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor`,{method:"PATCH",headers:{"If-Match":`"${t}"`},body:JSON.stringify(r)})}async function Jwe(e,t){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor/test`,{method:"POST",body:JSON.stringify(t)})}async function Qwe(e,t,r){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor/contexts`,{method:"PATCH",headers:{"If-Match":`"${t}"`},body:JSON.stringify({context_lengths:r})})}async function eSe(e,t={}){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/models/refresh`,{method:"POST",body:JSON.stringify({confirm:t.confirm===!0})})}async function tSe(e){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/models/restore`,{method:"POST",body:JSON.stringify({})})}async function L1e(e){return Yt("/api/hermes/model-visibility",{method:"PUT",body:JSON.stringify(e)})}async function B1e(e){return Yt("/api/hermes/custom-model",{method:"PUT",body:JSON.stringify(e)})}async function N1e(e){const t=new URLSearchParams;return t.set("provider",e.provider),t.set("model",e.model),Yt(`/api/hermes/custom-model?${t.toString()}`,{method:"DELETE"})}var H1e=c((()=>{Km()})),hy,vy,wI,SI,WX,W1e=c((()=>{Y(),H1e(),Km(),hy="0.6.40",vy="hermes_sidebar_collapsed",wI="hermes_active_profile_name",SI=3e4,WX=pQ("app",()=>{const e=q(!1),t=q(localStorage.getItem(vy)==="1"),r=q(!0),n=q(!1),o=q(hy),i=q(""),a=q(!1),l=q(!1),s=q(!1),d=q([]),u=q([]),f=q(""),m=q(""),g=q({}),h=q({}),p=q({}),b=q(),y=q(""),x=q(!1),C=q(!0),w=q(!0),S=q(4096);let P=null,_=0;async function T(){s.value=!0;try{const se=await I1e();return se.success&&(a.value=!1,await E()),se.success}catch(se){return console.error("Failed to update Hermes Web UI:",se),!1}finally{s.value=!1}}async function E(){try{const se=await M1e();n.value=se.status==="ok",se.webui_version&&(o.value=se.webui_version),l.value=!!se.webui_version&&se.webui_version!==hy,se.webui_latest&&(i.value=se.webui_latest),a.value=!!se.webui_update_available,se.node_version&&(y.value=se.node_version),x.value=!!se.is_docker}catch{n.value=!1,l.value=!1}}function D(se,Ie={}){const F=f.value,K=m.value;if(d.value=se.groups,u.value=se.profiles||[],h.value=se.model_aliases||{},p.value=se.model_visibility||{},g.value=se.custom_models||{},Ie.preserveSelection&&F&&K&&(se.groups.some(ze=>ze.provider===K&&ze.models.includes(F))||(se.custom_models?.[K]||[]).includes(F)))return;const ne=localStorage.getItem(wI)||"",be=(ne?u.value.find(ze=>ze.profile===ne):void 0)||se,B=be.groups||[],R=be.default||"",O=be.default_provider||"",Z=B.find(ze=>ze.provider===O&&ze.models.includes(R)),re=B.find(ze=>ze.models.includes(R)),X=B.find(ze=>ze.models.length>0),U=O?B.find(ze=>ze.provider===O):void 0,$=O?se.allProviders.find(ze=>ze.provider===O):void 0,N=U?.available_models?.length?U.available_models:$?.available_models?.length?$.available_models:$?.models||[],pe=O?p.value[O]:void 0,Ae=!!(R&&pe?.mode==="include"&&!pe.models.includes(R)&&(N.length===0||N.includes(R))),Ke=!!(R&&O&&U&&!U.models.includes(R)&&!Ae);if(Z||re){const ze=Z||re;f.value=R,m.value=ze.provider}else Ke?(f.value=R,m.value=O,g.value={...g.value,[O]:Array.from(new Set([...g.value[O]||[],R]))}):X?(f.value=X.models[0],m.value=X.provider):(f.value="",m.value="")}async function M(se=!1,Ie={}){if(zu()){if(!se&&P)return P;if(!(!se&&_>0&&Date.now()-_<SI))return _=Date.now(),P=(async()=>{try{D(await F1e(),Ie)}catch{}finally{P=null}})(),P}}async function W(se=15e3){if(!zu())return;const Ie=P||(_===0?M():null);Ie&&await Promise.race([Ie,new Promise(F=>setTimeout(F,se))])}async function L(se={}){return M(!0,se)}function H(se,Ie){if(Ie)return h.value[Ie]?.[se]||"";for(const F of Object.values(h.value))if(F[se])return F[se];return""}function V(se,Ie){return H(se,Ie)||se}function G(se,Ie,F){return se.map(K=>K.provider!==Ie?K:{...K,models:K.models.filter(ne=>ne!==F),available_models:K.available_models?.filter(ne=>ne!==F)})}function J(se,Ie){d.value=G(d.value,se,Ie),u.value=u.value.map(F=>({...F,groups:G(F.groups,se,Ie)}))}async function Q(se,Ie,F){const K=F.trim();await D1e({provider:Ie,model:se,alias:K});const ne={...h.value},be={...ne[Ie]||{}};K?(be[se]=K,ne[Ie]=be):(delete be[se],Object.keys(be).length>0?ne[Ie]=be:delete ne[Ie]),h.value=ne}async function de(se,Ie){try{const F=d.value.find(ne=>ne.models.includes(se)),K=Ie||F?.provider||"";await z1e({default:se,provider:K}),f.value=se,m.value=K||"",K&&!d.value.find(ne=>ne.provider===K)?.models.includes(se)&&(g.value=(await B1e({provider:K,model:se})).custom_models||{})}catch(F){console.error("Failed to switch model:",F)}}async function ke(se,Ie){const F=g.value[Ie]||[];if(!F.includes(se))return;const K={...g.value},ne=F.filter(be=>be!==se);ne.length>0?K[Ie]=ne:delete K[Ie];try{g.value=(await N1e({provider:Ie,model:se})).custom_models||K}catch(be){console.error("Failed to remove custom model:",be),g.value=K}if(J(Ie,se),f.value===se&&m.value===Ie){const be=d.value.find(B=>B.provider===Ie&&B.models.length>0)||d.value.find(B=>B.models.length>0);be?await de(be.models[0],be.provider):(f.value="",m.value="")}}function le(se){return p.value[se]||{mode:"all",models:[]}}function ye(se,Ie){const F=le(se);return F.mode!=="include"||F.models.includes(Ie)}async function ue(se,Ie){p.value=(await L1e({provider:se,mode:Ie.mode,models:Ie.models})).model_visibility||{},await L()}function oe(se=3e4){ie(),E(),b.value=setInterval(E,se)}function ie(){b.value&&(clearInterval(b.value),b.value=void 0)}function xe(){const se=new URL(window.location.href);se.searchParams.set("__hwui_reload",Date.now().toString()),window.location.replace(se.toString())}function ae(){e.value=!e.value}function Ce(){e.value=!1}function fe(){t.value=!t.value;try{localStorage.setItem(vy,t.value?"1":"0")}catch{}}function he(se){r.value=se}return{sidebarOpen:e,sidebarCollapsed:t,pageSidebarExpanded:r,toggleSidebar:ae,closeSidebar:Ce,toggleSidebarCollapsed:fe,setPageSidebarExpanded:he,connected:n,serverVersion:o,latestVersion:i,nodeVersion:y,isDocker:x,updateAvailable:a,clientOutdated:l,updating:s,doUpdate:T,reloadClient:xe,modelGroups:d,profileModelGroups:u,customModels:g,modelAliases:h,modelVisibility:p,selectedModel:f,selectedProvider:m,streamEnabled:C,sessionPersistence:w,maxTokens:S,checkConnection:E,loadModels:M,waitForModelsForRun:W,reloadModels:L,applyAvailableModelsResponse:D,switchModel:de,removeCustomModel:ke,getModelAlias:H,displayModelName:V,setModelAlias:Q,getProviderVisibility:le,isModelVisible:ye,setModelVisibility:ue,startHealthPolling:oe,stopHealthPolling:ie}})}));W1e();Y();$1();var j1e={style:{display:"none"},"aria-hidden":"true"},V1e=Re({__name:"AuthEventListener",setup(e){const t=Kbe(),{t:r}=uu();let n=0;function o(i){const a=i.detail||{},l=Date.now();if(!(l-n<1200)){if(n=l,a.kind==="forbidden"){t.error(r("login.accessDenied"));return}t.error(r("login.sessionExpired"))}}return Ht(()=>{window.addEventListener("hermes-auth-notice",o)}),go(()=>{window.removeEventListener("hermes-auth-notice",o)}),(i,a)=>(Hr(),Ns("span",j1e))}}),U1e=V1e;VP();var Cv={en:{locale:X1,dateLocale:Z1},zh:{locale:LL,dateLocale:s8},"zh-tw":{locale:BL,dateLocale:c8},ja:{locale:IL,dateLocale:o8},ko:{locale:FL,dateLocale:i8},de:{locale:OL,dateLocale:t8},fr:{locale:ML,dateLocale:n8},es:{locale:AL,dateLocale:r8},pt:{locale:zL,dateLocale:a8},ru:{locale:DL,dateLocale:l8},ar:{locale:EL,dateLocale:e8}};function K1e(e){const t=e.trim().toLowerCase().replace(/_/g,"-");return t==="zh-tw"||t.startsWith("zh-hk")?Cv["zh-tw"]:Cv[t]||Cv[t.split("-")[0]]||Cv.en}$e();var q1e=k("heatmap",[A("rtl",`
4606
+ `)])})),yI,gX,DP=c((()=>{Y(),we(),_d(),yI="__UPLOAD_DRAGGER__",gX=Re({name:"UploadDragger",[yI]:!0,setup(e,{slots:t}){const r=He(ws,null);return r||bo("upload-dragger","`n-upload-dragger` must be placed inside `n-upload`."),()=>{const{mergedClsPrefixRef:{value:n},mergedDisabledRef:{value:o},maxReachedRef:{value:i}}=r;return v("div",{class:[`${n}-upload-dragger`,(o||i)&&`${n}-upload-dragger--disabled`]},t)}}})}));function A_e(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},v("g",{fill:"none"},v("path",{d:"M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",fill:"currentColor"})))}function M_e(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},v("g",{fill:"none"},v("path",{d:"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2H6.4zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9V4.4zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06l6.44 6.44z",fill:"currentColor"})))}var I_e=c((()=>{Y()})),bX,F_e=c((()=>{Y(),rt(),YY(),_d(),bX=Re({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup(){return{mergedTheme:He(ws).mergedThemeRef}},render(){return v(na,null,{default:()=>this.show?v(GY,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}})}));function yX(e){return e.includes("image/")}function xI(e=""){const t=e.split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}function z_e(e){return Rm(this,void 0,void 0,function*(){return yield new Promise(t=>{if(!e.type||!yX(e.type)){t("");return}t(window.URL.createObjectURL(e))})})}function D_e(e){return e.isDirectory}function L_e(e){return e.isFile}function B_e(e,t){return Rm(this,void 0,void 0,function*(){const r=[];function n(o){return Rm(this,void 0,void 0,function*(){for(const i of o)if(i){if(t&&D_e(i)){const a=i.createReader();let l=[],s;try{do s=yield new Promise((d,u)=>{a.readEntries(d,u)}),l=l.concat(s);while(s.length>0)}catch(d){x$("upload","error happens when handling directory upload",d)}yield n(l)}else if(L_e(i))try{const a=yield new Promise((l,s)=>{i.file(l,s)});r.push({file:a,entry:i,source:"dnd"})}catch(a){x$("upload","error happens when handling file upload",a)}}})}return yield n(e),r})}function Qu(e){const{id:t,name:r,percentage:n,status:o,url:i,file:a,thumbnailUrl:l,type:s,fullPath:d,batchId:u}=e;return{id:t,name:r,percentage:n??null,status:o,url:i??null,file:a??null,thumbnailUrl:l??null,type:s??null,fullPath:d??null,batchId:u??null}}function N_e(e,t,r){return e=e.toLowerCase(),t=t.toLocaleLowerCase(),r=r.toLocaleLowerCase(),r.split(",").map(n=>n.trim()).filter(Boolean).some(n=>{if(n.startsWith(".")){if(e.endsWith(n))return!0}else if(n.includes("/")){const[o,i]=t.split("/"),[a,l]=n.split("/");if((a==="*"||o&&a&&a===o)&&(l==="*"||i&&l&&l===i))return!0}else return!0;return!1})}var Rm,sy,LP,xX,BP=c((()=>{we(),_L(),Rm=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},sy=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,LP=e=>{if(e.type)return yX(e.type);const t=xI(e.name||"");if(sy.test(t))return!0;const r=e.thumbnailUrl||e.url||"",n=xI(r);return!!(/^data:image\//.test(r)||sy.test(n))},xX=Bo&&window.FileReader&&window.File})),cy,zd,CX,H_e=c((()=>{Je(),Y(),rt(),St(),we(),$n(),OP(),I_e(),_d(),F_e(),BP(),cy=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},zd={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},CX=Re({name:"UploadFile",props:{clsPrefix:{type:String,required:!0},file:{type:Object,required:!0},listType:{type:String,required:!0},index:{type:Number,required:!0}},setup(e){const t=He(ws),r=q(null),n=q(""),o=I(()=>{const{file:S}=e;return S.status==="finished"?"success":S.status==="error"?"error":"info"}),i=I(()=>{const{file:S}=e;if(S.status==="error")return"error"}),a=I(()=>{const{file:S}=e;return S.status==="uploading"}),l=I(()=>{if(!t.showCancelButtonRef.value)return!1;const{file:S}=e;return["uploading","pending","error"].includes(S.status)}),s=I(()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),d=I(()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),u=I(()=>{if(!t.showRetryButtonRef.value)return!1;const{file:S}=e;return["error"].includes(S.status)}),f=ct(()=>n.value||e.file.thumbnailUrl||e.file.url),m=I(()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:S},listType:P}=e;return["finished"].includes(S)&&f.value&&P==="image-card"});function g(){return cy(this,void 0,void 0,function*(){const S=t.onRetryRef.value;S&&(yield S({file:e.file}))===!1||t.submit({fileId:e.file.id})})}function h(S){S.preventDefault();const{file:P}=e;["finished","pending","error"].includes(P.status)?b(P):["uploading"].includes(P.status)?x(P):vo("upload","The button clicked type is unknown.")}function p(S){S.preventDefault(),y(e.file)}function b(S){const{xhrMap:P,doChange:_,onRemoveRef:{value:T},mergedFileListRef:{value:E}}=t;Promise.resolve(T?T({file:Object.assign({},S),fileList:E,index:e.index}):!0).then(D=>{if(D===!1)return;const M=Object.assign({},S,{status:"removed"});P.delete(S.id),_(M,void 0,{remove:!0})})}function y(S){const{onDownloadRef:{value:P},customDownloadRef:{value:_}}=t;Promise.resolve(P?P(Object.assign({},S)):!0).then(T=>{T!==!1&&(_?_(Object.assign({},S)):K1(S.url,S.name))})}function x(S){const{xhrMap:P}=t,_=P.get(S.id);_?.abort(),b(Object.assign({},S))}function C(S){const{onPreviewRef:{value:P}}=t;if(P)P(e.file,{event:S});else if(e.listType==="image-card"){const{value:_}=r;if(!_)return;_.showPreview()}}const w=()=>cy(this,void 0,void 0,function*(){const{listType:S}=e;S!=="image"&&S!=="image-card"||t.shouldUseThumbnailUrlRef.value(e.file)&&(n.value=yield t.getFileThumbnailUrlResolver(e.file))});return lr(()=>{w()}),{mergedTheme:t.mergedThemeRef,progressStatus:o,buttonType:i,showProgress:a,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:d,showRetryButton:u,showPreviewButton:m,mergedThumbnailUrl:f,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:r,handleRemoveOrCancelClick:h,handleDownloadClick:p,handleRetryClick:g,handlePreviewClick:C}},render(){const{clsPrefix:e,mergedTheme:t,listType:r,file:n,renderIcon:o}=this;let i;const a=r==="image";a||r==="image-card"?i=!this.shouldUseThumbnailUrl(n)||!this.mergedThumbnailUrl?v("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):LP(n)?v(ht,{clsPrefix:e},{default:A_e}):v(ht,{clsPrefix:e},{default:M_e})):v("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,class:`${e}-upload-file-info__thumbnail`,onClick:this.handlePreviewClick},r==="image-card"?v(IY,{src:this.mergedThumbnailUrl||void 0,previewSrc:n.url||void 0,alt:n.name,ref:"imageRef"}):v("img",{src:this.mergedThumbnailUrl||void 0,alt:n.name})):i=v("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):v(ht,{clsPrefix:e},{default:()=>v(K7,null)}));const l=v(bX,{show:this.showProgress,percentage:n.percentage||0,status:this.progressStatus}),s=r==="text"||r==="image";return v("div",{class:[`${e}-upload-file`,`${e}-upload-file--${this.progressStatus}-status`,n.url&&n.status!=="error"&&r!=="image-card"&&`${e}-upload-file--with-url`,`${e}-upload-file--${r}-type`]},v("div",{class:`${e}-upload-file-info`},i,v("div",{class:`${e}-upload-file-info__name`},s&&(n.url&&n.status!=="error"?v("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,onClick:this.handlePreviewClick},n.name):v("span",{onClick:this.handlePreviewClick},n.name)),a&&l),v("div",{class:[`${e}-upload-file-info__action`,`${e}-upload-file-info__action--${r}-type`]},this.showPreviewButton?v(lo,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(Ww,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&v(lo,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:zd,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>v(bi,null,{default:()=>this.showRemoveButton?v(ht,{clsPrefix:e,key:"trash"},{default:()=>v(l9,null)}):v(ht,{clsPrefix:e,key:"cancel"},{default:()=>v(q7,null)})})}),this.showRetryButton&&!this.disabled&&v(lo,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(n9,null)})}),this.showDownloadButton?v(lo,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:zd},{icon:()=>v(ht,{clsPrefix:e},{default:()=>v(Hw,null)})}):null)),!a&&l)}})})),NP,HP=c((()=>{Y(),rt(),St(),we(),_d(),DP(),BP(),NP=Re({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const r=He(ws,null);r||bo("upload-trigger","`n-upload-trigger` must be placed inside `n-upload`.");const{mergedClsPrefixRef:n,mergedDisabledRef:o,maxReachedRef:i,listTypeRef:a,dragOverRef:l,openOpenFileDialog:s,draggerInsideRef:d,handleFileAddition:u,mergedDirectoryDndRef:f,triggerClassRef:m,triggerStyleRef:g}=r,h=I(()=>a.value==="image-card");function p(){o.value||i.value||s()}function b(w){w.preventDefault(),l.value=!0}function y(w){w.preventDefault(),l.value=!0}function x(w){w.preventDefault(),l.value=!1}function C(w){var S;if(w.preventDefault(),!d.value||o.value||i.value){l.value=!1;return}const P=(S=w.dataTransfer)===null||S===void 0?void 0:S.items;P?.length?B_e(Array.from(P).map(_=>_.webkitGetAsEntry()),f.value).then(_=>{u(_)}).finally(()=>{l.value=!1}):l.value=!1}return()=>{var w;const{value:S}=n;return e.abstract?(w=t.default)===null||w===void 0?void 0:w.call(t,{handleClick:p,handleDrop:C,handleDragOver:b,handleDragEnter:y,handleDragLeave:x}):v("div",{class:[`${S}-upload-trigger`,(o.value||i.value)&&`${S}-upload-trigger--disabled`,h.value&&`${S}-upload-trigger--image-card`,m.value],style:g.value,onClick:p,onDrop:C,onDragover:b,onDragenter:y,onDragleave:x},h.value?v(gX,null,{default:()=>wr(t.default,()=>[v(ht,{clsPrefix:S},{default:()=>v(Lp,null)})])}):t)}}})})),_X,wX=c((()=>{Y(),rt(),we(),OP(),_d(),H_e(),HP(),_X=Re({name:"UploadFileList",setup(e,{slots:t}){const r=He(ws,null);r||bo("upload-file-list","`n-upload-file-list` must be placed inside `n-upload`.");const{abstractRef:n,mergedClsPrefixRef:o,listTypeRef:i,mergedFileListRef:a,fileListClassRef:l,fileListStyleRef:s,cssVarsRef:d,themeClassRef:u,maxReachedRef:f,showTriggerRef:m,imageGroupPropsRef:g}=r,h=I(()=>i.value==="image-card"),p=()=>a.value.map((y,x)=>v(CX,{clsPrefix:o.value,key:y.id,file:y,index:x,listType:i.value})),b=()=>h.value?v(AY,Object.assign({},g.value),{default:p}):v(na,{group:!0},{default:p});return()=>{const{value:y}=o,{value:x}=n;return v("div",{class:[`${y}-upload-file-list`,h.value&&`${y}-upload-file-list--grid`,x?u?.value:void 0,l.value],style:[x&&d?d.value:"",s.value]},b(),m.value&&!f.value&&h.value&&v(NP,null,t))}}})}));function W_e(e,t,r){const{doChange:n,xhrMap:o}=e;let i=0;function a(s){var d;let u=Object.assign({},t,{status:"error",percentage:i});o.delete(t.id),u=Qu(((d=e.onError)===null||d===void 0?void 0:d.call(e,{file:u,event:s}))||u),n(u,s)}function l(s){var d;if(e.isErrorState){if(e.isErrorState(r)){a(s);return}}else if(r.status<200||r.status>=300){a(s);return}let u=Object.assign({},t,{status:"finished",percentage:i});o.delete(t.id),u=Qu(((d=e.onFinish)===null||d===void 0?void 0:d.call(e,{file:u,event:s}))||u),n(u,s)}return{handleXHRLoad:l,handleXHRError:a,handleXHRAbort(s){const d=Object.assign({},t,{status:"removed",file:null,percentage:i});o.delete(t.id),n(d,s)},handleXHRProgress(s){const d=Object.assign({},t,{status:"uploading"});if(s.lengthComputable){const u=Math.ceil(s.loaded/s.total*100);d.percentage=u,i=u}n(d,s)}}}function j_e(e){const{inst:t,file:r,data:n,headers:o,withCredentials:i,action:a,customRequest:l}=e,{doChange:s}=e.inst;let d=0;l({file:r,data:n,headers:o,withCredentials:i,action:a,onProgress(u){const f=Object.assign({},r,{status:"uploading"}),m=u.percent;f.percentage=m,d=m,s(f)},onFinish(){var u;let f=Object.assign({},r,{status:"finished",percentage:d});f=Qu(((u=t.onFinish)===null||u===void 0?void 0:u.call(t,{file:f}))||f),s(f)},onError(){var u;let f=Object.assign({},r,{status:"error",percentage:d});f=Qu(((u=t.onError)===null||u===void 0?void 0:u.call(t,{file:f}))||f),s(f)}})}function V_e(e,t,r){const n=W_e(e,t,r);r.onabort=n.handleXHRAbort,r.onerror=n.handleXHRError,r.onload=n.handleXHRLoad,r.upload&&(r.upload.onprogress=n.handleXHRProgress)}function SX(e,t){return typeof e=="function"?e({file:t}):e||{}}function U_e(e,t,r){const n=SX(t,r);n&&Object.keys(n).forEach(o=>{e.setRequestHeader(o,n[o])})}function K_e(e,t,r){const n=SX(t,r);n&&Object.keys(n).forEach(o=>{e.append(o,n[o])})}function q_e(e,t,r,{method:n,action:o,withCredentials:i,responseType:a,headers:l,data:s}){const d=new XMLHttpRequest;d.responseType=a,e.xhrMap.set(r.id,d),d.withCredentials=i;const u=new FormData;if(K_e(u,s,r),r.file!==null&&u.append(t,r.file),V_e(e,r,d),o!==void 0){d.open(n.toUpperCase(),o),U_e(d,l,r),d.send(u);const f=Object.assign({},r,{status:"uploading"});e.doChange(f)}}var dy,CI,G_e,Y_e=c((()=>{De(),Je(),Y(),Pe(),we(),bd(),_d(),O_e(),DP(),wX(),HP(),BP(),dy=function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(u){try{d(n.next(u))}catch(f){a(f)}}function s(u){try{d(n.throw(u))}catch(f){a(f)}}function d(u){u.done?i(u.value):o(u.value).then(l,s)}d((n=n.apply(e,t||[])).next())})},CI=Object.assign(Object.assign({},je.props),{name:{type:String,default:"file"},accept:String,action:String,customRequest:Function,directory:Boolean,directoryDnd:{type:Boolean,default:void 0},method:{type:String,default:"POST"},multiple:Boolean,showFileList:{type:Boolean,default:!0},data:[Object,Function],headers:[Object,Function],withCredentials:Boolean,responseType:{type:String,default:""},disabled:{type:Boolean,default:void 0},onChange:Function,onRemove:Function,onFinish:Function,onError:Function,onRetry:Function,onBeforeUpload:Function,isErrorState:Function,onDownload:Function,customDownload:Function,defaultUpload:{type:Boolean,default:!0},fileList:Array,"onUpdate:fileList":[Function,Array],onUpdateFileList:[Function,Array],fileListClass:String,fileListStyle:[String,Object],defaultFileList:{type:Array,default:()=>[]},showCancelButton:{type:Boolean,default:!0},showRemoveButton:{type:Boolean,default:!0},showDownloadButton:Boolean,showRetryButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},listType:{type:String,default:"text"},onPreview:Function,shouldUseThumbnailUrl:{type:Function,default:e=>xX?LP(e):!1},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),G_e=Re({name:"Upload",props:CI,setup(e){e.abstract&&e.listType==="image-card"&&bo("upload","when the list-type is image-card, abstract is not supported.");const{mergedClsPrefixRef:t,inlineThemeDisabled:r,mergedRtlRef:n}=ot(e),o=je("Upload","-upload",pX,vY,e,t),i=sr("Upload",n,t),a=Ho(e),l=q(e.defaultFileList),s=Se(e,"fileList"),d=q(null),u={value:!1},f=q(!1),m=new Map,g=Jt(s,l),h=I(()=>g.value.map(Qu)),p=I(()=>{const{max:M}=e;return M!==void 0?h.value.length>=M:!1});function b(){var M;(M=d.value)===null||M===void 0||M.click()}function y(M){const W=M.target;S(W.files?Array.from(W.files).map(L=>({file:L,entry:null,source:"input"})):null,M),W.value=""}function x(M){const{"onUpdate:fileList":W,onUpdateFileList:L}=e;W&&Ee(W,M),L&&Ee(L,M),l.value=M}const C=I(()=>e.multiple||e.directory),w=(M,W,L={append:!1,remove:!1})=>{const{append:H,remove:V}=L,G=Array.from(h.value),J=G.findIndex(Q=>Q.id===M.id);if(H||V||~J){H?G.push(M):V?G.splice(J,1):G.splice(J,1,M);const{onChange:Q}=e;Q&&Q({file:M,fileList:G,event:W}),x(G)}};function S(M,W){if(!M||M.length===0)return;const{onBeforeUpload:L}=e;M=C.value?M:[M[0]];const{max:H,accept:V}=e;M=M.filter(({file:J,source:Q})=>Q==="dnd"&&V?.trim()?N_e(J.name,J.type,V):!0),H&&(M=M.slice(0,H-h.value.length));const G=ho();Promise.all(M.map(J=>dy(this,[J],void 0,function*({file:Q,entry:de}){var ke;const le={id:ho(),batchId:G,name:Q.name,status:"pending",percentage:0,file:Q,url:null,type:Q.type,thumbnailUrl:null,fullPath:(ke=de?.fullPath)!==null&&ke!==void 0?ke:`/${Q.webkitRelativePath||Q.name}`};return!L||(yield L({file:le,fileList:h.value}))!==!1?le:null}))).then(J=>dy(this,void 0,void 0,function*(){let Q=Promise.resolve();J.forEach(de=>{Q=Q.then(Lt).then(()=>{de&&w(de,W,{append:!0})})}),yield Q})).then(()=>{e.defaultUpload&&P()})}function P({fileId:M,retry:W=!1}={}){const{method:L,action:H,withCredentials:V,headers:G,data:J,name:Q}=e,de=M!==void 0?h.value.filter(le=>le.id===M):h.value,ke=W||M!==void 0;de.forEach(le=>{const{status:ye}=le;(ye==="pending"||ye==="error"&&ke)&&(e.customRequest?j_e({inst:{doChange:w,xhrMap:m,onFinish:e.onFinish,onError:e.onError},file:le,action:H,withCredentials:V,headers:G,data:J,customRequest:e.customRequest}):q_e({doChange:w,xhrMap:m,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},Q,le,{method:L,action:H,withCredentials:V,responseType:e.responseType,headers:G,data:J}))})}function _(M){var W;if(M.thumbnailUrl)return M.thumbnailUrl;const{createThumbnailUrl:L}=e;return L?(W=L(M.file,M))!==null&&W!==void 0?W:M.url||"":M.url?M.url:M.file?z_e(M.file):""}const T=I(()=>{const{common:{cubicBezierEaseInOut:M},self:{draggerColor:W,draggerBorder:L,draggerBorderHover:H,itemColorHover:V,itemColorHoverError:G,itemTextColorError:J,itemTextColorSuccess:Q,itemTextColor:de,itemIconColor:ke,itemDisabledOpacity:le,lineHeight:ye,borderRadius:ue,fontSize:oe,itemBorderImageCardError:ie,itemBorderImageCard:xe}}=o.value;return{"--n-bezier":M,"--n-border-radius":ue,"--n-dragger-border":L,"--n-dragger-border-hover":H,"--n-dragger-color":W,"--n-font-size":oe,"--n-item-color-hover":V,"--n-item-color-hover-error":G,"--n-item-disabled-opacity":le,"--n-item-icon-color":ke,"--n-item-text-color":de,"--n-item-text-color-error":J,"--n-item-text-color-success":Q,"--n-line-height":ye,"--n-item-border-image-card-error":ie,"--n-item-border-image-card":xe}}),E=r?wt("upload",void 0,T,e):void 0;dt(ws,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:Se(e,"showCancelButton"),showDownloadButtonRef:Se(e,"showDownloadButton"),showRemoveButtonRef:Se(e,"showRemoveButton"),showRetryButtonRef:Se(e,"showRetryButton"),onRemoveRef:Se(e,"onRemove"),onDownloadRef:Se(e,"onDownload"),customDownloadRef:Se(e,"customDownload"),mergedFileListRef:h,triggerClassRef:Se(e,"triggerClass"),triggerStyleRef:Se(e,"triggerStyle"),shouldUseThumbnailUrlRef:Se(e,"shouldUseThumbnailUrl"),renderIconRef:Se(e,"renderIcon"),xhrMap:m,submit:P,doChange:w,showPreviewButtonRef:Se(e,"showPreviewButton"),onPreviewRef:Se(e,"onPreview"),getFileThumbnailUrlResolver:_,listTypeRef:Se(e,"listType"),dragOverRef:f,openOpenFileDialog:b,draggerInsideRef:u,handleFileAddition:S,mergedDisabledRef:a.mergedDisabledRef,maxReachedRef:p,fileListClassRef:Se(e,"fileListClass"),fileListStyleRef:Se(e,"fileListStyle"),abstractRef:Se(e,"abstract"),acceptRef:Se(e,"accept"),cssVarsRef:r?void 0:T,themeClassRef:E?.themeClass,onRender:E?.onRender,showTriggerRef:Se(e,"showTrigger"),imageGroupPropsRef:Se(e,"imageGroupProps"),mergedDirectoryDndRef:I(()=>{var M;return(M=e.directoryDnd)!==null&&M!==void 0?M:e.directory}),onRetryRef:Se(e,"onRetry")});const D={clear:()=>{l.value=[]},submit:P,openOpenFileDialog:b};return Object.assign({mergedClsPrefix:t,draggerInsideRef:u,rtlEnabled:i,inputElRef:d,mergedTheme:o,dragOver:f,mergedMultiple:C,cssVars:r?void 0:T,themeClass:E?.themeClass,onRender:E?.onRender,handleFileInputChange:y},D)},render(){var e,t;const{draggerInsideRef:r,mergedClsPrefix:n,$slots:o,directory:i,onRender:a}=this;if(o.default&&!this.abstract){const s=o.default()[0];!((e=s?.type)===null||e===void 0)&&e.__UPLOAD_DRAGGER__&&(r.value=!0)}const l=v("input",Object.assign({},this.inputProps,{ref:"inputElRef",type:"file",class:`${n}-upload-file-input`,accept:this.accept,multiple:this.mergedMultiple,onChange:this.handleFileInputChange,webkitdirectory:i||void 0,directory:i||void 0}));return this.abstract?v(yt,null,(t=o.default)===null||t===void 0?void 0:t.call(o),v(Tc,{to:"body"},l)):(a?.(),v("div",{class:[`${n}-upload`,this.rtlEnabled&&`${n}-upload--rtl`,r.value&&`${n}-upload--dragger-inside`,this.dragOver&&`${n}-upload--drag-over`,this.themeClass],style:this.cssVars},l,this.showTrigger&&this.listType!=="image-card"&&v(NP,null,o),this.showFileList&&v(_X,null,o)))}})})),X_e=c((()=>{yL(),Y_e(),DP(),wX(),HP()})),Z_e=c((()=>{Y(),Ot(),rt()})),J_e=c((()=>{Je(),Y(),Pe(),we(),Th(),$e()})),_I=c((()=>{j7(),$ve(),Ave(),Gve(),Zve(),rme(),ome(),hme(),_me(),$n(),fS(),Ime(),Aj(),Wme(),Jme(),Qa(),Gj(),oV(),fpe(),fV(),bS(),gpe(),sbe(),vbe(),wbe(),mK(),n0e(),XK(),w0e(),US(),T0e(),B0e(),$q(),lU(),oa(),H0e(),U0e(),dxe(),uxe(),Fxe(),zxe(),Dxe(),SY(),Nxe(),Hxe(),HS(),Vxe(),OP(),eCe(),Hn(),lCe(),sCe(),cCe(),dCe(),fCe(),hCe(),gK(),vCe(),gCe(),bCe(),yCe(),OK(),qK(),KK(),xCe(),CCe(),AV(),kCe(),Xa(),bV(),YY(),MCe(),zS(),ICe(),FCe(),LCe(),wV(),NCe(),UCe(),mP(),YCe(),ZCe(),JCe(),QCe(),n_e(),o_e(),c_e(),eS(),d_e(),u_e(),WU(),f_e(),eg(),h_e(),vX(),k_e(),E_e(),X_e(),Z_e(),J_e()})),Q_e=c((()=>{Y(),_e(),Sn()})),PX,kX=c((()=>{PX=()=>({})})),RX,e1e=c((()=>{_e(),kX(),RX={name:"Equation",common:Ve,self:PX}})),WP=c((()=>{e1e(),kX()})),$X,t1e=c((()=>{_e(),$X={name:"FloatButtonGroup",common:Ve,self(e){const{popoverColor:t,dividerColor:r,borderRadius:n}=e;return{color:t,buttonBorderColor:r,borderRadiusSquare:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}}})),jP=c((()=>{t1e(),yd()})),TX,r1e=c((()=>{Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),yd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th(),TX={name:"dark",common:Ve,Alert:yW,Anchor:$W,AutoComplete:NW,Avatar:dS,AvatarGroup:GW,BackTop:QW,Badge:ej,Breadcrumb:cj,Button:Rn,ButtonGroup:Iq,Calendar:wj,Card:vS,Carousel:Ij,Cascader:Wj,Checkbox:ys,Code:gS,Collapse:Jj,CollapseTransition:aV,ColorPicker:uV,DataTable:VV,DatePicker:HU,Descriptions:qU,Dialog:eP,Divider:YK,Drawer:eq,Dropdown:Jp,DynamicInput:mq,DynamicTags:kq,Element:Rq,Empty:qa,Ellipsis:$S,Equation:RX,Flex:Oq,Form:Lq,GradientText:Bq,Heatmap:kY,Icon:yU,IconWrapper:$Y,Image:TY,Input:Nn,InputNumber:Nq,InputOtp:jq,LegacyTransfer:LY,Layout:Kq,List:Yq,LoadingBar:pK,Log:Jq,Menu:rG,Mention:Qq,Message:_K,Modal:lK,Notification:zK,PageHeader:iG,Pagination:PS,Popconfirm:dG,Popover:Ya,Popselect:yS,Progress:xP,QrCode:XY,Radio:OS,Rate:hG,Result:pG,Row:qq,Scrollbar:on,Select:_S,Skeleton:ZY,Slider:bG,Space:hP,Spin:wG,Statistic:PG,Steps:EG,Switch:IG,Table:LG,Tabs:UG,Tag:Zw,Thing:qG,TimePicker:YS,Timeline:JG,Tooltip:Qf,Transfer:tY,Tree:wP,TreeSelect:lY,Typography:fY,Upload:pY,Watermark:yY,Split:eX,FloatButton:xY,FloatButtonGroup:$X,Marquee:NY}})),n1e=c((()=>{r1e(),Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),fh(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),ig(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th()})),VP=c((()=>{$e(),_I(),Q_e(),H7(),_I(),yd(),nn(),Y(),Pe(),we(),$n(),oV(),fV(),bS(),Sn(),XK(),$q(),oa(),SY(),HS(),Hn(),Xa(),mP(),Rt(),_e(),Qc(),Vf(),Kf(),ed(),Za(),qf(),td(),Gf(),hh(),jt(),qp(),Ja(),Gp(),Zf(),mn(),xs(),nd(),rd(),Yp(),id(),nh(),oh(),tl(),ch(),sd(),ca(),cd(),dh(),uh(),od(),jr(),WP(),fh(),jP(),sg(),dd(),vh(),cg(),dg(),rh(),ug(),ud(),ig(),Kt(),mh(),ag(),hg(),fd(),lh(),ph(),vg(),gh(),bh(),ad(),ah(),ld(),lg(),sa(),yh(),Zr(),el(),_s(),mg(),da(),xh(),Ch(),la(),pg(),_h(),rl(),wh(),gg(),hd(),vd(),Sh(),md(),Ph(),Ci(),pd(),Cs(),kh(),_i(),Rh(),$h(),nl(),gd(),bd(),Th(),n1e(),hn(),Je()}));function UP(e){const t=typeof e=="number"?e:Number(e);return Number.isFinite(t)?Math.min(20,Math.max(12,Math.round(t))):14}function ef(e){if(typeof e!="string")return null;const t=e.trim().toLowerCase();return/^#[0-9a-f]{6}$/.test(t)?t:/^#[0-9a-f]{3}$/.test(t)?`#${t.slice(1).split("").map(r=>r.repeat(2)).join("")}`:null}function $m(e){return[Number.parseInt(e.slice(1,3),16),Number.parseInt(e.slice(3,5),16),Number.parseInt(e.slice(5,7),16)]}function o1e(e){return`#${e.map(t=>Math.round(t).toString(16).padStart(2,"0")).join("")}`}function yv(e,t,r){const n=$m(e),o=$m(t);return o1e(n.map((i,a)=>i*r+o[a]*(1-r)))}function Dd(e){return $m(e).join(", ")}function i1e(e){const[t,r,n]=$m(e).map(o=>{const i=o/255;return i<=.03928?i/12.92:((i+.055)/1.055)**2.4});return .2126*t+.7152*r+.0722*n>.42?"#1a1a1a":"#ffffff"}function a1e(e){const t=e&&typeof e=="object"?e:{};return{fontSize:UP(t.fontSize),textColor:ef(t.textColor),accentColor:ef(t.accentColor)}}function EX(e,t){const r=t?"#1a1a1a":"#fafafa",n={fontSize:UP(e.fontSize)},o=ef(e.textColor);o&&(n.textPrimary=o,n.textSecondary=yv(o,r,.68),n.textMuted=yv(o,r,.5),n.textPrimaryRgb=Dd(o),n.textSecondaryRgb=Dd(n.textSecondary),n.textMutedRgb=Dd(n.textMuted));const i=ef(e.accentColor);if(i){const a=t?"#ffffff":"#000000";n.accentPrimary=i,n.accentHover=yv(a,i,.18),n.accentMuted=yv(i,r,.55),n.accentPrimaryRgb=Dd(i),n.accentHoverRgb=Dd(n.accentHover),n.textOnAccent=i1e(i)}return n}var l1e,s1e,c1e,OX=c((()=>{l1e=14,s1e=12,c1e=20}));Yte();VP();OX();var d1e={common:{primaryColor:"#333333",primaryColorHover:"#1a1a1a",primaryColorPressed:"#000000",primaryColorSuppl:"#333333",bodyColor:"#fafafa",cardColor:"#ffffff",modalColor:"#ffffff",popoverColor:"#ffffff",tableColor:"#ffffff",inputColor:"#ffffff",actionColor:"#f0f0f0",textColorBase:"#1a1a1a",textColor1:"#1a1a1a",textColor2:"#666666",textColor3:"#999999",dividerColor:"#e0e0e0",borderColor:"#e0e0e0",hoverColor:"rgba(0, 0, 0, 0.04)",borderRadius:"8px",borderRadiusSmall:"6px",fontSize:"14px",fontSizeMedium:"14px",heightMedium:"36px",fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontFamilyMono:"JetBrains Mono, Fira Code, Consolas, monospace"},Layout:{color:"#fafafa",siderColor:"#f5f5f5",headerColor:"#fafafa"},Menu:{itemTextColorActive:"#1a1a1a",itemTextColorActiveHover:"#1a1a1a",itemTextColorChildActive:"#1a1a1a",itemIconColorActive:"#1a1a1a",itemIconColorActiveHover:"#000000",itemColorActive:"rgba(0, 0, 0, 0.06)",itemColorActiveHover:"rgba(0, 0, 0, 0.1)",arrowColorActive:"#1a1a1a"},Button:{textColorPrimary:"#ffffff",colorPrimary:"#333333",colorHoverPrimary:"#1a1a1a",colorPressedPrimary:"#000000"},Input:{color:"#ffffff",colorFocus:"#ffffff",border:"1px solid #e0e0e0",borderHover:"1px solid #999999",borderFocus:"1px solid #333333",borderDisabled:"1px solid #ebebeb",groupLabelBorder:"1px solid #e0e0e0",placeholderColor:"#999999",caretColor:"#1a1a1a"},InternalSelection:{border:"1px solid #e0e0e0",borderHover:"1px solid #999999",borderActive:"1px solid #333333",borderFocus:"1px solid #333333"},Card:{color:"#ffffff",borderColor:"#e0e0e0"},Modal:{color:"#ffffff"},Tag:{borderRadius:"6px"}},u1e={common:{primaryColor:"#e0e0e0",primaryColorHover:"#f5f5f5",primaryColorPressed:"#ffffff",primaryColorSuppl:"#e0e0e0",bodyColor:"#1a1a1a",cardColor:"#2a2a2a",modalColor:"#2a2a2a",popoverColor:"#2a2a2a",tableColor:"#2a2a2a",inputColor:"#2a2a2a",actionColor:"#252525",textColorBase:"#e0e0e0",textColor1:"#e0e0e0",textColor2:"#a0a0a0",textColor3:"#666666",dividerColor:"#3a3a3a",borderColor:"#3a3a3a",hoverColor:"rgba(255, 255, 255, 0.06)",borderRadius:"8px",borderRadiusSmall:"6px",fontSize:"14px",fontSizeMedium:"14px",heightMedium:"36px",fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontFamilyMono:"JetBrains Mono, Fira Code, Consolas, monospace"},Layout:{color:"#1a1a1a",siderColor:"#202020",headerColor:"#1a1a1a"},Menu:{itemTextColorActive:"#e0e0e0",itemTextColorActiveHover:"#e0e0e0",itemTextColorChildActive:"#e0e0e0",itemIconColorActive:"#e0e0e0",itemIconColorActiveHover:"#ffffff",itemColorActive:"rgba(255, 255, 255, 0.08)",itemColorActiveHover:"rgba(255, 255, 255, 0.12)",arrowColorActive:"#e0e0e0"},Button:{textColorPrimary:"#1a1a1a",colorPrimary:"#e0e0e0",colorHoverPrimary:"#f5f5f5",colorPressedPrimary:"#ffffff"},Input:{color:"#2a2a2a",colorFocus:"#2a2a2a",border:"1px solid #555555",borderHover:"1px solid #777777",borderFocus:"1px solid #e0e0e0",borderDisabled:"1px solid #3a3a3a",groupLabelBorder:"1px solid #555555",placeholderColor:"#666666",caretColor:"#e0e0e0"},InternalSelection:{border:"1px solid #555555",borderHover:"1px solid #777777",borderActive:"1px solid #e0e0e0",borderFocus:"1px solid #e0e0e0"},Card:{color:"#2a2a2a",borderColor:"#3a3a3a"},Modal:{color:"#2a2a2a"},Tag:{borderRadius:"6px"},Switch:{railColor:"#3a3a3a",railColorActive:"#e0e0e0",loadingColor:"#e0e0e0",opacityDisabled:.4}};function f1e(e,t,r){const n=e?u1e:d1e;if(!t&&!r)return n;const o="'Comic Neue', 'ZCOOL KuaiLe', 'Zen Maru Gothic', 'Gaegu', cursive, sans-serif",i=r?EX(r,e):null,a={...n.common,...t?{fontFamily:o}:{},...i?{fontSize:`${i.fontSize}px`,fontSizeMedium:`${i.fontSize}px`}:{},...i?.textPrimary?{textColorBase:i.textPrimary,textColor1:i.textPrimary,textColor2:i.textSecondary,textColor3:i.textMuted}:{},...i?.accentPrimary?{primaryColor:i.accentPrimary,primaryColorHover:i.accentHover,primaryColorPressed:i.accentHover,primaryColorSuppl:i.accentPrimary}:{}},l=i?.textPrimary||i?.accentPrimary?{...n.Input,...i?.textPrimary?{textColor:i.textPrimary,placeholderColor:i.textMuted,caretColor:i.textPrimary}:{},...i?.accentPrimary&&i.accentPrimaryRgb?{border:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`,borderHover:`1px solid rgba(${i.accentPrimaryRgb}, 0.32)`,borderFocus:`1px solid ${i.accentPrimary}`,groupLabelBorder:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`}:{}}:null,s=i?.textPrimary||i?.accentPrimary?{...n.InternalSelection,...i?.textPrimary?{textColor:i.textPrimary,placeholderColor:i.textMuted,placeholderColorDisabled:i.textMuted,caretColor:i.textPrimary}:{},...i?.accentPrimary&&i.accentPrimaryRgb?{border:`1px solid rgba(${i.accentPrimaryRgb}, 0.18)`,borderHover:`1px solid rgba(${i.accentPrimaryRgb}, 0.32)`,borderActive:`1px solid ${i.accentPrimary}`,borderFocus:`1px solid ${i.accentPrimary}`,boxShadowActive:`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.2)`,boxShadowFocus:`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.2)`,loadingColor:i.accentPrimary}:{}}:null;return{...n,common:a,...l?{Input:l}:{},...s?{InternalSelection:s}:{},...i?.accentPrimary?{Button:{...n.Button,textColorPrimary:i.textOnAccent,colorPrimary:i.accentPrimary,colorHoverPrimary:i.accentHover,colorPressedPrimary:i.accentHover},Switch:{...n.Switch,railColorActive:i.accentPrimary,loadingColor:i.accentPrimary,boxShadowFocus:i.accentPrimaryRgb?`0 0 0 2px rgba(${i.accentPrimaryRgb}, 0.3)`:n.Switch?.boxShadowFocus}}:{}}}function h1e(e,t){const r=typeof window>"u"?"http://hermes.local":window.location.origin;return new URL(`/__hermes-theme-background/${e}/${t}`,r).toString()}async function v1e(e,t={}){await hz();const r=new Headers(t.headers),n=Zl();return n&&r.set("Authorization",`Bearer ${n}`),fetch(`${uee()}${e}`,{...t,headers:r})}function m1e(){return Yt("/api/theme")}function p1e(e){return Yt("/api/theme",{method:"PUT",body:JSON.stringify(e)})}function g1e(e){const t=new FormData;return t.append("background",e),Yt("/api/theme/background",{method:"POST",body:t})}function b1e(){return Yt("/api/theme/background",{method:"DELETE"})}async function y1e(e,t,r=!1){const n=h1e(e,t),o=typeof caches>"u"?null:await caches.open(KP).catch(()=>null);if(!r){const l=await o?.match(n).catch(()=>{});if(l)return l.blob()}const i=await v1e(`/api/theme/background?v=${encodeURIComponent(t)}`);if(!i.ok)throw new Error(`Failed to load theme background (${i.status})`);const a=await i.blob();if(o){const l=`/__hermes-theme-background/${e}/`,s=await o.keys().catch(()=>[]);await Promise.all(s.filter(d=>new URL(d.url).pathname.startsWith(l)&&d.url!==n).map(d=>o.delete(d).catch(()=>!1))),await o.put(n,new Response(a,{headers:{"Content-Type":a.type}})).catch(()=>{})}return a}async function x1e(e){if(typeof caches>"u")return;const t=await caches.open(KP).catch(()=>null);if(!t)return;const r=`/__hermes-theme-background/${e}/`,n=await t.keys().catch(()=>[]);await Promise.all(n.filter(o=>new URL(o.url).pathname.startsWith(r)).map(o=>t.delete(o).catch(()=>!1)))}var KP,C1e=c((()=>{Km(),KP="hermes-theme-background-v1"}));function _1e(){const e=(localStorage.getItem(DX)||"").split(".")[1];if(!e)return null;try{const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"="),n=JSON.parse(atob(r)),o=Number(n.sub);return Number.isInteger(o)&&o>0?o:null}catch{return null}}function AX(e){return`${LX}:${e}`}function qP(e){const t=e&&typeof e=="object"?e:{},r=a1e(t),n=t.background&&typeof t.background=="object"?t.background:null,o=Number(n?.updatedAt),i=n&&Number.isFinite(o)&&o>0?{name:typeof n.name=="string"?n.name:"background",mime:typeof n.mime=="string"?n.mime:null,updatedAt:o}:null;return{...r,background:i,updatedAt:Number.isFinite(Number(t.updatedAt))?Number(t.updatedAt):0}}function w1e(e){if(!e)return{...Yv};try{const t=localStorage.getItem(AX(e));return t?qP(JSON.parse(t)):{...Yv}}catch{return{...Yv}}}function S1e(e){return e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches:e==="dark"}function ro(e,t){t?document.documentElement.style.setProperty(e,t):document.documentElement.style.removeProperty(e)}function xg(){const e=EX(XP.value,ic.value);document.documentElement.style.setProperty("--font-size-base",`${e.fontSize}px`),ro("--text-primary",e.textPrimary),ro("--text-secondary",e.textSecondary),ro("--text-muted",e.textMuted),ro("--text-primary-rgb",e.textPrimaryRgb),ro("--text-secondary-rgb",e.textSecondaryRgb),ro("--text-muted-rgb",e.textMutedRgb),ro("--accent-primary",e.accentPrimary),ro("--accent-hover",e.accentHover),ro("--accent-muted",e.accentMuted),ro("--accent-primary-rgb",e.accentPrimaryRgb),ro("--accent-hover-rgb",e.accentHoverRgb),ro("--text-on-accent",e.textOnAccent)}function xv(){const e=S1e(Fl.value);ic.value=e,ac.value=oc.value==="comic",document.documentElement.classList.toggle("dark",e),document.documentElement.classList.toggle("comic",ac.value),xg()}function MX(){mi.value&&localStorage.setItem(AX(mi.value),JSON.stringify(tn.value))}function IX(){pu&&typeof URL.revokeObjectURL=="function"&&URL.revokeObjectURL(pu),pu=null}function u_(){gu+=1,IX(),tf.value=null,document.documentElement.style.removeProperty("--app-background-image")}async function GP(e=!1){const t=mi.value,r=tn.value.background;if(!t||!r){u_();return}const n=++gu;try{const o=await y1e(t,r.updatedAt,e);if(n!==gu||t!==mi.value||r.updatedAt!==tn.value.background?.updatedAt||typeof URL.createObjectURL!="function")return;const i=URL.createObjectURL(o);IX(),pu=i,tf.value=i,document.documentElement.style.setProperty("--app-background-image",`url("${i}")`)}catch{n===gu&&u_()}}function Oh(e,t=mi.value){t&&(mi.value=t),tn.value=qP(e),YP=tn.value,MX(),xg(),GP()}function FX(e){tn.value=qP({...tn.value,...e}),xg()}async function zX(e){FX(e);try{Oh(await p1e(e))}catch(t){throw tn.value=YP,MX(),xg(),t}}async function P1e(){mi.value&&Oh(await m1e())}function k1e(e,t){Oh(t,e)}async function R1e(e){Oh(await g1e(e)),await GP(!0)}async function $1e(){const e=mi.value,t=await b1e();u_(),e&&await x1e(e),Oh(t)}function T1e(){return zX({fontSize:14,textColor:null,accentColor:null})}function E1e(){const e=I(()=>{const i=ic.value?"dark":"light";return ac.value?`comic-${i}`:i});function t(i){Fl.value=i}function r(i){oc.value=i}function n(){Fl.value=ic.value?"light":"dark"}function o(){oc.value=ac.value?"ink":"comic"}return{brightness:Fl,style:oc,isDark:ic,isComic:ac,themeName:e,customization:XP,fontSize:I(()=>tn.value.fontSize),textColor:I(()=>tn.value.textColor),accentColor:I(()=>tn.value.accentColor),backgroundImageUrl:tf,backgroundImageName:BX,hasBackgroundImage:f_,setBrightness:t,setStyle:r,toggleBrightness:n,toggleStyle:o,previewThemeSettings:FX,saveThemeCustomization:zX,resetCustomization:T1e,syncThemeFromServer:P1e,activateUserTheme:k1e,uploadBackground:R1e,removeBackground:$1e,normalizeThemeFontSize:UP,normalizeHexColor:ef}}var uy,fy,DX,LX,Yv,Fl,oc,ic,ac,mi,tn,YP,tf,BX,f_,pu,gu,XP,O1e=c((()=>{Y(),C1e(),OX(),uy="hermes_brightness",fy="hermes_style",DX="hermes_api_key",LX="hermes_theme_customization_v1",Yv={fontSize:14,textColor:null,accentColor:null,background:null,updatedAt:0},Fl=q(localStorage.getItem(uy)||"system"),oc=q(localStorage.getItem(fy)||"ink"),ic=q(!1),ac=q(!1),mi=q(_1e()),tn=q(w1e(mi.value)),YP=tn.value,tf=q(null),BX=I(()=>tn.value.background?.name||""),f_=I(()=>!!tf.value),pu=null,gu=0,XP=I(()=>({fontSize:tn.value.fontSize,textColor:tn.value.textColor,accentColor:tn.value.accentColor})),xv(),GP(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{Fl.value==="system"&&xv()}),nt(Fl,e=>{localStorage.setItem(uy,e),xv()}),nt(oc,e=>{localStorage.setItem(fy,e),xv()}),nt(f_,e=>{document.documentElement.classList.toggle("theme-has-custom-background",e)},{immediate:!0})}));function NX(){function e(){Xv.value=!0}function t(){Xv.value=!1}return{sessionSearchOpen:Xv,openSessionSearch:e,closeSessionSearch:t}}var Xv,HX=c((()=>{Y(),Xv=q(!1)}));O1e();Y();u1();HX();qm();function A1e(){const e=tee(),{sessionSearchOpen:t,openSessionSearch:r,closeSessionSearch:n}=NX();function o(i){const a=i.ctrlKey||i.metaKey;if(a&&i.key==="n"){i.preventDefault(),it(async()=>{const{useChatStore:l}=await import("./chat-fUZW3YFa.js").then(s=>(s.i(),s.t));return{useChatStore:l}},__vite__mapDeps([15,2,16,17,18,19,4,20])).then(({useChatStore:l})=>{l().newChat()});return}if(a&&i.key==="j"){i.preventDefault(),e.push({name:"hermes.jobs"});return}if(a&&i.key.toLowerCase()==="k"){if(e.currentRoute.value.name==="login")return;i.preventDefault(),r();return}if(i.key==="Escape"){if(t.value){i.preventDefault(),n();return}const l=document.querySelector(".n-modal-mask");l&&l.querySelector(".n-base-close")?.click()}}Ht(()=>{window.addEventListener("keydown",o)}),go(()=>{window.removeEventListener("keydown",o)})}async function M1e(){return Yt("/health")}async function I1e(){return Yt("/api/hermes/update",{method:"POST"})}async function Lwe(){return Yt("/api/hermes/update/preview")}async function Bwe(){return Yt("/api/hermes/update/preview/tags")}async function Nwe(e){return Yt("/api/hermes/update/preview/prepare",{method:"POST",body:JSON.stringify({tag:e})})}async function Hwe(){return Yt("/api/hermes/update/preview/install",{method:"POST"})}async function Wwe(e){return Yt("/api/hermes/update/preview/start",{method:"POST",body:JSON.stringify({tag:e})})}async function jwe(){return Yt("/api/hermes/update/preview/stop",{method:"POST"})}async function F1e(){return Yt("/api/hermes/available-models")}async function Vwe(e){const t=new URLSearchParams;return t.set("profile",e||"default"),Yt(`/api/hermes/available-models?${t.toString()}`)}async function Uwe(e){return Yt("/api/hermes/provider-models",{method:"POST",body:JSON.stringify(e)})}async function Kwe(){return Yt("/api/hermes/provider-models/cache/refresh",{method:"POST"})}async function z1e(e){await Yt("/api/hermes/config/model",{method:"PUT",body:JSON.stringify(e)})}async function D1e(e){await Yt("/api/hermes/model-alias",{method:"PUT",body:JSON.stringify(e)})}async function qwe(e){await Yt("/api/hermes/config/providers",{method:"POST",body:JSON.stringify(e)})}async function Gwe(e,t={}){const r=new URLSearchParams;t.source&&r.set("source",t.source),t.providerKey&&r.set("providerKey",t.providerKey),await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}${r.size?`?${r}`:""}`,{method:"DELETE"})}async function Ywe(e,t){await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(t)})}async function Xwe(e){return(await Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor`)).provider}async function Zwe(e,t,r){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor`,{method:"PATCH",headers:{"If-Match":`"${t}"`},body:JSON.stringify(r)})}async function Jwe(e,t){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor/test`,{method:"POST",body:JSON.stringify(t)})}async function Qwe(e,t,r){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/editor/contexts`,{method:"PATCH",headers:{"If-Match":`"${t}"`},body:JSON.stringify({context_lengths:r})})}async function eSe(e,t={}){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/models/refresh`,{method:"POST",body:JSON.stringify({confirm:t.confirm===!0})})}async function tSe(e){return Yt(`/api/hermes/config/providers/${encodeURIComponent(e)}/models/restore`,{method:"POST",body:JSON.stringify({})})}async function L1e(e){return Yt("/api/hermes/model-visibility",{method:"PUT",body:JSON.stringify(e)})}async function B1e(e){return Yt("/api/hermes/custom-model",{method:"PUT",body:JSON.stringify(e)})}async function N1e(e){const t=new URLSearchParams;return t.set("provider",e.provider),t.set("model",e.model),Yt(`/api/hermes/custom-model?${t.toString()}`,{method:"DELETE"})}var H1e=c((()=>{Km()})),hy,vy,wI,SI,WX,W1e=c((()=>{Y(),H1e(),Km(),hy="0.6.41",vy="hermes_sidebar_collapsed",wI="hermes_active_profile_name",SI=3e4,WX=pQ("app",()=>{const e=q(!1),t=q(localStorage.getItem(vy)==="1"),r=q(!0),n=q(!1),o=q(hy),i=q(""),a=q(!1),l=q(!1),s=q(!1),d=q([]),u=q([]),f=q(""),m=q(""),g=q({}),h=q({}),p=q({}),b=q(),y=q(""),x=q(!1),C=q(!0),w=q(!0),S=q(4096);let P=null,_=0;async function T(){s.value=!0;try{const se=await I1e();return se.success&&(a.value=!1,await E()),se.success}catch(se){return console.error("Failed to update Hermes Web UI:",se),!1}finally{s.value=!1}}async function E(){try{const se=await M1e();n.value=se.status==="ok",se.webui_version&&(o.value=se.webui_version),l.value=!!se.webui_version&&se.webui_version!==hy,se.webui_latest&&(i.value=se.webui_latest),a.value=!!se.webui_update_available,se.node_version&&(y.value=se.node_version),x.value=!!se.is_docker}catch{n.value=!1,l.value=!1}}function D(se,Ie={}){const F=f.value,K=m.value;if(d.value=se.groups,u.value=se.profiles||[],h.value=se.model_aliases||{},p.value=se.model_visibility||{},g.value=se.custom_models||{},Ie.preserveSelection&&F&&K&&(se.groups.some(ze=>ze.provider===K&&ze.models.includes(F))||(se.custom_models?.[K]||[]).includes(F)))return;const ne=localStorage.getItem(wI)||"",be=(ne?u.value.find(ze=>ze.profile===ne):void 0)||se,B=be.groups||[],R=be.default||"",O=be.default_provider||"",Z=B.find(ze=>ze.provider===O&&ze.models.includes(R)),re=B.find(ze=>ze.models.includes(R)),X=B.find(ze=>ze.models.length>0),U=O?B.find(ze=>ze.provider===O):void 0,$=O?se.allProviders.find(ze=>ze.provider===O):void 0,N=U?.available_models?.length?U.available_models:$?.available_models?.length?$.available_models:$?.models||[],pe=O?p.value[O]:void 0,Ae=!!(R&&pe?.mode==="include"&&!pe.models.includes(R)&&(N.length===0||N.includes(R))),Ke=!!(R&&O&&U&&!U.models.includes(R)&&!Ae);if(Z||re){const ze=Z||re;f.value=R,m.value=ze.provider}else Ke?(f.value=R,m.value=O,g.value={...g.value,[O]:Array.from(new Set([...g.value[O]||[],R]))}):X?(f.value=X.models[0],m.value=X.provider):(f.value="",m.value="")}async function M(se=!1,Ie={}){if(zu()){if(!se&&P)return P;if(!(!se&&_>0&&Date.now()-_<SI))return _=Date.now(),P=(async()=>{try{D(await F1e(),Ie)}catch{}finally{P=null}})(),P}}async function W(se=15e3){if(!zu())return;const Ie=P||(_===0?M():null);Ie&&await Promise.race([Ie,new Promise(F=>setTimeout(F,se))])}async function L(se={}){return M(!0,se)}function H(se,Ie){if(Ie)return h.value[Ie]?.[se]||"";for(const F of Object.values(h.value))if(F[se])return F[se];return""}function V(se,Ie){return H(se,Ie)||se}function G(se,Ie,F){return se.map(K=>K.provider!==Ie?K:{...K,models:K.models.filter(ne=>ne!==F),available_models:K.available_models?.filter(ne=>ne!==F)})}function J(se,Ie){d.value=G(d.value,se,Ie),u.value=u.value.map(F=>({...F,groups:G(F.groups,se,Ie)}))}async function Q(se,Ie,F){const K=F.trim();await D1e({provider:Ie,model:se,alias:K});const ne={...h.value},be={...ne[Ie]||{}};K?(be[se]=K,ne[Ie]=be):(delete be[se],Object.keys(be).length>0?ne[Ie]=be:delete ne[Ie]),h.value=ne}async function de(se,Ie){try{const F=d.value.find(ne=>ne.models.includes(se)),K=Ie||F?.provider||"";await z1e({default:se,provider:K}),f.value=se,m.value=K||"",K&&!d.value.find(ne=>ne.provider===K)?.models.includes(se)&&(g.value=(await B1e({provider:K,model:se})).custom_models||{})}catch(F){console.error("Failed to switch model:",F)}}async function ke(se,Ie){const F=g.value[Ie]||[];if(!F.includes(se))return;const K={...g.value},ne=F.filter(be=>be!==se);ne.length>0?K[Ie]=ne:delete K[Ie];try{g.value=(await N1e({provider:Ie,model:se})).custom_models||K}catch(be){console.error("Failed to remove custom model:",be),g.value=K}if(J(Ie,se),f.value===se&&m.value===Ie){const be=d.value.find(B=>B.provider===Ie&&B.models.length>0)||d.value.find(B=>B.models.length>0);be?await de(be.models[0],be.provider):(f.value="",m.value="")}}function le(se){return p.value[se]||{mode:"all",models:[]}}function ye(se,Ie){const F=le(se);return F.mode!=="include"||F.models.includes(Ie)}async function ue(se,Ie){p.value=(await L1e({provider:se,mode:Ie.mode,models:Ie.models})).model_visibility||{},await L()}function oe(se=3e4){ie(),E(),b.value=setInterval(E,se)}function ie(){b.value&&(clearInterval(b.value),b.value=void 0)}function xe(){const se=new URL(window.location.href);se.searchParams.set("__hwui_reload",Date.now().toString()),window.location.replace(se.toString())}function ae(){e.value=!e.value}function Ce(){e.value=!1}function fe(){t.value=!t.value;try{localStorage.setItem(vy,t.value?"1":"0")}catch{}}function he(se){r.value=se}return{sidebarOpen:e,sidebarCollapsed:t,pageSidebarExpanded:r,toggleSidebar:ae,closeSidebar:Ce,toggleSidebarCollapsed:fe,setPageSidebarExpanded:he,connected:n,serverVersion:o,latestVersion:i,nodeVersion:y,isDocker:x,updateAvailable:a,clientOutdated:l,updating:s,doUpdate:T,reloadClient:xe,modelGroups:d,profileModelGroups:u,customModels:g,modelAliases:h,modelVisibility:p,selectedModel:f,selectedProvider:m,streamEnabled:C,sessionPersistence:w,maxTokens:S,checkConnection:E,loadModels:M,waitForModelsForRun:W,reloadModels:L,applyAvailableModelsResponse:D,switchModel:de,removeCustomModel:ke,getModelAlias:H,displayModelName:V,setModelAlias:Q,getProviderVisibility:le,isModelVisible:ye,setModelVisibility:ue,startHealthPolling:oe,stopHealthPolling:ie}})}));W1e();Y();$1();var j1e={style:{display:"none"},"aria-hidden":"true"},V1e=Re({__name:"AuthEventListener",setup(e){const t=Kbe(),{t:r}=uu();let n=0;function o(i){const a=i.detail||{},l=Date.now();if(!(l-n<1200)){if(n=l,a.kind==="forbidden"){t.error(r("login.accessDenied"));return}t.error(r("login.sessionExpired"))}}return Ht(()=>{window.addEventListener("hermes-auth-notice",o)}),go(()=>{window.removeEventListener("hermes-auth-notice",o)}),(i,a)=>(Hr(),Ns("span",j1e))}}),U1e=V1e;VP();var Cv={en:{locale:X1,dateLocale:Z1},zh:{locale:LL,dateLocale:s8},"zh-tw":{locale:BL,dateLocale:c8},ja:{locale:IL,dateLocale:o8},ko:{locale:FL,dateLocale:i8},de:{locale:OL,dateLocale:t8},fr:{locale:ML,dateLocale:n8},es:{locale:AL,dateLocale:r8},pt:{locale:zL,dateLocale:a8},ru:{locale:DL,dateLocale:l8},ar:{locale:EL,dateLocale:e8}};function K1e(e){const t=e.trim().toLowerCase().replace(/_/g,"-");return t==="zh-tw"||t.startsWith("zh-hk")?Cv["zh-tw"]:Cv[t]||Cv[t.split("-")[0]]||Cv.en}$e();var q1e=k("heatmap",[A("rtl",`
4607
4607
  direction: rtl;
4608
- `)]),G1e={name:"Heatmap",style:q1e};Qc();ed();td();jt();hh();Ja();mn();rd();nd();id();tl();sd();cd();fh();Kt();ud();ig();fd();ad();ld();sa();Zr();da();la();rl();hd();vd();md();Ci();pd();nl();bd();var Y1e=[_W,XW,nj,Yf,dP,$j,pS,eV,sV,KV,rK,rq,Cq,Mq,G1e,Uf,uP,Uq,Zq,SK,LK,kS,Y9,BV,wS,vP,RG,AG,NG,Jw,YG,aY,bY];function X1e(e){return nD(e)?Y1e:void 0}Y();u1();VP();$1();HX();h1();qm();var Z1e={key:1,class:"node-warning-bar"},J1e=Re({__name:"App",setup(e){const t=ma(async()=>(await it(async()=>{const{default:ie}=await import("./AppSidebar-CaSVcbCW.js");return{default:ie}},__vite__mapDeps([127,11,12,4,128]))).default),r=ma(async()=>(await it(async()=>{const{default:ie}=await import("./DesktopTitleBar-DphP4oa6.js");return{default:ie}},__vite__mapDeps([129,130]))).default),n=ma(async()=>(await it(async()=>{const{default:ie}=await import("./SessionSearchModal-CEKvSihp.js");return{default:ie}},__vite__mapDeps([131,17,15,2,16,18,19,4,20,132]))).default),o=ma(async()=>(await it(async()=>{const{default:ie}=await import("./DefaultCredentialPrompt-BRhb4DOa.js");return{default:ie}},__vite__mapDeps([133,8,134]))).default),i=ma(async()=>(await it(async()=>{const{default:ie}=await import("./ProviderConfigurationPrompt-BUoWC41Y.js");return{default:ie}},__vite__mapDeps([135,4,79,136]))).default),a=ma(async()=>(await it(async()=>{const{default:ie}=await import("./WebPet-CdIqrnp1.js").then(xe=>(xe.r(),xe.n));return{default:ie}},__vite__mapDeps([1,2,3,4,5]))).default),l=ma(async()=>(await it(async()=>{const{default:ie}=await import("./GlobalPendingActions-BRQIt5vl.js");return{default:ie}},__vite__mapDeps([137,15,2,16,17,18,19,4,20,14,8,21,22,76,25,138]))).default),{isDark:s,isComic:d,customization:u,hasBackgroundImage:f,syncThemeFromServer:m}=E1e(),{t:g,locale:h}=uu(),p=I(()=>K1e(h.value)),b=I(()=>X1e(h.value)),y=WX(),x=ree(),{sessionSearchOpen:C}=NX(),w=I(()=>f1e(s.value,d.value,u.value)),S=I(()=>s.value?TX:null),P=I(()=>x.name==="login"),_=I(()=>x.meta?.standaloneChat===!0),T=I(()=>x.meta?.inviteOnly===!0),E=I(()=>["hermes.chat","hermes.session","hermes.history","hermes.historySession","hermes.globalAgent","hermes.globalAgentSession","hermes.groupChat","hermes.groupChatRoom","hermes.workflow"].includes(x.name)),D=I(()=>!P.value&&!_.value&&!E.value),M=I(()=>!P.value&&!_.value&&(D.value||E.value)),W=I(()=>{const ie=y.nodeVersion,xe=parseInt(ie.split(".")[0],10);return!isNaN(xe)&&xe<23}),L=I(()=>Pl()?.isDesktop===!0),H=I(()=>Pl()?.platform||""),V=I(()=>L.value&&H.value==="win32"),G=I(()=>Pl()?.windowKind==="chat"),J=I(()=>V.value&&!G.value),Q=I(()=>P.value?10:D.value?y.sidebarCollapsed?84:260:y.pageSidebarExpanded?260:10),de=I(()=>x.name==="desktop.pet"),ke=I(()=>!P.value&&!_.value&&!L.value&&!de.value),le=I(()=>H.value?`desktop-platform-${H.value}`:""),ye=q(!1);let ue;function oe(){if(E.value){window.dispatchEvent(new CustomEvent("hermes:open-page-sidebar"));return}y.toggleSidebar()}return nt([P,T],([ie,xe])=>{if(ie||xe){y.stopHealthPolling();return}y.loadModels(),y.startHealthPolling()},{immediate:!0}),Ht(()=>{T.value||m().catch(()=>{});const ie=Pl();!ie?.isDesktop||H.value!=="win32"&&ie.windowKind!=="chat"||(ie.getWindowState?.().then(xe=>{ye.value=!!xe.isMaximized}).catch(()=>{}),ue=ie.onWindowStateChange?.(xe=>{ye.value=!!xe.isMaximized}))}),go(()=>{ue?.(),y.stopHealthPolling()}),A1e(),(ie,xe)=>{const ae=yF("router-view");return Hr(),Kn(er(hV),{theme:S.value,"theme-overrides":w.value,locale:p.value.locale,"date-locale":p.value.dateLocale,rtl:b.value},{default:wl(()=>[Ut(er(EK),null,{default:wl(()=>[Ut(U1e),Ut(er(vK),null,{default:wl(()=>[Ut(er(VK),null,{default:wl(()=>[de.value?(Hr(),Kn(ae,{key:0})):(Hr(),Ns("div",{key:1,class:zo(["app-shell",[le.value,{desktop:L.value,"desktop-chat-window":G.value,"desktop-window-maximized":ye.value,"app-shell--custom-background":er(f)}]])},[J.value?(Hr(),Kn(er(r),{key:0,standalone:P.value||G.value,"left-offset":Q.value},null,8,["standalone","left-offset"])):no("",!0),W.value&&!_.value?(Hr(),Ns("div",Z1e,Zv(er(g)("sidebar.nodeVersionWarning",{version:er(y).nodeVersion})),1)):no("",!0),Gs("div",{class:zo(["app-layout",{"no-sidebar":P.value||!D.value}])},[M.value?(Hr(),Ns("button",{key:0,class:"hamburger-btn",onClick:oe},[...xe[1]||(xe[1]=[Gs("img",{src:"/logo.png",alt:"Menu",style:{width:"24px",height:"24px"}},null,-1)])])):no("",!0),!P.value&&D.value&&er(y).sidebarOpen?(Hr(),Ns("div",{key:1,class:"mobile-backdrop",onClick:xe[0]||(xe[0]=(...Ce)=>er(y).closeSidebar&&er(y).closeSidebar(...Ce))})):no("",!0),!P.value&&D.value?(Hr(),Kn(er(t),{key:2})):no("",!0),Gs("main",{class:zo(["app-main",{"app-main--card":D.value}])},[Ut(ae)],2)],2)],2)),ke.value?(Hr(),Kn(er(a),{key:2})):no("",!0),!de.value&&!_.value&&er(C)?(Hr(),Kn(er(n),{key:3})):no("",!0),!de.value&&!_.value?(Hr(),Kn(er(o),{key:4})):no("",!0),!de.value&&!_.value?(Hr(),Kn(er(i),{key:5})):no("",!0),!P.value&&!de.value&&!_.value?(Hr(),Kn(er(l),{key:6})):no("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["theme","theme-overrides","locale","date-locale","rtl"])}}}),jX,Q1e=c((()=>{jX=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}}));Q1e();var ewe=jX(J1e,[["__scopeId","data-v-829e7364"]]);Y();N4();gz();h1();var PI=localStorage.getItem("hermes_brightness")||"system",twe=localStorage.getItem("hermes_style")||"ink",rwe=window.matchMedia("(prefers-color-scheme: dark)").matches,nwe=PI==="dark"||PI==="system"&&rwe,owe=twe==="comic",ZP=Pl(),VX=ZP?.isDesktop===!0,iwe=ZP?.windowKind==="pet"||window.location.hash.startsWith("#/desktop-pet");nwe&&document.documentElement.classList.add("dark");owe&&document.documentElement.classList.add("comic");VX&&document.documentElement.classList.add("hermes-desktop-shell");VX&&ZP?.platform==="win32"&&document.documentElement.classList.add("hermes-desktop-windows");iwe&&document.documentElement.classList.add("hermes-desktop-pet-window");var awe=new URLSearchParams(window.location.search),kI=window.location.hash.split("?")[1],RI=awe.get("token")||(kI?new URLSearchParams(kI).get("token"):null);RI&&(window.__LOGIN_TOKEN__=RI);async function lwe(){const e=await iD,t=cu(ewe);t.use(fQ()),t.use(e),t.use(Vi),await Vi.isReady().catch(()=>{}),t.mount("#app")}lwe();export{SCe as $,wl as $i,due as $n,aee as $r,lo as $t,C1e as A,v as Ai,Kue as An,Yte as Ar,$ge as At,s_e as B,Ht as Bi,_ue as Bn,fee as Br,Rpe as Bt,z1e as C,swe as Ca,OJ as Ci,rfe as Cn,ds as Cr,ybe as Ct,O1e as D,dwe as Da,Re as Di,Mwe as Dn,tw as Dr,$U as Dt,NX as E,uwe as Ea,ma as Ei,Yue as En,lp as Er,lbe as Et,T_e as F,Lt as Fi,Owe as Fn,it as Fr,dge as Ft,qCe as G,T_ as Gi,Rwe as Gn,lee as Gr,Jf as Gt,rX as H,Hr as Hi,Cue as Hn,mwe as Hr,lpe as Ht,$_e as I,Lm as Ii,Sue as In,qm as Ir,uge as It,VCe as J,JZ as Ji,gue as Jn,vwe as Jr,Vj as Jt,GCe as K,yF as Ki,bue as Kn,Zl as Kr,Zme as Kt,P_e as L,pi as Li,Ewe as Ln,vee as Lr,FS as Lt,VP as M,He as Mi,Hue as Mn,pwe as Mr,rU as Mt,G_e as N,jF as Ni,Nue as Nn,$1 as Nr,eU as Nt,E1e as O,cwe as Oa,Pr as Oi,Gue as On,Wr as Or,Ige as Ot,Y_e as P,_n as Pi,Pue as Pn,uu as Pr,vge as Pt,OCe as Q,lr as Qi,wwe as Qn,Km as Qr,Eme as Qt,hX as R,tr as Ri,wue as Rn,hee as Rr,cge as Rt,Jwe as S,Zv as Sa,ZZ as Si,nfe as Sn,Wa as Sr,_be as St,HX as T,uZ as Ta,Ut as Ti,Xue as Tn,X8 as Tr,abe as Tt,t_e as U,dt as Ui,$we as Un,oee as Ur,ope as Ut,i_e as V,go as Vi,Twe as Vn,h1 as Vr,ape as Vt,r_e as W,XZ as Wi,yue as Wn,hz as Wr,rV as Wt,DCe as X,aJ as Xi,Swe as Xn,hwe as Xr,mS as Xt,zCe as Y,lJ as Yi,Pwe as Yn,iee as Yr,Oj as Yt,GY as Z,nt as Zi,vue as Zn,zu as Zr,Tme as Zt,eSe as _,er as _a,Gs as _i,nn as _n,_de as _r,fK as _t,qwe as a,hr as aa,pQ as ai,ume as an,aue as ar,hxe as at,Wwe as b,hZ as ba,Ns as bi,ofe as bn,bce as br,zwe as bt,Bwe as c,ui as ca,_r as ci,jve as cn,xwe as cr,D0e as ct,H1e as d,x_ as da,uo as di,Vv as dn,ywe as dr,y0e as dt,fn as ea,Yt as ei,$me as en,_we as er,PCe as et,Hwe as f,Rc as fa,T4 as fi,Qw as fn,qde as fr,x0e as ft,Kwe as g,kZ as ga,I as gi,Mhe as gn,bwe as gr,Kbe as gt,Nwe as h,RZ as ha,Tc as hi,Xu as hn,Wv as hr,qbe as ht,WX as i,OZ as ia,tee as ii,uj as in,iue as ir,Ixe as it,OX as j,$k as ji,Uue as jn,Gte as jr,DS as jt,x1e as k,DF as ki,Awe as kn,Ir as kr,CU as kt,Xwe as l,so as la,lQ as li,kve as ln,a7 as lr,C0e as lt,Qwe as m,__ as ma,yt as mi,jf as mn,GH as mr,Dwe as mt,Q1e as n,Am as na,u1 as ni,Cme as nn,sue as nr,aCe as nt,Vwe as o,sc as oa,N4 as oi,fme as on,Cwe as or,vxe as ot,Zwe as p,Se as pa,$4 as pi,gs as pn,Gde as pr,r0e as pt,jCe as q,GZ as qi,kwe as qn,uee as qr,jj as qt,W1e as r,Mm as ra,ree as ri,gme as rn,lue as rr,Mxe as rt,Lwe as s,p_ as sa,Y as si,_m as sn,rue as sr,z0e as st,jX as t,jI as ta,fwe as ti,xme as tn,cue as tr,iCe as tt,Uwe as u,q as ua,Iu as ui,Rve as un,Qde as ur,_0e as ut,Gwe as v,m_ as va,Kn as vi,afe as vn,gwe as vr,iP as vt,Ywe as w,c as wa,Dl as wi,Zue as wn,gse as wr,xbe as wt,jwe as x,Pc as xa,dJ as xi,Iwe as xn,DB as xr,Cbe as xt,tSe as y,zo as ya,no as yi,Fwe as yn,Cde as yr,Sbe as yt,l_e as z,af as zi,js as zn,Pl as zr,_V as zt};
4608
+ `)]),G1e={name:"Heatmap",style:q1e};Qc();ed();td();jt();hh();Ja();mn();rd();nd();id();tl();sd();cd();fh();Kt();ud();ig();fd();ad();ld();sa();Zr();da();la();rl();hd();vd();md();Ci();pd();nl();bd();var Y1e=[_W,XW,nj,Yf,dP,$j,pS,eV,sV,KV,rK,rq,Cq,Mq,G1e,Uf,uP,Uq,Zq,SK,LK,kS,Y9,BV,wS,vP,RG,AG,NG,Jw,YG,aY,bY];function X1e(e){return nD(e)?Y1e:void 0}Y();u1();VP();$1();HX();h1();qm();var Z1e={key:1,class:"node-warning-bar"},J1e=Re({__name:"App",setup(e){const t=ma(async()=>(await it(async()=>{const{default:ie}=await import("./AppSidebar-CNkSiv3l.js");return{default:ie}},__vite__mapDeps([127,11,12,4,128]))).default),r=ma(async()=>(await it(async()=>{const{default:ie}=await import("./DesktopTitleBar-Dej_16hB.js");return{default:ie}},__vite__mapDeps([129,130]))).default),n=ma(async()=>(await it(async()=>{const{default:ie}=await import("./SessionSearchModal-DhwGsV-i.js");return{default:ie}},__vite__mapDeps([131,17,15,2,16,18,19,4,20,132]))).default),o=ma(async()=>(await it(async()=>{const{default:ie}=await import("./DefaultCredentialPrompt-DmNeotSW.js");return{default:ie}},__vite__mapDeps([133,8,134]))).default),i=ma(async()=>(await it(async()=>{const{default:ie}=await import("./ProviderConfigurationPrompt-zwk1UwoP.js");return{default:ie}},__vite__mapDeps([135,4,79,136]))).default),a=ma(async()=>(await it(async()=>{const{default:ie}=await import("./WebPet-BUvrfjpq.js").then(xe=>(xe.r(),xe.n));return{default:ie}},__vite__mapDeps([1,2,3,4,5]))).default),l=ma(async()=>(await it(async()=>{const{default:ie}=await import("./GlobalPendingActions-CeK96C3G.js");return{default:ie}},__vite__mapDeps([137,15,2,16,17,18,19,4,20,14,8,21,22,76,25,138]))).default),{isDark:s,isComic:d,customization:u,hasBackgroundImage:f,syncThemeFromServer:m}=E1e(),{t:g,locale:h}=uu(),p=I(()=>K1e(h.value)),b=I(()=>X1e(h.value)),y=WX(),x=ree(),{sessionSearchOpen:C}=NX(),w=I(()=>f1e(s.value,d.value,u.value)),S=I(()=>s.value?TX:null),P=I(()=>x.name==="login"),_=I(()=>x.meta?.standaloneChat===!0),T=I(()=>x.meta?.inviteOnly===!0),E=I(()=>["hermes.chat","hermes.session","hermes.history","hermes.historySession","hermes.globalAgent","hermes.globalAgentSession","hermes.groupChat","hermes.groupChatRoom","hermes.workflow"].includes(x.name)),D=I(()=>!P.value&&!_.value&&!E.value),M=I(()=>!P.value&&!_.value&&(D.value||E.value)),W=I(()=>{const ie=y.nodeVersion,xe=parseInt(ie.split(".")[0],10);return!isNaN(xe)&&xe<23}),L=I(()=>Pl()?.isDesktop===!0),H=I(()=>Pl()?.platform||""),V=I(()=>L.value&&H.value==="win32"),G=I(()=>Pl()?.windowKind==="chat"),J=I(()=>V.value&&!G.value),Q=I(()=>P.value?10:D.value?y.sidebarCollapsed?84:260:y.pageSidebarExpanded?260:10),de=I(()=>x.name==="desktop.pet"),ke=I(()=>!P.value&&!_.value&&!L.value&&!de.value),le=I(()=>H.value?`desktop-platform-${H.value}`:""),ye=q(!1);let ue;function oe(){if(E.value){window.dispatchEvent(new CustomEvent("hermes:open-page-sidebar"));return}y.toggleSidebar()}return nt([P,T],([ie,xe])=>{if(ie||xe){y.stopHealthPolling();return}y.loadModels(),y.startHealthPolling()},{immediate:!0}),Ht(()=>{T.value||m().catch(()=>{});const ie=Pl();!ie?.isDesktop||H.value!=="win32"&&ie.windowKind!=="chat"||(ie.getWindowState?.().then(xe=>{ye.value=!!xe.isMaximized}).catch(()=>{}),ue=ie.onWindowStateChange?.(xe=>{ye.value=!!xe.isMaximized}))}),go(()=>{ue?.(),y.stopHealthPolling()}),A1e(),(ie,xe)=>{const ae=yF("router-view");return Hr(),Kn(er(hV),{theme:S.value,"theme-overrides":w.value,locale:p.value.locale,"date-locale":p.value.dateLocale,rtl:b.value},{default:wl(()=>[Ut(er(EK),null,{default:wl(()=>[Ut(U1e),Ut(er(vK),null,{default:wl(()=>[Ut(er(VK),null,{default:wl(()=>[de.value?(Hr(),Kn(ae,{key:0})):(Hr(),Ns("div",{key:1,class:zo(["app-shell",[le.value,{desktop:L.value,"desktop-chat-window":G.value,"desktop-window-maximized":ye.value,"app-shell--custom-background":er(f)}]])},[J.value?(Hr(),Kn(er(r),{key:0,standalone:P.value||G.value,"left-offset":Q.value},null,8,["standalone","left-offset"])):no("",!0),W.value&&!_.value?(Hr(),Ns("div",Z1e,Zv(er(g)("sidebar.nodeVersionWarning",{version:er(y).nodeVersion})),1)):no("",!0),Gs("div",{class:zo(["app-layout",{"no-sidebar":P.value||!D.value}])},[M.value?(Hr(),Ns("button",{key:0,class:"hamburger-btn",onClick:oe},[...xe[1]||(xe[1]=[Gs("img",{src:"/logo.png",alt:"Menu",style:{width:"24px",height:"24px"}},null,-1)])])):no("",!0),!P.value&&D.value&&er(y).sidebarOpen?(Hr(),Ns("div",{key:1,class:"mobile-backdrop",onClick:xe[0]||(xe[0]=(...Ce)=>er(y).closeSidebar&&er(y).closeSidebar(...Ce))})):no("",!0),!P.value&&D.value?(Hr(),Kn(er(t),{key:2})):no("",!0),Gs("main",{class:zo(["app-main",{"app-main--card":D.value}])},[Ut(ae)],2)],2)],2)),ke.value?(Hr(),Kn(er(a),{key:2})):no("",!0),!de.value&&!_.value&&er(C)?(Hr(),Kn(er(n),{key:3})):no("",!0),!de.value&&!_.value?(Hr(),Kn(er(o),{key:4})):no("",!0),!de.value&&!_.value?(Hr(),Kn(er(i),{key:5})):no("",!0),!P.value&&!de.value&&!_.value?(Hr(),Kn(er(l),{key:6})):no("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["theme","theme-overrides","locale","date-locale","rtl"])}}}),jX,Q1e=c((()=>{jX=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}}));Q1e();var ewe=jX(J1e,[["__scopeId","data-v-829e7364"]]);Y();N4();gz();h1();var PI=localStorage.getItem("hermes_brightness")||"system",twe=localStorage.getItem("hermes_style")||"ink",rwe=window.matchMedia("(prefers-color-scheme: dark)").matches,nwe=PI==="dark"||PI==="system"&&rwe,owe=twe==="comic",ZP=Pl(),VX=ZP?.isDesktop===!0,iwe=ZP?.windowKind==="pet"||window.location.hash.startsWith("#/desktop-pet");nwe&&document.documentElement.classList.add("dark");owe&&document.documentElement.classList.add("comic");VX&&document.documentElement.classList.add("hermes-desktop-shell");VX&&ZP?.platform==="win32"&&document.documentElement.classList.add("hermes-desktop-windows");iwe&&document.documentElement.classList.add("hermes-desktop-pet-window");var awe=new URLSearchParams(window.location.search),kI=window.location.hash.split("?")[1],RI=awe.get("token")||(kI?new URLSearchParams(kI).get("token"):null);RI&&(window.__LOGIN_TOKEN__=RI);async function lwe(){const e=await iD,t=cu(ewe);t.use(fQ()),t.use(e),t.use(Vi),await Vi.isReady().catch(()=>{}),t.mount("#app")}lwe();export{SCe as $,wl as $i,due as $n,aee as $r,lo as $t,C1e as A,v as Ai,Kue as An,Yte as Ar,$ge as At,s_e as B,Ht as Bi,_ue as Bn,fee as Br,Rpe as Bt,z1e as C,swe as Ca,OJ as Ci,rfe as Cn,ds as Cr,ybe as Ct,O1e as D,dwe as Da,Re as Di,Mwe as Dn,tw as Dr,$U as Dt,NX as E,uwe as Ea,ma as Ei,Yue as En,lp as Er,lbe as Et,T_e as F,Lt as Fi,Owe as Fn,it as Fr,dge as Ft,qCe as G,T_ as Gi,Rwe as Gn,lee as Gr,Jf as Gt,rX as H,Hr as Hi,Cue as Hn,mwe as Hr,lpe as Ht,$_e as I,Lm as Ii,Sue as In,qm as Ir,uge as It,VCe as J,JZ as Ji,gue as Jn,vwe as Jr,Vj as Jt,GCe as K,yF as Ki,bue as Kn,Zl as Kr,Zme as Kt,P_e as L,pi as Li,Ewe as Ln,vee as Lr,FS as Lt,VP as M,He as Mi,Hue as Mn,pwe as Mr,rU as Mt,G_e as N,jF as Ni,Nue as Nn,$1 as Nr,eU as Nt,E1e as O,cwe as Oa,Pr as Oi,Gue as On,Wr as Or,Ige as Ot,Y_e as P,_n as Pi,Pue as Pn,uu as Pr,vge as Pt,OCe as Q,lr as Qi,wwe as Qn,Km as Qr,Eme as Qt,hX as R,tr as Ri,wue as Rn,hee as Rr,cge as Rt,Jwe as S,Zv as Sa,ZZ as Si,nfe as Sn,Wa as Sr,_be as St,HX as T,uZ as Ta,Ut as Ti,Xue as Tn,X8 as Tr,abe as Tt,t_e as U,dt as Ui,$we as Un,oee as Ur,ope as Ut,i_e as V,go as Vi,Twe as Vn,h1 as Vr,ape as Vt,r_e as W,XZ as Wi,yue as Wn,hz as Wr,rV as Wt,DCe as X,aJ as Xi,Swe as Xn,hwe as Xr,mS as Xt,zCe as Y,lJ as Yi,Pwe as Yn,iee as Yr,Oj as Yt,GY as Z,nt as Zi,vue as Zn,zu as Zr,Tme as Zt,eSe as _,er as _a,Gs as _i,nn as _n,_de as _r,fK as _t,qwe as a,hr as aa,pQ as ai,ume as an,aue as ar,hxe as at,Wwe as b,hZ as ba,Ns as bi,ofe as bn,bce as br,zwe as bt,Bwe as c,ui as ca,_r as ci,jve as cn,xwe as cr,D0e as ct,H1e as d,x_ as da,uo as di,Vv as dn,ywe as dr,y0e as dt,fn as ea,Yt as ei,$me as en,_we as er,PCe as et,Hwe as f,Rc as fa,T4 as fi,Qw as fn,qde as fr,x0e as ft,Kwe as g,kZ as ga,I as gi,Mhe as gn,bwe as gr,Kbe as gt,Nwe as h,RZ as ha,Tc as hi,Xu as hn,Wv as hr,qbe as ht,WX as i,OZ as ia,tee as ii,uj as in,iue as ir,Ixe as it,OX as j,$k as ji,Uue as jn,Gte as jr,DS as jt,x1e as k,DF as ki,Awe as kn,Ir as kr,CU as kt,Xwe as l,so as la,lQ as li,kve as ln,a7 as lr,C0e as lt,Qwe as m,__ as ma,yt as mi,jf as mn,GH as mr,Dwe as mt,Q1e as n,Am as na,u1 as ni,Cme as nn,sue as nr,aCe as nt,Vwe as o,sc as oa,N4 as oi,fme as on,Cwe as or,vxe as ot,Zwe as p,Se as pa,$4 as pi,gs as pn,Gde as pr,r0e as pt,jCe as q,GZ as qi,kwe as qn,uee as qr,jj as qt,W1e as r,Mm as ra,ree as ri,gme as rn,lue as rr,Mxe as rt,Lwe as s,p_ as sa,Y as si,_m as sn,rue as sr,z0e as st,jX as t,jI as ta,fwe as ti,xme as tn,cue as tr,iCe as tt,Uwe as u,q as ua,Iu as ui,Rve as un,Qde as ur,_0e as ut,Gwe as v,m_ as va,Kn as vi,afe as vn,gwe as vr,iP as vt,Ywe as w,c as wa,Dl as wi,Zue as wn,gse as wr,xbe as wt,jwe as x,Pc as xa,dJ as xi,Iwe as xn,DB as xr,Cbe as xt,tSe as y,zo as ya,no as yi,Fwe as yn,Cde as yr,Sbe as yt,l_e as z,af as zi,js as zn,Pl as zr,_V as zt};