@astralyn/sash 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/LICENSE +21 -0
  3. package/README.md +71 -0
  4. package/THIRD_PARTY_NOTICES.md +54 -0
  5. package/dist/api.js +103 -0
  6. package/dist/browser.js +25 -0
  7. package/dist/cli-errors.js +15 -0
  8. package/dist/cli.js +122 -0
  9. package/dist/commands/lifecycle.js +50 -0
  10. package/dist/commands/logs.js +54 -0
  11. package/dist/commands/shared.js +8 -0
  12. package/dist/commands/status.js +39 -0
  13. package/dist/commands/update.js +5 -0
  14. package/dist/commands/upgrade.js +43 -0
  15. package/dist/commands/web.js +33 -0
  16. package/dist/contracts.js +412 -0
  17. package/dist/core-config-validation.js +72 -0
  18. package/dist/core-install-record.js +55 -0
  19. package/dist/core-install-transaction.js +114 -0
  20. package/dist/core-update-coordination.js +105 -0
  21. package/dist/core-update-service.js +245 -0
  22. package/dist/core-update.js +804 -0
  23. package/dist/core-version.js +18 -0
  24. package/dist/core.js +206 -0
  25. package/dist/daemon/app.js +157 -0
  26. package/dist/daemon/context.js +40 -0
  27. package/dist/daemon/entry.js +67 -0
  28. package/dist/daemon/errors.js +47 -0
  29. package/dist/daemon/handlers/core.js +17 -0
  30. package/dist/daemon/handlers/daemon.js +66 -0
  31. package/dist/daemon/handlers/profiles.js +57 -0
  32. package/dist/daemon/handlers/proxy.js +12 -0
  33. package/dist/daemon/handlers/settings.js +48 -0
  34. package/dist/daemon/router.js +312 -0
  35. package/dist/daemon/scheduler.js +33 -0
  36. package/dist/daemon/server.js +121 -0
  37. package/dist/daemon-auth.js +71 -0
  38. package/dist/daemon-client.js +55 -0
  39. package/dist/daemon-entry.js +13 -0
  40. package/dist/daemon-http.js +93 -0
  41. package/dist/daemon-lifecycle.js +378 -0
  42. package/dist/daemon-proxy.js +176 -0
  43. package/dist/daemon-static.js +106 -0
  44. package/dist/daemon.js +3 -0
  45. package/dist/error-utils.js +14 -0
  46. package/dist/fs-atomic.js +123 -0
  47. package/dist/github.js +187 -0
  48. package/dist/http.js +282 -0
  49. package/dist/json-shape.js +17 -0
  50. package/dist/log-follow.js +280 -0
  51. package/dist/log.js +17 -0
  52. package/dist/managed-state-transaction.js +377 -0
  53. package/dist/mihomo-config.js +334 -0
  54. package/dist/node-version-guard.js +8 -0
  55. package/dist/offline-mutation.js +58 -0
  56. package/dist/paths.js +57 -0
  57. package/dist/process.js +572 -0
  58. package/dist/profile-migration.js +101 -0
  59. package/dist/profile-service.js +667 -0
  60. package/dist/profiles.js +182 -0
  61. package/dist/runtime-lifecycle.js +205 -0
  62. package/dist/runtime-owner.js +87 -0
  63. package/dist/runtime-recovery.js +31 -0
  64. package/dist/sash-client.js +163 -0
  65. package/dist/settings-service.js +242 -0
  66. package/dist/settings.js +314 -0
  67. package/dist/state-lock.js +331 -0
  68. package/dist/status.js +279 -0
  69. package/dist/supervisor.js +301 -0
  70. package/dist/sysproxy/common.js +99 -0
  71. package/dist/sysproxy/darwin.js +287 -0
  72. package/dist/sysproxy/factory.js +71 -0
  73. package/dist/sysproxy/gnome.js +181 -0
  74. package/dist/sysproxy/legacy.js +58 -0
  75. package/dist/sysproxy/snapshot.js +284 -0
  76. package/dist/sysproxy/types.js +24 -0
  77. package/dist/sysproxy/windows.js +216 -0
  78. package/dist/sysproxy.js +8 -0
  79. package/dist/system-proxy-manager.js +460 -0
  80. package/dist/tun-guidance.js +11 -0
  81. package/dist/ui/assets/05129d5ad91a6181d272cc3d031363d6-DJkDXMrK.woff2 +0 -0
  82. package/dist/ui/assets/0526ebf94418638dfd5b6cd9b06c07d4-BzWe4Lji.woff2 +0 -0
  83. package/dist/ui/assets/053f2647a78f659f6f8a3ae8436bd265-BocXYDl5.woff2 +0 -0
  84. package/dist/ui/assets/078f666863424d3fd2d98e3ea528704c-DQ_QCvOt.woff2 +0 -0
  85. package/dist/ui/assets/07f3ff379663ffa0222c12f241421dd9-Cma7oDlr.woff2 +0 -0
  86. package/dist/ui/assets/08427b8d865853bbd7c439321b26495f-CJmC8fWx.woff2 +0 -0
  87. package/dist/ui/assets/095224e4db29d40c54098da02b266b0a-DjsP0nQn.woff2 +0 -0
  88. package/dist/ui/assets/0ada18ca45940b08accde5c61ee871e3-E1BZD3RX.woff2 +0 -0
  89. package/dist/ui/assets/0be242294f7d791af850c6df38ac78a0-2cL6Ntwf.woff2 +0 -0
  90. package/dist/ui/assets/0bf18c938d0c27cce06c39f855405fdb-CruLZZZJ.woff2 +0 -0
  91. package/dist/ui/assets/0cfb3e9f4edf60839c37dc83e6f75ea3-DzAtRHvi.woff2 +0 -0
  92. package/dist/ui/assets/0fbbd340d0467dfe3101d58846f30cb0-gtFcO250.woff2 +0 -0
  93. package/dist/ui/assets/1063fa2dc7334d1f383e30824e016eae-B7U-kD-0.woff2 +0 -0
  94. package/dist/ui/assets/109e26e62ddc85d946e699464afbece7-BLnUjAEV.woff2 +0 -0
  95. package/dist/ui/assets/12a443b0ae9748a993b5395f8fad412b-Btjff2Lz.woff2 +0 -0
  96. package/dist/ui/assets/135c4621de7a4d85d852e03d416f13ee-DdSuW36e.woff2 +0 -0
  97. package/dist/ui/assets/13aa415469ee761c968749b1c0c56ec6-Dwe-Wa_w.woff2 +0 -0
  98. package/dist/ui/assets/1435b1ad447bd9c0e8bc52035c9dcfa8-C05ldXtw.woff2 +0 -0
  99. package/dist/ui/assets/175e0915aa874e7446b79b6bc9b00721-Dp0-l77L.woff2 +0 -0
  100. package/dist/ui/assets/1876e7d02187f006e2b7f769391c3089-CNjpRdap.woff2 +0 -0
  101. package/dist/ui/assets/1886dc284b3b845e3b5fe04aa2107276-Bh_wHwL1.woff2 +0 -0
  102. package/dist/ui/assets/19a3dda6611aaf5d787403bd1159fe15-zoEBvdpA.woff2 +0 -0
  103. package/dist/ui/assets/1afa74e14da193125e45d4783d358a4f-BgjSTENX.woff2 +0 -0
  104. package/dist/ui/assets/1cd26a6a6d784720b4a43053e9058bcf-TAP3dvNi.woff2 +0 -0
  105. package/dist/ui/assets/1ce19bddc3beab385a863b1e05685678-BCdXitZw.woff2 +0 -0
  106. package/dist/ui/assets/1d3459ac6578c80502bdb876a4824a93-CSwdnEGP.woff2 +0 -0
  107. package/dist/ui/assets/1d479e364dab4af01c539f0a6a7ac036-ZFI-djGt.woff2 +0 -0
  108. package/dist/ui/assets/1dcea2408d17fcec4197adce50f8b32d-CnK2xXR-.woff2 +0 -0
  109. package/dist/ui/assets/1e855385699999e24a33f7df8aed0489-DGFHkDVQ.woff2 +0 -0
  110. package/dist/ui/assets/1f55944b8f7972580e3029694462a6b0-CB7ogVJ9.woff2 +0 -0
  111. package/dist/ui/assets/1f96eda70929089762dc3c4feb33f9c8-DtSQ6YOf.woff2 +0 -0
  112. package/dist/ui/assets/1fb275532caadc746455881b31da27c4-BHFTsg74.woff2 +0 -0
  113. package/dist/ui/assets/20e679bdc00d06f802ea71fd9154b284-D9gRjq_v.woff2 +0 -0
  114. package/dist/ui/assets/25aff66c4a9f8cb801cbd525f4a923e4-Dgi87hP7.woff2 +0 -0
  115. package/dist/ui/assets/28e6700380b023b23e77f2d75aee624f-b19D855Q.woff2 +0 -0
  116. package/dist/ui/assets/2a1c50aa9cd99ce3a0197f5d49948e63-DrztdXCB.woff2 +0 -0
  117. package/dist/ui/assets/2b4e0ae0bf3af610b97717dfd66a012d-CBoapvha.woff2 +0 -0
  118. package/dist/ui/assets/2be2b7a672b616bc2f07059a67bfaad8-BUR0aNML.woff2 +0 -0
  119. package/dist/ui/assets/2e0a358ada78ea98ec8ba86002a27eac-DvgbSr9v.woff2 +0 -0
  120. package/dist/ui/assets/2e1cf63a2a22a50516c49b1dc521ea8a-CmltIxig.woff2 +0 -0
  121. package/dist/ui/assets/2e4481801925fcb6573c4337c73f15d7-DYOoCk-m.woff2 +0 -0
  122. package/dist/ui/assets/2fe5e634c568cd874f94d24b8f02bfd1-DcEHY35G.woff2 +0 -0
  123. package/dist/ui/assets/309c33f63f29887fb557115aa24d4bb5-CUgqrXIj.woff2 +0 -0
  124. package/dist/ui/assets/3158f45c959e1b346b0bbd6f3193dbf0-kimcClqp.woff2 +0 -0
  125. package/dist/ui/assets/316adbc8037a36f8d804637b053bbe5e-CjbZmJf9.woff2 +0 -0
  126. package/dist/ui/assets/319e9631bc29fc7235b70fc9aac43cd9-IV6yZuHZ.woff2 +0 -0
  127. package/dist/ui/assets/32054f9bb88d9431b1cdf023f770e614-CYrpCgqK.woff2 +0 -0
  128. package/dist/ui/assets/3245fa1aac6338c1d9d04befb7c346f8-CzvPhVPA.woff2 +0 -0
  129. package/dist/ui/assets/326c730f98afa476057957f2743c81e2-GPHJ3Fpu.woff2 +0 -0
  130. package/dist/ui/assets/33885558dc783bf9bae6c5d4668fef07-D33us0yR.woff2 +0 -0
  131. package/dist/ui/assets/33cd11f5e61556e4618801c8231f2744-CoR_Tv3X.woff2 +0 -0
  132. package/dist/ui/assets/34a170749cb7e6c5851acc510882af6b-BCZwsihk.woff2 +0 -0
  133. package/dist/ui/assets/3538de2d387591258d7e9908aad803b9-CewOkERZ.woff2 +0 -0
  134. package/dist/ui/assets/38d7b029c036080067a2e94211098171-CettR5Qv.woff2 +0 -0
  135. package/dist/ui/assets/393f47efeefc9f9e9cca83eb10a82c69-Brhz4z1y.woff2 +0 -0
  136. package/dist/ui/assets/396a51f2b274d01f6ba606a94f3e5fe2-DgRk-jtI.woff2 +0 -0
  137. package/dist/ui/assets/3991bf955d4c925e84b4a6542760d4d5-II4HtRkQ.woff2 +0 -0
  138. package/dist/ui/assets/39b6cb6ae8d1ea0e9832b88d2c21ef99-CbJm-q6b.woff2 +0 -0
  139. package/dist/ui/assets/3a1133157fbd259f1a51aaa9f8418a26-3FmUjjvi.woff2 +0 -0
  140. package/dist/ui/assets/3a34cff07dca7a65ed2486be19229290-B7ml2yBN.woff2 +0 -0
  141. package/dist/ui/assets/3c339dd7c27e6b8a06eea431733e076f-dGQqXaEj.woff2 +0 -0
  142. package/dist/ui/assets/3d074ea67f60953b816ce7cf5d87a980-B5VkPOmg.woff2 +0 -0
  143. package/dist/ui/assets/3d38f54dcf4a9f4a50165d5849becf71-CVDtFSZn.woff2 +0 -0
  144. package/dist/ui/assets/3e3fc9a19a27f94e4ff1b815b55b2671-Ci736GLi.woff2 +0 -0
  145. package/dist/ui/assets/3e8abb1f606f29e2f0a8a8a6b702d263-C5sOSf5L.woff2 +0 -0
  146. package/dist/ui/assets/3f0ab4e1cd99bdbfdf9acbc8f4bcb9ce-0DcdTLxV.woff2 +0 -0
  147. package/dist/ui/assets/3f30c0482650345c981d66920f56ab61-CTD2CsZI.woff2 +0 -0
  148. package/dist/ui/assets/41a9aa12ad9a60758b304c1a998fb781-BTQUDLf1.woff2 +0 -0
  149. package/dist/ui/assets/424010b2bc5cee540b92b28da49b61bf-DT8upW2M.woff2 +0 -0
  150. package/dist/ui/assets/42fbdafff2d44b76c6665d51bb2cee9d-_UrojhXD.woff2 +0 -0
  151. package/dist/ui/assets/4341db13c311b3cb0eaaf6b4c71b89e5-CzjA7MzG.woff2 +0 -0
  152. package/dist/ui/assets/434db5a796128131fde78d4389d14b71-AeNdWKua.woff2 +0 -0
  153. package/dist/ui/assets/43cb51fc70a15274d49e2d956c5ec3b4-BQbufd96.woff2 +0 -0
  154. package/dist/ui/assets/43e79de1c7815f21efbc966ff96fcbd6-DlCQvOsQ.woff2 +0 -0
  155. package/dist/ui/assets/43faf6a8a3cde1088bd5f7c830890a89-SvDzF3nA.woff2 +0 -0
  156. package/dist/ui/assets/44731ae21d7690ce538d0f8242755833-CEmu9Z88.woff2 +0 -0
  157. package/dist/ui/assets/45324b2a64cc0c0db797d5c09e239d34-BuFudtvM.woff2 +0 -0
  158. package/dist/ui/assets/4584df05d00aa75ae6e1f850fdc9df1d-GNHt6xwM.woff2 +0 -0
  159. package/dist/ui/assets/48d539539e98481fb511a761031c59fd-Cd9gdi8B.woff2 +0 -0
  160. package/dist/ui/assets/49a1fb9fc6a35796b2e0d3539088ede8-CD1cRDOy.woff2 +0 -0
  161. package/dist/ui/assets/4bec02eb0c2371e59bfb7d41a141ea1e-CmBnNPo0.woff2 +0 -0
  162. package/dist/ui/assets/4c5a81ef5683f6fbf9935e640de804e7-B4wQxzVs.woff2 +0 -0
  163. package/dist/ui/assets/4f11c9c75e86214b7f69ddee3a9f8076-DHsQ2xpE.woff2 +0 -0
  164. package/dist/ui/assets/50434b8ff88e27101d1c67ba953ee873-PH_hIqxu.woff2 +0 -0
  165. package/dist/ui/assets/5107fd5153d52c6a3f8d43ff214dd6c2-ls3eo5Qd.woff2 +0 -0
  166. package/dist/ui/assets/520cb7d3683dee99e767650efc0aa5b1-Lkd4z-9S.woff2 +0 -0
  167. package/dist/ui/assets/5455087df2f091b7bf3d38c5a102a2e7-QNkiOxwe.woff2 +0 -0
  168. package/dist/ui/assets/556450fdf0978d329cf8277e3b71dcdb-CtypGAPw.woff2 +0 -0
  169. package/dist/ui/assets/5a1b5c1b71cad50c51a79a7f4825e6e6-DQA407Ec.woff2 +0 -0
  170. package/dist/ui/assets/5ba02e809d2ef4f7639178e7a7d654c0-Dty0omtl.woff2 +0 -0
  171. package/dist/ui/assets/5bd654afe48e094f95e5142e4eaadc75-D9pUq71R.woff2 +0 -0
  172. package/dist/ui/assets/5c4c3ca0a3f4115879a61a96d02e3efc-RcVLBj31.woff2 +0 -0
  173. package/dist/ui/assets/5c737d740638e8d764f12c1e5c1cd144-D2Npjq-N.woff2 +0 -0
  174. package/dist/ui/assets/5e78019102102aa5741aa591313fd5b5-V7Azrw-2.woff2 +0 -0
  175. package/dist/ui/assets/6287cacac64e1849941f7b7d7e6316c5-DzkbPOID.woff2 +0 -0
  176. package/dist/ui/assets/643df7194160d54edc48d16d76e5ba74-BKmmIRjw.woff2 +0 -0
  177. package/dist/ui/assets/65d3b214c69ff6786fd1cab06f8394b7-B0cRUJAr.woff2 +0 -0
  178. package/dist/ui/assets/6698103c11bfe260d44fcf00c6d8b623-DVWYOeyb.woff2 +0 -0
  179. package/dist/ui/assets/692e07b3a609a8f1a21c15c45631f348-DJW5LcZH.woff2 +0 -0
  180. package/dist/ui/assets/694e87456af181279c2bfd551aa3c6e3-Cu7kRuJB.woff2 +0 -0
  181. package/dist/ui/assets/6b88066bdc7a6e8bc823128dbd0f6f3b-BG38UZSq.woff2 +0 -0
  182. package/dist/ui/assets/6d6f36f15381826d113832bfdd41b021-Bgh7YPiq.woff2 +0 -0
  183. package/dist/ui/assets/6e22361162bd0a5cd189ca3c98d23d52-DqnptHqF.woff2 +0 -0
  184. package/dist/ui/assets/6e884dd501b8da24ecd37425a9b3d51d-BVNqra8s.woff2 +0 -0
  185. package/dist/ui/assets/71200dbc7497fbafa28db5cfeae74acb-B6xMqoC6.woff2 +0 -0
  186. package/dist/ui/assets/72a85441a9757146440e3985f3b02075-CzTSlCPZ.woff2 +0 -0
  187. package/dist/ui/assets/7472d7e02045dea3ff288eac850e38eb-CboJEy4X.woff2 +0 -0
  188. package/dist/ui/assets/795ffa953bea666763ae79ac88aa7e5a-C6UsoDmi.woff2 +0 -0
  189. package/dist/ui/assets/7aa8647d6c52d249169b73417aa8e444-kJejhQ0-.woff2 +0 -0
  190. package/dist/ui/assets/7be6b794fc233ccd8b5769496301313a-Ba2iZC0a.woff2 +0 -0
  191. package/dist/ui/assets/7c0748f04d52086809c9f551c5aaded7-DSzO_ybF.woff2 +0 -0
  192. package/dist/ui/assets/7c858bb53a7652227fab8cf9753d3e1f-Bi9fbvIF.woff2 +0 -0
  193. package/dist/ui/assets/7e7026091b4e6061b05963bdb3a7f944-CrmRDJpc.woff2 +0 -0
  194. package/dist/ui/assets/7f80369a7479d568ab8bf492000282bd-CqcI5ZOp.woff2 +0 -0
  195. package/dist/ui/assets/834ce2f2571aaa26e47a618c4ad55e58-DZfWJrxo.woff2 +0 -0
  196. package/dist/ui/assets/834faab602d9c795341bc7dfd6578fe5-B1VeBVWh.woff2 +0 -0
  197. package/dist/ui/assets/8513a8eea35b460a047a16a87c36f8bb-H259w_6b.woff2 +0 -0
  198. package/dist/ui/assets/8699e8a36465bf46671dc28ce24e188c-YlkPpQ6h.woff2 +0 -0
  199. package/dist/ui/assets/86ae8881eae9eac7e9c0182c8ce6c627-Ch2r3LNs.woff2 +0 -0
  200. package/dist/ui/assets/86b3ae1be58d76f7147793f09264451b-CpgTfcn-.woff2 +0 -0
  201. package/dist/ui/assets/8769f8d7d45adcfcbd3f80460d22720d-DV_yqcTo.woff2 +0 -0
  202. package/dist/ui/assets/87bb0ceea9f5515490c832bdf6ebf641-CJpxd8e6.woff2 +0 -0
  203. package/dist/ui/assets/8928b9a50b5efbaaafa039674a3c7301-C-42WRD6.woff2 +0 -0
  204. package/dist/ui/assets/899f2c2a36cbeac473a7caeeaabc46b1-xrIcXJXU.woff2 +0 -0
  205. package/dist/ui/assets/8a075d4043e6bf66740808b492186438-Dq0346Qm.woff2 +0 -0
  206. package/dist/ui/assets/8b86676936792154c53205ab5d90b797-BGH_CGsg.woff2 +0 -0
  207. package/dist/ui/assets/8c63ca479653200a0e12f428242e1171-CsBTcPwY.woff2 +0 -0
  208. package/dist/ui/assets/8c9c7ff8342f5fed60e73c4a7ad67325-CGSYpt52.woff2 +0 -0
  209. package/dist/ui/assets/8ca655fcc5d9cf33d49815e231f3f356-b8PyEeZg.woff2 +0 -0
  210. package/dist/ui/assets/8e96f0f9385ef826f900587d0fc18b3d-D7GIG6Uq.woff2 +0 -0
  211. package/dist/ui/assets/8ea917252cf2c1e664f06ee5badffeea-CDZ1AFr0.woff2 +0 -0
  212. package/dist/ui/assets/8f42f890fc37e292017446af85af2745-Qx6oGI0z.woff2 +0 -0
  213. package/dist/ui/assets/8f9589e71c53bb753749a9c412f15c01-BVR5mPJl.woff2 +0 -0
  214. package/dist/ui/assets/90e70b52a3cc2491bbb2b4c0caf0ae7e-BdwPu67j.woff2 +0 -0
  215. package/dist/ui/assets/92ac4ca42fe050c1e680c585551abd9c-CXLyuj7l.woff2 +0 -0
  216. package/dist/ui/assets/92c12bb794c491930fd06f3f97299807-u_0ognJ0.woff2 +0 -0
  217. package/dist/ui/assets/92f0b4d2bb274a801aac10fc34c1e0cc-DFHB6dyu.woff2 +0 -0
  218. package/dist/ui/assets/93247aebd628367f5518eafdb2770ce9-o1N4zvTO.woff2 +0 -0
  219. package/dist/ui/assets/940446ea160995af66a9ee223cc3d4d1-C-_7aPYO.woff2 +0 -0
  220. package/dist/ui/assets/94be430de618453b6ae27bd366827ba2-1YYf1n5N.woff2 +0 -0
  221. package/dist/ui/assets/98cd7d62095e466e55885b34f63c86f1-z33YCk0X.woff2 +0 -0
  222. package/dist/ui/assets/99049fd5cec5894cafe2a1e5e13d1e03-DNrg8nIk.woff2 +0 -0
  223. package/dist/ui/assets/99e2752b7351aaa7681b4d91db80e89a-b3hi7miY.woff2 +0 -0
  224. package/dist/ui/assets/9d1b670cbfd64716ac685dea26237d95-DAZ9U6es.woff2 +0 -0
  225. package/dist/ui/assets/CodeEditorModal-6m0TJWyF.css +1 -0
  226. package/dist/ui/assets/CodeEditorModal-CFEnWsyh.js +14 -0
  227. package/dist/ui/assets/ConnectionsView-DHo6yvU6.css +1 -0
  228. package/dist/ui/assets/ConnectionsView-DNGmZBSU.js +1 -0
  229. package/dist/ui/assets/LogsView-BoeE92VF.css +1 -0
  230. package/dist/ui/assets/LogsView-fSiaxQ13.js +1 -0
  231. package/dist/ui/assets/PaginationFooter-B3kHzRfB.js +1 -0
  232. package/dist/ui/assets/PaginationFooter-BNkpcNoB.css +1 -0
  233. package/dist/ui/assets/ProfileEditorDialog-BydoZthX.js +1 -0
  234. package/dist/ui/assets/ProfilesView-Btc1DOxE.js +2 -0
  235. package/dist/ui/assets/ProfilesView-ByqdFNHN.css +1 -0
  236. package/dist/ui/assets/RulesView-CHyynVqA.css +1 -0
  237. package/dist/ui/assets/RulesView-D9vZBiJ1.js +1 -0
  238. package/dist/ui/assets/SettingsFileDialog-CNFEAVs4.js +1 -0
  239. package/dist/ui/assets/SettingsView-BlDhZkXQ.js +2 -0
  240. package/dist/ui/assets/SettingsView-CngS3vBM.css +1 -0
  241. package/dist/ui/assets/a0f2d41645a113d821e7ff0891daad1e-XK0rDAci.woff2 +0 -0
  242. package/dist/ui/assets/a1d1345d8407dd6169f39c28ff6b1708-Bn7hMmv8.woff2 +0 -0
  243. package/dist/ui/assets/a29f51b4ebb6776e43e7492a036be28e-CrAKKz8u.woff2 +0 -0
  244. package/dist/ui/assets/a3252ac86b2c4e88bfb9baecabcad817-qnA_3LNE.woff2 +0 -0
  245. package/dist/ui/assets/a3d63a61e7eb2bb497dbc2da65bd0873-BRMJAm0m.woff2 +0 -0
  246. package/dist/ui/assets/a45eea933252dbe3529f30a0323c2661-D4kBOrXR.woff2 +0 -0
  247. package/dist/ui/assets/a4886c4ebed8c8b1f8a87b5b491a39aa-CBQdRqpF.woff2 +0 -0
  248. package/dist/ui/assets/a50b4ab745c7676d9d3ceb3c0a023a3d-CW990pgI.woff2 +0 -0
  249. package/dist/ui/assets/a5851ae4d7e58996d8bd681f80d4727c-BBytdb0t.woff2 +0 -0
  250. package/dist/ui/assets/a5cdaa96bf7d1db6c671432f9ab7bccb-slKJjgfX.woff2 +0 -0
  251. package/dist/ui/assets/a640dd2e962cf72c7fcf76234c973303-CUCWUDBY.woff2 +0 -0
  252. package/dist/ui/assets/a67e457bbd366aef5104ce743a2cf6d4-DkE8fLlE.woff2 +0 -0
  253. package/dist/ui/assets/a6c3f2257315d45aa212bd2e86a02852-CxDbXnZV.woff2 +0 -0
  254. package/dist/ui/assets/a73399a40a5f81fb7314b8b9a10cd221-DRAvJPKI.woff2 +0 -0
  255. package/dist/ui/assets/a73a64b0941803d9d807b9ec082df641-BbPpPyy5.woff2 +0 -0
  256. package/dist/ui/assets/a73d1a0a1dfd4f4234f7a0649ece4da4-BHeqktY9.woff2 +0 -0
  257. package/dist/ui/assets/a740044e77a400a450e71fcdea55523f-Co5hpBNK.woff2 +0 -0
  258. package/dist/ui/assets/a7669b29f404662c179c71b87e67c8d2-CVnuBgHy.woff2 +0 -0
  259. package/dist/ui/assets/a964a4def15811e91b05a91740a1cf37-CzcDfCRn.woff2 +0 -0
  260. package/dist/ui/assets/aac3f69132da164921fda75d2d90bfb7-B6rUZQ4_.woff2 +0 -0
  261. package/dist/ui/assets/aacd263c3bb4ba163a4d5079c159680a-DtrDLFlk.woff2 +0 -0
  262. package/dist/ui/assets/ac62ec881ded2cdb450e542b396e24d0-CRlVJvPa.woff2 +0 -0
  263. package/dist/ui/assets/aebcb9b7d4b174ab5a4b911206f24036-BuleSpgP.woff2 +0 -0
  264. package/dist/ui/assets/af70712dadc05c7b18d248996a5ab0a9-gCZSZGzb.woff2 +0 -0
  265. package/dist/ui/assets/afbd3a8a4cfaa4561b7848c28bc6c4f8-DgnqceEw.woff2 +0 -0
  266. package/dist/ui/assets/b02d3867e6e2ea921d2845b44c4a5a31-C9v4FrqD.woff2 +0 -0
  267. package/dist/ui/assets/b1b22825b930688403337d4fd7bbba62-vmMs2pJf.woff2 +0 -0
  268. package/dist/ui/assets/b3206c979bfb28d12d7ad6df58e74b9f-X1PqLaCR.woff2 +0 -0
  269. package/dist/ui/assets/b6280e42d4f11dcab70594f9d6774936-CtezImLG.woff2 +0 -0
  270. package/dist/ui/assets/b71b8cd1a70405c3dbc0e7a44055ca9a-Cd6cIOEr.woff2 +0 -0
  271. package/dist/ui/assets/b9198c4f220a4ca075f8daa4db529e50-Bgc7zlEt.woff2 +0 -0
  272. package/dist/ui/assets/baad304a58d7d42d0af29235c5e9490b-BQZYwARB.woff2 +0 -0
  273. package/dist/ui/assets/bb99e34f8784cc44f0eeadbe735dd238-UHFYI827.woff2 +0 -0
  274. package/dist/ui/assets/bc1cb0f523c8a2ff566a047aeddf90fd-BSlXQn97.woff2 +0 -0
  275. package/dist/ui/assets/bd3171e975d62612e50148bf38b2158f-CtZKzCzQ.woff2 +0 -0
  276. package/dist/ui/assets/be10640c403263dd5917ad65c4d453a6-B-rbuuja.woff2 +0 -0
  277. package/dist/ui/assets/be764e101e78b50b749aa1414d4810a7-yIPaQQih.woff2 +0 -0
  278. package/dist/ui/assets/bfa682a7f5f12945b41230c35eb859f6-CzagcI5f.woff2 +0 -0
  279. package/dist/ui/assets/bfa9753ed26f2e1f81ab7020167bd1a0-C6ZNQQ2p.woff2 +0 -0
  280. package/dist/ui/assets/branding/sash-cat.png +0 -0
  281. package/dist/ui/assets/c0e78c6ad709b19ce437677c91033489-BtwtlApg.woff2 +0 -0
  282. package/dist/ui/assets/c5a59409c610cc8c265d1691eb3f71eb-DmI_ky2X.woff2 +0 -0
  283. package/dist/ui/assets/c5ff66a1a57f2a29424e8de5d4ef3756-C9pOsaV1.woff2 +0 -0
  284. package/dist/ui/assets/c607bdee84a0e5b69721367ccc0c9c31-eoHbdXeg.woff2 +0 -0
  285. package/dist/ui/assets/c8095033941d18db730496eb4c863757-DoexTYks.woff2 +0 -0
  286. package/dist/ui/assets/c8295519e16f4cf3a350e9729f07653a-C8bAtIO_.woff2 +0 -0
  287. package/dist/ui/assets/c91f9c9f4db81afeba37c8e73afb0bfd-BGIl2iKW.woff2 +0 -0
  288. package/dist/ui/assets/c9ad9caa4afdd40766add91d321b0350-HfuiRq1k.woff2 +0 -0
  289. package/dist/ui/assets/cc4f271c90f9ea5157db9c0a4edc976b-MAjuDvHE.woff2 +0 -0
  290. package/dist/ui/assets/cdf7c3d96ba172214d7e1e9fe5e6ba8b-CUx4fWQE.woff2 +0 -0
  291. package/dist/ui/assets/cf70d5821ea7c3ca34653169ac763606-CE0T0Svc.woff2 +0 -0
  292. package/dist/ui/assets/d0d5efe92496b1ceea38e180b0ac97d3-7G71Z6v3.woff2 +0 -0
  293. package/dist/ui/assets/d1977142eceb878b06440375e64c4372-mr-7LWm-.woff2 +0 -0
  294. package/dist/ui/assets/d42feb13392b4dd9214c61b61a6e5ae8-DjnKADf_.woff2 +0 -0
  295. package/dist/ui/assets/d46a696ec6a077c6873fc39043c3c082-C62E-13k.woff2 +0 -0
  296. package/dist/ui/assets/d4c0bbf1605a8a9c36fff5a2ead81bb5-C2F6tzOj.woff2 +0 -0
  297. package/dist/ui/assets/d918d4e47697b7c752ea223e0d0d4c81-twovU2ty.woff2 +0 -0
  298. package/dist/ui/assets/d988c05da0b5624267dd825fedd133d1-Bgbc9SVH.woff2 +0 -0
  299. package/dist/ui/assets/da3a071df79531f4f033b7c8499651d0-0tgZJL_N.woff2 +0 -0
  300. package/dist/ui/assets/da8eba4acbf93048645043006de1c5f0-Ce0dmHn_.woff2 +0 -0
  301. package/dist/ui/assets/dc3f16892e20a85a8fcad2d3097e622b-8PRrFPJt.woff2 +0 -0
  302. package/dist/ui/assets/dd5f808ec691f911483a2eb60b5049bd-BhVupSbT.woff2 +0 -0
  303. package/dist/ui/assets/e2b04534cc697a76afd70e885119cb8c-DO303iCb.woff2 +0 -0
  304. package/dist/ui/assets/e307280eb2fb7809adee14ff0d247d32-DHMLXvSs.woff2 +0 -0
  305. package/dist/ui/assets/e3b484bec850c669094f713570870b3a-BI_9kRw8.woff2 +0 -0
  306. package/dist/ui/assets/e7b1d196949b7530cbda0ad956fbb2cc-i2m2Id0q.woff2 +0 -0
  307. package/dist/ui/assets/e7c2e5fb387880508811cadc2926e13a-BfROXX4U.woff2 +0 -0
  308. package/dist/ui/assets/e8a5fe283c8b9e173097bee0b5757ab6-BvfjDjYP.woff2 +0 -0
  309. package/dist/ui/assets/e8e3465d48435612e9c3509be3984188-BeUPU5-9.woff2 +0 -0
  310. package/dist/ui/assets/e93903f4604b007fc1b7134a74f5c534-B1M4h46T.woff2 +0 -0
  311. package/dist/ui/assets/eb0994906efd969102d522b6d8b3aff2-i9SHU5CJ.woff2 +0 -0
  312. package/dist/ui/assets/eb32eee23ceadd3fc4eb5763d3573f57-B3h9kgf3.woff2 +0 -0
  313. package/dist/ui/assets/ebadbc005027fb3e2b1c2d15be38c66b-qVQSBwBu.woff2 +0 -0
  314. package/dist/ui/assets/ecbbb464ff6934b5012cf33c80c7a907-CBEPqZfS.woff2 +0 -0
  315. package/dist/ui/assets/ed79ac25c014b6434f22fe1e2549bc26-mWhz7hkU.woff2 +0 -0
  316. package/dist/ui/assets/eed64f40443554cb9f65edaca176abb0-Cqw29XTm.woff2 +0 -0
  317. package/dist/ui/assets/efc749471476cce09e12e7038c757950-BhSWPf1Q.woff2 +0 -0
  318. package/dist/ui/assets/f2a7c2cb375662aa93d8f31116d39c20-D1zsMYCW.woff2 +0 -0
  319. package/dist/ui/assets/f5ba0fb4332ccceadc481e47134023d3-CAKMPiu5.woff2 +0 -0
  320. package/dist/ui/assets/f6326eb5031e18478aa4588598f96965-Dj3uu55n.woff2 +0 -0
  321. package/dist/ui/assets/f8678cbaab9caef95e1986731dcbd92f-CnIuR3EN.woff2 +0 -0
  322. package/dist/ui/assets/f8d9d55e2a811e9839c9af5f8f2d62ac-DIUQRBsH.woff2 +0 -0
  323. package/dist/ui/assets/f98b117e363eb51f4d7c7d1056da7688-O9MtqjIW.woff2 +0 -0
  324. package/dist/ui/assets/f9ab5d9163148ceb211e5b4f15a3d8e0-Dtqse-AT.woff2 +0 -0
  325. package/dist/ui/assets/fa69ce224ff0a6c0ff97b10a829779c2-pX45dCNY.woff2 +0 -0
  326. package/dist/ui/assets/fc38d1da3930d39dd8e286f708105765-DmbOHwTI.woff2 +0 -0
  327. package/dist/ui/assets/fe03c1dfaffc1cad3521fe55f1541d6b-BW8aEqCj.woff2 +0 -0
  328. package/dist/ui/assets/fe0b2421eb4d1f4f8949c602871a317c-BsBLV6jH.woff2 +0 -0
  329. package/dist/ui/assets/fe9c75d0cb3d808023412d26dfc9d388-eXjcgUPI.woff2 +0 -0
  330. package/dist/ui/assets/index-B61V60w_.js +19 -0
  331. package/dist/ui/assets/index-bkyxJG8J.css +1 -0
  332. package/dist/ui/assets/theme-BNq4FkXS.js +1 -0
  333. package/dist/ui/index.html +52 -0
  334. package/dist/webui.js +21 -0
  335. package/docs/backend.md +260 -0
  336. package/docs/frontend.md +125 -0
  337. package/docs/remix-icon-license.txt +186 -0
  338. package/docs/usage.md +227 -0
  339. package/package.json +82 -0
