@antelopejs/dms-ai 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +53 -2
  2. package/dist/routes/settings.d.ts +7 -0
  3. package/dist/routes/settings.js +2 -0
  4. package/dist/routes/settings.js.map +1 -1
  5. package/frontend-vue/app/components/SettingsView.vue +85 -3
  6. package/frontend-vue/app/plugins/ai.client.ts +17 -5
  7. package/frontend-vue/app/runtime/session-gate.ts +22 -0
  8. package/frontend-vue/tests/session-gate.test.ts +39 -0
  9. package/frontend-vue/tests/sidecar-guest.test.ts +53 -19
  10. package/package.json +11 -1
  11. package/sidecar/chatbox/dist/assets/index-CEZ1NLp9.js +52 -0
  12. package/sidecar/chatbox/dist/assets/{index-pP_KOHIn.css → index-D_51Vqqk.css} +1 -1
  13. package/sidecar/chatbox/dist/index.html +2 -2
  14. package/sidecar/dist/agent/attachment-files.d.ts +5 -0
  15. package/sidecar/dist/agent/attachment-files.js +29 -0
  16. package/sidecar/dist/agent/attachment-files.js.map +1 -0
  17. package/sidecar/dist/agent/provider.d.ts +40 -0
  18. package/sidecar/dist/agent/provider.js +2 -0
  19. package/sidecar/dist/agent/provider.js.map +1 -0
  20. package/sidecar/dist/agent/{claude-runner.d.ts → runner.d.ts} +8 -11
  21. package/sidecar/dist/agent/runner.js +71 -0
  22. package/sidecar/dist/agent/runner.js.map +1 -0
  23. package/sidecar/dist/agent/session.d.ts +22 -0
  24. package/sidecar/dist/agent/{claude-session.js → session.js} +39 -47
  25. package/sidecar/dist/agent/session.js.map +1 -0
  26. package/sidecar/dist/agent/switching-runner.d.ts +6 -0
  27. package/sidecar/dist/agent/switching-runner.js +58 -0
  28. package/sidecar/dist/agent/switching-runner.js.map +1 -0
  29. package/sidecar/dist/constants/agent.d.ts +2 -12
  30. package/sidecar/dist/constants/agent.js +2 -11
  31. package/sidecar/dist/constants/agent.js.map +1 -1
  32. package/sidecar/dist/constants/claude.d.ts +10 -0
  33. package/sidecar/dist/constants/claude.js +10 -0
  34. package/sidecar/dist/constants/claude.js.map +1 -0
  35. package/sidecar/dist/constants/codex.d.ts +85 -0
  36. package/sidecar/dist/constants/codex.js +110 -0
  37. package/sidecar/dist/constants/codex.js.map +1 -0
  38. package/sidecar/dist/constants/http.d.ts +1 -0
  39. package/sidecar/dist/constants/http.js +1 -0
  40. package/sidecar/dist/constants/http.js.map +1 -1
  41. package/sidecar/dist/constants/mcp.d.ts +6 -0
  42. package/sidecar/dist/constants/mcp.js +11 -0
  43. package/sidecar/dist/constants/mcp.js.map +1 -1
  44. package/sidecar/dist/constants/paths.d.ts +5 -0
  45. package/sidecar/dist/constants/paths.js +5 -0
  46. package/sidecar/dist/constants/paths.js.map +1 -1
  47. package/sidecar/dist/constants/providers.d.ts +16 -0
  48. package/sidecar/dist/constants/providers.js +17 -0
  49. package/sidecar/dist/constants/providers.js.map +1 -0
  50. package/sidecar/dist/constants/settings.d.ts +1 -4
  51. package/sidecar/dist/constants/settings.js +2 -12
  52. package/sidecar/dist/constants/settings.js.map +1 -1
  53. package/sidecar/dist/constants/skills.d.ts +1 -0
  54. package/sidecar/dist/constants/skills.js +2 -0
  55. package/sidecar/dist/constants/skills.js.map +1 -0
  56. package/sidecar/dist/constants/timing.d.ts +1 -0
  57. package/sidecar/dist/constants/timing.js +1 -0
  58. package/sidecar/dist/constants/timing.js.map +1 -1
  59. package/sidecar/dist/constants/tool-lexicon.d.ts +7 -0
  60. package/sidecar/dist/constants/tool-lexicon.js +8 -0
  61. package/sidecar/dist/constants/tool-lexicon.js.map +1 -0
  62. package/sidecar/dist/index.js +28 -3
  63. package/sidecar/dist/index.js.map +1 -1
  64. package/sidecar/dist/mcp/define-tool.d.ts +23 -0
  65. package/sidecar/dist/mcp/define-tool.js +4 -0
  66. package/sidecar/dist/mcp/define-tool.js.map +1 -0
  67. package/sidecar/dist/mcp/http-binding.d.ts +9 -0
  68. package/sidecar/dist/mcp/http-binding.js +123 -0
  69. package/sidecar/dist/mcp/http-binding.js.map +1 -0
  70. package/sidecar/dist/mcp/sdk-binding.js +14 -0
  71. package/sidecar/dist/mcp/sdk-binding.js.map +1 -0
  72. package/sidecar/dist/mcp/tool-definitions.d.ts +3 -0
  73. package/sidecar/dist/mcp/{server.js → tool-definitions.js} +2 -11
  74. package/sidecar/dist/mcp/tool-definitions.js.map +1 -0
  75. package/sidecar/dist/mcp/tools/ask-user.d.ts +1 -1
  76. package/sidecar/dist/mcp/tools/ask-user.js +2 -2
  77. package/sidecar/dist/mcp/tools/ask-user.js.map +1 -1
  78. package/sidecar/dist/mcp/tools/builder.d.ts +19 -19
  79. package/sidecar/dist/mcp/tools/builder.js +26 -26
  80. package/sidecar/dist/mcp/tools/builder.js.map +1 -1
  81. package/sidecar/dist/mcp/tools/find-pages-using.d.ts +1 -1
  82. package/sidecar/dist/mcp/tools/find-pages-using.js +2 -2
  83. package/sidecar/dist/mcp/tools/find-pages-using.js.map +1 -1
  84. package/sidecar/dist/mcp/tools/get-current-page.d.ts +1 -1
  85. package/sidecar/dist/mcp/tools/get-current-page.js +2 -2
  86. package/sidecar/dist/mcp/tools/get-current-page.js.map +1 -1
  87. package/sidecar/dist/mcp/tools/list-pages.d.ts +1 -1
  88. package/sidecar/dist/mcp/tools/list-pages.js +2 -2
  89. package/sidecar/dist/mcp/tools/list-pages.js.map +1 -1
  90. package/sidecar/dist/mcp/tools/navigate-to-page.d.ts +1 -1
  91. package/sidecar/dist/mcp/tools/navigate-to-page.js +2 -2
  92. package/sidecar/dist/mcp/tools/navigate-to-page.js.map +1 -1
  93. package/sidecar/dist/mcp/tools/query-logs.d.ts +1 -1
  94. package/sidecar/dist/mcp/tools/query-logs.js +2 -2
  95. package/sidecar/dist/mcp/tools/query-logs.js.map +1 -1
  96. package/sidecar/dist/mcp/tools/typecheck.d.ts +1 -1
  97. package/sidecar/dist/mcp/tools/typecheck.js +2 -2
  98. package/sidecar/dist/mcp/tools/typecheck.js.map +1 -1
  99. package/sidecar/dist/mcp/types.d.ts +6 -2
  100. package/sidecar/dist/protocol/events.d.ts +37 -0
  101. package/sidecar/dist/protocol/events.js +8 -0
  102. package/sidecar/dist/protocol/events.js.map +1 -1
  103. package/sidecar/dist/protocol/messages.d.ts +8 -0
  104. package/sidecar/dist/protocol/messages.js +2 -0
  105. package/sidecar/dist/protocol/messages.js.map +1 -1
  106. package/sidecar/dist/providers/claude/adapter.d.ts +5 -0
  107. package/sidecar/dist/{agent/sdk-adapter.js → providers/claude/adapter.js} +20 -1
  108. package/sidecar/dist/providers/claude/adapter.js.map +1 -0
  109. package/sidecar/dist/{agent → providers/claude}/attachments.d.ts +1 -1
  110. package/sidecar/dist/{agent → providers/claude}/attachments.js +3 -27
  111. package/sidecar/dist/providers/claude/attachments.js.map +1 -0
  112. package/sidecar/dist/providers/claude/config.d.ts +4 -0
  113. package/sidecar/dist/providers/claude/config.js +13 -0
  114. package/sidecar/dist/providers/claude/config.js.map +1 -0
  115. package/sidecar/dist/providers/claude/input-queue.js.map +1 -0
  116. package/sidecar/dist/providers/claude/module.d.ts +2 -0
  117. package/sidecar/dist/providers/claude/module.js +25 -0
  118. package/sidecar/dist/providers/claude/module.js.map +1 -0
  119. package/sidecar/dist/providers/claude/provider.d.ts +11 -0
  120. package/sidecar/dist/{agent/claude-runner.js → providers/claude/provider.js} +118 -96
  121. package/sidecar/dist/providers/claude/provider.js.map +1 -0
  122. package/sidecar/dist/{agent/resolve-claude-binary.js → providers/claude/resolve-binary.js} +3 -3
  123. package/sidecar/dist/{agent/resolve-claude-binary.js.map → providers/claude/resolve-binary.js.map} +1 -1
  124. package/sidecar/dist/providers/claude/sdk-loader.js +16 -0
  125. package/sidecar/dist/providers/claude/sdk-loader.js.map +1 -0
  126. package/sidecar/dist/providers/codex/adapter.d.ts +7 -0
  127. package/sidecar/dist/providers/codex/adapter.js +147 -0
  128. package/sidecar/dist/providers/codex/adapter.js.map +1 -0
  129. package/sidecar/dist/providers/codex/attachments.d.ts +7 -0
  130. package/sidecar/dist/providers/codex/attachments.js +73 -0
  131. package/sidecar/dist/providers/codex/attachments.js.map +1 -0
  132. package/sidecar/dist/providers/codex/client.d.ts +34 -0
  133. package/sidecar/dist/providers/codex/client.js +128 -0
  134. package/sidecar/dist/providers/codex/client.js.map +1 -0
  135. package/sidecar/dist/providers/codex/config.d.ts +34 -0
  136. package/sidecar/dist/providers/codex/config.js +111 -0
  137. package/sidecar/dist/providers/codex/config.js.map +1 -0
  138. package/sidecar/dist/providers/codex/event-stream.d.ts +8 -0
  139. package/sidecar/dist/providers/codex/event-stream.js +53 -0
  140. package/sidecar/dist/providers/codex/event-stream.js.map +1 -0
  141. package/sidecar/dist/providers/codex/module.d.ts +2 -0
  142. package/sidecar/dist/providers/codex/module.js +54 -0
  143. package/sidecar/dist/providers/codex/module.js.map +1 -0
  144. package/sidecar/dist/providers/codex/permissions.d.ts +21 -0
  145. package/sidecar/dist/providers/codex/permissions.js +77 -0
  146. package/sidecar/dist/providers/codex/permissions.js.map +1 -0
  147. package/sidecar/dist/providers/codex/process.d.ts +23 -0
  148. package/sidecar/dist/providers/codex/process.js +208 -0
  149. package/sidecar/dist/providers/codex/process.js.map +1 -0
  150. package/sidecar/dist/providers/codex/protocol/common.d.ts +59 -0
  151. package/sidecar/dist/providers/codex/protocol/common.js +2 -0
  152. package/sidecar/dist/providers/codex/protocol/common.js.map +1 -0
  153. package/sidecar/dist/providers/codex/protocol/index.d.ts +3 -0
  154. package/sidecar/dist/providers/codex/protocol/index.js +3 -0
  155. package/sidecar/dist/providers/codex/protocol/index.js.map +1 -0
  156. package/sidecar/dist/providers/codex/protocol/serde_json.d.ts +3 -0
  157. package/sidecar/dist/providers/codex/protocol/serde_json.js +2 -0
  158. package/sidecar/dist/providers/codex/protocol/serde_json.js.map +1 -0
  159. package/sidecar/dist/providers/codex/protocol/v2.d.ts +481 -0
  160. package/sidecar/dist/providers/codex/protocol/v2.js +2 -0
  161. package/sidecar/dist/providers/codex/protocol/v2.js.map +1 -0
  162. package/sidecar/dist/providers/codex/provider.d.ts +14 -0
  163. package/sidecar/dist/providers/codex/provider.js +225 -0
  164. package/sidecar/dist/providers/codex/provider.js.map +1 -0
  165. package/sidecar/dist/providers/codex/resolve-binary.d.ts +10 -0
  166. package/sidecar/dist/providers/codex/resolve-binary.js +80 -0
  167. package/sidecar/dist/providers/codex/resolve-binary.js.map +1 -0
  168. package/sidecar/dist/providers/codex/skills.d.ts +10 -0
  169. package/sidecar/dist/providers/codex/skills.js +42 -0
  170. package/sidecar/dist/providers/codex/skills.js.map +1 -0
  171. package/sidecar/dist/providers/registry.d.ts +7 -0
  172. package/sidecar/dist/providers/registry.js +31 -0
  173. package/sidecar/dist/providers/registry.js.map +1 -0
  174. package/sidecar/dist/providers/types.d.ts +25 -0
  175. package/sidecar/dist/providers/types.js +5 -0
  176. package/sidecar/dist/providers/types.js.map +1 -0
  177. package/sidecar/dist/server/http.d.ts +2 -0
  178. package/sidecar/dist/server/http.js +26 -12
  179. package/sidecar/dist/server/http.js.map +1 -1
  180. package/sidecar/dist/server/routing.d.ts +4 -4
  181. package/sidecar/dist/server/routing.js +7 -1
  182. package/sidecar/dist/server/routing.js.map +1 -1
  183. package/sidecar/dist/server/ws.d.ts +2 -0
  184. package/sidecar/dist/server/ws.js +40 -17
  185. package/sidecar/dist/server/ws.js.map +1 -1
  186. package/sidecar/dist/skills/build-catalog.d.ts +2 -0
  187. package/sidecar/dist/skills/build-catalog.js +12 -1
  188. package/sidecar/dist/skills/build-catalog.js.map +1 -1
  189. package/sidecar/dist/state/conversations.d.ts +3 -1
  190. package/sidecar/dist/state/conversations.js +20 -0
  191. package/sidecar/dist/state/conversations.js.map +1 -1
  192. package/sidecar/dist/state/safe-segment.d.ts +1 -0
  193. package/sidecar/dist/state/safe-segment.js +17 -0
  194. package/sidecar/dist/state/safe-segment.js.map +1 -0
  195. package/sidecar/dist/state/settings-store.js +7 -0
  196. package/sidecar/dist/state/settings-store.js.map +1 -1
  197. package/sidecar/dist/state/settings-types.d.ts +2 -0
  198. package/sidecar/dist/state/settings-types.js.map +1 -1
  199. package/sidecar/dist/state/types.d.ts +11 -0
  200. package/sidecar/dist/state/types.js +7 -0
  201. package/sidecar/dist/state/types.js.map +1 -1
  202. package/sidecar/package.json +3 -0
  203. package/sidecar/chatbox/dist/assets/index-Cy2BwTG0.js +0 -50
  204. package/sidecar/dist/agent/attachments.js.map +0 -1
  205. package/sidecar/dist/agent/claude-runner.js.map +0 -1
  206. package/sidecar/dist/agent/claude-session.d.ts +0 -18
  207. package/sidecar/dist/agent/claude-session.js.map +0 -1
  208. package/sidecar/dist/agent/input-queue.js.map +0 -1
  209. package/sidecar/dist/agent/sdk-adapter.d.ts +0 -3
  210. package/sidecar/dist/agent/sdk-adapter.js.map +0 -1
  211. package/sidecar/dist/agent/sdk-loader.js +0 -14
  212. package/sidecar/dist/agent/sdk-loader.js.map +0 -1
  213. package/sidecar/dist/mcp/server.js.map +0 -1
  214. /package/sidecar/dist/mcp/{server.d.ts → sdk-binding.d.ts} +0 -0
  215. /package/sidecar/dist/{agent → providers/claude}/input-queue.d.ts +0 -0
  216. /package/sidecar/dist/{agent → providers/claude}/input-queue.js +0 -0
  217. /package/sidecar/dist/{agent/resolve-claude-binary.d.ts → providers/claude/resolve-binary.d.ts} +0 -0
  218. /package/sidecar/dist/{agent → providers/claude}/sdk-loader.d.ts +0 -0
