wherdr 1.3.3 → 2.0.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 (252) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/BDNMzG2s.js +1 -0
  3. package/.output/public/_nuxt/BETID3_E.js +1 -0
  4. package/.output/public/_nuxt/BHenDMeH.js +1 -0
  5. package/.output/public/_nuxt/BYZVrreW.js +1 -0
  6. package/.output/public/_nuxt/BhgehRdJ.js +1 -0
  7. package/.output/public/_nuxt/{yzABg5xl.js → Bpoxvzh6.js} +1 -1
  8. package/.output/public/_nuxt/BtH82ZuZ.js +9 -0
  9. package/.output/public/_nuxt/C25ROUa9.js +3 -0
  10. package/.output/public/_nuxt/C3Bkn4ac.js +62 -0
  11. package/.output/public/_nuxt/CDWjMk9C.js +2 -0
  12. package/.output/public/_nuxt/{Ci8N4mWR.js → CXJnLmWv.js} +1 -1
  13. package/.output/public/_nuxt/CuUQ4mEf.js +1 -0
  14. package/.output/public/_nuxt/DFGEl0v2.js +23 -0
  15. package/.output/public/_nuxt/{CKhgznq4.js → DFmgQVme.js} +42 -39
  16. package/.output/public/_nuxt/DZGKxROq.js +6 -0
  17. package/.output/public/_nuxt/DmkWvmnE.js +2 -0
  18. package/.output/public/_nuxt/DrKKeFFE.js +31 -0
  19. package/.output/public/_nuxt/DyfFwwGq.js +1 -0
  20. package/.output/public/_nuxt/FaNto0ga.js +105 -0
  21. package/.output/public/_nuxt/NIF0VwHk.js +25 -0
  22. package/.output/public/_nuxt/R0Y4VoeX.js +1 -0
  23. package/.output/public/_nuxt/board.CEEcFc6M.css +1 -0
  24. package/.output/public/_nuxt/builds/latest.json +1 -1
  25. package/.output/public/_nuxt/builds/meta/0b28b3e9-664e-4347-a35b-afb0a711d5c5.json +1 -0
  26. package/.output/public/_nuxt/entry.CKoXcwRa.css +2 -0
  27. package/.output/public/_nuxt/pdf.min.t82Z80JU.mjs +28 -0
  28. package/.output/public/_nuxt/pdf.worker.min.wgc6bjNh.mjs +28 -0
  29. package/.output/public/_nuxt/settings.Cdb21nNw.css +1 -0
  30. package/.output/public/sw.js +1 -1
  31. package/.output/server/chunks/_/branding.mjs +1 -1
  32. package/.output/server/chunks/_/changes.mjs +4 -4
  33. package/.output/server/chunks/_/fileDownload.mjs +278 -0
  34. package/.output/server/chunks/_/files.mjs +60 -20
  35. package/.output/server/chunks/_/machineOrder.mjs +1 -1
  36. package/.output/server/chunks/_/onboarding.mjs +1 -1
  37. package/.output/server/chunks/_/package.mjs +11 -3
  38. package/.output/server/chunks/_/plugins.mjs +92 -122
  39. package/.output/server/chunks/_/restart.mjs +1 -1
  40. package/.output/server/chunks/_/selfupdate.mjs +1 -1
  41. package/.output/server/chunks/_/settingstabs.mjs +36 -0
  42. package/.output/server/chunks/_/updates.mjs +1 -1
  43. package/.output/server/chunks/_/worktrees.mjs +1 -1
  44. package/.output/server/chunks/_/ws.mjs +43 -6
  45. package/.output/server/chunks/nitro/nitro.mjs +14126 -10238
  46. package/.output/server/chunks/raw/check-doc-links.mjs +5 -0
  47. package/.output/server/chunks/raw/check-leaks.mjs +1 -1
  48. package/.output/server/chunks/raw/check-release-notes.mjs +5 -0
  49. package/.output/server/chunks/raw/herdr-plugin.mjs +1 -1
  50. package/.output/server/chunks/raw/install-claude-statusline.mjs +1 -1
  51. package/.output/server/chunks/raw/prerelease-summary.mjs +5 -0
  52. package/.output/server/chunks/raw/prerelease.mjs +7 -0
  53. package/.output/server/chunks/raw/reveal.mjs +1 -1
  54. package/.output/server/chunks/raw/test-affected.mjs +5 -0
  55. package/.output/server/chunks/routes/api/_..._.mjs +6 -5
  56. package/.output/server/chunks/routes/api/agents.post.mjs +6 -5
  57. package/.output/server/chunks/routes/api/ask-tab.post.mjs +6 -5
  58. package/.output/server/chunks/routes/api/attach.post.mjs +6 -5
  59. package/.output/server/chunks/routes/api/auth/disable.post.mjs +6 -5
  60. package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +6 -5
  61. package/.output/server/chunks/routes/api/auth/lock.post.mjs +6 -5
  62. package/.output/server/chunks/routes/api/auth/login/options.post.mjs +6 -5
  63. package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +6 -5
  64. package/.output/server/chunks/routes/api/auth/max-session.post.mjs +6 -5
  65. package/.output/server/chunks/routes/api/auth/register/options.post.mjs +6 -5
  66. package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +6 -5
  67. package/.output/server/chunks/routes/api/auth/status.get.mjs +6 -5
  68. package/.output/server/chunks/routes/api/changes.get.mjs +7 -6
  69. package/.output/server/chunks/routes/api/chat/image.get.mjs +7 -6
  70. package/.output/server/chunks/routes/api/chat.get.mjs +44 -11
  71. package/.output/server/chunks/routes/api/choose.post.mjs +44 -30
  72. package/.output/server/chunks/routes/api/claude-setup.post.mjs +42 -0
  73. package/.output/server/chunks/routes/api/claude-statusline.post.mjs +7 -6
  74. package/.output/server/chunks/routes/api/clear-queued-input.post.mjs +42 -0
  75. package/.output/server/chunks/routes/api/close/status.get.mjs +7 -6
  76. package/.output/server/chunks/routes/api/close.post.mjs +6 -5
  77. package/.output/server/chunks/routes/api/codex-update.post.mjs +7 -6
  78. package/.output/server/chunks/routes/api/commands.get.mjs +9 -7
  79. package/.output/server/chunks/routes/api/config.get.mjs +10 -13
  80. package/.output/server/chunks/routes/api/dirs.get.mjs +7 -6
  81. package/.output/server/chunks/routes/api/dismiss-stopped.post.mjs +7 -6
  82. package/.output/server/chunks/routes/api/dismiss.post.mjs +7 -6
  83. package/.output/server/chunks/routes/api/effort.post.mjs +7 -6
  84. package/.output/server/chunks/routes/api/efforts.get.mjs +7 -6
  85. package/.output/server/chunks/routes/api/file.post.mjs +7 -6
  86. package/.output/server/chunks/routes/api/files/download.get.mjs +12 -24
  87. package/.output/server/chunks/routes/api/files/download.head.mjs +41 -0
  88. package/.output/server/chunks/routes/api/files/read.get.mjs +8 -7
  89. package/.output/server/chunks/routes/api/files.get.mjs +7 -6
  90. package/.output/server/chunks/routes/api/health.get.mjs +6 -5
  91. package/.output/server/chunks/routes/api/input.post.mjs +33 -15
  92. package/.output/server/chunks/routes/api/interrupt.post.mjs +24 -21
  93. package/.output/server/chunks/routes/api/isgit.get.mjs +8 -8
  94. package/.output/server/chunks/routes/api/machine/awake.get.mjs +7 -6
  95. package/.output/server/chunks/routes/api/machine/awake.post.mjs +7 -6
  96. package/.output/server/chunks/routes/api/machine/order.get.mjs +6 -5
  97. package/.output/server/chunks/routes/api/machine/order.post.mjs +6 -5
  98. package/.output/server/chunks/routes/api/machine/reconnect.post.mjs +40 -0
  99. package/.output/server/chunks/routes/api/machine/rename.post.mjs +7 -6
  100. package/.output/server/chunks/routes/api/machine/status.post.mjs +39 -0
  101. package/.output/server/chunks/routes/api/menu-left.post.mjs +40 -0
  102. package/.output/server/chunks/routes/api/menu.post.mjs +10 -6
  103. package/.output/server/chunks/routes/api/model.post.mjs +7 -6
  104. package/.output/server/chunks/routes/api/models.get.mjs +7 -6
  105. package/.output/server/chunks/routes/api/nav.post.mjs +40 -26
  106. package/.output/server/chunks/routes/api/onboarding.get.mjs +6 -5
  107. package/.output/server/chunks/routes/api/onboarding.post.mjs +6 -5
  108. package/.output/server/chunks/routes/api/phone.get.mjs +8 -10
  109. package/.output/server/chunks/routes/api/phone.post.mjs +8 -10
  110. package/.output/server/chunks/routes/api/plugins/actions.get.mjs +6 -8
  111. package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +6 -8
  112. package/.output/server/chunks/routes/api/plugins/projects.get.mjs +10 -8
  113. package/.output/server/chunks/routes/api/plugins/projects.post.mjs +11 -7
  114. package/.output/server/chunks/routes/api/prompt.post.mjs +22 -13
  115. package/.output/server/chunks/routes/api/push/quiet.post.mjs +7 -6
  116. package/.output/server/chunks/routes/api/push/subscribe.post.mjs +7 -7
  117. package/.output/server/chunks/routes/api/push/test.post.mjs +7 -6
  118. package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +7 -6
  119. package/.output/server/chunks/routes/api/quotas.get.mjs +7 -6
  120. package/.output/server/chunks/routes/api/rename.post.mjs +6 -5
  121. package/.output/server/chunks/routes/api/requeue.post.mjs +7 -6
  122. package/.output/server/chunks/routes/api/restart.get.mjs +6 -5
  123. package/.output/server/chunks/routes/api/restart.post.mjs +6 -5
  124. package/.output/server/chunks/routes/api/reveal.post.mjs +91 -8
  125. package/.output/server/chunks/routes/api/screen-key.post.mjs +19 -15
  126. package/.output/server/chunks/routes/api/screen.get.mjs +8 -40
  127. package/.output/server/chunks/routes/api/search.get.mjs +7 -6
  128. package/.output/server/chunks/routes/api/seen.post.mjs +7 -6
  129. package/.output/server/chunks/routes/api/sessions.get.mjs +7 -6
  130. package/.output/server/chunks/routes/api/sessions.post.mjs +7 -6
  131. package/.output/server/chunks/routes/api/settings-tab.post.mjs +90 -0
  132. package/.output/server/chunks/routes/api/{plugins/thread-limits.get.mjs → settings.get.mjs} +10 -9
  133. package/.output/server/chunks/routes/api/settings.post.mjs +40 -0
  134. package/.output/server/chunks/routes/api/space.post.mjs +34 -18
  135. package/.output/server/chunks/routes/api/state.get.mjs +7 -6
  136. package/.output/server/chunks/routes/api/tasks/action.post.mjs +39 -0
  137. package/.output/server/chunks/routes/api/{plugins/profiles.get.mjs → tasks/add.post.mjs} +12 -14
  138. package/.output/server/chunks/routes/api/tasks/after.post.mjs +39 -0
  139. package/.output/server/chunks/routes/api/tasks/approve.post.mjs +39 -0
  140. package/.output/server/chunks/routes/api/{project/report.get.mjs → tasks/archived.get.mjs} +12 -13
  141. package/.output/server/chunks/routes/api/{gitroot.get.mjs → tasks/autopilot.get.mjs} +13 -14
  142. package/.output/server/chunks/routes/api/tasks/autopilot.post.mjs +39 -0
  143. package/.output/server/chunks/routes/api/{index.get.mjs → tasks/board-settings.get.mjs} +12 -13
  144. package/.output/server/chunks/routes/api/tasks/board-settings.post.mjs +39 -0
  145. package/.output/server/chunks/routes/api/tasks/coordinator.get.mjs +40 -0
  146. package/.output/server/chunks/routes/api/tasks/coordinator.post.mjs +39 -0
  147. package/.output/server/chunks/routes/api/tasks/details.get.mjs +40 -0
  148. package/.output/server/chunks/routes/api/tasks/limit.post.mjs +39 -0
  149. package/.output/server/chunks/routes/api/tasks/links.get.mjs +39 -0
  150. package/.output/server/chunks/routes/api/tasks/models.get.mjs +40 -0
  151. package/.output/server/chunks/routes/api/tasks/pick.post.mjs +39 -0
  152. package/.output/server/chunks/routes/api/tasks/question.post.mjs +39 -0
  153. package/.output/server/chunks/routes/api/tasks/scheduled.get.mjs +40 -0
  154. package/.output/server/chunks/routes/api/{project → tasks}/settings.get.mjs +10 -11
  155. package/.output/server/chunks/routes/api/tasks/start.get.mjs +40 -0
  156. package/.output/server/chunks/routes/api/tasks/tell.post.mjs +39 -0
  157. package/.output/server/chunks/routes/api/tasks.get.mjs +39 -0
  158. package/.output/server/chunks/routes/api/unqueue.post.mjs +7 -6
  159. package/.output/server/chunks/routes/api/update/status.get.mjs +6 -5
  160. package/.output/server/chunks/routes/api/update.get.mjs +8 -10
  161. package/.output/server/chunks/routes/api/update.post.mjs +8 -10
  162. package/.output/server/chunks/routes/api/upload.post.mjs +7 -6
  163. package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +6 -5
  164. package/.output/server/chunks/routes/api/worktrees.get.mjs +6 -5
  165. package/.output/server/chunks/routes/favicon.ico.get.mjs +6 -5
  166. package/.output/server/chunks/routes/icons/_name_.get.mjs +7 -6
  167. package/.output/server/chunks/routes/renderer.mjs +8 -7
  168. package/.output/server/chunks/routes/uploads/_...name_.get.mjs +7 -6
  169. package/.output/server/chunks/routes/ws/_..._.mjs +7 -6
  170. package/.output/server/chunks/routes/ws/events.mjs +9 -7
  171. package/.output/server/chunks/routes/ws/term.mjs +7 -6
  172. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  173. package/.output/server/index.mjs +7 -6
  174. package/.output/server/package.json +1 -1
  175. package/README.md +44 -1424
  176. package/bin/lib/commands.mjs +44 -9
  177. package/bin/lib/panel.mjs +3 -11
  178. package/bin/lib/service.mjs +41 -2
  179. package/bin/lib/skill.mjs +1 -1
  180. package/bin/lib/tailnet.d.mts +6 -3
  181. package/bin/lib/tailnet.mjs +70 -32
  182. package/bin/lib/userpath.d.mts +14 -0
  183. package/bin/lib/userpath.mjs +142 -0
  184. package/docs/README.md +58 -0
  185. package/docs/RELEASING.md +174 -0
  186. package/docs/board.md +164 -0
  187. package/docs/command.md +58 -0
  188. package/docs/configuration.md +39 -0
  189. package/docs/conversation.md +132 -0
  190. package/docs/development.md +38 -0
  191. package/docs/devices.md +58 -0
  192. package/docs/files.md +29 -0
  193. package/docs/herdr-projects-1x.md +278 -0
  194. package/docs/home.md +52 -0
  195. package/docs/installation.md +174 -0
  196. package/docs/machines.md +69 -0
  197. package/docs/migrate-from-1.x-docker.md +160 -0
  198. package/docs/networks.md +154 -0
  199. package/docs/notifications.md +83 -0
  200. package/docs/overview.md +71 -0
  201. package/docs/phone.md +26 -0
  202. package/docs/plugins.md +109 -0
  203. package/docs/quick-start.md +89 -0
  204. package/docs/quotas.md +65 -0
  205. package/docs/release-notes-2.0.0.md +84 -0
  206. package/docs/security.md +117 -0
  207. package/docs/terminal.md +15 -0
  208. package/docs/troubleshooting.md +45 -0
  209. package/package.json +11 -3
  210. package/skills/wherdr/SKILL.md +24 -167
  211. package/.output/public/_nuxt/B4Yk2tB1.js +0 -23
  212. package/.output/public/_nuxt/BBw_0a4M.js +0 -6
  213. package/.output/public/_nuxt/BSy6OCIY.js +0 -1
  214. package/.output/public/_nuxt/BX5PM2JQ.js +0 -1
  215. package/.output/public/_nuxt/BgPDnf2S.js +0 -1
  216. package/.output/public/_nuxt/BkOxQzbS.js +0 -2
  217. package/.output/public/_nuxt/CP8o925U.js +0 -1
  218. package/.output/public/_nuxt/CWwyK2XK.js +0 -2
  219. package/.output/public/_nuxt/CkbmecwS.js +0 -1
  220. package/.output/public/_nuxt/Cr3SrGky.js +0 -1
  221. package/.output/public/_nuxt/DAg9fiVh.js +0 -89
  222. package/.output/public/_nuxt/DT8qZ0Wv.js +0 -1
  223. package/.output/public/_nuxt/DaaJIRB3.js +0 -1
  224. package/.output/public/_nuxt/DcJi16XA.js +0 -1
  225. package/.output/public/_nuxt/SiL1FJ5s.js +0 -3
  226. package/.output/public/_nuxt/VpjCgSXu.js +0 -36
  227. package/.output/public/_nuxt/builds/meta/c735b6c0-1bd0-47d7-a208-d310f0a06287.json +0 -1
  228. package/.output/public/_nuxt/dPxB2L94.js +0 -89
  229. package/.output/public/_nuxt/entry.CGWKmYU3.css +0 -2
  230. package/.output/public/_nuxt/xYX85SPI.js +0 -1
  231. package/.output/server/chunks/_/pluginPolicy.mjs +0 -93
  232. package/.output/server/chunks/_/projectBoard.mjs +0 -366
  233. package/.output/server/chunks/_/projectDocs.mjs +0 -106
  234. package/.output/server/chunks/_/projectInbox.mjs +0 -135
  235. package/.output/server/chunks/_/projectThreads.mjs +0 -46
  236. package/.output/server/chunks/_/projectThreads2.mjs +0 -61
  237. package/.output/server/chunks/_/projectsActions.mjs +0 -143
  238. package/.output/server/chunks/_/projectsPlugin.mjs +0 -56
  239. package/.output/server/chunks/_/reveal.mjs +0 -115
  240. package/.output/server/chunks/raw/dev.wherdr.open.mjs +0 -7
  241. package/.output/server/chunks/raw/docker-entrypoint.mjs +0 -7
  242. package/.output/server/chunks/raw/install-host-open.mjs +0 -7
  243. package/.output/server/chunks/raw/wherdr-open.mjs +0 -7
  244. package/.output/server/chunks/routes/api/board.get.mjs +0 -147
  245. package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +0 -45
  246. package/.output/server/chunks/routes/api/project/inbox.get.mjs +0 -43
  247. package/.output/server/chunks/routes/api/project/inbox.post.mjs +0 -43
  248. package/.output/server/chunks/routes/api/project/memory.get.mjs +0 -42
  249. package/.output/server/chunks/routes/api/project/routines.get.mjs +0 -43
  250. package/.output/server/chunks/routes/api/project/thread.get.mjs +0 -44
  251. package/.output/server/chunks/routes/api/project/thread.post.mjs +0 -45
  252. package/bin/install-docker-skill.sh +0 -20
