create-valaxy 0.22.5-beta.0 → 0.22.5-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -1
  3. package/template-blog/package.json +2 -2
  4. package/template-blog/.valaxy/components.d.ts +0 -139
  5. package/template-blog/.valaxy/typed-router.d.ts +0 -34
  6. package/template-blog/dist/.vite/ssr-manifest.json +0 -12886
  7. package/template-blog/dist/404.html +0 -1
  8. package/template-blog/dist/_headers +0 -3
  9. package/template-blog/dist/about/site.html +0 -1
  10. package/template-blog/dist/about.html +0 -1
  11. package/template-blog/dist/archives.html +0 -1
  12. package/template-blog/dist/assets/404.BQMTQ_Of.js +0 -1
  13. package/template-blog/dist/assets/404.BVla_BTh.css +0 -1
  14. package/template-blog/dist/assets/404.COjC7JOp.js +0 -1
  15. package/template-blog/dist/assets/404.CdW3wZiw.js +0 -1
  16. package/template-blog/dist/assets/404.bv7ttf42.css +0 -1
  17. package/template-blog/dist/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  18. package/template-blog/dist/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  19. package/template-blog/dist/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  20. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  21. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  22. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  23. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  24. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  25. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  26. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  27. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  28. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  29. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  30. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  31. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  32. package/template-blog/dist/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  33. package/template-blog/dist/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  34. package/template-blog/dist/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  35. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  36. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  37. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  38. package/template-blog/dist/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  39. package/template-blog/dist/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  40. package/template-blog/dist/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  41. package/template-blog/dist/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  42. package/template-blog/dist/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  43. package/template-blog/dist/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  44. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  45. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  46. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  47. package/template-blog/dist/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  48. package/template-blog/dist/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  49. package/template-blog/dist/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  50. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  51. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  52. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  53. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  54. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  55. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  56. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  57. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  58. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  59. package/template-blog/dist/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  60. package/template-blog/dist/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  61. package/template-blog/dist/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
  62. package/template-blog/dist/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
  63. package/template-blog/dist/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
  64. package/template-blog/dist/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
  65. package/template-blog/dist/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
  66. package/template-blog/dist/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
  67. package/template-blog/dist/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
  68. package/template-blog/dist/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
  69. package/template-blog/dist/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
  70. package/template-blog/dist/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
  71. package/template-blog/dist/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
  72. package/template-blog/dist/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
  73. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
  74. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
  75. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
  76. package/template-blog/dist/assets/ValaxyMain.BHXg_53O.css +0 -1
  77. package/template-blog/dist/assets/ValaxyMain.vue_vue_type_style_index_0_lang.GF56VfAK.js +0 -4
  78. package/template-blog/dist/assets/YunAlgoliaSearch.CGLcEs-8.js +0 -1
  79. package/template-blog/dist/assets/YunComment.BL40W_Hn.css +0 -1
  80. package/template-blog/dist/assets/YunComment.vue_vue_type_style_index_0_lang.D96eor6Z.js +0 -1
  81. package/template-blog/dist/assets/YunGallery.DpuIKv74.js +0 -1
  82. package/template-blog/dist/assets/YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js +0 -1
  83. package/template-blog/dist/assets/YunPostCollapse.CLDXGmA8.css +0 -1
  84. package/template-blog/dist/assets/YunPostCollapse.vue_vue_type_style_index_0_lang.BDOzPdAI.js +0 -1
  85. package/template-blog/dist/assets/YunPostList.BfWGcc9d.css +0 -1
  86. package/template-blog/dist/assets/YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js +0 -1
  87. package/template-blog/dist/assets/YunPostMeta.DCrVMfuT.css +0 -1
  88. package/template-blog/dist/assets/YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js +0 -1
  89. package/template-blog/dist/assets/YunSponsor.BJOC5yvc.css +0 -1
  90. package/template-blog/dist/assets/YunSponsor.vue_vue_type_style_index_0_lang.DXMLu2ja.js +0 -1
  91. package/template-blog/dist/assets/_...path_.21n1QfBG.js +0 -1
  92. package/template-blog/dist/assets/_page_.CbwGuB0C.js +0 -1
  93. package/template-blog/dist/assets/albums.B4t_Ao0K.js +0 -1
  94. package/template-blog/dist/assets/albums.B673jvUl.css +0 -1
  95. package/template-blog/dist/assets/animation.CoxzA1iL.js +0 -25
  96. package/template-blog/dist/assets/animation.HEYJ8NQD.js +0 -1
  97. package/template-blog/dist/assets/app.DEdTPrqj.css +0 -1
  98. package/template-blog/dist/assets/app.DdNQbQcf.js +0 -179
  99. package/template-blog/dist/assets/archives.BJseIPdh.js +0 -1
  100. package/template-blog/dist/assets/back.BCEwbEbk.js +0 -1
  101. package/template-blog/dist/assets/bg-img.kXdNMxcF.jpg +0 -0
  102. package/template-blog/dist/assets/categories.o32SQiTl.js +0 -1
  103. package/template-blog/dist/assets/chunks/@vueuse/motion.Cu3FxAjX.js +0 -1
  104. package/template-blog/dist/assets/chunks/dayjs.Byk5cVHE.js +0 -1
  105. package/template-blog/dist/assets/chunks/nprogress.D5YWUqdw.js +0 -2
  106. package/template-blog/dist/assets/chunks/pinia.BZCK5L1u.js +0 -5
  107. package/template-blog/dist/assets/chunks/vue-i18n.BJCfcYj0.js +0 -19
  108. package/template-blog/dist/assets/chunks/vue-router.iBpRWtK4.js +0 -6
  109. package/template-blog/dist/assets/collection.Ckb3clU2.js +0 -1
  110. package/template-blog/dist/assets/collections.BP5MVOJY.js +0 -1
  111. package/template-blog/dist/assets/empty.DqpoVTRu.js +0 -1
  112. package/template-blog/dist/assets/framework.DTsYX98Z.js +0 -18
  113. package/template-blog/dist/assets/gallery.CMbHzHw3.js +0 -2
  114. package/template-blog/dist/assets/hello-valaxy.BRLAkNks.js +0 -1
  115. package/template-blog/dist/assets/home.BJC4odsr.css +0 -1
  116. package/template-blog/dist/assets/home.CZOjCxWv.js +0 -1
  117. package/template-blog/dist/assets/index.BXCNz9_b.js +0 -1
  118. package/template-blog/dist/assets/index.C5okkQwF.js +0 -1
  119. package/template-blog/dist/assets/index.CL1DdHkf.js +0 -1
  120. package/template-blog/dist/assets/index.CTbEHs38.js +0 -1
  121. package/template-blog/dist/assets/index.DaigOlRp.js +0 -1
  122. package/template-blog/dist/assets/index.DfXt1eUW.css +0 -1
  123. package/template-blog/dist/assets/index.DkC-Pgj1.js +0 -1
  124. package/template-blog/dist/assets/index.DoisJ1U_.js +0 -1
  125. package/template-blog/dist/assets/index.OFtDVdUU.js +0 -1
  126. package/template-blog/dist/assets/index.ufZ0mfh0.js +0 -1
  127. package/template-blog/dist/assets/index.x8TNrC4q.js +0 -1
  128. package/template-blog/dist/assets/none.DLM1AMsD.jpg +0 -0
  129. package/template-blog/dist/assets/post.Ct0b7r_k.js +0 -1
  130. package/template-blog/dist/assets/post.DDxwAI70.css +0 -1
  131. package/template-blog/dist/assets/post.DqpoVTRu.js +0 -1
  132. package/template-blog/dist/assets/post.sHPO3XkC.js +0 -1
  133. package/template-blog/dist/assets/posts.DamUovhw.js +0 -1
  134. package/template-blog/dist/assets/projects.CSgHBlnO.js +0 -1
  135. package/template-blog/dist/assets/projects.Dti-qd8N.css +0 -1
  136. package/template-blog/dist/assets/sidebar-bg-img.mp54gEws.webp +0 -0
  137. package/template-blog/dist/assets/site.Dg_HdDiW.js +0 -1
  138. package/template-blog/dist/assets/tags.DrGfAO4R.js +0 -1
  139. package/template-blog/dist/assets/view-transition.IkvUpX_n.css +0 -1
  140. package/template-blog/dist/atom.xml +0 -36
  141. package/template-blog/dist/categories.html +0 -1
  142. package/template-blog/dist/favicon.svg +0 -33
  143. package/template-blog/dist/feed.json +0 -26
  144. package/template-blog/dist/feed.xml +0 -31
  145. package/template-blog/dist/index.html +0 -1
  146. package/template-blog/dist/links.html +0 -1
  147. package/template-blog/dist/page.html +0 -1
  148. package/template-blog/dist/posts/hello-valaxy.html +0 -1
  149. package/template-blog/dist/posts.html +0 -1
  150. package/template-blog/dist/pwa-192x192.png +0 -0
  151. package/template-blog/dist/pwa-512x512.png +0 -0
  152. package/template-blog/dist/robots.txt +0 -4
  153. package/template-blog/dist/safari-pinned-tab.svg +0 -41
  154. package/template-blog/dist/sitemap.xml +0 -1
  155. package/template-blog/dist/tags.html +0 -1
  156. package/template-blog/dist/valaxy-fuse-list.json +0 -1
  157. package/template-blog/public/atom.xml +0 -36
  158. package/template-blog/public/feed.json +0 -26
  159. package/template-blog/public/feed.xml +0 -31
  160. package/template-blog/public/valaxy-fuse-list.json +0 -1