@@ -1,50 +0,0 @@
1
- var Oh=Object.defineProperty;var _a=e=>{throw TypeError(e)};var Ih=(e,t,n)=>t in e?Oh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qr=(e,t,n)=>Ih(e,typeof t!="symbol"?t+"":t,n),Rh=(e,t,n)=>t.has(e)||_a("Cannot "+n);var _o=(e,t,n)=>(Rh(e,t,"read from private field"),n?n.call(e):t.get(e)),va=(e,t,n)=>t.has(e)?_a("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 Fi(e,t={},n){for(const r in e){const o=e[r],u=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Fi(o,t,u):typeof o=="function"&&(t[u]=o)}return t}const Kf=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Yf(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(()=>Yf(e,t,o+1,r))}catch(u){return Promise.reject(u)}}function Fh(e,t,n){if(e.length>0)return Yf(e,t,0,Kf(n))}function Mh(e,t,n){if(e.length>0){const r=Kf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function Ks(e,t){for(const n of[...e])n(t)}var Ph=class{constructor(){qr(this,"_hooks");qr(this,"_before");qr(this,"_after");qr(this,"_deprecatedHooks");qr(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=Fi(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=Fi(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Fh,e,t)}callHookParallel(e,...t){return this.callHookWith(Mh,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ks(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&Ks(this._after,r)}):(this._after&&r&&Ks(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 Zf(){return new Ph}const Lh=new Set(["link","style","script","noscript"]),Nh=new Set(["title","titleTemplate","script","style","noscript"]),Mi=new Set(["base","meta","link","style","script","noscript"]),$h=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),zh=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Bh=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),qh=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Uh=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),jh=["name","property","http-equiv"],Hh=new Set(["viewport","description","keywords","robots"]);function Qf(e){const t=e.split(":");return t.length?Uh.has(t[1]):!1}function Pi(e){const{props:t,tag:n}=e;if(zh.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 jh)if(t[r]!==void 0){const o=t[r],u=o&&typeof o=="string"&&o.includes(":"),s=o&&Hh.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(Nh.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Xf(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 Ku(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=>Ku(u,t));if((o==null?void 0:o.constructor)===Object){const u={};for(const s of Object.keys(o))u[s]=Ku(o[s],t,s);return u}return o}function Vh(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 Jf(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Mi.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]=Vh(r,o);return}if(Bh.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 Wh(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Jf({tag:e,props:{}},n);return r.key&&Lh.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 Gh(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=Ku(e,n),Object.entries(e||{}).forEach(([o,u])=>{if(u!==void 0)for(const s of Array.isArray(u)?u:[u])r.push(Wh(o,s))}),r.flat()}const xa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ka={base:-10,title:10},Kh={critical:-8,high:-1,low:2},Ea={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}},Yh=/@import/,vo=e=>e===""||e===!0;function Zh(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Kh[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ea;if(t.tag in ka)n=ka[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=Ea.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);vo(t.props.async)?n=o.script.async:t.props.src&&!vo(t.props.defer)&&!vo(t.props.async)&&u!=="module"&&!u.endsWith("json")||t.innerHTML&&!u.endsWith("json")?n=o.script.sync:(vo(t.props.defer)&&t.props.src&&!vo(t.props.async)||u==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Yh.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function wa(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 Qh(e={}){var i;const t=Zf();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=>wa(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:Gh(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,_)=>(g._w=Zh(s,g),g._p=(p._i<<10)+_,g._d=Pi(g),g._d||(g._h=Xf(g)),g))}}let a=!1;l.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(xa).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)||(qh.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([E,y])=>b[E]=E==="style"?new Map([...g.props.style||new Map,...y]):E==="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"&&Qf(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(xa)),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($h.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 _=typeof p=="string"?p:JSON.stringify(p);d.innerHTML=_.replace(/</g,"\\u003C")}else typeof p=="string"&&(d.innerHTML=p.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=Pi(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=>wa(s,l)),s.hooks.callHook("init",s),(i=e.init)==null||i.forEach(l=>l&&s.push(l)),s}async function e0(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 _=u.get(g._d)||0,b={tag:g,id:(_?`${g._d}:${_}`:g._d)||g._h,shouldRender:!0};return g._d&&Qf(g._d)&&u.set(g._d,_+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 _=g.tagName.toLowerCase();if(!Mi.has(_))continue;const b=Jf({tag:_,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((E,y)=>(E[y]=g.getAttribute(y),E),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=Pi(b)||Xf(b),i.elMap.has(b._d)){let E=1,y=b._d;for(;i.elMap.has(y);)y=`${b._d}:${E++}`;i.elMap.set(y,g)}else i.elMap.set(b._d,g)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(p,m,g){const _=`${p}:${m}`;i.sideEffects[_]=g,delete i.pendingSideEffects[_]}function a({id:p,$el:m,tag:g}){const _=g.tag.endsWith("Attrs");i.elMap.set(p,m),_||(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 E=g.props[b];if(b.startsWith("on")&&typeof E=="function"){const A=m==null?void 0:m.dataset;if(A&&A[`${b}fired`]){const C=b.slice(0,-5);E.call(m,new Event(C.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),E.bind(m)),m.setAttribute(`data-${b}`,""));continue}const y=`attr:${b}`;if(b==="class"){if(!E)continue;for(const A of E)_&&l(p,`${y}:${A}`,()=>m.classList.remove(A)),!m.classList.contains(A)&&m.classList.add(A)}else if(b==="style"){if(!E)continue;for(const[A,C]of E)l(p,`${y}:${A}`,()=>{m.style.removeProperty(A)}),m.style.setProperty(A,C)}else E!==!1&&E!==null&&(m.getAttribute(b)!==E&&m.setAttribute(b,E===!0?"":String(E)),_&&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:_}=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(_),p.$el?a(p):Mi.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 Xh(e={}){var r,o,u;const t=((r=e.domOptions)==null?void 0:r.render)||e0;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 Qh({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Jh(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 yl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},Qr=[],xn=()=>{},t0=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ds=e=>e.startsWith("onUpdate:"),mt=Object.assign,_l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},e1=Object.prototype.hasOwnProperty,ze=(e,t)=>e1.call(e,t),de=Array.isArray,Xr=e=>uu(e)==="[object Map]",n0=e=>uu(e)==="[object Set]",Aa=e=>uu(e)==="[object Date]",be=e=>typeof e=="function",Ge=e=>typeof e=="string",Ut=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",r0=e=>(Be(e)||be(e))&&be(e.then)&&be(e.catch),o0=Object.prototype.toString,uu=e=>o0.call(e),t1=e=>uu(e).slice(8,-1),u0=e=>uu(e)==="[object Object]",ps=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fo=yl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},n1=/-\w/g,ht=hs(e=>e.replace(n1,t=>t.slice(1).toUpperCase())),r1=/\B([A-Z])/g,Yn=hs(e=>e.replace(r1,"-$1").toLowerCase()),ms=hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),qu=hs(e=>e?`on${ms(e)}`:""),xt=(e,t)=>!Object.is(e,t),Uu=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},s0=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ca;const gs=()=>Ca||(Ca=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=Ge(r)?i1(r):Zn(r);if(o)for(const u in o)t[u]=o[u]}return t}else if(Ge(e)||Be(e))return e}const o1=/;(?![^(]*\))/g,u1=/:([^]+)/,s1=/\/\*[^]*?\*\//g;function i1(e){const t={};return e.replace(s1,"").split(o1).forEach(n=>{if(n){const r=n.split(u1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function je(e){let t="";if(Ge(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(Be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function co(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ge(t)&&(e.class=je(t)),n&&(e.style=Zn(n)),e}const l1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a1=yl(l1);function i0(e){return!!e||e===""}function c1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=xl(e[r],t[r]);return n}function xl(e,t){if(e===t)return!0;let n=Aa(e),r=Aa(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?c1(e,t):!1;if(n=Be(e),r=Be(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||!xl(e[s],t[s]))return!1}}return String(e)===String(t)}const l0=e=>!!(e&&e.__v_isRef===!0),le=e=>Ge(e)?e:e==null?"":de(e)||Be(e)&&(e.toString===o0||!be(e.toString))?l0(e)?le(e.value):JSON.stringify(e,a0,2):String(e),a0=(e,t)=>l0(t)?a0(e,t.value):Xr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],u)=>(n[Ys(r,u)+" =>"]=o,n),{})}:n0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ys(n))}:Ut(t)?Ys(t):Be(t)&&!de(t)&&!u0(t)?String(t):t,Ys=(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 ot;class c0{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&&ot&&(ot.active?(this.parent=ot,this.index=(ot.scopes||(ot.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=ot;try{return ot=this,t()}finally{ot=n}}}on(){++this._on===1&&(this.prevScope=ot,ot=this)}off(){if(this._on>0&&--this._on===0){if(ot===this)ot=this.prevScope;else{let t=ot;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 f0(e){return new c0(e)}function kl(){return ot}function d0(e,t=!1){ot&&ot.cleanups.push(e)}let Ve;const Zs=new WeakSet;class p0{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,ot&&(ot.active?ot.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zs.has(this)&&(Zs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||m0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Sa(this),g0(this);const t=Ve,n=nn;Ve=this,nn=!0;try{return this.fn()}finally{b0(this),Ve=t,nn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Al(t);this.deps=this.depsTail=void 0,Sa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Li(this)&&this.run()}get dirty(){return Li(this)}}let h0=0,Mo,Po;function m0(e,t=!1){if(e.flags|=8,t){e.next=Po,Po=e;return}e.next=Mo,Mo=e}function El(){h0++}function wl(){if(--h0>0)return;if(Po){let t=Po;for(Po=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mo;){let t=Mo;for(Mo=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 g0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function b0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Al(r),f1(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Li(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(y0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function y0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Bo)||(e.globalVersion=Bo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Li(e))))return;e.flags|=2;const t=e.dep,n=Ve,r=nn;Ve=e,nn=!0;try{g0(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{Ve=n,nn=r,b0(e),e.flags&=-3}}function Al(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)Al(u,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function f1(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 _0=[];function jn(){_0.push(nn),nn=!1}function Hn(){const e=_0.pop();nn=e===void 0?!0:e}function Sa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ve;Ve=void 0;try{t()}finally{Ve=n}}}let Bo=0;class d1{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 bs{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(!Ve||!nn||Ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ve)n=this.activeLink=new d1(Ve,this),Ve.deps?(n.prevDep=Ve.depsTail,Ve.depsTail.nextDep=n,Ve.depsTail=n):Ve.deps=Ve.depsTail=n,v0(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=Ve.depsTail,n.nextDep=void 0,Ve.depsTail.nextDep=n,Ve.depsTail=n,Ve.deps===n&&(Ve.deps=r)}return n}trigger(t){this.version++,Bo++,this.notify(t)}notify(t){El();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{wl()}}}function v0(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)v0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Yu=new WeakMap,Sr=Symbol(""),Ni=Symbol(""),qo=Symbol("");function kt(e,t,n){if(nn&&Ve){let r=Yu.get(e);r||Yu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new bs),o.map=r,o.key=n),o.track()}}function $n(e,t,n,r,o,u){const s=Yu.get(e);if(!s){Bo++;return}const i=l=>{l&&l.trigger()};if(El(),t==="clear")s.forEach(i);else{const l=de(e),a=l&&ps(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,h)=>{(h==="length"||h===qo||!Ut(h)&&h>=c)&&i(f)})}else switch((n!==void 0||s.has(void 0))&&i(s.get(n)),a&&i(s.get(qo)),t){case"add":l?a&&i(s.get("length")):(i(s.get(Sr)),Xr(e)&&i(s.get(Ni)));break;case"delete":l||(i(s.get(Sr)),Xr(e)&&i(s.get(Ni)));break;case"set":Xr(e)&&i(s.get(Sr));break}}wl()}function p1(e,t){const n=Yu.get(e);return n&&n.get(t)}function Ur(e){const t=Ne(e);return t===e?t:(kt(t,"iterate",qo),Bt(e)?t:t.map(rn))}function ys(e){return kt(e=Ne(e),"iterate",qo),e}function gn(e,t){return Wn(e)?oo(Tr(e)?rn(t):t):rn(t)}const h1={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,e=>gn(this,e))},concat(...e){return Ur(this).concat(...e.map(t=>de(t)?Ur(t):t))},entries(){return Qs(this,"entries",e=>(e[1]=gn(this,e[1]),e))},every(e,t){return Fn(this,"every",e,t,void 0,arguments)},filter(e,t){return Fn(this,"filter",e,t,n=>n.map(r=>gn(this,r)),arguments)},find(e,t){return Fn(this,"find",e,t,n=>gn(this,n),arguments)},findIndex(e,t){return Fn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fn(this,"findLast",e,t,n=>gn(this,n),arguments)},findLastIndex(e,t){return Fn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return Ur(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return Fn(this,"map",e,t,void 0,arguments)},pop(){return xo(this,"pop")},push(...e){return xo(this,"push",e)},reduce(e,...t){return Ta(this,"reduce",e,t)},reduceRight(e,...t){return Ta(this,"reduceRight",e,t)},shift(){return xo(this,"shift")},some(e,t){return Fn(this,"some",e,t,void 0,arguments)},splice(...e){return xo(this,"splice",e)},toReversed(){return Ur(this).toReversed()},toSorted(e){return Ur(this).toSorted(e)},toSpliced(...e){return Ur(this).toSpliced(...e)},unshift(...e){return xo(this,"unshift",e)},values(){return Qs(this,"values",e=>gn(this,e))}};function Qs(e,t,n){const r=ys(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 Fn(e,t,n,r,o,u){const s=ys(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,gn(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 Ta(e,t,n,r){const o=ys(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=gn(e,a)),n.call(this,a,gn(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?gn(e,l):l}function Xs(e,t,n){const r=Ne(e);kt(r,"iterate",qo);const o=r[t](...n);return(o===-1||o===!1)&&xs(n[0])?(n[0]=Ne(n[0]),r[t](...n)):o}function xo(e,t,n=[]){jn(),El();const r=Ne(e)[t].apply(e,n);return wl(),Hn(),r}const g1=yl("__proto__,__v_isRef,__isVue"),x0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ut));function b1(e){Ut(e)||(e=String(e));const t=Ne(this);return kt(t,"has",e),t.hasOwnProperty(e)}class k0{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?T0:S0:u?C0:A0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=de(t);if(!o){let l;if(s&&(l=h1[n]))return l;if(n==="hasOwnProperty")return b1}const i=Reflect.get(t,n,Ye(t)?t:r);if((Ut(n)?x0.has(n):g1(n))||(o||kt(t,"get",n),u))return i;if(Ye(i)){const l=s&&ps(n)?i:i.value;return o&&Be(l)?Uo(l):l}return Be(i)?o?Uo(i):Vn(i):i}}class E0 extends k0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let u=t[n];const s=de(t)&&ps(n);if(!this._isShallow){const a=Wn(u);if(!Bt(r)&&!Wn(r)&&(u=Ne(u),r=Ne(r)),!s&&Ye(u)&&!Ye(r))return a||(u.value=r),!0}const i=s?Number(n)<t.length:ze(t,n),l=Reflect.set(t,n,r,Ye(t)?t:o);return t===Ne(o)&&(i?xt(r,u)&&$n(t,"set",n,r):$n(t,"add",n,r)),l}deleteProperty(t,n){const r=ze(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)||!x0.has(n))&&kt(t,"has",n),r}ownKeys(t){return kt(t,"iterate",de(t)?"length":Sr),Reflect.ownKeys(t)}}class w0 extends k0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const y1=new E0,_1=new w0,v1=new E0(!0),x1=new w0(!0),$i=e=>e,wu=e=>Reflect.getPrototypeOf(e);function k1(e,t,n){return function(...r){const o=this.__v_raw,u=Ne(o),s=Xr(u),i=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,a=o[e](...r),c=n?$i:t?oo:rn;return!t&&kt(u,"iterate",l?Ni:Sr),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 Au(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function E1(e,t){const n={get(o){const u=this.__v_raw,s=Ne(u),i=Ne(o);e||(xt(o,i)&&kt(s,"get",o),kt(s,"get",i));const{has:l}=wu(s),a=t?$i:e?oo: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(Ne(o),"iterate",Sr),o.size},has(o){const u=this.__v_raw,s=Ne(u),i=Ne(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=Ne(i),a=t?$i:e?oo:rn;return!e&&kt(l,"iterate",Sr),i.forEach((c,f)=>o.call(u,a(c),a(f),s))}};return mt(n,e?{add:Au("add"),set:Au("set"),delete:Au("delete"),clear:Au("clear")}:{add(o){const u=Ne(this),s=wu(u),i=Ne(o),l=!t&&!Bt(o)&&!Wn(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)&&!Wn(u)&&(u=Ne(u));const s=Ne(this),{has:i,get:l}=wu(s);let a=i.call(s,o);a||(o=Ne(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=Ne(this),{has:s,get:i}=wu(u);let l=s.call(u,o);l||(o=Ne(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=Ne(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]=k1(o,e,t)}),n}function _s(e,t){const n=E1(e,t);return(r,o,u)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ze(n,o)&&o in r?n:r,o,u)}const w1={get:_s(!1,!1)},A1={get:_s(!1,!0)},C1={get:_s(!0,!1)},S1={get:_s(!0,!0)},A0=new WeakMap,C0=new WeakMap,S0=new WeakMap,T0=new WeakMap;function T1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function D1(e){return e.__v_skip||!Object.isExtensible(e)?0:T1(t1(e))}function Vn(e){return Wn(e)?e:vs(e,!1,y1,w1,A0)}function O1(e){return vs(e,!1,v1,A1,C0)}function Uo(e){return vs(e,!0,_1,C1,S0)}function jr(e){return vs(e,!0,x1,S1,T0)}function vs(e,t,n,r,o){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=D1(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 Tr(e){return Wn(e)?Tr(e.__v_raw):!!(e&&e.__v_isReactive)}function Wn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function xs(e){return e?!!e.__v_raw:!1}function Ne(e){const t=e&&e.__v_raw;return t?Ne(t):e}function D0(e){return!ze(e,"__v_skip")&&Object.isExtensible(e)&&s0(e,"__v_skip",!0),e}const rn=e=>Be(e)?Vn(e):e,oo=e=>Be(e)?Uo(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function K(e){return O0(e,!1)}function su(e){return O0(e,!0)}function O0(e,t){return Ye(e)?e:new I1(e,t)}class I1{constructor(t,n){this.dep=new bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ne(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)||Wn(t);t=r?t:Ne(t),xt(t,n)&&(this._rawValue=t,this._value=r?t:rn(t),this.dep.trigger())}}function R1(e){e.dep&&e.dep.trigger()}function x(e){return Ye(e)?e.value:e}function tt(e){return be(e)?e():x(e)}const F1={get:(e,t,n)=>t==="__v_raw"?e:x(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ye(o)&&!Ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function I0(e){return Tr(e)?e:new Proxy(e,F1)}class M1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new bs,{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 Cl(e){return new M1(e)}function iu(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=R0(e,n);return t}class P1{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=Ne(t);let o=!0,u=t;if(!de(t)||Ut(this._key)||!ps(this._key))do o=!xs(u)||Bt(u);while(o&&(u=u.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=x(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return p1(this._raw,this._key)}}class L1{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 Ye(e)?e:be(e)?new L1(e):Be(e)&&arguments.length>1?R0(e,t,n):K(e)}function R0(e,t,n){return new P1(e,t,n)}class N1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Bo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ve!==this)return m0(this,!0),!0}get value(){const t=this.dep.track();return y0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $1(e,t,n=!1){let r,o;return be(e)?r=e:(r=e.get,o=e.set),new N1(r,o,n)}const Cu={},Zu=new WeakMap;let Ar;function z1(e,t=!1,n=Ar){if(n){let r=Zu.get(n);r||Zu.set(n,r=[]),r.push(e)}}function B1(e,t,n=Le){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(Ye(e)?(f=()=>e.value,p=Bt(e)):Tr(e)?(f=()=>a(e),p=!0):de(e)?(m=!0,p=e.some(y=>Tr(y)||Bt(y)),f=()=>e.map(y=>{if(Ye(y))return y.value;if(Tr(y))return a(y);if(be(y))return l?l(y,2):y()})):be(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){jn();try{h()}finally{Hn()}}const y=Ar;Ar=c;try{return l?l(e,3,[d]):e(d)}finally{Ar=y}}:f=xn,t&&o){const y=f,A=o===!0?1/0:o;f=()=>zn(y(),A)}const g=kl(),_=()=>{c.stop(),g&&g.active&&_l(g.effects,c)};if(u&&t){const y=t;t=(...A)=>{y(...A),_()}}let b=m?new Array(e.length).fill(Cu):Cu;const E=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const A=c.run();if(o||p||(m?A.some((C,S)=>xt(C,b[S])):xt(A,b))){h&&h();const C=Ar;Ar=c;try{const S=[A,b===Cu?void 0:m&&b[0]===Cu?[]:b,d];b=A,l?l(t,3,S):t(...S)}finally{Ar=C}}}else c.run()};return i&&i(E),c=new p0(f),c.scheduler=s?()=>s(E,!1):E,d=y=>z1(y,!1,c),h=c.onStop=()=>{const y=Zu.get(c);if(y){if(l)l(y,4);else for(const A of y)A();Zu.delete(c)}},t?r?E(!0):b=c.run():s?s(E.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function zn(e,t=1/0,n){if(t<=0||!Be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(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(n0(e)||Xr(e))e.forEach(r=>{zn(r,t,n)});else if(u0(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 lu(e,t,n,r){try{return r?e(...r):e()}catch(o){ks(o,t,n)}}function wn(e,t,n,r){if(be(e)){const o=lu(e,t,n,r);return o&&r0(o)&&o.catch(u=>{ks(u,t,n)}),o}if(de(e)){const o=[];for(let u=0;u<e.length;u++)o.push(wn(e[u],t,n,r));return o}}function ks(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:u,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Le;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){jn(),lu(u,null,10,[e,l,a]),Hn();return}}q1(e,n,o,r,s)}function q1(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let mn=-1;const Jr=[];let ir=null,Wr=0;const F0=Promise.resolve();let Qu=null;function pt(e){const t=Qu||F0;return e?t.then(this?e.bind(this):e):t}function U1(e){let t=mn+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],u=jo(o);u<e||u===e&&o.flags&2?t=r+1:n=r}return t}function Sl(e){if(!(e.flags&1)){const t=jo(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=jo(n)?Ot.push(e):Ot.splice(U1(t),0,e),e.flags|=1,M0()}}function M0(){Qu||(Qu=F0.then(L0))}function j1(e){de(e)?Jr.push(...e):ir&&e.id===-1?ir.splice(Wr+1,0,e):e.flags&1||(Jr.push(e),e.flags|=1),M0()}function Da(e,t,n=mn+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function P0(e){if(Jr.length){const t=[...new Set(Jr)].sort((n,r)=>jo(n)-jo(r));if(Jr.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 jo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function L0(e){try{for(mn=0;mn<Ot.length;mn++){const t=Ot[mn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),lu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;mn<Ot.length;mn++){const t=Ot[mn];t&&(t.flags&=-2)}mn=-1,Ot.length=0,P0(),Qu=null,(Ot.length||Jr.length)&&L0()}}let yt=null,N0=null;function Xu(e){const t=yt;return yt=e,N0=e&&e.type.__scopeId||null,t}function he(e,t=yt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ts(-1);const u=Xu(t);let s;try{s=e(...o)}finally{Xu(u),r._d&&ts(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function H1(e,t){if(yt===null)return e;const n=Cs(yt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[u,s,i,l=Le]=t[o];u&&(be(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 _r(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&&(jn(),wn(l,n,8,[e.el,i,e,t]),Hn())}}function fo(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 Mt(e,t,n=!1){const r=It();if(r||Dr){let o=Dr?Dr._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&&be(t)?t.call(r&&r.proxy):t}}function V1(){return!!(It()||Dr)}const W1=Symbol.for("v-scx"),G1=()=>Mt(W1);function on(e,t){return au(e,null,t)}function $0(e,t){return au(e,null,{flush:"post"})}function K1(e,t){return au(e,null,{flush:"sync"})}function Ke(e,t,n){return au(e,t,n)}function au(e,t,n=Le){const{immediate:r,deep:o,flush:u,once:s}=n,i=mt({},n),l=t&&r||!t&&u!=="post";let a;if(Ko){if(u==="sync"){const d=G1();a=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=xn,d.resume=xn,d.pause=xn,d}}const c=Et;i.call=(d,p,m)=>wn(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():Sl(d)}),i.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=B1(e,t,i);return Ko&&(a?a.push(h):l&&h()),h}function Y1(e,t,n){const r=this.proxy,o=Ge(e)?e.includes(".")?z0(r,e):()=>r[e]:e.bind(r,r);let u;be(t)?u=t:(u=t.handler,n=t);const s=du(this),i=au(o,u.bind(r),n);return s(),i}function z0(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,B0=Symbol("_vte"),Z1=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||e.disabled===""),Q1=e=>e&&(e.defer||e.defer===""),Oa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ia=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zi=(e,t)=>{const n=e&&e.to;return Ge(n)?t?t(n):null:n},X1={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:_}}=a,b=Cr(t.props);let{dynamicChildren:E}=t;const y=(S,T,B)=>{S.shapeFlag&16&&c(S.children,T,B,o,u,s,i,l)},A=(S=t)=>{const T=Cr(S.props),B=S.target=zi(S.props,p),Y=Bi(B,S,m,d);B&&(s!=="svg"&&Oa(B)?s="svg":s!=="mathml"&&Ia(B)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(B),T||(y(S,B,Y),Do(S,!1)))},C=S=>{const T=()=>{if(or.get(S)===T){if(or.delete(S),Cr(S.props)){const B=_(S.el)||n;y(S,B,S.anchor),Do(S,!0)}A(S)}};or.set(S,T),Dt(T,u)};if(e==null){const S=t.el=m(""),T=t.anchor=m("");if(d(S,n,r),d(T,n,r),Q1(t.props)||u&&u.pendingBranch){C(t);return}b&&(y(t,n,T),Do(t,!0)),A()}else{t.el=e.el;const S=t.anchor=e.anchor,T=or.get(e);if(T){T.flags|=8,or.delete(e),C(t);return}t.targetStart=e.targetStart;const B=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,fe=Cr(e.props),H=fe?n:B,ae=fe?S:Y;if(s==="svg"||Oa(B)?s="svg":(s==="mathml"||Ia(B))&&(s="mathml"),E?(h(e.dynamicChildren,E,H,o,u,s,i),Il(e,t,!0)):l||f(e,t,H,ae,o,u,s,i,!1),b)fe?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Su(t,n,S,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=zi(t.props,p);$&&Su(t,$,null,a,0)}else fe&&Su(t,B,Y,a,1);Do(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:Su,hydrate:J1};function Su(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 J1(e,t,n,r,o,u,{o:{nextSibling:s,parentNode:i,querySelector:l,insert:a,createText:c}},f){function h(g,_){let b=_;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,_){_.anchor=f(s(g),_,i(g),n,r,o,u)}const p=t.target=zi(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||Bi(p,t,c,a,i(e)===p?e:null)):(t.anchor=s(e),h(p,g),t.targetAnchor||Bi(p,t,c,a),f(g&&s(g),t,p,n,r,o,u))),Do(t,m)}else m&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}const q0=X1;function Do(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 Bi(e,t,n,r,o=null){const u=t.targetStart=n(""),s=t.targetAnchor=n("");return u[B0]=s,e&&(r(u,e,o),r(s,e,o)),s}const em=Symbol("_leaveCb");function Tl(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tl(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 ye(e,t){return be(e)?mt({name:e.name},t,{setup:e}):e}function Js(){const e=It();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function U0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ra(e){const t=It(),n=su(null);if(t){const o=t.refs===Le?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:u=>n.value=u})}return n}function Fa(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ju=new WeakMap;function Lo(e,t,n,r,o=!1){if(de(e)){e.forEach((m,g)=>Lo(m,t&&(de(t)?t[g]:t),n,r,o));return}if(eo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Lo(e,t,n,r.component.subTree);return}const u=r.shapeFlag&4?Cs(r.component):r.el,s=o?null:u,{i,r:l}=e,a=t&&t.r,c=i.refs===Le?i.refs={}:i.refs,f=i.setupState,h=Ne(f),d=f===Le?t0:m=>Fa(c,m)?!1:ze(h,m),p=(m,g)=>!(g&&Fa(c,g));if(a!=null&&a!==l){if(Ma(t),Ge(a))c[a]=null,d(a)&&(f[a]=null);else if(Ye(a)){const m=t;p(a,m.k)&&(a.value=null),m.k&&(c[m.k]=null)}}if(be(l))lu(l,i,12,[s,c]);else{const m=Ge(l),g=Ye(l);if(m||g){const _=()=>{if(e.f){const b=m?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(o)de(b)&&_l(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 E=[u];p(l,e.k)&&(l.value=E),e.k&&(c[e.k]=E)}}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=()=>{_(),Ju.delete(e)};b.id=-1,Ju.set(e,b),Dt(b,n)}else Ma(e),_()}}}function Ma(e){const t=Ju.get(e);t&&(t.flags|=8,Ju.delete(e))}gs().requestIdleCallback;gs().cancelIdleCallback;const eo=e=>!!e.type.__asyncLoader,j0=e=>e.type.__isKeepAlive;function H0(e,t){W0(e,"a",t)}function V0(e,t){W0(e,"da",t)}function W0(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(Es(t,r,n),n){let o=n.parent;for(;o&&o.parent;)j0(o.parent.vnode)&&tm(r,t,n,o),o=o.parent}}function tm(e,t,n,r){const o=Es(t,e,r,!0);mr(()=>{_l(r[t],o)},n)}function Es(e,t,n=Et,r=!1){if(n){const o=n[e]||(n[e]=[]),u=t.__weh||(t.__weh=(...s)=>{jn();const i=du(n),l=wn(t,n,e,s);return i(),Hn(),l});return r?o.unshift(u):o.push(u),u}}const Qn=e=>(t,n=Et)=>{(!Ko||e==="sp")&&Es(e,(...r)=>t(...r),n)},nm=Qn("bm"),At=Qn("m"),rm=Qn("bu"),G0=Qn("u"),cu=Qn("bum"),mr=Qn("um"),om=Qn("sp"),um=Qn("rtg"),sm=Qn("rtc");function im(e,t=Et){Es("ec",e,t)}const lm="components",K0=Symbol.for("v-ndc");function Ho(e){return Ge(e)?am(lm,e,!1)||e:e||K0}function am(e,t,n=!0,r=!1){const o=yt||Et;if(o){const u=o.type;{const i=Ym(u,!1);if(i&&(i===t||i===ht(t)||i===ms(ht(t))))return u}const s=Pa(o[e]||u[e],t)||Pa(o.appContext[e],t);return!s&&r?u:s}}function Pa(e,t){return e&&(e[t]||e[ht(t)]||e[ms(ht(t))])}function wt(e,t,n,r){let o;const u=n,s=de(e);if(s||Ge(e)){const i=s&&Tr(e);let l=!1,a=!1;i&&(l=!Bt(e),a=Wn(e),e=ys(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?a?oo(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(Be(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 Ee(e,t,n={},r,o){if(yt.ce||yt.parent&&eo(yt.parent)&&yt.parent.ce){const a=Object.keys(n).length>0;return t!=="default"&&(n.name=t),I(),ie(Ie,null,[me("slot",n,r&&r())],a?-2:64)}let u=e[t];u&&u._c&&(u._d=!1),I();const s=u&&Y0(u(n)),i=n.key||s&&s.key,l=ie(Ie,{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 Y0(e){return e.some(t=>Go(t)?!(t.type===An||t.type===Ie&&!Y0(t.children)):!0)?e:null}const qi=e=>e?md(e)?Cs(e):qi(e.parent):null,No=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=>qi(e.parent),$root:e=>qi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Q0(e),$forceUpdate:e=>e.f||(e.f=()=>{Sl(e.update)}),$nextTick:e=>e.n||(e.n=pt.bind(e.proxy)),$watch:e=>Y1.bind(e)}),ei=(e,t)=>e!==Le&&!e.__isScriptSetup&&ze(e,t),cm={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(ei(r,t))return s[t]=1,r[t];if(o!==Le&&ze(o,t))return s[t]=2,o[t];if(ze(u,t))return s[t]=3,u[t];if(n!==Le&&ze(n,t))return s[t]=4,n[t];Ui&&(s[t]=0)}}const a=No[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!==Le&&ze(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,ze(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:u}=e;return ei(o,t)?(o[t]=n,!0):r!==Le&&ze(r,t)?(r[t]=n,!0):ze(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!==Le&&i[0]!=="$"&&ze(e,i)||ei(t,i)||ze(u,i)||ze(r,i)||ze(No,i)||ze(o.config.globalProperties,i)||(l=s.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ze(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fm(){return dm().slots}function dm(e){const t=It();return t.setupContext||(t.setupContext=bd(t))}function Vo(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function pm(e,t){const n=Vo(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?de(o)||be(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 hm(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):mt({},Vo(e),Vo(t))}let Ui=!0;function mm(e){const t=Q0(e),n=e.proxy,r=e.ctx;Ui=!1,t.beforeCreate&&La(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:_,beforeUnmount:b,destroyed:E,unmounted:y,render:A,renderTracked:C,renderTriggered:S,errorCaptured:T,serverPrefetch:B,expose:Y,inheritAttrs:fe,components:H,directives:ae,filters:$}=t;if(a&&gm(a,r,null),s)for(const j in s){const Z=s[j];be(Z)&&(r[j]=Z.bind(n))}if(o){const j=o.call(n,n);Be(j)&&(e.data=Vn(j))}if(Ui=!0,u)for(const j in u){const Z=u[j],ge=be(Z)?Z.bind(n,n):be(Z.get)?Z.get.bind(n,n):xn,Q=!be(Z)&&be(Z.set)?Z.set.bind(n):xn,_e=F({get:ge,set:Q});Object.defineProperty(r,j,{enumerable:!0,configurable:!0,get:()=>_e.value,set:De=>_e.value=De})}if(i)for(const j in i)Z0(i[j],r,n,j);if(l){const j=be(l)?l.call(n):l;Reflect.ownKeys(j).forEach(Z=>{fo(Z,j[Z])})}c&&La(c,e,"c");function M(j,Z){de(Z)?Z.forEach(ge=>j(ge.bind(n))):Z&&j(Z.bind(n))}if(M(nm,f),M(At,h),M(rm,d),M(G0,p),M(H0,m),M(V0,g),M(im,T),M(sm,C),M(um,S),M(cu,b),M(mr,y),M(om,B),de(Y))if(Y.length){const j=e.exposed||(e.exposed={});Y.forEach(Z=>{Object.defineProperty(j,Z,{get:()=>n[Z],set:ge=>n[Z]=ge,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===xn&&(e.render=A),fe!=null&&(e.inheritAttrs=fe),H&&(e.components=H),ae&&(e.directives=ae),B&&U0(e)}function gm(e,t,n=xn){de(e)&&(e=ji(e));for(const r in e){const o=e[r];let u;Be(o)?"default"in o?u=Mt(o.from||r,o.default,!0):u=Mt(o.from||r):u=Mt(o),Ye(u)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:s=>u.value=s}):t[r]=u}}function La(e,t,n){wn(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Z0(e,t,n,r){let o=r.includes(".")?z0(n,r):()=>n[r];if(Ge(e)){const u=t[e];be(u)&&Ke(o,u)}else if(be(e))Ke(o,e.bind(n));else if(Be(e))if(de(e))e.forEach(u=>Z0(u,t,n,r));else{const u=be(e.handler)?e.handler.bind(n):t[e.handler];be(u)&&Ke(o,u,e)}}function Q0(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=>es(l,a,s,!0)),es(l,t,s)),Be(t)&&u.set(t,l),l}function es(e,t,n,r=!1){const{mixins:o,extends:u}=t;u&&es(e,u,n,!0),o&&o.forEach(s=>es(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const i=bm[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const bm={data:Na,props:$a,emits:$a,methods:Oo,computed:Oo,beforeCreate:St,created:St,beforeMount:St,mounted:St,beforeUpdate:St,updated:St,beforeDestroy:St,beforeUnmount:St,destroyed:St,unmounted:St,activated:St,deactivated:St,errorCaptured:St,serverPrefetch:St,components:Oo,directives:Oo,watch:_m,provide:Na,inject:ym};function Na(e,t){return t?e?function(){return mt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function ym(e,t){return Oo(ji(e),ji(t))}function ji(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function St(e,t){return e?[...new Set([].concat(e,t))]:t}function Oo(e,t){return e?mt(Object.create(null),e,t):t}function $a(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:mt(Object.create(null),Vo(e),Vo(t??{})):t}function _m(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=St(e[r],t[r]);return n}function X0(){return{app:null,config:{isNativeTag:t0,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 vm=0;function xm(e,t){return function(r,o=null){be(r)||(r=mt({},r)),o!=null&&!Be(o)&&(o=null);const u=X0(),s=new WeakSet,i=[];let l=!1;const a=u.app={_uid:vm++,_component:r,_props:o,_container:null,_context:u,_instance:null,version:Qm,get config(){return u.config},set config(c){},use(c,...f){return s.has(c)||(c&&be(c.install)?(s.add(c),c.install(a,...f)):be(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||me(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,Cs(d.component)}},onUnmount(c){i.push(c)},unmount(){l&&(wn(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=Dr;Dr=a;try{return c()}finally{Dr=f}}};return a}}let Dr=null;function km(e,t,n=Le){const r=It(),o=ht(t),u=Yn(t),s=J0(e,o),i=Cl((l,a)=>{let c,f=Le,h;return K1(()=>{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!==Le&&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||Le:i,done:!1}:{done:!0}}}},i}const J0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${Yn(t)}Modifiers`];function Em(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let o=n;const u=t.startsWith("update:"),s=u&&J0(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Ge(c)?c.trim():c)),s.number&&(o=n.map(vl)));let i,l=r[i=qu(t)]||r[i=qu(ht(t))];!l&&u&&(l=r[i=qu(Yn(t))]),l&&wn(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,wn(a,e,6,o)}}const wm=new WeakMap;function ed(e,t,n=!1){const r=n?wm:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const u=e.emits;let s={},i=!1;if(!be(e)){const l=a=>{const c=ed(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?(Be(e)&&r.set(e,null),null):(de(u)?u.forEach(l=>s[l]=null):mt(s,u),Be(e)&&r.set(e,s),s)}function ws(e,t){return!e||!fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ze(e,t[0].toLowerCase()+t.slice(1))||ze(e,Yn(t))||ze(e,t))}function za(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=Xu(e);let _,b;try{if(n.shapeFlag&4){const y=o||r,A=y;_=bn(a.call(A,y,c,f,d,h,p)),b=i}else{const y=t;_=bn(y.length>1?y(f,{attrs:i,slots:s,emit:l}):y(f,null)),b=t.props?i:Am(i)}}catch(y){$o.length=0,ks(y,e,1),_=me(An)}let E=_;if(b&&m!==!1){const y=Object.keys(b),{shapeFlag:A}=E;y.length&&A&7&&(u&&y.some(ds)&&(b=Cm(b,u)),E=Ir(E,b,!1,!0))}return n.dirs&&(E=Ir(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Tl(E,n.transition),_=E,Xu(g),_}const Am=e=>{let t;for(const n in e)(n==="class"||n==="style"||fs(n))&&((t||(t={}))[n]=e[n]);return t},Cm=(e,t)=>{const n={};for(const r in e)(!ds(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Sm(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?Ba(r,s,a):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(td(s,r,h)&&!ws(a,h))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===s?!1:r?s?Ba(r,s,a):!0:!!s;return!1}function Ba(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(td(t,e,u)&&!ws(n,u))return!0}return!1}function td(e,t,n){const r=e[n],o=t[n];return n==="style"&&Be(r)&&Be(o)?!xl(r,o):r!==o}function Tm({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 nd={},rd=()=>Object.create(nd),od=e=>Object.getPrototypeOf(e)===nd;function Dm(e,t,n,r=!1){const o={},u=rd();e.propsDefaults=Object.create(null),ud(e,t,o,u);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:O1(o):e.type.props?e.props=o:e.props=u,e.attrs=u}function Om(e,t,n,r){const{props:o,attrs:u,vnode:{patchFlag:s}}=e,i=Ne(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(ws(e.emitsOptions,h))continue;const d=t[h];if(l)if(ze(u,h))d!==u[h]&&(u[h]=d,a=!0);else{const p=ht(h);o[p]=Hi(l,i,p,d,e,!1)}else d!==u[h]&&(u[h]=d,a=!0)}}}else{ud(e,t,o,u)&&(a=!0);let c;for(const f in i)(!t||!ze(t,f)&&((c=Yn(f))===f||!ze(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=Hi(l,i,f,void 0,e,!0)):delete o[f]);if(u!==i)for(const f in u)(!t||!ze(t,f))&&(delete u[f],a=!0)}a&&$n(e.attrs,"set","")}function ud(e,t,n,r){const[o,u]=e.propsOptions;let s=!1,i;if(t)for(let l in t){if(Fo(l))continue;const a=t[l];let c;o&&ze(o,c=ht(l))?!u||!u.includes(c)?n[c]=a:(i||(i={}))[c]=a:ws(e.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,s=!0)}if(u){const l=Ne(n),a=i||Le;for(let c=0;c<u.length;c++){const f=u[c];n[f]=Hi(o,l,f,a[f],e,!ze(a,f))}}return s}function Hi(e,t,n,r,o,u){const s=e[n];if(s!=null){const i=ze(s,"default");if(i&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&be(l)){const{propsDefaults:a}=o;if(n in a)r=a[n];else{const c=du(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 Im=new WeakMap;function sd(e,t,n=!1){const r=n?Im:t.propsCache,o=r.get(e);if(o)return o;const u=e.props,s={},i=[];let l=!1;if(!be(e)){const c=f=>{l=!0;const[h,d]=sd(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 Be(e)&&r.set(e,Qr),Qr;if(de(u))for(let c=0;c<u.length;c++){const f=ht(u[c]);qa(f)&&(s[f]=Le)}else if(u)for(const c in u){const f=ht(c);if(qa(f)){const h=u[c],d=s[f]=de(h)||be(h)?{type:h}:mt({},h),p=d.type;let m=!1,g=!0;if(de(p))for(let _=0;_<p.length;++_){const b=p[_],E=be(b)&&b.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(g=!1)}else m=be(p)&&p.name==="Boolean";d[0]=m,d[1]=g,(m||ze(d,"default"))&&i.push(f)}}const a=[s,i];return Be(e)&&r.set(e,a),a}function qa(e){return e[0]!=="$"&&!Fo(e)}const Dl=e=>e==="_"||e==="_ctx"||e==="$stable",Ol=e=>de(e)?e.map(bn):[bn(e)],Rm=(e,t,n)=>{if(t._n)return t;const r=he((...o)=>Ol(t(...o)),n);return r._c=!1,r},id=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Dl(o))continue;const u=e[o];if(be(u))t[o]=Rm(o,u,r);else if(u!=null){const s=Ol(u);t[o]=()=>s}}},ld=(e,t)=>{const n=Ol(t);e.slots.default=()=>n},ad=(e,t,n)=>{for(const r in t)(n||!Dl(r))&&(e[r]=t[r])},Fm=(e,t,n)=>{const r=e.slots=rd();if(e.vnode.shapeFlag&32){const o=t._;o?(ad(r,t,n),n&&s0(r,"_",o,!0)):id(t,r)}else t&&ld(e,t)},Mm=(e,t,n)=>{const{vnode:r,slots:o}=e;let u=!0,s=Le;if(r.shapeFlag&32){const i=t._;i?n&&i===1?u=!1:ad(o,t,n):(u=!t.$stable,id(t,o)),s=t}else t&&(ld(e,t),s={default:1});if(u)for(const i in o)!Dl(i)&&s[i]==null&&delete o[i]},Dt=zm;function Pm(e){return Lm(e)}function Lm(e,t){const n=gs();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=xn,insertStaticContent:p}=e,m=(k,w,O,P=null,N=null,q=null,R=void 0,G=null,W=!!w.dynamicChildren)=>{if(k===w)return;k&&!ko(k,w)&&(P=J(k),De(k,N,q,!0),k=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:U,ref:ce,shapeFlag:ee}=w;switch(U){case As:g(k,w,O,P);break;case An:_(k,w,O,P);break;case ju:k==null&&b(w,O,P,R);break;case Ie:H(k,w,O,P,N,q,R,G,W);break;default:ee&1?A(k,w,O,P,N,q,R,G,W):ee&6?ae(k,w,O,P,N,q,R,G,W):(ee&64||ee&128)&&U.process(k,w,O,P,N,q,R,G,W,$e)}ce!=null&&N?Lo(ce,k&&k.ref,q,w||k,!w):ce==null&&k&&k.ref!=null&&Lo(k.ref,null,q,k,!0)},g=(k,w,O,P)=>{if(k==null)r(w.el=i(w.children),O,P);else{const N=w.el=k.el;w.children!==k.children&&a(N,w.children)}},_=(k,w,O,P)=>{k==null?r(w.el=l(w.children||""),O,P):w.el=k.el},b=(k,w,O,P)=>{[k.el,k.anchor]=p(k.children,w,O,P,k.el,k.anchor)},E=({el:k,anchor:w},O,P)=>{let N;for(;k&&k!==w;)N=h(k),r(k,O,P),k=N;r(w,O,P)},y=({el:k,anchor:w})=>{let O;for(;k&&k!==w;)O=h(k),o(k),k=O;o(w)},A=(k,w,O,P,N,q,R,G,W)=>{if(w.type==="svg"?R="svg":w.type==="math"&&(R="mathml"),k==null)C(w,O,P,N,q,R,G,W);else{const U=k.el&&k.el._isVueCE?k.el:null;try{U&&U._beginPatch(),B(k,w,N,q,R,G,W)}finally{U&&U._endPatch()}}},C=(k,w,O,P,N,q,R,G)=>{let W,U;const{props:ce,shapeFlag:ee,transition:oe,dirs:se}=k;if(W=k.el=s(k.type,q,ce&&ce.is,ce),ee&8?c(W,k.children):ee&16&&T(k.children,W,null,P,N,ti(k,q),R,G),se&&_r(k,null,P,"created"),S(W,k,k.scopeId,R,P),ce){for(const Te in ce)Te!=="value"&&!Fo(Te)&&u(W,Te,null,ce[Te],q,P);"value"in ce&&u(W,"value",null,ce.value,q),(U=ce.onVnodeBeforeMount)&&fn(U,P,k)}se&&_r(k,null,P,"beforeMount");const ke=Nm(N,oe);ke&&oe.beforeEnter(W),r(W,w,O),((U=ce&&ce.onVnodeMounted)||ke||se)&&Dt(()=>{try{U&&fn(U,P,k),ke&&oe.enter(W),se&&_r(k,null,P,"mounted")}finally{}},N)},S=(k,w,O,P,N)=>{if(O&&d(k,O),P)for(let q=0;q<P.length;q++)d(k,P[q]);if(N){let q=N.subTree;if(w===q||dd(q.type)&&(q.ssContent===w||q.ssFallback===w)){const R=N.vnode;S(k,R,R.scopeId,R.slotScopeIds,N.parent)}}},T=(k,w,O,P,N,q,R,G,W=0)=>{for(let U=W;U<k.length;U++){const ce=k[U]=G?Ln(k[U]):bn(k[U]);m(null,ce,w,O,P,N,q,R,G)}},B=(k,w,O,P,N,q,R)=>{const G=w.el=k.el;let{patchFlag:W,dynamicChildren:U,dirs:ce}=w;W|=k.patchFlag&16;const ee=k.props||Le,oe=w.props||Le;let se;if(O&&vr(O,!1),(se=oe.onVnodeBeforeUpdate)&&fn(se,O,w,k),ce&&_r(w,k,O,"beforeUpdate"),O&&vr(O,!0),(ee.innerHTML&&oe.innerHTML==null||ee.textContent&&oe.textContent==null)&&c(G,""),U?Y(k.dynamicChildren,U,G,O,P,ti(w,N),q):R||Z(k,w,G,null,O,P,ti(w,N),q,!1),W>0){if(W&16)fe(G,ee,oe,O,N);else if(W&2&&ee.class!==oe.class&&u(G,"class",null,oe.class,N),W&4&&u(G,"style",ee.style,oe.style,N),W&8){const ke=w.dynamicProps;for(let Te=0;Te<ke.length;Te++){const Fe=ke[Te],qe=ee[Fe],Ue=oe[Fe];(Ue!==qe||Fe==="value")&&u(G,Fe,qe,Ue,N,O)}}W&1&&k.children!==w.children&&c(G,w.children)}else!R&&U==null&&fe(G,ee,oe,O,N);((se=oe.onVnodeUpdated)||ce)&&Dt(()=>{se&&fn(se,O,w,k),ce&&_r(w,k,O,"updated")},P)},Y=(k,w,O,P,N,q,R)=>{for(let G=0;G<w.length;G++){const W=k[G],U=w[G],ce=W.el&&(W.type===Ie||!ko(W,U)||W.shapeFlag&198)?f(W.el):O;m(W,U,ce,null,P,N,q,R,!0)}},fe=(k,w,O,P,N)=>{if(w!==O){if(w!==Le)for(const q in w)!Fo(q)&&!(q in O)&&u(k,q,w[q],null,N,P);for(const q in O){if(Fo(q))continue;const R=O[q],G=w[q];R!==G&&q!=="value"&&u(k,q,G,R,N,P)}"value"in O&&u(k,"value",w.value,O.value,N)}},H=(k,w,O,P,N,q,R,G,W)=>{const U=w.el=k?k.el:i(""),ce=w.anchor=k?k.anchor:i("");let{patchFlag:ee,dynamicChildren:oe,slotScopeIds:se}=w;se&&(G=G?G.concat(se):se),k==null?(r(U,O,P),r(ce,O,P),T(w.children||[],O,ce,N,q,R,G,W)):ee>0&&ee&64&&oe&&k.dynamicChildren&&k.dynamicChildren.length===oe.length?(Y(k.dynamicChildren,oe,O,N,q,R,G),(w.key!=null||N&&w===N.subTree)&&Il(k,w,!0)):Z(k,w,O,ce,N,q,R,G,W)},ae=(k,w,O,P,N,q,R,G,W)=>{w.slotScopeIds=G,k==null?w.shapeFlag&512?N.ctx.activate(w,O,P,R,W):$(w,O,P,N,q,R,W):z(k,w,W)},$=(k,w,O,P,N,q,R)=>{const G=k.component=Vm(k,P,N);if(j0(k)&&(G.ctx.renderer=$e),Wm(G,!1,R),G.asyncDep){if(N&&N.registerDep(G,M,R),!k.el){const W=G.subTree=me(An);_(null,W,w,O),k.placeholder=W.el}}else M(G,k,w,O,N,q,R)},z=(k,w,O)=>{const P=w.component=k.component;if(Sm(k,w,O))if(P.asyncDep&&!P.asyncResolved){j(P,w,O);return}else P.next=w,P.update();else w.el=k.el,P.vnode=w},M=(k,w,O,P,N,q,R)=>{const G=()=>{if(k.isMounted){let{next:ee,bu:oe,u:se,parent:ke,vnode:Te}=k;{const it=cd(k);if(it){ee&&(ee.el=Te.el,j(k,ee,R)),it.asyncDep.then(()=>{Dt(()=>{k.isUnmounted||U()},N)});return}}let Fe=ee,qe;vr(k,!1),ee?(ee.el=Te.el,j(k,ee,R)):ee=Te,oe&&Uu(oe),(qe=ee.props&&ee.props.onVnodeBeforeUpdate)&&fn(qe,ke,ee,Te),vr(k,!0);const Ue=za(k),st=k.subTree;k.subTree=Ue,m(st,Ue,f(st.el),J(st),k,N,q),ee.el=Ue.el,Fe===null&&Tm(k,Ue.el),se&&Dt(se,N),(qe=ee.props&&ee.props.onVnodeUpdated)&&Dt(()=>fn(qe,ke,ee,Te),N)}else{let ee;const{el:oe,props:se}=w,{bm:ke,m:Te,parent:Fe,root:qe,type:Ue}=k,st=eo(w);vr(k,!1),ke&&Uu(ke),!st&&(ee=se&&se.onVnodeBeforeMount)&&fn(ee,Fe,w),vr(k,!0);{qe.ce&&qe.ce._hasShadowRoot()&&qe.ce._injectChildStyle(Ue,k.parent?k.parent.type:void 0);const it=k.subTree=za(k);m(null,it,O,P,k,N,q),w.el=it.el}if(Te&&Dt(Te,N),!st&&(ee=se&&se.onVnodeMounted)){const it=w;Dt(()=>fn(ee,Fe,it),N)}(w.shapeFlag&256||Fe&&eo(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&k.a&&Dt(k.a,N),k.isMounted=!0,w=O=P=null}};k.scope.on();const W=k.effect=new p0(G);k.scope.off();const U=k.update=W.run.bind(W),ce=k.job=W.runIfDirty.bind(W);ce.i=k,ce.id=k.uid,W.scheduler=()=>Sl(ce),vr(k,!0),U()},j=(k,w,O)=>{w.component=k;const P=k.vnode.props;k.vnode=w,k.next=null,Om(k,w.props,P,O),Mm(k,w.children,O),jn(),Da(k),Hn()},Z=(k,w,O,P,N,q,R,G,W=!1)=>{const U=k&&k.children,ce=k?k.shapeFlag:0,ee=w.children,{patchFlag:oe,shapeFlag:se}=w;if(oe>0){if(oe&128){Q(U,ee,O,P,N,q,R,G,W);return}else if(oe&256){ge(U,ee,O,P,N,q,R,G,W);return}}se&8?(ce&16&&Pe(U,N,q),ee!==U&&c(O,ee)):ce&16?se&16?Q(U,ee,O,P,N,q,R,G,W):Pe(U,N,q,!0):(ce&8&&c(O,""),se&16&&T(ee,O,P,N,q,R,G,W))},ge=(k,w,O,P,N,q,R,G,W)=>{k=k||Qr,w=w||Qr;const U=k.length,ce=w.length,ee=Math.min(U,ce);let oe;for(oe=0;oe<ee;oe++){const se=w[oe]=W?Ln(w[oe]):bn(w[oe]);m(k[oe],se,O,null,N,q,R,G,W)}U>ce?Pe(k,N,q,!0,!1,ee):T(w,O,P,N,q,R,G,W,ee)},Q=(k,w,O,P,N,q,R,G,W)=>{let U=0;const ce=w.length;let ee=k.length-1,oe=ce-1;for(;U<=ee&&U<=oe;){const se=k[U],ke=w[U]=W?Ln(w[U]):bn(w[U]);if(ko(se,ke))m(se,ke,O,null,N,q,R,G,W);else break;U++}for(;U<=ee&&U<=oe;){const se=k[ee],ke=w[oe]=W?Ln(w[oe]):bn(w[oe]);if(ko(se,ke))m(se,ke,O,null,N,q,R,G,W);else break;ee--,oe--}if(U>ee){if(U<=oe){const se=oe+1,ke=se<ce?w[se].el:P;for(;U<=oe;)m(null,w[U]=W?Ln(w[U]):bn(w[U]),O,ke,N,q,R,G,W),U++}}else if(U>oe)for(;U<=ee;)De(k[U],N,q,!0),U++;else{const se=U,ke=U,Te=new Map;for(U=ke;U<=oe;U++){const Ze=w[U]=W?Ln(w[U]):bn(w[U]);Ze.key!=null&&Te.set(Ze.key,U)}let Fe,qe=0;const Ue=oe-ke+1;let st=!1,it=0;const Zt=new Array(Ue);for(U=0;U<Ue;U++)Zt[U]=0;for(U=se;U<=ee;U++){const Ze=k[U];if(qe>=Ue){De(Ze,N,q,!0);continue}let gt;if(Ze.key!=null)gt=Te.get(Ze.key);else for(Fe=ke;Fe<=oe;Fe++)if(Zt[Fe-ke]===0&&ko(Ze,w[Fe])){gt=Fe;break}gt===void 0?De(Ze,N,q,!0):(Zt[gt-ke]=U+1,gt>=it?it=gt:st=!0,m(Ze,w[gt],O,null,N,q,R,G,W),qe++)}const Qt=st?$m(Zt):Qr;for(Fe=Qt.length-1,U=Ue-1;U>=0;U--){const Ze=ke+U,gt=w[Ze],In=w[Ze+1],Ht=Ze+1<ce?In.el||fd(In):P;Zt[U]===0?m(null,gt,O,Ht,N,q,R,G,W):st&&(Fe<0||U!==Qt[Fe]?_e(gt,O,Ht,2):Fe--)}}},_e=(k,w,O,P,N=null)=>{const{el:q,type:R,transition:G,children:W,shapeFlag:U}=k;if(U&6){_e(k.component.subTree,w,O,P);return}if(U&128){k.suspense.move(w,O,P);return}if(U&64){R.move(k,w,O,$e);return}if(R===Ie){r(q,w,O);for(let ee=0;ee<W.length;ee++)_e(W[ee],w,O,P);r(k.anchor,w,O);return}if(R===ju){E(k,w,O);return}if(P!==2&&U&1&&G)if(P===0)G.beforeEnter(q),r(q,w,O),Dt(()=>G.enter(q),N);else{const{leave:ee,delayLeave:oe,afterLeave:se}=G,ke=()=>{k.ctx.isUnmounted?o(q):r(q,w,O)},Te=()=>{q._isLeaving&&q[em](!0),ee(q,()=>{ke(),se&&se()})};oe?oe(q,ke,Te):Te()}else r(q,w,O)},De=(k,w,O,P=!1,N=!1)=>{const{type:q,props:R,ref:G,children:W,dynamicChildren:U,shapeFlag:ce,patchFlag:ee,dirs:oe,cacheIndex:se,memo:ke}=k;if(ee===-2&&(N=!1),G!=null&&(jn(),Lo(G,null,O,k,!0),Hn()),se!=null&&(w.renderCache[se]=void 0),ce&256){w.ctx.deactivate(k);return}const Te=ce&1&&oe,Fe=!eo(k);let qe;if(Fe&&(qe=R&&R.onVnodeBeforeUnmount)&&fn(qe,w,k),ce&6)Re(k.component,O,P);else{if(ce&128){k.suspense.unmount(O,P);return}Te&&_r(k,null,w,"beforeUnmount"),ce&64?k.type.remove(k,w,O,$e,P):U&&!U.hasOnce&&(q!==Ie||ee>0&&ee&64)?Pe(U,w,O,!1,!0):(q===Ie&&ee&384||!N&&ce&16)&&Pe(W,w,O),P&&Je(k)}const Ue=ke!=null&&se==null;(Fe&&(qe=R&&R.onVnodeUnmounted)||Te||Ue)&&Dt(()=>{qe&&fn(qe,w,k),Te&&_r(k,null,w,"unmounted"),Ue&&(k.el=null)},O)},Je=k=>{const{type:w,el:O,anchor:P,transition:N}=k;if(w===Ie){Ce(O,P);return}if(w===ju){y(k);return}const q=()=>{o(O),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(k.shapeFlag&1&&N&&!N.persisted){const{leave:R,delayLeave:G}=N,W=()=>R(O,q);G?G(k.el,q,W):W()}else q()},Ce=(k,w)=>{let O;for(;k!==w;)O=h(k),o(k),k=O;o(w)},Re=(k,w,O)=>{const{bum:P,scope:N,job:q,subTree:R,um:G,m:W,a:U}=k;Ua(W),Ua(U),P&&Uu(P),N.stop(),q&&(q.flags|=8,De(R,k,w,O)),G&&Dt(G,w),Dt(()=>{k.isUnmounted=!0},w)},Pe=(k,w,O,P=!1,N=!1,q=0)=>{for(let R=q;R<k.length;R++)De(k[R],w,O,P,N)},J=k=>{if(k.shapeFlag&6)return J(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const w=h(k.anchor||k.el),O=w&&w[B0];return O?h(O):w};let Se=!1;const pe=(k,w,O)=>{let P;k==null?w._vnode&&(De(w._vnode,null,null,!0),P=w._vnode.component):m(w._vnode||null,k,w,null,null,null,O),w._vnode=k,Se||(Se=!0,Da(P),P0(),Se=!1)},$e={p:m,um:De,m:_e,r:Je,mt:$,mc:T,pc:Z,pbc:Y,n:J,o:e};return{render:pe,hydrate:void 0,createApp:xm(pe)}}function ti({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 vr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Il(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&&Il(s,i)),i.type===As&&(i.patchFlag===-1&&(i=o[u]=Ln(i)),i.el=s.el),i.type===An&&!i.el&&(i.el=s.el)}}function $m(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 cd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cd(t)}function Ua(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function fd(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?fd(t.subTree):null}const dd=e=>e.__isSuspense;function zm(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):j1(e)}const Ie=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),An=Symbol.for("v-cmt"),ju=Symbol.for("v-stc"),$o=[];let zt=null;function I(e=!1){$o.push(zt=e?null:[])}function Bm(){$o.pop(),zt=$o[$o.length-1]||null}let Wo=1;function ts(e,t=!1){Wo+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function pd(e){return e.dynamicChildren=Wo>0?zt||Qr:null,Bm(),Wo>0&&zt&&zt.push(e),e}function V(e,t,n,r,o,u){return pd(L(e,t,n,r,o,u,!0))}function ie(e,t,n,r,o){return pd(me(e,t,n,r,o,!0))}function Go(e){return e?e.__v_isVNode===!0:!1}function ko(e,t){return e.type===t.type&&e.key===t.key}const hd=({key:e})=>e??null,Hu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||Ye(e)||be(e)?{i:yt,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,o=null,u=e===Ie?0:1,s=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hd(t),ref:t&&Hu(t),scopeId:N0,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?(Rl(l,n),u&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),Wo>0&&!s&&zt&&(l.patchFlag>0||u&6)&&l.patchFlag!==32&&zt.push(l),l}const me=qm;function qm(e,t=null,n=null,r=0,o=null,u=!1){if((!e||e===K0)&&(e=An),Go(e)){const i=Ir(e,t,!0);return n&&Rl(i,n),Wo>0&&!u&&zt&&(i.shapeFlag&6?zt[zt.indexOf(e)]=i:zt.push(i)),i.patchFlag=-2,i}if(Zm(e)&&(e=e.__vccOpts),t){t=fu(t);let{class:i,style:l}=t;i&&!Ge(i)&&(t.class=je(i)),Be(l)&&(xs(l)&&!de(l)&&(l=mt({},l)),t.style=Zn(l))}const s=Ge(e)?1:dd(e)?128:Z1(e)?64:Be(e)?4:be(e)?2:0;return L(e,t,n,r,o,s,u,!0)}function fu(e){return e?xs(e)||od(e)?mt({},e):e:null}function Ir(e,t,n=!1,r=!1){const{props:o,ref:u,patchFlag:s,children:i,transition:l}=e,a=t?He(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&hd(a),ref:t&&t.ref?n&&u?de(u)?u.concat(Hu(t)):[u,Hu(t)]:Hu(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!==Ie?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&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Tl(c,l.clone(c)),c}function en(e=" ",t=0){return me(As,null,e,t)}function Um(e,t){const n=me(ju,null,e);return n.staticCount=t,n}function ve(e="",t=!1){return t?(I(),ie(An,null,e)):me(An,null,e)}function bn(e){return e==null||typeof e=="boolean"?me(An):de(e)?me(Ie,null,e.slice()):Go(e)?Ln(e):me(As,null,String(e))}function Ln(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ir(e)}function Rl(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),Rl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!od(t)?t._ctx=yt:o===3&&yt&&(yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(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 He(...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(fs(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&&!ds(o)&&(t[o]=s)}else o!==""&&(t[o]=r[o])}return t}function fn(e,t,n,r=null){wn(e,t,7,[n,r])}const jm=X0();let Hm=0;function Vm(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||jm,u={uid:Hm++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new c0(!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:sd(r,o),emitsOptions:ed(r,o),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,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=Em.bind(null,u),e.ce&&e.ce(u),u}let Et=null;const It=()=>Et||yt;let ns,Vi;{const e=gs(),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)}};ns=t("__VUE_INSTANCE_SETTERS__",n=>Et=n),Vi=t("__VUE_SSR_SETTERS__",n=>Ko=n)}const du=e=>{const t=Et;return ns(e),e.scope.on(),()=>{e.scope.off(),ns(t)}},ja=()=>{Et&&Et.scope.off(),ns(null)};function md(e){return e.vnode.shapeFlag&4}let Ko=!1;function Wm(e,t=!1,n=!1){t&&Vi(t);const{props:r,children:o}=e.vnode,u=md(e);Dm(e,r,u,t),Fm(e,o,n||t);const s=u?Gm(e,t):void 0;return t&&Vi(!1),s}function Gm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cm);const{setup:r}=n;if(r){jn();const o=e.setupContext=r.length>1?bd(e):null,u=du(e),s=lu(r,e,0,[e.props,o]),i=r0(s);if(Hn(),u(),(i||e.sp)&&!eo(e)&&U0(e),i){if(s.then(ja,ja),t)return s.then(l=>{Ha(e,l)}).catch(l=>{ks(l,e,0)});e.asyncDep=s}else Ha(e,s)}else gd(e)}function Ha(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=I0(t)),gd(e)}function gd(e,t,n){const r=e.type;e.render||(e.render=r.render||xn);{const o=du(e);jn();try{mm(e)}finally{Hn(),o()}}}const Km={get(e,t){return kt(e,"get",""),e[t]}};function bd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Km),slots:e.slots,emit:e.emit,expose:t}}function Cs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(I0(D0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in No)return No[n](e)},has(t,n){return n in t||n in No}})):e.proxy}function Ym(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Zm(e){return be(e)&&"__vccOpts"in e}const F=(e,t)=>$1(e,t,Ko);function fr(e,t,n){try{ts(-1);const r=arguments.length;return r===2?Be(t)&&!de(t)?Go(t)?me(e,null,[t]):me(e,t):me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Go(n)&&(n=[n]),me(e,t,n))}finally{ts(1)}}const Qm="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 Wi;const Va=typeof window<"u"&&window.trustedTypes;if(Va)try{Wi=Va.createPolicy("vue",{createHTML:e=>e})}catch{}const yd=Wi?e=>Wi.createHTML(e):e=>e,Xm="http://www.w3.org/2000/svg",Jm="http://www.w3.org/1998/Math/MathML",Pn=typeof document<"u"?document:null,Wa=Pn&&Pn.createElement("template"),eg={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(Xm,e):t==="mathml"?Pn.createElementNS(Jm,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{Wa.innerHTML=yd(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Wa.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]}},tg=Symbol("_vtc");function ng(e,t,n){const r=e[tg];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ga=Symbol("_vod"),rg=Symbol("_vsh"),og=Symbol(""),ug=/(?:^|;)\s*display\s*:/;function sg(e,t,n){const r=e.style,o=Ge(n);let u=!1;if(n&&!o){if(t)if(Ge(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&Io(r,i,"")}else for(const s in t)n[s]==null&&Io(r,s,"");for(const s in n){s==="display"&&(u=!0);const i=n[s];i!=null?lg(e,s,!Ge(t)&&t?t[s]:void 0,i)||Io(r,s,i):Io(r,s,"")}}else if(o){if(t!==n){const s=r[og];s&&(n+=";"+s),r.cssText=n,u=ug.test(n)}}else t&&e.removeAttribute("style");Ga in e&&(e[Ga]=u?r.display:"",e[rg]&&(r.display="none"))}const Ka=/\s*!important$/;function Io(e,t,n){if(de(n))n.forEach(r=>Io(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ig(e,t);Ka.test(n)?e.setProperty(Yn(r),n.replace(Ka,""),"important"):e[r]=n}}const Ya=["Webkit","Moz","ms"],ni={};function ig(e,t){const n=ni[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return ni[t]=r;r=ms(r);for(let o=0;o<Ya.length;o++){const u=Ya[o]+r;if(u in e)return ni[t]=u}return t}function lg(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ge(r)&&n===r}const Za="http://www.w3.org/1999/xlink";function Qa(e,t,n,r,o,u=a1(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Za,t.slice(6,t.length)):e.setAttributeNS(Za,t,n):n==null||u&&!i0(n)?e.removeAttribute(t):e.setAttribute(t,u?"":Ut(n)?String(n):n)}function Xa(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?yd(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=i0(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 Gr(e,t,n,r){e.addEventListener(t,n,r)}function ag(e,t,n,r){e.removeEventListener(t,n,r)}const Ja=Symbol("_vei");function cg(e,t,n,r,o=null){const u=e[Ja]||(e[Ja]={}),s=u[t];if(r&&s)s.value=r;else{const[i,l]=fg(t);if(r){const a=u[t]=hg(r,o);Gr(e,i,a,l)}else s&&(ag(e,i,s,l),u[t]=void 0)}}const ec=/(?:Once|Passive|Capture)$/;function fg(e){let t;if(ec.test(e)){t={};let r;for(;r=e.match(ec);)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 ri=0;const dg=Promise.resolve(),pg=()=>ri||(dg.then(()=>ri=0),ri=Date.now());function hg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wn(mg(r,n.value),t,5,[r])};return n.value=e,n.attached=pg(),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 tc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gg=(e,t,n,r,o,u)=>{const s=o==="svg";t==="class"?ng(e,r,s):t==="style"?sg(e,n,r):fs(t)?ds(t)||cg(e,t,n,r,u):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bg(e,t,r,s))?(Xa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qa(e,t,r,s,u,t!=="value")):e._isVueCE&&(yg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ge(r)))?Xa(e,ht(t),r,u,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Qa(e,t,r,s))};function bg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&tc(t)&&be(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 tc(t)&&Ge(n)?!1:t in e}function yg(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 nc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>Uu(t,n):t};function _g(e){e.target.composing=!0}function rc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const oi=Symbol("_assign");function oc(e,t,n){return t&&(e=e.trim()),n&&(e=vl(e)),e}const vg={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[oi]=nc(o);const u=r||o.props&&o.props.type==="number";Gr(e,t?"change":"input",s=>{s.target.composing||e[oi](oc(e.value,n,u))}),(n||u)&&Gr(e,"change",()=>{e.value=oc(e.value,n,u)}),t||(Gr(e,"compositionstart",_g),Gr(e,"compositionend",rc),Gr(e,"change",rc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:u}},s){if(e[oi]=nc(s),e.composing)return;const i=(u||e.type==="number")&&!/^0\d/.test(e.value)?vl(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)}},xg=["ctrl","shift","alt","meta"],kg={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)=>xg.some(n=>e[`${n}Key`]&&!t.includes(n))},Or=(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=kg[t[s]];if(i&&i(o,t))return}return e(o,...u)})},Eg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wg=(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||Eg[s]===u))return e(o)})},Ag=mt({patchProp:gg},eg);let uc;function Cg(){return uc||(uc=Pm(Ag))}const Sg=(...e)=>{const t=Cg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Dg(r);if(!o)return;const u=t._component;!be(u)&&!u.render&&!u.template&&(u.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Tg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Tg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dg(e){return Ge(e)?document.querySelector(e):e}const Og=(e,t)=>Ye(t)?tt(t):t,_d="usehead";function Ig(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_d,e)}}.install}function vd(){if(V1()){const e=Mt(_d);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Rg(e,t={}){const n=t.head||vd();return n.ssr?n.push(e||{},t):Fg(n,e,t)}function Fg(e,t,n={}){const r=K(!1);let o;return on(()=>{const s=r.value?{}:Ku(t,Og);o?o.patch(s):o=e.push(s,n)}),It()&&(cu(()=>{o.dispose()}),V0(()=>{r.value=!0}),H0(()=>{r.value=!1})),o}function Mg(e={}){const t=Xh({domOptions:{render:Jh(()=>e0(t),n=>setTimeout(n,0))},...e});return t.install=Ig(t),t}const Pg={install(e){if(e._context.provides.usehead)return;const t=Mg();e.use(t)}},Lg={install(e,t){t!=null&&t.router&&typeof t.router=="function"&&e.provide("nuxtui:router",t.router)}};var Tu={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 Ng(e,t){var n;const r=su();return on(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),Uo(r)}function Fl(e,t){return kl()?(d0(e,t),!0):!1}function $g(e){let t=!1,n;const r=f0(!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 zg=e=>typeof e<"u",Bg=Object.prototype.toString,qg=e=>Bg.call(e)==="[object Object]",Gi=()=>{},sc=Ug();function Ug(){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 jg(...e){if(e.length!==1)return sr(...e);const t=e[0];return typeof t=="function"?Uo(Cl(()=>({get:t,set:Gi}))):K(t)}function Hg(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 Vg(e,t={}){let n,r,o=Gi;const u=l=>{clearTimeout(l),o(),o=Gi};let s;return l=>{const a=tt(e),c=tt(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 ui(e){return Array.isArray(e)?e:[e]}function Wg(e){return It()}function Gg(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=f0(!0),n=r.run(()=>e(...u))),Fl(o),n)}function Kg(e){return Vn(Ye(e)?new Proxy({},{get(t,n,r){return x(Reflect.get(e.value,n,r))},set(t,n,r){return Ye(e.value[n])&&!Ye(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 Yg(e){return Kg(F(e))}function Zg(e,...t){const n=t.flat(),r=n[0];return Yg(()=>Object.fromEntries(typeof r=="function"?Object.entries(iu(e)).filter(([o,u])=>r(tt(u),o)):n.map(o=>[o,jg(e,o)])))}function Qg(e,t=1e4){return Cl((n,r)=>{let o=tt(e),u;const s=()=>setTimeout(()=>{o=tt(e),r()},tt(t));return Fl(()=>{clearTimeout(u)}),{get(){return n(),o},set(i){o=i,r(),clearTimeout(u),u=s()}}})}function Xg(e,t=200,n={}){return Hg(Vg(t,n),e)}function Jg(e,t){Wg()&&cu(e,t)}function eb(e,t,n){return Ke(e,t,{...n,immediate:!0})}const Ss=Xn?window:void 0;function Cn(e){var t;const n=tt(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function xd(...e){const t=(r,o,u,s)=>(r.addEventListener(o,u,s),()=>r.removeEventListener(o,u,s)),n=F(()=>{const r=ui(tt(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return eb(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(u=>Cn(u)))!==null&&r!==void 0?r:[Ss].filter(u=>u!=null),ui(tt(n.value?e[1]:e[0])),ui(x(n.value?e[2]:e[1])),tt(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=qg(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 kd(){const e=su(!1),t=It();return t&&At(()=>{e.value=!0},t),e}function tb(e){const t=kd();return F(()=>(t.value,!!e()))}function nb(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function rb(...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=Ss,eventName:u="keydown",passive:s=!1,dedupe:i=!1}=r,l=nb(t);return xd(o,u,c=>{c.repeat&&tt(i)||l(c)&&n(c)},s)}function ob(e){return JSON.parse(JSON.stringify(e))}function ub(e,t,n={}){const{window:r=Ss,...o}=n;let u;const s=tb(()=>r&&"ResizeObserver"in r),i=()=>{u&&(u.disconnect(),u=void 0)},l=Ke(F(()=>{const c=tt(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 Fl(a),{isSupported:s,stop:a}}function ic(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=It(),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):ob(b):b,g=()=>zg(e[t])?m(e[t]):c,_=b=>{f?f(b)&&d(p,b):d(p,b)};if(i){const b=K(g());let E=!1;return Ke(()=>e[t],y=>{E||(E=!0,b.value=m(y),pt(()=>E=!1))}),Ke(b,y=>{!E&&(y!==e[t]||a)&&_(y)},{deep:a}),b}else return F({get(){return g()},set(b){_(b)}})}const Ed={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},sb=Vn(Ed),Fr=()=>sb;function si(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 Ki(e,t,n=".",r){if(!si(t))return Ki(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]]:si(s)&&si(o[u])?o[u]=Ki(s,o[u],(n?`${n}.`:"")+u.toString(),r):o[u]=s))}return o}function ib(e){return(...t)=>t.reduce((n,r)=>Ki(n,r,"",e),{})}const to=ib();function lc(e){return typeof e=="string"?`'${e}'`:new lb().serialize(e)}const lb=function(){var t;class e{constructor(){va(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=_o(this,t).get(r);return o===void 0&&(_o(this,t).set(r,`#${_o(this,t).size}`),o=this.serializeObject(r),_o(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 wd(e,t){return e===t||lc(e)===lc(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 ab(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function cb(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):wd(e,t)}function ac(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 cc(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 cb(a,t,u)});if(ac(t)&&s)return o?Wt(s,o):void 0;if(ac(t))return;const i=s??t;if(i!=null)return typeof i=="object"?o?Wt(i,o):void 0:String(i)}function fb(e){return Array.isArray(e[0])}const fc=Zf();function db(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:fc,hook:fc.hook}}function pb(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}const hb=[50,100,200,300,400,500,600,700,800,900,950];function mb(e,t){return e in Tu&&typeof Tu[e]=="object"&&t in Tu[e]?Tu[e][t]:""}function gb(e,t,n){const r=n?`${n}-`:"";return`${hb.map(o=>`--ui-color-${e}-${o}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${o}, ${mb(t,o)});`).join(`
18
- `)}`}function dc(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function bb(){var e;(e=document.querySelector("[data-nuxt-ui-colors]"))==null||e.remove()}const yb=pb(()=>{const e=Fr();db();const t=F(()=>{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])=>gb(s,i,u)).join(`
21
- `)}
22
- }
23
- :root, :host, .light {
24
- ${Object.keys(o).map(s=>dc(s,500)).join(`
25
- `)}
26
- }
27
- .dark {
28
- ${Object.keys(o).map(s=>dc(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),vd().hooks.hookOnce("dom:rendered",bb)}Rg(n)}),_b={install(e,t={}){e.use(Pg,t),e.use(Lg,t),e.use(yb,t)}};function pc(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=Mt(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=>(fo(r,s),s)]}function kn(){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 Ml(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 Yi(e){return e==null}function Pl(e){return e?e.flatMap(t=>t.type===Ie?Pl(t.children):[t]):[]}const[Ts]=Jn("ConfigProvider"),vb=Gg(()=>{const e=K(new Map),t=K(),n=F(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=Ts({scrollBody:K(!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??"",sc&&(o==null||o()),t.value=void 0};return Ke(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"?to({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"),sc&&(o=xd(document,"touchmove",h=>kb(h),{passive:!1})),pt(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function xb(e){const t=Math.random().toString(36).substring(2,7),n=vb();n.value.set(t,e??!1);const r=F({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return Jg(()=>{n.value.delete(t)}),r}function Ad(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:Ad(n)}}function kb(e){const t=e||window.event,n=t.target;return n instanceof Element&&Ad(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Eb(e){const t=Ts({dir:K("ltr")});return F(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function Cd(e){const t=It(),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[qu(ht(o))]=(...u)=>e(o,...u)}),r}let ii=0;function wb(){on(e=>{if(!Xn)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??hc()),document.body.insertAdjacentElement("beforeend",t[1]??hc()),ii++,e(()=>{ii===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),ii--})})}function hc(){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 Ab(e){return F(()=>{var t;return tt(e)?!!((t=Cn(e))!=null&&t.closest("form")):!0})}function Yt(){const e=It(),t=K(),n=F(()=>r());G0(()=>{n.value!==r()&&R1(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 Ll(e){const t=It(),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 F(()=>{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 Cb(e,t){const n=Ll(e),r=t?Cd(t):{};return F(()=>({...n.value,...r}))}var Sb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Hr=new WeakMap,Du=new WeakMap,Ou={},li=0,Sd=function(e){return e&&(e.host||Sd(e.parentNode))},Tb=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Sd(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})},Db=function(e,t,n,r){var o=Tb(t,Array.isArray(e)?e:[e]);Ou[n]||(Ou[n]=new WeakMap);var u=Ou[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=(Hr.get(h)||0)+1,g=(u.get(h)||0)+1;Hr.set(h,m),u.set(h,g),s.push(h),m===1&&p&&Du.set(h,!0),g===1&&h.setAttribute(n,"true"),p||h.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",h,_)}})};return c(t),i.clear(),li++,function(){s.forEach(function(f){var h=Hr.get(f)-1,d=u.get(f)-1;Hr.set(f,h),u.set(f,d),h||(Du.has(f)||f.removeAttribute(r),Du.delete(f)),d||f.removeAttribute(n)}),li--,li||(Hr=new WeakMap,Hr=new WeakMap,Du=new WeakMap,Ou={})}},Ob=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Sb(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Db(r,o,n,"aria-hidden")):function(){return null}};function Ib(e){let t;Ke(()=>Cn(e),n=>{let r=!1;try{r=!!(n!=null&&n.closest("[popover]:not(:popover-open)"))}catch{}n&&!r?t=Ob(n):t&&t()}),mr(()=>{t&&t()})}function Nl(e,t="reka"){let n;const r=Ts({useId:void 0});return r.useId?n=r.useId():n=Js==null?void 0:Js(),t?`${t}-${n}`:n}function Rb(e){const t=K(),n=F(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),r=F(()=>{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 Fb(e,t){const n=K(e);function r(u){return t[n.value][u]??n.value}return{state:n,dispatch:u=>{n.value=r(u)}}}function Td(e){const t=Qg("",1e3);return{search:t,handleTypeaheadSearch:(o,u)=>{t.value=t.value+o;{const s=kn(),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=Pb(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 Mb(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Pb(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=Mb(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 Lb(e,t){var g;const n=K({}),r=K("none"),o=K(e),u=e.value?"mounted":"unmounted";let s;const i=((g=t.value)==null?void 0:g.ownerDocument.defaultView)??Ss,{state:l,dispatch:a}=Fb(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=_=>{var b;if(Xn){const E=new CustomEvent(_,{bubbles:!1,cancelable:!1});(b=t.value)==null||b.dispatchEvent(E)}};Ke(e,async(_,b)=>{var y;const E=b!==_;if(await pt(),E){const A=r.value,C=Iu(t.value);_?(a("MOUNT"),c("enter"),C==="none"&&c("after-enter")):C==="none"||C==="undefined"||((y=n.value)==null?void 0:y.display)==="none"?(a("UNMOUNT"),c("leave"),c("after-leave")):b&&A!==C?(a("ANIMATION_OUT"),c("leave")):(a("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=_=>{const b=Iu(t.value),E=b.includes(CSS.escape(_.animationName)),y=l.value==="mounted"?"enter":"leave";if(_.target===t.value&&E&&(c(`after-${y}`),a("ANIMATION_END"),!o.value)){const A=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=i==null?void 0:i.setTimeout(()=>{var C;((C=t.value)==null?void 0:C.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=A)})}_.target===t.value&&b==="none"&&a("ANIMATION_END")},h=_=>{_.target===t.value&&(r.value=Iu(t.value))},d=Ke(t,(_,b)=>{_?(n.value=getComputedStyle(_),_.addEventListener("animationstart",h),_.addEventListener("animationcancel",f),_.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=Ke(l,()=>{const _=Iu(t.value);r.value=l.value==="mounted"?_:"none"});return mr(()=>{d(),p()}),{isPresent:F(()=>["mounted","unmountSuspended"].includes(l.value))}}function Iu(e){return e&&getComputedStyle(e).animationName||"none"}var Nb=ye({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}=iu(e),u=K(),{isPresent:s}=Lb(r,u);n({present:s});let i=t.default({present:s.value});i=Pl(i||[]);const l=It();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?fr(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 Yo=ye({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var l;if(!n.default)return null;const r=Pl(n.default()),o=r.findIndex(a=>a.type!==An);if(o===-1)return r;const u=r[o];(l=u.props)==null||delete l.ref;const s=u.props?He(t,u.props):t,i=Ir({...u,props:{}},s);return r.length===1?i:(r[o]=i,r)}}}),$b=["area","img","input"],ut=ye({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"&&$b.includes(r)?()=>fr(r,t):r!=="template"?()=>fr(e.as,t,{default:n.default}):()=>fr(Yo,t,{default:n.default})}});function mc(){const e=K(),t=F(()=>{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 zb="dismissableLayer.pointerDownOutside",Bb="dismissableLayer.focusOutside";function Dd(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 qb(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=K(!1),u=K(()=>{});return on(i=>{if(!Xn||!tt(n))return;const l=async c=>{const f=c.target;if(!(!(t!=null&&t.value)||!f)){if(Dd(t.value,f)){o.value=!1;return}if(c.target&&!o.value){let p=function(){Ml(zb,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:()=>{tt(n)&&(o.value=!0)}}}function Ub(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=K(!1);return on(s=>{if(!Xn||!tt(n))return;const i=async l=>{if(!(t!=null&&t.value))return;await pt(),await pt();const a=l.target;!t.value||!a||Dd(t.value,a)||l.target&&!o.value&&Ml(Bb,e,{originalEvent:l})};r.addEventListener("focusin",i),s(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>{tt(n)&&(o.value=!0)},onBlurCapture:()=>{tt(n)&&(o.value=!1)}}}const Nt=Vn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var jb=ye({__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=F(()=>{var d;return((d=u.value)==null?void 0:d.ownerDocument)??globalThis.document}),i=F(()=>Nt.layersRoot),l=F(()=>u.value?Array.from(i.value).indexOf(u.value):-1),a=F(()=>Nt.layersWithOutsidePointerEventsDisabled.size>0),c=F(()=>{const d=Array.from(i.value),[p]=[...Nt.layersWithOutsidePointerEventsDisabled].slice(-1),m=d.indexOf(p);return l.value>=m}),f=qb(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=Ub(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 rb("Escape",d=>{l.value===i.value.size-1&&(r("escapeKeyDown",d),d.defaultPrevented||r("dismiss"))}),Ke([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&&!Yi(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)=>(I(),ie(x(ut),{ref:x(o),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:Zn({pointerEvents:a.value?c.value?"auto":"none":void 0}),onFocusCapture:x(h).onFocusCapture,onBlurCapture:x(h).onBlurCapture,onPointerdownCapture:x(f).onPointerDownCapture},{default:he(()=>[Ee(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Hb=jb;const Vb=$g(()=>K([]));function Wb(){const e=Vb();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=gc(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=gc(e.value,t),(n=e.value[0])==null||n.resume()}}}function gc(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}const ai="focusScope.autoFocusOnMount",ci="focusScope.autoFocusOnUnmount",bc={bubbles:!1,cancelable:!0};function Gb(e,{select:t=!1}={}){const n=kn();for(const r of e)if(ur(r,{select:t}),kn()!==n)return!0}function Kb(e){const t=Od(e),n=yc(t,e),r=yc(t.reverse(),e);return[n,r]}function Od(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 yc(e,t){for(const n of e)if(!Yb(n,{upTo:t}))return n}function Yb(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 Zb(e){return e instanceof HTMLInputElement&&"select"in e}function ur(e,{select:t=!1}={}){if(e&&e.focus){const n=kn();e.focus({preventScroll:!0}),e!==n&&Zb(e)&&t&&e.select()}}var Qb=ye({__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=K(null),i=Wb(),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 _=g.target;f.contains(_)?s.value=_:ur(s.value,{select:!0})}function d(g){if(l.paused||!f)return;const _=g.relatedTarget;_!==null&&(f.contains(_)||ur(s.value,{select:!0}))}function p(g){const _=s.value;if(_===null||!g.some(y=>y.removedNodes.length>0))return;f.contains(_)||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=kn();if(!f.contains(h)){const p=new CustomEvent(ai,bc);f.addEventListener(ai,m=>r("mountAutoFocus",m)),f.dispatchEvent(p),p.defaultPrevented||(Gb(Od(f),{select:!0}),kn()===h&&ur(f))}c(()=>{f.removeEventListener(ai,g=>r("mountAutoFocus",g));const p=new CustomEvent(ci,bc),m=g=>{r("unmountAutoFocus",g)};f.addEventListener(ci,m),f.dispatchEvent(p),f.setAttribute("data-focus-scope-unmounting",""),setTimeout(()=>{p.defaultPrevented||ur(h??document.body,{select:!0}),f.removeEventListener(ci,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=kn();if(f&&h){const d=c.currentTarget,[p,m]=Kb(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)=>(I(),ie(x(ut),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:a},{default:he(()=>[Ee(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),Xb=Qb;function _c(e){const t=kn();for(const n of e)if(n===t||(n.focus(),kn()!==t))return}var Jb=ye({__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=kd();return(n,r)=>x(t)||n.forceMount?(I(),ie(q0,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[Ee(n.$slots,"default")],8,["to","disabled","defer"])):ve("v-if",!0)}}),e2=Jb;const vc="data-reka-collection-item";function pu(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let o;n?(o={collectionRef:K(),itemMap:K(new Map)},fo(r,o)):o=Mt(r);const u=(c=!1)=>{const f=o.collectionRef.value;if(!f)return[];const h=Array.from(f.querySelectorAll(`[${vc}]`)),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=ye({name:"CollectionSlot",inheritAttrs:!1,setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=mc();return Ke(p,()=>{o.collectionRef.value=p.value}),()=>fr(Yo,{ref:d,...h},f)}}),i=ye({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:h}){const{primitiveElement:d,currentElement:p}=mc();return on(m=>{if(p.value){const g=D0(p.value);o.itemMap.value.set(g,{ref:p.value,value:c.value}),m(()=>o.itemMap.value.delete(g))}}),()=>fr(Yo,{...h,[vc]:"",ref:d},f)}}),l=F(()=>Array.from(o.itemMap.value.values())),a=F(()=>o.itemMap.value.size);return{getItems:u,reactiveItems:l,itemMapSize:a,CollectionSlot:s,CollectionItem:i}}var t2=ye({__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)=>(I(),ie(x(ut),{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(()=>[Ee(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),n2=t2;const[Id,r2]=Jn("PopperRoot");var o2=ye({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=K();return r2({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>Ee(n.$slots,"default")}}),u2=o2,s2=ye({__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=Id();return $0(()=>{o.onAnchorChange(t.reference??r.value)}),(u,s)=>(I(),ie(x(ut),{ref:x(n),as:u.as,"as-child":u.asChild},{default:he(()=>[Ee(u.$slots,"default")]),_:3},8,["as","as-child"]))}}),i2=s2;const l2={key:0,d:"M0 0L6 6L12 0"},a2={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var c2=ye({__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)=>(I(),ie(x(ut),He(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:he(()=>[Ee(n.$slots,"default",{},()=>[n.rounded?(I(),V("path",a2)):(I(),V("path",l2))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),f2=c2;function d2(e){return e!==null}function p2(e){return{name:"transformOrigin",options:e,fn(t){var g,_,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]=Zi(n),f={start:"0%",center:"50%",end:"100%"}[c],h=(((_=o.arrow)==null?void 0:_.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 Zi(e){const[t,n="center"]=e.split("-");return[t,n]}const h2=["top","right","bottom","left"],dr=Math.min,$t=Math.max,rs=Math.round,Ru=Math.floor,En=e=>({x:e,y:e}),m2={left:"right",right:"left",bottom:"top",top:"bottom"};function Qi(e,t,n){return $t(e,dr(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Kn(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function $l(e){return e==="x"?"y":"x"}function zl(e){return e==="y"?"height":"width"}function yn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Bl(e){return $l(yn(e))}function g2(e,t,n){n===void 0&&(n=!1);const r=po(e),o=Bl(e),u=zl(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[u]>t.floating[u]&&(s=os(s)),[s,os(s)]}function b2(e){const t=os(e);return[Xi(e),t,Xi(t)]}function Xi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const xc=["left","right"],kc=["right","left"],y2=["top","bottom"],_2=["bottom","top"];function v2(e,t,n){switch(e){case"top":case"bottom":return n?t?kc:xc:t?xc:kc;case"left":case"right":return t?y2:_2;default:return[]}}function x2(e,t,n,r){const o=po(e);let u=v2(Kn(e),n==="start",r);return o&&(u=u.map(s=>s+"-"+o),t&&(u=u.concat(u.map(Xi)))),u}function os(e){const t=Kn(e);return m2[t]+e.slice(t.length)}function k2(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rd(e){return typeof e!="number"?k2(e):{top:e,right:e,bottom:e,left:e}}function us(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 Ec(e,t,n){let{reference:r,floating:o}=e;const u=yn(t),s=Bl(t),i=zl(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(po(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 E2(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}=Gn(t,e),p=Rd(d),g=i[h?f==="floating"?"reference":"floating":f],_=us(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,E=await(u.getOffsetParent==null?void 0:u.getOffsetParent(i.floating)),y=await(u.isElement==null?void 0:u.isElement(E))?await(u.getScale==null?void 0:u.getScale(E))||{x:1,y:1}:{x:1,y:1},A=us(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:b,offsetParent:E,strategy:l}):b);return{top:(_.top-A.top+p.top)/y.y,bottom:(A.bottom-_.bottom+p.bottom)/y.y,left:(_.left-A.left+p.left)/y.x,right:(A.right-_.right+p.right)/y.x}}const w2=50,A2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:u=[],platform:s}=n,i=s.detectOverflow?s:{...s,detectOverflow:E2},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}=Ec(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:_,fn:b}=g,{x:E,y,data:A,reset:C}=await b({x:c,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:a,platform:i,elements:{reference:e,floating:t}});c=E??c,f=y??f,p[_]={...p[_],...A},C&&d<w2&&(d++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(a=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:f}=Ec(a,h,l)),m=-1)}return{x:c,y:f,placement:h,strategy:o,middlewareData:p}},C2=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}=Gn(e,t)||{};if(a==null)return{};const f=Rd(c),h={x:n,y:r},d=Bl(o),p=zl(d),m=await s.getDimensions(a),g=d==="y",_=g?"top":"left",b=g?"bottom":"right",E=g?"clientHeight":"clientWidth",y=u.reference[p]+u.reference[d]-h[d]-u.floating[p],A=h[d]-u.reference[d],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let S=C?C[E]:0;(!S||!await(s.isElement==null?void 0:s.isElement(C)))&&(S=i.floating[E]||u.floating[p]);const T=y/2-A/2,B=S/2-m[p]/2-1,Y=dr(f[_],B),fe=dr(f[b],B),H=Y,ae=S-m[p]-fe,$=S/2-m[p]/2+T,z=Qi(H,$,ae),M=!l.arrow&&po(o)!=null&&$!==z&&u.reference[p]/2-($<H?Y:fe)-m[p]/2<0,j=M?$<H?$-H:$-ae:0;return{[d]:h[d]+j,data:{[d]:z,centerOffset:$-z-j,...M&&{alignmentOffset:j}},reset:M}}}),S2=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}=Gn(e,t);if((n=u.arrow)!=null&&n.alignmentOffset)return{};const _=Kn(o),b=yn(i),E=Kn(i)===i,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),A=h||(E||!m?[os(i)]:b2(i)),C=p!=="none";!h&&C&&A.push(...x2(i,m,p,y));const S=[i,...A],T=await l.detectOverflow(t,g),B=[];let Y=((r=u.flip)==null?void 0:r.overflows)||[];if(c&&B.push(T[_]),f){const $=g2(o,s,y);B.push(T[$[0]],T[$[1]])}if(Y=[...Y,{placement:o,overflows:B}],!B.every($=>$<=0)){var fe,H;const $=(((fe=u.flip)==null?void 0:fe.index)||0)+1,z=S[$];if(z&&(!(f==="alignment"?b!==yn(z):!1)||Y.every(Z=>yn(Z.placement)===b?Z.overflows[0]>0:!0)))return{data:{index:$,overflows:Y},reset:{placement:z}};let M=(H=Y.filter(j=>j.overflows[0]<=0).sort((j,Z)=>j.overflows[1]-Z.overflows[1])[0])==null?void 0:H.placement;if(!M)switch(d){case"bestFit":{var ae;const j=(ae=Y.filter(Z=>{if(C){const ge=yn(Z.placement);return ge===b||ge==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(ge=>ge>0).reduce((ge,Q)=>ge+Q,0)]).sort((Z,ge)=>Z[1]-ge[1])[0])==null?void 0:ae[0];j&&(M=j);break}case"initialPlacement":M=i;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function wc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ac(e){return h2.some(t=>e[t]>=0)}const T2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...u}=Gn(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...u,elementContext:"reference"}),i=wc(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Ac(i)}}}case"escaped":{const s=await r.detectOverflow(t,{...u,altBoundary:!0}),i=wc(s,n.floating);return{data:{escapedOffsets:i,escaped:Ac(i)}}}default:return{}}}}},Fd=new Set(["left","top"]);async function D2(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=po(n),l=yn(n)==="y",a=Fd.has(s)?-1:1,c=u&&l?-1:1,f=Gn(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 O2=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 D2(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}}}}},I2=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:_=>{let{x:b,y:E}=_;return{x:b,y:E}}},...a}=Gn(e,t),c={x:n,y:r},f=await u.detectOverflow(t,a),h=yn(Kn(o)),d=$l(h);let p=c[d],m=c[h];if(s){const _=d==="y"?"top":"left",b=d==="y"?"bottom":"right",E=p+f[_],y=p-f[b];p=Qi(E,p,y)}if(i){const _=h==="y"?"top":"left",b=h==="y"?"bottom":"right",E=m+f[_],y=m-f[b];m=Qi(E,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}}}}}},R2=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}=Gn(e,t),c={x:n,y:r},f=yn(o),h=$l(f);let d=c[h],p=c[f];const m=Gn(i,t),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const E=h==="y"?"height":"width",y=u.reference[h]-u.floating[E]+g.mainAxis,A=u.reference[h]+u.reference[E]-g.mainAxis;d<y?d=y:d>A&&(d=A)}if(a){var _,b;const E=h==="y"?"width":"height",y=Fd.has(Kn(o)),A=u.reference[f]-u.floating[E]+(y&&((_=s.offset)==null?void 0:_[f])||0)+(y?0:g.crossAxis),C=u.reference[f]+u.reference[E]+(y?0:((b=s.offset)==null?void 0:b[f])||0)-(y?g.crossAxis:0);p<A?p=A:p>C&&(p=C)}return{[h]:d,[f]:p}}}},F2=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}=Gn(e,t),c=await s.detectOverflow(t,a),f=Kn(o),h=po(o),d=yn(o)==="y",{width:p,height:m}=u.floating;let g,_;f==="top"||f==="bottom"?(g=f,_=h===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(_=f,g=h==="end"?"top":"bottom");const b=m-c.top-c.bottom,E=p-c.left-c.right,y=dr(m-c[g],b),A=dr(p-c[_],E),C=!t.middlewareData.shift;let S=y,T=A;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=E),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=b),C&&!h){const Y=$t(c.left,0),fe=$t(c.right,0),H=$t(c.top,0),ae=$t(c.bottom,0);d?T=p-2*(Y!==0||fe!==0?Y+fe:$t(c.left,c.right)):S=m-2*(H!==0||ae!==0?H+ae:$t(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:S});const B=await s.getDimensions(i.floating);return p!==B.width||m!==B.height?{reset:{rects:!0}}:{}}}};function Ds(){return typeof window<"u"}function Mr(e){return ql(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=(ql(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ql(e){return Ds()?e instanceof Node||e instanceof qt(e).Node:!1}function un(e){return Ds()?e instanceof Element||e instanceof qt(e).Element:!1}function er(e){return Ds()?e instanceof HTMLElement||e instanceof qt(e).HTMLElement:!1}function Cc(e){return!Ds()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qt(e).ShadowRoot}function hu(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 M2(e){return/^(table|td|th)$/.test(Mr(e))}function Os(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const P2=/transform|translate|scale|rotate|perspective|filter/,L2=/paint|layout|strict|content/,xr=e=>!!e&&e!=="none";let fi;function Ul(e){const t=un(e)?sn(e):e;return xr(t.transform)||xr(t.translate)||xr(t.scale)||xr(t.rotate)||xr(t.perspective)||!jl()&&(xr(t.backdropFilter)||xr(t.filter))||P2.test(t.willChange||"")||L2.test(t.contain||"")}function N2(e){let t=pr(e);for(;er(t)&&!uo(t);){if(Ul(t))return t;if(Os(t))return null;t=pr(t)}return null}function jl(){return fi==null&&(fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),fi}function uo(e){return/^(html|body|#document)$/.test(Mr(e))}function sn(e){return qt(e).getComputedStyle(e)}function Is(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pr(e){if(Mr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cc(e)&&e.host||Tn(e);return Cc(t)?t.host:t}function Md(e){const t=pr(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&hu(t)?t:Md(t)}function Zo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Md(e),u=o===((r=e.ownerDocument)==null?void 0:r.body),s=qt(o);if(u){const i=Ji(s);return t.concat(s,s.visualViewport||[],hu(o)?o:[],i&&n?Zo(i):[])}else return t.concat(o,Zo(o,[],n))}function Ji(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pd(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=rs(n)!==u||rs(r)!==s;return i&&(n=u,r=s),{width:n,height:r,$:i}}function Hl(e){return un(e)?e:e.contextElement}function no(e){const t=Hl(e);if(!er(t))return En(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=Pd(t);let s=(u?rs(n.width):n.width)/r,i=(u?rs(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const $2=En(0);function Ld(e){const t=qt(e);return!jl()||!t.visualViewport?$2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function z2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qt(e)?!1:t}function Rr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),u=Hl(e);let s=En(1);t&&(r?un(r)&&(s=no(r)):s=no(e));const i=z2(u,n,r)?Ld(u):En(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=Ji(p);for(;m&&r&&d!==p;){const g=no(m),_=m.getBoundingClientRect(),b=sn(m),E=_.left+(m.clientLeft+parseFloat(b.paddingLeft))*g.x,y=_.top+(m.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,a*=g.y,c*=g.x,f*=g.y,l+=E,a+=y,p=qt(m),m=Ji(p)}}return us({width:c,height:f,x:l,y:a})}function Rs(e,t){const n=Is(e).scrollLeft;return t?t.left+n:Rr(Tn(e)).left+n}function Nd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Rs(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function B2(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const u=o==="fixed",s=Tn(r),i=t?Os(t.floating):!1;if(r===s||i&&u)return n;let l={scrollLeft:0,scrollTop:0},a=En(1);const c=En(0),f=er(r);if((f||!f&&!u)&&((Mr(r)!=="body"||hu(s))&&(l=Is(r)),f)){const d=Rr(r);a=no(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=s&&!f&&!u?Nd(s,l):En(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 q2(e){return Array.from(e.getClientRects())}function U2(e){const t=Tn(e),n=Is(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+Rs(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 Sc=25;function j2(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=jl();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const a=Rs(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<=Sc&&(u-=p)}else a<=Sc&&(u+=a);return{width:u,height:s,x:i,y:l}}function H2(e,t){const n=Rr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,u=er(e)?no(e):En(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 Tc(e,t,n){let r;if(t==="viewport")r=j2(e,n);else if(t==="document")r=U2(Tn(e));else if(un(t))r=H2(t,n);else{const o=Ld(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return us(r)}function $d(e,t){const n=pr(e);return n===t||!un(n)||uo(n)?!1:sn(n).position==="fixed"||$d(n,t)}function V2(e,t){const n=t.get(e);if(n)return n;let r=Zo(e,[],!1).filter(i=>un(i)&&Mr(i)!=="body"),o=null;const u=sn(e).position==="fixed";let s=u?pr(e):e;for(;un(s)&&!uo(s);){const i=sn(s),l=Ul(s);!l&&i.position==="fixed"&&(o=null),(u?!l&&!o:!l&&i.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||hu(s)&&!l&&$d(e,s))?r=r.filter(c=>c!==s):o=i,s=pr(s)}return t.set(e,r),r}function W2(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Os(t)?[]:V2(t,this._c):[].concat(n),r],i=Tc(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=Tc(t,s[h],o);l=$t(d.top,l),a=dr(d.right,a),c=dr(d.bottom,c),f=$t(d.left,f)}return{width:a-f,height:c-l,x:f,y:l}}function G2(e){const{width:t,height:n}=Pd(e);return{width:t,height:n}}function K2(e,t,n){const r=er(t),o=Tn(t),u=n==="fixed",s=Rr(e,!0,u,t);let i={scrollLeft:0,scrollTop:0};const l=En(0);function a(){l.x=Rs(o)}if(r||!r&&!u)if((Mr(t)!=="body"||hu(o))&&(i=Is(t)),r){const d=Rr(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?Nd(o,i):En(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 di(e){return sn(e).position==="static"}function Dc(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 zd(e,t){const n=qt(e);if(Os(e))return n;if(!er(e)){let o=pr(e);for(;o&&!uo(o);){if(un(o)&&!di(o))return o;o=pr(o)}return n}let r=Dc(e,t);for(;r&&M2(r)&&di(r);)r=Dc(r,t);return r&&uo(r)&&di(r)&&!Ul(r)?n:r||N2(e)||n}const Y2=async function(e){const t=this.getOffsetParent||zd,n=this.getDimensions,r=await n(e.floating);return{reference:K2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Z2(e){return sn(e).direction==="rtl"}const Q2={convertOffsetParentRelativeRectToViewportRelativeRect:B2,getDocumentElement:Tn,getClippingRect:W2,getOffsetParent:zd,getElementRects:Y2,getClientRects:q2,getDimensions:G2,getScale:no,isElement:un,isRTL:Z2};function Bd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function X2(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=Ru(f),m=Ru(o.clientWidth-(c+h)),g=Ru(o.clientHeight-(f+d)),_=Ru(c),E={rootMargin:-p+"px "+-m+"px "+-g+"px "+-_+"px",threshold:$t(0,dr(1,l))||1};let y=!0;function A(C){const S=C[0].intersectionRatio;if(S!==l){if(!y)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!Bd(a,e.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(A,{...E,root:o.ownerDocument})}catch{n=new IntersectionObserver(A,E)}n.observe(e)}return s(!0),u}function J2(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=Hl(e),c=o||u?[...a?Zo(a):[],...t?Zo(t):[]]:[];c.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),u&&_.addEventListener("resize",n)});const f=a&&i?X2(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(_=>{let[b]=_;b&&b.target===a&&d&&t&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var E;(E=d)==null||E.observe(t)})),n()}),a&&!l&&d.observe(a),t&&d.observe(t));let p,m=l?Rr(e):null;l&&g();function g(){const _=Rr(e);m&&!Bd(m,_)&&n(),m=_,p=requestAnimationFrame(g)}return n(),()=>{var _;c.forEach(b=>{o&&b.removeEventListener("scroll",n),u&&b.removeEventListener("resize",n)}),f==null||f(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ey=O2,ty=I2,Oc=S2,ny=F2,ry=T2,oy=C2,uy=R2,sy=(e,t,n)=>{const r=new Map,o={platform:Q2,...n},u={...o.platform,_c:r};return A2(e,t,{...o,platform:u})};function iy(e){return e!=null&&typeof e=="object"&&"$el"in e}function el(e){if(iy(e)){const t=e.$el;return ql(t)&&Mr(t)==="#comment"?null:t}return e}function Kr(e){return typeof e=="function"?e():x(e)}function ly(e){return{name:"arrow",options:e,fn(t){const n=el(Kr(e.element));return n==null?{}:oy({element:n,padding:e.padding}).fn(t)}}}function qd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ic(e,t){const n=qd(e);return Math.round(t*n)/n}function ay(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=F(()=>{var S;return(S=Kr(n.open))!=null?S:!0}),u=F(()=>Kr(n.middleware)),s=F(()=>{var S;return(S=Kr(n.placement))!=null?S:"bottom"}),i=F(()=>{var S;return(S=Kr(n.strategy))!=null?S:"absolute"}),l=F(()=>{var S;return(S=Kr(n.transform))!=null?S:!0}),a=F(()=>el(e.value)),c=F(()=>el(t.value)),f=K(0),h=K(0),d=K(i.value),p=K(s.value),m=su({}),g=K(!1),_=F(()=>{const S={position:d.value,left:"0",top:"0"};if(!c.value)return S;const T=Ic(c.value,f.value),B=Ic(c.value,h.value);return l.value?{...S,transform:"translate("+T+"px, "+B+"px)",...qd(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:T+"px",top:B+"px"}});let b;function E(){if(a.value==null||c.value==null)return;const S=o.value;sy(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=S!==!1})}function y(){typeof b=="function"&&(b(),b=void 0)}function A(){if(y(),r===void 0){E();return}if(a.value!=null&&c.value!=null){b=r(a.value,c.value,E);return}}function C(){o.value||(g.value=!1)}return Ke([u,s,i,o],E,{flush:"sync"}),Ke([a,c],A,{flush:"sync"}),Ke(o,C,{flush:"sync"}),kl()&&d0(y),{x:jr(f),y:jr(h),strategy:jr(d),placement:jr(p),middlewareData:jr(m),isPositioned:jr(g),floatingStyles:_,update:E}}const cy={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},[fy,dy]=Jn("PopperContent");var py=ye({inheritAttrs:!1,__name:"PopperContent",props:pm({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}},{...cy}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Id(),{forwardRef:u,currentElement:s}=Yt(),i=K(),l=K(),{width:a,height:c}=Rb(l),f=F(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=F(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=F(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=F(()=>({padding:h.value,boundary:d.value.filter(d2),altBoundary:d.value.length>0})),m=F(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=Ng(()=>[ey({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Oc({...p.value,...m.value}),n.avoidCollisions&&ty({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?uy():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&Oc({...p.value,...m.value}),ny({...p.value,apply:({elements:H,rects:ae,availableWidth:$,availableHeight:z})=>{const{width:M,height:j}=ae.reference,Z=H.floating.style;Z.setProperty("--reka-popper-available-width",`${$}px`),Z.setProperty("--reka-popper-available-height",`${z}px`),Z.setProperty("--reka-popper-anchor-width",`${M}px`),Z.setProperty("--reka-popper-anchor-height",`${j}px`)}}),l.value&&ly({element:l.value,padding:n.arrowPadding}),p2({arrowWidth:a.value,arrowHeight:c.value}),n.hideWhenDetached&&ry({strategy:"referenceHidden",...p.value})]),_=F(()=>n.reference??o.anchor.value),{floatingStyles:b,placement:E,isPositioned:y,middlewareData:A}=ay(_,i,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...H)=>J2(...H,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),C=F(()=>Zi(E.value)[0]),S=F(()=>Zi(E.value)[1]);$0(()=>{y.value&&r("placed")});const T=F(()=>{var ae;const H=((ae=A.value.arrow)==null?void 0:ae.centerOffset)!==0;return n.hideShiftedArrow&&H}),B=K("");on(()=>{s.value&&(B.value=window.getComputedStyle(s.value).zIndex)});const Y=F(()=>{var H;return((H=A.value.arrow)==null?void 0:H.x)??0}),fe=F(()=>{var H;return((H=A.value.arrow)==null?void 0:H.y)??0});return dy({placedSide:C,onArrowChange:H=>l.value=H,arrowX:Y,arrowY:fe,shouldHideArrow:T}),(H,ae)=>{var $,z,M;return I(),V("div",{ref_key:"floatingRef",ref:i,"data-reka-popper-content-wrapper":"",style:Zn({...x(b),transform:x(y)?x(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B.value,"--reka-popper-transform-origin":[($=x(A).transformOrigin)==null?void 0:$.x,(z=x(A).transformOrigin)==null?void 0:z.y].join(" "),...((M=x(A).hide)==null?void 0:M.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[me(x(ut),He({ref:x(u)},H.$attrs,{"as-child":n.asChild,as:H.as,"data-side":C.value,"data-align":S.value,style:{animation:x(y)?void 0:"none"}}),{default:he(()=>[Ee(H.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),hy=py;const my={top:"bottom",right:"left",bottom:"top",left:"right"};var gy=ye({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=fy(),r=F(()=>my[n.placedSide.value]);return(o,u)=>{var s,i,l,a;return I(),V("span",{ref:c=>{x(n).onArrowChange(c??void 0)},style:Zn({position:"absolute",left:(s=x(n).arrowX)!=null&&s.value?`${(i=x(n).arrowX)==null?void 0:i.value}px`:void 0,top:(l=x(n).arrowY)!=null&&l.value?`${(a=x(n).arrowY)==null?void 0:a.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[x(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[x(n).placedSide.value],visibility:x(n).shouldHideArrow.value?"hidden":void 0})},[me(f2,He(o.$attrs,{ref:x(t),style:{display:"block"},as:o.as,"as-child":o.asChild,rounded:o.rounded,width:o.width,height:o.height}),{default:he(()=>[Ee(o.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4)}}}),by=gy;function yy(e){const t=Ts({nonce:K()});return F(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}const _y=[" ","Enter","ArrowUp","ArrowDown"],vy=[" ","Enter"],Jt=10;function Qo(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(r=>tl(r,t,n)):tl(e,t,n)}function tl(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]):wd(e,t)}function xy(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const ky={key:0,value:""},[gr,Ud]=Jn("SelectRoot");var Ey=ye({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}=iu(n),l=ic(n,"modelValue",r,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),a=ic(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),c=K(),f=K(),h=K({x:0,y:0}),d=F(()=>{var y;return s.value&&Array.isArray(l.value)?((y=l.value)==null?void 0:y.length)===0:Yi(l.value)});pu({isProvider:!0});const p=Eb(i),m=Ab(c),g=K(new Set),_=F(()=>Array.from(g.value).map(y=>y.value).join(";"));function b(y){if(s.value){const A=Array.isArray(l.value)?[...l.value]:[],C=A.findIndex(S=>tl(S,y,n.by));C===-1?A.push(y):A.splice(C,1),l.value=[...A]}else l.value=y}function E(y){return Array.from(g.value).find(A=>Qo(y,A.value,n.by))}return Ud({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 A=E(y.value);A&&g.value.delete(A),g.value.add(y)},onOptionRemove:y=>{const A=E(y.value);A&&g.value.delete(A)}}),(y,A)=>(I(),ie(x(u2),null,{default:he(()=>[Ee(y.$slots,"default",{modelValue:x(l),open:x(a)}),x(m)&&y.name?(I(),ie(Cy,{key:_.value,"aria-hidden":"true",tabindex:"-1",multiple:x(s),required:x(o),name:y.name,autocomplete:y.autocomplete,disabled:x(u),value:x(l)},{default:he(()=>[x(Yi)(x(l))?(I(),V("option",ky)):ve("v-if",!0),(I(!0),V(Ie,null,wt(Array.from(g.value),C=>(I(),V("option",He({key:C.value??""},{ref_for:!0},C),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):ve("v-if",!0)]),_:3}))}}),wy=Ey,Ay=ye({__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=K(),r=gr();Ke(()=>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)=>(I(),ie(x(n2),{"as-child":""},{default:he(()=>[L("select",He({ref_key:"selectElement",ref:n},t,{onInput:o}),[Ee(u.$slots,"default")],16)]),_:3}))}}),Cy=Ay,Sy=ye({__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=Ll(e);return(r,o)=>(I(),ie(x(hy),He(x(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(()=>[Ee(r.$slots,"default")]),_:3},16))}}),Ty=Sy;const jd={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[mu,Hd]=Jn("SelectContent");var Dy=ye({__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=gr();wb(),xb(n.bodyLock);const{CollectionSlot:u,getItems:s}=pu(),i=K();Ib(i);const{search:l,handleTypeaheadSearch:a}=Td(),c=K(),f=K(),h=K(),d=K(!1),p=K(!1),m=K(!1);function g(){f.value&&i.value&&_c([f.value,i.value])}Ke(d,()=>{g()});const{onOpenChange:_,triggerPointerDownPosRef:b}=o;on(C=>{if(!i.value)return;let S={x:0,y:0};const T=Y=>{var fe,H;S={x:Math.abs(Math.round(Y.pageX)-(((fe=b.value)==null?void 0:fe.x)??0)),y:Math.abs(Math.round(Y.pageY)-(((H=b.value)==null?void 0:H.y)??0))}},B=Y=>{var fe;Y.pointerType!=="touch"&&(S.x<=10&&S.y<=10?Y.preventDefault():(fe=i.value)!=null&&fe.contains(Y.target)||_(!1),document.removeEventListener("pointermove",T),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",T),document.addEventListener("pointerup",B,{capture:!0,once:!0})),C(()=>{document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",B,{capture:!0})})});function E(C){const S=C.ctrlKey||C.altKey||C.metaKey;if(C.key==="Tab"&&C.preventDefault(),!S&&C.key.length===1&&a(C.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(C.key)){let B=[...s().map(Y=>Y.ref)];if(["ArrowUp","End"].includes(C.key)&&(B=B.slice().reverse()),["ArrowUp","ArrowDown"].includes(C.key)){const Y=C.target,fe=B.indexOf(Y);B=B.slice(fe+1)}setTimeout(()=>_c(B)),C.preventDefault()}}const y=F(()=>n.position==="popper"?n:{}),A=Ll(y.value);return Hd({content:i,viewport:c,onViewportChange:C=>{c.value=C},itemRefCallback:(C,S,T)=>{const B=!p.value&&!T,Y=Qo(o.modelValue.value,S,o.by);if(o.multiple.value){if(m.value)return;(Y||B)&&(f.value=C,Y&&(m.value=!0))}else(Y||B)&&(f.value=C);B&&(p.value=!0)},selectedItem:f,selectedItemText:h,onItemLeave:()=>{var C;(C=i.value)==null||C.focus()},itemTextRefCallback:(C,S,T)=>{const B=!p.value&&!T;(Qo(o.modelValue.value,S,o.by)||B)&&(h.value=C)},focusSelectedItem:g,position:n.position,isPositioned:d,searchRef:l}),(C,S)=>(I(),ie(x(u),null,{default:he(()=>[me(x(Xb),{"as-child":"",onMountAutoFocus:S[6]||(S[6]=Or(()=>{},["prevent"])),onUnmountAutoFocus:S[7]||(S[7]=T=>{var B;r("closeAutoFocus",T),!T.defaultPrevented&&((B=x(o).triggerElement.value)==null||B.focus({preventScroll:!0}),T.preventDefault())})},{default:he(()=>[me(x(Hb),{"as-child":"","disable-outside-pointer-events":C.disableOutsidePointerEvents,onFocusOutside:S[2]||(S[2]=Or(()=>{},["prevent"])),onDismiss:S[3]||(S[3]=T=>x(o).onOpenChange(!1)),onEscapeKeyDown:S[4]||(S[4]=T=>r("escapeKeyDown",T)),onPointerDownOutside:S[5]||(S[5]=T=>r("pointerDownOutside",T))},{default:he(()=>[(I(),ie(Ho(C.position==="popper"?Ty:My),He({...C.$attrs,...x(A)},{id:x(o).contentId,ref:T=>{if(!T)return;const B=x(Cn)(T);B!=null&&B.hasAttribute("data-reka-popper-content-wrapper")?i.value=B.firstElementChild:i.value=B},role:"listbox","data-state":x(o).open.value?"open":"closed",dir:x(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:S[0]||(S[0]=Or(()=>{},["prevent"])),onPlaced:S[1]||(S[1]=T=>d.value=!0),onKeydown:E}),{default:he(()=>[Ee(C.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),Oy=Dy;const[Iy,Ry]=Jn("SelectItemAlignedPosition");var Fy=ye({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}=pu(),u=gr(),s=mu(),i=K(!1),l=K(!0),a=K(),{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 E=u.triggerElement.value.getBoundingClientRect(),y=f.value.getBoundingClientRect(),A=u.valueElement.value.getBoundingClientRect(),C=p.value.getBoundingClientRect();if(u.dir.value!=="rtl"){const J=C.left-y.left,Se=A.left-J,pe=E.left-Se,$e=E.width+pe,xe=Math.max($e,y.width),k=window.innerWidth-Jt,w=pc(Se,Jt,Math.max(Jt,k-xe));a.value.style.minWidth=`${$e}px`,a.value.style.left=`${w}px`}else{const J=y.right-C.right,Se=window.innerWidth-A.right-J,pe=window.innerWidth-E.right-Se,$e=E.width+pe,xe=Math.max($e,y.width),k=window.innerWidth-Jt,w=pc(Se,Jt,Math.max(Jt,k-xe));a.value.style.minWidth=`${$e}px`,a.value.style.right=`${w}px`}const S=o().map(J=>J.ref),T=window.innerHeight-Jt*2,B=h.value.scrollHeight,Y=window.getComputedStyle(f.value),fe=Number.parseInt(Y.borderTopWidth,10),H=Number.parseInt(Y.paddingTop,10),ae=Number.parseInt(Y.borderBottomWidth,10),$=Number.parseInt(Y.paddingBottom,10),z=fe+H+B+$+ae,M=Math.min(d.value.offsetHeight*5,z),j=window.getComputedStyle(h.value),Z=Number.parseInt(j.paddingTop,10),ge=Number.parseInt(j.paddingBottom,10),Q=E.top+E.height/2-Jt,_e=T-Q,De=d.value.offsetHeight/2,Je=d.value.offsetTop+De,Ce=fe+H+Je,Re=z-Ce;if(Ce<=Q){const J=d.value===S.at(-1);a.value.style.bottom="0px";const Se=f.value.clientHeight-h.value.offsetTop-h.value.offsetHeight,pe=Math.max(_e,De+(J?ge:0)+Se+ae),$e=Ce+pe;a.value.style.height=`${$e}px`}else{const J=d.value===S[0];a.value.style.top="0px";const pe=Math.max(Q,fe+h.value.offsetTop+(J?Z:0)+De)+Re;a.value.style.height=`${pe}px`,h.value.scrollTop=Ce-Q+h.value.offsetTop}a.value.style.margin=`${Jt}px 0`,a.value.style.minHeight=`${M}px`,a.value.style.maxHeight=`${T}px`,r("placed"),requestAnimationFrame(()=>i.value=!0)}}const _=K("");At(async()=>{await pt(),g(),f.value&&(_.value=window.getComputedStyle(f.value).zIndex)});function b(E){E&&l.value===!0&&(g(),m==null||m(),l.value=!1)}return ub(u.triggerElement,()=>{g()}),Ry({contentWrapper:a,shouldExpandOnScrollRef:i,onScrollButtonChange:b}),(E,y)=>(I(),V("div",{ref_key:"contentWrapperElement",ref:a,style:Zn({display:"flex",flexDirection:"column",position:"fixed",zIndex:_.value})},[me(x(ut),He({ref:x(c),style:{boxSizing:"border-box",maxHeight:"100%"}},{...E.$attrs,...n}),{default:he(()=>[Ee(E.$slots,"default")]),_:3},16)],4))}}),My=Fy,Py=ye({__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=mu(jd);return(r,o)=>x(n).position==="popper"?(I(),ie(x(by),co(He({key:0},t)),{default:he(()=>[Ee(r.$slots,"default")]),_:3},16)):ve("v-if",!0)}}),Ly=Py,Ny=ye({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return Ud(e.context),Hd(jd),(n,r)=>Ee(n.$slots,"default")}}),$y=Ny;const zy={key:1};var By=ye({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=Cb(n,t),u=gr(),s=K();At(()=>{s.value=new DocumentFragment});const i=K(),l=F(()=>n.forceMount||u.open.value),a=K(l.value);let c;function f(){c&&(clearTimeout(c),c=void 0)}return Ke(l,(h,d,p)=>{f(),c=setTimeout(()=>{a.value=l.value,c=void 0}),p(f)}),mr(f),(h,d)=>{var p;return l.value||a.value||(p=i.value)!=null&&p.present?(I(),ie(x(Nb),{key:0,ref_key:"presenceRef",ref:i,present:l.value},{default:he(()=>[me(Oy,co(fu({...x(o),...h.$attrs})),{default:he(()=>[Ee(h.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(I(),V("div",zy,[(I(),ie(q0,{to:s.value},[me($y,{context:x(u)},{default:he(()=>[Ee(h.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):ve("v-if",!0)}}}),qy=By;const[Uy,jy]=Jn("SelectGroup");var Hy=ye({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Nl(void 0,"reka-select-group");return jy({id:n}),(r,o)=>(I(),ie(x(ut),He({role:"group"},t,{"aria-labelledby":x(n)}),{default:he(()=>[Ee(r.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Vy=Hy;const[Vd,Wy]=Jn("SelectItem");var Gy=ye({__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}=iu(n),u=gr(),s=mu(),{forwardRef:i,currentElement:l}=Yt(),{CollectionItem:a}=pu(),c=F(()=>{var y;return Qo((y=u.modelValue)==null?void 0:y.value,n.value,u.by)}),f=K(!1),h=K(n.textValue??""),d=Nl(void 0,"reka-select-item-text"),p="select.select";async function m(y){if(y.defaultPrevented)return;const A={originalEvent:y,value:n.value};Ml(p,g,A)}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 _(y){var A,C;await pt(),!y.defaultPrevented&&(o.value?(A=s.onItemLeave)==null||A.call(s):(C=y.currentTarget)==null||C.focus({preventScroll:!0}))}async function b(y){var A;await pt(),!y.defaultPrevented&&y.currentTarget===kn()&&((A=s.onItemLeave)==null||A.call(s))}async function E(y){var C;await pt(),!(y.defaultPrevented||((C=s.searchRef)==null?void 0:C.value)!==""&&y.key===" ")&&(vy.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)}),Wy({value:n.value,disabled:o,textId:d,isSelected:c,onItemTextChange:y=>{h.value=((h.value||(y==null?void 0:y.textContent))??"").trim()}}),(y,A)=>(I(),ie(x(a),{value:{textValue:h.value}},{default:he(()=>[me(x(ut),{ref:x(i),role:"option","aria-labelledby":x(d),"data-highlighted":f.value?"":void 0,"aria-selected":c.value,"data-state":c.value?"checked":"unchecked","aria-disabled":x(o)||void 0,"data-disabled":x(o)?"":void 0,tabindex:x(o)?void 0:-1,as:y.as,"as-child":y.asChild,onFocus:A[0]||(A[0]=C=>f.value=!0),onBlur:A[1]||(A[1]=C=>f.value=!1),onPointerup:m,onPointerdown:A[2]||(A[2]=C=>{C.currentTarget.focus({preventScroll:!0})}),onTouchend:A[3]||(A[3]=Or(()=>{},["prevent","stop"])),onPointermove:_,onPointerleave:b,onKeydown:E},{default:he(()=>[Ee(y.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),Ky=Gy,Yy=ye({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Vd();return(r,o)=>x(n).isSelected.value?(I(),ie(x(ut),He({key:0,"aria-hidden":"true"},t),{default:he(()=>[Ee(r.$slots,"default")]),_:3},16)):ve("v-if",!0)}}),Zy=Yy,Qy=ye({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=gr(),r=mu(),o=Vd(),{forwardRef:u,currentElement:s}=Yt(),i=F(()=>{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))}),mr(()=>{n.onOptionRemove(i.value)}),(l,a)=>(I(),ie(x(ut),He({id:x(o).textId,ref:x(u)},{...t,...l.$attrs}),{default:he(()=>[Ee(l.$slots,"default")]),_:3},16,["id"]))}}),Xy=Qy,Jy=ye({__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=Uy({id:""});return(r,o)=>(I(),ie(x(ut),He(t,{id:x(n).id}),{default:he(()=>[Ee(r.$slots,"default")]),_:3},16,["id"]))}}),e3=Jy,t3=ye({__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)=>(I(),ie(x(e2),co(fu(t)),{default:he(()=>[Ee(n.$slots,"default")]),_:3},16))}}),n3=t3,r3=ye({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(I(),ie(x(ut),He({"aria-hidden":"true"},t),{default:he(()=>[Ee(n.$slots,"default")]),_:3},16))}}),o3=r3,u3=ye({__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=gr(),{forwardRef:r,currentElement:o}=Yt(),u=F(()=>{var h;return((h=n.disabled)==null?void 0:h.value)||t.disabled});n.contentId||(n.contentId=Nl(void 0,"reka-select-content")),At(()=>{n.onTriggerChange(o.value)});const{getItems:s}=pu(),{search:i,handleTypeaheadSearch:l,resetTypeahead:a}=Td();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)=>(I(),ie(x(i2),{"as-child":"",reference:h.reference},{default:he(()=>{var p,m,g,_;return[me(x(ut),{ref:x(r),role:"combobox",type:h.as==="button"?"button":void 0,"aria-controls":x(n).contentId,"aria-expanded":x(n).open.value||!1,"aria-required":(p=x(n).required)==null?void 0:p.value,"aria-autocomplete":"none",disabled:u.value,dir:(m=x(n))==null?void 0:m.dir.value,"data-state":(g=x(n))!=null&&g.open.value?"open":"closed","data-disabled":u.value?"":void 0,"data-placeholder":x(xy)((_=x(n).modelValue)==null?void 0:_.value)?"":void 0,"as-child":h.asChild,as:h.as,onClick:d[0]||(d[0]=b=>{var E;(E=b==null?void 0:b.currentTarget)==null||E.focus()}),onPointerdown:d[1]||(d[1]=b=>{if(b.pointerType==="touch")return b.preventDefault();const E=b.target;E.hasPointerCapture(b.pointerId)&&E.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(f(b),b.preventDefault())}),onPointerup:d[2]||(d[2]=Or(b=>{b.pointerType==="touch"&&f(b)},["prevent"])),onKeydown:d[3]||(d[3]=b=>{const E=x(i)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&E&&b.key===" "||(x(l)(b.key,x(s)()),x(_y).includes(b.key)&&(c(),b.preventDefault()))})},{default:he(()=>[Ee(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"]))}}),s3=u3,i3=ye({__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=gr();At(()=>{o.valueElement=r});const u=F(()=>{var c;let i=[];const l=Array.from(o.optionsSet.value),a=f=>l.find(h=>Qo(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=F(()=>u.value.length?u.value.join(", "):t.placeholder);return(i,l)=>(I(),ie(x(ut),{ref:x(n),as:i.as,"as-child":i.asChild,style:{pointerEvents:"none"},"data-placeholder":u.value.length?void 0:t.placeholder},{default:he(()=>[Ee(i.$slots,"default",{selectedLabel:u.value,modelValue:x(o).modelValue.value},()=>[en(le(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),l3=i3,a3=ye({__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}=iu(t),r=yy(n),o=mu(),u=o.position==="item-aligned"?Iy():void 0,{forwardRef:s,currentElement:i}=Yt();At(()=>{o==null||o.onViewportChange(i.value)});const l=K(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),_=Number.parseFloat(d.value.style.height),b=Math.max(g,_);if(b<m){const E=b+p,y=Math.min(m,E),A=E-y;d.value.style.height=`${y}px`,d.value.style.bottom==="0px"&&(f.scrollTop=A>0?A:0,d.value.style.justifyContent="flex-end")}}}l.value=f.scrollTop}return(c,f)=>(I(),V(Ie,null,[me(x(ut),He({ref:x(s),"data-reka-select-viewport":"",role:"presentation"},{...c.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:a}),{default:he(()=>[Ee(c.$slots,"default")]),_:3},16),me(x(ut),{as:"style",nonce:x(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))}}),c3=a3;const[f3]=Jn("UTheme","RootContext"),d3={defaults:F(()=>({}))};function p3(e=d3){return f3(e)}function h3(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function m3(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function g3(e,t){return!e||!e.props?!1:e.props[h3(t)]!==void 0||e.props[m3(t)]!==void 0}function Vl(e,t){const n=It(),{defaults:r}=p3(),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 _=a==null?void 0:a.ui;return!l&&!_?l:to(l??{},_??{})}if(n&&g3(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 b3(e,t){const n=t?Cd(t):{};return F(()=>{const r=Ye(e)?e.value:e,o={...n};for(const u in r){const s=r[u];s!==void 0&&(o[u]=s)}return o})}const Wd=Symbol("nuxt-ui.field-group");function y3(e){const t=Mt(Wd,void 0);return{orientation:F(()=>t==null?void 0:t.value.orientation),size:F(()=>(e==null?void 0:e.size)??(t==null?void 0:t.value.size))}}const _3=ye({name:"FieldGroupReset",setup(e,{slots:t}){return fo(Wd,F(()=>({size:void 0,orientation:void 0}))),()=>{var n;return(n=t.default)==null?void 0:n.call(t)}}});function v3(e){const t=Fr(),n=F(()=>tt(e)),r=F(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),o=F(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),u=F(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),s=F(()=>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 x3=Symbol("nuxt-ui.form-options"),k3=Symbol("nuxt-ui.form-events"),Rc=Symbol("nuxt-ui.form-field"),E3=Symbol("nuxt-ui.input-id");function w3(e,t){const n=Mt(x3,void 0),r=Mt(k3,void 0),o=Mt(Rc,void 0),u=Mt(E3,void 0);fo(Rc,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=Xg(()=>{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:F(()=>(e==null?void 0:e.id)??(u==null?void 0:u.value)),name:F(()=>(e==null?void 0:e.name)??(o==null?void 0:o.value.name)),size:F(()=>(e==null?void 0:e.size)??(o==null?void 0:o.value.size)),color:F(()=>o!=null&&o.value.error?"error":e==null?void 0:e.color),highlight:F(()=>o!=null&&o.value.error?!0:e==null?void 0:e.highlight),disabled:F(()=>(n==null?void 0:n.value.disabled)||(e==null?void 0:e.disabled)),emitFormBlur:i,emitFormInput:c,emitFormChange:a,emitFormFocus:l,ariaAttrs:F(()=>{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 A3=Symbol("nuxt-ui.portal-target");function C3(e){const t=Mt(A3,void 0),n=F(()=>e.value===!0?t==null?void 0:t.value:e.value),r=F(()=>typeof n.value=="boolean"?!n.value:!1),o=F(()=>typeof n.value=="boolean"?"body":n.value);return F(()=>({to:o.value,disabled:r.value}))}var S3=/\s+/g,T3=e=>typeof e!="string"||!e?e:e.replace(S3," ").trim(),ss=(...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?T3(t.join(" ")):void 0},Fc=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Rt=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},D3=(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},O3=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=ss(e[n],r):e[n]=r}return e},Gd=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?Gd(r,t):r&&t.push(r)}},Kd=(...e)=>{const t=[];Gd(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},nl=(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]=Kd(u,o):typeof o=="object"&&typeof u=="object"&&o&&u?n[r]=nl(o,u):n[r]=u+" "+o}else n[r]=o}for(const r in t)r in e||(n[r]=t[r]);return n},I3={twMerge:!0,twMergeConfig:{}};function R3(){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=R3(),F3=e=>{const t=(r,o)=>{const{extend:u=null,slots:s={},variants:i={},compoundVariants:l=[],compoundSlots:a=[],defaultVariants:c={}}=r,f={...I3,...o},h=u!=null&&u.base?ss(u.base,r==null?void 0:r.base):r==null?void 0:r.base,d=u!=null&&u.variants&&!Rt(u.variants)?nl(i,u.variants):i,p=u!=null&&u.defaultVariants&&!Rt(u.defaultVariants)?{...u.defaultVariants,...c}:c;!Rt(f.twMergeConfig)&&!D3(f.twMergeConfig,Nn.cachedTwMergeConfig)&&(Nn.didTwMergeConfigChange=!0,Nn.cachedTwMergeConfig=f.twMergeConfig);const m=Rt(u==null?void 0:u.slots),g=Rt(s)?{}:{base:ss(r==null?void 0:r.base,m&&(u==null?void 0:u.base)),...s},_=m?g:O3({...u==null?void 0:u.slots},Rt(g)?{base:r==null?void 0:r.base}:g),b=Rt(u==null?void 0:u.compoundVariants)?l:Kd(u==null?void 0:u.compoundVariants,l),E=A=>{if(Rt(d)&&Rt(s)&&m)return e(h,A==null?void 0:A.class,A==null?void 0:A.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 C=($,z=d,M=null,j=null)=>{const Z=z[$];if(!Z||Rt(Z))return null;const ge=(j==null?void 0:j[$])??(A==null?void 0:A[$]);if(ge===null)return null;const Q=Fc(ge);if(typeof Q=="object")return null;const _e=p==null?void 0:p[$],De=Q??Fc(_e);return Z[De||"false"]},S=()=>{if(!d)return null;const $=Object.keys(d),z=[];for(let M=0;M<$.length;M++){const j=C($[M],d);j&&z.push(j)}return z},T=($,z)=>{if(!d||typeof d!="object")return null;const M=[];for(const j in d){const Z=C(j,d,$,z),ge=$==="base"&&typeof Z=="string"?Z:Z&&Z[$];ge&&M.push(ge)}return M},B={};for(const $ in A){const z=A[$];z!==void 0&&(B[$]=z)}const Y=($,z)=>{var j;const M=typeof(A==null?void 0:A[$])=="object"?{[$]:(j=A[$])==null?void 0:j.initial}:{};return{...p,...B,...M,...z}},fe=($=[],z)=>{const M=[],j=$.length;for(let Z=0;Z<j;Z++){const{class:ge,className:Q,..._e}=$[Z];let De=!0;const Je=Y(null,z);for(const Ce in _e){const Re=_e[Ce],Pe=Je[Ce];if(Array.isArray(Re)){if(!Re.includes(Pe)){De=!1;break}}else{if((Re==null||Re===!1)&&(Pe==null||Pe===!1))continue;if(Pe!==Re){De=!1;break}}}De&&(ge&&M.push(ge),Q&&M.push(Q))}return M},H=$=>{const z=fe(b,$);if(!Array.isArray(z))return z;const M={},j=e;for(let Z=0;Z<z.length;Z++){const ge=z[Z];if(typeof ge=="string")M.base=j(M.base,ge)(f);else if(typeof ge=="object")for(const Q in ge)M[Q]=j(M[Q],ge[Q])(f)}return M},ae=$=>{if(a.length<1)return null;const z={},M=Y(null,$);for(let j=0;j<a.length;j++){const{slots:Z=[],class:ge,className:Q,..._e}=a[j];if(!Rt(_e)){let De=!0;for(const Je in _e){const Ce=M[Je],Re=_e[Je];if(Ce===void 0||(Array.isArray(Re)?!Re.includes(Ce):Re!==Ce)){De=!1;break}}if(!De)continue}for(let De=0;De<Z.length;De++){const Je=Z[De];z[Je]||(z[Je]=[]),z[Je].push([ge,Q])}}return z};if(!Rt(s)||!m){const $={};if(typeof _=="object"&&!Rt(_)){const z=e;for(const M in _)$[M]=j=>{const Z=H(j),ge=ae(j);return z(_[M],T(M,j),Z?Z[M]:void 0,ge?ge[M]:void 0,j==null?void 0:j.class,j==null?void 0:j.className)(f)}}return $}return e(h,S(),fe(b),A==null?void 0:A.class,A==null?void 0:A.className)(f)},y=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return E.variantKeys=y(),E.extend=u,E.base=h,E.slots=_,E.variants=d,E.defaultVariants=p,E.compoundSlots=a,E.compoundVariants=b,E};return{tv:t,createTV:r=>(o,u)=>t(o,u?nl(r,u):r)}};const M3=(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},P3=(e,t)=>({classGroupId:e,validator:t}),Yd=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),is="-",Mc=[],L3="arbitrary..",N3=e=>{const t=z3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return $3(s);const i=s.split(is),l=i[0]===""&&i.length>1?1:0;return Zd(i,l,t)},getConflictingClassGroupIds:(s,i)=>{if(i){const l=r[s],a=n[s];return l?a?M3(a,l):l:a||Mc}return n[s]||Mc}}},Zd=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],u=n.nextPart.get(o);if(u){const a=Zd(e,t+1,u);if(a)return a}const s=n.validators;if(s===null)return;const i=t===0?e.join(is):e.slice(t).join(is),l=s.length;for(let a=0;a<l;a++){const c=s[a];if(c.validator(i))return c.classGroupId}},$3=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?L3+r:void 0})(),z3=e=>{const{theme:t,classGroups:n}=e;return B3(n,t)},B3=(e,t)=>{const n=Yd();for(const r in e){const o=e[r];Wl(o,n,r,t)}return n},Wl=(e,t,n,r)=>{const o=e.length;for(let u=0;u<o;u++){const s=e[u];q3(s,t,n,r)}},q3=(e,t,n,r)=>{if(typeof e=="string"){U3(e,t,n);return}if(typeof e=="function"){j3(e,t,n,r);return}H3(e,t,n,r)},U3=(e,t,n)=>{const r=e===""?t:Qd(t,e);r.classGroupId=n},j3=(e,t,n,r)=>{if(V3(e)){Wl(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(P3(n,e))},H3=(e,t,n,r)=>{const o=Object.entries(e),u=o.length;for(let s=0;s<u;s++){const[i,l]=o[s];Wl(l,Qd(t,i),n,r)}},Qd=(e,t)=>{let n=e;const r=t.split(is),o=r.length;for(let u=0;u<o;u++){const s=r[u];let i=n.nextPart.get(s);i||(i=Yd(),n.nextPart.set(s,i)),n=i}return n},V3=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,W3=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)}}},rl="!",Pc=":",G3=[],Lc=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),K3=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===Pc){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(rl)?(h=f.slice(0,-1),d=!0):f.startsWith(rl)&&(h=f.slice(1),d=!0);const p=a&&a>l?a-l:void 0;return Lc(u,d,h,p)};if(t){const o=t+Pc,u=r;r=s=>s.startsWith(o)?u(s.slice(o.length)):Lc(G3,!1,s,void 0,!0)}if(n){const o=r;r=u=>n({className:u,parseClassName:o})}return r},Y3=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}},Z3=e=>({cache:W3(e.cacheSize),parseClassName:K3(e),sortModifiers:Y3(e),postfixLookupClassGroupIds:Q3(e),...N3(e)}),Q3=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},X3=/\s+/,J3=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u,postfixLookupClassGroupIds:s}=t,i=[],l=e.trim().split(X3);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 _=!!g,b;if(_){const S=m.substring(0,g);b=r(S);const T=b&&s[b]?r(m):void 0;T&&T!==b&&(b=T,_=!1)}else b=r(m);if(!b){if(!_){a=f+(a.length>0?" "+a:a);continue}if(b=r(m),!b){a=f+(a.length>0?" "+a:a);continue}_=!1}const E=d.length===0?"":d.length===1?d[0]:u(d).join(":"),y=p?E+rl:E,A=y+b;if(i.indexOf(A)>-1)continue;i.push(A);const C=o(b,_);for(let S=0;S<C.length;++S){const T=C[S];i.push(y+T)}a=f+(a.length>0?" "+a:a)}return a},e_=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Xd(n))&&(o&&(o+=" "),o+=r);return o},Xd=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Xd(e[r]))&&(n&&(n+=" "),n+=t);return n},ol=(e,...t)=>{let n,r,o,u;const s=l=>{const a=t.reduce((c,f)=>f(c),e());return n=Z3(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=J3(l,n);return o(l,c),c};return u=s,(...l)=>u(e_(...l))},t_=[],rt=e=>{const t=n=>n[e]||t_;return t.isThemeGetter=!0,t},Jd=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ep=/^\((?:(\w[\w-]*):)?(.+)\)$/i,n_=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,r_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,o_=/\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$/,u_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,s_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,i_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nr=e=>n_.test(e),Ae=e=>!!e&&!Number.isNaN(Number(e)),dn=e=>!!e&&Number.isInteger(Number(e)),pi=e=>e.endsWith("%")&&Ae(e.slice(0,-1)),Mn=e=>r_.test(e),tp=()=>!0,l_=e=>o_.test(e)&&!u_.test(e),Gl=()=>!1,a_=e=>s_.test(e),c_=e=>i_.test(e),f_=e=>!ne(e)&&!re(e),d_=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)),p_=e=>br(e,op,Gl),ne=e=>Jd.test(e),kr=e=>br(e,up,l_),Nc=e=>br(e,x_,Ae),h_=e=>br(e,ip,tp),m_=e=>br(e,sp,Gl),$c=e=>br(e,np,Gl),g_=e=>br(e,rp,c_),Fu=e=>br(e,lp,a_),re=e=>ep.test(e),Eo=e=>Pr(e,up),b_=e=>Pr(e,sp),zc=e=>Pr(e,np),y_=e=>Pr(e,op),__=e=>Pr(e,rp),Mu=e=>Pr(e,lp,!0),v_=e=>Pr(e,ip,!0),br=(e,t,n)=>{const r=Jd.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Pr=(e,t,n=!1)=>{const r=ep.exec(e);return r?r[1]?t(r[1]):n:!1},np=e=>e==="position"||e==="percentage",rp=e=>e==="image"||e==="url",op=e=>e==="length"||e==="size"||e==="bg-size",up=e=>e==="length",x_=e=>e==="number",sp=e=>e==="family-name",ip=e=>e==="number"||e==="weight",lp=e=>e==="shadow",ul=()=>{const e=rt("color"),t=rt("font"),n=rt("text"),r=rt("font-weight"),o=rt("tracking"),u=rt("leading"),s=rt("breakpoint"),i=rt("container"),l=rt("spacing"),a=rt("radius"),c=rt("shadow"),f=rt("inset-shadow"),h=rt("text-shadow"),d=rt("drop-shadow"),p=rt("blur"),m=rt("perspective"),g=rt("aspect"),_=rt("ease"),b=rt("animate"),E=()=>["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"],A=()=>[...y(),re,ne],C=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],T=()=>[re,ne,l],B=()=>[nr,"full","auto",...T()],Y=()=>[dn,"none","subgrid",re,ne],fe=()=>["auto",{span:["full",dn,re,ne]},dn,re,ne],H=()=>[dn,"auto",re,ne],ae=()=>["auto","min","max","fr",re,ne],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...T()],j=()=>[nr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],Z=()=>[nr,"screen","full","dvw","lvw","svw","min","max","fit",...T()],ge=()=>[nr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],Q=()=>[e,re,ne],_e=()=>[...y(),zc,$c,{position:[re,ne]}],De=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Je=()=>["auto","cover","contain",y_,p_,{size:[re,ne]}],Ce=()=>[pi,Eo,kr],Re=()=>["","none","full",a,re,ne],Pe=()=>["",Ae,Eo,kr],J=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Ae,pi,zc,$c],$e=()=>["","none",p,re,ne],xe=()=>["none",Ae,re,ne],k=()=>["none",Ae,re,ne],w=()=>[Ae,re,ne],O=()=>[nr,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Mn],breakpoint:[Mn],color:[tp],container:[Mn],"drop-shadow":[Mn],ease:["in","out","in-out"],font:[f_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Mn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Mn],shadow:[Mn],spacing:["px",Ae],text:[Mn],"text-shadow":[Mn],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":[d_],columns:[{columns:[Ae,ne,re,i]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"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:A()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{"inset-s":B(),start:B()}],end:[{"inset-e":B(),end:B()}],"inset-bs":[{"inset-bs":B()}],"inset-be":[{"inset-be":B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[dn,"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:[Ae,nr,"auto","initial","none",ne]}],grow:[{grow:["",Ae,re,ne]}],shrink:[{shrink:["",Ae,re,ne]}],order:[{order:[dn,"first","last","none",re,ne]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:fe()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:fe()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"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:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...ge()]}],"min-block-size":[{"min-block":["auto",...ge()]}],"max-block-size":[{"max-block":["none",...ge()]}],w:[{w:[i,"screen",...j()]}],"min-w":[{"min-w":[i,"screen","none",...j()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,Eo,kr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,v_,h_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pi,ne]}],"font-family":[{font:[b_,m_,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":[Ae,"none",re,Nc]}],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:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",re,kr]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[Ae,"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:[dn,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:_e()}],"bg-repeat":[{bg:De()}],"bg-size":[{bg:Je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dn,re,ne],radial:["",re,ne],conic:[dn,re,ne]},__,g_]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:Ce()}],"gradient-via-pos":[{via:Ce()}],"gradient-to-pos":[{to:Ce()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:Re()}],"rounded-s":[{"rounded-s":Re()}],"rounded-e":[{"rounded-e":Re()}],"rounded-t":[{"rounded-t":Re()}],"rounded-r":[{"rounded-r":Re()}],"rounded-b":[{"rounded-b":Re()}],"rounded-l":[{"rounded-l":Re()}],"rounded-ss":[{"rounded-ss":Re()}],"rounded-se":[{"rounded-se":Re()}],"rounded-ee":[{"rounded-ee":Re()}],"rounded-es":[{"rounded-es":Re()}],"rounded-tl":[{"rounded-tl":Re()}],"rounded-tr":[{"rounded-tr":Re()}],"rounded-br":[{"rounded-br":Re()}],"rounded-bl":[{"rounded-bl":Re()}],"border-w":[{border:Pe()}],"border-w-x":[{"border-x":Pe()}],"border-w-y":[{"border-y":Pe()}],"border-w-s":[{"border-s":Pe()}],"border-w-e":[{"border-e":Pe()}],"border-w-bs":[{"border-bs":Pe()}],"border-w-be":[{"border-be":Pe()}],"border-w-t":[{"border-t":Pe()}],"border-w-r":[{"border-r":Pe()}],"border-w-b":[{"border-b":Pe()}],"border-w-l":[{"border-l":Pe()}],"divide-x":[{"divide-x":Pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...J(),"hidden","none"]}],"divide-style":[{divide:[...J(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...J(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,re,ne]}],"outline-w":[{outline:["",Ae,Eo,kr]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",c,Mu,Fu]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",f,Mu,Fu]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[Ae,kr]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":Pe()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",h,Mu,Fu]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[Ae,re,ne]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"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":[Ae]}],"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":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"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":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"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":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"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":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"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":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"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":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"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":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"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":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"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":[Ae]}],"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":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_e()}],"mask-repeat":[{mask:De()}],"mask-size":[{mask:Je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,ne]}],filter:[{filter:["","none",re,ne]}],blur:[{blur:$e()}],brightness:[{brightness:[Ae,re,ne]}],contrast:[{contrast:[Ae,re,ne]}],"drop-shadow":[{"drop-shadow":["","none",d,Mu,Fu]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",Ae,re,ne]}],"hue-rotate":[{"hue-rotate":[Ae,re,ne]}],invert:[{invert:["",Ae,re,ne]}],saturate:[{saturate:[Ae,re,ne]}],sepia:[{sepia:["",Ae,re,ne]}],"backdrop-filter":[{"backdrop-filter":["","none",re,ne]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,re,ne]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,re,ne]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,re,ne]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,re,ne]}],"backdrop-invert":[{"backdrop-invert":["",Ae,re,ne]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,re,ne]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,re,ne]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,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:[Ae,"initial",re,ne]}],ease:[{ease:["linear","initial",_,re,ne]}],delay:[{delay:[Ae,re,ne]}],animate:[{animate:["none",b,re,ne]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,re,ne]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:k()}],"scale-x":[{"scale-x":k()}],"scale-y":[{"scale-y":k()}],"scale-z":[{"scale-z":k()}],"scale-3d":["scale-3d"],skew:[{skew:w()}],"skew-x":[{"skew-x":w()}],"skew-y":[{"skew-y":w()}],transform:[{transform:[re,ne,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],zoom:[{zoom:[dn,re,ne]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"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":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"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",...Q()]}],"stroke-w":[{stroke:[Ae,Eo,kr,Nc]}],stroke:[{stroke:["none",...Q()]}],"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"]}},k_=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:u={}})=>(Yr(e,"cacheSize",t),Yr(e,"prefix",n),Yr(e,"experimentalParseClassName",r),Pu(e.theme,u.theme),Pu(e.classGroups,u.classGroups),Pu(e.conflictingClassGroups,u.conflictingClassGroups),Pu(e.conflictingClassGroupModifiers,u.conflictingClassGroupModifiers),Yr(e,"postfixLookupClassGroups",u.postfixLookupClassGroups),Yr(e,"orderSensitiveModifiers",u.orderSensitiveModifiers),Lu(e.theme,o.theme),Lu(e.classGroups,o.classGroups),Lu(e.conflictingClassGroups,o.conflictingClassGroups),Lu(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),sl(e,o,"postfixLookupClassGroups"),sl(e,o,"orderSensitiveModifiers"),e),Yr=(e,t,n)=>{n!==void 0&&(e[t]=n)},Pu=(e,t)=>{if(t)for(const n in t)Yr(e,n,t[n])},Lu=(e,t)=>{if(t)for(const n in t)sl(e,t,n)},sl=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},E_=(e,...t)=>typeof e=="function"?ol(ul,e,...t):ol(()=>k_(ul(),e),...t),w_=ol(ul);var A_=e=>Rt(e)?w_:E_({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),C_=(e,t)=>{const n=ss(e);return!n||!((t==null?void 0:t.twMerge)??!0)?n:((!Nn.cachedTwMerge||Nn.didTwMergeConfigChange)&&(Nn.didTwMergeConfigChange=!1,Nn.cachedTwMerge=A_(Nn.cachedTwMergeConfig)),Nn.cachedTwMerge(n)||void 0)},ap=(...e)=>t=>C_(e,t),{createTV:S_}=F3(ap);const T_=Ed;var Gf;const cp=(Gf=T_.ui)==null?void 0:Gf.tv,D_=S_(cp);function Xo(e){if(typeof e=="function")return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){const n=Xo(e[t]);if(n)return n}}function il(e){return Array.isArray(e)?e.flatMap(t=>il(t)):typeof e=="function"?[]:[e]}function fp(e,t,n){return ap(e(n()),...il(t.class),...il(t.className))(cp)??""}function O_(e,t){return new Proxy(e,{get(n,r){const o=n[r];return typeof o!="function"?o:(u={})=>{const s=Xo(u.class)??Xo(u.className)??(t==null?void 0:t[r]);return s?fp(s,u,()=>o({...u,class:void 0,className:void 0})):o(u)}}})}function I_(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 so=e=>{const{config:t,directives:n}=I_(e),r=D_(t);return new Proxy(r,{apply(o,u,s){const i=Reflect.apply(o,u,s);if(i&&typeof i=="object")return O_(i,n);if(typeof i=="string"){const l=s[0]??{},a=Xo(l.class)??Xo(l.className)??(n==null?void 0:n.base);if(a)return fp(a,l,()=>Reflect.apply(o,u,[{...l,class:void 0,className:void 0}]))}return i}})},dp=/^[a-z0-9]+(-[a-z0-9]+)*$/,Fs=(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&&!Vu(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&&!Vu(i)?null:i}if(n&&r===""){const i={provider:r,prefix:"",name:u};return t&&!Vu(i,n)?null:i}return null},Vu=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function R_(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 pp=Object.freeze({left:0,top:0,width:16,height:16}),ls=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ms=Object.freeze({...pp,...ls}),ll=Object.freeze({...Ms,body:"",hidden:!1});function F_(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 Bc(e,t){const n=F_(e,t);for(const r in ll)r in ls?r in e&&!(r in n)&&(n[r]=ls[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function M_(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let u={};function s(i){u=Bc(r[i]||o[i],u)}return s(t),n.forEach(s),Bc(e,u)}function hp(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=R_(e);for(const o in r){const u=r[o];u&&(t(o,M_(e,o,u)),n.push(o))}return n}const P_={provider:"",aliases:{},not_found:{},...pp};function hi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function mp(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hi(e,P_))return null;const n=t.icons;for(const o in n){const u=n[o];if(!o||typeof u.body!="string"||!hi(u,ll))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]||!hi(u,ll))return null}return t}const qc=Object.create(null);function L_(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function io(e,t){const n=qc[e]||(qc[e]=Object.create(null));return n[t]||(n[t]=L_(e,t))}function gp(e,t){return mp(t)?hp(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function N_(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Jo=!1;function bp(e){return typeof e=="boolean"&&(Jo=e),Jo}function $_(e){const t=typeof e=="string"?Fs(e,!0,Jo):e;if(t){const n=io(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function z_(e,t){const n=Fs(e,!0,Jo);if(!n)return!1;const r=io(n.provider,n.prefix);return t?N_(r,n.name,t):(r.missing.add(n.name),!0)}function B_(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Jo&&!t&&!e.prefix){let r=!1;return mp(e)&&(e.prefix="",hp(e,(o,u)=>{z_(o,u)&&(r=!0)})),r}const n=e.prefix;return Vu({prefix:n,name:"a"})?!!gp(io(t,n),e):!1}const yp=Object.freeze({width:null,height:null}),_p=Object.freeze({...yp,...ls}),q_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,U_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Uc(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(q_);if(r===null||!r.length)return e;const o=[];let u=r.shift(),s=U_.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 j_(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 H_(e,t){return e?"<defs>"+e+"</defs>"+t:t}function V_(e,t,n){const r=j_(e);return H_(r.defs,t+r.content+n)}const W_=e=>e==="unset"||e==="undefined"||e==="none";function G_(e,t){const n={...Ms,...e},r={..._p,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let u=n.body;[n,r].forEach(m=>{const g=[],_=m.hFlip,b=m.vFlip;let E=m.rotate;_?b?E+=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(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){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}E%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=V_(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=Uc(f,l/a)):(c=s==="auto"?l:s,f=i===null?Uc(c,a/l):i==="auto"?a:i);const h={},d=(m,g)=>{W_(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 K_=/\sid="(\S+)"/g,jc=new Map;function Y_(e){e=e.replace(/[0-9]+$/,"")||"a";const t=jc.get(e)||0;return jc.set(e,t+1),t?`${e}${t}`:e}function Z_(e){const t=[];let n;for(;n=K_.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=Y_(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 al=Object.create(null);function Q_(e,t){al[e]=t}function cl(e){return al[e]||al[""]}function Kl(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 Yl=Object.create(null),wo=["https://api.simplesvg.com","https://api.unisvg.com"],Wu=[];for(;wo.length>0;)wo.length===1||Math.random()>.5?Wu.push(wo.shift()):Wu.push(wo.pop());Yl[""]=Kl({resources:["https://api.iconify.design"].concat(Wu)});function X_(e,t){const n=Kl(t);return n===null?!1:(Yl[e]=n,!0)}function Zl(e){return Yl[e]}const J_=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Hc=J_();function ev(e,t){const n=Zl(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 tv(e){return e===404}const nv=(e,t,n)=>{const r=[],o=ev(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 rv(e){if(typeof e=="string"){const t=Zl(e);if(t)return t.path}return"/"}const ov=(e,t,n)=>{if(!Hc){n("abort",424);return}let r=rv(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;Hc(e+r).then(u=>{const s=u.status;if(s!==200){setTimeout(()=>{n(tv(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)})},uv={prepare:nv,send:ov};function vp(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function sv(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||vp([e],u.id),u.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),u.abort))})}))}let iv=0;function lv(e,t,n){const r=iv++,o=vp.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 av(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]=io(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 cv(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const u=typeof o=="string"?Fs(o,t,n):o;u&&r.push(u)}),r}const fv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function dv(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 C=e.resources.slice(0);for(s=[];C.length>1;){const S=Math.floor(Math.random()*C.length);s.push(C[S]),C=C.slice(0,S).concat(C.slice(S+1))}s=s.concat(C)}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(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function g(C,S){S&&(d=[]),typeof C=="function"&&d.push(C)}function _(){return{startTime:i,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:g,abort:m}}function b(){l="failed",d.forEach(C=>{C(void 0,c)})}function E(){h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function y(C,S,T){const B=S!=="success";switch(h=h.filter(Y=>Y!==C),l){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){c=T,b();return}if(B){c=T,h.length||(s.length?A():b());return}if(p(),E(),!e.random){const Y=e.resources.indexOf(C.resource);Y!==-1&&Y!==e.index&&(e.index=Y)}l="completed",d.forEach(Y=>{Y(T)})}function A(){if(l!=="pending")return;p();const C=s.shift();if(C===void 0){if(h.length){f=setTimeout(()=>{p(),l==="pending"&&(E(),b())},e.timeout);return}b();return}const S={status:"pending",resource:C,callback:(T,B)=>{y(S,T,B)}};h.push(S),a++,f=setTimeout(A,e.rotate),n(C,t,S.callback)}return setTimeout(A),_}function xp(e){const t={...fv,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,i,l){const a=dv(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 Vc(){}const mi=Object.create(null);function pv(e){if(!mi[e]){const t=Zl(e);if(!t)return;mi[e]={config:t,redundancy:xp(t)}}return mi[e]}function hv(e,t,n){let r,o;if(typeof e=="string"){const u=cl(e);if(!u)return n(void 0,424),Vc;o=u.send;const s=pv(e);s&&(r=s.redundancy)}else{const u=Kl(e);if(u){r=xp(u);const s=cl(e.resources?e.resources[0]:"");s&&(o=s.send)}}return!r||!o?(n(void 0,424),Vc):r.query(t,o,n)().abort}function Wc(){}function mv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,sv(e)}))}function gv(e){const t=[],n=[];return e.forEach(r=>{(r.match(dp)?t:n).push(r)}),{valid:t,invalid:n}}function Ao(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(!gp(e,n).length){r();return}}catch(o){console.error(o)}r(),mv(e)}function Gc(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function bv(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)){Gc(e.loadIcons(o,r,n),a=>{Ao(e,o,a)});return}if(u){o.forEach(a=>{Gc(u(a,r,n),c=>{Ao(e,[a],c?{prefix:r,icons:{[a]:c}}:null)})});return}const{valid:s,invalid:i}=gv(o);if(i.length&&Ao(e,i,null),!s.length)return;const l=r.match(dp)?cl(n):null;if(!l){Ao(e,s,null);return}l.prepare(n,r,s).forEach(a=>{hv(n,a,c=>{Ao(e,a.icons,c)})})}))}const yv=(e,t)=>{const n=av(cv(e,!0,bp()));if(!n.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(n.loaded,n.missing,n.pending,Wc)}),()=>{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(io(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=io(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&&bv(i,l)}),t?lv(t,n,o):Wc};function _v(e,t){const n={...e};for(const r in t){const o=t[r],u=typeof o;r in yp?(o===null||o&&(u==="string"||u==="number"))&&(n[r]=o):u===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const vv=/[\s,]+/;function xv(e,t){t.split(vv).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function kv(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 Ev(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 wv(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Av(e){return"data:image/svg+xml,"+wv(e)}function Cv(e){return'url("'+Av(e)+'")'}const Kc={..._p,inline:!1},Sv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Tv={display:"inline-block"},fl={backgroundColor:"currentColor"},kp={backgroundColor:"transparent"},Yc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zc={webkitMask:fl,mask:fl,background:kp};for(const e in Zc){const t=Zc[e];for(const n in Yc)t[e+n]=Yc[n]}const Gu={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Gu[e+"-flip"]=t,Gu[e.slice(0,1)+"-flip"]=t,Gu[e+"Flip"]=t});function Qc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Xc=(e,t)=>{const n=_v(Kc,t),r={...Sv},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"&&xv(n,g);break;case"color":u.color=g;break;case"rotate":typeof g=="string"?n[m]=kv(g):typeof g=="number"&&(n[m]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const _=Gu[m];_?(g===!0||g==="true"||g===1)&&(n[_]=!0):Kc[m]===void 0&&(r[m]=g)}}}const l=G_(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=Z_(l.body),fr("svg",r);const{body:c,width:f,height:h}=e,d=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),p=Ev(c,{...a,width:f+"",height:h+""});return r.style={...u,"--svg":Cv(p),width:Qc(a.width),height:Qc(a.height),...Tv,...d?fl:kp,...i},fr("span",r)};bp(!0);Q_("",uv);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"||!B_(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;X_(n,o)||console.error(r)}catch{console.error(r)}}}}const Dv={...Ms,body:""},Ov=ye((e,{emit:t})=>{const n=K(null);function r(){var a,c;n.value&&((c=(a=n.value).abort)==null||c.call(a),n.value=null)}const o=K(!!e.ssr),u=K(""),s=su(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=Fs(a,!1,!0))===null)return null;let f=$_(c);if(!f){const p=n.value;return(!p||p.name!==a)&&(f===null?n.value={name:a}:n.value={name:a,abort:yv([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()}),Ke(()=>e.icon,l),mr(r),()=>{const a=s.value;if(!a)return Xc(Dv,e);let c=e;return a.classes&&(c={...e,class:a.classes.join(" ")}),Xc({...Ms,...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=F(()=>{var l;const i=t.mode||((l=n.icon)==null?void 0:l.mode);return i==="css"?"style":i}),u=F(()=>{var i;return t.size||((i=n.icon)==null?void 0:i.size)}),s=F(()=>{var i;return r(t.customize,(i=n.icon)==null?void 0:i.customize)});return(i,l)=>typeof e.name=="string"?(I(),ie(x(Ov),{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"])):(I(),ie(Ho(e.name),{key:1}))}},Iv="img",Jc=Symbol("nuxt-ui.avatar-group");function Ep(e){const t=Mt(Jc,void 0),n=F(()=>e.size??(t==null?void 0:t.value.size)),r=F(()=>e.color??(t==null?void 0:t.value.color));return fo(Jc,F(()=>({size:n.value,color:r.value}))),{size:n,color:r}}const Rv={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"}},wp=Object.assign({inheritAttrs:!1},{__name:"Chip",props:hm({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=Vl("chip",t),r=km(e,"show",{type:Boolean,default:!0}),{size:o}=Ep(t),u=Fr(),s=F(()=>{var i;return so({extend:so(Rv),...((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 I(),ie(x(ut),{as:x(n).as,"data-slot":"root",class:je(s.value.root({class:[(a=x(n).ui)==null?void 0:a.root,x(n).class]}))},{default:he(()=>{var c;return[me(x(Yo),co(fu(i.$attrs)),{default:he(()=>[Ee(i.$slots,"default")]),_:3},16),r.value?(I(),V("span",{key:0,"data-slot":"base",class:je(s.value.base({class:(c=x(n).ui)==null?void 0:c.base}))},[Ee(i.$slots,"content",{},()=>[en(le(x(n).text),1)])],2)):ve("",!0)]}),_:3},8,["as","class"])}}}),Fv={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"}},ef=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=Vl("avatar",t),r=F(()=>{var d;return typeof n.as=="string"||typeof((d=n.as)==null?void 0:d.render)=="function"?{root:n.as}:to(n.as,{root:"span"})}),o=F(()=>n.text||(n.alt||"").split(" ").map(d=>d.charAt(0)).join("").substring(0,2)),u=Fr(),{size:s,color:i}=Ep(t),l=F(()=>{var d;return so({extend:so(Fv),...((d=u.ui)==null?void 0:d.avatar)||{}})({size:s.value??n.size,color:i.value??n.color})}),a=F(()=>{var d;return l.value.root({class:[(d=n.ui)==null?void 0:d.root,n.class]})}),c=F(()=>{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=K(!1);Ke(()=>n.src,()=>{f.value&&(f.value=!1)});function h(){f.value=!0}return(d,p)=>(I(),ie(Ho(x(n).chip?wp:x(ut)),He({as:r.value.root},x(n).chip?typeof x(n).chip=="object"?{inset:!0,...x(n).chip}:{inset:!0}:{},{"data-slot":"root",class:a.value,style:x(n).style}),{default:he(()=>{var m;return[x(n).src&&!f.value?(I(),ie(Ho(r.value.img||x(Iv)),He({key:0,src:x(n).src,alt:x(n).alt,width:c.value,height:c.value},d.$attrs,{"data-slot":"image",class:l.value.image({class:(m=x(n).ui)==null?void 0:m.image}),onError:h}),null,16,["src","alt","width","height","class"])):(I(),ie(x(Yo),co(He({key:1},d.$attrs)),{default:he(()=>[Ee(d.$slots,"default",{},()=>{var g,_;return[x(n).icon?(I(),ie(Un,{key:0,name:x(n).icon,"data-slot":"icon",class:je(l.value.icon({class:(g=x(n).ui)==null?void 0:g.icon}))},null,8,["name","class"])):(I(),V("span",{key:1,"data-slot":"fallback",class:je(l.value.fallback({class:(_=x(n).ui)==null?void 0:_.fallback}))},le(o.value||" "),3))]})]),_:3},16))]}),_:3},16,["as","class","style"]))}}),tf={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"}},Mv=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=fm(),s=Vl("select",r),i=Fr(),l=b3(Zg(s,"open","defaultOpen","disabled","autocomplete","required","multiple"),o),a=C3(sr(()=>s.portal)),c=F(()=>{var J,Se,pe,$e,xe;return((J=s.content)==null?void 0:J.position)??(($e=(pe=(Se=i.ui)==null?void 0:Se.select)==null?void 0:pe.defaultVariants)==null?void 0:$e.position)??((xe=tf.defaultVariants)==null?void 0:xe.position)}),f=sr(()=>to(s.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:c.value})),h=sr(()=>to(s.arrow,{rounded:!0})),{emitFormChange:d,emitFormInput:p,emitFormBlur:m,emitFormFocus:g,size:_,color:b,id:E,name:y,highlight:A,disabled:C,ariaAttrs:S}=w3(r),{orientation:T,size:B}=y3(r),{isLeading:Y,isTrailing:fe,leadingIconName:H,trailingIconName:ae}=v3(sr(()=>to(s,{trailingIcon:i.ui.icons.chevronDown}))),$=F(()=>B.value||_.value),z=F(()=>c.value==="item-aligned"),M=F(()=>{var J;return so({extend:so(tf),...((J=i.ui)==null?void 0:J.select)||{}})({color:b.value??s.color,variant:s.variant,size:$.value??s.size,loading:s.loading,highlight:A.value??s.highlight,leading:Y.value||!!s.avatar||!!u.leading,trailing:fe.value||!!u.trailing,fieldGroup:T.value,position:c.value,multiple:s.multiple})}),j=F(()=>{var J;return(J=s.items)!=null&&J.length?fb(s.items)?s.items:[s.items]:[]}),Z=F(()=>j.value.flatMap(J=>J));function ge(J){if(s.multiple&&Array.isArray(J)){const Se=J.map(pe=>cc(Z.value,pe,{labelKey:s.labelKey,valueKey:s.valueKey})).filter(pe=>pe!=null&&pe!=="");return Se.length>0?Se.join(", "):void 0}return cc(Z.value,J,{labelKey:s.labelKey,valueKey:s.valueKey})}const Q=Ra("triggerRef");function _e(){var J,Se;s.autofocus&&((Se=(J=Q.value)==null?void 0:J.$el)==null||Se.focus({focusVisible:!0}))}At(()=>{setTimeout(()=>{_e()},s.autofocusDelay)});function De(J){var pe,$e,xe,k,w;(pe=s.modelModifiers)!=null&&pe.trim&&(typeof J=="string"||J===null||J===void 0)&&(J=(J==null?void 0:J.trim())??null),($e=s.modelModifiers)!=null&&$e.number&&(J=ab(J)),(xe=s.modelModifiers)!=null&&xe.nullable&&(J??(J=null)),(k=s.modelModifiers)!=null&&k.optional&&!((w=s.modelModifiers)!=null&&w.nullable)&&J!==null&&(J??(J=void 0));const Se=new Event("change",{target:{value:J}});o("change",Se),d(),p()}function Je(J){if(J){const Se=new FocusEvent("focus");o("focus",Se),g()}else{const Se=new FocusEvent("blur");o("blur",Se),m()}}function Ce(J){return typeof J=="object"&&J!==null}function Re(J){var Se,pe;J||(pe=(Se=Q.value)==null?void 0:Se.$el)==null||pe.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,button:0}))}const Pe=Ra("viewportRef");return t({triggerRef:sr(()=>{var J;return(J=Q.value)==null?void 0:J.$el}),viewportRef:sr(()=>{const J=Pe.value;return J&&typeof J=="object"&&"$el"in J?J.$el:J})}),(J,Se)=>(I(),ie(x(wy),He({name:x(y)},x(l),{autocomplete:x(s).autocomplete,disabled:x(C),"default-value":x(s).defaultValue,"model-value":e.modelValue,"onUpdate:modelValue":De,"onUpdate:open":Je}),{default:he(({modelValue:pe,open:$e})=>{var xe;return[me(x(s3),He({id:x(E),ref_key:"triggerRef",ref:Q,"data-slot":"base",class:M.value.base({class:[(xe=x(s).ui)==null?void 0:xe.base,x(s).class]})},{...J.$attrs,...x(S)},{onClick:k=>Re($e)}),{default:he(()=>{var k,w;return[x(Y)||x(s).avatar||u.leading?(I(),V("span",{key:0,"data-slot":"leading",class:je(M.value.leading({class:(k=x(s).ui)==null?void 0:k.leading}))},[Ee(J.$slots,"leading",{modelValue:pe,open:$e,ui:M.value},()=>{var O,P,N;return[x(Y)&&x(H)?(I(),ie(Un,{key:0,name:x(H),"data-slot":"leadingIcon",class:je(M.value.leadingIcon({class:(O=x(s).ui)==null?void 0:O.leadingIcon}))},null,8,["name","class"])):x(s).avatar?(I(),ie(ef,He({key:1,size:((P=x(s).ui)==null?void 0:P.itemLeadingAvatarSize)||M.value.itemLeadingAvatarSize()},x(s).avatar,{"data-slot":"itemLeadingAvatar",class:M.value.itemLeadingAvatar({class:(N=x(s).ui)==null?void 0:N.itemLeadingAvatar})}),null,16,["size","class"])):ve("",!0)]})],2)):ve("",!0),(I(!0),V(Ie,null,wt([ge(pe)],O=>{var P,N;return I(),ie(x(l3),{key:O,"data-slot":O!=null?"value":"placeholder",class:je(O!=null?M.value.value({class:(P=x(s).ui)==null?void 0:P.value}):M.value.placeholder({class:(N=x(s).ui)==null?void 0:N.placeholder}))},{default:he(()=>[Ee(J.$slots,"default",{modelValue:pe,open:$e,ui:M.value},()=>[en(le(O??x(s).placeholder??" "),1)])]),_:2},1032,["data-slot","class"])}),128)),x(fe)||u.trailing?(I(),V("span",{key:1,"data-slot":"trailing",class:je(M.value.trailing({class:(w=x(s).ui)==null?void 0:w.trailing}))},[Ee(J.$slots,"trailing",{modelValue:pe,open:$e,ui:M.value},()=>{var O;return[x(ae)?(I(),ie(Un,{key:0,name:x(ae),"data-slot":"trailingIcon",class:je(M.value.trailingIcon({class:(O=x(s).ui)==null?void 0:O.trailingIcon}))},null,8,["name","class"])):ve("",!0)]})],2)):ve("",!0)]}),_:2},1040,["id","class","onClick"]),me(x(n3),co(fu(x(a))),{default:he(()=>[me(x(_3),null,{default:he(()=>{var k;return[me(x(qy),He({"data-slot":"content",class:M.value.content({class:(k=x(s).ui)==null?void 0:k.content})},f.value),{default:he(()=>{var w,O;return[Ee(J.$slots,"content-top"),(I(),ie(Ho(z.value?x(c3):"div"),{ref_key:"viewportRef",ref:Pe,role:"presentation","data-slot":"viewport",class:je(M.value.viewport({class:(w=x(s).ui)==null?void 0:w.viewport}))},{default:he(()=>[(I(!0),V(Ie,null,wt(j.value,(P,N)=>{var q;return I(),ie(x(Vy),{key:`group-${N}`,"data-slot":"group",class:je(M.value.group({class:(q=x(s).ui)==null?void 0:q.group}))},{default:he(()=>[(I(!0),V(Ie,null,wt(P,(R,G)=>{var W,U,ce,ee,oe,se;return I(),V(Ie,{key:`group-${N}-${G}`},[Ce(R)&&R.type==="label"?(I(),ie(x(e3),{key:0,"data-slot":"label",class:je(M.value.label({class:[(W=x(s).ui)==null?void 0:W.label,(U=R.ui)==null?void 0:U.label,R.class]}))},{default:he(()=>[en(le(x(Wt)(R,x(s).labelKey)),1)]),_:2},1032,["class"])):Ce(R)&&R.type==="separator"?(I(),ie(x(o3),{key:1,"data-slot":"separator",class:je(M.value.separator({class:[(ce=x(s).ui)==null?void 0:ce.separator,(ee=R.ui)==null?void 0:ee.separator,R.class]}))},null,8,["class"])):(I(),ie(x(Ky),{key:2,"data-slot":"item",class:je(M.value.item({class:[(oe=x(s).ui)==null?void 0:oe.item,Ce(R)&&((se=R.ui)==null?void 0:se.item),Ce(R)&&R.class]})),disabled:Ce(R)&&R.disabled,value:Ce(R)?x(Wt)(R,x(s).valueKey):R,onSelect:ke=>{var Te;return Ce(R)&&((Te=R.onSelect)==null?void 0:Te.call(R,ke))}},{default:he(()=>[Ee(J.$slots,"item",{item:R,index:G,ui:M.value},()=>{var ke,Te,Fe,qe,Ue,st,it,Zt;return[Ee(J.$slots,"item-leading",{item:R,index:G,ui:M.value},()=>{var Qt,Ze,gt,In,Ht,Lt,Lr,mo,go,Nr;return[Ce(R)&&R.icon?(I(),ie(Un,{key:0,name:R.icon,"data-slot":"itemLeadingIcon",class:je(M.value.itemLeadingIcon({class:[(Qt=x(s).ui)==null?void 0:Qt.itemLeadingIcon,(Ze=R.ui)==null?void 0:Ze.itemLeadingIcon]}))},null,8,["name","class"])):Ce(R)&&R.avatar?(I(),ie(ef,He({key:1,size:((gt=R.ui)==null?void 0:gt.itemLeadingAvatarSize)||((In=x(s).ui)==null?void 0:In.itemLeadingAvatarSize)||M.value.itemLeadingAvatarSize()},{ref_for:!0},R.avatar,{"data-slot":"itemLeadingAvatar",class:M.value.itemLeadingAvatar({class:[(Ht=x(s).ui)==null?void 0:Ht.itemLeadingAvatar,(Lt=R.ui)==null?void 0:Lt.itemLeadingAvatar]})}),null,16,["size","class"])):Ce(R)&&R.chip?(I(),ie(wp,He({key:2,size:((Lr=R.ui)==null?void 0:Lr.itemLeadingChipSize)||((mo=x(s).ui)==null?void 0:mo.itemLeadingChipSize)||M.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},R.chip,{"data-slot":"itemLeadingChip",class:M.value.itemLeadingChip({class:[(go=x(s).ui)==null?void 0:go.itemLeadingChip,(Nr=R.ui)==null?void 0:Nr.itemLeadingChip]})}),null,16,["size","class"])):ve("",!0)]}),L("span",{"data-slot":"itemWrapper",class:je(M.value.itemWrapper({class:[(ke=x(s).ui)==null?void 0:ke.itemWrapper,Ce(R)&&((Te=R.ui)==null?void 0:Te.itemWrapper)]}))},[me(x(Xy),{"data-slot":"itemLabel",class:je(M.value.itemLabel({class:[(Fe=x(s).ui)==null?void 0:Fe.itemLabel,Ce(R)&&((qe=R.ui)==null?void 0:qe.itemLabel)]}))},{default:he(()=>[Ee(J.$slots,"item-label",{item:R,index:G},()=>[en(le(Ce(R)?x(Wt)(R,x(s).labelKey):R),1)])]),_:2},1032,["class"]),Ce(R)&&(x(Wt)(R,x(s).descriptionKey)||u["item-description"])?(I(),V("span",{key:0,"data-slot":"itemDescription",class:je(M.value.itemDescription({class:[(Ue=x(s).ui)==null?void 0:Ue.itemDescription,Ce(R)&&((st=R.ui)==null?void 0:st.itemDescription)]}))},[Ee(J.$slots,"item-description",{item:R,index:G},()=>[en(le(x(Wt)(R,x(s).descriptionKey)),1)])],2)):ve("",!0)],2),L("span",{"data-slot":"itemTrailing",class:je(M.value.itemTrailing({class:[(it=x(s).ui)==null?void 0:it.itemTrailing,Ce(R)&&((Zt=R.ui)==null?void 0:Zt.itemTrailing)]}))},[Ee(J.$slots,"item-trailing",{item:R,index:G,ui:M.value}),me(x(Zy),{"as-child":""},{default:he(()=>{var Qt,Ze;return[me(Un,{name:x(s).selectedIcon||x(i).ui.icons.check,"data-slot":"itemTrailingIcon",class:je(M.value.itemTrailingIcon({class:[(Qt=x(s).ui)==null?void 0:Qt.itemTrailingIcon,Ce(R)&&((Ze=R.ui)==null?void 0:Ze.itemTrailingIcon)]}))},null,8,["name","class"])]}),_:2},1024)],2)]})]),_:2},1032,["class","disabled","value","onSelect"]))],64)}),128))]),_:2},1032,["class"])}),128))]),_:3},8,["class"])),Ee(J.$slots,"content-bottom"),x(s).arrow?(I(),ie(x(Ly),He({key:0},h.value,{"data-slot":"arrow",class:M.value.arrow({class:(O=x(s).ui)==null?void 0:O.arrow})}),null,16,["class"])):ve("",!0)]}),_:3},16,["class"])]}),_:3})]),_:3},16)]}),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}}),Pv=25*1024*1024,gi=10,Lv=["image/jpeg","image/png","image/gif","image/webp"],nf="i-ph-paperclip",Ap="i-ph-x",Cp="i-ph-file",rf="Attach files",Xe={USER:"user",ASSISTANT:"assistant",TOOL:"tool"},Nv="tool_use",$v="tool_result",ft={PENDING:"pending",SUCCESS:"success",ERROR:"error"},zv="TodoWrite",Bn={PENDING:"pending",IN_PROGRESS:"in_progress",COMPLETED:"completed"},Bv="Plan",Sp="dms-ai-conversation-id",qv="Enter",Uv="shiftKey",bi={USER:"You",ASSISTANT:"Assistant",TOOL:"Tool"},yi={PENDING:"running",SUCCESS:"success",ERROR:"error"},jv="[error] ",Hv="Thinking…",Vv="Used",Wv=600;function Tp(e){return Lv.includes(e)}function Dp(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(0)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Gv(e){return e.size>Pv}function Kv(e){const t=e.indexOf(",");return t>=0?e.slice(t+1):e}function Yv(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:crypto.randomUUID(),name:e.name,mimeType:e.type||"application/octet-stream",size:e.size,data:Kv(o),dataUrl:o})},r.readAsDataURL(e)})}const Zv={key:0,class:"composer-dropzone"},Qv={key:1,class:"composer-chips"},Xv=["src","alt"],Jv={class:"chip-meta"},e6={class:"chip-name"},t6={class:"chip-size"},n6=["aria-label","onClick"],r6={key:2,class:"composer-error",role:"alert"},o6={class:"composer-field"},u6=["placeholder","disabled"],s6=["aria-label","title","disabled"],i6={class:"composer-sendrow"},l6={class:"composer-mode"},a6={class:"composer-toggle",role:"group","aria-label":"Generation mode"},c6={class:"mode-opt"},f6=["aria-disabled"],d6={id:"composer-tip-safe",class:"composer-tip",role:"tooltip"},p6={key:0,class:"tip-note"},h6={class:"mode-opt"},m6={class:"composer-actions"},g6=["disabled"],b6=["disabled","title"],y6=160,_6=ye({__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=F(()=>n.generationMode==="safe"&&n.builderAvailable?"safe":"vibe");function u($){$==="safe"&&!n.builderAvailable||$!==n.generationMode&&r("update:generationMode",$)}const s=K(""),i=K(null),l=K(null),a=K([]),c=K(""),f=K(0),h=K(!1),d=F(()=>n.isDisabled);function p(){const $=i.value;$!==null&&($.style.height="auto",$.style.height=`${Math.min($.scrollHeight,y6)}px`)}const m=F(()=>d.value?!0:s.value.trim().length===0&&a.value.length===0);async function g($){c.value="";const z=Array.from($);if(z.length===0)return;const M=gi-a.value.length;if(M<=0){c.value=`Up to ${gi} files per message.`;return}const j=z.slice(0,M);j.length<z.length&&(c.value=`Up to ${gi} files per message.`);for(const Z of j){if(Gv(Z)){c.value=`"${Z.name}" is too large (max 25 MB).`;continue}try{a.value=[...a.value,await Yv(Z)]}catch{c.value=`Could not read "${Z.name}".`}}}function _($){a.value=a.value.filter(z=>z.id!==$)}function b(){var $;d.value||($=l.value)==null||$.click()}function E($){const z=$.target;z.files!==null&&g(z.files),z.value=""}function y($){var M;const z=(M=$.clipboardData)==null?void 0:M.files;z===void 0||z.length===0||($.preventDefault(),g(z))}function A($){var z;return((z=$.dataTransfer)==null?void 0:z.types.includes("Files"))??!1}function C($){d.value||!A($)||(f.value+=1,h.value=!0)}function S($){d.value||!A($)||$.preventDefault()}function T(){f.value!==0&&(f.value-=1,f.value===0&&(h.value=!1))}function B($){var M;if(f.value=0,h.value=!1,d.value)return;const z=(M=$.dataTransfer)==null?void 0:M.files;z===void 0||z.length===0||($.preventDefault(),g(z))}function Y(){if(m.value)return;const $=s.value;r("submit",$,a.value),s.value="",a.value=[],c.value="",pt(p)}function fe(){r("stop")}function H($){return!($.key!==qv||$[Uv])}function ae($){H($)&&($.preventDefault(),Y())}return($,z)=>{const M=Un;return I(),V("form",{class:je(["composer",{"composer-dragging":h.value}]),onSubmit:Or(Y,["prevent"]),onDragenter:C,onDragover:S,onDragleave:T,onDrop:B},[h.value?(I(),V("div",Zv,[me(M,{name:x(nf),class:"size-[18px]"},null,8,["name"]),z[3]||(z[3]=en(" Drop files to attach ",-1))])):ve("",!0),a.value.length>0?(I(),V("ul",Qv,[(I(!0),V(Ie,null,wt(a.value,j=>(I(),V("li",{key:j.id,class:"chip"},[x(Tp)(j.mimeType)&&j.dataUrl?(I(),V("img",{key:0,src:j.dataUrl,alt:j.name,class:"chip-thumb"},null,8,Xv)):(I(),ie(M,{key:1,name:x(Cp),class:"chip-ic size-[16px]"},null,8,["name"])),L("span",Jv,[L("span",e6,le(j.name),1),L("span",t6,le(x(Dp)(j.size)),1)]),L("button",{type:"button",class:"chip-remove","aria-label":`Remove ${j.name}`,title:"Remove",onClick:Z=>_(j.id)},[me(M,{name:x(Ap),class:"size-[13px]"},null,8,["name"])],8,n6)]))),128))])):ve("",!0),c.value?(I(),V("p",r6,le(c.value),1)):ve("",!0),L("div",o6,[H1(L("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":z[0]||(z[0]=j=>s.value=j),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:ae,onInput:p,onPaste:y},null,40,u6),[[vg,s.value]]),L("button",{type:"button",class:"composer-attach","aria-label":x(rf),title:x(rf),disabled:d.value,onClick:b},[me(M,{name:x(nf),class:"size-[17px]"},null,8,["name"])],8,s6)]),L("input",{ref_key:"fileInputRef",ref:l,type:"file",multiple:"",class:"composer-fileinput","aria-hidden":"true",tabindex:"-1",onChange:E},null,544),L("div",i6,[L("div",l6,[L("div",a6,[L("div",c6,[L("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]=j=>u("safe"))},[...z[4]||(z[4]=[L("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"},[L("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,f6),L("div",d6,[z[5]||(z[5]=L("b",null,"Safe code",-1)),z[6]||(z[6]=L("p",null,"Acts only through the Builder (MCP) — emits configurations it accepts, never raw code. Predictable diffs, safer deploys.",-1)),e.builderAvailable?ve("",!0):(I(),V("p",p6,"Safe code unlocks once the Builder module is loaded."))])]),L("div",h6,[L("button",{type:"button",class:je(["seg",{"seg-active":o.value==="vibe"}]),"aria-describedby":"composer-tip-vibe",onClick:z[2]||(z[2]=j=>u("vibe"))},[...z[7]||(z[7]=[Um('<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]=L("div",{id:"composer-tip-vibe",class:"composer-tip",role:"tooltip"},[L("b",null,"Vibe code"),L("p",null,"Free to write custom code and bespoke pages beyond the Builder's blocks — full creative range.")],-1))])])]),L("div",m6,[e.isRunning?(I(),V("button",{key:0,type:"button",class:"composer-stop",title:"Stop","aria-label":"Stop",disabled:e.isDisabled,onClick:fe},[...z[9]||(z[9]=[L("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",stroke:"none"},[L("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})],-1)])],8,g6)):ve("",!0),L("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]=[L("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),L("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})],-1)])],8,b6)])])],34)}}}),ln=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},v6=ln(_6,[["__scopeId","data-v-b891ab84"]]),_i={connecting:"Connecting…",reconnecting:"Reconnecting…",disconnected:"Disconnected"},x6="Reconnect now",k6="/ws/iframe",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"},E6="/modules/ai/settings",Ft={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"},w6={IFRAME:"iframe"},A6="#app",of={SECURE:"wss:",INSECURE:"ws:"},C6="https:",S6=[1e3,2e3,4e3,8e3,15e3,3e4],Gt={CONNECTING:"connecting",CONNECTED:"connected",DISCONNECTED:"disconnected",RECONNECTING:"reconnecting"},T6=["data-status"],D6={class:"connection-banner-label"},O6=ye({__name:"ConnectionBanner",props:{status:{}},emits:["reconnect"],setup(e,{emit:t}){const n=e,r=t,o={[Gt.CONNECTING]:_i.connecting,[Gt.RECONNECTING]:_i.reconnecting,[Gt.DISCONNECTED]:_i.disconnected},u=F(()=>n.status!==Gt.CONNECTED),s=F(()=>n.status===Gt.CONNECTED?"":o[n.status]);function i(){r("reconnect")}return(l,a)=>u.value?(I(),V("div",{key:0,class:"connection-banner","data-status":n.status,role:"status","aria-live":"polite"},[L("span",D6,le(s.value),1),L("button",{type:"button",class:"connection-banner-button",onClick:i},le(x(x6)),1)],8,T6)):ve("",!0)}}),I6=ln(O6,[["__scopeId","data-v-c64a889d"]]),R6="Conversations",F6="+ New",M6="No conversations yet",uf="Delete",P6="🗑",sf="Conversations",L6="i-ph-list-light",N6="Close",$6="just now",vi=60,z6=60,B6=24,q6=7,U6={key:0,class:"drawer-root"},j6={class:"drawer-panel","aria-label":"Conversations"},H6={class:"drawer-header"},V6={class:"drawer-title"},W6=["aria-label"],G6={key:0,class:"drawer-list"},K6=["data-active"],Y6=["onClick"],Z6={class:"drawer-item-title"},Q6={class:"drawer-item-time"},X6=["aria-label","title","onClick"],J6={key:1,class:"drawer-empty"},ex=1e3,tx=ye({__name:"ConversationDrawer",props:{open:{type:Boolean},conversations:{},activeId:{},nowMs:{}},emits:["select","delete","new","close"],setup(e,{emit:t}){const n=e,r=t,o=vi*z6,u=o*B6;function s(f){const h=Math.max(0,Math.floor((n.nowMs-f)/ex));return h<vi?$6:h<o?`${Math.floor(h/vi)}m ago`:h<u?`${Math.floor(h/o)}h ago`:h<u*q6?`${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?(I(),V("div",U6,[L("div",{class:"drawer-backdrop",onClick:c}),L("aside",j6,[L("header",H6,[L("span",V6,le(x(R6)),1),L("button",{type:"button",class:"drawer-new",onClick:a},le(x(F6)),1),L("button",{type:"button",class:"drawer-close","aria-label":x(N6),onClick:c}," × ",8,W6)]),n.conversations.length>0?(I(),V("ul",G6,[(I(!0),V(Ie,null,wt(n.conversations,d=>(I(),V("li",{key:d.id,class:"drawer-item","data-active":d.id===n.activeId},[L("button",{type:"button",class:"drawer-item-main",onClick:p=>i(d.id)},[L("span",Z6,le(d.title),1),L("span",Q6,le(s(d.updatedAtMs)),1)],8,Y6),L("button",{type:"button",class:"drawer-item-delete","aria-label":x(uf),title:x(uf),onClick:p=>l(d.id)},le(x(P6)),9,X6)],8,K6))),128))])):(I(),V("p",J6,le(x(M6)),1))])])):ve("",!0)}}),nx=ln(tx,[["__scopeId","data-v-699d36e3"]]),rx=[Bn.PENDING,Bn.IN_PROGRESS,Bn.COMPLETED];function ox(e){return rx.includes(e)?e:Bn.PENDING}function ux(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:ox(t.status),activeForm:r}}function sx(e){if(e===null||typeof e!="object")return[];const t=e.todos;return Array.isArray(t)?t.map(ux).filter(n=>n!==null):[]}function Op(e){return e.role===Xe.TOOL&&e.toolName===zv}function ix(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(Op(n))return sx(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 lf(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 lx(e){if(Array.isArray(e))return e}function ax(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 cx(){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 fx(e,t){return lx(e)||ax(e,t)||dx(e,t)||cx()}function dx(e,t){if(e){if(typeof e=="string")return lf(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)?lf(e,t):void 0}}const Ip=Object.entries,af=Object.setPrototypeOf,px=Object.isFrozen,hx=Object.getPrototypeOf,mx=Object.getOwnPropertyDescriptor;let _t=Object.freeze,vt=Object.seal,Zr=Object.create,Rp=typeof Reflect<"u"&&Reflect,dl=Rp.apply,pl=Rp.construct;_t||(_t=function(t){return t});vt||(vt=function(t){return t});dl||(dl=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)});pl||(pl=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 Co=nt(Array.prototype.forEach),gx=nt(Array.prototype.lastIndexOf),cf=nt(Array.prototype.pop),Vr=nt(Array.prototype.push),bx=nt(Array.prototype.splice),ar=Array.isArray,Ro=nt(String.prototype.toLowerCase),xi=nt(String.prototype.toString),ff=nt(String.prototype.match),So=nt(String.prototype.replace),df=nt(String.prototype.indexOf),yx=nt(String.prototype.trim),_x=nt(Number.prototype.toString),vx=nt(Boolean.prototype.toString),pf=typeof BigInt>"u"?null:nt(BigInt.prototype.toString),hf=typeof Symbol>"u"?null:nt(Symbol.prototype.toString),ct=nt(Object.prototype.hasOwnProperty),To=nt(Object.prototype.toString),bt=nt(RegExp.prototype.test),Er=xx(TypeError);function nt(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 dl(e,t,r)}}function xx(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pl(e,n)}}function Oe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ro;if(af&&af(e,null),!ar(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const u=n(o);u!==o&&(px(t)||(t[r]=u),o=u)}e[o]=!0}return e}function kx(e){for(let t=0;t<e.length;t++)ct(e,t)||(e[t]=null);return e}function Tt(e){const t=Zr(null);for(const r of Ip(e)){var n=fx(r,2);const o=n[0],u=n[1];ct(e,o)&&(ar(u)?t[o]=kx(u):u&&typeof u=="object"&&u.constructor===Object?t[o]=Tt(u):t[o]=u)}return t}function Ex(e){switch(typeof e){case"string":return e;case"number":return _x(e);case"boolean":return vx(e);case"bigint":return pf?pf(e):"0";case"symbol":return hf?hf(e):"Symbol()";case"undefined":return To(e);case"function":case"object":{if(e===null)return To(e);const t=e,n=hn(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:To(r)}return To(e)}default:return To(e)}}function hn(e,t){for(;e!==null;){const r=mx(e,t);if(r){if(r.get)return nt(r.get);if(typeof r.value=="function")return nt(r.value)}e=hx(e)}function n(){return null}return n}function wx(e){try{return bt(e,""),!0}catch{return!1}}const mf=_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"]),ki=_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"]),Ei=_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"]),Ax=_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"]),wi=_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"]),Cx=_t(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gf=_t(["#text"]),bf=_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"]),Ai=_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"]),yf=_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"]),Nu=_t(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Sx=vt(/{{[\w\W]*|^[\w\W]*}}/g),Tx=vt(/<%[\w\W]*|^[\w\W]*%>/g),Dx=vt(/\${[\w\W]*/g),Ox=vt(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ix=vt(/^aria-[\-\w]+$/),_f=vt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Rx=vt(/^(?:\w+script|data):/i),Fx=vt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mx=vt(/^html$/i),Px=vt(/^[a-z][.\w]*(-[.\w]+)+$/i),vf=vt(/<[/\w!]/g),Lx=vt(/<[/\w]/g),Nx=vt(/<\/no(script|embed|frames)/i),$x=vt(/\/>/i),pn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},zx=function(){return typeof window>"u"?null:window},Bx=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}},xf=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},rr=function(t,n,r,o){return ct(t,n)&&ar(t[n])?Oe(o.base?Tt(o.base):{},t[n],o.transform):r};function Fp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zx();const t=te=>Fp(te);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==pn.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=hn(h,"cloneNode"),p=hn(h,"remove"),m=hn(h,"nextSibling"),g=hn(h,"childNodes"),_=hn(h,"parentNode"),b=hn(h,"shadowRoot"),E=hn(h,"attributes"),y=s&&s.prototype?hn(s.prototype,"nodeType"):null,A=s&&s.prototype?hn(s.prototype,"nodeName"):null;if(typeof u=="function"){const te=n.createElement("template");te.content&&te.content.ownerDocument&&(n=te.content.ownerDocument)}let C,S="",T,B=!1,Y=0;const fe=function(){if(Y>0)throw Er('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.')},H=function(v){fe(),Y++;try{return C.createHTML(v)}finally{Y--}},ae=function(v){fe(),Y++;try{return C.createScriptURL(v)}finally{Y--}},$=function(){return B||(T=Bx(f,o),B=!0),T},z=n,M=z.implementation,j=z.createNodeIterator,Z=z.createDocumentFragment,ge=z.getElementsByTagName,Q=r.importNode;let _e=xf();t.isSupported=typeof Ip=="function"&&typeof _=="function"&&M&&M.createHTMLDocument!==void 0;const De=Sx,Je=Tx,Ce=Dx,Re=Ox,Pe=Ix,J=Rx,Se=Fx,pe=Px;let $e=_f,xe=null;const k=Oe({},[...mf,...ki,...Ei,...wi,...gf]);let w=null;const O=Oe({},[...bf,...Ai,...yf,...Nu]);let P=Object.seal(Zr(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,q=null;const R=Object.seal(Zr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,W=!0,U=!1,ce=!0,ee=!1,oe=!0,se=!1,ke=!1,Te=null,Fe=null,qe=!1,Ue=!1,st=!1,it=!1,Zt=!0,Qt=!1;const Ze="user-content-";let gt=!0,In=!1,Ht={},Lt=null;const Lr=Oe({},["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 mo=null;const go=Oe({},["audio","video","img","source","image","track"]);let Nr=null;const sa=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_u="http://www.w3.org/1998/Math/MathML",vu="http://www.w3.org/2000/svg",cn="http://www.w3.org/1999/xhtml";let $r=cn,Bs=!1,qs=null;const hh=Oe({},[_u,vu,cn],xi),ia=_t(["mi","mo","mn","ms","mtext"]);let Us=Oe({},ia);const la=_t(["annotation-xml"]);let js=Oe({},la);const mh=Oe({},["title","style","font","a","script"]);let bo=null;const gh=["application/xhtml+xml","text/html"],bh="text/html";let Qe=null,zr=null;const yh=n.createElement("form"),aa=function(v){return v instanceof RegExp||v instanceof Function},Hs=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(zr&&zr===v)return;(!v||typeof v!="object")&&(v={}),v=Tt(v),bo=gh.indexOf(v.PARSER_MEDIA_TYPE)===-1?bh:v.PARSER_MEDIA_TYPE,Qe=bo==="application/xhtml+xml"?xi:Ro,xe=rr(v,"ALLOWED_TAGS",k,{transform:Qe}),w=rr(v,"ALLOWED_ATTR",O,{transform:Qe}),qs=rr(v,"ALLOWED_NAMESPACES",hh,{transform:xi}),Nr=rr(v,"ADD_URI_SAFE_ATTR",sa,{transform:Qe,base:sa}),mo=rr(v,"ADD_DATA_URI_TAGS",go,{transform:Qe,base:go}),Lt=rr(v,"FORBID_CONTENTS",Lr,{transform:Qe}),N=rr(v,"FORBID_TAGS",Tt({}),{transform:Qe}),q=rr(v,"FORBID_ATTR",Tt({}),{transform:Qe}),Ht=ct(v,"USE_PROFILES")?v.USE_PROFILES&&typeof v.USE_PROFILES=="object"?Tt(v.USE_PROFILES):v.USE_PROFILES:!1,G=v.ALLOW_ARIA_ATTR!==!1,W=v.ALLOW_DATA_ATTR!==!1,U=v.ALLOW_UNKNOWN_PROTOCOLS||!1,ce=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ee=v.SAFE_FOR_TEMPLATES||!1,oe=v.SAFE_FOR_XML!==!1,se=v.WHOLE_DOCUMENT||!1,Ue=v.RETURN_DOM||!1,st=v.RETURN_DOM_FRAGMENT||!1,it=v.RETURN_TRUSTED_TYPE||!1,qe=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,$e=wx(v.ALLOWED_URI_REGEXP)?v.ALLOWED_URI_REGEXP:_f,$r=typeof v.NAMESPACE=="string"?v.NAMESPACE:cn,Us=ct(v,"MATHML_TEXT_INTEGRATION_POINTS")&&v.MATHML_TEXT_INTEGRATION_POINTS&&typeof v.MATHML_TEXT_INTEGRATION_POINTS=="object"?Tt(v.MATHML_TEXT_INTEGRATION_POINTS):Oe({},ia),js=ct(v,"HTML_INTEGRATION_POINTS")&&v.HTML_INTEGRATION_POINTS&&typeof v.HTML_INTEGRATION_POINTS=="object"?Tt(v.HTML_INTEGRATION_POINTS):Oe({},la);const D=ct(v,"CUSTOM_ELEMENT_HANDLING")&&v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING=="object"?Tt(v.CUSTOM_ELEMENT_HANDLING):Zr(null);if(P=Zr(null),ct(D,"tagNameCheck")&&aa(D.tagNameCheck)&&(P.tagNameCheck=D.tagNameCheck),ct(D,"attributeNameCheck")&&aa(D.attributeNameCheck)&&(P.attributeNameCheck=D.attributeNameCheck),ct(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(P.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),vt(P),ee&&(W=!1),st&&(Ue=!0),Ht&&(xe=Oe({},gf),w=Zr(null),Ht.html===!0&&(Oe(xe,mf),Oe(w,bf)),Ht.svg===!0&&(Oe(xe,ki),Oe(w,Ai),Oe(w,Nu)),Ht.svgFilters===!0&&(Oe(xe,Ei),Oe(w,Ai),Oe(w,Nu)),Ht.mathMl===!0&&(Oe(xe,wi),Oe(w,yf),Oe(w,Nu))),R.tagCheck=null,R.attributeCheck=null,ct(v,"ADD_TAGS")&&(typeof v.ADD_TAGS=="function"?R.tagCheck=v.ADD_TAGS:ar(v.ADD_TAGS)&&(xe===k&&(xe=Tt(xe)),Oe(xe,v.ADD_TAGS,Qe))),ct(v,"ADD_ATTR")&&(typeof v.ADD_ATTR=="function"?R.attributeCheck=v.ADD_ATTR:ar(v.ADD_ATTR)&&(w===O&&(w=Tt(w)),Oe(w,v.ADD_ATTR,Qe))),ct(v,"ADD_URI_SAFE_ATTR")&&ar(v.ADD_URI_SAFE_ATTR)&&Oe(Nr,v.ADD_URI_SAFE_ATTR,Qe),ct(v,"FORBID_CONTENTS")&&ar(v.FORBID_CONTENTS)&&(Lt===Lr&&(Lt=Tt(Lt)),Oe(Lt,v.FORBID_CONTENTS,Qe)),ct(v,"ADD_FORBID_CONTENTS")&&ar(v.ADD_FORBID_CONTENTS)&&(Lt===Lr&&(Lt=Tt(Lt)),Oe(Lt,v.ADD_FORBID_CONTENTS,Qe)),gt&&(xe["#text"]=!0),se&&Oe(xe,["html","head","body"]),xe.table&&(Oe(xe,["tbody"]),delete N.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const X=C;C=v.TRUSTED_TYPES_POLICY;try{S=H("")}catch(ue){throw C=X,ue}}else v.TRUSTED_TYPES_POLICY===null?(C=void 0,S=""):(C===void 0&&(C=$()),C&&typeof S=="string"&&(S=H("")));_t&&_t(v),zr=v},ca=Oe({},[...ki,...Ei,...Ax]),fa=Oe({},[...wi,...Cx]),_h=function(v,D,X){return D.namespaceURI===cn?v==="svg":D.namespaceURI===_u?v==="svg"&&(X==="annotation-xml"||Us[X]):!!ca[v]},vh=function(v,D,X){return D.namespaceURI===cn?v==="math":D.namespaceURI===vu?v==="math"&&js[X]:!!fa[v]},xh=function(v,D,X){return D.namespaceURI===vu&&!js[X]||D.namespaceURI===_u&&!Us[X]?!1:!fa[v]&&(mh[v]||!ca[v])},kh=function(v){let D=_(v);(!D||!D.tagName)&&(D={namespaceURI:$r,tagName:"template"});const X=Ro(v.tagName),ue=Ro(D.tagName);return qs[v.namespaceURI]?v.namespaceURI===vu?_h(X,D,ue):v.namespaceURI===_u?vh(X,D,ue):v.namespaceURI===cn?xh(X,D,ue):!!(bo==="application/xhtml+xml"&&qs[v.namespaceURI]):!1},tr=function(v){Vr(t.removed,{element:v});try{_(v).removeChild(v)}catch{if(p(v),!_(v))throw Er("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},da=function(v){const D=g(v);if(D){const ue=[];Co(D,we=>{Vr(ue,we)}),Co(ue,we=>{try{p(we)}catch{}})}const X=E(v);if(X)for(let ue=X.length-1;ue>=0;--ue){const we=X[ue],Me=we&&we.name;if(typeof Me=="string")try{v.removeAttribute(Me)}catch{}}},yr=function(v,D){try{Vr(t.removed,{attribute:D.getAttributeNode(v),from:D})}catch{Vr(t.removed,{attribute:null,from:D})}if(D.removeAttribute(v),v==="is")if(Ue||st)try{tr(D)}catch{}else try{D.setAttribute(v,"")}catch{}},Eh=function(v){const D=E(v);if(D)for(let X=D.length-1;X>=0;--X){const ue=D[X],we=ue&&ue.name;if(!(typeof we!="string"||w[Qe(we)]))try{v.removeAttribute(we)}catch{}}},wh=function(v){const D=[v];for(;D.length>0;){const X=D.pop();(y?y(X):X.nodeType)===pn.element&&Eh(X);const we=g(X);if(we)for(let Me=we.length-1;Me>=0;--Me)D.push(we[Me])}},pa=function(v){let D=null,X=null;if(qe)v="<remove></remove>"+v;else{const Me=ff(v,/^[\r\n\t ]+/);X=Me&&Me[0]}bo==="application/xhtml+xml"&&$r===cn&&(v='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+v+"</body></html>");const ue=C?H(v):v;if($r===cn)try{D=new c().parseFromString(ue,bo)}catch{}if(!D||!D.documentElement){D=M.createDocument($r,"template",null);try{D.documentElement.innerHTML=Bs?S:ue}catch{}}const we=D.body||D.documentElement;return v&&X&&we.insertBefore(n.createTextNode(X),we.childNodes[0]||null),$r===cn?ge.call(D,se?"html":"body")[0]:se?D.documentElement:we},ha=function(v){return j.call(v.ownerDocument||v,v,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},xu=function(v){return v=So(v,De," "),v=So(v,Je," "),v=So(v,Ce," "),v},Vs=function(v){var D;v.normalize();const X=j.call(v.ownerDocument||v,v,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let ue=X.nextNode();for(;ue;)ue.data=xu(ue.data),ue=X.nextNode();const we=(D=v.querySelectorAll)===null||D===void 0?void 0:D.call(v,"template");we&&Co(we,Me=>{Br(Me.content)&&Vs(Me.content)})},ku=function(v){const D=A?A(v):null;return typeof D!="string"||Qe(D)!=="form"?!1:typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||v.attributes!==E(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)},Br=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return y(v)===pn.documentFragment}catch{return!1}},yo=function(v){if(!y||typeof v!="object"||v===null)return!1;try{return typeof y(v)=="number"}catch{return!1}};function Rn(te,v,D){te.length!==0&&Co(te,X=>{X.call(t,v,D,zr)})}const Ah=function(v,D){return!!(oe&&v.hasChildNodes()&&!yo(v.firstElementChild)&&bt(vf,v.textContent)&&bt(vf,v.innerHTML)||oe&&v.namespaceURI===cn&&D==="style"&&yo(v.firstElementChild)||v.nodeType===pn.processingInstruction||oe&&v.nodeType===pn.comment&&bt(Lx,v.data))},Ch=function(v,D){if(!N[D]&&ba(D)&&(P.tagNameCheck instanceof RegExp&&bt(P.tagNameCheck,D)||P.tagNameCheck instanceof Function&&P.tagNameCheck(D)))return!1;if(gt&&!Lt[D]){const X=_(v),ue=g(v);if(ue&&X){const we=ue.length;for(let Me=we-1;Me>=0;--Me){const lt=In?ue[Me]:d(ue[Me],!0);X.insertBefore(lt,m(v))}}}return tr(v),!0},ma=function(v){if(Rn(_e.beforeSanitizeElements,v,null),ku(v))return tr(v),!0;const D=Qe(A?A(v):v.nodeName);if(Rn(_e.uponSanitizeElement,v,{tagName:D,allowedTags:xe}),Ah(v,D))return tr(v),!0;if(N[D]||!(R.tagCheck instanceof Function&&R.tagCheck(D))&&!xe[D])return Ch(v,D);if((y?y(v):v.nodeType)===pn.element&&!kh(v)||(D==="noscript"||D==="noembed"||D==="noframes")&&bt(Nx,v.innerHTML))return tr(v),!0;if(ee&&v.nodeType===pn.text){const ue=xu(v.textContent);v.textContent!==ue&&(Vr(t.removed,{element:v.cloneNode()}),v.textContent=ue)}return Rn(_e.afterSanitizeElements,v,null),!1},ga=function(v,D,X){if(q[D]||Zt&&(D==="id"||D==="name")&&(X in n||X in yh))return!1;const ue=w[D]||R.attributeCheck instanceof Function&&R.attributeCheck(D,v);if(!(W&&bt(Re,D))){if(!(G&&bt(Pe,D))){if(ue){if(!Nr[D]){if(!bt($e,So(X,Se,""))){if(!((D==="src"||D==="xlink:href"||D==="href")&&v!=="script"&&df(X,"data:")===0&&mo[v])){if(!(U&&!bt(J,So(X,Se,"")))){if(X)return!1}}}}}else if(!(ba(v)&&(P.tagNameCheck instanceof RegExp&&bt(P.tagNameCheck,v)||P.tagNameCheck instanceof Function&&P.tagNameCheck(v))&&(P.attributeNameCheck instanceof RegExp&&bt(P.attributeNameCheck,D)||P.attributeNameCheck instanceof Function&&P.attributeNameCheck(D,v))||D==="is"&&P.allowCustomizedBuiltInElements&&(P.tagNameCheck instanceof RegExp&&bt(P.tagNameCheck,X)||P.tagNameCheck instanceof Function&&P.tagNameCheck(X))))return!1}}return!0},Sh=Oe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ba=function(v){return!Sh[Ro(v)]&&bt(pe,v)},Th=function(v,D,X,ue){if(C&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!X)switch(f.getAttributeType(v,D)){case"TrustedHTML":return H(ue);case"TrustedScriptURL":return ae(ue)}return ue},Dh=function(v,D,X,ue){try{X?v.setAttributeNS(X,D,ue):v.setAttribute(D,ue),ku(v)?tr(v):cf(t.removed)}catch{yr(D,v)}},ya=function(v){Rn(_e.beforeSanitizeAttributes,v,null);const D=v.attributes;if(!D||ku(v))return;const X={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w,forceKeepAttr:void 0};let ue=D.length;const we=Qe(v.nodeName);for(;ue--;){const Me=D[ue],lt=Me.name,et=Me.namespaceURI,Vt=Me.value,Xt=Qe(lt),Gs=Vt;let Ct=lt==="value"?Gs:yx(Gs);if(X.attrName=Xt,X.attrValue=Ct,X.keepAttr=!0,X.forceKeepAttr=void 0,Rn(_e.uponSanitizeAttribute,v,X),Ct=X.attrValue,Qt&&(Xt==="id"||Xt==="name")&&df(Ct,Ze)!==0&&(yr(lt,v),Ct=Ze+Ct),oe&&bt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ct)){yr(lt,v);continue}if(Xt==="attributename"&&ff(Ct,"href")){yr(lt,v);continue}if(!X.forceKeepAttr){if(!X.keepAttr){yr(lt,v);continue}if(!ce&&bt($x,Ct)){yr(lt,v);continue}if(ee&&(Ct=xu(Ct)),!ga(we,Xt,Ct)){yr(lt,v);continue}Ct=Th(we,Xt,et,Ct),Ct!==Gs&&Dh(v,lt,et,Ct)}}Rn(_e.afterSanitizeAttributes,v,null)},Eu=function(v){let D=null;const X=ha(v);for(Rn(_e.beforeSanitizeShadowDOM,v,null);D=X.nextNode();)if(Rn(_e.uponSanitizeShadowNode,D,null),ma(D),ya(D),Br(D.content)&&Eu(D.content),(y?y(D):D.nodeType)===pn.element){const we=b(D);Br(we)&&(Ws(we),Eu(we))}Rn(_e.afterSanitizeShadowDOM,v,null)},Ws=function(v){const D=[{node:v,shadow:null}];for(;D.length>0;){const X=D.pop();if(X.shadow){Eu(X.shadow);continue}const ue=X.node,Me=(y?y(ue):ue.nodeType)===pn.element,lt=g(ue);if(lt)for(let et=lt.length-1;et>=0;--et)D.push({node:lt[et],shadow:null});if(Me){const et=A?A(ue):null;if(typeof et=="string"&&Qe(et)==="template"){const Vt=ue.content;Br(Vt)&&D.push({node:Vt,shadow:null})}}if(Me){const et=b(ue);Br(et)&&D.push({node:null,shadow:et},{node:et,shadow:null})}}};return t.sanitize=function(te){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,X=null,ue=null,we=null;if(Bs=!te,Bs&&(te="<!-->"),typeof te!="string"&&!yo(te)&&(te=Ex(te),typeof te!="string"))throw Er("dirty is not a string, aborting");if(!t.isSupported)return te;ke?(xe=Te,w=Fe):Hs(v),(_e.uponSanitizeElement.length>0||_e.uponSanitizeAttribute.length>0)&&(xe=Tt(xe)),_e.uponSanitizeAttribute.length>0&&(w=Tt(w)),t.removed=[];const Me=In&&typeof te!="string"&&yo(te);if(Me){const Vt=A?A(te):te.nodeName;if(typeof Vt=="string"){const Xt=Qe(Vt);if(!xe[Xt]||N[Xt])throw Er("root node is forbidden and cannot be sanitized in-place")}if(ku(te))throw Er("root node is clobbered and cannot be sanitized in-place");try{Ws(te)}catch(Xt){throw da(te),Xt}}else if(yo(te))D=pa("<!---->"),X=D.ownerDocument.importNode(te,!0),X.nodeType===pn.element&&X.nodeName==="BODY"||X.nodeName==="HTML"?D=X:D.appendChild(X),Ws(X);else{if(!Ue&&!ee&&!se&&te.indexOf("<")===-1)return C&&it?H(te):te;if(D=pa(te),!D)return Ue?null:it?S:""}D&&qe&&tr(D.firstChild);const lt=ha(Me?te:D);try{for(;ue=lt.nextNode();)ma(ue),ya(ue),Br(ue.content)&&Eu(ue.content)}catch(Vt){throw Me&&da(te),Vt}if(Me)return Co(t.removed,Vt=>{Vt.element&&wh(Vt.element)}),ee&&Vs(te),te;if(Ue){if(ee&&Vs(D),st)for(we=Z.call(D.ownerDocument);D.firstChild;)we.appendChild(D.firstChild);else we=D;return(w.shadowroot||w.shadowrootmode)&&(we=Q.call(r,we,!0)),we}let et=se?D.outerHTML:D.innerHTML;return se&&xe["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&bt(Mx,D.ownerDocument.doctype.name)&&(et="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
35
- `+et),ee&&(et=xu(et)),C&&it?H(et):et},t.setConfig=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hs(te),ke=!0,Te=xe,Fe=w},t.clearConfig=function(){zr=null,ke=!1,Te=null,Fe=null,C=T,S=""},t.isValidAttribute=function(te,v,D){zr||Hs({});const X=Qe(te),ue=Qe(v);return ga(X,ue,D)},t.addHook=function(te,v){typeof v=="function"&&ct(_e,te)&&Vr(_e[te],v)},t.removeHook=function(te,v){if(ct(_e,te)){if(v!==void 0){const D=gx(_e[te],v);return D===-1?void 0:bx(_e[te],D,1)[0]}return cf(_e[te])}},t.removeHooks=function(te){ct(_e,te)&&(_e[te]=[])},t.removeAllHooks=function(){_e=xf()},t}var qx=Fp();const kf={};function Ux(e){let t=kf[e];if(t)return t;t=kf[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 lo(e,t){typeof t!="string"&&(t=lo.defaultChars);const n=Ux(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})}lo.defaultChars=";/?:@&=+$,#";lo.componentChars="";const Ef={};function jx(e){let t=Ef[e];if(t)return t;t=Ef[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 gu(e,t,n){typeof t!="string"&&(n=t,t=gu.defaultChars),typeof n>"u"&&(n=!0);const r=jx(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}gu.defaultChars=";/?:@&=+$,-_.!~*'()#";gu.componentChars="-_.!~*'()";function Ql(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 as(){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 Hx=/^([a-z0-9.+-]+:)/i,Vx=/:[0-9]*$/,Wx=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Gx=["<",">",'"',"`"," ","\r",`
36
- `," "],Kx=["{","}","|","\\","^","`"].concat(Gx),Yx=["'"].concat(Kx),wf=["%","/","?",";","#"].concat(Yx),Af=["/","?","#"],Zx=255,Cf=/^[+a-z0-9A-Z_-]{0,63}$/,Qx=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sf={javascript:!0,"javascript:":!0},Tf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xl(e,t){if(e&&e instanceof as)return e;const n=new as;return n.parse(e,t),n}as.prototype.parse=function(e,t){let n,r,o,u=e;if(u=u.trim(),!t&&e.split("#").length===1){const a=Wx.exec(u);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}let s=Hx.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&&Sf[s])&&(u=u.substr(2),this.slashes=!0)),!Sf[s]&&(o||s&&!Tf[s])){let a=-1;for(let p=0;p<Af.length;p++)r=u.indexOf(Af[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<wf.length;p++)r=u.indexOf(wf[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 _=p[m];if(_&&!_.match(Cf)){let b="";for(let E=0,y=_.length;E<y;E++)_.charCodeAt(E)>127?b+="x":b+=_[E];if(!b.match(Cf)){const E=p.slice(0,m),y=p.slice(m+1),A=_.match(Qx);A&&(E.push(A[1]),y.unshift(A[2])),y.length&&(u=y.join(".")+u),this.hostname=E.join(".");break}}}}this.hostname.length>Zx&&(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),Tf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};as.prototype.parseHost=function(e){let t=Vx.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 Xx=Object.freeze(Object.defineProperty({__proto__:null,decode:lo,encode:gu,format:Ql,parse:Xl},Symbol.toStringTag,{value:"Module"})),Mp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Pp=/[\0-\x1F\x7F-\x9F]/,Jx=/[\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]/,Jl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Lp=/[\$\+<->\^`\|~\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]/,Np=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,e4=Object.freeze(Object.defineProperty({__proto__:null,Any:Mp,Cc:Pp,Cf:Jx,P:Jl,S:Lp,Z:Np},Symbol.toStringTag,{value:"Module"})),t4=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))),n4=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ci;const r4=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]]),o4=(Ci=String.fromCodePoint)!==null&&Ci!==void 0?Ci: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 u4(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=r4.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 s4=32;var cr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(cr||(cr={}));function hl(e){return e>=dt.ZERO&&e<=dt.NINE}function i4(e){return e>=dt.UPPER_A&&e<=dt.UPPER_F||e>=dt.LOWER_A&&e<=dt.LOWER_F}function l4(e){return e>=dt.UPPER_A&&e<=dt.UPPER_Z||e>=dt.LOWER_A&&e<=dt.LOWER_Z||hl(e)}function a4(e){return e===dt.EQUALS||l4(e)}var at;(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"})(at||(at={}));var qn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(qn||(qn={}));class c4{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=at.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qn.Strict}startEntity(t){this.decodeMode=t,this.state=at.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case at.EntityStart:return t.charCodeAt(n)===dt.NUM?(this.state=at.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=at.NamedEntity,this.stateNamedEntity(t,n));case at.NumericStart:return this.stateNumericStart(t,n);case at.NumericDecimal:return this.stateNumericDecimal(t,n);case at.NumericHex:return this.stateNumericHex(t,n);case at.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|s4)===dt.LOWER_X?(this.state=at.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=at.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(hl(o)||i4(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(hl(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(u4(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&cr.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=f4(r,o,this.treeIndex+Math.max(1,u),s),this.treeIndex<0)return this.result===0||this.decodeMode===qn.Attribute&&(u===0||a4(s))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],u=(o&cr.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]&cr.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]&~cr.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case at.NamedEntity:return this.result!==0&&(this.decodeMode!==qn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case at.NumericDecimal:return this.emitNumericEntity(0,2);case at.NumericHex:return this.emitNumericEntity(0,3);case at.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case at.EntityStart:return 0}}}function $p(e){let t="";const n=new c4(e,r=>t+=o4(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 f4(e,t,n,r){const o=(t&cr.BRANCH_LENGTH)>>7,u=t&cr.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 zp=$p(t4);$p(n4);function d4(e,t=qn.Legacy){return zp(e,t)}function p4(e){return zp(e,qn.Strict)}function h4(e){return Object.prototype.toString.call(e)}function ea(e){return h4(e)==="[object String]"}const m4=Object.prototype.hasOwnProperty;function g4(e,t){return m4.call(e,t)}function Ps(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 Bp(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ta(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 eu(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 qp=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,b4=/&([a-z#][a-z0-9]{1,31});/gi,y4=new RegExp(qp.source+"|"+b4.source,"gi"),_4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function v4(e,t){if(t.charCodeAt(0)===35&&_4.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ta(r)?eu(r):e}const n=d4(e);return n!==e?n:e}function x4(e){return e.indexOf("\\")<0?e:e.replace(qp,"$1")}function ao(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(y4,function(t,n,r){return n||v4(t,r)})}const k4=/[&<>"]/,E4=/[&<>"]/g,w4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A4(e){return w4[e]}function hr(e){return k4.test(e)?e.replace(E4,A4):e}const C4=/[.?*+^$[\]\\(){}|-]/g;function S4(e){return e.replace(C4,"\\$&")}function We(e){switch(e){case 9:case 32:return!0}return!1}function tu(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 Up(e){return Jl.test(e)||Lp.test(e)}function nu(e){return Up(eu(e))}function ru(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 Ls(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function Df(e){return e===32||e===9||e===10||e===13}function Ns(e){let t=0;for(;t<e.length&&Df(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Df(e.charCodeAt(n));n--);return e.slice(t,n+1)}const T4={mdurl:Xx,ucmicro:e4},D4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Bp,asciiTrim:Ns,assign:Ps,escapeHtml:hr,escapeRE:S4,fromCodePoint:eu,has:g4,isMdAsciiPunct:ru,isPunctChar:Up,isPunctCharCode:nu,isSpace:We,isString:ea,isValidEntityCode:ta,isWhiteSpace:tu,lib:T4,normalizeReference:Ls,unescapeAll:ao,unescapeMd:x4},Symbol.toStringTag,{value:"Module"}));function O4(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 I4(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=ao(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=ao(e.slice(t,o)),u.pos=o,u.ok=!0),u}function R4(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+=ao(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+=ao(e.slice(t,u)),s}const F4=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:I4,parseLinkLabel:O4,parseLinkTitle:R4},Symbol.toStringTag,{value:"Module"})),Dn={};Dn.code_inline=function(e,t,n,r,o){const u=e[t];return"<code"+o.renderAttrs(u)+">"+hr(u.content)+"</code>"};Dn.code_block=function(e,t,n,r,o){const u=e[t];return"<pre"+o.renderAttrs(u)+"><code>"+hr(e[t].content)+`</code></pre>
37
- `};Dn.fence=function(e,t,n,r,o){const u=e[t],s=u.info?ao(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)||hr(u.content):a=hr(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 hr(e[t].content)};Dn.html_block=function(e,t){return e[t].content};Dn.html_inline=function(e,t){return e[t].content};function ho(){this.rules=Ps({},Dn)}ho.prototype.renderAttrs=function(t){let n,r,o;if(!t.attrs)return"";for(o="",n=0,r=t.attrs.length;n<r;n++)o+=" "+hr(t.attrs[n][0])+'="'+hr(t.attrs[n][1])+'"';return o};ho.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};ho.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};ho.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};ho.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 an(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}an.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};an.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};an.prototype.attrSet=function(t,n){const r=this.attrIndex(t),o=[t,n];r<0?this.attrPush(o):this.attrs[r]=o};an.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};an.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 jp(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}jp.prototype.Token=an;const M4=/\r\n?|\n/g,P4=/\0/g;function L4(e){let t;t=e.src.replace(M4,`
49
- `),t=t.replace(P4,"�"),e.src=t}function N4(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 $4(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 z4(e){return/^<a[>\s]/i.test(e)}function B4(e){return/^<\/a\s*>/i.test(e)}function q4(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"&&(z4(i.content)&&u>0&&u--,B4(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 _=a[d].index;if(_>h){const A=new e.Token("text","",0);A.content=l.slice(h,_),A.level=f,c.push(A)}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 E=new e.Token("text","",0);E.content=g,E.level=f,c.push(E);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=Bp(o,s,c)}}}}const Hp=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,U4=/\((c|tm|r)\)/i,j4=/\((c|tm|r)\)/ig,H4={c:"©",r:"®",tm:"™"};function V4(e,t){return H4[t.toLowerCase()]}function W4(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(j4,V4)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function G4(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&Hp.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 K4(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(U4.test(e.tokens[t].content)&&W4(e.tokens[t].children),Hp.test(e.tokens[t].content)&&G4(e.tokens[t].children))}const Y4=/['"]/,Of=/['"]/g,If="’";function $u(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Z4(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 Q4(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;){Of.lastIndex=a;const f=Of.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 _=ru(m)||nu(m),b=ru(g)||nu(g),E=tu(m),y=tu(g);if(y?h=!1:b&&(E||_||(h=!1)),E?d=!1:_&&(y||b||(d=!1)),g===34&&f[0]==='"'&&m>=48&&m<=57&&(d=h=!1),h&&d&&(h=_,d=b),!h&&!d){p&&$u(o,u,f.index,If);continue}if(d)for(n=r.length-1;n>=0;n--){let A=r[n];if(r[n].level<i)break;if(A.single===p&&r[n].level===i){A=r[n];let C,S;p?(C=t.md.options.quotes[2],S=t.md.options.quotes[3]):(C=t.md.options.quotes[0],S=t.md.options.quotes[1]),$u(o,u,f.index,S),$u(o,A.token,A.pos,C),r.length=n;continue e}}h?r.push({token:u,pos:f.index,single:p,level:i}):d&&p&&$u(o,u,f.index,If)}}Object.keys(o).forEach(function(u){e[u].content=Z4(e[u].content,o[u])})}function X4(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Y4.test(e.tokens[t].content)||Q4(e.tokens[t].children,e)}function J4(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 Si=[["normalize",L4],["block",N4],["inline",$4],["linkify",q4],["replacements",K4],["smartquotes",X4],["text_join",J4]];function na(){this.ruler=new Pt;for(let e=0;e<Si.length;e++)this.ruler.push(Si[e][0],Si[e][1])}na.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};na.prototype.State=jp;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(We(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 an(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(!We(r))break}return t};On.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!We(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(We(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=an;const e8=65536;function Ti(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Rf(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 t8(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&&!We(i)||s===45&&We(i))return!1;for(;u<e.eMarks[o];){const y=e.src.charCodeAt(u);if(y!==124&&y!==45&&y!==58&&!We(y))return!1;u++}let l=Ti(e,t+1),a=l.split("|");const c=[];for(let y=0;y<a.length;y++){const A=a[y].trim();if(!A){if(y===0||y===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?c.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?c.push("left"):c.push("")}if(l=Ti(e,t).trim(),l.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;a=Rf(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 _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let y=0;y<a.length;y++){const A=e.push("th_open","th",1);c[y]&&(A.attrs=[["style","text-align:"+c[y]]]);const C=e.push("inline","",0);C.content=a[y].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let b,E=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let y=!1;for(let C=0,S=d.length;C<S;C++)if(d[C](e,o,n,!0)){y=!0;break}if(y||(l=Ti(e,o).trim(),!l)||e.sCount[o]-e.blkIndent>=4||(a=Rf(l),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop(),E+=f-a.length,E>e8))break;if(o===t+2){const C=e.push("tbody_open","tbody",1);C.map=b=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[o,o+1];for(let C=0;C<f;C++){const S=e.push("td_open","td",1);c[C]&&(S.attrs=[["style","text-align:"+c[C]]]);const T=e.push("inline","",0);T.content=a[C]?a[C].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 n8(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 r8(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 o8(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 E=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&&!E){let A=e.sCount[p]+1,C,S;e.src.charCodeAt(o)===32?(o++,A++,S=!1,C=!0):e.src.charCodeAt(o)===9?(C=!0,(e.bsCount[p]+A)%4===3?(o++,A++,S=!1):S=!0):C=!1;let T=A;for(i.push(e.bMarks[p]),e.bMarks[p]=o;o<u;){const B=e.src.charCodeAt(o);if(We(B))B===9?T+=4-(T+e.bsCount[p]+(S?1:0))%4:T++;else break;o++}d=o>=u,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(C?1:0),a.push(e.sCount[p]),e.sCount[p]=T-A,c.push(e.tShift[p]),e.tShift[p]=o-e.bMarks[p];continue}if(d)break;let y=!1;for(let A=0,C=f.length;A<C;A++)if(f[A](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 _=[t,0];g.map=_,e.md.block.tokenize(e,t,p);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=s,e.parentType=h,_[1]=e.line;for(let E=0;E<c.length;E++)e.bMarks[E+t]=i[E],e.tShift[E+t]=c[E],e.sCount[E+t]=a[E],e.bsCount[E+t]=l[E];return e.blkIndent=m,!0}function u8(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&&!We(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 Ff(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(!We(u))return-1}return r}function Mf(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),!We(u))?-1:o}function s8(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 i8(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=Mf(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=Ff(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 _=!1;const b=e.md.block.ruler.getRules("list"),E=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 A=y;for(;u<o;){const z=e.src.charCodeAt(u);if(z===9)A+=4-(A+e.bsCount[l])%4;else if(z===32)A++;else break;u++}const C=u;let S;C>=o?S=1:S=A-y,S>4&&(S=1);const T=y+S;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(p);const B=[l,0];i.map=B,f&&(i.info=e.src.slice(s,d-1));const Y=e.tight,fe=e.tShift[l],H=e.sCount[l],ae=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[l]=C-e.bMarks[l],e.sCount[l]=A,C>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||_)&&(a=!1),_=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ae,e.tShift[l]=fe,e.sCount[l]=H,e.tight=Y,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(p),l=e.line,B[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let $=!1;for(let z=0,M=b.length;z<M;z++)if(b[z](e,l,n,!0)){$=!0;break}if($)break;if(f){if(d=Mf(e,l),d<0)break;s=e.bMarks[l]+e.tShift[l]}else if(d=Ff(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=E,a&&s8(e,m),!0}function l8(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 E=e.lineMax;if(b>=E||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 S=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let B=!1;for(let Y=0,fe=S.length;Y<fe;Y++)if(S[Y](e,b,E,!0)){B=!0;break}if(e.parentType=T,B)return null}const A=e.bMarks[b]+e.tShift[b],C=e.eMarks[b];return e.src.slice(A,C+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 E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(b===92&&(o++,o<u&&l.charCodeAt(o)===10)){const E=i(s);E!==null&&(l+=E,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 E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(!We(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 E=i(s);E!==null&&(l+=E,u=l.length,s++)}else if(!We(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(!We(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(!We(b))break;o++}if(o<u&&l.charCodeAt(o)!==10)return!1;const _=Ls(l.slice(1,a));return _?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[_]>"u"&&(e.env.references[_]={title:g,href:f}),e.line=s),!0):!1}const a8=["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"],c8="[a-zA-Z_:][a-zA-Z0-9:._-]*",f8="[^\"'=<>`\\x00-\\x20]+",d8="'[^']*'",p8='"[^"]*"',h8="(?:"+f8+"|"+d8+"|"+p8+")",m8="(?:\\s+"+c8+"(?:\\s*=\\s*"+h8+")?)",Vp="<[A-Za-z][A-Za-z0-9\\-]*"+m8+"*\\s*\\/?>",Wp="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",g8="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",b8="<[?][\\s\\S]*?[?]>",y8="<![A-Za-z][^>]*>",_8="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",v8=new RegExp("^(?:"+Vp+"|"+Wp+"|"+g8+"|"+b8+"|"+y8+"|"+_8+")"),x8=new RegExp("^(?:"+Vp+"|"+Wp+")"),wr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+a8.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(x8.source+"\\s*$"),/^$/,!1]];function k8(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<wr.length&&!wr[i][0].test(s);i++);if(i===wr.length)return!1;if(r)return wr[i][2];let l=t+1;const a=wr[i][1].test("");if(!wr[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),wr[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 E8(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&&!We(s))return!1;if(r)return!0;u=e.skipSpacesBack(u,o);const l=e.skipCharsBack(u,35,o);l>o&&We(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=Ns(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 w8(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=Ns(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 A8(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=Ns(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 zu=[["table",t8,["paragraph","reference"]],["code",n8],["fence",r8,["paragraph","reference","blockquote","list"]],["blockquote",o8,["paragraph","reference","blockquote","list"]],["hr",u8,["paragraph","reference","blockquote","list"]],["list",i8,["paragraph","reference","blockquote"]],["reference",l8],["html_block",k8,["paragraph","reference","blockquote"]],["heading",E8,["paragraph","reference","blockquote"]],["lheading",w8],["paragraph",A8]];function $s(){this.ruler=new Pt;for(let e=0;e<zu.length;e++)this.ruler.push(zu[e][0],zu[e][1],{alt:(zu[e][2]||[]).slice()})}$s.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)}};$s.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)};$s.prototype.State=On;function bu(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}bu.prototype.pushPending=function(){const e=new an("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};bu.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new an(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};bu.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=ru(o)||nu(o),a=ru(i)||nu(i),c=tu(o),f=tu(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}};bu.prototype.Token=an;function C8(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 S8(e,t){let n=e.pos;for(;n<e.posMax&&!C8(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const T8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function D8(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(T8);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 O8(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&&We(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const ra=[];for(let e=0;e<256;e++)ra.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ra[e.charCodeAt(0)]=1});function I8(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),!!We(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&&ra[o]!==0?i.content=u:i.content=s,i.markup=s,i.info="escape"}return e.pos=n+1,!0}function R8(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 F8(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 Pf(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 M8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Pf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Pf(e,t[r].delimiters)}const Gp={tokenize:F8,postProcess:M8};function P8(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 Lf(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 L8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Lf(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Lf(e,t[r].delimiters)}const Kp={tokenize:P8,postProcess:L8};function N8(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),!(!We(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),!(!We(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),!(!We(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[Ls(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 $8(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),!(!We(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),!(!We(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),!(!We(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[Ls(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),_=[["src",c],["alt",""]];g.attrs=_,g.children=m,g.content=r,l&&_.push(["title",l])}return e.pos=u,e.posMax=h,!0}const z8=/^([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])?)*)$/,B8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function q8(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(B8.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(z8.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 U8(e){return/^<a[>\s]/i.test(e)}function j8(e){return/^<\/a\s*>/i.test(e)}function H8(e){const t=e|32;return t>=97&&t<=122}function V8(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&&!H8(o))return!1;const u=e.src.slice(r).match(v8);if(!u)return!1;if(!t){const s=e.push("html_inline","",0);s.content=u[0],U8(s.content)&&e.linkLevel++,j8(s.content)&&e.linkLevel--}return e.pos+=u[0].length,!0}const W8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,G8=/^&([a-z][a-z0-9]{1,31});/i;function K8(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(W8);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=ta(s)?eu(s):eu(65533),i.markup=u[0],i.info="entity"}return e.pos+=u[0].length,!0}}else{const u=e.src.slice(n).match(G8);if(u){const s=p4(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 Nf(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 Y8(e){const t=e.tokens_meta,n=e.tokens_meta.length;Nf(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Nf(t[r].delimiters)}function Z8(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 Di=[["text",S8],["linkify",D8],["newline",O8],["escape",I8],["backticks",R8],["strikethrough",Gp.tokenize],["emphasis",Kp.tokenize],["link",N8],["image",$8],["autolink",q8],["html_inline",V8],["entity",K8]],Oi=[["balance_pairs",Y8],["strikethrough",Gp.postProcess],["emphasis",Kp.postProcess],["fragments_join",Z8]];function yu(){this.ruler=new Pt;for(let e=0;e<Di.length;e++)this.ruler.push(Di[e][0],Di[e][1]);this.ruler2=new Pt;for(let e=0;e<Oi.length;e++)this.ruler2.push(Oi[e][0],Oi[e][1])}yu.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};yu.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()};yu.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)};yu.prototype.State=bu;function Q8(e){const t={};e=e||{},t.src_Any=Mp.source,t.src_Cc=Pp.source,t.src_Z=Np.source,t.src_P=Jl.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 ml(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function zs(e){return Object.prototype.toString.call(e)}function X8(e){return zs(e)==="[object String]"}function J8(e){return zs(e)==="[object Object]"}function ek(e){return zs(e)==="[object RegExp]"}function $f(e){return zs(e)==="[object Function]"}function tk(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Yp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nk(e){return Object.keys(e||{}).reduce(function(t,n){return t||Yp.hasOwnProperty(n)},!1)}const rk={"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}}},ok="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]",uk="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function sk(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function zf(){return function(e,t){t.normalize(e)}}function cs(e){const t=e.re=Q8(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(ok),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,J8(l)){ek(l.validate)?a.validate=sk(l.validate):$f(l.validate)?a.validate=l.validate:u(i,l),$f(l.normalize)?a.normalize=l.normalize:l.normalize?u(i,l):a.normalize=zf();return}if(X8(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:zf()};const s=Object.keys(e.__compiled__).filter(function(i){return i.length>0&&e.__compiled__[i]}).map(tk).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 Zp(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 jt(e,t){if(!(this instanceof jt))return new jt(e,t);t||nk(e)&&(t=e,e={}),this.__opts__=ml({},Yp,t),this.__schemas__=ml({},rk,e),this.__compiled__={},this.__tlds__=uk,this.__tlds_replaced__=!1,this.re={},cs(this)}jt.prototype.add=function(t,n){return this.__schemas__[t]=n,cs(this),this};jt.prototype.set=function(t){return this.__opts__=ml(this.__opts__,t),this};jt.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)};jt.prototype.pretest=function(t){return this.re.pretest.test(t)};jt.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};jt.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 Zp(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};jt.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 Zp(t,n[2],n.index+n[1].length,n.index+n[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};jt.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(),cs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,cs(this),this)};jt.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url=`mailto:${t.url}`)};jt.prototype.onCompile=function(){};const ro=2147483647,_n=36,oa=1,ou=26,ik=38,lk=700,Qp=72,Xp=128,Jp="-",ak=/^xn--/,ck=/[^\0-\x7F]/,fk=/[\x2E\u3002\uFF0E\uFF61]/g,dk={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ii=_n-oa,vn=Math.floor,Ri=String.fromCharCode;function lr(e){throw new RangeError(dk[e])}function pk(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function eh(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(fk,".");const o=e.split("."),u=pk(o,t).join(".");return r+u}function th(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 hk=e=>String.fromCodePoint(...e),mk=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:_n},Bf=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},nh=function(e,t,n){let r=0;for(e=n?vn(e/lk):e>>1,e+=vn(e/t);e>Ii*ou>>1;r+=_n)e=vn(e/Ii);return vn(r+(Ii+1)*e/(e+ik))},rh=function(e){const t=[],n=e.length;let r=0,o=Xp,u=Qp,s=e.lastIndexOf(Jp);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=_n;;f+=_n){i>=n&&lr("invalid-input");const h=mk(e.charCodeAt(i++));h>=_n&&lr("invalid-input"),h>vn((ro-r)/c)&&lr("overflow"),r+=h*c;const d=f<=u?oa:f>=u+ou?ou:f-u;if(h<d)break;const p=_n-d;c>vn(ro/p)&&lr("overflow"),c*=p}const a=t.length+1;u=nh(r-l,a,l==0),vn(r/a)>ro-o&&lr("overflow"),o+=vn(r/a),r%=a,t.splice(r++,0,o)}return String.fromCodePoint(...t)},oh=function(e){const t=[];e=th(e);const n=e.length;let r=Xp,o=0,u=Qp;for(const l of e)l<128&&t.push(Ri(l));const s=t.length;let i=s;for(s&&t.push(Jp);i<n;){let l=ro;for(const c of e)c>=r&&c<l&&(l=c);const a=i+1;l-r>vn((ro-o)/a)&&lr("overflow"),o+=(l-r)*a,r=l;for(const c of e)if(c<r&&++o>ro&&lr("overflow"),c===r){let f=o;for(let h=_n;;h+=_n){const d=h<=u?oa:h>=u+ou?ou:h-u;if(f<d)break;const p=f-d,m=_n-d;t.push(Ri(Bf(d+p%m,0))),f=vn(p/m)}t.push(Ri(Bf(f,0))),u=nh(o,a,i===s),o=0,++i}++o,++r}return t.join("")},gk=function(e){return eh(e,function(t){return ak.test(t)?rh(t.slice(4).toLowerCase()):t})},bk=function(e){return eh(e,function(t){return ck.test(t)?"xn--"+oh(t):t})},uh={version:"2.3.1",ucs2:{decode:th,encode:hk},decode:rh,encode:oh,toASCII:bk,toUnicode:gk},yk={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},_k={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"]}}},vk={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"]}}},xk={default:yk,zero:_k,commonmark:vk},kk=/^(vbscript|javascript|file|data):/,Ek=/^data:image\/(gif|png|jpeg|webp);/;function wk(e){const t=e.trim().toLowerCase();return kk.test(t)?Ek.test(t):!0}const sh=["http:","https:","mailto:"];function Ak(e){const t=Xl(e,!0);if(t.hostname&&(!t.protocol||sh.indexOf(t.protocol)>=0))try{t.hostname=uh.toASCII(t.hostname)}catch{}return gu(Ql(t))}function Ck(e){const t=Xl(e,!0);if(t.hostname&&(!t.protocol||sh.indexOf(t.protocol)>=0))try{t.hostname=uh.toUnicode(t.hostname)}catch{}return lo(Ql(t),lo.defaultChars+"%")}function Kt(e,t){if(!(this instanceof Kt))return new Kt(e,t);t||ea(e)||(t=e||{},e="default"),this.inline=new yu,this.block=new $s,this.core=new na,this.renderer=new ho,this.linkify=new jt,this.validateLink=wk,this.normalizeLink=Ak,this.normalizeLinkText=Ck,this.utils=D4,this.helpers=Ps({},F4),this.options={},this.configure(e),t&&this.set(t)}Kt.prototype.set=function(e){return Ps(this.options,e),this};Kt.prototype.configure=function(e){const t=this;if(ea(e)){const n=e;if(e=xk[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 ua=new Kt({html:!1,linkify:!0,breaks:!0}),Sk=ua.renderer.rules.link_open??((e,t,n,r,o)=>o.renderToken(e,t,n));ua.renderer.rules.link_open=(e,t,n,r,o)=>(e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),Sk(e,t,n,r,o));function Tk(e){return qx.sanitize(ua.render(e??""),{ADD_ATTR:["target"]})}const Dk=["innerHTML"],Ok=ye({__name:"MarkdownContent",props:{content:{}},setup(e){const t=e,n=F(()=>Tk(t.content));return(r,o)=>(I(),V("div",{class:"markdown-body",innerHTML:n.value},null,8,Dk))}});function gl(e){if(e===void 0)return"";if(typeof e=="string")return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}const qf=80,Uf="...",Ik={Bash:"Run shell command",Edit:"Edit file",Write:"Write file",Read:"Read file",Glob:"Glob pattern",Grep:"Grep pattern"},Rk={Bash:"command",Edit:"file_path",Write:"file_path",Read:"file_path",Glob:"pattern",Grep:"pattern"};function Fk(e){if(e.length<=qf)return e;const t=qf-Uf.length;return`${e.slice(0,t)}${Uf}`}function Mk(e,t){if(e===null||typeof e!="object")return"";const n=e[t];return typeof n=="string"?n:""}function Pk(e,t){const n=Rk[e];return n===void 0?"":Fk(Mk(t,n))}function ih(e,t){const n=Pk(e,t);return n.length>0?n:e}function Lk(e){return Ik[e]??e}const Nk=["data-status"],$k=["aria-expanded"],zk={class:"tool-text"},Bk={class:"tool-name"},qk={key:0,class:"tool-summary"},Uk=["data-status"],jk={class:"tool-toggle"},Hk={key:0,class:"tool-body"},Vk={key:0,class:"tool-section"},Wk={class:"tool-pre"},Gk={key:1,class:"tool-section"},Kk={class:"tool-pre"},Yk=ye({__name:"ToolCallEntry",props:{message:{}},setup(e){const t=e,n=K(!1),r={[ft.PENDING]:yi.PENDING,[ft.SUCCESS]:yi.SUCCESS,[ft.ERROR]:yi.ERROR},o=F(()=>r[t.message.status]??t.message.status),u=F(()=>t.message.toolName.length>0?Lk(t.message.toolName):"Tool"),s=F(()=>ih(t.message.toolName,t.message.args)),i=F(()=>gl(t.message.args)),l=F(()=>gl(t.message.result));function a(){n.value=!n.value}return(c,f)=>(I(),V("article",{class:"tool-entry","data-status":e.message.status},[L("button",{type:"button",class:"tool-header","aria-expanded":n.value,onClick:a},[f[0]||(f[0]=L("span",{class:"tool-icon","aria-hidden":"true"},[L("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("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)),L("span",zk,[L("span",Bk,le(u.value),1),s.value.length>0?(I(),V("span",qk,le(s.value),1)):ve("",!0)]),L("span",{class:"tool-status","data-status":e.message.status},le(o.value),9,Uk),L("span",jk,le(n.value?"▾":"▸"),1)],8,$k),n.value?(I(),V("div",Hk,[i.value.length>0?(I(),V("section",Vk,[f[1]||(f[1]=L("h4",{class:"tool-section-title"},"args",-1)),L("pre",Wk,le(i.value),1)])):ve("",!0),l.value.length>0?(I(),V("section",Gk,[f[2]||(f[2]=L("h4",{class:"tool-section-title"},"result",-1)),L("pre",Kk,le(l.value),1)])):ve("",!0)])):ve("",!0)],8,Nk))}}),lh=ln(Yk,[["__scopeId","data-v-172d1370"]]),Zk=["data-status"],Qk=["aria-expanded"],Xk={class:"cluster-toggle"},Jk=["data-status"],e5={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"},t5={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"},n5={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"},r5={class:"cluster-count"},o5={key:0,class:"cluster-headline"},u5={key:0,class:"cluster-body"},s5=ye({__name:"ToolCluster",props:{tools:{},live:{type:Boolean}},setup(e){const t=e,n=K(null),r=K(!1),o=K(!1);let u=null;Ke(()=>t.live,(b,E)=>{if(b){o.value=!1,u!==null&&clearTimeout(u),u=null;return}E&&(o.value=!0,u!==null&&clearTimeout(u),u=setTimeout(()=>{o.value=!1,u=null},Wv))}),mr(()=>{u!==null&&clearTimeout(u)});const s=F(()=>t.tools.some(b=>b.status===ft.PENDING)?ft.PENDING:t.tools.some(b=>b.status===ft.ERROR)?ft.ERROR:ft.SUCCESS),i=F(()=>t.tools.some(b=>b.status===ft.ERROR)),l=F(()=>t.live||o.value||i.value),a=F(()=>n.value!==null?n.value:l.value),c=F(()=>n.value===!0||r.value),f=F(()=>c.value?t.tools:t.tools.slice(-3)),h=F(()=>t.tools.length-f.value.length),d=F(()=>t.live?ft.PENDING:s.value),p=F(()=>{const b=t.tools.find(E=>E.status===ft.PENDING)??t.tools.at(-1);return b===void 0?"":ih(b.toolName,b.args)}),m=F(()=>`${Vv} ${t.tools.length} tools`);function g(){n.value=!a.value}function _(){r.value=!0}return(b,E)=>(I(),V("section",{class:"tool-cluster","data-status":s.value},[L("button",{type:"button",class:"cluster-header","aria-expanded":a.value,onClick:g},[L("span",Xk,le(a.value?"▾":"▸"),1),L("span",{class:"cluster-glyph","data-status":d.value,"aria-hidden":"true"},[d.value==="pending"?(I(),V("svg",e5,[...E[0]||(E[0]=[L("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):d.value==="error"?(I(),V("svg",t5,[...E[1]||(E[1]=[L("path",{d:"M18 6 6 18M6 6l12 12"},null,-1)])])):(I(),V("svg",n5,[...E[2]||(E[2]=[L("path",{d:"M20 6 9 17l-5-5"},null,-1)])]))],8,Jk),L("span",r5,le(m.value),1),!a.value&&p.value.length>0?(I(),V("span",o5,le(p.value),1)):ve("",!0)],8,Qk),a.value?(I(),V("div",u5,[h.value>0?(I(),V("button",{key:0,type:"button",class:"cluster-earlier",onClick:_}," ▴ "+le(h.value)+" earlier ",1)):ve("",!0),(I(!0),V(Ie,null,wt(f.value,y=>(I(),ie(lh,{key:y.id,message:y},null,8,["message"]))),128))])):ve("",!0)],8,Zk))}}),i5=ln(s5,[["__scopeId","data-v-20dab846"]]),l5={class:"message-list"},a5={key:0,class:"message-item","data-role":"tool"},c5=["data-role"],f5={class:"message-meta"},d5={class:"message-role"},p5={class:"message-time"},h5={key:0,class:"message-bubble message-bubble-user"},m5={key:1,class:"msg-attachments"},g5=["src","alt"],b5={class:"msg-att-name"},y5={class:"msg-att-size"},_5={key:0,class:"message-item","data-role":"assistant"},v5={class:"thinking","aria-live":"polite"},x5={class:"thinking-label"},k5=ye({__name:"MessageList",props:{messages:{},isRunning:{type:Boolean}},setup(e){const t=e,n={[Xe.USER]:bi.USER,[Xe.ASSISTANT]:bi.ASSISTANT,[Xe.TOOL]:bi.TOOL},r=F(()=>{const a=[];let c=[];const f=()=>{c.length!==0&&(a.push({kind:"tools",key:`tools-${c[0].id}`,tools:c}),c=[])};for(const h of t.messages){if(Op(h)){f();continue}if(h.role===Xe.TOOL){c=[...c,h];continue}f(),a.push({kind:"message",key:h.id,message:h})}return f(),a}),o=F(()=>{for(let a=r.value.length-1;a>=0;a--){const c=r.value[a];if(c.kind==="tools")return c.key}return null}),u=F(()=>{if(!t.isRunning)return!1;const a=t.messages.at(-1);return a===void 0||a.role!==Xe.ASSISTANT});function s(a){return n[a]??a}function i(a){return a.role!==Xe.USER?[]:a.attachments??[]}function l(a){return new Date(a).toLocaleTimeString()}return(a,c)=>{const f=Un;return I(),V("ol",l5,[(I(!0),V(Ie,null,wt(r.value,h=>(I(),V(Ie,{key:h.key},[h.kind==="tools"?(I(),V("li",a5,[h.tools.length>1?(I(),ie(i5,{key:0,tools:h.tools,live:e.isRunning&&h.key===o.value},null,8,["tools","live"])):(I(),ie(lh,{key:1,message:h.tools[0]},null,8,["message"]))])):(I(),V("li",{key:1,class:"message-item","data-role":h.message.role},[L("header",f5,[L("span",d5,le(s(h.message.role)),1),L("span",p5,le(l(h.message.timestampMs)),1)]),h.message.role===x(Xe).USER?(I(),V(Ie,{key:0},[h.message.content?(I(),V("p",h5,le(h.message.content),1)):ve("",!0),i(h.message).length>0?(I(),V("ul",m5,[(I(!0),V(Ie,null,wt(i(h.message),(d,p)=>(I(),V("li",{key:p,class:"msg-att"},[x(Tp)(d.mimeType)&&d.dataUrl?(I(),V("img",{key:0,src:d.dataUrl,alt:d.name,class:"msg-att-thumb"},null,8,g5)):(I(),V(Ie,{key:1},[me(f,{name:x(Cp),class:"size-[15px]"},null,8,["name"]),L("span",b5,le(d.name),1),L("span",y5,le(x(Dp)(d.size)),1)],64))]))),128))])):ve("",!0)],64)):(I(),ie(Ok,{key:1,class:"message-bubble message-bubble-assistant",content:h.message.content},null,8,["content"]))],8,c5))],64))),128)),u.value?(I(),V("li",_5,[L("div",v5,[L("span",x5,le(x(Hv)),1),c[0]||(c[0]=L("span",{class:"thinking-dots"},[L("i"),L("i"),L("i")],-1))])])):ve("",!0)])}}}),E5=ln(k5,[["__scopeId","data-v-6da26abb"]]),zo={ALLOW_ONCE:"allow_once",ALLOW_SESSION:"allow_session",DENY:"deny"},w5=[{label:"Approve once",decision:zo.ALLOW_ONCE,variant:"primary"},{label:"Approve session",decision:zo.ALLOW_SESSION,variant:"secondary"},{label:"Deny",decision:zo.DENY,variant:"danger"}],jf={TOOL_NAME:"Tool",SUMMARY:"Action",ARGS_TOGGLE_SHOW:"Show details",ARGS_TOGGLE_HIDE:"Hide details",ARGS_HEADING:"Arguments"},Bu={HEADING_ONE:"Permission required",HEADING_MANY:"Permissions required",APPLY_ALL:"Allow all",DENY_ALL:"Deny all"},A5=["aria-label"],C5={class:"perm-tray-head"},S5={class:"perm-tray-title"},T5={key:0,class:"perm-bulk"},D5={class:"perm-card-top"},O5={class:"perm-card-text"},I5={class:"perm-tool"},R5={class:"perm-summary"},F5=["aria-expanded","onClick"],M5={key:1,class:"perm-args-pre"},P5={class:"perm-actions"},L5=["data-variant","onClick"],N5=ye({__name:"PermissionRequests",props:{requests:{}},emits:["decide","decideAll"],setup(e,{emit:t}){const n=e,r=t,o=K(new Set),u=F(()=>n.requests.length>1?Bu.HEADING_MANY:Bu.HEADING_ONE),s=F(()=>n.requests.length>1),i=F(()=>{const d={};for(const p of n.requests)d[p.requestId]=gl(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",zo.ALLOW_ONCE)}function h(){r("decideAll",zo.DENY)}return(d,p)=>(I(),V("section",{class:"perm-tray",role:"group","aria-label":u.value},[L("header",C5,[L("span",S5,le(u.value),1),s.value?(I(),V("div",T5,[L("button",{type:"button",class:"perm-bulk-btn deny",onClick:h},le(x(Bu).DENY_ALL),1),L("button",{type:"button",class:"perm-bulk-btn allow",onClick:f},le(x(Bu).APPLY_ALL),1)])):ve("",!0)]),(I(!0),V(Ie,null,wt(e.requests,m=>(I(),V("article",{key:m.requestId,class:"perm-card"},[L("div",D5,[p[0]||(p[0]=L("span",{class:"perm-icon","aria-hidden":"true"},[L("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("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)),L("div",O5,[L("span",I5,le(m.toolName),1),L("span",R5,le(m.summary),1)])]),i.value[m.requestId].length>0?(I(),V("button",{key:0,type:"button",class:"perm-args-toggle","aria-expanded":l(m.requestId),onClick:g=>a(m.requestId)},le(l(m.requestId)?x(jf).ARGS_TOGGLE_HIDE:x(jf).ARGS_TOGGLE_SHOW),9,F5)):ve("",!0),l(m.requestId)?(I(),V("pre",M5,le(i.value[m.requestId]),1)):ve("",!0),L("footer",P5,[(I(!0),V(Ie,null,wt(x(w5),g=>(I(),V("button",{key:g.decision,type:"button",class:"perm-button","data-variant":g.variant,onClick:_=>c(m.requestId,g.decision)},le(g.label),9,L5))),128))])]))),128))],8,A5))}}),$5=ln(N5,[["__scopeId","data-v-60a55cd2"]]),z5={class:"q-tray",role:"group","aria-label":"Question from the assistant"},B5={class:"q-header"},q5={class:"q-question"},U5={class:"q-options"},j5=["data-selected","title","onClick"],H5={class:"q-option-label"},V5={class:"q-option-desc"},W5={class:"q-other"},G5=["data-selected","onClick"],K5=["onInput","onKeydown"],Y5={class:"q-actions"},Z5=["disabled","onClick"],Q5=ye({__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 _=u(m,g),b=o[_];if(b!==void 0)return b;const E={mode:"option",option:"",other:""};return o[_]=E,E}function i(m,g){const _=o[u(m,g)];return _===void 0?"":_.mode==="other"?_.other.trim():_.option}function l(m,g,_){const b=o[u(m,g)];return(b==null?void 0:b.mode)==="option"&&b.option===_}function a(m,g){var _;return((_=o[u(m,g)])==null?void 0:_.mode)==="other"}function c(m,g,_){const b=s(m,g);b.mode="option",b.option=_}function f(m,g){s(m,g).mode="other"}function h(m,g,_){s(m,g).other=_.target.value}const d=F(()=>{const m={};for(const g of n.requests)m[g.requestId]=g.questions.every((_,b)=>i(g.requestId,b).length>0);return m});function p(m){if(!d.value[m.requestId])return;const g=m.questions.map((_,b)=>i(m.requestId,b));r("answer",m.requestId,g)}return(m,g)=>(I(),V("section",z5,[(I(!0),V(Ie,null,wt(e.requests,_=>(I(),V("article",{key:_.requestId,class:"q-card"},[(I(!0),V(Ie,null,wt(_.questions,(b,E)=>(I(),V("div",{key:E,class:"q-block"},[L("span",B5,le(b.header),1),L("p",q5,le(b.question),1),L("div",U5,[(I(!0),V(Ie,null,wt(b.options,y=>(I(),V("button",{key:y.label,type:"button",class:"q-option","data-selected":l(_.requestId,E,y.label),title:y.description,onClick:A=>c(_.requestId,E,y.label)},[L("span",H5,le(y.label),1),L("span",V5,le(y.description),1)],8,j5))),128)),L("div",W5,[L("button",{type:"button",class:"q-option q-other-toggle","data-selected":a(_.requestId,E),onClick:y=>f(_.requestId,E)},[...g[0]||(g[0]=[L("span",{class:"q-option-label"},"Other…",-1)])],8,G5),a(_.requestId,E)?(I(),V("input",{key:0,type:"text",class:"q-other-input",placeholder:"Type a custom answer",onInput:y=>h(_.requestId,E,y),onKeydown:wg(Or(y=>p(_),["prevent"]),["enter"])},null,40,K5)):ve("",!0)])])]))),128)),L("footer",Y5,[L("button",{type:"button",class:"q-send",disabled:!d.value[_.requestId],onClick:b=>p(_)}," Send answer ",8,Z5)])]))),128))]))}}),X5=ln(Q5,[["__scopeId","data-v-65ff17cc"]]),J5={class:"queued","aria-label":"Queued messages"},eE={class:"queued-text"},tE={key:0,class:"queued-att"},nE=["onClick"],rE=ye({__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 I(),V("ul",J5,[(I(!0),V(Ie,null,wt(e.queue,u=>(I(),V("li",{key:u.id,class:"queued-item"},[r[0]||(r[0]=L("span",{class:"queued-tag","aria-hidden":"true"},"Queued",-1)),L("span",eE,le(u.content),1),t(u).length>0?(I(),V("span",tE,le(t(u)),1)):ve("",!0),L("button",{type:"button",class:"queued-cancel","aria-label":"Cancel queued message",title:"Cancel",onClick:s=>n.$emit("cancel",u.id)},[me(o,{name:x(Ap),class:"size-[13px]"},null,8,["name"])],8,nE)]))),128))])}}}),oE=ln(rE,[["__scopeId","data-v-c80ebf28"]]),uE=["data-complete"],sE=["aria-expanded"],iE={class:"todo-toggle"},lE={class:"todo-title"},aE={key:0,class:"todo-active"},cE={class:"todo-count"},fE={class:"todo-track","aria-hidden":"true"},dE=["data-status"],pE=["data-status"],hE={key:0,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},mE={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"},gE={key:2,viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2"},bE={class:"todo-text"},yE=2,_E=ye({__name:"TodoList",props:{todos:{}},setup(e){const t=e,n=K(!0),r=K(null),o=F(()=>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+yE;m.top<p.top+g?h.scrollTop+=m.top-p.top-g:m.bottom>p.bottom-g&&(h.scrollTop+=m.bottom-p.bottom+g)}Ke(()=>[t.todos,n.value],()=>{u()}),At(()=>{u()});const s=F(()=>t.todos.filter(h=>h.status===Bn.COMPLETED).length),i=F(()=>t.todos.length>0&&s.value===t.todos.length),l=F(()=>t.todos.length===0?0:Math.round(s.value/t.todos.length*100)),a=F(()=>{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)=>(I(),V("section",{class:"todo-dock","data-complete":i.value},[L("button",{type:"button",class:"todo-head","aria-expanded":n.value,onClick:c},[L("span",iE,le(n.value?"▾":"▸"),1),L("span",lE,le(x(Bv)),1),!n.value&&a.value.length>0?(I(),V("span",aE,le(a.value),1)):ve("",!0),L("span",cE,le(s.value)+"/"+le(e.todos.length),1)],8,sE),L("div",fE,[L("div",{class:"todo-fill",style:Zn({width:`${l.value}%`})},null,4)]),n.value?(I(),V("ul",{key:0,ref_key:"itemsEl",ref:r,class:"todo-items"},[(I(!0),V(Ie,null,wt(e.todos,(p,m)=>(I(),V("li",{key:m,class:"todo-item","data-status":p.status},[L("span",{class:"todo-glyph","data-status":p.status,"aria-hidden":"true"},[p.status==="completed"?(I(),V("svg",hE,[...d[0]||(d[0]=[L("path",{d:"M20 6 9 17l-5-5"},null,-1)])])):p.status==="in_progress"?(I(),V("svg",mE,[...d[1]||(d[1]=[L("path",{d:"M21 12a9 9 0 1 1-6.2-8.6"},null,-1)])])):(I(),V("svg",gE,[...d[2]||(d[2]=[L("circle",{cx:"12",cy:"12",r:"8"},null,-1)])]))],8,pE),L("span",bE,le(f(p)),1)],8,dE))),128))],512)):ve("",!0)],8,uE))}}),vE=ln(_E,[["__scopeId","data-v-e93cdc28"]]);function Sn(){return crypto.randomUUID()}function Hf(e,t){return{id:Sn(),role:Xe.USER,content:e,attachments:t,timestampMs:Date.now()}}function xE(e){return{id:Sn(),role:Xe.ASSISTANT,content:e,timestampMs:Date.now()}}function kE(e){return{id:Sn(),role:Xe.TOOL,callId:e.callId,toolName:e.toolName,args:e.args,status:ft.PENDING,timestampMs:Date.now()}}function EE(e,t){const n=e.at(-1);if(n!==void 0&&n.role===Xe.ASSISTANT){const r={...n,content:n.content+t};return[...e.slice(0,-1),r]}return[...e,xE(t)]}function wE(e,t){return e.some(r=>r.role===Xe.TOOL&&r.callId===t.callId)?e.map(r=>r.role!==Xe.TOOL||r.callId!==t.callId?r:{...r,toolName:t.toolName,args:t.args}):[...e,kE(t)]}function AE(e,t){return e.map(n=>n.role!==Xe.TOOL||n.callId!==t.callId?n:{...n,status:t.status,result:t.result})}function CE(e){return e===ft.SUCCESS?ft.SUCCESS:e===ft.ERROR?ft.ERROR:ft.PENDING}function ah(e){try{return JSON.parse(e)}catch{return e}}function SE(e){return{id:Sn(),role:Xe.USER,content:e.content,attachments:e.attachments,timestampMs:e.timestampMs}}function TE(e){return{id:Sn(),role:Xe.ASSISTANT,content:e.content,timestampMs:e.timestampMs}}function DE(e){return e.callId===void 0||e.toolName===void 0?null:{id:Sn(),role:Xe.TOOL,callId:e.callId,toolName:e.toolName,args:ah(e.content),status:ft.PENDING,timestampMs:e.timestampMs}}function OE(e,t,n){if(n.callId===void 0)return;const r=ah(n.content),o=CE(n.status),u=t.get(n.callId);if(u!==void 0){u.result=r,u.status=o;return}e.push({id:Sn(),role:Xe.TOOL,callId:n.callId,toolName:"",args:void 0,result:r,status:o,timestampMs:n.timestampMs})}function IE(e,t,n){if(n.role===Xe.USER){e.push(SE(n));return}if(n.role===Xe.ASSISTANT){e.push(TE(n));return}if(n.role===Nv){const r=DE(n);if(r===null)return;e.push(r),t.set(r.callId,r);return}n.role===$v&&OE(e,t,n)}function RE(e){const t=[],n=new Map;for(const r of e)IE(t,n,r);return t}function FE(e){return{id:Sn(),role:Xe.ASSISTANT,content:`${jv}${e}`,timestampMs:Date.now()}}function ch(e){return e!==null&&typeof e=="object"}function ME(e){if(!ch(e))return null;const t=e.type;return typeof t=="string"?t:null}function PE(e){if(!ch(e))return null;const t=e.conversationId;return typeof t=="string"?t:null}function LE(e){return{requestId:e.requestId,conversationId:e.conversationId,toolName:e.toolName,args:e.args,summary:e.summary}}function NE(e){return{requestId:e.requestId,conversationId:e.conversationId,questions:e.questions}}function $E(e){const t=e.activeId,n=K([]),r=K(!1),o=K([]),u=(m,g)=>{const _=g.map(b=>({name:b.name,mimeType:b.mimeType,size:b.size,dataUrl:b.dataUrl}));n.value=[...n.value,Hf(m,_.length>0?_:void 0)]},s=(m,g)=>{e.send({type:tn.USER_MESSAGE,conversationId:t.value,content:m,...g.length>0?{attachments:g.map(_=>({name:_.name,mimeType:_.mimeType,size:_.size,data:_.data}))}:{}})},i=()=>{r.value=o.value.length>0},l={[Ft.ASSISTANT_MESSAGE_CHUNK]:m=>{n.value=EE(n.value,m.text)},[Ft.TOOL_CALL_START]:m=>{n.value=wE(n.value,m)},[Ft.TOOL_CALL_END]:m=>{n.value=AE(n.value,m)},[Ft.RUN_DONE]:m=>{i()},[Ft.RUN_RESUMED]:m=>{r.value=!0},[Ft.RUN_ERROR]:m=>{n.value=[...n.value,FE(m.error)],i()},[Ft.CONVERSATION_SNAPSHOT]:m=>{n.value=RE(m.messages),r.value=!1},[Ft.PERMISSION_REQUEST]:m=>{e.onPermissionRequest!==void 0&&e.onPermissionRequest(LE(m))},[Ft.ASK_QUESTION]:m=>{e.onQuestionRequest!==void 0&&e.onQuestionRequest(NE(m))},[Ft.QUEUE_STATE]:m=>{o.value=m.items.map(g=>({id:g.id,content:g.content,attachments:(g.attachments??[]).map(_=>({id:Sn(),name:_.name,mimeType:_.mimeType,size:_.size,data:_.data,dataUrl:`data:${_.mimeType};base64,${_.data}`}))}))},[Ft.USER_MESSAGE_ECHO]:m=>{const g=(m.attachments??[]).map(_=>({name:_.name,mimeType:_.mimeType,size:_.size,dataUrl:""}));n.value=[...n.value,Hf(m.content,g.length>0?g:void 0)]}},a=m=>{const g=ME(m);if(g===null)return;const _=l[g];if(_===void 0)return;const b=PE(m);b!==null&&b!==t.value||_(m)};e.onMessage(a);const c=m=>m.map(g=>({name:g.name,mimeType:g.mimeType,size:g.size,data:g.data}));return{messages:n,isRunning:r,queued:o,sendUserMessage:(m,g=[])=>{const _=m.trim();if(!(_.length===0&&g.length===0)){if(r.value){const b=c(g);e.send({type:tn.QUEUE_ENQUEUE,conversationId:t.value,item:{id:Sn(),content:_,...b.length>0?{attachments:b}:{}}});return}u(_,g),r.value=!0,s(_,g)}},cancelQueued:m=>{e.send({type:tn.QUEUE_CANCEL,conversationId:t.value,id:m})},interrupt:()=>{r.value&&e.send({type:tn.INTERRUPT_TURN,conversationId:t.value})},reset:()=>{n.value=[],r.value=!1,o.value=[]}}}function zE(e){return e!==null&&typeof e=="object"}function BE(e){if(!zE(e))return null;const t=e.type;return typeof t=="string"?t:null}function qE(e){const t=K([]);return e.onMessage(o=>{BE(o)===Ft.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 UE="dms-ai:theme",jE="dms-ai:ready",HE=["50","100","200","300","400","500","600","700","800","900","950"];function VE(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 HE){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 WE(){const e=t=>{if(t.source!==globalThis.parent)return;const n=t.data;(n==null?void 0:n.type)===UE&&VE(n)};At(()=>{var t;globalThis.addEventListener("message",e),(t=globalThis.parent)==null||t.postMessage({type:jE},"*")}),cu(()=>{globalThis.removeEventListener("message",e)})}function GE(){try{return window.localStorage.getItem(Sp)}catch{return null}}function fh(e){try{window.localStorage.setItem(Sp,e)}catch{return}}function KE(){const e=GE();if(e!==null&&e.length>0)return e;const t=crypto.randomUUID();return fh(t),t}function YE(e){fh(e)}function ZE(){return crypto.randomUUID()}function Vf(e,t){return{type:tn.PERMISSION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,decision:t}}function QE(e){const t=K([]);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(Vf(l,i)),t.value=t.value.filter(a=>a.requestId!==s))},respondAll:s=>{for(const i of t.value)e.send(Vf(i,s));t.value=[]},clear:()=>{t.value=[]}}}function XE(e,t){return{type:tn.QUESTION_RESPONSE,conversationId:e.conversationId,requestId:e.requestId,answers:t}}function JE(e){const t=K([]);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(XE(i,s)),t.value=t.value.filter(l=>l.requestId!==u))},clear:()=>{t.value=[]}}}const ew={mode:"normal",thinking:"medium",generationMode:"safe",allowLocalSkills:!1,builderAvailable:!1},Wf="Settings",tw="i-ph-gear-six-light",nw="i-ph-x-light",rw="Mode",ow=[{value:"normal",label:"Normal"},{value:"acceptEdits",label:"Accept edits"},{value:"plan",label:"Plan"},{value:"auto",label:"Auto"}],uw={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"};function sw(e){return e!==null&&typeof e=="object"}function iw(e){if(!sw(e))return null;const t=e.type;return typeof t=="string"?t:null}function lw(e){const t=K({...ew});return e.onMessage(r=>{if(iw(r)!==Ft.SETTINGS_UPDATE)return;const o=r;t.value={...o.settings,builderAvailable:o.builderAvailable??!1}}),{settings:t,update:r=>{const o={...t.value,...r};t.value=o,e.send({type:tn.SET_SETTINGS,mode:o.mode,thinking:o.thinking,generationMode:o.generationMode,allowLocalSkills:o.allowLocalSkills})}}}function aw(){return{index:0}}function cw(e,t){const n=Math.min(e.index,t.length-1),r=t[n];return e.index+=1,r}function dh(e){e.index=0}function fw(e){return`${window.location.protocol===C6?of.SECURE:of.INSECURE}//${window.location.host}${e}`}function dw(e){return{type:tn.HELLO,role:w6.IFRAME,conversationId:e}}function pw(e){try{return JSON.parse(e)}catch{return null}}function hw(e,t){const n=()=>t.onOpen(),r=u=>{const s=pw(u.data);s!==null&&t.onMessage(s)},o=()=>t.onClose();return e.addEventListener("open",n),e.addEventListener("message",r),e.addEventListener("close",o),()=>{e.removeEventListener("open",n),e.removeEventListener("message",r),e.removeEventListener("close",o)}}function mw(e,t){const n=new URLSearchParams(window.location.hash.slice(1)).get("token"),r=new WebSocket(e,n?`dms-ai.${n}`:[]),o=hw(r,t);return{socket:r,teardown:()=>{o(),r.close()}}}function gw(){const e=new Set;return{register:r=>(e.add(r),()=>{e.delete(r)}),dispatch:r=>{for(const o of e)o(r)}}}function ph(e,t){e.readyState===WebSocket.OPEN&&e.send(JSON.stringify(dw(t)))}function bw(e){dh(e.backoff),e.isConnected.value=!0,e.connectionStatus.value=Gt.CONNECTED;const t=e.getConnection();t!==null&&ph(t.socket,e.getConversationId())}function yw(e){if(e.isConnected.value=!1,e.getIntentionallyClosed()){e.connectionStatus.value=Gt.DISCONNECTED;return}e.connectionStatus.value=Gt.RECONNECTING;const t=cw(e.backoff,S6);setTimeout(()=>bl(e),t)}function bl(e){if(e.getIntentionallyClosed())return;const t=mw(e.url,{onOpen:()=>bw(e),onMessage:n=>e.dispatch(n),onClose:()=>yw(e)});e.setConnection(t)}function _w(e,t){return{url:fw(e.path),getConversationId:e.getConversationId,backoff:aw(),dispatch:t.dispatch,connectionStatus:t.connectionStatus,isConnected:t.isConnected,getIntentionallyClosed:t.getIntentionallyClosed,setConnection:t.setConnection,getConnection:t.getConnection}}function vw(e){const t=K(!1),n=K(Gt.CONNECTING),r=gw();let o=null,u=!1,s=null;const i=c=>{o!==null&&o.socket.readyState===WebSocket.OPEN&&o.socket.send(JSON.stringify(c))},l=()=>{o!==null&&ph(o.socket,e.getConversationId())},a=()=>{s!==null&&(u=!1,dh(s.backoff),o!==null&&(o.teardown(),o=null),t.value=!1,n.value=Gt.CONNECTING,bl(s))};return At(()=>{s=_w(e,{isConnected:t,connectionStatus:n,dispatch:r.dispatch,getIntentionallyClosed:()=>u,setConnection:c=>{o=c},getConnection:()=>o}),n.value=Gt.CONNECTING,bl(s)}),cu(()=>{u=!0,o!==null&&(o.teardown(),o=null,n.value=Gt.DISCONNECTED)}),{send:i,onMessage:r.register,reconnect:a,reidentify:l,isConnected:t,connectionStatus:n}}const xw={class:"chatbox"},kw={class:"chatbox-header"},Ew={class:"chatbox-titlewrap"},ww=["data-connected"],Aw=["aria-label","title"],Cw=["aria-label","title"],Sw={class:"chatbox-modebar"},Tw={class:"modebar-label"},Dw=80,Ow=ye({__name:"App",setup(e){const t={connecting:"connecting…",connected:"connected",reconnecting:"reconnecting…",disconnected:"disconnected"};WE();const n=K(KE()),r=vw({path:k6,getConversationId:()=>n.value}),o=QE({send:r.send}),u=JE({send:r.send}),s=$E({activeId:n,send:r.send,onMessage:r.onMessage,onPermissionRequest:o.enqueue,onQuestionRequest:u.enqueue}),i=qE({send:r.send,onMessage:r.onMessage}),l=lw({send:r.send,onMessage:r.onMessage}),a=K(!1),c=K(Date.now());function f(){r.send({type:tn.REQUEST_HOST_NAVIGATE,path:E6})}const h=F({get:()=>l.settings.value.mode,set:H=>{H!==l.settings.value.mode&&l.update({mode:H})}});function d(){var H;(H=globalThis.parent)==null||H.postMessage({type:"dms-ai:close"},"*")}function p(){c.value=Date.now(),i.refresh()}function m(){p(),a.value=!0}function g(){a.value=!1}function _(H){g(),H!==n.value&&(n.value=H,YE(H),s.reset(),o.clear(),u.clear(),r.reidentify())}function b(){_(ZE())}function E(H){const ae=H===n.value;i.remove(H),ae&&b()}r.onMessage(H=>{typeof H=="object"&&H!==null&&H.type===Ft.RUN_DONE&&a.value&&p()});const y=F(()=>t[r.connectionStatus.value]),A=F(()=>ix(s.messages.value)),C=K(null);function S(H){return H.scrollHeight-H.scrollTop-H.clientHeight<=Dw}function T(){const H=C.value;H!==null&&(H.scrollTop=H.scrollHeight)}Ke(()=>[s.messages.value,s.isRunning.value],()=>{const H=C.value;(H===null||S(H))&&pt(T)}),At(()=>{pt(T)});function B(H,ae){s.sendUserMessage(H,ae)}function Y(){s.interrupt(),o.clear(),u.clear()}function fe(){r.reconnect()}return(H,ae)=>{const $=Un,z=Mv;return I(),V("main",xw,[L("header",kw,[ae[4]||(ae[4]=L("span",{class:"chatbox-logo","aria-hidden":"true"},"✦",-1)),L("div",Ew,[ae[3]||(ae[3]=L("b",{class:"chatbox-title"},"AntelopeJS Assistant",-1)),L("span",{class:"chatbox-status","data-connected":x(r).isConnected.value,"aria-live":"polite"},[ae[2]||(ae[2]=L("i",{class:"chatbox-status-dot"},null,-1)),en(le(y.value),1)],8,ww)]),L("button",{type:"button",class:"chatbox-ibtn","aria-label":x(sf),title:x(sf),onClick:m},[me($,{name:x(L6),class:"size-[18px]"},null,8,["name"])],8,Aw),L("button",{type:"button",class:"chatbox-ibtn","aria-label":x(Wf),title:x(Wf),onClick:f},[me($,{name:x(tw),class:"size-[18px]"},null,8,["name"])],8,Cw),L("button",{type:"button",class:"chatbox-ibtn","aria-label":"Close",title:"Close",onClick:d},[me($,{name:x(nw),class:"size-[18px]"},null,8,["name"])])]),L("div",Sw,[L("span",Tw,le(x(rw)),1),me(z,{modelValue:h.value,"onUpdate:modelValue":ae[0]||(ae[0]=M=>h.value=M),items:x(ow),variant:"ghost",size:"sm",title:x(uw)[x(l).settings.value.mode],class:"font-semibold text-primary"},null,8,["modelValue","items","title"])]),me(I6,{status:x(r).connectionStatus.value,onReconnect:fe},null,8,["status"]),L("section",{ref_key:"scrollContainer",ref:C,class:"chatbox-body"},[me(E5,{messages:x(s).messages.value,"is-running":x(s).isRunning.value},null,8,["messages","is-running"])],512),x(o).queue.value.length>0?(I(),ie($5,{key:0,requests:x(o).queue.value,onDecide:x(o).respond,onDecideAll:x(o).respondAll},null,8,["requests","onDecide","onDecideAll"])):ve("",!0),x(u).queue.value.length>0?(I(),ie(X5,{key:1,requests:x(u).queue.value,onAnswer:x(u).respond},null,8,["requests","onAnswer"])):ve("",!0),A.value.length>0?(I(),ie(vE,{key:2,todos:A.value},null,8,["todos"])):ve("",!0),x(s).queued.value.length>0?(I(),ie(oE,{key:3,queue:x(s).queued.value,onCancel:x(s).cancelQueued},null,8,["queue","onCancel"])):ve("",!0),me(v6,{"is-disabled":!x(r).isConnected.value,"is-running":x(s).isRunning.value,"generation-mode":x(l).settings.value.generationMode,"builder-available":x(l).settings.value.builderAvailable,onSubmit:B,onStop:Y,"onUpdate:generationMode":ae[1]||(ae[1]=M=>x(l).update({generationMode:M}))},null,8,["is-disabled","is-running","generation-mode","builder-available"]),me(nx,{open:a.value,conversations:x(i).conversations.value,"active-id":n.value,"now-ms":c.value,onSelect:_,onDelete:E,onNew:b,onClose:g},null,8,["open","conversations","active-id","now-ms"])])}}}),Iw=ln(Ow,[["__scopeId","data-v-81b06501"]]),Rw=new URLSearchParams(globalThis.location.search).get("theme");Rw==="dark"&&document.documentElement.classList.add("dark");Sg(Iw).use(_b).mount(A6);