@@ -0,0 +1,3 @@
1
+ var e=Error.captureStackTrace,t=class t extends Error{name;code;docs;fix;sources;data;get why(){return this.message}constructor(n,r=t){super(n.why,{cause:n.cause}),this.code=this.name=n.code,this.fix=n.fix,this.docs=n.docs,this.sources=n.sources,this.data=n.data,e?.(this,r)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,data:this.data,stack:this.stack}}};function n(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function r(e={}){let{docsBase:r,reporters:i=[]}=e;return new Proxy({},{get(e,a){if(typeof a!=`string`)return;let o=(e={},s={})=>{let c=n(r,a),l=new t({code:a,why:c??``,docs:c,cause:e.cause,sources:e.sources},o);for(let e of i)e(l,s);return l};return o}})}function i(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var a=[e=>{console.error(`[${e.name}]`)}],o=r({docsBase:i,reporters:a});function s(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var c={},l=[],u=()=>{},d=()=>!1,f=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),p=e=>e.startsWith(`onUpdate:`),m=Object.assign,h=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},g=Object.prototype.hasOwnProperty,_=(e,t)=>g.call(e,t),v=Array.isArray,y=e=>te(e)===`[object Map]`,b=e=>te(e)===`[object Set]`,x=e=>te(e)===`[object Date]`,S=e=>te(e)===`[object RegExp]`,C=e=>typeof e==`function`,w=e=>typeof e==`string`,T=e=>typeof e==`symbol`,E=e=>typeof e==`object`&&!!e,D=e=>(E(e)||C(e))&&C(e.then)&&C(e.catch),ee=Object.prototype.toString,te=e=>ee.call(e),ne=e=>te(e).slice(8,-1),re=e=>te(e)===`[object Object]`,ie=e=>w(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ae=s(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),oe=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},O=/-\w/g,k=oe(e=>e.replace(O,e=>e.slice(1).toUpperCase())),se=/\B([A-Z])/g,ce=oe(e=>e.replace(se,`-$1`).toLowerCase()),le=oe(e=>e.charAt(0).toUpperCase()+e.slice(1)),ue=oe(e=>e?`on${le(e)}`:``),A=(e,t)=>!Object.is(e,t),de=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},j=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},fe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},pe=e=>{let t=w(e)?Number(e):NaN;return isNaN(t)?e:t},me,he=()=>me||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},ge=s(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function _e(e){if(v(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=w(r)?xe(r):_e(r);if(i)for(let e in i)t[e]=i[e]}return t}if(w(e)||E(e))return e}var ve=/;(?![^(]*\))/g,ye=/:([^]+)/,be=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function xe(e){let t={};return e.replace(be,e=>e.startsWith(`/*`)?``:e).split(ve).forEach(e=>{if(e){let n=e.split(ye);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Se(e){let t=``;if(w(e))t=e;else if(v(e))for(let n=0;n<e.length;n++){let r=Se(e[n]);r&&(t+=r+` `)}else if(E(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function Ce(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=Se(t)),n&&(e.style=_e(n)),e}var we=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Te=s(we);we+``;function Ee(e){return!!e||e===``}function De(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=je(e[i],t[i],n);return r}function Oe(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&je(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function ke(e,t,n){let r=y(e),i=y(t);if(r||i||(r=b(e),i=b(t),r||i))return r&&i?Oe(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!je(e[r],t[r],n))return!1}return String(e)===String(t)}function Ae(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function je(e,t,n){if(e===t)return!0;let r=x(e),i=x(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=T(e),i=T(t),r||i?e===t:(r=v(e),i=v(t),r||i?r&&i?Ae(e,t,n,De):!1:(r=E(e),i=E(t),r||i?!r||!i?!1:Ae(e,t,n,ke):String(e)===String(t))))}function Me(e,t){return e.findIndex(e=>je(e,t))}var Ne=e=>!!(e&&e.__v_isRef===!0),Pe=e=>w(e)?e:e==null?``:v(e)||E(e)&&(e.toString===ee||!C(e.toString))?Ne(e)?Pe(e.value):JSON.stringify(e,Fe,2):String(e),Fe=(e,t)=>Ne(t)?Fe(e,t.value):y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ie(t,r)+` =>`]=n,e),{})}:b(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ie(e))}:T(t)?Ie(t):E(t)&&!v(t)&&!re(t)?String(t):t,Ie=(e,t=``)=>T(e)?`Symbol(${e.description??t})`:e;function Le(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var M,Re=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||(M.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function ze(e){return new Re(e)}function Be(){return M}function Ve(e,t=!1){M&&M.cleanups.push(e)}var N,He=new WeakSet,Ue=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,He.has(this)&&(He.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,st(this),Xe(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{Ze(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)et(e);this.deps=this.depsTail=void 0,st(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?He.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qe(this)&&this.run()}get dirty(){return Qe(this)}},We=0,Ge,Ke;function qe(e,t=!1){if(e.flags|=8,t){e.next=Ke,Ke=e;return}e.next=Ge,Ge=e}function Je(){We++}function Ye(){if(--We>0)return;if(Ke){let e=Ke;for(Ke=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ge;){let t=Ge;for(Ge=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Xe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ze(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),et(r),tt(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Qe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&($e(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function $e(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ct)||(e.globalVersion=ct,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qe(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Xe(e);let n=e.fn(e._value);(t.version===0||A(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,Ze(e),e.flags&=-3}}function et(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)et(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tt(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function nt(e,t){e.effect instanceof Ue&&(e=e.effect.fn);let n=new Ue(e);t&&m(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function rt(e){e.effect.stop()}var P=!0,it=[];function at(){it.push(P),P=!1}function ot(){let e=it.pop();P=e===void 0||e}function st(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var ct=0,lt=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},ut=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new lt(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,dt(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,ct++,this.notify(e)}notify(e){Je();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ye()}}};function dt(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)dt(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ft=new WeakMap,pt=Symbol(``),mt=Symbol(``),ht=Symbol(``);function F(e,t,n){if(P&&N){let t=ft.get(e);t||ft.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ut),r.map=t,r.key=n),r.track()}}function gt(e,t,n,r,i,a){let o=ft.get(e);if(!o){ct++;return}let s=e=>{e&&e.trigger()};if(Je(),t===`clear`)o.forEach(s);else{let i=v(e),a=i&&ie(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===ht||!T(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(ht)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(pt)),y(e)&&s(o.get(mt)));break;case`delete`:i||(s(o.get(pt)),y(e)&&s(o.get(mt)));break;case`set`:y(e)&&s(o.get(pt))}}Ye()}function _t(e,t){let n=ft.get(e);return n&&n.get(t)}function vt(e){let t=L(e);return t===e||(F(t,`iterate`,ht),I(e))?t:on(e)?an(e)?t.map(e=>ln(R(e))):t.map(ln):t.map(R)}function yt(e){return F(e=L(e),`iterate`,ht),e}function bt(e,t){return on(e)?ln(an(e)?R(t):t):R(t)}var xt={__proto__:null,[Symbol.iterator](){return St(this,Symbol.iterator,e=>bt(this,e))},concat(...e){return vt(this).concat(...e.map(e=>v(e)?vt(e):e))},entries(){return St(this,`entries`,e=>(e[1]=bt(this,e[1]),e))},every(e,t){return wt(this,`every`,e,t,void 0,arguments)},filter(e,t){return wt(this,`filter`,e,t,e=>e.map(e=>bt(this,e)),arguments)},find(e,t){return wt(this,`find`,e,t,e=>bt(this,e),arguments)},findIndex(e,t){return wt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return wt(this,`findLast`,e,t,e=>bt(this,e),arguments)},findLastIndex(e,t){return wt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return wt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Et(this,`includes`,e)},indexOf(...e){return Et(this,`indexOf`,e)},join(e){return vt(this).join(e)},lastIndexOf(...e){return Et(this,`lastIndexOf`,e)},map(e,t){return wt(this,`map`,e,t,void 0,arguments)},pop(){return Dt(this,`pop`)},push(...e){return Dt(this,`push`,e)},reduce(e,...t){return Tt(this,`reduce`,e,t)},reduceRight(e,...t){return Tt(this,`reduceRight`,e,t)},shift(){return Dt(this,`shift`)},some(e,t){return wt(this,`some`,e,t,void 0,arguments)},splice(...e){return Dt(this,`splice`,e)},toReversed(){return vt(this).toReversed()},toSorted(e){return vt(this).toSorted(e)},toSpliced(...e){return vt(this).toSpliced(...e)},unshift(...e){return Dt(this,`unshift`,e)},values(){return St(this,`values`,e=>bt(this,e))}};function St(e,t,n){let r=yt(e),i=r[t]();return r!==e&&!I(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var Ct=Array.prototype;function wt(e,t,n,r,i,a){let o=yt(e),s=o!==e&&!I(e),c=o[t];if(c!==Ct[t]){let t=c.apply(e,a);return s?R(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,bt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function Tt(e,t,n,r){let i=yt(e),a=i!==e&&!I(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=bt(e,t)),n.call(this,t,bt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?bt(e,c):c}function Et(e,t,n){let r=L(e);F(r,`iterate`,ht);let i=r[t](...n);return(i===-1||i===!1)&&sn(n[0])?(n[0]=L(n[0]),r[t](...n)):i}function Dt(e,t,n=[]){at(),Je();let r=L(e)[t].apply(e,n);return Ye(),ot(),r}var Ot=s(`__proto__,__v_isRef,__isVue`),kt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(T));function At(e){T(e)||(e=String(e));let t=L(this);return F(t,`has`,e),t.hasOwnProperty(e)}var jt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Zt:Xt:i?Yt:Jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=v(e);if(!r){let e;if(a&&(e=xt[t]))return e;if(t===`hasOwnProperty`)return At}let o=Reflect.get(e,t,z(e)?e:n);if((T(t)?kt.has(t):Ot(t))||(r||F(e,`get`,t),i))return o;if(z(o)){let e=a&&ie(t)?o:o.value;return r&&E(e)?tn(e):e}return E(o)?r?tn(o):$t(o):o}},Mt=class extends jt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=v(e)&&ie(t);if(!this._isShallow){let e=on(i);if(!I(n)&&!on(n)&&(i=L(i),n=L(n)),!a&&z(i)&&!z(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:_(e,t),s=Reflect.set(e,t,n,z(e)?e:r);return e===L(r)&&s&&(o?A(n,i)&&gt(e,`set`,t,n,i):gt(e,`add`,t,n)),s}deleteProperty(e,t){let n=_(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&gt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!T(t)||!kt.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,v(e)?`length`:pt),Reflect.ownKeys(e)}},Nt=class extends jt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Pt=new Mt,Ft=new Nt,It=new Mt(!0),Lt=new Nt(!0),Rt=e=>e,zt=e=>Reflect.getPrototypeOf(e);function Bt(e,t,n){return function(...r){let i=this.__v_raw,a=L(i),o=y(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Rt:t?ln:R;return!t&&F(a,`iterate`,c?mt:pt),m(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Vt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ht(e,t){let n={get(n){let r=this.__v_raw,i=L(r),a=L(n);e||(A(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=zt(i),s=t?Rt:e?ln:R;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(L(t),`iterate`,pt),t.size},has(t){let n=this.__v_raw,r=L(n),i=L(t);return e||(A(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=L(a),s=t?Rt:e?ln:R;return!e&&F(o,`iterate`,pt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return m(n,e?{add:Vt(`add`),set:Vt(`set`),delete:Vt(`delete`),clear:Vt(`clear`)}:{add(e){let n=L(this),r=zt(n),i=L(e),a=!t&&!I(e)&&!on(e)?i:e;return r.has.call(n,a)||A(e,a)&&r.has.call(n,e)||A(i,a)&&r.has.call(n,i)||(n.add(a),gt(n,`add`,a,a)),this},set(e,n){!t&&!I(n)&&!on(n)&&(n=L(n));let r=L(this),{has:i,get:a}=zt(r),o=i.call(r,e);o||=(e=L(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?A(n,s)&&gt(r,`set`,e,n,s):gt(r,`add`,e,n),this},delete(e){let t=L(this),{has:n,get:r}=zt(t),i=n.call(t,e);i||=(e=L(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&gt(t,`delete`,e,void 0,a),o},clear(){let e=L(this),t=e.size!==0,n=e.clear();return t&&gt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Bt(r,e,t)}),n}function Ut(e,t){let n=Ht(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(_(n,r)&&r in t?n:t,r,i)}var Wt={get:Ut(!1,!1)},Gt={get:Ut(!1,!0)},Kt={get:Ut(!0,!1)},qt={get:Ut(!0,!0)},Jt=new WeakMap,Yt=new WeakMap,Xt=new WeakMap,Zt=new WeakMap;function Qt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function $t(e){return on(e)?e:rn(e,!1,Pt,Wt,Jt)}function en(e){return rn(e,!1,It,Gt,Yt)}function tn(e){return rn(e,!0,Ft,Kt,Xt)}function nn(e){return rn(e,!0,Lt,qt,Zt)}function rn(e,t,n,r,i){if(!E(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Qt(ne(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function an(e){return on(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function on(e){return!!(e&&e.__v_isReadonly)}function I(e){return!!(e&&e.__v_isShallow)}function sn(e){return e?!!e.__v_raw:!1}function L(e){let t=e&&e.__v_raw;return t?L(t):e}function cn(e){return!_(e,`__v_skip`)&&Object.isExtensible(e)&&j(e,`__v_skip`,!0),e}var R=e=>E(e)?$t(e):e,ln=e=>E(e)?tn(e):e;function z(e){return e?e.__v_isRef===!0:!1}function un(e){return fn(e,!1)}function dn(e){return fn(e,!0)}function fn(e,t){return z(e)?e:new pn(e,t)}var pn=class{constructor(e,t){this.dep=new ut,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:L(e),this._value=t?e:R(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||I(e)||on(e);e=n?e:L(e),A(e,t)&&(this._rawValue=e,this._value=n?e:R(e),this.dep.trigger())}};function mn(e){e.dep&&e.dep.trigger()}function hn(e){return z(e)?e.value:e}function gn(e){return C(e)?e():hn(e)}var _n={get:(e,t,n)=>t===`__v_raw`?e:hn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return z(i)&&!z(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function vn(e){return an(e)?e:new Proxy(e,_n)}var yn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new ut,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function bn(e){return new yn(e)}function xn(e){let t=v(e)?Array(e.length):{};for(let n in e)t[n]=Tn(e,n);return t}var Sn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=T(t)?t:String(t),this._raw=L(e);let r=!0,i=e;if(!v(e)||T(this._key)||!ie(this._key))do r=!sn(i)||I(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=hn(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&z(this._raw[this._key])){let t=this._object[this._key];if(z(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return _t(this._raw,this._key)}},Cn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function wn(e,t,n){return z(e)?e:C(e)?new Cn(e):E(e)&&arguments.length>1?Tn(e,t,n):un(e)}function Tn(e,t,n){return new Sn(e,t,n)}var En=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ut(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ct-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return qe(this,!0),!0}get value(){let e=this.dep.track();return $e(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Dn(e,t,n=!1){let r,i;return C(e)?r=e:(r=e.get,i=e.set),new En(r,i,n)}var On={GET:`get`,HAS:`has`,ITERATE:`iterate`},kn={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},An={},jn=new WeakMap,Mn=void 0;function Nn(){return Mn}function Pn(e,t=!1,n=Mn){if(n){let t=jn.get(n);t||jn.set(n,t=[]),t.push(e)}}function Fn(e,t,n=c){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:l}=n,d=e=>i?e:I(e)||i===!1||i===0?In(e,1):In(e),f,p,m,g,_=!1,y=!1;if(z(e)?(p=()=>e.value,_=I(e)):an(e)?(p=()=>d(e),_=!0):v(e)?(y=!0,_=e.some(e=>an(e)||I(e)),p=()=>e.map(e=>{if(z(e))return e.value;if(an(e))return d(e);if(C(e))return l?l(e,2):e()})):p=C(e)?t?l?()=>l(e,2):e:()=>{if(m){at();try{m()}finally{ot()}}let t=Mn;Mn=f;try{return l?l(e,3,[g]):e(g)}finally{Mn=t}}:u,t&&i){let e=p,t=i===!0?1/0:i;p=()=>In(e(),t)}let b=Be(),x=()=>{f.stop(),b&&b.active&&h(b.effects,f)};if(a&&t){let e=t;t=(...t)=>{let n=e(...t);return x(),n}}let S=y?Array(e.length).fill(An):An,w=e=>{if(f.flags&1&&(f.dirty||e)){if(t){let n=f.run();if(e||i||_||(y?n.some((e,t)=>A(e,S[t])):A(n,S))){m&&m();let e=Mn;Mn=f;try{let e=[n,S===An?void 0:y&&S[0]===An?[]:S,g];S=n,l?l(t,3,e):t(...e)}finally{Mn=e}}}else f.run()}};return s&&s(w),f=new Ue(p),f.scheduler=o?()=>o(w,!1):w,g=e=>Pn(e,!1,f),m=f.onStop=()=>{let e=jn.get(f);if(e){if(l)l(e,4);else for(let t of e)t();jn.delete(f)}},t?r?w(!0):S=f.run():o?o(w.bind(null,!0),!0):f.run(),x.pause=f.pause.bind(f),x.resume=f.resume.bind(f),x.stop=x,x}function In(e,t=1/0,n){if(t<=0||!E(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,z(e))In(e.value,t,n);else if(v(e))for(let r=0;r<e.length;r++)In(e[r],t,n);else if(b(e)||y(e))e.forEach(e=>{In(e,t,n)});else if(re(e)){for(let r in e)In(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&In(e[r],t,n)}return e}var Ln=[];function Rn(e){Ln.push(e)}function zn(){Ln.pop()}function Bn(e,t){}var Vn={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},Hn={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function Un(e,t,n,r){try{return r?e(...r):e()}catch(e){Gn(e,t,n)}}function Wn(e,t,n,r){if(C(e)){let i=Un(e,t,n,r);return i&&D(i)&&i.catch(e=>{Gn(e,t,n)}),i}if(v(e)){let i=[];for(let a=0;a<e.length;a++)i.push(Wn(e[a],t,n,r));return i}}function Gn(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||c;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){at(),Un(a,null,10,[e,i,o]),ot();return}}Kn(e,n,i,r,o)}function Kn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],qn=-1,Jn=[],Yn=null,Xn=0,Zn=Promise.resolve(),Qn=null;function $n(e){let t=Qn||Zn;return e?t.then(this?e.bind(this):e):t}function er(e){let t=qn+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=or(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function tr(e){if(!(e.flags&1)){let t=or(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=or(n)?B.push(e):B.splice(er(t),0,e),e.flags|=1,nr()}}function nr(){Qn||=Zn.then(sr)}function rr(e){if(!v(e))Yn&&e.id===-1?Yn.splice(Xn+1,0,e):e.flags&1||(Jn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Jn.push(e[t]);nr()}function ir(e,t,n=qn+1){for(;n<B.length;n++){let t=B[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;B.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function ar(e){if(Jn.length){let e=[...new Set(Jn)].sort((e,t)=>or(e)-or(t));if(Jn.length=0,Yn){for(let t=0;t<e.length;t++)Yn.push(e[t]);return}for(Yn=e,Xn=0;Xn<Yn.length;Xn++){let e=Yn[Xn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Yn=null,Xn=0}}var or=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sr(e){try{for(qn=0;qn<B.length;qn++){let e=B[qn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Un(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;qn<B.length;qn++){let e=B[qn];e&&(e.flags&=-2)}qn=-1,B.length=0,ar(e),Qn=null,(B.length||Jn.length)&&sr(e)}}var cr,lr=[];function ur(e,t){cr=e,cr?(cr.enabled=!0,lr.forEach(({event:e,args:t})=>cr.emit(e,...t)),lr=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{ur(e,t)}),setTimeout(()=>{cr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,lr=[])},3e3)):lr=[]}var V=null,dr=null;function fr(e){let t=V;return V=e,dr=e&&e.type.__scopeId||null,t}function pr(e){dr=e}function mr(){dr=null}var hr=e=>gr;function gr(e,t=V,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&fs(-1);let i=fr(t),a=cs.length,o;try{o=e(...n)}finally{for(let e=cs.length;e>a;e--)us();fr(i),r._d&&fs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function _r(e,t){if(V===null)return e;let n=Xs(V),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=c]=t[e];i&&(C(i)&&(i={mounted:i,updated:i}),i.deep&&In(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function vr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(at(),Wn(c,n,8,[e.el,s,e,t]),ot())}}function yr(e,t){if(Q){let n=Q.provides,r=Q.parent&&Q.parent.provides;r===n&&(n=Q.provides=Object.create(r)),n[e]=t}}function br(e,t,n=!1){let r=$();if(r||no){let i=no?no._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&C(t)?t.call(r&&r.proxy):t}}function xr(){return!!($()||no)}var Sr=Symbol.for(`v-scx`),Cr=()=>br(Sr);function wr(e,t){return Or(e,null,t)}function Tr(e,t){return Or(e,null,{flush:`post`})}function Er(e,t){return Or(e,null,{flush:`sync`})}function Dr(e,t,n){return Or(e,t,n)}function Or(e,t,n=c){let{immediate:r,deep:i,flush:a,once:o}=n,s=m({},n),l=t&&r||!t&&a!==`post`,d;if(zs){if(a===`sync`){let e=Cr();d=e.__watcherHandles||=[]}else if(!l){let e=()=>{};return e.stop=u,e.resume=u,e.pause=u,e}}let f=Q;s.call=(e,t,n)=>Wn(e,f,t,n);let p=!1;a===`post`?s.scheduler=e=>{G(e,f&&f.suspense)}:a!==`sync`&&(p=!0,s.scheduler=(e,t)=>{t?e():tr(e)}),s.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};let h=Fn(e,t,s);return zs&&(d?d.push(h):l&&h()),h}function kr(e,t,n){let r=this.proxy,i=w(e)?e.includes(`.`)?Ar(r,e):()=>r[e]:e.bind(r,r),a;C(t)?a=t:(a=t.handler,n=t);let o=Is(this),s=Or(i,a.bind(r),n);return o(),s}function Ar(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var jr=new WeakMap,Mr=Symbol(`_vte`),Nr=e=>e.__isTeleport,Pr=e=>e&&(e.disabled||e.disabled===``),Fr=e=>e&&(e.defer||e.defer===``),Ir=e=>typeof SVGElement<`u`&&e instanceof SVGElement,Lr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Rr=(e,t)=>{let n=e&&e.to;return w(n)?t?t(n):null:n},zr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Pr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Pr(e.props),r=e.target=Rr(e.props,m),a=Wr(r,e,h,p);r&&(o!==`svg`&&Ir(r)?o=`svg`:o!==`mathml`&&Lr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Ur(e,!1)))},S=e=>{let t=()=>{if(jr.get(e)===t){if(jr.delete(e),Pr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Ur(e,!0)}x(e)}};jr.set(e,t),G(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Fr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Ur(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=jr.get(e);if(u){u.flags|=8,jr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Pr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Ir(p)?o=`svg`:(o===`mathml`||Lr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),Ho(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Br(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Rr(t.props,m);e&&(t.target=e,Br(t,e,null,l,0))}else g&&Br(t,p,h,l,1);Ur(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Pr(f),m=a||!p,h=jr.get(e);if(h&&(h.flags|=8,jr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:Br,hydrate:Vr};function Br(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!jr.has(e)&&(!d||Pr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function Vr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Rr(t.props,c),h=Pr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||Wr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||Wr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Ur(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Hr=zr;function Ur(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function Wr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Mr]=o,e&&(r(a,e,i),r(o,e,i)),o}var H=Symbol(`_leaveCb`),Gr=Symbol(`_enterCb`);function Kr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zi(()=>{e.isMounted=!0}),ea(()=>{e.isUnmounting=!0}),e}var U=[Function,Array],qr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:U,onEnter:U,onAfterEnter:U,onEnterCancelled:U,onBeforeLeave:U,onLeave:U,onAfterLeave:U,onLeaveCancelled:U,onBeforeAppear:U,onAppear:U,onAfterAppear:U,onAppearCancelled:U},Jr=e=>{let t=e.subTree;return t.component?Jr(t.component):t},Yr={name:`BaseTransition`,props:qr,setup(e,{slots:t}){let n=$(),r=Kr();return()=>{let i=t.default&&ri(t.default(),!0),a=i&&i.length?Xr(i):n.subTree?Ds():void 0;if(!a)return;let o=L(e),{mode:s}=o;if(r.isLeaving)return ei(a);let c=ti(a);if(!c)return ei(a);let l=$r(c,o,r,n,e=>l=e);c.type!==q&&ni(c,l);let u=n.subTree&&ti(n.subTree);if(u&&u.type!==q&&!_s(u,c)&&Jr(n).type!==q){let e=$r(u,o,r,n);if(ni(u,e),s===`out-in`&&c.type!==q)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},ei(a);s===`in-out`&&c.type!==q?e.delayLeave=(e,t,n)=>{let i=Qr(r,u);i[String(u.key)]=u,e[H]=()=>{t(),e[H]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function Xr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==q){t=n;break}}return t}var Zr=Yr;function Qr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function $r(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=Qr(n,e),C=(e,t)=>{e&&Wn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),v(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=g||c;else return}t[H]&&t[H](!0);let i=S[x];i&&_s(e,i)&&i.el[H]&&i.el[H](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=_||l,i=y||u,o=b||d;else return}let s=!1;t[Gr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[Gr]=void 0)};let c=t[Gr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Gr]&&t[Gr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[H]=n=>{a||(a=!0,r(),C(n?h:m,[t]),t[H]=void 0,S[i]===e&&delete S[i])};let o=t[H].bind(null,!1);S[i]=e,p?w(p,[t,o]):o()},clone(e){let a=$r(e,t,n,r,i);return i&&i(a),a}};return T}function ei(e){if(zi(e))return e=ws(e),e.children=null,e}function ti(e){if(!zi(e))return Nr(e.type)&&e.children?Xr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&C(n.default))return n.default()}}function ni(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;ni(Nr(n.type)&&ti(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ri(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===K?(o.patchFlag&128&&i++,r=r.concat(ri(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:ws(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ii(e,t){return C(e)?m({name:e.name},t,{setup:e}):e}function ai(){let e=$();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function oi(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function si(e){let t=$(),n=dn(null);if(t){let r=t.refs===c?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function ci(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var li=new WeakMap;function ui(e,t,n,r,i=!1){if(v(e)){e.forEach((e,a)=>ui(e,t&&(v(t)?t[a]:t),n,r,i));return}if(Ii(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ui(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?Xs(r.component):r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,f=s.refs===c?s.refs={}:s.refs,p=s.setupState,m=L(p),g=p===c?d:e=>!ci(f,e)&&_(m,e),y=(e,t)=>!(t&&ci(f,t));if(u!=null&&u!==l){if(di(t),w(u))f[u]=null,g(u)&&(p[u]=null);else if(z(u)){let e=t;y(u,e.k)&&(u.value=null),e.k&&(f[e.k]=null)}}if(C(l))Un(l,s,12,[o,f]);else{let t=w(l),r=z(l);if(t||r){let s=()=>{if(e.f){let n=t?g(l)?p[l]:f[l]:y(l)||!e.k?l.value:f[e.k];if(i)v(n)&&h(n,a);else if(v(n))n.includes(a)||n.push(a);else if(t)f[l]=[a],g(l)&&(p[l]=f[l]);else{let t=[a];y(l,e.k)&&(l.value=t),e.k&&(f[e.k]=t)}}else t?(f[l]=o,g(l)&&(p[l]=o)):r&&(y(l,e.k)&&(l.value=o),e.k&&(f[e.k]=o))};if(o){let t=()=>{s(),li.delete(e)};t.id=-1,li.set(e,t),G(t,n)}else di(e),s()}}}function di(e){let t=li.get(e);t&&(t.flags|=8,li.delete(e))}var fi=!1,pi=()=>{fi||=(console.error(`Hydration completed but contains mismatches.`),!0)},mi=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,hi=e=>e.namespaceURI.includes(`MathML`),gi=e=>{if(e.nodeType===1){if(mi(e))return`svg`;if(hi(e))return`mathml`}},_i=e=>e.nodeType===8;function vi(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),ar(),t._vnode=e;return}d(t.firstChild,e,null,null,null),ar(),t._vnode=e},d=(n,r,s,l,u,f=!1)=>{f||=!!r.dynamicChildren;let b=_i(n)&&n.data===`[`,x=()=>g(n,r,s,l,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(f=!1,r.dynamicChildren=null);let D=null;switch(S){case os:E===3?(n.data!==r.children&&(pi(),n.data=r.children),D=a(n)):r.children===``?(c(r.el=i(``),o(n),n),D=n):D=x();break;case q:y(n)?(D=a(n),v(r.el=n.content.firstChild,n,s)):D=E!==8||b?x():a(n);break;case ss:if(b&&(n=a(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=a(D);return b?a(D):D}x();break;case K:D=b?h(n,r,s,l,u,f):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,s,l,u,f);else if(w&6){r.slotScopeIds=u;let e=o(n);if(D=b?_(n):_i(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,gi(e),f),(Ii(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=Y(ss),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?Ts(``):Y(n.nodeType===8?q:`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,s,l,u,f,e,m):x():w&128&&(D=r.type.hydrate(n,r,s,l,gi(o(n)),u,f,e,d))}return C!=null&&ui(C,null,l,r),D},p=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,dynamicProps:l,props:u,patchFlag:d,shapeFlag:p,dirs:h,transition:g}=t,_=c===`input`||c===`option`,b=!!l;if(_||b||d!==-1){h&&vr(t,null,n,`created`);let c=!1;if(y(e)){c=Vo(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(u&&(u.innerHTML||u.textContent))){let r=m(e.firstChild,t,e,n,i,a,o);for(r&&!Ci(e,1)&&pi();r;){let e=r;r=r.nextSibling,s(e)}}else if(p&8){let n=t.children;n[0]===`
2
+ `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
3
+ `)&&(Ci(e,0)||pi(),e.textContent=t.children)}if(u){if(_||b||!o||d&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in u)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||f(a)&&!ae(a)||a[0]===`.`||t&&!ae(a)||l&&l.includes(a)){if(bi(e,a,u[a]))continue;r(e,a,null,u[a],i,n)}}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&an(u.style))for(let e in u.style)u.style[e]}let x;(x=u&&u.onVnodeBeforeMount)&&Z(x,n,t),h&&vr(t,null,n,`beforeMount`),((x=u&&u.onVnodeMounted)||h||c)&&rs(()=>{x&&Z(x,n,t),c&&g.enter(e),h&&vr(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length,m=!1;for(let t=0;t<p;t++){let h=u?f[t]:f[t]=X(f[t]),g=h.type===os;e?(g&&!u&&t+1<p&&X(f[t+1]).type===os&&(c(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=d(e,h,o,s,l,u)):g&&!h.children?c(h.el=i(``),r):(m||(m=!0,Ci(r,1)||pi()),n(null,h,r,null,o,s,gi(r),l))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=m(a(e),t,d,n,r,i,s);return f&&_i(f)&&f.data===`]`?a(t.anchor=f):(pi(),c(t.anchor=l(`]`),d,f),f)},g=(e,t,r,i,c,l)=>{if(Ti(e,t)||pi(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,gi(d),c),r&&(r.vnode.el=t.el,_o(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&_i(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}var yi=new Set([`src`,`srcset`,`href`,`poster`]);function bi(e,t,n){return yi.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var xi=`data-allow-mismatch`,Si={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Ci(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(xi);)e=e.parentElement;return wi(e&&e.getAttribute(xi),t)}function wi(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Si[t])}}function Ti(e,t){return Ci(e.parentElement,1)||Ei(e)||Di(t)}function Ei(e){return e.nodeType===1&&wi(e.getAttribute(xi),1)}function Di({props:e}){let t=e&&e[xi];return typeof t==`string`&&wi(t,1)}var Oi=he().requestIdleCallback||(e=>setTimeout(e,1)),ki=he().cancelIdleCallback||(e=>clearTimeout(e)),Ai=(e=1e4)=>t=>{let n=Oi(t,{timeout:e});return()=>ki(n)};function ji(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}var Mi=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(ji(e))return t(),r.disconnect(),!1;r.observe(e)}}),()=>r.disconnect()},Ni=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Pi=(e=[])=>(t,n)=>{w(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function Fi(e,t){if(_i(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(_i(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var Ii=e=>!!e.type.__asyncLoader;function Li(e){C(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return ii({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>Fi(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=Q;if(oi(e),u)return()=>Ri(u,e);let t=t=>{l=null,Gn(t,e,13,!r)};if(s&&e.suspense||zs)return p().then(t=>()=>Ri(t,e)).catch(e=>(t(e),()=>r?Y(r,{error:e}):null));let a=un(!1),c=un(),d=un(!!i),f,m;return ta(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&zi(e.parent.vnode)&&e.parent.update())}).catch(n=>{if(e.isUnmounted){l=null;return}t(n),c.value=n}),()=>{if(a.value&&u)return Ri(u,e);if(c.value&&r)return Y(r,{error:c.value});if(n&&!d.value)return Ri(n,e)}}})}function Ri(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=Y(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var zi=e=>e.type.__isKeepAlive,Bi={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=$(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),G(()=>{a.isDeactivated=!1,a.a&&de(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Z(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Go(t.m),Go(t.a),l(e,f,null,1,s),G(()=>{t.da&&de(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Z(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Ki(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=Zs(Ii(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!_s(t,o))?p(t):o&&Ki(o),i.delete(e),a.delete(e)}Dr(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Vi(e,t)),t&&m(e=>!Vi(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(qo(n.subTree.type)?G(()=>{let e=qi(n.subTree);e.component&&i.set(g,e)},n.subTree.suspense):i.set(g,qi(n.subTree)))};return Zi(_),$i(_),ea(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=qi(t);if(e.type===i.type&&e.key===i.key){Ki(i);let e=i.component.da;e&&G(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!gs(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=qi(r);if(s.type===q)return o=null,s;let c=s.type,l=Zs(Ii(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Vi(u,l))||d&&l&&Vi(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=ws(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&ni(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,qo(r.type)?r:s}}};function Vi(e,t){return v(e)?e.some(e=>Vi(e,t)):w(e)?e.split(`,`).includes(t):S(e)?(e.lastIndex=0,e.test(t)):!1}function Hi(e,t){Wi(e,`a`,t)}function Ui(e,t){Wi(e,`da`,t)}function Wi(e,t,n=Q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Ji(t,r,n),n){let e=n.parent;for(;e&&e.parent;)zi(e.parent.vnode)&&Gi(r,t,n,e),e=e.parent}}function Gi(e,t,n,r){let i=Ji(t,e,r,!0);ta(()=>{h(r[t],i)},n)}function Ki(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qi(e){return e.shapeFlag&128?e.ssContent:e}function Ji(e,t,n=Q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{at();let i=Is(n),a=Wn(t,n,e,r);return i(),ot(),a};return r?i.unshift(a):i.push(a),a}}var Yi=e=>(t,n=Q)=>{(!zs||e===`sp`)&&Ji(e,(...e)=>t(...e),n)},Xi=Yi(`bm`),Zi=Yi(`m`),Qi=Yi(`bu`),$i=Yi(`u`),ea=Yi(`bum`),ta=Yi(`um`),na=Yi(`sp`),ra=Yi(`rtg`),ia=Yi(`rtc`);function aa(e,t=Q){Ji(`ec`,e,t)}var oa=`components`,sa=`directives`;function ca(e,t){return fa(oa,e,!0,t)||e}var la=Symbol.for(`v-ndc`);function ua(e){return w(e)?fa(oa,e,!1)||e:e||la}function da(e){return fa(sa,e)}function fa(e,t,n=!0,r=!1){let i=V||Q;if(i){let n=i.type;if(e===oa){let e=Zs(n,!1);if(e&&(e===t||e===k(t)||e===le(k(t))))return n}let a=pa(i[e]||n[e],t)||pa(i.appContext[e],t);return!a&&r?n:a}}function pa(e,t){return e&&(e[t]||e[k(t)]||e[le(k(t))])}function ma(e,t,n,r){let i,a=n&&n[r],o=v(e);if(o||w(e)){let n=o&&an(e),r=!1,s=!1;n&&(r=!I(e),s=on(e),e=yt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?ln(R(e[n])):R(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(E(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function ha(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(v(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function ga(e,t,n,r,i,a){if(n??={},V.ce||V.parent&&Ii(V.parent)&&V.parent.ce){let e=a!=null&&n.key==null?m({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),ls(),hs(K,null,[Y(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=cs.length;ls();let c;try{let i=o&&_a(o(n)),s=n.key||a||i&&i.key;c=hs(K,{key:(s&&!T(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=cs.length;e>s;e--)us();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function _a(e){return e.some(e=>!gs(e)||!(e.type===q||e.type===K&&!_a(e.children)))?e:null}function va(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ue(r)]=e[r];return n}var ya=e=>e?Rs(e)?Xs(e):ya(e.parent):null,ba=m(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=>ya(e.parent),$root:e=>ya(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wa(e),$forceUpdate:e=>e.f||=()=>{tr(e.update)},$nextTick:e=>e.n||=$n.bind(e.proxy),$watch:e=>kr.bind(e)}),xa=(e,t)=>e!==c&&!e.__isScriptSetup&&_(e,t),Sa={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:l}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(xa(r,t))return o[t]=1,r[t];else if(i!==c&&_(i,t))return o[t]=2,i[t];else if(_(a,t))return o[t]=3,a[t];else if(n!==c&&_(n,t))return o[t]=4,n[t];else za&&(o[t]=0)}let u=ba[t],d,f;if(u)return t===`$attrs`&&F(e.attrs,`get`,``),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==c&&_(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,_(f,t))return f[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return xa(i,t)?(i[t]=n,!0):r!==c&&_(r,t)?(r[t]=n,!0):_(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let l;return!!(n[s]||e!==c&&s[0]!==`$`&&_(e,s)||xa(t,s)||_(a,s)||_(r,s)||_(ba,s)||_(i.config.globalProperties,s)||(l=o.__cssModules)&&l[s])},defineProperty(e,t,n){return n.get==null?_(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Ca=m({},Sa,{get(e,t){if(t!==Symbol.unscopables)return Sa.get(e,t,e)},has(e,t){return t[0]!==`_`&&!ge(t)}});function wa(){return null}function Ta(){return null}function Ea(e){}function Da(e){}function Oa(){return null}function ka(){}function Aa(e,t){return null}function ja(){return Na(`useSlots`).slots}function Ma(){return Na(`useAttrs`).attrs}function Na(e){let t=$();return t.setupContext||=Ys(t)}function Pa(e){return v(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Fa(e,t){let n=Pa(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?v(r)||C(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Ia(e,t){return!e||!t?e||t:v(e)&&v(t)?e.concat(t):m({},Pa(e),Pa(t))}function La(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ra(e){let t=$(),n=zs,r=e();Ls(),n&&Fs(!1);let i=()=>{Is(t),n&&Fs(!0)},a=()=>{$()!==t&&t.scope.off(),Ls(),n&&Fs(!1)};return D(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var za=!0;function Ba(e){let t=Wa(e),n=e.proxy,r=e.ctx;za=!1,t.beforeCreate&&Ha(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:d,beforeMount:f,mounted:p,beforeUpdate:m,updated:h,activated:g,deactivated:_,beforeDestroy:y,beforeUnmount:b,destroyed:x,unmounted:S,render:w,renderTracked:T,renderTriggered:D,errorCaptured:ee,serverPrefetch:te,expose:ne,inheritAttrs:re,components:ie,directives:ae,filters:oe}=t;if(l&&Va(l,r,null),o)for(let e in o){let t=o[e];C(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);E(t)&&(e.data=$t(t))}if(za=!0,a)for(let e in a){let t=a[e],i=$s({get:C(t)?t.bind(n,n):C(t.get)?t.get.bind(n,n):u,set:!C(t)&&C(t.set)?t.set.bind(n):u});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)Ua(s[e],r,n,e);if(c){let e=C(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{yr(t,e[t])})}d&&Ha(d,e,`c`);function O(e,t){v(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(O(Xi,f),O(Zi,p),O(Qi,m),O($i,h),O(Hi,g),O(Ui,_),O(aa,ee),O(ia,T),O(ra,D),O(ea,b),O(ta,S),O(na,te),v(ne)){if(ne.length){let t=e.exposed||={};ne.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}w&&e.render===u&&(e.render=w),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),ae&&(e.directives=ae),te&&oi(e)}function Va(e,t,n=u){v(e)&&(e=Ya(e));for(let n in e){let r=e[n],i;i=E(r)?`default`in r?br(r.from||n,r.default,!0):br(r.from||n):br(r),z(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ha(e,t,n){Wn(v(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ua(e,t,n,r){let i=r.includes(`.`)?Ar(n,r):()=>n[r];if(w(e)){let n=t[e];C(n)&&Dr(i,n)}else if(C(e))Dr(i,e.bind(n));else if(E(e)){if(v(e))e.forEach(e=>Ua(e,t,n,r));else{let r=C(e.handler)?e.handler.bind(n):t[e.handler];C(r)&&Dr(i,r,e)}}}function Wa(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Ga(c,e,o,!0)),Ga(c,t,o)),E(t)&&a.set(t,c),c}function Ga(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Ga(e,a,n,!0),i&&i.forEach(t=>Ga(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ka[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ka={data:qa,props:Za,emits:Za,methods:Xa,computed:Xa,beforeCreate:W,created:W,beforeMount:W,mounted:W,beforeUpdate:W,updated:W,beforeDestroy:W,beforeUnmount:W,destroyed:W,unmounted:W,activated:W,deactivated:W,errorCaptured:W,serverPrefetch:W,components:Xa,directives:Xa,watch:Qa,provide:qa,inject:Ja};function qa(e,t){return t?e?function(){return m(C(e)?e.call(this,this):e,C(t)?t.call(this,this):t)}:t:e}function Ja(e,t){return Xa(Ya(e),Ya(t))}function Ya(e){if(v(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function W(e,t){return e?[...new Set([].concat(e,t))]:t}function Xa(e,t){return e?m(Object.create(null),e,t):t}function Za(e,t){return e?v(e)&&v(t)?[...new Set([...e,...t])]:m(Object.create(null),Pa(e),Pa(t??{})):t}function Qa(e,t){if(!e)return t;if(!t)return e;let n=m(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function $a(){return{app:null,config:{isNativeTag:d,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}}var eo=0;function to(e,t){return function(n,r=null){C(n)||(n=m({},n)),r!=null&&!E(r)&&(r=null);let i=$a(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:eo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ic,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&C(e.install)?(a.add(e),e.install(c,...t)):C(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||Y(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,Xs(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(Wn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=no;no=c;try{return e()}finally{no=t}}};return c}}var no=null;function ro(e,t,n=c){let r=$(),i=k(t),a=ce(t),o=io(e,i),s=bn((o,s)=>{let l,u=c,d;return Er(()=>{let t=e[i];A(l,t)&&(l=t,s())}),{get(){return o(),n.get?n.get(l):l},set(e){let o=n.set?n.set(e):e;if(!A(o,l)&&!(u!==c&&A(e,u)))return;let f=r.vnode.props,p=!!(f&&(t in f||i in f||a in f)&&(`onUpdate:${t}`in f||`onUpdate:${i}`in f||`onUpdate:${a}`in f));p||(l=e,s()),r.emit(`update:${t}`,o),A(e,u)&&(A(e,o)&&!A(o,d)||p&&u!==c&&!A(o,l))&&s(),u=e,d=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||c:s,done:!1}:{done:!0}}}},s}var io=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${k(t)}Modifiers`]||e[`${ce(t)}Modifiers`];function ao(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||c,i=n,a=t.startsWith(`update:`),o=a&&io(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>w(e)?e.trim():e)),o.number&&(i=i.map(fe)));let s,l=r[s=ue(t)]||r[s=ue(k(t))];!l&&a&&(l=r[s=ue(ce(t))]),l&&Wn(l,e,6,i);let u=r[s+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Wn(u,e,6,i)}}var oo=new WeakMap;function so(e,t,n=!1){let r=n?oo:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!C(e)){let r=e=>{let n=so(e,t,!0);n&&(s=!0,m(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(E(e)&&r.set(e,null),null):(v(a)?a.forEach(e=>o[e]=null):m(o,a),E(e)&&r.set(e,o),o)}function co(e,t){return!e||!f(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),_(e,t[0].toLowerCase()+t.slice(1))||_(e,ce(t))||_(e,t))}function lo(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:m,ctx:h,inheritAttrs:g}=e,_=fr(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=X(l.call(t,e,u,d,m,f,h)),y=s}else{let e=t;v=X(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),y=t.props?s:fo(s)}}catch(t){cs.length=0,Gn(t,e,1),v=Y(q)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(p)&&(y=po(y,a)),b=ws(b,y,!1,!0))}return n.dirs&&(b=ws(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&ni(Nr(b.type)&&ti(b)||b,n.transition),v=b,fr(_),v}function uo(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(gs(r)){if(r.type!==q||r.children===`v-if`){if(n)return;n=r}}else return}return n}var fo=e=>{let t;for(let n in e)(n===`class`||n===`style`||f(n))&&((t||={})[n]=e[n]);return t},po=(e,t)=>{let n={};for(let r in e)(!p(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mo(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ho(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(go(o,r,n)&&!co(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ho(r,o,l):!!o;return!1}function ho(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(go(t,e,a)&&!co(n,a))return!0}return!1}function go(e,t,n){let r=e[n],i=t[n];return n===`style`&&E(r)&&E(i)?!je(r,i):r!==i}function _o({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var vo={},yo=()=>Object.create(vo),bo=e=>Object.getPrototypeOf(e)===vo;function xo(e,t,n,r=!1){let i={},a=yo();e.propsDefaults=Object.create(null),Co(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:en(i):e.type.props?i:a,e.attrs=a}function So(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=L(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(co(e.emitsOptions,o))continue;let u=t[o];if(c){if(_(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=k(o);i[t]=wo(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Co(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!_(t,a)&&((r=ce(a))===a||!_(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=wo(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!_(t,e))&&(delete a[e],l=!0)}l&&gt(e.attrs,`set`,``)}function Co(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(ae(c))continue;let l=t[c],u;i&&_(i,u=k(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:co(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=L(n),r=s||c;for(let o=0;o<a.length;o++){let s=a[o];n[s]=wo(i,t,s,r[s],e,!_(r,s))}}return o}function wo(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=_(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&C(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Is(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ce(n))&&(r=!0))}return r}var To=new WeakMap;function Eo(e,t,n=!1){let r=n?To:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],u=!1;if(!C(e)){let r=e=>{u=!0;let[n,r]=Eo(e,t,!0);m(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!u)return E(e)&&r.set(e,l),l;if(v(a))for(let e=0;e<a.length;e++){let t=k(a[e]);Do(t)&&(o[t]=c)}else if(a)for(let e in a){let t=k(e);if(Do(t)){let n=a[e],r=o[t]=v(n)||C(n)?{type:n}:m({},n),i=r.type,c=!1,l=!0;if(v(i))for(let e=0;e<i.length;++e){let t=i[e],n=C(t)&&t.name;if(n===`Boolean`){c=!0;break}n===`String`&&(l=!1)}else c=C(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||_(r,`default`))&&s.push(t)}}let d=[o,s];return E(e)&&r.set(e,d),d}function Do(e){return e[0]!==`$`&&!ae(e)}var Oo=e=>e===`_`||e===`_ctx`||e===`$stable`,ko=e=>v(e)?e.map(X):[X(e)],Ao=(e,t,n)=>{if(t._n)return t;let r=gr((...e)=>ko(t(...e)),n);return r._c=!1,r},jo=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Oo(n))continue;let i=e[n];if(C(i))t[n]=Ao(n,i,r);else if(i!=null){let e=ko(i);t[n]=()=>e}}},Mo=(e,t)=>{let n=ko(t);e.slots.default=()=>n},No=(e,t,n)=>{for(let r in t)(n||!Oo(r))&&(e[r]=t[r])},Po=(e,t,n)=>{let r=e.slots=yo();if(e.vnode.shapeFlag&32){let e=t._;e?(No(r,t,n),n&&j(r,`_`,e,!0)):jo(t,r)}else t&&Mo(e,t)},Fo=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=c;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:No(i,t,n):(a=!t.$stable,jo(t,i)),o=t}else t&&(Mo(e,t),o={default:1});if(a)for(let e in i)!Oo(e)&&o[e]==null&&delete i[e]},G=rs;function Io(e){return Ro(e)}function Lo(e){return Ro(e,vi)}function Ro(e,t){let n=he();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=u,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!_s(e,t)&&(r=_e(e),j(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===l&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case os:y(e,t,n,r);break;case q:b(e,t,n,r);break;case ss:e??x(t,n,r,o);break;case K:re(e,t,n,r,i,a,o,s,c);break;default:f&1?w(e,t,n,r,i,a,o,s,c):f&6?ie(e,t,n,r,i,a,o,s,c):(f&64||f&128)&&u.process(e,t,n,r,i,a,o,s,c,be)}d!=null&&i?ui(d,e&&e.ref,a,t||e,!t):d==null&&e&&e.ref!=null&&ui(e.ref,null,a,e,!0)},y=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,i)=>{e==null?r(t.el=d(t.children||``),n,i):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=h(e),r(e,n,i),e=a;r(t,n,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),i(e),e=n;i(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ee(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,i,s,c,l,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=o(e.type,c,m&&m.is,m),h&8?p(d,e.children):h&16&&D(e.children,d,null,i,s,zo(e,c),l,u),_&&vr(e,null,i,`created`),E(d,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!ae(e)&&a(d,e,null,m[e],c,i);`value`in m&&a(d,`value`,null,m.value,c),(f=m.onVnodeBeforeMount)&&Z(f,i,e)}_&&vr(e,null,i,`beforeMount`);let v=Vo(s,g);v&&g.beforeEnter(d),r(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&G(()=>{try{f&&Z(f,i,e),v&&g.enter(d),_&&vr(e,null,i,`mounted`)}finally{}},s)},E=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||qo(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;E(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},D=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Os(e[l]):X(e[l]);v(null,c,t,n,r,i,a,o,s)}},ee=(e,t,n,r,i,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||c,h=t.props||c,g;if(n&&Bo(n,!1),(g=h.onVnodeBeforeUpdate)&&Z(g,n,t,e),f&&vr(t,e,n,`beforeUpdate`),n&&Bo(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?te(e.dynamicChildren,d,l,n,r,zo(t,i),o):s||ce(e,t,l,null,n,r,zo(t,i),o,!1),u>0){if(u&16)ne(l,m,h,n,i);else if(u&2&&m.class!==h.class&&a(l,`class`,null,h.class,i),u&4&&a(l,`style`,m.style,h.style,i),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=h[r];(s!==o||r===`value`)&&a(l,r,o,s,i,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&ne(l,m,h,n,i);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Z(g,n,t,e),f&&vr(t,e,n,`updated`)},r)},te=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===K||!_s(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},ne=(e,t,n,r,i)=>{if(t!==n){if(t!==c)for(let o in t)!ae(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(ae(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},re=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),D(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(te(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&Ho(e,t,!0)):ce(e,t,n,f,a,o,c,l,u)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):oe(t,n,r,i,a,o,c):O(e,t,c)},oe=(e,t,n,r,i,a,o)=>{let s=e.component=Ns(e,r,i);if(zi(e)&&(s.ctx.renderer=be),Bs(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,k,o),!e.el){let r=s.subTree=Y(q);b(null,r,t,n),e.placeholder=r.el}}else k(s,e,t,n,i,a,o)},O=(e,t,n)=>{let r=t.component=e.component;if(mo(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,se(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},k=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Wo(e);if(n){t&&(t.el=c.el,se(e,t,o)),n.asyncDep.then(()=>{G(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Bo(e,!1),t?(t.el=c.el,se(e,t,o)):t=c,n&&de(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Z(d,s,t,c),Bo(e,!0);let f=lo(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),_e(p),e,i,a),t.el=f.el,u===null&&_o(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Z(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Ii(t);if(Bo(e,!1),l&&de(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Z(o,d,t),Bo(e,!0),s&&Se){let t=()=>{e.subTree=lo(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=lo(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&G(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;G(()=>Z(o,d,e),i)}(t.shapeFlag&256||d&&Ii(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&G(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ue(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>tr(u),Bo(e,!0),l()},se=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,So(e,t.props,r,n),Fo(e,t.children,n),at(),ir(e),ot()},ce=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&D(d,n,r,i,a,o,s,c))},le=(e,t,n,r,i,a,o,s,c)=>{e||=l,t||=l;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=c?Os(t[p]):X(t[p]);v(e[p],r,n,null,i,a,o,s,c)}u>d?ge(e,i,a,!0,!1,f):D(t,n,r,i,a,o,s,c,f)},ue=(e,t,n,r,i,a,o,s,c)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],l=t[u]=c?Os(t[u]):X(t[u]);if(_s(r,l))v(r,l,n,null,i,a,o,s,c);else break;u++}for(;u<=f&&u<=p;){let r=e[f],l=t[p]=c?Os(t[p]):X(t[p]);if(_s(r,l))v(r,l,n,null,i,a,o,s,c);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,l=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=c?Os(t[u]):X(t[u]),n,l,i,a,o,s,c),u++}}else if(u>p)for(;u<=f;)j(e[u],i,a,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=c?Os(t[u]):X(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){j(r,i,a,!0);continue}let l;if(r.key!=null)l=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&_s(r,t[_])){l=_;break}l===void 0?j(r,i,a,!0):(C[l-h]=u+1,l>=S?S=l:x=!0,v(r,t[l],n,null,i,a,o,s,c),y++)}let w=x?Uo(C):l;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,l=t[e],f=t[e+1],p=e+1<d?f.el||Ko(f):r;C[u]===0?v(null,l,n,p,i,a,o,s,c):x&&(_<0||u!==w[_]?A(l,n,p,2):_--)}}},A=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){A(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,be);return}if(c===K){r(s,t,n);for(let e=0;e<u.length;e++)A(u[e],t,n,a);r(e.anchor,t,n);return}if(c===ss){S(e,t,n);return}if(a!==2&&d&1&&l){if(a===0)l.persisted&&!s[H]?r(s,t,n):(l.beforeEnter(s),r(s,t,n),G(()=>l.enter(s),o));else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{let e=s._isLeaving||!!s[H];s._isLeaving&&s[H](!0),l.persisted&&!e?u():a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}}else r(s,t,n)},j=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(at(),ui(s,null,n,e,!0),ot()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Ii(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Z(_,t,e),u&6)me(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&vr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?ge(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&ge(c,t,n),r&&fe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&G(()=>{_&&Z(_,t,e),h&&vr(e,null,t,`unmounted`),v&&(e.el=null)},n)},fe=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===K){pe(n,r);return}if(t===ss){C(e),a&&!a.persisted&&a.afterLeave&&a.afterLeave();return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},pe=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},me=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Go(c),Go(l),r&&de(r),i.stop(),a?(a.flags|=8,j(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,j(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)j(e[o],t,n,r,i)},_e=e=>{if(e.shapeFlag&6)return _e(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Mr];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(j(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,ir(r),ar(),!1)},be={p:v,um:j,m:A,r:fe,mt:oe,mc:D,pc:ce,pbc:te,n:_e,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:to(ye,xe)}}function zo({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 Bo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ho(e,t,n=!1){let r=e.children,i=t.children;if(v(r)&&v(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Os(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ho(t,a)),a.type===os&&(a.patchFlag===-1&&(a=i[e]=Os(a)),a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function Uo(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Wo(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wo(t)}function Go(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ko(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ko(t.subTree):null}var qo=e=>e.__isSuspense,Jo=0,Yo={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Zo(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback&&!a.isHydrating){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qo(e,t,n,r,i,o,s,c,l)}},hydrate:es,normalize:ts};function Xo(e,t){let n=e.props&&e.props[t];C(n)&&n()}function Zo(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=$o(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(Xo(e,`onPending`),Xo(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),is(f,e.ssFallback)):f.resolve(!1,!0)}function Qo(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,_s(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),is(d,p))):(d.pendingId=Jo++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),is(d,p))):m&&_s(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&_s(m,f))c(m,f,n,r,i,d,a,o,s),is(d,f);else if(Xo(t,`onPending`),d.pendingBranch=f,d.pendingId=f.shapeFlag&512?f.component.suspenseId:Jo++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function $o(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=as(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?pe(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Jo++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),rr(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&G(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,is(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){for(let e=0;e<c.length;e++)y.effects.push(c[e]);S=!0;break}y=y.parent}!S&&!g&&rr(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),Xo(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;Xo(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),is(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{Gn(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;if(Ls(),i&&!e.scope.active){r&&--x.deps===0&&x.resolve();return}e.asyncResolved=!0;let{vnode:s}=e;Hs(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),_o(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function es(e,t,n,r,i,a,o,s,c){let l=t.suspense=$o(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function ts(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ns(r?n.default:n),e.ssFallback=r?ns(n.fallback):Y(q)}function ns(e){let t;if(C(e)){let n=ds&&e._c;n&&(e._d=!1,ls()),e=e(),n&&(e._d=!0,t=J,us())}return v(e)&&(e=uo(e)),e=X(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function rs(e,t){t&&t.pendingBranch?v(e)?t.effects.push(...e):t.effects.push(e):rr(e)}function is(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,_o(r,i))}function as(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var K=Symbol.for(`v-fgt`),os=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),ss=Symbol.for(`v-stc`),cs=[],J=null;function ls(e=!1){cs.push(J=e?null:[])}function us(){cs.pop(),J=cs[cs.length-1]||null}var ds=1;function fs(e,t=!1){ds+=e,e<0&&J&&t&&(J.hasOnce=!0)}function ps(e){return e.dynamicChildren=ds>0?J||l:null,us(),ds>0&&J&&J.push(e),e}function ms(e,t,n,r,i,a){return ps(xs(e,t,n,r,i,a,!0))}function hs(e,t,n,r,i){return ps(Y(e,t,n,r,i,!0))}function gs(e){return e?e.__v_isVNode===!0:!1}function _s(e,t){return e.type===t.type&&e.key===t.key}function vs(e){}var ys=({key:e})=>e??null,bs=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:w(e)||z(e)||C(e)?{i:V,r:e,k:t,f:!!n}:e);function xs(e,t=null,n=null,r=0,i=null,a=e===K?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ys(t),ref:t&&bs(t),scopeId:dr,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:V};return s?(ks(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=w(n)?8:16),ds>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var Y=Ss;function Ss(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===la)&&(e=q),gs(e)){let r=ws(e,t,!0);return n&&ks(r,n),ds>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(Qs(e)&&(e=e.__vccOpts),t){t=Cs(t);let{class:e,style:n}=t;e&&!w(e)&&(t.class=Se(e)),E(n)&&(sn(n)&&!v(n)&&(n=m({},n)),t.style=_e(n))}let o=w(e)?1:qo(e)?128:Nr(e)?64:E(e)?4:C(e)?2:0;return xs(e,t,n,r,i,o,a,!0)}function Cs(e){return e?sn(e)||bo(e)?m({},e):e:null}function ws(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?As(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ys(l),ref:t&&t.ref?n&&a?v(a)?a.concat(bs(t)):[a,bs(t)]:bs(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==K?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ws(e.ssContent),ssFallback:e.ssFallback&&ws(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&ni(u,c.clone(u)),u}function Ts(e=` `,t=0){return Y(os,null,e,t)}function Es(e,t){let n=Y(ss,null,e);return n.staticCount=t,n}function Ds(e=``,t=!1){return t?(ls(),hs(q,null,e)):Y(q,null,e)}function X(e){return e==null||typeof e==`boolean`?Y(q):v(e)?Y(K,null,e.slice()):gs(e)?Os(e):Y(os,null,String(e))}function Os(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ws(e)}function ks(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(v(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),ks(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!bo(t)?t._ctx=V:r===3&&V&&(V.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(C(t)){if(r&65){ks(e,{default:t});return}t={default:t,_ctx:V},n=32}else t=String(t),r&64?(n=16,t=[Ts(t)]):n=8;e.children=t,e.shapeFlag|=n}function As(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(e===`style`)t.style=_e([t.style,r.style]);else if(f(e)){let n=t[e],i=r[e];i&&n!==i&&!(v(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!p(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Z(e,t,n,r=null){Wn(e,t,7,[n,r])}var js=$a(),Ms=0;function Ns(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||js,a={uid:Ms++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Eo(r,i),emitsOptions:so(r,i),emit:null,emitted:null,propsDefaults:c,inheritAttrs:r.inheritAttrs,ctx:c,data:c,props:c,attrs:c,slots:c,refs:c,setupState:c,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 a.ctx={_:a},a.root=t?t.root:a,a.emit=ao.bind(null,a),e.ce&&e.ce(a),a}var Q=null,$=()=>Q||V,Ps,Fs;{let e=he(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ps=t(`__VUE_INSTANCE_SETTERS__`,e=>Q=e),Fs=t(`__VUE_SSR_SETTERS__`,e=>zs=e)}var Is=e=>{let t=Q;return Ps(e),e.scope.on(),()=>{e.scope.off(),Ps(t)}},Ls=()=>{Q&&Q.scope.off(),Ps(null)};function Rs(e){return e.vnode.shapeFlag&4}var zs=!1;function Bs(e,t=!1,n=!1){t&&Fs(t);let{props:r,children:i}=e.vnode,a=Rs(e);xo(e,r,a,t),Po(e,i,n||t);let o=a?Vs(e,t):void 0;return t&&Fs(!1),o}function Vs(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sa);let{setup:r}=n;if(r){at();let n=e.setupContext=r.length>1?Ys(e):null,i=Is(e),a=Un(r,e,0,[e.props,n]),o=D(a);if(ot(),i(),(o||e.sp)&&!Ii(e)&&oi(e),o){if(a.then(Ls,Ls),t)return a.then(n=>{Fs(!0);try{Hs(e,n,t)}finally{Fs(!1)}}).catch(t=>{Gn(t,e,0)});e.asyncDep=a}else Hs(e,a,t)}else qs(e,t)}function Hs(e,t,n){C(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:E(t)&&(e.setupState=vn(t)),qs(e,n)}var Us,Ws;function Gs(e){Us=e,Ws=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Ca))}}var Ks=()=>!Us;function qs(e,t,n){let r=e.type;if(!e.render){if(!t&&Us&&!r.render){let t=r.template||Wa(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=m(m({isCustomElement:n,delimiters:a},i),o);r.render=Us(t,s)}}e.render=r.render||u,Ws&&Ws(e)}{let t=Is(e);at();try{Ba(e)}finally{ot(),t()}}}var Js={get(e,t){return F(e,`get`,``),e[t]}};function Ys(e){return{attrs:new Proxy(e.attrs,Js),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Xs(e){return e.exposed?e.exposeProxy||=new Proxy(vn(cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ba)return ba[n](e)},has(e,t){return t in e||t in ba}}):e.proxy}function Zs(e,t=!0){return C(e)?e.displayName||e.name:e.name||t&&e.__name}function Qs(e){return C(e)&&`__vccOpts`in e}var $s=(e,t)=>Dn(e,t,zs);function ec(e,t,n){try{fs(-1);let r=arguments.length;return r===2?E(t)&&!v(t)?gs(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&gs(n)&&(n=[n]),Y(e,t,n))}finally{fs(1)}}function tc(){}function nc(e,t,n,r){let i=n[r];if(i&&rc(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function rc(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(A(n[e],t[e]))return!1;return ds>0&&J&&J.push(e),!0}var ic=`3.5.43`,ac=u,oc=Hn,sc=cr,cc=ur,lc={createComponentInstance:Ns,setupComponent:Bs,renderComponentRoot:lo,setCurrentRenderingInstance:fr,isVNode:gs,normalizeVNode:X,getComponentPublicInstance:Xs,ensureValidVNode:_a,pushWarningContext:Rn,popWarningContext:zn};function uc(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?uc(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var dc=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function fc(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>fc(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function pc(e,t,n){if(e.length>0)return fc(e,t,0,dc(n))}function mc(e,t,n){if(e.length>0){let r=dc(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function hc(e,t){for(let n of[...e])n(t)}var gc=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){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()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}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),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let 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;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=uc(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=uc(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(pc,e,t)}callHookParallel(e,...t){return this.callHookWith(mc,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&hc(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&hc(this._after,r)}):(this._after&&r&&hc(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let 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){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function _c(){return new gc}var vc=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return fc(n.slice(),t,0)}};function yc(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}var bc=globalThis.WeakRef||class{#e;constructor(e){this.#e=e}deref(){return this.#e}};function xc(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||yc();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new bc(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s()??null,set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;Oc.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{Oc.delete(s)}}}}function Sc(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=xc({...e,...r})),t[n]}}}var Cc=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof global<`u`?global:typeof window<`u`?window:{},wc=`__unctx__`,Tc=Cc[wc]||(Cc[wc]=Sc()),Ec=(e,t={})=>Tc.get(e,t),Dc=`__unctx_async_handlers__`,Oc=Cc[Dc]||(Cc[Dc]=new Set);function kc(e){let t=[];for(let e of Oc){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var Ac={meta:[{charset:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content`},{name:`description`,content:`Control your Herdr code agents`},{key:`theme-color`,name:`theme-color`,content:`#12151b`},{key:`color-scheme`,name:`color-scheme`,content:`dark`},{name:`apple-mobile-web-app-capable`,content:`yes`},{name:`mobile-web-app-capable`,content:`yes`},{name:`apple-mobile-web-app-status-bar-style`,content:`black`},{name:`apple-mobile-web-app-title`,content:`wherdr`},{name:`robots`,content:`noindex, nofollow`}],link:[{rel:`icon`,type:`image/png`,sizes:`32x32`,href:`/icons/favicon-32.png?v=5`},{rel:`icon`,type:`image/png`,sizes:`192x192`,href:`/icons/icon-192.png?v=5`},{rel:`apple-touch-icon`,href:`/icons/apple-touch-icon.png?v=5`}],style:[],script:[],noscript:[],title:`wherdr`,htmlAttrs:{lang:`en`,class:`dark`}},jc={id:`__nuxt-loader`},Mc={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},Nc={deep:!1},Pc=`#__nuxt`,Fc=`nuxt-app`,Ic=`vite:preloadError`;function Lc(e=`nuxt-app`){return Ec(e,{asyncContext:!1})}var Rc=`__nuxt_plugin`;function zc(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:ze(),provide:void 0,versions:{get nuxt(){return`4.5.2`},get vue(){return n.vueApp.version}},payload:en({...e.ssrContext?.payload||{},data:en({}),state:$t({}),once:new Set,_errors:en({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!Be()?n._scope.run(()=>Wc(n,e)):Wc(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:en({}),_state:en({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=_c(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;Jc(n,r,t),Jc(n.vueApp.config.globalProperties,r,t)},Jc(n.vueApp,`$nuxt`,n),Jc(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(Ic,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=Kc;let e=n.hook(`app:error`,(...e)=>{o.NUXT_E1005({cause:e.length>1?e:e[0]})});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}async function Bc(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function Vc(e,t){return Hc(e,t)}async function Hc(e,t){let n=new Set,r=[],i=[],a,o=0;async function s(c){let l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{let t=Bc(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;a||=t});c.parallel?i.push(t):await t}}for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a)throw e.payload.error||a}function Uc(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Rc]:!0,_name:t})}function Wc(e,t,n){return Lc(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function Gc(e){let t;return xr()&&(t=$()?.appContext.app.$nuxt),t||=Lc(e).tryUse(),t||null}function Kc(e){let t=Gc(e);if(!t)throw o.NUXT_E1001();return t}function qc(e){return Kc().$config}function Jc(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Yc(e){return e}export{Cs as $,v as $n,Kr as $t,$s as A,$t as An,yr as At,Ts as B,gn as Bn,fs as Bt,Yo as C,on as Cn,ia as Ct,Wn as D,Ve as Dn,$i as Dt,Bn as E,cn as En,ta as Et,Lo as F,dn as Fn,ga as Ft,Ea as G,u as Gn,va as Gt,Li as H,hn as Hn,ni as Ht,La as I,rt as In,ca as It,wa as J,m as Jn,ai as Jt,ka as K,k as Kn,vs as Kt,Io as L,L as Ln,da as Lt,hs as M,un as Mn,rr as Mt,Ds as N,en as Nn,Gs as Nt,Un as O,Pn as On,ls as Ot,ms as P,nn as Pn,ma as Pt,ri as Q,de as Qn,si as Qt,ha as R,wn as Rn,ua as Rt,ss as S,an as Sn,r as Sr,Zi as St,os as T,I as Tn,na as Tt,ii as U,Fn as Un,Sr as Ut,Y as V,mn as Vn,cc as Vt,Ta as W,c as Wn,lc as Wt,sc as X,ce as Xn,Cr as Xt,Oa as Y,_ as Yn,ro as Yt,$ as Z,Ee as Zn,ja as Zt,q as _,nt as _n,ue as _r,Xi as _t,Kc as a,Er as an,b as ar,Ni as at,K as b,Nn as bn,i as br,Ui as bt,Fc as c,Aa as cn,T as cr,br as ct,Mc as d,hr as dn,fe as dr,gs as dt,ic as en,C as er,ec as et,Pc as f,Re as fn,Se as fr,Fa as ft,qr as g,bn as gn,Pe as gr,Hi as gt,Zr as h,kn as hn,_e as hr,$n as ht,Uc as i,Tr as in,re as ir,Pi as it,xs as j,tn as jn,pr as jt,ws as k,vn as kn,mr as kt,jc as l,_r as ln,je as lr,rc as lt,vc as m,On as mn,Ce as mr,As as mt,zc as n,Dr as nn,E as nr,xr as nt,qc as o,Ra as on,Te as or,Mi as ot,kc as p,Ue as pn,Le as pr,Ia as pt,Da as q,le as qn,Ma as qt,Yc as r,wr as rn,f as rr,Ai as rt,Ac as s,gr as sn,w as sr,tc as st,Vc as t,ac as tn,p as tr,Gn as tt,Nc as u,nc as un,Me as ur,Ks as ut,Vn as v,ze as vn,pe as vr,ea as vt,Hr as w,z as wn,ra as wt,Bi as x,sn as xn,a as xr,aa as xt,oc as y,Be as yn,o as yr,Qi as yt,Es as z,xn as zn,$r as zt};
@@ -0,0 +1,62 @@
1
+ import{A as e,Et as t,Ft as n,Hn as r,M as i,Mn as a,Ot as o,P as s,St as c,U as l,V as u,fr as d,ht as f,nn as p,sn as ee,vt as te}from"./C25ROUa9.js";import{B as m,N as h,U as ne,V as g,Y as _,pn as v,q as re,z as ie}from"./DFGEl0v2.js";import{An as ae,C as y,Cn as b,Dn as oe,Jt as se,On as ce,Sn as le,Tn as ue,Tt as de,ei as fe,i as pe,kn as me,qt as he,t as ge,ti as x,xn as _e,xt as S}from"./FaNto0ga.js";var ve=[`needs`,`ready`,`working`,`todo`,`done`],ye={tell:!1,approve:!1,delegate:!1,stop:!1,retry:!1,finish:!1,archive:!1,restore:!1},be=/^[A-Za-z0-9][\w.-]{0,79}\/\d{1,7}$/;function xe(e){return typeof e==`string`&&be.test(e)}var Se=(e,t)=>{let n=e.split(`/`)[1]||``;return t?`${t}-${n}`:`#${n}`};function Ce(e){let t=/\/pull\/(\d{1,7})(?:[/?#]|$)/.exec(e);return t?`#${t[1]}`:``}var we=[`critical`,`major`,`minor`,`trivial`],Te=[`starting`,`setup`,`working`,`checking`,`pushing`,`reviewing`,`merging`,`queued`,`attempts`],Ee=[`start`,`setup`,`attempts`];function C(e,t){if(e.archived)return{...ye,restore:!0};let n=e.group!==`todo`&&e.group!==`done`,r=e.stage===`stopped`&&e.state===`blocked`,i=e.stage===`failed`,a=i&&!!t&&!t.failureAuth&&(t.failureStage===`send`||!!t.failureStage&&!Ee.includes(t.failureStage));return{tell:n&&!!e.app&&!(i&&t&&Ee.includes(t.failureStage)),approve:!e.chat&&(e.stage===`approval`||e.stage===`plan`&&e.state===`blocked`),delegate:e.group===`todo`||i&&!!t&&Ee.includes(t.failureStage),stop:e.group===`working`||e.group===`needs`&&e.state===`blocked`&&!!e.app&&!r&&e.kind!==`auth`||e.stage===`working`&&e.state===`error`,retry:r||e.stage===`nosummary`||a,finish:w(e)!==null,archive:e.group!==`working`&&!Te.includes(e.stage),restore:!1}}function De(e){return!e.archived&&!!e.app&&e.stage===`working`&&e.state===`working`&&e.msg===`Finishing`}function w(e){return e.archived?null:e.chat?e.stage===`asks`&&e.state===`blocked`?`conversation`:null:e.stage===`stopped`&&e.state===`blocked`?`limit`:e.stage===`nosummary`?`nosummary`:De(e)?`stuck`:null}function Oe(e){return[...e].sort((e,t)=>ve.indexOf(e.group)-ve.indexOf(t.group)||(e.group===`done`?T(e,t):e.repo.localeCompare(t.repo)||t.n-e.n))}var T=(e,t)=>(t.created??0)-(e.created??0),ke=7e3,Ae=8e3,E=/^[A-Za-z0-9][\w.-]{0,79}$/;function je(e){if(e==null||e===``)return``;if(typeof e!=`string`)return null;let t=e.trim();return t?E.test(t)||/^(\/|~\/)/.test(t)&&t.length<=500&&!/[\u0000-\u001f]/.test(t)?t:null:``}function Me(e,t){return!e||!t?[]:e.only.find(e=>e.models.includes(t))?.levels??e.efforts}var Ne=/^(?:[A-Za-z0-9][\w.-]{0,39}:)?(?:[A-Za-z0-9][\w.-]{0,79}\/\d{1,7}|[A-Za-z][A-Za-z0-9]{1,4}-\d{1,7})$/;function Pe(e){if(!Array.isArray(e)||!e.length||e.length>20)return null;let t=[];for(let n of e){if(typeof n!=`string`||!Ne.test(n.trim()))return null;t.includes(n.trim())||t.push(n.trim())}return t}function D(e){return((e.split(`@`).pop()||``).split(`.`)[0]||``).replace(/[^A-Za-z0-9_.-]/g,`-`)}function O(e,t,n){let r=t?Se(e,t):e;return n?`${D(n)}:${r}`:r}function k(e){return e&&e.max>0&&e.busy>=e.max?e.waiting+1:null}function Fe(e){return e.pane?`live`:e.error?`failed`:e.state===`starting`?`starting`:`idle`}function Ie(e,t,n=``){return e.kind===`project`?e.repo:e.kind===`main`?``:/^(.+) coordinator$/i.exec(n.trim())?.[1]?.trim()||t}function Le(e){let t={needs:0,ready:0,working:0,todo:0,done:0};for(let n of e)t[n.group]++;return t}var Re=`herdr notification show --body="$HERDR_PROJECTS_TITLE" --sound request -- "$HERDR_PROJECTS_ID · $HERDR_PROJECTS_EVENT"`,ze=e=>`${e} set board.notify '${Re}'`;function Be(e,t){return!e.archived&&!!e.app&&!!t?.failureCanFix&&!t?.failureAuth&&!t?.failureStale&&!(t?.failureSent&&e.stage===`working`)&&e.stage!==`merging`}function Ve(e,t){return!e.archived&&!e.chat&&!e.research&&e.stage===`approval`&&(e.review?.pass===!1||t?.failureRemoteKind===`checks`)}function He(e,t){return!e.archived&&!e.chat&&!e.research&&e.stage===`approval`&&(t?.review??e.review)?.pass===!1}var Ue=e=>{let t=we.indexOf(e);return t<0?1:t};function We(e,t=3){let n=(e||[]).filter(e=>!e.preexisting&&e.title).map((e,t)=>({f:e,i:t})).sort((e,t)=>Ue(e.f.severity)-Ue(t.f.severity)||e.i-t.i).map(e=>e.f);return{list:n.slice(0,t),more:Math.max(0,n.length-t)}}function Ge(e,t){return!!(e&&!e.archived&&e.stage===`pick`&&typeof t==`string`&&/^[A-E]$/.test(t)&&e.attempts?.some(e=>e.letter===t&&e.standing===`passed`))}var Ke=l({__name:`RovingFocusItem`,props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(a){let s=a,l=h(),d=_(),te=e(()=>s.tabStopId||d),v=e(()=>l.currentTabStopId.value===te.value),{getItems:ae,CollectionItem:y}=ne();c(()=>{s.focusable&&l.onFocusableItemAdd()}),t(()=>{s.focusable&&l.onFocusableItemRemove()}),p(()=>s.focusable,(e,t)=>{e!==t&&(e?l.onFocusableItemAdd():l.onFocusableItemRemove())});function b(e){if(e.key===`Tab`&&e.shiftKey){l.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=m(e,l.orientation.value,l.dir.value);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!s.allowShiftKey&&e.shiftKey)return;e.preventDefault();let n=[...ae().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)];if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=l.loop.value?g(n,r+1):n.slice(r+1)}f(()=>ie(n))}}return(e,t)=>(o(),i(r(y),null,{default:ee(()=>[u(r(re),{tabindex:v.value?0:-1,"data-orientation":r(l).orientation.value,"data-active":e.active?``:void 0,"data-disabled":e.focusable?void 0:``,as:e.as,"as-child":e.asChild,onMousedown:t[0]||=t=>{e.focusable?r(l).onItemFocus(te.value):t.preventDefault()},onFocus:t[1]||=e=>r(l).onItemFocus(te.value),onKeydown:b},{default:ee(()=>[n(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`data-active`,`data-disabled`,`as`,`as-child`])]),_:3}))}}),qe=[`innerHTML`],Je=Object.assign(l({__name:`ChatMarkdown`,props:{html:{},typing:{},speed:{default:void 0},cipher:{type:Boolean,default:void 0}},emits:[`done`],setup(e,{emit:t}){let n=e,r=t,i=a(null),l=null,u=0,f=e=>e.classList?.contains(`code-head`),ee=e=>/^T[DH]$/.test(e.tagName||``),m=[],h=``,ne=0;function g(){for(let e of m)e.box.remove();m=[],h=``}function _(e,t,n,r){let i=`${t}:${n}`;if(i!==h){g(),h=i;for(let r of le(e,t,n)){let e=r.node;if(!e.parentNode)continue;let t=document.createElement(`span`);t.className=`tw-trail`,t.setAttribute(`aria-hidden`,`true`);let n=[],i=ce(r.text);Array.from(r.text).forEach((e,r)=>{if(/\s/.test(e))return t.append(e);let a=document.createElement(`span`);a.textContent=e,a.setAttribute(`data-g`,i[r]),n.push(a),t.append(a)}),e.parentNode.insertBefore(t,e.nextSibling),m.push({box:t,cells:n})}m.at(-1)?.cells.at(-1)?.classList.add(`tw-front`),ne=r}else if(r-ne>=60){ne=r;for(let e of m){let t=ce(e.cells.map(e=>e.textContent||``).join(``));e.cells.forEach((e,n)=>e.setAttribute(`data-g`,t[n]))}}}function v(){cancelAnimationFrame(u),u=0,g(),l&&b(l),l=null}function re(e){if(v(),!i.value)return;l=ue(i.value,{atomic:f,keep:ee});let t=l,a=n.speed??de.value,o=me(t.total,a),s=n.cipher??y.value,c=()=>{if(l!==t)return;let n=Date.now()-e,i=s?ae(t.total,n,a):null,d=i?.written??oe(t.stops,n,o),f=i?.decrypted??d;_e(t,f,s,d),s&&_(t,f,d,performance.now()),i?.done||!s&&n>=o?(v(),r(`done`)):u=requestAnimationFrame(c)};c()}function ie(){l&&(v(),r(`done`))}return c(()=>{n.typing!==null&&re(n.typing)}),p(()=>n.typing,e=>{e===null?v():re(e)}),p(()=>n.html,()=>{l&&(cancelAnimationFrame(u),g(),l=null,r(`done`))},{flush:`pre`}),te(()=>{cancelAnimationFrame(u),g(),l=null}),(t,n)=>(o(),s(`div`,{ref_key:`el`,ref:i,class:d([`md-body`,{typing:e.typing!==null}]),onClickCapture:ie,innerHTML:e.html},null,42,qe))}}),{__name:`ChatMarkdown`});function Ye(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var A=Ye();function Xe(e){A=e}var Ze={exec:()=>null};function j(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(M.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var M={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},Qe=/^(?:[ \t]*(?:\n|$))+/,N=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,$e=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,P=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,et=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,tt=/(?:[*+-]|\d{1,9}[.)])/,nt=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,rt=j(nt).replace(/bull/g,tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),it=j(nt).replace(/bull/g,tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),at=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ot=/^[^\n]+/,st=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ct=j(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,st).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),F=j(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,tt).getRegex(),I=`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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,lt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ut=j(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,lt).replace(`tag`,I).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),dt=j(at).replace(`hr`,P).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,I).getRegex(),ft={blockquote:j(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,dt).getRegex(),code:N,def:ct,fences:$e,heading:et,hr:P,html:ut,lheading:rt,list:F,newline:Qe,paragraph:dt,table:Ze,text:ot},pt=j(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,P).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,I).getRegex(),mt={...ft,lheading:it,table:pt,paragraph:j(at).replace(`hr`,P).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,pt).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,I).getRegex()},ht={...ft,html:j(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,lt).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ze,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:j(at).replace(`hr`,P).replace(`heading`,` *#{1,6} *[^
2
+ ]`).replace(`lheading`,rt).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},gt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,_t=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,L=/^( {2,}|\\)\n(?!\s*$)/,vt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,yt=/[\p{P}\p{S}]/u,R=/[\s\p{P}\p{S}]/u,bt=/[^\s\p{P}\p{S}]/u,xt=j(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,R).getRegex(),St=/(?!~)[\p{P}\p{S}]/u,Ct=/(?!~)[\s\p{P}\p{S}]/u,wt=/(?:[^\s\p{P}\p{S}]|~)/u,Tt=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Et=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Dt=j(Et,`u`).replace(/punct/g,yt).getRegex(),Ot=j(Et,`u`).replace(/punct/g,St).getRegex(),kt=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,At=j(kt,`gu`).replace(/notPunctSpace/g,bt).replace(/punctSpace/g,R).replace(/punct/g,yt).getRegex(),z=j(kt,`gu`).replace(/notPunctSpace/g,wt).replace(/punctSpace/g,Ct).replace(/punct/g,St).getRegex(),jt=j(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,bt).replace(/punctSpace/g,R).replace(/punct/g,yt).getRegex(),Mt=j(/\\(punct)/,`gu`).replace(/punct/g,yt).getRegex(),Nt=j(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[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])?)+(?![-_])/).getRegex(),Pt=j(lt).replace(`(?:-->|$)`,`-->`).getRegex(),Ft=j(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Pt).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),It=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Lt=j(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace(`label`,It).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Rt=j(/^!?\[(label)\]\[(ref)\]/).replace(`label`,It).replace(`ref`,st).getRegex(),zt=j(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,st).getRegex(),Bt={_backpedal:Ze,anyPunctuation:Mt,autolink:Nt,blockSkip:Tt,br:L,code:_t,del:Ze,emStrongLDelim:Dt,emStrongRDelimAst:At,emStrongRDelimUnd:jt,escape:gt,link:Lt,nolink:zt,punctuation:xt,reflink:Rt,reflinkSearch:j(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Rt).replace(`nolink`,zt).getRegex(),tag:Ft,text:vt,url:Ze},Vt={...Bt,link:j(/^!?\[(label)\]\((.*?)\)/).replace(`label`,It).getRegex(),reflink:j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,It).getRegex()},Ht={...Bt,emStrongRDelimAst:z,emStrongLDelim:Ot,url:j(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,`i`).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Ut={...Ht,br:j(L).replace(`{2,}`,`*`).getRegex(),text:j(Ht.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},Wt={normal:ft,gfm:mt,pedantic:ht},Gt={normal:Bt,gfm:Ht,breaks:Ut,pedantic:Vt},Kt={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},qt=e=>Kt[e];function B(e,t){if(t){if(M.escapeTest.test(e))return e.replace(M.escapeReplace,qt)}else if(M.escapeTestNoEncode.test(e))return e.replace(M.escapeReplaceNoEncode,qt);return e}function Jt(e){try{e=encodeURI(e).replace(M.percentDecode,`%`)}catch{return null}return e}function Yt(e,t){let n=e.replace(M.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(M.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(M.slashPipe,`|`);return n}function Xt(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function Zt(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Qt(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function $t(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
3
+ `).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
4
+ `)}var en=class{options;rules;lexer;constructor(e){this.options=e||A}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:Xt(e,`
5
+ `)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=$t(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=Xt(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:Xt(t[0],`
6
+ `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=Xt(t[0],`
7
+ `).split(`
8
+ `),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o=0;for(;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
9
+ `),c=s.replace(this.rules.other.blockquoteSetextReplace,`
10
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
11
+ ${s}`:s,r=r?`${r}
12
+ ${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`)break;if(u?.type===`blockquote`){let t=u,a=t.raw+`
13
+ `+e.join(`
14
+ `),o=this.blockquote(a);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if(u?.type===`list`){let t=u,a=t.raw+`
15
+ `+e.join(`
16
+ `),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
17
+ `);continue}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=t[2].split(`
18
+ `,1)[0].replace(this.rules.other.listReplaceTabs,e=>` `.repeat(3*e.length)),l=e.split(`
19
+ `,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
20
+ `,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d);for(;e;){let f=e.split(`
21
+ `,1)[0],p;if(l=f,this.options.pedantic?(l=l.replace(this.rules.other.listReplaceNesting,` `),p=l):p=l.replace(this.rules.other.tabCharGlobal,` `),i.test(l)||a.test(l)||o.test(l)||t.test(l)||n.test(l))break;if(p.search(this.rules.other.nonSpaceChar)>=d||!l.trim())s+=`
22
+ `+p.slice(d);else{if(u||c.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||i.test(c)||a.test(c)||n.test(c))break;s+=`
23
+ `+l}!u&&!l.trim()&&(u=!0),r+=f+`
24
+ `,e=e.substring(f.length+1),c=p.slice(d)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0));let f=null,p;this.options.gfm&&(f=this.rules.other.listIsTask.exec(s),f&&(p=f[0]!==`[ ] `,s=s.replace(this.rules.other.listReplaceTask,``))),i.items.push({type:`list_item`,raw:r,task:!!f,checked:p,loose:!1,text:s,tokens:[]}),i.raw+=r}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>e.type===`space`);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:`html`,block:!0,raw:t[0],pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=Yt(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
25
+ `):[],a={type:`table`,raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(Yt(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:`heading`,raw:t[0],depth:t[2].charAt(0)===`=`?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
26
+ `?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=Xt(e.slice(0,-1),`\\`);if((e.length-t.length)%2==0)return}else{let e=Zt(t[2],`()`);if(e===-2)return;if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let n=t[2],r=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):``;return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),Qt(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,`$1`),title:r&&r.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `).toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return Qt(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&!(r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=0,c=r[0][0]===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(a=[...i].length,r[3]||r[4]){o+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);let t=[...r[0]][0].length,c=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=c.slice(1,-1);return{type:`em`,raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}let l=c.slice(2,-2);return{type:`strong`,raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:`del`,raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:t[0],escaped:e}}}},V=class e{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||A,this.options.tokenizer=this.options.tokenizer||new en,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:M,block:Wt.normal,inline:Gt.normal};this.options.pedantic?(t.block=Wt.pedantic,t.inline=Gt.pedantic):this.options.gfm&&(t.block=Wt.gfm,t.inline=this.options.breaks?Gt.breaks:Gt.gfm),this.tokenizer.rules=t}static get rules(){return{block:Wt,inline:Gt}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(M.carriageReturn,`
27
+ `),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(M.tabCharGlobal,` `).replace(M.spaceLine,``));e;){let r;if(this.options.extensions?.block?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);r.raw.length===1&&n!==void 0?n.raw+=`
28
+ `:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=`
29
+ `+r.raw,n.text+=`
30
+ `+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=`
31
+ `+r.raw,n.text+=`
32
+ `+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type===`paragraph`?(a.raw+=`
33
+ `+r.raw,a.text+=`
34
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=`
35
+ `+r.raw,n.text+=`
36
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)e.includes(r[0].slice(r[0].lastIndexOf(`[`)+1,-1))&&(n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,r.index)+`++`+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let i=!1,a=``;for(;e;){i||(a=``),i=!1;let r;if(this.options.extensions?.inline?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);r.type===`text`&&n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,a)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let o=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(o)){e=e.substring(r.raw.length),r.raw.slice(-1)!==`_`&&(a=r.raw.slice(-1)),i=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},tn=class{options;parser;constructor(e){this.options=e||A}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(M.notSpaceStart)?.[0],i=e.replace(M.endingNewline,``)+`
37
+ `;return r?`<pre><code class="language-`+B(r)+`">`+(n?i:B(i,!0))+`</code></pre>
38
+ `:`<pre><code>`+(n?i:B(i,!0))+`</code></pre>
39
+ `}blockquote({tokens:e}){return`<blockquote>
40
+ ${this.parser.parse(e)}</blockquote>
41
+ `}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
42
+ `}hr(e){return`<hr>
43
+ `}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
44
+ `+r+`</`+i+`>
45
+ `}listitem(e){let t=``;if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type===`paragraph`?(e.tokens[0].text=n+` `+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type===`text`&&(e.tokens[0].tokens[0].text=n+` `+B(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:`text`,raw:n+` `,text:n+` `,escaped:!0}):t+=n+` `}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>
46
+ `}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox">`}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
47
+ `}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
48
+ <thead>
49
+ `+t+`</thead>
50
+ `+r+`</table>
51
+ `}tablerow({text:e}){return`<tr>
52
+ ${e}</tr>
53
+ `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
54
+ `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${B(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=Jt(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+B(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=Jt(e);if(i===null)return B(n);e=i;let a=`<img src="${e}" alt="${n}"`;return t&&(a+=` title="${B(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:B(e.text)}},nn=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}},H=class e{options;renderer;textRenderer;constructor(e){this.options=e||A,this.options.renderer=this.options.renderer||new tn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new nn}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e,t=!0){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(t!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`paragraph`,`text`].includes(e.type)){n+=t||``;continue}}let a=i;switch(a.type){case`space`:n+=this.renderer.space(a);continue;case`hr`:n+=this.renderer.hr(a);continue;case`heading`:n+=this.renderer.heading(a);continue;case`code`:n+=this.renderer.code(a);continue;case`table`:n+=this.renderer.table(a);continue;case`blockquote`:n+=this.renderer.blockquote(a);continue;case`list`:n+=this.renderer.list(a);continue;case`html`:n+=this.renderer.html(a);continue;case`paragraph`:n+=this.renderer.paragraph(a);continue;case`text`:{let i=a,o=this.renderer.text(i);for(;r+1<e.length&&e[r+1].type===`text`;)i=e[++r],o+=`
55
+ `+this.renderer.text(i);n+=t?this.renderer.paragraph({type:`paragraph`,raw:o,text:o,tokens:[{type:`text`,raw:o,text:o,escaped:!0}]}):o;continue}default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}parseInline(e,t=this.renderer){let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},rn=class{options;block;constructor(e){this.options=e||A}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?V.lex:V.lexInline}provideParser(){return this.block?H.parse:H.parseInline}},an=new class{defaults=Ye();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=H;Renderer=tn;TextRenderer=nn;Lexer=V;Tokenizer=en;Hooks=rn;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new tn(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new en(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new rn;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];t[r]=rn.passThroughHooks.has(n)?e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>a.call(t,e));let n=i.call(t,e);return a.call(t,n)}:(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return V.lex(e,t??this.defaults)}parser(e,t){return H.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(t==null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));i.hooks&&(i.hooks.options=i,i.hooks.block=e);let o=i.hooks?i.hooks.provideLexer():e?V.lex:V.lexInline,s=i.hooks?i.hooks.provideParser():e?H.parse:H.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>o(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let e=o(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=s(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
56
+ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+B(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function U(e,t){return an.parse(e,t)}U.options=U.setOptions=function(e){return an.setOptions(e),U.defaults=an.defaults,Xe(U.defaults),U},U.getDefaults=Ye,U.defaults=A,U.use=function(...e){return an.use(...e),U.defaults=an.defaults,Xe(U.defaults),U},U.walkTokens=function(e,t){return an.walkTokens(e,t)},U.parseInline=an.parseInline,U.Parser=H,U.parser=H.parse,U.Renderer=tn,U.TextRenderer=nn,U.Lexer=V,U.lexer=V.lex,U.Tokenizer=en,U.Hooks=rn,U.parse=U,U.options,U.setOptions,U.use,U.walkTokens,U.parseInline,H.parse,V.lex;function on(e,t){this.v=e,this.k=t}function sn(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 cn(e){if(Array.isArray(e))return e}function ln(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function un(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
57
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dn(e,t){return cn(e)||ln(e,t)||fn(e,t)||un()}function fn(e,t){if(e){if(typeof e==`string`)return sn(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)?sn(e,t):void 0}}function pn(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof on;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}pn.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},pn.prototype.next=function(e){return this._invoke(`next`,e)},pn.prototype.throw=function(e){return this._invoke(`throw`,e)},pn.prototype.return=function(e){return this._invoke(`return`,e)};var mn=Object.entries,hn=Object.setPrototypeOf,gn=Object.isFrozen,_n=Object.getPrototypeOf,vn=Object.getOwnPropertyDescriptor,W=Object.freeze,G=Object.seal,yn=Object.create,bn=typeof Reflect<`u`&&Reflect,xn=bn.apply,Sn=bn.construct;W||=function(e){return e},G||=function(e){return e},xn||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Sn||=function(e){return new e(...[...arguments].slice(1))};var Cn=J(Array.prototype.forEach);Array.prototype.indexOf;var wn=J(Array.prototype.lastIndexOf),Tn=J(Array.prototype.pop),En=J(Array.prototype.push);Array.prototype.slice;var Dn=J(Array.prototype.splice),On=Array.isArray,kn=J(String.prototype.toLowerCase),An=J(String.prototype.toString),jn=J(String.prototype.match),Mn=J(String.prototype.replace),Nn=J(String.prototype.indexOf),Pn=J(String.prototype.trim),Fn=J(Number.prototype.toString),In=J(Boolean.prototype.toString),Ln=typeof BigInt>`u`?null:J(BigInt.prototype.toString),Rn=typeof Symbol>`u`?null:J(Symbol.prototype.toString),K=J(Object.prototype.hasOwnProperty),zn=J(Object.prototype.toString),q=J(RegExp.prototype.test),Bn=Vn(TypeError);function J(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return xn(e,t,n)}}function Vn(e){return function(){return Sn(e,[...arguments])}}function Y(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:kn;if(hn&&hn(e,null),!On(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(gn(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Hn(e){for(let t=0;t<e.length;t++)K(e,t)||(e[t]=null);return e}function X(e){let t=yn(null);for(let r of mn(e)){var n=dn(r,2);let i=n[0],a=n[1];K(e,i)&&(t[i]=On(a)?Hn(a):a&&typeof a==`object`&&a.constructor===Object?X(a):a)}return t}function Un(e){switch(typeof e){case`string`:return e;case`number`:return Fn(e);case`boolean`:return In(e);case`bigint`:return Ln?Ln(e):`0`;case`symbol`:return Rn?Rn(e):`Symbol()`;case`undefined`:return zn(e);case`function`:case`object`:{if(e===null)return zn(e);let t=e,n=Z(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:zn(e)}return zn(e)}default:return zn(e)}}function Z(e,t){for(;e!==null;){let n=vn(e,t);if(n){if(n.get)return J(n.get);if(typeof n.value==`function`)return J(n.value)}e=_n(e)}function n(){return null}return n}function Wn(e){try{return q(e,``),!0}catch{return!1}}var Gn=W(`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`.split(`.`)),Kn=W(`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`.split(`.`)),qn=W([`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`]),Jn=W([`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`]),Yn=W(`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`.split(`.`)),Xn=W([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Zn=W([`#text`]),Qn=W(`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`.split(`.`)),$n=W(`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.dominant-baseline.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.pointer-events.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-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.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`.split(`.`)),er=W(`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`.split(`.`)),tr=W([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),nr=G(/{{[\w\W]*|^[\w\W]*}}/g),rr=G(/<%[\w\W]*|^[\w\W]*%>/g),ir=G(/\${[\w\W]*/g),ar=G(/^data-[\-\w.\u00B7-\uFFFF]+$/),or=G(/^aria-[\-\w]+$/),sr=G(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),cr=G(/^(?:\w+script|data):/i),lr=G(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ur=G(/^html$/i),dr=G(/^[a-z][.\w]*(-[.\w]+)+$/i),fr=G(/<[/\w!]/g),pr=G(/<[/\w]/g),mr=G(/<\/no(script|embed|frames)/i),hr=G(/\/>/i),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},gr=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],_r=W(Y({},gr)),vr=function(){let e={};return Cn(gr,t=>{e[t]=G(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),W(e)}(),yr=function(){return typeof window>`u`?null:window},br=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},xr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Sr=function(e,t,n,r){return K(e,t)&&On(e[t])?Y(r.base?X(r.base):{},e[t],r.transform):n},Cr=function(e,t,n){let r=K(e,t)?e[t]:void 0;return r&&typeof r==`object`?X(r):n()};function wr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yr(),t=e=>wr(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==Q.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=Z(d,`cloneNode`),p=Z(d,`remove`),ee=Z(d,`removeAttributeNode`),te=Z(d,`nextSibling`),m=Z(d,`childNodes`),h=Z(d,`parentNode`),ne=Z(d,`shadowRoot`),g=Z(d,`attributes`),_=o&&o.prototype?Z(o.prototype,`nodeType`):null,v=o&&o.prototype?Z(o.prototype,`nodeName`):null,re=o&&o.prototype?Z(o.prototype,`ownerDocument`):null,ie=function(e){return _?_(e):e.nodeType},ae=function(e){return v?v(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let y,b=``,oe,se=!1,ce=0,le=function(){if(ce>0)throw Bn(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},ue=function(e){le(),ce++;try{return y.createHTML(e)}finally{ce--}},de=function(e){le(),ce++;try{return y.createScriptURL(e)}finally{ce--}},fe=function(){return se||=(oe=br(u,i),!0),oe},pe=n,me=pe.implementation,he=pe.createNodeIterator,ge=pe.createDocumentFragment,x=pe.getElementsByTagName,_e=r.importNode,S=xr();t.isSupported=typeof mn==`function`&&typeof h==`function`&&me&&me.createHTMLDocument!==void 0;let ve=nr,ye=rr,be=ir,xe=ar,Se=or,Ce=cr,we=lr,Te=dr,Ee=sr,C=null,De=Y({},[...Gn,...Kn,...qn,...Yn,...Zn]),w=null,Oe=Y({},[...Qn,...$n,...er,...tr]),T=Object.seal(yn(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}})),ke=null,Ae=null,E=Object.seal(yn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),je=!0,Me=!0,Ne=!1,Pe=!0,D=!1,O=!0,k=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,Ue=!1,We=`user-content-`,Ge=!0,Ke=!1,qe={},Je=null,Ye=Y({},`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`.split(`.`)),A=null,Xe=Y({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ze=null,j=Y({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),M=`http://www.w3.org/1998/Math/MathML`,Qe=`http://www.w3.org/2000/svg`,N=`http://www.w3.org/1999/xhtml`,$e=N,P=!1,et=null,tt=Y({},[M,Qe,N],An),nt=W([`mi`,`mo`,`mn`,`ms`,`mtext`]),rt=Y({},nt),it=W([`annotation-xml`]),at=Y({},it),ot=Y({},[`title`,`style`,`font`,`a`,`script`]),st=null,ct=[`application/xhtml+xml`,`text/html`],F=null,I=null,lt=n.createElement(`form`),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(I&&I===e)return;(!e||typeof e!=`object`)&&(e={}),e=X(e),st=ct.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,F=st===`application/xhtml+xml`?An:kn,C=Sr(e,`ALLOWED_TAGS`,De,{transform:F}),w=Sr(e,`ALLOWED_ATTR`,Oe,{transform:F}),et=Sr(e,`ALLOWED_NAMESPACES`,tt,{transform:An}),Ze=Sr(e,`ADD_URI_SAFE_ATTR`,j,{transform:F,base:j}),A=Sr(e,`ADD_DATA_URI_TAGS`,Xe,{transform:F,base:Xe}),Je=Sr(e,`FORBID_CONTENTS`,Ye,{transform:F}),ke=Sr(e,`FORBID_TAGS`,X({}),{transform:F}),Ae=Sr(e,`FORBID_ATTR`,X({}),{transform:F}),qe=K(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?X(e.USE_PROFILES):e.USE_PROFILES:!1,je=e.ALLOW_ARIA_ATTR!==!1,Me=e.ALLOW_DATA_ATTR!==!1,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,D=e.SAFE_FOR_TEMPLATES||!1,O=e.SAFE_FOR_XML!==!1,k=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,Ue=e.SANITIZE_NAMED_PROPS||!1,Ge=e.KEEP_CONTENT!==!1,Ke=e.IN_PLACE||!1,Ee=Wn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:sr,$e=typeof e.NAMESPACE==`string`?e.NAMESPACE:N,rt=Cr(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>Y({},nt)),at=Cr(e,`HTML_INTEGRATION_POINTS`,()=>Y({},it));let t=Cr(e,`CUSTOM_ELEMENT_HANDLING`,()=>yn(null));if(T=yn(null),K(t,`tagNameCheck`)&&ut(t.tagNameCheck)&&(T.tagNameCheck=t.tagNameCheck),K(t,`attributeNameCheck`)&&ut(t.attributeNameCheck)&&(T.attributeNameCheck=t.attributeNameCheck),K(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(T.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),G(T),D&&(Me=!1),Be&&(ze=!0),qe&&(C=Y({},Zn),w=yn(null),qe.html===!0&&(Y(C,Gn),Y(w,Qn)),qe.svg===!0&&(Y(C,Kn),Y(w,$n),Y(w,tr)),qe.svgFilters===!0&&(Y(C,qn),Y(w,$n),Y(w,tr)),qe.mathMl===!0&&(Y(C,Yn),Y(w,er),Y(w,tr))),E.tagCheck=null,E.attributeCheck=null,K(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?E.tagCheck=e.ADD_TAGS:On(e.ADD_TAGS)&&(C===De&&(C=X(C)),Y(C,e.ADD_TAGS,F))),K(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?E.attributeCheck=e.ADD_ATTR:On(e.ADD_ATTR)&&(w===Oe&&(w=X(w)),Y(w,e.ADD_ATTR,F))),K(e,`ADD_FORBID_CONTENTS`)&&On(e.ADD_FORBID_CONTENTS)&&(Je===Ye&&(Je=X(Je)),Y(Je,e.ADD_FORBID_CONTENTS,F)),Ge&&(C[`#text`]=!0),k&&Y(C,[`html`,`head`,`body`]),C.table&&(Y(C,[`tbody`]),delete ke.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Bn(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Bn(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=y;y=e.TRUSTED_TYPES_POLICY;try{b=ue(``)}catch(e){throw y=t,e}}else e.TRUSTED_TYPES_POLICY===null?(y=void 0,b=``):(y===void 0&&(y=fe()),y&&typeof b==`string`&&(b=ue(``)));W&&W(e),I=e},ft=Y({},[...Kn,...qn,...Jn]),pt=Y({},[...Yn,...Xn]),mt=function(e,t,n){return t.namespaceURI===N?e===`svg`:t.namespaceURI===M?e===`svg`&&(n===`annotation-xml`||rt[n]):!!ft[e]},ht=function(e,t,n){return t.namespaceURI===N?e===`math`:t.namespaceURI===Qe?e===`math`&&at[n]:!!pt[e]},gt=function(e,t,n){return t.namespaceURI===Qe&&!at[n]||t.namespaceURI===M&&!rt[n]?!1:!pt[e]&&(ot[e]||!ft[e])},_t=function(e){let t=h(e);(!t||!t.tagName)&&(t={namespaceURI:$e,tagName:`template`});let n=kn(e.tagName),r=kn(t.tagName);return et[e.namespaceURI]?e.namespaceURI===Qe?mt(n,t,r):e.namespaceURI===M?ht(n,t,r):e.namespaceURI===N?gt(n,t,r):!!(st===`application/xhtml+xml`&&et[e.namespaceURI]):!1},L=function(e){En(t.removed,{element:e});try{h(e).removeChild(e)}catch{if(p(e),!h(e))throw Bn(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},vt=function(e,t,n){try{ee(e,t)}catch{try{e.removeAttribute(n)}catch{}}},yt=function(e){xt(e);let t=m(e);if(t){let e=[];Cn(t,t=>{En(e,t)}),Cn(e,e=>{try{p(e)}catch{}})}let n=g(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&vt(e,r,i)}},R=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}En(t.removed,{attribute:r||null,from:n});try{r?ee(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(ze||Be)try{L(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},bt=function(e){let t=g(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||w[F(i)]||vt(e,r,i)}},xt=function(e){let t=[e];for(;t.length>0;){let e=t.pop();ie(e)===Q.element&&bt(e);let n=m(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},St=function(e,t){return O?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Ct=function(e){if(!O)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=ie(e);if(n===Q.processingInstruction||n===Q.comment&&q(pr,e.data)){try{p(e)}catch{}continue}if(n===Q.element){let t=e,n=F(ae(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&St(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=m(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},wt=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=jn(e,/^[\r\n\t ]+/);r=t&&t[0]}st===`application/xhtml+xml`&&$e===N&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=y?ue(e):e;if($e===N)try{t=new l().parseFromString(i,st)}catch{}if(!t||!t.documentElement){t=me.createDocument($e,`template`,null);try{t.documentElement.innerHTML=P?b:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),$e===N?x.call(t,k?`html`:`body`)[0]:k?t.documentElement:a},Tt=function(e){let t=re?re(e):e.ownerDocument;return he.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Et=function(e){return e=Mn(e,ve,` `),e=Mn(e,ye,` `),e=Mn(e,be,` `),e},Dt=function(e){e.normalize();let t=re?re(e):e.ownerDocument,n=he.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Et(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Cn(i,e=>{kt(e.content)&&Dt(e.content)})},Ot=function(e){let t=v?v(e):null;return typeof t!=`string`||F(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==g(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==_(e)||e.childNodes!==m(e)},kt=function(e){if(!_||typeof e!=`object`||!e)return!1;try{return _(e)===Q.documentFragment}catch{return!1}},At=function(e){if(!_||typeof e!=`object`||!e)return!1;try{return typeof _(e)==`number`}catch{return!1}};function z(e,n,r){e.length!==0&&Cn(e,e=>{e.call(t,n,r,I)})}let jt=function(e,t){return!!(O&&e.hasChildNodes()&&!At(e.firstElementChild)&&q(fr,e.textContent)&&q(fr,e.innerHTML)||O&&e.namespaceURI===N&&_r[t]&&(At(e.firstElementChild)||typeof e.textContent==`string`&&q(vr[t],e.textContent))||e.nodeType===Q.processingInstruction||O&&e.nodeType===Q.comment&&q(pr,e.data))},Mt=function(e,t){return e instanceof RegExp?q(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},Nt=function(e,t,n){if(!ke[t]&&zt(t)&&Mt(T.tagNameCheck,t))return!1;if(Ge&&!Je[t]){let t=h(e),r=m(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,te(e))}}}return L(e),!0},Pt=function(e,t,n,r){return e.length===0?t:t===n||t===r?X(t):t},Ft=function(e,t){return e===t||h(e)!==null?!1:(Ke&&xt(e),!0)},It=function(e,n){if(z(S.beforeSanitizeElements,e,null),Ft(e,n))return!0;if(Ot(e))return L(e),!0;let r=F(ae(e));if(C=Pt(S.uponSanitizeElement,C,De,Ie),z(S.uponSanitizeElement,e,{tagName:r,allowedTags:C}),Ft(e,n))return!0;if(jt(e,r))return L(e),!0;if(ke[r]||!(E.tagCheck instanceof Function&&E.tagCheck(r))&&!C[r]){let t=Nt(e,r,n);return t===!1&&(z(S.afterSanitizeElements,e,null),Ft(e,n))?!0:t}if(ie(e)===Q.element&&!_t(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&q(mr,e.innerHTML))return L(e),!0;if(D&&e.nodeType===Q.text){let n=Et(e.textContent);e.textContent!==n&&(En(t.removed,{element:e.cloneNode()}),e.textContent=n)}return z(S.afterSanitizeElements,e,null),Ft(e,n)},Lt=function(e,t,r){if(Ae[t]||St(t,e)||He&&(t===`id`||t===`name`)&&(r in n||r in lt))return!1;let i=w[t]||E.attributeCheck instanceof Function&&E.attributeCheck(t,e);return Me&&q(xe,t)||je&&q(Se,t)?!0:i?Ze[t]||q(Ee,Mn(r,we,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Nn(r,`data:`)===0&&A[e]||Ne&&!q(Ce,Mn(r,we,``))?!0:!r:zt(e)&&Mt(T.tagNameCheck,e)&&Mt(T.attributeNameCheck,t,e)||t===`is`&&T.allowCustomizedBuiltInElements&&Mt(T.tagNameCheck,r)},Rt=Y({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),zt=function(e){return!Rt[kn(e)]&&q(Te,e)},Bt=function(e,t,n,r){if(y&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ue(r);case`TrustedScriptURL`:return de(r)}return r},Vt=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!Ot(e)||(L(e),!1)}catch{return R(t,e),!1}},Ht=function(e,n){if(z(S.beforeSanitizeAttributes,e,null),Ft(e,n))return;let r=e.attributes;if(!r||Ot(e))return;w=Pt(S.uponSanitizeAttribute,w,Oe,Le);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:w,forceKeepAttr:void 0},a=r.length,o=F(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=F(s),d=l,f=s===`value`?d:Pn(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,z(S.uponSanitizeAttribute,e,i),f=i.attrValue,Ue&&(u===`id`||u===`name`)&&Nn(f,We)!==0&&(R(s,e,n),f=We+f,p=!0),O&&q(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){R(s,e,n);continue}if(u===`attributename`&&jn(f,`href`)){R(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){R(s,e,n);continue}if(!Pe&&q(hr,f)){R(s,e,n);continue}if(D&&(f=Et(f)),!Lt(o,u,f)){R(s,e,n);continue}f=Bt(o,u,c,f),f!==d&&Vt(e,s,c,f)&&p&&Tn(t.removed)}}z(S.afterSanitizeAttributes,e,null),Ft(e,n)},Ut=function(e){let t=null,n=Tt(e);for(z(S.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(z(S.uponSanitizeShadowNode,t,null),It(t,e),Ht(t,e),kt(t.content)&&Ut(t.content),ie(t)===Q.element){let e=ne(t);kt(e)&&(Wt(e),Ut(e))}z(S.afterSanitizeShadowDOM,e,null)},Wt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Ut(e.shadow);continue}let n=e.node,r=ie(n)===Q.element,i=m(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=v?v(n):null;if(typeof e==`string`&&F(e)===`template`){let e=n.content;kt(e)&&t.push({node:e,shadow:null})}}if(r){let e=ne(n);kt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(P=!e,P&&(e=`<!-->`),typeof e!=`string`&&!At(e)&&(e=Un(e),typeof e!=`string`))throw Bn(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(C=Ie,w=Le):dt(n),(S.uponSanitizeElement.length>0||S.uponSanitizeAttribute.length>0)&&(C=X(C)),S.uponSanitizeAttribute.length>0&&(w=X(w)),t.removed=[];let c=Ke&&typeof e!=`string`&&At(e);if(c){Ct(e);let t=ae(e);if(typeof t==`string`){let n=F(t);if(!C[n]||ke[n])throw yt(e),Bn(`root node is forbidden and cannot be sanitized in-place`)}if(Ot(e))throw yt(e),Bn(`root node is clobbered and cannot be sanitized in-place`);try{Wt(e)}catch(t){throw yt(e),t}}else if(At(e))i=wt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Q.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Wt(i);else{if(!ze&&!D&&!k&&e.indexOf(`<`)===-1)return y&&Ve?ue(e):e;if(i=wt(e),!i)return ze?null:Ve?b:``}i&&Re&&L(i.firstChild);let l=c?e:i;try{let e=Tt(l);for(;o=e.nextNode();)It(o,l),Ht(o,l),kt(o.content)&&Ut(o.content)}catch(n){throw c&&(yt(e),Cn(t.removed,e=>{e.element&&xt(e.element)})),n}if(c){let n=!1;if(Cn(t.removed,t=>{t.element&&(t.element===e&&(n=!0),xt(t.element))}),n)throw Bn(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return D&&Dt(e),e}if(ze){if(D&&Dt(i),Be)for(s=ge.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(w.shadowroot||w.shadowrootmode)&&(s=_e.call(r,s,!0)),s}let u=k?i.outerHTML:i.innerHTML;return k&&C[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&q(ur,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
58
+ `+u),D&&(u=Et(u)),y&&Ve?ue(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};dt(e),Fe=!0,Ie=C,Le=w},t.clearConfig=function(){I=null,Fe=!1,Ie=null,Le=null,y=oe,b=``},t.isValidAttribute=function(e,t,n){I||dt({});let r=F(e),i=F(t);return Lt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&K(S,e)&&En(S[e],t)},t.removeHook=function(e,t){if(K(S,e)){if(t!==void 0){let n=wn(S[e],t);return n===-1?void 0:Dn(S[e],n,1)[0]}return Tn(S[e])}},t.removeHooks=function(e){K(S,e)&&(S[e]=[])},t.removeAllHooks=function(){S=xr()},t}var Tr=wr(),Er=new Set(`ts.tsx.js.jsx.mjs.cjs.vue.svelte.json.jsonl.md.mdx.txt.html.htm.css.scss.less.py.rb.rs.go.java.kt.swift.c.h.cpp.hpp.cs.php.sh.bash.zsh.fish.yml.yaml.toml.ini.conf.cfg.lock.xml.svg.csv.tsv.sql.pdf.png.jpg.jpeg.gif.webp.mp4.m4v.mov.webm.zip.gz.tgz.docx.xlsx.pptx.ipynb.dockerfile.patch.diff`.split(`.`)),Dr=new Set([`Dockerfile`,`Makefile`,`LICENSE`,`Gemfile`,`Procfile`,`Justfile`,`.env`,`.gitignore`]),Or=/[\0\n\r\t`"<>|*?$;&{}[\]()\\]|:\/\//,kr=/:\d+(?::\d+)?$/,Ar=/^[\w@+~.,=%#-]+$/,jr=e=>e.replace(kr,``);function Mr(e){let t=String(e||``).trim();if(t.length<2||t.length>1024||Or.test(t))return null;let n=jr(t);if(n.length<2||n.startsWith(`-`))return null;let r=n.startsWith(`/`)||n.startsWith(`~/`);if(/\s/.test(n)&&!r||/\s{2,}|^\S+\s+-/.test(n))return null;let i=n.replace(/^~\//,``).replace(/^\/+/,``).split(`/`),a=i.filter((e,t)=>e!==``||t!==i.length-1);if(!a.length||a.some(e=>e===``||!Ar.test(e.replace(/ /g,`_`))))return null;if(r)return n.startsWith(`/`)&&a.length===1&&!/\.\w+$/.test(a[0])?null:n;if(n.startsWith(`./`)||n.startsWith(`../`))return n;let o=a[a.length-1],s=/\.([A-Za-z0-9]{1,10})$/.exec(o)?.[1]?.toLowerCase(),c=Dr.has(o)||!!(s&&Er.has(s));return a.length===1?c&&!/^\d/.test(o)?n:null:(c||n.endsWith(`/`)||a.length>=3)&&a.every(e=>/[A-Za-z_]/.test(e))?n:null}var Nr=new Set(`git.gh.npm.npx.pnpm.yarn.bun.node.deno.python.python3.pip.uv.cargo.go.make.docker.kubectl.cd.ls.cat.grep.rg.find.sed.awk.curl.wget.ssh.scp.rsync.tar.chmod.chown.mkdir.rm.mv.cp.echo.export.sudo.brew.apt.apk.systemctl.journalctl.flock.tmux.herdr.claude.codex.omp.vitest.jest.tsc.eslint.prettier.nuxt.vite.swift.xcodebuild.open.kill.ps.top.du.df.free.uptime.touch.head.tail.jq.env.source.bash.sh.zsh`.split(`.`)),Pr=`ctrl|control|cmd|command|alt|option|opt|shift|meta|super|fn`,Fr=RegExp(`^(?:${Pr})(?:[+-](?:${Pr}|esc|escape|enter|return|tab|space|backspace|delete|del|home|end|pgup|pgdn|up|down|left|right|f\\d{1,2}|.))+$|^[⌘⌃⌥⇧]+\\S{0,2}$|^[↵⏎⇥⌫⎋↑↓←→]$`,`i`),Ir=/^(?:Esc|Escape|Enter|Return|Tab|Space|Backspace|Delete|Home|End|PgUp|PgDn|F\d{1,2}|ESC|ENTER|TAB)$/,Lr=`ms|µs|ns|s|sec|min|h|d|%|x|×|k|m|kb|ko|mb|mo|gb|go|tb|b|px|em|rem|lines|tests|files`,Rr=RegExp(`^[~≈<>+−-]?\\d[\\d_.,]*\\s?(?:${Lr})?(?:\\s\\d[\\d.,]*\\s?(?:${Lr}))*$`,`i`);function zr(e){let t=String(e||``).trim();if(!t||t.length>400)return null;if(/^(?:exit|code|status)\s+0$|^(?:ok|pass(?:ed)?|✓)$/i.test(t))return`ok`;if(/^(?:exit|code|status)\s+[1-9]\d*$|^(?:fail(?:ed)?|error|✗)$/i.test(t)||/^(?:E[A-Z]{3,}|SIG[A-Z]+)$/.test(t))return`err`;if(Fr.test(t)||Ir.test(t))return`key`;if(/^t-\d{3,}$|^[A-Z][A-Z0-9]+-\d+$|^(?=[0-9a-f]*[a-f])(?=[0-9a-f]*\d)[0-9a-f]{7,40}$/.test(t))return`id`;if(Rr.test(t))return`num`;if(Mr(t))return`path`;if(/^[$!❯]\s|^\/[a-z][\w-]*(?:\s|$)/.test(t))return`cmd`;let n=t.split(/\s+/)[0];return Nr.has(n)&&/\s/.test(t)||/\s--?[a-z]/.test(t)&&/^[a-z][\w.-]*\s/.test(t)?`cmd`:null}var Br={c:{comment:String.raw`\/\/[^\n]*|\/\*[\s\S]*?\*\/`,keywords:`if.else.for.while.do.return.break.continue.switch.case.default.function.const.let.var.class.extends.implements.interface.type.enum.import.export.from.as.new.this.super.try.catch.finally.throw.throws.async.await.yield.typeof.instanceof.in.of.void.static.public.private.protected.readonly.abstract.true.false.null.undefined.nil.fn.pub.struct.impl.trait.mod.use.mut.match.loop.where.self.Self.func.package.go.defer.chan.map.range.select.int.long.char.bool.boolean.float.double.string.auto.union.namespace.using.template.override.final.val.when.guard.some.any.unknown.never.declare.keyof.satisfies`.split(`.`)},hash:{comment:String.raw`#[^\n]*`,keywords:`if.elif.else.for.while.in.not.and.or.is.return.def.class.import.from.as.with.try.except.finally.raise.pass.break.continue.lambda.yield.async.await.global.nonlocal.del.assert.True.False.None.then.fi.do.done.case.esac.function.local.export.readonly.source.echo.exit.set.unset.shift.until.begin.end.module.require.unless.nil.self.true.false.null.yes.no.on.off`.split(`.`)},sql:{comment:String.raw`--[^\n]*|\/\*[\s\S]*?\*\/`,keywords:`select.from.where.and.or.not.in.is.null.as.join.left.right.inner.outer.on.group.by.order.having.limit.offset.insert.into.values.update.set.delete.create.table.index.view.drop.alter.add.primary.key.foreign.references.unique.default.distinct.union.all.case.when.then.else.end.begin.commit.rollback.with.returning.integer.text.varchar.boolean.true.false.local.function.return.if.for.while.do.nil.repeat.until`.split(`.`),caseless:!0},markup:{comment:String.raw`<!--[\s\S]*?-->`,keywords:[],tags:!0}},Vr={};for(let e of`js.javascript.mjs.cjs.jsx.ts.typescript.tsx.json.jsonc.json5.java.c.h.cpp.c++.cc.hpp.cs.csharp.go.golang.rust.rs.swift.kotlin.kt.scala.dart.php.css.scss.less.groovy.zig`.split(`.`))Vr[e]=`c`;for(let e of`sh.bash.zsh.fish.shell.console.shellsession.py.python.python3.rb.ruby.yaml.yml.toml.ini.conf.dockerfile.docker.makefile.make.perl.pl.r.nix.elixir.ex.exs.nim.powershell.ps1.cmake.gitignore.env.dotenv`.split(`.`))Vr[e]=`hash`;for(let e of[`sql`,`mysql`,`postgres`,`postgresql`,`sqlite`,`plsql`,`lua`,`haskell`,`hs`,`elm`])Vr[e]=`sql`;for(let e of[`html`,`xml`,`svg`,`vue`,`svelte`,`xhtml`,`plist`])Vr[e]=`markup`;var Hr=String.raw`"(?:[^"\\\n]|\\.)*"|'(?:[^'\\\n]|\\.)*'|\`(?:[^\`\\]|\\[\s\S])*\``,Ur=String.raw`\b(?:0x[\da-fA-F_]+|\d[\d_]*(?:\.\d+)?(?:[eE][+-]?\d+)?)\b`,Wr=String.raw`[A-Za-z_$][\w$]*`,Gr=String.raw`<\/?[A-Za-z][\w:-]*|\/?>`,Kr=new Map;function qr(e){let t=Vr[e.toLowerCase()];if(!t)return null;let n=Kr.get(t);if(!n){let e=Br[t],r=[`(${e.comment})`,`(${Hr})`,`(${Ur})`,`(${e.tags?Gr:Wr})`];n={re:new RegExp(r.join(`|`),`g`),words:new Set(e.caseless?e.keywords.map(e=>e.toLowerCase()):e.keywords),caseless:!!e.caseless},Kr.set(t,n)}return n}var Jr=e=>e.replace(/[&<>"']/g,e=>({"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`})[e]),Yr=(e,t)=>`<span class="hl-${e}">${Jr(t)}</span>`;function Xr(e,t){let n=e.length>65536?null:qr(t);if(!n)return Jr(e);let r=``,i=0;n.re.lastIndex=0;for(let t=n.re.exec(e);t;t=n.re.exec(e)){if(!t[0]){n.re.lastIndex++;continue}r+=Jr(e.slice(i,t.index)),i=t.index+t[0].length,t[1]?r+=Yr(`c`,t[0]):t[2]?r+=Yr(`s`,t[0]):t[3]?r+=Yr(`n`,t[0]):t[0].startsWith(`<`)||t[0].endsWith(`>`)?r+=Yr(`t`,t[0]):n.words.has(n.caseless?t[0].toLowerCase():t[0])?r+=Yr(`k`,t[0]):r+=Jr(t[0])}return r+Jr(e.slice(i))}var Zr={bash:!0,sh:!0,zsh:!0,shell:!0,console:!0,shellsession:!0},Qr=/^\s*(?:!(?=\s*[^\s=])\s*|\$\s+|❯\s+)/;function $r(e){let t=e.some(e=>Qr.test(e)),n=[],r=!1;for(let i of e){if(!t||r)n.push(i);else if(Qr.test(i))n.push(i.replace(Qr,``));else continue;r=t&&/\\\s*$/.test(i)}let i=n.join(`
59
+ `).replace(/^\s*\n|\s+$/g,``);return i.trim()?i:null}function ei(e,t){let n=String(t||``).trim().split(/\s/)[0].toLowerCase(),r=String(e||``).split(`
60
+ `);if(Zr[n])return $r(r);if(n)return null;let i=$r(r);if(!i)return null;if(r.some(e=>Qr.test(e)))return i;let a=i.replace(/\\\s*\n/g,` `).split(`
61
+ `).map(e=>e.trim()).filter(e=>e&&!e.startsWith(`#`));return a.length&&a.every(e=>zr(e)===`cmd`&&!e.startsWith(`/`))?i:null}function ti(e){let t=String(e||``).trim();if(!t||t.includes(`
62
+ `))return null;let n=t.match(/^([!$❯])(\s*)(.+)$/);if(n){let e=n[3].trim();return n[2]||n[1]===`!`&&zr(e)===`cmd`&&!e.startsWith(`/`)?e:null}return zr(t)===`cmd`&&!t.startsWith(`/`)?t:null}var ni={claude:!0,codex:!0,omp:!0},ri=e=>!!ni[e||``];function ii(e,t){let n=t.trim();return n&&ri(e)?`! ${n}`:null}var ai=!1,oi=he(5e3,4e6),si=se(),ci=new Set;function li(e){ci.add(e)}var ui={FORBID_TAGS:[`style`,`form`,`textarea`,`select`,`option`,`optgroup`,`fieldset`,`legend`,`label`,`datalist`,`output`,`dialog`],FORBID_ATTR:[`style`]},di=!1,fi=!1,pi=e=>!/^[a-z][a-z\d+.-]*:/i.test(e)&&!e.startsWith(`//`)&&!e.startsWith(`#`),$=e=>e.replace(/[&<>"']/g,e=>({"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`})[e]);function mi(e,t={}){let n=t.doc?`\0doc\0${e}`:t.plain?`\0plain\0${e}`:e,r=oi.get(n);if(r!==void 0)return r;ai||(ai=!0,U.use({renderer:{code({text:e,lang:t}){let n=$((t||``).split(/\s/)[0]||``);if(fi)return`<div class="code-block"><div class="code-head"><span>${n||`code`}</span><span class="code-tools"><button type="button" class="code-copy">${$(fe(`Copy`))}</button></span></div><pre><code${n?` class="language-${n}"`:``}>${Xr(e,n)}</code></pre></div>`;let r=ei(e,t),i=r===null?``:`<button type="button" class="code-run">${$(x(`Run`,`Lancer`))}</button>`;return`<div class="code-block"${r===null?``:` data-cmd="${$(r)}"`}><div class="code-head"><span>${n||`code`}</span><span class="code-tools">${i}<button type="button" class="code-copy">${$(fe(`Copy`))}</button></span></div><pre><code${n?` class="language-${n}"`:``}>${$(e)}</code></pre></div>`},codespan({text:e}){let t=$(e);if(fi){let n=zr(e);return`<code${n?` data-k="${n}"`:``}>${t}</code>`}if(Mr(e))return`<code class="md-path" data-k="path" role="button" tabindex="0">${t}</code>`;let n=ti(e);if(n!==null)return`<code class="md-cmd" data-k="cmd" data-cmd="${$(n)}" role="button" tabindex="0">${t}</code>`;let r=zr(e);return`<code${r?` data-k="${r}"`:``}>${t}</code>`}}}),Tr.addHook(`uponSanitizeElement`,(e,t)=>{if(!di||t.tagName!==`input`)return;let n=e;n.getAttribute(`type`)===`checkbox`&&n.hasAttribute(`disabled`)||n.parentNode?.removeChild(n)}),Tr.addHook(`afterSanitizeAttributes`,e=>{if(fi&&e.tagName===`IMG`){let t=e.getAttribute(`src`);t&&pi(t)&&(e.setAttribute(`data-src`,t),e.removeAttribute(`src`))}e.tagName===`A`&&(e.setAttribute(`target`,`_blank`),e.setAttribute(`rel`,`noopener noreferrer`))}));let i;di=!!(t.plain||t.doc),fi=!!t.doc;try{let t=U.parse(e,{breaks:!fi,gfm:!0,async:!1});i=di?Tr.sanitize(t,ui):Tr.sanitize(t)}catch{i=`<p>${$(e)}</p>`}finally{di=!1,fi=!1}for(let e of si(n)){let t=oi.delete(e);if(t!==void 0&&t!==i)for(let e of ci)e(t)}return oi.set(n,i,n.length+i.length),i}var hi=a(null),gi=a(!1);async function _i(){gi.value=!0;try{hi.value=await pe(`/api/worktrees`)}catch(e){S(e.message,!0)}finally{gi.value=!1}}var vi=e=>e.branch||e.path.split(`/`).pop()||e.path;async function yi(e){let t=vi(e),n=e.agents?x(` ${e.agents>1?`Its ${e.agents} agents will be stopped`:`Its agent will be stopped`}.`,` ${e.agents>1?`Ses ${e.agents} agents seront arrêtés`:`Son agent sera arrêté`}.`):e.panes?x(` Its terminals will be closed.`,` Ses terminaux seront fermés.`):``,r=e.branch?x(` Branch ${e.branch} is kept.`,` La branche ${e.branch} est gardée.`):``;if(!await v(x(`Delete worktree ${t} (${e.path})?${n}${r}`,`Supprimer le worktree ${t} (${e.path}) ?${n}${r}`),fe(`Delete`)))return!1;let i=!1;for(;;)try{return await pe(`/api/worktrees/remove`,{machine:e.machine,path:e.path,force:i}),S(x(`Worktree ${t} deleted`,`Worktree ${t} supprimé`)),hi.value&&=hi.value.filter(t=>t.machine!==e.machine||t.path!==e.path),!0}catch(e){if(!i&&e instanceof ge&&e.code===`dirty`){if(!await v(x(`${t} has uncommitted changes. Delete them with the worktree?`,`${t} contient des modifications non commitées. Les supprimer avec le worktree ?`),fe(`Force delete`)))return!1;i=!0;continue}return S(e.message,!0),!1}}export{We as A,Ie as C,xe as D,Le as E,Be as F,He as I,Se as L,k as M,C as N,T as O,Ve as P,Fe as S,w as T,O as _,mi as a,Pe as b,ii as c,Ke as d,ze as f,Ae as g,ke as h,hi as i,Oe as j,Ce as k,jr as l,ve as m,yi as n,li as o,ye as p,vi as r,ri as s,_i as t,Je as u,D as v,Me as w,je as x,Ge as y};
@@ -0,0 +1,2 @@
1
+ import{$n as e,$t as t,D as n,Dt as r,Et as i,F as a,Gn as o,Hn as s,Ht as c,Jn as l,Kn as u,L as d,Ln as f,Mt as p,Q as m,Qn as h,S as ee,St as te,U as ne,V as g,Wn as _,Xn as v,Yn as re,Z as y,Zn as b,a as ie,ar as x,b as S,cr as C,dr as ae,er as oe,et as se,g as ce,h as le,ht as ue,ir as de,lr as w,nn as fe,nr as pe,or as me,pr as he,qn as ge,rr as _e,sr as T,tr as ve,ur as E,vr as ye,yt as be,zt as xe}from"./C25ROUa9.js";import{m as Se}from"./CXJnLmWv.js";var Ce=void 0,we=typeof window<`u`&&window.trustedTypes;if(we)try{Ce=we.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Te=Ce?e=>Ce.createHTML(e):e=>e,Ee=`http://www.w3.org/2000/svg`,De=`http://www.w3.org/1998/Math/MathML`,D=typeof document<`u`?document:null,Oe=D&&D.createElement(`template`),ke={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?D.createElementNS(Ee,e):t===`mathml`?D.createElementNS(De,e):n?D.createElement(e,{is:n}):D.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>D.createTextNode(e),createComment:e=>D.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>D.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{Oe.innerHTML=Te(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Oe.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},O=`transition`,k=`animation`,A=Symbol(`_vtc`),Ae={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},je=l({},ce,Ae),Me=(e=>(e.displayName=`Transition`,e.props=je,e))((e,{slots:t})=>se(le,Pe(e),t)),j=(t,n=[])=>{e(t)?t.forEach(e=>e(...n)):t&&t(...n)},Ne=t=>t?e(t)?t.some(e=>e.length>1):t.length>1:!1;function Pe(e){let t={};for(let n in e)n in Ae||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Fe(i),ee=h&&h[0],te=h&&h[1],{onBeforeEnter:ne,onEnter:g,onEnterCancelled:_,onLeave:v,onLeaveCancelled:re,onBeforeAppear:y=ne,onAppear:b=g,onAppearCancelled:ie=_}=t,x=(e,t,n,r)=>{e._enterCancelled=r,N(e,t?d:s),N(e,t?u:o),n&&n()},S=(e,t)=>{e._isLeaving=!1,N(e,f),N(e,m),N(e,p),t&&t()},C=e=>(t,n)=>{let i=e?b:g,o=()=>x(t,e,n);j(i,[t,o]),Le(()=>{N(t,e?c:a),M(t,e?d:s),Ne(i)||ze(t,r,ee,o)})};return l(t,{onBeforeEnter(e){j(ne,[e]),M(e,a),M(e,o)},onBeforeAppear(e){j(y,[e]),M(e,c),M(e,u)},onEnter:C(!1),onAppear:C(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>S(e,t);M(e,f),e._enterCancelled?(M(e,p),Ue(e)):(Ue(e),M(e,p)),Le(()=>{e._isLeaving&&(N(e,f),M(e,m),Ne(v)||ze(e,r,te,n))}),j(v,[e,n])},onEnterCancelled(e){x(e,!1,void 0,!0),j(_,[e])},onAppearCancelled(e){x(e,!0,void 0,!0),j(ie,[e])},onLeaveCancelled(e){S(e),j(re,[e])}})}function Fe(e){if(e==null)return null;if(pe(e))return[Ie(e.enter),Ie(e.leave)];{let t=Ie(e);return[t,t]}}function Ie(e){return ye(e)}function M(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[A]||(e[A]=new Set)).add(t)}function N(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[A];n&&(n.delete(t),n.size||(e[A]=void 0))}function Le(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Re=0;function ze(e,t,n,r){let i=e._endId=++Re,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Be(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Be(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${O}Delay`),a=r(`${O}Duration`),o=Ve(i,a),s=r(`${k}Delay`),c=r(`${k}Duration`),l=Ve(s,c),u=null,d=0,f=0;t===O?o>0&&(u=O,d=o,f=a.length):t===k?l>0&&(u=k,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?O:k:null,f=u?u===O?a.length:c.length:0);let p=u===O&&/\b(?:transform|all)(?:,|$)/.test(r(`${O}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ve(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>He(t)+He(e[n])))}function He(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Ue(e){return(e?e.ownerDocument:document).body.offsetHeight}function We(e,t,n){let r=e[A];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var P=Symbol(`_vod`),Ge=Symbol(`_vsh`),Ke={name:`show`,beforeMount(e,{value:t},{transition:n}){e[P]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):F(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),F(e,!0),r.enter(e)):r.leave(e,()=>{F(e,!1)}):F(e,t))},beforeUnmount(e,{value:t}){F(e,t)}};function F(e,t){e.style.display=t?e[P]:`none`,e[Ge]=!t}function qe(){Ke.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}var Je=Symbol(``);function Ye(e){let t=y();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>I(e,n))},r=()=>{let r=e(t.proxy);t.ce?I(t.ce,r):Xe(t.subTree,r),n(r)};be(()=>{p(r)}),te(()=>{fe(r,o,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),i(()=>e.disconnect())})}function Xe(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Xe(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)I(e.el,t);else if(e.type===S)e.children.forEach(e=>Xe(e,t));else if(e.type===ee){let{el:n,anchor:r}=e;for(;n&&(I(n,t),n!==r);)n=n.nextSibling}}function I(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=he(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Je]=r}}var Ze=/(?:^|;)\s*display\s*:/;function Qe(e,t,n){let r=e.style,i=T(n),a=!1;if(n&&!i){if(t){if(T(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??R(r,t,``)}else for(let e in t)n[e]??R(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?R(r,i,``):tt(e,i,!T(t)&&t?t[i]:void 0,o)||R(r,i,o)}}else if(i){if(t!==n){let e=r[Je];e&&(n+=`;`+e),r.cssText=n,a=Ze.test(n)}}else t&&e.removeAttribute(`style`);P in e&&(e[P]=a?r.display:``,e[Ge]&&(r.display=`none`))}var L=/\s*!important$/;function R(t,n,r){if(e(r))r.forEach(e=>R(t,n,e));else if(r??=``,n.startsWith(`--`))L.test(r)?t.setProperty(n,r.replace(L,``),`important`):t.setProperty(n,r);else{let e=et(t,n);L.test(r)?t.setProperty(v(e),r.replace(L,``),`important`):t[e]=r}}var $e=[`Webkit`,`Moz`,`ms`],z={};function et(e,t){let n=z[t];if(n)return n;let r=u(t);if(r!==`filter`&&r in e)return z[t]=r;r=ge(r);for(let n=0;n<$e.length;n++){let i=$e[n]+r;if(i in e)return z[t]=i}return t}function tt(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&T(r)&&n===r}var nt=`http://www.w3.org/1999/xlink`;function rt(e,t,n,r,i,a=me(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(nt,t.slice(6,t.length)):e.setAttributeNS(nt,t,n):n==null||a&&!b(n)?e.removeAttribute(t):e.setAttribute(t,a?``:C(n)?String(n):n)}function it(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Te(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=b(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function B(e,t,n,r){e.addEventListener(t,n,r)}function at(e,t,n,r){e.removeEventListener(t,n,r)}var ot=Symbol(`_vei`);function st(e,t,n,r,i=null){let a=e[ot]||(e[ot]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ut(t);r?B(e,n,a[t]=mt(r,i),s):o&&(at(e,n,o,s),a[t]=void 0)}}var ct=/(Once|Passive|Capture)$/,lt=/^on:?(?:Once|Passive|Capture)$/;function ut(e){let t,n;for(;(n=e.match(ct))&&!lt.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):v(e.slice(2)),t]}var dt=0,ft=Promise.resolve(),pt=()=>dt||=(ft.then(()=>dt=0),Date.now());function mt(t,r){let i=t=>{if(!t._vts)t._vts=Date.now();else if(t._vts<=i.attached)return;let a=i.value;if(e(a)){let e=t.stopImmediatePropagation;t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0};let i=a.slice(),o=[t];for(let e=0;e<i.length&&!t._stopped;e++){let t=i[e];t&&n(t,r,5,o)}}else n(a,r,5,[t])};return i.value=t,i.attached=pt(),i}var ht=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gt=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?We(e,r,o):t===`style`?Qe(e,n,r):_e(t)?ve(t)||st(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):_t(e,t,r,o))?(it(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&rt(e,t,r,o,a,t!==`value`)):e._isVueCE&&(vt(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!T(r)))?it(e,u(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),rt(e,t,r,o))};function _t(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ht(t)&&oe(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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ht(t)&&T(n)?!1:t in e}function vt(e,t){let n=e._def.props;if(!n)return!1;let r=u(t);return Array.isArray(n)?n.some(e=>u(e)===r):Object.keys(n).some(e=>u(e)===r)}var yt={};function bt(e,t,n){let r=ne(e,t);de(r)&&(r=l({},r,t));class i extends Ct{constructor(e){super(r,e,n)}}return i.def=r,i}var xt=((e,t)=>bt(e,t,cn)),St=typeof HTMLElement<`u`?HTMLElement:class{},Ct=class t extends St{constructor(e,t={},n=sn){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==sn?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(l({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e&&=e.assignedSlot||e.parentNode||e.host;)if(e instanceof t){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,ue(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let t=(t,n=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:r,styles:i}=t,a;if(r&&!e(r))for(let e in r){let t=r[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=ye(this._props[e])),(a||=Object.create(null))[u(e)]=!0)}this._numberProps=a,this._resolveProps(t),this.shadowRoot&&this._applyStyles(i),this._mount(t)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(e=>{e.configureApp=this._def.configureApp,t(this._def=e,!0)}),this._pendingResolve;t(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)re(this,e)||Object.defineProperty(this,e,{get:()=>s(t[e])})}_resolveProps(t){let{props:n}=t,r=e(n)?n:Object.keys(n||{});for(let e of Object.keys(this))e[0]!==`_`&&r.includes(e)&&this._setProp(e,this[e]);for(let e of r.map(u))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):yt,r=u(e);t&&this._numberProps&&this._numberProps[r]&&(n=ye(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===yt?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(v(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(v(e),t+``):t||this.removeAttribute(v(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),an(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=g(this._def,l(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,de(t[0])?l({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),v(e)!==e&&t(v(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function wt(e){let t=y();return t&&t.ce||null}function Tt(){let e=wt();return e&&e.shadowRoot}function Et(e=`$style`){{let t=y();if(!t)return _;let n=t.type.__cssModules;return n&&n[e]||_}}var Dt=new WeakMap,Ot=new WeakMap,V=Symbol(`_moveCb`),kt=Symbol(`_enterCb`),At=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:l({},je,{tag:String,moveClass:String}),setup(e,{slots:n}){let i=y(),a=t(),o,s;return r(()=>{if(!o.length)return;let t=e.moveClass||`${e.name||`v`}-move`;if(!Ft(o[0].el,i.vnode.el,t)){o=[];return}o.forEach(jt),o.forEach(Mt);let n=o.filter(Nt);Ue(i.vnode.el),n.forEach(e=>{let n=e.el,r=n.style;M(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[V]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[V]=null,N(n,t))};n.addEventListener(`transitionend`,i)}),o=[]}),()=>{let t=f(e),r=Pe(t),l=t.tag||S;if(o=[],s)for(let e=0;e<s.length;e++){let t=s[e];t.el&&t.el instanceof Element&&!t.el[Ge]&&(o.push(t),c(t,xe(t,r,a,i)),Dt.set(t,Pt(t.el)))}s=n.default?m(n.default()):[];for(let e=0;e<s.length;e++){let t=s[e];t.key!=null&&c(t,xe(t,r,a,i))}return g(l,null,s)}}});function jt(e){let t=e.el;t[V]&&t[V](),t[kt]&&t[kt]()}function Mt(e){Ot.set(e,Pt(e.el))}function Nt(e){let t=Dt.get(e),n=Ot.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Pt(e){let t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Ft(e,t,n){let r=e.cloneNode(),i=e[A];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Be(r);return a.removeChild(r),o}var H=t=>{let n=t.props[`onUpdate:modelValue`]||!1;return e(n)?e=>h(n,e):n};function It(e){e.target.composing=!0}function Lt(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var U=Symbol(`_assign`),W=Symbol(`_initialValue`);function Rt(e,t,n){return t&&(e=e.trim()),n&&(e=ae(e)),e}var G={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[W]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[W]=e.defaultValue.replace(/\r\n?/g,`
2
+ `))),e[U]=H(i);let a=r||i.props&&i.props.type===`number`;B(e,t?`change`:`input`,t=>{t.target.composing||e[U](Rt(e.value,n,a))}),(n||a)&&B(e,`change`,()=>{e.value=Rt(e.value,n,a)}),t||(B(e,`compositionstart`,It),B(e,`compositionend`,Lt),B(e,`change`,Lt))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[W];delete e[W],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[U](Rt(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[U]=H(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ae(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},zt={deep:!0,created(t,n,r){t[U]=H(r),B(t,`change`,()=>{let n=t._modelValue,r=K(t),i=t.checked,a=t[U];if(e(n)){let e=E(n,r),t=e!==-1;if(i&&!t)a(n.concat(r));else if(!i&&t){let t=[...n];t.splice(e,1),a(t)}}else if(x(n)){let e=new Set(n);i?e.add(r):e.delete(r),a(e)}else a(Gt(t,i))})},mounted:Bt,beforeUpdate(e,t,n){e[U]=H(n),Bt(e,t,n)}};function Bt(t,{value:n,oldValue:r},i){t._modelValue=n;let a;if(e(n))a=E(n,i.props.value)>-1;else if(x(n))a=n.has(i.props.value);else{if(n===r)return;a=w(n,Gt(t,!0))}t.checked!==a&&(t.checked=a)}var Vt={created(e,{value:t},n){e.checked=w(t,n.props.value),e[U]=H(n),B(e,`change`,()=>{e[U](K(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[U]=H(r),t!==n&&(e.checked=w(t,r.props.value))}},Ht={deep:!0,created(t,{value:n,modifiers:{number:r}},i){t._modelValue=n,B(t,`change`,()=>{let n=Array.prototype.filter.call(t.options,e=>e.selected).map(e=>r?ae(K(e)):K(e)),i=t.multiple,a=i?x(t._modelValue)?new Set(n):n:n[0],o=t._pendingValue=[i,i?e(a)?n.slice():n:a];try{t[U](a)}finally{ue(()=>{t._pendingValue===o&&(t._pendingValue=void 0)})}}),t[U]=H(i)},mounted(e,{value:t}){Wt(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[U]=H(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Ut(t,n[1],n[0]))&&Wt(e,t)}};function Ut(t,n,r){if(!r||e(t))return w(t,n);if(x(t)){if(t.size!==n.length)return!1;for(let e of n)if(!t.has(e))return!1;return!0}return!1}function Wt(t,n){let r=t.multiple,i=e(n);if(!r||i||x(n)){for(let e=0,a=t.options.length;e<a;e++){let a=t.options[e],o=K(a);if(r){if(i){let e=typeof o;a.selected=e===`string`||e===`number`?n.some(e=>String(e)===String(o)):E(n,o)>-1}else a.selected=n.has(o)}else if(w(K(a),n)){t.selectedIndex!==e&&(t.selectedIndex=e);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function K(e){return`_value`in e?e._value:e.value}function Gt(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Kt={created(e,t,n){q(e,t,n,null,`created`)},mounted(e,t,n){q(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){q(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){q(e,t,n,r,`updated`)}};function qt(e,t){switch(e){case`SELECT`:return Ht;case`TEXTAREA`:return G;default:switch(t){case`checkbox`:return zt;case`radio`:return Vt;default:return G}}}function q(e,t,n,r,i){let a=qt(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function Jt(){G.getSSRProps=({value:e})=>({value:e}),Vt.getSSRProps=({value:e},t)=>{if(t.props&&w(t.props.value,e))return{checked:!0}},zt.getSSRProps=({value:t},n)=>{if(e(t)){if(n.props&&E(t,n.props.value)>-1)return{checked:!0}}else if(x(t)){if(n.props&&t.has(n.props.value))return{checked:!0}}else if(t)return{checked:!0}},Kt.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=qt(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var Yt=[`ctrl`,`shift`,`alt`,`meta`],Xt={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)=>Yt.some(n=>e[`${n}Key`]&&!t.includes(n))},Zt=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Xt[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Qt={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},$t=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=v(n.key);if(t.some(e=>e===r||Qt[e]===r))return e(n)}))},en=l({patchProp:gt},ke),J,tn=!1;function nn(){return J||=d(en)}function rn(){return J=tn?J:a(en),tn=!0,J}var an=((...e)=>{nn().render(...e)}),on=((...e)=>{rn().hydrate(...e)}),sn=((...e)=>{let t=nn().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=un(e);if(!r)return;let i=t._component;!oe(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,ln(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),cn=((...e)=>{let t=rn().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=un(e);if(t)return n(t,!0,ln(t))},t});function ln(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function un(e){return T(e)?document.querySelector(e):e}var dn=!1,fn=()=>{dn||(dn=!0,Jt(),qe())},pn=typeof document<`u`;function mn(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function hn(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&mn(e.default)}var gn=Object.assign;function _n(e,t){let n={};for(let r in t){let i=t[r];n[r]=Y(i)?i.map(e):e(i)}return n}var vn=()=>{},Y=Array.isArray;function yn(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var bn=/#/g,xn=/&/g,Sn=/\//g,Cn=/=/g,wn=/\?/g,Tn=/\+/g,En=/%5B/g,Dn=/%5D/g,On=/%5E/g,kn=/%60/g,An=/%7B/g,jn=/%7C/g,Mn=/%7D/g,Nn=/%20/g;function Pn(e){return e==null?``:encodeURI(``+e).replace(jn,`|`).replace(En,`[`).replace(Dn,`]`)}function Fn(e){return Pn(e).replace(An,`{`).replace(Mn,`}`).replace(On,`^`)}function In(e){return Pn(e).replace(Tn,`%2B`).replace(Nn,`+`).replace(bn,`%23`).replace(xn,`%26`).replace(kn,"`").replace(An,`{`).replace(Mn,`}`).replace(On,`^`)}function Ln(e){return In(e).replace(Cn,`%3D`)}function Rn(e){return Pn(e).replace(bn,`%23`).replace(wn,`%3F`)}function zn(e){return Rn(e).replace(Sn,`%2F`)}function X(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Bn=/\/$/,Vn=e=>e.replace(Bn,``);function Hn(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Yn(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:X(o)}}function Un(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Wn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Gn(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Z(t.matched[r],n.matched[i])&&Kn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Z(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Kn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!qn(e[n],t[n]))return!1;return!0}function qn(e,t){return Y(e)?Jn(e,t):Y(t)?Jn(t,e):e?.valueOf()===t?.valueOf()}function Jn(e,t){return Y(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Yn(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Xn={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Zn=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Qn=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function $n(e){if(!e){if(pn){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Vn(e)}var er=/^[^#]+#/;function tr(e,t){return e.replace(er,`#`)+t}function nr(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var rr=()=>({left:window.scrollX,top:window.scrollY});function ir(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=nr(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}var or=new Map;function sr(e,t){or.set(e,t)}function cr(e){let t=or.get(e);return or.delete(e),t}function lr(e){return typeof e==`string`||e&&typeof e==`object`}function ur(e){return typeof e==`string`||typeof e==`symbol`}var Q=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),dr=Symbol(``);Q.MATCHER_NOT_FOUND,Q.NAVIGATION_GUARD_REDIRECT,Q.NAVIGATION_ABORTED,Q.NAVIGATION_CANCELLED,Q.NAVIGATION_DUPLICATED;function fr(e,t){return gn(Error(),{type:e,[dr]:!0},t)}function pr(e,t){return e instanceof Error&&dr in e&&(t==null||!!(e.type&t))}function mr(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Tn,` `),i=r.indexOf(`=`),a=X(i<0?r:r.slice(0,i)),o=i<0?null:X(r.slice(i+1));if(a in t){let e=t[a];Y(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function hr(e){let t=``;for(let n in e){let r=e[n];if(n=Ln(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(Y(r)?r.map(e=>e&&In(e)):[r&&In(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function gr(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Y(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}var _r=Symbol(``),vr=Symbol(``),yr=Symbol(``),br=Symbol(``),xr=Symbol(``);function Sr(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Cr(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(fr(Q.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):lr(e)?c(fr(Q.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function wr(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(mn(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Cr(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=hn(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Cr(c,n,r,o,e,i)()}))}}}return a}function Tr(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Z(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Z(e,s))||i.push(s))}return[n,r,i]}var Er=(e,t)=>({default:()=>e?se(Me,e===!0?{}:e,t):t.default?.()}),Dr=/(:\w+)\([^)]+\)/g,Or=/(:\w+)[?+*]/g,kr=/:\w+/g;function Ar(e){let t=e?.meta.key??e.path.replace(Dr,`$1`).replace(Or,`$1`).replace(kr,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function jr(e,t){return e===t||t===Xn?!1:Ar(e)!==Ar(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}var Mr=/^[a-z][a-z0-9-]*$/i;function Nr(e,t){return e&&Mr.test(e)?e:t}function Pr(e){return Array.isArray(e)?e:[e]}function Fr(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Pr(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Pr(n.onBeforeLeave):void 0});return Se(...t)}var $=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Ir=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Lr=e=>{let t=ie();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{$(()=>e())}):$(()=>e())};export{cn as $,Kn as A,yr as B,ar as C,pr as D,pn as E,$n as F,Un as G,sr as H,gr as I,vr as J,Wn as K,mr as L,_r as M,yn as N,ur as O,vn as P,sn as Q,Hn as R,cr as S,Y as T,ir as U,xr as V,hr as W,At as X,Me as Y,Ct as Z,X as _,$t as _t,Er as a,gt as at,Tr as b,Q as c,Ye as ct,Xn as d,zt as dt,bt as et,_n as f,Kt as ft,fr as g,Ke as gt,tr as h,G as ht,Fr as i,ke as it,Z as j,Gn as k,Qn as l,wt as lt,rr as m,Ht as mt,Ir as n,on as nt,jr as o,an as ot,gn as p,Vt as pt,Sr as q,$ as r,fn as rt,Nr as s,Et as st,Lr as t,xt as tt,Zn as u,Tt as ut,Fn as v,Zt as vt,Cr as w,wr as x,zn as y,br as z};