@@ -0,0 +1,19 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ConnectionsView-DNGmZBSU.js","./PaginationFooter-B3kHzRfB.js","./PaginationFooter-BNkpcNoB.css","./ConnectionsView-DHo6yvU6.css","./LogsView-fSiaxQ13.js","./LogsView-BoeE92VF.css","./ProfilesView-Btc1DOxE.js","./ProfilesView-ByqdFNHN.css","./RulesView-D9vZBiJ1.js","./RulesView-CHyynVqA.css","./SettingsView-BlDhZkXQ.js","./theme-BNq4FkXS.js","./SettingsView-CngS3vBM.css"])))=>i.map(i=>d[i]);
2
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/**
3
+ * @vue/shared v3.5.42
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **/function zo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const re={},an=[],yt=()=>{},di=()=>!1,Ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vs=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Zo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wl=Object.prototype.hasOwnProperty,ae=(e,t)=>Wl.call(e,t),G=Array.isArray,Nt=e=>qn(e)==="[object Map]",en=e=>qn(e)==="[object Set]",yr=e=>qn(e)==="[object Date]",Y=e=>typeof e=="function",ye=e=>typeof e=="string",st=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",pi=e=>(ce(e)||Y(e))&&Y(e.then)&&Y(e.catch),hi=Object.prototype.toString,qn=e=>hi.call(e),Jl=e=>qn(e).slice(8,-1),gi=e=>qn(e)==="[object Object]",Go=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Is=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Yl=/-\w/g,Ie=Is(e=>e.replace(Yl,t=>t.slice(1).toUpperCase())),Xl=/\B([A-Z])/g,Mt=Is(e=>e.replace(Xl,"-$1").toLowerCase()),ks=Is(e=>e.charAt(0).toUpperCase()+e.slice(1)),so=Is(e=>e?`on${ks(e)}`:""),Ee=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},mi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Fs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ql=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let vr;const Bs=()=>vr||(vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Us(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=ye(s)?sa(s):Us(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(ye(e)||ce(e))return e}const ea=/;(?![^(]*\))/g,ta=/:([^]+)/,na=/\/\*[^]*?\*\//g;function sa(e){const t={};return e.replace(na,"").split(ea).forEach(n=>{if(n){const s=n.split(ta);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Se(e){let t="";if(ye(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const s=Se(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const oa="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ra=zo(oa);function yi(e){return!!e||e===""}function ia(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=It(e[s],t[s]);return n}function wr(e,t){if(e.size!==t.size)return!1;const n=Array.from(t),s=new Uint8Array(n.length);for(const o of e){let r=-1;for(let i=0;i<n.length;i++)if(!s[i]&&It(o,n[i])){r=i;break}if(r<0)return!1;s[r]=1}return!0}function It(e,t){if(e===t)return!0;let n=yr(e),s=yr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=st(e),s=st(t),n||s)return e===t;if(n=G(e),s=G(t),n||s)return n&&s?ia(e,t):!1;if(n=ce(e),s=ce(t),n||s){if(!n||!s)return!1;if(n=Nt(e),s=Nt(t),n||s||(n=en(e),s=en(t),n||s))return n&&s?wr(e,t):!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!It(e[i],t[i]))return!1}}return String(e)===String(t)}function la(e,t){return e.findIndex(n=>It(n,t))}const vi=e=>!!(e&&e.__v_isRef===!0),B=e=>ye(e)?e:e==null?"":G(e)||ce(e)&&(e.toString===hi||!Y(e.toString))?vi(e)?B(e.value):JSON.stringify(e,wi,2):String(e),wi=(e,t)=>vi(t)?wi(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[oo(s,r)+" =>"]=o,n),{})}:en(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>oo(n))}:st(t)?oo(t):ce(t)&&!G(t)&&!gi(t)?String(t):t,oo=(e,t="")=>{var n;return st(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.5.42
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let $e;class aa{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&$e&&($e.active?(this.parent=$e,this.index=($e.scopes||($e.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=$e;try{return $e=this,t()}finally{$e=n}}}on(){++this._on===1&&(this.prevScope=$e,$e=this)}off(){if(this._on>0&&--this._on===0){if($e===this)$e=this.prevScope;else{let t=$e;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(n=0,s=o.length;n<s;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ca(){return $e}let he;const ro=new WeakSet;class Ci{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$e&&($e.active?$e.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ro.has(this)&&(ro.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||_i(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cr(this),xi(this);const t=he,n=nt;he=this,nt=!0;try{return this.fn()}finally{Si(this),he=t,nt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)qo(t);this.deps=this.depsTail=void 0,Cr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ro.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xo(this)&&this.run()}get dirty(){return xo(this)}}let bi=0,On,Rn;function _i(e,t=!1){if(e.flags|=8,t){e.next=Rn,Rn=e;return}e.next=On,On=e}function jo(){bi++}function Ko(){if(--bi>0)return;if(Rn){let t=Rn;for(Rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;On;){let t=On;for(On=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Si(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),qo(s),ua(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function xo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ti(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ti(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fn)||(e.globalVersion=Fn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xo(e))))return;e.flags|=2;const t=e.dep,n=he,s=nt;he=e,nt=!0;try{xi(e);const o=e.fn(e._value);(t.version===0||Ee(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{he=n,nt=s,Si(e),e.flags&=-3}}function qo(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)qo(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ua(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nt=!0;const Li=[];function Lt(){Li.push(nt),nt=!1}function Pt(){const e=Li.pop();nt=e===void 0?!0:e}function Cr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let Fn=0;class fa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class zs{constructor(t){this.computed=t,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(t){if(!he||!nt||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new fa(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Pi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=s)}return n}trigger(t){this.version++,Fn++,this.notify(t)}notify(t){jo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ko()}}}function Pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Pi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const So=new WeakMap,Xt=Symbol(""),To=Symbol(""),Bn=Symbol("");function Ne(e,t,n){if(nt&&he){let s=So.get(e);s||So.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new zs),o.map=s,o.key=n),o.track()}}function xt(e,t,n,s,o,r){const i=So.get(e);if(!i){Fn++;return}const l=a=>{a&&a.trigger()};if(jo(),t==="clear")i.forEach(l);else{const a=G(e),u=a&&Go(n);if(a&&n==="length"){const c=Number(s);i.forEach((h,y)=>{(y==="length"||y===Bn||!st(y)&&y>=c)&&l(h)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Bn)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Xt)),Nt(e)&&l(i.get(To)));break;case"delete":a||(l(i.get(Xt)),Nt(e)&&l(i.get(To)));break;case"set":Nt(e)&&l(i.get(Xt));break}}Ko()}function on(e){const t=oe(e);return t===e?t:(Ne(t,"iterate",Bn),Ye(e)?t:t.map(ot))}function Zs(e){return Ne(e=oe(e),"iterate",Bn),e}function pt(e,t){return At(e)?dn(Qt(e)?ot(t):t):ot(t)}const da={__proto__:null,[Symbol.iterator](){return io(this,Symbol.iterator,e=>pt(this,e))},concat(...e){return on(this).concat(...e.map(t=>G(t)?on(t):t))},entries(){return io(this,"entries",e=>(e[1]=pt(this,e[1]),e))},every(e,t){return wt(this,"every",e,t,void 0,arguments)},filter(e,t){return wt(this,"filter",e,t,n=>n.map(s=>pt(this,s)),arguments)},find(e,t){return wt(this,"find",e,t,n=>pt(this,n),arguments)},findIndex(e,t){return wt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return wt(this,"findLast",e,t,n=>pt(this,n),arguments)},findLastIndex(e,t){return wt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return wt(this,"forEach",e,t,void 0,arguments)},includes(...e){return lo(this,"includes",e)},indexOf(...e){return lo(this,"indexOf",e)},join(e){return on(this).join(e)},lastIndexOf(...e){return lo(this,"lastIndexOf",e)},map(e,t){return wt(this,"map",e,t,void 0,arguments)},pop(){return _n(this,"pop")},push(...e){return _n(this,"push",e)},reduce(e,...t){return br(this,"reduce",e,t)},reduceRight(e,...t){return br(this,"reduceRight",e,t)},shift(){return _n(this,"shift")},some(e,t){return wt(this,"some",e,t,void 0,arguments)},splice(...e){return _n(this,"splice",e)},toReversed(){return on(this).toReversed()},toSorted(e){return on(this).toSorted(e)},toSpliced(...e){return on(this).toSpliced(...e)},unshift(...e){return _n(this,"unshift",e)},values(){return io(this,"values",e=>pt(this,e))}};function io(e,t,n){const s=Zs(e),o=s[t]();return s!==e&&!Ye(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const pa=Array.prototype;function wt(e,t,n,s,o,r){const i=Zs(e),l=i!==e&&!Ye(e),a=i[t];if(a!==pa[t]){const h=a.apply(e,r);return l?ot(h):h}let u=n;i!==e&&(l?u=function(h,y){return n.call(this,pt(e,h),y,e)}:n.length>2&&(u=function(h,y){return n.call(this,h,y,e)}));const c=a.call(i,u,s);return l&&o?o(c):c}function br(e,t,n,s){const o=Zs(e),r=o!==e&&!Ye(e);let i=n,l=!1;o!==e&&(r?(l=s.length===0,i=function(u,c,h){return l&&(l=!1,u=pt(e,u)),n.call(this,u,pt(e,c),h,e)}):n.length>3&&(i=function(u,c,h){return n.call(this,u,c,h,e)}));const a=o[t](i,...s);return l?pt(e,a):a}function lo(e,t,n){const s=oe(e);Ne(s,"iterate",Bn);const o=s[t](...n);return(o===-1||o===!1)&&Yo(n[0])?(n[0]=oe(n[0]),s[t](...n)):o}function _n(e,t,n=[]){Lt(),jo();const s=oe(e)[t].apply(e,n);return Ko(),Pt(),s}const ha=zo("__proto__,__v_isRef,__isVue"),Ai=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(st));function ga(e){st(e)||(e=String(e));const t=oe(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Ta:Ri:r?Oi:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=G(t);if(!o){let a;if(i&&(a=da[n]))return a;if(n==="hasOwnProperty")return ga}const l=Reflect.get(t,n,ke(t)?t:s);if((st(n)?Ai.has(n):ha(n))||(o||Ne(t,"get",n),r))return l;if(ke(l)){const a=i&&Go(n)?l:l.value;return o&&ce(a)?Po(a):a}return ce(l)?o?Po(l):Gs(l):l}}class $i extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=G(t)&&Go(n);if(!this._isShallow){const u=At(r);if(!Ye(s)&&!At(s)&&(r=oe(r),s=oe(s)),!i&&ke(r)&&!ke(s))return u||(r.value=s),!0}const l=i?Number(n)<t.length:ae(t,n),a=Reflect.set(t,n,s,ke(t)?t:o);return t===oe(o)&&a&&(l?Ee(s,r)&&xt(t,"set",n,s):xt(t,"add",n,s)),a}deleteProperty(t,n){const s=ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&xt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!st(n)||!Ai.has(n))&&Ne(t,"has",n),s}ownKeys(t){return Ne(t,"iterate",G(t)?"length":Xt),Reflect.ownKeys(t)}}class ma extends Mi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ya=new $i,va=new ma,wa=new $i(!0);const Lo=e=>e,ns=e=>Reflect.getPrototypeOf(e);function Ca(e,t,n){return function(...s){const o=this.__v_raw,r=oe(o),i=Nt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...s),c=n?Lo:t?dn:ot;return!t&&Ne(r,"iterate",a?To:Xt),Ce(Object.create(u),{next(){const{value:h,done:y}=u.next();return y?{value:h,done:y}:{value:l?[c(h[0]),c(h[1])]:c(h),done:y}}})}}function ss(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ba(e,t){const n={get(o){const r=this.__v_raw,i=oe(r),l=oe(o);e||(Ee(o,l)&&Ne(i,"get",o),Ne(i,"get",l));const{has:a}=ns(i),u=t?Lo:e?dn:ot;if(a.call(i,o))return u(r.get(o));if(a.call(i,l))return u(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Ne(oe(o),"iterate",Xt),o.size},has(o){const r=this.__v_raw,i=oe(r),l=oe(o);return e||(Ee(o,l)&&Ne(i,"has",o),Ne(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,a=oe(l),u=t?Lo:e?dn:ot;return!e&&Ne(a,"iterate",Xt),l.forEach((c,h)=>o.call(r,u(c),u(h),i))}};return Ce(n,e?{add:ss("add"),set:ss("set"),delete:ss("delete"),clear:ss("clear")}:{add(o){const r=oe(this),i=ns(r),l=oe(o),a=!t&&!Ye(o)&&!At(o)?l:o;return i.has.call(r,a)||Ee(o,a)&&i.has.call(r,o)||Ee(l,a)&&i.has.call(r,l)||(r.add(a),xt(r,"add",a,a)),this},set(o,r){!t&&!Ye(r)&&!At(r)&&(r=oe(r));const i=oe(this),{has:l,get:a}=ns(i);let u=l.call(i,o);u||(o=oe(o),u=l.call(i,o));const c=a.call(i,o);return i.set(o,r),u?Ee(r,c)&&xt(i,"set",o,r):xt(i,"add",o,r),this},delete(o){const r=oe(this),{has:i,get:l}=ns(r);let a=i.call(r,o);a||(o=oe(o),a=i.call(r,o)),l&&l.call(r,o);const u=r.delete(o);return a&&xt(r,"delete",o,void 0),u},clear(){const o=oe(this),r=o.size!==0,i=o.clear();return r&&xt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Ca(o,e,t)}),n}function Wo(e,t){const n=ba(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ae(n,o)&&o in s?n:s,o,r)}const _a={get:Wo(!1,!1)},xa={get:Wo(!1,!0)},Sa={get:Wo(!0,!1)};const Ei=new WeakMap,Oi=new WeakMap,Ri=new WeakMap,Ta=new WeakMap;function La(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gs(e){return At(e)?e:Jo(e,!1,ya,_a,Ei)}function Hi(e){return Jo(e,!1,wa,xa,Oi)}function Po(e){return Jo(e,!0,va,Sa,Ri)}function Jo(e,t,n,s,o){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=o.get(e);if(r)return r;const i=La(Jl(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Qt(e){return At(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function Yo(e){return e?!!e.__v_raw:!1}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function Pa(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const ot=e=>ce(e)?Gs(e):e,dn=e=>ce(e)?Po(e):e;function ke(e){return e?e.__v_isRef===!0:!1}function Fe(e){return Aa(e,!1)}function Aa(e,t){return ke(e)?e:new Ma(e,t)}class Ma{constructor(t,n){this.dep=new zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:oe(t),this._value=n?t:ot(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ye(t)||At(t);t=s?t:oe(t),Ee(t,n)&&(this._rawValue=t,this._value=s?t:ot(t),this.dep.trigger())}}function g(e){return ke(e)?e.value:e}const $a={get:(e,t,n)=>t==="__v_raw"?e:g(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return ke(o)&&!ke(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Di(e){return Qt(e)?e:new Proxy(e,$a)}class Ea{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new zs,{get:s,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Oa(e){return new Ea(e)}class Ra{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return _i(this,!0),!0}get value(){const t=this.dep.track();return Ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ha(e,t,n=!1){let s,o;return Y(e)?s=e:(s=e.get,o=e.set),new Ra(s,o,n)}const os={},Cs=new WeakMap;let jt;function Da(e,t=!1,n=jt){if(n){let s=Cs.get(n);s||Cs.set(n,s=[]),s.push(e)}}function Na(e,t,n=re){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:l,call:a}=n,u=E=>o?E:Ye(E)||o===!1||o===0?St(E,1):St(E);let c,h,y,m,w=!1,v=!1;if(ke(e)?(h=()=>e.value,w=Ye(e)):Qt(e)?(h=()=>u(e),w=!0):G(e)?(v=!0,w=e.some(E=>Qt(E)||Ye(E)),h=()=>e.map(E=>{if(ke(E))return E.value;if(Qt(E))return u(E);if(Y(E))return a?a(E,2):E()})):Y(e)?t?h=a?()=>a(e,2):e:h=()=>{if(y){Lt();try{y()}finally{Pt()}}const E=jt;jt=c;try{return a?a(e,3,[m]):e(m)}finally{jt=E}}:h=yt,t&&o){const E=h,R=o===!0?1/0:o;h=()=>St(E(),R)}const A=ca(),S=()=>{c.stop(),A&&A.active&&Zo(A.effects,c)};if(r&&t){const E=t;t=(...R)=>{const N=E(...R);return S(),N}}let x=v?new Array(e.length).fill(os):os;const F=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const R=c.run();if(E||o||w||(v?R.some((N,$)=>Ee(N,x[$])):Ee(R,x))){y&&y();const N=jt;jt=c;try{const $=[R,x===os?void 0:v&&x[0]===os?[]:x,m];x=R,a?a(t,3,$):t(...$)}finally{jt=N}}}else c.run()};return l&&l(F),c=new Ci(h),c.scheduler=i?()=>i(F,!1):F,m=E=>Da(E,!1,c),y=c.onStop=()=>{const E=Cs.get(c);if(E){if(a)a(E,4);else for(const R of E)R();Cs.delete(c)}},t?s?F(!0):x=c.run():i?i(F.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function St(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ke(e))St(e.value,t,n);else if(G(e))for(let s=0;s<e.length;s++)St(e[s],t,n);else if(en(e)||Nt(e))e.forEach(s=>{St(s,t,n)});else if(gi(e)){for(const s in e)St(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&St(e[s],t,n)}return e}/**
11
+ * @vue/runtime-core v3.5.42
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function Wn(e,t,n,s){try{return s?e(...s):e()}catch(o){Jn(o,t,n)}}function Xe(e,t,n,s){if(Y(e)){const o=Wn(e,t,n,s);return o&&pi(o)&&o.catch(r=>{Jn(r,t,n)}),o}if(G(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Xe(e[r],t,n,s));return o}}function Jn(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||re;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](e,a,u)===!1)return}l=l.parent}if(r){Lt(),Wn(r,null,10,[e,a,u]),Pt();return}}Va(e,n,o,s,i)}function Va(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const ze=[];let dt=-1;const cn=[];let Ht=null,rn=0;const Ni=Promise.resolve();let bs=null;function _s(e){const t=bs||Ni;return e?t.then(this?e.bind(this):e):t}function Ia(e){let t=dt+1,n=ze.length;for(;t<n;){const s=t+n>>>1,o=ze[s],r=Un(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Xo(e){if(!(e.flags&1)){const t=Un(e),n=ze[ze.length-1];!n||!(e.flags&2)&&t>=Un(n)?ze.push(e):ze.splice(Ia(t),0,e),e.flags|=1,Vi()}}function Vi(){bs||(bs=Ni.then(ki))}function ka(e){if(!G(e))Ht&&e.id===-1?Ht.splice(rn+1,0,e):e.flags&1||(cn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)cn.push(e[t]);Vi()}function _r(e,t,n=dt+1){for(;n<ze.length;n++){const s=ze[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ze.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ii(e){if(cn.length){const t=[...new Set(cn)].sort((n,s)=>Un(n)-Un(s));if(cn.length=0,Ht){for(let n=0;n<t.length;n++)Ht.push(t[n]);return}for(Ht=t,rn=0;rn<Ht.length;rn++){const n=Ht[rn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ht=null,rn=0}}const Un=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ki(e){try{for(dt=0;dt<ze.length;dt++){const t=ze[dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Wn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;dt<ze.length;dt++){const t=ze[dt];t&&(t.flags&=-2)}dt=-1,ze.length=0,Ii(),bs=null,(ze.length||cn.length)&&ki()}}let He=null,Fi=null;function xs(e){const t=He;return He=e,Fi=e&&e.type.__scopeId||null,t}function mn(e,t=He,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&As(-1);const r=xs(t),i=Tt.length;let l;try{l=e(...o)}finally{for(let a=Tt.length;a>i;a--)rr();xs(r),s._d&&As(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Fa(e,t){if(He===null)return e;const n=Ys(He),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,l,a=re]=t[o];r&&(Y(r)&&(r={mounted:r,updated:r}),r.deep&&St(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function zt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let a=l.dir[s];a&&(Lt(),Xe(a,n,8,[e.el,l,e,t]),Pt())}}function Ba(e,t){if(Re){let n=Re.provides;const s=Re.parent&&Re.parent.provides;s===n&&(n=Re.provides=Object.create(s)),n[e]=t}}function gs(e,t,n=!1){const s=Xn();if(s||fn){let o=fn?fn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Y(t)?t.call(s&&s.proxy):t}}const Ua=Symbol.for("v-scx"),za=()=>gs(Ua);function Za(e,t){return Qo(e,null,{flush:"sync"})}function Vt(e,t,n){return Qo(e,t,n)}function Qo(e,t,n=re){const{immediate:s,deep:o,flush:r,once:i}=n,l=Ce({},n),a=t&&s||!t&&r!=="post";let u;if(hn){if(r==="sync"){const m=za();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=yt,m.resume=yt,m.pause=yt,m}}const c=Re;l.call=(m,w,v)=>Xe(m,c,w,v);let h=!1;r==="post"?l.scheduler=m=>{Ue(m,c&&c.suspense)}:r!=="sync"&&(h=!0,l.scheduler=(m,w)=>{w?m():Xo(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const y=Na(e,t,l);return hn&&(u?u.push(y):a&&y()),y}function Ga(e,t,n){const s=this.proxy,o=ye(e)?e.includes(".")?Bi(s,e):()=>s[e]:e.bind(s,s);let r;Y(t)?r=t:(r=t.handler,n=t);const i=Qn(this),l=Qo(o,r.bind(s),n);return i(),l}function Bi(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const Ot=new WeakMap,Ui=Symbol("_vte"),js=e=>e.__isTeleport,qt=e=>e&&(e.disabled||e.disabled===""),ja=e=>e&&(e.defer||e.defer===""),xr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ao=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},Ka={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,l,a,u){const{mc:c,pc:h,pbc:y,o:{insert:m,querySelector:w,createText:v,createComment:A,parentNode:S}}=u,x=qt(t.props);let{dynamicChildren:F}=t;const E=($,ee,Z)=>{$.shapeFlag&16&&c($.children,ee,Z,o,r,i,l,a)},R=($=t)=>{const ee=qt($.props),Z=$.target=Ao($.props,w),te=Mo(Z,$,v,m);Z&&(i!=="svg"&&xr(Z)?i="svg":i!=="mathml"&&Sr(Z)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(Z),ee||(E($,Z,te),An($,!1)))},N=$=>{const ee=()=>{if(Ot.get($)===ee){if(Ot.delete($),qt($.props)){const Z=S($.el)||n;E($,Z,$.anchor),An($,!0)}R($)}};Ot.set($,ee),Ue(ee,r)};if(e==null){const $=t.el=v(""),ee=t.anchor=v("");if(m($,n,s),m(ee,n,s),ja(t.props)||r&&r.pendingBranch){N(t);return}x&&(E(t,n,ee),An(t,!0)),R()}else{t.el=e.el;const $=t.anchor=e.anchor,ee=Ot.get(e);if(ee){ee.flags|=8,Ot.delete(e),N(t);return}t.targetStart=e.targetStart;const Z=t.target=e.target,te=t.targetAnchor=e.targetAnchor,le=qt(e.props),I=le?n:Z,de=le?$:te;if(i==="svg"||xr(Z)?i="svg":(i==="mathml"||Sr(Z))&&(i="mathml"),F?(y(e.dynamicChildren,F,I,o,r,i,l),or(e,t,!0)):a||h(e,t,I,de,o,r,i,l,!1),x)le?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rs(t,n,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const be=Ao(t.props,w);be&&(t.target=be,rs(t,be,null,u,0))}else le&&rs(t,Z,te,u,1);An(t,x)}},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:h,props:y}=e,m=qt(y),w=r||!m,v=Ot.get(e);if(v&&(v.flags|=8,Ot.delete(e)),h&&(o(u),o(c)),r&&o(a),!v&&(m||h)&&i&16)for(let A=0;A<l.length;A++){const S=l[A];s(S,t,n,w,!!S.dynamicChildren)}},move:rs,hydrate:qa};function rs(e,t,n,{o:{insert:s},m:o},r=2){r===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,h=r===2;if(h&&s(i,t,n),!Ot.has(e)&&(!h||qt(c))&&a&16)for(let y=0;y<u.length;y++)o(u[y],t,n,2);h&&s(l,t,n)}function qa(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},h){function y(A,S){let x=S;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,A._lpa=t.targetAnchor&&i(t.targetAnchor);break}}x=i(x)}}function m(A,S){S.anchor=h(i(A),S,l(A),n,s,o,r)}const w=t.target=Ao(t.props,a),v=qt(t.props);if(w){const A=w._lpa||w.firstChild;t.shapeFlag&16&&(v?(m(e,t),y(w,A),t.targetAnchor||Mo(w,t,c,u,l(e)===w?e:null)):(t.anchor=i(e),y(w,A),t.targetAnchor||Mo(w,t,c,u),h(A&&i(A),t,w,n,s,o,r))),An(t,v)}else v&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const zi=Ka;function An(e,t){const n=e.ctx;if(n&&n.ut){let s,o;for(t?(s=e.el,o=e.anchor):(s=e.targetStart,o=e.targetAnchor);s&&s!==o;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Mo(e,t,n,s,o=null){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[Ui]=i,e&&(s(r,e,o),s(i,e,o)),i}const We=Symbol("_leaveCb"),xn=Symbol("_enterCb");function Zi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qs(()=>{e.isMounted=!0}),Xi(()=>{e.isUnmounting=!0}),e}const qe=[Function,Array],Gi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qe,onEnter:qe,onAfterEnter:qe,onEnterCancelled:qe,onBeforeLeave:qe,onLeave:qe,onAfterLeave:qe,onLeaveCancelled:qe,onBeforeAppear:qe,onAppear:qe,onAfterAppear:qe,onAppearCancelled:qe},ji=e=>{const t=e.subTree;return t.component?ji(t.component):t},Wa={name:"BaseTransition",props:Gi,setup(e,{slots:t}){const n=Xn(),s=Zi();return()=>{const o=t.default&&er(t.default(),!0),r=o&&o.length?Ki(o):n.subTree?Te():void 0;if(!r)return;const i=oe(e),{mode:l}=i;if(s.isLeaving)return ao(r);const a=Ss(r);if(!a)return ao(r);let u=zn(a,i,s,n,h=>u=h);a.type!==Ve&&tn(a,u);let c=n.subTree&&Ss(n.subTree);if(c&&c.type!==Ve&&!Wt(c,a)&&ji(n).type!==Ve){let h=zn(c,i,s,n);if(tn(c,h),l==="out-in"&&a.type!==Ve)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,c=void 0},ao(r);l==="in-out"&&a.type!==Ve?h.delayLeave=(y,m,w)=>{const v=qi(s,c);v[String(c.key)]=c,y[We]=()=>{m(),y[We]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Ki(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const Ja=Wa;function qi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function zn(e,t,n,s,o){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:y,onLeave:m,onAfterLeave:w,onLeaveCancelled:v,onBeforeAppear:A,onAppear:S,onAfterAppear:x,onAppearCancelled:F}=t,E=String(e.key),R=qi(n,e),N=(Z,te)=>{Z&&Xe(Z,s,9,te)},$=(Z,te)=>{const le=te[1];N(Z,te),G(Z)?Z.every(I=>I.length<=1)&&le():Z.length<=1&&le()},ee={mode:i,persisted:l,beforeEnter(Z){let te=a;if(!n.isMounted)if(r)te=A||a;else return;Z[We]&&Z[We](!0);const le=R[E];le&&Wt(e,le)&&le.el[We]&&le.el[We](),N(te,[Z])},enter(Z){if(R[E]===e)return;let te=u,le=c,I=h;if(!n.isMounted)if(r)te=S||u,le=x||c,I=F||h;else return;let de=!1;Z[xn]=vt=>{de||(de=!0,vt?N(I,[Z]):N(le,[Z]),ee.delayedLeave&&ee.delayedLeave(),Z[xn]=void 0)};const be=Z[xn].bind(null,!1);te?$(te,[Z,be]):be()},leave(Z,te){const le=String(e.key);if(Z[xn]&&Z[xn](!0),n.isUnmounting)return te();N(y,[Z]);let I=!1;Z[We]=be=>{I||(I=!0,te(),be?N(v,[Z]):N(w,[Z]),Z[We]=void 0,R[le]===e&&delete R[le])};const de=Z[We].bind(null,!1);R[le]=e,m?$(m,[Z,de]):de()},clone(Z){const te=zn(Z,t,n,s,o);return o&&o(te),te}};return ee}function ao(e){if(Yn(e))return e=kt(e),e.children=null,e}function Ss(e){if(!Yn(e))return js(e.type)&&e.children?Ki(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Y(n.default))return n.default()}}function tn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;tn(js(n.type)&&Ss(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function er(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===ie?(i.patchFlag&128&&o++,s=s.concat(er(i.children,t,l))):(t||i.type!==Ve)&&s.push(l!=null?kt(i,{key:l}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function W(e,t){return Y(e)?Ce({name:e.name},t,{setup:e}):e}function Wi(){const e=Xn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function tr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Tr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ts=new WeakMap;function Hn(e,t,n,s,o=!1){if(G(e)){e.forEach((v,A)=>Hn(v,t&&(G(t)?t[A]:t),n,s,o));return}if(un(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Hn(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?Ys(s.component):s.el,i=o?null:r,{i:l,r:a}=e,u=t&&t.r,c=l.refs===re?l.refs={}:l.refs,h=l.setupState,y=oe(h),m=h===re?di:v=>Tr(c,v)?!1:ae(y,v),w=(v,A)=>!(A&&Tr(c,A));if(u!=null&&u!==a){if(Lr(t),ye(u))c[u]=null,m(u)&&(h[u]=null);else if(ke(u)){const v=t;w(u,v.k)&&(u.value=null),v.k&&(c[v.k]=null)}}if(Y(a))Wn(a,l,12,[i,c]);else{const v=ye(a),A=ke(a);if(v||A){const S=()=>{if(e.f){const x=v?m(a)?h[a]:c[a]:w()||!e.k?a.value:c[e.k];if(o)G(x)&&Zo(x,r);else if(G(x))x.includes(r)||x.push(r);else if(v)c[a]=[r],m(a)&&(h[a]=c[a]);else{const F=[r];w(a,e.k)&&(a.value=F),e.k&&(c[e.k]=F)}}else v?(c[a]=i,m(a)&&(h[a]=i)):A&&(w(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const x=()=>{S(),Ts.delete(e)};x.id=-1,Ts.set(e,x),Ue(x,n)}else Lr(e),S()}}}function Lr(e){const t=Ts.get(e);t&&(t.flags|=8,Ts.delete(e))}const Pr=e=>e.nodeType===8;Bs().requestIdleCallback;Bs().cancelIdleCallback;function Ya(e,t){if(Pr(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Pr(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const un=e=>!!e.type.__asyncLoader;function Sn(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,hydrate:r,timeout:i,suspensible:l=!0,onError:a}=e;let u=null,c,h=0;const y=()=>(h++,u=null,m()),m=()=>{let w;return u||(w=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),a)return new Promise((A,S)=>{a(v,()=>A(y()),()=>S(v),h+1)});throw v}).then(v=>w!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return W({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(w,v,A){const S=w.isConnected;let x=!1;(v.bu||(v.bu=[])).push(()=>x=!0);const F=()=>{x||!w.parentNode||S&&!w.isConnected||A()},E=r?()=>{const R=r(F,N=>Ya(w,N));R&&(v.bum||(v.bum=[])).push(R)}:F;c?E():m().then(()=>!v.isUnmounted&&E())},get __asyncResolved(){return c},setup(){const w=Re;if(tr(w),c)return()=>is(c,w);const v=R=>{u=null,Jn(R,w,13,!s)};if(l&&w.suspense||hn)return m().then(R=>()=>is(R,w)).catch(R=>(v(R),()=>s?X(s,{error:R}):null));const A=Fe(!1),S=Fe(),x=Fe(!!o);let F,E;return yn(()=>{F!=null&&clearTimeout(F),E!=null&&clearTimeout(E)}),o&&(E=setTimeout(()=>{w.isUnmounted||(x.value=!1)},o)),i!=null&&(F=setTimeout(()=>{if(!w.isUnmounted&&!A.value&&!S.value){const R=new Error(`Async component timed out after ${i}ms.`);v(R),S.value=R}},i)),m().then(()=>{w.isUnmounted||(A.value=!0,w.parent&&Yn(w.parent.vnode)&&w.parent.update())}).catch(R=>{if(w.isUnmounted){u=null;return}v(R),S.value=R}),()=>{if(A.value&&c)return is(c,w);if(S.value&&s)return X(s,{error:S.value});if(n&&!x.value)return is(n,w)}}})}function is(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=X(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Yn=e=>e.type.__isKeepAlive;function Xa(e,t){Ji(e,"a",t)}function Qa(e,t){Ji(e,"da",t)}function Ji(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ks(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Yn(o.parent.vnode)&&ec(s,t,n,o),o=o.parent}}function ec(e,t,n,s){const o=Ks(t,e,s,!0);yn(()=>{Zo(s[t],o)},n)}function Ks(e,t,n=Re,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Lt();const l=Qn(n),a=Xe(t,n,e,i);return l(),Pt(),a});return s?o.unshift(r):o.push(r),r}}const $t=e=>(t,n=Re)=>{(!hn||e==="sp")&&Ks(e,(...s)=>t(...s),n)},tc=$t("bm"),qs=$t("m"),nc=$t("bu"),Yi=$t("u"),Xi=$t("bum"),yn=$t("um"),sc=$t("sp"),oc=$t("rtg"),rc=$t("rtc");function ic(e,t=Re){Ks("ec",e,t)}const lc="components",Qi=Symbol.for("v-ndc");function el(e){return ye(e)?ac(lc,e,!1)||e:e||Qi}function ac(e,t,n=!0,s=!1){const o=He||Re;if(o){const r=o.type;{const l=Gc(r,!1);if(l&&(l===t||l===Ie(t)||l===ks(Ie(t))))return r}const i=Ar(o[e]||r[e],t)||Ar(o.appContext[e],t);return!i&&s?r:i}}function Ar(e,t){return e&&(e[t]||e[Ie(t)]||e[ks(Ie(t))])}function nn(e,t,n,s){let o;const r=n,i=G(e);if(i||ye(e)){const l=i&&Qt(e);let a=!1,u=!1;l&&(a=!Ye(e),u=At(e),e=Zs(e)),o=new Array(e.length);for(let c=0,h=e.length;c<h;c++)o[c]=t(a?u?dn(ot(e[c])):ot(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,r)}else if(ce(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];o[a]=t(e[c],c,a,r)}}else o=[];return o}function cc(e,t,n,s,o,r){if(n==null&&(n={}),He.ce||He.parent&&un(He.parent)&&He.parent.ce){const u=n,c=Object.keys(u).length>0;return t!=="default"&&(u.name=t),U(),Oe(ie,null,[X("slot",u,s)],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=Tt.length;U();let a;try{const u=i&&tl(i(n)),c=n.key||r||u&&u.key;a=Oe(ie,{key:(c&&!st(c)?c:`_${t}`)+(!u&&s?"_fb":"")},u||(s?s():[]),u&&e._===1?64:-2)}catch(u){for(let c=Tt.length;c>l;c--)rr();throw u}finally{i&&i._c&&(i._d=!0)}return a}function tl(e){return e.some(t=>pn(t)?!(t.type===Ve||t.type===ie&&!tl(t.children)):!0)?e:null}const $o=e=>e?bl(e)?Ys(e):$o(e.parent):null,Dn=Ce(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=>$o(e.parent),$root:e=>$o(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sl(e),$forceUpdate:e=>e.f||(e.f=()=>{Xo(e.update)}),$nextTick:e=>e.n||(e.n=_s.bind(e.proxy)),$watch:e=>Ga.bind(e)}),co=(e,t)=>e!==re&&!e.__isScriptSetup&&ae(e,t),uc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(co(s,t))return i[t]=1,s[t];if(o!==re&&ae(o,t))return i[t]=2,o[t];if(ae(r,t))return i[t]=3,r[t];if(n!==re&&ae(n,t))return i[t]=4,n[t];Eo&&(i[t]=0)}}const u=Dn[t];let c,h;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==re&&ae(n,t))return i[t]=4,n[t];if(h=a.config.globalProperties,ae(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return co(o,t)?(o[t]=n,!0):s!==re&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},l){let a;return!!(n[l]||e!==re&&l[0]!=="$"&&ae(e,l)||co(t,l)||ae(r,l)||ae(s,l)||ae(Dn,l)||ae(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ls(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function uh(e,t){return!e||!t?e||t:G(e)&&G(t)?e.concat(t):Ce({},Ls(e),Ls(t))}let Eo=!0;function fc(e){const t=sl(e),n=e.proxy,s=e.ctx;Eo=!1,t.beforeCreate&&Mr(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:h,mounted:y,beforeUpdate:m,updated:w,activated:v,deactivated:A,beforeDestroy:S,beforeUnmount:x,destroyed:F,unmounted:E,render:R,renderTracked:N,renderTriggered:$,errorCaptured:ee,serverPrefetch:Z,expose:te,inheritAttrs:le,components:I,directives:de,filters:be}=t;if(u&&dc(u,s,null),i)for(const ve in i){const pe=i[ve];Y(pe)&&(s[ve]=pe.bind(n))}if(o){const ve=o.call(n,n);ce(ve)&&(e.data=Gs(ve))}if(Eo=!0,r)for(const ve in r){const pe=r[ve],Bt=Y(pe)?pe.bind(n,n):Y(pe.get)?pe.get.bind(n,n):yt,es=!Y(pe)&&Y(pe.set)?pe.set.bind(n):yt,Ut=Q({get:Bt,set:es});Object.defineProperty(s,ve,{enumerable:!0,configurable:!0,get:()=>Ut.value,set:rt=>Ut.value=rt})}if(l)for(const ve in l)nl(l[ve],s,n,ve);if(a){const ve=Y(a)?a.call(n):a;Reflect.ownKeys(ve).forEach(pe=>{Ba(pe,ve[pe])})}c&&Mr(c,e,"c");function Le(ve,pe){G(pe)?pe.forEach(Bt=>ve(Bt.bind(n))):pe&&ve(pe.bind(n))}if(Le(tc,h),Le(qs,y),Le(nc,m),Le(Yi,w),Le(Xa,v),Le(Qa,A),Le(ic,ee),Le(rc,N),Le(oc,$),Le(Xi,x),Le(yn,E),Le(sc,Z),G(te))if(te.length){const ve=e.exposed||(e.exposed={});te.forEach(pe=>{Object.defineProperty(ve,pe,{get:()=>n[pe],set:Bt=>n[pe]=Bt,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===yt&&(e.render=R),le!=null&&(e.inheritAttrs=le),I&&(e.components=I),de&&(e.directives=de),Z&&tr(e)}function dc(e,t,n=yt){G(e)&&(e=Oo(e));for(const s in e){const o=e[s];let r;ce(o)?"default"in o?r=gs(o.from||s,o.default,!0):r=gs(o.from||s):r=gs(o),ke(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Mr(e,t,n){Xe(G(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function nl(e,t,n,s){let o=s.includes(".")?Bi(n,s):()=>n[s];if(ye(e)){const r=t[e];Y(r)&&Vt(o,r)}else if(Y(e))Vt(o,e.bind(n));else if(ce(e))if(G(e))e.forEach(r=>nl(r,t,n,s));else{const r=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(r)&&Vt(o,r,e)}}function sl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(u=>Ps(a,u,i,!0)),Ps(a,t,i)),ce(t)&&r.set(t,a),a}function Ps(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Ps(e,r,n,!0),o&&o.forEach(i=>Ps(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=pc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const pc={data:$r,props:Er,emits:Er,methods:Mn,computed:Mn,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Mn,directives:Mn,watch:gc,provide:$r,inject:hc};function $r(e,t){return t?e?function(){return Ce(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function hc(e,t){return Mn(Oo(e),Oo(t))}function Oo(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Mn(e,t){return e?Ce(Object.create(null),e,t):t}function Er(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:Ce(Object.create(null),Ls(e),Ls(t??{})):t}function gc(e,t){if(!e)return t;if(!t)return e;const n=Ce(Object.create(null),e);for(const s in t)n[s]=Be(e[s],t[s]);return n}function ol(){return{app:null,config:{isNativeTag:di,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}}let mc=0;function yc(e,t){return function(s,o=null){Y(s)||(s=Ce({},s)),o!=null&&!ce(o)&&(o=null);const r=ol(),i=new WeakSet,l=[];let a=!1;const u=r.app={_uid:mc++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:qc,get config(){return r.config},set config(c){},use(c,...h){return i.has(c)||(c&&Y(c.install)?(i.add(c),c.install(u,...h)):Y(c)&&(i.add(c),c(u,...h))),u},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),u},component(c,h){return h?(r.components[c]=h,u):r.components[c]},directive(c,h){return h?(r.directives[c]=h,u):r.directives[c]},mount(c,h,y){if(!a){const m=u._ceVNode||X(s,o);return m.appContext=r,y===!0?y="svg":y===!1&&(y=void 0),e(m,c,y),a=!0,u._container=c,c.__vue_app__=u,Ys(m.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Xe(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,h){return r.provides[c]=h,u},runWithContext(c){const h=fn;fn=u;try{return c()}finally{fn=h}}};return u}}let fn=null;function fh(e,t,n=re){const s=Xn(),o=Ie(t),r=Mt(t),i=rl(e,o),l=Oa((a,u)=>{let c,h=re,y;return Za(()=>{const m=e[o];Ee(c,m)&&(c=m,u())}),{get(){return a(),n.get?n.get(c):c},set(m){const w=n.set?n.set(m):m;if(!Ee(w,c)&&!(h!==re&&Ee(m,h)))return;const v=s.vnode.props,A=!!(v&&(t in v||o in v||r in v)&&(`onUpdate:${t}`in v||`onUpdate:${o}`in v||`onUpdate:${r}`in v));A||(c=m,u()),s.emit(`update:${t}`,w),Ee(m,h)&&(Ee(m,w)&&!Ee(w,y)||A&&h!==re&&!Ee(w,c))&&u(),h=m,y=w}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?i||re:l,done:!1}:{done:!0}}}},l}const rl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||re;let o=n;const r=t.startsWith("update:"),i=r&&rl(s,t.slice(7));i&&(i.trim&&(o=n.map(c=>ye(c)?c.trim():c)),i.number&&(o=o.map(Fs)));let l,a=s[l=so(t)]||s[l=so(Ie(t))];!a&&r&&(a=s[l=so(Mt(t))]),a&&Xe(a,e,6,o);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Xe(u,e,6,o)}}const wc=new WeakMap;function il(e,t,n=!1){const s=n?wc:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!Y(e)){const a=u=>{const c=il(u,t,!0);c&&(l=!0,Ce(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(ce(e)&&s.set(e,null),null):(G(r)?r.forEach(a=>i[a]=null):Ce(i,r),ce(e)&&s.set(e,i),i)}function Ws(e,t){return!e||!Ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,Mt(t))||ae(e,t))}function Or(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:h,data:y,setupState:m,ctx:w,inheritAttrs:v}=e,A=xs(e);let S,x;try{if(n.shapeFlag&4){const E=o||s,R=E;S=ht(u.call(R,E,c,h,m,y,w)),x=l}else{const E=t;S=ht(E.length>1?E(h,{attrs:l,slots:i,emit:a}):E(h,null)),x=t.props?l:Cc(l)}}catch(E){Tt.length=0,Jn(E,e,1),S=X(Ve)}let F=S;if(x&&v!==!1){const E=Object.keys(x),{shapeFlag:R}=F;E.length&&R&7&&(r&&E.some(Vs)&&(x=bc(x,r)),F=kt(F,x,!1,!0))}if(n.dirs&&(F=kt(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition){const E=js(F.type)&&Ss(F)||F;tn(E,n.transition)}return S=F,xs(A),S}const Cc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ns(n))&&((t||(t={}))[n]=e[n]);return t},bc=(e,t)=>{const n={};for(const s in e)(!Vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function _c(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Rr(s,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const y=c[h];if(ll(i,s,y)&&!Ws(u,y))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Rr(s,i,u):!0:!!i;return!1}function Rr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(ll(t,e,r)&&!Ws(n,r))return!0}return!1}function ll(e,t,n){const s=e[n],o=t[n];return n==="style"&&ce(s)&&ce(o)?!It(s,o):s!==o}function xc({vnode:e,parent:t,suspense:n},s){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=s,e=o),o===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const al={},cl=()=>Object.create(al),ul=e=>Object.getPrototypeOf(e)===al;function Sc(e,t,n,s=!1){const o={},r=cl();e.propsDefaults=Object.create(null),fl(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Hi(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Tc(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=oe(o),[a]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let y=c[h];if(Ws(e.emitsOptions,y))continue;const m=t[y];if(a)if(ae(r,y))m!==r[y]&&(r[y]=m,u=!0);else{const w=Ie(y);o[w]=Ro(a,l,w,m,e,!1)}else m!==r[y]&&(r[y]=m,u=!0)}}}else{fl(e,t,o,r)&&(u=!0);let c;for(const h in l)(!t||!ae(t,h)&&((c=Mt(h))===h||!ae(t,c)))&&(a?n&&(n[h]!==void 0||n[c]!==void 0)&&(o[h]=Ro(a,l,h,void 0,e,!0)):delete o[h]);if(r!==l)for(const h in r)(!t||!ae(t,h))&&(delete r[h],u=!0)}u&&xt(e.attrs,"set","")}function fl(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(En(a))continue;const u=t[a];let c;o&&ae(o,c=Ie(a))?!r||!r.includes(c)?n[c]=u:(l||(l={}))[c]=u:Ws(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,i=!0)}if(r){const a=oe(n),u=l||re;for(let c=0;c<r.length;c++){const h=r[c];n[h]=Ro(o,a,h,u[h],e,!ae(u,h))}}return i}function Ro(e,t,n,s,o,r){const i=e[n];if(i!=null){const l=ae(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&Y(a)){const{propsDefaults:u}=o;if(n in u)s=u[n];else{const c=Qn(o);s=u[n]=a.call(null,t),c()}}else s=a;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!l?s=!1:i[1]&&(s===""||s===Mt(n))&&(s=!0))}return s}const Lc=new WeakMap;function dl(e,t,n=!1){const s=n?Lc:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},l=[];let a=!1;if(!Y(e)){const c=h=>{a=!0;const[y,m]=dl(h,t,!0);Ce(i,y),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return ce(e)&&s.set(e,an),an;if(G(r))for(let c=0;c<r.length;c++){const h=Ie(r[c]);Hr(h)&&(i[h]=re)}else if(r)for(const c in r){const h=Ie(c);if(Hr(h)){const y=r[c],m=i[h]=G(y)||Y(y)?{type:y}:Ce({},y),w=m.type;let v=!1,A=!0;if(G(w))for(let S=0;S<w.length;++S){const x=w[S],F=Y(x)&&x.name;if(F==="Boolean"){v=!0;break}else F==="String"&&(A=!1)}else v=Y(w)&&w.name==="Boolean";m[0]=v,m[1]=A,(v||ae(m,"default"))&&l.push(h)}}const u=[i,l];return ce(e)&&s.set(e,u),u}function Hr(e){return e[0]!=="$"&&!En(e)}const nr=e=>e==="_"||e==="_ctx"||e==="$stable",sr=e=>G(e)?e.map(ht):[ht(e)],Pc=(e,t,n)=>{if(t._n)return t;const s=mn((...o)=>sr(t(...o)),n);return s._c=!1,s},pl=(e,t,n)=>{const s=e._ctx;for(const o in e){if(nr(o))continue;const r=e[o];if(Y(r))t[o]=Pc(o,r,s);else if(r!=null){const i=sr(r);t[o]=()=>i}}},hl=(e,t)=>{const n=sr(t);e.slots.default=()=>n},gl=(e,t,n)=>{for(const s in t)(n||!nr(s))&&(e[s]=t[s])},Ac=(e,t,n)=>{const s=e.slots=cl();if(e.vnode.shapeFlag&32){const o=t._;o?(gl(s,t,n),n&&mi(s,"_",o,!0)):pl(t,s)}else t&&hl(e,t)},Mc=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=re;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:gl(o,t,n):(r=!t.$stable,pl(t,o)),i=t}else t&&(hl(e,t),i={default:1});if(r)for(const l in o)!nr(l)&&i[l]==null&&delete o[l]},Ue=Hc;function $c(e){return Ec(e)}function Ec(e,t){const n=Bs();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:h,nextSibling:y,setScopeId:m=yt,insertStaticContent:w}=e,v=(f,p,b,M=null,P=null,T=null,D=void 0,H=null,O=!!p.dynamicChildren)=>{if(f===p)return;f&&!Wt(f,p)&&(M=ts(f),rt(f,P,T,!0),f=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:L,ref:K,shapeFlag:V}=p;switch(L){case Js:A(f,p,b,M);break;case Ve:S(f,p,b,M);break;case fo:f==null&&x(p,b,M,D);break;case ie:I(f,p,b,M,P,T,D,H,O);break;default:V&1?R(f,p,b,M,P,T,D,H,O):V&6?de(f,p,b,M,P,T,D,H,O):(V&64||V&128)&&L.process(f,p,b,M,P,T,D,H,O,Cn)}K!=null&&P?Hn(K,f&&f.ref,T,p||f,!p):K==null&&f&&f.ref!=null&&Hn(f.ref,null,T,f,!0)},A=(f,p,b,M)=>{if(f==null)s(p.el=l(p.children),b,M);else{const P=p.el=f.el;p.children!==f.children&&u(P,p.children)}},S=(f,p,b,M)=>{f==null?s(p.el=a(p.children||""),b,M):p.el=f.el},x=(f,p,b,M)=>{[f.el,f.anchor]=w(f.children,p,b,M,f.el,f.anchor)},F=({el:f,anchor:p},b,M)=>{let P;for(;f&&f!==p;)P=y(f),s(f,b,M),f=P;s(p,b,M)},E=({el:f,anchor:p})=>{let b;for(;f&&f!==p;)b=y(f),o(f),f=b;o(p)},R=(f,p,b,M,P,T,D,H,O)=>{if(p.type==="svg"?D="svg":p.type==="math"&&(D="mathml"),f==null)N(p,b,M,P,T,D,H,O);else{const L=f.el&&f.el._isVueCE?f.el:null;try{L&&L._beginPatch(),Z(f,p,P,T,D,H,O)}finally{L&&L._endPatch()}}},N=(f,p,b,M,P,T,D,H)=>{let O,L;const{props:K,shapeFlag:V,transition:j,dirs:q}=f;if(O=f.el=i(f.type,T,K&&K.is,K),V&8?c(O,f.children):V&16&&ee(f.children,O,null,M,P,uo(f,T),D,H),q&&zt(f,null,M,"created"),$(O,f,f.scopeId,D,M),K){for(const fe in K)fe!=="value"&&!En(fe)&&r(O,fe,null,K[fe],T,M);"value"in K&&r(O,"value",null,K.value,T),(L=K.onVnodeBeforeMount)&&ct(L,M,f)}q&&zt(f,null,M,"beforeMount");const ne=Oc(P,j);ne&&j.beforeEnter(O),s(O,p,b),((L=K&&K.onVnodeMounted)||ne||q)&&Ue(()=>{try{L&&ct(L,M,f),ne&&j.enter(O),q&&zt(f,null,M,"mounted")}finally{}},P)},$=(f,p,b,M,P)=>{if(b&&m(f,b),M)for(let T=0;T<M.length;T++)m(f,M[T]);if(P){let T=P.subTree;if(p===T||vl(T.type)&&(T.ssContent===p||T.ssFallback===p)){const D=P.vnode;$(f,D,D.scopeId,D.slotScopeIds,P.parent)}}},ee=(f,p,b,M,P,T,D,H,O=0)=>{for(let L=O;L<f.length;L++){const K=f[L]=H?_t(f[L]):ht(f[L]);v(null,K,p,b,M,P,T,D,H)}},Z=(f,p,b,M,P,T,D)=>{const H=p.el=f.el;let{patchFlag:O,dynamicChildren:L,dirs:K}=p;O|=f.patchFlag&16;const V=f.props||re,j=p.props||re;let q;if(b&&Zt(b,!1),(q=j.onVnodeBeforeUpdate)&&ct(q,b,p,f),K&&zt(p,f,b,"beforeUpdate"),b&&Zt(b,!0),L&&(!f.dynamicChildren||f.dynamicChildren.length!==L.length)&&(O=0,D=!1,L=null),(V.innerHTML&&j.innerHTML==null||V.textContent&&j.textContent==null)&&c(H,""),L?te(f.dynamicChildren,L,H,b,M,uo(p,P),T):D||pe(f,p,H,null,b,M,uo(p,P),T,!1),O>0){if(O&16)le(H,V,j,b,P);else if(O&2&&V.class!==j.class&&r(H,"class",null,j.class,P),O&4&&r(H,"style",V.style,j.style,P),O&8){const ne=p.dynamicProps;for(let fe=0;fe<ne.length;fe++){const ue=ne[fe],_e=V[ue],Me=j[ue];(Me!==_e||ue==="value")&&r(H,ue,_e,Me,P,b)}}O&1&&f.children!==p.children&&c(H,p.children)}else!D&&L==null&&le(H,V,j,b,P);((q=j.onVnodeUpdated)||K)&&Ue(()=>{q&&ct(q,b,p,f),K&&zt(p,f,b,"updated")},M)},te=(f,p,b,M,P,T,D)=>{for(let H=0;H<p.length;H++){const O=f[H],L=p[H],K=O.el&&(O.type===ie||!Wt(O,L)||O.shapeFlag&198)?h(O.el):b;v(O,L,K,null,M,P,T,D,!0)}},le=(f,p,b,M,P)=>{if(p!==b){if(p!==re)for(const T in p)!En(T)&&!(T in b)&&r(f,T,p[T],null,P,M);for(const T in b){if(En(T))continue;const D=b[T],H=p[T];D!==H&&T!=="value"&&r(f,T,H,D,P,M)}"value"in b&&r(f,"value",p.value,b.value,P)}},I=(f,p,b,M,P,T,D,H,O)=>{const L=p.el=f?f.el:l(""),K=p.anchor=f?f.anchor:l("");let{patchFlag:V,dynamicChildren:j,slotScopeIds:q}=p;q&&(H=H?H.concat(q):q),f==null?(s(L,b,M),s(K,b,M),ee(p.children||[],b,K,P,T,D,H,O)):V>0&&V&64&&j&&f.dynamicChildren&&f.dynamicChildren.length===j.length?(te(f.dynamicChildren,j,b,P,T,D,H),(p.key!=null||P&&p===P.subTree)&&or(f,p,!0)):pe(f,p,b,K,P,T,D,H,O)},de=(f,p,b,M,P,T,D,H,O)=>{p.slotScopeIds=H,f==null?p.shapeFlag&512?P.ctx.activate(p,b,M,D,O):be(p,b,M,P,T,D,O):vt(f,p,O)},be=(f,p,b,M,P,T,D)=>{const H=f.component=Fc(f,M,P);if(Yn(f)&&(H.ctx.renderer=Cn),Bc(H,!1,D),H.asyncDep){if(P&&P.registerDep(H,Le,D),!f.el){const O=H.subTree=X(Ve);S(null,O,p,b),f.placeholder=O.el}}else Le(H,f,p,b,P,T,D)},vt=(f,p,b)=>{const M=p.component=f.component;if(_c(f,p,b))if(M.asyncDep&&!M.asyncResolved){ve(M,p,b);return}else M.next=p,M.update();else p.el=f.el,M.vnode=p},Le=(f,p,b,M,P,T,D)=>{const H=()=>{if(f.isMounted){let{next:V,bu:j,u:q,parent:ne,vnode:fe}=f;{const lt=ml(f);if(lt){V&&(V.el=fe.el,ve(f,V,D)),lt.asyncDep.then(()=>{Ue(()=>{f.isUnmounted||L()},P)});return}}let ue=V,_e;Zt(f,!1),V?(V.el=fe.el,ve(f,V,D)):V=fe,j&&hs(j),(_e=V.props&&V.props.onVnodeBeforeUpdate)&&ct(_e,ne,V,fe),Zt(f,!0);const Me=Or(f),it=f.subTree;f.subTree=Me,v(it,Me,h(it.el),ts(it),f,P,T),V.el=Me.el,ue===null&&xc(f,Me.el),q&&Ue(q,P),(_e=V.props&&V.props.onVnodeUpdated)&&Ue(()=>ct(_e,ne,V,fe),P)}else{let V;const{el:j,props:q}=p,{bm:ne,m:fe,parent:ue,root:_e,type:Me}=f,it=un(p);Zt(f,!1),ne&&hs(ne),!it&&(V=q&&q.onVnodeBeforeMount)&&ct(V,ue,p),Zt(f,!0);{_e.ce&&_e.ce._hasShadowRoot()&&_e.ce._injectChildStyle(Me,f.parent?f.parent.type:void 0);const lt=f.subTree=Or(f);v(null,lt,b,M,f,P,T),p.el=lt.el}if(fe&&Ue(fe,P),!it&&(V=q&&q.onVnodeMounted)){const lt=p;Ue(()=>ct(V,ue,lt),P)}(p.shapeFlag&256||ue&&un(ue.vnode)&&ue.vnode.shapeFlag&256)&&f.a&&Ue(f.a,P),f.isMounted=!0,p=b=M=null}};f.scope.on();const O=f.effect=new Ci(H);f.scope.off();const L=f.update=O.run.bind(O),K=f.job=O.runIfDirty.bind(O);K.i=f,K.id=f.uid,O.scheduler=()=>Xo(K),Zt(f,!0),L()},ve=(f,p,b)=>{p.component=f;const M=f.vnode.props;f.vnode=p,f.next=null,Tc(f,p.props,M,b),Mc(f,p.children,b),Lt(),_r(f),Pt()},pe=(f,p,b,M,P,T,D,H,O=!1)=>{const L=f&&f.children,K=f?f.shapeFlag:0,V=p.children,{patchFlag:j,shapeFlag:q}=p;if(j>0){if(j&128){es(L,V,b,M,P,T,D,H,O);return}else if(j&256){Bt(L,V,b,M,P,T,D,H,O);return}}q&8?(K&16&&wn(L,P,T),V!==L&&c(b,V)):K&16?q&16?es(L,V,b,M,P,T,D,H,O):wn(L,P,T,!0):(K&8&&c(b,""),q&16&&ee(V,b,M,P,T,D,H,O))},Bt=(f,p,b,M,P,T,D,H,O)=>{f=f||an,p=p||an;const L=f.length,K=p.length,V=Math.min(L,K);let j;for(j=0;j<V;j++){const q=p[j]=O?_t(p[j]):ht(p[j]);v(f[j],q,b,null,P,T,D,H,O)}L>K?wn(f,P,T,!0,!1,V):ee(p,b,M,P,T,D,H,O,V)},es=(f,p,b,M,P,T,D,H,O)=>{let L=0;const K=p.length;let V=f.length-1,j=K-1;for(;L<=V&&L<=j;){const q=f[L],ne=p[L]=O?_t(p[L]):ht(p[L]);if(Wt(q,ne))v(q,ne,b,null,P,T,D,H,O);else break;L++}for(;L<=V&&L<=j;){const q=f[V],ne=p[j]=O?_t(p[j]):ht(p[j]);if(Wt(q,ne))v(q,ne,b,null,P,T,D,H,O);else break;V--,j--}if(L>V){if(L<=j){const q=j+1,ne=q<K?p[q].el:M;for(;L<=j;)v(null,p[L]=O?_t(p[L]):ht(p[L]),b,ne,P,T,D,H,O),L++}}else if(L>j)for(;L<=V;)rt(f[L],P,T,!0),L++;else{const q=L,ne=L,fe=new Map;for(L=ne;L<=j;L++){const Ge=p[L]=O?_t(p[L]):ht(p[L]);Ge.key!=null&&fe.set(Ge.key,L)}let ue,_e=0;const Me=j-ne+1;let it=!1,lt=0;const bn=new Array(Me);for(L=0;L<Me;L++)bn[L]=0;for(L=q;L<=V;L++){const Ge=f[L];if(_e>=Me){rt(Ge,P,T,!0);continue}let at;if(Ge.key!=null)at=fe.get(Ge.key);else for(ue=ne;ue<=j;ue++)if(bn[ue-ne]===0&&Wt(Ge,p[ue])){at=ue;break}at===void 0?rt(Ge,P,T,!0):(bn[at-ne]=L+1,at>=lt?lt=at:it=!0,v(Ge,p[at],b,null,P,T,D,H,O),_e++)}const hr=it?Rc(bn):an;for(ue=hr.length-1,L=Me-1;L>=0;L--){const Ge=ne+L,at=p[Ge],gr=p[Ge+1],mr=Ge+1<K?gr.el||yl(gr):M;bn[L]===0?v(null,at,b,mr,P,T,D,H,O):it&&(ue<0||L!==hr[ue]?Ut(at,b,mr,2):ue--)}}},Ut=(f,p,b,M,P=null)=>{const{el:T,type:D,transition:H,children:O,shapeFlag:L}=f;if(L&6){Ut(f.component.subTree,p,b,M);return}if(L&128){f.suspense.move(p,b,M);return}if(L&64){D.move(f,p,b,Cn);return}if(D===ie){s(T,p,b);for(let V=0;V<O.length;V++)Ut(O[V],p,b,M);s(f.anchor,p,b);return}if(D===fo){F(f,p,b);return}if(M!==2&&L&1&&H)if(M===0)H.persisted&&!T[We]?s(T,p,b):(H.beforeEnter(T),s(T,p,b),Ue(()=>H.enter(T),P));else{const{leave:V,delayLeave:j,afterLeave:q}=H,ne=()=>{f.ctx.isUnmounted?o(T):s(T,p,b)},fe=()=>{const ue=T._isLeaving||!!T[We];T._isLeaving&&T[We](!0),H.persisted&&!ue?ne():V(T,()=>{ne(),q&&q()})};j?j(T,ne,fe):fe()}else s(T,p,b)},rt=(f,p,b,M=!1,P=!1)=>{const{type:T,props:D,ref:H,children:O,dynamicChildren:L,shapeFlag:K,patchFlag:V,dirs:j,cacheIndex:q,memo:ne}=f;if(V===-2&&(P=!1),H!=null&&(Lt(),Hn(H,null,b,f,!0),Pt()),q!=null&&(p.renderCache[q]=void 0),K&256){p.ctx.deactivate(f);return}const fe=K&1&&j,ue=!un(f);let _e;if(ue&&(_e=D&&D.onVnodeBeforeUnmount)&&ct(_e,p,f),K&6)ql(f.component,b,M);else{if(K&128){f.suspense.unmount(b,M);return}fe&&zt(f,null,p,"beforeUnmount"),K&64?f.type.remove(f,p,b,Cn,M):L&&!L.hasOnce&&(T!==ie||V>0&&V&64)?wn(L,p,b,!1,!0):(T===ie&&V&384||!P&&K&16)&&wn(O,p,b),M&&dr(f)}const Me=ne!=null&&q==null;(ue&&(_e=D&&D.onVnodeUnmounted)||fe||Me)&&Ue(()=>{_e&&ct(_e,p,f),fe&&zt(f,null,p,"unmounted"),Me&&(f.el=null)},b)},dr=f=>{const{type:p,el:b,anchor:M,transition:P}=f;if(p===ie){Kl(b,M);return}if(p===fo){E(f);return}const T=()=>{o(b),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(f.shapeFlag&1&&P&&!P.persisted){const{leave:D,delayLeave:H}=P,O=()=>D(b,T);H?H(f.el,T,O):O()}else T()},Kl=(f,p)=>{let b;for(;f!==p;)b=y(f),o(f),f=b;o(p)},ql=(f,p,b)=>{const{bum:M,scope:P,job:T,subTree:D,um:H,m:O,a:L}=f;Dr(O),Dr(L),M&&hs(M),P.stop(),T&&(T.flags|=8,rt(D,f,p,b)),H&&Ue(H,p),Ue(()=>{f.isUnmounted=!0},p)},wn=(f,p,b,M=!1,P=!1,T=0)=>{for(let D=T;D<f.length;D++)rt(f[D],p,b,M,P)},ts=f=>{if(f.shapeFlag&6)return ts(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const p=y(f.anchor||f.el),b=p&&p[Ui];return b?y(b):p};let no=!1;const pr=(f,p,b)=>{let M;f==null?p._vnode&&(rt(p._vnode,null,null,!0),M=p._vnode.component):v(p._vnode||null,f,p,null,null,null,b),p._vnode=f,no||(no=!0,_r(M),Ii(),no=!1)},Cn={p:v,um:rt,m:Ut,r:dr,mt:be,mc:ee,pc:pe,pbc:te,n:ts,o:e};return{render:pr,hydrate:void 0,createApp:yc(pr)}}function uo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Oc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function or(e,t,n=!1){const s=e.children,o=t.children;if(G(s)&&G(o))for(let r=0;r<s.length;r++){const i=s[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=_t(o[r]),l.el=i.el),!n&&l.patchFlag!==-2&&or(i,l)),l.type===Js&&(l.patchFlag===-1&&(l=o[r]=_t(l)),l.el=i.el),l.type===Ve&&!l.el&&(l.el=i.el)}}function Rc(e){const t=e.slice(),n=[0];let s,o,r,i,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(o=n[n.length-1],e[o]<u){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<u?r=l+1:i=l;u<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function ml(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ml(t)}function Dr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function yl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?yl(t.subTree):null}const vl=e=>e.__isSuspense;function Hc(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):ka(e)}const ie=Symbol.for("v-fgt"),Js=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),fo=Symbol.for("v-stc"),Tt=[];let Ke=null;function U(e=!1){Tt.push(Ke=e?null:[])}function rr(){Tt.pop(),Ke=Tt[Tt.length-1]||null}let Zn=1;function As(e,t=!1){Zn+=e,e<0&&Ke&&t&&(Ke.hasOnce=!0)}function wl(e){return e.dynamicChildren=Zn>0?Ke||an:null,rr(),Zn>0&&Ke&&Ke.push(e),e}function J(e,t,n,s,o,r){return wl(C(e,t,n,s,o,r,!0))}function Oe(e,t,n,s,o){return wl(X(e,t,n,s,o,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Cl=({key:e})=>e??null,ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||ke(e)||Y(e)?{i:He,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,s=0,o=null,r=e===ie?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cl(t),ref:t&&ms(t),scopeId:Fi,slotScopeIds:null,children:n,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:He};return l?(Ms(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=ye(n)?8:16),Zn>0&&!i&&Ke&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ke.push(a),a}const X=Dc;function Dc(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Qi)&&(e=Ve),pn(e)){const l=kt(e,t,!0);return n&&Ms(l,n),Zn>0&&!r&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag=-2,l}if(jc(e)&&(e=e.__vccOpts),t){t=Nc(t);let{class:l,style:a}=t;l&&!ye(l)&&(t.class=Se(l)),ce(a)&&(Yo(a)&&!G(a)&&(a=Ce({},a)),t.style=Us(a))}const i=ye(e)?1:vl(e)?128:js(e)?64:ce(e)?4:Y(e)?2:0;return C(e,t,n,s,o,i,r,!0)}function Nc(e){return e?Yo(e)||ul(e)?Ce({},e):e:null}function kt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:a}=e,u=t?Vc(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Cl(u),ref:t&&t.ref?n&&r?G(r)?r.concat(ms(t)):[r,ms(t)]:ms(t):r,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!==ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kt(e.ssContent),ssFallback:e.ssFallback&&kt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&tn(c,a.clone(c)),c}function tt(e=" ",t=0){return X(Js,null,e,t)}function Te(e="",t=!1){return t?(U(),Oe(Ve,null,e)):X(Ve,null,e)}function ht(e){return e==null||typeof e=="boolean"?X(Ve):G(e)?X(ie,null,e.slice()):pn(e)?_t(e):X(Js,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kt(e)}function Ms(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Ms(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ul(t)?t._ctx=He:o===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Y(t)){if(s&65){Ms(e,{default:t});return}t={default:t,_ctx:He},n=32}else t=String(t),s&64?(n=16,t=[tt(t)]):n=8;e.children=t,e.shapeFlag|=n}function Vc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Se([t.class,s.class]));else if(o==="style")t.style=Us([t.style,s.style]);else if(Ns(o)){const r=t[o],i=s[o];i&&r!==i&&!(G(r)&&r.includes(i))?t[o]=r?[].concat(r,i):i:i==null&&r==null&&!Vs(o)&&(t[o]=i)}else o!==""&&(t[o]=s[o])}return t}function ct(e,t,n,s=null){Xe(e,t,7,[n,s])}const Ic=ol();let kc=0;function Fc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Ic,r={uid:kc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new aa(!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:dl(s,o),emitsOptions:il(s,o),emit:null,emitted:null,propsDefaults:re,inheritAttrs:s.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,setupContext:null,suspense:n,suspenseId:n?n.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=vc.bind(null,r),e.ce&&e.ce(r),r}let Re=null;const Xn=()=>Re||He;let $s,Gn;{const e=Bs(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};$s=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),Gn=t("__VUE_SSR_SETTERS__",n=>hn=n)}const Qn=e=>{const t=Re;return $s(e),e.scope.on(),()=>{e.scope.off(),$s(t)}},Nr=()=>{Re&&Re.scope.off(),$s(null)};function bl(e){return e.vnode.shapeFlag&4}let hn=!1;function Bc(e,t=!1,n=!1){t&&Gn(t);const{props:s,children:o}=e.vnode,r=bl(e);Sc(e,s,r,t),Ac(e,o,n||t);const i=r?Uc(e,t):void 0;return t&&Gn(!1),i}function Uc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,uc);const{setup:s}=n;if(s){Lt();const o=e.setupContext=s.length>1?Zc(e):null,r=Qn(e),i=Wn(s,e,0,[e.props,o]),l=pi(i);if(Pt(),r(),(l||e.sp)&&!un(e)&&tr(e),l){if(i.then(Nr,Nr),t)return i.then(a=>{Gn(!0);try{Vr(e,a,t)}finally{Gn(!1)}}).catch(a=>{Jn(a,e,0)});e.asyncDep=i}else Vr(e,i)}else _l(e)}function Vr(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Di(t)),_l(e)}function _l(e,t,n){const s=e.type;e.render||(e.render=s.render||yt);{const o=Qn(e);Lt();try{fc(e)}finally{Pt(),o()}}}const zc={get(e,t){return Ne(e,"get",""),e[t]}};function Zc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,zc),slots:e.slots,emit:e.emit,expose:t}}function Ys(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Di(Pa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dn)return Dn[n](e)},has(t,n){return n in t||n in Dn}})):e.proxy}function Gc(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function jc(e){return Y(e)&&"__vccOpts"in e}const Q=(e,t)=>Ha(e,t,hn);function Kc(e,t,n){try{As(-1);const s=arguments.length;return s===2?ce(t)&&!G(t)?pn(t)?X(e,null,[t]):X(e,t):X(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),X(e,t,n))}finally{As(1)}}const qc="3.5.42";/**
15
+ * @vue/runtime-dom v3.5.42
16
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
+ * @license MIT
18
+ **/let Ho;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{Ho=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const xl=Ho?e=>Ho.createHTML(e):e=>e,Wc="http://www.w3.org/2000/svg",Jc="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,kr=bt&&bt.createElement("template"),Yc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?bt.createElementNS(Wc,e):t==="mathml"?bt.createElementNS(Jc,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{kr.innerHTML=xl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=kr.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Et="transition",Tn="animation",gn=Symbol("_vtc"),Sl={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},Tl=Ce({},Gi,Sl),Xc=e=>(e.displayName="Transition",e.props=Tl,e),Ll=Xc((e,{slots:t})=>Kc(Ja,Pl(e),t)),Gt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fr=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Pl(e){const t={};for(const I in e)I in Sl||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,w=Qc(o),v=w&&w[0],A=w&&w[1],{onBeforeEnter:S,onEnter:x,onEnterCancelled:F,onLeave:E,onLeaveCancelled:R,onBeforeAppear:N=S,onAppear:$=x,onAppearCancelled:ee=F}=t,Z=(I,de,be,vt)=>{I._enterCancelled=vt,Rt(I,de?c:l),Rt(I,de?u:i),be&&be()},te=(I,de)=>{I._isLeaving=!1,Rt(I,h),Rt(I,m),Rt(I,y),de&&de()},le=I=>(de,be)=>{const vt=I?$:x,Le=()=>Z(de,I,be);Gt(vt,[de,Le]),Br(()=>{Rt(de,I?a:r),ft(de,I?c:l),Fr(vt)||Ur(de,s,v,Le)})};return Ce(t,{onBeforeEnter(I){Gt(S,[I]),ft(I,r),ft(I,i)},onBeforeAppear(I){Gt(N,[I]),ft(I,a),ft(I,u)},onEnter:le(!1),onAppear:le(!0),onLeave(I,de){I._isLeaving=!0;const be=()=>te(I,de);ft(I,h),I._enterCancelled?(ft(I,y),Do(I)):(Do(I),ft(I,y)),Br(()=>{I._isLeaving&&(Rt(I,h),ft(I,m),Fr(E)||Ur(I,s,A,be))}),Gt(E,[I,be])},onEnterCancelled(I){Z(I,!1,void 0,!0),Gt(F,[I])},onAppearCancelled(I){Z(I,!0,void 0,!0),Gt(ee,[I])},onLeaveCancelled(I){te(I),Gt(R,[I])}})}function Qc(e){if(e==null)return null;if(ce(e))return[po(e.enter),po(e.leave)];{const t=po(e);return[t,t]}}function po(e){return Ql(e)}function ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gn]||(e[gn]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[gn];n&&(n.delete(t),n.size||(e[gn]=void 0))}function Br(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eu=0;function Ur(e,t,n,s){const o=e._endId=++eu,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:l,propCount:a}=Al(e,t);if(!i)return s();const u=i+"end";let c=0;const h=()=>{e.removeEventListener(u,y),r()},y=m=>{m.target===e&&++c>=a&&h()};setTimeout(()=>{c<a&&h()},l+1),e.addEventListener(u,y)}function Al(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),o=s(`${Et}Delay`),r=s(`${Et}Duration`),i=zr(o,r),l=s(`${Tn}Delay`),a=s(`${Tn}Duration`),u=zr(l,a);let c=null,h=0,y=0;t===Et?i>0&&(c=Et,h=i,y=r.length):t===Tn?u>0&&(c=Tn,h=u,y=a.length):(h=Math.max(i,u),c=h>0?i>u?Et:Tn:null,y=c?c===Et?r.length:a.length:0);const m=c===Et&&/\b(?:transform|all)(?:,|$)/.test(s(`${Et}Property`).toString());return{type:c,timeout:h,propCount:y,hasTransform:m}}function zr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Zr(n)+Zr(e[s])))}function Zr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Do(e){return(e?e.ownerDocument:document).body.offsetHeight}function tu(e,t,n){const s=e[gn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Es=Symbol("_vod"),ir=Symbol("_vsh"),dh={name:"show",beforeMount(e,{value:t},{transition:n}){e[Es]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ln(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ln(e,!0),s.enter(e)):s.leave(e,()=>{Ln(e,!1)}):Ln(e,t))},beforeUnmount(e,{value:t}){Ln(e,t)}};function Ln(e,t){e.style.display=t?e[Es]:"none",e[ir]=!t}const nu=Symbol(""),su=/(?:^|;)\s*display\s*:/;function ou(e,t,n){const s=e.style,o=ye(n);let r=!1;if(n&&!o){if(t)if(ye(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&$n(s,l,"")}else for(const i in t)n[i]==null&&$n(s,i,"");for(const i in n){i==="display"&&(r=!0);const l=n[i];l!=null?iu(e,i,!ye(t)&&t?t[i]:void 0,l)||$n(s,i,l):$n(s,i,"")}}else if(o){if(t!==n){const i=s[nu];i&&(n+=";"+i),s.cssText=n,r=su.test(n)}}else t&&e.removeAttribute("style");Es in e&&(e[Es]=r?s.display:"",e[ir]&&(s.display="none"))}const ls=/\s*!important$/;function $n(e,t,n){if(G(n))n.forEach(s=>$n(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))ls.test(n)?e.setProperty(t,n.replace(ls,""),"important"):e.setProperty(t,n);else{const s=ru(e,t);ls.test(n)?e.setProperty(Mt(s),n.replace(ls,""),"important"):e[s]=n}}const Gr=["Webkit","Moz","ms"],ho={};function ru(e,t){const n=ho[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return ho[t]=s;s=ks(s);for(let o=0;o<Gr.length;o++){const r=Gr[o]+s;if(r in e)return ho[t]=r}return t}function iu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ye(s)&&n===s}const jr="http://www.w3.org/1999/xlink";function Kr(e,t,n,s,o,r=ra(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(jr,t.slice(6,t.length)):e.setAttributeNS(jr,t,n):n==null||r&&!yi(n)?e.removeAttribute(t):e.setAttribute(t,r?"":st(n)?String(n):n)}function qr(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xl(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=yi(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Jt(e,t,n,s){e.addEventListener(t,n,s)}function lu(e,t,n,s){e.removeEventListener(t,n,s)}const Wr=Symbol("_vei");function au(e,t,n,s,o=null){const r=e[Wr]||(e[Wr]={}),i=r[t];if(s&&i)i.value=s;else{const[l,a]=fu(t);if(s){const u=r[t]=hu(s,o);Jt(e,l,u,a)}else i&&(lu(e,l,i,a),r[t]=void 0)}}const cu=/(Once|Passive|Capture)$/,uu=/^on:?(?:Once|Passive|Capture)$/;function fu(e){let t,n;for(;(n=e.match(cu))&&!uu.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Mt(e.slice(2)),t]}let go=0;const du=Promise.resolve(),pu=()=>go||(du.then(()=>go=0),go=Date.now());function hu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const o=n.value;if(G(o)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const i=o.slice(),l=[s];for(let a=0;a<i.length&&!s._stopped;a++){const u=i[a];u&&Xe(u,t,5,l)}}else Xe(o,t,5,[s])};return n.value=e,n.attached=pu(),n}const Jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?tu(e,s,i):t==="style"?ou(e,n,s):Ns(t)?Vs(t)||au(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mu(e,t,s,i))?(qr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kr(e,t,s,i,r,t!=="value")):e._isVueCE&&(yu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ye(s)))?qr(e,Ie(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Kr(e,t,s,i))};function mu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jr(t)&&Y(n));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 Jr(t)&&ye(n)?!1:t in e}function yu(e,t){const n=e._def.props;if(!n)return!1;const s=Ie(t);return Array.isArray(n)?n.some(o=>Ie(o)===s):Object.keys(n).some(o=>Ie(o)===s)}const Ml=new WeakMap,$l=new WeakMap,Os=Symbol("_moveCb"),Yr=Symbol("_enterCb"),vu=e=>(delete e.props.mode,e),wu=vu({name:"TransitionGroup",props:Ce({},Tl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Xn(),s=Zi();let o,r;return Yi(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Su(o[0].el,n.vnode.el,i)){o=[];return}o.forEach(bu),o.forEach(_u);const l=o.filter(xu);Do(n.vnode.el),l.forEach(a=>{const u=a.el,c=u.style;ft(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const h=u[Os]=y=>{y&&y.target!==u||(!y||y.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[Os]=null,Rt(u,i))};u.addEventListener("transitionend",h)}),o=[]}),()=>{const i=oe(e),l=Pl(i);let a=i.tag||ie;if(o=[],r)for(let u=0;u<r.length;u++){const c=r[u];c.el&&c.el instanceof Element&&!c.el[ir]&&(o.push(c),tn(c,zn(c,l,s,n)),Ml.set(c,El(c.el)))}r=t.default?er(t.default()):[];for(let u=0;u<r.length;u++){const c=r[u];c.key!=null&&tn(c,zn(c,l,s,n))}return X(a,null,r)}}}),Cu=wu;function bu(e){const t=e.el;t[Os]&&t[Os](),t[Yr]&&t[Yr]()}function _u(e){$l.set(e,El(e.el))}function xu(e){const t=Ml.get(e),n=$l.get(e),s=t.left-n.left,o=t.top-n.top;if(s||o){const r=e.el,i=r.style,l=r.getBoundingClientRect();let a=1,u=1;return r.offsetWidth&&(a=l.width/r.offsetWidth),r.offsetHeight&&(u=l.height/r.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(a-1)<.01&&(a=1),Math.abs(u-1)<.01&&(u=1),i.transform=i.webkitTransform=`translate(${s/a}px,${o/u}px)`,i.transitionDuration="0s",e}}function El(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Su(e,t,n){const s=e.cloneNode(),o=e[gn];o&&o.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Al(s);return r.removeChild(s),i}const Rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>hs(t,n):t};function Tu(e){e.target.composing=!0}function Xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yt=Symbol("_assign"),as=Symbol("_initialValue");function mo(e,t,n){return t&&(e=e.trim()),n&&(e=Fs(e)),e}const Lu={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e.parentNode&&(e.type==="text"?e[as]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[as]=e.defaultValue.replace(/\r\n?/g,`
19
+ `))),e[Yt]=Rs(o);const r=s||o.props&&o.props.type==="number";Jt(e,t?"change":"input",i=>{i.target.composing||e[Yt](mo(e.value,n,r))}),(n||r)&&Jt(e,"change",()=>{e.value=mo(e.value,n,r)}),t||(Jt(e,"compositionstart",Tu),Jt(e,"compositionend",Xr),Jt(e,"change",Xr))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const o=t??"",r=e[as];delete e[as],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Yt](mo(e.value,n,s)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[Yt]=Rs(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Fs(e.value):e.value,a=t??"";if(l===a)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===a)||(e.value=a)}},ph={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Jt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Fs(Hs(a)):Hs(a)),r=e.multiple,i=r?en(e._modelValue)?new Set(o):o:o[0],l=e._pendingValue=[r,r?G(i)?o.slice():o:i];try{e[Yt](i)}finally{_s(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[Yt]=Rs(s)},mounted(e,{value:t}){Qr(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Yt]=Rs(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Pu(t,n[1],n[0]))&&Qr(e,t)}};function Pu(e,t,n){if(!n||G(e))return It(e,t);if(en(e)){if(e.size!==t.length)return!1;for(const s of t)if(!e.has(s))return!1;return!0}return!1}function Qr(e,t){const n=e.multiple,s=G(t);if(!(n&&!s&&!en(t))){for(let o=0,r=e.options.length;o<r;o++){const i=e.options[o],l=Hs(i);if(n)if(s){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=la(t,l)>-1}else i.selected=t.has(l);else if(It(Hs(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Hs(e){return"_value"in e?e._value:e.value}const Au=["ctrl","shift","alt","meta"],Mu={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)=>Au.some(n=>e[`${n}Key`]&&!t.includes(n))},ys=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...r)=>{for(let i=0;i<t.length;i++){const l=Mu[t[i]];if(l&&l(o,t))return}return e(o,...r)}))},$u={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},hh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(o=>{if(!("key"in o))return;const r=Mt(o.key);if(t.some(i=>i===r||$u[i]===r))return e(o)}))},Eu=Ce({patchProp:gu},Yc);let ei;function Ou(){return ei||(ei=$c(Eu))}const Ru=((...e)=>{const t=Ou().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Du(s);if(!o)return;const r=t._component;!Y(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Hu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function Hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Du(e){return ye(e)?document.querySelector(e):e}const Nu="modulepreload",Vu=function(e,t){return new URL(e,t).href},ti={},Pn=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(h=>Promise.resolve(h).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const l=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),u=a?.nonce||a?.getAttribute("nonce");o=i(n.map(c=>{if(c=Vu(c,s),c in ti)return;ti[c]=!0;const h=c.endsWith(".css"),y=h?'[rel="stylesheet"]':"";if(!!s)for(let v=l.length-1;v>=0;v--){const A=l[v];if(A.href===c&&(!h||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${y}`))return;const w=document.createElement("link");if(w.rel=h?"stylesheet":Nu,h||(w.as="script"),w.crossOrigin="",w.href=c,u&&w.setAttribute("nonce",u),document.head.appendChild(w),h)return new Promise((v,A)=>{w.addEventListener("load",v),w.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&r(l.reason);return t().catch(r)})};function No(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&Object.getPrototypeOf(e)===Object.prototype}function Iu(e){if(typeof e!="string")return!1;const t=Date.parse(e);return Number.isFinite(t)&&new Date(t).toISOString()===e}const ku="sash",Fu="sash-token.";function Bu(e){if(!No(e)||!No(e.error))return;const{code:t,message:n}=e.error;if(!(typeof t!="string"||typeof n!="string"))return{code:t,message:n}}function Qe(e,t,n){throw new TypeError(`${e} response is invalid: ${t} must be ${n}`)}function ge(e,t,n){return No(e)||Qe(t,n,"a plain object"),e}function z(e,t,n,s){return Object.hasOwn(e,t)||Qe(n,s,"present"),e[t]}function Pe(e,t,n){return typeof e!="boolean"&&Qe(t,n,"a boolean"),e}function Ae(e,t,n,s=!1){return(typeof e!="string"||s&&!e.trim())&&Qe(t,n,s?"a non-empty string":"a string"),e}function cs(e,t,n){return(typeof e!="number"||!Number.isFinite(e))&&Qe(t,n,"a finite number"),e}function Xs(e,t,n){return(typeof e!="number"||!Number.isSafeInteger(e)||e<=0)&&Qe(t,n,"a positive safe integer"),e}function vn(e,t,n){return(typeof e!="number"||!Number.isSafeInteger(e)||e<0)&&Qe(t,n,"a non-negative safe integer"),e}function Vo(e,t,n){return(typeof e!="number"||!Number.isInteger(e)||e<1||e>65535)&&Qe(t,n,"an integer port from 1 to 65535"),e}function jn(e,t,n){return Iu(e)||Qe(t,n,"a canonical ISO timestamp"),e}function Ft(e,t,n,s){return Object.hasOwn(e,t)?Ae(e[t],n,s):void 0}function Ds(e,t,n,s){return Object.hasOwn(e,t)?Pe(e[t],n,s):!1}function Ol(e,t,n){const s=ge(e,t,n),o=Ft(s,"server",t,`${n}.server`),r=Ft(s,"details",t,`${n}.details`);return{supported:Pe(z(s,"supported",t,`${n}.supported`),t,`${n}.supported`),enabled:Pe(z(s,"enabled",t,`${n}.enabled`),t,`${n}.enabled`),...o!==void 0?{server:o}:{},...r!==void 0?{details:r}:{}}}function Uu(e,t){const n=ge(e,t,"core"),s=Object.hasOwn(n,"pid")?Xs(n.pid,t,"core.pid"):void 0,o=Object.hasOwn(n,"startedAt")?jn(n.startedAt,t,"core.startedAt"):void 0,r=Object.hasOwn(n,"healthy")?Pe(n.healthy,t,"core.healthy"):void 0,i=Ft(n,"version",t,"core.version"),l=Object.hasOwn(n,"tunActive")?Pe(n.tunActive,t,"core.tunActive"):void 0;return{running:Pe(z(n,"running",t,"core.running"),t,"core.running"),...s!==void 0?{pid:s}:{},...o!==void 0?{startedAt:o}:{},...r!==void 0?{healthy:r}:{},...i!==void 0?{version:i}:{},...l!==void 0?{tunActive:l}:{}}}function lr(e){const t="sashd settings",n=ge(e,t,"settings");return{mixedPort:Vo(z(n,"mixedPort",t,"settings.mixedPort"),t,"settings.mixedPort"),controller:Ae(z(n,"controller",t,"settings.controller"),t,"settings.controller",!0),tun:Pe(z(n,"tun",t,"settings.tun"),t,"settings.tun"),allowLan:Pe(z(n,"allowLan",t,"settings.allowLan"),t,"settings.allowLan"),daemonPort:Vo(z(n,"daemonPort",t,"settings.daemonPort"),t,"settings.daemonPort"),systemProxy:Pe(z(n,"systemProxy",t,"settings.systemProxy"),t,"settings.systemProxy")}}function Qs(e,t,n){const s=ge(e,t,n),o=Object.hasOwn(s,"subInfo")?ge(s.subInfo,t,`${n}.subInfo`):void 0,r=o?{upload:cs(z(o,"upload",t,`${n}.subInfo.upload`),t,`${n}.subInfo.upload`),download:cs(z(o,"download",t,`${n}.subInfo.download`),t,`${n}.subInfo.download`),total:cs(z(o,"total",t,`${n}.subInfo.total`),t,`${n}.subInfo.total`),...Object.hasOwn(o,"expire")?{expire:cs(o.expire,t,`${n}.subInfo.expire`)}:{}}:void 0,i=Ft(s,"homePage",t,`${n}.homePage`),l=Ft(s,"lastError",t,`${n}.lastError`);return{id:Ae(z(s,"id",t,`${n}.id`),t,`${n}.id`,!0),name:Ae(z(s,"name",t,`${n}.name`),t,`${n}.name`),url:Ae(z(s,"url",t,`${n}.url`),t,`${n}.url`),intervalHours:vn(z(s,"intervalHours",t,`${n}.intervalHours`),t,`${n}.intervalHours`),createdAt:jn(z(s,"createdAt",t,`${n}.createdAt`),t,`${n}.createdAt`),updatedAt:jn(z(s,"updatedAt",t,`${n}.updatedAt`),t,`${n}.updatedAt`),...r!==void 0?{subInfo:r}:{},...i!==void 0?{homePage:i}:{},...l!==void 0?{lastError:l}:{}}}function eo(e,t,n){return Object.hasOwn(e,"proxyCount")?{proxyCount:vn(e.proxyCount,t,`${n}.proxyCount`)}:{}}function zu(e){const t="sashd health",n=ge(e,t,"response");return{token:Ae(z(n,"token",t,"token"),t,"token",!0),pid:Xs(z(n,"pid",t,"pid"),t,"pid"),startedAt:jn(z(n,"startedAt",t,"startedAt"),t,"startedAt")}}function ni(e){const t="sashd core start",n=ge(e,t,"response"),s=Ft(n,"version",t,"version"),o=Object.hasOwn(n,"tunActive")?Pe(n.tunActive,t,"tunActive"):void 0;return{pid:Xs(z(n,"pid",t,"pid"),t,"pid"),...s!==void 0?{version:s}:{},...o!==void 0?{tunActive:o}:{}}}function Zu(e){const t="sashd core reload",n=ge(e,t,"response"),s=Ae(z(n,"source",t,"source"),t,"source");return s!=="subscription"&&s!=="default"&&Qe(t,"source",'"subscription" or "default"'),{proxyCount:vn(z(n,"proxyCount",t,"proxyCount"),t,"proxyCount"),source:s}}function Gu(e){const t="sashd shutdown",n=ge(e,t,"response");return{coreWasRunning:Pe(z(n,"coreWasRunning",t,"coreWasRunning"),t,"coreWasRunning")}}function ju(e){const t="sashd system proxy",n=ge(e,t,"response"),s=Ol(n,t,"response"),o=Ft(n,"queryError",t,"queryError");return{desired:Pe(z(n,"desired",t,"desired"),t,"desired"),applied:Pe(z(n,"applied",t,"applied"),t,"applied"),...s,appliedKnown:Ds(n,"appliedKnown",t,"appliedKnown"),stateKnown:Ds(n,"stateKnown",t,"stateKnown"),...o!==void 0?{queryError:o}:{}}}function si(e){const t="sashd settings write",n=ge(e,t,"response");return{restartRequired:Pe(z(n,"restartRequired",t,"restartRequired"),t,"restartRequired"),settings:lr(z(n,"settings",t,"settings"))}}function Ku(e){const t="sashd settings file",n=ge(e,t,"response");return{content:Ae(z(n,"content",t,"content"),t,"content")}}function qu(e){const t="sashd profiles",n=ge(e,t,"response"),s=z(n,"activeId",t,"activeId"),o=z(n,"profiles",t,"profiles");return Array.isArray(o)||Qe(t,"profiles","an array"),{activeId:s===null?null:Ae(s,t,"activeId",!0),profiles:o.map((r,i)=>Qs(r,t,`profiles[${i}]`))}}function oi(e){const t="sashd profile action",n=ge(e,t,"response");return{profile:Qs(z(n,"profile",t,"profile"),t,"profile"),activated:Pe(z(n,"activated",t,"activated"),t,"activated"),...eo(n,t,"response")}}function ri(e){const t="sashd profile update",n=ge(e,t,"response");return{profile:Qs(z(n,"profile",t,"profile"),t,"profile"),...eo(n,t,"response")}}function Wu(e){const t="sashd profiles update-all",n=ge(e,t,"response"),s=z(n,"failed",t,"failed");return Array.isArray(s)||Qe(t,"failed","an array"),{updated:vn(z(n,"updated",t,"updated"),t,"updated"),failed:s.map((o,r)=>{const i=`failed[${r}]`,l=ge(o,t,i);return{id:Ae(z(l,"id",t,`${i}.id`),t,`${i}.id`),name:Ae(z(l,"name",t,`${i}.name`),t,`${i}.name`),error:Ae(z(l,"error",t,`${i}.error`),t,`${i}.error`)}}),...eo(n,t,"response")}}function Ju(e){const t="sashd profile content",n=ge(e,t,"response");return{name:Ae(z(n,"name",t,"name"),t,"name"),content:Ae(z(n,"content",t,"content"),t,"content")}}function Yu(e){const t="sashd profile activate",n=ge(e,t,"response"),s=z(n,"activeId",t,"activeId");return{activeId:s===null?null:Ae(s,t,"activeId",!0),proxyCount:vn(z(n,"proxyCount",t,"proxyCount"),t,"proxyCount")}}function Xu(e){const t="sashd profile remove",n=ge(e,t,"response");return{wasActive:Pe(z(n,"wasActive",t,"wasActive"),t,"wasActive"),...eo(n,t,"response")}}function Qu(e){const t="sashd profile rename",n=ge(e,t,"response");return{profile:Qs(z(n,"profile",t,"profile"),t,"profile")}}function ef(e){const t="sashd status",n=ge(e,t,"response"),s=ge(z(n,"daemon",t,"daemon"),t,"daemon"),o=ge(z(n,"revisions",t,"revisions"),t,"revisions"),r=ge(z(n,"systemProxy",t,"systemProxy"),t,"systemProxy"),i=Object.hasOwn(r,"actual")?Ol(r.actual,t,"systemProxy.actual"):void 0,l=Ft(r,"queryError",t,"systemProxy.queryError"),a=z(n,"activeProfile",t,"activeProfile"),u=a===null?null:(()=>{const c=ge(a,t,"activeProfile");return{id:Ae(z(c,"id",t,"activeProfile.id"),t,"activeProfile.id",!0),name:Ae(z(c,"name",t,"activeProfile.name"),t,"activeProfile.name"),url:Ae(z(c,"url",t,"activeProfile.url"),t,"activeProfile.url")}})();return{daemon:{pid:Xs(z(s,"pid",t,"daemon.pid"),t,"daemon.pid"),startedAt:jn(z(s,"startedAt",t,"daemon.startedAt"),t,"daemon.startedAt"),port:Vo(z(s,"port",t,"daemon.port"),t,"daemon.port")},revisions:{profiles:vn(z(o,"profiles",t,"revisions.profiles"),t,"revisions.profiles")},core:Uu(z(n,"core",t,"core"),t),systemProxy:{desired:Pe(z(r,"desired",t,"systemProxy.desired"),t,"systemProxy.desired"),applied:Pe(z(r,"applied",t,"systemProxy.applied"),t,"systemProxy.applied"),...i!==void 0?{actual:i}:{},appliedKnown:Ds(r,"appliedKnown",t,"systemProxy.appliedKnown"),stateKnown:Ds(r,"stateKnown",t,"systemProxy.stateKnown"),...l!==void 0?{queryError:l}:{}},settings:lr(z(n,"settings",t,"settings")),activeProfile:u}}const tf=async(e,t)=>{const n=await fetch(e,{method:t.method,headers:t.headers,...t.body!==void 0?{body:t.body}:{},...t.timeoutMs!==void 0?{signal:AbortSignal.timeout(t.timeoutMs)}:{}});return{status:n.status,text:()=>n.text()}};class nf extends Error{constructor(t,n,s){super(s),this.status=t,this.code=n,this.name="SashApiError"}}class sf{baseUrl;token;tokenHeader;fetchFn;timeoutMs;constructor(t){this.baseUrl=t.baseUrl.replace(/\/+$/,""),t.token&&(this.token=t.token),this.tokenHeader=t.tokenHeader??"authorization",this.fetchFn=t.fetchFn??tf,this.timeoutMs=t.timeoutMs??5e3}async request(t,n={}){const s={},o=this.token?.()??"";o&&(this.tokenHeader==="x-sash-token"?s["X-Sash-Token"]=o:s.Authorization=`Bearer ${o}`);let r;n.body!==void 0&&(s["Content-Type"]="application/json",r=JSON.stringify(n.body));const i=await this.fetchFn(`${this.baseUrl}${t}`,{method:n.method??"GET",headers:s,...r!==void 0?{body:r}:{},timeoutMs:n.timeoutMs??this.timeoutMs,...n.attempts!==void 0?{attempts:n.attempts}:{}}),l=await i.text();let a;try{a=l?JSON.parse(l):void 0}catch(u){if(i.status>=200&&i.status<300)throw new Error(`Invalid JSON response from ${t}: ${u.message}`);a=l}if(i.status<200||i.status>=300){const u=Bu(a),c=u?.message??(typeof a=="string"?a.slice(0,300).trim():"");throw new nf(i.status,u?.code,c||`HTTP ${i.status}`)}return a}async health(){return zu(await this.request("/sash/daemon/health",{timeoutMs:2e3,attempts:1}))}async status(t=!1){return ef(await this.request(t?"/sash/daemon/status?fresh=1":"/sash/daemon/status"))}async shutdown(){return Gu(await this.request("/sash/daemon/shutdown",{method:"POST",timeoutMs:45e3}))}async startCore(){return ni(await this.request("/sash/core/start",{method:"POST",timeoutMs:15e3}))}async stopCore(){await this.request("/sash/core/stop",{method:"POST",timeoutMs:3e4})}async restartCore(){return ni(await this.request("/sash/core/restart",{method:"POST",timeoutMs:3e4}))}async reloadCoreConfig(){return Zu(await this.request("/sash/core/reload",{method:"POST",timeoutMs:3e4}))}async proxyStatus(t=!1){return ju(await this.request(t?"/sash/proxy?fresh=1":"/sash/proxy"))}async getSettings(){return lr(await this.request("/sash/settings"))}async patchSettings(t){return si(await this.request("/sash/settings",{method:"PATCH",body:t,timeoutMs:45e3}))}async getSettingsFile(){return Ku(await this.request("/sash/settings/file"))}async writeSettingsFile(t){return si(await this.request("/sash/settings/file",{method:"PUT",body:{content:t},timeoutMs:45e3}))}async listProfiles(){return qu(await this.request("/sash/profiles"))}async addProfile(t,n={}){return oi(await this.request("/sash/profiles",{method:"POST",body:{url:t,...n},timeoutMs:6e4}))}async importProfile(t,n){return oi(await this.request("/sash/profiles/import",{method:"POST",body:{name:t,content:n},timeoutMs:3e4}))}async activateProfile(t){return Yu(await this.request("/sash/profiles/active",{method:"PUT",body:{id:t},timeoutMs:3e4}))}async updateProfile(t){return ri(await this.request(`/sash/profiles/${t}/update`,{method:"POST",timeoutMs:6e4}))}async updateAllProfiles(){return Wu(await this.request("/sash/profiles/update-all",{method:"POST",timeoutMs:12e4}))}async getProfileContent(t){return Ju(await this.request(`/sash/profiles/${t}/content`))}async writeProfileContent(t,n){return ri(await this.request(`/sash/profiles/${t}/content`,{method:"PUT",body:{content:n},timeoutMs:3e4}))}async renameProfile(t,n){return Qu(await this.request(`/sash/profiles/${t}`,{method:"PATCH",body:{name:n}}))}async removeProfile(t){return Xu(await this.request(`/sash/profiles/${t}`,{method:"DELETE",timeoutMs:3e4}))}}class of{values=new Map;begin(t){const n=(this.values.get(t)??0)+1;return this.values.set(t,n),n}invalidate(t){this.begin(t)}isCurrent(t,n){return this.values.get(t)===n}}function rf(e,t){e.mode="rule",e.proxies={},e.proxyGroups=[],e.connections=[],e.connectionsUploadTotal=0,e.connectionsDownloadTotal=0,e.rules=[],e.traffic={up:0,down:0,historyUp:Array(t).fill(0),historyDown:Array(t).fill(0)},e.manualProxyDelays={},e.activeGroup="",e.runtimeGeneration+=1}function Ze(e){return!!(e?.core.running&&e.core.healthy)}function Nn(e){return Ze(e)?[e?.daemon.startedAt??"",e?.core.pid??"",e?.core.startedAt??""].join("|"):null}function lf(e,t,n,s){return e?!t||s===null?null:n?"coreDegraded":"coreUnavailable":"offline"}function gh(e,t){return!Object.is(e,t)}function mh(e,t,n,s){return!s&&Object.is(e,t)?n:e}function Rl(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:null}function af(e){const t=Rl(e);if(!t)return null;const{up:n,down:s}=t;return typeof n!="number"||!Number.isFinite(n)||n<0||typeof s!="number"||!Number.isFinite(s)||s<0?null:{up:n,down:s}}const cf=new Set(["info","warning","error","debug"]);function uf(e){const t=Rl(e);return!t||typeof t.type!="string"||typeof t.payload!="string"||!cf.has(t.type)?null:{type:t.type,payload:t.payload}}function ff(e){const t=e?.settings.tun??!1;return Ze(e)?e?.core.tunActive===!0?t?"active":"unexpected-active":t?e?.core.tunActive===!1?"inactive":"unverified":"off":t?"stopped":"off"}function ar(e){return!!(e?.systemProxy.desired||e?.systemProxy.applied||e?.systemProxy.actual?.enabled)}function Hl(e,t){return t?Ze(e):ar(e)}function df(e,t,n){const s=n[e];return s!==void 0?s:t[e]?.history?.at(-1)?.delay}function pf(e,t,n,s){return e?{...e,settings:s??{...e.settings,[t==="allow-lan"?"allowLan":"tun"]:n}}:null}async function hf(e,t,n){let s,o;try{s=await e()}catch(i){o=i}try{await t()}catch(i){if(o===void 0)throw i}if(o!==void 0)throw o;const r=s;return await n?.(r),r}const gf={app:{coreRunning:"Core running",coreStopped:"Core stopped",navigation:"Primary navigation"},nav:{overview:"Overview",profiles:"Profiles",logs:"Logs",connections:"Connections",rules:"Rules",settings:"Settings"},page:{overview:{title:"Overview",desc:"Live traffic, outbound mode and core status"},logs:{title:"Logs"},connections:{title:"Connections"},rules:{title:"Rules",desc:"Routing rules currently in effect"},settings:{title:"Settings",desc:"Interface, network listeners and core control"}},common:{on:"On",off:"Off",save:"Save",cancel:"Cancel",confirm:"Confirm",close:"Close",clear:"Clear",loading:"Loading…",reset:"Reset",timeout:"Timeout",untested:"Untested",running:"Running",stopped:"Stopped",live:"LIVE",nodesCount:"{n} nodes",rulesCount:"{n} rules",previous:"Previous",next:"Next",pageSummary:"Page {page} of {total}",toggle:"Toggle setting"},format:{justNow:"just now",minutesAgo:"{n} min ago",hoursAgo:"{n} h ago",daysAgo:"{n} d ago",monthsAgo:"{n} mo ago",yearsAgo:"{n} y ago",durationDayHour:"{d}d {h}h",durationHourMin:"{h}h {m}m",durationMin:"{m}m",durationSec:"{s}s"},theme:{system:"System",light:"Light",dark:"Dark"},overview:{trafficTitle:"Live Traffic",trafficChartLabel:"Live traffic chart",download:"Download",upload:"Upload",totalDown:"Total Down",totalUp:"Total Up",modeTitle:"Outbound Mode",modeDesc:"How traffic is matched to outbounds",modeRule:"Rule",modeRuleDesc:"Route via rules",modeGlobal:"Global",modeGlobalDesc:"All via selected node",modeDirect:"Direct",modeDirectDesc:"Bypass all proxies",sysProxyTitle:"System Proxy",subTitle:"Profile",subSet:"Configure",coreTitle:"Core Info",uptime:"Uptime",mixedPort:"Mixed Proxy Port",controller:"Controller",daemonPort:"Daemon Port",lan:"LAN Access",tun:"TUN Mode",switchesTitle:"Network switches"},proxies:{testAll:"Test latency",testNode:"Test latency for {name}",manual:"Manual Selection",auto:"Automatic",currentTag:"current",filter:"Filter nodes…",hideTimeout:"Show/hide timed-out nodes",toggleGroup:"Expand/collapse group",directHint:"Direct mode: all traffic bypasses proxy nodes.",noGroups:"No proxy groups",noGroupsHint:"Groups and nodes appear here after a subscription is imported"},connections:{active:"Active",totalShort:"Total: ↑{up} ↓{down}",searchPlaceholder:"Filter by host, IP, process…",closeAll:"Close all",pause:"Pause",resume:"Resume",sortTime:"Sort by start time",sortUpload:"Sort by upload",sortDownload:"Sort by download",sortHost:"Sort by destination",colAction:"Action",empty:"No active connections match",closeTitle:"Close connection",closeAllConfirm:"This will force-close all {n} active connections. Continue?"},rules:{searchPlaceholder:"Filter by type, payload, target…",colIndex:"#",colType:"Type",colPayload:"Payload",colTarget:"Target",empty:"No rules match"},logs:{searchPlaceholder:"Search logs…",levelLabel:"Log level",levelAll:"All",pause:"Pause scroll",resume:"Resume scroll",listening:"Listening for core log stream…",empty:"No logs at this level",modeLabel:"Outbound mode: {mode}"},profiles:{downloadPlaceholder:"Download from a URL",download:"Download",downloading:"Downloading…",updateAll:"Update All",import:"Import",paste:"Paste from clipboard",update:"Update",edit:"Edit",rename:"Rename",renameTitle:"Rename profile",nameLabel:"Name",delete:"Delete",clickToUse:"Click to activate this profile",localFile:"local file",neverUpdated:"never updated",usageLabel:"Subscription traffic usage",statGroups:"Proxy Groups",emptyTitle:"No profiles yet",emptyHint:"Download a subscription from a URL, or import a local YAML file",deleteConfirmTitle:"Delete profile",deleteConfirmMsg:'Delete "{name}"? This cannot be undone.'},editor:{title:"Edit Profile",saving:"Saving…",remoteWarning:"Subscription profile: the next update overwrites manual edits",discardConfirm:"Discard unsaved changes?"},settings:{appearanceTitle:"Appearance",appearanceDesc:"Follow the system or choose a console theme",editFile:"Edit settings file",fileTitle:"sash.json",fileHint:"daemonPort changes need a manual sash restart to take effect",themeTitle:"Theme",langTitle:"Language",langDesc:"Display language of the console",networkTitle:"Network & Listeners",mixedPortTitle:"Mixed Proxy Port",mixedPortDesc:"Local HTTP / SOCKS5 mixed inbound port (default 7890; core restarts on save)",allowLanTitle:"Allow LAN Connections",allowLanDesc:"Accept proxy requests from other devices on the LAN",tunTitle:"TUN Mode (Virtual NIC)",tunDesc:"Transparently routes all system traffic; Sash must be started as Administrator / root",tunStateActive:"Active",tunStateInactive:"Inactive",tunStateUnverified:"Unverified",tunStateStopped:"Pending start",tunStateUnexpected:"State mismatch",tunInactiveDesc:"The Core is running without TUN. Run sash stop, then run sash start from an Administrator / root shell; sash restart is not enough. If Sash was already elevated, inspect the Core error log",tunUnverifiedDesc:"TUN is configured, but its runtime state could not be verified. Run sash stop, then run sash start from an Administrator / root shell; if Sash was already elevated, inspect the Core error log",tunUnexpectedDesc:"The Core reports TUN active while the Sash setting is off",coreTitle:"Core Control",restartTitle:"Restart Core Process",restartDesc:"Reboots the core child process and re-applies config; active connections drop",restartBtn:"Restart core",restartConfirmTitle:"Restart core",restartConfirmMsg:"Active connections will be interrupted. Continue?",reloadTitle:"Hot-Reload Config",reloadDesc:"Regenerates config.yaml and signals the core without a restart",reloadBtn:"Reload",aboutTitle:"Runtime Info",coreVersion:"Core Version"},toast:{modeOk:"Outbound mode switched to {mode}",sysProxyOn:"System proxy enabled",sysProxyOff:"System proxy disabled",nodeOk:"Switched to node {name}",testDone:"Latency test finished",profileAdded:'Downloaded "{name}"',profileActivated:'Switched to "{name}", {n} nodes loaded',profileUpdated:'"{name}" updated',profileSaved:'"{name}" saved',profileDeleted:'Deleted "{name}"',profileImported:'Imported "{name}"',profilesUpdateAllOk:"Updated {n} profiles",profilesUpdateAllPartial:"{n} updated, {f} failed",pasteFailed:"Cannot read the clipboard",portSaved:"Port updated, core restarted",settingSaved:"Setting updated",settingsSavedRestart:"Settings saved; daemonPort changes take effect after a manual `sash restart`",coreRestarted:"Core restarted",configReloaded:"Config hot-reloaded, {n} nodes",connClosed:"Connection closed",connAllClosed:"All connections closed",langSwitched:"Language switched",failed:"Action failed: {msg}"},status:{offline:"Sash daemon unreachable, retrying automatically…",coreDegraded:"Core data refresh failed; showing the last valid snapshot while retrying…",coreUnavailable:"Core is running, but runtime data is temporarily unavailable; retrying…"}},mf={app:{coreRunning:"核心运行中",coreStopped:"核心已停止",navigation:"主导航"},nav:{overview:"概览",profiles:"配置",logs:"日志",connections:"连接",rules:"规则",settings:"设置"},page:{overview:{title:"概览",desc:"实时流量、出站模式与核心状态"},logs:{title:"日志"},connections:{title:"连接"},rules:{title:"规则",desc:"核心当前使用的分流规则"},settings:{title:"设置",desc:"界面、网络监听与核心控制"}},common:{on:"开",off:"关",save:"保存",cancel:"取消",confirm:"确认",close:"关闭",clear:"清空",loading:"加载中…",reset:"重置",timeout:"超时",untested:"未测",running:"运行中",stopped:"已停止",live:"实时",nodesCount:"{n} 个节点",rulesCount:"{n} 条规则",previous:"上一页",next:"下一页",pageSummary:"第 {page} 页,共 {total} 页",toggle:"切换开关"},format:{justNow:"刚刚",minutesAgo:"{n} 分钟前",hoursAgo:"{n} 小时前",daysAgo:"{n} 天前",monthsAgo:"{n} 个月前",yearsAgo:"{n} 年前",durationDayHour:"{d} 天 {h} 小时",durationHourMin:"{h} 小时 {m} 分",durationMin:"{m} 分钟",durationSec:"{s} 秒"},theme:{system:"跟随系统",light:"浅色",dark:"深色"},overview:{trafficTitle:"实时流量",trafficChartLabel:"实时流量图",download:"下行",upload:"上行",totalDown:"累计下行",totalUp:"累计上行",modeTitle:"出站模式",modeDesc:"决定流量如何匹配出站",modeRule:"规则",modeRuleDesc:"按分流规则转发",modeGlobal:"全局",modeGlobalDesc:"全部走选中节点",modeDirect:"直连",modeDirectDesc:"全部不经过代理",sysProxyTitle:"系统代理",subTitle:"配置",subSet:"前往配置",coreTitle:"核心信息",uptime:"运行时长",mixedPort:"混合代理端口",controller:"控制接口",daemonPort:"守护进程端口",lan:"局域网访问",tun:"TUN 模式",switchesTitle:"网络开关"},proxies:{testAll:"测试延迟",testNode:"测试 {name} 的延迟",manual:"手动选择",auto:"自动选择",currentTag:"当前",filter:"过滤节点…",hideTimeout:"显示/隐藏超时节点",toggleGroup:"展开/折叠策略组",directHint:"当前为直连模式,所有流量不经过代理节点。",noGroups:"暂无策略组",noGroupsHint:"导入订阅后,策略组和节点会显示在这里"},connections:{active:"活跃连接",totalShort:"总计: ↑{up} ↓{down}",searchPlaceholder:"按域名、IP、进程过滤…",closeAll:"关闭全部",pause:"暂停",resume:"继续",sortTime:"按时间排序",sortUpload:"按上行流量排序",sortDownload:"按下行流量排序",sortHost:"按目标地址排序",colAction:"操作",empty:"没有匹配的活跃连接",closeTitle:"关闭连接",closeAllConfirm:"将强制关闭全部 {n} 条活跃连接,确定继续?"},rules:{searchPlaceholder:"按类型、内容、目标过滤…",colIndex:"#",colType:"类型",colPayload:"匹配内容",colTarget:"目标策略",empty:"没有匹配的规则"},logs:{searchPlaceholder:"搜索日志…",levelLabel:"日志级别",levelAll:"全部",pause:"暂停滚动",resume:"恢复滚动",listening:"正在监听核心日志流…",empty:"当前级别暂无日志",modeLabel:"出站模式:{mode}"},profiles:{downloadPlaceholder:"输入订阅链接,从 URL 下载",download:"下载",downloading:"下载中…",updateAll:"全部更新",import:"导入",paste:"从剪贴板粘贴",update:"更新",edit:"编辑",rename:"改名",renameTitle:"重命名配置",nameLabel:"名称",delete:"删除",clickToUse:"点击切换到此配置",localFile:"本地文件",neverUpdated:"从未更新",usageLabel:"订阅流量用量",statGroups:"策略组",emptyTitle:"暂无配置",emptyHint:"从 URL 下载订阅,或导入本地 YAML 文件",deleteConfirmTitle:"删除配置",deleteConfirmMsg:"删除「{name}」?此操作不可恢复。"},editor:{title:"编辑配置",saving:"保存中…",remoteWarning:"订阅配置:下次更新会覆盖手动修改",discardConfirm:"有未保存的修改,确定放弃?"},settings:{appearanceTitle:"外观",appearanceDesc:"跟随系统或选择控制台主题",editFile:"编辑设置文件",fileTitle:"sash.json",fileHint:"daemonPort 保存后需手动 sash restart 生效",themeTitle:"主题",langTitle:"界面语言",langDesc:"切换控制台显示语言",networkTitle:"网络与监听",mixedPortTitle:"混合代理端口",mixedPortDesc:"本地 HTTP / SOCKS5 混合入站端口(默认 7890,保存后核心自动重启)",allowLanTitle:"允许局域网连接",allowLanDesc:"接受来自局域网其他设备的代理请求",tunTitle:"TUN 模式(虚拟网卡)",tunDesc:"透明接管系统全部流量,必须以管理员 / root 权限启动整个 Sash",tunStateActive:"已生效",tunStateInactive:"未生效",tunStateUnverified:"未核验",tunStateStopped:"待启动",tunStateUnexpected:"状态不一致",tunInactiveDesc:"核心仍在运行,但 TUN 未实际启用;请先运行 sash stop,再从管理员 / root 终端运行 sash start;sash restart 不足以提升 sashd 权限;若已提权,请检查核心错误日志",tunUnverifiedDesc:"TUN 已配置,但无法核验实际运行状态;请先运行 sash stop,再从管理员 / root 终端运行 sash start;若已提权,请检查核心错误日志",tunUnexpectedDesc:"核心报告 TUN 已启用,但 Sash 设置为关闭",coreTitle:"核心控制",restartTitle:"重启核心进程",restartDesc:"重启核心子进程并重新应用配置,活动连接会中断",restartBtn:"重启核心",restartConfirmTitle:"重启核心",restartConfirmMsg:"重启期间活动连接会中断,确定继续?",reloadTitle:"热加载配置",reloadDesc:"重新生成 config.yaml 并通知核心,无需重启进程",reloadBtn:"热加载",aboutTitle:"运行信息",coreVersion:"核心版本"},toast:{modeOk:"出站模式已切换为 {mode}",sysProxyOn:"系统代理已开启",sysProxyOff:"系统代理已关闭",nodeOk:"已切换到节点 {name}",testDone:"延迟测试完成",profileAdded:"已下载「{name}」",profileActivated:"已切换到「{name}」,共 {n} 个节点",profileUpdated:"「{name}」已更新",profileSaved:"「{name}」已保存",profileDeleted:"已删除「{name}」",profileImported:"已导入「{name}」",profilesUpdateAllOk:"已更新 {n} 个配置",profilesUpdateAllPartial:"{n} 个已更新,{f} 个失败",pasteFailed:"无法读取剪贴板",portSaved:"端口已更新,核心已重启",settingSaved:"设置已更新",settingsSavedRestart:"设置已保存;daemonPort 变更需手动执行 sash restart 生效",coreRestarted:"核心已重启",configReloaded:"配置已热加载,共 {n} 个节点",connClosed:"连接已关闭",connAllClosed:"已关闭全部连接",langSwitched:"界面语言已切换",failed:"操作失败: {msg}"},status:{offline:"无法连接 Sash 守护进程,正在自动重试…",coreDegraded:"核心数据刷新失败,暂时显示最后一次有效快照并自动重试…",coreUnavailable:"核心正在运行,但运行数据暂时不可用,正在自动重试…"}},Dl="sash.locale",Nl=typeof window<"u"&&typeof document<"u";function yf(){try{const e=localStorage.getItem(Dl);if(e==="en"||e==="zh")return e}catch{}return"zh"}const to=Fe(yf()),vf={zh:mf,en:gf};function yh(e){to.value=e;try{localStorage.setItem(Dl,e)}catch{}Nl&&(document.documentElement.lang=e==="zh"?"zh-CN":"en")}Nl&&(document.documentElement.lang=to.value==="zh"?"zh-CN":"en");function _(e,t){let n=vf[to.value];for(const o of e.split(".")){if(n===null||typeof n!="object"){n=void 0;break}n=n[o]}let s=typeof n=="string"?n:e;if(t)for(const[o,r]of Object.entries(t))s=s.replaceAll(`{${o}}`,String(r));return s}function Io(e){if(!e||e<=0)return"0 B";const t=1024,n=["B","KB","MB","GB","TB"],s=Math.min(Math.floor(Math.log(e)/Math.log(t)),n.length-1),o=e/t**s;return`${o>=100?Math.round(o):o.toFixed(1)} ${n[s]}`}function ii(e){return`${Io(e)}/s`}function wf(e,t){if(!e)return"-";const n=new Date(e).getTime();if(Number.isNaN(n))return"-";let s=Math.max(0,Math.floor((Date.now()-n)/1e3));const o=Math.floor(s/86400);s%=86400;const r=Math.floor(s/3600),i=Math.floor(s%3600/60);return o>0?_("format.durationDayHour",{d:o,h:r}):r>0?_("format.durationHourMin",{h:r,m:i}):i>0?_("format.durationMin",{m:i}):_("format.durationSec",{s:Math.max(s%60,0)})}function Cf(e=new Date){const t=n=>String(n).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function vh(e,t){const n=new Date(e).getTime();if(!Number.isFinite(n)||n<=0)return"-";const s=Math.floor(Math.max(0,Date.now()-n)/6e4);if(s<1)return _("format.justNow");if(s<60)return _("format.minutesAgo",{n:s});const o=Math.floor(s/60);if(o<24)return _("format.hoursAgo",{n:o});const r=Math.floor(o/24);if(r<30)return _("format.daysAgo",{n:r});const i=Math.floor(r/30);if(i<12)return _("format.monthsAgo",{n:i});const l=Math.floor(i/12);return _("format.yearsAgo",{n:l})}function wh(e){const t=new Date(e*1e3),n=s=>String(s).padStart(2,"0");return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())}`}function bf(e){return e<=0?"bad":e<300?"good":e<800?"mid":"bad"}let gt="";const xe=new sf({baseUrl:"",token:()=>gt,tokenHeader:"x-sash-token"});async function ut(e,t={}){const n={};gt&&(n["X-Sash-Token"]=gt);let s;t.body!==void 0&&(n["Content-Type"]="application/json",s=JSON.stringify(t.body));const o=await fetch(e,{method:t.method??"GET",headers:n,body:s}),r=await o.text();if(!o.ok){let i=r.slice(0,300).trim();if(r)try{const l=JSON.parse(r);l.error!==void 0&&(i=String(l.error))}catch{}throw new Error(i||`HTTP ${o.status}`)}if(t.response!=="void"){if(!r)throw new Error(`Empty JSON response from ${e}`);try{return JSON.parse(r)}catch(i){throw new Error(`Invalid JSON response from ${e}: ${i.message}`)}}}function li(e,t,n){const o=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}${e}`;let r=null,i=null,l=!1;const a=()=>{n?.(),!(l||!gt||i!==null)&&(i=window.setTimeout(()=>{i=null,u()},3e3))},u=()=>{if(!l)try{const c=gt?[ku,`${Fu}${gt}`]:void 0;r=new WebSocket(o,c),r.onmessage=h=>{let y;try{y=JSON.parse(h.data)}catch{return}t(y)},r.onclose=()=>{r=null,a()},r.onerror=()=>r?.close()}catch{a()}};return u(),()=>{l=!0,i!==null&&clearTimeout(i),r?.close()}}const se={initialize:async()=>{try{const e=await xe.health();return gt=e.token,e}catch(e){throw gt="",e}},clearSession:()=>{gt=""},hasSession:()=>gt!=="",getHealth:()=>xe.health(),getStatus:()=>xe.status(),enableSystemProxy:()=>xe.patchSettings({systemProxy:!0}),disableSystemProxy:()=>xe.patchSettings({systemProxy:!1}),getProfiles:()=>xe.listProfiles(),addProfile:e=>xe.addProfile(e),importProfile:(e,t)=>xe.importProfile(e,t),updateProfile:e=>xe.updateProfile(e),updateAllProfiles:()=>xe.updateAllProfiles(),setActiveProfile:e=>xe.activateProfile(e),deleteProfile:e=>xe.removeProfile(e),renameProfile:(e,t)=>xe.renameProfile(e,t),getProfileContent:e=>xe.getProfileContent(e),setProfileContent:(e,t)=>xe.writeProfileContent(e,t),patchSettings:e=>xe.patchSettings(e),getSettingsFile:()=>xe.getSettingsFile(),saveSettingsFile:e=>xe.writeSettingsFile(e),restartCore:()=>xe.restartCore(),reloadCoreConfig:()=>xe.reloadCoreConfig(),getConfigs:()=>ut("/core/api/configs"),setMode:e=>ut("/core/api/configs",{method:"PATCH",body:{mode:e},response:"void"}),getProxies:()=>ut("/core/api/proxies"),selectProxy:(e,t)=>ut(`/core/api/proxies/${encodeURIComponent(e)}`,{method:"PUT",body:{name:t},response:"void"}),testProxyDelay:(e,t="https://www.gstatic.com/generate_204",n=5e3)=>ut(`/core/api/proxies/${encodeURIComponent(e)}/delay?url=${encodeURIComponent(t)}&timeout=${n}`),testGroupDelay:(e,t="https://www.gstatic.com/generate_204",n=5e3)=>ut(`/core/api/group/${encodeURIComponent(e)}/delay?url=${encodeURIComponent(t)}&timeout=${n}`),getConnections:()=>ut("/core/api/connections"),closeConnection:e=>ut(`/core/api/connections/${encodeURIComponent(e)}`,{method:"DELETE",response:"void"}),closeAllConnections:()=>ut("/core/api/connections",{method:"DELETE",response:"void"}),getRules:()=>ut("/core/api/rules"),connectTraffic:(e,t)=>li("/core/api/traffic",n=>{const s=af(n);s&&e(s)},t),connectLogs:e=>li("/core/api/logs",t=>{const n=uf(t);n&&e({...n,time:Cf()})})},_f=["overview","profiles","logs","connections","rules","settings"];function Vl(){if(typeof window>"u")return"overview";let e=window.location.hash.replace(/^#\/?/,"").split("?")[0]??"";return e==="subscription"&&(e="profiles"),_f.includes(e)?e:"overview"}const De=Fe(Vl());typeof window<"u"&&window.addEventListener("hashchange",()=>{De.value=Vl()});function vs(e){De.value!==e&&(window.location.hash=`/${e}`)}const Kn=60,me=new of,mt={observedOwner:null,snapshotProfileRevision:null,lastDaemonStartedAt:null},d=Hi({status:null,daemonOnline:!0,lastProfileRevision:null,coreSnapshotAvailable:!1,coreSnapshotError:null,mode:"rule",traffic:{up:0,down:0,historyUp:Array(Kn).fill(0),historyDown:Array(Kn).fill(0)},proxies:{},proxyGroups:[],manualProxyDelays:{},runtimeGeneration:0,connections:[],connectionsUploadTotal:0,connectionsDownloadTotal:0,rules:[],logs:[],profiles:[],activeProfileId:null,activeGroup:"",operations:{profileMutation:!1,mode:!1,systemProxy:!1,networkSetting:!1,proxySelections:{}},toasts:[]}),us=Q(()=>ar(d.status)),ws=Q(()=>d.status?.core.running??!1),ko=Q(()=>Ze(d.status)),xf=Q(()=>ff(d.status)),fs=Q(()=>lf(d.daemonOnline,Ze(d.status),d.coreSnapshotAvailable,d.coreSnapshotError)),Sf=Q(()=>!d.operations.systemProxy&&Hl(d.status,!ar(d.status)));function Dt(e){return e instanceof Error?e.message:String(e)}function Il(e){d.profiles=e.profiles,d.activeProfileId=e.activeId}function kl(e){const t=Nn(e);if(t===mt.observedOwner){t===null&&(d.coreSnapshotAvailable=!1,d.coreSnapshotError=null,mt.snapshotProfileRevision=null);return}mt.observedOwner=t,mt.snapshotProfileRevision=null,d.coreSnapshotAvailable=!1,d.coreSnapshotError=null,rf(d,Kn)}function Tf(e){mt.lastDaemonStartedAt!==e.daemon.startedAt&&(me.invalidate("profiles"),d.lastProfileRevision=null),mt.lastDaemonStartedAt=e.daemon.startedAt,d.status=e,d.daemonOnline=!0,kl(e)}function cr(e,t){return me.isCurrent("runtime",t)&&Nn(e)!==null&&Nn(d.status)===Nn(e)}function Fl(e,t,n){cr(e,t)&&(d.coreSnapshotError=Dt(n).slice(0,300))}function Bl(e){return e??[]}function Ul(e){d.proxies=e;const t=new Set(["Selector","URLTest","Fallback","LoadBalance","Relay"]),n=Object.keys(e).filter(s=>t.has(e[s]?.type??"")||Array.isArray(e[s]?.all));d.proxyGroups=n,(!d.activeGroup||!n.includes(d.activeGroup))&&(d.activeGroup=n.find(s=>["PROXY","GLOBAL"].includes(s.toUpperCase()))??n[0]??"")}function Fo(){d.traffic={up:0,down:0,historyUp:Array(Kn).fill(0),historyDown:Array(Kn).fill(0)}}async function Lf(e,t){if(Nn(e)===null)return!1;const[n,s,o,r]=await Promise.allSettled([se.getConfigs(),se.getProxies(),se.getRules(),se.getConnections()]);if(n.status==="rejected"||s.status==="rejected"||o.status==="rejected"||r.status==="rejected"){const i=[n,s,o,r].find(l=>l.status==="rejected");return Fl(e,t,i?.reason??"Core snapshot failed"),!1}return cr(e,t)?(mt.snapshotProfileRevision!==null&&mt.snapshotProfileRevision!==e.revisions.profiles&&(d.manualProxyDelays={},Fo(),d.runtimeGeneration+=1),d.mode=n.value.mode,Ul(s.value.proxies),d.rules=o.value.rules,d.connections=Bl(r.value.connections),d.connectionsUploadTotal=r.value.uploadTotal,d.connectionsDownloadTotal=r.value.downloadTotal,mt.snapshotProfileRevision=e.revisions.profiles,d.coreSnapshotAvailable=!0,d.coreSnapshotError=null,!0):!1}async function zl(e,t){const n=d.status;if(n===null||!Ze(n))return;const s=me.begin("runtime");try{const o=await e();cr(n,s)&&t(o)}catch(o){throw Fl(n,s,o),o}}function ai(){return zl(se.getConnections,e=>{d.connections=Bl(e.connections),d.connectionsUploadTotal=e.uploadTotal,d.connectionsDownloadTotal=e.downloadTotal})}async function Ch(e){if(!Ze(d.status))throw new Error("Core is not healthy");await se.closeConnection(e),d.connections=d.connections.filter(t=>t.id!==e)}async function bh(){if(!Ze(d.status))throw new Error("Core is not healthy");await se.closeAllConnections(),d.connections=[]}function Pf(){return zl(se.getProxies,e=>Ul(e.proxies))}async function Af(e){if(d.operations.mode||e===d.mode)return;if(!Ze(d.status))throw new Error("Core is not healthy");d.operations={...d.operations,mode:!0},me.invalidate("runtime");const t=me.begin("mode");try{await se.setMode(e),me.invalidate("runtime"),me.isCurrent("mode",t)&&(d.mode=e)}finally{me.isCurrent("mode",t)&&(d.operations={...d.operations,mode:!1})}}async function Mf(e,t){if(d.operations.proxySelections[e])return;if(!Ze(d.status))throw new Error("Core is not healthy");d.operations={...d.operations,proxySelections:{...d.operations.proxySelections,[e]:!0}},me.invalidate("runtime");const n=`proxy-selection:${e}`,s=me.begin(n);try{await se.selectProxy(e,t),me.invalidate("runtime");const o=d.proxies[e];me.isCurrent(n,s)&&o&&(d.proxies={...d.proxies,[e]:{...o,now:t}})}finally{if(me.isCurrent(n,s)){const o={...d.operations.proxySelections};delete o[e],d.operations={...d.operations,proxySelections:o}}}}function ci(e,t,n){n!==d.runtimeGeneration||!d.proxies[e]||(d.manualProxyDelays={...d.manualProxyDelays,[e]:t})}function $f(e,t){if(t!==d.runtimeGeneration)return;const n={...d.manualProxyDelays};for(const[s,o]of Object.entries(e))d.proxies[s]&&(n[s]=o);d.manualProxyDelays=n}function ui(e){return df(e,d.proxies,d.manualProxyDelays)}function Ef(){me.invalidate("runtime"),me.invalidate("profiles"),kl(null),d.daemonOnline=!1,d.status=null}async function Of(e,t){if(d.lastProfileRevision===e.revisions.profiles)return!0;const n=me.begin("profiles");try{const s=await se.getProfiles();return!me.isCurrent("runtime",t)||!me.isCurrent("profiles",n)||d.status?.daemon.startedAt!==e.daemon.startedAt?!1:(Il(s),d.lastProfileRevision=e.revisions.profiles,!0)}catch{return!1}}async function Zl(e){const t=me.begin("runtime"),n=await se.getStatus();if(!me.isCurrent("runtime",t))return"status";Tf(n);const s=Of(n,t);if(!Ze(n))return await s,"stopped";if(!(e||!d.coreSnapshotAvailable||d.coreSnapshotError!==null||mt.snapshotProfileRevision!==n.revisions.profiles))return await s,"status";const[,r]=await Promise.all([s,Lf(n,t)]);return r?"full":"degraded"}async function ur(){await Zl(!0)}function fr(){return Zl(!1)}function Rf(e=2e3){const t=Math.max(e,15e3);let n=!1,s=!1,o=!1,r=null,i=0;const l=()=>{r!==null&&(window.clearTimeout(r),r=null)},a=y=>{l(),r=window.setTimeout(()=>{r=null,u()},y)},u=async()=>{if(!(n||s)){s=!0;try{await se.initialize();const y=await fr();i+=1,y==="status"&&Ze(d.status)&&((De.value==="connections"||De.value==="overview")&&await ai().catch(()=>{}),i%3===0&&await Pf().catch(()=>{}))}catch{se.clearSession(),Ef()}finally{s=!1,n||(o&&!document.hidden?(o=!1,a(0)):a(document.hidden?t:e))}}},c=()=>{n||(l(),document.hidden?(o=!1,s||a(t)):s?o=!0:u())};document.addEventListener("visibilitychange",c);const h=Vt(De,y=>{n||(y==="connections"||y==="overview")&&Ze(d.status)&&ai().catch(()=>{})});return u(),()=>{n=!0,o=!1,l(),h(),document.removeEventListener("visibilitychange",c)}}async function Hf(e){if(!d.operations.systemProxy){if(!Hl(d.status,e))throw new Error(e?"Cannot enable system proxy: Core is not healthy":"System proxy is already off");d.operations={...d.operations,systemProxy:!0},me.invalidate("runtime");try{e?await se.enableSystemProxy():await se.disableSystemProxy(),d.status&&(d.status={...d.status,systemProxy:{...d.status.systemProxy,desired:e,applied:e}}),await fr()}finally{d.operations={...d.operations,systemProxy:!1}}}}async function Df(e,t){if(!d.operations.networkSetting){d.operations={...d.operations,networkSetting:!0},me.invalidate("runtime");try{const n=await se.patchSettings(e==="tun"?{tun:t}:{allowLan:t});d.status=pf(d.status,e,t,n.settings),await ur()}finally{d.operations={...d.operations,networkSetting:!1}}}}async function Nf(){const e=me.begin("profiles"),t=d.status,n=await se.getProfiles();me.isCurrent("profiles",e)&&(Il(n),t&&d.status?.daemon.startedAt===t.daemon.startedAt&&(d.lastProfileRevision=t.revisions.profiles))}async function sn(e,t){if(d.operations.profileMutation)throw new Error("A profile operation is already running");d.operations={...d.operations,profileMutation:!0},me.invalidate("runtime"),me.invalidate("profiles");try{return await hf(e,Nf,async n=>{t(n)&&await ur()})}finally{d.operations={...d.operations,profileMutation:!1}}}async function _h(e,t){await se.renameProfile(e,t),await fr()}function xh(e){return sn(()=>se.addProfile(e),t=>t.activated)}function Sh(e,t){return sn(()=>se.importProfile(e,t),n=>n.activated)}function Vf(e){return sn(()=>se.updateProfile(e),t=>t.proxyCount!==void 0)}function Th(e,t){return sn(()=>se.setProfileContent(e,t),n=>n.proxyCount!==void 0)}function Lh(){return sn(()=>se.updateAllProfiles(),e=>e.proxyCount!==void 0)}function Ph(e){return sn(()=>se.setActiveProfile(e),()=>!0)}function Ah(e){return sn(()=>se.deleteProfile(e),t=>t.wasActive)}const If=100;let kf=0,Vn=[],In=null;function Ff(e,t=d.runtimeGeneration){t!==d.runtimeGeneration||!Ze(d.status)||(d.traffic={up:e.up,down:e.down,historyUp:[...d.traffic.historyUp.slice(-59),e.up],historyDown:[...d.traffic.historyDown.slice(-59),e.down]})}function Bf(e,t=d.runtimeGeneration){t===d.runtimeGeneration&&(Vn.push({...e,id:++kf}),In===null&&(In=setTimeout(Uf,If)))}function Uf(){In!==null&&(clearTimeout(In),In=null),Vn.length!==0&&(d.logs=d.logs.concat(Vn).slice(-600),Vn=[])}function Mh(){Vn=[],d.logs=[]}let zf=0;function yo(e,t){const n=++zf;d.toasts=[...d.toasts,{id:n,kind:e,text:t}],window.setTimeout(()=>Gl(n),4200)}function Gl(e){d.toasts=d.toasts.filter(t=>t.id!==e)}const je={success:e=>yo("success",e),error:e=>yo("error",e),info:e=>yo("info",e)},Zf=Array.prototype.slice;function k(e,t=null,n=null){return(arguments.length>3||pn(n))&&(n=Zf.call(arguments,2)),X(e,t,n)}const Gf=W({name:"RiArrowLeftRightLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M16.0503 12.0498L21 16.9996L16.0503 21.9493L14.636 20.5351L17.172 17.9988L4 17.9996V15.9996L17.172 15.9988L14.636 13.464L16.0503 12.0498ZM7.94975 2.0498L9.36396 3.46402L6.828 5.9988L20 5.99955V7.99955L6.828 7.9988L9.36396 10.5351L7.94975 11.9493L3 6.99955L7.94975 2.0498Z"}))}}),jf=W({name:"RiCheckboxCircleLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z"}))}}),Kf=W({name:"RiClipboardLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M7 4V2H17V4H20.0066C20.5552 4 21 4.44495 21 4.9934V21.0066C21 21.5552 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5551 3 21.0066V4.9934C3 4.44476 3.44495 4 3.9934 4H7ZM7 6H5V20H19V6H17V8H7V6ZM9 4V6H15V4H9Z"}))}}),qf=W({name:"RiCloseLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"}))}}),Wf=W({name:"RiCodeSSlashLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M24 12L18.3431 17.6569L16.9289 16.2426L21.1716 12L16.9289 7.75736L18.3431 6.34315L24 12ZM2.82843 12L7.07107 16.2426L5.65685 17.6569L0 12L5.65685 6.34315L7.07107 7.75736L2.82843 12ZM9.78845 21H7.66009L14.2116 3H16.3399L9.78845 21Z"}))}}),Jf=W({name:"RiComputerLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z"}))}}),Yf=W({name:"RiDashboardLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M14 21C13.4477 21 13 20.5523 13 20V12C13 11.4477 13.4477 11 14 11H20C20.5523 11 21 11.4477 21 12V20C21 20.5523 20.5523 21 20 21H14ZM4 13C3.44772 13 3 12.5523 3 12V4C3 3.44772 3.44772 3 4 3H10C10.5523 3 11 3.44772 11 4V12C11 12.5523 10.5523 13 10 13H4ZM9 11V5H5V11H9ZM4 21C3.44772 21 3 20.5523 3 20V16C3 15.4477 3.44772 15 4 15H10C10.5523 15 11 15.4477 11 16V20C11 20.5523 10.5523 21 10 21H4ZM5 19H9V17H5V19ZM15 19H19V13H15V19ZM13 4C13 3.44772 13.4477 3 14 3H20C20.5523 3 21 3.44772 21 4V8C21 8.55228 20.5523 9 20 9H14C13.4477 9 13 8.55228 13 8V4ZM15 5V7H19V5H15Z"}))}}),Xf=W({name:"RiDeleteBin6Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z"}))}}),Qf=W({name:"RiDownload2Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M13 10H18L12 16L6 10H11V3H13V10ZM4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19Z"}))}}),ed=W({name:"RiEditLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M6.41421 15.89L16.5563 5.74785L15.1421 4.33363L5 14.4758V15.89H6.41421ZM7.24264 17.89H3V13.6473L14.435 2.21231C14.8256 1.82179 15.4587 1.82179 15.8492 2.21231L18.6777 5.04074C19.0682 5.43126 19.0682 6.06443 18.6777 6.45495L7.24264 17.89ZM3 19.89H21V21.89H3V19.89Z"}))}}),td=W({name:"RiErrorWarningLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"}))}}),nd=W({name:"RiEyeLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z"}))}}),sd=W({name:"RiEyeOffLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z"}))}}),od=W({name:"RiFilter3Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z"}))}}),rd=W({name:"RiFlashlightLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M13 9H21L11 24V15H4L13 0V9ZM11 11V7.22063L7.53238 13H13V17.3944L17.263 11H11Z"}))}}),id=W({name:"RiGlobalLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z"}))}}),ld=W({name:"RiInformationLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"}))}}),ad=W({name:"RiLoader2Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 2C12.5523 2 13 2.44772 13 3V6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6V3C11 2.44772 11.4477 2 12 2ZM12 17C12.5523 17 13 17.4477 13 18V21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21V18C11 17.4477 11.4477 17 12 17ZM22 12C22 12.5523 21.5523 13 21 13H18C17.4477 13 17 12.5523 17 12C17 11.4477 17.4477 11 18 11H21C21.5523 11 22 11.4477 22 12ZM7 12C7 12.5523 6.55228 13 6 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H6C6.55228 11 7 11.4477 7 12ZM19.0711 19.0711C18.6805 19.4616 18.0474 19.4616 17.6569 19.0711L15.5355 16.9497C15.145 16.5592 15.145 15.9261 15.5355 15.5355C15.9261 15.145 16.5592 15.145 16.9497 15.5355L19.0711 17.6569C19.4616 18.0474 19.4616 18.6805 19.0711 19.0711ZM8.46447 8.46447C8.07394 8.85499 7.44078 8.85499 7.05025 8.46447L4.92893 6.34315C4.53841 5.95262 4.53841 5.31946 4.92893 4.92893C5.31946 4.53841 5.95262 4.53841 6.34315 4.92893L8.46447 7.05025C8.85499 7.44078 8.85499 8.07394 8.46447 8.46447ZM4.92893 19.0711C4.53841 18.6805 4.53841 18.0474 4.92893 17.6569L7.05025 15.5355C7.44078 15.145 8.07394 15.145 8.46447 15.5355C8.85499 15.9261 8.85499 16.5592 8.46447 16.9497L6.34315 19.0711C5.95262 19.4616 5.31946 19.4616 4.92893 19.0711ZM15.5355 8.46447C15.145 8.07394 15.145 7.44078 15.5355 7.05025L17.6569 4.92893C18.0474 4.53841 18.6805 4.53841 19.0711 4.92893C19.4616 5.31946 19.4616 5.95262 19.0711 6.34315L16.9497 8.46447C16.5592 8.85499 15.9261 8.85499 15.5355 8.46447Z"}))}}),cd=W({name:"RiMoonLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z"}))}}),ud=W({name:"RiPauseLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M6 5H8V19H6V5ZM16 5H18V19H16V5Z"}))}}),fd=W({name:"RiPencilLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M15.7279 9.57627L14.3137 8.16206L5 17.4758V18.89H6.41421L15.7279 9.57627ZM17.1421 8.16206L18.5563 6.74785L17.1421 5.33363L15.7279 6.74785L17.1421 8.16206ZM7.24264 20.89H3V16.6473L16.435 3.21231C16.8256 2.82179 17.4587 2.82179 17.8492 3.21231L20.6777 6.04074C21.0682 6.43126 21.0682 7.06443 20.6777 7.45495L7.24264 20.89Z"}))}}),dd=W({name:"RiPlayLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z"}))}}),pd=W({name:"RiQuestionLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM13 13.3551V14H11V12.5C11 11.9477 11.4477 11.5 12 11.5C12.8284 11.5 13.5 10.8284 13.5 10C13.5 9.17157 12.8284 8.5 12 8.5C11.2723 8.5 10.6656 9.01823 10.5288 9.70577L8.56731 9.31346C8.88637 7.70919 10.302 6.5 12 6.5C13.933 6.5 15.5 8.067 15.5 10C15.5 11.5855 14.4457 12.9248 13 13.3551Z"}))}}),hd=W({name:"RiRefreshLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z"}))}}),gd=W({name:"RiSearchLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"}))}}),md=W({name:"RiSettings3Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z"}))}}),yd=W({name:"RiShutDownLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M6.26489 3.80698L7.41191 5.44558C5.34875 6.89247 4 9.28873 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 9.28873 18.6512 6.89247 16.5881 5.44558L17.7351 3.80698C20.3141 5.61559 22 8.61091 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 8.61091 3.68594 5.61559 6.26489 3.80698ZM11 12V2H13V12H11Z"}))}}),vd=W({name:"RiSpeedLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 13.3334L2.77735 19.4818C2.54759 19.635 2.23715 19.5729 2.08397 19.3432C2.02922 19.261 2 19.1645 2 19.0658V4.93433C2 4.65818 2.22386 4.43433 2.5 4.43433C2.59871 4.43433 2.69522 4.46355 2.77735 4.5183L12 10.6667V4.93433C12 4.65818 12.2239 4.43433 12.5 4.43433C12.5987 4.43433 12.6952 4.46355 12.7774 4.5183L23.376 11.584C23.6057 11.7372 23.6678 12.0477 23.5146 12.2774C23.478 12.3323 23.4309 12.3795 23.376 12.4161L12.7774 19.4818C12.5476 19.635 12.2372 19.5729 12.084 19.3432C12.0292 19.261 12 19.1645 12 19.0658V13.3334ZM10.3944 12.0001L4 7.7371V16.263L10.3944 12.0001ZM14 7.7371V16.263L20.3944 12.0001L14 7.7371Z"}))}}),wd=W({name:"RiStackLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M20.0833 15.1999L21.2854 15.9212C21.5221 16.0633 21.5989 16.3704 21.4569 16.6072C21.4146 16.6776 21.3557 16.7365 21.2854 16.7787L12.5144 22.0412C12.1977 22.2313 11.8021 22.2313 11.4854 22.0412L2.71451 16.7787C2.47772 16.6366 2.40093 16.3295 2.54301 16.0927C2.58523 16.0223 2.64413 15.9634 2.71451 15.9212L3.9166 15.1999L11.9999 20.0499L20.0833 15.1999ZM20.0833 10.4999L21.2854 11.2212C21.5221 11.3633 21.5989 11.6704 21.4569 11.9072C21.4146 11.9776 21.3557 12.0365 21.2854 12.0787L11.9999 17.6499L2.71451 12.0787C2.47772 11.9366 2.40093 11.6295 2.54301 11.3927C2.58523 11.3223 2.64413 11.2634 2.71451 11.2212L3.9166 10.4999L11.9999 15.3499L20.0833 10.4999ZM12.5144 1.30864L21.2854 6.5712C21.5221 6.71327 21.5989 7.0204 21.4569 7.25719C21.4146 7.32757 21.3557 7.38647 21.2854 7.42869L11.9999 12.9999L2.71451 7.42869C2.47772 7.28662 2.40093 6.97949 2.54301 6.7427C2.58523 6.67232 2.64413 6.61343 2.71451 6.5712L11.4854 1.30864C11.8021 1.11864 12.1977 1.11864 12.5144 1.30864ZM11.9999 3.33233L5.88723 6.99995L11.9999 10.6676L18.1126 6.99995L11.9999 3.33233Z"}))}}),Cd=W({name:"RiSunLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16ZM11 1H13V4H11V1ZM11 20H13V23H11V20ZM3.51472 4.92893L4.92893 3.51472L7.05025 5.63604L5.63604 7.05025L3.51472 4.92893ZM16.9497 18.364L18.364 16.9497L20.4853 19.0711L19.0711 20.4853L16.9497 18.364ZM19.0711 3.51472L20.4853 4.92893L18.364 7.05025L16.9497 5.63604L19.0711 3.51472ZM5.63604 16.9497L7.05025 18.364L4.92893 20.4853L3.51472 19.0711L5.63604 16.9497ZM23 11V13H20V11H23ZM4 11V13H1V11H4Z"}))}}),bd=W({name:"RiTerminalBoxLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM12 15H18V17H12V15ZM8.66685 12L5.83842 9.17157L7.25264 7.75736L11.4953 12L7.25264 16.2426L5.83842 14.8284L8.66685 12Z"}))}}),_d=W({name:"RiTimerLine",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M17.6177 5.9681L19.0711 4.51472L20.4853 5.92893L19.0319 7.38231C20.2635 8.92199 21 10.875 21 13C21 17.9706 16.9706 22 12 22C7.02944 22 3 17.9706 3 13C3 8.02944 7.02944 4 12 4C14.125 4 16.078 4.73647 17.6177 5.9681ZM12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6C8.13401 6 5 9.13401 5 13C5 16.866 8.13401 20 12 20ZM11 8H13V14H11V8ZM8 1H16V3H8V1Z"}))}}),xd=W({name:"RiUpload2Line",props:{size:{type:String,default:"24px"},color:{type:String,default:"currentColor"},className:{type:String,default:""}},render(){return k("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:this.size,height:this.size,fill:this.color,class:["remixicon",this.className]},k("path",{d:"M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM13 9V16H11V9H6L12 3L18 9H13Z"}))}}),Sd={alert:td,"check-circle":jf,clipboard:Kf,code:Wf,download:Qf,edit:ed,eye:nd,"eye-off":sd,globe:id,grid:Yf,info:ld,layers:wd,"list-filter":od,loader:ad,monitor:Jf,moon:cd,pause:ud,pencil:fd,play:dd,power:yd,refresh:hd,search:gd,settings:md,speed:vd,sun:Cd,swap:Gf,terminal:bd,timer:_d,trash:Xf,upload:xd,x:qf,zap:rd};function Td(e){return Sd[e]??pd}const Ld=W({__name:"Icon",props:{name:{},size:{default:14}},setup(e){const t=e,n=Q(()=>Td(t.name)),s=Q(()=>typeof t.size=="number"?`${t.size}px`:t.size);return(o,r)=>(U(),Oe(el(n.value),{size:s.value,color:"currentColor","class-name":"sash-icon","aria-hidden":"true",focusable:"false"},null,8,["size"]))}}),et=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Je=et(Ld,[["__scopeId","data-v-1f90b3d4"]]),Pd={class:"sidebar"},Ad={class:"traffic-panel","aria-live":"off"},Md=["title"],$d={class:"traffic-number mono"},Ed={class:"traffic-unit mono"},Od=["title"],Rd={class:"traffic-number mono"},Hd={class:"traffic-unit mono"},Dd=["aria-label"],Nd=["aria-current","onClick"],Vd={class:"nav-icon"},Id={class:"nav-label"},kd={class:"side-foot"},Fd={class:"runtime mono"},Bd=["title"],Ud={class:"core-label"},zd=W({__name:"AppSidebar",setup(e){function t(v){const A=Number.isFinite(v)?Math.max(0,v):0,S=["B/s","KB/s","MB/s","GB/s","TB/s"];if(A<1024)return{numberText:Math.round(A).toString(),unitText:S[0]??"B/s"};const x=Math.min(Math.floor(Math.log(A)/Math.log(1024)),S.length-1);return{numberText:(A/1024**x).toFixed(2),unitText:S[x]??"B/s"}}const n=[{route:"overview",icon:"grid"},{route:"profiles",icon:"layers"},{route:"logs",icon:"terminal"},{route:"connections",icon:"swap"},{route:"rules",icon:"list-filter"},{route:"settings",icon:"settings"}];function s(v,A){if(!v)return"00 : 00 : 00";const S=new Date(v).getTime();if(!Number.isFinite(S))return"00 : 00 : 00";const x=Math.max(0,Math.floor((A-S)/1e3)),F=Math.floor(x/3600),E=Math.floor(x%3600/60),R=x%60,N=$=>$.toString().padStart(2,"0");return`${N(F)} : ${N(E)} : ${N(R)}`}const o=Fe(Date.now());let r=null;const i=Q(()=>n.findIndex(v=>v.route===De.value)),l=Q(()=>t(d.traffic.up)),a=Q(()=>t(d.traffic.down)),u=Q(()=>s(d.status?.core.startedAt,o.value)),c=Q(()=>{const v=ws.value?_("app.coreRunning"):_("app.coreStopped");return d.status?.core.pid?`${v} · PID ${d.status.core.pid}`:v});function h(){r!==null||document.hidden||(r=window.setInterval(()=>{o.value=Date.now()},1e3))}function y(){r!==null&&(window.clearInterval(r),r=null)}function m(){document.hidden?y():(o.value=Date.now(),h())}qs(()=>{h(),document.addEventListener("visibilitychange",m)}),yn(()=>{y(),document.removeEventListener("visibilitychange",m)});function w(v){return{active:i.value===v,"before-active":i.value===v+1,"after-active":i.value===v-1}}return(v,A)=>(U(),J("aside",Pd,[C("div",Ad,[C("div",{class:"traffic-row up",title:g(_)("overview.upload")},[A[0]||(A[0]=C("span",{class:"traffic-arrow"},"↑",-1)),C("span",$d,B(l.value.numberText),1),C("span",Ed,B(l.value.unitText),1)],8,Md),C("div",{class:"traffic-row down",title:g(_)("overview.download")},[A[1]||(A[1]=C("span",{class:"traffic-arrow"},"↓",-1)),C("span",Rd,B(a.value.numberText),1),C("span",Hd,B(a.value.unitText),1)],8,Od)]),C("nav",{class:"side-nav","aria-label":g(_)("app.navigation")},[(U(),J(ie,null,nn(n,(S,x)=>C("button",{key:S.route,type:"button",class:Se(["side-nav-item",w(x)]),"aria-current":g(De)===S.route?"page":void 0,onClick:F=>g(vs)(S.route)},[C("span",Vd,[X(Je,{name:S.icon,size:19},null,8,["name"])]),C("span",Id,B(g(_)(`nav.${S.route}`)),1)],10,Nd)),64))],8,Dd),C("div",kd,[C("div",Fd,B(u.value),1),C("div",{class:"core-row",title:c.value},[C("span",{class:Se(["dot",g(ws)?"dot-success":"dot-muted"])},null,2),C("span",Ud,B(g(ws)?g(_)("common.running"):g(_)("common.stopped")),1)],8,Bd)])]))}}),Zd=et(zd,[["__scopeId","data-v-7a650a34"]]),Gd=["button:not([disabled])","[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable="true"]','[tabindex]:not([tabindex="-1"])'].join(", "),ln=[];let ds=!1;function jl(e){return Array.from(e.querySelectorAll(Gd)).filter(t=>!t.hasAttribute("hidden"))}function fi(e){if(e.defaultPrevented)return;const t=ln[ln.length-1],n=t?.container();if(!t||!n)return;if(e.key==="Escape"){e.preventDefault(),t.onEscape();return}if(e.key!=="Tab")return;const s=jl(n);if(s.length===0){e.preventDefault(),n.focus();return}const o=s[0],r=s[s.length-1],i=document.activeElement;e.shiftKey&&(i===o||i===n||!n.contains(i))?(e.preventDefault(),r?.focus()):!e.shiftKey&&(i===r||!n.contains(i))&&(e.preventDefault(),o?.focus())}function jd(e){const t={container:()=>e.container.value,onEscape:e.onEscape};let n=!1,s=null;async function o(){if(n||typeof window>"u"||(n=!0,s=document.activeElement instanceof HTMLElement?document.activeElement:null,ln.push(t),ds||(window.addEventListener("keydown",fi),ds=!0),await _s(),!n))return;const i=e.container.value;(e.initialFocus?.()??(i?jl(i)[0]:null)??i)?.focus()}function r(){if(!n)return;n=!1;const i=ln.indexOf(t);i!==-1&&ln.splice(i,1),ln.length===0&&ds&&(window.removeEventListener("keydown",fi),ds=!1);const l=s;s=null,!(!l?.isConnected||typeof l.focus!="function")&&_s(()=>{l.isConnected&&l.focus({preventScroll:!0})})}return{open:o,close:r}}let kn=0,Bo=null,Uo=null;function Kd(){typeof document>"u"||(kn===0&&(Bo=document.body.style.overflow,Uo=document.documentElement.style.overflow,document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"),kn+=1)}function qd(){typeof document>"u"||kn!==0&&(kn-=1,!(kn>0)&&(document.body.style.overflow=Bo??"",document.documentElement.style.overflow=Uo??"",Bo=null,Uo=null))}const we=Gs({visible:!1,title:"",message:"",confirmText:_("common.confirm"),cancelText:_("common.cancel"),danger:!1,resolve:null});function Wd(e){return we.resolve&&Kt(!1),we.title=e.title,we.message=e.message,we.confirmText=e.confirmText??_("common.confirm"),we.cancelText=e.cancelText??_("common.cancel"),we.danger=e.danger??!1,we.visible=!0,new Promise(t=>{we.resolve=t})}function Kt(e){we.visible=!1,we.resolve?.(e),we.resolve=null}const Jd={class:"dialog-actions"},Yd=W({__name:"ConfirmDialog",setup(e){const t=Fe(null),n=Fe(null),s=Fe(null),o=Wi(),r=`${o}-title`,i=`${o}-description`;let l=!1;const{open:a,close:u}=jd({container:t,initialFocus:()=>(we.danger?n.value:s.value)??n.value,onEscape:()=>Kt(!1)});function c(){l||(Kd(),l=!0)}function h(){l&&(qd(),l=!1)}return Vt(()=>we.visible,async y=>{if(y){c(),await a();return}h(),u()},{immediate:!0}),Vt(De,()=>{we.visible&&Kt(!1)}),yn(()=>{we.visible&&Kt(!1),h(),u()}),(y,m)=>(U(),Oe(zi,{to:"body"},[X(Ll,{name:"fade"},{default:mn(()=>[g(we).visible?(U(),J("div",{key:0,class:"overlay",onClick:m[2]||(m[2]=ys(w=>g(Kt)(!1),["self"]))},[C("div",{ref_key:"dialogElement",ref:t,class:"dialog card",role:"alertdialog","aria-modal":"true","aria-labelledby":r,"aria-describedby":i,tabindex:"-1"},[C("h3",{id:r,class:"dialog-title"},B(g(we).title),1),C("p",{id:i,class:"dialog-msg"},B(g(we).message),1),C("div",Jd,[C("button",{ref_key:"cancelButton",ref:n,type:"button",class:"btn btn-secondary btn-sm",onClick:m[0]||(m[0]=w=>g(Kt)(!1))},B(g(we).cancelText),513),C("button",{ref_key:"confirmButton",ref:s,type:"button",class:Se(["btn btn-sm",g(we).danger?"btn-danger":"btn-primary"]),onClick:m[1]||(m[1]=w=>g(Kt)(!0))},B(g(we).confirmText),3)])],512)])):Te("",!0)]),_:1})]))}}),Xd=et(Yd,[["__scopeId","data-v-a4c3d877"]]),Qd={class:"toast-host","aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text"},e1={class:"toast-icon"},t1={class:"toast-text"},n1=["aria-label","onClick"],s1=W({__name:"ToastHost",setup(e){function t(n){return n==="success"?"check-circle":n==="error"?"alert":"info"}return(n,s)=>(U(),Oe(zi,{to:"body"},[C("div",Qd,[X(Cu,{name:"toast"},{default:mn(()=>[(U(!0),J(ie,null,nn(g(d).toasts,o=>(U(),J("div",{key:o.id,class:Se(["toast",`toast-${o.kind}`])},[C("span",e1,[X(Je,{name:t(o.kind),size:14},null,8,["name"])]),C("span",t1,B(o.text),1),C("button",{type:"button",class:"toast-close","aria-label":g(_)("common.close"),onClick:r=>g(Gl)(o.id)},[X(Je,{name:"x",size:12})],8,n1)],2))),128))]),_:1})])]))}}),o1=et(s1,[["__scopeId","data-v-98c7b3bc"]]),vo=Q(()=>{const e=d.status?.core.version;return e?e.startsWith("v")?e:`v${e}`:""}),wo=Q(()=>{switch(xf.value){case"active":return{text:_("settings.tunStateActive"),title:_("settings.tunDesc"),className:"badge-success"};case"inactive":return{text:_("settings.tunStateInactive"),title:_("settings.tunInactiveDesc"),className:"badge-warning"};case"unverified":return{text:_("settings.tunStateUnverified"),title:_("settings.tunUnverifiedDesc"),className:"badge-warning"};case"stopped":return{text:_("settings.tunStateStopped"),title:_("settings.tunDesc"),className:"badge-neutral"};case"unexpected-active":return{text:_("settings.tunStateUnexpected"),title:_("settings.tunUnexpectedDesc"),className:"badge-warning"};default:return null}});function r1(){const e=Fe(!1);async function t(){if(!(e.value||!await Wd({title:_("settings.restartConfirmTitle"),message:_("settings.restartConfirmMsg"),confirmText:_("common.confirm"),cancelText:_("common.cancel"),danger:!0}))){e.value=!0;try{await se.restartCore(),await ur(),je.success(_("toast.coreRestarted"))}catch(s){je.error(_("toast.failed",{msg:Dt(s)}))}finally{e.value=!1}}}return{restarting:e,restartCore:t}}const i1=["viewBox","aria-label"],l1=["y1","y2"],a1=["d","fill"],c1=["d","fill"],u1=["d"],f1=["d"],ps=600,Ct=148,Co=6,d1=W({__name:"TrafficChart",props:{down:{},up:{},height:{default:150},label:{}},setup(e){const t=e,n=Q(()=>t.label??_("overview.trafficChartLabel")),s=Wi(),o=`${s}-down-fill`,r=`${s}-up-fill`,i=[Ct*.25,Ct*.5,Ct*.75],l=Q(()=>{const S=Math.max(...t.down,...t.up,0);return S>0?S*1.15:1024});function a(S){const x=S.length;if(x===0)return[];const F=ps/Math.max(x-1,1);return S.map((E,R)=>{const N=R*F,$=Ct-Co-Math.min(E,l.value)/l.value*(Ct-Co*2);return[N,$]})}function u(S){if(S.length===0)return"";const x=S[0];if(!x||S.length===1)return`M ${x?.[0]??0} ${Ct-Co}`;let F=`M ${x[0].toFixed(1)} ${x[1].toFixed(1)}`;for(let E=0;E<S.length-1;E++){const R=S[E-1]??S[E]??x,N=S[E]??x,$=S[E+1]??N,ee=S[E+2]??$,Z=N[0]+($[0]-R[0])/6,te=N[1]+($[1]-R[1])/6,le=$[0]-(ee[0]-N[0])/6,I=$[1]-(ee[1]-N[1])/6;F+=` C ${Z.toFixed(1)} ${te.toFixed(1)}, ${le.toFixed(1)} ${I.toFixed(1)}, ${$[0].toFixed(1)} ${$[1].toFixed(1)}`}return F}function c(S,x){if(!x)return"";const F=S[S.length-1],E=S[0];return`${x} L ${F?.[0]??ps} ${Ct} L ${E?.[0]??0} ${Ct} Z`}const h=Q(()=>a(t.down)),y=Q(()=>a(t.up)),m=Q(()=>u(h.value)),w=Q(()=>u(y.value)),v=Q(()=>c(h.value,m.value)),A=Q(()=>c(y.value,w.value));return(S,x)=>(U(),J("svg",{class:"traffic-chart",style:Us({"--traffic-chart-height":`${e.height}px`}),viewBox:`0 0 ${ps} ${Ct}`,preserveAspectRatio:"none",role:"img","aria-label":n.value},[C("defs",null,[C("linearGradient",{id:o,x1:"0",y1:"0",x2:"0",y2:"1"},[...x[0]||(x[0]=[C("stop",{offset:"0%","stop-color":"var(--chart-down)","stop-opacity":"0.12"},null,-1),C("stop",{offset:"100%","stop-color":"var(--chart-down)","stop-opacity":"0"},null,-1)])]),C("linearGradient",{id:r,x1:"0",y1:"0",x2:"0",y2:"1"},[...x[1]||(x[1]=[C("stop",{offset:"0%","stop-color":"var(--chart-up)","stop-opacity":"0.1"},null,-1),C("stop",{offset:"100%","stop-color":"var(--chart-up)","stop-opacity":"0"},null,-1)])])]),(U(),J(ie,null,nn(i,F=>C("line",{key:F,x1:0,x2:ps,y1:F,y2:F,stroke:"var(--border)","stroke-width":"1","stroke-dasharray":"3 5"},null,8,l1)),64)),C("path",{d:v.value,fill:`url(#${o})`},null,8,a1),C("path",{d:A.value,fill:`url(#${r})`},null,8,c1),C("path",{d:m.value,fill:"none",stroke:"var(--chart-down)","stroke-width":"1.6","stroke-linecap":"round","vector-effect":"non-scaling-stroke"},null,8,u1),C("path",{d:w.value,fill:"none",stroke:"var(--chart-up)","stroke-width":"1.6","stroke-linecap":"round","vector-effect":"non-scaling-stroke"},null,8,f1)],12,i1))}}),p1=et(d1,[["__scopeId","data-v-68611f87"]]),h1=["aria-label"],g1={class:"identity-row"},m1={class:"identity-copy"},y1={class:"identity-meta mono"},v1=["aria-label"],w1=["aria-label"],C1=["aria-pressed","disabled","onClick"],b1={class:"mode-code"},_1={class:"mode-name"},x1=["aria-label"],S1=["aria-pressed","disabled"],T1={class:"toggle-name"},L1={class:"toggle-state"},P1=["aria-pressed","disabled"],A1={class:"toggle-name"},M1={class:"toggle-state"},$1=["aria-pressed","disabled"],E1={class:"toggle-name"},O1=["title"],R1={class:"general-list"},H1={class:"general-row"},D1={class:"general-label"},N1={class:"general-value mono"},V1={class:"general-row"},I1={class:"general-label"},k1={class:"general-value"},F1=["title"],B1={class:"general-row profile-row"},U1={class:"general-label"},z1={key:0},Z1={key:0,class:"general-value profile-value"},G1=["title"],j1=["title","aria-label","disabled"],K1=["aria-label"],q1={class:"pane-section-heading traffic-heading"},W1={class:"mono"},J1={class:"live-state"},Y1={class:"traffic-metrics"},X1={class:"traffic-metric"},Q1={class:"mono down-value"},ep={class:"traffic-metric"},tp={class:"mono up-value"},np={class:"traffic-totals"},sp={class:"mono"},op={class:"mono"},rp=W({__name:"OverviewGeneralPane",setup(e){const t=Fe(!1),n=Q(()=>wf(d.status?.core.startedAt,to.value)),s=Q(()=>d.status?.activeProfile??null),o=Q(()=>d.status?.settings.allowLan??!1),r=Q(()=>d.status?.settings.tun??!1),i=Q(()=>{const m=wo.value?.className;if(m==="badge-success")return"state-ok";if(m==="badge-warning"||m==="badge-danger")return"state-warn"}),l=Q(()=>Object.values(d.proxies).filter(m=>!(Array.isArray(m.all)&&m.all.length>0)).length),a=Q(()=>[{id:"global",label:_("overview.modeGlobal")},{id:"rule",label:_("overview.modeRule")},{id:"direct",label:_("overview.modeDirect")}]);async function u(m){if(m!==d.mode)try{await Af(m),je.success(_("toast.modeOk",{mode:_(`overview.mode${m[0]?.toUpperCase()}${m.slice(1)}`)}))}catch(w){je.error(_("toast.failed",{msg:Dt(w)}))}}async function c(m){try{await Hf(m),je.success(_(m?"toast.sysProxyOn":"toast.sysProxyOff"))}catch(w){je.error(_("toast.failed",{msg:Dt(w)}))}}async function h(m,w){try{await Df(m,w),je.success(_("toast.settingSaved"))}catch(v){je.error(_("toast.failed",{msg:Dt(v)}))}}async function y(){const m=s.value;if(!(!m?.url||t.value)){t.value=!0;try{await Vf(m.id),je.success(_("toast.profileUpdated",{name:m.name}))}catch(w){je.error(_("toast.failed",{msg:Dt(w)}))}finally{t.value=!1}}}return(m,w)=>(U(),J("aside",{class:"general-pane","aria-label":g(_)("overview.coreTitle")},[C("div",g1,[w[7]||(w[7]=C("span",{class:"identity-mark","aria-hidden":"true"},[C("img",{src:"./assets/branding/sash-cat.png",alt:""})],-1)),C("div",m1,[w[6]||(w[6]=C("h2",null,"Sash",-1)),C("span",y1,[g(vo)?(U(),J(ie,{key:0},[tt(B(g(vo)),1)],64)):Te("",!0),g(vo)&&g(d).status?.core.pid?(U(),J(ie,{key:1},[tt(" · ")],64)):Te("",!0),g(d).status?.core.pid?(U(),J(ie,{key:2},[tt("PID "+B(g(d).status.core.pid),1)],64)):Te("",!0)])])]),C("section",{class:"mode-control","aria-label":g(_)("overview.modeTitle")},[C("div",{class:"mode-switcher",role:"group","aria-label":g(_)("overview.modeTitle")},[(U(!0),J(ie,null,nn(a.value,v=>(U(),J("button",{key:v.id,type:"button",class:Se(["mode-button",{active:g(d).mode===v.id}]),"aria-pressed":g(d).mode===v.id,disabled:g(d).operations.mode||!g(ko),onClick:A=>u(v.id)},[C("span",b1,B(v.id.toUpperCase()),1),C("span",_1,B(v.label),1)],10,C1))),128))],8,w1),C("div",{class:"mode-switcher toggle-switcher",role:"group","aria-label":g(_)("overview.switchesTitle")},[C("button",{type:"button",class:Se(["mode-button toggle-button",{active:g(us)}]),"aria-pressed":g(us),disabled:!g(Sf),onClick:w[0]||(w[0]=v=>c(!g(us)))},[C("span",T1,B(g(_)("overview.sysProxyTitle")),1),C("span",L1,B(g(us)?g(_)("common.on"):g(_)("common.off")),1)],10,S1),C("button",{type:"button",class:Se(["mode-button toggle-button",{active:o.value}]),"aria-pressed":o.value,disabled:g(d).operations.networkSetting||!g(d).status,onClick:w[1]||(w[1]=v=>h("allow-lan",!o.value))},[C("span",A1,B(g(_)("overview.lan")),1),C("span",M1,B(o.value?g(_)("common.on"):g(_)("common.off")),1)],10,P1),C("button",{type:"button",class:Se(["mode-button toggle-button",{active:r.value}]),"aria-pressed":r.value,disabled:g(d).operations.networkSetting||!g(d).status,onClick:w[2]||(w[2]=v=>h("tun",!r.value))},[C("span",E1,B(g(_)("overview.tun")),1),C("span",{class:Se(["toggle-state",i.value]),title:g(wo)?.title},B(r.value?g(wo)?.text??g(_)("common.on"):g(_)("common.off")),11,O1)],10,$1)],8,x1)],8,v1),C("div",R1,[C("div",H1,[C("div",D1,B(g(_)("overview.uptime")),1),C("div",N1,B(n.value),1)]),C("div",V1,[C("div",I1,B(g(_)("overview.mixedPort")),1),C("div",k1,[C("button",{type:"button",class:"general-link mono",title:g(_)("page.settings.title"),onClick:w[3]||(w[3]=v=>g(vs)("settings"))}," 127.0.0.1:"+B(g(d).status?.settings.mixedPort??7890),9,F1)])]),C("div",B1,[C("div",U1,[C("span",null,B(g(_)("overview.subTitle")),1),s.value?(U(),J("small",z1,B(g(_)("common.nodesCount",{n:l.value})),1)):Te("",!0)]),s.value?(U(),J("div",Z1,[C("button",{type:"button",class:"general-link profile-name",title:s.value.url||s.value.name,onClick:w[4]||(w[4]=v=>g(vs)("profiles"))},B(s.value.name),9,G1),s.value.url?(U(),J("button",{key:0,type:"button",class:Se(["icon-btn",{spin:t.value}]),title:g(_)("profiles.update"),"aria-label":g(_)("profiles.update"),disabled:t.value,onClick:y},[X(Je,{name:"refresh",size:14})],10,j1)):Te("",!0)])):(U(),J("button",{key:1,type:"button",class:"btn btn-primary btn-sm",onClick:w[5]||(w[5]=v=>g(vs)("profiles"))},B(g(_)("overview.subSet")),1))])]),C("section",{class:"traffic-compact","aria-label":g(_)("overview.trafficTitle")},[C("div",q1,[C("div",null,[C("h3",null,B(g(_)("overview.trafficTitle")),1),C("p",null,[tt(B(g(_)("connections.active"))+" ",1),C("strong",W1,B(g(d).connections.length),1)])]),C("span",J1,[w[8]||(w[8]=C("span",{class:"dot dot-success"},null,-1)),tt(" "+B(g(_)("common.live")),1)])]),C("div",Y1,[C("div",X1,[C("span",null,B(g(_)("overview.download")),1),C("strong",Q1,B(g(ii)(g(d).traffic.down)),1)]),C("div",ep,[C("span",null,B(g(_)("overview.upload")),1),C("strong",tp,B(g(ii)(g(d).traffic.up)),1)])]),X(p1,{down:g(d).traffic.historyDown,up:g(d).traffic.historyUp,height:74,label:g(_)("overview.trafficTitle")},null,8,["down","up","label"]),C("div",np,[C("span",null,[tt(B(g(_)("overview.totalDown"))+" ",1),C("strong",sp,B(g(Io)(g(d).connectionsDownloadTotal)),1)]),C("span",null,[tt(B(g(_)("overview.totalUp"))+" ",1),C("strong",op,B(g(Io)(g(d).connectionsUploadTotal)),1)])])],8,K1)],8,h1))}}),ip=et(rp,[["__scopeId","data-v-3f4cd4d2"]]);function lp(){const e=Fe(new Set),t=Fe(new Set);async function n(o){if(e.value.has(o))return;e.value=new Set(e.value).add(o);const r=d.runtimeGeneration;try{const i=await se.testGroupDelay(o);$f(i,r)}catch(i){je.error(_("toast.failed",{msg:Dt(i)}))}finally{const i=new Set(e.value);i.delete(o),e.value=i}}async function s(o){if(t.value.has(o))return;t.value=new Set(t.value).add(o);const r=d.runtimeGeneration;try{ci(o,(await se.testProxyDelay(o)).delay,r)}catch{ci(o,0,r)}finally{const i=new Set(t.value);i.delete(o),t.value=i}}return{testingGroups:e,testingNodes:t,testGroup:n,testSingle:s}}const ap={class:"empty-state",role:"status"},cp={class:"empty-icon","aria-hidden":"true"},up={class:"empty-title"},fp={key:0,class:"empty-hint"},dp=W({__name:"EmptyState",props:{icon:{},title:{},hint:{}},setup(e){return(t,n)=>(U(),J("div",ap,[C("span",cp,[X(Je,{name:e.icon,size:26},null,8,["name"])]),C("p",up,B(e.title),1),e.hint?(U(),J("p",fp,B(e.hint),1)):Te("",!0)]))}}),bo=et(dp,[["__scopeId","data-v-4868d2ff"]]),pp={class:"pgroup"},hp={class:"pgroup-name"},gp={class:"pgroup-type"},mp=["title"],yp=["title","aria-label"],vp=["title","aria-label","disabled"],wp=["title","aria-label"],Cp={key:0,class:"pgroup-grid"},bp={class:"node-top"},_p=["title"],xp={class:"node-sub"},Sp={class:"node-meta"},Tp={class:"node-badges"},Lp={key:0,class:"node-badge udp-tag"},Pp=["aria-label","disabled","onClick"],Ap=W({__name:"ProxyGroupSection",props:{group:{},members:{},selectable:{type:Boolean},testing:{type:Boolean},testingNodes:{},busy:{type:Boolean},collapsed:{type:Boolean},hideTimeout:{type:Boolean}},emits:["select","test-group","test-node","toggle-collapse","toggle-hide-timeout"],setup(e,{emit:t}){const n=e,s=t,o=new Set(["Selector","URLTest","Fallback","LoadBalance","Relay"]),r=Q(()=>d.proxies[n.group]?.now??""),i=Q(()=>(d.proxies[n.group]?.type??"S").charAt(0)),l=Q(()=>n.hideTimeout?n.members.filter(A=>{const S=ui(A);return S===void 0||S>0}):n.members);function a(A){return d.proxies[A]?.now??""}function u(A){return d.proxies[A]?.type??""}function c(A){return o.has(u(A))}function h(A){return d.proxies[A]?.udp??!1}function y(A){return n.testingNodes?.has(A)??!1}function m(A){y(A)||s("test-node",A)}const w=Q(()=>{const A=new Map;for(const S of n.members){const x=ui(S);if(x===void 0)A.set(S,{cls:"delay-none",text:_("common.untested")});else{const F=bf(x);A.set(S,{cls:F==="good"?"delay-good":F==="mid"?"delay-mid":"delay-bad",text:x<=0?_("common.timeout"):`${x} ms`})}}return A});function v(A){return w.value.get(A)??{cls:"delay-none",text:_("common.untested")}}return(A,S)=>(U(),J("section",pp,[C("div",{class:"pgroup-head",onClick:S[3]||(S[3]=x=>s("toggle-collapse"))},[C("span",hp,B(e.group),1),C("span",gp,B(i.value),1),C("span",{class:"pgroup-now",title:r.value},B(r.value),9,mp),S[4]||(S[4]=C("span",{class:"pgroup-spacer"},null,-1)),C("button",{type:"button",class:Se(["icon-btn group-action",{active:e.hideTimeout}]),title:g(_)("proxies.hideTimeout"),"aria-label":g(_)("proxies.hideTimeout"),onClick:S[0]||(S[0]=ys(x=>s("toggle-hide-timeout"),["stop"]))},[X(Je,{name:"timer",size:15})],10,yp),C("button",{type:"button",class:"icon-btn group-test",title:g(_)("proxies.testAll"),"aria-label":`${g(_)("proxies.testAll")}: ${e.group}`,disabled:e.testing,onClick:S[1]||(S[1]=ys(x=>s("test-group"),["stop"]))},[X(Je,{name:e.testing?"loader":"zap",size:15,class:Se({spin:e.testing})},null,8,["name","class"])],8,vp),C("button",{type:"button",class:"icon-btn group-action",title:g(_)("proxies.toggleGroup"),"aria-label":g(_)("proxies.toggleGroup"),onClick:S[2]||(S[2]=ys(x=>s("toggle-collapse"),["stop"]))},[X(Je,{name:e.collapsed?"eye-off":"eye",size:15},null,8,["name"])],8,wp)]),e.collapsed?Te("",!0):(U(),J("div",Cp,[(U(!0),J(ie,null,nn(l.value,x=>(U(),J("article",{key:x,class:Se(["node-card",{selected:r.value===x,static:!e.selectable}])},[(U(),Oe(el(e.selectable?"button":"div"),{class:"node-main",type:e.selectable?"button":void 0,"aria-pressed":e.selectable?r.value===x:void 0,disabled:e.selectable?e.busy:void 0,onClick:F=>e.selectable&&!e.busy&&s("select",x)},{default:mn(()=>[C("div",bp,[C("span",{class:"node-name",title:x},B(x),9,_p)]),C("div",xp,[C("span",Sp,[tt(B(u(x)),1),c(x)&&a(x)?(U(),J(ie,{key:0},[tt(" · "+B(a(x)),1)],64)):Te("",!0)]),C("span",Tp,[h(x)?(U(),J("span",Lp,"UDP")):Te("",!0)])])]),_:2},1032,["type","aria-pressed","disabled","onClick"])),C("button",{type:"button",class:Se(["node-delay",[v(x).cls,{testing:y(x)}]]),"aria-label":g(_)("proxies.testNode",{name:x}),disabled:y(x),onClick:F=>m(x)},[y(x)?(U(),Oe(Je,{key:0,name:"refresh",size:11,class:"delay-spinner"})):(U(),J(ie,{key:1},[tt(B(v(x).text),1)],64))],10,Pp)],2))),128))]))]))}}),_o=et(Ap,[["__scopeId","data-v-b524911a"]]),Mp=["aria-label"],$p={class:"proxy-pane-head"},Ep={class:"proxy-title-row"},Op={key:0,class:"search-box proxy-filter"},Rp=["aria-label","placeholder"],Hp={key:1,class:"group-count"},Dp={key:0,class:"empty-panel"},Np={class:"proxy-kind-heading"},Vp={class:"proxy-kind-heading"},Ip={key:2,class:"empty-panel"},kp={key:1,class:"empty-panel"},Fp={class:"direct-node","aria-current":"true"},Bp={class:"direct-current"},Up={class:"direct-hint"},zp=W({__name:"OverviewProxyPane",setup(e){const{testingGroups:t,testingNodes:n,testGroup:s,testSingle:o}=lp(),r=Fe(""),i=Q(()=>r.value.trim().toLowerCase()),l=Fe(new Set),a=Fe(new Set);function u(R){const N=new Set(l.value);N.has(R)?N.delete(R):N.add(R),l.value=N}function c(R){const N=new Set(a.value);N.has(R)?N.delete(R):N.add(R),a.value=N}const h=Q(()=>d.mode==="global"?_("overview.modeGlobal"):d.mode==="direct"?_("overview.modeDirect"):_("overview.modeRule")),y=Q(()=>d.mode==="global"?_("overview.modeGlobalDesc"):d.mode==="direct"?_("overview.modeDirectDesc"):_("overview.modeRuleDesc")),m=Q(()=>d.proxyGroups.filter(R=>d.proxies[R]?.type==="Selector"&&R!=="GLOBAL")),w=Q(()=>d.proxyGroups.filter(R=>d.proxies[R]?.type!=="Selector"&&R!=="GLOBAL")),v=Q(()=>A(d.proxies.GLOBAL?.all??[]));function A(R){return i.value?R.filter(N=>N.toLowerCase().includes(i.value)):R}const S=Q(()=>{const R=new Map;for(const N of d.proxyGroups)R.set(N,A(d.proxies[N]?.all??[]));return R});function x(R){return S.value.get(R)??[]}function F(R){return d.proxies[R]?.now??""}async function E(R,N){if(F(R)!==N)try{await Mf(R,N),je.success(_("toast.nodeOk",{name:N}))}catch($){je.error(_("toast.failed",{msg:Dt($)}))}}return(R,N)=>(U(),J("section",{class:"proxy-pane","aria-label":g(_)("overview.modeTitle")},[C("header",$p,[C("div",null,[C("div",Ep,[C("h2",null,B(h.value),1)]),C("p",null,B(y.value),1)]),g(d).mode!=="direct"&&g(d).proxyGroups.length>0?(U(),J("div",Op,[X(Je,{name:"search",size:13}),Fa(C("input",{"onUpdate:modelValue":N[0]||(N[0]=$=>r.value=$),type:"search","aria-label":g(_)("proxies.filter"),placeholder:g(_)("proxies.filter")},null,8,Rp),[[Lu,r.value]])])):Te("",!0),g(d).mode==="rule"?(U(),J("span",Hp,B(g(d).proxyGroups.length)+" "+B(g(_)("profiles.statGroups")),1)):Te("",!0)]),g(ws)?g(d).mode==="rule"?(U(),J(ie,{key:1},[m.value.length>0?(U(),J(ie,{key:0},[C("div",Np,B(g(_)("proxies.manual")),1),(U(!0),J(ie,null,nn(m.value,$=>(U(),Oe(_o,{key:$,group:$,members:x($),selectable:!0,testing:g(t).has($),"testing-nodes":g(n),busy:!!g(d).operations.proxySelections[$],collapsed:l.value.has($),"hide-timeout":a.value.has($),onSelect:ee=>E($,ee),onTestGroup:ee=>g(s)($),onTestNode:g(o),onToggleCollapse:ee=>u($),onToggleHideTimeout:ee=>c($)},null,8,["group","members","testing","testing-nodes","busy","collapsed","hide-timeout","onSelect","onTestGroup","onTestNode","onToggleCollapse","onToggleHideTimeout"]))),128))],64)):Te("",!0),w.value.length>0?(U(),J(ie,{key:1},[C("div",Vp,B(g(_)("proxies.auto")),1),(U(!0),J(ie,null,nn(w.value,$=>(U(),Oe(_o,{key:$,group:$,members:x($),selectable:!1,testing:g(t).has($),"testing-nodes":g(n),busy:!!g(d).operations.proxySelections[$],collapsed:l.value.has($),"hide-timeout":a.value.has($),onTestGroup:ee=>g(s)($),onTestNode:g(o),onToggleCollapse:ee=>u($),onToggleHideTimeout:ee=>c($)},null,8,["group","members","testing","testing-nodes","busy","collapsed","hide-timeout","onTestGroup","onTestNode","onToggleCollapse","onToggleHideTimeout"]))),128))],64)):Te("",!0),m.value.length===0&&w.value.length===0?(U(),J("div",Ip,[X(bo,{icon:"globe",title:g(_)("proxies.noGroups"),hint:g(_)("proxies.noGroupsHint")},null,8,["title","hint"])])):Te("",!0)],64)):g(d).mode==="global"?(U(),J(ie,{key:2},[v.value.length>0?(U(),Oe(_o,{key:0,group:"GLOBAL",members:v.value,selectable:!0,testing:g(t).has("GLOBAL"),"testing-nodes":g(n),busy:!!g(d).operations.proxySelections.GLOBAL,collapsed:l.value.has("GLOBAL"),"hide-timeout":a.value.has("GLOBAL"),onSelect:N[1]||(N[1]=$=>E("GLOBAL",$)),onTestGroup:N[2]||(N[2]=$=>g(s)("GLOBAL")),onTestNode:g(o),onToggleCollapse:N[3]||(N[3]=$=>u("GLOBAL")),onToggleHideTimeout:N[4]||(N[4]=$=>c("GLOBAL"))},null,8,["members","testing","testing-nodes","busy","collapsed","hide-timeout","onTestNode"])):(U(),J("div",kp,[X(bo,{icon:"globe",title:g(_)("proxies.noGroups"),hint:g(_)("proxies.noGroupsHint")},null,8,["title","hint"])]))],64)):(U(),J(ie,{key:3},[C("article",Fp,[N[5]||(N[5]=C("span",{class:"direct-indicator"},null,-1)),N[6]||(N[6]=C("div",{class:"direct-copy"},[C("strong",null,"DIRECT"),C("span",null,"Direct")],-1)),C("span",Bp,B(g(_)("proxies.currentTag")),1)]),C("p",Up,B(g(_)("proxies.directHint")),1)],64)):(U(),J("div",Dp,[X(bo,{icon:"globe",title:g(_)("proxies.noGroups"),hint:g(_)("proxies.noGroupsHint")},null,8,["title","hint"])]))],8,Mp))}}),Zp=et(zp,[["__scopeId","data-v-5fec4f3a"]]),Gp={class:"page-head"},jp={class:"page-head-text"},Kp={class:"page-title"},qp={key:0,class:"page-desc"},Wp={key:0,class:"page-head-actions"},Jp=W({__name:"PageHeader",props:{title:{},desc:{}},setup(e){return(t,n)=>(U(),J("header",Gp,[C("div",jp,[C("h1",Kp,B(e.title),1),e.desc?(U(),J("p",qp,B(e.desc),1)):Te("",!0)]),t.$slots.default?(U(),J("div",Wp,[cc(t.$slots,"default",{},void 0)])):Te("",!0)]))}}),Yp=et(Jp,[["__scopeId","data-v-28e798e0"]]),Xp={class:"overview"},Qp=["disabled"],eh={class:"overview-split"},th=W({__name:"OverviewView",setup(e){const{restarting:t,restartCore:n}=r1();return(s,o)=>(U(),J("div",Xp,[X(Yp,{title:g(_)("page.overview.title"),desc:g(_)("page.overview.desc")},{default:mn(()=>[C("button",{type:"button",class:"btn btn-danger-outline btn-sm",disabled:g(t),onClick:o[0]||(o[0]=(...r)=>g(n)&&g(n)(...r))},[X(Je,{name:"refresh",size:13,class:Se({spin:g(t)})},null,8,["class"]),C("span",null,B(g(_)("settings.restartBtn")),1)],8,Qp)]),_:1},8,["title","desc"]),C("div",eh,[X(ip),X(Zp)])]))}}),nh=et(th,[["__scopeId","data-v-aff55a8d"]]),sh={class:"app-frame"},oh={class:"app-shell"},rh={class:"app-main"},ih=["title"],lh=W({__name:"App",setup(e){const t=Sn(()=>Pn(()=>import("./ConnectionsView-DNGmZBSU.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),n=Sn(()=>Pn(()=>import("./LogsView-fSiaxQ13.js"),__vite__mapDeps([4,5]),import.meta.url)),s=Sn(()=>Pn(()=>import("./ProfilesView-Btc1DOxE.js"),__vite__mapDeps([6,7]),import.meta.url)),o=Sn(()=>Pn(()=>import("./RulesView-D9vZBiJ1.js"),__vite__mapDeps([8,1,2,9]),import.meta.url)),r=Sn(()=>Pn(()=>import("./SettingsView-BlDhZkXQ.js"),__vite__mapDeps([10,11,12]),import.meta.url));let i=null,l=null,a=null;const u=new WeakMap;function c(y){const m=y.target instanceof Document?document.documentElement:y.target;if(!(m instanceof HTMLElement))return;m.classList.add("is-scrolling");const w=u.get(m);w!==void 0&&window.clearTimeout(w),u.set(m,window.setTimeout(()=>{m.classList.remove("is-scrolling"),u.delete(m)},700))}function h(){l?.(),a?.(),l=null,a=null,Fo()}return Vt(()=>d.daemonOnline&&ko.value&&se.hasSession()?d.runtimeGeneration:null,y=>{h(),y!==null&&(l=se.connectTraffic(m=>Ff(m,y),()=>{y===d.runtimeGeneration&&Fo()}))}),Vt(()=>d.daemonOnline&&ko.value&&se.hasSession()&&De.value==="logs"?d.runtimeGeneration:null,y=>{a?.(),a=null,y!==null&&(a=se.connectLogs(m=>Bf(m,y)))}),qs(()=>{i=Rf(),window.addEventListener("scroll",c,{capture:!0,passive:!0})}),yn(()=>{i?.(),h(),window.removeEventListener("scroll",c,{capture:!0})}),(y,m)=>(U(),J("div",sh,[C("div",oh,[X(Zd),C("main",rh,[X(Ll,{name:"fade"},{default:mn(()=>[g(fs)?(U(),J("div",{key:0,class:Se(["runtime-banner",g(fs)]),role:"status","aria-live":"polite",title:g(d).coreSnapshotError??void 0},[X(Je,{name:"alert",size:13}),C("span",null,B(g(_)(`status.${g(fs)}`)),1)],10,ih)):Te("",!0)]),_:1}),C("div",{class:Se(["page-container",[`page-${g(De)}`,{"has-runtime-banner":g(fs)}]])},[g(De)==="overview"?(U(),Oe(nh,{key:0})):g(De)==="profiles"?(U(),Oe(g(s),{key:1})):g(De)==="logs"?(U(),Oe(g(n),{key:2})):g(De)==="connections"?(U(),Oe(g(t),{key:3})):g(De)==="rules"?(U(),Oe(g(o),{key:4})):g(De)==="settings"?(U(),Oe(g(r),{key:5})):Te("",!0)],2)]),X(o1),X(Xd)])]))}}),ah=et(lh,[["__scopeId","data-v-109fd9f8"]]);Ru(ah).mount("#app");export{xh as $,Wd as A,bh as B,qs as C,Xi as D,bo as E,ie as F,ph as G,Mh as H,Je as I,_s as J,Wi as K,jd as L,Kd as M,yn as N,qd as O,Yp as P,ys as Q,hh as R,Ll as S,zi as T,_h as U,Nf as V,wh as W,Us as X,Sn as Y,Pn as Z,et as _,X as a,Vf as a0,Lh as a1,Ph as a2,Ah as a3,Sh as a4,fh as a5,uh as a6,cc as a7,mh as a8,wo as a9,vo as aa,r1 as ab,gh as ac,xf as ad,yh as ae,se as af,ur as ag,Df as ah,Th as ai,fr as aj,dh as ak,mn as b,J as c,W as d,C as e,Fa as f,B as g,Io as h,Te as i,tt as j,vh as k,to as l,Oe as m,Se as n,U as o,Fe as p,Q as q,nn as r,d as s,_ as t,g as u,Lu as v,Vt as w,Ch as x,je as y,Dt as z};