@@ -1,179 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/view-transition.IkvUpX_n.css","assets/404.CdW3wZiw.js","assets/back.BCEwbEbk.js","assets/chunks/vue-router.iBpRWtK4.js","assets/framework.DTsYX98Z.js","assets/chunks/dayjs.Byk5cVHE.js","assets/chunks/vue-i18n.BJCfcYj0.js","assets/chunks/nprogress.D5YWUqdw.js","assets/chunks/pinia.BZCK5L1u.js","assets/chunks/@vueuse/motion.Cu3FxAjX.js","assets/404.BVla_BTh.css","assets/empty.DqpoVTRu.js","assets/post.DqpoVTRu.js","assets/404.BQMTQ_Of.js","assets/404.bv7ttf42.css","assets/albums.B4t_Ao0K.js","assets/index.BXCNz9_b.js","assets/animation.CoxzA1iL.js","assets/YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js","assets/albums.B673jvUl.css","assets/archives.BJseIPdh.js","assets/YunPostCollapse.vue_vue_type_style_index_0_lang.BDOzPdAI.js","assets/YunPostCollapse.CLDXGmA8.css","assets/categories.o32SQiTl.js","assets/animation.HEYJ8NQD.js","assets/index.x8TNrC4q.js","assets/collection.Ckb3clU2.js","assets/collections.BP5MVOJY.js","assets/gallery.CMbHzHw3.js","assets/home.CZOjCxWv.js","assets/home.BJC4odsr.css","assets/post.sHPO3XkC.js","assets/YunSponsor.vue_vue_type_style_index_0_lang.DXMLu2ja.js","assets/YunSponsor.BJOC5yvc.css","assets/YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js","assets/YunPostMeta.DCrVMfuT.css","assets/post.DDxwAI70.css","assets/posts.DamUovhw.js","assets/YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js","assets/post.Ct0b7r_k.js","assets/YunPostList.BfWGcc9d.css","assets/projects.CSgHBlnO.js","assets/YunComment.vue_vue_type_style_index_0_lang.D96eor6Z.js","assets/index.C5okkQwF.js","assets/YunComment.BL40W_Hn.css","assets/projects.Dti-qd8N.css","assets/tags.DrGfAO4R.js","assets/YunAlgoliaSearch.CGLcEs-8.js"])))=>i.map(i=>d[i]);
2
- var Ll=Object.defineProperty;var Rl=(e,t,n)=>t in e?Ll(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rt=(e,t,n)=>Rl(e,typeof t!="symbol"?t+"":t,n);import{n as dn,E as Ml,u as w,j as Js,r as E,G as Qs,w as X,H as El,I as Nl,J as Dl,b as Qr,K as Hl,A as fn,c as A,d as tt,i as Cr,_ as ie,a as Zs,k as Il,L as vt,M as pe,N as _,O as F,P as T,Q as zl,e as H,B as C,R as $,S as U,U as M,V as Ut,F as se,W as K,X as jl,Y as ge,Z as ct,$ as Pt,a0 as Kn,a1 as Xs,a2 as Z,a3 as At,a4 as tn,a5 as ei,a6 as Bl,a7 as Fl,a8 as Vl,a9 as Yl,aa as Wl,ab as Ul,m as ql,ac as Gl,ad as Kl,ae as Jl,af as Ql,ag as Zl,ah as Xl,h as ec}from"./framework.DTsYX98Z.js";import{u as Zr,a as nt,c as tc,b as nc,d as rc,r as Xr,D as oc}from"./chunks/vue-router.iBpRWtK4.js";import{d as pt,r as sc,t as ic,u as ac}from"./chunks/dayjs.Byk5cVHE.js";import{t as Q,w as lc,a as pn,i as yt,n as Fe,b as cc,c as jt,d as ti,e as ni,f as uc,u as dc,g as Or,h as fc,j as Mn,k as pc,l as hc}from"./chunks/nprogress.D5YWUqdw.js";import{u as Se,c as mc}from"./chunks/vue-i18n.BJCfcYj0.js";import{d as Jn,i as gc}from"./chunks/pinia.BZCK5L1u.js";import{M as vc,d as Bt}from"./chunks/@vueuse/motion.Cu3FxAjX.js";const yc=new Set(["title","titleTemplate","script","style","noscript"]),En=new Set(["base","meta","link","style","script","noscript"]),bc=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_c=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ri=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),wc=typeof window<"u";function Hn(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Lr(e){if(e._h)return e._h;if(e._d)return Hn(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Hn(t)}function Sc(e,t){return e instanceof Promise?e.then(t):t(e)}function Rr(e,t,n,r){const o=r||si(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>Rr(e,t,n,i));const s={tag:e,props:o};for(const i of ri){const a=s.props[i]!==void 0?s.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||yc.has(s.tag))&&(s[i==="children"?"innerHTML":i]=a),delete s.props[i])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(i=>({...s,props:{...s.props,content:i}})):s}function kc(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function oi(e,t,n,r){for(let o=r;o<n.length;o+=1){const s=n[o];if(s==="class"||s==="style"){e[s]=kc(s,e[s]);continue}if(e[s]instanceof Promise)return e[s].then(i=>(e[s]=i,oi(e,t,n,o)));if(!t&&!ri.has(s)){const i=String(e[s]),a=s.startsWith("data-");i==="true"||i===""?e[s]=a?"true":!0:e[s]||(a&&i==="false"?e[s]="false":delete e[s])}}}function si(e,t=!1){const n=oi(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const xc=10;function ii(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(s=>(t[r]=s,ii(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function $c(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const s=n[o];if(!(s===void 0||!bc.has(o))){if(Array.isArray(s)){for(const i of s)t.push(Rr(o,i,e));continue}t.push(Rr(o,s,e))}}if(t.length===0)return[];const r=[];return Sc(ii(r,t,0),()=>r.map((o,s)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<xc)+s,o)))}const Vo=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Yo={base:-10,title:10},Wo={critical:-80,high:-10,low:20};function In(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in Yo&&(n=Yo[e.tag]),t&&t in Wo?n+Wo[t]:n}const Tc=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Pc=["name","property","http-equiv"];function ai(e){const{props:t,tag:n}=e;if(_c.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of Pc)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const it="%separator";function Ac(e,t,n=!1){var o;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=(o=e[t.substring(0,s)])==null?void 0:o[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const Cc=new RegExp(`${it}(?:\\s*${it})*`,"g");function Sn(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const s=o.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const i=e.includes(it);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===it||!s.includes(a))return a;const l=Ac(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(it)&&(e=e.slice(0,-it.length)),e.startsWith(it)&&(e=e.slice(it.length)),e=e.replace(Cc,n).trim()),e}function Uo(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Oc(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var f;const s=(await e.resolveTags()).map(d=>({tag:d,id:En.has(d.tag)?Lr(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const p of["body","head"]){const h=(f=n[p])==null?void 0:f.children;for(const m of h){const g=m.tagName.toLowerCase();if(!En.has(g))continue;const y={tag:g,props:await si(m.getAttributeNames().reduce((P,L)=>({...P,[L]:m.getAttribute(L)}),{})),innerHTML:m.innerHTML},v=ai(y);let b=v,x=1;for(;b&&d.has(b);)b=`${v}:${x++}`;b&&(y._d=b,d.add(b)),i.elMap[m.getAttribute("data-hid")||Lr(y)]=m}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,p,h){const m=`${d}:${p}`;i.sideEffects[m]=h,delete i.pendingSideEffects[m]}function l({id:d,$el:p,tag:h}){const m=h.tag.endsWith("Attrs");if(i.elMap[d]=p,m||(h.textContent&&h.textContent!==p.textContent&&(p.textContent=h.textContent),h.innerHTML&&h.innerHTML!==p.innerHTML&&(p.innerHTML=h.innerHTML),a(d,"el",()=>{var g;(g=i.elMap[d])==null||g.remove(),delete i.elMap[d]})),h._eventHandlers)for(const g in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,g)&&p.getAttribute(`data-${g}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),h._eventHandlers[g].bind(p)),p.setAttribute(`data-${g}`,""));for(const g in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,g))continue;const y=h.props[g],v=`attr:${g}`;if(g==="class"){if(!y)continue;for(const b of y.split(" "))m&&a(d,`${v}:${b}`,()=>p.classList.remove(b)),!p.classList.contains(b)&&p.classList.add(b)}else if(g==="style"){if(!y)continue;for(const b of y.split(";")){const x=b.indexOf(":"),P=b.substring(0,x).trim(),L=b.substring(x+1).trim();a(d,`${v}:${P}`,()=>{p.style.removeProperty(P)}),p.style.setProperty(P,L)}}else p.getAttribute(g)!==y&&p.setAttribute(g,y===!0?"":String(y)),m&&a(d,v,()=>p.removeAttribute(g))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of s){const{tag:p,shouldRender:h,id:m}=d;if(h){if(p.tag==="title"){n.title=p.textContent;continue}d.$el=d.$el||i.elMap[m],d.$el?l(d):En.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(d.$el)}for(const d of s)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:s}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Lc(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Oc(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function Rc(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":s=>{Lc(s,e)}}}}}function Mr(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Mr(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Mc={run:e=>e()},Ec=()=>Mc,li=typeof console.createTask<"u"?console.createTask:Ec;function Nc(e,t){const n=t.shift(),r=li(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function Dc(e,t){const n=t.shift(),r=li(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function pr(e,t){for(const n of[...e])n(t)}class Hc{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(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Mr(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Mr(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Nc,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Dc,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&pr(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&pr(this._after,o)}):(this._after&&o&&pr(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Ic(){return new Hc}const zc=new Set(["templateParams","htmlAttrs","bodyAttrs"]),jc={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=ai(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||Lr(r),s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&zc.has(r.tag)&&(a="merge"),a==="merge"){const l=s.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);continue}else if(In(r)>In(s))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&En.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],s=o._duped;n.push(o),s&&(delete o._duped,n.push(...s))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Bc=new Set(["script","link","bodyAttrs"]),Fc=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Bc.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const s=r[o];typeof s=="function"&&(e.ssr&&Vo.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=s)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Hn(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,s;const r=t==null?void 0:t.dataset;if(r)for(const i in r){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);Vo.has(a)&&((s=(o=n._eventHandlers)==null?void 0:o[a])==null||s.call(t,new Event(a.substring(2))))}}}}),Vc=new Set(["link","style","script","noscript"]),Yc={hooks:{"tag:normalise":({tag:e})=>{e.key&&Vc.has(e.tag)&&(e.props["data-hid"]=e._h=Hn(e.key))}}},Wc={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Uc={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of Tc){if(!n.tagPriority.startsWith(r))continue;const s=n.tagPriority.substring(r.length),i=(t=e.tags.find(a=>a._d===s))==null?void 0:t._p;if(i!==void 0){n._p=i+o;break}}e.tags.sort((n,r)=>{const o=In(n),s=In(r);return o<s?-1:o>s?1:n._p-r._p})}}},qc={meta:"content",link:"href",htmlAttrs:"lang"},Gc=["innerHTML","textContent"],Kc=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const o=r||{},s=o.separator||"|";delete o.separator,o.pageTitle=Sn(o.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",o,s);for(const a of n){if(a.processTemplateParams===!1)continue;const l=qc[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Sn(a.props[l],o,s);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of Gc)typeof a[c]=="string"&&(a[c]=Sn(a[c],o,s,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=o,e._separator=s},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=Sn(n.textContent,e._templateParams,e._separator))}}}),Jc={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const s=t[o];s.tag==="title"?n=s:s.tag==="titleTemplate"&&(r=s)}if(r&&n){const o=Uo(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=Uo(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},Qc={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let ci;function Zc(e={}){const t=Xc(e);return t.use(Rc()),ci=t}function qo(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Xc(e={}){const t=Ic();t.addHooks(e.hooks||{}),e.document=e.document||(wc?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),qo(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return qo(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(f=>f._i!==u._i),r()},patch(f){for(const d of s)d._i===u._i&&(d.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await $c(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[jc,Wc,Fc,Yc,Uc,Kc,Jc,Qc,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function eo(){return ci}function eu(e,t={}){const n=t.head||eo();return n==null?void 0:n.push(e,t)}const tu=Ml[0]==="3";function nu(e){return typeof e=="function"?e():w(e)}function zn(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=nu(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>zn(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=w(t[r]);continue}n[r]=zn(t[r])}return n}return t}const ru={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=zn(t.input)}}},ui="usehead";function ou(e){return{install(n){tu&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ui,e))}}.install}function su(e={}){e.domDelayFn=e.domDelayFn||(n=>dn(()=>setTimeout(()=>n(),0)));const t=Zc(e);return t.use(ru),t.install=ou(t),t}const Go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ko="__unhead_injection_handler__";function iu(){return Ko in Go?Go[Ko]():Js(ui)||eo()}function to(e,t={}){const n=t.head||iu();if(n)return n.ssr?n.push(e,t):au(n,e,t)}function au(e,t,n={}){const r=E(!1),o=E({});Qs(()=>{o.value=r.value?{}:zn(t)});const s=e.push(o.value,n);return X(o,a=>{s.patch(a)}),Qr()&&(El(()=>{s.dispose()}),Nl(()=>{r.value=!0}),Dl(()=>{r.value=!1})),s}const lu=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,cu=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,uu=/^([/\\]\s*){2,}[^/\\]/,du=/^\.?\//;function no(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?lu.test(e):cu.test(e)||(t.acceptRelative?uu.test(e):!1)}function Er(e="",t){return e.endsWith("/")}function ro(e="",t){return(Er(e)?e.slice(0,-1):e)||"/"}function di(e="",t){return e.endsWith("/")?e:e+"/"}function Me(e,t){if(fu(t)||no(e))return e;const n=ro(t);return e.startsWith(n)?e:fi(n,e)}function fu(e){return!e||e==="/"}function pu(e){return e&&e!=="/"}function fi(e,...t){let n=e||"";for(const r of t.filter(o=>pu(o)))if(n){const o=r.replace(du,"");n=di(n)+o}else n=r;return n}const Jo=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function hu(e,t){t?t={...Jo,...t}:t=Jo;const n=pi(t);return n.dispatch(e),n.toString()}const mu=Object.freeze(["prototype","__proto__","constructor"]);function pi(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let c=Object.keys(o);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Qo(o)&&(u=mu),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const c=pi(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),Qo(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
3
- Use "options.replacer" or "options.ignoreUnknown"
4
- `)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const hi="[native code] }",gu=hi.length;function Qo(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-gu)===hi}var vu=Object.defineProperty,yu=(e,t,n)=>t in e?vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Et=(e,t,n)=>(yu(e,typeof t!="symbol"?t+"":t,n),n);class ut{constructor(t,n){Et(this,"words"),Et(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||bu).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new ut([...this.words])}}const bu={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},_u={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const o=e.words[r>>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},wu={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new ut(n,t)}},Su={parse(e){return wu.parse(unescape(encodeURIComponent(e)))}};class ku{constructor(){Et(this,"_data",new ut),Et(this,"_nDataBytes",0),Et(this,"_minBufferSize",0),Et(this,"blockSize",512/32)}reset(){this._data=new ut,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Su.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=s}return new ut(n,s)}}class xu extends ku{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}var $u=Object.defineProperty,Tu=(e,t,n)=>t in e?$u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pu=(e,t,n)=>(Tu(e,t+"",n),n);const Zo=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Au=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],_t=[];class Cu extends xu{constructor(){super(...arguments),Pu(this,"_hash",new ut([...Zo]))}reset(){super.reset(),this._hash=new ut([...Zo])}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],s=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)_t[d]=t[n+d]|0;else{const b=_t[d-15],x=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,P=_t[d-2],L=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;_t[d]=x+_t[d-7]+L+_t[d-16]}const p=l&c^~l&u,h=o&s^o&i^s&i,m=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),g=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),y=f+g+p+Au[d]+_t[d],v=m+h;f=u,u=c,c=l,l=a+y|0,a=i,i=s,s=o,o=y+v|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function Ou(e){return new Cu().finalize(e).toString(_u)}function Qn(e,t={}){const n=typeof e=="string"?e:hu(e,t);return Ou(n).slice(0,10)}function Lu(e){return e}function q(e){return{"@id":typeof e!="string"?e["@id"]:e}}function oo(e){try{const t=e instanceof Date?e:new Date(Date.parse(e));return`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`}catch{}return typeof e=="string"?e:e.toString()}const Ru=[/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,/^\d{4}-[01]\d-[0-3]\d$/,/^\d{4}-[01]\d$/,/^\d{4}$/];function Mu(e){return Ru.some(t=>t.test(e))}function Qe(e){if(!e)return e;try{return e instanceof Date?e.toISOString():Mu(e)?e:new Date(Date.parse(e)).toISOString()}catch{}return typeof e=="string"?e:e.toString()}const he="#identity";function j(e,t,n){!(e!=null&&e[t])&&n&&(e[t]=n)}function De(e){return Array.isArray(e)?e:[e]}function Eu(e,t,n){const r=new Set(De(e[t]));r.add(n),e[t]=[...r].filter(Boolean)}function qt(e,t){return no(t)?t:(t.includes("#")||(t=`#${t}`),Me(t,e))}function Nu(e,t){if(!e)return e;if(e.length>t){const n=e.substring(0,t);return n.substring(0,Math.min(n.length,n.lastIndexOf(" ")))}return e}function Ft(e,t){const n=e["@type"];if(n===t)return;const r=new Set([...De(t),...De(n)]);e["@type"]=r.size===1?n:[...r.values()]}function Ze(e,t){return!t||no(t)||t[0]!=="/"&&t[0]!=="#"?t:Me(t,e)}function Vt(e){return e&&e.substring(e.lastIndexOf("#"))}function mi(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(e[t]&&typeof e[t]=="object"){if(e[t].__v_isReadonly||e[t].__v_isRef)return;mi(e[t]);return}(e[t]===""||e[t]===null||e[t]===void 0)&&delete e[t]}return e}const Nr={cast(e){return typeof e=="number"?{value:e}:e},defaults:{"@type":"QuantitativeValue"}},so={defaults:{"@type":"MonetaryAmount"},resolve(e,t){return typeof e.value!="number"&&(e.value=O(e.value,t,Nr)),e}},Du={defaults:{"@type":"MerchantReturnPolicy"},resolve(e,t){return e.returnPolicyCategory&&(e.returnPolicyCategory=Me(e.returnPolicyCategory,"https://schema.org/")),e.returnFees&&(e.returnFees=Me(e.returnFees,"https://schema.org/")),e.returnMethod&&(e.returnMethod=Me(e.returnMethod,"https://schema.org/")),e.returnShippingFeesAmount=O(e.returnShippingFeesAmount,t,so),e}},Hu={defaults:{"@type":"DefinedRegion"}},Iu={defaults:{"@type":"ShippingDeliveryTime"},resolve(e,t){return e.handlingTime=O(e.handlingTime,t,Nr),e.transitTime=O(e.transitTime,t,Nr),e}},zu={defaults:{"@type":"OfferShippingDetails"},resolve(e,t){return e.deliveryTime=O(e.deliveryTime,t,Iu),e.shippingDestination=O(e.shippingDestination,t,Hu),e.shippingRate=O(e.shippingRate,t,so),e}},Yt={cast(e){return typeof e=="number"||typeof e=="string"?{price:e}:e},defaults:{"@type":"Offer",availability:"InStock"},resolve(e,t){return j(e,"priceCurrency",t.meta.currency),j(e,"priceValidUntil",new Date(Date.UTC(new Date().getFullYear()+1,12,-1,0,0,0))),e.url&&Ze(t.meta.host,e.url),e.availability&&(e.availability=Me(e.availability,"https://schema.org/")),e.itemCondition&&(e.itemCondition=Me(e.itemCondition,"https://schema.org/")),e.priceValidUntil&&(e.priceValidUntil=Qe(e.priceValidUntil)),e.hasMerchantReturnPolicy=O(e.hasMerchantReturnPolicy,t,Du),e.shippingDetails=O(e.shippingDetails,t,zu),e}},io={defaults:{"@type":"AggregateOffer"},inheritMeta:[{meta:"currency",key:"priceCurrency"}],resolve(e,t){return e.offers=O(e.offers,t,Yt),e.offers&&j(e,"offerCount",De(e.offers).length),e}},hn={defaults:{"@type":"AggregateRating"}},Zn={cast(e){return typeof e=="string"&&(e={name:e}),e},defaults:{"@type":"ListItem"},resolve(e,t){return typeof e.item=="string"?e.item=Ze(t.meta.host,e.item):typeof e.item=="object"&&(e.item=O(e.item,t)),e}},ao="#breadcrumb",lo={defaults:{"@type":"BreadcrumbList"},idPrefix:["url",ao],resolve(e,t){if(e.itemListElement){let n=1;e.itemListElement=O(e.itemListElement,t,Zn,{array:!0,afterResolve(r){j(r,"position",n++)}})}return e},resolveRootNode(e,{find:t}){const n=t(Ae);n&&j(n,"breadcrumb",q(e))}},ht={alias:"image",cast(e){return typeof e=="string"&&(e={url:e}),e},defaults:{"@type":"ImageObject"},inheritMeta:["inLanguage"],idPrefix:"host",resolve(e,{meta:t}){return e.url=Ze(t.host,e.url),j(e,"contentUrl",e.url),e.height&&!e.width&&delete e.height,e.width&&!e.height&&delete e.width,e}},mn={defaults:{"@type":"PostalAddress"}},co={defaults:{"@type":"SearchAction",target:{"@type":"EntryPoint"},"query-input":{"@type":"PropertyValueSpecification",valueRequired:!0,valueName:"search_term_string"}},resolve(e,t){return typeof e.target=="string"&&(e.target={"@type":"EntryPoint",urlTemplate:Ze(t.meta.host,e.target)}),e}},Ht="#website",gi={defaults:{"@type":"WebSite"},inheritMeta:["inLanguage",{meta:"host",key:"url"}],idPrefix:["host",Ht],resolve(e,t){return e.potentialAction=O(e.potentialAction,t,co,{array:!0}),e.publisher=O(e.publisher,t),e},resolveRootNode(e,{find:t}){if(Vt(e["@id"])===Ht){const n=t(he);n&&j(e,"publisher",q(n));const r=t(Ae);r&&j(r,"isPartOf",q(e))}return e}},mt={defaults:{"@type":"Organization"},idPrefix:["host",he],inheritMeta:[{meta:"host",key:"url"}],resolve(e,t){return Ft(e,"Organization"),e.address=O(e.address,t,mn),e},resolveRootNode(e,t){const n=Vt(e["@id"])===he,r=t.find(Ae);if(e.logo&&n){if(!t.find("#organization")){const s=O(e.logo,t,ht,{root:!0,afterResolve(i){i["@id"]=qt(t.meta.host,"#logo"),j(i,"caption",e.name)}});r&&s&&j(r,"primaryImageOfPage",q(s)),t.nodes.push({"@type":"Organization",name:e.name,url:e.url,sameAs:e.sameAs,address:e.address,logo:O(e.logo,t,ht,{root:!1}).url,_priority:-1,"@id":qt(t.meta.host,"#organization")})}delete e.logo}n&&r&&j(r,"about",q(e));const o=t.find(Ht);o&&j(o,"publisher",q(e))}},uo={defaults:{"@type":"ReadAction"},resolve(e,t){return e.target.includes(t.meta.url)||e.target.unshift(t.meta.url),e}},Ae="#webpage",vi={defaults({meta:e}){const t=ro(e.url.substring(e.url.lastIndexOf("/")+1));let n="WebPage";switch(t){case"about":case"about-us":n="AboutPage";break;case"search":n="SearchResultsPage";break;case"checkout":n="CheckoutPage";break;case"contact":case"get-in-touch":case"contact-us":n="ContactPage";break;case"faq":n="FAQPage";break}return{"@type":n}},idPrefix:["url",Ae],inheritMeta:[{meta:"title",key:"name"},"description","datePublished","dateModified","url"],resolve(e,t){return e.dateModified=Qe(e.dateModified),e.datePublished=Qe(e.datePublished),Ft(e,"WebPage"),e.about=O(e.about,t,mt),e.breadcrumb=O(e.breadcrumb,t,lo),e.author=O(e.author,t,Xe),e.primaryImageOfPage=O(e.primaryImageOfPage,t,ht),e.potentialAction=O(e.potentialAction,t,uo),e["@type"]==="WebPage"&&t.meta.url&&j(e,"potentialAction",[{"@type":"ReadAction",target:[t.meta.url]}]),e},resolveRootNode(e,{find:t,meta:n}){const r=t(he),o=t(Ht),s=t("#logo");r&&n.url===n.host&&j(e,"about",q(r)),s&&j(e,"primaryImageOfPage",q(s)),o&&j(e,"isPartOf",q(o));const i=t(ao);return i&&j(e,"breadcrumb",q(i)),e}},Xe={cast(e){return typeof e=="string"?{name:e}:e},defaults:{"@type":"Person"},idPrefix:["host",he],resolve(e,t){return e.url&&(e.url=Ze(t.meta.host,e.url)),e},resolveRootNode(e,{find:t,meta:n}){if(Vt(e["@id"])===he){j(e,"url",n.host);const o=t(Ae);o&&j(o,"about",q(e));const s=t(Ht);s&&j(s,"publisher",q(e))}const r=t(gn);r&&j(r,"author",q(e))}},gn="#article",yi={defaults:{"@type":"Article"},inheritMeta:["inLanguage","description","image","dateModified","datePublished",{meta:"title",key:"headline"}],idPrefix:["url",gn],resolve(e,t){return e.author=O(e.author,t,Xe,{root:!0}),e.publisher=O(e.publisher,t),e.dateModified=Qe(e.dateModified),e.datePublished=Qe(e.datePublished),Ft(e,"Article"),e.headline=Nu(e.headline,110),e},resolveRootNode(e,{find:t,meta:n}){var s;const r=t(Ae),o=t(he);if(e.image&&!e.thumbnailUrl){const i=De(e.image)[0];typeof i=="string"?j(e,"thumbnailUrl",Ze(n.host,i)):i!=null&&i["@id"]&&j(e,"thumbnailUrl",(s=t(i["@id"]))==null?void 0:s.url)}return o&&(j(e,"publisher",q(o)),j(e,"author",q(o))),r&&(j(e,"isPartOf",q(r)),j(e,"mainEntityOfPage",q(r)),j(r,"potentialAction",[{"@type":"ReadAction",target:[n.url]}]),j(r,"dateModified",e.dateModified),j(r,"datePublished",e.datePublished)),e}},fo={defaults:{"@type":"Book"},inheritMeta:["inLanguage"],resolve(e,t){return e.bookFormat&&(e.bookFormat=Me(e.bookFormat,"https://schema.org/")),e.datePublished&&(e.datePublished=oo(e.datePublished)),e.author=O(e.author,t),e},resolveRootNode(e,{find:t}){const n=t(he);return n&&j(e,"provider",q(n)),e}},bi="#book",_i={defaults:{"@type":"Book"},inheritMeta:["description","url",{meta:"title",key:"name"}],idPrefix:["url",bi],resolve(e,t){return e.workExample=O(e.workExample,t,fo),e.author=O(e.author,t),e.url&&Me(e.url,t.meta.host),e},resolveRootNode(e,{find:t}){const n=t(he);return n&&j(e,"author",q(n)),e}},wi={defaults:{"@type":"Comment"},idPrefix:"url",resolve(e,t){return e.author=O(e.author,t,Xe,{root:!0}),e},resolveRootNode(e,{find:t}){const n=t(gn);n&&j(e,"about",q(n))}},Si={defaults:{"@type":"Course"},resolve(e,t){return e.provider=O(e.provider,t,mt,{root:!0}),e},resolveRootNode(e,{find:t}){const n=t(he);return n&&j(e,"provider",q(n)),e}},Xn={defaults:{"@type":"Place"},resolve(e,t){return typeof e.address!="string"&&(e.address=O(e.address,t,mn)),e}},po={cast(e){return typeof e=="string"?{url:e}:e},defaults:{"@type":"VirtualLocation"}},ki="#event",xi={defaults:{"@type":"Event"},inheritMeta:["inLanguage","description","image",{meta:"title",key:"name"}],idPrefix:["url",ki],resolve(e,t){var o;if(e.location){const s=e.location==="string"||((o=e.location)==null?void 0:o.url)!=="undefined";e.location=O(e.location,t,s?po:Xn)}e.performer=O(e.performer,t,Xe,{root:!0}),e.organizer=O(e.organizer,t,mt,{root:!0}),e.offers=O(e.offers,t,Yt),e.eventAttendanceMode&&(e.eventAttendanceMode=Me(e.eventAttendanceMode,"https://schema.org/")),e.eventStatus&&(e.eventStatus=Me(e.eventStatus,"https://schema.org/"));const n=e.eventStatus==="https://schema.org/EventMovedOnline";return["startDate","previousStartDate","endDate"].forEach(s=>{n?e[s]=Qe(e[s]):e[s]instanceof Date&&e[s].getHours()===0&&e[s].getMinutes()===0&&(e[s]=oo(e[s]))}),j(e,"endDate",e.startDate),e},resolveRootNode(e,{find:t}){const n=t(he);n&&j(e,"organizer",q(n))}},ho={defaults:{"@type":"OpeningHoursSpecification",opens:"00:00",closes:"23:59"}},jn={defaults:{"@type":["Organization","LocalBusiness"]},inheritMeta:[{key:"url",meta:"host"},{key:"currenciesAccepted",meta:"currency"}],idPrefix:["host",he],resolve(e,t){return Ft(e,["Organization","LocalBusiness"]),e.address=O(e.address,t,mn),e.openingHoursSpecification=O(e.openingHoursSpecification,t,ho),e=yn({...e},t,mt),e},resolveRootNode(e,t){return mt.resolveRootNode(e,t),e}},mo={cast(e){return e==="number"?{ratingValue:e}:e},defaults:{"@type":"Rating",bestRating:5,worstRating:1}},$i={defaults:{"@type":["Organization","LocalBusiness","FoodEstablishment"]},inheritMeta:[{key:"url",meta:"host"},{key:"currenciesAccepted",meta:"currency"}],idPrefix:["host",he],resolve(e,t){return Ft(e,["Organization","LocalBusiness","FoodEstablishment"]),e.starRating=O(e.starRating,t,mo),e=yn(e,t,jn),e},resolveRootNode(e,t){return jn.resolveRootNode(e,t),e}},Ti={cast(e){return typeof e=="string"?{text:e}:e},defaults:{"@type":"HowToDirection"}},er={cast(e){return typeof e=="string"?{text:e}:e},defaults:{"@type":"HowToStep"},resolve(e,t){return e.url&&(e.url=Ze(t.meta.url,e.url)),e.image&&(e.image=O(e.image,t,ht,{root:!0})),e.itemListElement&&(e.itemListElement=O(e.itemListElement,t,Ti)),e}},Pi="#howto",Ai={defaults:{"@type":"HowTo"},inheritMeta:["description","image","inLanguage",{meta:"title",key:"name"}],idPrefix:["url",Pi],resolve(e,t){return e.step=O(e.step,t,er),e},resolveRootNode(e,{find:t}){const n=t(Ae);n&&j(e,"mainEntityOfPage",q(n))}},Ci={defaults:{"@type":"ItemList"},resolve(e,t){if(e.itemListElement){let n=1;e.itemListElement=O(e.itemListElement,t,Zn,{array:!0,afterResolve(r){j(r,"position",n++)}})}return e}},Oi={defaults:{"@type":"JobPosting"},idPrefix:["url","#job-posting"],resolve(e,t){return e.datePosted=Qe(e.datePosted),e.hiringOrganization=O(e.hiringOrganization,t,mt),e.jobLocation=O(e.jobLocation,t,Xn),e.baseSalary=O(e.baseSalary,t,so),e.validThrough=Qe(e.validThrough),e},resolveRootNode(e,{find:t}){const n=t(Ae),r=t(he);return r&&j(e,"hiringOrganization",q(r)),n&&j(e,"mainEntityOfPage",q(n)),e}},vn={defaults:{"@type":"Review"},inheritMeta:["inLanguage"],resolve(e,t){return e.reviewRating=O(e.reviewRating,t,mo),e.author=O(e.author,t,Xe),e}},go={cast(e){return typeof e=="string"&&(e={url:e}),e},alias:"video",defaults:{"@type":"VideoObject"},inheritMeta:[{meta:"title",key:"name"},"description","image","inLanguage",{meta:"datePublished",key:"uploadDate"}],idPrefix:"host",resolve(e,t){if(e.uploadDate&&(e.uploadDate=Qe(e.uploadDate)),e.url=Ze(t.meta.host,e.url),e.caption&&!e.description&&(e.description=e.caption),e.description||(e.description="No description"),e.thumbnailUrl&&(typeof e.thumbnailUrl=="string"||Array.isArray(e.thumbnailUrl))){const n=De(e.thumbnailUrl).map(r=>Ze(t.meta.host,r));e.thumbnailUrl=n.length>1?n:n[0]}return e.thumbnail&&(e.thumbnail=O(e.thumbnailUrl,t,ht)),e},resolveRootNode(e,{find:t}){var n;if(e.image&&!e.thumbnail){const r=De(e.image)[0];j(e,"thumbnail",(n=t(r["@id"]))==null?void 0:n.url)}}},Li={defaults:{"@type":"Movie"},resolve(e,t){return e.aggregateRating=O(e.aggregateRating,t,hn),e.review=O(e.review,t,vn),e.director=O(e.director,t,Xe),e.actor=O(e.actor,t,Xe),e.trailer=O(e.trailer,t,go),e.dateCreated&&(e.dateCreated=oo(e.dateCreated)),e}},Ri="#product",Mi={defaults:{"@type":"Product"},inheritMeta:["description","image",{meta:"title",key:"name"}],idPrefix:["url",Ri],resolve(e,t){return j(e,"sku",Qn(e.name)),e.aggregateOffer=O(e.aggregateOffer,t,io),e.aggregateRating=O(e.aggregateRating,t,hn),e.offers=O(e.offers,t,Yt),e.review=O(e.review,t,vn),e},resolveRootNode(e,{find:t}){const n=t(Ae),r=t(he);return r&&j(e,"brand",q(r)),n&&j(e,"mainEntityOfPage",q(n)),e}},ju={cast(e){return typeof e=="string"?{text:e}:e},defaults:{"@type":"Answer"}},Ei={defaults:{"@type":"Question"},inheritMeta:["inLanguage"],idPrefix:"url",resolve(e,t){return e.question&&(e.name=e.question,delete e.question),e.answer&&(e.acceptedAnswer=e.answer,delete e.answer),e.acceptedAnswer=O(e.acceptedAnswer,t,ju),e},resolveRootNode(e,{find:t}){const n=t(Ae);n&&De(n["@type"]).includes("FAQPage")&&Eu(n,"mainEntity",q(e))}},Ni="#recipe",Di={defaults:{"@type":"Recipe"},inheritMeta:[{meta:"title",key:"name"},"description","image","datePublished"],idPrefix:["url",Ni],resolve(e,t){return e.recipeInstructions=O(e.recipeInstructions,t,er),e},resolveRootNode(e,{find:t}){const n=t(gn),r=t(Ae);return n?j(e,"mainEntityOfPage",q(n)):r&&j(e,"mainEntityOfPage",q(r)),n!=null&&n.author&&j(e,"author",n.author),e}},Hi={defaults:{"@type":"SoftwareApplication"},resolve(e,t){return Ft(e,"SoftwareApplication"),e.offers=O(e.offers,t,Yt),e.aggregateRating=O(e.aggregateRating,t,hn),e.review=O(e.review,t,vn),e}};function Bu(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}const at="%separator";function Fu(e,t,n=!1){var o;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=(o=e[t.substring(0,s)])==null?void 0:o[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const Vu=new RegExp(`${at}(?:\\s*${at})*`,"g");function Yu(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const s=o.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const i=e.includes(at);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===at||!s.includes(a))return a;const l=Fu(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(at)&&(e=e.slice(0,-at.length)),e.startsWith(at)&&(e=e.slice(at.length)),e=e.replace(Vu,n).trim()),e}function Ii(e){switch(e){case"address":return mn;case"aggregateOffer":return io;case"aggregateRating":return hn;case"article":return yi;case"breadcrumb":return lo;case"comment":return wi;case"event":return xi;case"foodEstablishment":return $i;case"virtualLocation":return po;case"place":return Xn;case"howTo":return Ai;case"howToStep":return er;case"image":return ht;case"localBusiness":return jn;case"offer":return Yt;case"openingHours":return ho;case"organization":return mt;case"person":return Xe;case"product":return Mi;case"question":return Ei;case"recipe":return Di;case"review":return vn;case"video":return go;case"webPage":return vi;case"webSite":return gi;case"book":return _i;case"course":return Si;case"itemList":return Ci;case"jobPosting":return Oi;case"listItem":return Zn;case"movie":return Li;case"searchAction":return co;case"readAction":return uo;case"softwareApp":return Hi;case"bookEdition":return fo}return null}const Wu={__proto__:null,loadResolver:Ii};function vo(e){return!e.host&&e.canonicalHost&&(e.host=e.canonicalHost),!e.tagPosition&&e.position&&(e.tagPosition=e.position),!e.currency&&e.defaultCurrency&&(e.currency=e.defaultCurrency),!e.inLanguage&&e.defaultLanguage&&(e.inLanguage=e.defaultLanguage),e.path||(e.path="/"),!e.host&&typeof document<"u"&&(e.host=document.location.host),!e.url&&e.canonicalUrl&&(e.url=e.canonicalUrl),e.path!=="/"&&(e.trailingSlash&&!Er(e.path)?e.path=di(e.path):!e.trailingSlash&&Er(e.path)&&(e.path=ro(e.path))),e.url=fi(e.host||"",e.path),{...e,host:e.host,url:e.url,currency:e.currency,image:e.image,inLanguage:e.inLanguage,title:e.title,description:e.description,datePublished:e.datePublished,dateModified:e.dateModified}}function yn(e,t,n){var r;if(n!=null&&n.cast&&(e=n.cast(e,t)),n!=null&&n.defaults){let o=n.defaults||{};typeof o=="function"&&(o=o(t)),e={...o,...e}}(r=n.inheritMeta)==null||r.forEach(o=>{typeof o=="string"?j(e,o,t.meta[o]):j(e,o.key,t.meta[o.meta])}),n!=null&&n.resolve&&(e=n.resolve(e,t));for(const o in e){const s=e[o];typeof s=="object"&&(s!=null&&s._resolver)&&(e[o]=O(s,t,s._resolver))}return mi(e),e}function Bn(e,t,n,r=!1){var l,c,u,f;if(e["@id"]&&e["@id"].startsWith("http"))return e;const o=n&&(Array.isArray(n.idPrefix)?n.idPrefix[0]:n.idPrefix)||"url",s=e["@id"]||(n?Array.isArray(n.idPrefix)?(l=n.idPrefix)==null?void 0:l[1]:void 0:"");if(!e["@id"]&&r&&s)return e["@id"]=qt(t.meta[o],s),e;if((c=e["@id"])!=null&&c.startsWith("#/schema/")||(u=e["@id"])!=null&&u.startsWith("/"))return e["@id"]=qt(t.meta[o],e["@id"]),e;let i=n==null?void 0:n.alias;i||(i=(((f=De(e["@type"]))==null?void 0:f[0])||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase());const a={};for(const d in e)d[0]!=="_"&&Object.prototype.hasOwnProperty.call(e,d)&&(a[d]=e[d]);return e["@id"]=qt(t.meta[o],`#/schema/${i}/${e["@id"]||Bu(JSON.stringify(a))}`),e}function O(e,t,n,r={}){if(!e)return e;const o=De(e).map(s=>{var c;const i=Object.keys(s).length;if(i===1&&s["@id"]||i===2&&s["@id"]&&s["@type"])return Bn({"@id":((c=t.find(s["@id"]))==null?void 0:c["@id"])||s["@id"]},t);let a=n;if(s._resolver&&(a=s._resolver,typeof a=="string"&&(a=Ii(a)),delete s._resolver),!a)return s;let l=yn(s,t,a);return r.afterResolve&&r.afterResolve(l),(r.generateId||r.root)&&(l=Bn(l,t,a,!1)),r.root?(a.resolveRootNode&&a.resolveRootNode(l,t),t.push(l),q(l["@id"])):l});return!r.array&&o.length===1?o[0]:o}function hr(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Dr(e,t,n=".",r){if(!hr(t))return Dr(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:hr(i)&&hr(o[s])?o[s]=Dr(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function zi(e){return(...t)=>t.reduce((n,r)=>Dr(n,r,"",e),{})}const Uu=zi();function ji(e,t){return e.reduce((n,r,o,s)=>{const i=t(r,o,s);return n[i]||(n[i]=[]),n[i].push(r),n},{})}function qu(e,t){return Object.values(ji(e,t)).map(n=>n[n.length-1])}const yo=zi((e,t,n)=>{if(Array.isArray(e[t])){if(Array.isArray(n)){const r={};for(const o of[...e[t],...n])r[Qn(o)]=o;return e[t]=Object.values(r),t==="itemListElement"&&(e[t]=[...qu(e[t],o=>o.position)]),!0}return e[t]=yo(e[t],Array.isArray(n)?n:[n]),!0}});function Bi(e){const t={};for(const n of e.keys()){const r=e[n],o=Vt(r["@id"]||Qn(r));t[o]&&r._dedupeStrategy!=="replace"?t[o]=yo(e[n],t[o]):t[o]=e[n]}return Object.values(t)}function Fi(e){const t=e.keys(),n={};for(const r of t){const o=e[r],s=Vt(o["@id"]||Qn(o)),i=ji(Object.keys(o),c=>{const u=o[c];return c[0]==="_"?"ignored":Array.isArray(u)||typeof u=="object"?"relations":"primitives"}),a=[...(i.primitives||[]).sort(),...(i.relations||[]).sort()];let l={};for(const c of a)l[c]=o[c];n[s]&&(l=yo(l,n[s])),n[s]=l}return Object.values(n)}const Gu=["translationOfWork","workTranslation"];function Vi(){const e={find(t){let n=o=>o;t[0]==="#"?n=Vt:t[0]==="/"&&(n=o=>o.replace(/(https?:)?\/\//,"").split("/")[0]);const r=n(t);return e.nodes.filter(o=>!!o["@id"]).find(o=>n(o["@id"])===r)},push(t){De(t).forEach(n=>{const r=n;e.nodes.push(r)})},resolveGraph(t){return e.meta=vo({...t}),e.nodes.forEach((n,r)=>{const o=n._resolver;o&&(n=yn(n,e,o),n=Bn(n,e,o,!0)),e.nodes[r]=n}),e.nodes=Bi(e.nodes),e.nodes.forEach(n=>{var r;n.image&&typeof n.image=="string"&&(n.image=O(n.image,e,ht,{root:!0})),Gu.forEach(o=>{n[o]=O(n[o],e)}),(r=n._resolver)!=null&&r.resolveRootNode&&n._resolver.resolveRootNode(n,e),delete n._resolver}),Fi(e.nodes)},nodes:[],meta:{}};return e}function Yi(e){return Wi({},()=>({}),e)}function Wi(e,t,n){e=vo({...e});let r,o={};return s=>({key:"schema-org",hooks:{"entries:resolve":()=>{r=Vi()},"tag:normalise":async({tag:i})=>{if(i.tag==="script"&&i.props.type==="application/ld+json"&&i.props.nodes){const{loadResolver:a}=await Promise.resolve().then(function(){return Wu}),l=await i.props.nodes;for(const c of Array.isArray(l)?l:[l]){if(typeof c!="object"||Object.keys(c).length===0)continue;const u={...c,_dedupeStrategy:i.tagDuplicateStrategy,_resolver:a(await c._resolver)};r.push(u)}i.tagPosition=i.tagPosition||e.tagPosition==="head"?"head":"bodyClose"}if(i.tag==="htmlAttrs"&&i.props.lang)o.inLanguage=i.props.lang;else if(i.tag==="title")o.title=i.textContent;else if(i.tag==="meta"&&i.props.name==="description")o.description=i.props.content;else if(i.tag==="link"&&i.props.rel==="canonical"){if(o.url=i.props.href,o.url&&!o.host)try{o.host=new URL(o.url).origin}catch{}}else i.tag==="meta"&&i.props.property==="og:image"?o.image=i.props.content:i.tag==="templateParams"&&i.props.schemaOrg&&(o={...o,...i.props.schemaOrg},delete i.props.schemaOrg)},"tags:resolve":async i=>{for(const a in i.tags){const l=i.tags[a];if(l.tag==="script"&&l.props.type==="application/ld+json"&&l.props.nodes){delete l.props.nodes;const c=r.resolveGraph({...await(t==null?void 0:t())||{},...e,...o});if(!c.length){l.props={};return}n!=null&&n.minify,l.innerHTML=JSON.stringify({"@context":"https://schema.org","@graph":c},(u,f)=>typeof f!="object"?Yu(f,s._templateParams,s._separator):f,0);return}}},"tags:afterResolve":i=>{let a;for(const l in i.tags){const c=i.tags[l];if(c.props.type==="application/ld+json"&&c.props.nodes||c.key==="schema-org-graph"){if(delete c.props.nodes,typeof a>"u"){a=l;continue}i.tags[a].props=Uu(i.tags[a].props,c.props),delete i.tags[a].props.nodes,i.tags[l]=!1}}i.tags=i.tags.filter(Boolean)}}})}function tr(e,t){return e||(e={}),e._resolver=t,e}function Ku(e){return tr(e,"article")}function Ui(e){return tr(e,"person")}function qi(e){return tr(e,"webPage")}function Gi(e){return tr(e,"webSite")}function Ki(e,t){const n=eo();if(n&&!(Array.isArray(e)&&e.length===0||!e))return n.use(Yi()),eu({script:[{type:"application/ld+json",key:"schema-org-graph",nodes:e}]},t)}const Ju=Object.freeze(Object.defineProperty({__proto__:null,HowToId:Pi,PrimaryArticleId:gn,PrimaryBookId:bi,PrimaryBreadcrumbId:ao,PrimaryEventId:ki,PrimaryWebPageId:Ae,PrimaryWebSiteId:Ht,ProductId:Ri,RecipeId:Ni,SchemaOrgUnheadPlugin:Wi,UnheadSchemaOrg:Yi,addressResolver:mn,aggregateOfferResolver:io,aggregateRatingResolver:hn,articleResolver:yi,bookEditionResolver:fo,bookResolver:_i,breadcrumbResolver:lo,commentResolver:wi,courseResolver:Si,createSchemaOrgGraph:Vi,dedupeNodes:Bi,defineArticle:Ku,definePerson:Ui,defineSchemaOrgResolver:Lu,defineWebPage:qi,defineWebSite:Gi,eventResolver:xi,foodEstablishmentResolver:$i,howToResolver:Ai,howToStepDirectionResolver:Ti,howToStepResolver:er,imageResolver:ht,itemListResolver:Ci,jobPostingResolver:Oi,listItemResolver:Zn,localBusinessResolver:jn,movieResolver:Li,normaliseNodes:Fi,offerResolver:Yt,openingHoursResolver:ho,organizationResolver:mt,personResolver:Xe,placeResolver:Xn,productResolver:Mi,questionResolver:Ei,ratingResolver:mo,readActionResolver:uo,recipeResolver:Di,resolveMeta:vo,resolveNode:yn,resolveNodeId:Bn,resolveRelation:O,reviewResolver:vn,searchActionResolver:co,softwareAppResolver:Hi,useSchemaOrg:Ki,videoResolver:go,virtualLocationResolver:po,webPageResolver:vi,webSiteResolver:gi},Symbol.toStringTag,{value:"Module"}));pt.extend(sc);pt.extend(ic);pt.extend(ac);function Qv(e,t={}){return typeof e=="string"&&(e=new Date(e)),pt.tz(pt.utc(e),t.timezone).format(t.template||"YYYY-MM-DD")}function Xo(e,t=!0){return e.sort((n,r)=>{const o=+new Date(n.date||""),s=+new Date(r.date||"");return t?s-o:o-s})}function Qu(){const e=fe();Hl(()=>{e.value.timezone&&pt.tz.setDefault(e.value.timezone)})}const Ji='{"siteConfig":{"mode":"auto","url":"https://valaxy.site/","lang":"zh-CN","languages":["en","zh-CN"],"timezone":"","title":"Valaxy Theme Yun","description":"Valaxy Theme Yun Preview.","subtitle":"Next Generation Static Blog Framework.","author":{"avatar":"https://valaxy.site/valaxy-logo.png","email":"i@valaxy.site","link":"https://valaxy.site","name":"云游君","status":{"emoji":"🌌","message":"The moonlight is beautiful."}},"favicon":"/favicon.svg","feed":{"name":"","favicon":"/favicon.svg"},"social":[{"name":"RSS","link":"/atom.xml","icon":"i-ri-rss-line","color":"orange"},{"name":"QQ 群 1050458482","link":"https://qm.qq.com/cgi-bin/qm/qr?k=kZJzggTTCf4SpvEQ8lXWoi5ZjhAx0ILZ&jump_from=webapi","icon":"i-ri-qq-line","color":"#12B7F5"},{"name":"GitHub","link":"https://github.com/YunYouJun","icon":"i-ri-github-line","color":"#6e5494"},{"name":"微博","link":"https://weibo.com/jizhideyunyoujun","icon":"i-ri-weibo-line","color":"#E6162D"},{"name":"豆瓣","link":"https://www.douban.com/people/yunyoujun/","icon":"i-ri-douban-line","color":"#007722"},{"name":"网易云音乐","link":"https://music.163.com/#/user/home?id=247102977","icon":"i-ri-netease-cloud-music-line","color":"#C20C0C"},{"name":"知乎","link":"https://www.zhihu.com/people/yunyoujun/","icon":"i-ri-zhihu-line","color":"#0084FF"},{"name":"哔哩哔哩","link":"https://space.bilibili.com/1579790","icon":"i-ri-bilibili-line","color":"#FF8EB3"},{"name":"微信公众号","link":"https://cdn.yunyoujun.cn/img/about/white-qrcode-and-search.jpg","icon":"i-ri-wechat-2-line","color":"#1AAD19"},{"name":"Twitter","link":"https://twitter.com/YunYouJun","icon":"i-ri-twitter-x-fill","color":"black"},{"name":"Telegram Channel","link":"https://t.me/elpsycn","icon":"i-ri-telegram-line","color":"#0088CC"},{"name":"E-Mail","link":"mailto:me@yunyoujun.cn","icon":"i-ri-mail-line","color":"#8E71C1"},{"name":"Travelling","link":"https://www.travellings.cn/go.html","icon":"i-ri-train-line","color":"var(--va-c-text)"}],"lastUpdated":true,"license":{"enabled":true,"language":"","type":"by-nc-sa"},"sponsor":{"enable":true,"description":"这是关于赞助的一些描述","methods":[{"name":"支付宝","url":"https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg","color":"#00A3EE","icon":"i-ri-alipay-line"},{"name":"QQ 支付","url":"https://cdn.yunyoujun.cn/img/donate/qqpay-qrcode.png","color":"#12B7F5","icon":"i-ri-qq-line"},{"name":"微信支付","url":"https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg","color":"#2DC100","icon":"i-ri-wechat-pay-line"}],"title":"我很可爱,请给我钱!"},"search":{"enable":false,"type":"fuse"},"fuse":{"dataPath":"valaxy-fuse-list.json","options":{"keys":[]}},"comment":{"enable":false},"frontmatter":{"time_warning":15552000000},"cdn":{"prefix":"https://unpkg.com/"},"mediumZoom":{"enable":false,"selector":"","options":{}},"vanillaLazyload":{"enable":false,"options":{}},"floatingVue":{"disabled":false,"distance":5,"skidding":0,"container":"body","instantMove":false,"disposeTimeout":150,"popperTriggers":[],"strategy":"absolute","preventOverflow":true,"flip":true,"shift":true,"overflowPadding":0,"arrowPadding":0,"arrowOverflow":true,"autoHideOnMousedown":false,"themes":{"tooltip":{"placement":"top","triggers":["hover","focus","touch"],"delay":{"show":200,"hide":0},"handleResize":false,"html":false,"loadingContent":"..."},"dropdown":{"placement":"bottom","triggers":["click"],"delay":0,"handleResize":true,"autoHide":true},"menu":{"$extend":"dropdown","triggers":["hover","focus"],"popperTriggers":["hover"],"delay":{"show":0,"hide":400}}}},"statistics":{"enable":false,"readTime":{"speed":{"cn":300,"en":100}}},"pageSize":7,"encrypt":{"enable":false,"algorithm":"AES-CBC","salt":{"0":253,"1":212,"2":163,"3":142,"4":169,"5":221,"6":252,"7":141,"8":254,"9":188,"10":27,"11":112,"12":59,"13":69,"14":61,"15":78},"iv":{"0":243,"1":192,"2":153,"3":228,"4":31,"5":145,"6":216,"7":170,"8":158,"9":148,"10":145,"11":176,"12":198,"13":192,"14":196,"15":86}},"redirects":{"useVueRouter":true,"rules":[]}},"theme":"yun","themeConfig":{"pkg":{"name":"valaxy-theme-yun","type":"module","version":"0.22.4","author":{"email":"me@yunyoujun.cn","name":"YunYouJun","url":"https://www.yunyoujun.cn"},"homepage":"https://yun.valaxy.site","repository":{"type":"git","url":"https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-theme-yun"},"exports":{"./client":"./client/index.ts","./theme":"./types/index.d.ts","./*":"./*",".":"./index.ts"},"main":"index.ts","module":"index.ts","scripts":{"release":"bumpp && pnpm publish"},"dependencies":{"@ctrl/tinycolor":"^4.1.0","@explosions/fireworks":"^0.1.0","@iconify-json/ant-design":"catalog:","@iconify-json/simple-icons":"catalog:","@vueuse/motion":"^2.2.6","animejs":"^3.2.2","gsap":"^3.12.5","primevue":"^4.2.5"},"devDependencies":{"@types/animejs":"^3.1.12","valaxy":"workspace:*","valaxy-addon-waline":"workspace:*"}},"type":"nimbo","valaxyDarkOptions":{"circleTransition":true},"outlineTitle":"On this page","colors":{"primary":"#0078E7"},"banner":{"enable":true,"title":"云游君的小站"},"bg_image":{"enable":true},"say":{"enable":false,"api":"","hitokoto":{"enable":true,"api":"https://v1.hitokoto.cn"}},"fireworks":{"enable":true,"colors":[]},"notice":{"enable":false,"hideInPages":false,"content":""},"pages":[{"name":"我的小伙伴们","url":"/links/","icon":"i-ri-genderless-line","color":"dodgerblue"},{"name":"喜欢的女孩子","url":"/girls/","icon":"i-ri-women-line","color":"hotpink"}],"footer":{"since":2016,"icon":{"enable":true,"name":"i-ri-cloud-line","animated":true,"color":"var(--va-c-primary)","url":"https://sponsors.yunyoujun.cn","title":"Sponsor YunYouJun"},"powered":true,"beian":{"enable":true,"icp":"苏ICP备17038157号"}},"types":{"link":{"color":"var(--va-c-primary)","icon":"i-ri-external-link-line"},"bilibili":{"color":"#FF8EB3","icon":"i-ri-bilibili-line"},"douban":{"color":"#007722","icon":"i-ri-douban-line"},"github":{"color":"var(--va-c-text)","icon":"i-ri-github-line"},"netease-cloud-music":{"color":"#C10D0C","icon":"i-ri-netease-cloud-music-line"},"notion":{"color":"var(--va-c-text)","icon":"i-simple-icons-notion"},"twitter":{"color":"black","icon":"i-ri-twitter-x-fill"},"wechat":{"color":"#1AAD19","icon":"i-ri-wechat-2-line"},"weibo":{"color":"#E6162D","icon":"i-ri-weibo-line"},"yuque":{"color":"#25b864","icon":"i-ant-design-yuque-outlined"},"zhihu":{"color":"#0084FF","icon":"i-ri-zhihu-line"}},"menu":{"custom":{"title":"button.about","icon":"i-ri-clipboard-line","url":"/about"}}},"build":{"ssgForPagination":false},"deploy":{},"runtimeConfig":{"addons":{},"redirects":{"useVueRouter":true,"redirectRoutes":[]}},"modules":{"rss":{"enable":true,"fullText":false}},"features":{"katex":true},"vite":{"build":{"emptyOutDir":true,"rollupOptions":{"external":[],"preserveEntrySignatures":"allow-extension","output":{"assetFileNames":"assets/[name].[hash].[ext]","entryFileNames":"assets/[name].[hash].js"}}},"plugins":[{"name":"valaxy-theme-yun","enforce":"pre"}]},"devtools":true,"unocss":{"safelist":["i-ri-home-line","i-ri-genderless-line","i-ri-women-line"]}}',Qi='{"userRoot":"/Users/yunyou/repos/gh/yyj/valaxy/packages/create-valaxy/template-blog"}';function nr(e){return JSON.parse(e)}const Zi=Symbol("valaxy:config"),Xi=fn(nr(Ji)),Zu=fn(nr(Qi));Xi.value=nr(Ji);Zu.value=nr(Qi);function ea(){return A(()=>Xi.value)}function bn(){const e=Js(Zi);if(!e)throw new Error("[Valaxy] site config not properly injected in app");return e}function fe(){const e=bn();return A(()=>e.value.siteConfig)}function bo(){const e=bn();return A(()=>e.value.themeConfig)}function Zv(){const e=bn();return A(()=>e.value.runtimeConfig)}function Xu(){const e=fe(),t=Ct(),{locale:n}=Se(),r=A(()=>t.value[`title_${n.value}`]||t.value.title),o=A(()=>t.value.url||e.value.url),s=A(()=>t.value.excerpt||t.value.description||e.value.description);to({meta:[{name:"description",content:s},{property:"og:description",content:s},{property:"og:locale",content:A(()=>n.value||t.value.lang||e.value.lang||"en")},{property:"og:locale:alternate",content:A(()=>e.value.languages.filter(i=>i!==n.value))},{property:"og:site_name",content:A(()=>e.value.title)},{property:"og:title",content:A(()=>t.value.title||e.value.title)},{property:"og:image",content:A(()=>t.value.ogImage||t.value.cover||e.value.favicon)},{property:"og:type",content:"website"},{property:"og:url",content:o}]}),Ki([Ui({name:e.value.author.name,url:o.value,image:e.value.author.avatar,sameAs:e.value.social.map(i=>i.link)}),Gi({name:r.value,datePublished:A(()=>t.value.date),dateModified:A(()=>t.value.updated)}),qi()]),Qu(),bd()}const ed="valaxy",td="module",nd="0.22.4",rd="📄 Vite & Vue powered static blog generator.",od={email:"me@yunyoujun.cn",name:"YunYouJun",url:"https://www.yunyoujun.cn"},sd="MIT",id="https://valaxy.site",ad={type:"git",url:"https://github.com/YunYouJun/valaxy"},ld=["vite","vue","blog"],cd={".":{types:"./index.d.ts",default:"./dist/node/index.js"},"./client/*":"./client/*","./client":"./client/index.ts","./node":{types:"./dist/node/index.d.ts",default:"./dist/node/index.js"},"./rpc/client":"/client/rpc.ts","./types":"./dist/types/index.d.ts","./*":"./*"},ud="dist/node/index.js",dd="dist/node/index.js",fd="index.d.ts",pd={vala:"./bin/valaxy.js",valaxy:"./bin/valaxy.js"},hd=["bin","client","dist","index.d.ts","shims.d.ts","types"],md={node:"^14.18.0 || >=16.0.0"},gd={build:"rimraf dist && tsup",dev:"tsup --watch",preview:"vite preview","preview-https":"serve dist","release:beta":"bumpp --no-tag --no-commit --no-push && pnpm publish --no-git-checks --tag beta"},vd={"@antfu/install-pkg":"^0.5.0","@antfu/utils":"^0.7.10","@clack/prompts":"^0.9.0","@iconify-json/ri":"catalog:","@intlify/unplugin-vue-i18n":"^6.0.2","@types/katex":"^0.16.7","@unhead/addons":"^1.11.14","@unhead/schema-org":"^1.11.14","@unhead/vue":"^1.11.14","@valaxyjs/devtools":"workspace:*","@valaxyjs/utils":"workspace:*","@vitejs/plugin-vue":"^5.2.1","@vue/devtools-api":"^7.6.8","@vueuse/core":"12.0.0-beta.1","@vueuse/integrations":"12.0.0-beta.1",beasties:"^0.2.0",birpc:"^0.2.19",consola:"^3.3.1","cross-spawn":"^7.0.6","css-i18n":"^0.0.5",dayjs:"^1.11.13",debug:"^4.4.0",defu:"^6.1.4",ejs:"^3.1.10","escape-html":"^1.0.3",feed:"^4.2.2","floating-vue":"^5.2.2","fs-extra":"^11.2.0","fuse.js":"^7.0.0","gray-matter":"^4.0.3",hookable:"^5.5.3","html-to-text":"^9.0.5",jiti:"^2.4.2","js-base64":"^3.7.7","js-yaml":"^4.1.0",katex:"^0.16.18","lru-cache":"^11.0.2","markdown-it":"^14.1.0","markdown-it-anchor":"^9.2.0","markdown-it-attrs":"^4.3.1","markdown-it-container":"^4.0.0","markdown-it-emoji":"^3.0.0","markdown-it-footnote":"^4.0.0","markdown-it-image-figures":"^2.1.1","markdown-it-table-of-contents":"^0.8.0","markdown-it-task-lists":"^2.1.1","medium-zoom":"^1.1.0",mermaid:"^11.4.1",mlly:"^1.7.3",nprogress:"^0.2.0",open:"10.1.0",ora:"^8.1.1",pascalcase:"^2.0.0",pathe:"^1.1.2",pinia:"^2.3.0",qrcode:"^1.5.4","resolve-global":"^2.0.0",sass:"^1.83.0",shiki:"^1.24.4","star-markdown-css":"^0.5.3",unocss:"^0.65.3","unplugin-vue-components":"^0.28.0","unplugin-vue-markdown":"^0.28.0","unplugin-vue-router":"^0.10.9","vanilla-lazyload":"^19.1.3",vite:"catalog:","vite-dev-rpc":"^0.1.7","vite-plugin-vue-devtools":"^7.6.8","vite-plugin-vue-layouts":"^0.11.0","vite-ssg":"^0.24.3","vite-ssg-sitemap":"^0.8.1",vue:"^3.5.13","vue-i18n":"catalog:","vue-router":"^4.5.0",yargs:"^17.7.2"},yd={"@mdit-vue/plugin-component":"^2.1.3","@mdit-vue/plugin-frontmatter":"^2.1.3","@mdit-vue/plugin-headers":"^2.1.3","@mdit-vue/plugin-sfc":"^2.1.3","@mdit-vue/plugin-title":"^2.1.3","@mdit-vue/plugin-toc":"^2.1.3","@mdit-vue/shared":"^2.1.3","@types/cross-spawn":"^6.0.6","@types/ejs":"^3.1.5","@types/gh-pages":"^6.1.0","@types/html-to-text":"^9.0.4","@types/js-yaml":"^4.0.9","@types/markdown-it":"^14.1.2","@types/markdown-it-footnote":"^3.0.4","@types/nprogress":"^0.2.3","@types/pascalcase":"^1.0.3","@types/qrcode":"^1.5.5","@types/yargs":"^17.0.33",cilicili:"^0.1.1",diacritics:"^1.3.0","gh-pages":"^6.2.0","https-localhost":"^4.7.1","rollup-plugin-visualizer":"^5.12.0",table:"^6.9.0"},Wt={name:ed,type:td,version:nd,description:rd,author:od,license:sd,homepage:id,repository:ad,keywords:ld,exports:cd,main:ud,module:dd,types:fd,bin:pd,files:hd,engines:md,scripts:gd,dependencies:vd,devDependencies:yd};function bd(){var o;const{locale:e}=Se(),t=Ct(),n=fe(),r=A(()=>t.value[`title_${e.value}`]||t.value.title);to({title:r,titleTemplate:s=>t.value.titleTemplate||(s?`${s} - ${n.value.title}`:n.value.title),link:[{rel:"icon",href:n.value.favicon,type:(o=n.value.favicon)!=null&&o.endsWith("svg")?"image/svg+xml":"image/png"}],meta:[A(()=>({name:"description",content:t.value.description||n.value.description})),{name:"generator",content:`Valaxy ${Wt.version}`}],templateParams:{schemaOrg:{host:n.value.url}},script:[{id:"check-mac-os",innerHTML:"document.documentElement.classList.toggle('mac', /Mac|iPhone|iPod|iPad/i.test(navigator.platform))",async:!0}]})}const et=Jn("app",()=>{const e=fe(),t=bo(),{isDark:n,toggleDark:r,toggleDarkWithTransition:o,themeColor:s}=wo(t.value.valaxyDarkOptions),i=Hd(),a=E(!0),l=A(()=>e.value.languages.length>1);return{isMobile:i,isDark:n,showToggleLocale:l,themeColor:s,toggleDark:r,toggleDarkWithTransition:o,showLoading:a}}),ta=Jn("routerStore",()=>({router:Zr()})),rr=Jn("site",()=>{const t=ta().router,n=E(1),r=A(()=>{const o=Zd().value;return n.value&&o,o});return t&&t.isReady().then(()=>{}),{postList:r}});function Xv(e){return e.children}function na(e,t=[]){return A(()=>{const n=w(e);t.length||(t=rr().postList);const r={name:"All",total:t.length,children:new Map([["Uncategorized",{name:"Uncategorized",total:0,children:new Map}]])},o=r.children.get("Uncategorized");if(t.forEach(s=>{if(s.categories)if(Array.isArray(s.categories)){const i=s.categories.length;let a=r,l=a;s.categories.forEach((c,u)=>{a.total+=1,a=a.children.get(c),a||(a={name:c,total:0,children:new Map},l.children.set(c,a)),u===i-1&&(a.children.set(s.path,s),a.total+=1),l=a})}else{const i=s.categories,a=r.children.get(i);a?(a.total+=1,a.children.set(s.path,s)):r.children.set(i,{name:i,total:1,children:new Map([[s.path,s]])})}else o.total+=1,o.children.set(s.path,s)}),o.total===0&&r.children.delete("Uncategorized"),n){let s=r;const i=n.split("/");for(const a of i){const l=s.children.get(a);if(l&&l.children)s=l;else return console.warn(`Do not have category: ${e}`),r}return s}else return r})}const Pe=yt?window:void 0,_d=yt?window.document:void 0;function de(e){var t;const n=Q(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Te(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Pe):[t,n,r,o]=e,!t)return Fe;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=X(()=>[de(t),Q(o)],([u,f])=>{if(i(),!u)return;const d=cc(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return jt(c),c}let es=!1;function wd(e,t,n={}){const{window:r=Pe,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return Fe;Or&&!es&&(es=!0,Array.from(r.document.body.children).forEach(m=>m.addEventListener("click",Fe)),r.document.documentElement.addEventListener("click",Fe));let a=!0;const l=m=>Q(o).some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(y=>y===m.target||m.composedPath().includes(y));{const y=de(g);return y&&(m.target===y||m.composedPath().includes(y))}});function c(m){const g=Q(m);return g&&g.$.subTree.shapeFlag===16}function u(m,g){const y=Q(m),v=y.$.subTree&&y.$.subTree.children;return v==null||!Array.isArray(v)?!1:v.some(b=>b.el===g.target||g.composedPath().includes(b.el))}const f=m=>{const g=de(e);if(m.target!=null&&!(!(g instanceof Element)&&c(e)&&u(e,m))&&!(!g||g===m.target||m.composedPath().includes(g))&&(m.detail===0&&(a=!l(m)),!a)){a=!0;return}};let d=!1;const p=[Te(r,"click",m=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(m))},{passive:!0,capture:s}),Te(r,"pointerdown",m=>{const g=de(e);a=!l(m)&&!!(g&&!m.composedPath().includes(g))},{passive:!0}),i&&Te(r,"blur",m=>{setTimeout(()=>{var g;const y=de(e);((g=r.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&(y!=null&&y.contains(r.document.activeElement))},0)})].filter(Boolean);return()=>p.forEach(m=>m())}function Sd(){const e=E(!1),t=Qr();return t&&tt(()=>{e.value=!0},t),e}function or(e){const t=Sd();return A(()=>(t.value,!!e()))}function ra(e,t,n={}){const{window:r=Pe,...o}=n;let s;const i=or(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=A(()=>{const d=Q(e),p=(Array.isArray(d)?d:[d]).map(de).filter(ti);return new Set(p)}),c=X(()=>l.value,d=>{a(),i.value&&d.size&&(s=new MutationObserver(t),d.forEach(p=>s.observe(p,o)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return jt(f),{isSupported:i,stop:f,takeRecords:u}}function ze(e,t={}){const{window:n=Pe}=t,r=or(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=E(!1),i=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Qs(()=>{r.value&&(a(),o=n.matchMedia(Q(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return jt(()=>{l(),a(),o=void 0}),s}const kn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xn="__vueuse_ssr_handlers__",kd=xd();function xd(){return xn in kn||(kn[xn]=kn[xn]||{}),kn[xn]}function oa(e,t){return kd[e]||t}function $d(e){return ze("(prefers-color-scheme: dark)",e)}function Td(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Pd={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ts="vueuse-storage";function _o(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Pe,eventFilter:d,onError:p=k=>{console.error(k)},initOnMounted:h}=r,m=(u?fn:E)(typeof t=="function"?t():t);if(!n)try{n=oa("getDefaultStorage",()=>{var k;return(k=Pe)==null?void 0:k.localStorage})()}catch(k){p(k)}if(!n)return m;const g=Q(t),y=Td(g),v=(o=r.serializer)!=null?o:Pd[y],{pause:b,resume:x}=lc(m,()=>L(m.value),{flush:s,deep:i,eventFilter:d});f&&a&&pn(()=>{n instanceof Storage?Te(f,"storage",D):Te(f,ts,I),h&&D()}),h||D();function P(k,R){if(f){const z={key:e,oldValue:k,newValue:R,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",z):new CustomEvent(ts,{detail:z}))}}function L(k){try{const R=n.getItem(e);if(k==null)P(R,null),n.removeItem(e);else{const z=v.write(k);R!==z&&(n.setItem(e,z),P(R,z))}}catch(R){p(R)}}function S(k){const R=k?k.newValue:n.getItem(e);if(R==null)return l&&g!=null&&n.setItem(e,v.write(g)),g;if(!k&&c){const z=v.read(R);return typeof c=="function"?c(z,g):y==="object"&&!Array.isArray(z)?{...g,...z}:z}else return typeof R!="string"?R:v.read(R)}function D(k){if(!(k&&k.storageArea!==n)){if(k&&k.key==null){m.value=g;return}if(!(k&&k.key!==e)){b();try{(k==null?void 0:k.newValue)!==v.write(m.value)&&(m.value=S(k))}catch(R){p(R)}finally{k?dn(x):x()}}}}function I(k){D(k.detail)}return m}const Ad="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Cd(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Pe,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=$d({window:o}),p=A(()=>d.value?"dark":"light"),h=l||(i==null?ni(r):_o(i,r,s,{window:o,listenToStorageChanges:a})),m=A(()=>h.value==="auto"?p.value:h.value),g=oa("updateHTMLAttrs",(x,P,L)=>{const S=typeof x=="string"?o==null?void 0:o.document.querySelector(x):de(x);if(!S)return;const D=new Set,I=new Set;let k=null;if(P==="class"){const z=L.split(/\s/g);Object.values(f).flatMap(B=>(B||"").split(/\s/g)).filter(Boolean).forEach(B=>{z.includes(B)?D.add(B):I.add(B)})}else k={key:P,value:L};if(D.size===0&&I.size===0&&k===null)return;let R;u&&(R=o.document.createElement("style"),R.appendChild(document.createTextNode(Ad)),o.document.head.appendChild(R));for(const z of D)S.classList.add(z);for(const z of I)S.classList.remove(z);k&&S.setAttribute(k.key,k.value),u&&(o.getComputedStyle(R).opacity,document.head.removeChild(R))});function y(x){var P;g(t,n,(P=f[x])!=null?P:x)}function v(x){e.onChanged?e.onChanged(x,y):y(x)}X(m,v,{flush:"post",immediate:!0}),pn(()=>v(m.value));const b=A({get(){return c?h.value:m.value},set(x){h.value=x}});return Object.assign(b,{store:h,system:p,state:m})}function Hr(e,t,n={}){const{window:r=Pe,initialValue:o,observe:s=!1}=n,i=E(o),a=A(()=>{var c;return de(t)||((c=r==null?void 0:r.document)==null?void 0:c.documentElement)});function l(){var c;const u=Q(e),f=Q(a);if(f&&r&&u){const d=(c=r.getComputedStyle(f).getPropertyValue(u))==null?void 0:c.trim();i.value=d||o}}return s&&ra(a,l,{attributeFilter:["style","class"],window:r}),X([a,()=>Q(e)],(c,u)=>{u[0]&&u[1]&&u[0].style.removeProperty(u[1]),l()},{immediate:!0}),X(i,c=>{var u;const f=Q(e);(u=a.value)!=null&&u.style&&f&&(c==null?a.value.style.removeProperty(f):a.value.style.setProperty(f,c))}),i}function Od(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Cd({...e,onChanged:(i,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}}),o=A(()=>r.system.value);return A({get(){return r.value==="dark"},set(i){const a=i?"dark":"light";o.value===a?r.value="auto":r.value=a}})}function Ld(e,t,n={}){const{window:r=Pe,...o}=n;let s;const i=or(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=A(()=>{const f=Q(e);return Array.isArray(f)?f.map(d=>de(d)):[de(f)]}),c=X(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return jt(u),{isSupported:i,stop:u}}function ey(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:s=!0,updateTiming:i="sync"}=t,a=E(0),l=E(0),c=E(0),u=E(0),f=E(0),d=E(0),p=E(0),h=E(0);function m(){const y=de(e);if(!y){n&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const v=y.getBoundingClientRect();a.value=v.height,l.value=v.bottom,c.value=v.left,u.value=v.right,f.value=v.top,d.value=v.width,p.value=v.x,h.value=v.y}function g(){i==="sync"?m():i==="next-frame"&&requestAnimationFrame(()=>m())}return Ld(e,g),X(()=>de(e),y=>!y&&g()),ra(e,g,{attributeFilter:["style","class"]}),o&&Te("scroll",g,{capture:!0,passive:!0}),r&&Te("resize",g,{passive:!0}),pn(()=>{s&&g()}),{height:a,bottom:l,left:c,right:u,top:f,width:d,x:p,y:h,update:g}}function ty(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:s=0,window:i=Pe,immediate:a=!0}=n,l=or(()=>i&&"IntersectionObserver"in i),c=A(()=>{const h=Q(e);return(Array.isArray(h)?h:[h]).map(de).filter(ti)});let u=Fe;const f=E(a),d=l.value?X(()=>[c.value,de(r),f.value],([h,m])=>{if(u(),!f.value||!h.length)return;const g=new IntersectionObserver(t,{root:de(m),rootMargin:o,threshold:s});h.forEach(y=>y&&g.observe(y)),u=()=>{g.disconnect(),u=Fe}},{immediate:a,flush:"post"}):Fe,p=()=>{u(),d(),f.value=!1};return jt(p),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:p}}function mr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const ns=1;function Rd(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=Fe,onScroll:s=Fe,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:l="auto",window:c=Pe,onError:u=S=>{console.error(S)}}=t,f=E(0),d=E(0),p=A({get(){return f.value},set(S){m(S,void 0)}}),h=A({get(){return d.value},set(S){m(void 0,S)}});function m(S,D){var I,k,R,z;if(!c)return;const B=Q(e);if(!B)return;(R=B instanceof Document?c.document.body:B)==null||R.scrollTo({top:(I=Q(D))!=null?I:h.value,left:(k=Q(S))!=null?k:p.value,behavior:Q(l)});const V=((z=B==null?void 0:B.document)==null?void 0:z.documentElement)||(B==null?void 0:B.documentElement)||B;p!=null&&(f.value=V.scrollLeft),h!=null&&(d.value=V.scrollTop)}const g=E(!1),y=Cr({left:!0,right:!1,top:!0,bottom:!1}),v=Cr({left:!1,right:!1,top:!1,bottom:!1}),b=S=>{g.value&&(g.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,o(S))},x=fc(b,n+r),P=S=>{var D;if(!c)return;const I=((D=S==null?void 0:S.document)==null?void 0:D.documentElement)||(S==null?void 0:S.documentElement)||de(S),{display:k,flexDirection:R}=getComputedStyle(I),z=I.scrollLeft;v.left=z<f.value,v.right=z>f.value;const B=Math.abs(z)<=(i.left||0),V=Math.abs(z)+I.clientWidth>=I.scrollWidth-(i.right||0)-ns;k==="flex"&&R==="row-reverse"?(y.left=V,y.right=B):(y.left=B,y.right=V),f.value=z;let J=I.scrollTop;S===c.document&&!J&&(J=c.document.body.scrollTop),v.top=J<d.value,v.bottom=J>d.value;const te=Math.abs(J)<=(i.top||0),G=Math.abs(J)+I.clientHeight>=I.scrollHeight-(i.bottom||0)-ns;k==="flex"&&R==="column-reverse"?(y.top=G,y.bottom=te):(y.top=te,y.bottom=G),d.value=J},L=S=>{var D;if(!c)return;const I=(D=S.target.documentElement)!=null?D:S.target;P(I),g.value=!0,x(S),s(S)};return Te(e,"scroll",n?dc(L,n,!0,!1):L,a),pn(()=>{try{const S=Q(e);if(!S)return;P(S)}catch(S){u(S)}}),Te(e,"scrollend",b,a),{x:p,y:h,isScrolling:g,arrivedState:y,directions:v,measure(){const S=Q(e);c&&S&&P(S)}}}function ny(e,t=Fe,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:i=!0,crossOrigin:a,referrerPolicy:l,noModule:c,defer:u,document:f=_d,attrs:d={}}=n,p=E(null);let h=null;const m=v=>new Promise((b,x)=>{const P=D=>(p.value=D,b(D),D);if(!f){b(!1);return}let L=!1,S=f.querySelector(`script[src="${Q(e)}"]`);S?S.hasAttribute("data-loaded")&&P(S):(S=f.createElement("script"),S.type=s,S.async=i,S.src=Q(e),u&&(S.defer=u),a&&(S.crossOrigin=a),c&&(S.noModule=c),l&&(S.referrerPolicy=l),Object.entries(d).forEach(([D,I])=>S==null?void 0:S.setAttribute(D,I)),L=!0),S.addEventListener("error",D=>x(D)),S.addEventListener("abort",D=>x(D)),S.addEventListener("load",()=>{S.setAttribute("data-loaded","true"),t(S),P(S)}),L&&(S=f.head.appendChild(S)),v||P(S)}),g=(v=!0)=>(h||(h=m(v)),h),y=()=>{if(!f)return;h=null,p.value&&(p.value=null);const v=f.querySelector(`script[src="${Q(e)}"]`);v&&f.head.removeChild(v)};return r&&!o&&pn(g),o||uc(y),{scriptTag:p,load:g,unload:y}}function sa(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:sa(n)}}function Md(e){const t=e||window.event,n=t.target;return sa(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const gr=new WeakMap;function Ed(e,t=!1){const n=E(t);let r=null,o="";X(ni(e),a=>{const l=mr(Q(a));if(l){const c=l;if(gr.get(c)||gr.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(o=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const s=()=>{const a=mr(Q(e));!a||n.value||(Or&&(r=Te(a,"touchmove",l=>{Md(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{const a=mr(Q(e));!a||!n.value||(Or&&(r==null||r()),a.style.overflow=o,gr.delete(a),n.value=!1)};return jt(i),A({get(){return n.value},set(a){a?s():i()}})}function Nd(e={}){const{window:t=Pe,behavior:n="auto"}=e;if(!t)return{x:E(0),y:E(0)};const r=E(t.scrollX),o=E(t.scrollY),s=A({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),i=A({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Te(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}function Ct(){const e=nt();return A(()=>e.meta.frontmatter||{})}function ry(){const e=nt();return A(()=>e.meta.$encryptedPhotos||"")}function oy(){const e=fe(),t=nt();return A(()=>((e.value.url.endsWith("/")?e.value.url.slice(0,-1):e.value.url)||yt&&window.location.origin)+t.path)}function wo(e={}){const t=Od(e.useDarkOptions),n=Mn(t),r=A(()=>{var s,i;return t.value?((s=e.themeColor)==null?void 0:s.dark)||"#000":((i=e.themeColor)==null?void 0:i.light)||"#fff"});e.circleTransition&&ie(()=>Promise.resolve({}),__vite__mapDeps([0]));function o(s,i={}){if(!document.startViewTransition){n();return}const a=s.clientX,l=s.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(()=>{n()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:t.value?f.reverse():f},{duration:i.duration||300,easing:i.easing||"ease-in",pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return{isDark:t,themeColor:r,toggleDark:n,toggleDarkWithTransition:o}}function Dd(){const e=ze("(max-width: 639px)"),t=ze("(min-width: 640px)"),n=ze("(min-width: 768px)"),r=ze("(min-width: 1024px)"),o=ze("(min-width: 1280px)"),s=ze("(min-width: 1536px)");return{isXs:e,isSm:t,isMd:n,isLg:r,isXl:o,is2xl:s}}function ia(e){const t=nt();return A(()=>{var n;return(n=t.meta)==null?void 0:n.layout})}function Hd(){return ze("(max-width: 768px)")}function Id(){const{availableLocales:e,locale:t}=Se(),n=_o("valaxy-locale",t.value);return pt.locale(t.value==="zh-CN"?"zh-cn":"en"),{lang:n,toggleLocales:()=>{const o=e;t.value=o[(o.indexOf(t.value)+1)%o.length],n.value=t.value,pt.locale(t.value==="zh-CN"?"zh-cn":"en"),yt&&document.documentElement.setAttribute("lang",t.value)}}}var Ir=[];function zd(e,t,n){Ir.length=0;let r=[],o=[];return e.forEach(s=>{let i={...s,children:[]},a=o[o.length-1];for(;a&&a.level>=i.level;)o.pop(),a=o[o.length-1];if(i.element.classList.contains("ignore-header")||a&&"shouldIgnore"in a){o.push({level:i.level,shouldIgnore:!0});return}i.level>n||i.level<t||(Ir.push({element:i.element,link:i.link}),a?a.children.push(i):r.push(i),o.push(i))}),r}function jd(e,t=[2,4]){let n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[r,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;return zd(e,r,o)}function Bd(e){let t="";for(let n of Array.from(e.childNodes))if(n.nodeType===1){if(n.classList.contains("VABadge")||n.classList.contains("header-anchor"))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function Fd(e={range:[2,4],selector:".markdown-body"}){let t=e.selector||".markdown-body",n=document.querySelectorAll(t),r=n[n.length-1],o=Array.from(r.querySelectorAll(`${t} :where(h1,h2,h3,h4,h5,h6)`)).filter(s=>e.filter?e.filter(s):!0).map(s=>{let i=Number(s.tagName[1]);return{element:s,title:Bd(s),link:`#${s.id}`,level:i,lang:s.lang}});return jd(o,e.range)}let Nn=[];function Vd(e){Nn.push(e),Zs(()=>{Nn=Nn.filter(t=>t!==e)})}const Yd=()=>Nn.forEach(e=>e()),sy=Yd;function iy(e,t){return Math.random()*(t-e)+e}function Wd(e,t){let n,r=!1;return()=>{n&&clearTimeout(n),r?n=setTimeout(e,t):(e(),r=!0,setTimeout(()=>{r=!1},t))}}function ay(e){return new Promise(t=>setTimeout(t,e))}function Ud(){const{hasSidebar:e}=ef(),t=ze("(min-width: 960px)"),n=ze("(min-width: 1280px)");return{isAsideEnabled:A(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const qd=130,vr=33;function Gd(e){let t=0;for(;e!==document.body;){if(e===null)return Number.NaN;t+=e.offsetTop,e=e.offsetParent}return t}function Kd(e,t){const{isAsideEnabled:n}=Ud(),r=Wd(i,100);let o=null;tt(()=>{requestAnimationFrame(i),window.addEventListener("scroll",r)}),Il(()=>{a(location.hash)}),Zs(()=>{window.removeEventListener("scroll",r)});const s=()=>{const l=o;if(!l)return;const c=document.querySelector(".yun-aside");if(c){const u=l.offsetTop+vr+60;(u<c.scrollTop||u>c.offsetHeight+c.scrollTop)&&c.scrollTo({top:u,behavior:"smooth"})}};function i(){if(!n.value)return;const l=window.scrollY,c=window.innerHeight,u=document.body.offsetHeight,f=Math.abs(l+c-u)<1,d=Ir.map(({element:h,link:m})=>({link:m,top:Gd(h)})).filter(({top:h})=>!Number.isNaN(h)).sort((h,m)=>h.top-m.top);if(!d.length){a(null);return}if(l<1){a(null);return}if(f){a(d[d.length-1].link);return}let p=null;for(const{link:h,top:m}of d){if(m>l+4+qd)break;p=h}a(p)}function a(l){o&&o.classList.remove("active"),l==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const c=o;s(),c?(c.classList.add("active"),t.value.style.top=`${c.offsetTop+vr}px`,t.value.style.opacity="1"):t.value&&(t.value.style.top=`${vr}px`,t.value.style.opacity="0")}}function Jd(){const e=Ct(),t=bo(),n=fn([]),r=A(()=>e.value.outline??t.value.outline);return Vd(()=>{r.value!==!1&&(n.value=Fd({range:r.value,selector:".markdown-body",filter:s=>!!s.id&&s.hasChildNodes()}))}),{headers:n,handleClick:({target:s})=>{const i=s.href.split("#")[1],a=document.getElementById(decodeURIComponent(i));a==null||a.focus({preventScroll:!0})}}}function ly(e){const{locale:t}=Se();return A(()=>{const n=t.value==="zh-CN"?"zh":t.value;return e.value[`title_${n}`]||e.value.title})}function Qd(){const t=ta().router;return A(()=>{const n=["/:..all","/:all(.*)*","/","/:path(.*)"];return t.getRoutes().filter(o=>o.name).filter(o=>o.meta).filter(o=>o.meta.frontmatter).filter(o=>o.path&&!n.includes(o.path)).map(o=>Object.assign({path:o.path,excerpt:o.meta.excerpt},o.meta.frontmatter||{}))})}function Zd(e={}){const t=Qd();return A(()=>{const n=t.value.filter(s=>{var i,a;return((i=s.path)==null?void 0:i.startsWith("/posts"))&&!((a=s.path)!=null&&a.endsWith(".html"))&&s.date&&(!e.type||s.type===e.type)&&(!s.hide||s.hide==="index")}),r=Xo(n.filter(s=>s.top)).sort((s,i)=>i.top-s.top),o=Xo(n.filter(s=>!s.top));return r.concat(o)})}function Xd(e,t){const n=fe(),r=fn([]),o=A(()=>{const u=n.value.fuse.options.keys||[];return u.length===0?["title","tags","categories","excerpt"]:u}),s={fuseOptions:{includeMatches:!0,findAllMatches:!0,...n.value.fuse.options,keys:o.value}},i=A(()=>({...s,...t})),{fuse:a,results:l}=pc(e,r,i);async function c(u){const f=u||(n.value.fuse.dataPath.startsWith("http")?n.value.fuse.dataPath:`/${n.value.fuse.dataPath}`),p=await(await fetch(f)).json();Array.isArray(p)&&(r.value=p)}return{fuse:a,results:l,fetchFuseListData:c}}function ef(){const e=E(!1),t=Ct(),n=ia(),r=A(()=>t.value.sidebar!==!1&&n.value!=="home");function o(){e.value=!0}function s(){e.value=!1}function i(){e.value?s():o()}return{isOpen:e,hasSidebar:r,open:o,close:s,toggle:i}}function aa(){const e=rr();return A(()=>{const t=new Map;return e.postList.forEach(n=>{if(n.tags){let r;typeof n.tags=="string"?r=[n.tags]:r=n.tags,r.forEach(o=>{if(t.has(o)){const s=t.get(o);t.set(o,{...s,count:s.count+1})}else t.set(o,{count:1})})}}),t})}function tf(e={offset:100}){if(!yt)return{percentage:E(0),show:E(!1)};const{y:t}=Nd(),n=A(()=>t.value/(document.body.scrollHeight-window.innerHeight)),r=A(()=>t.value>e.offset);return{percentage:n,show:r,backToTop:()=>{window.scrollTo({top:0,behavior:"smooth"})}}}const nf={};function rf(e,t){const n=pe("RouterView");return _(),F(n)}const of=vt(nf,[["render",rf]]),sf={},af={class:"yun-cloud"};function lf(e,t){return _(),T("div",af,t[0]||(t[0]=[zl('<svg class="waves" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" fill="var(--yun-c-cloud)"></path></defs><g class="parallax"><use xlink:href="#gentle-wave" x="48" y="0"></use><use xlink:href="#gentle-wave" x="48" y="3"></use><use xlink:href="#gentle-wave" x="48" y="5"></use><use xlink:href="#gentle-wave" x="48" y="7"></use></g></svg>',1)]))}const cf=vt(sf,[["render",lf]]);function bt(){const e=bn();return A(()=>e.value.themeConfig)}function cy(e,t=!1){const n=E();return X(()=>e,async()=>{let r;if(typeof e=="string"){if(!yt)return;r=await fetch(e).then(o=>o.json())||[]}else r=e;n.value=t?Array.from(r).sort(()=>Math.random()-.5):r},{immediate:!0}),{data:n}}function uf(e,t){const n=E(!1);function r(o){o.key.toLowerCase()===e.toLowerCase()&&(o.metaKey||o.ctrlKey)&&(o.preventDefault(),t())}return Te("keydown",r),{isHotKeyActive:n}}function ae(e,t){df(e)&&(e="100%");const n=ff(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function $n(e){return Math.min(1,Math.max(0,e))}function df(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function ff(e){return typeof e=="string"&&e.indexOf("%")!==-1}function la(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Tn(e){return Number(e)<=1?`${Number(e)*100}%`:e}function kt(e){return e.length===1?"0"+e:String(e)}function pf(e,t,n){return{r:ae(e,255)*255,g:ae(t,255)*255,b:ae(n,255)*255}}function rs(e,t,n){e=ae(e,255),t=ae(t,255),n=ae(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0,i=0;const a=(r+o)/2;if(r===o)i=0,s=0;else{const l=r-o;switch(i=a>.5?l/(2-r-o):l/(r+o),r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:i,l:a}}function yr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hf(e,t,n){let r,o,s;if(e=ae(e,360),t=ae(t,100),n=ae(n,100),t===0)o=n,s=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=yr(a,i,e+1/3),o=yr(a,i,e),s=yr(a,i,e-1/3)}return{r:r*255,g:o*255,b:s*255}}function os(e,t,n){e=ae(e,255),t=ae(t,255),n=ae(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0;const i=r,a=r-o,l=r===0?0:a/r;if(r===o)s=0;else{switch(r){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:l,v:i}}function mf(e,t,n){e=ae(e,360)*6,t=ae(t,100),n=ae(n,100);const r=Math.floor(e),o=e-r,s=n*(1-t),i=n*(1-o*t),a=n*(1-(1-o)*t),l=r%6,c=[n,i,s,s,a,n][l],u=[a,n,n,i,s,s][l],f=[s,s,a,n,n,i][l];return{r:c*255,g:u*255,b:f*255}}function ss(e,t,n,r){const o=[kt(Math.round(e).toString(16)),kt(Math.round(t).toString(16)),kt(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function gf(e,t,n,r,o){const s=[kt(Math.round(e).toString(16)),kt(Math.round(t).toString(16)),kt(Math.round(n).toString(16)),kt(yf(r))];return o&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function vf(e,t,n,r){const o=e/100,s=t/100,i=n/100,a=r/100,l=255*(1-o)*(1-a),c=255*(1-s)*(1-a),u=255*(1-i)*(1-a);return{r:l,g:c,b:u}}function is(e,t,n){let r=1-e/255,o=1-t/255,s=1-n/255,i=Math.min(r,o,s);return i===1?(r=0,o=0,s=0):(r=(r-i)/(1-i)*100,o=(o-i)/(1-i)*100,s=(s-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(o),y:Math.round(s),k:Math.round(i)}}function yf(e){return Math.round(parseFloat(e)*255).toString(16)}function as(e){return _e(e)/255}function _e(e){return parseInt(e,16)}function bf(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const zr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _f(e){let t={r:0,g:0,b:0},n=1,r=null,o=null,s=null,i=!1,a=!1;return typeof e=="string"&&(e=kf(e)),typeof e=="object"&&(ye(e.r)&&ye(e.g)&&ye(e.b)?(t=pf(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ye(e.h)&&ye(e.s)&&ye(e.v)?(r=Tn(e.s),o=Tn(e.v),t=mf(e.h,r,o),i=!0,a="hsv"):ye(e.h)&&ye(e.s)&&ye(e.l)?(r=Tn(e.s),s=Tn(e.l),t=hf(e.h,r,s),i=!0,a="hsl"):ye(e.c)&&ye(e.m)&&ye(e.y)&&ye(e.k)&&(t=vf(e.c,e.m,e.y,e.k),i=!0,a="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=la(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const wf="[-\\+]?\\d+%?",Sf="[-\\+]?\\d*\\.\\d+%?",lt="(?:"+Sf+")|(?:"+wf+")",br="[\\s|\\(]+("+lt+")[,|\\s]+("+lt+")[,|\\s]+("+lt+")\\s*\\)?",Pn="[\\s|\\(]+("+lt+")[,|\\s]+("+lt+")[,|\\s]+("+lt+")[,|\\s]+("+lt+")\\s*\\)?",xe={CSS_UNIT:new RegExp(lt),rgb:new RegExp("rgb"+br),rgba:new RegExp("rgba"+Pn),hsl:new RegExp("hsl"+br),hsla:new RegExp("hsla"+Pn),hsv:new RegExp("hsv"+br),hsva:new RegExp("hsva"+Pn),cmyk:new RegExp("cmyk"+Pn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function kf(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(zr[e])e=zr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=xe.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=xe.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=xe.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=xe.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=xe.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=xe.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=xe.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=xe.hex8.exec(e),n?{r:_e(n[1]),g:_e(n[2]),b:_e(n[3]),a:as(n[4]),format:t?"name":"hex8"}:(n=xe.hex6.exec(e),n?{r:_e(n[1]),g:_e(n[2]),b:_e(n[3]),format:t?"name":"hex"}:(n=xe.hex4.exec(e),n?{r:_e(n[1]+n[1]),g:_e(n[2]+n[2]),b:_e(n[3]+n[3]),a:as(n[4]+n[4]),format:t?"name":"hex8"}:(n=xe.hex3.exec(e),n?{r:_e(n[1]+n[1]),g:_e(n[2]+n[2]),b:_e(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function ye(e){return typeof e=="number"?!Number.isNaN(e):xe.CSS_UNIT.test(e)}class oe{constructor(t="",n={}){if(t instanceof oe)return t;typeof t=="number"&&(t=bf(t)),this.originalInput=t;const r=_f(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,o;const s=t.r/255,i=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=la(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=os(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=os(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${o}%)`:`hsva(${n}, ${r}%, ${o}%, ${this.roundA})`}toHsl(){const t=rs(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=rs(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${o}%)`:`hsla(${n}, ${r}%, ${o}%, ${this.roundA})`}toHex(t=!1){return ss(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return gf(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(ae(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(ae(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...is(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:o}=is(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+ss(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(zr))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new oe(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=$n(n.l),new oe(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new oe(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=$n(n.l),new oe(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=$n(n.s),new oe(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=$n(n.s),new oe(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new oe(n)}mix(t,n=50){const r=this.toRgb(),o=new oe(t).toRgb(),s=n/100,i={r:(o.r-r.r)*s+r.r,g:(o.g-r.g)*s+r.g,b:(o.b-r.b)*s+r.b,a:(o.a-r.a)*s+r.a};return new oe(i)}analogous(t=6,n=30){const r=this.toHsl(),o=360/n,s=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,s.push(new oe(r));return s}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new oe(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:o}=n;let{v:s}=n;const i=[],a=1/t;for(;t--;)i.push(new oe({h:r,s:o,v:s})),s=(s+a)%1;return i}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new oe({h:(n+72)%360,s:t.s,l:t.l}),new oe({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new oe(t).toRgb(),o=n.a+r.a*(1-n.a);return new oe({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,o=[this],s=360/t;for(let i=1;i<t;i++)o.push(new oe({h:(r+i*s)%360,s:n.s,l:n.l}));return o}equals(t){const n=new oe(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}const xf={flex:"~ col",class:"relative yun-footer va-footer px-4 py-4 pt-0 text-$va-c-text-light w-full mt-14",bg:"white dark:$va-c-bg-soft",text:"center sm"},$f={key:0,class:"beian",m:"y-2"},Tf={href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},Pf={class:"copyright flex justify-center items-center gap-2",p:"1"},Af=["href","title"],Cf={key:1,class:"powered",m:"2"},Of=["innerHTML"],Lf=["href","title"],Rf={class:"ml-1 op-60"},Mf=H({__name:"YunFooter",setup(e){const{isDark:t}=wo(),n=A(()=>t.value?{"--gradient-from":"0 0 0","--gradient-to":"0 0 0"}:{"--gradient-from":"161 196 253","--gradient-to":"194 233 251"}),{t:r}=Se(),o=bn(),s=fe(),i=bt(),a=new Date().getFullYear(),l=A(()=>a===i.value.footer.since),c=A(()=>r("footer.powered",[`<a href="${Wt.repository.url}" target="_blank" rel="noopener">Valaxy</a> <span class="op-60">v${Wt.version}</span>`])),u=A(()=>i.value.footer.icon||{url:Wt.repository.url,name:"i-ri-cloud-line",title:Wt.name});return(f,d)=>{var h,m;const p=cf;return _(),T("footer",xf,[C(p,{class:"absolute top--10 left-0 right-0"}),(h=w(i).footer.beian)!=null&&h.enable&&w(i).footer.beian.icp?(_(),T("div",$f,[$("a",Tf,U(w(i).footer.beian.icp),1)])):M("v-if",!0),$("div",Pf,[$("span",null,[d[0]||(d[0]=Ut(" © ")),l.value?M("v-if",!0):(_(),T(se,{key:0},[Ut(U(w(i).footer.since)+" - ",1)],64)),Ut(" "+U(w(a)),1)]),(m=w(i).footer.icon)!=null&&m.enable?(_(),T("a",{key:0,class:K(["inline-flex",w(i).footer.icon.animated?"animate-pulse":""]),href:u.value.url,target:"_blank",title:u.value.title},[$("div",{class:K(u.value.name)},null,2)],10,Af)):M("v-if",!0),$("span",null,U(w(s).author.name),1)]),w(i).footer.powered?(_(),T("div",Cf,[$("span",{innerHTML:c.value},null,8,Of),d[2]||(d[2]=$("span",{"mx-1":""},"|",-1)),$("span",null,[$("span",null,U(w(r)("footer.theme")),1),d[1]||(d[1]=$("span",{"mx-1":""},"-",-1)),$("a",{href:w(i).pkg.repository.url,title:w(i).pkg.name,target:"_blank"},U(jl(w(o).theme)),9,Lf),$("span",Rf,"v"+U(w(i).pkg.version),1)])])):M("v-if",!0),ge(f.$slots,"default"),$("div",{class:"yun-footer-gradient",style:ct(n.value)},null,4)])}}}),ke=Jn("yun-app",()=>{const e=bt(),t=A(()=>e.value.type==="strato"),n=A(()=>e.value.type==="nimbo"),[r,o]=Mn(),[s,i]=Mn(),[a,l]=Mn();return{size:Dd(),leftSidebar:{isOpen:r,toggle:o},rightSidebar:{isOpen:s,toggle:i},fullscreenMenu:{isOpen:a,toggle:l},scrollY:yt?Rd(window).y:0,isStrato:t,isNimbo:n}}),Ef=H({__name:"YunLayoutWrapper",setup(e){const t=ke(),n=A(()=>t.isNimbo?"mt-12 md:mt-24":"mt-12");return(r,o)=>(_(),T("div",{flex:"~",class:K(["w-full m-auto justify-center items-start gap-4",n.value])},[ge(r.$slots,"default")],2))}}),Nf=["lang"],Df=["href"],Hf=H({__name:"YunOutlineItem",props:{headers:{},onClick:{type:Function},root:{type:Boolean}},setup(e){const{locale:t}=Se();return(n,r)=>{const o=pe("YunOutlineItem",!0);return _(),T("ul",{class:K(n.root?"root":"nested")},[(_(!0),T(se,null,Pt(n.headers,({children:s,link:i,title:a,lang:l})=>(_(),T("li",{key:i,class:"va-toc-item",lang:l||w(t)},[$("a",{class:"outline-link",href:i,onClick:r[0]||(r[0]=(...c)=>n.onClick&&n.onClick(...c))},U(a),9,Df),s!=null&&s.length?(_(),F(o,{key:0,headers:s,"on-click":n.onClick},null,8,["headers","on-click"])):M("v-if",!0)],8,Nf))),128))],2)}}}),If=vt(Hf,[["__scopeId","data-v-699db71a"]]),zf={class:"content"},jf={class:"outline-title"},Bf={"aria-labelledby":"doc-outline-aria-label"},Ff=H({__name:"YunOutline",setup(e){const t=bt(),n=E(),r=E(),{headers:o,handleClick:s}=Jd();return Kd(n,r),(i,a)=>{const l=If;return Kn((_(),T("div",{ref_key:"container",ref:n},[$("div",zf,[$("div",jf,U(w(t).outlineTitle||"On this page"),1),$("div",{ref_key:"marker",ref:r,class:"outline-marker"},null,512),$("nav",Bf,[a[0]||(a[0]=$("span",{id:"doc-outline-aria-label",class:"visually-hidden"}," Table of Contents for current page ",-1)),C(l,{class:"va-toc relative z-1 css-i18n-toc",headers:w(o),"on-click":w(s),root:""},null,8,["headers","on-click"])])])],512)),[[Xs,w(o).length]])}}}),Vf=vt(Ff,[["__scopeId","data-v-c2f93464"]]),Yf={class:"w-full",flex:"~ col","pb-2":""},Wf={m:"t-6 b-2",font:"serif black"},Uf={key:1,class:"custom-container"},qf=H({__name:"YunAside",setup(e){const t=Ct(),{t:n}=Se(),r=ke(),o=E(!1),s=A(()=>t.value.toc!==!1),i=E(!1);return X(()=>[r.rightSidebar.isOpen,r.size.isXl],async()=>{await dn(),i.value=!r.size.isXl,o.value=(r.rightSidebar.isOpen||!i.value)&&t.value.aside!==!1},{immediate:!0}),(a,l)=>{const c=Vf;return _(),T("aside",{flex:"~ col",class:K(["va-card yun-aside sticky top-0 lg:top-$yun-margin-top min-h-sm",{float:i.value,show:o.value,open:w(r).rightSidebar.isOpen}]),text:"center",overflow:"auto"},[C(At,{name:"fade",delay:100,persisted:""},{default:Z(()=>[Kn($("div",Yf,[s.value?(_(),T(se,{key:0},[$("h2",Wf,U(w(n)("sidebar.toc")),1),C(c)],64)):M("v-if",!0),l[0]||(l[0]=$("div",{class:"flex-grow"},null,-1)),a.$slots.default?(_(),T("div",Uf,[ge(a.$slots,"default")])):M("v-if",!0)],512),[[Xs,o.value]])]),_:3})],2)}}}),Gf={key:0,class:"yun-overlay z-$yun-z-overlay"},ca=H({__name:"YunOverlay",props:{show:{type:Boolean,default:!1}},setup(e){return(t,n)=>(_(),F(At,{name:"fade"},{default:Z(()=>[t.show?(_(),T("div",Gf)):M("v-if",!0)]),_:1}))}}),Kf=H({__name:"YunLayoutRight",setup(e){const t=Ct(),n=ke();return(r,o)=>{const s=ca,i=qf;return _(),T(se,null,[w(t).aside!==!1?(_(),T("button",{key:0,class:"xl:hidden toc-btn shadow-md fixed yun-icon-btn z-350 bg-$va-c-bg-soft",opacity:"75",right:"4",bottom:"19",onClick:o[0]||(o[0]=a=>w(n).rightSidebar.toggle())},o[2]||(o[2]=[$("div",{"i-ri-file-list-line":""},null,-1)]))):M("v-if",!0),C(s,{show:w(n).rightSidebar.isOpen,onClick:o[1]||(o[1]=a=>w(n).rightSidebar.toggle())},null,8,["show"]),C(i)],64)}}}),Jf={};function Qf(e,t){return _(),T(se,null,[M(" eslint-disable-next-line vue/no-lone-template empty "),t[0]||(t[0]=$("template",null,null,-1))],2112)}const Zf=vt(Jf,[["render",Qf]]),Xf={class:"yun-card flex-center rounded",flex:"col","min-h":"100px",bg:"$va-c-bg-light"},ep=["src"],tp={key:1,class:"yun-card-header"},np={key:2,class:"yun-card-content",w:"full"},rp=H({__name:"YunCard",props:{cover:{}},setup(e){return(t,n)=>(_(),T("div",Xf,[t.cover?(_(),T("img",{key:0,width:"640",height:"360",class:"object-cover select-none",h:"64 md:sm",w:"full",src:t.cover,loading:"lazy"},null,8,ep)):M("v-if",!0),t.$slots.header?(_(),T("div",tp,[$("header",null,[ge(t.$slots,"header")])])):M("v-if",!0),ge(t.$slots,"default"),t.$slots.content?(_(),T("div",np,[ge(t.$slots,"content")])):M("v-if",!0)]))}}),op=["href"],sp={key:0,class:"icon-link inline-block","i-ri-arrow-right-up-line":""},_n=H({__name:"AppLink",props:{showExternalIcon:{type:Boolean},to:{},href:{}},setup(e){const t=e,n=A(()=>t.href||t.to||"#"),r=A(()=>typeof n.value=="string"&&n.value.startsWith("http"));return(o,s)=>{const i=pe("RouterLink");return r.value?(_(),T("a",tn({key:0},o.$attrs,{href:n.value,target:"_blank"}),[ge(o.$slots,"default"),o.showExternalIcon?(_(),T("div",sp)):M("v-if",!0)],16,op)):(_(),F(i,tn({key:1},o.$attrs,{to:n.value}),{default:Z(()=>[ge(o.$slots,"default")]),_:3},16,["to"]))}}}),ip={class:"links flex-center"},So=H({__name:"YunSidebarLinks",setup(e){const t=bt();return(n,r)=>{const o=_n;return _(),T("div",ip,[(_(!0),T(se,null,Pt(w(t).pages,(s,i)=>(_(),F(o,{key:i,class:"link-item yun-icon-btn","inline-flex":"",to:s.url,title:s.name,style:ct(`color:${s.color}`)},{default:Z(()=>[$("div",{class:K([s.icon,"icon size-6"])},null,2)]),_:2},1032,["to","title","style"]))),128))])}}}),ap=["href","title"],lp=H({__name:"YunSocialLinkItem",props:{social:{}},setup(e){const t=e,n=et(),r=A(()=>n.isDark&&t.social.color==="black"?"white":t.social.color);return(o,s)=>(_(),T("a",{class:"links-of-author-item yun-icon-btn",rel:"noopener",href:o.social.link,title:o.social.name,target:"_blank",style:ct(`color:${r.value}`)},[$("div",{class:K(["icon",o.social.icon])},null,2)],12,ap))}}),cp={class:"links-of-author"},ko=H({__name:"YunSocialLinks",setup(e){const t=fe();return(n,r)=>{const o=lp;return _(),T("div",cp,[(_(!0),T(se,null,Pt(w(t).social,(s,i)=>(_(),F(o,{key:i,social:s},null,8,["social"]))),128))])}}}),up={flex:"~ col",class:"text-$va-c-text inline-flex-center gap-1"},dp={class:"text-xs"},fp={class:"count text-base text-black/80 dark:text-white/80"},pp=H({__name:"YunPostClassifyNavItem",props:{activeIcon:{},icon:{},title:{},total:{},to:{}},setup(e){const t=e,n=nt(),r=A(()=>n.path===t.to),o=A(()=>r.value&&t.activeIcon?t.activeIcon:t.icon);return(s,i)=>{const a=pe("RouterLink");return _(),F(a,{flex:"~ col center",class:"post-classify-nav-item gap-1 w-20 p-2 rounded transition op-80",to:s.to,title:s.title,hover:"bg-$va-c-bg-soft op-100"},{default:Z(()=>[$("div",up,[$("div",{class:K(["text-2xl",o.value])},null,2),$("span",dp,U(s.title),1)]),$("span",fp,U(s.total),1)]),_:1},8,["to","title"])}}}),hp={class:"site-nav","text-xl":"","mt-2":""},ua=H({__name:"YunPostsInfo",setup(e){const{t}=Se(),n=rr(),r=na(),o=aa();return(s,i)=>{const a=pp;return _(),T("nav",hp,[C(a,{to:"/archives/",icon:"i-ri-archive-line","active-icon":"i-ri-archive-fill",title:w(t)("menu.archives"),total:w(n).postList.length},null,8,["title","total"]),C(a,{to:"/categories/",icon:"i-ri-folder-2-line","active-icon":"i-ri-folder-2-fill",title:w(t)("menu.categories"),total:Array.from(w(r).children).length},null,8,["title","total"]),C(a,{to:"/tags/",icon:"i-ri-price-tag-3-line","active-icon":"i-ri-price-tag-3-fill",title:w(t)("menu.tags"),total:Array.from(w(o)).length},null,8,["title","total"])])}}}),mp={},gp={class:"yun-gradient-line"};function vp(e,t){return _(),T("div",gp)}const da=vt(mp,[["render",vp]]),yp=H({__name:"YunSiteTitle",setup(e){const t=Zr(),n=fe(),r=E("site-name text-lg leading-loose bg-gradient-to-r gradient-text from-#1e3c72 to-dark dark:from-#66a6ff dark:to-blue-500");return(o,s)=>{const i=pe("RouterLink");return w(t).hasRoute("/about/site")?(_(),F(i,{key:0,to:"/about/site",class:K(r.value)},{default:Z(()=>[Ut(U(w(n).title),1)]),_:1},8,["class"])):(_(),T("span",{key:1,class:K(r.value)},U(w(n).title),3))}}}),bp=H({__name:"YunAuthorName",setup(e){const t=fe();return(n,r)=>{const o=pe("RouterLink");return _(),F(o,{class:"site-author-name font-black font-serif text-$va-c-text op-80 hover:op-100 flex-center",to:"/about"},{default:Z(()=>[Ut(U(w(t).author.name),1)]),_:1})}}}),_p={class:"relative yun-author-avatar"},wp=["src"],Sp=["title"],kp=H({__name:"YunAuthorAvatar",setup(e){const t=fe();return(n,r)=>(_(),T("div",_p,[r[0]||(r[0]=$("div",{class:"absolute size-full avatar-bg bg-image-$yun-home-hero-image-background-image filter-blur-2xl op-30"},null,-1)),$("img",{class:"rounded-full size-full bg-white dark:bg-white/20 p-1 m-0 absolute",src:w(t).author.avatar,alt:"avatar"},null,8,wp),w(t).author.status.emoji?(_(),T("span",{key:0,class:"site-author-status absolute",title:w(t).author.status.message||void 0},U(w(t).author.status.emoji),9,Sp)):M("v-if",!0)]))}}),xp={class:"site-info gap-1 items-center",flex:"~ col",p:"t-8"},$p={key:0,class:"site-subtitle block",text:"xs"},Tp={key:1,class:"site-description"},xo=H({__name:"YunSiteInfo",setup(e){const t=fe();return(n,r)=>{const o=kp,s=pe("RouterLink"),i=bp,a=yp;return _(),T("div",xp,[C(s,{class:"site-author-avatar inline-flex-center",to:"/about"},{default:Z(()=>[C(o)]),_:1}),C(i),C(a),w(t).subtitle?(_(),T("h4",$p,U(w(t).subtitle),1)):M("v-if",!0),w(t).description?(_(),T("div",Tp,U(w(t).description),1)):M("v-if",!0)])}}}),Pp=H({__name:"YunSidebarCard",setup(e){return(t,n)=>{const r=xo,o=da,s=ua,i=ko,a=So,l=rp;return _(),F(l,{class:"p-4 min-h-sm",flex:"~ col gap-1"},{default:Z(()=>[C(r,{class:"text-center"}),C(o,{class:"my-2 op-20"}),C(s),C(o,{class:"my-2 op-20"}),C(i),C(o,{class:"my-2 op-20"}),C(a)]),_:1})}}}),Ap={key:0,flex:"~ col",class:"gap-4 sticky top-$yun-margin-top w-80"},Cp=H({__name:"YunLayoutLeft",setup(e){const t=ke();return(n,r)=>{const o=Pp,s=Zf;return w(t).size.isLg?(_(),T("div",Ap,[C(o),C(s)])):M("v-if",!0)}}}),Op=H({__name:"default",setup(e){return(t,n)=>{const r=Cp,o=pe("RouterView"),s=Kf,i=Ef,a=Mf;return _(),T(se,null,[C(i,null,{default:Z(()=>[C(r),C(o),C(s)]),_:1}),C(a)],64)}}}),ls={404:()=>ie(()=>import("./404.CdW3wZiw.js"),__vite__mapDeps([1,2,3,4,5,6,7,8,9,10])),default:of,empty:()=>ie(()=>import("./empty.DqpoVTRu.js"),__vite__mapDeps([11,4])),post:()=>ie(()=>import("./post.DqpoVTRu.js"),__vite__mapDeps([12,4])),404:()=>ie(()=>import("./404.BQMTQ_Of.js"),__vite__mapDeps([13,2,3,4,5,6,7,8,9,14])),albums:()=>ie(()=>import("./albums.B4t_Ao0K.js"),__vite__mapDeps([15,16,5,17,4,18,6,3,7,8,9,19])),archives:()=>ie(()=>import("./archives.BJseIPdh.js"),__vite__mapDeps([20,21,9,4,5,6,22,18,3,7,8])),categories:()=>ie(()=>import("./categories.o32SQiTl.js"),__vite__mapDeps([23,21,9,4,5,6,22,3,24,25,18,7,8])),collection:()=>ie(()=>import("./collection.Ckb3clU2.js"),__vite__mapDeps([26,4,3,5,7,6,8,9])),collections:()=>ie(()=>import("./collections.BP5MVOJY.js"),__vite__mapDeps([27,4,5,3,7,6,8,9])),default:Op,gallery:()=>ie(()=>import("./gallery.CMbHzHw3.js").then(e=>e.g),__vite__mapDeps([28,4,5,18,3,6])),home:()=>ie(()=>import("./home.CZOjCxWv.js"),__vite__mapDeps([29,4,5,17,3,7,6,8,9,30])),post:()=>ie(()=>import("./post.sHPO3XkC.js"),__vite__mapDeps([31,4,6,32,5,33,34,3,16,17,35,7,8,9,36])),posts:()=>ie(()=>import("./posts.DamUovhw.js"),__vite__mapDeps([37,38,5,3,4,34,6,16,17,35,39,40,7,8,9])),projects:()=>ie(()=>import("./projects.CSgHBlnO.js"),__vite__mapDeps([41,42,43,5,4,44,32,6,33,9,25,3,7,8,45])),tags:()=>ie(()=>import("./tags.DrGfAO4R.js"),__vite__mapDeps([46,21,9,4,5,6,22,24,25,18,3,7,8]))};function Lp(e){function t(n,r=!0){return n.map(o=>{var s,i,a,l,c,u;if(((s=o.children)==null?void 0:s.length)>0&&(o.children=t(o.children,!1)),r){if(!o.component&&((i=o.children)==null?void 0:i.find(d=>{var p;return(d.path===""||d.path==="/")&&((p=d.meta)==null?void 0:p.isLayout)})))return o;if(((a=o.meta)==null?void 0:a.layout)!==!1)return{path:o.path,component:ls[((l=o.meta)==null?void 0:l.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(c=o.meta)!=null&&c.layout?{path:o.path,component:ls[(u=o.meta)==null?void 0:u.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return t(e)}function Rp(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const Mp=H({setup(e,{slots:t}){const n=E(!1);return tt(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function Ep(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function Np(e,t,n,r={}){const{transformState:o,registerComponents:s=!0,useHead:i=!0,rootContainer:a="#app"}=r,l=typeof window<"u";async function c(u=!1,f){const d=u?ei(e):Bl(e);let p;i&&(p=su(),d.use(p));const h=tc({history:u?nc(t.base):rc(t.base),...t}),{routes:m}=t;s&&d.component("ClientOnly",Mp);const g=[],b={app:d,head:p,isClient:l,router:h,routes:m,onSSRAppRendered:u?()=>{}:S=>g.push(S),triggerOnSSRAppRendered:()=>Promise.all(g.map(S=>S())),initialState:{},transformState:o,routePath:f};u&&(await Rp(),b.initialState=(o==null?void 0:o(window.__INITIAL_STATE__||{}))||Ep(window.__INITIAL_STATE__)),await(n==null?void 0:n(b)),d.use(h);let x,P=!0;if(h.beforeEach((S,D,I)=>{(P||x&&x===S.path)&&(P=!1,x=S.path,S.meta.state=b.initialState),I()}),!u){const S=b.routePath??"/";h.push(S),await h.isReady(),b.initialState=h.currentRoute.value.meta.state||{}}const L=b.initialState;return{...b,initialState:L}}return l&&(async()=>{const{app:u,router:f}=await c(!0);await f.isReady(),u.mount(a,!0)})(),c}const Dp=[],Hp=H({__name:"ValaxyAddons",setup(e){return(t,n)=>(_(!0),T(se,null,Pt(w(Dp),({component:r,props:o},s)=>(_(),F(Fl(r),tn({ref_for:!0},o,{key:s}),null,16))),128))}}),Ip={class:"progress-circle-container",viewBox:"0 0 100 100"},zp=["stroke-dasharray","stroke-dashoffset"],cs=48,jp=H({__name:"YunBackToTop",setup(e){const{show:t,percentage:n,backToTop:r}=tf({offset:100}),o=2*cs*Math.PI,s=A(()=>{const i=(1-n.value)*o;return i<0?0:i});return(i,a)=>(_(),T("a",{href:"#",class:K(["back-to-top yun-icon-btn bg-$va-c-bg-soft shadow-md",w(t)&&"show"]),onClick:a[0]||(a[0]=(...l)=>w(r)&&w(r)(...l))},[a[1]||(a[1]=$("div",{class:"size-8","i-ri-arrow-up-s-line":""},null,-1)),(_(),T("svg",Ip,[$("circle",{"stroke-dasharray":`${o} ${o}`,"stroke-dashoffset":s.value,stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"progress-circle",cx:"50",cy:"50",r:cs,fill:"none"},null,8,zp)]))],2))}}),Bp={},Fp={class:"yun-page-loading",absolute:"","left-0":"","right-0":"","bottom-0":"","top-0":"",flex:"",justify:"center","items-center":"","z-10":"",bg:"$va-c-bg"};function Vp(e,t){return _(),T("div",Fp,t[0]||(t[0]=[$("div",{class:"spinner"},null,-1)]))}const Yp=vt(Bp,[["render",Vp],["__scopeId","data-v-673bc094"]]),Wp={class:"yun-bg"},Up=H({__name:"YunBg",setup(e){const t=et(),n=bt();if(typeof n.value.bg_image.url<"u"){const r=Hr("--yun-bg-img-opacity");n.value.bg_image.opacity&&(r.value=n.value.bg_image.opacity.toString()||"1");const o=A(()=>t.isDark?n.value.bg_image.dark:n.value.bg_image.url),s=Hr("--yun-bg-img");X(()=>o.value,()=>{s.value=`url('${o.value}')`},{immediate:!0})}return(r,o)=>(_(),T("div",Wp))}});var fa={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},$o={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},qp=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],Fn={CSS:{},springs:{}};function je(e,t,n){return Math.min(Math.max(e,t),n)}function Gt(e,t){return e.indexOf(t)>-1}function _r(e,t){return e.apply(null,t)}var N={arr:function(e){return Array.isArray(e)},obj:function(e){return Gt(Object.prototype.toString.call(e),"Object")},pth:function(e){return N.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||N.svg(e)},str:function(e){return typeof e=="string"},fnc:function(e){return typeof e=="function"},und:function(e){return typeof e>"u"},nil:function(e){return N.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return N.hex(e)||N.rgb(e)||N.hsl(e)},key:function(e){return!fa.hasOwnProperty(e)&&!$o.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function pa(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function ha(e,t){var n=pa(e),r=je(N.und(n[0])?1:n[0],.1,100),o=je(N.und(n[1])?100:n[1],.1,100),s=je(N.und(n[2])?10:n[2],.1,100),i=je(N.und(n[3])?0:n[3],.1,100),a=Math.sqrt(o/r),l=s/(2*Math.sqrt(o*r)),c=l<1?a*Math.sqrt(1-l*l):0,u=1,f=l<1?(l*a+-i)/c:-i+a;function d(h){var m=t?t*h/1e3:h;return l<1?m=Math.exp(-m*l*a)*(u*Math.cos(c*m)+f*Math.sin(c*m)):m=(u+f*m)*Math.exp(-m*a),h===0||h===1?h:1-m}function p(){var h=Fn.springs[e];if(h)return h;for(var m=1/6,g=0,y=0;;)if(g+=m,d(g)===1){if(y++,y>=16)break}else y=0;var v=g*m*1e3;return Fn.springs[e]=v,v}return t?d:p}function Gp(e){return e===void 0&&(e=10),function(t){return Math.ceil(je(t,1e-6,1)*e)*(1/e)}}var Kp=function(){var e=11,t=1/(e-1);function n(u,f){return 1-3*f+3*u}function r(u,f){return 3*f-6*u}function o(u){return 3*u}function s(u,f,d){return((n(f,d)*u+r(f,d))*u+o(f))*u}function i(u,f,d){return 3*n(f,d)*u*u+2*r(f,d)*u+o(f)}function a(u,f,d,p,h){var m,g,y=0;do g=f+(d-f)/2,m=s(g,p,h)-u,m>0?d=g:f=g;while(Math.abs(m)>1e-7&&++y<10);return g}function l(u,f,d,p){for(var h=0;h<4;++h){var m=i(f,d,p);if(m===0)return f;var g=s(f,d,p)-u;f-=g/m}return f}function c(u,f,d,p){if(!(0<=u&&u<=1&&0<=d&&d<=1))return;var h=new Float32Array(e);if(u!==f||d!==p)for(var m=0;m<e;++m)h[m]=s(m*t,u,d);function g(y){for(var v=0,b=1,x=e-1;b!==x&&h[b]<=y;++b)v+=t;--b;var P=(y-h[b])/(h[b+1]-h[b]),L=v+P*t,S=i(L,u,d);return S>=.001?l(y,L,u,d):S===0?L:a(y,v,v+t,u,d)}return function(y){return u===f&&d===p||y===0||y===1?y:s(g(y),f,p)}}return c}(),ma=function(){var e={linear:function(){return function(r){return r}}},t={Sine:function(){return function(r){return 1-Math.cos(r*Math.PI/2)}},Expo:function(){return function(r){return r?Math.pow(2,10*r-10):0}},Circ:function(){return function(r){return 1-Math.sqrt(1-r*r)}},Back:function(){return function(r){return r*r*(3*r-2)}},Bounce:function(){return function(r){for(var o,s=4;r<((o=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((o*3-2)/22-r,2)}},Elastic:function(r,o){r===void 0&&(r=1),o===void 0&&(o=.5);var s=je(r,1,10),i=je(o,.1,2);return function(a){return a===0||a===1?a:-s*Math.pow(2,10*(a-1))*Math.sin((a-1-i/(Math.PI*2)*Math.asin(1/s))*(Math.PI*2)/i)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach(function(r,o){t[r]=function(){return function(s){return Math.pow(s,o+2)}}}),Object.keys(t).forEach(function(r){var o=t[r];e["easeIn"+r]=o,e["easeOut"+r]=function(s,i){return function(a){return 1-o(s,i)(1-a)}},e["easeInOut"+r]=function(s,i){return function(a){return a<.5?o(s,i)(a*2)/2:1-o(s,i)(a*-2+2)/2}},e["easeOutIn"+r]=function(s,i){return function(a){return a<.5?(1-o(s,i)(1-a*2))/2:(o(s,i)(a*2-1)+1)/2}}}),e}();function To(e,t){if(N.fnc(e))return e;var n=e.split("(")[0],r=ma[n],o=pa(e);switch(n){case"spring":return ha(e,t);case"cubicBezier":return _r(Kp,o);case"steps":return _r(Gp,o);default:return _r(r,o)}}function ga(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function sr(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,o=[],s=0;s<n;s++)if(s in e){var i=e[s];t.call(r,i,s,e)&&o.push(i)}return o}function ir(e){return e.reduce(function(t,n){return t.concat(N.arr(n)?ir(n):n)},[])}function us(e){return N.arr(e)?e:(N.str(e)&&(e=ga(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Po(e,t){return e.some(function(n){return n===t})}function Ao(e){var t={};for(var n in e)t[n]=e[n];return t}function jr(e,t){var n=Ao(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function ar(e,t){var n=Ao(e);for(var r in t)n[r]=N.und(e[r])?t[r]:e[r];return n}function Jp(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function Qp(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(a,l,c,u){return l+l+c+c+u+u}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),o=parseInt(r[1],16),s=parseInt(r[2],16),i=parseInt(r[3],16);return"rgba("+o+","+s+","+i+",1)"}function Zp(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(t[1],10)/360,r=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100,s=t[4]||1;function i(d,p,h){return h<0&&(h+=1),h>1&&(h-=1),h<1/6?d+(p-d)*6*h:h<1/2?p:h<2/3?d+(p-d)*(2/3-h)*6:d}var a,l,c;if(r==0)a=l=c=o;else{var u=o<.5?o*(1+r):o+r-o*r,f=2*o-u;a=i(f,u,n+1/3),l=i(f,u,n),c=i(f,u,n-1/3)}return"rgba("+a*255+","+l*255+","+c*255+","+s+")"}function Xp(e){if(N.rgb(e))return Jp(e);if(N.hex(e))return Qp(e);if(N.hsl(e))return Zp(e)}function Je(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function eh(e){if(Gt(e,"translate")||e==="perspective")return"px";if(Gt(e,"rotate")||Gt(e,"skew"))return"deg"}function Br(e,t){return N.fnc(e)?e(t.target,t.id,t.total):e}function Be(e,t){return e.getAttribute(t)}function Co(e,t,n){var r=Je(t);if(Po([n,"deg","rad","turn"],r))return t;var o=Fn.CSS[t+n];if(!N.und(o))return o;var s=100,i=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(i),i.style.position="absolute",i.style.width=s+n;var l=s/i.offsetWidth;a.removeChild(i);var c=l*parseFloat(t);return Fn.CSS[t+n]=c,c}function va(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Co(e,o,n):o}}function Oo(e,t){if(N.dom(e)&&!N.inp(e)&&(!N.nil(Be(e,t))||N.svg(e)&&e[t]))return"attribute";if(N.dom(e)&&Po(qp,t))return"transform";if(N.dom(e)&&t!=="transform"&&va(e,t))return"css";if(e[t]!=null)return"object"}function ya(e){if(N.dom(e)){for(var t=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map,o;o=n.exec(t);)r.set(o[1],o[2]);return r}}function th(e,t,n,r){var o=Gt(t,"scale")?1:0+eh(t),s=ya(e).get(t)||o;return n&&(n.transforms.list.set(t,s),n.transforms.last=t),r?Co(e,s,r):s}function Lo(e,t,n,r){switch(Oo(e,t)){case"transform":return th(e,t,r,n);case"css":return va(e,t,n);case"attribute":return Be(e,t);default:return e[t]||0}}function Ro(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Je(e)||0,o=parseFloat(t),s=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+s+r;case"-":return o-s+r;case"*":return o*s+r}}function ba(e,t){if(N.col(e))return Xp(e);if(/\s/g.test(e))return e;var n=Je(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Mo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function nh(e){return Math.PI*2*Be(e,"r")}function rh(e){return Be(e,"width")*2+Be(e,"height")*2}function oh(e){return Mo({x:Be(e,"x1"),y:Be(e,"y1")},{x:Be(e,"x2"),y:Be(e,"y2")})}function _a(e){for(var t=e.points,n=0,r,o=0;o<t.numberOfItems;o++){var s=t.getItem(o);o>0&&(n+=Mo(r,s)),r=s}return n}function sh(e){var t=e.points;return _a(e)+Mo(t.getItem(t.numberOfItems-1),t.getItem(0))}function wa(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return nh(e);case"rect":return rh(e);case"line":return oh(e);case"polyline":return _a(e);case"polygon":return sh(e)}}function ih(e){var t=wa(e);return e.setAttribute("stroke-dasharray",t),t}function ah(e){for(var t=e.parentNode;N.svg(t)&&N.svg(t.parentNode);)t=t.parentNode;return t}function Sa(e,t){var n=t||{},r=n.el||ah(e),o=r.getBoundingClientRect(),s=Be(r,"viewBox"),i=o.width,a=o.height,l=n.viewBox||(s?s.split(" "):[0,0,i,a]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:i,h:a,vW:l[2],vH:l[3]}}function lh(e,t){var n=N.str(e)?ga(e)[0]:e,r=t||100;return function(o){return{property:o,el:n,svg:Sa(n),totalLength:wa(n)*(r/100)}}}function ch(e,t,n){function r(u){u===void 0&&(u=0);var f=t+u>=1?t+u:0;return e.el.getPointAtLength(f)}var o=Sa(e.el,e.svg),s=r(),i=r(-1),a=r(1),l=n?1:o.w/o.vW,c=n?1:o.h/o.vH;switch(e.property){case"x":return(s.x-o.x)*l;case"y":return(s.y-o.y)*c;case"angle":return Math.atan2(a.y-i.y,a.x-i.x)*180/Math.PI}}function ds(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=ba(N.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:N.str(e)||t?r.split(n):[]}}function Eo(e){var t=e?ir(N.arr(e)?e.map(us):us(e)):[];return sr(t,function(n,r,o){return o.indexOf(n)===r})}function ka(e){var t=Eo(e);return t.map(function(n,r){return{target:n,id:r,total:t.length,transforms:{list:ya(n)}}})}function uh(e,t){var n=Ao(t);if(/^spring/.test(n.easing)&&(n.duration=ha(n.easing)),N.arr(e)){var r=e.length,o=r===2&&!N.obj(e[0]);o?e={value:e}:N.fnc(t.duration)||(n.duration=t.duration/r)}var s=N.arr(e)?e:[e];return s.map(function(i,a){var l=N.obj(i)&&!N.pth(i)?i:{value:i};return N.und(l.delay)&&(l.delay=a?0:t.delay),N.und(l.endDelay)&&(l.endDelay=a===s.length-1?t.endDelay:0),l}).map(function(i){return ar(i,n)})}function dh(e){for(var t=sr(ir(e.map(function(s){return Object.keys(s)})),function(s){return N.key(s)}).reduce(function(s,i){return s.indexOf(i)<0&&s.push(i),s},[]),n={},r=function(s){var i=t[s];n[i]=e.map(function(a){var l={};for(var c in a)N.key(c)?c==i&&(l.value=a[c]):l[c]=a[c];return l})},o=0;o<t.length;o++)r(o);return n}function fh(e,t){var n=[],r=t.keyframes;r&&(t=ar(dh(r),t));for(var o in t)N.key(o)&&n.push({name:o,tweens:uh(t[o],e)});return n}function ph(e,t){var n={};for(var r in e){var o=Br(e[r],t);N.arr(o)&&(o=o.map(function(s){return Br(s,t)}),o.length===1&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function hh(e,t){var n;return e.tweens.map(function(r){var o=ph(r,t),s=o.value,i=N.arr(s)?s[1]:s,a=Je(i),l=Lo(t.target,e.name,a,t),c=n?n.to.original:l,u=N.arr(s)?s[0]:c,f=Je(u)||Je(l),d=a||f;return N.und(i)&&(i=c),o.from=ds(u,d),o.to=ds(Ro(i,u),d),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=To(o.easing,o.duration),o.isPath=N.pth(s),o.isPathTargetInsideSVG=o.isPath&&N.svg(t.target),o.isColor=N.col(o.from.original),o.isColor&&(o.round=1),n=o,o})}var xa={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){if(r.list.set(t,n),t===r.last||o){var s="";r.list.forEach(function(i,a){s+=a+"("+i+") "}),e.style.transform=s}}};function $a(e,t){var n=ka(e);n.forEach(function(r){for(var o in t){var s=Br(t[o],r),i=r.target,a=Je(s),l=Lo(i,o,a,r),c=a||Je(l),u=Ro(ba(s,c),l),f=Oo(i,o);xa[f](i,o,u,r.transforms,!0)}})}function mh(e,t){var n=Oo(e.target,t.name);if(n){var r=hh(t,e),o=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:o.end,delay:r[0].delay,endDelay:o.endDelay}}}function gh(e,t){return sr(ir(e.map(function(n){return t.map(function(r){return mh(n,r)})})),function(n){return!N.und(n)})}function Ta(e,t){var n=e.length,r=function(s){return s.timelineOffset?s.timelineOffset:0},o={};return o.duration=n?Math.max.apply(Math,e.map(function(s){return r(s)+s.duration})):t.duration,o.delay=n?Math.min.apply(Math,e.map(function(s){return r(s)+s.delay})):t.delay,o.endDelay=n?o.duration-Math.max.apply(Math,e.map(function(s){return r(s)+s.duration-s.endDelay})):t.endDelay,o}var fs=0;function vh(e){var t=jr(fa,e),n=jr($o,e),r=fh(n,e),o=ka(e.targets),s=gh(o,r),i=Ta(s,n),a=fs;return fs++,ar(t,{id:a,children:[],animatables:o,animations:s,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}var Le=[],Pa=function(){var e;function t(){!e&&(!ps()||!W.suspendWhenDocumentHidden)&&Le.length>0&&(e=requestAnimationFrame(n))}function n(o){for(var s=Le.length,i=0;i<s;){var a=Le[i];a.paused?(Le.splice(i,1),s--):(a.tick(o),i++)}e=i>0?requestAnimationFrame(n):void 0}function r(){W.suspendWhenDocumentHidden&&(ps()?e=cancelAnimationFrame(e):(Le.forEach(function(o){return o._onDocumentVisibility()}),Pa()))}return typeof document<"u"&&document.addEventListener("visibilitychange",r),t}();function ps(){return!!document&&document.hidden}function W(e){e===void 0&&(e={});var t=0,n=0,r=0,o,s=0,i=null;function a(v){var b=window.Promise&&new Promise(function(x){return i=x});return v.finished=b,b}var l=vh(e);a(l);function c(){var v=l.direction;v!=="alternate"&&(l.direction=v!=="normal"?"normal":"reverse"),l.reversed=!l.reversed,o.forEach(function(b){return b.reversed=l.reversed})}function u(v){return l.reversed?l.duration-v:v}function f(){t=0,n=u(l.currentTime)*(1/W.speed)}function d(v,b){b&&b.seek(v-b.timelineOffset)}function p(v){if(l.reversePlayback)for(var x=s;x--;)d(v,o[x]);else for(var b=0;b<s;b++)d(v,o[b])}function h(v){for(var b=0,x=l.animations,P=x.length;b<P;){var L=x[b],S=L.animatable,D=L.tweens,I=D.length-1,k=D[I];I&&(k=sr(D,function(wn){return v<wn.end})[0]||k);for(var R=je(v-k.start-k.delay,0,k.duration)/k.duration,z=isNaN(R)?1:k.easing(R),B=k.to.strings,V=k.round,J=[],te=k.to.numbers.length,G=void 0,ne=0;ne<te;ne++){var re=void 0,me=k.to.numbers[ne],ve=k.from.numbers[ne]||0;k.isPath?re=ch(k.value,z*me,k.isPathTargetInsideSVG):re=ve+z*(me-ve),V&&(k.isColor&&ne>2||(re=Math.round(re*V)/V)),J.push(re)}var He=B.length;if(!He)G=J[0];else{G=B[0];for(var Ie=0;Ie<He;Ie++){B[Ie];var Ue=B[Ie+1],Lt=J[Ie];isNaN(Lt)||(Ue?G+=Lt+Ue:G+=Lt+" ")}}xa[L.type](S.target,L.property,G,S.transforms),L.currentValue=G,b++}}function m(v){l[v]&&!l.passThrough&&l[v](l)}function g(){l.remaining&&l.remaining!==!0&&l.remaining--}function y(v){var b=l.duration,x=l.delay,P=b-l.endDelay,L=u(v);l.progress=je(L/b*100,0,100),l.reversePlayback=L<l.currentTime,o&&p(L),!l.began&&l.currentTime>0&&(l.began=!0,m("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,m("loopBegin")),L<=x&&l.currentTime!==0&&h(0),(L>=P&&l.currentTime!==b||!b)&&h(b),L>x&&L<P?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,m("changeBegin")),m("change"),h(L)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,m("changeComplete")),l.currentTime=je(L,0,b),l.began&&m("update"),v>=b&&(n=0,g(),l.remaining?(t=r,m("loopComplete"),l.loopBegan=!1,l.direction==="alternate"&&c()):(l.paused=!0,l.completed||(l.completed=!0,m("loopComplete"),m("complete"),!l.passThrough&&"Promise"in window&&(i(),a(l)))))}return l.reset=function(){var v=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=v==="reverse",l.remaining=l.loop,o=l.children,s=o.length;for(var b=s;b--;)l.children[b].reset();(l.reversed&&l.loop!==!0||v==="alternate"&&l.loop===1)&&l.remaining++,h(l.reversed?l.duration:0)},l._onDocumentVisibility=f,l.set=function(v,b){return $a(v,b),l},l.tick=function(v){r=v,t||(t=r),y((r+(n-t))*W.speed)},l.seek=function(v){y(u(v))},l.pause=function(){l.paused=!0,f()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Le.push(l),f(),Pa())},l.reverse=function(){c(),l.completed=!l.reversed,f()},l.restart=function(){l.reset(),l.play()},l.remove=function(v){var b=Eo(v);Aa(b,l)},l.reset(),l.autoplay&&l.play(),l}function hs(e,t){for(var n=t.length;n--;)Po(e,t[n].animatable.target)&&t.splice(n,1)}function Aa(e,t){var n=t.animations,r=t.children;hs(e,n);for(var o=r.length;o--;){var s=r[o],i=s.animations;hs(e,i),!i.length&&!s.children.length&&r.splice(o,1)}!n.length&&!r.length&&t.pause()}function yh(e){for(var t=Eo(e),n=Le.length;n--;){var r=Le[n];Aa(t,r)}}function bh(e,t){t===void 0&&(t={});var n=t.direction||"normal",r=t.easing?To(t.easing):null,o=t.grid,s=t.axis,i=t.from||0,a=i==="first",l=i==="center",c=i==="last",u=N.arr(e),f=parseFloat(u?e[0]:e),d=u?parseFloat(e[1]):0,p=Je(u?e[1]:e)||0,h=t.start||0+(u?f:0),m=[],g=0;return function(y,v,b){if(a&&(i=0),l&&(i=(b-1)/2),c&&(i=b-1),!m.length){for(var x=0;x<b;x++){if(!o)m.push(Math.abs(i-x));else{var P=l?(o[0]-1)/2:i%o[0],L=l?(o[1]-1)/2:Math.floor(i/o[0]),S=x%o[0],D=Math.floor(x/o[0]),I=P-S,k=L-D,R=Math.sqrt(I*I+k*k);s==="x"&&(R=-I),s==="y"&&(R=-k),m.push(R)}g=Math.max.apply(Math,m)}r&&(m=m.map(function(B){return r(B/g)*g})),n==="reverse"&&(m=m.map(function(B){return s?B<0?B*-1:-B:Math.abs(g-B)}))}var z=u?(d-f)/g:f;return h+z*(Math.round(m[v]*100)/100)+p}}function _h(e){e===void 0&&(e={});var t=W(e);return t.duration=0,t.add=function(n,r){var o=Le.indexOf(t),s=t.children;o>-1&&Le.splice(o,1);function i(d){d.passThrough=!0}for(var a=0;a<s.length;a++)i(s[a]);var l=ar(n,jr($o,e));l.targets=l.targets||e.targets;var c=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=N.und(r)?c:Ro(r,c),i(t),t.seek(l.timelineOffset);var u=W(l);i(u),s.push(u);var f=Ta(s,e);return t.delay=f.delay,t.endDelay=f.endDelay,t.duration=f.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}W.version="3.2.1";W.speed=1;W.suspendWhenDocumentHidden=!0;W.running=Le;W.remove=yh;W.get=Lo;W.set=$a;W.convertPx=Co;W.path=lh;W.setDashoffset=ih;W.stagger=bh;W.timeline=_h;W.easing=To;W.penner=ma;W.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};function wh(e){const t="clientX"in e?e.clientX:e.touches[0]?e.touches[0].clientX:e.changedTouches[0].clientX,n="clientY"in e?e.clientY:e.touches[0]?e.touches[0].clientY:e.changedTouches[0].clientY;return{x:t,y:n}}function ms(e,t=window.innerWidth,n=window.innerHeight){e.width=t,e.height=n,e.style.width=`${t}px`,e.style.height=`${n}px`}function Sh(e){const{selector:t="canvas.fireworks",numberOfParticles:n=20,circleRadius:r={min:10,max:20},diffuseRadius:o={min:50,max:100},orbitRadius:s={min:50,max:100},animeDuration:i={min:900,max:1500}}=e,a=e.colors&&e.colors.length>0?e.colors:["#66A7DD","#3E83E1","#214EC2"],l=document.querySelector(t),c=l.getContext("2d");if(!c)return;function u(g){const y=W.random(0,360)*Math.PI/180,v=W.random(o.min,o.max),b=[-1,1][W.random(0,1)]*v;return{x:g.x+b*Math.cos(y),y:g.y+b*Math.sin(y)}}function f(g,y){const v=new oe(a[W.random(0,a.length-1)]);v.setAlpha(W.random(.2,.8));const b={x:g,y,color:v.toRgbString(),radius:W.random(r.min,r.max),endPos:u({x:g,y}),draw:()=>{}};return b.draw=function(){c&&(c.beginPath(),c.arc(b.x,b.y,b.radius,0,2*Math.PI,!0),c.fillStyle=b.color,c.fill())},b}function d(g,y){const v={x:g,y,color:"#000",radius:.1,alpha:.5,lineWidth:6,draw(){}};return v.draw=()=>{c&&(c.globalAlpha=v.alpha,c.beginPath(),c.arc(v.x,v.y,v.radius,0,2*Math.PI,!0),c.lineWidth=v.lineWidth,c.strokeStyle=v.color,c.stroke(),c.globalAlpha=1)},v}function p(g){for(let y=0;y<g.animatables.length;y++)g.animatables[y].target.draw()}function h(g){const{x:y,y:v}=g,b=d(y,v),x=[];for(let P=0;P<n;P++)x.push(f(y,v));W.timeline().add({targets:x,x(P){return P.endPos.x},y(P){return P.endPos.y},radius:.1,duration:W.random(i.min,i.max),easing:"easeOutExpo",update:p}).add({targets:b,radius:W.random(s.min,s.max),lineWidth:0,alpha:{value:0,easing:"linear",duration:W.random(600,800)},duration:W.random(1200,1800),easing:"easeOutExpo",update:p},0)}const m=W({duration:Number.POSITIVE_INFINITY,update:()=>{c.clearRect(0,0,l.width,l.height)}});document.addEventListener("mousedown",g=>{m.play();const y=wh(g),v=l.getBoundingClientRect();h({x:y.x-v.left,y:y.y-v.top})},!1),ms(l),window.addEventListener("resize",()=>{ms(l)},!1)}const kh={class:"fireworks"},xh=H({__name:"YunFireworks",setup(e){const t=bo();return tt(()=>{Sh({selector:"canvas.fireworks",colors:t.value.fireworks.colors})}),(n,r)=>(_(),T("canvas",kh))}}),$h=["title"],No=H({__name:"YunToggleLocale",setup(e){const{t,locale:n}=Se(),{toggleLocales:r}=Id();return(o,s)=>(_(),T("button",{class:"yun-icon-btn",title:w(t)("button.toggle_langs"),style:{color:"var(--va-c-text)"},onClick:s[0]||(s[0]=(...i)=>w(r)&&w(r)(...i))},[$("div",{"i-ri-translate":"",class:K(["transition transform",w(n)==="en"?"rotate-y-180":""])},null,2)],8,$h))}}),Th=["title"],Do=H({__name:"YunToggleDark",props:{transition:{type:Boolean}},setup(e){const t=e,n=et(),{t:r}=Se(),o=A(()=>n.isDark?r("button.toggle_light"):r("button.toggle_dark")),s=A(()=>({color:n.isDark?"":"#f1cb64"}));function i(a){t.transition?n.toggleDarkWithTransition(a):n.toggleDark()}return(a,l)=>(_(),T("button",{class:"yun-icon-btn",title:o.value,style:ct(s.value),onMousedown:Vl(()=>{},["prevent"]),onClick:i},l[0]||(l[0]=[$("div",{i:"ri-sun-line dark:ri-moon-line"},null,-1)]),44,Th))}}),Ca=H({__name:"YunConfig",setup(e){const t=et();return(n,r)=>{const o=Do,s=No;return _(),T("div",null,[C(o),w(t).showToggleLocale?(_(),F(s,{key:0})):M("v-if",!0)])}}}),Ph={class:"site-nav","text-xl":"","mt-6":""},Ah={class:"count"},Ch={class:"count"},Oh={class:"count"},Lh=H({__name:"YunSidebarNav",setup(e){const{t}=Se(),n=rr(),r=bt(),o=na(),s=aa();return(i,a)=>{const l=pe("RouterLink"),c=_n;return _(),T("nav",Ph,[C(l,{class:"site-link-item yun-icon-btn",to:"/",title:w(t)("menu.home")},{default:Z(()=>a[0]||(a[0]=[$("div",{"i-ri-home-4-line":""},null,-1)])),_:1},8,["title"]),C(l,{class:"site-link-item",to:"/archives/",title:w(t)("menu.archives")},{default:Z(()=>[a[1]||(a[1]=$("div",{class:"icon","i-ri-archive-line":""},null,-1)),$("span",Ah,U(w(n).postList.length),1)]),_:1},8,["title"]),C(l,{class:"site-link-item",to:"/categories/",title:w(t)("menu.categories")},{default:Z(()=>[a[2]||(a[2]=$("div",{class:"icon","i-ri-folder-2-line":""},null,-1)),$("span",Ch,U(Array.from(w(o).children).length),1)]),_:1},8,["title"]),C(l,{class:"site-link-item",to:"/tags/",title:w(t)("menu.tags")},{default:Z(()=>[a[3]||(a[3]=$("div",{class:"icon","i-ri-price-tag-3-line":""},null,-1)),$("span",Oh,U(Array.from(w(s)).length),1)]),_:1},8,["title"]),C(c,{class:"site-link-item yun-icon-btn",to:w(r).menu.custom.url,title:w(t)(w(r).menu.custom.title)},{default:Z(()=>[$("div",{class:K(w(r).menu.custom.icon)},null,2)]),_:1},8,["to","title"])])}}}),Rh={class:"sidebar-panel",p:"2"},Mh=H({__name:"YunOverview",setup(e){return(t,n)=>{const r=xo,o=Lh,s=ko,i=So,a=Ca;return _(),T(se,null,[$("div",Rh,[C(r),C(o),n[0]||(n[0]=$("hr",{m:"t-4 b-2",op:"20"},null,-1)),C(s),n[1]||(n[1]=$("hr",{m:"y-2",op:"20"},null,-1)),C(i),n[2]||(n[2]=$("br",null,null,-1))]),C(a)],64)}}}),Eh={key:0,class:"sidebar-nav",m:"t-6"},Nh={key:2},Dh=H({__name:"YunStratoSidebar",props:{showHamburger:{type:Boolean}},setup(e){const t=ke(),n=E(!1);return(r,o)=>{const s=ca,i=Mh;return _(),T(se,null,[M(' class="md:hidden" '),C(s,{show:w(t).leftSidebar.isOpen,onClick:o[0]||(o[0]=a=>w(t).leftSidebar.toggle())},null,8,["show"]),M(` <ValaxyHamburger
5
- :active="yunStore.leftSidebar.isOpen"
6
- class="menu-btn sidebar-toggle yun-icon-btn leading-4 fixed left-0.8rem top-0.6rem"
7
- inline-flex cursor="pointer" z="$yun-z-menu-btn"
8
- :class="showHamburger ? '' : 'md:hidden'"
9
- @click="yunStore.leftSidebar.toggle()"
10
- /> `),$("aside",{id:"yun-left-sidebar",class:K(["va-card transition yun-sidebar fixed inset-y-0 left-0 overflow-y-auto",{open:w(t).leftSidebar.isOpen,"md:translate-x-0":!r.showHamburger}]),text:"center",bg:"$yun-sidebar-bg-color contain no-repeat",z:"$yun-z-left-sidebar"},[r.$slots.default?(_(),T("div",Eh,[$("button",{m:"x-4",class:K(["sidebar-nav-item yun-icon-btn",n.value&&"active"]),onClick:o[1]||(o[1]=a=>n.value=!0)},o[3]||(o[3]=[$("div",{"i-ri-passport-line":""},null,-1)]),2),$("button",{m:"x-4",class:K(["sidebar-nav-item yun-icon-btn",!n.value&&"active"]),onClick:o[2]||(o[2]=a=>n.value=!1)},o[4]||(o[4]=[$("div",{"i-ri-list-ordered":""},null,-1)]),2)])):M("v-if",!0),n.value||!r.$slots.default?(_(),T("div",{key:1,class:K(r.$slots.default&&"-mt-4")},[C(i)],2)):(_(),T("div",Nh,[ge(r.$slots,"default")]))],2)],64)}}}),Hh={class:"flex-center"},Ih=H({__name:"YunFullscreenMenu",setup(e){const t=ke(),n=E(),r=et();return(o,s)=>{const i=xo,a=da,l=ua,c=ko,u=So,f=Ca;return _(),F(At,{name:w(r).isMobile?"slide-down":"slide-left"},{default:Z(()=>[w(t).fullscreenMenu.isOpen?(_(),T("div",{key:0,ref_key:"fullscreenMenuRef",ref:n,p:"t-12 md:t-20",class:"yun-fullscreen-menu fixed left-0 right-0 bottom-0 top-0 bg-$va-c-bg-soft z-$yun-z-fullscreen-menu overflow-auto max-w-md shadow-2xl"},[M(` <div v-if="app.isMobile" class="flex-center gap-2">
11
- <YunToggleDark transition />
12
- <YunToggleLocale v-if="app.showToggleLocale" />
13
- </div> `),M(" <YunFullscreenMenuList /> "),C(i,{class:"text-center"}),C(a,{class:"my-2 op-20"}),C(l),C(a,{class:"my-2 op-20"}),C(c),C(a,{class:"my-2 op-20"}),C(u),w(t).size.isLg?M("v-if",!0):(_(),F(a,{key:0,class:"my-2 op-20"})),$("div",Hh,[C(f)])],512)):M("v-if",!0)]),_:1},8,["name"])}}}),zh={class:"yun-search-input-container flex-center",w:"full"},jh=["placeholder"],Bh={key:0,class:"flex-center",w:"full",py:"4"},Fh={key:1,overflow:"auto",flex:"~",w:"full"},Vh={class:"yun-fuse-result-container",flex:"~ col",w:"full"},Yh={font:"serif black"},Wh={text:"sm",opacity:"80"},Uh={"text-xs":"","opacity-50":"",mt:"1"},qh=H({__name:"YunFuseSearch",props:{open:{type:Boolean}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,o=E(""),s=Ed(yt?document.documentElement:null),{t:i}=Se(),{results:a,fetchFuseListData:l}=Xd(o),c=E(),u=E();return wd(c),X(()=>n.open,()=>{n.open&&l()}),(f,d)=>{const p=_n;return _(),F(At,{name:"fade",onEnter:d[2]||(d[2]=h=>s.value=!0),onAfterLeave:d[3]||(d[3]=h=>s.value=!1)},{default:Z(()=>[f.open?(_(),T("div",{key:0,ref_key:"searchContainer",ref:u,class:"yun-popup yun-search-popup yun-fuse-search flex-center pointer-events-auto",flex:"col",justify:"start","pt-12":""},[$("div",zh,[Kn($("input",{ref_key:"searchInputRef",ref:c,"onUpdate:modelValue":d[0]||(d[0]=h=>o.value=h),class:"yun-search-input",placeholder:w(i)("search.placeholder")},null,8,jh),[[Yl,o.value]])]),o.value?(_(),T("div",Bh,U(w(i)("search.hits",w(a).length||0)),1)):M("v-if",!0),w(a).length>0?(_(),T("div",Fh,[$("div",Vh,[(_(!0),T(se,null,Pt(w(a),h=>(_(),F(p,{key:h.item.title,to:h.item.link,class:"yun-fuse-result-item text-$va-c-text hover:text-$va-c-bg hover:bg-$va-c-text-dark hover:bg-opacity-100",flex:"~ col","pb-2":"",onClick:d[1]||(d[1]=m=>r("close"))},{default:Z(()=>[$("h3",Yh,U(h.item.title),1),$("span",Wh,U(h.item.excerpt),1),$("span",Uh," Score Index: "+U(h.refIndex),1)]),_:2},1032,["to"]))),128))])])):M("v-if",!0)],512)):M("v-if",!0)]),_:1})}}}),Gh=["title"],Kh={key:0,"i-ri-search-line":"","op-80":"",hover:"op-100"},Jh={key:1,text:"!2xl","i-ri-close-line":""},Qh=H({__name:"YunSearchBtn",props:{open:{type:Boolean,default:!1}},emits:["close","open"],setup(e,{emit:t}){const n=e,r=t,{t:o}=Se();function s(){n.open?r("close"):r("open")}return(i,a)=>(_(),T("button",{class:K(["yun-search-btn popup-trigger size-12 inline-flex justify-center items-center",!i.open&&"hover-bg-white/80 hover:bg-black/80"]),text:"xl $va-c-text",title:w(o)("menu.search"),onClick:s},[i.open?(_(),T("div",Jh)):(_(),T("div",Kh))],10,Gh))}}),Oa=H({__name:"YunSearchTrigger",setup(e){const t=fe(),n=A(()=>t.value.search.type==="algolia"),r=A(()=>t.value.search.type==="fuse"),o=E(!1);function s(){o.value=!o.value}const i=E();tt(()=>{r.value&&uf("k",s)});function a(){o.value=!0,n.value&&(i.value.load(),i.value.dispatchEvent())}function l(){o.value=!1}const c=n.value?Wl(()=>ie(()=>import("./YunAlgoliaSearch.CGLcEs-8.js"),__vite__mapDeps([47,43,5,4,3,7,6,8,9]))):()=>null;return(u,f)=>{const d=Qh,p=qh;return _(),T(se,null,[C(d,{open:o.value&&!n.value,onOpen:a,onClose:l},null,8,["open"]),n.value?(_(),F(w(c),{key:0,ref_key:"algoliaRef",ref:i,open:o.value,onClose:l},null,8,["open"])):r.value?(_(),F(p,{key:1,open:o.value,onClose:l},null,8,["open"])):M("v-if",!0)],64)}}}),Zh={key:0,flex:"~ col",class:"nav-menu-post-title text-xs font-bold flex items-center gap-1 lt-sm:max-w-40"},Xh={class:"gap-1",flex:"~"},em={class:"truncate"},tm={key:0,class:"font-light op-80"},nm={key:1,class:"font-light truncate"},La=H({__name:"YunNavMenuTitle",setup(e){const t=ke(),n=Ct(),r=fe(),o=nt(),s=E(!1),i=A(()=>o.path==="/"?!1:t.isStrato?t.scrollY<10:!s.value);X(()=>t.scrollY,()=>{t.isNimbo&&(s.value=t.scrollY>200)});const a=Zr();function l(){s.value||a.push("/")}return(c,u)=>{const f=Ul("motion");return Kn((_(),T("div",{flex:"~ center col h-full",class:K({"cursor-pointer":!s.value}),initial:{opacity:0,y:10},enter:{opacity:1,y:0,transition:{duration:400,delay:1200}},onClick:l},[w(n).title&&s.value?(_(),T("div",Zh,[$("div",Xh,[$("div",{class:K(["size-4",w(n).icon||"i-ri-article-line"])},null,2),$("span",em,U(w(n).title),1)]),w(n).subtitle?(_(),T("span",tm,U(w(n).subtitle),1)):M("v-if",!0)])):M("v-if",!0),i.value?(_(),T("span",nm,U(w(r).title),1)):M("v-if",!0)],2)),[[f]])}}}),Ra=H({__name:"YunNavMenuItem",props:{icon:{},to:{}},setup(e){return(t,n)=>{const r=_n;return _(),F(r,{class:"size-12 inline-flex-center cursor-pointer z-$yun-z-nav-menu text-$va-c-text",hover:"bg-white/80 dark:bg-black/80 op-100","op-80":"",to:t.to},{default:Z(()=>[$("div",{class:K(["size-6",t.icon])},null,2)]),_:1},8,["to"])}}}),rm=["aria-expanded"],Ma=H({__name:"ValaxyHamburger",props:{active:{type:Boolean}},setup(e){return(t,n)=>(_(),T("button",{type:"button",class:K(["vt-hamburger",{"is-active":t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active},n[0]||(n[0]=[$("span",{class:"vt-hamburger-container"},[$("span",{class:"vt-hamburger-top"}),$("span",{class:"vt-hamburger-middle"}),$("span",{class:"vt-hamburger-bottom"})],-1)]),10,rm))}}),om={class:"inline-flex justify-start items-center flex-1"},sm={class:"flex flex-1 flex-center"},im={class:"inline-flex-center justify-end items-center flex-1"},am=H({__name:"YunNimboNavMenu",setup(e){const t=ke(),n=fe(),r=bt(),o=E(!1),s=nt();tt(()=>{s.meta.layout==="home"?setTimeout(()=>{o.value=!0},600):o.value=!0});const i=E(!1);X(()=>t.scrollY,()=>{t.scrollY>10?i.value=!0:i.value=!1});const a=et();return(l,c)=>{const u=Ma,f=Ra,d=La,p=No,h=Do,m=Oa;return _(),F(At,{"enter-active-class":"animate-fade-in"},{default:Z(()=>[o.value?(_(),T("div",{key:0,class:K(["yun-nav-menu z-$yun-z-nav-menu fixed bg-transparent",{play:i.value}])},[M(" "),$("div",om,[w(t).size.isLg?M("v-if",!0):(_(),F(u,{key:0,active:w(t).fullscreenMenu.isOpen,class:"menu-btn sidebar-toggle leading-4 size-12","inline-flex":"",cursor:"pointer",hover:"bg-white/80 dark:bg-black/80",z:"$yun-z-menu-btn",onClick:c[0]||(c[0]=g=>w(t).fullscreenMenu.toggle())},null,8,["active"])),C(f,{icon:"i-ri-home-4-line",to:"/"}),w(t).size.isLg?(_(),T(se,{key:1},[C(f,{icon:"i-ri-article-line",to:"/posts/",title:"博客文章"}),(_(!0),T(se,null,Pt(w(r).pages,(g,y)=>(_(),F(f,{key:y,icon:g.icon,to:g.url,title:g.name},null,8,["icon","to","title"]))),128))],64)):M("v-if",!0)]),$("div",sm,[C(d)]),$("div",im,[M(` <template v-if="!app.isMobile && themeConfig.nav">
14
- <template v-for="item in themeConfig.nav" :key="item.text">
15
- <AppLink
16
- v-if="'link' in item"
17
- :to="item.link"
18
- class="menu-btn inline-flex-center p-2 transition text-$va-c-text"
19
- inline-flex cursor="pointer"
20
- hover="bg-white/80 dark:bg-black/80"
21
- z="$yun-z-menu-btn"
22
- >
23
- {{ item.text }}
24
- </AppLink>
25
- <template v-else-if="'items' in item" />
26
- </template>
27
- </template> `),w(t).size.isSm&&w(a).showToggleLocale?(_(),F(p,{key:0,class:"rounded-none!"})):M("v-if",!0),C(h,{class:"rounded-none!",transition:""}),w(n).search.enable?(_(),F(m,{key:1})):M("v-if",!0)])],2)):M("v-if",!0)]),_:1})}}}),lm=vt(am,[["__scopeId","data-v-e606fe10"]]),cm={class:"fixed left-0 top-0",z:"$yun-z-left-sidebar-menu"},um={class:"flex flex-1 flex-center"},dm={class:"inline-flex flex-1 justify-end items-center"},fm=H({__name:"YunStratoNavMenu",setup(e){const t=ke(),n=fe(),r=E(!1),o=nt();tt(()=>{o.meta.layout==="home"?setTimeout(()=>{r.value=!0},600):r.value=!0});const s=E(!1);X(()=>t.scrollY,()=>{t.scrollY>10?s.value=!0:s.value=!1});const i=et(),a=A(()=>i.isMobile?!0:o.meta.layout==="home");return(l,c)=>{const u=Ma,f=Ra,d=La,p=No,h=Do,m=Oa;return _(),T(se,null,[$("div",cm,[a.value?(_(),F(u,{key:0,active:w(t).leftSidebar.isOpen,class:"menu-btn sidebar-toggle leading-4 size-12 fixed","inline-flex":"",cursor:"pointer",hover:"bg-white/80 dark:bg-black/80",onClick:c[0]||(c[0]=g=>w(t).leftSidebar.toggle())},null,8,["active"])):(_(),F(f,{key:1,icon:"i-ri-home-4-line",to:"/"}))]),C(At,{"enter-active-class":"animate-fade-in"},{default:Z(()=>[r.value?(_(),T("div",{key:0,class:K(["yun-nav-menu z-$yun-z-nav-menu fixed w-full flex justify-between items-center top-0",{play:s.value}])},[M(" "),c[1]||(c[1]=$("div",{class:"inline-flex justify-start items-center flex-1"},null,-1)),$("div",um,[C(d)]),$("div",dm,[w(t).size.isSm&&w(i).showToggleLocale?(_(),F(p,{key:0,class:"rounded-none!"})):M("v-if",!0),C(h,{class:"rounded-none!",transition:""}),w(n).search.enable?(_(),F(m,{key:1})):M("v-if",!0)])],2)):M("v-if",!0)]),_:1})],64)}}}),pm=H({__name:"YunNavMenu",setup(e){const t=ke();return(n,r)=>{const o=fm,s=lm;return w(t).isStrato?(_(),F(o,{key:0})):w(t).isNimbo?(_(),F(s,{key:1})):M("v-if",!0)}}}),hm=H({__name:"YunPageHeaderGradient",setup(e){const{isDark:t}=wo(),n=A(()=>t.value?{"--gradient-from":"0 0 0","--gradient-to":"0 0 0"}:{"--gradient-from":"161 196 253","--gradient-to":"194 233 251"});return(r,o)=>(_(),T("div",{class:"yun-page-header-gradient",style:ct(n.value)},null,4))}}),mm={class:"bg-black/50 fixed bottom-20 left-2 p-2 gap-1 rounded z-9999",text:"xs white",flex:"~ col"},gm={class:"w-6",font:"bold"},vm=H({__name:"YunDebug",setup(e){const t=ke(),n=A(()=>[{label:"xs",value:t.size.isXs},{label:"sm",value:t.size.isSm},{label:"md",value:t.size.isMd},{label:"lg",value:t.size.isLg},{label:"xl",value:t.size.isXl},{label:"2xl",value:t.size.is2xl}]);return(r,o)=>(_(),T("div",mm,[(_(!0),T(se,null,Pt(n.value,s=>(_(),T("div",{key:s.label,class:"gap-2 inline-flex"},[$("span",gm,U(s.label)+": ",1),$("span",null,U(s.value?"✅":"❌"),1)]))),128))]))}}),ym=H({__name:"YunStratoApp",setup(e){const t=Hr("--yun-margin-top");return t.value="48px",(n,r)=>(_(),T("div"))}}),bm=H({__name:"App",setup(e){const t=et();to({link:[{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@900&display=swap"}],meta:[{name:"theme-color",content:t.themeColor},{name:"msapplication-TileColor",content:t.themeColor}]});const n=bt(),r=et(),o=ke(),s=nt();X(()=>s.meta.layout,()=>{s.meta.layout==="home"||r.isMobile,o.leftSidebar.isOpen=!1},{immediate:!0}),tt(()=>{document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`),r.showLoading=!1});const i=!1;return(a,l)=>{const c=ym,u=vm,f=hm,d=pm,p=Ih,h=Dh,m=xh,g=Up,y=Yp,v=jp;return _(),T(se,null,[w(o).isStrato?(_(),F(c,{key:0})):M("v-if",!0),w(i)?(_(),F(u,{key:1})):M("v-if",!0),C(f),C(d),w(o).isNimbo&&!w(o).size.isLg?(_(),F(p,{key:2})):M("v-if",!0),w(o).isStrato?(_(),F(h,{key:3})):M("v-if",!0),w(n).fireworks.enable?(_(),F(m,{key:4})):M("v-if",!0),ge(a.$slots,"bg",{},()=>[w(n).bg_image.enable?(_(),F(g,{key:0})):M("v-if",!0)]),C(At,{name:"fade"},{default:Z(()=>[w(r).showLoading?(_(),F(y,{key:0})):M("v-if",!0)]),_:1}),C(v),M(" TODO "),M(" <YunDock /> ")],64)}}}),_m=H({render:()=>null}),wm=H({__name:"ValaxyApp",setup(e){const t=ia();return t.value!=="empty"&&Xu(),(n,r)=>{const o=pe("router-view");return _(),T(se,null,[w(t)!=="empty"?(_(),T(se,{key:0},[C(w(bm)),C(Hp),C(w(_m))],64)):M("v-if",!0),C(o)],64)}}}),Sm=H({__name:"App",setup(e){return(t,n)=>{const r=wm;return _(),F(r)}}});var km=Object.defineProperty,gs=Object.getOwnPropertySymbols,xm=Object.prototype.hasOwnProperty,$m=Object.prototype.propertyIsEnumerable,vs=(e,t,n)=>t in e?km(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tm=(e,t)=>{for(var n in t||(t={}))xm.call(t,n)&&vs(e,n,t[n]);if(gs)for(var n of gs(t))$m.call(t,n)&&vs(e,n,t[n]);return e};function Ho(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Pm(e){return!!(e&&e.constructor&&e.call&&e.apply)}function ee(e){return!Ho(e)}function $t(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function xt(e,...t){return Pm(e)?e(...t):e}function It(e,t=!0){return typeof e=="string"&&(t||e!=="")}function Ea(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function Am(e){return ee(e)&&!isNaN(e)}function Ke(e,t){if(t){const n=t.test(e);return t.lastIndex=0,n}return!1}function Cm(...e){const t=(n={},r={})=>{const o=Tm({},n);return Object.keys(r).forEach(s=>{$t(r[s])&&s in n&&$t(n[s])?o[s]=t(n[s],r[s]):o[s]=r[s]}),o};return e.reduce((n,r,o)=>o===0?r:t(n,r),{})}function Kt(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function Na(e){return It(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,n)=>n===0?t:"-"+t.toLowerCase()).toLowerCase():e}function ys(e){return It(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Io(){const e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.slice().map(o=>{o(n)})},clear(){e.clear()}}}var Om=Object.defineProperty,Lm=Object.defineProperties,Rm=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,bs=(e,t,n)=>t in e?Om(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oe=(e,t)=>{for(var n in t||(t={}))Da.call(t,n)&&bs(e,n,t[n]);if(Vn)for(var n of Vn(t))Ha.call(t,n)&&bs(e,n,t[n]);return e},wr=(e,t)=>Lm(e,Rm(t)),qe=(e,t)=>{var n={};for(var r in e)Da.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vn)for(var r of Vn(e))t.indexOf(r)<0&&Ha.call(e,r)&&(n[r]=e[r]);return n},Mm=Io(),Ge=Mm;function _s(e,t){Ea(e)?e.push(...t||[]):$t(e)&&Object.assign(e,t)}function Em(e){return $t(e)&&e.hasOwnProperty("value")&&e.hasOwnProperty("type")?e.value:e}function Nm(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Fr(e="",t=""){return Nm(`${It(e,!1)&&It(t,!1)?`${e}-`:e}${t}`)}function Ia(e="",t=""){return`--${Fr(e,t)}`}function Dm(e=""){const t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function za(e,t="",n="",r=[],o){if(It(e)){const s=/{([^}]*)}/g,i=e.trim();if(Dm(i))return;if(Ke(i,s)){const a=i.replaceAll(s,u=>{const d=u.replace(/{|}/g,"").split(".").filter(p=>!r.some(h=>Ke(p,h)));return`var(${Ia(n,Na(d.join("-")))}${ee(o)?`, ${o}`:""})`}),l=/(\d+\s+[\+\-\*\/]\s+\d+)/g,c=/var\([^)]+\)/g;return Ke(a.replace(c,"0"),l)?`calc(${a})`:a}return i}else if(Am(e))return e}function Hm(e,t,n){It(t,!1)&&e.push(`${t}:${n};`)}function Mt(e,t){return e?`${e}{${t}}`:""}var Jt=(...e)=>Im(ue.getTheme(),...e),Im=(e={},t,n,r)=>{if(t){const{variable:o,options:s}=ue.defaults||{},{prefix:i,transform:a}=(e==null?void 0:e.options)||s||{},c=Ke(t,/{([^}]*)}/g)?t:`{${t}}`;return r==="value"||Ho(r)&&a==="strict"?ue.getTokenValue(t):za(c,void 0,i,[o.excludedKeyRegex],n)}return""};function zm(e,t={}){const n=ue.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:s=n.excludedKeyRegex}=t,i=(c,u="")=>Object.entries(c).reduce((f,[d,p])=>{const h=Ke(d,s)?Fr(u):Fr(u,Na(d)),m=Em(p);if($t(m)){const{variables:g,tokens:y}=i(m,h);_s(f.tokens,y),_s(f.variables,g)}else f.tokens.push((r?h.replace(`${r}-`,""):h).replaceAll("-",".")),Hm(f.variables,Ia(h),za(m,h,r,[s]));return f},{variables:[],tokens:[]}),{variables:a,tokens:l}=i(e,r);return{value:a,tokens:l,declarations:a.join(""),css:Mt(o,a.join(""))}}var Ce={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:`${e}{:root{[CSS]}}`,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){const t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(o=>o.resolve(n)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return zm(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var s,i,a,l,c,u,f;const{preset:d,options:p}=t;let h,m,g,y,v,b,x;if(ee(d)&&p.transform!=="strict"){const{primitive:P,semantic:L,extend:S}=d,D=L||{},{colorScheme:I}=D,k=qe(D,["colorScheme"]),R=S||{},{colorScheme:z}=R,B=qe(R,["colorScheme"]),V=I||{},{dark:J}=V,te=qe(V,["dark"]),G=z||{},{dark:ne}=G,re=qe(G,["dark"]),me=ee(P)?this._toVariables({primitive:P},p):{},ve=ee(k)?this._toVariables({semantic:k},p):{},He=ee(te)?this._toVariables({light:te},p):{},Ie=ee(J)?this._toVariables({dark:J},p):{},Ue=ee(B)?this._toVariables({semantic:B},p):{},Lt=ee(re)?this._toVariables({light:re},p):{},wn=ee(ne)?this._toVariables({dark:ne},p):{},[pl,hl]=[(s=me.declarations)!=null?s:"",me.tokens],[ml,gl]=[(i=ve.declarations)!=null?i:"",ve.tokens||[]],[vl,yl]=[(a=He.declarations)!=null?a:"",He.tokens||[]],[bl,_l]=[(l=Ie.declarations)!=null?l:"",Ie.tokens||[]],[wl,Sl]=[(c=Ue.declarations)!=null?c:"",Ue.tokens||[]],[kl,xl]=[(u=Lt.declarations)!=null?u:"",Lt.tokens||[]],[$l,Tl]=[(f=wn.declarations)!=null?f:"",wn.tokens||[]];h=this.transformCSS(e,pl,"light","variable",p,r,o),m=hl;const Pl=this.transformCSS(e,`${ml}${vl}`,"light","variable",p,r,o),Al=this.transformCSS(e,`${bl}`,"dark","variable",p,r,o);g=`${Pl}${Al}`,y=[...new Set([...gl,...yl,..._l])];const Cl=this.transformCSS(e,`${wl}${kl}color-scheme:light`,"light","variable",p,r,o),Ol=this.transformCSS(e,`${$l}color-scheme:dark`,"dark","variable",p,r,o);v=`${Cl}${Ol}`,b=[...new Set([...Sl,...xl,...Tl])],x=xt(d.css,{dt:Jt})}return{primitive:{css:h,tokens:m},semantic:{css:g,tokens:y},global:{css:v,tokens:b},style:x}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:s,selector:i}){var a,l,c;let u,f,d;if(ee(t)&&n.transform!=="strict"){const p=e.replace("-directive",""),h=t,{colorScheme:m,extend:g,css:y}=h,v=qe(h,["colorScheme","extend","css"]),b=g||{},{colorScheme:x}=b,P=qe(b,["colorScheme"]),L=m||{},{dark:S}=L,D=qe(L,["dark"]),I=x||{},{dark:k}=I,R=qe(I,["dark"]),z=ee(v)?this._toVariables({[p]:Oe(Oe({},v),P)},n):{},B=ee(D)?this._toVariables({[p]:Oe(Oe({},D),R)},n):{},V=ee(S)?this._toVariables({[p]:Oe(Oe({},S),k)},n):{},[J,te]=[(a=z.declarations)!=null?a:"",z.tokens||[]],[G,ne]=[(l=B.declarations)!=null?l:"",B.tokens||[]],[re,me]=[(c=V.declarations)!=null?c:"",V.tokens||[]],ve=this.transformCSS(p,`${J}${G}`,"light","variable",n,o,s,i),He=this.transformCSS(p,re,"dark","variable",n,o,s,i);u=`${ve}${He}`,f=[...new Set([...te,...ne,...me])],d=xt(y,{dt:Jt})}return{css:u,tokens:f,style:d}},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:o}){var s;const{preset:i,options:a}=t,l=(s=i==null?void 0:i.components)==null?void 0:s[e];return this.getPreset({name:e,preset:l,options:a,params:n,set:r,defaults:o})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:o}){var s;const i=e.replace("-directive",""),{preset:a,options:l}=t,c=(s=a==null?void 0:a.directives)==null?void 0:s[i];return this.getPreset({name:i,preset:c,options:l,params:n,set:r,defaults:o})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){const{cssLayer:o}=t;return o?`@layer ${xt(o.order||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){const i=this.getCommon({name:e,theme:t,params:n,set:o,defaults:s}),a=Object.entries(r).reduce((l,[c,u])=>l.push(`${c}="${u}"`)&&l,[]).join(" ");return Object.entries(i||{}).reduce((l,[c,u])=>{if(u!=null&&u.css){const f=Kt(u==null?void 0:u.css),d=`${c}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${d}" ${a}>${f}</style>`)}return l},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){var i;const a={name:e,theme:t,params:n,set:o,defaults:s},l=(i=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:i.css,c=Object.entries(r).reduce((u,[f,d])=>u.push(`${f}="${d}"`)&&u,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${Kt(l)}</style>`:""},createTokens(e={},t,n="",r="",o={}){return Object.entries(e).forEach(([s,i])=>{const a=Ke(s,t.variable.excludedKeyRegex)?n:n?`${n}.${ys(s)}`:ys(s),l=r?`${r}.${s}`:s;$t(i)?this.createTokens(i,t,a,l,o):(o[a]||(o[a]={paths:[],computed(c,u={}){var f,d;return this.paths.length===1?(f=this.paths[0])==null?void 0:f.computed(this.paths[0].scheme,u.binding):c&&c!=="none"?(d=this.paths.find(p=>p.scheme===c))==null?void 0:d.computed(c,u.binding):this.paths.map(p=>p.computed(p.scheme,u[p.scheme]))}}),o[a].paths.push({path:l,value:i,scheme:l.includes("colorScheme.light")?"light":l.includes("colorScheme.dark")?"dark":"none",computed(c,u={}){const f=/{([^}]*)}/g;let d=i;if(u.name=this.path,u.binding||(u.binding={}),Ke(i,f)){const h=i.trim().replaceAll(f,y=>{var v;const b=y.replace(/{|}/g,""),x=(v=o[b])==null?void 0:v.computed(c,u);return Ea(x)&&x.length===2?`light-dark(${x[0].value},${x[1].value})`:x==null?void 0:x.value}),m=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,g=/var\([^)]+\)/g;d=Ke(h.replace(g,"0"),m)?`calc(${h})`:h}return Ho(u.binding)&&delete u.binding,{colorScheme:c,path:this.path,paths:u,value:d.includes("undefined")?void 0:d}}}))}),o},getTokenValue(e,t,n){var r;const s=(l=>l.split(".").filter(u=>!Ke(u.toLowerCase(),n.variable.excludedKeyRegex)).join("."))(t),i=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,a=[(r=e[s])==null?void 0:r.computed(i)].flat().filter(l=>l);return a.length===1?a[0].value:a.reduce((l={},c)=>{const u=c,{colorScheme:f}=u,d=qe(u,["colorScheme"]);return l[f]=d,l},void 0)},getSelectorRule(e,t,n,r){return n==="class"||n==="attr"?Mt(ee(t)?`${e}${t},${e} ${t}`:e,r):Mt(e,ee(t)?Mt(t,r):r)},transformCSS(e,t,n,r,o={},s,i,a){if(ee(t)){const{cssLayer:l}=o;if(r!=="style"){const c=this.getColorSchemeOption(o,i);t=n==="dark"?c.reduce((u,{type:f,selector:d})=>(ee(d)&&(u+=d.includes("[CSS]")?d.replace("[CSS]",t):this.getSelectorRule(d,a,f,t)),u),""):Mt(a??":root",t)}if(l){const c={name:"primeui",order:"primeui"};$t(l)&&(c.name=xt(l.name,{name:e,type:r})),ee(c.name)&&(t=Mt(`@layer ${c.name}`,t),s==null||s.layerNames(c.name))}return t}return""}},ue={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){const{theme:t}=e;t&&(this._theme=wr(Oe({},t),{options:Oe(Oe({},this.defaults.options),t.options)}),this._tokens=Ce.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Ge.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=wr(Oe({},this.theme),{preset:e}),this._tokens=Ce.createTokens(e,this.defaults),this.clearLoadedStyleNames(),Ge.emit("preset:change",e),Ge.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=wr(Oe({},this.theme),{options:e}),this.clearLoadedStyleNames(),Ge.emit("options:change",e),Ge.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Ce.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Ce.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ce.getPresetC(n)},getDirective(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ce.getPresetD(n)},getCustomPreset(e="",t,n,r){const o={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ce.getPreset(o)},getLayerOrderCSS(e=""){return Ce.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Ce.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Ce.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Ce.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Ge.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&Ge.emit("theme:load"))}};function ja(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}function Vr(e,t={}){if(ja(e)){const n=(r,o)=>{var s,i;const a=(s=e==null?void 0:e.$attrs)!=null&&s[r]?[(i=e==null?void 0:e.$attrs)==null?void 0:i[r]]:[];return[o].flat().reduce((l,c)=>{if(c!=null){const u=typeof c;if(u==="string"||u==="number")l.push(c);else if(u==="object"){const f=Array.isArray(c)?n(r,c):Object.entries(c).map(([d,p])=>r==="style"&&(p||p===0)?`${d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?d:void 0);l=f.length?l.concat(f.filter(d=>!!d)):l}}return l},a)};Object.entries(t).forEach(([r,o])=>{if(o!=null){const s=r.match(/^on(.+)/);s?e.addEventListener(s[1].toLowerCase(),o):r==="p-bind"||r==="pBind"?Vr(e,o):(o=r==="class"?[...new Set(n("class",o))].join(" ").trim():r==="style"?n("style",o).join(";").trim():o,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=o),e.setAttribute(r,o))}})}}function jm(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function Bm(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&jm(e))}function Fm(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Vm(e,t="",n){ja(e)&&n!==null&&n!==void 0&&e.setAttribute(t,n)}var ce={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function nn(e){"@babel/helpers - typeof";return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nn(e)}function ws(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ss(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ws(Object(n),!0).forEach(function(r){Ym(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ws(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ym(e,t,n){return(t=Wm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wm(e){var t=Um(e,"string");return nn(t)=="symbol"?t:t+""}function Um(e,t){if(nn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(nn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Qr()?tt(e):t?e():dn(e)}var Gm=0;function Km(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=E(!1),r=E(e),o=E(null),s=Fm()?window.document:void 0,i=t.document,a=i===void 0?s:i,l=t.immediate,c=l===void 0?!0:l,u=t.manual,f=u===void 0?!1:u,d=t.name,p=d===void 0?"style_".concat(++Gm):d,h=t.id,m=h===void 0?void 0:h,g=t.media,y=g===void 0?void 0:g,v=t.nonce,b=v===void 0?void 0:v,x=t.first,P=x===void 0?!1:x,L=t.onMounted,S=L===void 0?void 0:L,D=t.onUpdated,I=D===void 0?void 0:D,k=t.onLoad,R=k===void 0?void 0:k,z=t.props,B=z===void 0?{}:z,V=function(){},J=function(ne){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(a){var me=Ss(Ss({},B),re),ve=me.name||p,He=me.id||m,Ie=me.nonce||b;o.value=a.querySelector('style[data-primevue-style-id="'.concat(ve,'"]'))||a.getElementById(He)||a.createElement("style"),o.value.isConnected||(r.value=ne||e,Vr(o.value,{type:"text/css",id:He,media:y,nonce:Ie}),P?a.head.prepend(o.value):a.head.appendChild(o.value),Vm(o.value,"data-primevue-style-id",ve),Vr(o.value,me),o.value.onload=function(Ue){return R==null?void 0:R(Ue,{name:ve})},S==null||S(ve)),!n.value&&(V=X(r,function(Ue){o.value.textContent=Ue,I==null||I(ve)},{immediate:!0}),n.value=!0)}},te=function(){!a||!n.value||(V(),Bm(o.value)&&a.head.removeChild(o.value),n.value=!1)};return c&&!f&&qm(J),{id:m,name:p,el:o,css:r,unload:te,load:J,isLoaded:ql(n)}}function rn(e){"@babel/helpers - typeof";return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rn(e)}function ks(e,t){return Xm(e)||Zm(e,t)||Qm(e,t)||Jm()}function Jm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qm(e,t){if(e){if(typeof e=="string")return xs(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)?xs(e,t):void 0}}function xs(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 Zm(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,i,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return a}}function Xm(e){if(Array.isArray(e))return e}function $s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$s(Object(n),!0).forEach(function(r){eg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function eg(e,t,n){return(t=tg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tg(e){var t=ng(e,"string");return rn(t)=="symbol"?t:t+""}function ng(e,t){if(rn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(rn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rg=function(t){var n=t.dt;return`
29
- *,
30
- ::before,
31
- ::after {
32
- box-sizing: border-box;
33
- }
34
-
35
- /* Non vue overlay animations */
36
- .p-connected-overlay {
37
- opacity: 0;
38
- transform: scaleY(0.8);
39
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
40
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
41
- }
42
-
43
- .p-connected-overlay-visible {
44
- opacity: 1;
45
- transform: scaleY(1);
46
- }
47
-
48
- .p-connected-overlay-hidden {
49
- opacity: 0;
50
- transform: scaleY(1);
51
- transition: opacity 0.1s linear;
52
- }
53
-
54
- /* Vue based overlay animations */
55
- .p-connected-overlay-enter-from {
56
- opacity: 0;
57
- transform: scaleY(0.8);
58
- }
59
-
60
- .p-connected-overlay-leave-to {
61
- opacity: 0;
62
- }
63
-
64
- .p-connected-overlay-enter-active {
65
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
66
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
67
- }
68
-
69
- .p-connected-overlay-leave-active {
70
- transition: opacity 0.1s linear;
71
- }
72
-
73
- /* Toggleable Content */
74
- .p-toggleable-content-enter-from,
75
- .p-toggleable-content-leave-to {
76
- max-height: 0;
77
- }
78
-
79
- .p-toggleable-content-enter-to,
80
- .p-toggleable-content-leave-from {
81
- max-height: 1000px;
82
- }
83
-
84
- .p-toggleable-content-leave-active {
85
- overflow: hidden;
86
- transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
87
- }
88
-
89
- .p-toggleable-content-enter-active {
90
- overflow: hidden;
91
- transition: max-height 1s ease-in-out;
92
- }
93
-
94
- .p-disabled,
95
- .p-disabled * {
96
- cursor: default;
97
- pointer-events: none;
98
- user-select: none;
99
- }
100
-
101
- .p-disabled,
102
- .p-component:disabled {
103
- opacity: `.concat(n("disabled.opacity"),`;
104
- }
105
-
106
- .pi {
107
- font-size: `).concat(n("icon.size"),`;
108
- }
109
-
110
- .p-icon {
111
- width: `).concat(n("icon.size"),`;
112
- height: `).concat(n("icon.size"),`;
113
- }
114
-
115
- .p-overlay-mask {
116
- background: `).concat(n("mask.background"),`;
117
- color: `).concat(n("mask.color"),`;
118
- position: fixed;
119
- top: 0;
120
- left: 0;
121
- width: 100%;
122
- height: 100%;
123
- }
124
-
125
- .p-overlay-mask-enter {
126
- animation: p-overlay-mask-enter-animation `).concat(n("mask.transition.duration"),` forwards;
127
- }
128
-
129
- .p-overlay-mask-leave {
130
- animation: p-overlay-mask-leave-animation `).concat(n("mask.transition.duration"),` forwards;
131
- }
132
-
133
- @keyframes p-overlay-mask-enter-animation {
134
- from {
135
- background: transparent;
136
- }
137
- to {
138
- background: `).concat(n("mask.background"),`;
139
- }
140
- }
141
- @keyframes p-overlay-mask-leave-animation {
142
- from {
143
- background: `).concat(n("mask.background"),`;
144
- }
145
- to {
146
- background: transparent;
147
- }
148
- }
149
- `)},og=function(t){var n=t.dt;return`
150
- .p-hidden-accessible {
151
- border: 0;
152
- clip: rect(0 0 0 0);
153
- height: 1px;
154
- margin: -1px;
155
- overflow: hidden;
156
- padding: 0;
157
- position: absolute;
158
- width: 1px;
159
- }
160
-
161
- .p-hidden-accessible input,
162
- .p-hidden-accessible select {
163
- transform: scale(0);
164
- }
165
-
166
- .p-overflow-hidden {
167
- overflow: hidden;
168
- padding-right: `.concat(n("scrollbar.width"),`;
169
- }
170
- `)},sg={},ig={},Rt={name:"base",css:og,theme:rg,classes:sg,inlineStyles:ig,load:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(s){return s},o=r(xt(t,{dt:Jt}));return ee(o)?Km(Kt(o),Sr({name:this.name},n)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadTheme:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.theme,n,function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue.transformCSS(n.name||t.name,"".concat(o).concat(r))})},getCommonTheme:function(t){return ue.getCommon(this.name,t)},getComponentTheme:function(t){return ue.getComponent(this.name,t)},getDirectiveTheme:function(t){return ue.getDirective(this.name,t)},getPresetTheme:function(t,n,r){return ue.getCustomPreset(this.name,t,n,r)},getLayerOrderThemeCSS:function(){return ue.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=xt(this.css,{dt:Jt})||"",o=Kt("".concat(r).concat(t)),s=Object.entries(n).reduce(function(i,a){var l=ks(a,2),c=l[0],u=l[1];return i.push("".concat(c,'="').concat(u,'"'))&&i},[]).join(" ");return ee(o)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(s,">").concat(o,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ue.getCommonStyleSheet(this.name,t,n)},getThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[ue.getStyleSheet(this.name,t,n)];if(this.theme){var o=this.name==="base"?"global-style":"".concat(this.name,"-style"),s=xt(this.theme,{dt:Jt}),i=Kt(ue.transformCSS(o,s)),a=Object.entries(n).reduce(function(l,c){var u=ks(c,2),f=u[0],d=u[1];return l.push("".concat(f,'="').concat(d,'"'))&&l},[]).join(" ");ee(i)&&r.push('<style type="text/css" data-primevue-style-id="'.concat(o,'" ').concat(a,">").concat(i,"</style>"))}return r.join("")},extend:function(t){return Sr(Sr({},this),{},{css:void 0,theme:void 0},t)}},An=Io();function on(e){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Ts(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ts(Object(n),!0).forEach(function(r){ag(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ag(e,t,n){return(t=lg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lg(e){var t=cg(e,"string");return on(t)=="symbol"?t:t+""}function cg(e,t){if(on(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(on(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ug={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",fileChosenMessage:"{0} files",noFileChosenMessage:"No file chosen",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}},filterMatchModeOptions:{text:[ce.STARTS_WITH,ce.CONTAINS,ce.NOT_CONTAINS,ce.ENDS_WITH,ce.EQUALS,ce.NOT_EQUALS],numeric:[ce.EQUALS,ce.NOT_EQUALS,ce.LESS_THAN,ce.LESS_THAN_OR_EQUAL_TO,ce.GREATER_THAN,ce.GREATER_THAN_OR_EQUAL_TO],date:[ce.DATE_IS,ce.DATE_IS_NOT,ce.DATE_BEFORE,ce.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},dg=Symbol();function fg(e,t){var n={config:Cr(t)};return e.config.globalProperties.$primevue=n,e.provide(dg,n),pg(),hg(e,n),n}var Nt=[];function pg(){Ge.clear(),Nt.forEach(function(e){return e==null?void 0:e()}),Nt=[]}function hg(e,t){var n=E(!1),r=function(){var c;if(((c=t.config)===null||c===void 0?void 0:c.theme)!=="none"&&!ue.isStyleNameLoaded("common")){var u,f,d=((u=Rt.getCommonTheme)===null||u===void 0?void 0:u.call(Rt))||{},p=d.primitive,h=d.semantic,m=d.global,g=d.style,y={nonce:(f=t.config)===null||f===void 0||(f=f.csp)===null||f===void 0?void 0:f.nonce};Rt.load(p==null?void 0:p.css,Cn({name:"primitive-variables"},y)),Rt.load(h==null?void 0:h.css,Cn({name:"semantic-variables"},y)),Rt.load(m==null?void 0:m.css,Cn({name:"global-variables"},y)),Rt.loadTheme(Cn({name:"global-style"},y),g),ue.setLoadedStyleName("common")}};Ge.on("theme:change",function(l){n.value||(e.config.globalProperties.$primevue.config.theme=l,n.value=!0)});var o=X(t.config,function(l,c){An.emit("config:change",{newValue:l,oldValue:c})},{immediate:!0,deep:!0}),s=X(function(){return t.config.ripple},function(l,c){An.emit("config:ripple:change",{newValue:l,oldValue:c})},{immediate:!0,deep:!0}),i=X(function(){return t.config.theme},function(l,c){n.value||ue.setTheme(l),t.config.unstyled||r(),n.value=!1,An.emit("config:theme:change",{newValue:l,oldValue:c})},{immediate:!0,deep:!1}),a=X(function(){return t.config.unstyled},function(l,c){!l&&t.config.theme&&r(),An.emit("config:unstyled:change",{newValue:l,oldValue:c})},{immediate:!0,deep:!0});Nt.push(o),Nt.push(s),Nt.push(i),Nt.push(a)}var mg={install:function(t,n){var r=Cm(ug,n);fg(t,r)}},On=Io(),gg=Symbol(),vg={install:function(t){var n={add:function(o){On.emit("add",o)},remove:function(o){On.emit("remove",o)},removeGroup:function(o){On.emit("remove-group",o)},removeAllGroups:function(){On.emit("remove-all-groups")}};t.config.globalProperties.$toast=n,t.provide(gg,n)}};const yg={root:{class:["yun-tooltip","yun-tooltip-top"]},arrow:{class:"yun-tooltip-arrow"},text:{class:"yun-tooltip-text"}},bg={directives:{tooltip:yg}},_g=e=>{const{router:t,app:n}=e;n.use(vc),n.use(mg,{unstyled:!0,pt:{...bg,dock:{root:"yun-dock",list:"yun-dock-list",listContainer:"yun-dock-list-container",item:"yun-dock-item",itemLink:"yun-dock-item-link"}}}),n.use(vg),t.afterEach(()=>{const r=ke();r.fullscreenMenu.isOpen&&r.fullscreenMenu.toggle()})},be={silent:Number.NEGATIVE_INFINITY,fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,ready:3,start:3,box:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},Ps={silent:{level:-1},fatal:{level:be.fatal},error:{level:be.error},warn:{level:be.warn},log:{level:be.log},info:{level:be.info},success:{level:be.success},fail:{level:be.fail},ready:{level:be.info},start:{level:be.info},box:{level:be.info},debug:{level:be.debug},trace:{level:be.trace},verbose:{level:be.verbose}};function kr(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Yr(e,t,n=".",r){if(!kr(t))return Yr(e,{},n);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:kr(i)&&kr(o[s])?o[s]=Yr(i,o[s],(n?`${n}.`:"")+s.toString()):o[s]=i)}return o}function wg(e){return(...t)=>t.reduce((n,r)=>Yr(n,r,""),{})}const Sg=wg();function kg(e){return Object.prototype.toString.call(e)==="[object Object]"}function xg(e){return!(!kg(e)||!e.message&&!e.args||e.stack)}let xr=!1;const As=[];class le{constructor(t={}){rt(this,"options");rt(this,"_lastLog");rt(this,"_mockFn");const n=t.types||Ps;this.options=Sg({...t,defaults:{...t.defaults},level:$r(t.level,n),reporters:[...t.reporters||[]]},{types:Ps,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const r in n){const o={type:r,...this.options.defaults,...n[r]};this[r]=this._wrapLogFn(o),this[r].raw=this._wrapLogFn(o,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=$r(t,this.options.types,this.options.level)}prompt(t,n){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,n)}create(t){const n=new le({...this.options,...t});return this._mockFn&&n.mockTypes(this._mockFn),n}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const n=this.options.reporters.indexOf(t);if(n!==-1)return this.options.reporters.splice(n,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,n){t&&(t.__write||(t.__write=t.write),t.write=r=>{this[n].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){xr=!0}resumeLogs(){xr=!1;const t=As.splice(0);for(const n of t)n[0]._logFn(n[1],n[2])}mockTypes(t){const n=t||this.options.mockFn;if(this._mockFn=n,typeof n=="function")for(const r in this.options.types)this[r]=n(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(t,n){return(...r)=>{if(xr){As.push([this,t,r,n]);return}return this._logFn(t,r,n)}}_logFn(t,n,r){if((t.level||0)>this.level)return!1;const o={date:new Date,args:[],...t,level:$r(t.level,this.options.types)};!r&&n.length===1&&xg(n[0])?Object.assign(o,n[0]):o.args=[...n],o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split(`
171
- `)),o.args.push(`
172
- `+o.additional.join(`
173
- `)),delete o.additional),o.type=typeof o.type=="string"?o.type.toLowerCase():"log",o.tag=typeof o.tag=="string"?o.tag:"";const s=(a=!1)=>{const l=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&l>0){const c=[...this._lastLog.object.args];l>1&&c.push(`(repeated ${l} times)`),this._log({...this._lastLog.object,args:c}),this._lastLog.count=1}a&&(this._lastLog.object=o,this._log(o))};clearTimeout(this._lastLog.timeout);const i=this._lastLog.time&&o.date?o.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=o.date,i<this.options.throttle)try{const a=JSON.stringify([o.type,o.tag,o.args]),l=this._lastLog.serialized===a;if(this._lastLog.serialized=a,l&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(s,this.options.throttle);return}}catch{}s(!0)}_log(t){for(const n of this.options.reporters)n.log(t,{options:this.options})}}function $r(e,t={},n=3){return e===void 0?n:typeof e=="number"?e:t[e]&&t[e].level!==void 0?t[e].level:n}le.prototype.add=le.prototype.addReporter;le.prototype.remove=le.prototype.removeReporter;le.prototype.clear=le.prototype.removeReporter;le.prototype.withScope=le.prototype.withTag;le.prototype.mock=le.prototype.mockTypes;le.prototype.pause=le.prototype.pauseLogs;le.prototype.resume=le.prototype.resumeLogs;function $g(e={}){return new le(e)}class Tg{constructor(t){rt(this,"options");rt(this,"defaultColor");rt(this,"levelColorMap");rt(this,"typeColorMap");this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const n=this._getLogFn(t.level),r=t.type==="log"?"":t.type,o=t.tag||"",i=`
174
- background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};
175
- border-radius: 0.5em;
176
- color: white;
177
- font-weight: bold;
178
- padding: 2px 0.5em;
179
- `,a=`%c${[o,r].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?n(`${a}%c ${t.args[0]}`,i,"",...t.args.slice(1)):n(a,i,...t.args)}}function Pg(e={}){return $g({reporters:e.reporters||[new Tg({})],prompt(n,r={}){return r.type==="confirm"?Promise.resolve(confirm(n)):Promise.resolve(prompt(n))},...e})}Pg();const Ag=["top","right","bottom","left"],Cs=["start","end"],Os=Ag.reduce((e,t)=>e.concat(t,t+"-"+Cs[0],t+"-"+Cs[1]),[]),sn=Math.min,St=Math.max,Cg={left:"right",right:"left",bottom:"top",top:"bottom"},Og={start:"end",end:"start"};function Wr(e,t,n){return St(e,sn(t,n))}function Ot(e,t){return typeof e=="function"?e(t):e}function We(e){return e.split("-")[0]}function Ee(e){return e.split("-")[1]}function Ba(e){return e==="x"?"y":"x"}function zo(e){return e==="y"?"height":"width"}function Tt(e){return["top","bottom"].includes(We(e))?"y":"x"}function jo(e){return Ba(Tt(e))}function Fa(e,t,n){n===void 0&&(n=!1);const r=Ee(e),o=jo(e),s=zo(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Wn(i)),[i,Wn(i)]}function Lg(e){const t=Wn(e);return[Yn(e),t,Yn(t)]}function Yn(e){return e.replace(/start|end/g,t=>Og[t])}function Rg(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function Mg(e,t,n,r){const o=Ee(e);let s=Rg(We(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Yn)))),s}function Wn(e){return e.replace(/left|right|bottom|top/g,t=>Cg[t])}function Eg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Va(e){return typeof e!="number"?Eg(e):{top:e,right:e,bottom:e,left:e}}function Qt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ls(e,t,n){let{reference:r,floating:o}=e;const s=Tt(t),i=jo(t),a=zo(i),l=We(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Ee(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}const Ng=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Ls(c,r,l),d=r,p={},h=0;for(let m=0;m<a.length;m++){const{name:g,fn:y}=a[m],{x:v,y:b,data:x,reset:P}=await y({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=v??u,f=b??f,p={...p,[g]:{...p[g],...x}},P&&h<=50&&(h++,typeof P=="object"&&(P.placement&&(d=P.placement),P.rects&&(c=P.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:u,y:f}=Ls(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function lr(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Ot(t,e),h=Va(p),g=a[d?f==="floating"?"reference":"floating":f],y=Qt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},P=Qt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(y.top-P.top+h.top)/x.y,bottom:(P.bottom-y.bottom+h.bottom)/x.y,left:(y.left-P.left+h.left)/x.x,right:(P.right-y.right+h.right)/x.x}}const Dg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Ot(e,t)||{};if(c==null)return{};const f=Va(u),d={x:n,y:r},p=jo(o),h=zo(p),m=await i.getDimensions(c),g=p==="y",y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-d[p]-s.floating[h],P=d[p]-s.reference[p],L=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let S=L?L[b]:0;(!S||!await(i.isElement==null?void 0:i.isElement(L)))&&(S=a.floating[b]||s.floating[h]);const D=x/2-P/2,I=S/2-m[h]/2-1,k=sn(f[y],I),R=sn(f[v],I),z=k,B=S-m[h]-R,V=S/2-m[h]/2+D,J=Wr(z,V,B),te=!l.arrow&&Ee(o)!=null&&V!==J&&s.reference[h]/2-(V<z?k:R)-m[h]/2<0,G=te?V<z?V-z:V-B:0;return{[p]:d[p]+G,data:{[p]:J,centerOffset:V-J-G,...te&&{alignmentOffset:G}},reset:te}}});function Hg(e,t,n){return(e?[...n.filter(o=>Ee(o)===e),...n.filter(o=>Ee(o)!==e)]:n.filter(o=>We(o)===o)).filter(o=>e?Ee(o)===e||(t?Yn(o)!==o:!1):!0)}const Ig=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:s,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Os,autoAlignment:p=!0,...h}=Ot(e,t),m=f!==void 0||d===Os?Hg(f||null,p,d):d,g=await lr(t,h),y=((n=i.autoPlacement)==null?void 0:n.index)||0,v=m[y];if(v==null)return{};const b=Fa(v,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const x=[g[We(v)],g[b[0]],g[b[1]]],P=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:x}],L=m[y+1];if(L)return{data:{index:y+1,overflows:P},reset:{placement:L}};const S=P.map(k=>{const R=Ee(k.placement);return[k.placement,R&&u?k.overflows.slice(0,2).reduce((z,B)=>z+B,0):k.overflows[0],k.overflows]}).sort((k,R)=>k[1]-R[1]),I=((o=S.filter(k=>k[2].slice(0,Ee(k[0])?2:3).every(R=>R<=0))[0])==null?void 0:o[0])||S[0][0];return I!==a?{data:{index:y+1,overflows:P},reset:{placement:I}}:{}}}},zg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=Ot(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=We(o),v=Tt(a),b=We(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),P=d||(b||!m?[Wn(a)]:Lg(a)),L=h!=="none";!d&&L&&P.push(...Mg(a,m,h,x));const S=[a,...P],D=await lr(t,g),I=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&I.push(D[y]),f){const V=Fa(o,i,x);I.push(D[V[0]],D[V[1]])}if(k=[...k,{placement:o,overflows:I}],!I.every(V=>V<=0)){var R,z;const V=(((R=s.flip)==null?void 0:R.index)||0)+1,J=S[V];if(J)return{data:{index:V,overflows:k},reset:{placement:J}};let te=(z=k.filter(G=>G.overflows[0]<=0).sort((G,ne)=>G.overflows[1]-ne.overflows[1])[0])==null?void 0:z.placement;if(!te)switch(p){case"bestFit":{var B;const G=(B=k.filter(ne=>{if(L){const re=Tt(ne.placement);return re===v||re==="y"}return!0}).map(ne=>[ne.placement,ne.overflows.filter(re=>re>0).reduce((re,me)=>re+me,0)]).sort((ne,re)=>ne[1]-re[1])[0])==null?void 0:B[0];G&&(te=G);break}case"initialPlacement":te=a;break}if(o!==te)return{reset:{placement:te}}}return{}}}};async function jg(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=We(n),a=Ee(n),l=Tt(n)==="y",c=["left","top"].includes(i)?-1:1,u=s&&l?-1:1,f=Ot(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const Bg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await jg(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Fg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:g=>{let{x:y,y:v}=g;return{x:y,y:v}}},...l}=Ot(e,t),c={x:n,y:r},u=await lr(t,l),f=Tt(We(o)),d=Ba(f);let p=c[d],h=c[f];if(s){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",v=p+u[g],b=p-u[y];p=Wr(v,p,b)}if(i){const g=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=h+u[g],b=h-u[y];h=Wr(v,h,b)}const m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:s,[f]:i}}}}}},Vg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Ot(e,t),u=await lr(t,c),f=We(o),d=Ee(o),p=Tt(o)==="y",{width:h,height:m}=s.floating;let g,y;f==="top"||f==="bottom"?(g=f,y=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,g=d==="end"?"top":"bottom");const v=m-u.top-u.bottom,b=h-u.left-u.right,x=sn(m-u[g],v),P=sn(h-u[y],b),L=!t.middlewareData.shift;let S=x,D=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=v),L&&!d){const k=St(u.left,0),R=St(u.right,0),z=St(u.top,0),B=St(u.bottom,0);p?D=h-2*(k!==0||R!==0?k+R:St(u.left,u.right)):S=m-2*(z!==0||B!==0?z+B:St(u.top,u.bottom))}await l({...t,availableWidth:D,availableHeight:S});const I=await i.getDimensions(a.floating);return h!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $e(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ve(e){return $e(e).getComputedStyle(e)}const Rs=Math.min,Zt=Math.max,Un=Math.round;function Ya(e){const t=Ve(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,i=Un(n)!==o||Un(r)!==s;return i&&(n=o,r=s),{width:n,height:r,fallback:i}}function gt(e){return Ua(e)?(e.nodeName||"").toLowerCase():""}let Ln;function Wa(){if(Ln)return Ln;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ln=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ln):navigator.userAgent}function Ye(e){return e instanceof $e(e).HTMLElement}function dt(e){return e instanceof $e(e).Element}function Ua(e){return e instanceof $e(e).Node}function Ms(e){return typeof ShadowRoot>"u"?!1:e instanceof $e(e).ShadowRoot||e instanceof ShadowRoot}function cr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Yg(e){return["table","td","th"].includes(gt(e))}function Ur(e){const t=/firefox/i.test(Wa()),n=Ve(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const s=n.contain;return s!=null&&s.includes(o)})}function qa(){return!/^((?!chrome|android).)*safari/i.test(Wa())}function Bo(e){return["html","body","#document"].includes(gt(e))}function Ga(e){return dt(e)?e:e.contextElement}const Ka={x:1,y:1};function Dt(e){const t=Ga(e);if(!Ye(t))return Ka;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=Ya(t);let i=(s?Un(n.width):n.width)/r,a=(s?Un(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function an(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Ga(e);let l=Ka;t&&(r?dt(r)&&(l=Dt(r)):l=Dt(e));const c=a?$e(a):window,u=!qa()&&n;let f=(i.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(i.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=i.width/l.x,h=i.height/l.y;if(a){const m=$e(a),g=r&&dt(r)?$e(r):r;let y=m.frameElement;for(;y&&r&&g!==m;){const v=Dt(y),b=y.getBoundingClientRect(),x=getComputedStyle(y);b.x+=(y.clientLeft+parseFloat(x.paddingLeft))*v.x,b.y+=(y.clientTop+parseFloat(x.paddingTop))*v.y,f*=v.x,d*=v.y,p*=v.x,h*=v.y,f+=b.x,d+=b.y,y=$e(y).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function ft(e){return((Ua(e)?e.ownerDocument:e.document)||window.document).documentElement}function ur(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ja(e){return an(ft(e)).left+ur(e).scrollLeft}function ln(e){if(gt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ms(e)&&e.host||ft(e);return Ms(t)?t.host:t}function Qa(e){const t=ln(e);return Bo(t)?t.ownerDocument.body:Ye(t)&&cr(t)?t:Qa(t)}function qn(e,t){var n;t===void 0&&(t=[]);const r=Qa(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=$e(r);return o?t.concat(s,s.visualViewport||[],cr(r)?r:[]):t.concat(r,qn(r))}function Es(e,t,n){return t==="viewport"?Qt(function(r,o){const s=$e(r),i=ft(r),a=s.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=qa();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):dt(t)?Qt(function(r,o){const s=an(r,!0,o==="fixed"),i=s.top+r.clientTop,a=s.left+r.clientLeft,l=Ye(r)?Dt(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Qt(function(r){const o=ft(r),s=ur(r),i=r.ownerDocument.body,a=Zt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Zt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let c=-s.scrollLeft+Ja(r);const u=-s.scrollTop;return Ve(i).direction==="rtl"&&(c+=Zt(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(ft(e)))}function Ns(e){return Ye(e)&&Ve(e).position!=="fixed"?e.offsetParent:null}function Ds(e){const t=$e(e);let n=Ns(e);for(;n&&Yg(n)&&Ve(n).position==="static";)n=Ns(n);return n&&(gt(n)==="html"||gt(n)==="body"&&Ve(n).position==="static"&&!Ur(n))?t:n||function(r){let o=ln(r);for(;Ye(o)&&!Bo(o);){if(Ur(o))return o;o=ln(o)}return null}(e)||t}function Wg(e,t,n){const r=Ye(t),o=ft(t),s=an(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((gt(t)!=="body"||cr(o))&&(i=ur(t)),Ye(t)){const l=an(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=Ja(o));return{x:s.left+i.scrollLeft-a.x,y:s.top+i.scrollTop-a.y,width:s.width,height:s.height}}const Ug={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=qn(c).filter(g=>dt(g)&&gt(g)!=="body"),p=null;const h=Ve(c).position==="fixed";let m=h?ln(c):c;for(;dt(m)&&!Bo(m);){const g=Ve(m),y=Ur(m);(h?y||p:y||g.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=g:d=d.filter(v=>v!==m),m=ln(m)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...s,r],a=i[0],l=i.reduce((c,u)=>{const f=Es(t,u,o);return c.top=Zt(f.top,c.top),c.right=Rs(f.right,c.right),c.bottom=Rs(f.bottom,c.bottom),c.left=Zt(f.left,c.left),c},Es(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ye(n),s=ft(n);if(n===s)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((gt(n)!=="body"||cr(s))&&(i=ur(n)),Ye(n))){const c=an(n);a=Dt(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:dt,getDimensions:function(e){return Ye(e)?Ya(e):e.getBoundingClientRect()},getOffsetParent:Ds,getDocumentElement:ft,getScale:Dt,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Ds,s=this.getDimensions;return{reference:Wg(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ve(e).direction==="rtl"},qg=(e,t,n)=>{const r=new Map,o={platform:Ug,...n},s={...o.platform,_c:r};return Ng(e,t,{...o,platform:s})};function Za(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Za(e[n],t[n]):e[n]=t[n])}const Ne={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function cn(e,t){let n=Ne.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Ne.themes[n.$extend]||{}:(n=null,r=Ne[t]):n=null;while(n);return r}function Gg(e){const t=[e];let n=Ne.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Ne.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Hs(e){const t=[e];let n=Ne.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Ne.themes[n.$extend]||{}):n=null;while(n);return t}let zt=!1;if(typeof window<"u"){zt=!1;try{const e=Object.defineProperty({},"passive",{get(){zt=!0}});window.addEventListener("test",null,e)}catch{}}let Xa=!1;typeof window<"u"&&typeof navigator<"u"&&(Xa=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const el=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Is={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},zs={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function js(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Tr(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Re=[];let wt=null;const Bs={};function Fs(e){let t=Bs[e];return t||(t=Bs[e]=[]),t}let qr=function(){};typeof window<"u"&&(qr=window.Element);function Y(e){return function(t){return cn(t.theme,e)}}const Pr="__floating-vue__popper",tl=()=>H({name:"VPopper",provide(){return{[Pr]:{parentPopper:this}}},inject:{[Pr]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Y("disabled")},positioningDisabled:{type:Boolean,default:Y("positioningDisabled")},placement:{type:String,default:Y("placement"),validator:e=>el.includes(e)},delay:{type:[String,Number,Object],default:Y("delay")},distance:{type:[Number,String],default:Y("distance")},skidding:{type:[Number,String],default:Y("skidding")},triggers:{type:Array,default:Y("triggers")},showTriggers:{type:[Array,Function],default:Y("showTriggers")},hideTriggers:{type:[Array,Function],default:Y("hideTriggers")},popperTriggers:{type:Array,default:Y("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Y("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Y("popperHideTriggers")},container:{type:[String,Object,qr,Boolean],default:Y("container")},boundary:{type:[String,qr],default:Y("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Y("strategy")},autoHide:{type:[Boolean,Function],default:Y("autoHide")},handleResize:{type:Boolean,default:Y("handleResize")},instantMove:{type:Boolean,default:Y("instantMove")},eagerMount:{type:Boolean,default:Y("eagerMount")},popperClass:{type:[String,Array,Object],default:Y("popperClass")},computeTransformOrigin:{type:Boolean,default:Y("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Y("autoMinSize")},autoSize:{type:[Boolean,String],default:Y("autoSize")},autoMaxSize:{type:Boolean,default:Y("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Y("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Y("preventOverflow")},overflowPadding:{type:[Number,String],default:Y("overflowPadding")},arrowPadding:{type:[Number,String],default:Y("arrowPadding")},arrowOverflow:{type:Boolean,default:Y("arrowOverflow")},flip:{type:Boolean,default:Y("flip")},shift:{type:Boolean,default:Y("shift")},shiftCrossAxis:{type:Boolean,default:Y("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Y("noAutoFocus")},disposeTimeout:{type:Number,default:Y("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Pr])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Bg({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ig({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Fg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(zg({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Dg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:s})=>{let i;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>o.reference.width/2:i=Math.abs(a)>o.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Vg({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await qg(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wt&&this.instantMove&&wt.instantMove&&wt!==this.parentPopper){wt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(wt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Tr(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...qn(this.$_referenceNode),...qn(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),s=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Re.length;n++)t=Re[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Re.push(this),document.body.classList.add("v-popper--some-open");for(const t of Hs(this.theme))Fs(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Tr(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,js(Re,this),Re.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Hs(this.theme)){const r=Fs(n);js(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}wt===this&&(wt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Tr(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Is,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Is,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,zs,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],zs,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,zt?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:s}=n;!e||e===o?r.forEach(i=>i.removeEventListener(o,s)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Xt>=e.left&&Xt<=e.right&&en>=e.top&&en<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Xt-ot,r=en-st,o=t.left+t.width/2-ot+(t.top+t.height/2)-st+t.width+t.height,s=ot+n*o,i=st+r*o;return Rn(ot,st,s,i,t.left,t.top,t.left,t.bottom)||Rn(ot,st,s,i,t.left,t.top,t.right,t.top)||Rn(ot,st,s,i,t.right,t.top,t.right,t.bottom)||Rn(ot,st,s,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Xa){const e=zt?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Vs(t,!0),e),document.addEventListener("touchend",t=>Ys(t,!0),e)}else window.addEventListener("mousedown",e=>Vs(e,!1),!0),window.addEventListener("click",e=>Ys(e,!1),!0);window.addEventListener("resize",Jg)}function Vs(e,t){if(Ne.autoHideOnMousedown)nl(e,t);else for(let n=0;n<Re.length;n++){const r=Re[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Ys(e,t){Ne.autoHideOnMousedown||nl(e,t)}function nl(e,t){const n={};for(let r=Re.length-1;r>=0;r--){const o=Re[r];try{const s=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&Ws(o,s,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=o.parentPopper;for(;i&&Ws(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Ws(e,t,n){return n.closeAllPopover||n.closePopover&&t||Kg(e,n)&&!t}function Kg(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Jg(){for(let e=0;e<Re.length;e++)Re[e].$_computePosition()}let ot=0,st=0,Xt=0,en=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ot=Xt,st=en,Xt=e.clientX,en=e.clientY},zt?{passive:!0}:void 0);function Rn(e,t,n,r,o,s,i,a){const l=((i-o)*(t-s)-(a-s)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t)),c=((n-e)*(t-s)-(r-t)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const Qg={extends:tl()},dr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function Zg(e,t,n,r,o,s){return _(),T("div",{ref:"reference",class:K(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[ge(e.$slots,"default",Zl(Xl(e.slotData)))],2)}const Xg=dr(Qg,[["render",Zg]]);function ev(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Dn;function Gr(){Gr.init||(Gr.init=!0,Dn=ev()!==-1)}var fr={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Gr(),dn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Dn&&this.$el.appendChild(e),e.data="about:blank",Dn||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Dn&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const tv=Jl();Gl("data-v-b329ee4c");const nv={class:"resize-observer",tabindex:"-1"};Kl();const rv=tv((e,t,n,r,o,s)=>(_(),F("div",nv)));fr.render=rv;fr.__scopeId="data-v-b329ee4c";fr.__file="src/components/ResizeObserver.vue";const rl=(e="theme")=>({computed:{themeClass(){return Gg(this[e])}}}),ov=H({name:"VPopperContent",components:{ResizeObserver:fr},mixins:[rl()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),sv=["id","aria-hidden","tabindex","data-popper-placement"],iv={ref:"inner",class:"v-popper__inner"},av=$("div",{class:"v-popper__arrow-outer"},null,-1),lv=$("div",{class:"v-popper__arrow-inner"},null,-1),cv=[av,lv];function uv(e,t,n,r,o,s){const i=pe("ResizeObserver");return _(),T("div",{id:e.popperId,ref:"popover",class:K(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:ct(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Ql(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[$("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),$("div",{class:"v-popper__wrapper",style:ct(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[$("div",iv,[e.mounted?(_(),T(se,{key:0},[$("div",null,[ge(e.$slots,"default")]),e.handleResize?(_(),F(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):M("",!0)],64)):M("",!0)],512),$("div",{ref:"arrow",class:"v-popper__arrow-container",style:ct(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},cv,4)],4)],46,sv)}const ol=dr(ov,[["render",uv]]),sl={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Kr=function(){};typeof window<"u"&&(Kr=window.Element);const dv=H({name:"VPopperWrapper",components:{Popper:Xg,PopperContent:ol},mixins:[sl,rl("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Kr,Boolean],default:void 0},boundary:{type:[String,Kr],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function fv(e,t,n,r,o,s){const i=pe("PopperContent"),a=pe("Popper");return _(),F(a,tn({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Z(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:g,classes:y,result:v})=>[ge(e.$slots,"default",{shown:c,show:p,hide:h}),C(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:y,result:v,onHide:h,onResize:g},{default:Z(()=>[ge(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Fo=dr(dv,[["render",fv]]),pv={...Fo,name:"VDropdown",vPopperTheme:"dropdown"},hv={...Fo,name:"VMenu",vPopperTheme:"menu"},mv={...Fo,name:"VTooltip",vPopperTheme:"tooltip"},gv=H({name:"VTooltipDirective",components:{Popper:tl(),PopperContent:ol},mixins:[sl],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>cn(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>cn(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vv=["innerHTML"],yv=["textContent"];function bv(e,t,n,r,o,s){const i=pe("PopperContent"),a=pe("Popper");return _(),F(a,tn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Z(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:g,result:y})=>[C(i,{ref:"popperContent",class:K({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:g,result:y,onHide:p,onResize:m},{default:Z(()=>[e.html?(_(),T("div",{key:0,innerHTML:e.finalContent},null,8,vv)):(_(),T("div",{key:1,textContent:U(e.finalContent)},null,8,yv))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const _v=dr(gv,[["render",bv]]),il="v-popper--has-tooltip";function wv(e,t){let n=e.placement;if(!n&&t)for(const r of el)t[r]&&(n=r);return n||(n=cn(e.theme||"tooltip","placement")),n}function al(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=wv(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Ar,un,Sv=0;function kv(){if(Ar)return;un=E([]),Ar=ei({name:"VTooltipDirectiveApp",setup(){return{directives:un}},render(){return this.directives.map(t=>ec(_v,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ar.mount(e)}function xv(e,t,n){kv();const r=E(al(e,t,n)),o=E(!1),s={id:Sv++,options:r,shown:o};return un.value.push(s),e.classList&&e.classList.add(il),e.$_popper={options:r,item:s,show(){o.value=!0},hide(){o.value=!1}}}function ll(e){if(e.$_popper){const t=un.value.indexOf(e.$_popper.item);t!==-1&&un.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(il)}function Us(e,{value:t,modifiers:n}){const r=al(e,t,n);if(!r.content||cn(r.theme||"tooltip","disabled"))ll(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=xv(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const $v={beforeMount:Us,updated:Us,beforeUnmount(e){ll(e)}};function qs(e){e.addEventListener("mousedown",Gn),e.addEventListener("click",Gn),e.addEventListener("touchstart",cl,zt?{passive:!0}:!1)}function Gs(e){e.removeEventListener("mousedown",Gn),e.removeEventListener("click",Gn),e.removeEventListener("touchstart",cl),e.removeEventListener("touchend",ul),e.removeEventListener("touchcancel",dl)}function Gn(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function cl(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",ul),t.addEventListener("touchcancel",dl)}}function ul(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function dl(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Tv={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&qs(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?qs(e):Gs(e))},beforeUnmount(e){Gs(e)}};function Pv(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Za(Ne,t),e.directive("tooltip",$v),e.directive("close-popper",Tv),e.component("VTooltip",mv),e.component("VDropdown",pv),e.component("VMenu",hv))}const Av={version:"5.2.2",install:Pv,options:Ne};async function Cv({app:e},t){const n={};e.use(Av,Object.assign(n,t.value.siteConfig.floatingVue||{}))}const Ov=async({head:e,isClient:t,router:n})=>{if(t)return;const r=ea(),{SchemaOrgUnheadPlugin:o}=await ie(async()=>{const{SchemaOrgUnheadPlugin:s}=await Promise.resolve().then(()=>Ju);return{SchemaOrgUnheadPlugin:s}},void 0);e==null||e.use(o({host:r.value.siteConfig.url||"https://valaxy.site",inLanguage:r.value.siteConfig.lang||"en"},()=>({path:n.currentRoute.value.path,...n.currentRoute.value.meta})))},Lv={intro:{desc:{t:0,b:{t:2,i:[{t:3}],s:"Valaxy Template"}},hi:{t:0,b:{t:2,i:[{t:3}],s:"Hello, Valaxy!"}}}},Rv={intro:{desc:{t:0,b:{t:2,i:[{t:3}],s:"Valaxy 模版"}},hi:{t:0,b:{t:2,i:[{t:3}],s:"你好,Valaxy"}}}},Mv={valaxy_theme_yun:{t:0,b:{t:2,i:[{t:3}],s:"Valaxy Theme Yun"}}},Ev={valaxy_theme_yun:{t:0,b:{t:2,i:[{t:3}],s:"Valaxy 主题 云"}}},Nv={button:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},go:{t:0,b:{t:2,i:[{t:3}],s:"GO"}},home:{t:0,b:{t:2,i:[{t:3}],s:"Home"}},toggle_light:{t:0,b:{t:2,i:[{t:3}],s:"Switch to light mode"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"Switch to dark mode"}},toggle_langs:{t:0,b:{t:2,i:[{t:3}],s:"Change languages"}},appearance:{t:0,b:{t:2,i:[{t:3}],s:"Appearance"}}},intro:{desc:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Theme Yun"},{t:2,i:[{t:3}],s:"Valaxy"}]}},hi:{t:0,b:{t:2,i:[{t:3,v:"Hi, "},{t:4,k:"name"},{t:3,v:"!"}]}}},"not-found":{t:0,b:{t:2,i:[{t:3}],s:"Oops! Space collapsed!"}},title:{archive:{t:0,b:{t:2,i:[{t:3}],s:"Archive"}},category:{t:0,b:{t:2,i:[{t:3}],s:"Category"}},tag:{t:0,b:{t:2,i:[{t:3}],s:"Tag"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},gallery:{t:0,b:{t:2,i:[{t:3}],s:"Gallery"}}},menu:{title:{t:0,b:{t:2,i:[{t:3}],s:"Menu"}},home:{t:0,b:{t:2,i:[{t:3}],s:"Home"}},archives:{t:0,b:{t:2,i:[{t:3}],s:"Archives"}},categories:{t:0,b:{t:2,i:[{t:3}],s:"Categories"}},tags:{t:0,b:{t:2,i:[{t:3}],s:"Tags"}},about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}}},sidebar:{overview:{t:0,b:{t:2,i:[{t:3}],s:"Overview"}},toc:{t:0,b:{t:2,i:[{t:3}],s:"Table of Contents"}},return_top:{t:0,b:{t:2,i:[{t:3}],s:"Return to top"}}},post:{decrypt:{t:0,b:{t:2,i:[{t:3}],s:"DECRYPT"}},posted:{t:0,b:{t:2,i:[{t:3}],s:"Posted on "}},edited:{t:0,b:{t:2,i:[{t:3}],s:"Edited on "}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created"}},modified:{t:0,b:{t:2,i:[{t:3}],s:"Modified"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit this post"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},untitled:{t:0,b:{t:2,i:[{t:3}],s:"Untitled"}},toc_empty:{t:0,b:{t:2,i:[{t:3}],s:"This post does not have a Table of Contents"}},pageview_count:{t:0,b:{t:2,i:[{t:3}],s:"Views"}},comment_count:{t:0,b:{t:2,i:[{t:3}],s:"Comments"}},related_posts:{t:0,b:{t:2,i:[{t:3}],s:"Related posts"}},view_link:{t:0,b:{t:2,i:[{t:3}],s:"View link"}},read_more:{t:0,b:{t:2,i:[{t:3}],s:"READ MORE"}},cover:{t:0,b:{t:2,i:[{t:3}],s:"Cover"}},time_warning:{t:0,b:{t:2,i:[{t:3,v:"This article was last updated "},{t:4,k:"ago"},{t:3,v:". The information described in this article may have changed."}]}},copyright:{author:{t:0,b:{t:2,i:[{t:3}],s:"Post author"}},link:{t:0,b:{t:2,i:[{t:3}],s:"Post link"}},license_title:{t:0,b:{t:2,i:[{t:3}],s:"Copyright Notice"}},license_content:{t:0,b:{t:2,i:[{t:3,v:"All articles in this blog are licensed under "},{t:5,i:0},{t:3,v:" unless otherwise stated."}]}}}},footer:{powered:{t:0,b:{t:2,i:[{t:3,v:"Powered by "},{t:5,i:0}]}},theme:{t:0,b:{t:2,i:[{t:3}],s:"Theme"}},total_views:{t:0,b:{t:2,i:[{t:3}],s:"Total Views"}},total_visitors:{t:0,b:{t:2,i:[{t:3}],s:"Total Visitors"}}},counter:{archives:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"No posts"},{t:2,i:[{t:3}],s:"1 post"},{t:2,i:[{t:4,k:"count"},{t:3,v:" posts"}]}]}},categories:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"No categories"},{t:2,i:[{t:3}],s:"1 category"},{t:2,i:[{t:4,k:"count"},{t:3,v:" categories"}]}]}},tags:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"No tags"},{t:2,i:[{t:3}],s:"1 tag"},{t:2,i:[{t:4,k:"count"},{t:3,v:" tags"}]}]}},albums:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"No album"},{t:2,i:[{t:3}],s:"1 album"},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},photos:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"No photo"},{t:2,i:[{t:3}],s:"1 photo"},{t:2,i:[{t:4,k:"count"},{t:3,v:" photos"}]}]}}},category:{uncategorized:{t:0,b:{t:2,i:[{t:3}],s:"Uncategorized"}}},search:{placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Searching..."}},empty:{t:0,b:{t:2,i:[{t:3,v:"We could not find any results for the search: "},{t:4,k:"query"},{t:3,v:"."}]}},hits_time:{t:0,b:{t:2,i:[{t:4,k:"hits"},{t:3,v:" results found in "},{t:4,k:"time"},{t:3,v:" ms"}]}},hits:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" results found"}]}}},symbol:{comma:{t:0,b:{t:2,i:[{t:3}],s:", "}},period:{t:0,b:{t:2,i:[{t:3}],s:". "}},colon:{t:0,b:{t:2,i:[{t:3}],s:": "}}},reward:{donate:{t:0,b:{t:2,i:[{t:3}],s:"Donate"}}},accessibility:{back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}}},statistics:{word:{t:0,b:{t:2,i:[{t:3}],s:"Word count in article"}},word_total:{t:0,b:{t:2,i:[{t:3}],s:"Total words"}},time:{t:0,b:{t:2,i:[{t:3}],s:"Reading time"}},time_total:{t:0,b:{t:2,i:[{t:3}],s:"Total reading time"}}},time:{day:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 Day"},{t:2,i:[{t:4,k:"count"},{t:3,v:" Days"}]}]}},hour:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 Hour"},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hours"}]}]}},minute:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 Minute"},{t:2,i:[{t:4,k:"count"},{t:3,v:" Minutes"}]}]}},second:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 Second"},{t:2,i:[{t:4,k:"count"},{t:3,v:" Seconds"}]}]}}},tooltip:{last_updated:{t:0,b:{t:2,i:[{t:3}],s:"Last updated"}}}},Dv={button:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},go:{t:0,b:{t:2,i:[{t:3}],s:"确定"}},home:{t:0,b:{t:2,i:[{t:3}],s:"首页"}},toggle_light:{t:0,b:{t:2,i:[{t:3}],s:"切换亮色模式"}},toggle_dark:{t:0,b:{t:2,i:[{t:3}],s:"切换深色模式"}},toggle_langs:{t:0,b:{t:2,i:[{t:3}],s:"切换语言"}},appearance:{t:0,b:{t:2,i:[{t:3}],s:"外观"}}},intro:{desc:{t:0,b:{t:2,i:[{t:3}],s:"主题 Yun"}},hi:{t:0,b:{t:2,i:[{t:3,v:"你好,"},{t:4,k:"name"}]}}},"not-found":{t:0,b:{t:2,i:[{t:3}],s:"未找到页面"}},title:{archive:{t:0,b:{t:2,i:[{t:3}],s:"归档"}},category:{t:0,b:{t:2,i:[{t:3}],s:"分类"}},tag:{t:0,b:{t:2,i:[{t:3}],s:"标签"}},album:{t:0,b:{t:2,i:[{t:3}],s:"相册"}},gallery:{t:0,b:{t:2,i:[{t:3}],s:"图片库"}}},menu:{title:{t:0,b:{t:2,i:[{t:3}],s:"菜单"}},home:{t:0,b:{t:2,i:[{t:3}],s:"首页"}},archives:{t:0,b:{t:2,i:[{t:3}],s:"归档"}},categories:{t:0,b:{t:2,i:[{t:3}],s:"分类"}},tags:{t:0,b:{t:2,i:[{t:3}],s:"标签"}},about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}}},sidebar:{overview:{t:0,b:{t:2,i:[{t:3}],s:"站点概览"}},toc:{t:0,b:{t:2,i:[{t:3}],s:"文章目录"}},return_top:{t:0,b:{t:2,i:[{t:3}],s:"返回顶部"}}},post:{decrypt:{t:0,b:{t:2,i:[{t:3}],s:"解密"}},posted:{t:0,b:{t:2,i:[{t:3}],s:"发表于"}},edited:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},created:{t:0,b:{t:2,i:[{t:3}],s:"创建时间"}},modified:{t:0,b:{t:2,i:[{t:3}],s:"修改时间"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},untitled:{t:0,b:{t:2,i:[{t:3}],s:"未命名"}},toc_empty:{t:0,b:{t:2,i:[{t:3}],s:"此文章未包含目录"}},pageview_count:{t:0,b:{t:2,i:[{t:3}],s:"阅读次数"}},comment_count:{t:0,b:{t:2,i:[{t:3}],s:"评论数"}},related_posts:{t:0,b:{t:2,i:[{t:3}],s:"相关文章"}},view_link:{t:0,b:{t:2,i:[{t:3}],s:"查看链接"}},read_more:{t:0,b:{t:2,i:[{t:3}],s:"阅读更多"}},cover:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},time_warning:{t:0,b:{t:2,i:[{t:3,v:"本文最后更新于 "},{t:4,k:"ago"},{t:3,v:",文中所描述的信息可能已发生改变。"}]}},copyright:{author:{t:0,b:{t:2,i:[{t:3}],s:"本文作者"}},link:{t:0,b:{t:2,i:[{t:3}],s:"本文链接"}},license_title:{t:0,b:{t:2,i:[{t:3}],s:"版权声明"}},license_content:{t:0,b:{t:2,i:[{t:3,v:"本博客所有文章除特别声明外,均默认采用 "},{t:5,i:0},{t:3,v:" 许可协议。"}]}}}},footer:{powered:{t:0,b:{t:2,i:[{t:3,v:"由 "},{t:5,i:0},{t:3,v:" 驱动"}]}},theme:{t:0,b:{t:2,i:[{t:3}],s:"主题"}},total_views:{t:0,b:{t:2,i:[{t:3}],s:"总访问量"}},total_visitors:{t:0,b:{t:2,i:[{t:3}],s:"总访客量"}}},counter:{archives:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"暂无文章"},{t:2,i:[{t:3}],s:"共计 1 篇文章"},{t:2,i:[{t:3,v:"共计 "},{t:4,k:"count"},{t:3,v:" 篇文章"}]}]}},categories:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"暂无分类"},{t:2,i:[{t:3}],s:"共计 1 个分类"},{t:2,i:[{t:3,v:"共计 "},{t:4,k:"count"},{t:3,v:" 个分类"}]}]}},tags:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"暂无标签"},{t:2,i:[{t:3}],s:"共计 1 个标签"},{t:2,i:[{t:3,v:"共计 "},{t:4,k:"count"},{t:3,v:" 个标签"}]}]}},albums:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"暂无相册"},{t:2,i:[{t:3}],s:"共计 1 个相册"},{t:2,i:[{t:3,v:"共计 "},{t:4,k:"count"},{t:3,v:" 个相册"}]}]}},photos:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"暂无照片"},{t:2,i:[{t:3}],s:"共计 1 张照片"},{t:2,i:[{t:3,v:"共计 "},{t:4,k:"count"},{t:3,v:" 张照片"}]}]}}},category:{uncategorized:{t:0,b:{t:2,i:[{t:3}],s:"未分类"}}},search:{placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索..."}},empty:{t:0,b:{t:2,i:[{t:3,v:"找不到您查询的内容: "},{t:4,k:"query"}]}},hits_time:{t:0,b:{t:2,i:[{t:3,v:"找到 "},{t:4,k:"hits"},{t:3,v:" 条结果(用时 "},{t:4,k:"time"},{t:3,v:" 毫秒)"}]}},hits:{t:0,b:{t:2,i:[{t:3,v:"找到 "},{t:4,k:"count"},{t:3,v:" 条结果"}]}}},symbol:{comma:{t:0,b:{t:2,i:[{t:3}],s:","}},period:{t:0,b:{t:2,i:[{t:3}],s:"。"}},colon:{t:0,b:{t:2,i:[{t:3}],s:":"}}},reward:{donate:{t:0,b:{t:2,i:[{t:3}],s:"打赏"}}},accessibility:{back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}}},statistics:{word:{t:0,b:{t:2,i:[{t:3}],s:"本文字数"}},word_total:{t:0,b:{t:2,i:[{t:3}],s:"站点总字数"}},time:{t:0,b:{t:2,i:[{t:3}],s:"阅读时长"}},time_total:{t:0,b:{t:2,i:[{t:3}],s:"站点总阅读时长"}}},time:{day:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 天"},{t:2,i:[{t:4,k:"count"},{t:3,v:" 天"}]}]}},hour:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 小时"},{t:2,i:[{t:4,k:"count"},{t:3,v:" 小时"}]}]}},minute:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 分"},{t:2,i:[{t:4,k:"count"},{t:3,v:" 分"}]}]}},second:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 秒"},{t:2,i:[{t:4,k:"count"},{t:3,v:" 秒"}]}]}}},tooltip:{last_updated:{t:0,b:{t:2,i:[{t:3}],s:"最后更新于"}}}},we={"zh-CN":{},en:{}};we["zh-CN"]=Bt(Dv,we["zh-CN"]);we.en=Bt(Nv,we.en);we["zh-CN"]=Bt(Ev,we["zh-CN"]);we.en=Bt(Mv,we.en);we["zh-CN"]=Bt(Rv,we["zh-CN"]);we.en=Bt(Lv,we.en);const Ks=mc({legacy:!1,locale:"",messages:we});async function Hv({app:e,router:t},n){const r=_o("valaxy-locale",(n==null?void 0:n.value.siteConfig.lang)||"en");Ks.global.locale.value=r.value,e.use(Ks),t.isReady().then(()=>{})}function Iv(e,t){const n=e;Hv(e,t),Ov(e),gc(e),hc(e),Cv(e,t),_g(n)}const Jr=ea();function zv(e){e.app.component("AppLink",_n)}const{redirectRoutes:jv,useVueRouter:Bv}=Jr.value.runtimeConfig.redirects;Bv&&Xr.push(...jv);Xr.forEach(e=>{var t;(t=e==null?void 0:e.children)==null||t.forEach(n=>{n.path=encodeURI(n.path)})});function fl(e){return e.filter(t=>{var n,r;return t.children&&(t.children=fl(t.children)),!((r=(n=t.meta)==null?void 0:n.frontmatter)!=null&&r.draft)})}const Fv=Lp(fl(Xr));Np(Sm,{routes:Fv,base:"/",scrollBehavior(e,t){if(e.path!==t.path)return{top:0}}},e=>{const{app:t,router:n}=e;t.use(oc,{router:n}),t.provide(Zi,Jr),zv(e),Iv(e,Jr)});export{ey as A,ty as B,Qv as C,Xo as D,cy as E,et as F,to as G,ny as H,Vd as I,sy as J,Zf as K,Te as L,oe as T,_n as _,ly as a,Ki as b,Cp as c,qi as d,Ef as e,Mf as f,rr as g,Kf as h,Xv as i,na as j,rp as k,fe as l,Zv as m,ry as n,bt as o,ke as p,kp as q,bp as r,ay as s,yp as t,Ct as u,ko as v,iy as w,oy as x,Ku as y,aa as z};