@antelopejs/dms-ai 0.1.4 → 0.1.6

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 (250) hide show
  1. package/README.md +55 -29
  2. package/dist/channels/bridge.d.ts +2 -8
  3. package/dist/channels/bridge.js +26 -42
  4. package/dist/channels/bridge.js.map +1 -1
  5. package/dist/channels/channel-service.d.ts +2 -2
  6. package/dist/channels/channel-service.js +12 -31
  7. package/dist/channels/channel-service.js.map +1 -1
  8. package/dist/channels/registry.d.ts +2 -2
  9. package/dist/channels/registry.js +7 -7
  10. package/dist/channels/registry.js.map +1 -1
  11. package/dist/config.d.ts +1 -0
  12. package/dist/config.js +8 -1
  13. package/dist/config.js.map +1 -1
  14. package/dist/constants/channels.d.ts +5 -10
  15. package/dist/constants/channels.js +6 -10
  16. package/dist/constants/channels.js.map +1 -1
  17. package/dist/constants/sidecar.d.ts +5 -1
  18. package/dist/constants/sidecar.js +6 -2
  19. package/dist/constants/sidecar.js.map +1 -1
  20. package/dist/index.js +8 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/lifecycle/build-id.d.ts +1 -0
  23. package/dist/lifecycle/build-id.js +32 -0
  24. package/dist/lifecycle/build-id.js.map +1 -0
  25. package/dist/lifecycle/sidecar-owner.d.ts +13 -0
  26. package/dist/lifecycle/sidecar-owner.js +89 -0
  27. package/dist/lifecycle/sidecar-owner.js.map +1 -0
  28. package/dist/lifecycle/sidecar-socket.d.ts +1 -1
  29. package/dist/lifecycle/sidecar-socket.js +2 -2
  30. package/dist/lifecycle/sidecar-socket.js.map +1 -1
  31. package/dist/lifecycle/spawn-sidecar.d.ts +0 -1
  32. package/dist/lifecycle/spawn-sidecar.js +51 -159
  33. package/dist/lifecycle/spawn-sidecar.js.map +1 -1
  34. package/dist/lifecycle/terminate-process.d.ts +1 -0
  35. package/dist/lifecycle/terminate-process.js +34 -0
  36. package/dist/lifecycle/terminate-process.js.map +1 -0
  37. package/dist/routes/channels.d.ts +3 -3
  38. package/dist/routes/channels.js +11 -12
  39. package/dist/routes/channels.js.map +1 -1
  40. package/dist/routes/index.d.ts +0 -1
  41. package/dist/routes/index.js +0 -1
  42. package/dist/routes/index.js.map +1 -1
  43. package/frontend-vue/.prettierignore +3 -0
  44. package/frontend-vue/.prettierrc +10 -0
  45. package/frontend-vue/app/chat/components/ChatView.vue +582 -0
  46. package/frontend-vue/app/chat/components/ComposerInput.vue +742 -0
  47. package/frontend-vue/app/chat/components/ConnectionBanner.vue +105 -0
  48. package/frontend-vue/app/chat/components/ConversationDrawer.vue +266 -0
  49. package/frontend-vue/app/chat/components/MarkdownContent.vue +196 -0
  50. package/frontend-vue/app/chat/components/MessageList.vue +474 -0
  51. package/frontend-vue/app/chat/components/PermissionRequests.vue +323 -0
  52. package/frontend-vue/app/chat/components/QuestionPrompt.vue +275 -0
  53. package/frontend-vue/app/chat/components/QueuedMessages.vue +109 -0
  54. package/frontend-vue/app/chat/components/TodoList.vue +291 -0
  55. package/frontend-vue/app/chat/components/ToolCallEntry.vue +218 -0
  56. package/frontend-vue/app/chat/components/ToolCluster.vue +282 -0
  57. package/frontend-vue/app/chat/composables/useChatChannel.ts +116 -0
  58. package/frontend-vue/app/chat/composables/useConversation.ts +838 -0
  59. package/frontend-vue/app/chat/composables/useConversationId.ts +34 -0
  60. package/frontend-vue/app/chat/composables/useConversationList.ts +56 -0
  61. package/frontend-vue/app/chat/composables/usePermissionQueue.ts +59 -0
  62. package/frontend-vue/app/chat/composables/useQuestionQueue.ts +50 -0
  63. package/frontend-vue/app/chat/composables/useRunClock.ts +28 -0
  64. package/frontend-vue/app/chat/composables/useSettings.ts +67 -0
  65. package/frontend-vue/app/chat/constants/attachments.ts +16 -0
  66. package/frontend-vue/app/chat/constants/connection-banner.ts +7 -0
  67. package/frontend-vue/app/chat/constants/conversation-drawer.ts +13 -0
  68. package/frontend-vue/app/chat/constants/conversation.ts +75 -0
  69. package/frontend-vue/app/chat/constants/permissions.ts +50 -0
  70. package/frontend-vue/app/chat/constants/protocol.ts +48 -0
  71. package/frontend-vue/app/chat/constants/run-status.ts +50 -0
  72. package/frontend-vue/app/chat/constants/settings.ts +60 -0
  73. package/frontend-vue/app/chat/types/conversation.ts +87 -0
  74. package/frontend-vue/app/chat/types/permission.ts +7 -0
  75. package/frontend-vue/app/chat/types/question.ts +17 -0
  76. package/frontend-vue/app/chat/types/settings.ts +27 -0
  77. package/frontend-vue/app/chat/utils/attachments.ts +62 -0
  78. package/frontend-vue/app/chat/utils/format.ts +14 -0
  79. package/frontend-vue/app/chat/utils/ids.ts +34 -0
  80. package/frontend-vue/app/chat/utils/markdown.ts +188 -0
  81. package/frontend-vue/app/chat/utils/run-status.ts +90 -0
  82. package/frontend-vue/app/chat/utils/todos.ts +64 -0
  83. package/frontend-vue/app/chat/utils/tool-summary.ts +53 -0
  84. package/frontend-vue/app/components/ActivityView.vue +34 -34
  85. package/frontend-vue/app/components/ChatPanel.vue +276 -0
  86. package/frontend-vue/app/components/SettingsView.vue +120 -112
  87. package/frontend-vue/app/components/SkillsView.vue +55 -53
  88. package/frontend-vue/app/plugins/ai.client.ts +145 -129
  89. package/frontend-vue/app/runtime/assistant-session.ts +21 -0
  90. package/frontend-vue/app/runtime/backoff.ts +11 -14
  91. package/frontend-vue/app/runtime/channel-client.ts +130 -141
  92. package/frontend-vue/app/runtime/chat-transport.ts +25 -55
  93. package/frontend-vue/app/runtime/constants.ts +69 -59
  94. package/frontend-vue/app/runtime/current-page.ts +49 -15
  95. package/frontend-vue/app/runtime/event-stream.ts +35 -35
  96. package/frontend-vue/app/runtime/frame-router.ts +30 -0
  97. package/frontend-vue/app/runtime/header-action.ts +18 -18
  98. package/frontend-vue/app/runtime/host-commands.ts +57 -56
  99. package/frontend-vue/app/runtime/listeners.ts +31 -0
  100. package/frontend-vue/app/runtime/navigation-complete.ts +7 -7
  101. package/frontend-vue/app/runtime/overlay-prefs.ts +36 -36
  102. package/frontend-vue/app/runtime/panel-state.ts +88 -0
  103. package/frontend-vue/app/runtime/session-gate.ts +8 -8
  104. package/frontend-vue/app/runtime/shortcuts.ts +12 -12
  105. package/frontend-vue/app/runtime/sidecar-status.ts +61 -61
  106. package/frontend-vue/app/runtime/typed-message.ts +11 -0
  107. package/frontend-vue/dms.frontend.ts +12 -12
  108. package/frontend-vue/eslint.config.mjs +13 -13
  109. package/frontend-vue/package.json +11 -4
  110. package/frontend-vue/pnpm-lock.yaml +298 -96
  111. package/frontend-vue/tests/backoff.test.ts +26 -30
  112. package/frontend-vue/tests/channel-client.test.ts +187 -188
  113. package/frontend-vue/tests/chat/markdown.test.ts +271 -0
  114. package/frontend-vue/tests/chat/useChatChannel.test.ts +124 -0
  115. package/frontend-vue/tests/chat/useConversation.test.ts +283 -0
  116. package/frontend-vue/tests/chat-panel.test.ts +354 -0
  117. package/frontend-vue/tests/chat-transport.test.ts +84 -57
  118. package/frontend-vue/tests/host-commands.test.ts +126 -87
  119. package/frontend-vue/tests/navigation.test.ts +65 -34
  120. package/frontend-vue/tests/overlay-prefs.test.ts +49 -49
  121. package/frontend-vue/tests/panel-state.test.ts +58 -0
  122. package/frontend-vue/tests/session-gate.test.ts +33 -33
  123. package/frontend-vue/tests/sidecar-guest.test.ts +46 -46
  124. package/frontend-vue/tests/sidecar-status.test.ts +29 -29
  125. package/frontend-vue/tsconfig.chat.json +16 -0
  126. package/frontend-vue/vitest.config.ts +6 -4
  127. package/package.json +6 -5
  128. package/sidecar/dist/agent/effective-mode.d.ts +2 -2
  129. package/sidecar/dist/agent/effective-mode.js +1 -1
  130. package/sidecar/dist/agent/effective-mode.js.map +1 -1
  131. package/sidecar/dist/agent/host-context.js +7 -9
  132. package/sidecar/dist/agent/host-context.js.map +1 -1
  133. package/sidecar/dist/agent/permission-bus.d.ts +1 -1
  134. package/sidecar/dist/agent/permission-bus.js +2 -2
  135. package/sidecar/dist/agent/permission-bus.js.map +1 -1
  136. package/sidecar/dist/agent/provider.d.ts +2 -2
  137. package/sidecar/dist/agent/question-bus.d.ts +1 -1
  138. package/sidecar/dist/agent/question-bus.js +2 -2
  139. package/sidecar/dist/agent/question-bus.js.map +1 -1
  140. package/sidecar/dist/agent/runner.d.ts +2 -2
  141. package/sidecar/dist/agent/runner.js +24 -8
  142. package/sidecar/dist/agent/runner.js.map +1 -1
  143. package/sidecar/dist/agent/session.d.ts +2 -2
  144. package/sidecar/dist/agent/session.js +49 -9
  145. package/sidecar/dist/agent/session.js.map +1 -1
  146. package/sidecar/dist/agent/switching-runner.js +10 -5
  147. package/sidecar/dist/agent/switching-runner.js.map +1 -1
  148. package/sidecar/dist/agent/turn-end-reasons.d.ts +2 -0
  149. package/sidecar/dist/agent/turn-end-reasons.js +6 -1
  150. package/sidecar/dist/agent/turn-end-reasons.js.map +1 -1
  151. package/sidecar/dist/constants/agent.d.ts +4 -1
  152. package/sidecar/dist/constants/agent.js +4 -1
  153. package/sidecar/dist/constants/agent.js.map +1 -1
  154. package/sidecar/dist/constants/cli.d.ts +0 -1
  155. package/sidecar/dist/constants/cli.js +0 -1
  156. package/sidecar/dist/constants/cli.js.map +1 -1
  157. package/sidecar/dist/constants/codex.d.ts +5 -2
  158. package/sidecar/dist/constants/codex.js +5 -2
  159. package/sidecar/dist/constants/codex.js.map +1 -1
  160. package/sidecar/dist/constants/http.d.ts +0 -9
  161. package/sidecar/dist/constants/http.js +0 -19
  162. package/sidecar/dist/constants/http.js.map +1 -1
  163. package/sidecar/dist/constants/mcp.d.ts +1 -1
  164. package/sidecar/dist/constants/mcp.js +1 -1
  165. package/sidecar/dist/constants/mcp.js.map +1 -1
  166. package/sidecar/dist/constants/paths.d.ts +0 -1
  167. package/sidecar/dist/constants/paths.js +0 -1
  168. package/sidecar/dist/constants/paths.js.map +1 -1
  169. package/sidecar/dist/constants/ws.d.ts +3 -4
  170. package/sidecar/dist/constants/ws.js +3 -4
  171. package/sidecar/dist/constants/ws.js.map +1 -1
  172. package/sidecar/dist/index.d.ts +4 -1
  173. package/sidecar/dist/index.js +13 -13
  174. package/sidecar/dist/index.js.map +1 -1
  175. package/sidecar/dist/mcp/tools/find-pages-using.js +5 -10
  176. package/sidecar/dist/mcp/tools/find-pages-using.js.map +1 -1
  177. package/sidecar/dist/mcp/types.d.ts +1 -1
  178. package/sidecar/dist/pages/page-filepath.d.ts +4 -0
  179. package/sidecar/dist/pages/page-filepath.js +28 -0
  180. package/sidecar/dist/pages/page-filepath.js.map +1 -0
  181. package/sidecar/dist/prompts/agent.d.ts +1 -1
  182. package/sidecar/dist/prompts/agent.js +1 -1
  183. package/sidecar/dist/prompts/agent.js.map +1 -1
  184. package/sidecar/dist/protocol/events.js +2 -2
  185. package/sidecar/dist/protocol/events.js.map +1 -1
  186. package/sidecar/dist/protocol/messages.d.ts +4 -15
  187. package/sidecar/dist/protocol/messages.js +4 -11
  188. package/sidecar/dist/protocol/messages.js.map +1 -1
  189. package/sidecar/dist/providers/claude/config.d.ts +2 -2
  190. package/sidecar/dist/providers/claude/config.js +2 -2
  191. package/sidecar/dist/providers/claude/config.js.map +1 -1
  192. package/sidecar/dist/providers/claude/provider.js +1 -1
  193. package/sidecar/dist/providers/claude/provider.js.map +1 -1
  194. package/sidecar/dist/providers/codex/config.d.ts +3 -2
  195. package/sidecar/dist/providers/codex/config.js +3 -3
  196. package/sidecar/dist/providers/codex/config.js.map +1 -1
  197. package/sidecar/dist/providers/codex/process.js +107 -74
  198. package/sidecar/dist/providers/codex/process.js.map +1 -1
  199. package/sidecar/dist/providers/codex/provider.js +68 -31
  200. package/sidecar/dist/providers/codex/provider.js.map +1 -1
  201. package/sidecar/dist/providers/codex/skills.d.ts +1 -0
  202. package/sidecar/dist/providers/codex/skills.js +4 -1
  203. package/sidecar/dist/providers/codex/skills.js.map +1 -1
  204. package/sidecar/dist/providers/codex/stop.d.ts +4 -0
  205. package/sidecar/dist/providers/codex/stop.js +71 -0
  206. package/sidecar/dist/providers/codex/stop.js.map +1 -0
  207. package/sidecar/dist/server/{iframe-socket-registry.d.ts → chat-socket-registry.d.ts} +3 -2
  208. package/sidecar/dist/server/{iframe-socket-registry.js → chat-socket-registry.js} +4 -3
  209. package/sidecar/dist/server/chat-socket-registry.js.map +1 -0
  210. package/sidecar/dist/server/client-auth.js +2 -14
  211. package/sidecar/dist/server/client-auth.js.map +1 -1
  212. package/sidecar/dist/server/host-command-router.d.ts +5 -0
  213. package/sidecar/dist/server/host-command-router.js +4 -0
  214. package/sidecar/dist/server/host-command-router.js.map +1 -0
  215. package/sidecar/dist/server/host-socket-registry.d.ts +1 -1
  216. package/sidecar/dist/server/host-socket-registry.js +16 -13
  217. package/sidecar/dist/server/host-socket-registry.js.map +1 -1
  218. package/sidecar/dist/server/http.d.ts +0 -1
  219. package/sidecar/dist/server/http.js +1 -44
  220. package/sidecar/dist/server/http.js.map +1 -1
  221. package/sidecar/dist/server/routing.d.ts +5 -6
  222. package/sidecar/dist/server/routing.js +18 -28
  223. package/sidecar/dist/server/routing.js.map +1 -1
  224. package/sidecar/dist/server/ws.d.ts +2 -2
  225. package/sidecar/dist/server/ws.js +41 -39
  226. package/sidecar/dist/server/ws.js.map +1 -1
  227. package/sidecar/dist/state/host-state.d.ts +10 -2
  228. package/sidecar/dist/state/host-state.js +13 -3
  229. package/sidecar/dist/state/host-state.js.map +1 -1
  230. package/sidecar/dist/state/settings-store.js +2 -2
  231. package/sidecar/dist/state/settings-store.js.map +1 -1
  232. package/sidecar/dist/state/settings-types.d.ts +3 -3
  233. package/sidecar/dist/state/settings-types.js +1 -1
  234. package/sidecar/dist/state/settings-types.js.map +1 -1
  235. package/sidecar/package.json +3 -5
  236. package/dist/chatbox/passthrough.d.ts +0 -3
  237. package/dist/chatbox/passthrough.js +0 -53
  238. package/dist/chatbox/passthrough.js.map +0 -1
  239. package/dist/constants/chatbox.d.ts +0 -10
  240. package/dist/constants/chatbox.js +0 -35
  241. package/dist/constants/chatbox.js.map +0 -1
  242. package/dist/routes/chatbox.d.ts +0 -7
  243. package/dist/routes/chatbox.js +0 -47
  244. package/dist/routes/chatbox.js.map +0 -1
  245. package/frontend-vue/app/runtime/overlay.ts +0 -400
  246. package/frontend-vue/app/runtime/theme-bridge.ts +0 -189
  247. package/sidecar/chatbox/dist/assets/index-C8u7mkHn.css +0 -1
  248. package/sidecar/chatbox/dist/assets/index-tdZvY7ee.js +0 -52
  249. package/sidecar/chatbox/dist/index.html +0 -13
  250. package/sidecar/dist/server/iframe-socket-registry.js.map +0 -1
@@ -1,52 +0,0 @@
1
- var Kh=Object.defineProperty;var ka=e=>{throw TypeError(e)};var Yh=(e,t,n)=>t in e?Kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ur=(e,t,n)=>Yh(e,typeof t!="symbol"?t+"":t,n),Zh=(e,t,n)=>t.has(e)||ka("Cannot "+n);var ko=(e,t,n)=>(Zh(e,t,"read from private field"),n?n.call(e):t.get(e)),Ea=(e,t,n)=>t.has(e)?ka("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const s of u.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(o){if(o.ep)return;o.ep=!0;const u=n(o);fetch(o.href,u)}})();function Ni(e,t={},n){for(const r in e){const o=e[r],u=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ni(o,t,u):typeof o=="function"&&(t[u]=o)}return t}const s0=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function i0(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const u=r?r.run(()=>e[o](...t)):e[o](...t);if(u&&typeof u.then=="function")return Promise.resolve(u).then(()=>i0(e,t,o+1,r))}catch(u){return Promise.reject(u)}}function Qh(e,t,n){if(e.length>0)return i0(e,t,0,s0(n))}function Xh(e,t,n){if(e.length>0){const r=s0(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function Xs(e,t){for(const n of[...e])n(t)}var Jh=class{constructor(){Ur(this,"_hooks");Ur(this,"_before");Ur(this,"_after");Ur(this,"_deprecatedHooks");Ur(this,"_deprecatedMessages");this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let u=o.message;u||(u=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(u)||(console.warn(u),this._deprecatedMessages.add(u))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Ni(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Ni(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Qh,e,t)}callHookParallel(e,...t){return this.callHookWith(Xh,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Xs(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&Xs(this._after,r)}):(this._after&&r&&Xs(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function l0(){return new Jh}const e1=new Set(["link","style","script","noscript"]),t1=new Set(["title","titleTemplate","script","style","noscript"]),$i=new Set(["base","meta","link","style","script","noscript"]),n1=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),r1=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),o1=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),u1=new Set(["templateParams","htmlAttrs","bodyAttrs"]),s1=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),i1=["name","property","http-equiv"],l1=new Set(["viewport","description","keywords","robots"]);function a0(e){const t=e.split(":");return t.length?s1.has(t[1]):!1}function zi(e){const{props:t,tag:n}=e;if(r1.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of i1)if(t[r]!==void 0){const o=t[r],u=o&&typeof o=="string"&&o.includes(":"),s=o&&l1.has(o),l=!(u||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(t1.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function c0(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Qu(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(u=>Qu(u,t));if((o==null?void 0:o.constructor)===Object){const u={};for(const s of Object.keys(o))u[s]=Qu(o[s],t,s);return u}return o}function a1(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const u=String(o).trim();if(u)if(e==="style"){const[s,...i]=u.split(":").map(l=>l?l.trim():"");s&&i.length&&n.set(s,i.join(":"))}else u.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,u])=>{u&&u!=="false"&&(e==="style"?n.set(String(o).trim(),String(u)):r(o))}),n}function f0(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=$i.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,o])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(o===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=a1(r,o);return}if(o1.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!(a!=null&&a.endsWith("json"))&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[r]=JSON.stringify(o)}else e[r]=o;return}const u=r.startsWith("data-"),s=n&&!u?r.toLowerCase():r,i=String(o),l=e.tag==="meta"&&s==="content";i==="true"||i===""?e.props[s]=u||l?i:!0:!o&&u&&i==="false"?e.props[s]="false":o!==void 0&&(e.props[s]=o)}),e}function c1(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=f0({tag:e,props:{}},n);return r.key&&e1.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function f1(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,u)=>{for(let s=0;s<t.length;s++)u=t[s](o,u);return u};e=n(void 0,e);const r=[];return e=Qu(e,n),Object.entries(e||{}).forEach(([o,u])=>{if(u!==void 0)for(const s of Array.isArray(u)?u:[u])r.push(c1(o,s))}),r.flat()}const wa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Aa={base:-10,title:10},d1={critical:-8,high:-1,low:2},Sa={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},p1=/@import/,Eo=e=>e===""||e===!0;function h1(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=d1[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Sa;if(t.tag in Aa)n=Aa[t.tag];else if(t.tag==="meta"){const u=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;u&&(n=Sa.meta[u])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const u=String(t.props.type);Eo(t.props.async)?n=o.script.async:t.props.src&&!Eo(t.props.defer)&&!Eo(t.props.async)&&u!=="module"&&!u.endsWith("json")||t.innerHTML&&!u.endsWith("json")?n=o.script.sync:(Eo(t.props.defer)&&t.props.src&&!Eo(t.props.async)||u==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&p1.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Ca(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function m1(e={}){var i;const t=l0();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,u=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Ca(s,l),push(l,a){const c={...a||{}};delete c.head;const f=c._index??s._entryCount++,h={_i:f,input:l,options:c},d={_poll(p=!1){s.dirty=!0,!p&&u.add(f),t.callHook("entries:updated",s)},dispose(){r.delete(f)&&s.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(h.input=p,r.set(f,h),d._poll())}};return d.patch(l),d},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);u.size;){const d=u.values().next().value;u.delete(d);const p=r.get(d);if(p){const m={tags:f1(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",m),p._tags=m.tags.map((g,x)=>(g._w=h1(s,g),g._p=(p._i<<10)+x,g._d=zi(g),g._d||(g._h=c0(g)),g))}}let a=!1;l.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(wa).reduce((d,p)=>{const m=p._d||p._h;if(!d.has(m))return d.set(m,p);const g=d.get(m);if(((p==null?void 0:p.tagDuplicateStrategy)||(u1.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([k,y])=>b[k]=k==="style"?new Map([...g.props.style||new Map,...y]):k==="class"?new Set([...g.props.class||new Set,...y]):y),d.set(m,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&a0(m)?(d.set(m,Object.assign([...Array.isArray(g)?g:[g],p],p)),a=!0):(p._w===g._w?p._p>g._p:(p==null?void 0:p._w)<(g==null?void 0:g._w))&&d.set(m,p);return d},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(s._title=c==null?void 0:c.textContent,f){const d=f==null?void 0:f.textContent;if(s._titleTemplate=d,d){let p=typeof d=="function"?d(c==null?void 0:c.textContent):d;typeof p=="string"&&!s.plugins.has("template-params")&&(p=p.replace("%s",(c==null?void 0:c.textContent)||"")),c?p===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:p}):(f.tag="title",f.textContent=p)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(wa)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const h=[];for(const d of l.tags){const{innerHTML:p,tag:m,props:g}=d;if(n1.has(m)&&!(Object.keys(g).length===0&&!d.innerHTML&&!d.textContent)&&!(m==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(m==="script"&&p){if(String(g.type).endsWith("json")){const x=typeof p=="string"?p:JSON.stringify(p);d.innerHTML=x.replace(/</g,"\\u003C")}else typeof p=="string"&&(d.innerHTML=p.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=zi(d)}h.push(d)}}return h},invalidate(){for(const l of r.values())u.add(l._i);s.dirty=!0,t.callHook("entries:updated",s)}};return((e==null?void 0:e.plugins)||[]).forEach(l=>Ca(s,l)),s.hooks.callHook("init",s),(i=e.init)==null||i.forEach(l=>l&&s.push(l)),s}async function d0(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var d;const u=new Map,s=new Promise(p=>{e.resolveTags().then(m=>{p(m.map(g=>{const x=u.get(g._d)||0,b={tag:g,id:(x?`${g._d}:${x}`:g._d)||g._h,shouldRender:!0};return g._d&&a0(g._d)&&u.set(g._d,x+1),b}))})});let i=e._dom;if(!i){i={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=(d=n[p])==null?void 0:d.children;for(const g of m){const x=g.tagName.toLowerCase();if(!$i.has(x))continue;const b=f0({tag:x,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((k,y)=>(k[y]=g.getAttribute(y),k),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=zi(b)||c0(b),i.elMap.has(b._d)){let k=1,y=b._d;for(;i.elMap.has(y);)y=`${b._d}:${k++}`;i.elMap.set(y,g)}else i.elMap.set(b._d,g)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(p,m,g){const x=`${p}:${m}`;i.sideEffects[x]=g,delete i.pendingSideEffects[x]}function a({id:p,$el:m,tag:g}){const x=g.tag.endsWith("Attrs");i.elMap.set(p,m),x||(g.textContent&&g.textContent!==m.textContent&&(m.textContent=g.textContent),g.innerHTML&&g.innerHTML!==m.innerHTML&&(m.innerHTML=g.innerHTML),l(p,"el",()=>{m==null||m.remove(),i.elMap.delete(p)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const k=g.props[b];if(b.startsWith("on")&&typeof k=="function"){const S=m==null?void 0:m.dataset;if(S&&S[`${b}fired`]){const w=b.slice(0,-5);k.call(m,new Event(w.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),k.bind(m)),m.setAttribute(`data-${b}`,""));continue}const y=`attr:${b}`;if(b==="class"){if(!k)continue;for(const S of k)x&&l(p,`${y}:${S}`,()=>m.classList.remove(S)),!m.classList.contains(S)&&m.classList.add(S)}else if(b==="style"){if(!k)continue;for(const[S,w]of k)l(p,`${y}:${S}`,()=>{m.style.removeProperty(S)}),m.style.setProperty(S,w)}else k!==!1&&k!==null&&(m.getAttribute(b)!==k&&m.setAttribute(b,k===!0?"":String(k)),x&&l(p,y,()=>m.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await s;for(const p of h){const{tag:m,shouldRender:g,id:x}=p;if(g){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=i.title);continue}p.$el=p.$el||i.elMap.get(x),p.$el?a(p):$i.has(m.tag)&&c.push(p)}}for(const p of c){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),a(p),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(p.$el)}for(const p of h)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in i.pendingSideEffects)i.pendingSideEffects[p]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function g1(e={}){var r,o,u;const t=((r=e.domOptions)==null?void 0:r.render)||d0;e.document=e.document||(typeof window<"u"?document:void 0);const n=((u=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:u.innerHTML)||!1;return m1({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function b1(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}/**
2
- * @vue/shared v3.5.34
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/function kl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ne={},Xr=[],kn=()=>{},p0=()=>!1,hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),mt=Object.assign,El=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},y1=Object.prototype.hasOwnProperty,Be=(e,t)=>y1.call(e,t),de=Array.isArray,Jr=e=>lu(e)==="[object Map]",h0=e=>lu(e)==="[object Set]",Ta=e=>lu(e)==="[object Date]",ve=e=>typeof e=="function",Ze=e=>typeof e=="string",Ut=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",m0=e=>(qe(e)||ve(e))&&ve(e.then)&&ve(e.catch),g0=Object.prototype.toString,lu=e=>g0.call(e),_1=e=>lu(e).slice(8,-1),b0=e=>lu(e)==="[object Object]",gs=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lo=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v1=/-\w/g,ht=bs(e=>e.replace(v1,t=>t.slice(1).toUpperCase())),x1=/\B([A-Z])/g,Yn=bs(e=>e.replace(x1,"-$1").toLowerCase()),ys=bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),ju=bs(e=>e?`on${ys(e)}`:""),xt=(e,t)=>!Object.is(e,t),Vu=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},y0=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},wl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Da;const _s=()=>Da||(Da=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zn(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ze(r)?A1(r):Zn(r);if(o)for(const u in o)t[u]=o[u]}return t}else if(Ze(e)||qe(e))return e}const k1=/;(?![^(]*\))/g,E1=/:([^]+)/,w1=/\/\*[^]*?\*\//g;function A1(e){const t={};return e.replace(w1,"").split(k1).forEach(n=>{if(n){const r=n.split(E1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function je(e){let t="";if(Ze(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const r=je(e[n]);r&&(t+=r+" ")}else if(qe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function po(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ze(t)&&(e.class=je(t)),n&&(e.style=Zn(n)),e}const S1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",C1=kl(S1);function _0(e){return!!e||e===""}function T1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Al(e[r],t[r]);return n}function Al(e,t){if(e===t)return!0;let n=Ta(e),r=Ta(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ut(e),r=Ut(t),n||r)return e===t;if(n=de(e),r=de(t),n||r)return n&&r?T1(e,t):!1;if(n=qe(e),r=qe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,u=Object.keys(t).length;if(o!==u)return!1;for(const s in e){const i=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(i&&!l||!i&&l||!Al(e[s],t[s]))return!1}}return String(e)===String(t)}const v0=e=>!!(e&&e.__v_isRef===!0),oe=e=>Ze(e)?e:e==null?"":de(e)||qe(e)&&(e.toString===g0||!ve(e.toString))?v0(e)?oe(e.value):JSON.stringify(e,x0,2):String(e),x0=(e,t)=>v0(t)?x0(e,t.value):Jr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],u)=>(n[Js(r,u)+" =>"]=o,n),{})}:h0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Js(n))}:Ut(t)?Js(t):qe(t)&&!de(t)&&!b0(t)?String(t):t,Js=(e,t="")=>{var n;return Ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
- * @vue/reactivity v3.5.34
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let ut;class k0{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&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ut;try{return ut=this,t()}finally{ut=n}}}on(){++this._on===1&&(this.prevScope=ut,ut=this)}off(){if(this._on>0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;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,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[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 E0(e){return new k0(e)}function Sl(){return ut}function w0(e,t=!1){ut&&ut.cleanups.push(e)}let We;const ei=new WeakSet;class A0{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,ut&&(ut.active?ut.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ei.has(this)&&(ei.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||C0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Oa(this),T0(this);const t=We,n=nn;We=this,nn=!0;try{return this.fn()}finally{D0(this),We=t,nn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Dl(t);this.deps=this.depsTail=void 0,Oa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ei.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Bi(this)&&this.run()}get dirty(){return Bi(this)}}let S0=0,No,$o;function C0(e,t=!1){if(e.flags|=8,t){e.next=$o,$o=e;return}e.next=No,No=e}function Cl(){S0++}function Tl(){if(--S0>0)return;if($o){let t=$o;for($o=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;No;){let t=No;for(No=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function T0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function D0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Dl(r),D1(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Bi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(O0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function O0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ho)||(e.globalVersion=Ho,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Bi(e))))return;e.flags|=2;const t=e.dep,n=We,r=nn;We=e,nn=!0;try{T0(e);const o=e.fn(e._value);(t.version===0||xt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{We=n,nn=r,D0(e),e.flags&=-3}}function Dl(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let u=n.computed.deps;u;u=u.nextDep)Dl(u,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function D1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nn=!0;const I0=[];function Hn(){I0.push(nn),nn=!1}function jn(){const e=I0.pop();nn=e===void 0?!0:e}function Oa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=We;We=void 0;try{t()}finally{We=n}}}let Ho=0;class O1{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 vs{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(!We||!nn||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new O1(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,R0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=r)}return n}trigger(t){this.version++,Ho++,this.notify(t)}notify(t){Cl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Tl()}}}function R0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)R0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xu=new WeakMap,Tr=Symbol(""),qi=Symbol(""),jo=Symbol("");function kt(e,t,n){if(nn&&We){let r=Xu.get(e);r||Xu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new vs),o.map=r,o.key=n),o.track()}}function $n(e,t,n,r,o,u){const s=Xu.get(e);if(!s){Ho++;return}const i=l=>{l&&l.trigger()};if(Cl(),t==="clear")s.forEach(i);else{const l=de(e),a=l&&gs(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,h)=>{(h==="length"||h===jo||!Ut(h)&&h>=c)&&i(f)})}else switch((n!==void 0||s.has(void 0))&&i(s.get(n)),a&&i(s.get(jo)),t){case"add":l?a&&i(s.get("length")):(i(s.get(Tr)),Jr(e)&&i(s.get(qi)));break;case"delete":l||(i(s.get(Tr)),Jr(e)&&i(s.get(qi)));break;case"set":Jr(e)&&i(s.get(Tr));break}}Tl()}function I1(e,t){const n=Xu.get(e);return n&&n.get(t)}function Hr(e){const t=$e(e);return t===e?t:(kt(t,"iterate",jo),Bt(e)?t:t.map(rn))}function xs(e){return kt(e=$e(e),"iterate",jo),e}function bn(e,t){return Gn(e)?uo(Dr(e)?rn(t):t):rn(t)}const R1={__proto__:null,[Symbol.iterator](){return ti(this,Symbol.iterator,e=>bn(this,e))},concat(...e){return Hr(this).concat(...e.map(t=>de(t)?Hr(t):t))},entries(){return ti(this,"entries",e=>(e[1]=bn(this,e[1]),e))},every(e,t){return Mn(this,"every",e,t,void 0,arguments)},filter(e,t){return Mn(this,"filter",e,t,n=>n.map(r=>bn(this,r)),arguments)},find(e,t){return Mn(this,"find",e,t,n=>bn(this,n),arguments)},findIndex(e,t){return Mn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Mn(this,"findLast",e,t,n=>bn(this,n),arguments)},findLastIndex(e,t){return Mn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Mn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ni(this,"includes",e)},indexOf(...e){return ni(this,"indexOf",e)},join(e){return Hr(this).join(e)},lastIndexOf(...e){return ni(this,"lastIndexOf",e)},map(e,t){return Mn(this,"map",e,t,void 0,arguments)},pop(){return wo(this,"pop")},push(...e){return wo(this,"push",e)},reduce(e,...t){return Ia(this,"reduce",e,t)},reduceRight(e,...t){return Ia(this,"reduceRight",e,t)},shift(){return wo(this,"shift")},some(e,t){return Mn(this,"some",e,t,void 0,arguments)},splice(...e){return wo(this,"splice",e)},toReversed(){return Hr(this).toReversed()},toSorted(e){return Hr(this).toSorted(e)},toSpliced(...e){return Hr(this).toSpliced(...e)},unshift(...e){return wo(this,"unshift",e)},values(){return ti(this,"values",e=>bn(this,e))}};function ti(e,t,n){const r=xs(e),o=r[t]();return r!==e&&!Bt(e)&&(o._next=o.next,o.next=()=>{const u=o._next();return u.done||(u.value=n(u.value)),u}),o}const M1=Array.prototype;function Mn(e,t,n,r,o,u){const s=xs(e),i=s!==e&&!Bt(e),l=s[t];if(l!==M1[t]){const f=l.apply(e,u);return i?rn(f):f}let a=n;s!==e&&(i?a=function(f,h){return n.call(this,bn(e,f),h,e)}:n.length>2&&(a=function(f,h){return n.call(this,f,h,e)}));const c=l.call(s,a,r);return i&&o?o(c):c}function Ia(e,t,n,r){const o=xs(e),u=o!==e&&!Bt(e);let s=n,i=!1;o!==e&&(u?(i=r.length===0,s=function(a,c,f){return i&&(i=!1,a=bn(e,a)),n.call(this,a,bn(e,c),f,e)}):n.length>3&&(s=function(a,c,f){return n.call(this,a,c,f,e)}));const l=o[t](s,...r);return i?bn(e,l):l}function ni(e,t,n){const r=$e(e);kt(r,"iterate",jo);const o=r[t](...n);return(o===-1||o===!1)&&ws(n[0])?(n[0]=$e(n[0]),r[t](...n)):o}function wo(e,t,n=[]){Hn(),Cl();const r=$e(e)[t].apply(e,n);return Tl(),jn(),r}const F1=kl("__proto__,__v_isRef,__isVue"),M0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ut));function P1(e){Ut(e)||(e=String(e));const t=$e(this);return kt(t,"has",e),t.hasOwnProperty(e)}class F0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,u=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return u;if(n==="__v_raw")return r===(o?u?B0:z0:u?$0:N0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=de(t);if(!o){let l;if(s&&(l=R1[n]))return l;if(n==="hasOwnProperty")return P1}const i=Reflect.get(t,n,Qe(t)?t:r);if((Ut(n)?M0.has(n):F1(n))||(o||kt(t,"get",n),u))return i;if(Qe(i)){const l=s&&gs(n)?i:i.value;return o&&qe(l)?Vo(l):l}return qe(i)?o?Vo(i):Vn(i):i}}class P0 extends F0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let u=t[n];const s=de(t)&&gs(n);if(!this._isShallow){const a=Gn(u);if(!Bt(r)&&!Gn(r)&&(u=$e(u),r=$e(r)),!s&&Qe(u)&&!Qe(r))return a||(u.value=r),!0}const i=s?Number(n)<t.length:Be(t,n),l=Reflect.set(t,n,r,Qe(t)?t:o);return t===$e(o)&&(i?xt(r,u)&&$n(t,"set",n,r):$n(t,"add",n,r)),l}deleteProperty(t,n){const r=Be(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&$n(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Ut(n)||!M0.has(n))&&kt(t,"has",n),r}ownKeys(t){return kt(t,"iterate",de(t)?"length":Tr),Reflect.ownKeys(t)}}class L0 extends F0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const L1=new P0,N1=new L0,$1=new P0(!0),z1=new L0(!0),Ui=e=>e,Su=e=>Reflect.getPrototypeOf(e);function B1(e,t,n){return function(...r){const o=this.__v_raw,u=$e(o),s=Jr(u),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,a=o[e](...r),c=n?Ui:t?uo:rn;return!t&&kt(u,"iterate",l?qi:Tr),mt(Object.create(a),{next(){const{value:f,done:h}=a.next();return h?{value:f,done:h}:{value:i?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function Cu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function q1(e,t){const n={get(o){const u=this.__v_raw,s=$e(u),i=$e(o);e||(xt(o,i)&&kt(s,"get",o),kt(s,"get",i));const{has:l}=Su(s),a=t?Ui:e?uo:rn;if(l.call(s,o))return a(u.get(o));if(l.call(s,i))return a(u.get(i));u!==s&&u.get(o)},get size(){const o=this.__v_raw;return!e&&kt($e(o),"iterate",Tr),o.size},has(o){const u=this.__v_raw,s=$e(u),i=$e(o);return e||(xt(o,i)&&kt(s,"has",o),kt(s,"has",i)),o===i?u.has(o):u.has(o)||u.has(i)},forEach(o,u){const s=this,i=s.__v_raw,l=$e(i),a=t?Ui:e?uo:rn;return!e&&kt(l,"iterate",Tr),i.forEach((c,f)=>o.call(u,a(c),a(f),s))}};return mt(n,e?{add:Cu("add"),set:Cu("set"),delete:Cu("delete"),clear:Cu("clear")}:{add(o){const u=$e(this),s=Su(u),i=$e(o),l=!t&&!Bt(o)&&!Gn(o)?i:o;return s.has.call(u,l)||xt(o,l)&&s.has.call(u,o)||xt(i,l)&&s.has.call(u,i)||(u.add(l),$n(u,"add",l,l)),this},set(o,u){!t&&!Bt(u)&&!Gn(u)&&(u=$e(u));const s=$e(this),{has:i,get:l}=Su(s);let a=i.call(s,o);a||(o=$e(o),a=i.call(s,o));const c=l.call(s,o);return s.set(o,u),a?xt(u,c)&&$n(s,"set",o,u):$n(s,"add",o,u),this},delete(o){const u=$e(this),{has:s,get:i}=Su(u);let l=s.call(u,o);l||(o=$e(o),l=s.call(u,o)),i&&i.call(u,o);const a=u.delete(o);return l&&$n(u,"delete",o,void 0),a},clear(){const o=$e(this),u=o.size!==0,s=o.clear();return u&&$n(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=B1(o,e,t)}),n}function ks(e,t){const n=q1(e,t);return(r,o,u)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Be(n,o)&&o in r?n:r,o,u)}const U1={get:ks(!1,!1)},H1={get:ks(!1,!0)},j1={get:ks(!0,!1)},V1={get:ks(!0,!0)},N0=new WeakMap,$0=new WeakMap,z0=new WeakMap,B0=new WeakMap;function G1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function W1(e){return e.__v_skip||!Object.isExtensible(e)?0:G1(_1(e))}function Vn(e){return Gn(e)?e:Es(e,!1,L1,U1,N0)}function K1(e){return Es(e,!1,$1,H1,$0)}function Vo(e){return Es(e,!0,N1,j1,z0)}function jr(e){return Es(e,!0,z1,V1,B0)}function Es(e,t,n,r,o){if(!qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=W1(e);if(u===0)return e;const s=o.get(e);if(s)return s;const i=new Proxy(e,u===2?r:n);return o.set(e,i),i}function Dr(e){return Gn(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function Gn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function ws(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function q0(e){return!Be(e,"__v_skip")&&Object.isExtensible(e)&&y0(e,"__v_skip",!0),e}const rn=e=>qe(e)?Vn(e):e,uo=e=>qe(e)?Vo(e):e;function Qe(e){return e?e.__v_isRef===!0:!1}function V(e){return U0(e,!1)}function au(e){return U0(e,!0)}function U0(e,t){return Qe(e)?e:new Y1(e,t)}class Y1{constructor(t,n){this.dep=new vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:$e(t),this._value=n?t:rn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Bt(t)||Gn(t);t=r?t:$e(t),xt(t,n)&&(this._rawValue=t,this._value=r?t:rn(t),this.dep.trigger())}}function Z1(e){e.dep&&e.dep.trigger()}function _(e){return Qe(e)?e.value:e}function nt(e){return ve(e)?e():_(e)}const Q1={get:(e,t,n)=>t==="__v_raw"?e:_(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Qe(o)&&!Qe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function H0(e){return Dr(e)?e:new Proxy(e,Q1)}class X1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new vs,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ol(e){return new X1(e)}function cu(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=j0(e,n);return t}class J1{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Ut(n)?n:String(n),this._raw=$e(t);let o=!0,u=t;if(!de(t)||Ut(this._key)||!gs(this._key))do o=!ws(u)||Bt(u);while(o&&(u=u.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=_(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Qe(this._raw[this._key])){const n=this._object[this._key];if(Qe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return I1(this._raw,this._key)}}class em{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sr(e,t,n){return Qe(e)?e:ve(e)?new em(e):qe(e)&&arguments.length>1?j0(e,t,n):V(e)}function j0(e,t,n){return new J1(e,t,n)}class tm{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ho-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return C0(this,!0),!0}get value(){const t=this.dep.track();return O0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nm(e,t,n=!1){let r,o;return ve(e)?r=e:(r=e.get,o=e.set),new tm(r,o,n)}const Tu={},Ju=new WeakMap;let Sr;function rm(e,t=!1,n=Sr){if(n){let r=Ju.get(n);r||Ju.set(n,r=[]),r.push(e)}}function om(e,t,n=Ne){const{immediate:r,deep:o,once:u,scheduler:s,augmentJob:i,call:l}=n,a=y=>o?y:Bt(y)||o===!1||o===0?zn(y,1):zn(y);let c,f,h,d,p=!1,m=!1;if(Qe(e)?(f=()=>e.value,p=Bt(e)):Dr(e)?(f=()=>a(e),p=!0):de(e)?(m=!0,p=e.some(y=>Dr(y)||Bt(y)),f=()=>e.map(y=>{if(Qe(y))return y.value;if(Dr(y))return a(y);if(ve(y))return l?l(y,2):y()})):ve(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){Hn();try{h()}finally{jn()}}const y=Sr;Sr=c;try{return l?l(e,3,[d]):e(d)}finally{Sr=y}}:f=kn,t&&o){const y=f,S=o===!0?1/0:o;f=()=>zn(y(),S)}const g=Sl(),x=()=>{c.stop(),g&&g.active&&El(g.effects,c)};if(u&&t){const y=t;t=(...S)=>{y(...S),x()}}let b=m?new Array(e.length).fill(Tu):Tu;const k=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const S=c.run();if(o||p||(m?S.some((w,C)=>xt(w,b[C])):xt(S,b))){h&&h();const w=Sr;Sr=c;try{const C=[S,b===Tu?void 0:m&&b[0]===Tu?[]:b,d];b=S,l?l(t,3,C):t(...C)}finally{Sr=w}}}else c.run()};return i&&i(k),c=new A0(f),c.scheduler=s?()=>s(k,!1):k,d=y=>rm(y,!1,c),h=c.onStop=()=>{const y=Ju.get(c);if(y){if(l)l(y,4);else for(const S of y)S();Ju.delete(c)}},t?r?k(!0):b=c.run():s?s(k.bind(null,!0),!0):c.run(),x.pause=c.pause.bind(c),x.resume=c.resume.bind(c),x.stop=x,x}function zn(e,t=1/0,n){if(t<=0||!qe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Qe(e))zn(e.value,t,n);else if(de(e))for(let r=0;r<e.length;r++)zn(e[r],t,n);else if(h0(e)||Jr(e))e.forEach(r=>{zn(r,t,n)});else if(b0(e)){for(const r in e)zn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&zn(e[r],t,n)}return e}/**
10
- * @vue/runtime-core v3.5.34
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function fu(e,t,n,r){try{return r?e(...r):e()}catch(o){As(o,t,n)}}function An(e,t,n,r){if(ve(e)){const o=fu(e,t,n,r);return o&&m0(o)&&o.catch(u=>{As(u,t,n)}),o}if(de(e)){const o=[];for(let u=0;u<e.length;u++)o.push(An(e[u],t,n,r));return o}}function As(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:u,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Ne;if(t){let i=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,a)===!1)return}i=i.parent}if(u){Hn(),fu(u,null,10,[e,l,a]),jn();return}}um(e,n,o,r,s)}function um(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const It=[];let gn=-1;const eo=[];let ir=null,Wr=0;const V0=Promise.resolve();let es=null;function pt(e){const t=es||V0;return e?t.then(this?e.bind(this):e):t}function sm(e){let t=gn+1,n=It.length;for(;t<n;){const r=t+n>>>1,o=It[r],u=Go(o);u<e||u===e&&o.flags&2?t=r+1:n=r}return t}function Il(e){if(!(e.flags&1)){const t=Go(e),n=It[It.length-1];!n||!(e.flags&2)&&t>=Go(n)?It.push(e):It.splice(sm(t),0,e),e.flags|=1,G0()}}function G0(){es||(es=V0.then(K0))}function im(e){de(e)?eo.push(...e):ir&&e.id===-1?ir.splice(Wr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),G0()}function Ra(e,t,n=gn+1){for(;n<It.length;n++){const r=It[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;It.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function W0(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>Go(n)-Go(r));if(eo.length=0,ir){ir.push(...t);return}for(ir=t,Wr=0;Wr<ir.length;Wr++){const n=ir[Wr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ir=null,Wr=0}}const Go=e=>e.id==null?e.flags&2?-1:1/0:e.id;function K0(e){try{for(gn=0;gn<It.length;gn++){const t=It[gn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;gn<It.length;gn++){const t=It[gn];t&&(t.flags&=-2)}gn=-1,It.length=0,W0(),es=null,(It.length||eo.length)&&K0()}}let yt=null,Y0=null;function ts(e){const t=yt;return yt=e,Y0=e&&e.type.__scopeId||null,t}function he(e,t=yt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&os(-1);const u=ts(t);let s;try{s=e(...o)}finally{ts(u),r._d&&os(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function lm(e,t){if(yt===null)return e;const n=Ds(yt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[u,s,i,l=Ne]=t[o];u&&(ve(u)&&(u={mounted:u,updated:u}),u.deep&&zn(s),r.push({dir:u,instance:n,value:s,oldValue:void 0,arg:i,modifiers:l}))}return e}function vr(e,t,n,r){const o=e.dirs,u=t&&t.dirs;for(let s=0;s<o.length;s++){const i=o[s];u&&(i.oldValue=u[s].value);let l=i.dir[r];l&&(Hn(),An(l,n,8,[e.el,i,e,t]),jn())}}function ho(e,t){if(Et){let n=Et.provides;const r=Et.parent&&Et.parent.provides;r===n&&(n=Et.provides=Object.create(r)),n[e]=t}}function Ft(e,t,n=!1){const r=Rt();if(r||Or){let o=Or?Or._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ve(t)?t.call(r&&r.proxy):t}}function am(){return!!(Rt()||Or)}const cm=Symbol.for("v-scx"),fm=()=>Ft(cm);function on(e,t){return du(e,null,t)}function Z0(e,t){return du(e,null,{flush:"post"})}function dm(e,t){return du(e,null,{flush:"sync"})}function Ye(e,t,n){return du(e,t,n)}function du(e,t,n=Ne){const{immediate:r,deep:o,flush:u,once:s}=n,i=mt({},n),l=t&&r||!t&&u!=="post";let a;if(Qo){if(u==="sync"){const d=fm();a=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=kn,d.resume=kn,d.pause=kn,d}}const c=Et;i.call=(d,p,m)=>An(d,c,p,m);let f=!1;u==="post"?i.scheduler=d=>{Dt(d,c&&c.suspense)}:u!=="sync"&&(f=!0,i.scheduler=(d,p)=>{p?d():Il(d)}),i.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=om(e,t,i);return Qo&&(a?a.push(h):l&&h()),h}function pm(e,t,n){const r=this.proxy,o=Ze(e)?e.includes(".")?Q0(r,e):()=>r[e]:e.bind(r,r);let u;ve(t)?u=t:(u=t.handler,n=t);const s=hu(this),i=du(o,u.bind(r),n);return s(),i}function Q0(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const or=new WeakMap,X0=Symbol("_vte"),hm=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||e.disabled===""),mm=e=>e&&(e.defer||e.defer===""),Ma=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Fa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Hi=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},gm={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,u,s,i,l,a){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:m,createComment:g,parentNode:x}}=a,b=Cr(t.props);let{dynamicChildren:k}=t;const y=(C,T,$)=>{C.shapeFlag&16&&c(C.children,T,$,o,u,s,i,l)},S=(C=t)=>{const T=Cr(C.props),$=C.target=Hi(C.props,p),G=ji($,C,m,d);$&&(s!=="svg"&&Ma($)?s="svg":s!=="mathml"&&Fa($)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add($),T||(y(C,$,G),Ro(C,!1)))},w=C=>{const T=()=>{if(or.get(C)===T){if(or.delete(C),Cr(C.props)){const $=x(C.el)||n;y(C,$,C.anchor),Ro(C,!0)}S(C)}};or.set(C,T),Dt(T,u)};if(e==null){const C=t.el=m(""),T=t.anchor=m("");if(d(C,n,r),d(T,n,r),mm(t.props)||u&&u.pendingBranch){w(t);return}b&&(y(t,n,T),Ro(t,!0)),S()}else{t.el=e.el;const C=t.anchor=e.anchor,T=or.get(e);if(T){T.flags|=8,or.delete(e),w(t);return}t.targetStart=e.targetStart;const $=t.target=e.target,G=t.targetAnchor=e.targetAnchor,ie=Cr(e.props),ue=ie?n:$,Ee=ie?C:G;if(s==="svg"||Ma($)?s="svg":(s==="mathml"||Fa($))&&(s="mathml"),k?(h(e.dynamicChildren,k,ue,o,u,s,i),Pl(e,t,!0)):l||f(e,t,ue,Ee,o,u,s,i,!1),b)ie?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Du(t,n,C,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=Hi(t.props,p);B&&Du(t,B,null,a,0)}else ie&&Du(t,$,G,a,1);Ro(t,b)}},remove(e,t,n,{um:r,o:{remove:o}},u){const{shapeFlag:s,children:i,anchor:l,targetStart:a,targetAnchor:c,target:f,props:h}=e;let d=u||!Cr(h);const p=or.get(e);if(p&&(p.flags|=8,or.delete(e),d=!1),f&&(o(a),o(c)),u&&o(l),s&16)for(let m=0;m<i.length;m++){const g=i[m];r(g,t,n,d,!!g.dynamicChildren)}},move:Du,hydrate:bm};function Du(e,t,n,{o:{insert:r},m:o},u=2){u===0&&r(e.targetAnchor,t,n);const{el:s,anchor:i,shapeFlag:l,children:a,props:c}=e,f=u===2;if(f&&r(s,t,n),!or.has(e)&&(!f||Cr(c))&&l&16)for(let h=0;h<a.length;h++)o(a[h],t,n,2);f&&r(i,t,n)}function bm(e,t,n,r,o,u,{o:{nextSibling:s,parentNode:i,querySelector:l,insert:a,createText:c}},f){function h(g,x){let b=x;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,g._lpa=t.targetAnchor&&s(t.targetAnchor);break}}b=s(b)}}function d(g,x){x.anchor=f(s(g),x,i(g),n,r,o,u)}const p=t.target=Hi(t.props,l),m=Cr(t.props);if(p){const g=p._lpa||p.firstChild;t.shapeFlag&16&&(m?(d(e,t),h(p,g),t.targetAnchor||ji(p,t,c,a,i(e)===p?e:null)):(t.anchor=s(e),h(p,g),t.targetAnchor||ji(p,t,c,a),f(g&&s(g),t,p,n,r,o,u))),Ro(t,m)}else m&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}const J0=gm;function Ro(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function ji(e,t,n,r,o=null){const u=t.targetStart=n(""),s=t.targetAnchor=n("");return u[X0]=s,e&&(r(u,e,o),r(s,e,o)),s}const ym=Symbol("_leaveCb");function Rl(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Rl(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function xe(e,t){return ve(e)?mt({name:e.name},t,{setup:e}):e}function ri(){const e=Rt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function ed(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Pa(e){const t=Rt(),n=au(null);if(t){const o=t.refs===Ne?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:u=>n.value=u})}return n}function La(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ns=new WeakMap;function zo(e,t,n,r,o=!1){if(de(e)){e.forEach((m,g)=>zo(m,t&&(de(t)?t[g]:t),n,r,o));return}if(to(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&zo(e,t,n,r.component.subTree);return}const u=r.shapeFlag&4?Ds(r.component):r.el,s=o?null:u,{i,r:l}=e,a=t&&t.r,c=i.refs===Ne?i.refs={}:i.refs,f=i.setupState,h=$e(f),d=f===Ne?p0:m=>La(c,m)?!1:Be(h,m),p=(m,g)=>!(g&&La(c,g));if(a!=null&&a!==l){if(Na(t),Ze(a))c[a]=null,d(a)&&(f[a]=null);else if(Qe(a)){const m=t;p(a,m.k)&&(a.value=null),m.k&&(c[m.k]=null)}}if(ve(l))fu(l,i,12,[s,c]);else{const m=Ze(l),g=Qe(l);if(m||g){const x=()=>{if(e.f){const b=m?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(o)de(b)&&El(b,u);else if(de(b))b.includes(u)||b.push(u);else if(m)c[l]=[u],d(l)&&(f[l]=c[l]);else{const k=[u];p(l,e.k)&&(l.value=k),e.k&&(c[e.k]=k)}}else m?(c[l]=s,d(l)&&(f[l]=s)):g&&(p(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const b=()=>{x(),ns.delete(e)};b.id=-1,ns.set(e,b),Dt(b,n)}else Na(e),x()}}}function Na(e){const t=ns.get(e);t&&(t.flags|=8,ns.delete(e))}_s().requestIdleCallback;_s().cancelIdleCallback;const to=e=>!!e.type.__asyncLoader,td=e=>e.type.__isKeepAlive;function nd(e,t){od(e,"a",t)}function rd(e,t){od(e,"da",t)}function od(e,t,n=Et){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ss(t,r,n),n){let o=n.parent;for(;o&&o.parent;)td(o.parent.vnode)&&_m(r,t,n,o),o=o.parent}}function _m(e,t,n,r){const o=Ss(t,e,r,!0);gr(()=>{El(r[t],o)},n)}function Ss(e,t,n=Et,r=!1){if(n){const o=n[e]||(n[e]=[]),u=t.__weh||(t.__weh=(...s)=>{Hn();const i=hu(n),l=An(t,n,e,s);return i(),jn(),l});return r?o.unshift(u):o.push(u),u}}const Qn=e=>(t,n=Et)=>{(!Qo||e==="sp")&&Ss(e,(...r)=>t(...r),n)},vm=Qn("bm"),At=Qn("m"),xm=Qn("bu"),ud=Qn("u"),mo=Qn("bum"),gr=Qn("um"),km=Qn("sp"),Em=Qn("rtg"),wm=Qn("rtc");function Am(e,t=Et){Ss("ec",e,t)}const Sm="components",sd=Symbol.for("v-ndc");function Wo(e){return Ze(e)?Cm(Sm,e,!1)||e:e||sd}function Cm(e,t,n=!0,r=!1){const o=yt||Et;if(o){const u=o.type;{const i=pg(u,!1);if(i&&(i===t||i===ht(t)||i===ys(ht(t))))return u}const s=$a(o[e]||u[e],t)||$a(o.appContext[e],t);return!s&&r?u:s}}function $a(e,t){return e&&(e[t]||e[ht(t)]||e[ys(ht(t))])}function wt(e,t,n,r){let o;const u=n,s=de(e);if(s||Ze(e)){const i=s&&Dr(e);let l=!1,a=!1;i&&(l=!Bt(e),a=Gn(e),e=xs(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?a?uo(rn(e[c])):rn(e[c]):e[c],c,void 0,u)}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,u)}else if(qe(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,u));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];o[l]=t(e[c],c,l,u)}}else o=[];return o}function Se(e,t,n={},r,o){if(yt.ce||yt.parent&&to(yt.parent)&&yt.parent.ce){const a=Object.keys(n).length>0;return t!=="default"&&(n.name=t),O(),ce(Fe,null,[be("slot",n,r&&r())],a?-2:64)}let u=e[t];u&&u._c&&(u._d=!1),O();const s=u&&id(u(n)),i=n.key||s&&s.key,l=ce(Fe,{key:(i&&!Ut(i)?i:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),u&&u._c&&(u._d=!0),l}function id(e){return e.some(t=>Zo(t)?!(t.type===Sn||t.type===Fe&&!id(t.children)):!0)?e:null}const Vi=e=>e?Cd(e)?Ds(e):Vi(e.parent):null,Bo=mt(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=>Vi(e.parent),$root:e=>Vi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ad(e),$forceUpdate:e=>e.f||(e.f=()=>{Il(e.update)}),$nextTick:e=>e.n||(e.n=pt.bind(e.proxy)),$watch:e=>pm.bind(e)}),oi=(e,t)=>e!==Ne&&!e.__isScriptSetup&&Be(e,t),Tm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:u,accessCache:s,type:i,appContext:l}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return u[t]}else{if(oi(r,t))return s[t]=1,r[t];if(o!==Ne&&Be(o,t))return s[t]=2,o[t];if(Be(u,t))return s[t]=3,u[t];if(n!==Ne&&Be(n,t))return s[t]=4,n[t];Gi&&(s[t]=0)}}const a=Bo[t];let c,f;if(a)return t==="$attrs"&&kt(e.attrs,"get",""),a(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(n!==Ne&&Be(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,Be(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:u}=e;return oi(o,t)?(o[t]=n,!0):r!==Ne&&Be(r,t)?(r[t]=n,!0):Be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(u[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:u,type:s}},i){let l;return!!(n[i]||e!==Ne&&i[0]!=="$"&&Be(e,i)||oi(t,i)||Be(u,i)||Be(r,i)||Be(Bo,i)||Be(o.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Dm(){return Om().slots}function Om(e){const t=Rt();return t.setupContext||(t.setupContext=Dd(t))}function Ko(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Im(e,t){const n=Ko(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?de(o)||ve(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function Rm(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):mt({},Ko(e),Ko(t))}let Gi=!0;function Mm(e){const t=ad(e),n=e.proxy,r=e.ctx;Gi=!1,t.beforeCreate&&za(t.beforeCreate,e,"bc");const{data:o,computed:u,methods:s,watch:i,provide:l,inject:a,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:m,deactivated:g,beforeDestroy:x,beforeUnmount:b,destroyed:k,unmounted:y,render:S,renderTracked:w,renderTriggered:C,errorCaptured:T,serverPrefetch:$,expose:G,inheritAttrs:ie,components:ue,directives:Ee,filters:B}=t;if(a&&Fm(a,r,null),s)for(const q in s){const Z=s[q];ve(Z)&&(r[q]=Z.bind(n))}if(o){const q=o.call(n,n);qe(q)&&(e.data=Vn(q))}if(Gi=!0,u)for(const q in u){const Z=u[q],me=ve(Z)?Z.bind(n,n):ve(Z.get)?Z.get.bind(n,n):kn,Y=!ve(Z)&&ve(Z.set)?Z.set.bind(n):kn,ye=M({get:me,set:Y});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>ye.value,set:te=>ye.value=te})}if(i)for(const q in i)ld(i[q],r,n,q);if(l){const q=ve(l)?l.call(n):l;Reflect.ownKeys(q).forEach(Z=>{ho(Z,q[Z])})}c&&za(c,e,"c");function P(q,Z){de(Z)?Z.forEach(me=>q(me.bind(n))):Z&&q(Z.bind(n))}if(P(vm,f),P(At,h),P(xm,d),P(ud,p),P(nd,m),P(rd,g),P(Am,T),P(wm,w),P(Em,C),P(mo,b),P(gr,y),P(km,$),de(G))if(G.length){const q=e.exposed||(e.exposed={});G.forEach(Z=>{Object.defineProperty(q,Z,{get:()=>n[Z],set:me=>n[Z]=me,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===kn&&(e.render=S),ie!=null&&(e.inheritAttrs=ie),ue&&(e.components=ue),Ee&&(e.directives=Ee),$&&ed(e)}function Fm(e,t,n=kn){de(e)&&(e=Wi(e));for(const r in e){const o=e[r];let u;qe(o)?"default"in o?u=Ft(o.from||r,o.default,!0):u=Ft(o.from||r):u=Ft(o),Qe(u)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:s=>u.value=s}):t[r]=u}}function za(e,t,n){An(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ld(e,t,n,r){let o=r.includes(".")?Q0(n,r):()=>n[r];if(Ze(e)){const u=t[e];ve(u)&&Ye(o,u)}else if(ve(e))Ye(o,e.bind(n));else if(qe(e))if(de(e))e.forEach(u=>ld(u,t,n,r));else{const u=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(u)&&Ye(o,u,e)}}function ad(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:u,config:{optionMergeStrategies:s}}=e.appContext,i=u.get(t);let l;return i?l=i:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(a=>rs(l,a,s,!0)),rs(l,t,s)),qe(t)&&u.set(t,l),l}function rs(e,t,n,r=!1){const{mixins:o,extends:u}=t;u&&rs(e,u,n,!0),o&&o.forEach(s=>rs(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const i=Pm[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Pm={data:Ba,props:qa,emits:qa,methods:Mo,computed:Mo,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:Mo,directives:Mo,watch:Nm,provide:Ba,inject:Lm};function Ba(e,t){return t?e?function(){return mt(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function Lm(e,t){return Mo(Wi(e),Wi(t))}function Wi(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ct(e,t){return e?[...new Set([].concat(e,t))]:t}function Mo(e,t){return e?mt(Object.create(null),e,t):t}function qa(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:mt(Object.create(null),Ko(e),Ko(t??{})):t}function Nm(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=Ct(e[r],t[r]);return n}function cd(){return{app:null,config:{isNativeTag:p0,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 $m=0;function zm(e,t){return function(r,o=null){ve(r)||(r=mt({},r)),o!=null&&!qe(o)&&(o=null);const u=cd(),s=new WeakSet,i=[];let l=!1;const a=u.app={_uid:$m++,_component:r,_props:o,_container:null,_context:u,_instance:null,version:mg,get config(){return u.config},set config(c){},use(c,...f){return s.has(c)||(c&&ve(c.install)?(s.add(c),c.install(a,...f)):ve(c)&&(s.add(c),c(a,...f))),a},mixin(c){return u.mixins.includes(c)||u.mixins.push(c),a},component(c,f){return f?(u.components[c]=f,a):u.components[c]},directive(c,f){return f?(u.directives[c]=f,a):u.directives[c]},mount(c,f,h){if(!l){const d=a._ceVNode||be(r,o);return d.appContext=u,h===!0?h="svg":h===!1&&(h=void 0),e(d,c,h),l=!0,a._container=c,c.__vue_app__=a,Ds(d.component)}},onUnmount(c){i.push(c)},unmount(){l&&(An(i,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(c,f){return u.provides[c]=f,a},runWithContext(c){const f=Or;Or=a;try{return c()}finally{Or=f}}};return a}}let Or=null;function Bm(e,t,n=Ne){const r=Rt(),o=ht(t),u=Yn(t),s=fd(e,o),i=Ol((l,a)=>{let c,f=Ne,h;return dm(()=>{const d=e[o];xt(c,d)&&(c=d,a())}),{get(){return l(),n.get?n.get(c):c},set(d){const p=n.set?n.set(d):d;if(!xt(p,c)&&!(f!==Ne&&xt(d,f)))return;const m=r.vnode.props;m&&(t in m||o in m||u in m)&&(`onUpdate:${t}`in m||`onUpdate:${o}`in m||`onUpdate:${u}`in m)||(c=d,a()),r.emit(`update:${t}`,p),xt(d,p)&&xt(d,f)&&!xt(p,h)&&a(),f=d,h=p}}});return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||Ne:i,done:!1}:{done:!0}}}},i}const fd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${Yn(t)}Modifiers`];function qm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ne;let o=n;const u=t.startsWith("update:"),s=u&&fd(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Ze(c)?c.trim():c)),s.number&&(o=n.map(wl)));let i,l=r[i=ju(t)]||r[i=ju(ht(t))];!l&&u&&(l=r[i=ju(Yn(t))]),l&&An(l,e,6,o);const a=r[i+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,An(a,e,6,o)}}const Um=new WeakMap;function dd(e,t,n=!1){const r=n?Um:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const u=e.emits;let s={},i=!1;if(!ve(e)){const l=a=>{const c=dd(a,t,!0);c&&(i=!0,mt(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!u&&!i?(qe(e)&&r.set(e,null),null):(de(u)?u.forEach(l=>s[l]=null):mt(s,u),qe(e)&&r.set(e,s),s)}function Cs(e,t){return!e||!hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Be(e,t[0].toLowerCase()+t.slice(1))||Be(e,Yn(t))||Be(e,t))}function Ua(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[u],slots:s,attrs:i,emit:l,render:a,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:m}=e,g=ts(e);let x,b;try{if(n.shapeFlag&4){const y=o||r,S=y;x=yn(a.call(S,y,c,f,d,h,p)),b=i}else{const y=t;x=yn(y.length>1?y(f,{attrs:i,slots:s,emit:l}):y(f,null)),b=t.props?i:Hm(i)}}catch(y){qo.length=0,As(y,e,1),x=be(Sn)}let k=x;if(b&&m!==!1){const y=Object.keys(b),{shapeFlag:S}=k;y.length&&S&7&&(u&&y.some(ms)&&(b=jm(b,u)),k=Rr(k,b,!1,!0))}return n.dirs&&(k=Rr(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&Rl(k,n.transition),x=k,ts(g),x}const Hm=e=>{let t;for(const n in e)(n==="class"||n==="style"||hs(n))&&((t||(t={}))[n]=e[n]);return t},jm=(e,t)=>{const n={};for(const r in e)(!ms(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Vm(e,t,n){const{props:r,children:o,component:u}=e,{props:s,children:i,patchFlag:l}=t,a=u.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ha(r,s,a):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(pd(s,r,h)&&!Cs(a,h))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===s?!1:r?s?Ha(r,s,a):!0:!!s;return!1}function Ha(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const u=r[o];if(pd(t,e,u)&&!Cs(n,u))return!0}return!1}function pd(e,t,n){const r=e[n],o=t[n];return n==="style"&&qe(r)&&qe(o)?!Al(r,o):r!==o}function Gm({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const hd={},md=()=>Object.create(hd),gd=e=>Object.getPrototypeOf(e)===hd;function Wm(e,t,n,r=!1){const o={},u=md();e.propsDefaults=Object.create(null),bd(e,t,o,u);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:K1(o):e.type.props?e.props=o:e.props=u,e.attrs=u}function Km(e,t,n,r){const{props:o,attrs:u,vnode:{patchFlag:s}}=e,i=$e(o),[l]=e.propsOptions;let a=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Cs(e.emitsOptions,h))continue;const d=t[h];if(l)if(Be(u,h))d!==u[h]&&(u[h]=d,a=!0);else{const p=ht(h);o[p]=Ki(l,i,p,d,e,!1)}else d!==u[h]&&(u[h]=d,a=!0)}}}else{bd(e,t,o,u)&&(a=!0);let c;for(const f in i)(!t||!Be(t,f)&&((c=Yn(f))===f||!Be(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=Ki(l,i,f,void 0,e,!0)):delete o[f]);if(u!==i)for(const f in u)(!t||!Be(t,f))&&(delete u[f],a=!0)}a&&$n(e.attrs,"set","")}function bd(e,t,n,r){const[o,u]=e.propsOptions;let s=!1,i;if(t)for(let l in t){if(Lo(l))continue;const a=t[l];let c;o&&Be(o,c=ht(l))?!u||!u.includes(c)?n[c]=a:(i||(i={}))[c]=a:Cs(e.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,s=!0)}if(u){const l=$e(n),a=i||Ne;for(let c=0;c<u.length;c++){const f=u[c];n[f]=Ki(o,l,f,a[f],e,!Be(a,f))}}return s}function Ki(e,t,n,r,o,u){const s=e[n];if(s!=null){const i=Be(s,"default");if(i&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&ve(l)){const{propsDefaults:a}=o;if(n in a)r=a[n];else{const c=hu(o);r=a[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(u&&!i?r=!1:s[1]&&(r===""||r===Yn(n))&&(r=!0))}return r}const Ym=new WeakMap;function yd(e,t,n=!1){const r=n?Ym:t.propsCache,o=r.get(e);if(o)return o;const u=e.props,s={},i=[];let l=!1;if(!ve(e)){const c=f=>{l=!0;const[h,d]=yd(f,t,!0);mt(s,h),d&&i.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!u&&!l)return qe(e)&&r.set(e,Xr),Xr;if(de(u))for(let c=0;c<u.length;c++){const f=ht(u[c]);ja(f)&&(s[f]=Ne)}else if(u)for(const c in u){const f=ht(c);if(ja(f)){const h=u[c],d=s[f]=de(h)||ve(h)?{type:h}:mt({},h),p=d.type;let m=!1,g=!0;if(de(p))for(let x=0;x<p.length;++x){const b=p[x],k=ve(b)&&b.name;if(k==="Boolean"){m=!0;break}else k==="String"&&(g=!1)}else m=ve(p)&&p.name==="Boolean";d[0]=m,d[1]=g,(m||Be(d,"default"))&&i.push(f)}}const a=[s,i];return qe(e)&&r.set(e,a),a}function ja(e){return e[0]!=="$"&&!Lo(e)}const Ml=e=>e==="_"||e==="_ctx"||e==="$stable",Fl=e=>de(e)?e.map(yn):[yn(e)],Zm=(e,t,n)=>{if(t._n)return t;const r=he((...o)=>Fl(t(...o)),n);return r._c=!1,r},_d=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ml(o))continue;const u=e[o];if(ve(u))t[o]=Zm(o,u,r);else if(u!=null){const s=Fl(u);t[o]=()=>s}}},vd=(e,t)=>{const n=Fl(t);e.slots.default=()=>n},xd=(e,t,n)=>{for(const r in t)(n||!Ml(r))&&(e[r]=t[r])},Qm=(e,t,n)=>{const r=e.slots=md();if(e.vnode.shapeFlag&32){const o=t._;o?(xd(r,t,n),n&&y0(r,"_",o,!0)):_d(t,r)}else t&&vd(e,t)},Xm=(e,t,n)=>{const{vnode:r,slots:o}=e;let u=!0,s=Ne;if(r.shapeFlag&32){const i=t._;i?n&&i===1?u=!1:xd(o,t,n):(u=!t.$stable,_d(t,o)),s=t}else t&&(vd(e,t),s={default:1});if(u)for(const i in o)!Ml(i)&&s[i]==null&&delete o[i]},Dt=rg;function Jm(e){return eg(e)}function eg(e,t){const n=_s();n.__VUE__=!0;const{insert:r,remove:o,patchProp:u,createElement:s,createText:i,createComment:l,setText:a,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=kn,insertStaticContent:p}=e,m=(E,A,I,L=null,N=null,U=null,R=void 0,K=null,W=!!A.dynamicChildren)=>{if(E===A)return;E&&!Ao(E,A)&&(L=X(E),te(E,N,U,!0),E=null),A.patchFlag===-2&&(W=!1,A.dynamicChildren=null);const{type:H,ref:fe,shapeFlag:J}=A;switch(H){case Ts:g(E,A,I,L);break;case Sn:x(E,A,I,L);break;case Gu:E==null&&b(A,I,L,R);break;case Fe:ue(E,A,I,L,N,U,R,K,W);break;default:J&1?S(E,A,I,L,N,U,R,K,W):J&6?Ee(E,A,I,L,N,U,R,K,W):(J&64||J&128)&&H.process(E,A,I,L,N,U,R,K,W,ze)}fe!=null&&N?zo(fe,E&&E.ref,U,A||E,!A):fe==null&&E&&E.ref!=null&&zo(E.ref,null,U,E,!0)},g=(E,A,I,L)=>{if(E==null)r(A.el=i(A.children),I,L);else{const N=A.el=E.el;A.children!==E.children&&a(N,A.children)}},x=(E,A,I,L)=>{E==null?r(A.el=l(A.children||""),I,L):A.el=E.el},b=(E,A,I,L)=>{[E.el,E.anchor]=p(E.children,A,I,L,E.el,E.anchor)},k=({el:E,anchor:A},I,L)=>{let N;for(;E&&E!==A;)N=h(E),r(E,I,L),E=N;r(A,I,L)},y=({el:E,anchor:A})=>{let I;for(;E&&E!==A;)I=h(E),o(E),E=I;o(A)},S=(E,A,I,L,N,U,R,K,W)=>{if(A.type==="svg"?R="svg":A.type==="math"&&(R="mathml"),E==null)w(A,I,L,N,U,R,K,W);else{const H=E.el&&E.el._isVueCE?E.el:null;try{H&&H._beginPatch(),$(E,A,N,U,R,K,W)}finally{H&&H._endPatch()}}},w=(E,A,I,L,N,U,R,K)=>{let W,H;const{props:fe,shapeFlag:J,transition:se,dirs:ae}=E;if(W=E.el=s(E.type,U,fe&&fe.is,fe),J&8?c(W,E.children):J&16&&T(E.children,W,null,L,N,ui(E,U),R,K),ae&&vr(E,null,L,"created"),C(W,E,E.scopeId,R,L),fe){for(const Re in fe)Re!=="value"&&!Lo(Re)&&u(W,Re,null,fe[Re],U,L);"value"in fe&&u(W,"value",null,fe.value,U),(H=fe.onVnodeBeforeMount)&&dn(H,L,E)}ae&&vr(E,null,L,"beforeMount");const Ae=tg(N,se);Ae&&se.beforeEnter(W),r(W,A,I),((H=fe&&fe.onVnodeMounted)||Ae||ae)&&Dt(()=>{try{H&&dn(H,L,E),Ae&&se.enter(W),ae&&vr(E,null,L,"mounted")}finally{}},N)},C=(E,A,I,L,N)=>{if(I&&d(E,I),L)for(let U=0;U<L.length;U++)d(E,L[U]);if(N){let U=N.subTree;if(A===U||wd(U.type)&&(U.ssContent===A||U.ssFallback===A)){const R=N.vnode;C(E,R,R.scopeId,R.slotScopeIds,N.parent)}}},T=(E,A,I,L,N,U,R,K,W=0)=>{for(let H=W;H<E.length;H++){const fe=E[H]=K?Ln(E[H]):yn(E[H]);m(null,fe,A,I,L,N,U,R,K)}},$=(E,A,I,L,N,U,R)=>{const K=A.el=E.el;let{patchFlag:W,dynamicChildren:H,dirs:fe}=A;W|=E.patchFlag&16;const J=E.props||Ne,se=A.props||Ne;let ae;if(I&&xr(I,!1),(ae=se.onVnodeBeforeUpdate)&&dn(ae,I,A,E),fe&&vr(A,E,I,"beforeUpdate"),I&&xr(I,!0),(J.innerHTML&&se.innerHTML==null||J.textContent&&se.textContent==null)&&c(K,""),H?G(E.dynamicChildren,H,K,I,L,ui(A,N),U):R||Z(E,A,K,null,I,L,ui(A,N),U,!1),W>0){if(W&16)ie(K,J,se,I,N);else if(W&2&&J.class!==se.class&&u(K,"class",null,se.class,N),W&4&&u(K,"style",J.style,se.style,N),W&8){const Ae=A.dynamicProps;for(let Re=0;Re<Ae.length;Re++){const Pe=Ae[Re],Ue=J[Pe],He=se[Pe];(He!==Ue||Pe==="value")&&u(K,Pe,Ue,He,N,I)}}W&1&&E.children!==A.children&&c(K,A.children)}else!R&&H==null&&ie(K,J,se,I,N);((ae=se.onVnodeUpdated)||fe)&&Dt(()=>{ae&&dn(ae,I,A,E),fe&&vr(A,E,I,"updated")},L)},G=(E,A,I,L,N,U,R)=>{for(let K=0;K<A.length;K++){const W=E[K],H=A[K],fe=W.el&&(W.type===Fe||!Ao(W,H)||W.shapeFlag&198)?f(W.el):I;m(W,H,fe,null,L,N,U,R,!0)}},ie=(E,A,I,L,N)=>{if(A!==I){if(A!==Ne)for(const U in A)!Lo(U)&&!(U in I)&&u(E,U,A[U],null,N,L);for(const U in I){if(Lo(U))continue;const R=I[U],K=A[U];R!==K&&U!=="value"&&u(E,U,K,R,N,L)}"value"in I&&u(E,"value",A.value,I.value,N)}},ue=(E,A,I,L,N,U,R,K,W)=>{const H=A.el=E?E.el:i(""),fe=A.anchor=E?E.anchor:i("");let{patchFlag:J,dynamicChildren:se,slotScopeIds:ae}=A;ae&&(K=K?K.concat(ae):ae),E==null?(r(H,I,L),r(fe,I,L),T(A.children||[],I,fe,N,U,R,K,W)):J>0&&J&64&&se&&E.dynamicChildren&&E.dynamicChildren.length===se.length?(G(E.dynamicChildren,se,I,N,U,R,K),(A.key!=null||N&&A===N.subTree)&&Pl(E,A,!0)):Z(E,A,I,fe,N,U,R,K,W)},Ee=(E,A,I,L,N,U,R,K,W)=>{A.slotScopeIds=K,E==null?A.shapeFlag&512?N.ctx.activate(A,I,L,R,W):B(A,I,L,N,U,R,W):z(E,A,W)},B=(E,A,I,L,N,U,R)=>{const K=E.component=ag(E,L,N);if(td(E)&&(K.ctx.renderer=ze),cg(K,!1,R),K.asyncDep){if(N&&N.registerDep(K,P,R),!E.el){const W=K.subTree=be(Sn);x(null,W,A,I),E.placeholder=W.el}}else P(K,E,A,I,N,U,R)},z=(E,A,I)=>{const L=A.component=E.component;if(Vm(E,A,I))if(L.asyncDep&&!L.asyncResolved){q(L,A,I);return}else L.next=A,L.update();else A.el=E.el,L.vnode=A},P=(E,A,I,L,N,U,R)=>{const K=()=>{if(E.isMounted){let{next:J,bu:se,u:ae,parent:Ae,vnode:Re}=E;{const lt=kd(E);if(lt){J&&(J.el=Re.el,q(E,J,R)),lt.asyncDep.then(()=>{Dt(()=>{E.isUnmounted||H()},N)});return}}let Pe=J,Ue;xr(E,!1),J?(J.el=Re.el,q(E,J,R)):J=Re,se&&Vu(se),(Ue=J.props&&J.props.onVnodeBeforeUpdate)&&dn(Ue,Ae,J,Re),xr(E,!0);const He=Ua(E),it=E.subTree;E.subTree=He,m(it,He,f(it.el),X(it),E,N,U),J.el=He.el,Pe===null&&Gm(E,He.el),ae&&Dt(ae,N),(Ue=J.props&&J.props.onVnodeUpdated)&&Dt(()=>dn(Ue,Ae,J,Re),N)}else{let J;const{el:se,props:ae}=A,{bm:Ae,m:Re,parent:Pe,root:Ue,type:He}=E,it=to(A);xr(E,!1),Ae&&Vu(Ae),!it&&(J=ae&&ae.onVnodeBeforeMount)&&dn(J,Pe,A),xr(E,!0);{Ue.ce&&Ue.ce._hasShadowRoot()&&Ue.ce._injectChildStyle(He,E.parent?E.parent.type:void 0);const lt=E.subTree=Ua(E);m(null,lt,I,L,E,N,U),A.el=lt.el}if(Re&&Dt(Re,N),!it&&(J=ae&&ae.onVnodeMounted)){const lt=A;Dt(()=>dn(J,Pe,lt),N)}(A.shapeFlag&256||Pe&&to(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&E.a&&Dt(E.a,N),E.isMounted=!0,A=I=L=null}};E.scope.on();const W=E.effect=new A0(K);E.scope.off();const H=E.update=W.run.bind(W),fe=E.job=W.runIfDirty.bind(W);fe.i=E,fe.id=E.uid,W.scheduler=()=>Il(fe),xr(E,!0),H()},q=(E,A,I)=>{A.component=E;const L=E.vnode.props;E.vnode=A,E.next=null,Km(E,A.props,L,I),Xm(E,A.children,I),Hn(),Ra(E),jn()},Z=(E,A,I,L,N,U,R,K,W=!1)=>{const H=E&&E.children,fe=E?E.shapeFlag:0,J=A.children,{patchFlag:se,shapeFlag:ae}=A;if(se>0){if(se&128){Y(H,J,I,L,N,U,R,K,W);return}else if(se&256){me(H,J,I,L,N,U,R,K,W);return}}ae&8?(fe&16&&De(H,N,U),J!==H&&c(I,J)):fe&16?ae&16?Y(H,J,I,L,N,U,R,K,W):De(H,N,U,!0):(fe&8&&c(I,""),ae&16&&T(J,I,L,N,U,R,K,W))},me=(E,A,I,L,N,U,R,K,W)=>{E=E||Xr,A=A||Xr;const H=E.length,fe=A.length,J=Math.min(H,fe);let se;for(se=0;se<J;se++){const ae=A[se]=W?Ln(A[se]):yn(A[se]);m(E[se],ae,I,null,N,U,R,K,W)}H>fe?De(E,N,U,!0,!1,J):T(A,I,L,N,U,R,K,W,J)},Y=(E,A,I,L,N,U,R,K,W)=>{let H=0;const fe=A.length;let J=E.length-1,se=fe-1;for(;H<=J&&H<=se;){const ae=E[H],Ae=A[H]=W?Ln(A[H]):yn(A[H]);if(Ao(ae,Ae))m(ae,Ae,I,null,N,U,R,K,W);else break;H++}for(;H<=J&&H<=se;){const ae=E[J],Ae=A[se]=W?Ln(A[se]):yn(A[se]);if(Ao(ae,Ae))m(ae,Ae,I,null,N,U,R,K,W);else break;J--,se--}if(H>J){if(H<=se){const ae=se+1,Ae=ae<fe?A[ae].el:L;for(;H<=se;)m(null,A[H]=W?Ln(A[H]):yn(A[H]),I,Ae,N,U,R,K,W),H++}}else if(H>se)for(;H<=J;)te(E[H],N,U,!0),H++;else{const ae=H,Ae=H,Re=new Map;for(H=Ae;H<=se;H++){const Xe=A[H]=W?Ln(A[H]):yn(A[H]);Xe.key!=null&&Re.set(Xe.key,H)}let Pe,Ue=0;const He=se-Ae+1;let it=!1,lt=0;const Zt=new Array(He);for(H=0;H<He;H++)Zt[H]=0;for(H=ae;H<=J;H++){const Xe=E[H];if(Ue>=He){te(Xe,N,U,!0);continue}let gt;if(Xe.key!=null)gt=Re.get(Xe.key);else for(Pe=Ae;Pe<=se;Pe++)if(Zt[Pe-Ae]===0&&Ao(Xe,A[Pe])){gt=Pe;break}gt===void 0?te(Xe,N,U,!0):(Zt[gt-Ae]=H+1,gt>=lt?lt=gt:it=!0,m(Xe,A[gt],I,null,N,U,R,K,W),Ue++)}const Qt=it?ng(Zt):Xr;for(Pe=Qt.length-1,H=He-1;H>=0;H--){const Xe=Ae+H,gt=A[Xe],In=A[Xe+1],jt=Xe+1<fe?In.el||Ed(In):L;Zt[H]===0?m(null,gt,I,jt,N,U,R,K,W):it&&(Pe<0||H!==Qt[Pe]?ye(gt,I,jt,2):Pe--)}}},ye=(E,A,I,L,N=null)=>{const{el:U,type:R,transition:K,children:W,shapeFlag:H}=E;if(H&6){ye(E.component.subTree,A,I,L);return}if(H&128){E.suspense.move(A,I,L);return}if(H&64){R.move(E,A,I,ze);return}if(R===Fe){r(U,A,I);for(let J=0;J<W.length;J++)ye(W[J],A,I,L);r(E.anchor,A,I);return}if(R===Gu){k(E,A,I);return}if(L!==2&&H&1&&K)if(L===0)K.beforeEnter(U),r(U,A,I),Dt(()=>K.enter(U),N);else{const{leave:J,delayLeave:se,afterLeave:ae}=K,Ae=()=>{E.ctx.isUnmounted?o(U):r(U,A,I)},Re=()=>{U._isLeaving&&U[ym](!0),J(U,()=>{Ae(),ae&&ae()})};se?se(U,Ae,Re):Re()}else r(U,A,I)},te=(E,A,I,L=!1,N=!1)=>{const{type:U,props:R,ref:K,children:W,dynamicChildren:H,shapeFlag:fe,patchFlag:J,dirs:se,cacheIndex:ae,memo:Ae}=E;if(J===-2&&(N=!1),K!=null&&(Hn(),zo(K,null,I,E,!0),jn()),ae!=null&&(A.renderCache[ae]=void 0),fe&256){A.ctx.deactivate(E);return}const Re=fe&1&&se,Pe=!to(E);let Ue;if(Pe&&(Ue=R&&R.onVnodeBeforeUnmount)&&dn(Ue,A,E),fe&6)Oe(E.component,I,L);else{if(fe&128){E.suspense.unmount(I,L);return}Re&&vr(E,null,A,"beforeUnmount"),fe&64?E.type.remove(E,A,I,ze,L):H&&!H.hasOnce&&(U!==Fe||J>0&&J&64)?De(H,A,I,!1,!0):(U===Fe&&J&384||!N&&fe&16)&&De(W,A,I),L&&ge(E)}const He=Ae!=null&&ae==null;(Pe&&(Ue=R&&R.onVnodeUnmounted)||Re||He)&&Dt(()=>{Ue&&dn(Ue,A,E),Re&&vr(E,null,A,"unmounted"),He&&(E.el=null)},I)},ge=E=>{const{type:A,el:I,anchor:L,transition:N}=E;if(A===Fe){_e(I,L);return}if(A===Gu){y(E);return}const U=()=>{o(I),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(E.shapeFlag&1&&N&&!N.persisted){const{leave:R,delayLeave:K}=N,W=()=>R(I,U);K?K(E.el,U,W):W()}else U()},_e=(E,A)=>{let I;for(;E!==A;)I=h(E),o(E),E=I;o(A)},Oe=(E,A,I)=>{const{bum:L,scope:N,job:U,subTree:R,um:K,m:W,a:H}=E;Va(W),Va(H),L&&Vu(L),N.stop(),U&&(U.flags|=8,te(R,E,A,I)),K&&Dt(K,A),Dt(()=>{E.isUnmounted=!0},A)},De=(E,A,I,L=!1,N=!1,U=0)=>{for(let R=U;R<E.length;R++)te(E[R],A,I,L,N)},X=E=>{if(E.shapeFlag&6)return X(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const A=h(E.anchor||E.el),I=A&&A[X0];return I?h(I):A};let Ie=!1;const pe=(E,A,I)=>{let L;E==null?A._vnode&&(te(A._vnode,null,null,!0),L=A._vnode.component):m(A._vnode||null,E,A,null,null,null,I),A._vnode=E,Ie||(Ie=!0,Ra(L),W0(),Ie=!1)},ze={p:m,um:te,m:ye,r:ge,mt:B,mc:T,pc:Z,pbc:G,n:X,o:e};return{render:pe,hydrate:void 0,createApp:zm(pe)}}function ui({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 xr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pl(e,t,n=!1){const r=e.children,o=t.children;if(de(r)&&de(o))for(let u=0;u<r.length;u++){const s=r[u];let i=o[u];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[u]=Ln(o[u]),i.el=s.el),!n&&i.patchFlag!==-2&&Pl(s,i)),i.type===Ts&&(i.patchFlag===-1&&(i=o[u]=Ln(i)),i.el=s.el),i.type===Sn&&!i.el&&(i.el=s.el)}}function ng(e){const t=e.slice(),n=[0];let r,o,u,s,i;const l=e.length;for(r=0;r<l;r++){const a=e[r];if(a!==0){if(o=n[n.length-1],e[o]<a){t[r]=o,n.push(r);continue}for(u=0,s=n.length-1;u<s;)i=u+s>>1,e[n[i]]<a?u=i+1:s=i;a<e[n[u]]&&(u>0&&(t[r]=n[u-1]),n[u]=r)}}for(u=n.length,s=n[u-1];u-- >0;)n[u]=s,s=t[s];return n}function kd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kd(t)}function Va(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ed(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ed(t.subTree):null}const wd=e=>e.__isSuspense;function rg(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):im(e)}const Fe=Symbol.for("v-fgt"),Ts=Symbol.for("v-txt"),Sn=Symbol.for("v-cmt"),Gu=Symbol.for("v-stc"),qo=[];let zt=null;function O(e=!1){qo.push(zt=e?null:[])}function og(){qo.pop(),zt=qo[qo.length-1]||null}let Yo=1;function os(e,t=!1){Yo+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function Ad(e){return e.dynamicChildren=Yo>0?zt||Xr:null,og(),Yo>0&&zt&&zt.push(e),e}function j(e,t,n,r,o,u){return Ad(F(e,t,n,r,o,u,!0))}function ce(e,t,n,r,o){return Ad(be(e,t,n,r,o,!0))}function Zo(e){return e?e.__v_isVNode===!0:!1}function Ao(e,t){return e.type===t.type&&e.key===t.key}const Sd=({key:e})=>e??null,Wu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||Qe(e)||ve(e)?{i:yt,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,r=0,o=null,u=e===Fe?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sd(t),ref:t&&Wu(t),scopeId:Y0,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:u,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:yt};return i?(Ll(l,n),u&128&&e.normalize(l)):n&&(l.shapeFlag|=Ze(n)?8:16),Yo>0&&!s&&zt&&(l.patchFlag>0||u&6)&&l.patchFlag!==32&&zt.push(l),l}const be=ug;function ug(e,t=null,n=null,r=0,o=null,u=!1){if((!e||e===sd)&&(e=Sn),Zo(e)){const i=Rr(e,t,!0);return n&&Ll(i,n),Yo>0&&!u&&zt&&(i.shapeFlag&6?zt[zt.indexOf(e)]=i:zt.push(i)),i.patchFlag=-2,i}if(hg(e)&&(e=e.__vccOpts),t){t=pu(t);let{class:i,style:l}=t;i&&!Ze(i)&&(t.class=je(i)),qe(l)&&(ws(l)&&!de(l)&&(l=mt({},l)),t.style=Zn(l))}const s=Ze(e)?1:wd(e)?128:hm(e)?64:qe(e)?4:ve(e)?2:0;return F(e,t,n,r,o,s,u,!0)}function pu(e){return e?ws(e)||gd(e)?mt({},e):e:null}function Rr(e,t,n=!1,r=!1){const{props:o,ref:u,patchFlag:s,children:i,transition:l}=e,a=t?Ge(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Sd(a),ref:t&&t.ref?n&&u?de(u)?u.concat(Wu(t)):[u,Wu(t)]:Wu(t):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rr(e.ssContent),ssFallback:e.ssFallback&&Rr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Rl(c,l.clone(c)),c}function en(e=" ",t=0){return be(Ts,null,e,t)}function sg(e,t){const n=be(Gu,null,e);return n.staticCount=t,n}function ke(e="",t=!1){return t?(O(),ce(Sn,null,e)):be(Sn,null,e)}function yn(e){return e==null||typeof e=="boolean"?be(Sn):de(e)?be(Fe,null,e.slice()):Zo(e)?Ln(e):be(Ts,null,String(e))}function Ln(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rr(e)}function Ll(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ll(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!gd(t)?t._ctx=yt:o===3&&yt&&(yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ve(t)?(t={default:t,_ctx:yt},n=32):(t=String(t),r&64?(n=16,t=[en(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ge(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=je([t.class,r.class]));else if(o==="style")t.style=Zn([t.style,r.style]);else if(hs(o)){const u=t[o],s=r[o];s&&u!==s&&!(de(u)&&u.includes(s))?t[o]=u?[].concat(u,s):s:s==null&&u==null&&!ms(o)&&(t[o]=s)}else o!==""&&(t[o]=r[o])}return t}function dn(e,t,n,r=null){An(e,t,7,[n,r])}const ig=cd();let lg=0;function ag(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||ig,u={uid:lg++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new k0(!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:yd(r,o),emitsOptions:dd(r,o),emit:null,emitted:null,propsDefaults:Ne,inheritAttrs:r.inheritAttrs,ctx:Ne,data:Ne,props:Ne,attrs:Ne,slots:Ne,refs:Ne,setupState:Ne,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 u.ctx={_:u},u.root=t?t.root:u,u.emit=qm.bind(null,u),e.ce&&e.ce(u),u}let Et=null;const Rt=()=>Et||yt;let us,Yi;{const e=_s(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),u=>{o.length>1?o.forEach(s=>s(u)):o[0](u)}};us=t("__VUE_INSTANCE_SETTERS__",n=>Et=n),Yi=t("__VUE_SSR_SETTERS__",n=>Qo=n)}const hu=e=>{const t=Et;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},Ga=()=>{Et&&Et.scope.off(),us(null)};function Cd(e){return e.vnode.shapeFlag&4}let Qo=!1;function cg(e,t=!1,n=!1){t&&Yi(t);const{props:r,children:o}=e.vnode,u=Cd(e);Wm(e,r,u,t),Qm(e,o,n||t);const s=u?fg(e,t):void 0;return t&&Yi(!1),s}function fg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tm);const{setup:r}=n;if(r){Hn();const o=e.setupContext=r.length>1?Dd(e):null,u=hu(e),s=fu(r,e,0,[e.props,o]),i=m0(s);if(jn(),u(),(i||e.sp)&&!to(e)&&ed(e),i){if(s.then(Ga,Ga),t)return s.then(l=>{Wa(e,l)}).catch(l=>{As(l,e,0)});e.asyncDep=s}else Wa(e,s)}else Td(e)}function Wa(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qe(t)&&(e.setupState=H0(t)),Td(e)}function Td(e,t,n){const r=e.type;e.render||(e.render=r.render||kn);{const o=hu(e);Hn();try{Mm(e)}finally{jn(),o()}}}const dg={get(e,t){return kt(e,"get",""),e[t]}};function Dd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,dg),slots:e.slots,emit:e.emit,expose:t}}function Ds(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(H0(q0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bo)return Bo[n](e)},has(t,n){return n in t||n in Bo}})):e.proxy}function pg(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function hg(e){return ve(e)&&"__vccOpts"in e}const M=(e,t)=>nm(e,t,Qo);function dr(e,t,n){try{os(-1);const r=arguments.length;return r===2?qe(t)&&!de(t)?Zo(t)?be(e,null,[t]):be(e,t):be(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zo(n)&&(n=[n]),be(e,t,n))}finally{os(1)}}const mg="3.5.34";/**
14
- * @vue/runtime-dom v3.5.34
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let Zi;const Ka=typeof window<"u"&&window.trustedTypes;if(Ka)try{Zi=Ka.createPolicy("vue",{createHTML:e=>e})}catch{}const Od=Zi?e=>Zi.createHTML(e):e=>e,gg="http://www.w3.org/2000/svg",bg="http://www.w3.org/1998/Math/MathML",Pn=typeof document<"u"?document:null,Ya=Pn&&Pn.createElement("template"),yg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Pn.createElementNS(gg,e):t==="mathml"?Pn.createElementNS(bg,e):n?Pn.createElement(e,{is:n}):Pn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Pn.createTextNode(e),createComment:e=>Pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,u){const s=n?n.previousSibling:t.lastChild;if(o&&(o===u||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===u||!(o=o.nextSibling)););else{Ya.innerHTML=Od(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Ya.content;if(r==="svg"||r==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_g=Symbol("_vtc");function vg(e,t,n){const r=e[_g];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Za=Symbol("_vod"),xg=Symbol("_vsh"),kg=Symbol(""),Eg=/(?:^|;)\s*display\s*:/;function wg(e,t,n){const r=e.style,o=Ze(n);let u=!1;if(n&&!o){if(t)if(Ze(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&Fo(r,i,"")}else for(const s in t)n[s]==null&&Fo(r,s,"");for(const s in n){s==="display"&&(u=!0);const i=n[s];i!=null?Sg(e,s,!Ze(t)&&t?t[s]:void 0,i)||Fo(r,s,i):Fo(r,s,"")}}else if(o){if(t!==n){const s=r[kg];s&&(n+=";"+s),r.cssText=n,u=Eg.test(n)}}else t&&e.removeAttribute("style");Za in e&&(e[Za]=u?r.display:"",e[xg]&&(r.display="none"))}const Qa=/\s*!important$/;function Fo(e,t,n){if(de(n))n.forEach(r=>Fo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Ag(e,t);Qa.test(n)?e.setProperty(Yn(r),n.replace(Qa,""),"important"):e[r]=n}}const Xa=["Webkit","Moz","ms"],si={};function Ag(e,t){const n=si[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return si[t]=r;r=ys(r);for(let o=0;o<Xa.length;o++){const u=Xa[o]+r;if(u in e)return si[t]=u}return t}function Sg(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ze(r)&&n===r}const Ja="http://www.w3.org/1999/xlink";function ec(e,t,n,r,o,u=C1(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ja,t.slice(6,t.length)):e.setAttributeNS(Ja,t,n):n==null||u&&!_0(n)?e.removeAttribute(t):e.setAttribute(t,u?"":Ut(n)?String(n):n)}function tc(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Od(n):n);return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){const i=u==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(i!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=_0(n):n==null&&i==="string"?(n="",s=!0):i==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function Kr(e,t,n,r){e.addEventListener(t,n,r)}function Cg(e,t,n,r){e.removeEventListener(t,n,r)}const nc=Symbol("_vei");function Tg(e,t,n,r,o=null){const u=e[nc]||(e[nc]={}),s=u[t];if(r&&s)s.value=r;else{const[i,l]=Dg(t);if(r){const a=u[t]=Rg(r,o);Kr(e,i,a,l)}else s&&(Cg(e,i,s,l),u[t]=void 0)}}const rc=/(?:Once|Passive|Capture)$/;function Dg(e){let t;if(rc.test(e)){t={};let r;for(;r=e.match(rc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yn(e.slice(2)),t]}let ii=0;const Og=Promise.resolve(),Ig=()=>ii||(Og.then(()=>ii=0),ii=Date.now());function Rg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;An(Mg(r,n.value),t,5,[r])};return n.value=e,n.attached=Ig(),n}function Mg(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const oc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fg=(e,t,n,r,o,u)=>{const s=o==="svg";t==="class"?vg(e,r,s):t==="style"?wg(e,n,r):hs(t)?ms(t)||Tg(e,t,n,r,u):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pg(e,t,r,s))?(tc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ec(e,t,r,s,u,t!=="value")):e._isVueCE&&(Lg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ze(r)))?tc(e,ht(t),r,u,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ec(e,t,r,s))};function Pg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&oc(t)&&ve(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 oc(t)&&Ze(n)?!1:t in e}function Lg(e,t){const n=e._def.props;if(!n)return!1;const r=ht(t);return Array.isArray(n)?n.some(o=>ht(o)===r):Object.keys(n).some(o=>ht(o)===r)}const uc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>Vu(t,n):t};function Ng(e){e.target.composing=!0}function sc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const li=Symbol("_assign");function ic(e,t,n){return t&&(e=e.trim()),n&&(e=wl(e)),e}const $g={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[li]=uc(o);const u=r||o.props&&o.props.type==="number";Kr(e,t?"change":"input",s=>{s.target.composing||e[li](ic(e.value,n,u))}),(n||u)&&Kr(e,"change",()=>{e.value=ic(e.value,n,u)}),t||(Kr(e,"compositionstart",Ng),Kr(e,"compositionend",sc),Kr(e,"change",sc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:u}},s){if(e[li]=uc(s),e.composing)return;const i=(u||e.type==="number")&&!/^0\d/.test(e.value)?wl(e.value):e.value,l=t??"";if(i===l)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l)}},zg=["ctrl","shift","alt","meta"],Bg={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)=>zg.some(n=>e[`${n}Key`]&&!t.includes(n))},Ir=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...u)=>{for(let s=0;s<t.length;s++){const i=Bg[t[s]];if(i&&i(o,t))return}return e(o,...u)})},qg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ug=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const u=Yn(o.key);if(t.some(s=>s===u||qg[s]===u))return e(o)})},Hg=mt({patchProp:Fg},yg);let lc;function jg(){return lc||(lc=Jm(Hg))}const Vg=(...e)=>{const t=jg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Wg(r);if(!o)return;const u=t._component;!ve(u)&&!u.render&&!u.template&&(u.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Gg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Gg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wg(e){return Ze(e)?document.querySelector(e):e}const Kg=(e,t)=>Qe(t)?nt(t):t,Id="usehead";function Yg(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Id,e)}}.install}function Rd(){if(am()){const e=Ft(Id);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Zg(e,t={}){const n=t.head||Rd();return n.ssr?n.push(e||{},t):Qg(n,e,t)}function Qg(e,t,n={}){const r=V(!1);let o;return on(()=>{const s=r.value?{}:Qu(t,Kg);o?o.patch(s):o=e.push(s,n)}),Rt()&&(mo(()=>{o.dispose()}),rd(()=>{r.value=!0}),nd(()=>{r.value=!1})),o}function Xg(e={}){const t=g1({domOptions:{render:b1(()=>d0(t),n=>setTimeout(n,0))},...e});return t.install=Yg(t),t}const Jg={install(e){if(e._context.provides.usehead)return;const t=Xg();e.use(t)}},eb={install(e,t){t!=null&&t.router&&typeof t.router=="function"&&e.provide("nuxtui:router",t.router)}};var Ou={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function tb(e,t){var n;const r=au();return on(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),Vo(r)}function Nl(e,t){return Sl()?(w0(e,t),!0):!1}function nb(e){let t=!1,n;const r=E0(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const Xn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rb=e=>typeof e<"u",ob=Object.prototype.toString,ub=e=>ob.call(e)==="[object Object]",Qi=()=>{},ac=sb();function sb(){var e,t,n;return Xn&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function ib(...e){if(e.length!==1)return sr(...e);const t=e[0];return typeof t=="function"?Vo(Ol(()=>({get:t,set:Qi}))):V(t)}function lb(e,t){function n(...r){return new Promise((o,u)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(u)})}return n}function ab(e,t={}){let n,r,o=Qi;const u=l=>{clearTimeout(l),o(),o=Qi};let s;return l=>{const a=nt(e),c=nt(t.maxWait);return n&&u(n),a<=0||c!==void 0&&c<=0?(r&&(u(r),r=void 0),Promise.resolve(l())):new Promise((f,h)=>{o=t.rejectOnCancel?h:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&u(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&u(r),r=void 0,f(l())},a)})}}function ai(e){return Array.isArray(e)?e:[e]}function cb(e){return Rt()}function fb(e){if(!Xn)return e;let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...u)=>(t+=1,r||(r=E0(!0),n=r.run(()=>e(...u))),Nl(o),n)}function db(e){return Vn(Qe(e)?new Proxy({},{get(t,n,r){return _(Reflect.get(e.value,n,r))},set(t,n,r){return Qe(e.value[n])&&!Qe(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function pb(e){return db(M(e))}function hb(e,...t){const n=t.flat(),r=n[0];return pb(()=>Object.fromEntries(typeof r=="function"?Object.entries(cu(e)).filter(([o,u])=>r(nt(u),o)):n.map(o=>[o,ib(e,o)])))}function mb(e,t=1e4){return Ol((n,r)=>{let o=nt(e),u;const s=()=>setTimeout(()=>{o=nt(e),r()},nt(t));return Nl(()=>{clearTimeout(u)}),{get(){return n(),o},set(i){o=i,r(),clearTimeout(u),u=s()}}})}function gb(e,t=200,n={}){return lb(ab(t,n),e)}function bb(e,t){cb()&&mo(e,t)}function yb(e,t,n){return Ye(e,t,{...n,immediate:!0})}const Os=Xn?window:void 0;function Cn(e){var t;const n=nt(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Md(...e){const t=(r,o,u,s)=>(r.addEventListener(o,u,s),()=>r.removeEventListener(o,u,s)),n=M(()=>{const r=ai(nt(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return yb(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(u=>Cn(u)))!==null&&r!==void 0?r:[Os].filter(u=>u!=null),ai(nt(n.value?e[1]:e[0])),ai(_(n.value?e[2]:e[1])),nt(n.value?e[3]:e[2])]},([r,o,u,s],i,l)=>{if(!(r!=null&&r.length)||!(o!=null&&o.length)||!(u!=null&&u.length))return;const a=ub(s)?{...s}:s,c=r.flatMap(f=>o.flatMap(h=>u.map(d=>t(f,h,d,a))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function Fd(){const e=au(!1),t=Rt();return t&&At(()=>{e.value=!0},t),e}function _b(e){const t=Fd();return M(()=>(t.value,!!e()))}function vb(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xb(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Os,eventName:u="keydown",passive:s=!1,dedupe:i=!1}=r,l=vb(t);return Md(o,u,c=>{c.repeat&&nt(i)||l(c)&&n(c)},s)}function kb(e){return JSON.parse(JSON.stringify(e))}function Eb(e,t,n={}){const{window:r=Os,...o}=n;let u;const s=_b(()=>r&&"ResizeObserver"in r),i=()=>{u&&(u.disconnect(),u=void 0)},l=Ye(M(()=>{const c=nt(e);return Array.isArray(c)?c.map(f=>Cn(f)):[Cn(c)]}),c=>{if(i(),s.value&&r){u=new ResizeObserver(t);for(const f of c)f&&u.observe(f,o)}},{immediate:!0,flush:"post"}),a=()=>{i(),l()};return Nl(a),{isSupported:s,stop:a}}function cc(e,t,n,r={}){var o,u;const{clone:s=!1,passive:i=!1,eventName:l,deep:a=!1,defaultValue:c,shouldEmit:f}=r,h=Rt(),d=n||(h==null?void 0:h.emit)||(h==null||(o=h.$emit)===null||o===void 0?void 0:o.bind(h))||(h==null||(u=h.proxy)===null||u===void 0||(u=u.$emit)===null||u===void 0?void 0:u.bind(h==null?void 0:h.proxy));let p=l;t||(t="modelValue"),p=p||`update:${t.toString()}`;const m=b=>s?typeof s=="function"?s(b):kb(b):b,g=()=>rb(e[t])?m(e[t]):c,x=b=>{f?f(b)&&d(p,b):d(p,b)};if(i){const b=V(g());let k=!1;return Ye(()=>e[t],y=>{k||(k=!0,b.value=m(y),pt(()=>k=!1))}),Ye(b,y=>{!k&&(y!==e[t]||a)&&x(y)},{deep:a}),b}else return M({get(){return g()},set(b){x(b)}})}const Pd={ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"neutral"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},colorMode:!1},wb=Vn(Pd),Fr=()=>wb;function ci(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Xi(e,t,n=".",r){if(!ci(t))return Xi(e,{},n,r);const o={...t};for(const u of Object.keys(e)){if(u==="__proto__"||u==="constructor")continue;const s=e[u];s!=null&&(r&&r(o,u,s,n)||(Array.isArray(s)&&Array.isArray(o[u])?o[u]=[...s,...o[u]]:ci(s)&&ci(o[u])?o[u]=Xi(s,o[u],(n?`${n}.`:"")+u.toString(),r):o[u]=s))}return o}function Ab(e){return(...t)=>t.reduce((n,r)=>Xi(n,r,"",e),{})}const no=Ab();function fc(e){return typeof e=="string"?`'${e}'`:new Sb().serialize(e)}const Sb=function(){var t;class e{constructor(){Ea(this,t,new Map)}compare(r,o){const u=typeof r,s=typeof o;return u==="string"&&s==="string"?r.localeCompare(o):u==="number"&&s==="number"?r-o:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(o,!0))}serialize(r,o){if(r===null)return"null";switch(typeof r){case"string":return o?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const o=Object.prototype.toString.call(r);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),r);const u=r.constructor,s=u===Object||u===void 0?"":u.name;if(s!==""&&globalThis[s]===u)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const i=r.toJSON();return s+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,o){const u=this["$"+r];if(u)return u.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(r,o.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,o){const u=Array.from(o).sort((i,l)=>this.compare(i[0],l[0]));let s=`${r}{`;for(let i=0;i<u.length;i++){const[l,a]=u[i];s+=`${this.serialize(l,!0)}:${this.serialize(a)}`,i<u.length-1&&(s+=",")}return s+"}"}$object(r){let o=ko(this,t).get(r);return o===void 0&&(ko(this,t).set(r,`#${ko(this,t).size}`),o=this.serializeObject(r),ko(this,t).set(r,o)),o}$function(r){const o=Function.prototype.toString.call(r);return o.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(r){let o="[";for(let u=0;u<r.length;u++)o+=this.serialize(r[u]),u<r.length-1&&(o+=",");return o+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((o,u)=>this.compare(o,u)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function Ld(e,t){return e===t||fc(e)===fc(t)}function Wt(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const u=Number(o);return Number.isNaN(u)?o:u}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}function Cb(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function Tb(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?Wt(e,n)===Wt(t,n):Ld(e,t)}function dc(e){if(e==null)return!0;if(typeof e=="boolean"||typeof e=="number")return!1;if(typeof e=="string")return e.trim().length===0;if(Array.isArray(e))return e.length===0;if(e instanceof Map||e instanceof Set)return e.size===0;if(e instanceof Date||e instanceof RegExp||typeof e=="function")return!1;if(typeof e=="object"){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}function pc(e,t,n={}){const{valueKey:r,labelKey:o,by:u}=n,s=e.find(l=>{const a=typeof l=="object"&&l!==null&&r?Wt(l,r):l;return Tb(a,t,u)});if(dc(t)&&s)return o?Wt(s,o):void 0;if(dc(t))return;const i=s??t;if(i!=null)return typeof i=="object"?o?Wt(i,o):void 0:String(i)}function Db(e){return Array.isArray(e[0])}const hc=l0();function Ob(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:hc,hook:hc.hook}}function Ib(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}const Rb=[50,100,200,300,400,500,600,700,800,900,950];function Mb(e,t){return e in Ou&&typeof Ou[e]=="object"&&t in Ou[e]?Ou[e][t]:""}function Fb(e,t,n){const r=n?`${n}-`:"";return`${Rb.map(o=>`--ui-color-${e}-${o}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${o}, ${Mb(t,o)});`).join(`
18
- `)}`}function mc(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function Pb(){var e;(e=document.querySelector("[data-nuxt-ui-colors]"))==null||e.remove()}const Lb=Ib(()=>{const e=Fr();Ob();const t=M(()=>{const{neutral:r,...o}=e.ui.colors,u=e.ui.prefix;return`@layer theme {
19
- :root, :host {
20
- ${Object.entries(e.ui.colors).map(([s,i])=>Fb(s,i,u)).join(`
21
- `)}
22
- }
23
- :root, :host, .light {
24
- ${Object.keys(o).map(s=>mc(s,500)).join(`
25
- `)}
26
- }
27
- .dark {
28
- ${Object.keys(o).map(s=>mc(s,400)).join(`
29
- `)}
30
- }
31
- }`}),n={style:[{innerHTML:t,tagPriority:"critical",id:"nuxt-ui-colors"}]};{const r=document.createElement("style");r.innerHTML=t.value,r.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(r),Rd().hooks.hookOnce("dom:rendered",Pb)}Zg(n)}),Nb={install(e,t={}){e.use(Jg,t),e.use(eb,t),e.use(Lb,t)}};function gc(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function Jn(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[s=>{const i=Ft(r,s);if(i||i===null)return i;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(ho(r,s),s)]}function En(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function $l(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function Ji(e){return e==null}function zl(e){return e?e.flatMap(t=>t.type===Fe?zl(t.children):[t]):[]}const[Is]=Jn("ConfigProvider"),$b=fb(()=>{const e=V(new Map),t=V(),n=M(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=Is({scrollBody:V(!0)});let o=null;const u=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",ac&&(o==null||o()),t.value=void 0};return Ye(n,(s,i)=>{var f;if(!Xn)return;if(!s){i&&u();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,a={padding:l,margin:0},c=(f=r.scrollBody)!=null&&f.value?typeof r.scrollBody.value=="object"?no({padding:r.scrollBody.value.padding===!0?l:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?l:r.scrollBody.value.margin},a):a:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),ac&&(o=Md(document,"touchmove",h=>Bb(h),{passive:!1})),pt(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function zb(e){const t=Math.random().toString(36).substring(2,7),n=$b();n.value.set(t,e??!1);const r=M({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return bb(()=>{n.value.delete(t)}),r}function Nd(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:Nd(n)}}function Bb(e){const t=e||window.event,n=t.target;return n instanceof Element&&Nd(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function qb(e){const t=Is({dir:V("ltr")});return M(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function $d(e){const t=Rt(),n=t==null?void 0:t.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(o=>{r[ju(ht(o))]=(...u)=>e(o,...u)}),r}let fi=0;function Ub(){on(e=>{if(!Xn)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??bc()),document.body.insertAdjacentElement("beforeend",t[1]??bc()),fi++,e(()=>{fi===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),fi--})})}function bc(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function Hb(e){return M(()=>{var t;return nt(e)?!!((t=Cn(e))!=null&&t.closest("form")):!0})}function Yt(){const e=Rt(),t=V(),n=M(()=>r());ud(()=>{n.value!==r()&&Z1(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Cn(t)}const o=Object.assign({},e.exposed),u={};for(const i in e.props)Object.defineProperty(u,i,{enumerable:!0,configurable:!0,get:()=>e.props[i]});if(Object.keys(o).length>0)for(const i in o)Object.defineProperty(u,i,{enumerable:!0,configurable:!0,get:()=>o[i]});Object.defineProperty(u,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=u;function s(i){if(t.value=i,!!i&&(Object.defineProperty(u,"$el",{enumerable:!0,configurable:!0,get:()=>i instanceof Element?i:i.$el}),!(i instanceof Element)&&!Object.hasOwn(i,"$el"))){const l=i.$.exposed,a=Object.assign({},u);for(const c in l)Object.defineProperty(a,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=a}}return{forwardRef:s,currentRef:t,currentElement:n}}function Bl(e){const t=Rt(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((o,u)=>{const s=(t==null?void 0:t.type.props[u]).default;return s!==void 0&&(o[u]=s),o},{}),r=sr(e);return M(()=>{const o={},u=(t==null?void 0:t.vnode.props)??{};return Object.keys(u).forEach(s=>{o[ht(s)]=u[s]}),Object.keys({...n,...o}).reduce((s,i)=>(r.value[i]!==void 0&&(s[i]=r.value[i]),s),{})})}function jb(e,t){const n=Bl(e),r=t?$d(t):{};return M(()=>({...n.value,...r}))}var Vb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vr=new WeakMap,Iu=new WeakMap,Ru={},di=0,zd=function(e){return e&&(e.host||zd(e.parentNode))},Gb=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=zd(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Wb=function(e,t,n,r){var o=Gb(t,Array.isArray(e)?e:[e]);Ru[n]||(Ru[n]=new WeakMap);var u=Ru[n],s=[],i=new Set,l=new Set(o),a=function(f){!f||i.has(f)||(i.add(f),a(f.parentNode))};o.forEach(a);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(i.has(h))c(h);else try{var d=h.getAttribute(r),p=d!==null&&d!=="false",m=(Vr.get(h)||0)+1,g=(u.get(h)||0)+1;Vr.set(h,m),u.set(h,g),s.push(h),m===1&&p&&Iu.set(h,!0),g===1&&h.setAttribute(n,"true"),p||h.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return c(t),i.clear(),di++,function(){s.forEach(function(f){var h=Vr.get(f)-1,d=u.get(f)-1;Vr.set(f,h),u.set(f,d),h||(Iu.has(f)||f.removeAttribute(r),Iu.delete(f)),d||f.removeAttribute(n)}),di--,di||(Vr=new WeakMap,Vr=new WeakMap,Iu=new WeakMap,Ru={})}},Kb=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Vb(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Wb(r,o,n,"aria-hidden")):function(){return null}};function Yb(e){let t;Ye(()=>Cn(e),n=>{let r=!1;try{r=!!(n!=null&&n.closest("[popover]:not(:popover-open)"))}catch{}n&&!r?t=Kb(n):t&&t()}),gr(()=>{t&&t()})}function ql(e,t="reka"){let n;const r=Is({useId:void 0});return r.useId?n=r.useId():n=ri==null?void 0:ri(),t?`${t}-${n}`:n}function Zb(e){const t=V(),n=M(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),r=M(()=>{var o;return((o=t.value)==null?void 0:o.height)??0});return At(()=>{const o=Cn(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const u=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let l,a;if("borderBoxSize"in i){const c=i.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,a=f.blockSize}else l=o.offsetWidth,a=o.offsetHeight;t.value={width:l,height:a}});return u.observe(o,{box:"border-box"}),()=>u.unobserve(o)}else t.value=void 0}),{width:n,height:r}}function Qb(e,t){const n=V(e);function r(u){return t[n.value][u]??n.value}return{state:n,dispatch:u=>{n.value=r(u)}}}function Bd(e){const t=mb("",1e3);return{search:t,handleTypeaheadSearch:(o,u)=>{t.value=t.value+o;{const s=En(),i=u.map(h=>{var d,p;return{...h,textValue:((d=h.value)==null?void 0:d.textValue)??((p=h.ref.textContent)==null?void 0:p.trim())??""}}),l=i.find(h=>h.ref===s),a=i.map(h=>h.textValue),c=Jb(a,t.value,l==null?void 0:l.textValue),f=i.find(h=>h.textValue===c);return f&&f.ref.focus(),f==null?void 0:f.ref}},resetTypeahead:()=>{t.value=""}}}function Xb(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Jb(e,t,n){const o=t.length>1&&Array.from(t).every(a=>a===t[0])?t[0]:t,u=n?e.indexOf(n):-1;let s=Xb(e,Math.max(u,0));o.length===1&&(s=s.filter(a=>a!==n));const l=s.find(a=>a.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function e2(e,t){var g;const n=V({}),r=V("none"),o=V(e),u=e.value?"mounted":"unmounted";let s;const i=((g=t.value)==null?void 0:g.ownerDocument.defaultView)??Os,{state:l,dispatch:a}=Qb(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=x=>{var b;if(Xn){const k=new CustomEvent(x,{bubbles:!1,cancelable:!1});(b=t.value)==null||b.dispatchEvent(k)}};Ye(e,async(x,b)=>{var y;const k=b!==x;if(await pt(),k){const S=r.value,w=Mu(t.value);x?(a("MOUNT"),c("enter"),w==="none"&&c("after-enter")):w==="none"||w==="undefined"||((y=n.value)==null?void 0:y.display)==="none"?(a("UNMOUNT"),c("leave"),c("after-leave")):b&&S!==w?(a("ANIMATION_OUT"),c("leave")):(a("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=x=>{const b=Mu(t.value),k=b.includes(CSS.escape(x.animationName)),y=l.value==="mounted"?"enter":"leave";if(x.target===t.value&&k&&(c(`after-${y}`),a("ANIMATION_END"),!o.value)){const S=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=i==null?void 0:i.setTimeout(()=>{var w;((w=t.value)==null?void 0:w.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=S)})}x.target===t.value&&b==="none"&&a("ANIMATION_END")},h=x=>{x.target===t.value&&(r.value=Mu(t.value))},d=Ye(t,(x,b)=>{x?(n.value=getComputedStyle(x),x.addEventListener("animationstart",h),x.addEventListener("animationcancel",f),x.addEventListener("animationend",f)):(a("ANIMATION_END"),s!==void 0&&(i==null||i.clearTimeout(s)),b==null||b.removeEventListener("animationstart",h),b==null||b.removeEventListener("animationcancel",f),b==null||b.removeEventListener("animationend",f))},{immediate:!0}),p=Ye(l,()=>{const x=Mu(t.value);r.value=l.value==="mounted"?x:"none"});return gr(()=>{d(),p()}),{isPresent:M(()=>["mounted","unmountSuspended"].includes(l.value))}}function Mu(e){return e&&getComputedStyle(e).animationName||"none"}var t2=xe({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var a;const{present:r,forceMount:o}=cu(e),u=V(),{isPresent:s}=e2(r,u);n({present:s});let i=t.default({present:s.value});i=zl(i||[]);const l=Rt();if(i&&(i==null?void 0:i.length)>1){const c=(a=l==null?void 0:l.parent)!=null&&a.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(`
32
- `)].join(`
33
- `))}return()=>o.value||r.value||s.value?dr(t.default({present:s.value})[0],{ref:c=>{const f=Cn(c);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?u.value=f.firstElementChild:u.value=f),f}}):null}});const Xo=xe({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var l;if(!n.default)return null;const r=zl(n.default()),o=r.findIndex(a=>a.type!==Sn);if(o===-1)return r;const u=r[o];(l=u.props)==null||delete l.ref;const s=u.props?Ge(t,u.props):t,i=Rr({...u,props:{}},s);return r.length===1?i:(r[o]=i,r)}}}),n2=["area","img","input"],st=xe({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&n2.includes(r)?()=>dr(r,t):r!=="template"?()=>dr(e.as,t,{default:n.default}):()=>dr(Xo,t,{default:n.default})}});function yc(){const e=V(),t=M(()=>{var n,r;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(r=e.value)==null?void 0:r.$el.nextElementSibling:Cn(e)});return{primitiveElement:e,currentElement:t}}const r2="dismissableLayer.pointerDownOutside",o2="dismissableLayer.focusOutside";function qd(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r)<o.indexOf(n)))}function u2(e,t,n=!0){var s;const r=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=V(!1),u=V(()=>{});return on(i=>{if(!Xn||!nt(n))return;const l=async c=>{const f=c.target;if(!(!(t!=null&&t.value)||!f)){if(qd(t.value,f)){o.value=!1;return}if(c.target&&!o.value){let p=function(){$l(r2,e,d)};var h=p;const d={originalEvent:c};c.pointerType==="touch"?(r.removeEventListener("click",u.value),u.value=p,r.addEventListener("click",u.value,{once:!0})):p()}else r.removeEventListener("click",u.value);o.value=!1}},a=window.setTimeout(()=>{r.addEventListener("pointerdown",l)},0);i(()=>{window.clearTimeout(a),r.removeEventListener("pointerdown",l),r.removeEventListener("click",u.value)})}),{onPointerDownCapture:()=>{nt(n)&&(o.value=!0)}}}function s2(e,t,n=!0){var u;const r=((u=t==null?void 0:t.value)==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=V(!1);return on(s=>{if(!Xn||!nt(n))return;const i=async l=>{if(!(t!=null&&t.value))return;await pt(),await pt();const a=l.target;!t.value||!a||qd(t.value,a)||l.target&&!o.value&&$l(o2,e,{originalEvent:l})};r.addEventListener("focusin",i),s(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>{nt(n)&&(o.value=!0)},onBlurCapture:()=>{nt(n)&&(o.value=!1)}}}const Nt=Vn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var i2=xe({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:u}=Yt(),s=M(()=>{var d;return((d=u.value)==null?void 0:d.ownerDocument)??globalThis.document}),i=M(()=>Nt.layersRoot),l=M(()=>u.value?Array.from(i.value).indexOf(u.value):-1),a=M(()=>Nt.layersWithOutsidePointerEventsDisabled.size>0),c=M(()=>{const d=Array.from(i.value),[p]=[...Nt.layersWithOutsidePointerEventsDisabled].slice(-1),m=d.indexOf(p);return l.value>=m}),f=u2(async d=>{const p=[...Nt.branches].some(m=>m==null?void 0:m.contains(d.target));!c.value||p||(r("pointerDownOutside",d),r("interactOutside",d),await pt(),d.defaultPrevented||r("dismiss"))},u),h=s2(d=>{[...Nt.branches].some(m=>m==null?void 0:m.contains(d.target))||(r("focusOutside",d),r("interactOutside",d),d.defaultPrevented||r("dismiss"))},u);return xb("Escape",d=>{l.value===i.value.size-1&&(r("escapeKeyDown",d),d.defaultPrevented||r("dismiss"))}),Ye([u,()=>n.disableOutsidePointerEvents],([d,p],m,g)=>{d&&(p&&(Nt.layersWithOutsidePointerEventsDisabled.size===0&&(Nt.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),Nt.layersWithOutsidePointerEventsDisabled.add(d),g(()=>{Nt.layersWithOutsidePointerEventsDisabled.delete(d),Nt.layersWithOutsidePointerEventsDisabled.size===0&&!Ji(Nt.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=Nt.originalBodyPointerEvents)})),i.value.add(d))},{immediate:!0}),on(d=>{d(()=>{u.value&&(i.value.delete(u.value),Nt.layersWithOutsidePointerEventsDisabled.delete(u.value))})}),(d,p)=>(O(),ce(_(st),{ref:_(o),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:Zn({pointerEvents:a.value?c.value?"auto":"none":void 0}),onFocusCapture:_(h).onFocusCapture,onBlurCapture:_(h).onBlurCapture,onPointerdownCapture:_(f).onPointerDownCapture},{default:he(()=>[Se(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),l2=i2;const a2=nb(()=>V([]));function c2(){const e=a2();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=_c(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=_c(e.value,t),(n=e.value[0])==null||n.resume()}}}function _c(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}const pi="focusScope.autoFocusOnMount",hi="focusScope.autoFocusOnUnmount",vc={bubbles:!1,cancelable:!0};function f2(e,{select:t=!1}={}){const n=En();for(const r of e)if(ur(r,{select:t}),En()!==n)return!0}function d2(e){const t=Ud(e),n=xc(t,e),r=xc(t.reverse(),e);return[n,r]}function Ud(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xc(e,t){for(const n of e)if(!p2(n,{upTo:t}))return n}function p2(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function h2(e){return e instanceof HTMLInputElement&&"select"in e}function ur(e,{select:t=!1}={}){if(e&&e.focus){const n=En();e.focus({preventScroll:!0}),e!==n&&h2(e)&&t&&e.select()}}var m2=xe({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:u}=Yt(),s=V(null),i=c2(),l=Vn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});on(c=>{if(!Xn)return;const f=u.value;if(!n.trapped)return;function h(g){if(l.paused||!f)return;const x=g.target;f.contains(x)?s.value=x:ur(s.value,{select:!0})}function d(g){if(l.paused||!f)return;const x=g.relatedTarget;x!==null&&(f.contains(x)||ur(s.value,{select:!0}))}function p(g){const x=s.value;if(x===null||!g.some(y=>y.removedNodes.length>0))return;f.contains(x)||ur(f)}document.addEventListener("focusin",h),document.addEventListener("focusout",d);const m=new MutationObserver(p);f&&m.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",d),m.disconnect()})}),on(async c=>{const f=u.value;if(await pt(),!f)return;i.add(l);const h=En();if(!f.contains(h)){const p=new CustomEvent(pi,vc);f.addEventListener(pi,m=>r("mountAutoFocus",m)),f.dispatchEvent(p),p.defaultPrevented||(f2(Ud(f),{select:!0}),En()===h&&ur(f))}c(()=>{f.removeEventListener(pi,g=>r("mountAutoFocus",g));const p=new CustomEvent(hi,vc),m=g=>{r("unmountAutoFocus",g)};f.addEventListener(hi,m),f.dispatchEvent(p),f.setAttribute("data-focus-scope-unmounting",""),setTimeout(()=>{p.defaultPrevented||ur(h??document.body,{select:!0}),f.removeEventListener(hi,m),i.remove(l),f.removeAttribute("data-focus-scope-unmounting")},0)})});function a(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,h=En();if(f&&h){const d=c.currentTarget,[p,m]=d2(d);p&&m?!c.shiftKey&&h===m?(c.preventDefault(),n.loop&&ur(p,{select:!0})):c.shiftKey&&h===p&&(c.preventDefault(),n.loop&&ur(m,{select:!0})):h===d&&c.preventDefault()}}return(c,f)=>(O(),ce(_(st),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:a},{default:he(()=>[Se(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),g2=m2;function kc(e){const t=En();for(const n of e)if(n===t||(n.focus(),En()!==t))return}var b2=xe({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=Fd();return(n,r)=>_(t)||n.forceMount?(O(),ce(J0,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[Se(n.$slots,"default")],8,["to","disabled","defer"])):ke("v-if",!0)}}),y2=b2;const Ec="data-reka-collection-item";function mu(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let o;n?(o={collectionRef:V(),itemMap:V(new Map)},ho(r,o)):o=Ft(r);const u=(c=!1)=>{const f=o.collectionRef.value;if(!f)return[];const h=Array.from(f.querySelectorAll(`[${Ec}]`)),p=Array.from(o.itemMap.value.values()).sort((m,g)=>h.indexOf(m.ref)-h.indexOf(g.ref));return c?p:p.filter(m=>m.ref.dataset.disabled!=="")},s=xe({name:"CollectionSlot",inheritAttrs:!1,setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=yc();return Ye(p,()=>{o.collectionRef.value=p.value}),()=>dr(Xo,{ref:d,...h},f)}}),i=xe({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=yc();return on(m=>{if(p.value){const g=q0(p.value);o.itemMap.value.set(g,{ref:p.value,value:c.value}),m(()=>o.itemMap.value.delete(g))}}),()=>dr(Xo,{...h,[Ec]:"",ref:d},f)}}),l=M(()=>Array.from(o.itemMap.value.values())),a=M(()=>o.itemMap.value.size);return{getItems:u,reactiveItems:l,itemMapSize:a,CollectionSlot:s,CollectionItem:i}}var _2=xe({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(O(),ce(_(st),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:he(()=>[Se(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),v2=_2;const[Hd,x2]=Jn("PopperRoot");var k2=xe({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=V();return x2({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>Se(n.$slots,"default")}}),E2=k2,w2=xe({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Yt(),o=Hd();return Z0(()=>{o.onAnchorChange(t.reference??r.value)}),(u,s)=>(O(),ce(_(st),{ref:_(n),as:u.as,"as-child":u.asChild},{default:he(()=>[Se(u.$slots,"default")]),_:3},8,["as","as-child"]))}}),A2=w2;const S2={key:0,d:"M0 0L6 6L12 0"},C2={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var T2=xe({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Yt(),(n,r)=>(O(),ce(_(st),Ge(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:he(()=>[Se(n.$slots,"default",{},()=>[n.rounded?(O(),j("path",C2)):(O(),j("path",S2))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),D2=T2;function O2(e){return e!==null}function I2(e){return{name:"transformOrigin",options:e,fn(t){var g,x,b;const{placement:n,rects:r,middlewareData:o}=t,s=((g=o.arrow)==null?void 0:g.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[a,c]=el(n),f={start:"0%",center:"50%",end:"100%"}[c],h=(((x=o.arrow)==null?void 0:x.x)??0)+i/2,d=(((b=o.arrow)==null?void 0:b.y)??0)+l/2;let p="",m="";return a==="bottom"?(p=s?f:`${h}px`,m=`${-l}px`):a==="top"?(p=s?f:`${h}px`,m=`${r.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?f:`${d}px`):a==="left"&&(p=`${r.floating.width+l}px`,m=s?f:`${d}px`),{data:{x:p,y:m}}}}}function el(e){const[t,n="center"]=e.split("-");return[t,n]}const R2=["top","right","bottom","left"],pr=Math.min,$t=Math.max,ss=Math.round,Fu=Math.floor,wn=e=>({x:e,y:e}),M2={left:"right",right:"left",bottom:"top",top:"bottom"};function tl(e,t,n){return $t(e,pr(t,n))}function Wn(e,t){return typeof e=="function"?e(t):e}function Kn(e){return e.split("-")[0]}function go(e){return e.split("-")[1]}function Ul(e){return e==="x"?"y":"x"}function Hl(e){return e==="y"?"height":"width"}function _n(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function jl(e){return Ul(_n(e))}function F2(e,t,n){n===void 0&&(n=!1);const r=go(e),o=jl(e),u=Hl(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[u]>t.floating[u]&&(s=is(s)),[s,is(s)]}function P2(e){const t=is(e);return[nl(e),t,nl(t)]}function nl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const wc=["left","right"],Ac=["right","left"],L2=["top","bottom"],N2=["bottom","top"];function $2(e,t,n){switch(e){case"top":case"bottom":return n?t?Ac:wc:t?wc:Ac;case"left":case"right":return t?L2:N2;default:return[]}}function z2(e,t,n,r){const o=go(e);let u=$2(Kn(e),n==="start",r);return o&&(u=u.map(s=>s+"-"+o),t&&(u=u.concat(u.map(nl)))),u}function is(e){const t=Kn(e);return M2[t]+e.slice(t.length)}function B2(e){return{top:0,right:0,bottom:0,left:0,...e}}function jd(e){return typeof e!="number"?B2(e):{top:e,right:e,bottom:e,left:e}}function ls(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Sc(e,t,n){let{reference:r,floating:o}=e;const u=_n(t),s=jl(t),i=Hl(s),l=Kn(t),a=u==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[i]/2-o[i]/2;let d;switch(l){case"top":d={x:c,y:r.y-o.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(go(t)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}async function q2(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:u,rects:s,elements:i,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Wn(t,e),p=jd(d),g=i[h?f==="floating"?"reference":"floating":f],x=ls(await u.getClippingRect({element:(n=await(u.isElement==null?void 0:u.isElement(g)))==null||n?g:g.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(i.floating)),boundary:a,rootBoundary:c,strategy:l})),b=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,k=await(u.getOffsetParent==null?void 0:u.getOffsetParent(i.floating)),y=await(u.isElement==null?void 0:u.isElement(k))?await(u.getScale==null?void 0:u.getScale(k))||{x:1,y:1}:{x:1,y:1},S=ls(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:b,offsetParent:k,strategy:l}):b);return{top:(x.top-S.top+p.top)/y.y,bottom:(S.bottom-x.bottom+p.bottom)/y.y,left:(x.left-S.left+p.left)/y.x,right:(S.right-x.right+p.right)/y.x}}const U2=50,H2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:u=[],platform:s}=n,i=s.detectOverflow?s:{...s,detectOverflow:q2},l=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Sc(a,r,l),h=r,d=0;const p={};for(let m=0;m<u.length;m++){const g=u[m];if(!g)continue;const{name:x,fn:b}=g,{x:k,y,data:S,reset:w}=await b({x:c,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:a,platform:i,elements:{reference:e,floating:t}});c=k??c,f=y??f,p[x]={...p[x],...S},w&&d<U2&&(d++,typeof w=="object"&&(w.placement&&(h=w.placement),w.rects&&(a=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=Sc(a,h,l)),m=-1)}return{x:c,y:f,placement:h,strategy:o,middlewareData:p}},j2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:u,platform:s,elements:i,middlewareData:l}=t,{element:a,padding:c=0}=Wn(e,t)||{};if(a==null)return{};const f=jd(c),h={x:n,y:r},d=jl(o),p=Hl(d),m=await s.getDimensions(a),g=d==="y",x=g?"top":"left",b=g?"bottom":"right",k=g?"clientHeight":"clientWidth",y=u.reference[p]+u.reference[d]-h[d]-u.floating[p],S=h[d]-u.reference[d],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let C=w?w[k]:0;(!C||!await(s.isElement==null?void 0:s.isElement(w)))&&(C=i.floating[k]||u.floating[p]);const T=y/2-S/2,$=C/2-m[p]/2-1,G=pr(f[x],$),ie=pr(f[b],$),ue=G,Ee=C-m[p]-ie,B=C/2-m[p]/2+T,z=tl(ue,B,Ee),P=!l.arrow&&go(o)!=null&&B!==z&&u.reference[p]/2-(B<ue?G:ie)-m[p]/2<0,q=P?B<ue?B-ue:B-Ee:0;return{[d]:h[d]+q,data:{[d]:z,centerOffset:B-z-q,...P&&{alignmentOffset:q}},reset:P}}}),V2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:u,rects:s,initialPlacement:i,platform:l,elements:a}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=Wn(e,t);if((n=u.arrow)!=null&&n.alignmentOffset)return{};const x=Kn(o),b=_n(i),k=Kn(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),S=h||(k||!m?[is(i)]:P2(i)),w=p!=="none";!h&&w&&S.push(...z2(i,m,p,y));const C=[i,...S],T=await l.detectOverflow(t,g),$=[];let G=((r=u.flip)==null?void 0:r.overflows)||[];if(c&&$.push(T[x]),f){const B=F2(o,s,y);$.push(T[B[0]],T[B[1]])}if(G=[...G,{placement:o,overflows:$}],!$.every(B=>B<=0)){var ie,ue;const B=(((ie=u.flip)==null?void 0:ie.index)||0)+1,z=C[B];if(z&&(!(f==="alignment"?b!==_n(z):!1)||G.every(Z=>_n(Z.placement)===b?Z.overflows[0]>0:!0)))return{data:{index:B,overflows:G},reset:{placement:z}};let P=(ue=G.filter(q=>q.overflows[0]<=0).sort((q,Z)=>q.overflows[1]-Z.overflows[1])[0])==null?void 0:ue.placement;if(!P)switch(d){case"bestFit":{var Ee;const q=(Ee=G.filter(Z=>{if(w){const me=_n(Z.placement);return me===b||me==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(me=>me>0).reduce((me,Y)=>me+Y,0)]).sort((Z,me)=>Z[1]-me[1])[0])==null?void 0:Ee[0];q&&(P=q);break}case"initialPlacement":P=i;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function Cc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Tc(e){return R2.some(t=>e[t]>=0)}const G2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...u}=Wn(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...u,elementContext:"reference"}),i=Cc(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Tc(i)}}}case"escaped":{const s=await r.detectOverflow(t,{...u,altBoundary:!0}),i=Cc(s,n.floating);return{data:{escapedOffsets:i,escaped:Tc(i)}}}default:return{}}}}},Vd=new Set(["left","top"]);async function W2(e,t){const{placement:n,platform:r,elements:o}=e,u=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Kn(n),i=go(n),l=_n(n)==="y",a=Vd.has(s)?-1:1,c=u&&l?-1:1,f=Wn(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof p=="number"&&(d=i==="end"?p*-1:p),l?{x:d*c,y:h*a}:{x:h*a,y:d*c}}const K2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:u,placement:s,middlewareData:i}=t,l=await W2(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:u+l.y,data:{...l,placement:s}}}}},Y2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:u}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:x=>{let{x:b,y:k}=x;return{x:b,y:k}}},...a}=Wn(e,t),c={x:n,y:r},f=await u.detectOverflow(t,a),h=_n(Kn(o)),d=Ul(h);let p=c[d],m=c[h];if(s){const x=d==="y"?"top":"left",b=d==="y"?"bottom":"right",k=p+f[x],y=p-f[b];p=tl(k,p,y)}if(i){const x=h==="y"?"top":"left",b=h==="y"?"bottom":"right",k=m+f[x],y=m-f[b];m=tl(k,m,y)}const g=l.fn({...t,[d]:p,[h]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[h]:i}}}}}},Z2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:u,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:a=!0}=Wn(e,t),c={x:n,y:r},f=_n(o),h=Ul(f);let d=c[h],p=c[f];const m=Wn(i,t),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const k=h==="y"?"height":"width",y=u.reference[h]-u.floating[k]+g.mainAxis,S=u.reference[h]+u.reference[k]-g.mainAxis;d<y?d=y:d>S&&(d=S)}if(a){var x,b;const k=h==="y"?"width":"height",y=Vd.has(Kn(o)),S=u.reference[f]-u.floating[k]+(y&&((x=s.offset)==null?void 0:x[f])||0)+(y?0:g.crossAxis),w=u.reference[f]+u.reference[k]+(y?0:((b=s.offset)==null?void 0:b[f])||0)-(y?g.crossAxis:0);p<S?p=S:p>w&&(p=w)}return{[h]:d,[f]:p}}}},Q2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:u,platform:s,elements:i}=t,{apply:l=()=>{},...a}=Wn(e,t),c=await s.detectOverflow(t,a),f=Kn(o),h=go(o),d=_n(o)==="y",{width:p,height:m}=u.floating;let g,x;f==="top"||f==="bottom"?(g=f,x=h===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,g=h==="end"?"top":"bottom");const b=m-c.top-c.bottom,k=p-c.left-c.right,y=pr(m-c[g],b),S=pr(p-c[x],k),w=!t.middlewareData.shift;let C=y,T=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=k),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=b),w&&!h){const G=$t(c.left,0),ie=$t(c.right,0),ue=$t(c.top,0),Ee=$t(c.bottom,0);d?T=p-2*(G!==0||ie!==0?G+ie:$t(c.left,c.right)):C=m-2*(ue!==0||Ee!==0?ue+Ee:$t(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:C});const $=await s.getDimensions(i.floating);return p!==$.width||m!==$.height?{reset:{rects:!0}}:{}}}};function Rs(){return typeof window<"u"}function Pr(e){return Vl(e)?(e.nodeName||"").toLowerCase():"#document"}function qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tn(e){var t;return(t=(Vl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vl(e){return Rs()?e instanceof Node||e instanceof qt(e).Node:!1}function un(e){return Rs()?e instanceof Element||e instanceof qt(e).Element:!1}function er(e){return Rs()?e instanceof HTMLElement||e instanceof qt(e).HTMLElement:!1}function Dc(e){return!Rs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qt(e).ShadowRoot}function gu(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function X2(e){return/^(table|td|th)$/.test(Pr(e))}function Ms(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const J2=/transform|translate|scale|rotate|perspective|filter/,ey=/paint|layout|strict|content/,kr=e=>!!e&&e!=="none";let mi;function Gl(e){const t=un(e)?sn(e):e;return kr(t.transform)||kr(t.translate)||kr(t.scale)||kr(t.rotate)||kr(t.perspective)||!Wl()&&(kr(t.backdropFilter)||kr(t.filter))||J2.test(t.willChange||"")||ey.test(t.contain||"")}function ty(e){let t=hr(e);for(;er(t)&&!so(t);){if(Gl(t))return t;if(Ms(t))return null;t=hr(t)}return null}function Wl(){return mi==null&&(mi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mi}function so(e){return/^(html|body|#document)$/.test(Pr(e))}function sn(e){return qt(e).getComputedStyle(e)}function Fs(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function hr(e){if(Pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Dc(e)&&e.host||Tn(e);return Dc(t)?t.host:t}function Gd(e){const t=hr(e);return so(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&gu(t)?t:Gd(t)}function Jo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Gd(e),u=o===((r=e.ownerDocument)==null?void 0:r.body),s=qt(o);if(u){const i=rl(s);return t.concat(s,s.visualViewport||[],gu(o)?o:[],i&&n?Jo(i):[])}else return t.concat(o,Jo(o,[],n))}function rl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Wd(e){const t=sn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=er(e),u=o?e.offsetWidth:n,s=o?e.offsetHeight:r,i=ss(n)!==u||ss(r)!==s;return i&&(n=u,r=s),{width:n,height:r,$:i}}function Kl(e){return un(e)?e:e.contextElement}function ro(e){const t=Kl(e);if(!er(t))return wn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=Wd(t);let s=(u?ss(n.width):n.width)/r,i=(u?ss(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const ny=wn(0);function Kd(e){const t=qt(e);return!Wl()||!t.visualViewport?ny:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ry(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qt(e)?!1:t}function Mr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),u=Kl(e);let s=wn(1);t&&(r?un(r)&&(s=ro(r)):s=ro(e));const i=ry(u,n,r)?Kd(u):wn(0);let l=(o.left+i.x)/s.x,a=(o.top+i.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(u){const h=qt(u),d=r&&un(r)?qt(r):r;let p=h,m=rl(p);for(;m&&r&&d!==p;){const g=ro(m),x=m.getBoundingClientRect(),b=sn(m),k=x.left+(m.clientLeft+parseFloat(b.paddingLeft))*g.x,y=x.top+(m.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,a*=g.y,c*=g.x,f*=g.y,l+=k,a+=y,p=qt(m),m=rl(p)}}return ls({width:c,height:f,x:l,y:a})}function Ps(e,t){const n=Fs(e).scrollLeft;return t?t.left+n:Mr(Tn(e)).left+n}function Yd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ps(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function oy(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const u=o==="fixed",s=Tn(r),i=t?Ms(t.floating):!1;if(r===s||i&&u)return n;let l={scrollLeft:0,scrollTop:0},a=wn(1);const c=wn(0),f=er(r);if((f||!f&&!u)&&((Pr(r)!=="body"||gu(s))&&(l=Fs(r)),f)){const d=Mr(r);a=ro(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=s&&!f&&!u?Yd(s,l):wn(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+c.x+h.x,y:n.y*a.y-l.scrollTop*a.y+c.y+h.y}}function uy(e){return Array.from(e.getClientRects())}function sy(e){const t=Tn(e),n=Fs(e),r=e.ownerDocument.body,o=$t(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),u=$t(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ps(e);const i=-n.scrollTop;return sn(r).direction==="rtl"&&(s+=$t(t.clientWidth,r.clientWidth)-o),{width:o,height:u,x:s,y:i}}const Oc=25;function iy(e,t){const n=qt(e),r=Tn(e),o=n.visualViewport;let u=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){u=o.width,s=o.height;const c=Wl();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const a=Ps(r);if(a<=0){const c=r.ownerDocument,f=c.body,h=getComputedStyle(f),d=c.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(r.clientWidth-f.clientWidth-d);p<=Oc&&(u-=p)}else a<=Oc&&(u+=a);return{width:u,height:s,x:i,y:l}}function ly(e,t){const n=Mr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,u=er(e)?ro(e):wn(1),s=e.clientWidth*u.x,i=e.clientHeight*u.y,l=o*u.x,a=r*u.y;return{width:s,height:i,x:l,y:a}}function Ic(e,t,n){let r;if(t==="viewport")r=iy(e,n);else if(t==="document")r=sy(Tn(e));else if(un(t))r=ly(t,n);else{const o=Kd(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ls(r)}function Zd(e,t){const n=hr(e);return n===t||!un(n)||so(n)?!1:sn(n).position==="fixed"||Zd(n,t)}function ay(e,t){const n=t.get(e);if(n)return n;let r=Jo(e,[],!1).filter(i=>un(i)&&Pr(i)!=="body"),o=null;const u=sn(e).position==="fixed";let s=u?hr(e):e;for(;un(s)&&!so(s);){const i=sn(s),l=Gl(s);!l&&i.position==="fixed"&&(o=null),(u?!l&&!o:!l&&i.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||gu(s)&&!l&&Zd(e,s))?r=r.filter(c=>c!==s):o=i,s=hr(s)}return t.set(e,r),r}function cy(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Ms(t)?[]:ay(t,this._c):[].concat(n),r],i=Ic(t,s[0],o);let l=i.top,a=i.right,c=i.bottom,f=i.left;for(let h=1;h<s.length;h++){const d=Ic(t,s[h],o);l=$t(d.top,l),a=pr(d.right,a),c=pr(d.bottom,c),f=$t(d.left,f)}return{width:a-f,height:c-l,x:f,y:l}}function fy(e){const{width:t,height:n}=Wd(e);return{width:t,height:n}}function dy(e,t,n){const r=er(t),o=Tn(t),u=n==="fixed",s=Mr(e,!0,u,t);let i={scrollLeft:0,scrollTop:0};const l=wn(0);function a(){l.x=Ps(o)}if(r||!r&&!u)if((Pr(t)!=="body"||gu(o))&&(i=Fs(t)),r){const d=Mr(t,!0,u,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&a();u&&!r&&o&&a();const c=o&&!r&&!u?Yd(o,i):wn(0),f=s.left+i.scrollLeft-l.x-c.x,h=s.top+i.scrollTop-l.y-c.y;return{x:f,y:h,width:s.width,height:s.height}}function gi(e){return sn(e).position==="static"}function Rc(e,t){if(!er(e)||sn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Tn(e)===n&&(n=n.ownerDocument.body),n}function Qd(e,t){const n=qt(e);if(Ms(e))return n;if(!er(e)){let o=hr(e);for(;o&&!so(o);){if(un(o)&&!gi(o))return o;o=hr(o)}return n}let r=Rc(e,t);for(;r&&X2(r)&&gi(r);)r=Rc(r,t);return r&&so(r)&&gi(r)&&!Gl(r)?n:r||ty(e)||n}const py=async function(e){const t=this.getOffsetParent||Qd,n=this.getDimensions,r=await n(e.floating);return{reference:dy(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hy(e){return sn(e).direction==="rtl"}const my={convertOffsetParentRelativeRectToViewportRelativeRect:oy,getDocumentElement:Tn,getClippingRect:cy,getOffsetParent:Qd,getElementRects:py,getClientRects:uy,getDimensions:fy,getScale:ro,isElement:un,isRTL:hy};function Xd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gy(e,t){let n=null,r;const o=Tn(e);function u(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),u();const a=e.getBoundingClientRect(),{left:c,top:f,width:h,height:d}=a;if(i||t(),!h||!d)return;const p=Fu(f),m=Fu(o.clientWidth-(c+h)),g=Fu(o.clientHeight-(f+d)),x=Fu(c),k={rootMargin:-p+"px "+-m+"px "+-g+"px "+-x+"px",threshold:$t(0,pr(1,l))||1};let y=!0;function S(w){const C=w[0].intersectionRatio;if(C!==l){if(!y)return s();C?s(!1,C):r=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!Xd(a,e.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(S,{...k,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,k)}n.observe(e)}return s(!0),u}function by(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,a=Kl(e),c=o||u?[...a?Jo(a):[],...t?Jo(t):[]]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),u&&x.addEventListener("resize",n)});const f=a&&i?gy(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(x=>{let[b]=x;b&&b.target===a&&d&&t&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var k;(k=d)==null||k.observe(t)})),n()}),a&&!l&&d.observe(a),t&&d.observe(t));let p,m=l?Mr(e):null;l&&g();function g(){const x=Mr(e);m&&!Xd(m,x)&&n(),m=x,p=requestAnimationFrame(g)}return n(),()=>{var x;c.forEach(b=>{o&&b.removeEventListener("scroll",n),u&&b.removeEventListener("resize",n)}),f==null||f(),(x=d)==null||x.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const yy=K2,_y=Y2,Mc=V2,vy=Q2,xy=G2,ky=j2,Ey=Z2,wy=(e,t,n)=>{const r=new Map,o={platform:my,...n},u={...o.platform,_c:r};return H2(e,t,{...o,platform:u})};function Ay(e){return e!=null&&typeof e=="object"&&"$el"in e}function ol(e){if(Ay(e)){const t=e.$el;return Vl(t)&&Pr(t)==="#comment"?null:t}return e}function Yr(e){return typeof e=="function"?e():_(e)}function Sy(e){return{name:"arrow",options:e,fn(t){const n=ol(Yr(e.element));return n==null?{}:ky({element:n,padding:e.padding}).fn(t)}}}function Jd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fc(e,t){const n=Jd(e);return Math.round(t*n)/n}function Cy(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=M(()=>{var C;return(C=Yr(n.open))!=null?C:!0}),u=M(()=>Yr(n.middleware)),s=M(()=>{var C;return(C=Yr(n.placement))!=null?C:"bottom"}),i=M(()=>{var C;return(C=Yr(n.strategy))!=null?C:"absolute"}),l=M(()=>{var C;return(C=Yr(n.transform))!=null?C:!0}),a=M(()=>ol(e.value)),c=M(()=>ol(t.value)),f=V(0),h=V(0),d=V(i.value),p=V(s.value),m=au({}),g=V(!1),x=M(()=>{const C={position:d.value,left:"0",top:"0"};if(!c.value)return C;const T=Fc(c.value,f.value),$=Fc(c.value,h.value);return l.value?{...C,transform:"translate("+T+"px, "+$+"px)",...Jd(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:T+"px",top:$+"px"}});let b;function k(){if(a.value==null||c.value==null)return;const C=o.value;wy(a.value,c.value,{middleware:u.value,placement:s.value,strategy:i.value}).then(T=>{f.value=T.x,h.value=T.y,d.value=T.strategy,p.value=T.placement,m.value=T.middlewareData,g.value=C!==!1})}function y(){typeof b=="function"&&(b(),b=void 0)}function S(){if(y(),r===void 0){k();return}if(a.value!=null&&c.value!=null){b=r(a.value,c.value,k);return}}function w(){o.value||(g.value=!1)}return Ye([u,s,i,o],k,{flush:"sync"}),Ye([a,c],S,{flush:"sync"}),Ye(o,w,{flush:"sync"}),Sl()&&w0(y),{x:jr(f),y:jr(h),strategy:jr(d),placement:jr(p),middlewareData:jr(m),isPositioned:jr(g),floatingStyles:x,update:k}}const Ty={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Dy,Oy]=Jn("PopperContent");var Iy=xe({inheritAttrs:!1,__name:"PopperContent",props:Im({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Ty}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Hd(),{forwardRef:u,currentElement:s}=Yt(),i=V(),l=V(),{width:a,height:c}=Zb(l),f=M(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=M(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=M(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=M(()=>({padding:h.value,boundary:d.value.filter(O2),altBoundary:d.value.length>0})),m=M(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=tb(()=>[yy({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Mc({...p.value,...m.value}),n.avoidCollisions&&_y({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Ey():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&Mc({...p.value,...m.value}),vy({...p.value,apply:({elements:ue,rects:Ee,availableWidth:B,availableHeight:z})=>{const{width:P,height:q}=Ee.reference,Z=ue.floating.style;Z.setProperty("--reka-popper-available-width",`${B}px`),Z.setProperty("--reka-popper-available-height",`${z}px`),Z.setProperty("--reka-popper-anchor-width",`${P}px`),Z.setProperty("--reka-popper-anchor-height",`${q}px`)}}),l.value&&Sy({element:l.value,padding:n.arrowPadding}),I2({arrowWidth:a.value,arrowHeight:c.value}),n.hideWhenDetached&&xy({strategy:"referenceHidden",...p.value})]),x=M(()=>n.reference??o.anchor.value),{floatingStyles:b,placement:k,isPositioned:y,middlewareData:S}=Cy(x,i,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...ue)=>by(...ue,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),w=M(()=>el(k.value)[0]),C=M(()=>el(k.value)[1]);Z0(()=>{y.value&&r("placed")});const T=M(()=>{var Ee;const ue=((Ee=S.value.arrow)==null?void 0:Ee.centerOffset)!==0;return n.hideShiftedArrow&&ue}),$=V("");on(()=>{s.value&&($.value=window.getComputedStyle(s.value).zIndex)});const G=M(()=>{var ue;return((ue=S.value.arrow)==null?void 0:ue.x)??0}),ie=M(()=>{var ue;return((ue=S.value.arrow)==null?void 0:ue.y)??0});return Oy({placedSide:w,onArrowChange:ue=>l.value=ue,arrowX:G,arrowY:ie,shouldHideArrow:T}),(ue,Ee)=>{var B,z,P;return O(),j("div",{ref_key:"floatingRef",ref:i,"data-reka-popper-content-wrapper":"",style:Zn({..._(b),transform:_(y)?_(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$.value,"--reka-popper-transform-origin":[(B=_(S).transformOrigin)==null?void 0:B.x,(z=_(S).transformOrigin)==null?void 0:z.y].join(" "),...((P=_(S).hide)==null?void 0:P.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[be(_(st),Ge({ref:_(u)},ue.$attrs,{"as-child":n.asChild,as:ue.as,"data-side":w.value,"data-align":C.value,style:{animation:_(y)?void 0:"none"}}),{default:he(()=>[Se(ue.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Ry=Iy;const My={top:"bottom",right:"left",bottom:"top",left:"right"};var Fy=xe({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=Yt(),n=Dy(),r=M(()=>My[n.placedSide.value]);return(o,u)=>{var s,i,l,a;return O(),j("span",{ref:c=>{_(n).onArrowChange(c??void 0)},style:Zn({position:"absolute",left:(s=_(n).arrowX)!=null&&s.value?`${(i=_(n).arrowX)==null?void 0:i.value}px`:void 0,top:(l=_(n).arrowY)!=null&&l.value?`${(a=_(n).arrowY)==null?void 0:a.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[_(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[_(n).placedSide.value],visibility:_(n).shouldHideArrow.value?"hidden":void 0})},[be(D2,Ge(o.$attrs,{ref:_(t),style:{display:"block"},as:o.as,"as-child":o.asChild,rounded:o.rounded,width:o.width,height:o.height}),{default:he(()=>[Se(o.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4)}}}),Py=Fy;function Ly(e){const t=Is({nonce:V()});return M(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}const Ny=[" ","Enter","ArrowUp","ArrowDown"],$y=[" ","Enter"],Jt=10;function eu(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(r=>ul(r,t,n)):ul(e,t,n)}function ul(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?(e==null?void 0:e[n])===(t==null?void 0:t[n]):Ld(e,t)}function zy(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const By={key:0,value:""},[br,ep]=Jn("SelectRoot");var qy=xe({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,r=t,{required:o,disabled:u,multiple:s,dir:i}=cu(n),l=cc(n,"modelValue",r,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),a=cc(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),c=V(),f=V(),h=V({x:0,y:0}),d=M(()=>{var y;return s.value&&Array.isArray(l.value)?((y=l.value)==null?void 0:y.length)===0:Ji(l.value)});mu({isProvider:!0});const p=qb(i),m=Hb(c),g=V(new Set),x=M(()=>Array.from(g.value).map(y=>y.value).join(";"));function b(y){if(s.value){const S=Array.isArray(l.value)?[...l.value]:[],w=S.findIndex(C=>ul(C,y,n.by));w===-1?S.push(y):S.splice(w,1),l.value=[...S]}else l.value=y}function k(y){return Array.from(g.value).find(S=>eu(y,S.value,n.by))}return ep({triggerElement:c,onTriggerChange:y=>{c.value=y},valueElement:f,onValueElementChange:y=>{f.value=y},contentId:"",modelValue:l,onValueChange:b,by:n.by,open:a,multiple:s,required:o,onOpenChange:y=>{a.value=y},dir:p,triggerPointerDownPosRef:h,disabled:u,isEmptyModelValue:d,optionsSet:g,onOptionAdd:y=>{const S=k(y.value);S&&g.value.delete(S),g.value.add(y)},onOptionRemove:y=>{const S=k(y.value);S&&g.value.delete(S)}}),(y,S)=>(O(),ce(_(E2),null,{default:he(()=>[Se(y.$slots,"default",{modelValue:_(l),open:_(a)}),_(m)&&y.name?(O(),ce(jy,{key:x.value,"aria-hidden":"true",tabindex:"-1",multiple:_(s),required:_(o),name:y.name,autocomplete:y.autocomplete,disabled:_(u),value:_(l)},{default:he(()=>[_(Ji)(_(l))?(O(),j("option",By)):ke("v-if",!0),(O(!0),j(Fe,null,wt(Array.from(g.value),w=>(O(),j("option",Ge({key:w.value??""},{ref_for:!0},w),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):ke("v-if",!0)]),_:3}))}}),Uy=qy,Hy=xe({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=V(),r=br();Ye(()=>t.value,(u,s)=>{const i=window.HTMLSelectElement.prototype,a=Object.getOwnPropertyDescriptor(i,"value").set;if(u!==s&&a&&n.value){const c=new Event("change",{bubbles:!0});a.call(n.value,u),n.value.dispatchEvent(c)}});function o(u){r.onValueChange(u.target.value)}return(u,s)=>(O(),ce(_(v2),{"as-child":""},{default:he(()=>[F("select",Ge({ref_key:"selectElement",ref:n},t,{onInput:o}),[Se(u.$slots,"default")],16)]),_:3}))}}),jy=Hy,Vy=xe({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Jt},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=Bl(e);return(r,o)=>(O(),ce(_(Ry),Ge(_(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:he(()=>[Se(r.$slots,"default")]),_:3},16))}}),Gy=Vy;const tp={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[bu,np]=Jn("SelectContent");var Wy=xe({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=br();Ub(),zb(n.bodyLock);const{CollectionSlot:u,getItems:s}=mu(),i=V();Yb(i);const{search:l,handleTypeaheadSearch:a}=Bd(),c=V(),f=V(),h=V(),d=V(!1),p=V(!1),m=V(!1);function g(){f.value&&i.value&&kc([f.value,i.value])}Ye(d,()=>{g()});const{onOpenChange:x,triggerPointerDownPosRef:b}=o;on(w=>{if(!i.value)return;let C={x:0,y:0};const T=G=>{var ie,ue;C={x:Math.abs(Math.round(G.pageX)-(((ie=b.value)==null?void 0:ie.x)??0)),y:Math.abs(Math.round(G.pageY)-(((ue=b.value)==null?void 0:ue.y)??0))}},$=G=>{var ie;G.pointerType!=="touch"&&(C.x<=10&&C.y<=10?G.preventDefault():(ie=i.value)!=null&&ie.contains(G.target)||x(!1),document.removeEventListener("pointermove",T),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",T),document.addEventListener("pointerup",$,{capture:!0,once:!0})),w(()=>{document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",$,{capture:!0})})});function k(w){const C=w.ctrlKey||w.altKey||w.metaKey;if(w.key==="Tab"&&w.preventDefault(),!C&&w.key.length===1&&a(w.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(w.key)){let $=[...s().map(G=>G.ref)];if(["ArrowUp","End"].includes(w.key)&&($=$.slice().reverse()),["ArrowUp","ArrowDown"].includes(w.key)){const G=w.target,ie=$.indexOf(G);$=$.slice(ie+1)}setTimeout(()=>kc($)),w.preventDefault()}}const y=M(()=>n.position==="popper"?n:{}),S=Bl(y.value);return np({content:i,viewport:c,onViewportChange:w=>{c.value=w},itemRefCallback:(w,C,T)=>{const $=!p.value&&!T,G=eu(o.modelValue.value,C,o.by);if(o.multiple.value){if(m.value)return;(G||$)&&(f.value=w,G&&(m.value=!0))}else(G||$)&&(f.value=w);$&&(p.value=!0)},selectedItem:f,selectedItemText:h,onItemLeave:()=>{var w;(w=i.value)==null||w.focus()},itemTextRefCallback:(w,C,T)=>{const $=!p.value&&!T;(eu(o.modelValue.value,C,o.by)||$)&&(h.value=w)},focusSelectedItem:g,position:n.position,isPositioned:d,searchRef:l}),(w,C)=>(O(),ce(_(u),null,{default:he(()=>[be(_(g2),{"as-child":"",onMountAutoFocus:C[6]||(C[6]=Ir(()=>{},["prevent"])),onUnmountAutoFocus:C[7]||(C[7]=T=>{var $;r("closeAutoFocus",T),!T.defaultPrevented&&(($=_(o).triggerElement.value)==null||$.focus({preventScroll:!0}),T.preventDefault())})},{default:he(()=>[be(_(l2),{"as-child":"","disable-outside-pointer-events":w.disableOutsidePointerEvents,onFocusOutside:C[2]||(C[2]=Ir(()=>{},["prevent"])),onDismiss:C[3]||(C[3]=T=>_(o).onOpenChange(!1)),onEscapeKeyDown:C[4]||(C[4]=T=>r("escapeKeyDown",T)),onPointerDownOutside:C[5]||(C[5]=T=>r("pointerDownOutside",T))},{default:he(()=>[(O(),ce(Wo(w.position==="popper"?Gy:Xy),Ge({...w.$attrs,..._(S)},{id:_(o).contentId,ref:T=>{if(!T)return;const $=_(Cn)(T);$!=null&&$.hasAttribute("data-reka-popper-content-wrapper")?i.value=$.firstElementChild:i.value=$},role:"listbox","data-state":_(o).open.value?"open":"closed",dir:_(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:C[0]||(C[0]=Ir(()=>{},["prevent"])),onPlaced:C[1]||(C[1]=T=>d.value=!0),onKeydown:k}),{default:he(()=>[Se(w.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),Ky=Wy;const[Yy,Zy]=Jn("SelectItemAlignedPosition");var Qy=xe({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,r=t,{getItems:o}=mu(),u=br(),s=bu(),i=V(!1),l=V(!0),a=V(),{forwardRef:c,currentElement:f}=Yt(),{viewport:h,selectedItem:d,selectedItemText:p,focusSelectedItem:m}=s;function g(){if(u.triggerElement.value&&u.valueElement.value&&a.value&&f.value&&(h!=null&&h.value)&&(d!=null&&d.value)&&(p!=null&&p.value)){const k=u.triggerElement.value.getBoundingClientRect(),y=f.value.getBoundingClientRect(),S=u.valueElement.value.getBoundingClientRect(),w=p.value.getBoundingClientRect();if(u.dir.value!=="rtl"){const X=w.left-y.left,Ie=S.left-X,pe=k.left-Ie,ze=k.width+pe,we=Math.max(ze,y.width),E=window.innerWidth-Jt,A=gc(Ie,Jt,Math.max(Jt,E-we));a.value.style.minWidth=`${ze}px`,a.value.style.left=`${A}px`}else{const X=y.right-w.right,Ie=window.innerWidth-S.right-X,pe=window.innerWidth-k.right-Ie,ze=k.width+pe,we=Math.max(ze,y.width),E=window.innerWidth-Jt,A=gc(Ie,Jt,Math.max(Jt,E-we));a.value.style.minWidth=`${ze}px`,a.value.style.right=`${A}px`}const C=o().map(X=>X.ref),T=window.innerHeight-Jt*2,$=h.value.scrollHeight,G=window.getComputedStyle(f.value),ie=Number.parseInt(G.borderTopWidth,10),ue=Number.parseInt(G.paddingTop,10),Ee=Number.parseInt(G.borderBottomWidth,10),B=Number.parseInt(G.paddingBottom,10),z=ie+ue+$+B+Ee,P=Math.min(d.value.offsetHeight*5,z),q=window.getComputedStyle(h.value),Z=Number.parseInt(q.paddingTop,10),me=Number.parseInt(q.paddingBottom,10),Y=k.top+k.height/2-Jt,ye=T-Y,te=d.value.offsetHeight/2,ge=d.value.offsetTop+te,_e=ie+ue+ge,Oe=z-_e;if(_e<=Y){const X=d.value===C.at(-1);a.value.style.bottom="0px";const Ie=f.value.clientHeight-h.value.offsetTop-h.value.offsetHeight,pe=Math.max(ye,te+(X?me:0)+Ie+Ee),ze=_e+pe;a.value.style.height=`${ze}px`}else{const X=d.value===C[0];a.value.style.top="0px";const pe=Math.max(Y,ie+h.value.offsetTop+(X?Z:0)+te)+Oe;a.value.style.height=`${pe}px`,h.value.scrollTop=_e-Y+h.value.offsetTop}a.value.style.margin=`${Jt}px 0`,a.value.style.minHeight=`${P}px`,a.value.style.maxHeight=`${T}px`,r("placed"),requestAnimationFrame(()=>i.value=!0)}}const x=V("");At(async()=>{await pt(),g(),f.value&&(x.value=window.getComputedStyle(f.value).zIndex)});function b(k){k&&l.value===!0&&(g(),m==null||m(),l.value=!1)}return Eb(u.triggerElement,()=>{g()}),Zy({contentWrapper:a,shouldExpandOnScrollRef:i,onScrollButtonChange:b}),(k,y)=>(O(),j("div",{ref_key:"contentWrapperElement",ref:a,style:Zn({display:"flex",flexDirection:"column",position:"fixed",zIndex:x.value})},[be(_(st),Ge({ref:_(c),style:{boxSizing:"border-box",maxHeight:"100%"}},{...k.$attrs,...n}),{default:he(()=>[Se(k.$slots,"default")]),_:3},16)],4))}}),Xy=Qy,Jy=xe({__name:"SelectArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e,n=bu(tp);return(r,o)=>_(n).position==="popper"?(O(),ce(_(Py),po(Ge({key:0},t)),{default:he(()=>[Se(r.$slots,"default")]),_:3},16)):ke("v-if",!0)}}),e_=Jy,t_=xe({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return ep(e.context),np(tp),(n,r)=>Se(n.$slots,"default")}}),n_=t_;const r_={key:1};var o_=xe({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=jb(n,t),u=br(),s=V();At(()=>{s.value=new DocumentFragment});const i=V(),l=M(()=>n.forceMount||u.open.value),a=V(l.value);let c;function f(){c&&(clearTimeout(c),c=void 0)}return Ye(l,(h,d,p)=>{f(),c=setTimeout(()=>{a.value=l.value,c=void 0}),p(f)}),gr(f),(h,d)=>{var p;return l.value||a.value||(p=i.value)!=null&&p.present?(O(),ce(_(t2),{key:0,ref_key:"presenceRef",ref:i,present:l.value},{default:he(()=>[be(Ky,po(pu({..._(o),...h.$attrs})),{default:he(()=>[Se(h.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(O(),j("div",r_,[(O(),ce(J0,{to:s.value},[be(n_,{context:_(u)},{default:he(()=>[Se(h.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):ke("v-if",!0)}}}),u_=o_;const[s_,i_]=Jn("SelectGroup");var l_=xe({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=ql(void 0,"reka-select-group");return i_({id:n}),(r,o)=>(O(),ce(_(st),Ge({role:"group"},t,{"aria-labelledby":_(n)}),{default:he(()=>[Se(r.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),a_=l_;const[rp,c_]=Jn("SelectItem");var f_=xe({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=cu(n),u=br(),s=bu(),{forwardRef:i,currentElement:l}=Yt(),{CollectionItem:a}=mu(),c=M(()=>{var y;return eu((y=u.modelValue)==null?void 0:y.value,n.value,u.by)}),f=V(!1),h=V(n.textValue??""),d=ql(void 0,"reka-select-item-text"),p="select.select";async function m(y){if(y.defaultPrevented)return;const S={originalEvent:y,value:n.value};$l(p,g,S)}async function g(y){await pt(),r("select",y),!y.defaultPrevented&&(o.value||(u.onValueChange(n.value),u.multiple.value||u.onOpenChange(!1)))}async function x(y){var S,w;await pt(),!y.defaultPrevented&&(o.value?(S=s.onItemLeave)==null||S.call(s):(w=y.currentTarget)==null||w.focus({preventScroll:!0}))}async function b(y){var S;await pt(),!y.defaultPrevented&&y.currentTarget===En()&&((S=s.onItemLeave)==null||S.call(s))}async function k(y){var w;await pt(),!(y.defaultPrevented||((w=s.searchRef)==null?void 0:w.value)!==""&&y.key===" ")&&($y.includes(y.key)&&m(y),y.key===" "&&y.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return At(()=>{l.value&&s.itemRefCallback(l.value,n.value,n.disabled)}),c_({value:n.value,disabled:o,textId:d,isSelected:c,onItemTextChange:y=>{h.value=((h.value||(y==null?void 0:y.textContent))??"").trim()}}),(y,S)=>(O(),ce(_(a),{value:{textValue:h.value}},{default:he(()=>[be(_(st),{ref:_(i),role:"option","aria-labelledby":_(d),"data-highlighted":f.value?"":void 0,"aria-selected":c.value,"data-state":c.value?"checked":"unchecked","aria-disabled":_(o)||void 0,"data-disabled":_(o)?"":void 0,tabindex:_(o)?void 0:-1,as:y.as,"as-child":y.asChild,onFocus:S[0]||(S[0]=w=>f.value=!0),onBlur:S[1]||(S[1]=w=>f.value=!1),onPointerup:m,onPointerdown:S[2]||(S[2]=w=>{w.currentTarget.focus({preventScroll:!0})}),onTouchend:S[3]||(S[3]=Ir(()=>{},["prevent","stop"])),onPointermove:x,onPointerleave:b,onKeydown:k},{default:he(()=>[Se(y.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),d_=f_,p_=xe({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=rp();return(r,o)=>_(n).isSelected.value?(O(),ce(_(st),Ge({key:0,"aria-hidden":"true"},t),{default:he(()=>[Se(r.$slots,"default")]),_:3},16)):ke("v-if",!0)}}),h_=p_,m_=xe({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=br(),r=bu(),o=rp(),{forwardRef:u,currentElement:s}=Yt(),i=M(()=>{var l,a;return{value:o.value,disabled:o.disabled.value,textContent:((l=s.value)==null?void 0:l.textContent)??((a=o.value)==null?void 0:a.toString())??""}});return At(()=>{s.value&&(o.onItemTextChange(s.value),r.itemTextRefCallback(s.value,o.value,o.disabled.value),n.onOptionAdd(i.value))}),gr(()=>{n.onOptionRemove(i.value)}),(l,a)=>(O(),ce(_(st),Ge({id:_(o).textId,ref:_(u)},{...t,...l.$attrs}),{default:he(()=>[Se(l.$slots,"default")]),_:3},16,["id"]))}}),g_=m_,b_=xe({__name:"SelectLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e,n=s_({id:""});return(r,o)=>(O(),ce(_(st),Ge(t,{id:_(n).id}),{default:he(()=>[Se(r.$slots,"default")]),_:3},16,["id"]))}}),y_=b_,__=xe({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(O(),ce(_(y2),po(pu(t)),{default:he(()=>[Se(n.$slots,"default")]),_:3},16))}}),v_=__,x_=xe({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(O(),ce(_(st),Ge({"aria-hidden":"true"},t),{default:he(()=>[Se(n.$slots,"default")]),_:3},16))}}),k_=x_,E_=xe({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=br(),{forwardRef:r,currentElement:o}=Yt(),u=M(()=>{var h;return((h=n.disabled)==null?void 0:h.value)||t.disabled});n.contentId||(n.contentId=ql(void 0,"reka-select-content")),At(()=>{n.onTriggerChange(o.value)});const{getItems:s}=mu(),{search:i,handleTypeaheadSearch:l,resetTypeahead:a}=Bd();function c(){u.value||(n.onOpenChange(!0),a())}function f(h){c(),n.triggerPointerDownPosRef.value={x:Math.round(h.pageX),y:Math.round(h.pageY)}}return(h,d)=>(O(),ce(_(A2),{"as-child":"",reference:h.reference},{default:he(()=>{var p,m,g,x;return[be(_(st),{ref:_(r),role:"combobox",type:h.as==="button"?"button":void 0,"aria-controls":_(n).contentId,"aria-expanded":_(n).open.value||!1,"aria-required":(p=_(n).required)==null?void 0:p.value,"aria-autocomplete":"none",disabled:u.value,dir:(m=_(n))==null?void 0:m.dir.value,"data-state":(g=_(n))!=null&&g.open.value?"open":"closed","data-disabled":u.value?"":void 0,"data-placeholder":_(zy)((x=_(n).modelValue)==null?void 0:x.value)?"":void 0,"as-child":h.asChild,as:h.as,onClick:d[0]||(d[0]=b=>{var k;(k=b==null?void 0:b.currentTarget)==null||k.focus()}),onPointerdown:d[1]||(d[1]=b=>{if(b.pointerType==="touch")return b.preventDefault();const k=b.target;k.hasPointerCapture(b.pointerId)&&k.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(f(b),b.preventDefault())}),onPointerup:d[2]||(d[2]=Ir(b=>{b.pointerType==="touch"&&f(b)},["prevent"])),onKeydown:d[3]||(d[3]=b=>{const k=_(i)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&k&&b.key===" "||(_(l)(b.key,_(s)()),_(Ny).includes(b.key)&&(c(),b.preventDefault()))})},{default:he(()=>[Se(h.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),w_=E_,A_=xe({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Yt(),o=br();At(()=>{o.valueElement=r});const u=M(()=>{var c;let i=[];const l=Array.from(o.optionsSet.value),a=f=>l.find(h=>eu(f,h.value,o.by));return Array.isArray(o.modelValue.value)?i=o.modelValue.value.map(f=>{var h;return((h=a(f))==null?void 0:h.textContent)??""}):i=[((c=a(o.modelValue.value))==null?void 0:c.textContent)??""],i.filter(Boolean)}),s=M(()=>u.value.length?u.value.join(", "):t.placeholder);return(i,l)=>(O(),ce(_(st),{ref:_(n),as:i.as,"as-child":i.asChild,style:{pointerEvents:"none"},"data-placeholder":u.value.length?void 0:t.placeholder},{default:he(()=>[Se(i.$slots,"default",{selectedLabel:u.value,modelValue:_(o).modelValue.value},()=>[en(oe(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),S_=A_,C_=xe({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:n}=cu(t),r=Ly(n),o=bu(),u=o.position==="item-aligned"?Yy():void 0,{forwardRef:s,currentElement:i}=Yt();At(()=>{o==null||o.onViewportChange(i.value)});const l=V(0);function a(c){const f=c.currentTarget,{shouldExpandOnScrollRef:h,contentWrapper:d}=u??{};if(h!=null&&h.value&&(d!=null&&d.value)){const p=Math.abs(l.value-f.scrollTop);if(p>0){const m=window.innerHeight-Jt*2,g=Number.parseFloat(d.value.style.minHeight),x=Number.parseFloat(d.value.style.height),b=Math.max(g,x);if(b<m){const k=b+p,y=Math.min(m,k),S=k-y;d.value.style.height=`${y}px`,d.value.style.bottom==="0px"&&(f.scrollTop=S>0?S:0,d.value.style.justifyContent="flex-end")}}}l.value=f.scrollTop}return(c,f)=>(O(),j(Fe,null,[be(_(st),Ge({ref:_(s),"data-reka-select-viewport":"",role:"presentation"},{...c.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:a}),{default:he(()=>[Se(c.$slots,"default")]),_:3},16),be(_(st),{as:"style",nonce:_(r)},{default:he(()=>f[0]||(f[0]=[en(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),T_=C_;const[D_]=Jn("UTheme","RootContext"),O_={defaults:M(()=>({}))};function I_(e=O_){return D_(e)}function R_(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function M_(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function F_(e,t){return!e||!e.props?!1:e.props[R_(t)]!==void 0||e.props[M_(t)]!==void 0}function Yl(e,t){const n=Rt(),{defaults:r}=I_(),o=Fr();return new Proxy(t,{get(u,s,i){var d,p,m,g;if(s==="__v_isReactive")return!0;if(s==="__v_raw")return u;const l=Reflect.get(u,s,i);if(typeof s!="string")return l;const a=e.includes(".")?Wt(r.value,e):r.value[e];if(s==="ui"){const x=a==null?void 0:a.ui;return!l&&!x?l:no(l??{},x??{})}if(n&&F_(n.vnode,s))return l;const c=a==null?void 0:a[s];if(c!==void 0)return c;const f=(p=(d=n==null?void 0:n.type)==null?void 0:d.props)==null?void 0:p[s];if(f&&Object.prototype.hasOwnProperty.call(f,"default"))return l;const h=e.includes(".")?Wt(o.ui??{},e):(m=o.ui)==null?void 0:m[e];return(g=h==null?void 0:h.defaultVariants)==null?void 0:g[s]},has:(u,s)=>Reflect.has(u,s),ownKeys:u=>Reflect.ownKeys(u),getOwnPropertyDescriptor:(u,s)=>Reflect.getOwnPropertyDescriptor(u,s)})}function P_(e,t){const n=t?$d(t):{};return M(()=>{const r=Qe(e)?e.value:e,o={...n};for(const u in r){const s=r[u];s!==void 0&&(o[u]=s)}return o})}const op=Symbol("nuxt-ui.field-group");function L_(e){const t=Ft(op,void 0);return{orientation:M(()=>t==null?void 0:t.value.orientation),size:M(()=>(e==null?void 0:e.size)??(t==null?void 0:t.value.size))}}const N_=xe({name:"FieldGroupReset",setup(e,{slots:t}){return ho(op,M(()=>({size:void 0,orientation:void 0}))),()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}});function $_(e){const t=Fr(),n=M(()=>nt(e)),r=M(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),o=M(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),u=M(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),s=M(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon);return{isLeading:r,isTrailing:o,leadingIconName:u,trailingIconName:s}}const z_=Symbol("nuxt-ui.form-options"),B_=Symbol("nuxt-ui.form-events"),Pc=Symbol("nuxt-ui.form-field"),q_=Symbol("nuxt-ui.input-id");function U_(e,t){const n=Ft(z_,void 0),r=Ft(B_,void 0),o=Ft(Pc,void 0),u=Ft(q_,void 0);ho(Pc,void 0),o&&u&&e!=null&&e.id&&(u.value=e==null?void 0:e.id);function s(f,h,d){r&&o&&h&&r.emit({type:f,name:h,eager:d})}function i(){s("blur",o==null?void 0:o.value.name)}function l(){s("focus",o==null?void 0:o.value.name)}function a(){s("change",o==null?void 0:o.value.name)}const c=gb(()=>{s("input",o==null?void 0:o.value.name,!0)},(o==null?void 0:o.value.validateOnInputDelay)??(n==null?void 0:n.value.validateOnInputDelay)??0);return{id:M(()=>(e==null?void 0:e.id)??(u==null?void 0:u.value)),name:M(()=>(e==null?void 0:e.name)??(o==null?void 0:o.value.name)),size:M(()=>(e==null?void 0:e.size)??(o==null?void 0:o.value.size)),color:M(()=>o!=null&&o.value.error?"error":e==null?void 0:e.color),highlight:M(()=>o!=null&&o.value.error?!0:e==null?void 0:e.highlight),disabled:M(()=>(n==null?void 0:n.value.disabled)||(e==null?void 0:e.disabled)),emitFormBlur:i,emitFormInput:c,emitFormChange:a,emitFormFocus:l,ariaAttrs:M(()=>{if(!(o!=null&&o.value))return;const f=["error","hint","description","help"].filter(d=>{var p;return(p=o==null?void 0:o.value)==null?void 0:p[d]}).map(d=>`${o==null?void 0:o.value.ariaId}-${d}`)||[],h={"aria-invalid":!!(o!=null&&o.value.error)};return f.length>0&&(h["aria-describedby"]=f.join(" ")),h})}}const H_=Symbol("nuxt-ui.portal-target");function j_(e){const t=Ft(H_,void 0),n=M(()=>e.value===!0?t==null?void 0:t.value:e.value),r=M(()=>typeof n.value=="boolean"?!n.value:!1),o=M(()=>typeof n.value=="boolean"?"body":n.value);return M(()=>({to:o.value,disabled:r.value}))}var V_=/\s+/g,G_=e=>typeof e!="string"||!e?e:e.replace(V_," ").trim(),as=(...e)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let u=0,s=r.length;u<s;u++)n(r[u]);return}const o=typeof r;if(o==="string"||o==="number"||o==="bigint"){if(o==="number"&&r!==r)return;t.push(String(r))}else if(o==="object"){const u=Object.keys(r);for(let s=0,i=u.length;s<i;s++){const l=u[s];r[l]&&t.push(l)}}};for(let r=0,o=e.length;r<o;r++){const u=e[r];u!=null&&n(u)}return t.length>0?G_(t.join(" ")):void 0},Lc=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Mt=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},W_=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){const u=n[o];if(!r.includes(u)||e[u]!==t[u])return!1}return!0},K_=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=as(e[n],r):e[n]=r}return e},up=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?up(r,t):r&&t.push(r)}},sp=(...e)=>{const t=[];up(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},sl=(e,t)=>{const n={};for(const r in e){const o=e[r];if(r in t){const u=t[r];Array.isArray(o)||Array.isArray(u)?n[r]=sp(u,o):typeof o=="object"&&typeof u=="object"&&o&&u?n[r]=sl(o,u):n[r]=u+" "+o}else n[r]=o}for(const r in t)r in e||(n[r]=t[r]);return n},Y_={twMerge:!0,twMergeConfig:{}};function Z_(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var Nn=Z_(),Q_=e=>{const t=(r,o)=>{const{extend:u=null,slots:s={},variants:i={},compoundVariants:l=[],compoundSlots:a=[],defaultVariants:c={}}=r,f={...Y_,...o},h=u!=null&&u.base?as(u.base,r==null?void 0:r.base):r==null?void 0:r.base,d=u!=null&&u.variants&&!Mt(u.variants)?sl(i,u.variants):i,p=u!=null&&u.defaultVariants&&!Mt(u.defaultVariants)?{...u.defaultVariants,...c}:c;!Mt(f.twMergeConfig)&&!W_(f.twMergeConfig,Nn.cachedTwMergeConfig)&&(Nn.didTwMergeConfigChange=!0,Nn.cachedTwMergeConfig=f.twMergeConfig);const m=Mt(u==null?void 0:u.slots),g=Mt(s)?{}:{base:as(r==null?void 0:r.base,m&&(u==null?void 0:u.base)),...s},x=m?g:K_({...u==null?void 0:u.slots},Mt(g)?{base:r==null?void 0:r.base}:g),b=Mt(u==null?void 0:u.compoundVariants)?l:sp(u==null?void 0:u.compoundVariants,l),k=S=>{if(Mt(d)&&Mt(s)&&m)return e(h,S==null?void 0:S.class,S==null?void 0:S.className)(f);if(b&&!Array.isArray(b))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof b}`);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);const w=(B,z=d,P=null,q=null)=>{const Z=z[B];if(!Z||Mt(Z))return null;const me=(q==null?void 0:q[B])??(S==null?void 0:S[B]);if(me===null)return null;const Y=Lc(me);if(typeof Y=="object")return null;const ye=p==null?void 0:p[B],te=Y??Lc(ye);return Z[te||"false"]},C=()=>{if(!d)return null;const B=Object.keys(d),z=[];for(let P=0;P<B.length;P++){const q=w(B[P],d);q&&z.push(q)}return z},T=(B,z)=>{if(!d||typeof d!="object")return null;const P=[];for(const q in d){const Z=w(q,d,B,z),me=B==="base"&&typeof Z=="string"?Z:Z&&Z[B];me&&P.push(me)}return P},$={};for(const B in S){const z=S[B];z!==void 0&&($[B]=z)}const G=(B,z)=>{var q;const P=typeof(S==null?void 0:S[B])=="object"?{[B]:(q=S[B])==null?void 0:q.initial}:{};return{...p,...$,...P,...z}},ie=(B=[],z)=>{const P=[],q=B.length;for(let Z=0;Z<q;Z++){const{class:me,className:Y,...ye}=B[Z];let te=!0;const ge=G(null,z);for(const _e in ye){const Oe=ye[_e],De=ge[_e];if(Array.isArray(Oe)){if(!Oe.includes(De)){te=!1;break}}else{if((Oe==null||Oe===!1)&&(De==null||De===!1))continue;if(De!==Oe){te=!1;break}}}te&&(me&&P.push(me),Y&&P.push(Y))}return P},ue=B=>{const z=ie(b,B);if(!Array.isArray(z))return z;const P={},q=e;for(let Z=0;Z<z.length;Z++){const me=z[Z];if(typeof me=="string")P.base=q(P.base,me)(f);else if(typeof me=="object")for(const Y in me)P[Y]=q(P[Y],me[Y])(f)}return P},Ee=B=>{if(a.length<1)return null;const z={},P=G(null,B);for(let q=0;q<a.length;q++){const{slots:Z=[],class:me,className:Y,...ye}=a[q];if(!Mt(ye)){let te=!0;for(const ge in ye){const _e=P[ge],Oe=ye[ge];if(_e===void 0||(Array.isArray(Oe)?!Oe.includes(_e):Oe!==_e)){te=!1;break}}if(!te)continue}for(let te=0;te<Z.length;te++){const ge=Z[te];z[ge]||(z[ge]=[]),z[ge].push([me,Y])}}return z};if(!Mt(s)||!m){const B={};if(typeof x=="object"&&!Mt(x)){const z=e;for(const P in x)B[P]=q=>{const Z=ue(q),me=Ee(q);return z(x[P],T(P,q),Z?Z[P]:void 0,me?me[P]:void 0,q==null?void 0:q.class,q==null?void 0:q.className)(f)}}return B}return e(h,C(),ie(b),S==null?void 0:S.class,S==null?void 0:S.className)(f)},y=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return k.variantKeys=y(),k.extend=u,k.base=h,k.slots=x,k.variants=d,k.defaultVariants=p,k.compoundSlots=a,k.compoundVariants=b,k};return{tv:t,createTV:r=>(o,u)=>t(o,u?sl(r,u):r)}};const X_=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},J_=(e,t)=>({classGroupId:e,validator:t}),ip=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),cs="-",Nc=[],e3="arbitrary..",t3=e=>{const t=r3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return n3(s);const i=s.split(cs),l=i[0]===""&&i.length>1?1:0;return lp(i,l,t)},getConflictingClassGroupIds:(s,i)=>{if(i){const l=r[s],a=n[s];return l?a?X_(a,l):l:a||Nc}return n[s]||Nc}}},lp=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],u=n.nextPart.get(o);if(u){const a=lp(e,t+1,u);if(a)return a}const s=n.validators;if(s===null)return;const i=t===0?e.join(cs):e.slice(t).join(cs),l=s.length;for(let a=0;a<l;a++){const c=s[a];if(c.validator(i))return c.classGroupId}},n3=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?e3+r:void 0})(),r3=e=>{const{theme:t,classGroups:n}=e;return o3(n,t)},o3=(e,t)=>{const n=ip();for(const r in e){const o=e[r];Zl(o,n,r,t)}return n},Zl=(e,t,n,r)=>{const o=e.length;for(let u=0;u<o;u++){const s=e[u];u3(s,t,n,r)}},u3=(e,t,n,r)=>{if(typeof e=="string"){s3(e,t,n);return}if(typeof e=="function"){i3(e,t,n,r);return}l3(e,t,n,r)},s3=(e,t,n)=>{const r=e===""?t:ap(t,e);r.classGroupId=n},i3=(e,t,n,r)=>{if(a3(e)){Zl(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(J_(n,e))},l3=(e,t,n,r)=>{const o=Object.entries(e),u=o.length;for(let s=0;s<u;s++){const[i,l]=o[s];Zl(l,ap(t,i),n,r)}},ap=(e,t)=>{let n=e;const r=t.split(cs),o=r.length;for(let u=0;u<o;u++){const s=r[u];let i=n.nextPart.get(s);i||(i=ip(),n.nextPart.set(s,i)),n=i}return n},a3=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,c3=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(u,s)=>{n[u]=s,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(u){let s=n[u];if(s!==void 0)return s;if((s=r[u])!==void 0)return o(u,s),s},set(u,s){u in n?n[u]=s:o(u,s)}}},il="!",$c=":",f3=[],zc=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),d3=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const u=[];let s=0,i=0,l=0,a;const c=o.length;for(let m=0;m<c;m++){const g=o[m];if(s===0&&i===0){if(g===$c){u.push(o.slice(l,m)),l=m+1;continue}if(g==="/"){a=m;continue}}g==="["?s++:g==="]"?s--:g==="("?i++:g===")"&&i--}const f=u.length===0?o:o.slice(l);let h=f,d=!1;f.endsWith(il)?(h=f.slice(0,-1),d=!0):f.startsWith(il)&&(h=f.slice(1),d=!0);const p=a&&a>l?a-l:void 0;return zc(u,d,h,p)};if(t){const o=t+$c,u=r;r=s=>s.startsWith(o)?u(s.slice(o.length)):zc(f3,!1,s,void 0,!0)}if(n){const o=r;r=u=>n({className:u,parseClassName:o})}return r},p3=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let u=0;u<n.length;u++){const s=n[u],i=s[0]==="[",l=t.has(s);i||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},h3=e=>({cache:c3(e.cacheSize),parseClassName:d3(e),sortModifiers:p3(e),postfixLookupClassGroupIds:m3(e),...t3(e)}),m3=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},g3=/\s+/,b3=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u,postfixLookupClassGroupIds:s}=t,i=[],l=e.trim().split(g3);let a="";for(let c=l.length-1;c>=0;c-=1){const f=l[c],{isExternal:h,modifiers:d,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:g}=n(f);if(h){a=f+(a.length>0?" "+a:a);continue}let x=!!g,b;if(x){const C=m.substring(0,g);b=r(C);const T=b&&s[b]?r(m):void 0;T&&T!==b&&(b=T,x=!1)}else b=r(m);if(!b){if(!x){a=f+(a.length>0?" "+a:a);continue}if(b=r(m),!b){a=f+(a.length>0?" "+a:a);continue}x=!1}const k=d.length===0?"":d.length===1?d[0]:u(d).join(":"),y=p?k+il:k,S=y+b;if(i.indexOf(S)>-1)continue;i.push(S);const w=o(b,x);for(let C=0;C<w.length;++C){const T=w[C];i.push(y+T)}a=f+(a.length>0?" "+a:a)}return a},y3=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=cp(n))&&(o&&(o+=" "),o+=r);return o},cp=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=cp(e[r]))&&(n&&(n+=" "),n+=t);return n},ll=(e,...t)=>{let n,r,o,u;const s=l=>{const a=t.reduce((c,f)=>f(c),e());return n=h3(a),r=n.cache.get,o=n.cache.set,u=i,i(l)},i=l=>{const a=r(l);if(a)return a;const c=b3(l,n);return o(l,c),c};return u=s,(...l)=>u(y3(...l))},_3=[],ot=e=>{const t=n=>n[e]||_3;return t.isThemeGetter=!0,t},fp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,dp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v3=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,x3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,w3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nr=e=>v3.test(e),Te=e=>!!e&&!Number.isNaN(Number(e)),pn=e=>!!e&&Number.isInteger(Number(e)),bi=e=>e.endsWith("%")&&Te(e.slice(0,-1)),Fn=e=>x3.test(e),pp=()=>!0,S3=e=>k3.test(e)&&!E3.test(e),Ql=()=>!1,C3=e=>w3.test(e),T3=e=>A3.test(e),D3=e=>!ne(e)&&!re(e),O3=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),I3=e=>yr(e,gp,Ql),ne=e=>fp.test(e),Er=e=>yr(e,bp,S3),Bc=e=>yr(e,z3,Te),R3=e=>yr(e,_p,pp),M3=e=>yr(e,yp,Ql),qc=e=>yr(e,hp,Ql),F3=e=>yr(e,mp,T3),Pu=e=>yr(e,vp,C3),re=e=>dp.test(e),So=e=>Lr(e,bp),P3=e=>Lr(e,yp),Uc=e=>Lr(e,hp),L3=e=>Lr(e,gp),N3=e=>Lr(e,mp),Lu=e=>Lr(e,vp,!0),$3=e=>Lr(e,_p,!0),yr=(e,t,n)=>{const r=fp.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Lr=(e,t,n=!1)=>{const r=dp.exec(e);return r?r[1]?t(r[1]):n:!1},hp=e=>e==="position"||e==="percentage",mp=e=>e==="image"||e==="url",gp=e=>e==="length"||e==="size"||e==="bg-size",bp=e=>e==="length",z3=e=>e==="number",yp=e=>e==="family-name",_p=e=>e==="number"||e==="weight",vp=e=>e==="shadow",al=()=>{const e=ot("color"),t=ot("font"),n=ot("text"),r=ot("font-weight"),o=ot("tracking"),u=ot("leading"),s=ot("breakpoint"),i=ot("container"),l=ot("spacing"),a=ot("radius"),c=ot("shadow"),f=ot("inset-shadow"),h=ot("text-shadow"),d=ot("drop-shadow"),p=ot("blur"),m=ot("perspective"),g=ot("aspect"),x=ot("ease"),b=ot("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...y(),re,ne],w=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],T=()=>[re,ne,l],$=()=>[nr,"full","auto",...T()],G=()=>[pn,"none","subgrid",re,ne],ie=()=>["auto",{span:["full",pn,re,ne]},pn,re,ne],ue=()=>[pn,"auto",re,ne],Ee=()=>["auto","min","max","fr",re,ne],B=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...T()],q=()=>[nr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],Z=()=>[nr,"screen","full","dvw","lvw","svw","min","max","fit",...T()],me=()=>[nr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],Y=()=>[e,re,ne],ye=()=>[...y(),Uc,qc,{position:[re,ne]}],te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",L3,I3,{size:[re,ne]}],_e=()=>[bi,So,Er],Oe=()=>["","none","full",a,re,ne],De=()=>["",Te,So,Er],X=()=>["solid","dashed","dotted","double"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Te,bi,Uc,qc],ze=()=>["","none",p,re,ne],we=()=>["none",Te,re,ne],E=()=>["none",Te,re,ne],A=()=>[Te,re,ne],I=()=>[nr,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fn],breakpoint:[Fn],color:[pp],container:[Fn],"drop-shadow":[Fn],ease:["in","out","in-out"],font:[D3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fn],shadow:[Fn],spacing:["px",Te],text:[Fn],"text-shadow":[Fn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nr,ne,re,g]}],container:["container"],"container-type":[{"@container":["","normal","size",re,ne]}],"container-named":[O3],columns:[{columns:[Te,ne,re,i]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:S()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[pn,"auto",re,ne]}],basis:[{basis:[nr,"full","auto",i,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,nr,"auto","initial","none",ne]}],grow:[{grow:["",Te,re,ne]}],shrink:[{shrink:["",Te,re,ne]}],order:[{order:[pn,"first","last","none",re,ne]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ee()}],"auto-rows":[{"auto-rows":Ee()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...B(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...B()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":B()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...me()]}],"min-block-size":[{"min-block":["auto",...me()]}],"max-block-size":[{"max-block":["none",...me()]}],w:[{w:[i,"screen",...q()]}],"min-w":[{"min-w":[i,"screen","none",...q()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[s]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",n,So,Er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$3,R3]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",bi,ne]}],"font-family":[{font:[P3,M3,t]}],"font-features":[{"font-features":[ne]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,re,ne]}],"line-clamp":[{"line-clamp":[Te,"none",re,Bc]}],leading:[{leading:[u,...T()]}],"list-image":[{"list-image":["none",re,ne]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,ne]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[Te,"from-font","auto",re,Er]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Te,"auto",re,ne]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"tab-size":[{tab:[pn,re,ne]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ye()}],"bg-repeat":[{bg:te()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pn,re,ne],radial:["",re,ne],conic:[pn,re,ne]},N3,F3]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:_e()}],"gradient-via-pos":[{via:_e()}],"gradient-to-pos":[{to:_e()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:Oe()}],"rounded-s":[{"rounded-s":Oe()}],"rounded-e":[{"rounded-e":Oe()}],"rounded-t":[{"rounded-t":Oe()}],"rounded-r":[{"rounded-r":Oe()}],"rounded-b":[{"rounded-b":Oe()}],"rounded-l":[{"rounded-l":Oe()}],"rounded-ss":[{"rounded-ss":Oe()}],"rounded-se":[{"rounded-se":Oe()}],"rounded-ee":[{"rounded-ee":Oe()}],"rounded-es":[{"rounded-es":Oe()}],"rounded-tl":[{"rounded-tl":Oe()}],"rounded-tr":[{"rounded-tr":Oe()}],"rounded-br":[{"rounded-br":Oe()}],"rounded-bl":[{"rounded-bl":Oe()}],"border-w":[{border:De()}],"border-w-x":[{"border-x":De()}],"border-w-y":[{"border-y":De()}],"border-w-s":[{"border-s":De()}],"border-w-e":[{"border-e":De()}],"border-w-bs":[{"border-bs":De()}],"border-w-be":[{"border-be":De()}],"border-w-t":[{"border-t":De()}],"border-w-r":[{"border-r":De()}],"border-w-b":[{"border-b":De()}],"border-w-l":[{"border-l":De()}],"divide-x":[{"divide-x":De()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":De()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-bs":[{"border-bs":Y()}],"border-color-be":[{"border-be":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Te,re,ne]}],"outline-w":[{outline:["",Te,So,Er]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",c,Lu,Pu]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",f,Lu,Pu]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Te,Er]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":De()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",h,Lu,Pu]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Te,re,ne]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ie()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[re,ne]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":y()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ye()}],"mask-repeat":[{mask:te()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,ne]}],filter:[{filter:["","none",re,ne]}],blur:[{blur:ze()}],brightness:[{brightness:[Te,re,ne]}],contrast:[{contrast:[Te,re,ne]}],"drop-shadow":[{"drop-shadow":["","none",d,Lu,Pu]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Te,re,ne]}],"hue-rotate":[{"hue-rotate":[Te,re,ne]}],invert:[{invert:["",Te,re,ne]}],saturate:[{saturate:[Te,re,ne]}],sepia:[{sepia:["",Te,re,ne]}],"backdrop-filter":[{"backdrop-filter":["","none",re,ne]}],"backdrop-blur":[{"backdrop-blur":ze()}],"backdrop-brightness":[{"backdrop-brightness":[Te,re,ne]}],"backdrop-contrast":[{"backdrop-contrast":[Te,re,ne]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,re,ne]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,re,ne]}],"backdrop-invert":[{"backdrop-invert":["",Te,re,ne]}],"backdrop-opacity":[{"backdrop-opacity":[Te,re,ne]}],"backdrop-saturate":[{"backdrop-saturate":[Te,re,ne]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,re,ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,ne]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",re,ne]}],ease:[{ease:["linear","initial",x,re,ne]}],delay:[{delay:[Te,re,ne]}],animate:[{animate:["none",b,re,ne]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,re,ne]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:E()}],"scale-x":[{"scale-x":E()}],"scale-y":[{"scale-y":E()}],"scale-z":[{"scale-z":E()}],"scale-3d":["scale-3d"],skew:[{skew:A()}],"skew-x":[{"skew-x":A()}],"skew-y":[{"skew-y":A()}],transform:[{transform:[re,ne,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:I()}],"translate-x":[{"translate-x":I()}],"translate-y":[{"translate-y":I()}],"translate-z":[{"translate-z":I()}],"translate-none":["translate-none"],zoom:[{zoom:[pn,re,ne]}],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,ne]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Y()}],"scrollbar-track-color":[{"scrollbar-track":Y()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,ne]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Te,So,Er,Bc]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},B3=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:u={}})=>(Zr(e,"cacheSize",t),Zr(e,"prefix",n),Zr(e,"experimentalParseClassName",r),Nu(e.theme,u.theme),Nu(e.classGroups,u.classGroups),Nu(e.conflictingClassGroups,u.conflictingClassGroups),Nu(e.conflictingClassGroupModifiers,u.conflictingClassGroupModifiers),Zr(e,"postfixLookupClassGroups",u.postfixLookupClassGroups),Zr(e,"orderSensitiveModifiers",u.orderSensitiveModifiers),$u(e.theme,o.theme),$u(e.classGroups,o.classGroups),$u(e.conflictingClassGroups,o.conflictingClassGroups),$u(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),cl(e,o,"postfixLookupClassGroups"),cl(e,o,"orderSensitiveModifiers"),e),Zr=(e,t,n)=>{n!==void 0&&(e[t]=n)},Nu=(e,t)=>{if(t)for(const n in t)Zr(e,n,t[n])},$u=(e,t)=>{if(t)for(const n in t)cl(e,t,n)},cl=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},q3=(e,...t)=>typeof e=="function"?ll(al,e,...t):ll(()=>B3(al(),e),...t),U3=ll(al);var H3=e=>Mt(e)?U3:q3({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),j3=(e,t)=>{const n=as(e);return!n||!((t==null?void 0:t.twMerge)??!0)?n:((!Nn.cachedTwMerge||Nn.didTwMergeConfigChange)&&(Nn.didTwMergeConfigChange=!1,Nn.cachedTwMerge=H3(Nn.cachedTwMergeConfig)),Nn.cachedTwMerge(n)||void 0)},xp=(...e)=>t=>j3(e,t),{createTV:V3}=Q_(xp);const G3=Pd;var u0;const kp=(u0=G3.ui)==null?void 0:u0.tv,W3=V3(kp);function tu(e){if(typeof e=="function")return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){const n=tu(e[t]);if(n)return n}}function fl(e){return Array.isArray(e)?e.flatMap(t=>fl(t)):typeof e=="function"?[]:[e]}function Ep(e,t,n){return xp(e(n()),...fl(t.class),...fl(t.className))(kp)??""}function K3(e,t){return new Proxy(e,{get(n,r){const o=n[r];return typeof o!="function"?o:(u={})=>{const s=tu(u.class)??tu(u.className)??(t==null?void 0:t[r]);return s?Ep(s,u,()=>o({...u,class:void 0,className:void 0})):o(u)}}})}function Y3(e){if(!e||typeof e!="object")return{config:e};let t=e,n;typeof e.base=="function"&&(n={base:e.base},t={...t,base:""});const r=e.slots;if(r&&typeof r=="object"){const o=Object.entries(r).filter(([,u])=>typeof u=="function");if(o.length){n??(n={});const u={...r};for(const[s,i]of o)n[s]=i,u[s]="";t={...t,slots:u}}}return{config:t,directives:n}}const io=e=>{const{config:t,directives:n}=Y3(e),r=W3(t);return new Proxy(r,{apply(o,u,s){const i=Reflect.apply(o,u,s);if(i&&typeof i=="object")return K3(i,n);if(typeof i=="string"){const l=s[0]??{},a=tu(l.class)??tu(l.className)??(n==null?void 0:n.base);if(a)return Ep(a,l,()=>Reflect.apply(o,u,[{...l,class:void 0,className:void 0}]))}return i}})},wp=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ls=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const i=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:i};return t&&!Ku(a)?null:a}const u=o[0],s=u.split("-");if(s.length>1){const i={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Ku(i)?null:i}if(n&&r===""){const i={provider:r,prefix:"",name:u};return t&&!Ku(i,n)?null:i}return null},Ku=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Z3(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function u(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const i=r[s]&&r[s].parent,l=i&&u(i);l&&(o[s]=[i].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(u),o}const Ap=Object.freeze({left:0,top:0,width:16,height:16}),fs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ns=Object.freeze({...Ap,...fs}),dl=Object.freeze({...Ns,body:"",hidden:!1});function Q3(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Hc(e,t){const n=Q3(e,t);for(const r in dl)r in fs?r in e&&!(r in n)&&(n[r]=fs[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function X3(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let u={};function s(i){u=Hc(r[i]||o[i],u)}return s(t),n.forEach(s),Hc(e,u)}function Sp(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Z3(e);for(const o in r){const u=r[o];u&&(t(o,X3(e,o,u)),n.push(o))}return n}const J3={provider:"",aliases:{},not_found:{},...Ap};function yi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Cp(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!yi(e,J3))return null;const n=t.icons;for(const o in n){const u=n[o];if(!o||typeof u.body!="string"||!yi(u,dl))return null}const r=t.aliases||Object.create(null);for(const o in r){const u=r[o],s=u.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!yi(u,dl))return null}return t}const jc=Object.create(null);function ev(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function lo(e,t){const n=jc[e]||(jc[e]=Object.create(null));return n[t]||(n[t]=ev(e,t))}function Tp(e,t){return Cp(t)?Sp(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function tv(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let nu=!1;function Dp(e){return typeof e=="boolean"&&(nu=e),nu}function nv(e){const t=typeof e=="string"?Ls(e,!0,nu):e;if(t){const n=lo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function rv(e,t){const n=Ls(e,!0,nu);if(!n)return!1;const r=lo(n.provider,n.prefix);return t?tv(r,n.name,t):(r.missing.add(n.name),!0)}function ov(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),nu&&!t&&!e.prefix){let r=!1;return Cp(e)&&(e.prefix="",Sp(e,(o,u)=>{rv(o,u)&&(r=!0)})),r}const n=e.prefix;return Ku({prefix:n,name:"a"})?!!Tp(lo(t,n),e):!1}const Op=Object.freeze({width:null,height:null}),Ip=Object.freeze({...Op,...fs}),uv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Vc(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(uv);if(r===null||!r.length)return e;const o=[];let u=r.shift(),s=sv.test(u);for(;;){if(s){const i=parseFloat(u);isNaN(i)?o.push(u):o.push(Math.ceil(i*t*n)/n)}else o.push(u);if(u=r.shift(),u===void 0)return o.join("");s=!s}}function iv(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),u=e.indexOf("</"+t);if(o===-1||u===-1)break;const s=e.indexOf(">",u);if(s===-1)break;n+=e.slice(o+1,u).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function lv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function av(e,t,n){const r=iv(e);return lv(r.defs,t+r.content+n)}const cv=e=>e==="unset"||e==="undefined"||e==="none";function fv(e,t){const n={...Ns,...e},r={...Ip,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let u=n.body;[n,r].forEach(m=>{const g=[],x=m.hFlip,b=m.vFlip;let k=m.rotate;x?b?k+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):b&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let y;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:y=o.height/2+o.top,g.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,g.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}k%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),g.length&&(u=av(u,'<g transform="'+g.join(" ")+'">',"</g>"))});const s=r.width,i=r.height,l=o.width,a=o.height;let c,f;s===null?(f=i===null?"1em":i==="auto"?a:i,c=Vc(f,l/a)):(c=s==="auto"?l:s,f=i===null?Vc(c,a/l):i==="auto"?a:i);const h={},d=(m,g)=>{cv(g)||(h[m]=g.toString())};d("width",c),d("height",f);const p=[o.left,o.top,l,a];return h.viewBox=p.join(" "),{attributes:h,viewBox:p,body:u}}const dv=/\sid="(\S+)"/g,Gc=new Map;function pv(e){e=e.replace(/[0-9]+$/,"")||"a";const t=Gc.get(e)||0;return Gc.set(e,t+1),t?`${e}${t}`:e}function hv(e){const t=[];let n;for(;n=dv.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const u=pv(o),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+u+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const pl=Object.create(null);function mv(e,t){pl[e]=t}function hl(e){return pl[e]||pl[""]}function Xl(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Jl=Object.create(null),Co=["https://api.simplesvg.com","https://api.unisvg.com"],Yu=[];for(;Co.length>0;)Co.length===1||Math.random()>.5?Yu.push(Co.shift()):Yu.push(Co.pop());Jl[""]=Xl({resources:["https://api.iconify.design"].concat(Yu)});function gv(e,t){const n=Xl(t);return n===null?!1:(Jl[e]=n,!0)}function ea(e){return Jl[e]}const bv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Wc=bv();function yv(e,t){const n=ea(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const u=t+".json?icons=";r=n.maxURL-o-n.path.length-u.length}return r}function _v(e){return e===404}const vv=(e,t,n)=>{const r=[],o=yv(e,t),u="icons";let s={type:u,provider:e,prefix:t,icons:[]},i=0;return n.forEach((l,a)=>{i+=l.length+1,i>=o&&a>0&&(r.push(s),s={type:u,provider:e,prefix:t,icons:[]},i=l.length),s.icons.push(l)}),r.push(s),r};function xv(e){if(typeof e=="string"){const t=ea(e);if(t)return t.path}return"/"}const kv=(e,t,n)=>{if(!Wc){n("abort",424);return}let r=xv(t.provider);switch(t.type){case"icons":{const u=t.prefix,s=t.icons.join(","),i=new URLSearchParams({icons:s});r+=u+".json?"+i.toString();break}case"custom":{const u=t.uri;r+=u.slice(0,1)==="/"?u.slice(1):u;break}default:n("abort",400);return}let o=503;Wc(e+r).then(u=>{const s=u.status;if(s!==200){setTimeout(()=>{n(_v(s)?"abort":"next",s)});return}return o=501,u.json()}).then(u=>{if(typeof u!="object"||u===null){setTimeout(()=>{u===404?n("abort",u):n("next",o)});return}setTimeout(()=>{n("success",u)})}).catch(()=>{n("next",o)})},Ev={prepare:vv,send:kv};function Rp(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function wv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(u=>{const s=u.icons,i=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])s.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))s.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),s.pending.length!==i&&(n||Rp([e],u.id),u.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),u.abort))})}))}let Av=0;function Sv(e,t,n){const r=Av++,o=Rp.bind(null,n,r);if(!t.pending.length)return o;const u={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(u)}),o}function Cv(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,u)=>o.provider!==u.provider?o.provider.localeCompare(u.provider):o.prefix!==u.prefix?o.prefix.localeCompare(u.prefix):o.name.localeCompare(u.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const u=o.provider,s=o.prefix,i=o.name,l=n[u]||(n[u]=Object.create(null)),a=l[s]||(l[s]=lo(u,s));let c;i in a.icons?c=t.loaded:s===""||a.missing.has(i)?c=t.missing:c=t.pending;const f={provider:u,prefix:s,name:i};c.push(f)}),t}function Tv(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const u=typeof o=="string"?Ls(o,t,n):o;u&&r.push(u)}),r}const Dv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Ov(e,t,n,r){const o=e.resources.length,u=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let w=e.resources.slice(0);for(s=[];w.length>1;){const C=Math.floor(Math.random()*w.length);s.push(w[C]),w=w.slice(0,C).concat(w.slice(C+1))}s=s.concat(w)}else s=e.resources.slice(u).concat(e.resources.slice(0,u));const i=Date.now();let l="pending",a=0,c,f=null,h=[],d=[];typeof r=="function"&&d.push(r);function p(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),p(),h.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),h=[]}function g(w,C){C&&(d=[]),typeof w=="function"&&d.push(w)}function x(){return{startTime:i,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:g,abort:m}}function b(){l="failed",d.forEach(w=>{w(void 0,c)})}function k(){h.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),h=[]}function y(w,C,T){const $=C!=="success";switch(h=h.filter(G=>G!==w),l){case"pending":break;case"failed":if($||!e.dataAfterTimeout)return;break;default:return}if(C==="abort"){c=T,b();return}if($){c=T,h.length||(s.length?S():b());return}if(p(),k(),!e.random){const G=e.resources.indexOf(w.resource);G!==-1&&G!==e.index&&(e.index=G)}l="completed",d.forEach(G=>{G(T)})}function S(){if(l!=="pending")return;p();const w=s.shift();if(w===void 0){if(h.length){f=setTimeout(()=>{p(),l==="pending"&&(k(),b())},e.timeout);return}b();return}const C={status:"pending",resource:w,callback:(T,$)=>{y(C,T,$)}};h.push(C),a++,f=setTimeout(S,e.rotate),n(w,t,C.callback)}return setTimeout(S),x}function Mp(e){const t={...Dv,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,i,l){const a=Ov(t,s,i,(c,f)=>{r(),l&&l(c,f)});return n.push(a),a}function u(s){return n.find(i=>s(i))||null}return{query:o,find:u,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Kc(){}const _i=Object.create(null);function Iv(e){if(!_i[e]){const t=ea(e);if(!t)return;_i[e]={config:t,redundancy:Mp(t)}}return _i[e]}function Rv(e,t,n){let r,o;if(typeof e=="string"){const u=hl(e);if(!u)return n(void 0,424),Kc;o=u.send;const s=Iv(e);s&&(r=s.redundancy)}else{const u=Xl(e);if(u){r=Mp(u);const s=hl(e.resources?e.resources[0]:"");s&&(o=s.send)}}return!r||!o?(n(void 0,424),Kc):r.query(t,o,n)().abort}function Yc(){}function Mv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,wv(e)}))}function Fv(e){const t=[],n=[];return e.forEach(r=>{(r.match(wp)?t:n).push(r)}),{valid:t,invalid:n}}function To(e,t,n){function r(){const o=e.pendingIcons;t.forEach(u=>{o&&o.delete(u),e.icons[u]||e.missing.add(u)})}if(n&&typeof n=="object")try{if(!Tp(e,n).length){r();return}}catch(o){console.error(o)}r(),Mv(e)}function Zc(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Pv(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const u=e.loadIcon;if(e.loadIcons&&(o.length>1||!u)){Zc(e.loadIcons(o,r,n),a=>{To(e,o,a)});return}if(u){o.forEach(a=>{Zc(u(a,r,n),c=>{To(e,[a],c?{prefix:r,icons:{[a]:c}}:null)})});return}const{valid:s,invalid:i}=Fv(o);if(i.length&&To(e,i,null),!s.length)return;const l=r.match(wp)?hl(n):null;if(!l){To(e,s,null);return}l.prepare(n,r,s).forEach(a=>{Rv(n,a,c=>{To(e,a.icons,c)})})}))}const Lv=(e,t)=>{const n=Cv(Tv(e,!0,Dp()));if(!n.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(n.loaded,n.missing,n.pending,Yc)}),()=>{i=!1}}const r=Object.create(null),o=[];let u,s;return n.pending.forEach(i=>{const{provider:l,prefix:a}=i;if(a===s&&l===u)return;u=l,s=a,o.push(lo(l,a));const c=r[l]||(r[l]=Object.create(null));c[a]||(c[a]=[])}),n.pending.forEach(i=>{const{provider:l,prefix:a,name:c}=i,f=lo(l,a),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(c)||(h.add(c),r[l][a].push(c))}),o.forEach(i=>{const l=r[i.provider][i.prefix];l.length&&Pv(i,l)}),t?Sv(t,n,o):Yc};function Nv(e,t){const n={...e};for(const r in t){const o=t[r],u=typeof o;r in Op?(o===null||o&&(u==="string"||u==="number"))&&(n[r]=o):u===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const $v=/[\s,]+/;function zv(e,t){t.split($v).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Bv(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let u=parseFloat(e.slice(0,e.length-n.length));return isNaN(u)?0:(u=u/o,u%1===0?r(u):0)}}return t}function qv(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Uv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Hv(e){return"data:image/svg+xml,"+Uv(e)}function jv(e){return'url("'+Hv(e)+'")'}const Qc={...Ip,inline:!1},Vv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Gv={display:"inline-block"},ml={backgroundColor:"currentColor"},Fp={backgroundColor:"transparent"},Xc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Jc={webkitMask:ml,mask:ml,background:Fp};for(const e in Jc){const t=Jc[e];for(const n in Xc)t[e+n]=Xc[n]}const Zu={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Zu[e+"-flip"]=t,Zu[e.slice(0,1)+"-flip"]=t,Zu[e+"Flip"]=t});function ef(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const tf=(e,t)=>{const n=Nv(Qc,t),r={...Vv},o=t.mode||"svg",u={},s=t.style,i=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const g=t[m];if(g!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&zv(n,g);break;case"color":u.color=g;break;case"rotate":typeof g=="string"?n[m]=Bv(g):typeof g=="number"&&(n[m]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const x=Zu[m];x?(g===!0||g==="true"||g===1)&&(n[x]=!0):Qc[m]===void 0&&(r[m]=g)}}}const l=fv(e,n),a=l.attributes;if(n.inline&&(u.verticalAlign="-0.125em"),o==="svg")return r.style={...u,...i},Object.assign(r,a),r.innerHTML=hv(l.body),dr("svg",r);const{body:c,width:f,height:h}=e,d=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),p=qv(c,{...a,width:f+"",height:h+""});return r.style={...u,"--svg":jv(p),width:ef(a.width),height:ef(a.height),...Gv,...d?ml:Fp,...i},dr("span",r)};Dp(!0);mv("",Ev);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!ov(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;gv(n,o)||console.error(r)}catch{console.error(r)}}}}const Wv={...Ns,body:""},Kv=xe((e,{emit:t})=>{const n=V(null);function r(){var a,c;n.value&&((c=(a=n.value).abort)==null||c.call(a),n.value=null)}const o=V(!!e.ssr),u=V(""),s=au(null);function i(){const a=e.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string")return u.value="",{data:a};let c;if(typeof a!="string"||(c=Ls(a,!1,!0))===null)return null;let f=nv(c);if(!f){const p=n.value;return(!p||p.name!==a)&&(f===null?n.value={name:a}:n.value={name:a,abort:Lv([c],l)}),null}r(),u.value!==a&&(u.value=a,pt(()=>{t("load",a)}));const h=e.customise;if(h){f=Object.assign({},f);const p=h(f.body,c.name,c.prefix,c.provider);typeof p=="string"&&(f.body=p)}const d=["iconify"];return c.prefix!==""&&d.push("iconify--"+c.prefix),c.provider!==""&&d.push("iconify--"+c.provider),{data:f,classes:d}}function l(){var c;const a=i();a?a.data!==((c=s.value)==null?void 0:c.data)&&(s.value=a):s.value=null}return o.value?l():At(()=>{o.value=!0,l()}),Ye(()=>e.icon,l),gr(r),()=>{const a=s.value;if(!a)return tf(Wv,e);let c=e;return a.classes&&(c={...e,class:a.classes.join(" ")}),tf({...Ns,...a.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Un={__name:"Icon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const t=e,n=Fr();function r(i,l){if(i!==!1)return i===!0||i===null?l:i}const o=M(()=>{var l;const i=t.mode||((l=n.icon)==null?void 0:l.mode);return i==="css"?"style":i}),u=M(()=>{var i;return t.size||((i=n.icon)==null?void 0:i.size)}),s=M(()=>{var i;return r(t.customize,(i=n.icon)==null?void 0:i.customize)});return(i,l)=>typeof e.name=="string"?(O(),ce(_(Kv),{key:0,icon:e.name.replace(/^i-/,""),mode:o.value,width:u.value,height:u.value,customise:s.value},null,8,["icon","mode","width","height","customise"])):(O(),ce(Wo(e.name),{key:1}))}},Yv="img",nf=Symbol("nuxt-ui.avatar-group");function Pp(e){const t=Ft(nf,void 0),n=M(()=>e.size??(t==null?void 0:t.value.size)),r=M(()=>e.color??(t==null?void 0:t.value.color));return ho(nf,M(()=>({size:n.value,color:r.value}))),{size:n,color:r}}const Zv={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},Lp=Object.assign({inheritAttrs:!1},{__name:"Chip",props:Rm({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Yl("chip",t),r=Bm(e,"show",{type:Boolean,default:!0}),{size:o}=Pp(t),u=Fr(),s=M(()=>{var i;return io({extend:io(Zv),...((i=u.ui)==null?void 0:i.chip)||{}})({color:n.color,size:o.value??n.size,position:n.position,inset:n.inset,standalone:n.standalone})});return(i,l)=>{var a;return O(),ce(_(st),{as:_(n).as,"data-slot":"root",class:je(s.value.root({class:[(a=_(n).ui)==null?void 0:a.root,_(n).class]}))},{default:he(()=>{var c;return[be(_(Xo),po(pu(i.$attrs)),{default:he(()=>[Se(i.$slots,"default")]),_:3},16),r.value?(O(),j("span",{key:0,"data-slot":"base",class:je(s.value.base({class:(c=_(n).ui)==null?void 0:c.base}))},[Se(i.$slots,"content",{},()=>[en(oe(_(n).text),1)])],2)):ke("",!0)]}),_:3},8,["as","class"])}}}),Qv={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium truncate",icon:"shrink-0"},variants:{color:{primary:{root:"bg-primary/10",fallback:"text-primary",icon:"text-primary"},secondary:{root:"bg-secondary/10",fallback:"text-secondary",icon:"text-secondary"},success:{root:"bg-success/10",fallback:"text-success",icon:"text-success"},info:{root:"bg-info/10",fallback:"text-info",icon:"text-info"},warning:{root:"bg-warning/10",fallback:"text-warning",icon:"text-warning"},error:{root:"bg-error/10",fallback:"text-error",icon:"text-error"},neutral:{root:"bg-elevated",fallback:"text-muted",icon:"text-muted"}},size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md",color:"neutral"}},rf=Object.assign({inheritAttrs:!1},{__name:"Avatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Yl("avatar",t),r=M(()=>{var d;return typeof n.as=="string"||typeof((d=n.as)==null?void 0:d.render)=="function"?{root:n.as}:no(n.as,{root:"span"})}),o=M(()=>n.text||(n.alt||"").split(" ").map(d=>d.charAt(0)).join("").substring(0,2)),u=Fr(),{size:s,color:i}=Pp(t),l=M(()=>{var d;return io({extend:io(Qv),...((d=u.ui)==null?void 0:d.avatar)||{}})({size:s.value??n.size,color:i.value??n.color})}),a=M(()=>{var d;return l.value.root({class:[(d=n.ui)==null?void 0:d.root,n.class]})}),c=M(()=>{const d=(a.value||"").split(" ").find(p=>/^size-\d+$/.test(p));if(d){const p=Number.parseFloat(d.split("-")[1]??"");if(!Number.isNaN(p))return p*4}return null}),f=V(!1);Ye(()=>n.src,()=>{f.value&&(f.value=!1)});function h(){f.value=!0}return(d,p)=>(O(),ce(Wo(_(n).chip?Lp:_(st)),Ge({as:r.value.root},_(n).chip?typeof _(n).chip=="object"?{inset:!0,..._(n).chip}:{inset:!0}:{},{"data-slot":"root",class:a.value,style:_(n).style}),{default:he(()=>{var m;return[_(n).src&&!f.value?(O(),ce(Wo(r.value.img||_(Yv)),Ge({key:0,src:_(n).src,alt:_(n).alt,width:c.value,height:c.value},d.$attrs,{"data-slot":"image",class:l.value.image({class:(m=_(n).ui)==null?void 0:m.image}),onError:h}),null,16,["src","alt","width","height","class"])):(O(),ce(_(Xo),po(Ge({key:1},d.$attrs)),{default:he(()=>[Se(d.$slots,"default",{},()=>{var g,x;return[_(n).icon?(O(),ce(Un,{key:0,name:_(n).icon,"data-slot":"icon",class:je(l.value.icon({class:(g=_(n).ui)==null?void 0:g.icon}))},null,8,["name","class"])):(O(),j("span",{key:1,"data-slot":"fallback",class:je(l.value.fallback({class:(x=_(n).ui)==null?void 0:x.fallback}))},oe(o.value||" "),3))]})]),_:3},16))]}),_:3},16,["as","class","style"]))}}),of={slots:{base:["relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed",value:"truncate pointer-events-none",placeholder:"truncate text-dimmed",arrow:"fill-bg stroke-default",content:"max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:["group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"],itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemWrapper:"flex-1 flex flex-col min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2 text-xs"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2.5 text-xs"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-2.5 text-sm"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-3 text-sm"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailingIcon:"size-6",empty:"p-3 text-base"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent focus:outline-none"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},position:{popper:{content:"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"},"item-aligned":{content:""}},multiple:{true:""}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:["soft","ghost"],class:"outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:["soft","ghost"],class:"outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:["soft","ghost"],class:"outline-success/25 focus-visible:outline-3"},{color:"info",variant:["soft","ghost"],class:"outline-info/25 focus-visible:outline-3"},{color:"warning",variant:["soft","ghost"],class:"outline-warning/25 focus-visible:outline-3"},{color:"error",variant:["soft","ghost"],class:"outline-error/25 focus-visible:outline-3"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:["soft","ghost"],class:"outline-inverted/25 focus-visible:outline-3"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline",position:"popper"}},Xv=Object.assign({inheritAttrs:!1},{__name:"Select",props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["change","blur","focus","update:modelValue","update:open"],setup(e,{expose:t,emit:n}){const r=e,o=n,u=Dm(),s=Yl("select",r),i=Fr(),l=P_(hb(s,"open","defaultOpen","disabled","autocomplete","required","multiple"),o),a=j_(sr(()=>s.portal)),c=M(()=>{var X,Ie,pe,ze,we;return((X=s.content)==null?void 0:X.position)??((ze=(pe=(Ie=i.ui)==null?void 0:Ie.select)==null?void 0:pe.defaultVariants)==null?void 0:ze.position)??((we=of.defaultVariants)==null?void 0:we.position)}),f=sr(()=>no(s.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:c.value})),h=sr(()=>no(s.arrow,{rounded:!0})),{emitFormChange:d,emitFormInput:p,emitFormBlur:m,emitFormFocus:g,size:x,color:b,id:k,name:y,highlight:S,disabled:w,ariaAttrs:C}=U_(r),{orientation:T,size:$}=L_(r),{isLeading:G,isTrailing:ie,leadingIconName:ue,trailingIconName:Ee}=$_(sr(()=>no(s,{trailingIcon:i.ui.icons.chevronDown}))),B=M(()=>$.value||x.value),z=M(()=>c.value==="item-aligned"),P=M(()=>{var X;return io({extend:io(of),...((X=i.ui)==null?void 0:X.select)||{}})({color:b.value??s.color,variant:s.variant,size:B.value??s.size,loading:s.loading,highlight:S.value??s.highlight,leading:G.value||!!s.avatar||!!u.leading,trailing:ie.value||!!u.trailing,fieldGroup:T.value,position:c.value,multiple:s.multiple})}),q=M(()=>{var X;return(X=s.items)!=null&&X.length?Db(s.items)?s.items:[s.items]:[]}),Z=M(()=>q.value.flatMap(X=>X));function me(X){if(s.multiple&&Array.isArray(X)){const Ie=X.map(pe=>pc(Z.value,pe,{labelKey:s.labelKey,valueKey:s.valueKey})).filter(pe=>pe!=null&&pe!=="");return Ie.length>0?Ie.join(", "):void 0}return pc(Z.value,X,{labelKey:s.labelKey,valueKey:s.valueKey})}const Y=Pa("triggerRef");function ye(){var X,Ie;s.autofocus&&((Ie=(X=Y.value)==null?void 0:X.$el)==null||Ie.focus({focusVisible:!0}))}At(()=>{setTimeout(()=>{ye()},s.autofocusDelay)});function te(X){var pe,ze,we,E,A;(pe=s.modelModifiers)!=null&&pe.trim&&(typeof X=="string"||X===null||X===void 0)&&(X=(X==null?void 0:X.trim())??null),(ze=s.modelModifiers)!=null&&ze.number&&(X=Cb(X)),(we=s.modelModifiers)!=null&&we.nullable&&(X??(X=null)),(E=s.modelModifiers)!=null&&E.optional&&!((A=s.modelModifiers)!=null&&A.nullable)&&X!==null&&(X??(X=void 0));const Ie=new Event("change",{target:{value:X}});o("change",Ie),d(),p()}function ge(X){if(X){const Ie=new FocusEvent("focus");o("focus",Ie),g()}else{const Ie=new FocusEvent("blur");o("blur",Ie),m()}}function _e(X){return typeof X=="object"&&X!==null}function Oe(X){var Ie,pe;X||(pe=(Ie=Y.value)==null?void 0:Ie.$el)==null||pe.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,button:0}))}const De=Pa("viewportRef");return t({triggerRef:sr(()=>{var X;return(X=Y.value)==null?void 0:X.$el}),viewportRef:sr(()=>{const X=De.value;return X&&typeof X=="object"&&"$el"in X?X.$el:X})}),(X,Ie)=>(O(),ce(_(Uy),Ge({name:_(y)},_(l),{autocomplete:_(s).autocomplete,disabled:_(w),"default-value":_(s).defaultValue,"model-value":e.modelValue,"onUpdate:modelValue":te,"onUpdate:open":ge}),{default:he(({modelValue:pe,open:ze})=>{var we;return[be(_(w_),Ge({id:_(k),ref_key:"triggerRef",ref:Y,"data-slot":"base",class:P.value.base({class:[(we=_(s).ui)==null?void 0:we.base,_(s).class]})},{...X.$attrs,..._(C)},{onClick:E=>Oe(ze)}),{default:he(()=>{var E,A;return[_(G)||_(s).avatar||u.leading?(O(),j("span",{key:0,"data-slot":"leading",class:je(P.value.leading({class:(E=_(s).ui)==null?void 0:E.leading}))},[Se(X.$slots,"leading",{modelValue:pe,open:ze,ui:P.value},()=>{var I,L,N;return[_(G)&&_(ue)?(O(),ce(Un,{key:0,name:_(ue),"data-slot":"leadingIcon",class:je(P.value.leadingIcon({class:(I=_(s).ui)==null?void 0:I.leadingIcon}))},null,8,["name","class"])):_(s).avatar?(O(),ce(rf,Ge({key:1,size:((L=_(s).ui)==null?void 0:L.itemLeadingAvatarSize)||P.value.itemLeadingAvatarSize()},_(s).avatar,{"data-slot":"itemLeadingAvatar",class:P.value.itemLeadingAvatar({class:(N=_(s).ui)==null?void 0:N.itemLeadingAvatar})}),null,16,["size","class"])):ke("",!0)]})],2)):ke("",!0),(O(!0),j(Fe,null,wt([me(pe)],I=>{var L,N;return O(),ce(_(S_),{key:I,"data-slot":I!=null?"value":"placeholder",class:je(I!=null?P.value.value({class:(L=_(s).ui)==null?void 0:L.value}):P.value.placeholder({class:(N=_(s).ui)==null?void 0:N.placeholder}))},{default:he(()=>[Se(X.$slots,"default",{modelValue:pe,open:ze,ui:P.value},()=>[en(oe(I??_(s).placeholder??" "),1)])]),_:2},1032,["data-slot","class"])}),128)),_(ie)||u.trailing?(O(),j("span",{key:1,"data-slot":"trailing",class:je(P.value.trailing({class:(A=_(s).ui)==null?void 0:A.trailing}))},[Se(X.$slots,"trailing",{modelValue:pe,open:ze,ui:P.value},()=>{var I;return[_(Ee)?(O(),ce(Un,{key:0,name:_(Ee),"data-slot":"trailingIcon",class:je(P.value.trailingIcon({class:(I=_(s).ui)==null?void 0:I.trailingIcon}))},null,8,["name","class"])):ke("",!0)]})],2)):ke("",!0)]}),_:2},1040,["id","class","onClick"]),be(_(v_),po(pu(_(a))),{default:he(()=>[be(_(N_),null,{default:he(()=>{var E;return[be(_(u_),Ge({"data-slot":"content",class:P.value.content({class:(E=_(s).ui)==null?void 0:E.content})},f.value),{default:he(()=>{var A,I;return[Se(X.$slots,"content-top"),(O(),ce(Wo(z.value?_(T_):"div"),{ref_key:"viewportRef",ref:De,role:"presentation","data-slot":"viewport",class:je(P.value.viewport({class:(A=_(s).ui)==null?void 0:A.viewport}))},{default:he(()=>[(O(!0),j(Fe,null,wt(q.value,(L,N)=>{var U;return O(),ce(_(a_),{key:`group-${N}`,"data-slot":"group",class:je(P.value.group({class:(U=_(s).ui)==null?void 0:U.group}))},{default:he(()=>[(O(!0),j(Fe,null,wt(L,(R,K)=>{var W,H,fe,J,se,ae;return O(),j(Fe,{key:`group-${N}-${K}`},[_e(R)&&R.type==="label"?(O(),ce(_(y_),{key:0,"data-slot":"label",class:je(P.value.label({class:[(W=_(s).ui)==null?void 0:W.label,(H=R.ui)==null?void 0:H.label,R.class]}))},{default:he(()=>[en(oe(_(Wt)(R,_(s).labelKey)),1)]),_:2},1032,["class"])):_e(R)&&R.type==="separator"?(O(),ce(_(k_),{key:1,"data-slot":"separator",class:je(P.value.separator({class:[(fe=_(s).ui)==null?void 0:fe.separator,(J=R.ui)==null?void 0:J.separator,R.class]}))},null,8,["class"])):(O(),ce(_(d_),{key:2,"data-slot":"item",class:je(P.value.item({class:[(se=_(s).ui)==null?void 0:se.item,_e(R)&&((ae=R.ui)==null?void 0:ae.item),_e(R)&&R.class]})),disabled:_e(R)&&R.disabled,value:_e(R)?_(Wt)(R,_(s).valueKey):R,onSelect:Ae=>{var Re;return _e(R)&&((Re=R.onSelect)==null?void 0:Re.call(R,Ae))}},{default:he(()=>[Se(X.$slots,"item",{item:R,index:K,ui:P.value},()=>{var Ae,Re,Pe,Ue,He,it,lt,Zt;return[Se(X.$slots,"item-leading",{item:R,index:K,ui:P.value},()=>{var Qt,Xe,gt,In,jt,Lt,Nr,yo,_o,$r;return[_e(R)&&R.icon?(O(),ce(Un,{key:0,name:R.icon,"data-slot":"itemLeadingIcon",class:je(P.value.itemLeadingIcon({class:[(Qt=_(s).ui)==null?void 0:Qt.itemLeadingIcon,(Xe=R.ui)==null?void 0:Xe.itemLeadingIcon]}))},null,8,["name","class"])):_e(R)&&R.avatar?(O(),ce(rf,Ge({key:1,size:((gt=R.ui)==null?void 0:gt.itemLeadingAvatarSize)||((In=_(s).ui)==null?void 0:In.itemLeadingAvatarSize)||P.value.itemLeadingAvatarSize()},{ref_for:!0},R.avatar,{"data-slot":"itemLeadingAvatar",class:P.value.itemLeadingAvatar({class:[(jt=_(s).ui)==null?void 0:jt.itemLeadingAvatar,(Lt=R.ui)==null?void 0:Lt.itemLeadingAvatar]})}),null,16,["size","class"])):_e(R)&&R.chip?(O(),ce(Lp,Ge({key:2,size:((Nr=R.ui)==null?void 0:Nr.itemLeadingChipSize)||((yo=_(s).ui)==null?void 0:yo.itemLeadingChipSize)||P.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},R.chip,{"data-slot":"itemLeadingChip",class:P.value.itemLeadingChip({class:[(_o=_(s).ui)==null?void 0:_o.itemLeadingChip,($r=R.ui)==null?void 0:$r.itemLeadingChip]})}),null,16,["size","class"])):ke("",!0)]}),F("span",{"data-slot":"itemWrapper",class:je(P.value.itemWrapper({class:[(Ae=_(s).ui)==null?void 0:Ae.itemWrapper,_e(R)&&((Re=R.ui)==null?void 0:Re.itemWrapper)]}))},[be(_(g_),{"data-slot":"itemLabel",class:je(P.value.itemLabel({class:[(Pe=_(s).ui)==null?void 0:Pe.itemLabel,_e(R)&&((Ue=R.ui)==null?void 0:Ue.itemLabel)]}))},{default:he(()=>[Se(X.$slots,"item-label",{item:R,index:K},()=>[en(oe(_e(R)?_(Wt)(R,_(s).labelKey):R),1)])]),_:2},1032,["class"]),_e(R)&&(_(Wt)(R,_(s).descriptionKey)||u["item-description"])?(O(),j("span",{key:0,"data-slot":"itemDescription",class:je(P.value.itemDescription({class:[(He=_(s).ui)==null?void 0:He.itemDescription,_e(R)&&((it=R.ui)==null?void 0:it.itemDescription)]}))},[Se(X.$slots,"item-description",{item:R,index:K},()=>[en(oe(_(Wt)(R,_(s).descriptionKey)),1)])],2)):ke("",!0)],2),F("span",{"data-slot":"itemTrailing",class:je(P.value.itemTrailing({class:[(lt=_(s).ui)==null?void 0:lt.itemTrailing,_e(R)&&((Zt=R.ui)==null?void 0:Zt.itemTrailing)]}))},[Se(X.$slots,"item-trailing",{item:R,index:K,ui:P.value}),be(_(h_),{"as-child":""},{default:he(()=>{var Qt,Xe;return[be(Un,{name:_(s).selectedIcon||_(i).ui.icons.check,"data-slot":"itemTrailingIcon",class:je(P.value.itemTrailingIcon({class:[(Qt=_(s).ui)==null?void 0:Qt.itemTrailingIcon,_e(R)&&((Xe=R.ui)==null?void 0:Xe.itemTrailingIcon)]}))},null,8,["name","class"])]}),_:2},1024)],2)]})]),_:2},1032,["class","disabled","value","onSelect"]))],64)}),128))]),_:2},1032,["class"])}),128))]),_:3},8,["class"])),Se(X.$slots,"content-bottom"),_(s).arrow?(O(),ce(_(e_),Ge({key:0},h.value,{"data-slot":"arrow",class:P.value.arrow({class:(I=_(s).ui)==null?void 0:I.arrow})}),null,16,["class"])):ke("",!0)]}),_:3},16,["class"])]}),_:3})]),_:3},16)]}),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}}),Jv=25*1024*1024,vi=10,e6=["image/jpeg","image/png","image/gif","image/webp"],uf="i-ph-paperclip",Np="i-ph-x",$p="i-ph-file",sf="Attach files",Ve={USER:"user",ASSISTANT:"assistant",TOOL:"tool",ERROR:"error"},t6="tool_use",n6="tool_result",r6="error",et={PENDING:"pending",SUCCESS:"success",ERROR:"error"},o6="TodoWrite",Bn={PENDING:"pending",IN_PROGRESS:"in_progress",COMPLETED:"completed"},u6="Plan",zp="dms-ai-conversation-id",s6="Enter",i6="shiftKey",zu={USER:"You",ASSISTANT:"Assistant",TOOL:"Tool",ERROR:"The run did not finish"},xi={PENDING:"running",SUCCESS:"success",ERROR:"error"},lf="Your message was not sent: the assistant is not connected. Reconnect, then retry.",l6="Attach the files again to retry: they are no longer available after a reload.",a6="The assistant could not be reached to stop the run. Reconnect to see where it stands.",c6="The run ended before this tool finished.",f6="Retry",d6="Used",p6=600,h6=16,af=6,cf=8,m6=15,g6=64,b6=63,y6=128,_6=16,v6=2,ff=[8,12,16,20,32];function x6(e){const t=Array.from(e,n=>n.toString(_6).padStart(v6,"0")).join("");return ff.map((n,r)=>t.slice(ff[r-1]??0,n)).join("-")}function $s(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const e=crypto.getRandomValues(new Uint8Array(h6));return e[af]=e[af]&m6|g6,e[cf]=e[cf]&b6|y6,x6(e)}function Bp(e){return e6.includes(e)}function qp(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(0)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function k6(e){return e.size>Jv}function Up(e){const t=e.indexOf(",");return t>=0?e.slice(t+1):e}function E6(e){return new Promise((t,n)=>{const r=new FileReader;r.onerror=()=>n(r.error??new Error("read failed")),r.onload=()=>{const o=String(r.result);t({id:$s(),name:e.name,mimeType:e.type||"application/octet-stream",size:e.size,data:Up(o),dataUrl:o})},r.readAsDataURL(e)})}const w6={key:0,class:"composer-dropzone"},A6={key:1,class:"composer-chips"},S6=["src","alt"],C6={class:"chip-meta"},T6={class:"chip-name"},D6={class:"chip-size"},O6=["aria-label","onClick"],I6={key:2,class:"composer-error",role:"alert"},R6={class:"composer-field"},M6=["placeholder","disabled"],F6=["aria-label","title","disabled"],P6={class:"composer-sendrow"},L6={class:"composer-mode"},N6={class:"composer-toggle",role:"group","aria-label":"Generation mode"},$6={class:"mode-opt"},z6=["aria-disabled"],B6={id:"composer-tip-safe",class:"composer-tip",role:"tooltip"},q6={key:0,class:"tip-note"},U6={class:"mode-opt"},H6={class:"composer-actions"},j6=["disabled"],V6=["disabled","title"],G6=160,W6=xe({__name:"ComposerInput",props:{isDisabled:{type:Boolean},isRunning:{type:Boolean},generationMode:{},builderAvailable:{type:Boolean}},emits:["submit","stop","update:generationMode"],setup(e,{emit:t}){const n=e,r=t,o=M(()=>n.generationMode==="safe"&&n.builderAvailable?"safe":"vibe");function u(B){B==="safe"&&!n.builderAvailable||B!==n.generationMode&&r("update:generationMode",B)}const s=V(""),i=V(null),l=V(null),a=V([]),c=V(""),f=V(0),h=V(!1),d=M(()=>n.isDisabled);function p(){const B=i.value;B!==null&&(B.style.height="auto",B.style.height=`${Math.min(B.scrollHeight,G6)}px`)}const m=M(()=>d.value?!0:s.value.trim().length===0&&a.value.length===0);async function g(B){c.value="";const z=Array.from(B);if(z.length===0)return;const P=vi-a.value.length;if(P<=0){c.value=`Up to ${vi} files per message.`;return}const q=z.slice(0,P);q.length<z.length&&(c.value=`Up to ${vi} files per message.`);for(const Z of q){if(k6(Z)){c.value=`"${Z.name}" is too large (max 25 MB).`;continue}try{a.value=[...a.value,await E6(Z)]}catch{c.value=`Could not read "${Z.name}".`}}}function x(B){a.value=a.value.filter(z=>z.id!==B)}function b(){var B;d.value||(B=l.value)==null||B.click()}function k(B){const z=B.target;z.files!==null&&g(z.files),z.value=""}function y(B){var P;const z=(P=B.clipboardData)==null?void 0:P.files;z===void 0||z.length===0||(B.preventDefault(),g(z))}function S(B){var z;return((z=B.dataTransfer)==null?void 0:z.types.includes("Files"))??!1}function w(B){d.value||!S(B)||(f.value+=1,h.value=!0)}function C(B){d.value||!S(B)||B.preventDefault()}function T(){f.value!==0&&(f.value-=1,f.value===0&&(h.value=!1))}function $(B){var P;if(f.value=0,h.value=!1,d.value)return;const z=(P=B.dataTransfer)==null?void 0:P.files;z===void 0||z.length===0||(B.preventDefault(),g(z))}function G(){if(m.value)return;const B=s.value;r("submit",B,a.value),s.value="",a.value=[],c.value="",pt(p)}function ie(){r("stop")}function ue(B){return!(B.key!==s6||B[i6])}function Ee(B){ue(B)&&(B.preventDefault(),G())}return(B,z)=>{const P=Un;return O(),j("form",{class:je(["composer",{"composer-dragging":h.value}]),onSubmit:Ir(G,["prevent"]),onDragenter:w,onDragover:C,onDragleave:T,onDrop:$},[h.value?(O(),j("div",w6,[be(P,{name:_(uf),class:"size-[18px]"},null,8,["name"]),z[3]||(z[3]=en(" Drop files to attach ",-1))])):ke("",!0),a.value.length>0?(O(),j("ul",A6,[(O(!0),j(Fe,null,wt(a.value,q=>(O(),j("li",{key:q.id,class:"chip"},[_(Bp)(q.mimeType)&&q.dataUrl?(O(),j("img",{key:0,src:q.dataUrl,alt:q.name,class:"chip-thumb"},null,8,S6)):(O(),ce(P,{key:1,name:_($p),class:"chip-ic size-[16px]"},null,8,["name"])),F("span",C6,[F("span",T6,oe(q.name),1),F("span",D6,oe(_(qp)(q.size)),1)]),F("button",{type:"button",class:"chip-remove","aria-label":`Remove ${q.name}`,title:"Remove",onClick:Z=>x(q.id)},[be(P,{name:_(Np),class:"size-[13px]"},null,8,["name"])],8,O6)]))),128))])):ke("",!0),c.value?(O(),j("p",I6,oe(c.value),1)):ke("",!0),F("div",R6,[lm(F("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":z[0]||(z[0]=q=>s.value=q),class:"composer-input",placeholder:e.isRunning?"Queue a follow-up message…":"Ask AntelopeJS to modify this page",rows:"1","aria-label":"message input",disabled:d.value,onKeydown:Ee,onInput:p,onPaste:y},null,40,M6),[[$g,s.value]]),F("button",{type:"button",class:"composer-attach","aria-label":_(sf),title:_(sf),disabled:d.value,onClick:b},[be(P,{name:_(uf),class:"size-[17px]"},null,8,["name"])],8,F6)]),F("input",{ref_key:"fileInputRef",ref:l,type:"file",multiple:"",class:"composer-fileinput","aria-hidden":"true",tabindex:"-1",onChange:k},null,544),F("div",P6,[F("div",L6,[F("div",N6,[F("div",$6,[F("button",{type:"button",class:je(["seg",{"seg-active":o.value==="safe","seg-disabled":!e.builderAvailable}]),"aria-describedby":"composer-tip-safe","aria-disabled":!e.builderAvailable,onClick:z[1]||(z[1]=q=>u("safe"))},[...z[4]||(z[4]=[F("svg",{class:"seg-ic",viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"})],-1),en(" Safe code ",-1)])],10,z6),F("div",B6,[z[5]||(z[5]=F("b",null,"Safe code",-1)),z[6]||(z[6]=F("p",null,"Acts only through the Builder (MCP) — emits configurations it accepts, never raw code. Predictable diffs, safer deploys.",-1)),e.builderAvailable?ke("",!0):(O(),j("p",q6,"Safe code unlocks once the Builder module is loaded."))])]),F("div",U6,[F("button",{type:"button",class:je(["seg",{"seg-active":o.value==="vibe"}]),"aria-describedby":"composer-tip-vibe",onClick:z[2]||(z[2]=q=>u("vibe"))},[...z[7]||(z[7]=[sg('<svg class="seg-ic" viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-b891ab84><path d="m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72Z" data-v-b891ab84></path><path d="m14 7 3 3" data-v-b891ab84></path><path d="M5 6v4" data-v-b891ab84></path><path d="M19 14v4" data-v-b891ab84></path><path d="M10 2v2" data-v-b891ab84></path><path d="M7 8H3" data-v-b891ab84></path><path d="M21 16h-4" data-v-b891ab84></path><path d="M11 3H9" data-v-b891ab84></path></svg> Vibe code ',2)])],2),z[8]||(z[8]=F("div",{id:"composer-tip-vibe",class:"composer-tip",role:"tooltip"},[F("b",null,"Vibe code"),F("p",null,"Free to write custom code and bespoke pages beyond the Builder's blocks — full creative range.")],-1))])])]),F("div",H6,[e.isRunning?(O(),j("button",{key:0,type:"button",class:"composer-stop",title:"Stop","aria-label":"Stop",disabled:e.isDisabled,onClick:ie},[...z[9]||(z[9]=[F("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",stroke:"none"},[F("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})],-1)])],8,j6)):ke("",!0),F("button",{type:"submit",class:"composer-send",disabled:m.value,title:e.isRunning?"Queue to send after the current turn":"Send","aria-label":"Send"},[...z[10]||(z[10]=[F("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),F("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})],-1)])],8,V6)])])],34)}}}),an=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},K6=an(W6,[["__scopeId","data-v-b891ab84"]]),ki={connecting:"Connecting…",reconnecting:"Reconnecting…",disconnected:"Disconnected"},Y6="Reconnect now",tn={HELLO:"hello",USER_MESSAGE:"user_message",PERMISSION_RESPONSE:"permission_response",QUESTION_RESPONSE:"question_response",LIST_CONVERSATIONS:"list_conversations",DELETE_CONVERSATION:"delete_conversation",SET_SETTINGS:"set_settings",REQUEST_HOST_NAVIGATE:"request_host_navigate",INTERRUPT_TURN:"interrupt_turn",QUEUE_ENQUEUE:"queue_enqueue",QUEUE_CANCEL:"queue_cancel"},Z6="/modules/ai/settings",Ot={ASSISTANT_MESSAGE_CHUNK:"assistant_message_chunk",TOOL_CALL_START:"tool_call_start",TOOL_CALL_END:"tool_call_end",RUN_DONE:"run_done",RUN_ERROR:"run_error",RUN_RESUMED:"run_resumed",CONVERSATION_SNAPSHOT:"conversation_snapshot",CONVERSATION_LIST:"conversation_list",SETTINGS_UPDATE:"settings_update",PERMISSION_REQUEST:"permission_request",ASK_QUESTION:"ask_question",QUEUE_STATE:"queue_state",USER_MESSAGE_ECHO:"user_message_echo",RUN_PROGRESS:"run_progress"},Q6={IFRAME:"iframe"},X6="#app",ar={CONNECTING:"connecting",CONNECTED:"connected",DISCONNECTED:"disconnected",RECONNECTING:"reconnecting"},J6=["data-status"],ex={class:"connection-banner-label"},tx=xe({__name:"ConnectionBanner",props:{status:{}},emits:["reconnect"],setup(e,{emit:t}){const n=e,r=t,o={[ar.CONNECTING]:ki.connecting,[ar.RECONNECTING]:ki.reconnecting,[ar.DISCONNECTED]:ki.disconnected},u=M(()=>n.status!==ar.CONNECTED),s=M(()=>n.status===ar.CONNECTED?"":o[n.status]);function i(){r("reconnect")}return(l,a)=>u.value?(O(),j("div",{key:0,class:"connection-banner","data-status":n.status,role:"status","aria-live":"polite"},[F("span",ex,oe(s.value),1),F("button",{type:"button",class:"connection-banner-button",onClick:i},oe(_(Y6)),1)],8,J6)):ke("",!0)}}),nx=an(tx,[["__scopeId","data-v-c64a889d"]]),rx="Conversations",ox="+ New",ux="No conversations yet",df="Delete",sx="🗑",pf="Conversations",ix="i-ph-list-light",lx="Close",ax="just now",Ei=60,cx=60,fx=24,dx=7,px={key:0,class:"drawer-root"},hx={class:"drawer-panel","aria-label":"Conversations"},mx={class:"drawer-header"},gx={class:"drawer-title"},bx=["aria-label"],yx={key:0,class:"drawer-list"},_x=["data-active"],vx=["onClick"],xx={class:"drawer-item-title"},kx={class:"drawer-item-time"},Ex=["aria-label","title","onClick"],wx={key:1,class:"drawer-empty"},Ax=1e3,Sx=xe({__name:"ConversationDrawer",props:{open:{type:Boolean},conversations:{},activeId:{},nowMs:{}},emits:["select","delete","new","close"],setup(e,{emit:t}){const n=e,r=t,o=Ei*cx,u=o*fx;function s(f){const h=Math.max(0,Math.floor((n.nowMs-f)/Ax));return h<Ei?ax:h<o?`${Math.floor(h/Ei)}m ago`:h<u?`${Math.floor(h/o)}h ago`:h<u*dx?`${Math.floor(h/u)}d ago`:new Date(f).toLocaleDateString()}function i(f){r("select",f)}function l(f){r("delete",f)}function a(){r("new")}function c(){r("close")}return(f,h)=>n.open?(O(),j("div",px,[F("div",{class:"drawer-backdrop",onClick:c}),F("aside",hx,[F("header",mx,[F("span",gx,oe(_(rx)),1),F("button",{type:"button",class:"drawer-new",onClick:a},oe(_(ox)),1),F("button",{type:"button",class:"drawer-close","aria-label":_(lx),onClick:c}," × ",8,bx)]),n.conversations.length>0?(O(),j("ul",yx,[(O(!0),j(Fe,null,wt(n.conversations,d=>(O(),j("li",{key:d.id,class:"drawer-item","data-active":d.id===n.activeId},[F("button",{type:"button",class:"drawer-item-main",onClick:p=>i(d.id)},[F("span",xx,oe(d.title),1),F("span",kx,oe(s(d.updatedAtMs)),1)],8,vx),F("button",{type:"button",class:"drawer-item-delete","aria-label":_(df),title:_(df),onClick:p=>l(d.id)},oe(_(sx)),9,Ex)],8,_x))),128))])):(O(),j("p",wx,oe(_(ux)),1))])])):ke("",!0)}}),Cx=an(Sx,[["__scopeId","data-v-699d36e3"]]),Gt={THINKING:"thinking",RESPONDING:"responding",WRITING:"writing",TOOL:"tool",COMPACTING:"compacting",RETRYING:"retrying"},Tx={[Gt.THINKING]:"Thinking",[Gt.RESPONDING]:"Writing the answer",[Gt.WRITING]:"Preparing",[Gt.TOOL]:"Running",[Gt.COMPACTING]:"Compacting the conversation",[Gt.RETRYING]:"The model is busy, retrying"},Dx=[Gt.WRITING,Gt.TOOL],Ox=[Gt.TOOL],Ix="Thinking",hf="…",Rx=2e4,Mx=6e4,Fx=1e3,Px="No news from the assistant for",Lx="no activity for",Nx="Reconnect",$x="Stop",mf=80,gf="...",zx={Bash:"Run shell command",Edit:"Edit file",Write:"Write file",Read:"Read file",Glob:"Glob pattern",Grep:"Grep pattern"},Bx={Bash:"command",Edit:"file_path",Write:"file_path",Read:"file_path",Glob:"pattern",Grep:"pattern"};function qx(e){if(e.length<=mf)return e;const t=mf-gf.length;return`${e.slice(0,t)}${gf}`}function Ux(e,t){if(e===null||typeof e!="object")return"";const n=e[t];return typeof n=="string"?n:""}function Hx(e,t){const n=Bx[e];return n===void 0?"":qx(Ux(t,n))}function Hp(e,t){const n=Hx(e,t);return n.length>0?n:e}function jp(e){return zx[e]??e}const jx=1e3,bf=60,Vx=2,Gx=" · ",Wx=Object.values(Gt);function Kx(e){return Wx.includes(e)?e:Gt.THINKING}function wi(e){const t=Math.max(0,Math.floor(e/jx)),n=Math.floor(t/bf),r=String(t%bf).padStart(Vx,"0");return`${n}:${r}`}function Yx(e){if(e.detail===void 0||e.detail==="")return"";const n=Dx.includes(e.activity)?jp(e.detail):e.detail;return`${Gx}${n}`}function Zx(e){return e===null?`${Ix}${hf}`:`${Tx[e.activity]}${Yx(e)}${hf}`}function Vp(e,t){return Math.max(0,t-e.receivedAtMs)}function Qx(e,t){return e===null?0:e.elapsedMs+Vp(e,t)}function Gp(e,t){return e===null?0:e.idleMs+Vp(e,t)}function Xx(e,t){return e===null||Ox.includes(e.activity)?!1:Gp(e,t)>=Mx}function Jx(e,t){return t-e>=Rx}const e4=[Bn.PENDING,Bn.IN_PROGRESS,Bn.COMPLETED];function t4(e){return e4.includes(e)?e:Bn.PENDING}function n4(e){if(e===null||typeof e!="object")return null;const t=e,n=typeof t.content=="string"?t.content:"";if(n.length===0)return null;const r=typeof t.activeForm=="string"&&t.activeForm.length>0?t.activeForm:n;return{content:n,status:t4(t.status),activeForm:r}}function r4(e){if(e===null||typeof e!="object")return[];const t=e.todos;return Array.isArray(t)?t.map(n4).filter(n=>n!==null):[]}function Wp(e){return e.role===Ve.TOOL&&e.toolName===o6}function o4(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(Wp(n))return r4(n.args)}return[]}/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u4(e){if(Array.isArray(e))return e}function s4(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,u,s,i=[],l=!0,a=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(l=(r=u.call(n)).done)&&(i.push(r.value),i.length!==t);l=!0);}catch(c){a=!0,o=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(a)throw o}}return i}}function i4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
34
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l4(e,t){return u4(e)||s4(e,t)||a4(e,t)||i4()}function a4(e,t){if(e){if(typeof e=="string")return yf(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yf(e,t):void 0}}const Kp=Object.entries,_f=Object.setPrototypeOf,c4=Object.isFrozen,f4=Object.getPrototypeOf,d4=Object.getOwnPropertyDescriptor;let _t=Object.freeze,vt=Object.seal,Qr=Object.create,Yp=typeof Reflect<"u"&&Reflect,gl=Yp.apply,bl=Yp.construct;_t||(_t=function(t){return t});vt||(vt=function(t){return t});gl||(gl=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),u=2;u<r;u++)o[u-2]=arguments[u];return t.apply(n,o)});bl||(bl=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return new t(...r)});const Do=rt(Array.prototype.forEach),p4=rt(Array.prototype.lastIndexOf),vf=rt(Array.prototype.pop),Gr=rt(Array.prototype.push),h4=rt(Array.prototype.splice),cr=Array.isArray,Po=rt(String.prototype.toLowerCase),Ai=rt(String.prototype.toString),xf=rt(String.prototype.match),Oo=rt(String.prototype.replace),kf=rt(String.prototype.indexOf),m4=rt(String.prototype.trim),g4=rt(Number.prototype.toString),b4=rt(Boolean.prototype.toString),Ef=typeof BigInt>"u"?null:rt(BigInt.prototype.toString),wf=typeof Symbol>"u"?null:rt(Symbol.prototype.toString),ft=rt(Object.prototype.hasOwnProperty),Io=rt(Object.prototype.toString),bt=rt(RegExp.prototype.test),wr=y4(TypeError);function rt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return gl(e,t,r)}}function y4(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return bl(e,n)}}function Me(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Po;if(_f&&_f(e,null),!cr(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const u=n(o);u!==o&&(c4(t)||(t[r]=u),o=u)}e[o]=!0}return e}function _4(e){for(let t=0;t<e.length;t++)ft(e,t)||(e[t]=null);return e}function Tt(e){const t=Qr(null);for(const r of Kp(e)){var n=l4(r,2);const o=n[0],u=n[1];ft(e,o)&&(cr(u)?t[o]=_4(u):u&&typeof u=="object"&&u.constructor===Object?t[o]=Tt(u):t[o]=u)}return t}function v4(e){switch(typeof e){case"string":return e;case"number":return g4(e);case"boolean":return b4(e);case"bigint":return Ef?Ef(e):"0";case"symbol":return wf?wf(e):"Symbol()";case"undefined":return Io(e);case"function":case"object":{if(e===null)return Io(e);const t=e,n=mn(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Io(r)}return Io(e)}default:return Io(e)}}function mn(e,t){for(;e!==null;){const r=d4(e,t);if(r){if(r.get)return rt(r.get);if(typeof r.value=="function")return rt(r.value)}e=f4(e)}function n(){return null}return n}function x4(e){try{return bt(e,""),!0}catch{return!1}}const Af=_t(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Si=_t(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ci=_t(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),k4=_t(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ti=_t(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),E4=_t(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Sf=_t(["#text"]),Cf=_t(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Di=_t(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Tf=_t(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Bu=_t(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w4=vt(/{{[\w\W]*|^[\w\W]*}}/g),A4=vt(/<%[\w\W]*|^[\w\W]*%>/g),S4=vt(/\${[\w\W]*/g),C4=vt(/^data-[\-\w.\u00B7-\uFFFF]+$/),T4=vt(/^aria-[\-\w]+$/),Df=vt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),D4=vt(/^(?:\w+script|data):/i),O4=vt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),I4=vt(/^html$/i),R4=vt(/^[a-z][.\w]*(-[.\w]+)+$/i),Of=vt(/<[/\w!]/g),M4=vt(/<[/\w]/g),F4=vt(/<\/no(script|embed|frames)/i),P4=vt(/\/>/i),hn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},L4=function(){return typeof window>"u"?null:window},N4=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const u="dompurify"+(r?"#"+r:"");try{return t.createPolicy(u,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},If=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},rr=function(t,n,r,o){return ft(t,n)&&cr(t[n])?Me(o.base?Tt(o.base):{},t[n],o.transform):r};function Zp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L4();const t=ee=>Zp(ee);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==hn.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,s=e.Node,i=e.Element,l=e.NodeFilter,a=e.NamedNodeMap;a===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,f=e.trustedTypes,h=i.prototype,d=mn(h,"cloneNode"),p=mn(h,"remove"),m=mn(h,"nextSibling"),g=mn(h,"childNodes"),x=mn(h,"parentNode"),b=mn(h,"shadowRoot"),k=mn(h,"attributes"),y=s&&s.prototype?mn(s.prototype,"nodeType"):null,S=s&&s.prototype?mn(s.prototype,"nodeName"):null;if(typeof u=="function"){const ee=n.createElement("template");ee.content&&ee.content.ownerDocument&&(n=ee.content.ownerDocument)}let w,C="",T,$=!1,G=0;const ie=function(){if(G>0)throw wr('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ue=function(v){ie(),G++;try{return w.createHTML(v)}finally{G--}},Ee=function(v){ie(),G++;try{return w.createScriptURL(v)}finally{G--}},B=function(){return $||(T=N4(f,o),$=!0),T},z=n,P=z.implementation,q=z.createNodeIterator,Z=z.createDocumentFragment,me=z.getElementsByTagName,Y=r.importNode;let ye=If();t.isSupported=typeof Kp=="function"&&typeof x=="function"&&P&&P.createHTMLDocument!==void 0;const te=w4,ge=A4,_e=S4,Oe=C4,De=T4,X=D4,Ie=O4,pe=R4;let ze=Df,we=null;const E=Me({},[...Af,...Si,...Ci,...Ti,...Sf]);let A=null;const I=Me({},[...Cf,...Di,...Tf,...Bu]);let L=Object.seal(Qr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),N=null,U=null;const R=Object.seal(Qr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,W=!0,H=!1,fe=!0,J=!1,se=!0,ae=!1,Ae=!1,Re=null,Pe=null,Ue=!1,He=!1,it=!1,lt=!1,Zt=!0,Qt=!1;const Xe="user-content-";let gt=!0,In=!1,jt={},Lt=null;const Nr=Me({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let yo=null;const _o=Me({},["audio","video","img","source","image","track"]);let $r=null;const aa=Me({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xu="http://www.w3.org/1998/Math/MathML",ku="http://www.w3.org/2000/svg",fn="http://www.w3.org/1999/xhtml";let zr=fn,js=!1,Vs=null;const Rh=Me({},[xu,ku,fn],Ai),ca=_t(["mi","mo","mn","ms","mtext"]);let Gs=Me({},ca);const fa=_t(["annotation-xml"]);let Ws=Me({},fa);const Mh=Me({},["title","style","font","a","script"]);let vo=null;const Fh=["application/xhtml+xml","text/html"],Ph="text/html";let Je=null,Br=null;const Lh=n.createElement("form"),da=function(v){return v instanceof RegExp||v instanceof Function},Ks=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Br&&Br===v)return;(!v||typeof v!="object")&&(v={}),v=Tt(v),vo=Fh.indexOf(v.PARSER_MEDIA_TYPE)===-1?Ph:v.PARSER_MEDIA_TYPE,Je=vo==="application/xhtml+xml"?Ai:Po,we=rr(v,"ALLOWED_TAGS",E,{transform:Je}),A=rr(v,"ALLOWED_ATTR",I,{transform:Je}),Vs=rr(v,"ALLOWED_NAMESPACES",Rh,{transform:Ai}),$r=rr(v,"ADD_URI_SAFE_ATTR",aa,{transform:Je,base:aa}),yo=rr(v,"ADD_DATA_URI_TAGS",_o,{transform:Je,base:_o}),Lt=rr(v,"FORBID_CONTENTS",Nr,{transform:Je}),N=rr(v,"FORBID_TAGS",Tt({}),{transform:Je}),U=rr(v,"FORBID_ATTR",Tt({}),{transform:Je}),jt=ft(v,"USE_PROFILES")?v.USE_PROFILES&&typeof v.USE_PROFILES=="object"?Tt(v.USE_PROFILES):v.USE_PROFILES:!1,K=v.ALLOW_ARIA_ATTR!==!1,W=v.ALLOW_DATA_ATTR!==!1,H=v.ALLOW_UNKNOWN_PROTOCOLS||!1,fe=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,J=v.SAFE_FOR_TEMPLATES||!1,se=v.SAFE_FOR_XML!==!1,ae=v.WHOLE_DOCUMENT||!1,He=v.RETURN_DOM||!1,it=v.RETURN_DOM_FRAGMENT||!1,lt=v.RETURN_TRUSTED_TYPE||!1,Ue=v.FORCE_BODY||!1,Zt=v.SANITIZE_DOM!==!1,Qt=v.SANITIZE_NAMED_PROPS||!1,gt=v.KEEP_CONTENT!==!1,In=v.IN_PLACE||!1,ze=x4(v.ALLOWED_URI_REGEXP)?v.ALLOWED_URI_REGEXP:Df,zr=typeof v.NAMESPACE=="string"?v.NAMESPACE:fn,Gs=ft(v,"MATHML_TEXT_INTEGRATION_POINTS")&&v.MATHML_TEXT_INTEGRATION_POINTS&&typeof v.MATHML_TEXT_INTEGRATION_POINTS=="object"?Tt(v.MATHML_TEXT_INTEGRATION_POINTS):Me({},ca),Ws=ft(v,"HTML_INTEGRATION_POINTS")&&v.HTML_INTEGRATION_POINTS&&typeof v.HTML_INTEGRATION_POINTS=="object"?Tt(v.HTML_INTEGRATION_POINTS):Me({},fa);const D=ft(v,"CUSTOM_ELEMENT_HANDLING")&&v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING=="object"?Tt(v.CUSTOM_ELEMENT_HANDLING):Qr(null);if(L=Qr(null),ft(D,"tagNameCheck")&&da(D.tagNameCheck)&&(L.tagNameCheck=D.tagNameCheck),ft(D,"attributeNameCheck")&&da(D.attributeNameCheck)&&(L.attributeNameCheck=D.attributeNameCheck),ft(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),vt(L),J&&(W=!1),it&&(He=!0),jt&&(we=Me({},Sf),A=Qr(null),jt.html===!0&&(Me(we,Af),Me(A,Cf)),jt.svg===!0&&(Me(we,Si),Me(A,Di),Me(A,Bu)),jt.svgFilters===!0&&(Me(we,Ci),Me(A,Di),Me(A,Bu)),jt.mathMl===!0&&(Me(we,Ti),Me(A,Tf),Me(A,Bu))),R.tagCheck=null,R.attributeCheck=null,ft(v,"ADD_TAGS")&&(typeof v.ADD_TAGS=="function"?R.tagCheck=v.ADD_TAGS:cr(v.ADD_TAGS)&&(we===E&&(we=Tt(we)),Me(we,v.ADD_TAGS,Je))),ft(v,"ADD_ATTR")&&(typeof v.ADD_ATTR=="function"?R.attributeCheck=v.ADD_ATTR:cr(v.ADD_ATTR)&&(A===I&&(A=Tt(A)),Me(A,v.ADD_ATTR,Je))),ft(v,"ADD_URI_SAFE_ATTR")&&cr(v.ADD_URI_SAFE_ATTR)&&Me($r,v.ADD_URI_SAFE_ATTR,Je),ft(v,"FORBID_CONTENTS")&&cr(v.FORBID_CONTENTS)&&(Lt===Nr&&(Lt=Tt(Lt)),Me(Lt,v.FORBID_CONTENTS,Je)),ft(v,"ADD_FORBID_CONTENTS")&&cr(v.ADD_FORBID_CONTENTS)&&(Lt===Nr&&(Lt=Tt(Lt)),Me(Lt,v.ADD_FORBID_CONTENTS,Je)),gt&&(we["#text"]=!0),ae&&Me(we,["html","head","body"]),we.table&&(Me(we,["tbody"]),delete N.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw wr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw wr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const Q=w;w=v.TRUSTED_TYPES_POLICY;try{C=ue("")}catch(le){throw w=Q,le}}else v.TRUSTED_TYPES_POLICY===null?(w=void 0,C=""):(w===void 0&&(w=B()),w&&typeof C=="string"&&(C=ue("")));_t&&_t(v),Br=v},pa=Me({},[...Si,...Ci,...k4]),ha=Me({},[...Ti,...E4]),Nh=function(v,D,Q){return D.namespaceURI===fn?v==="svg":D.namespaceURI===xu?v==="svg"&&(Q==="annotation-xml"||Gs[Q]):!!pa[v]},$h=function(v,D,Q){return D.namespaceURI===fn?v==="math":D.namespaceURI===ku?v==="math"&&Ws[Q]:!!ha[v]},zh=function(v,D,Q){return D.namespaceURI===ku&&!Ws[Q]||D.namespaceURI===xu&&!Gs[Q]?!1:!ha[v]&&(Mh[v]||!pa[v])},Bh=function(v){let D=x(v);(!D||!D.tagName)&&(D={namespaceURI:zr,tagName:"template"});const Q=Po(v.tagName),le=Po(D.tagName);return Vs[v.namespaceURI]?v.namespaceURI===ku?Nh(Q,D,le):v.namespaceURI===xu?$h(Q,D,le):v.namespaceURI===fn?zh(Q,D,le):!!(vo==="application/xhtml+xml"&&Vs[v.namespaceURI]):!1},tr=function(v){Gr(t.removed,{element:v});try{x(v).removeChild(v)}catch{if(p(v),!x(v))throw wr("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ma=function(v){const D=g(v);if(D){const le=[];Do(D,Ce=>{Gr(le,Ce)}),Do(le,Ce=>{try{p(Ce)}catch{}})}const Q=k(v);if(Q)for(let le=Q.length-1;le>=0;--le){const Ce=Q[le],Le=Ce&&Ce.name;if(typeof Le=="string")try{v.removeAttribute(Le)}catch{}}},_r=function(v,D){try{Gr(t.removed,{attribute:D.getAttributeNode(v),from:D})}catch{Gr(t.removed,{attribute:null,from:D})}if(D.removeAttribute(v),v==="is")if(He||it)try{tr(D)}catch{}else try{D.setAttribute(v,"")}catch{}},qh=function(v){const D=k(v);if(D)for(let Q=D.length-1;Q>=0;--Q){const le=D[Q],Ce=le&&le.name;if(!(typeof Ce!="string"||A[Je(Ce)]))try{v.removeAttribute(Ce)}catch{}}},Uh=function(v){const D=[v];for(;D.length>0;){const Q=D.pop();(y?y(Q):Q.nodeType)===hn.element&&qh(Q);const Ce=g(Q);if(Ce)for(let Le=Ce.length-1;Le>=0;--Le)D.push(Ce[Le])}},ga=function(v){let D=null,Q=null;if(Ue)v="<remove></remove>"+v;else{const Le=xf(v,/^[\r\n\t ]+/);Q=Le&&Le[0]}vo==="application/xhtml+xml"&&zr===fn&&(v='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+v+"</body></html>");const le=w?ue(v):v;if(zr===fn)try{D=new c().parseFromString(le,vo)}catch{}if(!D||!D.documentElement){D=P.createDocument(zr,"template",null);try{D.documentElement.innerHTML=js?C:le}catch{}}const Ce=D.body||D.documentElement;return v&&Q&&Ce.insertBefore(n.createTextNode(Q),Ce.childNodes[0]||null),zr===fn?me.call(D,ae?"html":"body")[0]:ae?D.documentElement:Ce},ba=function(v){return q.call(v.ownerDocument||v,v,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Eu=function(v){return v=Oo(v,te," "),v=Oo(v,ge," "),v=Oo(v,_e," "),v},Ys=function(v){var D;v.normalize();const Q=q.call(v.ownerDocument||v,v,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let le=Q.nextNode();for(;le;)le.data=Eu(le.data),le=Q.nextNode();const Ce=(D=v.querySelectorAll)===null||D===void 0?void 0:D.call(v,"template");Ce&&Do(Ce,Le=>{qr(Le.content)&&Ys(Le.content)})},wu=function(v){const D=S?S(v):null;return typeof D!="string"||Je(D)!=="form"?!1:typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||v.attributes!==k(v)||typeof v.removeAttribute!="function"||typeof v.setAttribute!="function"||typeof v.namespaceURI!="string"||typeof v.insertBefore!="function"||typeof v.hasChildNodes!="function"||v.nodeType!==y(v)||v.childNodes!==g(v)},qr=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return y(v)===hn.documentFragment}catch{return!1}},xo=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return typeof y(v)=="number"}catch{return!1}};function Rn(ee,v,D){ee.length!==0&&Do(ee,Q=>{Q.call(t,v,D,Br)})}const Hh=function(v,D){return!!(se&&v.hasChildNodes()&&!xo(v.firstElementChild)&&bt(Of,v.textContent)&&bt(Of,v.innerHTML)||se&&v.namespaceURI===fn&&D==="style"&&xo(v.firstElementChild)||v.nodeType===hn.processingInstruction||se&&v.nodeType===hn.comment&&bt(M4,v.data))},jh=function(v,D){if(!N[D]&&va(D)&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,D)||L.tagNameCheck instanceof Function&&L.tagNameCheck(D)))return!1;if(gt&&!Lt[D]){const Q=x(v),le=g(v);if(le&&Q){const Ce=le.length;for(let Le=Ce-1;Le>=0;--Le){const at=In?le[Le]:d(le[Le],!0);Q.insertBefore(at,m(v))}}}return tr(v),!0},ya=function(v){if(Rn(ye.beforeSanitizeElements,v,null),wu(v))return tr(v),!0;const D=Je(S?S(v):v.nodeName);if(Rn(ye.uponSanitizeElement,v,{tagName:D,allowedTags:we}),Hh(v,D))return tr(v),!0;if(N[D]||!(R.tagCheck instanceof Function&&R.tagCheck(D))&&!we[D])return jh(v,D);if((y?y(v):v.nodeType)===hn.element&&!Bh(v)||(D==="noscript"||D==="noembed"||D==="noframes")&&bt(F4,v.innerHTML))return tr(v),!0;if(J&&v.nodeType===hn.text){const le=Eu(v.textContent);v.textContent!==le&&(Gr(t.removed,{element:v.cloneNode()}),v.textContent=le)}return Rn(ye.afterSanitizeElements,v,null),!1},_a=function(v,D,Q){if(U[D]||Zt&&(D==="id"||D==="name")&&(Q in n||Q in Lh))return!1;const le=A[D]||R.attributeCheck instanceof Function&&R.attributeCheck(D,v);if(!(W&&bt(Oe,D))){if(!(K&&bt(De,D))){if(le){if(!$r[D]){if(!bt(ze,Oo(Q,Ie,""))){if(!((D==="src"||D==="xlink:href"||D==="href")&&v!=="script"&&kf(Q,"data:")===0&&yo[v])){if(!(H&&!bt(X,Oo(Q,Ie,"")))){if(Q)return!1}}}}}else if(!(va(v)&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,v)||L.tagNameCheck instanceof Function&&L.tagNameCheck(v))&&(L.attributeNameCheck instanceof RegExp&&bt(L.attributeNameCheck,D)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(D,v))||D==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&bt(L.tagNameCheck,Q)||L.tagNameCheck instanceof Function&&L.tagNameCheck(Q))))return!1}}return!0},Vh=Me({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),va=function(v){return!Vh[Po(v)]&&bt(pe,v)},Gh=function(v,D,Q,le){if(w&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Q)switch(f.getAttributeType(v,D)){case"TrustedHTML":return ue(le);case"TrustedScriptURL":return Ee(le)}return le},Wh=function(v,D,Q,le){try{Q?v.setAttributeNS(Q,D,le):v.setAttribute(D,le),wu(v)?tr(v):vf(t.removed)}catch{_r(D,v)}},xa=function(v){Rn(ye.beforeSanitizeAttributes,v,null);const D=v.attributes;if(!D||wu(v))return;const Q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let le=D.length;const Ce=Je(v.nodeName);for(;le--;){const Le=D[le],at=Le.name,tt=Le.namespaceURI,Vt=Le.value,Xt=Je(at),Qs=Vt;let St=at==="value"?Qs:m4(Qs);if(Q.attrName=Xt,Q.attrValue=St,Q.keepAttr=!0,Q.forceKeepAttr=void 0,Rn(ye.uponSanitizeAttribute,v,Q),St=Q.attrValue,Qt&&(Xt==="id"||Xt==="name")&&kf(St,Xe)!==0&&(_r(at,v),St=Xe+St),se&&bt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,St)){_r(at,v);continue}if(Xt==="attributename"&&xf(St,"href")){_r(at,v);continue}if(!Q.forceKeepAttr){if(!Q.keepAttr){_r(at,v);continue}if(!fe&&bt(P4,St)){_r(at,v);continue}if(J&&(St=Eu(St)),!_a(Ce,Xt,St)){_r(at,v);continue}St=Gh(Ce,Xt,tt,St),St!==Qs&&Wh(v,at,tt,St)}}Rn(ye.afterSanitizeAttributes,v,null)},Au=function(v){let D=null;const Q=ba(v);for(Rn(ye.beforeSanitizeShadowDOM,v,null);D=Q.nextNode();)if(Rn(ye.uponSanitizeShadowNode,D,null),ya(D),xa(D),qr(D.content)&&Au(D.content),(y?y(D):D.nodeType)===hn.element){const Ce=b(D);qr(Ce)&&(Zs(Ce),Au(Ce))}Rn(ye.afterSanitizeShadowDOM,v,null)},Zs=function(v){const D=[{node:v,shadow:null}];for(;D.length>0;){const Q=D.pop();if(Q.shadow){Au(Q.shadow);continue}const le=Q.node,Le=(y?y(le):le.nodeType)===hn.element,at=g(le);if(at)for(let tt=at.length-1;tt>=0;--tt)D.push({node:at[tt],shadow:null});if(Le){const tt=S?S(le):null;if(typeof tt=="string"&&Je(tt)==="template"){const Vt=le.content;qr(Vt)&&D.push({node:Vt,shadow:null})}}if(Le){const tt=b(le);qr(tt)&&D.push({node:null,shadow:tt},{node:tt,shadow:null})}}};return t.sanitize=function(ee){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,Q=null,le=null,Ce=null;if(js=!ee,js&&(ee="<!-->"),typeof ee!="string"&&!xo(ee)&&(ee=v4(ee),typeof ee!="string"))throw wr("dirty is not a string, aborting");if(!t.isSupported)return ee;Ae?(we=Re,A=Pe):Ks(v),(ye.uponSanitizeElement.length>0||ye.uponSanitizeAttribute.length>0)&&(we=Tt(we)),ye.uponSanitizeAttribute.length>0&&(A=Tt(A)),t.removed=[];const Le=In&&typeof ee!="string"&&xo(ee);if(Le){const Vt=S?S(ee):ee.nodeName;if(typeof Vt=="string"){const Xt=Je(Vt);if(!we[Xt]||N[Xt])throw wr("root node is forbidden and cannot be sanitized in-place")}if(wu(ee))throw wr("root node is clobbered and cannot be sanitized in-place");try{Zs(ee)}catch(Xt){throw ma(ee),Xt}}else if(xo(ee))D=ga("<!---->"),Q=D.ownerDocument.importNode(ee,!0),Q.nodeType===hn.element&&Q.nodeName==="BODY"||Q.nodeName==="HTML"?D=Q:D.appendChild(Q),Zs(Q);else{if(!He&&!J&&!ae&&ee.indexOf("<")===-1)return w&&lt?ue(ee):ee;if(D=ga(ee),!D)return He?null:lt?C:""}D&&Ue&&tr(D.firstChild);const at=ba(Le?ee:D);try{for(;le=at.nextNode();)ya(le),xa(le),qr(le.content)&&Au(le.content)}catch(Vt){throw Le&&ma(ee),Vt}if(Le)return Do(t.removed,Vt=>{Vt.element&&Uh(Vt.element)}),J&&Ys(ee),ee;if(He){if(J&&Ys(D),it)for(Ce=Z.call(D.ownerDocument);D.firstChild;)Ce.appendChild(D.firstChild);else Ce=D;return(A.shadowroot||A.shadowrootmode)&&(Ce=Y.call(r,Ce,!0)),Ce}let tt=ae?D.outerHTML:D.innerHTML;return ae&&we["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&bt(I4,D.ownerDocument.doctype.name)&&(tt="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
35
- `+tt),J&&(tt=Eu(tt)),w&&lt?ue(tt):tt},t.setConfig=function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ks(ee),Ae=!0,Re=we,Pe=A},t.clearConfig=function(){Br=null,Ae=!1,Re=null,Pe=null,w=T,C=""},t.isValidAttribute=function(ee,v,D){Br||Ks({});const Q=Je(ee),le=Je(v);return _a(Q,le,D)},t.addHook=function(ee,v){typeof v=="function"&&ft(ye,ee)&&Gr(ye[ee],v)},t.removeHook=function(ee,v){if(ft(ye,ee)){if(v!==void 0){const D=p4(ye[ee],v);return D===-1?void 0:h4(ye[ee],D,1)[0]}return vf(ye[ee])}},t.removeHooks=function(ee){ft(ye,ee)&&(ye[ee]=[])},t.removeAllHooks=function(){ye=If()},t}var $4=Zp();const Rf={};function z4(e){let t=Rf[e];if(t)return t;t=Rf[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function ao(e,t){typeof t!="string"&&(t=ao.defaultChars);const n=z4(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let u=0,s=r.length;u<s;u+=3){const i=parseInt(r.slice(u+1,u+3),16);if(i<128){o+=n[i];continue}if((i&224)===192&&u+3<s){const l=parseInt(r.slice(u+4,u+6),16);if((l&192)===128){const a=i<<6&1984|l&63;a<128?o+="��":o+=String.fromCharCode(a),u+=3;continue}}if((i&240)===224&&u+6<s){const l=parseInt(r.slice(u+4,u+6),16),a=parseInt(r.slice(u+7,u+9),16);if((l&192)===128&&(a&192)===128){const c=i<<12&61440|l<<6&4032|a&63;c<2048||c>=55296&&c<=57343?o+="���":o+=String.fromCharCode(c),u+=6;continue}}if((i&248)===240&&u+9<s){const l=parseInt(r.slice(u+4,u+6),16),a=parseInt(r.slice(u+7,u+9),16),c=parseInt(r.slice(u+10,u+12),16);if((l&192)===128&&(a&192)===128&&(c&192)===128){let f=i<<18&1835008|l<<12&258048|a<<6&4032|c&63;f<65536||f>1114111?o+="����":(f-=65536,o+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),u+=9;continue}}o+="�"}return o})}ao.defaultChars=";/?:@&=+$,#";ao.componentChars="";const Mf={};function B4(e){let t=Mf[e];if(t)return t;t=Mf[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function yu(e,t,n){typeof t!="string"&&(n=t,t=yu.defaultChars),typeof n>"u"&&(n=!0);const r=B4(t);let o="";for(let u=0,s=e.length;u<s;u++){const i=e.charCodeAt(u);if(n&&i===37&&u+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(u+1,u+3))){o+=e.slice(u,u+3),u+=2;continue}if(i<128){o+=r[i];continue}if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&u+1<s){const l=e.charCodeAt(u+1);if(l>=56320&&l<=57343){o+=encodeURIComponent(e[u]+e[u+1]),u++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[u])}return o}yu.defaultChars=";/?:@&=+$,-_.!~*'()#";yu.componentChars="-_.!~*'()";function ta(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ds(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const q4=/^([a-z0-9.+-]+:)/i,U4=/:[0-9]*$/,H4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,j4=["<",">",'"',"`"," ","\r",`
36
- `," "],V4=["{","}","|","\\","^","`"].concat(j4),G4=["'"].concat(V4),Ff=["%","/","?",";","#"].concat(G4),Pf=["/","?","#"],W4=255,Lf=/^[+a-z0-9A-Z_-]{0,63}$/,K4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Nf={javascript:!0,"javascript:":!0},$f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function na(e,t){if(e&&e instanceof ds)return e;const n=new ds;return n.parse(e,t),n}ds.prototype.parse=function(e,t){let n,r,o,u=e;if(u=u.trim(),!t&&e.split("#").length===1){const a=H4.exec(u);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}let s=q4.exec(u);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,u=u.substr(s.length)),(t||s||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=u.substr(0,2)==="//",o&&!(s&&Nf[s])&&(u=u.substr(2),this.slashes=!0)),!Nf[s]&&(o||s&&!$f[s])){let a=-1;for(let p=0;p<Pf.length;p++)r=u.indexOf(Pf[p]),r!==-1&&(a===-1||r<a)&&(a=r);let c,f;a===-1?f=u.lastIndexOf("@"):f=u.lastIndexOf("@",a),f!==-1&&(c=u.slice(0,f),u=u.slice(f+1),this.auth=c),a=-1;for(let p=0;p<Ff.length;p++)r=u.indexOf(Ff[p]),r!==-1&&(a===-1||r<a)&&(a=r);a===-1&&(a=u.length),u[a-1]===":"&&a--;const h=u.slice(0,a);u=u.slice(a),this.parseHost(h),this.hostname=this.hostname||"";const d=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!d){const p=this.hostname.split(/\./);for(let m=0,g=p.length;m<g;m++){const x=p[m];if(x&&!x.match(Lf)){let b="";for(let k=0,y=x.length;k<y;k++)x.charCodeAt(k)>127?b+="x":b+=x[k];if(!b.match(Lf)){const k=p.slice(0,m),y=p.slice(m+1),S=x.match(K4);S&&(k.push(S[1]),y.unshift(S[2])),y.length&&(u=y.join(".")+u),this.hostname=k.join(".");break}}}}this.hostname.length>W4&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=u.indexOf("#");i!==-1&&(this.hash=u.substr(i),u=u.slice(0,i));const l=u.indexOf("?");return l!==-1&&(this.search=u.substr(l),u=u.slice(0,l)),u&&(this.pathname=u),$f[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ds.prototype.parseHost=function(e){let t=U4.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Y4=Object.freeze(Object.defineProperty({__proto__:null,decode:ao,encode:yu,format:ta,parse:na},Symbol.toStringTag,{value:"Module"})),Qp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Xp=/[\0-\x1F\x7F-\x9F]/,Z4=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,ra=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Jp=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,eh=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Q4=Object.freeze(Object.defineProperty({__proto__:null,Any:Qp,Cc:Xp,Cf:Z4,P:ra,S:Jp,Z:eh},Symbol.toStringTag,{value:"Module"})),X4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),J4=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Oi;const e8=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),t8=(Oi=String.fromCodePoint)!==null&&Oi!==void 0?Oi:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function n8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=e8.get(e))!==null&&t!==void 0?t:e}var dt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(dt||(dt={}));const r8=32;var fr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(fr||(fr={}));function yl(e){return e>=dt.ZERO&&e<=dt.NINE}function o8(e){return e>=dt.UPPER_A&&e<=dt.UPPER_F||e>=dt.LOWER_A&&e<=dt.LOWER_F}function u8(e){return e>=dt.UPPER_A&&e<=dt.UPPER_Z||e>=dt.LOWER_A&&e<=dt.LOWER_Z||yl(e)}function s8(e){return e===dt.EQUALS||u8(e)}var ct;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ct||(ct={}));var qn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(qn||(qn={}));class i8{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ct.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qn.Strict}startEntity(t){this.decodeMode=t,this.state=ct.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ct.EntityStart:return t.charCodeAt(n)===dt.NUM?(this.state=ct.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ct.NamedEntity,this.stateNamedEntity(t,n));case ct.NumericStart:return this.stateNumericStart(t,n);case ct.NumericDecimal:return this.stateNumericDecimal(t,n);case ct.NumericHex:return this.stateNumericHex(t,n);case ct.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|r8)===dt.LOWER_X?(this.state=ct.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ct.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const u=r-n;this.result=this.result*Math.pow(o,u)+parseInt(t.substr(n,u),o),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(yl(o)||o8(o))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(yl(o))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===dt.SEMI)this.consumed+=1;else if(this.decodeMode===qn.Strict)return 0;return this.emitCodePoint(n8(this.result),this.consumed),this.errors&&(t!==dt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let o=r[this.treeIndex],u=(o&fr.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=l8(r,o,this.treeIndex+Math.max(1,u),s),this.treeIndex<0)return this.result===0||this.decodeMode===qn.Attribute&&(u===0||s8(s))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],u=(o&fr.VALUE_LENGTH)>>14,u!==0){if(s===dt.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==qn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&fr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~fr.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case ct.NamedEntity:return this.result!==0&&(this.decodeMode!==qn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ct.NumericDecimal:return this.emitNumericEntity(0,2);case ct.NumericHex:return this.emitNumericEntity(0,3);case ct.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ct.EntityStart:return 0}}}function th(e){let t="";const n=new i8(e,r=>t+=t8(r));return function(o,u){let s=0,i=0;for(;(i=o.indexOf("&",i))>=0;){t+=o.slice(s,i),n.startEntity(u);const a=n.write(o,i+1);if(a<0){s=i+n.end();break}s=i+a,i=a===0?s+1:s}const l=t+o.slice(s);return t="",l}}function l8(e,t,n,r){const o=(t&fr.BRANCH_LENGTH)>>7,u=t&fr.JUMP_TABLE;if(o===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=o?-1:e[n+l]-1}let s=n,i=s+o-1;for(;s<=i;){const l=s+i>>>1,a=e[l];if(a<r)s=l+1;else if(a>r)i=l-1;else return e[l+o]}return-1}const nh=th(X4);th(J4);function a8(e,t=qn.Legacy){return nh(e,t)}function c8(e){return nh(e,qn.Strict)}function f8(e){return Object.prototype.toString.call(e)}function oa(e){return f8(e)==="[object String]"}const d8=Object.prototype.hasOwnProperty;function p8(e,t){return d8.call(e,t)}function zs(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function rh(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ua(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function ru(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const oh=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,h8=/&([a-z#][a-z0-9]{1,31});/gi,m8=new RegExp(oh.source+"|"+h8.source,"gi"),g8=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function b8(e,t){if(t.charCodeAt(0)===35&&g8.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ua(r)?ru(r):e}const n=a8(e);return n!==e?n:e}function y8(e){return e.indexOf("\\")<0?e:e.replace(oh,"$1")}function co(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(m8,function(t,n,r){return n||b8(t,r)})}const _8=/[&<>"]/,v8=/[&<>"]/g,x8={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function k8(e){return x8[e]}function mr(e){return _8.test(e)?e.replace(v8,k8):e}const E8=/[.?*+^$[\]\\(){}|-]/g;function w8(e){return e.replace(E8,"\\$&")}function Ke(e){switch(e){case 9:case 32:return!0}return!1}function ou(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function uh(e){return ra.test(e)||Jp.test(e)}function uu(e){return uh(ru(e))}function su(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Bs(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function zf(e){return e===32||e===9||e===10||e===13}function qs(e){let t=0;for(;t<e.length&&zf(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&zf(e.charCodeAt(n));n--);return e.slice(t,n+1)}const A8={mdurl:Y4,ucmicro:Q4},S8=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:rh,asciiTrim:qs,assign:zs,escapeHtml:mr,escapeRE:w8,fromCodePoint:ru,has:p8,isMdAsciiPunct:su,isPunctChar:uh,isPunctCharCode:uu,isSpace:Ke,isString:oa,isValidEntityCode:ua,isWhiteSpace:ou,lib:A8,normalizeReference:Bs,unescapeAll:co,unescapeMd:y8},Symbol.toStringTag,{value:"Module"}));function C8(e,t,n){let r,o,u,s;const i=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<i;){if(u=e.src.charCodeAt(e.pos),u===93&&(r--,r===0)){o=!0;break}if(s=e.pos,e.md.inline.skipToken(e),u===91){if(s===e.pos-1)r++;else if(n)return e.pos=l,-1}}let a=-1;return o&&(a=e.pos),e.pos=l,a}function T8(e,t,n){let r,o=t;const u={ok:!1,pos:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<n;){if(r=e.charCodeAt(o),r===10||r===60)return u;if(r===62)return u.pos=o+1,u.str=co(e.slice(t+1,o)),u.ok=!0,u;if(r===92&&o+1<n){o+=2;continue}o++}return u}let s=0;for(;o<n&&(r=e.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<n){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(s++,s>32))return u;if(r===41){if(s===0)break;s--}o++}return t===o||s!==0||(u.str=co(e.slice(t,o)),u.pos=o,u.ok=!0),u}function D8(e,t,n,r){let o,u=t;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(u>=n)return s;let i=e.charCodeAt(u);if(i!==34&&i!==39&&i!==40)return s;t++,u++,i===40&&(i=41),s.marker=i}for(;u<n;){if(o=e.charCodeAt(u),o===s.marker)return s.pos=u+1,s.str+=co(e.slice(t,u)),s.ok=!0,s;if(o===40&&s.marker===41)return s;o===92&&u+1<n&&u++,u++}return s.can_continue=!0,s.str+=co(e.slice(t,u)),s}const O8=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:T8,parseLinkLabel:C8,parseLinkTitle:D8},Symbol.toStringTag,{value:"Module"})),Dn={};Dn.code_inline=function(e,t,n,r,o){const u=e[t];return"<code"+o.renderAttrs(u)+">"+mr(u.content)+"</code>"};Dn.code_block=function(e,t,n,r,o){const u=e[t];return"<pre"+o.renderAttrs(u)+"><code>"+mr(e[t].content)+`</code></pre>
37
- `};Dn.fence=function(e,t,n,r,o){const u=e[t],s=u.info?co(u.info).trim():"";let i="",l="";if(s){const c=s.split(/(\s+)/g);i=c[0],l=c.slice(2).join("")}let a;if(n.highlight?a=n.highlight(u.content,i,l)||mr(u.content):a=mr(u.content),a.indexOf("<pre")===0)return a+`
38
- `;if(s){const c=u.attrIndex("class"),f=u.attrs?u.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const h={attrs:f};return`<pre><code${o.renderAttrs(h)}>${a}</code></pre>
39
- `}return`<pre><code${o.renderAttrs(u)}>${a}</code></pre>
40
- `};Dn.image=function(e,t,n,r,o){const u=e[t];return u.attrs[u.attrIndex("alt")][1]=o.renderInlineAsText(u.children,n,r),o.renderToken(e,t,n)};Dn.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
41
- `:`<br>
42
- `};Dn.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
43
- `:`<br>
44
- `:`
45
- `};Dn.text=function(e,t){return mr(e[t].content)};Dn.html_block=function(e,t){return e[t].content};Dn.html_inline=function(e,t){return e[t].content};function bo(){this.rules=zs({},Dn)}bo.prototype.renderAttrs=function(t){let n,r,o;if(!t.attrs)return"";for(o="",n=0,r=t.attrs.length;n<r;n++)o+=" "+mr(t.attrs[n][0])+'="'+mr(t.attrs[n][1])+'"';return o};bo.prototype.renderToken=function(t,n,r){const o=t[n];let u="";if(o.hidden)return"";o.block&&o.nesting!==-1&&n&&t[n-1].hidden&&(u+=`
46
- `),u+=(o.nesting===-1?"</":"<")+o.tag,u+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(u+=" /");let s=!1;if(o.block&&(s=!0,o.nesting===1&&n+1<t.length)){const i=t[n+1];(i.type==="inline"||i.hidden||i.nesting===-1&&i.tag===o.tag)&&(s=!1)}return u+=s?`>
47
- `:">",u};bo.prototype.renderInline=function(e,t,n){let r="";const o=this.rules;for(let u=0,s=e.length;u<s;u++){const i=e[u].type;typeof o[i]<"u"?r+=o[i](e,u,t,n,this):r+=this.renderToken(e,u,t)}return r};bo.prototype.renderInlineAsText=function(e,t,n){let r="";for(let o=0,u=e.length;o<u;o++)switch(e[o].type){case"text":r+=e[o].content;break;case"image":r+=this.renderInlineAsText(e[o].children,t,n);break;case"html_inline":case"html_block":r+=e[o].content;break;case"softbreak":case"hardbreak":r+=`
48
- `;break}return r};bo.prototype.render=function(e,t,n){let r="";const o=this.rules;for(let u=0,s=e.length;u<s;u++){const i=e[u].type;i==="inline"?r+=this.renderInline(e[u].children,t,n):typeof o[i]<"u"?r+=o[i](e,u,t,n,this):r+=this.renderToken(e,u,t,n)}return r};function Pt(){this.__rules__=[],this.__cache__=null}Pt.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Pt.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};Pt.prototype.at=function(e,t,n){const r=this.__find__(e),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null};Pt.prototype.before=function(e,t,n,r){const o=this.__find__(e),u=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};Pt.prototype.after=function(e,t,n,r){const o=this.__find__(e),u=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};Pt.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};Pt.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};Pt.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Pt.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};Pt.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function cn(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}cn.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,o=n.length;r<o;r++)if(n[r][0]===t)return r;return-1};cn.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};cn.prototype.attrSet=function(t,n){const r=this.attrIndex(t),o=[t,n];r<0?this.attrPush(o):this.attrs[r]=o};cn.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};cn.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function sh(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}sh.prototype.Token=cn;const I8=/\r\n?|\n/g,R8=/\0/g;function M8(e){let t;t=e.src.replace(I8,`
49
- `),t=t.replace(R8,"�"),e.src=t}function F8(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function P8(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const o=t[n];o.type==="inline"&&e.md.inline.parse(o.content,e.md,e.env,o.children)}}function L8(e){return/^<a[>\s]/i.test(e)}function N8(e){return/^<\/a\s*>/i.test(e)}function $8(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let o=t[n].children,u=0;for(let s=o.length-1;s>=0;s--){const i=o[s];if(i.type==="link_close"){for(s--;o[s].level!==i.level&&o[s].type!=="link_open";)s--;continue}if(i.type==="html_inline"&&(L8(i.content)&&u>0&&u--,N8(i.content)&&u++),!(u>0)&&i.type==="text"&&e.md.linkify.test(i.content)){const l=i.content;let a=e.md.linkify.match(l);const c=[];let f=i.level,h=0;a.length>0&&a[0].index===0&&s>0&&o[s-1].type==="text_special"&&(a=a.slice(1));for(let d=0;d<a.length;d++){const p=a[d].url,m=e.md.normalizeLink(p);if(!e.md.validateLink(m))continue;let g=a[d].text;a[d].schema?a[d].schema==="mailto:"&&!/^mailto:/i.test(g)?g=e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=e.md.normalizeLinkText(g):g=e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,"");const x=a[d].index;if(x>h){const S=new e.Token("text","",0);S.content=l.slice(h,x),S.level=f,c.push(S)}const b=new e.Token("link_open","a",1);b.attrs=[["href",m]],b.level=f++,b.markup="linkify",b.info="auto",c.push(b);const k=new e.Token("text","",0);k.content=g,k.level=f,c.push(k);const y=new e.Token("link_close","a",-1);y.level=--f,y.markup="linkify",y.info="auto",c.push(y),h=a[d].lastIndex}if(h<l.length){const d=new e.Token("text","",0);d.content=l.slice(h),d.level=f,c.push(d)}t[n].children=o=rh(o,s,c)}}}}const ih=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,z8=/\((c|tm|r)\)/i,B8=/\((c|tm|r)\)/ig,q8={c:"©",r:"®",tm:"™"};function U8(e,t){return q8[t.toLowerCase()]}function H8(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(B8,U8)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function j8(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&ih.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function V8(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(z8.test(e.tokens[t].content)&&H8(e.tokens[t].children),ih.test(e.tokens[t].content)&&j8(e.tokens[t].children))}const G8=/['"]/,Bf=/['"]/g,qf="’";function qu(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function W8(e,t){let n="",r=0;t.sort((o,u)=>o.pos-u.pos);for(let o=0;o<t.length;o++){const u=t[o];n+=e.slice(r,u.pos)+u.ch,r=u.pos+1}return n+e.slice(r)}function K8(e,t){let n;const r=[],o={};for(let u=0;u<e.length;u++){const s=e[u],i=e[u].level;for(n=r.length-1;n>=0&&!(r[n].level<=i);n--);if(r.length=n+1,s.type!=="text")continue;const l=s.content;let a=0;const c=l.length;e:for(;a<c;){Bf.lastIndex=a;const f=Bf.exec(l);if(!f)break;let h=!0,d=!0;a=f.index+1;const p=f[0]==="'";let m=32;if(f.index-1>=0)m=l.charCodeAt(f.index-1);else for(n=u-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(a<c)g=l.charCodeAt(a);else for(n=u+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}const x=su(m)||uu(m),b=su(g)||uu(g),k=ou(m),y=ou(g);if(y?h=!1:b&&(k||x||(h=!1)),k?d=!1:x&&(y||b||(d=!1)),g===34&&f[0]==='"'&&m>=48&&m<=57&&(d=h=!1),h&&d&&(h=x,d=b),!h&&!d){p&&qu(o,u,f.index,qf);continue}if(d)for(n=r.length-1;n>=0;n--){let S=r[n];if(r[n].level<i)break;if(S.single===p&&r[n].level===i){S=r[n];let w,C;p?(w=t.md.options.quotes[2],C=t.md.options.quotes[3]):(w=t.md.options.quotes[0],C=t.md.options.quotes[1]),qu(o,u,f.index,C),qu(o,S.token,S.pos,w),r.length=n;continue e}}h?r.push({token:u,pos:f.index,single:p,level:i}):d&&p&&qu(o,u,f.index,qf)}}Object.keys(o).forEach(function(u){e[u].content=W8(e[u].content,o[u])})}function Y8(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!G8.test(e.tokens[t].content)||K8(e.tokens[t].children,e)}function Z8(e){let t,n;const r=e.tokens,o=r.length;for(let u=0;u<o;u++){if(r[u].type!=="inline")continue;const s=r[u].children,i=s.length;for(t=0;t<i;t++)s[t].type==="text_special"&&(s[t].type="text");for(t=n=0;t<i;t++)s[t].type==="text"&&t+1<i&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==n&&(s[n]=s[t]),n++);t!==n&&(s.length=n)}}const Ii=[["normalize",M8],["block",F8],["inline",P8],["linkify",$8],["replacements",V8],["smartquotes",Y8],["text_join",Z8]];function sa(){this.ruler=new Pt;for(let e=0;e<Ii.length;e++)this.ruler.push(Ii[e][0],Ii[e][1])}sa.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};sa.prototype.State=sh;function On(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let u=0,s=0,i=0,l=0,a=o.length,c=!1;s<a;s++){const f=o.charCodeAt(s);if(!c)if(Ke(f)){i++,f===9?l+=4-l%4:l++;continue}else c=!0;(f===10||s===a-1)&&(f!==10&&s++,this.bMarks.push(u),this.eMarks.push(s),this.tShift.push(i),this.sCount.push(l),this.bsCount.push(0),c=!1,i=0,l=0,u=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}On.prototype.push=function(e,t,n){const r=new cn(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};On.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};On.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};On.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!Ke(r))break}return t};On.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Ke(this.src.charCodeAt(--t)))return t+1;return t};On.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};On.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};On.prototype.getLines=function(t,n,r,o){if(t>=n)return"";const u=new Array(n-t);for(let s=0,i=t;i<n;i++,s++){let l=0;const a=this.bMarks[i];let c=a,f;for(i+1<n||o?f=this.eMarks[i]+1:f=this.eMarks[i];c<f&&l<r;){const h=this.src.charCodeAt(c);if(Ke(h))h===9?l+=4-(l+this.bsCount[i])%4:l++;else if(c-a<this.tShift[i])l++;else break;c++}l>r?u[s]=new Array(l-r+1).join(" ")+this.src.slice(c,f):u[s]=this.src.slice(c,f)}return u.join("")};On.prototype.Token=cn;const Q8=65536;function Ri(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Uf(e){const t=[],n=e.length;let r=0,o=e.charCodeAt(r),u=!1,s=0,i="";for(;r<n;)o===124&&(u?(i+=e.substring(s,r-1),s=r):(t.push(i+e.substring(s,r)),i="",s=r+1)),u=o===92,r++,o=e.charCodeAt(r);return t.push(i+e.substring(s)),t}function X8(e,t,n,r){if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let u=e.bMarks[o]+e.tShift[o];if(u>=e.eMarks[o])return!1;const s=e.src.charCodeAt(u++);if(s!==124&&s!==45&&s!==58||u>=e.eMarks[o])return!1;const i=e.src.charCodeAt(u++);if(i!==124&&i!==45&&i!==58&&!Ke(i)||s===45&&Ke(i))return!1;for(;u<e.eMarks[o];){const y=e.src.charCodeAt(u);if(y!==124&&y!==45&&y!==58&&!Ke(y))return!1;u++}let l=Ri(e,t+1),a=l.split("|");const c=[];for(let y=0;y<a.length;y++){const S=a[y].trim();if(!S){if(y===0||y===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(S))return!1;S.charCodeAt(S.length-1)===58?c.push(S.charCodeAt(0)===58?"center":"right"):S.charCodeAt(0)===58?c.push("left"):c.push("")}if(l=Ri(e,t).trim(),l.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;a=Uf(l),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop();const f=a.length;if(f===0||f!==c.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const d=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),m=[t,0];p.map=m;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let y=0;y<a.length;y++){const S=e.push("th_open","th",1);c[y]&&(S.attrs=[["style","text-align:"+c[y]]]);const w=e.push("inline","",0);w.content=a[y].trim(),w.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let b,k=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let y=!1;for(let w=0,C=d.length;w<C;w++)if(d[w](e,o,n,!0)){y=!0;break}if(y||(l=Ri(e,o).trim(),!l)||e.sCount[o]-e.blkIndent>=4||(a=Uf(l),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop(),k+=f-a.length,k>Q8))break;if(o===t+2){const w=e.push("tbody_open","tbody",1);w.map=b=[t+2,0]}const S=e.push("tr_open","tr",1);S.map=[o,o+1];for(let w=0;w<f;w++){const C=e.push("td_open","td",1);c[w]&&(C.attrs=[["style","text-align:"+c[w]]]);const T=e.push("inline","",0);T.content=a[w]?a[w].trim():"",T.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return b&&(e.push("tbody_close","tbody",-1),b[1]=o),e.push("table_close","table",-1),m[1]=o,e.parentType=h,e.line=o,!0}function J8(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,o=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,o=r;continue}break}e.line=o;const u=e.push("code_block","code",0);return u.content=e.getLines(t,o,4+e.blkIndent,!1)+`
50
- `,u.map=[t,e.line],!0}function ek(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>u)return!1;const s=e.src.charCodeAt(o);if(s!==126&&s!==96)return!1;let i=o;o=e.skipChars(o,s);let l=o-i;if(l<3)return!1;const a=e.src.slice(i,o),c=e.src.slice(o,u);if(s===96&&c.indexOf(String.fromCharCode(s))>=0)return!1;if(r)return!0;let f=t,h=!1;for(;f++,!(f>=n||(o=i=e.bMarks[f]+e.tShift[f],u=e.eMarks[f],o<u&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(o)===s&&!(e.sCount[f]-e.blkIndent>=4)&&(o=e.skipChars(o,s),!(o-i<l)&&(o=e.skipSpaces(o),!(o<u)))){h=!0;break}l=e.sCount[t],e.line=f+(h?1:0);const d=e.push("fence","code",0);return d.info=c,d.content=e.getLines(t+1,f,l,!0),d.markup=a,d.map=[t,e.line],!0}function tk(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];const s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==62)return!1;if(r)return!0;const i=[],l=[],a=[],c=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let d=!1,p;for(p=t;p<n;p++){const k=e.sCount[p]<e.blkIndent;if(o=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],o>=u)break;if(e.src.charCodeAt(o++)===62&&!k){let S=e.sCount[p]+1,w,C;e.src.charCodeAt(o)===32?(o++,S++,C=!1,w=!0):e.src.charCodeAt(o)===9?(w=!0,(e.bsCount[p]+S)%4===3?(o++,S++,C=!1):C=!0):w=!1;let T=S;for(i.push(e.bMarks[p]),e.bMarks[p]=o;o<u;){const $=e.src.charCodeAt(o);if(Ke($))$===9?T+=4-(T+e.bsCount[p]+(C?1:0))%4:T++;else break;o++}d=o>=u,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(w?1:0),a.push(e.sCount[p]),e.sCount[p]=T-S,c.push(e.tShift[p]),e.tShift[p]=o-e.bMarks[p];continue}if(d)break;let y=!1;for(let S=0,w=f.length;S<w;S++)if(f[S](e,p,n,!0)){y=!0;break}if(y){e.lineMax=p,e.blkIndent!==0&&(i.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),a.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}i.push(e.bMarks[p]),l.push(e.bsCount[p]),c.push(e.tShift[p]),a.push(e.sCount[p]),e.sCount[p]=-1}const m=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const x=[t,0];g.map=x,e.md.block.tokenize(e,t,p);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=s,e.parentType=h,x[1]=e.line;for(let k=0;k<c.length;k++)e.bMarks[k+t]=i[k],e.tShift[k+t]=c[k],e.sCount[k+t]=a[k],e.bsCount[k+t]=l[k];return e.blkIndent=m,!0}function nk(e,t,n,r){const o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(u++);if(s!==42&&s!==45&&s!==95)return!1;let i=1;for(;u<o;){const a=e.src.charCodeAt(u++);if(a!==s&&!Ke(a))return!1;a===s&&i++}if(i<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(s)),!0}function Hf(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<n){const u=e.src.charCodeAt(r);if(!Ke(u))return-1}return r}function jf(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let o=n;if(o+1>=r)return-1;let u=e.src.charCodeAt(o++);if(u<48||u>57)return-1;for(;;){if(o>=r)return-1;if(u=e.src.charCodeAt(o++),u>=48&&u<=57){if(o-n>=10)return-1;continue}if(u===41||u===46)break;return-1}return o<r&&(u=e.src.charCodeAt(o),!Ke(u))?-1:o}function rk(e,t){const n=e.level+2;for(let r=t+2,o=e.tokens.length-2;r<o;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function ok(e,t,n,r){let o,u,s,i,l=t,a=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let c=!1;r&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(c=!0);let f,h,d;if((d=jf(e,l))>=0){if(f=!0,s=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(s,d-1)),c&&h!==1)return!1}else if((d=Hf(e,l))>=0)f=!1;else return!1;if(c&&e.skipSpaces(d)>=e.eMarks[l])return!1;if(r)return!0;const p=e.src.charCodeAt(d-1),m=e.tokens.length;f?(i=e.push("ordered_list_open","ol",1),h!==1&&(i.attrs=[["start",h]])):i=e.push("bullet_list_open","ul",1);const g=[l,0];i.map=g,i.markup=String.fromCharCode(p);let x=!1;const b=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";l<n;){u=d,o=e.eMarks[l];const y=e.sCount[l]+d-(e.bMarks[l]+e.tShift[l]);let S=y;for(;u<o;){const z=e.src.charCodeAt(u);if(z===9)S+=4-(S+e.bsCount[l])%4;else if(z===32)S++;else break;u++}const w=u;let C;w>=o?C=1:C=S-y,C>4&&(C=1);const T=y+C;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(p);const $=[l,0];i.map=$,f&&(i.info=e.src.slice(s,d-1));const G=e.tight,ie=e.tShift[l],ue=e.sCount[l],Ee=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[l]=w-e.bMarks[l],e.sCount[l]=S,w>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||x)&&(a=!1),x=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Ee,e.tShift[l]=ie,e.sCount[l]=ue,e.tight=G,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(p),l=e.line,$[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let B=!1;for(let z=0,P=b.length;z<P;z++)if(b[z](e,l,n,!0)){B=!0;break}if(B)break;if(f){if(d=jf(e,l),d<0)break;s=e.bMarks[l]+e.tShift[l]}else if(d=Hf(e,l),d<0)break;if(p!==e.src.charCodeAt(d-1))break}return f?i=e.push("ordered_list_close","ol",-1):i=e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(p),g[1]=l,e.line=l,e.parentType=k,a&&rk(e,m),!0}function uk(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==91)return!1;function i(b){const k=e.lineMax;if(b>=k||e.isEmpty(b))return null;let y=!1;if(e.sCount[b]-e.blkIndent>3&&(y=!0),e.sCount[b]<0&&(y=!0),!y){const C=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let $=!1;for(let G=0,ie=C.length;G<ie;G++)if(C[G](e,b,k,!0)){$=!0;break}if(e.parentType=T,$)return null}const S=e.bMarks[b]+e.tShift[b],w=e.eMarks[b];return e.src.slice(S,w+1)}let l=e.src.slice(o,u+1);u=l.length;let a=-1;for(o=1;o<u;o++){const b=l.charCodeAt(o);if(b===91)return!1;if(b===93){a=o;break}else if(b===10){const k=i(s);k!==null&&(l+=k,u=l.length,s++)}else if(b===92&&(o++,o<u&&l.charCodeAt(o)===10)){const k=i(s);k!==null&&(l+=k,u=l.length,s++)}}if(a<0||l.charCodeAt(a+1)!==58)return!1;for(o=a+2;o<u;o++){const b=l.charCodeAt(o);if(b===10){const k=i(s);k!==null&&(l+=k,u=l.length,s++)}else if(!Ke(b))break}const c=e.md.helpers.parseLinkDestination(l,o,u);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;o=c.pos;const h=o,d=s,p=o;for(;o<u;o++){const b=l.charCodeAt(o);if(b===10){const k=i(s);k!==null&&(l+=k,u=l.length,s++)}else if(!Ke(b))break}let m=e.md.helpers.parseLinkTitle(l,o,u);for(;m.can_continue;){const b=i(s);if(b===null)break;l+=b,o=u,u=l.length,s++,m=e.md.helpers.parseLinkTitle(l,o,u,m)}let g;for(o<u&&p!==o&&m.ok?(g=m.str,o=m.pos):(g="",o=h,s=d);o<u;){const b=l.charCodeAt(o);if(!Ke(b))break;o++}if(o<u&&l.charCodeAt(o)!==10&&g)for(g="",o=h,s=d;o<u;){const b=l.charCodeAt(o);if(!Ke(b))break;o++}if(o<u&&l.charCodeAt(o)!==10)return!1;const x=Bs(l.slice(1,a));return x?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:g,href:f}),e.line=s),!0):!1}const sk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ik="[a-zA-Z_:][a-zA-Z0-9:._-]*",lk="[^\"'=<>`\\x00-\\x20]+",ak="'[^']*'",ck='"[^"]*"',fk="(?:"+lk+"|"+ak+"|"+ck+")",dk="(?:\\s+"+ik+"(?:\\s*=\\s*"+fk+")?)",lh="<[A-Za-z][A-Za-z0-9\\-]*"+dk+"*\\s*\\/?>",ah="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",pk="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",hk="<[?][\\s\\S]*?[?]>",mk="<![A-Za-z][^>]*>",gk="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",bk=new RegExp("^(?:"+lh+"|"+ah+"|"+pk+"|"+hk+"|"+mk+"|"+gk+")"),yk=new RegExp("^(?:"+lh+"|"+ah+")"),Ar=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+sk.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(yk.source+"\\s*$"),/^$/,!1]];function _k(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let s=e.src.slice(o,u),i=0;for(;i<Ar.length&&!Ar[i][0].test(s);i++);if(i===Ar.length)return!1;if(r)return Ar[i][2];let l=t+1;const a=Ar[i][1].test("");if(!Ar[i][1].test(s)){for(;l<n&&!(e.sCount[l]<e.blkIndent&&(a||!e.isEmpty(l)));l++)if(o=e.bMarks[l]+e.tShift[l],u=e.eMarks[l],s=e.src.slice(o,u),Ar[i][1].test(s)){s.length!==0&&l++;break}}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0}function vk(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(o);if(s!==35||o>=u)return!1;let i=1;for(s=e.src.charCodeAt(++o);s===35&&o<u&&i<=6;)i++,s=e.src.charCodeAt(++o);if(i>6||o<u&&!Ke(s))return!1;if(r)return!0;u=e.skipSpacesBack(u,o);const l=e.skipCharsBack(u,35,o);l>o&&Ke(e.src.charCodeAt(l-1))&&(u=l),e.line=t+1;const a=e.push("heading_open","h"+String(i),1);a.markup="########".slice(0,i),a.map=[t,e.line];const c=e.push("inline","",0);c.content=qs(e.src.slice(o,u)),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup="########".slice(0,i),!0}function xk(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let u=0,s,i=t+1;for(;i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]>=e.blkIndent){let d=e.bMarks[i]+e.tShift[i];const p=e.eMarks[i];if(d<p&&(s=e.src.charCodeAt(d),(s===45||s===61)&&(d=e.skipChars(d,s),d=e.skipSpaces(d),d>=p))){u=s===61?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let d=0,p=r.length;d<p;d++)if(r[d](e,i,n,!0)){h=!0;break}if(h)break}if(!u)return e.parentType=o,!1;const l=qs(e.getLines(t,i,e.blkIndent,!1));e.line=i+1;const a=e.push("heading_open","h"+String(u),1);a.markup=String.fromCharCode(s),a.map=[t,e.line];const c=e.push("inline","",0);c.content=l,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(u),-1);return f.markup=String.fromCharCode(s),e.parentType=o,!0}function kk(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),o=e.parentType;let u=t+1;for(e.parentType="paragraph";u<n&&!e.isEmpty(u);u++){if(e.sCount[u]-e.blkIndent>3||e.sCount[u]<0)continue;let a=!1;for(let c=0,f=r.length;c<f;c++)if(r[c](e,u,n,!0)){a=!0;break}if(a)break}const s=qs(e.getLines(t,u,e.blkIndent,!1));e.line=u;const i=e.push("paragraph_open","p",1);i.map=[t,e.line];const l=e.push("inline","",0);return l.content=s,l.map=[t,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=o,!0}const Uu=[["table",X8,["paragraph","reference"]],["code",J8],["fence",ek,["paragraph","reference","blockquote","list"]],["blockquote",tk,["paragraph","reference","blockquote","list"]],["hr",nk,["paragraph","reference","blockquote","list"]],["list",ok,["paragraph","reference","blockquote"]],["reference",uk],["html_block",_k,["paragraph","reference","blockquote"]],["heading",vk,["paragraph","reference","blockquote"]],["lheading",xk],["paragraph",kk]];function Us(){this.ruler=new Pt;for(let e=0;e<Uu.length;e++)this.ruler.push(Uu[e][0],Uu[e][1],{alt:(Uu[e][2]||[]).slice()})}Us.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),o=r.length,u=e.md.options.maxNesting;let s=t,i=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=u){e.line=n;break}const l=e.line;let a=!1;for(let c=0;c<o;c++)if(a=r[c](e,s,n,!1),a){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),s=e.line,s<n&&e.isEmpty(s)&&(i=!0,s++,e.line=s)}};Us.prototype.parse=function(e,t,n,r){if(!e)return;const o=new this.State(e,t,n,r);this.tokenize(o,o.line,o.lineMax)};Us.prototype.State=On;function _u(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}_u.prototype.pushPending=function(){const e=new cn("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};_u.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new cn(e,t,n);let o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};_u.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let o;if(e===0)o=32;else if(e===1)o=this.src.charCodeAt(0),(o&63488)===55296&&(o=65533);else if(o=this.src.charCodeAt(e-1),(o&64512)===56320){const g=this.src.charCodeAt(e-2);o=(g&64512)===55296?65536+(g-55296<<10)+(o-56320):65533}else(o&64512)===55296&&(o=65533);let u=e;for(;u<n&&this.src.charCodeAt(u)===r;)u++;const s=u-e;let i=u<n?this.src.charCodeAt(u):32;if((i&64512)===55296){const g=this.src.charCodeAt(u+1);i=(g&64512)===56320?65536+(i-55296<<10)+(g-56320):65533}else(i&64512)===56320&&(i=65533);const l=su(o)||uu(o),a=su(i)||uu(i),c=ou(o),f=ou(i),h=!f&&(!a||c||l),d=!c&&(!l||f||a);return{can_open:h&&(t||!d||l),can_close:d&&(t||!h||a),length:s}};_u.prototype.Token=cn;function Ek(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function wk(e,t){let n=e.pos;for(;n<e.posMax&&!Ek(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const Ak=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Sk(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const o=e.pending.match(Ak);if(!o)return!1;const u=o[1],s=e.md.linkify.matchAtStart(e.src.slice(n-u.length));if(!s)return!1;let i=s.url;if(i.length<=u.length)return!1;let l=i.length;for(;l>0&&i.charCodeAt(l-1)===42;)l--;l!==i.length&&(i=i.slice(0,l));const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-u.length);const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="linkify",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(i);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=i.length-u.length,!0}function Ck(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,o=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let u=r-1;for(;u>=1&&e.pending.charCodeAt(u-1)===32;)u--;e.pending=e.pending.slice(0,u),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<o&&Ke(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const ia=[];for(let e=0;e<256;e++)ia.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ia[e.charCodeAt(0)]=1});function Tk(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let o=e.src.charCodeAt(n);if(o===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(o=e.src.charCodeAt(n),!!Ke(o));)n++;return e.pos=n,!0}if(o===32){if(!t){const i=e.push("text_special","",0);i.content="\\",i.markup="\\",i.info="escape"}return e.pos=n,!0}let u=e.src[n];if(o>=55296&&o<=56319&&n+1<r){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(u+=e.src[n+1],n++)}const s="\\"+u;if(!t){const i=e.push("text_special","",0);o<256&&ia[o]!==0?i.content=u:i.content=s,i.markup=s,i.info="escape"}return e.pos=n+1,!0}function Dk(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const o=n;n++;const u=e.posMax;for(;n<u&&e.src.charCodeAt(n)===96;)n++;const s=e.src.slice(o,n),i=s.length;if(e.backticksScanned&&(e.backticks[i]||0)<=o)return t||(e.pending+=s),e.pos+=i,!0;let l=n,a;for(;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<u&&e.src.charCodeAt(l)===96;)l++;const c=l-a;if(c===i){if(!t){const f=e.push("code_inline","code",0);f.markup=s,f.content=e.src.slice(n,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=i,!0}function Ok(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const o=e.scanDelims(e.pos,!0);let u=o.length;const s=String.fromCharCode(r);if(u<2)return!1;let i;u%2&&(i=e.push("text","",0),i.content=s,u--);for(let l=0;l<u;l+=2)i=e.push("text","",0),i.content=s+s,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}function Vf(e,t){let n;const r=[],o=t.length;for(let u=0;u<o;u++){const s=t[u];if(s.marker!==126||s.end===-1)continue;const i=t[s.end];n=e.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[i.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[i.token-1].type==="text"&&e.tokens[i.token-1].content==="~"&&r.push(i.token-1)}for(;r.length;){const u=r.pop();let s=u+1;for(;s<e.tokens.length&&e.tokens[s].type==="s_close";)s++;s--,u!==s&&(n=e.tokens[s],e.tokens[s]=e.tokens[u],e.tokens[u]=n)}}function Ik(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Vf(e,t[r].delimiters)}const ch={tokenize:Ok,postProcess:Ik};function Rk(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const o=e.scanDelims(e.pos,r===42);for(let u=0;u<o.length;u++){const s=e.push("text","",0);s.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0}function Gf(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const o=t[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const u=t[o.end],s=r>0&&t[r-1].end===o.end+1&&t[r-1].marker===o.marker&&t[r-1].token===o.token-1&&t[o.end+1].token===u.token+1,i=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?i+i:i,l.content="";const a=e.tokens[u.token];a.type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?i+i:i,a.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[o.end+1].token].content="",r--)}}function Mk(e){const t=e.tokens_meta,n=e.tokens_meta.length;Gf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Gf(e,t[r].delimiters)}const fh={tokenize:Rk,postProcess:Mk};function Fk(e,t){let n,r,o,u,s="",i="",l=e.pos,a=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,h=e.pos+1,d=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(d<0)return!1;let p=d+1;if(p<f&&e.src.charCodeAt(p)===40){for(a=!1,p++;p<f&&(n=e.src.charCodeAt(p),!(!Ke(n)&&n!==10));p++);if(p>=f)return!1;if(l=p,o=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),o.ok){for(s=e.md.normalizeLink(o.str),e.md.validateLink(s)?p=o.pos:s="",l=p;p<f&&(n=e.src.charCodeAt(p),!(!Ke(n)&&n!==10));p++);if(o=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&l!==p&&o.ok)for(i=o.str,p=o.pos;p<f&&(n=e.src.charCodeAt(p),!(!Ke(n)&&n!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(a=!0),p++}if(a){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(l,p++):p=d+1):p=d+1,r||(r=e.src.slice(h,d)),u=e.env.references[Bs(r)],!u)return e.pos=c,!1;s=u.href,i=u.title}if(!t){e.pos=h,e.posMax=d;const m=e.push("link_open","a",1),g=[["href",s]];m.attrs=g,i&&g.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function Pk(e,t){let n,r,o,u,s,i,l,a,c="";const f=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const d=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(u=p+1,u<h&&e.src.charCodeAt(u)===40){for(u++;u<h&&(n=e.src.charCodeAt(u),!(!Ke(n)&&n!==10));u++);if(u>=h)return!1;for(a=u,i=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?u=i.pos:c=""),a=u;u<h&&(n=e.src.charCodeAt(u),!(!Ke(n)&&n!==10));u++);if(i=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<h&&a!==u&&i.ok)for(l=i.str,u=i.pos;u<h&&(n=e.src.charCodeAt(u),!(!Ke(n)&&n!==10));u++);else l="";if(u>=h||e.src.charCodeAt(u)!==41)return e.pos=f,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u<h&&e.src.charCodeAt(u)===91?(a=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?o=e.src.slice(a,u++):u=p+1):u=p+1,o||(o=e.src.slice(d,p)),s=e.env.references[Bs(o)],!s)return e.pos=f,!1;c=s.href,l=s.title}if(!t){r=e.src.slice(d,p);const m=[];e.md.inline.parse(r,e.md,e.env,m);const g=e.push("image","img",0),x=[["src",c],["alt",""]];g.attrs=x,g.children=m,g.content=r,l&&x.push(["title",l])}return e.pos=u,e.posMax=h,!0}const Lk=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Nk=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function $k(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;const s=e.src.charCodeAt(n);if(s===60)return!1;if(s===62)break}const u=e.src.slice(r+1,n);if(Nk.test(u)){const s=e.md.normalizeLink(u);if(!e.md.validateLink(s))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",s]],i.markup="autolink",i.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(u);const a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=u.length+2,!0}if(Lk.test(u)){const s=e.md.normalizeLink("mailto:"+u);if(!e.md.validateLink(s))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",s]],i.markup="autolink",i.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(u);const a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=u.length+2,!0}return!1}function zk(e){return/^<a[>\s]/i.test(e)}function Bk(e){return/^<\/a\s*>/i.test(e)}function qk(e){const t=e|32;return t>=97&&t<=122}function Uk(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const o=e.src.charCodeAt(r+1);if(o!==33&&o!==63&&o!==47&&!qk(o))return!1;const u=e.src.slice(r).match(bk);if(!u)return!1;if(!t){const s=e.push("html_inline","",0);s.content=u[0],zk(s.content)&&e.linkLevel++,Bk(s.content)&&e.linkLevel--}return e.pos+=u[0].length,!0}const Hk=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,jk=/^&([a-z][a-z0-9]{1,31});/i;function Vk(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const u=e.src.slice(n).match(Hk);if(u){if(!t){const s=u[1][0].toLowerCase()==="x"?parseInt(u[1].slice(1),16):parseInt(u[1],10),i=e.push("text_special","",0);i.content=ua(s)?ru(s):ru(65533),i.markup=u[0],i.info="entity"}return e.pos+=u[0].length,!0}}else{const u=e.src.slice(n).match(jk);if(u){const s=c8(u[0]);if(s!==u[0]){if(!t){const i=e.push("text_special","",0);i.content=s,i.markup=u[0],i.info="entity"}return e.pos+=u[0].length,!0}}}return!1}function Wf(e){const t={},n=e.length;if(!n)return;let r=0,o=-2;const u=[];for(let s=0;s<n;s++){const i=e[s];if(u.push(0),(e[r].marker!==i.marker||o!==i.token-1)&&(r=s),o=i.token,i.length=i.length||0,!i.close)continue;t.hasOwnProperty(i.marker)||(t[i.marker]=[-1,-1,-1,-1,-1,-1]);const l=t[i.marker][(i.open?3:0)+i.length%3];let a=r-u[r]-1,c=a;for(;a>l;a-=u[a]+1){const f=e[a];if(f.marker===i.marker&&f.open&&f.end<0){let h=!1;if((f.close||i.open)&&(f.length+i.length)%3===0&&(f.length%3!==0||i.length%3!==0)&&(h=!0),!h){const d=a>0&&!e[a-1].open?u[a-1]+1:0;u[s]=s-a+d,u[a]=d,i.open=!1,f.end=s,f.close=!1,c=-1,o=-2;break}}}c!==-1&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}function Gk(e){const t=e.tokens_meta,n=e.tokens_meta.length;Wf(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Wf(t[r].delimiters)}function Wk(e){let t,n,r=0;const o=e.tokens,u=e.tokens.length;for(t=n=0;t<u;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,o[t].type==="text"&&t+1<u&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}const Mi=[["text",wk],["linkify",Sk],["newline",Ck],["escape",Tk],["backticks",Dk],["strikethrough",ch.tokenize],["emphasis",fh.tokenize],["link",Fk],["image",Pk],["autolink",$k],["html_inline",Uk],["entity",Vk]],Fi=[["balance_pairs",Gk],["strikethrough",ch.postProcess],["emphasis",fh.postProcess],["fragments_join",Wk]];function vu(){this.ruler=new Pt;for(let e=0;e<Mi.length;e++)this.ruler.push(Mi[e][0],Mi[e][1]);this.ruler2=new Pt;for(let e=0;e<Fi.length;e++)this.ruler2.push(Fi[e][0],Fi[e][1])}vu.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,o=e.md.options.maxNesting,u=e.cache;if(typeof u[t]<"u"){e.pos=u[t];return}let s=!1;if(e.level<o){for(let i=0;i<r;i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,u[t]=e.pos};vu.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,o=e.md.options.maxNesting;for(;e.pos<r;){const u=e.pos;let s=!1;if(e.level<o){for(let i=0;i<n;i++)if(s=t[i](e,!1),s){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};vu.prototype.parse=function(e,t,n,r){const o=new this.State(e,t,n,r);this.tokenize(o);const u=this.ruler2.getRules(""),s=u.length;for(let i=0;i<s;i++)u[i](o)};vu.prototype.State=_u;function Kk(e){const t={};e=e||{},t.src_Any=Qp.source,t.src_Cc=Xp.source,t.src_Z=eh.source,t.src_P=ra.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter=`(?:(?!${n}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|${n}|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain="(?:"+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${n}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function _l(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Hs(e){return Object.prototype.toString.call(e)}function Yk(e){return Hs(e)==="[object String]"}function Zk(e){return Hs(e)==="[object Object]"}function Qk(e){return Hs(e)==="[object RegExp]"}function Kf(e){return Hs(e)==="[object Function]"}function Xk(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const dh={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Jk(e){return Object.keys(e||{}).reduce(function(t,n){return t||dh.hasOwnProperty(n)},!1)}const eE={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},tE="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",nE="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function rE(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Yf(){return function(e,t){t.normalize(e)}}function ps(e){const t=e.re=Kk(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(tE),n.push(t.src_xn),t.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function u(i,l){throw new Error(`(LinkifyIt) Invalid schema "${i}": ${l}`)}Object.keys(e.__schemas__).forEach(function(i){const l=e.__schemas__[i];if(l===null)return;const a={validate:null,link:null};if(e.__compiled__[i]=a,Zk(l)){Qk(l.validate)?a.validate=rE(l.validate):Kf(l.validate)?a.validate=l.validate:u(i,l),Kf(l.normalize)?a.normalize=l.normalize:l.normalize?u(i,l):a.normalize=Yf();return}if(Yk(l)){o.push(i);return}u(i,l)}),o.forEach(function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)}),e.__compiled__[""]={validate:null,normalize:Yf()};const s=Object.keys(e.__compiled__).filter(function(i){return i.length>0&&e.__compiled__[i]}).map(Xk).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${s})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${s})`,"ig"),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function ph(e,t,n,r){const o=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=o,this.text=o,this.url=o}function Ht(e,t){if(!(this instanceof Ht))return new Ht(e,t);t||Jk(e)&&(t=e,e={}),this.__opts__=_l({},dh,t),this.__schemas__=_l({},eE,e),this.__compiled__={},this.__tlds__=nE,this.__tlds_replaced__=!1,this.re={},ps(this)}Ht.prototype.add=function(t,n){return this.__schemas__[t]=n,ps(this),this};Ht.prototype.set=function(t){return this.__opts__=_l(this.__opts__,t),this};Ht.prototype.test=function(t){if(!t.length)return!1;let n,r;if(this.re.schema_test.test(t)){for(r=this.re.schema_search,r.lastIndex=0;(n=r.exec(t))!==null;)if(this.testSchemaAt(t,n[2],r.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};Ht.prototype.pretest=function(t){return this.re.pretest.test(t)};Ht.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Ht.prototype.match=function(t){const n=[],r=[],o=[],u=[];let s,i,l;function a(h,d){return h?d?h.index!==d.index?h.index<d.index?h:d:h.lastIndex>=d.lastIndex?h:d:h:d}if(!t.length)return null;if(this.re.schema_test.test(t))for(l=this.re.schema_search,l.lastIndex=0;(s=l.exec(t))!==null;)i=this.testSchemaAt(t,s[2],l.lastIndex),i&&r.push({schema:s[2],index:s.index+s[1].length,lastIndex:s.index+s[0].length+i});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(l=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,l.lastIndex=0;(s=l.exec(t))!==null;)o.push({schema:"",index:s.index+s[1].length,lastIndex:s.index+s[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(l=this.re.email_fuzzy_global,l.lastIndex=0;(s=l.exec(t))!==null;)u.push({schema:"mailto:",index:s.index+s[1].length,lastIndex:s.index+s[0].length});const c=[0,0,0];let f=0;for(;;){const h=[r[c[0]],u[c[1]],o[c[2]]],d=a(a(h[0],h[1]),h[2]);if(!d)break;if(d===h[0]?c[0]++:d===h[1]?c[1]++:c[2]++,d.index<f)continue;const p=new ph(t,d.schema,d.index,d.lastIndex);this.__compiled__[p.schema].normalize(p,this),n.push(p),f=d.lastIndex}return n.length?n:null};Ht.prototype.matchAtStart=function(t){if(!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);if(!r)return null;const o=new ph(t,n[2],n.index+n[1].length,n.index+n[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};Ht.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,u){return r!==u[o-1]}).reverse(),ps(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,ps(this),this)};Ht.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url=`mailto:${t.url}`)};Ht.prototype.onCompile=function(){};const oo=2147483647,vn=36,la=1,iu=26,oE=38,uE=700,hh=72,mh=128,gh="-",sE=/^xn--/,iE=/[^\0-\x7F]/,lE=/[\x2E\u3002\uFF0E\uFF61]/g,aE={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Pi=vn-la,xn=Math.floor,Li=String.fromCharCode;function lr(e){throw new RangeError(aE[e])}function cE(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function bh(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(lE,".");const o=e.split("."),u=cE(o,t).join(".");return r+u}function yh(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const u=e.charCodeAt(n++);(u&64512)==56320?t.push(((o&1023)<<10)+(u&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}const fE=e=>String.fromCodePoint(...e),dE=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:vn},Zf=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},_h=function(e,t,n){let r=0;for(e=n?xn(e/uE):e>>1,e+=xn(e/t);e>Pi*iu>>1;r+=vn)e=xn(e/Pi);return xn(r+(Pi+1)*e/(e+oE))},vh=function(e){const t=[],n=e.length;let r=0,o=mh,u=hh,s=e.lastIndexOf(gh);s<0&&(s=0);for(let i=0;i<s;++i)e.charCodeAt(i)>=128&&lr("not-basic"),t.push(e.charCodeAt(i));for(let i=s>0?s+1:0;i<n;){const l=r;for(let c=1,f=vn;;f+=vn){i>=n&&lr("invalid-input");const h=dE(e.charCodeAt(i++));h>=vn&&lr("invalid-input"),h>xn((oo-r)/c)&&lr("overflow"),r+=h*c;const d=f<=u?la:f>=u+iu?iu:f-u;if(h<d)break;const p=vn-d;c>xn(oo/p)&&lr("overflow"),c*=p}const a=t.length+1;u=_h(r-l,a,l==0),xn(r/a)>oo-o&&lr("overflow"),o+=xn(r/a),r%=a,t.splice(r++,0,o)}return String.fromCodePoint(...t)},xh=function(e){const t=[];e=yh(e);const n=e.length;let r=mh,o=0,u=hh;for(const l of e)l<128&&t.push(Li(l));const s=t.length;let i=s;for(s&&t.push(gh);i<n;){let l=oo;for(const c of e)c>=r&&c<l&&(l=c);const a=i+1;l-r>xn((oo-o)/a)&&lr("overflow"),o+=(l-r)*a,r=l;for(const c of e)if(c<r&&++o>oo&&lr("overflow"),c===r){let f=o;for(let h=vn;;h+=vn){const d=h<=u?la:h>=u+iu?iu:h-u;if(f<d)break;const p=f-d,m=vn-d;t.push(Li(Zf(d+p%m,0))),f=xn(p/m)}t.push(Li(Zf(f,0))),u=_h(o,a,i===s),o=0,++i}++o,++r}return t.join("")},pE=function(e){return bh(e,function(t){return sE.test(t)?vh(t.slice(4).toLowerCase()):t})},hE=function(e){return bh(e,function(t){return iE.test(t)?"xn--"+xh(t):t})},kh={version:"2.3.1",ucs2:{decode:yh,encode:fE},decode:vh,encode:xh,toASCII:hE,toUnicode:pE},mE={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},gE={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},bE={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},yE={default:mE,zero:gE,commonmark:bE},_E=/^(vbscript|javascript|file|data):/,vE=/^data:image\/(gif|png|jpeg|webp);/;function xE(e){const t=e.trim().toLowerCase();return _E.test(t)?vE.test(t):!0}const Eh=["http:","https:","mailto:"];function kE(e){const t=na(e,!0);if(t.hostname&&(!t.protocol||Eh.indexOf(t.protocol)>=0))try{t.hostname=kh.toASCII(t.hostname)}catch{}return yu(ta(t))}function EE(e){const t=na(e,!0);if(t.hostname&&(!t.protocol||Eh.indexOf(t.protocol)>=0))try{t.hostname=kh.toUnicode(t.hostname)}catch{}return ao(ta(t),ao.defaultChars+"%")}function Kt(e,t){if(!(this instanceof Kt))return new Kt(e,t);t||oa(e)||(t=e||{},e="default"),this.inline=new vu,this.block=new Us,this.core=new sa,this.renderer=new bo,this.linkify=new Ht,this.validateLink=xE,this.normalizeLink=kE,this.normalizeLinkText=EE,this.utils=S8,this.helpers=zs({},O8),this.options={},this.configure(e),t&&this.set(t)}Kt.prototype.set=function(e){return zs(this.options,e),this};Kt.prototype.configure=function(e){const t=this;if(oa(e)){const n=e;if(e=yE[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Kt.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Kt.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Kt.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Kt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Kt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Kt.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Kt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const wE="data:image/",fo=new Kt({html:!1,linkify:!0,breaks:!0}),AE=fo.renderer.rules.link_open??((e,t,n,r,o)=>o.renderToken(e,t,n));fo.renderer.rules.link_open=(e,t,n,r,o)=>(e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),AE(e,t,n,r,o));const SE=fo.renderer.rules.image??((e,t,n,r,o)=>o.renderToken(e,t,n));fo.renderer.rules.image=(e,t,n,r,o)=>(e[t].attrGet("src")??"").startsWith(wE)?SE(e,t,n,r,o):fo.utils.escapeHtml(e[t].content);function CE(e){return $4.sanitize(fo.render(e??""),{ADD_ATTR:["target"]})}const TE=["innerHTML"],DE=xe({__name:"MarkdownContent",props:{content:{}},setup(e){const t=e,n=M(()=>CE(t.content));return(r,o)=>(O(),j("div",{class:"markdown-body",innerHTML:n.value},null,8,TE))}});function vl(e){if(e===void 0)return"";if(typeof e=="string")return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}const OE=["data-status"],IE=["aria-expanded"],RE={class:"tool-text"},ME={class:"tool-name"},FE={key:0,class:"tool-summary"},PE=["data-status"],LE={class:"tool-toggle"},NE={key:0,class:"tool-body"},$E={key:0,class:"tool-section"},zE={class:"tool-pre"},BE={key:1,class:"tool-section"},qE={class:"tool-pre"},UE=xe({__name:"ToolCallEntry",props:{message:{}},setup(e){const t=e,n=V(!1),r={[et.PENDING]:xi.PENDING,[et.SUCCESS]:xi.SUCCESS,[et.ERROR]:xi.ERROR},o=M(()=>r[t.message.status]??t.message.status),u=M(()=>t.message.toolName.length>0?jp(t.message.toolName):"Tool"),s=M(()=>Hp(t.message.toolName,t.message.args)),i=M(()=>vl(t.message.args)),l=M(()=>vl(t.message.result));function a(){n.value=!n.value}return(c,f)=>(O(),j("article",{class:"tool-entry","data-status":e.message.status},[F("button",{type:"button",class:"tool-header","aria-expanded":n.value,onClick:a},[f[0]||(f[0]=F("span",{class:"tool-icon","aria-hidden":"true"},[F("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M14.7 6.3a4 4 0 0 0-5.6 5.6l-6 6a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l6-6a4 4 0 0 0 5.6-5.6l-2.5 2.5-2-2 2.5-2.5z"})])],-1)),F("span",RE,[F("span",ME,oe(u.value),1),s.value.length>0?(O(),j("span",FE,oe(s.value),1)):ke("",!0)]),F("span",{class:"tool-status","data-status":e.message.status},oe(o.value),9,PE),F("span",LE,oe(n.value?"▾":"▸"),1)],8,IE),n.value?(O(),j("div",NE,[i.value.length>0?(O(),j("section",$E,[f[1]||(f[1]=F("h4",{class:"tool-section-title"},"args",-1)),F("pre",zE,oe(i.value),1)])):ke("",!0),l.value.length>0?(O(),j("section",BE,[f[2]||(f[2]=F("h4",{class:"tool-section-title"},"result",-1)),F("pre",qE,oe(l.value),1)])):ke("",!0)])):ke("",!0)],8,OE))}}),wh=an(UE,[["__scopeId","data-v-172d1370"]]),HE=["data-status"],jE=["aria-expanded"],VE={class:"cluster-toggle"},GE=["data-status"],WE={key:0,class:"cluster-spin",viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},KE={key:1,viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},YE={key:2,viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},ZE={class:"cluster-count"},QE={key:0,class:"cluster-headline"},XE={key:0,class:"cluster-body"},JE=xe({__name:"ToolCluster",props:{tools:{},live:{type:Boolean}},setup(e){const t=e,n=V(null),r=V(!1),o=V(!1);let u=null;Ye(()=>t.live,(b,k)=>{if(b){o.value=!1,u!==null&&clearTimeout(u),u=null;return}k&&(o.value=!0,u!==null&&clearTimeout(u),u=setTimeout(()=>{o.value=!1,u=null},p6))}),gr(()=>{u!==null&&clearTimeout(u)});const s=M(()=>t.tools.some(b=>b.status===et.PENDING)?et.PENDING:t.tools.some(b=>b.status===et.ERROR)?et.ERROR:et.SUCCESS),i=M(()=>t.tools.some(b=>b.status===et.ERROR)),l=M(()=>t.live||o.value||i.value),a=M(()=>n.value!==null?n.value:l.value),c=M(()=>n.value===!0||r.value),f=M(()=>c.value?t.tools:t.tools.slice(-3)),h=M(()=>t.tools.length-f.value.length),d=M(()=>t.live?et.PENDING:s.value),p=M(()=>{const b=t.tools.find(k=>k.status===et.PENDING)??t.tools.at(-1);return b===void 0?"":Hp(b.toolName,b.args)}),m=M(()=>`${d6} ${t.tools.length} tools`);function g(){n.value=!a.value}function x(){r.value=!0}return(b,k)=>(O(),j("section",{class:"tool-cluster","data-status":s.value},[F("button",{type:"button",class:"cluster-header","aria-expanded":a.value,onClick:g},[F("span",VE,oe(a.value?"▾":"▸"),1),F("span",{class:"cluster-glyph","data-status":d.value,"aria-hidden":"true"},[d.value==="pending"?(O(),j("svg",WE,[...k[0]||(k[0]=[F("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):d.value==="error"?(O(),j("svg",KE,[...k[1]||(k[1]=[F("path",{d:"M18 6 6 18M6 6l12 12"},null,-1)])])):(O(),j("svg",YE,[...k[2]||(k[2]=[F("path",{d:"M20 6 9 17l-5-5"},null,-1)])]))],8,GE),F("span",ZE,oe(m.value),1),!a.value&&p.value.length>0?(O(),j("span",QE,oe(p.value),1)):ke("",!0)],8,jE),a.value?(O(),j("div",XE,[h.value>0?(O(),j("button",{key:0,type:"button",class:"cluster-earlier",onClick:x}," ▴ "+oe(h.value)+" earlier ",1)):ke("",!0),(O(!0),j(Fe,null,wt(f.value,y=>(O(),ce(wh,{key:y.id,message:y},null,8,["message"]))),128))])):ke("",!0)],8,HE))}}),e5=an(JE,[["__scopeId","data-v-20dab846"]]),t5={class:"message-list"},n5={key:0,class:"message-item","data-role":"tool"},r5=["data-role"],o5={class:"message-meta"},u5={class:"message-role"},s5={class:"message-time"},i5={key:0,class:"message-bubble message-bubble-user"},l5={key:1,class:"msg-attachments"},a5=["src","alt"],c5={class:"msg-att-name"},f5={class:"msg-att-size"},d5={key:1,class:"message-bubble message-bubble-error",role:"alert"},p5={class:"error-text"},h5={key:0,class:"message-item","data-role":"assistant"},m5={class:"run-stalled",role:"alert"},g5={key:1,class:"message-item","data-role":"assistant"},b5={class:"thinking","aria-live":"polite"},y5={class:"thinking-label"},_5={class:"thinking-clock"},v5={key:0,class:"thinking-quiet"},x5=xe({__name:"MessageList",props:{messages:{},isRunning:{type:Boolean},progress:{},nowMs:{},isStalled:{type:Boolean},stalledForMs:{}},emits:["retry","reconnect","stop"],setup(e,{emit:t}){const n=e,r=t,o={[Ve.USER]:zu.USER,[Ve.ERROR]:zu.ERROR,[Ve.ASSISTANT]:zu.ASSISTANT,[Ve.TOOL]:zu.TOOL},u=M(()=>{const m=[];let g=[];const x=()=>{g.length!==0&&(m.push({kind:"tools",key:`tools-${g[0].id}`,tools:g}),g=[])};for(const b of n.messages){if(Wp(b)){x();continue}if(b.role===Ve.TOOL){g=[...g,b];continue}x(),m.push({kind:"message",key:b.id,message:b})}return x(),m}),s=M(()=>{for(let m=u.value.length-1;m>=0;m--){const g=u.value[m];if(g.kind==="tools")return g.key}return null}),i=M(()=>{var g;if(!n.isRunning)return!1;if(((g=n.progress)==null?void 0:g.activity)!==Gt.RESPONDING)return!0;const m=n.messages.at(-1);return m===void 0||m.role!==Ve.ASSISTANT}),l=M(()=>Zx(n.progress)),a=M(()=>wi(Qx(n.progress,n.nowMs))),c=M(()=>Xx(n.progress,n.nowMs)?`${Lx} ${wi(Gp(n.progress,n.nowMs))}`:""),f=M(()=>{const m=n.messages.at(-1);return(m==null?void 0:m.role)===Ve.ERROR?m.id:null});function h(m){return o[m]??m}function d(m){return m.role!==Ve.USER?[]:m.attachments??[]}function p(m){return new Date(m).toLocaleTimeString()}return(m,g)=>{const x=Un;return O(),j("ol",t5,[(O(!0),j(Fe,null,wt(u.value,b=>(O(),j(Fe,{key:b.key},[b.kind==="tools"?(O(),j("li",n5,[b.tools.length>1?(O(),ce(e5,{key:0,tools:b.tools,live:e.isRunning&&b.key===s.value},null,8,["tools","live"])):(O(),ce(wh,{key:1,message:b.tools[0]},null,8,["message"]))])):(O(),j("li",{key:1,class:"message-item","data-role":b.message.role},[F("header",o5,[F("span",u5,oe(h(b.message.role)),1),F("span",s5,oe(p(b.message.timestampMs)),1)]),b.message.role===_(Ve).USER?(O(),j(Fe,{key:0},[b.message.content?(O(),j("p",i5,oe(b.message.content),1)):ke("",!0),d(b.message).length>0?(O(),j("ul",l5,[(O(!0),j(Fe,null,wt(d(b.message),(k,y)=>(O(),j("li",{key:y,class:"msg-att"},[_(Bp)(k.mimeType)&&k.dataUrl?(O(),j("img",{key:0,src:k.dataUrl,alt:k.name,class:"msg-att-thumb"},null,8,a5)):(O(),j(Fe,{key:1},[be(x,{name:_($p),class:"size-[15px]"},null,8,["name"]),F("span",c5,oe(k.name),1),F("span",f5,oe(_(qp)(k.size)),1)],64))]))),128))])):ke("",!0)],64)):b.message.role===_(Ve).ERROR?(O(),j("div",d5,[F("p",p5,oe(b.message.content),1),!e.isRunning&&b.message.isRetryable&&b.message.id===f.value?(O(),j("button",{key:0,type:"button",class:"run-action",onClick:g[0]||(g[0]=k=>r("retry"))},oe(_(f6)),1)):ke("",!0)])):(O(),ce(DE,{key:2,class:"message-bubble message-bubble-assistant",content:b.message.content},null,8,["content"]))],8,r5))],64))),128)),e.isStalled?(O(),j("li",h5,[F("div",m5,[F("span",null,oe(_(Px))+" "+oe(_(wi)(e.stalledForMs))+".",1),F("button",{type:"button",class:"run-action",onClick:g[1]||(g[1]=b=>r("reconnect"))},oe(_(Nx)),1),F("button",{type:"button",class:"run-action",onClick:g[2]||(g[2]=b=>r("stop"))},oe(_($x)),1)])])):i.value?(O(),j("li",g5,[F("div",b5,[F("span",y5,oe(l.value),1),g[3]||(g[3]=F("span",{class:"thinking-dots"},[F("i"),F("i"),F("i")],-1)),F("span",_5,oe(a.value),1),c.value?(O(),j("span",v5,oe(c.value),1)):ke("",!0)])])):ke("",!0)])}}}),k5=an(x5,[["__scopeId","data-v-171b3770"]]),Uo={ALLOW_ONCE:"allow_once",ALLOW_SESSION:"allow_session",DENY:"deny"},E5=[{label:"Approve once",decision:Uo.ALLOW_ONCE,variant:"primary"},{label:"Approve session",decision:Uo.ALLOW_SESSION,variant:"secondary"},{label:"Deny",decision:Uo.DENY,variant:"danger"}],Qf={TOOL_NAME:"Tool",SUMMARY:"Action",ARGS_TOGGLE_SHOW:"Show details",ARGS_TOGGLE_HIDE:"Hide details",ARGS_HEADING:"Arguments"},Hu={HEADING_ONE:"Permission required",HEADING_MANY:"Permissions required",APPLY_ALL:"Allow all",DENY_ALL:"Deny all"},w5=["aria-label"],A5={class:"perm-tray-head"},S5={class:"perm-tray-title"},C5={key:0,class:"perm-bulk"},T5={class:"perm-card-top"},D5={class:"perm-card-text"},O5={class:"perm-tool"},I5={class:"perm-summary"},R5=["aria-expanded","onClick"],M5={key:1,class:"perm-args-pre"},F5={class:"perm-actions"},P5=["data-variant","onClick"],L5=xe({__name:"PermissionRequests",props:{requests:{}},emits:["decide","decideAll"],setup(e,{emit:t}){const n=e,r=t,o=V(new Set),u=M(()=>n.requests.length>1?Hu.HEADING_MANY:Hu.HEADING_ONE),s=M(()=>n.requests.length>1),i=M(()=>{const d={};for(const p of n.requests)d[p.requestId]=vl(p.args);return d});function l(d){return o.value.has(d)}function a(d){const p=new Set(o.value);p.has(d)?p.delete(d):p.add(d),o.value=p}function c(d,p){r("decide",d,p)}function f(){r("decideAll",Uo.ALLOW_ONCE)}function h(){r("decideAll",Uo.DENY)}return(d,p)=>(O(),j("section",{class:"perm-tray",role:"group","aria-label":u.value},[F("header",A5,[F("span",S5,oe(u.value),1),s.value?(O(),j("div",C5,[F("button",{type:"button",class:"perm-bulk-btn deny",onClick:h},oe(_(Hu).DENY_ALL),1),F("button",{type:"button",class:"perm-bulk-btn allow",onClick:f},oe(_(Hu).APPLY_ALL),1)])):ke("",!0)]),(O(!0),j(Fe,null,wt(e.requests,m=>(O(),j("article",{key:m.requestId,class:"perm-card"},[F("div",T5,[p[0]||(p[0]=F("span",{class:"perm-icon","aria-hidden":"true"},[F("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M14.7 6.3a4 4 0 0 0-5.6 5.6l-6 6a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l6-6a4 4 0 0 0 5.6-5.6l-2.5 2.5-2-2 2.5-2.5z"})])],-1)),F("div",D5,[F("span",O5,oe(m.toolName),1),F("span",I5,oe(m.summary),1)])]),i.value[m.requestId].length>0?(O(),j("button",{key:0,type:"button",class:"perm-args-toggle","aria-expanded":l(m.requestId),onClick:g=>a(m.requestId)},oe(l(m.requestId)?_(Qf).ARGS_TOGGLE_HIDE:_(Qf).ARGS_TOGGLE_SHOW),9,R5)):ke("",!0),l(m.requestId)?(O(),j("pre",M5,oe(i.value[m.requestId]),1)):ke("",!0),F("footer",F5,[(O(!0),j(Fe,null,wt(_(E5),g=>(O(),j("button",{key:g.decision,type:"button",class:"perm-button","data-variant":g.variant,onClick:x=>c(m.requestId,g.decision)},oe(g.label),9,P5))),128))])]))),128))],8,w5))}}),N5=an(L5,[["__scopeId","data-v-60a55cd2"]]),$5={class:"q-tray",role:"group","aria-label":"Question from the assistant"},z5={class:"q-header"},B5={class:"q-question"},q5={class:"q-options"},U5=["data-selected","title","onClick"],H5={class:"q-option-label"},j5={class:"q-option-desc"},V5={class:"q-other"},G5=["data-selected","onClick"],W5=["onInput","onKeydown"],K5={class:"q-actions"},Y5=["disabled","onClick"],Z5=xe({__name:"QuestionPrompt",props:{requests:{}},emits:["answer"],setup(e,{emit:t}){const n=e,r=t,o=Vn({});function u(m,g){return`${m}#${g}`}function s(m,g){const x=u(m,g),b=o[x];if(b!==void 0)return b;const k={mode:"option",option:"",other:""};return o[x]=k,k}function i(m,g){const x=o[u(m,g)];return x===void 0?"":x.mode==="other"?x.other.trim():x.option}function l(m,g,x){const b=o[u(m,g)];return(b==null?void 0:b.mode)==="option"&&b.option===x}function a(m,g){var x;return((x=o[u(m,g)])==null?void 0:x.mode)==="other"}function c(m,g,x){const b=s(m,g);b.mode="option",b.option=x}function f(m,g){s(m,g).mode="other"}function h(m,g,x){s(m,g).other=x.target.value}const d=M(()=>{const m={};for(const g of n.requests)m[g.requestId]=g.questions.every((x,b)=>i(g.requestId,b).length>0);return m});function p(m){if(!d.value[m.requestId])return;const g=m.questions.map((x,b)=>i(m.requestId,b));r("answer",m.requestId,g)}return(m,g)=>(O(),j("section",$5,[(O(!0),j(Fe,null,wt(e.requests,x=>(O(),j("article",{key:x.requestId,class:"q-card"},[(O(!0),j(Fe,null,wt(x.questions,(b,k)=>(O(),j("div",{key:k,class:"q-block"},[F("span",z5,oe(b.header),1),F("p",B5,oe(b.question),1),F("div",q5,[(O(!0),j(Fe,null,wt(b.options,y=>(O(),j("button",{key:y.label,type:"button",class:"q-option","data-selected":l(x.requestId,k,y.label),title:y.description,onClick:S=>c(x.requestId,k,y.label)},[F("span",H5,oe(y.label),1),F("span",j5,oe(y.description),1)],8,U5))),128)),F("div",V5,[F("button",{type:"button",class:"q-option q-other-toggle","data-selected":a(x.requestId,k),onClick:y=>f(x.requestId,k)},[...g[0]||(g[0]=[F("span",{class:"q-option-label"},"Other…",-1)])],8,G5),a(x.requestId,k)?(O(),j("input",{key:0,type:"text",class:"q-other-input",placeholder:"Type a custom answer",onInput:y=>h(x.requestId,k,y),onKeydown:Ug(Ir(y=>p(x),["prevent"]),["enter"])},null,40,W5)):ke("",!0)])])]))),128)),F("footer",K5,[F("button",{type:"button",class:"q-send",disabled:!d.value[x.requestId],onClick:b=>p(x)}," Send answer ",8,Y5)])]))),128))]))}}),Q5=an(Z5,[["__scopeId","data-v-65ff17cc"]]),X5={class:"queued","aria-label":"Queued messages"},J5={class:"queued-text"},ew={key:0,class:"queued-att"},tw=["onClick"],nw=xe({__name:"QueuedMessages",props:{queue:{}},emits:["cancel"],setup(e){function t(n){const r=n.attachments.length;return r===0?"":r===1?"1 file":`${r} files`}return(n,r)=>{const o=Un;return O(),j("ul",X5,[(O(!0),j(Fe,null,wt(e.queue,u=>(O(),j("li",{key:u.id,class:"queued-item"},[r[0]||(r[0]=F("span",{class:"queued-tag","aria-hidden":"true"},"Queued",-1)),F("span",J5,oe(u.content),1),t(u).length>0?(O(),j("span",ew,oe(t(u)),1)):ke("",!0),F("button",{type:"button",class:"queued-cancel","aria-label":"Cancel queued message",title:"Cancel",onClick:s=>n.$emit("cancel",u.id)},[be(o,{name:_(Np),class:"size-[13px]"},null,8,["name"])],8,tw)]))),128))])}}}),rw=an(nw,[["__scopeId","data-v-c80ebf28"]]),ow=["data-complete"],uw=["aria-expanded"],sw={class:"todo-toggle"},iw={class:"todo-title"},lw={key:0,class:"todo-active"},aw={class:"todo-count"},cw={class:"todo-track","aria-hidden":"true"},fw=["data-status"],dw=["data-status"],pw={key:0,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},hw={key:1,class:"todo-spin",viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},mw={key:2,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2"},gw={class:"todo-text"},bw=2,yw=xe({__name:"TodoList",props:{todos:{},isRunning:{type:Boolean}},setup(e){const t=e,n=V(!0),r=V(null),o=M(()=>t.todos.findIndex(h=>h.status===Bn.IN_PROGRESS));async function u(){if(!n.value||o.value<0)return;await pt();const h=r.value;if(h===null)return;const d=h.children[o.value];if(d===void 0)return;const p=h.getBoundingClientRect(),m=d.getBoundingClientRect(),g=m.height+bw;m.top<p.top+g?h.scrollTop+=m.top-p.top-g:m.bottom>p.bottom-g&&(h.scrollTop+=m.bottom-p.bottom+g)}Ye(()=>[t.todos,n.value],()=>{u()}),At(()=>{u()});const s=M(()=>t.todos.filter(h=>h.status===Bn.COMPLETED).length),i=M(()=>t.todos.length>0&&s.value===t.todos.length),l=M(()=>t.todos.length===0?0:Math.round(s.value/t.todos.length*100)),a=M(()=>{const h=t.todos.find(p=>p.status===Bn.IN_PROGRESS);if(h!==void 0)return h.activeForm;if(i.value)return"";const d=t.todos.find(p=>p.status===Bn.PENDING);return(d==null?void 0:d.content)??""});function c(){n.value=!n.value}function f(h){return h.status===Bn.IN_PROGRESS?h.activeForm:h.content}return(h,d)=>(O(),j("section",{class:"todo-dock","data-complete":i.value},[F("button",{type:"button",class:"todo-head","aria-expanded":n.value,onClick:c},[F("span",sw,oe(n.value?"▾":"▸"),1),F("span",iw,oe(_(u6)),1),!n.value&&a.value.length>0?(O(),j("span",lw,oe(a.value),1)):ke("",!0),F("span",aw,oe(s.value)+"/"+oe(e.todos.length),1)],8,uw),F("div",cw,[F("div",{class:"todo-fill",style:Zn({width:`${l.value}%`})},null,4)]),n.value?(O(),j("ul",{key:0,ref_key:"itemsEl",ref:r,class:"todo-items"},[(O(!0),j(Fe,null,wt(e.todos,(p,m)=>(O(),j("li",{key:m,class:"todo-item","data-status":p.status},[F("span",{class:"todo-glyph","data-status":p.status,"aria-hidden":"true"},[p.status==="completed"?(O(),j("svg",pw,[...d[0]||(d[0]=[F("path",{d:"M20 6 9 17l-5-5"},null,-1)])])):p.status==="in_progress"&&e.isRunning?(O(),j("svg",hw,[...d[1]||(d[1]=[F("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):(O(),j("svg",mw,[...d[2]||(d[2]=[F("circle",{cx:"12",cy:"12",r:"8"},null,-1)])]))],8,dw),F("span",gw,oe(f(p)),1)],8,fw))),128))],512)):ke("",!0)],8,ow))}}),_w=an(yw,[["__scopeId","data-v-0aa1c3bc"]]);function ln(){return $s()}function Xf(e,t){return{id:ln(),role:Ve.USER,content:e,attachments:t,timestampMs:Date.now()}}function vw(e,t){return t?e:{...e,isUnsent:!0}}function xw(e){return{id:ln(),role:Ve.ASSISTANT,content:e,timestampMs:Date.now()}}function kw(e){return{id:ln(),role:Ve.TOOL,callId:e.callId,toolName:e.toolName,args:e.args,status:et.PENDING,timestampMs:Date.now()}}function Ew(e,t){const n=e.at(-1);if(n!==void 0&&n.role===Ve.ASSISTANT){const r={...n,content:n.content+t};return[...e.slice(0,-1),r]}return[...e,xw(t)]}function ww(e,t){return e.some(r=>r.role===Ve.TOOL&&r.callId===t.callId)?e.map(r=>r.role!==Ve.TOOL||r.callId!==t.callId?r:{...r,toolName:t.toolName,args:t.args,status:et.PENDING}):[...e,kw(t)]}function Aw(e,t){return e.map(n=>n.role!==Ve.TOOL||n.callId!==t.callId?n:{...n,status:t.status,result:t.result})}function Sw(e){return e===et.SUCCESS?et.SUCCESS:e===et.ERROR?et.ERROR:et.PENDING}function Ah(e){try{return JSON.parse(e)}catch{return e}}function Cw(e){return{id:ln(),role:Ve.USER,content:e.content,attachments:e.attachments,timestampMs:e.timestampMs}}function Tw(e){return{id:ln(),role:Ve.ASSISTANT,content:e.content,timestampMs:e.timestampMs}}function Dw(e){return e.callId===void 0||e.toolName===void 0?null:{id:ln(),role:Ve.TOOL,callId:e.callId,toolName:e.toolName,args:Ah(e.content),status:et.PENDING,timestampMs:e.timestampMs}}function Ow(e,t,n){if(n.callId===void 0)return;const r=Ah(n.content),o=Sw(n.status),u=t.get(n.callId);if(u!==void 0){u.result=r,u.status=o;return}e.push({id:ln(),role:Ve.TOOL,callId:n.callId,toolName:"",args:void 0,result:r,status:o,timestampMs:n.timestampMs})}function Iw(e,t,n){if(n.role===Ve.USER){e.push(Cw(n));return}if(n.role===r6){e.push(Sh(n.content,n.isRetryable??!0,n.timestampMs));return}if(n.role===Ve.ASSISTANT){e.push(Tw(n));return}if(n.role===t6){const r=Dw(n);if(r===null)return;e.push(r),t.set(r.callId,r);return}n.role===n6&&Ow(e,t,n)}function Rw(e){const t=[],n=new Map;for(const r of e)Iw(t,n,r);return Ch(t)}function Sh(e,t,n=Date.now()){return{id:ln(),role:Ve.ERROR,content:e,isRetryable:t,timestampMs:n}}function Jf(e){return e.role===Ve.TOOL&&e.status===et.PENDING}function Ch(e){return e.some(Jf)?e.map(t=>Jf(t)?{...t,status:et.ERROR,result:c6}:t):e}function Mw(e){return{activity:Kx(e.activity),detail:e.detail,elapsedMs:e.elapsedMs,idleMs:e.idleMs,receivedAtMs:Date.now()}}function Fw(e){return e.role===Ve.USER}function Pw(e){const t=e??[];return t.some(n=>!n.dataUrl)?null:t.map(n=>({id:ln(),name:n.name,mimeType:n.mimeType,size:n.size,data:Up(n.dataUrl??""),dataUrl:n.dataUrl??""}))}function Th(e){return e!==null&&typeof e=="object"}function Lw(e){if(!Th(e))return null;const t=e.type;return typeof t=="string"?t:null}function Nw(e){if(!Th(e))return null;const t=e.conversationId;return typeof t=="string"?t:null}function $w(e){return{requestId:e.requestId,conversationId:e.conversationId,toolName:e.toolName,args:e.args,summary:e.summary}}function zw(e){return{requestId:e.requestId,conversationId:e.conversationId,questions:e.questions}}function Bw(e){const t=e.activeId,n=V([]),r=V(!1),o=V([]),u=V(null),s=V(!1),i=V(Date.now()),l=(w,C=!0)=>{n.value=[...n.value,Sh(w,C)]},a=()=>{s.value=!0,i.value=Date.now()},c=()=>{n.value=Ch(n.value),u.value=null,s.value=!1},f=(w,C,T)=>{const $=C.map(ie=>({name:ie.name,mimeType:ie.mimeType,size:ie.size,dataUrl:ie.dataUrl})),G=Xf(w,$.length>0?$:void 0);n.value=[...n.value,vw(G,T)]},h=(w,C)=>e.send({type:tn.USER_MESSAGE,conversationId:t.value,content:w,...C.length>0?{attachments:C.map(T=>({name:T.name,mimeType:T.mimeType,size:T.size,data:T.data}))}:{}}),d=()=>{r.value=o.value.length>0},p={[Ot.ASSISTANT_MESSAGE_CHUNK]:w=>{n.value=Ew(n.value,w.text)},[Ot.TOOL_CALL_START]:w=>{n.value=ww(n.value,w)},[Ot.TOOL_CALL_END]:w=>{n.value=Aw(n.value,w)},[Ot.RUN_DONE]:w=>{c(),d()},[Ot.RUN_RESUMED]:w=>{r.value=!0,a()},[Ot.RUN_ERROR]:w=>{c(),l(w.error,w.isRetryable??!0),d()},[Ot.RUN_PROGRESS]:w=>{u.value=Mw(w),r.value=!0,s.value=!0},[Ot.CONVERSATION_SNAPSHOT]:w=>{n.value=Rw(w.messages),r.value=!1,u.value=null,s.value=!1},[Ot.PERMISSION_REQUEST]:w=>{e.onPermissionRequest!==void 0&&e.onPermissionRequest($w(w))},[Ot.ASK_QUESTION]:w=>{e.onQuestionRequest!==void 0&&e.onQuestionRequest(zw(w))},[Ot.QUEUE_STATE]:w=>{o.value=w.items.map(C=>({id:C.id,content:C.content,attachments:(C.attachments??[]).map(T=>({id:ln(),name:T.name,mimeType:T.mimeType,size:T.size,data:T.data,dataUrl:`data:${T.mimeType};base64,${T.data}`}))}))},[Ot.USER_MESSAGE_ECHO]:w=>{const C=(w.attachments??[]).map(T=>({name:T.name,mimeType:T.mimeType,size:T.size,dataUrl:""}));n.value=[...n.value,Xf(w.content,C.length>0?C:void 0)]}},m=w=>{const C=Lw(w);if(C===null)return;const T=p[C];if(T===void 0)return;const $=Nw(w);$!==null&&$!==t.value||(i.value=Date.now(),T(w))};e.onMessage(m);const g=w=>w.map(C=>({name:C.name,mimeType:C.mimeType,size:C.size,data:C.data})),x=(w,C=[])=>{const T=w.trim();if(T.length===0&&C.length===0)return;if(r.value){const G=g(C);e.send({type:tn.QUEUE_ENQUEUE,conversationId:t.value,item:{id:ln(),content:T,...G.length>0?{attachments:G}:{}}})||l(lf);return}const $=h(T,C);if(f(T,C,$),!$){l(lf);return}r.value=!0,a()};return{messages:n,isRunning:r,queued:o,progress:u,isTurnInFlight:s,lastEventAtMs:i,sendUserMessage:x,retry:()=>{const w=n.value.findLast(Fw);if(w===void 0)return;const C=Pw(w.attachments);if(C===null){l(l6,!1);return}w.isUnsent===!0&&(n.value=n.value.filter(T=>T.id!==w.id)),x(w.content,C)},cancelQueued:w=>{e.send({type:tn.QUEUE_CANCEL,conversationId:t.value,id:w})},interrupt:()=>{!r.value||e.send({type:tn.INTERRUPT_TURN,conversationId:t.value})||(c(),r.value=!1,l(a6))},reset:()=>{n.value=[],r.value=!1,o.value=[],u.value=null,s.value=!1}}}function qw(e){return e!==null&&typeof e=="object"}function Uw(e){if(!qw(e))return null;const t=e.type;return typeof t=="string"?t:null}function Hw(e){const t=V([]);return e.onMessage(o=>{Uw(o)===Ot.CONVERSATION_LIST&&(t.value=o.conversations)}),{conversations:t,refresh:()=>{e.send({type:tn.LIST_CONVERSATIONS})},remove:o=>{e.send({type:tn.DELETE_CONVERSATION,conversationId:o})}}}const jw="dms-ai:theme",Vw="dms-ai:ready",Gw=["50","100","200","300","400","500","600","700","800","900","950"];function Ww(e){const t=document.documentElement;if(e.mode==="dark"?t.classList.add("dark"):e.mode==="light"&&t.classList.remove("dark"),e.primary)for(const n of Gw){const r=e.primary[n];typeof r=="string"&&r.length>0&&t.style.setProperty(`--ui-color-primary-${n}`,r)}if(e.tokens)for(const[n,r]of Object.entries(e.tokens))n.startsWith("--ui-")&&typeof r=="string"&&r&&t.style.setProperty(n,r)}function Kw(){const e=t=>{if(t.source!==globalThis.parent||t.origin!==globalThis.location.origin)return;const n=t.data;(n==null?void 0:n.type)===jw&&Ww(n)};At(()=>{var t;globalThis.addEventListener("message",e),(t=globalThis.parent)==null||t.postMessage({type:Vw},globalThis.location.origin)}),mo(()=>{globalThis.removeEventListener("message",e)})}function Yw(){try{return window.localStorage.getItem(zp)}catch{return null}}function Dh(e){try{window.localStorage.setItem(zp,e)}catch{return}}function Zw(){const e=Yw();if(e!==null&&e.length>0)return e;const t=$s();return Dh(t),t}function Qw(e){Dh(e)}function Xw(){return $s()}function e0(e,t){return{type:tn.PERMISSION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,decision:t}}function Jw(e){const t=V([]);return{queue:t,enqueue:s=>{t.value.some(i=>i.requestId===s.requestId)||(t.value=[...t.value,s])},respond:(s,i)=>{const l=t.value.find(a=>a.requestId===s);l!==void 0&&(e.send(e0(l,i)),t.value=t.value.filter(a=>a.requestId!==s))},respondAll:s=>{for(const i of t.value)e.send(e0(i,s));t.value=[]},clear:()=>{t.value=[]}}}function eA(e,t){return{type:tn.QUESTION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,answers:t}}function tA(e){const t=V([]);return{queue:t,enqueue:u=>{t.value.some(s=>s.requestId===u.requestId)||(t.value=[...t.value,u])},respond:(u,s)=>{const i=t.value.find(l=>l.requestId===u);i!==void 0&&(e.send(eA(i,s)),t.value=t.value.filter(l=>l.requestId!==u))},clear:()=>{t.value=[]}}}function nA(e){const t=V(Date.now());let n=null;const r=()=>{n!==null&&(clearInterval(n),n=null)},o=()=>{r(),t.value=Date.now(),n=setInterval(()=>{t.value=Date.now()},Fx)};return Ye(e,u=>u?o():r(),{immediate:!0}),mo(r),t}const t0={provider:"claude",mode:"normal",thinking:"medium",generationMode:"safe",allowLocalSkills:!1,builderAvailable:!1,providers:{claude:{available:!0},codex:{available:!1}}},n0="Settings",rA="i-ph-gear-six-light",oA="i-ph-x-light",uA="Mode",sA="Agent",iA=[{value:"claude",label:"Claude"},{value:"codex",label:"Codex"}],lA="Unavailable: ",Oh="Switching agent starts a new session: open conversations lose what the agent remembers of them. Transcripts are kept.",aA=`${Oh}
51
-
52
- Switch now?`,cA="Stop the current turn before switching agent.",fA=[{value:"normal",label:"Normal"},{value:"acceptEdits",label:"Accept edits"},{value:"plan",label:"Plan"},{value:"auto",label:"Auto"}],r0={normal:"Ask before each tool action",acceptEdits:"Auto-accept file edits, ask for the rest",plan:"Plan only — propose without making changes",auto:"Auto-approve every tool action"},dA="Safe mode: raw edits and shell commands stay blocked, and Auto still asks before other actions.";function pA(e){return e!==null&&typeof e=="object"}function hA(e){if(!pA(e))return null;const t=e.type;return typeof t=="string"?t:null}function mA(e){const t=V({...t0});return e.onMessage(r=>{if(hA(r)!==Ot.SETTINGS_UPDATE)return;const o=r;t.value={...o.settings,builderAvailable:o.builderAvailable??!1,providers:o.providers??t0.providers}}),{settings:t,update:r=>{const o={...t.value,...r};t.value=o,e.send({type:tn.SET_SETTINGS,provider:o.provider,mode:o.mode,thinking:o.thinking,generationMode:o.generationMode,allowLocalSkills:o.allowLocalSkills})}}}const gA="dmsAiChatTransport",bA=[100,250,500,1e3,2e3],yA=["onFrame","onReady","onStatus","getStatus","send","reconnect"];function _A(){return{index:0}}function vA(e,t){const n=Math.min(e.index,t.length-1),r=t[n];return e.index+=1,r}const xA=new Set(Object.values(ar));function kA(e){return e===null||typeof e!="object"?!1:yA.every(t=>typeof Reflect.get(e,t)=="function")}function EA(){try{const e=Reflect.get(globalThis.parent,gA);return kA(e)?e:null}catch{return null}}function wA(e){try{return JSON.parse(e)}catch{return null}}function o0(e,t){xA.has(t)&&(e.connectionStatus.value=t,e.isConnected.value=t===ar.CONNECTED)}function xl(e){var t;(t=e.transport)==null||t.send({type:tn.HELLO,role:Q6.IFRAME,conversationId:e.options.getConversationId()})}function AA(e,t){e.transport=t,e.detachers=[t.onFrame(n=>{const r=wA(n);r!==null&&e.dispatch(r)}),t.onReady(()=>xl(e)),t.onStatus(n=>o0(e,n))],o0(e,t.getStatus()),e.isConnected.value&&xl(e)}function Ih(e){const t=EA();if(t!==null){AA(e,t);return}const n=vA(e.lookup,bA);e.lookupTimer=setTimeout(()=>Ih(e),n)}function SA(e){e.lookupTimer!==null&&clearTimeout(e.lookupTimer),e.lookupTimer=null;for(const t of e.detachers)t();e.detachers=[],e.transport=null}function CA(){const e=new Set;return{register:t=>(e.add(t),()=>e.delete(t)),dispatch:t=>{for(const n of e)n(t)}}}function TA(e){const t=CA(),n={options:e,dispatch:t.dispatch,isConnected:V(!1),connectionStatus:V(ar.CONNECTING),transport:null,detachers:[],lookup:_A(),lookupTimer:null};return{result:{send:r=>{var o;return((o=n.transport)==null?void 0:o.send(r))===!0},onMessage:t.register,reconnect:()=>{var r;return(r=n.transport)==null?void 0:r.reconnect()},reidentify:()=>xl(n),isConnected:n.isConnected,connectionStatus:n.connectionStatus},start:()=>Ih(n),stop:()=>SA(n)}}function DA(e){const t=TA(e);return At(()=>{globalThis.addEventListener("pagehide",t.stop),t.start()}),mo(()=>{globalThis.removeEventListener("pagehide",t.stop),t.stop()}),t.result}const OA={class:"chatbox"},IA={class:"chatbox-header"},RA={class:"chatbox-titlewrap"},MA=["data-connected"],FA=["aria-label","title"],PA=["aria-label","title"],LA={class:"chatbox-modebar"},NA={class:"modebar-label"},$A={class:"modebar-label"},zA=80,BA=xe({__name:"App",setup(e){const t={connecting:"connecting…",connected:"connected",reconnecting:"reconnecting…",disconnected:"disconnected"};Kw();const n=V(Zw()),r=DA({getConversationId:()=>n.value}),o=Jw({send:r.send}),u=tA({send:r.send}),s=Bw({activeId:n,send:r.send,onMessage:r.onMessage,onPermissionRequest:o.enqueue,onQuestionRequest:u.enqueue}),i=Hw({send:r.send,onMessage:r.onMessage}),l=mA({send:r.send,onMessage:r.onMessage}),a=V(!1),c=V(Date.now()),f=nA(s.isRunning),h=M(()=>s.isTurnInFlight.value&&r.isConnected.value&&Jx(s.lastEventAtMs.value,f.value)),d=M(()=>f.value-s.lastEventAtMs.value);function p(){r.send({type:tn.REQUEST_HOST_NAVIGATE,path:Z6})}const m=M(()=>{const{mode:te,generationMode:ge,builderAvailable:_e}=l.settings.value;return ge==="safe"&&_e?`${r0[te]}. ${dA}`:r0[te]}),g=M({get:()=>l.settings.value.mode,set:te=>{te!==l.settings.value.mode&&l.update({mode:te})}}),x=M(()=>iA.map(te=>({...te,disabled:!b(te.value)||s.isRunning.value})));function b(te){var ge;return((ge=l.settings.value.providers[te])==null?void 0:ge.available)!==!1}const k=M(()=>{var _e;const te=l.settings.value.provider,ge=(_e=l.settings.value.providers[te])==null?void 0:_e.reason;return ge!==void 0?`${lA}${ge}`:s.isRunning.value?cA:Oh});function y(){return s.messages.value.length===0?!0:window.confirm(aA)}const S=M({get:()=>l.settings.value.provider,set:te=>{te!==l.settings.value.provider&&b(te)&&(s.isRunning.value||y()&&l.update({provider:te}))}});function w(){var te;(te=globalThis.parent)==null||te.postMessage({type:"dms-ai:close"},globalThis.location.origin)}function C(){c.value=Date.now(),i.refresh()}function T(){C(),a.value=!0}function $(){a.value=!1}function G(te){$(),te!==n.value&&(n.value=te,Qw(te),s.reset(),o.clear(),u.clear(),r.reidentify())}function ie(){G(Xw())}function ue(te){const ge=te===n.value;i.remove(te),ge&&ie()}r.onMessage(te=>{typeof te=="object"&&te!==null&&te.type===Ot.RUN_DONE&&a.value&&C()});const Ee=M(()=>t[r.connectionStatus.value]),B=M(()=>o4(s.messages.value)),z=V(null);function P(te){return te.scrollHeight-te.scrollTop-te.clientHeight<=zA}function q(){const te=z.value;te!==null&&(te.scrollTop=te.scrollHeight)}Ye(()=>[s.messages.value,s.isRunning.value],()=>{const te=z.value;(te===null||P(te))&&pt(q)}),At(()=>{pt(q)});function Z(te,ge){s.sendUserMessage(te,ge)}function me(){s.interrupt(),o.clear(),u.clear()}function Y(){r.reconnect()}function ye(){s.retry()}return(te,ge)=>{const _e=Un,Oe=Xv;return O(),j("main",OA,[F("header",IA,[ge[5]||(ge[5]=F("span",{class:"chatbox-logo","aria-hidden":"true"},"✦",-1)),F("div",RA,[ge[4]||(ge[4]=F("b",{class:"chatbox-title"},"AntelopeJS Assistant",-1)),F("span",{class:"chatbox-status","data-connected":_(r).isConnected.value,"aria-live":"polite"},[ge[3]||(ge[3]=F("i",{class:"chatbox-status-dot"},null,-1)),en(oe(Ee.value),1)],8,MA)]),F("button",{type:"button",class:"chatbox-ibtn","aria-label":_(pf),title:_(pf),onClick:T},[be(_e,{name:_(ix),class:"size-[18px]"},null,8,["name"])],8,FA),F("button",{type:"button",class:"chatbox-ibtn","aria-label":_(n0),title:_(n0),onClick:p},[be(_e,{name:_(rA),class:"size-[18px]"},null,8,["name"])],8,PA),F("button",{type:"button",class:"chatbox-ibtn","aria-label":"Close",title:"Close",onClick:w},[be(_e,{name:_(oA),class:"size-[18px]"},null,8,["name"])])]),F("div",LA,[F("span",NA,oe(_(uA)),1),be(Oe,{modelValue:g.value,"onUpdate:modelValue":ge[0]||(ge[0]=De=>g.value=De),items:_(fA),variant:"ghost",size:"sm",title:m.value,class:"font-semibold text-primary"},null,8,["modelValue","items","title"]),F("span",$A,oe(_(sA)),1),be(Oe,{modelValue:S.value,"onUpdate:modelValue":ge[1]||(ge[1]=De=>S.value=De),items:x.value,variant:"ghost",size:"sm",title:k.value,class:"font-semibold text-primary"},null,8,["modelValue","items","title"])]),be(nx,{status:_(r).connectionStatus.value,onReconnect:Y},null,8,["status"]),F("section",{ref_key:"scrollContainer",ref:z,class:"chatbox-body"},[be(k5,{messages:_(s).messages.value,"is-running":_(s).isRunning.value,progress:_(s).progress.value,"now-ms":_(f),"is-stalled":h.value,"stalled-for-ms":d.value,onRetry:ye,onReconnect:Y,onStop:me},null,8,["messages","is-running","progress","now-ms","is-stalled","stalled-for-ms"])],512),_(o).queue.value.length>0?(O(),ce(N5,{key:0,requests:_(o).queue.value,onDecide:_(o).respond,onDecideAll:_(o).respondAll},null,8,["requests","onDecide","onDecideAll"])):ke("",!0),_(u).queue.value.length>0?(O(),ce(Q5,{key:1,requests:_(u).queue.value,onAnswer:_(u).respond},null,8,["requests","onAnswer"])):ke("",!0),B.value.length>0?(O(),ce(_w,{key:2,todos:B.value,"is-running":_(s).isRunning.value},null,8,["todos","is-running"])):ke("",!0),_(s).queued.value.length>0?(O(),ce(rw,{key:3,queue:_(s).queued.value,onCancel:_(s).cancelQueued},null,8,["queue","onCancel"])):ke("",!0),be(K6,{"is-disabled":!_(r).isConnected.value,"is-running":_(s).isRunning.value,"generation-mode":_(l).settings.value.generationMode,"builder-available":_(l).settings.value.builderAvailable,onSubmit:Z,onStop:me,"onUpdate:generationMode":ge[2]||(ge[2]=De=>_(l).update({generationMode:De}))},null,8,["is-disabled","is-running","generation-mode","builder-available"]),be(Cx,{open:a.value,conversations:_(i).conversations.value,"active-id":n.value,"now-ms":c.value,onSelect:G,onDelete:ue,onNew:ie,onClose:$},null,8,["open","conversations","active-id","now-ms"])])}}}),qA=an(BA,[["__scopeId","data-v-57e4ee61"]]),UA=new URLSearchParams(globalThis.location.search).get("theme");UA==="dark"&&document.documentElement.classList.add("dark");Vg(qA).use(Nb).mount(X6);