diff --git a/200.html b/200.html index ffaec26..f8ba140 100644 --- a/200.html +++ b/200.html @@ -6,17 +6,17 @@ - - - - - - - - - -
- + \ No newline at end of file diff --git a/404.html b/404.html index ffaec26..f8ba140 100644 --- a/404.html +++ b/404.html @@ -6,17 +6,17 @@ - - - - - - - - - -
- + \ No newline at end of file diff --git a/__studio.json b/__studio.json index 801e057..5bbde01 100644 --- a/__studio.json +++ b/__studio.json @@ -1 +1 @@ -{"version":"0.14.1","tokens":"bddc15a1c8d838b07c883b0689f3efa259942a58383fafa76b3a43602465e28c","appConfigSchema":{"properties":{"id":"#appConfig","properties":{"nuxtIcon":{"title":"Nuxt Icon","description":"Configure the defaults of Nuxt Icon","id":"#appConfig/nuxtIcon","properties":{"size":{"title":"Icon Size","description":"Set the default icon size. Set to false to disable the sizing of icon in style.","tags":["@studioIcon material-symbols:format-size-rounded"],"tsType":"string | false","id":"#appConfig/nuxtIcon/size","default":"1em","type":"string"},"class":{"title":"CSS Class","description":"Set the default CSS class","tags":["@studioIcon material-symbols:css"],"id":"#appConfig/nuxtIcon/class","default":"","type":"string"},"aliases":{"title":"Icon aliases","description":"Define Icon aliases to update them easily without code changes.","tags":["@studioIcon material-symbols:star-rounded","@studioInputObjectValueType icon"],"tsType":"{ [alias: string]: string }","id":"#appConfig/nuxtIcon/aliases","default":{},"type":"object"}},"type":"object","default":{"size":"1em","class":"","aliases":{}}},"cover":{"title":"Default OG image path","description":"","tags":[],"id":"#appConfig/cover","default":"/cover.jpg","type":"string"},"socials":{"title":"Social media icons displayed in the navbar","description":"","tags":[],"id":"#appConfig/socials","properties":{"twitter":{"title":"Twitter handle","description":"","tags":["@example 'Atinux'","@studioIcon simple-icons:twitter"],"id":"#appConfig/socials/twitter","default":"","type":"string"},"github":{"title":"Github repository name","description":"","tags":["@example 'nuxt/framework'","@studioIcon simple-icons:github"],"id":"#appConfig/socials/github","default":"","type":"string"}},"type":"object","default":{"twitter":"","github":""}}},"type":"object","default":{"nuxtIcon":{"size":"1em","class":"","aliases":{}},"cover":"/cover.jpg","socials":{"twitter":"","github":""}}},"default":{"nuxtIcon":{"size":"1em","class":"","aliases":{}},"cover":"/cover.jpg","socials":{"twitter":"","github":""}}},"appConfig":{"nuxt":{},"socials":{"twitter":"Atinux","github":"Atinux/content-wind"},"nuxtIcon":{"aliases":{"dark-mode":"ph:moon-bold","light-mode":"ph:sun-bold"}},"cover":"/cover.jpg"},"content":{"sources":{},"ignores":[],"locales":[],"highlight":{"theme":{"dark":"github-dark","default":"github-light"}},"navigation":{"fields":["layout"]},"documentDriven":true,"experimental":{"clientDB":false,"stripQueryParameters":false,"advanceQuery":false}},"components":[{"name":"ButtonLink","path":"components/content/ButtonLink.vue","meta":{"props":[{"name":"href","global":false,"description":"","tags":[],"required":true,"type":"string | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[31,80]}],"schema":{"kind":"enum","type":"string | undefined","schema":["undefined","string"]}},{"name":"external","global":false,"description":"","tags":[],"required":false,"type":"boolean | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[84,138]}],"schema":{"kind":"enum","type":"boolean | undefined","schema":["undefined","false","true"]},"default":"false"},{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[142,188]}],"schema":{"kind":"enum","type":"string | undefined","schema":["undefined","string"]},"default":"\"\""}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}}]} \ No newline at end of file +{"version":"1.0.0","tokens":"bddc15a1c8d838b07c883b0689f3efa259942a58383fafa76b3a43602465e28c","appConfigSchema":{"properties":{"id":"#appConfig","properties":{"nuxtIcon":{"title":"Nuxt Icon","description":"Configure the defaults of Nuxt Icon","id":"#appConfig/nuxtIcon","properties":{"size":{"title":"Icon Size","description":"Set the default icon size. Set to false to disable the sizing of icon in style.","tags":["@studioIcon material-symbols:format-size-rounded"],"tsType":"string | false","id":"#appConfig/nuxtIcon/size","default":"1em","type":"string"},"class":{"title":"CSS Class","description":"Set the default CSS class","tags":["@studioIcon material-symbols:css"],"id":"#appConfig/nuxtIcon/class","default":"","type":"string"},"aliases":{"title":"Icon aliases","description":"Define Icon aliases to update them easily without code changes.","tags":["@studioIcon material-symbols:star-rounded","@studioInputObjectValueType icon"],"tsType":"{ [alias: string]: string }","id":"#appConfig/nuxtIcon/aliases","default":{},"type":"object"}},"type":"object","default":{"size":"1em","class":"","aliases":{}}},"cover":{"title":"Default OG image path","description":"","tags":[],"id":"#appConfig/cover","default":"/cover.jpg","type":"string"},"socials":{"title":"Social media icons displayed in the navbar","description":"","tags":[],"id":"#appConfig/socials","properties":{"twitter":{"title":"Twitter handle","description":"","tags":["@example 'Atinux'","@studioIcon simple-icons:twitter"],"id":"#appConfig/socials/twitter","default":"","type":"string"},"github":{"title":"Github repository name","description":"","tags":["@example 'nuxt/framework'","@studioIcon simple-icons:github"],"id":"#appConfig/socials/github","default":"","type":"string"}},"type":"object","default":{"twitter":"","github":""}}},"type":"object","default":{"nuxtIcon":{"size":"1em","class":"","aliases":{}},"cover":"/cover.jpg","socials":{"twitter":"","github":""}}},"default":{"nuxtIcon":{"size":"1em","class":"","aliases":{}},"cover":"/cover.jpg","socials":{"twitter":"","github":""}}},"appConfig":{"nuxt":{},"socials":{"twitter":"Atinux","github":"Atinux/content-wind"},"nuxtIcon":{"aliases":{"dark-mode":"ph:moon-bold","light-mode":"ph:sun-bold"}},"cover":"/cover.jpg"},"content":{"sources":{},"ignores":[],"locales":[],"highlight":{"theme":{"dark":"github-dark","default":"github-light"}},"navigation":{"fields":["layout"]},"documentDriven":true,"experimental":{"clientDB":false,"stripQueryParameters":false,"advanceQuery":false}},"components":[{"name":"ButtonLink","path":"components/content/ButtonLink.vue","meta":{"props":[{"name":"href","global":false,"description":"","tags":[],"required":true,"type":"string | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[31,80]}],"schema":{"kind":"enum","type":"string | undefined","schema":["undefined","string"]}},{"name":"external","global":false,"description":"","tags":[],"required":false,"type":"boolean | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[84,138]}],"schema":{"kind":"enum","type":"boolean | undefined","schema":["undefined","false","true"]},"default":"false"},{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string | undefined","declarations":[{"file":"/home/runner/work/content-wind/content-wind/.demo/components/content/ButtonLink.vue","range":[142,188]}],"schema":{"kind":"enum","type":"string | undefined","schema":["undefined","string"]},"default":"\"\""}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}}]} \ No newline at end of file diff --git a/_nuxt/ButtonLink.fdb7c90a.js b/_nuxt/ButtonLink.ac5d9709.js similarity index 82% rename from _nuxt/ButtonLink.fdb7c90a.js rename to _nuxt/ButtonLink.ac5d9709.js index 0d92d9a..cdde750 100644 --- a/_nuxt/ButtonLink.fdb7c90a.js +++ b/_nuxt/ButtonLink.ac5d9709.js @@ -1 +1 @@ -import{b as t,c as r,g as c,w as s,W as l,f as i,X as u,E as m}from"./entry.cdff8778.js";import{r as p}from"./slot.da86f545.js";import"./node.e4a9c3bc.js";const d={class:"not-prose"},k={__name:"ButtonLink",props:{href:{type:String,required:!0},external:{type:Boolean,default:!1},icon:{type:String,default:""}},setup(e){return(n,_)=>{const a=u,o=m;return t(),r("span",d,[c(o,{to:e.href,external:e.external,class:"inline-flex items-center gap-1 text-white bg-gray-800 dark:bg-gray-200 dark:text-gray-950 px-3 py-1 rounded no-underline"},{default:s(()=>[e.icon?(t(),l(a,{key:0,name:e.icon,class:"w-4 h-4"},null,8,["name"])):i("",!0),p(n.$slots,"default",{unwrap:"p"})]),_:3},8,["to","external"])])}}};export{k as default}; +import{b as t,c as r,g as c,w as s,W as l,f as i,X as u,G as m}from"./entry.3092cf76.js";import{r as p}from"./slot.22183dda.js";import"./node.e4a9c3bc.js";const d={class:"not-prose"},k={__name:"ButtonLink",props:{href:{type:String,required:!0},external:{type:Boolean,default:!1},icon:{type:String,default:""}},setup(e){return(n,_)=>{const a=u,o=m;return t(),r("span",d,[c(o,{to:e.href,external:e.external,class:"inline-flex items-center gap-1 text-white bg-gray-800 dark:bg-gray-200 dark:text-gray-950 px-3 py-1 rounded no-underline"},{default:s(()=>[e.icon?(t(),l(a,{key:0,name:e.icon,class:"w-4 h-4"},null,8,["name"])):i("",!0),p(n.$slots,"default",{unwrap:"p"})]),_:3},8,["to","external"])])}}};export{k as default}; diff --git a/_nuxt/ContentDoc.22c816db.js b/_nuxt/ContentDoc.4fb3d4dc.js similarity index 75% rename from _nuxt/ContentDoc.22c816db.js rename to _nuxt/ContentDoc.4fb3d4dc.js index 5839ce8..4f68c9d 100644 --- a/_nuxt/ContentDoc.22c816db.js +++ b/_nuxt/ContentDoc.4fb3d4dc.js @@ -1 +1 @@ -import{d as C,l as g,Z as v,$ as D,s as w,M as o}from"./entry.cdff8778.js";import{u as d}from"./head.da030dfb.js";import _ from"./ContentRenderer.c98c212e.js";import S from"./ContentQuery.127537a7.js";import"./ContentRendererMarkdown.vue.95e9c3a5.js";import"./asyncData.98be9f70.js";const $=C({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(f){const{contentHead:c}=g().public.content,e=v(),{tag:m,excerpt:r,path:s,query:i,head:a}=f,u=a===void 0?c:a,l={...i||{},path:s||(i==null?void 0:i.path)||D(w().path),find:"one"},h=(t,n)=>o("pre",null,JSON.stringify({message:"You should use slots with ",slot:t,data:n},null,2));return o(S,l,{default:e!=null&&e.default?({data:t,refresh:n,isPartial:y})=>{var p;return u&&d(t),(p=e.default)==null?void 0:p.call(e,{doc:t,refresh:n,isPartial:y,excerpt:r,...this.$attrs})}:({data:t})=>(u&&d(t),o(_,{value:t,excerpt:r,tag:m,...this.$attrs},{empty:n=>e!=null&&e.empty?e.empty(n):h("default",t)})),empty:t=>{var n;return((n=e==null?void 0:e.empty)==null?void 0:n.call(e,t))||o("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":t=>{var n;return((n=e==null?void 0:e["not-found"])==null?void 0:n.call(e,t))||o("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),N=$;export{N as default}; +import{d as C,l as g,Z as v,$ as D,s as w,N as o}from"./entry.3092cf76.js";import{u as d}from"./head.23c934d3.js";import _ from"./ContentRenderer.fccd0eef.js";import S from"./ContentQuery.85e479c1.js";import"./ContentRendererMarkdown.vue.e7d1ce30.js";import"./asyncData.bfd7ca3d.js";const $=C({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(f){const{contentHead:c}=g().public.content,e=v(),{tag:m,excerpt:r,path:s,query:i,head:a}=f,u=a===void 0?c:a,l={...i||{},path:s||(i==null?void 0:i.path)||D(w().path),find:"one"},h=(t,n)=>o("pre",null,JSON.stringify({message:"You should use slots with ",slot:t,data:n},null,2));return o(S,l,{default:e!=null&&e.default?({data:t,refresh:n,isPartial:y})=>{var p;return u&&d(t),(p=e.default)==null?void 0:p.call(e,{doc:t,refresh:n,isPartial:y,excerpt:r,...this.$attrs})}:({data:t})=>(u&&d(t),o(_,{value:t,excerpt:r,tag:m,...this.$attrs},{empty:n=>e!=null&&e.empty?e.empty(n):h("default",t)})),empty:t=>{var n;return((n=e==null?void 0:e.empty)==null?void 0:n.call(e,t))||o("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":t=>{var n;return((n=e==null?void 0:e["not-found"])==null?void 0:n.call(e,t))||o("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),B=$;export{B as default}; diff --git a/_nuxt/ContentList.daf54a58.js b/_nuxt/ContentList.7dc25911.js similarity index 85% rename from _nuxt/ContentList.daf54a58.js rename to _nuxt/ContentList.7dc25911.js index 93bd080..1e5bac3 100644 --- a/_nuxt/ContentList.daf54a58.js +++ b/_nuxt/ContentList.7dc25911.js @@ -1 +1 @@ -import n from"./ContentQuery.127537a7.js";import{d as c,Z as l,M as f}from"./entry.cdff8778.js";import"./asyncData.98be9f70.js";const r=(u,t)=>f("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),h=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,d={...a||{},path:p||(a==null?void 0:a.path)||"/"};return f(n,d,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:m})=>t.default({list:e,refresh:o,isPartial:m,...this.$attrs}):e=>r("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):r("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):r("not-found",e==null?void 0:e.data)}})}}),s=h;export{s as default}; +import n from"./ContentQuery.85e479c1.js";import{d as c,Z as l,N as f}from"./entry.3092cf76.js";import"./asyncData.bfd7ca3d.js";const r=(u,t)=>f("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),h=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,d={...a||{},path:p||(a==null?void 0:a.path)||"/"};return f(n,d,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:m})=>t.default({list:e,refresh:o,isPartial:m,...this.$attrs}):e=>r("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):r("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):r("not-found",e==null?void 0:e.data)}})}}),s=h;export{s as default}; diff --git a/_nuxt/ContentNavigation.49b18055.js b/_nuxt/ContentNavigation.98f35005.js similarity index 77% rename from _nuxt/ContentNavigation.49b18055.js rename to _nuxt/ContentNavigation.98f35005.js index 259530f..f291b42 100644 --- a/_nuxt/ContentNavigation.49b18055.js +++ b/_nuxt/ContentNavigation.98f35005.js @@ -1 +1 @@ -import{u as d}from"./asyncData.98be9f70.js";import{d as l,a1 as f,I as v,m as p,V as m,a2 as g,Z as h,a3 as y,M as r,E as _}from"./entry.cdff8778.js";const C=l({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:t}=f(u),n=v(()=>{var a;return typeof((a=t.value)==null?void 0:a.params)=="function"?t.value.params():t.value});if(!n.value&&p("dd-navigation").value){const{navigation:a}=m();return{navigation:a}}const{data:o}=await d(`content-navigation-${g(n.value)}`,()=>y(n.value));return{navigation:o}},render(u){const t=h(),{navigation:n}=u,o=e=>r(_,{to:e._path},()=>e.title),a=(e,i)=>r("ul",i?{"data-level":i}:null,e.map(s=>s.children?r("li",null,[o(s),a(s.children,i+1)]):r("li",null,o(s)))),c=e=>a(e,0);return t!=null&&t.default?t.default({navigation:n,...this.$attrs}):c(n)}}),x=C;export{x as default}; +import{u as d}from"./asyncData.bfd7ca3d.js";import{d as l,a1 as f,J as v,m as p,V as m,a2 as g,Z as h,a3 as y,N as r,G as _}from"./entry.3092cf76.js";const C=l({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:t}=f(u),n=v(()=>{var a;return typeof((a=t.value)==null?void 0:a.params)=="function"?t.value.params():t.value});if(!n.value&&p("dd-navigation").value){const{navigation:a}=m();return{navigation:a}}const{data:o}=await d(`content-navigation-${g(n.value)}`,()=>y(n.value));return{navigation:o}},render(u){const t=h(),{navigation:n}=u,o=e=>r(_,{to:e._path},()=>e.title),a=(e,i)=>r("ul",i?{"data-level":i}:null,e.map(s=>s.children?r("li",null,[o(s),a(s.children,i+1)]):r("li",null,o(s)))),c=e=>a(e,0);return t!=null&&t.default?t.default({navigation:n,...this.$attrs}):c(n)}}),x=C;export{x as default}; diff --git a/_nuxt/ContentQuery.127537a7.js b/_nuxt/ContentQuery.85e479c1.js similarity index 81% rename from _nuxt/ContentQuery.127537a7.js rename to _nuxt/ContentQuery.85e479c1.js index a8801db..a82aa05 100644 --- a/_nuxt/ContentQuery.127537a7.js +++ b/_nuxt/ContentQuery.85e479c1.js @@ -1 +1 @@ -import{d as g,a1 as C,I as S,l as b,a0 as _,a2 as k,Z as A,q as m,M as N}from"./entry.cdff8778.js";import{u as O}from"./asyncData.98be9f70.js";const Q=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:o,where:u,sort:l,limit:d,skip:f,locale:s,find:h}=C(a),y=S(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),p=!b().public.content.experimental.advanceQuery;_(()=>a,()=>n(),{deep:!0});const i=e=>p?e!=null&&e.surround?e.surround:e!=null&&e._id||Array.isArray(e)?e:e==null?void 0:e.result:e.result,{data:v,refresh:n}=await O(`content-query-${k(a)}`,()=>{let e;return t.value?e=m(t.value):e=m(),r.value&&(e=e.only(r.value)),o.value&&(e=e.without(o.value)),u.value&&(e=e.where(u.value)),l.value&&(e=e.sort(l.value)),d.value&&(e=e.limit(d.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),h.value==="one"?e.findOne().then(i):h.value==="surround"?t.value?p?e.findSurround(t.value):e.withSurround(t.value).findOne().then(i):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find().then(i)):e.find().then(i)});return{isPartial:y,data:v,refresh:n}},render(a){var c;const t=A(),{data:r,refresh:o,isPartial:u,path:l,only:d,without:f,where:s,sort:h,limit:y,skip:p,locale:i,find:v}=a,n={path:l,only:d,without:f,where:s,sort:h,limit:y,skip:p,locale:i,find:v};if(n.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:n,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((c=r==null?void 0:r.body)!=null&&c.children.length))return t.empty({props:n,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:n,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:o,isPartial:u,props:n,...this.$attrs}):((w,q)=>N("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),j=Q;export{j as default}; +import{d as g,a1 as C,J as S,l as b,a0 as N,a2 as _,Z as k,q as m,N as A}from"./entry.3092cf76.js";import{u as O}from"./asyncData.bfd7ca3d.js";const Q=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:o,where:u,sort:l,limit:d,skip:f,locale:s,find:h}=C(a),y=S(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),p=!b().public.content.experimental.advanceQuery;N(()=>a,()=>n(),{deep:!0});const i=e=>p?e!=null&&e.surround?e.surround:e!=null&&e._id||Array.isArray(e)?e:e==null?void 0:e.result:e.result,{data:v,refresh:n}=await O(`content-query-${_(a)}`,()=>{let e;return t.value?e=m(t.value):e=m(),r.value&&(e=e.only(r.value)),o.value&&(e=e.without(o.value)),u.value&&(e=e.where(u.value)),l.value&&(e=e.sort(l.value)),d.value&&(e=e.limit(d.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),h.value==="one"?e.findOne().then(i):h.value==="surround"?t.value?p?e.findSurround(t.value):e.withSurround(t.value).findOne().then(i):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find().then(i)):e.find().then(i)});return{isPartial:y,data:v,refresh:n}},render(a){var c;const t=k(),{data:r,refresh:o,isPartial:u,path:l,only:d,without:f,where:s,sort:h,limit:y,skip:p,locale:i,find:v}=a,n={path:l,only:d,without:f,where:s,sort:h,limit:y,skip:p,locale:i,find:v};if(n.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:n,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((c=r==null?void 0:r.body)!=null&&c.children.length))return t.empty({props:n,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:n,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:o,isPartial:u,props:n,...this.$attrs}):((w,q)=>A("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),j=Q;export{j as default}; diff --git a/_nuxt/ContentRenderer.c98c212e.js b/_nuxt/ContentRenderer.fccd0eef.js similarity index 89% rename from _nuxt/ContentRenderer.c98c212e.js rename to _nuxt/ContentRenderer.fccd0eef.js index 13e4b2e..827641e 100644 --- a/_nuxt/ContentRenderer.c98c212e.js +++ b/_nuxt/ContentRenderer.fccd0eef.js @@ -1 +1 @@ -import{_ as l}from"./ContentRendererMarkdown.vue.95e9c3a5.js";import{d as o,a0 as s,Z as d,M as f}from"./entry.cdff8778.js";const y=o({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,a,u;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(a=t==null?void 0:t.value)==null?void 0:a._path}.${(u=t==null?void 0:t.value)==null?void 0:u._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var i,c;const n=d(),{value:e,excerpt:a,tag:u}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((i=r==null?void 0:r.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:u,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:u,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((c=r==null?void 0:r.children)!=null&&c.length)?f(l,{value:e,excerpt:a,tag:u,...this.$attrs}):f("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:u},null,2))}});export{y as default}; +import{_ as l}from"./ContentRendererMarkdown.vue.e7d1ce30.js";import{d as o,a0 as s,Z as d,N as f}from"./entry.3092cf76.js";const y=o({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,a,u;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(a=t==null?void 0:t.value)==null?void 0:a._path}.${(u=t==null?void 0:t.value)==null?void 0:u._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var i,c;const n=d(),{value:e,excerpt:a,tag:u}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((i=r==null?void 0:r.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:u,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:u,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((c=r==null?void 0:r.children)!=null&&c.length)?f(l,{value:e,excerpt:a,tag:u,...this.$attrs}):f("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:u},null,2))}});export{y as default}; diff --git a/_nuxt/ContentRendererMarkdown.4b2a0c05.js b/_nuxt/ContentRendererMarkdown.4b2a0c05.js deleted file mode 100644 index 7ed2b67..0000000 --- a/_nuxt/ContentRendererMarkdown.4b2a0c05.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ContentRendererMarkdown.vue.95e9c3a5.js";import"./entry.cdff8778.js";export{m as default}; diff --git a/_nuxt/ContentRendererMarkdown.4bb78fd9.js b/_nuxt/ContentRendererMarkdown.4bb78fd9.js new file mode 100644 index 0000000..68c339b --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.4bb78fd9.js @@ -0,0 +1 @@ +import{_ as m}from"./ContentRendererMarkdown.vue.e7d1ce30.js";import"./entry.3092cf76.js";export{m as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.95e9c3a5.js b/_nuxt/ContentRendererMarkdown.vue.e7d1ce30.js similarity index 99% rename from _nuxt/ContentRendererMarkdown.vue.95e9c3a5.js rename to _nuxt/ContentRendererMarkdown.vue.e7d1ce30.js index ebaecf6..b143d55 100644 --- a/_nuxt/ContentRendererMarkdown.vue.95e9c3a5.js +++ b/_nuxt/ContentRendererMarkdown.vue.e7d1ce30.js @@ -1 +1 @@ -import{d as E,l as J,B as G,M as R,a9 as U,aa as Q,ab as C,s as nn,ac as ln,ad as en,I as w,b as on,W as tn,N as rn}from"./entry.cdff8778.js";class x{constructor(l,o,t){this.property=l,this.normal=o,t&&(this.space=t)}}x.prototype.property={};x.prototype.normal={};x.prototype.space=null;function B(n,l){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&pn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(A,mn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!A.test(a)){let i=a.replace(dn,hn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}r=M}return new r(t,l)}function hn(n){return"-"+n.toLowerCase()}function mn(n){return n.charAt(1).toUpperCase()}const fn=B([j,I,F,N,sn],"html");B([j,I,F,N,cn],"svg");const V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],L="default",q=/^@|^v-on:/,W=/^:|^v-bind:/,K=/^v-model/,yn=["select","textarea","input"],vn=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr"].map(n=>[n,`prose-${n}`])),bn=E({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:String,default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var t,r;const{mdc:l}=J().public,o={...l.components.prose&&n.prose!==!1?vn:{},...l.components.map,...G(((r=(t=n.data)==null?void 0:t.mdc)==null?void 0:r.components)||{}),...n.components};return await Rn(n.body,{tags:o}),{tags:o}},render(n){var s,c;const{tags:l,tag:o,body:t,data:r}=n;if(!t)return null;const a={...r,tags:l};let i=o||((s=a.component)==null?void 0:s.name)||a.component||"div";return i=Y(i),R(i,{...(c=a.component)==null?void 0:c.props,...this.$attrs},X(t,R,a,a))}});function kn(n,l,o,t={}){var c;if(n.type==="text")return l(C,n.value);if(n.tag==="script")return l(C,$(n));const r=n.tag,a=typeof((c=n.props)==null?void 0:c.__ignoreMap)>"u"&&o.tags[r]||r;if(n.tag==="binding")return Cn(n,l,o,t);const i=Y(a);typeof i=="object"&&(i.tag=r);const s=xn(n,o);return l(i,s,X(n,l,o,{...t,...s}))}function $(n){var l,o;return n.type==="text"?n.value:(l=n.children)!=null&&l.length?`<${n.tag}>${((o=n.children)==null?void 0:o.map($).join(""))||""}`:`<${n.tag}>`}function Cn(n,l,o,t={}){var c;const r={...t,$route:()=>nn(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((c=n.props)==null?void 0:c.value.trim().split(a).filter(Boolean)).reduce((g,y)=>y in g?typeof g[y]=="function"?g[y]():g[y]:{},r);return l(C,s)}function X(n,l,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!Ln(c))return s[L].push(c),s;const g=Dn(c);return s[g]=s[g]||[],c.type==="element"&&s[g].push(...c.children||[]),s},{[L]:[]});return Object.entries(a).reduce((s,[c,g])=>(g.length&&(s[c]=()=>{const y=g.map(h=>kn(h,l,o,t));return Mn(y)}),s),{})}function xn(n,l){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=t[a];if(K.test(a)&&!yn.includes(o))return Sn(a,i,r,l);if(a==="v-bind")return wn(a,i,r,l);if(q.test(a))return Pn(a,i,r,l);if(W.test(a))return On(a,i,r,l);const{attribute:s}=gn(fn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function Sn(n,l,o,t){const r=h=>+h,a=h=>h.trim(),i=h=>h,s=n.replace(K,"").split(".").filter(h=>h).reduce((h,Z)=>(h[Z]=!0,h),{}),c="value",g=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=S(l,t),o.on=o.on||{},o.on[g]=h=>t[l]=y(h),o}function wn(n,l,o,t){const r=S(l,t);return o=Object.assign(o,r),o}function Pn(n,l,o,t){return n=n.replace(q,""),o.on=o.on||{},o.on[n]=()=>S(l,t),o}function On(n,l,o,t){return n=n.replace(W,""),o[n]=S(l,t),o}const Y=n=>{if(!V.includes(n)&&!(n!=null&&n.render)){const l=U(Q(n),!1);if(typeof l=="object")return l}return n};function S(n,l){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,l);return typeof o>"u"?ln(n):o}function Dn(n){let l="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){l=o.split(/[:#]/,2)[1];break}return l||L}function Ln(n){return n.tag==="template"}function Mn(n){const l=[];for(const o of n){const t=l[l.length-1];o.type===C&&(t==null?void 0:t.type)===C?t.children=t.children+o.children:l.push(o)}return l}async function Rn(n,l){if(!n)return;const o=Array.from(new Set(t(n,l)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender)return;const a=U(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){var g;const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=typeof((g=r.props)==null?void 0:g.__ignoreMap)>"u"&&a.tags[i]||i,c=[];r.type!=="root"&&!V.includes(s)&&c.push(s);for(const y of r.children||[])c.push(...t(y,a));return c}}const An=E({__name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})}},setup(n){const l=n,o=en().isEnabled(),t=w(()=>{let i=l.value.body||l.value;return l.excerpt&&l.value.excerpt&&(i=l.value.excerpt),i}),r=w(()=>{const{body:i,excerpt:s,...c}=l.value;return{...c,...l.data}}),a=w(()=>({...l.components,...r.value._components||{}}));return(i,s)=>{const c=bn;return on(),tn(c,{body:t.value,data:r.value,tag:n.tag,components:a.value,"data-content-id":rn(o)?n.value._id:void 0},null,8,["body","data","tag","components","data-content-id"])}}});export{An as _}; +import{d as E,l as J,C as G,N as R,a9 as U,aa as Q,ab as C,s as nn,ac as ln,ad as en,J as w,b as on,W as tn,O as rn}from"./entry.3092cf76.js";class x{constructor(l,o,t){this.property=l,this.normal=o,t&&(this.space=t)}}x.prototype.property={};x.prototype.normal={};x.prototype.space=null;function B(n,l){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&pn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(A,mn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!A.test(a)){let i=a.replace(dn,hn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}r=M}return new r(t,l)}function hn(n){return"-"+n.toLowerCase()}function mn(n){return n.charAt(1).toUpperCase()}const fn=B([j,I,F,N,sn],"html");B([j,I,F,N,cn],"svg");const V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],L="default",q=/^@|^v-on:/,W=/^:|^v-bind:/,K=/^v-model/,yn=["select","textarea","input"],vn=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr"].map(n=>[n,`prose-${n}`])),bn=E({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:String,default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var t,r;const{mdc:l}=J().public,o={...l.components.prose&&n.prose!==!1?vn:{},...l.components.map,...G(((r=(t=n.data)==null?void 0:t.mdc)==null?void 0:r.components)||{}),...n.components};return await Rn(n.body,{tags:o}),{tags:o}},render(n){var s,c;const{tags:l,tag:o,body:t,data:r}=n;if(!t)return null;const a={...r,tags:l};let i=o||((s=a.component)==null?void 0:s.name)||a.component||"div";return i=Y(i),R(i,{...(c=a.component)==null?void 0:c.props,...this.$attrs},X(t,R,a,a))}});function kn(n,l,o,t={}){var c;if(n.type==="text")return l(C,n.value);if(n.tag==="script")return l(C,$(n));const r=n.tag,a=typeof((c=n.props)==null?void 0:c.__ignoreMap)>"u"&&o.tags[r]||r;if(n.tag==="binding")return Cn(n,l,o,t);const i=Y(a);typeof i=="object"&&(i.tag=r);const s=xn(n,o);return l(i,s,X(n,l,o,{...t,...s}))}function $(n){var l,o;return n.type==="text"?n.value:(l=n.children)!=null&&l.length?`<${n.tag}>${((o=n.children)==null?void 0:o.map($).join(""))||""}`:`<${n.tag}>`}function Cn(n,l,o,t={}){var c;const r={...t,$route:()=>nn(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((c=n.props)==null?void 0:c.value.trim().split(a).filter(Boolean)).reduce((g,y)=>y in g?typeof g[y]=="function"?g[y]():g[y]:{},r);return l(C,s)}function X(n,l,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!Ln(c))return s[L].push(c),s;const g=Dn(c);return s[g]=s[g]||[],c.type==="element"&&s[g].push(...c.children||[]),s},{[L]:[]});return Object.entries(a).reduce((s,[c,g])=>(g.length&&(s[c]=()=>{const y=g.map(h=>kn(h,l,o,t));return Mn(y)}),s),{})}function xn(n,l){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=t[a];if(K.test(a)&&!yn.includes(o))return Sn(a,i,r,l);if(a==="v-bind")return wn(a,i,r,l);if(q.test(a))return Pn(a,i,r,l);if(W.test(a))return On(a,i,r,l);const{attribute:s}=gn(fn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function Sn(n,l,o,t){const r=h=>+h,a=h=>h.trim(),i=h=>h,s=n.replace(K,"").split(".").filter(h=>h).reduce((h,Z)=>(h[Z]=!0,h),{}),c="value",g=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=S(l,t),o.on=o.on||{},o.on[g]=h=>t[l]=y(h),o}function wn(n,l,o,t){const r=S(l,t);return o=Object.assign(o,r),o}function Pn(n,l,o,t){return n=n.replace(q,""),o.on=o.on||{},o.on[n]=()=>S(l,t),o}function On(n,l,o,t){return n=n.replace(W,""),o[n]=S(l,t),o}const Y=n=>{if(!V.includes(n)&&!(n!=null&&n.render)){const l=U(Q(n),!1);if(typeof l=="object")return l}return n};function S(n,l){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,l);return typeof o>"u"?ln(n):o}function Dn(n){let l="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){l=o.split(/[:#]/,2)[1];break}return l||L}function Ln(n){return n.tag==="template"}function Mn(n){const l=[];for(const o of n){const t=l[l.length-1];o.type===C&&(t==null?void 0:t.type)===C?t.children=t.children+o.children:l.push(o)}return l}async function Rn(n,l){if(!n)return;const o=Array.from(new Set(t(n,l)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender)return;const a=U(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){var g;const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=typeof((g=r.props)==null?void 0:g.__ignoreMap)>"u"&&a.tags[i]||i,c=[];r.type!=="root"&&!V.includes(s)&&c.push(s);for(const y of r.children||[])c.push(...t(y,a));return c}}const An=E({__name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})}},setup(n){const l=n,o=en().isEnabled(),t=w(()=>{let i=l.value.body||l.value;return l.excerpt&&l.value.excerpt&&(i=l.value.excerpt),i}),r=w(()=>{const{body:i,excerpt:s,...c}=l.value;return{...c,...l.data}}),a=w(()=>({...l.components,...r.value._components||{}}));return(i,s)=>{const c=bn;return on(),tn(c,{body:t.value,data:r.value,tag:n.tag,components:a.value,"data-content-id":rn(o)?n.value._id:void 0},null,8,["body","data","tag","components","data-content-id"])}}});export{An as _}; diff --git a/_nuxt/ContentSlot.bb567b64.js b/_nuxt/ContentSlot.2bc0ea97.js similarity index 85% rename from _nuxt/ContentSlot.bb567b64.js rename to _nuxt/ContentSlot.2bc0ea97.js index 2b3c9d4..0a65ac5 100644 --- a/_nuxt/ContentSlot.bb567b64.js +++ b/_nuxt/ContentSlot.2bc0ea97.js @@ -1 +1 @@ -import{f as i}from"./node.e4a9c3bc.js";import{d as u,Z as f,I as c,M as a,a8 as d}from"./entry.cdff8778.js";const p=u({name:"MDCSlot",functional:!0,props:{name:{type:String,default:"default"},unwrap:{type:[Boolean,String],default:!1},use:{type:Function,default:void 0}},setup(t){const{parent:s}=d(),{default:o}=f(),r=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:r,parent:s}},render({use:t,unwrap:s,fallbackSlot:o,tags:r,parent:e}){var l;try{let n=t;return typeof t=="string"&&(n=(e==null?void 0:e.slots[t])||((l=e==null?void 0:e.parent)==null?void 0:l.slots[t]),console.warn(`Please set :use="$slots.${t}" in component to enable reactivity`)),n?s?i(n(),r):[n()]:o?o():a("div")}catch{return a("div")}}}),g=u({props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},render(t){return a(p,t)}});export{g as default}; +import{f as i}from"./node.e4a9c3bc.js";import{d as u,Z as f,J as c,N as a,a8 as d}from"./entry.3092cf76.js";const p=u({name:"MDCSlot",functional:!0,props:{name:{type:String,default:"default"},unwrap:{type:[Boolean,String],default:!1},use:{type:Function,default:void 0}},setup(t){const{parent:s}=d(),{default:o}=f(),r=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:r,parent:s}},render({use:t,unwrap:s,fallbackSlot:o,tags:r,parent:e}){var l;try{let n=t;return typeof t=="string"&&(n=(e==null?void 0:e.slots[t])||((l=e==null?void 0:e.parent)==null?void 0:l.slots[t]),console.warn(`Please set :use="$slots.${t}" in component to enable reactivity`)),n?s?i(n(),r):[n()]:o?o():a("div")}catch{return a("div")}}}),g=u({props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},render(t){return a(p,t)}});export{g as default}; diff --git a/_nuxt/DocumentDrivenEmpty.d94163fa.js b/_nuxt/DocumentDrivenEmpty.b7c26fed.js similarity index 77% rename from _nuxt/DocumentDrivenEmpty.d94163fa.js rename to _nuxt/DocumentDrivenEmpty.b7c26fed.js index 3afe563..3e26a01 100644 --- a/_nuxt/DocumentDrivenEmpty.d94163fa.js +++ b/_nuxt/DocumentDrivenEmpty.b7c26fed.js @@ -1 +1 @@ -import{d as n,M as e}from"./entry.cdff8778.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; +import{d as n,N as e}from"./entry.3092cf76.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; diff --git a/_nuxt/DocumentDrivenNotFound.24e66a17.js b/_nuxt/DocumentDrivenNotFound.f57cfed9.js similarity index 59% rename from _nuxt/DocumentDrivenNotFound.24e66a17.js rename to _nuxt/DocumentDrivenNotFound.f57cfed9.js index ce93acf..e64abe3 100644 --- a/_nuxt/DocumentDrivenNotFound.24e66a17.js +++ b/_nuxt/DocumentDrivenNotFound.f57cfed9.js @@ -1 +1 @@ -import{d as n,M as e}from"./entry.cdff8778.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; +import{d as n,N as e}from"./entry.3092cf76.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; diff --git a/_nuxt/IconCSS.df3de000.js b/_nuxt/IconCSS.207784c2.js similarity index 84% rename from _nuxt/IconCSS.df3de000.js rename to _nuxt/IconCSS.207784c2.js index 9dab026..aff7091 100644 --- a/_nuxt/IconCSS.df3de000.js +++ b/_nuxt/IconCSS.207784c2.js @@ -1 +1 @@ -import{d as l,ah as _,x as m,I as o,b as d,c as f,ae as x,k as S}from"./entry.cdff8778.js";const g=l({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(r){const n=r;_(e=>({"0c5a8824":u.value}));const s=m(),p=o(()=>{var e;return((((e=s.nuxtIcon)==null?void 0:e.aliases)||{})[n.name]||n.name).replace(/^i-/,"")}),u=o(()=>`url('https://api.iconify.design/${p.value.replace(":","/")}.svg')`),a=o(()=>{var t,c,i;if(!n.size&&typeof((t=s.nuxtIcon)==null?void 0:t.size)=="boolean"&&!((c=s.nuxtIcon)!=null&&c.size))return;const e=n.size||((i=s.nuxtIcon)==null?void 0:i.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,t)=>(d(),f("span",{style:x({width:a.value,height:a.value})},null,4))}});const z=S(g,[["__scopeId","data-v-ec078384"]]);export{z as default}; +import{d as l,ah as _,x as m,J as o,b as d,c as f,ae as x,k as S}from"./entry.3092cf76.js";const g=l({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(r){const n=r;_(e=>({"0c5a8824":u.value}));const s=m(),p=o(()=>{var e;return((((e=s.nuxtIcon)==null?void 0:e.aliases)||{})[n.name]||n.name).replace(/^i-/,"")}),u=o(()=>`url('https://api.iconify.design/${p.value.replace(":","/")}.svg')`),a=o(()=>{var t,c,i;if(!n.size&&typeof((t=s.nuxtIcon)==null?void 0:t.size)=="boolean"&&!((c=s.nuxtIcon)!=null&&c.size))return;const e=n.size||((i=s.nuxtIcon)==null?void 0:i.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,t)=>(d(),f("span",{style:x({width:a.value,height:a.value})},null,4))}});const z=S(g,[["__scopeId","data-v-ec078384"]]);export{z as default}; diff --git a/_nuxt/Markdown.33e3b4de.js b/_nuxt/Markdown.274fbb3e.js similarity index 64% rename from _nuxt/Markdown.33e3b4de.js rename to _nuxt/Markdown.274fbb3e.js index 1fde3a3..0a9fdc5 100644 --- a/_nuxt/Markdown.33e3b4de.js +++ b/_nuxt/Markdown.274fbb3e.js @@ -1 +1 @@ -import s from"./ContentSlot.bb567b64.js";import{d as o,Z as u,I as f,a8 as m}from"./entry.cdff8778.js";import"./node.e4a9c3bc.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:a}=u(),r=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:r,between:n,parent:e}}});export{d as default}; +import s from"./ContentSlot.2bc0ea97.js";import{d as o,Z as u,J as f,a8 as m}from"./entry.3092cf76.js";import"./node.e4a9c3bc.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:a}=u(),r=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:r,between:n,parent:e}}});export{d as default}; diff --git a/_nuxt/MarkdownBlock.403e380a.js b/_nuxt/MarkdownBlock.1c4f6fd5.js similarity index 55% rename from _nuxt/MarkdownBlock.403e380a.js rename to _nuxt/MarkdownBlock.1c4f6fd5.js index 1d28e1c..f513d96 100644 --- a/_nuxt/MarkdownBlock.403e380a.js +++ b/_nuxt/MarkdownBlock.1c4f6fd5.js @@ -1 +1 @@ -import{r}from"./slot.da86f545.js";import{k as e,b as t,c as s}from"./entry.cdff8778.js";import"./node.e4a9c3bc.js";const a={},c={class:"max-w-full overflow-x-auto"};function n(o,l){return t(),s("pre",c,[r(o.$slots,"default",{unwrap:"p"})])}const m=e(a,[["render",n]]);export{m as default}; +import{r}from"./slot.22183dda.js";import{k as e,b as t,c as s}from"./entry.3092cf76.js";import"./node.e4a9c3bc.js";const a={},c={class:"max-w-full overflow-x-auto"};function n(o,l){return t(),s("pre",c,[r(o.$slots,"default",{unwrap:"p"})])}const m=e(a,[["render",n]]);export{m as default}; diff --git a/_nuxt/ProseA.4d02b231.js b/_nuxt/ProseA.5b5bede1.js similarity index 64% rename from _nuxt/ProseA.4d02b231.js rename to _nuxt/ProseA.5b5bede1.js index fc23c97..751c899 100644 --- a/_nuxt/ProseA.4d02b231.js +++ b/_nuxt/ProseA.5b5bede1.js @@ -1 +1 @@ -import{d as a,b as n,W as o,w as s,Y as f,E as u}from"./entry.cdff8778.js";const l=a({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(e){return(t,c)=>{const r=u;return n(),o(r,{href:e.href,target:e.target},{default:s(()=>[f(t.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; +import{d as a,b as n,W as o,w as s,Y as f,G as u}from"./entry.3092cf76.js";const l=a({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(e){return(t,c)=>{const r=u;return n(),o(r,{href:e.href,target:e.target},{default:s(()=>[f(t.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; diff --git a/_nuxt/ProseBlockquote.7f50b11c.js b/_nuxt/ProseBlockquote.288744a8.js similarity index 66% rename from _nuxt/ProseBlockquote.7f50b11c.js rename to _nuxt/ProseBlockquote.288744a8.js index 6be5388..90d3df7 100644 --- a/_nuxt/ProseBlockquote.7f50b11c.js +++ b/_nuxt/ProseBlockquote.288744a8.js @@ -1 +1 @@ -import{k as o,b as t,c,Y as r}from"./entry.cdff8778.js";const s={};function n(e,l){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",n]]);export{f as default}; +import{k as o,b as t,c,Y as r}from"./entry.3092cf76.js";const s={};function n(e,l){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseCode.748da8e2.js b/_nuxt/ProseCode.748da8e2.js new file mode 100644 index 0000000..f5d7dcb --- /dev/null +++ b/_nuxt/ProseCode.748da8e2.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCode.vue.e045fcbe.js";import"./entry.3092cf76.js";export{m as default}; diff --git a/_nuxt/ProseCode.b1244493.js b/_nuxt/ProseCode.b1244493.js deleted file mode 100644 index fe5923e..0000000 --- a/_nuxt/ProseCode.b1244493.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCode.vue.16326e6f.js";import"./entry.cdff8778.js";export{m as default}; diff --git a/_nuxt/ProseCode.vue.16326e6f.js b/_nuxt/ProseCode.vue.e045fcbe.js similarity index 80% rename from _nuxt/ProseCode.vue.16326e6f.js rename to _nuxt/ProseCode.vue.e045fcbe.js index 0c300a8..491fe97 100644 --- a/_nuxt/ProseCode.vue.16326e6f.js +++ b/_nuxt/ProseCode.vue.e045fcbe.js @@ -1 +1 @@ -import{d as t,Y as n}from"./entry.cdff8778.js";const o=t({__name:"ProseCode",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null}},setup(l){return(e,r)=>n(e.$slots,"default")}});export{o as _}; +import{d as t,Y as n}from"./entry.3092cf76.js";const o=t({__name:"ProseCode",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null}},setup(l){return(e,r)=>n(e.$slots,"default")}});export{o as _}; diff --git a/_nuxt/ProseCodeInline.4635d87a.js b/_nuxt/ProseCodeInline.b3009cda.js similarity index 65% rename from _nuxt/ProseCodeInline.4635d87a.js rename to _nuxt/ProseCodeInline.b3009cda.js index 662e1b7..75ab06d 100644 --- a/_nuxt/ProseCodeInline.4635d87a.js +++ b/_nuxt/ProseCodeInline.b3009cda.js @@ -1 +1 @@ -import{k as o,b as n,c as r,Y as c}from"./entry.cdff8778.js";const s={};function t(e,a){return n(),r("code",null,[c(e.$slots,"default")])}const d=o(s,[["render",t]]);export{d as default}; +import{k as o,b as n,c as r,Y as c}from"./entry.3092cf76.js";const s={};function t(e,a){return n(),r("code",null,[c(e.$slots,"default")])}const d=o(s,[["render",t]]);export{d as default}; diff --git a/_nuxt/ProseEm.5838b261.js b/_nuxt/ProseEm.c50790fa.js similarity index 65% rename from _nuxt/ProseEm.5838b261.js rename to _nuxt/ProseEm.c50790fa.js index cb2662c..b97492a 100644 --- a/_nuxt/ProseEm.5838b261.js +++ b/_nuxt/ProseEm.c50790fa.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.cdff8778.js";const c={};function n(e,a){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as o,c as s,Y as t}from"./entry.3092cf76.js";const c={};function n(e,a){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseH1.6f87c9e5.js b/_nuxt/ProseH1.823aafc3.js similarity index 71% rename from _nuxt/ProseH1.6f87c9e5.js rename to _nuxt/ProseH1.823aafc3.js index fe0b721..0d95d36 100644 --- a/_nuxt/ProseH1.6f87c9e5.js +++ b/_nuxt/ProseH1.823aafc3.js @@ -1 +1 @@ -import{d as c,l as i,I as l,b as o,c as t,N as p,Y as n}from"./entry.cdff8778.js";const u=["id"],f=["href"],_=c({__name:"ProseH1",props:{id:{}},setup(r){const a=r,{headings:s}=i().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h1)});return(e,m)=>(o(),t("h1",{id:e.id},[p(d)?(o(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,f)):n(e.$slots,"default",{key:1})],8,u))}});export{_ as default}; +import{d as c,l as i,J as l,b as o,c as t,O as p,Y as n}from"./entry.3092cf76.js";const u=["id"],f=["href"],_=c({__name:"ProseH1",props:{id:{}},setup(r){const a=r,{headings:s}=i().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h1)});return(e,m)=>(o(),t("h1",{id:e.id},[p(d)?(o(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,f)):n(e.$slots,"default",{key:1})],8,u))}});export{_ as default}; diff --git a/_nuxt/ProseH2.1b9f4a04.js b/_nuxt/ProseH2.f7d3423e.js similarity index 71% rename from _nuxt/ProseH2.1b9f4a04.js rename to _nuxt/ProseH2.f7d3423e.js index 8b8f60b..9edaf35 100644 --- a/_nuxt/ProseH2.1b9f4a04.js +++ b/_nuxt/ProseH2.f7d3423e.js @@ -1 +1 @@ -import{d as i,l as c,I as l,b as o,c as n,N as p,Y as t}from"./entry.cdff8778.js";const u=["id"],f=["href"],k=i({__name:"ProseH2",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h2)});return(e,m)=>(o(),n("h2",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; +import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.3092cf76.js";const u=["id"],f=["href"],k=i({__name:"ProseH2",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h2)});return(e,m)=>(o(),n("h2",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; diff --git a/_nuxt/ProseH3.c56fa940.js b/_nuxt/ProseH3.9d43dbf2.js similarity index 71% rename from _nuxt/ProseH3.c56fa940.js rename to _nuxt/ProseH3.9d43dbf2.js index 3eaab44..d0f9667 100644 --- a/_nuxt/ProseH3.c56fa940.js +++ b/_nuxt/ProseH3.9d43dbf2.js @@ -1 +1 @@ -import{d as i,l as c,I as l,b as o,c as n,N as p,Y as t}from"./entry.cdff8778.js";const u=["id"],f=["href"],k=i({__name:"ProseH3",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h3)});return(e,m)=>(o(),n("h3",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; +import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.3092cf76.js";const u=["id"],f=["href"],k=i({__name:"ProseH3",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h3)});return(e,m)=>(o(),n("h3",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; diff --git a/_nuxt/ProseH4.e6e991b2.js b/_nuxt/ProseH4.ada03ae9.js similarity index 71% rename from _nuxt/ProseH4.e6e991b2.js rename to _nuxt/ProseH4.ada03ae9.js index 2ede195..6d2b523 100644 --- a/_nuxt/ProseH4.e6e991b2.js +++ b/_nuxt/ProseH4.ada03ae9.js @@ -1 +1 @@ -import{d as i,l as c,I as l,b as o,c as n,N as p,Y as t}from"./entry.cdff8778.js";const u=["id"],f=["href"],k=i({__name:"ProseH4",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h4)});return(e,m)=>(o(),n("h4",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; +import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.3092cf76.js";const u=["id"],f=["href"],k=i({__name:"ProseH4",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h4)});return(e,m)=>(o(),n("h4",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; diff --git a/_nuxt/ProseH5.b317b92a.js b/_nuxt/ProseH5.4e944a41.js similarity index 71% rename from _nuxt/ProseH5.b317b92a.js rename to _nuxt/ProseH5.4e944a41.js index 3b8f75e..d856bdc 100644 --- a/_nuxt/ProseH5.b317b92a.js +++ b/_nuxt/ProseH5.4e944a41.js @@ -1 +1 @@ -import{d as i,l as c,I as l,b as o,c as n,N as p,Y as t}from"./entry.cdff8778.js";const u=["id"],f=["href"],k=i({__name:"ProseH5",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h5)});return(e,m)=>(o(),n("h5",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; +import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.3092cf76.js";const u=["id"],f=["href"],k=i({__name:"ProseH5",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h5)});return(e,m)=>(o(),n("h5",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; diff --git a/_nuxt/ProseH6.2cdac9c1.js b/_nuxt/ProseH6.118469ee.js similarity index 71% rename from _nuxt/ProseH6.2cdac9c1.js rename to _nuxt/ProseH6.118469ee.js index 882bb87..56c9d71 100644 --- a/_nuxt/ProseH6.2cdac9c1.js +++ b/_nuxt/ProseH6.118469ee.js @@ -1 +1 @@ -import{d as i,l as c,I as l,b as o,c as n,N as p,Y as t}from"./entry.cdff8778.js";const u=["id"],f=["href"],k=i({__name:"ProseH6",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h6)});return(e,m)=>(o(),n("h6",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; +import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.3092cf76.js";const u=["id"],f=["href"],k=i({__name:"ProseH6",props:{id:{}},setup(r){const a=r,{headings:s}=c().public.mdc,d=l(()=>{var e;return a.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h6)});return(e,m)=>(o(),n("h6",{id:e.id},[e.id&&p(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,f)):t(e.$slots,"default",{key:1})],8,u))}});export{k as default}; diff --git a/_nuxt/ProseHr.9e8b78c7.js b/_nuxt/ProseHr.da8ba399.js similarity index 55% rename from _nuxt/ProseHr.9e8b78c7.js rename to _nuxt/ProseHr.da8ba399.js index f754e1b..3519879 100644 --- a/_nuxt/ProseHr.9e8b78c7.js +++ b/_nuxt/ProseHr.da8ba399.js @@ -1 +1 @@ -import{k as e,b as r,c}from"./entry.cdff8778.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; +import{k as e,b as r,c}from"./entry.3092cf76.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; diff --git a/_nuxt/ProseImg.9e20f0e5.js b/_nuxt/ProseImg.4e456e18.js similarity index 79% rename from _nuxt/ProseImg.9e20f0e5.js rename to _nuxt/ProseImg.4e456e18.js index dc3be5a..b824a2d 100644 --- a/_nuxt/ProseImg.9e20f0e5.js +++ b/_nuxt/ProseImg.4e456e18.js @@ -1 +1 @@ -import{d as r,I as n,b as c,c as h,N as o,af as l,$ as d,l as u,ag as f}from"./entry.cdff8778.js";const g=["src","alt","width","height"],p=r({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(e){const t=e,i=n(()=>{var a;if((a=t.src)!=null&&a.startsWith("/")&&!t.src.startsWith("//")){const s=l(d(u().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return f(s,t.src)}return t.src});return(a,s)=>(c(),h("img",{src:o(i),alt:e.alt,width:e.width,height:e.height},null,8,g))}});export{p as default}; +import{d as r,J as n,b as c,c as h,O as o,af as l,$ as d,l as u,ag as f}from"./entry.3092cf76.js";const g=["src","alt","width","height"],p=r({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(e){const t=e,i=n(()=>{var a;if((a=t.src)!=null&&a.startsWith("/")&&!t.src.startsWith("//")){const s=l(d(u().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return f(s,t.src)}return t.src});return(a,s)=>(c(),h("img",{src:o(i),alt:e.alt,width:e.width,height:e.height},null,8,g))}});export{p as default}; diff --git a/_nuxt/ProseLi.a5f36cef.js b/_nuxt/ProseLi.98fb3d8e.js similarity index 65% rename from _nuxt/ProseLi.a5f36cef.js rename to _nuxt/ProseLi.98fb3d8e.js index c30b122..7a7466d 100644 --- a/_nuxt/ProseLi.a5f36cef.js +++ b/_nuxt/ProseLi.98fb3d8e.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.cdff8778.js";const c={};function n(e,a){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as o,c as s,Y as t}from"./entry.3092cf76.js";const c={};function n(e,a){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseOl.e35862f4.js b/_nuxt/ProseOl.b0a6cae3.js similarity index 65% rename from _nuxt/ProseOl.e35862f4.js rename to _nuxt/ProseOl.b0a6cae3.js index 8affc82..eefb14b 100644 --- a/_nuxt/ProseOl.e35862f4.js +++ b/_nuxt/ProseOl.b0a6cae3.js @@ -1 +1 @@ -import{k as o,b as r,c as s,Y as t}from"./entry.cdff8778.js";const c={};function n(e,l){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(c,[["render",n]]);export{f as default}; +import{k as o,b as r,c as s,Y as t}from"./entry.3092cf76.js";const c={};function n(e,l){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseP.fc00f7a8.js b/_nuxt/ProseP.7e07bc1e.js similarity index 65% rename from _nuxt/ProseP.fc00f7a8.js rename to _nuxt/ProseP.7e07bc1e.js index b138315..f3dfad0 100644 --- a/_nuxt/ProseP.fc00f7a8.js +++ b/_nuxt/ProseP.7e07bc1e.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.cdff8778.js";const c={};function n(e,a){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as o,c as s,Y as t}from"./entry.3092cf76.js";const c={};function n(e,a){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProsePre.1fc038c4.js b/_nuxt/ProsePre.8754ecb8.js similarity index 74% rename from _nuxt/ProsePre.1fc038c4.js rename to _nuxt/ProsePre.8754ecb8.js index 6658816..5618358 100644 --- a/_nuxt/ProsePre.1fc038c4.js +++ b/_nuxt/ProsePre.8754ecb8.js @@ -1 +1 @@ -import{_ as l}from"./ProseCode.vue.16326e6f.js";import{d as n,b as s,W as i,w as r,e as o,n as u,ae as g,Y as d}from"./entry.cdff8778.js";const h=n({__name:"ProsePre",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null},class:{type:String,default:null},style:{type:[String,Object],default:null}},setup(e){return(t,c)=>{const a=l;return s(),i(a,{code:e.code,language:e.language,filename:e.filename,highlights:e.highlights,meta:e.meta},{default:r(()=>[o("pre",{class:u(t.$props.class),style:g(e.style)},[d(t.$slots,"default")],6)]),_:3},8,["code","language","filename","highlights","meta"])}}});export{h as default}; +import{_ as l}from"./ProseCode.vue.e045fcbe.js";import{d as n,b as s,W as i,w as r,e as o,n as u,ae as g,Y as d}from"./entry.3092cf76.js";const h=n({__name:"ProsePre",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null},class:{type:String,default:null},style:{type:[String,Object],default:null}},setup(e){return(t,c)=>{const a=l;return s(),i(a,{code:e.code,language:e.language,filename:e.filename,highlights:e.highlights,meta:e.meta},{default:r(()=>[o("pre",{class:u(t.$props.class),style:g(e.style)},[d(t.$slots,"default")],6)]),_:3},8,["code","language","filename","highlights","meta"])}}});export{h as default}; diff --git a/_nuxt/ProseStrong.795fa328.js b/_nuxt/ProseStrong.93d206b9.js similarity index 66% rename from _nuxt/ProseStrong.795fa328.js rename to _nuxt/ProseStrong.93d206b9.js index 2a21e22..a6101e6 100644 --- a/_nuxt/ProseStrong.795fa328.js +++ b/_nuxt/ProseStrong.93d206b9.js @@ -1 +1 @@ -import{k as r,b as o,c as t,Y as n}from"./entry.cdff8778.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; +import{k as r,b as o,c as t,Y as n}from"./entry.3092cf76.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseTable.30a9c260.js b/_nuxt/ProseTable.17bced7b.js similarity index 66% rename from _nuxt/ProseTable.30a9c260.js rename to _nuxt/ProseTable.17bced7b.js index 963431a..fc539bc 100644 --- a/_nuxt/ProseTable.30a9c260.js +++ b/_nuxt/ProseTable.17bced7b.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.cdff8778.js";const a={};function c(e,n){return t(),o("table",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{k as r,b as t,c as o,Y as s}from"./entry.3092cf76.js";const a={};function c(e,n){return t(),o("table",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseTbody.70ea2e47.js b/_nuxt/ProseTbody.92c5990c.js similarity index 66% rename from _nuxt/ProseTbody.70ea2e47.js rename to _nuxt/ProseTbody.92c5990c.js index 56e9ab4..1a5efd4 100644 --- a/_nuxt/ProseTbody.70ea2e47.js +++ b/_nuxt/ProseTbody.92c5990c.js @@ -1 +1 @@ -import{k as o,b as r,c as t,Y as s}from"./entry.cdff8778.js";const c={};function n(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(c,[["render",n]]);export{d as default}; +import{k as o,b as r,c as t,Y as s}from"./entry.3092cf76.js";const c={};function n(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(c,[["render",n]]);export{d as default}; diff --git a/_nuxt/ProseTd.2603fbb8.js b/_nuxt/ProseTd.476c98ac.js similarity index 65% rename from _nuxt/ProseTd.2603fbb8.js rename to _nuxt/ProseTd.476c98ac.js index dc4209d..33cc00a 100644 --- a/_nuxt/ProseTd.2603fbb8.js +++ b/_nuxt/ProseTd.476c98ac.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.cdff8778.js";const c={};function n(e,a){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(c,[["render",n]]);export{d as default}; +import{k as r,b as t,c as o,Y as s}from"./entry.3092cf76.js";const c={};function n(e,a){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(c,[["render",n]]);export{d as default}; diff --git a/_nuxt/ProseTh.35b6aabc.js b/_nuxt/ProseTh.f25396ad.js similarity index 65% rename from _nuxt/ProseTh.35b6aabc.js rename to _nuxt/ProseTh.f25396ad.js index 26fa6bd..f4af8fc 100644 --- a/_nuxt/ProseTh.35b6aabc.js +++ b/_nuxt/ProseTh.f25396ad.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.cdff8778.js";const c={};function n(e,a){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as t,c as o,Y as s}from"./entry.3092cf76.js";const c={};function n(e,a){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseThead.f55cacbb.js b/_nuxt/ProseThead.de4fbf7f.js similarity index 66% rename from _nuxt/ProseThead.f55cacbb.js rename to _nuxt/ProseThead.de4fbf7f.js index a09407c..ebf5a09 100644 --- a/_nuxt/ProseThead.f55cacbb.js +++ b/_nuxt/ProseThead.de4fbf7f.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.cdff8778.js";const a={};function c(e,n){return t(),o("thead",null,[s(e.$slots,"default")])}const d=r(a,[["render",c]]);export{d as default}; +import{k as r,b as t,c as o,Y as s}from"./entry.3092cf76.js";const a={};function c(e,n){return t(),o("thead",null,[s(e.$slots,"default")])}const d=r(a,[["render",c]]);export{d as default}; diff --git a/_nuxt/ProseTr.1ee27e98.js b/_nuxt/ProseTr.acc4e5de.js similarity index 65% rename from _nuxt/ProseTr.1ee27e98.js rename to _nuxt/ProseTr.acc4e5de.js index 7e028dc..dc74f17 100644 --- a/_nuxt/ProseTr.1ee27e98.js +++ b/_nuxt/ProseTr.acc4e5de.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.cdff8778.js";const c={};function n(e,a){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as t,c as o,Y as s}from"./entry.3092cf76.js";const c={};function n(e,a){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseUl.ea0606db.js b/_nuxt/ProseUl.08da086a.js similarity index 65% rename from _nuxt/ProseUl.ea0606db.js rename to _nuxt/ProseUl.08da086a.js index b0fbf74..1385042 100644 --- a/_nuxt/ProseUl.ea0606db.js +++ b/_nuxt/ProseUl.08da086a.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.cdff8778.js";const c={};function n(e,l){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{k as r,b as o,c as s,Y as t}from"./entry.3092cf76.js";const c={};function n(e,l){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/asyncData.98be9f70.js b/_nuxt/asyncData.bfd7ca3d.js similarity index 89% rename from _nuxt/asyncData.98be9f70.js rename to _nuxt/asyncData.bfd7ca3d.js index 7d46309..d31e699 100644 --- a/_nuxt/asyncData.98be9f70.js +++ b/_nuxt/asyncData.bfd7ca3d.js @@ -1 +1 @@ -import{a4 as g,j as v,r as y,a5 as P,a6 as w,a as m,a0 as x,N as b,a7 as C,a8 as O}from"./entry.cdff8778.js";const k=()=>null;function M(...n){const u=typeof n[n.length-1]=="string"?n.pop():void 0;typeof n[0]!="string"&&n.unshift(u);let[a,l,r={}]=n;if(typeof a!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof l!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??k,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const e=v(),f=()=>e.isHydrating?e.payload.data[a]:e.static.data[a],d=()=>f()!==void 0;(!e._asyncData[a]||!r.immediate)&&(e._asyncData[a]={data:y(f()??r.default()),pending:y(!d()),error:P(e.payload._errors,a),status:y("idle")});const t={...e._asyncData[a]};t.refresh=t.execute=(i={})=>{if(e._asyncDataPromises[a]){if(i.dedupe===!1)return e._asyncDataPromises[a];e._asyncDataPromises[a].cancelled=!0}if((i._initial||e.isHydrating&&i._initial!==!1)&&d())return f();t.pending.value=!0,t.status.value="pending";const c=new Promise((s,o)=>{try{s(l(e))}catch(_){o(_)}}).then(s=>{if(c.cancelled)return e._asyncDataPromises[a];let o=s;r.transform&&(o=r.transform(s)),r.pick&&(o=B(o,r.pick)),t.data.value=o,t.error.value=null,t.status.value="success"}).catch(s=>{if(c.cancelled)return e._asyncDataPromises[a];t.error.value=s,t.data.value=b(r.default()),t.status.value="error"}).finally(()=>{c.cancelled||(t.pending.value=!1,e.payload.data[a]=t.data.value,t.error.value&&(e.payload._errors[a]=C(t.error.value)),delete e._asyncDataPromises[a])});return e._asyncDataPromises[a]=c,e._asyncDataPromises[a]};const p=()=>t.refresh({_initial:!0}),D=r.server!==!1&&e.payload.serverRendered;{const i=O();if(i&&!i._nuxtOnBeforeMountCbs){i._nuxtOnBeforeMountCbs=[];const s=i._nuxtOnBeforeMountCbs;i&&(w(()=>{s.forEach(o=>{o()}),s.splice(0,s.length)}),m(()=>s.splice(0,s.length)))}D&&e.isHydrating&&d()?(t.pending.value=!1,t.status.value=t.error.value?"error":"success"):i&&(e.payload.serverRendered&&e.isHydrating||r.lazy)&&r.immediate?i._nuxtOnBeforeMountCbs.push(p):r.immediate&&p(),r.watch&&x(r.watch,()=>t.refresh());const c=e.hook("app:data:refresh",s=>{if(!s||s.includes(a))return t.refresh()});i&&m(c)}const h=Promise.resolve(e._asyncDataPromises[a]).then(()=>t);return Object.assign(h,t),h}async function A(n){await new Promise(a=>g(a));const u=n?Array.isArray(n)?n:[n]:void 0;await v().hooks.callHookParallel("app:data:refresh",u)}function B(n,u){const a={};for(const l of u)a[l]=n[l];return a}export{A as r,M as u}; +import{a4 as g,j as v,r as y,a5 as P,a6 as w,a as m,a0 as x,O as b,a7 as O,a8 as C}from"./entry.3092cf76.js";const k=()=>null;function M(...n){const u=typeof n[n.length-1]=="string"?n.pop():void 0;typeof n[0]!="string"&&n.unshift(u);let[a,l,r={}]=n;if(typeof a!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof l!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??k,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const e=v(),f=()=>e.isHydrating?e.payload.data[a]:e.static.data[a],d=()=>f()!==void 0;(!e._asyncData[a]||!r.immediate)&&(e._asyncData[a]={data:y(f()??r.default()),pending:y(!d()),error:P(e.payload._errors,a),status:y("idle")});const t={...e._asyncData[a]};t.refresh=t.execute=(i={})=>{if(e._asyncDataPromises[a]){if(i.dedupe===!1)return e._asyncDataPromises[a];e._asyncDataPromises[a].cancelled=!0}if((i._initial||e.isHydrating&&i._initial!==!1)&&d())return f();t.pending.value=!0,t.status.value="pending";const c=new Promise((s,o)=>{try{s(l(e))}catch(_){o(_)}}).then(s=>{if(c.cancelled)return e._asyncDataPromises[a];let o=s;r.transform&&(o=r.transform(s)),r.pick&&(o=B(o,r.pick)),t.data.value=o,t.error.value=null,t.status.value="success"}).catch(s=>{if(c.cancelled)return e._asyncDataPromises[a];t.error.value=s,t.data.value=b(r.default()),t.status.value="error"}).finally(()=>{c.cancelled||(t.pending.value=!1,e.payload.data[a]=t.data.value,t.error.value&&(e.payload._errors[a]=O(t.error.value)),delete e._asyncDataPromises[a])});return e._asyncDataPromises[a]=c,e._asyncDataPromises[a]};const p=()=>t.refresh({_initial:!0}),D=r.server!==!1&&e.payload.serverRendered;{const i=C();if(i&&!i._nuxtOnBeforeMountCbs){i._nuxtOnBeforeMountCbs=[];const s=i._nuxtOnBeforeMountCbs;i&&(w(()=>{s.forEach(o=>{o()}),s.splice(0,s.length)}),m(()=>s.splice(0,s.length)))}D&&e.isHydrating&&d()?(t.pending.value=!1,t.status.value=t.error.value?"error":"success"):i&&(e.payload.serverRendered&&e.isHydrating||r.lazy)&&r.immediate?i._nuxtOnBeforeMountCbs.push(p):r.immediate&&p(),r.watch&&x(r.watch,()=>t.refresh());const c=e.hook("app:data:refresh",s=>{if(!s||s.includes(a))return t.refresh()});i&&m(c)}const h=Promise.resolve(e._asyncDataPromises[a]).then(()=>t);return Object.assign(h,t),h}async function A(n){await new Promise(a=>g(a));const u=n?Array.isArray(n)?n:[n]:void 0;await v().hooks.callHookParallel("app:data:refresh",u)}function B(n,u){const a={};for(const l of u)a[l]=n[l];return a}export{A as r,M as u}; diff --git a/_nuxt/client-db.496c2831.js b/_nuxt/client-db.c8d6108a.js similarity index 99% rename from _nuxt/client-db.496c2831.js rename to _nuxt/client-db.c8d6108a.js index c5362d9..fe87679 100644 --- a/_nuxt/client-db.496c2831.js +++ b/_nuxt/client-db.c8d6108a.js @@ -1 +1 @@ -import{ac as _,ai as T,aj as j,ak as E,al as W,am as B,an as $,ao as P,ap as x,ag as b,aa as k,l as M,aq as J,ad as U,ar as H,j as q}from"./entry.cdff8778.js";const G="memory",Z=()=>{const r=new Map;return{name:G,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function F(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function p(r,...t){try{return F(r(...t))}catch(n){return Promise.reject(n)}}function V(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function Q(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function K(r){if(V(r))return String(r);if(Q(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return K(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function z(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const C="base64:";function X(r){if(typeof r=="string")return r;z();const t=Buffer.from(r).toString("base64");return C+t}function ee(r){return typeof r!="string"||!r.startsWith(C)?r:(z(),Buffer.from(r.slice(C.length),"base64"))}const te=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function re(r,t){if(t=A(t),!t)return r;const n={...r};for(const a of te)n[a]=(l="",...u)=>r[a](t+l,...u);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(u=>u.map(o=>o.slice(t.length))),n}function d(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ne(...r){return d(r.join(":"))}function A(r){return r=d(r),r?r+":":""}const ie="memory",ae=()=>{const r=new Map;return{name:ie,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function se(r={}){const t={mounts:{"":r.driver||ae()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(s=>s.startsWith(e)||i&&e.startsWith(s)).map(s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]})),l=(e,i)=>{if(t.watching){i=d(i);for(const s of t.watchListeners)s(e,i)}},u=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await D(t.mounts[e],l,e)}},o=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h=(e,i,s)=>{const c=new Map,f=m=>{let y=c.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},c.set(m.base,y)),y};for(const m of e){const y=typeof m=="string",v=d(y?m:m.key),w=y?void 0:m.value,I=y||!m.options?i:{...i,...m.options},O=n(v);f(O).items.push({key:v,value:w,relativeKey:O.relativeKey,options:I})}return Promise.all([...c.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return p(c.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return p(c.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(c=>({key:c.relativeKey,options:c.options})),i).then(c=>c.map(f=>({key:ne(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(c=>p(s.driver.getItem,c.relativeKey,c.options).then(f=>({key:c.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return c.getItemRaw?p(c.getItemRaw,s,i):p(c.getItem,s,i).then(f=>ee(f))},async setItem(e,i,s={}){if(i===void 0)return g.removeItem(e);e=d(e);const{relativeKey:c,driver:f}=n(e);f.setItem&&(await p(f.setItem,c,K(i),s),f.watch||l("update",e))},async setItems(e,i){await h(e,i,async s=>{s.driver.setItems&&await p(s.driver.setItems,s.items.map(c=>({key:c.relativeKey,value:K(c.value),options:c.options})),i),s.driver.setItem&&await Promise.all(s.items.map(c=>p(s.driver.setItem,c.relativeKey,K(c.value),c.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:c,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,c,i,s);else if(f.setItem)await p(f.setItem,c,X(i),s);else return;f.watch||l("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMeta:i}),e=d(e);const{relativeKey:s,driver:c}=n(e);c.removeItem&&(await p(c.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(c.removeItem,s+"$",i),c.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:c}=n(e),f=Object.create(null);if(c.getMeta&&Object.assign(f,await p(c.getMeta,s,i)),!i.nativeOnly){const m=await p(c.getItem,s+"$",i).then(y=>_(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(e,i,s={}){return this.setItem(e+"$",i,s)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=A(e);const s=a(e,!0);let c=[];const f=[];for(const m of s){const v=(await p(m.driver.getKeys,m.relativeBase,i)).map(w=>m.mountpoint+d(w)).filter(w=>!c.some(I=>w.startsWith(I)));f.push(...v),c=[m.mountpoint,...c.filter(w=>!w.startsWith(m.mountpoint))]}return e?f.filter(m=>m.startsWith(e)&&!m.endsWith("$")):f.filter(m=>!m.endsWith("$"))},async clear(e,i={}){e=A(e),await Promise.all(a(e,!1).map(async s=>{if(s.driver.clear)return p(s.driver.clear,s.relativeBase,i);if(s.driver.removeItem){const c=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(c.map(f=>s.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>L(e)))},async watch(e){return await u(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await o()}},async unwatch(){t.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((s,c)=>c.length-s.length)),t.mounts[e]=i,t.watching&&Promise.resolve(D(i,l,e)).then(s=>{t.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await L(t.mounts[e]),t.mountpoints=t.mountpoints.filter(s=>s!==e),delete t.mounts[e])},getMount(e=""){e=d(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=d(e),a(e,i.parents).map(c=>({driver:c.driver,base:c.mountpoint}))}};return g}function D(r,t,n){return r.watch?r.watch((a,l)=>t(a,n+l)):()=>{}}async function L(r){typeof r.dispose=="function"&&await p(r.dispose)}function oe(r={}){const t=ue(n,r.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?t.$eq(a,l):Object.keys(l||{}).every(u=>{const o=l[u];if(u.startsWith("$")&&t[u]){const h=t[u];return typeof h=="function"?h(a,o):!1}return n(T(a,u),o)})}return n}function ue(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>(j(a,"$and requires an array as condition"),a.every(l=>r(n,l))),$or:(n,a)=>(j(a,"$or requires an array as condition"),a.some(l=>r(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?r(n,{$contains:l}):r(n,l)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),E(a).every(l=>n.includes(l))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),E(a).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,a)=>(j(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(l=>n.includes(l))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const l=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=l?new RegExp(l[1],l[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function ce(r){const t=oe(),n=(u,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=u.findIndex(c=>t(c,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((c,f)=>u[i-h+f+ +(f>=h)]||null)},a=[(u,o)=>{const h=u.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...u,result:h,total:h.length}},(u,o)=>E(o.sort).forEach(h=>B(u.result,h)),function(o,h,g){var e;if(h.surround){let i=n(((e=o.result)==null?void 0:e.length)===1?g:o.result,h.surround);i=$(P(h.without))(i),i=$(x(h.only))(i),o.surround=i}return o}],l=[(u,o)=>{if(o.skip)return{...u,result:u.result.slice(o.skip),skip:o.skip}},(u,o)=>{if(o.limit)return{...u,result:u.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const c=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(m=>m._path))==null?void 0:s._path),f=g.find(m=>m._path===b(c,"_dir"));f&&(o.dirConfig={_path:f._path,...P(["_"])(f)})}return o},(u,o)=>({...u,result:$(P(o.without))(u.result)}),(u,o)=>({...u,result:$(x(o.only))(u.result)})];return async u=>{const o=await r(),h=u.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,c)=>c(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,c)=>c(s,h,o)||s,e);return h.first?{...W(["skip","limit","total"])(i),result:i.result[0]}:i}}function N(r){const t=ce(r);return async n=>{var u;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(u=l.dirConfig)==null?void 0:u._path,...l.result,_dir:l.dirConfig}),l==null?void 0:l.result)}}var le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fe={exports:{}};(function(r,t){(function(n,a,l){r.exports=l(),r.exports.default=l()})("slugify",le,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(u,o){if(typeof u!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var h=a[o.locale]||{},g=o.replacement===void 0?"-":o.replacement,e=o.trim===void 0?!0:o.trim,i=u.normalize().split("").reduce(function(s,c){var f=h[c];return f===void 0&&(f=n[c]),f===void 0&&(f=c),f===g&&(f=" "),s+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),e&&(i=i.trim()),i=i.replace(/\s+/g,g),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(u){Object.assign(n,u)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(k).join(" ");function he(r,t){const{navigation:n}=M().public.content,a=u=>({...pe(["title",...n.fields])(u),...de(u==null?void 0:u.navigation)?u.navigation:{}}),l=r.sort((u,o)=>u._path.localeCompare(o._path)).reduce((u,o)=>{const h=o._path.substring(1).split("/"),g=o._id.split(":").slice(1),e=!!g[g.length-1].match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...a(f),...f._draft?{_draft:!0}:{}}),s=i(o);if(e){const f=t[s._path];if(typeof(f==null?void 0:f.navigation)<"u"&&!(f!=null&&f.navigation))return u;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(u.push(s),u):(h.slice(0,-1).reduce((f,m,y)=>{const v="/"+h.slice(0,y+1).join("/"),w=t[v];if(typeof(w==null?void 0:w.navigation)<"u"&&!w.navigation)return[];let I=f.find(O=>O._path===v);return I||(I={title:me(m),_path:v,_file:o._file,children:[],...a(w)},f.push(I)),I.children},u).push(s),u)},[]);return Y(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function Y(r){var n;const t=r.sort((a,l)=>ge.compare(a._file,l._file));for(const a of t)(n=a.children)!=null&&n.length?Y(a.children):delete a.children,delete a._file;return r}function pe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function de(r){return Object.prototype.toString.call(r)==="[object Object]"}const ye=r=>H(r,M().public.content.api.baseURL),we=re(se({driver:Z()}),"@content");function ve(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=U().getPreviewToken();if(a){const u=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(u.ignoreSources)){const g=u.ignoreSources.map(e=>`cache:${e.trim()}:`);for(const e of n)g.some(i=>e.startsWith(i))&&n.delete(e)}const o=await r.getKeys(`${a}:`),h=await Promise.all(o.map(g=>r.getItem(g)));for(const g of h)n.delete(`cache:${g._id}`),g.__deleted||n.add(`${a}:${g._id}`)}return await Promise.all(Array.from(n).map(u=>r.getItem(u)))}return{storage:r,fetch:N(t),query:n=>J(N(t),{initialParams:n,legacy:!0})}}let R=null,S=null;async function Ie(){return S?await S:R||(S=Ae(),R=await S),R}async function Ae(){const r=q(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:u}=await $fetch(ye(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",u),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function Oe(r){const t=await Ie();if(!U().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((u,o)=>{var g;((g=o.title)==null?void 0:g.toLowerCase())==="dir"&&(o.title=void 0);const h=o._path.split("/").slice(0,-1).join("/")||"/";return u[h]={...o,...o.body},u},{});return he(n,l)}export{we as contentStorage,ve as createDB,Oe as generateNavigation,Ie as useContentDatabase}; +import{ac as _,ai as T,aj as j,ak as E,al as W,am as B,an as $,ao as P,ap as x,ag as b,aa as k,l as M,aq as J,ad as U,ar as H,j as q}from"./entry.3092cf76.js";const G="memory",Z=()=>{const r=new Map;return{name:G,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function F(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function p(r,...t){try{return F(r(...t))}catch(n){return Promise.reject(n)}}function V(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function Q(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function K(r){if(V(r))return String(r);if(Q(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return K(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function z(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const C="base64:";function X(r){if(typeof r=="string")return r;z();const t=Buffer.from(r).toString("base64");return C+t}function ee(r){return typeof r!="string"||!r.startsWith(C)?r:(z(),Buffer.from(r.slice(C.length),"base64"))}const te=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function re(r,t){if(t=A(t),!t)return r;const n={...r};for(const a of te)n[a]=(l="",...u)=>r[a](t+l,...u);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(u=>u.map(o=>o.slice(t.length))),n}function d(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ne(...r){return d(r.join(":"))}function A(r){return r=d(r),r?r+":":""}const ie="memory",ae=()=>{const r=new Map;return{name:ie,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function se(r={}){const t={mounts:{"":r.driver||ae()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(s=>s.startsWith(e)||i&&e.startsWith(s)).map(s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]})),l=(e,i)=>{if(t.watching){i=d(i);for(const s of t.watchListeners)s(e,i)}},u=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await D(t.mounts[e],l,e)}},o=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h=(e,i,s)=>{const c=new Map,f=m=>{let y=c.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},c.set(m.base,y)),y};for(const m of e){const y=typeof m=="string",v=d(y?m:m.key),w=y?void 0:m.value,I=y||!m.options?i:{...i,...m.options},O=n(v);f(O).items.push({key:v,value:w,relativeKey:O.relativeKey,options:I})}return Promise.all([...c.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return p(c.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return p(c.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(c=>({key:c.relativeKey,options:c.options})),i).then(c=>c.map(f=>({key:ne(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(c=>p(s.driver.getItem,c.relativeKey,c.options).then(f=>({key:c.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:c}=n(e);return c.getItemRaw?p(c.getItemRaw,s,i):p(c.getItem,s,i).then(f=>ee(f))},async setItem(e,i,s={}){if(i===void 0)return g.removeItem(e);e=d(e);const{relativeKey:c,driver:f}=n(e);f.setItem&&(await p(f.setItem,c,K(i),s),f.watch||l("update",e))},async setItems(e,i){await h(e,i,async s=>{s.driver.setItems&&await p(s.driver.setItems,s.items.map(c=>({key:c.relativeKey,value:K(c.value),options:c.options})),i),s.driver.setItem&&await Promise.all(s.items.map(c=>p(s.driver.setItem,c.relativeKey,K(c.value),c.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:c,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,c,i,s);else if(f.setItem)await p(f.setItem,c,X(i),s);else return;f.watch||l("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMeta:i}),e=d(e);const{relativeKey:s,driver:c}=n(e);c.removeItem&&(await p(c.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(c.removeItem,s+"$",i),c.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:c}=n(e),f=Object.create(null);if(c.getMeta&&Object.assign(f,await p(c.getMeta,s,i)),!i.nativeOnly){const m=await p(c.getItem,s+"$",i).then(y=>_(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(e,i,s={}){return this.setItem(e+"$",i,s)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=A(e);const s=a(e,!0);let c=[];const f=[];for(const m of s){const v=(await p(m.driver.getKeys,m.relativeBase,i)).map(w=>m.mountpoint+d(w)).filter(w=>!c.some(I=>w.startsWith(I)));f.push(...v),c=[m.mountpoint,...c.filter(w=>!w.startsWith(m.mountpoint))]}return e?f.filter(m=>m.startsWith(e)&&!m.endsWith("$")):f.filter(m=>!m.endsWith("$"))},async clear(e,i={}){e=A(e),await Promise.all(a(e,!1).map(async s=>{if(s.driver.clear)return p(s.driver.clear,s.relativeBase,i);if(s.driver.removeItem){const c=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(c.map(f=>s.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>L(e)))},async watch(e){return await u(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await o()}},async unwatch(){t.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((s,c)=>c.length-s.length)),t.mounts[e]=i,t.watching&&Promise.resolve(D(i,l,e)).then(s=>{t.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await L(t.mounts[e]),t.mountpoints=t.mountpoints.filter(s=>s!==e),delete t.mounts[e])},getMount(e=""){e=d(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=d(e),a(e,i.parents).map(c=>({driver:c.driver,base:c.mountpoint}))}};return g}function D(r,t,n){return r.watch?r.watch((a,l)=>t(a,n+l)):()=>{}}async function L(r){typeof r.dispose=="function"&&await p(r.dispose)}function oe(r={}){const t=ue(n,r.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?t.$eq(a,l):Object.keys(l||{}).every(u=>{const o=l[u];if(u.startsWith("$")&&t[u]){const h=t[u];return typeof h=="function"?h(a,o):!1}return n(T(a,u),o)})}return n}function ue(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>(j(a,"$and requires an array as condition"),a.every(l=>r(n,l))),$or:(n,a)=>(j(a,"$or requires an array as condition"),a.some(l=>r(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?r(n,{$contains:l}):r(n,l)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),E(a).every(l=>n.includes(l))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),E(a).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,a)=>(j(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(l=>n.includes(l))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const l=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=l?new RegExp(l[1],l[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function ce(r){const t=oe(),n=(u,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=u.findIndex(c=>t(c,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((c,f)=>u[i-h+f+ +(f>=h)]||null)},a=[(u,o)=>{const h=u.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...u,result:h,total:h.length}},(u,o)=>E(o.sort).forEach(h=>B(u.result,h)),function(o,h,g){var e;if(h.surround){let i=n(((e=o.result)==null?void 0:e.length)===1?g:o.result,h.surround);i=$(P(h.without))(i),i=$(x(h.only))(i),o.surround=i}return o}],l=[(u,o)=>{if(o.skip)return{...u,result:u.result.slice(o.skip),skip:o.skip}},(u,o)=>{if(o.limit)return{...u,result:u.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const c=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(m=>m._path))==null?void 0:s._path),f=g.find(m=>m._path===b(c,"_dir"));f&&(o.dirConfig={_path:f._path,...P(["_"])(f)})}return o},(u,o)=>({...u,result:$(P(o.without))(u.result)}),(u,o)=>({...u,result:$(x(o.only))(u.result)})];return async u=>{const o=await r(),h=u.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,c)=>c(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,c)=>c(s,h,o)||s,e);return h.first?{...W(["skip","limit","total"])(i),result:i.result[0]}:i}}function N(r){const t=ce(r);return async n=>{var u;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(u=l.dirConfig)==null?void 0:u._path,...l.result,_dir:l.dirConfig}),l==null?void 0:l.result)}}var le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fe={exports:{}};(function(r,t){(function(n,a,l){r.exports=l(),r.exports.default=l()})("slugify",le,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(u,o){if(typeof u!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var h=a[o.locale]||{},g=o.replacement===void 0?"-":o.replacement,e=o.trim===void 0?!0:o.trim,i=u.normalize().split("").reduce(function(s,c){var f=h[c];return f===void 0&&(f=n[c]),f===void 0&&(f=c),f===g&&(f=" "),s+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),e&&(i=i.trim()),i=i.replace(/\s+/g,g),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(u){Object.assign(n,u)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(k).join(" ");function he(r,t){const{navigation:n}=M().public.content,a=u=>({...pe(["title",...n.fields])(u),...de(u==null?void 0:u.navigation)?u.navigation:{}}),l=r.sort((u,o)=>u._path.localeCompare(o._path)).reduce((u,o)=>{const h=o._path.substring(1).split("/"),g=o._id.split(":").slice(1),e=!!g[g.length-1].match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...a(f),...f._draft?{_draft:!0}:{}}),s=i(o);if(e){const f=t[s._path];if(typeof(f==null?void 0:f.navigation)<"u"&&!(f!=null&&f.navigation))return u;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(u.push(s),u):(h.slice(0,-1).reduce((f,m,y)=>{const v="/"+h.slice(0,y+1).join("/"),w=t[v];if(typeof(w==null?void 0:w.navigation)<"u"&&!w.navigation)return[];let I=f.find(O=>O._path===v);return I||(I={title:me(m),_path:v,_file:o._file,children:[],...a(w)},f.push(I)),I.children},u).push(s),u)},[]);return Y(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function Y(r){var n;const t=r.sort((a,l)=>ge.compare(a._file,l._file));for(const a of t)(n=a.children)!=null&&n.length?Y(a.children):delete a.children,delete a._file;return r}function pe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function de(r){return Object.prototype.toString.call(r)==="[object Object]"}const ye=r=>H(r,M().public.content.api.baseURL),we=re(se({driver:Z()}),"@content");function ve(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=U().getPreviewToken();if(a){const u=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(u.ignoreSources)){const g=u.ignoreSources.map(e=>`cache:${e.trim()}:`);for(const e of n)g.some(i=>e.startsWith(i))&&n.delete(e)}const o=await r.getKeys(`${a}:`),h=await Promise.all(o.map(g=>r.getItem(g)));for(const g of h)n.delete(`cache:${g._id}`),g.__deleted||n.add(`${a}:${g._id}`)}return await Promise.all(Array.from(n).map(u=>r.getItem(u)))}return{storage:r,fetch:N(t),query:n=>J(N(t),{initialParams:n,legacy:!0})}}let R=null,S=null;async function Ie(){return S?await S:R||(S=Ae(),R=await S),R}async function Ae(){const r=q(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:u}=await $fetch(ye(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",u),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function Oe(r){const t=await Ie();if(!U().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((u,o)=>{var g;((g=o.title)==null?void 0:g.toLowerCase())==="dir"&&(o.title=void 0);const h=o._path.split("/").slice(0,-1).join("/")||"/";return u[h]={...o,...o.body},u},{});return he(n,l)}export{we as contentStorage,ve as createDB,Oe as generateNavigation,Ie as useContentDatabase}; diff --git a/_nuxt/default.b99bcfb9.js b/_nuxt/default.564678f6.js similarity index 89% rename from _nuxt/default.b99bcfb9.js rename to _nuxt/default.564678f6.js index efba2fa..f12e4d6 100644 --- a/_nuxt/default.b99bcfb9.js +++ b/_nuxt/default.564678f6.js @@ -1 +1 @@ -import{k as e,c as o,e as a,Y as s,b as n}from"./entry.cdff8778.js";const d={},t={class:"max-w-2xl px-4 py-10 m-auto bg-white sm:px-8 sm:shadow dark:bg-gray-800 ring-1 ring-gray-200 dark:ring-gray-700 sm:rounded-lg"},p={class:"max-w-none prose dark:prose-invert prose-pre:bg-gray-100 dark:prose-pre:bg-gray-900 hover:prose-a:text-primary-400 prose-a:font-normal prose-a:no-underline prose-a:border-dashed prose-a:border-b hover:prose-a:border-solid hover:prose-a:border-primary-400"};function c(r,i){return n(),o("div",t,[a("main",p,[s(r.$slots,"default")])])}const m=e(d,[["render",c]]);export{m as default}; +import{k as e,c as o,e as a,Y as s,b as n}from"./entry.3092cf76.js";const d={},t={class:"max-w-2xl px-4 py-10 m-auto bg-white sm:px-8 sm:shadow dark:bg-gray-800 ring-1 ring-gray-200 dark:ring-gray-700 sm:rounded-lg"},p={class:"max-w-none prose dark:prose-invert prose-pre:bg-gray-100 dark:prose-pre:bg-gray-900 hover:prose-a:text-primary-400 prose-a:font-normal prose-a:no-underline prose-a:border-dashed prose-a:border-b hover:prose-a:border-solid hover:prose-a:border-primary-400"};function c(r,i){return n(),o("div",t,[a("main",p,[s(r.$slots,"default")])])}const m=e(d,[["render",c]]);export{m as default}; diff --git a/_nuxt/document-driven.0aecab9a.js b/_nuxt/document-driven.79cda49f.js similarity index 71% rename from _nuxt/document-driven.0aecab9a.js rename to _nuxt/document-driven.79cda49f.js index 00b2398..4f56ae8 100644 --- a/_nuxt/document-driven.0aecab9a.js +++ b/_nuxt/document-driven.79cda49f.js @@ -1 +1 @@ -import h from"./DocumentDrivenEmpty.d94163fa.js";import L from"./ContentRenderer.c98c212e.js";import R from"./DocumentDrivenNotFound.24e66a17.js";import{j as g,d as c,G as C,P as x,s as b,H as k,I as B,r as N,J as y,K as S,L as T,M as l,T as j,N as u,O as A,Q as w,S as D,R as E,U as H,l as O,V as $,b as d,c as q,g as f,w as _,W as v}from"./entry.cdff8778.js";import{u as I}from"./head.da030dfb.js";import"./ContentRendererMarkdown.vue.95e9c3a5.js";const M=c({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(o,n){const e=await y[o.name]().then(t=>t.default||t);return()=>l(e,o.layoutProps,n.slots)}}),V=c({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(o,n){const e=g(),t=C(x),a=t===b()?k():t,s=B(()=>u(o.name)??a.meta.layout??"default"),r=N();n.expose({layoutRef:r});const m=e.deferHydration();return()=>{const p=s.value&&s.value in y,i=a.meta.layoutTransition??S;return T(j,p&&i,{default:()=>l(D,{suspensible:!0,onResolve:()=>{w(m)}},{default:()=>l(F,{layoutProps:A(n.attrs,{ref:r}),key:s.value,name:s.value,shouldProvide:!o.name,hasTransition:!!i},n.slots)})}).default()}}}),F=c({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(o,n){const e=o.name;return o.shouldProvide&&E(H,{isCurrent:t=>e===(t.meta.layout??"default")}),()=>{var t,a;return!e||typeof e=="string"&&!(e in y)?(a=(t=n.slots).default)==null?void 0:a.call(t):l(M,{key:e,layoutProps:o.layoutProps,name:e},n.slots)}}}),G={class:"document-driven-page"},X=c({__name:"document-driven",setup(o){const{contentHead:n}=O().public.content,{page:e,layout:t}=$();return e.value,n&&I(e),(a,s)=>{const r=h,m=L,p=R,i=V;return d(),q("div",G,[f(i,{name:u(t)||"default"},{default:_(()=>[u(e)?(d(),v(m,{key:u(e)._id,value:u(e)},{empty:_(({value:P})=>[f(r,{value:P},null,8,["value"])]),_:1},8,["value"])):(d(),v(p,{key:1}))]),_:1},8,["name"])])}}});export{X as default}; +import h from"./DocumentDrivenEmpty.b7c26fed.js";import L from"./ContentRenderer.fccd0eef.js";import R from"./DocumentDrivenNotFound.f57cfed9.js";import{j as g,d as c,H as C,P as x,s as b,I as k,J as B,r as N,K as y,L as S,M as T,N as l,T as j,O as u,Q as A,B as w,S as D,R as E,U as H,l as O,V as $,b as d,c as q,g as f,w as _,W as v}from"./entry.3092cf76.js";import{u as I}from"./head.23c934d3.js";import"./ContentRendererMarkdown.vue.e7d1ce30.js";const M=c({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(o,n){const e=await y[o.name]().then(t=>t.default||t);return()=>l(e,o.layoutProps,n.slots)}}),V=c({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(o,n){const e=g(),t=C(x),a=t===b()?k():t,s=B(()=>u(o.name)??a.meta.layout??"default"),r=N();n.expose({layoutRef:r});const m=e.deferHydration();return()=>{const p=s.value&&s.value in y,i=a.meta.layoutTransition??S;return T(j,p&&i,{default:()=>l(D,{suspensible:!0,onResolve:()=>{w(m)}},{default:()=>l(F,{layoutProps:A(n.attrs,{ref:r}),key:s.value,name:s.value,shouldProvide:!o.name,hasTransition:!!i},n.slots)})}).default()}}}),F=c({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(o,n){const e=o.name;return o.shouldProvide&&E(H,{isCurrent:t=>e===(t.meta.layout??"default")}),()=>{var t,a;return!e||typeof e=="string"&&!(e in y)?(a=(t=n.slots).default)==null?void 0:a.call(t):l(M,{key:e,layoutProps:o.layoutProps,name:e},n.slots)}}}),J={class:"document-driven-page"},X=c({__name:"document-driven",setup(o){const{contentHead:n}=O().public.content,{page:e,layout:t}=$();return e.value,n&&I(e),(a,s)=>{const r=h,m=L,p=R,i=V;return d(),q("div",J,[f(i,{name:u(t)||"default"},{default:_(()=>[u(e)?(d(),v(m,{key:u(e)._id,value:u(e)},{empty:_(({value:P})=>[f(r,{value:P},null,8,["value"])]),_:1},8,["value"])):(d(),v(p,{key:1}))]),_:1},8,["name"])])}}});export{X as default}; diff --git a/_nuxt/entry.cdff8778.js b/_nuxt/entry.3092cf76.js similarity index 91% rename from _nuxt/entry.cdff8778.js rename to _nuxt/entry.3092cf76.js index 9a9c19c..0c51330 100644 --- a/_nuxt/entry.cdff8778.js +++ b/_nuxt/entry.3092cf76.js @@ -1,9 +1,9 @@ -function ds(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const pe={},on=[],Je=()=>{},gu=()=>!1,mu=/^on[^a-z]/,tr=e=>mu.test(e),hs=e=>e.startsWith("onUpdate:"),be=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yu=Object.prototype.hasOwnProperty,ne=(e,t)=>yu.call(e,t),q=Array.isArray,sn=e=>nr(e)==="[object Map]",Va=e=>nr(e)==="[object Set]",_u=e=>nr(e)==="[object RegExp]",Y=e=>typeof e=="function",me=e=>typeof e=="string",gs=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",ms=e=>he(e)&&Y(e.then)&&Y(e.catch),qa=Object.prototype.toString,nr=e=>qa.call(e),vu=e=>nr(e).slice(8,-1),Wa=e=>nr(e)==="[object Object]",ys=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bu=/-(\w)/g,ot=Vr(e=>e.replace(bu,(t,n)=>n?n.toUpperCase():"")),wu=/\B([A-Z])/g,vn=Vr(e=>e.replace(wu,"-$1").toLowerCase()),qr=Vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ao=Vr(e=>e?`on${qr(e)}`:""),Vn=(e,t)=>!Object.is(e,t),$n=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Eu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qa=e=>{const t=me(e)?Number(e):NaN;return isNaN(t)?e:t};let si;const So=()=>si||(si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fn(e){if(q(e)){const t={};for(let n=0;n{if(n){const r=n.split(Pu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ct(e){let t="";if(me(e))t=e;else if(q(e))for(let n=0;nme(e)?e:e==null?"":q(e)||he(e)&&(e.toString===qa||!Y(e.toString))?JSON.stringify(e,Ya,2):String(e),Ya=(e,t)=>t&&t.__v_isRef?Ya(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Va(t)?{[`Set(${t.size})`]:[...t.values()]}:he(t)&&!q(t)&&!Wa(t)?String(t):t;let Ve;class Au{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ve;try{return Ve=this,t()}finally{Ve=n}}}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ga=e=>(e.w&It)>0,Za=e=>(e.n&It)>0,Lu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":q(e)?ys(n)&&a.push(i.get("length")):(a.push(i.get(zt)),sn(e)&&a.push(i.get(Ro)));break;case"delete":q(e)||(a.push(i.get(zt)),sn(e)&&a.push(i.get(Ro)));break;case"set":sn(e)&&a.push(i.get(zt));break}if(a.length===1)a[0]&&Ao(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Ao(_s(c))}}function Ao(e,t){const n=q(e)?e:[...e];for(const r of n)r.computed&&ai(r);for(const r of n)r.computed||ai(r)}function ai(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Nu(e,t){var n;return(n=Sr.get(e))==null?void 0:n.get(t)}const $u=ds("__proto__,__v_isRef,__isVue"),nc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gs)),Hu=bs(),ju=bs(!1,!0),Bu=bs(!0),ci=Fu();function Fu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=te(this);for(let s=0,i=this.length;s{e[t]=function(...n){bn();const r=te(this)[t].apply(this,n);return wn(),r}}),e}function Du(e){const t=te(this);return $e(t,"has",e),t.hasOwnProperty(e)}function bs(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?rf:ac:t?ic:sc).get(r))return r;const i=q(r);if(!e){if(i&&ne(ci,o))return Reflect.get(ci,o,s);if(o==="hasOwnProperty")return Du}const a=Reflect.get(r,o,s);return(gs(o)?nc.has(o):$u(o))||(e||$e(r,"get",o),t)?a:we(a)?i&&ys(o)?a:a.value:he(a)?e?cc(a):st(a):a}}const Uu=rc(),zu=rc(!0);function rc(e=!1){return function(n,r,o,s){let i=n[r];if(Vt(i)&&we(i)&&!we(o))return!1;if(!e&&(!kr(o)&&!Vt(o)&&(i=te(i),o=te(o)),!q(n)&&we(i)&&!we(o)))return i.value=o,!0;const a=q(n)&&ys(r)?Number(r)e,Wr=e=>Reflect.getPrototypeOf(e);function ir(e,t,n=!1,r=!1){e=e.__v_raw;const o=te(e),s=te(t);n||(t!==s&&$e(o,"get",t),$e(o,"get",s));const{has:i}=Wr(o),a=r?ws:n?Ps:qn;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function ar(e,t=!1){const n=this.__v_raw,r=te(n),o=te(e);return t||(e!==o&&$e(r,"has",e),$e(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function cr(e,t=!1){return e=e.__v_raw,!t&&$e(te(e),"iterate",zt),Reflect.get(e,"size",e)}function li(e){e=te(e);const t=te(this);return Wr(t).has.call(t,e)||(t.add(e),dt(t,"add",e,e)),this}function ui(e,t){t=te(t);const n=te(this),{has:r,get:o}=Wr(n);let s=r.call(n,e);s||(e=te(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Vn(t,i)&&dt(n,"set",e,t):dt(n,"add",e,t),this}function fi(e){const t=te(this),{has:n,get:r}=Wr(t);let o=n.call(t,e);o||(e=te(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&dt(t,"delete",e,void 0),s}function di(){const e=te(this),t=e.size!==0,n=e.clear();return t&&dt(e,"clear",void 0,void 0),n}function lr(e,t){return function(r,o){const s=this,i=s.__v_raw,a=te(i),c=t?ws:e?Ps:qn;return!e&&$e(a,"iterate",zt),i.forEach((l,u)=>r.call(o,c(l),c(u),s))}}function ur(e,t,n){return function(...r){const o=this.__v_raw,s=te(o),i=sn(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?ws:t?Ps:qn;return!t&&$e(s,"iterate",c?Ro:zt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function mt(e){return function(...t){return e==="delete"?!1:this}}function Ju(){const e={get(s){return ir(this,s)},get size(){return cr(this)},has:ar,add:li,set:ui,delete:fi,clear:di,forEach:lr(!1,!1)},t={get(s){return ir(this,s,!1,!0)},get size(){return cr(this)},has:ar,add:li,set:ui,delete:fi,clear:di,forEach:lr(!1,!0)},n={get(s){return ir(this,s,!0)},get size(){return cr(this,!0)},has(s){return ar.call(this,s,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:lr(!0,!1)},r={get(s){return ir(this,s,!0,!0)},get size(){return cr(this,!0)},has(s){return ar.call(this,s,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:lr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ur(s,!1,!1),n[s]=ur(s,!0,!1),t[s]=ur(s,!1,!0),r[s]=ur(s,!0,!0)}),[e,n,t,r]}const[Xu,Yu,Gu,Zu]=Ju();function Es(e,t){const n=t?e?Zu:Gu:e?Yu:Xu;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ne(n,o)&&o in r?n:r,o,s)}const ef={get:Es(!1,!1)},tf={get:Es(!1,!0)},nf={get:Es(!0,!1)},sc=new WeakMap,ic=new WeakMap,ac=new WeakMap,rf=new WeakMap;function of(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sf(e){return e.__v_skip||!Object.isExtensible(e)?0:of(vu(e))}function st(e){return Vt(e)?e:Cs(e,!1,oc,ef,sc)}function Tt(e){return Cs(e,!1,Qu,tf,ic)}function cc(e){return Cs(e,!0,Wu,nf,ac)}function Cs(e,t,n,r,o){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=sf(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function an(e){return Vt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function kr(e){return!!(e&&e.__v_isShallow)}function lc(e){return an(e)||Vt(e)}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function uc(e){return Tr(e,"__v_skip",!0),e}const qn=e=>he(e)?st(e):e,Ps=e=>he(e)?cc(e):e;function fc(e){xt&&qe&&(e=te(e),tc(e.dep||(e.dep=_s())))}function dc(e,t){e=te(e);const n=e.dep;n&&Ao(n)}function we(e){return!!(e&&e.__v_isRef===!0)}function xe(e){return hc(e,!1)}function St(e){return hc(e,!0)}function hc(e,t){return we(e)?e:new af(e,t)}class af{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:te(t),this._value=n?t:qn(t)}get value(){return fc(this),this._value}set value(t){const n=this.__v_isShallow||kr(t)||Vt(t);t=n?t:te(t),Vn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:qn(t),dc(this))}}function se(e){return we(e)?e.value:e}const cf={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return we(o)&&!we(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function pc(e){return an(e)?e:new Proxy(e,cf)}function n0(e){const t=q(e)?new Array(e.length):{};for(const n in e)t[n]=mc(e,n);return t}class lf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Nu(te(this._object),this._key)}}class uf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gc(e,t,n){return we(e)?e:Y(e)?new uf(e):he(e)&&arguments.length>1?mc(e,t,n):xe(e)}function mc(e,t,n){const r=e[t];return we(r)?r:new lf(e,t,n)}class ff{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new vs(t,()=>{this._dirty||(this._dirty=!0,dc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=te(this);return fc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function df(e,t,n=!1){let r,o;const s=Y(e);return s?(r=e,o=Je):(r=e.get,o=e.set),new ff(r,o,s||!o,n)}function kt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){En(s,t,n)}return o}function Ue(e,t,n,r){if(Y(e)){const s=kt(e,t,n,r);return s&&ms(s)&&s.catch(i=>{En(i,t,n)}),s}const o=[];for(let s=0;s>>1;Qn(Se[r])nt&&Se.splice(t,1)}function vc(e){q(e)?cn.push(...e):(!ft||!ft.includes(e,e.allowRecurse?Dt+1:Dt))&&cn.push(e),_c()}function hi(e,t=Wn?nt+1:0){for(;tQn(n)-Qn(r)),Dt=0;Dte.id==null?1/0:e.id,mf=(e,t)=>{const n=Qn(e)-Qn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bc(e){Io=!1,Wn=!0,Se.sort(mf);const t=Je;try{for(nt=0;ntme(h)?h.trim():h)),f&&(o=n.map(Eu))}let a,c=r[a=ao(t)]||r[a=ao(ot(t))];!c&&s&&(c=r[a=ao(vn(t))]),c&&Ue(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ue(l,e,6,o)}}function wc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Y(e)){const c=l=>{const u=wc(l,t,!0);u&&(a=!0,be(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(he(e)&&r.set(e,null),null):(q(s)?s.forEach(c=>i[c]=null):be(i,s),he(e)&&r.set(e,i),i)}function Jr(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,vn(t))||ne(e,t))}let Pe=null,Xr=null;function Ar(e){const t=Pe;return Pe=e,Xr=e&&e.type.__scopeId||null,t}function r0(e){Xr=e}function o0(){Xr=null}function Cn(e,t=Pe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ti(-1);const s=Ar(t);let i;try{i=e(...o)}finally{Ar(s),r._d&&Ti(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function co(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:y,inheritAttrs:b}=e;let C,_;const g=Ar(e);try{if(n.shapeFlag&4){const v=o||r;C=Fe(u.call(v,v,f,s,h,d,y)),_=c}else{const v=t;C=Fe(v.length>1?v(s,{attrs:c,slots:a,emit:l}):v(s,null)),_=t.props?c:vf(c)}}catch(v){Bn.length=0,En(v,e,1),C=re(Re)}let E=C;if(_&&b!==!1){const v=Object.keys(_),{shapeFlag:x}=E;v.length&&x&7&&(i&&v.some(hs)&&(_=bf(_,i)),E=ht(E,_))}return n.dirs&&(E=ht(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),C=E,Ar(g),C}function _f(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},bf=(e,t)=>{const n={};for(const r in e)(!hs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wf(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?pi(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,Ef={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){e==null?Cf(t,n,r,o,s,i,a,c,l):Pf(e,t,n,r,o,i,a,c,l)},hydrate:xf,create:Ss,normalize:Tf},Cc=Ef;function Jn(e,t){const n=e.props&&e.props[t];Y(n)&&n()}function Cf(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Ss(e,o,r,t,f,n,s,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Jn(e,"onPending"),Jn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),ln(d,e.ssFallback)):d.resolve(!1,!0)}function Pf(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:b,isInFallback:C,isHydrating:_}=f;if(b)f.pendingBranch=d,We(d,b)?(c(b,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():C&&(c(y,h,n,r,o,null,s,i,a),ln(f,h))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=b):l(b,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),C?(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(y,h,n,r,o,null,s,i,a),ln(f,h))):y&&We(d,y)?(c(y,d,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(y&&We(d,y))c(y,d,n,r,o,f,s,i,a),ln(f,d);else if(Jn(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:E}=f;g>0?setTimeout(()=>{f.pendingId===E&&f.fallback(h)},g):g===0&&f.fallback(h)}}function Ss(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:d,um:h,n:y,o:{parentNode:b,remove:C}}=l;let _;const g=Sf(e);g&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const E=e.props?Qa(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,k=!1){const{vnode:O,activeBranch:S,pendingBranch:B,pendingId:$,effects:Q,parentComponent:j,container:W}=v;if(v.isHydrating)v.isHydrating=!1;else if(!x){const ee=S&&B.transition&&B.transition.mode==="out-in";ee&&(S.transition.afterLeave=()=>{$===v.pendingId&&d(B,W,oe,0)});let{anchor:oe}=v;S&&(oe=y(S),h(S,j,v,!0)),ee||d(B,W,oe,0)}ln(v,B),v.pendingBranch=null,v.isInFallback=!1;let D=v.parent,ye=!1;for(;D;){if(D.pendingBranch){D.effects.push(...Q),ye=!0;break}D=D.parent}ye||vc(Q),v.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Jn(O,"onResolve")},fallback(x){if(!v.pendingBranch)return;const{vnode:k,activeBranch:O,parentComponent:S,container:B,isSVG:$}=v;Jn(k,"onFallback");const Q=y(O),j=()=>{v.isInFallback&&(f(null,x,B,Q,S,null,$,a,c),ln(v,x))},W=x.transition&&x.transition.mode==="out-in";W&&(O.transition.afterLeave=j),v.isInFallback=!0,h(O,S,null,!0),W||j()},move(x,k,O){v.activeBranch&&d(v.activeBranch,x,k,O),v.container=x},next(){return v.activeBranch&&y(v.activeBranch)},registerDep(x,k){const O=!!v.pendingBranch;O&&v.deps++;const S=x.vnode.el;x.asyncDep.catch(B=>{En(B,x,0)}).then(B=>{if(x.isUnmounted||v.isUnmounted||v.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:$}=x;Ho(x,B,!1),S&&($.el=S);const Q=!S&&x.subTree.el;k(x,$,b(S||x.subTree.el),S?null:y(x.subTree),v,i,c),Q&&C(Q),Ts(x,$.el),O&&--v.deps===0&&v.resolve()})},unmount(x,k){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,n,x,k),v.pendingBranch&&h(v.pendingBranch,n,x,k)}};return v}function xf(e,t,n,r,o,s,i,a,c){const l=t.suspense=Ss(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function Tf(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=gi(r?n.default:n),e.ssFallback=r?gi(n.fallback):re(Re)}function gi(e){let t;if(Y(e)){const n=hn&&e._c;n&&(e._d=!1,ge()),e=e(),n&&(e._d=!0,t=De,Qc())}return q(e)&&(e=_f(e)),e=Fe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Pc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):vc(e)}function ln(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Ts(r,o))}function Sf(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function kf(e,t){return Yr(e,null,t)}function Rf(e,t){return Yr(e,null,{flush:"post"})}const fr={};function rt(e,t,n){return Yr(e,t,n)}function Yr(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=pe){var a;const c=Ou()===((a=ve)==null?void 0:a.scope)?ve:null;let l,u=!1,f=!1;if(we(e)?(l=()=>e.value,u=kr(e)):an(e)?(l=()=>e,r=!0):q(e)?(f=!0,u=e.some(v=>an(v)||kr(v)),l=()=>e.map(v=>{if(we(v))return v.value;if(an(v))return nn(v);if(Y(v))return kt(v,c,2)})):Y(e)?t?l=()=>kt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ue(e,c,3,[h])}:l=Je,t&&r){const v=l;l=()=>nn(v())}let d,h=v=>{d=g.onStop=()=>{kt(v,c,4)}},y;if(mn)if(h=Je,t?n&&Ue(t,c,3,[l(),f?[]:void 0,h]):l(),o==="sync"){const v=bd();y=v.__watcherHandles||(v.__watcherHandles=[])}else return Je;let b=f?new Array(e.length).fill(fr):fr;const C=()=>{if(g.active)if(t){const v=g.run();(r||u||(f?v.some((x,k)=>Vn(x,b[k])):Vn(v,b)))&&(d&&d(),Ue(t,c,3,[v,b===fr?void 0:f&&b[0]===fr?[]:b,h]),b=v)}else g.run()};C.allowRecurse=!!t;let _;o==="sync"?_=C:o==="post"?_=()=>Ce(C,c&&c.suspense):(C.pre=!0,c&&(C.id=c.uid),_=()=>Qr(C));const g=new vs(l,_);t?n?C():b=g.run():o==="post"?Ce(g.run.bind(g),c&&c.suspense):g.run();const E=()=>{g.stop(),c&&c.scope&&ps(c.scope.effects,g)};return y&&y.push(E),E}function Af(e,t,n){const r=this.proxy,o=me(e)?e.includes(".")?xc(r,e):()=>r[e]:e.bind(r,r);let s;Y(t)?s=t:(s=t.handler,n=t);const i=ve;Ot(this);const a=Yr(o,s.bind(r),n);return i?Ot(i):Rt(),a}function xc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{nn(n,t)});else if(Wa(e))for(const n in e)nn(e[n],t);return e}function tt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i{e.isMounted=!0}),xn(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],Tc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},Of={name:"BaseTransition",props:Tc,setup(e,{slots:t}){const n=Mt(),r=If();let o;return()=>{const s=t.default&&kc(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const b of s)if(b.type!==Re){i=b;break}}const a=te(e),{mode:c}=a;if(r.isLeaving)return lo(i);const l=mi(i);if(!l)return lo(i);const u=Oo(l,a,r,n);Ir(l,u);const f=n.subTree,d=f&&mi(f);let h=!1;const{getTransitionKey:y}=l.type;if(y){const b=y();o===void 0?o=b:b!==o&&(o=b,h=!0)}if(d&&d.type!==Re&&(!We(l,d)||h)){const b=Oo(d,a,r,n);if(Ir(d,b),c==="out-in")return r.isLeaving=!0,b.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},lo(i);c==="in-out"&&l.type!==Re&&(b.delayLeave=(C,_,g)=>{const E=Sc(r,d);E[String(d.key)]=d,C._leaveCb=()=>{_(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=g})}return i}}},Lf=Of;function Sc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Oo(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:b,onAppear:C,onAfterAppear:_,onAppearCancelled:g}=t,E=String(e.key),v=Sc(n,e),x=(S,B)=>{S&&Ue(S,r,9,B)},k=(S,B)=>{const $=B[1];x(S,B),q(S)?S.every(Q=>Q.length<=1)&&$():S.length<=1&&$()},O={mode:s,persisted:i,beforeEnter(S){let B=a;if(!n.isMounted)if(o)B=b||a;else return;S._leaveCb&&S._leaveCb(!0);const $=v[E];$&&We(e,$)&&$.el._leaveCb&&$.el._leaveCb(),x(B,[S])},enter(S){let B=c,$=l,Q=u;if(!n.isMounted)if(o)B=C||c,$=_||l,Q=g||u;else return;let j=!1;const W=S._enterCb=D=>{j||(j=!0,D?x(Q,[S]):x($,[S]),O.delayedLeave&&O.delayedLeave(),S._enterCb=void 0)};B?k(B,[S,W]):W()},leave(S,B){const $=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return B();x(f,[S]);let Q=!1;const j=S._leaveCb=W=>{Q||(Q=!0,B(),W?x(y,[S]):x(h,[S]),S._leaveCb=void 0,v[$]===e&&delete v[$])};v[$]=e,d?k(d,[S,j]):j()},clone(S){return Oo(S,t,n,r)}};return O}function lo(e){if(rr(e))return e=ht(e),e.children=null,e}function mi(e){return rr(e)?e.children?e.children[0]:void 0:e}function Ir(e,t){e.shapeFlag&6&&e.component?Ir(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function kc(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sbe({name:e.name},t,{setup:e}))():e}const Kt=e=>!!e.type.__asyncLoader;function G(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((b,C)=>{a(y,()=>b(f()),()=>C(y),u+1)});throw y}).then(y=>h!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),l=y,y)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=ve;if(l)return()=>uo(l,h);const y=g=>{c=null,En(g,h,13,!r)};if(i&&h.suspense||mn)return d().then(g=>()=>uo(g,h)).catch(g=>(y(g),()=>r?re(r,{error:g}):null));const b=xe(!1),C=xe(),_=xe(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!b.value&&!C.value){const g=new Error(`Async component timed out after ${s}ms.`);y(g),C.value=g}},s),d().then(()=>{b.value=!0,h.parent&&rr(h.parent.vnode)&&Qr(h.parent.update)}).catch(g=>{y(g),C.value=g}),()=>{if(b.value&&l)return uo(l,h);if(C.value&&r)return re(r,{error:C.value});if(n&&!_.value)return re(n)}}})}function uo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=re(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const rr=e=>e.type.__isKeepAlive,Mf={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Mt(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(g,E,v,x,k)=>{const O=g.component;l(g,E,v,0,a),c(O.vnode,g,E,v,O,a,x,g.slotScopeIds,k),Ce(()=>{O.isDeactivated=!1,O.a&&$n(O.a);const S=g.props&&g.props.onVnodeMounted;S&&Le(S,O.parent,g)},a)},r.deactivate=g=>{const E=g.component;l(g,d,null,1,a),Ce(()=>{E.da&&$n(E.da);const v=g.props&&g.props.onVnodeUnmounted;v&&Le(v,E.parent,g),E.isDeactivated=!0},a)};function h(g){fo(g),u(g,n,a,!0)}function y(g){o.forEach((E,v)=>{const x=jo(E.type);x&&(!g||!g(x))&&b(v)})}function b(g){const E=o.get(g);!i||!We(E,i)?h(E):i&&fo(i),o.delete(g),s.delete(g)}rt(()=>[e.include,e.exclude],([g,E])=>{g&&y(v=>On(g,v)),E&&y(v=>!On(E,v))},{flush:"post",deep:!0});let C=null;const _=()=>{C!=null&&o.set(C,ho(n.subTree))};return Pn(_),Oc(_),xn(()=>{o.forEach(g=>{const{subTree:E,suspense:v}=n,x=ho(E);if(g.type===x.type&&g.key===x.key){fo(x);const k=x.component.da;k&&Ce(k,v);return}h(g)})}),()=>{if(C=null,!t.default)return null;const g=t.default(),E=g[0];if(g.length>1)return i=null,g;if(!pn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let v=ho(E);const x=v.type,k=jo(Kt(v)?v.type.__asyncResolved||{}:x),{include:O,exclude:S,max:B}=e;if(O&&(!k||!On(O,k))||S&&k&&On(S,k))return i=v,E;const $=v.key==null?x:v.key,Q=o.get($);return v.el&&(v=ht(v),E.shapeFlag&128&&(E.ssContent=v)),C=$,Q?(v.el=Q.el,v.component=Q.component,v.transition&&Ir(v,v.transition),v.shapeFlag|=512,s.delete($),s.add($)):(s.add($),B&&s.size>parseInt(B,10)&&b(s.values().next().value)),v.shapeFlag|=256,i=v,Ec(E.type)?E:v}}},Nf=Mf;function On(e,t){return q(e)?e.some(n=>On(n,t)):me(e)?e.split(",").includes(t):_u(e)?e.test(t):!1}function Rc(e,t){Ic(e,"a",t)}function Ac(e,t){Ic(e,"da",t)}function Ic(e,t,n=ve){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rr(o.parent.vnode)&&$f(r,t,n,o),o=o.parent}}function $f(e,t,n,r){const o=Gr(t,e,r,!0);Zr(()=>{ps(r[t],o)},n)}function fo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ho(e){return e.shapeFlag&128?e.ssContent:e}function Gr(e,t,n=ve,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;bn(),Ot(n);const a=Ue(t,n,e,i);return Rt(),wn(),a});return r?o.unshift(s):o.push(s),s}}const pt=e=>(t,n=ve)=>(!mn||e==="sp")&&Gr(e,(...r)=>t(...r),n),Hf=pt("bm"),Pn=pt("m"),jf=pt("bu"),Oc=pt("u"),xn=pt("bum"),Zr=pt("um"),Bf=pt("sp"),Ff=pt("rtg"),Df=pt("rtc");function Lc(e,t=ve){Gr("ec",e,t)}const ks="components";function Uf(e,t){return $c(ks,e,!0,t)||e}const Mc=Symbol.for("v-ndc");function Nc(e){return me(e)?$c(ks,e,!1)||e:e||Mc}function $c(e,t,n=!0,r=!1){const o=Pe||ve;if(o){const s=o.type;if(e===ks){const a=jo(s,!1);if(a&&(a===t||a===ot(t)||a===qr(ot(t))))return s}const i=yi(o[e]||s[e],t)||yi(o.appContext[e],t);return!i&&r?s:i}}function yi(e,t){return e&&(e[t]||e[ot(t)]||e[qr(ot(t))])}function zf(e,t,n,r){let o;const s=n&&n[r];if(q(e)||me(e)){o=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;apn(t)?!(t.type===Re||t.type===Ee&&!Hc(t.children)):!0)?e:null}const Lo=e=>e?Gc(e)?Ms(e)||e.proxy:Lo(e.parent):null,Hn=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Lo(e.parent),$root:e=>Lo(e.root),$emit:e=>e.emit,$options:e=>As(e),$forceUpdate:e=>e.f||(e.f=()=>Qr(e.update)),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>Af.bind(e)}),po=(e,t)=>e!==pe&&!e.__isScriptSetup&&ne(e,t),Kf={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(po(r,t))return i[t]=1,r[t];if(o!==pe&&ne(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&ne(l,t))return i[t]=3,s[t];if(n!==pe&&ne(n,t))return i[t]=4,n[t];Mo&&(i[t]=0)}}const u=Hn[t];let f,d;if(u)return t==="$attrs"&&$e(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==pe&&ne(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return po(o,t)?(o[t]=n,!0):r!==pe&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==pe&&ne(e,i)||po(t,i)||(a=s[0])&&ne(a,i)||ne(r,i)||ne(Hn,i)||ne(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function s0(){return Vf().slots}function Vf(){const e=Mt();return e.setupContext||(e.setupContext=el(e))}function _i(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function qf(e){const t=Mt();let n=e();return Rt(),ms(n)&&(n=n.catch(r=>{throw Ot(t),r})),[n,()=>Ot(t)]}let Mo=!0;function Wf(e){const t=As(e),n=e.proxy,r=e.ctx;Mo=!1,t.beforeCreate&&vi(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:y,activated:b,deactivated:C,beforeDestroy:_,beforeUnmount:g,destroyed:E,unmounted:v,render:x,renderTracked:k,renderTriggered:O,errorCaptured:S,serverPrefetch:B,expose:$,inheritAttrs:Q,components:j,directives:W,filters:D}=t;if(l&&Qf(l,r,null),i)for(const oe in i){const ie=i[oe];Y(ie)&&(r[oe]=ie.bind(n))}if(o){const oe=o.call(n,n);he(oe)&&(e.data=st(oe))}if(Mo=!0,s)for(const oe in s){const ie=s[oe],at=Y(ie)?ie.bind(n,n):Y(ie.get)?ie.get.bind(n,n):Je,gt=!Y(ie)&&Y(ie.set)?ie.set.bind(n):Je,Ge=fe({get:at,set:gt});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Ie=>Ge.value=Ie})}if(a)for(const oe in a)jc(a[oe],r,n,oe);if(c){const oe=Y(c)?c.call(n):c;Reflect.ownKeys(oe).forEach(ie=>{un(ie,oe[ie])})}u&&vi(u,e,"c");function ee(oe,ie){q(ie)?ie.forEach(at=>oe(at.bind(n))):ie&&oe(ie.bind(n))}if(ee(Hf,f),ee(Pn,d),ee(jf,h),ee(Oc,y),ee(Rc,b),ee(Ac,C),ee(Lc,S),ee(Df,k),ee(Ff,O),ee(xn,g),ee(Zr,v),ee(Bf,B),q($))if($.length){const oe=e.exposed||(e.exposed={});$.forEach(ie=>{Object.defineProperty(oe,ie,{get:()=>n[ie],set:at=>n[ie]=at})})}else e.exposed||(e.exposed={});x&&e.render===Je&&(e.render=x),Q!=null&&(e.inheritAttrs=Q),j&&(e.components=j),W&&(e.directives=W)}function Qf(e,t,n=Je){q(e)&&(e=No(e));for(const r in e){const o=e[r];let s;he(o)?"default"in o?s=Me(o.from||r,o.default,!0):s=Me(o.from||r):s=Me(o),we(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function vi(e,t,n){Ue(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jc(e,t,n,r){const o=r.includes(".")?xc(n,r):()=>n[r];if(me(e)){const s=t[e];Y(s)&&rt(o,s)}else if(Y(e))rt(o,e.bind(n));else if(he(e))if(q(e))e.forEach(s=>jc(s,t,n,r));else{const s=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(s)&&rt(o,s,e)}}function As(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>Or(c,l,i,!0)),Or(c,t,i)),he(t)&&s.set(t,c),c}function Or(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Or(e,s,n,!0),o&&o.forEach(i=>Or(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jf[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jf={data:bi,props:wi,emits:wi,methods:Ln,computed:Ln,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Ln,directives:Ln,watch:Yf,provide:bi,inject:Xf};function bi(e,t){return t?e?function(){return be(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Xf(e,t){return Ln(No(e),No(t))}function No(e){if(q(e)){const t={};for(let n=0;n1)return n&&Y(t)?t.call(r&&r.proxy):t}}function Fc(){return!!(ve||Pe||Xn)}function ed(e,t,n,r=!1){const o={},s={};Tr(s,eo,1),e.propsDefaults=Object.create(null),Dc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Tt(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function td(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=te(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=Uc(f,t,!0);be(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return he(e)&&r.set(e,on),on;if(q(s))for(let u=0;u-1,h[1]=b<0||y-1||ne(h,"default"))&&a.push(f)}}}const l=[i,a];return he(e)&&r.set(e,l),l}function Ei(e){return e[0]!=="$"}function Ci(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Pi(e,t){return Ci(e)===Ci(t)}function xi(e,t){return q(t)?t.findIndex(n=>Pi(n,e)):Y(t)&&Pi(t,e)?0:-1}const zc=e=>e[0]==="_"||e==="$stable",Is=e=>q(e)?e.map(Fe):[Fe(e)],nd=(e,t,n)=>{if(t._n)return t;const r=Cn((...o)=>Is(t(...o)),n);return r._c=!1,r},Kc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zc(o))continue;const s=e[o];if(Y(s))t[o]=nd(o,s,r);else if(s!=null){const i=Is(s);t[o]=()=>i}}},Vc=(e,t)=>{const n=Is(t);e.slots.default=()=>n},rd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=te(t),Tr(t,"_",n)):Kc(t,e.slots={})}else e.slots={},t&&Vc(e,t);Tr(e.slots,eo,1)},od=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=pe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(be(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Kc(t,o)),i=t}else t&&(Vc(e,t),i={default:1});if(s)for(const a in o)!zc(a)&&!(a in i)&&delete o[a]};function Lr(e,t,n,r,o=!1){if(q(e)){e.forEach((d,h)=>Lr(d,t&&(q(t)?t[h]:t),n,r,o));return}if(Kt(r)&&!o)return;const s=r.shapeFlag&4?Ms(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===pe?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(me(l)?(u[l]=null,ne(f,l)&&(f[l]=null)):we(l)&&(l.value=null)),Y(c))kt(c,a,12,[i,u]);else{const d=me(c),h=we(c);if(d||h){const y=()=>{if(e.f){const b=d?ne(f,c)?f[c]:u[c]:c.value;o?q(b)&&ps(b,s):q(b)?b.includes(s)||b.push(s):d?(u[c]=[s],ne(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,ne(f,c)&&(f[c]=i)):h&&(c.value=i,e.k&&(u[e.k]=i))};i?(y.id=-1,Ce(y,n)):y()}}}let yt=!1;const dr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",hr=e=>e.nodeType===8;function sd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),Rr(),g._vnode=_;return}yt=!1,f(g.firstChild,_,null,null,null),Rr(),g._vnode=_,yt&&console.error("Hydration completed but contains mismatches.")},f=(_,g,E,v,x,k=!1)=>{const O=hr(_)&&_.data==="[",S=()=>b(_,g,E,v,x,O),{type:B,ref:$,shapeFlag:Q,patchFlag:j}=g;let W=_.nodeType;g.el=_,j===-2&&(k=!1,g.dynamicChildren=null);let D=null;switch(B){case dn:W!==3?g.children===""?(c(g.el=o(""),i(_),_),D=_):D=S():(_.data!==g.children&&(yt=!0,_.data=g.children),D=s(_));break;case Re:W!==8||O?D=S():D=s(_);break;case jn:if(O&&(_=s(_),W=_.nodeType),W===1||W===3){D=_;const ye=!g.children.length;for(let ee=0;ee{k=k||!!g.dynamicChildren;const{type:O,props:S,patchFlag:B,shapeFlag:$,dirs:Q}=g,j=O==="input"&&Q||O==="option";if(j||B!==-1){if(Q&&tt(g,null,E,"created"),S)if(j||!k||B&48)for(const D in S)(j&&D.endsWith("value")||tr(D)&&!Nn(D))&&r(_,D,null,S[D],!1,void 0,E);else S.onClick&&r(_,"onClick",null,S.onClick,!1,void 0,E);let W;if((W=S&&S.onVnodeBeforeMount)&&Le(W,E,g),Q&&tt(g,null,E,"beforeMount"),((W=S&&S.onVnodeMounted)||Q)&&Pc(()=>{W&&Le(W,E,g),Q&&tt(g,null,E,"mounted")},v),$&16&&!(S&&(S.innerHTML||S.textContent))){let D=h(_.firstChild,g,_,E,v,x,k);for(;D;){yt=!0;const ye=D;D=D.nextSibling,a(ye)}}else $&8&&_.textContent!==g.children&&(yt=!0,_.textContent=g.children)}return _.nextSibling},h=(_,g,E,v,x,k,O)=>{O=O||!!g.dynamicChildren;const S=g.children,B=S.length;for(let $=0;${const{slotScopeIds:O}=g;O&&(x=x?x.concat(O):O);const S=i(_),B=h(s(_),g,S,E,v,x,k);return B&&hr(B)&&B.data==="]"?s(g.anchor=B):(yt=!0,c(g.anchor=l("]"),S,B),B)},b=(_,g,E,v,x,k)=>{if(yt=!0,g.el=null,k){const B=C(_);for(;;){const $=s(_);if($&&$!==B)a($);else break}}const O=s(_),S=i(_);return a(_),n(null,g,S,O,E,v,dr(S),x),O},C=_=>{let g=0;for(;_;)if(_=s(_),_&&hr(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return s(_);g--}return _};return[u,f]}const Ce=Pc;function id(e){return qc(e)}function ad(e){return qc(e,sd)}function qc(e,t){const n=So();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Je,insertStaticContent:y}=e,b=(p,m,w,P=null,R=null,A=null,H=!1,L=null,M=!!m.dynamicChildren)=>{if(p===m)return;p&&!We(p,m)&&(P=T(p),Ie(p,R,A,!0),p=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:I,ref:K,shapeFlag:U}=m;switch(I){case dn:C(p,m,w,P);break;case Re:_(p,m,w,P);break;case jn:p==null&&g(m,w,P,H);break;case Ee:j(p,m,w,P,R,A,H,L,M);break;default:U&1?x(p,m,w,P,R,A,H,L,M):U&6?W(p,m,w,P,R,A,H,L,M):(U&64||U&128)&&I.process(p,m,w,P,R,A,H,L,M,N)}K!=null&&R&&Lr(K,p&&p.ref,A,m||p,!m)},C=(p,m,w,P)=>{if(p==null)r(m.el=a(m.children),w,P);else{const R=m.el=p.el;m.children!==p.children&&l(R,m.children)}},_=(p,m,w,P)=>{p==null?r(m.el=c(m.children||""),w,P):m.el=p.el},g=(p,m,w,P)=>{[p.el,p.anchor]=y(p.children,m,w,P,p.el,p.anchor)},E=({el:p,anchor:m},w,P)=>{let R;for(;p&&p!==m;)R=d(p),r(p,w,P),p=R;r(m,w,P)},v=({el:p,anchor:m})=>{let w;for(;p&&p!==m;)w=d(p),o(p),p=w;o(m)},x=(p,m,w,P,R,A,H,L,M)=>{H=H||m.type==="svg",p==null?k(m,w,P,R,A,H,L,M):B(p,m,R,A,H,L,M)},k=(p,m,w,P,R,A,H,L)=>{let M,I;const{type:K,props:U,shapeFlag:V,transition:X,dirs:Z}=p;if(M=p.el=i(p.type,A,U&&U.is,U),V&8?u(M,p.children):V&16&&S(p.children,M,null,P,R,A&&K!=="foreignObject",H,L),Z&&tt(p,null,P,"created"),O(M,p,p.scopeId,H,P),U){for(const ue in U)ue!=="value"&&!Nn(ue)&&s(M,ue,null,U[ue],A,p.children,P,R,Te);"value"in U&&s(M,"value",null,U.value),(I=U.onVnodeBeforeMount)&&Le(I,P,p)}Z&&tt(p,null,P,"beforeMount");const de=(!R||R&&!R.pendingBranch)&&X&&!X.persisted;de&&X.beforeEnter(M),r(M,m,w),((I=U&&U.onVnodeMounted)||de||Z)&&Ce(()=>{I&&Le(I,P,p),de&&X.enter(M),Z&&tt(p,null,P,"mounted")},R)},O=(p,m,w,P,R)=>{if(w&&h(p,w),P)for(let A=0;A{for(let I=M;I{const L=m.el=p.el;let{patchFlag:M,dynamicChildren:I,dirs:K}=m;M|=p.patchFlag&16;const U=p.props||pe,V=m.props||pe;let X;w&&Nt(w,!1),(X=V.onVnodeBeforeUpdate)&&Le(X,w,m,p),K&&tt(m,p,w,"beforeUpdate"),w&&Nt(w,!0);const Z=R&&m.type!=="foreignObject";if(I?$(p.dynamicChildren,I,L,w,P,Z,A):H||ie(p,m,L,null,w,P,Z,A,!1),M>0){if(M&16)Q(L,m,U,V,w,P,R);else if(M&2&&U.class!==V.class&&s(L,"class",null,V.class,R),M&4&&s(L,"style",U.style,V.style,R),M&8){const de=m.dynamicProps;for(let ue=0;ue{X&&Le(X,w,m,p),K&&tt(m,p,w,"updated")},P)},$=(p,m,w,P,R,A,H)=>{for(let L=0;L{if(w!==P){if(w!==pe)for(const L in w)!Nn(L)&&!(L in P)&&s(p,L,w[L],null,H,m.children,R,A,Te);for(const L in P){if(Nn(L))continue;const M=P[L],I=w[L];M!==I&&L!=="value"&&s(p,L,I,M,H,m.children,R,A,Te)}"value"in P&&s(p,"value",w.value,P.value)}},j=(p,m,w,P,R,A,H,L,M)=>{const I=m.el=p?p.el:a(""),K=m.anchor=p?p.anchor:a("");let{patchFlag:U,dynamicChildren:V,slotScopeIds:X}=m;X&&(L=L?L.concat(X):X),p==null?(r(I,w,P),r(K,w,P),S(m.children,w,K,R,A,H,L,M)):U>0&&U&64&&V&&p.dynamicChildren?($(p.dynamicChildren,V,w,R,A,H,L),(m.key!=null||R&&m===R.subTree)&&Wc(p,m,!0)):ie(p,m,w,K,R,A,H,L,M)},W=(p,m,w,P,R,A,H,L,M)=>{m.slotScopeIds=L,p==null?m.shapeFlag&512?R.ctx.activate(m,w,P,H,M):D(m,w,P,R,A,H,M):ye(p,m,M)},D=(p,m,w,P,R,A,H)=>{const L=p.component=pd(p,P,R);if(rr(p)&&(L.ctx.renderer=N),gd(L),L.asyncDep){if(R&&R.registerDep(L,ee),!p.el){const M=L.subTree=re(Re);_(null,M,m,w)}return}ee(L,p,m,w,R,A,H)},ye=(p,m,w)=>{const P=m.component=p.component;if(wf(p,m,w))if(P.asyncDep&&!P.asyncResolved){oe(P,m,w);return}else P.next=m,gf(P.update),P.update();else m.el=p.el,P.vnode=m},ee=(p,m,w,P,R,A,H)=>{const L=()=>{if(p.isMounted){let{next:K,bu:U,u:V,parent:X,vnode:Z}=p,de=K,ue;Nt(p,!1),K?(K.el=Z.el,oe(p,K,H)):K=Z,U&&$n(U),(ue=K.props&&K.props.onVnodeBeforeUpdate)&&Le(ue,X,K,Z),Nt(p,!0);const _e=co(p),Ke=p.subTree;p.subTree=_e,b(Ke,_e,f(Ke.el),T(Ke),p,R,A),K.el=_e.el,de===null&&Ts(p,_e.el),V&&Ce(V,R),(ue=K.props&&K.props.onVnodeUpdated)&&Ce(()=>Le(ue,X,K,Z),R)}else{let K;const{el:U,props:V}=m,{bm:X,m:Z,parent:de}=p,ue=Kt(m);if(Nt(p,!1),X&&$n(X),!ue&&(K=V&&V.onVnodeBeforeMount)&&Le(K,de,m),Nt(p,!0),U&&ae){const _e=()=>{p.subTree=co(p),ae(U,p.subTree,p,R,null)};ue?m.type.__asyncLoader().then(()=>!p.isUnmounted&&_e()):_e()}else{const _e=p.subTree=co(p);b(null,_e,w,P,p,R,A),m.el=_e.el}if(Z&&Ce(Z,R),!ue&&(K=V&&V.onVnodeMounted)){const _e=m;Ce(()=>Le(K,de,_e),R)}(m.shapeFlag&256||de&&Kt(de.vnode)&&de.vnode.shapeFlag&256)&&p.a&&Ce(p.a,R),p.isMounted=!0,m=w=P=null}},M=p.effect=new vs(L,()=>Qr(I),p.scope),I=p.update=()=>M.run();I.id=p.uid,Nt(p,!0),I()},oe=(p,m,w)=>{m.component=p;const P=p.vnode.props;p.vnode=m,p.next=null,td(p,m.props,P,w),od(p,m.children,w),bn(),hi(),wn()},ie=(p,m,w,P,R,A,H,L,M=!1)=>{const I=p&&p.children,K=p?p.shapeFlag:0,U=m.children,{patchFlag:V,shapeFlag:X}=m;if(V>0){if(V&128){gt(I,U,w,P,R,A,H,L,M);return}else if(V&256){at(I,U,w,P,R,A,H,L,M);return}}X&8?(K&16&&Te(I,R,A),U!==I&&u(w,U)):K&16?X&16?gt(I,U,w,P,R,A,H,L,M):Te(I,R,A,!0):(K&8&&u(w,""),X&16&&S(U,w,P,R,A,H,L,M))},at=(p,m,w,P,R,A,H,L,M)=>{p=p||on,m=m||on;const I=p.length,K=m.length,U=Math.min(I,K);let V;for(V=0;VK?Te(p,R,A,!0,!1,U):S(m,w,P,R,A,H,L,M,U)},gt=(p,m,w,P,R,A,H,L,M)=>{let I=0;const K=m.length;let U=p.length-1,V=K-1;for(;I<=U&&I<=V;){const X=p[I],Z=m[I]=M?wt(m[I]):Fe(m[I]);if(We(X,Z))b(X,Z,w,null,R,A,H,L,M);else break;I++}for(;I<=U&&I<=V;){const X=p[U],Z=m[V]=M?wt(m[V]):Fe(m[V]);if(We(X,Z))b(X,Z,w,null,R,A,H,L,M);else break;U--,V--}if(I>U){if(I<=V){const X=V+1,Z=XV)for(;I<=U;)Ie(p[I],R,A,!0),I++;else{const X=I,Z=I,de=new Map;for(I=Z;I<=V;I++){const He=m[I]=M?wt(m[I]):Fe(m[I]);He.key!=null&&de.set(He.key,I)}let ue,_e=0;const Ke=V-Z+1;let Gt=!1,ni=0;const Sn=new Array(Ke);for(I=0;I=Ke){Ie(He,R,A,!0);continue}let Ze;if(He.key!=null)Ze=de.get(He.key);else for(ue=Z;ue<=V;ue++)if(Sn[ue-Z]===0&&We(He,m[ue])){Ze=ue;break}Ze===void 0?Ie(He,R,A,!0):(Sn[Ze-Z]=I+1,Ze>=ni?ni=Ze:Gt=!0,b(He,m[Ze],w,null,R,A,H,L,M),_e++)}const ri=Gt?cd(Sn):on;for(ue=ri.length-1,I=Ke-1;I>=0;I--){const He=Z+I,Ze=m[He],oi=He+1{const{el:A,type:H,transition:L,children:M,shapeFlag:I}=p;if(I&6){Ge(p.component.subTree,m,w,P);return}if(I&128){p.suspense.move(m,w,P);return}if(I&64){H.move(p,m,w,N);return}if(H===Ee){r(A,m,w);for(let U=0;UL.enter(A),R);else{const{leave:U,delayLeave:V,afterLeave:X}=L,Z=()=>r(A,m,w),de=()=>{U(A,()=>{Z(),X&&X()})};V?V(A,Z,de):de()}else r(A,m,w)},Ie=(p,m,w,P=!1,R=!1)=>{const{type:A,props:H,ref:L,children:M,dynamicChildren:I,shapeFlag:K,patchFlag:U,dirs:V}=p;if(L!=null&&Lr(L,null,w,p,!0),K&256){m.ctx.deactivate(p);return}const X=K&1&&V,Z=!Kt(p);let de;if(Z&&(de=H&&H.onVnodeBeforeUnmount)&&Le(de,m,p),K&6)sr(p.component,w,P);else{if(K&128){p.suspense.unmount(w,P);return}X&&tt(p,null,m,"beforeUnmount"),K&64?p.type.remove(p,m,w,R,N,P):I&&(A!==Ee||U>0&&U&64)?Te(I,m,w,!1,!0):(A===Ee&&U&384||!R&&K&16)&&Te(M,m,w),P&&Xt(p)}(Z&&(de=H&&H.onVnodeUnmounted)||X)&&Ce(()=>{de&&Le(de,m,p),X&&tt(p,null,m,"unmounted")},w)},Xt=p=>{const{type:m,el:w,anchor:P,transition:R}=p;if(m===Ee){Yt(w,P);return}if(m===jn){v(p);return}const A=()=>{o(w),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(p.shapeFlag&1&&R&&!R.persisted){const{leave:H,delayLeave:L}=R,M=()=>H(w,A);L?L(p.el,A,M):M()}else A()},Yt=(p,m)=>{let w;for(;p!==m;)w=d(p),o(p),p=w;o(m)},sr=(p,m,w)=>{const{bum:P,scope:R,update:A,subTree:H,um:L}=p;P&&$n(P),R.stop(),A&&(A.active=!1,Ie(H,p,m,w)),L&&Ce(L,m),Ce(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Te=(p,m,w,P=!1,R=!1,A=0)=>{for(let H=A;Hp.shapeFlag&6?T(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),F=(p,m,w)=>{p==null?m._vnode&&Ie(m._vnode,null,null,!0):b(m._vnode||null,p,m,null,null,null,w),hi(),Rr(),m._vnode=p},N={p:b,um:Ie,m:Ge,r:Xt,mt:D,mc:S,pc:ie,pbc:$,n:T,o:e};let z,ae;return t&&([z,ae]=t(N)),{render:F,hydrate:z,createApp:Zf(F,z)}}function Nt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wc(e,t,n=!1){const r=e.children,o=t.children;if(q(r)&&q(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const ld=e=>e.__isTeleport,Ee=Symbol.for("v-fgt"),dn=Symbol.for("v-txt"),Re=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Bn=[];let De=null;function ge(e=!1){Bn.push(De=e?null:[])}function Qc(){Bn.pop(),De=Bn[Bn.length-1]||null}let hn=1;function Ti(e){hn+=e}function Jc(e){return e.dynamicChildren=hn>0?De||on:null,Qc(),hn>0&&De&&De.push(e),e}function Qe(e,t,n,r,o,s){return Jc(gn(e,t,n,r,o,s,!0))}function je(e,t,n,r,o){return Jc(re(e,t,n,r,o,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function We(e,t){return e.type===t.type&&e.key===t.key}const eo="__vInternal",Xc=({key:e})=>e??null,_r=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||we(e)||Y(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function gn(e,t=null,n=null,r=0,o=null,s=e===Ee?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xc(t),ref:t&&_r(t),scopeId:Xr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Pe};return a?(Os(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=me(n)?8:16),hn>0&&!i&&De&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&De.push(c),c}const re=ud;function ud(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Mc)&&(e=Re),pn(e)){const a=ht(e,t,!0);return n&&Os(a,n),hn>0&&!s&&De&&(a.shapeFlag&6?De[De.indexOf(e)]=a:De.push(a)),a.patchFlag|=-2,a}if(_d(e)&&(e=e.__vccOpts),t){t=Yc(t);let{class:a,style:c}=t;a&&!me(a)&&(t.class=Ct(a)),he(c)&&(lc(c)&&!q(c)&&(c=be({},c)),t.style=fn(c))}const i=me(e)?1:Ec(e)?128:ld(e)?64:he(e)?4:Y(e)?2:0;return gn(e,t,n,r,o,i,s,!0)}function Yc(e){return e?lc(e)||eo in e?be({},e):e:null}function ht(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?fd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Xc(a),ref:t&&t.ref?n&&o?q(o)?o.concat(_r(t)):[o,_r(t)]:_r(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function to(e=" ",t=0){return re(dn,null,e,t)}function Si(e="",t=!1){return t?(ge(),je(Re,null,e)):re(Re,null,e)}function Fe(e){return e==null||typeof e=="boolean"?re(Re):q(e)?re(Ee,null,e.slice()):typeof e=="object"?wt(e):re(dn,null,String(e))}function wt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function Os(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Os(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(eo in t)?t._ctx=Pe:o===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),r&64?(n=16,t=[to(t)]):n=8);e.children=t,e.shapeFlag|=n}function fd(...e){const t={};for(let n=0;nve||Pe;let Ls,Zt,ki="__VUE_INSTANCE_SETTERS__";(Zt=So()[ki])||(Zt=So()[ki]=[]),Zt.push(e=>ve=e),Ls=e=>{Zt.length>1?Zt.forEach(t=>t(e)):Zt[0](e)};const Ot=e=>{Ls(e),e.scope.on()},Rt=()=>{ve&&ve.scope.off(),Ls(null)};function Gc(e){return e.vnode.shapeFlag&4}let mn=!1;function gd(e,t=!1){mn=t;const{props:n,children:r}=e.vnode,o=Gc(e);ed(e,n,o,t),rd(e,r);const s=o?md(e,t):void 0;return mn=!1,s}function md(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=uc(new Proxy(e.ctx,Kf));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?el(e):null;Ot(e),bn();const s=kt(r,e,0,[e.props,o]);if(wn(),Rt(),ms(s)){if(s.then(Rt,Rt),t)return s.then(i=>{Ho(e,i,t)}).catch(i=>{En(i,e,0)});e.asyncDep=s}else Ho(e,s,t)}else Zc(e,t)}function Ho(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=pc(t)),Zc(e,n)}let Ri;function Zc(e,t,n){const r=e.type;if(!e.render){if(!t&&Ri&&!r.render){const o=r.template||As(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=be(be({isCustomElement:s,delimiters:a},i),c);r.render=Ri(o,l)}}e.render=r.render||Je}Ot(e),bn(),Wf(e),wn(),Rt()}function yd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return $e(e,"get","$attrs"),t[n]}}))}function el(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return yd(e)},slots:e.slots,emit:e.emit,expose:t}}function Ms(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pc(uc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Hn)return Hn[n](e)},has(t,n){return n in t||n in Hn}}))}function jo(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function _d(e){return Y(e)&&"__vccOpts"in e}const fe=(e,t)=>df(e,t,mn);function Ne(e,t,n){const r=arguments.length;return r===2?he(t)&&!q(t)?pn(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pn(n)&&(n=[n]),re(e,t,n))}const vd=Symbol.for("v-scx"),bd=()=>Me(vd),tl="3.3.4",wd="http://www.w3.org/2000/svg",Ut=typeof document<"u"?document:null,Ai=Ut&&Ut.createElement("template"),Ed={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Ut.createElementNS(wd,e):Ut.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ai.innerHTML=r?`${e}`:e;const a=Ai.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Cd(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Pd(e,t,n){const r=e.style,o=me(n);if(n&&!o){if(t&&!me(t))for(const s in t)n[s]==null&&Bo(r,s,"");for(const s in n)Bo(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Ii=/\s*!important$/;function Bo(e,t,n){if(q(n))n.forEach(r=>Bo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=xd(e,t);Ii.test(n)?e.setProperty(vn(r),n.replace(Ii,""),"important"):e[r]=n}}const Oi=["Webkit","Moz","ms"],go={};function xd(e,t){const n=go[t];if(n)return n;let r=ot(t);if(r!=="filter"&&r in e)return go[t]=r;r=qr(r);for(let o=0;omo||(Od.then(()=>mo=0),mo=Date.now());function Md(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ue(Nd(r,n.value),t,5,[r])};return n.value=e,n.attached=Ld(),n}function Nd(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ni=/^on[a-z]/,$d=(e,t,n,r,o=!1,s,i,a,c)=>{t==="class"?Cd(e,r,o):t==="style"?Pd(e,n,r):tr(t)?hs(t)||Ad(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hd(e,t,r,o))?Sd(e,t,r,s,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Td(e,t,r,o))};function Hd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ni.test(t)&&Y(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ni.test(t)&&me(n)?!1:t in e}function i0(e){const t=Mt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Do(s,o))},r=()=>{const o=e(t.proxy);Fo(t.subTree,o),n(o)};Rf(r),Pn(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Zr(()=>o.disconnect())})}function Fo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Do(e.el,t);else if(e.type===Ee)e.children.forEach(n=>Fo(n,t));else if(e.type===jn){let{el:n,anchor:r}=e;for(;n&&(Do(n,t),n!==r);)n=n.nextSibling}}function Do(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const _t="transition",kn="animation",Ns=(e,{slots:t})=>Ne(Lf,jd(e),t);Ns.displayName="Transition";const nl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ns.props=be({},Tc,nl);const $t=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},$i=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const j in e)j in nl||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=Bd(o),b=y&&y[0],C=y&&y[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:E,onLeave:v,onLeaveCancelled:x,onBeforeAppear:k=_,onAppear:O=g,onAppearCancelled:S=E}=t,B=(j,W,D)=>{Ht(j,W?u:a),Ht(j,W?l:i),D&&D()},$=(j,W)=>{j._isLeaving=!1,Ht(j,f),Ht(j,h),Ht(j,d),W&&W()},Q=j=>(W,D)=>{const ye=j?O:g,ee=()=>B(W,j,D);$t(ye,[W,ee]),Hi(()=>{Ht(W,j?c:s),vt(W,j?u:a),$i(ye)||ji(W,r,b,ee)})};return be(t,{onBeforeEnter(j){$t(_,[j]),vt(j,s),vt(j,i)},onBeforeAppear(j){$t(k,[j]),vt(j,c),vt(j,l)},onEnter:Q(!1),onAppear:Q(!0),onLeave(j,W){j._isLeaving=!0;const D=()=>$(j,W);vt(j,f),Ud(),vt(j,d),Hi(()=>{j._isLeaving&&(Ht(j,f),vt(j,h),$i(v)||ji(j,r,C,D))}),$t(v,[j,D])},onEnterCancelled(j){B(j,!1),$t(E,[j])},onAppearCancelled(j){B(j,!0),$t(S,[j])},onLeaveCancelled(j){$(j),$t(x,[j])}})}function Bd(e){if(e==null)return null;if(he(e))return[yo(e.enter),yo(e.leave)];{const t=yo(e);return[t,t]}}function yo(e){return Qa(e)}function vt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ht(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Hi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fd=0;function ji(e,t,n,r){const o=e._endId=++Fd,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=Dd(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[y]||"").split(", "),o=r(`${_t}Delay`),s=r(`${_t}Duration`),i=Bi(o,s),a=r(`${kn}Delay`),c=r(`${kn}Duration`),l=Bi(a,c);let u=null,f=0,d=0;t===_t?i>0&&(u=_t,f=i,d=s.length):t===kn?l>0&&(u=kn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?_t:kn:null,d=u?u===_t?s.length:c.length:0);const h=u===_t&&/\b(transform|all)(,|$)/.test(r(`${_t}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Bi(e,t){for(;e.lengthFi(n)+Fi(e[r])))}function Fi(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Ud(){return document.body.offsetHeight}const rl=be({patchProp:$d},Ed);let Fn,Di=!1;function zd(){return Fn||(Fn=id(rl))}function Kd(){return Fn=Di?Fn:ad(rl),Di=!0,Fn}const Vd=(...e)=>{const t=zd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ol(r);if(!o)return;const s=t._component;!Y(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},qd=(...e)=>{const t=Kd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ol(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function ol(e){return me(e)?document.querySelector(e):e}const Wd=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Qd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Jd=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Xd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Yd(e);return}return t}function Yd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Yn(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Jd.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Wd.test(e)||Qd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Xd)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Gd=/#/g,Zd=/&/g,eh=/=/g,$s=/\+/g,th=/%5e/gi,nh=/%60/gi,rh=/%7c/gi,oh=/%20/gi;function sh(e){return encodeURI(""+e).replace(rh,"|")}function Uo(e){return sh(typeof e=="string"?e:JSON.stringify(e)).replace($s,"%2B").replace(oh,"+").replace(Gd,"%23").replace(Zd,"%26").replace(nh,"`").replace(th,"^")}function _o(e){return Uo(e).replace(eh,"%3D")}function Mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ih(e){return Mr(e.replace($s," "))}function ah(e){return Mr(e.replace($s," "))}function sl(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ih(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=ah(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function ch(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${_o(e)}=${Uo(n)}`).join("&"):`${_o(e)}=${Uo(t)}`:_o(e)}function lh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ch(t,e[t])).filter(Boolean).join("&")}const uh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dh=/^([/\\]\s*){2,}[^/\\]/;function Lt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?uh.test(e):fh.test(e)||(t.acceptRelative?dh.test(e):!1)}const hh=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function ph(e){return!!e&&hh.test(e)}const gh=/\/$|\/\?/;function zo(e="",t=!1){return t?gh.test(e):e.endsWith("/")}function qt(e="",t=!1){if(!t)return(zo(e)?e.slice(0,-1):e)||"/";if(!zo(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Nr(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(zo(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function mh(e=""){return e.startsWith("/")}function Ko(e=""){return mh(e)?e:"/"+e}function il(e,t){if(cl(t)||Lt(e))return e;const n=qt(t);return e.startsWith(n)?e:Tn(n,e)}function Ui(e,t){if(cl(t))return e;const n=qt(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function al(e,t){const n=or(e),r={...sl(n.search),...t};return n.search=lh(r),bh(n)}function cl(e){return!e||e==="/"}function yh(e){return e&&e!=="/"}const _h=/^\.?\//;function Tn(e,...t){let n=e||"";for(const r of t.filter(o=>yh(o)))if(n){const o=r.replace(_h,"");n=Nr(n)+o}else n=r;return n}function vh(e,t,n={}){return n.trailingSlash||(e=Nr(e),t=Nr(t)),n.leadingSlash||(e=Ko(e),t=Ko(t)),n.encoding||(e=Mr(e),t=Mr(t)),e===t}function or(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Lt(e,{acceptRelative:!0}))return t?or(t+e):zi(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=zi(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:c,search:l,hash:u}}function zi(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function bh(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+o+s+t+n+r}class wh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Eh(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${o}: ${s}${t?` ${t}`:""}`,a=new wh(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[y]}});return a}const Ch=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ki(e="GET"){return Ch.has(e.toUpperCase())}function Ph(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const xh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Th=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Sh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Th.test(t)?"json":xh.has(t)||t.startsWith("text/")?"text":"blob"}function kh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const Rh=new Set([408,409,425,429,500,502,503,504]),Ah=new Set([101,204,205,304]);function ll(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Ki(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Rh.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const l=Eh(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(c,l={}){var d;const u={request:c,options:kh(l,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=il(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=al(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Ki(u.options.method)&&(Ph(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const h=new r;setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!Ah.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Sh(u.response.headers.get("content-type")||"");switch(h){case"json":{const y=await u.response.text(),b=u.options.parseResponse||Yn;u.response._data=b(y);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(c,l){return(await s(c,l))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>ll({...e,defaults:{...e.defaults,...a}}),i}const Hs=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Ih=Hs.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Oh=Hs.Headers,Lh=Hs.AbortController,Mh=ll({fetch:Ih,Headers:Oh,AbortController:Lh}),Nh=Mh,$h=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},$r=$h().app,Hh=()=>$r.baseURL,jh=()=>$r.buildAssetsDir,Bh=(...e)=>Tn(ul(),jh(),...e),ul=(...e)=>{const t=$r.cdnURL||$r.baseURL;return e.length?Tn(t,...e):t};globalThis.__buildAssetsURL=Bh,globalThis.__publicAssetsURL=ul;function Vo(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Vo(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Fh={run:e=>e()},Dh=()=>Fh,fl=typeof console.createTask<"u"?console.createTask:Dh;function Uh(e,t){const n=t.shift(),r=fl(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function zh(e,t){const n=t.shift(),r=fl(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function vo(e,t){for(const n of[...e])n(t)}class Kh{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=Vo(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=Vo(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(Uh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(zh,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&vo(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&vo(this._after,o)}):(this._after&&o&&vo(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 dl(){return new Kh}function Vh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;qo.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{qo.delete(l)}}}}function qh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Vh({...e,...r})),t[n],t[n]}}}const Hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Vi="__unctx__",Wh=Hr[Vi]||(Hr[Vi]=qh()),Qh=(e,t={})=>Wh.get(e,t),qi="__unctx_async_handlers__",qo=Hr[qi]||(Hr[qi]=new Set);function jr(e){const t=[];for(const o of qo){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const hl=Qh("nuxt-app",{asyncContext:!1}),Jh="__nuxt_plugin";function Xh(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.4"},get vue(){return n.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>pl(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=dl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;pr(n,i,s),pr(n.vueApp.config.globalProperties,i,s)},pr(n.vueApp,"$nuxt",n),pr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||le;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=st(n.payload.config);return n.provide("config",r),n}async function Yh(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Gh(e,t){const n=[],r=[];for(const o of t){const s=Yh(e,o);o.parallel?n.push(s.catch(i=>r.push(i))):await s}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function it(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Jh]:!0}))}function pl(e,t,n){const r=()=>n?t(...n):t();return hl.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function le(){var t;let e;if(Fc()&&(e=(t=Mt())==null?void 0:t.appContext.app.$nuxt),e=e||hl.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Xe(){return le().$config}function pr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Zh="modulepreload",ep=function(e,t){return e[0]==="."?new URL(e,t).href:e},Wi={},tp=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=ep(s,r),s in Wi)return;Wi[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Zh,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},J=(...e)=>tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),np=-1,rp=-2,op=-3,sp=-4,ip=-5,ap=-6;function cp(e,t){return lp(JSON.parse(e),t)}function lp(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===np)return;if(s===op)return NaN;if(s===sp)return 1/0;if(s===ip)return-1/0;if(s===ap)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[s]=l(o(a[1]));switch(c){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let h=1;h>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Qi(e){return e._h||ml(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function yl(e,t){const{props:n,tag:r}=e;if(hp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function Ji(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function gp(e,t,n){const r={tag:e,props:await _l(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return gl.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent"].includes(o)||fp.includes(r.tag))&&(r[o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/({...r,props:{...r.props,content:o}})):r}function mp(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function _l(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=mp(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!gl.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const yp=10;async function _p(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&dp.includes(n)).forEach(([n,r])=>{const o=up(r);t.push(...o.map(s=>gp(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(bt)&&(e.endsWith(bt)&&(e=e.slice(0,-bt.length).trim()),e.startsWith(bt)&&(e=e.slice(bt.length).trim()),e=e.replace(new RegExp(`\\${bt}\\s*\\${bt}`,"g"),bt),e=Bt(e,{separator:n},n)),e}async function bp(e){const t={tag:e.tagName.toLowerCase(),props:await _l(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=yl(t),t}async function vl(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:vr.includes(f.tag)?Qi(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const h of[...d].filter(y=>vr.includes(y.tagName.toLowerCase())))s.elMap[h.getAttribute("data-hid")||Qi(await bp(h))]=h}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,h){const y=`${f}:${d}`;s.sideEffects[y]=h,delete s.pendingSideEffects[y]}function a({id:f,$el:d,tag:h}){const y=h.tag.endsWith("Attrs");s.elMap[f]=d,y||(["textContent","innerHTML"].forEach(b=>{h[b]&&h[b]!==d[b]&&(d[b]=h[b])}),i(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(h.props).forEach(([b,C])=>{const _=`attr:${b}`;if(b==="class")for(const g of(C||"").split(" ").filter(Boolean))y&&i(f,`${_}:${g}`,()=>d.classList.remove(g)),!d.classList.contains(g)&&d.classList.add(g);else d.getAttribute(b)!==C&&d.setAttribute(b,C===!0?"":String(C)),y&&i(f,_,()=>d.removeAttribute(b))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:y}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[y],f.$el?a(f):vr.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function wp(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await vl(e,t),delete e._domUpdatePromise,r()}))}function Ep(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":function(s){wp(s,e)}}}}}const Cp=["templateParams","htmlAttrs","bodyAttrs"],Pp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=yl(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Cp.includes(r.tag)&&(a="merge"),a==="merge"){const c=s.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[o].props={...c,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(Br(r)>Br(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(vr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},xp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Gi=["script","link","bodyAttrs"];function Zi(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?n[r]=o:t[r]=o}),{props:t,eventHandlers:n}}const Tp={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!Gi.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=Zi(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!Gi.includes(t.tag))return t;const{props:n,eventHandlers:r}=Zi(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,s])=>{const i=`${e.tag._d||e.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(c))return;const l=s;e.$el.setAttribute(c,""),r.addEventListener(a,l),e.entry&&n(e.id,i,()=>{r.removeEventListener(a,l),e.$el.removeAttribute(c)})})}}},Sp=["link","style","script","noscript"],kp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Sp.includes(e.tag)&&(e.props["data-hid"]=e._h=ml(e.key))}}},Rp={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of vp)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Br(n)-Br(r))}}},Ap={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(a=>a.tag==="title"))==null?void 0:i.textContent,r=t.findIndex(a=>a.tag==="templateParams"),o=r!==-1?t[r].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=Bt(o.pageTitle||n||"",o,s);for(const a of t)a.processTemplateParams!==!1&&(["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string"?a.textContent=Bt(a.textContent,o,s):a.tag==="meta"&&typeof a.props.content=="string"?a.props.content=Bt(a.props.content,o,s):a.tag==="link"&&typeof a.props.href=="string"?a.props.href=Bt(a.props.href,o,s):a.processTemplateParams===!0&&(a.innerHTML?a.innerHTML=Bt(a.innerHTML,o,s):a.textContent&&(a.textContent=Bt(a.textContent,o,s))));e.tags=t.filter(a=>a.tag!=="templateParams")}}},Ip={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Ji(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Ji(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let bl;function Op(e={}){const t=Lp(e);return t.use(Ep()),bl=t}function ea(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Lp(e={}){const t=dl();t.addHooks(e.hooks||{}),e.document=e.document||(pp?document:void 0);const n=!e.document;e.plugins=[Pp,xp,Tp,kp,Rp,Ap,Ip,...(e==null?void 0:e.plugins)||[]];const r=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let o=0,s=[];const i={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(a){const c=typeof a=="function"?a(i):a;ea(c.mode,n)&&t.addHooks(c.hooks||{})},push(a,c){c==null||delete c.head;const l={_i:o++,input:a,...c};return ea(l.mode,n)&&(s.push(l),r()),{dispose(){s=s.filter(u=>u._i!==l._i),t.callHook("entries:updated",i),r()},patch(u){s=s.map(f=>(f._i===l._i&&(f.input=l.input=u),f)),r()}}},async resolveTags(){const a={tags:[],entries:[...s]};await t.callHook("entries:resolve",a);for(const c of a.entries){const l=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(l):l),c.resolvedInput)for(const u of await _p(c)){const f={tag:u,entry:c,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>i.use(a)),i.hooks.callHook("init",i),i}function Mp(){return bl}const Np=tl.startsWith("3");function $p(e){return typeof e=="function"?e():se(e)}function Fr(e,t=""){if(e instanceof Promise)return e;const n=$p(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Fr(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,se(o)]:[r,Fr(o,r)])):n}const Hp={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Fr(t.input)}}},wl="usehead";function jp(e){return{install(n){Np&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wl,e))}}.install}function Bp(e={}){e.domDelayFn=e.domDelayFn||(n=>Jt(()=>setTimeout(()=>n(),0)));const t=Op(e);return t.use(Hp),t.install=jp(t),t}const Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qo="__unhead_injection_handler__";function Fp(e){Wo[Qo]=e}function Dp(){if(Qo in Wo)return Wo[Qo]();const e=Me(wl);return e||Mp()}function Up(e,t={}){const n=t.head||Dp();if(n)return n.ssr?n.push(e,t):zp(n,e,t)}function zp(e,t,n={}){const r=xe(!1),o=xe({});kf(()=>{o.value=r.value?{}:Fr(t)});const s=e.push(o.value,n);return rt(o,a=>{s.patch(a)}),Mt()&&(xn(()=>{s.dispose()}),Ac(()=>{r.value=!0}),Rc(()=>{r.value=!1})),s}function bo(e){return e!==null&&typeof e=="object"}function Jo(e,t,n=".",r){if(!bo(t))return Jo(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]]:bo(i)&&bo(o[s])?o[s]=Jo(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function El(e){return(...t)=>t.reduce((n,r)=>Jo(n,r,"",e),{})}const Kp=El(),Vp=El((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0}),gr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function qp(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||Jp;let s=0;for(;st in e?Gp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ft=(e,t,n)=>(Zp(e,typeof t!="symbol"?t+"":t,n),n);class Xo extends Error{constructor(t,n={}){super(t,n),Ft(this,"statusCode",500),Ft(this,"fatal",!1),Ft(this,"unhandled",!1),Ft(this,"statusMessage"),Ft(this,"data"),Ft(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Go(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Cl(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ft(Xo,"__h3_error__",!0);function Yo(e){if(typeof e=="string")return new Xo(e);if(eg(e))return e;const t=new Xo(e.message??e.statusMessage??"",{cause:e.cause||e});if(Yp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Go(e.statusCode,t.statusCode):e.status&&(t.statusCode=Go(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Cl(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function eg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const tg=/[^\u0009\u0020-\u007E]/g;function Cl(e=""){return e.replace(tg,"")}function Go(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ng=Symbol("layout-meta"),no=Symbol("route"),ze=()=>{var e;return(e=le())==null?void 0:e.$router},Wt=()=>Fc()?Me(no,le()._route):le()._route;/*! @__NO_SIDE_EFFECTS__ */const rg=(e,t,n={})=>{const r=le(),o=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(s):r._middleware.named[e]=s},og=()=>{try{if(le()._processingMiddleware)return!0}catch{return!0}return!1},Pl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:al(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,l)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Lt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=or(n).protocol;if(a&&ph(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=og();if(!r&&o)return e;const s=ze(),i=le();return r?(t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},ro=()=>gc(le().payload,"error"),rn=e=>{const t=js(e);try{const n=le(),r=ro();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},sg=async(e={})=>{const t=le(),n=ro();t.callHook("app:error:cleared",e),e.redirect&&await ze().replace(e.redirect),n.value=null},ig=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),js=e=>{const t=Yo(e);return t.__nuxt_error=!0,t},Zo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),ag=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xl=e=>{const t=le();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zo(e)}):Zo(e)},cg="$s";function Pt(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=cg+n,s=le(),i=gc(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(we(a))return s.payload.state[o]=a,a;i.value=a}return i}const na=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 lg(e,t){t?t={...na,...t}:t=na;const n=Tl(t);return n.dispatch(e),n.toString()}const ug=Object.freeze(["prototype","__proto__","constructor"]);function Tl(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 c=null;if((c=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");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 l=Object.keys(o);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!ra(o)&&(u=ug),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of l)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 c of o)this.dispatch(c);return}const i=new Map,a=o.map(c=>{const l=Tl(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.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:"),ra(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 +function ds(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const pe={},on=[],Je=()=>{},gu=()=>!1,mu=/^on[^a-z]/,tr=e=>mu.test(e),hs=e=>e.startsWith("onUpdate:"),be=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yu=Object.prototype.hasOwnProperty,ne=(e,t)=>yu.call(e,t),q=Array.isArray,sn=e=>nr(e)==="[object Map]",Va=e=>nr(e)==="[object Set]",_u=e=>nr(e)==="[object RegExp]",X=e=>typeof e=="function",me=e=>typeof e=="string",gs=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",ms=e=>he(e)&&X(e.then)&&X(e.catch),qa=Object.prototype.toString,nr=e=>qa.call(e),vu=e=>nr(e).slice(8,-1),Wa=e=>nr(e)==="[object Object]",ys=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bu=/-(\w)/g,ot=Vr(e=>e.replace(bu,(t,n)=>n?n.toUpperCase():"")),wu=/\B([A-Z])/g,vn=Vr(e=>e.replace(wu,"-$1").toLowerCase()),qr=Vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ao=Vr(e=>e?`on${qr(e)}`:""),Vn=(e,t)=>!Object.is(e,t),$n=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Eu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qa=e=>{const t=me(e)?Number(e):NaN;return isNaN(t)?e:t};let si;const So=()=>si||(si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fn(e){if(q(e)){const t={};for(let n=0;n{if(n){const r=n.split(Pu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ct(e){let t="";if(me(e))t=e;else if(q(e))for(let n=0;nme(e)?e:e==null?"":q(e)||he(e)&&(e.toString===qa||!X(e.toString))?JSON.stringify(e,Xa,2):String(e),Xa=(e,t)=>t&&t.__v_isRef?Xa(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Va(t)?{[`Set(${t.size})`]:[...t.values()]}:he(t)&&!q(t)&&!Wa(t)?String(t):t;let Ve;class Au{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ve;try{return Ve=this,t()}finally{Ve=n}}}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ga=e=>(e.w&It)>0,Za=e=>(e.n&It)>0,Lu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":q(e)?ys(n)&&a.push(i.get("length")):(a.push(i.get(zt)),sn(e)&&a.push(i.get(Ro)));break;case"delete":q(e)||(a.push(i.get(zt)),sn(e)&&a.push(i.get(Ro)));break;case"set":sn(e)&&a.push(i.get(zt));break}if(a.length===1)a[0]&&Ao(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Ao(_s(c))}}function Ao(e,t){const n=q(e)?e:[...e];for(const r of n)r.computed&&ai(r);for(const r of n)r.computed||ai(r)}function ai(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Nu(e,t){var n;return(n=Sr.get(e))==null?void 0:n.get(t)}const $u=ds("__proto__,__v_isRef,__isVue"),nc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gs)),Hu=bs(),ju=bs(!1,!0),Bu=bs(!0),ci=Fu();function Fu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=te(this);for(let s=0,i=this.length;s{e[t]=function(...n){bn();const r=te(this)[t].apply(this,n);return wn(),r}}),e}function Du(e){const t=te(this);return $e(t,"has",e),t.hasOwnProperty(e)}function bs(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?rf:ac:t?ic:sc).get(r))return r;const i=q(r);if(!e){if(i&&ne(ci,o))return Reflect.get(ci,o,s);if(o==="hasOwnProperty")return Du}const a=Reflect.get(r,o,s);return(gs(o)?nc.has(o):$u(o))||(e||$e(r,"get",o),t)?a:we(a)?i&&ys(o)?a:a.value:he(a)?e?cc(a):st(a):a}}const Uu=rc(),zu=rc(!0);function rc(e=!1){return function(n,r,o,s){let i=n[r];if(Vt(i)&&we(i)&&!we(o))return!1;if(!e&&(!kr(o)&&!Vt(o)&&(i=te(i),o=te(o)),!q(n)&&we(i)&&!we(o)))return i.value=o,!0;const a=q(n)&&ys(r)?Number(r)e,Wr=e=>Reflect.getPrototypeOf(e);function ir(e,t,n=!1,r=!1){e=e.__v_raw;const o=te(e),s=te(t);n||(t!==s&&$e(o,"get",t),$e(o,"get",s));const{has:i}=Wr(o),a=r?ws:n?Ps:qn;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function ar(e,t=!1){const n=this.__v_raw,r=te(n),o=te(e);return t||(e!==o&&$e(r,"has",e),$e(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function cr(e,t=!1){return e=e.__v_raw,!t&&$e(te(e),"iterate",zt),Reflect.get(e,"size",e)}function li(e){e=te(e);const t=te(this);return Wr(t).has.call(t,e)||(t.add(e),dt(t,"add",e,e)),this}function ui(e,t){t=te(t);const n=te(this),{has:r,get:o}=Wr(n);let s=r.call(n,e);s||(e=te(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Vn(t,i)&&dt(n,"set",e,t):dt(n,"add",e,t),this}function fi(e){const t=te(this),{has:n,get:r}=Wr(t);let o=n.call(t,e);o||(e=te(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&dt(t,"delete",e,void 0),s}function di(){const e=te(this),t=e.size!==0,n=e.clear();return t&&dt(e,"clear",void 0,void 0),n}function lr(e,t){return function(r,o){const s=this,i=s.__v_raw,a=te(i),c=t?ws:e?Ps:qn;return!e&&$e(a,"iterate",zt),i.forEach((l,u)=>r.call(o,c(l),c(u),s))}}function ur(e,t,n){return function(...r){const o=this.__v_raw,s=te(o),i=sn(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?ws:t?Ps:qn;return!t&&$e(s,"iterate",c?Ro:zt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function mt(e){return function(...t){return e==="delete"?!1:this}}function Ju(){const e={get(s){return ir(this,s)},get size(){return cr(this)},has:ar,add:li,set:ui,delete:fi,clear:di,forEach:lr(!1,!1)},t={get(s){return ir(this,s,!1,!0)},get size(){return cr(this)},has:ar,add:li,set:ui,delete:fi,clear:di,forEach:lr(!1,!0)},n={get(s){return ir(this,s,!0)},get size(){return cr(this,!0)},has(s){return ar.call(this,s,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:lr(!0,!1)},r={get(s){return ir(this,s,!0,!0)},get size(){return cr(this,!0)},has(s){return ar.call(this,s,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:lr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ur(s,!1,!1),n[s]=ur(s,!0,!1),t[s]=ur(s,!1,!0),r[s]=ur(s,!0,!0)}),[e,n,t,r]}const[Yu,Xu,Gu,Zu]=Ju();function Es(e,t){const n=t?e?Zu:Gu:e?Xu:Yu;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ne(n,o)&&o in r?n:r,o,s)}const ef={get:Es(!1,!1)},tf={get:Es(!1,!0)},nf={get:Es(!0,!1)},sc=new WeakMap,ic=new WeakMap,ac=new WeakMap,rf=new WeakMap;function of(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sf(e){return e.__v_skip||!Object.isExtensible(e)?0:of(vu(e))}function st(e){return Vt(e)?e:Cs(e,!1,oc,ef,sc)}function Tt(e){return Cs(e,!1,Qu,tf,ic)}function cc(e){return Cs(e,!0,Wu,nf,ac)}function Cs(e,t,n,r,o){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=sf(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function an(e){return Vt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function kr(e){return!!(e&&e.__v_isShallow)}function lc(e){return an(e)||Vt(e)}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function uc(e){return Tr(e,"__v_skip",!0),e}const qn=e=>he(e)?st(e):e,Ps=e=>he(e)?cc(e):e;function fc(e){xt&&qe&&(e=te(e),tc(e.dep||(e.dep=_s())))}function dc(e,t){e=te(e);const n=e.dep;n&&Ao(n)}function we(e){return!!(e&&e.__v_isRef===!0)}function xe(e){return hc(e,!1)}function St(e){return hc(e,!0)}function hc(e,t){return we(e)?e:new af(e,t)}class af{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:te(t),this._value=n?t:qn(t)}get value(){return fc(this),this._value}set value(t){const n=this.__v_isShallow||kr(t)||Vt(t);t=n?t:te(t),Vn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:qn(t),dc(this))}}function se(e){return we(e)?e.value:e}const cf={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return we(o)&&!we(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function pc(e){return an(e)?e:new Proxy(e,cf)}function n0(e){const t=q(e)?new Array(e.length):{};for(const n in e)t[n]=mc(e,n);return t}class lf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Nu(te(this._object),this._key)}}class uf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gc(e,t,n){return we(e)?e:X(e)?new uf(e):he(e)&&arguments.length>1?mc(e,t,n):xe(e)}function mc(e,t,n){const r=e[t];return we(r)?r:new lf(e,t,n)}class ff{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new vs(t,()=>{this._dirty||(this._dirty=!0,dc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=te(this);return fc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function df(e,t,n=!1){let r,o;const s=X(e);return s?(r=e,o=Je):(r=e.get,o=e.set),new ff(r,o,s||!o,n)}function kt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){En(s,t,n)}return o}function Ue(e,t,n,r){if(X(e)){const s=kt(e,t,n,r);return s&&ms(s)&&s.catch(i=>{En(i,t,n)}),s}const o=[];for(let s=0;s>>1;Qn(Se[r])nt&&Se.splice(t,1)}function vc(e){q(e)?cn.push(...e):(!ft||!ft.includes(e,e.allowRecurse?Dt+1:Dt))&&cn.push(e),_c()}function hi(e,t=Wn?nt+1:0){for(;tQn(n)-Qn(r)),Dt=0;Dte.id==null?1/0:e.id,mf=(e,t)=>{const n=Qn(e)-Qn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bc(e){Io=!1,Wn=!0,Se.sort(mf);const t=Je;try{for(nt=0;ntme(h)?h.trim():h)),f&&(o=n.map(Eu))}let a,c=r[a=ao(t)]||r[a=ao(ot(t))];!c&&s&&(c=r[a=ao(vn(t))]),c&&Ue(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ue(l,e,6,o)}}function wc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!X(e)){const c=l=>{const u=wc(l,t,!0);u&&(a=!0,be(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(he(e)&&r.set(e,null),null):(q(s)?s.forEach(c=>i[c]=null):be(i,s),he(e)&&r.set(e,i),i)}function Jr(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,vn(t))||ne(e,t))}let Pe=null,Yr=null;function Ar(e){const t=Pe;return Pe=e,Yr=e&&e.type.__scopeId||null,t}function r0(e){Yr=e}function o0(){Yr=null}function Cn(e,t=Pe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ti(-1);const s=Ar(t);let i;try{i=e(...o)}finally{Ar(s),r._d&&Ti(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function co(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:y,inheritAttrs:b}=e;let C,_;const g=Ar(e);try{if(n.shapeFlag&4){const v=o||r;C=Fe(u.call(v,v,f,s,h,d,y)),_=c}else{const v=t;C=Fe(v.length>1?v(s,{attrs:c,slots:a,emit:l}):v(s,null)),_=t.props?c:vf(c)}}catch(v){Bn.length=0,En(v,e,1),C=re(Re)}let E=C;if(_&&b!==!1){const v=Object.keys(_),{shapeFlag:x}=E;v.length&&x&7&&(i&&v.some(hs)&&(_=bf(_,i)),E=ht(E,_))}return n.dirs&&(E=ht(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),C=E,Ar(g),C}function _f(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},bf=(e,t)=>{const n={};for(const r in e)(!hs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wf(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?pi(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,Ef={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){e==null?Cf(t,n,r,o,s,i,a,c,l):Pf(e,t,n,r,o,i,a,c,l)},hydrate:xf,create:Ss,normalize:Tf},Cc=Ef;function Jn(e,t){const n=e.props&&e.props[t];X(n)&&n()}function Cf(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Ss(e,o,r,t,f,n,s,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Jn(e,"onPending"),Jn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),ln(d,e.ssFallback)):d.resolve(!1,!0)}function Pf(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:b,isInFallback:C,isHydrating:_}=f;if(b)f.pendingBranch=d,We(d,b)?(c(b,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():C&&(c(y,h,n,r,o,null,s,i,a),ln(f,h))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=b):l(b,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),C?(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(y,h,n,r,o,null,s,i,a),ln(f,h))):y&&We(d,y)?(c(y,d,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(y&&We(d,y))c(y,d,n,r,o,f,s,i,a),ln(f,d);else if(Jn(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:E}=f;g>0?setTimeout(()=>{f.pendingId===E&&f.fallback(h)},g):g===0&&f.fallback(h)}}function Ss(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:d,um:h,n:y,o:{parentNode:b,remove:C}}=l;let _;const g=Sf(e);g&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const E=e.props?Qa(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,k=!1){const{vnode:O,activeBranch:S,pendingBranch:B,pendingId:$,effects:Q,parentComponent:j,container:W}=v;if(v.isHydrating)v.isHydrating=!1;else if(!x){const ee=S&&B.transition&&B.transition.mode==="out-in";ee&&(S.transition.afterLeave=()=>{$===v.pendingId&&d(B,W,oe,0)});let{anchor:oe}=v;S&&(oe=y(S),h(S,j,v,!0)),ee||d(B,W,oe,0)}ln(v,B),v.pendingBranch=null,v.isInFallback=!1;let D=v.parent,ye=!1;for(;D;){if(D.pendingBranch){D.effects.push(...Q),ye=!0;break}D=D.parent}ye||vc(Q),v.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Jn(O,"onResolve")},fallback(x){if(!v.pendingBranch)return;const{vnode:k,activeBranch:O,parentComponent:S,container:B,isSVG:$}=v;Jn(k,"onFallback");const Q=y(O),j=()=>{v.isInFallback&&(f(null,x,B,Q,S,null,$,a,c),ln(v,x))},W=x.transition&&x.transition.mode==="out-in";W&&(O.transition.afterLeave=j),v.isInFallback=!0,h(O,S,null,!0),W||j()},move(x,k,O){v.activeBranch&&d(v.activeBranch,x,k,O),v.container=x},next(){return v.activeBranch&&y(v.activeBranch)},registerDep(x,k){const O=!!v.pendingBranch;O&&v.deps++;const S=x.vnode.el;x.asyncDep.catch(B=>{En(B,x,0)}).then(B=>{if(x.isUnmounted||v.isUnmounted||v.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:$}=x;Ho(x,B,!1),S&&($.el=S);const Q=!S&&x.subTree.el;k(x,$,b(S||x.subTree.el),S?null:y(x.subTree),v,i,c),Q&&C(Q),Ts(x,$.el),O&&--v.deps===0&&v.resolve()})},unmount(x,k){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,n,x,k),v.pendingBranch&&h(v.pendingBranch,n,x,k)}};return v}function xf(e,t,n,r,o,s,i,a,c){const l=t.suspense=Ss(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function Tf(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=gi(r?n.default:n),e.ssFallback=r?gi(n.fallback):re(Re)}function gi(e){let t;if(X(e)){const n=hn&&e._c;n&&(e._d=!1,ge()),e=e(),n&&(e._d=!0,t=De,Qc())}return q(e)&&(e=_f(e)),e=Fe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Pc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):vc(e)}function ln(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Ts(r,o))}function Sf(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function kf(e,t){return Xr(e,null,t)}function Rf(e,t){return Xr(e,null,{flush:"post"})}const fr={};function rt(e,t,n){return Xr(e,t,n)}function Xr(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=pe){var a;const c=Ou()===((a=ve)==null?void 0:a.scope)?ve:null;let l,u=!1,f=!1;if(we(e)?(l=()=>e.value,u=kr(e)):an(e)?(l=()=>e,r=!0):q(e)?(f=!0,u=e.some(v=>an(v)||kr(v)),l=()=>e.map(v=>{if(we(v))return v.value;if(an(v))return nn(v);if(X(v))return kt(v,c,2)})):X(e)?t?l=()=>kt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ue(e,c,3,[h])}:l=Je,t&&r){const v=l;l=()=>nn(v())}let d,h=v=>{d=g.onStop=()=>{kt(v,c,4)}},y;if(mn)if(h=Je,t?n&&Ue(t,c,3,[l(),f?[]:void 0,h]):l(),o==="sync"){const v=bd();y=v.__watcherHandles||(v.__watcherHandles=[])}else return Je;let b=f?new Array(e.length).fill(fr):fr;const C=()=>{if(g.active)if(t){const v=g.run();(r||u||(f?v.some((x,k)=>Vn(x,b[k])):Vn(v,b)))&&(d&&d(),Ue(t,c,3,[v,b===fr?void 0:f&&b[0]===fr?[]:b,h]),b=v)}else g.run()};C.allowRecurse=!!t;let _;o==="sync"?_=C:o==="post"?_=()=>Ce(C,c&&c.suspense):(C.pre=!0,c&&(C.id=c.uid),_=()=>Qr(C));const g=new vs(l,_);t?n?C():b=g.run():o==="post"?Ce(g.run.bind(g),c&&c.suspense):g.run();const E=()=>{g.stop(),c&&c.scope&&ps(c.scope.effects,g)};return y&&y.push(E),E}function Af(e,t,n){const r=this.proxy,o=me(e)?e.includes(".")?xc(r,e):()=>r[e]:e.bind(r,r);let s;X(t)?s=t:(s=t.handler,n=t);const i=ve;Ot(this);const a=Xr(o,s.bind(r),n);return i?Ot(i):Rt(),a}function xc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{nn(n,t)});else if(Wa(e))for(const n in e)nn(e[n],t);return e}function tt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i{e.isMounted=!0}),xn(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],Tc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},Of={name:"BaseTransition",props:Tc,setup(e,{slots:t}){const n=Mt(),r=If();let o;return()=>{const s=t.default&&kc(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const b of s)if(b.type!==Re){i=b;break}}const a=te(e),{mode:c}=a;if(r.isLeaving)return lo(i);const l=mi(i);if(!l)return lo(i);const u=Oo(l,a,r,n);Ir(l,u);const f=n.subTree,d=f&&mi(f);let h=!1;const{getTransitionKey:y}=l.type;if(y){const b=y();o===void 0?o=b:b!==o&&(o=b,h=!0)}if(d&&d.type!==Re&&(!We(l,d)||h)){const b=Oo(d,a,r,n);if(Ir(d,b),c==="out-in")return r.isLeaving=!0,b.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},lo(i);c==="in-out"&&l.type!==Re&&(b.delayLeave=(C,_,g)=>{const E=Sc(r,d);E[String(d.key)]=d,C._leaveCb=()=>{_(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=g})}return i}}},Lf=Of;function Sc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Oo(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:b,onAppear:C,onAfterAppear:_,onAppearCancelled:g}=t,E=String(e.key),v=Sc(n,e),x=(S,B)=>{S&&Ue(S,r,9,B)},k=(S,B)=>{const $=B[1];x(S,B),q(S)?S.every(Q=>Q.length<=1)&&$():S.length<=1&&$()},O={mode:s,persisted:i,beforeEnter(S){let B=a;if(!n.isMounted)if(o)B=b||a;else return;S._leaveCb&&S._leaveCb(!0);const $=v[E];$&&We(e,$)&&$.el._leaveCb&&$.el._leaveCb(),x(B,[S])},enter(S){let B=c,$=l,Q=u;if(!n.isMounted)if(o)B=C||c,$=_||l,Q=g||u;else return;let j=!1;const W=S._enterCb=D=>{j||(j=!0,D?x(Q,[S]):x($,[S]),O.delayedLeave&&O.delayedLeave(),S._enterCb=void 0)};B?k(B,[S,W]):W()},leave(S,B){const $=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return B();x(f,[S]);let Q=!1;const j=S._leaveCb=W=>{Q||(Q=!0,B(),W?x(y,[S]):x(h,[S]),S._leaveCb=void 0,v[$]===e&&delete v[$])};v[$]=e,d?k(d,[S,j]):j()},clone(S){return Oo(S,t,n,r)}};return O}function lo(e){if(rr(e))return e=ht(e),e.children=null,e}function mi(e){return rr(e)?e.children?e.children[0]:void 0:e}function Ir(e,t){e.shapeFlag&6&&e.component?Ir(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function kc(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sbe({name:e.name},t,{setup:e}))():e}const Kt=e=>!!e.type.__asyncLoader;function G(e){X(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((b,C)=>{a(y,()=>b(f()),()=>C(y),u+1)});throw y}).then(y=>h!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),l=y,y)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=ve;if(l)return()=>uo(l,h);const y=g=>{c=null,En(g,h,13,!r)};if(i&&h.suspense||mn)return d().then(g=>()=>uo(g,h)).catch(g=>(y(g),()=>r?re(r,{error:g}):null));const b=xe(!1),C=xe(),_=xe(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!b.value&&!C.value){const g=new Error(`Async component timed out after ${s}ms.`);y(g),C.value=g}},s),d().then(()=>{b.value=!0,h.parent&&rr(h.parent.vnode)&&Qr(h.parent.update)}).catch(g=>{y(g),C.value=g}),()=>{if(b.value&&l)return uo(l,h);if(C.value&&r)return re(r,{error:C.value});if(n&&!_.value)return re(n)}}})}function uo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=re(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const rr=e=>e.type.__isKeepAlive,Mf={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Mt(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(g,E,v,x,k)=>{const O=g.component;l(g,E,v,0,a),c(O.vnode,g,E,v,O,a,x,g.slotScopeIds,k),Ce(()=>{O.isDeactivated=!1,O.a&&$n(O.a);const S=g.props&&g.props.onVnodeMounted;S&&Le(S,O.parent,g)},a)},r.deactivate=g=>{const E=g.component;l(g,d,null,1,a),Ce(()=>{E.da&&$n(E.da);const v=g.props&&g.props.onVnodeUnmounted;v&&Le(v,E.parent,g),E.isDeactivated=!0},a)};function h(g){fo(g),u(g,n,a,!0)}function y(g){o.forEach((E,v)=>{const x=jo(E.type);x&&(!g||!g(x))&&b(v)})}function b(g){const E=o.get(g);!i||!We(E,i)?h(E):i&&fo(i),o.delete(g),s.delete(g)}rt(()=>[e.include,e.exclude],([g,E])=>{g&&y(v=>On(g,v)),E&&y(v=>!On(E,v))},{flush:"post",deep:!0});let C=null;const _=()=>{C!=null&&o.set(C,ho(n.subTree))};return Pn(_),Oc(_),xn(()=>{o.forEach(g=>{const{subTree:E,suspense:v}=n,x=ho(E);if(g.type===x.type&&g.key===x.key){fo(x);const k=x.component.da;k&&Ce(k,v);return}h(g)})}),()=>{if(C=null,!t.default)return null;const g=t.default(),E=g[0];if(g.length>1)return i=null,g;if(!pn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let v=ho(E);const x=v.type,k=jo(Kt(v)?v.type.__asyncResolved||{}:x),{include:O,exclude:S,max:B}=e;if(O&&(!k||!On(O,k))||S&&k&&On(S,k))return i=v,E;const $=v.key==null?x:v.key,Q=o.get($);return v.el&&(v=ht(v),E.shapeFlag&128&&(E.ssContent=v)),C=$,Q?(v.el=Q.el,v.component=Q.component,v.transition&&Ir(v,v.transition),v.shapeFlag|=512,s.delete($),s.add($)):(s.add($),B&&s.size>parseInt(B,10)&&b(s.values().next().value)),v.shapeFlag|=256,i=v,Ec(E.type)?E:v}}},Nf=Mf;function On(e,t){return q(e)?e.some(n=>On(n,t)):me(e)?e.split(",").includes(t):_u(e)?e.test(t):!1}function Rc(e,t){Ic(e,"a",t)}function Ac(e,t){Ic(e,"da",t)}function Ic(e,t,n=ve){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rr(o.parent.vnode)&&$f(r,t,n,o),o=o.parent}}function $f(e,t,n,r){const o=Gr(t,e,r,!0);Zr(()=>{ps(r[t],o)},n)}function fo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ho(e){return e.shapeFlag&128?e.ssContent:e}function Gr(e,t,n=ve,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;bn(),Ot(n);const a=Ue(t,n,e,i);return Rt(),wn(),a});return r?o.unshift(s):o.push(s),s}}const pt=e=>(t,n=ve)=>(!mn||e==="sp")&&Gr(e,(...r)=>t(...r),n),Hf=pt("bm"),Pn=pt("m"),jf=pt("bu"),Oc=pt("u"),xn=pt("bum"),Zr=pt("um"),Bf=pt("sp"),Ff=pt("rtg"),Df=pt("rtc");function Lc(e,t=ve){Gr("ec",e,t)}const ks="components";function Uf(e,t){return $c(ks,e,!0,t)||e}const Mc=Symbol.for("v-ndc");function Nc(e){return me(e)?$c(ks,e,!1)||e:e||Mc}function $c(e,t,n=!0,r=!1){const o=Pe||ve;if(o){const s=o.type;if(e===ks){const a=jo(s,!1);if(a&&(a===t||a===ot(t)||a===qr(ot(t))))return s}const i=yi(o[e]||s[e],t)||yi(o.appContext[e],t);return!i&&r?s:i}}function yi(e,t){return e&&(e[t]||e[ot(t)]||e[qr(ot(t))])}function zf(e,t,n,r){let o;const s=n&&n[r];if(q(e)||me(e)){o=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;apn(t)?!(t.type===Re||t.type===Ee&&!Hc(t.children)):!0)?e:null}const Lo=e=>e?Gc(e)?Ms(e)||e.proxy:Lo(e.parent):null,Hn=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Lo(e.parent),$root:e=>Lo(e.root),$emit:e=>e.emit,$options:e=>As(e),$forceUpdate:e=>e.f||(e.f=()=>Qr(e.update)),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>Af.bind(e)}),po=(e,t)=>e!==pe&&!e.__isScriptSetup&&ne(e,t),Kf={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(po(r,t))return i[t]=1,r[t];if(o!==pe&&ne(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&ne(l,t))return i[t]=3,s[t];if(n!==pe&&ne(n,t))return i[t]=4,n[t];Mo&&(i[t]=0)}}const u=Hn[t];let f,d;if(u)return t==="$attrs"&&$e(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==pe&&ne(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return po(o,t)?(o[t]=n,!0):r!==pe&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==pe&&ne(e,i)||po(t,i)||(a=s[0])&&ne(a,i)||ne(r,i)||ne(Hn,i)||ne(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function s0(){return Vf().slots}function Vf(){const e=Mt();return e.setupContext||(e.setupContext=el(e))}function _i(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function qf(e){const t=Mt();let n=e();return Rt(),ms(n)&&(n=n.catch(r=>{throw Ot(t),r})),[n,()=>Ot(t)]}let Mo=!0;function Wf(e){const t=As(e),n=e.proxy,r=e.ctx;Mo=!1,t.beforeCreate&&vi(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:y,activated:b,deactivated:C,beforeDestroy:_,beforeUnmount:g,destroyed:E,unmounted:v,render:x,renderTracked:k,renderTriggered:O,errorCaptured:S,serverPrefetch:B,expose:$,inheritAttrs:Q,components:j,directives:W,filters:D}=t;if(l&&Qf(l,r,null),i)for(const oe in i){const ie=i[oe];X(ie)&&(r[oe]=ie.bind(n))}if(o){const oe=o.call(n,n);he(oe)&&(e.data=st(oe))}if(Mo=!0,s)for(const oe in s){const ie=s[oe],at=X(ie)?ie.bind(n,n):X(ie.get)?ie.get.bind(n,n):Je,gt=!X(ie)&&X(ie.set)?ie.set.bind(n):Je,Ge=fe({get:at,set:gt});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Ie=>Ge.value=Ie})}if(a)for(const oe in a)jc(a[oe],r,n,oe);if(c){const oe=X(c)?c.call(n):c;Reflect.ownKeys(oe).forEach(ie=>{un(ie,oe[ie])})}u&&vi(u,e,"c");function ee(oe,ie){q(ie)?ie.forEach(at=>oe(at.bind(n))):ie&&oe(ie.bind(n))}if(ee(Hf,f),ee(Pn,d),ee(jf,h),ee(Oc,y),ee(Rc,b),ee(Ac,C),ee(Lc,S),ee(Df,k),ee(Ff,O),ee(xn,g),ee(Zr,v),ee(Bf,B),q($))if($.length){const oe=e.exposed||(e.exposed={});$.forEach(ie=>{Object.defineProperty(oe,ie,{get:()=>n[ie],set:at=>n[ie]=at})})}else e.exposed||(e.exposed={});x&&e.render===Je&&(e.render=x),Q!=null&&(e.inheritAttrs=Q),j&&(e.components=j),W&&(e.directives=W)}function Qf(e,t,n=Je){q(e)&&(e=No(e));for(const r in e){const o=e[r];let s;he(o)?"default"in o?s=Me(o.from||r,o.default,!0):s=Me(o.from||r):s=Me(o),we(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function vi(e,t,n){Ue(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jc(e,t,n,r){const o=r.includes(".")?xc(n,r):()=>n[r];if(me(e)){const s=t[e];X(s)&&rt(o,s)}else if(X(e))rt(o,e.bind(n));else if(he(e))if(q(e))e.forEach(s=>jc(s,t,n,r));else{const s=X(e.handler)?e.handler.bind(n):t[e.handler];X(s)&&rt(o,s,e)}}function As(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>Or(c,l,i,!0)),Or(c,t,i)),he(t)&&s.set(t,c),c}function Or(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Or(e,s,n,!0),o&&o.forEach(i=>Or(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jf[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jf={data:bi,props:wi,emits:wi,methods:Ln,computed:Ln,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Ln,directives:Ln,watch:Xf,provide:bi,inject:Yf};function bi(e,t){return t?e?function(){return be(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Yf(e,t){return Ln(No(e),No(t))}function No(e){if(q(e)){const t={};for(let n=0;n1)return n&&X(t)?t.call(r&&r.proxy):t}}function Fc(){return!!(ve||Pe||Yn)}function ed(e,t,n,r=!1){const o={},s={};Tr(s,eo,1),e.propsDefaults=Object.create(null),Dc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Tt(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function td(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=te(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=Uc(f,t,!0);be(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return he(e)&&r.set(e,on),on;if(q(s))for(let u=0;u-1,h[1]=b<0||y-1||ne(h,"default"))&&a.push(f)}}}const l=[i,a];return he(e)&&r.set(e,l),l}function Ei(e){return e[0]!=="$"}function Ci(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Pi(e,t){return Ci(e)===Ci(t)}function xi(e,t){return q(t)?t.findIndex(n=>Pi(n,e)):X(t)&&Pi(t,e)?0:-1}const zc=e=>e[0]==="_"||e==="$stable",Is=e=>q(e)?e.map(Fe):[Fe(e)],nd=(e,t,n)=>{if(t._n)return t;const r=Cn((...o)=>Is(t(...o)),n);return r._c=!1,r},Kc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zc(o))continue;const s=e[o];if(X(s))t[o]=nd(o,s,r);else if(s!=null){const i=Is(s);t[o]=()=>i}}},Vc=(e,t)=>{const n=Is(t);e.slots.default=()=>n},rd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=te(t),Tr(t,"_",n)):Kc(t,e.slots={})}else e.slots={},t&&Vc(e,t);Tr(e.slots,eo,1)},od=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=pe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(be(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Kc(t,o)),i=t}else t&&(Vc(e,t),i={default:1});if(s)for(const a in o)!zc(a)&&!(a in i)&&delete o[a]};function Lr(e,t,n,r,o=!1){if(q(e)){e.forEach((d,h)=>Lr(d,t&&(q(t)?t[h]:t),n,r,o));return}if(Kt(r)&&!o)return;const s=r.shapeFlag&4?Ms(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===pe?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(me(l)?(u[l]=null,ne(f,l)&&(f[l]=null)):we(l)&&(l.value=null)),X(c))kt(c,a,12,[i,u]);else{const d=me(c),h=we(c);if(d||h){const y=()=>{if(e.f){const b=d?ne(f,c)?f[c]:u[c]:c.value;o?q(b)&&ps(b,s):q(b)?b.includes(s)||b.push(s):d?(u[c]=[s],ne(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,ne(f,c)&&(f[c]=i)):h&&(c.value=i,e.k&&(u[e.k]=i))};i?(y.id=-1,Ce(y,n)):y()}}}let yt=!1;const dr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",hr=e=>e.nodeType===8;function sd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),Rr(),g._vnode=_;return}yt=!1,f(g.firstChild,_,null,null,null),Rr(),g._vnode=_,yt&&console.error("Hydration completed but contains mismatches.")},f=(_,g,E,v,x,k=!1)=>{const O=hr(_)&&_.data==="[",S=()=>b(_,g,E,v,x,O),{type:B,ref:$,shapeFlag:Q,patchFlag:j}=g;let W=_.nodeType;g.el=_,j===-2&&(k=!1,g.dynamicChildren=null);let D=null;switch(B){case dn:W!==3?g.children===""?(c(g.el=o(""),i(_),_),D=_):D=S():(_.data!==g.children&&(yt=!0,_.data=g.children),D=s(_));break;case Re:W!==8||O?D=S():D=s(_);break;case jn:if(O&&(_=s(_),W=_.nodeType),W===1||W===3){D=_;const ye=!g.children.length;for(let ee=0;ee{k=k||!!g.dynamicChildren;const{type:O,props:S,patchFlag:B,shapeFlag:$,dirs:Q}=g,j=O==="input"&&Q||O==="option";if(j||B!==-1){if(Q&&tt(g,null,E,"created"),S)if(j||!k||B&48)for(const D in S)(j&&D.endsWith("value")||tr(D)&&!Nn(D))&&r(_,D,null,S[D],!1,void 0,E);else S.onClick&&r(_,"onClick",null,S.onClick,!1,void 0,E);let W;if((W=S&&S.onVnodeBeforeMount)&&Le(W,E,g),Q&&tt(g,null,E,"beforeMount"),((W=S&&S.onVnodeMounted)||Q)&&Pc(()=>{W&&Le(W,E,g),Q&&tt(g,null,E,"mounted")},v),$&16&&!(S&&(S.innerHTML||S.textContent))){let D=h(_.firstChild,g,_,E,v,x,k);for(;D;){yt=!0;const ye=D;D=D.nextSibling,a(ye)}}else $&8&&_.textContent!==g.children&&(yt=!0,_.textContent=g.children)}return _.nextSibling},h=(_,g,E,v,x,k,O)=>{O=O||!!g.dynamicChildren;const S=g.children,B=S.length;for(let $=0;${const{slotScopeIds:O}=g;O&&(x=x?x.concat(O):O);const S=i(_),B=h(s(_),g,S,E,v,x,k);return B&&hr(B)&&B.data==="]"?s(g.anchor=B):(yt=!0,c(g.anchor=l("]"),S,B),B)},b=(_,g,E,v,x,k)=>{if(yt=!0,g.el=null,k){const B=C(_);for(;;){const $=s(_);if($&&$!==B)a($);else break}}const O=s(_),S=i(_);return a(_),n(null,g,S,O,E,v,dr(S),x),O},C=_=>{let g=0;for(;_;)if(_=s(_),_&&hr(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return s(_);g--}return _};return[u,f]}const Ce=Pc;function id(e){return qc(e)}function ad(e){return qc(e,sd)}function qc(e,t){const n=So();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Je,insertStaticContent:y}=e,b=(p,m,w,P=null,R=null,A=null,H=!1,L=null,M=!!m.dynamicChildren)=>{if(p===m)return;p&&!We(p,m)&&(P=T(p),Ie(p,R,A,!0),p=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:I,ref:K,shapeFlag:U}=m;switch(I){case dn:C(p,m,w,P);break;case Re:_(p,m,w,P);break;case jn:p==null&&g(m,w,P,H);break;case Ee:j(p,m,w,P,R,A,H,L,M);break;default:U&1?x(p,m,w,P,R,A,H,L,M):U&6?W(p,m,w,P,R,A,H,L,M):(U&64||U&128)&&I.process(p,m,w,P,R,A,H,L,M,N)}K!=null&&R&&Lr(K,p&&p.ref,A,m||p,!m)},C=(p,m,w,P)=>{if(p==null)r(m.el=a(m.children),w,P);else{const R=m.el=p.el;m.children!==p.children&&l(R,m.children)}},_=(p,m,w,P)=>{p==null?r(m.el=c(m.children||""),w,P):m.el=p.el},g=(p,m,w,P)=>{[p.el,p.anchor]=y(p.children,m,w,P,p.el,p.anchor)},E=({el:p,anchor:m},w,P)=>{let R;for(;p&&p!==m;)R=d(p),r(p,w,P),p=R;r(m,w,P)},v=({el:p,anchor:m})=>{let w;for(;p&&p!==m;)w=d(p),o(p),p=w;o(m)},x=(p,m,w,P,R,A,H,L,M)=>{H=H||m.type==="svg",p==null?k(m,w,P,R,A,H,L,M):B(p,m,R,A,H,L,M)},k=(p,m,w,P,R,A,H,L)=>{let M,I;const{type:K,props:U,shapeFlag:V,transition:Y,dirs:Z}=p;if(M=p.el=i(p.type,A,U&&U.is,U),V&8?u(M,p.children):V&16&&S(p.children,M,null,P,R,A&&K!=="foreignObject",H,L),Z&&tt(p,null,P,"created"),O(M,p,p.scopeId,H,P),U){for(const ue in U)ue!=="value"&&!Nn(ue)&&s(M,ue,null,U[ue],A,p.children,P,R,Te);"value"in U&&s(M,"value",null,U.value),(I=U.onVnodeBeforeMount)&&Le(I,P,p)}Z&&tt(p,null,P,"beforeMount");const de=(!R||R&&!R.pendingBranch)&&Y&&!Y.persisted;de&&Y.beforeEnter(M),r(M,m,w),((I=U&&U.onVnodeMounted)||de||Z)&&Ce(()=>{I&&Le(I,P,p),de&&Y.enter(M),Z&&tt(p,null,P,"mounted")},R)},O=(p,m,w,P,R)=>{if(w&&h(p,w),P)for(let A=0;A{for(let I=M;I{const L=m.el=p.el;let{patchFlag:M,dynamicChildren:I,dirs:K}=m;M|=p.patchFlag&16;const U=p.props||pe,V=m.props||pe;let Y;w&&Nt(w,!1),(Y=V.onVnodeBeforeUpdate)&&Le(Y,w,m,p),K&&tt(m,p,w,"beforeUpdate"),w&&Nt(w,!0);const Z=R&&m.type!=="foreignObject";if(I?$(p.dynamicChildren,I,L,w,P,Z,A):H||ie(p,m,L,null,w,P,Z,A,!1),M>0){if(M&16)Q(L,m,U,V,w,P,R);else if(M&2&&U.class!==V.class&&s(L,"class",null,V.class,R),M&4&&s(L,"style",U.style,V.style,R),M&8){const de=m.dynamicProps;for(let ue=0;ue{Y&&Le(Y,w,m,p),K&&tt(m,p,w,"updated")},P)},$=(p,m,w,P,R,A,H)=>{for(let L=0;L{if(w!==P){if(w!==pe)for(const L in w)!Nn(L)&&!(L in P)&&s(p,L,w[L],null,H,m.children,R,A,Te);for(const L in P){if(Nn(L))continue;const M=P[L],I=w[L];M!==I&&L!=="value"&&s(p,L,I,M,H,m.children,R,A,Te)}"value"in P&&s(p,"value",w.value,P.value)}},j=(p,m,w,P,R,A,H,L,M)=>{const I=m.el=p?p.el:a(""),K=m.anchor=p?p.anchor:a("");let{patchFlag:U,dynamicChildren:V,slotScopeIds:Y}=m;Y&&(L=L?L.concat(Y):Y),p==null?(r(I,w,P),r(K,w,P),S(m.children,w,K,R,A,H,L,M)):U>0&&U&64&&V&&p.dynamicChildren?($(p.dynamicChildren,V,w,R,A,H,L),(m.key!=null||R&&m===R.subTree)&&Wc(p,m,!0)):ie(p,m,w,K,R,A,H,L,M)},W=(p,m,w,P,R,A,H,L,M)=>{m.slotScopeIds=L,p==null?m.shapeFlag&512?R.ctx.activate(m,w,P,H,M):D(m,w,P,R,A,H,M):ye(p,m,M)},D=(p,m,w,P,R,A,H)=>{const L=p.component=pd(p,P,R);if(rr(p)&&(L.ctx.renderer=N),gd(L),L.asyncDep){if(R&&R.registerDep(L,ee),!p.el){const M=L.subTree=re(Re);_(null,M,m,w)}return}ee(L,p,m,w,R,A,H)},ye=(p,m,w)=>{const P=m.component=p.component;if(wf(p,m,w))if(P.asyncDep&&!P.asyncResolved){oe(P,m,w);return}else P.next=m,gf(P.update),P.update();else m.el=p.el,P.vnode=m},ee=(p,m,w,P,R,A,H)=>{const L=()=>{if(p.isMounted){let{next:K,bu:U,u:V,parent:Y,vnode:Z}=p,de=K,ue;Nt(p,!1),K?(K.el=Z.el,oe(p,K,H)):K=Z,U&&$n(U),(ue=K.props&&K.props.onVnodeBeforeUpdate)&&Le(ue,Y,K,Z),Nt(p,!0);const _e=co(p),Ke=p.subTree;p.subTree=_e,b(Ke,_e,f(Ke.el),T(Ke),p,R,A),K.el=_e.el,de===null&&Ts(p,_e.el),V&&Ce(V,R),(ue=K.props&&K.props.onVnodeUpdated)&&Ce(()=>Le(ue,Y,K,Z),R)}else{let K;const{el:U,props:V}=m,{bm:Y,m:Z,parent:de}=p,ue=Kt(m);if(Nt(p,!1),Y&&$n(Y),!ue&&(K=V&&V.onVnodeBeforeMount)&&Le(K,de,m),Nt(p,!0),U&&ae){const _e=()=>{p.subTree=co(p),ae(U,p.subTree,p,R,null)};ue?m.type.__asyncLoader().then(()=>!p.isUnmounted&&_e()):_e()}else{const _e=p.subTree=co(p);b(null,_e,w,P,p,R,A),m.el=_e.el}if(Z&&Ce(Z,R),!ue&&(K=V&&V.onVnodeMounted)){const _e=m;Ce(()=>Le(K,de,_e),R)}(m.shapeFlag&256||de&&Kt(de.vnode)&&de.vnode.shapeFlag&256)&&p.a&&Ce(p.a,R),p.isMounted=!0,m=w=P=null}},M=p.effect=new vs(L,()=>Qr(I),p.scope),I=p.update=()=>M.run();I.id=p.uid,Nt(p,!0),I()},oe=(p,m,w)=>{m.component=p;const P=p.vnode.props;p.vnode=m,p.next=null,td(p,m.props,P,w),od(p,m.children,w),bn(),hi(),wn()},ie=(p,m,w,P,R,A,H,L,M=!1)=>{const I=p&&p.children,K=p?p.shapeFlag:0,U=m.children,{patchFlag:V,shapeFlag:Y}=m;if(V>0){if(V&128){gt(I,U,w,P,R,A,H,L,M);return}else if(V&256){at(I,U,w,P,R,A,H,L,M);return}}Y&8?(K&16&&Te(I,R,A),U!==I&&u(w,U)):K&16?Y&16?gt(I,U,w,P,R,A,H,L,M):Te(I,R,A,!0):(K&8&&u(w,""),Y&16&&S(U,w,P,R,A,H,L,M))},at=(p,m,w,P,R,A,H,L,M)=>{p=p||on,m=m||on;const I=p.length,K=m.length,U=Math.min(I,K);let V;for(V=0;VK?Te(p,R,A,!0,!1,U):S(m,w,P,R,A,H,L,M,U)},gt=(p,m,w,P,R,A,H,L,M)=>{let I=0;const K=m.length;let U=p.length-1,V=K-1;for(;I<=U&&I<=V;){const Y=p[I],Z=m[I]=M?wt(m[I]):Fe(m[I]);if(We(Y,Z))b(Y,Z,w,null,R,A,H,L,M);else break;I++}for(;I<=U&&I<=V;){const Y=p[U],Z=m[V]=M?wt(m[V]):Fe(m[V]);if(We(Y,Z))b(Y,Z,w,null,R,A,H,L,M);else break;U--,V--}if(I>U){if(I<=V){const Y=V+1,Z=YV)for(;I<=U;)Ie(p[I],R,A,!0),I++;else{const Y=I,Z=I,de=new Map;for(I=Z;I<=V;I++){const He=m[I]=M?wt(m[I]):Fe(m[I]);He.key!=null&&de.set(He.key,I)}let ue,_e=0;const Ke=V-Z+1;let Gt=!1,ni=0;const Sn=new Array(Ke);for(I=0;I=Ke){Ie(He,R,A,!0);continue}let Ze;if(He.key!=null)Ze=de.get(He.key);else for(ue=Z;ue<=V;ue++)if(Sn[ue-Z]===0&&We(He,m[ue])){Ze=ue;break}Ze===void 0?Ie(He,R,A,!0):(Sn[Ze-Z]=I+1,Ze>=ni?ni=Ze:Gt=!0,b(He,m[Ze],w,null,R,A,H,L,M),_e++)}const ri=Gt?cd(Sn):on;for(ue=ri.length-1,I=Ke-1;I>=0;I--){const He=Z+I,Ze=m[He],oi=He+1{const{el:A,type:H,transition:L,children:M,shapeFlag:I}=p;if(I&6){Ge(p.component.subTree,m,w,P);return}if(I&128){p.suspense.move(m,w,P);return}if(I&64){H.move(p,m,w,N);return}if(H===Ee){r(A,m,w);for(let U=0;UL.enter(A),R);else{const{leave:U,delayLeave:V,afterLeave:Y}=L,Z=()=>r(A,m,w),de=()=>{U(A,()=>{Z(),Y&&Y()})};V?V(A,Z,de):de()}else r(A,m,w)},Ie=(p,m,w,P=!1,R=!1)=>{const{type:A,props:H,ref:L,children:M,dynamicChildren:I,shapeFlag:K,patchFlag:U,dirs:V}=p;if(L!=null&&Lr(L,null,w,p,!0),K&256){m.ctx.deactivate(p);return}const Y=K&1&&V,Z=!Kt(p);let de;if(Z&&(de=H&&H.onVnodeBeforeUnmount)&&Le(de,m,p),K&6)sr(p.component,w,P);else{if(K&128){p.suspense.unmount(w,P);return}Y&&tt(p,null,m,"beforeUnmount"),K&64?p.type.remove(p,m,w,R,N,P):I&&(A!==Ee||U>0&&U&64)?Te(I,m,w,!1,!0):(A===Ee&&U&384||!R&&K&16)&&Te(M,m,w),P&&Yt(p)}(Z&&(de=H&&H.onVnodeUnmounted)||Y)&&Ce(()=>{de&&Le(de,m,p),Y&&tt(p,null,m,"unmounted")},w)},Yt=p=>{const{type:m,el:w,anchor:P,transition:R}=p;if(m===Ee){Xt(w,P);return}if(m===jn){v(p);return}const A=()=>{o(w),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(p.shapeFlag&1&&R&&!R.persisted){const{leave:H,delayLeave:L}=R,M=()=>H(w,A);L?L(p.el,A,M):M()}else A()},Xt=(p,m)=>{let w;for(;p!==m;)w=d(p),o(p),p=w;o(m)},sr=(p,m,w)=>{const{bum:P,scope:R,update:A,subTree:H,um:L}=p;P&&$n(P),R.stop(),A&&(A.active=!1,Ie(H,p,m,w)),L&&Ce(L,m),Ce(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Te=(p,m,w,P=!1,R=!1,A=0)=>{for(let H=A;Hp.shapeFlag&6?T(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),F=(p,m,w)=>{p==null?m._vnode&&Ie(m._vnode,null,null,!0):b(m._vnode||null,p,m,null,null,null,w),hi(),Rr(),m._vnode=p},N={p:b,um:Ie,m:Ge,r:Yt,mt:D,mc:S,pc:ie,pbc:$,n:T,o:e};let z,ae;return t&&([z,ae]=t(N)),{render:F,hydrate:z,createApp:Zf(F,z)}}function Nt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wc(e,t,n=!1){const r=e.children,o=t.children;if(q(r)&&q(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const ld=e=>e.__isTeleport,Ee=Symbol.for("v-fgt"),dn=Symbol.for("v-txt"),Re=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Bn=[];let De=null;function ge(e=!1){Bn.push(De=e?null:[])}function Qc(){Bn.pop(),De=Bn[Bn.length-1]||null}let hn=1;function Ti(e){hn+=e}function Jc(e){return e.dynamicChildren=hn>0?De||on:null,Qc(),hn>0&&De&&De.push(e),e}function Qe(e,t,n,r,o,s){return Jc(gn(e,t,n,r,o,s,!0))}function je(e,t,n,r,o){return Jc(re(e,t,n,r,o,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function We(e,t){return e.type===t.type&&e.key===t.key}const eo="__vInternal",Yc=({key:e})=>e??null,_r=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||we(e)||X(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function gn(e,t=null,n=null,r=0,o=null,s=e===Ee?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yc(t),ref:t&&_r(t),scopeId:Yr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Pe};return a?(Os(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=me(n)?8:16),hn>0&&!i&&De&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&De.push(c),c}const re=ud;function ud(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Mc)&&(e=Re),pn(e)){const a=ht(e,t,!0);return n&&Os(a,n),hn>0&&!s&&De&&(a.shapeFlag&6?De[De.indexOf(e)]=a:De.push(a)),a.patchFlag|=-2,a}if(_d(e)&&(e=e.__vccOpts),t){t=Xc(t);let{class:a,style:c}=t;a&&!me(a)&&(t.class=Ct(a)),he(c)&&(lc(c)&&!q(c)&&(c=be({},c)),t.style=fn(c))}const i=me(e)?1:Ec(e)?128:ld(e)?64:he(e)?4:X(e)?2:0;return gn(e,t,n,r,o,i,s,!0)}function Xc(e){return e?lc(e)||eo in e?be({},e):e:null}function ht(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?fd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Yc(a),ref:t&&t.ref?n&&o?q(o)?o.concat(_r(t)):[o,_r(t)]:_r(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function to(e=" ",t=0){return re(dn,null,e,t)}function Si(e="",t=!1){return t?(ge(),je(Re,null,e)):re(Re,null,e)}function Fe(e){return e==null||typeof e=="boolean"?re(Re):q(e)?re(Ee,null,e.slice()):typeof e=="object"?wt(e):re(dn,null,String(e))}function wt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function Os(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Os(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(eo in t)?t._ctx=Pe:o===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),r&64?(n=16,t=[to(t)]):n=8);e.children=t,e.shapeFlag|=n}function fd(...e){const t={};for(let n=0;nve||Pe;let Ls,Zt,ki="__VUE_INSTANCE_SETTERS__";(Zt=So()[ki])||(Zt=So()[ki]=[]),Zt.push(e=>ve=e),Ls=e=>{Zt.length>1?Zt.forEach(t=>t(e)):Zt[0](e)};const Ot=e=>{Ls(e),e.scope.on()},Rt=()=>{ve&&ve.scope.off(),Ls(null)};function Gc(e){return e.vnode.shapeFlag&4}let mn=!1;function gd(e,t=!1){mn=t;const{props:n,children:r}=e.vnode,o=Gc(e);ed(e,n,o,t),rd(e,r);const s=o?md(e,t):void 0;return mn=!1,s}function md(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=uc(new Proxy(e.ctx,Kf));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?el(e):null;Ot(e),bn();const s=kt(r,e,0,[e.props,o]);if(wn(),Rt(),ms(s)){if(s.then(Rt,Rt),t)return s.then(i=>{Ho(e,i,t)}).catch(i=>{En(i,e,0)});e.asyncDep=s}else Ho(e,s,t)}else Zc(e,t)}function Ho(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=pc(t)),Zc(e,n)}let Ri;function Zc(e,t,n){const r=e.type;if(!e.render){if(!t&&Ri&&!r.render){const o=r.template||As(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=be(be({isCustomElement:s,delimiters:a},i),c);r.render=Ri(o,l)}}e.render=r.render||Je}Ot(e),bn(),Wf(e),wn(),Rt()}function yd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return $e(e,"get","$attrs"),t[n]}}))}function el(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return yd(e)},slots:e.slots,emit:e.emit,expose:t}}function Ms(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pc(uc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Hn)return Hn[n](e)},has(t,n){return n in t||n in Hn}}))}function jo(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function _d(e){return X(e)&&"__vccOpts"in e}const fe=(e,t)=>df(e,t,mn);function Ne(e,t,n){const r=arguments.length;return r===2?he(t)&&!q(t)?pn(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pn(n)&&(n=[n]),re(e,t,n))}const vd=Symbol.for("v-scx"),bd=()=>Me(vd),tl="3.3.4",wd="http://www.w3.org/2000/svg",Ut=typeof document<"u"?document:null,Ai=Ut&&Ut.createElement("template"),Ed={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Ut.createElementNS(wd,e):Ut.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ai.innerHTML=r?`${e}`:e;const a=Ai.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Cd(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Pd(e,t,n){const r=e.style,o=me(n);if(n&&!o){if(t&&!me(t))for(const s in t)n[s]==null&&Bo(r,s,"");for(const s in n)Bo(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Ii=/\s*!important$/;function Bo(e,t,n){if(q(n))n.forEach(r=>Bo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=xd(e,t);Ii.test(n)?e.setProperty(vn(r),n.replace(Ii,""),"important"):e[r]=n}}const Oi=["Webkit","Moz","ms"],go={};function xd(e,t){const n=go[t];if(n)return n;let r=ot(t);if(r!=="filter"&&r in e)return go[t]=r;r=qr(r);for(let o=0;omo||(Od.then(()=>mo=0),mo=Date.now());function Md(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ue(Nd(r,n.value),t,5,[r])};return n.value=e,n.attached=Ld(),n}function Nd(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ni=/^on[a-z]/,$d=(e,t,n,r,o=!1,s,i,a,c)=>{t==="class"?Cd(e,r,o):t==="style"?Pd(e,n,r):tr(t)?hs(t)||Ad(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hd(e,t,r,o))?Sd(e,t,r,s,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Td(e,t,r,o))};function Hd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ni.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ni.test(t)&&me(n)?!1:t in e}function i0(e){const t=Mt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Do(s,o))},r=()=>{const o=e(t.proxy);Fo(t.subTree,o),n(o)};Rf(r),Pn(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Zr(()=>o.disconnect())})}function Fo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Do(e.el,t);else if(e.type===Ee)e.children.forEach(n=>Fo(n,t));else if(e.type===jn){let{el:n,anchor:r}=e;for(;n&&(Do(n,t),n!==r);)n=n.nextSibling}}function Do(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const _t="transition",kn="animation",Ns=(e,{slots:t})=>Ne(Lf,jd(e),t);Ns.displayName="Transition";const nl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ns.props=be({},Tc,nl);const $t=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},$i=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const j in e)j in nl||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=Bd(o),b=y&&y[0],C=y&&y[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:E,onLeave:v,onLeaveCancelled:x,onBeforeAppear:k=_,onAppear:O=g,onAppearCancelled:S=E}=t,B=(j,W,D)=>{Ht(j,W?u:a),Ht(j,W?l:i),D&&D()},$=(j,W)=>{j._isLeaving=!1,Ht(j,f),Ht(j,h),Ht(j,d),W&&W()},Q=j=>(W,D)=>{const ye=j?O:g,ee=()=>B(W,j,D);$t(ye,[W,ee]),Hi(()=>{Ht(W,j?c:s),vt(W,j?u:a),$i(ye)||ji(W,r,b,ee)})};return be(t,{onBeforeEnter(j){$t(_,[j]),vt(j,s),vt(j,i)},onBeforeAppear(j){$t(k,[j]),vt(j,c),vt(j,l)},onEnter:Q(!1),onAppear:Q(!0),onLeave(j,W){j._isLeaving=!0;const D=()=>$(j,W);vt(j,f),Ud(),vt(j,d),Hi(()=>{j._isLeaving&&(Ht(j,f),vt(j,h),$i(v)||ji(j,r,C,D))}),$t(v,[j,D])},onEnterCancelled(j){B(j,!1),$t(E,[j])},onAppearCancelled(j){B(j,!0),$t(S,[j])},onLeaveCancelled(j){$(j),$t(x,[j])}})}function Bd(e){if(e==null)return null;if(he(e))return[yo(e.enter),yo(e.leave)];{const t=yo(e);return[t,t]}}function yo(e){return Qa(e)}function vt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ht(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Hi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fd=0;function ji(e,t,n,r){const o=e._endId=++Fd,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=Dd(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[y]||"").split(", "),o=r(`${_t}Delay`),s=r(`${_t}Duration`),i=Bi(o,s),a=r(`${kn}Delay`),c=r(`${kn}Duration`),l=Bi(a,c);let u=null,f=0,d=0;t===_t?i>0&&(u=_t,f=i,d=s.length):t===kn?l>0&&(u=kn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?_t:kn:null,d=u?u===_t?s.length:c.length:0);const h=u===_t&&/\b(transform|all)(,|$)/.test(r(`${_t}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Bi(e,t){for(;e.lengthFi(n)+Fi(e[r])))}function Fi(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Ud(){return document.body.offsetHeight}const rl=be({patchProp:$d},Ed);let Fn,Di=!1;function zd(){return Fn||(Fn=id(rl))}function Kd(){return Fn=Di?Fn:ad(rl),Di=!0,Fn}const Vd=(...e)=>{const t=zd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ol(r);if(!o)return;const s=t._component;!X(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},qd=(...e)=>{const t=Kd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ol(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function ol(e){return me(e)?document.querySelector(e):e}const Wd=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Qd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Jd=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Yd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Xd(e);return}return t}function Xd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Xn(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Jd.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Wd.test(e)||Qd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Yd)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Gd=/#/g,Zd=/&/g,eh=/=/g,$s=/\+/g,th=/%5e/gi,nh=/%60/gi,rh=/%7c/gi,oh=/%20/gi;function sh(e){return encodeURI(""+e).replace(rh,"|")}function Uo(e){return sh(typeof e=="string"?e:JSON.stringify(e)).replace($s,"%2B").replace(oh,"+").replace(Gd,"%23").replace(Zd,"%26").replace(nh,"`").replace(th,"^")}function _o(e){return Uo(e).replace(eh,"%3D")}function Mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ih(e){return Mr(e.replace($s," "))}function ah(e){return Mr(e.replace($s," "))}function sl(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ih(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=ah(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function ch(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${_o(e)}=${Uo(n)}`).join("&"):`${_o(e)}=${Uo(t)}`:_o(e)}function lh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ch(t,e[t])).filter(Boolean).join("&")}const uh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dh=/^([/\\]\s*){2,}[^/\\]/;function Lt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?uh.test(e):fh.test(e)||(t.acceptRelative?dh.test(e):!1)}const hh=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function ph(e){return!!e&&hh.test(e)}const gh=/\/$|\/\?/;function zo(e="",t=!1){return t?gh.test(e):e.endsWith("/")}function qt(e="",t=!1){if(!t)return(zo(e)?e.slice(0,-1):e)||"/";if(!zo(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Nr(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(zo(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function mh(e=""){return e.startsWith("/")}function Ko(e=""){return mh(e)?e:"/"+e}function il(e,t){if(cl(t)||Lt(e))return e;const n=qt(t);return e.startsWith(n)?e:Tn(n,e)}function Ui(e,t){if(cl(t))return e;const n=qt(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function al(e,t){const n=or(e),r={...sl(n.search),...t};return n.search=lh(r),bh(n)}function cl(e){return!e||e==="/"}function yh(e){return e&&e!=="/"}const _h=/^\.?\//;function Tn(e,...t){let n=e||"";for(const r of t.filter(o=>yh(o)))if(n){const o=r.replace(_h,"");n=Nr(n)+o}else n=r;return n}function vh(e,t,n={}){return n.trailingSlash||(e=Nr(e),t=Nr(t)),n.leadingSlash||(e=Ko(e),t=Ko(t)),n.encoding||(e=Mr(e),t=Mr(t)),e===t}function or(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Lt(e,{acceptRelative:!0}))return t?or(t+e):zi(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=zi(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:c,search:l,hash:u}}function zi(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function bh(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+o+s+t+n+r}class wh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Eh(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${o}: ${s}${t?` ${t}`:""}`,a=new wh(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[y]}});return a}const Ch=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ki(e="GET"){return Ch.has(e.toUpperCase())}function Ph(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const xh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Th=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Sh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Th.test(t)?"json":xh.has(t)||t.startsWith("text/")?"text":"blob"}function kh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const Rh=new Set([408,409,425,429,500,502,503,504]),Ah=new Set([101,204,205,304]);function ll(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Ki(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Rh.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const l=Eh(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(c,l={}){var d;const u={request:c,options:kh(l,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=il(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=al(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Ki(u.options.method)&&(Ph(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const h=new r;setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!Ah.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Sh(u.response.headers.get("content-type")||"");switch(h){case"json":{const y=await u.response.text(),b=u.options.parseResponse||Xn;u.response._data=b(y);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(c,l){return(await s(c,l))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>ll({...e,defaults:{...e.defaults,...a}}),i}const Hs=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Ih=Hs.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Oh=Hs.Headers,Lh=Hs.AbortController,Mh=ll({fetch:Ih,Headers:Oh,AbortController:Lh}),Nh=Mh,$h=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},$r=$h().app,Hh=()=>$r.baseURL,jh=()=>$r.buildAssetsDir,Bh=(...e)=>Tn(ul(),jh(),...e),ul=(...e)=>{const t=$r.cdnURL||$r.baseURL;return e.length?Tn(t,...e):t};globalThis.__buildAssetsURL=Bh,globalThis.__publicAssetsURL=ul;function Vo(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Vo(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Fh={run:e=>e()},Dh=()=>Fh,fl=typeof console.createTask<"u"?console.createTask:Dh;function Uh(e,t){const n=t.shift(),r=fl(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function zh(e,t){const n=t.shift(),r=fl(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function vo(e,t){for(const n of[...e])n(t)}class Kh{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=Vo(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=Vo(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(Uh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(zh,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&vo(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&vo(this._after,o)}):(this._after&&o&&vo(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 dl(){return new Kh}function Vh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;qo.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{qo.delete(l)}}}}function qh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Vh({...e,...r})),t[n],t[n]}}}const Hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Vi="__unctx__",Wh=Hr[Vi]||(Hr[Vi]=qh()),Qh=(e,t={})=>Wh.get(e,t),qi="__unctx_async_handlers__",qo=Hr[qi]||(Hr[qi]=new Set);function jr(e){const t=[];for(const o of qo){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const hl=Qh("nuxt-app",{asyncContext:!1}),Jh="__nuxt_plugin";function Yh(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.4"},get vue(){return n.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>pl(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=dl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;pr(n,i,s),pr(n.vueApp.config.globalProperties,i,s)},pr(n.vueApp,"$nuxt",n),pr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||le;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=st(n.payload.config);return n.provide("config",r),n}async function Xh(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Gh(e,t){const n=[],r=[];for(const o of t){const s=Xh(e,o);o.parallel?n.push(s.catch(i=>r.push(i))):await s}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function it(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Jh]:!0}))}function pl(e,t,n){const r=()=>n?t(...n):t();return hl.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function le(){var t;let e;if(Fc()&&(e=(t=Mt())==null?void 0:t.appContext.app.$nuxt),e=e||hl.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Ye(){return le().$config}function pr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Zh="modulepreload",ep=function(e,t){return e[0]==="."?new URL(e,t).href:e},Wi={},tp=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=ep(s,r),s in Wi)return;Wi[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Zh,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},J=(...e)=>tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),np=-1,rp=-2,op=-3,sp=-4,ip=-5,ap=-6;function cp(e,t){return lp(JSON.parse(e),t)}function lp(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===np)return;if(s===op)return NaN;if(s===sp)return 1/0;if(s===ip)return-1/0;if(s===ap)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[s]=l(o(a[1]));switch(c){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let h=1;h>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Qi(e){return e._h||ml(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function yl(e,t){const{props:n,tag:r}=e;if(hp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function Ji(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function gp(e,t,n){const r={tag:e,props:await _l(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return gl.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent"].includes(o)||fp.includes(r.tag))&&(r[o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/({...r,props:{...r.props,content:o}})):r}function mp(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function _l(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=mp(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!gl.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const yp=10;async function _p(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&dp.includes(n)).forEach(([n,r])=>{const o=up(r);t.push(...o.map(s=>gp(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(bt)&&(e.endsWith(bt)&&(e=e.slice(0,-bt.length).trim()),e.startsWith(bt)&&(e=e.slice(bt.length).trim()),e=e.replace(new RegExp(`\\${bt}\\s*\\${bt}`,"g"),bt),e=Bt(e,{separator:n},n)),e}async function bp(e){const t={tag:e.tagName.toLowerCase(),props:await _l(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=yl(t),t}async function vl(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:vr.includes(f.tag)?Qi(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const h of[...d].filter(y=>vr.includes(y.tagName.toLowerCase())))s.elMap[h.getAttribute("data-hid")||Qi(await bp(h))]=h}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,h){const y=`${f}:${d}`;s.sideEffects[y]=h,delete s.pendingSideEffects[y]}function a({id:f,$el:d,tag:h}){const y=h.tag.endsWith("Attrs");s.elMap[f]=d,y||(["textContent","innerHTML"].forEach(b=>{h[b]&&h[b]!==d[b]&&(d[b]=h[b])}),i(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(h.props).forEach(([b,C])=>{const _=`attr:${b}`;if(b==="class")for(const g of(C||"").split(" ").filter(Boolean))y&&i(f,`${_}:${g}`,()=>d.classList.remove(g)),!d.classList.contains(g)&&d.classList.add(g);else d.getAttribute(b)!==C&&d.setAttribute(b,C===!0?"":String(C)),y&&i(f,_,()=>d.removeAttribute(b))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:y}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[y],f.$el?a(f):vr.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function wp(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await vl(e,t),delete e._domUpdatePromise,r()}))}function Ep(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":function(s){wp(s,e)}}}}}const Cp=["templateParams","htmlAttrs","bodyAttrs"],Pp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=yl(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Cp.includes(r.tag)&&(a="merge"),a==="merge"){const c=s.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[o].props={...c,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(Br(r)>Br(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(vr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},xp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Gi=["script","link","bodyAttrs"];function Zi(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?n[r]=o:t[r]=o}),{props:t,eventHandlers:n}}const Tp={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!Gi.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=Zi(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!Gi.includes(t.tag))return t;const{props:n,eventHandlers:r}=Zi(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,s])=>{const i=`${e.tag._d||e.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(c))return;const l=s;e.$el.setAttribute(c,""),r.addEventListener(a,l),e.entry&&n(e.id,i,()=>{r.removeEventListener(a,l),e.$el.removeAttribute(c)})})}}},Sp=["link","style","script","noscript"],kp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Sp.includes(e.tag)&&(e.props["data-hid"]=e._h=ml(e.key))}}},Rp={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of vp)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Br(n)-Br(r))}}},Ap={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(a=>a.tag==="title"))==null?void 0:i.textContent,r=t.findIndex(a=>a.tag==="templateParams"),o=r!==-1?t[r].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=Bt(o.pageTitle||n||"",o,s);for(const a of t)a.processTemplateParams!==!1&&(["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string"?a.textContent=Bt(a.textContent,o,s):a.tag==="meta"&&typeof a.props.content=="string"?a.props.content=Bt(a.props.content,o,s):a.tag==="link"&&typeof a.props.href=="string"?a.props.href=Bt(a.props.href,o,s):a.processTemplateParams===!0&&(a.innerHTML?a.innerHTML=Bt(a.innerHTML,o,s):a.textContent&&(a.textContent=Bt(a.textContent,o,s))));e.tags=t.filter(a=>a.tag!=="templateParams")}}},Ip={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Ji(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Ji(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let bl;function Op(e={}){const t=Lp(e);return t.use(Ep()),bl=t}function ea(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Lp(e={}){const t=dl();t.addHooks(e.hooks||{}),e.document=e.document||(pp?document:void 0);const n=!e.document;e.plugins=[Pp,xp,Tp,kp,Rp,Ap,Ip,...(e==null?void 0:e.plugins)||[]];const r=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let o=0,s=[];const i={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(a){const c=typeof a=="function"?a(i):a;ea(c.mode,n)&&t.addHooks(c.hooks||{})},push(a,c){c==null||delete c.head;const l={_i:o++,input:a,...c};return ea(l.mode,n)&&(s.push(l),r()),{dispose(){s=s.filter(u=>u._i!==l._i),t.callHook("entries:updated",i),r()},patch(u){s=s.map(f=>(f._i===l._i&&(f.input=l.input=u),f)),r()}}},async resolveTags(){const a={tags:[],entries:[...s]};await t.callHook("entries:resolve",a);for(const c of a.entries){const l=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(l):l),c.resolvedInput)for(const u of await _p(c)){const f={tag:u,entry:c,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>i.use(a)),i.hooks.callHook("init",i),i}function Mp(){return bl}const Np=tl.startsWith("3");function $p(e){return typeof e=="function"?e():se(e)}function Fr(e,t=""){if(e instanceof Promise)return e;const n=$p(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Fr(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,se(o)]:[r,Fr(o,r)])):n}const Hp={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Fr(t.input)}}},wl="usehead";function jp(e){return{install(n){Np&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wl,e))}}.install}function Bp(e={}){e.domDelayFn=e.domDelayFn||(n=>Jt(()=>setTimeout(()=>n(),0)));const t=Op(e);return t.use(Hp),t.install=jp(t),t}const Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qo="__unhead_injection_handler__";function Fp(e){Wo[Qo]=e}function Dp(){if(Qo in Wo)return Wo[Qo]();const e=Me(wl);return e||Mp()}function Up(e,t={}){const n=t.head||Dp();if(n)return n.ssr?n.push(e,t):zp(n,e,t)}function zp(e,t,n={}){const r=xe(!1),o=xe({});kf(()=>{o.value=r.value?{}:Fr(t)});const s=e.push(o.value,n);return rt(o,a=>{s.patch(a)}),Mt()&&(xn(()=>{s.dispose()}),Ac(()=>{r.value=!0}),Rc(()=>{r.value=!1})),s}function bo(e){return e!==null&&typeof e=="object"}function Jo(e,t,n=".",r){if(!bo(t))return Jo(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]]:bo(i)&&bo(o[s])?o[s]=Jo(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function El(e){return(...t)=>t.reduce((n,r)=>Jo(n,r,"",e),{})}const Kp=El(),Vp=El((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0}),gr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function qp(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||Jp;let s=0;for(;st in e?Gp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ft=(e,t,n)=>(Zp(e,typeof t!="symbol"?t+"":t,n),n);class Yo extends Error{constructor(t,n={}){super(t,n),Ft(this,"statusCode",500),Ft(this,"fatal",!1),Ft(this,"unhandled",!1),Ft(this,"statusMessage"),Ft(this,"data"),Ft(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Go(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Cl(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ft(Yo,"__h3_error__",!0);function Xo(e){if(typeof e=="string")return new Yo(e);if(eg(e))return e;const t=new Yo(e.message??e.statusMessage??"",{cause:e.cause||e});if(Xp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Go(e.statusCode,t.statusCode):e.status&&(t.statusCode=Go(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Cl(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function eg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const tg=/[^\u0009\u0020-\u007E]/g;function Cl(e=""){return e.replace(tg,"")}function Go(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ng=Symbol("layout-meta"),no=Symbol("route"),ze=()=>{var e;return(e=le())==null?void 0:e.$router},Wt=()=>Fc()?Me(no,le()._route):le()._route;/*! @__NO_SIDE_EFFECTS__ */const rg=(e,t,n={})=>{const r=le(),o=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(s):r._middleware.named[e]=s},og=()=>{try{if(le()._processingMiddleware)return!0}catch{return!0}return!1},Pl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:al(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,l)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Lt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=or(n).protocol;if(a&&ph(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=og();if(!r&&o)return e;const s=ze(),i=le();return r?(t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},ro=()=>gc(le().payload,"error"),rn=e=>{const t=js(e);try{const n=le(),r=ro();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},sg=async(e={})=>{const t=le(),n=ro();t.callHook("app:error:cleared",e),e.redirect&&await ze().replace(e.redirect),n.value=null},ig=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),js=e=>{const t=Xo(e);return t.__nuxt_error=!0,t},Zo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),ag=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xl=e=>{const t=le();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zo(e)}):Zo(e)},cg="$s";function Pt(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=cg+n,s=le(),i=gc(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(we(a))return s.payload.state[o]=a,a;i.value=a}return i}const na=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 lg(e,t){t?t={...na,...t}:t=na;const n=Tl(t);return n.dispatch(e),n.toString()}const ug=Object.freeze(["prototype","__proto__","constructor"]);function Tl(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 c=null;if((c=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");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 l=Object.keys(o);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!ra(o)&&(u=ug),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of l)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 c of o)this.dispatch(c);return}const i=new Map,a=o.map(c=>{const l=Tl(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.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:"),ra(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 Use "options.replacer" or "options.ignoreUnknown" -`)},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 Sl="[native code] }",fg=Sl.length;function ra(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-fg)===Sl}class At{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||dg).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;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>>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 At([...this.words])}}const dg={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},hg={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;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 c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},pg={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new At(n,t)}},gg={parse(e){return pg.parse(unescape(encodeURIComponent(e)))}};class mg{constructor(){this._data=new At,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new At,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=gg.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>>7)^(E<<14|E>>>18)^E>>>3,x=jt[d-2],k=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;jt[d]=v+jt[d-7]+k+jt[d-16]}const h=c&l^~c&u,y=o&s^o&i^s&i,b=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),C=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+C+h+_g[d]+jt[d],g=b+y;f=u,u=l,l=c,c=a+_|0,a=i,i=s,s=o,o=_+g|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]+c|0,r[5]=r[5]+l|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 bg(e){return new vg().finalize(e).toString(hg)}function Dr(e,t={}){const n=typeof e=="string"?e:lg(e,t);return bg(n).slice(0,10)}const wg={path:"/",watch:!0,decode:e=>Yn(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function br(e,t){var s;const n={...wg,...t},r=Eg(n)||{},o=xe(r[e]??((s=n.default)==null?void 0:s.call(n)));{const i=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`);Mt()&&Zr(()=>{i==null||i.close()});const a=()=>{Pg(e,o.value,n),i==null||i.postMessage(te(o.value))};let c=!1;i&&(i.onmessage=l=>{c=!0,o.value=l.data,Jt(()=>{c=!1})}),n.watch?rt(o,()=>{c||a()},{deep:n.watch!=="shallow"}):a()}return o}function Eg(e={}){return qp(document.cookie,e)}function Cg(e,t,n={}){return t==null?ta(e,t,{...n,maxAge:-1}):ta(e,t,n)}function Pg(e,t,n={}){document.cookie=Cg(e,t,n)}const xg=async e=>{const t=le();e=Array.isArray(e)?e:[e],await Promise.all(e.map(n=>Sg(t.vueApp._context.components[n])))},Tg=e=>xg(e);function Sg(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function kl(e,t=ze()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>kl(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function kg(e={}){const t=e.path||window.location.pathname;let n={};try{n=Yn(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)e.find(t=>t!==void 0),Ag="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Ig(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const s=e.trailingSlash==="append"?Nr:qt;if(typeof r=="string")return s(r,!0);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:s(i,!0)}};return Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=ze(),i=fe(()=>{const f=r.to||r.href||"";return n(f,s.resolve)}),a=fe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Lt(i.value,{acceptRelative:!0})),c=xe(!1),l=xe(null),u=f=>{var d;l.value=r.custom?(d=f==null?void 0:f.$el)==null?void 0:d.nextElementSibling:f==null?void 0:f.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Mg()){const d=le();let h,y=null;Pn(()=>{const b=Lg();xl(()=>{h=Zo(()=>{var C;(C=l==null?void 0:l.value)!=null&&C.tagName&&(y=b.observe(l.value,async()=>{y==null||y(),y=null;const _=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",_).catch(()=>{}),!a.value&&kl(i.value,s).catch(()=>{})]),c.value=!0}))})})}),xn(()=>{h&&ag(h),y==null||y(),y=null})}return()=>{var b,C;if(!a.value){const _={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(_.class=r.prefetchedClass||e.prefetchedClass),_.rel=r.rel),Ne(Uf("RouterLink"),_,o.default)}const f=typeof i.value=="object"?((b=s.resolve(i.value))==null?void 0:b.href)??null:i.value||null,d=r.target||null,h=r.noRel?null:Rg(r.rel,e.externalRelAttribute,f?Ag:"")||null,y=()=>Pl(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:y,get route(){if(!f)return;const _=or(f);return{path:_.pathname,fullPath:_.pathname,get query(){return sl(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ne("a",{ref:l,href:f,rel:h,target:d},(C=o.default)==null?void 0:C.call(o))}}})}const Og=Ig({componentName:"NuxtLink"});function Lg(){const e=le();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Mg(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Ng={cover:"/cover.jpg",socials:{twitter:"Atinux",github:"Atinux/content-wind"}},$g={socials:{twitter:"",github:""},nuxtIcon:{aliases:{"dark-mode":"ph:moon-bold","light-mode":"ph:sun-bold"}}},Hg={nuxt:{}},jg=Vp(Ng,$g,Hg);function Bs(){const e=le();return e._appConfig||(e._appConfig=st(jg)),e._appConfig}const a0=!1,es=!1,Bg=!1,Fg="#__nuxt";function sa(e,t={}){const n=Dg(e,t),r=le(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Ug().then(s=>s?Rl(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const ia="json";function Dg(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Lt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Tn(Xe().app.baseURL,n.pathname,r?`_payload.${r}.${ia}`:`_payload.${ia}`)}async function Rl(e){const t=fetch(e).then(n=>n.text().then(Al));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ug(e=Wt().path){return!!le().payload.prerenderedAt}let mr=null;async function zg(){if(mr)return mr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Al(e.textContent||""),n=e.dataset.src?await Rl(e.dataset.src):void 0;return mr={...t,...n,...window.__NUXT__},mr}function Al(e){return cp(e,le()._payloadRevivers)}function Kg(e,t){le()._payloadRevivers[e]=t}const aa={NuxtError:e=>js(e),EmptyShallowRef:e=>St(e==="_"?void 0:e==="0n"?BigInt(0):Yn(e)),EmptyRef:e=>xe(e==="_"?void 0:e==="0n"?BigInt(0):Yn(e)),ShallowRef:e=>St(e),ShallowReactive:e=>Tt(e),Ref:e=>xe(e),Reactive:e=>st(e)},Vg=it({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in aa)Kg(r,aa[r]);Object.assign(e.payload,([t,n]=jr(()=>e.runWithContext(zg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),qg=[],Wg=it({name:"nuxt:head",enforce:"pre",setup(e){const t=Bp({plugins:qg});Fp(()=>le().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vl(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},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 Sl="[native code] }",fg=Sl.length;function ra(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-fg)===Sl}class At{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||dg).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;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>>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 At([...this.words])}}const dg={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},hg={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;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 c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},pg={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new At(n,t)}},gg={parse(e){return pg.parse(unescape(encodeURIComponent(e)))}};class mg{constructor(){this._data=new At,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new At,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=gg.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>>7)^(E<<14|E>>>18)^E>>>3,x=jt[d-2],k=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;jt[d]=v+jt[d-7]+k+jt[d-16]}const h=c&l^~c&u,y=o&s^o&i^s&i,b=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),C=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+C+h+_g[d]+jt[d],g=b+y;f=u,u=l,l=c,c=a+_|0,a=i,i=s,s=o,o=_+g|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]+c|0,r[5]=r[5]+l|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 bg(e){return new vg().finalize(e).toString(hg)}function Dr(e,t={}){const n=typeof e=="string"?e:lg(e,t);return bg(n).slice(0,10)}const wg={path:"/",watch:!0,decode:e=>Xn(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function br(e,t){var s;const n={...wg,...t},r=Eg(n)||{},o=xe(r[e]??((s=n.default)==null?void 0:s.call(n)));{const i=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`);Mt()&&Zr(()=>{i==null||i.close()});const a=()=>{Pg(e,o.value,n),i==null||i.postMessage(te(o.value))};let c=!1;i&&(i.onmessage=l=>{c=!0,o.value=l.data,Jt(()=>{c=!1})}),n.watch?rt(o,()=>{c||a()},{deep:n.watch!=="shallow"}):a()}return o}function Eg(e={}){return qp(document.cookie,e)}function Cg(e,t,n={}){return t==null?ta(e,t,{...n,maxAge:-1}):ta(e,t,n)}function Pg(e,t,n={}){document.cookie=Cg(e,t,n)}const xg=async e=>{const t=le();e=Array.isArray(e)?e:[e],await Promise.all(e.map(n=>Sg(t.vueApp._context.components[n])))},Tg=e=>xg(e);function Sg(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function kl(e,t=ze()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>kl(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function kg(e={}){const t=e.path||window.location.pathname;let n={};try{n=Xn(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)e.find(t=>t!==void 0),Ag="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Ig(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const s=e.trailingSlash==="append"?Nr:qt;if(typeof r=="string")return s(r,!0);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:s(i,!0)}};return Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=ze(),i=fe(()=>{const f=r.to||r.href||"";return n(f,s.resolve)}),a=fe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Lt(i.value,{acceptRelative:!0})),c=xe(!1),l=xe(null),u=f=>{var d;l.value=r.custom?(d=f==null?void 0:f.$el)==null?void 0:d.nextElementSibling:f==null?void 0:f.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Mg()){const d=le();let h,y=null;Pn(()=>{const b=Lg();xl(()=>{h=Zo(()=>{var C;(C=l==null?void 0:l.value)!=null&&C.tagName&&(y=b.observe(l.value,async()=>{y==null||y(),y=null;const _=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",_).catch(()=>{}),!a.value&&kl(i.value,s).catch(()=>{})]),c.value=!0}))})})}),xn(()=>{h&&ag(h),y==null||y(),y=null})}return()=>{var b,C;if(!a.value){const _={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(_.class=r.prefetchedClass||e.prefetchedClass),_.rel=r.rel),Ne(Uf("RouterLink"),_,o.default)}const f=typeof i.value=="object"?((b=s.resolve(i.value))==null?void 0:b.href)??null:i.value||null,d=r.target||null,h=r.noRel?null:Rg(r.rel,e.externalRelAttribute,f?Ag:"")||null,y=()=>Pl(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:y,get route(){if(!f)return;const _=or(f);return{path:_.pathname,fullPath:_.pathname,get query(){return sl(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ne("a",{ref:l,href:f,rel:h,target:d},(C=o.default)==null?void 0:C.call(o))}}})}const Og=Ig({componentName:"NuxtLink"});function Lg(){const e=le();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Mg(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Ng={cover:"/cover.jpg",socials:{twitter:"Atinux",github:"Atinux/content-wind"}},$g={socials:{twitter:"",github:""},nuxtIcon:{aliases:{"dark-mode":"ph:moon-bold","light-mode":"ph:sun-bold"}}},Hg={nuxt:{}},jg=Vp(Ng,$g,Hg);function Bs(){const e=le();return e._appConfig||(e._appConfig=st(jg)),e._appConfig}const a0=!1,es=!1,Bg=!1,Fg="#__nuxt";function sa(e,t={}){const n=Dg(e,t),r=le(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Ug().then(s=>s?Rl(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const ia="json";function Dg(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Lt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Tn(Ye().app.baseURL,n.pathname,r?`_payload.${r}.${ia}`:`_payload.${ia}`)}async function Rl(e){const t=fetch(e).then(n=>n.text().then(Al));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ug(e=Wt().path){return!!le().payload.prerenderedAt}let mr=null;async function zg(){if(mr)return mr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Al(e.textContent||""),n=e.dataset.src?await Rl(e.dataset.src):void 0;return mr={...t,...n,...window.__NUXT__},mr}function Al(e){return cp(e,le()._payloadRevivers)}function Kg(e,t){le()._payloadRevivers[e]=t}const aa={NuxtError:e=>js(e),EmptyShallowRef:e=>St(e==="_"?void 0:e==="0n"?BigInt(0):Xn(e)),EmptyRef:e=>xe(e==="_"?void 0:e==="0n"?BigInt(0):Xn(e)),ShallowRef:e=>St(e),ShallowReactive:e=>Tt(e),Ref:e=>xe(e),Reactive:e=>st(e)},Vg=it({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in aa)Kg(r,aa[r]);Object.assign(e.payload,([t,n]=jr(()=>e.runWithContext(zg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),qg=[],Wg=it({name:"nuxt:head",enforce:"pre",setup(e){const t=Bp({plugins:qg});Fp(()=>le().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vl(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const en=typeof window<"u";function Qg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function wo(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ye(o)?o.map(e):e(o)}return n}const Dn=()=>{},Ye=Array.isArray,Jg=/\/$/,Xg=e=>e.replace(Jg,"");function Eo(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=em(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function Yg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ca(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gg(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yn(t.matched[r],n.matched[o])&&Il(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Il(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zg(e[n],t[n]))return!1;return!0}function Zg(e,t){return Ye(e)?la(e,t):Ye(t)?la(t,e):e===t}function la(e,t){return Ye(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function em(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var Un;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Un||(Un={}));function tm(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xg(e)}const nm=/^[^#]+#/;function rm(e,t){return e.replace(nm,"#")+t}function om(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const oo=()=>({left:window.pageXOffset,top:window.pageYOffset});function sm(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=om(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ua(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function im(e,t){ts.set(e,t)}function am(e){const t=ts.get(e);return ts.delete(e),t}let cm=()=>location.protocol+"//"+location.host;function Ol(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ca(c,"")}return ca(n,e)+r+o}function lm(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=Ol(e,location),y=n.value,b=t.value;let C=0;if(d){if(n.value=h,t.value=d,i&&i===y){i=null;return}C=b?d.position-b.position:0}else r(h);o.forEach(_=>{_(n.value,y,{delta:C,type:Gn.pop,direction:C?C>0?Un.forward:Un.back:Un.unknown})})};function c(){i=n.value}function l(d){o.push(d);const h=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(ce({},d.state,{scroll:oo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function fa(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?oo():null}}function um(e){const{history:t,location:n}=window,r={value:Ol(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:cm()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(c,l){const u=ce({},t.state,fa(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});s(c,u,!0),r.value=c}function a(c,l){const u=ce({},o.value,t.state,{forward:c,scroll:oo()});s(u.current,u,!0);const f=ce({},fa(r.value,c,null),{position:u.position+1},l);s(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function Ll(e){e=tm(e);const t=um(e),n=lm(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:rm.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function fm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ll(e)}function dm(e){return typeof e=="string"||e&&typeof e=="object"}function Ml(e){return typeof e=="string"||typeof e=="symbol"}const et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Nl=Symbol("");var da;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(da||(da={}));function _n(e,t){return ce(new Error,{type:e,[Nl]:!0},t)}function ct(e,t){return e instanceof Error&&Nl in e&&(t==null||!!(e.type&t))}const ha="[^/]+?",hm={sensitive:!1,strict:!1,start:!0,end:!0},pm=/[.+*?^${}()[\]/\\]/g;function gm(e,t){const n=ce({},hm,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function ym(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const _m={type:0,value:""},vm=/[a-zA-Z0-9_]/;function bm(e){if(!e)return[[]];if(e==="/")return[[_m]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===0?s.push({type:0,value:l}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(g)}:Dn}function i(u){if(Ml(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$l(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ma(u)&&r.set(u.record.name,u)}function l(u,f){let d,h={},y,b;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw _n(1,{location:u});b=d.record.name,h=ce(ga(f.params,d.keys.filter(g=>!g.optional).map(g=>g.name)),u.params&&ga(u.params,d.keys.map(g=>g.name))),y=d.stringify(h)}else if("path"in u)y=u.path,d=n.find(g=>g.re.test(y)),d&&(h=d.parse(y),b=d.record.name);else{if(d=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!d)throw _n(1,{location:u,currentLocation:f});b=d.record.name,h=ce({},f.params,u.params),y=d.stringify(h)}const C=[];let _=d;for(;_;)C.unshift(_.record),_=_.parent;return{name:b,path:y,params:h,matched:C,meta:xm(C)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function ga(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Cm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Pm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Pm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ma(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xm(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function ya(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $l(e,t){return t.children.some(n=>n===e||$l(e,n))}const Hl=/#/g,Tm=/&/g,Sm=/\//g,km=/=/g,Rm=/\?/g,jl=/\+/g,Am=/%5B/g,Im=/%5D/g,Bl=/%5E/g,Om=/%60/g,Fl=/%7B/g,Lm=/%7C/g,Dl=/%7D/g,Mm=/%20/g;function Fs(e){return encodeURI(""+e).replace(Lm,"|").replace(Am,"[").replace(Im,"]")}function Nm(e){return Fs(e).replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function ns(e){return Fs(e).replace(jl,"%2B").replace(Mm,"+").replace(Hl,"%23").replace(Tm,"%26").replace(Om,"`").replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function $m(e){return ns(e).replace(km,"%3D")}function Hm(e){return Fs(e).replace(Hl,"%23").replace(Rm,"%3F")}function jm(e){return e==null?"":Hm(e).replace(Sm,"%2F")}function Ur(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Bm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&ns(s)):[r&&ns(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Fm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ye(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Dm=Symbol(""),va=Symbol(""),Ds=Symbol(""),Us=Symbol(""),rs=Symbol("");function Rn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Et(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(_n(4,{from:n,to:t})):f instanceof Error?a(f):dm(f)?a(_n(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function Co(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Um(a)){const l=(a.__vccOpts||a)[t];l&&o.push(Et(l,n,r,s,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Qg(l)?l.default:l;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Et(d,n,r,s,i)()}))}}return o}function Um(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ba(e){const t=Me(Ds),n=Me(Us),r=fe(()=>t.resolve(se(e.to))),o=fe(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(yn.bind(null,u));if(d>-1)return d;const h=wa(c[l-2]);return l>1&&wa(u)===h&&f[f.length-1].path!==h?f.findIndex(yn.bind(null,c[l-2])):d}),s=fe(()=>o.value>-1&&qm(n.params,r.value.params)),i=fe(()=>o.value>-1&&o.value===n.matched.length-1&&Il(n.params,r.value.params));function a(c={}){return Vm(c)?t[se(e.replace)?"replace":"push"](se(e.to)).catch(Dn):Promise.resolve()}return{route:r,href:fe(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const zm=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ba,setup(e,{slots:t}){const n=st(ba(e)),{options:r}=Me(Ds),o=fe(()=>({[Ea(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ea(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ne("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Km=zm;function Vm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function qm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ye(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ea=(e,t,n)=>e??t??n,Wm=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Me(rs),o=fe(()=>e.route||r.value),s=Me(va,0),i=fe(()=>{let l=se(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=fe(()=>o.value.matched[i.value]);un(va,fe(()=>i.value+1)),un(Dm,a),un(rs,o);const c=xe();return rt(()=>[c.value,a.value,e.name],([l,u,f],[d,h,y])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!yn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Ca(n.default,{Component:d,route:l});const h=f.props[u],y=h?h===!0?l.params:typeof h=="function"?h(l):h:null,C=Ne(d,ce({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Ca(n.default,{Component:C,route:l})||C}}});function Ca(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ul=Wm;function Qm(e){const t=Em(e.routes,e),n=e.parseQuery||Bm,r=e.stringifyQuery||_a,o=e.history,s=Rn(),i=Rn(),a=Rn(),c=St(et);let l=et;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wo.bind(null,T=>""+T),f=wo.bind(null,jm),d=wo.bind(null,Ur);function h(T,F){let N,z;return Ml(T)?(N=t.getRecordMatcher(T),z=F):z=T,t.addRoute(z,N)}function y(T){const F=t.getRecordMatcher(T);F&&t.removeRoute(F)}function b(){return t.getRoutes().map(T=>T.record)}function C(T){return!!t.getRecordMatcher(T)}function _(T,F){if(F=ce({},F||c.value),typeof T=="string"){const w=Eo(n,T,F.path),P=t.resolve({path:w.path},F),R=o.createHref(w.fullPath);return ce(w,P,{params:d(P.params),hash:Ur(w.hash),redirectedFrom:void 0,href:R})}let N;if("path"in T)N=ce({},T,{path:Eo(n,T.path,F.path).path});else{const w=ce({},T.params);for(const P in w)w[P]==null&&delete w[P];N=ce({},T,{params:f(w)}),F.params=f(F.params)}const z=t.resolve(N,F),ae=T.hash||"";z.params=u(d(z.params));const p=Yg(r,ce({},T,{hash:Nm(ae),path:z.path})),m=o.createHref(p);return ce({fullPath:p,hash:ae,query:r===_a?Fm(T.query):T.query||{}},z,{redirectedFrom:void 0,href:m})}function g(T){return typeof T=="string"?Eo(n,T,c.value.path):ce({},T)}function E(T,F){if(l!==T)return _n(8,{from:F,to:T})}function v(T){return O(T)}function x(T){return v(ce(g(T),{replace:!0}))}function k(T){const F=T.matched[T.matched.length-1];if(F&&F.redirect){const{redirect:N}=F;let z=typeof N=="function"?N(T):N;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),ce({query:T.query,hash:T.hash,params:"path"in z?{}:T.params},z)}}function O(T,F){const N=l=_(T),z=c.value,ae=T.state,p=T.force,m=T.replace===!0,w=k(N);if(w)return O(ce(g(w),{state:typeof w=="object"?ce({},ae,w.state):ae,force:p,replace:m}),F||N);const P=N;P.redirectedFrom=F;let R;return!p&&Gg(r,z,N)&&(R=_n(16,{to:P,from:z}),Ge(z,z,!0,!1)),(R?Promise.resolve(R):$(P,z)).catch(A=>ct(A)?ct(A,2)?A:gt(A):ie(A,P,z)).then(A=>{if(A){if(ct(A,2))return O(ce({replace:m},g(A.to),{state:typeof A.to=="object"?ce({},ae,A.to.state):ae,force:p}),F||P)}else A=j(P,z,!0,m,ae);return Q(P,z,A),A})}function S(T,F){const N=E(T,F);return N?Promise.reject(N):Promise.resolve()}function B(T){const F=Yt.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(T):T()}function $(T,F){let N;const[z,ae,p]=Jm(T,F);N=Co(z.reverse(),"beforeRouteLeave",T,F);for(const w of z)w.leaveGuards.forEach(P=>{N.push(Et(P,T,F))});const m=S.bind(null,T,F);return N.push(m),Te(N).then(()=>{N=[];for(const w of s.list())N.push(Et(w,T,F));return N.push(m),Te(N)}).then(()=>{N=Co(ae,"beforeRouteUpdate",T,F);for(const w of ae)w.updateGuards.forEach(P=>{N.push(Et(P,T,F))});return N.push(m),Te(N)}).then(()=>{N=[];for(const w of p)if(w.beforeEnter)if(Ye(w.beforeEnter))for(const P of w.beforeEnter)N.push(Et(P,T,F));else N.push(Et(w.beforeEnter,T,F));return N.push(m),Te(N)}).then(()=>(T.matched.forEach(w=>w.enterCallbacks={}),N=Co(p,"beforeRouteEnter",T,F),N.push(m),Te(N))).then(()=>{N=[];for(const w of i.list())N.push(Et(w,T,F));return N.push(m),Te(N)}).catch(w=>ct(w,8)?w:Promise.reject(w))}function Q(T,F,N){a.list().forEach(z=>B(()=>z(T,F,N)))}function j(T,F,N,z,ae){const p=E(T,F);if(p)return p;const m=F===et,w=en?history.state:{};N&&(z||m?o.replace(T.fullPath,ce({scroll:m&&w&&w.scroll},ae)):o.push(T.fullPath,ae)),c.value=T,Ge(T,F,N,m),gt()}let W;function D(){W||(W=o.listen((T,F,N)=>{if(!sr.listening)return;const z=_(T),ae=k(z);if(ae){O(ce(ae,{replace:!0}),z).catch(Dn);return}l=z;const p=c.value;en&&im(ua(p.fullPath,N.delta),oo()),$(z,p).catch(m=>ct(m,12)?m:ct(m,2)?(O(m.to,z).then(w=>{ct(w,20)&&!N.delta&&N.type===Gn.pop&&o.go(-1,!1)}).catch(Dn),Promise.reject()):(N.delta&&o.go(-N.delta,!1),ie(m,z,p))).then(m=>{m=m||j(z,p,!1),m&&(N.delta&&!ct(m,8)?o.go(-N.delta,!1):N.type===Gn.pop&&ct(m,20)&&o.go(-1,!1)),Q(z,p,m)}).catch(Dn)}))}let ye=Rn(),ee=Rn(),oe;function ie(T,F,N){gt(T);const z=ee.list();return z.length?z.forEach(ae=>ae(T,F,N)):console.error(T),Promise.reject(T)}function at(){return oe&&c.value!==et?Promise.resolve():new Promise((T,F)=>{ye.add([T,F])})}function gt(T){return oe||(oe=!T,D(),ye.list().forEach(([F,N])=>T?N(T):F()),ye.reset()),T}function Ge(T,F,N,z){const{scrollBehavior:ae}=e;if(!en||!ae)return Promise.resolve();const p=!N&&am(ua(T.fullPath,0))||(z||!N)&&history.state&&history.state.scroll||null;return Jt().then(()=>ae(T,F,p)).then(m=>m&&sm(m)).catch(m=>ie(m,T,F))}const Ie=T=>o.go(T);let Xt;const Yt=new Set,sr={currentRoute:c,listening:!0,addRoute:h,removeRoute:y,hasRoute:C,getRoutes:b,resolve:_,options:e,push:v,replace:x,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:ee.add,isReady:at,install(T){const F=this;T.component("RouterLink",Km),T.component("RouterView",Ul),T.config.globalProperties.$router=F,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>se(c)}),en&&!Xt&&c.value===et&&(Xt=!0,v(o.location).catch(ae=>{}));const N={};for(const ae in et)Object.defineProperty(N,ae,{get:()=>c.value[ae],enumerable:!0});T.provide(Ds,F),T.provide(Us,Tt(N)),T.provide(rs,c);const z=T.unmount;Yt.add(T),T.unmount=function(){Yt.delete(T),Yt.size<1&&(l=et,W&&W(),W=null,c.value=et,Xt=!1,oe=!1),z()}}};function Te(T){return T.reduce((F,N)=>F.then(()=>B(N)),Promise.resolve())}return sr}function Jm(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;iyn(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>yn(l,c))||o.push(c))}return[n,r,o]}function c0(){return Me(Us)}const Pa=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>J(()=>import("./document-driven.0aecab9a.js"),["./document-driven.0aecab9a.js","./DocumentDrivenEmpty.d94163fa.js","./ContentRenderer.c98c212e.js","./ContentRendererMarkdown.vue.95e9c3a5.js","./DocumentDrivenNotFound.24e66a17.js","./head.da030dfb.js"],import.meta.url).then(e=>e.default||e)}],Xm={scrollBehavior(e,t,n){var l;const r=le(),o=((l=ze().options)==null?void 0:l.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&Ym(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:xa(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??es),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await Jt(),e.hash&&(s={el:e.hash,top:xa(e.hash),behavior:o}),u(s)})})}};function xa(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Ym(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const Gm={},Oe={...Gm,...Xm},Zm=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=le(),o=ze();if(([t,n]=jr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=js({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>rn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},wr=[Zm],zn={};function ey(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const l=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(l);return u[0]!=="/"&&(u="/"+u),Ui(u,"")}const a=Ui(r,e),c=!n||vh(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":o)+s}const ty=it({name:"nuxt:router",enforce:"pre",async setup(e){var b,C;let t,n,r=Xe().app.baseURL;Oe.hashMode&&!r.includes("#")&&(r+="#");const o=((b=Oe.history)==null?void 0:b.call(Oe,r))??(Oe.hashMode?fm(r):Ll(r)),s=((C=Oe.routes)==null?void 0:C.call(Oe,Pa))??Pa;let i;const a=ey(r,window.location,e.payload.path),c=Qm({...Oe,scrollBehavior:(_,g,E)=>{var v;if(g===et){i=E;return}return c.options.scrollBehavior=Oe.scrollBehavior,(v=Oe.scrollBehavior)==null?void 0:v.call(Oe,_,et,i||E)},history:o,routes:s});e.vueApp.use(c);const l=St(c.currentRoute.value);c.afterEach((_,g)=>{l.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=St(c.resolve(a)),f=()=>{u.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,g)=>{var E,v,x,k;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((k=(x=g.matched[0])==null?void 0:x.components)==null?void 0:k.default)&&f()});const d={};for(const _ in u.value)Object.defineProperty(d,_,{get:()=>u.value[_]});e._route=Tt(d),e._middleware=e._middleware||{global:[],named:{}};const h=ro();try{[t,n]=jr(()=>c.isReady()),await t,n()}catch(_){[t,n]=jr(()=>e.runWithContext(()=>rn(_))),await t,n()}const y=e.payload.state._layout;return c.beforeEach(async(_,g)=>{var E;_.meta=st(_.meta),e.isHydrating&&y&&!Vt(_.meta.layout)&&(_.meta.layout=y),e._processingMiddleware=!0;{const v=new Set([...wr,...e._middleware.global]);for(const x of _.matched){const k=x.meta.middleware;if(k)if(Array.isArray(k))for(const O of k)v.add(O);else v.add(k)}for(const x of v){const k=typeof x=="string"?e._middleware.named[x]||await((E=zn[x])==null?void 0:E.call(zn).then(S=>S.default||S)):x;if(!k)throw new Error(`Unknown route middleware: '${x}'.`);const O=await e.runWithContext(()=>k(_,g));if(!e.payload.serverRendered&&e.isHydrating&&(O===!1||O instanceof Error)){const S=O||Yo({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>rn(S)),!1}if(O!==!0&&(O||O===!1))return O}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(_,g,E)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(sg),_.matched.length===0&&await e.runWithContext(()=>rn(Yo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=Oe.scrollBehavior}catch(_){await e.runWithContext(()=>rn(_))}}),{provide:{router:c}}}}),ny=it({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await sa(t.path);r&&Object.assign(e.static.data,r.data)}),xl(()=>{e.hooks.hook("link:prefetch",async t=>{or(t).protocol||await sa(t)})})}}),ry=G(()=>J(()=>import("./ButtonLink.fdb7c90a.js"),["./ButtonLink.fdb7c90a.js","./slot.da86f545.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),oy=G(()=>J(()=>import("./MarkdownBlock.403e380a.js"),["./MarkdownBlock.403e380a.js","./slot.da86f545.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),sy=G(()=>J(()=>import("./ContentDoc.22c816db.js"),["./ContentDoc.22c816db.js","./head.da030dfb.js","./ContentRenderer.c98c212e.js","./ContentRendererMarkdown.vue.95e9c3a5.js","./ContentQuery.127537a7.js","./asyncData.98be9f70.js"],import.meta.url).then(e=>e.default)),iy=G(()=>J(()=>import("./ContentList.daf54a58.js"),["./ContentList.daf54a58.js","./ContentQuery.127537a7.js","./asyncData.98be9f70.js"],import.meta.url).then(e=>e.default)),ay=G(()=>J(()=>import("./ContentNavigation.49b18055.js"),["./ContentNavigation.49b18055.js","./asyncData.98be9f70.js"],import.meta.url).then(e=>e.default)),cy=G(()=>J(()=>import("./ContentQuery.127537a7.js"),["./ContentQuery.127537a7.js","./asyncData.98be9f70.js"],import.meta.url).then(e=>e.default)),ly=G(()=>J(()=>import("./ContentRenderer.c98c212e.js"),["./ContentRenderer.c98c212e.js","./ContentRendererMarkdown.vue.95e9c3a5.js"],import.meta.url).then(e=>e.default)),uy=G(()=>J(()=>import("./ContentRendererMarkdown.4b2a0c05.js"),["./ContentRendererMarkdown.4b2a0c05.js","./ContentRendererMarkdown.vue.95e9c3a5.js"],import.meta.url).then(e=>e.default)),fy=G(()=>J(()=>import("./ContentSlot.bb567b64.js"),["./ContentSlot.bb567b64.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),dy=G(()=>J(()=>import("./DocumentDrivenEmpty.d94163fa.js"),[],import.meta.url).then(e=>e.default)),hy=G(()=>J(()=>import("./DocumentDrivenNotFound.24e66a17.js"),[],import.meta.url).then(e=>e.default)),py=G(()=>J(()=>import("./Markdown.33e3b4de.js"),["./Markdown.33e3b4de.js","./ContentSlot.bb567b64.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),gy=G(()=>J(()=>import("./ProseCode.b1244493.js"),["./ProseCode.b1244493.js","./ProseCode.vue.16326e6f.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),my=G(()=>J(()=>import("./ProseCodeInline.4635d87a.js"),[],import.meta.url).then(e=>e.default)),yy=G(()=>J(()=>import("./ProsePre.1fc038c4.js"),["./ProsePre.1fc038c4.js","./ProseCode.vue.16326e6f.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),_y=G(()=>J(()=>import("./ProseA.4d02b231.js"),[],import.meta.url).then(e=>e.default)),vy=G(()=>J(()=>import("./ProseBlockquote.7f50b11c.js"),[],import.meta.url).then(e=>e.default)),by=G(()=>J(()=>import("./ProseEm.5838b261.js"),[],import.meta.url).then(e=>e.default)),wy=G(()=>J(()=>import("./ProseH1.6f87c9e5.js"),[],import.meta.url).then(e=>e.default)),Ey=G(()=>J(()=>import("./ProseH2.1b9f4a04.js"),[],import.meta.url).then(e=>e.default)),Cy=G(()=>J(()=>import("./ProseH3.c56fa940.js"),[],import.meta.url).then(e=>e.default)),Py=G(()=>J(()=>import("./ProseH4.e6e991b2.js"),[],import.meta.url).then(e=>e.default)),xy=G(()=>J(()=>import("./ProseH5.b317b92a.js"),[],import.meta.url).then(e=>e.default)),Ty=G(()=>J(()=>import("./ProseH6.2cdac9c1.js"),[],import.meta.url).then(e=>e.default)),Sy=G(()=>J(()=>import("./ProseHr.9e8b78c7.js"),[],import.meta.url).then(e=>e.default)),ky=G(()=>J(()=>import("./ProseImg.9e20f0e5.js"),[],import.meta.url).then(e=>e.default)),Ry=G(()=>J(()=>import("./ProseLi.a5f36cef.js"),[],import.meta.url).then(e=>e.default)),Ay=G(()=>J(()=>import("./ProseOl.e35862f4.js"),[],import.meta.url).then(e=>e.default)),Iy=G(()=>J(()=>import("./ProseP.fc00f7a8.js"),[],import.meta.url).then(e=>e.default)),Oy=G(()=>J(()=>import("./ProseStrong.795fa328.js"),[],import.meta.url).then(e=>e.default)),Ly=G(()=>J(()=>import("./ProseTable.30a9c260.js"),[],import.meta.url).then(e=>e.default)),My=G(()=>J(()=>import("./ProseTbody.70ea2e47.js"),[],import.meta.url).then(e=>e.default)),Ny=G(()=>J(()=>import("./ProseTd.2603fbb8.js"),[],import.meta.url).then(e=>e.default)),$y=G(()=>J(()=>import("./ProseTh.35b6aabc.js"),[],import.meta.url).then(e=>e.default)),Hy=G(()=>J(()=>import("./ProseThead.f55cacbb.js"),[],import.meta.url).then(e=>e.default)),jy=G(()=>J(()=>import("./ProseTr.1ee27e98.js"),[],import.meta.url).then(e=>e.default)),By=G(()=>J(()=>import("./ProseUl.ea0606db.js"),[],import.meta.url).then(e=>e.default)),Fy=G(()=>J(()=>Promise.resolve().then(()=>Lv),void 0,import.meta.url).then(e=>e.default)),Dy=G(()=>J(()=>import("./IconCSS.df3de000.js"),["./IconCSS.df3de000.js","./IconCSS.400fa670.css"],import.meta.url).then(e=>e.default)),Uy=[["ButtonLink",ry],["MarkdownBlock",oy],["ContentDoc",sy],["ContentList",iy],["ContentNavigation",ay],["ContentQuery",cy],["ContentRenderer",ly],["ContentRendererMarkdown",uy],["MDCSlot",fy],["DocumentDrivenEmpty",dy],["DocumentDrivenNotFound",hy],["Markdown",py],["ProseCode",gy],["ProseCodeInline",my],["ProsePre",yy],["ProseA",_y],["ProseBlockquote",vy],["ProseEm",by],["ProseH1",wy],["ProseH2",Ey],["ProseH3",Cy],["ProseH4",Py],["ProseH5",xy],["ProseH6",Ty],["ProseHr",Sy],["ProseImg",ky],["ProseLi",Ry],["ProseOl",Ay],["ProseP",Iy],["ProseStrong",Oy],["ProseTable",Ly],["ProseTbody",My],["ProseTd",Ny],["ProseTh",$y],["ProseThead",Hy],["ProseTr",jy],["ProseUl",By],["Icon",Fy],["IconCSS",Dy]],zy=it({name:"nuxt:global-components",setup(e){for(const[t,n]of Uy)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Mn={default:()=>J(()=>import("./default.b99bcfb9.js"),[],import.meta.url).then(e=>e.default||e),"full-width":()=>J(()=>import("./full-width.1350b1ec.js"),[],import.meta.url).then(e=>e.default||e)},Ky=it({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Mn[r]=="function"&&await Mn[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,c,l;if(Lt(n))return;const r=t.resolve(n);if(!r)return;const o=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let s=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(l=r==null?void 0:r.meta)==null?void 0:l.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof zn[u]=="function"&&zn[u]();o&&typeof Mn[o]=="function"&&Mn[o]()})}}),Vy="__NUXT_COLOR_MODE__",qy="ColorScheme",Wy="nuxt-color-mode",lt=window[Vy],Qy=it(e=>{const t=Pt("color-mode",()=>st({preference:lt.preference,value:lt.value,unknown:!1,forced:!1})).value;ze().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?lt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=lt.getColorScheme())}))}rt(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=lt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(Wy,o))},{immediate:!0}),rt(()=>t.value,(o,s)=>{lt.removeColorScheme(s),lt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=lt.preference,t.value=lt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Jy=["ButtonLink","MarkdownBlock","AppLayout","AppNavbar","ColorModeSwitch","ContentPreviewMode","ContentDoc","ContentList","ContentNavigation","ContentQuery","ContentRenderer","ContentRendererMarkdown","MDCSlot","DocumentDrivenEmpty","DocumentDrivenNotFound","Markdown","ProseCode","ProseCodeInline","ProsePre","ProseA","ProseBlockquote","ProseEm","ProseH1","ProseH2","ProseH3","ProseH4","ProseH5","ProseH6","ProseHr","ProseImg","ProseLi","ProseOl","ProseP","ProseStrong","ProseTable","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","NuxtWelcome","NuxtLayout","NuxtErrorBoundary","ClientOnly","DevOnly","ServerPlaceholder","NuxtLink","NuxtLoadingIndicator","MDC","MDCRenderer","MDCSlot","ColorScheme","Icon","IconCSS","NuxtPage","NoScript","Link","Base","Title","Meta","Style","Head","Html","Body"],Xy=/\d/,Yy=["-","_","/","."];function Gy(e=""){if(!Xy.test(e))return e.toUpperCase()===e}function Zy(e,t){const n=t??Yy,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const c=n.includes(a);if(c===!0){r.push(o),o="",s=void 0;continue}const l=Gy(a);if(i===!1){if(s===!1&&l===!0){r.push(o),o=a,s=l;continue}if(s===!0&&l===!1&&o.length>1){const u=o[o.length-1];r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=l;continue}}o+=a,s=l,i=c}return r.push(o),r}function e_(e){return e?e[0].toUpperCase()+e.slice(1):""}function t_(e){return e?(Array.isArray(e)?e:Zy(e)).map(t=>e_(t)).join(""):""}const tn=()=>{const e=Pt("dd-pages",()=>St(Tt({}))),t=Pt("dd-surrounds",()=>St(Tt({}))),n=Pt("dd-navigation"),r=Pt("dd-globals",()=>St(Tt({})));return{pages:e,surrounds:t,navigation:n,globals:r}},n_=()=>{const{navigation:e,pages:t,surrounds:n,globals:r}=tn(),o=fe(()=>qt(Wt().path)),s=fe(()=>t.value[o.value]),i=fe(()=>n.value[o.value]),a=fe(()=>{var h,y;return(y=(h=s==null?void 0:s.value)==null?void 0:h.body)==null?void 0:y.toc}),c=fe(()=>{var h;return(h=s.value)==null?void 0:h._type}),l=fe(()=>{var h;return(h=s.value)==null?void 0:h.excerpt}),u=fe(()=>{var h;return(h=s.value)==null?void 0:h.layout}),f=fe(()=>{var h;return(h=i.value)==null?void 0:h[1]}),d=fe(()=>{var h;return(h=i.value)==null?void 0:h[0]});return{globals:r,navigation:e,surround:i,page:s,excerpt:l,toc:a,type:c,layout:u,next:f,prev:d}},zl=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=zl(t);if(n)return n}},Kl=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=Kl(e,n.children);if(r)return r}}},Vl=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=Vl(e,n.children);if(r)return r}}},r_=(e,t,n)=>{let r;const o=(s,i)=>{for(const a of i)if(!(s!=="/"&&a._path==="/")){if(s!=null&&s.startsWith(a._path)&&a[t]&&(r=a[t]),a._path===s)return;a.children&&o(s,a.children)}};return o(e,n),r},o_=()=>({navBottomLink:zl,navDirFromPath:Kl,navPageFromPath:Vl,navKeyFromPath:r_});function zs(e){return JSON.stringify(e,s_)}function s_(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ql=e=>{let t=zs(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},Ks=()=>({isEnabled:()=>{const r=Wt().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||br("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>br("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{br("previewToken").value=r,Wt().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),zr=e=>il(e,Xe().public.content.api.baseURL),Wl=()=>{const{experimental:e}=Xe().public.content;return e.clientDB?!0:Ks().isEnabled()},Ta=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),Vs=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),l0=e=>t=>e&&e.length?Vs(t,n=>!e.includes(n)):t,u0=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),Ql=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},f0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return Vs(t,o=>!r.includes(o)&&!n.includes(o[0]))},d0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return Vs(t,o=>r.includes(o)||n.includes(o[0]))},h0=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[Ta(s,o),Ta(i,o)].map(c=>{if(c!==null)return c instanceof Date?c.toISOString():c});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},p0=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},ut=e=>Array.isArray(e)?e:[void 0,null].includes(e)?[]:[e],i_=["sort","where","only","without"];function a_(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=i_.includes(i)?ut(t.initialParams[i]):t.initialParams[i];const r=(i,a=c=>c)=>(...c)=>(n[i]=a(...c),s),o=i=>{var a;return t.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(a=i.dirConfig)==null?void 0:a._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},s={params:()=>({...n,...n.where?{where:[...ut(n.where)]}:{},...n.sort?{sort:[...ut(n.sort)]}:{}}),only:r("only",ut),without:r("without",ut),where:r("where",i=>[...ut(n.where),...ut(i)]),sort:r("sort",i=>[...ut(n.sort),...ut(i)]),limit:r("limit",i=>parseInt(String(i),10)),skip:r("skip",i=>parseInt(String(i),10)),find:()=>e(s).then(o),findOne:()=>e(r("first")(!0)).then(o),count:()=>e(r("count")(!0)).then(o),locale:i=>s.where({_locale:i}),withSurround:r("surround",(i,a)=>({query:i,...a})),withDirConfig:()=>r("dirConfig")(!0)};return t.legacy&&(s.findSurround=(i,a)=>s.withSurround(i,a).find().then(o)),s}const c_=()=>async e=>{const{content:t}=Xe().public,n=e.params(),r=t.experimental.stripQueryParameters?zr(`/query/${`${Dr(n)}.${t.integrity}`}/${ql(n)}.json`):zr(`/query/${Dr(n)}.${t.integrity}.json`);if(Wl())return(await J(()=>import("./client-db.496c2831.js"),[],import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:zs(n),previewToken:Ks().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function Er(e,...t){const{content:n}=Xe().public,r=a_(c_(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=Ko(Tn(e,...t)));const s=r.params;return r.params=()=>{var a,c,l;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:qt(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((l=(c=i.where)==null?void 0:c.find(f=>f._locale))!=null&&l._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const l_=async e=>{const{content:t}=Xe().public;typeof(e==null?void 0:e.params)!="function"&&(e=Er(e));const n=e.params(),r=t.experimental.stripQueryParameters?zr(`/navigation/${`${Dr(n)}.${t.integrity}`}/${ql(n)}.json`):zr(`/navigation/${Dr(n)}.${t.integrity}.json`);if(Wl())return(await J(()=>import("./client-db.496c2831.js"),[],import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:zs(n),previewToken:Ks().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o},u_=it(e=>{var l,u,f,d;const t=(u=(l=Xe())==null?void 0:l.public)==null?void 0:u.content.documentDriven,n=(d=(f=Xe())==null?void 0:f.public)==null?void 0:d.content.experimental.clientDB,{navigation:r,pages:o,globals:s,surrounds:i}=tn(),a=(h,y,b,C)=>{var _;if(y&&(y!=null&&y.layout))return y.layout;if(h.matched.length&&((_=h.matched[0].meta)!=null&&_.layout))return h.matched[0].meta.layout;if(b&&y){const{navKeyFromPath:g}=o_(),E=g(y._path,"layout",b);if(E)return E}if(t.layoutFallbacks&&C){let g;for(const E of t.layoutFallbacks)if(C[E]&&C[E].layout){g=C[E].layout;break}if(g)return g}return"default"},c=async(h,y=!1)=>{e.callHook("content:document-driven:start",{route:h,dedup:y});const b=h.meta.documentDriven||{};if(h.meta.documentDriven===!1)return;const C=qt(h.path),_=[];if(t.navigation&&b.navigation!==!1){const g=()=>{const{navigation:E}=tn();return E.value&&!y?E.value:l_().then(v=>(E.value=v,v)).catch(()=>null)};_.push(g)}else _.push(()=>Promise.resolve(null));if(t.globals){const g=()=>{const{globals:E}=tn();if(typeof t.globals=="object"&&Array.isArray(t.globals)){console.log("Globals must be a list of keys with QueryBuilderParams as a value.");return}return Promise.all(Object.entries(t.globals).map(([v,x])=>{if(!y&&E.value[v])return E.value[v];let k="findOne";return x!=null&&x.type&&(k=x.type),Er(x)[k]().catch(()=>null)})).then(v=>v.reduce((x,k,O)=>{const S=Object.keys(t.globals)[O];return x[S]=k,x},{}))};_.push(g)}else _.push(()=>Promise.resolve(null));if(t.page&&b.page!==!1){let g={_path:C};typeof b.page=="string"&&(g={_path:b.page}),typeof b.page=="object"&&(g=b.page);const E=()=>{const{pages:v}=tn();return!y&&v.value[C]&&v.value[C]._path===C?v.value[C]:Er().where(g).findOne().catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));if(t.surround&&b.surround!==!1){let g=C;["string","object"].includes(typeof b.page)&&(g=b.page),["string","object"].includes(typeof b.surround)&&(g=b.surround);const E=()=>{const{surrounds:v}=tn();return!y&&v.value[C]?v.value[C]:Er().where({_partial:{$not:!0},navigation:{$not:!1}}).without(["body"]).findSurround(g).catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));return await Promise.all(_.map(g=>g())).then(async([g,E,v,x])=>{var O,S;g&&(r.value=g),E&&(s.value=E),x&&(i.value[C]=x);const k=(v==null?void 0:v.redirect)||((S=(O=v==null?void 0:v._dir)==null?void 0:O.navigation)==null?void 0:S.redirect);if(k)return o.value[C]=v,k;if(v){const B=a(h,v,g,E),$=Mn[B];$&&typeof $=="function"&&await $(),h.meta.layout=B,v.layout=B}o.value[C]=v,await e.callHook("content:document-driven:finish",{route:h,dedup:y,page:v,navigation:g,globals:E,surround:x})})};{const h=ze();e.hook("link:prefetch",y=>{if(!(y in o.value)&&!Lt(y)){const b=h.resolve(y);b.matched.length>0&&c(b)}}),e.hooks.hook("content:document-driven:finish",({page:y})=>{var b;(b=y==null?void 0:y.body)!=null&&b.children&&Jl(y.body.children)})}rg(async(h,y)=>{if(!n&&h.path===y.path){if(!h.meta.layout){const C=qt(h.path);o.value[C]&&(h.meta.layout=o.value[C].layout)}return}const b=await c(h,!1);if(b)return Lt(b)?pl(e,Pl,[b,{external:!0}]):b}),e.hook("app:data:refresh",async()=>await c(Wt(),!0))});function Jl(e){for(const t of e)if(t.children&&Jl(t.children),t.type==="element"&&t.tag){const n=t_(t.tag);for(const r of["Prose"+n,n])Jy.includes(r)&&Tg(r)}}const f_=it(e=>{const t=Xe().public.studio||{},n=Wt(),r=br("previewToken",{sameSite:"none",secure:!0}),o=Pt("studio-client-db",()=>null);async function s(){const i=await J(()=>import("./useStudio.ecec627a.js"),["./useStudio.ecec627a.js","./asyncData.98be9f70.js","./useStudio.df2118d1.css"],import.meta.url).then(l=>l.useStudio),{mountPreviewUI:a,initiateIframeCommunication:c}=i();a(),c()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}}),d_=it({name:"nuxt:chunk-reload",setup(e){const t=ze(),n=Xe(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:Tn(n.app.baseURL,s.fullPath);kg({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),h_=[Vg,Wg,ty,ny,zy,Ky,Qy,u_,f_,d_],p_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),os=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&p_(e.route,n));return typeof r=="function"?r(e.route):r},g_=(e,t)=>({default:()=>e?Ne(Nf,e===!0?{}:e,t):t}),m_=Ae({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return un(no,Tt(r)),()=>Ne(e.vnode,{ref:e.vnodeRef})}}),y_=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Ne(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),__=Ae({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=le(),o=xe(),s=Me(no,null);n({pageRef:o});const i=Me(ng,null);let a;const c=r.deferHydration();return()=>Ne(Ul,{name:e.name,route:e.route,...t},{default:l=>{const u=w_(s,l.route,l.Component),f=s&&s.matched.length===l.route.matched.length;if(!l.Component)return a&&!f?a:void 0;if(a&&i&&!i.isCurrent(l.route))return a;if(u&&s&&(!i||i!=null&&i.isCurrent(s)))return f?a:null;const d=os(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??es),y=h&&b_([e.transition,l.route.meta.pageTransition,es,{onAfterLeave:()=>{r.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=y_(Ns,h&&y,g_(e.keepalive??l.route.meta.keepalive??Bg,Ne(Cc,{suspensible:!0,onPending:()=>r.callHook("page:start",l.Component),onResolve:()=>{Jt(()=>r.callHook("page:finish",l.Component).finally(c))}},{default:()=>Ne(m_,{key:d,vnode:l.Component,route:l.route,renderKey:d,trackRootNodes:h,vnodeRef:o})}))).default(),a}})}});function v_(e){return Array.isArray(e)?e:e?[e]:[]}function b_(e){const t=e.map(n=>({...n,onAfterLeave:v_(n.onAfterLeave)}));return Kp(...t)}function w_(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,c;return((i=o.components)==null?void 0:i.default)!==((c=(a=e.matched[s])==null?void 0:a.components)==null?void 0:c.default)})||n&&os({route:t,Component:n})!==os({route:e,Component:n})}const E_=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),Xl=(e,t)=>(n,r)=>(Up(()=>e({...E_(n),...r.attrs},r)),()=>{var o,s;return t?(s=(o=r.slots).default)==null?void 0:s.call(o):null}),Yl={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:String,tabindex:String,title:String,translate:String},C_=Ae({name:"Meta",inheritAttrs:!1,props:{...Yl,charset:String,content:String,httpEquiv:String,name:String,body:Boolean,renderPriority:[String,Number]},setup:Xl(e=>{const t={...e};return t.httpEquiv&&(t["http-equiv"]=t.httpEquiv,delete t.httpEquiv),{meta:[t]}})}),P_=Ae({name:"Html",inheritAttrs:!1,props:{...Yl,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:Xl(e=>({htmlAttrs:e}),!0)}),x_=Ae({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=T_({duration:e.duration,throttle:e.throttle}),r=le(),o=ze();wr.unshift(n.start),o.onError(()=>{n.finish()}),o.beforeResolve((a,c)=>{(a===c||a.matched.every((l,u)=>{var f,d,h;return l.components&&((f=l.components)==null?void 0:f.default)===((h=(d=c.matched[u])==null?void 0:d.components)==null?void 0:h.default)}))&&n.finish()}),o.afterEach((a,c,l)=>{l&&n.finish()});const s=r.hook("page:finish",n.finish),i=r.hook("vue:error",n.finish);return xn(()=>{const a=wr.indexOf(n.start);a>=0&&wr.splice(a,1),s(),i(),n.clear()}),()=>Ne("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function T_(e){const t=xe(0),n=xe(!1),r=fe(()=>1e4/e.duration);let o=null,s=null;function i(){c(),t.value=0,e.throttle?s=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,u()}function c(){clearInterval(o),clearTimeout(s),o=null,s=null}function l(d){t.value=Math.min(100,t.value+d)}function u(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){o=setInterval(()=>{l(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const Gl=Object.freeze({left:0,top:0,width:16,height:16}),Zl=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),qs=Object.freeze({...Gl,...Zl});Object.freeze({...qs,body:"",hidden:!1});({...Gl});const eu=Object.freeze({width:null,height:null}),tu=Object.freeze({...eu,...Zl});function S_(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in eu?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const k_=/[\s,]+/;function R_(e,t){t.split(k_).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function A_(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const I_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,O_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Sa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(I_);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=O_.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const L_=e=>e==="unset"||e==="undefined"||e==="none";function M_(e,t){const n={...qs,...e},r={...tu,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(y=>{const b=[],C=y.hFlip,_=y.vFlip;let g=y.rotate;C?_?g+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let E;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:E=o.height/2+o.top,b.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,b.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}g%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),b.length&&(s=''+s+"")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=Sa(f,c/l)):(u=i==="auto"?c:i,f=a===null?Sa(u,l/c):a==="auto"?l:a);const d={},h=(y,b)=>{L_(b)||(d[y]=b.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:s}}const N_=/\sid="(\S+)"/g,$_="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let H_=0;function j_(e,t=$_){const n=[];let r;for(;r=N_.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(H_++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function B_(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function F_(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function D_(e){return"data:image/svg+xml,"+F_(e)}function U_(e){return'url("'+D_(e)+'")'}const ka={...tu,inline:!1},z_={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},K_={display:"inline-block"},ss={backgroundColor:"currentColor"},nu={backgroundColor:"transparent"},Ra={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:ss,mask:ss,background:nu};for(const e in Aa){const t=Aa[e];for(const n in Ra)t[e+n]=Ra[n]}const Cr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Cr[e+"-flip"]=t,Cr[e.slice(0,1)+"-flip"]=t,Cr[e+"Flip"]=t});function Ia(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const V_=(e,t)=>{const n=S_(ka,t),r={...z_},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let b in t){const C=t[b];if(C!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[b]=C===!0||C==="true"||C===1;break;case"flip":typeof C=="string"&&R_(n,C);break;case"color":s.color=C;break;case"rotate":typeof C=="string"?n[b]=A_(C):typeof C=="number"&&(n[b]=C);break;case"ariaHidden":case"aria-hidden":C!==!0&&C!=="true"&&delete r["aria-hidden"];break;default:{const _=Cr[b];_?(C===!0||C==="true"||C===1)&&(n[_]=!0):ka[b]===void 0&&(r[b]=C)}}}const c=M_(e,n),l=c.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,l);let b=0,C=t.id;return typeof C=="string"&&(C=C.replace(/-/g,"_")),r.innerHTML=j_(c.body,C?()=>C+"ID"+b++:"iconifyVue"),Ne("svg",r)}const{body:u,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),y=B_(u,{...l,width:f+"",height:d+""});return r.style={...s,"--svg":U_(y),width:Ia(l.width),height:Ia(l.height),...K_,...h?ss:nu,...a},Ne("span",r)},q_=Object.create(null),W_=Ae({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?q_[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:V_({...qs,...n},e)}}),Kn=/^[a-z0-9]+(-[a-z0-9]+)*$/,so=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Pr(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Pr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Pr(a,n)?null:a}return null},Pr=(e,t)=>e?!!((e.provider===""||e.provider.match(Kn))&&(t&&e.prefix===""||e.prefix.match(Kn))&&e.name.match(Kn)):!1,ru=Object.freeze({left:0,top:0,width:16,height:16}),Kr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ws=Object.freeze({...ru,...Kr}),is=Object.freeze({...Ws,body:"",hidden:!1});function Q_(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Oa(e,t){const n=Q_(e,t);for(const r in is)r in Kr?r in e&&!(r in n)&&(n[r]=Kr[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function J_(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function X_(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Oa(r[a]||o[a],s)}return i(t),n.forEach(i),Oa(e,s)}function ou(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=J_(e);for(const o in r){const s=r[o];s&&(t(o,X_(e,o,s)),n.push(o))}return n}const Y_={provider:"",aliases:{},not_found:{},...ru};function Po(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function su(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Po(e,Y_))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(Kn)||typeof s.body!="string"||!Po(s,is))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(Kn)||typeof i!="string"||!n[i]&&!r[i]||!Po(s,is))return null}return t}const La=Object.create(null);function G_(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Qt(e,t){const n=La[e]||(La[e]=Object.create(null));return n[t]||(n[t]=G_(e,t))}function Qs(e,t){return su(t)?ou(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Z_(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Zn=!1;function iu(e){return typeof e=="boolean"&&(Zn=e),Zn}function ev(e){const t=typeof e=="string"?so(e,!0,Zn):e;if(t){const n=Qt(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function tv(e,t){const n=so(e,!0,Zn);if(!n)return!1;const r=Qt(n.provider,n.prefix);return Z_(r,n.name,t)}function nv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Zn&&!t&&!e.prefix){let o=!1;return su(e)&&(e.prefix="",ou(e,(s,i)=>{i&&tv(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Pr({provider:t,prefix:n,name:"a"}))return!1;const r=Qt(t,n);return!!Qs(r,e)}const rv=Object.freeze({width:null,height:null}),ov=Object.freeze({...rv,...Kr});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const as=Object.create(null);function sv(e,t){as[e]=t}function cs(e){return as[e]||as[""]}function Js(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Xs=Object.create(null),An=["https://api.simplesvg.com","https://api.unisvg.com"],xr=[];for(;An.length>0;)An.length===1||Math.random()>.5?xr.push(An.shift()):xr.push(An.pop());Xs[""]=Js({resources:["https://api.iconify.design"].concat(xr)});function iv(e,t){const n=Js(t);return n===null?!1:(Xs[e]=n,!0)}function Ys(e){return Xs[e]}const av=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ma=av();function cv(e,t){const n=Ys(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function lv(e){return e===404}const uv=(e,t,n)=>{const r=[],o=cv(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function fv(e){if(typeof e=="string"){const t=Ys(e);if(t)return t.path}return"/"}const dv=(e,t,n)=>{if(!Ma){n("abort",424);return}let r=fv(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Ma(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(lv(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},hv={prepare:uv,send:dv};function pv(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=Qt(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function au(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function gv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||au([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let mv=0;function yv(e,t,n){const r=mv++,o=au.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function _v(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?so(o,t,n):o;s&&r.push(s)}),r}var vv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bv(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let k=e.resources.slice(0);for(i=[];k.length>1;){const O=Math.floor(Math.random()*k.length);i.push(k[O]),k=k.slice(0,O).concat(k.slice(O+1))}i=i.concat(k)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function y(){f&&(clearTimeout(f),f=null)}function b(){c==="pending"&&(c="aborted"),y(),d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function C(k,O){O&&(h=[]),typeof k=="function"&&h.push(k)}function _(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:C,abort:b}}function g(){c="failed",h.forEach(k=>{k(void 0,u)})}function E(){d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function v(k,O,S){const B=O!=="success";switch(d=d.filter($=>$!==k),c){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){u=S,g();return}if(B){u=S,d.length||(i.length?x():g());return}if(y(),E(),!e.random){const $=e.resources.indexOf(k.resource);$!==-1&&$!==e.index&&(e.index=$)}c="completed",h.forEach($=>{$(S)})}function x(){if(c!=="pending")return;y();const k=i.shift();if(k===void 0){if(d.length){f=setTimeout(()=>{y(),c==="pending"&&(E(),g())},e.timeout);return}g();return}const O={status:"pending",resource:k,callback:(S,B)=>{v(O,S,B)}};d.push(O),l++,f=setTimeout(x,e.rotate),n(k,t,O.callback)}return setTimeout(x),_}function cu(e){const t={...vv,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=bv(t,a,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Na(){}const xo=Object.create(null);function wv(e){if(!xo[e]){const t=Ys(e);if(!t)return;const n=cu(t),r={config:t,redundancy:n};xo[e]=r}return xo[e]}function Ev(e,t,n){let r,o;if(typeof e=="string"){const s=cs(e);if(!s)return n(void 0,424),Na;o=s.send;const i=wv(e);i&&(r=i.redundancy)}else{const s=Js(e);if(s){r=cu(s);const i=e.resources?e.resources[0]:"",a=cs(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Na):r.query(t,o,n)().abort}const $a="iconify2",er="iconify",lu=er+"-count",Ha=er+"-version",uu=36e5,Cv=168;function ls(e,t){try{return e.getItem(t)}catch{}}function Gs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ja(e,t){try{e.removeItem(t)}catch{}}function us(e,t){return Gs(e,lu,t.toString())}function fs(e){return parseInt(ls(e,lu))||0}const io={local:!0,session:!0},fu={local:new Set,session:new Set};let Zs=!1;function Pv(e){Zs=e}let yr=typeof window>"u"?{}:window;function du(e){const t=e+"Storage";try{if(yr&&yr[t]&&typeof yr[t].length=="number")return yr[t]}catch{}io[e]=!1}function hu(e,t){const n=du(e);if(!n)return;const r=ls(n,Ha);if(r!==$a){if(r){const a=fs(n);for(let c=0;c{const c=er+a.toString(),l=ls(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}ja(n,c)}};let i=fs(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,us(n,i)):fu[e].add(a))}function pu(){if(!Zs){Pv(!0);for(const e in io)hu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Qt(r,o);if(!Qs(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function xv(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in io)hu(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Tv(e,t){Zs||pu();function n(r){let o;if(!io[r]||!(o=du(r)))return;const s=fu[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=fs(o),!us(o,i+1))return;const a={cached:Math.floor(Date.now()/uu),provider:e.provider,data:t};return Gs(o,er+i.toString(),JSON.stringify(a))}t.lastModified&&!xv(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ba(){}function Sv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,gv(e)}))}function kv(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=cs(n)))return;s.prepare(n,r,o).forEach(a=>{Ev(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=Qs(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),Tv(e,c)}catch(l){console.error(l)}Sv(e)})})}))}const Rv=(e,t)=>{const n=_v(e,!0,iu()),r=pv(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Ba)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(Qt(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=Qt(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[l][u].push(f))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&kv(c,o[l][u])}),t?yv(t,r,s):Ba},Av=e=>new Promise((t,n)=>{const r=typeof e=="string"?so(e,!0):e;if(!r){n(e);return}Rv([r||e],o=>{if(o.length&&r){const s=ev(r);if(s){t({...Ws,...s});return}}n(e)})});({...ov});const Fa={backgroundColor:"currentColor"},Iv={backgroundColor:"transparent"},Da={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ua={webkitMask:Fa,mask:Fa,background:Iv};for(const e in Ua){const t=Ua[e];for(const n in Da)t[e+n]=Da[n]}const To={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";To[e+"-flip"]=t,To[e.slice(0,1)+"-flip"]=t,To[e+"Flip"]=t});iu(!0);sv("",hv);if(typeof document<"u"&&typeof window<"u"){pu();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!nv(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;iv(n,o)||console.error(r)}catch{console.error(r)}}}}({...Ws});const Ov=Ae({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=e,o=le(),s=Bs(),i=Pt("icons",()=>({})),a=xe(!1),c=fe(()=>{var y;return((((y=s.nuxtIcon)==null?void 0:y.aliases)||{})[r.name]||r.name).replace(/^i-/,"")}),l=fe(()=>{var y;return(y=i.value)==null?void 0:y[c.value]}),u=fe(()=>o.vueApp.component(c.value)),f=fe(()=>{var b,C,_;if(!r.size&&typeof((b=s.nuxtIcon)==null?void 0:b.size)=="boolean"&&!((C=s.nuxtIcon)!=null&&C.size))return;const y=r.size||((_=s.nuxtIcon)==null?void 0:_.size)||"1em";return String(Number(y))===y?`${y}px`:y}),d=fe(()=>{var y;return((y=s==null?void 0:s.nuxtIcon)==null?void 0:y.class)??"icon"});async function h(){var y;u.value||(y=i.value)!=null&&y[c.value]||(a.value=!0,i.value[c.value]=await Av(c.value).catch(()=>{}),a.value=!1)}return rt(()=>c.value,h),!u.value&&([t,n]=qf(()=>h()),t=await t,n()),(y,b)=>a.value?(ge(),Qe("span",{key:0,class:Ct(d.value),style:fn({width:f.value,height:f.value})},null,6)):l.value?(ge(),je(se(W_),{key:1,icon:l.value,class:Ct(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):u.value?(ge(),je(Nc(u.value),{key:2,class:Ct(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(ge(),Qe("span",{key:3,class:Ct(d.value),style:fn({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Rs(y.$slots,"default",{},()=>[to(Xa(e.name),1)],!0)],6))}});const ei=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ti=ei(Ov,[["__scopeId","data-v-b79d0df8"]]),Lv=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"})),Mv=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=xe(!1);return Pn(()=>{r.value=!0}),o=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return Qe(a,n,i)}}}),Nv={name:qy,props:{placeholder:String,tag:{type:String,default:"span"}}};function $v(e,t,n,r,o,s){const i=Mv;return ge(),je(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Cn(()=>[Rs(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Hv=ei(Nv,[["render",$v]]),jv=()=>Pt("color-mode").value,Bv=gn("span",{class:"sr-only"},"Dark Mode",-1),Fv=gn("span",{class:"sr-only"},"Light Mode",-1),Dv=Ae({__name:"ColorModeSwitch",setup(e){const t=jv(),n=()=>t.value==="light"?t.preference="dark":t.preference="light";return(r,o)=>{const s=ti,i=Hv;return ge(),Qe("button",{"aria-label":"Color Mode",class:"inline-block w-5",onClick:n},[re(i,{placeholder:"..."},{default:Cn(()=>[se(t).value==="dark"?(ge(),Qe(Ee,{key:0},[re(s,{name:"dark-mode",class:"w-5 h-5"}),Bv],64)):(ge(),Qe(Ee,{key:1},[re(s,{name:"light-mode",class:"w-5 h-5"}),Fv],64))]),_:1})])}}}),Uv={class:"flex justify-between max-w-2xl px-4 py-4 mx-auto sm:px-8"},zv={class:"text-gray-700 dark:text-gray-200"},Kv={class:"space-x-3 transition text-gray-500"},Vv=["href"],qv=["href"],Wv=Ae({__name:"AppNavbar",setup(e){const{navigation:t}=n_(),n=Bs();return(r,o)=>{var c,l,u,f;const s=Og,i=ti,a=Dv;return ge(),Qe("div",Uv,[gn("div",zv,[(ge(!0),Qe(Ee,null,zf(se(t),d=>(ge(),je(s,{key:d._path,to:d._path,"active-class":"font-bold",class:"mr-6"},{default:Cn(()=>[to(Xa(d.title),1)]),_:2},1032,["to"]))),128))]),gn("div",Kv,[(c=se(n).socials)!=null&&c.twitter?(ge(),Qe("a",{key:0,href:`https://twitter.com/${(l=se(n).socials)==null?void 0:l.twitter}`,title:"Twitter",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[re(i,{name:"fa-brands:twitter",class:"w-5 h-5"})],8,Vv)):Si("",!0),(u=se(n).socials)!=null&&u.github?(ge(),Qe("a",{key:1,href:`https://github.com/${(f=se(n).socials)==null?void 0:f.github}`,title:"GitHub",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[re(i,{name:"fa-brands:github",class:"w-5 h-5"})],8,qv)):Si("",!0),re(a,{class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"})])])}}}),Qv={class:"sm:pt-6 sm:pb-10"},Jv=Ae({__name:"AppLayout",setup(e){const{cover:t}=Bs();return(n,r)=>{const o=P_,s=C_,i=x_,a=Wv;return ge(),Qe("div",Qv,[re(o,{lang:"en"}),re(s,{property:"og:image",content:se(t)},null,8,["content"]),re(s,{name:"twitter:card",content:"summary_large_image"}),re(i),re(a),Rs(n.$slots,"default")])}}});const Xv={};function Yv(e,t){const n=__,r=Jv;return ge(),je(r,null,{default:Cn(()=>[re(n)]),_:1})}const Gv=ei(Xv,[["render",Yv]]),Zv={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(` + */const en=typeof window<"u";function Qg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function wo(e,t){const n={};for(const r in t){const o=t[r];n[r]=Xe(o)?o.map(e):e(o)}return n}const Dn=()=>{},Xe=Array.isArray,Jg=/\/$/,Yg=e=>e.replace(Jg,"");function Eo(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=em(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function Xg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ca(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gg(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yn(t.matched[r],n.matched[o])&&Il(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Il(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zg(e[n],t[n]))return!1;return!0}function Zg(e,t){return Xe(e)?la(e,t):Xe(t)?la(t,e):e===t}function la(e,t){return Xe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function em(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var Un;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Un||(Un={}));function tm(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yg(e)}const nm=/^[^#]+#/;function rm(e,t){return e.replace(nm,"#")+t}function om(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const oo=()=>({left:window.pageXOffset,top:window.pageYOffset});function sm(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=om(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ua(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function im(e,t){ts.set(e,t)}function am(e){const t=ts.get(e);return ts.delete(e),t}let cm=()=>location.protocol+"//"+location.host;function Ol(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ca(c,"")}return ca(n,e)+r+o}function lm(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=Ol(e,location),y=n.value,b=t.value;let C=0;if(d){if(n.value=h,t.value=d,i&&i===y){i=null;return}C=b?d.position-b.position:0}else r(h);o.forEach(_=>{_(n.value,y,{delta:C,type:Gn.pop,direction:C?C>0?Un.forward:Un.back:Un.unknown})})};function c(){i=n.value}function l(d){o.push(d);const h=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(ce({},d.state,{scroll:oo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function fa(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?oo():null}}function um(e){const{history:t,location:n}=window,r={value:Ol(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:cm()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(c,l){const u=ce({},t.state,fa(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});s(c,u,!0),r.value=c}function a(c,l){const u=ce({},o.value,t.state,{forward:c,scroll:oo()});s(u.current,u,!0);const f=ce({},fa(r.value,c,null),{position:u.position+1},l);s(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function Ll(e){e=tm(e);const t=um(e),n=lm(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:rm.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function fm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ll(e)}function dm(e){return typeof e=="string"||e&&typeof e=="object"}function Ml(e){return typeof e=="string"||typeof e=="symbol"}const et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Nl=Symbol("");var da;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(da||(da={}));function _n(e,t){return ce(new Error,{type:e,[Nl]:!0},t)}function ct(e,t){return e instanceof Error&&Nl in e&&(t==null||!!(e.type&t))}const ha="[^/]+?",hm={sensitive:!1,strict:!1,start:!0,end:!0},pm=/[.+*?^${}()[\]/\\]/g;function gm(e,t){const n=ce({},hm,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function ym(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const _m={type:0,value:""},vm=/[a-zA-Z0-9_]/;function bm(e){if(!e)return[[]];if(e==="/")return[[_m]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===0?s.push({type:0,value:l}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(g)}:Dn}function i(u){if(Ml(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$l(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ma(u)&&r.set(u.record.name,u)}function l(u,f){let d,h={},y,b;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw _n(1,{location:u});b=d.record.name,h=ce(ga(f.params,d.keys.filter(g=>!g.optional).map(g=>g.name)),u.params&&ga(u.params,d.keys.map(g=>g.name))),y=d.stringify(h)}else if("path"in u)y=u.path,d=n.find(g=>g.re.test(y)),d&&(h=d.parse(y),b=d.record.name);else{if(d=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!d)throw _n(1,{location:u,currentLocation:f});b=d.record.name,h=ce({},f.params,u.params),y=d.stringify(h)}const C=[];let _=d;for(;_;)C.unshift(_.record),_=_.parent;return{name:b,path:y,params:h,matched:C,meta:xm(C)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function ga(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Cm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Pm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Pm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ma(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xm(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function ya(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $l(e,t){return t.children.some(n=>n===e||$l(e,n))}const Hl=/#/g,Tm=/&/g,Sm=/\//g,km=/=/g,Rm=/\?/g,jl=/\+/g,Am=/%5B/g,Im=/%5D/g,Bl=/%5E/g,Om=/%60/g,Fl=/%7B/g,Lm=/%7C/g,Dl=/%7D/g,Mm=/%20/g;function Fs(e){return encodeURI(""+e).replace(Lm,"|").replace(Am,"[").replace(Im,"]")}function Nm(e){return Fs(e).replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function ns(e){return Fs(e).replace(jl,"%2B").replace(Mm,"+").replace(Hl,"%23").replace(Tm,"%26").replace(Om,"`").replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function $m(e){return ns(e).replace(km,"%3D")}function Hm(e){return Fs(e).replace(Hl,"%23").replace(Rm,"%3F")}function jm(e){return e==null?"":Hm(e).replace(Sm,"%2F")}function Ur(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Bm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&ns(s)):[r&&ns(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Fm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xe(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Dm=Symbol(""),va=Symbol(""),Ds=Symbol(""),Us=Symbol(""),rs=Symbol("");function Rn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Et(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(_n(4,{from:n,to:t})):f instanceof Error?a(f):dm(f)?a(_n(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function Co(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Um(a)){const l=(a.__vccOpts||a)[t];l&&o.push(Et(l,n,r,s,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Qg(l)?l.default:l;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Et(d,n,r,s,i)()}))}}return o}function Um(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ba(e){const t=Me(Ds),n=Me(Us),r=fe(()=>t.resolve(se(e.to))),o=fe(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(yn.bind(null,u));if(d>-1)return d;const h=wa(c[l-2]);return l>1&&wa(u)===h&&f[f.length-1].path!==h?f.findIndex(yn.bind(null,c[l-2])):d}),s=fe(()=>o.value>-1&&qm(n.params,r.value.params)),i=fe(()=>o.value>-1&&o.value===n.matched.length-1&&Il(n.params,r.value.params));function a(c={}){return Vm(c)?t[se(e.replace)?"replace":"push"](se(e.to)).catch(Dn):Promise.resolve()}return{route:r,href:fe(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const zm=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ba,setup(e,{slots:t}){const n=st(ba(e)),{options:r}=Me(Ds),o=fe(()=>({[Ea(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ea(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ne("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Km=zm;function Vm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function qm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Xe(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ea=(e,t,n)=>e??t??n,Wm=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Me(rs),o=fe(()=>e.route||r.value),s=Me(va,0),i=fe(()=>{let l=se(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=fe(()=>o.value.matched[i.value]);un(va,fe(()=>i.value+1)),un(Dm,a),un(rs,o);const c=xe();return rt(()=>[c.value,a.value,e.name],([l,u,f],[d,h,y])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!yn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Ca(n.default,{Component:d,route:l});const h=f.props[u],y=h?h===!0?l.params:typeof h=="function"?h(l):h:null,C=Ne(d,ce({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Ca(n.default,{Component:C,route:l})||C}}});function Ca(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ul=Wm;function Qm(e){const t=Em(e.routes,e),n=e.parseQuery||Bm,r=e.stringifyQuery||_a,o=e.history,s=Rn(),i=Rn(),a=Rn(),c=St(et);let l=et;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wo.bind(null,T=>""+T),f=wo.bind(null,jm),d=wo.bind(null,Ur);function h(T,F){let N,z;return Ml(T)?(N=t.getRecordMatcher(T),z=F):z=T,t.addRoute(z,N)}function y(T){const F=t.getRecordMatcher(T);F&&t.removeRoute(F)}function b(){return t.getRoutes().map(T=>T.record)}function C(T){return!!t.getRecordMatcher(T)}function _(T,F){if(F=ce({},F||c.value),typeof T=="string"){const w=Eo(n,T,F.path),P=t.resolve({path:w.path},F),R=o.createHref(w.fullPath);return ce(w,P,{params:d(P.params),hash:Ur(w.hash),redirectedFrom:void 0,href:R})}let N;if("path"in T)N=ce({},T,{path:Eo(n,T.path,F.path).path});else{const w=ce({},T.params);for(const P in w)w[P]==null&&delete w[P];N=ce({},T,{params:f(w)}),F.params=f(F.params)}const z=t.resolve(N,F),ae=T.hash||"";z.params=u(d(z.params));const p=Xg(r,ce({},T,{hash:Nm(ae),path:z.path})),m=o.createHref(p);return ce({fullPath:p,hash:ae,query:r===_a?Fm(T.query):T.query||{}},z,{redirectedFrom:void 0,href:m})}function g(T){return typeof T=="string"?Eo(n,T,c.value.path):ce({},T)}function E(T,F){if(l!==T)return _n(8,{from:F,to:T})}function v(T){return O(T)}function x(T){return v(ce(g(T),{replace:!0}))}function k(T){const F=T.matched[T.matched.length-1];if(F&&F.redirect){const{redirect:N}=F;let z=typeof N=="function"?N(T):N;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),ce({query:T.query,hash:T.hash,params:"path"in z?{}:T.params},z)}}function O(T,F){const N=l=_(T),z=c.value,ae=T.state,p=T.force,m=T.replace===!0,w=k(N);if(w)return O(ce(g(w),{state:typeof w=="object"?ce({},ae,w.state):ae,force:p,replace:m}),F||N);const P=N;P.redirectedFrom=F;let R;return!p&&Gg(r,z,N)&&(R=_n(16,{to:P,from:z}),Ge(z,z,!0,!1)),(R?Promise.resolve(R):$(P,z)).catch(A=>ct(A)?ct(A,2)?A:gt(A):ie(A,P,z)).then(A=>{if(A){if(ct(A,2))return O(ce({replace:m},g(A.to),{state:typeof A.to=="object"?ce({},ae,A.to.state):ae,force:p}),F||P)}else A=j(P,z,!0,m,ae);return Q(P,z,A),A})}function S(T,F){const N=E(T,F);return N?Promise.reject(N):Promise.resolve()}function B(T){const F=Xt.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(T):T()}function $(T,F){let N;const[z,ae,p]=Jm(T,F);N=Co(z.reverse(),"beforeRouteLeave",T,F);for(const w of z)w.leaveGuards.forEach(P=>{N.push(Et(P,T,F))});const m=S.bind(null,T,F);return N.push(m),Te(N).then(()=>{N=[];for(const w of s.list())N.push(Et(w,T,F));return N.push(m),Te(N)}).then(()=>{N=Co(ae,"beforeRouteUpdate",T,F);for(const w of ae)w.updateGuards.forEach(P=>{N.push(Et(P,T,F))});return N.push(m),Te(N)}).then(()=>{N=[];for(const w of p)if(w.beforeEnter)if(Xe(w.beforeEnter))for(const P of w.beforeEnter)N.push(Et(P,T,F));else N.push(Et(w.beforeEnter,T,F));return N.push(m),Te(N)}).then(()=>(T.matched.forEach(w=>w.enterCallbacks={}),N=Co(p,"beforeRouteEnter",T,F),N.push(m),Te(N))).then(()=>{N=[];for(const w of i.list())N.push(Et(w,T,F));return N.push(m),Te(N)}).catch(w=>ct(w,8)?w:Promise.reject(w))}function Q(T,F,N){a.list().forEach(z=>B(()=>z(T,F,N)))}function j(T,F,N,z,ae){const p=E(T,F);if(p)return p;const m=F===et,w=en?history.state:{};N&&(z||m?o.replace(T.fullPath,ce({scroll:m&&w&&w.scroll},ae)):o.push(T.fullPath,ae)),c.value=T,Ge(T,F,N,m),gt()}let W;function D(){W||(W=o.listen((T,F,N)=>{if(!sr.listening)return;const z=_(T),ae=k(z);if(ae){O(ce(ae,{replace:!0}),z).catch(Dn);return}l=z;const p=c.value;en&&im(ua(p.fullPath,N.delta),oo()),$(z,p).catch(m=>ct(m,12)?m:ct(m,2)?(O(m.to,z).then(w=>{ct(w,20)&&!N.delta&&N.type===Gn.pop&&o.go(-1,!1)}).catch(Dn),Promise.reject()):(N.delta&&o.go(-N.delta,!1),ie(m,z,p))).then(m=>{m=m||j(z,p,!1),m&&(N.delta&&!ct(m,8)?o.go(-N.delta,!1):N.type===Gn.pop&&ct(m,20)&&o.go(-1,!1)),Q(z,p,m)}).catch(Dn)}))}let ye=Rn(),ee=Rn(),oe;function ie(T,F,N){gt(T);const z=ee.list();return z.length?z.forEach(ae=>ae(T,F,N)):console.error(T),Promise.reject(T)}function at(){return oe&&c.value!==et?Promise.resolve():new Promise((T,F)=>{ye.add([T,F])})}function gt(T){return oe||(oe=!T,D(),ye.list().forEach(([F,N])=>T?N(T):F()),ye.reset()),T}function Ge(T,F,N,z){const{scrollBehavior:ae}=e;if(!en||!ae)return Promise.resolve();const p=!N&&am(ua(T.fullPath,0))||(z||!N)&&history.state&&history.state.scroll||null;return Jt().then(()=>ae(T,F,p)).then(m=>m&&sm(m)).catch(m=>ie(m,T,F))}const Ie=T=>o.go(T);let Yt;const Xt=new Set,sr={currentRoute:c,listening:!0,addRoute:h,removeRoute:y,hasRoute:C,getRoutes:b,resolve:_,options:e,push:v,replace:x,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:ee.add,isReady:at,install(T){const F=this;T.component("RouterLink",Km),T.component("RouterView",Ul),T.config.globalProperties.$router=F,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>se(c)}),en&&!Yt&&c.value===et&&(Yt=!0,v(o.location).catch(ae=>{}));const N={};for(const ae in et)Object.defineProperty(N,ae,{get:()=>c.value[ae],enumerable:!0});T.provide(Ds,F),T.provide(Us,Tt(N)),T.provide(rs,c);const z=T.unmount;Xt.add(T),T.unmount=function(){Xt.delete(T),Xt.size<1&&(l=et,W&&W(),W=null,c.value=et,Yt=!1,oe=!1),z()}}};function Te(T){return T.reduce((F,N)=>F.then(()=>B(N)),Promise.resolve())}return sr}function Jm(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;iyn(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>yn(l,c))||o.push(c))}return[n,r,o]}function c0(){return Me(Us)}const Pa=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>J(()=>import("./document-driven.79cda49f.js"),["./document-driven.79cda49f.js","./DocumentDrivenEmpty.b7c26fed.js","./ContentRenderer.fccd0eef.js","./ContentRendererMarkdown.vue.e7d1ce30.js","./DocumentDrivenNotFound.f57cfed9.js","./head.23c934d3.js"],import.meta.url).then(e=>e.default||e)}],Ym={scrollBehavior(e,t,n){var l;const r=le(),o=((l=ze().options)==null?void 0:l.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&Xm(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:xa(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??es),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await Jt(),e.hash&&(s={el:e.hash,top:xa(e.hash),behavior:o}),u(s)})})}};function xa(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Xm(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const Gm={},Oe={...Gm,...Ym},Zm=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=le(),o=ze();if(([t,n]=jr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=js({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>rn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},wr=[Zm],zn={};function ey(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const l=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(l);return u[0]!=="/"&&(u="/"+u),Ui(u,"")}const a=Ui(r,e),c=!n||vh(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":o)+s}const ty=it({name:"nuxt:router",enforce:"pre",async setup(e){var b,C;let t,n,r=Ye().app.baseURL;Oe.hashMode&&!r.includes("#")&&(r+="#");const o=((b=Oe.history)==null?void 0:b.call(Oe,r))??(Oe.hashMode?fm(r):Ll(r)),s=((C=Oe.routes)==null?void 0:C.call(Oe,Pa))??Pa;let i;const a=ey(r,window.location,e.payload.path),c=Qm({...Oe,scrollBehavior:(_,g,E)=>{var v;if(g===et){i=E;return}return c.options.scrollBehavior=Oe.scrollBehavior,(v=Oe.scrollBehavior)==null?void 0:v.call(Oe,_,et,i||E)},history:o,routes:s});e.vueApp.use(c);const l=St(c.currentRoute.value);c.afterEach((_,g)=>{l.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=St(c.resolve(a)),f=()=>{u.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,g)=>{var E,v,x,k;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((k=(x=g.matched[0])==null?void 0:x.components)==null?void 0:k.default)&&f()});const d={};for(const _ in u.value)Object.defineProperty(d,_,{get:()=>u.value[_]});e._route=Tt(d),e._middleware=e._middleware||{global:[],named:{}};const h=ro();try{[t,n]=jr(()=>c.isReady()),await t,n()}catch(_){[t,n]=jr(()=>e.runWithContext(()=>rn(_))),await t,n()}const y=e.payload.state._layout;return c.beforeEach(async(_,g)=>{var E;_.meta=st(_.meta),e.isHydrating&&y&&!Vt(_.meta.layout)&&(_.meta.layout=y),e._processingMiddleware=!0;{const v=new Set([...wr,...e._middleware.global]);for(const x of _.matched){const k=x.meta.middleware;if(k)if(Array.isArray(k))for(const O of k)v.add(O);else v.add(k)}for(const x of v){const k=typeof x=="string"?e._middleware.named[x]||await((E=zn[x])==null?void 0:E.call(zn).then(S=>S.default||S)):x;if(!k)throw new Error(`Unknown route middleware: '${x}'.`);const O=await e.runWithContext(()=>k(_,g));if(!e.payload.serverRendered&&e.isHydrating&&(O===!1||O instanceof Error)){const S=O||Xo({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>rn(S)),!1}if(O!==!0&&(O||O===!1))return O}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(_,g,E)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(sg),_.matched.length===0&&await e.runWithContext(()=>rn(Xo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=Oe.scrollBehavior}catch(_){await e.runWithContext(()=>rn(_))}}),{provide:{router:c}}}}),ny=it({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await sa(t.path);r&&Object.assign(e.static.data,r.data)}),xl(()=>{e.hooks.hook("link:prefetch",async t=>{or(t).protocol||await sa(t)})})}}),ry=G(()=>J(()=>import("./ButtonLink.ac5d9709.js"),["./ButtonLink.ac5d9709.js","./slot.22183dda.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),oy=G(()=>J(()=>import("./MarkdownBlock.1c4f6fd5.js"),["./MarkdownBlock.1c4f6fd5.js","./slot.22183dda.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),sy=G(()=>J(()=>import("./ContentDoc.4fb3d4dc.js"),["./ContentDoc.4fb3d4dc.js","./head.23c934d3.js","./ContentRenderer.fccd0eef.js","./ContentRendererMarkdown.vue.e7d1ce30.js","./ContentQuery.85e479c1.js","./asyncData.bfd7ca3d.js"],import.meta.url).then(e=>e.default)),iy=G(()=>J(()=>import("./ContentList.7dc25911.js"),["./ContentList.7dc25911.js","./ContentQuery.85e479c1.js","./asyncData.bfd7ca3d.js"],import.meta.url).then(e=>e.default)),ay=G(()=>J(()=>import("./ContentNavigation.98f35005.js"),["./ContentNavigation.98f35005.js","./asyncData.bfd7ca3d.js"],import.meta.url).then(e=>e.default)),cy=G(()=>J(()=>import("./ContentQuery.85e479c1.js"),["./ContentQuery.85e479c1.js","./asyncData.bfd7ca3d.js"],import.meta.url).then(e=>e.default)),ly=G(()=>J(()=>import("./ContentRenderer.fccd0eef.js"),["./ContentRenderer.fccd0eef.js","./ContentRendererMarkdown.vue.e7d1ce30.js"],import.meta.url).then(e=>e.default)),uy=G(()=>J(()=>import("./ContentRendererMarkdown.4bb78fd9.js"),["./ContentRendererMarkdown.4bb78fd9.js","./ContentRendererMarkdown.vue.e7d1ce30.js"],import.meta.url).then(e=>e.default)),fy=G(()=>J(()=>import("./ContentSlot.2bc0ea97.js"),["./ContentSlot.2bc0ea97.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),dy=G(()=>J(()=>import("./DocumentDrivenEmpty.b7c26fed.js"),[],import.meta.url).then(e=>e.default)),hy=G(()=>J(()=>import("./DocumentDrivenNotFound.f57cfed9.js"),[],import.meta.url).then(e=>e.default)),py=G(()=>J(()=>import("./Markdown.274fbb3e.js"),["./Markdown.274fbb3e.js","./ContentSlot.2bc0ea97.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),gy=G(()=>J(()=>import("./ProseCode.748da8e2.js"),["./ProseCode.748da8e2.js","./ProseCode.vue.e045fcbe.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),my=G(()=>J(()=>import("./ProseCodeInline.b3009cda.js"),[],import.meta.url).then(e=>e.default)),yy=G(()=>J(()=>import("./ProsePre.8754ecb8.js"),["./ProsePre.8754ecb8.js","./ProseCode.vue.e045fcbe.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),_y=G(()=>J(()=>import("./ProseA.5b5bede1.js"),[],import.meta.url).then(e=>e.default)),vy=G(()=>J(()=>import("./ProseBlockquote.288744a8.js"),[],import.meta.url).then(e=>e.default)),by=G(()=>J(()=>import("./ProseEm.c50790fa.js"),[],import.meta.url).then(e=>e.default)),wy=G(()=>J(()=>import("./ProseH1.823aafc3.js"),[],import.meta.url).then(e=>e.default)),Ey=G(()=>J(()=>import("./ProseH2.f7d3423e.js"),[],import.meta.url).then(e=>e.default)),Cy=G(()=>J(()=>import("./ProseH3.9d43dbf2.js"),[],import.meta.url).then(e=>e.default)),Py=G(()=>J(()=>import("./ProseH4.ada03ae9.js"),[],import.meta.url).then(e=>e.default)),xy=G(()=>J(()=>import("./ProseH5.4e944a41.js"),[],import.meta.url).then(e=>e.default)),Ty=G(()=>J(()=>import("./ProseH6.118469ee.js"),[],import.meta.url).then(e=>e.default)),Sy=G(()=>J(()=>import("./ProseHr.da8ba399.js"),[],import.meta.url).then(e=>e.default)),ky=G(()=>J(()=>import("./ProseImg.4e456e18.js"),[],import.meta.url).then(e=>e.default)),Ry=G(()=>J(()=>import("./ProseLi.98fb3d8e.js"),[],import.meta.url).then(e=>e.default)),Ay=G(()=>J(()=>import("./ProseOl.b0a6cae3.js"),[],import.meta.url).then(e=>e.default)),Iy=G(()=>J(()=>import("./ProseP.7e07bc1e.js"),[],import.meta.url).then(e=>e.default)),Oy=G(()=>J(()=>import("./ProseStrong.93d206b9.js"),[],import.meta.url).then(e=>e.default)),Ly=G(()=>J(()=>import("./ProseTable.17bced7b.js"),[],import.meta.url).then(e=>e.default)),My=G(()=>J(()=>import("./ProseTbody.92c5990c.js"),[],import.meta.url).then(e=>e.default)),Ny=G(()=>J(()=>import("./ProseTd.476c98ac.js"),[],import.meta.url).then(e=>e.default)),$y=G(()=>J(()=>import("./ProseTh.f25396ad.js"),[],import.meta.url).then(e=>e.default)),Hy=G(()=>J(()=>import("./ProseThead.de4fbf7f.js"),[],import.meta.url).then(e=>e.default)),jy=G(()=>J(()=>import("./ProseTr.acc4e5de.js"),[],import.meta.url).then(e=>e.default)),By=G(()=>J(()=>import("./ProseUl.08da086a.js"),[],import.meta.url).then(e=>e.default)),Fy=G(()=>J(()=>Promise.resolve().then(()=>Lv),void 0,import.meta.url).then(e=>e.default)),Dy=G(()=>J(()=>import("./IconCSS.207784c2.js"),["./IconCSS.207784c2.js","./IconCSS.400fa670.css"],import.meta.url).then(e=>e.default)),Uy=[["ButtonLink",ry],["MarkdownBlock",oy],["ContentDoc",sy],["ContentList",iy],["ContentNavigation",ay],["ContentQuery",cy],["ContentRenderer",ly],["ContentRendererMarkdown",uy],["MDCSlot",fy],["DocumentDrivenEmpty",dy],["DocumentDrivenNotFound",hy],["Markdown",py],["ProseCode",gy],["ProseCodeInline",my],["ProsePre",yy],["ProseA",_y],["ProseBlockquote",vy],["ProseEm",by],["ProseH1",wy],["ProseH2",Ey],["ProseH3",Cy],["ProseH4",Py],["ProseH5",xy],["ProseH6",Ty],["ProseHr",Sy],["ProseImg",ky],["ProseLi",Ry],["ProseOl",Ay],["ProseP",Iy],["ProseStrong",Oy],["ProseTable",Ly],["ProseTbody",My],["ProseTd",Ny],["ProseTh",$y],["ProseThead",Hy],["ProseTr",jy],["ProseUl",By],["Icon",Fy],["IconCSS",Dy]],zy=it({name:"nuxt:global-components",setup(e){for(const[t,n]of Uy)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Mn={default:()=>J(()=>import("./default.564678f6.js"),[],import.meta.url).then(e=>e.default||e),"full-width":()=>J(()=>import("./full-width.a1b01d96.js"),[],import.meta.url).then(e=>e.default||e)},Ky=it({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Mn[r]=="function"&&await Mn[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,c,l;if(Lt(n))return;const r=t.resolve(n);if(!r)return;const o=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let s=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(l=r==null?void 0:r.meta)==null?void 0:l.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof zn[u]=="function"&&zn[u]();o&&typeof Mn[o]=="function"&&Mn[o]()})}}),Vy="__NUXT_COLOR_MODE__",qy="ColorScheme",Wy="nuxt-color-mode",lt=window[Vy],Qy=it(e=>{const t=Pt("color-mode",()=>st({preference:lt.preference,value:lt.value,unknown:!1,forced:!1})).value;ze().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?lt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=lt.getColorScheme())}))}rt(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=lt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(Wy,o))},{immediate:!0}),rt(()=>t.value,(o,s)=>{lt.removeColorScheme(s),lt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=lt.preference,t.value=lt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Jy=["ButtonLink","MarkdownBlock","AppLayout","AppNavbar","ColorModeSwitch","ContentPreviewMode","ContentDoc","ContentList","ContentNavigation","ContentQuery","ContentRenderer","ContentRendererMarkdown","MDCSlot","DocumentDrivenEmpty","DocumentDrivenNotFound","Markdown","ProseCode","ProseCodeInline","ProsePre","ProseA","ProseBlockquote","ProseEm","ProseH1","ProseH2","ProseH3","ProseH4","ProseH5","ProseH6","ProseHr","ProseImg","ProseLi","ProseOl","ProseP","ProseStrong","ProseTable","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","NuxtWelcome","NuxtLayout","NuxtErrorBoundary","ClientOnly","DevOnly","ServerPlaceholder","NuxtLink","NuxtLoadingIndicator","MDC","MDCRenderer","MDCSlot","ColorScheme","Icon","IconCSS","NuxtPage","NoScript","Link","Base","Title","Meta","Style","Head","Html","Body"],Yy=/\d/,Xy=["-","_","/","."];function Gy(e=""){if(!Yy.test(e))return e.toUpperCase()===e}function Zy(e,t){const n=t??Xy,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const c=n.includes(a);if(c===!0){r.push(o),o="",s=void 0;continue}const l=Gy(a);if(i===!1){if(s===!1&&l===!0){r.push(o),o=a,s=l;continue}if(s===!0&&l===!1&&o.length>1){const u=o[o.length-1];r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=l;continue}}o+=a,s=l,i=c}return r.push(o),r}function e_(e){return e?e[0].toUpperCase()+e.slice(1):""}function t_(e){return e?(Array.isArray(e)?e:Zy(e)).map(t=>e_(t)).join(""):""}const tn=()=>{const e=Pt("dd-pages",()=>St(Tt({}))),t=Pt("dd-surrounds",()=>St(Tt({}))),n=Pt("dd-navigation"),r=Pt("dd-globals",()=>St(Tt({})));return{pages:e,surrounds:t,navigation:n,globals:r}},n_=()=>{const{navigation:e,pages:t,surrounds:n,globals:r}=tn(),o=fe(()=>qt(Wt().path)),s=fe(()=>t.value[o.value]),i=fe(()=>n.value[o.value]),a=fe(()=>{var h,y;return(y=(h=s==null?void 0:s.value)==null?void 0:h.body)==null?void 0:y.toc}),c=fe(()=>{var h;return(h=s.value)==null?void 0:h._type}),l=fe(()=>{var h;return(h=s.value)==null?void 0:h.excerpt}),u=fe(()=>{var h;return(h=s.value)==null?void 0:h.layout}),f=fe(()=>{var h;return(h=i.value)==null?void 0:h[1]}),d=fe(()=>{var h;return(h=i.value)==null?void 0:h[0]});return{globals:r,navigation:e,surround:i,page:s,excerpt:l,toc:a,type:c,layout:u,next:f,prev:d}},zl=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=zl(t);if(n)return n}},Kl=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=Kl(e,n.children);if(r)return r}}},Vl=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=Vl(e,n.children);if(r)return r}}},r_=(e,t,n)=>{let r;const o=(s,i)=>{for(const a of i)if(!(s!=="/"&&a._path==="/")){if(s!=null&&s.startsWith(a._path)&&a[t]&&(r=a[t]),a._path===s)return;a.children&&o(s,a.children)}};return o(e,n),r},o_=()=>({navBottomLink:zl,navDirFromPath:Kl,navPageFromPath:Vl,navKeyFromPath:r_});function zs(e){return JSON.stringify(e,s_)}function s_(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ql=e=>{let t=zs(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},Ks=()=>({isEnabled:()=>{const r=Wt().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||br("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>br("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{br("previewToken").value=r,Wt().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),zr=e=>il(e,Ye().public.content.api.baseURL),Wl=()=>{const{experimental:e}=Ye().public.content;return e.clientDB?!0:Ks().isEnabled()},Ta=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),Vs=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),l0=e=>t=>e&&e.length?Vs(t,n=>!e.includes(n)):t,u0=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),Ql=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},f0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return Vs(t,o=>!r.includes(o)&&!n.includes(o[0]))},d0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return Vs(t,o=>r.includes(o)||n.includes(o[0]))},h0=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[Ta(s,o),Ta(i,o)].map(c=>{if(c!==null)return c instanceof Date?c.toISOString():c});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},p0=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},ut=e=>Array.isArray(e)?e:[void 0,null].includes(e)?[]:[e],i_=["sort","where","only","without"];function a_(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=i_.includes(i)?ut(t.initialParams[i]):t.initialParams[i];const r=(i,a=c=>c)=>(...c)=>(n[i]=a(...c),s),o=i=>{var a;return t.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(a=i.dirConfig)==null?void 0:a._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},s={params:()=>({...n,...n.where?{where:[...ut(n.where)]}:{},...n.sort?{sort:[...ut(n.sort)]}:{}}),only:r("only",ut),without:r("without",ut),where:r("where",i=>[...ut(n.where),...ut(i)]),sort:r("sort",i=>[...ut(n.sort),...ut(i)]),limit:r("limit",i=>parseInt(String(i),10)),skip:r("skip",i=>parseInt(String(i),10)),find:()=>e(s).then(o),findOne:()=>e(r("first")(!0)).then(o),count:()=>e(r("count")(!0)).then(o),locale:i=>s.where({_locale:i}),withSurround:r("surround",(i,a)=>({query:i,...a})),withDirConfig:()=>r("dirConfig")(!0)};return t.legacy&&(s.findSurround=(i,a)=>s.withSurround(i,a).find().then(o)),s}const c_=()=>async e=>{const{content:t}=Ye().public,n=e.params(),r=t.experimental.stripQueryParameters?zr(`/query/${`${Dr(n)}.${t.integrity}`}/${ql(n)}.json`):zr(`/query/${Dr(n)}.${t.integrity}.json`);if(Wl())return(await J(()=>import("./client-db.c8d6108a.js"),[],import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:zs(n),previewToken:Ks().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function Er(e,...t){const{content:n}=Ye().public,r=a_(c_(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=Ko(Tn(e,...t)));const s=r.params;return r.params=()=>{var a,c,l;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:qt(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((l=(c=i.where)==null?void 0:c.find(f=>f._locale))!=null&&l._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const l_=async e=>{const{content:t}=Ye().public;typeof(e==null?void 0:e.params)!="function"&&(e=Er(e));const n=e.params(),r=t.experimental.stripQueryParameters?zr(`/navigation/${`${Dr(n)}.${t.integrity}`}/${ql(n)}.json`):zr(`/navigation/${Dr(n)}.${t.integrity}.json`);if(Wl())return(await J(()=>import("./client-db.c8d6108a.js"),[],import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:zs(n),previewToken:Ks().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o},u_=it(e=>{var l,u,f,d;const t=(u=(l=Ye())==null?void 0:l.public)==null?void 0:u.content.documentDriven,n=(d=(f=Ye())==null?void 0:f.public)==null?void 0:d.content.experimental.clientDB,{navigation:r,pages:o,globals:s,surrounds:i}=tn(),a=(h,y,b,C)=>{var _;if(y&&(y!=null&&y.layout))return y.layout;if(h.matched.length&&((_=h.matched[0].meta)!=null&&_.layout))return h.matched[0].meta.layout;if(b&&y){const{navKeyFromPath:g}=o_(),E=g(y._path,"layout",b);if(E)return E}if(t.layoutFallbacks&&C){let g;for(const E of t.layoutFallbacks)if(C[E]&&C[E].layout){g=C[E].layout;break}if(g)return g}return"default"},c=async(h,y=!1)=>{e.callHook("content:document-driven:start",{route:h,dedup:y});const b=h.meta.documentDriven||{};if(h.meta.documentDriven===!1)return;const C=qt(h.path),_=[];if(t.navigation&&b.navigation!==!1){const g=()=>{const{navigation:E}=tn();return E.value&&!y?E.value:l_().then(v=>(E.value=v,v)).catch(()=>null)};_.push(g)}else _.push(()=>Promise.resolve(null));if(t.globals){const g=()=>{const{globals:E}=tn();if(typeof t.globals=="object"&&Array.isArray(t.globals)){console.log("Globals must be a list of keys with QueryBuilderParams as a value.");return}return Promise.all(Object.entries(t.globals).map(([v,x])=>{if(!y&&E.value[v])return E.value[v];let k="findOne";return x!=null&&x.type&&(k=x.type),Er(x)[k]().catch(()=>null)})).then(v=>v.reduce((x,k,O)=>{const S=Object.keys(t.globals)[O];return x[S]=k,x},{}))};_.push(g)}else _.push(()=>Promise.resolve(null));if(t.page&&b.page!==!1){let g={_path:C};typeof b.page=="string"&&(g={_path:b.page}),typeof b.page=="object"&&(g=b.page);const E=()=>{const{pages:v}=tn();return!y&&v.value[C]&&v.value[C]._path===C?v.value[C]:Er().where(g).findOne().catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));if(t.surround&&b.surround!==!1){let g=C;["string","object"].includes(typeof b.page)&&(g=b.page),["string","object"].includes(typeof b.surround)&&(g=b.surround);const E=()=>{const{surrounds:v}=tn();return!y&&v.value[C]?v.value[C]:Er().where({_partial:{$not:!0},navigation:{$not:!1}}).without(["body"]).findSurround(g).catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));return await Promise.all(_.map(g=>g())).then(async([g,E,v,x])=>{var O,S;g&&(r.value=g),E&&(s.value=E),x&&(i.value[C]=x);const k=(v==null?void 0:v.redirect)||((S=(O=v==null?void 0:v._dir)==null?void 0:O.navigation)==null?void 0:S.redirect);if(k)return o.value[C]=v,k;if(v){const B=a(h,v,g,E),$=Mn[B];$&&typeof $=="function"&&await $(),h.meta.layout=B,v.layout=B}o.value[C]=v,await e.callHook("content:document-driven:finish",{route:h,dedup:y,page:v,navigation:g,globals:E,surround:x})})};{const h=ze();e.hook("link:prefetch",y=>{if(!(y in o.value)&&!Lt(y)){const b=h.resolve(y);b.matched.length>0&&c(b)}}),e.hooks.hook("content:document-driven:finish",({page:y})=>{var b;(b=y==null?void 0:y.body)!=null&&b.children&&Jl(y.body.children)})}rg(async(h,y)=>{if(!n&&h.path===y.path){if(!h.meta.layout){const C=qt(h.path);o.value[C]&&(h.meta.layout=o.value[C].layout)}return}const b=await c(h,!1);if(b)return Lt(b)?pl(e,Pl,[b,{external:!0}]):b}),e.hook("app:data:refresh",async()=>await c(Wt(),!0))});function Jl(e){for(const t of e)if(t.children&&Jl(t.children),t.type==="element"&&t.tag){const n=t_(t.tag);for(const r of["Prose"+n,n])Jy.includes(r)&&Tg(r)}}const f_=it(e=>{const t=Ye().public.studio||{},n=Wt(),r=br("previewToken",{sameSite:"none",secure:!0}),o=Pt("studio-client-db",()=>null);async function s(){const i=await J(()=>import("./useStudio.204af618.js"),["./useStudio.204af618.js","./asyncData.bfd7ca3d.js","./useStudio.f2a86ac9.css"],import.meta.url).then(l=>l.useStudio),{mountPreviewUI:a,initiateIframeCommunication:c}=i();a(),c()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}}),d_=it({name:"nuxt:chunk-reload",setup(e){const t=ze(),n=Ye(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:Tn(n.app.baseURL,s.fullPath);kg({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),h_=[Vg,Wg,ty,ny,zy,Ky,Qy,u_,f_,d_],p_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),os=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&p_(e.route,n));return typeof r=="function"?r(e.route):r},g_=(e,t)=>({default:()=>e?Ne(Nf,e===!0?{}:e,t):t}),m_=Ae({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return un(no,Tt(r)),()=>Ne(e.vnode,{ref:e.vnodeRef})}}),y_=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Ne(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),__=Ae({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=le(),o=xe(),s=Me(no,null);n({pageRef:o});const i=Me(ng,null);let a;const c=r.deferHydration();return()=>Ne(Ul,{name:e.name,route:e.route,...t},{default:l=>{const u=w_(s,l.route,l.Component),f=s&&s.matched.length===l.route.matched.length;if(!l.Component)return a&&!f?a:void 0;if(a&&i&&!i.isCurrent(l.route))return a;if(u&&s&&(!i||i!=null&&i.isCurrent(s)))return f?a:null;const d=os(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??es),y=h&&b_([e.transition,l.route.meta.pageTransition,es,{onAfterLeave:()=>{r.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=y_(Ns,h&&y,g_(e.keepalive??l.route.meta.keepalive??Bg,Ne(Cc,{suspensible:!0,onPending:()=>r.callHook("page:start",l.Component),onResolve:()=>{Jt(()=>r.callHook("page:finish",l.Component).finally(c))}},{default:()=>Ne(m_,{key:d,vnode:l.Component,route:l.route,renderKey:d,trackRootNodes:h,vnodeRef:o})}))).default(),a}})}});function v_(e){return Array.isArray(e)?e:e?[e]:[]}function b_(e){const t=e.map(n=>({...n,onAfterLeave:v_(n.onAfterLeave)}));return Kp(...t)}function w_(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,c;return((i=o.components)==null?void 0:i.default)!==((c=(a=e.matched[s])==null?void 0:a.components)==null?void 0:c.default)})||n&&os({route:t,Component:n})!==os({route:e,Component:n})}const E_=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),Yl=(e,t)=>(n,r)=>(Up(()=>e({...E_(n),...r.attrs},r)),()=>{var o,s;return t?(s=(o=r.slots).default)==null?void 0:s.call(o):null}),Xl={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:String,tabindex:String,title:String,translate:String},C_=Ae({name:"Meta",inheritAttrs:!1,props:{...Xl,charset:String,content:String,httpEquiv:String,name:String,body:Boolean,renderPriority:[String,Number]},setup:Yl(e=>{const t={...e};return t.httpEquiv&&(t["http-equiv"]=t.httpEquiv,delete t.httpEquiv),{meta:[t]}})}),P_=Ae({name:"Html",inheritAttrs:!1,props:{...Xl,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:Yl(e=>({htmlAttrs:e}),!0)}),x_=Ae({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=T_({duration:e.duration,throttle:e.throttle}),r=le(),o=ze();wr.unshift(n.start),o.onError(()=>{n.finish()}),o.beforeResolve((a,c)=>{(a===c||a.matched.every((l,u)=>{var f,d,h;return l.components&&((f=l.components)==null?void 0:f.default)===((h=(d=c.matched[u])==null?void 0:d.components)==null?void 0:h.default)}))&&n.finish()}),o.afterEach((a,c,l)=>{l&&n.finish()});const s=r.hook("page:finish",n.finish),i=r.hook("vue:error",n.finish);return xn(()=>{const a=wr.indexOf(n.start);a>=0&&wr.splice(a,1),s(),i(),n.clear()}),()=>Ne("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function T_(e){const t=xe(0),n=xe(!1),r=fe(()=>1e4/e.duration);let o=null,s=null;function i(){c(),t.value=0,e.throttle?s=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,u()}function c(){clearInterval(o),clearTimeout(s),o=null,s=null}function l(d){t.value=Math.min(100,t.value+d)}function u(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){o=setInterval(()=>{l(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const Gl=Object.freeze({left:0,top:0,width:16,height:16}),Zl=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),qs=Object.freeze({...Gl,...Zl});Object.freeze({...qs,body:"",hidden:!1});({...Gl});const eu=Object.freeze({width:null,height:null}),tu=Object.freeze({...eu,...Zl});function S_(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in eu?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const k_=/[\s,]+/;function R_(e,t){t.split(k_).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function A_(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const I_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,O_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Sa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(I_);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=O_.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const L_=e=>e==="unset"||e==="undefined"||e==="none";function M_(e,t){const n={...qs,...e},r={...tu,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(y=>{const b=[],C=y.hFlip,_=y.vFlip;let g=y.rotate;C?_?g+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let E;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:E=o.height/2+o.top,b.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,b.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}g%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),b.length&&(s=''+s+"")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=Sa(f,c/l)):(u=i==="auto"?c:i,f=a===null?Sa(u,l/c):a==="auto"?l:a);const d={},h=(y,b)=>{L_(b)||(d[y]=b.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:s}}const N_=/\sid="(\S+)"/g,$_="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let H_=0;function j_(e,t=$_){const n=[];let r;for(;r=N_.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(H_++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function B_(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function F_(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function D_(e){return"data:image/svg+xml,"+F_(e)}function U_(e){return'url("'+D_(e)+'")'}const ka={...tu,inline:!1},z_={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},K_={display:"inline-block"},ss={backgroundColor:"currentColor"},nu={backgroundColor:"transparent"},Ra={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:ss,mask:ss,background:nu};for(const e in Aa){const t=Aa[e];for(const n in Ra)t[e+n]=Ra[n]}const Cr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Cr[e+"-flip"]=t,Cr[e.slice(0,1)+"-flip"]=t,Cr[e+"Flip"]=t});function Ia(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const V_=(e,t)=>{const n=S_(ka,t),r={...z_},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let b in t){const C=t[b];if(C!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[b]=C===!0||C==="true"||C===1;break;case"flip":typeof C=="string"&&R_(n,C);break;case"color":s.color=C;break;case"rotate":typeof C=="string"?n[b]=A_(C):typeof C=="number"&&(n[b]=C);break;case"ariaHidden":case"aria-hidden":C!==!0&&C!=="true"&&delete r["aria-hidden"];break;default:{const _=Cr[b];_?(C===!0||C==="true"||C===1)&&(n[_]=!0):ka[b]===void 0&&(r[b]=C)}}}const c=M_(e,n),l=c.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,l);let b=0,C=t.id;return typeof C=="string"&&(C=C.replace(/-/g,"_")),r.innerHTML=j_(c.body,C?()=>C+"ID"+b++:"iconifyVue"),Ne("svg",r)}const{body:u,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),y=B_(u,{...l,width:f+"",height:d+""});return r.style={...s,"--svg":U_(y),width:Ia(l.width),height:Ia(l.height),...K_,...h?ss:nu,...a},Ne("span",r)},q_=Object.create(null),W_=Ae({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?q_[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:V_({...qs,...n},e)}}),Kn=/^[a-z0-9]+(-[a-z0-9]+)*$/,so=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Pr(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Pr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Pr(a,n)?null:a}return null},Pr=(e,t)=>e?!!((e.provider===""||e.provider.match(Kn))&&(t&&e.prefix===""||e.prefix.match(Kn))&&e.name.match(Kn)):!1,ru=Object.freeze({left:0,top:0,width:16,height:16}),Kr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ws=Object.freeze({...ru,...Kr}),is=Object.freeze({...Ws,body:"",hidden:!1});function Q_(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Oa(e,t){const n=Q_(e,t);for(const r in is)r in Kr?r in e&&!(r in n)&&(n[r]=Kr[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function J_(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Y_(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Oa(r[a]||o[a],s)}return i(t),n.forEach(i),Oa(e,s)}function ou(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=J_(e);for(const o in r){const s=r[o];s&&(t(o,Y_(e,o,s)),n.push(o))}return n}const X_={provider:"",aliases:{},not_found:{},...ru};function Po(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function su(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Po(e,X_))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(Kn)||typeof s.body!="string"||!Po(s,is))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(Kn)||typeof i!="string"||!n[i]&&!r[i]||!Po(s,is))return null}return t}const La=Object.create(null);function G_(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Qt(e,t){const n=La[e]||(La[e]=Object.create(null));return n[t]||(n[t]=G_(e,t))}function Qs(e,t){return su(t)?ou(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Z_(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Zn=!1;function iu(e){return typeof e=="boolean"&&(Zn=e),Zn}function ev(e){const t=typeof e=="string"?so(e,!0,Zn):e;if(t){const n=Qt(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function tv(e,t){const n=so(e,!0,Zn);if(!n)return!1;const r=Qt(n.provider,n.prefix);return Z_(r,n.name,t)}function nv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Zn&&!t&&!e.prefix){let o=!1;return su(e)&&(e.prefix="",ou(e,(s,i)=>{i&&tv(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Pr({provider:t,prefix:n,name:"a"}))return!1;const r=Qt(t,n);return!!Qs(r,e)}const rv=Object.freeze({width:null,height:null}),ov=Object.freeze({...rv,...Kr});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const as=Object.create(null);function sv(e,t){as[e]=t}function cs(e){return as[e]||as[""]}function Js(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Ys=Object.create(null),An=["https://api.simplesvg.com","https://api.unisvg.com"],xr=[];for(;An.length>0;)An.length===1||Math.random()>.5?xr.push(An.shift()):xr.push(An.pop());Ys[""]=Js({resources:["https://api.iconify.design"].concat(xr)});function iv(e,t){const n=Js(t);return n===null?!1:(Ys[e]=n,!0)}function Xs(e){return Ys[e]}const av=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ma=av();function cv(e,t){const n=Xs(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function lv(e){return e===404}const uv=(e,t,n)=>{const r=[],o=cv(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function fv(e){if(typeof e=="string"){const t=Xs(e);if(t)return t.path}return"/"}const dv=(e,t,n)=>{if(!Ma){n("abort",424);return}let r=fv(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Ma(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(lv(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},hv={prepare:uv,send:dv};function pv(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=Qt(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function au(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function gv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||au([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let mv=0;function yv(e,t,n){const r=mv++,o=au.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function _v(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?so(o,t,n):o;s&&r.push(s)}),r}var vv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bv(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let k=e.resources.slice(0);for(i=[];k.length>1;){const O=Math.floor(Math.random()*k.length);i.push(k[O]),k=k.slice(0,O).concat(k.slice(O+1))}i=i.concat(k)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function y(){f&&(clearTimeout(f),f=null)}function b(){c==="pending"&&(c="aborted"),y(),d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function C(k,O){O&&(h=[]),typeof k=="function"&&h.push(k)}function _(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:C,abort:b}}function g(){c="failed",h.forEach(k=>{k(void 0,u)})}function E(){d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function v(k,O,S){const B=O!=="success";switch(d=d.filter($=>$!==k),c){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){u=S,g();return}if(B){u=S,d.length||(i.length?x():g());return}if(y(),E(),!e.random){const $=e.resources.indexOf(k.resource);$!==-1&&$!==e.index&&(e.index=$)}c="completed",h.forEach($=>{$(S)})}function x(){if(c!=="pending")return;y();const k=i.shift();if(k===void 0){if(d.length){f=setTimeout(()=>{y(),c==="pending"&&(E(),g())},e.timeout);return}g();return}const O={status:"pending",resource:k,callback:(S,B)=>{v(O,S,B)}};d.push(O),l++,f=setTimeout(x,e.rotate),n(k,t,O.callback)}return setTimeout(x),_}function cu(e){const t={...vv,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=bv(t,a,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Na(){}const xo=Object.create(null);function wv(e){if(!xo[e]){const t=Xs(e);if(!t)return;const n=cu(t),r={config:t,redundancy:n};xo[e]=r}return xo[e]}function Ev(e,t,n){let r,o;if(typeof e=="string"){const s=cs(e);if(!s)return n(void 0,424),Na;o=s.send;const i=wv(e);i&&(r=i.redundancy)}else{const s=Js(e);if(s){r=cu(s);const i=e.resources?e.resources[0]:"",a=cs(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Na):r.query(t,o,n)().abort}const $a="iconify2",er="iconify",lu=er+"-count",Ha=er+"-version",uu=36e5,Cv=168;function ls(e,t){try{return e.getItem(t)}catch{}}function Gs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ja(e,t){try{e.removeItem(t)}catch{}}function us(e,t){return Gs(e,lu,t.toString())}function fs(e){return parseInt(ls(e,lu))||0}const io={local:!0,session:!0},fu={local:new Set,session:new Set};let Zs=!1;function Pv(e){Zs=e}let yr=typeof window>"u"?{}:window;function du(e){const t=e+"Storage";try{if(yr&&yr[t]&&typeof yr[t].length=="number")return yr[t]}catch{}io[e]=!1}function hu(e,t){const n=du(e);if(!n)return;const r=ls(n,Ha);if(r!==$a){if(r){const a=fs(n);for(let c=0;c{const c=er+a.toString(),l=ls(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}ja(n,c)}};let i=fs(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,us(n,i)):fu[e].add(a))}function pu(){if(!Zs){Pv(!0);for(const e in io)hu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Qt(r,o);if(!Qs(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function xv(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in io)hu(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Tv(e,t){Zs||pu();function n(r){let o;if(!io[r]||!(o=du(r)))return;const s=fu[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=fs(o),!us(o,i+1))return;const a={cached:Math.floor(Date.now()/uu),provider:e.provider,data:t};return Gs(o,er+i.toString(),JSON.stringify(a))}t.lastModified&&!xv(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ba(){}function Sv(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,gv(e)}))}function kv(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=cs(n)))return;s.prepare(n,r,o).forEach(a=>{Ev(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=Qs(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),Tv(e,c)}catch(l){console.error(l)}Sv(e)})})}))}const Rv=(e,t)=>{const n=_v(e,!0,iu()),r=pv(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Ba)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(Qt(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=Qt(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[l][u].push(f))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&kv(c,o[l][u])}),t?yv(t,r,s):Ba},Av=e=>new Promise((t,n)=>{const r=typeof e=="string"?so(e,!0):e;if(!r){n(e);return}Rv([r||e],o=>{if(o.length&&r){const s=ev(r);if(s){t({...Ws,...s});return}}n(e)})});({...ov});const Fa={backgroundColor:"currentColor"},Iv={backgroundColor:"transparent"},Da={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ua={webkitMask:Fa,mask:Fa,background:Iv};for(const e in Ua){const t=Ua[e];for(const n in Da)t[e+n]=Da[n]}const To={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";To[e+"-flip"]=t,To[e.slice(0,1)+"-flip"]=t,To[e+"Flip"]=t});iu(!0);sv("",hv);if(typeof document<"u"&&typeof window<"u"){pu();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!nv(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;iv(n,o)||console.error(r)}catch{console.error(r)}}}}({...Ws});const Ov=Ae({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=e,o=le(),s=Bs(),i=Pt("icons",()=>({})),a=xe(!1),c=fe(()=>{var y;return((((y=s.nuxtIcon)==null?void 0:y.aliases)||{})[r.name]||r.name).replace(/^i-/,"")}),l=fe(()=>{var y;return(y=i.value)==null?void 0:y[c.value]}),u=fe(()=>o.vueApp.component(c.value)),f=fe(()=>{var b,C,_;if(!r.size&&typeof((b=s.nuxtIcon)==null?void 0:b.size)=="boolean"&&!((C=s.nuxtIcon)!=null&&C.size))return;const y=r.size||((_=s.nuxtIcon)==null?void 0:_.size)||"1em";return String(Number(y))===y?`${y}px`:y}),d=fe(()=>{var y;return((y=s==null?void 0:s.nuxtIcon)==null?void 0:y.class)??"icon"});async function h(){var y;u.value||(y=i.value)!=null&&y[c.value]||(a.value=!0,i.value[c.value]=await Av(c.value).catch(()=>{}),a.value=!1)}return rt(()=>c.value,h),!u.value&&([t,n]=qf(()=>h()),t=await t,n()),(y,b)=>a.value?(ge(),Qe("span",{key:0,class:Ct(d.value),style:fn({width:f.value,height:f.value})},null,6)):l.value?(ge(),je(se(W_),{key:1,icon:l.value,class:Ct(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):u.value?(ge(),je(Nc(u.value),{key:2,class:Ct(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(ge(),Qe("span",{key:3,class:Ct(d.value),style:fn({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Rs(y.$slots,"default",{},()=>[to(Ya(e.name),1)],!0)],6))}});const ei=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ti=ei(Ov,[["__scopeId","data-v-b79d0df8"]]),Lv=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"})),Mv=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=xe(!1);return Pn(()=>{r.value=!0}),o=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return Qe(a,n,i)}}}),Nv={name:qy,props:{placeholder:String,tag:{type:String,default:"span"}}};function $v(e,t,n,r,o,s){const i=Mv;return ge(),je(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Cn(()=>[Rs(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Hv=ei(Nv,[["render",$v]]),jv=()=>Pt("color-mode").value,Bv=gn("span",{class:"sr-only"},"Dark Mode",-1),Fv=gn("span",{class:"sr-only"},"Light Mode",-1),Dv=Ae({__name:"ColorModeSwitch",setup(e){const t=jv(),n=()=>t.value==="light"?t.preference="dark":t.preference="light";return(r,o)=>{const s=ti,i=Hv;return ge(),Qe("button",{"aria-label":"Color Mode",class:"inline-block w-5",onClick:n},[re(i,{placeholder:"..."},{default:Cn(()=>[se(t).value==="dark"?(ge(),Qe(Ee,{key:0},[re(s,{name:"dark-mode",class:"w-5 h-5"}),Bv],64)):(ge(),Qe(Ee,{key:1},[re(s,{name:"light-mode",class:"w-5 h-5"}),Fv],64))]),_:1})])}}}),Uv={class:"flex justify-between max-w-2xl px-4 py-4 mx-auto sm:px-8"},zv={class:"text-gray-700 dark:text-gray-200"},Kv={class:"space-x-3 transition text-gray-500"},Vv=["href"],qv=["href"],Wv=Ae({__name:"AppNavbar",setup(e){const{navigation:t}=n_(),n=Bs();return(r,o)=>{var c,l,u,f;const s=Og,i=ti,a=Dv;return ge(),Qe("div",Uv,[gn("div",zv,[(ge(!0),Qe(Ee,null,zf(se(t),d=>(ge(),je(s,{key:d._path,to:d._path,"active-class":"font-bold",class:"mr-6"},{default:Cn(()=>[to(Ya(d.title),1)]),_:2},1032,["to"]))),128))]),gn("div",Kv,[(c=se(n).socials)!=null&&c.twitter?(ge(),Qe("a",{key:0,href:`https://twitter.com/${(l=se(n).socials)==null?void 0:l.twitter}`,title:"Twitter",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[re(i,{name:"fa-brands:twitter",class:"w-5 h-5"})],8,Vv)):Si("",!0),(u=se(n).socials)!=null&&u.github?(ge(),Qe("a",{key:1,href:`https://github.com/${(f=se(n).socials)==null?void 0:f.github}`,title:"GitHub",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[re(i,{name:"fa-brands:github",class:"w-5 h-5"})],8,qv)):Si("",!0),re(a,{class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"})])])}}}),Qv={class:"sm:pt-6 sm:pb-10"},Jv=Ae({__name:"AppLayout",setup(e){const{cover:t}=Bs();return(n,r)=>{const o=P_,s=C_,i=x_,a=Wv;return ge(),Qe("div",Qv,[re(o,{lang:"en"}),re(s,{property:"og:image",content:se(t)},null,8,["content"]),re(s,{name:"twitter:card",content:"summary_large_image"}),re(i),re(a),Rs(n.$slots,"default")])}}});const Yv={};function Xv(e,t){const n=__,r=Jv;return ge(),je(r,null,{default:Cn(()=>[re(n)]),_:1})}const Gv=ei(Yv,[["render",Xv]]),Zv={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` -`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=o?G(()=>J(()=>import("./error-404.e9aeb3eb.js"),["./error-404.e9aeb3eb.js","./error-404.1b80d82b.css"],import.meta.url).then(f=>f.default||f)):G(()=>J(()=>import("./error-500.b4a835ec.js"),["./error-500.b4a835ec.js","./error-500.331c2e95.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(ge(),je(se(u),Su(Yc({statusCode:se(r),statusMessage:se(s),description:se(i),stack:se(a)})),null,16))}},e0=Zv,t0={__name:"nuxt-root",setup(e){const t=()=>null,n=le(),r=n.deferHydration(),o=!1;un(no,Wt()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const s=ro();Lc((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),ig(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>rn(a)),!1});const i=!1;return(a,c)=>(ge(),je(Cc,{onResolve:se(r)},{default:Cn(()=>[se(s)?(ge(),je(se(e0),{key:0,error:se(s)},null,8,["error"])):se(i)?(ge(),je(se(t),{key:1,context:se(i)},null,8,["context"])):se(o)?(ge(),je(Nc(se(o)),{key:2})):(ge(),je(se(Gv),{key:3}))]),_:1},8,["onResolve"]))}},za=t0;globalThis.$fetch||(globalThis.$fetch=Nh.create({baseURL:Hh()}));let Ka;{let e;Ka=async function(){var s,i;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?qd(za):Vd(za),o=Xh({vueApp:r});try{await Gh(o,h_)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Fg),await o.hooks.callHook("app:mounted",r),await Jt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return r},e=Ka().catch(t=>{console.error("Error while mounting app:",t)})}export{Nr as $,tn as A,te as B,Up as C,to as D,Og as E,Ee as F,Me as G,c0 as H,fe as I,Mn as J,a0 as K,y_ as L,Ne as M,se as N,fd as O,no as P,Jt as Q,un as R,Cc as S,Ns as T,ng as U,n_ as V,je as W,ti as X,Rs as Y,s0 as Z,J as _,Zr as a,rt as a0,n0 as a1,Dr as a2,l_ as a3,xl as a4,gc as a5,Hf as a6,js as a7,Mt as a8,Uf as a9,t_ as aa,dn as ab,Yn as ac,Ks as ad,fn as ae,Ko as af,Tn as ag,i0 as ah,Ta as ai,p0 as aj,ut as ak,l0 as al,h0 as am,u0 as an,f0 as ao,d0 as ap,a_ as aq,il as ar,ge as b,Qe as c,Ae as d,gn as e,Si as f,re as g,br as h,o0 as i,le as j,ei as k,Xe as l,Pt as m,Ct as n,Pn as o,r0 as p,Er as q,xe as r,Wt as s,Xa as t,ze as u,pl as v,Cn as w,Bs as x,Kp as y,Vd as z}; +`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=o?G(()=>J(()=>import("./error-404.6f964967.js"),["./error-404.6f964967.js","./error-404.1b80d82b.css"],import.meta.url).then(f=>f.default||f)):G(()=>J(()=>import("./error-500.64d80b57.js"),["./error-500.64d80b57.js","./error-500.331c2e95.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(ge(),je(se(u),Su(Xc({statusCode:se(r),statusMessage:se(s),description:se(i),stack:se(a)})),null,16))}},e0=Zv,t0={__name:"nuxt-root",setup(e){const t=()=>null,n=le(),r=n.deferHydration(),o=!1;un(no,Wt()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const s=ro();Lc((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),ig(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>rn(a)),!1});const i=!1;return(a,c)=>(ge(),je(Cc,{onResolve:se(r)},{default:Cn(()=>[se(s)?(ge(),je(se(e0),{key:0,error:se(s)},null,8,["error"])):se(i)?(ge(),je(se(t),{key:1,context:se(i)},null,8,["context"])):se(o)?(ge(),je(Nc(se(o)),{key:2})):(ge(),je(se(Gv),{key:3}))]),_:1},8,["onResolve"]))}},za=t0;globalThis.$fetch||(globalThis.$fetch=Nh.create({baseURL:Hh()}));let Ka;{let e;Ka=async function(){var s,i;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?qd(za):Vd(za),o=Yh({vueApp:r});try{await Gh(o,h_)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Fg),await o.hooks.callHook("app:mounted",r),await Jt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return r},e=Ka().catch(t=>{console.error("Error while mounting app:",t)})}export{Nr as $,tn as A,Jt as B,te as C,Up as D,to as E,Ee as F,Og as G,Me as H,c0 as I,fe as J,Mn as K,a0 as L,y_ as M,Ne as N,se as O,no as P,fd as Q,un as R,Cc as S,Ns as T,ng as U,n_ as V,je as W,ti as X,Rs as Y,s0 as Z,J as _,Zr as a,rt as a0,n0 as a1,Dr as a2,l_ as a3,xl as a4,gc as a5,Hf as a6,js as a7,Mt as a8,Uf as a9,t_ as aa,dn as ab,Xn as ac,Ks as ad,fn as ae,Ko as af,Tn as ag,i0 as ah,Ta as ai,p0 as aj,ut as ak,l0 as al,h0 as am,u0 as an,f0 as ao,d0 as ap,a_ as aq,il as ar,ge as b,Qe as c,Ae as d,gn as e,Si as f,re as g,br as h,o0 as i,le as j,ei as k,Ye as l,Pt as m,Ct as n,Pn as o,r0 as p,Er as q,xe as r,Wt as s,Ya as t,ze as u,pl as v,Cn as w,Bs as x,Kp as y,Vd as z}; diff --git a/_nuxt/error-404.e9aeb3eb.js b/_nuxt/error-404.6f964967.js similarity index 89% rename from _nuxt/error-404.e9aeb3eb.js rename to _nuxt/error-404.6f964967.js index 669edd5..286d551 100644 --- a/_nuxt/error-404.e9aeb3eb.js +++ b/_nuxt/error-404.6f964967.js @@ -1 +1 @@ -import{k as a,C as n,b as r,c as l,e,t as s,g as d,w as c,D as p,E as x,p as f,i as h}from"./entry.cdff8778.js";const m=t=>(f("data-v-05a2b8a3"),t=t(),h(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=m(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),b={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,v)=>{const i=x;return r(),l("div",u,[g,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[d(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},C=a(S,[["__scopeId","data-v-05a2b8a3"]]);export{C as default}; +import{k as a,D as n,b as r,c as l,e,t as s,g as d,w as c,E as p,G as x,p as f,i as h}from"./entry.3092cf76.js";const m=t=>(f("data-v-05a2b8a3"),t=t(),h(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=m(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),b={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,v)=>{const i=x;return r(),l("div",u,[g,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[d(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-05a2b8a3"]]);export{z as default}; diff --git a/_nuxt/error-500.b4a835ec.js b/_nuxt/error-500.64d80b57.js similarity index 93% rename from _nuxt/error-500.b4a835ec.js rename to _nuxt/error-500.64d80b57.js index 341b09f..05acac0 100644 --- a/_nuxt/error-500.b4a835ec.js +++ b/_nuxt/error-500.64d80b57.js @@ -1 +1 @@ -import{k as i,C as a,b as r,c as n,e,t as s,p as l,i as d}from"./entry.cdff8778.js";const c=t=>(l("data-v-c967d9a9"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-c967d9a9"]]);export{w as default}; +import{k as i,D as a,b as r,c as n,e,t as s,p as l,i as d}from"./entry.3092cf76.js";const c=t=>(l("data-v-c967d9a9"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-c967d9a9"]]);export{w as default}; diff --git a/_nuxt/full-width.1350b1ec.js b/_nuxt/full-width.a1b01d96.js similarity index 90% rename from _nuxt/full-width.1350b1ec.js rename to _nuxt/full-width.a1b01d96.js index 37dc418..bd37df6 100644 --- a/_nuxt/full-width.1350b1ec.js +++ b/_nuxt/full-width.a1b01d96.js @@ -1 +1 @@ -import{k as o,c as a,e as r,Y as s,b as t}from"./entry.cdff8778.js";const n={},d={class:"py-10 m-auto bg-white sm:px-8 ring-1 ring-gray-200 dark:ring-gray-700 dark:bg-gray-800 sm:rounded"},p={class:"max-w-2xl px-4 mx-auto prose dark:prose-invert prose-pre:bg-gray-100 dark:prose-pre:bg-gray-900 hover:prose-a:text-primary-400 prose-a:font-normal prose-a:no-underline prose-a:border-dashed prose-a:border-b hover:prose-a:border-solid hover:prose-a:border-primary-400"},c=r("h1",{class:"text-2xl"}," Page not found ",-1);function i(e,l){return t(),a("div",d,[r("main",p,[s(e.$slots,"default",{},()=>[c])])])}const m=o(n,[["render",i]]);export{m as default}; +import{k as o,c as a,e as r,Y as s,b as t}from"./entry.3092cf76.js";const n={},d={class:"py-10 m-auto bg-white sm:px-8 ring-1 ring-gray-200 dark:ring-gray-700 dark:bg-gray-800 sm:rounded"},p={class:"max-w-2xl px-4 mx-auto prose dark:prose-invert prose-pre:bg-gray-100 dark:prose-pre:bg-gray-900 hover:prose-a:text-primary-400 prose-a:font-normal prose-a:no-underline prose-a:border-dashed prose-a:border-b hover:prose-a:border-solid hover:prose-a:border-primary-400"},c=r("h1",{class:"text-2xl"}," Page not found ",-1);function i(e,l){return t(),a("div",d,[r("main",p,[s(e.$slots,"default",{},()=>[c])])])}const m=o(n,[["render",i]]);export{m as default}; diff --git a/_nuxt/head.da030dfb.js b/_nuxt/head.23c934d3.js similarity index 76% rename from _nuxt/head.da030dfb.js rename to _nuxt/head.23c934d3.js index 08b7532..b3fd275 100644 --- a/_nuxt/head.da030dfb.js +++ b/_nuxt/head.23c934d3.js @@ -1 +1 @@ -import{N as o,a0 as f,s as l,Q as p,C as g,l as h}from"./entry.cdff8778.js";const C=(n,c=l())=>{const r=o(n),m=h();f(()=>o(n),(i=r)=>{if(!c.path||!i)return;const e=Object.assign({},(i==null?void 0:i.head)||{});e.meta=[...e.meta||[]],e.link=[...e.link||[]];const s=e.title||(i==null?void 0:i.title);s&&(e.title=s),m.public.content.host;const t=(e==null?void 0:e.description)||(i==null?void 0:i.description);t&&e.meta.filter(u=>u.name==="description").length===0&&e.meta.push({name:"description",content:t}),e!=null&&e.image||(i==null||i.image),p(()=>g(e))},{immediate:!0})};export{C as u}; +import{O as o,a0 as f,s as l,B as p,D as g,l as h}from"./entry.3092cf76.js";const b=(n,c=l())=>{const r=o(n),m=h();f(()=>o(n),(i=r)=>{if(!c.path||!i)return;const e=Object.assign({},(i==null?void 0:i.head)||{});e.meta=[...e.meta||[]],e.link=[...e.link||[]];const s=e.title||(i==null?void 0:i.title);s&&(e.title=s),m.public.content.host;const t=(e==null?void 0:e.description)||(i==null?void 0:i.description);t&&e.meta.filter(u=>u.name==="description").length===0&&e.meta.push({name:"description",content:t}),e!=null&&e.image||(i==null||i.image),p(()=>g(e))},{immediate:!0})};export{b as u}; diff --git a/_nuxt/slot.da86f545.js b/_nuxt/slot.22183dda.js similarity index 67% rename from _nuxt/slot.da86f545.js rename to _nuxt/slot.22183dda.js index e96f155..4601a04 100644 --- a/_nuxt/slot.da86f545.js +++ b/_nuxt/slot.22183dda.js @@ -1 +1 @@ -import{f as u}from"./node.e4a9c3bc.js";import{Y as n}from"./entry.cdff8778.js";const e=(t,r,f,...i)=>t[r]?n({...t,[r]:()=>u(t[r](),f==null?void 0:f.unwrap)},r,f,...i):n(t,r,f,...i);export{e as r}; +import{f as u}from"./node.e4a9c3bc.js";import{Y as n}from"./entry.3092cf76.js";const e=(t,r,f,...i)=>t[r]?n({...t,[r]:()=>u(t[r](),f==null?void 0:f.unwrap)},r,f,...i):n(t,r,f,...i);export{e as r}; diff --git a/_nuxt/useStudio.204af618.js b/_nuxt/useStudio.204af618.js new file mode 100644 index 0000000..42f8f24 --- /dev/null +++ b/_nuxt/useStudio.204af618.js @@ -0,0 +1 @@ +import{d as Y,u as V,r as $,o as j,_ as ee,a as te,b as q,c as L,n as ne,F as oe,e as w,f as K,g as O,w as J,T as B,t as ie,h as D,p as se,i as ae,j as W,k as re,l as de,m as z,q as ce,s as U,v as E,x as Z,y as H,z as le,A as pe,B as ue,C as F}from"./entry.3092cf76.js";import{r as ve}from"./asyncData.bfd7ca3d.js";const b=i=>(se("data-v-d2c7d0ba"),i=i(),ae(),i),fe=b(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),we=b(()=>w("span",null,"Preview mode enabled",-1)),_e={key:0},he=b(()=>w("div",{id:"__preview_background"},null,-1)),me=b(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),ye=b(()=>w("p",null,"Initializing the preview...",-1)),ge={key:0},ke=b(()=>w("div",{id:"__preview_background"},null,-1)),Ce={id:"__preview_loader"},Ie=Y({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const s=i,c=["__nuxt_preview","__preview_enabled"],v=W(),m=V(),r=$(!0),g=$(!1),o=$(!1),l=$("");let a;const h=async()=>{D("previewToken").value="",window.sessionStorage.removeItem("previewToken"),await m.replace({query:{preview:void 0}}),window.location.reload()},A=async T=>{const _=await s.syncPreview(T);if(o.value!==!0){if(!_){setTimeout(()=>A(T),1e3);return}D("previewToken").value&&(o.value=!0,await m.replace({query:{}}),v.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&a.disconnect())}};return j(async()=>{a=(await ee(()=>import("./index.17e44084.js"),[],import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let _;a.on("connect",()=>{_=setTimeout(()=>{o.value||(_=setTimeout(()=>{l.value="Preview sync timed out",o.value=!1},3e4),a.emit("draft:requestSync"))},3e4)});const I=()=>{_&&(clearTimeout(_),_=null)};a.on("draft:sync",async P=>{if(I(),!P){try{a.once("draft:ready",()=>{a.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(R){switch(I(),R.response.status){case 404:l.value="Preview draft not found",o.value=!1;break;default:l.value="An error occurred while syncing preview",o.value=!1}}return}A(P)}),a.on("draft:unauthorized",()=>{I(),l.value="Unauthorized preview token",o.value=!1}),a.on("disconnect",()=>{I()}),document.body.classList.add(...c),a.on("draft:update",P=>{g.value=!0,s.syncPreview(P),g.value=!1})}),te(()=>{document.body.classList.remove(...c)}),(T,_)=>(q(),L("div",null,[r.value?(q(),L("div",{key:0,id:"__nuxt_preview",class:ne({__preview_ready:o.value,__preview_refreshing:g.value})},[o.value?(q(),L(oe,{key:0},[fe,we,w("button",{onClick:h}," Close ")],64)):K("",!0)],2)):K("",!0),O(B,{name:"preview-loading"},{default:J(()=>[r.value&&!o.value&&!l.value?(q(),L("div",_e,[he,w("div",{id:"__preview_loader"},[me,ye,w("button",{onClick:h}," Cancel ")])])):K("",!0)]),_:1}),O(B,{name:"preview-loading"},{default:J(()=>[l.value?(q(),L("div",ge,[ke,w("div",Ce,[w("p",null,ie(l.value),1),w("button",{onClick:h}," Exit preview ")])])):K("",!0)]),_:1})]))}});const Pe=re(Ie,[["__scopeId","data-v-d2c7d0ba"]]),Se=(i=[],s,c)=>{const v=[...s||[]],m=[...c||[]],r=JSON.parse(JSON.stringify(i));for(const o of v)if(o.oldPath)if(m.splice(m.findIndex(a=>a.path===o.oldPath),1),v.find(a=>a.path===o.oldPath))r.push({path:o.path,parsed:o.parsed});else{const a=r.find(h=>h.path===o.oldPath);a&&(a.path=o.path,o.parsed?a.parsed=o.parsed:o.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{a.parsed[h]=o.pathMeta[h]}))}else if(o.new)r.push({path:o.path,parsed:o.parsed});else{const l=r.find(a=>a.path===o.path);l&&Object.assign(l,{path:o.path,parsed:o.parsed})}for(const o of m)r.splice(r.findIndex(l=>l.path===o.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return r.sort((o,l)=>g.compare(o.path,l.path)),r},C={appConfig:"app.config.ts",tokensConfig:"tokens.config.ts"},Te=i=>{let s;return(...c)=>(s||(s=i()),s)};function G(i,s){for(const c in i){const v=s[c];c in s||delete i[c],v!==null&&typeof v=="object"&&G(i[c],s[c])}}function Q(i,s){for(const c in s){const v=s[c];v!==null&&typeof v=="object"?(i[c]=i[c]||{},Q(i[c],v)):i[c]=v}}const xe=Te(()=>JSON.parse(JSON.stringify(Z()))),Le=()=>{const i=W(),{studio:s,content:c}=de().public,v=xe();let m;const r=z("studio-client-db",()=>null),g=z("studio-preview-db-files",()=>[]);r.value||(i.hook("content:storage",e=>{r.value=e}),ce("/non-existing-path").findOne());const o=async(e,n,d=!0)=>{const u=window.sessionStorage.getItem("previewToken"),f=await e.getKeys(`${u}:`);await Promise.all(f.map(p=>e.removeItem(p)));const t=new Set(n.map(p=>p.parsed._id.split(":").shift()));await e.setItem(`${u}$`,JSON.stringify({ignoreSources:Array.from(t)})),await Promise.all(n.map(p=>e.setItem(`${u}:${p.parsed._id}`,JSON.stringify(p.parsed))))},l=e=>{const n=E(i,Z);Q(n,H(e,v)),e||G(n,v)},a=e=>{var d,u,f,t;const n=(t=(f=(u=(d=i==null?void 0:i.vueApp)==null?void 0:d._context)==null?void 0:u.config)==null?void 0:f.globalProperties)==null?void 0:t.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(m||(m=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),E(i,n.updateTheme,[H(e,m)]))},h=async e=>{if(g.value=e.files=e.files||g.value||[],!r.value)return!1;const n=Se(e.files,e.additions,e.deletions),d=n.filter(t=>![C.appConfig,C.tokensConfig].includes(t.path));await o(r.value,d,(e.files||[]).length!==0);const u=n.find(t=>t.path===C.appConfig);l(u==null?void 0:u.parsed);const f=n.find(t=>t.path===C.tokensConfig);return a(f==null?void 0:f.parsed),R(),!0},A=async()=>{const e=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:e}})},T=()=>{const e=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),le(Pe,{previewToken:e,apiURL:s==null?void 0:s.apiURL,syncPreview:h,requestPreviewSyncAPI:A}).mount(n)},_=async e=>{var u,f,t;const n=window.sessionStorage.getItem("previewToken");if(!e)return null;e=e.replace(/\/$/,"");let d=await((u=r.value)==null?void 0:u.getItem(`${n}:${e}`));return d||(d=await((f=r.value)==null?void 0:f.getItem(`cached:${e}`))),d||(d=d=await((t=r.value)==null?void 0:t.getItem(e))),d},I=e=>{var d;const n=window.sessionStorage.getItem("previewToken");r.value&&r.value.setItem(`${n}:${(d=e.parsed)==null?void 0:d._id}`,JSON.stringify(e.parsed))},P=async e=>{var d;const n=window.sessionStorage.getItem("previewToken");await((d=r.value)==null?void 0:d.removeItem(`${n}:${e}`))},R=async()=>{if(c!=null&&c.documentDriven){const{pages:e}=E(i,pe);for(const n in e.value)e.value[n]&&(e.value[n]=await _(e.value[n]._id))}ue(()=>{E(i,ve)})};return{apiURL:s==null?void 0:s.apiURL,contentStorage:r,syncPreviewFiles:o,syncPreviewAppConfig:l,syncPreviewTokensConfig:a,requestPreviewSynchronization:A,findContentWithId:_,updateContent:I,removeContentWithId:P,requestRerender:R,mountPreviewUI:T,initiateIframeCommunication:X};function X(){if(!window.parent||window.self===window.parent)return;const e=V(),n=U(),d=$(""),u=t=>({path:t.path,query:F(t.query),params:F(t.params),fullPath:t.fullPath,meta:F(t.meta)});window.addEventListener("keydown",t=>{(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:t.key,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}},"*")}),window.addEventListener("message",async t=>{if(!["https://nuxt.studio","https://dev.nuxt.studio"].includes(t.origin))return;const{type:p,payload:x={}}=t.data||{};switch(p){case"nuxt-studio:editor:file-selected":{const y=await _(x.path);y&&(y._partial||y._path!==U().path&&(d.value=y._path,e.push(y._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:y=[],deletions:N=[]}=x;for(const k of y)await I(k);for(const k of N)await P(k.path);R();break}case"nuxt-studio:preview:sync":{h(x);break}case"nuxt-studio:config:file-changed":{const{additions:y=[],deletions:N=[]}=x,k=y.find(S=>S.path===C.appConfig);k&&l(k==null?void 0:k.parsed),N.find(S=>S.path===C.appConfig)&&l(void 0);const M=y.find(S=>S.path===C.tokensConfig);M&&a(M==null?void 0:M.parsed),N.find(S=>S.path===C.tokensConfig)&&a(void 0);break}}}),i.hook("page:finish",()=>{f()}),i.hook("content:document-driven:finish",({route:t,page:p})=>{t.meta.studio_page_contentId=p==null?void 0:p._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:u(U())},"*"),setTimeout(()=>{f()},100)});function f(){const t=Array.from(window.document.querySelectorAll("[data-content-id]")).map(x=>x.getAttribute("data-content-id")),p=Array.from(new Set([n.meta.studio_page_contentId,...t])).filter(Boolean);if(d.value===p[0]){d.value="";return}window.openContentInStudioEditor(p,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(t,p={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...u(n),contentIds:t,...p}},"*")}}};export{Le as useStudio}; diff --git a/_nuxt/useStudio.df2118d1.css b/_nuxt/useStudio.df2118d1.css deleted file mode 100644 index 4528fab..0000000 --- a/_nuxt/useStudio.df2118d1.css +++ /dev/null @@ -1 +0,0 @@ -body.__preview_enabled{padding-bottom:50px}#__nuxt_preview[data-v-e1940b16]{align-items:center;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:hsla(0,0%,100%,.3);border-top:1px solid #eee;bottom:-60px;color:#000;display:flex;font-family:Helvetica,sans-serif;font-size:16px;font-weight:500;gap:10px;height:50px;justify-content:center;left:0;position:fixed;right:0;transition:bottom .3s ease-in-out;z-index:10000}#__nuxt_preview.__preview_ready[data-v-e1940b16]{bottom:0}#__preview_background[data-v-e1940b16]{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsla(0,0%,100%,.3);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:9000}#__preview_loader[data-v-e1940b16]{align-items:center;color:#000;display:flex;flex-direction:column;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:1.4rem;gap:8px;left:50%;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:9500}#__preview_loader p[data-v-e1940b16]{margin:10px 0}.dark #__preview_background[data-v-e1940b16],.dark-mode #__preview_background[data-v-e1940b16]{background:rgba(0,0,0,.3)}.dark #__preview_loader[data-v-e1940b16],.dark-mode #__preview_loader[data-v-e1940b16]{color:#fff}.preview-loading-enter-active[data-v-e1940b16],.preview-loading-leave-active[data-v-e1940b16]{transition:opacity .4s}.preview-loading-enter[data-v-e1940b16],.preview-loading-leave-to[data-v-e1940b16]{opacity:0}#__preview_loading_icon[data-v-e1940b16]{animation:spin-e1940b16 1s linear infinite}.dark #__nuxt_preview[data-v-e1940b16],.dark-mode #__nuxt_preview[data-v-e1940b16]{background:rgba(0,0,0,.3);border-top:1px solid #111;color:#fff}#__nuxt_preview svg[data-v-e1940b16]{color:#000;display:inline-block;height:30px;width:30px}.dark #__nuxt_preview svg[data-v-e1940b16],.dark-mode #__nuxt_preview svg[data-v-e1940b16]{color:#fff}button[data-v-e1940b16]{background:transparent;border:1px solid rgba(0,0,0,.2);border-radius:3px;box-shadow:none;color:#000c;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;line-height:1rem;margin:0;padding:4px 10px;text-align:center;transition:none;width:auto}button[data-v-e1940b16]:hover{border-color:#0006;color:#000000e6}.dark button[data-v-e1940b16],.dark-mode button[data-v-e1940b16]{border-color:#fff3;color:#d3d3d3}.dark button[data-v-e1940b16]:hover,.dark-mode button[data-v-e1940b16]:hover{border-color:#fff6;color:#fff}#__nuxt_preview button[data-v-e1940b16]:focus,#__nuxt_preview button[data-v-e1940b16]:hover{background:rgba(0,0,0,.1)}#__nuxt_preview button[data-v-e1940b16]:active{background:rgba(0,0,0,.2)}.dark #__nuxt_preview button[data-v-e1940b16],.dark-mode #__nuxt_preview button[data-v-e1940b16]{border:1px solid hsla(0,0%,100%,.2);color:#fffc}.dark #__nuxt_preview button[data-v-e1940b16]:hover,.dark-mode #__nuxt_preview button[data-v-e1940b16]:focus{background:hsla(0,0%,100%,.1)}.dark #__nuxt_preview button[data-v-e1940b16]:active,.dark-mode #__nuxt_preview button[data-v-e1940b16]:active{background:hsla(0,0%,100%,.2)}#__nuxt_preview.__preview_refreshing button[data-v-e1940b16],#__nuxt_preview.__preview_refreshing span[data-v-e1940b16],#__nuxt_preview.__preview_refreshing svg[data-v-e1940b16]{animation:nuxt_pulsate-e1940b16 1s ease-out;animation-iteration-count:infinite;opacity:.5}@keyframes nuxt_pulsate-e1940b16{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes spin-e1940b16{0%{transform:rotate(1turn)}to{transform:rotate(0)}} diff --git a/_nuxt/useStudio.ecec627a.js b/_nuxt/useStudio.ecec627a.js deleted file mode 100644 index 7cd0ee2..0000000 --- a/_nuxt/useStudio.ecec627a.js +++ /dev/null @@ -1 +0,0 @@ -import{d as Y,u as V,r as $,o as j,_ as ee,a as te,b as q,c as L,n as ne,F as oe,e as w,f as K,g as O,w as J,T as B,t as ie,h as D,p as se,i as ae,j as W,k as re,l as de,m as z,q as ce,s as U,v as E,x as Z,y as H,z as le,A as pe,B as F}from"./entry.cdff8778.js";import{r as ue}from"./asyncData.98be9f70.js";const b=i=>(se("data-v-e1940b16"),i=i(),ae(),i),ve=b(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),fe=b(()=>w("span",null,"Preview mode enabled",-1)),we={key:0},_e=b(()=>w("div",{id:"__preview_background"},null,-1)),he=b(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),me=b(()=>w("p",null,"Initializing the preview...",-1)),ye={key:0},ge=b(()=>w("div",{id:"__preview_background"},null,-1)),ke={id:"__preview_loader"},Ce=Y({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const s=i,c=["__nuxt_preview","__preview_enabled"],v=W(),m=V(),r=$(!0),g=$(!1),o=$(!1),l=$("");let a;const h=async()=>{D("previewToken").value="",window.sessionStorage.removeItem("previewToken"),await m.replace({query:{preview:void 0}}),window.location.reload()},A=async T=>{const _=await s.syncPreview(T);if(o.value!==!0){if(!_){setTimeout(()=>A(T),1e3);return}D("previewToken").value&&(o.value=!0,await m.replace({query:{}}),v.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&a.disconnect())}};return j(async()=>{a=(await ee(()=>import("./index.17e44084.js"),[],import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let _;a.on("connect",()=>{_=setTimeout(()=>{o.value||(_=setTimeout(()=>{l.value="Preview sync timed out",o.value=!1},3e4),a.emit("draft:requestSync"))},3e4)});const I=()=>{_&&(clearTimeout(_),_=null)};a.on("draft:sync",async P=>{if(I(),!P){try{a.once("draft:ready",()=>{a.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(R){switch(I(),R.response.status){case 404:l.value="Preview draft not found",o.value=!1;break;default:l.value="An error occurred while syncing preview",o.value=!1}}return}A(P)}),a.on("draft:unauthorized",()=>{I(),l.value="Unauthorized preview token",o.value=!1}),a.on("disconnect",()=>{I()}),document.body.classList.add(...c),a.on("draft:update",P=>{g.value=!0,s.syncPreview(P),g.value=!1})}),te(()=>{document.body.classList.remove(...c)}),(T,_)=>(q(),L("div",null,[r.value?(q(),L("div",{key:0,id:"__nuxt_preview",class:ne({__preview_ready:o.value,__preview_refreshing:g.value})},[o.value?(q(),L(oe,{key:0},[ve,fe,w("button",{onClick:h}," Close ")],64)):K("",!0)],2)):K("",!0),O(B,{name:"preview-loading"},{default:J(()=>[r.value&&!o.value&&!l.value?(q(),L("div",we,[_e,w("div",{id:"__preview_loader"},[he,me,w("button",{onClick:h}," Cancel ")])])):K("",!0)]),_:1}),O(B,{name:"preview-loading"},{default:J(()=>[l.value?(q(),L("div",ye,[ge,w("div",ke,[w("p",null,ie(l.value),1),w("button",{onClick:h}," Exit preview ")])])):K("",!0)]),_:1})]))}});const Ie=re(Ce,[["__scopeId","data-v-e1940b16"]]),Pe=(i=[],s,c)=>{const v=[...s||[]],m=[...c||[]],r=JSON.parse(JSON.stringify(i));for(const o of v)if(o.oldPath)if(m.splice(m.findIndex(a=>a.path===o.oldPath),1),v.find(a=>a.path===o.oldPath))r.push({path:o.path,parsed:o.parsed});else{const a=r.find(h=>h.path===o.oldPath);a&&(a.path=o.path,o.parsed?a.parsed=o.parsed:o.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{a.parsed[h]=o.pathMeta[h]}))}else if(o.new)r.push({path:o.path,parsed:o.parsed});else{const l=r.find(a=>a.path===o.path);l&&Object.assign(l,{path:o.path,parsed:o.parsed})}for(const o of m)r.splice(r.findIndex(l=>l.path===o.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return r.sort((o,l)=>g.compare(o.path,l.path)),r},C={appConfig:"app.config.ts",tokensConfig:"tokens.config.ts"},Se=i=>{let s;return(...c)=>(s||(s=i()),s)};function G(i,s){for(const c in i){const v=s[c];c in s||delete i[c],v!==null&&typeof v=="object"&&G(i[c],s[c])}}function Q(i,s){for(const c in s){const v=s[c];v!==null&&typeof v=="object"?(i[c]=i[c]||{},Q(i[c],v)):i[c]=v}}const Te=Se(()=>JSON.parse(JSON.stringify(Z()))),qe=()=>{const i=W(),{studio:s,content:c}=de().public,v=Te();let m;const r=z("studio-client-db",()=>null),g=z("studio-preview-db-files",()=>[]);r.value||(i.hook("content:storage",e=>{r.value=e}),ce("/non-existing-path").findOne());const o=async(e,n,d=!0)=>{const u=window.sessionStorage.getItem("previewToken"),f=await e.getKeys(`${u}:`);await Promise.all(f.map(p=>e.removeItem(p)));const t=new Set(n.map(p=>p.parsed._id.split(":").shift()));await e.setItem(`${u}$`,JSON.stringify({ignoreSources:Array.from(t)})),await Promise.all(n.map(p=>e.setItem(`${u}:${p.parsed._id}`,JSON.stringify(p.parsed))))},l=e=>{const n=E(i,Z);Q(n,H(e,v)),e||G(n,v)},a=e=>{var d,u,f,t;const n=(t=(f=(u=(d=i==null?void 0:i.vueApp)==null?void 0:d._context)==null?void 0:u.config)==null?void 0:f.globalProperties)==null?void 0:t.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(m||(m=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),E(i,n.updateTheme,[H(e,m)]))},h=async e=>{if(g.value=e.files=e.files||g.value||[],!r.value)return!1;const n=Pe(e.files,e.additions,e.deletions),d=n.filter(t=>![C.appConfig,C.tokensConfig].includes(t.path));await o(r.value,d,(e.files||[]).length!==0);const u=n.find(t=>t.path===C.appConfig);l(u==null?void 0:u.parsed);const f=n.find(t=>t.path===C.tokensConfig);return a(f==null?void 0:f.parsed),R(),!0},A=async()=>{const e=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:e}})},T=()=>{const e=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),le(Ie,{previewToken:e,apiURL:s==null?void 0:s.apiURL,syncPreview:h,requestPreviewSyncAPI:A}).mount(n)},_=async e=>{var u,f,t;const n=window.sessionStorage.getItem("previewToken");if(!e)return null;e=e.replace(/\/$/,"");let d=await((u=r.value)==null?void 0:u.getItem(`${n}:${e}`));return d||(d=await((f=r.value)==null?void 0:f.getItem(`cached:${e}`))),d||(d=d=await((t=r.value)==null?void 0:t.getItem(e))),d},I=e=>{var d;const n=window.sessionStorage.getItem("previewToken");r.value&&r.value.setItem(`${n}:${(d=e.parsed)==null?void 0:d._id}`,JSON.stringify(e.parsed))},P=async e=>{var d;const n=window.sessionStorage.getItem("previewToken");await((d=r.value)==null?void 0:d.removeItem(`${n}:${e}`))},R=async()=>{if(c!=null&&c.documentDriven){const{pages:e}=E(i,pe);for(const n in e.value)e.value[n]&&(e.value[n]=await _(e.value[n]._id))}E(i,ue)};return{apiURL:s==null?void 0:s.apiURL,contentStorage:r,syncPreviewFiles:o,syncPreviewAppConfig:l,syncPreviewTokensConfig:a,requestPreviewSynchronization:A,findContentWithId:_,updateContent:I,removeContentWithId:P,requestRerender:R,mountPreviewUI:T,initiateIframeCommunication:X};function X(){if(!window.parent||window.self===window.parent)return;const e=V(),n=U(),d=$(""),u=t=>({path:t.path,query:F(t.query),params:F(t.params),fullPath:t.fullPath,meta:F(t.meta)});window.addEventListener("keydown",t=>{(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:t.key,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}},"*")}),window.addEventListener("message",async t=>{if(!["https://nuxt.studio","https://dev.nuxt.studio"].includes(t.origin))return;const{type:p,payload:x={}}=t.data||{};switch(p){case"nuxt-studio:editor:file-selected":{const y=await _(x.path);y&&(y._partial||y._path!==U().path&&(d.value=y._path,e.push(y._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:y=[],deletions:N=[]}=x;for(const k of y)await I(k);for(const k of N)await P(k.path);R();break}case"nuxt-studio:preview:sync":{h(x);break}case"nuxt-studio:config:file-changed":{const{additions:y=[],deletions:N=[]}=x,k=y.find(S=>S.path===C.appConfig);k&&l(k==null?void 0:k.parsed),N.find(S=>S.path===C.appConfig)&&l(void 0);const M=y.find(S=>S.path===C.tokensConfig);M&&a(M==null?void 0:M.parsed),N.find(S=>S.path===C.tokensConfig)&&a(void 0);break}}}),i.hook("page:finish",()=>{f()}),i.hook("content:document-driven:finish",({route:t,page:p})=>{t.meta.studio_page_contentId=p==null?void 0:p._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:u(U())},"*"),setTimeout(()=>{f()},100)});function f(){const t=Array.from(window.document.querySelectorAll("[data-content-id]")).map(x=>x.getAttribute("data-content-id")),p=Array.from(new Set([n.meta.studio_page_contentId,...t])).filter(Boolean);if(d.value===p[0]){d.value="";return}window.openContentInStudioEditor(p,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(t,p={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...u(n),contentIds:t,...p}},"*")}}};export{qe as useStudio}; diff --git a/_nuxt/useStudio.f2a86ac9.css b/_nuxt/useStudio.f2a86ac9.css new file mode 100644 index 0000000..addd43a --- /dev/null +++ b/_nuxt/useStudio.f2a86ac9.css @@ -0,0 +1 @@ +body.__preview_enabled{padding-bottom:50px}#__nuxt_preview[data-v-d2c7d0ba]{align-items:center;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:hsla(0,0%,100%,.3);border-top:1px solid #eee;bottom:-60px;color:#000;display:flex;font-family:Helvetica,sans-serif;font-size:16px;font-weight:500;gap:10px;height:50px;justify-content:center;left:0;position:fixed;right:0;transition:bottom .3s ease-in-out;z-index:10000}#__nuxt_preview.__preview_ready[data-v-d2c7d0ba]{bottom:0}#__preview_background[data-v-d2c7d0ba]{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:hsla(0,0%,100%,.3);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:9000}#__preview_loader[data-v-d2c7d0ba]{align-items:center;color:#000;display:flex;flex-direction:column;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:1.4rem;gap:8px;left:50%;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:9500}#__preview_loader p[data-v-d2c7d0ba]{margin:10px 0}.dark #__preview_background[data-v-d2c7d0ba],.dark-mode #__preview_background[data-v-d2c7d0ba]{background:rgba(0,0,0,.3)}.dark #__preview_loader[data-v-d2c7d0ba],.dark-mode #__preview_loader[data-v-d2c7d0ba]{color:#fff}.preview-loading-enter-active[data-v-d2c7d0ba],.preview-loading-leave-active[data-v-d2c7d0ba]{transition:opacity .4s}.preview-loading-enter[data-v-d2c7d0ba],.preview-loading-leave-to[data-v-d2c7d0ba]{opacity:0}#__preview_loading_icon[data-v-d2c7d0ba]{animation:spin-d2c7d0ba 1s linear infinite}.dark #__nuxt_preview[data-v-d2c7d0ba],.dark-mode #__nuxt_preview[data-v-d2c7d0ba]{background:rgba(0,0,0,.3);border-top:1px solid #111;color:#fff}#__nuxt_preview svg[data-v-d2c7d0ba]{color:#000;display:inline-block;height:30px;width:30px}.dark #__nuxt_preview svg[data-v-d2c7d0ba],.dark-mode #__nuxt_preview svg[data-v-d2c7d0ba]{color:#fff}button[data-v-d2c7d0ba]{background:transparent;border:1px solid rgba(0,0,0,.2);border-radius:3px;box-shadow:none;color:#000c;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;line-height:1rem;margin:0;padding:4px 10px;text-align:center;transition:none;width:auto}button[data-v-d2c7d0ba]:hover{border-color:#0006;color:#000000e6}.dark button[data-v-d2c7d0ba],.dark-mode button[data-v-d2c7d0ba]{border-color:#fff3;color:#d3d3d3}.dark button[data-v-d2c7d0ba]:hover,.dark-mode button[data-v-d2c7d0ba]:hover{border-color:#fff6;color:#fff}#__nuxt_preview button[data-v-d2c7d0ba]:focus,#__nuxt_preview button[data-v-d2c7d0ba]:hover{background:rgba(0,0,0,.1)}#__nuxt_preview button[data-v-d2c7d0ba]:active{background:rgba(0,0,0,.2)}.dark #__nuxt_preview button[data-v-d2c7d0ba],.dark-mode #__nuxt_preview button[data-v-d2c7d0ba]{border:1px solid hsla(0,0%,100%,.2);color:#fffc}.dark #__nuxt_preview button[data-v-d2c7d0ba]:hover,.dark-mode #__nuxt_preview button[data-v-d2c7d0ba]:focus{background:hsla(0,0%,100%,.1)}.dark #__nuxt_preview button[data-v-d2c7d0ba]:active,.dark-mode #__nuxt_preview button[data-v-d2c7d0ba]:active{background:hsla(0,0%,100%,.2)}#__nuxt_preview.__preview_refreshing button[data-v-d2c7d0ba],#__nuxt_preview.__preview_refreshing span[data-v-d2c7d0ba],#__nuxt_preview.__preview_refreshing svg[data-v-d2c7d0ba]{animation:nuxt_pulsate-d2c7d0ba 1s ease-out;animation-iteration-count:infinite;opacity:.5}@keyframes nuxt_pulsate-d2c7d0ba{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes spin-d2c7d0ba{0%{transform:rotate(1turn)}to{transform:rotate(0)}} diff --git a/_payload.json b/_payload.json index 8e5b75e..67639ef 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1696007478844] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1696865869059] \ No newline at end of file diff --git a/about/_payload.json b/about/_payload.json index 98a6918..6d0267d 100644 --- a/about/_payload.json +++ b/about/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1696007480048] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1696865870485] \ No newline at end of file diff --git a/about/index.html b/about/index.html index 70bb9c0..810425f 100644 --- a/about/index.html +++ b/about/index.html @@ -13,27 +13,27 @@ - - - - - - - - - - - - - - - - - - - - -

About

This is the about page, with a custom description and image for SEO ✨

Content Wind

- +

About

This is the about page, with a custom description and image for SEO ✨

Content Wind

+ \ No newline at end of file diff --git a/api/_content/cache.1696007460600.json b/api/_content/cache.1696007460600.json deleted file mode 100644 index b18bee4..0000000 --- a/api/_content/cache.1696007460600.json +++ /dev/null @@ -1 +0,0 @@ -{"generatedAt":1696007478730,"generateTime":974,"contents":[{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Content Wind","description":"A lightweight Nuxt theme to build a Markdown driven website, based on Nuxt Content, TailwindCSS and Iconify ✨","navigation":{"title":"Home"},"body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"content-wind"},"children":[{"type":"text","value":"Content Wind"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A lightweight Nuxt theme to build a Markdown driven website, based on "},{"type":"element","tag":"a","props":{"href":"https://content.nuxt.com","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Content"}]},{"type":"text","value":", "},{"type":"element","tag":"a","props":{"href":"https://tailwindcss.com","rel":["nofollow"]},"children":[{"type":"text","value":"TailwindCSS"}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://iconify.design","rel":["nofollow"]},"children":[{"type":"text","value":"Iconify"}]},{"type":"text","value":" ✨"}]},{"type":"element","tag":"h2","props":{"id":"features"},"children":[{"type":"text","value":"Features"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Write pages in Markdown"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Use "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/layouts","rel":["nofollow"]},"children":[{"type":"text","value":"layouts"}]},{"type":"text","value":" in Markdown pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Enjoy meta tag generation"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Configurable "},{"type":"element","tag":"a","props":{"href":"https://typography.nuxt.space","rel":["nofollow"]},"children":[{"type":"text","value":"prose components"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Generated navigation from pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Switch between light & dark mode"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Access 100,000 icons from 100+ icon sets"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Highlight code blocks with "},{"type":"element","tag":"a","props":{"href":"https://shiki.matsu.io","rel":["nofollow"]},"children":[{"type":"text","value":"Shiki"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Create Vue components and use them in Markdown"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Deploy on any Node or Static hosting: GH Pages, Vercel, Netlify, Heroku, etc."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Live edit on "},{"type":"element","tag":"a","props":{"href":"https://nuxt.studio","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Studio"}]}]}]},{"type":"element","tag":"h2","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"button-link","props":{":external":"true","external":true,"href":"https://stackblitz.com/github/Atinux/content-wind/tree/main/.demo?file=content%2F1.index.md","icon":"simple-icons:stackblitz"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Play online on Stackblitz"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Open a terminal and run the following command:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npx nuxi init -t themes/content-wind my-website\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npx"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" nuxi"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" init"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" -t"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" themes/content-wind"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" my-website"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Follow the instructions in the terminal and you are ready to go 🚀"}]},{"type":"element","tag":"h2","props":{"id":"usage"},"children":[{"type":"text","value":"Usage"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This template has some built-in features to make it as easy as possible to create a content-driven website."}]},{"type":"element","tag":"h3","props":{"id":"pages"},"children":[{"type":"text","value":"Pages"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Create your Markdown pages in the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"content/"}]},{"type":"text","value":" directory:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"# My title\n\nThis first paragraph will be treated as the page meta description.\n","filename":"content/index.md","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# My title"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"This first paragraph will be treated as the page meta description."}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can overwrite meta tags by using front-matter:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"---\ntitle: 'Custom title'\ndescription: 'Custom meta description'\nimage: 'Custom image injected as `og:image`'\n---\n\n# My title\n\nThis first paragraph will be treated as the page meta description.\n","filename":"content/index.md","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"title"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom title'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"description"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom meta description'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"image"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom image injected as `og:image`'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# My title"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"This first paragraph will be treated as the page meta description."}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This is done thanks to Nuxt Content's "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/guide/writing/document-driven","rel":["nofollow"]},"children":[{"type":"text","value":"document-driven mode"}]},{"type":"text","value":" of Nuxt Content."}]},{"type":"element","tag":"h3","props":{"id":"navigation"},"children":[{"type":"text","value":"Navigation"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The navigation is generated from your pages, you can take a look at the "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind/blob/main/theme/components/Navbar.vue","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component to see how it works."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It uses the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/components/content-navigation","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component from Nuxt Content to fetch the navigation object."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To customize the title displayed in the navigation, you can set the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"navigation.title"}]},{"type":"text","value":" property in the front-matter of your pages:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"---\nnavigation.title: 'Home'\n---\n\n# Welcome to my site\n\nWith a beautiful description\n","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"navigation.title"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Home'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# Welcome to my site"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"With a beautiful description"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"theme-configuration"},"children":[{"type":"text","value":"Theme configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure Content Wind global configuration in the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"app.config.ts"}]},{"type":"text","value":" file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"interface AppConfigInput {\n cover?: string, // default: '/cover.jpg'\n socials?: {\n twitter?: string\n github?: string\n }\n}\n","filename":"signature","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"interface"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" AppConfigInput"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" cover"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":", "}]},{"type":"element","tag":"span","props":{"style":"color:#6A737D;--shiki-dark:#6A737D"},"children":[{"type":"text","value":"// default: '/cover.jpg'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" socials"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" twitter"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" github"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"}"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example of settings Twitter and GitHub icons in the navbar:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"export default defineAppConfig({\n socials: {\n twitter: 'Atinux',\n github: 'Atinux/content-wind'\n }\n})\n","filename":"app.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" defineAppConfig"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"({"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" socials: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" twitter: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Atinux'"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":","}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" github: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Atinux/content-wind'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"})"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"icons"},"children":[{"type":"text","value":"Icons"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Use any icon from "},{"type":"element","tag":"a","props":{"href":"https://icones.js.org","rel":["nofollow"]},"children":[{"type":"text","value":"icones.js.org"}]},{"type":"text","value":" with the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]},{"type":"text","value":" component:"}]},{"type":"element","tag":"pre","props":{"className":"language-html shiki shiki-themes github-light github-dark","code":"\n","language":"html","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"color:#B31D28;--shiki-dark:#FDAEB7;font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"Icon"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" name"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"\"ph:music-notes-fill\""}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" />"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can also use it in your Markdown:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":":icon{name=\"ph:music-notes-fill\"}\n","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":":icon{name=\"ph:music-notes-fill\"}"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Will result in "},{"type":"element","tag":"icon","props":{"name":"ph:music-notes-fill"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more on "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/nuxt-icon","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-icon"}]},{"type":"text","value":" documentation."}]},{"type":"element","tag":"h3","props":{"id":"code-highlight"},"children":[{"type":"text","value":"Code Highlight"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It supports code highlighting with Shiki and as well as different "},{"type":"element","tag":"a","props":{"href":"https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-themes","rel":["nofollow"]},"children":[{"type":"text","value":"VS Code themes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"markdown-block","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"```ts\nexport default () => 'Hello Content Wind'\n```"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Will result in:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"export default () => 'Hello Content Wind'\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" () "}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"=>"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" 'Hello Content Wind'"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Updating the theme is as simple as editing your "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"import { defineNuxtConfig } from 'nuxt'\n\nexport default defineNuxtConfig({\n content: {\n highlight: {\n theme: 'one-dark-pro',\n }\n }\n})\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" { defineNuxtConfig } "}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" 'nuxt'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"({"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" content: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" highlight: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" theme: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'one-dark-pro'"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":","}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"})"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more in the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/configuration#highlight","rel":["nofollow"]},"children":[{"type":"text","value":"Content Code Highlight section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h3","props":{"id":"vue-components"},"children":[{"type":"text","value":"Vue Components"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add Vue components into the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"components/content/"}]},{"type":"text","value":" directory and start using them in Markdown."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"See the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]},{"type":"text","value":" component in "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind/blob/main/components/content/MarkdownBlock.vue","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"components/content/MarkdownBlock.vue"}]}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"By leveraging the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/components/markdown","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component from Nuxt Content, you can use both slots and props in Markdown thanks to the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/guide/writing/mdc","rel":["nofollow"]},"children":[{"type":"text","value":"MDC syntax"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"deployment"},"children":[{"type":"text","value":"Deployment"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FAtinux%2Fcontent-wind-template","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Deploy with Vercel","src":"https://vercel.com/button"},"children":[]}]},{"type":"text","value":" "},{"type":"element","tag":"a","props":{"href":"https://app.netlify.com/start/deploy?repository=https://github.com/Atinux/content-wind-template","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Deploy to Netlify","src":"https://www.netlify.com/img/deploy/button.svg"},"children":[]}]}]},{"type":"element","tag":"h3","props":{"id":"static-hosting"},"children":[{"type":"text","value":"Static Hosting"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Pre-render the website to be deployed on any static hosting:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npm run generate\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" run"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" generate"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"dist/"}]},{"type":"text","value":" directory is ready to be deployed (symlink to "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":".output/public"}]},{"type":"text","value":"), "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/deployment#static-hosting","rel":["nofollow"]},"children":[{"type":"text","value":"learn more on Nuxt docs"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h3","props":{"id":"node-server"},"children":[{"type":"text","value":"Node server"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Build the application for production:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npm run build\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" run"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" build"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Start the server in production:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"node .output/server/index.mjs\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"node"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" .output/server/index.mjs"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more on "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/deployment","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt docs"}]},{"type":"text","value":" for more information."}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You are at the end of the page, you can checkout the "},{"type":"element","tag":"a","props":{"href":"/about"},"children":[{"type":"text","value":"about page"}]},{"type":"text","value":" or the "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind","rel":["nofollow"]},"children":[{"type":"text","value":"GitHub repository"}]},{"type":"text","value":" and give a "},{"type":"element","tag":"icon","props":{"name":"ph:star-duotone"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Thanks for reading and happy writing, "},{"type":"element","tag":"a","props":{"href":"https://twitter.com/Atinux","rel":["nofollow"]},"children":[{"type":"text","value":"Atinux"}]},{"type":"text","value":"."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark) !important;background: var(--shiki-dark-bg) !important;font-style: var(--shiki-dark-font-style) !important;font-weight: var(--shiki-dark-font-weight) !important;text-decoration: var(--shiki-dark-text-decoration) !important;}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"features","depth":2,"text":"Features"},{"id":"setup","depth":2,"text":"Setup"},{"id":"usage","depth":2,"text":"Usage","children":[{"id":"pages","depth":3,"text":"Pages"},{"id":"navigation","depth":3,"text":"Navigation"},{"id":"theme-configuration","depth":3,"text":"Theme configuration"},{"id":"icons","depth":3,"text":"Icons"},{"id":"code-highlight","depth":3,"text":"Code Highlight"},{"id":"vue-components","depth":3,"text":"Vue Components"}]},{"id":"deployment","depth":2,"text":"Deployment","children":[{"id":"static-hosting","depth":3,"text":"Static Hosting"},{"id":"node-server","depth":3,"text":"Node server"}]}]}},"_type":"markdown","_id":"content:1.index.md","_source":"content","_file":"1.index.md","_extension":"md"},{"_path":"/about","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"About","description":"This is the about page, with a custom description and image for SEO ✨","navigation":{"title":"About"},"layout":"full-width","head":{"description":"This is a custom description for Content Wind about page.","image":"https://fastly.picsum.photos/id/866/536/354.jpg?hmac=tGofDTV7tl2rprappPzKFiZ9vDh5MKj39oa2D--gqhA"},"body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"about"},"children":[{"type":"text","value":"About"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This is the about page, with a custom description and image for SEO ✨"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Content Wind","src":"https://fastly.picsum.photos/id/866/536/354.jpg?hmac=tGofDTV7tl2rprappPzKFiZ9vDh5MKj39oa2D--gqhA"},"children":[]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:2.about.md","_source":"content","_file":"2.about.md","_extension":"md"}],"navigation":[{"title":"Home","_path":"/"},{"title":"About","_path":"/about","layout":"full-width"}]} \ No newline at end of file diff --git a/api/_content/cache.1696865849517.json b/api/_content/cache.1696865849517.json new file mode 100644 index 0000000..b9e51f3 --- /dev/null +++ b/api/_content/cache.1696865849517.json @@ -0,0 +1 @@ +{"generatedAt":1696865868946,"generateTime":1245,"contents":[{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Content Wind","description":"A lightweight Nuxt theme to build a Markdown driven website, based on Nuxt Content, TailwindCSS and Iconify ✨","navigation":{"title":"Home"},"body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"content-wind"},"children":[{"type":"text","value":"Content Wind"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A lightweight Nuxt theme to build a Markdown driven website, based on "},{"type":"element","tag":"a","props":{"href":"https://content.nuxt.com","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Content"}]},{"type":"text","value":", "},{"type":"element","tag":"a","props":{"href":"https://tailwindcss.com","rel":["nofollow"]},"children":[{"type":"text","value":"TailwindCSS"}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://iconify.design","rel":["nofollow"]},"children":[{"type":"text","value":"Iconify"}]},{"type":"text","value":" ✨"}]},{"type":"element","tag":"h2","props":{"id":"features"},"children":[{"type":"text","value":"Features"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Write pages in Markdown"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Use "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/layouts","rel":["nofollow"]},"children":[{"type":"text","value":"layouts"}]},{"type":"text","value":" in Markdown pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Enjoy meta tag generation"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Configurable "},{"type":"element","tag":"a","props":{"href":"https://typography.nuxt.space","rel":["nofollow"]},"children":[{"type":"text","value":"prose components"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Generated navigation from pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Switch between light & dark mode"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Access 100,000 icons from 100+ icon sets"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Highlight code blocks with "},{"type":"element","tag":"a","props":{"href":"https://shiki.matsu.io","rel":["nofollow"]},"children":[{"type":"text","value":"Shiki"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Create Vue components and use them in Markdown"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Deploy on any Node or Static hosting: GH Pages, Vercel, Netlify, Heroku, etc."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Live edit on "},{"type":"element","tag":"a","props":{"href":"https://nuxt.studio","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Studio"}]}]}]},{"type":"element","tag":"h2","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"button-link","props":{":external":"true","external":true,"href":"https://stackblitz.com/github/Atinux/content-wind/tree/main/.demo?file=content%2F1.index.md","icon":"simple-icons:stackblitz"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Play online on Stackblitz"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Open a terminal and run the following command:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npx nuxi init -t themes/content-wind my-website\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npx"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" nuxi"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" init"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" -t"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" themes/content-wind"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" my-website"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Follow the instructions in the terminal and you are ready to go 🚀"}]},{"type":"element","tag":"h2","props":{"id":"usage"},"children":[{"type":"text","value":"Usage"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This template has some built-in features to make it as easy as possible to create a content-driven website."}]},{"type":"element","tag":"h3","props":{"id":"pages"},"children":[{"type":"text","value":"Pages"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Create your Markdown pages in the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"content/"}]},{"type":"text","value":" directory:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"# My title\n\nThis first paragraph will be treated as the page meta description.\n","filename":"content/index.md","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# My title"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"This first paragraph will be treated as the page meta description."}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can overwrite meta tags by using front-matter:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"---\ntitle: 'Custom title'\ndescription: 'Custom meta description'\nimage: 'Custom image injected as `og:image`'\n---\n\n# My title\n\nThis first paragraph will be treated as the page meta description.\n","filename":"content/index.md","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"title"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom title'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"description"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom meta description'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"image"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Custom image injected as `og:image`'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# My title"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"This first paragraph will be treated as the page meta description."}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This is done thanks to Nuxt Content's "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/guide/writing/document-driven","rel":["nofollow"]},"children":[{"type":"text","value":"document-driven mode"}]},{"type":"text","value":" of Nuxt Content."}]},{"type":"element","tag":"h3","props":{"id":"navigation"},"children":[{"type":"text","value":"Navigation"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The navigation is generated from your pages, you can take a look at the "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind/blob/main/theme/components/Navbar.vue","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component to see how it works."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It uses the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/components/content-navigation","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component from Nuxt Content to fetch the navigation object."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To customize the title displayed in the navigation, you can set the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"navigation.title"}]},{"type":"text","value":" property in the front-matter of your pages:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":"---\nnavigation.title: 'Home'\n---\n\n# Welcome to my site\n\nWith a beautiful description\n","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#22863A;--shiki-dark:#85E89D"},"children":[{"type":"text","value":"navigation.title"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":": "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Home'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"---"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF;font-weight:bold;--shiki-dark-font-weight:bold"},"children":[{"type":"text","value":"# Welcome to my site"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"With a beautiful description"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"theme-configuration"},"children":[{"type":"text","value":"Theme configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure Content Wind global configuration in the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"app.config.ts"}]},{"type":"text","value":" file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"interface AppConfigInput {\n cover?: string, // default: '/cover.jpg'\n socials?: {\n twitter?: string\n github?: string\n }\n}\n","filename":"signature","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"interface"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" AppConfigInput"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" cover"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":", "}]},{"type":"element","tag":"span","props":{"style":"color:#6A737D;--shiki-dark:#6A737D"},"children":[{"type":"text","value":"// default: '/cover.jpg'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" socials"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" twitter"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" github"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"?:"}]},{"type":"element","tag":"span","props":{"style":"color:#005CC5;--shiki-dark:#79B8FF"},"children":[{"type":"text","value":" string"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"}"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example of settings Twitter and GitHub icons in the navbar:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"export default defineAppConfig({\n socials: {\n twitter: 'Atinux',\n github: 'Atinux/content-wind'\n }\n})\n","filename":"app.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" defineAppConfig"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"({"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" socials: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" twitter: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Atinux'"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":","}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" github: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'Atinux/content-wind'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"})"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"icons"},"children":[{"type":"text","value":"Icons"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Use any icon from "},{"type":"element","tag":"a","props":{"href":"https://icones.js.org","rel":["nofollow"]},"children":[{"type":"text","value":"icones.js.org"}]},{"type":"text","value":" with the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]},{"type":"text","value":" component:"}]},{"type":"element","tag":"pre","props":{"className":"language-html shiki shiki-themes github-light github-dark","code":"\n","language":"html","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"color:#B31D28;--shiki-dark:#FDAEB7;font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"Icon"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" name"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"\"ph:music-notes-fill\""}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" />"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can also use it in your Markdown:"}]},{"type":"element","tag":"pre","props":{"className":"language-md shiki shiki-themes github-light github-dark","code":":icon{name=\"ph:music-notes-fill\"}\n","language":"md","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":":icon{name=\"ph:music-notes-fill\"}"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Will result in "},{"type":"element","tag":"icon","props":{"name":"ph:music-notes-fill"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more on "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/nuxt-icon","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-icon"}]},{"type":"text","value":" documentation."}]},{"type":"element","tag":"h3","props":{"id":"code-highlight"},"children":[{"type":"text","value":"Code Highlight"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It supports code highlighting with Shiki and as well as different "},{"type":"element","tag":"a","props":{"href":"https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-themes","rel":["nofollow"]},"children":[{"type":"text","value":"VS Code themes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"markdown-block","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"```ts\nexport default () => 'Hello Content Wind'\n```"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Will result in:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"export default () => 'Hello Content Wind'\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" () "}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"=>"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" 'Hello Content Wind'"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Updating the theme is as simple as editing your "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes github-light github-dark","code":"import { defineNuxtConfig } from 'nuxt'\n\nexport default defineNuxtConfig({\n content: {\n highlight: {\n theme: 'one-dark-pro',\n }\n }\n})\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" { defineNuxtConfig } "}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" 'nuxt'"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"color:#D73A49;--shiki-dark:#F97583"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"({"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" content: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" highlight: {"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" theme: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'one-dark-pro'"}]},{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":","}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":" }"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"color:#24292E;--shiki-dark:#E1E4E8"},"children":[{"type":"text","value":"})"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more in the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/configuration#highlight","rel":["nofollow"]},"children":[{"type":"text","value":"Content Code Highlight section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h3","props":{"id":"vue-components"},"children":[{"type":"text","value":"Vue Components"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add Vue components into the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"components/content/"}]},{"type":"text","value":" directory and start using them in Markdown."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"See the "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]},{"type":"text","value":" component in "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind/blob/main/components/content/MarkdownBlock.vue","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"components/content/MarkdownBlock.vue"}]}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"By leveraging the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/api/components/markdown","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":""}]}]},{"type":"text","value":" component from Nuxt Content, you can use both slots and props in Markdown thanks to the "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/guide/writing/mdc","rel":["nofollow"]},"children":[{"type":"text","value":"MDC syntax"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"deployment"},"children":[{"type":"text","value":"Deployment"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FAtinux%2Fcontent-wind-template","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Deploy with Vercel","src":"https://vercel.com/button"},"children":[]}]},{"type":"text","value":" "},{"type":"element","tag":"a","props":{"href":"https://app.netlify.com/start/deploy?repository=https://github.com/Atinux/content-wind-template","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Deploy to Netlify","src":"https://www.netlify.com/img/deploy/button.svg"},"children":[]}]}]},{"type":"element","tag":"h3","props":{"id":"static-hosting"},"children":[{"type":"text","value":"Static Hosting"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Pre-render the website to be deployed on any static hosting:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npm run generate\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" run"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" generate"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":"dist/"}]},{"type":"text","value":" directory is ready to be deployed (symlink to "},{"type":"element","tag":"code","props":{"className":""},"children":[{"type":"text","value":".output/public"}]},{"type":"text","value":"), "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/deployment#static-hosting","rel":["nofollow"]},"children":[{"type":"text","value":"learn more on Nuxt docs"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h3","props":{"id":"node-server"},"children":[{"type":"text","value":"Node server"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Build the application for production:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"npm run build\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" run"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" build"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Start the server in production:"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes github-light github-dark","code":"node .output/server/index.mjs\n","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"color:#6F42C1;--shiki-dark:#B392F0"},"children":[{"type":"text","value":"node"}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":" .output/server/index.mjs"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more on "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/deployment","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt docs"}]},{"type":"text","value":" for more information."}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You are at the end of the page, you can checkout the "},{"type":"element","tag":"a","props":{"href":"/about"},"children":[{"type":"text","value":"about page"}]},{"type":"text","value":" or the "},{"type":"element","tag":"a","props":{"href":"https://github.com/Atinux/content-wind","rel":["nofollow"]},"children":[{"type":"text","value":"GitHub repository"}]},{"type":"text","value":" and give a "},{"type":"element","tag":"icon","props":{"name":"ph:star-duotone"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Thanks for reading and happy writing, "},{"type":"element","tag":"a","props":{"href":"https://twitter.com/Atinux","rel":["nofollow"]},"children":[{"type":"text","value":"Atinux"}]},{"type":"text","value":"."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark) !important;background: var(--shiki-dark-bg) !important;font-style: var(--shiki-dark-font-style) !important;font-weight: var(--shiki-dark-font-weight) !important;text-decoration: var(--shiki-dark-text-decoration) !important;}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"features","depth":2,"text":"Features"},{"id":"setup","depth":2,"text":"Setup"},{"id":"usage","depth":2,"text":"Usage","children":[{"id":"pages","depth":3,"text":"Pages"},{"id":"navigation","depth":3,"text":"Navigation"},{"id":"theme-configuration","depth":3,"text":"Theme configuration"},{"id":"icons","depth":3,"text":"Icons"},{"id":"code-highlight","depth":3,"text":"Code Highlight"},{"id":"vue-components","depth":3,"text":"Vue Components"}]},{"id":"deployment","depth":2,"text":"Deployment","children":[{"id":"static-hosting","depth":3,"text":"Static Hosting"},{"id":"node-server","depth":3,"text":"Node server"}]}]}},"_type":"markdown","_id":"content:1.index.md","_source":"content","_file":"1.index.md","_extension":"md"},{"_path":"/about","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"About","description":"This is the about page, with a custom description and image for SEO ✨","navigation":{"title":"About"},"layout":"full-width","head":{"description":"This is a custom description for Content Wind about page.","image":"https://fastly.picsum.photos/id/866/536/354.jpg?hmac=tGofDTV7tl2rprappPzKFiZ9vDh5MKj39oa2D--gqhA"},"body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"about"},"children":[{"type":"text","value":"About"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This is the about page, with a custom description and image for SEO ✨"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Content Wind","src":"https://fastly.picsum.photos/id/866/536/354.jpg?hmac=tGofDTV7tl2rprappPzKFiZ9vDh5MKj39oa2D--gqhA"},"children":[]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:2.about.md","_source":"content","_file":"2.about.md","_extension":"md"}],"navigation":[{"title":"Home","_path":"/"},{"title":"About","_path":"/about","layout":"full-width"}]} \ No newline at end of file diff --git a/api/_content/navigation/u7BbTyuhiE.1696007460600.json b/api/_content/navigation/u7BbTyuhiE.1696865849517.json similarity index 100% rename from api/_content/navigation/u7BbTyuhiE.1696007460600.json rename to api/_content/navigation/u7BbTyuhiE.1696865849517.json diff --git a/api/_content/query/4iQohvzBYE.1696007460600.json b/api/_content/query/4iQohvzBYE.1696865849517.json similarity index 100% rename from api/_content/query/4iQohvzBYE.1696007460600.json rename to api/_content/query/4iQohvzBYE.1696865849517.json diff --git a/api/_content/query/NNoqIgVDSo.1696007460600.json b/api/_content/query/NNoqIgVDSo.1696865849517.json similarity index 100% rename from api/_content/query/NNoqIgVDSo.1696007460600.json rename to api/_content/query/NNoqIgVDSo.1696865849517.json diff --git a/api/_content/query/brX4CwCJoQ.1696007460600.json b/api/_content/query/brX4CwCJoQ.1696865849517.json similarity index 100% rename from api/_content/query/brX4CwCJoQ.1696007460600.json rename to api/_content/query/brX4CwCJoQ.1696865849517.json diff --git a/api/_content/query/xWeY3NfYtX.1696007460600.json b/api/_content/query/xWeY3NfYtX.1696865849517.json similarity index 100% rename from api/_content/query/xWeY3NfYtX.1696007460600.json rename to api/_content/query/xWeY3NfYtX.1696865849517.json diff --git a/index.html b/index.html index 9aba87c..604dba8 100644 --- a/index.html +++ b/index.html @@ -15,43 +15,43 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - -

Content Wind

A lightweight Nuxt theme to build a Markdown driven website, based on Nuxt Content, TailwindCSS and Iconify

Features

  • Write pages in Markdown
  • Use layouts in Markdown pages
  • Enjoy meta tag generation
  • Configurable prose components
  • Generated navigation from pages
  • Switch between light & dark mode
  • Access 100,000 icons from 100+ icon sets
  • Highlight code blocks with Shiki
  • Create Vue components and use them in Markdown
  • Deploy on any Node or Static hosting: GH Pages, Vercel, Netlify, Heroku, etc.
  • Live edit on Nuxt Studio

Setup

Play online on Stackblitz

Open a terminal and run the following command:

npx nuxi init -t themes/content-wind my-website

Follow the instructions in the terminal and you are ready to go 🚀

Usage

This template has some built-in features to make it as easy as possible to create a content-driven website.

Pages

Create your Markdown pages in the content/ directory:

# My titleThis first paragraph will be treated as the page meta description.

You can overwrite meta tags by using front-matter:

---title: 'Custom title'description: 'Custom meta description'image: 'Custom image injected as `og:image`'---# My titleThis first paragraph will be treated as the page meta description.

This is done thanks to Nuxt Content's document-driven mode of Nuxt Content.

The navigation is generated from your pages, you can take a look at the <Navbar> component to see how it works.

It uses the <ContentNavigation> component from Nuxt Content to fetch the navigation object.

To customize the title displayed in the navigation, you can set the navigation.title property in the front-matter of your pages:

---navigation.title: 'Home'---# Welcome to my siteWith a beautiful description

Theme configuration

You can configure Content Wind global configuration in the app.config.ts file:

interface AppConfigInput {  cover?: string, // default: '/cover.jpg'  socials?: {    twitter?: string    github?: string  }}

Example of settings Twitter and GitHub icons in the navbar:

export default defineAppConfig({  socials: {    twitter: 'Atinux',    github: 'Atinux/content-wind'  }})

Icons

Use any icon from icones.js.org with the <Icon> component:

<Icon name="ph:music-notes-fill" />

You can also use it in your Markdown:

:icon{name="ph:music-notes-fill"}

Will result in

Learn more on nuxt-icon documentation.

Code Highlight

It supports code highlighting with Shiki and as well as different VS Code themes.

```ts
 export default () => 'Hello Content Wind'
-```

Will result in:

export default () => 'Hello Content Wind'

Updating the theme is as simple as editing your nuxt.config:

import { defineNuxtConfig } from 'nuxt'export default defineNuxtConfig({  content: {    highlight: {      theme: 'one-dark-pro',    }  }})

Learn more in the Content Code Highlight section.

Vue Components

Add Vue components into the components/content/ directory and start using them in Markdown.

See the <MarkdownBlock> component in components/content/MarkdownBlock.vue.

By leveraging the <ContentSlot> component from Nuxt Content, you can use both slots and props in Markdown thanks to the MDC syntax.

Deployment

Deploy with Vercel Deploy to Netlify

Static Hosting

Pre-render the website to be deployed on any static hosting:

npm run generate

The dist/ directory is ready to be deployed (symlink to .output/public), learn more on Nuxt docs.

Node server

Build the application for production:

npm run build

Start the server in production:

node .output/server/index.mjs

Learn more on Nuxt docs for more information.


You are at the end of the page, you can checkout the about page or the GitHub repository and give a

Thanks for reading and happy writing, Atinux.

- +```

Will result in:

export default () => 'Hello Content Wind'

Updating the theme is as simple as editing your nuxt.config:

import { defineNuxtConfig } from 'nuxt'export default defineNuxtConfig({  content: {    highlight: {      theme: 'one-dark-pro',    }  }})

Learn more in the Content Code Highlight section.

Vue Components

Add Vue components into the components/content/ directory and start using them in Markdown.

See the <MarkdownBlock> component in components/content/MarkdownBlock.vue.

By leveraging the <ContentSlot> component from Nuxt Content, you can use both slots and props in Markdown thanks to the MDC syntax.

Deployment

Deploy with Vercel Deploy to Netlify

Static Hosting

Pre-render the website to be deployed on any static hosting:

npm run generate

The dist/ directory is ready to be deployed (symlink to .output/public), learn more on Nuxt docs.

Node server

Build the application for production:

npm run build

Start the server in production:

node .output/server/index.mjs

Learn more on Nuxt docs for more information.


You are at the end of the page, you can checkout the about page or the GitHub repository and give a

Thanks for reading and happy writing, Atinux.

+ \ No newline at end of file