From c83a06193c928ea36fca78e84a3a5d0e6086d67b Mon Sep 17 00:00:00 2001 From: Atinux Date: Tue, 12 Dec 2023 14:03:44 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Atinux/c?= =?UTF-8?q?ontent-wind@643838f76fad0099e01790928b428b4f528fbb80=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 200.html | 20 +++--- 404.html | 20 +++--- ...ink.3cedb668.js => ButtonLink.85a4d1e1.js} | 2 +- ...Doc.08b296d2.js => ContentDoc.de405911.js} | 2 +- ...st.30317980.js => ContentList.b88379d4.js} | 2 +- ...a055a.js => ContentNavigation.a482b7f0.js} | 2 +- _nuxt/ContentQuery.7ac0822b.js | 1 - _nuxt/ContentQuery.e79744ae.js | 1 + _nuxt/ContentRenderer.34acffa2.js | 1 - _nuxt/ContentRenderer.b14abe83.js | 1 + _nuxt/ContentRendererMarkdown.298ed8f4.js | 1 - _nuxt/ContentRendererMarkdown.8f5763fd.js | 1 + ...> ContentRendererMarkdown.vue.58e36687.js} | 2 +- ...ot.0b82b925.js => ContentSlot.f1d5eeb1.js} | 2 +- ...6da.js => DocumentDrivenEmpty.7ce35fd5.js} | 2 +- ....js => DocumentDrivenNotFound.8a2860b1.js} | 2 +- ...conCSS.34b3c9f7.js => IconCSS.e2ec596b.js} | 2 +- ...kdown.3a78880b.js => Markdown.e5a14b9c.js} | 2 +- ....5c16f3f7.js => MarkdownBlock.d370fd85.js} | 2 +- ...{ProseA.b574558f.js => ProseA.e0270ad6.js} | 2 +- ...b20f73d.js => ProseBlockquote.6e6e5027.js} | 2 +- _nuxt/ProseCode.03f0f345.js | 1 + _nuxt/ProseCode.b809e3cb.js | 1 - ....a5cbbc67.js => ProseCode.vue.0b4fe988.js} | 2 +- ...61d49c7.js => ProseCodeInline.d6dbb4e1.js} | 2 +- ...roseEm.5a6bf1f5.js => ProseEm.6d7fa6f5.js} | 2 +- ...roseH1.b48b792c.js => ProseH1.f98e69e9.js} | 2 +- ...roseH2.f5fd5d93.js => ProseH2.d1004be5.js} | 2 +- ...roseH3.dc38f7b2.js => ProseH3.6ed6cbad.js} | 2 +- ...roseH4.d64cdd5c.js => ProseH4.ba54f1e5.js} | 2 +- ...roseH5.dbcc4a97.js => ProseH5.4de98f13.js} | 2 +- ...roseH6.aa8c3d17.js => ProseH6.9643f193.js} | 2 +- ...roseHr.c0217faf.js => ProseHr.51e3617d.js} | 2 +- ...seImg.139209a9.js => ProseImg.9d71e083.js} | 2 +- ...roseLi.4197b727.js => ProseLi.5fd858ec.js} | 2 +- ...roseOl.56321916.js => ProseOl.65b02536.js} | 2 +- ...{ProseP.968984ab.js => ProseP.995dfc72.js} | 2 +- ...sePre.5f2ab8ee.js => ProsePre.fa507e33.js} | 2 +- ...ng.68b36035.js => ProseStrong.5e654747.js} | 2 +- ...ble.ae168cd6.js => ProseTable.e926655d.js} | 2 +- ...ody.08d4406f.js => ProseTbody.62f2e954.js} | 2 +- ...roseTd.862dc0a0.js => ProseTd.4ac6e22f.js} | 2 +- ...roseTh.6633eafc.js => ProseTh.1731b67f.js} | 2 +- ...ead.5089f8d4.js => ProseThead.78458bda.js} | 2 +- ...roseTr.3032ee27.js => ProseTr.18ab5656.js} | 2 +- ...roseUl.9b70c295.js => ProseUl.e44e48c6.js} | 2 +- _nuxt/asyncData.e5943146.js | 1 - _nuxt/asyncData.fcd6c90e.js | 1 + ...t-db.9b09dc3e.js => client-db.c9ce8d36.js} | 2 +- ...efault.8e7f9b39.js => default.f5a9bb02.js} | 2 +- ...0d60d34.js => document-driven.0e7d7ebb.js} | 2 +- .../{entry.c4893e48.js => entry.e88d3eb4.js} | 4 +- ...-404.4c622416.js => error-404.13900278.js} | 2 +- ...-500.7731c918.js => error-500.4e570be8.js} | 2 +- ...dth.1eb10aa9.js => full-width.887ab33c.js} | 2 +- _nuxt/head.2422fb25.js | 1 - _nuxt/head.301052fa.js | 1 + _nuxt/slot.6eb7d3c8.js | 1 - _nuxt/slot.e1bbff2e.js | 1 + _nuxt/useStudio.63bcabb4.js | 1 - _nuxt/useStudio.6c6d9266.js | 1 + _payload.json | 2 +- about/_payload.json | 2 +- about/index.html | 42 +++++------ api/_content/cache.1699528849637.json | 1 - api/_content/cache.1702389808057.json | 1 + ...637.json => u7BbTyuhiE.1702389808057.json} | 0 ...637.json => 4iQohvzBYE.1702389808057.json} | 0 ...637.json => NNoqIgVDSo.1702389808057.json} | 0 ...637.json => brX4CwCJoQ.1702389808057.json} | 0 ...637.json => xWeY3NfYtX.1702389808057.json} | 0 index.html | 70 +++++++++---------- 72 files changed, 131 insertions(+), 131 deletions(-) rename _nuxt/{ButtonLink.3cedb668.js => ButtonLink.85a4d1e1.js} (82%) rename _nuxt/{ContentDoc.08b296d2.js => ContentDoc.de405911.js} (75%) rename _nuxt/{ContentList.30317980.js => ContentList.b88379d4.js} (85%) rename _nuxt/{ContentNavigation.661a055a.js => ContentNavigation.a482b7f0.js} (77%) delete mode 100644 _nuxt/ContentQuery.7ac0822b.js create mode 100644 _nuxt/ContentQuery.e79744ae.js delete mode 100644 _nuxt/ContentRenderer.34acffa2.js create mode 100644 _nuxt/ContentRenderer.b14abe83.js delete mode 100644 _nuxt/ContentRendererMarkdown.298ed8f4.js create mode 100644 _nuxt/ContentRendererMarkdown.8f5763fd.js rename _nuxt/{ContentRendererMarkdown.vue.cb991cdf.js => ContentRendererMarkdown.vue.58e36687.js} (99%) rename _nuxt/{ContentSlot.0b82b925.js => ContentSlot.f1d5eeb1.js} (85%) rename _nuxt/{DocumentDrivenEmpty.485176da.js => DocumentDrivenEmpty.7ce35fd5.js} (77%) rename _nuxt/{DocumentDrivenNotFound.98d5cbbb.js => DocumentDrivenNotFound.8a2860b1.js} (59%) rename _nuxt/{IconCSS.34b3c9f7.js => IconCSS.e2ec596b.js} (68%) rename _nuxt/{Markdown.3a78880b.js => Markdown.e5a14b9c.js} (64%) rename _nuxt/{MarkdownBlock.5c16f3f7.js => MarkdownBlock.d370fd85.js} (55%) rename _nuxt/{ProseA.b574558f.js => ProseA.e0270ad6.js} (64%) rename _nuxt/{ProseBlockquote.ab20f73d.js => ProseBlockquote.6e6e5027.js} (66%) create mode 100644 _nuxt/ProseCode.03f0f345.js delete mode 100644 _nuxt/ProseCode.b809e3cb.js rename _nuxt/{ProseCode.vue.a5cbbc67.js => ProseCode.vue.0b4fe988.js} (80%) rename _nuxt/{ProseCodeInline.e61d49c7.js => ProseCodeInline.d6dbb4e1.js} (65%) rename _nuxt/{ProseEm.5a6bf1f5.js => ProseEm.6d7fa6f5.js} (65%) rename _nuxt/{ProseH1.b48b792c.js => ProseH1.f98e69e9.js} (71%) rename _nuxt/{ProseH2.f5fd5d93.js => ProseH2.d1004be5.js} (71%) rename _nuxt/{ProseH3.dc38f7b2.js => ProseH3.6ed6cbad.js} (71%) rename _nuxt/{ProseH4.d64cdd5c.js => ProseH4.ba54f1e5.js} (71%) rename _nuxt/{ProseH5.dbcc4a97.js => ProseH5.4de98f13.js} (71%) rename _nuxt/{ProseH6.aa8c3d17.js => ProseH6.9643f193.js} (71%) rename _nuxt/{ProseHr.c0217faf.js => ProseHr.51e3617d.js} (55%) rename _nuxt/{ProseImg.139209a9.js => ProseImg.9d71e083.js} (79%) rename _nuxt/{ProseLi.4197b727.js => ProseLi.5fd858ec.js} (65%) rename _nuxt/{ProseOl.56321916.js => ProseOl.65b02536.js} (65%) rename _nuxt/{ProseP.968984ab.js => ProseP.995dfc72.js} (65%) rename _nuxt/{ProsePre.5f2ab8ee.js => ProsePre.fa507e33.js} (74%) rename _nuxt/{ProseStrong.68b36035.js => ProseStrong.5e654747.js} (66%) rename _nuxt/{ProseTable.ae168cd6.js => ProseTable.e926655d.js} (66%) rename _nuxt/{ProseTbody.08d4406f.js => ProseTbody.62f2e954.js} (66%) rename _nuxt/{ProseTd.862dc0a0.js => ProseTd.4ac6e22f.js} (65%) rename _nuxt/{ProseTh.6633eafc.js => ProseTh.1731b67f.js} (65%) rename _nuxt/{ProseThead.5089f8d4.js => ProseThead.78458bda.js} (66%) rename _nuxt/{ProseTr.3032ee27.js => ProseTr.18ab5656.js} (65%) rename _nuxt/{ProseUl.9b70c295.js => ProseUl.e44e48c6.js} (65%) delete mode 100644 _nuxt/asyncData.e5943146.js create mode 100644 _nuxt/asyncData.fcd6c90e.js rename _nuxt/{client-db.9b09dc3e.js => client-db.c9ce8d36.js} (99%) rename _nuxt/{default.8e7f9b39.js => default.f5a9bb02.js} (89%) rename _nuxt/{document-driven.20d60d34.js => document-driven.0e7d7ebb.js} (71%) rename _nuxt/{entry.c4893e48.js => entry.e88d3eb4.js} (97%) rename _nuxt/{error-404.4c622416.js => error-404.13900278.js} (89%) rename _nuxt/{error-500.7731c918.js => error-500.4e570be8.js} (93%) rename _nuxt/{full-width.1eb10aa9.js => full-width.887ab33c.js} (90%) delete mode 100644 _nuxt/head.2422fb25.js create mode 100644 _nuxt/head.301052fa.js delete mode 100644 _nuxt/slot.6eb7d3c8.js create mode 100644 _nuxt/slot.e1bbff2e.js delete mode 100644 _nuxt/useStudio.63bcabb4.js create mode 100644 _nuxt/useStudio.6c6d9266.js delete mode 100644 api/_content/cache.1699528849637.json create mode 100644 api/_content/cache.1702389808057.json rename api/_content/navigation/{u7BbTyuhiE.1699528849637.json => u7BbTyuhiE.1702389808057.json} (100%) rename api/_content/query/{4iQohvzBYE.1699528849637.json => 4iQohvzBYE.1702389808057.json} (100%) rename api/_content/query/{NNoqIgVDSo.1699528849637.json => NNoqIgVDSo.1702389808057.json} (100%) rename api/_content/query/{brX4CwCJoQ.1699528849637.json => brX4CwCJoQ.1702389808057.json} (100%) rename api/_content/query/{xWeY3NfYtX.1699528849637.json => xWeY3NfYtX.1702389808057.json} (100%) diff --git a/200.html b/200.html index ff56946..56c7500 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 ff56946..56c7500 100644 --- a/404.html +++ b/404.html @@ -6,17 +6,17 @@ - - - - + + + + - - - - -
- + \ No newline at end of file diff --git a/_nuxt/ButtonLink.3cedb668.js b/_nuxt/ButtonLink.85a4d1e1.js similarity index 82% rename from _nuxt/ButtonLink.3cedb668.js rename to _nuxt/ButtonLink.85a4d1e1.js index cdf869f..24c63f2 100644 --- a/_nuxt/ButtonLink.3cedb668.js +++ b/_nuxt/ButtonLink.85a4d1e1.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,G as m}from"./entry.c4893e48.js";import{r as p}from"./slot.6eb7d3c8.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,V as l,f as i,W as u,E as m}from"./entry.e88d3eb4.js";import{r as p}from"./slot.e1bbff2e.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.08b296d2.js b/_nuxt/ContentDoc.de405911.js similarity index 75% rename from _nuxt/ContentDoc.08b296d2.js rename to _nuxt/ContentDoc.de405911.js index 97888fa..c47d228 100644 --- a/_nuxt/ContentDoc.08b296d2.js +++ b/_nuxt/ContentDoc.de405911.js @@ -1 +1 @@ -import{d as C,l as g,Z as v,$ as D,s as w,N as o}from"./entry.c4893e48.js";import{u as d}from"./head.2422fb25.js";import _ from"./ContentRenderer.34acffa2.js";import S from"./ContentQuery.7ac0822b.js";import"./ContentRendererMarkdown.vue.cb991cdf.js";import"./asyncData.e5943146.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}; +import{d as C,l as g,Y as v,Z as D,s as w,M as o}from"./entry.e88d3eb4.js";import{u as d}from"./head.301052fa.js";import _ from"./ContentRenderer.b14abe83.js";import S from"./ContentQuery.e79744ae.js";import"./ContentRendererMarkdown.vue.58e36687.js";import"./asyncData.fcd6c90e.js";const q=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=q;export{N as default}; diff --git a/_nuxt/ContentList.30317980.js b/_nuxt/ContentList.b88379d4.js similarity index 85% rename from _nuxt/ContentList.30317980.js rename to _nuxt/ContentList.b88379d4.js index b05c544..51e05e0 100644 --- a/_nuxt/ContentList.30317980.js +++ b/_nuxt/ContentList.b88379d4.js @@ -1 +1 @@ -import n from"./ContentQuery.7ac0822b.js";import{d as c,Z as l,N as f}from"./entry.c4893e48.js";import"./asyncData.e5943146.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.e79744ae.js";import{d as c,Y as l,M as f}from"./entry.e88d3eb4.js";import"./asyncData.fcd6c90e.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.661a055a.js b/_nuxt/ContentNavigation.a482b7f0.js similarity index 77% rename from _nuxt/ContentNavigation.661a055a.js rename to _nuxt/ContentNavigation.a482b7f0.js index 344568f..c83ee36 100644 --- a/_nuxt/ContentNavigation.661a055a.js +++ b/_nuxt/ContentNavigation.a482b7f0.js @@ -1 +1 @@ -import{u as d}from"./asyncData.e5943146.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.c4893e48.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.fcd6c90e.js";import{d as l,a0 as f,I as v,m as p,U as m,a1 as g,Y as h,a2 as y,M as r,E as _}from"./entry.e88d3eb4.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.7ac0822b.js b/_nuxt/ContentQuery.7ac0822b.js deleted file mode 100644 index 9ed96ca..0000000 --- a/_nuxt/ContentQuery.7ac0822b.js +++ /dev/null @@ -1 +0,0 @@ -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.c4893e48.js";import{u as O}from"./asyncData.e5943146.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/ContentQuery.e79744ae.js b/_nuxt/ContentQuery.e79744ae.js new file mode 100644 index 0000000..5cb9dad --- /dev/null +++ b/_nuxt/ContentQuery.e79744ae.js @@ -0,0 +1 @@ +import{d as g,a0 as C,I as S,l as b,$ as _,a1 as $,Y as k,q as m,M as A}from"./entry.e88d3eb4.js";import{u as N}from"./asyncData.fcd6c90e.js";const O=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(u){const{path:t,only:r,without:o,where:a,sort:l,limit:d,skip:f,locale:s,find:h}=C(u),y=S(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),p=!b().public.content.experimental.advanceQuery;_(()=>u,()=>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 N(`content-query-${$(u)}`,()=>{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)),a.value&&(e=e.where(a.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(u){var c;const t=k(),{data:r,refresh:o,isPartial:a,path:l,only:d,without:f,where:s,sort:h,limit:y,skip:p,locale:i,find:v}=u,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:a,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:a})}}),j=O;export{j as default}; diff --git a/_nuxt/ContentRenderer.34acffa2.js b/_nuxt/ContentRenderer.34acffa2.js deleted file mode 100644 index b670e20..0000000 --- a/_nuxt/ContentRenderer.34acffa2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l}from"./ContentRendererMarkdown.vue.cb991cdf.js";import{d as o,a0 as s,Z as d,N as f}from"./entry.c4893e48.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/ContentRenderer.b14abe83.js b/_nuxt/ContentRenderer.b14abe83.js new file mode 100644 index 0000000..05098e7 --- /dev/null +++ b/_nuxt/ContentRenderer.b14abe83.js @@ -0,0 +1 @@ +import{_ as l}from"./ContentRendererMarkdown.vue.58e36687.js";import{d as o,$ as s,Y as d,M as f}from"./entry.e88d3eb4.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.298ed8f4.js b/_nuxt/ContentRendererMarkdown.298ed8f4.js deleted file mode 100644 index 81724fd..0000000 --- a/_nuxt/ContentRendererMarkdown.298ed8f4.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ContentRendererMarkdown.vue.cb991cdf.js";import"./entry.c4893e48.js";export{m as default}; diff --git a/_nuxt/ContentRendererMarkdown.8f5763fd.js b/_nuxt/ContentRendererMarkdown.8f5763fd.js new file mode 100644 index 0000000..a2eb0ed --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.8f5763fd.js @@ -0,0 +1 @@ +import{_ as m}from"./ContentRendererMarkdown.vue.58e36687.js";import"./entry.e88d3eb4.js";export{m as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.cb991cdf.js b/_nuxt/ContentRendererMarkdown.vue.58e36687.js similarity index 99% rename from _nuxt/ContentRendererMarkdown.vue.cb991cdf.js rename to _nuxt/ContentRendererMarkdown.vue.58e36687.js index 5da9f4a..f8cf37c 100644 --- a/_nuxt/ContentRendererMarkdown.vue.cb991cdf.js +++ b/_nuxt/ContentRendererMarkdown.vue.58e36687.js @@ -1 +1 @@ -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.c4893e48.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,B as G,M as R,a8 as U,a9 as Q,aa as C,s as nn,ab as ln,ac as en,I as w,b as on,V as tn,N as rn}from"./entry.e88d3eb4.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.0b82b925.js b/_nuxt/ContentSlot.f1d5eeb1.js similarity index 85% rename from _nuxt/ContentSlot.0b82b925.js rename to _nuxt/ContentSlot.f1d5eeb1.js index fc5f59c..f127a68 100644 --- a/_nuxt/ContentSlot.0b82b925.js +++ b/_nuxt/ContentSlot.f1d5eeb1.js @@ -1 +1 @@ -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.c4893e48.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,Y as f,I as c,M as a,a7 as d}from"./entry.e88d3eb4.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.485176da.js b/_nuxt/DocumentDrivenEmpty.7ce35fd5.js similarity index 77% rename from _nuxt/DocumentDrivenEmpty.485176da.js rename to _nuxt/DocumentDrivenEmpty.7ce35fd5.js index 39b82b2..42f4411 100644 --- a/_nuxt/DocumentDrivenEmpty.485176da.js +++ b/_nuxt/DocumentDrivenEmpty.7ce35fd5.js @@ -1 +1 @@ -import{d as n,N as e}from"./entry.c4893e48.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,M as e}from"./entry.e88d3eb4.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.98d5cbbb.js b/_nuxt/DocumentDrivenNotFound.8a2860b1.js similarity index 59% rename from _nuxt/DocumentDrivenNotFound.98d5cbbb.js rename to _nuxt/DocumentDrivenNotFound.8a2860b1.js index 2470320..41550df 100644 --- a/_nuxt/DocumentDrivenNotFound.98d5cbbb.js +++ b/_nuxt/DocumentDrivenNotFound.8a2860b1.js @@ -1 +1 @@ -import{d as n,N as e}from"./entry.c4893e48.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; +import{d as n,M as e}from"./entry.e88d3eb4.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; diff --git a/_nuxt/IconCSS.34b3c9f7.js b/_nuxt/IconCSS.e2ec596b.js similarity index 68% rename from _nuxt/IconCSS.34b3c9f7.js rename to _nuxt/IconCSS.e2ec596b.js index 6b053cf..bc2808f 100644 --- a/_nuxt/IconCSS.34b3c9f7.js +++ b/_nuxt/IconCSS.e2ec596b.js @@ -1 +1 @@ -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.c4893e48.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,ag as _,x as d,I as o,b as m,c as f,ad as x,k as S}from"./entry.e88d3eb4.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=d(),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)=>(m(),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.3a78880b.js b/_nuxt/Markdown.e5a14b9c.js similarity index 64% rename from _nuxt/Markdown.3a78880b.js rename to _nuxt/Markdown.e5a14b9c.js index d90b63c..bc9bca0 100644 --- a/_nuxt/Markdown.3a78880b.js +++ b/_nuxt/Markdown.e5a14b9c.js @@ -1 +1 @@ -import s from"./ContentSlot.0b82b925.js";import{d as o,Z as u,J as f,a8 as m}from"./entry.c4893e48.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.f1d5eeb1.js";import{d as o,Y as u,I as f,a7 as m}from"./entry.e88d3eb4.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.5c16f3f7.js b/_nuxt/MarkdownBlock.d370fd85.js similarity index 55% rename from _nuxt/MarkdownBlock.5c16f3f7.js rename to _nuxt/MarkdownBlock.d370fd85.js index b3c84a0..cad1a31 100644 --- a/_nuxt/MarkdownBlock.5c16f3f7.js +++ b/_nuxt/MarkdownBlock.d370fd85.js @@ -1 +1 @@ -import{r}from"./slot.6eb7d3c8.js";import{k as e,b as t,c as s}from"./entry.c4893e48.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.e1bbff2e.js";import{k as e,b as t,c as s}from"./entry.e88d3eb4.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.b574558f.js b/_nuxt/ProseA.e0270ad6.js similarity index 64% rename from _nuxt/ProseA.b574558f.js rename to _nuxt/ProseA.e0270ad6.js index a90298b..4bfd857 100644 --- a/_nuxt/ProseA.b574558f.js +++ b/_nuxt/ProseA.e0270ad6.js @@ -1 +1 @@ -import{d as a,b as n,W as o,w as s,Y as f,G as u}from"./entry.c4893e48.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,V as o,w as s,X as f,E as u}from"./entry.e88d3eb4.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.ab20f73d.js b/_nuxt/ProseBlockquote.6e6e5027.js similarity index 66% rename from _nuxt/ProseBlockquote.ab20f73d.js rename to _nuxt/ProseBlockquote.6e6e5027.js index f65fd25..21434b5 100644 --- a/_nuxt/ProseBlockquote.ab20f73d.js +++ b/_nuxt/ProseBlockquote.6e6e5027.js @@ -1 +1 @@ -import{k as o,b as t,c,Y as r}from"./entry.c4893e48.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,X as r}from"./entry.e88d3eb4.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.03f0f345.js b/_nuxt/ProseCode.03f0f345.js new file mode 100644 index 0000000..ade3e34 --- /dev/null +++ b/_nuxt/ProseCode.03f0f345.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCode.vue.0b4fe988.js";import"./entry.e88d3eb4.js";export{m as default}; diff --git a/_nuxt/ProseCode.b809e3cb.js b/_nuxt/ProseCode.b809e3cb.js deleted file mode 100644 index dec9e39..0000000 --- a/_nuxt/ProseCode.b809e3cb.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCode.vue.a5cbbc67.js";import"./entry.c4893e48.js";export{m as default}; diff --git a/_nuxt/ProseCode.vue.a5cbbc67.js b/_nuxt/ProseCode.vue.0b4fe988.js similarity index 80% rename from _nuxt/ProseCode.vue.a5cbbc67.js rename to _nuxt/ProseCode.vue.0b4fe988.js index 6612210..a2d4193 100644 --- a/_nuxt/ProseCode.vue.a5cbbc67.js +++ b/_nuxt/ProseCode.vue.0b4fe988.js @@ -1 +1 @@ -import{d as t,Y as n}from"./entry.c4893e48.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,X as n}from"./entry.e88d3eb4.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.e61d49c7.js b/_nuxt/ProseCodeInline.d6dbb4e1.js similarity index 65% rename from _nuxt/ProseCodeInline.e61d49c7.js rename to _nuxt/ProseCodeInline.d6dbb4e1.js index e23abb0..bc23db1 100644 --- a/_nuxt/ProseCodeInline.e61d49c7.js +++ b/_nuxt/ProseCodeInline.d6dbb4e1.js @@ -1 +1 @@ -import{k as o,b as n,c as r,Y as c}from"./entry.c4893e48.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,X as c}from"./entry.e88d3eb4.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.5a6bf1f5.js b/_nuxt/ProseEm.6d7fa6f5.js similarity index 65% rename from _nuxt/ProseEm.5a6bf1f5.js rename to _nuxt/ProseEm.6d7fa6f5.js index 83561ed..65e9ef8 100644 --- a/_nuxt/ProseEm.5a6bf1f5.js +++ b/_nuxt/ProseEm.6d7fa6f5.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.c4893e48.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,X as t}from"./entry.e88d3eb4.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.b48b792c.js b/_nuxt/ProseH1.f98e69e9.js similarity index 71% rename from _nuxt/ProseH1.b48b792c.js rename to _nuxt/ProseH1.f98e69e9.js index 864cc3c..9e7b099 100644 --- a/_nuxt/ProseH1.b48b792c.js +++ b/_nuxt/ProseH1.f98e69e9.js @@ -1 +1 @@ -import{d as c,l as i,J as l,b as o,c as t,O as p,Y as n}from"./entry.c4893e48.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,I as l,b as o,c as t,N as p,X as n}from"./entry.e88d3eb4.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.f5fd5d93.js b/_nuxt/ProseH2.d1004be5.js similarity index 71% rename from _nuxt/ProseH2.f5fd5d93.js rename to _nuxt/ProseH2.d1004be5.js index 6e1836a..9197155 100644 --- a/_nuxt/ProseH2.f5fd5d93.js +++ b/_nuxt/ProseH2.d1004be5.js @@ -1 +1 @@ -import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.c4893e48.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,I as l,b as o,c as n,N as p,X as t}from"./entry.e88d3eb4.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.dc38f7b2.js b/_nuxt/ProseH3.6ed6cbad.js similarity index 71% rename from _nuxt/ProseH3.dc38f7b2.js rename to _nuxt/ProseH3.6ed6cbad.js index 15cd2d4..71f1f6a 100644 --- a/_nuxt/ProseH3.dc38f7b2.js +++ b/_nuxt/ProseH3.6ed6cbad.js @@ -1 +1 @@ -import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.c4893e48.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,I as l,b as o,c as n,N as p,X as t}from"./entry.e88d3eb4.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.d64cdd5c.js b/_nuxt/ProseH4.ba54f1e5.js similarity index 71% rename from _nuxt/ProseH4.d64cdd5c.js rename to _nuxt/ProseH4.ba54f1e5.js index df12c11..4d07d84 100644 --- a/_nuxt/ProseH4.d64cdd5c.js +++ b/_nuxt/ProseH4.ba54f1e5.js @@ -1 +1 @@ -import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.c4893e48.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,I as l,b as o,c as n,N as p,X as t}from"./entry.e88d3eb4.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.dbcc4a97.js b/_nuxt/ProseH5.4de98f13.js similarity index 71% rename from _nuxt/ProseH5.dbcc4a97.js rename to _nuxt/ProseH5.4de98f13.js index 618705e..4a3ac0e 100644 --- a/_nuxt/ProseH5.dbcc4a97.js +++ b/_nuxt/ProseH5.4de98f13.js @@ -1 +1 @@ -import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.c4893e48.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,I as l,b as o,c as n,N as p,X as t}from"./entry.e88d3eb4.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.aa8c3d17.js b/_nuxt/ProseH6.9643f193.js similarity index 71% rename from _nuxt/ProseH6.aa8c3d17.js rename to _nuxt/ProseH6.9643f193.js index f80ec62..9fe6d39 100644 --- a/_nuxt/ProseH6.aa8c3d17.js +++ b/_nuxt/ProseH6.9643f193.js @@ -1 +1 @@ -import{d as i,l as c,J as l,b as o,c as n,O as p,Y as t}from"./entry.c4893e48.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,I as l,b as o,c as n,N as p,X as t}from"./entry.e88d3eb4.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.c0217faf.js b/_nuxt/ProseHr.51e3617d.js similarity index 55% rename from _nuxt/ProseHr.c0217faf.js rename to _nuxt/ProseHr.51e3617d.js index 7e6efbe..a6379fa 100644 --- a/_nuxt/ProseHr.c0217faf.js +++ b/_nuxt/ProseHr.51e3617d.js @@ -1 +1 @@ -import{k as e,b as r,c}from"./entry.c4893e48.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.e88d3eb4.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; diff --git a/_nuxt/ProseImg.139209a9.js b/_nuxt/ProseImg.9d71e083.js similarity index 79% rename from _nuxt/ProseImg.139209a9.js rename to _nuxt/ProseImg.9d71e083.js index 351a920..2e9ca77 100644 --- a/_nuxt/ProseImg.139209a9.js +++ b/_nuxt/ProseImg.9d71e083.js @@ -1 +1 @@ -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.c4893e48.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,I as n,b as c,c as h,N as o,ae as l,Z as d,l as u,af as f}from"./entry.e88d3eb4.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.4197b727.js b/_nuxt/ProseLi.5fd858ec.js similarity index 65% rename from _nuxt/ProseLi.4197b727.js rename to _nuxt/ProseLi.5fd858ec.js index bb3f92b..faf9ee1 100644 --- a/_nuxt/ProseLi.4197b727.js +++ b/_nuxt/ProseLi.5fd858ec.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.c4893e48.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,X as t}from"./entry.e88d3eb4.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.56321916.js b/_nuxt/ProseOl.65b02536.js similarity index 65% rename from _nuxt/ProseOl.56321916.js rename to _nuxt/ProseOl.65b02536.js index 72f8194..488511d 100644 --- a/_nuxt/ProseOl.56321916.js +++ b/_nuxt/ProseOl.65b02536.js @@ -1 +1 @@ -import{k as o,b as r,c as s,Y as t}from"./entry.c4893e48.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,X as t}from"./entry.e88d3eb4.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.968984ab.js b/_nuxt/ProseP.995dfc72.js similarity index 65% rename from _nuxt/ProseP.968984ab.js rename to _nuxt/ProseP.995dfc72.js index ff5833a..5237608 100644 --- a/_nuxt/ProseP.968984ab.js +++ b/_nuxt/ProseP.995dfc72.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.c4893e48.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,X as t}from"./entry.e88d3eb4.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.5f2ab8ee.js b/_nuxt/ProsePre.fa507e33.js similarity index 74% rename from _nuxt/ProsePre.5f2ab8ee.js rename to _nuxt/ProsePre.fa507e33.js index 8b800a9..19299a6 100644 --- a/_nuxt/ProsePre.5f2ab8ee.js +++ b/_nuxt/ProsePre.fa507e33.js @@ -1 +1 @@ -import{_ as l}from"./ProseCode.vue.a5cbbc67.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.c4893e48.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.0b4fe988.js";import{d as n,b as s,V as i,w as r,e as o,n as u,ad as g,X as d}from"./entry.e88d3eb4.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.68b36035.js b/_nuxt/ProseStrong.5e654747.js similarity index 66% rename from _nuxt/ProseStrong.68b36035.js rename to _nuxt/ProseStrong.5e654747.js index 776d31d..4b068e8 100644 --- a/_nuxt/ProseStrong.68b36035.js +++ b/_nuxt/ProseStrong.5e654747.js @@ -1 +1 @@ -import{k as r,b as o,c as t,Y as n}from"./entry.c4893e48.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,X as n}from"./entry.e88d3eb4.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.ae168cd6.js b/_nuxt/ProseTable.e926655d.js similarity index 66% rename from _nuxt/ProseTable.ae168cd6.js rename to _nuxt/ProseTable.e926655d.js index ff1d4ef..6fb8265 100644 --- a/_nuxt/ProseTable.ae168cd6.js +++ b/_nuxt/ProseTable.e926655d.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.08d4406f.js b/_nuxt/ProseTbody.62f2e954.js similarity index 66% rename from _nuxt/ProseTbody.08d4406f.js rename to _nuxt/ProseTbody.62f2e954.js index 252f462..9eba9c9 100644 --- a/_nuxt/ProseTbody.08d4406f.js +++ b/_nuxt/ProseTbody.62f2e954.js @@ -1 +1 @@ -import{k as o,b as r,c as t,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.862dc0a0.js b/_nuxt/ProseTd.4ac6e22f.js similarity index 65% rename from _nuxt/ProseTd.862dc0a0.js rename to _nuxt/ProseTd.4ac6e22f.js index c156b1a..7fb221c 100644 --- a/_nuxt/ProseTd.862dc0a0.js +++ b/_nuxt/ProseTd.4ac6e22f.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.6633eafc.js b/_nuxt/ProseTh.1731b67f.js similarity index 65% rename from _nuxt/ProseTh.6633eafc.js rename to _nuxt/ProseTh.1731b67f.js index 3529950..ab42bba 100644 --- a/_nuxt/ProseTh.6633eafc.js +++ b/_nuxt/ProseTh.1731b67f.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.5089f8d4.js b/_nuxt/ProseThead.78458bda.js similarity index 66% rename from _nuxt/ProseThead.5089f8d4.js rename to _nuxt/ProseThead.78458bda.js index fbe0d7c..f2ec2d8 100644 --- a/_nuxt/ProseThead.5089f8d4.js +++ b/_nuxt/ProseThead.78458bda.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.3032ee27.js b/_nuxt/ProseTr.18ab5656.js similarity index 65% rename from _nuxt/ProseTr.3032ee27.js rename to _nuxt/ProseTr.18ab5656.js index ebadbb4..0bb27bc 100644 --- a/_nuxt/ProseTr.3032ee27.js +++ b/_nuxt/ProseTr.18ab5656.js @@ -1 +1 @@ -import{k as r,b as t,c as o,Y as s}from"./entry.c4893e48.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,X as s}from"./entry.e88d3eb4.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.9b70c295.js b/_nuxt/ProseUl.e44e48c6.js similarity index 65% rename from _nuxt/ProseUl.9b70c295.js rename to _nuxt/ProseUl.e44e48c6.js index d43028e..041eab4 100644 --- a/_nuxt/ProseUl.9b70c295.js +++ b/_nuxt/ProseUl.e44e48c6.js @@ -1 +1 @@ -import{k as r,b as o,c as s,Y as t}from"./entry.c4893e48.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,X as t}from"./entry.e88d3eb4.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.e5943146.js b/_nuxt/asyncData.e5943146.js deleted file mode 100644 index cc80803..0000000 --- a/_nuxt/asyncData.e5943146.js +++ /dev/null @@ -1 +0,0 @@ -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.c4893e48.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/asyncData.fcd6c90e.js b/_nuxt/asyncData.fcd6c90e.js new file mode 100644 index 0000000..449c2e3 --- /dev/null +++ b/_nuxt/asyncData.fcd6c90e.js @@ -0,0 +1 @@ +import{a3 as g,j as v,r as y,a4 as P,a5 as w,a as m,$ as x,N as b,a6 as C,a7 as O}from"./entry.e88d3eb4.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}; diff --git a/_nuxt/client-db.9b09dc3e.js b/_nuxt/client-db.c9ce8d36.js similarity index 99% rename from _nuxt/client-db.9b09dc3e.js rename to _nuxt/client-db.c9ce8d36.js index 842b830..97866f7 100644 --- a/_nuxt/client-db.9b09dc3e.js +++ b/_nuxt/client-db.c9ce8d36.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.c4893e48.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{ab as _,ah as T,ai as j,aj as E,ak as W,al as B,am as $,an as P,ao as x,af as b,a9 as k,l as M,ap as J,ac as U,aq as H,j as q}from"./entry.e88d3eb4.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.8e7f9b39.js b/_nuxt/default.f5a9bb02.js similarity index 89% rename from _nuxt/default.8e7f9b39.js rename to _nuxt/default.f5a9bb02.js index 24d2c9d..9712d5c 100644 --- a/_nuxt/default.8e7f9b39.js +++ b/_nuxt/default.f5a9bb02.js @@ -1 +1 @@ -import{k as e,c as o,e as a,Y as s,b as n}from"./entry.c4893e48.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,X as s,b as n}from"./entry.e88d3eb4.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.20d60d34.js b/_nuxt/document-driven.0e7d7ebb.js similarity index 71% rename from _nuxt/document-driven.20d60d34.js rename to _nuxt/document-driven.0e7d7ebb.js index 44daba3..10f488b 100644 --- a/_nuxt/document-driven.20d60d34.js +++ b/_nuxt/document-driven.0e7d7ebb.js @@ -1 +1 @@ -import h from"./DocumentDrivenEmpty.485176da.js";import L from"./ContentRenderer.34acffa2.js";import R from"./DocumentDrivenNotFound.98d5cbbb.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.c4893e48.js";import{u as I}from"./head.2422fb25.js";import"./ContentRendererMarkdown.vue.cb991cdf.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}; +import h from"./DocumentDrivenEmpty.7ce35fd5.js";import L from"./ContentRenderer.b14abe83.js";import R from"./DocumentDrivenNotFound.8a2860b1.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,A as w,S as D,Q as E,R as H,l as O,U as $,b as d,c as q,g as f,w as _,V as v}from"./entry.e88d3eb4.js";import{u as I}from"./head.301052fa.js";import"./ContentRendererMarkdown.vue.58e36687.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}; diff --git a/_nuxt/entry.c4893e48.js b/_nuxt/entry.e88d3eb4.js similarity index 97% rename from _nuxt/entry.c4893e48.js rename to _nuxt/entry.e88d3eb4.js index 2b4e3b9..7e1897b 100644 --- a/_nuxt/entry.c4893e48.js +++ b/_nuxt/entry.e88d3eb4.js @@ -4,6 +4,6 @@ Use "options.replacer" or "options.ignoreUnknown" * 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 Eo(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 Co(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 ns=new Map;function im(e,t){ns.set(e,t)}function am(e){const t=ns.get(e);return ns.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:Pm(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:xm(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 xm(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 Pm(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 Ds(e){return encodeURI(""+e).replace(Lm,"|").replace(Am,"[").replace(Im,"]")}function Nm(e){return Ds(e).replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function rs(e){return Ds(e).replace(jl,"%2B").replace(Mm,"+").replace(Hl,"%23").replace(Tm,"%26").replace(Om,"`").replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function $m(e){return rs(e).replace(km,"%3D")}function Hm(e){return Ds(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&&rs(s)):[r&&rs(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(""),Us=Symbol(""),zs=Symbol(""),os=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 xo(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(Us),n=Me(zs),r=fe(()=>t.resolve(oe(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[oe(e.replace)?"replace":"push"](oe(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(Us),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(os),o=fe(()=>e.route||r.value),s=Me(va,0),i=fe(()=>{let l=oe(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(os,o);const c=Pe();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=Eo.bind(null,T=>""+T),f=Eo.bind(null,jm),d=Eo.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=Co(n,T,F.path),x=t.resolve({path:w.path},F),R=o.createHref(w.fullPath);return ce(w,x,{params:d(x.params),hash:Ur(w.hash),redirectedFrom:void 0,href:R})}let N;if("path"in T)N=ce({},T,{path:Co(n,T.path,F.path).path});else{const w=ce({},T.params);for(const x in w)w[x]==null&&delete w[x];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"?Co(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 P(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 x=N;x.redirectedFrom=F;let R;return!p&&Gg(r,z,N)&&(R=_n(16,{to:x,from:z}),Ge(z,z,!0,!1)),(R?Promise.resolve(R):$(x,z)).catch(A=>ct(A)?ct(A,2)?A:gt(A):ie(A,x,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||x)}else A=j(x,z,!0,m,ae);return Q(x,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=xo(z.reverse(),"beforeRouteLeave",T,F);for(const w of z)w.leaveGuards.forEach(x=>{N.push(Et(x,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=xo(ae,"beforeRouteUpdate",T,F);for(const w of ae)w.updateGuards.forEach(x=>{N.push(Et(x,T,F))});return N.push(m),Te(N)}).then(()=>{N=[];for(const w of p)if(w.beforeEnter)if(Xe(w.beforeEnter))for(const x of w.beforeEnter)N.push(Et(x,T,F));else N.push(Et(w.beforeEnter,T,F));return N.push(m),Te(N)}).then(()=>(T.matched.forEach(w=>w.enterCallbacks={}),N=xo(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(),se;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 se&&c.value!==et?Promise.resolve():new Promise((T,F)=>{ye.add([T,F])})}function gt(T){return se||(se=!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:P,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:()=>oe(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(Us,F),T.provide(zs,Tt(N)),T.provide(os,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,se=!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 l0(){return Me(zs)}const xa=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>J(()=>import("./document-driven.20d60d34.js"),["./document-driven.20d60d34.js","./DocumentDrivenEmpty.485176da.js","./ContentRenderer.34acffa2.js","./ContentRendererMarkdown.vue.cb991cdf.js","./DocumentDrivenNotFound.98d5cbbb.js","./head.2422fb25.js"],import.meta.url).then(e=>e.default||e)}],Ym={scrollBehavior(e,t,n){var l;const r=le(),o=((l=Ke().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:Pa(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??ts),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:Pa(e.hash),behavior:o}),u(s)})})}};function Pa(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=Ke();if(([t,n]=jr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Bs({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,xa))??xa;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,P,k;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((k=(P=g.matched[0])==null?void 0:P.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 P of _.matched){const k=P.meta.middleware;if(k)if(Array.isArray(k))for(const O of k)v.add(O);else v.add(k)}for(const P of v){const k=typeof P=="string"?e._middleware.named[P]||await((E=zn[P])==null?void 0:E.call(zn).then(S=>S.default||S)):P;if(!k)throw new Error(`Unknown route middleware: '${P}'.`);const O=await e.runWithContext(()=>k(_,g));if(!e.payload.serverRendered&&e.isHydrating&&(O===!1||O instanceof Error)){const S=O||Go({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(Go({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){Ke().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await sa(t.path);r&&Object.assign(e.static.data,r.data)}),Pl(()=>{e.hooks.hook("link:prefetch",async t=>{or(t).protocol||await sa(t)})})}}),ry=G(()=>J(()=>import("./ButtonLink.3cedb668.js"),["./ButtonLink.3cedb668.js","./slot.6eb7d3c8.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),oy=G(()=>J(()=>import("./MarkdownBlock.5c16f3f7.js"),["./MarkdownBlock.5c16f3f7.js","./slot.6eb7d3c8.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),sy=G(()=>J(()=>import("./ContentDoc.08b296d2.js"),["./ContentDoc.08b296d2.js","./head.2422fb25.js","./ContentRenderer.34acffa2.js","./ContentRendererMarkdown.vue.cb991cdf.js","./ContentQuery.7ac0822b.js","./asyncData.e5943146.js"],import.meta.url).then(e=>e.default)),iy=G(()=>J(()=>import("./ContentList.30317980.js"),["./ContentList.30317980.js","./ContentQuery.7ac0822b.js","./asyncData.e5943146.js"],import.meta.url).then(e=>e.default)),ay=G(()=>J(()=>import("./ContentNavigation.661a055a.js"),["./ContentNavigation.661a055a.js","./asyncData.e5943146.js"],import.meta.url).then(e=>e.default)),cy=G(()=>J(()=>import("./ContentQuery.7ac0822b.js"),["./ContentQuery.7ac0822b.js","./asyncData.e5943146.js"],import.meta.url).then(e=>e.default)),ly=G(()=>J(()=>import("./ContentRenderer.34acffa2.js"),["./ContentRenderer.34acffa2.js","./ContentRendererMarkdown.vue.cb991cdf.js"],import.meta.url).then(e=>e.default)),uy=G(()=>J(()=>import("./ContentRendererMarkdown.298ed8f4.js"),["./ContentRendererMarkdown.298ed8f4.js","./ContentRendererMarkdown.vue.cb991cdf.js"],import.meta.url).then(e=>e.default)),fy=G(()=>J(()=>import("./ContentSlot.0b82b925.js"),["./ContentSlot.0b82b925.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),dy=G(()=>J(()=>import("./DocumentDrivenEmpty.485176da.js"),[],import.meta.url).then(e=>e.default)),hy=G(()=>J(()=>import("./DocumentDrivenNotFound.98d5cbbb.js"),[],import.meta.url).then(e=>e.default)),py=G(()=>J(()=>import("./Markdown.3a78880b.js"),["./Markdown.3a78880b.js","./ContentSlot.0b82b925.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),gy=G(()=>J(()=>import("./ProseCode.b809e3cb.js"),["./ProseCode.b809e3cb.js","./ProseCode.vue.a5cbbc67.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),my=G(()=>J(()=>import("./ProseCodeInline.e61d49c7.js"),[],import.meta.url).then(e=>e.default)),yy=G(()=>J(()=>import("./ProsePre.5f2ab8ee.js"),["./ProsePre.5f2ab8ee.js","./ProseCode.vue.a5cbbc67.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),_y=G(()=>J(()=>import("./ProseA.b574558f.js"),[],import.meta.url).then(e=>e.default)),vy=G(()=>J(()=>import("./ProseBlockquote.ab20f73d.js"),[],import.meta.url).then(e=>e.default)),by=G(()=>J(()=>import("./ProseEm.5a6bf1f5.js"),[],import.meta.url).then(e=>e.default)),wy=G(()=>J(()=>import("./ProseH1.b48b792c.js"),[],import.meta.url).then(e=>e.default)),Ey=G(()=>J(()=>import("./ProseH2.f5fd5d93.js"),[],import.meta.url).then(e=>e.default)),Cy=G(()=>J(()=>import("./ProseH3.dc38f7b2.js"),[],import.meta.url).then(e=>e.default)),xy=G(()=>J(()=>import("./ProseH4.d64cdd5c.js"),[],import.meta.url).then(e=>e.default)),Py=G(()=>J(()=>import("./ProseH5.dbcc4a97.js"),[],import.meta.url).then(e=>e.default)),Ty=G(()=>J(()=>import("./ProseH6.aa8c3d17.js"),[],import.meta.url).then(e=>e.default)),Sy=G(()=>J(()=>import("./ProseHr.c0217faf.js"),[],import.meta.url).then(e=>e.default)),ky=G(()=>J(()=>import("./ProseImg.139209a9.js"),[],import.meta.url).then(e=>e.default)),Ry=G(()=>J(()=>import("./ProseLi.4197b727.js"),[],import.meta.url).then(e=>e.default)),Ay=G(()=>J(()=>import("./ProseOl.56321916.js"),[],import.meta.url).then(e=>e.default)),Iy=G(()=>J(()=>import("./ProseP.968984ab.js"),[],import.meta.url).then(e=>e.default)),Oy=G(()=>J(()=>import("./ProseStrong.68b36035.js"),[],import.meta.url).then(e=>e.default)),Ly=G(()=>J(()=>import("./ProseTable.ae168cd6.js"),[],import.meta.url).then(e=>e.default)),My=G(()=>J(()=>import("./ProseTbody.08d4406f.js"),[],import.meta.url).then(e=>e.default)),Ny=G(()=>J(()=>import("./ProseTd.862dc0a0.js"),[],import.meta.url).then(e=>e.default)),$y=G(()=>J(()=>import("./ProseTh.6633eafc.js"),[],import.meta.url).then(e=>e.default)),Hy=G(()=>J(()=>import("./ProseThead.5089f8d4.js"),[],import.meta.url).then(e=>e.default)),jy=G(()=>J(()=>import("./ProseTr.3032ee27.js"),[],import.meta.url).then(e=>e.default)),By=G(()=>J(()=>import("./ProseUl.9b70c295.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.34b3c9f7.js"),["./IconCSS.34b3c9f7.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",xy],["ProseH5",Py],["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.8e7f9b39.js"),[],import.meta.url).then(e=>e.default||e),"full-width":()=>J(()=>import("./full-width.1eb10aa9.js"),[],import.meta.url).then(e=>e.default||e)},Ky=it({name:"nuxt:prefetch",setup(e){const t=Ke();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=xt("color-mode",()=>st({preference:lt.preference,value:lt.value,unknown:!1,forced:!1})).value;Ke().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=xt("dd-pages",()=>St(Tt({}))),t=xt("dd-surrounds",()=>St(Tt({}))),n=xt("dd-navigation"),r=xt("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 Ks(e){return JSON.stringify(e,s_)}function s_(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ql=e=>{let t=Ks(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("/")},Vs=()=>({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:Vs().isEnabled()},Ta=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),qs=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),u0=e=>t=>e&&e.length?qs(t,n=>!e.includes(n)):t,f0=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}},d0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return qs(t,o=>!r.includes(o)&&!n.includes(o[0]))},h0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return qs(t,o=>r.includes(o)||n.includes(o[0]))},p0=(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},g0=(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.9b09dc3e.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:Ks(n),previewToken:Vs().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=Vo(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.9b09dc3e.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:Ks(n),previewToken:Vs().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,P])=>{if(!y&&E.value[v])return E.value[v];let k="findOne";return P!=null&&P.type&&(k=P.type),Er(P)[k]().catch(()=>null)})).then(v=>v.reduce((P,k,O)=>{const S=Object.keys(t.globals)[O];return P[S]=k,P},{}))};_.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,P])=>{var O,S;g&&(r.value=g),E&&(s.value=E),P&&(i.value[C]=P);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:P})})};{const h=Ke();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,xl,[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=xt("studio-client-db",()=>null);async function s(){const i=await J(()=>import("./useStudio.63bcabb4.js"),["./useStudio.63bcabb4.js","./asyncData.e5943146.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=Ke(),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())||""}),ss=(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=Pe(),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=ss(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??ts),y=h&&b_([e.transition,l.route.meta.pageTransition,ts,{onAfterLeave:()=>{r.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=y_($s,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&&ss({route:t,Component:n})!==ss({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]}})}),x_=Ae({name:"Html",inheritAttrs:!1,props:{...Xl,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:Yl(e=>({htmlAttrs:e}),!0)}),P_=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=Ke();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 Pn(()=>{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=Pe(0),n=Pe(!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}),Ws=Object.freeze({...Gl,...Zl});Object.freeze({...Ws,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={...Ws,...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"},is={backgroundColor:"currentColor"},nu={backgroundColor:"transparent"},Ra={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:is,mask:is,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?is: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_({...Ws,...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&&!xr(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&&!xr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!xr(a,n)?null:a}return null},xr=(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}),Qs=Object.freeze({...ru,...Kr}),as=Object.freeze({...Qs,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 as)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,as))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,as))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 Js(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(!xr({provider:t,prefix:n,name:"a"}))return!1;const r=Qt(t,n);return!!Js(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 cs=Object.create(null);function sv(e,t){cs[e]=t}function ls(e){return cs[e]||cs[""]}function Ys(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"],Pr=[];for(;An.length>0;)An.length===1||Math.random()>.5?Pr.push(An.shift()):Pr.push(An.pop());Xs[""]=Ys({resources:["https://api.iconify.design"].concat(Pr)});function iv(e,t){const n=Ys(t);return n===null?!1:(Xs[e]=n,!0)}function Gs(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=Gs(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=Gs(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?P():g());return}if(y(),E(),!e.random){const $=e.resources.indexOf(k.resource);$!==-1&&$!==e.index&&(e.index=$)}c="completed",h.forEach($=>{$(S)})}function P(){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(P,e.rotate),n(k,t,O.callback)}return setTimeout(P),_}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 To=Object.create(null);function wv(e){if(!To[e]){const t=Gs(e);if(!t)return;const n=cu(t),r={config:t,redundancy:n};To[e]=r}return To[e]}function Ev(e,t,n){let r,o;if(typeof e=="string"){const s=ls(e);if(!s)return n(void 0,424),Na;o=s.send;const i=wv(e);i&&(r=i.redundancy)}else{const s=Ys(e);if(s){r=cu(s);const i=e.resources?e.resources[0]:"",a=ls(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 us(e,t){try{return e.getItem(t)}catch{}}function Zs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ja(e,t){try{e.removeItem(t)}catch{}}function fs(e,t){return Zs(e,lu,t.toString())}function ds(e){return parseInt(us(e,lu))||0}const io={local:!0,session:!0},fu={local:new Set,session:new Set};let ei=!1;function xv(e){ei=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=us(n,Ha);if(r!==$a){if(r){const a=ds(n);for(let c=0;c{const c=er+a.toString(),l=us(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=ds(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,fs(n,i)):fu[e].add(a))}function pu(){if(!ei){xv(!0);for(const e in io)hu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Qt(r,o);if(!Js(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function Pv(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){ei||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=ds(o),!fs(o,i+1))return;const a={cached:Math.floor(Date.now()/uu),provider:e.provider,data:t};return Zs(o,er+i.toString(),JSON.stringify(a))}t.lastModified&&!Pv(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=ls(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=Js(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({...Qs,...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 So={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";So[e+"-flip"]=t,So[e.slice(0,1)+"-flip"]=t,So[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)}}}}({...Qs});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=Fs(),i=xt("icons",()=>({})),a=Pe(!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?(pe(),De("span",{key:0,class:Ct(d.value),style:fn({width:f.value,height:f.value})},null,6)):l.value?(pe(),je(oe(W_),{key:1,icon:l.value,class:Ct(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):u.value?(pe(),je(Nc(u.value),{key:2,class:Ct(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(pe(),De("span",{key:3,class:Ct(d.value),style:fn({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[As(y.$slots,"default",{},()=>[to(Ya(e.name),1)],!0)],6))}});const ti=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ni=ti(Ov,[["__scopeId","data-v-b79d0df8"]]),Lv=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"})),Mv=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Pe(!1);return xn(()=>{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 De(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 pe(),je(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Cn(()=>[As(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Hv=ti(Nv,[["render",$v]]),jv=()=>xt("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=ni,i=Hv;return pe(),De("button",{"aria-label":"Color Mode",class:"inline-block w-5",onClick:n},[te(i,{placeholder:"..."},{default:Cn(()=>[oe(t).value==="dark"?(pe(),De(Ee,{key:0},[te(s,{name:"dark-mode",class:"w-5 h-5"}),Bv],64)):(pe(),De(Ee,{key:1},[te(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=["href"],Qv=Ae({__name:"AppNavbar",setup(e){const{navigation:t}=n_(),n=Fs();return(r,o)=>{var c,l,u,f,d,h;const s=Og,i=ni,a=Dv;return pe(),De("div",Uv,[gn("div",zv,[(pe(!0),De(Ee,null,zf(oe(t),y=>(pe(),je(s,{key:y._path,to:y._path,"active-class":"font-bold",class:"mr-6"},{default:Cn(()=>[to(Ya(y.title),1)]),_:2},1032,["to"]))),128))]),gn("div",Kv,[(c=oe(n).socials)!=null&&c.twitter?(pe(),De("a",{key:0,href:`https://twitter.com/${(l=oe(n).socials)==null?void 0:l.twitter}`,title:"Twitter",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:twitter",class:"w-5 h-5"})],8,Vv)):go("",!0),(u=oe(n).socials)!=null&&u.github?(pe(),De("a",{key:1,href:`https://github.com/${(f=oe(n).socials)==null?void 0:f.github}`,title:"GitHub",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:github",class:"w-5 h-5"})],8,qv)):go("",!0),(d=oe(n).socials)!=null&&d.mastodon?(pe(),De("a",{key:2,href:`https://elk.zone/${(h=oe(n).socials)==null?void 0:h.mastodon}`,title:"Mastodon",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:mastodon",class:"w-5 h-5"})],8,Wv)):go("",!0),te(a,{class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"})])])}}}),Jv={class:"sm:pt-6 sm:pb-10"},Yv=Ae({__name:"AppLayout",setup(e){const{cover:t}=Fs();return(n,r)=>{const o=x_,s=C_,i=P_,a=Qv;return pe(),De("div",Jv,[te(o,{lang:"en"}),te(s,{property:"og:image",content:oe(t)},null,8,["content"]),te(s,{name:"twitter:card",content:"summary_large_image"}),te(i),te(a),As(n.$slots,"default")])}}});const Xv={};function Gv(e,t){const n=__,r=Yv;return pe(),je(r,null,{default:Cn(()=>[te(n)]),_:1})}const Zv=ti(Xv,[["render",Gv]]),e0={__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 Eo(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 Co(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 ns=new Map;function im(e,t){ns.set(e,t)}function am(e){const t=ns.get(e);return ns.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:Pm(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:xm(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 xm(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 Pm(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 Ds(e){return encodeURI(""+e).replace(Lm,"|").replace(Am,"[").replace(Im,"]")}function Nm(e){return Ds(e).replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function rs(e){return Ds(e).replace(jl,"%2B").replace(Mm,"+").replace(Hl,"%23").replace(Tm,"%26").replace(Om,"`").replace(Fl,"{").replace(Dl,"}").replace(Bl,"^")}function $m(e){return rs(e).replace(km,"%3D")}function Hm(e){return Ds(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&&rs(s)):[r&&rs(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(""),Us=Symbol(""),zs=Symbol(""),os=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 xo(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(Us),n=Me(zs),r=fe(()=>t.resolve(oe(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[oe(e.replace)?"replace":"push"](oe(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(Us),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(os),o=fe(()=>e.route||r.value),s=Me(va,0),i=fe(()=>{let l=oe(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(os,o);const c=Pe();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=Eo.bind(null,T=>""+T),f=Eo.bind(null,jm),d=Eo.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=Co(n,T,F.path),x=t.resolve({path:w.path},F),R=o.createHref(w.fullPath);return ce(w,x,{params:d(x.params),hash:Ur(w.hash),redirectedFrom:void 0,href:R})}let N;if("path"in T)N=ce({},T,{path:Co(n,T.path,F.path).path});else{const w=ce({},T.params);for(const x in w)w[x]==null&&delete w[x];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"?Co(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 P(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 x=N;x.redirectedFrom=F;let R;return!p&&Gg(r,z,N)&&(R=_n(16,{to:x,from:z}),Ge(z,z,!0,!1)),(R?Promise.resolve(R):$(x,z)).catch(A=>ct(A)?ct(A,2)?A:gt(A):ie(A,x,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||x)}else A=j(x,z,!0,m,ae);return Q(x,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=xo(z.reverse(),"beforeRouteLeave",T,F);for(const w of z)w.leaveGuards.forEach(x=>{N.push(Et(x,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=xo(ae,"beforeRouteUpdate",T,F);for(const w of ae)w.updateGuards.forEach(x=>{N.push(Et(x,T,F))});return N.push(m),Te(N)}).then(()=>{N=[];for(const w of p)if(w.beforeEnter)if(Xe(w.beforeEnter))for(const x of w.beforeEnter)N.push(Et(x,T,F));else N.push(Et(w.beforeEnter,T,F));return N.push(m),Te(N)}).then(()=>(T.matched.forEach(w=>w.enterCallbacks={}),N=xo(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(),se;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 se&&c.value!==et?Promise.resolve():new Promise((T,F)=>{ye.add([T,F])})}function gt(T){return se||(se=!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:P,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:()=>oe(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(Us,F),T.provide(zs,Tt(N)),T.provide(os,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,se=!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 l0(){return Me(zs)}const xa=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>J(()=>import("./document-driven.0e7d7ebb.js"),["./document-driven.0e7d7ebb.js","./DocumentDrivenEmpty.7ce35fd5.js","./ContentRenderer.b14abe83.js","./ContentRendererMarkdown.vue.58e36687.js","./DocumentDrivenNotFound.8a2860b1.js","./head.301052fa.js"],import.meta.url).then(e=>e.default||e)}],Ym={scrollBehavior(e,t,n){var l;const r=le(),o=((l=Ke().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:Pa(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??ts),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:Pa(e.hash),behavior:o}),u(s)})})}};function Pa(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=Ke();if(([t,n]=jr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Bs({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,xa))??xa;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,P,k;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((k=(P=g.matched[0])==null?void 0:P.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 P of _.matched){const k=P.meta.middleware;if(k)if(Array.isArray(k))for(const O of k)v.add(O);else v.add(k)}for(const P of v){const k=typeof P=="string"?e._middleware.named[P]||await((E=zn[P])==null?void 0:E.call(zn).then(S=>S.default||S)):P;if(!k)throw new Error(`Unknown route middleware: '${P}'.`);const O=await e.runWithContext(()=>k(_,g));if(!e.payload.serverRendered&&e.isHydrating&&(O===!1||O instanceof Error)){const S=O||Go({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(Go({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){Ke().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await sa(t.path);r&&Object.assign(e.static.data,r.data)}),Pl(()=>{e.hooks.hook("link:prefetch",async t=>{or(t).protocol||await sa(t)})})}}),ry=G(()=>J(()=>import("./ButtonLink.85a4d1e1.js"),["./ButtonLink.85a4d1e1.js","./slot.e1bbff2e.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),oy=G(()=>J(()=>import("./MarkdownBlock.d370fd85.js"),["./MarkdownBlock.d370fd85.js","./slot.e1bbff2e.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),sy=G(()=>J(()=>import("./ContentDoc.de405911.js"),["./ContentDoc.de405911.js","./head.301052fa.js","./ContentRenderer.b14abe83.js","./ContentRendererMarkdown.vue.58e36687.js","./ContentQuery.e79744ae.js","./asyncData.fcd6c90e.js"],import.meta.url).then(e=>e.default)),iy=G(()=>J(()=>import("./ContentList.b88379d4.js"),["./ContentList.b88379d4.js","./ContentQuery.e79744ae.js","./asyncData.fcd6c90e.js"],import.meta.url).then(e=>e.default)),ay=G(()=>J(()=>import("./ContentNavigation.a482b7f0.js"),["./ContentNavigation.a482b7f0.js","./asyncData.fcd6c90e.js"],import.meta.url).then(e=>e.default)),cy=G(()=>J(()=>import("./ContentQuery.e79744ae.js"),["./ContentQuery.e79744ae.js","./asyncData.fcd6c90e.js"],import.meta.url).then(e=>e.default)),ly=G(()=>J(()=>import("./ContentRenderer.b14abe83.js"),["./ContentRenderer.b14abe83.js","./ContentRendererMarkdown.vue.58e36687.js"],import.meta.url).then(e=>e.default)),uy=G(()=>J(()=>import("./ContentRendererMarkdown.8f5763fd.js"),["./ContentRendererMarkdown.8f5763fd.js","./ContentRendererMarkdown.vue.58e36687.js"],import.meta.url).then(e=>e.default)),fy=G(()=>J(()=>import("./ContentSlot.f1d5eeb1.js"),["./ContentSlot.f1d5eeb1.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),dy=G(()=>J(()=>import("./DocumentDrivenEmpty.7ce35fd5.js"),[],import.meta.url).then(e=>e.default)),hy=G(()=>J(()=>import("./DocumentDrivenNotFound.8a2860b1.js"),[],import.meta.url).then(e=>e.default)),py=G(()=>J(()=>import("./Markdown.e5a14b9c.js"),["./Markdown.e5a14b9c.js","./ContentSlot.f1d5eeb1.js","./node.e4a9c3bc.js"],import.meta.url).then(e=>e.default)),gy=G(()=>J(()=>import("./ProseCode.03f0f345.js"),["./ProseCode.03f0f345.js","./ProseCode.vue.0b4fe988.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),my=G(()=>J(()=>import("./ProseCodeInline.d6dbb4e1.js"),[],import.meta.url).then(e=>e.default)),yy=G(()=>J(()=>import("./ProsePre.fa507e33.js"),["./ProsePre.fa507e33.js","./ProseCode.vue.0b4fe988.js","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),_y=G(()=>J(()=>import("./ProseA.e0270ad6.js"),[],import.meta.url).then(e=>e.default)),vy=G(()=>J(()=>import("./ProseBlockquote.6e6e5027.js"),[],import.meta.url).then(e=>e.default)),by=G(()=>J(()=>import("./ProseEm.6d7fa6f5.js"),[],import.meta.url).then(e=>e.default)),wy=G(()=>J(()=>import("./ProseH1.f98e69e9.js"),[],import.meta.url).then(e=>e.default)),Ey=G(()=>J(()=>import("./ProseH2.d1004be5.js"),[],import.meta.url).then(e=>e.default)),Cy=G(()=>J(()=>import("./ProseH3.6ed6cbad.js"),[],import.meta.url).then(e=>e.default)),xy=G(()=>J(()=>import("./ProseH4.ba54f1e5.js"),[],import.meta.url).then(e=>e.default)),Py=G(()=>J(()=>import("./ProseH5.4de98f13.js"),[],import.meta.url).then(e=>e.default)),Ty=G(()=>J(()=>import("./ProseH6.9643f193.js"),[],import.meta.url).then(e=>e.default)),Sy=G(()=>J(()=>import("./ProseHr.51e3617d.js"),[],import.meta.url).then(e=>e.default)),ky=G(()=>J(()=>import("./ProseImg.9d71e083.js"),[],import.meta.url).then(e=>e.default)),Ry=G(()=>J(()=>import("./ProseLi.5fd858ec.js"),[],import.meta.url).then(e=>e.default)),Ay=G(()=>J(()=>import("./ProseOl.65b02536.js"),[],import.meta.url).then(e=>e.default)),Iy=G(()=>J(()=>import("./ProseP.995dfc72.js"),[],import.meta.url).then(e=>e.default)),Oy=G(()=>J(()=>import("./ProseStrong.5e654747.js"),[],import.meta.url).then(e=>e.default)),Ly=G(()=>J(()=>import("./ProseTable.e926655d.js"),[],import.meta.url).then(e=>e.default)),My=G(()=>J(()=>import("./ProseTbody.62f2e954.js"),[],import.meta.url).then(e=>e.default)),Ny=G(()=>J(()=>import("./ProseTd.4ac6e22f.js"),[],import.meta.url).then(e=>e.default)),$y=G(()=>J(()=>import("./ProseTh.1731b67f.js"),[],import.meta.url).then(e=>e.default)),Hy=G(()=>J(()=>import("./ProseThead.78458bda.js"),[],import.meta.url).then(e=>e.default)),jy=G(()=>J(()=>import("./ProseTr.18ab5656.js"),[],import.meta.url).then(e=>e.default)),By=G(()=>J(()=>import("./ProseUl.e44e48c6.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.e2ec596b.js"),["./IconCSS.e2ec596b.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",xy],["ProseH5",Py],["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.f5a9bb02.js"),[],import.meta.url).then(e=>e.default||e),"full-width":()=>J(()=>import("./full-width.887ab33c.js"),[],import.meta.url).then(e=>e.default||e)},Ky=it({name:"nuxt:prefetch",setup(e){const t=Ke();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=xt("color-mode",()=>st({preference:lt.preference,value:lt.value,unknown:!1,forced:!1})).value;Ke().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=xt("dd-pages",()=>St(Tt({}))),t=xt("dd-surrounds",()=>St(Tt({}))),n=xt("dd-navigation"),r=xt("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 Ks(e){return JSON.stringify(e,s_)}function s_(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ql=e=>{let t=Ks(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("/")},Vs=()=>({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:Vs().isEnabled()},Ta=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),qs=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),u0=e=>t=>e&&e.length?qs(t,n=>!e.includes(n)):t,f0=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}},d0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return qs(t,o=>!r.includes(o)&&!n.includes(o[0]))},h0=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Ql(e);return qs(t,o=>r.includes(o)||n.includes(o[0]))},p0=(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},g0=(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.c9ce8d36.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:Ks(n),previewToken:Vs().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=Vo(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.c9ce8d36.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:Ks(n),previewToken:Vs().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,P])=>{if(!y&&E.value[v])return E.value[v];let k="findOne";return P!=null&&P.type&&(k=P.type),Er(P)[k]().catch(()=>null)})).then(v=>v.reduce((P,k,O)=>{const S=Object.keys(t.globals)[O];return P[S]=k,P},{}))};_.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,P])=>{var O,S;g&&(r.value=g),E&&(s.value=E),P&&(i.value[C]=P);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:P})})};{const h=Ke();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,xl,[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=xt("studio-client-db",()=>null);async function s(){const i=await J(()=>import("./useStudio.6c6d9266.js"),["./useStudio.6c6d9266.js","./asyncData.fcd6c90e.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=Ke(),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())||""}),ss=(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=Pe(),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=ss(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??ts),y=h&&b_([e.transition,l.route.meta.pageTransition,ts,{onAfterLeave:()=>{r.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=y_($s,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&&ss({route:t,Component:n})!==ss({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]}})}),x_=Ae({name:"Html",inheritAttrs:!1,props:{...Xl,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:Yl(e=>({htmlAttrs:e}),!0)}),P_=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=Ke();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 Pn(()=>{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=Pe(0),n=Pe(!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}),Ws=Object.freeze({...Gl,...Zl});Object.freeze({...Ws,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={...Ws,...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"},is={backgroundColor:"currentColor"},nu={backgroundColor:"transparent"},Ra={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:is,mask:is,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?is: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_({...Ws,...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&&!xr(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&&!xr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!xr(a,n)?null:a}return null},xr=(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}),Qs=Object.freeze({...ru,...Kr}),as=Object.freeze({...Qs,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 as)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,as))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,as))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 Js(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(!xr({provider:t,prefix:n,name:"a"}))return!1;const r=Qt(t,n);return!!Js(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 cs=Object.create(null);function sv(e,t){cs[e]=t}function ls(e){return cs[e]||cs[""]}function Ys(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"],Pr=[];for(;An.length>0;)An.length===1||Math.random()>.5?Pr.push(An.shift()):Pr.push(An.pop());Xs[""]=Ys({resources:["https://api.iconify.design"].concat(Pr)});function iv(e,t){const n=Ys(t);return n===null?!1:(Xs[e]=n,!0)}function Gs(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=Gs(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=Gs(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?P():g());return}if(y(),E(),!e.random){const $=e.resources.indexOf(k.resource);$!==-1&&$!==e.index&&(e.index=$)}c="completed",h.forEach($=>{$(S)})}function P(){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(P,e.rotate),n(k,t,O.callback)}return setTimeout(P),_}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 To=Object.create(null);function wv(e){if(!To[e]){const t=Gs(e);if(!t)return;const n=cu(t),r={config:t,redundancy:n};To[e]=r}return To[e]}function Ev(e,t,n){let r,o;if(typeof e=="string"){const s=ls(e);if(!s)return n(void 0,424),Na;o=s.send;const i=wv(e);i&&(r=i.redundancy)}else{const s=Ys(e);if(s){r=cu(s);const i=e.resources?e.resources[0]:"",a=ls(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 us(e,t){try{return e.getItem(t)}catch{}}function Zs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ja(e,t){try{e.removeItem(t)}catch{}}function fs(e,t){return Zs(e,lu,t.toString())}function ds(e){return parseInt(us(e,lu))||0}const io={local:!0,session:!0},fu={local:new Set,session:new Set};let ei=!1;function xv(e){ei=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=us(n,Ha);if(r!==$a){if(r){const a=ds(n);for(let c=0;c{const c=er+a.toString(),l=us(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=ds(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,fs(n,i)):fu[e].add(a))}function pu(){if(!ei){xv(!0);for(const e in io)hu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Qt(r,o);if(!Js(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function Pv(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){ei||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=ds(o),!fs(o,i+1))return;const a={cached:Math.floor(Date.now()/uu),provider:e.provider,data:t};return Zs(o,er+i.toString(),JSON.stringify(a))}t.lastModified&&!Pv(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=ls(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=Js(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({...Qs,...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 So={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";So[e+"-flip"]=t,So[e.slice(0,1)+"-flip"]=t,So[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)}}}}({...Qs});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=Fs(),i=xt("icons",()=>({})),a=Pe(!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?(pe(),De("span",{key:0,class:Ct(d.value),style:fn({width:f.value,height:f.value})},null,6)):l.value?(pe(),je(oe(W_),{key:1,icon:l.value,class:Ct(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):u.value?(pe(),je(Nc(u.value),{key:2,class:Ct(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(pe(),De("span",{key:3,class:Ct(d.value),style:fn({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[As(y.$slots,"default",{},()=>[to(Ya(e.name),1)],!0)],6))}});const ti=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ni=ti(Ov,[["__scopeId","data-v-b79d0df8"]]),Lv=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"})),Mv=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Pe(!1);return xn(()=>{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 De(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 pe(),je(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Cn(()=>[As(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Hv=ti(Nv,[["render",$v]]),jv=()=>xt("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=ni,i=Hv;return pe(),De("button",{"aria-label":"Color Mode",class:"inline-block w-5",onClick:n},[te(i,{placeholder:"..."},{default:Cn(()=>[oe(t).value==="dark"?(pe(),De(Ee,{key:0},[te(s,{name:"dark-mode",class:"w-5 h-5"}),Bv],64)):(pe(),De(Ee,{key:1},[te(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=["href"],Qv=Ae({__name:"AppNavbar",setup(e){const{navigation:t}=n_(),n=Fs();return(r,o)=>{var c,l,u,f,d,h;const s=Og,i=ni,a=Dv;return pe(),De("div",Uv,[gn("div",zv,[(pe(!0),De(Ee,null,zf(oe(t),y=>(pe(),je(s,{key:y._path,to:y._path,"active-class":"font-bold",class:"mr-6"},{default:Cn(()=>[to(Ya(y.title),1)]),_:2},1032,["to"]))),128))]),gn("div",Kv,[(c=oe(n).socials)!=null&&c.twitter?(pe(),De("a",{key:0,href:`https://twitter.com/${(l=oe(n).socials)==null?void 0:l.twitter}`,title:"Twitter",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:twitter",class:"w-5 h-5"})],8,Vv)):go("",!0),(u=oe(n).socials)!=null&&u.github?(pe(),De("a",{key:1,href:`https://github.com/${(f=oe(n).socials)==null?void 0:f.github}`,title:"GitHub",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:github",class:"w-5 h-5"})],8,qv)):go("",!0),(d=oe(n).socials)!=null&&d.mastodon?(pe(),De("a",{key:2,href:`https://elk.zone/${(h=oe(n).socials)==null?void 0:h.mastodon}`,title:"Mastodon",class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"},[te(i,{name:"fa-brands:mastodon",class:"w-5 h-5"})],8,Wv)):go("",!0),te(a,{class:"dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300"})])])}}}),Jv={class:"sm:pt-6 sm:pb-10"},Yv=Ae({__name:"AppLayout",setup(e){const{cover:t}=Fs();return(n,r)=>{const o=x_,s=C_,i=P_,a=Qv;return pe(),De("div",Jv,[te(o,{lang:"en"}),te(s,{property:"og:image",content:oe(t)},null,8,["content"]),te(s,{name:"twitter:card",content:"summary_large_image"}),te(i),te(a),As(n.$slots,"default")])}}});const Xv={};function Gv(e,t){const n=__,r=Yv;return pe(),je(r,null,{default:Cn(()=>[te(n)]),_:1})}const Zv=ti(Xv,[["render",Gv]]),e0={__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.4c622416.js"),["./error-404.4c622416.js","./error-404.1b80d82b.css"],import.meta.url).then(f=>f.default||f)):G(()=>J(()=>import("./error-500.7731c918.js"),["./error-500.7731c918.js","./error-500.331c2e95.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(pe(),je(oe(u),Su(Xc({statusCode:oe(r),statusMessage:oe(s),description:oe(i),stack:oe(a)})),null,16))}},t0=e0,n0={__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)=>(pe(),je(Cc,{onResolve:oe(r)},{default:Cn(()=>[oe(s)?(pe(),je(oe(t0),{key:0,error:oe(s)},null,8,["error"])):oe(i)?(pe(),je(oe(t),{key:1,context:oe(i)},null,8,["context"])):oe(o)?(pe(),je(Nc(oe(o)),{key:2})):(pe(),je(oe(Zv),{key:3}))]),_:1},8,["onResolve"]))}},za=n0;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,ne as C,Up as D,to as E,Ee as F,Og as G,Me as H,l0 as I,fe as J,Mn as K,c0 as L,y_ as M,Ne as N,oe as O,no as P,fd as Q,un as R,Cc as S,$s as T,ng as U,n_ as V,je as W,ni as X,As as Y,i0 as Z,J as _,Zr as a,rt as a0,r0 as a1,Dr as a2,l_ as a3,Pl as a4,gc as a5,Hf as a6,Bs as a7,Mt as a8,Uf as a9,t_ as aa,dn as ab,Xn as ac,Vs as ad,fn as ae,Vo as af,Tn as ag,a0 as ah,Ta as ai,g0 as aj,ut as ak,u0 as al,p0 as am,f0 as an,d0 as ao,h0 as ap,a_ as aq,il as ar,pe as b,De as c,Ae as d,gn as e,go as f,te as g,br as h,s0 as i,le as j,ti as k,Ye as l,xt as m,Ct as n,xn as o,o0 as p,Er as q,Pe as r,Wt as s,Ya as t,Ke as u,pl as v,Cn as w,Fs 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.13900278.js"),["./error-404.13900278.js","./error-404.1b80d82b.css"],import.meta.url).then(f=>f.default||f)):G(()=>J(()=>import("./error-500.4e570be8.js"),["./error-500.4e570be8.js","./error-500.331c2e95.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(pe(),je(oe(u),Su(Xc({statusCode:oe(r),statusMessage:oe(s),description:oe(i),stack:oe(a)})),null,16))}},t0=e0,n0={__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)=>(pe(),je(Cc,{onResolve:oe(r)},{default:Cn(()=>[oe(s)?(pe(),je(oe(t0),{key:0,error:oe(s)},null,8,["error"])):oe(i)?(pe(),je(oe(t),{key:1,context:oe(i)},null,8,["context"])):oe(o)?(pe(),je(Nc(oe(o)),{key:2})):(pe(),je(oe(Zv),{key:3}))]),_:1},8,["onResolve"]))}},za=n0;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{rt as $,Jt as A,ne as B,Up as C,to as D,Og as E,Ee as F,Me as G,l0 as H,fe as I,Mn as J,c0 as K,y_ as L,Ne as M,oe as N,fd as O,no as P,un as Q,ng as R,Cc as S,$s as T,n_ as U,je as V,ni as W,As as X,i0 as Y,Nr as Z,J as _,Zr as a,r0 as a0,Dr as a1,l_ as a2,Pl as a3,gc as a4,Hf as a5,Bs as a6,Mt as a7,Uf as a8,t_ as a9,dn as aa,Xn as ab,Vs as ac,fn as ad,Vo as ae,Tn as af,a0 as ag,Ta as ah,g0 as ai,ut as aj,u0 as ak,p0 as al,f0 as am,d0 as an,h0 as ao,a_ as ap,il as aq,pe as b,De as c,Ae as d,gn as e,go as f,te as g,br as h,s0 as i,le as j,ti as k,Ye as l,xt as m,Ct as n,xn as o,o0 as p,Er as q,Pe as r,Wt as s,Ya as t,Ke as u,pl as v,Cn as w,Fs as x,Vd as y,tn as z}; diff --git a/_nuxt/error-404.4c622416.js b/_nuxt/error-404.13900278.js similarity index 89% rename from _nuxt/error-404.4c622416.js rename to _nuxt/error-404.13900278.js index 15520f5..8755ccc 100644 --- a/_nuxt/error-404.4c622416.js +++ b/_nuxt/error-404.13900278.js @@ -1 +1 @@ -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.c4893e48.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}; +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.e88d3eb4.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}; diff --git a/_nuxt/error-500.7731c918.js b/_nuxt/error-500.4e570be8.js similarity index 93% rename from _nuxt/error-500.7731c918.js rename to _nuxt/error-500.4e570be8.js index 3d6f0f0..ff0d139 100644 --- a/_nuxt/error-500.7731c918.js +++ b/_nuxt/error-500.4e570be8.js @@ -1 +1 @@ -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.c4893e48.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,C as a,b as r,c as n,e,t as s,p as l,i as d}from"./entry.e88d3eb4.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.1eb10aa9.js b/_nuxt/full-width.887ab33c.js similarity index 90% rename from _nuxt/full-width.1eb10aa9.js rename to _nuxt/full-width.887ab33c.js index ad973ca..4928fa5 100644 --- a/_nuxt/full-width.1eb10aa9.js +++ b/_nuxt/full-width.887ab33c.js @@ -1 +1 @@ -import{k as o,c as a,e as r,Y as s,b as t}from"./entry.c4893e48.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,X as s,b as t}from"./entry.e88d3eb4.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.2422fb25.js b/_nuxt/head.2422fb25.js deleted file mode 100644 index ac12872..0000000 --- a/_nuxt/head.2422fb25.js +++ /dev/null @@ -1 +0,0 @@ -import{O as o,a0 as f,s as l,B as p,D as g,l as h}from"./entry.c4893e48.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/head.301052fa.js b/_nuxt/head.301052fa.js new file mode 100644 index 0000000..0cf6225 --- /dev/null +++ b/_nuxt/head.301052fa.js @@ -0,0 +1 @@ +import{N as o,$ as f,s as l,A as p,C as g,l as h}from"./entry.e88d3eb4.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}; diff --git a/_nuxt/slot.6eb7d3c8.js b/_nuxt/slot.6eb7d3c8.js deleted file mode 100644 index ce91e79..0000000 --- a/_nuxt/slot.6eb7d3c8.js +++ /dev/null @@ -1 +0,0 @@ -import{f as u}from"./node.e4a9c3bc.js";import{Y as n}from"./entry.c4893e48.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/slot.e1bbff2e.js b/_nuxt/slot.e1bbff2e.js new file mode 100644 index 0000000..ec0a5f6 --- /dev/null +++ b/_nuxt/slot.e1bbff2e.js @@ -0,0 +1 @@ +import{f as u}from"./node.e4a9c3bc.js";import{X as n}from"./entry.e88d3eb4.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.63bcabb4.js b/_nuxt/useStudio.63bcabb4.js deleted file mode 100644 index 3134ac9..0000000 --- a/_nuxt/useStudio.63bcabb4.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 ue,C as F}from"./entry.c4893e48.js";import{r as ve}from"./asyncData.e5943146.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.6c6d9266.js b/_nuxt/useStudio.6c6d9266.js new file mode 100644 index 0000000..ded5fd5 --- /dev/null +++ b/_nuxt/useStudio.6c6d9266.js @@ -0,0 +1 @@ +import{d as ee,u as W,r as L,o as te,_ as ne,a as oe,b as q,c as $,n as ie,F as se,e as y,f as M,g as B,w as D,T as z,t as ae,h as H,p as re,i as ce,j as Z,k as de,l as le,m as V,q as ue,s as E,v as K,x as G,y as pe,z as fe,A as ve,B as U}from"./entry.e88d3eb4.js";import{r as we}from"./asyncData.fcd6c90e.js";function J(e,o,r=".",d){if(!F(o))return J(e,{},r,d);const u=Object.assign({},o);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const f=e[i];f!=null&&(d&&d(u,i,f,r)||(Array.isArray(f)&&Array.isArray(u[i])?u[i]=[...f,...u[i]]:F(f)&&F(u[i])?u[i]=J(f,u[i],(r?`${r}.`:"")+i.toString(),d):u[i]=f))}return u}function F(e){if(e===null||typeof e!="object")return!1;const o=Object.getPrototypeOf(e);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _e(e){return(...o)=>o.reduce((r,d)=>J(r,d,"",e),{})}const j=_e(),b=e=>(re("data-v-d2c7d0ba"),e=e(),ce(),e),ye=b(()=>y("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[y("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)),he=b(()=>y("span",null,"Preview mode enabled",-1)),me={key:0},ge=b(()=>y("div",{id:"__preview_background"},null,-1)),ke=b(()=>y("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[y("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)),Ce=b(()=>y("p",null,"Initializing the preview...",-1)),Pe={key:0},Se=b(()=>y("div",{id:"__preview_background"},null,-1)),Ie={id:"__preview_loader"},Te=ee({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(e){const o=e,r=["__nuxt_preview","__preview_enabled"],d=Z(),u=W(),i=L(!0),f=L(!1),a=L(!1),p=L("");let c;const m=async()=>{H("previewToken").value="",window.sessionStorage.removeItem("previewToken"),await u.replace({query:{preview:void 0}}),window.location.reload()},A=async T=>{const h=await o.syncPreview(T);if(a.value!==!0){if(!h){setTimeout(()=>A(T),1e3);return}H("previewToken").value&&(a.value=!0,await u.replace({query:{}}),d.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&c.disconnect())}};return te(async()=>{c=(await ne(()=>import("./index.17e44084.js"),[],import.meta.url)).connect(`${o.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:o.previewToken}});let h;c.on("connect",()=>{h=setTimeout(()=>{a.value||(h=setTimeout(()=>{p.value="Preview sync timed out",a.value=!1},3e4),c.emit("draft:requestSync"))},3e4)});const P=()=>{h&&(clearTimeout(h),h=null)};c.on("draft:sync",async S=>{if(P(),!S){try{c.once("draft:ready",()=>{c.emit("draft:requestSync")}),await o.requestPreviewSyncAPI()}catch(R){switch(P(),R.response.status){case 404:p.value="Preview draft not found",a.value=!1;break;default:p.value="An error occurred while syncing preview",a.value=!1}}return}A(S)}),c.on("draft:unauthorized",()=>{P(),p.value="Unauthorized preview token",a.value=!1}),c.on("disconnect",()=>{P()}),document.body.classList.add(...r),c.on("draft:update",S=>{f.value=!0,o.syncPreview(S),f.value=!1})}),oe(()=>{document.body.classList.remove(...r)}),(T,h)=>(q(),$("div",null,[i.value?(q(),$("div",{key:0,id:"__nuxt_preview",class:ie({__preview_ready:a.value,__preview_refreshing:f.value})},[a.value?(q(),$(se,{key:0},[ye,he,y("button",{onClick:m}," Close ")],64)):M("",!0)],2)):M("",!0),B(z,{name:"preview-loading"},{default:D(()=>[i.value&&!a.value&&!p.value?(q(),$("div",me,[ge,y("div",{id:"__preview_loader"},[ke,Ce,y("button",{onClick:m}," Cancel ")])])):M("",!0)]),_:1}),B(z,{name:"preview-loading"},{default:D(()=>[p.value?(q(),$("div",Pe,[Se,y("div",Ie,[y("p",null,ae(p.value),1),y("button",{onClick:m}," Exit preview ")])])):M("",!0)]),_:1})]))}});const xe=de(Te,[["__scopeId","data-v-d2c7d0ba"]]),be=(e=[],o,r)=>{const d=[...o||[]],u=[...r||[]],i=JSON.parse(JSON.stringify(e));for(const a of d)if(a.oldPath)if(u.splice(u.findIndex(c=>c.path===a.oldPath),1),d.find(c=>c.path===a.oldPath))i.push({path:a.path,parsed:a.parsed});else{const c=i.find(m=>m.path===a.oldPath);c&&(c.path=a.path,a.parsed?c.parsed=a.parsed:a.pathMeta&&["_file","_path","_id","_locale"].forEach(m=>{c.parsed[m]=a.pathMeta[m]}))}else if(a.new)i.push({path:a.path,parsed:a.parsed});else{const p=i.find(c=>c.path===a.path);p&&Object.assign(p,{path:a.path,parsed:a.parsed})}for(const a of u)i.splice(i.findIndex(p=>p.path===a.path),1);const f=new Intl.Collator(void 0,{numeric:!0});return i.sort((a,p)=>f.compare(a.path,p.path)),i},C={appConfig:"app.config.ts",tokensConfig:"tokens.config.ts"},Ae=e=>{let o;return(...r)=>(o||(o=e()),o)};function Q(e,o){for(const r in e){const d=o[r];r in o||delete e[r],d!==null&&typeof d=="object"&&Q(e[r],o[r])}}function X(e,o){for(const r in o){const d=o[r];d!==null&&typeof d=="object"?(e[r]=e[r]||{},X(e[r],d)):e[r]=d}}const Re=Ae(()=>JSON.parse(JSON.stringify(G()))),Oe=()=>{const e=Z(),{studio:o,content:r}=le().public,d=Re();let u;const i=V("studio-client-db",()=>null),f=V("studio-preview-db-files",()=>[]);i.value||(e.hook("content:storage",t=>{i.value=t}),ue("/non-existing-path").findOne());const a=async(t,s,l=!0)=>{const w=window.sessionStorage.getItem("previewToken"),_=await t.getKeys(`${w}:`);await Promise.all(_.map(v=>t.removeItem(v)));const n=new Set(s.map(v=>v.parsed._id.split(":").shift()));await t.setItem(`${w}$`,JSON.stringify({ignoreSources:Array.from(n)})),await Promise.all(s.map(v=>t.setItem(`${w}:${v.parsed._id}`,JSON.stringify(v.parsed))))},p=t=>{const s=K(e,G);X(s,j(t,d)),t||Q(s,d)},c=t=>{var l,w,_,n;const s=(n=(_=(w=(l=e==null?void 0:e.vueApp)==null?void 0:l._context)==null?void 0:w.config)==null?void 0:_.globalProperties)==null?void 0:n.$pinceauTheme;!s||!(s!=null&&s.updateTheme)||(u||(u=JSON.parse(JSON.stringify((s==null?void 0:s.theme.value)||{}))),K(e,s.updateTheme,[j(t,u)]))},m=async t=>{if(f.value=t.files=t.files||f.value||[],!i.value)return!1;const s=be(t.files,t.additions,t.deletions),l=s.filter(n=>![C.appConfig,C.tokensConfig].includes(n.path));await a(i.value,l,(t.files||[]).length!==0);const w=s.find(n=>n.path===C.appConfig);p(w==null?void 0:w.parsed);const _=s.find(n=>n.path===C.tokensConfig);return c(_==null?void 0:_.parsed),R(),!0},A=async()=>{const t=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:o==null?void 0:o.apiURL,method:"POST",params:{token:t}})},T=()=>{const t=window.sessionStorage.getItem("previewToken"),s=document.createElement("div");s.id="__nuxt_preview_wrapper",document.body.appendChild(s),pe(xe,{previewToken:t,apiURL:o==null?void 0:o.apiURL,syncPreview:m,requestPreviewSyncAPI:A}).mount(s)},h=async t=>{var w,_,n;const s=window.sessionStorage.getItem("previewToken");if(!t)return null;t=t.replace(/\/$/,"");let l=await((w=i.value)==null?void 0:w.getItem(`${s}:${t}`));return l||(l=await((_=i.value)==null?void 0:_.getItem(`cached:${t}`))),l||(l=l=await((n=i.value)==null?void 0:n.getItem(t))),l},P=t=>{var l;const s=window.sessionStorage.getItem("previewToken");i.value&&i.value.setItem(`${s}:${(l=t.parsed)==null?void 0:l._id}`,JSON.stringify(t.parsed))},S=async t=>{var l;const s=window.sessionStorage.getItem("previewToken");await((l=i.value)==null?void 0:l.removeItem(`${s}:${t}`))},R=async()=>{if(r!=null&&r.documentDriven){const{pages:t}=K(e,fe);for(const s in t.value)t.value[s]&&(t.value[s]=await h(t.value[s]._id))}ve(()=>{K(e,we)})};return{apiURL:o==null?void 0:o.apiURL,contentStorage:i,syncPreviewFiles:a,syncPreviewAppConfig:p,syncPreviewTokensConfig:c,requestPreviewSynchronization:A,findContentWithId:h,updateContent:P,removeContentWithId:S,requestRerender:R,mountPreviewUI:T,initiateIframeCommunication:Y};function Y(){if(!window.parent||window.self===window.parent)return;const t=W(),s=E(),l=L(""),w=n=>({path:n.path,query:U(n.query),params:U(n.params),fullPath:n.fullPath,meta:U(n.meta)});window.addEventListener("keydown",n=>{(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:n.key,metaKey:n.metaKey,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,altKey:n.altKey}},"*")}),window.addEventListener("message",async n=>{if(!["https://nuxt.studio","https://dev.nuxt.studio"].includes(n.origin))return;const{type:v,payload:x={}}=n.data||{};switch(v){case"nuxt-studio:editor:file-selected":{const g=await h(x.path);g&&(g._partial||g._path!==E().path&&(l.value=g._path,t.push(g._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:g=[],deletions:N=[]}=x;for(const k of g)await P(k);for(const k of N)await S(k.path);R();break}case"nuxt-studio:preview:sync":{m(x);break}case"nuxt-studio:config:file-changed":{const{additions:g=[],deletions:N=[]}=x,k=g.find(I=>I.path===C.appConfig);k&&p(k==null?void 0:k.parsed),N.find(I=>I.path===C.appConfig)&&p(void 0);const O=g.find(I=>I.path===C.tokensConfig);O&&c(O==null?void 0:O.parsed),N.find(I=>I.path===C.tokensConfig)&&c(void 0);break}}}),e.hook("page:finish",()=>{_()}),e.hook("content:document-driven:finish",({route:n,page:v})=>{n.meta.studio_page_contentId=v==null?void 0:v._id}),e.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:w(E())},"*"),setTimeout(()=>{_()},100)});function _(){const n=Array.from(window.document.querySelectorAll("[data-content-id]")).map(x=>x.getAttribute("data-content-id")),v=Array.from(new Set([s.meta.studio_page_contentId,...n])).filter(Boolean);if(l.value===v[0]){l.value="";return}window.openContentInStudioEditor(v,{navigate:!0,pageContentId:s.meta.studio_page_contentId})}window.openContentInStudioEditor=(n,v={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...w(s),contentIds:n,...v}},"*")}}};export{Oe as useStudio}; diff --git a/_payload.json b/_payload.json index 6bc65b5..4a1deb1 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1699528871656] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1702389821744] \ No newline at end of file diff --git a/about/_payload.json b/about/_payload.json index cf255b6..1046a2b 100644 --- a/about/_payload.json +++ b/about/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3},["Reactive",2],{},1699528873182] \ No newline at end of file +[{"data":1,"prerenderedAt":3},["Reactive",2],{},1702389822610] \ No newline at end of file diff --git a/about/index.html b/about/index.html index 136b905..fa2710b 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.1699528849637.json b/api/_content/cache.1699528849637.json deleted file mode 100644 index b2cc062..0000000 --- a/api/_content/cache.1699528849637.json +++ /dev/null @@ -1 +0,0 @@ -{"generatedAt":1699528871531,"generateTime":1516,"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":"Generated navigation from pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Leverage TailwindCSS Typography"}]},{"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/components/AppNavbar.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.nuxt.com/usage/navigation","rel":["nofollow"]},"children":[{"type":"text","value":"Navigation"}]},{"type":"text","value":" 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 mastodon?: 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:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" mastodon"}]},{"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":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":"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 mastodon: '@atinux@webtoo.ls'\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":" mastodon: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'@atinux@webtoo.ls'"}]}]},{"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":"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/nuxt-modules/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.nuxt.com/get-started/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/.demo/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.nuxt.com/components/content-slot","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.nuxt.com/usage/markdown","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.1702389808057.json b/api/_content/cache.1702389808057.json new file mode 100644 index 0000000..96d9d09 --- /dev/null +++ b/api/_content/cache.1702389808057.json @@ -0,0 +1 @@ +{"generatedAt":1702389821657,"generateTime":855,"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":"Generated navigation from pages"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Leverage TailwindCSS Typography"}]},{"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/components/AppNavbar.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.nuxt.com/usage/navigation","rel":["nofollow"]},"children":[{"type":"text","value":"Navigation"}]},{"type":"text","value":" 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 mastodon?: 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:#E36209;--shiki-dark:#FFAB70"},"children":[{"type":"text","value":" mastodon"}]},{"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":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":"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 mastodon: '@atinux@webtoo.ls'\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":" mastodon: "}]},{"type":"element","tag":"span","props":{"style":"color:#032F62;--shiki-dark:#9ECBFF"},"children":[{"type":"text","value":"'@atinux@webtoo.ls'"}]}]},{"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":"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/nuxt-modules/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.nuxt.com/get-started/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/.demo/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.nuxt.com/components/content-slot","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.nuxt.com/usage/markdown","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.1699528849637.json b/api/_content/navigation/u7BbTyuhiE.1702389808057.json similarity index 100% rename from api/_content/navigation/u7BbTyuhiE.1699528849637.json rename to api/_content/navigation/u7BbTyuhiE.1702389808057.json diff --git a/api/_content/query/4iQohvzBYE.1699528849637.json b/api/_content/query/4iQohvzBYE.1702389808057.json similarity index 100% rename from api/_content/query/4iQohvzBYE.1699528849637.json rename to api/_content/query/4iQohvzBYE.1702389808057.json diff --git a/api/_content/query/NNoqIgVDSo.1699528849637.json b/api/_content/query/NNoqIgVDSo.1702389808057.json similarity index 100% rename from api/_content/query/NNoqIgVDSo.1699528849637.json rename to api/_content/query/NNoqIgVDSo.1702389808057.json diff --git a/api/_content/query/brX4CwCJoQ.1699528849637.json b/api/_content/query/brX4CwCJoQ.1702389808057.json similarity index 100% rename from api/_content/query/brX4CwCJoQ.1699528849637.json rename to api/_content/query/brX4CwCJoQ.1702389808057.json diff --git a/api/_content/query/xWeY3NfYtX.1699528849637.json b/api/_content/query/xWeY3NfYtX.1702389808057.json similarity index 100% rename from api/_content/query/xWeY3NfYtX.1699528849637.json rename to api/_content/query/xWeY3NfYtX.1702389808057.json diff --git a/index.html b/index.html index 6a4040a..ae8d602 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
  • Generated navigation from pages
  • Leverage TailwindCSS Typography
  • 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 <AppNavbar> component to see how it works.

It uses the Navigation 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    mastodon?: string  }}

Example of settings Twitter and GitHub icons in the navbar:

export default defineAppConfig({  socials: {    twitter: 'Atinux',    github: 'Atinux/content-wind'    mastodon: '@atinux@webtoo.ls'  }})

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
+

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
  • Generated navigation from pages
  • Leverage TailwindCSS Typography
  • 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 <AppNavbar> component to see how it works.

It uses the Navigation 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    mastodon?: string  }}

Example of settings Twitter and GitHub icons in the navbar:

export default defineAppConfig({  socials: {    twitter: 'Atinux',    github: 'Atinux/content-wind'    mastodon: '@atinux@webtoo.ls'  }})

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