hermes-web-ui 0.6.30-beta.2 → 0.6.30

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 (257) hide show
  1. package/dist/client/assets/js/AppSidebar-B8eJvJ5L.js +1 -0
  2. package/dist/client/assets/js/{ChannelsView-DMyeoPl6.js → ChannelsView-rBs9Ylzp.js} +1 -1
  3. package/dist/client/assets/js/{ChatPanel-YZZNE2mg.js → ChatPanel-BjHQvYcw.js} +1 -1
  4. package/dist/client/assets/js/{ChatView-BSWI-pr1.js → ChatView-xEwjnXLo.js} +1 -1
  5. package/dist/client/assets/js/{CodingAgentsView-DGweBEVs.js → CodingAgentsView-DcVwegsz.js} +1 -1
  6. package/dist/client/assets/js/{DefaultCredentialPrompt-DwS2g874.js → DefaultCredentialPrompt-sFeH1odX.js} +1 -1
  7. package/dist/client/assets/js/{DesktopPetView-C2QyaxNu.js → DesktopPetView-DKYjal2v.js} +1 -1
  8. package/dist/client/assets/js/{DesktopTitleBar-CMvwjOsN.js → DesktopTitleBar-YzhbwcwX.js} +1 -1
  9. package/dist/client/assets/js/{DevicesView-3VMSlXCt.js → DevicesView-CnAjn0fI.js} +1 -1
  10. package/dist/client/assets/js/{FileEditor-Dkxlmokr.js → FileEditor-C_tmKjxI.js} +3 -3
  11. package/dist/client/assets/js/{FileRenameModal-o3oS6tv2.js → FileRenameModal-BlqJ8jgZ.js} +2 -2
  12. package/dist/client/assets/js/{FilesView-BlJtiYU7.js → FilesView-Dy8G_exi.js} +1 -1
  13. package/dist/client/assets/js/{FolderPicker-DYQaj8Cc.js → FolderPicker-DEUyd_JU.js} +1 -1
  14. package/dist/client/assets/js/{GlobalAgentView-CGRn1ucS.js → GlobalAgentView-C0NgWvKP.js} +1 -1
  15. package/dist/client/assets/js/{GroupChatView-GXbwwUn9.js → GroupChatView-Mr8SR7nA.js} +2 -2
  16. package/dist/client/assets/js/{HistoryMessageList-B1UsdtzR.js → HistoryMessageList--MuOQ24m.js} +1 -1
  17. package/dist/client/assets/js/{HistoryView-DukXpB7A.js → HistoryView-Boy6KWxz.js} +1 -1
  18. package/dist/client/assets/js/{JobsView-C2IfX4Oo.js → JobsView-5Jun6EjM.js} +2 -2
  19. package/dist/client/assets/js/{JourneyView-UX14Uvsk.js → JourneyView-DAU7N8iU.js} +1 -1
  20. package/dist/client/assets/js/{KanbanView-BFLDXNmq.js → KanbanView-CQOeRquP.js} +1 -1
  21. package/dist/client/assets/js/{LoginView-BMnZx434.js → LoginView-DTdp1xsa.js} +1 -1
  22. package/dist/client/assets/js/{LogsView-CFxOjMBB.js → LogsView-Dr6gD_kA.js} +1 -1
  23. package/dist/client/assets/js/{MarkdownRenderer-RUGb4sbQ.js → MarkdownRenderer-DpSiF5gl.js} +3 -3
  24. package/dist/client/assets/js/{McpManagerView-D46nhm85.js → McpManagerView-BzGj5qqQ.js} +1 -1
  25. package/dist/client/assets/js/{MemoryView-CGvbW1Yq.js → MemoryView-2gPDgre_.js} +2 -2
  26. package/dist/client/assets/js/{MessageItem-rIbgU0g3.js → MessageItem-D91t-tiL.js} +2 -2
  27. package/dist/client/assets/js/{MessageList-7o_1_iPw.js → MessageList-KgA7oDKg.js} +1 -1
  28. package/dist/client/assets/js/{ModelsView-Cdl5HVlO.js → ModelsView-GVgHBsyL.js} +1 -1
  29. package/dist/client/assets/js/{OutlinePanel-BmsAdxB0.js → OutlinePanel-DD6XxWAu.js} +1 -1
  30. package/dist/client/assets/js/{PageSidebarFooter-fp9dcg3s.js → PageSidebarFooter-DFaGG_bk.js} +1 -1
  31. package/dist/client/assets/js/{PerformanceView-asJG1CAC.js → PerformanceView-YI2ecC28.js} +1 -1
  32. package/dist/client/assets/js/{PetdexView-CgsImZ2C.js → PetdexView-Bt4e1TDL.js} +1 -1
  33. package/dist/client/assets/js/{PluginsView-CiiHUv8H.js → PluginsView-BZHzh6V0.js} +1 -1
  34. package/dist/client/assets/js/{ProfileAvatar-CeGhJamd.js → ProfileAvatar-Du1XMoe0.js} +1 -1
  35. package/dist/client/assets/js/{ProfilesView-CPcFsEMn.js → ProfilesView-C02GlAXO.js} +1 -1
  36. package/dist/client/assets/js/{ProviderConfigurationPrompt-CCXQ_nqY.js → ProviderConfigurationPrompt-DbD_q_xl.js} +1 -1
  37. package/dist/client/assets/js/{SessionSearchModal-Chmtohb_.js → SessionSearchModal-CRoerPzU.js} +1 -1
  38. package/dist/client/assets/js/{SettingRow-CxdhcC5J.js → SettingRow-CZ1bK2YG.js} +1 -1
  39. package/dist/client/assets/js/{SettingsCircuitBadge-DmwONg4K.js → SettingsCircuitBadge-2VINGRjT.js} +1 -1
  40. package/dist/client/assets/js/{SettingsView-Bd02BnM7.js → SettingsView-C63TriKv.js} +1 -1
  41. package/dist/client/assets/js/{SkillsUsageView-Cvk_dctX.js → SkillsUsageView-DufR6RDh.js} +1 -1
  42. package/dist/client/assets/js/{SkillsView-BrS15WHY.js → SkillsView-LzeD-ReE.js} +2 -2
  43. package/dist/client/assets/js/{TerminalView-Betjhhzm.js → TerminalView-j3wokVwS.js} +1 -1
  44. package/dist/client/assets/js/{UsageView-gENmuPca.js → UsageView-BVdos-wH.js} +1 -1
  45. package/dist/client/assets/js/{VersionPreviewView-D4wMkRdU.js → VersionPreviewView-D46YOdsc.js} +1 -1
  46. package/dist/client/assets/js/{WebPet-C-F5hsmU.js → WebPet-PrNf1KLw.js} +1 -1
  47. package/dist/client/assets/js/{WorkflowView-DCQycw5y.js → WorkflowView-BWG_o4Lg.js} +1 -1
  48. package/dist/client/assets/js/{abap-Bpce3YCc.js → abap-B5rRrPlH.js} +1 -1
  49. package/dist/client/assets/js/{apex-BZWMlx8R.js → apex-kxpOZZnW.js} +1 -1
  50. package/dist/client/assets/js/architecture-7EHR7CIX-BsCtaKPb.js +1 -0
  51. package/dist/client/assets/js/{architectureDiagram-3BPJPVTR-DgYZW-VJ.js → architectureDiagram-3BPJPVTR-CGR0-xeM.js} +1 -1
  52. package/dist/client/assets/js/{auth-DAz8TLhP.js → auth-QlZVq-Mb.js} +1 -1
  53. package/dist/client/assets/js/{azcli-CU70G-wD.js → azcli-BinA5kBH.js} +1 -1
  54. package/dist/client/assets/js/{bat-_PVMPuXp.js → bat-Cr0qo7tY.js} +1 -1
  55. package/dist/client/assets/js/{bicep-B1C-nHUL.js → bicep-B4C1_29j.js} +1 -1
  56. package/dist/client/assets/js/{blockDiagram-GPEHLZMM-D9eCcYUu.js → blockDiagram-GPEHLZMM-DMRT9qE7.js} +1 -1
  57. package/dist/client/assets/js/{c4Diagram-AAUBKEIU-Cc2j_5Hk.js → c4Diagram-AAUBKEIU-BS013lHX.js} +1 -1
  58. package/dist/client/assets/js/{cameligo-BRxFWUB9.js → cameligo-DQKQuDHg.js} +1 -1
  59. package/dist/client/assets/js/{chat-DASgRGiI.js → chat-BHkNRr2D.js} +1 -1
  60. package/dist/client/assets/js/{chat-input-height-xMpE0zfj.js → chat-input-height-C9XyOGPU.js} +1 -1
  61. package/dist/client/assets/js/{chat-timestamp-B4kSmeEg.js → chat-timestamp-sj8rR29x.js} +1 -1
  62. package/dist/client/assets/js/{chunk-2J33WTMH-CIWIJ3Vy.js → chunk-2J33WTMH-BuvstStb.js} +1 -1
  63. package/dist/client/assets/js/{chunk-3OPIFGDE-D8rNjXTj.js → chunk-3OPIFGDE-DFuFb6Dn.js} +1 -1
  64. package/dist/client/assets/js/{chunk-4BX2VUAB-Be1NT72j.js → chunk-4BX2VUAB-C8f7FKlW.js} +1 -1
  65. package/dist/client/assets/js/{chunk-55IACEB6-D9jngYNS.js → chunk-55IACEB6-DoNUYELD.js} +1 -1
  66. package/dist/client/assets/js/{chunk-5ZQYHXKU-DsBTFfjP.js → chunk-5ZQYHXKU-D0RIlhMr.js} +1 -1
  67. package/dist/client/assets/js/{chunk-727SXJPM-B4ElG_Of.js → chunk-727SXJPM-Dcg9rcP1.js} +1 -1
  68. package/dist/client/assets/js/{chunk-AQP2D5EJ-DqmSdc2v.js → chunk-AQP2D5EJ-BrEs3845.js} +1 -1
  69. package/dist/client/assets/js/{chunk-BSJP7CBP-Dwbw_lcd.js → chunk-BSJP7CBP-2t71L2nD.js} +1 -1
  70. package/dist/client/assets/js/{chunk-CSCIHK7Q-D0eX0NV1.js → chunk-CSCIHK7Q-jw9fZDC9.js} +3 -3
  71. package/dist/client/assets/js/{chunk-FMBD7UC4-Ifok5gk4.js → chunk-FMBD7UC4-CC_5MTtl.js} +1 -1
  72. package/dist/client/assets/js/{chunk-KSCS5N6A-D6b_0Rnx.js → chunk-KSCS5N6A-Ctj260fA.js} +1 -1
  73. package/dist/client/assets/js/{chunk-L5ZTLDWV-eR6nltId.js → chunk-L5ZTLDWV-CF8sc4Ay.js} +1 -1
  74. package/dist/client/assets/js/{chunk-LZXEDZCA-h6nPcsB6.js → chunk-LZXEDZCA-BsmuMR5Z.js} +2 -2
  75. package/dist/client/assets/js/{chunk-ND2GUHAM-vGFiX1jf.js → chunk-ND2GUHAM-CvXXD5FC.js} +1 -1
  76. package/dist/client/assets/js/{chunk-NZK2D7GU-BQcgYAVF.js → chunk-NZK2D7GU-BQeu8oaR.js} +1 -1
  77. package/dist/client/assets/js/{chunk-O5CBEL6O-DqGyu-Fq.js → chunk-O5CBEL6O-D9XUSNoV.js} +1 -1
  78. package/dist/client/assets/js/{chunk-QZHKN3VN-Bf_cn5Px.js → chunk-QZHKN3VN-qz6ukpCd.js} +1 -1
  79. package/dist/client/assets/js/{chunk-WU5MYG2G-3I1ZwKkc.js → chunk-WU5MYG2G-Cv_QOL8q.js} +1 -1
  80. package/dist/client/assets/js/{chunk-XPW4576I-DDUD-9JS.js → chunk-XPW4576I-BQK5_1lO.js} +1 -1
  81. package/dist/client/assets/js/classDiagram-4FO5ZUOK-DudE54ap.js +1 -0
  82. package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-7vuaSqRj.js +1 -0
  83. package/dist/client/assets/js/{clipboard-DbIDy3AT.js → clipboard-DYlTCW_e.js} +1 -1
  84. package/dist/client/assets/js/{clojure-Dcj6e71m.js → clojure-CdqoJung.js} +1 -1
  85. package/dist/client/assets/js/{coding-agents-CaDRq0na.js → coding-agents-6iW0O8m3.js} +1 -1
  86. package/dist/client/assets/js/{codingAgentProviders-D561caSN.js → codingAgentProviders-CcodfSH-.js} +1 -1
  87. package/dist/client/assets/js/{coffee-CbYrIyIn.js → coffee-BWTAEena.js} +1 -1
  88. package/dist/client/assets/js/{completion-notification-DsOPieYQ.js → completion-notification-BAmmQT0D.js} +1 -1
  89. package/dist/client/assets/js/{cose-bilkent-S5V4N54A-DMeSp3o-.js → cose-bilkent-S5V4N54A-DRKeHjkL.js} +1 -1
  90. package/dist/client/assets/js/{cpp-C285XCcy.js → cpp-BVlDwaOY.js} +1 -1
  91. package/dist/client/assets/js/{csharp-AOA29tQw.js → csharp-BJ8TvX5x.js} +1 -1
  92. package/dist/client/assets/js/{csp-BH3dEG6O.js → csp-C4M5VPIw.js} +1 -1
  93. package/dist/client/assets/js/{css-B57baUKb.js → css-I3bSR4aB.js} +1 -1
  94. package/dist/client/assets/js/{cssMode-BL-figOg.js → cssMode-D4KFuV7w.js} +1 -1
  95. package/dist/client/assets/js/{cypher-WtS-OVKo.js → cypher-CRdq7Gis.js} +1 -1
  96. package/dist/client/assets/js/{cytoscape.esm-D5tsfvvu.js → cytoscape.esm-DkgBNPTq.js} +1 -1
  97. package/dist/client/assets/js/{dagre-BM42HDAG-ZT4Tyhdh.js → dagre-BM42HDAG-CaadqbBP.js} +1 -1
  98. package/dist/client/assets/js/{dagre-B9R_qlQx.js → dagre-C8VfHmP4.js} +1 -1
  99. package/dist/client/assets/js/{dart-DF9gqEcq.js → dart-dwyDElLm.js} +1 -1
  100. package/dist/client/assets/js/{de-EFWp16Qh.js → de--4CNgQuL.js} +1 -1
  101. package/dist/client/assets/js/{defineProperty-DuJZezkY.js → defineProperty-BDo2HL0q.js} +1 -1
  102. package/dist/client/assets/js/{diagram-2AECGRRQ-xaP4EEEl.js → diagram-2AECGRRQ-Cun81Ans.js} +1 -1
  103. package/dist/client/assets/js/{diagram-5GNKFQAL-DIyCvoeX.js → diagram-5GNKFQAL-CQzVKYOI.js} +1 -1
  104. package/dist/client/assets/js/{diagram-KO2AKTUF-DUgBO_lP.js → diagram-KO2AKTUF-BPfQv40Z.js} +1 -1
  105. package/dist/client/assets/js/{diagram-LMA3HP47-7BPLQ2mh.js → diagram-LMA3HP47-D8TC5VV0.js} +1 -1
  106. package/dist/client/assets/js/{diagram-OG6HWLK6-Bf3loU_i.js → diagram-OG6HWLK6-CRHwtHSe.js} +1 -1
  107. package/dist/client/assets/js/{dist-B5dYmTWx.js → dist-CfFdo9r8.js} +1 -1
  108. package/dist/client/assets/js/{dockerfile-Czh5hcPx.js → dockerfile-CILemvfU.js} +1 -1
  109. package/dist/client/assets/js/{download-D8EaUX1d.js → download-48rHoTgx.js} +1 -1
  110. package/dist/client/assets/js/{ecl-CX15-2F3.js → ecl-Ealz99xU.js} +1 -1
  111. package/dist/client/assets/js/{elixir-DAeHVhZ1.js → elixir-shrM9Xh9.js} +1 -1
  112. package/dist/client/assets/js/{en-Be915fg0.js → en-CJJ1jL_Y.js} +1 -1
  113. package/dist/client/assets/js/{erDiagram-TEJ5UH35-Cohr37bj.js → erDiagram-TEJ5UH35-BPm-r9Hg.js} +1 -1
  114. package/dist/client/assets/js/{es-CifdmPsf.js → es-DzGYbRQj.js} +1 -1
  115. package/dist/client/assets/js/{esm-BnjT8clq.js → esm-BMJNKLtg.js} +1 -1
  116. package/dist/client/assets/js/eventmodeling-FCH6USID-C3kT7Z0E.js +1 -0
  117. package/dist/client/assets/js/{files-DaoyoU6g.js → files-hTAbTvaX.js} +1 -1
  118. package/dist/client/assets/js/{flow9-DbPITgDY.js → flow9-BcjKeG3-.js} +1 -1
  119. package/dist/client/assets/js/{flowDiagram-I6XJVG4X-B264a192.js → flowDiagram-I6XJVG4X-_BaH5aHT.js} +1 -1
  120. package/dist/client/assets/js/{fr-cOjPUfRx.js → fr-DcCzCkCs.js} +1 -1
  121. package/dist/client/assets/js/{freemarker2-DOLmB9KN.js → freemarker2-BNKS-Izq.js} +1 -1
  122. package/dist/client/assets/js/{fsharp-B-Yt6zK9.js → fsharp-CkihMS6p.js} +1 -1
  123. package/dist/client/assets/js/{ganttDiagram-6RSMTGT7-Ci7dhsnY.js → ganttDiagram-6RSMTGT7-Cbdw-Bcw.js} +1 -1
  124. package/dist/client/assets/js/gitGraph-WXDBUCRP-6wOXvHzD.js +1 -0
  125. package/dist/client/assets/js/{gitGraphDiagram-PVQCEYII-BlLk9eYS.js → gitGraphDiagram-PVQCEYII-B-bpVVPE.js} +1 -1
  126. package/dist/client/assets/js/{go-BOK2cgny.js → go-T3wwW6GT.js} +1 -1
  127. package/dist/client/assets/js/{graphlib-D2Mw_i7z.js → graphlib-zy-xgTNe.js} +1 -1
  128. package/dist/client/assets/js/{graphql-lNO0dhfX.js → graphql-efIwdE3z.js} +1 -1
  129. package/dist/client/assets/js/{handlebars-CVZmi01T.js → handlebars-I50ARPXc.js} +1 -1
  130. package/dist/client/assets/js/{hcl-DzR879Fw.js → hcl-1nBprOUg.js} +1 -1
  131. package/dist/client/assets/js/{highlight-Dj4_XEnA.js → highlight-CEOB4aIv.js} +1 -1
  132. package/dist/client/assets/js/{html-PlnnXcHR.js → html-Dj-ePZ46.js} +1 -1
  133. package/dist/client/assets/js/{htmlMode-Fmdr8cyl.js → htmlMode-CaN3hz4S.js} +1 -1
  134. package/dist/client/assets/js/{http-error-DN0Q0NIV.js → http-error-DzA5OQEf.js} +1 -1
  135. package/dist/client/assets/js/{index-B41wzfl2.js → index-RJQqJC6n.js} +4 -4
  136. package/dist/client/assets/js/info-J43DQDTF-BIWBwu_u.js +1 -0
  137. package/dist/client/assets/js/{infoDiagram-5YYISTIA-NDi7uRio.js → infoDiagram-5YYISTIA-BNXSec0Z.js} +1 -1
  138. package/dist/client/assets/js/{ini-DrTE-Qjw.js → ini-3Ot_KNDr.js} +1 -1
  139. package/dist/client/assets/js/{ishikawaDiagram-YF4QCWOH-Bqr4yRKd.js → ishikawaDiagram-YF4QCWOH-g75yRzDd.js} +1 -1
  140. package/dist/client/assets/js/{ja-24otYQMe.js → ja-CQvWYnv9.js} +1 -1
  141. package/dist/client/assets/js/{java-M1cOm-yu.js → java-BnfIG6C2.js} +1 -1
  142. package/dist/client/assets/js/{javascript-BNXq8PNf.js → javascript-CsnYKLbf.js} +1 -1
  143. package/dist/client/assets/js/{journeyDiagram-JHISSGLW-BEtti5_h.js → journeyDiagram-JHISSGLW-Pz71rJgC.js} +1 -1
  144. package/dist/client/assets/js/{jsonMode-1QUqmLF3.js → jsonMode-C075GWTu.js} +1 -1
  145. package/dist/client/assets/js/{julia-dLq8Su3c.js → julia-BZ-d031P.js} +1 -1
  146. package/dist/client/assets/js/{kanban-definition-UN3LZRKU-B0OINhQN.js → kanban-definition-UN3LZRKU-CM65a4ke.js} +1 -1
  147. package/dist/client/assets/js/{katex-RcNO5wwe.js → katex-CdfrrN4N.js} +1 -1
  148. package/dist/client/assets/js/{ko-BAFhhHmu.js → ko-CJGntapN.js} +1 -1
  149. package/dist/client/assets/js/{kotlin-u5eqp-HC.js → kotlin-Bvrb8ISQ.js} +1 -1
  150. package/dist/client/assets/js/{less-Bmv3Gp2t.js → less-BmSBm_Oo.js} +1 -1
  151. package/dist/client/assets/js/{lexon-D4tsg7Zx.js → lexon-DuK8nBv2.js} +1 -1
  152. package/dist/client/assets/js/{liquid-Bk2yC9hm.js → liquid-BWAc_45a.js} +1 -1
  153. package/dist/client/assets/js/{lspLanguageFeatures-D43hcBWA.js → lspLanguageFeatures-BiQVZMg4.js} +1 -1
  154. package/dist/client/assets/js/{lua-p9IseoQp.js → lua-CyRtU9wL.js} +1 -1
  155. package/dist/client/assets/js/{m3-CP_UPhUb.js → m3-Ew9Azayo.js} +1 -1
  156. package/dist/client/assets/js/{markdown-EMkhjbsA.js → markdown-DTnF9Yaz.js} +1 -1
  157. package/dist/client/assets/js/{mdx-CTIqsEU_.js → mdx-B5cGu-wW.js} +1 -1
  158. package/dist/client/assets/js/{mermaid-parser.core-Ct7VvVNd.js → mermaid-parser.core-H0g6x_iH.js} +3 -3
  159. package/dist/client/assets/js/{mermaid.core-bZP2CdTT.js → mermaid.core-Diknpn0Z.js} +3 -3
  160. package/dist/client/assets/js/{mindmap-definition-RKZ34NQL-HwEZyOHT.js → mindmap-definition-RKZ34NQL-CaunhL_H.js} +1 -1
  161. package/dist/client/assets/js/{mips-CkjAOBJ1.js → mips-Dxi7_29p.js} +1 -1
  162. package/dist/client/assets/js/{models-IOA_Ybyo.js → models-C1Vzhn4J.js} +1 -1
  163. package/dist/client/assets/js/{msdax-D3cfIob3.js → msdax-B6Bgb3AK.js} +1 -1
  164. package/dist/client/assets/js/{mysql-4uHNth4i.js → mysql-BL2x9OzM.js} +1 -1
  165. package/dist/client/assets/js/{objective-c-CJlpUpN6.js → objective-c-BrRFV0XK.js} +1 -1
  166. package/dist/client/assets/js/packet-YPE3B663-DQbqBYnW.js +1 -0
  167. package/dist/client/assets/js/{pascal-CQPmydYD.js → pascal-WA4C_PKB.js} +1 -1
  168. package/dist/client/assets/js/{pascaligo-BpcHvwdj.js → pascaligo-CJbWHnUY.js} +1 -1
  169. package/dist/client/assets/js/{perl-CPq40M_6.js → perl-BI9Huzvv.js} +1 -1
  170. package/dist/client/assets/js/{pets-C2oDgwB5.js → pets-B_-nzG9F.js} +1 -1
  171. package/dist/client/assets/js/{pgsql-CSQ1ge3t.js → pgsql-CzbvRnWT.js} +1 -1
  172. package/dist/client/assets/js/{php-DK0RYdED.js → php-CXAgA_El.js} +1 -1
  173. package/dist/client/assets/js/pie-LRSECV5Y-CIUK74nZ.js +1 -0
  174. package/dist/client/assets/js/{pieDiagram-4H26LBE5-BmAWShfi.js → pieDiagram-4H26LBE5-CCUnlpIr.js} +1 -1
  175. package/dist/client/assets/js/{pla-DWm3Ssta.js → pla-C0RuKVEY.js} +1 -1
  176. package/dist/client/assets/js/{postiats-D6U5CAH_.js → postiats-DrGBuYen.js} +1 -1
  177. package/dist/client/assets/js/{powerquery-luT1PmkC.js → powerquery-C2Rk0MWx.js} +1 -1
  178. package/dist/client/assets/js/{powershell-DqsTi5Tp.js → powershell-Co9Oecz_.js} +1 -1
  179. package/dist/client/assets/js/{profiles-DDKFPE0r.js → profiles-BtECgqqD.js} +1 -1
  180. package/dist/client/assets/js/{protobuf-xWgh_gwl.js → protobuf-BYEreCAs.js} +1 -1
  181. package/dist/client/assets/js/{pt-DPgTOGuO.js → pt-BLQB3VhC.js} +1 -1
  182. package/dist/client/assets/js/{pug-d0a6hBgd.js → pug-DYMxpfbA.js} +1 -1
  183. package/dist/client/assets/js/{python-SkkpZGKb.js → python-D14JG4Tf.js} +1 -1
  184. package/dist/client/assets/js/{qsharp-B4xC_SYh.js → qsharp-eGQdTxCC.js} +1 -1
  185. package/dist/client/assets/js/{quadrantDiagram-W4KKPZXB-DRn55Dz7.js → quadrantDiagram-W4KKPZXB-Do1jBZkB.js} +1 -1
  186. package/dist/client/assets/js/{r-qamn5sfb.js → r-BpBEd0qf.js} +1 -1
  187. package/dist/client/assets/js/radar-GUYGQ44K-DamlzFJn.js +1 -0
  188. package/dist/client/assets/js/{razor-DR9b_EzP.js → razor-DAKZoZ5s.js} +1 -1
  189. package/dist/client/assets/js/{redis-C46kUKug.js → redis-CecBwldA.js} +1 -1
  190. package/dist/client/assets/js/{redshift-DI_dWPgP.js → redshift-DxeKWFdZ.js} +1 -1
  191. package/dist/client/assets/js/{requirementDiagram-4Y6WPE33-Do_KEl0k.js → requirementDiagram-4Y6WPE33-Ccn1EcY0.js} +1 -1
  192. package/dist/client/assets/js/{restructuredtext-oYQfsBYX.js → restructuredtext-BBhjK4w8.js} +1 -1
  193. package/dist/client/assets/js/{rough.esm-BjtdUJeF.js → rough.esm-DKpVfK-g.js} +1 -1
  194. package/dist/client/assets/js/{ru-BGBuhe8j.js → ru-BXep69sk.js} +1 -1
  195. package/dist/client/assets/js/{ruby-Da1TZ4HB.js → ruby-9YJv-z0v.js} +1 -1
  196. package/dist/client/assets/js/{rust-GT6xUobW.js → rust-BihIDWCY.js} +1 -1
  197. package/dist/client/assets/js/{sankeyDiagram-5OEKKPKP-BRnR4W8h.js → sankeyDiagram-5OEKKPKP-BZF9SKVm.js} +1 -1
  198. package/dist/client/assets/js/{sb-D4kxpCPJ.js → sb-DSz7OJbn.js} +1 -1
  199. package/dist/client/assets/js/{scala-CY3U_fvs.js → scala-DrL9oxhs.js} +1 -1
  200. package/dist/client/assets/js/{scheme-DzdFAWU_.js → scheme-Bc0QxXW_.js} +1 -1
  201. package/dist/client/assets/js/{scss-CTwgV3JD.js → scss-BTsIuYyg.js} +1 -1
  202. package/dist/client/assets/js/{sequenceDiagram-3UESZ5HK-CoemgPYx.js → sequenceDiagram-3UESZ5HK-BplvirR_.js} +1 -1
  203. package/dist/client/assets/js/{session-browser-prefs-D3fgv9Yr.js → session-browser-prefs-DnMXaw-N.js} +1 -1
  204. package/dist/client/assets/js/{sessions-BeO9QOJY.js → sessions-wVroPs5k.js} +1 -1
  205. package/dist/client/assets/js/{settings-DM3CNjqC.js → settings-Bzod_9RQ.js} +1 -1
  206. package/dist/client/assets/js/{shell-CUF2wd73.js → shell-DG7-xFwe.js} +1 -1
  207. package/dist/client/assets/js/{skills-3O8WlKlI.js → skills-CQr0eeFF.js} +1 -1
  208. package/dist/client/assets/js/{solidity-C3RnBLh_.js → solidity-COxKdecX.js} +1 -1
  209. package/dist/client/assets/js/{sophia-BA8mP4aY.js → sophia-DtFj5ZDz.js} +1 -1
  210. package/dist/client/assets/js/{sparql-DcwhST_l.js → sparql-B1TD00SE.js} +1 -1
  211. package/dist/client/assets/js/{sql-CjGghxho.js → sql-b7qwDUco.js} +1 -1
  212. package/dist/client/assets/js/{src-Cz8NyTG1.js → src-Ra8Cw6Gr.js} +1 -1
  213. package/dist/client/assets/js/{st-B8Q32toW.js → st-BtSqB0Hh.js} +1 -1
  214. package/dist/client/assets/js/{stateDiagram-AJRCARHV-I4DYKB3q.js → stateDiagram-AJRCARHV-DhJkFuW8.js} +1 -1
  215. package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-CqTRINz_.js +1 -0
  216. package/dist/client/assets/js/{swift-Br8oKRCi.js → swift-T2X4Cn4t.js} +1 -1
  217. package/dist/client/assets/js/{systemverilog-DIL7pkd5.js → systemverilog-DeuLbp4J.js} +1 -1
  218. package/dist/client/assets/js/{tcl-C7A4eFCv.js → tcl-ZVjhRcKc.js} +1 -1
  219. package/dist/client/assets/js/{timeline-definition-PNZ67QCA-BnfftsIx.js → timeline-definition-PNZ67QCA-BFAfAvjz.js} +1 -1
  220. package/dist/client/assets/js/treeView-BLDUP644-H8OPaX_2.js +1 -0
  221. package/dist/client/assets/js/treemap-LRROVOQU-BhsUhAW8.js +1 -0
  222. package/dist/client/assets/js/{tsMode-BmS5yGbl.js → tsMode-BK8igQe0.js} +1 -1
  223. package/dist/client/assets/js/{ttsHelpers-DpzPhrib.js → ttsHelpers-CUglUfpM.js} +1 -1
  224. package/dist/client/assets/js/{twig-CxeEoeDi.js → twig-B2I_zOb5.js} +1 -1
  225. package/dist/client/assets/js/{typescript-BPw3e1LN.js → typescript-DqxcEPol.js} +1 -1
  226. package/dist/client/assets/js/{typespec-dQqbgDyW.js → typespec-DYubob7r.js} +1 -1
  227. package/dist/client/assets/js/{useSttSettings-Dd2zPJU6.js → useSttSettings-BAz3MWB_.js} +1 -1
  228. package/dist/client/assets/js/{vb-DpmkDtUb.js → vb-DulIu0AM.js} +1 -1
  229. package/dist/client/assets/js/{vennDiagram-CIIHVFJN-Bu76Q1QQ.js → vennDiagram-CIIHVFJN-BTMh4zH0.js} +1 -1
  230. package/dist/client/assets/js/wardley-L42UT6IY-w2cdSduy.js +1 -0
  231. package/dist/client/assets/js/{wardleyDiagram-YWT4CUSO-BQ7KDw3c.js → wardleyDiagram-YWT4CUSO-CjApV8-0.js} +1 -1
  232. package/dist/client/assets/js/{wgsl-BzEo-Lwp.js → wgsl-DiXzOVd2.js} +1 -1
  233. package/dist/client/assets/js/{xml-CNMAb3tW.js → xml-DtDrXyok.js} +1 -1
  234. package/dist/client/assets/js/{xterm-B-CU1LD3.js → xterm-CdfgdkPC.js} +1 -1
  235. package/dist/client/assets/js/{xychartDiagram-2RQKCTM6-B1x6n3B3.js → xychartDiagram-2RQKCTM6-DuaP4Pnm.js} +1 -1
  236. package/dist/client/assets/js/{yaml-DpwMHYi6.js → yaml-9_m3OBnv.js} +1 -1
  237. package/dist/client/assets/js/{zh-TW-BJY5MjsC.js → zh-TW-CLhifuOg.js} +1 -1
  238. package/dist/client/assets/js/{zh-CoPU4mYG.js → zh-gGY9f4WM.js} +1 -1
  239. package/dist/client/index.html +1 -1
  240. package/dist/server/index.js +3 -3
  241. package/dist/server/index.js.map +1 -1
  242. package/dist/server/openapi.json +1 -1
  243. package/package.json +1 -1
  244. package/dist/client/assets/js/AppSidebar-BHfH59vK.js +0 -1
  245. package/dist/client/assets/js/architecture-7EHR7CIX-CCBUg0GR.js +0 -1
  246. package/dist/client/assets/js/classDiagram-4FO5ZUOK-Dr5SR3PA.js +0 -1
  247. package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-BeYcryNa.js +0 -1
  248. package/dist/client/assets/js/eventmodeling-FCH6USID-Cd6TFrci.js +0 -1
  249. package/dist/client/assets/js/gitGraph-WXDBUCRP-CG4qC9Jw.js +0 -1
  250. package/dist/client/assets/js/info-J43DQDTF-CFtOWOWw.js +0 -1
  251. package/dist/client/assets/js/packet-YPE3B663-C0Vs_oOB.js +0 -1
  252. package/dist/client/assets/js/pie-LRSECV5Y-CAscu7sk.js +0 -1
  253. package/dist/client/assets/js/radar-GUYGQ44K-CfxS0DQE.js +0 -1
  254. package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-BHJGHZeG.js +0 -1
  255. package/dist/client/assets/js/treeView-BLDUP644-wNgfMdO5.js +0 -1
  256. package/dist/client/assets/js/treemap-LRROVOQU-Dy2LkAdg.js +0 -1
  257. package/dist/client/assets/js/wardley-L42UT6IY-BGLmswxh.js +0 -1
@@ -1,10 +1,10 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/DesktopPetView-C2QyaxNu.js","assets/js/WebPet-C-F5hsmU.js","assets/js/esm-BnjT8clq.js","assets/js/pets-C2oDgwB5.js","assets/js/profiles-DDKFPE0r.js","assets/css/WebPet-ZniPU8ZC.css","assets/css/DesktopPetView-BAjQs-_e.css","assets/js/LoginView-BMnZx434.js","assets/js/auth-DAz8TLhP.js","assets/css/LoginView-CpR9PGJ7.css","assets/js/ChatView-BSWI-pr1.js","assets/js/chat-DASgRGiI.js","assets/js/coding-agents-CaDRq0na.js","assets/js/settings-DM3CNjqC.js","assets/js/download-D8EaUX1d.js","assets/js/sessions-BeO9QOJY.js","assets/js/completion-notification-DsOPieYQ.js","assets/js/http-error-DN0Q0NIV.js","assets/js/ChatPanel-YZZNE2mg.js","assets/js/FileEditor-Dkxlmokr.js","assets/js/defineProperty-DuJZezkY.js","assets/js/files-DaoyoU6g.js","assets/css/FileEditor-Dzv6IEmz.css","assets/js/SettingsCircuitBadge-DmwONg4K.js","assets/css/SettingsCircuitBadge-B4LW5p8X.css","assets/js/MessageList-7o_1_iPw.js","assets/js/chat-timestamp-B4kSmeEg.js","assets/css/chat-timestamp-BvKX8kzu.css","assets/js/skills-3O8WlKlI.js","assets/js/useSttSettings-Dd2zPJU6.js","assets/js/ttsHelpers-DpzPhrib.js","assets/js/MessageItem-rIbgU0g3.js","assets/js/ProfileAvatar-CeGhJamd.js","assets/css/ProfileAvatar-xbQ0XuRt.css","assets/js/highlight-Dj4_XEnA.js","assets/js/clipboard-DbIDy3AT.js","assets/css/MessageItem-CoV1mBw8.css","assets/js/chat-input-height-xMpE0zfj.js","assets/css/MessageList-qDsS6eW3.css","assets/js/FolderPicker-DYQaj8Cc.js","assets/css/FolderPicker-euSPfdRE.css","assets/js/OutlinePanel-BmsAdxB0.js","assets/css/OutlinePanel-7y8QfCkL.css","assets/js/codingAgentProviders-D561caSN.js","assets/js/xterm-B-CU1LD3.js","assets/css/xterm-sLQPUA_C.css","assets/css/codingAgentProviders-CZiW6uTD.css","assets/js/FileRenameModal-o3oS6tv2.js","assets/css/FileRenameModal-KgrA0qDe.css","assets/js/session-browser-prefs-D3fgv9Yr.js","assets/css/ChatPanel-CSMIZBze.css","assets/css/ChatView-DKVpqP44.css","assets/js/HistoryView-DukXpB7A.js","assets/js/HistoryMessageList-B1UsdtzR.js","assets/css/HistoryMessageList-Bx6iJrL5.css","assets/js/PageSidebarFooter-fp9dcg3s.js","assets/css/PageSidebarFooter-LOqARx6a.css","assets/css/HistoryView-DFmF7iOT.css","assets/js/GlobalAgentView-CGRn1ucS.js","assets/css/GlobalAgentView-BZUK_-r4.css","assets/js/JobsView-C2IfX4Oo.js","assets/css/JobsView-DMdoaotd.css","assets/js/KanbanView-BFLDXNmq.js","assets/css/KanbanView-BrhVIrhX.css","assets/js/WorkflowView-DCQycw5y.js","assets/css/WorkflowView-DGnhnPMP.css","assets/js/ModelsView-Cdl5HVlO.js","assets/js/models-IOA_Ybyo.js","assets/css/ModelsView-CXg2LHBr.css","assets/js/ProfilesView-CPcFsEMn.js","assets/css/ProfilesView-C0oGVgcZ.css","assets/js/LogsView-CFxOjMBB.js","assets/css/LogsView-Bm8JCMJx.css","assets/js/UsageView-gENmuPca.js","assets/css/UsageView-IrGSXjVA.css","assets/js/PerformanceView-asJG1CAC.js","assets/css/PerformanceView-Dx4qDKiC.css","assets/js/JourneyView-UX14Uvsk.js","assets/css/JourneyView-CCnVQTO-.css","assets/js/SkillsUsageView-Cvk_dctX.js","assets/css/SkillsUsageView-bxgGWmi0.css","assets/js/SkillsView-BrS15WHY.js","assets/css/SkillsView-C0ok6KlN.css","assets/js/PluginsView-CiiHUv8H.js","assets/css/PluginsView-BVqcilZ3.css","assets/js/PetdexView-CgsImZ2C.js","assets/css/PetdexView-DRV8mnsS.css","assets/js/MemoryView-CGvbW1Yq.js","assets/css/MemoryView-BAJShSZN.css","assets/js/SettingsView-Bd02BnM7.js","assets/js/SettingRow-CxdhcC5J.js","assets/css/SettingRow-C2eqYJC3.css","assets/css/SettingsView-Bb1u7wdX.css","assets/js/ChannelsView-DMyeoPl6.js","assets/css/ChannelsView-BXuSnn1q.css","assets/js/TerminalView-Betjhhzm.js","assets/css/TerminalView-C8Ft2Hy7.css","assets/js/DevicesView-3VMSlXCt.js","assets/css/DevicesView-Dz64bUrX.css","assets/js/GroupChatView-GXbwwUn9.js","assets/css/GroupChatView-Y-gNLuOB.css","assets/js/FilesView-BlJtiYU7.js","assets/css/FilesView-BxmKewi4.css","assets/js/CodingAgentsView-DGweBEVs.js","assets/css/CodingAgentsView-B6-fFTGC.css","assets/js/VersionPreviewView-D4wMkRdU.js","assets/css/VersionPreviewView-DzBnpUGN.css","assets/js/McpManagerView-D46nhm85.js","assets/css/McpManagerView-C2KrWBBX.css","assets/js/AppSidebar-BHfH59vK.js","assets/css/AppSidebar-CtrQDm4b.css","assets/js/DesktopTitleBar-CMvwjOsN.js","assets/css/DesktopTitleBar-BvCBYkG6.css","assets/js/SessionSearchModal-Chmtohb_.js","assets/css/SessionSearchModal-BFIgKL3g.css","assets/js/DefaultCredentialPrompt-DwS2g874.js","assets/css/DefaultCredentialPrompt-CeB_u2Ck.css","assets/js/ProviderConfigurationPrompt-CCXQ_nqY.js","assets/css/ProviderConfigurationPrompt-D0Nhlt3s.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/DesktopPetView-DKYjal2v.js","assets/js/WebPet-PrNf1KLw.js","assets/js/esm-BMJNKLtg.js","assets/js/pets-B_-nzG9F.js","assets/js/profiles-BtECgqqD.js","assets/css/WebPet-ZniPU8ZC.css","assets/css/DesktopPetView-BAjQs-_e.css","assets/js/LoginView-DTdp1xsa.js","assets/js/auth-QlZVq-Mb.js","assets/css/LoginView-CpR9PGJ7.css","assets/js/ChatView-xEwjnXLo.js","assets/js/chat-BHkNRr2D.js","assets/js/coding-agents-6iW0O8m3.js","assets/js/settings-Bzod_9RQ.js","assets/js/download-48rHoTgx.js","assets/js/sessions-wVroPs5k.js","assets/js/completion-notification-BAmmQT0D.js","assets/js/http-error-DzA5OQEf.js","assets/js/ChatPanel-BjHQvYcw.js","assets/js/FileEditor-C_tmKjxI.js","assets/js/defineProperty-BDo2HL0q.js","assets/js/files-hTAbTvaX.js","assets/css/FileEditor-Dzv6IEmz.css","assets/js/SettingsCircuitBadge-2VINGRjT.js","assets/css/SettingsCircuitBadge-B4LW5p8X.css","assets/js/MessageList-KgA7oDKg.js","assets/js/chat-timestamp-sj8rR29x.js","assets/css/chat-timestamp-BvKX8kzu.css","assets/js/skills-CQr0eeFF.js","assets/js/useSttSettings-BAz3MWB_.js","assets/js/ttsHelpers-CUglUfpM.js","assets/js/MessageItem-D91t-tiL.js","assets/js/ProfileAvatar-Du1XMoe0.js","assets/css/ProfileAvatar-xbQ0XuRt.css","assets/js/highlight-CEOB4aIv.js","assets/js/clipboard-DYlTCW_e.js","assets/css/MessageItem-CoV1mBw8.css","assets/js/chat-input-height-C9XyOGPU.js","assets/css/MessageList-qDsS6eW3.css","assets/js/FolderPicker-DEUyd_JU.js","assets/css/FolderPicker-euSPfdRE.css","assets/js/OutlinePanel-DD6XxWAu.js","assets/css/OutlinePanel-7y8QfCkL.css","assets/js/codingAgentProviders-CcodfSH-.js","assets/js/xterm-CdfgdkPC.js","assets/css/xterm-sLQPUA_C.css","assets/css/codingAgentProviders-CZiW6uTD.css","assets/js/FileRenameModal-BlqJ8jgZ.js","assets/css/FileRenameModal-KgrA0qDe.css","assets/js/session-browser-prefs-DnMXaw-N.js","assets/css/ChatPanel-CSMIZBze.css","assets/css/ChatView-DKVpqP44.css","assets/js/HistoryView-Boy6KWxz.js","assets/js/HistoryMessageList--MuOQ24m.js","assets/css/HistoryMessageList-Bx6iJrL5.css","assets/js/PageSidebarFooter-DFaGG_bk.js","assets/css/PageSidebarFooter-LOqARx6a.css","assets/css/HistoryView-DFmF7iOT.css","assets/js/GlobalAgentView-C0NgWvKP.js","assets/css/GlobalAgentView-BZUK_-r4.css","assets/js/JobsView-5Jun6EjM.js","assets/css/JobsView-DMdoaotd.css","assets/js/KanbanView-CQOeRquP.js","assets/css/KanbanView-BrhVIrhX.css","assets/js/WorkflowView-BWG_o4Lg.js","assets/css/WorkflowView-DGnhnPMP.css","assets/js/ModelsView-GVgHBsyL.js","assets/js/models-C1Vzhn4J.js","assets/css/ModelsView-CXg2LHBr.css","assets/js/ProfilesView-C02GlAXO.js","assets/css/ProfilesView-C0oGVgcZ.css","assets/js/LogsView-Dr6gD_kA.js","assets/css/LogsView-Bm8JCMJx.css","assets/js/UsageView-BVdos-wH.js","assets/css/UsageView-IrGSXjVA.css","assets/js/PerformanceView-YI2ecC28.js","assets/css/PerformanceView-Dx4qDKiC.css","assets/js/JourneyView-DAU7N8iU.js","assets/css/JourneyView-CCnVQTO-.css","assets/js/SkillsUsageView-DufR6RDh.js","assets/css/SkillsUsageView-bxgGWmi0.css","assets/js/SkillsView-LzeD-ReE.js","assets/css/SkillsView-C0ok6KlN.css","assets/js/PluginsView-BZHzh6V0.js","assets/css/PluginsView-BVqcilZ3.css","assets/js/PetdexView-Bt4e1TDL.js","assets/css/PetdexView-DRV8mnsS.css","assets/js/MemoryView-2gPDgre_.js","assets/css/MemoryView-BAJShSZN.css","assets/js/SettingsView-C63TriKv.js","assets/js/SettingRow-CZ1bK2YG.js","assets/css/SettingRow-C2eqYJC3.css","assets/css/SettingsView-Bb1u7wdX.css","assets/js/ChannelsView-rBs9Ylzp.js","assets/css/ChannelsView-BXuSnn1q.css","assets/js/TerminalView-j3wokVwS.js","assets/css/TerminalView-C8Ft2Hy7.css","assets/js/DevicesView-CnAjn0fI.js","assets/css/DevicesView-Dz64bUrX.css","assets/js/GroupChatView-Mr8SR7nA.js","assets/css/GroupChatView-Y-gNLuOB.css","assets/js/FilesView-Dy8G_exi.js","assets/css/FilesView-BxmKewi4.css","assets/js/CodingAgentsView-DcVwegsz.js","assets/css/CodingAgentsView-B6-fFTGC.css","assets/js/VersionPreviewView-D46YOdsc.js","assets/css/VersionPreviewView-DzBnpUGN.css","assets/js/McpManagerView-BzGj5qqQ.js","assets/css/McpManagerView-C2KrWBBX.css","assets/js/AppSidebar-B8eJvJ5L.js","assets/css/AppSidebar-CtrQDm4b.css","assets/js/DesktopTitleBar-YzhbwcwX.js","assets/css/DesktopTitleBar-BvCBYkG6.css","assets/js/SessionSearchModal-CRoerPzU.js","assets/css/SessionSearchModal-BFIgKL3g.css","assets/js/DefaultCredentialPrompt-sFeH1odX.js","assets/css/DefaultCredentialPrompt-CeB_u2Ck.css","assets/js/ProviderConfigurationPrompt-DbD_q_xl.js","assets/css/ProviderConfigurationPrompt-D0Nhlt3s.css"])))=>i.map(i=>d[i]);
2
2
  var xj=Object.create,Pd=Object.defineProperty,Cj=Object.getOwnPropertyDescriptor,_j=Object.getOwnPropertyNames,wj=Object.getPrototypeOf,zE=Object.prototype.hasOwnProperty,f=(e,t)=>()=>(e&&(t=e(e=0)),t),phe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Sj=(e,t)=>{let r={};for(var n in e)Pd(r,n,{get:e[n],enumerable:!0});return t||Pd(r,Symbol.toStringTag,{value:"Module"}),r},LE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=_j(t),i=0,a=o.length,l;i<a;i++)l=o[i],!zE.call(e,l)&&l!==r&&Pd(e,l,{get:(s=>t[s]).bind(null,l),enumerable:!(n=Cj(t,l))||n.enumerable});return e},ghe=(e,t,r)=>(r=e!=null?xj(wj(e)):{},LE(t||!e||!e.__esModule?Pd(r,"default",{value:e,enumerable:!0}):r,e)),mhe=e=>zE.call(e,"module.exports")?e["module.exports"]:LE(Pd({},"__esModule",{value:!0}),e);(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 qc(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}function nc(e){if(tt(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Ut(n)?Rj(n):nc(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(Ut(e)||Ft(e))return e}function Rj(e){const t={};return e.replace(WE,"").split(HE).forEach(r=>{if(r){const n=r.split(jE);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Zo(e){let t="";if(Ut(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(Ft(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function kj(e){if(!e)return null;let{class:t,style:r}=e;return t&&!Ut(t)&&(e.class=Zo(t)),r&&(e.style=nc(r)),e}function ME(e){return!!e||e===""}function Pj(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Oi(e[n],t[n]);return r}function Oi(e,t){if(e===t)return!0;let r=S0(e),n=S0(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=Tn(e),n=Tn(t),r||n)return e===t;if(r=tt(e),n=tt(t),r||n)return r&&n?Pj(e,t):!1;if(r=Ft(e),n=Ft(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||!Oi(e[o],t[o]))return!1}}return String(e)===String(t)}function Vv(e,t){return e.findIndex(r=>Oi(r,t))}function Tj(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:(typeof e!="number"||Number.isFinite(e),String(e))}var Tt,cl,jn,mC,oc,cu,Wt,Uv,DS,Mt,tt,dl,fa,S0,DE,ct,Ut,Tn,Ft,Kv,Kg,Na,BE,Td,ud,aa,Ic,BS,kr,NS,hn,Bs,ws,Vr,ul,bC,$d,Ed,HS,fd,NE,HE,jE,WE,Gg,VE,$j,qg,fv,Yg,Zf,yC=f((()=>{Tt={},cl=[],jn=()=>{},mC=()=>!1,oc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cu=e=>e.startsWith("onUpdate:"),Wt=Object.assign,Uv=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},DS=Object.prototype.hasOwnProperty,Mt=(e,t)=>DS.call(e,t),tt=Array.isArray,dl=e=>Na(e)==="[object Map]",fa=e=>Na(e)==="[object Set]",S0=e=>Na(e)==="[object Date]",DE=e=>Na(e)==="[object RegExp]",ct=e=>typeof e=="function",Ut=e=>typeof e=="string",Tn=e=>typeof e=="symbol",Ft=e=>e!==null&&typeof e=="object",Kv=e=>(Ft(e)||ct(e))&&ct(e.then)&&ct(e.catch),Kg=Object.prototype.toString,Na=e=>Kg.call(e),BE=e=>Na(e).slice(8,-1),Td=e=>Na(e)==="[object Object]",ud=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,aa=qc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ic=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},BS=/-\w/g,kr=Ic(e=>e.replace(BS,t=>t.slice(1).toUpperCase())),NS=/\B([A-Z])/g,hn=Ic(e=>e.replace(NS,"-$1").toLowerCase()),Bs=Ic(e=>e.charAt(0).toUpperCase()+e.slice(1)),ws=Ic(e=>e?`on${Bs(e)}`:""),Vr=(e,t)=>!Object.is(e,t),ul=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},bC=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},$d=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ed=e=>{const t=Ut(e)?Number(e):NaN;return isNaN(t)?e:t},fd=()=>HS||(HS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),NE=qc("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"),HE=/;(?![^(]*\))/g,jE=/:([^]+)/,WE=/\/\*[^]*?\*\//g,Gg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",VE=qc(Gg),$j=qc(Gg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),qg=e=>!!(e&&e.__v_isRef===!0),fv=e=>Ut(e)?e:e==null?"":tt(e)||Ft(e)&&(e.toString===Kg||!ct(e.toString))?qg(e)?fv(e.value):JSON.stringify(e,Yg,2):String(e),Yg=(e,t)=>qg(t)?Yg(e,t.value):dl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[Zf(n,i)+" =>"]=o,r),{})}:fa(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Zf(r))}:Tn(t)?Zf(t):Ft(t)&&!tt(t)&&!Td(t)?String(t):t,Zf=(e,t="")=>{var r;return Tn(e)?`Symbol(${(r=e.description)!=null?r:t})`:e}}));function Gv(e){return new Zv(e)}function qv(){return Lr}function xC(e,t=!1){Lr&&Lr.cleanups.push(e)}function jS(e,t=!1){if(e.flags|=8,t){e.next=vd,vd=e;return}e.next=hd,hd=e}function CC(){PC++}function _C(){if(--PC>0)return;if(vd){let t=vd;for(vd=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;hd;){let t=hd;for(hd=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 UE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function KE(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),wC(n),Ej(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function R0(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(GE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function GE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ss)||(e.globalVersion=Ss,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!R0(e))))return;e.flags|=2;const t=e.dep,r=or,n=Zn;or=e,Zn=!0;try{UE(e);const o=e.fn(e._value);(t.version===0||Vr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{or=r,Zn=n,KE(e),e.flags&=-3}}function wC(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)wC(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function Ej(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function Oj(e,t){e.effect instanceof Hs&&(e=e.effect.fn);const r=new Hs(e);t&&Wt(r,t);try{r.run()}catch(o){throw r.stop(),o}const n=r.run.bind(r);return n.effect=r,n}function Aj(e){e.effect.stop()}function Ai(){TC.push(Zn),Zn=!1}function Ii(){const e=TC.pop();Zn=e===void 0?!0:e}function WS(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=or;or=void 0;try{t()}finally{or=r}}}function qE(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)qE(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}function nn(e,t,r){if(Zn&&or){let n=Od.get(e);n||Od.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Yc),o.map=n,o.key=r),o.track()}}function Ri(e,t,r,n,o,i){const a=Od.get(e);if(!a){Ss++;return}const l=s=>{s&&s.trigger()};if(CC(),t==="clear")a.forEach(l);else{const s=tt(e),c=s&&ud(r);if(s&&r==="length"){const d=Number(n);a.forEach((u,g)=>{(g==="length"||g===js||!Tn(g)&&g>=d)&&l(u)})}else switch((r!==void 0||a.has(void 0))&&l(a.get(r)),c&&l(a.get(js)),t){case"add":s?c&&l(a.get("length")):(l(a.get(la)),dl(e)&&l(a.get(hv)));break;case"delete":s||(l(a.get(la)),dl(e)&&l(a.get(hv)));break;case"set":dl(e)&&l(a.get(la));break}}_C()}function Ij(e,t){const r=Od.get(e);return r&&r.get(t)}function as(e){const t=Et(e);return t===e?t:(nn(t,"iterate",js),$n(e)?t:t.map(to))}function Yv(e){return nn(e=Et(e),"iterate",js),e}function Vo(e,t){return Uo(e)?ml(Po(e)?to(t):t):to(t)}function Xg(e,t,r){const n=Yv(e),o=n[t]();return n!==e&&!$n(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=r(i.value)),i}),o}function si(e,t,r,n,o,i){const a=Yv(e),l=a!==e&&!$n(e),s=a[t];if(s!==QE[t]){const u=s.apply(e,i);return l?to(u):u}let c=r;a!==e&&(l?c=function(u,g){return r.call(this,Vo(e,u),g,e)}:r.length>2&&(c=function(u,g){return r.call(this,u,g,e)}));const d=s.call(a,c,n);return l&&o?o(d):d}function VS(e,t,r,n){const o=Yv(e),i=o!==e&&!$n(e);let a=r,l=!1;o!==e&&(i?(l=n.length===0,a=function(c,d,u){return l&&(l=!1,c=Vo(e,c)),r.call(this,c,Vo(e,d),u,e)}):r.length>3&&(a=function(c,d,u){return r.call(this,c,d,u,e)}));const s=o[t](a,...n);return l?Vo(e,s):s}function Zg(e,t,r){const n=Et(e);nn(n,"iterate",js);const o=n[t](...r);return(o===-1||o===!1)&&du(r[0])?(r[0]=Et(r[0]),n[t](...r)):o}function Fc(e,t,r=[]){Ai(),CC();const n=Et(e)[t].apply(e,r);return _C(),Ii(),n}function Fj(e){Tn(e)||(e=String(e));const t=Et(this);return nn(t,"has",e),t.hasOwnProperty(e)}function zj(e,t,r){return function(...n){const o=this.__v_raw,i=Et(o),a=dl(i),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,c=o[e](...n),d=r?vv:t?ml:to;return!t&&nn(i,"iterate",s?hv:la),Wt(Object.create(c),{next(){const{value:u,done:g}=c.next();return g?{value:u,done:g}:{value:l?[d(u[0]),d(u[1])]:d(u),done:g}}})}}function Jf(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lj(e,t){const r={get(n){const o=this.__v_raw,i=Et(o),a=Et(n);e||(Vr(n,a)&&nn(i,"get",n),nn(i,"get",a));const{has:l}=Xc(i),s=t?vv:e?ml:to;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&&nn(Et(n),"iterate",la),n.size},has(n){const o=this.__v_raw,i=Et(o),a=Et(n);return e||(Vr(n,a)&&nn(i,"has",n),nn(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=Et(a),s=t?vv:e?ml:to;return!e&&nn(l,"iterate",la),a.forEach((c,d)=>n.call(o,s(c),s(d),i))}};return Wt(r,e?{add:Jf("add"),set:Jf("set"),delete:Jf("delete"),clear:Jf("clear")}:{add(n){const o=Et(this),i=Xc(o),a=Et(n),l=!t&&!$n(n)&&!Uo(n)?a:n;return i.has.call(o,l)||Vr(n,l)&&i.has.call(o,n)||Vr(a,l)&&i.has.call(o,a)||(o.add(l),Ri(o,"add",l,l)),this},set(n,o){!t&&!$n(o)&&!Uo(o)&&(o=Et(o));const i=Et(this),{has:a,get:l}=Xc(i);let s=a.call(i,n);s||(n=Et(n),s=a.call(i,n));const c=l.call(i,n);return i.set(n,o),s?Vr(o,c)&&Ri(i,"set",n,o,c):Ri(i,"add",n,o),this},delete(n){const o=Et(this),{has:i,get:a}=Xc(o);let l=i.call(o,n);l||(n=Et(n),l=i.call(o,n));const s=a?a.call(o,n):void 0,c=o.delete(n);return l&&Ri(o,"delete",n,void 0,s),c},clear(){const n=Et(this),o=n.size!==0,i=void 0,a=n.clear();return o&&Ri(n,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(n=>{r[n]=zj(n,e,t)}),r}function Qf(e,t){const r=Lj(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(Mt(r,o)&&o in n?r:n,o,i)}function Mj(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jo(e){return Uo(e)?e:Xv(e,!1,e5,o5,k0)}function SC(e){return Xv(e,!1,r5,i5,P0)}function eo(e){return Xv(e,!0,t5,a5,T0)}function Dj(e){return Xv(e,!0,n5,l5,$0)}function Xv(e,t,r,n,o){if(!Ft(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=Mj(BE(e));if(a===0)return e;const l=new Proxy(e,a===2?n:r);return o.set(e,l),l}function Po(e){return Uo(e)?Po(e.__v_raw):!!(e&&e.__v_isReactive)}function Uo(e){return!!(e&&e.__v_isReadonly)}function $n(e){return!!(e&&e.__v_isShallow)}function du(e){return e?!!e.__v_raw:!1}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}function Ns(e){return!Mt(e,"__v_skip")&&Object.isExtensible(e)&&bC(e,"__v_skip",!0),e}function sr(e){return e?e.__v_isRef===!0:!1}function K(e){return YE(e,!1)}function ic(e){return YE(e,!0)}function YE(e,t){return sr(e)?e:new s5(e,t)}function Bj(e){e.dep&&e.dep.trigger()}function ir(e){return sr(e)?e.value:e}function Nj(e){return ct(e)?e():ir(e)}function RC(e){return Po(e)?e:new Proxy(e,c5)}function XE(e){return new d5(e)}function kC(e){const t=tt(e)?new Array(e.length):{};for(const r in e)t[r]=ZE(e,r);return t}function _e(e,t,r){return sr(e)?e:ct(e)?new f5(e):Ft(e)&&arguments.length>1?ZE(e,t,r):K(e)}function ZE(e,t,r){return new u5(e,t,r)}function Hj(e,t,r=!1){let n,o;return ct(e)?n=e:(n=e.get,o=e.set),new h5(n,o,r)}function jj(){return _i}function JE(e,t=!1,r=_i){if(r){let n=Ad.get(r);n||Ad.set(r,n=[]),n.push(e)}}function Wj(e,t,r=Tt){const{immediate:n,deep:o,once:i,scheduler:a,augmentJob:l,call:s}=r,c=_=>o?_:$n(_)||o===!1||o===0?ki(_,1):ki(_);let d,u,g,m,h=!1,p=!1;if(sr(e)?(u=()=>e.value,h=$n(e)):Po(e)?(u=()=>c(e),h=!0):tt(e)?(p=!0,h=e.some(_=>Po(_)||$n(_)),u=()=>e.map(_=>{if(sr(_))return _.value;if(Po(_))return c(_);if(ct(_))return s?s(_,2):_()})):ct(e)?t?u=s?()=>s(e,2):e:u=()=>{if(g){Ai();try{g()}finally{Ii()}}const _=_i;_i=d;try{return s?s(e,3,[m]):e(m)}finally{_i=_}}:u=jn,t&&o){const _=u,S=o===!0?1/0:o;u=()=>ki(_(),S)}const b=qv(),y=()=>{d.stop(),b&&b.active&&Uv(b.effects,d)};if(i&&t){const _=t;t=(...S)=>{_(...S),y()}}let x=p?new Array(e.length).fill(Zc):Zc;const C=_=>{if(!(!(d.flags&1)||!d.dirty&&!_))if(t){const S=d.run();if(o||h||(p?S.some((R,w)=>Vr(R,x[w])):Vr(S,x))){g&&g();const R=_i;_i=d;try{const w=[S,x===Zc?void 0:p&&x[0]===Zc?[]:x,m];x=S,s?s(t,3,w):t(...w)}finally{_i=R}}}else d.run()};return l&&l(C),d=new Hs(u),d.scheduler=a?()=>a(C,!1):C,m=_=>JE(_,!1,d),g=d.onStop=()=>{const _=Ad.get(d);if(_){if(s)s(_,4);else for(const S of _)S();Ad.delete(d)}},t?n?C(!0):x=d.run():a?a(C.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function ki(e,t=1/0,r){if(t<=0||!Ft(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,sr(e))ki(e.value,t,r);else if(tt(e))for(let n=0;n<e.length;n++)ki(e[n],t,r);else if(fa(e)||dl(e))e.forEach(n=>{ki(n,t,r)});else if(Td(e)){for(const n in e)ki(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ki(e[n],t,r)}return e}var Lr,Zv,or,eh,Hs,PC,hd,vd,Zn,TC,Ss,US,Yc,Od,la,hv,js,KS,QE,GS,Jg,Qg,em,tm,e5,t5,r5,n5,vv,Xc,o5,i5,a5,l5,k0,P0,T0,$0,to,ml,s5,c5,d5,u5,f5,h5,v5,p5,Zc,Ad,_i,Vj=f((()=>{yC(),Zv=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&&Lr&&(Lr.active?(this.parent=Lr,this.index=(Lr.scopes||(Lr.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=Lr;try{return Lr=this,e()}finally{Lr=t}}}on(){++this._on===1&&(this.prevScope=Lr,Lr=this)}off(){if(this._on>0&&--this._on===0){if(Lr===this)Lr=this.prevScope;else{let e=Lr;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}}},eh=new WeakSet,Hs=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,Lr&&(Lr.active?Lr.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,eh.has(this)&&(eh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||jS(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,WS(this),UE(this);const e=or,t=Zn;or=this,Zn=!0;try{return this.fn()}finally{KE(this),or=e,Zn=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)wC(e);this.deps=this.depsTail=void 0,WS(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?eh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){R0(this)&&this.run()}get dirty(){return R0(this)}},PC=0,Zn=!0,TC=[],Ss=0,US=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}},Yc=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(!or||!Zn||or===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==or)t=this.activeLink=new US(or,this),or.deps?(t.prevDep=or.depsTail,or.depsTail.nextDep=t,or.depsTail=t):or.deps=or.depsTail=t,qE(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=or.depsTail,t.nextDep=void 0,or.depsTail.nextDep=t,or.depsTail=t,or.deps===t&&(or.deps=r)}return t}trigger(e){this.version++,Ss++,this.notify(e)}notify(e){CC();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{_C()}}},Od=new WeakMap,la=Symbol(""),hv=Symbol(""),js=Symbol(""),KS={__proto__:null,[Symbol.iterator](){return Xg(this,Symbol.iterator,e=>Vo(this,e))},concat(...e){return as(this).concat(...e.map(t=>tt(t)?as(t):t))},entries(){return Xg(this,"entries",e=>(e[1]=Vo(this,e[1]),e))},every(e,t){return si(this,"every",e,t,void 0,arguments)},filter(e,t){return si(this,"filter",e,t,r=>r.map(n=>Vo(this,n)),arguments)},find(e,t){return si(this,"find",e,t,r=>Vo(this,r),arguments)},findIndex(e,t){return si(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return si(this,"findLast",e,t,r=>Vo(this,r),arguments)},findLastIndex(e,t){return si(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return si(this,"forEach",e,t,void 0,arguments)},includes(...e){return Zg(this,"includes",e)},indexOf(...e){return Zg(this,"indexOf",e)},join(e){return as(this).join(e)},lastIndexOf(...e){return Zg(this,"lastIndexOf",e)},map(e,t){return si(this,"map",e,t,void 0,arguments)},pop(){return Fc(this,"pop")},push(...e){return Fc(this,"push",e)},reduce(e,...t){return VS(this,"reduce",e,t)},reduceRight(e,...t){return VS(this,"reduceRight",e,t)},shift(){return Fc(this,"shift")},some(e,t){return si(this,"some",e,t,void 0,arguments)},splice(...e){return Fc(this,"splice",e)},toReversed(){return as(this).toReversed()},toSorted(e){return as(this).toSorted(e)},toSpliced(...e){return as(this).toSpliced(...e)},unshift(...e){return Fc(this,"unshift",e)},values(){return Xg(this,"values",e=>Vo(this,e))}},QE=Array.prototype,GS=qc("__proto__,__v_isRef,__isVue"),Jg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tn)),Qg=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?$0:T0:o?P0:k0).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const i=tt(e);if(!n){let l;if(i&&(l=KS[t]))return l;if(t==="hasOwnProperty")return Fj}const a=Reflect.get(e,t,sr(e)?e:r);if((Tn(t)?Jg.has(t):GS(t))||(n||nn(e,"get",t),o))return a;if(sr(a)){const l=i&&ud(t)?a:a.value;return n&&Ft(l)?eo(l):l}return Ft(a)?n?eo(a):Jo(a):a}},em=class extends Qg{constructor(e=!1){super(!1,e)}set(e,t,r,n){let o=e[t];const i=tt(e)&&ud(t);if(!this._isShallow){const s=Uo(o);if(!$n(r)&&!Uo(r)&&(o=Et(o),r=Et(r)),!i&&sr(o)&&!sr(r))return s||(o.value=r),!0}const a=i?Number(t)<e.length:Mt(e,t),l=Reflect.set(e,t,r,sr(e)?e:n);return e===Et(n)&&(a?Vr(r,o)&&Ri(e,"set",t,r,o):Ri(e,"add",t,r)),l}deleteProperty(e,t){const r=Mt(e,t),n=e[t],o=Reflect.deleteProperty(e,t);return o&&r&&Ri(e,"delete",t,void 0,n),o}has(e,t){const r=Reflect.has(e,t);return(!Tn(t)||!Jg.has(t))&&nn(e,"has",t),r}ownKeys(e){return nn(e,"iterate",tt(e)?"length":la),Reflect.ownKeys(e)}},tm=class extends Qg{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},e5=new em,t5=new tm,r5=new em(!0),n5=new tm(!0),vv=e=>e,Xc=e=>Reflect.getPrototypeOf(e),o5={get:Qf(!1,!1)},i5={get:Qf(!1,!0)},a5={get:Qf(!0,!1)},l5={get:Qf(!0,!0)},k0=new WeakMap,P0=new WeakMap,T0=new WeakMap,$0=new WeakMap,to=e=>Ft(e)?Jo(e):e,ml=e=>Ft(e)?eo(e):e,s5=class{constructor(e,t){this.dep=new Yc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Et(e),this._value=t?e:to(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,r=this.__v_isShallow||$n(e)||Uo(e);e=r?e:Et(e),Vr(e,t)&&(this._rawValue=e,this._value=r?e:to(e),this.dep.trigger())}},c5={get:(e,t,r)=>t==="__v_raw"?e:ir(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return sr(o)&&!sr(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}},d5=class{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Yc,{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)}},u5=class{constructor(e,t,r){this._object=e,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Tn(t)?t:String(t),this._raw=Et(e);let n=!0,o=e;if(!tt(e)||Tn(this._key)||!ud(this._key))do n=!du(o)||$n(o);while(n&&(o=o.__v_raw));this._shallow=n}get value(){let e=this._object[this._key];return this._shallow&&(e=ir(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&sr(this._raw[this._key])){const t=this._object[this._key];if(sr(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return Ij(this._raw,this._key)}},f5=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()}},h5=class{constructor(e,t,r){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Yc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ss-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&or!==this)return jS(this,!0),!0}get value(){const e=this.dep.track();return GE(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},v5={GET:"get",HAS:"has",ITERATE:"iterate"},p5={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Zc={},Ad=new WeakMap,_i=void 0}));function Uj(e){DC.push(e)}function Kj(){DC.pop()}function Gj(e,t){}function ac(e,t,r,n){try{return n?e(...n):e()}catch(o){El(o,t,r)}}function Vn(e,t,r,n){if(ct(e)){const o=ac(e,t,r,n);return o&&Kv(o)&&o.catch(i=>{El(i,t,r)}),o}if(tt(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Vn(e[i],t,r,n));return o}}function El(e,t,r,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Tt;if(t){let l=t.parent;const s=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const d=l.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](e,s,c)===!1)return}l=l.parent}if(i){Ai(),ac(i,null,10,[e,s,c]),Ii();return}}qj(e,r,o,n,a)}function qj(e,t,r,n=!0,o=!1){if(o)throw e;console.error(e)}function zt(e){const t=Bd||BC;return e?t.then(this?e.bind(this):e):t}function Yj(e){let t=_o+1,r=on.length;for(;t<r;){const n=t+r>>>1,o=on[n],i=Vs(o);i<e||i===e&&o.flags&2?t=n+1:r=n}return t}function $C(e){if(!(e.flags&1)){const t=Vs(e),r=on[on.length-1];!r||!(e.flags&2)&&t>=Vs(r)?on.push(e):on.splice(Yj(t),0,e),e.flags|=1,g5()}}function g5(){Bd||(Bd=BC.then(m5))}function Id(e){tt(e)?fl.push(...e):Si&&e.id===-1?Si.splice(tl+1,0,e):e.flags&1||(fl.push(e),e.flags|=1),g5()}function qS(e,t,r=_o+1){for(;r<on.length;r++){const n=on[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;on.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function pv(e){if(fl.length){const t=[...new Set(fl)].sort((r,n)=>Vs(r)-Vs(n));if(fl.length=0,Si){Si.push(...t);return}for(Si=t,tl=0;tl<Si.length;tl++){const r=Si[tl];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Si=null,tl=0}}function m5(e){try{for(_o=0;_o<on.length;_o++){const t=on[_o];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ac(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_o<on.length;_o++){const t=on[_o];t&&(t.flags&=-2)}_o=-1,on.length=0,pv(e),Bd=null,(on.length||fl.length)&&m5(e)}}function b5(e,t){var r,n;fs=e,fs?(fs.enabled=!0,td.forEach(({event:o,args:i})=>fs.emit(o,...i)),td=[]):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=>{b5(o,t)}),setTimeout(()=>{fs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,td=[])},3e3)):td=[]}function Fd(e){const t=Ur;return Ur=e,hu=e&&e.type.__scopeId||null,t}function Xj(e){hu=e}function Zj(){hu=null}function il(e,t=Ur,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&Md(-1);const i=Fd(t);let a;try{a=e(...o)}finally{Fd(i),n._d&&Md(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function ln(e,t){if(Ur===null)return e;const r=Dd(Ur),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,s=Tt]=t[o];i&&(ct(i)&&(i={mounted:i,updated:i}),i.deep&&ki(a),n.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:s}))}return e}function Wo(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&&(Ai(),Vn(s,r,8,[e.el,l,e,t]),Ii())}}function st(e,t){if(Wr){let r=Wr.provides;const n=Wr.parent&&Wr.parent.provides;n===r&&(r=Wr.provides=Object.create(n)),r[e]=t}}function Ne(e,t,r=!1){const n=xr();if(n||sa){let o=sa?sa._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&&ct(t)?t.call(n&&n.proxy):t}}function y5(){return!!(xr()||sa)}function tr(e,t){return uu(e,null,t)}function Jj(e,t){return uu(e,null,{flush:"post"})}function x5(e,t){return uu(e,null,{flush:"sync"})}function nt(e,t,r){return uu(e,t,r)}function uu(e,t,r=Tt){const{immediate:n,deep:o,flush:i,once:a}=r,l=Wt({},r),s=t&&n||!t&&i!=="post";let c;if(ta){if(i==="sync"){const m=NC();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!s){const m=()=>{};return m.stop=jn,m.resume=jn,m.pause=jn,m}}const d=Wr;l.call=(m,h,p)=>Vn(m,d,h,p);let u=!1;i==="post"?l.scheduler=m=>{Rr(m,d&&d.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(m,h)=>{h?m():$C(m)}),l.augmentJob=m=>{t&&(m.flags|=4),u&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const g=Wj(e,t,l);return ta&&(c?c.push(g):s&&g()),g}function Qj(e,t,r){const n=this.proxy,o=Ut(e)?e.includes(".")?C5(n,e):()=>n[e]:e.bind(n,n);let i;ct(t)?i=t:(i=t.handler,r=t);const a=Ol(this),l=uu(o,i.bind(n),r);return a(),l}function C5(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 th(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:c,props:d}=e,u=i===2;if(u&&n(a,t,r),!hi.has(e)&&(!u||Qi(d))&&s&16)for(let g=0;g<c.length;g++)o(c[g],t,r,2);u&&n(l,t,r)}function eW(e,t,r,n,o,i,{o:{nextSibling:a,parentNode:l,querySelector:s,insert:c,createText:d}},u){function g(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 m(b,y){y.anchor=u(a(b),y,l(b),r,n,o,i)}const h=t.target=Bh(t.props,s),p=Qi(t.props);if(h){const b=h._lpa||h.firstChild;t.shapeFlag&16&&(p?(m(e,t),g(h,b),t.targetAnchor||E0(h,t,d,c,l(e)===h?e:null)):(t.anchor=a(e),g(h,b),t.targetAnchor||E0(h,t,d,c),u(b&&a(b),t,h,r,n,o,i))),Jc(t,p)}else p&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}function Jc(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 E0(e,t,r,n,o=null){const i=t.targetStart=r(""),a=t.targetAnchor=r("");return i[HC]=a,e&&(n(i,e,o),n(a,e,o)),a}function EC(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dt(()=>{e.isMounted=!0}),Yt(()=>{e.isUnmounting=!0}),e}function _5(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==ar){t=r;break}}return t}function w5(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 Ws(e,t,r,n,o){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:g,onLeave:m,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:b,onAppear:y,onAfterAppear:x,onAppearCancelled:C}=t,_=String(e.key),S=w5(r,e),R=(E,z)=>{E&&Vn(E,n,9,z)},w=(E,z)=>{const A=z[1];R(E,z),tt(E)?E.every(N=>N.length<=1)&&A():E.length<=1&&A()},T={mode:a,persisted:l,beforeEnter(E){let z=s;if(!r.isMounted)if(i)z=b||s;else return;E[Nn]&&E[Nn](!0);const A=S[_];A&&So(e,A)&&A.el[Nn]&&A.el[Nn](),R(z,[E])},enter(E){if(S[_]===e)return;let z=c,A=d,N=u;if(!r.isMounted)if(i)z=y||c,A=x||d,N=C||u;else return;let L=!1;E[hs]=W=>{L||(L=!0,W?R(N,[E]):R(A,[E]),T.delayedLeave&&T.delayedLeave(),E[hs]=void 0)};const H=E[hs].bind(null,!1);z?w(z,[E,H]):H()},leave(E,z){const A=String(e.key);if(E[hs]&&E[hs](!0),r.isUnmounting)return z();R(g,[E]);let N=!1;E[Nn]=H=>{N||(N=!0,z(),H?R(p,[E]):R(h,[E]),E[Nn]=void 0,S[A]===e&&delete S[A])};const L=E[Nn].bind(null,!1);S[A]=e,m?w(m,[E,L]):L()},clone(E){const z=Ws(E,t,r,n,o);return o&&o(z),z}};return T}function rm(e){if(sc(e))return e=Un(e),e.children=null,e}function YS(e){if(!sc(e))return jC(e.type)&&e.children?_5(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&&ct(r.default))return r.default()}}function Ei(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ei(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 Jv(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===gt?(a.patchFlag&128&&o++,n=n.concat(Jv(a.children,t,l))):(t||a.type!==ar)&&n.push(l!=null?Un(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 ct(e)?Wt({name:e.name},t,{setup:e}):e}function tW(){const e=xr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function OC(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function rW(e){const t=xr(),r=ic(null);if(t){const n=t.refs===Tt?t.refs={}:t.refs;Object.defineProperty(n,e,{enumerable:!0,get:()=>r.value,set:o=>r.value=o})}return r}function XS(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}function Rs(e,t,r,n,o=!1){if(tt(e)){e.forEach((p,b)=>Rs(p,t&&(tt(t)?t[b]:t),r,n,o));return}if(Ko(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Rs(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Dd(n.component):n.el,a=o?null:i,{i:l,r:s}=e,c=t&&t.r,d=l.refs===Tt?l.refs={}:l.refs,u=l.setupState,g=Et(u),m=u===Tt?mC:p=>XS(d,p)?!1:Mt(g,p),h=(p,b)=>!(b&&XS(d,b));if(c!=null&&c!==s){if(ZS(t),Ut(c))d[c]=null,m(c)&&(u[c]=null);else if(sr(c)){const p=t;h(c,p.k)&&(c.value=null),p.k&&(d[p.k]=null)}}if(ct(s))ac(s,l,12,[a,d]);else{const p=Ut(s),b=sr(s);if(p||b){const y=()=>{if(e.f){const x=p?m(s)?u[s]:d[s]:h(s)||!e.k?s.value:d[e.k];if(o)tt(x)&&Uv(x,i);else if(tt(x))x.includes(i)||x.push(i);else if(p)d[s]=[i],m(s)&&(u[s]=d[s]);else{const C=[i];h(s,e.k)&&(s.value=C),e.k&&(d[e.k]=C)}}else p?(d[s]=a,m(s)&&(u[s]=a)):b&&(h(s,e.k)&&(s.value=a),e.k&&(d[e.k]=a))};if(a){const x=()=>{y(),Nd.delete(e)};x.id=-1,Nd.set(e,x),Rr(x,r)}else ZS(e),y()}}}function ZS(e){const t=Nd.get(e);t&&(t.flags|=8,Nd.delete(e))}function nW(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:i,parentNode:a,remove:l,insert:s,createComment:c}}=e,d=(C,_)=>{if(!_.hasChildNodes()){r(null,C,_),pv(),_._vnode=C;return}u(_.firstChild,C,null,null,null),pv(),_._vnode=C},u=(C,_,S,R,w,T=!1)=>{T=T||!!_.dynamicChildren;const E=al(C)&&C.data==="[",z=()=>p(C,_,S,R,w,E),{type:A,ref:N,shapeFlag:L,patchFlag:H}=_;let W=C.nodeType;_.el=C,H===-2&&(T=!1,_.dynamicChildren=null);let Y=null;switch(A){case To:W!==3?_.children===""?(s(_.el=o(""),a(C),C),Y=C):Y=z():(C.data!==_.children&&(Za(),C.data=_.children),Y=i(C));break;case ar:x(C)?(Y=i(C),y(_.el=C.content.firstChild,C,S)):W!==8||E?Y=z():Y=i(C);break;case ca:if(E&&(C=i(C),W=C.nodeType),W===1||W===3){Y=C;const J=!_.children.length;for(let Q=0;Q<_.staticCount;Q++)J&&(_.children+=Y.nodeType===1?Y.outerHTML:Y.data),Q===_.staticCount-1&&(_.anchor=Y),Y=i(Y);return E?i(Y):Y}else z();break;case gt:E?Y=h(C,_,S,R,w,T):Y=z();break;default:if(L&1)(W!==1||_.type.toLowerCase()!==C.tagName.toLowerCase())&&!x(C)?Y=z():Y=g(C,_,S,R,w,T);else if(L&6){_.slotScopeIds=w;const J=a(C);if(E?Y=b(C):al(C)&&C.data==="teleport start"?Y=b(C,C.data,"teleport end"):Y=i(C),t(_,J,null,S,R,rd(J),T),Ko(_)&&!_.type.__asyncResolved){let Q;E?(Q=Nt(gt),Q.anchor=Y?Y.previousSibling:J.lastChild):Q=C.nodeType===3?bl(""):Nt("div"),Q.el=C,_.component.subTree=Q}}else L&64?W!==8?Y=z():Y=_.type.hydrate(C,_,S,R,w,T,e,m):L&128&&(Y=_.type.hydrate(C,_,S,R,rd(a(C)),w,T,e,u))}return N!=null&&Rs(N,null,R,_),Y},g=(C,_,S,R,w,T)=>{T=T||!!_.dynamicChildren;const{type:E,props:z,patchFlag:A,shapeFlag:N,dirs:L,transition:H}=_,W=E==="input"||E==="option";if(W||A!==-1){L&&Wo(_,null,S,"created");let Y=!1;if(x(C)){Y=M5(null,H)&&S&&S.vnode.props&&S.vnode.props.appear;const Q=C.content.firstChild;if(Y){const fe=Q.getAttribute("class");fe&&(Q.$cls=fe),H.beforeEnter(Q)}y(Q,C,S),_.el=C=Q}if(N&16&&!(z&&(z.innerHTML||z.textContent))){let Q=m(C.firstChild,_,C,S,R,w,T);for(Q&&!rh(C,1)&&Za();Q;){const fe=Q;Q=Q.nextSibling,l(fe)}}else if(N&8){let Q=_.children;Q[0]===`
3
3
  `&&(C.tagName==="PRE"||C.tagName==="TEXTAREA")&&(Q=Q.slice(1));const{textContent:fe}=C;fe!==Q&&fe!==Q.replace(/\r\n|\r/g,`
4
4
  `)&&(rh(C,0)||Za(),C.textContent=_.children)}if(z){if(W||!T||A&48){const Q=C.tagName.includes("-");for(const fe in z)(W&&(fe.endsWith("value")||fe==="indeterminate")||oc(fe)&&!aa(fe)||fe[0]==="."||Q&&!aa(fe))&&n(C,fe,null,z[fe],void 0,S)}else if(z.onClick)n(C,"onClick",null,z.onClick,void 0,S);else if(A&4&&Po(z.style))for(const Q in z.style)z.style[Q]}let J;(J=z&&z.onVnodeBeforeMount)&&kn(J,S,_),L&&Wo(_,null,S,"beforeMount"),((J=z&&z.onVnodeMounted)||L||Y)&&H5(()=>{J&&kn(J,S,_),Y&&H.enter(C),L&&Wo(_,null,S,"mounted")},R)}return C.nextSibling},m=(C,_,S,R,w,T,E)=>{E=E||!!_.dynamicChildren;const z=_.children,A=z.length;let N=!1;for(let L=0;L<A;L++){const H=E?z[L]:z[L]=Pn(z[L]),W=H.type===To;C?(W&&!E&&L+1<A&&Pn(z[L+1]).type===To&&(s(o(C.data.slice(H.children.length)),S,i(C)),C.data=H.children),C=u(C,H,R,w,T,E)):W&&!H.children?s(H.el=o(""),S):(N||(N=!0,rh(S,1)||Za()),r(null,H,S,null,R,w,rd(S),T))}return C},h=(C,_,S,R,w,T)=>{const{slotScopeIds:E}=_;E&&(w=w?w.concat(E):E);const z=a(C),A=m(i(C),_,z,S,R,w,T);return A&&al(A)&&A.data==="]"?i(_.anchor=A):(Za(),s(_.anchor=c("]"),z,A),A)},p=(C,_,S,R,w,T)=>{if(rh(C.parentElement,1)||Za(),_.el=null,T){const A=b(C);for(;;){const N=i(C);if(N&&N!==A)l(N);else break}}const E=i(C),z=a(C);return l(C),r(null,_,z,E,S,R,rd(z),w),S&&(S.vnode.el=_.el,rp(S,_.el)),E},b=(C,_="[",S="]")=>{let R=0;for(;C;)if(C=i(C),C&&al(C)&&(C.data===_&&R++,C.data===S)){if(R===0)return i(C);R--}return C},y=(C,_,S)=>{const R=_.parentNode;R&&R.replaceChild(C,_);let w=S;for(;w;)w.vnode.el===_&&(w.vnode.el=w.subTree.el=C),w=w.parent},x=C=>C.nodeType===1&&C.tagName==="TEMPLATE";return[d,u]}function rh(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(L0);)e=e.parentElement;const r=e&&e.getAttribute(L0);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:n.includes(Q5[t])}}function oW(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 iW(e,t){if(al(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(al(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}function Xa(e){ct(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 c=null,d,u=0;const g=()=>(u++,c=null,m()),m=()=>{let h;return c||(h=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((b,y)=>{s(p,()=>b(g()),()=>y(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),d=p,p)))};return Re({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(h,p,b){let y=!1;(p.bu||(p.bu=[])).push(()=>y=!0);const x=()=>{y||b()},C=i?()=>{const _=i(x,S=>iW(h,S));_&&(p.bum||(p.bum=[])).push(_)}:x;d?C():m().then(()=>!p.isUnmounted&&C())},get __asyncResolved(){return d},setup(){const h=Wr;if(OC(h),d)return()=>nh(d,h);const p=C=>{c=null,El(C,h,13,!n)};if(l&&h.suspense||ta)return m().then(C=>()=>nh(C,h)).catch(C=>(p(C),()=>n?Nt(n,{error:C}):null));const b=K(!1),y=K(),x=K(!!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),m().then(()=>{b.value=!0,h.parent&&sc(h.parent.vnode)&&h.parent.update()}).catch(C=>{p(C),y.value=C}),()=>{if(b.value&&d)return nh(d,h);if(y.value&&n)return Nt(n,{error:y.value});if(r&&!x.value)return nh(r,h)}}})}function nh(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=Nt(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}function Qc(e,t){return tt(e)?e.some(r=>Qc(r,t)):Ut(e)?e.split(",").includes(t):DE(e)?(e.lastIndex=0,e.test(t)):!1}function Qv(e,t){S5(e,"a",t)}function fu(e,t){S5(e,"da",t)}function S5(e,t,r=Wr){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ep(t,n,r),r){let o=r.parent;for(;o&&o.parent;)sc(o.parent.vnode)&&aW(n,t,r,o),o=o.parent}}function aW(e,t,r,n){const o=ep(t,e,n,!0);so(()=>{Uv(n[t],o)},r)}function nm(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function oh(e){return e.shapeFlag&128?e.ssContent:e}function ep(e,t,r=Wr,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Ai();const l=Ol(r),s=Vn(t,r,e,a);return l(),Ii(),s});return n?o.unshift(i):o.push(i),i}}function R5(e,t=Wr){ep("ec",e,t)}function k5(e,t){return AC(np,e,!0,t)||e}function lW(e){return Ut(e)?AC(np,e,!1)||e:e||GC}function sW(e){return AC(iO,e)}function AC(e,t,r=!0,n=!1){const o=Ur||Wr;if(o){const i=o.type;if(e===np){const l=F0(i,!1);if(l&&(l===t||l===kr(t)||l===Bs(kr(t))))return i}const a=JS(o[e]||i[e],t)||JS(o.appContext[e],t);return!a&&n?i:a}}function JS(e,t){return e&&(e[t]||e[kr(t)]||e[Bs(kr(t))])}function cW(e,t,r,n){let o;const i=r&&r[n],a=tt(e);if(a||Ut(e)){const l=a&&Po(e);let s=!1,c=!1;l&&(s=!$n(e),c=Uo(e),e=Yv(e)),o=new Array(e.length);for(let d=0,u=e.length;d<u;d++)o[d]=t(s?c?ml(to(e[d])):to(e[d]):e[d],d,void 0,i&&i[d])}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(Ft(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,c=l.length;s<c;s++){const d=l[s];o[s]=t(e[d],d,s,i&&i[s])}}else o=[];return r&&(r[n]=o),o}function dW(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 IC(e,t,r={},n,o){if(Ur.ce||Ur.parent&&Ko(Ur.parent)&&Ur.parent.ce){const c=Object.keys(r).length>0;return t!=="default"&&(r.name=t),jr(),Yn(gt,null,[Nt("slot",r,n&&n())],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),jr();const a=i&&FC(i(r)),l=r.key||a&&a.key,s=Yn(gt,{key:(l&&!Tn(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 FC(e){return e.some(t=>Qo(t)?!(t.type===ar||t.type===gt&&!FC(t.children)):!0)?e:null}function uW(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:ws(n)]=e[n];return r}function fW(){return null}function hW(){return null}function vW(e){}function pW(e){}function gW(){return null}function mW(){}function bW(e,t){return null}function yW(){return P5("useSlots").slots}function xW(){return P5("useAttrs").attrs}function P5(e){const t=xr();return t.setupContext||(t.setupContext=Y5(t))}function zd(e){return tt(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function CW(e,t){const r=zd(e);for(const n in t){if(n.startsWith("__skip"))continue;let o=r[n];o?tt(o)||ct(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 _W(e,t){return!e||!t?e||t:tt(e)&&tt(t)?e.concat(t):Wt({},zd(e),zd(t))}function wW(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function SW(e){const t=xr(),r=ta;let n=e();Us(),r&&Es(!1);const o=()=>{Ol(t),r&&Es(!0)},i=()=>{xr()!==t&&t.scope.off(),Us(),r&&Es(!1)};return Kv(n)&&(n=n.catch(a=>{throw o(),Promise.resolve().then(()=>Promise.resolve().then(i)),a})),[n,()=>{o(),Promise.resolve().then(i)}]}function RW(e){const t=zC(e),r=e.proxy,n=e.ctx;yv=!1,t.beforeCreate&&QS(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:l,provide:s,inject:c,created:d,beforeMount:u,mounted:g,beforeUpdate:m,updated:h,activated:p,deactivated:b,beforeDestroy:y,beforeUnmount:x,destroyed:C,unmounted:_,render:S,renderTracked:R,renderTriggered:w,errorCaptured:T,serverPrefetch:E,expose:z,inheritAttrs:A,components:N,directives:L,filters:H}=t;if(c&&kW(c,n,null),a)for(const J in a){const Q=a[J];ct(Q)&&(n[J]=Q.bind(r))}if(o){const J=o.call(r,r);Ft(J)&&(e.data=Jo(J))}if(yv=!0,i)for(const J in i){const Q=i[J],fe=F({get:ct(Q)?Q.bind(r,r):ct(Q.get)?Q.get.bind(r,r):jn,set:!ct(Q)&&ct(Q.set)?Q.set.bind(r):jn});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>fe.value,set:Se=>fe.value=Se})}if(l)for(const J in l)T5(l[J],n,r,J);if(s){const J=ct(s)?s.call(r):s;Reflect.ownKeys(J).forEach(Q=>{st(Q,J[Q])})}d&&QS(d,e,"c");function Y(J,Q){tt(Q)?Q.forEach(fe=>J(fe.bind(r))):Q&&J(Q.bind(r))}if(Y(ri,u),Y(Dt,g),Y(vu,m),Y(Hd,h),Y(Qv,p),Y(fu,b),Y(R5,T),Y(KC,R),Y(UC,w),Y(Yt,x),Y(so,_),Y(VC,E),tt(z))if(z.length){const J=e.exposed||(e.exposed={});z.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>r[Q],set:fe=>r[Q]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===jn&&(e.render=S),A!=null&&(e.inheritAttrs=A),N&&(e.components=N),L&&(e.directives=L),E&&OC(e)}function kW(e,t,r=jn){tt(e)&&(e=O0(e));for(const n in e){const o=e[n];let i;Ft(o)?"default"in o?i=Ne(o.from||n,o.default,!0):i=Ne(o.from||n):i=Ne(o),sr(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function QS(e,t,r){Vn(tt(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function T5(e,t,r,n){let o=n.includes(".")?C5(r,n):()=>r[n];if(Ut(e)){const i=t[e];ct(i)&&nt(o,i)}else if(ct(e))nt(o,e.bind(r));else if(Ft(e))if(tt(e))e.forEach(i=>T5(i,t,r,n));else{const i=ct(e.handler)?e.handler.bind(r):t[e.handler];ct(i)&&nt(o,i,e)}}function zC(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(c=>gv(s,c,a,!0)),gv(s,t,a)),Ft(t)&&i.set(t,s),s}function gv(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&gv(e,i,r,!0),o&&o.forEach(a=>gv(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const l=lO[a]||r&&r[a];e[a]=l?l(e[a],t[a]):t[a]}return e}function eR(e,t){return t?e?function(){return Wt(ct(e)?e.call(this,this):e,ct(t)?t.call(this,this):t)}:t:e}function PW(e,t){return ed(O0(e),O0(t))}function O0(e){if(tt(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function fn(e,t){return e?[...new Set([].concat(e,t))]:t}function ed(e,t){return e?Wt(Object.create(null),e,t):t}function tR(e,t){return e?tt(e)&&tt(t)?[...new Set([...e,...t])]:Wt(Object.create(null),zd(e),zd(t??{})):t}function TW(e,t){if(!e)return t;if(!t)return e;const r=Wt(Object.create(null),e);for(const n in t)r[n]=fn(e[n],t[n]);return r}function $5(){return{app:null,config:{isNativeTag:mC,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 $W(e,t){return function(n,o=null){ct(n)||(n=Wt({},n)),o!=null&&!Ft(o)&&(o=null);const i=$5(),a=new WeakSet,l=[];let s=!1;const c=i.app={_uid:sO++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:ZC,get config(){return i.config},set config(d){},use(d,...u){return a.has(d)||(d&&ct(d.install)?(a.add(d),d.install(c,...u)):ct(d)&&(a.add(d),d(c,...u))),c},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),c},component(d,u){return u?(i.components[d]=u,c):i.components[d]},directive(d,u){return u?(i.directives[d]=u,c):i.directives[d]},mount(d,u,g){if(!s){const m=c._ceVNode||Nt(n,o);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),u&&t?t(m,d):e(m,d,g),s=!0,c._container=d,d.__vue_app__=c,Dd(m.component)}},onUnmount(d){l.push(d)},unmount(){s&&(Vn(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,u){return i.provides[d]=u,c},runWithContext(d){const u=sa;sa=c;try{return d()}finally{sa=u}}};return c}}function EW(e,t,r=Tt){const n=xr(),o=kr(t),i=hn(t),a=qC(e,o),l=XE((s,c)=>{let d,u=Tt,g;return x5(()=>{const m=e[o];Vr(d,m)&&(d=m,c())}),{get(){return s(),r.get?r.get(d):d},set(m){const h=r.set?r.set(m):m;if(!Vr(h,d)&&!(u!==Tt&&Vr(m,u)))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)||(d=m,c()),n.emit(`update:${t}`,h),Vr(m,h)&&Vr(m,u)&&!Vr(h,g)&&c(),u=m,g=h}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?a||Tt:l,done:!1}:{done:!0}}}},l}function OW(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Tt;let o=r;const i=t.startsWith("update:"),a=i&&qC(n,t.slice(7));a&&(a.trim&&(o=r.map(d=>Ut(d)?d.trim():d)),a.number&&(o=r.map($d)));let l,s=n[l=ws(t)]||n[l=ws(kr(t))];!s&&i&&(s=n[l=ws(hn(t))]),s&&Vn(s,e,6,o);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Vn(c,e,6,o)}}function E5(e,t,r=!1){const n=r?cO:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let a={},l=!1;if(!ct(e)){const s=c=>{const d=E5(c,t,!0);d&&(l=!0,Wt(a,d))};!r&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Ft(e)&&n.set(e,null),null):(tt(i)?i.forEach(s=>a[s]=null):Wt(a,i),Ft(e)&&n.set(e,a),a)}function tp(e,t){return!e||!oc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,hn(t))||Mt(e,t))}function Dh(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:s,render:c,renderCache:d,props:u,data:g,setupState:m,ctx:h,inheritAttrs:p}=e,b=Fd(e);let y,x;try{if(r.shapeFlag&4){const _=o||n,S=_;y=Pn(c.call(S,_,d,u,m,g,h)),x=l}else{const _=t;y=Pn(_.length>1?_(u,{attrs:l,slots:a,emit:s}):_(u,null)),x=t.props?l:dO(l)}}catch(_){$s.length=0,El(_,e,1),y=Nt(ar)}let C=y;if(x&&p!==!1){const _=Object.keys(x),{shapeFlag:S}=C;_.length&&S&7&&(i&&_.some(cu)&&(x=uO(x,i)),C=Un(C,x,!1,!0))}return r.dirs&&(C=Un(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(r.dirs):r.dirs),r.transition&&Ei(C,r.transition),y=C,Fd(b),y}function AW(e,t=!0){let r;for(let n=0;n<e.length;n++){const o=e[n];if(Qo(o)){if(o.type!==ar||o.children==="v-if"){if(r)return;r=o}}else return}return r}function IW(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:l,patchFlag:s}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&s>=0){if(s&1024)return!0;if(s&16)return n?rR(n,a,c):!!a;if(s&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const g=d[u];if(O5(a,n,g)&&!tp(c,g))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?rR(n,a,c):!0:!!a;return!1}function rR(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(O5(t,e,i)&&!tp(r,i))return!0}return!1}function O5(e,t,r){const n=e[r],o=t[r];return r==="style"&&Ft(n)&&Ft(o)?!Oi(n,o):n!==o}function rp({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 FW(e,t,r,n=!1){const o={},i=M0();e.propsDefaults=Object.create(null),A5(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);r?e.props=n?o:SC(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function zW(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,l=Et(o),[s]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let g=d[u];if(tp(e.emitsOptions,g))continue;const m=t[g];if(s)if(Mt(i,g))m!==i[g]&&(i[g]=m,c=!0);else{const h=kr(g);o[h]=A0(s,l,h,m,e,!1)}else m!==i[g]&&(i[g]=m,c=!0)}}}else{A5(e,t,o,i)&&(c=!0);let d;for(const u in l)(!t||!Mt(t,u)&&((d=hn(u))===u||!Mt(t,d)))&&(s?r&&(r[u]!==void 0||r[d]!==void 0)&&(o[u]=A0(s,l,u,void 0,e,!0)):delete o[u]);if(i!==l)for(const u in i)(!t||!Mt(t,u))&&(delete i[u],c=!0)}c&&Ri(e.attrs,"set","")}function A5(e,t,r,n){const[o,i]=e.propsOptions;let a=!1,l;if(t)for(let s in t){if(aa(s))continue;const c=t[s];let d;o&&Mt(o,d=kr(s))?!i||!i.includes(d)?r[d]=c:(l||(l={}))[d]=c:tp(e.emitsOptions,s)||(!(s in n)||c!==n[s])&&(n[s]=c,a=!0)}if(i){const s=Et(r),c=l||Tt;for(let d=0;d<i.length;d++){const u=i[d];r[u]=A0(o,s,u,c[u],e,!Mt(c,u))}}return a}function A0(e,t,r,n,o,i){const a=e[r];if(a!=null){const l=Mt(a,"default");if(l&&n===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&ct(s)){const{propsDefaults:c}=o;if(r in c)n=c[r];else{const d=Ol(o);n=c[r]=s.call(null,t),d()}}else n=s;o.ce&&o.ce._setProp(r,n)}a[0]&&(i&&!l?n=!1:a[1]&&(n===""||n===hn(r))&&(n=!0))}return n}function I5(e,t,r=!1){const n=r?fO:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,a={},l=[];let s=!1;if(!ct(e)){const d=u=>{s=!0;const[g,m]=I5(u,t,!0);Wt(a,g),m&&l.push(...m)};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!s)return Ft(e)&&n.set(e,cl),cl;if(tt(i))for(let d=0;d<i.length;d++){const u=kr(i[d]);nR(u)&&(a[u]=Tt)}else if(i)for(const d in i){const u=kr(d);if(nR(u)){const g=i[d],m=a[u]=tt(g)||ct(g)?{type:g}:Wt({},g),h=m.type;let p=!1,b=!0;if(tt(h))for(let y=0;y<h.length;++y){const x=h[y],C=ct(x)&&x.name;if(C==="Boolean"){p=!0;break}else C==="String"&&(b=!1)}else p=ct(h)&&h.name==="Boolean";m[0]=p,m[1]=b,(p||Mt(m,"default"))&&l.push(u)}}const c=[a,l];return Ft(e)&&n.set(e,c),c}function nR(e){return e[0]!=="$"&&!aa(e)}function F5(e){return L5(e)}function z5(e){return L5(e,nW)}function L5(e,t){const r=fd();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:a,createText:l,createComment:s,setText:c,setElementText:d,parentNode:u,nextSibling:g,setScopeId:m=jn,insertStaticContent:h}=e,p=(I,U,ie,Ce=null,M=null,$=null,O=void 0,Z=null,ne=!!U.dynamicChildren)=>{if(I===U)return;I&&!So(I,U)&&(Ce=le(I),ye(I,M,$,!0),I=null),U.patchFlag===-2&&(ne=!1,U.dynamicChildren=null);const{type:X,ref:V,shapeFlag:P}=U;switch(X){case To:b(I,U,ie,Ce);break;case ar:y(I,U,ie,Ce);break;case ca:I==null&&x(U,ie,Ce,O);break;case gt:N(I,U,ie,Ce,M,$,O,Z,ne);break;default:P&1?S(I,U,ie,Ce,M,$,O,Z,ne):P&6?L(I,U,ie,Ce,M,$,O,Z,ne):(P&64||P&128)&&X.process(I,U,ie,Ce,M,$,O,Z,ne,ae)}V!=null&&M?Rs(V,I&&I.ref,$,U||I,!U):V==null&&I&&I.ref!=null&&Rs(I.ref,null,$,I,!0)},b=(I,U,ie,Ce)=>{if(I==null)n(U.el=l(U.children),ie,Ce);else{const M=U.el=I.el;U.children!==I.children&&c(M,U.children)}},y=(I,U,ie,Ce)=>{I==null?n(U.el=s(U.children||""),ie,Ce):U.el=I.el},x=(I,U,ie,Ce)=>{[I.el,I.anchor]=h(I.children,U,ie,Ce,I.el,I.anchor)},C=({el:I,anchor:U},ie,Ce)=>{let M;for(;I&&I!==U;)M=g(I),n(I,ie,Ce),I=M;n(U,ie,Ce)},_=({el:I,anchor:U})=>{let ie;for(;I&&I!==U;)ie=g(I),o(I),I=ie;o(U)},S=(I,U,ie,Ce,M,$,O,Z,ne)=>{if(U.type==="svg"?O="svg":U.type==="math"&&(O="mathml"),I==null)R(U,ie,Ce,M,$,O,Z,ne);else{const X=I.el&&I.el._isVueCE?I.el:null;try{X&&X._beginPatch(),E(I,U,M,$,O,Z,ne)}finally{X&&X._endPatch()}}},R=(I,U,ie,Ce,M,$,O,Z)=>{let ne,X;const{props:V,shapeFlag:P,transition:D,dirs:pe}=I;if(ne=I.el=a(I.type,$,V&&V.is,V),P&8?d(ne,I.children):P&16&&T(I.children,ne,null,Ce,M,om(I,$),O,Z),pe&&Wo(I,null,Ce,"created"),w(ne,I,I.scopeId,O,Ce),V){for(const Ke in V)Ke!=="value"&&!aa(Ke)&&i(ne,Ke,null,V[Ke],$,Ce);"value"in V&&i(ne,"value",null,V.value,$),(X=V.onVnodeBeforeMount)&&kn(X,Ce,I)}pe&&Wo(I,null,Ce,"beforeMount");const Oe=M5(M,D);Oe&&D.beforeEnter(ne),n(ne,U,ie),((X=V&&V.onVnodeMounted)||Oe||pe)&&Rr(()=>{X&&kn(X,Ce,I),Oe&&D.enter(ne),pe&&Wo(I,null,Ce,"mounted")},M)},w=(I,U,ie,Ce,M)=>{if(ie&&m(I,ie),Ce)for(let $=0;$<Ce.length;$++)m(I,Ce[$]);if(M){let $=M.subTree;if(U===$||pd($.type)&&($.ssContent===U||$.ssFallback===U)){const O=M.vnode;w(I,O,O.scopeId,O.slotScopeIds,M.parent)}}},T=(I,U,ie,Ce,M,$,O,Z,ne=0)=>{for(let X=ne;X<I.length;X++)p(null,I[X]=Z?wi(I[X]):Pn(I[X]),U,ie,Ce,M,$,O,Z)},E=(I,U,ie,Ce,M,$,O)=>{const Z=U.el=I.el;let{patchFlag:ne,dynamicChildren:X,dirs:V}=U;ne|=I.patchFlag&16;const P=I.props||Tt,D=U.props||Tt;let pe;if(ie&&Ha(ie,!1),(pe=D.onVnodeBeforeUpdate)&&kn(pe,ie,U,I),V&&Wo(U,I,ie,"beforeUpdate"),ie&&Ha(ie,!0),(P.innerHTML&&D.innerHTML==null||P.textContent&&D.textContent==null)&&d(Z,""),X?z(I.dynamicChildren,X,Z,ie,Ce,om(U,M),$):O||Q(I,U,Z,null,ie,Ce,om(U,M),$,!1),ne>0){if(ne&16)A(Z,P,D,ie,M);else if(ne&2&&P.class!==D.class&&i(Z,"class",null,D.class,M),ne&4&&i(Z,"style",P.style,D.style,M),ne&8){const Oe=U.dynamicProps;for(let Ke=0;Ke<Oe.length;Ke++){const We=Oe[Ke],qe=P[We],et=D[We];(et!==qe||We==="value")&&i(Z,We,qe,et,M,ie)}}ne&1&&I.children!==U.children&&d(Z,U.children)}else!O&&X==null&&A(Z,P,D,ie,M);((pe=D.onVnodeUpdated)||V)&&Rr(()=>{pe&&kn(pe,ie,U,I),V&&Wo(U,I,ie,"updated")},Ce)},z=(I,U,ie,Ce,M,$,O)=>{for(let Z=0;Z<U.length;Z++){const ne=I[Z],X=U[Z];p(ne,X,ne.el&&(ne.type===gt||!So(ne,X)||ne.shapeFlag&198)?u(ne.el):ie,null,Ce,M,$,O,!0)}},A=(I,U,ie,Ce,M)=>{if(U!==ie){if(U!==Tt)for(const $ in U)!aa($)&&!($ in ie)&&i(I,$,U[$],null,M,Ce);for(const $ in ie){if(aa($))continue;const O=ie[$],Z=U[$];O!==Z&&$!=="value"&&i(I,$,Z,O,M,Ce)}"value"in ie&&i(I,"value",U.value,ie.value,M)}},N=(I,U,ie,Ce,M,$,O,Z,ne)=>{const X=U.el=I?I.el:l(""),V=U.anchor=I?I.anchor:l("");let{patchFlag:P,dynamicChildren:D,slotScopeIds:pe}=U;pe&&(Z=Z?Z.concat(pe):pe),I==null?(n(X,ie,Ce),n(V,ie,Ce),T(U.children||[],ie,V,M,$,O,Z,ne)):P>0&&P&64&&D&&I.dynamicChildren&&I.dynamicChildren.length===D.length?(z(I.dynamicChildren,D,ie,M,$,O,Z),(U.key!=null||M&&U===M.subTree)&&LC(I,U,!0)):Q(I,U,ie,V,M,$,O,Z,ne)},L=(I,U,ie,Ce,M,$,O,Z,ne)=>{U.slotScopeIds=Z,I==null?U.shapeFlag&512?M.ctx.activate(U,ie,Ce,O,ne):H(U,ie,Ce,M,$,O,ne):W(I,U,ne)},H=(I,U,ie,Ce,M,$,O)=>{const Z=I.component=U5(I,Ce,M);if(sc(I)&&(Z.ctx.renderer=ae),G5(Z,!1,O),Z.asyncDep){if(M&&M.registerDep(Z,Y,O),!I.el){const ne=Z.subTree=Nt(ar);y(null,ne,U,ie),I.placeholder=ne.el}}else Y(Z,I,U,ie,M,$,O)},W=(I,U,ie)=>{const Ce=U.component=I.component;if(IW(I,U,ie))if(Ce.asyncDep&&!Ce.asyncResolved){J(Ce,U,ie);return}else Ce.next=U,Ce.update();else U.el=I.el,Ce.vnode=U},Y=(I,U,ie,Ce,M,$,O)=>{const Z=()=>{if(I.isMounted){let{next:P,bu:D,u:pe,parent:Oe,vnode:Ke}=I;{const wt=D5(I);if(wt){P&&(P.el=Ke.el,J(I,P,O)),wt.asyncDep.then(()=>{Rr(()=>{I.isUnmounted||X()},M)});return}}let We=P,qe;Ha(I,!1),P?(P.el=Ke.el,J(I,P,O)):P=Ke,D&&ul(D),(qe=P.props&&P.props.onVnodeBeforeUpdate)&&kn(qe,Oe,P,Ke),Ha(I,!0);const et=Dh(I),mt=I.subTree;I.subTree=et,p(mt,et,u(mt.el),le(mt),I,M,$),P.el=et.el,We===null&&rp(I,et.el),pe&&Rr(pe,M),(qe=P.props&&P.props.onVnodeUpdated)&&Rr(()=>kn(qe,Oe,P,Ke),M)}else{let P;const{el:D,props:pe}=U,{bm:Oe,m:Ke,parent:We,root:qe,type:et}=I,mt=Ko(U);if(Ha(I,!1),Oe&&ul(Oe),!mt&&(P=pe&&pe.onVnodeBeforeMount)&&kn(P,We,U),Ha(I,!0),D&&Le){const wt=()=>{I.subTree=Dh(I),Le(D,I.subTree,I,M,null)};mt&&et.__asyncHydrate?et.__asyncHydrate(D,I,wt):wt()}else{qe.ce&&qe.ce._hasShadowRoot()&&qe.ce._injectChildStyle(et,I.parent?I.parent.type:void 0);const wt=I.subTree=Dh(I);p(null,wt,ie,Ce,I,M,$),U.el=wt.el}if(Ke&&Rr(Ke,M),!mt&&(P=pe&&pe.onVnodeMounted)){const wt=U;Rr(()=>kn(P,We,wt),M)}(U.shapeFlag&256||We&&Ko(We.vnode)&&We.vnode.shapeFlag&256)&&I.a&&Rr(I.a,M),I.isMounted=!0,U=ie=Ce=null}};I.scope.on();const ne=I.effect=new Hs(Z);I.scope.off();const X=I.update=ne.run.bind(ne),V=I.job=ne.runIfDirty.bind(ne);V.i=I,V.id=I.uid,ne.scheduler=()=>$C(V),Ha(I,!0),X()},J=(I,U,ie)=>{U.component=I;const Ce=I.vnode.props;I.vnode=U,I.next=null,zW(I,U.props,Ce,ie),vO(I,U.children,ie),Ai(),qS(I),Ii()},Q=(I,U,ie,Ce,M,$,O,Z,ne=!1)=>{const X=I&&I.children,V=I?I.shapeFlag:0,P=U.children,{patchFlag:D,shapeFlag:pe}=U;if(D>0){if(D&128){Se(X,P,ie,Ce,M,$,O,Z,ne);return}else if(D&256){fe(X,P,ie,Ce,M,$,O,Z,ne);return}}pe&8?(V&16&&Pe(X,M,$),P!==X&&d(ie,P)):V&16?pe&16?Se(X,P,ie,Ce,M,$,O,Z,ne):Pe(X,M,$,!0):(V&8&&d(ie,""),pe&16&&T(P,ie,Ce,M,$,O,Z,ne))},fe=(I,U,ie,Ce,M,$,O,Z,ne)=>{I=I||cl,U=U||cl;const X=I.length,V=U.length,P=Math.min(X,V);let D;for(D=0;D<P;D++){const pe=U[D]=ne?wi(U[D]):Pn(U[D]);p(I[D],pe,ie,null,M,$,O,Z,ne)}X>V?Pe(I,M,$,!0,!1,P):T(U,ie,Ce,M,$,O,Z,ne,P)},Se=(I,U,ie,Ce,M,$,O,Z,ne)=>{let X=0;const V=U.length;let P=I.length-1,D=V-1;for(;X<=P&&X<=D;){const pe=I[X],Oe=U[X]=ne?wi(U[X]):Pn(U[X]);if(So(pe,Oe))p(pe,Oe,ie,null,M,$,O,Z,ne);else break;X++}for(;X<=P&&X<=D;){const pe=I[P],Oe=U[D]=ne?wi(U[D]):Pn(U[D]);if(So(pe,Oe))p(pe,Oe,ie,null,M,$,O,Z,ne);else break;P--,D--}if(X>P){if(X<=D){const pe=D+1,Oe=pe<V?U[pe].el:Ce;for(;X<=D;)p(null,U[X]=ne?wi(U[X]):Pn(U[X]),ie,Oe,M,$,O,Z,ne),X++}}else if(X>D)for(;X<=P;)ye(I[X],M,$,!0),X++;else{const pe=X,Oe=X,Ke=new Map;for(X=Oe;X<=D;X++){const te=U[X]=ne?wi(U[X]):Pn(U[X]);te.key!=null&&Ke.set(te.key,X)}let We,qe=0;const et=D-Oe+1;let mt=!1,wt=0;const bt=new Array(et);for(X=0;X<et;X++)bt[X]=0;for(X=pe;X<=P;X++){const te=I[X];if(qe>=et){ye(te,M,$,!0);continue}let he;if(te.key!=null)he=Ke.get(te.key);else for(We=Oe;We<=D;We++)if(bt[We-Oe]===0&&So(te,U[We])){he=We;break}he===void 0?ye(te,M,$,!0):(bt[he-Oe]=X+1,he>=wt?wt=he:mt=!0,p(te,U[he],ie,null,M,$,O,Z,ne),qe++)}const ge=mt?LW(bt):cl;for(We=ge.length-1,X=et-1;X>=0;X--){const te=Oe+X,he=U[te],Ae=U[te+1],Be=te+1<V?Ae.el||B5(Ae):Ce;bt[X]===0?p(null,he,ie,Be,M,$,O,Z,ne):mt&&(We<0||X!==ge[We]?se(he,ie,Be,2):We--)}}},se=(I,U,ie,Ce,M=null)=>{const{el:$,type:O,transition:Z,children:ne,shapeFlag:X}=I;if(X&6){se(I.component.subTree,U,ie,Ce);return}if(X&128){I.suspense.move(U,ie,Ce);return}if(X&64){O.move(I,U,ie,ae);return}if(O===gt){n($,U,ie);for(let V=0;V<ne.length;V++)se(ne[V],U,ie,Ce);n(I.anchor,U,ie);return}if(O===ca){C(I,U,ie);return}if(Ce!==2&&X&1&&Z)if(Ce===0)Z.persisted&&!$[Nn]?n($,U,ie):(Z.beforeEnter($),n($,U,ie),Rr(()=>Z.enter($),M));else{const{leave:V,delayLeave:P,afterLeave:D}=Z,pe=()=>{I.ctx.isUnmounted?o($):n($,U,ie)},Oe=()=>{const Ke=$._isLeaving||!!$[Nn];$._isLeaving&&$[Nn](!0),Z.persisted&&!Ke?pe():V($,()=>{pe(),D&&D()})};P?P($,pe,Oe):Oe()}else n($,U,ie)},ye=(I,U,ie,Ce=!1,M=!1)=>{const{type:$,props:O,ref:Z,children:ne,dynamicChildren:X,shapeFlag:V,patchFlag:P,dirs:D,cacheIndex:pe,memo:Oe}=I;if(P===-2&&(M=!1),Z!=null&&(Ai(),Rs(Z,null,ie,I,!0),Ii()),pe!=null&&(U.renderCache[pe]=void 0),V&256){U.ctx.deactivate(I);return}const Ke=V&1&&D,We=!Ko(I);let qe;if(We&&(qe=O&&O.onVnodeBeforeUnmount)&&kn(qe,U,I),V&6)ue(I.component,ie,Ce);else{if(V&128){I.suspense.unmount(ie,Ce);return}Ke&&Wo(I,null,U,"beforeUnmount"),V&64?I.type.remove(I,U,ie,ae,Ce):X&&!X.hasOnce&&($!==gt||P>0&&P&64)?Pe(X,U,ie,!1,!0):($===gt&&P&384||!M&&V&16)&&Pe(ne,U,ie),Ce&&de(I)}const et=Oe!=null&&pe==null;(We&&(qe=O&&O.onVnodeUnmounted)||Ke||et)&&Rr(()=>{qe&&kn(qe,U,I),Ke&&Wo(I,null,U,"unmounted"),et&&(I.el=null)},ie)},de=I=>{const{type:U,el:ie,anchor:Ce,transition:M}=I;if(U===gt){oe(ie,Ce);return}if(U===ca){_(I);return}const $=()=>{o(ie),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(I.shapeFlag&1&&M&&!M.persisted){const{leave:O,delayLeave:Z}=M,ne=()=>O(ie,$);Z?Z(I.el,$,ne):ne()}else $()},oe=(I,U)=>{let ie;for(;I!==U;)ie=g(I),o(I),I=ie;o(U)},ue=(I,U,ie)=>{const{bum:Ce,scope:M,job:$,subTree:O,um:Z,m:ne,a:X}=I;mv(ne),mv(X),Ce&&ul(Ce),M.stop(),$&&($.flags|=8,ye(O,I,U,ie)),Z&&Rr(Z,U),Rr(()=>{I.isUnmounted=!0},U)},Pe=(I,U,ie,Ce=!1,M=!1,$=0)=>{for(let O=$;O<I.length;O++)ye(I[O],U,ie,Ce,M)},le=I=>{if(I.shapeFlag&6)return le(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const U=g(I.anchor||I.el),ie=U&&U[HC];return ie?g(ie):U};let be=!1;const re=(I,U,ie)=>{let Ce;I==null?U._vnode&&(ye(U._vnode,null,null,!0),Ce=U._vnode.component):p(U._vnode||null,I,U,null,null,null,ie),U._vnode=I,be||(be=!0,qS(Ce),pv(),be=!1)},ae={p,um:ye,m:se,r:de,mt:H,mc:T,pc:Q,pbc:z,n:le,o:e};let ke,Le;return t&&([ke,Le]=t(ae)),{render:re,hydrate:ke,createApp:$W(re,ke)}}function om({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 Ha({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function M5(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function LC(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]=wi(o[i]),l.el=a.el),!r&&l.patchFlag!==-2&&LC(a,l)),l.type===To&&(l.patchFlag===-1&&(l=o[i]=wi(l)),l.el=a.el),l.type===ar&&!l.el&&(l.el=a.el)}}function LW(e){const t=e.slice(),r=[0];let n,o,i,a,l;const s=e.length;for(n=0;n<s;n++){const c=e[n];if(c!==0){if(o=r[r.length-1],e[o]<c){t[n]=o,r.push(n);continue}for(i=0,a=r.length-1;i<a;)l=i+a>>1,e[r[l]]<c?i=l+1:a=l;c<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 D5(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:D5(t)}function mv(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function B5(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?B5(t.subTree):null}function Ld(e,t){const r=e.props&&e.props[t];ct(r)&&r()}function MW(e,t,r,n,o,i,a,l,s){const{p:c,o:{createElement:d}}=s,u=d("div"),g=e.suspense=N5(e,o,n,t,u,r,i,a,l,s);c(null,g.pendingBranch=e.ssContent,u,null,n,g,i,a),g.deps>0?(Ld(e,"onPending"),Ld(e,"onFallback"),c(null,e.ssFallback,t,r,n,null,i,a),ks(g,e.ssFallback)):g.resolve(!1,!0)}function DW(e,t,r,n,o,i,a,l,{p:s,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const g=t.ssContent,m=t.ssFallback,{activeBranch:h,pendingBranch:p,isInFallback:b,isHydrating:y}=u;if(p)u.pendingBranch=g,So(p,g)?(s(p,g,u.hiddenContainer,null,o,u,i,a,l),u.deps<=0?u.resolve():b&&(y||(s(h,m,r,n,o,null,i,a,l),ks(u,m)))):(u.pendingId=xv++,y?(u.isHydrating=!1,u.activeBranch=p):c(p,o,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),b?(s(null,g,u.hiddenContainer,null,o,u,i,a,l),u.deps<=0?u.resolve():(s(h,m,r,n,o,null,i,a,l),ks(u,m))):h&&So(h,g)?(s(h,g,r,n,o,u,i,a,l),u.resolve(!0)):(s(null,g,u.hiddenContainer,null,o,u,i,a,l),u.deps<=0&&u.resolve()));else if(h&&So(h,g))s(h,g,r,n,o,u,i,a,l),ks(u,g);else if(Ld(t,"onPending"),u.pendingBranch=g,g.shapeFlag&512?u.pendingId=g.component.suspenseId:u.pendingId=xv++,s(null,g,u.hiddenContainer,null,o,u,i,a,l),u.deps<=0)u.resolve();else{const{timeout:x,pendingId:C}=u;x>0?setTimeout(()=>{u.pendingId===C&&u.fallback(m)},x):x===0&&u.fallback(m)}}function N5(e,t,r,n,o,i,a,l,s,c,d=!1){const{p:u,m:g,um:m,n:h,o:{parentNode:p,remove:b}}=c;let y;const x=HW(e);x&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const C=e.props?Ed(e.props.timeout):void 0,_=i,S={vnode:e,parent:t,parentComponent:r,namespace:a,container:n,hiddenContainer:o,deps:0,pendingId:xv++,timeout:typeof C=="number"?C:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(R=!1,w=!1){const{vnode:T,activeBranch:E,pendingBranch:z,pendingId:A,effects:N,parentComponent:L,container:H,isInFallback:W}=S;let Y=!1;if(S.isHydrating)S.isHydrating=!1;else if(!R){Y=E&&z.transition&&z.transition.mode==="out-in";let fe=!1;Y&&(E.transition.afterLeave=()=>{A===S.pendingId&&(g(z,H,i===_&&!fe?h(E):i,0),Id(N),W&&T.ssFallback&&(T.ssFallback.el=null))}),E&&!S.isFallbackMountPending&&(p(E.el)===H&&(i=h(E),fe=!0),m(E,L,S,!0),!Y&&W&&T.ssFallback&&Rr(()=>T.ssFallback.el=null,S)),Y||g(z,H,i,0)}S.isFallbackMountPending=!1,ks(S,z),S.pendingBranch=null,S.isInFallback=!1;let J=S.parent,Q=!1;for(;J;){if(J.pendingBranch){J.effects.push(...N),Q=!0;break}J=J.parent}!Q&&!Y&&Id(N),S.effects=[],x&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),Ld(T,"onResolve")},fallback(R){if(!S.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:E,container:z,namespace:A}=S;Ld(w,"onFallback");const N=h(T),L=()=>{S.isFallbackMountPending=!1,S.isInFallback&&(u(null,R,z,N,E,null,A,l,s),ks(S,R))},H=R.transition&&R.transition.mode==="out-in";H&&(S.isFallbackMountPending=!0,T.transition.afterLeave=L),S.isInFallback=!0,m(T,E,null,!0),H||L()},move(R,w,T){S.activeBranch&&g(S.activeBranch,R,w,T),S.container=R},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(R,w,T){const E=!!S.pendingBranch;E&&S.deps++;const z=R.vnode.el;R.asyncDep.catch(A=>{El(A,R,0)}).then(A=>{if(R.isUnmounted||S.isUnmounted||S.pendingId!==R.suspenseId)return;Us(),R.asyncResolved=!0;const{vnode:N}=R;I0(R,A,!1),z&&(N.el=z);const L=!z&&R.subTree.el;w(R,N,p(z||R.subTree.el),z?null:h(R.subTree),S,a,T),L&&(N.placeholder=null,b(L)),rp(R,N.el),E&&--S.deps===0&&S.resolve()})},unmount(R,w){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,r,R,w),S.pendingBranch&&m(S.pendingBranch,r,R,w)}};return S}function BW(e,t,r,n,o,i,a,l,s){const c=t.suspense=N5(t,n,r,e.parentNode,document.createElement("div"),null,o,i,a,l,!0),d=s(e,c.pendingBranch=t.ssContent,r,c,i,a);return c.deps===0&&c.resolve(!1,!0),d}function NW(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=oR(n?r.default:r),e.ssFallback=n?oR(r.fallback):Nt(ar)}function oR(e){let t;if(ct(e)){const r=ha&&e._c;r&&(e._d=!1,jr()),e=e(),r&&(e._d=!0,t=Xr,j5())}return tt(e)&&(e=AW(e)),e=Pn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function H5(e,t){t&&t.pendingBranch?tt(e)?t.effects.push(...e):t.effects.push(e):Id(e)}function ks(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,rp(n,o))}function HW(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function jr(e=!1){$s.push(Xr=e?null:[])}function j5(){$s.pop(),Xr=$s[$s.length-1]||null}function Md(e,t=!1){ha+=e,e<0&&Xr&&t&&(Xr.hasOnce=!0)}function W5(e){return e.dynamicChildren=ha>0?Xr||cl:null,j5(),ha>0&&Xr&&Xr.push(e),e}function ys(e,t,r,n,o,i){return W5(Ps(e,t,r,n,o,i,!0))}function Yn(e,t,r,n,o){return W5(Nt(e,t,r,n,o,!0))}function Qo(e){return e?e.__v_isVNode===!0:!1}function So(e,t){return e.type===t.type&&e.key===t.key}function jW(e){}function Ps(e,t=null,r=null,n=0,o=null,i=e===gt?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&XC(t),ref:t&&gd(t),scopeId:hu,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:Ur};return l?(MC(s,r),i&128&&e.normalize(s)):r&&(s.shapeFlag|=Ut(r)?8:16),ha>0&&!a&&Xr&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&Xr.push(s),s}function WW(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===GC)&&(e=ar),Qo(e)){const l=Un(e,t,!0);return r&&MC(l,r),ha>0&&!i&&Xr&&(l.shapeFlag&6?Xr[Xr.indexOf(e)]=l:Xr.push(l)),l.patchFlag=-2,l}if(GW(e)&&(e=e.__vccOpts),t){t=V5(t);let{class:l,style:s}=t;l&&!Ut(l)&&(t.class=Zo(l)),Ft(s)&&(du(s)&&!tt(s)&&(s=Wt({},s)),t.style=nc(s))}const a=Ut(e)?1:pd(e)?128:jC(e)?64:Ft(e)?4:ct(e)?2:0;return Ps(e,t,r,n,o,a,i,!0)}function V5(e){return e?du(e)||YC(e)?Wt({},e):e:null}function Un(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:a,children:l,transition:s}=e,c=t?pn(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&XC(c),ref:t&&t.ref?r&&i?tt(i)?i.concat(gd(t)):[i,gd(t)]:gd(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!==gt?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&&Un(e.ssContent),ssFallback:e.ssFallback&&Un(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&Ei(d,s.clone(d)),d}function bl(e=" ",t=0){return Nt(To,null,e,t)}function VW(e,t){const r=Nt(ca,null,e);return r.staticCount=t,r}function Co(e="",t=!1){return t?(jr(),Yn(ar,null,e)):Nt(ar,null,e)}function Pn(e){return e==null||typeof e=="boolean"?Nt(ar):tt(e)?Nt(gt,null,e.slice()):Qo(e)?wi(e):Nt(To,null,String(e))}function wi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Un(e)}function MC(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),MC(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!YC(t)?t._ctx=Ur:o===3&&Ur&&(Ur.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ct(t)?(t={default:t,_ctx:Ur},r=32):(t=String(t),n&64?(r=16,t=[bl(t)]):r=8);e.children=t,e.shapeFlag|=r}function pn(...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=nc([t.style,n.style]);else if(oc(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&&!cu(o)&&(t[o]=a)}else o!==""&&(t[o]=n[o])}return t}function kn(e,t,r,n=null){Vn(e,t,7,[r,n])}function U5(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||gO,i={uid:mO++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zv(!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:I5(n,o),emitsOptions:E5(n,o),emit:null,emitted:null,propsDefaults:Tt,inheritAttrs:n.inheritAttrs,ctx:Tt,data:Tt,props:Tt,attrs:Tt,slots:Tt,refs:Tt,setupState:Tt,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=OW.bind(null,i),e.ce&&e.ce(i),i}function K5(e){return e.vnode.shapeFlag&4}function G5(e,t=!1,r=!1){t&&Es(t);const{props:n,children:o}=e.vnode,i=K5(e);FW(e,n,i,t),hO(e,o,r||t);const a=i?UW(e,t):void 0;return t&&Es(!1),a}function UW(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nh);const{setup:n}=r;if(n){Ai();const o=e.setupContext=n.length>1?Y5(e):null,i=Ol(e),a=ac(n,e,0,[e.props,o]),l=Kv(a);if(Ii(),i(),(l||e.sp)&&!Ko(e)&&OC(e),l){if(a.then(Us,Us),t)return a.then(s=>{I0(e,s,t)}).catch(s=>{El(s,e,0)});e.asyncDep=a}else I0(e,a,t)}else q5(e,t)}function I0(e,t,r){ct(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ft(t)&&(e.setupState=RC(t)),q5(e,r)}function KW(e){Cv=e,D0=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,aO))}}function q5(e,t,r){const n=e.type;if(!e.render){if(!t&&Cv&&!n.render){const o=n.template||zC(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=n,c=Wt(Wt({isCustomElement:i,delimiters:l},a),s);n.render=Cv(o,c)}}e.render=n.render||jn,D0&&D0(e)}{const o=Ol(e);Ai();try{RW(e)}finally{Ii(),o()}}}function Y5(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,yO),slots:e.slots,emit:e.emit,expose:t}}function Dd(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(RC(Ns(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ts)return Ts[r](e)},has(t,r){return r in t||r in Ts}})):e.proxy}function F0(e,t=!0){return ct(e)?e.displayName||e.name:e.name||t&&e.__name}function GW(e){return ct(e)&&"__vccOpts"in e}function v(e,t,r){try{Md(-1);const n=arguments.length;return n===2?Ft(t)&&!tt(t)?Qo(t)?Nt(e,null,[t]):Nt(e,t):Nt(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Qo(r)&&(r=[r]),Nt(e,t,r))}finally{Md(1)}}function qW(){return;function e(t,r,n){const o=t[n];if(tt(o)&&o.includes(r)||Ft(o)&&r in o||t.extends&&e(t.extends,r,n)||t.mixins&&t.mixins.some(i=>e(i,r,n)))return!0}}function YW(e,t,r,n){const o=r[n];if(o&&X5(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function X5(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(Vr(r[n],t[n]))return!1;return ha>0&&Xr&&Xr.push(e),!0}var DC,Z5,iR,on,_o,fl,Si,tl,BC,Bd,Vs,fs,td,Ur,hu,J5,z0,NC,hi,HC,jC,Qi,aR,im,am,Bh,lR,lc,Nn,hs,Mn,bv,lm,sR,WC,Nd,sm,Za,cR,dR,rd,al,L0,Q5,uR,fR,eO,tO,rO,nO,Ko,sc,oO,Lo,ri,Dt,vu,Hd,Yt,so,VC,UC,KC,np,iO,GC,ih,Ts,ah,Nh,aO,yv,lO,sO,sa,qC,cO,dO,uO,cm,M0,YC,fO,lh,sh,hR,dm,um,fm,hO,vO,Rr,pd,xv,pO,gt,To,ar,ca,$s,Xr,ha,XC,gd,Nt,gO,mO,Wr,xr,ch,Es,Ol,Us,ta,Cv,D0,bO,yO,F,ZC,xO,CO,_O,wO,SO,XW,ZW,JW,vR=f((()=>{Vj(),yC(),DC=[],Z5={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"},iR={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"},on=[],_o=-1,fl=[],Si=null,tl=0,BC=Promise.resolve(),Bd=null,Vs=e=>e.id==null?e.flags&2?-1:1/0:e.id,td=[],Ur=null,hu=null,J5=e=>il,z0=Symbol.for("v-scx"),NC=()=>{{const e=Ne(z0);return e}},hi=new WeakMap,HC=Symbol("_vte"),jC=e=>e.__isTeleport,Qi=e=>e&&(e.disabled||e.disabled===""),aR=e=>e&&(e.defer||e.defer===""),im=e=>typeof SVGElement<"u"&&e instanceof SVGElement,am=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Bh=(e,t)=>{const r=e&&e.to;return Ut(r)?t?t(r):null:r},lR={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,a,l,s,c){const{mc:d,pc:u,pbc:g,o:{insert:m,querySelector:h,createText:p,createComment:b,parentNode:y}}=c,x=Qi(t.props);let{dynamicChildren:C}=t;const _=(w,T,E)=>{w.shapeFlag&16&&d(w.children,T,E,o,i,a,l,s)},S=(w=t)=>{const T=Qi(w.props),E=w.target=Bh(w.props,h),z=E0(E,w,p,m);E&&(a!=="svg"&&im(E)?a="svg":a!=="mathml"&&am(E)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(E),T||(_(w,E,z),Jc(w,!1)))},R=w=>{const T=()=>{hi.get(w)===T&&(hi.delete(w),Qi(w.props)&&(_(w,y(w.el)||r,w.anchor),Jc(w,!0)),S(w))};hi.set(w,T),Rr(T,i)};if(e==null){const w=t.el=p(""),T=t.anchor=p("");if(m(w,r,n),m(T,r,n),aR(t.props)||i&&i.pendingBranch){R(t);return}x&&(_(t,r,T),Jc(t,!0)),S()}else{t.el=e.el;const w=t.anchor=e.anchor,T=hi.get(e);if(T){T.flags|=8,hi.delete(e),R(t);return}t.targetStart=e.targetStart;const E=t.target=e.target,z=t.targetAnchor=e.targetAnchor,A=Qi(e.props),N=A?r:E,L=A?w:z;if(a==="svg"||im(E)?a="svg":(a==="mathml"||am(E))&&(a="mathml"),C?(g(e.dynamicChildren,C,N,o,i,a,l),LC(e,t,!0)):s||u(e,t,N,L,o,i,a,l,!1),x)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):th(t,r,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=Bh(t.props,h);H&&th(t,H,null,c,0)}else A&&th(t,E,z,c,1);Jc(t,x)}},remove(e,t,r,{um:n,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:c,targetAnchor:d,target:u,props:g}=e,m=i||!Qi(g),h=hi.get(e);if(h&&(h.flags|=8,hi.delete(e)),u&&(o(c),o(d)),i&&o(s),!h&&a&16)for(let p=0;p<l.length;p++){const b=l[p];n(b,t,r,m,!!b.dynamicChildren)}},move:th,hydrate:eW},lc=lR,Nn=Symbol("_leaveCb"),hs=Symbol("_enterCb"),Mn=[Function,Array],bv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mn,onEnter:Mn,onAfterEnter:Mn,onEnterCancelled:Mn,onBeforeLeave:Mn,onLeave:Mn,onAfterLeave:Mn,onLeaveCancelled:Mn,onBeforeAppear:Mn,onAppear:Mn,onAfterAppear:Mn,onAppearCancelled:Mn},lm=e=>{const t=e.subTree;return t.component?lm(t.component):t},sR={name:"BaseTransition",props:bv,setup(e,{slots:t}){const r=xr(),n=EC();return()=>{const o=t.default&&Jv(t.default(),!0),i=o&&o.length?_5(o):r.subTree?Co():void 0;if(!i)return;const a=Et(e),{mode:l}=a;if(n.isLeaving)return rm(i);const s=YS(i);if(!s)return rm(i);let c=Ws(s,a,n,r,u=>c=u);s.type!==ar&&Ei(s,c);let d=r.subTree&&YS(r.subTree);if(d&&d.type!==ar&&!So(d,s)&&lm(r).type!==ar){let u=Ws(d,a,n,r);if(Ei(d,u),l==="out-in"&&s.type!==ar)return n.isLeaving=!0,u.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete u.afterLeave,d=void 0},rm(i);l==="in-out"&&s.type!==ar?u.delayLeave=(g,m,h)=>{const p=w5(n,d);p[String(d.key)]=d,g[Nn]=()=>{m(),g[Nn]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}},WC=sR,Nd=new WeakMap,sm=!1,Za=()=>{sm||(console.error("Hydration completed but contains mismatches."),sm=!0)},cR=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",dR=e=>e.namespaceURI.includes("MathML"),rd=e=>{if(e.nodeType===1){if(cR(e))return"svg";if(dR(e))return"mathml"}},al=e=>e.nodeType===8,L0="data-allow-mismatch",Q5={0:"text",1:"children",2:"class",3:"style",4:"attribute"},uR=fd().requestIdleCallback||(e=>setTimeout(e,1)),fR=fd().cancelIdleCallback||(e=>clearTimeout(e)),eO=(e=1e4)=>t=>{const r=uR(t,{timeout:e});return()=>fR(r)},tO=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(oW(o))return t(),n.disconnect(),!1;n.observe(o)}}),()=>n.disconnect()},rO=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},nO=(e=[])=>(t,r)=>{Ut(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},Ko=e=>!!e.type.__asyncLoader,sc=e=>e.type.__isKeepAlive,oO={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=xr(),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:c,um:d,o:{createElement:u}}}=n,g=u("div");n.activate=(x,C,_,S,R)=>{const w=x.component;c(x,C,_,0,l),s(w.vnode,x,C,_,w,l,S,x.slotScopeIds,R),Rr(()=>{w.isDeactivated=!1,w.a&&ul(w.a);const T=x.props&&x.props.onVnodeMounted;T&&kn(T,w.parent,x)},l)},n.deactivate=x=>{const C=x.component;mv(C.m),mv(C.a),c(x,g,null,1,l),Rr(()=>{C.da&&ul(C.da);const _=x.props&&x.props.onVnodeUnmounted;_&&kn(_,C.parent,x),C.isDeactivated=!0},l)};function m(x){nm(x),d(x,r,l,!0)}function h(x){o.forEach((C,_)=>{const S=F0(Ko(C)?C.type.__asyncResolved||{}:C.type);S&&!x(S)&&p(_)})}function p(x){const C=o.get(x);C&&(!a||!So(C,a))?m(C):a&&nm(a),o.delete(x),i.delete(x)}nt(()=>[e.include,e.exclude],([x,C])=>{x&&h(_=>Qc(x,_)),C&&h(_=>!Qc(C,_))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(pd(r.subTree.type)?Rr(()=>{o.set(b,oh(r.subTree))},r.subTree.suspense):o.set(b,oh(r.subTree)))};return Dt(y),Hd(y),Yt(()=>{o.forEach(x=>{const{subTree:C,suspense:_}=r,S=oh(C);if(x.type===S.type&&x.key===S.key){nm(S);const R=S.component.da;R&&Rr(R,_);return}m(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(!Qo(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return a=null,C;let _=oh(C);if(_.type===ar)return a=null,_;const S=_.type,R=F0(Ko(_)?_.type.__asyncResolved||{}:S),{include:w,exclude:T,max:E}=e;if(w&&(!R||!Qc(w,R))||T&&R&&Qc(T,R))return _.shapeFlag&=-257,a=_,C;const z=_.key==null?S:_.key,A=o.get(z);return _.el&&(_=Un(_),C.shapeFlag&128&&(C.ssContent=_)),b=z,A?(_.el=A.el,_.component=A.component,_.transition&&Ei(_,_.transition),_.shapeFlag|=512,i.delete(z),i.add(z)):(i.add(z),E&&i.size>parseInt(E,10)&&p(i.values().next().value)),_.shapeFlag|=256,a=_,pd(C.type)?C:_}}},Lo=e=>(t,r=Wr)=>{(!ta||e==="sp")&&ep(e,(...n)=>t(...n),r)},ri=Lo("bm"),Dt=Lo("m"),vu=Lo("bu"),Hd=Lo("u"),Yt=Lo("bum"),so=Lo("um"),VC=Lo("sp"),UC=Lo("rtg"),KC=Lo("rtc"),np="components",iO="directives",GC=Symbol.for("v-ndc"),ih=e=>e?K5(e)?Dd(e):ih(e.parent):null,Ts=Wt(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=>ih(e.parent),$root:e=>ih(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zC(e),$forceUpdate:e=>e.f||(e.f=()=>{$C(e.update)}),$nextTick:e=>e.n||(e.n=zt.bind(e.proxy)),$watch:e=>Qj.bind(e)}),ah=(e,t)=>e!==Tt&&!e.__isScriptSetup&&Mt(e,t),Nh={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 g=a[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(ah(n,t))return a[t]=1,n[t];if(o!==Tt&&Mt(o,t))return a[t]=2,o[t];if(Mt(i,t))return a[t]=3,i[t];if(r!==Tt&&Mt(r,t))return a[t]=4,r[t];yv&&(a[t]=0)}}const c=Ts[t];let d,u;if(c)return t==="$attrs"&&nn(e.attrs,"get",""),c(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(r!==Tt&&Mt(r,t))return a[t]=4,r[t];if(u=s.config.globalProperties,Mt(u,t))return u[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return ah(o,t)?(o[t]=r,!0):n!==Tt&&Mt(n,t)?(n[t]=r,!0):Mt(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!==Tt&&l[0]!=="$"&&Mt(e,l)||ah(t,l)||Mt(i,l)||Mt(n,l)||Mt(Ts,l)||Mt(o.config.globalProperties,l)||(s=a.__cssModules)&&s[l])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Mt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},aO=Wt({},Nh,{get(e,t){if(t!==Symbol.unscopables)return Nh.get(e,t,e)},has(e,t){return t[0]!=="_"&&!NE(t)}}),yv=!0,lO={data:eR,props:tR,emits:tR,methods:ed,computed:ed,beforeCreate:fn,created:fn,beforeMount:fn,mounted:fn,beforeUpdate:fn,updated:fn,beforeDestroy:fn,beforeUnmount:fn,destroyed:fn,unmounted:fn,activated:fn,deactivated:fn,errorCaptured:fn,serverPrefetch:fn,components:ed,directives:ed,watch:TW,provide:eR,inject:PW},sO=0,sa=null,qC=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${kr(t)}Modifiers`]||e[`${hn(t)}Modifiers`],cO=new WeakMap,dO=e=>{let t;for(const r in e)(r==="class"||r==="style"||oc(r))&&((t||(t={}))[r]=e[r]);return t},uO=(e,t)=>{const r={};for(const n in e)(!cu(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r},cm={},M0=()=>Object.create(cm),YC=e=>Object.getPrototypeOf(e)===cm,fO=new WeakMap,lh=e=>e==="_"||e==="_ctx"||e==="$stable",sh=e=>tt(e)?e.map(Pn):[Pn(e)],hR=(e,t,r)=>{if(t._n)return t;const n=il((...o)=>sh(t(...o)),r);return n._c=!1,n},dm=(e,t,r)=>{const n=e._ctx;for(const o in e){if(lh(o))continue;const i=e[o];if(ct(i))t[o]=hR(o,i,n);else if(i!=null){const a=sh(i);t[o]=()=>a}}},um=(e,t)=>{const r=sh(t);e.slots.default=()=>r},fm=(e,t,r)=>{for(const n in t)(r||!lh(n))&&(e[n]=t[n])},hO=(e,t,r)=>{const n=e.slots=M0();if(e.vnode.shapeFlag&32){const o=t._;o?(fm(n,t,r),r&&bC(n,"_",o,!0)):dm(t,n)}else t&&um(e,t)},vO=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,a=Tt;if(n.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:fm(o,t,r):(i=!t.$stable,dm(t,o)),a=t}else t&&(um(e,t),a={default:1});if(i)for(const l in o)!lh(l)&&a[l]==null&&delete o[l]},Rr=H5,pd=e=>e.__isSuspense,xv=0,pO={name:"Suspense",__isSuspense:!0,process(e,t,r,n,o,i,a,l,s,c){if(e==null)MW(t,r,n,o,i,a,l,s,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}DW(e,t,r,n,o,a,l,s,c)}},hydrate:BW,normalize:NW},gt=Symbol.for("v-fgt"),To=Symbol.for("v-txt"),ar=Symbol.for("v-cmt"),ca=Symbol.for("v-stc"),$s=[],Xr=null,ha=1,XC=({key:e})=>e??null,gd=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ut(e)||sr(e)||ct(e)?{i:Ur,r:e,k:t,f:!!r}:e:null),Nt=WW,gO=$5(),mO=0,Wr=null,xr=()=>Wr||Ur;{const e=fd(),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)}};ch=t("__VUE_INSTANCE_SETTERS__",r=>Wr=r),Es=t("__VUE_SSR_SETTERS__",r=>ta=r)}Ol=e=>{const t=Wr;return ch(e),e.scope.on(),()=>{e.scope.off(),ch(t)}},Us=()=>{Wr&&Wr.scope.off(),ch(null)},ta=!1,bO=()=>!Cv,yO={get(e,t){return nn(e,"get",""),e[t]}},F=(e,t)=>Hj(e,t,ta),ZC="3.5.35",xO=jn,CO=iR,_O=fs,wO=b5,SO={createComponentInstance:U5,setupComponent:G5,renderComponentRoot:Dh,setCurrentRenderingInstance:Fd,isVNode:Qo,normalizeVNode:Pn,getComponentPublicInstance:Dd,ensureValidVNode:FC,pushWarningContext:Uj,popWarningContext:Kj},XW=null,ZW=null,JW=null}));function pR(e){const t={};for(const N in e)N in W0||(t[N]=e[N]);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:c=a,appearToClass:d=l,leaveFromClass:u=`${r}-leave-from`,leaveActiveClass:g=`${r}-leave-active`,leaveToClass:m=`${r}-leave-to`}=e,h=QW(o),p=h&&h[0],b=h&&h[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:C,onLeave:_,onLeaveCancelled:S,onBeforeAppear:R=y,onAppear:w=x,onAppearCancelled:T=C}=t,E=(N,L,H,W)=>{N._enterCancelled=W,Xi(N,L?d:l),Xi(N,L?c:a),H&&H()},z=(N,L)=>{N._isLeaving=!1,Xi(N,u),Xi(N,m),Xi(N,g),L&&L()},A=N=>(L,H)=>{const W=N?w:x,Y=()=>E(L,N,H);Zi(W,[L,Y]),gR(()=>{Xi(L,N?s:i),Ho(L,N?d:l),V0(W)||mR(L,n,p,Y)})};return Wt(t,{onBeforeEnter(N){Zi(y,[N]),Ho(N,i),Ho(N,a)},onBeforeAppear(N){Zi(R,[N]),Ho(N,s),Ho(N,c)},onEnter:A(!1),onAppear:A(!0),onLeave(N,L){N._isLeaving=!0;const H=()=>z(N,L);Ho(N,u),N._enterCancelled?(Ho(N,g),B0(N)):(B0(N),Ho(N,g)),gR(()=>{N._isLeaving&&(Xi(N,u),Ho(N,m),V0(_)||mR(N,n,b,H))}),Zi(_,[N,H])},onEnterCancelled(N){E(N,!1,void 0,!0),Zi(C,[N])},onAppearCancelled(N){E(N,!0,void 0,!0),Zi(T,[N])},onLeaveCancelled(N){z(N),Zi(S,[N])}})}function QW(e){if(e==null)return null;if(Ft(e))return[hm(e.enter),hm(e.leave)];{const t=hm(e);return[t,t]}}function hm(e){return Ed(e)}function Ho(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[yl]||(e[yl]=new Set)).add(t)}function Xi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[yl];r&&(r.delete(t),r.size||(e[yl]=void 0))}function gR(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function mR(e,t,r,n){const o=e._endId=++OO,i=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:l,propCount:s}=RO(e,t);if(!a)return n();const c=a+"end";let d=0;const u=()=>{e.removeEventListener(c,g),i()},g=m=>{m.target===e&&++d>=s&&u()};setTimeout(()=>{d<s&&u()},l+1),e.addEventListener(c,g)}function RO(e,t){const r=window.getComputedStyle(e),n=h=>(r[h]||"").split(", "),o=n(`${pi}Delay`),i=n(`${pi}Duration`),a=bR(o,i),l=n(`${vs}Delay`),s=n(`${vs}Duration`),c=bR(l,s);let d=null,u=0,g=0;t===pi?a>0&&(d=pi,u=a,g=i.length):t===vs?c>0&&(d=vs,u=c,g=s.length):(u=Math.max(a,c),d=u>0?a>c?pi:vs:null,g=d?d===pi?i.length:s.length:0);const m=d===pi&&/\b(?:transform|all)(?:,|$)/.test(n(`${pi}Property`).toString());return{type:d,timeout:u,propCount:g,hasTransform:m}}function bR(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>yR(r)+yR(e[n])))}function yR(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function B0(e){return(e?e.ownerDocument:document).body.offsetHeight}function eV(e,t,r){const n=e[yl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function zc(e,t){e.style.display=t?e[jd]:"none",e[JC]=!t}function tV(){ro.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function rV(e){const t=xr();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>_v(i,o))},n=()=>{const o=e(t.proxy);t.ce?_v(t.ce,o):N0(t.subTree,o),r(o)};vu(()=>{Id(n)}),Dt(()=>{nt(n,jn,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),so(()=>o.disconnect())})}function N0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{N0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_v(e.el,t);else if(e.type===gt)e.children.forEach(r=>N0(r,t));else if(e.type===ca){let{el:r,anchor:n}=e;for(;r&&(_v(r,t),r!==n);)r=r.nextSibling}}function _v(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t){const i=Tj(t[o]);r.setProperty(`--${o}`,i),n+=`--${o}: ${i};`}r[QC]=n}}function nV(e,t,r){const n=e.style,o=Ut(r);let i=!1;if(r&&!o){if(t)if(Ut(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();r[l]==null&&nd(n,l,"")}else for(const a in t)r[a]==null&&nd(n,a,"");for(const a in r){a==="display"&&(i=!0);const l=r[a];l!=null?iV(e,a,!Ut(t)&&t?t[a]:void 0,l)||nd(n,a,l):nd(n,a,"")}}else if(o){if(t!==r){const a=n[QC];a&&(r+=";"+a),n.cssText=r,i=AO.test(r)}}else t&&e.removeAttribute("style");jd in e&&(e[jd]=i?n.display:"",e[JC]&&(n.display="none"))}function nd(e,t,r){if(tt(r))r.forEach(n=>nd(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=oV(e,t);U0.test(r)?e.setProperty(hn(n),r.replace(U0,""),"important"):e[n]=r}}function oV(e,t){const r=Hh[t];if(r)return r;let n=kr(t);if(n!=="filter"&&n in e)return Hh[t]=n;n=Bs(n);for(let o=0;o<K0.length;o++){const i=K0[o]+n;if(i in e)return Hh[t]=i}return t}function iV(e,t,r,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ut(n)&&r===n}function xR(e,t,r,n,o,i=VE(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(G0,t.slice(6,t.length)):e.setAttributeNS(G0,t,r):r==null||i&&!ME(r)?e.removeAttribute(t):e.setAttribute(t,i?"":Tn(r)?String(r):r)}function CR(e,t,r,n,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?H0(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=ME(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 vi(e,t,r,n){e.addEventListener(t,r,n)}function aV(e,t,r,n){e.removeEventListener(t,r,n)}function lV(e,t,r,n,o=null){const i=e[q0]||(e[q0]={}),a=i[t];if(n&&a)a.value=n;else{const[l,s]=sV(t);n?vi(e,l,i[t]=cV(n,o),s):a&&(aV(e,l,a,s),i[t]=void 0)}}function sV(e){let t;if(Y0.test(e)){t={};let r;for(;r=e.match(Y0);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hn(e.slice(2)),t]}function cV(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 c=a[s];c&&Vn(c,t,5,l)}}else Vn(o,t,5,[n])};return r.value=e,r.attached=IO(),r}function dV(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&X0(t)&&ct(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 X0(t)&&Ut(r)?!1:t in e}function uV(e,t){const r=e._def.props;if(!r)return!1;const n=kr(t);return Array.isArray(r)?r.some(o=>kr(o)===n):Object.keys(r).some(o=>kr(o)===n)}function kO(e,t,r){let n=Re(e,t);Td(n)&&(n=Wt({},n,t));class o extends e_{constructor(a){super(n,a,r)}}return o.def=n,o}function PO(e){const t=xr(),r=t&&t.ce;return r||null}function fV(){const e=PO();return e&&e.shadowRoot}function hV(e="$style"){{const t=xr();if(!t)return Tt;const r=t.type.__cssModules;if(!r)return Tt;const n=r[e];return n||Tt}}function vV(e){const t=e.el;t[md]&&t[md](),t[Q0]&&t[Q0]()}function pV(e){t_.set(e,TO(e.el))}function gV(e){const t=J0.get(e),r=t_.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,c=1;return i.offsetWidth&&(s=l.width/i.offsetWidth),i.offsetHeight&&(c=l.height/i.offsetHeight),(!Number.isFinite(s)||s===0)&&(s=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(s-1)<.01&&(s=1),Math.abs(c-1)<.01&&(c=1),a.transform=a.webkitTransform=`translate(${n/s}px,${o/c}px)`,a.transitionDuration="0s",e}}function TO(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function mV(e,t,r){const n=e.cloneNode(),o=e[yl];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}=RO(n);return i.removeChild(n),a}function bV(e){e.target.composing=!0}function _R(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}function wR(e,t,r){return t&&(e=e.trim()),r&&(e=$d(e)),e}function SR(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(tt(t))o=Vv(t,n.props.value)>-1;else if(fa(t))o=t.has(n.props.value);else{if(t===r)return;o=Oi(t,$O(e,!0))}e.checked!==o&&(e.checked=o)}function RR(e,t){const r=e.multiple,n=tt(t);if(!(r&&!n&&!fa(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=xs(a);if(r)if(n){const s=typeof l;s==="string"||s==="number"?a.selected=t.some(c=>String(c)===String(l)):a.selected=Vv(t,l)>-1}else a.selected=t.has(l);else if(Oi(xs(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xs(e){return"_value"in e?e._value:e.value}function $O(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}function EO(e,t){switch(e){case"SELECT":return r_;case"TEXTAREA":return Wd;default:switch(t){case"checkbox":return op;case"radio":return ip;default:return Wd}}}function dh(e,t,r,n,o){const i=EO(e.tagName,r.props&&r.props.type)[o];i&&i(e,t,r,n)}function yV(){Wd.getSSRProps=({value:e})=>({value:e}),ip.getSSRProps=({value:e},t)=>{if(t.props&&Oi(t.props.value,e))return{checked:!0}},op.getSSRProps=({value:e},t)=>{if(tt(e)){if(t.props&&Vv(e,t.props.value)>-1)return{checked:!0}}else if(fa(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},n_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=EO(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}function kR(){return bd||(bd=F5(o_))}function PR(){return bd=ey?bd:z5(o_),ey=!0,bd}function TR(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $R(e){return Ut(e)?document.querySelector(e):e}var uh,vm,H0,ER,OR,Mo,pm,j0,pi,vs,yl,W0,gm,AR,mr,Zi,V0,OO,jd,JC,ro,QC,AO,U0,K0,Hh,G0,q0,Y0,fh,IR,IO,X0,Z0,mm,FO,FR,e_,J0,t_,md,Q0,zR,pu,ci,Dn,Wd,op,ip,r_,n_,LR,MR,zO,DR,LO,o_,bd,ey,ty,MO,yd,ry,bm,DO,xV=f((()=>{if(vR(),vR(),yC(),uh=void 0,vm=typeof window<"u"&&window.trustedTypes,vm)try{uh=vm.createPolicy("vue",{createHTML:e=>e})}catch{}H0=uh?e=>uh.createHTML(e):e=>e,ER="http://www.w3.org/2000/svg",OR="http://www.w3.org/1998/Math/MathML",Mo=typeof document<"u"?document:null,pm=Mo&&Mo.createElement("template"),j0={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"?Mo.createElementNS(ER,e):t==="mathml"?Mo.createElementNS(OR,e):r?Mo.createElement(e,{is:r}):Mo.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Mo.createTextNode(e),createComment:e=>Mo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mo.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{pm.innerHTML=H0(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=pm.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]}},pi="transition",vs="animation",yl=Symbol("_vtc"),W0={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},gm=Wt({},bv,W0),AR=e=>(e.displayName="Transition",e.props=gm,e),mr=AR((e,{slots:t})=>v(WC,pR(e),t)),Zi=(e,t=[])=>{tt(e)?e.forEach(r=>r(...t)):e&&e(...t)},V0=e=>e?tt(e)?e.some(t=>t.length>1):e.length>1:!1,OO=0,jd=Symbol("_vod"),JC=Symbol("_vsh"),ro={name:"show",beforeMount(e,{value:t},{transition:r}){e[jd]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):zc(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),zc(e,!0),n.enter(e)):n.leave(e,()=>{zc(e,!1)}):zc(e,t))},beforeUnmount(e,{value:t}){zc(e,t)}},QC=Symbol(""),AO=/(?:^|;)\s*display\s*:/,U0=/\s*!important$/,K0=["Webkit","Moz","ms"],Hh={},G0="http://www.w3.org/1999/xlink",q0=Symbol("_vei"),Y0=/(?:Once|Passive|Capture)$/,fh=0,IR=Promise.resolve(),IO=()=>fh||(IR.then(()=>fh=0),fh=Date.now()),X0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Z0=(e,t,r,n,o,i)=>{const a=o==="svg";t==="class"?eV(e,n,a):t==="style"?nV(e,r,n):oc(t)?cu(t)||lV(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dV(e,t,n,a))?(CR(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xR(e,t,n,a,i,t!=="value")):e._isVueCE&&(uV(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ut(n)))?CR(e,kr(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),xR(e,t,n,a))},mm={},FO=((e,t)=>kO(e,t,ry)),FR=typeof HTMLElement<"u"?HTMLElement:class{},e_=class BO extends FR{constructor(t,r={},n=yd){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!==yd?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Wt({},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 BO){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,zt(()=>{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 c=i[s];(c===Number||c&&c.type===Number)&&(s in this._props&&(this._props[s]=Ed(this._props[s])),(l||(l=Object.create(null)))[kr(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)Mt(this,n)||Object.defineProperty(this,n,{get:()=>ir(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(kr))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):mm;const o=kr(t);r&&this._numberProps&&this._numberProps[o]&&(n=Ed(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===mm?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(hn(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(hn(t),r+""):r||this.removeAttribute(hn(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ty(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=Nt(this._def,Wt(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,Td(a[0])?Wt({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{o(i,a),hn(i)!==i&&o(hn(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 c=document.createElement("style");o&&c.setAttribute("nonce",o),c.textContent=t[s],i.insertBefore(c,l||a),l=c,s===0&&(n||this._styleAnchors.set(this._def,c),r&&this._styleAnchors.set(r,c))}}_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 c=r+"-s",d=document.createTreeWalker(s,1);s.setAttribute(c,"");let u;for(;u=d.nextNode();)u.setAttribute(c,"")}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){}},J0=new WeakMap,t_=new WeakMap,md=Symbol("_moveCb"),Q0=Symbol("_enterCb"),zR=e=>(delete e.props.mode,e),pu=zR({name:"TransitionGroup",props:Wt({},gm,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=xr(),n=EC();let o,i;return Hd(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!mV(o[0].el,r.vnode.el,a)){o=[];return}o.forEach(vV),o.forEach(pV);const l=o.filter(gV);B0(r.vnode.el),l.forEach(s=>{const c=s.el,d=c.style;Ho(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const u=c[md]=g=>{g&&g.target!==c||(!g||g.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",u),c[md]=null,Xi(c,a))};c.addEventListener("transitionend",u)}),o=[]}),()=>{const a=Et(e),l=pR(a);let s=a.tag||gt;if(o=[],i)for(let c=0;c<i.length;c++){const d=i[c];d.el&&d.el instanceof Element&&(o.push(d),Ei(d,Ws(d,l,n,r)),J0.set(d,TO(d.el)))}i=t.default?Jv(t.default()):[];for(let c=0;c<i.length;c++){const d=i[c];d.key!=null&&Ei(d,Ws(d,l,n,r))}return Nt(s,null,i)}}}),ci=e=>{const t=e.props["onUpdate:modelValue"]||!1;return tt(t)?r=>ul(t,r):t},Dn=Symbol("_assign"),Wd={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Dn]=ci(o);const i=n||o.props&&o.props.type==="number";vi(e,t?"change":"input",a=>{a.target.composing||e[Dn](wR(e.value,r,i))}),(r||i)&&vi(e,"change",()=>{e.value=wR(e.value,r,i)}),t||(vi(e,"compositionstart",bV),vi(e,"compositionend",_R),vi(e,"change",_R))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},a){if(e[Dn]=ci(a),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?$d(e.value):e.value,s=t??"";if(l===s)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===s)||(e.value=s)}},op={deep:!0,created(e,t,r){e[Dn]=ci(r),vi(e,"change",()=>{const n=e._modelValue,o=xs(e),i=e.checked,a=e[Dn];if(tt(n)){const l=Vv(n,o),s=l!==-1;if(i&&!s)a(n.concat(o));else if(!i&&s){const c=[...n];c.splice(l,1),a(c)}}else if(fa(n)){const l=new Set(n);i?l.add(o):l.delete(o),a(l)}else a($O(e,i))})},mounted:SR,beforeUpdate(e,t,r){e[Dn]=ci(r),SR(e,t,r)}},ip={created(e,{value:t},r){e.checked=Oi(t,r.props.value),e[Dn]=ci(r),vi(e,"change",()=>{e[Dn](xs(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Dn]=ci(n),t!==r&&(e.checked=Oi(t,n.props.value))}},r_={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=fa(t);vi(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?$d(xs(a)):xs(a));e[Dn](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,zt(()=>{e._assigning=!1})}),e[Dn]=ci(n)},mounted(e,{value:t}){RR(e,t)},beforeUpdate(e,t,r){e[Dn]=ci(r)},updated(e,{value:t}){e._assigning||RR(e,t)}},n_={created(e,t,r){dh(e,t,r,null,"created")},mounted(e,t,r){dh(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){dh(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){dh(e,t,r,n,"updated")}},LR=["ctrl","shift","alt","meta"],MR={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)=>LR.some(r=>e[`${r}Key`]&&!t.includes(r))},zO=(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=MR[t[a]];if(l&&l(o,t))return}return e(o,...i)}))},DR={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},LO=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=(o=>{if(!("key"in o))return;const i=hn(o.key);if(t.some(a=>a===i||DR[a]===i))return e(o)}))},o_=Wt({patchProp:Z0},j0),ey=!1,ty=((...e)=>{kR().render(...e)}),MO=((...e)=>{PR().hydrate(...e)}),yd=((...e)=>{const t=kR().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=$R(n);if(!o)return;const i=t._component;!ct(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=r(o,!1,TR(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t}),ry=((...e)=>{const t=PR().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=$R(n);if(o)return r(o,!0,TR(o))},t}),bm=!1,DO=()=>{bm||(bm=!0,yV(),tV())}})),BR=Sj({BaseTransition:()=>WC,BaseTransitionPropsValidators:()=>bv,Comment:()=>ar,DeprecationTypes:()=>null,EffectScope:()=>Zv,ErrorCodes:()=>Z5,ErrorTypeStrings:()=>CO,Fragment:()=>gt,KeepAlive:()=>oO,ReactiveEffect:()=>Hs,Static:()=>ca,Suspense:()=>pO,Teleport:()=>lc,Text:()=>To,TrackOpTypes:()=>v5,Transition:()=>mr,TransitionGroup:()=>pu,TriggerOpTypes:()=>p5,VueElement:()=>e_,assertNumber:()=>Gj,callWithAsyncErrorHandling:()=>Vn,callWithErrorHandling:()=>ac,camelize:()=>kr,capitalize:()=>Bs,cloneVNode:()=>Un,compatUtils:()=>null,compile:()=>NO,computed:()=>F,createApp:()=>yd,createBlock:()=>Yn,createCommentVNode:()=>Co,createElementBlock:()=>ys,createElementVNode:()=>Ps,createHydrationRenderer:()=>z5,createPropsRestProxy:()=>wW,createRenderer:()=>F5,createSSRApp:()=>ry,createSlots:()=>dW,createStaticVNode:()=>VW,createTextVNode:()=>bl,createVNode:()=>Nt,customRef:()=>XE,defineAsyncComponent:()=>Xa,defineComponent:()=>Re,defineCustomElement:()=>kO,defineEmits:()=>hW,defineExpose:()=>vW,defineModel:()=>mW,defineOptions:()=>pW,defineProps:()=>fW,defineSSRCustomElement:()=>FO,defineSlots:()=>gW,devtools:()=>_O,effect:()=>Oj,effectScope:()=>Gv,getCurrentInstance:()=>xr,getCurrentScope:()=>qv,getCurrentWatcher:()=>jj,getTransitionRawChildren:()=>Jv,guardReactiveProps:()=>V5,h:()=>v,handleError:()=>El,hasInjectionContext:()=>y5,hydrate:()=>MO,hydrateOnIdle:()=>eO,hydrateOnInteraction:()=>nO,hydrateOnMediaQuery:()=>rO,hydrateOnVisible:()=>tO,initCustomFormatter:()=>qW,initDirectivesForSSR:()=>DO,inject:()=>Ne,isMemoSame:()=>X5,isProxy:()=>du,isReactive:()=>Po,isReadonly:()=>Uo,isRef:()=>sr,isRuntimeOnly:()=>bO,isShallow:()=>$n,isVNode:()=>Qo,markRaw:()=>Ns,mergeDefaults:()=>CW,mergeModels:()=>_W,mergeProps:()=>pn,nextTick:()=>zt,nodeOps:()=>j0,normalizeClass:()=>Zo,normalizeProps:()=>kj,normalizeStyle:()=>nc,onActivated:()=>Qv,onBeforeMount:()=>ri,onBeforeUnmount:()=>Yt,onBeforeUpdate:()=>vu,onDeactivated:()=>fu,onErrorCaptured:()=>R5,onMounted:()=>Dt,onRenderTracked:()=>KC,onRenderTriggered:()=>UC,onScopeDispose:()=>xC,onServerPrefetch:()=>VC,onUnmounted:()=>so,onUpdated:()=>Hd,onWatcherCleanup:()=>JE,openBlock:()=>jr,patchProp:()=>Z0,popScopeId:()=>Zj,provide:()=>st,proxyRefs:()=>RC,pushScopeId:()=>Xj,queuePostFlushCb:()=>Id,reactive:()=>Jo,readonly:()=>eo,ref:()=>K,registerRuntimeCompiler:()=>KW,render:()=>ty,renderList:()=>cW,renderSlot:()=>IC,resolveComponent:()=>k5,resolveDirective:()=>sW,resolveDynamicComponent:()=>lW,resolveFilter:()=>null,resolveTransitionHooks:()=>Ws,setBlockTracking:()=>Md,setDevtoolsHook:()=>wO,setTransitionHooks:()=>Ei,shallowReactive:()=>SC,shallowReadonly:()=>Dj,shallowRef:()=>ic,ssrContextKey:()=>z0,ssrUtils:()=>SO,stop:()=>Aj,toDisplayString:()=>fv,toHandlerKey:()=>ws,toHandlers:()=>uW,toRaw:()=>Et,toRef:()=>_e,toRefs:()=>kC,toValue:()=>Nj,transformVNodeArgs:()=>jW,triggerRef:()=>Bj,unref:()=>ir,useAttrs:()=>xW,useCssModule:()=>hV,useCssVars:()=>rV,useHost:()=>PO,useId:()=>tW,useModel:()=>EW,useSSRContext:()=>NC,useShadowRoot:()=>fV,useSlots:()=>yW,useTemplateRef:()=>rW,useTransitionState:()=>EC,vModelCheckbox:()=>op,vModelDynamic:()=>n_,vModelRadio:()=>ip,vModelSelect:()=>r_,vModelText:()=>Wd,vShow:()=>ro,version:()=>ZC,warn:()=>xO,watch:()=>nt,watchEffect:()=>tr,watchPostEffect:()=>Jj,watchSyncEffect:()=>x5,withAsyncContext:()=>SW,withCtx:()=>il,withDefaults:()=>bW,withDirectives:()=>ln,withKeys:()=>LO,withMemo:()=>YW,withModifiers:()=>zO,withScopeId:()=>J5}),NO,G=f((()=>{xV(),NO=()=>{}}));function ny(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}function CV(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 i_(e,t,r){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){VO(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function HO(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function jh(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 _V(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?HO(n.href)?i_(e,t,r):(n.target="_blank",jh(n)):jh(n)):(n.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(n.href)},4e4),setTimeout(function(){jh(n)},0))}function wV(e,t="download",r){if(typeof e=="string")if(HO(e))i_(e,t,r);else{const n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){jh(n)})}else navigator.msSaveOrOpenBlob(CV(e,r),t)}function SV(e,t,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return i_(e,t,r);const o=e.type==="application/octet-stream",i=/constructor/i.test(String(iy.HTMLElement))||"safari"in iy,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||o&&i||ay)&&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 RV(){const e=Gv(!0),t=e.run(()=>K({}));let r=[],n=[];const o=Ns({install(i){gu(o),o._a=i,i.provide(a_,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 NR(e,t,r,n=l_){e.add(t);const o=()=>{e.delete(t)&&n()};return!r&&qv()&&xC(o),o}function ls(e,...t){e.forEach(r=>{r(...t)})}function oy(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];ny(o)&&ny(n)&&e.hasOwnProperty(r)&&!sr(n)&&!Po(n)?e[r]=oy(o,n):e[r]=n}return e}function kV(e){return!ny(e)||!Object.prototype.hasOwnProperty.call(e,KO)}function PV(e){return!!(sr(e)&&e.effect)}function TV(e,t,r,n){const{state:o,actions:i,getters:a}=t,l=r.state.value[e];let s;function c(){return l||(r.state.value[e]=o?o():{}),Ci(kC(r.state.value[e]),i,Object.keys(a||{}).reduce((d,u)=>(d[u]=Ns(F(()=>{gu(r);const g=r._s.get(e);return a[u].call(g,g)})),d),{}))}return s=jO(e,c,t,r,n,!0),s}function jO(e,t,r={},n,o,i){let a;const l=Ci({actions:{}},r),s={deep:!0};let c,d,u=new Set,g=new Set,m;const h=n.state.value[e];!i&&!h&&(n.state.value[e]={});let p;function b(R){let w;c=d=!1,typeof R=="function"?(R(n.state.value[e]),w={type:xd.patchFunction,storeId:e,events:m}):(oy(n.state.value[e],R),w={type:xd.patchObject,payload:R,storeId:e,events:m});const T=p=Symbol();zt().then(()=>{p===T&&(c=!0)}),d=!0,ls(u,w,n.state.value[e])}const y=i?function(){const{state:w}=r,T=w?w():{};this.$patch(E=>{Ci(E,T)})}:l_;function x(){a.stop(),u.clear(),g.clear(),n._s.delete(e)}const C=(R,w="")=>{if(ly in R)return R[Wh]=w,R;const T=function(){gu(n);const E=Array.from(arguments),z=new Set,A=new Set;function N(W){z.add(W)}function L(W){A.add(W)}ls(g,{args:E,name:T[Wh],store:_,after:N,onError:L});let H;try{H=R.apply(this&&this.$id===e?this:_,E)}catch(W){throw ls(A,W),W}return H instanceof Promise?H.then(W=>(ls(z,W),W)).catch(W=>(ls(A,W),Promise.reject(W))):(ls(z,H),H)};return T[ly]=!0,T[Wh]=w,T},_=Jo({_p:n,$id:e,$onAction:NR.bind(null,g),$patch:b,$reset:y,$subscribe(R,w={}){const T=NR(u,R,w.detached,()=>E()),E=a.run(()=>nt(()=>n.state.value[e],z=>{(w.flush==="sync"?d:c)&&R({storeId:e,type:xd.direct,events:m},z)},Ci({},s,w)));return T},$dispose:x});n._s.set(e,_);const S=(n._a&&n._a.runWithContext||UO)(()=>n._e.run(()=>(a=Gv()).run(()=>t({action:C}))));for(const R in S){const w=S[R];sr(w)&&!PV(w)||Po(w)?i||(h&&kV(w)&&(sr(w)?w.value=h[R]:oy(w,h[R])),n.state.value[e][R]=w):typeof w=="function"&&(S[R]=C(w,R),l.actions[R]=w)}return Ci(_,S),Ci(Et(_),S),Object.defineProperty(_,"$state",{get:()=>n.state.value[e],set:R=>{b(w=>{Ci(w,R)})}}),n._p.forEach(R=>{Ci(_,a.run(()=>R({store:_,app:n._a,pinia:n,options:l})))}),h&&i&&r.hydrate&&r.hydrate(_.$state,h),c=!0,d=!0,_}function $V(e,t,r){let n;const o=typeof t=="function";n=o?r:t;function i(a,l){const s=y5();return a=a||(s?Ne(a_,null):null),a&&gu(a),a=WO,a._s.has(e)||(o?jO(e,t,n,a):TV(e,n,a)),a._s.get(e)}return i.$id=e,i}var HR,WO,gu,a_,xd,iy,Lc,ay,VO,EV,l_,UO,ly,Wh,KO,Ci,GO=f((()=>{G(),HR=typeof window<"u",gu=e=>WO=e,a_=Symbol(),(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xd||(xd={})),iy=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},Lc=typeof navigator=="object"?navigator:{userAgent:""},ay=/Macintosh/.test(Lc.userAgent)&&/AppleWebKit/.test(Lc.userAgent)&&!/Safari/.test(Lc.userAgent),VO=HR?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!ay?_V:"msSaveOrOpenBlob"in Lc?wV:SV:()=>{},{assign:EV}=Object,l_=()=>{},UO=e=>e(),ly=Symbol(),Wh=Symbol(),KO=Symbol(),{assign:Ci}=Object}));function qO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function OV(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&qO(e.default)}function ym(e,t){const r={};for(const n in t){const o=t[n];r[n]=no(o)?o.map(e):e(o)}return r}function jR(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function s_(e){return e==null?"":encodeURI(""+e).replace(o3,"|").replace(t3,"[").replace(r3,"]")}function AV(e){return s_(e).replace(f_,"{").replace(h_,"}").replace(u_,"^")}function sy(e){return s_(e).replace(d_,"%2B").replace(i3,"+").replace(c_,"%23").replace(ZO,"%26").replace(n3,"`").replace(f_,"{").replace(h_,"}").replace(u_,"^")}function IV(e){return sy(e).replace(QO,"%3D")}function FV(e){return s_(e).replace(c_,"%23").replace(e3,"%3F")}function zV(e){return FV(e).replace(JO,"%2F")}function Vd(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}function xm(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=BV(n??t,r),{fullPath:n+i+a,path:n,query:o,hash:Vd(a)}}function LV(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function WR(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MV(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&Ks(t.matched[n],r.matched[o])&&YO(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Ks(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function YO(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!DV(e[r],t[r]))return!1;return!0}function DV(e,t){return no(e)?VR(e,t):no(t)?VR(t,e):e?.valueOf()===t?.valueOf()}function VR(e,t){return no(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function BV(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 NV(e){if(!e)if(rl){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),a3(e)}function HV(e,t){return e.replace(l3,"#")+t}function jV(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 WV(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=jV(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 UR(e,t){return(history.state?history.state.position-t:-1)+e}function VV(e,t){Sv.set(e,t)}function UV(e){const t=Sv.get(e);return Sv.delete(e),t}function KV(e){return typeof e=="string"||e&&typeof e=="object"}function XO(e){return typeof e=="string"||typeof e=="symbol"}function Gs(e,t){return Bt(new Error,{type:e,[v_]:!0},t)}function di(e,t){return e instanceof Error&&v_ in e&&(t==null||!!(e.type&t))}function GV(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(d_," "),i=o.indexOf("="),a=Vd(i<0?o:o.slice(0,i)),l=i<0?null:Vd(o.slice(i+1));if(a in t){let s=t[a];no(s)||(s=t[a]=[s]),s.push(l)}else t[a]=l}return t}function KR(e){let t="";for(let r in e){const n=e[r];if(r=IV(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(no(n)?n.map(o=>o&&sy(o)):[n&&sy(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+r,o!=null&&(t+="="+o))})}return t}function qV(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=no(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}function Mc(){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 ea(e,t,r,n,o,i=a=>a()){const a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,s)=>{const c=g=>{g===!1?s(Gs(vr.NAVIGATION_ABORTED,{from:r,to:t})):g instanceof Error?s(g):KV(g)?s(Gs(vr.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(a&&n.enterCallbacks[o]===a&&typeof g=="function"&&a.push(g),l())},d=i(()=>e.call(n&&n.instances[o],t,r,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(g=>s(g))})}function Cm(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(qO(s)){const c=(s.__vccOpts||s)[t];c&&i.push(ea(c,r,n,a,l,o))}else{let c=s();i.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const u=OV(d)?d.default:d;a.mods[l]=d,a.components[l]=u;const g=(u.__vccOpts||u)[t];return g&&ea(g,r,n,a,l,o)()}))}}return i}function YV(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(c=>Ks(c,l))?n.push(l):r.push(l));const s=e.matched[a];s&&(t.matched.find(c=>Ks(c,s))||o.push(s))}return[r,n,o]}var rl,Bt,Os,no,c_,ZO,JO,QO,e3,d_,t3,r3,u_,n3,f_,o3,h_,i3,GR,a3,gi,wv,Vh,l3,mu,Sv,vr,v_,s3,cy,bu,ap,Rv,XV=f((()=>{G(),rl=typeof document<"u",Bt=Object.assign,Os=()=>{},no=Array.isArray,c_=/#/g,ZO=/&/g,JO=/\//g,QO=/=/g,e3=/\?/g,d_=/\+/g,t3=/%5B/g,r3=/%5D/g,u_=/%5E/g,n3=/%60/g,f_=/%7B/g,o3=/%7C/g,h_=/%7D/g,i3=/%20/g,GR=/\/$/,a3=e=>e.replace(GR,""),gi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wv=(function(e){return e.pop="pop",e.push="push",e})({}),Vh=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({}),l3=/^[^#]+#/,mu=()=>({left:window.scrollX,top:window.scrollY}),Sv=new Map,vr=(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})({}),v_=Symbol(""),vr.MATCHER_NOT_FOUND,vr.NAVIGATION_GUARD_REDIRECT,vr.NAVIGATION_ABORTED,vr.NAVIGATION_CANCELLED,vr.NAVIGATION_DUPLICATED,s3=Symbol(""),cy=Symbol(""),bu=Symbol(""),ap=Symbol(""),Rv=Symbol("")}));function c3(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),WR(l,"")}return WR(r,e)+n+o}function ZV(e,t,r,n){let o=[],i=[],a=null;const l=({state:g})=>{const m=c3(e,location),h=r.value,p=t.value;let b=0;if(g){if(r.value=m,t.value=g,a&&a===h){a=null;return}b=p?g.position-p.position:0}else n(m);o.forEach(y=>{y(r.value,h,{delta:b,type:wv.pop,direction:b?b>0?Vh.forward:Vh.back:Vh.unknown})})};function s(){a=r.value}function c(g){o.push(g);const m=()=>{const h=o.indexOf(g);h>-1&&o.splice(h,1)};return i.push(m),m}function d(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(Bt({},g.state,{scroll:mu()}),"")}}function u(){for(const g of i)g();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:s,listen:c,destroy:u}}function qR(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?mu():null}}function JV(e){const{history:t,location:r}=window,n={value:c3(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,c,d){const u=e.indexOf("#"),g=u>-1?(r.host&&document.querySelector("base")?e:e.slice(u))+s:f3()+e+s;try{t[d?"replaceState":"pushState"](c,"",g),o.value=c}catch(m){console.error(m),r[d?"replace":"assign"](g)}}function a(s,c){i(s,Bt({},t.state,qR(o.value.back,s,o.value.forward,!0),c,{position:o.value.position}),!0),n.value=s}function l(s,c){const d=Bt({},o.value,t.state,{forward:s,scroll:mu()});i(d.current,d,!0),i(s,Bt({},qR(n.value,s,null),{position:d.position+1},c),!1),n.value=s}return{location:n,state:o,push:l,replace:a}}function QV(e){e=NV(e);const t=JV(e),r=ZV(e,t.state,t.location,t.replace);function n(i,a=!0){a||r.pauseListeners(),history.go(i)}const o=Bt({location:"",base:e,go:n,createHref:HV.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 eU(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),QV(e)}function tU(e){if(!e)return[[]];if(e==="/")return[[h3]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${r})/"${c}": ${m}`)}let r=Ar.Static,n=r;const o=[];let i;function a(){i&&o.push(i),i=[]}let l=0,s,c="",d="";function u(){c&&(r===Ar.Static?i.push({type:ra.Static,value:c}):r===Ar.Param||r===Ar.ParamRegExp||r===Ar.ParamRegExpEnd?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:ra.Param,value:c,regexp:d,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function g(){c+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&r!==Ar.ParamRegExp){n=r,r=Ar.EscapeNext;continue}switch(r){case Ar.Static:s==="/"?(c&&u(),a()):s===":"?(u(),r=Ar.Param):g();break;case Ar.EscapeNext:g(),r=n;break;case Ar.Param:s==="("?r=Ar.ParamRegExp:v3.test(s)?g():(u(),r=Ar.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case Ar.ParamRegExp:s===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+s:r=Ar.ParamRegExpEnd:d+=s;break;case Ar.ParamRegExpEnd:u(),r=Ar.Static,s!=="*"&&s!=="?"&&s!=="+"&&l--,d="";break;default:t("Unknown state");break}}return r===Ar.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),u(),a(),o}function rU(e,t){const r=Bt({},p3,t),n=[];let o=r.start?"^":"";const i=[];for(const c of e){const d=c.length?[]:[rn.Root];r.strict&&!c.length&&(o+="/");for(let u=0;u<c.length;u++){const g=c[u];let m=rn.Segment+(r.sensitive?rn.BonusCaseSensitive:0);if(g.type===ra.Static)u||(o+="/"),o+=g.value.replace(g3,"\\$&"),m+=rn.Static;else if(g.type===ra.Param){const{value:h,repeatable:p,optional:b,regexp:y}=g;i.push({name:h,repeatable:p,optional:b});const x=y||dy;if(x!==dy){m+=rn.BonusCustomRegExp;try{`${x}`}catch(_){throw new Error(`Invalid custom RegExp for param "${h}" (${x}): `+_.message)}}let C=p?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;u||(C=b&&c.length<2?`(?:/${C})`:"/"+C),b&&(C+="?"),o+=C,m+=rn.Dynamic,b&&(m+=rn.BonusOptional),p&&(m+=rn.BonusRepeatable),x===".*"&&(m+=rn.BonusWildcard)}d.push(m)}n.push(d)}if(r.strict&&r.end){const c=n.length-1;n[c][n[c].length-1]+=rn.BonusStrict}r.strict||(o+="/?"),r.end?o+="$":r.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,r.sensitive?"":"i");function l(c){const d=c.match(a),u={};if(!d)return null;for(let g=1;g<d.length;g++){const m=d[g]||"",h=i[g-1];u[h.name]=m&&h.repeatable?m.split("/"):m}return u}function s(c){let d="",u=!1;for(const g of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const m of g)if(m.type===ra.Static)d+=m.value;else if(m.type===ra.Param){const{value:h,repeatable:p,optional:b}=m,y=h in c?c[h]:"";if(no(y)&&!p)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const x=no(y)?y.join("/"):y;if(!x)if(b)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${h}"`);d+=x}}return d||"/"}return{re:a,score:n,keys:i,parse:l,stringify:s}}function nU(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]===rn.Static+rn.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===rn.Static+rn.Segment?1:-1:0}function d3(e,t){let r=0;const n=e.score,o=t.score;for(;r<n.length&&r<o.length;){const i=nU(n[r],o[r]);if(i)return i;r++}if(Math.abs(o.length-n.length)===1){if(YR(n))return 1;if(YR(o))return-1}return o.length-n.length}function YR(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}function oU(e,t,r){const n=Bt(rU(tU(e.path),r),{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function iU(e,t){const r=[],n=new Map;t=jR(m3,t);function o(u){return n.get(u)}function i(u,g,m){const h=!m,p=ZR(u);p.aliasOf=m&&m.record;const b=jR(t,u),y=[p];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const S of _)y.push(ZR(Bt({},p,{components:m?m.record.components:p.components,path:S,aliasOf:m?m.record:p})))}let x,C;for(const _ of y){const{path:S}=_;if(g&&S[0]!=="/"){const R=g.record.path,w=R[R.length-1]==="/"?"":"/";_.path=g.record.path+(S&&w+S)}if(x=oU(_,g,b),m?m.alias.push(x):(C=C||x,C!==x&&C.alias.push(x),h&&u.name&&!JR(x)&&a(u.name)),u3(x)&&s(x),p.children){const R=p.children;for(let w=0;w<R.length;w++)i(R[w],x,m&&m.children[w])}m=m||x}return C?()=>{a(C)}:Os}function a(u){if(XO(u)){const g=n.get(u);g&&(n.delete(u),r.splice(r.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=r.indexOf(u);g>-1&&(r.splice(g,1),u.record.name&&n.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function l(){return r}function s(u){const g=sU(u,r);r.splice(g,0,u),u.record.name&&!JR(u)&&n.set(u.record.name,u)}function c(u,g){let m,h={},p,b;if("name"in u&&u.name){if(m=n.get(u.name),!m)throw Gs(vr.MATCHER_NOT_FOUND,{location:u});b=m.record.name,h=Bt(XR(g.params,m.keys.filter(C=>!C.optional).concat(m.parent?m.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&XR(u.params,m.keys.map(C=>C.name))),p=m.stringify(h)}else if(u.path!=null)p=u.path,m=r.find(C=>C.re.test(p)),m&&(h=m.parse(p),b=m.record.name);else{if(m=g.name?n.get(g.name):r.find(C=>C.re.test(g.path)),!m)throw Gs(vr.MATCHER_NOT_FOUND,{location:u,currentLocation:g});b=m.record.name,h=Bt({},g.params,u.params),p=m.stringify(h)}const y=[];let x=m;for(;x;)y.unshift(x.record),x=x.parent;return{name:b,path:p,params:h,matched:y,meta:lU(y)}}e.forEach(u=>i(u));function d(){r.length=0,n.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:d,getRoutes:l,getRecordMatcher:o}}function XR(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function ZR(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aU(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 aU(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 JR(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lU(e){return e.reduce((t,r)=>Bt(t,r.meta),{})}function sU(e,t){let r=0,n=t.length;for(;r!==n;){const i=r+n>>1;d3(e,t[i])<0?n=i:r=i+1}const o=cU(e);return o&&(n=t.lastIndexOf(o,n-1)),n}function cU(e){let t=e;for(;t=t.parent;)if(u3(t)&&d3(e,t)===0)return t}function u3({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function QR(e){const t=Ne(bu),r=Ne(ap),n=F(()=>{const s=ir(e.to);return t.resolve(s)}),o=F(()=>{const{matched:s}=n.value,{length:c}=s,d=s[c-1],u=r.matched;if(!d||!u.length)return-1;const g=u.findIndex(Ks.bind(null,d));if(g>-1)return g;const m=ek(s[c-2]);return c>1&&ek(d)===m&&u[u.length-1].path!==m?u.findIndex(Ks.bind(null,s[c-2])):g}),i=F(()=>o.value>-1&&fU(r.params,n.value.params)),a=F(()=>o.value>-1&&o.value===r.matched.length-1&&YO(r.params,n.value.params));function l(s={}){if(uU(s)){const c=t[ir(e.replace)?"replace":"push"](ir(e.to)).catch(Os);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:F(()=>n.value.href),isActive:i,isExactActive:a,navigate:l}}function dU(e){return e.length===1?e[0]:e}function uU(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 fU(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(!no(o)||o.length!==n.length||n.some((i,a)=>i.valueOf()!==o[a].valueOf()))return!1}return!0}function ek(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function tk(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}function hU(e){const t=iU(e.routes,e),r=e.parseQuery||GV,n=e.stringifyQuery||KR,o=e.history,i=Mc(),a=Mc(),l=Mc(),s=ic(gi);let c=gi;rl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ym.bind(null,le=>""+le),u=ym.bind(null,zV),g=ym.bind(null,Vd);function m(le,be){let re,ae;return XO(le)?(re=t.getRecordMatcher(le),ae=be):ae=le,t.addRoute(ae,re)}function h(le){const be=t.getRecordMatcher(le);be&&t.removeRoute(be)}function p(){return t.getRoutes().map(le=>le.record)}function b(le){return!!t.getRecordMatcher(le)}function y(le,be){if(be=Bt({},be||s.value),typeof le=="string"){const U=xm(r,le,be.path),ie=t.resolve({path:U.path},be),Ce=o.createHref(U.fullPath);return Bt(U,ie,{params:g(ie.params),hash:Vd(U.hash),redirectedFrom:void 0,href:Ce})}let re;if(le.path!=null)re=Bt({},le,{path:xm(r,le.path,be.path).path});else{const U=Bt({},le.params);for(const ie in U)U[ie]==null&&delete U[ie];re=Bt({},le,{params:u(U)}),be.params=u(be.params)}const ae=t.resolve(re,be),ke=le.hash||"";ae.params=d(g(ae.params));const Le=LV(n,Bt({},le,{hash:AV(ke),path:ae.path})),I=o.createHref(Le);return Bt({fullPath:Le,hash:ke,query:n===KR?qV(le.query):le.query||{}},ae,{redirectedFrom:void 0,href:I})}function x(le){return typeof le=="string"?xm(r,le,s.value.path):Bt({},le)}function C(le,be){if(c!==le)return Gs(vr.NAVIGATION_CANCELLED,{from:be,to:le})}function _(le){return w(le)}function S(le){return _(Bt(x(le),{replace:!0}))}function R(le,be){const re=le.matched[le.matched.length-1];if(re&&re.redirect){const{redirect:ae}=re;let ke=typeof ae=="function"?ae(le,be):ae;return typeof ke=="string"&&(ke=ke.includes("?")||ke.includes("#")?ke=x(ke):{path:ke},ke.params={}),Bt({query:le.query,hash:le.hash,params:ke.path!=null?{}:le.params},ke)}}function w(le,be){const re=c=y(le),ae=s.value,ke=le.state,Le=le.force,I=le.replace===!0,U=R(re,ae);if(U)return w(Bt(x(U),{state:typeof U=="object"?Bt({},ke,U.state):ke,force:Le,replace:I}),be||re);const ie=re;ie.redirectedFrom=be;let Ce;return!Le&&MV(n,ae,re)&&(Ce=Gs(vr.NAVIGATION_DUPLICATED,{to:ie,from:ae}),se(ae,ae,!0,!1)),(Ce?Promise.resolve(Ce):z(ie,ae)).catch(M=>di(M)?di(M,vr.NAVIGATION_GUARD_REDIRECT)?M:Se(M):Q(M,ie,ae)).then(M=>{if(M){if(di(M,vr.NAVIGATION_GUARD_REDIRECT))return w(Bt({replace:I},x(M.to),{state:typeof M.to=="object"?Bt({},ke,M.to.state):ke,force:Le}),be||ie)}else M=N(ie,ae,!0,I,ke);return A(ie,ae,M),M})}function T(le,be){const re=C(le,be);return re?Promise.reject(re):Promise.resolve()}function E(le){const be=oe.values().next().value;return be&&typeof be.runWithContext=="function"?be.runWithContext(le):le()}function z(le,be){let re;const[ae,ke,Le]=YV(le,be);re=Cm(ae.reverse(),"beforeRouteLeave",le,be);for(const U of ae)U.leaveGuards.forEach(ie=>{re.push(ea(ie,le,be))});const I=T.bind(null,le,be);return re.push(I),Pe(re).then(()=>{re=[];for(const U of i.list())re.push(ea(U,le,be));return re.push(I),Pe(re)}).then(()=>{re=Cm(ke,"beforeRouteUpdate",le,be);for(const U of ke)U.updateGuards.forEach(ie=>{re.push(ea(ie,le,be))});return re.push(I),Pe(re)}).then(()=>{re=[];for(const U of Le)if(U.beforeEnter)if(no(U.beforeEnter))for(const ie of U.beforeEnter)re.push(ea(ie,le,be));else re.push(ea(U.beforeEnter,le,be));return re.push(I),Pe(re)}).then(()=>(le.matched.forEach(U=>U.enterCallbacks={}),re=Cm(Le,"beforeRouteEnter",le,be,E),re.push(I),Pe(re))).then(()=>{re=[];for(const U of a.list())re.push(ea(U,le,be));return re.push(I),Pe(re)}).catch(U=>di(U,vr.NAVIGATION_CANCELLED)?U:Promise.reject(U))}function A(le,be,re){l.list().forEach(ae=>E(()=>ae(le,be,re)))}function N(le,be,re,ae,ke){const Le=C(le,be);if(Le)return Le;const I=be===gi,U=rl?history.state:{};re&&(ae||I?o.replace(le.fullPath,Bt({scroll:I&&U&&U.scroll},ke)):o.push(le.fullPath,ke)),s.value=le,se(le,be,re,I),Se()}let L;function H(){L||(L=o.listen((le,be,re)=>{if(!ue.listening)return;const ae=y(le),ke=R(ae,ue.currentRoute.value);if(ke){w(Bt(ke,{replace:!0,force:!0}),ae).catch(Os);return}c=ae;const Le=s.value;rl&&VV(UR(Le.fullPath,re.delta),mu()),z(ae,Le).catch(I=>di(I,vr.NAVIGATION_ABORTED|vr.NAVIGATION_CANCELLED)?I:di(I,vr.NAVIGATION_GUARD_REDIRECT)?(w(Bt(x(I.to),{force:!0}),ae).then(U=>{di(U,vr.NAVIGATION_ABORTED|vr.NAVIGATION_DUPLICATED)&&!re.delta&&re.type===wv.pop&&o.go(-1,!1)}).catch(Os),Promise.reject()):(re.delta&&o.go(-re.delta,!1),Q(I,ae,Le))).then(I=>{I=I||N(ae,Le,!1),I&&(re.delta&&!di(I,vr.NAVIGATION_CANCELLED)?o.go(-re.delta,!1):re.type===wv.pop&&di(I,vr.NAVIGATION_ABORTED|vr.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),A(ae,Le,I)}).catch(Os)}))}let W=Mc(),Y=Mc(),J;function Q(le,be,re){Se(le);const ae=Y.list();return ae.length?ae.forEach(ke=>ke(le,be,re)):console.error(le),Promise.reject(le)}function fe(){return J&&s.value!==gi?Promise.resolve():new Promise((le,be)=>{W.add([le,be])})}function Se(le){return J||(J=!le,H(),W.list().forEach(([be,re])=>le?re(le):be()),W.reset()),le}function se(le,be,re,ae){const{scrollBehavior:ke}=e;if(!rl||!ke)return Promise.resolve();const Le=!re&&UV(UR(le.fullPath,0))||(ae||!re)&&history.state&&history.state.scroll||null;return zt().then(()=>ke(le,be,Le)).then(I=>I&&WV(I)).catch(I=>Q(I,le,be))}const ye=le=>o.go(le);let de;const oe=new Set,ue={currentRoute:s,listening:!0,addRoute:m,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:p,resolve:y,options:e,push:_,replace:S,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:Y.add,isReady:fe,install(le){le.component("RouterLink",b3),le.component("RouterView",y3),le.config.globalProperties.$router=ue,Object.defineProperty(le.config.globalProperties,"$route",{enumerable:!0,get:()=>ir(s)}),rl&&!de&&s.value===gi&&(de=!0,_(o.location).catch(ae=>{}));const be={};for(const ae in gi)Object.defineProperty(be,ae,{get:()=>s.value[ae],enumerable:!0});le.provide(bu,ue),le.provide(ap,SC(be)),le.provide(Rv,s);const re=le.unmount;oe.add(le),le.unmount=function(){oe.delete(le),oe.size<1&&(c=gi,L&&L(),L=null,s.value=gi,de=!1,J=!1),re()}}};function Pe(le){return le.reduce((be,re)=>be.then(()=>E(re)),Promise.resolve())}return ue}function vU(){return Ne(bu)}function pU(e){return Ne(ap)}var f3,ra,Ar,h3,v3,dy,p3,rn,g3,m3,b3,_m,rk,y3,p_=f((()=>{XV(),G(),f3=()=>location.protocol+"//"+location.host,ra=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({}),Ar=(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})(Ar||{}),h3={type:ra.Static,value:""},v3=/[a-zA-Z0-9_]/,dy="[^/]+?",p3={sensitive:!1,strict:!1,start:!0,end:!0},rn=(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})(rn||{}),g3=/[.+*?^${}()[\]/\\]/g,m3={strict:!1,end:!0,sensitive:!1},b3=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:QR,setup(e,{slots:t}){const r=Jo(QR(e)),{options:n}=Ne(bu),o=F(()=>({[_m(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[_m(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&dU(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)}}}),_m=(e,t,r)=>e??t??r,rk=Re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Ne(Rv),o=F(()=>e.route||n.value),i=Ne(cy,0),a=F(()=>{let c=ir(i);const{matched:d}=o.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),l=F(()=>o.value.matched[a.value]);st(cy,F(()=>a.value+1)),st(s3,l),st(Rv,o);const s=K();return nt(()=>[s.value,l.value,e.name],([c,d,u],[g,m,h])=>{d&&(d.instances[u]=c,m&&m!==d&&c&&c===g&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!Ks(d,m)||!g)&&(d.enterCallbacks[u]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,u=l.value,g=u&&u.components[d];if(!g)return tk(r.default,{Component:g,route:c});const m=u.props[d],h=m?m===!0?c.params:typeof m=="function"?m(c):m:null,b=v(g,Bt({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(u.instances[d]=null)},ref:s}));return tk(r.default,{Component:b,route:c})||b}}}),y3=rk}));function gU(){return typeof window<"u"&&window.hermesDesktop?.isDesktop===!0}async function mU(){if(typeof window>"u"||yu())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function x3(){return gU()?fy:localStorage.getItem("hermes_server_url")||fy}function yu(){return localStorage.getItem("hermes_api_key")||""}function bhe(e){localStorage.setItem("hermes_api_key",e)}function bU(){localStorage.removeItem("hermes_api_key")}function nk(){bU(),localStorage.removeItem(g_)}function Ud(){return!!yu()}function yU(){const e=yu().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 xU(){return yU()==="super_admin"}function yhe(){const e=yu().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 CU(){return localStorage.getItem(g_)}function _U(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 wU(e,t){try{const r=new URL(e,"http://hermes.local");if(r.searchParams.has("profile")||r.pathname.startsWith("/api/hermes/profiles")||ok(r.pathname))return!1}catch{if(e.startsWith("/api/hermes/profiles")||ok(e.split("?")[0]||e))return!1}return!_U(t.body)}function ok(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 wm(e){typeof window>"u"||window.dispatchEvent(new CustomEvent("hermes-auth-notice",{detail:{kind:e}}))}function uy(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=uy(t[r]);if(n)return n}if(Array.isArray(e))return e.map(uy).filter(Boolean).join(`
5
- `);try{return JSON.stringify(e)}catch{return String(e)}}function SU(e,t){const r=e.trim();if(!r)return t;try{return uy(JSON.parse(r))||r}catch{return r}}async function Ir(e,t={}){await mU();const r=`${x3()}${e}`,n={...typeof FormData<"u"&&t.body instanceof FormData?{}:{"Content-Type":"application/json"},...t.headers},o=yu();o&&(n.Authorization=`Bearer ${o}`);const i=CU();i&&wU(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 nk(),wm("expired"),na.currentRoute.value.name!=="login"&&na.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")?(nk(),wm("expired"),na.currentRoute.value.name!=="login"&&na.replace({name:"login"})):wm("forbidden")),new Error(`API Error ${a.status}: ${SU(s,a.statusText)}`)}return a.json()}function xhe(){return x3()}var fy,g_,m_=f((()=>{C3(),fy="",g_="hermes_active_profile_name"})),ik,ak,Sm,dt,lp=f((()=>{ik="modulepreload",ak=function(e){return"/"+e},Sm={},dt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let c=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");o=c(r.map(d=>{if(d=ak(d,n),d in Sm)return;Sm[d]=!0;const u=d.endsWith(".css"),g=u?'[rel="stylesheet"]':"";if(n)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===d&&(!u||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${g}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":ik,u||(m.as="script"),m.crossOrigin="",m.href=d,s&&m.setAttribute("nonce",s),document.head.appendChild(m),u)return new Promise((h,p)=>{m.addEventListener("load",h),m.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${d}`)))})}))}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 RU(){if(Ud())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function kU(){return window.hermesDesktop?.isDesktop===!0}var na,C3=f((()=>{p_(),m_(),lp(),na=hU({history:eU(),routes:[{path:"/desktop-pet",name:"desktop.pet",component:()=>dt(()=>import("./DesktopPetView-C2QyaxNu.js"),__vite__mapDeps([0,1,2,3,4,5,6])),meta:{public:!0}},{path:"/",name:"login",component:()=>dt(()=>import("./LoginView-BMnZx434.js"),__vite__mapDeps([7,8,9])),meta:{public:!0}},{path:"/hermes/chat",name:"hermes.chat",component:()=>dt(()=>import("./ChatView-BSWI-pr1.js"),__vite__mapDeps([10,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]))},{path:"/hermes/session/:sessionId",name:"hermes.session",component:()=>dt(()=>import("./ChatView-BSWI-pr1.js"),__vite__mapDeps([10,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]))},{path:"/hermes/history",name:"hermes.history",component:()=>dt(()=>import("./HistoryView-DukXpB7A.js"),__vite__mapDeps([52,11,2,12,13,14,4,15,16,17,23,24,53,26,27,31,32,33,34,35,21,30,36,54,41,42,55,56,49,57]))},{path:"/hermes/history/session/:sessionId",name:"hermes.historySession",component:()=>dt(()=>import("./HistoryView-DukXpB7A.js"),__vite__mapDeps([52,11,2,12,13,14,4,15,16,17,23,24,53,26,27,31,32,33,34,35,21,30,36,54,41,42,55,56,49,57]))},{path:"/hermes/global-agent",name:"hermes.globalAgent",component:()=>dt(()=>import("./GlobalAgentView-CGRn1ucS.js"),__vite__mapDeps([58,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,59]))},{path:"/hermes/global-agent/session/:sessionId",name:"hermes.globalAgentSession",component:()=>dt(()=>import("./GlobalAgentView-CGRn1ucS.js"),__vite__mapDeps([58,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,59]))},{path:"/hermes/jobs",name:"hermes.jobs",component:()=>dt(()=>import("./JobsView-C2IfX4Oo.js"),__vite__mapDeps([60,13,4,28,61]))},{path:"/hermes/kanban",name:"hermes.kanban",component:()=>dt(()=>import("./KanbanView-BFLDXNmq.js"),__vite__mapDeps([62,32,33,4,28,53,26,27,11,2,12,13,14,15,16,17,31,34,35,21,30,36,54,63]))},{path:"/hermes/workflow",name:"hermes.workflow",component:()=>dt(()=>import("./WorkflowView-DCQycw5y.js"),__vite__mapDeps([64,32,33,2,12,11,13,14,4,15,16,17,21,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,55,56,65]))},{path:"/hermes/models",name:"hermes.models",component:()=>dt(()=>import("./ModelsView-Cdl5HVlO.js"),__vite__mapDeps([66,11,2,12,13,14,4,15,16,17,67,35,68]))},{path:"/hermes/profiles",name:"hermes.profiles",component:()=>dt(()=>import("./ProfilesView-CPcFsEMn.js"),__vite__mapDeps([69,32,33,4,70])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/logs",name:"hermes.logs",component:()=>dt(()=>import("./LogsView-CFxOjMBB.js"),__vite__mapDeps([71,72]))},{path:"/hermes/usage",name:"hermes.usage",component:()=>dt(()=>import("./UsageView-gENmuPca.js"),__vite__mapDeps([73,4,15,74]))},{path:"/hermes/performance",name:"hermes.performance",component:()=>dt(()=>import("./PerformanceView-asJG1CAC.js"),__vite__mapDeps([75,76])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/journey",name:"hermes.journey",component:()=>dt(()=>import("./JourneyView-UX14Uvsk.js"),__vite__mapDeps([77,4,28,78]))},{path:"/hermes/skills-usage",name:"hermes.skillsUsage",component:()=>dt(()=>import("./SkillsUsageView-Cvk_dctX.js"),__vite__mapDeps([79,4,28,80]))},{path:"/hermes/skills",name:"hermes.skills",component:()=>dt(()=>import("./SkillsView-BrS15WHY.js"),__vite__mapDeps([81,4,28,82]))},{path:"/hermes/plugins",name:"hermes.plugins",component:()=>dt(()=>import("./PluginsView-CiiHUv8H.js"),__vite__mapDeps([83,4,84]))},{path:"/hermes/petdex",name:"hermes.petdex",component:()=>dt(()=>import("./PetdexView-CgsImZ2C.js"),__vite__mapDeps([85,3,86]))},{path:"/hermes/memory",name:"hermes.memory",component:()=>dt(()=>import("./MemoryView-CGvbW1Yq.js"),__vite__mapDeps([87,4,28,88]))},{path:"/hermes/settings",name:"hermes.settings",component:()=>dt(()=>import("./SettingsView-Bd02BnM7.js"),__vite__mapDeps([89,32,33,8,13,4,29,30,90,91,67,49,37,16,92]))},{path:"/hermes/channels",name:"hermes.channels",component:()=>dt(()=>import("./ChannelsView-DMyeoPl6.js"),__vite__mapDeps([93,13,4,90,91,94]))},{path:"/hermes/terminal",name:"hermes.terminal",component:()=>dt(()=>import("./TerminalView-Betjhhzm.js"),__vite__mapDeps([95,44,45,96])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/devices",name:"hermes.devices",component:()=>dt(()=>import("./DevicesView-3VMSlXCt.js"),__vite__mapDeps([97,35,98])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/group-chat",name:"hermes.groupChat",component:()=>dt(()=>import("./GroupChatView-GXbwwUn9.js"),__vite__mapDeps([99,32,33,2,34,35,26,27,8,13,14,23,24,4,30,39,40,37,17,100]))},{path:"/hermes/group-chat/room/:roomId",name:"hermes.groupChatRoom",component:()=>dt(()=>import("./GroupChatView-GXbwwUn9.js"),__vite__mapDeps([99,32,33,2,34,35,26,27,8,13,14,23,24,4,30,39,40,37,17,100]))},{path:"/hermes/files",name:"hermes.files",component:()=>dt(()=>import("./FilesView-BlJtiYU7.js"),__vite__mapDeps([101,19,20,21,15,22,4,47,34,35,14,48,102]))},{path:"/hermes/coding-agents",name:"hermes.codingAgents",component:()=>dt(()=>import("./CodingAgentsView-DGweBEVs.js"),__vite__mapDeps([103,12,4,43,44,45,46,104]))},{path:"/hermes/version-preview",name:"hermes.versionPreview",component:()=>dt(()=>import("./VersionPreviewView-D4wMkRdU.js"),__vite__mapDeps([105,106])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/mcp",name:"hermes.mcp",component:()=>dt(()=>import("./McpManagerView-D46nhm85.js"),__vite__mapDeps([107,108]))}]}),na.beforeEach(async(e,t,r)=>{if(await RU(),e.meta.public){if(e.name==="login"&&Ud()&&!kU()){r({path:"/hermes/chat"});return}r();return}if(!Ud()){r({name:"login"});return}if(e.meta.requiresSuperAdmin&&!xU()){r({name:"hermes.chat"});return}r()})}));function PU(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}function lk(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 TU(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 b_(e){return w3.test(e)}function $U(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,c=null;for(;l<e.length;l++){const g=e[l];if(c){g===c&&(c=null);continue}if(g==='"'||g==="'")c=g;else if(g==="(")s++;else if(g===")"&&(s--,s===0))break}if(s!==0)break;const d=e.slice(a+1,l).trim(),u=d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'")?d.slice(1,-1).trim():d;r+=e.slice(n,i),r+=b_(u)?"url(about:blank)":e.slice(i,l+1),n=l+1}return r+e.slice(n)}function sk(e,t){return S3.test(e)&&b_(t)?"about:blank":TU(e.toLowerCase()==="style"?$U(t):t)}function EU(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,r,n)=>`${r}="${sk(r,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,r,n)=>`${r}='${sk(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)=>b_(n)?`${r}about:blank`:t),e}function Jn(e,t){return R3.call(e,t)}function y_(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function Uh(e,t){if(od(e)||od(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__"&&(Lt(n[i])&&!Lt(o[i])&&(o[i]=Array.isArray(n[i])?[]:Kt()),od(o[i])||od(n[i])?o[i]=n[i]:r.push({src:n[i],des:o[i]}))})}}var Kd,jo,_3,ck,Pr,x_,xl,xu,Tr,dk,Kt,uk,oa,w3,S3,R3,pr,dr,Qe,It,Lt,k3,Rm,hh,Ot,P3,od,C_=f((()=>{Kd=typeof window<"u",jo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_3=(e,t,r)=>ck({l:e,k:t,s:r}),ck=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Pr=e=>typeof e=="number"&&isFinite(e),x_=e=>hh(e)==="[object Date]",xl=e=>hh(e)==="[object RegExp]",xu=e=>Ot(e)&&Object.keys(e).length===0,Tr=Object.assign,dk=Object.create,Kt=(e=null)=>dk(e),oa=()=>uk||(uk=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Kt()),w3=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,S3=/^(?:href|src|action|formaction)$/i,R3=Object.prototype.hasOwnProperty,pr=Array.isArray,dr=e=>typeof e=="function",Qe=e=>typeof e=="string",It=e=>typeof e=="boolean",Lt=e=>e!==null&&typeof e=="object",k3=e=>Lt(e)&&dr(e.then)&&dr(e.catch),Rm=Object.prototype.toString,hh=e=>Rm.call(e),Ot=e=>hh(e)==="[object Object]",P3=e=>e==null?"":pr(e)||Ot(e)&&e.toString===Rm?JSON.stringify(e,null,2):String(e),od=e=>!Lt(e)||pr(e)}));function OU(e,t,r){return{line:e,column:t,offset:r}}function hy(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}function sp(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 AU(e){throw e}function IU(e){const t=e;let r=0,n=1,o=1,i=0;const a=w=>t[w]===T3&&t[w+1]===qr,l=w=>t[w]===qr,s=w=>t[w]===E3,c=w=>t[w]===$3,d=w=>a(w)||l(w)||s(w)||c(w),u=()=>r,g=()=>n,m=()=>o,h=()=>i,p=w=>a(w)||s(w)||c(w)?qr:t[w],b=()=>p(r),y=()=>p(r+i);function x(){return i=0,d(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function C(){return a(r+i)&&i++,i++,t[r+i]}function _(){r=0,n=1,o=1,i=0}function S(w=0){i=w}function R(){const w=r+i;for(;w!==r;)x();i=0}return{index:u,line:g,column:m,peekOffset:h,charAt:p,currentChar:b,currentPeek:y,next:x,peek:C,reset:_,resetPeek:S,skipToPeek:R}}function FU(e,t={}){const r=t.location!==!1,n=IU(e),o=()=>n.index(),i=()=>OU(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:""},c=()=>s,{onError:d}=t;function u($,O,Z,...ne){const X=c();O.column+=Z,O.offset+=Z,d&&d(sp($,r?hy(X.startLoc,O):null,{domain:A3,args:ne}))}function g($,O,Z){$.endLoc=i(),$.currentType=O;const ne={type:O};return r&&(ne.loc=hy($.startLoc,$.endLoc)),Z!=null&&(ne.value=Z),ne}const m=$=>g($,13);function h($,O){return $.currentChar()===O?($.next(),O):(u(ht.EXPECTED_TOKEN,i(),0,O),"")}function p($){let O="";for(;$.currentPeek()===yo||$.currentPeek()===qr;)O+=$.currentPeek(),$.peek();return O}function b($){const O=p($);return $.skipToPeek(),O}function y($){if($===mi)return!1;const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O===95}function x($){if($===mi)return!1;const O=$.charCodeAt(0);return O>=48&&O<=57}function C($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=y($.currentPeek());return $.resetPeek(),ne}function _($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=x($.currentPeek()==="-"?$.peek():$.currentPeek());return $.resetPeek(),ne}function S($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=$.currentPeek()===vy;return $.resetPeek(),ne}function R($,O){const{currentType:Z}=O;if(Z!==7)return!1;p($);const ne=$.currentPeek()===".";return $.resetPeek(),ne}function w($,O){const{currentType:Z}=O;if(Z!==8)return!1;p($);const ne=y($.currentPeek());return $.resetPeek(),ne}function T($,O){const{currentType:Z}=O;if(!(Z===7||Z===11))return!1;p($);const ne=$.currentPeek()===":";return $.resetPeek(),ne}function E($,O){const{currentType:Z}=O;if(Z!==9)return!1;const ne=()=>{const V=$.currentPeek();return V==="{"?y($.peek()):V==="@"||V==="|"||V===":"||V==="."||V===yo||!V?!1:V===qr?($.peek(),ne()):A($,!1)},X=ne();return $.resetPeek(),X}function z($){p($);const O=$.currentPeek()==="|";return $.resetPeek(),O}function A($,O=!0){const Z=(X=!1,V="")=>{const P=$.currentPeek();return P==="{"||P==="@"||!P?X:P==="|"?!(V===yo||V===qr):P===yo?($.peek(),Z(!0,yo)):P===qr?($.peek(),Z(!0,qr)):!0},ne=Z();return O&&$.resetPeek(),ne}function N($,O){const Z=$.currentChar();if(Z!==mi)return O(Z)?($.next(),Z):null}function L($){const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36}function H($){return N($,L)}function W($){const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36||O===45}function Y($){return N($,W)}function J($){const O=$.charCodeAt(0);return O>=48&&O<=57}function Q($){return N($,J)}function fe($){const O=$.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}function Se($){return N($,fe)}function se($){let O="",Z="";for(;O=Q($);)Z+=O;return Z}function ye($){let O="";for(;;){const Z=$.currentChar();if(Z==="\\"){const ne=$.peek();ne==="{"||ne==="}"||ne==="@"||ne==="|"||ne==="\\"?(O+=Z+ne,$.next(),$.next()):($.resetPeek(),O+=Z,$.next())}else{if(Z==="{"||Z==="}"||Z==="@"||Z==="|"||!Z)break;if(Z===yo||Z===qr)if(A($))O+=Z,$.next();else{if(z($))break;O+=Z,$.next()}else O+=Z,$.next()}}return O}function de($){b($);let O="",Z="";for(;O=Y($);)Z+=O;const ne=$.currentChar();if(ne&&ne!=="}"&&ne!==mi&&ne!==yo&&ne!==qr&&ne!==" "){const X=ae($);return u(ht.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z+X),Z+X}return $.currentChar()===mi&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z}function oe($){b($);let O="";return $.currentChar()==="-"?($.next(),O+=`-${se($)}`):O+=se($),$.currentChar()===mi&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),O}function ue($){return $!==vy&&$!==qr}function Pe($){b($),h($,"'");let O="",Z="";for(;O=N($,ue);)O==="\\"?Z+=le($):Z+=O;const ne=$.currentChar();return ne===qr||ne===mi?(u(ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),ne===qr&&($.next(),h($,"'")),Z):(h($,"'"),Z)}function le($){const O=$.currentChar();switch(O){case"\\":case"'":return $.next(),`\\${O}`;case"u":return be($,O,4);case"U":return be($,O,6);default:return u(ht.UNKNOWN_ESCAPE_SEQUENCE,i(),0,O),""}}function be($,O,Z){h($,O);let ne="";for(let X=0;X<Z;X++){const V=Se($);if(!V){u(ht.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${O}${ne}${$.currentChar()}`);break}ne+=V}return`\\${O}${ne}`}function re($){return $!=="{"&&$!=="}"&&$!==yo&&$!==qr}function ae($){b($);let O="",Z="";for(;O=N($,re);)Z+=O;return Z}function ke($){let O="",Z="";for(;O=H($);)Z+=O;return Z}function Le($){const O=Z=>{const ne=$.currentChar();return ne==="{"||ne==="@"||ne==="|"||ne==="("||ne===")"||!ne||ne===yo?Z:(Z+=ne,$.next(),O(Z))};return O("")}function I($){b($);const O=h($,"|");return b($),O}function U($,O){let Z=null;switch($.currentChar()){case"{":return O.braceNest>=1&&u(ht.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),Z=g(O,2,"{"),b($),O.braceNest++,Z;case"}":return O.braceNest>0&&O.currentType===2&&u(ht.EMPTY_PLACEHOLDER,i(),0),$.next(),Z=g(O,3,"}"),O.braceNest--,O.braceNest>0&&b($),O.inLinked&&O.braceNest===0&&(O.inLinked=!1),Z;case"@":return O.braceNest>0&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z=ie($,O)||m(O),O.braceNest=0,Z;default:{let ne=!0,X=!0,V=!0;if(z($))return O.braceNest>0&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,Z;if(O.braceNest>0&&(O.currentType===4||O.currentType===5||O.currentType===6))return u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),O.braceNest=0,Ce($,O);if(ne=C($,O))return Z=g(O,4,de($)),b($),Z;if(X=_($,O))return Z=g(O,5,oe($)),b($),Z;if(V=S($,O))return Z=g(O,6,Pe($)),b($),Z;if(!ne&&!X&&!V)return Z=g(O,12,ae($)),u(ht.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z.value),b($),Z;break}}return Z}function ie($,O){const{currentType:Z}=O;let ne=null;const X=$.currentChar();switch((Z===7||Z===8||Z===11||Z===9)&&(X===qr||X===yo)&&u(ht.INVALID_LINKED_FORMAT,i(),0),X){case"@":return $.next(),ne=g(O,7,"@"),O.inLinked=!0,ne;case".":return b($),$.next(),g(O,8,".");case":":return b($),$.next(),g(O,9,":");default:return z($)?(ne=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,ne):R($,O)||T($,O)?(b($),ie($,O)):w($,O)?(b($),g(O,11,ke($))):E($,O)?(b($),X==="{"?U($,O)||ne:g(O,10,Le($))):(Z===7&&u(ht.INVALID_LINKED_FORMAT,i(),0),O.braceNest=0,O.inLinked=!1,Ce($,O))}}function Ce($,O){let Z={type:13};if(O.braceNest>0)return U($,O)||m(O);if(O.inLinked)return ie($,O)||m(O);switch($.currentChar()){case"{":return U($,O)||m(O);case"}":return u(ht.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),g(O,3,"}");case"@":return ie($,O)||m(O);default:if(z($))return Z=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,Z;if(A($))return g(O,0,ye($));break}return Z}function M(){const{currentType:$,offset:O,startLoc:Z,endLoc:ne}=s;return s.lastType=$,s.lastOffset=O,s.lastStartLoc=Z,s.lastEndLoc=ne,s.offset=o(),s.startLoc=i(),n.currentChar()===mi?g(s,13):Ce(n,s)}return{nextToken:M,currentOffset:o,currentPosition:i,context:c}}function zU(e,t){return t}function LU(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 MU(e={}){const t=e.location!==!1,{onError:r}=e;function n(y,x,C,_,...S){const R=y.currentPosition();R.offset+=_,R.column+=_,r&&r(sp(x,t?hy(C,R):null,{domain:I3,args:S}))}function o(y,x,C){const _={type:y};return t&&(_.start=x,_.end=x,_.loc={start:C,end:C}),_}function i(y,x,C,_){t&&(y.end=x,y.loc&&(y.loc.end=C))}function a(y,x){const C=y.context(),_=o(3,C.offset,C.startLoc);return _.value=x.replace(z3,zU),i(_,y.currentOffset(),y.currentPosition()),_}function l(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(5,C,_);return S.index=parseInt(x,10),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function s(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(4,C,_);return S.key=x,y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function c(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(9,C,_);return S.value=x.replace(F3,LU),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function d(y){const x=y.nextToken(),C=y.context(),{lastOffset:_,lastStartLoc:S}=C,R=o(8,_,S);return x.type!==11?(n(y,ht.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),R.value="",i(R,_,S),{nextConsumeToken:x,node:R}):(x.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Do(x)),R.value=x.value||"",i(R,y.currentOffset(),y.currentPosition()),{node:R})}function u(y,x){const C=y.context(),_=o(7,C.offset,C.startLoc);return _.value=x,i(_,y.currentOffset(),y.currentPosition()),_}function g(y){const x=y.context(),C=o(6,x.offset,x.startLoc);let _=y.nextToken();if(_.type===8){const S=d(y);C.modifier=S.node,_=S.nextConsumeToken||y.nextToken()}switch(_.type!==9&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),_=y.nextToken(),_.type===2&&(_=y.nextToken()),_.type){case 10:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=u(y,_.value||"");break;case 4:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=s(y,_.value||"");break;case 5:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=l(y,_.value||"");break;case 6:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=c(y,_.value||"");break;default:{n(y,ht.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const S=y.context(),R=o(7,S.offset,S.startLoc);return R.value="",i(R,S.offset,S.startLoc),C.key=R,i(C,S.offset,S.startLoc),{nextConsumeToken:_,node:C}}}return i(C,y.currentOffset(),y.currentPosition()),{node:C}}function m(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 _=null;do{const S=_||y.nextToken();switch(_=null,S.type){case 0:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(a(y,S.value||""));break;case 5:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(l(y,S.value||""));break;case 4:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(s(y,S.value||""));break;case 6:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(c(y,S.value||""));break;case 7:{const R=g(y);C.items.push(R.node),_=R.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,_){const S=y.context();let R=_.items.length===0;const w=o(1,x,C);w.cases=[],w.cases.push(_);do{const T=m(y);R||(R=T.items.length===0),w.cases.push(T)}while(S.currentType!==13);return R&&n(y,ht.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),i(w,y.currentOffset(),y.currentPosition()),w}function p(y){const x=y.context(),{offset:C,startLoc:_}=x,S=m(y);return x.currentType===13?S:h(y,C,_,S)}function b(y){const x=FU(y,Tr({},e)),C=x.context(),_=o(0,C.offset,C.startLoc);return t&&_.loc&&(_.loc.source=y),_.body=p(x),e.onCacheKey&&(_.cacheKey=e.onCacheKey(y)),C.currentType!==13&&n(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,y[C.offset]||""),i(_,x.currentOffset(),x.currentPosition()),_}return{parse:b}}function Do(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 DU(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:i=>(r.helpers.add(i),i)}}function fk(e,t){for(let r=0;r<e.length;r++)__(e[r],t)}function __(e,t){switch(e.type){case 1:fk(e.cases,t),t.helper("plural");break;case 2:fk(e.items,t);break;case 6:__(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 BU(e,t={}){const r=DU(e);r.helper("normalize"),e.body&&__(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function NU(e){const t=e.body;return t.type===2?hk(t):t.cases.forEach(r=>hk(r)),e}function hk(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=y_(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 ps(e){switch(e.t=e.type,e.type){case 0:{const t=e;ps(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++)ps(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++)ps(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;ps(t.key),t.k=t.key,delete t.key,t.modifier&&(ps(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 HU(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 c(p,b=!0){const y=b?n:"";s(o?y+" ".repeat(p):y)}function d(p=!0){const b=++a.indentLevel;p&&c(b)}function u(p=!0){const b=--a.indentLevel;p&&c(b)}function g(){c(a.indentLevel)}return{context:l,push:s,indent:d,deindent:u,newline:g,helper:p=>`_${p}`,needIndent:()=>a.needIndent}}function jU(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),qs(e,t.key),t.modifier?(e.push(", "),qs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function WU(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&&(qs(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}function VU(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&&(qs(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}}function UU(e,t){t.body?qs(e,t.body):e.push("null")}function qs(e,t){const{helper:r}=e;switch(t.type){case 0:UU(e,t);break;case 1:VU(e,t);break;case 2:WU(e,t);break;case 6:jU(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 KU(e,t={}){const r=Tr({},t),n=!!r.jit,o=!!r.minify,i=r.optimize==null?!0:r.optimize,a=MU(r).parse(e);return n?(i&&NU(a),o&&ps(a),{ast:a,code:""}):(BU(a,r),L3(a,r))}var ht,GU,yo,T3,qr,$3,E3,mi,O3,vy,A3,I3,F3,z3,L3,qU=f((()=>{C_(),ht={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},GU={[ht.EXPECTED_TOKEN]:"Expected token: '{0}'",[ht.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ht.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ht.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ht.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ht.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ht.EMPTY_PLACEHOLDER]:"Empty placeholder",[ht.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ht.INVALID_LINKED_FORMAT]:"Invalid linked format",[ht.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ht.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ht.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ht.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ht.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ht.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"},yo=" ",T3="\r",qr=`
5
+ `);try{return JSON.stringify(e)}catch{return String(e)}}function SU(e,t){const r=e.trim();if(!r)return t;try{return uy(JSON.parse(r))||r}catch{return r}}async function Ir(e,t={}){await mU();const r=`${x3()}${e}`,n={...typeof FormData<"u"&&t.body instanceof FormData?{}:{"Content-Type":"application/json"},...t.headers},o=yu();o&&(n.Authorization=`Bearer ${o}`);const i=CU();i&&wU(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 nk(),wm("expired"),na.currentRoute.value.name!=="login"&&na.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")?(nk(),wm("expired"),na.currentRoute.value.name!=="login"&&na.replace({name:"login"})):wm("forbidden")),new Error(`API Error ${a.status}: ${SU(s,a.statusText)}`)}return a.json()}function xhe(){return x3()}var fy,g_,m_=f((()=>{C3(),fy="",g_="hermes_active_profile_name"})),ik,ak,Sm,dt,lp=f((()=>{ik="modulepreload",ak=function(e){return"/"+e},Sm={},dt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let c=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");o=c(r.map(d=>{if(d=ak(d,n),d in Sm)return;Sm[d]=!0;const u=d.endsWith(".css"),g=u?'[rel="stylesheet"]':"";if(n)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===d&&(!u||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${g}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":ik,u||(m.as="script"),m.crossOrigin="",m.href=d,s&&m.setAttribute("nonce",s),document.head.appendChild(m),u)return new Promise((h,p)=>{m.addEventListener("load",h),m.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${d}`)))})}))}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 RU(){if(Ud())return;const e=window.hermesDesktop;e?.isDesktop===!0&&e.ensureAuth&&await e.ensureAuth().catch(()=>!1)}function kU(){return window.hermesDesktop?.isDesktop===!0}var na,C3=f((()=>{p_(),m_(),lp(),na=hU({history:eU(),routes:[{path:"/desktop-pet",name:"desktop.pet",component:()=>dt(()=>import("./DesktopPetView-DKYjal2v.js"),__vite__mapDeps([0,1,2,3,4,5,6])),meta:{public:!0}},{path:"/",name:"login",component:()=>dt(()=>import("./LoginView-DTdp1xsa.js"),__vite__mapDeps([7,8,9])),meta:{public:!0}},{path:"/hermes/chat",name:"hermes.chat",component:()=>dt(()=>import("./ChatView-xEwjnXLo.js"),__vite__mapDeps([10,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]))},{path:"/hermes/session/:sessionId",name:"hermes.session",component:()=>dt(()=>import("./ChatView-xEwjnXLo.js"),__vite__mapDeps([10,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]))},{path:"/hermes/history",name:"hermes.history",component:()=>dt(()=>import("./HistoryView-Boy6KWxz.js"),__vite__mapDeps([52,11,2,12,13,14,4,15,16,17,23,24,53,26,27,31,32,33,34,35,21,30,36,54,41,42,55,56,49,57]))},{path:"/hermes/history/session/:sessionId",name:"hermes.historySession",component:()=>dt(()=>import("./HistoryView-Boy6KWxz.js"),__vite__mapDeps([52,11,2,12,13,14,4,15,16,17,23,24,53,26,27,31,32,33,34,35,21,30,36,54,41,42,55,56,49,57]))},{path:"/hermes/global-agent",name:"hermes.globalAgent",component:()=>dt(()=>import("./GlobalAgentView-C0NgWvKP.js"),__vite__mapDeps([58,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,59]))},{path:"/hermes/global-agent/session/:sessionId",name:"hermes.globalAgentSession",component:()=>dt(()=>import("./GlobalAgentView-C0NgWvKP.js"),__vite__mapDeps([58,11,2,12,13,14,4,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,59]))},{path:"/hermes/jobs",name:"hermes.jobs",component:()=>dt(()=>import("./JobsView-5Jun6EjM.js"),__vite__mapDeps([60,13,4,28,61]))},{path:"/hermes/kanban",name:"hermes.kanban",component:()=>dt(()=>import("./KanbanView-CQOeRquP.js"),__vite__mapDeps([62,32,33,4,28,53,26,27,11,2,12,13,14,15,16,17,31,34,35,21,30,36,54,63]))},{path:"/hermes/workflow",name:"hermes.workflow",component:()=>dt(()=>import("./WorkflowView-BWG_o4Lg.js"),__vite__mapDeps([64,32,33,2,12,11,13,14,4,15,16,17,21,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,55,56,65]))},{path:"/hermes/models",name:"hermes.models",component:()=>dt(()=>import("./ModelsView-GVgHBsyL.js"),__vite__mapDeps([66,11,2,12,13,14,4,15,16,17,67,35,68]))},{path:"/hermes/profiles",name:"hermes.profiles",component:()=>dt(()=>import("./ProfilesView-C02GlAXO.js"),__vite__mapDeps([69,32,33,4,70])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/logs",name:"hermes.logs",component:()=>dt(()=>import("./LogsView-Dr6gD_kA.js"),__vite__mapDeps([71,72]))},{path:"/hermes/usage",name:"hermes.usage",component:()=>dt(()=>import("./UsageView-BVdos-wH.js"),__vite__mapDeps([73,4,15,74]))},{path:"/hermes/performance",name:"hermes.performance",component:()=>dt(()=>import("./PerformanceView-YI2ecC28.js"),__vite__mapDeps([75,76])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/journey",name:"hermes.journey",component:()=>dt(()=>import("./JourneyView-DAU7N8iU.js"),__vite__mapDeps([77,4,28,78]))},{path:"/hermes/skills-usage",name:"hermes.skillsUsage",component:()=>dt(()=>import("./SkillsUsageView-DufR6RDh.js"),__vite__mapDeps([79,4,28,80]))},{path:"/hermes/skills",name:"hermes.skills",component:()=>dt(()=>import("./SkillsView-LzeD-ReE.js"),__vite__mapDeps([81,4,28,82]))},{path:"/hermes/plugins",name:"hermes.plugins",component:()=>dt(()=>import("./PluginsView-BZHzh6V0.js"),__vite__mapDeps([83,4,84]))},{path:"/hermes/petdex",name:"hermes.petdex",component:()=>dt(()=>import("./PetdexView-Bt4e1TDL.js"),__vite__mapDeps([85,3,86]))},{path:"/hermes/memory",name:"hermes.memory",component:()=>dt(()=>import("./MemoryView-2gPDgre_.js"),__vite__mapDeps([87,4,28,88]))},{path:"/hermes/settings",name:"hermes.settings",component:()=>dt(()=>import("./SettingsView-C63TriKv.js"),__vite__mapDeps([89,32,33,8,13,4,29,30,90,91,67,49,37,16,92]))},{path:"/hermes/channels",name:"hermes.channels",component:()=>dt(()=>import("./ChannelsView-rBs9Ylzp.js"),__vite__mapDeps([93,13,4,90,91,94]))},{path:"/hermes/terminal",name:"hermes.terminal",component:()=>dt(()=>import("./TerminalView-j3wokVwS.js"),__vite__mapDeps([95,44,45,96])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/devices",name:"hermes.devices",component:()=>dt(()=>import("./DevicesView-CnAjn0fI.js"),__vite__mapDeps([97,35,98])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/group-chat",name:"hermes.groupChat",component:()=>dt(()=>import("./GroupChatView-Mr8SR7nA.js"),__vite__mapDeps([99,32,33,2,34,35,26,27,8,13,14,23,24,4,30,39,40,37,17,100]))},{path:"/hermes/group-chat/room/:roomId",name:"hermes.groupChatRoom",component:()=>dt(()=>import("./GroupChatView-Mr8SR7nA.js"),__vite__mapDeps([99,32,33,2,34,35,26,27,8,13,14,23,24,4,30,39,40,37,17,100]))},{path:"/hermes/files",name:"hermes.files",component:()=>dt(()=>import("./FilesView-Dy8G_exi.js"),__vite__mapDeps([101,19,20,21,15,22,4,47,34,35,14,48,102]))},{path:"/hermes/coding-agents",name:"hermes.codingAgents",component:()=>dt(()=>import("./CodingAgentsView-DcVwegsz.js"),__vite__mapDeps([103,12,4,43,44,45,46,104]))},{path:"/hermes/version-preview",name:"hermes.versionPreview",component:()=>dt(()=>import("./VersionPreviewView-D46YOdsc.js"),__vite__mapDeps([105,106])),meta:{requiresSuperAdmin:!0}},{path:"/hermes/mcp",name:"hermes.mcp",component:()=>dt(()=>import("./McpManagerView-BzGj5qqQ.js"),__vite__mapDeps([107,108]))}]}),na.beforeEach(async(e,t,r)=>{if(await RU(),e.meta.public){if(e.name==="login"&&Ud()&&!kU()){r({path:"/hermes/chat"});return}r();return}if(!Ud()){r({name:"login"});return}if(e.meta.requiresSuperAdmin&&!xU()){r({name:"hermes.chat"});return}r()})}));function PU(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}function lk(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 TU(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 b_(e){return w3.test(e)}function $U(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,c=null;for(;l<e.length;l++){const g=e[l];if(c){g===c&&(c=null);continue}if(g==='"'||g==="'")c=g;else if(g==="(")s++;else if(g===")"&&(s--,s===0))break}if(s!==0)break;const d=e.slice(a+1,l).trim(),u=d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'")?d.slice(1,-1).trim():d;r+=e.slice(n,i),r+=b_(u)?"url(about:blank)":e.slice(i,l+1),n=l+1}return r+e.slice(n)}function sk(e,t){return S3.test(e)&&b_(t)?"about:blank":TU(e.toLowerCase()==="style"?$U(t):t)}function EU(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,r,n)=>`${r}="${sk(r,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,r,n)=>`${r}='${sk(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)=>b_(n)?`${r}about:blank`:t),e}function Jn(e,t){return R3.call(e,t)}function y_(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function Uh(e,t){if(od(e)||od(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__"&&(Lt(n[i])&&!Lt(o[i])&&(o[i]=Array.isArray(n[i])?[]:Kt()),od(o[i])||od(n[i])?o[i]=n[i]:r.push({src:n[i],des:o[i]}))})}}var Kd,jo,_3,ck,Pr,x_,xl,xu,Tr,dk,Kt,uk,oa,w3,S3,R3,pr,dr,Qe,It,Lt,k3,Rm,hh,Ot,P3,od,C_=f((()=>{Kd=typeof window<"u",jo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_3=(e,t,r)=>ck({l:e,k:t,s:r}),ck=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Pr=e=>typeof e=="number"&&isFinite(e),x_=e=>hh(e)==="[object Date]",xl=e=>hh(e)==="[object RegExp]",xu=e=>Ot(e)&&Object.keys(e).length===0,Tr=Object.assign,dk=Object.create,Kt=(e=null)=>dk(e),oa=()=>uk||(uk=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Kt()),w3=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,S3=/^(?:href|src|action|formaction)$/i,R3=Object.prototype.hasOwnProperty,pr=Array.isArray,dr=e=>typeof e=="function",Qe=e=>typeof e=="string",It=e=>typeof e=="boolean",Lt=e=>e!==null&&typeof e=="object",k3=e=>Lt(e)&&dr(e.then)&&dr(e.catch),Rm=Object.prototype.toString,hh=e=>Rm.call(e),Ot=e=>hh(e)==="[object Object]",P3=e=>e==null?"":pr(e)||Ot(e)&&e.toString===Rm?JSON.stringify(e,null,2):String(e),od=e=>!Lt(e)||pr(e)}));function OU(e,t,r){return{line:e,column:t,offset:r}}function hy(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}function sp(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 AU(e){throw e}function IU(e){const t=e;let r=0,n=1,o=1,i=0;const a=w=>t[w]===T3&&t[w+1]===qr,l=w=>t[w]===qr,s=w=>t[w]===E3,c=w=>t[w]===$3,d=w=>a(w)||l(w)||s(w)||c(w),u=()=>r,g=()=>n,m=()=>o,h=()=>i,p=w=>a(w)||s(w)||c(w)?qr:t[w],b=()=>p(r),y=()=>p(r+i);function x(){return i=0,d(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function C(){return a(r+i)&&i++,i++,t[r+i]}function _(){r=0,n=1,o=1,i=0}function S(w=0){i=w}function R(){const w=r+i;for(;w!==r;)x();i=0}return{index:u,line:g,column:m,peekOffset:h,charAt:p,currentChar:b,currentPeek:y,next:x,peek:C,reset:_,resetPeek:S,skipToPeek:R}}function FU(e,t={}){const r=t.location!==!1,n=IU(e),o=()=>n.index(),i=()=>OU(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:""},c=()=>s,{onError:d}=t;function u($,O,Z,...ne){const X=c();O.column+=Z,O.offset+=Z,d&&d(sp($,r?hy(X.startLoc,O):null,{domain:A3,args:ne}))}function g($,O,Z){$.endLoc=i(),$.currentType=O;const ne={type:O};return r&&(ne.loc=hy($.startLoc,$.endLoc)),Z!=null&&(ne.value=Z),ne}const m=$=>g($,13);function h($,O){return $.currentChar()===O?($.next(),O):(u(ht.EXPECTED_TOKEN,i(),0,O),"")}function p($){let O="";for(;$.currentPeek()===yo||$.currentPeek()===qr;)O+=$.currentPeek(),$.peek();return O}function b($){const O=p($);return $.skipToPeek(),O}function y($){if($===mi)return!1;const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O===95}function x($){if($===mi)return!1;const O=$.charCodeAt(0);return O>=48&&O<=57}function C($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=y($.currentPeek());return $.resetPeek(),ne}function _($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=x($.currentPeek()==="-"?$.peek():$.currentPeek());return $.resetPeek(),ne}function S($,O){const{currentType:Z}=O;if(Z!==2)return!1;p($);const ne=$.currentPeek()===vy;return $.resetPeek(),ne}function R($,O){const{currentType:Z}=O;if(Z!==7)return!1;p($);const ne=$.currentPeek()===".";return $.resetPeek(),ne}function w($,O){const{currentType:Z}=O;if(Z!==8)return!1;p($);const ne=y($.currentPeek());return $.resetPeek(),ne}function T($,O){const{currentType:Z}=O;if(!(Z===7||Z===11))return!1;p($);const ne=$.currentPeek()===":";return $.resetPeek(),ne}function E($,O){const{currentType:Z}=O;if(Z!==9)return!1;const ne=()=>{const V=$.currentPeek();return V==="{"?y($.peek()):V==="@"||V==="|"||V===":"||V==="."||V===yo||!V?!1:V===qr?($.peek(),ne()):A($,!1)},X=ne();return $.resetPeek(),X}function z($){p($);const O=$.currentPeek()==="|";return $.resetPeek(),O}function A($,O=!0){const Z=(X=!1,V="")=>{const P=$.currentPeek();return P==="{"||P==="@"||!P?X:P==="|"?!(V===yo||V===qr):P===yo?($.peek(),Z(!0,yo)):P===qr?($.peek(),Z(!0,qr)):!0},ne=Z();return O&&$.resetPeek(),ne}function N($,O){const Z=$.currentChar();if(Z!==mi)return O(Z)?($.next(),Z):null}function L($){const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36}function H($){return N($,L)}function W($){const O=$.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36||O===45}function Y($){return N($,W)}function J($){const O=$.charCodeAt(0);return O>=48&&O<=57}function Q($){return N($,J)}function fe($){const O=$.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}function Se($){return N($,fe)}function se($){let O="",Z="";for(;O=Q($);)Z+=O;return Z}function ye($){let O="";for(;;){const Z=$.currentChar();if(Z==="\\"){const ne=$.peek();ne==="{"||ne==="}"||ne==="@"||ne==="|"||ne==="\\"?(O+=Z+ne,$.next(),$.next()):($.resetPeek(),O+=Z,$.next())}else{if(Z==="{"||Z==="}"||Z==="@"||Z==="|"||!Z)break;if(Z===yo||Z===qr)if(A($))O+=Z,$.next();else{if(z($))break;O+=Z,$.next()}else O+=Z,$.next()}}return O}function de($){b($);let O="",Z="";for(;O=Y($);)Z+=O;const ne=$.currentChar();if(ne&&ne!=="}"&&ne!==mi&&ne!==yo&&ne!==qr&&ne!==" "){const X=ae($);return u(ht.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z+X),Z+X}return $.currentChar()===mi&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z}function oe($){b($);let O="";return $.currentChar()==="-"?($.next(),O+=`-${se($)}`):O+=se($),$.currentChar()===mi&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),O}function ue($){return $!==vy&&$!==qr}function Pe($){b($),h($,"'");let O="",Z="";for(;O=N($,ue);)O==="\\"?Z+=le($):Z+=O;const ne=$.currentChar();return ne===qr||ne===mi?(u(ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),ne===qr&&($.next(),h($,"'")),Z):(h($,"'"),Z)}function le($){const O=$.currentChar();switch(O){case"\\":case"'":return $.next(),`\\${O}`;case"u":return be($,O,4);case"U":return be($,O,6);default:return u(ht.UNKNOWN_ESCAPE_SEQUENCE,i(),0,O),""}}function be($,O,Z){h($,O);let ne="";for(let X=0;X<Z;X++){const V=Se($);if(!V){u(ht.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${O}${ne}${$.currentChar()}`);break}ne+=V}return`\\${O}${ne}`}function re($){return $!=="{"&&$!=="}"&&$!==yo&&$!==qr}function ae($){b($);let O="",Z="";for(;O=N($,re);)Z+=O;return Z}function ke($){let O="",Z="";for(;O=H($);)Z+=O;return Z}function Le($){const O=Z=>{const ne=$.currentChar();return ne==="{"||ne==="@"||ne==="|"||ne==="("||ne===")"||!ne||ne===yo?Z:(Z+=ne,$.next(),O(Z))};return O("")}function I($){b($);const O=h($,"|");return b($),O}function U($,O){let Z=null;switch($.currentChar()){case"{":return O.braceNest>=1&&u(ht.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),Z=g(O,2,"{"),b($),O.braceNest++,Z;case"}":return O.braceNest>0&&O.currentType===2&&u(ht.EMPTY_PLACEHOLDER,i(),0),$.next(),Z=g(O,3,"}"),O.braceNest--,O.braceNest>0&&b($),O.inLinked&&O.braceNest===0&&(O.inLinked=!1),Z;case"@":return O.braceNest>0&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z=ie($,O)||m(O),O.braceNest=0,Z;default:{let ne=!0,X=!0,V=!0;if(z($))return O.braceNest>0&&u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),Z=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,Z;if(O.braceNest>0&&(O.currentType===4||O.currentType===5||O.currentType===6))return u(ht.UNTERMINATED_CLOSING_BRACE,i(),0),O.braceNest=0,Ce($,O);if(ne=C($,O))return Z=g(O,4,de($)),b($),Z;if(X=_($,O))return Z=g(O,5,oe($)),b($),Z;if(V=S($,O))return Z=g(O,6,Pe($)),b($),Z;if(!ne&&!X&&!V)return Z=g(O,12,ae($)),u(ht.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Z.value),b($),Z;break}}return Z}function ie($,O){const{currentType:Z}=O;let ne=null;const X=$.currentChar();switch((Z===7||Z===8||Z===11||Z===9)&&(X===qr||X===yo)&&u(ht.INVALID_LINKED_FORMAT,i(),0),X){case"@":return $.next(),ne=g(O,7,"@"),O.inLinked=!0,ne;case".":return b($),$.next(),g(O,8,".");case":":return b($),$.next(),g(O,9,":");default:return z($)?(ne=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,ne):R($,O)||T($,O)?(b($),ie($,O)):w($,O)?(b($),g(O,11,ke($))):E($,O)?(b($),X==="{"?U($,O)||ne:g(O,10,Le($))):(Z===7&&u(ht.INVALID_LINKED_FORMAT,i(),0),O.braceNest=0,O.inLinked=!1,Ce($,O))}}function Ce($,O){let Z={type:13};if(O.braceNest>0)return U($,O)||m(O);if(O.inLinked)return ie($,O)||m(O);switch($.currentChar()){case"{":return U($,O)||m(O);case"}":return u(ht.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),g(O,3,"}");case"@":return ie($,O)||m(O);default:if(z($))return Z=g(O,1,I($)),O.braceNest=0,O.inLinked=!1,Z;if(A($))return g(O,0,ye($));break}return Z}function M(){const{currentType:$,offset:O,startLoc:Z,endLoc:ne}=s;return s.lastType=$,s.lastOffset=O,s.lastStartLoc=Z,s.lastEndLoc=ne,s.offset=o(),s.startLoc=i(),n.currentChar()===mi?g(s,13):Ce(n,s)}return{nextToken:M,currentOffset:o,currentPosition:i,context:c}}function zU(e,t){return t}function LU(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 MU(e={}){const t=e.location!==!1,{onError:r}=e;function n(y,x,C,_,...S){const R=y.currentPosition();R.offset+=_,R.column+=_,r&&r(sp(x,t?hy(C,R):null,{domain:I3,args:S}))}function o(y,x,C){const _={type:y};return t&&(_.start=x,_.end=x,_.loc={start:C,end:C}),_}function i(y,x,C,_){t&&(y.end=x,y.loc&&(y.loc.end=C))}function a(y,x){const C=y.context(),_=o(3,C.offset,C.startLoc);return _.value=x.replace(z3,zU),i(_,y.currentOffset(),y.currentPosition()),_}function l(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(5,C,_);return S.index=parseInt(x,10),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function s(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(4,C,_);return S.key=x,y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function c(y,x){const{lastOffset:C,lastStartLoc:_}=y.context(),S=o(9,C,_);return S.value=x.replace(F3,LU),y.nextToken(),i(S,y.currentOffset(),y.currentPosition()),S}function d(y){const x=y.nextToken(),C=y.context(),{lastOffset:_,lastStartLoc:S}=C,R=o(8,_,S);return x.type!==11?(n(y,ht.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),R.value="",i(R,_,S),{nextConsumeToken:x,node:R}):(x.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Do(x)),R.value=x.value||"",i(R,y.currentOffset(),y.currentPosition()),{node:R})}function u(y,x){const C=y.context(),_=o(7,C.offset,C.startLoc);return _.value=x,i(_,y.currentOffset(),y.currentPosition()),_}function g(y){const x=y.context(),C=o(6,x.offset,x.startLoc);let _=y.nextToken();if(_.type===8){const S=d(y);C.modifier=S.node,_=S.nextConsumeToken||y.nextToken()}switch(_.type!==9&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),_=y.nextToken(),_.type===2&&(_=y.nextToken()),_.type){case 10:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=u(y,_.value||"");break;case 4:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=s(y,_.value||"");break;case 5:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=l(y,_.value||"");break;case 6:_.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(_)),C.key=c(y,_.value||"");break;default:{n(y,ht.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const S=y.context(),R=o(7,S.offset,S.startLoc);return R.value="",i(R,S.offset,S.startLoc),C.key=R,i(C,S.offset,S.startLoc),{nextConsumeToken:_,node:C}}}return i(C,y.currentOffset(),y.currentPosition()),{node:C}}function m(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 _=null;do{const S=_||y.nextToken();switch(_=null,S.type){case 0:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(a(y,S.value||""));break;case 5:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(l(y,S.value||""));break;case 4:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(s(y,S.value||""));break;case 6:S.value==null&&n(y,ht.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Do(S)),C.items.push(c(y,S.value||""));break;case 7:{const R=g(y);C.items.push(R.node),_=R.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,_){const S=y.context();let R=_.items.length===0;const w=o(1,x,C);w.cases=[],w.cases.push(_);do{const T=m(y);R||(R=T.items.length===0),w.cases.push(T)}while(S.currentType!==13);return R&&n(y,ht.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),i(w,y.currentOffset(),y.currentPosition()),w}function p(y){const x=y.context(),{offset:C,startLoc:_}=x,S=m(y);return x.currentType===13?S:h(y,C,_,S)}function b(y){const x=FU(y,Tr({},e)),C=x.context(),_=o(0,C.offset,C.startLoc);return t&&_.loc&&(_.loc.source=y),_.body=p(x),e.onCacheKey&&(_.cacheKey=e.onCacheKey(y)),C.currentType!==13&&n(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,y[C.offset]||""),i(_,x.currentOffset(),x.currentPosition()),_}return{parse:b}}function Do(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 DU(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:i=>(r.helpers.add(i),i)}}function fk(e,t){for(let r=0;r<e.length;r++)__(e[r],t)}function __(e,t){switch(e.type){case 1:fk(e.cases,t),t.helper("plural");break;case 2:fk(e.items,t);break;case 6:__(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 BU(e,t={}){const r=DU(e);r.helper("normalize"),e.body&&__(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function NU(e){const t=e.body;return t.type===2?hk(t):t.cases.forEach(r=>hk(r)),e}function hk(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=y_(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 ps(e){switch(e.t=e.type,e.type){case 0:{const t=e;ps(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++)ps(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++)ps(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;ps(t.key),t.k=t.key,delete t.key,t.modifier&&(ps(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 HU(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 c(p,b=!0){const y=b?n:"";s(o?y+" ".repeat(p):y)}function d(p=!0){const b=++a.indentLevel;p&&c(b)}function u(p=!0){const b=--a.indentLevel;p&&c(b)}function g(){c(a.indentLevel)}return{context:l,push:s,indent:d,deindent:u,newline:g,helper:p=>`_${p}`,needIndent:()=>a.needIndent}}function jU(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),qs(e,t.key),t.modifier?(e.push(", "),qs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function WU(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&&(qs(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}function VU(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&&(qs(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(n()),e.push("])")}}function UU(e,t){t.body?qs(e,t.body):e.push("null")}function qs(e,t){const{helper:r}=e;switch(t.type){case 0:UU(e,t);break;case 1:VU(e,t);break;case 2:WU(e,t);break;case 6:jU(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 KU(e,t={}){const r=Tr({},t),n=!!r.jit,o=!!r.minify,i=r.optimize==null?!0:r.optimize,a=MU(r).parse(e);return n?(i&&NU(a),o&&ps(a),{ast:a,code:""}):(BU(a,r),L3(a,r))}var ht,GU,yo,T3,qr,$3,E3,mi,O3,vy,A3,I3,F3,z3,L3,qU=f((()=>{C_(),ht={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},GU={[ht.EXPECTED_TOKEN]:"Expected token: '{0}'",[ht.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ht.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ht.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ht.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ht.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ht.EMPTY_PLACEHOLDER]:"Empty placeholder",[ht.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ht.INVALID_LINKED_FORMAT]:"Invalid linked format",[ht.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ht.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ht.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ht.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ht.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ht.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"},yo=" ",T3="\r",qr=`
6
6
  `,$3="\u2028",E3="\u2029",mi=void 0,O3=".",vy="'",A3="tokenizer",I3="parser",F3=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,z3=/\\([\\@{}|])/g,L3=(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=HU(e,{filename:n,breakLineCode:o,needIndent:i});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${y_(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),qs(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:s,map:c}=l.context();return{ast:e,code:s,map:c?c.toJSON():void 0}}}));function YU(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(oa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(oa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Go(e){return Lt(e)&&w_(e)===0&&(Jn(e,"b")||Jn(e,"body"))}function XU(e){return ba(e,xy)}function ZU(e){return ba(e,Cy,[])}function JU(e){return ba(e,_y)}function QU(e){return ba(e,wy,[])}function w_(e){return ba(e,Sy)}function vh(e,t){const r=ba(e,Ry);if(r!=null)return r;throw Gd(t)}function eK(e){return ba(e,ky)}function tK(e){const t=ba(e,Py);if(t)return t;throw Gd(6)}function ba(e,t,r){for(let n=0;n<t.length;n++){const o=t[n];if(Jn(e,o)&&e[o]!=null)return e[o]}return r}function Gd(e){return new Error(`unhandled node type: ${e}`)}function km(e){return r=>rK(r,e)}function rK(e,t){const r=XU(t);if(r==null)throw Gd(0);if(w_(r)===1){const n=ZU(r);return e.plural(n.reduce((o,i)=>[...o,vk(e,i)],[]))}else return vk(e,r)}function vk(e,t){const r=JU(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=QU(t).reduce((o,i)=>[...o,py(e,i)],[]);return e.normalize(n)}}function py(e,t){const r=w_(t);switch(r){case 3:return vh(t,r);case 9:return vh(t,r);case 4:{const n=t;if(Jn(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Jn(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Gd(r)}case 5:{const n=t;if(Jn(n,"i")&&Pr(n.i))return e.interpolate(e.list(n.i));if(Jn(n,"index")&&Pr(n.index))return e.interpolate(e.list(n.index));throw Gd(r)}case 6:{const n=t,o=eK(n),i=tK(n);return e.linked(py(e,i),o?py(e,o):void 0,e.type)}case 7:return vh(t,r);case 8:return vh(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}function nK(e,t={}){let r=!1;const n=t.onError||AU;return t.onError=o=>{r=!0,n(o)},{...KU(e,t),detectError:r}}function oK(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Qe(e)){It(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||B3)(e),n=id[r];if(n)return n;const{ast:o,detectError:i}=nK(e,{...t,location:!1,jit:!0}),a=km(o);return i?a:id[r]=a}else{const r=e.cacheKey;if(r){const n=id[r];return n||(id[r]=km(e))}else return km(e)}}function iK(e){Ys=e}function aK(e,t,r){Ys&&Ys.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}function lK(e){return t=>Ys&&Ys.emit(e,t)}function $i(e){return sp(e,null,void 0)}function S_(e,t){return t.locale!=null?pk(t.locale):pk(e.locale)}function pk(e){if(Qe(e))return e;if(dr(e)){if(e.resolvedOnce&&Tm!=null)return Tm;if(e.constructor.name==="Function"){const t=e();if(k3(t))throw $i(Yr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tm=t}else throw $i(Yr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $i(Yr.NOT_SUPPORT_LOCALE_TYPE)}function sK(e,t,r){return[...new Set([r,...pr(t)?t:Lt(t)?Object.keys(t):Qe(t)?[t]:[r]])]}function gy(e,t,r){const n=Qe(r)?r:Xs,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let a=[r];for(;pr(a);)a=gk(i,a,t);const l=pr(t)||!Ot(t)?t:t.default?t.default:null;a=Qe(l)?[l]:l,pr(a)&&gk(i,a,!1),o.__localeChainCache.set(n,i)}return i}function gk(e,t,r){let n=!0;for(let o=0;o<t.length&&It(n);o++){const i=t[o];Qe(i)&&(n=cK(e,t[o],r))}return n}function cK(e,t,r){let n;const o=t.split("-");do n=dK(e,o.join("-"),r),o.splice(-1,1);while(o.length&&n===!0);return n}function dK(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),(pr(r)||Ot(r))&&r[o]&&(n=r[o])}return n}function uK(e){return H3.test(e)}function fK(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function hK(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 vK(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uK(t)?fK(t):"*"+t}function pK(e){const t=[];let r=-1,n=0,o=0,i,a,l,s,c,d,u;const g=[];g[0]=()=>{a===void 0?a=l:a+=l},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,n=4,g[0]();else{if(o=0,a===void 0||(a=vK(a),a===!1))return!1;g[1]()}};function m(){const h=e[r+1];if(n===5&&h==="'"||n===6&&h==='"')return r++,l="\\"+h,g[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&m())){if(s=hK(i),u=bi[n],c=u[s]||u.l||8,c===8||(n=c[0],c[1]!==void 0&&(d=g[c[1]],d&&(l=i,d()===!1))))return;if(n===7)return t}}function gK(e,t){return Lt(e)?e[t]:null}function mK(e,t){if(!Lt(e))return null;let r=Ty.get(t);if(r||(r=pK(t),r&&Ty.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;for(;i<n;){const a=r[i];if(k_.includes(a)&&Go(o)||!Lt(o)||!Jn(o,a))return null;const l=o[a];if(l===void 0||dr(o))return null;o=l,i++}return o}function bK(){return{upper:(e,t)=>t==="text"&&Qe(e)?e.toUpperCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Qe(e)?e.toLowerCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Qe(e)?$y(e):t==="vnode"&&Lt(e)&&"__v_isVNode"in e?$y(e.children):e}}function yK(e){W3=e}function xK(e){V3=e}function CK(e){U3=e}function _K(e={}){const t=dr(e.onWarn)?e.onWarn:PU,r=Qe(e.version)?e.version:j3,n=Qe(e.locale)||dr(e.locale)?e.locale:Xs,o=dr(n)?Xs:n,i=pr(e.fallbackLocale)||Ot(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=Ot(e.messages)?e.messages:Kh(o),l=Ot(e.datetimeFormats)?e.datetimeFormats:Kh(o),s=Ot(e.numberFormats)?e.numberFormats:Kh(o),c=Tr(Kt(),e.modifiers,bK()),d=e.pluralRules||Kt(),u=dr(e.missing)?e.missing:null,g=It(e.missingWarn)||xl(e.missingWarn)?e.missingWarn:!0,m=It(e.fallbackWarn)||xl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,p=!!e.unresolving,b=dr(e.postTranslation)?e.postTranslation:null,y=Ot(e.processor)?e.processor:null,x=It(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,_=dr(e.messageCompiler)?e.messageCompiler:W3,S=dr(e.messageResolver)?e.messageResolver:V3||gK,R=dr(e.localeFallbacker)?e.localeFallbacker:U3||sK,w=Lt(e.fallbackContext)?e.fallbackContext:void 0,T=e,E=Lt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,z=Lt(T.__numberFormatters)?T.__numberFormatters:new Map,A=Lt(T.__meta)?T.__meta:{};Ay++;const N={version:r,cid:Ay,locale:n,fallbackLocale:i,messages:a,modifiers:c,pluralRules:d,missing:u,missingWarn:g,fallbackWarn:m,fallbackFormat:h,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:x,escapeParameter:C,messageCompiler:_,messageResolver:S,localeFallbacker:R,fallbackContext:w,onWarn:t,__meta:A};return N.datetimeFormats=l,N.numberFormats=s,N.__datetimeFormatters=E,N.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&aK(N,r,A),N}function R_(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 Dc(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function wK(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function SK(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n<t.length;n++)if(wK(e,t[n]))return!0;return!1}function mk(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(!Qe(t[0])&&!x_(t[0])&&!Pr(t[0]))return"";const[s,c,d,u]=my(...t),g=It(d.missingWarn)?d.missingWarn:e.missingWarn;It(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,h=S_(e,d),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),u).format(c);let b={},y,x=null;const C="datetime format";for(let R=0;R<p.length&&(y=p[R],b=r[y]||{},x=b[s],!Ot(x));R++)R_(e,s,y,g,C);if(!Ot(x)||!Qe(y))return n?-1:s;let _=`${y}__${s}`;xu(u)||(_=`${_}__${JSON.stringify(u)}`);let S=l.get(_);return S||(S=new Intl.DateTimeFormat(y,Tr({},x,u)),l.set(_,S)),m?S.formatToParts(c):S.format(c)}function my(...e){const[t,r,n,o]=e,i=Kt();let a=Kt(),l;if(Qe(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw $i(Yr.INVALID_ISO_DATE_ARGUMENT);const c=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(c);try{l.toISOString()}catch{throw $i(Yr.INVALID_ISO_DATE_ARGUMENT)}}else if(x_(t)){if(isNaN(t.getTime()))throw $i(Yr.INVALID_DATE_ARGUMENT);l=t}else if(Pr(t))l=t;else throw $i(Yr.INVALID_ARGUMENT);return Qe(r)?i.key=r:Ot(r)&&Object.keys(r).forEach(s=>{P_.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Ot(n)&&(a=n),Ot(o)&&(a=o),[i.key||"",l,i,a]}function bk(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function yk(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(!Pr(t[0]))return"";const[s,c,d,u]=by(...t),g=It(d.missingWarn)?d.missingWarn:e.missingWarn;It(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,h=S_(e,d),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.NumberFormat(h.replace(/!/g,""),u).format(c);let b={},y,x=null;const C="number format";for(let R=0;R<p.length&&(y=p[R],b=r[y]||{},x=b[s],!Ot(x));R++)R_(e,s,y,g,C);if(!Ot(x)||!Qe(y))return n?-1:s;let _=`${y}__${s}`;xu(u)||(_=`${_}__${JSON.stringify(u)}`);let S=l.get(_);return S||(S=new Intl.NumberFormat(y,Tr({},x,u)),l.set(_,S)),m?S.formatToParts(c):S.format(c)}function by(...e){const[t,r,n,o]=e,i=Kt();let a=Kt();if(!Pr(t))throw $i(Yr.INVALID_ARGUMENT);const l=t;return Qe(r)?i.key=r:Ot(r)&&Object.keys(r).forEach(s=>{T_.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Ot(n)&&(a=n),Ot(o)&&(a=o),[i.key||"",l,i,a]}function xk(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}function Pm(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function RK(e){const t=Pr(e.pluralIndex)?e.pluralIndex:-1;return Pr(e.named?.count)?e.named.count:Pr(e.named?.n)?e.named.n:t}function kK(e={}){const t=e.locale,r=RK(e),n=Qe(t)&&dr(e.pluralRules?.[t])?e.pluralRules[t]:Pm,o=n===Pm?void 0:Pm,i=y=>y[n(r,y.length,o)],a=e.list||[],l=y=>a[y],s=e.named||Kt();Pr(e.pluralIndex)&&(s.count||(s.count=e.pluralIndex),s.n||(s.n=e.pluralIndex));const c=y=>s[y];function d(y,x){const C=dr(e.messages)?e.messages(y,!!x):Lt(e.messages)?e.messages[y]:!1;return C||(e.parent?e.parent.message(y):Y3)}const u=y=>e.modifiers?e.modifiers[y]:q3,g=dr(e.processor?.normalize)?e.processor.normalize:Z3,m=dr(e.processor?.interpolate)?e.processor.interpolate:J3,h=Qe(e.processor?.type)?e.processor.type:X3,b={list:l,named:c,plural:i,linked:(y,...x)=>{const[C,_]=x;let S="text",R="";x.length===1?Lt(C)?(R=C.modifier||R,S=C.type||S):Qe(C)&&(R=C||R):x.length===2&&(Qe(C)&&(R=C||R),Qe(_)&&(S=_||S));const w=d(y,!0)(b),T=w===""||w===void 0?y:w,E=S==="vnode"&&pr(T)&&R?T[0]:T;return R?u(R)(E,S):E},message:d,type:h,interpolate:m,normalize:g,values:Tr(Kt(),a,s)};return b}function Ck(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,c]=yy(...t),d=It(c.missingWarn)?c.missingWarn:e.missingWarn,u=It(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=It(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,h=Qe(c.default)||It(c.default)?It(c.default)?i?s:()=>s:c.default:r?i?s:()=>s:null,p=r||h!=null&&(Qe(h)||dr(h)),b=S_(e,c);g&&PK(c);let[y,x,C]=m?[s,b,l[b]||Kt()]:M3(e,s,b,a,u,d),_=y,S=s;if(!m&&!(Qe(_)||Go(_)||Hn(_))&&p&&(_=h,S=_),!m&&(!(Qe(_)||Go(_)||Hn(_))||!Qe(x)))return o?-1:s;let R=!1;const w=()=>{R=!0},T=Hn(_)?_:D3(e,s,x,_,S,w);if(R)return _;const E=TK(e,T,kK(EK(e,x,C,c)));let z=n?n(E,s):E;if(g&&Qe(z)&&(z=EU(z)),__INTLIFY_PROD_DEVTOOLS__){const A={timestamp:Date.now(),key:Qe(s)?s:Hn(_)?_.key:"",locale:x||(Hn(_)?_.locale:""),format:Qe(_)?_:Hn(_)?_.source:"",message:z};A.meta=Tr({},e.__meta,K3()||{}),N3(A)}return z}function PK(e){pr(e.list)?e.list=e.list.map(t=>Qe(t)?lk(t):t):Lt(e.named)&&Object.keys(e.named).forEach(t=>{Qe(e.named[t])&&(e.named[t]=lk(e.named[t]))})}function M3(e,t,r,n,o,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:c}=e,d=c(e,n,r);let u=Kt(),g,m=null;const h="translate";for(let p=0;p<d.length&&(g=d[p],u=a[g]||Kt(),(m=s(u,t))===null&&(m=u[t]),!(Qe(m)||Go(m)||Hn(m)));p++)if(!SK(g,d)){const b=R_(e,t,g,i,h);b!==t&&(m=b)}return[m,g,u]}function D3(e,t,r,n,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Hn(n)){const c=n;return c.locale=c.locale||r,c.key=c.key||t,c}if(a==null){const c=(()=>n);return c.locale=r,c.key=t,c}const s=a(n,$K(e,r,o,n,l,i));return s.locale=r,s.key=t,s.source=n,s}function TK(e,t,r){return t(r)}function yy(...e){const[t,r,n]=e,o=Kt();if(!Qe(t)&&!Pr(t)&&!Hn(t)&&!Go(t))throw $i(Yr.INVALID_ARGUMENT);const i=Pr(t)?String(t):(Hn(t),t);return Pr(r)?o.plural=r:Qe(r)?o.default=r:Ot(r)&&!xu(r)?o.named=r:pr(r)&&(o.list=r),Pr(n)?o.plural=n:Qe(n)?o.default=n:Ot(n)&&Tr(o,n),[i,o]}function $K(e,t,r,n,o,i){return{locale:t,key:r,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>_3(t,r,a)}}function EK(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:d}=e,g={locale:t,modifiers:o,pluralRules:i,messages:(m,h)=>{let p=a(r,m);if(p==null&&(d||h)){const[b,,y]=M3(d||e,m,t,l,s,c);p=b??a(y,m)}if(Qe(p)||Go(p)){let b=!1;const x=D3(e,m,t,p,m,()=>{b=!0});return b?Iy:x}else return Hn(p)?p:Iy}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),Pr(n.plural)&&(g.pluralIndex=n.plural),g}var xy,Cy,_y,wy,Sy,Ry,ky,Py,k_,B3,id,Ys,N3,Yr,Tm,bi,H3,Ty,Bo,OK,j3,AK,Xs,IK,$y,W3,V3,U3,$m,Ey,K3,Em,Oy,G3,Ay,Kh,Om,P_,T_,q3,Y3,X3,Z3,J3,Iy,Hn,FK=f((()=>{C_(),qU(),xy=["b","body"],Cy=["c","cases"],_y=["s","static"],wy=["i","items"],Sy=["t","type"],Ry=["v","value"],ky=["m","modifier"],Py=["k","key"],k_=[...xy,...Cy,..._y,...wy,...Py,...ky,...Ry,...Sy],B3=e=>e,id=Kt(),Ys=null,N3=lK("function:translate"),Yr={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},Yr.INVALID_ARGUMENT,Yr.INVALID_DATE_ARGUMENT,Yr.INVALID_ISO_DATE_ARGUMENT,Yr.NOT_SUPPORT_NON_STRING_MESSAGE,Yr.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Yr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Yr.NOT_SUPPORT_LOCALE_TYPE,bi=[],bi[0]={w:[0],i:[3,0],"[":[4],o:[7]},bi[1]={w:[1],".":[2],"[":[4],o:[7]},bi[2]={w:[2],i:[3,0],0:[3,0]},bi[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},bi[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},bi[5]={"'":[4,0],o:8,l:[5,0]},bi[6]={'"':[4,0],o:8,l:[6,0]},H3=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,Ty=new Map,Bo={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},OK={[Bo.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Bo.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Bo.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Bo.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Bo.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Bo.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Bo.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.",[Bo.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[Bo.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."},j3="11.4.4",AK=-1,Xs="en-US",IK="",$y=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,$m=null,Ey=e=>{$m=e},K3=()=>$m,Em=null,Oy=e=>{Em=e},G3=()=>Em,Ay=0,Kh=e=>({[e]:Kt()}),Om=typeof Intl<"u",Om&&Intl.DateTimeFormat,Om&&Intl.NumberFormat,P_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"],T_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"],q3=e=>e,Y3=e=>"",X3="text",Z3=e=>e.length===0?"":y_(e),J3=P3,Iy=()=>"",Hn=e=>dr(e),YU()}));function zK(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(oa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(oa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(oa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(oa().__INTLIFY_PROD_DEVTOOLS__=!1)}function En(e,...t){return sp(e,null,void 0)}function qd(e){if(!Lt(e)||Go(e))return e;for(const t in e)if(Jn(e,t))if(!t.includes("."))Lt(e[t])&&qd(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]]=Kt()),!Lt(o[r[a]])){i=!0;break}o=o[r[a]]}if(i||(Go(o)?k_.includes(r[n])||delete e[t]:(o[r[n]]=e[t],delete e[t])),!Go(o)){const a=o[r[n]];Lt(a)&&qd(a)}}return e}function $_(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,a=Ot(r)?r:pr(n)?Kt():{[e]:Kt()};if(pr(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:c}=l;s?(a[s]=a[s]||Kt(),Uh(c,a[s])):Uh(c,a)}else Qe(l)&&Uh(JSON.parse(l),a)}),o==null&&i)for(const l in a)Jn(a,l)&&qd(a[l]);return a}function Q3(e){return e.type}function eA(e,t,r){let n=Lt(t.messages)?t.messages:Kt();"__i18nGlobal"in r&&(n=$_(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])}),Lt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Lt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}function _k(e){return Nt(To,null,e,0)}function Yd(){const e="currentInstance";return e in BR?BR[e]:xr()}function wk(e){return((t,r,n,o)=>e(r,n,Yd()||void 0,o))}function kv(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,o=e.flatJson,i=Kd?K:ic;let a=It(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&a?t.locale.value:Qe(e.locale)?e.locale:Xs),s=i(t&&a?t.fallbackLocale.value:Qe(e.fallbackLocale)||pr(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i($_(l.value,e)),d=i(Ot(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),u=i(Ot(e.numberFormats)?e.numberFormats:{[l.value]:{}});let g=t?t.missingWarn:It(e.missingWarn)||xl(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:It(e.fallbackWarn)||xl(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:It(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=dr(e.missing)?e.missing:null,y=dr(e.missing)?wk(e.missing):null,x=dr(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:It(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const S=t?t.modifiers:Ot(e.modifiers)?e.modifiers:{};let R=e.pluralRules||t&&t.pluralRules,w;w=(()=>{n&&Oy(null);const P={version:rA,locale:l.value,fallbackLocale:s.value,messages:c.value,modifiers:S,pluralRules:R,missing:y===null?void 0:y,missingWarn:g,fallbackWarn:m,fallbackFormat:p,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:C,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=d.value,P.numberFormats=u.value,P.__datetimeFormatters=Ot(w)?w.__datetimeFormatters:void 0,P.__numberFormatters=Ot(w)?w.__numberFormatters:void 0;const D=_K(P);return n&&Oy(D),D})(),Dc(w,l.value,s.value);function E(){return[l.value,s.value,c.value,d.value,u.value]}const z=F({get:()=>l.value,set:P=>{w.locale=P,l.value=P}}),A=F({get:()=>s.value,set:P=>{w.fallbackLocale=P,s.value=P,Dc(w,l.value,P)}}),N=F(()=>c.value),L=F(()=>d.value),H=F(()=>u.value);function W(){return dr(x)?x:null}function Y(P){x=P,w.postTranslation=P}function J(){return b}function Q(P){P!==null&&(y=wk(P)),b=P,w.missing=y}const fe=(P,D,pe,Oe,Ke,We)=>{E();let qe;try{__INTLIFY_PROD_DEVTOOLS__&&Ey(oA()),n||(w.fallbackContext=t?G3():void 0),qe=P(w)}finally{__INTLIFY_PROD_DEVTOOLS__&&Ey(null),n||(w.fallbackContext=void 0)}if(pe!=="translate exists"&&Pr(qe)&&qe===-1||pe==="translate exists"&&!qe){const[et,mt]=D();return t&&h?Oe(t):Ke(et)}else{if(We(qe))return qe;throw En(Jt.UNEXPECTED_RETURN_TYPE)}};function Se(...P){return fe(D=>Reflect.apply(Ck,null,[D,...P]),()=>yy(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>Qe(D))}function se(...P){const[D,pe,Oe]=P;if(Oe&&!Lt(Oe))throw En(Jt.INVALID_ARGUMENT);return Se(D,pe,Tr({resolvedMessage:!0},Oe||{}))}function ye(...P){return fe(D=>Reflect.apply(mk,null,[D,...P]),()=>my(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>"",D=>Qe(D)||pr(D))}function de(...P){return fe(D=>Reflect.apply(yk,null,[D,...P]),()=>by(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>"",D=>Qe(D)||pr(D))}function oe(P){return P.map(D=>Qe(D)||Pr(D)||It(D)?_k(String(D)):D)}const Pe={normalize:oe,interpolate:P=>P,type:"vnode"};function le(...P){return fe(D=>{let pe;const Oe=D;try{Oe.processor=Pe,pe=Reflect.apply(Ck,null,[Oe,...P])}finally{Oe.processor=null}return pe},()=>yy(...P),"translate",D=>D[Pv](...P),D=>[_k(D)],D=>pr(D))}function be(...P){return fe(D=>Reflect.apply(yk,null,[D,...P]),()=>by(...P),"number format",D=>D[$v](...P),zy,D=>Qe(D)||pr(D))}function re(...P){return fe(D=>Reflect.apply(mk,null,[D,...P]),()=>my(...P),"datetime format",D=>D[Tv](...P),zy,D=>Qe(D)||pr(D))}function ae(P){R=P,w.pluralRules=R}function ke(P,D){return fe(()=>{if(!P)return!1;const pe=Qe(D)?D:l.value,Oe=Qe(D)?[pe]:gy(w,s.value,pe);for(let Ke=0;Ke<Oe.length;Ke++){const We=U(Oe[Ke]);let qe=w.messageResolver(We,P);if(qe===null&&(qe=We[P]),Go(qe)||Hn(qe)||Qe(qe))return!0}return!1},()=>[P],"translate exists",pe=>Reflect.apply(pe.te,pe,[P,D]),nA,pe=>It(pe))}function Le(P){let D=null;const pe=gy(w,s.value,l.value);for(let Oe=0;Oe<pe.length;Oe++){const Ke=c.value[pe[Oe]]||{},We=w.messageResolver(Ke,P);if(We!=null){D=We;break}}return D}function I(P){const D=Le(P);return D??(t?t.tm(P)||{}:{})}function U(P){return c.value[P]||{}}function ie(P,D){if(o){const pe={[P]:D};for(const Oe in pe)Jn(pe,Oe)&&qd(pe[Oe]);D=pe[P]}c.value[P]=D,w.messages=c.value}function Ce(P,D){c.value[P]=c.value[P]||{};const pe={[P]:D};if(o)for(const Oe in pe)Jn(pe,Oe)&&qd(pe[Oe]);D=pe[P],Uh(D,c.value[P]),w.messages=c.value}function M(P){return d.value[P]||{}}function $(P,D){d.value[P]=D,w.datetimeFormats=d.value,bk(w,P,D)}function O(P,D){d.value[P]=Tr(d.value[P]||{},D),w.datetimeFormats=d.value,bk(w,P,D)}function Z(P){return u.value[P]||{}}function ne(P,D){u.value[P]=D,w.numberFormats=u.value,xk(w,P,D)}function X(P,D){u.value[P]=Tr(u.value[P]||{},D),w.numberFormats=u.value,xk(w,P,D)}Ly++,t&&Kd&&(nt(t.locale,P=>{a&&(l.value=P,w.locale=P,Dc(w,l.value,s.value))}),nt(t.fallbackLocale,P=>{a&&(s.value=P,w.fallbackLocale=P,Dc(w,l.value,s.value))}));const V={id:Ly,locale:z,fallbackLocale:A,get inheritLocale(){return a},set inheritLocale(P){a=P,P&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,Dc(w,l.value,s.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:N,get modifiers(){return S},get pluralRules(){return R||{}},get isGlobal(){return n},get missingWarn(){return g},set missingWarn(P){g=P,w.missingWarn=g},get fallbackWarn(){return m},set fallbackWarn(P){m=P,w.fallbackWarn=m},get fallbackRoot(){return h},set fallbackRoot(P){h=P},get fallbackFormat(){return p},set fallbackFormat(P){p=P,w.fallbackFormat=p},get warnHtmlMessage(){return C},set warnHtmlMessage(P){C=P,w.warnHtmlMessage=P},get escapeParameter(){return _},set escapeParameter(P){_=P,w.escapeParameter=P},t:Se,getLocaleMessage:U,setLocaleMessage:ie,mergeLocaleMessage:Ce,getPostTranslationHandler:W,setPostTranslationHandler:Y,getMissingHandler:J,setMissingHandler:Q,[E_]:ae};return V.datetimeFormats=L,V.numberFormats=H,V.rt=se,V.te=ke,V.tm=I,V.d=ye,V.n=de,V.getDateTimeFormat=M,V.setDateTimeFormat=$,V.mergeDateTimeFormat=O,V.getNumberFormat=Z,V.setNumberFormat=ne,V.mergeNumberFormat=X,V[O_]=r,V[Pv]=le,V[Tv]=re,V[$v]=be,V}function LK(e){const t=Qe(e.locale)?e.locale:Xs,r=Qe(e.fallbackLocale)||pr(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=dr(e.missing)?e.missing:void 0,o=It(e.silentTranslationWarn)||xl(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=It(e.silentFallbackWarn)||xl(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=It(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,s=Ot(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=dr(e.postTranslation)?e.postTranslation:void 0,u=Qe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,m=It(e.sync)?e.sync:!0;let h=e.messages;if(Ot(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((R,w)=>(Tr(R[w]||(R[w]={}),S[w]),R),h||{})}const{__i18n:p,__root:b,__injectWithOption:y}=e,x=e.datetimeFormats,C=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:_,datetimeFormats:x,numberFormats:C,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:m,__i18n:p,__root:b,__injectWithOption:y}}function Fy(e={}){const t=kv(LK(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 It(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=It(o)?!o:o},get silentFallbackWarn(){return It(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=It(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 MK(e,t,r){return{beforeCreate(){const n=Yd();if(!n)throw En(Jt.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=Sk(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Fy(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Sk(e,o);else{this.$i18n=Fy({__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&&eA(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=Yd();if(!n)throw En(Jt.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 Sk(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[E_](t.pluralizationRules||e.pluralizationRules);const r=$_(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 DK({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,n)=>[...r,...n.type===gt?n.children:[n]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},Kt())}function tA(){return gt}function BK(e){return pr(e)&&!Qe(e[0])}function Rk(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const c={part:!0};let d=Kt();e.locale&&(c.locale=e.locale),Qe(e.format)?c.key=e.format:Lt(e.format)&&(Qe(e.format.key)&&(c.key=e.format.key),d=Object.keys(e.format).reduce((m,h)=>r.includes(h)?Tr(Kt(),m,{[h]:e.format[h]}):m,Kt()));const u=n(e.value,c,d);let g=[c.key];return pr(u)?g=u.map((m,h)=>{const p=o[m.type],b=p?p({[m.type]:m.value,index:h,parts:u}):[m.value];return BK(b)&&(b[0].key=`${m.type}-${h}`),b}):Qe(u)&&(g=[u]),g},l=Tr(Kt(),i),s=Qe(e.tag)||Lt(e.tag)?e.tag:tA();return Lt(s)?v(s,l,{default:a}):v(s,l,a())}}function NK(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 HK(e){const t=a=>{const{instance:l,value:s}=a;if(!l||!l.$)throw En(Jt.UNEXPECTED_ERROR);const c=NK(e,l.$),d=kk(s);return[Reflect.apply(c.t,c,[...Pk(d)]),c]};return{created:(a,l)=>{const[s,c]=t(l);Kd&&(a.__i18nWatcher=nt(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=c,a.textContent=s},unmounted:a=>{Kd&&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,c=kk(l);a.textContent=Reflect.apply(s.t,s,[...Pk(c)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function kk(e){if(Qe(e))return{path:e};if(Ot(e)){if(!("path"in e))throw En(Jt.REQUIRED_VALUE,"path");return e}else throw En(Jt.INVALID_VALUE)}function Pk(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},l=n||{};return Qe(r)&&(a.locale=r),Pr(o)&&(a.plural=o),Pr(i)&&(a.plural=i),[t,l,a]}function jK(e,t,...r){const n=Ot(r[0])?r[0]:{};(!It(n.globalInstall)||n.globalInstall)&&([My.name,"I18nT"].forEach(o=>e.component(o,My)),[Dy.name,"I18nN"].forEach(o=>e.component(o,Dy)),[Ny.name,"I18nD"].forEach(o=>e.component(o,Ny))),e.directive("t",HK(t))}function WK(e={}){const t=__VUE_I18N_LEGACY_API__&&It(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=It(e.globalInjection)?e.globalInjection:!0,n=new Map,[o,i]=VK(e,t),a=jo("");function l(u){return n.get(u)||null}function s(u,g){n.set(u,g)}function c(u){n.delete(u)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(u,...g){if(u.__VUE_I18N_SYMBOL__=a,u.provide(u.__VUE_I18N_SYMBOL__,d),Ot(g[0])){const p=g[0];d.__composerExtend=p.__composerExtend,d.__vueI18nExtend=p.__vueI18nExtend}let m=null;!t&&r&&(m=XK(u,d.global)),__VUE_I18N_FULL_INSTALL__&&jK(u,d,...g),__VUE_I18N_LEGACY_API__&&t&&u.mixin(MK(i,i.__composer,d));const h=u.unmount;u.unmount=()=>{m&&m(),d.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:n,__getInstance:l,__setInstance:s,__deleteInstance:c};return d}function Cd(e={}){const t=Yd();if(t==null)throw En(Jt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw En(Jt.NOT_INSTALLED);const r=UK(t),n=GK(r),o=Q3(t),i=KK(e,o);if(i==="global")return eA(n,e,o),n;if(i==="parent"){let s=Tk(r,t,e.__useComponent);return s==null&&(s=n),s}if(i==="isolated"){if(r.mode!=="composition")throw En(Jt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const s=r,c=Tr({},e);c.__root=Tk(r,t)||n;const d=kv(c);return s.__composerExtend&&(d[ll]=s.__composerExtend(d)),qv()&&xC(()=>{const u=d[ll];u&&(u(),delete d[ll])}),d}const a=r;let l=a.__getInstance(t);if(l==null){const s=Tr({},e);"__i18n"in o&&(s.__i18n=o.__i18n),n&&(s.__root=n),l=kv(s),a.__composerExtend&&(l[ll]=a.__composerExtend(l)),YK(a,t,l),a.__setInstance(t,l)}return l}function VK(e,t){const r=Gv(),n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Fy(e)):r.run(()=>kv(e));if(n==null)throw En(Jt.UNEXPECTED_ERROR);return[r,n]}function UK(e){const t=Ne(e.isCE?iA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw En(e.isCE?Jt.NOT_INSTALLED_WITH_PROVIDE:Jt.UNEXPECTED_ERROR);return t}function KK(e,t){return xu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function GK(e){return e.mode==="composition"?e.global:e.global.__composer}function Tk(e,t,r=!1){let n=null;const o=t.root;let i=qK(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[O_]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function qK(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function YK(e,t,r){Dt(()=>{},t),so(()=>{const n=r;e.__deleteInstance(t);const o=n[ll];o&&(o(),delete n[ll])},t)}function XK(e,t){const r=Object.create(null);return aA.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw En(Jt.UNEXPECTED_ERROR);const a=sr(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,By.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw En(Jt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,By.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var rA,Jt,Pv,Tv,$v,E_,O_,ll,ja,Am,zy,nA,Ly,oA,ph,My,Dy,iA,aA,By,Ny,A_=f((()=>{if(FK(),C_(),G(),rA="11.4.4",Jt={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},Jt.UNEXPECTED_RETURN_TYPE,Jt.INVALID_ARGUMENT,Jt.MUST_BE_CALL_SETUP_TOP,Jt.NOT_INSTALLED,Jt.UNEXPECTED_ERROR,Jt.REQUIRED_VALUE,Jt.INVALID_VALUE,Jt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Jt.NOT_INSTALLED_WITH_PROVIDE,Jt.NOT_COMPATIBLE_LEGACY_VUE_I18N,Jt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY,Pv=jo("__translateVNode"),Tv=jo("__datetimeParts"),$v=jo("__numberParts"),E_=jo("__setPluralRules"),jo("__intlifyMeta"),O_=jo("__injectWithOption"),ll=jo("__dispose"),ja={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},ja.FALLBACK_TO_ROOT,ja.NOT_FOUND_PARENT_SCOPE,ja.IGNORE_OBJ_FLATTEN,ja.DEPRECATE_LEGACY_MODE,ja.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,ja.DUPLICATE_USE_I18N_CALLING,Am="__INTLIFY_META__",zy=()=>[],nA=()=>!1,Ly=0,oA=()=>{const e=Yd();let t=null;return e&&(t=Q3(e)[Am])?{[Am]:t}:null},ph={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},My=Re({name:"i18n-t",props:Tr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Pr(e)||!isNaN(e)}},ph),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const s=Object.keys(r).filter(u=>u[0]!=="_"),c=Kt();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Qe(e.plural)?+e.plural:e.plural);const d=DK(t,s);return o[Pv](e.keypath,d,c)},a=Tr(Kt(),n),l=Qe(e.tag)||Lt(e.tag)?e.tag:tA();return Lt(l)?v(l,a,{default:i}):v(l,a,i())}}}),Dy=Re({name:"i18n-n",props:Tr({value:{type:Number,required:!0},format:{type:[String,Object]}},ph),setup(e,t){const r=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return Rk(e,t,T_,(...n)=>r[$v](...n))}}),iA=jo("global-vue-i18n"),aA=["locale","fallbackLocale","availableLocales"],By=["t","rt","d","n","tm","te"],Ny=Re({name:"i18n-d",props:Tr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ph),setup(e,t){const r=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return Rk(e,t,P_,(...n)=>r[Tv](...n))}}),zK(),yK(oK),xK(mK),CK(gy),__INTLIFY_PROD_DEVTOOLS__){const e=oa();e.__INTLIFY__=!0,iK(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}}));GO();A_();lp();var Gh=["en","zh","zh-TW","ja","ko","fr","es","de","pt","ru"];function $k(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function I_(e,t){const r={...e};for(const[n,o]of Object.entries(t)){const i=e[n];r[n]=$k(i)&&$k(o)?I_(i,o):o}return r}var ZK={en:()=>dt(()=>import("./en-Be915fg0.js"),[]),zh:()=>dt(()=>import("./zh-CoPU4mYG.js"),[]),"zh-TW":()=>dt(()=>import("./zh-TW-BJY5MjsC.js"),[]),ja:()=>dt(()=>import("./ja-24otYQMe.js"),[]),ko:()=>dt(()=>import("./ko-BAFhhHmu.js"),[]),fr:()=>dt(()=>import("./fr-cOjPUfRx.js"),[]),es:()=>dt(()=>import("./es-CifdmPsf.js"),[]),de:()=>dt(()=>import("./de-EFWp16Qh.js"),[]),pt:()=>dt(()=>import("./pt-DPgTOGuO.js"),[]),ru:()=>dt(()=>import("./ru-BGBuhe8j.js"),[])},Im=new Map;function Hy(e){const t=Im.get(e);if(t)return t;const r=ZK[e]().then(n=>n.default).catch(n=>{throw Im.delete(e),n});return Im.set(e,r),r}var JK=localStorage.getItem("hermes_locale");function QK(e){if(e&&Gh.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 Gh.includes(r)?r:Gh.includes(o)?o:null}for(const r of navigator.languages){const n=t(r);if(n)return n}return"en"}function lA(e){document.documentElement.lang=e}var gs=QK(JK);lA(gs);async function eG(){const e=Hy("en"),t=gs==="en"?e:Hy(gs),[r,n]=await Promise.all([e,t]);return WK({legacy:!1,locale:gs,fallbackLocale:"en",messages:gs==="en"?{en:r}:{en:r,[gs]:I_(r,n)}})}var sA=eG(),Fm=0;async function Che(e){if(!Gh.includes(e))return;const t=(await sA).global,r=e,n=++Fm;if(!t.availableLocales.includes(r)){const o=await Hy(r);if(n!==Fm)return;t.setLocaleMessage(r,r==="en"?o:I_(t.getLocaleMessage("en"),o))}n===Fm&&(t.locale.value=r,lA(r),localStorage.setItem("hermes_locale",r))}var tG,rG=f((()=>{tG="/logo.png"}));function nG(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(_=>_.trim());function x(_){return y.map(S=>`&${b?.bPrefix||t}${p.bem.b}${_!==void 0?`${r}${_}`:""}${n}${S}`).join(", ")}const C=p.bem.els;return C!==null?x(C[0]):x()}}}function c(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(c(h[0]),h[1],h[2]))}),i}var oG=f((()=>{}));function iG(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}function aG(e,t){const r=[];return t.split(F_).forEach(n=>{let o=iG(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 lG(e,t){const r=[];return t.split(F_).forEach(n=>{e.forEach(o=>{r.push((o&&o+" ")+n)})}),r}function sG(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=aG(t,r):t=lG(t,r))}),t.join(", ").replace(cA," ")}var F_,cA,cG=f((()=>{F_=/\s*,(?![^(]*\))\s*/g,cA=/\s+/g}));function Ek(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function cp(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function dG(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function gh(e){return e?/^\s*@(s|m)/.test(e):!1}var dp=f((()=>{}));function dA(e){return e.replace(fA,t=>"-"+t.toLowerCase())}function uG(e,t=" "){return typeof e=="object"&&e!==null?` {
7
+ `,i=t.needIndent?t.needIndent:r!=="arrow",a=e.helpers||[],l=HU(e,{filename:n,breakLineCode:o,needIndent:i});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${y_(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),qs(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:s,map:c}=l.context();return{ast:e,code:s,map:c?c.toJSON():void 0}}}));function YU(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(oa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(oa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Go(e){return Lt(e)&&w_(e)===0&&(Jn(e,"b")||Jn(e,"body"))}function XU(e){return ba(e,xy)}function ZU(e){return ba(e,Cy,[])}function JU(e){return ba(e,_y)}function QU(e){return ba(e,wy,[])}function w_(e){return ba(e,Sy)}function vh(e,t){const r=ba(e,Ry);if(r!=null)return r;throw Gd(t)}function eK(e){return ba(e,ky)}function tK(e){const t=ba(e,Py);if(t)return t;throw Gd(6)}function ba(e,t,r){for(let n=0;n<t.length;n++){const o=t[n];if(Jn(e,o)&&e[o]!=null)return e[o]}return r}function Gd(e){return new Error(`unhandled node type: ${e}`)}function km(e){return r=>rK(r,e)}function rK(e,t){const r=XU(t);if(r==null)throw Gd(0);if(w_(r)===1){const n=ZU(r);return e.plural(n.reduce((o,i)=>[...o,vk(e,i)],[]))}else return vk(e,r)}function vk(e,t){const r=JU(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=QU(t).reduce((o,i)=>[...o,py(e,i)],[]);return e.normalize(n)}}function py(e,t){const r=w_(t);switch(r){case 3:return vh(t,r);case 9:return vh(t,r);case 4:{const n=t;if(Jn(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Jn(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Gd(r)}case 5:{const n=t;if(Jn(n,"i")&&Pr(n.i))return e.interpolate(e.list(n.i));if(Jn(n,"index")&&Pr(n.index))return e.interpolate(e.list(n.index));throw Gd(r)}case 6:{const n=t,o=eK(n),i=tK(n);return e.linked(py(e,i),o?py(e,o):void 0,e.type)}case 7:return vh(t,r);case 8:return vh(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}function nK(e,t={}){let r=!1;const n=t.onError||AU;return t.onError=o=>{r=!0,n(o)},{...KU(e,t),detectError:r}}function oK(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Qe(e)){It(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||B3)(e),n=id[r];if(n)return n;const{ast:o,detectError:i}=nK(e,{...t,location:!1,jit:!0}),a=km(o);return i?a:id[r]=a}else{const r=e.cacheKey;if(r){const n=id[r];return n||(id[r]=km(e))}else return km(e)}}function iK(e){Ys=e}function aK(e,t,r){Ys&&Ys.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}function lK(e){return t=>Ys&&Ys.emit(e,t)}function $i(e){return sp(e,null,void 0)}function S_(e,t){return t.locale!=null?pk(t.locale):pk(e.locale)}function pk(e){if(Qe(e))return e;if(dr(e)){if(e.resolvedOnce&&Tm!=null)return Tm;if(e.constructor.name==="Function"){const t=e();if(k3(t))throw $i(Yr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tm=t}else throw $i(Yr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $i(Yr.NOT_SUPPORT_LOCALE_TYPE)}function sK(e,t,r){return[...new Set([r,...pr(t)?t:Lt(t)?Object.keys(t):Qe(t)?[t]:[r]])]}function gy(e,t,r){const n=Qe(r)?r:Xs,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let a=[r];for(;pr(a);)a=gk(i,a,t);const l=pr(t)||!Ot(t)?t:t.default?t.default:null;a=Qe(l)?[l]:l,pr(a)&&gk(i,a,!1),o.__localeChainCache.set(n,i)}return i}function gk(e,t,r){let n=!0;for(let o=0;o<t.length&&It(n);o++){const i=t[o];Qe(i)&&(n=cK(e,t[o],r))}return n}function cK(e,t,r){let n;const o=t.split("-");do n=dK(e,o.join("-"),r),o.splice(-1,1);while(o.length&&n===!0);return n}function dK(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),(pr(r)||Ot(r))&&r[o]&&(n=r[o])}return n}function uK(e){return H3.test(e)}function fK(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function hK(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 vK(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uK(t)?fK(t):"*"+t}function pK(e){const t=[];let r=-1,n=0,o=0,i,a,l,s,c,d,u;const g=[];g[0]=()=>{a===void 0?a=l:a+=l},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,n=4,g[0]();else{if(o=0,a===void 0||(a=vK(a),a===!1))return!1;g[1]()}};function m(){const h=e[r+1];if(n===5&&h==="'"||n===6&&h==='"')return r++,l="\\"+h,g[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&m())){if(s=hK(i),u=bi[n],c=u[s]||u.l||8,c===8||(n=c[0],c[1]!==void 0&&(d=g[c[1]],d&&(l=i,d()===!1))))return;if(n===7)return t}}function gK(e,t){return Lt(e)?e[t]:null}function mK(e,t){if(!Lt(e))return null;let r=Ty.get(t);if(r||(r=pK(t),r&&Ty.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;for(;i<n;){const a=r[i];if(k_.includes(a)&&Go(o)||!Lt(o)||!Jn(o,a))return null;const l=o[a];if(l===void 0||dr(o))return null;o=l,i++}return o}function bK(){return{upper:(e,t)=>t==="text"&&Qe(e)?e.toUpperCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Qe(e)?e.toLowerCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Qe(e)?$y(e):t==="vnode"&&Lt(e)&&"__v_isVNode"in e?$y(e.children):e}}function yK(e){W3=e}function xK(e){V3=e}function CK(e){U3=e}function _K(e={}){const t=dr(e.onWarn)?e.onWarn:PU,r=Qe(e.version)?e.version:j3,n=Qe(e.locale)||dr(e.locale)?e.locale:Xs,o=dr(n)?Xs:n,i=pr(e.fallbackLocale)||Ot(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=Ot(e.messages)?e.messages:Kh(o),l=Ot(e.datetimeFormats)?e.datetimeFormats:Kh(o),s=Ot(e.numberFormats)?e.numberFormats:Kh(o),c=Tr(Kt(),e.modifiers,bK()),d=e.pluralRules||Kt(),u=dr(e.missing)?e.missing:null,g=It(e.missingWarn)||xl(e.missingWarn)?e.missingWarn:!0,m=It(e.fallbackWarn)||xl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,p=!!e.unresolving,b=dr(e.postTranslation)?e.postTranslation:null,y=Ot(e.processor)?e.processor:null,x=It(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,_=dr(e.messageCompiler)?e.messageCompiler:W3,S=dr(e.messageResolver)?e.messageResolver:V3||gK,R=dr(e.localeFallbacker)?e.localeFallbacker:U3||sK,w=Lt(e.fallbackContext)?e.fallbackContext:void 0,T=e,E=Lt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,z=Lt(T.__numberFormatters)?T.__numberFormatters:new Map,A=Lt(T.__meta)?T.__meta:{};Ay++;const N={version:r,cid:Ay,locale:n,fallbackLocale:i,messages:a,modifiers:c,pluralRules:d,missing:u,missingWarn:g,fallbackWarn:m,fallbackFormat:h,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:x,escapeParameter:C,messageCompiler:_,messageResolver:S,localeFallbacker:R,fallbackContext:w,onWarn:t,__meta:A};return N.datetimeFormats=l,N.numberFormats=s,N.__datetimeFormatters=E,N.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&aK(N,r,A),N}function R_(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 Dc(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function wK(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function SK(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n<t.length;n++)if(wK(e,t[n]))return!0;return!1}function mk(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e;if(!Qe(t[0])&&!x_(t[0])&&!Pr(t[0]))return"";const[s,c,d,u]=my(...t),g=It(d.missingWarn)?d.missingWarn:e.missingWarn;It(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,h=S_(e,d),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),u).format(c);let b={},y,x=null;const C="datetime format";for(let R=0;R<p.length&&(y=p[R],b=r[y]||{},x=b[s],!Ot(x));R++)R_(e,s,y,g,C);if(!Ot(x)||!Qe(y))return n?-1:s;let _=`${y}__${s}`;xu(u)||(_=`${_}__${JSON.stringify(u)}`);let S=l.get(_);return S||(S=new Intl.DateTimeFormat(y,Tr({},x,u)),l.set(_,S)),m?S.formatToParts(c):S.format(c)}function my(...e){const[t,r,n,o]=e,i=Kt();let a=Kt(),l;if(Qe(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw $i(Yr.INVALID_ISO_DATE_ARGUMENT);const c=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(c);try{l.toISOString()}catch{throw $i(Yr.INVALID_ISO_DATE_ARGUMENT)}}else if(x_(t)){if(isNaN(t.getTime()))throw $i(Yr.INVALID_DATE_ARGUMENT);l=t}else if(Pr(t))l=t;else throw $i(Yr.INVALID_ARGUMENT);return Qe(r)?i.key=r:Ot(r)&&Object.keys(r).forEach(s=>{P_.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Ot(n)&&(a=n),Ot(o)&&(a=o),[i.key||"",l,i,a]}function bk(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function yk(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e;if(!Pr(t[0]))return"";const[s,c,d,u]=by(...t),g=It(d.missingWarn)?d.missingWarn:e.missingWarn;It(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,h=S_(e,d),p=a(e,o,h);if(!Qe(s)||s==="")return new Intl.NumberFormat(h.replace(/!/g,""),u).format(c);let b={},y,x=null;const C="number format";for(let R=0;R<p.length&&(y=p[R],b=r[y]||{},x=b[s],!Ot(x));R++)R_(e,s,y,g,C);if(!Ot(x)||!Qe(y))return n?-1:s;let _=`${y}__${s}`;xu(u)||(_=`${_}__${JSON.stringify(u)}`);let S=l.get(_);return S||(S=new Intl.NumberFormat(y,Tr({},x,u)),l.set(_,S)),m?S.formatToParts(c):S.format(c)}function by(...e){const[t,r,n,o]=e,i=Kt();let a=Kt();if(!Pr(t))throw $i(Yr.INVALID_ARGUMENT);const l=t;return Qe(r)?i.key=r:Ot(r)&&Object.keys(r).forEach(s=>{T_.includes(s)?a[s]=r[s]:i[s]=r[s]}),Qe(n)?i.locale=n:Ot(n)&&(a=n),Ot(o)&&(a=o),[i.key||"",l,i,a]}function xk(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}function Pm(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function RK(e){const t=Pr(e.pluralIndex)?e.pluralIndex:-1;return Pr(e.named?.count)?e.named.count:Pr(e.named?.n)?e.named.n:t}function kK(e={}){const t=e.locale,r=RK(e),n=Qe(t)&&dr(e.pluralRules?.[t])?e.pluralRules[t]:Pm,o=n===Pm?void 0:Pm,i=y=>y[n(r,y.length,o)],a=e.list||[],l=y=>a[y],s=e.named||Kt();Pr(e.pluralIndex)&&(s.count||(s.count=e.pluralIndex),s.n||(s.n=e.pluralIndex));const c=y=>s[y];function d(y,x){const C=dr(e.messages)?e.messages(y,!!x):Lt(e.messages)?e.messages[y]:!1;return C||(e.parent?e.parent.message(y):Y3)}const u=y=>e.modifiers?e.modifiers[y]:q3,g=dr(e.processor?.normalize)?e.processor.normalize:Z3,m=dr(e.processor?.interpolate)?e.processor.interpolate:J3,h=Qe(e.processor?.type)?e.processor.type:X3,b={list:l,named:c,plural:i,linked:(y,...x)=>{const[C,_]=x;let S="text",R="";x.length===1?Lt(C)?(R=C.modifier||R,S=C.type||S):Qe(C)&&(R=C||R):x.length===2&&(Qe(C)&&(R=C||R),Qe(_)&&(S=_||S));const w=d(y,!0)(b),T=w===""||w===void 0?y:w,E=S==="vnode"&&pr(T)&&R?T[0]:T;return R?u(R)(E,S):E},message:d,type:h,interpolate:m,normalize:g,values:Tr(Kt(),a,s)};return b}function Ck(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[s,c]=yy(...t),d=It(c.missingWarn)?c.missingWarn:e.missingWarn,u=It(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=It(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,h=Qe(c.default)||It(c.default)?It(c.default)?i?s:()=>s:c.default:r?i?s:()=>s:null,p=r||h!=null&&(Qe(h)||dr(h)),b=S_(e,c);g&&PK(c);let[y,x,C]=m?[s,b,l[b]||Kt()]:M3(e,s,b,a,u,d),_=y,S=s;if(!m&&!(Qe(_)||Go(_)||Hn(_))&&p&&(_=h,S=_),!m&&(!(Qe(_)||Go(_)||Hn(_))||!Qe(x)))return o?-1:s;let R=!1;const w=()=>{R=!0},T=Hn(_)?_:D3(e,s,x,_,S,w);if(R)return _;const E=TK(e,T,kK(EK(e,x,C,c)));let z=n?n(E,s):E;if(g&&Qe(z)&&(z=EU(z)),__INTLIFY_PROD_DEVTOOLS__){const A={timestamp:Date.now(),key:Qe(s)?s:Hn(_)?_.key:"",locale:x||(Hn(_)?_.locale:""),format:Qe(_)?_:Hn(_)?_.source:"",message:z};A.meta=Tr({},e.__meta,K3()||{}),N3(A)}return z}function PK(e){pr(e.list)?e.list=e.list.map(t=>Qe(t)?lk(t):t):Lt(e.named)&&Object.keys(e.named).forEach(t=>{Qe(e.named[t])&&(e.named[t]=lk(e.named[t]))})}function M3(e,t,r,n,o,i){const{messages:a,onWarn:l,messageResolver:s,localeFallbacker:c}=e,d=c(e,n,r);let u=Kt(),g,m=null;const h="translate";for(let p=0;p<d.length&&(g=d[p],u=a[g]||Kt(),(m=s(u,t))===null&&(m=u[t]),!(Qe(m)||Go(m)||Hn(m)));p++)if(!SK(g,d)){const b=R_(e,t,g,i,h);b!==t&&(m=b)}return[m,g,u]}function D3(e,t,r,n,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(Hn(n)){const c=n;return c.locale=c.locale||r,c.key=c.key||t,c}if(a==null){const c=(()=>n);return c.locale=r,c.key=t,c}const s=a(n,$K(e,r,o,n,l,i));return s.locale=r,s.key=t,s.source=n,s}function TK(e,t,r){return t(r)}function yy(...e){const[t,r,n]=e,o=Kt();if(!Qe(t)&&!Pr(t)&&!Hn(t)&&!Go(t))throw $i(Yr.INVALID_ARGUMENT);const i=Pr(t)?String(t):(Hn(t),t);return Pr(r)?o.plural=r:Qe(r)?o.default=r:Ot(r)&&!xu(r)?o.named=r:pr(r)&&(o.list=r),Pr(n)?o.plural=n:Qe(n)?o.default=n:Ot(n)&&Tr(o,n),[i,o]}function $K(e,t,r,n,o,i){return{locale:t,key:r,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>_3(t,r,a)}}function EK(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:d}=e,g={locale:t,modifiers:o,pluralRules:i,messages:(m,h)=>{let p=a(r,m);if(p==null&&(d||h)){const[b,,y]=M3(d||e,m,t,l,s,c);p=b??a(y,m)}if(Qe(p)||Go(p)){let b=!1;const x=D3(e,m,t,p,m,()=>{b=!0});return b?Iy:x}else return Hn(p)?p:Iy}};return e.processor&&(g.processor=e.processor),n.list&&(g.list=n.list),n.named&&(g.named=n.named),Pr(n.plural)&&(g.pluralIndex=n.plural),g}var xy,Cy,_y,wy,Sy,Ry,ky,Py,k_,B3,id,Ys,N3,Yr,Tm,bi,H3,Ty,Bo,OK,j3,AK,Xs,IK,$y,W3,V3,U3,$m,Ey,K3,Em,Oy,G3,Ay,Kh,Om,P_,T_,q3,Y3,X3,Z3,J3,Iy,Hn,FK=f((()=>{C_(),qU(),xy=["b","body"],Cy=["c","cases"],_y=["s","static"],wy=["i","items"],Sy=["t","type"],Ry=["v","value"],ky=["m","modifier"],Py=["k","key"],k_=[...xy,...Cy,..._y,...wy,...Py,...ky,...Ry,...Sy],B3=e=>e,id=Kt(),Ys=null,N3=lK("function:translate"),Yr={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},Yr.INVALID_ARGUMENT,Yr.INVALID_DATE_ARGUMENT,Yr.INVALID_ISO_DATE_ARGUMENT,Yr.NOT_SUPPORT_NON_STRING_MESSAGE,Yr.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Yr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Yr.NOT_SUPPORT_LOCALE_TYPE,bi=[],bi[0]={w:[0],i:[3,0],"[":[4],o:[7]},bi[1]={w:[1],".":[2],"[":[4],o:[7]},bi[2]={w:[2],i:[3,0],0:[3,0]},bi[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},bi[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},bi[5]={"'":[4,0],o:8,l:[5,0]},bi[6]={'"':[4,0],o:8,l:[6,0]},H3=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,Ty=new Map,Bo={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},OK={[Bo.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Bo.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Bo.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Bo.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Bo.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Bo.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Bo.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.",[Bo.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[Bo.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."},j3="11.4.4",AK=-1,Xs="en-US",IK="",$y=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,$m=null,Ey=e=>{$m=e},K3=()=>$m,Em=null,Oy=e=>{Em=e},G3=()=>Em,Ay=0,Kh=e=>({[e]:Kt()}),Om=typeof Intl<"u",Om&&Intl.DateTimeFormat,Om&&Intl.NumberFormat,P_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"],T_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"],q3=e=>e,Y3=e=>"",X3="text",Z3=e=>e.length===0?"":y_(e),J3=P3,Iy=()=>"",Hn=e=>dr(e),YU()}));function zK(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(oa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(oa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(oa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(oa().__INTLIFY_PROD_DEVTOOLS__=!1)}function En(e,...t){return sp(e,null,void 0)}function qd(e){if(!Lt(e)||Go(e))return e;for(const t in e)if(Jn(e,t))if(!t.includes("."))Lt(e[t])&&qd(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]]=Kt()),!Lt(o[r[a]])){i=!0;break}o=o[r[a]]}if(i||(Go(o)?k_.includes(r[n])||delete e[t]:(o[r[n]]=e[t],delete e[t])),!Go(o)){const a=o[r[n]];Lt(a)&&qd(a)}}return e}function $_(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,a=Ot(r)?r:pr(n)?Kt():{[e]:Kt()};if(pr(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:c}=l;s?(a[s]=a[s]||Kt(),Uh(c,a[s])):Uh(c,a)}else Qe(l)&&Uh(JSON.parse(l),a)}),o==null&&i)for(const l in a)Jn(a,l)&&qd(a[l]);return a}function Q3(e){return e.type}function eA(e,t,r){let n=Lt(t.messages)?t.messages:Kt();"__i18nGlobal"in r&&(n=$_(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])}),Lt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Lt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}function _k(e){return Nt(To,null,e,0)}function Yd(){const e="currentInstance";return e in BR?BR[e]:xr()}function wk(e){return((t,r,n,o)=>e(r,n,Yd()||void 0,o))}function kv(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,o=e.flatJson,i=Kd?K:ic;let a=It(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&a?t.locale.value:Qe(e.locale)?e.locale:Xs),s=i(t&&a?t.fallbackLocale.value:Qe(e.fallbackLocale)||pr(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i($_(l.value,e)),d=i(Ot(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),u=i(Ot(e.numberFormats)?e.numberFormats:{[l.value]:{}});let g=t?t.missingWarn:It(e.missingWarn)||xl(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:It(e.fallbackWarn)||xl(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:It(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=dr(e.missing)?e.missing:null,y=dr(e.missing)?wk(e.missing):null,x=dr(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:It(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const S=t?t.modifiers:Ot(e.modifiers)?e.modifiers:{};let R=e.pluralRules||t&&t.pluralRules,w;w=(()=>{n&&Oy(null);const P={version:rA,locale:l.value,fallbackLocale:s.value,messages:c.value,modifiers:S,pluralRules:R,missing:y===null?void 0:y,missingWarn:g,fallbackWarn:m,fallbackFormat:p,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:C,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=d.value,P.numberFormats=u.value,P.__datetimeFormatters=Ot(w)?w.__datetimeFormatters:void 0,P.__numberFormatters=Ot(w)?w.__numberFormatters:void 0;const D=_K(P);return n&&Oy(D),D})(),Dc(w,l.value,s.value);function E(){return[l.value,s.value,c.value,d.value,u.value]}const z=F({get:()=>l.value,set:P=>{w.locale=P,l.value=P}}),A=F({get:()=>s.value,set:P=>{w.fallbackLocale=P,s.value=P,Dc(w,l.value,P)}}),N=F(()=>c.value),L=F(()=>d.value),H=F(()=>u.value);function W(){return dr(x)?x:null}function Y(P){x=P,w.postTranslation=P}function J(){return b}function Q(P){P!==null&&(y=wk(P)),b=P,w.missing=y}const fe=(P,D,pe,Oe,Ke,We)=>{E();let qe;try{__INTLIFY_PROD_DEVTOOLS__&&Ey(oA()),n||(w.fallbackContext=t?G3():void 0),qe=P(w)}finally{__INTLIFY_PROD_DEVTOOLS__&&Ey(null),n||(w.fallbackContext=void 0)}if(pe!=="translate exists"&&Pr(qe)&&qe===-1||pe==="translate exists"&&!qe){const[et,mt]=D();return t&&h?Oe(t):Ke(et)}else{if(We(qe))return qe;throw En(Jt.UNEXPECTED_RETURN_TYPE)}};function Se(...P){return fe(D=>Reflect.apply(Ck,null,[D,...P]),()=>yy(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>Qe(D))}function se(...P){const[D,pe,Oe]=P;if(Oe&&!Lt(Oe))throw En(Jt.INVALID_ARGUMENT);return Se(D,pe,Tr({resolvedMessage:!0},Oe||{}))}function ye(...P){return fe(D=>Reflect.apply(mk,null,[D,...P]),()=>my(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>"",D=>Qe(D)||pr(D))}function de(...P){return fe(D=>Reflect.apply(yk,null,[D,...P]),()=>by(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>"",D=>Qe(D)||pr(D))}function oe(P){return P.map(D=>Qe(D)||Pr(D)||It(D)?_k(String(D)):D)}const Pe={normalize:oe,interpolate:P=>P,type:"vnode"};function le(...P){return fe(D=>{let pe;const Oe=D;try{Oe.processor=Pe,pe=Reflect.apply(Ck,null,[Oe,...P])}finally{Oe.processor=null}return pe},()=>yy(...P),"translate",D=>D[Pv](...P),D=>[_k(D)],D=>pr(D))}function be(...P){return fe(D=>Reflect.apply(yk,null,[D,...P]),()=>by(...P),"number format",D=>D[$v](...P),zy,D=>Qe(D)||pr(D))}function re(...P){return fe(D=>Reflect.apply(mk,null,[D,...P]),()=>my(...P),"datetime format",D=>D[Tv](...P),zy,D=>Qe(D)||pr(D))}function ae(P){R=P,w.pluralRules=R}function ke(P,D){return fe(()=>{if(!P)return!1;const pe=Qe(D)?D:l.value,Oe=Qe(D)?[pe]:gy(w,s.value,pe);for(let Ke=0;Ke<Oe.length;Ke++){const We=U(Oe[Ke]);let qe=w.messageResolver(We,P);if(qe===null&&(qe=We[P]),Go(qe)||Hn(qe)||Qe(qe))return!0}return!1},()=>[P],"translate exists",pe=>Reflect.apply(pe.te,pe,[P,D]),nA,pe=>It(pe))}function Le(P){let D=null;const pe=gy(w,s.value,l.value);for(let Oe=0;Oe<pe.length;Oe++){const Ke=c.value[pe[Oe]]||{},We=w.messageResolver(Ke,P);if(We!=null){D=We;break}}return D}function I(P){const D=Le(P);return D??(t?t.tm(P)||{}:{})}function U(P){return c.value[P]||{}}function ie(P,D){if(o){const pe={[P]:D};for(const Oe in pe)Jn(pe,Oe)&&qd(pe[Oe]);D=pe[P]}c.value[P]=D,w.messages=c.value}function Ce(P,D){c.value[P]=c.value[P]||{};const pe={[P]:D};if(o)for(const Oe in pe)Jn(pe,Oe)&&qd(pe[Oe]);D=pe[P],Uh(D,c.value[P]),w.messages=c.value}function M(P){return d.value[P]||{}}function $(P,D){d.value[P]=D,w.datetimeFormats=d.value,bk(w,P,D)}function O(P,D){d.value[P]=Tr(d.value[P]||{},D),w.datetimeFormats=d.value,bk(w,P,D)}function Z(P){return u.value[P]||{}}function ne(P,D){u.value[P]=D,w.numberFormats=u.value,xk(w,P,D)}function X(P,D){u.value[P]=Tr(u.value[P]||{},D),w.numberFormats=u.value,xk(w,P,D)}Ly++,t&&Kd&&(nt(t.locale,P=>{a&&(l.value=P,w.locale=P,Dc(w,l.value,s.value))}),nt(t.fallbackLocale,P=>{a&&(s.value=P,w.fallbackLocale=P,Dc(w,l.value,s.value))}));const V={id:Ly,locale:z,fallbackLocale:A,get inheritLocale(){return a},set inheritLocale(P){a=P,P&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,Dc(w,l.value,s.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:N,get modifiers(){return S},get pluralRules(){return R||{}},get isGlobal(){return n},get missingWarn(){return g},set missingWarn(P){g=P,w.missingWarn=g},get fallbackWarn(){return m},set fallbackWarn(P){m=P,w.fallbackWarn=m},get fallbackRoot(){return h},set fallbackRoot(P){h=P},get fallbackFormat(){return p},set fallbackFormat(P){p=P,w.fallbackFormat=p},get warnHtmlMessage(){return C},set warnHtmlMessage(P){C=P,w.warnHtmlMessage=P},get escapeParameter(){return _},set escapeParameter(P){_=P,w.escapeParameter=P},t:Se,getLocaleMessage:U,setLocaleMessage:ie,mergeLocaleMessage:Ce,getPostTranslationHandler:W,setPostTranslationHandler:Y,getMissingHandler:J,setMissingHandler:Q,[E_]:ae};return V.datetimeFormats=L,V.numberFormats=H,V.rt=se,V.te=ke,V.tm=I,V.d=ye,V.n=de,V.getDateTimeFormat=M,V.setDateTimeFormat=$,V.mergeDateTimeFormat=O,V.getNumberFormat=Z,V.setNumberFormat=ne,V.mergeNumberFormat=X,V[O_]=r,V[Pv]=le,V[Tv]=re,V[$v]=be,V}function LK(e){const t=Qe(e.locale)?e.locale:Xs,r=Qe(e.fallbackLocale)||pr(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=dr(e.missing)?e.missing:void 0,o=It(e.silentTranslationWarn)||xl(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=It(e.silentFallbackWarn)||xl(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=It(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,s=Ot(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=dr(e.postTranslation)?e.postTranslation:void 0,u=Qe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,m=It(e.sync)?e.sync:!0;let h=e.messages;if(Ot(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((R,w)=>(Tr(R[w]||(R[w]={}),S[w]),R),h||{})}const{__i18n:p,__root:b,__injectWithOption:y}=e,x=e.datetimeFormats,C=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:_,datetimeFormats:x,numberFormats:C,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:m,__i18n:p,__root:b,__injectWithOption:y}}function Fy(e={}){const t=kv(LK(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 It(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=It(o)?!o:o},get silentFallbackWarn(){return It(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=It(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 MK(e,t,r){return{beforeCreate(){const n=Yd();if(!n)throw En(Jt.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=Sk(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Fy(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Sk(e,o);else{this.$i18n=Fy({__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&&eA(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=Yd();if(!n)throw En(Jt.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 Sk(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[E_](t.pluralizationRules||e.pluralizationRules);const r=$_(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 DK({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,n)=>[...r,...n.type===gt?n.children:[n]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},Kt())}function tA(){return gt}function BK(e){return pr(e)&&!Qe(e[0])}function Rk(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const a=()=>{const c={part:!0};let d=Kt();e.locale&&(c.locale=e.locale),Qe(e.format)?c.key=e.format:Lt(e.format)&&(Qe(e.format.key)&&(c.key=e.format.key),d=Object.keys(e.format).reduce((m,h)=>r.includes(h)?Tr(Kt(),m,{[h]:e.format[h]}):m,Kt()));const u=n(e.value,c,d);let g=[c.key];return pr(u)?g=u.map((m,h)=>{const p=o[m.type],b=p?p({[m.type]:m.value,index:h,parts:u}):[m.value];return BK(b)&&(b[0].key=`${m.type}-${h}`),b}):Qe(u)&&(g=[u]),g},l=Tr(Kt(),i),s=Qe(e.tag)||Lt(e.tag)?e.tag:tA();return Lt(s)?v(s,l,{default:a}):v(s,l,a())}}function NK(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 HK(e){const t=a=>{const{instance:l,value:s}=a;if(!l||!l.$)throw En(Jt.UNEXPECTED_ERROR);const c=NK(e,l.$),d=kk(s);return[Reflect.apply(c.t,c,[...Pk(d)]),c]};return{created:(a,l)=>{const[s,c]=t(l);Kd&&(a.__i18nWatcher=nt(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=c,a.textContent=s},unmounted:a=>{Kd&&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,c=kk(l);a.textContent=Reflect.apply(s.t,s,[...Pk(c)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function kk(e){if(Qe(e))return{path:e};if(Ot(e)){if(!("path"in e))throw En(Jt.REQUIRED_VALUE,"path");return e}else throw En(Jt.INVALID_VALUE)}function Pk(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},l=n||{};return Qe(r)&&(a.locale=r),Pr(o)&&(a.plural=o),Pr(i)&&(a.plural=i),[t,l,a]}function jK(e,t,...r){const n=Ot(r[0])?r[0]:{};(!It(n.globalInstall)||n.globalInstall)&&([My.name,"I18nT"].forEach(o=>e.component(o,My)),[Dy.name,"I18nN"].forEach(o=>e.component(o,Dy)),[Ny.name,"I18nD"].forEach(o=>e.component(o,Ny))),e.directive("t",HK(t))}function WK(e={}){const t=__VUE_I18N_LEGACY_API__&&It(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=It(e.globalInjection)?e.globalInjection:!0,n=new Map,[o,i]=VK(e,t),a=jo("");function l(u){return n.get(u)||null}function s(u,g){n.set(u,g)}function c(u){n.delete(u)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(u,...g){if(u.__VUE_I18N_SYMBOL__=a,u.provide(u.__VUE_I18N_SYMBOL__,d),Ot(g[0])){const p=g[0];d.__composerExtend=p.__composerExtend,d.__vueI18nExtend=p.__vueI18nExtend}let m=null;!t&&r&&(m=XK(u,d.global)),__VUE_I18N_FULL_INSTALL__&&jK(u,d,...g),__VUE_I18N_LEGACY_API__&&t&&u.mixin(MK(i,i.__composer,d));const h=u.unmount;u.unmount=()=>{m&&m(),d.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:n,__getInstance:l,__setInstance:s,__deleteInstance:c};return d}function Cd(e={}){const t=Yd();if(t==null)throw En(Jt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw En(Jt.NOT_INSTALLED);const r=UK(t),n=GK(r),o=Q3(t),i=KK(e,o);if(i==="global")return eA(n,e,o),n;if(i==="parent"){let s=Tk(r,t,e.__useComponent);return s==null&&(s=n),s}if(i==="isolated"){if(r.mode!=="composition")throw En(Jt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const s=r,c=Tr({},e);c.__root=Tk(r,t)||n;const d=kv(c);return s.__composerExtend&&(d[ll]=s.__composerExtend(d)),qv()&&xC(()=>{const u=d[ll];u&&(u(),delete d[ll])}),d}const a=r;let l=a.__getInstance(t);if(l==null){const s=Tr({},e);"__i18n"in o&&(s.__i18n=o.__i18n),n&&(s.__root=n),l=kv(s),a.__composerExtend&&(l[ll]=a.__composerExtend(l)),YK(a,t,l),a.__setInstance(t,l)}return l}function VK(e,t){const r=Gv(),n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Fy(e)):r.run(()=>kv(e));if(n==null)throw En(Jt.UNEXPECTED_ERROR);return[r,n]}function UK(e){const t=Ne(e.isCE?iA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw En(e.isCE?Jt.NOT_INSTALLED_WITH_PROVIDE:Jt.UNEXPECTED_ERROR);return t}function KK(e,t){return xu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function GK(e){return e.mode==="composition"?e.global:e.global.__composer}function Tk(e,t,r=!1){let n=null;const o=t.root;let i=qK(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[O_]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function qK(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function YK(e,t,r){Dt(()=>{},t),so(()=>{const n=r;e.__deleteInstance(t);const o=n[ll];o&&(o(),delete n[ll])},t)}function XK(e,t){const r=Object.create(null);return aA.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw En(Jt.UNEXPECTED_ERROR);const a=sr(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,By.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw En(Jt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,By.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var rA,Jt,Pv,Tv,$v,E_,O_,ll,ja,Am,zy,nA,Ly,oA,ph,My,Dy,iA,aA,By,Ny,A_=f((()=>{if(FK(),C_(),G(),rA="11.4.4",Jt={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},Jt.UNEXPECTED_RETURN_TYPE,Jt.INVALID_ARGUMENT,Jt.MUST_BE_CALL_SETUP_TOP,Jt.NOT_INSTALLED,Jt.UNEXPECTED_ERROR,Jt.REQUIRED_VALUE,Jt.INVALID_VALUE,Jt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Jt.NOT_INSTALLED_WITH_PROVIDE,Jt.NOT_COMPATIBLE_LEGACY_VUE_I18N,Jt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY,Pv=jo("__translateVNode"),Tv=jo("__datetimeParts"),$v=jo("__numberParts"),E_=jo("__setPluralRules"),jo("__intlifyMeta"),O_=jo("__injectWithOption"),ll=jo("__dispose"),ja={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},ja.FALLBACK_TO_ROOT,ja.NOT_FOUND_PARENT_SCOPE,ja.IGNORE_OBJ_FLATTEN,ja.DEPRECATE_LEGACY_MODE,ja.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,ja.DUPLICATE_USE_I18N_CALLING,Am="__INTLIFY_META__",zy=()=>[],nA=()=>!1,Ly=0,oA=()=>{const e=Yd();let t=null;return e&&(t=Q3(e)[Am])?{[Am]:t}:null},ph={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},My=Re({name:"i18n-t",props:Tr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Pr(e)||!isNaN(e)}},ph),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return()=>{const i=()=>{const s=Object.keys(r).filter(u=>u[0]!=="_"),c=Kt();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Qe(e.plural)?+e.plural:e.plural);const d=DK(t,s);return o[Pv](e.keypath,d,c)},a=Tr(Kt(),n),l=Qe(e.tag)||Lt(e.tag)?e.tag:tA();return Lt(l)?v(l,a,{default:i}):v(l,a,i())}}}),Dy=Re({name:"i18n-n",props:Tr({value:{type:Number,required:!0},format:{type:[String,Object]}},ph),setup(e,t){const r=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return Rk(e,t,T_,(...n)=>r[$v](...n))}}),iA=jo("global-vue-i18n"),aA=["locale","fallbackLocale","availableLocales"],By=["t","rt","d","n","tm","te"],Ny=Re({name:"i18n-d",props:Tr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ph),setup(e,t){const r=e.i18n||Cd({useScope:e.scope,__useComponent:!0});return Rk(e,t,P_,(...n)=>r[Tv](...n))}}),zK(),yK(oK),xK(mK),CK(gy),__INTLIFY_PROD_DEVTOOLS__){const e=oa();e.__INTLIFY__=!0,iK(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}}));GO();A_();lp();var Gh=["en","zh","zh-TW","ja","ko","fr","es","de","pt","ru"];function $k(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function I_(e,t){const r={...e};for(const[n,o]of Object.entries(t)){const i=e[n];r[n]=$k(i)&&$k(o)?I_(i,o):o}return r}var ZK={en:()=>dt(()=>import("./en-CJJ1jL_Y.js"),[]),zh:()=>dt(()=>import("./zh-gGY9f4WM.js"),[]),"zh-TW":()=>dt(()=>import("./zh-TW-CLhifuOg.js"),[]),ja:()=>dt(()=>import("./ja-CQvWYnv9.js"),[]),ko:()=>dt(()=>import("./ko-CJGntapN.js"),[]),fr:()=>dt(()=>import("./fr-DcCzCkCs.js"),[]),es:()=>dt(()=>import("./es-DzGYbRQj.js"),[]),de:()=>dt(()=>import("./de--4CNgQuL.js"),[]),pt:()=>dt(()=>import("./pt-BLQB3VhC.js"),[]),ru:()=>dt(()=>import("./ru-BXep69sk.js"),[])},Im=new Map;function Hy(e){const t=Im.get(e);if(t)return t;const r=ZK[e]().then(n=>n.default).catch(n=>{throw Im.delete(e),n});return Im.set(e,r),r}var JK=localStorage.getItem("hermes_locale");function QK(e){if(e&&Gh.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 Gh.includes(r)?r:Gh.includes(o)?o:null}for(const r of navigator.languages){const n=t(r);if(n)return n}return"en"}function lA(e){document.documentElement.lang=e}var gs=QK(JK);lA(gs);async function eG(){const e=Hy("en"),t=gs==="en"?e:Hy(gs),[r,n]=await Promise.all([e,t]);return WK({legacy:!1,locale:gs,fallbackLocale:"en",messages:gs==="en"?{en:r}:{en:r,[gs]:I_(r,n)}})}var sA=eG(),Fm=0;async function Che(e){if(!Gh.includes(e))return;const t=(await sA).global,r=e,n=++Fm;if(!t.availableLocales.includes(r)){const o=await Hy(r);if(n!==Fm)return;t.setLocaleMessage(r,r==="en"?o:I_(t.getLocaleMessage("en"),o))}n===Fm&&(t.locale.value=r,lA(r),localStorage.setItem("hermes_locale",r))}var tG,rG=f((()=>{tG="/logo.png"}));function nG(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(_=>_.trim());function x(_){return y.map(S=>`&${b?.bPrefix||t}${p.bem.b}${_!==void 0?`${r}${_}`:""}${n}${S}`).join(", ")}const C=p.bem.els;return C!==null?x(C[0]):x()}}}function c(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(c(h[0]),h[1],h[2]))}),i}var oG=f((()=>{}));function iG(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}function aG(e,t){const r=[];return t.split(F_).forEach(n=>{let o=iG(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 lG(e,t){const r=[];return t.split(F_).forEach(n=>{e.forEach(o=>{r.push((o&&o+" ")+n)})}),r}function sG(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=aG(t,r):t=lG(t,r))}),t.join(", ").replace(cA," ")}var F_,cA,cG=f((()=>{F_=/\s*,(?![^(]*\))\s*/g,cA=/\s+/g}));function Ek(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function cp(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function dG(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function gh(e){return e?/^\s*@(s|m)/.test(e):!1}var dp=f((()=>{}));function dA(e){return e.replace(fA,t=>"-"+t.toLowerCase())}function uG(e,t=" "){return typeof e=="object"&&e!==null?` {
8
8
  `+Object.entries(e).map(r=>t+` ${dA(r[0])}: ${r[1]};`).join(`
9
9
  `)+`
10
10
  `+t+"}":`: ${e};`}function fG(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function Ok(e,t,r,n){if(!t)return"";const o=fG(t,r,n);if(!o)return"";if(typeof o=="string")return`${e} {
@@ -4308,4 +4308,4 @@ ${t}
4308
4308
  width: 0;
4309
4309
  height: 0;
4310
4310
  opacity: 0;
4311
- `)])})),kE,D9,OS=f((()=>{G(),xe(),Ac(),kE="__UPLOAD_DRAGGER__",D9=Re({name:"UploadDragger",[kE]:!0,setup(e,{slots:t}){const r=Ne(is,null);return r||Oo("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 dfe(){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 ufe(){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 ffe=f((()=>{G()})),B9,hfe=f((()=>{G(),rt(),g9(),Ac(),B9=Re({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup(){return{mergedTheme:Ne(is).mergedThemeRef}},render(){return v(Ni,null,{default:()=>this.show?v(p9,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}})}));function N9(e){return e.includes("image/")}function PE(e=""){const t=e.split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}function vfe(e){return jv(this,void 0,void 0,function*(){return yield new Promise(t=>{if(!e.type||!N9(e.type)){t("");return}t(window.URL.createObjectURL(e))})})}function pfe(e){return e.isDirectory}function gfe(e){return e.isFile}function mfe(e,t){return jv(this,void 0,void 0,function*(){const r=[];function n(o){return jv(this,void 0,void 0,function*(){for(const i of o)if(i){if(t&&pfe(i)){const a=i.createReader();let l=[],s;try{do s=yield new Promise((c,d)=>{a.readEntries(c,d)}),l=l.concat(s);while(s.length>0)}catch(c){a2("upload","error happens when handling directory upload",c)}yield n(l)}else if(gfe(i))try{const a=yield new Promise((l,s)=>{i.file(l,s)});r.push({file:a,entry:i,source:"dnd"})}catch(a){a2("upload","error happens when handling file upload",a)}}})}return yield n(e),r})}function su(e){const{id:t,name:r,percentage:n,status:o,url:i,file:a,thumbnailUrl:l,type:s,fullPath:c,batchId:d}=e;return{id:t,name:r,percentage:n??null,status:o,url:i??null,file:a??null,thumbnailUrl:l??null,type:s??null,fullPath:c??null,batchId:d??null}}function bfe(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 jv,m0,AS,H9,IS=f((()=>{xe(),RI(),jv=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},m0=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,AS=e=>{if(e.type)return N9(e.type);const t=PE(e.name||"");if(m0.test(t))return!0;const r=e.thumbnailUrl||e.url||"",n=PE(r);return!!(/^data:image\//.test(r)||m0.test(n))},H9=$o&&window.FileReader&&window.File})),b0,Gc,j9,yfe=f((()=>{Je(),G(),rt(),_t(),xe(),Cn(),RS(),ffe(),Ac(),hfe(),IS(),b0=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},Gc={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},j9=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=Ne(is),r=K(null),n=K(""),o=F(()=>{const{file:S}=e;return S.status==="finished"?"success":S.status==="error"?"error":"info"}),i=F(()=>{const{file:S}=e;if(S.status==="error")return"error"}),a=F(()=>{const{file:S}=e;return S.status==="uploading"}),l=F(()=>{if(!t.showCancelButtonRef.value)return!1;const{file:S}=e;return["uploading","pending","error"].includes(S.status)}),s=F(()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),c=F(()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),d=F(()=>{if(!t.showRetryButtonRef.value)return!1;const{file:S}=e;return["error"].includes(S.status)}),u=at(()=>n.value||e.file.thumbnailUrl||e.file.url),g=F(()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:S},listType:R}=e;return["finished"].includes(S)&&u.value&&R==="image-card"});function m(){return b0(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:R}=e;["finished","pending","error"].includes(R.status)?b(R):["uploading"].includes(R.status)?x(R):io("upload","The button clicked type is unknown.")}function p(S){S.preventDefault(),y(e.file)}function b(S){const{xhrMap:R,doChange:w,onRemoveRef:{value:T},mergedFileListRef:{value:E}}=t;Promise.resolve(T?T({file:Object.assign({},S),fileList:E,index:e.index}):!0).then(z=>{if(z===!1)return;const A=Object.assign({},S,{status:"removed"});R.delete(S.id),w(A,void 0,{remove:!0})})}function y(S){const{onDownloadRef:{value:R},customDownloadRef:{value:w}}=t;Promise.resolve(R?R(Object.assign({},S)):!0).then(T=>{T!==!1&&(w?w(Object.assign({},S)):X_(S.url,S.name))})}function x(S){const{xhrMap:R}=t,w=R.get(S.id);w?.abort(),b(Object.assign({},S))}function C(S){const{onPreviewRef:{value:R}}=t;if(R)R(e.file,{event:S});else if(e.listType==="image-card"){const{value:w}=r;if(!w)return;w.showPreview()}}const _=()=>b0(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 tr(()=>{_()}),{mergedTheme:t.mergedThemeRef,progressStatus:o,buttonType:i,showProgress:a,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:c,showRetryButton:d,showPreviewButton:g,mergedThumbnailUrl:u,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:r,handleRemoveOrCancelClick:h,handleDownloadClick:p,handleRetryClick:m,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):AS(n)?v(ut,{clsPrefix:e},{default:dfe}):v(ut,{clsPrefix:e},{default:ufe})):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(t9,{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(ut,{clsPrefix:e},{default:()=>v(SM,null)}));const l=v(B9,{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(Qn,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(V1,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&v(Qn,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:Gc,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>v(oi,null,{default:()=>this.showRemoveButton?v(ut,{clsPrefix:e,key:"trash"},{default:()=>v(BM,null)}):v(ut,{clsPrefix:e,key:"cancel"},{default:()=>v(RM,null)})})}),this.showRetryButton&&!this.disabled&&v(Qn,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(zM,null)})}),this.showDownloadButton?v(Qn,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(W1,null)})}):null)),!a&&l)}})})),FS,zS=f((()=>{G(),rt(),_t(),xe(),Ac(),OS(),IS(),FS=Re({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const r=Ne(is,null);r||Oo("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:c,handleFileAddition:d,mergedDirectoryDndRef:u,triggerClassRef:g,triggerStyleRef:m}=r,h=F(()=>a.value==="image-card");function p(){o.value||i.value||s()}function b(_){_.preventDefault(),l.value=!0}function y(_){_.preventDefault(),l.value=!0}function x(_){_.preventDefault(),l.value=!1}function C(_){var S;if(_.preventDefault(),!c.value||o.value||i.value){l.value=!1;return}const R=(S=_.dataTransfer)===null||S===void 0?void 0:S.items;R?.length?mfe(Array.from(R).map(w=>w.webkitGetAsEntry()),u.value).then(w=>{d(w)}).finally(()=>{l.value=!1}):l.value=!1}return()=>{var _;const{value:S}=n;return e.abstract?(_=t.default)===null||_===void 0?void 0:_.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`,g.value],style:m.value,onClick:p,onDrop:C,onDragover:b,onDragenter:y,onDragleave:x},h.value?v(D9,null,{default:()=>br(t.default,()=>[v(ut,{clsPrefix:S},{default:()=>v(Zp,null)})])}):t)}}})})),W9,V9=f((()=>{G(),rt(),xe(),RS(),Ac(),yfe(),zS(),W9=Re({name:"UploadFileList",setup(e,{slots:t}){const r=Ne(is,null);r||Oo("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:c,themeClassRef:d,maxReachedRef:u,showTriggerRef:g,imageGroupPropsRef:m}=r,h=F(()=>i.value==="image-card"),p=()=>a.value.map((y,x)=>v(j9,{clsPrefix:o.value,key:y.id,file:y,index:x,listType:i.value})),b=()=>h.value?v(Q7,Object.assign({},m.value),{default:p}):v(Ni,{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?d?.value:void 0,l.value],style:[x&&c?c.value:"",s.value]},b(),g.value&&!u.value&&h.value&&v(FS,null,t))}}})}));function xfe(e,t,r){const{doChange:n,xhrMap:o}=e;let i=0;function a(s){var c;let d=Object.assign({},t,{status:"error",percentage:i});o.delete(t.id),d=su(((c=e.onError)===null||c===void 0?void 0:c.call(e,{file:d,event:s}))||d),n(d,s)}function l(s){var c;if(e.isErrorState){if(e.isErrorState(r)){a(s);return}}else if(r.status<200||r.status>=300){a(s);return}let d=Object.assign({},t,{status:"finished",percentage:i});o.delete(t.id),d=su(((c=e.onFinish)===null||c===void 0?void 0:c.call(e,{file:d,event:s}))||d),n(d,s)}return{handleXHRLoad:l,handleXHRError:a,handleXHRAbort(s){const c=Object.assign({},t,{status:"removed",file:null,percentage:i});o.delete(t.id),n(c,s)},handleXHRProgress(s){const c=Object.assign({},t,{status:"uploading"});if(s.lengthComputable){const d=Math.ceil(s.loaded/s.total*100);c.percentage=d,i=d}n(c,s)}}}function Cfe(e){const{inst:t,file:r,data:n,headers:o,withCredentials:i,action:a,customRequest:l}=e,{doChange:s}=e.inst;let c=0;l({file:r,data:n,headers:o,withCredentials:i,action:a,onProgress(d){const u=Object.assign({},r,{status:"uploading"}),g=d.percent;u.percentage=g,c=g,s(u)},onFinish(){var d;let u=Object.assign({},r,{status:"finished",percentage:c});u=su(((d=t.onFinish)===null||d===void 0?void 0:d.call(t,{file:u}))||u),s(u)},onError(){var d;let u=Object.assign({},r,{status:"error",percentage:c});u=su(((d=t.onError)===null||d===void 0?void 0:d.call(t,{file:u}))||u),s(u)}})}function _fe(e,t,r){const n=xfe(e,t,r);r.onabort=n.handleXHRAbort,r.onerror=n.handleXHRError,r.onload=n.handleXHRLoad,r.upload&&(r.upload.onprogress=n.handleXHRProgress)}function U9(e,t){return typeof e=="function"?e({file:t}):e||{}}function wfe(e,t,r){const n=U9(t,r);n&&Object.keys(n).forEach(o=>{e.setRequestHeader(o,n[o])})}function Sfe(e,t,r){const n=U9(t,r);n&&Object.keys(n).forEach(o=>{e.append(o,n[o])})}function Rfe(e,t,r,{method:n,action:o,withCredentials:i,responseType:a,headers:l,data:s}){const c=new XMLHttpRequest;c.responseType=a,e.xhrMap.set(r.id,c),c.withCredentials=i;const d=new FormData;if(Sfe(d,s,r),r.file!==null&&d.append(t,r.file),_fe(e,r,c),o!==void 0){c.open(n.toUpperCase(),o),wfe(c,l,r),c.send(d);const u=Object.assign({},r,{status:"uploading"});e.doChange(u)}}var y0,TE,kfe,Pfe=f((()=>{ze(),Je(),G(),we(),xe(),qf(),Ac(),cfe(),OS(),V9(),zS(),IS(),y0=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},TE=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=>H9?AS(e):!1},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),kfe=Re({name:"Upload",props:TE,setup(e){e.abstract&&e.listType==="image-card"&&Oo("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",M9,M7,e,t),i=lr("Upload",n,t),a=Ao(e),l=K(e.defaultFileList),s=_e(e,"fileList"),c=K(null),d={value:!1},u=K(!1),g=new Map,m=Gt(s,l),h=F(()=>m.value.map(su)),p=F(()=>{const{max:A}=e;return A!==void 0?h.value.length>=A:!1});function b(){var A;(A=c.value)===null||A===void 0||A.click()}function y(A){const N=A.target;S(N.files?Array.from(N.files).map(L=>({file:L,entry:null,source:"input"})):null,A),N.value=""}function x(A){const{"onUpdate:fileList":N,onUpdateFileList:L}=e;N&&Ee(N,A),L&&Ee(L,A),l.value=A}const C=F(()=>e.multiple||e.directory),_=(A,N,L={append:!1,remove:!1})=>{const{append:H,remove:W}=L,Y=Array.from(h.value),J=Y.findIndex(Q=>Q.id===A.id);if(H||W||~J){H?Y.push(A):W?Y.splice(J,1):Y.splice(J,1,A);const{onChange:Q}=e;Q&&Q({file:A,fileList:Y,event:N}),x(Y)}};function S(A,N){if(!A||A.length===0)return;const{onBeforeUpload:L}=e;A=C.value?A:[A[0]];const{max:H,accept:W}=e;A=A.filter(({file:J,source:Q})=>Q==="dnd"&&W?.trim()?bfe(J.name,J.type,W):!0),H&&(A=A.slice(0,H-h.value.length));const Y=oo();Promise.all(A.map(J=>y0(this,[J],void 0,function*({file:Q,entry:fe}){var Se;const se={id:oo(),batchId:Y,name:Q.name,status:"pending",percentage:0,file:Q,url:null,type:Q.type,thumbnailUrl:null,fullPath:(Se=fe?.fullPath)!==null&&Se!==void 0?Se:`/${Q.webkitRelativePath||Q.name}`};return!L||(yield L({file:se,fileList:h.value}))!==!1?se:null}))).then(J=>y0(this,void 0,void 0,function*(){let Q=Promise.resolve();J.forEach(fe=>{Q=Q.then(zt).then(()=>{fe&&_(fe,N,{append:!0})})}),yield Q})).then(()=>{e.defaultUpload&&R()})}function R({fileId:A,retry:N=!1}={}){const{method:L,action:H,withCredentials:W,headers:Y,data:J,name:Q}=e,fe=A!==void 0?h.value.filter(se=>se.id===A):h.value,Se=N||A!==void 0;fe.forEach(se=>{const{status:ye}=se;(ye==="pending"||ye==="error"&&Se)&&(e.customRequest?Cfe({inst:{doChange:_,xhrMap:g,onFinish:e.onFinish,onError:e.onError},file:se,action:H,withCredentials:W,headers:Y,data:J,customRequest:e.customRequest}):Rfe({doChange:_,xhrMap:g,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},Q,se,{method:L,action:H,withCredentials:W,responseType:e.responseType,headers:Y,data:J}))})}function w(A){var N;if(A.thumbnailUrl)return A.thumbnailUrl;const{createThumbnailUrl:L}=e;return L?(N=L(A.file,A))!==null&&N!==void 0?N:A.url||"":A.url?A.url:A.file?vfe(A.file):""}const T=F(()=>{const{common:{cubicBezierEaseInOut:A},self:{draggerColor:N,draggerBorder:L,draggerBorderHover:H,itemColorHover:W,itemColorHoverError:Y,itemTextColorError:J,itemTextColorSuccess:Q,itemTextColor:fe,itemIconColor:Se,itemDisabledOpacity:se,lineHeight:ye,borderRadius:de,fontSize:oe,itemBorderImageCardError:ue,itemBorderImageCard:Pe}}=o.value;return{"--n-bezier":A,"--n-border-radius":de,"--n-dragger-border":L,"--n-dragger-border-hover":H,"--n-dragger-color":N,"--n-font-size":oe,"--n-item-color-hover":W,"--n-item-color-hover-error":Y,"--n-item-disabled-opacity":se,"--n-item-icon-color":Se,"--n-item-text-color":fe,"--n-item-text-color-error":J,"--n-item-text-color-success":Q,"--n-line-height":ye,"--n-item-border-image-card-error":ue,"--n-item-border-image-card":Pe}}),E=r?Ct("upload",void 0,T,e):void 0;st(is,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:_e(e,"showCancelButton"),showDownloadButtonRef:_e(e,"showDownloadButton"),showRemoveButtonRef:_e(e,"showRemoveButton"),showRetryButtonRef:_e(e,"showRetryButton"),onRemoveRef:_e(e,"onRemove"),onDownloadRef:_e(e,"onDownload"),customDownloadRef:_e(e,"customDownload"),mergedFileListRef:h,triggerClassRef:_e(e,"triggerClass"),triggerStyleRef:_e(e,"triggerStyle"),shouldUseThumbnailUrlRef:_e(e,"shouldUseThumbnailUrl"),renderIconRef:_e(e,"renderIcon"),xhrMap:g,submit:R,doChange:_,showPreviewButtonRef:_e(e,"showPreviewButton"),onPreviewRef:_e(e,"onPreview"),getFileThumbnailUrlResolver:w,listTypeRef:_e(e,"listType"),dragOverRef:u,openOpenFileDialog:b,draggerInsideRef:d,handleFileAddition:S,mergedDisabledRef:a.mergedDisabledRef,maxReachedRef:p,fileListClassRef:_e(e,"fileListClass"),fileListStyleRef:_e(e,"fileListStyle"),abstractRef:_e(e,"abstract"),acceptRef:_e(e,"accept"),cssVarsRef:r?void 0:T,themeClassRef:E?.themeClass,onRender:E?.onRender,showTriggerRef:_e(e,"showTrigger"),imageGroupPropsRef:_e(e,"imageGroupProps"),mergedDirectoryDndRef:F(()=>{var A;return(A=e.directoryDnd)!==null&&A!==void 0?A:e.directory}),onRetryRef:_e(e,"onRetry")});const z={clear:()=>{l.value=[]},submit:R,openOpenFileDialog:b};return Object.assign({mergedClsPrefix:t,draggerInsideRef:d,rtlEnabled:i,inputElRef:c,mergedTheme:o,dragOver:u,mergedMultiple:C,cssVars:r?void 0:T,themeClass:E?.themeClass,onRender:E?.onRender,handleFileInputChange:y},z)},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(gt,null,(t=o.default)===null||t===void 0?void 0:t.call(o),v(lc,{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(FS,null,o),this.showFileList&&v(W9,null,o)))}})})),Tfe=f((()=>{_I(),Pfe(),OS(),V9(),zS()})),$fe=f((()=>{G(),$t(),rt()})),Efe=f((()=>{Je(),G(),we(),xe(),Yf(),Te()})),$E=f((()=>{CM(),ioe(),coe(),Soe(),Poe(),Eoe(),Aoe(),Boe(),qoe(),Cn(),uw(),nie(),UD(),cie(),bie(),Fa(),i8(),h8(),Tie(),y8(),gw(),Iie(),mle(),wle(),Ale(),pN(),ase(),UN(),Sse(),Hw(),kse(),zse(),hH(),cB(),Hi(),Mse(),Bse(),jce(),Wce(),hde(),vde(),pde(),U7(),bde(),yde(),Mw(),_de(),RS(),Ade(),zn(),Bde(),Nde(),Hde(),jde(),Vde(),Ude(),mN(),Kde(),Yde(),Xde(),Zde(),$N(),jN(),HN(),Jde(),Qde(),D8(),oue(),Aa(),R8(),g9(),uue(),Aw(),fue(),hue(),gue(),E8(),bue(),wue(),sS(),Pue(),$ue(),Eue(),Oue(),zue(),Lue(),Hue(),ew(),jue(),Wue(),VB(),Vue(),dg(),Uue(),z9(),ofe(),sfe(),Tfe(),$fe(),Efe()})),Ofe=f((()=>{G(),me(),mn()})),K9,G9=f((()=>{K9=()=>({})})),q9,Afe=f((()=>{me(),G9(),q9={name:"Equation",common:Ve,self:K9}})),LS=f((()=>{Afe(),G9()})),Y9,Ife=f((()=>{me(),Y9={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)"}}}})),MS=f((()=>{Ife(),$c()})),X9,Ffe=f((()=>{Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),$c(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf(),X9={name:"dark",common:Ve,Alert:W6,Anchor:X6,AutoComplete:lD,Avatar:dw,AvatarGroup:pD,BackTop:bD,Badge:yD,Breadcrumb:kD,Button:xn,ButtonGroup:mH,Calendar:DD,Card:hw,Carousel:GD,Cascader:QD,Checkbox:Jl,Code:pw,Collapse:c8,CollapseTransition:p8,ColorPicker:b8,DataTable:q8,DatePicker:WB,Descriptions:YB,Dialog:Xw,Divider:VN,Drawer:YN,Dropdown:sg,DynamicInput:sH,DynamicTags:uH,Element:fH,Empty:$a,Ellipsis:Sw,Equation:q9,Flex:gH,Form:CH,GradientText:_H,Heatmap:G7,Icon:CB,IconWrapper:Y7,Image:X7,Input:Fn,InputNumber:wH,InputOtp:kH,LegacyTransfer:i9,Layout:PH,List:EH,LoadingBar:gN,Log:OH,Menu:zH,Mention:AH,Message:_N,Modal:lN,Notification:FN,PageHeader:DH,Pagination:_w,Popconfirm:WH,Popover:Oa,Popselect:mw,Progress:vS,QrCode:m9,Radio:Pw,Rate:KH,Result:YH,Row:TH,Scrollbar:Jr,Select:xw,Skeleton:b9,Slider:ZH,Space:lS,Spin:r7,Statistic:o7,Steps:l7,Switch:c7,Table:h7,Tabs:b7,Tag:J1,Thing:x7,TimePicker:Uw,Timeline:w7,Tooltip:cf,Transfer:k7,Tree:mS,TreeSelect:E7,Typography:z7,Upload:B7,Watermark:N7,Split:C9,FloatButton:H7,FloatButtonGroup:Y9,Marquee:l9}})),zfe=f((()=>{Ffe(),Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),pg(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),uS(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf()})),Z9=f((()=>{Te(),$E(),Ofe(),yM(),$E(),$c(),Zr(),G(),we(),xe(),Cn(),h8(),y8(),gw(),mn(),UN(),hH(),Hi(),U7(),Mw(),zn(),Aa(),sS(),Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),pg(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),uS(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf(),zfe(),sn(),Je()}));rG();Z9();var Lfe={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"}},Mfe={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:"#66bb6a",loadingColor:"#e0e0e0",opacityDisabled:.4}};function Dfe(e,t){const r=e?Mfe:Lfe;return t?{...r,common:{...r.common,fontFamily:"'Comic Neue', 'ZCOOL KuaiLe', 'Zen Maru Gothic', 'Gaegu', cursive, sans-serif"}}:r}function Bfe(e){return e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches:e==="dark"}function Mh(){const e=Bfe(gl.value);kd.value=e,Ds.value=Ms.value==="comic",document.documentElement.classList.toggle("dark",e),document.documentElement.classList.toggle("comic",Ds.value)}function Nfe(){const e=F(()=>{const i=kd.value?"dark":"light";return Ds.value?`comic-${i}`:i});function t(i){gl.value=i}function r(i){Ms.value=i}function n(){gl.value=kd.value?"light":"dark"}function o(){Ms.value=Ds.value?"ink":"comic"}return{brightness:gl,style:Ms,isDark:kd,isComic:Ds,themeName:e,setBrightness:t,setStyle:r,toggleBrightness:n,toggleStyle:o}}var x0,C0,gl,Ms,kd,Ds,Hfe=f((()=>{G(),x0="hermes_brightness",C0="hermes_style",gl=K(localStorage.getItem(x0)||"system"),Ms=K(localStorage.getItem(C0)||"ink"),kd=K(!1),Ds=K(!1),Mh(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{gl.value==="system"&&Mh()}),nt(gl,e=>{localStorage.setItem(x0,e),Mh()}),nt(Ms,e=>{localStorage.setItem(C0,e),Mh()})}));function J9(){function e(){uv.value=!0}function t(){uv.value=!1}return{sessionSearchOpen:uv,openSessionSearch:e,closeSessionSearch:t}}var uv,Q9=f((()=>{G(),uv=K(!1)}));Hfe();G();p_();Q9();lp();function jfe(){const e=vU(),{sessionSearchOpen:t,openSessionSearch:r,closeSessionSearch:n}=J9();function o(i){const a=i.ctrlKey||i.metaKey;if(a&&i.key==="n"){i.preventDefault(),dt(async()=>{const{useChatStore:l}=await import("./chat-DASgRGiI.js").then(s=>(s.n(),s.t));return{useChatStore:l}},__vite__mapDeps([11,2,12,13,14,4,15,16,17])).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()}}Dt(()=>{window.addEventListener("keydown",o)}),so(()=>{window.removeEventListener("keydown",o)})}async function Wfe(){return Ir("/health")}async function Vfe(){return Ir("/api/hermes/update",{method:"POST"})}async function jhe(){return Ir("/api/hermes/update/preview")}async function Whe(){return Ir("/api/hermes/update/preview/tags")}async function Vhe(e){return Ir("/api/hermes/update/preview/prepare",{method:"POST",body:JSON.stringify({tag:e})})}async function Uhe(){return Ir("/api/hermes/update/preview/install",{method:"POST"})}async function Khe(e){return Ir("/api/hermes/update/preview/start",{method:"POST",body:JSON.stringify({tag:e})})}async function Ghe(){return Ir("/api/hermes/update/preview/stop",{method:"POST"})}async function Ufe(){return Ir("/api/hermes/available-models")}async function qhe(e){const t=new URLSearchParams;return t.set("profile",e||"default"),Ir(`/api/hermes/available-models?${t.toString()}`)}async function Yhe(e){return Ir("/api/hermes/provider-models",{method:"POST",body:JSON.stringify(e)})}async function Xhe(){return Ir("/api/hermes/provider-models/cache/refresh",{method:"POST"})}async function Kfe(e){await Ir("/api/hermes/config/model",{method:"PUT",body:JSON.stringify(e)})}async function Gfe(e){await Ir("/api/hermes/model-alias",{method:"PUT",body:JSON.stringify(e)})}async function Zhe(e){await Ir("/api/hermes/config/providers",{method:"POST",body:JSON.stringify(e)})}async function Jhe(e,t={}){const r=new URLSearchParams;t.source&&r.set("source",t.source),t.providerKey&&r.set("providerKey",t.providerKey),await Ir(`/api/hermes/config/providers/${encodeURIComponent(e)}${r.size?`?${r}`:""}`,{method:"DELETE"})}async function Qhe(e,t){await Ir(`/api/hermes/config/providers/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(t)})}async function qfe(e){return Ir("/api/hermes/model-visibility",{method:"PUT",body:JSON.stringify(e)})}async function Yfe(e){return Ir("/api/hermes/custom-model",{method:"PUT",body:JSON.stringify(e)})}async function Xfe(e){const t=new URLSearchParams;return t.set("provider",e.provider),t.set("model",e.model),Ir(`/api/hermes/custom-model?${t.toString()}`,{method:"DELETE"})}var Zfe=f((()=>{m_()})),_0,w0,EE,OE,ej,Jfe=f((()=>{G(),Zfe(),m_(),_0="0.6.30-beta.2",w0="hermes_sidebar_collapsed",EE="hermes_active_profile_name",OE=3e4,ej=$V("app",()=>{const e=K(!1),t=K(localStorage.getItem(w0)==="1"),r=K(!1),n=K(_0),o=K(""),i=K(!1),a=K(!1),l=K(!1),s=K([]),c=K([]),d=K(""),u=K(""),g=K({}),m=K({}),h=K({}),p=K(),b=K(""),y=K(!1),x=K(!0),C=K(!0),_=K(4096);let S=null,R=0;async function w(){l.value=!0;try{const re=await Vfe();return re.success&&(i.value=!1,await T()),re.success}catch(re){return console.error("Failed to update Hermes Web UI:",re),!1}finally{l.value=!1}}async function T(){try{const re=await Wfe();r.value=re.status==="ok",re.webui_version&&(n.value=re.webui_version),a.value=!!re.webui_version&&re.webui_version!==_0,re.webui_latest&&(o.value=re.webui_latest),i.value=!!re.webui_update_available,re.node_version&&(b.value=re.node_version),y.value=!!re.is_docker}catch{r.value=!1,a.value=!1}}function E(re,ae={}){const ke=d.value,Le=u.value;if(s.value=re.groups,c.value=re.profiles||[],m.value=re.model_aliases||{},h.value=re.model_visibility||{},g.value=re.custom_models||{},ae.preserveSelection&&ke&&Le&&(re.groups.some(Oe=>Oe.provider===Le&&Oe.models.includes(ke))||(re.custom_models?.[Le]||[]).includes(ke)))return;const I=localStorage.getItem(EE)||"",U=(I?c.value.find(Oe=>Oe.profile===I):void 0)||re,ie=U.groups||[],Ce=U.default||"",M=U.default_provider||"",$=ie.find(Oe=>Oe.provider===M&&Oe.models.includes(Ce)),O=ie.find(Oe=>Oe.models.includes(Ce)),Z=ie.find(Oe=>Oe.models.length>0),ne=M?ie.find(Oe=>Oe.provider===M):void 0,X=M?re.allProviders.find(Oe=>Oe.provider===M):void 0,V=ne?.available_models?.length?ne.available_models:X?.available_models?.length?X.available_models:X?.models||[],P=M?h.value[M]:void 0,D=!!(Ce&&P?.mode==="include"&&!P.models.includes(Ce)&&(V.length===0||V.includes(Ce))),pe=!!(Ce&&M&&ne&&!ne.models.includes(Ce)&&!D);if($||O){const Oe=$||O;d.value=Ce,u.value=Oe.provider}else pe?(d.value=Ce,u.value=M,g.value={...g.value,[M]:Array.from(new Set([...g.value[M]||[],Ce]))}):Z?(d.value=Z.models[0],u.value=Z.provider):(d.value="",u.value="")}async function z(re=!1,ae={}){if(Ud()){if(!re&&S)return S;if(!(!re&&R>0&&Date.now()-R<OE))return R=Date.now(),S=(async()=>{try{E(await Ufe(),ae)}catch{}finally{S=null}})(),S}}async function A(re=15e3){if(!Ud())return;const ae=S||(R===0?z():null);ae&&await Promise.race([ae,new Promise(ke=>setTimeout(ke,re))])}async function N(re={}){return z(!0,re)}function L(re,ae){if(ae)return m.value[ae]?.[re]||"";for(const ke of Object.values(m.value))if(ke[re])return ke[re];return""}function H(re,ae){return L(re,ae)||re}function W(re,ae,ke){return re.map(Le=>Le.provider!==ae?Le:{...Le,models:Le.models.filter(I=>I!==ke),available_models:Le.available_models?.filter(I=>I!==ke)})}function Y(re,ae){s.value=W(s.value,re,ae),c.value=c.value.map(ke=>({...ke,groups:W(ke.groups,re,ae)}))}async function J(re,ae,ke){const Le=ke.trim();await Gfe({provider:ae,model:re,alias:Le});const I={...m.value},U={...I[ae]||{}};Le?(U[re]=Le,I[ae]=U):(delete U[re],Object.keys(U).length>0?I[ae]=U:delete I[ae]),m.value=I}async function Q(re,ae){try{const ke=s.value.find(I=>I.models.includes(re)),Le=ae||ke?.provider||"";await Kfe({default:re,provider:Le}),d.value=re,u.value=Le||"",Le&&!s.value.find(I=>I.provider===Le)?.models.includes(re)&&(g.value=(await Yfe({provider:Le,model:re})).custom_models||{})}catch(ke){console.error("Failed to switch model:",ke)}}async function fe(re,ae){const ke=g.value[ae]||[];if(!ke.includes(re))return;const Le={...g.value},I=ke.filter(U=>U!==re);I.length>0?Le[ae]=I:delete Le[ae];try{g.value=(await Xfe({provider:ae,model:re})).custom_models||Le}catch(U){console.error("Failed to remove custom model:",U),g.value=Le}if(Y(ae,re),d.value===re&&u.value===ae){const U=s.value.find(ie=>ie.provider===ae&&ie.models.length>0)||s.value.find(ie=>ie.models.length>0);U?await Q(U.models[0],U.provider):(d.value="",u.value="")}}function Se(re){return h.value[re]||{mode:"all",models:[]}}function se(re,ae){const ke=Se(re);return ke.mode!=="include"||ke.models.includes(ae)}async function ye(re,ae){h.value=(await qfe({provider:re,mode:ae.mode,models:ae.models})).model_visibility||{},await N()}function de(re=3e4){oe(),T(),p.value=setInterval(T,re)}function oe(){p.value&&(clearInterval(p.value),p.value=void 0)}function ue(){const re=new URL(window.location.href);re.searchParams.set("__hwui_reload",Date.now().toString()),window.location.replace(re.toString())}function Pe(){e.value=!e.value}function le(){e.value=!1}function be(){t.value=!t.value;try{localStorage.setItem(w0,t.value?"1":"0")}catch{}}return{sidebarOpen:e,sidebarCollapsed:t,toggleSidebar:Pe,closeSidebar:le,toggleSidebarCollapsed:be,connected:r,serverVersion:n,latestVersion:o,nodeVersion:b,isDocker:y,updateAvailable:i,clientOutdated:a,updating:l,doUpdate:w,reloadClient:ue,modelGroups:s,profileModelGroups:c,customModels:g,modelAliases:m,modelVisibility:h,selectedModel:d,selectedProvider:u,streamEnabled:x,sessionPersistence:C,maxTokens:_,checkConnection:T,loadModels:z,waitForModelsForRun:A,reloadModels:N,applyAvailableModelsResponse:E,switchModel:Q,removeCustomModel:fe,getModelAlias:L,displayModelName:H,setModelAlias:J,getProviderVisibility:Se,isModelVisible:se,setModelVisibility:ye,startHealthPolling:de,stopHealthPolling:oe}})}));Jfe();G();A_();var Qfe={style:{display:"none"},"aria-hidden":"true"},ehe=Re({__name:"AuthEventListener",setup(e){const t=Zle(),{t:r}=Cd();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 Dt(()=>{window.addEventListener("hermes-auth-notice",o)}),so(()=>{window.removeEventListener("hermes-auth-notice",o)}),(i,a)=>(jr(),ys("span",Qfe))}}),the=ehe;function Wv(){return window.hermesDesktop}function eve(){return Wv()?.isDesktop===!0}var tj=f((()=>{}));G();p_();Z9();A_();Q9();tj();lp();var rhe={key:1,class:"node-warning-bar"},nhe={class:"app-main"},ohe=Re({__name:"App",setup(e){const t=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./AppSidebar-BHfH59vK.js");return{default:E}},__vite__mapDeps([109,32,33,4,110]))).default),r=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./DesktopTitleBar-CMvwjOsN.js");return{default:E}},__vite__mapDeps([111,112]))).default),n=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./SessionSearchModal-Chmtohb_.js");return{default:E}},__vite__mapDeps([113,11,2,12,13,14,4,15,16,17,114]))).default),o=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./DefaultCredentialPrompt-DwS2g874.js");return{default:E}},__vite__mapDeps([115,8,116]))).default),i=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./ProviderConfigurationPrompt-CCXQ_nqY.js");return{default:E}},__vite__mapDeps([117,4,67,118]))).default),a=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./WebPet-C-F5hsmU.js").then(z=>(z.r(),z.n));return{default:E}},__vite__mapDeps([1,2,3,4,5]))).default),{isDark:l,isComic:s}=Nfe(),{t:c}=Cd(),d=ej(),u=pU(),{sessionSearchOpen:g}=J9(),m=F(()=>Dfe(l.value,s.value)),h=F(()=>l.value?X9:null),p=F(()=>u.name==="login"),b=F(()=>["hermes.chat","hermes.session","hermes.history","hermes.historySession","hermes.globalAgent","hermes.globalAgentSession","hermes.groupChat","hermes.groupChatRoom","hermes.workflow"].includes(u.name)),y=F(()=>!p.value&&!b.value),x=F(()=>!p.value&&(y.value||b.value)),C=F(()=>{const E=d.nodeVersion,z=parseInt(E.split(".")[0],10);return!isNaN(z)&&z<23}),_=F(()=>Wv()?.isDesktop===!0),S=F(()=>u.name==="desktop.pet"),R=F(()=>!p.value&&!_.value&&!S.value),w=F(()=>{const E=Wv()?.platform;return _.value&&(E==="darwin"||E==="win32")});function T(){if(b.value){window.dispatchEvent(new CustomEvent("hermes:open-page-sidebar"));return}d.toggleSidebar()}return nt(p,E=>{if(E){d.stopHealthPolling();return}d.loadModels(),d.startHealthPolling()},{immediate:!0}),so(()=>{d.stopHealthPolling()}),jfe(),(E,z)=>{const A=k5("router-view");return jr(),Yn(ir(x8),{theme:h.value,"theme-overrides":m.value},{default:il(()=>[Nt(ir(TN),null,{default:il(()=>[Nt(the),Nt(ir(vN),null,{default:il(()=>[Nt(ir(NN),null,{default:il(()=>[S.value?(jr(),Yn(A,{key:0})):(jr(),ys("div",{key:1,class:Zo(["app-shell",{desktop:_.value,"desktop-titlebar-host":w.value}])},[_.value?(jr(),Yn(ir(r),{key:0})):Co("",!0),C.value?(jr(),ys("div",rhe,fv(ir(c)("sidebar.nodeVersionWarning",{version:ir(d).nodeVersion})),1)):Co("",!0),Ps("div",{class:Zo(["app-layout",{"no-sidebar":p.value||!y.value}])},[x.value?(jr(),ys("button",{key:0,class:"hamburger-btn",onClick:T},[...z[1]||(z[1]=[Ps("img",{src:"/logo.png",alt:"Menu",style:{width:"24px",height:"24px"}},null,-1)])])):Co("",!0),!p.value&&y.value&&ir(d).sidebarOpen?(jr(),ys("div",{key:1,class:"mobile-backdrop",onClick:z[0]||(z[0]=(...N)=>ir(d).closeSidebar&&ir(d).closeSidebar(...N))})):Co("",!0),!p.value&&y.value?(jr(),Yn(ir(t),{key:2})):Co("",!0),Ps("main",nhe,[Nt(A)])],2)],2)),R.value?(jr(),Yn(ir(a),{key:2})):Co("",!0),!S.value&&ir(g)?(jr(),Yn(ir(n),{key:3})):Co("",!0),S.value?Co("",!0):(jr(),Yn(ir(o),{key:4})),S.value?Co("",!0):(jr(),Yn(ir(i),{key:5}))]),_:1})]),_:1})]),_:1})]),_:1},8,["theme","theme-overrides"])}}}),rj,ihe=f((()=>{rj=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}}));ihe();var ahe=rj(ohe,[["__scopeId","data-v-5a531c48"]]);G();GO();C3();tj();var AE=localStorage.getItem("hermes_brightness")||"system",lhe=localStorage.getItem("hermes_style")||"ink",she=window.matchMedia("(prefers-color-scheme: dark)").matches,che=AE==="dark"||AE==="system"&&she,dhe=lhe==="comic",nj=Wv(),uhe=nj?.isDesktop===!0,fhe=nj?.windowKind==="pet"||window.location.hash.startsWith("#/desktop-pet");che&&document.documentElement.classList.add("dark");dhe&&document.documentElement.classList.add("comic");uhe&&document.documentElement.classList.add("hermes-desktop-shell");fhe&&document.documentElement.classList.add("hermes-desktop-pet-window");var hhe=new URLSearchParams(window.location.search),IE=window.location.hash.split("?")[1],FE=hhe.get("token")||(IE?new URLSearchParams(IE).get("token"):null);FE&&(window.__LOGIN_TOKEN__=FE);async function vhe(){const e=await sA,t=yd(ahe);t.use(RV()),t.use(e),t.use(na),await na.isReady().catch(()=>{}),t.mount("#app")}vhe();export{Uce as $,yC as $i,DL as $n,Yn as $r,noe as $t,afe as A,xW as Ai,dte as An,xhe as Ar,bae as At,kue as B,sr as Bi,$he as Bn,$V as Br,mie as Bt,J9 as C,jr as Ci,Tte as Cn,A_ as Cr,Iw as Ct,kfe as D,k5 as Di,zhe as Dn,bU as Dr,yae as Dt,Z9 as E,IC as Ei,fte as En,lp as Er,wae as Et,Mue as F,ln as Fi,Ahe as Fn,Ir as Fr,Sie as Ft,p9 as G,K as Gi,Zee as Gn,Wd as Gr,Koe as Gt,_ue as H,xC as Hi,The as Hn,G as Hr,t8 as Ht,w9 as I,XE as Ii,ate as In,bhe as Ir,Rie as It,nue as J,_e as Ji,Gee as Jn,zO as Jr,TD as Jt,cue as K,SC as Ki,Xee as Kn,ro as Kr,Goe as Kt,Iue as L,Gv as Li,Ohe as Ln,p_ as Lr,_ie as Lt,F9 as M,nt as Mi,cte as Mn,Ud as Mr,jie as Mt,Bue as N,tr as Ni,Ihe as Nn,m_ as Nr,S8 as Nt,Pfe as O,lW as Oi,ute as On,CU as Or,xae as Ot,Nue as P,il as Pi,lte as Pn,xU as Pr,Bie as Pt,fde as Q,ir as Qi,Rhe as Qn,Ps as Qr,yoe as Qt,Fue as R,qv as Ri,ite as Rn,pU as Rr,u8 as Rt,Q9 as S,so as Si,$te as Sn,Che as Sr,Mae as St,Nfe as T,cW as Ti,Lhe as Tn,dt as Tr,rB as Tt,vue as U,Jo as Ui,Jee as Un,mr as Ur,Qn as Ut,Cue as V,Ns as Vi,rte as Vn,GO as Vr,e8 as Vt,pue as W,eo as Wi,Phe as Wn,xV as Wr,Qoe as Wt,Dde as X,Nj as Xi,khe as Xn,lc as Xr,Doe as Xt,Mde as Y,kC as Yi,qee as Yn,gt as Yr,Moe as Yt,ude as Z,Bj as Zi,Vee as Zn,F as Zr,Mv as Zt,Jhe as _,Qv as _i,Dhe as _n,n1 as _r,ple as _t,eve as a,f as aa,bl as ai,iu as an,ov as ar,xse as at,Kfe as b,fu as bi,Fte as bn,rG as br,Wae as bt,Zhe as c,ghe as ca,Re as ci,qte as cn,_he as cr,Zle as ct,Whe as d,v as di,Bhe as dn,pF as dr,Ile as dt,Zo as ea,Co as ei,ooe as en,Hee as er,Kce as et,Yhe as f,vR as fi,Ute as fn,wa as fr,Hhe as ft,Xhe as g,zt as gi,Mte as gn,xp as gr,$le as gt,Vhe as h,pn as hi,Dte as hn,T4 as hr,Tle as ht,tj as i,phe as ia,VW as ii,Yu as in,kL as ir,wse as it,nfe as j,yW as ji,Fhe as jn,yhe as jr,$8 as jt,lfe as k,uW as ki,_s as kn,yu as kr,Ow as kt,qhe as l,xr as li,Nhe as ln,cee as lr,fN as lt,Uhe as m,X5 as mi,Bte as mn,iJ as mr,Ole as mt,ihe as n,nc as na,wW as ni,Q1 as nn,zee as nr,Ise as nt,Jfe as o,Sj as oa,Nt as oi,xne as on,whe as or,Cse as ot,Zfe as p,Ne as pi,Vte as pn,jl as pr,Ele as pt,rue as q,ic as qi,Yee as qn,LO as qr,Woe as qt,Wv as r,fv as ra,dW as ri,Yl as rn,Lee as rr,_se as rt,ej as s,mhe as sa,Xa as si,Zr as sn,dee as sr,Jle as st,rj as t,kj as ta,ys as ti,av as tn,She as tr,Ase as tt,jhe as u,V5 as ui,Kte as un,aQ as ur,tS as ut,Khe as v,ri as vi,Lte as vn,Mr as vr,gle as vt,Hfe as w,st as wi,hte as wn,Cd as wr,oB as wt,Qhe as x,Dt as xi,Ite as xn,tG as xr,wB as xt,Ghe as y,Yt as yi,Mhe as yn,$r as yr,EB as yt,Rue as z,Vj as zi,Ehe as zn,vU as zr,af as zt};
4311
+ `)])})),kE,D9,OS=f((()=>{G(),xe(),Ac(),kE="__UPLOAD_DRAGGER__",D9=Re({name:"UploadDragger",[kE]:!0,setup(e,{slots:t}){const r=Ne(is,null);return r||Oo("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 dfe(){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 ufe(){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 ffe=f((()=>{G()})),B9,hfe=f((()=>{G(),rt(),g9(),Ac(),B9=Re({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup(){return{mergedTheme:Ne(is).mergedThemeRef}},render(){return v(Ni,null,{default:()=>this.show?v(p9,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}})}));function N9(e){return e.includes("image/")}function PE(e=""){const t=e.split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}function vfe(e){return jv(this,void 0,void 0,function*(){return yield new Promise(t=>{if(!e.type||!N9(e.type)){t("");return}t(window.URL.createObjectURL(e))})})}function pfe(e){return e.isDirectory}function gfe(e){return e.isFile}function mfe(e,t){return jv(this,void 0,void 0,function*(){const r=[];function n(o){return jv(this,void 0,void 0,function*(){for(const i of o)if(i){if(t&&pfe(i)){const a=i.createReader();let l=[],s;try{do s=yield new Promise((c,d)=>{a.readEntries(c,d)}),l=l.concat(s);while(s.length>0)}catch(c){a2("upload","error happens when handling directory upload",c)}yield n(l)}else if(gfe(i))try{const a=yield new Promise((l,s)=>{i.file(l,s)});r.push({file:a,entry:i,source:"dnd"})}catch(a){a2("upload","error happens when handling file upload",a)}}})}return yield n(e),r})}function su(e){const{id:t,name:r,percentage:n,status:o,url:i,file:a,thumbnailUrl:l,type:s,fullPath:c,batchId:d}=e;return{id:t,name:r,percentage:n??null,status:o,url:i??null,file:a??null,thumbnailUrl:l??null,type:s??null,fullPath:c??null,batchId:d??null}}function bfe(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 jv,m0,AS,H9,IS=f((()=>{xe(),RI(),jv=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},m0=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,AS=e=>{if(e.type)return N9(e.type);const t=PE(e.name||"");if(m0.test(t))return!0;const r=e.thumbnailUrl||e.url||"",n=PE(r);return!!(/^data:image\//.test(r)||m0.test(n))},H9=$o&&window.FileReader&&window.File})),b0,Gc,j9,yfe=f((()=>{Je(),G(),rt(),_t(),xe(),Cn(),RS(),ffe(),Ac(),hfe(),IS(),b0=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},Gc={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},j9=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=Ne(is),r=K(null),n=K(""),o=F(()=>{const{file:S}=e;return S.status==="finished"?"success":S.status==="error"?"error":"info"}),i=F(()=>{const{file:S}=e;if(S.status==="error")return"error"}),a=F(()=>{const{file:S}=e;return S.status==="uploading"}),l=F(()=>{if(!t.showCancelButtonRef.value)return!1;const{file:S}=e;return["uploading","pending","error"].includes(S.status)}),s=F(()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),c=F(()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:S}=e;return["finished"].includes(S.status)}),d=F(()=>{if(!t.showRetryButtonRef.value)return!1;const{file:S}=e;return["error"].includes(S.status)}),u=at(()=>n.value||e.file.thumbnailUrl||e.file.url),g=F(()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:S},listType:R}=e;return["finished"].includes(S)&&u.value&&R==="image-card"});function m(){return b0(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:R}=e;["finished","pending","error"].includes(R.status)?b(R):["uploading"].includes(R.status)?x(R):io("upload","The button clicked type is unknown.")}function p(S){S.preventDefault(),y(e.file)}function b(S){const{xhrMap:R,doChange:w,onRemoveRef:{value:T},mergedFileListRef:{value:E}}=t;Promise.resolve(T?T({file:Object.assign({},S),fileList:E,index:e.index}):!0).then(z=>{if(z===!1)return;const A=Object.assign({},S,{status:"removed"});R.delete(S.id),w(A,void 0,{remove:!0})})}function y(S){const{onDownloadRef:{value:R},customDownloadRef:{value:w}}=t;Promise.resolve(R?R(Object.assign({},S)):!0).then(T=>{T!==!1&&(w?w(Object.assign({},S)):X_(S.url,S.name))})}function x(S){const{xhrMap:R}=t,w=R.get(S.id);w?.abort(),b(Object.assign({},S))}function C(S){const{onPreviewRef:{value:R}}=t;if(R)R(e.file,{event:S});else if(e.listType==="image-card"){const{value:w}=r;if(!w)return;w.showPreview()}}const _=()=>b0(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 tr(()=>{_()}),{mergedTheme:t.mergedThemeRef,progressStatus:o,buttonType:i,showProgress:a,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:c,showRetryButton:d,showPreviewButton:g,mergedThumbnailUrl:u,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:r,handleRemoveOrCancelClick:h,handleDownloadClick:p,handleRetryClick:m,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):AS(n)?v(ut,{clsPrefix:e},{default:dfe}):v(ut,{clsPrefix:e},{default:ufe})):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(t9,{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(ut,{clsPrefix:e},{default:()=>v(SM,null)}));const l=v(B9,{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(Qn,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(V1,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&v(Qn,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:Gc,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>v(oi,null,{default:()=>this.showRemoveButton?v(ut,{clsPrefix:e,key:"trash"},{default:()=>v(BM,null)}):v(ut,{clsPrefix:e,key:"cancel"},{default:()=>v(RM,null)})})}),this.showRetryButton&&!this.disabled&&v(Qn,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(zM,null)})}),this.showDownloadButton?v(Qn,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Gc},{icon:()=>v(ut,{clsPrefix:e},{default:()=>v(W1,null)})}):null)),!a&&l)}})})),FS,zS=f((()=>{G(),rt(),_t(),xe(),Ac(),OS(),IS(),FS=Re({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const r=Ne(is,null);r||Oo("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:c,handleFileAddition:d,mergedDirectoryDndRef:u,triggerClassRef:g,triggerStyleRef:m}=r,h=F(()=>a.value==="image-card");function p(){o.value||i.value||s()}function b(_){_.preventDefault(),l.value=!0}function y(_){_.preventDefault(),l.value=!0}function x(_){_.preventDefault(),l.value=!1}function C(_){var S;if(_.preventDefault(),!c.value||o.value||i.value){l.value=!1;return}const R=(S=_.dataTransfer)===null||S===void 0?void 0:S.items;R?.length?mfe(Array.from(R).map(w=>w.webkitGetAsEntry()),u.value).then(w=>{d(w)}).finally(()=>{l.value=!1}):l.value=!1}return()=>{var _;const{value:S}=n;return e.abstract?(_=t.default)===null||_===void 0?void 0:_.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`,g.value],style:m.value,onClick:p,onDrop:C,onDragover:b,onDragenter:y,onDragleave:x},h.value?v(D9,null,{default:()=>br(t.default,()=>[v(ut,{clsPrefix:S},{default:()=>v(Zp,null)})])}):t)}}})})),W9,V9=f((()=>{G(),rt(),xe(),RS(),Ac(),yfe(),zS(),W9=Re({name:"UploadFileList",setup(e,{slots:t}){const r=Ne(is,null);r||Oo("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:c,themeClassRef:d,maxReachedRef:u,showTriggerRef:g,imageGroupPropsRef:m}=r,h=F(()=>i.value==="image-card"),p=()=>a.value.map((y,x)=>v(j9,{clsPrefix:o.value,key:y.id,file:y,index:x,listType:i.value})),b=()=>h.value?v(Q7,Object.assign({},m.value),{default:p}):v(Ni,{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?d?.value:void 0,l.value],style:[x&&c?c.value:"",s.value]},b(),g.value&&!u.value&&h.value&&v(FS,null,t))}}})}));function xfe(e,t,r){const{doChange:n,xhrMap:o}=e;let i=0;function a(s){var c;let d=Object.assign({},t,{status:"error",percentage:i});o.delete(t.id),d=su(((c=e.onError)===null||c===void 0?void 0:c.call(e,{file:d,event:s}))||d),n(d,s)}function l(s){var c;if(e.isErrorState){if(e.isErrorState(r)){a(s);return}}else if(r.status<200||r.status>=300){a(s);return}let d=Object.assign({},t,{status:"finished",percentage:i});o.delete(t.id),d=su(((c=e.onFinish)===null||c===void 0?void 0:c.call(e,{file:d,event:s}))||d),n(d,s)}return{handleXHRLoad:l,handleXHRError:a,handleXHRAbort(s){const c=Object.assign({},t,{status:"removed",file:null,percentage:i});o.delete(t.id),n(c,s)},handleXHRProgress(s){const c=Object.assign({},t,{status:"uploading"});if(s.lengthComputable){const d=Math.ceil(s.loaded/s.total*100);c.percentage=d,i=d}n(c,s)}}}function Cfe(e){const{inst:t,file:r,data:n,headers:o,withCredentials:i,action:a,customRequest:l}=e,{doChange:s}=e.inst;let c=0;l({file:r,data:n,headers:o,withCredentials:i,action:a,onProgress(d){const u=Object.assign({},r,{status:"uploading"}),g=d.percent;u.percentage=g,c=g,s(u)},onFinish(){var d;let u=Object.assign({},r,{status:"finished",percentage:c});u=su(((d=t.onFinish)===null||d===void 0?void 0:d.call(t,{file:u}))||u),s(u)},onError(){var d;let u=Object.assign({},r,{status:"error",percentage:c});u=su(((d=t.onError)===null||d===void 0?void 0:d.call(t,{file:u}))||u),s(u)}})}function _fe(e,t,r){const n=xfe(e,t,r);r.onabort=n.handleXHRAbort,r.onerror=n.handleXHRError,r.onload=n.handleXHRLoad,r.upload&&(r.upload.onprogress=n.handleXHRProgress)}function U9(e,t){return typeof e=="function"?e({file:t}):e||{}}function wfe(e,t,r){const n=U9(t,r);n&&Object.keys(n).forEach(o=>{e.setRequestHeader(o,n[o])})}function Sfe(e,t,r){const n=U9(t,r);n&&Object.keys(n).forEach(o=>{e.append(o,n[o])})}function Rfe(e,t,r,{method:n,action:o,withCredentials:i,responseType:a,headers:l,data:s}){const c=new XMLHttpRequest;c.responseType=a,e.xhrMap.set(r.id,c),c.withCredentials=i;const d=new FormData;if(Sfe(d,s,r),r.file!==null&&d.append(t,r.file),_fe(e,r,c),o!==void 0){c.open(n.toUpperCase(),o),wfe(c,l,r),c.send(d);const u=Object.assign({},r,{status:"uploading"});e.doChange(u)}}var y0,TE,kfe,Pfe=f((()=>{ze(),Je(),G(),we(),xe(),qf(),Ac(),cfe(),OS(),V9(),zS(),IS(),y0=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(d){try{c(n.next(d))}catch(u){a(u)}}function s(d){try{c(n.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):o(d.value).then(l,s)}c((n=n.apply(e,t||[])).next())})},TE=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=>H9?AS(e):!1},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),kfe=Re({name:"Upload",props:TE,setup(e){e.abstract&&e.listType==="image-card"&&Oo("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",M9,M7,e,t),i=lr("Upload",n,t),a=Ao(e),l=K(e.defaultFileList),s=_e(e,"fileList"),c=K(null),d={value:!1},u=K(!1),g=new Map,m=Gt(s,l),h=F(()=>m.value.map(su)),p=F(()=>{const{max:A}=e;return A!==void 0?h.value.length>=A:!1});function b(){var A;(A=c.value)===null||A===void 0||A.click()}function y(A){const N=A.target;S(N.files?Array.from(N.files).map(L=>({file:L,entry:null,source:"input"})):null,A),N.value=""}function x(A){const{"onUpdate:fileList":N,onUpdateFileList:L}=e;N&&Ee(N,A),L&&Ee(L,A),l.value=A}const C=F(()=>e.multiple||e.directory),_=(A,N,L={append:!1,remove:!1})=>{const{append:H,remove:W}=L,Y=Array.from(h.value),J=Y.findIndex(Q=>Q.id===A.id);if(H||W||~J){H?Y.push(A):W?Y.splice(J,1):Y.splice(J,1,A);const{onChange:Q}=e;Q&&Q({file:A,fileList:Y,event:N}),x(Y)}};function S(A,N){if(!A||A.length===0)return;const{onBeforeUpload:L}=e;A=C.value?A:[A[0]];const{max:H,accept:W}=e;A=A.filter(({file:J,source:Q})=>Q==="dnd"&&W?.trim()?bfe(J.name,J.type,W):!0),H&&(A=A.slice(0,H-h.value.length));const Y=oo();Promise.all(A.map(J=>y0(this,[J],void 0,function*({file:Q,entry:fe}){var Se;const se={id:oo(),batchId:Y,name:Q.name,status:"pending",percentage:0,file:Q,url:null,type:Q.type,thumbnailUrl:null,fullPath:(Se=fe?.fullPath)!==null&&Se!==void 0?Se:`/${Q.webkitRelativePath||Q.name}`};return!L||(yield L({file:se,fileList:h.value}))!==!1?se:null}))).then(J=>y0(this,void 0,void 0,function*(){let Q=Promise.resolve();J.forEach(fe=>{Q=Q.then(zt).then(()=>{fe&&_(fe,N,{append:!0})})}),yield Q})).then(()=>{e.defaultUpload&&R()})}function R({fileId:A,retry:N=!1}={}){const{method:L,action:H,withCredentials:W,headers:Y,data:J,name:Q}=e,fe=A!==void 0?h.value.filter(se=>se.id===A):h.value,Se=N||A!==void 0;fe.forEach(se=>{const{status:ye}=se;(ye==="pending"||ye==="error"&&Se)&&(e.customRequest?Cfe({inst:{doChange:_,xhrMap:g,onFinish:e.onFinish,onError:e.onError},file:se,action:H,withCredentials:W,headers:Y,data:J,customRequest:e.customRequest}):Rfe({doChange:_,xhrMap:g,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},Q,se,{method:L,action:H,withCredentials:W,responseType:e.responseType,headers:Y,data:J}))})}function w(A){var N;if(A.thumbnailUrl)return A.thumbnailUrl;const{createThumbnailUrl:L}=e;return L?(N=L(A.file,A))!==null&&N!==void 0?N:A.url||"":A.url?A.url:A.file?vfe(A.file):""}const T=F(()=>{const{common:{cubicBezierEaseInOut:A},self:{draggerColor:N,draggerBorder:L,draggerBorderHover:H,itemColorHover:W,itemColorHoverError:Y,itemTextColorError:J,itemTextColorSuccess:Q,itemTextColor:fe,itemIconColor:Se,itemDisabledOpacity:se,lineHeight:ye,borderRadius:de,fontSize:oe,itemBorderImageCardError:ue,itemBorderImageCard:Pe}}=o.value;return{"--n-bezier":A,"--n-border-radius":de,"--n-dragger-border":L,"--n-dragger-border-hover":H,"--n-dragger-color":N,"--n-font-size":oe,"--n-item-color-hover":W,"--n-item-color-hover-error":Y,"--n-item-disabled-opacity":se,"--n-item-icon-color":Se,"--n-item-text-color":fe,"--n-item-text-color-error":J,"--n-item-text-color-success":Q,"--n-line-height":ye,"--n-item-border-image-card-error":ue,"--n-item-border-image-card":Pe}}),E=r?Ct("upload",void 0,T,e):void 0;st(is,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:_e(e,"showCancelButton"),showDownloadButtonRef:_e(e,"showDownloadButton"),showRemoveButtonRef:_e(e,"showRemoveButton"),showRetryButtonRef:_e(e,"showRetryButton"),onRemoveRef:_e(e,"onRemove"),onDownloadRef:_e(e,"onDownload"),customDownloadRef:_e(e,"customDownload"),mergedFileListRef:h,triggerClassRef:_e(e,"triggerClass"),triggerStyleRef:_e(e,"triggerStyle"),shouldUseThumbnailUrlRef:_e(e,"shouldUseThumbnailUrl"),renderIconRef:_e(e,"renderIcon"),xhrMap:g,submit:R,doChange:_,showPreviewButtonRef:_e(e,"showPreviewButton"),onPreviewRef:_e(e,"onPreview"),getFileThumbnailUrlResolver:w,listTypeRef:_e(e,"listType"),dragOverRef:u,openOpenFileDialog:b,draggerInsideRef:d,handleFileAddition:S,mergedDisabledRef:a.mergedDisabledRef,maxReachedRef:p,fileListClassRef:_e(e,"fileListClass"),fileListStyleRef:_e(e,"fileListStyle"),abstractRef:_e(e,"abstract"),acceptRef:_e(e,"accept"),cssVarsRef:r?void 0:T,themeClassRef:E?.themeClass,onRender:E?.onRender,showTriggerRef:_e(e,"showTrigger"),imageGroupPropsRef:_e(e,"imageGroupProps"),mergedDirectoryDndRef:F(()=>{var A;return(A=e.directoryDnd)!==null&&A!==void 0?A:e.directory}),onRetryRef:_e(e,"onRetry")});const z={clear:()=>{l.value=[]},submit:R,openOpenFileDialog:b};return Object.assign({mergedClsPrefix:t,draggerInsideRef:d,rtlEnabled:i,inputElRef:c,mergedTheme:o,dragOver:u,mergedMultiple:C,cssVars:r?void 0:T,themeClass:E?.themeClass,onRender:E?.onRender,handleFileInputChange:y},z)},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(gt,null,(t=o.default)===null||t===void 0?void 0:t.call(o),v(lc,{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(FS,null,o),this.showFileList&&v(W9,null,o)))}})})),Tfe=f((()=>{_I(),Pfe(),OS(),V9(),zS()})),$fe=f((()=>{G(),$t(),rt()})),Efe=f((()=>{Je(),G(),we(),xe(),Yf(),Te()})),$E=f((()=>{CM(),ioe(),coe(),Soe(),Poe(),Eoe(),Aoe(),Boe(),qoe(),Cn(),uw(),nie(),UD(),cie(),bie(),Fa(),i8(),h8(),Tie(),y8(),gw(),Iie(),mle(),wle(),Ale(),pN(),ase(),UN(),Sse(),Hw(),kse(),zse(),hH(),cB(),Hi(),Mse(),Bse(),jce(),Wce(),hde(),vde(),pde(),U7(),bde(),yde(),Mw(),_de(),RS(),Ade(),zn(),Bde(),Nde(),Hde(),jde(),Vde(),Ude(),mN(),Kde(),Yde(),Xde(),Zde(),$N(),jN(),HN(),Jde(),Qde(),D8(),oue(),Aa(),R8(),g9(),uue(),Aw(),fue(),hue(),gue(),E8(),bue(),wue(),sS(),Pue(),$ue(),Eue(),Oue(),zue(),Lue(),Hue(),ew(),jue(),Wue(),VB(),Vue(),dg(),Uue(),z9(),ofe(),sfe(),Tfe(),$fe(),Efe()})),Ofe=f((()=>{G(),me(),mn()})),K9,G9=f((()=>{K9=()=>({})})),q9,Afe=f((()=>{me(),G9(),q9={name:"Equation",common:Ve,self:K9}})),LS=f((()=>{Afe(),G9()})),Y9,Ife=f((()=>{me(),Y9={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)"}}}})),MS=f((()=>{Ife(),$c()})),X9,Ffe=f((()=>{Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),$c(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf(),X9={name:"dark",common:Ve,Alert:W6,Anchor:X6,AutoComplete:lD,Avatar:dw,AvatarGroup:pD,BackTop:bD,Badge:yD,Breadcrumb:kD,Button:xn,ButtonGroup:mH,Calendar:DD,Card:hw,Carousel:GD,Cascader:QD,Checkbox:Jl,Code:pw,Collapse:c8,CollapseTransition:p8,ColorPicker:b8,DataTable:q8,DatePicker:WB,Descriptions:YB,Dialog:Xw,Divider:VN,Drawer:YN,Dropdown:sg,DynamicInput:sH,DynamicTags:uH,Element:fH,Empty:$a,Ellipsis:Sw,Equation:q9,Flex:gH,Form:CH,GradientText:_H,Heatmap:G7,Icon:CB,IconWrapper:Y7,Image:X7,Input:Fn,InputNumber:wH,InputOtp:kH,LegacyTransfer:i9,Layout:PH,List:EH,LoadingBar:gN,Log:OH,Menu:zH,Mention:AH,Message:_N,Modal:lN,Notification:FN,PageHeader:DH,Pagination:_w,Popconfirm:WH,Popover:Oa,Popselect:mw,Progress:vS,QrCode:m9,Radio:Pw,Rate:KH,Result:YH,Row:TH,Scrollbar:Jr,Select:xw,Skeleton:b9,Slider:ZH,Space:lS,Spin:r7,Statistic:o7,Steps:l7,Switch:c7,Table:h7,Tabs:b7,Tag:J1,Thing:x7,TimePicker:Uw,Timeline:w7,Tooltip:cf,Transfer:k7,Tree:mS,TreeSelect:E7,Typography:z7,Upload:B7,Watermark:N7,Split:C9,FloatButton:H7,FloatButtonGroup:Y9,Marquee:l9}})),zfe=f((()=>{Ffe(),Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),pg(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),uS(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf()})),Z9=f((()=>{Te(),$E(),Ofe(),yM(),$E(),$c(),Zr(),G(),we(),xe(),Cn(),h8(),y8(),gw(),mn(),UN(),hH(),Hi(),U7(),Mw(),zn(),Aa(),sS(),Rt(),me(),Xu(),Zu(),Ju(),Qu(),Ia(),ef(),tf(),rf(),gg(),Ht(),ng(),Zl(),og(),of(),_n(),Ql(),sf(),lf(),ig(),uf(),vf(),pf(),ts(),_f(),wf(),Ui(),Sf(),Rf(),kf(),kc(),Dr(),LS(),pg(),MS(),yg(),Pc(),Pf(),xg(),Cg(),hf(),_g(),Tf(),uS(),Vt(),$f(),mg(),Sg(),Ef(),bf(),Of(),Rg(),Af(),If(),yf(),mf(),xf(),bg(),Ma(),Ff(),en(),za(),ns(),kg(),Da(),zf(),Lf(),La(),Pg(),Mf(),rs(),Df(),Tg(),Bf(),Nf(),Hf(),jf(),Wf(),ji(),Vf(),es(),Uf(),li(),Kf(),Gf(),os(),Tc(),qf(),Yf(),zfe(),sn(),Je()}));rG();Z9();var Lfe={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"}},Mfe={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:"#66bb6a",loadingColor:"#e0e0e0",opacityDisabled:.4}};function Dfe(e,t){const r=e?Mfe:Lfe;return t?{...r,common:{...r.common,fontFamily:"'Comic Neue', 'ZCOOL KuaiLe', 'Zen Maru Gothic', 'Gaegu', cursive, sans-serif"}}:r}function Bfe(e){return e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches:e==="dark"}function Mh(){const e=Bfe(gl.value);kd.value=e,Ds.value=Ms.value==="comic",document.documentElement.classList.toggle("dark",e),document.documentElement.classList.toggle("comic",Ds.value)}function Nfe(){const e=F(()=>{const i=kd.value?"dark":"light";return Ds.value?`comic-${i}`:i});function t(i){gl.value=i}function r(i){Ms.value=i}function n(){gl.value=kd.value?"light":"dark"}function o(){Ms.value=Ds.value?"ink":"comic"}return{brightness:gl,style:Ms,isDark:kd,isComic:Ds,themeName:e,setBrightness:t,setStyle:r,toggleBrightness:n,toggleStyle:o}}var x0,C0,gl,Ms,kd,Ds,Hfe=f((()=>{G(),x0="hermes_brightness",C0="hermes_style",gl=K(localStorage.getItem(x0)||"system"),Ms=K(localStorage.getItem(C0)||"ink"),kd=K(!1),Ds=K(!1),Mh(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{gl.value==="system"&&Mh()}),nt(gl,e=>{localStorage.setItem(x0,e),Mh()}),nt(Ms,e=>{localStorage.setItem(C0,e),Mh()})}));function J9(){function e(){uv.value=!0}function t(){uv.value=!1}return{sessionSearchOpen:uv,openSessionSearch:e,closeSessionSearch:t}}var uv,Q9=f((()=>{G(),uv=K(!1)}));Hfe();G();p_();Q9();lp();function jfe(){const e=vU(),{sessionSearchOpen:t,openSessionSearch:r,closeSessionSearch:n}=J9();function o(i){const a=i.ctrlKey||i.metaKey;if(a&&i.key==="n"){i.preventDefault(),dt(async()=>{const{useChatStore:l}=await import("./chat-BHkNRr2D.js").then(s=>(s.n(),s.t));return{useChatStore:l}},__vite__mapDeps([11,2,12,13,14,4,15,16,17])).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()}}Dt(()=>{window.addEventListener("keydown",o)}),so(()=>{window.removeEventListener("keydown",o)})}async function Wfe(){return Ir("/health")}async function Vfe(){return Ir("/api/hermes/update",{method:"POST"})}async function jhe(){return Ir("/api/hermes/update/preview")}async function Whe(){return Ir("/api/hermes/update/preview/tags")}async function Vhe(e){return Ir("/api/hermes/update/preview/prepare",{method:"POST",body:JSON.stringify({tag:e})})}async function Uhe(){return Ir("/api/hermes/update/preview/install",{method:"POST"})}async function Khe(e){return Ir("/api/hermes/update/preview/start",{method:"POST",body:JSON.stringify({tag:e})})}async function Ghe(){return Ir("/api/hermes/update/preview/stop",{method:"POST"})}async function Ufe(){return Ir("/api/hermes/available-models")}async function qhe(e){const t=new URLSearchParams;return t.set("profile",e||"default"),Ir(`/api/hermes/available-models?${t.toString()}`)}async function Yhe(e){return Ir("/api/hermes/provider-models",{method:"POST",body:JSON.stringify(e)})}async function Xhe(){return Ir("/api/hermes/provider-models/cache/refresh",{method:"POST"})}async function Kfe(e){await Ir("/api/hermes/config/model",{method:"PUT",body:JSON.stringify(e)})}async function Gfe(e){await Ir("/api/hermes/model-alias",{method:"PUT",body:JSON.stringify(e)})}async function Zhe(e){await Ir("/api/hermes/config/providers",{method:"POST",body:JSON.stringify(e)})}async function Jhe(e,t={}){const r=new URLSearchParams;t.source&&r.set("source",t.source),t.providerKey&&r.set("providerKey",t.providerKey),await Ir(`/api/hermes/config/providers/${encodeURIComponent(e)}${r.size?`?${r}`:""}`,{method:"DELETE"})}async function Qhe(e,t){await Ir(`/api/hermes/config/providers/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(t)})}async function qfe(e){return Ir("/api/hermes/model-visibility",{method:"PUT",body:JSON.stringify(e)})}async function Yfe(e){return Ir("/api/hermes/custom-model",{method:"PUT",body:JSON.stringify(e)})}async function Xfe(e){const t=new URLSearchParams;return t.set("provider",e.provider),t.set("model",e.model),Ir(`/api/hermes/custom-model?${t.toString()}`,{method:"DELETE"})}var Zfe=f((()=>{m_()})),_0,w0,EE,OE,ej,Jfe=f((()=>{G(),Zfe(),m_(),_0="0.6.30",w0="hermes_sidebar_collapsed",EE="hermes_active_profile_name",OE=3e4,ej=$V("app",()=>{const e=K(!1),t=K(localStorage.getItem(w0)==="1"),r=K(!1),n=K(_0),o=K(""),i=K(!1),a=K(!1),l=K(!1),s=K([]),c=K([]),d=K(""),u=K(""),g=K({}),m=K({}),h=K({}),p=K(),b=K(""),y=K(!1),x=K(!0),C=K(!0),_=K(4096);let S=null,R=0;async function w(){l.value=!0;try{const re=await Vfe();return re.success&&(i.value=!1,await T()),re.success}catch(re){return console.error("Failed to update Hermes Web UI:",re),!1}finally{l.value=!1}}async function T(){try{const re=await Wfe();r.value=re.status==="ok",re.webui_version&&(n.value=re.webui_version),a.value=!!re.webui_version&&re.webui_version!==_0,re.webui_latest&&(o.value=re.webui_latest),i.value=!!re.webui_update_available,re.node_version&&(b.value=re.node_version),y.value=!!re.is_docker}catch{r.value=!1,a.value=!1}}function E(re,ae={}){const ke=d.value,Le=u.value;if(s.value=re.groups,c.value=re.profiles||[],m.value=re.model_aliases||{},h.value=re.model_visibility||{},g.value=re.custom_models||{},ae.preserveSelection&&ke&&Le&&(re.groups.some(Oe=>Oe.provider===Le&&Oe.models.includes(ke))||(re.custom_models?.[Le]||[]).includes(ke)))return;const I=localStorage.getItem(EE)||"",U=(I?c.value.find(Oe=>Oe.profile===I):void 0)||re,ie=U.groups||[],Ce=U.default||"",M=U.default_provider||"",$=ie.find(Oe=>Oe.provider===M&&Oe.models.includes(Ce)),O=ie.find(Oe=>Oe.models.includes(Ce)),Z=ie.find(Oe=>Oe.models.length>0),ne=M?ie.find(Oe=>Oe.provider===M):void 0,X=M?re.allProviders.find(Oe=>Oe.provider===M):void 0,V=ne?.available_models?.length?ne.available_models:X?.available_models?.length?X.available_models:X?.models||[],P=M?h.value[M]:void 0,D=!!(Ce&&P?.mode==="include"&&!P.models.includes(Ce)&&(V.length===0||V.includes(Ce))),pe=!!(Ce&&M&&ne&&!ne.models.includes(Ce)&&!D);if($||O){const Oe=$||O;d.value=Ce,u.value=Oe.provider}else pe?(d.value=Ce,u.value=M,g.value={...g.value,[M]:Array.from(new Set([...g.value[M]||[],Ce]))}):Z?(d.value=Z.models[0],u.value=Z.provider):(d.value="",u.value="")}async function z(re=!1,ae={}){if(Ud()){if(!re&&S)return S;if(!(!re&&R>0&&Date.now()-R<OE))return R=Date.now(),S=(async()=>{try{E(await Ufe(),ae)}catch{}finally{S=null}})(),S}}async function A(re=15e3){if(!Ud())return;const ae=S||(R===0?z():null);ae&&await Promise.race([ae,new Promise(ke=>setTimeout(ke,re))])}async function N(re={}){return z(!0,re)}function L(re,ae){if(ae)return m.value[ae]?.[re]||"";for(const ke of Object.values(m.value))if(ke[re])return ke[re];return""}function H(re,ae){return L(re,ae)||re}function W(re,ae,ke){return re.map(Le=>Le.provider!==ae?Le:{...Le,models:Le.models.filter(I=>I!==ke),available_models:Le.available_models?.filter(I=>I!==ke)})}function Y(re,ae){s.value=W(s.value,re,ae),c.value=c.value.map(ke=>({...ke,groups:W(ke.groups,re,ae)}))}async function J(re,ae,ke){const Le=ke.trim();await Gfe({provider:ae,model:re,alias:Le});const I={...m.value},U={...I[ae]||{}};Le?(U[re]=Le,I[ae]=U):(delete U[re],Object.keys(U).length>0?I[ae]=U:delete I[ae]),m.value=I}async function Q(re,ae){try{const ke=s.value.find(I=>I.models.includes(re)),Le=ae||ke?.provider||"";await Kfe({default:re,provider:Le}),d.value=re,u.value=Le||"",Le&&!s.value.find(I=>I.provider===Le)?.models.includes(re)&&(g.value=(await Yfe({provider:Le,model:re})).custom_models||{})}catch(ke){console.error("Failed to switch model:",ke)}}async function fe(re,ae){const ke=g.value[ae]||[];if(!ke.includes(re))return;const Le={...g.value},I=ke.filter(U=>U!==re);I.length>0?Le[ae]=I:delete Le[ae];try{g.value=(await Xfe({provider:ae,model:re})).custom_models||Le}catch(U){console.error("Failed to remove custom model:",U),g.value=Le}if(Y(ae,re),d.value===re&&u.value===ae){const U=s.value.find(ie=>ie.provider===ae&&ie.models.length>0)||s.value.find(ie=>ie.models.length>0);U?await Q(U.models[0],U.provider):(d.value="",u.value="")}}function Se(re){return h.value[re]||{mode:"all",models:[]}}function se(re,ae){const ke=Se(re);return ke.mode!=="include"||ke.models.includes(ae)}async function ye(re,ae){h.value=(await qfe({provider:re,mode:ae.mode,models:ae.models})).model_visibility||{},await N()}function de(re=3e4){oe(),T(),p.value=setInterval(T,re)}function oe(){p.value&&(clearInterval(p.value),p.value=void 0)}function ue(){const re=new URL(window.location.href);re.searchParams.set("__hwui_reload",Date.now().toString()),window.location.replace(re.toString())}function Pe(){e.value=!e.value}function le(){e.value=!1}function be(){t.value=!t.value;try{localStorage.setItem(w0,t.value?"1":"0")}catch{}}return{sidebarOpen:e,sidebarCollapsed:t,toggleSidebar:Pe,closeSidebar:le,toggleSidebarCollapsed:be,connected:r,serverVersion:n,latestVersion:o,nodeVersion:b,isDocker:y,updateAvailable:i,clientOutdated:a,updating:l,doUpdate:w,reloadClient:ue,modelGroups:s,profileModelGroups:c,customModels:g,modelAliases:m,modelVisibility:h,selectedModel:d,selectedProvider:u,streamEnabled:x,sessionPersistence:C,maxTokens:_,checkConnection:T,loadModels:z,waitForModelsForRun:A,reloadModels:N,applyAvailableModelsResponse:E,switchModel:Q,removeCustomModel:fe,getModelAlias:L,displayModelName:H,setModelAlias:J,getProviderVisibility:Se,isModelVisible:se,setModelVisibility:ye,startHealthPolling:de,stopHealthPolling:oe}})}));Jfe();G();A_();var Qfe={style:{display:"none"},"aria-hidden":"true"},ehe=Re({__name:"AuthEventListener",setup(e){const t=Zle(),{t:r}=Cd();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 Dt(()=>{window.addEventListener("hermes-auth-notice",o)}),so(()=>{window.removeEventListener("hermes-auth-notice",o)}),(i,a)=>(jr(),ys("span",Qfe))}}),the=ehe;function Wv(){return window.hermesDesktop}function eve(){return Wv()?.isDesktop===!0}var tj=f((()=>{}));G();p_();Z9();A_();Q9();tj();lp();var rhe={key:1,class:"node-warning-bar"},nhe={class:"app-main"},ohe=Re({__name:"App",setup(e){const t=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./AppSidebar-B8eJvJ5L.js");return{default:E}},__vite__mapDeps([109,32,33,4,110]))).default),r=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./DesktopTitleBar-YzhbwcwX.js");return{default:E}},__vite__mapDeps([111,112]))).default),n=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./SessionSearchModal-CRoerPzU.js");return{default:E}},__vite__mapDeps([113,11,2,12,13,14,4,15,16,17,114]))).default),o=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./DefaultCredentialPrompt-sFeH1odX.js");return{default:E}},__vite__mapDeps([115,8,116]))).default),i=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./ProviderConfigurationPrompt-DbD_q_xl.js");return{default:E}},__vite__mapDeps([117,4,67,118]))).default),a=Xa(async()=>(await dt(async()=>{const{default:E}=await import("./WebPet-PrNf1KLw.js").then(z=>(z.r(),z.n));return{default:E}},__vite__mapDeps([1,2,3,4,5]))).default),{isDark:l,isComic:s}=Nfe(),{t:c}=Cd(),d=ej(),u=pU(),{sessionSearchOpen:g}=J9(),m=F(()=>Dfe(l.value,s.value)),h=F(()=>l.value?X9:null),p=F(()=>u.name==="login"),b=F(()=>["hermes.chat","hermes.session","hermes.history","hermes.historySession","hermes.globalAgent","hermes.globalAgentSession","hermes.groupChat","hermes.groupChatRoom","hermes.workflow"].includes(u.name)),y=F(()=>!p.value&&!b.value),x=F(()=>!p.value&&(y.value||b.value)),C=F(()=>{const E=d.nodeVersion,z=parseInt(E.split(".")[0],10);return!isNaN(z)&&z<23}),_=F(()=>Wv()?.isDesktop===!0),S=F(()=>u.name==="desktop.pet"),R=F(()=>!p.value&&!_.value&&!S.value),w=F(()=>{const E=Wv()?.platform;return _.value&&(E==="darwin"||E==="win32")});function T(){if(b.value){window.dispatchEvent(new CustomEvent("hermes:open-page-sidebar"));return}d.toggleSidebar()}return nt(p,E=>{if(E){d.stopHealthPolling();return}d.loadModels(),d.startHealthPolling()},{immediate:!0}),so(()=>{d.stopHealthPolling()}),jfe(),(E,z)=>{const A=k5("router-view");return jr(),Yn(ir(x8),{theme:h.value,"theme-overrides":m.value},{default:il(()=>[Nt(ir(TN),null,{default:il(()=>[Nt(the),Nt(ir(vN),null,{default:il(()=>[Nt(ir(NN),null,{default:il(()=>[S.value?(jr(),Yn(A,{key:0})):(jr(),ys("div",{key:1,class:Zo(["app-shell",{desktop:_.value,"desktop-titlebar-host":w.value}])},[_.value?(jr(),Yn(ir(r),{key:0})):Co("",!0),C.value?(jr(),ys("div",rhe,fv(ir(c)("sidebar.nodeVersionWarning",{version:ir(d).nodeVersion})),1)):Co("",!0),Ps("div",{class:Zo(["app-layout",{"no-sidebar":p.value||!y.value}])},[x.value?(jr(),ys("button",{key:0,class:"hamburger-btn",onClick:T},[...z[1]||(z[1]=[Ps("img",{src:"/logo.png",alt:"Menu",style:{width:"24px",height:"24px"}},null,-1)])])):Co("",!0),!p.value&&y.value&&ir(d).sidebarOpen?(jr(),ys("div",{key:1,class:"mobile-backdrop",onClick:z[0]||(z[0]=(...N)=>ir(d).closeSidebar&&ir(d).closeSidebar(...N))})):Co("",!0),!p.value&&y.value?(jr(),Yn(ir(t),{key:2})):Co("",!0),Ps("main",nhe,[Nt(A)])],2)],2)),R.value?(jr(),Yn(ir(a),{key:2})):Co("",!0),!S.value&&ir(g)?(jr(),Yn(ir(n),{key:3})):Co("",!0),S.value?Co("",!0):(jr(),Yn(ir(o),{key:4})),S.value?Co("",!0):(jr(),Yn(ir(i),{key:5}))]),_:1})]),_:1})]),_:1})]),_:1},8,["theme","theme-overrides"])}}}),rj,ihe=f((()=>{rj=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}}));ihe();var ahe=rj(ohe,[["__scopeId","data-v-5a531c48"]]);G();GO();C3();tj();var AE=localStorage.getItem("hermes_brightness")||"system",lhe=localStorage.getItem("hermes_style")||"ink",she=window.matchMedia("(prefers-color-scheme: dark)").matches,che=AE==="dark"||AE==="system"&&she,dhe=lhe==="comic",nj=Wv(),uhe=nj?.isDesktop===!0,fhe=nj?.windowKind==="pet"||window.location.hash.startsWith("#/desktop-pet");che&&document.documentElement.classList.add("dark");dhe&&document.documentElement.classList.add("comic");uhe&&document.documentElement.classList.add("hermes-desktop-shell");fhe&&document.documentElement.classList.add("hermes-desktop-pet-window");var hhe=new URLSearchParams(window.location.search),IE=window.location.hash.split("?")[1],FE=hhe.get("token")||(IE?new URLSearchParams(IE).get("token"):null);FE&&(window.__LOGIN_TOKEN__=FE);async function vhe(){const e=await sA,t=yd(ahe);t.use(RV()),t.use(e),t.use(na),await na.isReady().catch(()=>{}),t.mount("#app")}vhe();export{Uce as $,yC as $i,DL as $n,Yn as $r,noe as $t,afe as A,xW as Ai,dte as An,xhe as Ar,bae as At,kue as B,sr as Bi,$he as Bn,$V as Br,mie as Bt,J9 as C,jr as Ci,Tte as Cn,A_ as Cr,Iw as Ct,kfe as D,k5 as Di,zhe as Dn,bU as Dr,yae as Dt,Z9 as E,IC as Ei,fte as En,lp as Er,wae as Et,Mue as F,ln as Fi,Ahe as Fn,Ir as Fr,Sie as Ft,p9 as G,K as Gi,Zee as Gn,Wd as Gr,Koe as Gt,_ue as H,xC as Hi,The as Hn,G as Hr,t8 as Ht,w9 as I,XE as Ii,ate as In,bhe as Ir,Rie as It,nue as J,_e as Ji,Gee as Jn,zO as Jr,TD as Jt,cue as K,SC as Ki,Xee as Kn,ro as Kr,Goe as Kt,Iue as L,Gv as Li,Ohe as Ln,p_ as Lr,_ie as Lt,F9 as M,nt as Mi,cte as Mn,Ud as Mr,jie as Mt,Bue as N,tr as Ni,Ihe as Nn,m_ as Nr,S8 as Nt,Pfe as O,lW as Oi,ute as On,CU as Or,xae as Ot,Nue as P,il as Pi,lte as Pn,xU as Pr,Bie as Pt,fde as Q,ir as Qi,Rhe as Qn,Ps as Qr,yoe as Qt,Fue as R,qv as Ri,ite as Rn,pU as Rr,u8 as Rt,Q9 as S,so as Si,$te as Sn,Che as Sr,Mae as St,Nfe as T,cW as Ti,Lhe as Tn,dt as Tr,rB as Tt,vue as U,Jo as Ui,Jee as Un,mr as Ur,Qn as Ut,Cue as V,Ns as Vi,rte as Vn,GO as Vr,e8 as Vt,pue as W,eo as Wi,Phe as Wn,xV as Wr,Qoe as Wt,Dde as X,Nj as Xi,khe as Xn,lc as Xr,Doe as Xt,Mde as Y,kC as Yi,qee as Yn,gt as Yr,Moe as Yt,ude as Z,Bj as Zi,Vee as Zn,F as Zr,Mv as Zt,Jhe as _,Qv as _i,Dhe as _n,n1 as _r,ple as _t,eve as a,f as aa,bl as ai,iu as an,ov as ar,xse as at,Kfe as b,fu as bi,Fte as bn,rG as br,Wae as bt,Zhe as c,ghe as ca,Re as ci,qte as cn,_he as cr,Zle as ct,Whe as d,v as di,Bhe as dn,pF as dr,Ile as dt,Zo as ea,Co as ei,ooe as en,Hee as er,Kce as et,Yhe as f,vR as fi,Ute as fn,wa as fr,Hhe as ft,Xhe as g,zt as gi,Mte as gn,xp as gr,$le as gt,Vhe as h,pn as hi,Dte as hn,T4 as hr,Tle as ht,tj as i,phe as ia,VW as ii,Yu as in,kL as ir,wse as it,nfe as j,yW as ji,Fhe as jn,yhe as jr,$8 as jt,lfe as k,uW as ki,_s as kn,yu as kr,Ow as kt,qhe as l,xr as li,Nhe as ln,cee as lr,fN as lt,Uhe as m,X5 as mi,Bte as mn,iJ as mr,Ole as mt,ihe as n,nc as na,wW as ni,Q1 as nn,zee as nr,Ise as nt,Jfe as o,Sj as oa,Nt as oi,xne as on,whe as or,Cse as ot,Zfe as p,Ne as pi,Vte as pn,jl as pr,Ele as pt,rue as q,ic as qi,Yee as qn,LO as qr,Woe as qt,Wv as r,fv as ra,dW as ri,Yl as rn,Lee as rr,_se as rt,ej as s,mhe as sa,Xa as si,Zr as sn,dee as sr,Jle as st,rj as t,kj as ta,ys as ti,av as tn,She as tr,Ase as tt,jhe as u,V5 as ui,Kte as un,aQ as ur,tS as ut,Khe as v,ri as vi,Lte as vn,Mr as vr,gle as vt,Hfe as w,st as wi,hte as wn,Cd as wr,oB as wt,Qhe as x,Dt as xi,Ite as xn,tG as xr,wB as xt,Ghe as y,Yt as yi,Mhe as yn,$r as yr,EB as yt,Rue as z,Vj as zi,Ehe as zn,vU as zr,af as zt};