From 8d2a9c2afecc21c28781ad6128db6b8b6d2de911 Mon Sep 17 00:00:00 2001 From: "Pablo E. L. Targino" Date: Mon, 11 Nov 2024 19:40:59 -0300 Subject: [PATCH] Use links --- 200.html | 28 +++++++++--------- 404.html | 28 +++++++++--------- ...Doc.ae20151f.js => ContentDoc.52ad3cb3.js} | 2 +- ...st.614be23b.js => ContentList.84497a3a.js} | 2 +- ...799f8.js => ContentNavigation.6d294bf7.js} | 2 +- ...y.f58b0de1.js => ContentQuery.b24bb265.js} | 2 +- ...bfe2b63.js => ContentRenderer.2b3f34a3.js} | 2 +- _nuxt/ContentRendererMarkdown.e61a8c26.js | 1 - _nuxt/ContentRendererMarkdown.f1128796.js | 1 + ...> ContentRendererMarkdown.vue.fb31b41a.js} | 2 +- _nuxt/{Icon.c44fc0a7.js => Icon.9eb704ff.js} | 2 +- ...conCSS.646566ab.js => IconCSS.3154e727.js} | 2 +- ...{ProseA.c1f967dd.js => ProseA.984fce30.js} | 2 +- ...cb79d10.js => ProseBlockquote.1bea47a7.js} | 2 +- ...58f04d4.js => ProseCodeInline.ed55de07.js} | 2 +- ...roseEm.0b23c34a.js => ProseEm.f629825c.js} | 2 +- ...roseH1.5c2fb7f0.js => ProseH1.c5c71dc6.js} | 2 +- ...roseH2.2b8d5680.js => ProseH2.fb4f5ad5.js} | 2 +- ...roseH3.f4f8745b.js => ProseH3.fe01afa9.js} | 2 +- ...roseH4.3aa4cfe4.js => ProseH4.2f1bba7a.js} | 2 +- ...roseH5.63d21b08.js => ProseH5.0b277546.js} | 2 +- ...roseH6.a408c7fc.js => ProseH6.1145c1f4.js} | 2 +- ...roseHr.7ce08cfc.js => ProseHr.658b2924.js} | 2 +- ...seImg.bc716666.js => ProseImg.c4519288.js} | 2 +- ...roseLi.623f2d94.js => ProseLi.4dcce001.js} | 2 +- ...roseOl.a3d85517.js => ProseOl.b4099084.js} | 2 +- ...{ProseP.7c203b65.js => ProseP.28b9b447.js} | 2 +- ...ng.10c660d8.js => ProseStrong.aea7b4c8.js} | 2 +- ...ble.1d668abd.js => ProseTable.c170c550.js} | 2 +- ...ody.b662d189.js => ProseTbody.6aa0f547.js} | 2 +- ...roseTd.8cef299a.js => ProseTd.fc18f48c.js} | 2 +- ...roseTh.f0bf7e46.js => ProseTh.eeca17a9.js} | 2 +- ...ead.1c2491ff.js => ProseThead.fb24bd41.js} | 2 +- ...roseTr.1dcc41ba.js => ProseTr.1270f38a.js} | 2 +- ...roseUl.b8060c82.js => ProseUl.fbbe2447.js} | 2 +- ...ntes.3d086779.js => acidentes.185d2b63.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../7faff33d-b754-42d4-87d4-311d8d5bd0bd.json | 1 + .../ba7887e3-94ca-4d2b-ad6a-907d7054eddd.json | 1 - _nuxt/builds/meta/dev.json | 1 - ...t-db.712bfa70.js => client-db.fa4362e2.js} | 2 +- _nuxt/entry.07c0747b.js | 29 +++++++++++++++++++ _nuxt/entry.51343360.css | 1 + _nuxt/entry.6b9d63b9.css | 1 - _nuxt/entry.fa10d76e.js | 29 ------------------- ...-404.8695b32f.js => error-404.523dfcc1.js} | 2 +- ...-500.24361f4d.js => error-500.7fe64d5b.js} | 2 +- .../{index.19c07bad.js => index.1fe5091e.js} | 2 +- .../{index.a1ab4247.js => index.255917c4.js} | 4 +-- .../{index.77eaffd8.js => index.638ea801.js} | 2 +- _nuxt/index.c2b4c9ea.css | 1 + _nuxt/index.e561007c.css | 1 - ...icon.f3fac03d.js => nuxt-icon.385eb01b.js} | 2 +- ...link.fae787a8.js => nuxt-link.963ae6e7.js} | 2 +- ...ime.0d4caa2c.js => playmytime.dfb743a7.js} | 2 +- ...review.9ca7dcfa.js => preview.880535c1.js} | 2 +- .../{query.046ea17d.js => query.35f44448.js} | 4 +-- ...nh.f9071784.js => simuladocnh.966eedcf.js} | 2 +- ...61479918.json => cache.1731364768636.json} | 2 +- index.html | 28 +++++++++--------- 60 files changed, 123 insertions(+), 124 deletions(-) rename _nuxt/{ContentDoc.ae20151f.js => ContentDoc.52ad3cb3.js} (84%) rename _nuxt/{ContentList.614be23b.js => ContentList.84497a3a.js} (79%) rename _nuxt/{ContentNavigation.5c5799f8.js => ContentNavigation.6d294bf7.js} (75%) rename _nuxt/{ContentQuery.f58b0de1.js => ContentQuery.b24bb265.js} (92%) rename _nuxt/{ContentRenderer.8bfe2b63.js => ContentRenderer.2b3f34a3.js} (85%) delete mode 100644 _nuxt/ContentRendererMarkdown.e61a8c26.js create mode 100644 _nuxt/ContentRendererMarkdown.f1128796.js rename _nuxt/{ContentRendererMarkdown.vue.4bf820b7.js => ContentRendererMarkdown.vue.fb31b41a.js} (99%) rename _nuxt/{Icon.c44fc0a7.js => Icon.9eb704ff.js} (99%) rename _nuxt/{IconCSS.646566ab.js => IconCSS.3154e727.js} (94%) rename _nuxt/{ProseA.c1f967dd.js => ProseA.984fce30.js} (70%) rename _nuxt/{ProseBlockquote.6cb79d10.js => ProseBlockquote.1bea47a7.js} (72%) rename _nuxt/{ProseCodeInline.958f04d4.js => ProseCodeInline.ed55de07.js} (71%) rename _nuxt/{ProseEm.0b23c34a.js => ProseEm.f629825c.js} (71%) rename _nuxt/{ProseH1.5c2fb7f0.js => ProseH1.c5c71dc6.js} (86%) rename _nuxt/{ProseH2.2b8d5680.js => ProseH2.fb4f5ad5.js} (86%) rename _nuxt/{ProseH3.f4f8745b.js => ProseH3.fe01afa9.js} (86%) rename _nuxt/{ProseH4.3aa4cfe4.js => ProseH4.2f1bba7a.js} (86%) rename _nuxt/{ProseH5.63d21b08.js => ProseH5.0b277546.js} (86%) rename _nuxt/{ProseH6.a408c7fc.js => ProseH6.1145c1f4.js} (86%) rename _nuxt/{ProseHr.7ce08cfc.js => ProseHr.658b2924.js} (65%) rename _nuxt/{ProseImg.bc716666.js => ProseImg.c4519288.js} (90%) rename _nuxt/{ProseLi.623f2d94.js => ProseLi.4dcce001.js} (71%) rename _nuxt/{ProseOl.a3d85517.js => ProseOl.b4099084.js} (71%) rename _nuxt/{ProseP.7c203b65.js => ProseP.28b9b447.js} (71%) rename _nuxt/{ProseStrong.10c660d8.js => ProseStrong.aea7b4c8.js} (71%) rename _nuxt/{ProseTable.1d668abd.js => ProseTable.c170c550.js} (71%) rename _nuxt/{ProseTbody.b662d189.js => ProseTbody.6aa0f547.js} (71%) rename _nuxt/{ProseTd.8cef299a.js => ProseTd.fc18f48c.js} (71%) rename _nuxt/{ProseTh.f0bf7e46.js => ProseTh.eeca17a9.js} (71%) rename _nuxt/{ProseThead.1c2491ff.js => ProseThead.fb24bd41.js} (71%) rename _nuxt/{ProseTr.1dcc41ba.js => ProseTr.1270f38a.js} (71%) rename _nuxt/{ProseUl.b8060c82.js => ProseUl.fbbe2447.js} (71%) rename _nuxt/{acidentes.3d086779.js => acidentes.185d2b63.js} (74%) create mode 100644 _nuxt/builds/meta/7faff33d-b754-42d4-87d4-311d8d5bd0bd.json delete mode 100644 _nuxt/builds/meta/ba7887e3-94ca-4d2b-ad6a-907d7054eddd.json delete mode 100644 _nuxt/builds/meta/dev.json rename _nuxt/{client-db.712bfa70.js => client-db.fa4362e2.js} (99%) create mode 100644 _nuxt/entry.07c0747b.js create mode 100644 _nuxt/entry.51343360.css delete mode 100644 _nuxt/entry.6b9d63b9.css delete mode 100644 _nuxt/entry.fa10d76e.js rename _nuxt/{error-404.8695b32f.js => error-404.523dfcc1.js} (94%) rename _nuxt/{error-500.24361f4d.js => error-500.7fe64d5b.js} (96%) rename _nuxt/{index.19c07bad.js => index.1fe5091e.js} (99%) rename _nuxt/{index.a1ab4247.js => index.255917c4.js} (88%) rename _nuxt/{index.77eaffd8.js => index.638ea801.js} (98%) create mode 100644 _nuxt/index.c2b4c9ea.css delete mode 100644 _nuxt/index.e561007c.css rename _nuxt/{nuxt-icon.f3fac03d.js => nuxt-icon.385eb01b.js} (86%) rename _nuxt/{nuxt-link.fae787a8.js => nuxt-link.963ae6e7.js} (98%) rename _nuxt/{playmytime.0d4caa2c.js => playmytime.dfb743a7.js} (85%) rename _nuxt/{preview.9ca7dcfa.js => preview.880535c1.js} (88%) rename _nuxt/{query.046ea17d.js => query.35f44448.js} (97%) rename _nuxt/{simuladocnh.f9071784.js => simuladocnh.966eedcf.js} (84%) rename api/_content/{cache.1731361479918.json => cache.1731364768636.json} (99%) diff --git a/200.html b/200.html index 379d080..326a5a7 100644 --- a/200.html +++ b/200.html @@ -3,29 +3,29 @@ Pablo Emanuell - + - + - + - - + + - - + + - - + + - - + + - - + +
- + \ No newline at end of file diff --git a/404.html b/404.html index 379d080..326a5a7 100644 --- a/404.html +++ b/404.html @@ -3,29 +3,29 @@ Pablo Emanuell - + - + - + - - + + - - + + - - + + - - + + - - + +
- + \ No newline at end of file diff --git a/_nuxt/ContentDoc.ae20151f.js b/_nuxt/ContentDoc.52ad3cb3.js similarity index 84% rename from _nuxt/ContentDoc.ae20151f.js rename to _nuxt/ContentDoc.52ad3cb3.js index 60fcaf9..d5563bd 100644 --- a/_nuxt/ContentDoc.ae20151f.js +++ b/_nuxt/ContentDoc.52ad3cb3.js @@ -1 +1 @@ -import{f as y,u as w,c as g,w as D}from"./entry.fa10d76e.js";import{u as a,b as H,n as b,j as S,aa as _,l as u}from"./swiper-vue.799c8af8.js";import j from"./ContentRenderer.8bfe2b63.js";import q from"./ContentQuery.f58b0de1.js";import"./ContentRendererMarkdown.vue.4bf820b7.js";import"./index.b0fe9fac.js";import"./preview.9ca7dcfa.js";import"./query.046ea17d.js";const d=(p,s=y())=>{const e=a(p),f=g();H(()=>a(p),(n=e)=>{if(!s.path||!n)return;const t=Object.assign({},(n==null?void 0:n.head)||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const r=t.title||(n==null?void 0:n.title);r&&(t.title=r),f.public.content.host;const c=(t==null?void 0:t.description)||(n==null?void 0:n.description);c&&t.meta.filter(l=>l.name==="description").length===0&&t.meta.push({name:"description",content:c}),t!=null&&t.image||(n==null||n.image),b(()=>w(t))},{immediate:!0})},x=S({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(p){const{contentHead:s}=g().public.content,e=_(),{tag:f,excerpt:m,path:n,query:t,head:r}=p,c=r===void 0?s:r,l={...t||{},path:n||(t==null?void 0:t.path)||D(y().path),find:"one"},C=(o,i)=>u("pre",null,JSON.stringify({message:"You should use slots with ",slot:o,data:i},null,2));return u(q,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:v})=>{var h;return c&&d(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:v,excerpt:m,...this.$attrs})}:({data:o})=>(c&&d(o),u(j,{value:o,excerpt:m,tag:f,...this.$attrs},{empty:i=>e!=null&&e.empty?e.empty(i):C("default",o)})),empty:o=>{var i;return((i=e==null?void 0:e.empty)==null?void 0:i.call(e,o))||u("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":o=>{var i;return((i=e==null?void 0:e["not-found"])==null?void 0:i.call(e,o))||u("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),J=x;export{J as default}; +import{f as y,u as w,c as g,w as D}from"./entry.07c0747b.js";import{u as a,b as H,n as b,j as S,aa as _,l as u}from"./swiper-vue.799c8af8.js";import j from"./ContentRenderer.2b3f34a3.js";import q from"./ContentQuery.b24bb265.js";import"./ContentRendererMarkdown.vue.fb31b41a.js";import"./index.b0fe9fac.js";import"./preview.880535c1.js";import"./query.35f44448.js";const d=(p,s=y())=>{const e=a(p),f=g();H(()=>a(p),(n=e)=>{if(!s.path||!n)return;const t=Object.assign({},(n==null?void 0:n.head)||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const r=t.title||(n==null?void 0:n.title);r&&(t.title=r),f.public.content.host;const c=(t==null?void 0:t.description)||(n==null?void 0:n.description);c&&t.meta.filter(l=>l.name==="description").length===0&&t.meta.push({name:"description",content:c}),t!=null&&t.image||(n==null||n.image),b(()=>w(t))},{immediate:!0})},x=S({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(p){const{contentHead:s}=g().public.content,e=_(),{tag:f,excerpt:m,path:n,query:t,head:r}=p,c=r===void 0?s:r,l={...t||{},path:n||(t==null?void 0:t.path)||D(y().path),find:"one"},C=(o,i)=>u("pre",null,JSON.stringify({message:"You should use slots with ",slot:o,data:i},null,2));return u(q,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:v})=>{var h;return c&&d(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:v,excerpt:m,...this.$attrs})}:({data:o})=>(c&&d(o),u(j,{value:o,excerpt:m,tag:f,...this.$attrs},{empty:i=>e!=null&&e.empty?e.empty(i):C("default",o)})),empty:o=>{var i;return((i=e==null?void 0:e.empty)==null?void 0:i.call(e,o))||u("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":o=>{var i;return((i=e==null?void 0:e["not-found"])==null?void 0:i.call(e,o))||u("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),J=x;export{J as default}; diff --git a/_nuxt/ContentList.614be23b.js b/_nuxt/ContentList.84497a3a.js similarity index 79% rename from _nuxt/ContentList.614be23b.js rename to _nuxt/ContentList.84497a3a.js index d824981..2fe44bb 100644 --- a/_nuxt/ContentList.614be23b.js +++ b/_nuxt/ContentList.84497a3a.js @@ -1 +1 @@ -import d from"./ContentQuery.f58b0de1.js";import{j as c,aa as l,l as p}from"./swiper-vue.799c8af8.js";import"./query.046ea17d.js";import"./entry.fa10d76e.js";import"./preview.9ca7dcfa.js";const u=(r,t)=>p("pre",null,JSON.stringify({message:"You should use slots with ",slot:r,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(r){const t=l(),{path:f,query:a}=r,m={...a||{},path:f||(a==null?void 0:a.path)||"/"};return p(d,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:n})=>t.default({list:e,refresh:o,isPartial:n,...this.$attrs}):e=>u("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):u("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):u("not-found",e==null?void 0:e.data)}})}}),S=h;export{S as default}; +import d from"./ContentQuery.b24bb265.js";import{j as c,aa as l,l as p}from"./swiper-vue.799c8af8.js";import"./query.35f44448.js";import"./entry.07c0747b.js";import"./preview.880535c1.js";const u=(r,t)=>p("pre",null,JSON.stringify({message:"You should use slots with ",slot:r,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(r){const t=l(),{path:f,query:a}=r,m={...a||{},path:f||(a==null?void 0:a.path)||"/"};return p(d,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:n})=>t.default({list:e,refresh:o,isPartial:n,...this.$attrs}):e=>u("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):u("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):u("not-found",e==null?void 0:e.data)}})}}),S=h;export{S as default}; diff --git a/_nuxt/ContentNavigation.5c5799f8.js b/_nuxt/ContentNavigation.6d294bf7.js similarity index 75% rename from _nuxt/ContentNavigation.5c5799f8.js rename to _nuxt/ContentNavigation.6d294bf7.js index b83b006..e041a37 100644 --- a/_nuxt/ContentNavigation.5c5799f8.js +++ b/_nuxt/ContentNavigation.6d294bf7.js @@ -1 +1 @@ -import{q as f,w as m,h as p,e as v,s as g,j as l,a as d,u as h}from"./query.046ea17d.js";import{c as _,a as y,b as C}from"./entry.fa10d76e.js";import{u as w}from"./preview.9ca7dcfa.js";import{_ as P}from"./nuxt-link.fae787a8.js";import{j as $,ab as N,k as j,aa as T,l as r}from"./swiper-vue.799c8af8.js";const b=async e=>{const{content:t}=_().public;typeof(e==null?void 0:e.params)!="function"&&(e=f(e));const a=e.params(),s=t.experimental.stripQueryParameters?m(`/navigation/${`${p(a)}.${t.integrity}`}/${v(a)}.json`):m(`/navigation/${p(a)}.${t.integrity}.json`);if(g())return(await y(()=>import("./client-db.712bfa70.js"),["./client-db.712bfa70.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./query.046ea17d.js","./preview.9ca7dcfa.js","./index.b0fe9fac.js"],import.meta.url).then(o=>o.generateNavigation))(a);const n=await $fetch(s,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:l(a),previewToken:w().getPreviewToken()}});if(typeof n=="string"&&n.startsWith(""))throw new Error("Not found");return n},D=$({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(e){const{query:t}=N(e),a=j(()=>{var n;return typeof((n=t.value)==null?void 0:n.params)=="function"?t.value.params():t.value});if(!a.value&&C("dd-navigation").value){const{navigation:n}=d();return{navigation:n}}const{data:s}=await h(`content-navigation-${p(a.value)}`,()=>b(a.value));return{navigation:s}},render(e){const t=T(),{navigation:a}=e,s=o=>r(P,{to:o._path},()=>o.title),n=(o,u)=>r("ul",u?{"data-level":u}:null,o.map(i=>i.children?r("li",null,[s(i),n(i.children,u+1)]):r("li",null,s(i)))),c=o=>n(o,0);return t!=null&&t.default?t.default({navigation:a,...this.$attrs}):c(a)}}),R=D;export{R as default}; +import{q as f,w as m,h as p,e as v,s as g,j as l,a as d,u as h}from"./query.35f44448.js";import{c as _,a as y,b as C}from"./entry.07c0747b.js";import{u as w}from"./preview.880535c1.js";import{_ as P}from"./nuxt-link.963ae6e7.js";import{j as $,ab as N,k as j,aa as T,l as r}from"./swiper-vue.799c8af8.js";const b=async e=>{const{content:t}=_().public;typeof(e==null?void 0:e.params)!="function"&&(e=f(e));const a=e.params(),s=t.experimental.stripQueryParameters?m(`/navigation/${`${p(a)}.${t.integrity}`}/${v(a)}.json`):m(`/navigation/${p(a)}.${t.integrity}.json`);if(g())return(await y(()=>import("./client-db.fa4362e2.js"),["./client-db.fa4362e2.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./query.35f44448.js","./preview.880535c1.js","./index.b0fe9fac.js"],import.meta.url).then(o=>o.generateNavigation))(a);const n=await $fetch(s,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:l(a),previewToken:w().getPreviewToken()}});if(typeof n=="string"&&n.startsWith(""))throw new Error("Not found");return n},D=$({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(e){const{query:t}=N(e),a=j(()=>{var n;return typeof((n=t.value)==null?void 0:n.params)=="function"?t.value.params():t.value});if(!a.value&&C("dd-navigation").value){const{navigation:n}=d();return{navigation:n}}const{data:s}=await h(`content-navigation-${p(a.value)}`,()=>b(a.value));return{navigation:s}},render(e){const t=T(),{navigation:a}=e,s=o=>r(P,{to:o._path},()=>o.title),n=(o,u)=>r("ul",u?{"data-level":u}:null,o.map(i=>i.children?r("li",null,[s(i),n(i.children,u+1)]):r("li",null,s(i)))),c=o=>n(o,0);return t!=null&&t.default?t.default({navigation:a,...this.$attrs}):c(a)}}),R=D;export{R as default}; diff --git a/_nuxt/ContentQuery.f58b0de1.js b/_nuxt/ContentQuery.b24bb265.js similarity index 92% rename from _nuxt/ContentQuery.f58b0de1.js rename to _nuxt/ContentQuery.b24bb265.js index 4f1e6fa..0fef8dc 100644 --- a/_nuxt/ContentQuery.f58b0de1.js +++ b/_nuxt/ContentQuery.b24bb265.js @@ -1 +1 @@ -import{u as g,h as b,q as m}from"./query.046ea17d.js";import{c as C}from"./entry.fa10d76e.js";import{j as S,ab as k,k as _,b as A,aa as N,l as O}from"./swiper-vue.799c8af8.js";import"./preview.9ca7dcfa.js";const Q=S({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:f,skip:d,locale:s,find:p}=k(a),y=_(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),h=!C().public.content.experimental.advanceQuery;A(()=>a,()=>n(),{deep:!0});const i=e=>h?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 g(`content-query-${b(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)),f.value&&(e=e.limit(f.value)),d.value&&(e=e.skip(d.value)),s.value&&(e=e.where({_locale:s.value})),p.value==="one"?e.findOne().then(i):p.value==="surround"?t.value?h?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=N(),{data:r,refresh:o,isPartial:u,path:l,only:f,without:d,where:s,sort:p,limit:y,skip:h,locale:i,find:v}=a,n={path:l,only:f,without:d,where:s,sort:p,limit:y,skip:h,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)=>O("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),P=Q;export{P as default}; +import{u as g,h as b,q as m}from"./query.35f44448.js";import{c as C}from"./entry.07c0747b.js";import{j as S,ab as k,k as _,b as A,aa as N,l as O}from"./swiper-vue.799c8af8.js";import"./preview.880535c1.js";const Q=S({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:f,skip:d,locale:s,find:p}=k(a),y=_(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),h=!C().public.content.experimental.advanceQuery;A(()=>a,()=>n(),{deep:!0});const i=e=>h?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 g(`content-query-${b(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)),f.value&&(e=e.limit(f.value)),d.value&&(e=e.skip(d.value)),s.value&&(e=e.where({_locale:s.value})),p.value==="one"?e.findOne().then(i):p.value==="surround"?t.value?h?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=N(),{data:r,refresh:o,isPartial:u,path:l,only:f,without:d,where:s,sort:p,limit:y,skip:h,locale:i,find:v}=a,n={path:l,only:f,without:d,where:s,sort:p,limit:y,skip:h,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)=>O("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),P=Q;export{P as default}; diff --git a/_nuxt/ContentRenderer.8bfe2b63.js b/_nuxt/ContentRenderer.2b3f34a3.js similarity index 85% rename from _nuxt/ContentRenderer.8bfe2b63.js rename to _nuxt/ContentRenderer.2b3f34a3.js index 8962cf0..e1e002d 100644 --- a/_nuxt/ContentRenderer.8bfe2b63.js +++ b/_nuxt/ContentRenderer.2b3f34a3.js @@ -1 +1 @@ -import{_ as f}from"./ContentRendererMarkdown.vue.4bf820b7.js";import{j as l,b as s,aa as d,l as c}from"./swiper-vue.799c8af8.js";import"./entry.fa10d76e.js";import"./index.b0fe9fac.js";import"./preview.9ca7dcfa.js";const _=l({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,i;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}.${(i=t==null?void 0:t.value)==null?void 0:i._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var u,o;const n=d(),{value:e,excerpt:a,tag:i}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((u=r==null?void 0:r.children)!=null&&u.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:i,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:i,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((o=r==null?void 0:r.children)!=null&&o.length)?c(f,{value:e,excerpt:a,tag:i,...this.$attrs}):c("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:i},null,2))}});export{_ as default}; +import{_ as f}from"./ContentRendererMarkdown.vue.fb31b41a.js";import{j as l,b as s,aa as d,l as c}from"./swiper-vue.799c8af8.js";import"./entry.07c0747b.js";import"./index.b0fe9fac.js";import"./preview.880535c1.js";const _=l({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,i;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}.${(i=t==null?void 0:t.value)==null?void 0:i._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var u,o;const n=d(),{value:e,excerpt:a,tag:i}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((u=r==null?void 0:r.children)!=null&&u.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:i,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:i,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((o=r==null?void 0:r.children)!=null&&o.length)?c(f,{value:e,excerpt:a,tag:i,...this.$attrs}):c("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:i},null,2))}});export{_ as default}; diff --git a/_nuxt/ContentRendererMarkdown.e61a8c26.js b/_nuxt/ContentRendererMarkdown.e61a8c26.js deleted file mode 100644 index f855431..0000000 --- a/_nuxt/ContentRendererMarkdown.e61a8c26.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./ContentRendererMarkdown.vue.4bf820b7.js";import"./entry.fa10d76e.js";import"./swiper-vue.799c8af8.js";import"./index.b0fe9fac.js";import"./preview.9ca7dcfa.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.f1128796.js b/_nuxt/ContentRendererMarkdown.f1128796.js new file mode 100644 index 0000000..79d5fc6 --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.f1128796.js @@ -0,0 +1 @@ +import{_ as o}from"./ContentRendererMarkdown.vue.fb31b41a.js";import"./entry.07c0747b.js";import"./swiper-vue.799c8af8.js";import"./index.b0fe9fac.js";import"./preview.880535c1.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.4bf820b7.js b/_nuxt/ContentRendererMarkdown.vue.fb31b41a.js similarity index 99% rename from _nuxt/ContentRendererMarkdown.vue.4bf820b7.js rename to _nuxt/ContentRendererMarkdown.vue.fb31b41a.js index e2766a5..9922019 100644 --- a/_nuxt/ContentRendererMarkdown.vue.4bf820b7.js +++ b/_nuxt/ContentRendererMarkdown.vue.fb31b41a.js @@ -1 +1 @@ -import{c as J,f as G,n as Q}from"./entry.fa10d76e.js";import{p as z,k as nn}from"./index.b0fe9fac.js";import{j as I,B as ln,k as x,l as E,ad as en,T as w,H as on,J as tn,u as rn}from"./swiper-vue.799c8af8.js";import{u as an}from"./preview.9ca7dcfa.js";class S{constructor(l,o,t){this.property=l,this.normal=o,t&&(this.space=t)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function j(n,l){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&dn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(U,fn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!U.test(a)){let i=a.replace(gn,mn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}r=R}return new r(t,l)}function mn(n){return"-"+n.toLowerCase()}function fn(n){return n.charAt(1).toUpperCase()}const yn=j([F,H,q,W,cn],"html");j([F,H,q,W,pn],"svg");const T=["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"],M="default",K=/^@|^v-on:/,X=/^:|^v-bind:/,Y=/^v-model/,vn=["select","textarea","input"],bn=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","script"].map(n=>[n,`prose-${n}`])),kn=I({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var r,a;const{mdc:l}=J().public,o={...l.components.prose&&n.prose!==!1?bn:{},...l.components.map,...ln(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=x(()=>{var s;const i=(((s=n.body)==null?void 0:s.children)||[]).map(c=>c.tag||c.type).filter(c=>!T.includes(c));return Array.from(new Set(i)).sort().join(".")});return await Tn(n.body,{tags:o}),{tags:o,contentKey:t}},render(n){var h,y,d;const{tags:l,tag:o,body:t,data:r,contentKey:a}=n;if(!t)return null;const i={...r,tags:l},s=o!==!1?A(o||((h=i.component)==null?void 0:h.name)||i.component||"div"):void 0,c=$(t,E,i,i);return s?E(s,{...(y=i.component)==null?void 0:y.props,...this.$attrs,key:a},c):(d=c.default)==null?void 0:d.call(c)}});function Cn(n,l,o,t={}){if(n.type==="text")return l(w,n.value);const r=n.tag,a=Z(n,o.tags);if(n.tag==="binding")return Sn(n,l,o,t);const i=A(a);typeof i=="object"&&(i.tag=r);const s=xn(n,o);return l(i,s,$(n,l,o,{...t,...s}))}function Sn(n,l,o,t={}){var h,y;const r={...t,$route:()=>G(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((h=n.props)==null?void 0:h.value.trim().split(a).filter(Boolean)).reduce((d,b)=>b in d?typeof d[b]=="function"?d[b]():d[b]:{},r),c=(y=n.props)==null?void 0:y.defaultValue;return l(w,s??c??"")}function $(n,l,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!Mn(c))return s[M].push(c),s;const h=Ln(c);return s[h]=s[h]||[],c.type==="element"&&s[h].push(...c.children||[]),s},{[M]:[]});return Object.entries(a).reduce((s,[c,h])=>(h.length&&(s[c]=()=>{const y=h.map(d=>Cn(d,l,o,t));return Rn(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(Y.test(a)&&!vn.includes(o))return wn(a,i,r,l);if(a==="v-bind")return Pn(a,i,r,l);if(K.test(a))return On(a,i,r,l);if(X.test(a))return Dn(a,i,r,l);const{attribute:s}=hn(yn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function wn(n,l,o,t){const r=d=>+d,a=d=>d.trim(),i=d=>d,s=n.replace(Y,"").split(".").filter(d=>d).reduce((d,b)=>(d[b]=!0,d),{}),c="value",h=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=P(l,t),o.on=o.on||{},o.on[h]=d=>t[l]=y(d),o}function Pn(n,l,o,t){const r=P(l,t);return o=Object.assign(o,r),o}function On(n,l,o,t){return n=n.replace(K,""),o.on=o.on||{},o.on[n]=()=>P(l,t),o}function Dn(n,l,o,t){return n=n.replace(X,""),o[n]=P(l,t),o}const A=n=>{if(!T.includes(n)&&!(n!=null&&n.render)){const l=en(z(n),!1);if(typeof l=="object")return l}return n};function P(n,l){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,l);return typeof o>"u"?Q(n):o}function Ln(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||M}function Mn(n){return n.tag==="template"}function Rn(n){const l=[];for(const o of n){const t=l[l.length-1];o.type===w&&(t==null?void 0:t.type)===w?t.children=t.children+o.children:l.push(o)}return l}async function Tn(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||r!=null&&r.__ssrInlineRender)return;const a=A(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=Z(r,a.tags),c=[];r.type!=="root"&&!T.includes(s)&&c.push(s);for(const h of r.children||[])c.push(...t(h,a));return c}}function Z(n,l){var t;const o=n.tag;return!o||typeof((t=n.props)==null?void 0:t.__ignoreMap)<"u"?o:l[o]||l[z(o)]||l[nn(n.tag)]||o}const zn=I({__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=an().isEnabled(),t=x(()=>{let i=l.value.body||l.value;return l.excerpt&&l.value.excerpt&&(i=l.value.excerpt),i}),r=x(()=>{const{body:i,excerpt:s,...c}=l.value;return{...c,...l.data}}),a=x(()=>({...l.components,...r.value._components||{}}));return(i,s)=>{const c=kn;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{zn as _}; +import{c as J,f as G,n as Q}from"./entry.07c0747b.js";import{p as z,k as nn}from"./index.b0fe9fac.js";import{j as I,B as ln,k as x,l as E,ad as en,T as w,H as on,J as tn,u as rn}from"./swiper-vue.799c8af8.js";import{u as an}from"./preview.880535c1.js";class S{constructor(l,o,t){this.property=l,this.normal=o,t&&(this.space=t)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function j(n,l){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&dn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(U,fn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!U.test(a)){let i=a.replace(gn,mn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}r=R}return new r(t,l)}function mn(n){return"-"+n.toLowerCase()}function fn(n){return n.charAt(1).toUpperCase()}const yn=j([F,H,q,W,cn],"html");j([F,H,q,W,pn],"svg");const T=["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"],M="default",K=/^@|^v-on:/,X=/^:|^v-bind:/,Y=/^v-model/,vn=["select","textarea","input"],bn=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","script"].map(n=>[n,`prose-${n}`])),kn=I({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var r,a;const{mdc:l}=J().public,o={...l.components.prose&&n.prose!==!1?bn:{},...l.components.map,...ln(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=x(()=>{var s;const i=(((s=n.body)==null?void 0:s.children)||[]).map(c=>c.tag||c.type).filter(c=>!T.includes(c));return Array.from(new Set(i)).sort().join(".")});return await Tn(n.body,{tags:o}),{tags:o,contentKey:t}},render(n){var h,y,d;const{tags:l,tag:o,body:t,data:r,contentKey:a}=n;if(!t)return null;const i={...r,tags:l},s=o!==!1?A(o||((h=i.component)==null?void 0:h.name)||i.component||"div"):void 0,c=$(t,E,i,i);return s?E(s,{...(y=i.component)==null?void 0:y.props,...this.$attrs,key:a},c):(d=c.default)==null?void 0:d.call(c)}});function Cn(n,l,o,t={}){if(n.type==="text")return l(w,n.value);const r=n.tag,a=Z(n,o.tags);if(n.tag==="binding")return Sn(n,l,o,t);const i=A(a);typeof i=="object"&&(i.tag=r);const s=xn(n,o);return l(i,s,$(n,l,o,{...t,...s}))}function Sn(n,l,o,t={}){var h,y;const r={...t,$route:()=>G(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((h=n.props)==null?void 0:h.value.trim().split(a).filter(Boolean)).reduce((d,b)=>b in d?typeof d[b]=="function"?d[b]():d[b]:{},r),c=(y=n.props)==null?void 0:y.defaultValue;return l(w,s??c??"")}function $(n,l,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!Mn(c))return s[M].push(c),s;const h=Ln(c);return s[h]=s[h]||[],c.type==="element"&&s[h].push(...c.children||[]),s},{[M]:[]});return Object.entries(a).reduce((s,[c,h])=>(h.length&&(s[c]=()=>{const y=h.map(d=>Cn(d,l,o,t));return Rn(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(Y.test(a)&&!vn.includes(o))return wn(a,i,r,l);if(a==="v-bind")return Pn(a,i,r,l);if(K.test(a))return On(a,i,r,l);if(X.test(a))return Dn(a,i,r,l);const{attribute:s}=hn(yn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function wn(n,l,o,t){const r=d=>+d,a=d=>d.trim(),i=d=>d,s=n.replace(Y,"").split(".").filter(d=>d).reduce((d,b)=>(d[b]=!0,d),{}),c="value",h=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=P(l,t),o.on=o.on||{},o.on[h]=d=>t[l]=y(d),o}function Pn(n,l,o,t){const r=P(l,t);return o=Object.assign(o,r),o}function On(n,l,o,t){return n=n.replace(K,""),o.on=o.on||{},o.on[n]=()=>P(l,t),o}function Dn(n,l,o,t){return n=n.replace(X,""),o[n]=P(l,t),o}const A=n=>{if(!T.includes(n)&&!(n!=null&&n.render)){const l=en(z(n),!1);if(typeof l=="object")return l}return n};function P(n,l){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,l);return typeof o>"u"?Q(n):o}function Ln(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||M}function Mn(n){return n.tag==="template"}function Rn(n){const l=[];for(const o of n){const t=l[l.length-1];o.type===w&&(t==null?void 0:t.type)===w?t.children=t.children+o.children:l.push(o)}return l}async function Tn(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||r!=null&&r.__ssrInlineRender)return;const a=A(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=Z(r,a.tags),c=[];r.type!=="root"&&!T.includes(s)&&c.push(s);for(const h of r.children||[])c.push(...t(h,a));return c}}function Z(n,l){var t;const o=n.tag;return!o||typeof((t=n.props)==null?void 0:t.__ignoreMap)<"u"?o:l[o]||l[z(o)]||l[nn(n.tag)]||o}const zn=I({__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=an().isEnabled(),t=x(()=>{let i=l.value.body||l.value;return l.excerpt&&l.value.excerpt&&(i=l.value.excerpt),i}),r=x(()=>{const{body:i,excerpt:s,...c}=l.value;return{...c,...l.data}}),a=x(()=>({...l.components,...r.value._components||{}}));return(i,s)=>{const c=kn;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{zn as _}; diff --git a/_nuxt/Icon.c44fc0a7.js b/_nuxt/Icon.9eb704ff.js similarity index 99% rename from _nuxt/Icon.c44fc0a7.js rename to _nuxt/Icon.9eb704ff.js index 4aff643..219ec90 100644 --- a/_nuxt/Icon.c44fc0a7.js +++ b/_nuxt/Icon.9eb704ff.js @@ -1 +1 @@ -import{A as Qe,b as Ke,h as Ge,_ as Je}from"./entry.fa10d76e.js";import{j as Ae,l as ce,b as le,a as We,k as S,_ as Ze,H as _,I as ae,a3 as M,ae as ue,J as fe,u as Xe,P as Ye,Z as et,W as tt,V as nt}from"./swiper-vue.799c8af8.js";import{r as ot}from"./index.b8fe2cb5.js";const Oe=Object.freeze({left:0,top:0,width:16,height:16}),Pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...Oe,...Pe});Object.freeze({...Y,body:"",hidden:!1});({...Oe});const Fe=Object.freeze({width:null,height:null}),Ee=Object.freeze({...Fe,...Pe});function rt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Fe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const st=/[\s,]+/;function it(e,t){t.split(st).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ct(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 lt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,at=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function de(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(lt);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=at.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const ut=e=>e==="unset"||e==="undefined"||e==="none";function ft(e,t){const n={...Y,...e},r={...Ee,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(v=>{const p=[],u=v.hFlip,w=v.vFlip;let y=v.rotate;u?w?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):w&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=o.height/2+o.top,p.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,p.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),p.length&&(s=''+s+"")});const i=r.width,c=r.height,l=o.width,a=o.height;let f,d;i===null?(d=c===null?"1em":c==="auto"?a:c,f=de(d,l/a)):(f=i==="auto"?l:i,d=c===null?de(f,a/l):c==="auto"?a:c);const h={},m=(v,p)=>{ut(p)||(h[v]=p.toString())};return m("width",f),m("height",d),h.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+a.toString(),{attributes:h,body:s}}const dt=/\sid="(\S+)"/g,pt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ht=0;function gt(e,t=pt){const n=[];let r;for(;r=dt.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+(ht++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function mt(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 yt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function bt(e){return"data:image/svg+xml,"+yt(e)}function vt(e){return'url("'+bt(e)+'")'}const pe={...Ee,inline:!1},wt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xt={display:"inline-block"},q={backgroundColor:"currentColor"},_e={backgroundColor:"transparent"},he={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ge={webkitMask:q,mask:q,background:_e};for(const e in ge){const t=ge[e];for(const n in he)t[e+n]=he[n]}const L={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";L[e+"-flip"]=t,L[e.slice(0,1)+"-flip"]=t,L[e+"Flip"]=t});function me(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const It=(e,t)=>{const n=rt(pe,t),r={...wt},o=t.mode||"svg",s={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const u=t[p];if(u!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=u===!0||u==="true"||u===1;break;case"flip":typeof u=="string"&&it(n,u);break;case"color":s.color=u;break;case"rotate":typeof u=="string"?n[p]=ct(u):typeof u=="number"&&(n[p]=u);break;case"ariaHidden":case"aria-hidden":u!==!0&&u!=="true"&&delete r["aria-hidden"];break;default:{const w=L[p];w?(u===!0||u==="true"||u===1)&&(n[w]=!0):pe[p]===void 0&&(r[p]=u)}}}const l=ft(e,n),a=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...c},Object.assign(r,a);let p=0,u=t.id;return typeof u=="string"&&(u=u.replace(/-/g,"_")),r.innerHTML=gt(l.body,u?()=>u+"ID"+p++:"iconifyVue"),ce("svg",r)}const{body:f,width:d,height:h}=e,m=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),v=mt(f,{...a,width:d+"",height:h+""});return r.style={...s,"--svg":vt(v),width:me(a.width),height:me(a.height),...xt,...m?q:_e,...c},ce("span",r)},St=Object.create(null),Ct=Ae({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?St[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:It({...Y,...n},e)}}),A=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(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 c=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!N(a)?null:a}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((e.provider===""||e.provider.match(A))&&(t&&e.prefix===""||e.prefix.match(A))&&e.name.match(A)):!1,Me=Object.freeze({left:0,top:0,width:16,height:16}),D=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ee=Object.freeze({...Me,...D}),Q=Object.freeze({...ee,body:"",hidden:!1});function kt(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 ye(e,t){const n=kt(e,t);for(const r in Q)r in D?r in e&&!(r in n)&&(n[r]=D[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function jt(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 c=r[i]&&r[i].parent,l=c&&s(c);l&&(o[i]=[c].concat(l))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Tt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=ye(r[c]||o[c],s)}return i(t),n.forEach(i),ye(e,s)}function ze(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=jt(e);for(const o in r){const s=r[o];s&&(t(o,Tt(e,o,s)),n.push(o))}return n}const At={provider:"",aliases:{},not_found:{},...Me};function H(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Le(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!H(e,At))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(A)||typeof s.body!="string"||!H(s,Q))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(A)||typeof i!="string"||!n[i]&&!r[i]||!H(s,Q))return null}return t}const be=Object.create(null);function Ot(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function C(e,t){const n=be[e]||(be[e]=Object.create(null));return n[t]||(n[t]=Ot(e,t))}function te(e,t){return Le(t)?ze(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Pt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let O=!1;function Ne(e){return typeof e=="boolean"&&(O=e),O}function Ft(e){const t=typeof e=="string"?R(e,!0,O):e;if(t){const n=C(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Et(e,t){const n=R(e,!0,O);if(!n)return!1;const r=C(n.provider,n.prefix);return Pt(r,n.name,t)}function _t(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),O&&!t&&!e.prefix){let o=!1;return Le(e)&&(e.prefix="",ze(e,(s,i)=>{i&&Et(s,i)&&(o=!0)})),o}const n=e.prefix;if(!N({provider:t,prefix:n,name:"a"}))return!1;const r=C(t,n);return!!te(r,e)}const Mt=Object.freeze({width:null,height:null}),zt=Object.freeze({...Mt,...D});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const K=Object.create(null);function Lt(e,t){K[e]=t}function G(e){return K[e]||K[""]}function ne(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 oe=Object.create(null),T=["https://api.simplesvg.com","https://api.unisvg.com"],$=[];for(;T.length>0;)T.length===1||Math.random()>.5?$.push(T.shift()):$.push(T.pop());oe[""]=ne({resources:["https://api.iconify.design"].concat($)});function J(e,t){const n=ne(t);return n===null?!1:(oe[e]=n,!0)}function re(e){return oe[e]}const Nt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ve=Nt();function $t(e,t){const n=re(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 Dt(e){return e===404}const Rt=(e,t,n)=>{const r=[],o=$t(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=o&&a>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=l.length),i.icons.push(l)}),r.push(i),r};function Bt(e){if(typeof e=="string"){const t=re(e);if(t)return t.path}return"/"}const Ht=(e,t,n)=>{if(!ve){n("abort",424);return}let r=Bt(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=s+".json?"+l.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;ve(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Dt(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)})},Ut={prepare:Rt,send:Ht};function Vt(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,c=o.name,l=n[s]||(n[s]=Object.create(null)),a=l[i]||(l[i]=C(s,i));let f;c in a.icons?f=t.loaded:i===""||a.missing.has(c)?f=t.missing:f=t.pending;const d={provider:s,prefix:i,name:c};f.push(d)}),t}function $e(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function qt(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,c=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||$e([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Qt=0;function Kt(e,t,n){const r=Qt++,o=$e.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 Gt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?R(o,t,n):o;s&&r.push(s)}),r}var Jt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Wt(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 g=e.resources.slice(0);for(i=[];g.length>1;){const x=Math.floor(Math.random()*g.length);i.push(g[x]),g=g.slice(0,x).concat(g.slice(x+1))}i=i.concat(g)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let l="pending",a=0,f,d=null,h=[],m=[];typeof r=="function"&&m.push(r);function v(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),v(),h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function u(g,x){x&&(m=[]),typeof g=="function"&&m.push(g)}function w(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:u,abort:p}}function y(){l="failed",m.forEach(g=>{g(void 0,f)})}function b(){h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function F(g,x,j){const E=x!=="success";switch(h=h.filter(I=>I!==g),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,y();return}if(E){f=j,h.length||(i.length?k():y());return}if(v(),b(),!e.random){const I=e.resources.indexOf(g.resource);I!==-1&&I!==e.index&&(e.index=I)}l="completed",m.forEach(I=>{I(j)})}function k(){if(l!=="pending")return;v();const g=i.shift();if(g===void 0){if(h.length){d=setTimeout(()=>{v(),l==="pending"&&(b(),y())},e.timeout);return}y();return}const x={status:"pending",resource:g,callback:(j,E)=>{F(x,j,E)}};h.push(x),a++,d=setTimeout(k,e.rotate),n(g,t,x.callback)}return setTimeout(k),w}function De(e){const t={...Jt,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,a){const f=Wt(t,c,l,(d,h)=>{r(),a&&a(d,h)});return n.push(f),f}function s(c){return n.find(l=>c(l))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function we(){}const U=Object.create(null);function Zt(e){if(!U[e]){const t=re(e);if(!t)return;const n=De(t),r={config:t,redundancy:n};U[e]=r}return U[e]}function Xt(e,t,n){let r,o;if(typeof e=="string"){const s=G(e);if(!s)return n(void 0,424),we;o=s.send;const i=Zt(e);i&&(r=i.redundancy)}else{const s=ne(e);if(s){r=De(s);const i=e.resources?e.resources[0]:"",c=G(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),we):r.query(t,o,n)().abort}const xe="iconify2",P="iconify",Re=P+"-count",Ie=P+"-version",Be=36e5,Yt=168;function W(e,t){try{return e.getItem(t)}catch{}}function se(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Se(e,t){try{e.removeItem(t)}catch{}}function Z(e,t){return se(e,Re,t.toString())}function X(e){return parseInt(W(e,Re))||0}const B={local:!0,session:!0},He={local:new Set,session:new Set};let ie=!1;function en(e){ie=e}let z=typeof window>"u"?{}:window;function Ue(e){const t=e+"Storage";try{if(z&&z[t]&&typeof z[t].length=="number")return z[t]}catch{}B[e]=!1}function Ve(e,t){const n=Ue(e);if(!n)return;const r=W(n,Ie);if(r!==xe){if(r){const c=X(n);for(let l=0;l{const l=P+c.toString(),a=W(n,l);if(typeof a=="string"){try{const f=JSON.parse(a);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch{}Se(n,l)}};let i=X(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,Z(n,i)):He[e].add(c))}function qe(){if(!ie){en(!0);for(const e in B)Ve(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=C(r,o);if(!te(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function tn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in B)Ve(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function nn(e,t){ie||qe();function n(r){let o;if(!B[r]||!(o=Ue(r)))return;const s=He[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=X(o),!Z(o,i+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,P+i.toString(),JSON.stringify(c))}t.lastModified&&!tn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ce(){}function on(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qt(e)}))}function rn(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=G(n)))return;s.prepare(n,r,o).forEach(c=>{Xt(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{e.missing.add(a)});else try{const a=te(e,l);if(!a.length)return;const f=e.pendingIcons;f&&a.forEach(d=>{f.delete(d)}),nn(e,l)}catch(a){console.error(a)}on(e)})})}))}const sn=(e,t)=>{const n=Gt(e,!0,Ne()),r=Vt(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ce)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(l=>{const{provider:a,prefix:f}=l;if(f===c&&a===i)return;i=a,c=f,s.push(C(a,f));const d=o[a]||(o[a]=Object.create(null));d[f]||(d[f]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:f,name:d}=l,h=C(a,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),o[a][f].push(d))}),s.forEach(l=>{const{provider:a,prefix:f}=l;o[a][f].length&&rn(l,o[a][f])}),t?Kt(t,r,s):Ce},cn=e=>new Promise((t,n)=>{const r=typeof e=="string"?R(e,!0):e;if(!r){n(e);return}sn([r||e],o=>{if(o.length&&r){const s=Ft(r);if(s){t({...ee,...s});return}}n(e)})});({...zt});const ke={backgroundColor:"currentColor"},ln={backgroundColor:"transparent"},je={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Te={webkitMask:ke,mask:ke,background:ln};for(const e in Te){const t=Te[e];for(const n in je)t[e+n]=je[n]}const V={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";V[e+"-flip"]=t,V[e.slice(0,1)+"-flip"]=t,V[e+"Flip"]=t});Ne(!0);Lt("",Ut);if(typeof document<"u"&&typeof window<"u"){qe();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"||!_t(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;J(n,o)||console.error(r)}catch{console.error(r)}}}}({...ee});const an=Ae({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ge(),o=Qe(),s=e;le(()=>{var u;return(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions},()=>{var u,w,y,b,F,k;if((w=(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions)!=null&&w.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((b=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&b.publicApiFallback){J("custom",{resources:[(F=o.nuxtIcon)==null?void 0:F.iconifyApiOptions.url],index:0});return}J("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const i=Ke("icons",()=>({})),c=We(!1),l=S(()=>{var u,w;return(w=(u=o.nuxtIcon)==null?void 0:u.aliases)!=null&&w[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),a=S(()=>ot(l.value)),f=S(()=>[a.value.provider,a.value.prefix,a.value.name].filter(Boolean).join(":")),d=S(()=>{var u;return(u=i.value)==null?void 0:u[f.value]}),h=S(()=>r.vueApp.component(l.value)),m=S(()=>{var w,y,b;if(!s.size&&typeof((w=o.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const u=s.size||((b=o.nuxtIcon)==null?void 0:b.size)||"1em";return String(Number(u))===u?`${u}px`:u}),v=S(()=>{var u;return((u=o==null?void 0:o.nuxtIcon)==null?void 0:u.class)??"icon"});async function p(){var u;h.value||(u=i.value)!=null&&u[f.value]||(c.value=!0,i.value[f.value]=await cn(a.value).catch(()=>{}),c.value=!1)}return le(l,p),!h.value&&([t,n]=Ze(()=>p()),t=await t,n()),(u,w)=>c.value?(_(),ae("span",{key:0,class:M(v.value),style:ue({width:m.value,height:m.value})},null,6)):d.value?(_(),fe(Xe(Ct),{key:1,icon:d.value,class:M(v.value),width:m.value,height:m.value},null,8,["icon","class","width","height"])):h.value?(_(),fe(Ye(h.value),{key:2,class:M(v.value),width:m.value,height:m.value},null,8,["class","width","height"])):(_(),ae("span",{key:3,class:M(v.value),style:ue({fontSize:m.value,lineHeight:m.value,width:m.value,height:m.value})},[et(u.$slots,"default",{},()=>[tt(nt(e.name),1)],!0)],6))}});const pn=Je(an,[["__scopeId","data-v-bd832875"]]);export{pn as default}; +import{A as Qe,b as Ke,h as Ge,_ as Je}from"./entry.07c0747b.js";import{j as Ae,l as ce,b as le,a as We,k as S,_ as Ze,H as _,I as ae,a3 as M,ae as ue,J as fe,u as Xe,P as Ye,Z as et,W as tt,V as nt}from"./swiper-vue.799c8af8.js";import{r as ot}from"./index.b8fe2cb5.js";const Oe=Object.freeze({left:0,top:0,width:16,height:16}),Pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...Oe,...Pe});Object.freeze({...Y,body:"",hidden:!1});({...Oe});const Fe=Object.freeze({width:null,height:null}),Ee=Object.freeze({...Fe,...Pe});function rt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Fe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const st=/[\s,]+/;function it(e,t){t.split(st).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ct(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 lt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,at=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function de(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(lt);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=at.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const ut=e=>e==="unset"||e==="undefined"||e==="none";function ft(e,t){const n={...Y,...e},r={...Ee,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(v=>{const p=[],u=v.hFlip,w=v.vFlip;let y=v.rotate;u?w?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):w&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=o.height/2+o.top,p.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,p.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),p.length&&(s=''+s+"")});const i=r.width,c=r.height,l=o.width,a=o.height;let f,d;i===null?(d=c===null?"1em":c==="auto"?a:c,f=de(d,l/a)):(f=i==="auto"?l:i,d=c===null?de(f,a/l):c==="auto"?a:c);const h={},m=(v,p)=>{ut(p)||(h[v]=p.toString())};return m("width",f),m("height",d),h.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+a.toString(),{attributes:h,body:s}}const dt=/\sid="(\S+)"/g,pt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ht=0;function gt(e,t=pt){const n=[];let r;for(;r=dt.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+(ht++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function mt(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 yt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function bt(e){return"data:image/svg+xml,"+yt(e)}function vt(e){return'url("'+bt(e)+'")'}const pe={...Ee,inline:!1},wt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xt={display:"inline-block"},q={backgroundColor:"currentColor"},_e={backgroundColor:"transparent"},he={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ge={webkitMask:q,mask:q,background:_e};for(const e in ge){const t=ge[e];for(const n in he)t[e+n]=he[n]}const L={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";L[e+"-flip"]=t,L[e.slice(0,1)+"-flip"]=t,L[e+"Flip"]=t});function me(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const It=(e,t)=>{const n=rt(pe,t),r={...wt},o=t.mode||"svg",s={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const u=t[p];if(u!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=u===!0||u==="true"||u===1;break;case"flip":typeof u=="string"&&it(n,u);break;case"color":s.color=u;break;case"rotate":typeof u=="string"?n[p]=ct(u):typeof u=="number"&&(n[p]=u);break;case"ariaHidden":case"aria-hidden":u!==!0&&u!=="true"&&delete r["aria-hidden"];break;default:{const w=L[p];w?(u===!0||u==="true"||u===1)&&(n[w]=!0):pe[p]===void 0&&(r[p]=u)}}}const l=ft(e,n),a=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...c},Object.assign(r,a);let p=0,u=t.id;return typeof u=="string"&&(u=u.replace(/-/g,"_")),r.innerHTML=gt(l.body,u?()=>u+"ID"+p++:"iconifyVue"),ce("svg",r)}const{body:f,width:d,height:h}=e,m=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),v=mt(f,{...a,width:d+"",height:h+""});return r.style={...s,"--svg":vt(v),width:me(a.width),height:me(a.height),...xt,...m?q:_e,...c},ce("span",r)},St=Object.create(null),Ct=Ae({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?St[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:It({...Y,...n},e)}}),A=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(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 c=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!N(a)?null:a}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((e.provider===""||e.provider.match(A))&&(t&&e.prefix===""||e.prefix.match(A))&&e.name.match(A)):!1,Me=Object.freeze({left:0,top:0,width:16,height:16}),D=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ee=Object.freeze({...Me,...D}),Q=Object.freeze({...ee,body:"",hidden:!1});function kt(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 ye(e,t){const n=kt(e,t);for(const r in Q)r in D?r in e&&!(r in n)&&(n[r]=D[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function jt(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 c=r[i]&&r[i].parent,l=c&&s(c);l&&(o[i]=[c].concat(l))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Tt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=ye(r[c]||o[c],s)}return i(t),n.forEach(i),ye(e,s)}function ze(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=jt(e);for(const o in r){const s=r[o];s&&(t(o,Tt(e,o,s)),n.push(o))}return n}const At={provider:"",aliases:{},not_found:{},...Me};function H(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Le(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!H(e,At))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(A)||typeof s.body!="string"||!H(s,Q))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(A)||typeof i!="string"||!n[i]&&!r[i]||!H(s,Q))return null}return t}const be=Object.create(null);function Ot(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function C(e,t){const n=be[e]||(be[e]=Object.create(null));return n[t]||(n[t]=Ot(e,t))}function te(e,t){return Le(t)?ze(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Pt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let O=!1;function Ne(e){return typeof e=="boolean"&&(O=e),O}function Ft(e){const t=typeof e=="string"?R(e,!0,O):e;if(t){const n=C(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Et(e,t){const n=R(e,!0,O);if(!n)return!1;const r=C(n.provider,n.prefix);return Pt(r,n.name,t)}function _t(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),O&&!t&&!e.prefix){let o=!1;return Le(e)&&(e.prefix="",ze(e,(s,i)=>{i&&Et(s,i)&&(o=!0)})),o}const n=e.prefix;if(!N({provider:t,prefix:n,name:"a"}))return!1;const r=C(t,n);return!!te(r,e)}const Mt=Object.freeze({width:null,height:null}),zt=Object.freeze({...Mt,...D});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const K=Object.create(null);function Lt(e,t){K[e]=t}function G(e){return K[e]||K[""]}function ne(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 oe=Object.create(null),T=["https://api.simplesvg.com","https://api.unisvg.com"],$=[];for(;T.length>0;)T.length===1||Math.random()>.5?$.push(T.shift()):$.push(T.pop());oe[""]=ne({resources:["https://api.iconify.design"].concat($)});function J(e,t){const n=ne(t);return n===null?!1:(oe[e]=n,!0)}function re(e){return oe[e]}const Nt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ve=Nt();function $t(e,t){const n=re(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 Dt(e){return e===404}const Rt=(e,t,n)=>{const r=[],o=$t(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=o&&a>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=l.length),i.icons.push(l)}),r.push(i),r};function Bt(e){if(typeof e=="string"){const t=re(e);if(t)return t.path}return"/"}const Ht=(e,t,n)=>{if(!ve){n("abort",424);return}let r=Bt(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=s+".json?"+l.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;ve(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Dt(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)})},Ut={prepare:Rt,send:Ht};function Vt(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,c=o.name,l=n[s]||(n[s]=Object.create(null)),a=l[i]||(l[i]=C(s,i));let f;c in a.icons?f=t.loaded:i===""||a.missing.has(c)?f=t.missing:f=t.pending;const d={provider:s,prefix:i,name:c};f.push(d)}),t}function $e(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function qt(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,c=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||$e([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Qt=0;function Kt(e,t,n){const r=Qt++,o=$e.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 Gt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?R(o,t,n):o;s&&r.push(s)}),r}var Jt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Wt(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 g=e.resources.slice(0);for(i=[];g.length>1;){const x=Math.floor(Math.random()*g.length);i.push(g[x]),g=g.slice(0,x).concat(g.slice(x+1))}i=i.concat(g)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let l="pending",a=0,f,d=null,h=[],m=[];typeof r=="function"&&m.push(r);function v(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),v(),h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function u(g,x){x&&(m=[]),typeof g=="function"&&m.push(g)}function w(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:u,abort:p}}function y(){l="failed",m.forEach(g=>{g(void 0,f)})}function b(){h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function F(g,x,j){const E=x!=="success";switch(h=h.filter(I=>I!==g),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,y();return}if(E){f=j,h.length||(i.length?k():y());return}if(v(),b(),!e.random){const I=e.resources.indexOf(g.resource);I!==-1&&I!==e.index&&(e.index=I)}l="completed",m.forEach(I=>{I(j)})}function k(){if(l!=="pending")return;v();const g=i.shift();if(g===void 0){if(h.length){d=setTimeout(()=>{v(),l==="pending"&&(b(),y())},e.timeout);return}y();return}const x={status:"pending",resource:g,callback:(j,E)=>{F(x,j,E)}};h.push(x),a++,d=setTimeout(k,e.rotate),n(g,t,x.callback)}return setTimeout(k),w}function De(e){const t={...Jt,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,a){const f=Wt(t,c,l,(d,h)=>{r(),a&&a(d,h)});return n.push(f),f}function s(c){return n.find(l=>c(l))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function we(){}const U=Object.create(null);function Zt(e){if(!U[e]){const t=re(e);if(!t)return;const n=De(t),r={config:t,redundancy:n};U[e]=r}return U[e]}function Xt(e,t,n){let r,o;if(typeof e=="string"){const s=G(e);if(!s)return n(void 0,424),we;o=s.send;const i=Zt(e);i&&(r=i.redundancy)}else{const s=ne(e);if(s){r=De(s);const i=e.resources?e.resources[0]:"",c=G(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),we):r.query(t,o,n)().abort}const xe="iconify2",P="iconify",Re=P+"-count",Ie=P+"-version",Be=36e5,Yt=168;function W(e,t){try{return e.getItem(t)}catch{}}function se(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Se(e,t){try{e.removeItem(t)}catch{}}function Z(e,t){return se(e,Re,t.toString())}function X(e){return parseInt(W(e,Re))||0}const B={local:!0,session:!0},He={local:new Set,session:new Set};let ie=!1;function en(e){ie=e}let z=typeof window>"u"?{}:window;function Ue(e){const t=e+"Storage";try{if(z&&z[t]&&typeof z[t].length=="number")return z[t]}catch{}B[e]=!1}function Ve(e,t){const n=Ue(e);if(!n)return;const r=W(n,Ie);if(r!==xe){if(r){const c=X(n);for(let l=0;l{const l=P+c.toString(),a=W(n,l);if(typeof a=="string"){try{const f=JSON.parse(a);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch{}Se(n,l)}};let i=X(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,Z(n,i)):He[e].add(c))}function qe(){if(!ie){en(!0);for(const e in B)Ve(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=C(r,o);if(!te(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function tn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in B)Ve(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function nn(e,t){ie||qe();function n(r){let o;if(!B[r]||!(o=Ue(r)))return;const s=He[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=X(o),!Z(o,i+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,P+i.toString(),JSON.stringify(c))}t.lastModified&&!tn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ce(){}function on(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qt(e)}))}function rn(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=G(n)))return;s.prepare(n,r,o).forEach(c=>{Xt(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{e.missing.add(a)});else try{const a=te(e,l);if(!a.length)return;const f=e.pendingIcons;f&&a.forEach(d=>{f.delete(d)}),nn(e,l)}catch(a){console.error(a)}on(e)})})}))}const sn=(e,t)=>{const n=Gt(e,!0,Ne()),r=Vt(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ce)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(l=>{const{provider:a,prefix:f}=l;if(f===c&&a===i)return;i=a,c=f,s.push(C(a,f));const d=o[a]||(o[a]=Object.create(null));d[f]||(d[f]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:f,name:d}=l,h=C(a,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),o[a][f].push(d))}),s.forEach(l=>{const{provider:a,prefix:f}=l;o[a][f].length&&rn(l,o[a][f])}),t?Kt(t,r,s):Ce},cn=e=>new Promise((t,n)=>{const r=typeof e=="string"?R(e,!0):e;if(!r){n(e);return}sn([r||e],o=>{if(o.length&&r){const s=Ft(r);if(s){t({...ee,...s});return}}n(e)})});({...zt});const ke={backgroundColor:"currentColor"},ln={backgroundColor:"transparent"},je={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Te={webkitMask:ke,mask:ke,background:ln};for(const e in Te){const t=Te[e];for(const n in je)t[e+n]=je[n]}const V={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";V[e+"-flip"]=t,V[e.slice(0,1)+"-flip"]=t,V[e+"Flip"]=t});Ne(!0);Lt("",Ut);if(typeof document<"u"&&typeof window<"u"){qe();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"||!_t(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;J(n,o)||console.error(r)}catch{console.error(r)}}}}({...ee});const an=Ae({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ge(),o=Qe(),s=e;le(()=>{var u;return(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions},()=>{var u,w,y,b,F,k;if((w=(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions)!=null&&w.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((b=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&b.publicApiFallback){J("custom",{resources:[(F=o.nuxtIcon)==null?void 0:F.iconifyApiOptions.url],index:0});return}J("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const i=Ke("icons",()=>({})),c=We(!1),l=S(()=>{var u,w;return(w=(u=o.nuxtIcon)==null?void 0:u.aliases)!=null&&w[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),a=S(()=>ot(l.value)),f=S(()=>[a.value.provider,a.value.prefix,a.value.name].filter(Boolean).join(":")),d=S(()=>{var u;return(u=i.value)==null?void 0:u[f.value]}),h=S(()=>r.vueApp.component(l.value)),m=S(()=>{var w,y,b;if(!s.size&&typeof((w=o.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const u=s.size||((b=o.nuxtIcon)==null?void 0:b.size)||"1em";return String(Number(u))===u?`${u}px`:u}),v=S(()=>{var u;return((u=o==null?void 0:o.nuxtIcon)==null?void 0:u.class)??"icon"});async function p(){var u;h.value||(u=i.value)!=null&&u[f.value]||(c.value=!0,i.value[f.value]=await cn(a.value).catch(()=>{}),c.value=!1)}return le(l,p),!h.value&&([t,n]=Ze(()=>p()),t=await t,n()),(u,w)=>c.value?(_(),ae("span",{key:0,class:M(v.value),style:ue({width:m.value,height:m.value})},null,6)):d.value?(_(),fe(Xe(Ct),{key:1,icon:d.value,class:M(v.value),width:m.value,height:m.value},null,8,["icon","class","width","height"])):h.value?(_(),fe(Ye(h.value),{key:2,class:M(v.value),width:m.value,height:m.value},null,8,["class","width","height"])):(_(),ae("span",{key:3,class:M(v.value),style:ue({fontSize:m.value,lineHeight:m.value,width:m.value,height:m.value})},[et(u.$slots,"default",{},()=>[tt(nt(e.name),1)],!0)],6))}});const pn=Je(an,[["__scopeId","data-v-bd832875"]]);export{pn as default}; diff --git a/_nuxt/IconCSS.646566ab.js b/_nuxt/IconCSS.3154e727.js similarity index 94% rename from _nuxt/IconCSS.646566ab.js rename to _nuxt/IconCSS.3154e727.js index 32427c0..4396c08 100644 --- a/_nuxt/IconCSS.646566ab.js +++ b/_nuxt/IconCSS.3154e727.js @@ -1 +1 @@ -import{A as m,_ as f}from"./entry.fa10d76e.js";import{j as _,af as d,k as r,H as I,I as v,ae as x}from"./swiper-vue.799c8af8.js";import{r as S}from"./index.b8fe2cb5.js";const y=_({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){d(e=>({efdb04fa:p.value}));const t=m(),o=u,l=r(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[o.name]?t.nuxtIcon.aliases[o.name]:o.name}),c=r(()=>S(l.value)),p=r(()=>{var s,a;const e=(a=(s=t.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${c.value.prefix}/${c.value.name}.svg')`}),i=r(()=>{var n,s,a;if(!o.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((s=t.nuxtIcon)!=null&&s.size))return;const e=o.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(I(),v("span",{style:x({width:i.value,height:i.value})},null,4))}});const U=f(y,[["__scopeId","data-v-41e8d397"]]);export{U as default}; +import{A as m,_ as f}from"./entry.07c0747b.js";import{j as _,af as d,k as r,H as I,I as v,ae as x}from"./swiper-vue.799c8af8.js";import{r as S}from"./index.b8fe2cb5.js";const y=_({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){d(e=>({efdb04fa:p.value}));const t=m(),o=u,l=r(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[o.name]?t.nuxtIcon.aliases[o.name]:o.name}),c=r(()=>S(l.value)),p=r(()=>{var s,a;const e=(a=(s=t.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${c.value.prefix}/${c.value.name}.svg')`}),i=r(()=>{var n,s,a;if(!o.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((s=t.nuxtIcon)!=null&&s.size))return;const e=o.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(I(),v("span",{style:x({width:i.value,height:i.value})},null,4))}});const U=f(y,[["__scopeId","data-v-41e8d397"]]);export{U as default}; diff --git a/_nuxt/ProseA.c1f967dd.js b/_nuxt/ProseA.984fce30.js similarity index 70% rename from _nuxt/ProseA.c1f967dd.js rename to _nuxt/ProseA.984fce30.js index ad5922d..ba51de5 100644 --- a/_nuxt/ProseA.c1f967dd.js +++ b/_nuxt/ProseA.984fce30.js @@ -1 +1 @@ -import{_ as a}from"./nuxt-link.fae787a8.js";import{j as o,H as n,J as s,O as f,Z as i}from"./swiper-vue.799c8af8.js";import"./entry.fa10d76e.js";const l=o({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(t){return(e,p)=>{const r=a;return n(),s(r,{href:t.href,target:t.target},{default:f(()=>[i(e.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; +import{_ as a}from"./nuxt-link.963ae6e7.js";import{j as o,H as n,J as s,O as f,Z as i}from"./swiper-vue.799c8af8.js";import"./entry.07c0747b.js";const l=o({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(t){return(e,p)=>{const r=a;return n(),s(r,{href:t.href,target:t.target},{default:f(()=>[i(e.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; diff --git a/_nuxt/ProseBlockquote.6cb79d10.js b/_nuxt/ProseBlockquote.1bea47a7.js similarity index 72% rename from _nuxt/ProseBlockquote.6cb79d10.js rename to _nuxt/ProseBlockquote.1bea47a7.js index 79e54fe..e7986fa 100644 --- a/_nuxt/ProseBlockquote.6cb79d10.js +++ b/_nuxt/ProseBlockquote.1bea47a7.js @@ -1 +1 @@ -import{_ as o}from"./entry.fa10d76e.js";import{H as r,I as t,Z as c}from"./swiper-vue.799c8af8.js";const s={};function n(e,l){return r(),t("blockquote",null,[c(e.$slots,"default")])}const _=o(s,[["render",n]]);export{_ as default}; +import{_ as o}from"./entry.07c0747b.js";import{H as r,I as t,Z as c}from"./swiper-vue.799c8af8.js";const s={};function n(e,l){return r(),t("blockquote",null,[c(e.$slots,"default")])}const _=o(s,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseCodeInline.958f04d4.js b/_nuxt/ProseCodeInline.ed55de07.js similarity index 71% rename from _nuxt/ProseCodeInline.958f04d4.js rename to _nuxt/ProseCodeInline.ed55de07.js index 4ffc788..a878fec 100644 --- a/_nuxt/ProseCodeInline.958f04d4.js +++ b/_nuxt/ProseCodeInline.ed55de07.js @@ -1 +1 @@ -import{_ as o}from"./entry.fa10d76e.js";import{H as r,I as n,Z as t}from"./swiper-vue.799c8af8.js";const s={};function c(e,a){return r(),n("code",null,[t(e.$slots,"default")])}const _=o(s,[["render",c]]);export{_ as default}; +import{_ as o}from"./entry.07c0747b.js";import{H as r,I as n,Z as t}from"./swiper-vue.799c8af8.js";const s={};function c(e,a){return r(),n("code",null,[t(e.$slots,"default")])}const _=o(s,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseEm.0b23c34a.js b/_nuxt/ProseEm.f629825c.js similarity index 71% rename from _nuxt/ProseEm.0b23c34a.js rename to _nuxt/ProseEm.f629825c.js index 3e89fff..96b5faf 100644 --- a/_nuxt/ProseEm.0b23c34a.js +++ b/_nuxt/ProseEm.f629825c.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("em",null,[s(e.$slots,"default")])}const m=r(n,[["render",c]]);export{m as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("em",null,[s(e.$slots,"default")])}const m=r(n,[["render",c]]);export{m as default}; diff --git a/_nuxt/ProseH1.5c2fb7f0.js b/_nuxt/ProseH1.c5c71dc6.js similarity index 86% rename from _nuxt/ProseH1.5c2fb7f0.js rename to _nuxt/ProseH1.c5c71dc6.js index 451fe73..fbf43c4 100644 --- a/_nuxt/ProseH1.5c2fb7f0.js +++ b/_nuxt/ProseH1.c5c71dc6.js @@ -1 +1 @@ -import{c}from"./entry.fa10d76e.js";import{j as d,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=d({__name:"ProseH1",props:{id:{}},setup(r){const a=r,{headings:o}=c().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h1)});return(e,l)=>(s(),t("h1",{id:e.id},[u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c}from"./entry.07c0747b.js";import{j as d,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=d({__name:"ProseH1",props:{id:{}},setup(r){const a=r,{headings:o}=c().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h1)});return(e,l)=>(s(),t("h1",{id:e.id},[u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH2.2b8d5680.js b/_nuxt/ProseH2.fb4f5ad5.js similarity index 86% rename from _nuxt/ProseH2.2b8d5680.js rename to _nuxt/ProseH2.fb4f5ad5.js index 87a724b..dc7caf6 100644 --- a/_nuxt/ProseH2.2b8d5680.js +++ b/_nuxt/ProseH2.fb4f5ad5.js @@ -1 +1 @@ -import{c as d}from"./entry.fa10d76e.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH2",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h2)});return(e,l)=>(s(),t("h2",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c as d}from"./entry.07c0747b.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH2",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h2)});return(e,l)=>(s(),t("h2",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH3.f4f8745b.js b/_nuxt/ProseH3.fe01afa9.js similarity index 86% rename from _nuxt/ProseH3.f4f8745b.js rename to _nuxt/ProseH3.fe01afa9.js index 4b8115f..91d7b20 100644 --- a/_nuxt/ProseH3.f4f8745b.js +++ b/_nuxt/ProseH3.fe01afa9.js @@ -1 +1 @@ -import{c as d}from"./entry.fa10d76e.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH3",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h3)});return(e,l)=>(s(),t("h3",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c as d}from"./entry.07c0747b.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH3",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h3)});return(e,l)=>(s(),t("h3",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH4.3aa4cfe4.js b/_nuxt/ProseH4.2f1bba7a.js similarity index 86% rename from _nuxt/ProseH4.3aa4cfe4.js rename to _nuxt/ProseH4.2f1bba7a.js index 840ed2a..5c0eb6c 100644 --- a/_nuxt/ProseH4.3aa4cfe4.js +++ b/_nuxt/ProseH4.2f1bba7a.js @@ -1 +1 @@ -import{c as d}from"./entry.fa10d76e.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH4",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h4)});return(e,l)=>(s(),t("h4",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c as d}from"./entry.07c0747b.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH4",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h4)});return(e,l)=>(s(),t("h4",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH5.63d21b08.js b/_nuxt/ProseH5.0b277546.js similarity index 86% rename from _nuxt/ProseH5.63d21b08.js rename to _nuxt/ProseH5.0b277546.js index 4ccd08c..6cc3ff2 100644 --- a/_nuxt/ProseH5.63d21b08.js +++ b/_nuxt/ProseH5.0b277546.js @@ -1 +1 @@ -import{c as d}from"./entry.fa10d76e.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH5",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h5)});return(e,l)=>(s(),t("h5",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c as d}from"./entry.07c0747b.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH5",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h5)});return(e,l)=>(s(),t("h5",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH6.a408c7fc.js b/_nuxt/ProseH6.1145c1f4.js similarity index 86% rename from _nuxt/ProseH6.a408c7fc.js rename to _nuxt/ProseH6.1145c1f4.js index 4d3146f..2e84ce4 100644 --- a/_nuxt/ProseH6.a408c7fc.js +++ b/_nuxt/ProseH6.1145c1f4.js @@ -1 +1 @@ -import{c as d}from"./entry.fa10d76e.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH6",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h6)});return(e,l)=>(s(),t("h6",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; +import{c as d}from"./entry.07c0747b.js";import{j as c,k as p,H as s,I as t,u,Z as n}from"./swiper-vue.799c8af8.js";const f=["id"],m=["href"],_=c({__name:"ProseH6",props:{id:{}},setup(r){const a=r,{headings:o}=d().public.mdc,i=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h6)});return(e,l)=>(s(),t("h6",{id:e.id},[e.id&&u(i)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseHr.7ce08cfc.js b/_nuxt/ProseHr.658b2924.js similarity index 65% rename from _nuxt/ProseHr.7ce08cfc.js rename to _nuxt/ProseHr.658b2924.js index 5440426..59382c7 100644 --- a/_nuxt/ProseHr.7ce08cfc.js +++ b/_nuxt/ProseHr.658b2924.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as e,I as o}from"./swiper-vue.799c8af8.js";const c={};function t(n,s){return e(),o("hr")}const f=r(c,[["render",t]]);export{f as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as e,I as o}from"./swiper-vue.799c8af8.js";const c={};function t(n,s){return e(),o("hr")}const f=r(c,[["render",t]]);export{f as default}; diff --git a/_nuxt/ProseImg.bc716666.js b/_nuxt/ProseImg.c4519288.js similarity index 90% rename from _nuxt/ProseImg.bc716666.js rename to _nuxt/ProseImg.c4519288.js index 49ab842..a987e40 100644 --- a/_nuxt/ProseImg.bc716666.js +++ b/_nuxt/ProseImg.c4519288.js @@ -1 +1 @@ -import{k as a,w as n,c,l as h}from"./entry.fa10d76e.js";import{j as o,k as l,H as u,I as d,u as f}from"./swiper-vue.799c8af8.js";const m=["src","alt","width","height"],w=o({__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=l(()=>{var r;if((r=t.src)!=null&&r.startsWith("/")&&!t.src.startsWith("//")){const s=a(n(c().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return h(s,t.src)}return t.src});return(r,s)=>(u(),d("img",{src:f(i),alt:e.alt,width:e.width,height:e.height},null,8,m))}});export{w as default}; +import{k as a,w as n,c,l as h}from"./entry.07c0747b.js";import{j as o,k as l,H as u,I as d,u as f}from"./swiper-vue.799c8af8.js";const m=["src","alt","width","height"],w=o({__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=l(()=>{var r;if((r=t.src)!=null&&r.startsWith("/")&&!t.src.startsWith("//")){const s=a(n(c().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return h(s,t.src)}return t.src});return(r,s)=>(u(),d("img",{src:f(i),alt:e.alt,width:e.width,height:e.height},null,8,m))}});export{w as default}; diff --git a/_nuxt/ProseLi.623f2d94.js b/_nuxt/ProseLi.4dcce001.js similarity index 71% rename from _nuxt/ProseLi.623f2d94.js rename to _nuxt/ProseLi.4dcce001.js index 9963b8d..90a752c 100644 --- a/_nuxt/ProseLi.623f2d94.js +++ b/_nuxt/ProseLi.4dcce001.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("li",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("li",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseOl.a3d85517.js b/_nuxt/ProseOl.b4099084.js similarity index 71% rename from _nuxt/ProseOl.a3d85517.js rename to _nuxt/ProseOl.b4099084.js index 77bab53..c421e8d 100644 --- a/_nuxt/ProseOl.a3d85517.js +++ b/_nuxt/ProseOl.b4099084.js @@ -1 +1 @@ -import{_ as o}from"./entry.fa10d76e.js";import{H as r,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,l){return r(),t("ol",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; +import{_ as o}from"./entry.07c0747b.js";import{H as r,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,l){return r(),t("ol",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseP.7c203b65.js b/_nuxt/ProseP.28b9b447.js similarity index 71% rename from _nuxt/ProseP.7c203b65.js rename to _nuxt/ProseP.28b9b447.js index 1a1517b..4f6fe70 100644 --- a/_nuxt/ProseP.7c203b65.js +++ b/_nuxt/ProseP.28b9b447.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("p",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("p",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseStrong.10c660d8.js b/_nuxt/ProseStrong.aea7b4c8.js similarity index 71% rename from _nuxt/ProseStrong.10c660d8.js rename to _nuxt/ProseStrong.aea7b4c8.js index 216289c..745344c 100644 --- a/_nuxt/ProseStrong.10c660d8.js +++ b/_nuxt/ProseStrong.aea7b4c8.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as n}from"./swiper-vue.799c8af8.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const _=r(s,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as n}from"./swiper-vue.799c8af8.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const _=r(s,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTable.1d668abd.js b/_nuxt/ProseTable.c170c550.js similarity index 71% rename from _nuxt/ProseTable.1d668abd.js rename to _nuxt/ProseTable.c170c550.js index 88862eb..c6e94f2 100644 --- a/_nuxt/ProseTable.1d668abd.js +++ b/_nuxt/ProseTable.c170c550.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const a={};function n(e,c){return o(),t("table",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const a={};function n(e,c){return o(),t("table",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseTbody.b662d189.js b/_nuxt/ProseTbody.6aa0f547.js similarity index 71% rename from _nuxt/ProseTbody.b662d189.js rename to _nuxt/ProseTbody.6aa0f547.js index 52fba0d..6511b1b 100644 --- a/_nuxt/ProseTbody.b662d189.js +++ b/_nuxt/ProseTbody.6aa0f547.js @@ -1 +1 @@ -import{_ as o}from"./entry.fa10d76e.js";import{H as r,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; +import{_ as o}from"./entry.07c0747b.js";import{H as r,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTd.8cef299a.js b/_nuxt/ProseTd.fc18f48c.js similarity index 71% rename from _nuxt/ProseTd.8cef299a.js rename to _nuxt/ProseTd.fc18f48c.js index 9efc7c4..8e26c14 100644 --- a/_nuxt/ProseTd.8cef299a.js +++ b/_nuxt/ProseTd.fc18f48c.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("td",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("td",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTh.f0bf7e46.js b/_nuxt/ProseTh.eeca17a9.js similarity index 71% rename from _nuxt/ProseTh.f0bf7e46.js rename to _nuxt/ProseTh.eeca17a9.js index a42d308..2665753 100644 --- a/_nuxt/ProseTh.f0bf7e46.js +++ b/_nuxt/ProseTh.eeca17a9.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("th",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("th",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseThead.1c2491ff.js b/_nuxt/ProseThead.fb24bd41.js similarity index 71% rename from _nuxt/ProseThead.1c2491ff.js rename to _nuxt/ProseThead.fb24bd41.js index f9752f5..0aa401c 100644 --- a/_nuxt/ProseThead.1c2491ff.js +++ b/_nuxt/ProseThead.fb24bd41.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const a={};function n(e,c){return o(),t("thead",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const a={};function n(e,c){return o(),t("thead",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseTr.1dcc41ba.js b/_nuxt/ProseTr.1270f38a.js similarity index 71% rename from _nuxt/ProseTr.1dcc41ba.js rename to _nuxt/ProseTr.1270f38a.js index 43b1f99..3ce2c61 100644 --- a/_nuxt/ProseTr.1dcc41ba.js +++ b/_nuxt/ProseTr.1270f38a.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("tr",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,a){return o(),t("tr",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseUl.b8060c82.js b/_nuxt/ProseUl.fbbe2447.js similarity index 71% rename from _nuxt/ProseUl.b8060c82.js rename to _nuxt/ProseUl.fbbe2447.js index 28bc740..c7c8ce2 100644 --- a/_nuxt/ProseUl.b8060c82.js +++ b/_nuxt/ProseUl.fbbe2447.js @@ -1 +1 @@ -import{_ as r}from"./entry.fa10d76e.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,l){return o(),t("ul",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; +import{_ as r}from"./entry.07c0747b.js";import{H as o,I as t,Z as s}from"./swiper-vue.799c8af8.js";const n={};function c(e,l){return o(),t("ul",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/acidentes.3d086779.js b/_nuxt/acidentes.185d2b63.js similarity index 74% rename from _nuxt/acidentes.3d086779.js rename to _nuxt/acidentes.185d2b63.js index f2a8330..f6c47ad 100644 --- a/_nuxt/acidentes.3d086779.js +++ b/_nuxt/acidentes.185d2b63.js @@ -1 +1 @@ -import{N as e}from"./nuxt-icon.f3fac03d.js";import{l as t,H as o,I as s,U as n}from"./swiper-vue.799c8af8.js";import"./entry.fa10d76e.js";const a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},c=n("path",{d:"M15.966 4.627 2.484 27.977h26.963Zm0 2.109 11.655 20.186H4.311Zm15.577 22.188H.527L16.035 2.063Zm-15.606-15.41a4 4 0 0 0-4 4.002 4 4 0 0 0 .066.686c.145 1.54 3.144 7.136 3.934 7.136s3.79-5.596 3.934-7.136a4 4 0 0 0 .067-.686 4 4 0 0 0-4-4.001m-.086 2.403a1.707 1.707 0 0 1 1.708 1.708 1.707 1.707 0 0 1-1.708 1.706 1.707 1.707 0 0 1-1.708-1.706 1.707 1.707 0 0 1 1.708-1.708"},null,-1),r=[c];function m(i,d){return o(),s("svg",a,[...r])}const p={render(){return t(e,{icon:{render:m},name:"acidentes"})}};export{p as default,m as render}; +import{N as e}from"./nuxt-icon.385eb01b.js";import{l as t,H as o,I as s,U as n}from"./swiper-vue.799c8af8.js";import"./entry.07c0747b.js";const a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},c=n("path",{d:"M15.966 4.627 2.484 27.977h26.963Zm0 2.109 11.655 20.186H4.311Zm15.577 22.188H.527L16.035 2.063Zm-15.606-15.41a4 4 0 0 0-4 4.002 4 4 0 0 0 .066.686c.145 1.54 3.144 7.136 3.934 7.136s3.79-5.596 3.934-7.136a4 4 0 0 0 .067-.686 4 4 0 0 0-4-4.001m-.086 2.403a1.707 1.707 0 0 1 1.708 1.708 1.707 1.707 0 0 1-1.708 1.706 1.707 1.707 0 0 1-1.708-1.706 1.707 1.707 0 0 1 1.708-1.708"},null,-1),r=[c];function m(i,d){return o(),s("svg",a,[...r])}const p={render(){return t(e,{icon:{render:m},name:"acidentes"})}};export{p as default,m as render}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index 9ab95b2..f849cc1 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"ba7887e3-94ca-4d2b-ad6a-907d7054eddd","timestamp":1731361480989} \ No newline at end of file +{"id":"7faff33d-b754-42d4-87d4-311d8d5bd0bd","timestamp":1731364769664} \ No newline at end of file diff --git a/_nuxt/builds/meta/7faff33d-b754-42d4-87d4-311d8d5bd0bd.json b/_nuxt/builds/meta/7faff33d-b754-42d4-87d4-311d8d5bd0bd.json new file mode 100644 index 0000000..1e05f55 --- /dev/null +++ b/_nuxt/builds/meta/7faff33d-b754-42d4-87d4-311d8d5bd0bd.json @@ -0,0 +1 @@ +{"id":"7faff33d-b754-42d4-87d4-311d8d5bd0bd","timestamp":1731364769664,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/builds/meta/ba7887e3-94ca-4d2b-ad6a-907d7054eddd.json b/_nuxt/builds/meta/ba7887e3-94ca-4d2b-ad6a-907d7054eddd.json deleted file mode 100644 index 035e178..0000000 --- a/_nuxt/builds/meta/ba7887e3-94ca-4d2b-ad6a-907d7054eddd.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"ba7887e3-94ca-4d2b-ad6a-907d7054eddd","timestamp":1731361480989,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/builds/meta/dev.json b/_nuxt/builds/meta/dev.json deleted file mode 100644 index 7b21a05..0000000 --- a/_nuxt/builds/meta/dev.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"dev","timestamp":1731361482185,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/client-db.712bfa70.js b/_nuxt/client-db.fa4362e2.js similarity index 99% rename from _nuxt/client-db.712bfa70.js rename to _nuxt/client-db.fa4362e2.js index 5ed0573..c11a206 100644 --- a/_nuxt/client-db.712bfa70.js +++ b/_nuxt/client-db.fa4362e2.js @@ -1 +1 @@ -import{n as _,l as T,c as M,j as W,h as B}from"./entry.fa10d76e.js";import{g as b,b as j,c as E,o as k,d as J,f as $,i as P,k as x,l as H}from"./query.046ea17d.js";import{p as q}from"./index.b0fe9fac.js";import{u as U}from"./preview.9ca7dcfa.js";import"./swiper-vue.799c8af8.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="",...c)=>r[a](t+l,...c);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(c=>c.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)}},c=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 u=new Map,f=m=>{let y=u.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},u.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([...u.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(u=>({key:u.relativeKey,options:u.options})),i).then(u=>u.map(f=>({key:ne(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(u=>p(s.driver.getItem,u.relativeKey,u.options).then(f=>({key:u.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return u.getItemRaw?p(u.getItemRaw,s,i):p(u.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:u,driver:f}=n(e);f.setItem&&(await p(f.setItem,u,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(u=>({key:u.relativeKey,value:K(u.value),options:u.options})),i),s.driver.setItem&&await Promise.all(s.items.map(u=>p(s.driver.setItem,u.relativeKey,K(u.value),u.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:u,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,u,i,s);else if(f.setItem)await p(f.setItem,u,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:u}=n(e);u.removeItem&&(await p(u.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(u.removeItem,s+"$",i),u.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:u}=n(e),f=Object.create(null);if(u.getMeta&&Object.assign(f,await p(u.getMeta,s,i)),!i.nativeOnly){const m=await p(u.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 u=[];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=>!u.some(I=>w.startsWith(I)));f.push(...v),u=[m.mountpoint,...u.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 u=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(u.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 c(),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,u)=>u.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(u=>({driver:u.driver,base:u.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(c=>{const o=l[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,o):!1}return n(b(a,c),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=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>t(u,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((u,f)=>c[i-h+f+ +(f>=h)]||null)},a=[(c,o)=>{const h=c.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>J(c.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=[(c,o)=>{if(o.skip)return{...c,result:c.result.slice(o.skip),skip:o.skip}},(c,o)=>{if(o.limit)return{...c,result:c.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const u=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(f=>f._path))==null?void 0:s._path);if(typeof u=="string"){const f=g.find(m=>m._path===T(u,"_dir"));f&&(o.dirConfig={_path:f._path,...P(["_"])(f)})}}return o},(c,o)=>({...c,result:$(P(o.without))(c.result)}),(c,o)=>({...c,result:$(x(o.only))(c.result)})];return async c=>{const o=await r(),h=c.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,u)=>u(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,u)=>u(s,h,o)||s,e);return h.first?{...k(["skip","limit","total"])(i),result:i.result[0]}:i}}function N(r){const t=ce(r);return async n=>{var c;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(c=l.dirConfig)==null?void 0:c._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(c,o){if(typeof c!="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=c.normalize().split("").reduce(function(s,u){var f=h[u];return f===void 0&&(f=n[u]),f===void 0&&(f=u),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(c){Object.assign(n,c)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(q).join(" ");function he(r,t){const{navigation:n}=M().public.content,a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=r.sort((c,o)=>c._path.localeCompare(o._path)).reduce((c,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 c;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(c.push(s),c):(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},c).push(s),c)},[]);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=>W(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 c=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(c.ignoreSources)){const g=c.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(c=>r.getItem(c)))}return{storage:r,fetch:N(t),query:n=>H(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=B(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:c}=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",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function Ke(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((c,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 c[h]={...o,...o.body},c},{});return he(n,l)}export{we as contentStorage,ve as createDB,Ke as generateNavigation,Ie as useContentDatabase}; +import{n as _,l as T,c as M,j as W,h as B}from"./entry.07c0747b.js";import{g as b,b as j,c as E,o as k,d as J,f as $,i as P,k as x,l as H}from"./query.35f44448.js";import{p as q}from"./index.b0fe9fac.js";import{u as U}from"./preview.880535c1.js";import"./swiper-vue.799c8af8.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="",...c)=>r[a](t+l,...c);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(c=>c.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)}},c=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 u=new Map,f=m=>{let y=u.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},u.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([...u.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(u=>({key:u.relativeKey,options:u.options})),i).then(u=>u.map(f=>({key:ne(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(u=>p(s.driver.getItem,u.relativeKey,u.options).then(f=>({key:u.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return u.getItemRaw?p(u.getItemRaw,s,i):p(u.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:u,driver:f}=n(e);f.setItem&&(await p(f.setItem,u,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(u=>({key:u.relativeKey,value:K(u.value),options:u.options})),i),s.driver.setItem&&await Promise.all(s.items.map(u=>p(s.driver.setItem,u.relativeKey,K(u.value),u.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:u,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,u,i,s);else if(f.setItem)await p(f.setItem,u,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:u}=n(e);u.removeItem&&(await p(u.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(u.removeItem,s+"$",i),u.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:u}=n(e),f=Object.create(null);if(u.getMeta&&Object.assign(f,await p(u.getMeta,s,i)),!i.nativeOnly){const m=await p(u.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 u=[];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=>!u.some(I=>w.startsWith(I)));f.push(...v),u=[m.mountpoint,...u.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 u=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(u.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 c(),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,u)=>u.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(u=>({driver:u.driver,base:u.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(c=>{const o=l[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,o):!1}return n(b(a,c),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=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>t(u,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((u,f)=>c[i-h+f+ +(f>=h)]||null)},a=[(c,o)=>{const h=c.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>J(c.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=[(c,o)=>{if(o.skip)return{...c,result:c.result.slice(o.skip),skip:o.skip}},(c,o)=>{if(o.limit)return{...c,result:c.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const u=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(f=>f._path))==null?void 0:s._path);if(typeof u=="string"){const f=g.find(m=>m._path===T(u,"_dir"));f&&(o.dirConfig={_path:f._path,...P(["_"])(f)})}}return o},(c,o)=>({...c,result:$(P(o.without))(c.result)}),(c,o)=>({...c,result:$(x(o.only))(c.result)})];return async c=>{const o=await r(),h=c.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,u)=>u(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,u)=>u(s,h,o)||s,e);return h.first?{...k(["skip","limit","total"])(i),result:i.result[0]}:i}}function N(r){const t=ce(r);return async n=>{var c;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(c=l.dirConfig)==null?void 0:c._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(c,o){if(typeof c!="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=c.normalize().split("").reduce(function(s,u){var f=h[u];return f===void 0&&(f=n[u]),f===void 0&&(f=u),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(c){Object.assign(n,c)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(q).join(" ");function he(r,t){const{navigation:n}=M().public.content,a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=r.sort((c,o)=>c._path.localeCompare(o._path)).reduce((c,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 c;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(c.push(s),c):(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},c).push(s),c)},[]);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=>W(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 c=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(c.ignoreSources)){const g=c.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(c=>r.getItem(c)))}return{storage:r,fetch:N(t),query:n=>H(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=B(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:c}=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",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function Ke(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((c,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 c[h]={...o,...o.body},c},{});return he(n,l)}export{we as contentStorage,ve as createDB,Ke as generateNavigation,Ie as useContentDatabase}; diff --git a/_nuxt/entry.07c0747b.js b/_nuxt/entry.07c0747b.js new file mode 100644 index 0000000..38f7eee --- /dev/null +++ b/_nuxt/entry.07c0747b.js @@ -0,0 +1,29 @@ +import{e as Mo,r as it,h as Ds,g as Jt,n as Ot,i as be,u as Q,v as _i,a as pe,w as yi,b as je,o as Ei,c as Li,d as vi,t as Ms,s as Bt,f as Pn,j as lt,k as ee,l as Ie,p as Ft,m as bi,q as U,x as Nt,y as xs,z as $s,A as wi,B as Ti,C as Pi,D as Ri,F as Fs,E as Us,T as Ci,K as ki,S as Hs,G as Si,H as at,I as Oi,J as gt,L as Ni,M as Ii,N as Ai,O as Di,P as Mi,Q as xi,R as $i}from"./swiper-vue.799c8af8.js";const Fi=/#/g,Ui=/&/g,Hi=/=/g,xo=/\+/g,ji=/%5e/gi,Bi=/%60/gi,Vi=/%7c/gi,Wi=/%20/gi;function Ki(e){return encodeURI(""+e).replace(Vi,"|")}function eo(e){return Ki(typeof e=="string"?e:JSON.stringify(e)).replace(xo,"%2B").replace(Wi,"+").replace(Fi,"%23").replace(Ui,"%26").replace(Bi,"`").replace(ji,"^")}function Bn(e){return eo(e).replace(Hi,"%3D")}function hn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Gi(e){return hn(e.replace(xo," "))}function Xi(e){return hn(e.replace(xo," "))}function Yi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Gi(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=Xi(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}function qi(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Bn(e)}=${eo(n)}`).join("&"):`${Bn(e)}=${eo(t)}`:Bn(e)}function zi(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>qi(t,e[t])).filter(Boolean).join("&")}const Qi=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ji=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Zi=/^([/\\]\s*){2,}[^/\\]/;function ut(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Qi.test(e):Ji.test(e)||(t.acceptRelative?Zi.test(e):!1)}const ec=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function tc(e){return!!e&&ec.test(e)}const nc=/\/$|\/\?|\/#/;function to(e="",t){return t?nc.test(e):e.endsWith("/")}function js(e="",t){if(!t)return(to(e)?e.slice(0,-1):e)||"/";if(!to(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[s,...a]=n.split("?");return(s.slice(0,-1)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function no(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(to(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[s,...a]=n.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function oc(e=""){return e.startsWith("/")}function ar(e=""){return oc(e)?e:"/"+e}function rc(e,t){if(Bs(t)||ut(e))return e;const n=js(t);return e.startsWith(n)?e:It(n,e)}function ir(e,t){if(Bs(t))return e;const n=js(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function $o(e,t){const n=Rn(e),o={...Yi(n.search),...t};return n.search=zi(o),ic(n)}function Bs(e){return!e||e==="/"}function sc(e){return e&&e!=="/"}const ac=/^\.?\//;function It(e,...t){let n=e||"";for(const o of t.filter(r=>sc(r)))if(n){const r=o.replace(ac,"");n=no(n)+r}else n=o;return n}function oo(e,t,n={}){return n.trailingSlash||(e=no(e),t=no(t)),n.leadingSlash||(e=ar(e),t=ar(t)),n.encoding||(e=hn(e),t=hn(t)),e===t}function Rn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!ut(e,{acceptRelative:!0}))return t?Rn(t+e):cr(e);const[,o="",r,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",i=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:l}=cr(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:c,search:u,hash:l}}function cr(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function ic(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+r+s+t+n+o}const cc=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},mn=cc().app,lc=()=>mn.baseURL,uc=()=>mn.buildAssetsDir,Fo=(...e)=>It(Vs(),uc(),...e),Vs=(...e)=>{const t=mn.cdnURL||mn.baseURL;return e.length?It(t,...e):t};globalThis.__buildAssetsURL=Fo,globalThis.__publicAssetsURL=Vs;const fc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,dc=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,pc=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function hc(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){mc(e);return}return t}function mc(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Vt(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!pc.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(fc.test(e)||dc.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,hc)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}class gc extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function _c(e){var c,u,l,f,d;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${r}: ${s}${t?` ${t}`:""}`,i=new gc(a,e.error?{cause:e.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(i,g,{get(){return e[g]}});for(const[g,E]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,g,{get(){return e.response&&e.response[E]}});return i}const yc=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function lr(e="GET"){return yc.has(e.toUpperCase())}function Ec(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Lc=new Set(["image/svg","application/xml","application/xhtml","application/html"]),vc=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function bc(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return vc.test(t)?"json":Lc.has(t)||t.startsWith("text/")?"text":"blob"}function wc(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[r,s]of new n((e==null?void 0:e.headers)||{}))o.headers.set(r,s)}return o}const Tc=new Set([408,409,425,429,500,502,503,504]),Pc=new Set([101,204,205,304]);function Ws(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(i){const c=i.error&&i.error.name==="AbortError"&&!i.options.timeout||!1;if(i.options.retry!==!1&&!c){let l;typeof i.options.retry=="number"?l=i.options.retry:l=lr(i.options.method)?0:1;const f=i.response&&i.response.status||500;if(l>0&&(Array.isArray(i.options.retryStatusCodes)?i.options.retryStatusCodes.includes(f):Tc.has(f))){const d=i.options.retryDelay||0;return d>0&&await new Promise(g=>setTimeout(g,d)),s(i.request,{...i.options,retry:l-1,timeout:i.options.timeout})}}const u=_c(i);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){var d;const l={request:c,options:wc(u,e.defaults,n),response:void 0,error:void 0};if(l.options.method=(d=l.options.method)==null?void 0:d.toUpperCase(),l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=rc(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=$o(l.request,{...l.options.params,...l.options.query}))),l.options.body&&lr(l.options.method)&&(Ec(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"))),!l.options.signal&&l.options.timeout){const g=new o;setTimeout(()=>g.abort(),l.options.timeout),l.options.signal=g.signal}try{l.response=await t(l.request,l.options)}catch(g){return l.error=g,l.options.onRequestError&&await l.options.onRequestError(l),await r(l)}if(l.response.body&&!Pc.has(l.response.status)&&l.options.method!=="HEAD"){const g=(l.options.parseResponse?"json":l.options.responseType)||bc(l.response.headers.get("content-type")||"");switch(g){case"json":{const E=await l.response.text(),L=l.options.parseResponse||Vt;l.response._data=L(E);break}case"stream":{l.response._data=l.response.body;break}default:l.response._data=await l.response[g]()}}return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await r(l)):l.response},a=async function(c,u){return(await s(c,u))._data};return a.raw=s,a.native=(...i)=>t(...i),a.create=(i={})=>Ws({...e,defaults:{...e.defaults,...i}}),a}const Uo=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Rc=Uo.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Cc=Uo.Headers,kc=Uo.AbortController,Sc=Ws({fetch:Rc,Headers:Cc,AbortController:kc}),Oc=Sc;globalThis.$fetch||(globalThis.$fetch=Oc.create({baseURL:lc()}));function ro(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?ro(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const Nc={run:e=>e()},Ic=()=>Nc,Ks=typeof console.createTask<"u"?console.createTask:Ic;function Ac(e,t){const n=t.shift(),o=Ks(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function Dc(e,t){const n=t.shift(),o=Ks(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Vn(e,t){for(const n of[...e])n(t)}class Mc{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ro(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=ro(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Ac,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Dc,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Vn(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&Vn(this._after,r)}):(this._after&&r&&Vn(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Gs(){return new Mc}function xc(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let r;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?r=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(r&&t===void 0){const a=r.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,i)=>{i||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,i)=>{o(a),t=a;try{return r?r.run(a,i):i()}finally{n||(t=void 0)}},async callAsync(a,i){t=a;const c=()=>{t=a},u=()=>t===a?c:void 0;so.add(u);try{const l=r?r.run(a,i):i();return n||(t=void 0),await l}finally{so.delete(u)}}}}function $c(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=xc({...e,...o})),t[n],t[n]}}}const gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ur="__unctx__",Fc=gn[ur]||(gn[ur]=$c()),Uc=(e,t={})=>Fc.get(e,t),fr="__unctx_async_handlers__",so=gn[fr]||(gn[fr]=new Set);function Ye(e){const t=[];for(const r of so){const s=r();s&&t.push(s)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const Xs=Uc("nuxt-app",{asyncContext:!1}),Hc="__nuxt_plugin";function jc(e){let t=0;const n={_scope:Mo(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:it({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>n._scope.run(()=>Wc(n,r)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Gs(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,s)=>{const a="$"+r;on(n,a,s),on(n.vueApp.config.globalProperties,a,s)},on(n.vueApp,"$nuxt",n),on(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||te;const r=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",r)}const o=it(n.payload.config);return n.provide("config",o),n}async function Bc(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function Vc(e,t){const n=[],o=[];for(const r of t){const s=Bc(e,r);r.parallel?n.push(s.catch(a=>o.push(a))):await s}if(await Promise.all(n),o.length)throw o[0]}/*! @__NO_SIDE_EFFECTS__ */function Ee(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Hc]:!0}))}function Wc(e,t,n){const o=()=>n?t(...n):t();return Xs.set(e),e.vueApp.runWithContext(o)}/*! @__NO_SIDE_EFFECTS__ */function te(){var t;let e;if(Ds()&&(e=(t=Jt())==null?void 0:t.appContext.app.$nuxt),e=e||Xs.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Cn(){return te().$config}function on(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Kc="modulepreload",Gc=function(e,t){return e[0]==="."?new URL(e,t).href:e},dr={},Xc=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Gc(s,o),s in dr)return;dr[s]=!0;const a=s.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(!!o)for(let l=r.length-1;l>=0;l--){const f=r[l];if(f.href===s&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${i}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":Kc,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((l,f)=>{u.addEventListener("load",l),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})},F=(...e)=>Xc(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Yc=-1,qc=-2,zc=-3,Qc=-4,Jc=-5,Zc=-6;function el(e,t){return tl(JSON.parse(e),t)}function tl(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(s,a=!1){if(s===Yc)return;if(s===zc)return NaN;if(s===Qc)return 1/0;if(s===Jc)return-1/0;if(s===Zc)return-0;if(a)throw new Error("Invalid input");if(s in o)return o[s];const i=n[s];if(!i||typeof i!="object")o[s]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],u=t==null?void 0:t[c];if(u)return o[s]=u(r(i[1]));switch(c){case"Date":o[s]=new Date(i[1]);break;case"Set":const l=new Set;o[s]=l;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function pr(e){return e._h||Ho(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function qs(e,t){const{props:n,tag:o}=e;if(sl.includes(o))return o;if(o==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];o==="meta"&&r.push("name","property","http-equiv");for(const s of r)if(typeof n[s]<"u"){const a=String(n[s]);return t&&!t(a)?!1:`${o}:${s}:${a}`}return!1}function hr(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function il(e,t,n){const o={tag:e,props:await zs(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Ys.forEach(r=>{const s=typeof o.props[r]<"u"?o.props[r]:n[r];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(r)||ol.includes(o.tag))&&(o[r==="children"?"innerHTML":r]=s),delete o.props[r])}),o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function cl(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function zs(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=cl(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Ys.includes(n)){const o=String(e[n]),r=n.startsWith("data-");o==="true"||o===""?e[n]=r?"true":!0:e[n]||(r&&o==="false"?e[n]="false":delete e[n])}}return e}const ll=10;async function ul(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,o])=>typeof o<"u"&&rl.includes(n)).forEach(([n,o])=>{const r=nl(o);t.push(...r.map(s=>il(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,o)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[u]||void 0,t):i=t[a],typeof i<"u"?(i||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const i=o(a.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,u)=>`${i}${u}`).trim())}),e.includes(We)&&(e.endsWith(We)&&(e=e.slice(0,-We.length).trim()),e.startsWith(We)&&(e=e.slice(We.length).trim()),e=e.replace(new RegExp(`\\${We}\\s*\\${We}`,"g"),We),e=fn(e,{separator:n},n)),e}async function dl(e){const t={tag:e.tagName.toLowerCase(),props:await zs(e.getAttributeNames().reduce((n,o)=>({...n,[o]:e.getAttribute(o)}),{})),innerHTML:e.innerHTML};return t._d=qs(t),t}async function Js(e,t={}){var l;const n=t.document||e.resolvedOptions.document;if(!n)return;const o={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=(await e.resolveTags()).map(f=>({tag:f,id:un.includes(f.tag)?pr(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(l=n==null?void 0:n[f])==null?void 0:l.children;for(const g of[...d].filter(E=>un.includes(E.tagName.toLowerCase())))s.elMap[g.getAttribute("data-hid")||pr(await dl(g))]=g}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function a(f,d,g){const E=`${f}:${d}`;s.sideEffects[E]=g,delete s.pendingSideEffects[E]}function i({id:f,$el:d,tag:g}){const E=g.tag.endsWith("Attrs");s.elMap[f]=d,E||(["textContent","innerHTML"].forEach(L=>{g[L]&&g[L]!==d[L]&&(d[L]=g[L])}),a(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(g.props).forEach(([L,b])=>{const p=`attr:${L}`;if(L==="class")for(const _ of(b||"").split(" ").filter(Boolean))E&&a(f,`${p}:${_}`,()=>d.classList.remove(_)),!d.classList.contains(_)&&d.classList.add(_);else d.getAttribute(L)!==b&&d.setAttribute(L,b===!0?"":String(b)),E&&a(f,p,()=>d.removeAttribute(L))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:d,shouldRender:g,id:E}=f;if(g){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[E],f.$el?i(f):un.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),i(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function pl(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(o=>n(async()=>{await Js(e,t),delete e._domUpdatePromise,o()}))}function hl(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){pl(s,e)}}}}}const ml=["templateParams","htmlAttrs","bodyAttrs"],gl={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(o=>{e.props[o]&&(e.key=e.props[o],delete e.props[o])});const n=qs(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(o=>{const r=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,s=t[r];if(s){let i=o==null?void 0:o.tagDuplicateStrategy;if(!i&&ml.includes(o.tag)&&(i="merge"),i==="merge"){const c=s.props;["class","style"].forEach(u=>{o.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),o.props[u]=`${c[u]} ${o.props[u]}`)}),t[r].props={...c,...o.props};return}else if(o._e===s._e){s._duped=s._duped||[],o._d=`${s._d}:${s._duped.length+1}`,s._duped.push(o);return}else if(_n(o)>_n(s))return}const a=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(un.includes(o.tag)&&a===0){delete t[r];return}t[r]=o});const n=[];Object.values(t).forEach(o=>{const r=o._duped;delete o._duped,n.push(o),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},_l={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},yl=["script","link","bodyAttrs"];function El(e){const t={},n={};return Object.entries(e.props).forEach(([o,r])=>{o.startsWith("on")&&typeof r=="function"?(Qs.includes(o)&&(t[o]=`this.dataset.${o} = true`),n[o]=r):t[o]=r}),{props:t,eventHandlers:n}}const Ll=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(yl.includes(n.tag)){const{props:o,eventHandlers:r}=El(n);n.props=o,Object.keys(r).length&&((n.props.src||n.props.href)&&(n.key=n.key||Ho(n.props.src||n.props.href)),n._eventHandlers=r)}},"dom:renderTag":function(t,n,o){if(!t.tag._eventHandlers)return;const r=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([s,a])=>{const i=`${t.tag._d||t.tag._p}:${s}`,c=s.slice(2).toLowerCase(),u=`data-h-${c}`;if(o(t.id,i,()=>{}),t.$el.hasAttribute(u))return;t.$el.setAttribute(u,"");let l;const f=d=>{a(d),l==null||l.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):Qs.includes(s)&&typeof MutationObserver<"u"?(l=new MutationObserver(d=>{d.some(E=>E.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),l==null||l.disconnect())}),l.observe(t.$el,{attributes:!0})):r.addEventListener(c,f),o(t.id,i,()=>{l==null||l.disconnect(),r.removeEventListener(c,f),t.$el.removeAttribute(u)})})}}}),vl=["link","style","script","noscript"],bl={hooks:{"tag:normalise":({tag:e})=>{e.key&&vl.includes(e.tag)&&(e.props["data-hid"]=e._h=Ho(e.key))}}},wl={hooks:{"tags:resolve":e=>{const t=n=>{var o;return(o=e.tags.find(r=>r._d===n))==null?void 0:o._p};for(const{prefix:n,offset:o}of fl)for(const r of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(r.tagPriority.replace(n,""));typeof s<"u"&&(r._p=s+o)}e.tags.sort((n,o)=>n._p-o._p).sort((n,o)=>_n(n)-_n(o))}}},Tl={meta:"content",link:"href",htmlAttrs:"lang"},Pl=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t,o=(i=n.find(c=>c.tag==="title"))==null?void 0:i.textContent,r=n.findIndex(c=>c.tag==="templateParams"),s=r!==-1?n[r].props:{},a=s.separator||"|";delete s.separator,s.pageTitle=fn(s.pageTitle||o||"",s,a);for(const c of n.filter(u=>u.processTemplateParams!==!1)){const u=Tl[c.tag];u&&typeof c.props[u]=="string"?c.props[u]=fn(c.props[u],s,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(l=>{typeof c[l]=="string"&&(c[l]=fn(c[l],s,a))})}e._templateParams=s,e._separator=a,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),Rl={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const o=t.findIndex(r=>r.tag==="title");if(o!==-1&&n!==-1){const r=hr(t[n].textContent,t[o].textContent);r!==null?t[o].textContent=r||t[o].textContent:delete t[o]}else if(n!==-1){const r=hr(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},Cl={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{i.dirty=!0,t.callHook("entries:updated",i)};let r=0,s=[];const a=[],i={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(c){const u=typeof c=="function"?c(i):c;(!u.key||!a.some(l=>l.key===u.key))&&(a.push(u),_r(u.mode,n)&&t.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:r++,input:c,...u};return _r(l.mode,n)&&(s.push(l),o()),{dispose(){s=s.filter(f=>f._i!==l._i),t.callHook("entries:updated",i),o()},patch(f){s=s.map(d=>(d._i===l._i&&(d.input=l.input=f),d)),o()}}},async resolveTags(){const c={tags:[],entries:[...s]};await t.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await ul(u)){const d={tag:f,entry:u,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[gl,_l,Ll,bl,wl,Pl,Rl,Cl,...(e==null?void 0:e.plugins)||[]].forEach(c=>i.use(c)),i.hooks.callHook("init",i),i}function Ol(){return Zs}const Nl=_i.startsWith("3");function Il(e){return typeof e=="function"?e():Q(e)}function yn(e,t=""){if(e instanceof Promise)return e;const n=Il(e);return!e||!n?n:Array.isArray(n)?n.map(o=>yn(o,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([o,r])=>o==="titleTemplate"||o.startsWith("on")?[o,Q(r)]:[o,yn(r,o)])):n}const Al={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=yn(t.input)}}},ea="usehead";function Dl(e){return{install(n){Nl&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ea,e))}}.install}function Ml(e={}){e.domDelayFn=e.domDelayFn||(n=>Ot(()=>setTimeout(()=>n(),0)));const t=kl(e);return t.use(Al),t.install=Dl(t),t}const ao=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},io="__unhead_injection_handler__";function xl(e){ao[io]=e}function $l(){if(io in ao)return ao[io]();const e=be(ea);return e||Ol()}function Fl(e,t={}){const n=t.head||$l();if(n)return n.ssr?n.push(e,t):Ul(n,e,t)}function Ul(e,t,n={}){const o=pe(!1),r=pe({});yi(()=>{r.value=o.value?{}:yn(t)});const s=e.push(r.value,n);return je(r,i=>{s.patch(i)}),Jt()&&(Ei(()=>{s.dispose()}),Li(()=>{o.value=!0}),vi(()=>{o.value=!1})),s}const rn=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Hl(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=(t||{}).decode||Vl;let s=0;for(;sna(t,e)}}function ta(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,ta(r)])):new Map(Object.entries(e[n]));return t}function Gl(e){return Kl(ta(e))}function na(e,t){const n=[];for(const[r,s]of Er(t.wildcard))e.startsWith(r)&&n.push(s);for(const[r,s]of Er(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");n.push(...na(a,s))}const o=t.static.get(e);return o&&n.push(o),n.filter(Boolean)}function Er(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function co(e,t,n=".",o){if(!Wn(t))return co(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(r,s,a,n)||(Array.isArray(a)&&Array.isArray(r[s])?r[s]=[...a,...r[s]]:Wn(a)&&Wn(r[s])?r[s]=co(a,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=a))}return r}function Wn(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function oa(e){return(...t)=>t.reduce((n,o)=>co(n,o,"",e),{})}const ra=oa(),Xl=oa((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Yl(e,t){try{return t in e}catch{return!1}}var ql=Object.defineProperty,zl=(e,t,n)=>t in e?ql(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,st=(e,t,n)=>(zl(e,typeof t!="symbol"?t+"":t,n),n);class lo extends Error{constructor(t,n={}){super(t,n),st(this,"statusCode",500),st(this,"fatal",!1),st(this,"unhandled",!1),st(this,"statusMessage"),st(this,"data"),st(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:fo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}st(lo,"__h3_error__",!0);function uo(e){if(typeof e=="string")return new lo(e);if(Ql(e))return e;const t=new lo(e.message??e.statusMessage??"",{cause:e.cause||e});if(Yl(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=fo(e.statusCode,t.statusCode):e.status&&(t.statusCode=fo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;sa(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ql(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Jl=/[^\u0009\u0020-\u007E]/g;function sa(e=""){return e.replace(Jl,"")}function fo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Zl=Symbol("layout-meta"),kn=Symbol("route"),Sn=()=>Ms(te().payload,"error"),Et=e=>{const t=jo(e);try{const n=te(),o=Sn();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},eu=async(e={})=>{const t=te(),n=Sn();t.callHook("app:error:cleared",e),e.redirect&&await Be().replace(e.redirect),n.value=null},tu=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),jo=e=>{const t=uo(e);return t.__nuxt_error=!0,t},Be=()=>{var e;return(e=te())==null?void 0:e.$router},Bo=()=>Ds()?be(kn,te()._route):te()._route;/*! @__NO_SIDE_EFFECTS__ */const nu=(e,t,n={})=>{const o=te(),r=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}r?o._middleware.global.push(s):o._middleware.named[e]=s},ou=()=>{try{if(te()._processingMiddleware)return!0}catch{return!0}return!1},ru=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:$o(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:i="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([l,f])=>f!==void 0).map(([l,f])=>`${l.toLowerCase()}=${f}`).join(", ");open(n,i,u)}return Promise.resolve()}const o=(t==null?void 0:t.external)||ut(n,{acceptRelative:!0});if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const i=Rn(n).protocol;if(i&&tc(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=ou();if(!o&&r)return e;const s=Be(),a=te();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},su={nuxt:{buildId:"7faff33d-b754-42d4-87d4-311d8d5bd0bd"}},au=Xl(su);function iu(){const e=te();return e._appConfig||(e._appConfig=it(au)),e._appConfig}const po=!1,cu=!1,bg={componentName:"NuxtLink"},wg={deep:!0},lu="#__nuxt";let dn,aa;function uu(){var t;const e=(t=iu().nuxt)==null?void 0:t.buildId;return dn=$fetch(Fo(`builds/meta/${e}.json`)),dn.then(n=>{aa=Gl(n.matcher)}),dn}function On(){return dn||uu()}async function ia(e){return await On(),ra({},...aa.matchAll(e).reverse())}function Lr(e,t={}){const n=fu(e,t),o=te(),r=o._payloadCache=o._payloadCache||{};return n in r||(r[n]=du(e).then(s=>s?ca(n).then(a=>a||(delete r[n],null)):(r[n]=null,null))),r[n]}const vr="json";function fu(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||ut(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=t.hash||(t.fresh?Date.now():"");return It(Cn().app.baseURL,n.pathname,o?`_payload.${o}.${vr}`:`_payload.${vr}`)}async function ca(e){const t=fetch(e).then(n=>n.text().then(la));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function du(e=Bo().path){if((await On()).prerendered.includes(e))return!0;const n=await ia(e);return!!n.prerender&&!n.redirect}let sn=null;async function pu(){if(sn)return sn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=la(e.textContent||""),n=e.dataset.src?await ca(e.dataset.src):void 0;return sn={...t,...n,...window.__NUXT__},sn}function la(e){return el(e,te()._payloadRevivers)}function hu(e,t){te()._payloadRevivers[e]=t}const br={NuxtError:e=>jo(e),EmptyShallowRef:e=>Bt(e==="_"?void 0:e==="0n"?BigInt(0):Vt(e)),EmptyRef:e=>pe(e==="_"?void 0:e==="0n"?BigInt(0):Vt(e)),ShallowRef:e=>Bt(e),ShallowReactive:e=>Pn(e),Ref:e=>pe(e),Reactive:e=>it(e)},mu=Ee({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in br)hu(o,br[o]);Object.assign(e.payload,([t,n]=Ye(()=>e.runWithContext(pu)),t=await t,n(),t)),window.__NUXT__=e.payload}}),gu=[],_u=Ee({name:"nuxt:head",enforce:"pre",setup(e){const t=Ml({plugins:gu});xl(()=>te().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Js(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const _t=typeof window<"u";function yu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const G=Object.assign;function Kn(e,t){const n={};for(const o in t){const r=t[o];n[o]=Te(r)?r.map(e):e(r)}return n}const Ut=()=>{},Te=Array.isArray,Eu=/\/$/,Lu=e=>e.replace(Eu,"");function Gn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let c=t.indexOf("?");return i=0&&(c=-1),c>-1&&(o=t.slice(0,c),s=t.slice(c+1,i>-1?i:t.length),r=e(s)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=Tu(o??t,n),{fullPath:o+(s&&"?")+s+a,path:o,query:r,hash:a}}function vu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bu(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&vt(t.matched[o],n.matched[r])&&ua(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ua(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!wu(e[n],t[n]))return!1;return!0}function wu(e,t){return Te(e)?Tr(e,t):Te(t)?Tr(t,e):e===t}function Tr(e,t){return Te(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Tu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Ht;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ht||(Ht={}));function Pu(e){if(!e)if(_t){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lu(e)}const Ru=/^[^#]+#/;function Cu(e,t){return e.replace(Ru,"#")+t}function ku(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Nn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Su(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ku(r,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 Pr(e,t){return(history.state?history.state.position-t:-1)+e}const ho=new Map;function Ou(e,t){ho.set(e,t)}function Nu(e){const t=ho.get(e);return ho.delete(e),t}let Iu=()=>location.protocol+"//"+location.host;function fa(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let i=r.includes(e.slice(s))?e.slice(s).length:1,c=r.slice(i);return c[0]!=="/"&&(c="/"+c),wr(c,"")}return wr(n,e)+o+r}function Au(e,t,n,o){let r=[],s=[],a=null;const i=({state:d})=>{const g=fa(e,location),E=n.value,L=t.value;let b=0;if(d){if(n.value=g,t.value=d,a&&a===E){a=null;return}b=L?d.position-L.position:0}else o(g);r.forEach(p=>{p(n.value,E,{delta:b,type:Wt.pop,direction:b?b>0?Ht.forward:Ht.back:Ht.unknown})})};function c(){a=n.value}function u(d){r.push(d);const g=()=>{const E=r.indexOf(d);E>-1&&r.splice(E,1)};return s.push(g),g}function l(){const{history:d}=window;d.state&&d.replaceState(G({},d.state,{scroll:Nn()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Rr(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Nn():null}}function Du(e){const{history:t,location:n}=window,o={value:fa(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Iu()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),r.value=u}catch(g){console.error(g),n[l?"replace":"assign"](d)}}function a(c,u){const l=G({},t.state,Rr(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});s(c,l,!0),o.value=c}function i(c,u){const l=G({},r.value,t.state,{forward:c,scroll:Nn()});s(l.current,l,!0);const f=G({},Rr(o.value,c,null),{position:l.position+1},u);s(c,f,!1),o.value=c}return{location:o,state:r,push:i,replace:a}}function da(e){e=Pu(e);const t=Du(e),n=Au(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=G({location:"",base:e,go:o,createHref:Cu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Mu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),da(e)}function xu(e){return typeof e=="string"||e&&typeof e=="object"}function pa(e){return typeof e=="string"||typeof e=="symbol"}const Se={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ha=Symbol("");var Cr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Cr||(Cr={}));function bt(e,t){return G(new Error,{type:e,[ha]:!0},t)}function xe(e,t){return e instanceof Error&&ha in e&&(t==null||!!(e.type&t))}const kr="[^/]+?",$u={sensitive:!1,strict:!1,start:!0,end:!0},Fu=/[.+*?^${}()[\]/\\]/g;function Uu(e,t){const n=G({},$u,t),o=[];let r=n.start?"^":"";const s=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function ju(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Bu={type:0,value:""},Vu=/[a-zA-Z0-9_]/;function Wu(e){if(!e)return[[]];if(e==="/")return[[Bu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,c,u="",l="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;i{a(_)}:Ut}function a(l){if(pa(l)){const f=o.get(l);f&&(o.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&o.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function i(){return n}function c(l){let f=0;for(;f=0&&(l.record.path!==n[f].record.path||!ma(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Nr(l)&&o.set(l.record.name,l)}function u(l,f){let d,g={},E,L;if("name"in l&&l.name){if(d=o.get(l.name),!d)throw bt(1,{location:l});L=d.record.name,g=G(Or(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),l.params&&Or(l.params,d.keys.map(_=>_.name))),E=d.stringify(g)}else if("path"in l)E=l.path,d=n.find(_=>_.re.test(E)),d&&(g=d.parse(E),L=d.record.name);else{if(d=f.name?o.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw bt(1,{location:l,currentLocation:f});L=d.record.name,g=G({},f.params,l.params),E=d.stringify(g)}const b=[];let p=d;for(;p;)b.unshift(p.record),p=p.parent;return{name:L,path:E,params:g,matched:b,meta:qu(b)}}return e.forEach(l=>s(l)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function Or(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Xu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Yu(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 Yu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Nr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qu(e){return e.reduce((t,n)=>G(t,n.meta),{})}function Ir(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ma(e,t){return t.children.some(n=>n===e||ma(e,n))}const ga=/#/g,zu=/&/g,Qu=/\//g,Ju=/=/g,Zu=/\?/g,_a=/\+/g,ef=/%5B/g,tf=/%5D/g,ya=/%5E/g,nf=/%60/g,Ea=/%7B/g,of=/%7C/g,La=/%7D/g,rf=/%20/g;function Vo(e){return encodeURI(""+e).replace(of,"|").replace(ef,"[").replace(tf,"]")}function sf(e){return Vo(e).replace(Ea,"{").replace(La,"}").replace(ya,"^")}function mo(e){return Vo(e).replace(_a,"%2B").replace(rf,"+").replace(ga,"%23").replace(zu,"%26").replace(nf,"`").replace(Ea,"{").replace(La,"}").replace(ya,"^")}function af(e){return mo(e).replace(Ju,"%3D")}function cf(e){return Vo(e).replace(ga,"%23").replace(Zu,"%3F")}function lf(e){return e==null?"":cf(e).replace(Qu,"%2F")}function En(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function uf(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&mo(s)):[o&&mo(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function ff(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Te(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const df=Symbol(""),Dr=Symbol(""),In=Symbol(""),Wo=Symbol(""),go=Symbol("");function Mt(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Xe(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,i)=>{const c=f=>{f===!1?i(bt(4,{from:n,to:t})):f instanceof Error?i(f):xu(f)?i(bt(2,{from:t,to:f})):(s&&o.enterCallbacks[r]===s&&typeof f=="function"&&s.push(f),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>i(f))})}function Xn(e,t,n,o){const r=[];for(const s of e)for(const a in s.components){let i=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(pf(i)){const u=(i.__vccOpts||i)[t];u&&r.push(Xe(u,n,o,s,a))}else{let c=i();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const l=yu(u)?u.default:u;s.components[a]=l;const d=(l.__vccOpts||l)[t];return d&&Xe(d,n,o,s,a)()}))}}return r}function pf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Mr(e){const t=be(In),n=be(Wo),o=ee(()=>t.resolve(Q(e.to))),r=ee(()=>{const{matched:c}=o.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(vt.bind(null,l));if(d>-1)return d;const g=xr(c[u-2]);return u>1&&xr(l)===g&&f[f.length-1].path!==g?f.findIndex(vt.bind(null,c[u-2])):d}),s=ee(()=>r.value>-1&&_f(n.params,o.value.params)),a=ee(()=>r.value>-1&&r.value===n.matched.length-1&&ua(n.params,o.value.params));function i(c={}){return gf(c)?t[Q(e.replace)?"replace":"push"](Q(e.to)).catch(Ut):Promise.resolve()}return{route:o,href:ee(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}const hf=lt({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:Mr,setup(e,{slots:t}){const n=it(Mr(e)),{options:o}=be(In),r=ee(()=>({[$r(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[$r(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ie("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),mf=hf;function gf(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 _f(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Te(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function xr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $r=(e,t,n)=>e??t??n,yf=lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=be(go),r=ee(()=>e.route||o.value),s=be(Dr,0),a=ee(()=>{let u=Q(s);const{matched:l}=r.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),i=ee(()=>r.value.matched[a.value]);Ft(Dr,ee(()=>a.value+1)),Ft(df,i),Ft(go,r);const c=pe();return je(()=>[c.value,i.value,e.name],([u,l,f],[d,g,E])=>{l&&(l.instances[f]=u,g&&g!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=g.leaveGuards),l.updateGuards.size||(l.updateGuards=g.updateGuards))),u&&l&&(!g||!vt(l,g)||!d)&&(l.enterCallbacks[f]||[]).forEach(L=>L(u))},{flush:"post"}),()=>{const u=r.value,l=e.name,f=i.value,d=f&&f.components[l];if(!d)return Fr(n.default,{Component:d,route:u});const g=f.props[l],E=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Ie(d,G({},E,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Fr(n.default,{Component:b,route:u})||b}}});function Fr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const va=yf;function Ef(e){const t=Gu(e.routes,e),n=e.parseQuery||uf,o=e.stringifyQuery||Ar,r=e.history,s=Mt(),a=Mt(),i=Mt(),c=Bt(Se);let u=Se;_t&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Kn.bind(null,T=>""+T),f=Kn.bind(null,lf),d=Kn.bind(null,En);function g(T,A){let N,$;return pa(T)?(N=t.getRecordMatcher(T),$=A):$=T,t.addRoute($,N)}function E(T){const A=t.getRecordMatcher(T);A&&t.removeRoute(A)}function L(){return t.getRoutes().map(T=>T.record)}function b(T){return!!t.getRecordMatcher(T)}function p(T,A){if(A=G({},A||c.value),typeof T=="string"){const m=Gn(n,T,A.path),v=t.resolve({path:m.path},A),I=r.createHref(m.fullPath);return G(m,v,{params:d(v.params),hash:En(m.hash),redirectedFrom:void 0,href:I})}let N;if("path"in T)N=G({},T,{path:Gn(n,T.path,A.path).path});else{const m=G({},T.params);for(const v in m)m[v]==null&&delete m[v];N=G({},T,{params:f(m)}),A.params=f(A.params)}const $=t.resolve(N,A),B=T.hash||"";$.params=l(d($.params));const J=vu(o,G({},T,{hash:sf(B),path:$.path})),h=r.createHref(J);return G({fullPath:J,hash:B,query:o===Ar?ff(T.query):T.query||{}},$,{redirectedFrom:void 0,href:h})}function _(T){return typeof T=="string"?Gn(n,T,c.value.path):G({},T)}function R(T,A){if(u!==T)return bt(8,{from:A,to:T})}function y(T){return C(T)}function P(T){return y(G(_(T),{replace:!0}))}function S(T){const A=T.matched[T.matched.length-1];if(A&&A.redirect){const{redirect:N}=A;let $=typeof N=="function"?N(T):N;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=_($):{path:$},$.params={}),G({query:T.query,hash:T.hash,params:"path"in $?{}:T.params},$)}}function C(T,A){const N=u=p(T),$=c.value,B=T.state,J=T.force,h=T.replace===!0,m=S(N);if(m)return C(G(_(m),{state:typeof m=="object"?G({},B,m.state):B,force:J,replace:h}),A||N);const v=N;v.redirectedFrom=A;let I;return!J&&bu(o,$,N)&&(I=bt(16,{to:v,from:$}),ht($,$,!0,!1)),(I?Promise.resolve(I):ae(v,$)).catch(M=>xe(M)?xe(M,2)?M:Ve(M):Ae(M,v,$)).then(M=>{if(M){if(xe(M,2))return C(G({replace:h},_(M.to),{state:typeof M.to=="object"?G({},B,M.to.state):B,force:J}),A||v)}else M=k(v,$,!0,h,B);return fe(v,$,M),M})}function j(T,A){const N=R(T,A);return N?Promise.reject(N):Promise.resolve()}function X(T){const A=De.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(T):T()}function ae(T,A){let N;const[$,B,J]=Lf(T,A);N=Xn($.reverse(),"beforeRouteLeave",T,A);for(const m of $)m.leaveGuards.forEach(v=>{N.push(Xe(v,T,A))});const h=j.bind(null,T,A);return N.push(h),Re(N).then(()=>{N=[];for(const m of s.list())N.push(Xe(m,T,A));return N.push(h),Re(N)}).then(()=>{N=Xn(B,"beforeRouteUpdate",T,A);for(const m of B)m.updateGuards.forEach(v=>{N.push(Xe(v,T,A))});return N.push(h),Re(N)}).then(()=>{N=[];for(const m of J)if(m.beforeEnter)if(Te(m.beforeEnter))for(const v of m.beforeEnter)N.push(Xe(v,T,A));else N.push(Xe(m.beforeEnter,T,A));return N.push(h),Re(N)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),N=Xn(J,"beforeRouteEnter",T,A),N.push(h),Re(N))).then(()=>{N=[];for(const m of a.list())N.push(Xe(m,T,A));return N.push(h),Re(N)}).catch(m=>xe(m,8)?m:Promise.reject(m))}function fe(T,A,N){i.list().forEach($=>X(()=>$(T,A,N)))}function k(T,A,N,$,B){const J=R(T,A);if(J)return J;const h=A===Se,m=_t?history.state:{};N&&($||h?r.replace(T.fullPath,G({scroll:h&&m&&m.scroll},B)):r.push(T.fullPath,B)),c.value=T,ht(T,A,N,h),Ve()}let x;function Y(){x||(x=r.listen((T,A,N)=>{if(!Dt.listening)return;const $=p(T),B=S($);if(B){C(G(B,{replace:!0}),$).catch(Ut);return}u=$;const J=c.value;_t&&Ou(Pr(J.fullPath,N.delta),Nn()),ae($,J).catch(h=>xe(h,12)?h:xe(h,2)?(C(h.to,$).then(m=>{xe(m,20)&&!N.delta&&N.type===Wt.pop&&r.go(-1,!1)}).catch(Ut),Promise.reject()):(N.delta&&r.go(-N.delta,!1),Ae(h,$,J))).then(h=>{h=h||k($,J,!1),h&&(N.delta&&!xe(h,8)?r.go(-N.delta,!1):N.type===Wt.pop&&xe(h,20)&&r.go(-1,!1)),fe($,J,h)}).catch(Ut)}))}let se=Mt(),oe=Mt(),Le;function Ae(T,A,N){Ve(T);const $=oe.list();return $.length?$.forEach(B=>B(T,A,N)):console.error(T),Promise.reject(T)}function he(){return Le&&c.value!==Se?Promise.resolve():new Promise((T,A)=>{se.add([T,A])})}function Ve(T){return Le||(Le=!T,Y(),se.list().forEach(([A,N])=>T?N(T):A()),se.reset()),T}function ht(T,A,N,$){const{scrollBehavior:B}=e;if(!_t||!B)return Promise.resolve();const J=!N&&Nu(Pr(T.fullPath,0))||($||!N)&&history.state&&history.state.scroll||null;return Ot().then(()=>B(T,A,J)).then(h=>h&&Su(h)).catch(h=>Ae(h,T,A))}const Ze=T=>r.go(T);let et;const De=new Set,Dt={currentRoute:c,listening:!0,addRoute:g,removeRoute:E,hasRoute:b,getRoutes:L,resolve:p,options:e,push:y,replace:P,go:Ze,back:()=>Ze(-1),forward:()=>Ze(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:oe.add,isReady:he,install(T){const A=this;T.component("RouterLink",mf),T.component("RouterView",va),T.config.globalProperties.$router=A,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(c)}),_t&&!et&&c.value===Se&&(et=!0,y(r.location).catch(B=>{}));const N={};for(const B in Se)Object.defineProperty(N,B,{get:()=>c.value[B],enumerable:!0});T.provide(In,A),T.provide(Wo,Pn(N)),T.provide(go,c);const $=T.unmount;De.add(T),T.unmount=function(){De.delete(T),De.size<1&&(u=Se,x&&x(),x=null,c.value=Se,et=!1,Le=!1),$()}}};function Re(T){return T.reduce((A,N)=>A.then(()=>X(N)),Promise.resolve())}return Dt}function Lf(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;avt(u,i))?o.push(i):n.push(i));const c=e.matched[a];c&&(t.matched.find(u=>vt(u,c))||r.push(c))}return[n,o,r]}function vf(){return be(In)}function bf(){return be(Wo)}const Ur=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>F(()=>import("./index.255917c4.js").then(e=>e.a2),["./index.255917c4.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./Icon.9eb704ff.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.2b3f34a3.js","./ContentRendererMarkdown.vue.fb31b41a.js","./index.b0fe9fac.js","./preview.880535c1.js","./query.35f44448.js","./index.c2b4c9ea.css"],import.meta.url).then(e=>e.default||e)}],wf=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?Ie(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Hr(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function Tf(e,t){return e===t?!1:Hr(e)!==Hr(t)?!0:!e.matched.every((o,r)=>{var s,a;return o.components&&o.components.default===((a=(s=t.matched[r])==null?void 0:s.components)==null?void 0:a.default)})}const Pf={scrollBehavior(e,t,n){var u;const o=te(),r=((u=Be().options)==null?void 0:u.scrollBehaviorType)??"auto";let s=n||void 0;const a=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&a!==!1&&Tf(e,t)&&(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:jr(e.hash),behavior:r}}const i=l=>!!(l.meta.pageTransition??po),c=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(l=>{o.hooks.hookOnce(c,async()=>{await Ot(),e.hash&&(s={el:e.hash,top:jr(e.hash),behavior:r}),l(s)})})}};function jr(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Rf={hashMode:!1,scrollBehaviorType:"auto"},me={...Rf,...Pf},Cf=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const o=te(),r=Be();if(([t,n]=Ye(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=jo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),i=r.beforeResolve(u=>{if(i(),u===e){const l=r.afterEach(async()=>{l(),await o.runWithContext(()=>Et(a)),window.history.pushState({},"",e.fullPath)});return!1}})},kf=async e=>{let t,n;const o=([t,n]=Ye(()=>ia(e.path)),t=await t,n(),t);if(o.redirect)return o.redirect},Sf=[Cf,kf],jt={};function Of(e,t,n){const{pathname:o,search:r,hash:s}=t,a=e.indexOf("#");if(a>-1){const u=s.includes(e.slice(a))?e.slice(a).length:1;let l=s.slice(u);return l[0]!=="/"&&(l="/"+l),ir(l,"")}const i=ir(o,e),c=!n||oo(i,n,{trailingSlash:!0})?i:n;return c+(c.includes("?")?"":r)+s}const Nf=Ee({name:"nuxt:router",enforce:"pre",async setup(e){var L,b;let t,n,o=Cn().app.baseURL;me.hashMode&&!o.includes("#")&&(o+="#");const r=((L=me.history)==null?void 0:L.call(me,o))??(me.hashMode?Mu(o):da(o)),s=((b=me.routes)==null?void 0:b.call(me,Ur))??Ur;let a;const i=Of(o,window.location,e.payload.path),c=Ef({...me,scrollBehavior:(p,_,R)=>{var y;if(_===Se){a=R;return}return c.options.scrollBehavior=me.scrollBehavior,(y=me.scrollBehavior)==null?void 0:y.call(me,p,Se,a||R)},history:r,routes:s});e.vueApp.use(c);const u=Bt(c.currentRoute.value);c.afterEach((p,_)=>{u.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=Bt(c.resolve(i)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((p,_)=>{var R,y,P,S;((y=(R=p.matched[0])==null?void 0:R.components)==null?void 0:y.default)===((S=(P=_.matched[0])==null?void 0:P.components)==null?void 0:S.default)&&f()});const d={};for(const p in l.value)Object.defineProperty(d,p,{get:()=>l.value[p]});e._route=Pn(d),e._middleware=e._middleware||{global:[],named:{}};const g=Sn();try{[t,n]=Ye(()=>c.isReady()),await t,n()}catch(p){[t,n]=Ye(()=>e.runWithContext(()=>Et(p))),await t,n()}const E=e.payload.state._layout;return c.beforeEach(async(p,_)=>{var R;p.meta=it(p.meta),e.isHydrating&&E&&!bi(p.meta.layout)&&(p.meta.layout=E),e._processingMiddleware=!0;{const y=new Set([...Sf,...e._middleware.global]);for(const P of p.matched){const S=P.meta.middleware;if(S)if(Array.isArray(S))for(const C of S)y.add(C);else y.add(S)}for(const P of y){const S=typeof P=="string"?e._middleware.named[P]||await((R=jt[P])==null?void 0:R.call(jt).then(j=>j.default||j)):P;if(!S)throw new Error(`Unknown route middleware: '${P}'.`);const C=await e.runWithContext(()=>S(p,_));if(!e.payload.serverRendered&&e.isHydrating&&(C===!1||C instanceof Error)){const j=C||uo({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await e.runWithContext(()=>Et(j)),!1}if(C!==!0&&(C||C===!1))return C}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(p,_,R)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(eu),p.matched.length===0&&await e.runWithContext(()=>Et(uo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${p.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(i),name:void 0,force:!0}),c.options.scrollBehavior=me.scrollBehavior}catch(p){await e.runWithContext(()=>Et(p))}}),{provide:{router:c}}}}),Br=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Tg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ba=e=>{const t=te();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Br(e)}):Br(e)},If=Ee({name:"nuxt:payload",setup(e){Be().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await Lr(t.path);o&&Object.assign(e.static.data,o.data)}),ba(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Rn(n).protocol||await Lr(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(On,1e3)})}}),Af=U(()=>F(()=>import("./ContentDoc.52ad3cb3.js"),["./ContentDoc.52ad3cb3.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ContentRenderer.2b3f34a3.js","./ContentRendererMarkdown.vue.fb31b41a.js","./index.b0fe9fac.js","./preview.880535c1.js","./ContentQuery.b24bb265.js","./query.35f44448.js"],import.meta.url).then(e=>e.default)),Df=U(()=>F(()=>import("./ContentList.84497a3a.js"),["./ContentList.84497a3a.js","./ContentQuery.b24bb265.js","./query.35f44448.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.880535c1.js"],import.meta.url).then(e=>e.default)),Mf=U(()=>F(()=>import("./ContentNavigation.6d294bf7.js"),["./ContentNavigation.6d294bf7.js","./query.35f44448.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.880535c1.js","./nuxt-link.963ae6e7.js"],import.meta.url).then(e=>e.default)),xf=U(()=>F(()=>import("./ContentQuery.b24bb265.js"),["./ContentQuery.b24bb265.js","./query.35f44448.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.880535c1.js"],import.meta.url).then(e=>e.default)),$f=U(()=>F(()=>import("./ContentRenderer.2b3f34a3.js"),["./ContentRenderer.2b3f34a3.js","./ContentRendererMarkdown.vue.fb31b41a.js","./index.b0fe9fac.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.880535c1.js"],import.meta.url).then(e=>e.default)),Ff=U(()=>F(()=>import("./ContentRendererMarkdown.f1128796.js"),["./ContentRendererMarkdown.f1128796.js","./ContentRendererMarkdown.vue.fb31b41a.js","./index.b0fe9fac.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.880535c1.js"],import.meta.url).then(e=>e.default)),Uf=U(()=>F(()=>import("./ContentSlot.1e13c935.js"),["./ContentSlot.1e13c935.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Hf=U(()=>F(()=>import("./DocumentDrivenEmpty.92c65c65.js"),["./DocumentDrivenEmpty.92c65c65.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),jf=U(()=>F(()=>import("./DocumentDrivenNotFound.601f5646.js"),["./DocumentDrivenNotFound.601f5646.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Bf=U(()=>F(()=>import("./Markdown.8fb10b7f.js"),["./Markdown.8fb10b7f.js","./ContentSlot.1e13c935.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Vf=U(()=>F(()=>import("./ProseCode.b5d192f2.js"),["./ProseCode.b5d192f2.js","./ProseCode.vue.ee4e0ab6.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),Wf=U(()=>F(()=>import("./ProseCodeInline.ed55de07.js"),["./ProseCodeInline.ed55de07.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Kf=U(()=>F(()=>import("./ProsePre.e32d5d2e.js"),["./ProsePre.e32d5d2e.js","./ProseCode.vue.ee4e0ab6.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),Gf=U(()=>F(()=>import("./ProseA.984fce30.js"),["./ProseA.984fce30.js","./nuxt-link.963ae6e7.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Xf=U(()=>F(()=>import("./ProseBlockquote.1bea47a7.js"),["./ProseBlockquote.1bea47a7.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Yf=U(()=>F(()=>import("./ProseEm.f629825c.js"),["./ProseEm.f629825c.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),qf=U(()=>F(()=>import("./ProseH1.c5c71dc6.js"),["./ProseH1.c5c71dc6.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),zf=U(()=>F(()=>import("./ProseH2.fb4f5ad5.js"),["./ProseH2.fb4f5ad5.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Qf=U(()=>F(()=>import("./ProseH3.fe01afa9.js"),["./ProseH3.fe01afa9.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Jf=U(()=>F(()=>import("./ProseH4.2f1bba7a.js"),["./ProseH4.2f1bba7a.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Zf=U(()=>F(()=>import("./ProseH5.0b277546.js"),["./ProseH5.0b277546.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ed=U(()=>F(()=>import("./ProseH6.1145c1f4.js"),["./ProseH6.1145c1f4.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),td=U(()=>F(()=>import("./ProseHr.658b2924.js"),["./ProseHr.658b2924.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),nd=U(()=>F(()=>import("./ProseImg.c4519288.js"),["./ProseImg.c4519288.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),od=U(()=>F(()=>import("./ProseLi.4dcce001.js"),["./ProseLi.4dcce001.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),rd=U(()=>F(()=>import("./ProseOl.b4099084.js"),["./ProseOl.b4099084.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),sd=U(()=>F(()=>import("./ProseP.28b9b447.js"),["./ProseP.28b9b447.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ad=U(()=>F(()=>import("./ProseScript.cecf03f9.js"),["./ProseScript.cecf03f9.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),id=U(()=>F(()=>import("./ProseStrong.aea7b4c8.js"),["./ProseStrong.aea7b4c8.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),cd=U(()=>F(()=>import("./ProseTable.c170c550.js"),["./ProseTable.c170c550.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ld=U(()=>F(()=>import("./ProseTbody.6aa0f547.js"),["./ProseTbody.6aa0f547.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ud=U(()=>F(()=>import("./ProseTd.fc18f48c.js"),["./ProseTd.fc18f48c.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),fd=U(()=>F(()=>import("./ProseTh.eeca17a9.js"),["./ProseTh.eeca17a9.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),dd=U(()=>F(()=>import("./ProseThead.fb24bd41.js"),["./ProseThead.fb24bd41.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),pd=U(()=>F(()=>import("./ProseTr.1270f38a.js"),["./ProseTr.1270f38a.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),hd=U(()=>F(()=>import("./ProseUl.fbbe2447.js"),["./ProseUl.fbbe2447.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),md=U(()=>F(()=>import("./Icon.9eb704ff.js"),["./Icon.9eb704ff.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./Icon.cf693866.css"],import.meta.url).then(e=>e.default)),gd=U(()=>F(()=>import("./IconCSS.3154e727.js"),["./IconCSS.3154e727.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./IconCSS.3544dd2a.css"],import.meta.url).then(e=>e.default)),_d=[["ContentDoc",Af],["ContentList",Df],["ContentNavigation",Mf],["ContentQuery",xf],["ContentRenderer",$f],["ContentRendererMarkdown",Ff],["MDCSlot",Uf],["DocumentDrivenEmpty",Hf],["DocumentDrivenNotFound",jf],["Markdown",Bf],["ProseCode",Vf],["ProseCodeInline",Wf],["ProsePre",Kf],["ProseA",Gf],["ProseBlockquote",Xf],["ProseEm",Yf],["ProseH1",qf],["ProseH2",zf],["ProseH3",Qf],["ProseH4",Jf],["ProseH5",Zf],["ProseH6",ed],["ProseHr",td],["ProseImg",nd],["ProseLi",od],["ProseOl",rd],["ProseP",sd],["ProseScript",ad],["ProseStrong",id],["ProseTable",cd],["ProseTbody",ld],["ProseTd",ud],["ProseTh",fd],["ProseThead",dd],["ProseTr",pd],["ProseUl",hd],["Icon",md],["IconCSS",gd]],yd=Ee({name:"nuxt:global-components",setup(e){for(const[t,n]of _d)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),an={},Ed=Ee({name:"nuxt:prefetch",setup(e){const t=Be();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof an[o]=="function"&&await an[o]()})}),e.hooks.hook("link:prefetch",n=>{var a,i,c,u;if(ut(n))return;const o=t.resolve(n);if(!o)return;const r=(a=o==null?void 0:o.meta)==null?void 0:a.layout;let s=Array.isArray((i=o==null?void 0:o.meta)==null?void 0:i.middleware)?(c=o==null?void 0:o.meta)==null?void 0:c.middleware:[(u=o==null?void 0:o.meta)==null?void 0:u.middleware];s=s.filter(l=>typeof l=="string");for(const l of s)typeof jt[l]=="function"&&jt[l]();r&&typeof an[r]=="function"&&an[r]()})}}),Ld="$s";function wa(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const r=Ld+n,s=te(),a=Ms(s.payload.state,r);if(a.value===void 0&&o){const i=o();if(Nt(i))return s.payload.state[r]=i,i;a.value=i}return a}const vd={path:"/",watch:!0,decode:e=>Vt(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ta(e,t){var c;const n={...vd,...t},o=bd(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const s=r!==void 0&&r<=0,a=s?void 0:o[e]??((c=n.default)==null?void 0:c.call(n)),i=r&&!s?Pd(a,r):pe(a);{const u=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),l=()=>{Td(e,i.value,n),u==null||u.postMessage(n.encode(i.value))};let f=!1;xs()&&$s(()=>{f=!0,l(),u==null||u.close()}),u&&(u.onmessage=d=>{f=!0,i.value=n.decode(d.data),Ot(()=>{f=!1})}),n.watch?je(i,()=>{f||l()},{deep:n.watch!=="shallow"}):l()}return i}function bd(e={}){return Hl(document.cookie,e)}function wd(e,t,n={}){return t==null?yr(e,t,{...n,maxAge:-1}):yr(e,t,n)}function Td(e,t,n={}){document.cookie=wd(e,t,n)}const Vr=2147483647;function Pd(e,t){let n,o=0;return xs()&&$s(()=>{clearTimeout(n)}),wi((r,s)=>{function a(){clearTimeout(n);const i=t-o,c=i{if(o+=c,otypeof o=="string"?{id:o}:o);if(t.id){const{id:o,config:r,initCommands:s}=t;n.unshift({id:o,config:r,initCommands:s})}return n}const Sd=Ee({parallel:!0,setup(){const e=Cn().public.gtag,t=kd(e);if(!t.length||(Cd({tags:t}),e.initMode==="manual"))return;const n=e.loadingStrategy==="async"?"async":"defer";Fl({script:[{src:$o(e.url,{id:t[0].id}),[n]:!0,"data-gtag":""}]})}}),Od=Ee(()=>{});/*! + * shared v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const _o=typeof window<"u",Qe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Nd=(e,t,n)=>Id({l:e,k:t,s:n}),Id=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),le=e=>typeof e=="number"&&isFinite(e),Ad=e=>Ra(e)==="[object Date]",Ln=e=>Ra(e)==="[object RegExp]",An=e=>H(e)&&Object.keys(e).length===0,ue=Object.assign;let Wr;const Ko=()=>Wr||(Wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kr(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Dd=Object.prototype.hasOwnProperty;function Kt(e,t){return Dd.call(e,t)}const re=Array.isArray,z=e=>typeof e=="function",D=e=>typeof e=="string",Z=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",Md=e=>V(e)&&z(e.then)&&z(e.catch),Pa=Object.prototype.toString,Ra=e=>Pa.call(e),H=e=>{if(!V(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},xd=e=>e==null?"":re(e)||H(e)&&e.toString===Pa?JSON.stringify(e,null,2):String(e);function Go(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function Xo(e){let t=e;return()=>++t}function $d(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const cn=e=>!V(e)||re(e);function qe(e,t){if(cn(e)||cn(t))throw new Error("Invalid value");for(const n in e)Kt(e,n)&&(cn(e[n])||cn(t[n])?t[n]=e[n]:qe(e[n],t[n]))}/*! + * message-compiler v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function Fd(e,t,n){return{line:e,column:t,offset:n}}function yo(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const K={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function Dn(e,t,n={}){const{domain:o,messages:r,args:s}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=o,i}function Ud(e){throw e}const $e=" ",Hd="\r",de=` +`,jd=String.fromCharCode(8232),Bd=String.fromCharCode(8233);function Vd(e){const t=e;let n=0,o=1,r=1,s=0;const a=C=>t[C]===Hd&&t[C+1]===de,i=C=>t[C]===de,c=C=>t[C]===Bd,u=C=>t[C]===jd,l=C=>a(C)||i(C)||c(C)||u(C),f=()=>n,d=()=>o,g=()=>r,E=()=>s,L=C=>a(C)||c(C)||u(C)?de:t[C],b=()=>L(n),p=()=>L(n+s);function _(){return s=0,l(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function R(){return a(n+s)&&s++,s++,t[n+s]}function y(){n=0,o=1,r=1,s=0}function P(C=0){s=C}function S(){const C=n+s;for(;C!==n;)_();s=0}return{index:f,line:d,column:g,peekOffset:E,charAt:L,currentChar:b,currentPeek:p,next:_,peek:R,reset:y,resetPeek:P,skipToPeek:S}}const Ke=void 0,Wd=".",Gr="'",Kd="tokenizer";function Gd(e,t={}){const n=t.location!==!1,o=Vd(e),r=()=>o.index(),s=()=>Fd(o.line(),o.column(),o.index()),a=s(),i=r(),c={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function f(h,m,v,...I){const M=u();if(m.column+=v,m.offset+=v,l){const W=n?yo(M.startLoc,m):null,Ce=Dn(h,W,{domain:Kd,args:I});l(Ce)}}function d(h,m,v){h.endLoc=s(),h.currentType=m;const I={type:m};return n&&(I.loc=yo(h.startLoc,h.endLoc)),v!=null&&(I.value=v),I}const g=h=>d(h,14);function E(h,m){return h.currentChar()===m?(h.next(),m):(f(K.EXPECTED_TOKEN,s(),0,m),"")}function L(h){let m="";for(;h.currentPeek()===$e||h.currentPeek()===de;)m+=h.currentPeek(),h.peek();return m}function b(h){const m=L(h);return h.skipToPeek(),m}function p(h){if(h===Ke)return!1;const m=h.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function _(h){if(h===Ke)return!1;const m=h.charCodeAt(0);return m>=48&&m<=57}function R(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function y(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()==="-"?h.peek():h.currentPeek(),M=_(I);return h.resetPeek(),M}function P(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()===Gr;return h.resetPeek(),I}function S(h,m){const{currentType:v}=m;if(v!==8)return!1;L(h);const I=h.currentPeek()===".";return h.resetPeek(),I}function C(h,m){const{currentType:v}=m;if(v!==9)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function j(h,m){const{currentType:v}=m;if(!(v===8||v===12))return!1;L(h);const I=h.currentPeek()===":";return h.resetPeek(),I}function X(h,m){const{currentType:v}=m;if(v!==10)return!1;const I=()=>{const W=h.currentPeek();return W==="{"?p(h.peek()):W==="@"||W==="%"||W==="|"||W===":"||W==="."||W===$e||!W?!1:W===de?(h.peek(),I()):p(W)},M=I();return h.resetPeek(),M}function ae(h){L(h);const m=h.currentPeek()==="|";return h.resetPeek(),m}function fe(h){const m=L(h),v=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:v,hasSpace:m.length>0}}function k(h,m=!0){const v=(M=!1,W="",Ce=!1)=>{const Me=h.currentPeek();return Me==="{"?W==="%"?!1:M:Me==="@"||!Me?W==="%"?!0:M:Me==="%"?(h.peek(),v(M,"%",!0)):Me==="|"?W==="%"||Ce?!0:!(W===$e||W===de):Me===$e?(h.peek(),v(!0,$e,Ce)):Me===de?(h.peek(),v(!0,de,Ce)):!0},I=v();return m&&h.resetPeek(),I}function x(h,m){const v=h.currentChar();return v===Ke?Ke:m(v)?(h.next(),v):null}function Y(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36})}function se(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57})}function oe(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102})}function Le(h){let m="",v="";for(;m=se(h);)v+=m;return v}function Ae(h){b(h);const m=h.currentChar();return m!=="%"&&f(K.EXPECTED_TOKEN,s(),0,m),h.next(),"%"}function he(h){let m="";for(;;){const v=h.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(k(h))m+=v,h.next();else break;else if(v===$e||v===de)if(k(h))m+=v,h.next();else{if(ae(h))break;m+=v,h.next()}else m+=v,h.next()}return m}function Ve(h){b(h);let m="",v="";for(;m=Y(h);)v+=m;return h.currentChar()===Ke&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v}function ht(h){b(h);let m="";return h.currentChar()==="-"?(h.next(),m+=`-${Le(h)}`):m+=Le(h),h.currentChar()===Ke&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),m}function Ze(h){b(h),E(h,"'");let m="",v="";const I=W=>W!==Gr&&W!==de;for(;m=x(h,I);)m==="\\"?v+=et(h):v+=m;const M=h.currentChar();return M===de||M===Ke?(f(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),M===de&&(h.next(),E(h,"'")),v):(E(h,"'"),v)}function et(h){const m=h.currentChar();switch(m){case"\\":case"'":return h.next(),`\\${m}`;case"u":return De(h,m,4);case"U":return De(h,m,6);default:return f(K.UNKNOWN_ESCAPE_SEQUENCE,s(),0,m),""}}function De(h,m,v){E(h,m);let I="";for(let M=0;MM!=="{"&&M!=="}"&&M!==$e&&M!==de;for(;m=x(h,I);)v+=m;return v}function Re(h){let m="",v="";for(;m=Y(h);)v+=m;return v}function T(h){const m=(v=!1,I)=>{const M=h.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===$e?I:M===de||M===Wd?(I+=M,h.next(),m(v,I)):(I+=M,h.next(),m(!0,I))};return m(!1,"")}function A(h){b(h);const m=E(h,"|");return b(h),m}function N(h,m){let v=null;switch(h.currentChar()){case"{":return m.braceNest>=1&&f(K.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),h.next(),v=d(m,2,"{"),b(h),m.braceNest++,v;case"}":return m.braceNest>0&&m.currentType===2&&f(K.EMPTY_PLACEHOLDER,s(),0),h.next(),v=d(m,3,"}"),m.braceNest--,m.braceNest>0&&b(h),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),v;case"@":return m.braceNest>0&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v=$(h,m)||g(m),m.braceNest=0,v;default:let M=!0,W=!0,Ce=!0;if(ae(h))return m.braceNest>0&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(K.UNTERMINATED_CLOSING_BRACE,s(),0),m.braceNest=0,B(h,m);if(M=R(h,m))return v=d(m,5,Ve(h)),b(h),v;if(W=y(h,m))return v=d(m,6,ht(h)),b(h),v;if(Ce=P(h,m))return v=d(m,7,Ze(h)),b(h),v;if(!M&&!W&&!Ce)return v=d(m,13,Dt(h)),f(K.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,v.value),b(h),v;break}return v}function $(h,m){const{currentType:v}=m;let I=null;const M=h.currentChar();switch((v===8||v===9||v===12||v===10)&&(M===de||M===$e)&&f(K.INVALID_LINKED_FORMAT,s(),0),M){case"@":return h.next(),I=d(m,8,"@"),m.inLinked=!0,I;case".":return b(h),h.next(),d(m,9,".");case":":return b(h),h.next(),d(m,10,":");default:return ae(h)?(I=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,I):S(h,m)||j(h,m)?(b(h),$(h,m)):C(h,m)?(b(h),d(m,12,Re(h))):X(h,m)?(b(h),M==="{"?N(h,m)||I:d(m,11,T(h))):(v===8&&f(K.INVALID_LINKED_FORMAT,s(),0),m.braceNest=0,m.inLinked=!1,B(h,m))}}function B(h,m){let v={type:14};if(m.braceNest>0)return N(h,m)||g(m);if(m.inLinked)return $(h,m)||g(m);switch(h.currentChar()){case"{":return N(h,m)||g(m);case"}":return f(K.UNBALANCED_CLOSING_BRACE,s(),0),h.next(),d(m,3,"}");case"@":return $(h,m)||g(m);default:if(ae(h))return v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;const{isModulo:M,hasSpace:W}=fe(h);if(M)return W?d(m,0,he(h)):d(m,4,Ae(h));if(k(h))return d(m,0,he(h));break}return v}function J(){const{currentType:h,offset:m,startLoc:v,endLoc:I}=c;return c.lastType=h,c.lastOffset=m,c.lastStartLoc=v,c.lastEndLoc=I,c.offset=r(),c.startLoc=s(),o.currentChar()===Ke?d(c,14):B(o,c)}return{nextToken:J,currentOffset:r,currentPosition:s,context:u}}const Xd="parser",Yd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function qd(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function zd(e={}){const t=e.location!==!1,{onError:n}=e;function o(p,_,R,y,...P){const S=p.currentPosition();if(S.offset+=y,S.column+=y,n){const C=t?yo(R,S):null,j=Dn(_,C,{domain:Xd,args:P});n(j)}}function r(p,_,R){const y={type:p};return t&&(y.start=_,y.end=_,y.loc={start:R,end:R}),y}function s(p,_,R,y){y&&(p.type=y),t&&(p.end=_,p.loc&&(p.loc.end=R))}function a(p,_){const R=p.context(),y=r(3,R.offset,R.startLoc);return y.value=_,s(y,p.currentOffset(),p.currentPosition()),y}function i(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(5,y,P);return S.index=parseInt(_,10),p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function c(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(4,y,P);return S.key=_,p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function u(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(9,y,P);return S.value=_.replace(Yd,qd),p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function l(p){const _=p.nextToken(),R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(8,y,P);return _.type!==12?(o(p,K.UNEXPECTED_EMPTY_LINKED_MODIFIER,R.lastStartLoc,0),S.value="",s(S,y,P),{nextConsumeToken:_,node:S}):(_.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,ke(_)),S.value=_.value||"",s(S,p.currentOffset(),p.currentPosition()),{node:S})}function f(p,_){const R=p.context(),y=r(7,R.offset,R.startLoc);return y.value=_,s(y,p.currentOffset(),p.currentPosition()),y}function d(p){const _=p.context(),R=r(6,_.offset,_.startLoc);let y=p.nextToken();if(y.type===9){const P=l(p);R.modifier=P.node,y=P.nextConsumeToken||p.nextToken()}switch(y.type!==10&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),y=p.nextToken(),y.type===2&&(y=p.nextToken()),y.type){case 11:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=f(p,y.value||"");break;case 5:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=c(p,y.value||"");break;case 6:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=i(p,y.value||"");break;case 7:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=u(p,y.value||"");break;default:o(p,K.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const P=p.context(),S=r(7,P.offset,P.startLoc);return S.value="",s(S,P.offset,P.startLoc),R.key=S,s(R,P.offset,P.startLoc),{nextConsumeToken:y,node:R}}return s(R,p.currentOffset(),p.currentPosition()),{node:R}}function g(p){const _=p.context(),R=_.currentType===1?p.currentOffset():_.offset,y=_.currentType===1?_.endLoc:_.startLoc,P=r(2,R,y);P.items=[];let S=null;do{const X=S||p.nextToken();switch(S=null,X.type){case 0:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(a(p,X.value||""));break;case 6:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(i(p,X.value||""));break;case 5:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(c(p,X.value||""));break;case 7:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(u(p,X.value||""));break;case 8:const ae=d(p);P.items.push(ae.node),S=ae.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const C=_.currentType===1?_.lastOffset:p.currentOffset(),j=_.currentType===1?_.lastEndLoc:p.currentPosition();return s(P,C,j),P}function E(p,_,R,y){const P=p.context();let S=y.items.length===0;const C=r(1,_,R);C.cases=[],C.cases.push(y);do{const j=g(p);S||(S=j.items.length===0),C.cases.push(j)}while(P.currentType!==14);return S&&o(p,K.MUST_HAVE_MESSAGES_IN_PLURAL,R,0),s(C,p.currentOffset(),p.currentPosition()),C}function L(p){const _=p.context(),{offset:R,startLoc:y}=_,P=g(p);return _.currentType===14?P:E(p,R,y,P)}function b(p){const _=Gd(p,ue({},e)),R=_.context(),y=r(0,R.offset,R.startLoc);return t&&y.loc&&(y.loc.source=p),y.body=L(_),e.onCacheKey&&(y.cacheKey=e.onCacheKey(p)),R.currentType!==14&&o(_,K.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,p[R.offset]||""),s(y,_.currentOffset(),_.currentPosition()),y}return{parse:b}}function ke(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Qd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Xr(e,t){for(let n=0;nYr(n)),e}function Yr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function u(b,p){i.code+=b}function l(b,p=!0){const _=p?r:"";u(s?_+" ".repeat(b):_)}function f(b=!0){const p=++i.indentLevel;b&&l(p)}function d(b=!0){const p=--i.indentLevel;b&&l(p)}function g(){l(i.indentLevel)}return{context:c,push:u,indent:f,deindent:d,newline:g,helper:b=>`_${b}`,needIndent:()=>i.needIndent}}function tp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wt(e,t.key),t.modifier?(e.push(", "),wt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function np(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s{const n=D(t.mode)?t.mode:"normal",o=D(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],c=ep(e,{mode:n,filename:o,sourceMap:r,breakLineCode:s,needIndent:a});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),i.length>0&&(c.push(`const { ${Go(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),c.newline()),c.push("return "),wt(c,e),c.deindent(a),c.push("}"),delete e.helpers;const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function ap(e,t={}){const n=ue({},t),o=!!n.jit,r=!!n.minify,s=n.optimize==null?!0:n.optimize,i=zd(n).parse(e);return o?(s&&Zd(i),r&&yt(i),{ast:i,code:""}):(Jd(i,n),sp(i,n))}/*! + * core-base v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function ip(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}const Je=[];Je[0]={w:[0],i:[3,0],"[":[4],o:[7]};Je[1]={w:[1],".":[2],"[":[4],o:[7]};Je[2]={w:[2],i:[3,0],0:[3,0]};Je[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Je[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Je[5]={"'":[4,0],o:8,l:[5,0]};Je[6]={'"':[4,0],o:8,l:[6,0]};const cp=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function lp(e){return cp.test(e)}function up(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function fp(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function dp(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:lp(t)?up(t):"*"+t}function pp(e){const t=[];let n=-1,o=0,r=0,s,a,i,c,u,l,f;const d=[];d[0]=()=>{a===void 0?a=i:a+=i},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,o=4,d[0]();else{if(r=0,a===void 0||(a=dp(a),a===!1))return!1;d[1]()}};function g(){const E=e[n+1];if(o===5&&E==="'"||o===6&&E==='"')return n++,i="\\"+E,d[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(c=fp(s),f=Je[o],u=f[c]||f.l||8,u===8||(o=u[0],u[1]!==void 0&&(l=d[u[1]],l&&(i=s,l()===!1))))return;if(o===7)return t}}const qr=new Map;function hp(e,t){return V(e)?e[t]:null}function mp(e,t){if(!V(e))return null;let n=qr.get(t);if(n||(n=pp(t),n&&qr.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;se,_p=e=>"",yp="text",Ep=e=>e.length===0?"":Go(e),Lp=xd;function zr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function vp(e){const t=le(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(le(e.named.count)||le(e.named.n))?le(e.named.count)?e.named.count:le(e.named.n)?e.named.n:t:t}function bp(e,t){t.count||(t.count=e),t.n||(t.n=e)}function wp(e={}){const t=e.locale,n=vp(e),o=V(e.pluralRules)&&D(t)&&z(e.pluralRules[t])?e.pluralRules[t]:zr,r=V(e.pluralRules)&&D(t)&&z(e.pluralRules[t])?zr:void 0,s=p=>p[o(n,p.length,r)],a=e.list||[],i=p=>a[p],c=e.named||{};le(e.pluralIndex)&&bp(n,c);const u=p=>c[p];function l(p){const _=z(e.messages)?e.messages(p):V(e.messages)?e.messages[p]:!1;return _||(e.parent?e.parent.message(p):_p)}const f=p=>e.modifiers?e.modifiers[p]:gp,d=H(e.processor)&&z(e.processor.normalize)?e.processor.normalize:Ep,g=H(e.processor)&&z(e.processor.interpolate)?e.processor.interpolate:Lp,E=H(e.processor)&&D(e.processor.type)?e.processor.type:yp,b={list:i,named:u,plural:s,linked:(p,..._)=>{const[R,y]=_;let P="text",S="";_.length===1?V(R)?(S=R.modifier||S,P=R.type||P):D(R)&&(S=R||S):_.length===2&&(D(R)&&(S=R||S),D(y)&&(P=y||P));const C=l(p)(b),j=P==="vnode"&&re(C)&&S?C[0]:C;return S?f(S)(j,P):j},message:l,type:E,interpolate:g,normalize:d,values:ue({},a,c)};return b}let Gt=null;function Tp(e){Gt=e}function Pp(e,t,n){Gt&&Gt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Rp=Cp("function:translate");function Cp(e){return t=>Gt&&Gt.emit(e,t)}const kp={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ca=K.__EXTEND_POINT__,nt=Xo(Ca),Ne={INVALID_ARGUMENT:Ca,INVALID_DATE_ARGUMENT:nt(),INVALID_ISO_DATE_ARGUMENT:nt(),NOT_SUPPORT_NON_STRING_MESSAGE:nt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:nt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:nt(),NOT_SUPPORT_LOCALE_TYPE:nt(),__EXTEND_POINT__:nt()};function Ue(e){return Dn(e,null,void 0)}function qo(e,t){return t.locale!=null?Qr(t.locale):Qr(e.locale)}let qn;function Qr(e){if(D(e))return e;if(z(e)){if(e.resolvedOnce&&qn!=null)return qn;if(e.constructor.name==="Function"){const t=e();if(Md(t))throw Ue(Ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return qn=t}else throw Ue(Ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ue(Ne.NOT_SUPPORT_LOCALE_TYPE)}function Sp(e,t,n){return[...new Set([n,...re(t)?t:V(t)?Object.keys(t):D(t)?[t]:[n]])]}function ka(e,t,n){const o=D(n)?n:vn,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(o);if(!s){s=[];let a=[n];for(;re(a);)a=Jr(s,a,t);const i=re(t)||!H(t)?t:t.default?t.default:null;a=D(i)?[i]:i,re(a)&&Jr(s,a,!1),r.__localeChainCache.set(o,s)}return s}function Jr(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ap(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?es(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?es(e.children):e}}let Sa;function Dp(e){Sa=e}let Oa;function Mp(e){Oa=e}let Na;function xp(e){Na=e}let Ia=null;const $p=e=>{Ia=e},Fp=()=>Ia;let Aa=null;const ts=e=>{Aa=e},Up=()=>Aa;let ns=0;function Hp(e={}){const t=z(e.onWarn)?e.onWarn:$d,n=D(e.version)?e.version:Ip,o=D(e.locale)||z(e.locale)?e.locale:vn,r=z(o)?vn:o,s=re(e.fallbackLocale)||H(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=H(e.messages)?e.messages:{[r]:{}},i=H(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},c=H(e.numberFormats)?e.numberFormats:{[r]:{}},u=ue({},e.modifiers||{},Ap()),l=e.pluralRules||{},f=z(e.missing)?e.missing:null,d=Z(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,g=Z(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,L=!!e.unresolving,b=z(e.postTranslation)?e.postTranslation:null,p=H(e.processor)?e.processor:null,_=Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,R=!!e.escapeParameter,y=z(e.messageCompiler)?e.messageCompiler:Sa,P=z(e.messageResolver)?e.messageResolver:Oa||hp,S=z(e.localeFallbacker)?e.localeFallbacker:Na||Sp,C=V(e.fallbackContext)?e.fallbackContext:void 0,j=e,X=V(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,ae=V(j.__numberFormatters)?j.__numberFormatters:new Map,fe=V(j.__meta)?j.__meta:{};ns++;const k={version:n,cid:ns,locale:o,fallbackLocale:s,messages:a,modifiers:u,pluralRules:l,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:E,unresolving:L,postTranslation:b,processor:p,warnHtmlMessage:_,escapeParameter:R,messageCompiler:y,messageResolver:P,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:fe};return k.datetimeFormats=i,k.numberFormats=c,k.__datetimeFormatters=X,k.__numberFormatters=ae,__INTLIFY_PROD_DEVTOOLS__&&Pp(k,n,fe),k}function zo(e,t,n,o,r){const{missing:s,onWarn:a}=e;if(s!==null){const i=s(e,n,t,r);return D(i)?i:t}else return t}function xt(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function zn(e){return n=>jp(n,e)}function jp(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((s,a)=>[...s,os(e,a)],[]))}else return os(e,n)}function os(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,s)=>[...r,Eo(e,s)],[]);return e.normalize(o)}}function Eo(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const s=t;return e.interpolate(e.named(s.k||s.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const i=t,c=i.m||i.modifier;return e.linked(Eo(e,i.k||i.key),c?Eo(e,c):void 0,e.type);case 7:const u=t;return u.v||u.value;case 8:const l=t;return l.v||l.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Bp=e=>e;let ln=Object.create(null);const Tt=e=>V(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Vp(e,t={}){let n=!1;const o=t.onError||Ud;return t.onError=r=>{n=!0,o(r)},{...ap(e,t),detectError:n}}function Wp(e,t){if(D(e)){Z(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Bp)(e),r=ln[o];if(r)return r;const{ast:s,detectError:a}=Vp(e,{...t,location:!1,jit:!0}),i=zn(s);return a?i:ln[o]=i}else{const n=e.cacheKey;if(n){const o=ln[n];return o||(ln[n]=zn(e))}else return zn(e)}}const rs=()=>"",ve=e=>z(e);function ss(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:s,fallbackLocale:a,messages:i}=e,[c,u]=Lo(...t),l=Z(u.missingWarn)?u.missingWarn:e.missingWarn,f=Z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Z(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,E=D(u.default)||Z(u.default)?Z(u.default)?s?c:()=>c:u.default:n?s?c:()=>c:"",L=n||E!=="",b=qo(e,u);d&&Kp(u);let[p,_,R]=g?[c,b,i[b]||{}]:Da(e,c,b,a,f,l),y=p,P=c;if(!g&&!(D(y)||Tt(y)||ve(y))&&L&&(y=E,P=y),!g&&(!(D(y)||Tt(y)||ve(y))||!D(_)))return r?Mn:c;let S=!1;const C=()=>{S=!0},j=ve(y)?y:Ma(e,c,_,y,P,C);if(S)return y;const X=Yp(e,_,R,u),ae=wp(X),fe=Gp(e,j,ae),k=o?o(fe,c):fe;if(__INTLIFY_PROD_DEVTOOLS__){const x={timestamp:Date.now(),key:D(c)?c:ve(y)?y.key:"",locale:_||(ve(y)?y.locale:""),format:D(y)?y:ve(y)?y.source:"",message:k};x.meta=ue({},e.__meta,Fp()||{}),Rp(x)}return k}function Kp(e){re(e.list)?e.list=e.list.map(t=>D(t)?Kr(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=Kr(e.named[t]))})}function Da(e,t,n,o,r,s){const{messages:a,onWarn:i,messageResolver:c,localeFallbacker:u}=e,l=u(e,o,n);let f={},d,g=null;const E="translate";for(let L=0;Lo;return u.locale=n,u.key=t,u}const c=a(o,Xp(e,n,r,o,i,s));return c.locale=n,c.key=t,c.source=o,c}function Gp(e,t,n){return t(n)}function Lo(...e){const[t,n,o]=e,r={};if(!D(t)&&!le(t)&&!ve(t)&&!Tt(t))throw Ue(Ne.INVALID_ARGUMENT);const s=le(t)?String(t):(ve(t),t);return le(n)?r.plural=n:D(n)?r.default=n:H(n)&&!An(n)?r.named=n:re(n)&&(r.list=n),le(o)?r.plural=o:D(o)?r.default=o:H(o)&&ue(r,o),[s,r]}function Xp(e,t,n,o,r,s){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw s&&s(a),a},onCacheKey:a=>Nd(t,n,a)}}function Yp(e,t,n,o){const{modifiers:r,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:l}=e,d={locale:t,modifiers:r,pluralRules:s,messages:g=>{let E=a(n,g);if(E==null&&l){const[,,L]=Da(l,g,t,i,c,u);E=a(L,g)}if(D(E)||Tt(E)){let L=!1;const p=Ma(e,g,t,E,g,()=>{L=!0});return L?rs:p}else return ve(E)?E:rs}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),le(o.plural)&&(d.pluralIndex=o.plural),d}function as(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[c,u,l,f]=vo(...t),d=Z(l.missingWarn)?l.missingWarn:e.missingWarn;Z(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,E=qo(e,l),L=a(e,r,E);if(!D(c)||c==="")return new Intl.DateTimeFormat(E,f).format(u);let b={},p,_=null;const R="datetime format";for(let S=0;S{xa.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:H(o)&&(a=o),H(r)&&(a=r),[s.key||"",i,s,a]}function is(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function cs(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e,[c,u,l,f]=bo(...t),d=Z(l.missingWarn)?l.missingWarn:e.missingWarn;Z(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,E=qo(e,l),L=a(e,r,E);if(!D(c)||c==="")return new Intl.NumberFormat(E,f).format(u);let b={},p,_=null;const R="number format";for(let S=0;S{$a.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:H(o)&&(a=o),H(r)&&(a=r),[s.key||"",i,s,a]}function ls(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}ip();/*! + * vue-i18n v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const qp="9.8.0";function zp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fa=kp.__EXTEND_POINT__,Ge=Xo(Fa);Ge(),Ge(),Ge(),Ge(),Ge(),Ge(),Ge(),Ge();const Ua=Ne.__EXTEND_POINT__,ge=Xo(Ua),we={UNEXPECTED_RETURN_TYPE:Ua,INVALID_ARGUMENT:ge(),MUST_BE_CALL_SETUP_TOP:ge(),NOT_INSTALLED:ge(),NOT_AVAILABLE_IN_LEGACY_MODE:ge(),REQUIRED_VALUE:ge(),INVALID_VALUE:ge(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ge(),NOT_INSTALLED_WITH_PROVIDE:ge(),UNEXPECTED_ERROR:ge(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ge(),BRIDGE_SUPPORT_VUE_2_ONLY:ge(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ge(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ge(),__EXTEND_POINT__:ge()};function Pe(e,...t){return Dn(e,null,void 0)}const wo=Qe("__translateVNode"),To=Qe("__datetimeParts"),Po=Qe("__numberParts"),Qp=Qe("__setPluralRules"),Jp=Qe("__injectWithOption"),Ro=Qe("__dispose");function Xt(e){if(!V(e))return e;for(const t in e)if(Kt(e,t))if(!t.includes("."))V(e[t])&&Xt(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,s=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:c,resource:u}=i;c?(a[c]=a[c]||{},qe(u,a[c])):qe(u,a)}else D(i)&&qe(JSON.parse(i),a)}),r==null&&s)for(const i in a)Kt(a,i)&&Xt(a[i]);return a}function ja(e){return e.type}function Zp(e,t,n){let o=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Ha(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(V(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(V(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function us(e){return Us(Ci,null,e,0)}const fs="__INTLIFY_META__",ds=()=>[],eh=()=>!1;let ps=0;function hs(e){return(t,n,o,r)=>e(n,o,Jt()||void 0,r)}const th=()=>{const e=Jt();let t=null;return e&&(t=ja(e)[fs])?{[fs]:t}:null};function Ba(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,s=e.flatJson;let a=Z(e.inheritLocale)?e.inheritLocale:!0;const i=pe(n&&a?n.locale.value:D(e.locale)?e.locale:vn),c=pe(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||re(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),u=pe(Ha(i.value,e)),l=pe(H(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=pe(H(e.numberFormats)?e.numberFormats:{[i.value]:{}});let d=n?n.missingWarn:Z(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Z(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:Z(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,b=z(e.missing)?e.missing:null,p=z(e.missing)?hs(e.missing):null,_=z(e.postTranslation)?e.postTranslation:null,R=n?n.warnHtmlMessage:Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const P=n?n.modifiers:H(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,C;C=(()=>{r&&ts(null);const w={version:qp,locale:i.value,fallbackLocale:c.value,messages:u.value,modifiers:P,pluralRules:S,missing:p===null?void 0:p,missingWarn:d,fallbackWarn:g,fallbackFormat:L,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:R,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};w.datetimeFormats=l.value,w.numberFormats=f.value,w.__datetimeFormatters=H(C)?C.__datetimeFormatters:void 0,w.__numberFormatters=H(C)?C.__numberFormatters:void 0;const O=Hp(w);return r&&ts(O),O})(),xt(C,i.value,c.value);function X(){return[i.value,c.value,u.value,l.value,f.value]}const ae=ee({get:()=>i.value,set:w=>{i.value=w,C.locale=i.value}}),fe=ee({get:()=>c.value,set:w=>{c.value=w,C.fallbackLocale=c.value,xt(C,i.value,w)}}),k=ee(()=>u.value),x=ee(()=>l.value),Y=ee(()=>f.value);function se(){return z(_)?_:null}function oe(w){_=w,C.postTranslation=w}function Le(){return b}function Ae(w){w!==null&&(p=hs(w)),b=w,C.missing=p}const he=(w,O,q,ne,tt,nn)=>{X();let mt;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=n?Up():void 0),mt=w(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if(q!=="translate exists"&&le(mt)&&mt===Mn||q==="translate exists"&&!mt){const[gi,Lg]=O();return n&&E?ne(n):tt(gi)}else{if(nn(mt))return mt;throw Pe(we.UNEXPECTED_RETURN_TYPE)}};function Ve(...w){return he(O=>Reflect.apply(ss,null,[O,...w]),()=>Lo(...w),"translate",O=>Reflect.apply(O.t,O,[...w]),O=>O,O=>D(O))}function ht(...w){const[O,q,ne]=w;if(ne&&!V(ne))throw Pe(we.INVALID_ARGUMENT);return Ve(O,q,ue({resolvedMessage:!0},ne||{}))}function Ze(...w){return he(O=>Reflect.apply(as,null,[O,...w]),()=>vo(...w),"datetime format",O=>Reflect.apply(O.d,O,[...w]),()=>Zr,O=>D(O))}function et(...w){return he(O=>Reflect.apply(cs,null,[O,...w]),()=>bo(...w),"number format",O=>Reflect.apply(O.n,O,[...w]),()=>Zr,O=>D(O))}function De(w){return w.map(O=>D(O)||le(O)||Z(O)?us(String(O)):O)}const Re={normalize:De,interpolate:w=>w,type:"vnode"};function T(...w){return he(O=>{let q;const ne=O;try{ne.processor=Re,q=Reflect.apply(ss,null,[ne,...w])}finally{ne.processor=null}return q},()=>Lo(...w),"translate",O=>O[wo](...w),O=>[us(O)],O=>re(O))}function A(...w){return he(O=>Reflect.apply(cs,null,[O,...w]),()=>bo(...w),"number format",O=>O[Po](...w),ds,O=>D(O)||re(O))}function N(...w){return he(O=>Reflect.apply(as,null,[O,...w]),()=>vo(...w),"datetime format",O=>O[To](...w),ds,O=>D(O)||re(O))}function $(w){S=w,C.pluralRules=S}function B(w,O){return he(()=>{if(!w)return!1;const q=D(O)?O:i.value,ne=m(q),tt=C.messageResolver(ne,w);return Tt(tt)||ve(tt)||D(tt)},()=>[w],"translate exists",q=>Reflect.apply(q.te,q,[w,O]),eh,q=>Z(q))}function J(w){let O=null;const q=ka(C,c.value,i.value);for(let ne=0;ne{a&&(i.value=w,C.locale=w,xt(C,i.value,c.value))}),je(n.fallbackLocale,w=>{a&&(c.value=w,C.fallbackLocale=w,xt(C,i.value,c.value))}));const ie={id:ps,locale:ae,fallbackLocale:fe,get inheritLocale(){return a},set inheritLocale(w){a=w,w&&n&&(i.value=n.locale.value,c.value=n.fallbackLocale.value,xt(C,i.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:k,get modifiers(){return P},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(w){d=w,C.missingWarn=d},get fallbackWarn(){return g},set fallbackWarn(w){g=w,C.fallbackWarn=g},get fallbackRoot(){return E},set fallbackRoot(w){E=w},get fallbackFormat(){return L},set fallbackFormat(w){L=w,C.fallbackFormat=L},get warnHtmlMessage(){return R},set warnHtmlMessage(w){R=w,C.warnHtmlMessage=w},get escapeParameter(){return y},set escapeParameter(w){y=w,C.escapeParameter=w},t:Ve,getLocaleMessage:m,setLocaleMessage:v,mergeLocaleMessage:I,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:Le,setMissingHandler:Ae,[Qp]:$};return ie.datetimeFormats=x,ie.numberFormats=Y,ie.rt=ht,ie.te=B,ie.tm=h,ie.d=Ze,ie.n=et,ie.getDateTimeFormat=M,ie.setDateTimeFormat=W,ie.mergeDateTimeFormat=Ce,ie.getNumberFormat=Me,ie.setNumberFormat=hi,ie.mergeNumberFormat=mi,ie[Jp]=o,ie[wo]=T,ie[To]=N,ie[Po]=A,ie}const Qo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function nh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===Fs?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function Va(e){return Fs}const oh=lt({name:"i18n-t",props:ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>le(e)||!isNaN(e)}},Qo),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||xn({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=D(e.plural)?+e.plural:e.plural);const i=nh(t,s),c=r[wo](e.keypath,i,a),u=ue({},o),l=D(e.tag)||V(e.tag)?e.tag:Va();return Ie(l,u,c)}}}),ms=oh;function rh(e){return re(e)&&!D(e[0])}function Wa(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),D(e.format)?a.key=e.format:V(e.format)&&(D(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((d,g)=>n.includes(g)?ue({},d,{[g]:e.format[g]}):d,{}));const c=o(e.value,a,i);let u=[a.key];re(c)?u=c.map((d,g)=>{const E=r[d.type],L=E?E({[d.type]:d.value,index:g,parts:c}):[d.value];return rh(L)&&(L[0].key=`${d.type}-${g}`),L}):D(c)&&(u=[c]);const l=ue({},s),f=D(e.tag)||V(e.tag)?e.tag:Va();return Ie(f,l,u)}}const sh=lt({name:"i18n-n",props:ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Qo),setup(e,t){const n=e.i18n||xn({useScope:"parent",__useComponent:!0});return Wa(e,t,$a,(...o)=>n[Po](...o))}}),gs=sh,ah=lt({name:"i18n-d",props:ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Qo),setup(e,t){const n=e.i18n||xn({useScope:"parent",__useComponent:!0});return Wa(e,t,xa,(...o)=>n[To](...o))}}),_s=ah;function ih(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function ch(e){const t=a=>{const{instance:i,modifiers:c,value:u}=a;if(!i||!i.$)throw Pe(we.UNEXPECTED_ERROR);const l=ih(e,i.$),f=ys(u);return[Reflect.apply(l.t,l,[...Es(f)]),l]};return{created:(a,i)=>{const[c,u]=t(i);_o&&e.global===u&&(a.__i18nWatcher=je(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=u,a.textContent=c},unmounted:a=>{_o&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const c=a.__composer,u=ys(i);a.textContent=Reflect.apply(c.t,c,[...Es(u)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function ys(e){if(D(e))return{path:e};if(H(e)){if(!("path"in e))throw Pe(we.REQUIRED_VALUE,"path");return e}else throw Pe(we.INVALID_VALUE)}function Es(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,a={},i=o||{};return D(n)&&(a.locale=n),le(r)&&(a.plural=r),le(s)&&(a.plural=s),[t,i,a]}function lh(e,t,...n){const o=H(n[0])?n[0]:{},r=!!o.useI18nComponentName;(Z(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":ms.name,"I18nT"].forEach(a=>e.component(a,ms)),[gs.name,"I18nN"].forEach(a=>e.component(a,gs)),[_s.name,"I18nD"].forEach(a=>e.component(a,_s))),e.directive("t",ch(t))}const uh=Qe("global-vue-i18n");function fh(e={},t){const n=Z(e.globalInjection)?e.globalInjection:!0,o=!0,r=new Map,[s,a]=dh(e),i=Qe("");function c(f){return r.get(f)||null}function u(f,d){r.set(f,d)}function l(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return o},async install(d,...g){if(d.__VUE_I18N_SYMBOL__=i,d.provide(d.__VUE_I18N_SYMBOL__,f),H(g[0])){const b=g[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let E=null;n&&(E=Lh(d,f.global)),lh(d,f,...g);const L=d.unmount;d.unmount=()=>{E&&E(),f.dispose(),L()}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:l};return f}}function xn(e={}){const t=Jt();if(t==null)throw Pe(we.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(we.NOT_INSTALLED);const n=ph(t),o=mh(n),r=ja(t),s=hh(e,r);if(s==="global")return Zp(o,e,r),o;if(s==="parent"){let c=gh(n,t,e.__useComponent);return c==null&&(c=o),c}const a=n;let i=a.__getInstance(t);if(i==null){const c=ue({},e);"__i18n"in r&&(c.__i18n=r.__i18n),o&&(c.__root=o),i=Ba(c),a.__composerExtend&&(i[Ro]=a.__composerExtend(i)),yh(a,t,i),a.__setInstance(t,i)}return i}function dh(e,t,n){const o=Mo();{const r=o.run(()=>Ba(e));if(r==null)throw Pe(we.UNEXPECTED_ERROR);return[o,r]}}function ph(e){{const t=be(e.isCE?uh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?we.NOT_INSTALLED_WITH_PROVIDE:we.UNEXPECTED_ERROR);return t}}function hh(e,t){return An(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function mh(e){return e.mode==="composition"?e.global:e.global.__composer}function gh(e,t,n=!1){let o=null;const r=t.root;let s=_h(t,n);for(;s!=null;){const a=e;if(e.mode==="composition"&&(o=a.__getInstance(s)),o!=null||r===s)break;s=s.parent}return o}function _h(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function yh(e,t,n){Pi(()=>{},t),Ri(()=>{const o=n;e.__deleteInstance(t);const r=o[Ro];r&&(r(),delete o[Ro])},t)}const Eh=["locale","fallbackLocale","availableLocales"],Ls=["t","rt","d","n","tm","te"];function Lh(e,t){const n=Object.create(null);return Eh.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Pe(we.UNEXPECTED_ERROR);const a=Nt(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Ls.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Pe(we.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ls.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}zp();Dp(Wp);Mp(mp);xp(ka);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ko();e.__INTLIFY__=!0,Tp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const vh=!0,Ka={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},bh="",wh=Ka.PREFIX_EXCEPT_DEFAULT,Th=!1,Ph="___",Rh="default",Ch="ltr",kh="",Ga="";/*! + * shared v9.4.1 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const Sh=(e,t=!1)=>t?Symbol.for(e):Symbol(e),$n=Object.assign,Oh=Array.isArray,Co=e=>typeof e=="function",Pt=e=>typeof e=="string",Nh=e=>typeof e=="symbol",Jo=e=>e!==null&&typeof e=="object",Xa=/\+/g;function Ya(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ih(e){return Ya(e.replace(Xa," "))}function Ah(e){return Ya(e.replace(Xa," "))}function Dh(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Ih(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=Ah(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}const Mh=/\/$|\/\?/;function ko(e="",t=!1){return t?Mh.test(e):e.endsWith("/")}function xh(e="",t=!1){if(!t)return(ko(e)?e.slice(0,-1):e)||"/";if(!ko(e,!0))return e||"/";const[n,...o]=e.split("?");return(n.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function $h(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ko(e,!0))return e||"/";const[n,...o]=e.split("?");return n+"/"+(o.length>0?`?${o.join("?")}`:"")}function Fh(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}const Uh=typeof window<"u";function qa(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function Hh(e){e=e||[];const t=[];for(const n of e)Pt(n)?t.push({code:n}):t.push(n);return t}function ft(e){return e!=null&&"global"in e&&"mode"in e}function At(e){return e!=null&&!("__composer"in e)&&Nt(e.locale)}function dt(e){return e!=null&&"__composer"in e}function Zt(e){return e!=null&&!("__composer"in e)&&!Nt(e.locale)}function Fn(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function Yt(e){return ft(e)?At(e.global)?e.global:e.global.__composer:dt(e)?e.__composer:e}function Un(e){const t=ft(e)?e.global:e;return At(t)?t.locale.value:(Zt(t)||dt(t)||Fn(t),t.locale)}function jh(e){const t=ft(e)?e.global:e;return At(t)?t.locales.value:(Zt(t)||dt(t)||Fn(t),t.locales)}function Bh(e){const t=ft(e)?e.global:e;return At(t)?t.localeCodes.value:(Zt(t)||dt(t)||Fn(t),t.localeCodes)}function za(e,t){const n=ft(e)?e.global:e;if(At(n))n.locale.value=t;else if(Zt(n)||dt(n)||Fn(n))n.locale=t;else throw new Error("TODO:")}function Qa(e){return Pt(e)?e:Nh(e)?e.toString():"(null)"}function vs(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:r,defaultLocaleRouteNameSuffix:s}){let a=Qa(e)+(o==="no_prefix"?"":r+t);return t===n&&o==="prefix_and_default"&&(a+=r+s),a}function bs(e,t){return Co(e)?e(t):e}function Vh(e,t){const n=[];for(const[o,r]of t.entries()){const s=e.find(a=>a.iso.toLowerCase()===r.toLowerCase());if(s){n.push({code:s.code,score:1-o/t.length});break}}for(const[o,r]of t.entries()){const s=r.split("-")[0].toLowerCase(),a=e.find(i=>i.iso.split("-")[0].toLowerCase()===s);if(a){n.push({code:a.code,score:.999-o/t.length});break}}return n}const Wh=Vh;function Kh(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Gh=Kh;function Xh(e,t,{matcher:n=Wh,comparer:o=Gh}={}){const r=[];for(const a of e){const{code:i}=a,c=a.iso||i;r.push({code:i,iso:c})}const s=n(r,t);return s.length>1&&s.sort(o),s.length?s[0].code:""}function ot(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function Yh(e,{locales:t=[],localeCodes:n=[],baseUrl:o=kh,hooks:r={},context:s={}}={}){const a=Mo(),i=e.install;return e.install=(c,...u)=>{const l=Qh(u[0])?$n({},u[0]):{inject:!0};l.inject==null&&(l.inject=!0);const f=l.__composerExtend;if(l.__composerExtend=L=>{const b=Yt(e);L.locales=ee(()=>b.locales.value),L.localeCodes=ee(()=>b.localeCodes.value),L.baseUrl=ee(()=>b.baseUrl.value);let p;return Co(f)&&(p=Reflect.apply(f,l,[L])),()=>{p&&p()}},e.mode==="legacy"){const L=l.__vueI18nExtend;l.__vueI18nExtend=b=>{ws(b,r.onExtendVueI18n);let p;return Co(L)&&(p=Reflect.apply(L,l,[b])),()=>{p&&p()}}}u[0]=l,Reflect.apply(i,e,[c,...u]);const d=Yt(e);a.run(()=>{qh(d,{locales:t,localeCodes:n,baseUrl:o,hooks:r,context:s}),e.mode==="legacy"&&dt(e.global)&&ws(e.global,r.onExtendVueI18n)});const g=c,E=e.mode==="composition"?g.config.globalProperties.$i18n:null;if(E&&zh(E,d,r.onExtendExportedGlobal),l.inject&&c.mixin({methods:{resolveRoute:ot(Hn),localePath:ot(Zo),localeRoute:ot(er),localeLocation:ot(im),switchLocalePath:ot(qt),getRouteBaseName:ot(Rt),localeHead:ot(ti)}}),g.unmount){const L=g.unmount;g.unmount=()=>{a.stop(),L()}}},a}function qh(e,t){const{locales:n,localeCodes:o,baseUrl:r,context:s}=t,a=pe(n),i=pe(o),c=pe("");e.locales=ee(()=>a.value),e.localeCodes=ee(()=>i.value),e.baseUrl=ee(()=>c.value),Uh?je(e.locale,()=>{c.value=bs(r,s)},{immediate:!0}):c.value=bs(r,s),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Ja(e,t,n){const o=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&o.push(n(e));for(const r of o)for(const[s,a]of Object.entries(r))Object.defineProperty(t,s,a)}function zh(e,t,n){Ja(t,e,n)}function ws(e,t){const n=Yt(e);Ja(n,e,t)}function Qh(e){return Jo(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const So=Sh("vue-i18n-routing-gor");function Jh(e,t){e[So]?qa("already registered global options"):e[So]=t}function Zh(e){return e[So]??{}}function Oo(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function em(e,t,n){const o=`(${e.join("|")})`,r=`(?:${t}${n})?`,s=new RegExp(`${t}${o}${r}$`,"i"),a=Oo(e);return c=>{if(Jo(c)){if(c.name){const l=(Pt(c.name)?c.name:c.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(c.path){const u=c.path.match(a);if(u&&u.length>1)return u[1]}}else if(Pt(c)){const u=c.match(a);if(u&&u.length>1)return u[1]}return""}}function en(e,t,{defaultLocale:n=bh,defaultDirection:o=Ch,defaultLocaleRouteNameSuffix:r=Rh,routesNameSeparator:s=Ph,strategy:a=wh,trailingSlash:i=Th,localeCodes:c=[],prefixable:u=Za,switchLocalePathIntercepter:l=ei,dynamicRouteParamsKey:f=Ga}={}){const d=Zh(e);return{defaultLocale:t.defaultLocale||d.defaultLocale||n,defaultDirection:t.defaultDirection||d.defaultDirection||o,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||d.defaultLocaleRouteNameSuffix||r,routesNameSeparator:t.routesNameSeparator||d.routesNameSeparator||s,strategy:t.strategy||d.strategy||a,trailingSlash:t.trailingSlash||d.trailingSlash||i,localeCodes:t.localeCodes||d.localeCodes||c,prefixable:t.prefixable||d.prefixable||u,switchLocalePathIntercepter:t.switchLocalePathIntercepter||d.switchLocalePathIntercepter||l,dynamicRouteParamsKey:t.dynamicRouteParamsKey||d.dynamicRouteParamsKey||f,dynamicParamsInterceptor:d.dynamicParamsInterceptor||void 0}}function tm(e,t){return[e.slice(0,t),e.slice(t)]}function nm(e){const{fullPath:t,query:n,hash:o,name:r,path:s,params:a,meta:i,redirectedFrom:c,matched:u}=e;return{fullPath:t,params:a,query:n,hash:o,name:r,path:s,meta:i,matched:u,redirectedFrom:c}}function om(e){return vh}function rm(e,t,n,o){var r,s;if(n!=="prefix")return e.resolve(t);const[a,i]=tm(t.path,1),c=`${a}${o}${i===""?i:`/${i}`}`,u=(s=(r=e.options)==null?void 0:r.routes)==null?void 0:s.find(f=>f.path===c);if(u==null)return t;const l=$n({},t,u);return l.path=c,e.resolve(l)}const sm=new Set(["prefix_and_default","prefix_except_default"]);function am(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&sm.has(o))&&o!=="no_prefix"}const Za=am;function Rt(e){const t=this.router,{routesNameSeparator:n}=en(t,this),o=e!=null?Nt(e)?Q(e):e:this.route;return o==null||!o.name?void 0:Qa(o.name).split(n)[0]}function Zo(e,t){var n;const o=Hn.call(this,e,t);return o==null?"":((n=o.redirectedFrom)==null?void 0:n.fullPath)||o.fullPath}function er(e,t){const n=Hn.call(this,e,t);return n??void 0}function im(e,t){const n=Hn.call(this,e,t);return n??void 0}function Hn(e,t){const n=this.router,o=this.i18n,r=t||Un(o),{routesNameSeparator:s,defaultLocale:a,defaultLocaleRouteNameSuffix:i,strategy:c,trailingSlash:u,prefixable:l}=en(n,this);let f;if(Pt(e))if(e[0]==="/"){const{pathname:E,search:L,hash:b}=Fh(e),p=Dh(L);f={path:E,query:p,hash:b}}else f={name:e};else f=e;let d=$n({},f);if((E=>"path"in E&&!!E.path&&!("name"in E))(d)){let E=null;try{E=rm(n,d,c,r)}catch{}const L=E,b=Rt.call(this,L);Pt(b)?(d={name:vs(b,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i}),params:L.params,query:L.query,hash:L.hash},d.state=L.state):(l({currentLocale:r,defaultLocale:a,strategy:c})&&(d.path=`/${r}${d.path}`),d.path=u?$h(d.path,!0):xh(d.path,!0))}else!d.name&&!("path"in d)&&(d.name=Rt.call(this,this.route)),d.name=vs(d.name,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i});try{const E=n.resolve(d);return(om(E)?E.name:E.route.name)?E:n.resolve(e)}catch(E){if(typeof E=="object"&&"type"in E&&E.type===1)return null}}const ei=e=>e;function cm(e,t){const n={};if(t===Ga)return n;const o=e.meta;return Nt(o)?o.value[t]||n:o[t]||n}function qt(e){var t,n;const o=this.route,r=Rt.call(this,o);if(!r)return"";const{switchLocalePathIntercepter:s,dynamicRouteParamsKey:a,dynamicParamsInterceptor:i}=en(this.router,this),u=nm(o),l=(n=(t=i==null?void 0:i())==null?void 0:t.value)==null?void 0:n[e],f=cm(o,a)[e]||{},d=l??f??{},g={name:r,params:{...u.params,...d}},E=$n({},u,g);let L=Zo.call(this,E,e);return L=s(L,e),L}function ti({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const o=this.router,r=this.i18n,{defaultDirection:s}=en(o,this),a={htmlAttrs:{},link:[],meta:[]};if(r.locales==null||r.baseUrl==null)return a;const i=Un(r),c=jh(r),u=Hh(c).find(d=>d.code===i)||{code:i},l=u.iso,f=u.dir||s;return e&&(a.htmlAttrs.dir=f),t&&i&&r.locales&&(l&&(a.htmlAttrs.lang=l),lm.call(this,c,Q(r.baseUrl),a.link,n),um.call(this,Q(r.baseUrl),a.link,a.meta,n,t),fm(u,l,a.meta,n),dm(c,l,a.meta,n)),a}function lm(e,t,n,o){const r=this.router,{defaultLocale:s,strategy:a}=en(r,this);if(a===Ka.NO_PREFIX)return;const i=new Map;for(const c of e){const u=c.iso;if(!u){qa("Locale ISO code is required to generate alternate link");continue}const[l,f]=u.split("-");l&&f&&(c.isCatchallLocale||!i.has(l))&&i.set(l,c),i.set(u,c)}for(const[c,u]of i.entries()){const l=qt.call(this,u.code);l&&n.push({[o]:`i18n-alt-${c}`,rel:"alternate",href:No(l,t),hreflang:c})}if(s){const c=qt.call(this,s);c&&n.push({[o]:"i18n-xd",rel:"alternate",href:No(c,t),hreflang:"x-default"})}}function um(e,t,n,o,r){const s=this.route,a=er.call(this,{...s,name:Rt.call(this,s)});if(a){let i=No(a.path,e);const c=Jo(r)&&r.canonicalQueries||[];if(c.length){const u=a.query,l=new URLSearchParams;for(const d of c)if(d in u){const g=u[d];Oh(g)?g.forEach(E=>l.append(d,E||"")):l.append(d,g||"")}const f=l.toString();f&&(i=`${i}?${f}`)}t.push({[o]:"i18n-can",rel:"canonical",href:i}),n.push({[o]:"i18n-og-url",property:"og:url",content:i})}}function fm(e,t,n,o){e&&t&&n.push({[o]:"i18n-og",property:"og:locale",content:ni(t)})}function dm(e,t,n,o){const r=e.filter(s=>{const a=s.iso;return a&&a!==t});if(r.length){const s=r.map(a=>({[o]:`i18n-og-alt-${a.iso}`,property:"og:locale:alternate",content:ni(a.iso)}));n.push(...s)}}function ni(e){return(e||"").replace(/-/g,"_")}function No(e,t){return e.match(/^https?:\/\//)?e:t+e}function pm(e,t){const{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u}=e;return function(...l){return Reflect.apply(t,{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u},l)}}function hm({router:e=vf(),route:t=bf(),i18n:n=xn(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:a=void 0,trailingSlash:i=void 0}={}){return pm({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:a,trailingSlash:i},qt)}const rt=[],Qn={},mm=[()=>F(()=>import("./i18n.config.c80ee712.js"),[],import.meta.url)],ce={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"./i18n.config.ts",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1,i18nModules:[]},ye={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1},pn={__normalizedLocales:[]},oi="@nuxtjs/i18n",gm=!1;async function _m(e,t){const n={messages:{}};for(const o of e){const{default:r}=await o(),s=typeof r=="function"?await t.runWithContext(async()=>await r()):r;qe(s,n)}return n}function ri(e,t){let n=[];if(re(e))n=e;else if(V(e)){const o=[...t,"default"];for(const r of o)e[r]&&(n=[...n,...e[r].filter(Boolean)])}else D(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function ym(e,t,n){const{defaultLocale:o,initialLocale:r,localeCodes:s,fallbackLocale:a,lazy:i,cacheMessages:c}=n,u=(f,d)=>{const g=e[f]||{};qe(d,g),e[f]=g};if(i&&a){const f=ri(a,[o,r]);await Promise.all(f.map(d=>bn({locale:d,setter:u,localeMessages:t},c)))}const l=i?[...new Set().add(o).add(r)]:s;return await Promise.all(l.map(f=>bn({locale:f,setter:u,localeMessages:t},c))),e}async function Em(e,{key:t,load:n},o){let r=null;try{const s=await n().then(a=>a.default||a);z(s)?r=await s(e):(r=s,r!=null&&o&&o.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function bn({locale:e,localeMessages:t,setter:n},o){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const a of r){let i=null;o&&o.has(a.key)&&a.cache?i=o.get(a.key):i=await Em(e,a,o),i!=null&&qe(i,s)}n(e,s)}function Lm(e){return oi+" "+e}function vm(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function tn(e,t,...n){const o=ft(e)?e.global:e,[r,s]=[o,o[t]];return Reflect.apply(s,r,[...n])}function bm(e,t){const n=ft(e)?e.global:e;return At(n)?n[t].value:(Zt(n)||dt(n)||vm(n),n[t])}function Ts(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wm(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function si(e,t){let n;return navigator.languages&&(n=Xh(e.__normalizedLocales,navigator.languages)),n}function tr(e,{useCookie:t=ye.detectBrowserLanguage.useCookie,cookieKey:n=ye.detectBrowserLanguage.cookieKey,localeCodes:o=[]}={}){if(!t)return;const s=Ta(n).value??void 0;if(s&&o.includes(s))return s}function Tm(e,t,{useCookie:n=ye.detectBrowserLanguage.useCookie,cookieKey:o=ye.detectBrowserLanguage.cookieKey,cookieDomain:r=ye.detectBrowserLanguage.cookieDomain,cookieSecure:s=ye.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:a=ye.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const i=new Date,c={expires:new Date(i.setDate(i.getDate()+365)),path:"/",sameSite:a?"none":"lax",secure:a||s};r&&(c.domain=r);const u=Ta(o,c);u.value=e}const ai={locale:"",stat:!1,reason:"unknown",from:"unknown"};function ii(e,t,n,o,r,s,a=[],i=""){const{strategy:c}=n,{ssg:u,callType:l,firstAccess:f}=s;if(c==="no_prefix"&&u==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!f)return{locale:c==="no_prefix"?i:"",stat:!1,reason:"first_access_only"};const{redirectOn:d,alwaysRedirect:g,useCookie:E,fallbackLocale:L}=n.detectBrowserLanguage,b=D(e)?e:e.path;if(c!=="no_prefix"){if(d==="root"){if(b!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(d==="no prefix"&&!g&&b.match(Oo(a)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let p="unknown",_,R;E&&(R=_=tr(t,{...n.detectBrowserLanguage,localeCodes:a}),p="cookie"),R||(R=si(o),p="navigator_or_header");const y=R||L;!R&&L&&(p="fallback");const P=i||r.locale;if(y&&(!E||g||!_)){if(c==="no_prefix")return{locale:y,stat:!0,from:p};if(l==="setup"&&y!==P)return{locale:y,stat:!0,from:p};if(g){const S=b==="/",C=d==="all",j=d==="no prefix"&&!b.match(Oo(a));if(S||C||j)return{locale:y,stat:!0,from:p}}}return u==="ssg_setup"&&y?{locale:y,stat:!0,from:p}:(p==="navigator_or_header"||p==="cookie")&&y?{locale:y,stat:!0,from:p}:{locale:"",stat:!1,reason:"not_found_match"}}function Pm(){let e;return e=window.location.host,e}function Rm(e){let t=Pm()||"";if(t){const n=e.find(o=>{if(o&&o.domain){let r=o.domain;return ut(o.domain)&&(r=o.domain.replace(/(http|https):\/\//,"")),r===t}return!1});if(n)return n.code;t=""}return t}function ci(e,t,n){var a,i;const o=n==null?void 0:n.$config.public.i18n,r=t.find(c=>c.code===e),s=((i=(a=o==null?void 0:o.locales)==null?void 0:a[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(ut(s,{strict:!0}))return s;let c;return c=new URL(window.location.origin).protocol,c+"//"+s}console.warn(Lm("Could not find domain name for locale "+e))}function Cm(e,t){return tn(e,"setLocale",t)}function km(e,t){return tn(e,"setLocaleCookie",t)}function Sm(e,t,n){return tn(e,"mergeLocaleMessage",t,n)}function Om(e,t,n,o,r){return tn(e,"onBeforeLanguageSwitch",t,n,o,r)}function Nm(e,t,n){return tn(e,"onLanguageSwitched",t,n)}async function Ps(e,t,n,o,{useCookie:r=ye.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:s=ye.skipSettingLocaleOnNavigate,differentDomains:a=ye.differentDomains,initial:i=!1,cacheMessages:c=void 0,lazy:u=!1}={}){let l=!1;const f=Un(o);if(!e)return[l,f];if(!i&&a)return[l,f];if(f===e)return[l,f];const d=await Om(o,f,e,i,t),g=Bh(o);if(d&&g&&g.includes(d)){if(d===f)return[l,f];e=d}const E=bm(o,"fallbackLocale");if(u){const L=(b,p)=>Sm(o,b,p);if(E){const b=ri(E,[e]);await Promise.all(b.map(p=>bn({locale:p,setter:L,localeMessages:n},c)))}await bn({locale:e,setter:L,localeMessages:n},c)}return s?[l,f]:(r&&km(o,e),za(o,e),await Nm(o,f,e),l=!0,[l,f])}function Rs(e,t,n,o,r,s,a,i,c=[]){const{strategy:u,defaultLocale:l,differentDomains:f}=o,d=z(s)?s():s,{locale:g,stat:E,reason:L,from:b}=o.detectBrowserLanguage?ii(e,t,o,pn,r,a,c,d):ai;if(L==="detect_ignore_on_ssg")return d;if((b==="navigator_or_header"||b==="cookie"||b==="fallback")&&g)return g;let p=g;return p||(f?p=Rm(i):u!=="no_prefix"?p=n(e):o.detectBrowserLanguage||(p=d)),!p&&o.detectBrowserLanguage&&o.detectBrowserLanguage.useCookie&&(p=tr(t,{...o.detectBrowserLanguage,localeCodes:c})||""),p||(p=l||""),p}function Cs({route:e,context:t,targetLocale:n,routeLocaleGetter:o,nuxtI18nOptions:r,calledWithRouting:s=!1}){const{strategy:a,differentDomains:i}=r;let c="";const{fullPath:u}=e.to;if(!i&&(s||a!=="no_prefix")&&o(e.to)!==n){const l=t.$switchLocalePath(n)||t.$localePath(u,n);D(l)&&l&&!oo(l,u)&&!l.startsWith("//")&&(c=e.from&&e.from.fullPath===l?"":l)}if((i||!0)&&o(e.to)!==n){const f=hm({i18n:Yt(t.$i18n),route:e.to,router:t.$router})(n);D(f)&&f&&!oo(f,u)&&!f.startsWith("//")&&(c=f)}return c}function Im(e){return V(e)&&"path"in e&&"statusCode"in e}const Am=()=>wa(oi+":redirect",()=>"");function ks(e,t){return ru(e,{redirectCode:t})}async function Ss(e,{status:t=302,rootRedirect:n=ye.rootRedirect,differentDomains:o=ye.differentDomains,skipSettingLocaleOnNavigate:r=ye.skipSettingLocaleOnNavigate,enableNavigate:s=!1}={}){const{i18n:a,locale:i,route:c}=e;let{redirectPath:u}=e;if(c.path==="/"&&n)return D(n)?u="/"+n:Im(n)&&(u="/"+n.path,t=n.statusCode),ks(u,t);if(!(r&&(a.__pendingLocale=i,a.__pendingLocalePromise=new Promise(l=>{a.__resolvePendingLocalePromise=l}),!s))){if(o){const l=Am();l.value&&l.value!==u&&(l.value="",window.location.assign(u))}else if(u)return ks(u,t)}}function Dm(e,t){Ts(e,"$i18n",t.global);for(const n of[["getRouteBaseName",Rt],["localePath",Zo],["localeRoute",er],["switchLocalePath",qt],["localeHead",ti]])Ts(e,"$"+n[0],wm(e,n[1]))}function Mm(e){return t=>Za(t)&&!e}function xm(e,t,n){return(o,r)=>{if(e){const s=ci(r,t,n);return s?It(s,o):o}else return ei(o)}}function $m(e,t){return n=>{var c,u;if(z(e))return e(n);const{differentDomains:o,localeCodeLoader:r,normalizedLocales:s}=t,a=z(r)?r():r;if(o&&a){const l=ci(a,s,t.nuxt);if(l)return l}const i=(u=(c=n.$config)==null?void 0:c.public)==null?void 0:u.i18n;return i!=null&&i.baseUrl?i.baseUrl:e}}const Jn=new Map,Fm=Ee({name:"i18n:plugin",parallel:gm,async setup(e){let t,n;const o=Be(),r=Bo(),{vueApp:s}=e,a=e,i=([t,n]=Ye(()=>_m(mm,a)),t=await t,n(),t),c=ce.detectBrowserLanguage&&ce.detectBrowserLanguage.useCookie,{__normalizedLocales:u}=pn,{defaultLocale:l,differentDomains:f,skipSettingLocaleOnNavigate:d,lazy:g,routesNameSeparator:E,defaultLocaleRouteNameSuffix:L,strategy:b,rootRedirect:p}=ce;ce.baseUrl=$m(ce.baseUrl,{differentDomains:f,nuxt:a,localeCodeLoader:l,normalizedLocales:u});const _=em(rt,E,L);i.messages=i.messages||{},i.fallbackLocale=i.fallbackLocale??!1,Jh(o,{...ce,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:xm(f,u,a),prefixable:Mm(f)});const R=k=>k||i.locale||"en-US";let y=Rs(r,e.ssrContext,_,ce,i,R(l),{ssg:b==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0},u,rt);i.messages=([t,n]=Ye(()=>ym(i.messages,Qn,{...ce,initialLocale:y,fallbackLocale:i.fallbackLocale,localeCodes:rt,cacheMessages:Jn})),t=await t,n(),t),y=R(y);const P=fh({...i,locale:y});let S=!0;const C=k=>y!==k&&S;let j=!0;const X=()=>j;X()&&b==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:k,stat:x,reason:Y,from:se}=ce.detectBrowserLanguage?ii(r,a,ce,pn,i,{ssg:"ssg_setup",callType:"setup",firstAccess:!0},rt,y):ai;Cm(P,k),j=!1}),Yh(P,{locales:ce.locales,localeCodes:rt,baseUrl:ce.baseUrl,context:a,hooks:{onExtendComposer(k){k.strategy=b,k.localeProperties=ee(()=>u.find(x=>x.code===k.locale.value)||{code:k.locale.value}),k.setLocale=async x=>{const Y=C(x),[se]=await Ps(x,a,Qn,P,{useCookie:c,differentDomains:f,initial:Y,cacheMessages:Jn,skipSettingLocaleOnNavigate:d,lazy:g});se&&Y&&(S=!1);const oe=Cs({route:{to:r},context:a,targetLocale:x,routeLocaleGetter:_,nuxtI18nOptions:ce});await Ss({i18n:P,redirectPath:oe,locale:x,route:r},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p,enableNavigate:!0})},k.differentDomains=f,k.defaultLocale=l,k.getBrowserLocale=()=>si(pn,e.ssrContext),k.getLocaleCookie=()=>tr(e.ssrContext,{...ce.detectBrowserLanguage,localeCodes:rt}),k.setLocaleCookie=x=>Tm(x,e.ssrContext,ce.detectBrowserLanguage||void 0),k.onBeforeLanguageSwitch=(x,Y,se,oe)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:x,newLocale:Y,initialSetup:se,context:oe}),k.onLanguageSwitched=(x,Y)=>e.callHook("i18n:localeSwitched",{oldLocale:x,newLocale:Y}),k.finalizePendingLocaleChange=async()=>{P.__pendingLocale&&(za(P,P.__pendingLocale),P.__resolvePendingLocalePromise&&await P.__resolvePendingLocalePromise(),P.__pendingLocale=void 0)},k.waitForPendingLocaleChange=async()=>{P.__pendingLocale&&P.__pendingLocalePromise&&await P.__pendingLocalePromise}},onExtendExportedGlobal(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async x=>Reflect.apply(k.setLocale,k,[x])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return x=>Reflect.apply(k.setLocaleCookie,k,[x])}},onBeforeLanguageSwitch:{get(){return(x,Y,se,oe)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[x,Y,se,oe])}},onLanguageSwitched:{get(){return(x,Y)=>Reflect.apply(k.onLanguageSwitched,k,[x,Y])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}},onExtendVueI18n(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async x=>Reflect.apply(k.setLocale,k,[x])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return x=>Reflect.apply(k.setLocaleCookie,k,[x])}},onBeforeLanguageSwitch:{get(){return(x,Y,se,oe)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[x,Y,se,oe])}},onLanguageSwitched:{get(){return(x,Y)=>Reflect.apply(k.onLanguageSwitched,k,[x,Y])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}}}});const ae={__composerExtend:k=>{const x=Yt(P);return k.strategy=x.strategy,k.localeProperties=ee(()=>x.localeProperties.value),k.setLocale=x.setLocale,k.differentDomains=x.differentDomains,k.getBrowserLocale=x.getBrowserLocale,k.getLocaleCookie=x.getLocaleCookie,k.setLocaleCookie=x.setLocaleCookie,k.onBeforeLanguageSwitch=x.onBeforeLanguageSwitch,k.onLanguageSwitched=x.onLanguageSwitched,k.finalizePendingLocaleChange=x.finalizePendingLocaleChange,k.waitForPendingLocaleChange=x.waitForPendingLocaleChange,()=>{}}};s.use(P,ae),Dm(a,P);let fe=0;nu("locale-changing",async(k,x)=>{let Y,se;const oe=Rs(k,e.ssrContext,_,ce,i,()=>Un(P)||R(l),{ssg:X()&&b==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:fe===0},u,rt),Le=C(oe),[Ae]=([Y,se]=Ye(()=>Ps(oe,a,Qn,P,{useCookie:c,differentDomains:f,initial:Le,cacheMessages:Jn,skipSettingLocaleOnNavigate:d,lazy:g})),Y=await Y,se(),Y);Ae&&Le&&(S=!1);const he=Cs({route:{to:k,from:x},context:a,targetLocale:oe,routeLocaleGetter:ce.strategy==="no_prefix"?()=>oe:_,nuxtI18nOptions:ce,calledWithRouting:!0});return fe++,Ss({i18n:P,redirectPath:he,locale:oe,route:k},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p})},{global:!0})}}),Um="__NUXT_COLOR_MODE__",Pg="ColorScheme",Hm="nuxt-color-mode",Fe=window[Um]||{},jm=Ee(e=>{const t=wa("color-mode",()=>it({preference:Fe.preference,value:Fe.value,unknown:!1,forced:!1})).value;Be().afterEach(r=>{const s=r.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"?Fe.getColorScheme():t.preference)});let n;function o(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Fe.getColorScheme())}))}je(()=>t.preference,r=>{var s;t.forced||(r==="system"?(t.value=Fe.getColorScheme(),o()):t.value=r,(s=window.localStorage)==null||s.setItem(Hm,r))},{immediate:!0}),je(()=>t.value,(r,s)=>{Fe.removeColorScheme(s),Fe.addColorScheme(r)}),t.preference==="system"&&o(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Fe.preference,t.value=Fe.value,t.unknown=!1)}),e.provide("colorMode",t)}),li=new Set,_e=new WeakMap,Ct=new WeakMap,ct=new WeakMap,Io=new WeakMap,Bm=new WeakMap,kt=new WeakMap,wn=new WeakMap,$t=new WeakSet;let ze,nr=0,or=0;const He="__aa_tgt",zt="__aa_del",Tn="__aa_new",Vm=e=>{const t=Ym(e);t&&t.forEach(n=>qm(n))},Wm=e=>{e.forEach(t=>{t.target===ze&&Gm(),_e.has(t.target)&&pt(t.target)})};function Km(e){const t=Io.get(e);t==null||t.disconnect();let n=_e.get(e),o=0;const r=5;n||(n=St(e),_e.set(e,n));const{offsetWidth:s,offsetHeight:a}=ze,c=[n.top-r,s-(n.left+r+n.width),a-(n.top+r+n.height),n.left-r].map(l=>`${-1*Math.floor(l)}px`).join(" "),u=new IntersectionObserver(()=>{++o>1&&pt(e)},{root:ze,threshold:1,rootMargin:c});u.observe(e),Io.set(e,u)}function pt(e){clearTimeout(wn.get(e));const t=jn(e),n=Qt(t)?500:t.duration;wn.set(e,setTimeout(async()=>{const o=ct.get(e);try{await(o==null?void 0:o.finished),_e.set(e,St(e)),Km(e)}catch{}},n))}function Gm(){clearTimeout(wn.get(ze)),wn.set(ze,setTimeout(()=>{li.forEach(e=>pi(e,t=>ui(()=>pt(t))))},100))}function Xm(e){setTimeout(()=>{Bm.set(e,setInterval(()=>ui(pt.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function ui(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let Ao,Lt;typeof window<"u"&&(ze=document.documentElement,Ao=new MutationObserver(Vm),Lt=new ResizeObserver(Wm),window.addEventListener("scroll",()=>{or=window.scrollY,nr=window.scrollX}),Lt.observe(ze));function Ym(e){return e.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:e.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Zn(r.target),!o.has(r.target)){o.add(r.target);for(let s=0;sn(e,kt.has(e)));for(let n=0;nr(o,kt.has(o)))}}function sr(e){return Array.isArray(e)?e:[e]}function Qt(e){return typeof e=="function"}function Qm(e){const t=_e.get(e),n=St(e);if(!rr(e))return _e.set(e,n);let o;if(!t)return;const r=jn(e);if(typeof r!="function"){const s=t.left-n.left,a=t.top-n.top,[i,c,u,l]=fi(e,t,n),f={transform:`translate(${s}px, ${a}px)`},d={transform:"translate(0, 0)"};i!==c&&(f.width=`${i}px`,d.width=`${c}px`),u!==l&&(f.height=`${u}px`,d.height=`${l}px`),o=e.animate([f,d],{duration:r.duration,easing:r.easing})}else{const[s]=sr(r(e,"remain",t,n));o=new Animation(s),o.play()}ct.set(e,o),_e.set(e,n),o.addEventListener("finish",pt.bind(null,e))}function Os(e){Tn in e&&delete e[Tn];const t=St(e);_e.set(e,t);const n=jn(e);if(!rr(e))return;let o;if(typeof n!="function")o=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:n.duration*1.5,easing:"ease-in"});else{const[r]=sr(n(e,"add",t));o=new Animation(r),o.play()}ct.set(e,o),o.addEventListener("finish",pt.bind(null,e))}function Ns(e,t){var n;e.remove(),_e.delete(e),Ct.delete(e),ct.delete(e),(n=Io.get(e))===null||n===void 0||n.disconnect(),setTimeout(()=>{if(zt in e&&delete e[zt],Object.defineProperty(e,Tn,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(const o in t)e.style[o]=""},0)}function Jm(e){var t;if(!Ct.has(e)||!_e.has(e))return;const[n,o]=Ct.get(e);Object.defineProperty(e,zt,{value:!0,configurable:!0});const r=window.scrollX,s=window.scrollY;if(o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(e,o):n&&n.parentNode?n.parentNode.appendChild(e):(t=di(e))===null||t===void 0||t.appendChild(e),!rr(e))return Ns(e);const[a,i,c,u]=eg(e),l=jn(e),f=_e.get(e);(r!==nr||s!==or)&&Zm(e,r,s,l);let d,g={position:"absolute",top:`${a}px`,left:`${i}px`,width:`${c}px`,height:`${u}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!Qt(l))Object.assign(e.style,g),d=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"});else{const[E,L]=sr(l(e,"remove",f));(L==null?void 0:L.styleReset)!==!1&&(g=(L==null?void 0:L.styleReset)||g,Object.assign(e.style,g)),d=new Animation(E),d.play()}ct.set(e,d),d.addEventListener("finish",Ns.bind(null,e,g))}function Zm(e,t,n,o){const r=nr-t,s=or-n,a=document.documentElement.style.scrollBehavior;if(getComputedStyle(ze).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+r,window.scrollY+s),!e.parentElement)return;const c=e.parentElement;let u=c.clientHeight,l=c.clientWidth;const f=performance.now();function d(){requestAnimationFrame(()=>{if(!Qt(o)){const g=u-c.clientHeight,E=l-c.clientWidth;f+o.duration>performance.now()?(window.scrollTo({left:window.scrollX-E,top:window.scrollY-g}),u=c.clientHeight,l=c.clientWidth,d()):document.documentElement.style.scrollBehavior=a}})}d()}function eg(e){const t=_e.get(e),[n,,o]=fi(e,t,St(e));let r=e.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const s=getComputedStyle(r),a=_e.get(r)||St(r),i=Math.round(t.top-a.top)-Oe(s.borderTopWidth),c=Math.round(t.left-a.left)-Oe(s.borderLeftWidth);return[i,c,n,o]}function tg(e,t={}){return Ao&&Lt&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!Qt(t)&&!t.disrespectUserMotionPreference||($t.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),pi(e,pt,Xm,r=>Lt==null?void 0:Lt.observe(r)),Qt(t)?kt.set(e,t):kt.set(e,{duration:250,easing:"ease-in-out",...t}),Ao.observe(e,{childList:!0}),li.add(e))),Object.freeze({parent:e,enable:()=>{$t.add(e)},disable:()=>{$t.delete(e)},isEnabled:()=>$t.has(e)})}const ng={mounted:(e,t)=>{tg(e,t.value||{})},getSSRProps:()=>({})},og=ng,rg=Ee(e=>{e.vueApp.directive("auto-animate",og)}),sg=Ee({name:"nuxt:chunk-reload",setup(e){const t=Be(),n=Cn(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:s})=>{o.add(s)});function r(s){const i="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:It(n.app.baseURL,s.fullPath);Rd({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((s,a)=>{o.has(s)&&r(a)})}}),ag=Ee(e=>{let t;async function n(){const o=await On();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const r=await $fetch(Fo("builds/latest.json"));r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}ba(()=>{t=setTimeout(n,1e3*60*60)})}),ig=[mu,_u,Nf,If,yd,Ed,Sd,Od,Fm,jm,rg,sg,ag],cg=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),Do=(e,t)=>{const n=e.route.matched.find(r=>{var s;return((s=r.components)==null?void 0:s.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&cg(e.route,n));return typeof o=="function"?o(e.route):o},lg=(e,t)=>({default:()=>e?Ie(ki,e===!0?{}:e,t):t}),ug=lt({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,o={};for(const r in e.route)Object.defineProperty(o,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Ft(kn,Pn(o)),()=>Ie(e.vnode,{ref:e.vnodeRef})}}),fg=lt({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 o=te(),r=pe(),s=be(kn,null);n({pageRef:r});const a=be(Zl,null);let i;const c=o.deferHydration();return()=>Ie(va,{name:e.name,route:e.route,...t},{default:u=>{const l=hg(s,u.route,u.Component),f=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(i&&!f)return i;c();return}if(i&&a&&!a.isCurrent(u.route))return i;if(l&&s&&(!a||a!=null&&a.isCurrent(s)))return f?i:null;const d=Do(u,e.pageKey),g=!!(e.transition??u.route.meta.pageTransition??po),E=g&&pg([e.transition,u.route.meta.pageTransition,po,{onAfterLeave:()=>{o.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),L=e.keepalive??u.route.meta.keepalive??cu;return i=wf(Si,g&&E,lg(L,Ie(Hs,{suspensible:!0,onPending:()=>o.callHook("page:start",u.Component),onResolve:()=>{Ot(()=>o.callHook("page:finish",u.Component).finally(c))}},{default:()=>{const b=Ie(ug,{key:d||void 0,vnode:u.Component,route:u.route,renderKey:d||void 0,trackRootNodes:g,vnodeRef:r});return L&&(b.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),b}}))).default(),i}})}});function dg(e){return Array.isArray(e)?e:e?[e]:[]}function pg(e){const t=e.map(n=>({...n,onAfterLeave:dg(n.onAfterLeave)}));return ra(...t)}function hg(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>{var s;return((s=r.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((r,s)=>{var a,i,c;return((a=r.components)==null?void 0:a.default)!==((c=(i=e.matched[s])==null?void 0:i.components)==null?void 0:c.default)})||n&&Do({route:t,Component:n})!==Do({route:e,Component:n})}const mg=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},gg={};function _g(e,t){const n=fg;return at(),Oi("div",null,[Us(n)])}const yg=mg(gg,[["render",_g]]),Eg={__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 o=Number(n.statusCode||500),r=o===404,s=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),i=void 0,c=U(()=>F(()=>import("./error-404.523dfcc1.js"),["./error-404.523dfcc1.js","./nuxt-link.963ae6e7.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./error-404.95c28eb4.css"],import.meta.url).then(f=>f.default||f)),u=U(()=>F(()=>import("./error-500.7fe64d5b.js"),["./error-500.7fe64d5b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./error-500.e798523c.css"],import.meta.url).then(f=>f.default||f)),l=r?c:u;return(f,d)=>(at(),gt(Q(l),Ni(Ii({statusCode:Q(o),statusMessage:Q(s),description:Q(a),stack:Q(i)})),null,16))}},Is={__name:"nuxt-root",setup(e){const t=()=>null,n=te(),o=n.deferHydration(),r=!1;Ft(kn,Bo()),n.hooks.callHookWith(i=>i.map(c=>c()),"vue:setup");const s=Sn();Ai((i,c,u)=>{if(n.hooks.callHook("vue:error",i,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),tu(i)&&(i.fatal||i.unhandled))return n.runWithContext(()=>Et(i)),!1});const a=!1;return(i,c)=>(at(),gt(Hs,{onResolve:Q(o)},{default:Di(()=>[Q(s)?(at(),gt(Q(Eg),{key:0,error:Q(s)},null,8,["error"])):Q(a)?(at(),gt(Q(t),{key:1,context:Q(a)},null,8,["context"])):Q(r)?(at(),gt(Mi(Q(r)),{key:2})):(at(),gt(Q(yg),{key:3}))]),_:1},8,["onResolve"]))}};let As;{let e;As=async function(){var a,i;if(e)return e;const o=!!((a=window.__NUXT__)!=null&&a.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?xi(Is):$i(Is),r=jc({vueApp:o});async function s(c){await r.callHook("app:error",c),r.payload.error=r.payload.error||c}o.config.errorHandler=s;try{await Vc(r,ig)}catch(c){s(c)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(lu),await r.hooks.callHook("app:mounted",o),await Ot()}catch(c){s(c)}return o.config.errorHandler===s&&(o.config.errorHandler=void 0),o},e=As().catch(t=>{console.error("Error while mounting app:",t)})}export{iu as A,mg as _,F as a,wa as b,Cn as c,Pg as d,xn as e,Bo as f,wg as g,te as h,jo as i,rc as j,ar as k,It as l,js as m,Vt as n,Ta as o,Be as p,ut as q,ba as r,Br as s,Tg as t,Fl as u,Rn as v,no as w,Yi as x,bg as y,ru as z}; diff --git a/_nuxt/entry.51343360.css b/_nuxt/entry.51343360.css new file mode 100644 index 0000000..3e42092 --- /dev/null +++ b/_nuxt/entry.51343360.css @@ -0,0 +1 @@ +/*! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;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;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.z-10{z-index:10}.z-40{z-index:40}.order-1{order:1}.order-2{order:2}.mx-auto{margin-left:auto;margin-right:auto}.mr-4{margin-right:1rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-16{height:4rem}.h-3\/4{height:75%}.h-full{height:100%}.w-12{width:3rem}.w-16{width:4rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.basis-full{flex-basis:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-4{column-gap:1rem}.gap-y-12{row-gap:3rem}.gap-y-4{row-gap:1rem}.overflow-y-auto{overflow-y:auto}.overflow-y-clip{overflow-y:clip}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l-sm{border-bottom-left-radius:.125rem;border-top-left-radius:.125rem}.border-l-4{border-left-width:4px}.border-none{border-style:none}.border-cyan-700{--tw-border-opacity:1;border-color:#0e7490;border-color:rgb(14 116 144/var(--tw-border-opacity))}.bg-emerald-300{--tw-bg-opacity:1;background-color:#6ee7b7;background-color:rgb(110 231 183/var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:#eef2ff;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity:1;background-color:#0f766e;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-white{background-color:#fff;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-opacity-100,.bg-white{--tw-bg-opacity:1}.bg-opacity-20{--tw-bg-opacity:.2}.bg-opacity-30{--tw-bg-opacity:.3}.bg-opacity-70{--tw-bg-opacity:.7}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pr-2{padding-right:.5rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-emerald-700{--tw-text-opacity:1;color:#047857;color:rgb(4 120 87/var(--tw-text-opacity))}.text-teal-50{--tw-text-opacity:1;color:#f0fdfa;color:rgb(240 253 250/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:#0d9488;color:rgb(13 148 136/var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity:1;color:#0f766e;color:rgb(15 118 110/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-60{opacity:.6}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-teal-950{--tw-shadow-color:#042f2e;--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-teal-50{outline-color:#f0fdfa}.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) invert(100%) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) sepia(100%) var(--tw-drop-shadow)}.filter,.sepia{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-1000{transition-duration:1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-emerald-500:hover{--tw-bg-opacity:1;background-color:#10b981;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity:1;background-color:#c7d2fe;background-color:rgb(199 210 254/var(--tw-bg-opacity))}.hover\:bg-teal-500:hover{--tw-bg-opacity:1;background-color:#14b8a6;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity:1}.hover\:text-emerald-50:hover{--tw-text-opacity:1;color:#ecfdf5;color:rgb(236 253 245/var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:#fff;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}:is(.dark .dark\:bg-black){--tw-bg-opacity:1;background-color:#000;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\:bg-blackrussian){--tw-bg-opacity:1;background-color:#030426;background-color:rgb(3 4 38/var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity:1;background-color:#164e63;background-color:rgb(22 78 99/var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity:1;background-color:#312e81;background-color:rgb(49 46 129/var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-20){--tw-bg-opacity:.2}:is(.dark .dark\:bg-opacity-60){--tw-bg-opacity:.6}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity:.8}:is(.dark .dark\:text-cyan-200){--tw-text-opacity:1;color:#a5f3fc;color:rgb(165 243 252/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-400){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity:1;color:#06b6d4;color:rgb(6 182 212/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity:1;color:#155e75;color:rgb(21 94 117/var(--tw-text-opacity))}:is(.dark .dark\:shadow-black){--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored)}:is(.dark .dark\:hover\:bg-cyan-600:hover){--tw-bg-opacity:1;background-color:#0891b2;background-color:rgb(8 145 178/var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity:1;background-color:#3730a3;background-color:rgb(55 48 163/var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-cyan-950):hover{--tw-bg-opacity:1;background-color:#083344;background-color:rgb(8 51 68/var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-opacity-100:hover){--tw-bg-opacity:1}:is(.dark .dark\:hover\:text-cyan-100:hover){--tw-text-opacity:1;color:#cffafe;color:rgb(207 250 254/var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-cyan-400:hover){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}@media (min-width:640px){.sm\:order-1{order:1}.sm\:order-2{order:2}.sm\:flex-row{flex-direction:row}.sm\:justify-between{justify-content:space-between}.sm\:px-20{padding-left:5rem;padding-right:5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:768px){.md\:inline{display:inline}.md\:basis-1\/2{flex-basis:50%}.md\:px-28{padding-left:7rem;padding-right:7rem}.md\:pt-36{padding-top:9rem}}@media (min-width:1024px){.lg\:px-36{padding-left:9rem;padding-right:9rem}}@media (min-width:1280px){.xl\:px-44{padding-left:11rem;padding-right:11rem}}@media (min-width:1536px){.\32xl\:px-52{padding-left:13rem;padding-right:13rem}}*{font-family:Inter,sans-serif,serif,Arial,Helvetica}h2{font-size:1.25rem;font-weight:500;line-height:1.75rem;margin-top:1rem}h2:before{content:"> "}ul{list-style-position:inside}li ul{padding-left:1rem}li:before{content:"- "}h2 a{text-decoration-line:none!important}h2 a:before{content:"- "}:root{--track-color-dark:#083344;--thumb-color-dark:#164e63;--track-color:#f0fdfa;--thumb-color:#5eead4}.dark body{scrollbar-color:theme(colors.cyan.95) theme(colors.cyan.9);scrollbar-color:var(--track-color-dark) var(--thumb-color-dark)}.dark body,body{scrollbar-width:thin}body{scrollbar-color:theme(colors.teal.5) theme(colors.teal.3);scrollbar-color:var(--track-color) var(--thumb-color)}::-webkit-scrollbar{cursor:pointer;width:.5rem}::-webkit-scrollbar-track{background-color:theme(colors.teal.5);background-color:var(--track-color);border-radius:.25rem}::-webkit-scrollbar-thumb{background-color:theme(colors.teal.3);background-color:var(--thumb-color);border-radius:.25rem}.dark ::-webkit-scrollbar-track{background-color:theme(colors.cyan.95);background-color:var(--track-color-dark);border-radius:.25rem}.dark ::-webkit-scrollbar-thumb{background-color:theme(colors.cyan.9);background-color:var(--thumb-color-dark);border-radius:.25rem}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-1.ef323d84.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-2.636d13aa.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-3.ab526cb3.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-4.150dc439.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-5.547ad9fd.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-6.941e03c6.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-7.dd05e326.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd} diff --git a/_nuxt/entry.6b9d63b9.css b/_nuxt/entry.6b9d63b9.css deleted file mode 100644 index 4ad2a95..0000000 --- a/_nuxt/entry.6b9d63b9.css +++ /dev/null @@ -1 +0,0 @@ -/*! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;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;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.z-10{z-index:10}.z-40{z-index:40}.order-1{order:1}.order-2{order:2}.mx-auto{margin-left:auto;margin-right:auto}.mr-4{margin-right:1rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-16{height:4rem}.h-3\/4{height:75%}.h-full{height:100%}.w-12{width:3rem}.w-16{width:4rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.basis-full{flex-basis:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-4{column-gap:1rem}.gap-y-12{row-gap:3rem}.gap-y-4{row-gap:1rem}.overflow-y-auto{overflow-y:auto}.overflow-y-clip{overflow-y:clip}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l-sm{border-bottom-left-radius:.125rem;border-top-left-radius:.125rem}.border-l-4{border-left-width:4px}.border-none{border-style:none}.border-cyan-700{--tw-border-opacity:1;border-color:#0e7490;border-color:rgb(14 116 144/var(--tw-border-opacity))}.bg-emerald-300{--tw-bg-opacity:1;background-color:#6ee7b7;background-color:rgb(110 231 183/var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:#eef2ff;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity:1;background-color:#0f766e;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-white{background-color:#fff;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-opacity-100,.bg-white{--tw-bg-opacity:1}.bg-opacity-20{--tw-bg-opacity:.2}.bg-opacity-30{--tw-bg-opacity:.3}.bg-opacity-70{--tw-bg-opacity:.7}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pr-2{padding-right:.5rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-emerald-700{--tw-text-opacity:1;color:#047857;color:rgb(4 120 87/var(--tw-text-opacity))}.text-teal-50{--tw-text-opacity:1;color:#f0fdfa;color:rgb(240 253 250/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:#0d9488;color:rgb(13 148 136/var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity:1;color:#0f766e;color:rgb(15 118 110/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-60{opacity:.6}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-teal-950{--tw-shadow-color:#042f2e;--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-teal-50{outline-color:#f0fdfa}.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) invert(100%) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) sepia(100%) var(--tw-drop-shadow)}.filter,.sepia{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-1000{transition-duration:1s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-emerald-500:hover{--tw-bg-opacity:1;background-color:#10b981;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity:1;background-color:#c7d2fe;background-color:rgb(199 210 254/var(--tw-bg-opacity))}.hover\:bg-teal-500:hover{--tw-bg-opacity:1;background-color:#14b8a6;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity:1}.hover\:text-emerald-50:hover{--tw-text-opacity:1;color:#ecfdf5;color:rgb(236 253 245/var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:#fff;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}:is(.dark .dark\:bg-black){--tw-bg-opacity:1;background-color:#000;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\:bg-blackrussian){--tw-bg-opacity:1;background-color:#030426;background-color:rgb(3 4 38/var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity:1;background-color:#164e63;background-color:rgb(22 78 99/var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity:1;background-color:#312e81;background-color:rgb(49 46 129/var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-20){--tw-bg-opacity:.2}:is(.dark .dark\:bg-opacity-60){--tw-bg-opacity:.6}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity:.8}:is(.dark .dark\:text-cyan-200){--tw-text-opacity:1;color:#a5f3fc;color:rgb(165 243 252/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-400){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity:1;color:#06b6d4;color:rgb(6 182 212/var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity:1;color:#155e75;color:rgb(21 94 117/var(--tw-text-opacity))}:is(.dark .dark\:shadow-black){--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored)}:is(.dark .dark\:hover\:bg-cyan-600:hover){--tw-bg-opacity:1;background-color:#0891b2;background-color:rgb(8 145 178/var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity:1;background-color:#3730a3;background-color:rgb(55 48 163/var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-cyan-950):hover{--tw-bg-opacity:1;background-color:#083344;background-color:rgb(8 51 68/var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-opacity-100:hover){--tw-bg-opacity:1}:is(.dark .dark\:hover\:text-cyan-100:hover){--tw-text-opacity:1;color:#cffafe;color:rgb(207 250 254/var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-cyan-400:hover){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}@media (min-width:640px){.sm\:order-1{order:1}.sm\:order-2{order:2}.sm\:flex-row{flex-direction:row}.sm\:justify-between{justify-content:space-between}.sm\:px-20{padding-left:5rem;padding-right:5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:768px){.md\:inline{display:inline}.md\:basis-1\/2{flex-basis:50%}.md\:px-28{padding-left:7rem;padding-right:7rem}.md\:pt-36{padding-top:9rem}}@media (min-width:1024px){.lg\:px-36{padding-left:9rem;padding-right:9rem}}@media (min-width:1280px){.xl\:px-44{padding-left:11rem;padding-right:11rem}}@media (min-width:1536px){.\32xl\:px-52{padding-left:13rem;padding-right:13rem}}*{font-family:Inter,sans-serif,serif,Arial,Helvetica}h2{font-size:1.25rem;font-weight:500;line-height:1.75rem;margin-top:1rem}h2:before{content:"> "}ul{list-style-position:inside}li ul{padding-left:1rem}li:before{content:"- "}h2 a{text-decoration-line:none!important}h2 a:before{content:"- "}:root{--track-color-dark:#083344;--thumb-color-dark:#164e63;--track-color:#f0fdfa;--thumb-color:#5eead4}.dark body{scrollbar-color:theme(colors.cyan.95) theme(colors.cyan.9);scrollbar-color:var(--track-color-dark) var(--thumb-color-dark)}.dark body,body{scrollbar-width:thin}body{scrollbar-color:theme(colors.teal.5) theme(colors.teal.3);scrollbar-color:var(--track-color) var(--thumb-color)}::-webkit-scrollbar{cursor:pointer;width:.5rem}::-webkit-scrollbar-track{background-color:theme(colors.teal.5);background-color:var(--track-color);border-radius:.25rem}::-webkit-scrollbar-thumb{background-color:theme(colors.teal.3);background-color:var(--thumb-color);border-radius:.25rem}.dark ::-webkit-scrollbar-track{background-color:theme(colors.cyan.95);background-color:var(--track-color-dark);border-radius:.25rem}.dark ::-webkit-scrollbar-thumb{background-color:theme(colors.cyan.9);background-color:var(--thumb-color-dark);border-radius:.25rem}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-1.ef323d84.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-2.636d13aa.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-3.ab526cb3.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-4.150dc439.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-5.547ad9fd.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-6.941e03c6.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(./Inter-400-7.dd05e326.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd} diff --git a/_nuxt/entry.fa10d76e.js b/_nuxt/entry.fa10d76e.js deleted file mode 100644 index b3ca102..0000000 --- a/_nuxt/entry.fa10d76e.js +++ /dev/null @@ -1,29 +0,0 @@ -import{e as Mo,r as at,h as Ds,g as Jt,n as Ot,i as Ee,u as J,v as mi,a as fe,w as gi,b as Ue,o as _i,c as yi,d as Ei,t as Ms,s as Vt,f as wn,j as ct,k as te,l as Ne,p as Ft,m as Li,q as U,x as Nt,y as xs,z as $s,A as vi,B as bi,C as wi,D as Ti,F as Fs,E as Us,T as Pi,K as Ri,S as Hs,G as Ci,H as st,I as ki,J as gt,L as Si,M as Oi,N as Ni,O as Ii,P as Ai,Q as Di,R as Mi}from"./swiper-vue.799c8af8.js";const xi=/#/g,$i=/&/g,Fi=/=/g,xo=/\+/g,Ui=/%5e/gi,Hi=/%60/gi,ji=/%7c/gi,Vi=/%20/gi;function Bi(e){return encodeURI(""+e).replace(ji,"|")}function Zn(e){return Bi(typeof e=="string"?e:JSON.stringify(e)).replace(xo,"%2B").replace(Vi,"+").replace(xi,"%23").replace($i,"%26").replace(Hi,"`").replace(Ui,"^")}function jn(e){return Zn(e).replace(Fi,"%3D")}function dn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Wi(e){return dn(e.replace(xo," "))}function Ki(e){return dn(e.replace(xo," "))}function Gi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Wi(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=Ki(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}function Xi(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${jn(e)}=${Zn(n)}`).join("&"):`${jn(e)}=${Zn(t)}`:jn(e)}function Yi(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Xi(t,e[t])).filter(Boolean).join("&")}const qi=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,zi=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Qi=/^([/\\]\s*){2,}[^/\\]/;function lt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?qi.test(e):zi.test(e)||(t.acceptRelative?Qi.test(e):!1)}const Ji=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Zi(e){return!!e&&Ji.test(e)}const ec=/\/$|\/\?|\/#/;function eo(e="",t){return t?ec.test(e):e.endsWith("/")}function js(e="",t){if(!t)return(eo(e)?e.slice(0,-1):e)||"/";if(!eo(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[s,...a]=n.split("?");return(s.slice(0,-1)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function to(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(eo(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[s,...a]=n.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function tc(e=""){return e.startsWith("/")}function ar(e=""){return tc(e)?e:"/"+e}function nc(e,t){if(Vs(t)||lt(e))return e;const n=js(t);return e.startsWith(n)?e:It(n,e)}function ir(e,t){if(Vs(t))return e;const n=js(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function $o(e,t){const n=Tn(e),o={...Gi(n.search),...t};return n.search=Yi(o),sc(n)}function Vs(e){return!e||e==="/"}function oc(e){return e&&e!=="/"}const rc=/^\.?\//;function It(e,...t){let n=e||"";for(const o of t.filter(r=>oc(r)))if(n){const r=o.replace(rc,"");n=to(n)+r}else n=o;return n}function no(e,t,n={}){return n.trailingSlash||(e=to(e),t=to(t)),n.leadingSlash||(e=ar(e),t=ar(t)),n.encoding||(e=dn(e),t=dn(t)),e===t}function Tn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!lt(e,{acceptRelative:!0}))return t?Tn(t+e):cr(e);const[,o="",r,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",i=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:l}=cr(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:c,search:u,hash:l}}function cr(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function sc(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+r+s+t+n+o}const ac=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},pn=ac().app,ic=()=>pn.baseURL,cc=()=>pn.buildAssetsDir,Fo=(...e)=>It(Bs(),cc(),...e),Bs=(...e)=>{const t=pn.cdnURL||pn.baseURL;return e.length?It(t,...e):t};globalThis.__buildAssetsURL=Fo,globalThis.__publicAssetsURL=Bs;const lc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,uc=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,fc=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function dc(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){pc(e);return}return t}function pc(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Bt(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!fc.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(lc.test(e)||uc.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,dc)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}class hc extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function mc(e){var c,u,l,f,d;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${r}: ${s}${t?` ${t}`:""}`,i=new hc(a,e.error?{cause:e.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(i,g,{get(){return e[g]}});for(const[g,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,g,{get(){return e.response&&e.response[y]}});return i}const gc=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function lr(e="GET"){return gc.has(e.toUpperCase())}function _c(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const yc=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Ec=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Lc(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Ec.test(t)?"json":yc.has(t)||t.startsWith("text/")?"text":"blob"}function vc(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[r,s]of new n((e==null?void 0:e.headers)||{}))o.headers.set(r,s)}return o}const bc=new Set([408,409,425,429,500,502,503,504]),wc=new Set([101,204,205,304]);function Ws(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(i){const c=i.error&&i.error.name==="AbortError"&&!i.options.timeout||!1;if(i.options.retry!==!1&&!c){let l;typeof i.options.retry=="number"?l=i.options.retry:l=lr(i.options.method)?0:1;const f=i.response&&i.response.status||500;if(l>0&&(Array.isArray(i.options.retryStatusCodes)?i.options.retryStatusCodes.includes(f):bc.has(f))){const d=i.options.retryDelay||0;return d>0&&await new Promise(g=>setTimeout(g,d)),s(i.request,{...i.options,retry:l-1,timeout:i.options.timeout})}}const u=mc(i);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){var d;const l={request:c,options:vc(u,e.defaults,n),response:void 0,error:void 0};if(l.options.method=(d=l.options.method)==null?void 0:d.toUpperCase(),l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=nc(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=$o(l.request,{...l.options.params,...l.options.query}))),l.options.body&&lr(l.options.method)&&(_c(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"))),!l.options.signal&&l.options.timeout){const g=new o;setTimeout(()=>g.abort(),l.options.timeout),l.options.signal=g.signal}try{l.response=await t(l.request,l.options)}catch(g){return l.error=g,l.options.onRequestError&&await l.options.onRequestError(l),await r(l)}if(l.response.body&&!wc.has(l.response.status)&&l.options.method!=="HEAD"){const g=(l.options.parseResponse?"json":l.options.responseType)||Lc(l.response.headers.get("content-type")||"");switch(g){case"json":{const y=await l.response.text(),L=l.options.parseResponse||Bt;l.response._data=L(y);break}case"stream":{l.response._data=l.response.body;break}default:l.response._data=await l.response[g]()}}return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await r(l)):l.response},a=async function(c,u){return(await s(c,u))._data};return a.raw=s,a.native=(...i)=>t(...i),a.create=(i={})=>Ws({...e,defaults:{...e.defaults,...i}}),a}const Uo=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Tc=Uo.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Pc=Uo.Headers,Rc=Uo.AbortController,Cc=Ws({fetch:Tc,Headers:Pc,AbortController:Rc}),kc=Cc;globalThis.$fetch||(globalThis.$fetch=kc.create({baseURL:ic()}));function oo(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?oo(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const Sc={run:e=>e()},Oc=()=>Sc,Ks=typeof console.createTask<"u"?console.createTask:Oc;function Nc(e,t){const n=t.shift(),o=Ks(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function Ic(e,t){const n=t.shift(),o=Ks(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Vn(e,t){for(const n of[...e])n(t)}class Ac{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=oo(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=oo(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Nc,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ic,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Vn(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&Vn(this._after,r)}):(this._after&&r&&Vn(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Gs(){return new Ac}function Dc(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let r;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?r=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(r&&t===void 0){const a=r.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,i)=>{i||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,i)=>{o(a),t=a;try{return r?r.run(a,i):i()}finally{n||(t=void 0)}},async callAsync(a,i){t=a;const c=()=>{t=a},u=()=>t===a?c:void 0;ro.add(u);try{const l=r?r.run(a,i):i();return n||(t=void 0),await l}finally{ro.delete(u)}}}}function Mc(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=Dc({...e,...o})),t[n],t[n]}}}const hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ur="__unctx__",xc=hn[ur]||(hn[ur]=Mc()),$c=(e,t={})=>xc.get(e,t),fr="__unctx_async_handlers__",ro=hn[fr]||(hn[fr]=new Set);function Xe(e){const t=[];for(const r of ro){const s=r();s&&t.push(s)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const Xs=$c("nuxt-app",{asyncContext:!1}),Fc="__nuxt_plugin";function Uc(e){let t=0;const n={_scope:Mo(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:at({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>n._scope.run(()=>Vc(n,r)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Gs(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,s)=>{const a="$"+r;nn(n,a,s),nn(n.vueApp.config.globalProperties,a,s)},nn(n.vueApp,"$nuxt",n),nn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||ne;const r=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",r)}const o=at(n.payload.config);return n.provide("config",o),n}async function Hc(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function jc(e,t){const n=[],o=[];for(const r of t){const s=Hc(e,r);r.parallel?n.push(s.catch(a=>o.push(a))):await s}if(await Promise.all(n),o.length)throw o[0]}/*! @__NO_SIDE_EFFECTS__ */function ge(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Fc]:!0}))}function Vc(e,t,n){const o=()=>n?t(...n):t();return Xs.set(e),e.vueApp.runWithContext(o)}/*! @__NO_SIDE_EFFECTS__ */function ne(){var t;let e;if(Ds()&&(e=(t=Jt())==null?void 0:t.appContext.app.$nuxt),e=e||Xs.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Pn(){return ne().$config}function nn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Bc="modulepreload",Wc=function(e,t){return e[0]==="."?new URL(e,t).href:e},dr={},Kc=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Wc(s,o),s in dr)return;dr[s]=!0;const a=s.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(!!o)for(let l=r.length-1;l>=0;l--){const f=r[l];if(f.href===s&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${i}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":Bc,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((l,f)=>{u.addEventListener("load",l),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})},F=(...e)=>Kc(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Gc=-1,Xc=-2,Yc=-3,qc=-4,zc=-5,Qc=-6;function Jc(e,t){return Zc(JSON.parse(e),t)}function Zc(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(s,a=!1){if(s===Gc)return;if(s===Yc)return NaN;if(s===qc)return 1/0;if(s===zc)return-1/0;if(s===Qc)return-0;if(a)throw new Error("Invalid input");if(s in o)return o[s];const i=n[s];if(!i||typeof i!="object")o[s]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],u=t==null?void 0:t[c];if(u)return o[s]=u(r(i[1]));switch(c){case"Date":o[s]=new Date(i[1]);break;case"Set":const l=new Set;o[s]=l;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function pr(e){return e._h||Ho(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function qs(e,t){const{props:n,tag:o}=e;if(ol.includes(o))return o;if(o==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];o==="meta"&&r.push("name","property","http-equiv");for(const s of r)if(typeof n[s]<"u"){const a=String(n[s]);return t&&!t(a)?!1:`${o}:${s}:${a}`}return!1}function hr(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function sl(e,t,n){const o={tag:e,props:await zs(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Ys.forEach(r=>{const s=typeof o.props[r]<"u"?o.props[r]:n[r];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(r)||tl.includes(o.tag))&&(o[r==="children"?"innerHTML":r]=s),delete o.props[r])}),o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function al(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function zs(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=al(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Ys.includes(n)){const o=String(e[n]),r=n.startsWith("data-");o==="true"||o===""?e[n]=r?"true":!0:e[n]||(r&&o==="false"?e[n]="false":delete e[n])}}return e}const il=10;async function cl(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,o])=>typeof o<"u"&&nl.includes(n)).forEach(([n,o])=>{const r=el(o);t.push(...r.map(s=>sl(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,o)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[u]||void 0,t):i=t[a],typeof i<"u"?(i||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const i=o(a.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,u)=>`${i}${u}`).trim())}),e.includes(Be)&&(e.endsWith(Be)&&(e=e.slice(0,-Be.length).trim()),e.startsWith(Be)&&(e=e.slice(Be.length).trim()),e=e.replace(new RegExp(`\\${Be}\\s*\\${Be}`,"g"),Be),e=un(e,{separator:n},n)),e}async function ul(e){const t={tag:e.tagName.toLowerCase(),props:await zs(e.getAttributeNames().reduce((n,o)=>({...n,[o]:e.getAttribute(o)}),{})),innerHTML:e.innerHTML};return t._d=qs(t),t}async function Js(e,t={}){var l;const n=t.document||e.resolvedOptions.document;if(!n)return;const o={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=(await e.resolveTags()).map(f=>({tag:f,id:ln.includes(f.tag)?pr(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(l=n==null?void 0:n[f])==null?void 0:l.children;for(const g of[...d].filter(y=>ln.includes(y.tagName.toLowerCase())))s.elMap[g.getAttribute("data-hid")||pr(await ul(g))]=g}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function a(f,d,g){const y=`${f}:${d}`;s.sideEffects[y]=g,delete s.pendingSideEffects[y]}function i({id:f,$el:d,tag:g}){const y=g.tag.endsWith("Attrs");s.elMap[f]=d,y||(["textContent","innerHTML"].forEach(L=>{g[L]&&g[L]!==d[L]&&(d[L]=g[L])}),a(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(g.props).forEach(([L,b])=>{const p=`attr:${L}`;if(L==="class")for(const _ of(b||"").split(" ").filter(Boolean))y&&a(f,`${p}:${_}`,()=>d.classList.remove(_)),!d.classList.contains(_)&&d.classList.add(_);else d.getAttribute(L)!==b&&d.setAttribute(L,b===!0?"":String(b)),y&&a(f,p,()=>d.removeAttribute(L))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:d,shouldRender:g,id:y}=f;if(g){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[y],f.$el?i(f):ln.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),i(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function fl(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(o=>n(async()=>{await Js(e,t),delete e._domUpdatePromise,o()}))}function dl(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){fl(s,e)}}}}}const pl=["templateParams","htmlAttrs","bodyAttrs"],hl={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(o=>{e.props[o]&&(e.key=e.props[o],delete e.props[o])});const n=qs(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(o=>{const r=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,s=t[r];if(s){let i=o==null?void 0:o.tagDuplicateStrategy;if(!i&&pl.includes(o.tag)&&(i="merge"),i==="merge"){const c=s.props;["class","style"].forEach(u=>{o.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),o.props[u]=`${c[u]} ${o.props[u]}`)}),t[r].props={...c,...o.props};return}else if(o._e===s._e){s._duped=s._duped||[],o._d=`${s._d}:${s._duped.length+1}`,s._duped.push(o);return}else if(mn(o)>mn(s))return}const a=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(ln.includes(o.tag)&&a===0){delete t[r];return}t[r]=o});const n=[];Object.values(t).forEach(o=>{const r=o._duped;delete o._duped,n.push(o),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},ml={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},gl=["script","link","bodyAttrs"];function _l(e){const t={},n={};return Object.entries(e.props).forEach(([o,r])=>{o.startsWith("on")&&typeof r=="function"?(Qs.includes(o)&&(t[o]=`this.dataset.${o} = true`),n[o]=r):t[o]=r}),{props:t,eventHandlers:n}}const yl=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(gl.includes(n.tag)){const{props:o,eventHandlers:r}=_l(n);n.props=o,Object.keys(r).length&&((n.props.src||n.props.href)&&(n.key=n.key||Ho(n.props.src||n.props.href)),n._eventHandlers=r)}},"dom:renderTag":function(t,n,o){if(!t.tag._eventHandlers)return;const r=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([s,a])=>{const i=`${t.tag._d||t.tag._p}:${s}`,c=s.slice(2).toLowerCase(),u=`data-h-${c}`;if(o(t.id,i,()=>{}),t.$el.hasAttribute(u))return;t.$el.setAttribute(u,"");let l;const f=d=>{a(d),l==null||l.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):Qs.includes(s)&&typeof MutationObserver<"u"?(l=new MutationObserver(d=>{d.some(y=>y.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),l==null||l.disconnect())}),l.observe(t.$el,{attributes:!0})):r.addEventListener(c,f),o(t.id,i,()=>{l==null||l.disconnect(),r.removeEventListener(c,f),t.$el.removeAttribute(u)})})}}}),El=["link","style","script","noscript"],Ll={hooks:{"tag:normalise":({tag:e})=>{e.key&&El.includes(e.tag)&&(e.props["data-hid"]=e._h=Ho(e.key))}}},vl={hooks:{"tags:resolve":e=>{const t=n=>{var o;return(o=e.tags.find(r=>r._d===n))==null?void 0:o._p};for(const{prefix:n,offset:o}of ll)for(const r of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(r.tagPriority.replace(n,""));typeof s<"u"&&(r._p=s+o)}e.tags.sort((n,o)=>n._p-o._p).sort((n,o)=>mn(n)-mn(o))}}},bl={meta:"content",link:"href",htmlAttrs:"lang"},wl=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t,o=(i=n.find(c=>c.tag==="title"))==null?void 0:i.textContent,r=n.findIndex(c=>c.tag==="templateParams"),s=r!==-1?n[r].props:{},a=s.separator||"|";delete s.separator,s.pageTitle=un(s.pageTitle||o||"",s,a);for(const c of n.filter(u=>u.processTemplateParams!==!1)){const u=bl[c.tag];u&&typeof c.props[u]=="string"?c.props[u]=un(c.props[u],s,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(l=>{typeof c[l]=="string"&&(c[l]=un(c[l],s,a))})}e._templateParams=s,e._separator=a,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),Tl={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const o=t.findIndex(r=>r.tag==="title");if(o!==-1&&n!==-1){const r=hr(t[n].textContent,t[o].textContent);r!==null?t[o].textContent=r||t[o].textContent:delete t[o]}else if(n!==-1){const r=hr(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},Pl={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{i.dirty=!0,t.callHook("entries:updated",i)};let r=0,s=[];const a=[],i={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(c){const u=typeof c=="function"?c(i):c;(!u.key||!a.some(l=>l.key===u.key))&&(a.push(u),_r(u.mode,n)&&t.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:r++,input:c,...u};return _r(l.mode,n)&&(s.push(l),o()),{dispose(){s=s.filter(f=>f._i!==l._i),t.callHook("entries:updated",i),o()},patch(f){s=s.map(d=>(d._i===l._i&&(d.input=l.input=f),d)),o()}}},async resolveTags(){const c={tags:[],entries:[...s]};await t.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await cl(u)){const d={tag:f,entry:u,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[hl,ml,yl,Ll,vl,wl,Tl,Pl,...(e==null?void 0:e.plugins)||[]].forEach(c=>i.use(c)),i.hooks.callHook("init",i),i}function kl(){return Zs}const Sl=mi.startsWith("3");function Ol(e){return typeof e=="function"?e():J(e)}function gn(e,t=""){if(e instanceof Promise)return e;const n=Ol(e);return!e||!n?n:Array.isArray(n)?n.map(o=>gn(o,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([o,r])=>o==="titleTemplate"||o.startsWith("on")?[o,J(r)]:[o,gn(r,o)])):n}const Nl={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=gn(t.input)}}},ea="usehead";function Il(e){return{install(n){Sl&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ea,e))}}.install}function Al(e={}){e.domDelayFn=e.domDelayFn||(n=>Ot(()=>setTimeout(()=>n(),0)));const t=Rl(e);return t.use(Nl),t.install=Il(t),t}const so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ao="__unhead_injection_handler__";function Dl(e){so[ao]=e}function Ml(){if(ao in so)return so[ao]();const e=Ee(ea);return e||kl()}function xl(e,t={}){const n=t.head||Ml();if(n)return n.ssr?n.push(e,t):$l(n,e,t)}function $l(e,t,n={}){const o=fe(!1),r=fe({});gi(()=>{r.value=o.value?{}:gn(t)});const s=e.push(r.value,n);return Ue(r,i=>{s.patch(i)}),Jt()&&(_i(()=>{s.dispose()}),yi(()=>{o.value=!0}),Ei(()=>{o.value=!1})),s}const on=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Fl(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=(t||{}).decode||jl;let s=0;for(;sna(t,e)}}function ta(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,ta(r)])):new Map(Object.entries(e[n]));return t}function Wl(e){return Bl(ta(e))}function na(e,t){const n=[];for(const[r,s]of Er(t.wildcard))e.startsWith(r)&&n.push(s);for(const[r,s]of Er(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");n.push(...na(a,s))}const o=t.static.get(e);return o&&n.push(o),n.filter(Boolean)}function Er(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function io(e,t,n=".",o){if(!Bn(t))return io(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(r,s,a,n)||(Array.isArray(a)&&Array.isArray(r[s])?r[s]=[...a,...r[s]]:Bn(a)&&Bn(r[s])?r[s]=io(a,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=a))}return r}function Bn(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function oa(e){return(...t)=>t.reduce((n,o)=>io(n,o,"",e),{})}const ra=oa(),Kl=oa((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Gl(e,t){try{return t in e}catch{return!1}}var Xl=Object.defineProperty,Yl=(e,t,n)=>t in e?Xl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rt=(e,t,n)=>(Yl(e,typeof t!="symbol"?t+"":t,n),n);class co extends Error{constructor(t,n={}){super(t,n),rt(this,"statusCode",500),rt(this,"fatal",!1),rt(this,"unhandled",!1),rt(this,"statusMessage"),rt(this,"data"),rt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:uo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}rt(co,"__h3_error__",!0);function lo(e){if(typeof e=="string")return new co(e);if(ql(e))return e;const t=new co(e.message??e.statusMessage??"",{cause:e.cause||e});if(Gl(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=uo(e.statusCode,t.statusCode):e.status&&(t.statusCode=uo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;sa(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ql(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const zl=/[^\u0009\u0020-\u007E]/g;function sa(e=""){return e.replace(zl,"")}function uo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ql=Symbol("layout-meta"),Rn=Symbol("route"),Cn=()=>Ms(ne().payload,"error"),Et=e=>{const t=jo(e);try{const n=ne(),o=Cn();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},Jl=async(e={})=>{const t=ne(),n=Cn();t.callHook("app:error:cleared",e),e.redirect&&await He().replace(e.redirect),n.value=null},Zl=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),jo=e=>{const t=lo(e);return t.__nuxt_error=!0,t},He=()=>{var e;return(e=ne())==null?void 0:e.$router},Vo=()=>Ds()?Ee(Rn,ne()._route):ne()._route;/*! @__NO_SIDE_EFFECTS__ */const eu=(e,t,n={})=>{const o=ne(),r=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}r?o._middleware.global.push(s):o._middleware.named[e]=s},tu=()=>{try{if(ne()._processingMiddleware)return!0}catch{return!0}return!1},nu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:$o(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:i="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([l,f])=>f!==void 0).map(([l,f])=>`${l.toLowerCase()}=${f}`).join(", ");open(n,i,u)}return Promise.resolve()}const o=(t==null?void 0:t.external)||lt(n,{acceptRelative:!0});if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const i=Tn(n).protocol;if(i&&Zi(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=tu();if(!o&&r)return e;const s=He(),a=ne();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},ou={nuxt:{buildId:"dev"}},ru=Kl(ou);function su(){const e=ne();return e._appConfig||(e._appConfig=at(ru)),e._appConfig}const fo=!1,au=!1,bg={componentName:"NuxtLink"},wg={deep:!0},iu="#__nuxt";let fn,aa;function cu(){var t;const e=(t=su().nuxt)==null?void 0:t.buildId;return fn=$fetch(Fo(`builds/meta/${e}.json`)),fn.then(n=>{aa=Wl(n.matcher)}),fn}function kn(){return fn||cu()}async function ia(e){return await kn(),ra({},...aa.matchAll(e).reverse())}function Lr(e,t={}){const n=lu(e,t),o=ne(),r=o._payloadCache=o._payloadCache||{};return n in r||(r[n]=uu(e).then(s=>s?ca(n).then(a=>a||(delete r[n],null)):(r[n]=null,null))),r[n]}const vr="json";function lu(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||lt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=t.hash||(t.fresh?Date.now():"");return It(Pn().app.baseURL,n.pathname,o?`_payload.${o}.${vr}`:`_payload.${vr}`)}async function ca(e){const t=fetch(e).then(n=>n.text().then(la));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function uu(e=Vo().path){if((await kn()).prerendered.includes(e))return!0;const n=await ia(e);return!!n.prerender&&!n.redirect}let rn=null;async function fu(){if(rn)return rn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=la(e.textContent||""),n=e.dataset.src?await ca(e.dataset.src):void 0;return rn={...t,...n,...window.__NUXT__},rn}function la(e){return Jc(e,ne()._payloadRevivers)}function du(e,t){ne()._payloadRevivers[e]=t}const br={NuxtError:e=>jo(e),EmptyShallowRef:e=>Vt(e==="_"?void 0:e==="0n"?BigInt(0):Bt(e)),EmptyRef:e=>fe(e==="_"?void 0:e==="0n"?BigInt(0):Bt(e)),ShallowRef:e=>Vt(e),ShallowReactive:e=>wn(e),Ref:e=>fe(e),Reactive:e=>at(e)},pu=ge({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in br)du(o,br[o]);Object.assign(e.payload,([t,n]=Xe(()=>e.runWithContext(fu)),t=await t,n(),t)),window.__NUXT__=e.payload}}),hu=[],mu=ge({name:"nuxt:head",enforce:"pre",setup(e){const t=Al({plugins:hu});Dl(()=>ne().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Js(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */const _t=typeof window<"u";function gu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const X=Object.assign;function Wn(e,t){const n={};for(const o in t){const r=t[o];n[o]=be(r)?r.map(e):e(r)}return n}const Ut=()=>{},be=Array.isArray,_u=/\/$/,yu=e=>e.replace(_u,"");function Kn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let c=t.indexOf("?");return i=0&&(c=-1),c>-1&&(o=t.slice(0,c),s=t.slice(c+1,i>-1?i:t.length),r=e(s)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=bu(o??t,n),{fullPath:o+(s&&"?")+s+a,path:o,query:r,hash:a}}function Eu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Lu(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&vt(t.matched[o],n.matched[r])&&ua(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ua(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!vu(e[n],t[n]))return!1;return!0}function vu(e,t){return be(e)?Tr(e,t):be(t)?Tr(t,e):e===t}function Tr(e,t){return be(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function bu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Ht;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ht||(Ht={}));function wu(e){if(!e)if(_t){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yu(e)}const Tu=/^[^#]+#/;function Pu(e,t){return e.replace(Tu,"#")+t}function Ru(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Sn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Cu(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ru(r,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 Pr(e,t){return(history.state?history.state.position-t:-1)+e}const po=new Map;function ku(e,t){po.set(e,t)}function Su(e){const t=po.get(e);return po.delete(e),t}let Ou=()=>location.protocol+"//"+location.host;function fa(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let i=r.includes(e.slice(s))?e.slice(s).length:1,c=r.slice(i);return c[0]!=="/"&&(c="/"+c),wr(c,"")}return wr(n,e)+o+r}function Nu(e,t,n,o){let r=[],s=[],a=null;const i=({state:d})=>{const g=fa(e,location),y=n.value,L=t.value;let b=0;if(d){if(n.value=g,t.value=d,a&&a===y){a=null;return}b=L?d.position-L.position:0}else o(g);r.forEach(p=>{p(n.value,y,{delta:b,type:Wt.pop,direction:b?b>0?Ht.forward:Ht.back:Ht.unknown})})};function c(){a=n.value}function u(d){r.push(d);const g=()=>{const y=r.indexOf(d);y>-1&&r.splice(y,1)};return s.push(g),g}function l(){const{history:d}=window;d.state&&d.replaceState(X({},d.state,{scroll:Sn()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Rr(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Sn():null}}function Iu(e){const{history:t,location:n}=window,o={value:fa(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Ou()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),r.value=u}catch(g){console.error(g),n[l?"replace":"assign"](d)}}function a(c,u){const l=X({},t.state,Rr(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});s(c,l,!0),o.value=c}function i(c,u){const l=X({},r.value,t.state,{forward:c,scroll:Sn()});s(l.current,l,!0);const f=X({},Rr(o.value,c,null),{position:l.position+1},u);s(c,f,!1),o.value=c}return{location:o,state:r,push:i,replace:a}}function da(e){e=wu(e);const t=Iu(e),n=Nu(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=X({location:"",base:e,go:o,createHref:Pu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Au(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),da(e)}function Du(e){return typeof e=="string"||e&&typeof e=="object"}function pa(e){return typeof e=="string"||typeof e=="symbol"}const ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ha=Symbol("");var Cr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Cr||(Cr={}));function bt(e,t){return X(new Error,{type:e,[ha]:!0},t)}function De(e,t){return e instanceof Error&&ha in e&&(t==null||!!(e.type&t))}const kr="[^/]+?",Mu={sensitive:!1,strict:!1,start:!0,end:!0},xu=/[.+*?^${}()[\]/\\]/g;function $u(e,t){const n=X({},Mu,t),o=[];let r=n.start?"^":"";const s=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Uu(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Hu={type:0,value:""},ju=/[a-zA-Z0-9_]/;function Vu(e){if(!e)return[[]];if(e==="/")return[[Hu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,c,u="",l="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;i{a(_)}:Ut}function a(l){if(pa(l)){const f=o.get(l);f&&(o.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&o.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function i(){return n}function c(l){let f=0;for(;f=0&&(l.record.path!==n[f].record.path||!ma(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Nr(l)&&o.set(l.record.name,l)}function u(l,f){let d,g={},y,L;if("name"in l&&l.name){if(d=o.get(l.name),!d)throw bt(1,{location:l});L=d.record.name,g=X(Or(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),l.params&&Or(l.params,d.keys.map(_=>_.name))),y=d.stringify(g)}else if("path"in l)y=l.path,d=n.find(_=>_.re.test(y)),d&&(g=d.parse(y),L=d.record.name);else{if(d=f.name?o.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw bt(1,{location:l,currentLocation:f});L=d.record.name,g=X({},f.params,l.params),y=d.stringify(g)}const b=[];let p=d;for(;p;)b.unshift(p.record),p=p.parent;return{name:L,path:y,params:g,matched:b,meta:Xu(b)}}return e.forEach(l=>s(l)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function Or(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ku(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Gu(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 Gu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Nr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xu(e){return e.reduce((t,n)=>X(t,n.meta),{})}function Ir(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ma(e,t){return t.children.some(n=>n===e||ma(e,n))}const ga=/#/g,Yu=/&/g,qu=/\//g,zu=/=/g,Qu=/\?/g,_a=/\+/g,Ju=/%5B/g,Zu=/%5D/g,ya=/%5E/g,ef=/%60/g,Ea=/%7B/g,tf=/%7C/g,La=/%7D/g,nf=/%20/g;function Bo(e){return encodeURI(""+e).replace(tf,"|").replace(Ju,"[").replace(Zu,"]")}function of(e){return Bo(e).replace(Ea,"{").replace(La,"}").replace(ya,"^")}function ho(e){return Bo(e).replace(_a,"%2B").replace(nf,"+").replace(ga,"%23").replace(Yu,"%26").replace(ef,"`").replace(Ea,"{").replace(La,"}").replace(ya,"^")}function rf(e){return ho(e).replace(zu,"%3D")}function sf(e){return Bo(e).replace(ga,"%23").replace(Qu,"%3F")}function af(e){return e==null?"":sf(e).replace(qu,"%2F")}function _n(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function cf(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&ho(s)):[o&&ho(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function lf(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=be(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const uf=Symbol(""),Dr=Symbol(""),On=Symbol(""),Wo=Symbol(""),mo=Symbol("");function Mt(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ge(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,i)=>{const c=f=>{f===!1?i(bt(4,{from:n,to:t})):f instanceof Error?i(f):Du(f)?i(bt(2,{from:t,to:f})):(s&&o.enterCallbacks[r]===s&&typeof f=="function"&&s.push(f),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>i(f))})}function Gn(e,t,n,o){const r=[];for(const s of e)for(const a in s.components){let i=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(ff(i)){const u=(i.__vccOpts||i)[t];u&&r.push(Ge(u,n,o,s,a))}else{let c=i();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const l=gu(u)?u.default:u;s.components[a]=l;const d=(l.__vccOpts||l)[t];return d&&Ge(d,n,o,s,a)()}))}}return r}function ff(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Mr(e){const t=Ee(On),n=Ee(Wo),o=te(()=>t.resolve(J(e.to))),r=te(()=>{const{matched:c}=o.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(vt.bind(null,l));if(d>-1)return d;const g=xr(c[u-2]);return u>1&&xr(l)===g&&f[f.length-1].path!==g?f.findIndex(vt.bind(null,c[u-2])):d}),s=te(()=>r.value>-1&&mf(n.params,o.value.params)),a=te(()=>r.value>-1&&r.value===n.matched.length-1&&ua(n.params,o.value.params));function i(c={}){return hf(c)?t[J(e.replace)?"replace":"push"](J(e.to)).catch(Ut):Promise.resolve()}return{route:o,href:te(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}const df=ct({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:Mr,setup(e,{slots:t}){const n=at(Mr(e)),{options:o}=Ee(On),r=te(()=>({[$r(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[$r(e.exactActiveClass,o.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:r.value},s)}}}),pf=df;function hf(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 mf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!be(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function xr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $r=(e,t,n)=>e??t??n,gf=ct({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ee(mo),r=te(()=>e.route||o.value),s=Ee(Dr,0),a=te(()=>{let u=J(s);const{matched:l}=r.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),i=te(()=>r.value.matched[a.value]);Ft(Dr,te(()=>a.value+1)),Ft(uf,i),Ft(mo,r);const c=fe();return Ue(()=>[c.value,i.value,e.name],([u,l,f],[d,g,y])=>{l&&(l.instances[f]=u,g&&g!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=g.leaveGuards),l.updateGuards.size||(l.updateGuards=g.updateGuards))),u&&l&&(!g||!vt(l,g)||!d)&&(l.enterCallbacks[f]||[]).forEach(L=>L(u))},{flush:"post"}),()=>{const u=r.value,l=e.name,f=i.value,d=f&&f.components[l];if(!d)return Fr(n.default,{Component:d,route:u});const g=f.props[l],y=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Ne(d,X({},y,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Fr(n.default,{Component:b,route:u})||b}}});function Fr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const va=gf;function _f(e){const t=Wu(e.routes,e),n=e.parseQuery||cf,o=e.stringifyQuery||Ar,r=e.history,s=Mt(),a=Mt(),i=Mt(),c=Vt(ke);let u=ke;_t&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Wn.bind(null,T=>""+T),f=Wn.bind(null,af),d=Wn.bind(null,_n);function g(T,A){let N,x;return pa(T)?(N=t.getRecordMatcher(T),x=A):x=T,t.addRoute(x,N)}function y(T){const A=t.getRecordMatcher(T);A&&t.removeRoute(A)}function L(){return t.getRoutes().map(T=>T.record)}function b(T){return!!t.getRecordMatcher(T)}function p(T,A){if(A=X({},A||c.value),typeof T=="string"){const m=Kn(n,T,A.path),v=t.resolve({path:m.path},A),I=r.createHref(m.fullPath);return X(m,v,{params:d(v.params),hash:_n(m.hash),redirectedFrom:void 0,href:I})}let N;if("path"in T)N=X({},T,{path:Kn(n,T.path,A.path).path});else{const m=X({},T.params);for(const v in m)m[v]==null&&delete m[v];N=X({},T,{params:f(m)}),A.params=f(A.params)}const x=t.resolve(N,A),B=T.hash||"";x.params=l(d(x.params));const Z=Eu(o,X({},T,{hash:of(B),path:x.path})),h=r.createHref(Z);return X({fullPath:Z,hash:B,query:o===Ar?lf(T.query):T.query||{}},x,{redirectedFrom:void 0,href:h})}function _(T){return typeof T=="string"?Kn(n,T,c.value.path):X({},T)}function P(T,A){if(u!==T)return bt(8,{from:A,to:T})}function E(T){return C(T)}function R(T){return E(X(_(T),{replace:!0}))}function k(T){const A=T.matched[T.matched.length-1];if(A&&A.redirect){const{redirect:N}=A;let x=typeof N=="function"?N(T):N;return typeof x=="string"&&(x=x.includes("?")||x.includes("#")?x=_(x):{path:x},x.params={}),X({query:T.query,hash:T.hash,params:"path"in x?{}:T.params},x)}}function C(T,A){const N=u=p(T),x=c.value,B=T.state,Z=T.force,h=T.replace===!0,m=k(N);if(m)return C(X(_(m),{state:typeof m=="object"?X({},B,m.state):B,force:Z,replace:h}),A||N);const v=N;v.redirectedFrom=A;let I;return!Z&&Lu(o,x,N)&&(I=bt(16,{to:v,from:x}),pt(x,x,!0,!1)),(I?Promise.resolve(I):S(v,x)).catch(M=>De(M)?De(M,2)?M:Ve(M):Je(M,v,x)).then(M=>{if(M){if(De(M,2))return C(X({replace:h},_(M.to),{state:typeof M.to=="object"?X({},B,M.to.state):B,force:Z}),A||v)}else M=H(v,x,!0,h,B);return $(v,x,M),M})}function V(T,A){const N=P(T,A);return N?Promise.reject(N):Promise.resolve()}function Y(T){const A=Ie.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(T):T()}function S(T,A){let N;const[x,B,Z]=yf(T,A);N=Gn(x.reverse(),"beforeRouteLeave",T,A);for(const m of x)m.leaveGuards.forEach(v=>{N.push(Ge(v,T,A))});const h=V.bind(null,T,A);return N.push(h),Pe(N).then(()=>{N=[];for(const m of s.list())N.push(Ge(m,T,A));return N.push(h),Pe(N)}).then(()=>{N=Gn(B,"beforeRouteUpdate",T,A);for(const m of B)m.updateGuards.forEach(v=>{N.push(Ge(v,T,A))});return N.push(h),Pe(N)}).then(()=>{N=[];for(const m of Z)if(m.beforeEnter)if(be(m.beforeEnter))for(const v of m.beforeEnter)N.push(Ge(v,T,A));else N.push(Ge(m.beforeEnter,T,A));return N.push(h),Pe(N)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),N=Gn(Z,"beforeRouteEnter",T,A),N.push(h),Pe(N))).then(()=>{N=[];for(const m of a.list())N.push(Ge(m,T,A));return N.push(h),Pe(N)}).catch(m=>De(m,8)?m:Promise.reject(m))}function $(T,A,N){i.list().forEach(x=>Y(()=>x(T,A,N)))}function H(T,A,N,x,B){const Z=P(T,A);if(Z)return Z;const h=A===ke,m=_t?history.state:{};N&&(x||h?r.replace(T.fullPath,X({scroll:h&&m&&m.scroll},B)):r.push(T.fullPath,B)),c.value=T,pt(T,A,N,h),Ve()}let q;function re(){q||(q=r.listen((T,A,N)=>{if(!Dt.listening)return;const x=p(T),B=k(x);if(B){C(X(B,{replace:!0}),x).catch(Ut);return}u=x;const Z=c.value;_t&&ku(Pr(Z.fullPath,N.delta),Sn()),S(x,Z).catch(h=>De(h,12)?h:De(h,2)?(C(h.to,x).then(m=>{De(m,20)&&!N.delta&&N.type===Wt.pop&&r.go(-1,!1)}).catch(Ut),Promise.reject()):(N.delta&&r.go(-N.delta,!1),Je(h,x,Z))).then(h=>{h=h||H(x,Z,!1),h&&(N.delta&&!De(h,8)?r.go(-N.delta,!1):N.type===Wt.pop&&De(h,20)&&r.go(-1,!1)),$(x,Z,h)}).catch(Ut)}))}let Te=Mt(),je=Mt(),ve;function Je(T,A,N){Ve(T);const x=je.list();return x.length?x.forEach(B=>B(T,A,N)):console.error(T),Promise.reject(T)}function _e(){return ve&&c.value!==ke?Promise.resolve():new Promise((T,A)=>{Te.add([T,A])})}function Ve(T){return ve||(ve=!T,re(),Te.list().forEach(([A,N])=>T?N(T):A()),Te.reset()),T}function pt(T,A,N,x){const{scrollBehavior:B}=e;if(!_t||!B)return Promise.resolve();const Z=!N&&Su(Pr(T.fullPath,0))||(x||!N)&&history.state&&history.state.scroll||null;return Ot().then(()=>B(T,A,Z)).then(h=>h&&Cu(h)).catch(h=>Je(h,T,A))}const Ze=T=>r.go(T);let et;const Ie=new Set,Dt={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,hasRoute:b,getRoutes:L,resolve:p,options:e,push:E,replace:R,go:Ze,back:()=>Ze(-1),forward:()=>Ze(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:je.add,isReady:_e,install(T){const A=this;T.component("RouterLink",pf),T.component("RouterView",va),T.config.globalProperties.$router=A,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>J(c)}),_t&&!et&&c.value===ke&&(et=!0,E(r.location).catch(B=>{}));const N={};for(const B in ke)Object.defineProperty(N,B,{get:()=>c.value[B],enumerable:!0});T.provide(On,A),T.provide(Wo,wn(N)),T.provide(mo,c);const x=T.unmount;Ie.add(T),T.unmount=function(){Ie.delete(T),Ie.size<1&&(u=ke,q&&q(),q=null,c.value=ke,et=!1,ve=!1),x()}}};function Pe(T){return T.reduce((A,N)=>A.then(()=>Y(N)),Promise.resolve())}return Dt}function yf(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;avt(u,i))?o.push(i):n.push(i));const c=e.matched[a];c&&(t.matched.find(u=>vt(u,c))||r.push(c))}return[n,o,r]}function Ef(){return Ee(On)}function Lf(){return Ee(Wo)}const Ur=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>F(()=>import("./index.a1ab4247.js").then(e=>e.a2),["./index.a1ab4247.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./Icon.c44fc0a7.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.8bfe2b63.js","./ContentRendererMarkdown.vue.4bf820b7.js","./index.b0fe9fac.js","./preview.9ca7dcfa.js","./query.046ea17d.js","./index.e561007c.css"],import.meta.url).then(e=>e.default||e)}],vf=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?Ne(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Hr(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function bf(e,t){return e===t?!1:Hr(e)!==Hr(t)?!0:!e.matched.every((o,r)=>{var s,a;return o.components&&o.components.default===((a=(s=t.matched[r])==null?void 0:s.components)==null?void 0:a.default)})}const wf={scrollBehavior(e,t,n){var u;const o=ne(),r=((u=He().options)==null?void 0:u.scrollBehaviorType)??"auto";let s=n||void 0;const a=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&a!==!1&&bf(e,t)&&(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:jr(e.hash),behavior:r}}const i=l=>!!(l.meta.pageTransition??fo),c=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(l=>{o.hooks.hookOnce(c,async()=>{await Ot(),e.hash&&(s={el:e.hash,top:jr(e.hash),behavior:r}),l(s)})})}};function jr(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Tf={hashMode:!1,scrollBehaviorType:"auto"},de={...Tf,...wf},Pf=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const o=ne(),r=He();if(([t,n]=Xe(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=jo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),i=r.beforeResolve(u=>{if(i(),u===e){const l=r.afterEach(async()=>{l(),await o.runWithContext(()=>Et(a)),window.history.pushState({},"",e.fullPath)});return!1}})},Rf=async e=>{let t,n;const o=([t,n]=Xe(()=>ia(e.path)),t=await t,n(),t);if(o.redirect)return o.redirect},Cf=[Pf,Rf],jt={};function kf(e,t,n){const{pathname:o,search:r,hash:s}=t,a=e.indexOf("#");if(a>-1){const u=s.includes(e.slice(a))?e.slice(a).length:1;let l=s.slice(u);return l[0]!=="/"&&(l="/"+l),ir(l,"")}const i=ir(o,e),c=!n||no(i,n,{trailingSlash:!0})?i:n;return c+(c.includes("?")?"":r)+s}const Sf=ge({name:"nuxt:router",enforce:"pre",async setup(e){var L,b;let t,n,o=Pn().app.baseURL;de.hashMode&&!o.includes("#")&&(o+="#");const r=((L=de.history)==null?void 0:L.call(de,o))??(de.hashMode?Au(o):da(o)),s=((b=de.routes)==null?void 0:b.call(de,Ur))??Ur;let a;const i=kf(o,window.location,e.payload.path),c=_f({...de,scrollBehavior:(p,_,P)=>{var E;if(_===ke){a=P;return}return c.options.scrollBehavior=de.scrollBehavior,(E=de.scrollBehavior)==null?void 0:E.call(de,p,ke,a||P)},history:r,routes:s});e.vueApp.use(c);const u=Vt(c.currentRoute.value);c.afterEach((p,_)=>{u.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=Vt(c.resolve(i)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((p,_)=>{var P,E,R,k;((E=(P=p.matched[0])==null?void 0:P.components)==null?void 0:E.default)===((k=(R=_.matched[0])==null?void 0:R.components)==null?void 0:k.default)&&f()});const d={};for(const p in l.value)Object.defineProperty(d,p,{get:()=>l.value[p]});e._route=wn(d),e._middleware=e._middleware||{global:[],named:{}};const g=Cn();try{[t,n]=Xe(()=>c.isReady()),await t,n()}catch(p){[t,n]=Xe(()=>e.runWithContext(()=>Et(p))),await t,n()}const y=e.payload.state._layout;return c.beforeEach(async(p,_)=>{var P;p.meta=at(p.meta),e.isHydrating&&y&&!Li(p.meta.layout)&&(p.meta.layout=y),e._processingMiddleware=!0;{const E=new Set([...Cf,...e._middleware.global]);for(const R of p.matched){const k=R.meta.middleware;if(k)if(Array.isArray(k))for(const C of k)E.add(C);else E.add(k)}for(const R of E){const k=typeof R=="string"?e._middleware.named[R]||await((P=jt[R])==null?void 0:P.call(jt).then(V=>V.default||V)):R;if(!k)throw new Error(`Unknown route middleware: '${R}'.`);const C=await e.runWithContext(()=>k(p,_));if(!e.payload.serverRendered&&e.isHydrating&&(C===!1||C instanceof Error)){const V=C||lo({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await e.runWithContext(()=>Et(V)),!1}if(C!==!0&&(C||C===!1))return C}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(p,_,P)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Jl),p.matched.length===0&&await e.runWithContext(()=>Et(lo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${p.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(i),name:void 0,force:!0}),c.options.scrollBehavior=de.scrollBehavior}catch(p){await e.runWithContext(()=>Et(p))}}),{provide:{router:c}}}}),Vr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Tg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ba=e=>{const t=ne();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vr(e)}):Vr(e)},Of=ge({name:"nuxt:payload",setup(e){He().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await Lr(t.path);o&&Object.assign(e.static.data,o.data)}),ba(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Tn(n).protocol||await Lr(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(kn,1e3)})}}),Nf=U(()=>F(()=>import("./ContentDoc.ae20151f.js"),["./ContentDoc.ae20151f.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ContentRenderer.8bfe2b63.js","./ContentRendererMarkdown.vue.4bf820b7.js","./index.b0fe9fac.js","./preview.9ca7dcfa.js","./ContentQuery.f58b0de1.js","./query.046ea17d.js"],import.meta.url).then(e=>e.default)),If=U(()=>F(()=>import("./ContentList.614be23b.js"),["./ContentList.614be23b.js","./ContentQuery.f58b0de1.js","./query.046ea17d.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.9ca7dcfa.js"],import.meta.url).then(e=>e.default)),Af=U(()=>F(()=>import("./ContentNavigation.5c5799f8.js"),["./ContentNavigation.5c5799f8.js","./query.046ea17d.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.9ca7dcfa.js","./nuxt-link.fae787a8.js"],import.meta.url).then(e=>e.default)),Df=U(()=>F(()=>import("./ContentQuery.f58b0de1.js"),["./ContentQuery.f58b0de1.js","./query.046ea17d.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.9ca7dcfa.js"],import.meta.url).then(e=>e.default)),Mf=U(()=>F(()=>import("./ContentRenderer.8bfe2b63.js"),["./ContentRenderer.8bfe2b63.js","./ContentRendererMarkdown.vue.4bf820b7.js","./index.b0fe9fac.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.9ca7dcfa.js"],import.meta.url).then(e=>e.default)),xf=U(()=>F(()=>import("./ContentRendererMarkdown.e61a8c26.js"),["./ContentRendererMarkdown.e61a8c26.js","./ContentRendererMarkdown.vue.4bf820b7.js","./index.b0fe9fac.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./preview.9ca7dcfa.js"],import.meta.url).then(e=>e.default)),$f=U(()=>F(()=>import("./ContentSlot.1e13c935.js"),["./ContentSlot.1e13c935.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Ff=U(()=>F(()=>import("./DocumentDrivenEmpty.92c65c65.js"),["./DocumentDrivenEmpty.92c65c65.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Uf=U(()=>F(()=>import("./DocumentDrivenNotFound.601f5646.js"),["./DocumentDrivenNotFound.601f5646.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Hf=U(()=>F(()=>import("./Markdown.8fb10b7f.js"),["./Markdown.8fb10b7f.js","./ContentSlot.1e13c935.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),jf=U(()=>F(()=>import("./ProseCode.b5d192f2.js"),["./ProseCode.b5d192f2.js","./ProseCode.vue.ee4e0ab6.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),Vf=U(()=>F(()=>import("./ProseCodeInline.958f04d4.js"),["./ProseCodeInline.958f04d4.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Bf=U(()=>F(()=>import("./ProsePre.e32d5d2e.js"),["./ProsePre.e32d5d2e.js","./ProseCode.vue.ee4e0ab6.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),Wf=U(()=>F(()=>import("./ProseA.c1f967dd.js"),["./ProseA.c1f967dd.js","./nuxt-link.fae787a8.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Kf=U(()=>F(()=>import("./ProseBlockquote.6cb79d10.js"),["./ProseBlockquote.6cb79d10.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Gf=U(()=>F(()=>import("./ProseEm.0b23c34a.js"),["./ProseEm.0b23c34a.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Xf=U(()=>F(()=>import("./ProseH1.5c2fb7f0.js"),["./ProseH1.5c2fb7f0.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Yf=U(()=>F(()=>import("./ProseH2.2b8d5680.js"),["./ProseH2.2b8d5680.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),qf=U(()=>F(()=>import("./ProseH3.f4f8745b.js"),["./ProseH3.f4f8745b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),zf=U(()=>F(()=>import("./ProseH4.3aa4cfe4.js"),["./ProseH4.3aa4cfe4.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Qf=U(()=>F(()=>import("./ProseH5.63d21b08.js"),["./ProseH5.63d21b08.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Jf=U(()=>F(()=>import("./ProseH6.a408c7fc.js"),["./ProseH6.a408c7fc.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Zf=U(()=>F(()=>import("./ProseHr.7ce08cfc.js"),["./ProseHr.7ce08cfc.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ed=U(()=>F(()=>import("./ProseImg.bc716666.js"),["./ProseImg.bc716666.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),td=U(()=>F(()=>import("./ProseLi.623f2d94.js"),["./ProseLi.623f2d94.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),nd=U(()=>F(()=>import("./ProseOl.a3d85517.js"),["./ProseOl.a3d85517.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),od=U(()=>F(()=>import("./ProseP.7c203b65.js"),["./ProseP.7c203b65.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),rd=U(()=>F(()=>import("./ProseScript.cecf03f9.js"),["./ProseScript.cecf03f9.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),sd=U(()=>F(()=>import("./ProseStrong.10c660d8.js"),["./ProseStrong.10c660d8.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ad=U(()=>F(()=>import("./ProseTable.1d668abd.js"),["./ProseTable.1d668abd.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),id=U(()=>F(()=>import("./ProseTbody.b662d189.js"),["./ProseTbody.b662d189.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),cd=U(()=>F(()=>import("./ProseTd.8cef299a.js"),["./ProseTd.8cef299a.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ld=U(()=>F(()=>import("./ProseTh.f0bf7e46.js"),["./ProseTh.f0bf7e46.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ud=U(()=>F(()=>import("./ProseThead.1c2491ff.js"),["./ProseThead.1c2491ff.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),fd=U(()=>F(()=>import("./ProseTr.1dcc41ba.js"),["./ProseTr.1dcc41ba.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),dd=U(()=>F(()=>import("./ProseUl.b8060c82.js"),["./ProseUl.b8060c82.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),pd=U(()=>F(()=>import("./Icon.c44fc0a7.js"),["./Icon.c44fc0a7.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./Icon.cf693866.css"],import.meta.url).then(e=>e.default)),hd=U(()=>F(()=>import("./IconCSS.646566ab.js"),["./IconCSS.646566ab.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./IconCSS.3544dd2a.css"],import.meta.url).then(e=>e.default)),md=[["ContentDoc",Nf],["ContentList",If],["ContentNavigation",Af],["ContentQuery",Df],["ContentRenderer",Mf],["ContentRendererMarkdown",xf],["MDCSlot",$f],["DocumentDrivenEmpty",Ff],["DocumentDrivenNotFound",Uf],["Markdown",Hf],["ProseCode",jf],["ProseCodeInline",Vf],["ProsePre",Bf],["ProseA",Wf],["ProseBlockquote",Kf],["ProseEm",Gf],["ProseH1",Xf],["ProseH2",Yf],["ProseH3",qf],["ProseH4",zf],["ProseH5",Qf],["ProseH6",Jf],["ProseHr",Zf],["ProseImg",ed],["ProseLi",td],["ProseOl",nd],["ProseP",od],["ProseScript",rd],["ProseStrong",sd],["ProseTable",ad],["ProseTbody",id],["ProseTd",cd],["ProseTh",ld],["ProseThead",ud],["ProseTr",fd],["ProseUl",dd],["Icon",pd],["IconCSS",hd]],gd=ge({name:"nuxt:global-components",setup(e){for(const[t,n]of md)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),sn={},_d=ge({name:"nuxt:prefetch",setup(e){const t=He();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof sn[o]=="function"&&await sn[o]()})}),e.hooks.hook("link:prefetch",n=>{var a,i,c,u;if(lt(n))return;const o=t.resolve(n);if(!o)return;const r=(a=o==null?void 0:o.meta)==null?void 0:a.layout;let s=Array.isArray((i=o==null?void 0:o.meta)==null?void 0:i.middleware)?(c=o==null?void 0:o.meta)==null?void 0:c.middleware:[(u=o==null?void 0:o.meta)==null?void 0:u.middleware];s=s.filter(l=>typeof l=="string");for(const l of s)typeof jt[l]=="function"&&jt[l]();r&&typeof sn[r]=="function"&&sn[r]()})}}),yd="$s";function wa(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const r=yd+n,s=ne(),a=Ms(s.payload.state,r);if(a.value===void 0&&o){const i=o();if(Nt(i))return s.payload.state[r]=i,i;a.value=i}return a}const Ed={path:"/",watch:!0,decode:e=>Bt(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ta(e,t){var c;const n={...Ed,...t},o=Ld(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const s=r!==void 0&&r<=0,a=s?void 0:o[e]??((c=n.default)==null?void 0:c.call(n)),i=r&&!s?wd(a,r):fe(a);{const u=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),l=()=>{bd(e,i.value,n),u==null||u.postMessage(n.encode(i.value))};let f=!1;xs()&&$s(()=>{f=!0,l(),u==null||u.close()}),u&&(u.onmessage=d=>{f=!0,i.value=n.decode(d.data),Ot(()=>{f=!1})}),n.watch?Ue(i,()=>{f||l()},{deep:n.watch!=="shallow"}):l()}return i}function Ld(e={}){return Fl(document.cookie,e)}function vd(e,t,n={}){return t==null?yr(e,t,{...n,maxAge:-1}):yr(e,t,n)}function bd(e,t,n={}){document.cookie=vd(e,t,n)}const Br=2147483647;function wd(e,t){let n,o=0;return xs()&&$s(()=>{clearTimeout(n)}),vi((r,s)=>{function a(){clearTimeout(n);const i=t-o,c=i{if(o+=c,otypeof o=="string"?{id:o}:o);if(t.id){const{id:o,config:r,initCommands:s}=t;n.unshift({id:o,config:r,initCommands:s})}return n}const Cd=ge({parallel:!0,setup(){const e=Pn().public.gtag,t=Rd(e);if(!t.length||(Pd({tags:t}),e.initMode==="manual"))return;const n=e.loadingStrategy==="async"?"async":"defer";xl({script:[{src:$o(e.url,{id:t[0].id}),[n]:!0,"data-gtag":""}]})}}),kd=ge(()=>{});/*! - * shared v9.8.0 - * (c) 2023 kazuya kawaguchi - * Released under the MIT License. - */const go=typeof window<"u",ze=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Sd=(e,t,n)=>Od({l:e,k:t,s:n}),Od=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ie=e=>typeof e=="number"&&isFinite(e),Nd=e=>Ra(e)==="[object Date]",yn=e=>Ra(e)==="[object RegExp]",Nn=e=>j(e)&&Object.keys(e).length===0,ce=Object.assign;let Wr;const Ko=()=>Wr||(Wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kr(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Id=Object.prototype.hasOwnProperty;function Kt(e,t){return Id.call(e,t)}const se=Array.isArray,Q=e=>typeof e=="function",D=e=>typeof e=="string",ee=e=>typeof e=="boolean",W=e=>e!==null&&typeof e=="object",Ad=e=>W(e)&&Q(e.then)&&Q(e.catch),Pa=Object.prototype.toString,Ra=e=>Pa.call(e),j=e=>{if(!W(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Dd=e=>e==null?"":se(e)||j(e)&&e.toString===Pa?JSON.stringify(e,null,2):String(e);function Go(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function Xo(e){let t=e;return()=>++t}function Md(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const an=e=>!W(e)||se(e);function Ye(e,t){if(an(e)||an(t))throw new Error("Invalid value");for(const n in e)Kt(e,n)&&(an(e[n])||an(t[n])?t[n]=e[n]:Ye(e[n],t[n]))}/*! - * message-compiler v9.8.0 - * (c) 2023 kazuya kawaguchi - * Released under the MIT License. - */function xd(e,t,n){return{line:e,column:t,offset:n}}function _o(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const G={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function In(e,t,n={}){const{domain:o,messages:r,args:s}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=o,i}function $d(e){throw e}const Me=" ",Fd="\r",ue=` -`,Ud=String.fromCharCode(8232),Hd=String.fromCharCode(8233);function jd(e){const t=e;let n=0,o=1,r=1,s=0;const a=C=>t[C]===Fd&&t[C+1]===ue,i=C=>t[C]===ue,c=C=>t[C]===Hd,u=C=>t[C]===Ud,l=C=>a(C)||i(C)||c(C)||u(C),f=()=>n,d=()=>o,g=()=>r,y=()=>s,L=C=>a(C)||c(C)||u(C)?ue:t[C],b=()=>L(n),p=()=>L(n+s);function _(){return s=0,l(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function P(){return a(n+s)&&s++,s++,t[n+s]}function E(){n=0,o=1,r=1,s=0}function R(C=0){s=C}function k(){const C=n+s;for(;C!==n;)_();s=0}return{index:f,line:d,column:g,peekOffset:y,charAt:L,currentChar:b,currentPeek:p,next:_,peek:P,reset:E,resetPeek:R,skipToPeek:k}}const We=void 0,Vd=".",Gr="'",Bd="tokenizer";function Wd(e,t={}){const n=t.location!==!1,o=jd(e),r=()=>o.index(),s=()=>xd(o.line(),o.column(),o.index()),a=s(),i=r(),c={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function f(h,m,v,...I){const M=u();if(m.column+=v,m.offset+=v,l){const K=n?_o(M.startLoc,m):null,Re=In(h,K,{domain:Bd,args:I});l(Re)}}function d(h,m,v){h.endLoc=s(),h.currentType=m;const I={type:m};return n&&(I.loc=_o(h.startLoc,h.endLoc)),v!=null&&(I.value=v),I}const g=h=>d(h,14);function y(h,m){return h.currentChar()===m?(h.next(),m):(f(G.EXPECTED_TOKEN,s(),0,m),"")}function L(h){let m="";for(;h.currentPeek()===Me||h.currentPeek()===ue;)m+=h.currentPeek(),h.peek();return m}function b(h){const m=L(h);return h.skipToPeek(),m}function p(h){if(h===We)return!1;const m=h.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function _(h){if(h===We)return!1;const m=h.charCodeAt(0);return m>=48&&m<=57}function P(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function E(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()==="-"?h.peek():h.currentPeek(),M=_(I);return h.resetPeek(),M}function R(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()===Gr;return h.resetPeek(),I}function k(h,m){const{currentType:v}=m;if(v!==8)return!1;L(h);const I=h.currentPeek()===".";return h.resetPeek(),I}function C(h,m){const{currentType:v}=m;if(v!==9)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function V(h,m){const{currentType:v}=m;if(!(v===8||v===12))return!1;L(h);const I=h.currentPeek()===":";return h.resetPeek(),I}function Y(h,m){const{currentType:v}=m;if(v!==10)return!1;const I=()=>{const K=h.currentPeek();return K==="{"?p(h.peek()):K==="@"||K==="%"||K==="|"||K===":"||K==="."||K===Me||!K?!1:K===ue?(h.peek(),I()):p(K)},M=I();return h.resetPeek(),M}function S(h){L(h);const m=h.currentPeek()==="|";return h.resetPeek(),m}function $(h){const m=L(h),v=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:v,hasSpace:m.length>0}}function H(h,m=!0){const v=(M=!1,K="",Re=!1)=>{const Ae=h.currentPeek();return Ae==="{"?K==="%"?!1:M:Ae==="@"||!Ae?K==="%"?!0:M:Ae==="%"?(h.peek(),v(M,"%",!0)):Ae==="|"?K==="%"||Re?!0:!(K===Me||K===ue):Ae===Me?(h.peek(),v(!0,Me,Re)):Ae===ue?(h.peek(),v(!0,ue,Re)):!0},I=v();return m&&h.resetPeek(),I}function q(h,m){const v=h.currentChar();return v===We?We:m(v)?(h.next(),v):null}function re(h){return q(h,v=>{const I=v.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36})}function Te(h){return q(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57})}function je(h){return q(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102})}function ve(h){let m="",v="";for(;m=Te(h);)v+=m;return v}function Je(h){b(h);const m=h.currentChar();return m!=="%"&&f(G.EXPECTED_TOKEN,s(),0,m),h.next(),"%"}function _e(h){let m="";for(;;){const v=h.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(H(h))m+=v,h.next();else break;else if(v===Me||v===ue)if(H(h))m+=v,h.next();else{if(S(h))break;m+=v,h.next()}else m+=v,h.next()}return m}function Ve(h){b(h);let m="",v="";for(;m=re(h);)v+=m;return h.currentChar()===We&&f(G.UNTERMINATED_CLOSING_BRACE,s(),0),v}function pt(h){b(h);let m="";return h.currentChar()==="-"?(h.next(),m+=`-${ve(h)}`):m+=ve(h),h.currentChar()===We&&f(G.UNTERMINATED_CLOSING_BRACE,s(),0),m}function Ze(h){b(h),y(h,"'");let m="",v="";const I=K=>K!==Gr&&K!==ue;for(;m=q(h,I);)m==="\\"?v+=et(h):v+=m;const M=h.currentChar();return M===ue||M===We?(f(G.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),M===ue&&(h.next(),y(h,"'")),v):(y(h,"'"),v)}function et(h){const m=h.currentChar();switch(m){case"\\":case"'":return h.next(),`\\${m}`;case"u":return Ie(h,m,4);case"U":return Ie(h,m,6);default:return f(G.UNKNOWN_ESCAPE_SEQUENCE,s(),0,m),""}}function Ie(h,m,v){y(h,m);let I="";for(let M=0;MM!=="{"&&M!=="}"&&M!==Me&&M!==ue;for(;m=q(h,I);)v+=m;return v}function Pe(h){let m="",v="";for(;m=re(h);)v+=m;return v}function T(h){const m=(v=!1,I)=>{const M=h.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Me?I:M===ue||M===Vd?(I+=M,h.next(),m(v,I)):(I+=M,h.next(),m(!0,I))};return m(!1,"")}function A(h){b(h);const m=y(h,"|");return b(h),m}function N(h,m){let v=null;switch(h.currentChar()){case"{":return m.braceNest>=1&&f(G.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),h.next(),v=d(m,2,"{"),b(h),m.braceNest++,v;case"}":return m.braceNest>0&&m.currentType===2&&f(G.EMPTY_PLACEHOLDER,s(),0),h.next(),v=d(m,3,"}"),m.braceNest--,m.braceNest>0&&b(h),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),v;case"@":return m.braceNest>0&&f(G.UNTERMINATED_CLOSING_BRACE,s(),0),v=x(h,m)||g(m),m.braceNest=0,v;default:let M=!0,K=!0,Re=!0;if(S(h))return m.braceNest>0&&f(G.UNTERMINATED_CLOSING_BRACE,s(),0),v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(G.UNTERMINATED_CLOSING_BRACE,s(),0),m.braceNest=0,B(h,m);if(M=P(h,m))return v=d(m,5,Ve(h)),b(h),v;if(K=E(h,m))return v=d(m,6,pt(h)),b(h),v;if(Re=R(h,m))return v=d(m,7,Ze(h)),b(h),v;if(!M&&!K&&!Re)return v=d(m,13,Dt(h)),f(G.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,v.value),b(h),v;break}return v}function x(h,m){const{currentType:v}=m;let I=null;const M=h.currentChar();switch((v===8||v===9||v===12||v===10)&&(M===ue||M===Me)&&f(G.INVALID_LINKED_FORMAT,s(),0),M){case"@":return h.next(),I=d(m,8,"@"),m.inLinked=!0,I;case".":return b(h),h.next(),d(m,9,".");case":":return b(h),h.next(),d(m,10,":");default:return S(h)?(I=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,I):k(h,m)||V(h,m)?(b(h),x(h,m)):C(h,m)?(b(h),d(m,12,Pe(h))):Y(h,m)?(b(h),M==="{"?N(h,m)||I:d(m,11,T(h))):(v===8&&f(G.INVALID_LINKED_FORMAT,s(),0),m.braceNest=0,m.inLinked=!1,B(h,m))}}function B(h,m){let v={type:14};if(m.braceNest>0)return N(h,m)||g(m);if(m.inLinked)return x(h,m)||g(m);switch(h.currentChar()){case"{":return N(h,m)||g(m);case"}":return f(G.UNBALANCED_CLOSING_BRACE,s(),0),h.next(),d(m,3,"}");case"@":return x(h,m)||g(m);default:if(S(h))return v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;const{isModulo:M,hasSpace:K}=$(h);if(M)return K?d(m,0,_e(h)):d(m,4,Je(h));if(H(h))return d(m,0,_e(h));break}return v}function Z(){const{currentType:h,offset:m,startLoc:v,endLoc:I}=c;return c.lastType=h,c.lastOffset=m,c.lastStartLoc=v,c.lastEndLoc=I,c.offset=r(),c.startLoc=s(),o.currentChar()===We?d(c,14):B(o,c)}return{nextToken:Z,currentOffset:r,currentPosition:s,context:u}}const Kd="parser",Gd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Xd(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function Yd(e={}){const t=e.location!==!1,{onError:n}=e;function o(p,_,P,E,...R){const k=p.currentPosition();if(k.offset+=E,k.column+=E,n){const C=t?_o(P,k):null,V=In(_,C,{domain:Kd,args:R});n(V)}}function r(p,_,P){const E={type:p};return t&&(E.start=_,E.end=_,E.loc={start:P,end:P}),E}function s(p,_,P,E){E&&(p.type=E),t&&(p.end=_,p.loc&&(p.loc.end=P))}function a(p,_){const P=p.context(),E=r(3,P.offset,P.startLoc);return E.value=_,s(E,p.currentOffset(),p.currentPosition()),E}function i(p,_){const P=p.context(),{lastOffset:E,lastStartLoc:R}=P,k=r(5,E,R);return k.index=parseInt(_,10),p.nextToken(),s(k,p.currentOffset(),p.currentPosition()),k}function c(p,_){const P=p.context(),{lastOffset:E,lastStartLoc:R}=P,k=r(4,E,R);return k.key=_,p.nextToken(),s(k,p.currentOffset(),p.currentPosition()),k}function u(p,_){const P=p.context(),{lastOffset:E,lastStartLoc:R}=P,k=r(9,E,R);return k.value=_.replace(Gd,Xd),p.nextToken(),s(k,p.currentOffset(),p.currentPosition()),k}function l(p){const _=p.nextToken(),P=p.context(),{lastOffset:E,lastStartLoc:R}=P,k=r(8,E,R);return _.type!==12?(o(p,G.UNEXPECTED_EMPTY_LINKED_MODIFIER,P.lastStartLoc,0),k.value="",s(k,E,R),{nextConsumeToken:_,node:k}):(_.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,Ce(_)),k.value=_.value||"",s(k,p.currentOffset(),p.currentPosition()),{node:k})}function f(p,_){const P=p.context(),E=r(7,P.offset,P.startLoc);return E.value=_,s(E,p.currentOffset(),p.currentPosition()),E}function d(p){const _=p.context(),P=r(6,_.offset,_.startLoc);let E=p.nextToken();if(E.type===9){const R=l(p);P.modifier=R.node,E=R.nextConsumeToken||p.nextToken()}switch(E.type!==10&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(E)),E=p.nextToken(),E.type===2&&(E=p.nextToken()),E.type){case 11:E.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(E)),P.key=f(p,E.value||"");break;case 5:E.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(E)),P.key=c(p,E.value||"");break;case 6:E.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(E)),P.key=i(p,E.value||"");break;case 7:E.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(E)),P.key=u(p,E.value||"");break;default:o(p,G.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const R=p.context(),k=r(7,R.offset,R.startLoc);return k.value="",s(k,R.offset,R.startLoc),P.key=k,s(P,R.offset,R.startLoc),{nextConsumeToken:E,node:P}}return s(P,p.currentOffset(),p.currentPosition()),{node:P}}function g(p){const _=p.context(),P=_.currentType===1?p.currentOffset():_.offset,E=_.currentType===1?_.endLoc:_.startLoc,R=r(2,P,E);R.items=[];let k=null;do{const Y=k||p.nextToken();switch(k=null,Y.type){case 0:Y.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(Y)),R.items.push(a(p,Y.value||""));break;case 6:Y.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(Y)),R.items.push(i(p,Y.value||""));break;case 5:Y.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(Y)),R.items.push(c(p,Y.value||""));break;case 7:Y.value==null&&o(p,G.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ce(Y)),R.items.push(u(p,Y.value||""));break;case 8:const S=d(p);R.items.push(S.node),k=S.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const C=_.currentType===1?_.lastOffset:p.currentOffset(),V=_.currentType===1?_.lastEndLoc:p.currentPosition();return s(R,C,V),R}function y(p,_,P,E){const R=p.context();let k=E.items.length===0;const C=r(1,_,P);C.cases=[],C.cases.push(E);do{const V=g(p);k||(k=V.items.length===0),C.cases.push(V)}while(R.currentType!==14);return k&&o(p,G.MUST_HAVE_MESSAGES_IN_PLURAL,P,0),s(C,p.currentOffset(),p.currentPosition()),C}function L(p){const _=p.context(),{offset:P,startLoc:E}=_,R=g(p);return _.currentType===14?R:y(p,P,E,R)}function b(p){const _=Wd(p,ce({},e)),P=_.context(),E=r(0,P.offset,P.startLoc);return t&&E.loc&&(E.loc.source=p),E.body=L(_),e.onCacheKey&&(E.cacheKey=e.onCacheKey(p)),P.currentType!==14&&o(_,G.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,p[P.offset]||""),s(E,_.currentOffset(),_.currentPosition()),E}return{parse:b}}function Ce(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function qd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Xr(e,t){for(let n=0;nYr(n)),e}function Yr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function u(b,p){i.code+=b}function l(b,p=!0){const _=p?r:"";u(s?_+" ".repeat(b):_)}function f(b=!0){const p=++i.indentLevel;b&&l(p)}function d(b=!0){const p=--i.indentLevel;b&&l(p)}function g(){l(i.indentLevel)}return{context:c,push:u,indent:f,deindent:d,newline:g,helper:b=>`_${b}`,needIndent:()=>i.needIndent}}function Zd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wt(e,t.key),t.modifier?(e.push(", "),wt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ep(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s{const n=D(t.mode)?t.mode:"normal",o=D(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],c=Jd(e,{mode:n,filename:o,sourceMap:r,breakLineCode:s,needIndent:a});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),i.length>0&&(c.push(`const { ${Go(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),c.newline()),c.push("return "),wt(c,e),c.deindent(a),c.push("}"),delete e.helpers;const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function rp(e,t={}){const n=ce({},t),o=!!n.jit,r=!!n.minify,s=n.optimize==null?!0:n.optimize,i=Yd(n).parse(e);return o?(s&&Qd(i),r&&yt(i),{ast:i,code:""}):(zd(i,n),op(i,n))}/*! - * core-base v9.8.0 - * (c) 2023 kazuya kawaguchi - * Released under the MIT License. - */function sp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qe=[];Qe[0]={w:[0],i:[3,0],"[":[4],o:[7]};Qe[1]={w:[1],".":[2],"[":[4],o:[7]};Qe[2]={w:[2],i:[3,0],0:[3,0]};Qe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Qe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Qe[5]={"'":[4,0],o:8,l:[5,0]};Qe[6]={'"':[4,0],o:8,l:[6,0]};const ap=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ip(e){return ap.test(e)}function cp(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function lp(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function up(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ip(t)?cp(t):"*"+t}function fp(e){const t=[];let n=-1,o=0,r=0,s,a,i,c,u,l,f;const d=[];d[0]=()=>{a===void 0?a=i:a+=i},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,o=4,d[0]();else{if(r=0,a===void 0||(a=up(a),a===!1))return!1;d[1]()}};function g(){const y=e[n+1];if(o===5&&y==="'"||o===6&&y==='"')return n++,i="\\"+y,d[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(c=lp(s),f=Qe[o],u=f[c]||f.l||8,u===8||(o=u[0],u[1]!==void 0&&(l=d[u[1]],l&&(i=s,l()===!1))))return;if(o===7)return t}}const qr=new Map;function dp(e,t){return W(e)?e[t]:null}function pp(e,t){if(!W(e))return null;let n=qr.get(t);if(n||(n=fp(t),n&&qr.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;se,mp=e=>"",gp="text",_p=e=>e.length===0?"":Go(e),yp=Dd;function zr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ep(e){const t=ie(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ie(e.named.count)||ie(e.named.n))?ie(e.named.count)?e.named.count:ie(e.named.n)?e.named.n:t:t}function Lp(e,t){t.count||(t.count=e),t.n||(t.n=e)}function vp(e={}){const t=e.locale,n=Ep(e),o=W(e.pluralRules)&&D(t)&&Q(e.pluralRules[t])?e.pluralRules[t]:zr,r=W(e.pluralRules)&&D(t)&&Q(e.pluralRules[t])?zr:void 0,s=p=>p[o(n,p.length,r)],a=e.list||[],i=p=>a[p],c=e.named||{};ie(e.pluralIndex)&&Lp(n,c);const u=p=>c[p];function l(p){const _=Q(e.messages)?e.messages(p):W(e.messages)?e.messages[p]:!1;return _||(e.parent?e.parent.message(p):mp)}const f=p=>e.modifiers?e.modifiers[p]:hp,d=j(e.processor)&&Q(e.processor.normalize)?e.processor.normalize:_p,g=j(e.processor)&&Q(e.processor.interpolate)?e.processor.interpolate:yp,y=j(e.processor)&&D(e.processor.type)?e.processor.type:gp,b={list:i,named:u,plural:s,linked:(p,..._)=>{const[P,E]=_;let R="text",k="";_.length===1?W(P)?(k=P.modifier||k,R=P.type||R):D(P)&&(k=P||k):_.length===2&&(D(P)&&(k=P||k),D(E)&&(R=E||R));const C=l(p)(b),V=R==="vnode"&&se(C)&&k?C[0]:C;return k?f(k)(V,R):V},message:l,type:y,interpolate:g,normalize:d,values:ce({},a,c)};return b}let Gt=null;function bp(e){Gt=e}function wp(e,t,n){Gt&&Gt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Tp=Pp("function:translate");function Pp(e){return t=>Gt&&Gt.emit(e,t)}const Rp={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ca=G.__EXTEND_POINT__,nt=Xo(Ca),Oe={INVALID_ARGUMENT:Ca,INVALID_DATE_ARGUMENT:nt(),INVALID_ISO_DATE_ARGUMENT:nt(),NOT_SUPPORT_NON_STRING_MESSAGE:nt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:nt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:nt(),NOT_SUPPORT_LOCALE_TYPE:nt(),__EXTEND_POINT__:nt()};function $e(e){return In(e,null,void 0)}function qo(e,t){return t.locale!=null?Qr(t.locale):Qr(e.locale)}let Yn;function Qr(e){if(D(e))return e;if(Q(e)){if(e.resolvedOnce&&Yn!=null)return Yn;if(e.constructor.name==="Function"){const t=e();if(Ad(t))throw $e(Oe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Yn=t}else throw $e(Oe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $e(Oe.NOT_SUPPORT_LOCALE_TYPE)}function Cp(e,t,n){return[...new Set([n,...se(t)?t:W(t)?Object.keys(t):D(t)?[t]:[n]])]}function ka(e,t,n){const o=D(n)?n:En,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(o);if(!s){s=[];let a=[n];for(;se(a);)a=Jr(s,a,t);const i=se(t)||!j(t)?t:t.default?t.default:null;a=D(i)?[i]:i,se(a)&&Jr(s,a,!1),r.__localeChainCache.set(o,s)}return s}function Jr(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Np(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&W(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&W(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?es(e):t==="vnode"&&W(e)&&"__v_isVNode"in e?es(e.children):e}}let Sa;function Ip(e){Sa=e}let Oa;function Ap(e){Oa=e}let Na;function Dp(e){Na=e}let Ia=null;const Mp=e=>{Ia=e},xp=()=>Ia;let Aa=null;const ts=e=>{Aa=e},$p=()=>Aa;let ns=0;function Fp(e={}){const t=Q(e.onWarn)?e.onWarn:Md,n=D(e.version)?e.version:Op,o=D(e.locale)||Q(e.locale)?e.locale:En,r=Q(o)?En:o,s=se(e.fallbackLocale)||j(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=j(e.messages)?e.messages:{[r]:{}},i=j(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},c=j(e.numberFormats)?e.numberFormats:{[r]:{}},u=ce({},e.modifiers||{},Np()),l=e.pluralRules||{},f=Q(e.missing)?e.missing:null,d=ee(e.missingWarn)||yn(e.missingWarn)?e.missingWarn:!0,g=ee(e.fallbackWarn)||yn(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,L=!!e.unresolving,b=Q(e.postTranslation)?e.postTranslation:null,p=j(e.processor)?e.processor:null,_=ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,P=!!e.escapeParameter,E=Q(e.messageCompiler)?e.messageCompiler:Sa,R=Q(e.messageResolver)?e.messageResolver:Oa||dp,k=Q(e.localeFallbacker)?e.localeFallbacker:Na||Cp,C=W(e.fallbackContext)?e.fallbackContext:void 0,V=e,Y=W(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,S=W(V.__numberFormatters)?V.__numberFormatters:new Map,$=W(V.__meta)?V.__meta:{};ns++;const H={version:n,cid:ns,locale:o,fallbackLocale:s,messages:a,modifiers:u,pluralRules:l,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:y,unresolving:L,postTranslation:b,processor:p,warnHtmlMessage:_,escapeParameter:P,messageCompiler:E,messageResolver:R,localeFallbacker:k,fallbackContext:C,onWarn:t,__meta:$};return H.datetimeFormats=i,H.numberFormats=c,H.__datetimeFormatters=Y,H.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&wp(H,n,$),H}function zo(e,t,n,o,r){const{missing:s,onWarn:a}=e;if(s!==null){const i=s(e,n,t,r);return D(i)?i:t}else return t}function xt(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function qn(e){return n=>Up(n,e)}function Up(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((s,a)=>[...s,os(e,a)],[]))}else return os(e,n)}function os(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,s)=>[...r,yo(e,s)],[]);return e.normalize(o)}}function yo(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const s=t;return e.interpolate(e.named(s.k||s.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const i=t,c=i.m||i.modifier;return e.linked(yo(e,i.k||i.key),c?yo(e,c):void 0,e.type);case 7:const u=t;return u.v||u.value;case 8:const l=t;return l.v||l.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Hp=e=>e;let cn=Object.create(null);const Tt=e=>W(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function jp(e,t={}){let n=!1;const o=t.onError||$d;return t.onError=r=>{n=!0,o(r)},{...rp(e,t),detectError:n}}function Vp(e,t){if(D(e)){ee(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Hp)(e),r=cn[o];if(r)return r;const{ast:s,detectError:a}=jp(e,{...t,location:!1,jit:!0}),i=qn(s);return a?i:cn[o]=i}else{const n=e.cacheKey;if(n){const o=cn[n];return o||(cn[n]=qn(e))}else return qn(e)}}const rs=()=>"",ye=e=>Q(e);function ss(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:s,fallbackLocale:a,messages:i}=e,[c,u]=Eo(...t),l=ee(u.missingWarn)?u.missingWarn:e.missingWarn,f=ee(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ee(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,y=D(u.default)||ee(u.default)?ee(u.default)?s?c:()=>c:u.default:n?s?c:()=>c:"",L=n||y!=="",b=qo(e,u);d&&Bp(u);let[p,_,P]=g?[c,b,i[b]||{}]:Da(e,c,b,a,f,l),E=p,R=c;if(!g&&!(D(E)||Tt(E)||ye(E))&&L&&(E=y,R=E),!g&&(!(D(E)||Tt(E)||ye(E))||!D(_)))return r?An:c;let k=!1;const C=()=>{k=!0},V=ye(E)?E:Ma(e,c,_,E,R,C);if(k)return E;const Y=Gp(e,_,P,u),S=vp(Y),$=Wp(e,V,S),H=o?o($,c):$;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:D(c)?c:ye(E)?E.key:"",locale:_||(ye(E)?E.locale:""),format:D(E)?E:ye(E)?E.source:"",message:H};q.meta=ce({},e.__meta,xp()||{}),Tp(q)}return H}function Bp(e){se(e.list)?e.list=e.list.map(t=>D(t)?Kr(t):t):W(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=Kr(e.named[t]))})}function Da(e,t,n,o,r,s){const{messages:a,onWarn:i,messageResolver:c,localeFallbacker:u}=e,l=u(e,o,n);let f={},d,g=null;const y="translate";for(let L=0;Lo;return u.locale=n,u.key=t,u}const c=a(o,Kp(e,n,r,o,i,s));return c.locale=n,c.key=t,c.source=o,c}function Wp(e,t,n){return t(n)}function Eo(...e){const[t,n,o]=e,r={};if(!D(t)&&!ie(t)&&!ye(t)&&!Tt(t))throw $e(Oe.INVALID_ARGUMENT);const s=ie(t)?String(t):(ye(t),t);return ie(n)?r.plural=n:D(n)?r.default=n:j(n)&&!Nn(n)?r.named=n:se(n)&&(r.list=n),ie(o)?r.plural=o:D(o)?r.default=o:j(o)&&ce(r,o),[s,r]}function Kp(e,t,n,o,r,s){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw s&&s(a),a},onCacheKey:a=>Sd(t,n,a)}}function Gp(e,t,n,o){const{modifiers:r,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:l}=e,d={locale:t,modifiers:r,pluralRules:s,messages:g=>{let y=a(n,g);if(y==null&&l){const[,,L]=Da(l,g,t,i,c,u);y=a(L,g)}if(D(y)||Tt(y)){let L=!1;const p=Ma(e,g,t,y,g,()=>{L=!0});return L?rs:p}else return ye(y)?y:rs}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),ie(o.plural)&&(d.pluralIndex=o.plural),d}function as(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[c,u,l,f]=Lo(...t),d=ee(l.missingWarn)?l.missingWarn:e.missingWarn;ee(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,y=qo(e,l),L=a(e,r,y);if(!D(c)||c==="")return new Intl.DateTimeFormat(y,f).format(u);let b={},p,_=null;const P="datetime format";for(let k=0;k{xa.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:j(o)&&(a=o),j(r)&&(a=r),[s.key||"",i,s,a]}function is(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function cs(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e,[c,u,l,f]=vo(...t),d=ee(l.missingWarn)?l.missingWarn:e.missingWarn;ee(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,y=qo(e,l),L=a(e,r,y);if(!D(c)||c==="")return new Intl.NumberFormat(y,f).format(u);let b={},p,_=null;const P="number format";for(let k=0;k{$a.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:j(o)&&(a=o),j(r)&&(a=r),[s.key||"",i,s,a]}function ls(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}sp();/*! - * vue-i18n v9.8.0 - * (c) 2023 kazuya kawaguchi - * Released under the MIT License. - */const Xp="9.8.0";function Yp(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ko().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fa=Rp.__EXTEND_POINT__,Ke=Xo(Fa);Ke(),Ke(),Ke(),Ke(),Ke(),Ke(),Ke(),Ke();const Ua=Oe.__EXTEND_POINT__,pe=Xo(Ua),Le={UNEXPECTED_RETURN_TYPE:Ua,INVALID_ARGUMENT:pe(),MUST_BE_CALL_SETUP_TOP:pe(),NOT_INSTALLED:pe(),NOT_AVAILABLE_IN_LEGACY_MODE:pe(),REQUIRED_VALUE:pe(),INVALID_VALUE:pe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:pe(),NOT_INSTALLED_WITH_PROVIDE:pe(),UNEXPECTED_ERROR:pe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:pe(),BRIDGE_SUPPORT_VUE_2_ONLY:pe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:pe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:pe(),__EXTEND_POINT__:pe()};function we(e,...t){return In(e,null,void 0)}const bo=ze("__translateVNode"),wo=ze("__datetimeParts"),To=ze("__numberParts"),qp=ze("__setPluralRules"),zp=ze("__injectWithOption"),Po=ze("__dispose");function Xt(e){if(!W(e))return e;for(const t in e)if(Kt(e,t))if(!t.includes("."))W(e[t])&&Xt(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,s=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:c,resource:u}=i;c?(a[c]=a[c]||{},Ye(u,a[c])):Ye(u,a)}else D(i)&&Ye(JSON.parse(i),a)}),r==null&&s)for(const i in a)Kt(a,i)&&Xt(a[i]);return a}function ja(e){return e.type}function Qp(e,t,n){let o=W(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Ha(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(W(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(W(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function us(e){return Us(Pi,null,e,0)}const fs="__INTLIFY_META__",ds=()=>[],Jp=()=>!1;let ps=0;function hs(e){return(t,n,o,r)=>e(n,o,Jt()||void 0,r)}const Zp=()=>{const e=Jt();let t=null;return e&&(t=ja(e)[fs])?{[fs]:t}:null};function Va(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,s=e.flatJson;let a=ee(e.inheritLocale)?e.inheritLocale:!0;const i=fe(n&&a?n.locale.value:D(e.locale)?e.locale:En),c=fe(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||se(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),u=fe(Ha(i.value,e)),l=fe(j(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=fe(j(e.numberFormats)?e.numberFormats:{[i.value]:{}});let d=n?n.missingWarn:ee(e.missingWarn)||yn(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:ee(e.fallbackWarn)||yn(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:ee(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,b=Q(e.missing)?e.missing:null,p=Q(e.missing)?hs(e.missing):null,_=Q(e.postTranslation)?e.postTranslation:null,P=n?n.warnHtmlMessage:ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const R=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,C;C=(()=>{r&&ts(null);const w={version:Xp,locale:i.value,fallbackLocale:c.value,messages:u.value,modifiers:R,pluralRules:k,missing:p===null?void 0:p,missingWarn:d,fallbackWarn:g,fallbackFormat:L,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:P,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};w.datetimeFormats=l.value,w.numberFormats=f.value,w.__datetimeFormatters=j(C)?C.__datetimeFormatters:void 0,w.__numberFormatters=j(C)?C.__numberFormatters:void 0;const O=Fp(w);return r&&ts(O),O})(),xt(C,i.value,c.value);function Y(){return[i.value,c.value,u.value,l.value,f.value]}const S=te({get:()=>i.value,set:w=>{i.value=w,C.locale=i.value}}),$=te({get:()=>c.value,set:w=>{c.value=w,C.fallbackLocale=c.value,xt(C,i.value,w)}}),H=te(()=>u.value),q=te(()=>l.value),re=te(()=>f.value);function Te(){return Q(_)?_:null}function je(w){_=w,C.postTranslation=w}function ve(){return b}function Je(w){w!==null&&(p=hs(w)),b=w,C.missing=p}const _e=(w,O,z,oe,tt,tn)=>{Y();let ht;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=n?$p():void 0),ht=w(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if(z!=="translate exists"&&ie(ht)&&ht===An||z==="translate exists"&&!ht){const[hi,Lg]=O();return n&&y?oe(n):tt(hi)}else{if(tn(ht))return ht;throw we(Le.UNEXPECTED_RETURN_TYPE)}};function Ve(...w){return _e(O=>Reflect.apply(ss,null,[O,...w]),()=>Eo(...w),"translate",O=>Reflect.apply(O.t,O,[...w]),O=>O,O=>D(O))}function pt(...w){const[O,z,oe]=w;if(oe&&!W(oe))throw we(Le.INVALID_ARGUMENT);return Ve(O,z,ce({resolvedMessage:!0},oe||{}))}function Ze(...w){return _e(O=>Reflect.apply(as,null,[O,...w]),()=>Lo(...w),"datetime format",O=>Reflect.apply(O.d,O,[...w]),()=>Zr,O=>D(O))}function et(...w){return _e(O=>Reflect.apply(cs,null,[O,...w]),()=>vo(...w),"number format",O=>Reflect.apply(O.n,O,[...w]),()=>Zr,O=>D(O))}function Ie(w){return w.map(O=>D(O)||ie(O)||ee(O)?us(String(O)):O)}const Pe={normalize:Ie,interpolate:w=>w,type:"vnode"};function T(...w){return _e(O=>{let z;const oe=O;try{oe.processor=Pe,z=Reflect.apply(ss,null,[oe,...w])}finally{oe.processor=null}return z},()=>Eo(...w),"translate",O=>O[bo](...w),O=>[us(O)],O=>se(O))}function A(...w){return _e(O=>Reflect.apply(cs,null,[O,...w]),()=>vo(...w),"number format",O=>O[To](...w),ds,O=>D(O)||se(O))}function N(...w){return _e(O=>Reflect.apply(as,null,[O,...w]),()=>Lo(...w),"datetime format",O=>O[wo](...w),ds,O=>D(O)||se(O))}function x(w){k=w,C.pluralRules=k}function B(w,O){return _e(()=>{if(!w)return!1;const z=D(O)?O:i.value,oe=m(z),tt=C.messageResolver(oe,w);return Tt(tt)||ye(tt)||D(tt)},()=>[w],"translate exists",z=>Reflect.apply(z.te,z,[w,O]),Jp,z=>ee(z))}function Z(w){let O=null;const z=ka(C,c.value,i.value);for(let oe=0;oe{a&&(i.value=w,C.locale=w,xt(C,i.value,c.value))}),Ue(n.fallbackLocale,w=>{a&&(c.value=w,C.fallbackLocale=w,xt(C,i.value,c.value))}));const ae={id:ps,locale:S,fallbackLocale:$,get inheritLocale(){return a},set inheritLocale(w){a=w,w&&n&&(i.value=n.locale.value,c.value=n.fallbackLocale.value,xt(C,i.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:H,get modifiers(){return R},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(w){d=w,C.missingWarn=d},get fallbackWarn(){return g},set fallbackWarn(w){g=w,C.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(w){y=w},get fallbackFormat(){return L},set fallbackFormat(w){L=w,C.fallbackFormat=L},get warnHtmlMessage(){return P},set warnHtmlMessage(w){P=w,C.warnHtmlMessage=w},get escapeParameter(){return E},set escapeParameter(w){E=w,C.escapeParameter=w},t:Ve,getLocaleMessage:m,setLocaleMessage:v,mergeLocaleMessage:I,getPostTranslationHandler:Te,setPostTranslationHandler:je,getMissingHandler:ve,setMissingHandler:Je,[qp]:x};return ae.datetimeFormats=q,ae.numberFormats=re,ae.rt=pt,ae.te=B,ae.tm=h,ae.d=Ze,ae.n=et,ae.getDateTimeFormat=M,ae.setDateTimeFormat=K,ae.mergeDateTimeFormat=Re,ae.getNumberFormat=Ae,ae.setNumberFormat=di,ae.mergeNumberFormat=pi,ae[zp]=o,ae[bo]=T,ae[wo]=N,ae[To]=A,ae}const Qo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function eh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===Fs?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function Ba(e){return Fs}const th=ct({name:"i18n-t",props:ce({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ie(e)||!isNaN(e)}},Qo),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Dn({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=D(e.plural)?+e.plural:e.plural);const i=eh(t,s),c=r[bo](e.keypath,i,a),u=ce({},o),l=D(e.tag)||W(e.tag)?e.tag:Ba();return Ne(l,u,c)}}}),ms=th;function nh(e){return se(e)&&!D(e[0])}function Wa(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),D(e.format)?a.key=e.format:W(e.format)&&(D(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((d,g)=>n.includes(g)?ce({},d,{[g]:e.format[g]}):d,{}));const c=o(e.value,a,i);let u=[a.key];se(c)?u=c.map((d,g)=>{const y=r[d.type],L=y?y({[d.type]:d.value,index:g,parts:c}):[d.value];return nh(L)&&(L[0].key=`${d.type}-${g}`),L}):D(c)&&(u=[c]);const l=ce({},s),f=D(e.tag)||W(e.tag)?e.tag:Ba();return Ne(f,l,u)}}const oh=ct({name:"i18n-n",props:ce({value:{type:Number,required:!0},format:{type:[String,Object]}},Qo),setup(e,t){const n=e.i18n||Dn({useScope:"parent",__useComponent:!0});return Wa(e,t,$a,(...o)=>n[To](...o))}}),gs=oh,rh=ct({name:"i18n-d",props:ce({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Qo),setup(e,t){const n=e.i18n||Dn({useScope:"parent",__useComponent:!0});return Wa(e,t,xa,(...o)=>n[wo](...o))}}),_s=rh;function sh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function ah(e){const t=a=>{const{instance:i,modifiers:c,value:u}=a;if(!i||!i.$)throw we(Le.UNEXPECTED_ERROR);const l=sh(e,i.$),f=ys(u);return[Reflect.apply(l.t,l,[...Es(f)]),l]};return{created:(a,i)=>{const[c,u]=t(i);go&&e.global===u&&(a.__i18nWatcher=Ue(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=u,a.textContent=c},unmounted:a=>{go&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const c=a.__composer,u=ys(i);a.textContent=Reflect.apply(c.t,c,[...Es(u)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function ys(e){if(D(e))return{path:e};if(j(e)){if(!("path"in e))throw we(Le.REQUIRED_VALUE,"path");return e}else throw we(Le.INVALID_VALUE)}function Es(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,a={},i=o||{};return D(n)&&(a.locale=n),ie(r)&&(a.plural=r),ie(s)&&(a.plural=s),[t,i,a]}function ih(e,t,...n){const o=j(n[0])?n[0]:{},r=!!o.useI18nComponentName;(ee(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":ms.name,"I18nT"].forEach(a=>e.component(a,ms)),[gs.name,"I18nN"].forEach(a=>e.component(a,gs)),[_s.name,"I18nD"].forEach(a=>e.component(a,_s))),e.directive("t",ah(t))}const ch=ze("global-vue-i18n");function lh(e={},t){const n=ee(e.globalInjection)?e.globalInjection:!0,o=!0,r=new Map,[s,a]=uh(e),i=ze("");function c(f){return r.get(f)||null}function u(f,d){r.set(f,d)}function l(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return o},async install(d,...g){if(d.__VUE_I18N_SYMBOL__=i,d.provide(d.__VUE_I18N_SYMBOL__,f),j(g[0])){const b=g[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let y=null;n&&(y=yh(d,f.global)),ih(d,f,...g);const L=d.unmount;d.unmount=()=>{y&&y(),f.dispose(),L()}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:l};return f}}function Dn(e={}){const t=Jt();if(t==null)throw we(Le.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw we(Le.NOT_INSTALLED);const n=fh(t),o=ph(n),r=ja(t),s=dh(e,r);if(s==="global")return Qp(o,e,r),o;if(s==="parent"){let c=hh(n,t,e.__useComponent);return c==null&&(c=o),c}const a=n;let i=a.__getInstance(t);if(i==null){const c=ce({},e);"__i18n"in r&&(c.__i18n=r.__i18n),o&&(c.__root=o),i=Va(c),a.__composerExtend&&(i[Po]=a.__composerExtend(i)),gh(a,t,i),a.__setInstance(t,i)}return i}function uh(e,t,n){const o=Mo();{const r=o.run(()=>Va(e));if(r==null)throw we(Le.UNEXPECTED_ERROR);return[o,r]}}function fh(e){{const t=Ee(e.isCE?ch:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw we(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return t}}function dh(e,t){return Nn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ph(e){return e.mode==="composition"?e.global:e.global.__composer}function hh(e,t,n=!1){let o=null;const r=t.root;let s=mh(t,n);for(;s!=null;){const a=e;if(e.mode==="composition"&&(o=a.__getInstance(s)),o!=null||r===s)break;s=s.parent}return o}function mh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function gh(e,t,n){wi(()=>{},t),Ti(()=>{const o=n;e.__deleteInstance(t);const r=o[Po];r&&(r(),delete o[Po])},t)}const _h=["locale","fallbackLocale","availableLocales"],Ls=["t","rt","d","n","tm","te"];function yh(e,t){const n=Object.create(null);return _h.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw we(Le.UNEXPECTED_ERROR);const a=Nt(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Ls.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw we(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ls.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}Yp();Ip(Vp);Ap(pp);Dp(ka);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ko();e.__INTLIFY__=!0,bp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Eh=!0,Ka={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},Lh="",vh=Ka.PREFIX_EXCEPT_DEFAULT,bh=!1,wh="___",Th="default",Ph="ltr",Rh="",Ga="";/*! - * shared v9.4.1 - * (c) 2023 kazuya kawaguchi - * Released under the MIT License. - */const Ch=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Mn=Object.assign,kh=Array.isArray,Ro=e=>typeof e=="function",Pt=e=>typeof e=="string",Sh=e=>typeof e=="symbol",Jo=e=>e!==null&&typeof e=="object",Xa=/\+/g;function Ya(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Oh(e){return Ya(e.replace(Xa," "))}function Nh(e){return Ya(e.replace(Xa," "))}function Ih(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Oh(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=Nh(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}const Ah=/\/$|\/\?/;function Co(e="",t=!1){return t?Ah.test(e):e.endsWith("/")}function Dh(e="",t=!1){if(!t)return(Co(e)?e.slice(0,-1):e)||"/";if(!Co(e,!0))return e||"/";const[n,...o]=e.split("?");return(n.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function Mh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Co(e,!0))return e||"/";const[n,...o]=e.split("?");return n+"/"+(o.length>0?`?${o.join("?")}`:"")}function xh(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}const $h=typeof window<"u";function qa(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function Fh(e){e=e||[];const t=[];for(const n of e)Pt(n)?t.push({code:n}):t.push(n);return t}function ut(e){return e!=null&&"global"in e&&"mode"in e}function At(e){return e!=null&&!("__composer"in e)&&Nt(e.locale)}function ft(e){return e!=null&&"__composer"in e}function Zt(e){return e!=null&&!("__composer"in e)&&!Nt(e.locale)}function xn(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function Yt(e){return ut(e)?At(e.global)?e.global:e.global.__composer:ft(e)?e.__composer:e}function $n(e){const t=ut(e)?e.global:e;return At(t)?t.locale.value:(Zt(t)||ft(t)||xn(t),t.locale)}function Uh(e){const t=ut(e)?e.global:e;return At(t)?t.locales.value:(Zt(t)||ft(t)||xn(t),t.locales)}function Hh(e){const t=ut(e)?e.global:e;return At(t)?t.localeCodes.value:(Zt(t)||ft(t)||xn(t),t.localeCodes)}function za(e,t){const n=ut(e)?e.global:e;if(At(n))n.locale.value=t;else if(Zt(n)||ft(n)||xn(n))n.locale=t;else throw new Error("TODO:")}function Qa(e){return Pt(e)?e:Sh(e)?e.toString():"(null)"}function vs(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:r,defaultLocaleRouteNameSuffix:s}){let a=Qa(e)+(o==="no_prefix"?"":r+t);return t===n&&o==="prefix_and_default"&&(a+=r+s),a}function bs(e,t){return Ro(e)?e(t):e}function jh(e,t){const n=[];for(const[o,r]of t.entries()){const s=e.find(a=>a.iso.toLowerCase()===r.toLowerCase());if(s){n.push({code:s.code,score:1-o/t.length});break}}for(const[o,r]of t.entries()){const s=r.split("-")[0].toLowerCase(),a=e.find(i=>i.iso.split("-")[0].toLowerCase()===s);if(a){n.push({code:a.code,score:.999-o/t.length});break}}return n}const Vh=jh;function Bh(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Wh=Bh;function Kh(e,t,{matcher:n=Vh,comparer:o=Wh}={}){const r=[];for(const a of e){const{code:i}=a,c=a.iso||i;r.push({code:i,iso:c})}const s=n(r,t);return s.length>1&&s.sort(o),s.length?s[0].code:""}function ot(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function Gh(e,{locales:t=[],localeCodes:n=[],baseUrl:o=Rh,hooks:r={},context:s={}}={}){const a=Mo(),i=e.install;return e.install=(c,...u)=>{const l=qh(u[0])?Mn({},u[0]):{inject:!0};l.inject==null&&(l.inject=!0);const f=l.__composerExtend;if(l.__composerExtend=L=>{const b=Yt(e);L.locales=te(()=>b.locales.value),L.localeCodes=te(()=>b.localeCodes.value),L.baseUrl=te(()=>b.baseUrl.value);let p;return Ro(f)&&(p=Reflect.apply(f,l,[L])),()=>{p&&p()}},e.mode==="legacy"){const L=l.__vueI18nExtend;l.__vueI18nExtend=b=>{ws(b,r.onExtendVueI18n);let p;return Ro(L)&&(p=Reflect.apply(L,l,[b])),()=>{p&&p()}}}u[0]=l,Reflect.apply(i,e,[c,...u]);const d=Yt(e);a.run(()=>{Xh(d,{locales:t,localeCodes:n,baseUrl:o,hooks:r,context:s}),e.mode==="legacy"&&ft(e.global)&&ws(e.global,r.onExtendVueI18n)});const g=c,y=e.mode==="composition"?g.config.globalProperties.$i18n:null;if(y&&Yh(y,d,r.onExtendExportedGlobal),l.inject&&c.mixin({methods:{resolveRoute:ot(Fn),localePath:ot(Zo),localeRoute:ot(er),localeLocation:ot(sm),switchLocalePath:ot(qt),getRouteBaseName:ot(Rt),localeHead:ot(ti)}}),g.unmount){const L=g.unmount;g.unmount=()=>{a.stop(),L()}}},a}function Xh(e,t){const{locales:n,localeCodes:o,baseUrl:r,context:s}=t,a=fe(n),i=fe(o),c=fe("");e.locales=te(()=>a.value),e.localeCodes=te(()=>i.value),e.baseUrl=te(()=>c.value),$h?Ue(e.locale,()=>{c.value=bs(r,s)},{immediate:!0}):c.value=bs(r,s),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Ja(e,t,n){const o=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&o.push(n(e));for(const r of o)for(const[s,a]of Object.entries(r))Object.defineProperty(t,s,a)}function Yh(e,t,n){Ja(t,e,n)}function ws(e,t){const n=Yt(e);Ja(n,e,t)}function qh(e){return Jo(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const ko=Ch("vue-i18n-routing-gor");function zh(e,t){e[ko]?qa("already registered global options"):e[ko]=t}function Qh(e){return e[ko]??{}}function So(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Jh(e,t,n){const o=`(${e.join("|")})`,r=`(?:${t}${n})?`,s=new RegExp(`${t}${o}${r}$`,"i"),a=So(e);return c=>{if(Jo(c)){if(c.name){const l=(Pt(c.name)?c.name:c.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(c.path){const u=c.path.match(a);if(u&&u.length>1)return u[1]}}else if(Pt(c)){const u=c.match(a);if(u&&u.length>1)return u[1]}return""}}function en(e,t,{defaultLocale:n=Lh,defaultDirection:o=Ph,defaultLocaleRouteNameSuffix:r=Th,routesNameSeparator:s=wh,strategy:a=vh,trailingSlash:i=bh,localeCodes:c=[],prefixable:u=Za,switchLocalePathIntercepter:l=ei,dynamicRouteParamsKey:f=Ga}={}){const d=Qh(e);return{defaultLocale:t.defaultLocale||d.defaultLocale||n,defaultDirection:t.defaultDirection||d.defaultDirection||o,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||d.defaultLocaleRouteNameSuffix||r,routesNameSeparator:t.routesNameSeparator||d.routesNameSeparator||s,strategy:t.strategy||d.strategy||a,trailingSlash:t.trailingSlash||d.trailingSlash||i,localeCodes:t.localeCodes||d.localeCodes||c,prefixable:t.prefixable||d.prefixable||u,switchLocalePathIntercepter:t.switchLocalePathIntercepter||d.switchLocalePathIntercepter||l,dynamicRouteParamsKey:t.dynamicRouteParamsKey||d.dynamicRouteParamsKey||f,dynamicParamsInterceptor:d.dynamicParamsInterceptor||void 0}}function Zh(e,t){return[e.slice(0,t),e.slice(t)]}function em(e){const{fullPath:t,query:n,hash:o,name:r,path:s,params:a,meta:i,redirectedFrom:c,matched:u}=e;return{fullPath:t,params:a,query:n,hash:o,name:r,path:s,meta:i,matched:u,redirectedFrom:c}}function tm(e){return Eh}function nm(e,t,n,o){var r,s;if(n!=="prefix")return e.resolve(t);const[a,i]=Zh(t.path,1),c=`${a}${o}${i===""?i:`/${i}`}`,u=(s=(r=e.options)==null?void 0:r.routes)==null?void 0:s.find(f=>f.path===c);if(u==null)return t;const l=Mn({},t,u);return l.path=c,e.resolve(l)}const om=new Set(["prefix_and_default","prefix_except_default"]);function rm(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&om.has(o))&&o!=="no_prefix"}const Za=rm;function Rt(e){const t=this.router,{routesNameSeparator:n}=en(t,this),o=e!=null?Nt(e)?J(e):e:this.route;return o==null||!o.name?void 0:Qa(o.name).split(n)[0]}function Zo(e,t){var n;const o=Fn.call(this,e,t);return o==null?"":((n=o.redirectedFrom)==null?void 0:n.fullPath)||o.fullPath}function er(e,t){const n=Fn.call(this,e,t);return n??void 0}function sm(e,t){const n=Fn.call(this,e,t);return n??void 0}function Fn(e,t){const n=this.router,o=this.i18n,r=t||$n(o),{routesNameSeparator:s,defaultLocale:a,defaultLocaleRouteNameSuffix:i,strategy:c,trailingSlash:u,prefixable:l}=en(n,this);let f;if(Pt(e))if(e[0]==="/"){const{pathname:y,search:L,hash:b}=xh(e),p=Ih(L);f={path:y,query:p,hash:b}}else f={name:e};else f=e;let d=Mn({},f);if((y=>"path"in y&&!!y.path&&!("name"in y))(d)){let y=null;try{y=nm(n,d,c,r)}catch{}const L=y,b=Rt.call(this,L);Pt(b)?(d={name:vs(b,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i}),params:L.params,query:L.query,hash:L.hash},d.state=L.state):(l({currentLocale:r,defaultLocale:a,strategy:c})&&(d.path=`/${r}${d.path}`),d.path=u?Mh(d.path,!0):Dh(d.path,!0))}else!d.name&&!("path"in d)&&(d.name=Rt.call(this,this.route)),d.name=vs(d.name,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i});try{const y=n.resolve(d);return(tm(y)?y.name:y.route.name)?y:n.resolve(e)}catch(y){if(typeof y=="object"&&"type"in y&&y.type===1)return null}}const ei=e=>e;function am(e,t){const n={};if(t===Ga)return n;const o=e.meta;return Nt(o)?o.value[t]||n:o[t]||n}function qt(e){var t,n;const o=this.route,r=Rt.call(this,o);if(!r)return"";const{switchLocalePathIntercepter:s,dynamicRouteParamsKey:a,dynamicParamsInterceptor:i}=en(this.router,this),u=em(o),l=(n=(t=i==null?void 0:i())==null?void 0:t.value)==null?void 0:n[e],f=am(o,a)[e]||{},d=l??f??{},g={name:r,params:{...u.params,...d}},y=Mn({},u,g);let L=Zo.call(this,y,e);return L=s(L,e),L}function ti({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const o=this.router,r=this.i18n,{defaultDirection:s}=en(o,this),a={htmlAttrs:{},link:[],meta:[]};if(r.locales==null||r.baseUrl==null)return a;const i=$n(r),c=Uh(r),u=Fh(c).find(d=>d.code===i)||{code:i},l=u.iso,f=u.dir||s;return e&&(a.htmlAttrs.dir=f),t&&i&&r.locales&&(l&&(a.htmlAttrs.lang=l),im.call(this,c,J(r.baseUrl),a.link,n),cm.call(this,J(r.baseUrl),a.link,a.meta,n,t),lm(u,l,a.meta,n),um(c,l,a.meta,n)),a}function im(e,t,n,o){const r=this.router,{defaultLocale:s,strategy:a}=en(r,this);if(a===Ka.NO_PREFIX)return;const i=new Map;for(const c of e){const u=c.iso;if(!u){qa("Locale ISO code is required to generate alternate link");continue}const[l,f]=u.split("-");l&&f&&(c.isCatchallLocale||!i.has(l))&&i.set(l,c),i.set(u,c)}for(const[c,u]of i.entries()){const l=qt.call(this,u.code);l&&n.push({[o]:`i18n-alt-${c}`,rel:"alternate",href:Oo(l,t),hreflang:c})}if(s){const c=qt.call(this,s);c&&n.push({[o]:"i18n-xd",rel:"alternate",href:Oo(c,t),hreflang:"x-default"})}}function cm(e,t,n,o,r){const s=this.route,a=er.call(this,{...s,name:Rt.call(this,s)});if(a){let i=Oo(a.path,e);const c=Jo(r)&&r.canonicalQueries||[];if(c.length){const u=a.query,l=new URLSearchParams;for(const d of c)if(d in u){const g=u[d];kh(g)?g.forEach(y=>l.append(d,y||"")):l.append(d,g||"")}const f=l.toString();f&&(i=`${i}?${f}`)}t.push({[o]:"i18n-can",rel:"canonical",href:i}),n.push({[o]:"i18n-og-url",property:"og:url",content:i})}}function lm(e,t,n,o){e&&t&&n.push({[o]:"i18n-og",property:"og:locale",content:ni(t)})}function um(e,t,n,o){const r=e.filter(s=>{const a=s.iso;return a&&a!==t});if(r.length){const s=r.map(a=>({[o]:`i18n-og-alt-${a.iso}`,property:"og:locale:alternate",content:ni(a.iso)}));n.push(...s)}}function ni(e){return(e||"").replace(/-/g,"_")}function Oo(e,t){return e.match(/^https?:\/\//)?e:t+e}function fm(e,t){const{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u}=e;return function(...l){return Reflect.apply(t,{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u},l)}}function dm({router:e=Ef(),route:t=Lf(),i18n:n=Dn(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:a=void 0,trailingSlash:i=void 0}={}){return fm({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:a,trailingSlash:i},qt)}const mt=[],zn={},pm=[()=>F(()=>import("./i18n.config.c80ee712.js"),[],import.meta.url)],le={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"./i18n.config.ts",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1,i18nModules:[]},me={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1},No={__normalizedLocales:[]},oi="@nuxtjs/i18n",hm=!1,mm=!1;async function gm(e,t){const n={messages:{}};for(const o of e){const{default:r}=await o(),s=typeof r=="function"?await t.runWithContext(async()=>await r()):r;Ye(s,n)}return n}function ri(e,t){let n=[];if(se(e))n=e;else if(W(e)){const o=[...t,"default"];for(const r of o)e[r]&&(n=[...n,...e[r].filter(Boolean)])}else D(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function _m(e,t,n){const{defaultLocale:o,initialLocale:r,localeCodes:s,fallbackLocale:a,lazy:i,cacheMessages:c}=n,u=(f,d)=>{const g=e[f]||{};Ye(d,g),e[f]=g};if(i&&a){const f=ri(a,[o,r]);await Promise.all(f.map(d=>Ln({locale:d,setter:u,localeMessages:t},c)))}const l=i?[...new Set().add(o).add(r)]:s;return await Promise.all(l.map(f=>Ln({locale:f,setter:u,localeMessages:t},c))),e}async function ym(e,{key:t,load:n},o){let r=null;try{const s=await n().then(a=>a.default||a);Q(s)?r=await s(e):(r=s,r!=null&&o&&o.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function Ln({locale:e,localeMessages:t,setter:n},o){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const a of r){let i=null;o&&o.has(a.key)&&a.cache?i=o.get(a.key):i=await ym(e,a,o),i!=null&&Ye(i,s)}n(e,s)}function Em(e){return oi+" "+e}function Lm(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function Un(e,t,...n){const o=ut(e)?e.global:e,[r,s]=[o,o[t]];return Reflect.apply(s,r,[...n])}function vm(e,t){const n=ut(e)?e.global:e;return At(n)?n[t].value:(Zt(n)||ft(n)||Lm(n),n[t])}function Ts(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function bm(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function si(e,t){let n;return navigator.languages&&(n=Kh(e.__normalizedLocales,navigator.languages)),n}function tr(e,{useCookie:t=me.detectBrowserLanguage.useCookie,cookieKey:n=me.detectBrowserLanguage.cookieKey,localeCodes:o=[]}={}){if(!t)return;const s=Ta(n).value??void 0;if(s&&o.includes(s))return s}function wm(e,t,{useCookie:n=me.detectBrowserLanguage.useCookie,cookieKey:o=me.detectBrowserLanguage.cookieKey,cookieDomain:r=me.detectBrowserLanguage.cookieDomain,cookieSecure:s=me.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:a=me.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const i=new Date,c={expires:new Date(i.setDate(i.getDate()+365)),path:"/",sameSite:a?"none":"lax",secure:a||s};r&&(c.domain=r);const u=Ta(o,c);u.value=e}const Tm={locale:"",stat:!1,reason:"unknown",from:"unknown"};function Pm(e,t,n,o,r,s,a=[],i=""){const{strategy:c}=n,{ssg:u,callType:l,firstAccess:f}=s;if(!f)return{locale:c==="no_prefix"?i:"",stat:!1,reason:"first_access_only"};const{redirectOn:d,alwaysRedirect:g,useCookie:y,fallbackLocale:L}=n.detectBrowserLanguage,b=D(e)?e:e.path;if(c!=="no_prefix"){if(d==="root"){if(b!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(d==="no prefix"&&!g&&b.match(So(a)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let p="unknown",_,P;y&&(P=_=tr(t,{...n.detectBrowserLanguage,localeCodes:a}),p="cookie"),P||(P=si(o),p="navigator_or_header");const E=P||L;!P&&L&&(p="fallback");const R=i||r.locale;if(E&&(!y||g||!_)){if(c==="no_prefix")return{locale:E,stat:!0,from:p};if(l==="setup"&&E!==R)return{locale:E,stat:!0,from:p};if(g){const k=b==="/",C=d==="all",V=d==="no prefix"&&!b.match(So(a));if(k||C||V)return{locale:E,stat:!0,from:p}}}return u==="ssg_setup"&&E?{locale:E,stat:!0,from:p}:(p==="navigator_or_header"||p==="cookie")&&E?{locale:E,stat:!0,from:p}:{locale:"",stat:!1,reason:"not_found_match"}}function Rm(){let e;return e=window.location.host,e}function Cm(e){let t=Rm()||"";if(t){const n=e.find(o=>{if(o&&o.domain){let r=o.domain;return lt(o.domain)&&(r=o.domain.replace(/(http|https):\/\//,"")),r===t}return!1});if(n)return n.code;t=""}return t}function ai(e,t,n){var a,i;const o=n==null?void 0:n.$config.public.i18n,r=t.find(c=>c.code===e),s=((i=(a=o==null?void 0:o.locales)==null?void 0:a[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(lt(s,{strict:!0}))return s;let c;return c=new URL(window.location.origin).protocol,c+"//"+s}console.warn(Em("Could not find domain name for locale "+e))}function km(e,t){return Un(e,"setLocaleCookie",t)}function Sm(e,t,n){return Un(e,"mergeLocaleMessage",t,n)}function Om(e,t,n,o,r){return Un(e,"onBeforeLanguageSwitch",t,n,o,r)}function Nm(e,t,n){return Un(e,"onLanguageSwitched",t,n)}async function Ps(e,t,n,o,{useCookie:r=me.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:s=me.skipSettingLocaleOnNavigate,differentDomains:a=me.differentDomains,initial:i=!1,cacheMessages:c=void 0,lazy:u=!1}={}){let l=!1;const f=$n(o);if(!e)return[l,f];if(!i&&a)return[l,f];if(f===e)return[l,f];const d=await Om(o,f,e,i,t),g=Hh(o);if(d&&g&&g.includes(d)){if(d===f)return[l,f];e=d}const y=vm(o,"fallbackLocale");if(u){const L=(b,p)=>Sm(o,b,p);if(y){const b=ri(y,[e]);await Promise.all(b.map(p=>Ln({locale:p,setter:L,localeMessages:n},c)))}await Ln({locale:e,setter:L,localeMessages:n},c)}return s?[l,f]:(r&&km(o,e),za(o,e),await Nm(o,f,e),l=!0,[l,f])}function Rs(e,t,n,o,r,s,a,i,c=[]){const{strategy:u,defaultLocale:l,differentDomains:f}=o,d=Q(s)?s():s,{locale:g,stat:y,reason:L,from:b}=o.detectBrowserLanguage?Pm(e,t,o,No,r,a,c,d):Tm;if(L==="detect_ignore_on_ssg")return d;if((b==="navigator_or_header"||b==="cookie"||b==="fallback")&&g)return g;let p=g;return p||(f?p=Cm(i):u!=="no_prefix"?p=n(e):o.detectBrowserLanguage||(p=d)),!p&&o.detectBrowserLanguage&&o.detectBrowserLanguage.useCookie&&(p=tr(t,{...o.detectBrowserLanguage,localeCodes:c})||""),p||(p=l||""),p}function Cs({route:e,context:t,targetLocale:n,routeLocaleGetter:o,nuxtI18nOptions:r,calledWithRouting:s=!1}){const{strategy:a,differentDomains:i}=r;let c="";const{fullPath:u}=e.to;if(!i&&(s||a!=="no_prefix")&&o(e.to)!==n){const l=t.$switchLocalePath(n)||t.$localePath(u,n);D(l)&&l&&!no(l,u)&&!l.startsWith("//")&&(c=e.from&&e.from.fullPath===l?"":l)}if((i||mm)&&o(e.to)!==n){const f=dm({i18n:Yt(t.$i18n),route:e.to,router:t.$router})(n);D(f)&&f&&!no(f,u)&&!f.startsWith("//")&&(c=f)}return c}function Im(e){return W(e)&&"path"in e&&"statusCode"in e}const Am=()=>wa(oi+":redirect",()=>"");function ks(e,t){return nu(e,{redirectCode:t})}async function Ss(e,{status:t=302,rootRedirect:n=me.rootRedirect,differentDomains:o=me.differentDomains,skipSettingLocaleOnNavigate:r=me.skipSettingLocaleOnNavigate,enableNavigate:s=!1}={}){const{i18n:a,locale:i,route:c}=e;let{redirectPath:u}=e;if(c.path==="/"&&n)return D(n)?u="/"+n:Im(n)&&(u="/"+n.path,t=n.statusCode),ks(u,t);if(!(r&&(a.__pendingLocale=i,a.__pendingLocalePromise=new Promise(l=>{a.__resolvePendingLocalePromise=l}),!s))){if(o){const l=Am();l.value&&l.value!==u&&(l.value="",window.location.assign(u))}else if(u)return ks(u,t)}}function Dm(e,t){Ts(e,"$i18n",t.global);for(const n of[["getRouteBaseName",Rt],["localePath",Zo],["localeRoute",er],["switchLocalePath",qt],["localeHead",ti]])Ts(e,"$"+n[0],bm(e,n[1]))}function Mm(e){return t=>Za(t)&&!e}function xm(e,t,n){return(o,r)=>{if(e){const s=ai(r,t,n);return s?It(s,o):o}else return ei(o)}}function $m(e,t){return n=>{var c,u;if(Q(e))return e(n);const{differentDomains:o,localeCodeLoader:r,normalizedLocales:s}=t,a=Q(r)?r():r;if(o&&a){const l=ai(a,s,t.nuxt);if(l)return l}const i=(u=(c=n.$config)==null?void 0:c.public)==null?void 0:u.i18n;return i!=null&&i.baseUrl?i.baseUrl:e}}const Qn=new Map,Fm=ge({name:"i18n:plugin",parallel:hm,async setup(e){let t,n;const o=He(),r=Vo(),{vueApp:s}=e,a=e,i=([t,n]=Xe(()=>gm(pm,a)),t=await t,n(),t),c=le.detectBrowserLanguage&&le.detectBrowserLanguage.useCookie,{__normalizedLocales:u}=No,{defaultLocale:l,differentDomains:f,skipSettingLocaleOnNavigate:d,lazy:g,routesNameSeparator:y,defaultLocaleRouteNameSuffix:L,strategy:b,rootRedirect:p}=le;le.baseUrl=$m(le.baseUrl,{differentDomains:f,nuxt:a,localeCodeLoader:l,normalizedLocales:u});const _=Jh(mt,y,L);i.messages=i.messages||{},i.fallbackLocale=i.fallbackLocale??!1,zh(o,{...le,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:xm(f,u,a),prefixable:Mm(f)});const P=S=>S||i.locale||"en-US";let E=Rs(r,e.ssrContext,_,le,i,P(l),{ssg:"normal",callType:"setup",firstAccess:!0},u,mt);i.messages=([t,n]=Xe(()=>_m(i.messages,zn,{...le,initialLocale:E,fallbackLocale:i.fallbackLocale,localeCodes:mt,cacheMessages:Qn})),t=await t,n(),t),E=P(E);const R=lh({...i,locale:E});let k=!0;const C=S=>E!==S&&k;Gh(R,{locales:le.locales,localeCodes:mt,baseUrl:le.baseUrl,context:a,hooks:{onExtendComposer(S){S.strategy=b,S.localeProperties=te(()=>u.find($=>$.code===S.locale.value)||{code:S.locale.value}),S.setLocale=async $=>{const H=C($),[q]=await Ps($,a,zn,R,{useCookie:c,differentDomains:f,initial:H,cacheMessages:Qn,skipSettingLocaleOnNavigate:d,lazy:g});q&&H&&(k=!1);const re=Cs({route:{to:r},context:a,targetLocale:$,routeLocaleGetter:_,nuxtI18nOptions:le});await Ss({i18n:R,redirectPath:re,locale:$,route:r},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p,enableNavigate:!0})},S.differentDomains=f,S.defaultLocale=l,S.getBrowserLocale=()=>si(No,e.ssrContext),S.getLocaleCookie=()=>tr(e.ssrContext,{...le.detectBrowserLanguage,localeCodes:mt}),S.setLocaleCookie=$=>wm($,e.ssrContext,le.detectBrowserLanguage||void 0),S.onBeforeLanguageSwitch=($,H,q,re)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:$,newLocale:H,initialSetup:q,context:re}),S.onLanguageSwitched=($,H)=>e.callHook("i18n:localeSwitched",{oldLocale:$,newLocale:H}),S.finalizePendingLocaleChange=async()=>{R.__pendingLocale&&(za(R,R.__pendingLocale),R.__resolvePendingLocalePromise&&await R.__resolvePendingLocalePromise(),R.__pendingLocale=void 0)},S.waitForPendingLocaleChange=async()=>{R.__pendingLocale&&R.__pendingLocalePromise&&await R.__pendingLocalePromise}},onExtendExportedGlobal(S){return{strategy:{get(){return S.strategy}},localeProperties:{get(){return S.localeProperties.value}},setLocale:{get(){return async $=>Reflect.apply(S.setLocale,S,[$])}},differentDomains:{get(){return S.differentDomains}},defaultLocale:{get(){return S.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(S.getBrowserLocale,S,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(S.getLocaleCookie,S,[])}},setLocaleCookie:{get(){return $=>Reflect.apply(S.setLocaleCookie,S,[$])}},onBeforeLanguageSwitch:{get(){return($,H,q,re)=>Reflect.apply(S.onBeforeLanguageSwitch,S,[$,H,q,re])}},onLanguageSwitched:{get(){return($,H)=>Reflect.apply(S.onLanguageSwitched,S,[$,H])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(S.finalizePendingLocaleChange,S,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(S.waitForPendingLocaleChange,S,[])}}}},onExtendVueI18n(S){return{strategy:{get(){return S.strategy}},localeProperties:{get(){return S.localeProperties.value}},setLocale:{get(){return async $=>Reflect.apply(S.setLocale,S,[$])}},differentDomains:{get(){return S.differentDomains}},defaultLocale:{get(){return S.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(S.getBrowserLocale,S,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(S.getLocaleCookie,S,[])}},setLocaleCookie:{get(){return $=>Reflect.apply(S.setLocaleCookie,S,[$])}},onBeforeLanguageSwitch:{get(){return($,H,q,re)=>Reflect.apply(S.onBeforeLanguageSwitch,S,[$,H,q,re])}},onLanguageSwitched:{get(){return($,H)=>Reflect.apply(S.onLanguageSwitched,S,[$,H])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(S.finalizePendingLocaleChange,S,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(S.waitForPendingLocaleChange,S,[])}}}}}});const V={__composerExtend:S=>{const $=Yt(R);return S.strategy=$.strategy,S.localeProperties=te(()=>$.localeProperties.value),S.setLocale=$.setLocale,S.differentDomains=$.differentDomains,S.getBrowserLocale=$.getBrowserLocale,S.getLocaleCookie=$.getLocaleCookie,S.setLocaleCookie=$.setLocaleCookie,S.onBeforeLanguageSwitch=$.onBeforeLanguageSwitch,S.onLanguageSwitched=$.onLanguageSwitched,S.finalizePendingLocaleChange=$.finalizePendingLocaleChange,S.waitForPendingLocaleChange=$.waitForPendingLocaleChange,()=>{}}};s.use(R,V),Dm(a,R);let Y=0;eu("locale-changing",async(S,$)=>{let H,q;const re=Rs(S,e.ssrContext,_,le,i,()=>$n(R)||P(l),{ssg:"normal",callType:"routing",firstAccess:Y===0},u,mt),Te=C(re),[je]=([H,q]=Xe(()=>Ps(re,a,zn,R,{useCookie:c,differentDomains:f,initial:Te,cacheMessages:Qn,skipSettingLocaleOnNavigate:d,lazy:g})),H=await H,q(),H);je&&Te&&(k=!1);const ve=Cs({route:{to:S,from:$},context:a,targetLocale:re,routeLocaleGetter:le.strategy==="no_prefix"?()=>re:_,nuxtI18nOptions:le,calledWithRouting:!0});return Y++,Ss({i18n:R,redirectPath:ve,locale:re,route:S},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p})},{global:!0})}}),Um="__NUXT_COLOR_MODE__",Pg="ColorScheme",Hm="nuxt-color-mode",xe=window[Um]||{},jm=ge(e=>{const t=wa("color-mode",()=>at({preference:xe.preference,value:xe.value,unknown:!1,forced:!1})).value;He().afterEach(r=>{const s=r.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"?xe.getColorScheme():t.preference)});let n;function o(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=xe.getColorScheme())}))}Ue(()=>t.preference,r=>{var s;t.forced||(r==="system"?(t.value=xe.getColorScheme(),o()):t.value=r,(s=window.localStorage)==null||s.setItem(Hm,r))},{immediate:!0}),Ue(()=>t.value,(r,s)=>{xe.removeColorScheme(s),xe.addColorScheme(r)}),t.preference==="system"&&o(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=xe.preference,t.value=xe.value,t.unknown=!1)}),e.provide("colorMode",t)}),ii=new Set,he=new WeakMap,Ct=new WeakMap,it=new WeakMap,Io=new WeakMap,Vm=new WeakMap,kt=new WeakMap,vn=new WeakMap,$t=new WeakSet;let qe,nr=0,or=0;const Fe="__aa_tgt",zt="__aa_del",bn="__aa_new",Bm=e=>{const t=Ym(e);t&&t.forEach(n=>qm(n))},Wm=e=>{e.forEach(t=>{t.target===qe&&Gm(),he.has(t.target)&&dt(t.target)})};function Km(e){const t=Io.get(e);t==null||t.disconnect();let n=he.get(e),o=0;const r=5;n||(n=St(e),he.set(e,n));const{offsetWidth:s,offsetHeight:a}=qe,c=[n.top-r,s-(n.left+r+n.width),a-(n.top+r+n.height),n.left-r].map(l=>`${-1*Math.floor(l)}px`).join(" "),u=new IntersectionObserver(()=>{++o>1&&dt(e)},{root:qe,threshold:1,rootMargin:c});u.observe(e),Io.set(e,u)}function dt(e){clearTimeout(vn.get(e));const t=Hn(e),n=Qt(t)?500:t.duration;vn.set(e,setTimeout(async()=>{const o=it.get(e);try{await(o==null?void 0:o.finished),he.set(e,St(e)),Km(e)}catch{}},n))}function Gm(){clearTimeout(vn.get(qe)),vn.set(qe,setTimeout(()=>{ii.forEach(e=>fi(e,t=>ci(()=>dt(t))))},100))}function Xm(e){setTimeout(()=>{Vm.set(e,setInterval(()=>ci(dt.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function ci(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let Ao,Lt;typeof window<"u"&&(qe=document.documentElement,Ao=new MutationObserver(Bm),Lt=new ResizeObserver(Wm),window.addEventListener("scroll",()=>{or=window.scrollY,nr=window.scrollX}),Lt.observe(qe));function Ym(e){return e.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:e.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Jn(r.target),!o.has(r.target)){o.add(r.target);for(let s=0;sn(e,kt.has(e)));for(let n=0;nr(o,kt.has(o)))}}function sr(e){return Array.isArray(e)?e:[e]}function Qt(e){return typeof e=="function"}function Qm(e){const t=he.get(e),n=St(e);if(!rr(e))return he.set(e,n);let o;if(!t)return;const r=Hn(e);if(typeof r!="function"){const s=t.left-n.left,a=t.top-n.top,[i,c,u,l]=li(e,t,n),f={transform:`translate(${s}px, ${a}px)`},d={transform:"translate(0, 0)"};i!==c&&(f.width=`${i}px`,d.width=`${c}px`),u!==l&&(f.height=`${u}px`,d.height=`${l}px`),o=e.animate([f,d],{duration:r.duration,easing:r.easing})}else{const[s]=sr(r(e,"remain",t,n));o=new Animation(s),o.play()}it.set(e,o),he.set(e,n),o.addEventListener("finish",dt.bind(null,e))}function Os(e){bn in e&&delete e[bn];const t=St(e);he.set(e,t);const n=Hn(e);if(!rr(e))return;let o;if(typeof n!="function")o=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:n.duration*1.5,easing:"ease-in"});else{const[r]=sr(n(e,"add",t));o=new Animation(r),o.play()}it.set(e,o),o.addEventListener("finish",dt.bind(null,e))}function Ns(e,t){var n;e.remove(),he.delete(e),Ct.delete(e),it.delete(e),(n=Io.get(e))===null||n===void 0||n.disconnect(),setTimeout(()=>{if(zt in e&&delete e[zt],Object.defineProperty(e,bn,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(const o in t)e.style[o]=""},0)}function Jm(e){var t;if(!Ct.has(e)||!he.has(e))return;const[n,o]=Ct.get(e);Object.defineProperty(e,zt,{value:!0,configurable:!0});const r=window.scrollX,s=window.scrollY;if(o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(e,o):n&&n.parentNode?n.parentNode.appendChild(e):(t=ui(e))===null||t===void 0||t.appendChild(e),!rr(e))return Ns(e);const[a,i,c,u]=eg(e),l=Hn(e),f=he.get(e);(r!==nr||s!==or)&&Zm(e,r,s,l);let d,g={position:"absolute",top:`${a}px`,left:`${i}px`,width:`${c}px`,height:`${u}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!Qt(l))Object.assign(e.style,g),d=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"});else{const[y,L]=sr(l(e,"remove",f));(L==null?void 0:L.styleReset)!==!1&&(g=(L==null?void 0:L.styleReset)||g,Object.assign(e.style,g)),d=new Animation(y),d.play()}it.set(e,d),d.addEventListener("finish",Ns.bind(null,e,g))}function Zm(e,t,n,o){const r=nr-t,s=or-n,a=document.documentElement.style.scrollBehavior;if(getComputedStyle(qe).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+r,window.scrollY+s),!e.parentElement)return;const c=e.parentElement;let u=c.clientHeight,l=c.clientWidth;const f=performance.now();function d(){requestAnimationFrame(()=>{if(!Qt(o)){const g=u-c.clientHeight,y=l-c.clientWidth;f+o.duration>performance.now()?(window.scrollTo({left:window.scrollX-y,top:window.scrollY-g}),u=c.clientHeight,l=c.clientWidth,d()):document.documentElement.style.scrollBehavior=a}})}d()}function eg(e){const t=he.get(e),[n,,o]=li(e,t,St(e));let r=e.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const s=getComputedStyle(r),a=he.get(r)||St(r),i=Math.round(t.top-a.top)-Se(s.borderTopWidth),c=Math.round(t.left-a.left)-Se(s.borderLeftWidth);return[i,c,n,o]}function tg(e,t={}){return Ao&&Lt&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!Qt(t)&&!t.disrespectUserMotionPreference||($t.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),fi(e,dt,Xm,r=>Lt==null?void 0:Lt.observe(r)),Qt(t)?kt.set(e,t):kt.set(e,{duration:250,easing:"ease-in-out",...t}),Ao.observe(e,{childList:!0}),ii.add(e))),Object.freeze({parent:e,enable:()=>{$t.add(e)},disable:()=>{$t.delete(e)},isEnabled:()=>$t.has(e)})}const ng={mounted:(e,t)=>{tg(e,t.value||{})},getSSRProps:()=>({})},og=ng,rg=ge(e=>{e.vueApp.directive("auto-animate",og)}),sg=ge({name:"nuxt:chunk-reload",setup(e){const t=He(),n=Pn(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:s})=>{o.add(s)});function r(s){const i="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:It(n.app.baseURL,s.fullPath);Td({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((s,a)=>{o.has(s)&&r(a)})}}),ag=ge(e=>{let t;async function n(){const o=await kn();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const r=await $fetch(Fo("builds/latest.json"));r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}ba(()=>{t=setTimeout(n,1e3*60*60)})}),ig=[pu,mu,Sf,Of,gd,_d,Cd,kd,Fm,jm,rg,sg,ag],cg=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),Do=(e,t)=>{const n=e.route.matched.find(r=>{var s;return((s=r.components)==null?void 0:s.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&cg(e.route,n));return typeof o=="function"?o(e.route):o},lg=(e,t)=>({default:()=>e?Ne(Ri,e===!0?{}:e,t):t}),ug=ct({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,o={};for(const r in e.route)Object.defineProperty(o,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Ft(Rn,wn(o)),()=>Ne(e.vnode,{ref:e.vnodeRef})}}),fg=ct({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 o=ne(),r=fe(),s=Ee(Rn,null);n({pageRef:r});const a=Ee(Ql,null);let i;const c=o.deferHydration();return()=>Ne(va,{name:e.name,route:e.route,...t},{default:u=>{const l=hg(s,u.route,u.Component),f=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(i&&!f)return i;c();return}if(i&&a&&!a.isCurrent(u.route))return i;if(l&&s&&(!a||a!=null&&a.isCurrent(s)))return f?i:null;const d=Do(u,e.pageKey),g=!!(e.transition??u.route.meta.pageTransition??fo),y=g&&pg([e.transition,u.route.meta.pageTransition,fo,{onAfterLeave:()=>{o.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),L=e.keepalive??u.route.meta.keepalive??au;return i=vf(Ci,g&&y,lg(L,Ne(Hs,{suspensible:!0,onPending:()=>o.callHook("page:start",u.Component),onResolve:()=>{Ot(()=>o.callHook("page:finish",u.Component).finally(c))}},{default:()=>{const b=Ne(ug,{key:d||void 0,vnode:u.Component,route:u.route,renderKey:d||void 0,trackRootNodes:g,vnodeRef:r});return L&&(b.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),b}}))).default(),i}})}});function dg(e){return Array.isArray(e)?e:e?[e]:[]}function pg(e){const t=e.map(n=>({...n,onAfterLeave:dg(n.onAfterLeave)}));return ra(...t)}function hg(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>{var s;return((s=r.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((r,s)=>{var a,i,c;return((a=r.components)==null?void 0:a.default)!==((c=(i=e.matched[s])==null?void 0:i.components)==null?void 0:c.default)})||n&&Do({route:t,Component:n})!==Do({route:e,Component:n})}const mg=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},gg={};function _g(e,t){const n=fg;return st(),ki("div",null,[Us(n)])}const yg=mg(gg,[["render",_g]]),Eg={__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 o=Number(n.statusCode||500),r=o===404,s=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),i=void 0,c=U(()=>F(()=>import("./error-404.8695b32f.js"),["./error-404.8695b32f.js","./nuxt-link.fae787a8.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./error-404.95c28eb4.css"],import.meta.url).then(f=>f.default||f)),u=U(()=>F(()=>import("./error-500.24361f4d.js"),["./error-500.24361f4d.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./error-500.e798523c.css"],import.meta.url).then(f=>f.default||f)),l=r?c:u;return(f,d)=>(st(),gt(J(l),Si(Oi({statusCode:J(o),statusMessage:J(s),description:J(a),stack:J(i)})),null,16))}},Is={__name:"nuxt-root",setup(e){const t=()=>null,n=ne(),o=n.deferHydration(),r=!1;Ft(Rn,Vo()),n.hooks.callHookWith(i=>i.map(c=>c()),"vue:setup");const s=Cn();Ni((i,c,u)=>{if(n.hooks.callHook("vue:error",i,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),Zl(i)&&(i.fatal||i.unhandled))return n.runWithContext(()=>Et(i)),!1});const a=!1;return(i,c)=>(st(),gt(Hs,{onResolve:J(o)},{default:Ii(()=>[J(s)?(st(),gt(J(Eg),{key:0,error:J(s)},null,8,["error"])):J(a)?(st(),gt(J(t),{key:1,context:J(a)},null,8,["context"])):J(r)?(st(),gt(Ai(J(r)),{key:2})):(st(),gt(J(yg),{key:3}))]),_:1},8,["onResolve"]))}};let As;{let e;As=async function(){var a,i;if(e)return e;const o=!!((a=window.__NUXT__)!=null&&a.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?Di(Is):Mi(Is),r=Uc({vueApp:o});async function s(c){await r.callHook("app:error",c),r.payload.error=r.payload.error||c}o.config.errorHandler=s;try{await jc(r,ig)}catch(c){s(c)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(iu),await r.hooks.callHook("app:mounted",o),await Ot()}catch(c){s(c)}return o.config.errorHandler===s&&(o.config.errorHandler=void 0),o},e=As().catch(t=>{console.error("Error while mounting app:",t)})}export{su as A,mg as _,F as a,wa as b,Pn as c,Pg as d,Dn as e,Vo as f,wg as g,ne as h,jo as i,nc as j,ar as k,It as l,js as m,Bt as n,Ta as o,He as p,lt as q,ba as r,Vr as s,Tg as t,xl as u,Tn as v,to as w,Gi as x,bg as y,nu as z}; diff --git a/_nuxt/error-404.8695b32f.js b/_nuxt/error-404.523dfcc1.js similarity index 94% rename from _nuxt/error-404.8695b32f.js rename to _nuxt/error-404.523dfcc1.js index 6599fb4..d022949 100644 --- a/_nuxt/error-404.8695b32f.js +++ b/_nuxt/error-404.523dfcc1.js @@ -1 +1 @@ -import{_ as n}from"./nuxt-link.fae787a8.js";import{_ as r,u as a}from"./entry.fa10d76e.js";import{H as d,I as c,U as e,V as s,E as l,O as p,W as m,X as f,Y as x}from"./swiper-vue.799c8af8.js";const h=t=>(f("data-v-ccd3db62"),t=t(),x(),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=h(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_={class:"max-w-520px text-center z-20"},b=["textContent"],y=["textContent"],w={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 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}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=n;return d(),c("div",u,[g,e("div",_,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,b),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,y),e("div",w,[l(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:p(()=>[m(s(t.backHome),1)]),_:1})])])])}}},I=r(S,[["__scopeId","data-v-ccd3db62"]]);export{I as default}; +import{_ as n}from"./nuxt-link.963ae6e7.js";import{_ as r,u as a}from"./entry.07c0747b.js";import{H as d,I as c,U as e,V as s,E as l,O as p,W as m,X as f,Y as x}from"./swiper-vue.799c8af8.js";const h=t=>(f("data-v-ccd3db62"),t=t(),x(),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=h(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_={class:"max-w-520px text-center z-20"},b=["textContent"],y=["textContent"],w={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 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}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=n;return d(),c("div",u,[g,e("div",_,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,b),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,y),e("div",w,[l(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:p(()=>[m(s(t.backHome),1)]),_:1})])])])}}},I=r(S,[["__scopeId","data-v-ccd3db62"]]);export{I as default}; diff --git a/_nuxt/error-500.24361f4d.js b/_nuxt/error-500.7fe64d5b.js similarity index 96% rename from _nuxt/error-500.24361f4d.js rename to _nuxt/error-500.7fe64d5b.js index 4864bc9..e008328 100644 --- a/_nuxt/error-500.24361f4d.js +++ b/_nuxt/error-500.7fe64d5b.js @@ -1 +1 @@ -import{_ as i,u as r}from"./entry.fa10d76e.js";import{H as a,I as n,U as e,V as s,X as l,Y as d}from"./swiper-vue.799c8af8.js";const c=t=>(l("data-v-df79c84d"),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"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},m=["textContent"],g=["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 r({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}'}]}),(u,b)=>(a(),n("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),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,g)])]))}},y=i(x,[["__scopeId","data-v-df79c84d"]]);export{y as default}; +import{_ as i,u as r}from"./entry.07c0747b.js";import{H as a,I as n,U as e,V as s,X as l,Y as d}from"./swiper-vue.799c8af8.js";const c=t=>(l("data-v-df79c84d"),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"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},m=["textContent"],g=["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 r({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}'}]}),(u,b)=>(a(),n("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),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,g)])]))}},y=i(x,[["__scopeId","data-v-df79c84d"]]);export{y as default}; diff --git a/_nuxt/index.19c07bad.js b/_nuxt/index.1fe5091e.js similarity index 99% rename from _nuxt/index.19c07bad.js rename to _nuxt/index.1fe5091e.js index 9af5ad3..5fe26e5 100644 --- a/_nuxt/index.19c07bad.js +++ b/_nuxt/index.1fe5091e.js @@ -1 +1 @@ -import{z as Ie,B as X,C as M,f as T,D as z,E as pe,a as F,F as j,n as x,G as be,H as V,R as A,I as Pe,J as Te,K as se,L as oe,m as Se,l as S,O as _,g as P,M as U,N as Ee,k as G,u as ge,P as _e,Q as ye,S as we,T as L,y as ee,h as H,U as me,W as te,s as E,e as k,x as qe,X as ve,Y as W,V as ae,d as B,t as ie,Z as ce,r as ne,_ as Be,$ as Le,a0 as ze,a1 as Fe}from"./index.a1ab4247.js";class O{constructor(e){this.container=e,this.type="external"}}class re{constructor(e){this.container=e,this.type="particles"}}class J{static init(e){var o;const t=new J,i=e.selector;if(!i)throw new Error("No selector provided");const s=document.querySelector(i);if(!s)throw new Error("No element found for selector");return Ie.set(i.replace(".","").replace("!",""),s,{fullScreen:{enable:!1},particles:{color:{value:e.color??"!000000"},links:{color:"random",distance:e.minDistance??120,enable:e.connectParticles??!1},move:{enable:!0,speed:e.speed??.5},number:{value:e.maxParticles??100},size:{value:{min:1,max:e.sizeVariations??3}}},responsive:(o=e.responsive)==null?void 0:o.map(a=>{var r,c,l,d,u;return{maxWidth:a.breakpoint,options:{particles:{color:{value:(r=a.options)==null?void 0:r.color},links:{distance:(c=a.options)==null?void 0:c.minDistance,enable:(l=a.options)==null?void 0:l.connectParticles},number:{value:e.maxParticles},move:{enable:!0,speed:(d=a.options)==null?void 0:d.speed},size:{value:(u=a.options)==null?void 0:u.sizeVariations}}}}})}).then(a=>{t._container=a}),t}destroy(){const e=this._container;e&&e.destroy()}pauseAnimation(){const e=this._container;e&&e.pause()}resumeAnimation(){const e=this._container;e&&e.play()}}const Ae=n=>{const e=(i,s)=>n.load(i,s);e.load=(i,s,o)=>{n.loadJSON(i,s).then(a=>{a&&o(a)}).catch(()=>{o(void 0)})},e.setOnClickHandler=i=>{n.setOnClickHandler(i)};const t=n.dom();return{particlesJS:e,pJSDom:t}},He=n=>{const{particlesJS:e,pJSDom:t}=Ae(n);return window.particlesJS=e,window.pJSDom=t,window.Particles=J,{particlesJS:e,pJSDom:t,Particles:J}};async function We(){X("ease-in-quad",n=>n**2),X("ease-out-quad",n=>1-(1-n)**2),X("ease-in-out-quad",n=>n<.5?2*n**2:1-(-2*n+2)**2/2)}class je{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}let Ue=class extends O{constructor(e,t){super(t),this._clickAttract=()=>{const i=this.container;i.attract||(i.attract={particles:[]});const{attract:s}=i;if(s.finish||(s.count||(s.count=0),s.count++,s.count===i.particles.count&&(s.finish=!0)),s.clicking){const o=i.interactivity.mouse.clickPosition,a=i.retina.attractModeDistance;if(!a||a<0||!o)return;this._processAttract(o,a,new M(o.x,o.y,a))}else s.clicking===!1&&(s.particles=[])},this._hoverAttract=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.attractModeDistance;!o||o<0||!s||this._processAttract(s,o,new M(s.x,s.y,o))},this._processAttract=(i,s,o)=>{const a=this.container,r=a.actualOptions.interactivity.modes.attract;if(!r)return;const c=a.particles.quadTree.query(o,l=>this.isEnabled(l));for(const l of c){const{dx:d,dy:u,distance:f}=T(l.position,i),h=r.speed*r.factor,y=z(pe(r.easing)(1-f/s)*h,0,r.maxSpeed),b=F.create(f===0?h:d/f*y,f===0?h:u/f*y);l.position.subFrom(b)}},this._engine=e,t.attract||(t.attract={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.attract;if(!(!o||i!=="attract")){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const a of t.attract.particles)this.isEnabled(a)&&a.velocity.setTo(a.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.attract;t&&(e.retina.attractModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover.enable,a=s.onHover.mode,r=s.onClick.enable,c=s.onClick.mode;i&&o&&x("attract",a)?this._hoverAttract():r&&x("attract",c)&&this._clickAttract()}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events;if((!s.position||!o.onHover.enable)&&(!s.clickPosition||!o.onClick.enable))return!1;const a=o.onHover.mode,r=o.onClick.mode;return x("attract",a)||x("attract",r)}loadModeOptions(e,...t){e.attract||(e.attract=new je);for(const i of t)e.attract.load(i==null?void 0:i.attract)}reset(){}};async function $e(n,e=!0){await n.addInteractor("externalAttract",t=>new Ue(n,t),e)}class Ge{constructor(){this.distance=200}load(e){e&&e.distance!==void 0&&(this.distance=e.distance)}}class Je extends O{constructor(e){super(e),this._processBounce=(t,i,s)=>{const o=this.container.particles.quadTree.query(s,a=>this.isEnabled(a));for(const a of o)s instanceof M?be(V(a),{position:t,radius:i,mass:i**2*Math.PI/2,velocity:F.origin,factor:F.origin}):s instanceof A&&Pe(a,Te(t,i))},this._processMouseBounce=()=>{const t=this.container,i=t.retina.pixelRatio,s=10*i,o=t.interactivity.mouse.position,a=t.retina.bounceModeDistance;!a||a<0||!o||this._processBounce(o,a,new M(o.x,o.y,a+s))},this._singleSelectorBounce=(t,i)=>{const s=this.container,o=document.querySelectorAll(t);o.length&&o.forEach(a=>{const r=a,c=s.retina.pixelRatio,l={x:(r.offsetLeft+r.offsetWidth/2)*c,y:(r.offsetTop+r.offsetHeight/2)*c},d=r.offsetWidth/2*c,u=10*c,f=i.type==="circle"?new M(l.x,l.y,d+u):new A(r.offsetLeft*c-u,r.offsetTop*c-u,r.offsetWidth*c+u*2,r.offsetHeight*c+u*2);this._processBounce(l,d,f)})}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bounce;t&&(e.retina.bounceModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=t.interactivity.events,s=e.interactivity.status===j,o=i.onHover.enable,a=i.onHover.mode,r=i.onDiv;s&&o&&x("bounce",a)?this._processMouseBounce():se("bounce",r,(c,l)=>this._singleSelectorBounce(c,l))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv;return s.position&&o.onHover.enable&&x("bounce",o.onHover.mode)||oe("bounce",a)}loadModeOptions(e,...t){e.bounce||(e.bounce=new Ge);for(const i of t)e.bounce.load(i==null?void 0:i.bounce)}reset(){}}async function Ne(n,e=!0){await n.addInteractor("externalBounce",t=>new Je(t),e)}class xe{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const t=Se(this.color)?void 0:this.color;this.color=S(e.color,i=>_.create(t,i))}e.size!==void 0&&(this.size=e.size)}}}class Qe extends xe{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class Ke extends xe{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new Qe;return i.load(t),i}))}}function le(n,e,t,i){if(e>=t){const s=n+(e-t)*i;return z(s,n,e)}else if(e{var l;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.clickPosition,o=i.interactivity.modes.bubble;if(!o||!s)return;t.bubble||(t.bubble={});const a=t.retina.bubbleModeDistance;if(!a||a<0)return;const r=t.particles.quadTree.queryCircle(s,a,d=>this.isEnabled(d)),{bubble:c}=t;for(const d of r){if(!c.clicking)continue;d.bubble.inRange=!c.durationEnd;const u=d.getPosition(),f=P(u,s),h=(new Date().getTime()-(t.interactivity.mouse.clickTime||0))/1e3;h>o.duration&&(c.durationEnd=!0),h>o.duration*2&&(c.clicking=!1,c.durationEnd=!1);const y={bubbleObj:{optValue:t.retina.bubbleModeSize,value:d.bubble.radius},particlesObj:{optValue:U(d.options.size.value)*t.retina.pixelRatio,value:d.size.value},type:"size"};this._process(d,f,h,y);const b={bubbleObj:{optValue:o.opacity,value:d.bubble.opacity},particlesObj:{optValue:U(d.options.opacity.value),value:((l=d.opacity)==null?void 0:l.value)??1},type:"opacity"};this._process(d,f,h,b),!c.durationEnd&&f<=a?this._hoverBubbleColor(d,f):delete d.bubble.color}},this._hoverBubble=()=>{const t=this.container,i=t.interactivity.mouse.position,s=t.retina.bubbleModeDistance;if(!s||s<0||i===void 0)return;const o=t.particles.quadTree.queryCircle(i,s,a=>this.isEnabled(a));for(const a of o){a.bubble.inRange=!0;const r=a.getPosition(),c=P(r,i),l=1-c/s;c<=s?l>=0&&t.interactivity.status===j&&(this._hoverBubbleSize(a,l),this._hoverBubbleOpacity(a,l),this._hoverBubbleColor(a,l)):this.reset(a),t.interactivity.status===Ee&&this.reset(a)}},this._hoverBubbleColor=(t,i,s)=>{const o=this.container.actualOptions,a=s??o.interactivity.modes.bubble;if(a){if(!t.bubble.finalColor){const r=a.color;if(!r)return;const c=G(r);t.bubble.finalColor=ge(c)}if(t.bubble.finalColor)if(a.mix){t.bubble.color=void 0;const r=t.getFillColor();t.bubble.color=r?_e(ye(r,t.bubble.finalColor,1-i,i)):t.bubble.finalColor}else t.bubble.color=t.bubble.finalColor}},this._hoverBubbleOpacity=(t,i,s)=>{var u,f;const o=this.container,a=o.actualOptions,r=(s==null?void 0:s.opacity)??((u=a.interactivity.modes.bubble)==null?void 0:u.opacity);if(!r)return;const c=t.options.opacity.value,l=((f=t.opacity)==null?void 0:f.value)??1,d=le(l,r,U(c),i);d!==void 0&&(t.bubble.opacity=d)},this._hoverBubbleSize=(t,i,s)=>{const o=this.container,a=s!=null&&s.size?s.size*o.retina.pixelRatio:o.retina.bubbleModeSize;if(a===void 0)return;const r=U(t.options.size.value)*o.retina.pixelRatio,c=t.size.value,l=le(c,a,r,i);l!==void 0&&(t.bubble.radius=l)},this._process=(t,i,s,o)=>{const a=this.container,r=o.bubbleObj.optValue,c=a.actualOptions,l=c.interactivity.modes.bubble;if(!l||r===void 0)return;const d=l.duration,u=a.retina.bubbleModeDistance,f=o.particlesObj.optValue,h=o.bubbleObj.value,y=o.particlesObj.value||0,b=o.type;if(!(!u||u<0||r===f))if(a.bubble||(a.bubble={}),a.bubble.durationEnd)h&&(b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity);else if(i<=u){if((h??y)!==r){const g=y-s*(y-r)/d;b==="size"&&(t.bubble.radius=g),b==="opacity"&&(t.bubble.opacity=g)}}else b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity},this._singleSelectorHover=(t,i,s)=>{const o=this.container,a=document.querySelectorAll(i),r=o.actualOptions.interactivity.modes.bubble;!r||!a.length||a.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=o.particles.quadTree.query(h,b=>this.isEnabled(b));for(const b of y){if(!h.contains(b.getPosition()))continue;b.bubble.inRange=!0;const m=r.divs,g=we(m,l);(!b.bubble.div||b.bubble.div!==l)&&(this.clear(b,t,!0),b.bubble.div=l),this._hoverBubbleSize(b,1,g),this._hoverBubbleOpacity(b,1,g),this._hoverBubbleColor(b,1,g)}})},e.bubble||(e.bubble={}),this.handleClickMode=t=>{t==="bubble"&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,t,i){e.bubble.inRange&&!i||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bubble;t&&(e.retina.bubbleModeDistance=t.distance*e.retina.pixelRatio,t.size!==void 0&&(e.retina.bubbleModeSize=t.size*e.retina.pixelRatio))}async interact(e){const t=this.container.actualOptions,i=t.interactivity.events,s=i.onHover,o=i.onClick,a=s.enable,r=s.mode,c=o.enable,l=o.mode,d=i.onDiv;a&&x("bubble",r)?this._hoverBubble():c&&x("bubble",l)?this._clickBubble():se("bubble",d,(u,f)=>this._singleSelectorHover(e,u,f))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,{onClick:a,onDiv:r,onHover:c}=o,l=oe("bubble",r);return l||c.enable&&s.position||a.enable&&s.clickPosition?x("bubble",c.mode)||x("bubble",a.mode)||l:!1}loadModeOptions(e,...t){e.bubble||(e.bubble=new Ke);for(const i of t)e.bubble.load(i==null?void 0:i.bubble)}reset(e){e.bubble.inRange=!1}}async function Ye(n,e=!0){await n.addInteractor("externalBubble",t=>new Xe(t),e)}class Ze{constructor(){this.opacity=.5}load(e){e&&e.opacity!==void 0&&(this.opacity=e.opacity)}}class Ve{constructor(){this.distance=80,this.links=new Ze,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked),e.radius!==void 0&&(this.radius=e.radius))}}function et(n,e,t,i){const s=Math.floor(t.getRadius()/e.getRadius()),o=e.getFillColor(),a=t.getFillColor();if(!o||!a)return;const r=e.getPosition(),c=t.getPosition(),l=ye(o,a,e.getRadius(),t.getRadius()),d=n.createLinearGradient(r.x,r.y,c.x,c.y);return d.addColorStop(0,ee(o,i)),d.addColorStop(s>1?1:s,H(l,i)),d.addColorStop(1,ee(a,i)),d}function tt(n,e,t,i,s){L(n,i,s),n.lineWidth=e,n.strokeStyle=t,n.stroke()}function it(n,e,t,i){const s=n.actualOptions,o=s.interactivity.modes.connect;if(o)return et(e,t,i,o.links.opacity)}function nt(n,e,t){n.canvas.draw(i=>{const s=it(n,i,e,t);if(!s)return;const o=e.getPosition(),a=t.getPosition();tt(i,e.retina.linksWidth??0,s,o,a)})}class st extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.connect;t&&(e.retina.connectModeDistance=t.distance*e.retina.pixelRatio,e.retina.connectModeRadius=t.radius*e.retina.pixelRatio)}async interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const i=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const s=Math.abs(e.retina.connectModeRadius),o=e.particles.quadTree.queryCircle(i,s,r=>this.isEnabled(r));let a=0;for(const r of o){const c=r.getPosition();for(const l of o.slice(a+1)){const d=l.getPosition(),u=Math.abs(e.retina.connectModeDistance),f=Math.abs(c.x-d.x),h=Math.abs(c.y-d.y);fnew st(t),e)}class at{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class rt{constructor(){this.distance=100,this.links=new at}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked))}}function ct(n,e,t,i,s,o){L(n,t,i),n.strokeStyle=H(s,o),n.lineWidth=e,n.stroke()}function lt(n,e,t,i,s){n.canvas.draw(o=>{const a=e.getPosition();ct(o,e.retina.linksWidth??0,a,s,t,i)})}class ut extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.grab;t&&(e.retina.grabModeDistance=t.distance*e.retina.pixelRatio)}async interact(){var r;const e=this.container,t=e.actualOptions,i=t.interactivity;if(!i.modes.grab||!i.events.onHover.enable||e.interactivity.status!==j)return;const s=e.interactivity.mouse.position;if(!s)return;const o=e.retina.grabModeDistance;if(!o||o<0)return;const a=e.particles.quadTree.queryCircle(s,o,c=>this.isEnabled(c));for(const c of a){const l=c.getPosition(),d=P(l,s);if(d>o)continue;const u=i.modes.grab.links,f=u.opacity,h=f-d*f/o;if(h<=0)continue;const y=u.color??((r=c.options.links)==null?void 0:r.color);if(!e.particles.grabLineColor&&y){const m=i.modes.grab.links;e.particles.grabLineColor=me(y,m.blink,m.consent)}const b=te(c,void 0,e.particles.grabLineColor);b&<(e,c,b,h,s)}}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("grab",s.onHover.mode)}loadModeOptions(e,...t){e.grab||(e.grab=new rt);for(const i of t)e.grab.load(i==null?void 0:i.grab)}reset(){}}async function dt(n,e=!0){await n.addInteractor("externalGrab",t=>new ut(t),e)}class ft extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="pause")return;const i=this.container;i.getAnimationStatus()?i.pause():i.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}async function ht(n,e=!0){await n.addInteractor("externalPause",t=>new ft(t),e)}class pt{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(i=>i)),this.groups.length||(this.default=!0);const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class bt extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="push")return;const i=this.container,s=i.actualOptions,o=s.interactivity.modes.push;if(!o)return;const a=k(o.quantity);if(a<=0)return;const r=qe([void 0,...o.groups]),c=r!==void 0?i.actualOptions.particles.groups[r]:void 0;i.particles.push(a,i.interactivity.mouse,c,r)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.push||(e.push=new pt);for(const i of t)e.push.load(i==null?void 0:i.push)}reset(){}}async function gt(n,e=!0){await n.addInteractor("externalPush",t=>new bt(t),e)}class yt{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class wt extends O{constructor(e){super(e),this.handleClickMode=t=>{const i=this.container,s=i.actualOptions;if(!s.interactivity.modes.remove||t!=="remove")return;const o=k(s.interactivity.modes.remove.quantity);i.particles.removeQuantity(o)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.remove||(e.remove=new yt);for(const i of t)e.remove.load(i==null?void 0:i.remove)}reset(){}}async function mt(n,e=!0){await n.addInteractor("externalRemove",t=>new wt(t),e)}class ke{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class vt extends ke{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class xt extends ke{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new vt;return i.load(t),i}))}}class kt extends O{constructor(e,t){super(t),this._clickRepulse=()=>{const i=this.container,s=i.actualOptions.interactivity.modes.repulse;if(!s)return;const o=i.repulse||{particles:[]};if(o.finish||(o.count||(o.count=0),o.count++,o.count===i.particles.count&&(o.finish=!0)),o.clicking){const a=i.retina.repulseModeDistance;if(!a||a<0)return;const r=Math.pow(a/6,3),c=i.interactivity.mouse.clickPosition;if(c===void 0)return;const l=new M(c.x,c.y,r),d=i.particles.quadTree.query(l,u=>this.isEnabled(u));for(const u of d){const{dx:f,dy:h,distance:y}=T(c,u.position),b=y**2,m=s.speed,g=-r*m/b;if(b<=r){o.particles.push(u);const w=F.create(f,h);w.length=g,u.velocity.setTo(w)}}}else if(o.clicking===!1){for(const a of o.particles)a.velocity.setTo(a.initialVelocity);o.particles=[]}},this._hoverRepulse=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.repulseModeDistance;!o||o<0||!s||this._processRepulse(s,o,new M(s.x,s.y,o))},this._processRepulse=(i,s,o,a)=>{const r=this.container,c=r.particles.quadTree.query(o,d=>this.isEnabled(d)),l=r.actualOptions.interactivity.modes.repulse;if(l)for(const d of c){const{dx:u,dy:f,distance:h}=T(d.position,i),y=((a==null?void 0:a.speed)??l.speed)*l.factor,b=z(pe(l.easing)(1-h/s)*y,0,l.maxSpeed),m=F.create(h===0?y:u/h*b,h===0?y:f/h*b);d.position.addTo(m)}},this._singleSelectorRepulse=(i,s)=>{const o=this.container,a=o.actualOptions.interactivity.modes.repulse;if(!a)return;const r=document.querySelectorAll(i);r.length&&r.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=a.divs,b=we(y,l);this._processRepulse(u,f,h,b)})},this._engine=e,t.repulse||(t.repulse={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.repulse;if(!o||i!=="repulse")return;t.repulse||(t.repulse={particles:[]});const a=t.repulse;a.clicking=!0,a.count=0;for(const r of t.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);a.particles=[],a.finish=!1,setTimeout(()=>{t.destroyed||(a.clicking=!1)},o.duration*1e3)}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.repulse;t&&(e.retina.repulseModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover,a=o.enable,r=o.mode,c=s.onClick,l=c.enable,d=c.mode,u=s.onDiv;i&&a&&x("repulse",r)?this._hoverRepulse():l&&x("repulse",d)?this._clickRepulse():se("repulse",u,(f,h)=>this._singleSelectorRepulse(f,h))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv,r=o.onHover,c=o.onClick,l=oe("repulse",a);if(!(l||r.enable&&s.position||c.enable&&s.clickPosition))return!1;const d=r.mode,u=c.mode;return x("repulse",d)||x("repulse",u)||l}loadModeOptions(e,...t){e.repulse||(e.repulse=new xt);for(const i of t)e.repulse.load(i==null?void 0:i.repulse)}reset(){}}async function Ct(n,e=!0){await n.addInteractor("externalRepulse",t=>new kt(n,t),e)}class Dt{constructor(){this.factor=3,this.radius=200}load(e){e&&(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}class Mt extends O{constructor(e){super(e)}clear(e,t,i){e.slow.inRange&&!i||(e.slow.factor=1)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.slow;t&&(e.retina.slowModeRadius=t.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("slow",s.onHover.mode)}loadModeOptions(e,...t){e.slow||(e.slow=new Dt);for(const i of t)e.slow.load(i==null?void 0:i.slow)}reset(e){e.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,o=t.retina.slowModeRadius,a=i.interactivity.modes.slow;if(!a||!o||o<0||!s)return;const r=e.getPosition(),c=P(s,r),l=c/o,d=a.factor,{slow:u}=e;c>o||(u.inRange=!0,u.factor=l/d)}}async function Rt(n,e=!0){await n.addInteractor("externalSlow",t=>new Mt(t),e)}const Y=[0,4,2,1],ue=[8,8,4,2];class Ot{constructor(e){this.pos=0,this.data=new Uint8ClampedArray(e)}getString(e){const t=this.data.slice(this.pos,this.pos+e);return this.pos+=t.length,t.reduce((i,s)=>i+String.fromCharCode(s),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let e="",t=0;do{t=this.data[this.pos++];for(let i=t;--i>=0;e+=String.fromCharCode(this.data[this.pos++]));}while(t!==0);return e}readSubBlocksBin(){let e=0,t=0;for(let s=0;(e=this.data[this.pos+s])!==0;s+=e+1)t+=e;const i=new Uint8Array(t);for(let s=0;(e=this.data[this.pos++])!==0;)for(let o=e;--o>=0;i[s++]=this.data[this.pos++]);return i}skipSubBlocks(){for(;this.data[this.pos]!==0;this.pos+=this.data[this.pos]+1);this.pos++}}function Ce(n,e){const t=[];for(let i=0;i>>5,s.disposalMethod=(o&28)>>>2,s.userInputDelayFlag=(o&2)===2;const a=(o&1)===1;s.delayTime=n.nextTwoBytes()*10;const r=n.nextByte();a&&i(r),n.pos++;break}case 255:{n.pos++;const s={identifier:n.getString(8),authenticationCode:n.getString(3),data:n.readSubBlocksBin()};e.applicationExtensions.push(s);break}case 254:{e.comments.push([t(!1),n.readSubBlocks()]);break}case 1:{if(e.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");n.pos++,e.frames[t(!1)].plainTextData={left:n.nextTwoBytes(),top:n.nextTwoBytes(),width:n.nextTwoBytes(),height:n.nextTwoBytes(),charSize:{width:n.nextTwoBytes(),height:n.nextTwoBytes()},foregroundColor:n.nextByte(),backgroundColor:n.nextByte(),text:n.readSubBlocks()};break}default:n.skipSubBlocks();break}}async function Pt(n,e,t,i,s,o){const a=e.frames[i(!0)];a.left=n.nextTwoBytes(),a.top=n.nextTwoBytes(),a.width=n.nextTwoBytes(),a.height=n.nextTwoBytes();const r=n.nextByte(),c=(r&128)===128,l=(r&64)===64;a.sortFlag=(r&32)===32,a.reserved=(r&24)>>>3;const d=1<<(r&7)+1;c&&(a.localColorTable=Ce(n,d));const u=g=>{const{r:w,g:v,b:p}=(c?a.localColorTable:e.globalColorTable)[g];return{r:w,g:v,b:p,a:g===s(null)?t?~~((w+v+p)/3):0:255}},f=(()=>{try{return new ImageData(a.width,a.height,{colorSpace:"srgb"})}catch(g){if(g instanceof DOMException&&g.name==="IndexSizeError")return null;throw g}})();if(f==null)throw new EvalError("GIF frame size is to large");const h=n.nextByte(),y=n.readSubBlocksBin(),b=1<{const v=g>>>3,p=g&7;return(y[v]+(y[v+1]<<8)+(y[v+2]<<16)&(1<>>p};if(l){for(let g=0,w=h+1,v=0,p=[[0]],D=0;D<4;D++){if(Y[D]=p.length?p.push(p[q].concat(p[q][0])):q!==b&&p.push(p[q].concat(p[g][0]));for(let R=0;R=a.height))break}o==null||o(n.pos/(n.data.length-1),i(!1)+1,f,{x:a.left,y:a.top},{width:e.width,height:e.height})}a.image=f,a.bitmap=await createImageBitmap(f)}else{for(let g=0,w=h+1,v=0,p=[[0]],D=-4;;){const I=g;if(g=m(v,w),v+=w,g===b){w=h+1,p.length=b+2;for(let C=0;C=p.length?p.push(p[I].concat(p[I][0])):I!==b&&p.push(p[I].concat(p[g][0]));for(let C=0;C=1<>>4,o.sortFlag=(r&8)===8;const l=1<<(r&7)+1,d=a.nextByte();o.pixelAspectRatio=a.nextByte(),o.pixelAspectRatio!==0&&(o.pixelAspectRatio=(o.pixelAspectRatio+15)/64),c&&(o.globalColorTable=Ce(a,l));const u=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(p){if(p instanceof DOMException&&p.name==="IndexSizeError")return null;throw p}})();if(u==null)throw new Error("GIF frame size is to large");const{r:f,g:h,b:y}=o.globalColorTable[d];u.data.set(c?[f,h,y,255]:[0,0,0,0]);for(let p=4;p(p&&(m=!0),b),v=p=>(p!=null&&(g=p),g);try{do m&&(o.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),b++,g=-1,m=!1);while(!await Tt(a,o,t,w,v,e));o.frames.length--;for(const p of o.frames){if(p.userInputDelayFlag&&p.delayTime===0){o.totalTime=1/0;break}o.totalTime+=p.delayTime}return o}catch(p){throw p instanceof EvalError?new Error(`error while parsing frame ${b} "${p.message}"`):p}}const _t=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function qt(n,e,t){const{svgData:i}=n;if(!i)return"";const s=ee(e,t);if(i.includes("fill"))return i.replace(_t,()=>s);const o=i.indexOf(">");return`${i.substring(0,o)} fill="${s}"${i.substring(o)}`}async function N(n){return new Promise(e=>{n.loading=!0;const t=new Image;n.element=t,t.addEventListener("load",()=>{n.loading=!1,e()}),t.addEventListener("error",()=>{n.element=void 0,n.error=!0,n.loading=!1,ve().error(`${W} loading image: ${n.source}`),e()}),t.src=n.source})}async function Bt(n){if(n.type!=="gif"){await N(n);return}n.loading=!0;try{n.gifData=await Et(n.source),n.gifLoopCount=St(n.gifData)??0,n.gifLoopCount===0&&(n.gifLoopCount=1/0)}catch{n.error=!0}n.loading=!1}async function Lt(n){if(n.type!=="svg"){await N(n);return}n.loading=!0;const e=await fetch(n.source);e.ok?n.svgData=await e.text():(ve().error(`${W} Image not found`),n.error=!0),n.loading=!1}function zt(n,e,t,i){var a;const s=qt(n,t,((a=i.opacity)==null?void 0:a.value)??1),o={color:t,gif:e.gif,data:{...n,svgData:s},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor??e.replace_color,source:e.src};return new Promise(r=>{const c=new Blob([s],{type:"image/svg+xml"}),l=URL||window.URL||window.webkitURL||window,d=l.createObjectURL(c),u=new Image;u.addEventListener("load",()=>{o.loaded=!0,o.element=u,r(o),l.revokeObjectURL(d)}),u.addEventListener("error",async()=>{l.revokeObjectURL(d);const f={...n,error:!1,loading:!0};await N(f),o.loaded=!0,o.element=f.element,r(o)}),u.src=d})}class Ft{constructor(e){this.loadImageShape=async t=>{if(!this._engine.loadImage)throw new Error(`${W} image shape not initialized`);await this._engine.loadImage({gif:t.gif,name:t.name,replaceColor:t.replaceColor??t.replace_color??!1,src:t.src})},this._engine=e}addImage(e){this._engine.images||(this._engine.images=[]),this._engine.images.push(e)}draw(e,t,i,s,o){const a=t.image,r=a==null?void 0:a.element;if(a){if(e.globalAlpha=s,a.gif&&a.gifData){const c=new OffscreenCanvas(a.gifData.width,a.gifData.height),l=c.getContext("2d");if(!l)throw new Error("could not create offscreen canvas context");l.imageSmoothingQuality="low",l.imageSmoothingEnabled=!1,l.clearRect(0,0,c.width,c.height),t.gifLoopCount===void 0&&(t.gifLoopCount=a.gifLoopCount??0);let d=t.gifFrame??0;const u={x:-a.gifData.width*.5,y:-a.gifData.height*.5},f=a.gifData.frames[d];if(t.gifTime===void 0&&(t.gifTime=0),!f.bitmap)return;switch(e.scale(i/a.gifData.width,i/a.gifData.height),f.disposalMethod){case 4:case 5:case 6:case 7:case 0:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height);break;case 1:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y);break;case 2:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),a.gifData.globalColorTable.length===0?l.putImageData(a.gifData.frames[0].image,u.x+f.left,u.y+f.top):l.putImageData(a.gifData.backgroundImage,u.x,u.y);break;case 3:{const h=l.getImageData(0,0,c.width,c.height);l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),l.putImageData(h,0,0)}break}if(t.gifTime+=o.value,t.gifTime>f.delayTime){if(t.gifTime-=f.delayTime,++d>=a.gifData.frames.length){if(--t.gifLoopCount<=0)return;d=0,l.clearRect(0,0,c.width,c.height)}t.gifFrame=d}e.scale(a.gifData.width/i,a.gifData.height/i)}else if(r){const c=a.ratio,l={x:-i,y:-i};e.drawImage(r,l.x,l.y,i*2,i*2/c)}e.globalAlpha=1}}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if(!(!t.preload||!this._engine.loadImage))for(const i of t.preload)await this._engine.loadImage(i)}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=e.shapeData;this._engine.images.find(s=>s.name===t.name||s.source===t.src)||this.loadImageShape(t).then(()=>{this.loadShape(e)})}particleInit(e,t){if(t.shape!=="image"&&t.shape!=="images")return;this._engine.images||(this._engine.images=[]);const i=this._engine.images,s=t.shapeData,o=t.getFillColor(),a=i.find(c=>c.name===s.name||c.source===s.src);if(!a)return;const r=s.replaceColor??s.replace_color??a.replaceColor;if(a.loading){setTimeout(()=>{this.particleInit(e,t)});return}(async()=>{let c;a.svgData&&o?c=await zt(a,s,o,t):c={color:o,data:a,element:a.element,gif:a.gif,gifData:a.gifData,gifLoopCount:a.gifLoopCount,loaded:!0,ratio:s.width&&s.height?s.width/s.height:a.ratio??1,replaceColor:r,source:s.src},c.ratio||(c.ratio=1);const l=s.fill??t.fill,d=s.close??t.close,u={image:c,fill:l,close:d};t.image=u.image,t.fill=u.fill,t.close=u.close})()}}class At{constructor(){this.src="",this.gif=!1}load(e){e&&(e.gif!==void 0&&(this.gif=e.gif),e.height!==void 0&&(this.height=e.height),e.name!==void 0&&(this.name=e.name),e.replaceColor!==void 0&&(this.replaceColor=e.replaceColor),e.src!==void 0&&(this.src=e.src),e.width!==void 0&&(this.width=e.width))}}class Ht{constructor(e){this.id="imagePreloader",this._engine=e}getPlugin(){return{}}loadOptions(e,t){if(!t||!t.preload)return;e.preload||(e.preload=[]);const i=e.preload;for(const s of t.preload){const o=i.find(a=>a.name===s.name||a.src===s.src);if(o)o.load(s);else{const a=new At;a.load(s),i.push(a)}}}needsPlugin(){return!0}}function Wt(n){n.loadImage||(n.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${W} no image source provided`);if(n.images||(n.images=[]),!n.images.find(t=>t.name===e.name||t.source===e.src))try{const t={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-3),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};n.images.push(t),await(e.gif?Bt:e.replaceColor?Lt:N)(t)}catch{throw new Error(`${W} ${e.name??e.src} not found`)}})}async function jt(n,e=!0){Wt(n);const t=new Ht(n);await n.addPlugin(t,e),await n.addShape(["image","images"],new Ft(n),e)}class Ut extends ae{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class $t extends ae{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Gt{constructor(){this.count=0,this.delay=new Ut,this.duration=new $t}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class Jt{constructor(e){this.container=e}init(e){const t=this.container,i=e.options,s=i.life;s&&(e.life={delay:t.retina.reduceFactor?k(s.delay.value)*(s.delay.sync?1:B())/t.retina.reduceFactor*1e3:0,delayTime:0,duration:t.retina.reduceFactor?k(s.duration.value)*(s.duration.sync?1:B())/t.retina.reduceFactor*1e3:0,time:0,count:s.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...t){e.life||(e.life=new Gt);for(const i of t)e.life.load(i==null?void 0:i.life)}update(e,t){if(!this.isEnabled(e)||!e.life)return;const i=e.life;let s=!1;if(e.spawning)if(i.delayTime+=t.value,i.delayTime>=e.life.delay)s=!0,e.spawning=!1,i.delayTime=0,i.time=0;else return;if(i.duration===-1||e.spawning||(s?i.time=0:i.time+=t.value,i.time0&&e.life.count--,e.life.count===0){e.destroy();return}const o=this.container.canvas.size,a=E(0,o.width),r=E(0,o.width);e.position.x=ie(a),e.position.y=ie(r),e.spawning=!0,i.delayTime=0,i.time=0,e.reset();const c=e.options.life;c&&(i.delay=k(c.delay.value)*1e3,i.duration=k(c.duration.value)*1e3)}}async function Nt(n,e=!0){await n.addParticleUpdater("life",t=>new Jt(t),e)}class Qt{draw(e,t,i){const s=t.shapeData;e.moveTo(-i/2,0),e.lineTo(i/2,0),e.lineCap=(s==null?void 0:s.cap)??"butt"}getSidesCount(){return 1}}async function Kt(n,e=!0){await n.addShape("line",new Qt,e)}class Xt{init(){}isEnabled(e){return!ce()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const t=e.container,i=t.actualOptions,s=i.interactivity.events.onHover.parallax;if(ce()||!s.enable)return;const o=s.force,a=t.interactivity.mouse.position;if(!a)return;const r=t.canvas.size,c={x:r.width/2,y:r.height/2},l=s.smooth,d=e.getRadius()/o,u={x:(a.x-c.x)*d,y:(a.y-c.y)*d},{offset:f}=e;f.x+=(u.x-f.x)/l,f.y+=(u.y-f.y)/l}}async function Yt(n,e=!0){await n.addMover("parallax",()=>new Xt,e)}class Zt extends re{constructor(e){super(e)}clear(){}init(){}async interact(e){const t=this.container,i=e.retina.attractDistance??t.retina.attractDistance,s=e.getPosition(),o=t.particles.quadTree.queryCircle(s,i);for(const a of o){if(e===a||!a.options.move.attract.enable||a.destroyed||a.spawning)continue;const r=a.getPosition(),{dx:c,dy:l}=T(s,r),d=e.options.move.attract.rotate,u=c/(d.x*1e3),f=l/(d.y*1e3),h=a.size.value/e.size.value,y=1/h;e.velocity.x-=u*h,e.velocity.y-=f*h,a.velocity.x+=u*y,a.velocity.y+=f*y}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function Vt(n,e=!0){await n.addInteractor("particlesAttract",t=>new Zt(t),e)}function de(n,e,t,i,s,o){const a=z(n.options.collisions.absorb.speed*s.factor/10,0,i);n.size.value+=a/2,t.size.value-=a,i<=o&&(t.size.value=0,t.destroy())}function ei(n,e,t,i){const s=n.getRadius(),o=e.getRadius();s===void 0&&o!==void 0?n.destroy():s!==void 0&&o===void 0?e.destroy():s!==void 0&&o!==void 0&&(s>=o?de(n,s,e,o,t,i):de(e,o,n,s,t,i))}const fe=n=>{n.collisionMaxSpeed===void 0&&(n.collisionMaxSpeed=k(n.options.collisions.maxSpeed)),n.velocity.length>n.collisionMaxSpeed&&(n.velocity.length=n.collisionMaxSpeed)};function De(n,e){be(V(n),V(e)),fe(n),fe(e)}function ti(n,e){!n.unbreakable&&!e.unbreakable&&De(n,e),n.getRadius()===void 0&&e.getRadius()!==void 0?n.destroy():n.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():n.getRadius()!==void 0&&e.getRadius()!==void 0&&(n.getRadius()>=e.getRadius()?e:n).destroy()}function ii(n,e,t,i){switch(n.options.collisions.mode){case"absorb":{ei(n,e,t,i);break}case"bounce":{De(n,e);break}case"destroy":{ti(n,e);break}}}class ni extends re{constructor(e){super(e)}clear(){}init(){}async interact(e,t){if(e.destroyed||e.spawning)return;const i=this.container,s=e.getPosition(),o=e.getRadius(),a=i.particles.quadTree.queryCircle(s,o*2);for(const r of a){if(e===r||!r.options.collisions.enable||e.options.collisions.mode!==r.options.collisions.mode||r.destroyed||r.spawning)continue;const c=r.getPosition(),l=r.getRadius();if(Math.abs(Math.round(s.z)-Math.round(c.z))>o+l)continue;const d=P(s,c),u=o+l;d>u||ii(e,r,t,i.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function si(n,e=!0){await n.addInteractor("particlesCollisions",t=>new ni(t),e)}class oi extends M{constructor(e,t,i,s){super(e,t,i),this.canvasSize=s,this.canvasSize={...s}}contains(e){const{width:t,height:i}=this.canvasSize,{x:s,y:o}=e;return super.contains(e)||super.contains({x:s-t,y:o})||super.contains({x:s-t,y:o-i})||super.contains({x:s,y:o-i})}intersects(e){if(super.intersects(e))return!0;const t=e,i=e,s={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new M(s.x,s.y,i.radius*2);return super.intersects(o)}else if(t.size!==void 0){const o=new A(s.x,s.y,t.size.width*2,t.size.height*2);return super.intersects(o)}return!1}}class ai{constructor(){this.blur=5,this.color=new _,this.color.value="#000",this.enable=!1}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=_.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class ri{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class ci{constructor(){this.blink=!1,this.color=new _,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new ai,this.triangles=new ri,this.width=1,this.warp=!1}load(e){e&&(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=_.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}function li(n,e,t,i,s){const{dx:o,dy:a,distance:r}=T(n,e);if(!s||r<=t)return r;const c={x:Math.abs(o),y:Math.abs(a)},l={x:Math.min(c.x,i.width-c.x),y:Math.min(c.y,i.height-c.y)};return Math.sqrt(l.x**2+l.y**2)}class ui extends re{constructor(e){super(e),this._setColor=t=>{if(!t.options.links)return;const i=this.linkContainer,s=t.options.links;let o=s.id===void 0?i.particles.linksColor:i.particles.linksColors.get(s.id);if(o)return;const a=s.color;o=me(a,s.blink,s.consent),s.id===void 0?i.particles.linksColor=o:i.particles.linksColors.set(s.id,o)},this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(e){if(!e.options.links)return;e.links=[];const t=e.getPosition(),i=this.container,s=i.canvas.size;if(t.x<0||t.y<0||t.x>s.width||t.y>s.height)return;const o=e.options.links,a=o.opacity,r=e.retina.linksDistance??0,c=o.warp,l=c?new oi(t.x,t.y,r,s):new M(t.x,t.y,r),d=i.particles.quadTree.query(l);for(const u of d){const f=u.options.links;if(e===u||!(f!=null&&f.enable)||o.id!==f.id||u.spawning||u.destroyed||!u.links||e.links.some(m=>m.destination===u)||u.links.some(m=>m.destination===e))continue;const h=u.getPosition();if(h.x<0||h.y<0||h.x>s.width||h.y>s.height)continue;const y=li(t,h,r,s,c&&f.warp);if(y>r)continue;const b=(1-y/r)*a;this._setColor(e),e.links.push({destination:u,opacity:b})}}isEnabled(e){var t;return!!((t=e.options.links)!=null&&t.enable)}loadParticlesOptions(e,...t){e.links||(e.links=new ci);for(const i of t)e.links.load((i==null?void 0:i.links)??(i==null?void 0:i.lineLinked)??(i==null?void 0:i.line_linked))}reset(){}}async function di(n,e=!0){await n.addInteractor("particlesLinks",t=>new ui(t),e)}function fi(n){let e=!1;const{begin:t,end:i,maxDistance:s,context:o,canvasSize:a,width:r,backgroundMask:c,colorLine:l,opacity:d,links:u}=n;if(P(t,i)<=s)L(o,t,i),e=!0;else if(u.warp){let h,y;const b={x:i.x-a.width,y:i.y},m=T(t,b);if(m.distance<=s){const g=t.y-m.dy/m.dx*t.x;h={x:0,y:g},y={x:a.width,y:g}}else{const g={x:i.x,y:i.y-a.height},w=T(t,g);if(w.distance<=s){const p=-(t.y-w.dy/w.dx*t.x)/(w.dy/w.dx);h={x:p,y:0},y={x:p,y:a.height}}else{const v={x:i.x-a.width,y:i.y-a.height},p=T(t,v);if(p.distance<=s){const D=t.y-p.dy/p.dx*t.x;h={x:-D/(p.dy/p.dx),y:D},y={x:h.x+a.width,y:h.y+a.height}}}}h&&y&&(L(o,t,h),L(o,i,y),e=!0)}if(!e)return;o.lineWidth=r,c.enable&&(o.globalCompositeOperation=c.composite),o.strokeStyle=H(l,d);const{shadow:f}=u;if(f.enable){const h=ne(f.color);h&&(o.shadowBlur=f.blur,o.shadowColor=H(h))}o.stroke()}function hi(n){const{context:e,pos1:t,pos2:i,pos3:s,backgroundMask:o,colorTriangle:a,opacityTriangle:r}=n;Be(e,t,i,s),o.enable&&(e.globalCompositeOperation=o.composite),e.fillStyle=H(a,r),e.fill()}function pi(n){return n.sort((e,t)=>e-t),n.join("_")}function he(n,e){const t=pi(n.map(s=>s.id));let i=e.get(t);return i===void 0&&(i=B(),e.set(t,i)),i}class bi{constructor(e){this.container=e,this._drawLinkLine=(t,i)=>{const s=t.options.links;if(!(s!=null&&s.enable))return;const o=this.container,a=o.actualOptions,r=i.destination,c=t.getPosition(),l=r.getPosition();let d=i.opacity;o.canvas.draw(u=>{var g;let f;const h=(g=t.options.twinkle)==null?void 0:g.lines;if(h!=null&&h.enable){const w=h.frequency,v=ne(h.color);B(){const o=t.options.links;if(!(o!=null&&o.enable))return;const a=o.triangles;if(!a.enable)return;const r=this.container,c=r.actualOptions,l=i.destination,d=s.destination,u=a.opacity??(i.opacity+s.opacity)/2;u<=0||r.canvas.draw(f=>{const h=t.getPosition(),y=l.getPosition(),b=d.getPosition(),m=t.retina.linksDistance??0;if(P(h,y)>m||P(b,y)>m||P(b,h)>m)return;let g=ne(a.color);if(!g){const w=o.id!==void 0?r.particles.linksColors.get(o.id):r.particles.linksColor;g=te(t,l,w)}g&&hi({context:f,pos1:h,pos2:y,pos3:b,backgroundMask:c.backgroundMask,colorTriangle:g,opacityTriangle:u})})},this._drawTriangles=(t,i,s,o)=>{var c,l,d;const a=s.destination;if(!((c=t.links)!=null&&c.triangles.enable&&((l=a.options.links)!=null&&l.triangles.enable)))return;const r=(d=a.links)==null?void 0:d.filter(u=>{const f=this._getLinkFrequency(a,u.destination);return a.options.links&&f<=a.options.links.frequency&&o.findIndex(h=>h.destination===u.destination)>=0});if(r!=null&&r.length)for(const u of r){const f=u.destination;this._getTriangleFrequency(i,a,f)>t.links.triangles.frequency||this._drawLinkTriangle(i,s,u)}},this._getLinkFrequency=(t,i)=>he([t,i],this._freqs.links),this._getTriangleFrequency=(t,i,s)=>he([t,i,s],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(e,t){const{links:i,options:s}=t;if(!i||i.length<=0)return;const o=i.filter(a=>s.links&&this._getLinkFrequency(t,a.destination)<=s.links.frequency);for(const a of o)this._drawTriangles(s,t,a,o),a.opacity>0&&(t.retina.linksWidth??0)>0&&this._drawLinkLine(t,a)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(e){if(e.links=[],!e.options.links)return;const t=this.container.retina.pixelRatio,{retina:i}=e,{distance:s,width:o}=e.options.links;i.linksDistance=s*t,i.linksWidth=o*t}particleDestroyed(e){e.links=[]}}class gi{constructor(){this.id="links"}getPlugin(e){return new bi(e)}loadOptions(){}needsPlugin(){return!0}}async function yi(n,e=!0){const t=new gi;await n.addPlugin(t,e)}async function wi(n,e=!0){await di(n,e),await yi(n,e)}class Me{draw(e,t,i){const s=this.getCenter(t,i),o=this.getSidesData(t,i),a=o.count.numerator*o.count.denominator,r=o.count.numerator/o.count.denominator,c=180*(r-2)/r,l=Math.PI-Math.PI*c/180;if(e){e.beginPath(),e.translate(s.x,s.y),e.moveTo(0,0);for(let d=0;da&&(t.value-=a);break;case"decreasing":default:t.value-=o,t.value<0&&(t.value+=a);break}t.velocity&&r!==1&&(t.velocity*=r)}}class Oi{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:k(t.value)*Math.PI/180},e.pathRotation=t.path;let i=t.direction;switch(i==="random"&&(i=Math.floor(B()*2)>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const s=t.animation;s.enable&&(e.rotate.decay=1-k(s.decay),e.rotate.velocity=k(s.speed)/360*this.container.retina.reduceFactor,s.sync||(e.rotate.velocity*=B())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new Mi);for(const i of t)e.rotate.load(i==null?void 0:i.rotate)}update(e,t){var i;this.isEnabled(e)&&(Ri(e,t),e.rotation=((i=e.rotate)==null?void 0:i.value)??0)}}async function Ii(n,e=!0){await n.addParticleUpdater("rotate",t=>new Oi(t),e)}const Pi=Math.sqrt(2);class Ti{draw(e,t,i){const s=i/Pi,o=s*2;e.rect(-s,-s,o,o)}getSidesCount(){return 4}}async function Si(n,e=!0){await n.addShape(["edge","square"],new Ti,e)}class Ei{draw(e,t,i){const s=t.sides,o=t.starInset??2;e.moveTo(0,0-i);for(let a=0;a0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=ie(t.offset),a=(e.velocity??0)*n.factor+o*3.6,r=e.decay??1;!s||e.status==="increasing"?(e.value+=a,e.value>i&&(e.loops||(e.loops=0),e.loops++,s&&(e.status="decreasing",e.value-=e.value%i))):(e.value-=a,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&r!==1&&(e.velocity*=r),e.value>i&&(e.value%=i)}function qi(n,e){if(!n.strokeColor||!n.strokeAnimation)return;const{h:t,s:i,l:s}=n.strokeColor,{h:o,s:a,l:r}=n.strokeAnimation;t&&Z(e,t,o,360,!1),i&&Z(e,i,a,100,!0),s&&Z(e,s,r,100,!0)}class Bi{constructor(e){this.container=e}init(e){var a;const t=this.container,i=e.options,s=G(i.stroke,e.id,i.reduceDuplicates);e.strokeWidth=k(s.width)*t.retina.pixelRatio,e.strokeOpacity=k(s.opacity??1),e.strokeAnimation=(a=s.color)==null?void 0:a.animation;const o=ge(s.color)??e.getFillColor();o&&(e.strokeColor=Le(o,e.strokeAnimation,t.retina.reduceFactor))}isEnabled(e){const t=e.strokeAnimation,{strokeColor:i}=e;return!e.destroyed&&!e.spawning&&!!t&&((i==null?void 0:i.h.value)!==void 0&&i.h.enable||(i==null?void 0:i.s.value)!==void 0&&i.s.enable||(i==null?void 0:i.l.value)!==void 0&&i.l.enable)}update(e,t){this.isEnabled(e)&&qi(e,t)}}async function Li(n,e=!0){await n.addParticleUpdater("strokeColor",t=>new Bi(t),e)}const $=["text","character","char"];class zi{draw(e,t,i,s){const o=t.shapeData;if(o===void 0)return;const a=o.value;if(a===void 0)return;t.text===void 0&&(t.text=G(a,t.randomIndexData));const r=t.text,c=o.style??"",l=o.weight??"400",d=Math.round(i)*2,u=o.font??"Verdana",f=t.fill,h=r.length*i/2;e.font=`${c} ${l} ${d}px "${u}"`;const y={x:-h,y:i/2};e.globalAlpha=s,f?e.fillText(r,y.x,y.y):e.strokeText(r,y.x,y.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if($.find(i=>x(i,t.particles.shape.type))){const i=$.map(o=>t.particles.shape.options[o]).find(o=>!!o),s=[];S(i,o=>{s.push(ze(o.font,o.weight))}),await Promise.all(s)}}particleInit(e,t){if(!t.shape||!$.includes(t.shape))return;const i=t.shapeData;if(i===void 0)return;const s=i.value;s!==void 0&&(t.text=G(s,t.randomIndexData))}}async function Fi(n,e=!0){await n.addShape($,new zi,e)}async function Ai(n,e=!0){He(n),await Yt(n,!1),await $e(n,!1),await Ne(n,!1),await Ye(n,!1),await ot(n,!1),await dt(n,!1),await ht(n,!1),await gt(n,!1),await mt(n,!1),await Ct(n,!1),await Rt(n,!1),await Vt(n,!1),await si(n,!1),await wi(n,!1),await We(),await jt(n,!1),await Kt(n,!1),await Ci(n,!1),await Si(n,!1),await _i(n,!1),await Fi(n,!1),await Nt(n,!1),await Ii(n,!1),await Li(n,!1),await Fe(n,e)}const ji=Object.freeze(Object.defineProperty({__proto__:null,loadSlim:Ai},Symbol.toStringTag,{value:"Module"}));export{O as E,ji as i,Ai as l}; +import{z as Ie,B as X,C as M,f as T,D as z,E as pe,a as F,F as j,n as x,G as be,H as V,R as A,I as Pe,J as Te,K as se,L as oe,m as Se,l as S,O as _,g as P,M as U,N as Ee,k as G,u as ge,P as _e,Q as ye,S as we,T as L,y as ee,h as H,U as me,W as te,s as E,e as k,x as qe,X as ve,Y as W,V as ae,d as B,t as ie,Z as ce,r as ne,_ as Be,$ as Le,a0 as ze,a1 as Fe}from"./index.255917c4.js";class O{constructor(e){this.container=e,this.type="external"}}class re{constructor(e){this.container=e,this.type="particles"}}class J{static init(e){var o;const t=new J,i=e.selector;if(!i)throw new Error("No selector provided");const s=document.querySelector(i);if(!s)throw new Error("No element found for selector");return Ie.set(i.replace(".","").replace("!",""),s,{fullScreen:{enable:!1},particles:{color:{value:e.color??"!000000"},links:{color:"random",distance:e.minDistance??120,enable:e.connectParticles??!1},move:{enable:!0,speed:e.speed??.5},number:{value:e.maxParticles??100},size:{value:{min:1,max:e.sizeVariations??3}}},responsive:(o=e.responsive)==null?void 0:o.map(a=>{var r,c,l,d,u;return{maxWidth:a.breakpoint,options:{particles:{color:{value:(r=a.options)==null?void 0:r.color},links:{distance:(c=a.options)==null?void 0:c.minDistance,enable:(l=a.options)==null?void 0:l.connectParticles},number:{value:e.maxParticles},move:{enable:!0,speed:(d=a.options)==null?void 0:d.speed},size:{value:(u=a.options)==null?void 0:u.sizeVariations}}}}})}).then(a=>{t._container=a}),t}destroy(){const e=this._container;e&&e.destroy()}pauseAnimation(){const e=this._container;e&&e.pause()}resumeAnimation(){const e=this._container;e&&e.play()}}const Ae=n=>{const e=(i,s)=>n.load(i,s);e.load=(i,s,o)=>{n.loadJSON(i,s).then(a=>{a&&o(a)}).catch(()=>{o(void 0)})},e.setOnClickHandler=i=>{n.setOnClickHandler(i)};const t=n.dom();return{particlesJS:e,pJSDom:t}},He=n=>{const{particlesJS:e,pJSDom:t}=Ae(n);return window.particlesJS=e,window.pJSDom=t,window.Particles=J,{particlesJS:e,pJSDom:t,Particles:J}};async function We(){X("ease-in-quad",n=>n**2),X("ease-out-quad",n=>1-(1-n)**2),X("ease-in-out-quad",n=>n<.5?2*n**2:1-(-2*n+2)**2/2)}class je{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}let Ue=class extends O{constructor(e,t){super(t),this._clickAttract=()=>{const i=this.container;i.attract||(i.attract={particles:[]});const{attract:s}=i;if(s.finish||(s.count||(s.count=0),s.count++,s.count===i.particles.count&&(s.finish=!0)),s.clicking){const o=i.interactivity.mouse.clickPosition,a=i.retina.attractModeDistance;if(!a||a<0||!o)return;this._processAttract(o,a,new M(o.x,o.y,a))}else s.clicking===!1&&(s.particles=[])},this._hoverAttract=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.attractModeDistance;!o||o<0||!s||this._processAttract(s,o,new M(s.x,s.y,o))},this._processAttract=(i,s,o)=>{const a=this.container,r=a.actualOptions.interactivity.modes.attract;if(!r)return;const c=a.particles.quadTree.query(o,l=>this.isEnabled(l));for(const l of c){const{dx:d,dy:u,distance:f}=T(l.position,i),h=r.speed*r.factor,y=z(pe(r.easing)(1-f/s)*h,0,r.maxSpeed),b=F.create(f===0?h:d/f*y,f===0?h:u/f*y);l.position.subFrom(b)}},this._engine=e,t.attract||(t.attract={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.attract;if(!(!o||i!=="attract")){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const a of t.attract.particles)this.isEnabled(a)&&a.velocity.setTo(a.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.attract;t&&(e.retina.attractModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover.enable,a=s.onHover.mode,r=s.onClick.enable,c=s.onClick.mode;i&&o&&x("attract",a)?this._hoverAttract():r&&x("attract",c)&&this._clickAttract()}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events;if((!s.position||!o.onHover.enable)&&(!s.clickPosition||!o.onClick.enable))return!1;const a=o.onHover.mode,r=o.onClick.mode;return x("attract",a)||x("attract",r)}loadModeOptions(e,...t){e.attract||(e.attract=new je);for(const i of t)e.attract.load(i==null?void 0:i.attract)}reset(){}};async function $e(n,e=!0){await n.addInteractor("externalAttract",t=>new Ue(n,t),e)}class Ge{constructor(){this.distance=200}load(e){e&&e.distance!==void 0&&(this.distance=e.distance)}}class Je extends O{constructor(e){super(e),this._processBounce=(t,i,s)=>{const o=this.container.particles.quadTree.query(s,a=>this.isEnabled(a));for(const a of o)s instanceof M?be(V(a),{position:t,radius:i,mass:i**2*Math.PI/2,velocity:F.origin,factor:F.origin}):s instanceof A&&Pe(a,Te(t,i))},this._processMouseBounce=()=>{const t=this.container,i=t.retina.pixelRatio,s=10*i,o=t.interactivity.mouse.position,a=t.retina.bounceModeDistance;!a||a<0||!o||this._processBounce(o,a,new M(o.x,o.y,a+s))},this._singleSelectorBounce=(t,i)=>{const s=this.container,o=document.querySelectorAll(t);o.length&&o.forEach(a=>{const r=a,c=s.retina.pixelRatio,l={x:(r.offsetLeft+r.offsetWidth/2)*c,y:(r.offsetTop+r.offsetHeight/2)*c},d=r.offsetWidth/2*c,u=10*c,f=i.type==="circle"?new M(l.x,l.y,d+u):new A(r.offsetLeft*c-u,r.offsetTop*c-u,r.offsetWidth*c+u*2,r.offsetHeight*c+u*2);this._processBounce(l,d,f)})}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bounce;t&&(e.retina.bounceModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=t.interactivity.events,s=e.interactivity.status===j,o=i.onHover.enable,a=i.onHover.mode,r=i.onDiv;s&&o&&x("bounce",a)?this._processMouseBounce():se("bounce",r,(c,l)=>this._singleSelectorBounce(c,l))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv;return s.position&&o.onHover.enable&&x("bounce",o.onHover.mode)||oe("bounce",a)}loadModeOptions(e,...t){e.bounce||(e.bounce=new Ge);for(const i of t)e.bounce.load(i==null?void 0:i.bounce)}reset(){}}async function Ne(n,e=!0){await n.addInteractor("externalBounce",t=>new Je(t),e)}class xe{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const t=Se(this.color)?void 0:this.color;this.color=S(e.color,i=>_.create(t,i))}e.size!==void 0&&(this.size=e.size)}}}class Qe extends xe{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class Ke extends xe{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new Qe;return i.load(t),i}))}}function le(n,e,t,i){if(e>=t){const s=n+(e-t)*i;return z(s,n,e)}else if(e{var l;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.clickPosition,o=i.interactivity.modes.bubble;if(!o||!s)return;t.bubble||(t.bubble={});const a=t.retina.bubbleModeDistance;if(!a||a<0)return;const r=t.particles.quadTree.queryCircle(s,a,d=>this.isEnabled(d)),{bubble:c}=t;for(const d of r){if(!c.clicking)continue;d.bubble.inRange=!c.durationEnd;const u=d.getPosition(),f=P(u,s),h=(new Date().getTime()-(t.interactivity.mouse.clickTime||0))/1e3;h>o.duration&&(c.durationEnd=!0),h>o.duration*2&&(c.clicking=!1,c.durationEnd=!1);const y={bubbleObj:{optValue:t.retina.bubbleModeSize,value:d.bubble.radius},particlesObj:{optValue:U(d.options.size.value)*t.retina.pixelRatio,value:d.size.value},type:"size"};this._process(d,f,h,y);const b={bubbleObj:{optValue:o.opacity,value:d.bubble.opacity},particlesObj:{optValue:U(d.options.opacity.value),value:((l=d.opacity)==null?void 0:l.value)??1},type:"opacity"};this._process(d,f,h,b),!c.durationEnd&&f<=a?this._hoverBubbleColor(d,f):delete d.bubble.color}},this._hoverBubble=()=>{const t=this.container,i=t.interactivity.mouse.position,s=t.retina.bubbleModeDistance;if(!s||s<0||i===void 0)return;const o=t.particles.quadTree.queryCircle(i,s,a=>this.isEnabled(a));for(const a of o){a.bubble.inRange=!0;const r=a.getPosition(),c=P(r,i),l=1-c/s;c<=s?l>=0&&t.interactivity.status===j&&(this._hoverBubbleSize(a,l),this._hoverBubbleOpacity(a,l),this._hoverBubbleColor(a,l)):this.reset(a),t.interactivity.status===Ee&&this.reset(a)}},this._hoverBubbleColor=(t,i,s)=>{const o=this.container.actualOptions,a=s??o.interactivity.modes.bubble;if(a){if(!t.bubble.finalColor){const r=a.color;if(!r)return;const c=G(r);t.bubble.finalColor=ge(c)}if(t.bubble.finalColor)if(a.mix){t.bubble.color=void 0;const r=t.getFillColor();t.bubble.color=r?_e(ye(r,t.bubble.finalColor,1-i,i)):t.bubble.finalColor}else t.bubble.color=t.bubble.finalColor}},this._hoverBubbleOpacity=(t,i,s)=>{var u,f;const o=this.container,a=o.actualOptions,r=(s==null?void 0:s.opacity)??((u=a.interactivity.modes.bubble)==null?void 0:u.opacity);if(!r)return;const c=t.options.opacity.value,l=((f=t.opacity)==null?void 0:f.value)??1,d=le(l,r,U(c),i);d!==void 0&&(t.bubble.opacity=d)},this._hoverBubbleSize=(t,i,s)=>{const o=this.container,a=s!=null&&s.size?s.size*o.retina.pixelRatio:o.retina.bubbleModeSize;if(a===void 0)return;const r=U(t.options.size.value)*o.retina.pixelRatio,c=t.size.value,l=le(c,a,r,i);l!==void 0&&(t.bubble.radius=l)},this._process=(t,i,s,o)=>{const a=this.container,r=o.bubbleObj.optValue,c=a.actualOptions,l=c.interactivity.modes.bubble;if(!l||r===void 0)return;const d=l.duration,u=a.retina.bubbleModeDistance,f=o.particlesObj.optValue,h=o.bubbleObj.value,y=o.particlesObj.value||0,b=o.type;if(!(!u||u<0||r===f))if(a.bubble||(a.bubble={}),a.bubble.durationEnd)h&&(b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity);else if(i<=u){if((h??y)!==r){const g=y-s*(y-r)/d;b==="size"&&(t.bubble.radius=g),b==="opacity"&&(t.bubble.opacity=g)}}else b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity},this._singleSelectorHover=(t,i,s)=>{const o=this.container,a=document.querySelectorAll(i),r=o.actualOptions.interactivity.modes.bubble;!r||!a.length||a.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=o.particles.quadTree.query(h,b=>this.isEnabled(b));for(const b of y){if(!h.contains(b.getPosition()))continue;b.bubble.inRange=!0;const m=r.divs,g=we(m,l);(!b.bubble.div||b.bubble.div!==l)&&(this.clear(b,t,!0),b.bubble.div=l),this._hoverBubbleSize(b,1,g),this._hoverBubbleOpacity(b,1,g),this._hoverBubbleColor(b,1,g)}})},e.bubble||(e.bubble={}),this.handleClickMode=t=>{t==="bubble"&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,t,i){e.bubble.inRange&&!i||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bubble;t&&(e.retina.bubbleModeDistance=t.distance*e.retina.pixelRatio,t.size!==void 0&&(e.retina.bubbleModeSize=t.size*e.retina.pixelRatio))}async interact(e){const t=this.container.actualOptions,i=t.interactivity.events,s=i.onHover,o=i.onClick,a=s.enable,r=s.mode,c=o.enable,l=o.mode,d=i.onDiv;a&&x("bubble",r)?this._hoverBubble():c&&x("bubble",l)?this._clickBubble():se("bubble",d,(u,f)=>this._singleSelectorHover(e,u,f))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,{onClick:a,onDiv:r,onHover:c}=o,l=oe("bubble",r);return l||c.enable&&s.position||a.enable&&s.clickPosition?x("bubble",c.mode)||x("bubble",a.mode)||l:!1}loadModeOptions(e,...t){e.bubble||(e.bubble=new Ke);for(const i of t)e.bubble.load(i==null?void 0:i.bubble)}reset(e){e.bubble.inRange=!1}}async function Ye(n,e=!0){await n.addInteractor("externalBubble",t=>new Xe(t),e)}class Ze{constructor(){this.opacity=.5}load(e){e&&e.opacity!==void 0&&(this.opacity=e.opacity)}}class Ve{constructor(){this.distance=80,this.links=new Ze,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked),e.radius!==void 0&&(this.radius=e.radius))}}function et(n,e,t,i){const s=Math.floor(t.getRadius()/e.getRadius()),o=e.getFillColor(),a=t.getFillColor();if(!o||!a)return;const r=e.getPosition(),c=t.getPosition(),l=ye(o,a,e.getRadius(),t.getRadius()),d=n.createLinearGradient(r.x,r.y,c.x,c.y);return d.addColorStop(0,ee(o,i)),d.addColorStop(s>1?1:s,H(l,i)),d.addColorStop(1,ee(a,i)),d}function tt(n,e,t,i,s){L(n,i,s),n.lineWidth=e,n.strokeStyle=t,n.stroke()}function it(n,e,t,i){const s=n.actualOptions,o=s.interactivity.modes.connect;if(o)return et(e,t,i,o.links.opacity)}function nt(n,e,t){n.canvas.draw(i=>{const s=it(n,i,e,t);if(!s)return;const o=e.getPosition(),a=t.getPosition();tt(i,e.retina.linksWidth??0,s,o,a)})}class st extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.connect;t&&(e.retina.connectModeDistance=t.distance*e.retina.pixelRatio,e.retina.connectModeRadius=t.radius*e.retina.pixelRatio)}async interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const i=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const s=Math.abs(e.retina.connectModeRadius),o=e.particles.quadTree.queryCircle(i,s,r=>this.isEnabled(r));let a=0;for(const r of o){const c=r.getPosition();for(const l of o.slice(a+1)){const d=l.getPosition(),u=Math.abs(e.retina.connectModeDistance),f=Math.abs(c.x-d.x),h=Math.abs(c.y-d.y);fnew st(t),e)}class at{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class rt{constructor(){this.distance=100,this.links=new at}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked))}}function ct(n,e,t,i,s,o){L(n,t,i),n.strokeStyle=H(s,o),n.lineWidth=e,n.stroke()}function lt(n,e,t,i,s){n.canvas.draw(o=>{const a=e.getPosition();ct(o,e.retina.linksWidth??0,a,s,t,i)})}class ut extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.grab;t&&(e.retina.grabModeDistance=t.distance*e.retina.pixelRatio)}async interact(){var r;const e=this.container,t=e.actualOptions,i=t.interactivity;if(!i.modes.grab||!i.events.onHover.enable||e.interactivity.status!==j)return;const s=e.interactivity.mouse.position;if(!s)return;const o=e.retina.grabModeDistance;if(!o||o<0)return;const a=e.particles.quadTree.queryCircle(s,o,c=>this.isEnabled(c));for(const c of a){const l=c.getPosition(),d=P(l,s);if(d>o)continue;const u=i.modes.grab.links,f=u.opacity,h=f-d*f/o;if(h<=0)continue;const y=u.color??((r=c.options.links)==null?void 0:r.color);if(!e.particles.grabLineColor&&y){const m=i.modes.grab.links;e.particles.grabLineColor=me(y,m.blink,m.consent)}const b=te(c,void 0,e.particles.grabLineColor);b&<(e,c,b,h,s)}}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("grab",s.onHover.mode)}loadModeOptions(e,...t){e.grab||(e.grab=new rt);for(const i of t)e.grab.load(i==null?void 0:i.grab)}reset(){}}async function dt(n,e=!0){await n.addInteractor("externalGrab",t=>new ut(t),e)}class ft extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="pause")return;const i=this.container;i.getAnimationStatus()?i.pause():i.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}async function ht(n,e=!0){await n.addInteractor("externalPause",t=>new ft(t),e)}class pt{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(i=>i)),this.groups.length||(this.default=!0);const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class bt extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="push")return;const i=this.container,s=i.actualOptions,o=s.interactivity.modes.push;if(!o)return;const a=k(o.quantity);if(a<=0)return;const r=qe([void 0,...o.groups]),c=r!==void 0?i.actualOptions.particles.groups[r]:void 0;i.particles.push(a,i.interactivity.mouse,c,r)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.push||(e.push=new pt);for(const i of t)e.push.load(i==null?void 0:i.push)}reset(){}}async function gt(n,e=!0){await n.addInteractor("externalPush",t=>new bt(t),e)}class yt{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class wt extends O{constructor(e){super(e),this.handleClickMode=t=>{const i=this.container,s=i.actualOptions;if(!s.interactivity.modes.remove||t!=="remove")return;const o=k(s.interactivity.modes.remove.quantity);i.particles.removeQuantity(o)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.remove||(e.remove=new yt);for(const i of t)e.remove.load(i==null?void 0:i.remove)}reset(){}}async function mt(n,e=!0){await n.addInteractor("externalRemove",t=>new wt(t),e)}class ke{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class vt extends ke{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class xt extends ke{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new vt;return i.load(t),i}))}}class kt extends O{constructor(e,t){super(t),this._clickRepulse=()=>{const i=this.container,s=i.actualOptions.interactivity.modes.repulse;if(!s)return;const o=i.repulse||{particles:[]};if(o.finish||(o.count||(o.count=0),o.count++,o.count===i.particles.count&&(o.finish=!0)),o.clicking){const a=i.retina.repulseModeDistance;if(!a||a<0)return;const r=Math.pow(a/6,3),c=i.interactivity.mouse.clickPosition;if(c===void 0)return;const l=new M(c.x,c.y,r),d=i.particles.quadTree.query(l,u=>this.isEnabled(u));for(const u of d){const{dx:f,dy:h,distance:y}=T(c,u.position),b=y**2,m=s.speed,g=-r*m/b;if(b<=r){o.particles.push(u);const w=F.create(f,h);w.length=g,u.velocity.setTo(w)}}}else if(o.clicking===!1){for(const a of o.particles)a.velocity.setTo(a.initialVelocity);o.particles=[]}},this._hoverRepulse=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.repulseModeDistance;!o||o<0||!s||this._processRepulse(s,o,new M(s.x,s.y,o))},this._processRepulse=(i,s,o,a)=>{const r=this.container,c=r.particles.quadTree.query(o,d=>this.isEnabled(d)),l=r.actualOptions.interactivity.modes.repulse;if(l)for(const d of c){const{dx:u,dy:f,distance:h}=T(d.position,i),y=((a==null?void 0:a.speed)??l.speed)*l.factor,b=z(pe(l.easing)(1-h/s)*y,0,l.maxSpeed),m=F.create(h===0?y:u/h*b,h===0?y:f/h*b);d.position.addTo(m)}},this._singleSelectorRepulse=(i,s)=>{const o=this.container,a=o.actualOptions.interactivity.modes.repulse;if(!a)return;const r=document.querySelectorAll(i);r.length&&r.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=a.divs,b=we(y,l);this._processRepulse(u,f,h,b)})},this._engine=e,t.repulse||(t.repulse={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.repulse;if(!o||i!=="repulse")return;t.repulse||(t.repulse={particles:[]});const a=t.repulse;a.clicking=!0,a.count=0;for(const r of t.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);a.particles=[],a.finish=!1,setTimeout(()=>{t.destroyed||(a.clicking=!1)},o.duration*1e3)}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.repulse;t&&(e.retina.repulseModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover,a=o.enable,r=o.mode,c=s.onClick,l=c.enable,d=c.mode,u=s.onDiv;i&&a&&x("repulse",r)?this._hoverRepulse():l&&x("repulse",d)?this._clickRepulse():se("repulse",u,(f,h)=>this._singleSelectorRepulse(f,h))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv,r=o.onHover,c=o.onClick,l=oe("repulse",a);if(!(l||r.enable&&s.position||c.enable&&s.clickPosition))return!1;const d=r.mode,u=c.mode;return x("repulse",d)||x("repulse",u)||l}loadModeOptions(e,...t){e.repulse||(e.repulse=new xt);for(const i of t)e.repulse.load(i==null?void 0:i.repulse)}reset(){}}async function Ct(n,e=!0){await n.addInteractor("externalRepulse",t=>new kt(n,t),e)}class Dt{constructor(){this.factor=3,this.radius=200}load(e){e&&(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}class Mt extends O{constructor(e){super(e)}clear(e,t,i){e.slow.inRange&&!i||(e.slow.factor=1)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.slow;t&&(e.retina.slowModeRadius=t.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("slow",s.onHover.mode)}loadModeOptions(e,...t){e.slow||(e.slow=new Dt);for(const i of t)e.slow.load(i==null?void 0:i.slow)}reset(e){e.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,o=t.retina.slowModeRadius,a=i.interactivity.modes.slow;if(!a||!o||o<0||!s)return;const r=e.getPosition(),c=P(s,r),l=c/o,d=a.factor,{slow:u}=e;c>o||(u.inRange=!0,u.factor=l/d)}}async function Rt(n,e=!0){await n.addInteractor("externalSlow",t=>new Mt(t),e)}const Y=[0,4,2,1],ue=[8,8,4,2];class Ot{constructor(e){this.pos=0,this.data=new Uint8ClampedArray(e)}getString(e){const t=this.data.slice(this.pos,this.pos+e);return this.pos+=t.length,t.reduce((i,s)=>i+String.fromCharCode(s),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let e="",t=0;do{t=this.data[this.pos++];for(let i=t;--i>=0;e+=String.fromCharCode(this.data[this.pos++]));}while(t!==0);return e}readSubBlocksBin(){let e=0,t=0;for(let s=0;(e=this.data[this.pos+s])!==0;s+=e+1)t+=e;const i=new Uint8Array(t);for(let s=0;(e=this.data[this.pos++])!==0;)for(let o=e;--o>=0;i[s++]=this.data[this.pos++]);return i}skipSubBlocks(){for(;this.data[this.pos]!==0;this.pos+=this.data[this.pos]+1);this.pos++}}function Ce(n,e){const t=[];for(let i=0;i>>5,s.disposalMethod=(o&28)>>>2,s.userInputDelayFlag=(o&2)===2;const a=(o&1)===1;s.delayTime=n.nextTwoBytes()*10;const r=n.nextByte();a&&i(r),n.pos++;break}case 255:{n.pos++;const s={identifier:n.getString(8),authenticationCode:n.getString(3),data:n.readSubBlocksBin()};e.applicationExtensions.push(s);break}case 254:{e.comments.push([t(!1),n.readSubBlocks()]);break}case 1:{if(e.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");n.pos++,e.frames[t(!1)].plainTextData={left:n.nextTwoBytes(),top:n.nextTwoBytes(),width:n.nextTwoBytes(),height:n.nextTwoBytes(),charSize:{width:n.nextTwoBytes(),height:n.nextTwoBytes()},foregroundColor:n.nextByte(),backgroundColor:n.nextByte(),text:n.readSubBlocks()};break}default:n.skipSubBlocks();break}}async function Pt(n,e,t,i,s,o){const a=e.frames[i(!0)];a.left=n.nextTwoBytes(),a.top=n.nextTwoBytes(),a.width=n.nextTwoBytes(),a.height=n.nextTwoBytes();const r=n.nextByte(),c=(r&128)===128,l=(r&64)===64;a.sortFlag=(r&32)===32,a.reserved=(r&24)>>>3;const d=1<<(r&7)+1;c&&(a.localColorTable=Ce(n,d));const u=g=>{const{r:w,g:v,b:p}=(c?a.localColorTable:e.globalColorTable)[g];return{r:w,g:v,b:p,a:g===s(null)?t?~~((w+v+p)/3):0:255}},f=(()=>{try{return new ImageData(a.width,a.height,{colorSpace:"srgb"})}catch(g){if(g instanceof DOMException&&g.name==="IndexSizeError")return null;throw g}})();if(f==null)throw new EvalError("GIF frame size is to large");const h=n.nextByte(),y=n.readSubBlocksBin(),b=1<{const v=g>>>3,p=g&7;return(y[v]+(y[v+1]<<8)+(y[v+2]<<16)&(1<>>p};if(l){for(let g=0,w=h+1,v=0,p=[[0]],D=0;D<4;D++){if(Y[D]=p.length?p.push(p[q].concat(p[q][0])):q!==b&&p.push(p[q].concat(p[g][0]));for(let R=0;R=a.height))break}o==null||o(n.pos/(n.data.length-1),i(!1)+1,f,{x:a.left,y:a.top},{width:e.width,height:e.height})}a.image=f,a.bitmap=await createImageBitmap(f)}else{for(let g=0,w=h+1,v=0,p=[[0]],D=-4;;){const I=g;if(g=m(v,w),v+=w,g===b){w=h+1,p.length=b+2;for(let C=0;C=p.length?p.push(p[I].concat(p[I][0])):I!==b&&p.push(p[I].concat(p[g][0]));for(let C=0;C=1<>>4,o.sortFlag=(r&8)===8;const l=1<<(r&7)+1,d=a.nextByte();o.pixelAspectRatio=a.nextByte(),o.pixelAspectRatio!==0&&(o.pixelAspectRatio=(o.pixelAspectRatio+15)/64),c&&(o.globalColorTable=Ce(a,l));const u=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(p){if(p instanceof DOMException&&p.name==="IndexSizeError")return null;throw p}})();if(u==null)throw new Error("GIF frame size is to large");const{r:f,g:h,b:y}=o.globalColorTable[d];u.data.set(c?[f,h,y,255]:[0,0,0,0]);for(let p=4;p(p&&(m=!0),b),v=p=>(p!=null&&(g=p),g);try{do m&&(o.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),b++,g=-1,m=!1);while(!await Tt(a,o,t,w,v,e));o.frames.length--;for(const p of o.frames){if(p.userInputDelayFlag&&p.delayTime===0){o.totalTime=1/0;break}o.totalTime+=p.delayTime}return o}catch(p){throw p instanceof EvalError?new Error(`error while parsing frame ${b} "${p.message}"`):p}}const _t=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function qt(n,e,t){const{svgData:i}=n;if(!i)return"";const s=ee(e,t);if(i.includes("fill"))return i.replace(_t,()=>s);const o=i.indexOf(">");return`${i.substring(0,o)} fill="${s}"${i.substring(o)}`}async function N(n){return new Promise(e=>{n.loading=!0;const t=new Image;n.element=t,t.addEventListener("load",()=>{n.loading=!1,e()}),t.addEventListener("error",()=>{n.element=void 0,n.error=!0,n.loading=!1,ve().error(`${W} loading image: ${n.source}`),e()}),t.src=n.source})}async function Bt(n){if(n.type!=="gif"){await N(n);return}n.loading=!0;try{n.gifData=await Et(n.source),n.gifLoopCount=St(n.gifData)??0,n.gifLoopCount===0&&(n.gifLoopCount=1/0)}catch{n.error=!0}n.loading=!1}async function Lt(n){if(n.type!=="svg"){await N(n);return}n.loading=!0;const e=await fetch(n.source);e.ok?n.svgData=await e.text():(ve().error(`${W} Image not found`),n.error=!0),n.loading=!1}function zt(n,e,t,i){var a;const s=qt(n,t,((a=i.opacity)==null?void 0:a.value)??1),o={color:t,gif:e.gif,data:{...n,svgData:s},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor??e.replace_color,source:e.src};return new Promise(r=>{const c=new Blob([s],{type:"image/svg+xml"}),l=URL||window.URL||window.webkitURL||window,d=l.createObjectURL(c),u=new Image;u.addEventListener("load",()=>{o.loaded=!0,o.element=u,r(o),l.revokeObjectURL(d)}),u.addEventListener("error",async()=>{l.revokeObjectURL(d);const f={...n,error:!1,loading:!0};await N(f),o.loaded=!0,o.element=f.element,r(o)}),u.src=d})}class Ft{constructor(e){this.loadImageShape=async t=>{if(!this._engine.loadImage)throw new Error(`${W} image shape not initialized`);await this._engine.loadImage({gif:t.gif,name:t.name,replaceColor:t.replaceColor??t.replace_color??!1,src:t.src})},this._engine=e}addImage(e){this._engine.images||(this._engine.images=[]),this._engine.images.push(e)}draw(e,t,i,s,o){const a=t.image,r=a==null?void 0:a.element;if(a){if(e.globalAlpha=s,a.gif&&a.gifData){const c=new OffscreenCanvas(a.gifData.width,a.gifData.height),l=c.getContext("2d");if(!l)throw new Error("could not create offscreen canvas context");l.imageSmoothingQuality="low",l.imageSmoothingEnabled=!1,l.clearRect(0,0,c.width,c.height),t.gifLoopCount===void 0&&(t.gifLoopCount=a.gifLoopCount??0);let d=t.gifFrame??0;const u={x:-a.gifData.width*.5,y:-a.gifData.height*.5},f=a.gifData.frames[d];if(t.gifTime===void 0&&(t.gifTime=0),!f.bitmap)return;switch(e.scale(i/a.gifData.width,i/a.gifData.height),f.disposalMethod){case 4:case 5:case 6:case 7:case 0:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height);break;case 1:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y);break;case 2:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),a.gifData.globalColorTable.length===0?l.putImageData(a.gifData.frames[0].image,u.x+f.left,u.y+f.top):l.putImageData(a.gifData.backgroundImage,u.x,u.y);break;case 3:{const h=l.getImageData(0,0,c.width,c.height);l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),l.putImageData(h,0,0)}break}if(t.gifTime+=o.value,t.gifTime>f.delayTime){if(t.gifTime-=f.delayTime,++d>=a.gifData.frames.length){if(--t.gifLoopCount<=0)return;d=0,l.clearRect(0,0,c.width,c.height)}t.gifFrame=d}e.scale(a.gifData.width/i,a.gifData.height/i)}else if(r){const c=a.ratio,l={x:-i,y:-i};e.drawImage(r,l.x,l.y,i*2,i*2/c)}e.globalAlpha=1}}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if(!(!t.preload||!this._engine.loadImage))for(const i of t.preload)await this._engine.loadImage(i)}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=e.shapeData;this._engine.images.find(s=>s.name===t.name||s.source===t.src)||this.loadImageShape(t).then(()=>{this.loadShape(e)})}particleInit(e,t){if(t.shape!=="image"&&t.shape!=="images")return;this._engine.images||(this._engine.images=[]);const i=this._engine.images,s=t.shapeData,o=t.getFillColor(),a=i.find(c=>c.name===s.name||c.source===s.src);if(!a)return;const r=s.replaceColor??s.replace_color??a.replaceColor;if(a.loading){setTimeout(()=>{this.particleInit(e,t)});return}(async()=>{let c;a.svgData&&o?c=await zt(a,s,o,t):c={color:o,data:a,element:a.element,gif:a.gif,gifData:a.gifData,gifLoopCount:a.gifLoopCount,loaded:!0,ratio:s.width&&s.height?s.width/s.height:a.ratio??1,replaceColor:r,source:s.src},c.ratio||(c.ratio=1);const l=s.fill??t.fill,d=s.close??t.close,u={image:c,fill:l,close:d};t.image=u.image,t.fill=u.fill,t.close=u.close})()}}class At{constructor(){this.src="",this.gif=!1}load(e){e&&(e.gif!==void 0&&(this.gif=e.gif),e.height!==void 0&&(this.height=e.height),e.name!==void 0&&(this.name=e.name),e.replaceColor!==void 0&&(this.replaceColor=e.replaceColor),e.src!==void 0&&(this.src=e.src),e.width!==void 0&&(this.width=e.width))}}class Ht{constructor(e){this.id="imagePreloader",this._engine=e}getPlugin(){return{}}loadOptions(e,t){if(!t||!t.preload)return;e.preload||(e.preload=[]);const i=e.preload;for(const s of t.preload){const o=i.find(a=>a.name===s.name||a.src===s.src);if(o)o.load(s);else{const a=new At;a.load(s),i.push(a)}}}needsPlugin(){return!0}}function Wt(n){n.loadImage||(n.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${W} no image source provided`);if(n.images||(n.images=[]),!n.images.find(t=>t.name===e.name||t.source===e.src))try{const t={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-3),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};n.images.push(t),await(e.gif?Bt:e.replaceColor?Lt:N)(t)}catch{throw new Error(`${W} ${e.name??e.src} not found`)}})}async function jt(n,e=!0){Wt(n);const t=new Ht(n);await n.addPlugin(t,e),await n.addShape(["image","images"],new Ft(n),e)}class Ut extends ae{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class $t extends ae{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Gt{constructor(){this.count=0,this.delay=new Ut,this.duration=new $t}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class Jt{constructor(e){this.container=e}init(e){const t=this.container,i=e.options,s=i.life;s&&(e.life={delay:t.retina.reduceFactor?k(s.delay.value)*(s.delay.sync?1:B())/t.retina.reduceFactor*1e3:0,delayTime:0,duration:t.retina.reduceFactor?k(s.duration.value)*(s.duration.sync?1:B())/t.retina.reduceFactor*1e3:0,time:0,count:s.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...t){e.life||(e.life=new Gt);for(const i of t)e.life.load(i==null?void 0:i.life)}update(e,t){if(!this.isEnabled(e)||!e.life)return;const i=e.life;let s=!1;if(e.spawning)if(i.delayTime+=t.value,i.delayTime>=e.life.delay)s=!0,e.spawning=!1,i.delayTime=0,i.time=0;else return;if(i.duration===-1||e.spawning||(s?i.time=0:i.time+=t.value,i.time0&&e.life.count--,e.life.count===0){e.destroy();return}const o=this.container.canvas.size,a=E(0,o.width),r=E(0,o.width);e.position.x=ie(a),e.position.y=ie(r),e.spawning=!0,i.delayTime=0,i.time=0,e.reset();const c=e.options.life;c&&(i.delay=k(c.delay.value)*1e3,i.duration=k(c.duration.value)*1e3)}}async function Nt(n,e=!0){await n.addParticleUpdater("life",t=>new Jt(t),e)}class Qt{draw(e,t,i){const s=t.shapeData;e.moveTo(-i/2,0),e.lineTo(i/2,0),e.lineCap=(s==null?void 0:s.cap)??"butt"}getSidesCount(){return 1}}async function Kt(n,e=!0){await n.addShape("line",new Qt,e)}class Xt{init(){}isEnabled(e){return!ce()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const t=e.container,i=t.actualOptions,s=i.interactivity.events.onHover.parallax;if(ce()||!s.enable)return;const o=s.force,a=t.interactivity.mouse.position;if(!a)return;const r=t.canvas.size,c={x:r.width/2,y:r.height/2},l=s.smooth,d=e.getRadius()/o,u={x:(a.x-c.x)*d,y:(a.y-c.y)*d},{offset:f}=e;f.x+=(u.x-f.x)/l,f.y+=(u.y-f.y)/l}}async function Yt(n,e=!0){await n.addMover("parallax",()=>new Xt,e)}class Zt extends re{constructor(e){super(e)}clear(){}init(){}async interact(e){const t=this.container,i=e.retina.attractDistance??t.retina.attractDistance,s=e.getPosition(),o=t.particles.quadTree.queryCircle(s,i);for(const a of o){if(e===a||!a.options.move.attract.enable||a.destroyed||a.spawning)continue;const r=a.getPosition(),{dx:c,dy:l}=T(s,r),d=e.options.move.attract.rotate,u=c/(d.x*1e3),f=l/(d.y*1e3),h=a.size.value/e.size.value,y=1/h;e.velocity.x-=u*h,e.velocity.y-=f*h,a.velocity.x+=u*y,a.velocity.y+=f*y}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function Vt(n,e=!0){await n.addInteractor("particlesAttract",t=>new Zt(t),e)}function de(n,e,t,i,s,o){const a=z(n.options.collisions.absorb.speed*s.factor/10,0,i);n.size.value+=a/2,t.size.value-=a,i<=o&&(t.size.value=0,t.destroy())}function ei(n,e,t,i){const s=n.getRadius(),o=e.getRadius();s===void 0&&o!==void 0?n.destroy():s!==void 0&&o===void 0?e.destroy():s!==void 0&&o!==void 0&&(s>=o?de(n,s,e,o,t,i):de(e,o,n,s,t,i))}const fe=n=>{n.collisionMaxSpeed===void 0&&(n.collisionMaxSpeed=k(n.options.collisions.maxSpeed)),n.velocity.length>n.collisionMaxSpeed&&(n.velocity.length=n.collisionMaxSpeed)};function De(n,e){be(V(n),V(e)),fe(n),fe(e)}function ti(n,e){!n.unbreakable&&!e.unbreakable&&De(n,e),n.getRadius()===void 0&&e.getRadius()!==void 0?n.destroy():n.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():n.getRadius()!==void 0&&e.getRadius()!==void 0&&(n.getRadius()>=e.getRadius()?e:n).destroy()}function ii(n,e,t,i){switch(n.options.collisions.mode){case"absorb":{ei(n,e,t,i);break}case"bounce":{De(n,e);break}case"destroy":{ti(n,e);break}}}class ni extends re{constructor(e){super(e)}clear(){}init(){}async interact(e,t){if(e.destroyed||e.spawning)return;const i=this.container,s=e.getPosition(),o=e.getRadius(),a=i.particles.quadTree.queryCircle(s,o*2);for(const r of a){if(e===r||!r.options.collisions.enable||e.options.collisions.mode!==r.options.collisions.mode||r.destroyed||r.spawning)continue;const c=r.getPosition(),l=r.getRadius();if(Math.abs(Math.round(s.z)-Math.round(c.z))>o+l)continue;const d=P(s,c),u=o+l;d>u||ii(e,r,t,i.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function si(n,e=!0){await n.addInteractor("particlesCollisions",t=>new ni(t),e)}class oi extends M{constructor(e,t,i,s){super(e,t,i),this.canvasSize=s,this.canvasSize={...s}}contains(e){const{width:t,height:i}=this.canvasSize,{x:s,y:o}=e;return super.contains(e)||super.contains({x:s-t,y:o})||super.contains({x:s-t,y:o-i})||super.contains({x:s,y:o-i})}intersects(e){if(super.intersects(e))return!0;const t=e,i=e,s={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new M(s.x,s.y,i.radius*2);return super.intersects(o)}else if(t.size!==void 0){const o=new A(s.x,s.y,t.size.width*2,t.size.height*2);return super.intersects(o)}return!1}}class ai{constructor(){this.blur=5,this.color=new _,this.color.value="#000",this.enable=!1}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=_.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class ri{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class ci{constructor(){this.blink=!1,this.color=new _,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new ai,this.triangles=new ri,this.width=1,this.warp=!1}load(e){e&&(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=_.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}function li(n,e,t,i,s){const{dx:o,dy:a,distance:r}=T(n,e);if(!s||r<=t)return r;const c={x:Math.abs(o),y:Math.abs(a)},l={x:Math.min(c.x,i.width-c.x),y:Math.min(c.y,i.height-c.y)};return Math.sqrt(l.x**2+l.y**2)}class ui extends re{constructor(e){super(e),this._setColor=t=>{if(!t.options.links)return;const i=this.linkContainer,s=t.options.links;let o=s.id===void 0?i.particles.linksColor:i.particles.linksColors.get(s.id);if(o)return;const a=s.color;o=me(a,s.blink,s.consent),s.id===void 0?i.particles.linksColor=o:i.particles.linksColors.set(s.id,o)},this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(e){if(!e.options.links)return;e.links=[];const t=e.getPosition(),i=this.container,s=i.canvas.size;if(t.x<0||t.y<0||t.x>s.width||t.y>s.height)return;const o=e.options.links,a=o.opacity,r=e.retina.linksDistance??0,c=o.warp,l=c?new oi(t.x,t.y,r,s):new M(t.x,t.y,r),d=i.particles.quadTree.query(l);for(const u of d){const f=u.options.links;if(e===u||!(f!=null&&f.enable)||o.id!==f.id||u.spawning||u.destroyed||!u.links||e.links.some(m=>m.destination===u)||u.links.some(m=>m.destination===e))continue;const h=u.getPosition();if(h.x<0||h.y<0||h.x>s.width||h.y>s.height)continue;const y=li(t,h,r,s,c&&f.warp);if(y>r)continue;const b=(1-y/r)*a;this._setColor(e),e.links.push({destination:u,opacity:b})}}isEnabled(e){var t;return!!((t=e.options.links)!=null&&t.enable)}loadParticlesOptions(e,...t){e.links||(e.links=new ci);for(const i of t)e.links.load((i==null?void 0:i.links)??(i==null?void 0:i.lineLinked)??(i==null?void 0:i.line_linked))}reset(){}}async function di(n,e=!0){await n.addInteractor("particlesLinks",t=>new ui(t),e)}function fi(n){let e=!1;const{begin:t,end:i,maxDistance:s,context:o,canvasSize:a,width:r,backgroundMask:c,colorLine:l,opacity:d,links:u}=n;if(P(t,i)<=s)L(o,t,i),e=!0;else if(u.warp){let h,y;const b={x:i.x-a.width,y:i.y},m=T(t,b);if(m.distance<=s){const g=t.y-m.dy/m.dx*t.x;h={x:0,y:g},y={x:a.width,y:g}}else{const g={x:i.x,y:i.y-a.height},w=T(t,g);if(w.distance<=s){const p=-(t.y-w.dy/w.dx*t.x)/(w.dy/w.dx);h={x:p,y:0},y={x:p,y:a.height}}else{const v={x:i.x-a.width,y:i.y-a.height},p=T(t,v);if(p.distance<=s){const D=t.y-p.dy/p.dx*t.x;h={x:-D/(p.dy/p.dx),y:D},y={x:h.x+a.width,y:h.y+a.height}}}}h&&y&&(L(o,t,h),L(o,i,y),e=!0)}if(!e)return;o.lineWidth=r,c.enable&&(o.globalCompositeOperation=c.composite),o.strokeStyle=H(l,d);const{shadow:f}=u;if(f.enable){const h=ne(f.color);h&&(o.shadowBlur=f.blur,o.shadowColor=H(h))}o.stroke()}function hi(n){const{context:e,pos1:t,pos2:i,pos3:s,backgroundMask:o,colorTriangle:a,opacityTriangle:r}=n;Be(e,t,i,s),o.enable&&(e.globalCompositeOperation=o.composite),e.fillStyle=H(a,r),e.fill()}function pi(n){return n.sort((e,t)=>e-t),n.join("_")}function he(n,e){const t=pi(n.map(s=>s.id));let i=e.get(t);return i===void 0&&(i=B(),e.set(t,i)),i}class bi{constructor(e){this.container=e,this._drawLinkLine=(t,i)=>{const s=t.options.links;if(!(s!=null&&s.enable))return;const o=this.container,a=o.actualOptions,r=i.destination,c=t.getPosition(),l=r.getPosition();let d=i.opacity;o.canvas.draw(u=>{var g;let f;const h=(g=t.options.twinkle)==null?void 0:g.lines;if(h!=null&&h.enable){const w=h.frequency,v=ne(h.color);B(){const o=t.options.links;if(!(o!=null&&o.enable))return;const a=o.triangles;if(!a.enable)return;const r=this.container,c=r.actualOptions,l=i.destination,d=s.destination,u=a.opacity??(i.opacity+s.opacity)/2;u<=0||r.canvas.draw(f=>{const h=t.getPosition(),y=l.getPosition(),b=d.getPosition(),m=t.retina.linksDistance??0;if(P(h,y)>m||P(b,y)>m||P(b,h)>m)return;let g=ne(a.color);if(!g){const w=o.id!==void 0?r.particles.linksColors.get(o.id):r.particles.linksColor;g=te(t,l,w)}g&&hi({context:f,pos1:h,pos2:y,pos3:b,backgroundMask:c.backgroundMask,colorTriangle:g,opacityTriangle:u})})},this._drawTriangles=(t,i,s,o)=>{var c,l,d;const a=s.destination;if(!((c=t.links)!=null&&c.triangles.enable&&((l=a.options.links)!=null&&l.triangles.enable)))return;const r=(d=a.links)==null?void 0:d.filter(u=>{const f=this._getLinkFrequency(a,u.destination);return a.options.links&&f<=a.options.links.frequency&&o.findIndex(h=>h.destination===u.destination)>=0});if(r!=null&&r.length)for(const u of r){const f=u.destination;this._getTriangleFrequency(i,a,f)>t.links.triangles.frequency||this._drawLinkTriangle(i,s,u)}},this._getLinkFrequency=(t,i)=>he([t,i],this._freqs.links),this._getTriangleFrequency=(t,i,s)=>he([t,i,s],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(e,t){const{links:i,options:s}=t;if(!i||i.length<=0)return;const o=i.filter(a=>s.links&&this._getLinkFrequency(t,a.destination)<=s.links.frequency);for(const a of o)this._drawTriangles(s,t,a,o),a.opacity>0&&(t.retina.linksWidth??0)>0&&this._drawLinkLine(t,a)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(e){if(e.links=[],!e.options.links)return;const t=this.container.retina.pixelRatio,{retina:i}=e,{distance:s,width:o}=e.options.links;i.linksDistance=s*t,i.linksWidth=o*t}particleDestroyed(e){e.links=[]}}class gi{constructor(){this.id="links"}getPlugin(e){return new bi(e)}loadOptions(){}needsPlugin(){return!0}}async function yi(n,e=!0){const t=new gi;await n.addPlugin(t,e)}async function wi(n,e=!0){await di(n,e),await yi(n,e)}class Me{draw(e,t,i){const s=this.getCenter(t,i),o=this.getSidesData(t,i),a=o.count.numerator*o.count.denominator,r=o.count.numerator/o.count.denominator,c=180*(r-2)/r,l=Math.PI-Math.PI*c/180;if(e){e.beginPath(),e.translate(s.x,s.y),e.moveTo(0,0);for(let d=0;da&&(t.value-=a);break;case"decreasing":default:t.value-=o,t.value<0&&(t.value+=a);break}t.velocity&&r!==1&&(t.velocity*=r)}}class Oi{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:k(t.value)*Math.PI/180},e.pathRotation=t.path;let i=t.direction;switch(i==="random"&&(i=Math.floor(B()*2)>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const s=t.animation;s.enable&&(e.rotate.decay=1-k(s.decay),e.rotate.velocity=k(s.speed)/360*this.container.retina.reduceFactor,s.sync||(e.rotate.velocity*=B())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new Mi);for(const i of t)e.rotate.load(i==null?void 0:i.rotate)}update(e,t){var i;this.isEnabled(e)&&(Ri(e,t),e.rotation=((i=e.rotate)==null?void 0:i.value)??0)}}async function Ii(n,e=!0){await n.addParticleUpdater("rotate",t=>new Oi(t),e)}const Pi=Math.sqrt(2);class Ti{draw(e,t,i){const s=i/Pi,o=s*2;e.rect(-s,-s,o,o)}getSidesCount(){return 4}}async function Si(n,e=!0){await n.addShape(["edge","square"],new Ti,e)}class Ei{draw(e,t,i){const s=t.sides,o=t.starInset??2;e.moveTo(0,0-i);for(let a=0;a0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=ie(t.offset),a=(e.velocity??0)*n.factor+o*3.6,r=e.decay??1;!s||e.status==="increasing"?(e.value+=a,e.value>i&&(e.loops||(e.loops=0),e.loops++,s&&(e.status="decreasing",e.value-=e.value%i))):(e.value-=a,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&r!==1&&(e.velocity*=r),e.value>i&&(e.value%=i)}function qi(n,e){if(!n.strokeColor||!n.strokeAnimation)return;const{h:t,s:i,l:s}=n.strokeColor,{h:o,s:a,l:r}=n.strokeAnimation;t&&Z(e,t,o,360,!1),i&&Z(e,i,a,100,!0),s&&Z(e,s,r,100,!0)}class Bi{constructor(e){this.container=e}init(e){var a;const t=this.container,i=e.options,s=G(i.stroke,e.id,i.reduceDuplicates);e.strokeWidth=k(s.width)*t.retina.pixelRatio,e.strokeOpacity=k(s.opacity??1),e.strokeAnimation=(a=s.color)==null?void 0:a.animation;const o=ge(s.color)??e.getFillColor();o&&(e.strokeColor=Le(o,e.strokeAnimation,t.retina.reduceFactor))}isEnabled(e){const t=e.strokeAnimation,{strokeColor:i}=e;return!e.destroyed&&!e.spawning&&!!t&&((i==null?void 0:i.h.value)!==void 0&&i.h.enable||(i==null?void 0:i.s.value)!==void 0&&i.s.enable||(i==null?void 0:i.l.value)!==void 0&&i.l.enable)}update(e,t){this.isEnabled(e)&&qi(e,t)}}async function Li(n,e=!0){await n.addParticleUpdater("strokeColor",t=>new Bi(t),e)}const $=["text","character","char"];class zi{draw(e,t,i,s){const o=t.shapeData;if(o===void 0)return;const a=o.value;if(a===void 0)return;t.text===void 0&&(t.text=G(a,t.randomIndexData));const r=t.text,c=o.style??"",l=o.weight??"400",d=Math.round(i)*2,u=o.font??"Verdana",f=t.fill,h=r.length*i/2;e.font=`${c} ${l} ${d}px "${u}"`;const y={x:-h,y:i/2};e.globalAlpha=s,f?e.fillText(r,y.x,y.y):e.strokeText(r,y.x,y.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if($.find(i=>x(i,t.particles.shape.type))){const i=$.map(o=>t.particles.shape.options[o]).find(o=>!!o),s=[];S(i,o=>{s.push(ze(o.font,o.weight))}),await Promise.all(s)}}particleInit(e,t){if(!t.shape||!$.includes(t.shape))return;const i=t.shapeData;if(i===void 0)return;const s=i.value;s!==void 0&&(t.text=G(s,t.randomIndexData))}}async function Fi(n,e=!0){await n.addShape($,new zi,e)}async function Ai(n,e=!0){He(n),await Yt(n,!1),await $e(n,!1),await Ne(n,!1),await Ye(n,!1),await ot(n,!1),await dt(n,!1),await ht(n,!1),await gt(n,!1),await mt(n,!1),await Ct(n,!1),await Rt(n,!1),await Vt(n,!1),await si(n,!1),await wi(n,!1),await We(),await jt(n,!1),await Kt(n,!1),await Ci(n,!1),await Si(n,!1),await _i(n,!1),await Fi(n,!1),await Nt(n,!1),await Ii(n,!1),await Li(n,!1),await Fe(n,e)}const ji=Object.freeze(Object.defineProperty({__proto__:null,loadSlim:Ai},Symbol.toStringTag,{value:"Module"}));export{O as E,ji as i,Ai as l}; diff --git a/_nuxt/index.a1ab4247.js b/_nuxt/index.255917c4.js similarity index 88% rename from _nuxt/index.a1ab4247.js rename to _nuxt/index.255917c4.js index b76ca93..e6b1f32 100644 --- a/_nuxt/index.a1ab4247.js +++ b/_nuxt/index.255917c4.js @@ -1,2 +1,2 @@ -import{a as te,b as dt,c as Lt,_ as B,d as At,e as fe}from"./entry.fa10d76e.js";import{j as E,a as W,C as ae,D as $t,H as m,I as b,J as j,O as V,Z as Ft,_ as We,b as ft,E as k,u as p,$ as q,G as qe,U as _,F as ie,a0 as se,V as O,a1 as jt,a2 as Ce,W as Y,X as Bt,Y as Vt,q as Ht,k as Ut,a3 as Wt,a4 as qt,a5 as pt,a6 as mt,a7 as Gt,a8 as Nt,a9 as Yt,P as Xt}from"./swiper-vue.799c8af8.js";import we from"./Icon.c44fc0a7.js";import Zt from"./ContentRenderer.8bfe2b63.js";import{u as yt,q as gt}from"./query.046ea17d.js";const ce="generated",Qt="pointerdown",Kt="pointerup",Qe="pointerleave",Jt="pointerout",Ke="pointermove",ei="touchstart",Je="touchend",ti="touchmove",ii="touchcancel",si="resize",ni="visibilitychange",Z="tsParticles - Error";class R{constructor(e,t,s){if(this._updateFromAngle=(n,o)=>{this.x=Math.cos(n)*o,this.y=Math.sin(n)*o},!F(e)&&e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:0}else if(e!==void 0&&t!==void 0)this.x=e,this.y=t,this.z=s??0;else throw new Error(`${Z} Vector3d not initialized correctly`)}static get origin(){return R.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return R.create(e.x,e.y,e.z)}static create(e,t,s){return new R(e,t,s)}add(e){return R.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return R.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return R.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return R.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){const e=this.length;e!=0&&this.multTo(1/e)}rotate(e){return R.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y;const t=e;this.z=t.z?t.z:0}sub(e){return R.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}}class I extends R{constructor(e,t){super(e,t,0)}static get origin(){return I.create(0,0)}static clone(e){return I.create(e.x,e.y)}static create(e,t){return new I(e,t)}}let oi=Math.random;const He=new Map;function Ko(i,e){He.get(i)||He.set(i,e)}function Jo(i){return He.get(i)||(e=>e)}function S(){return ne(oi(),0,1-1e-16)}function ne(i,e,t){return Math.min(Math.max(i,e),t)}function Te(i,e,t,s){return Math.floor((i*t+e*s)/(t+s))}function A(i){const e=xe(i);let t=Ge(i);return e===t&&(t=0),S()*(e-t)+t}function v(i){return F(i)?i:A(i)}function Ge(i){return F(i)?i:i.min}function xe(i){return F(i)?i:i.max}function z(i,e){if(i===e||e===void 0&&F(i))return i;const t=Ge(i),s=xe(i);return e!==void 0?{min:Math.min(t,e),max:Math.max(s,e)}:z(t,s)}function Q(i){const e=i.random,{enable:t,minimumValue:s}=G(e)?{enable:e,minimumValue:0}:e;return v(t?z(i.value,s):i.value)}function X(i,e){const t=i.x-e.x,s=i.y-e.y;return{dx:t,dy:s,distance:Math.sqrt(t**2+s**2)}}function ze(i,e){return X(i,e).distance}function ri(i,e,t){if(F(i))return i*Math.PI/180;switch(i){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(t.y-e.y,t.x-e.x);case"outside":return Math.atan2(e.y-t.y,e.x-t.x);default:return S()*Math.PI*2}}function ai(i){const e=I.origin;return e.length=1,e.angle=i,e}function et(i,e,t,s){return I.create(i.x*(t-s)/(t+s)+e.x*2*s/(t+s),i.y)}function ci(i){var e,t;return{x:(((e=i.position)==null?void 0:e.x)??S()*100)*i.size.width/100,y:(((t=i.position)==null?void 0:t.y)??S()*100)*i.size.height/100}}function er(i){var t,s;const e={x:((t=i.position)==null?void 0:t.x)!==void 0?v(i.position.x):void 0,y:((s=i.position)==null?void 0:s.y)!==void 0?v(i.position.y):void 0};return ci({size:i.size,position:e})}function li(i){var e,t;return{x:((e=i.position)==null?void 0:e.x)??S()*i.size.width,y:((t=i.position)==null?void 0:t.y)??S()*i.size.height}}function _t(i){return i?i.endsWith("%")?parseFloat(i)/100:parseFloat(i):1}const hi={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function ue(){return hi}function tt(i){const e={bounced:!1},{pSide:t,pOtherSide:s,rectSide:n,rectOtherSide:o,velocity:r,factor:a}=i;return s.mino.max||s.maxo.max||(t.max>=n.min&&t.max<=(n.max+n.min)/2&&r>0||t.min<=n.max&&t.min>(n.max+n.min)/2&&r<0)&&(e.velocity=r*-a,e.bounced=!0),e}function ui(i,e){const t=H(e,s=>i.matches(s));return L(t)?t.some(s=>s):t}function Me(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function di(){return!Me()&&typeof matchMedia<"u"}function vt(i){if(di())return matchMedia(i)}function fi(i){if(!(Me()||typeof MutationObserver>"u"))return new MutationObserver(i)}function Ne(i,e){return i===e||L(e)&&e.indexOf(i)>-1}async function tr(i,e){try{await document.fonts.load(`${e??"400"} 36px '${i??"Verdana"}'`)}catch{}}function pi(i){return Math.floor(S()*i.length)}function Ye(i,e,t=!0){return i[e!==void 0&&t?e%i.length:pi(i)]}function Xe(i,e,t,s,n){return mi(Pe(i,s??0),e,t,n)}function mi(i,e,t,s){let n=!0;return(!s||s==="bottom")&&(n=i.topt.x),n&&(!s||s==="right")&&(n=i.leftt.y),n}function Pe(i,e){return{bottom:i.y+e,left:i.x-e,right:i.x+e,top:i.y-e}}function T(i,...e){for(const t of e){if(t==null)continue;if(!ee(t)){i=t;continue}const s=Array.isArray(t);s&&(ee(i)||!i||!Array.isArray(i))?i=[]:!s&&(ee(i)||!i||Array.isArray(i))&&(i={});for(const n in t){if(n==="__proto__")continue;const o=t,r=o[n],a=i;a[n]=ee(r)&&Array.isArray(r)?r.map(c=>T(a[n],c)):T(a[n],r)}}return i}function ir(i,e){return!!bt(e,t=>t.enable&&Ne(i,t.mode))}function sr(i,e,t){H(e,s=>{const n=s.mode;s.enable&&Ne(i,n)&&yi(s,t)})}function yi(i,e){const t=i.selectors;H(t,s=>{e(s,i)})}function nr(i,e){if(!(!e||!i))return bt(i,t=>ui(e,t.selectors))}function or(i){return{position:i.getPosition(),radius:i.getRadius(),mass:i.getMass(),velocity:i.velocity,factor:I.create(Q(i.options.bounce.horizontal),Q(i.options.bounce.vertical))}}function rr(i,e){const{x:t,y:s}=i.velocity.sub(e.velocity),[n,o]=[i.position,e.position],{dx:r,dy:a}=X(o,n);if(t*r+s*a<0)return;const c=-Math.atan2(a,r),l=i.mass,h=e.mass,d=i.velocity.rotate(c),u=e.velocity.rotate(c),f=et(d,u,l,h),g=et(u,d,l,h),y=f.rotate(-c),w=g.rotate(-c);i.velocity.x=y.x*i.factor.x,i.velocity.y=y.y*i.factor.y,e.velocity.x=w.x*e.factor.x,e.velocity.y=w.y*e.factor.y}function ar(i,e){const t=i.getPosition(),s=i.getRadius(),n=Pe(t,s),o=tt({pSide:{min:n.left,max:n.right},pOtherSide:{min:n.top,max:n.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:i.velocity.x,factor:Q(i.options.bounce.horizontal)});o.bounced&&(o.velocity!==void 0&&(i.velocity.x=o.velocity),o.position!==void 0&&(i.position.x=o.position));const r=tt({pSide:{min:n.top,max:n.bottom},pOtherSide:{min:n.left,max:n.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:i.velocity.y,factor:Q(i.options.bounce.vertical)});r.bounced&&(r.velocity!==void 0&&(i.velocity.y=r.velocity),r.position!==void 0&&(i.position.y=r.position))}function H(i,e){return L(i)?i.map((t,s)=>e(t,s)):e(i,0)}function le(i,e,t){return L(i)?Ye(i,e,t):i}function bt(i,e){return L(i)?i.find((t,s)=>e(t,s)):e(i,0)?i:void 0}function wt(i,e){const t=i.value,s=i.animation,n={delayTime:v(s.delay)*1e3,enable:s.enable,value:v(i.value)*e,max:xe(t)*e,min:Ge(t)*e,loops:0,maxLoops:v(s.count),time:0};if(s.enable){switch(n.decay=1-v(s.decay),s.mode){case"increase":n.status="increasing";break;case"decrease":n.status="decreasing";break;case"random":n.status=S()>=.5?"increasing":"decreasing";break}const o=s.mode==="auto";switch(s.startValue){case"min":n.value=n.min,o&&(n.status="increasing");break;case"max":n.value=n.max,o&&(n.status="decreasing");break;case"random":default:n.value=A(n),o&&(n.status=S()>=.5?"increasing":"decreasing");break}}return n.initialValue=n.value,n}function xt(i,e){if(!(i.mode==="percent")){const{mode:n,...o}=i;return o}return"x"in i?{x:i.x/100*e.width,y:i.y/100*e.height}:{width:i.width/100*e.width,height:i.height/100*e.height}}function zt(i,e){return xt(i,e)}function cr(i,e){return xt(i,e)}function G(i){return typeof i=="boolean"}function $(i){return typeof i=="string"}function F(i){return typeof i=="number"}function Mt(i){return typeof i=="function"}function ee(i){return typeof i=="object"&&i!==null}function L(i){return Array.isArray(i)}const ve="random",ge="mid",ke=new Map;function it(i){ke.set(i.key,i)}function Oe(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*6*t:t<1/2?e:t<2/3?i+(e-i)*(2/3-t)*6:i}function gi(i){for(const[,o]of ke)if(i.startsWith(o.stringPrefix))return o.parseString(i);const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,t=i.replace(e,(o,r,a,c,l)=>r+r+a+a+c+c+(l!==void 0?l+l:"")),s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,n=s.exec(t);return n?{a:n[4]!==void 0?parseInt(n[4],16)/255:1,b:parseInt(n[3],16),g:parseInt(n[2],16),r:parseInt(n[1],16)}:void 0}function N(i,e,t=!0){if(!i)return;const s=$(i)?{value:i}:i;if($(s.value))return Pt(s.value,e,t);if(L(s.value))return N({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleRangeColor(s);if(o)return o}}function Pt(i,e,t=!0){if(!i)return;const s=$(i)?{value:i}:i;if($(s.value))return s.value===ve?kt():vi(s.value);if(L(s.value))return Pt({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleColor(s);if(o)return o}}function Ue(i,e,t=!0){const s=N(i,e,t);return s?_i(s):void 0}function _i(i){const e=i.r/255,t=i.g/255,s=i.b/255,n=Math.max(e,t,s),o=Math.min(e,t,s),r={h:0,l:(n+o)/2,s:0};return n!==o&&(r.s=r.l<.5?(n-o)/(n+o):(n-o)/(2-n-o),r.h=e===n?(t-s)/(n-o):r.h=t===n?2+(s-e)/(n-o):4+(e-t)/(n-o)),r.l*=100,r.s*=100,r.h*=60,r.h<0&&(r.h+=360),r.h>=360&&(r.h-=360),r}function vi(i){return gi(i)}function oe(i){const e={b:0,g:0,r:0},t={h:i.h/360,l:i.l/100,s:i.s/100};if(!t.s)e.r=e.g=e.b=t.l;else{const s=t.l<.5?t.l*(1+t.s):t.l+t.s-t.l*t.s,n=2*t.l-s;e.r=Oe(n,s,t.h+1/3),e.g=Oe(n,s,t.h),e.b=Oe(n,s,t.h-1/3)}return e.r=Math.floor(e.r*255),e.g=Math.floor(e.g*255),e.b=Math.floor(e.b*255),e}function bi(i){const e=oe(i);return{a:i.a,b:e.b,g:e.g,r:e.r}}function kt(i){const e=i??0;return{b:Math.floor(A(z(e,256))),g:Math.floor(A(z(e,256))),r:Math.floor(A(z(e,256)))}}function _e(i,e){return`rgba(${i.r}, ${i.g}, ${i.b}, ${e??1})`}function st(i,e){return`hsla(${i.h}, ${i.s}%, ${i.l}%, ${e??1})`}function wi(i,e,t,s){let n=i,o=e;return n.r===void 0&&(n=oe(i)),o.r===void 0&&(o=oe(e)),{b:Te(n.b,o.b,t,s),g:Te(n.g,o.g,t,s),r:Te(n.r,o.r,t,s)}}function lr(i,e,t){if(t===ve)return kt();if(t===ge){const s=i.getFillColor()??i.getStrokeColor(),n=(e==null?void 0:e.getFillColor())??(e==null?void 0:e.getStrokeColor());if(s&&n&&e)return wi(s,n,i.getRadius(),e.getRadius());{const o=s??n;if(o)return oe(o)}}else return t}function hr(i,e,t){const s=$(i)?i:i.value;return s===ve?t?N({value:s}):e?ve:ge:s===ge?ge:N({value:s})}function nt(i){return i!==void 0?{h:i.h.value,s:i.s.value,l:i.l.value}:void 0}function xi(i,e,t){const s={h:{enable:!1,value:i.h},s:{enable:!1,value:i.s},l:{enable:!1,value:i.l}};return e&&(Re(s.h,e.h,t),Re(s.s,e.s,t),Re(s.l,e.l,t)),s}function Re(i,e,t){i.enable=e.enable,i.enable?(i.velocity=v(e.speed)/100*t,i.decay=1-v(e.decay),i.status="increasing",i.loops=0,i.maxLoops=v(e.count),i.time=0,i.delayTime=v(e.delay)*1e3,e.sync||(i.velocity*=S(),i.value*=S()),i.initialValue=i.value):i.velocity=0}function ur(i,e,t){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.closePath()}function dr(i,e,t,s){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.lineTo(s.x,s.y),i.closePath()}function zi(i,e,t){i.fillStyle=t??"rgba(0,0,0,0)",i.fillRect(0,0,e.width,e.height)}function Mi(i,e,t,s){t&&(i.globalAlpha=s,i.drawImage(t,0,0,e.width,e.height),i.globalAlpha=1)}function Ie(i,e){i.clearRect(0,0,e.width,e.height)}function Pi(i){const{container:e,context:t,particle:s,delta:n,colorStyles:o,backgroundMask:r,composite:a,radius:c,opacity:l,shadow:h,transform:d}=i,u=s.getPosition(),f=s.rotation+(s.pathRotation?s.velocity.angle:0),g={sin:Math.sin(f),cos:Math.cos(f)},y={a:g.cos*(d.a??1),b:g.sin*(d.b??1),c:-g.sin*(d.c??1),d:g.cos*(d.d??1)};t.setTransform(y.a,y.b,y.c,y.d,u.x,u.y),t.beginPath(),r&&(t.globalCompositeOperation=a);const w=s.shadowColor;h.enable&&w&&(t.shadowBlur=h.blur,t.shadowColor=_e(w),t.shadowOffsetX=h.offset.x,t.shadowOffsetY=h.offset.y),o.fill&&(t.fillStyle=o.fill);const x=s.strokeWidth??0;t.lineWidth=x,o.stroke&&(t.strokeStyle=o.stroke),ki(e,t,s,c,l,n),x>0&&t.stroke(),s.close&&t.closePath(),s.fill&&t.fill(),Si(e,t,s,c,l,n),t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0)}function ki(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);r&&r.draw(e,t,s,n,o,i.retina.pixelRatio)}function Si(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);!r||!r.afterEffect||r.afterEffect(e,t,s,n,o,i.retina.pixelRatio)}function Ci(i,e,t){e.draw&&e.draw(i,t)}function Ti(i,e,t,s){e.drawParticle&&e.drawParticle(i,t,s)}function Oi(i,e,t){return{h:i.h,s:i.s,l:i.l+(e==="darken"?-1:1)*t}}function Ri(i,e,t){const s=e[t];s!==void 0&&(i[t]=(i[t]??1)*s)}class Ii{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{for(const s of this._postDrawUpdaters)s.afterDraw&&s.afterDraw(t)},this._applyPreDrawUpdaters=(t,s,n,o,r,a)=>{for(const c of this._preDrawUpdaters){if(c.getColorStyles){const{fill:l,stroke:h}=c.getColorStyles(s,t,n,o);l&&(r.fill=l),h&&(r.stroke=h)}if(c.getTransformValues){const l=c.getTransformValues(s);for(const h in l)Ri(a,l,h)}c.beforeDraw&&c.beforeDraw(s)}},this._applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize&&t.resize()},this._getPluginParticleColors=t=>{let s,n;for(const o of this._colorPlugins)if(!s&&o.particleFillColor&&(s=Ue(o.particleFillColor(t))),!n&&o.particleStrokeColor&&(n=Ue(o.particleStrokeColor(t))),s&&n)break;return[s,n]},this._initCover=()=>{const t=this.container.actualOptions,s=t.backgroundMask.cover,n=s.color,o=N(n);if(o){const r={...o,a:s.opacity};this._coverColorStyle=_e(r,r.a)}},this._initStyle=()=>{const t=this.element,s=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=T({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const n in s.style){if(!n||!s.style)continue;const o=s.style[n];o&&t.style.setProperty(n,o,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,s=t.particles.move.trail,n=s.fill;if(s.enable)if(n.color){const o=N(n.color);if(!o)return;const r=t.particles.move.trail;this._trailFill={color:{...o},opacity:1/r.length}}else await new Promise((o,r)=>{if(!n.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:1/s.length},o()}),a.addEventListener("error",c=>{r(c.error)}),a.src=n.image})},this._paintBase=t=>{this.draw(s=>zi(s,this.size,t))},this._paintImage=(t,s)=>{this.draw(n=>Mi(n,this.size,t,s))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(s=>s.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(s=>s.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,s=this._originalStyle;if(!(t&&s))return;const n=t.style;n.position=s.position,n.zIndex=s.zIndex,n.top=s.top,n.left=s.left,n.width=s.width,n.height=s.height},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;const s="important",n=t.style;n.setProperty("position","fixed",s),n.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),s),n.setProperty("top","0",s),n.setProperty("left","0",s),n.setProperty("width","100%",s),n.setProperty("height","100%",s)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,s=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&s?s.color?this._paintBase(_e(s.color,s.opacity)):s.image&&this._paintImage(s.image,s.opacity):this.draw(n=>{Ie(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e&&e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const s=e.getRadius();if(s<=0)return;const n=e.getFillColor(),o=e.getStrokeColor()??n;let[r,a]=this._getPluginParticleColors(e);r||(r=n),a||(a=o),!(!r&&!a)&&this.draw(c=>{var P;const l=this.container,h=l.actualOptions,d=e.options.zIndex,u=(1-e.zIndexFactor)**d.opacityRate,f=e.bubble.opacity??((P=e.opacity)==null?void 0:P.value)??1,g=e.strokeOpacity??f,y=f*u,w=g*u,x={},C={fill:r?st(r,y):void 0};C.stroke=a?st(a,w):C.fill,this._applyPreDrawUpdaters(c,e,s,y,C,x),Pi({container:l,context:c,particle:e,delta:t,colorStyles:C,backgroundMask:h.backgroundMask.enable,composite:h.backgroundMask.composite,radius:s*(1-e.zIndexFactor)**d.sizeRate,opacity:y,shadow:e.options.shadow,transform:x}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,s){this.draw(n=>Ti(n,e,t,s))}drawPlugin(e,t){this.draw(s=>Ci(s,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=fi(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(e){ue().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,s=this.element;if(!s)return;const n=s.style;if(n){if(t.color){const o=N(t.color);n.backgroundColor=o?_e(o,t.opacity):""}else n.backgroundColor="";n.backgroundImage=t.image||"",n.backgroundPosition=t.position||"",n.backgroundRepeat=t.repeat||"",n.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&ce in e.dataset?e.dataset[ce]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=T({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(Ie(t,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,s=e.canvas.size,n={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(n.height===s.height&&n.width===s.width&&n.height===this.element.height&&n.width===this.element.width)return!1;const o={...s};return this.element.width=s.width=this.element.offsetWidth*t,this.element.height=s.height=this.element.offsetHeight*t,this.container.started&&(this.resizeFactor={width:s.width/o.width,height:s.height/o.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>Ie(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}function D(i,e,t,s,n){if(s){let o={passive:!0};G(n)?o.capture=n:n!==void 0&&(o=n),i.addEventListener(e,t,o)}else{const o=n;i.removeEventListener(e,t,o)}}class Ei{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const s=this.container,n=s.actualOptions;if(this._canPush){const o=s.interactivity.mouse,r=o.position;if(!r)return;o.clickPosition={...r},o.clickTime=new Date().getTime();const a=n.interactivity.events.onClick;H(a.mode,c=>this.container.handleClickMode(c))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const s=t,n=this.container,o=n.options,r=o.defaultThemes,a=s.matches?r.dark:r.light,c=o.themes.find(l=>l.name===a);c&&c.default.auto&&n.loadTheme(a)},this._handleVisibilityChange=()=>{const t=this.container,s=t.actualOptions;this._mouseTouchFinish(),s.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw(!0)))},this._handleWindowResize=async()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout),this._resizeTimeout=setTimeout(async()=>{const t=this.container.canvas;t&&await t.windowResize()},this.container.actualOptions.interactivity.events.resize.delay*1e3)},this._manageInteractivityListeners=(t,s)=>{const n=this._handlers,o=this.container,r=o.actualOptions,a=o.interactivity.element;if(!a)return;const c=a,l=o.canvas.element;l&&(l.style.pointerEvents=c===l?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(D(a,Ke,n.mouseMove,s),D(a,ei,n.touchStart,s),D(a,ti,n.touchMove,s),r.interactivity.events.onClick.enable?(D(a,Je,n.touchEndClick,s),D(a,Kt,n.mouseUp,s),D(a,Qt,n.mouseDown,s)):D(a,Je,n.touchEnd,s),D(a,t,n.mouseLeave,s),D(a,ii,n.touchCancel,s))},this._manageListeners=t=>{const s=this._handlers,n=this.container,o=n.actualOptions,r=o.interactivity.detectsOn,a=n.canvas.element;let c=Qe;r==="window"?(n.interactivity.element=window,c=Jt):r==="parent"&&a?n.interactivity.element=a.parentElement??a.parentNode:n.interactivity.element=a,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(c,t),document&&D(document,ni,s.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const s=this._handlers,n=vt("(prefers-color-scheme: dark)");if(n){if(n.addEventListener!==void 0){D(n,"change",s.themeChange,t);return}n.addListener!==void 0&&(t?n.addListener(s.oldThemeChange):n.removeListener(s.oldThemeChange))}},this._manageResize=t=>{const s=this._handlers,n=this.container;if(!n.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){D(window,si,s.resize,t);return}const r=n.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(async a=>{a.find(l=>l.target===r)&&await this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:s}=t;s.clicking=!0,s.downPosition=s.position},this._mouseTouchClick=t=>{const s=this.container,n=s.actualOptions,{mouse:o}=s.interactivity;o.inside=!0;let r=!1;const a=o.position;if(!(!a||!n.interactivity.events.onClick.enable)){for(const[,c]of s.plugins)if(c.clickPositionValid&&(r=c.clickPositionValid(a),r))break;r||this._doMouseTouchClick(t),o.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const s=t.mouse;delete s.position,delete s.clickPosition,delete s.downPosition,t.status=Qe,s.inside=!1,s.clicking=!1},this._mouseTouchMove=t=>{const s=this.container,n=s.actualOptions,o=s.interactivity,r=s.canvas.element;if(!o||!o.element)return;o.mouse.inside=!0;let a;if(t.type.startsWith("pointer")){this._canPush=!0;const l=t;if(o.element===window){if(r){const h=r.getBoundingClientRect();a={x:l.clientX-h.left,y:l.clientY-h.top}}}else if(n.interactivity.detectsOn==="parent"){const h=l.target,d=l.currentTarget;if(h&&d&&r){const u=h.getBoundingClientRect(),f=d.getBoundingClientRect(),g=r.getBoundingClientRect();a={x:l.offsetX+2*u.left-(f.left+g.left),y:l.offsetY+2*u.top-(f.top+g.top)}}else a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY}}else l.target===r&&(a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY})}else if(this._canPush=t.type!=="touchmove",r){const l=t,h=l.touches[l.touches.length-1],d=r.getBoundingClientRect();a={x:h.clientX-(d.left??0),y:h.clientY-(d.top??0)}}const c=s.retina.pixelRatio;a&&(a.x*=c,a.y*=c),o.mouse.position=a,o.status=Ke},this._touchEnd=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.set(o.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class U{constructor(){this.value=""}static create(e,t){const s=new U;return s.load(e),t!==void 0&&($(t)||L(t)?s.load({value:t}):s.load(t)),s}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}class Di{constructor(){this.color=new U,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Li{constructor(){this.color=new U,this.color.value="#fff",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Ai{constructor(){this.composite="destination-out",this.cover=new Li,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const t=e.cover,s=$(e.cover)?{color:e.cover}:e.cover;this.cover.load(t.color!==void 0?t:{color:s})}e.enable!==void 0&&(this.enable=e.enable)}}}class $i{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class Fi{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class ot{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return H(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=H(e,t=>`#${t}`)}load(e){if(!e)return;const t=e.ids??e.elementId??e.el;t!==void 0&&(this.ids=t),e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type)}}class ji{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class Bi{constructor(){this.enable=!1,this.mode=[],this.parallax=new ji}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class Vi{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class Hi{constructor(){this.onClick=new Fi,this.onDiv=new ot,this.onHover=new Bi,this.resize=new Vi}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){if(!e)return;this.onClick.load(e.onClick??e.onclick);const t=e.onDiv??e.ondiv;t!==void 0&&(this.onDiv=H(t,s=>{const n=new ot;return n.load(s),n})),this.onHover.load(e.onHover??e.onhover),G(e.resize)?this.resize.enable=e.resize:this.resize.load(e.resize)}}class Ui{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.plugins.interactors.get(this._container);if(t)for(const s of t)s.loadModeOptions&&s.loadModeOptions(this,e)}}class St{constructor(e,t){this.detectsOn="window",this.events=new Hi,this.modes=new Ui(e,t)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){if(!e)return;const t=e.detectsOn??e.detect_on;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}class Wi{load(e){e&&(e.position&&(this.position={x:e.position.x??50,y:e.position.y??50,mode:e.position.mode??"percent"}),e.options&&(this.options=T({},e.options)))}}class qi{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=T({},e.options)))}}class Gi{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Ni{constructor(){this.name="",this.default=new Gi}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=T({},e.options)))}}class Ee{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.delay=0,this.decay=0,this.sync=!0}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(this.offset=z(e.offset)),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Yi{constructor(){this.h=new Ee,this.s=new Ee,this.l=new Ee}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class de extends U{constructor(){super(),this.animation=new Yi}static create(e,t){const s=new de;return s.load(e),t!==void 0&&($(t)||L(t)?s.load({value:t}):s.load(t)),s}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&(t.enable!==void 0?this.animation.h.load(t):this.animation.load(e.animation))}}class Xi{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Zi{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class Qi{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Ct extends Qi{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue),e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class Ki{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue))}}class pe{constructor(){this.random=new Ki,this.value=0}load(e){e&&(G(e.random)?this.random.enable=e.random:this.random.load(e.random),e.value!==void 0&&(this.value=z(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class rt extends pe{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class Tt{constructor(){this.horizontal=new rt,this.vertical=new rt}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class Ji{constructor(){this.absorb=new Xi,this.bounce=new Tt,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Zi}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class es{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=z(e.offset)),e.value!==void 0&&(this.value=z(e.value)))}}class ts{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var n,o;if(!e)return;e.distance!==void 0&&(this.distance=z(e.distance)),e.enable!==void 0&&(this.enable=e.enable);const t=((n=e.rotate)==null?void 0:n.x)??e.rotateX;t!==void 0&&(this.rotate.x=t);const s=((o=e.rotate)==null?void 0:o.y)??e.rotateY;s!==void 0&&(this.rotate.y=s)}}class is{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class ss{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)))}}class ns{constructor(){this.clamp=!0,this.delay=new pe,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=T(this.options,e.options)))}}class os{load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class rs{constructor(){this.enable=!1,this.length=10,this.fill=new os}get fillColor(){return this.fill.color}set fillColor(e){this.fill.load({color:e})}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),(e.fill!==void 0||e.fillColor!==void 0)&&this.fill.load(e.fill||{color:e.fillColor}),e.length!==void 0&&(this.length=e.length))}}class as{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class cs{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=T({},e.position)))}}class ls{constructor(){this.angle=new es,this.attract=new ts,this.center=new is,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new ss,this.path=new ns,this.outModes=new as,this.random=!1,this.size=!1,this.speed=2,this.spin=new cs,this.straight=!1,this.trail=new rs,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){if(!e)return;this.angle.load(F(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=z(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=F(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=z(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes??e.outMode??e.out_mode;t!==void 0&&(ee(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path??e.noise),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=z(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class hs extends Ct{constructor(){super(),this.destroy="none",this.speed=2}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.opacity_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.opacity_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class us extends pe{constructor(){super(),this.animation=new hs,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(!e)return;super.load(e);const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class ds{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(e){this.width=e}get factor(){return this.height}set factor(e){this.height=e}get value_area(){return this.area}set value_area(e){this.area=e}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width??e.area??e.value_area;t!==void 0&&(this.width=t);const s=e.height??e.factor;s!==void 0&&(this.height=s)}}class fs{constructor(){this.density=new ds,this.limit=0,this.value=0}get max(){return this.limit}set max(e){this.limit=e}load(e){if(!e)return;this.density.load(e.density);const t=e.limit??e.max;t!==void 0&&(this.limit=t),e.value!==void 0&&(this.value=e.value)}}class ps{constructor(){this.blur=0,this.color=new U,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=U.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}const De="character",Le="char",Ae="image",$e="images",Fe="polygon",je="star";class ms{constructor(){this.loadShape=(e,t,s,n)=>{if(!e)return;const o=L(e),r=o?[]:{},a=o!==L(this.options[t]),c=o!==L(this.options[s]);a&&(this.options[t]=r),c&&n&&(this.options[s]=r),this.options[t]=T(this.options[t]??r,e),(!this.options[s]||n)&&(this.options[s]=T(this.options[s]??r,e))},this.close=!0,this.fill=!0,this.options={},this.type="circle"}get character(){return this.options[De]??this.options[Le]}set character(e){this.options[Le]=this.options[De]=e}get custom(){return this.options}set custom(e){this.options=e}get image(){return this.options[Ae]??this.options[$e]}set image(e){this.options[$e]=this.options[Ae]=e}get images(){return this.image}set images(e){this.image=e}get polygon(){return this.options[Fe]??this.options[je]}set polygon(e){this.options[je]=this.options[Fe]=e}get stroke(){return[]}set stroke(e){}load(e){if(!e)return;const t=e.options??e.custom;if(t!==void 0)for(const s in t){const n=t[s];n&&(this.options[s]=T(this.options[s]??{},n))}this.loadShape(e.character,De,Le,!0),this.loadShape(e.polygon,Fe,je,!1),this.loadShape(e.image??e.images,Ae,$e,!0),e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class ys extends Ct{constructor(){super(),this.destroy="none",this.speed=5}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.size_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.size_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class gs extends pe{constructor(){super(),this.animation=new ys,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(super.load(e),!e)return;const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class at{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=de.create(this.color,e.color)),e.width!==void 0&&(this.width=z(e.width)),e.opacity!==void 0&&(this.opacity=z(e.opacity)))}}class _s extends pe{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class vs{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Tt,this.collisions=new Ji,this.color=new de,this.color.value="#fff",this.groups={},this.move=new ls,this.number=new fs,this.opacity=new us,this.reduceDuplicates=!1,this.shadow=new ps,this.shape=new ms,this.size=new gs,this.stroke=new at,this.zIndex=new _s}load(e){var n,o,r;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(de.create(this.color,e.color)),e.groups!==void 0)for(const a in e.groups){const c=e.groups[a];c!==void 0&&(this.groups[a]=T(this.groups[a]??{},c))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);const t=((n=e.move)==null?void 0:n.collisions)??((o=e.move)==null?void 0:o.bounce);t!==void 0&&(this.collisions.enable=t),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=T({},e.interactivity));const s=e.stroke??((r=e.shape)==null?void 0:r.stroke);if(s&&(this.stroke=H(s,a=>{const c=new at;return c.load(a),c})),this._container){const a=this._engine.plugins.updaters.get(this._container);if(a)for(const l of a)l.loadOptions&&l.loadOptions(this,e);const c=this._engine.plugins.interactors.get(this._container);if(c)for(const l of c)l.loadParticlesOptions&&l.loadParticlesOptions(this,e)}}}function Ot(i,...e){for(const t of e)i.load(t)}function Rt(i,e,...t){const s=new vs(i,e);return Ot(s,...t),s}class bs{constructor(e,t){this._findDefaultTheme=s=>this.themes.find(n=>n.default.value&&n.default.mode===s)??this.themes.find(n=>n.default.value&&n.default.mode==="any"),this._importPreset=s=>{this.load(this._engine.plugins.getPreset(s))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new Di,this.backgroundMask=new Ai,this.defaultThemes={},this.delay=0,this.fullScreen=new $i,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new St(e,t),this.manualParticles=[],this.particles=Rt(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var r,a;if(!e)return;e.preset!==void 0&&H(e.preset,c=>this._importPreset(c)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.delay!==void 0&&(this.delay=z(e.delay));const t=e.detectRetina??e.retina_detect;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=z(e.duration));const s=e.fpsLimit??e.fps_limit;s!==void 0&&(this.fpsLimit=s),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const n=e.fullScreen??e.backgroundMode;G(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(c=>{const l=new Wi;return l.load(c),l})),this.particles.load(e.particles),this.style=T(this.style,e.style),this._engine.plugins.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const o=this._engine.plugins.interactors.get(this._container);if(o)for(const c of o)c.loadOptions&&c.loadOptions(this,e);if(e.responsive!==void 0)for(const c of e.responsive){const l=new qi;l.load(c),this.responsive.push(l)}if(this.responsive.sort((c,l)=>c.maxWidth-l.maxWidth),e.themes!==void 0)for(const c of e.themes){const l=this.themes.find(h=>h.name===c.name);if(l)l.load(c);else{const h=new Ni;h.load(c),this.themes.push(h)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(a=this._findDefaultTheme("light"))==null?void 0:a.name}setResponsive(e,t,s){this.load(s);const n=this.responsive.find(o=>o.mode==="screen"&&screen?o.maxWidth>screen.availWidth:o.maxWidth*t>e);return this.load(n==null?void 0:n.options),n==null?void 0:n.maxWidth}setTheme(e){if(e){const t=this.themes.find(s=>s.name===e);t&&this.load(t.options)}else{const t=vt("(prefers-color-scheme: dark)"),s=t&&t.matches,n=this._findDefaultTheme(s?"dark":"light");n&&this.load(n.options)}}}class ws{constructor(e,t){this.container=t,this._engine=e,this._interactors=e.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&await t.interact(e)}handleClickMode(e){for(const t of this._externalInteractors)t.handleClickMode&&t.handleClickMode(e)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}async particlesInteract(e,t){for(const s of this._externalInteractors)s.clear(e,t);for(const s of this._particleInteractors)s.isEnabled(e)&&await s.interact(e,t)}async reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ct=i=>{if(!Ne(i.outMode,i.checkModes))return;const e=i.radius*2;i.coord>i.maxCoord-e?i.setCb(-i.radius):i.coord{for(const[,C]of a.plugins){const P=C.particlePosition!==void 0?C.particlePosition(c,this):void 0;if(P)return R.create(P.x,P.y,l)}const d=a.canvas.size,u=li({size:d,position:c}),f=R.create(u.x,u.y,l),g=this.getRadius(),y=this.options.move.outModes,w=C=>{ct({outMode:C,checkModes:["bounce","bounce-horizontal"],coord:f.x,maxCoord:a.canvas.size.width,setCb:P=>f.x+=P,radius:g})},x=C=>{ct({outMode:C,checkModes:["bounce","bounce-vertical"],coord:f.y,maxCoord:a.canvas.size.height,setCb:P=>f.y+=P,radius:g})};return w(y.left??y.default),w(y.right??y.default),x(y.top??y.default),x(y.bottom??y.default),this._checkOverlap(f,h)?this._calcPosition(a,void 0,l,h+1):f},this._calculateVelocity=()=>{const a=ai(this.direction),c=a.copy(),l=this.options.move;if(l.direction==="inside"||l.direction==="outside")return c;const h=Math.PI/180*v(l.angle.value),d=Math.PI/180*v(l.angle.offset),u={left:d-h/2,right:d+h/2};return l.straight||(c.angle+=A(z(u.left,u.right))),l.random&&typeof l.speed=="number"&&(c.length*=S()),c},this._checkOverlap=(a,c=0)=>{const l=this.options.collisions,h=this.getRadius();if(!l.enable)return!1;const d=l.overlap;if(d.enable)return!1;const u=d.retries;if(u>=0&&c>u)throw new Error(`${Z} particle is overlapping and can't be placed`);return!!this.container.particles.find(f=>ze(a,f.position){if(!a||!this.roll||!this.backColor&&!this.roll.alter)return a;const c=this.roll.horizontal&&this.roll.vertical?2:1,l=this.roll.horizontal?Math.PI/2:0;return Math.floor(((this.roll.angle??0)+l)/(Math.PI/c))%2?this.backColor?this.backColor:this.roll.alter?Oi(a,this.roll.alter.type,this.roll.alter.value):a:a},this._initPosition=a=>{const c=this.container,l=v(this.options.zIndex.value);this.position=this._calcPosition(c,a,ne(l,0,c.zLayers)),this.initialPosition=this.position.copy();const h=c.canvas.size;switch(this.moveCenter={...zt(this.options.move.center,h),radius:this.options.move.center.radius??0,mode:this.options.move.center.mode??"percent"},this.direction=ri(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=I.origin},this._loadShapeData=(a,c)=>{const l=a.options[this.shape];if(l)return T({close:a.close,fill:a.fill},le(l,this.id,c))},this._engine=e,this.init(t,n,o,r)}destroy(e){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,s=this.pathGenerator;for(const[,n]of t.plugins)n.particleDestroyed&&n.particleDestroyed(this,e);for(const n of t.particles.updaters)n.particleDestroyed&&n.particleDestroyed(this,e);s&&s.reset(this)}draw(e){const t=this.container;for(const[,s]of t.plugins)t.canvas.drawParticlePlugin(s,this,e);t.canvas.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??nt(this.color))}getMass(){return this.getRadius()**2*Math.PI/2}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??nt(this.strokeColor))}init(e,t,s,n){const o=this.container,r=this._engine;this.id=e,this.group=n,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const a=o.retina.pixelRatio,c=o.actualOptions,l=Rt(this._engine,o,c.particles),h=l.shape.type,{reduceDuplicates:d}=l;this.shape=le(h,this.id,d);const u=l.shape;if(s&&s.shape&&s.shape.type){const P=s.shape.type,me=le(P,this.id,d);me&&(this.shape=me,u.load(s.shape))}this.shapeData=this._loadShapeData(u,d),l.load(s);const f=this.shapeData;f&&l.load(f.particles);const g=new St(r,o);g.load(o.actualOptions.interactivity),g.load(l.interactivity),this.interactivity=g,this.fill=(f==null?void 0:f.fill)??l.shape.fill,this.close=(f==null?void 0:f.close)??l.shape.close,this.options=l;const y=this.options.move.path;this.pathDelay=Q(y.delay)*1e3,y.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(y.generator),this.pathGenerator&&o.addPath(y.generator,this.pathGenerator)&&this.pathGenerator.init(o)),o.retina.initParticle(this),this.size=wt(this.options.size,a),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-v(this.options.move.decay);const w=o.particles;w.needsSort=w.needsSort||w.lastZIndex=-e&&s.y>=-e&&s.y<=t.height+e&&s.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const e of this.container.particles.updaters)e.reset&&e.reset(this)}}class zs{constructor(e,t){this.position=e,this.particle=t}}class It{constructor(e,t){this.position={x:e,y:t}}}class re extends It{constructor(e,t,s,n){super(e,t),this.size={height:n,width:s}}contains(e){const t=this.size.width,s=this.size.height,n=this.position;return e.x>=n.x&&e.x<=n.x+t&&e.y>=n.y&&e.y<=n.y+s}intersects(e){e instanceof Se&&e.intersects(this);const t=this.size.width,s=this.size.height,n=this.position,o=e.position,r=e instanceof re?e.size:{width:0,height:0},a=r.width,c=r.height;return o.xn.x&&o.yn.y}}class Se extends It{constructor(e,t,s){super(e,t),this.radius=s}contains(e){return ze(e,this.position)<=this.radius}intersects(e){const t=this.position,s=e.position,n={x:Math.abs(s.x-t.x),y:Math.abs(s.y-t.y)},o=this.radius;if(e instanceof Se){const r=o+e.radius,a=Math.sqrt(n.x**2+n.y**2);return r>a}else if(e instanceof re){const{width:r,height:a}=e.size;return Math.pow(n.x-r,2)+Math.pow(n.y-a,2)<=o**2||n.x<=o+r&&n.y<=o+a||n.x<=r||n.y<=a}return!1}}class be{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:s,y:n}=this.rectangle.position,{width:o,height:r}=this.rectangle.size,{capacity:a}=this;for(let c=0;c<4;c++)this._subs.push(new be(new re(s+o/2*(c%2),n+r/2*(Math.round(c/2)-c%2),o/2,r/2),a));this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(e){return this.rectangle.contains(e.position)?this._points.lengtht.insert(e))):!1}query(e,t,s){const n=s||[];if(!e.intersects(this.rectangle))return[];for(const o of this._points)!e.contains(o.position)&&ze(e.position,o.position)>o.particle.getRadius()&&(!t||t(o.particle))||n.push(o.particle);if(this._divided)for(const o of this._subs)o.query(e,t,n);return n}queryCircle(e,t,s){return this.query(new Se(e.x,e.y,t),s)}queryRectangle(e,t,s){return this.query(new re(e.x,e.y,t.width,t.height),s)}}const lt=4,ht=i=>new re(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2);class Ms{constructor(e,t){this._applyDensity=(n,o,r)=>{var f;if(!((f=n.number.density)!=null&&f.enable))return;const a=n.number,c=this._initDensityFactor(a.density),l=a.value,h=a.limit>0?a.limit:l,d=Math.min(l,h)*c+o,u=Math.min(this.count,this.filter(g=>g.group===r).length);this.limit=a.limit*c,ud&&this.removeQuantity(u-d,r)},this._initDensityFactor=n=>{const o=this._container;if(!o.canvas.element||!n.enable)return 1;const r=o.canvas.element,a=o.retina.pixelRatio;return r.width*r.height/(n.factor*a**2*n.area)},this._pushParticle=(n,o,r,a)=>{try{let c=this.pool.pop();c?c.init(this._nextId,n,o,r):c=new xs(this._engine,this._nextId,this._container,n,o,r);let l=!0;return a&&(l=a(c)),l?(this._array.push(c),this._zArray.push(c),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:c}}),c):void 0}catch(c){ue().warning(`${Z} adding particle: ${c}`);return}},this._removeParticle=(n,o,r)=>{const a=this._array[n];if(!a||a.group!==o)return!1;a.destroy(r);const c=this._zArray.indexOf(a);return this._array.splice(n,1),this._zArray.splice(c,1),this.pool.push(a),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:a}}),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this._interactionManager=new ws(e,t);const s=t.canvas.size;this.quadTree=new be(ht(s),lt),this.movers=this._engine.plugins.getMovers(t,!0),this.updaters=this._engine.plugins.getUpdaters(t,!0)}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const s of t.manualParticles)this.addParticle(s.position?zt(s.position,e.canvas.size):void 0,s.options)}addParticle(e,t,s,n){const o=this._container,r=o.actualOptions,a=r.particles.number.limit;if(a>0){const c=this.count+1-a;c>0&&this.removeQuantity(c)}return this._pushParticle(e,t,s,n)}clear(){this._array=[],this._zArray=[]}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}async draw(e){const t=this._container;t.canvas.clear(),await this.update(e);for(const[,s]of t.plugins)t.canvas.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}handleClickMode(e){this._interactionManager.handleClickMode(e)}init(){var n;const e=this._container,t=e.actualOptions;this.lastZIndex=0,this.needsSort=!1;let s=!1;this.updaters=this._engine.plugins.getUpdaters(e,!0),this._interactionManager.init();for(const[,o]of e.plugins)if(o.particlesInitialization!==void 0&&(s=o.particlesInitialization()),s)break;this._interactionManager.init();for(const[,o]of e.pathGenerators)o.init(e);if(this.addManualParticles(),!s){for(const o in t.particles.groups){const r=t.particles.groups[o];for(let a=this.count,c=0;c<((n=r.number)==null?void 0:n.value)&&athis.count)return;let o=0;for(let r=e;o!s.has(o);this._array=this.filter(n),this._zArray=this._zArray.filter(n),this.pool.push(...s)}await this._interactionManager.externalInteract(e);for(const n of this._array){for(const o of this.updaters)o.update(n,e);!n.destroyed&&!n.spawning&&await this._interactionManager.particlesInteract(n,e)}if(delete t.canvas.resizeFactor,this.needsSort){const n=this._zArray;n.sort((o,r)=>r.position.z-o.position.z||o.id-r.id),this.lastZIndex=n[n.length-1].position.z,this.needsSort=!1}}}class Ps{constructor(e){this.container=e,this.pixelRatio=1,this.reduceFactor=1}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||Me()?1:window.devicePixelRatio,this.reduceFactor=1;const s=this.pixelRatio;if(e.canvas.element){const r=e.canvas.element;e.canvas.size.width=r.offsetWidth*s,e.canvas.size.height=r.offsetHeight*s}const n=t.particles,o=n.move;this.attractDistance=v(o.attract.distance)*s,this.maxSpeed=v(o.gravity.maxSpeed)*s,this.sizeAnimationSpeed=v(n.size.animation.speed)*s}initParticle(e){const t=e.options,s=this.pixelRatio,n=t.move,o=n.distance,r=e.retina;r.attractDistance=v(n.attract.distance)*s,r.moveDrift=v(n.drift)*s,r.moveSpeed=v(n.speed)*s,r.sizeAnimationSpeed=v(t.size.animation.speed)*s;const a=r.maxDistance;a.horizontal=o.horizontal!==void 0?o.horizontal*s:void 0,a.vertical=o.vertical!==void 0?o.vertical*s:void 0,r.maxSpeed=v(n.gravity.maxSpeed)*s}}function M(i){return i&&!i.destroyed}function ks(i,e=60,t=!1){return{value:i,factor:t?60/e:60*i/1e3}}function J(i,e,...t){const s=new bs(i,e);return Ot(s,...t),s}const Ss="default",ut={generate:i=>i.velocity,init:()=>{},update:()=>{},reset:()=>{}};class Cs{constructor(e,t,s){this.id=t,this._intersectionManager=n=>{if(!(!M(this)||!this.actualOptions.pauseOnOutsideViewport))for(const o of n)o.target===this.interactivity.element&&(o.isIntersecting?this.play:this.pause)()},this._nextFrame=async n=>{try{if(!this.smooth&&this.lastFrameTime!==void 0&&n1e3){this.draw(!1);return}if(await this.particles.draw(o),!this.alive()){this.destroy();return}this.getAnimationStatus()&&this.draw(!1)}catch(o){ue().error(`${Z} in animation loop`,o)}},this._engine=e,this.fpsLimit=120,this.smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=s,this._initialSourceOptions=s,this.retina=new Ps(this),this.canvas=new Ii(this),this.particles=new Ms(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this),this._eventListeners=new Ei(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(n=>this._intersectionManager(n))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!M(this))return;const t=this.interactivity.element;if(!t)return;const s=(d,u,f)=>{if(!M(this))return;const g=this.retina.pixelRatio,y={x:u.x*g,y:u.y*g},w=this.particles.quadTree.queryCircle(y,f*g);e(d,w)},n=d=>{if(!M(this))return;const u=d,f={x:u.offsetX||u.clientX,y:u.offsetY||u.clientY};s(d,f,1)},o=()=>{M(this)&&(l=!0,h=!1)},r=()=>{M(this)&&(h=!0)},a=d=>{if(M(this)){if(l&&!h){const u=d;let f=u.touches[u.touches.length-1];if(!f&&(f=u.changedTouches[u.changedTouches.length-1],!f))return;const g=this.canvas.element,y=g?g.getBoundingClientRect():void 0,w={x:f.clientX-(y?y.left:0),y:f.clientY-(y?y.top:0)};s(d,w,Math.max(f.radiusX,f.radiusY))}l=!1,h=!1}},c=()=>{M(this)&&(l=!1,h=!1)};let l=!1,h=!1;t.addEventListener("click",n),t.addEventListener("touchstart",o),t.addEventListener("touchmove",r),t.addEventListener("touchend",a),t.addEventListener("touchcancel",c)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,s=!1){return!M(this)||!s&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t??ut),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){if(!M(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,s]of this.drawers)s.destroy&&s.destroy(this);for(const s of this.drawers.keys())this.drawers.delete(s);this._engine.plugins.destroy(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(s=>s===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!M(this))return;let t=e;this._drawAnimationFrame=requestAnimationFrame(async s=>{t&&(this.lastFrameTime=void 0,t=!1),await this._nextFrame(s)})}async export(e,t={}){for(const[,s]of this.plugins){if(!s.export)continue;const n=await s.export(e,t);if(n.supported)return n.blob}ue().error(`${Z} - Export plugin with type ${e} not found`)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&M(this)}handleClickMode(e){if(M(this)){this.particles.handleClickMode(e);for(const[,t]of this.plugins)t.handleClickMode&&t.handleClickMode(e)}}async init(){if(!M(this))return;const e=this._engine.plugins.getSupportedShapes();for(const s of e){const n=this._engine.plugins.getShapeDrawer(s);n&&this.drawers.set(s,n)}this._options=J(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=J(this._engine,this,this._options);const t=this._engine.plugins.getAvailablePlugins(this);for(const[s,n]of t)this.plugins.set(s,n);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=v(this.actualOptions.duration)*1e3,this._delay=v(this.actualOptions.delay)*1e3,this._lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,s]of this.drawers)s.init&&await s.init(this);for(const[,s]of this.plugins)s.init&&await s.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,s]of this.plugins)s.particlesSetup&&s.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){M(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(M(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!M(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,s]of this.plugins)s.play&&s.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t||!1)}async refresh(){if(M(this))return this.stop(),this.start()}async reset(){if(M(this))return this._initialSourceOptions=void 0,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this,this._options),this.refresh()}setNoise(e,t,s){M(this)&&this.setPath(e,t,s)}setPath(e,t,s){if(!e||!M(this))return;const n={...ut};if(Mt(e))n.generate=e,t&&(n.init=t),s&&(n.update=s);else{const o=n;n.generate=e.generate||o.generate,n.init=e.init||o.init,n.update=e.update||o.update}this.addPath(Ss,n,!0)}async start(){!M(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{this._delayTimeout=setTimeout(async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,t]of this.plugins)t.start&&await t.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()},this._delay)}))}stop(){if(!(!M(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,e]of this.plugins)e.stop&&e.stop();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth===e?!1:(this.responsiveMaxWidth=e,!0)}}class Ts{constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let s=this._listeners.get(e);s||(s=[],this._listeners.set(e,s)),s.push(t)}dispatchEvent(e,t){const s=this._listeners.get(e);s&&s.forEach(n=>n(t))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){const s=this._listeners.get(e);if(!s)return;const n=s.length,o=s.indexOf(t);o<0||(n===1?this._listeners.delete(e):s.splice(o,1))}}function Be(i,e,t,s=!1){let n=e.get(i);return(!n||s)&&(n=[...t.values()].map(o=>o(i)),e.set(i,n)),n}class Os{constructor(e){this._engine=e,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,t){this._initializers.interactors.set(e,t)}addParticleMover(e,t){this._initializers.movers.set(e,t)}addParticleUpdater(e,t){this._initializers.updaters.set(e,t)}addPathGenerator(e,t){!this.getPathGenerator(e)&&this.pathGenerators.set(e,t)}addPlugin(e){!this.getPlugin(e.id)&&this.plugins.push(e)}addPreset(e,t,s=!1){(s||!this.getPreset(e))&&this.presets.set(e,t)}addShapeDrawer(e,t){H(e,s=>{!this.getShapeDrawer(s)&&this.drawers.set(s,t)})}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){const t=new Map;for(const s of this.plugins)s.needsPlugin(e.actualOptions)&&t.set(s.id,s.getPlugin(e));return t}getInteractors(e,t=!1){return Be(e,this.interactors,this._initializers.interactors,t)}getMovers(e,t=!1){return Be(e,this.movers,this._initializers.movers,t)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,t=!1){return Be(e,this.updaters,this._initializers.updaters,t)}loadOptions(e,t){for(const s of this.plugins)s.loadOptions(e,t)}loadParticlesOptions(e,t,...s){const n=this.updaters.get(e);if(n)for(const o of n)o.loadOptions&&o.loadOptions(t,...s)}}async function Rs(i){const e=le(i.url,i.index);if(!e)return i.fallback;const t=await fetch(e);return t.ok?t.json():(ue().error(`${Z} ${t.status} while retrieving config file`),i.fallback)}function Is(i){return!i.id&&!i.element&&!i.url&&!i.options}function Es(i){return!Is(i)}class Ds{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new Ts,this._initialized=!1,this.plugins=new Os(this)}get configs(){const e={};for(const[t,s]of this._configs)e[t]=s;return e}get version(){return"2.12.0"}addConfig(e,t){$(e)?t&&(t.name=e,this._configs.set(e,t)):this._configs.set(e.name??"default",e)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}async addInteractor(e,t,s=!0){this.plugins.addInteractor(e,t),await this.refresh(s)}async addMover(e,t,s=!0){this.plugins.addParticleMover(e,t),await this.refresh(s)}async addParticleUpdater(e,t,s=!0){this.plugins.addParticleUpdater(e,t),await this.refresh(s)}async addPathGenerator(e,t,s=!0){this.plugins.addPathGenerator(e,t),await this.refresh(s)}async addPlugin(e,t=!0){this.plugins.addPlugin(e),await this.refresh(t)}async addPreset(e,t,s=!1,n=!0){this.plugins.addPreset(e,t,s),await this.refresh(n)}async addShape(e,t,s,n,o,r=!0){let a,c=r,l,h,d;G(s)?(c=s,l=void 0):l=s,G(n)?(c=n,h=void 0):h=n,G(o)?(c=o,d=void 0):d=o,Mt(t)?a={afterEffect:h,destroy:d,draw:t,init:l}:a=t,this.plugins.addShapeDrawer(e,a),await this.refresh(c)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}dom(){return this._domArray}domItem(e){const t=this.dom(),s=t[e];if(!s||s.destroyed){t.splice(e,1);return}return s}init(){this._initialized||(this._initialized=!0)}async load(e,t){return this.loadFromArray(e,t)}async loadFromArray(e,t,s){let n;return Es(e)?n=e:(n={},$(e)?n.id=e:n.options=e,F(t)?n.index=t:n.options=t??n.options,n.index=s??n.index),this._loadParams(n)}async loadJSON(e,t,s){let n,o;return F(t)||t===void 0?n=e:(o=e,n=t),this._loadParams({id:o,url:n,index:s})}async refresh(e=!0){e&&this.dom().forEach(t=>t.refresh())}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async set(e,t,s,n){const o={index:n};return $(e)?o.id=e:o.element=e,t instanceof HTMLElement?o.element=t:o.options=t,F(s)?o.index=s:o.options=s??o.options,this._loadParams(o)}async setJSON(e,t,s,n){const o={};return e instanceof HTMLElement?(o.element=e,o.url=t,o.index=s):(o.id=e,o.element=t,o.url=s,o.index=n),this._loadParams(o)}setOnClickHandler(e){const t=this.dom();if(!t.length)throw new Error(`${Z} can only set click handlers after calling tsParticles.load()`);for(const s of t)s.addClickHandler(e)}async _loadParams(e){const t=e.id??`tsparticles${Math.floor(S()*1e4)}`,{index:s,url:n}=e,o=n?await Rs({fallback:e.options,url:n,index:s}):e.options;let r=e.element??document.getElementById(t);r||(r=document.createElement("div"),r.id=t,document.body.append(r));const a=le(o,s),c=this.dom(),l=c.findIndex(u=>u.id===t);if(l>=0){const u=this.domItem(l);u&&!u.destroyed&&(u.destroy(),c.splice(l,1))}let h;if(r.tagName.toLowerCase()==="canvas")h=r,h.dataset[ce]="false";else{const u=r.getElementsByTagName("canvas");u.length?(h=u[0],h.dataset[ce]="false"):(h=document.createElement("canvas"),h.dataset[ce]="true",r.appendChild(h))}h.style.width||(h.style.width="100%"),h.style.height||(h.style.height="100%");const d=new Cs(this,t,a);return l>=0?c.splice(l,0,d):c.push(d),d.canvas.loadCanvas(h),await d.start(),d}}class Ls{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.s!==void 0&&s.l!==void 0)return oe(s)}handleRangeColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.l!==void 0)return oe({h:v(s.h),l:v(s.l),s:v(s.s)})}parseString(e){if(!e.startsWith("hsl"))return;const t=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?bi({a:s.length>4?_t(s[5]):1,h:parseInt(s[1],10),l:parseInt(s[3],10),s:parseInt(s[2],10)}):void 0}}class As{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return s}handleRangeColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return{r:v(s.r),g:v(s.g),b:v(s.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?{a:s.length>4?_t(s[5]):1,b:parseInt(s[3],10),g:parseInt(s[2],10),r:parseInt(s[1],10)}:void 0}}function $s(){const i=new As,e=new Ls;it(i),it(e);const t=new Ds;return t.init(),t}const he=$s();Me()||(window.tsParticles=he);const Fs=async i=>{const{loadFull:e}=await te(()=>import("./index.77eaffd8.js"),["./index.77eaffd8.js","./index.19c07bad.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./Icon.c44fc0a7.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.8bfe2b63.js","./ContentRendererMarkdown.vue.4bf820b7.js","./index.b0fe9fac.js","./preview.9ca7dcfa.js","./query.046ea17d.js"],import.meta.url);await e(i)},js=async i=>{const{loadSlim:e}=await te(()=>import("./index.19c07bad.js").then(t=>t.i),[],import.meta.url);await e(i)},Bs=async i=>{const{loadBasic:e}=await te(()=>Promise.resolve().then(()=>zn),void 0,import.meta.url);await e(i)},Vs=async(i,e)=>{const s=new Map([["basic",Bs],["slim",js],["full",Fs]]).get(e);s&&await s(i)},Hs=["id"],Us=E({__name:"NuxtParticles",props:{id:{},options:{},url:{}},emits:["load"],setup(i,{emit:e}){const t=dt("__nuxt_particles_loaded",()=>!1),s=W(void 0),{mode:n,lazy:o}=Lt().public.particles,r=i,a=e;return ae(async()=>{o&&n!=="custom"&&!t.value&&(he.init(),await Vs(he,n),t.value=!0);const c=await he.load({id:r.id,options:r.options,url:r.url});c&&(a("load",c),s.value=c)}),$t(()=>{s.value&&s.value.destroy()}),(c,l)=>(m(),b("div",{id:c.id},null,8,Hs))}}),Ws=E({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(i,{slots:e,attrs:t}){const s=W(!1);return ae(()=>{s.value=!0}),n=>{var c;if(s.value)return(c=e.default)==null?void 0:c.call(e);const o=e.fallback||e.placeholder;if(o)return o();const r=n.fallback||n.placeholder||"",a=n.fallbackTag||n.placeholderTag||"span";return b(a,t,r)}}}),qs={name:At,props:{placeholder:String,tag:{type:String,default:"span"}}};function Gs(i,e,t,s,n,o){const r=Ws;return m(),j(r,{placeholder:t.placeholder,"placeholder-tag":t.tag},{default:V(()=>[Ft(i.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Et=B(qs,[["render",Gs]]),Ze=()=>dt("color-mode").value;function Ns(i){const e=i.initialPosition,{dx:t,dy:s}=X(e,i.position),n=Math.abs(t),o=Math.abs(s),{maxDistance:r}=i.retina,a=r.horizontal,c=r.vertical;if(!(!a&&!c)){if((a&&n>=a||c&&o>=c)&&!i.misplaced)i.misplaced=!!a&&n>a||!!c&&o>c,a&&(i.velocity.x=i.velocity.y/2-i.velocity.x),c&&(i.velocity.y=i.velocity.x/2-i.velocity.y);else if((!a||ne.x&&h.x>0)&&(h.x*=-S()),c&&(l.ye.y&&h.y>0)&&(h.y*=-S())}}}function Ys(i,e,t,s,n,o){Zs(i,o);const r=i.gravity,a=r!=null&&r.enable&&r.inverse?-1:1;n&&t&&(i.velocity.x+=n*o.factor/(60*t)),r!=null&&r.enable&&t&&(i.velocity.y+=a*(r.acceleration*o.factor)/(60*t));const c=i.moveDecay;i.velocity.multTo(c);const l=i.velocity.mult(t);r!=null&&r.enable&&s>0&&(!r.inverse&&l.y>=0&&l.y>=s||r.inverse&&l.y<=0&&l.y<=-s)&&(l.y=a*s,t&&(i.velocity.y=l.y/t));const h=i.options.zIndex,d=(1-i.zIndexFactor)**h.velocityRate;l.multTo(d);const{position:u}=i;u.addTo(l),e.vibrate&&(u.x+=Math.sin(u.x*Math.cos(u.y)),u.y+=Math.cos(u.y*Math.sin(u.x)))}function Xs(i,e){const t=i.container;if(!i.spin)return;const s={x:i.spin.direction==="clockwise"?Math.cos:Math.sin,y:i.spin.direction==="clockwise"?Math.sin:Math.cos};i.position.x=i.spin.center.x+i.spin.radius*s.x(i.spin.angle),i.position.y=i.spin.center.y+i.spin.radius*s.y(i.spin.angle),i.spin.radius+=i.spin.acceleration;const n=Math.max(t.canvas.size.width,t.canvas.size.height);i.spin.radius>n/2?(i.spin.radius=n/2,i.spin.acceleration*=-1):i.spin.radius<0&&(i.spin.radius=0,i.spin.acceleration*=-1),i.spin.angle+=e/100*(1-i.spin.radius/n)}function Zs(i,e){var r;const t=i.options,s=t.move.path;if(!s.enable)return;if(i.lastPathTime<=i.pathDelay){i.lastPathTime+=e.value;return}const o=(r=i.pathGenerator)==null?void 0:r.generate(i,e);o&&i.velocity.addTo(o),s.clamp&&(i.velocity.x=ne(i.velocity.x,-1,1),i.velocity.y=ne(i.velocity.y,-1,1)),i.lastPathTime-=i.pathDelay}function Qs(i){return i.slow.inRange?i.slow.factor:1}const Ks=2;class Js{constructor(){this._initSpin=e=>{const t=e.container,s=e.options,n=s.move.spin;if(!n.enable)return;const o=n.position??{x:50,y:50},r={x:o.x/100*t.canvas.size.width,y:o.y/100*t.canvas.size.height},a=e.getPosition(),c=ze(a,r),l=v(n.acceleration);e.retina.spinAcceleration=l*t.retina.pixelRatio,e.spin={center:r,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}init(e){const t=e.options,s=t.move.gravity;e.gravity={enable:s.enable,acceleration:v(s.acceleration),inverse:s.inverse},this._initSpin(e)}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,t){var g,y;const s=e.options,n=s.move;if(!n.enable)return;const o=e.container,r=o.retina.pixelRatio,a=Qs(e),c=((g=e.retina).moveSpeed??(g.moveSpeed=v(n.speed)*r))*o.retina.reduceFactor,l=(y=e.retina).moveDrift??(y.moveDrift=v(e.options.move.drift)*r),h=xe(s.size.value)*r,d=n.size?e.getRadius()/h:1,u=c*d*a*(t.factor||1)/Ks,f=e.retina.maxSpeed??o.retina.maxSpeed;n.spin.enable?Xs(e,u):Ys(e,n,u,f,l,t),Ns(e)}}async function en(i,e=!0){await i.addMover("base",()=>new Js,e)}class tn{draw(e,t,s){t.circleRange||(t.circleRange={min:0,max:Math.PI*2});const n=t.circleRange;e.arc(0,0,s,n.min,n.max,!1)}getSidesCount(){return 12}particleInit(e,t){const s=t.shapeData,n=(s==null?void 0:s.angle)??{max:360,min:0};t.circleRange=ee(n)?{min:n.min*Math.PI/180,max:n.max*Math.PI/180}:{min:0,max:n*Math.PI/180}}}async function sn(i,e=!0){await i.addShape("circle",new tn,e)}function Ve(i,e,t,s,n){if(!e||!t.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=A(t.offset),r=(e.velocity??0)*i.factor+o*3.6,a=e.decay??1;!n||e.status==="increasing"?(e.value+=r,e.value>s&&(e.loops||(e.loops=0),e.loops++,n&&(e.status="decreasing",e.value-=e.value%s))):(e.value-=r,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&a!==1&&(e.velocity*=a),e.value>s&&(e.value%=s)}function nn(i,e){const{h:t,s,l:n}=i.options.color.animation,{color:o}=i;if(!o)return;const{h:r,s:a,l:c}=o;r&&Ve(e,r,t,360,!1),a&&Ve(e,a,s,100,!0),c&&Ve(e,c,n,100,!0)}class on{constructor(e){this.container=e}init(e){const t=Ue(e.options.color,e.id,e.options.reduceDuplicates);t&&(e.color=xi(t,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){const{h:t,s,l:n}=e.options.color.animation,{color:o}=e;return!e.destroyed&&!e.spawning&&((o==null?void 0:o.h.value)!==void 0&&t.enable||(o==null?void 0:o.s.value)!==void 0&&s.enable||(o==null?void 0:o.l.value)!==void 0&&n.enable)}update(e,t){nn(e,t)}}async function rn(i,e=!0){await i.addParticleUpdater("color",t=>new on(t),e)}function an(i,e,t,s){switch(i.options.opacity.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function cn(i,e){const t=i.opacity;if(i.destroyed||!(t!=null&&t.enable)||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=t.min,n=t.max,o=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=n?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=(t.velocity??0)*e.factor;break;case"decreasing":t.value<=s?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=(t.velocity??0)*e.factor;break}t.velocity&&t.decay!==1&&(t.velocity*=o),an(i,t.value,s,n),i.destroyed||(t.value=ne(t.value,s,n))}}class ln{constructor(e){this.container=e}init(e){const t=e.options.opacity;e.opacity=wt(t,1);const s=t.animation;s.enable&&(e.opacity.velocity=v(s.speed)/100*this.container.retina.reduceFactor,s.sync||(e.opacity.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((e.opacity.maxLoops??0)<=0||(e.opacity.maxLoops??0)>0&&(e.opacity.loops??0)<(e.opacity.maxLoops??0))}reset(e){e.opacity&&(e.opacity.time=0,e.opacity.loops=0)}update(e,t){this.isEnabled(e)&&cn(e,t)}}async function hn(i,e=!0){await i.addParticleUpdater("opacity",t=>new ln(t),e)}function un(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-horizontal"&&i.outMode!=="bounceHorizontal"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.right<0&&i.direction==="left"?i.particle.position.x=i.size+i.offset.x:i.bounds.left>i.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const e=i.particle.velocity.x;let t=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&e>0||i.direction==="left"&&i.bounds.left<=0&&e<0){const n=Q(i.particle.options.bounce.horizontal);i.particle.velocity.x*=-n,t=!0}if(!t)return;const s=i.offset.x+i.size;i.bounds.right>=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-s:i.bounds.left<=0&&i.direction==="left"&&(i.particle.position.x=s),i.outMode==="split"&&i.particle.destroy()}function dn(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-vertical"&&i.outMode!=="bounceVertical"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottom<0&&i.direction==="top"?i.particle.position.y=i.size+i.offset.y:i.bounds.top>i.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const e=i.particle.velocity.y;let t=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&e>0||i.direction==="top"&&i.bounds.top<=0&&e<0){const n=Q(i.particle.options.bounce.vertical);i.particle.velocity.y*=-n,t=!0}if(!t)return;const s=i.offset.y+i.size;i.bounds.bottom>=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-s:i.bounds.top<=0&&i.direction==="top"&&(i.particle.position.y=s),i.outMode==="split"&&i.particle.destroy()}class fn{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;let r=!1;for(const[,u]of o.plugins)if(u.particleBounce!==void 0&&(r=u.particleBounce(e,s,t)),r)break;if(r)return;const a=e.getPosition(),c=e.offset,l=e.getRadius(),h=Pe(a,l),d=o.canvas.size;un({particle:e,outMode:n,direction:t,bounds:h,canvasSize:d,offset:c,size:l}),dn({particle:e,outMode:n,direction:t,bounds:h,canvasSize:d,offset:c,size:l})}}class pn{constructor(e){this.container=e,this.modes=["destroy"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"normal":case"outside":if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;break;case"inside":{const{dx:r,dy:a}=X(e.position,e.moveCenter),{x:c,y:l}=e.velocity;if(c<0&&r>e.moveCenter.radius||l<0&&a>e.moveCenter.radius||c>=0&&r<-e.moveCenter.radius||l>=0&&a<-e.moveCenter.radius)return;break}}o.particles.remove(e,void 0,!0)}}class mn{constructor(e){this.container=e,this.modes=["none"]}update(e,t,s,n){if(!this.modes.includes(n)||e.options.move.distance.horizontal&&(t==="left"||t==="right")||e.options.move.distance.vertical&&(t==="top"||t==="bottom"))return;const o=e.options.move.gravity,r=this.container,a=r.canvas.size,c=e.getRadius();if(o.enable){const l=e.position;(!o.inverse&&l.y>a.height+c&&t==="bottom"||o.inverse&&l.y<-c&&t==="top")&&r.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=a.height+c||e.velocity.y<0&&e.position.y>=-c||e.velocity.x>0&&e.position.x<=a.width+c||e.velocity.x<0&&e.position.x>=-c)return;Xe(e.position,r.canvas.size,I.origin,c,t)||r.particles.remove(e)}}}class yn{constructor(e){this.container=e,this.modes=["out"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"inside":{const{x:r,y:a}=e.velocity,c=I.origin;c.length=e.moveCenter.radius,c.angle=e.velocity.angle+Math.PI,c.addTo(I.create(e.moveCenter));const{dx:l,dy:h}=X(e.position,c);if(r<=0&&l>=0||a<=0&&h>=0||r>=0&&l<=0||a>=0&&h<=0)return;e.position.x=Math.floor(A({min:0,max:o.canvas.size.width})),e.position.y=Math.floor(A({min:0,max:o.canvas.size.height}));const{dx:d,dy:u}=X(e.position,e.moveCenter);e.direction=Math.atan2(-u,-d),e.velocity.angle=e.direction;break}default:{if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;switch(e.outType){case"outside":{e.position.x=Math.floor(A({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(A({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:r,dy:a}=X(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(a,r),e.velocity.angle=e.direction);break}case"normal":{const r=e.options.move.warp,a=o.canvas.size,c={bottom:a.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:a.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},l=e.getRadius(),h=Pe(e.position,l);t==="right"&&h.left>a.width+e.offset.x?(e.position.x=c.left,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)):t==="left"&&h.right<-e.offset.x&&(e.position.x=c.right,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)),t==="bottom"&&h.top>a.height+e.offset.y?(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.top,e.initialPosition.y=e.position.y):t==="top"&&h.bottom<-e.offset.y&&(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.bottom,e.initialPosition.y=e.position.y);break}}break}}}}class gn{constructor(e){this.container=e,this._updateOutMode=(t,s,n,o)=>{for(const r of this.updaters)r.update(t,o,s,n)},this.updaters=[new fn(e),new pn(e),new yn(e),new mn(e)]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,t){const s=e.options.move.outModes;this._updateOutMode(e,t,s.bottom??s.default,"bottom"),this._updateOutMode(e,t,s.left??s.default,"left"),this._updateOutMode(e,t,s.right??s.default,"right"),this._updateOutMode(e,t,s.top??s.default,"top")}}async function _n(i,e=!0){await i.addParticleUpdater("outModes",t=>new gn(t),e)}function vn(i,e,t,s){switch(i.options.size.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function bn(i,e){const t=i.size;if(i.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=(t.velocity??0)*e.factor,n=t.min,o=t.max,r=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=o?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=s;break;case"decreasing":t.value<=n?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=s}t.velocity&&r!==1&&(t.velocity*=r),vn(i,t.value,n,o),i.destroyed||(t.value=ne(t.value,n,o))}}class wn{init(e){const t=e.container,s=e.options.size,n=s.animation;n.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??t.retina.sizeAnimationSpeed)/100*t.retina.reduceFactor,n.sync||(e.size.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.loops=0}update(e,t){this.isEnabled(e)&&bn(e,t)}}async function xn(i,e=!0){await i.addParticleUpdater("size",()=>new wn,e)}async function Dt(i,e=!0){await en(i,!1),await sn(i,!1),await rn(i,!1),await hn(i,!1),await _n(i,!1),await xn(i,!1),await i.refresh(e)}const zn=Object.freeze(Object.defineProperty({__proto__:null,loadBasic:Dt},Symbol.toStringTag,{value:"Module"})),Mn={background:{color:"#000"},particles:{number:{value:100},move:{direction:"none",enable:!0,outModes:{default:"out"},random:!0,speed:.1,straight:!1},opacity:{animation:{enable:!0,speed:1,sync:!1},value:{min:0,max:1}},size:{value:{min:1,max:3}}}};async function Pn(i,e=!0){await Dt(i,!1),await i.addPreset("stars",Mn,e)}const kn={key:0},Sn={key:0},Cn={key:1},Tn=E({__name:"animated-background",async setup(i){let e,t;const s=Ze();[e,t]=We(()=>Pn(he)),await e,t();const n=W(!1);ft(s,()=>{n.value=!1,setTimeout(()=>n.value=!0,1e3)}),ae(()=>{n.value=!0});const o={fpsLimit:24,fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,particles:{opacity:{value:.1},color:{value:"#fff"},links:{color:"#fff",enable:!0,opacity:.1},move:{enable:!0},number:{value:15}}},r={fpsLimit:8,preset:"stars",fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,background:{opacity:0},particles:{number:{value:30}}},a={fpsLimit:24,fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,particles:{shape:{type:"image",image:{src:"build.svg",replaceColor:!0,width:59,height:91}},opacity:{random:{enable:!0,minimumValue:.01},value:.4},number:{value:3},size:{random:{enable:!0,minimumValue:10},value:70},move:{enable:!0,direction:"bottom",speed:{min:.1,max:.8}}}},c={fpsLimit:24,backgroundMode:{enable:!0,zIndex:0},style:{height:"25vh"},particles:{shape:{type:"image",image:{src:"cloud.svg",replaceColor:!0,width:80,height:40}},opacity:{value:.5},color:{value:"#d9e2ff"},number:{value:5},size:{random:{enable:!0,minimumValue:130},value:50},move:{enable:!0,direction:"right",speed:{min:.2,max:1.5},straight:!0}}};return(l,h)=>{const d=Us,u=Et;return m(),j(u,null,{default:V(()=>[k(qe,null,{default:V(()=>[p(n)?(m(),b("div",kn,[p(s).value==="dark"?(m(),b("div",Sn,[k(d,{id:"connections",options:o}),k(d,{id:"stars",options:r})])):(m(),b("div",Cn,[k(d,{id:"clouds",options:c}),k(d,{id:"builds",options:a})]))])):q("",!0)]),_:1})]),_:1})}}});const On={class:"topbar"},Rn={class:"switch"},In={class:"switch"},ye="2.5rem",En=E({__name:"top-bar",setup(i){const{locale:e}=fe(),t=Ze();return(s,n)=>{const o=we,r=Et;return m(),b("div",On,[_("div",Rn,[_("div",null,[p(e)==="pt"?(m(),j(o,{key:0,name:"circle-flags:br",size:ye,onClick:n[0]||(n[0]=a=>e.value="en")})):q("",!0)]),_("div",null,[p(e)==="en"?(m(),j(o,{key:0,name:"circle-flags:us",size:ye,onClick:n[1]||(n[1]=a=>e.value="pt")})):q("",!0)])]),k(r,{placeholder:"...",tag:"span"},{default:V(()=>[_("div",In,[p(t).value==="dark"?(m(),b("div",{key:0,onClick:n[2]||(n[2]=a=>p(t).preference="light")},[k(o,{name:"material-symbols:dark-mode-rounded",size:ye})])):(m(),b("div",{key:1,onClick:n[3]||(n[3]=a=>p(t).preference="dark")},[k(o,{name:"material-symbols:light-mode-rounded",size:ye})]))])]),_:1})])}}});const Dn=B(En,[["__scopeId","data-v-ca1cc8a0"]]),Ln={class:"intro"},An=E({__name:"intro-text",props:{text:{}},emits:["ended","started"],setup(i,{emit:e}){const t=e,s=i,n=Ze(),o=W(),r=s.text.split(` -`),a=W(0),c=async()=>{o.value!=null&&(a.value=0,await o.value.reduce(async(u,f)=>{await u,await d(f),a.value+=1},Promise.resolve()),t("ended"))},l=()=>{o.value!=null&&o.value.slice(0,a.value+1).forEach(u=>{h(u)})},h=async u=>{const f=Array.from(u.children),g=n.preference==="dark"?"brightness":"opacity",y=300,w=[{filter:`${g}(40%)`}],x=f.map(C=>C.animate(w,{duration:y,iterations:1,fill:"forwards"}).finished);await Promise.all(x)},d=async u=>{const f=Array.from(u.children),g=1500,y=100,w=n.preference==="dark"?"brightness":"opacity",x=[{transform:"translateY(0)",visibility:"visible",filter:`${w}(100%)`},{transform:"translateY(-2em)",offset:.1},{transform:"translateY(0)",offset:.2},{filter:`${w}(100%)`,offset:.85},{visibility:"visible",filter:`${w}(40%)`,offset:1}],C=f.map((P,me)=>P.animate(x,{duration:g,iterations:1,fill:"forwards",delay:me*y}).finished);await Promise.all(C)};return ae(()=>{setTimeout(c,1e3)}),ft(n,()=>{l()}),(u,f)=>(m(),b("div",Ln,[(m(!0),b(ie,null,se(p(r),(g,y)=>(m(),b("div",{ref_for:!0,ref_key:"introLines",ref:o,key:g,class:"line"},[(m(!0),b(ie,null,se(Array(y),(w,x)=>(m(),b("span",{key:x,class:"tabspace"}," "))),128)),(m(!0),b(ie,null,se(g,(w,x)=>(m(),b("span",{key:x,class:"letter"},O(w==" "?" ":w),1))),128))]))),128))]))}});const $n=B(An,[["__scopeId","data-v-3f889e56"]]),Fn={class:"swipe"},jn=_("div",{class:"path"},null,-1),Bn=_("div",{class:"hand-icon"},null,-1),Vn=[jn,Bn],Hn=E({__name:"swipe-tip",setup(i){return ae(()=>{document.querySelector(".path").style.animation="swipe-dot 2s 0.5s infinite",document.querySelector(".hand-icon").style.animation="swipe-hand 2s infinite"}),(e,t)=>(m(),b("div",Fn,Vn))}});const Un={key:0,class:"w-full"},Wn={class:"intro-info"},qn={href:"https://linktr.ee/pabloelt",class:"info-item contact"},Gn={class:"info-item more"},Nn={class:"swipe-tip"},Yn=E({__name:"intro",setup(i){const{t:e,locale:t}=fe(),s=W(!1);return(n,o)=>{const r=$n,a=we,c=Hn,l=jt("auto-animate");return Ce((m(),b("div",{key:p(t),class:"flex flex-col items-center"},[k(r,{text:p(e)("intro"),onEnded:o[0]||(o[0]=h=>s.value=!0)},null,8,["text"]),p(s)?(m(),b("div",Un,[_("div",Wn,[Ce((m(),b("a",qn,[k(a,{name:"logos:telegram"}),_("span",null,O(p(e)("contact")),1)])),[[l]]),Ce((m(),b("div",Gn,[_("span",null,O(p(e)("more")),1)])),[[l]])]),_("div",Nn,[k(c)])])):q("",!0)])),[[l]])}}});const Xn=B(Yn,[["__scopeId","data-v-4d09d87c"]]),K=i=>(Bt("data-v-58f0547e"),i=i(),Vt(),i),Zn={class:"division"},Qn={class:"subsection"},Kn={class:"title"},Jn=K(()=>_("br",null,null,-1)),eo=K(()=>_("br",null,null,-1)),to=K(()=>_("br",null,null,-1)),io=K(()=>_("br",null,null,-1)),so=K(()=>_("a",{href:"http://github.com/pabloeltdev"},"Github",-1)),no=K(()=>_("br",null,null,-1)),oo=K(()=>_("a",{href:"http://github.com/pabloufrn"},"link",-1)),ro={class:"subsection"},ao={class:"title"},co={class:"whitespace-pre-line"},lo={class:"division"},ho={class:"subsection"},uo={class:"title flex"},fo={class:"flex items-center gap-2"},po=E({__name:"about",setup(i){const{t:e,locale:t}=fe();return(s,n)=>(m(),j(qe,{mode:"out-in"},{default:V(()=>[(m(),b("div",{key:p(t),class:"about"},[_("div",Zn,[_("div",Qn,[_("span",Kn,O(p(e)("skills_title")),1),_("span",null,[Y(" 🚀 Web front (vuejs, nuxt, tailwindcss) "),Jn,Y(" 📊 Data science (pandas, plotly, dash) "),eo,Y(" 🤖 Chat bots (python-telegram-bot) "),to,Y(" 📔 "+O(p(e)("main_langs"))+": typescript, python ",1),io,Y(" 😀 "+O(p(e)("more_at"))+" ",1),so,Y(". "),no,Y(" ➕ "+O(p(e)("old_gh_text"))+": ",1),oo])]),_("div",ro,[_("span",ao,O(p(e)("roles_title")),1),_("span",co,O(p(e)("roles_text")),1)])]),_("div",lo,[_("div",ho,[_("span",uo,O(p(e)("about_title")),1),_("span",null,O(p(e)("about_text")),1)]),_("div",fo,[_("span",null,O(p(e)("more")),1)])])]))]),_:1}))}});const mo=B(po,[["__scopeId","data-v-58f0547e"]]),yo={class:"project-container"},go={key:0},_o={class:"project-header"},vo={class:"project-info"},bo={class:"title"},wo=_("br",null,null,-1),xo={class:"description"},zo={class:"project-external"},Mo=_("br",null,null,-1),Po=E({__name:"portfolio-project",props:{path:{}},async setup(i){let e,t;const s=i,n=W(null),{t:o}=fe(),{data:r}=([e,t]=We(()=>yt(s.path,()=>gt(s.path).findOne(),"$a1E6u7yuYP")),e=await e,t(),e),a=c=>{window.open(c,"_blank")};return ae(()=>{var c;(c=n.value)==null||c.focus()}),(c,l)=>{const h=we,d=Zt;return m(),b("div",yo,[p(r)==null?(m(),b("div",go," Project not found ")):(m(),b("div",{key:1,ref_key:"projectDiv",ref:n,class:"project",tabindex:"0"},[_("div",_o,[_("div",vo,[_("span",bo,O(p(r).title),1),wo,_("span",xo,O(p(r).description),1)]),_("div",zo,[p(r).homepage?(m(),b("div",{key:0,class:"homepage",onClick:l[0]||(l[0]=u=>a(p(r).homepage))},[_("span",null,O(p(o)("access_live")),1)])):q("",!0),p(r).video?(m(),b("div",{key:1,class:"video",onClick:l[1]||(l[1]=u=>a(p(r).video))},[k(h,{name:"mdi:youtube"})])):q("",!0)])]),Mo,k(d,{value:p(r)},null,8,["value"])],512))])}}});const ko={};function So(i,e){const t=we;return m(),j(t,{class:"project-icon",name:"material-symbols:description"})}const Co=B(ko,[["render",So]]),To=(i,e)=>{const t=i[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((s,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Oo=E({__name:"project-icon",props:{name:{}},setup(i){const e=i,t=Ht(async()=>{try{return await To(Object.assign({"../assets/projects/acidentes.svg":()=>te(()=>import("./acidentes.3d086779.js"),["./acidentes.3d086779.js","./nuxt-icon.f3fac03d.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/playmytime.svg":()=>te(()=>import("./playmytime.0d4caa2c.js"),["./playmytime.0d4caa2c.js","./nuxt-icon.f3fac03d.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/simuladocnh.svg":()=>te(()=>import("./simuladocnh.f9071784.js"),["./simuladocnh.f9071784.js","./nuxt-icon.f3fac03d.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./nuxt-icon.ee9202a9.css"],import.meta.url)}),`../assets/projects/${e.name}.svg`)}catch{return Co}});return(s,n)=>(m(),j(p(t)))}});const Ro=B(Oo,[["__scopeId","data-v-5a1f7b1f"]]),Io={class:"projects-nav"},Eo=["onClick"],Do=E({__name:"projects-nav",props:{projects:{},activeProject:{}},emits:["select"],setup(i,{emit:e}){const t=i,s=e,n=Ut(()=>t.projects.map(a=>r(a))),o=a=>{s("select",a)},r=a=>{var c;return(c=a._path)==null?void 0:c.split("/").at(-1)};return(a,c)=>{const l=Ro;return m(),b("div",Io,[(m(!0),b(ie,null,se(p(n),(h,d)=>(m(),b("div",{key:d,class:Wt(["project-item",{active:a.activeProject===d}]),onClick:u=>o(d)},[k(l,{class:"project-icon",name:h},null,8,["name"])],10,Eo))),128))])}}});const Lo=B(Do,[["__scopeId","data-v-3d5ad874"]]),Ao={class:"projects-container"},$o={key:0,class:"project-swiper-container"},Fo=E({__name:"projects",async setup(i){let e,t;const{locale:s}=fe(),{data:n}=([e,t]=We(()=>yt("projects",()=>gt(`/projects/${s.value.slice(0,2)}`).only(["_path"]).find(),{watch:[s]})),e=await e,t(),e);let o=null;const r=W(0),a=l=>{o==null||o.slideTo(l)},c=l=>{o=l,o.on("activeIndexChange",h=>{r.value=h.activeIndex})};return(l,h)=>{var y,w;const d=Po,u=pt,f=mt,g=Lo;return m(),b("div",Ao,[p(n)!=null&&((y=p(n))==null?void 0:y.length)>0?(m(),b("div",$o,[k(f,{class:"project-swiper",style:{overflow:"hidden scroll"},effect:"flip",modules:["SwiperEffectFlip"in l?l.SwiperEffectFlip:p(qt)],"slides-per-view":1,nested:!0,"allow-touch-move":!0,onSwiper:c},{default:V(()=>[(m(!0),b(ie,null,se(p(n),(x,C)=>(m(),j(u,{key:C},{default:V(()=>[k(qe,{mode:"out-in"},{default:V(()=>[(m(),b("div",{key:p(s),class:"project-slide-content"},[k(d,{path:x._path},null,8,["path"])]))]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modules"])])):q("",!0),p(n)&&((w=p(n))==null?void 0:w.length)>0?(m(),j(g,{key:1,"active-project":p(r),projects:p(n),onSelect:a},null,8,["active-project","projects"])):q("",!0)])}}});const jo=B(Fo,[["__scopeId","data-v-a31d9570"]]),Bo={class:"swiper-container"},Vo=E({__name:"sections-container",setup(i){const e=[{name:"intro",component:Xn},{name:"about",component:mo},{name:"projects",component:jo}],t=W(!0);return setTimeout(()=>t.value=!0,1e3),(s,n)=>{const o=pt,r=mt;return m(),b("div",Bo,[p(t)?(m(),j(r,{key:0,class:"swiper",modules:["SwiperMousewheel"in s?s.SwiperMousewheel:p(Gt),"SwiperVirtual"in s?s.SwiperVirtual:p(Nt),"SwiperKeyboard"in s?s.SwiperKeyboard:p(Yt)],"slides-per-view":1,"grab-cursor":!0,keyboard:{enabled:!0,pageUpDown:!1},virtual:{enabled:!0,addSlidesAfter:-1,addSlidesBefore:-1,cache:!0}},{default:V(()=>[(m(),b(ie,null,se(e,(a,c)=>k(o,{key:c,"virtual-index":c},{default:V(()=>[(m(),j(Xt(a.component),{class:"slide-content"}))]),_:2},1032,["virtual-index"])),64))]),_:1},8,["modules"])):q("",!0)])}}});const Ho=B(Vo,[["__scopeId","data-v-d6737876"]]);const Uo={},Wo={class:"main"};function qo(i,e){const t=Tn,s=Dn,n=Ho;return m(),b("div",null,[_("div",Wo,[k(t),k(s),k(n)])])}const Go=B(Uo,[["render",qo]]),fr=Object.freeze(Object.defineProperty({__proto__:null,default:Go},Symbol.toStringTag,{value:"Module"}));export{xi as $,de as A,Ko as B,Se as C,ne as D,Jo as E,Ke as F,rr as G,or as H,ar as I,Pe as J,sr as K,ir as L,xe as M,Qe as N,U as O,_i as P,wi as Q,re as R,nr as S,ur as T,hr as U,pe as V,lr as W,ue as X,Z as Y,Me as Z,dr as _,I as a,tr as a0,Dt as a1,fr as a2,ci as b,er as c,S as d,v as e,X as f,ze as g,_e as h,F as i,Xe as j,le as k,H as l,L as m,Ne as n,T as o,Q as p,Rt as q,N as r,z as s,A as t,Ue as u,cr as v,pi as w,Ye as x,st as y,he as z}; +import{a as te,b as dt,c as Lt,_ as B,d as At,e as fe}from"./entry.07c0747b.js";import{j as E,a as W,C as ae,D as $t,H as m,I as b,J as j,O as V,Z as Ft,_ as We,b as ft,E as k,u as p,$ as q,G as qe,U as g,F as ie,a0 as se,V as O,a1 as jt,a2 as Ce,W as Y,X as Bt,Y as Vt,q as Ht,k as Ut,a3 as Wt,a4 as qt,a5 as pt,a6 as mt,a7 as Gt,a8 as Nt,a9 as Yt,P as Xt}from"./swiper-vue.799c8af8.js";import we from"./Icon.9eb704ff.js";import Zt from"./ContentRenderer.2b3f34a3.js";import{u as yt,q as _t}from"./query.35f44448.js";const ce="generated",Qt="pointerdown",Kt="pointerup",Qe="pointerleave",Jt="pointerout",Ke="pointermove",ei="touchstart",Je="touchend",ti="touchmove",ii="touchcancel",si="resize",ni="visibilitychange",Z="tsParticles - Error";class R{constructor(e,t,s){if(this._updateFromAngle=(n,o)=>{this.x=Math.cos(n)*o,this.y=Math.sin(n)*o},!F(e)&&e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:0}else if(e!==void 0&&t!==void 0)this.x=e,this.y=t,this.z=s??0;else throw new Error(`${Z} Vector3d not initialized correctly`)}static get origin(){return R.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return R.create(e.x,e.y,e.z)}static create(e,t,s){return new R(e,t,s)}add(e){return R.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return R.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return R.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return R.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){const e=this.length;e!=0&&this.multTo(1/e)}rotate(e){return R.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y;const t=e;this.z=t.z?t.z:0}sub(e){return R.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}}class I extends R{constructor(e,t){super(e,t,0)}static get origin(){return I.create(0,0)}static clone(e){return I.create(e.x,e.y)}static create(e,t){return new I(e,t)}}let oi=Math.random;const He=new Map;function er(i,e){He.get(i)||He.set(i,e)}function tr(i){return He.get(i)||(e=>e)}function S(){return ne(oi(),0,1-1e-16)}function ne(i,e,t){return Math.min(Math.max(i,e),t)}function Te(i,e,t,s){return Math.floor((i*t+e*s)/(t+s))}function A(i){const e=xe(i);let t=Ge(i);return e===t&&(t=0),S()*(e-t)+t}function v(i){return F(i)?i:A(i)}function Ge(i){return F(i)?i:i.min}function xe(i){return F(i)?i:i.max}function z(i,e){if(i===e||e===void 0&&F(i))return i;const t=Ge(i),s=xe(i);return e!==void 0?{min:Math.min(t,e),max:Math.max(s,e)}:z(t,s)}function Q(i){const e=i.random,{enable:t,minimumValue:s}=G(e)?{enable:e,minimumValue:0}:e;return v(t?z(i.value,s):i.value)}function X(i,e){const t=i.x-e.x,s=i.y-e.y;return{dx:t,dy:s,distance:Math.sqrt(t**2+s**2)}}function ze(i,e){return X(i,e).distance}function ri(i,e,t){if(F(i))return i*Math.PI/180;switch(i){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(t.y-e.y,t.x-e.x);case"outside":return Math.atan2(e.y-t.y,e.x-t.x);default:return S()*Math.PI*2}}function ai(i){const e=I.origin;return e.length=1,e.angle=i,e}function et(i,e,t,s){return I.create(i.x*(t-s)/(t+s)+e.x*2*s/(t+s),i.y)}function ci(i){var e,t;return{x:(((e=i.position)==null?void 0:e.x)??S()*100)*i.size.width/100,y:(((t=i.position)==null?void 0:t.y)??S()*100)*i.size.height/100}}function ir(i){var t,s;const e={x:((t=i.position)==null?void 0:t.x)!==void 0?v(i.position.x):void 0,y:((s=i.position)==null?void 0:s.y)!==void 0?v(i.position.y):void 0};return ci({size:i.size,position:e})}function li(i){var e,t;return{x:((e=i.position)==null?void 0:e.x)??S()*i.size.width,y:((t=i.position)==null?void 0:t.y)??S()*i.size.height}}function gt(i){return i?i.endsWith("%")?parseFloat(i)/100:parseFloat(i):1}const hi={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function ue(){return hi}function tt(i){const e={bounced:!1},{pSide:t,pOtherSide:s,rectSide:n,rectOtherSide:o,velocity:r,factor:a}=i;return s.mino.max||s.maxo.max||(t.max>=n.min&&t.max<=(n.max+n.min)/2&&r>0||t.min<=n.max&&t.min>(n.max+n.min)/2&&r<0)&&(e.velocity=r*-a,e.bounced=!0),e}function ui(i,e){const t=H(e,s=>i.matches(s));return L(t)?t.some(s=>s):t}function Me(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function di(){return!Me()&&typeof matchMedia<"u"}function vt(i){if(di())return matchMedia(i)}function fi(i){if(!(Me()||typeof MutationObserver>"u"))return new MutationObserver(i)}function Ne(i,e){return i===e||L(e)&&e.indexOf(i)>-1}async function sr(i,e){try{await document.fonts.load(`${e??"400"} 36px '${i??"Verdana"}'`)}catch{}}function pi(i){return Math.floor(S()*i.length)}function Ye(i,e,t=!0){return i[e!==void 0&&t?e%i.length:pi(i)]}function Xe(i,e,t,s,n){return mi(Pe(i,s??0),e,t,n)}function mi(i,e,t,s){let n=!0;return(!s||s==="bottom")&&(n=i.topt.x),n&&(!s||s==="right")&&(n=i.leftt.y),n}function Pe(i,e){return{bottom:i.y+e,left:i.x-e,right:i.x+e,top:i.y-e}}function T(i,...e){for(const t of e){if(t==null)continue;if(!ee(t)){i=t;continue}const s=Array.isArray(t);s&&(ee(i)||!i||!Array.isArray(i))?i=[]:!s&&(ee(i)||!i||Array.isArray(i))&&(i={});for(const n in t){if(n==="__proto__")continue;const o=t,r=o[n],a=i;a[n]=ee(r)&&Array.isArray(r)?r.map(c=>T(a[n],c)):T(a[n],r)}}return i}function nr(i,e){return!!bt(e,t=>t.enable&&Ne(i,t.mode))}function or(i,e,t){H(e,s=>{const n=s.mode;s.enable&&Ne(i,n)&&yi(s,t)})}function yi(i,e){const t=i.selectors;H(t,s=>{e(s,i)})}function rr(i,e){if(!(!e||!i))return bt(i,t=>ui(e,t.selectors))}function ar(i){return{position:i.getPosition(),radius:i.getRadius(),mass:i.getMass(),velocity:i.velocity,factor:I.create(Q(i.options.bounce.horizontal),Q(i.options.bounce.vertical))}}function cr(i,e){const{x:t,y:s}=i.velocity.sub(e.velocity),[n,o]=[i.position,e.position],{dx:r,dy:a}=X(o,n);if(t*r+s*a<0)return;const c=-Math.atan2(a,r),l=i.mass,h=e.mass,d=i.velocity.rotate(c),u=e.velocity.rotate(c),f=et(d,u,l,h),_=et(u,d,l,h),y=f.rotate(-c),w=_.rotate(-c);i.velocity.x=y.x*i.factor.x,i.velocity.y=y.y*i.factor.y,e.velocity.x=w.x*e.factor.x,e.velocity.y=w.y*e.factor.y}function lr(i,e){const t=i.getPosition(),s=i.getRadius(),n=Pe(t,s),o=tt({pSide:{min:n.left,max:n.right},pOtherSide:{min:n.top,max:n.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:i.velocity.x,factor:Q(i.options.bounce.horizontal)});o.bounced&&(o.velocity!==void 0&&(i.velocity.x=o.velocity),o.position!==void 0&&(i.position.x=o.position));const r=tt({pSide:{min:n.top,max:n.bottom},pOtherSide:{min:n.left,max:n.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:i.velocity.y,factor:Q(i.options.bounce.vertical)});r.bounced&&(r.velocity!==void 0&&(i.velocity.y=r.velocity),r.position!==void 0&&(i.position.y=r.position))}function H(i,e){return L(i)?i.map((t,s)=>e(t,s)):e(i,0)}function le(i,e,t){return L(i)?Ye(i,e,t):i}function bt(i,e){return L(i)?i.find((t,s)=>e(t,s)):e(i,0)?i:void 0}function wt(i,e){const t=i.value,s=i.animation,n={delayTime:v(s.delay)*1e3,enable:s.enable,value:v(i.value)*e,max:xe(t)*e,min:Ge(t)*e,loops:0,maxLoops:v(s.count),time:0};if(s.enable){switch(n.decay=1-v(s.decay),s.mode){case"increase":n.status="increasing";break;case"decrease":n.status="decreasing";break;case"random":n.status=S()>=.5?"increasing":"decreasing";break}const o=s.mode==="auto";switch(s.startValue){case"min":n.value=n.min,o&&(n.status="increasing");break;case"max":n.value=n.max,o&&(n.status="decreasing");break;case"random":default:n.value=A(n),o&&(n.status=S()>=.5?"increasing":"decreasing");break}}return n.initialValue=n.value,n}function xt(i,e){if(!(i.mode==="percent")){const{mode:n,...o}=i;return o}return"x"in i?{x:i.x/100*e.width,y:i.y/100*e.height}:{width:i.width/100*e.width,height:i.height/100*e.height}}function zt(i,e){return xt(i,e)}function hr(i,e){return xt(i,e)}function G(i){return typeof i=="boolean"}function $(i){return typeof i=="string"}function F(i){return typeof i=="number"}function Mt(i){return typeof i=="function"}function ee(i){return typeof i=="object"&&i!==null}function L(i){return Array.isArray(i)}const ve="random",_e="mid",ke=new Map;function it(i){ke.set(i.key,i)}function Oe(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*6*t:t<1/2?e:t<2/3?i+(e-i)*(2/3-t)*6:i}function _i(i){for(const[,o]of ke)if(i.startsWith(o.stringPrefix))return o.parseString(i);const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,t=i.replace(e,(o,r,a,c,l)=>r+r+a+a+c+c+(l!==void 0?l+l:"")),s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,n=s.exec(t);return n?{a:n[4]!==void 0?parseInt(n[4],16)/255:1,b:parseInt(n[3],16),g:parseInt(n[2],16),r:parseInt(n[1],16)}:void 0}function N(i,e,t=!0){if(!i)return;const s=$(i)?{value:i}:i;if($(s.value))return Pt(s.value,e,t);if(L(s.value))return N({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleRangeColor(s);if(o)return o}}function Pt(i,e,t=!0){if(!i)return;const s=$(i)?{value:i}:i;if($(s.value))return s.value===ve?kt():vi(s.value);if(L(s.value))return Pt({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleColor(s);if(o)return o}}function Ue(i,e,t=!0){const s=N(i,e,t);return s?gi(s):void 0}function gi(i){const e=i.r/255,t=i.g/255,s=i.b/255,n=Math.max(e,t,s),o=Math.min(e,t,s),r={h:0,l:(n+o)/2,s:0};return n!==o&&(r.s=r.l<.5?(n-o)/(n+o):(n-o)/(2-n-o),r.h=e===n?(t-s)/(n-o):r.h=t===n?2+(s-e)/(n-o):4+(e-t)/(n-o)),r.l*=100,r.s*=100,r.h*=60,r.h<0&&(r.h+=360),r.h>=360&&(r.h-=360),r}function vi(i){return _i(i)}function oe(i){const e={b:0,g:0,r:0},t={h:i.h/360,l:i.l/100,s:i.s/100};if(!t.s)e.r=e.g=e.b=t.l;else{const s=t.l<.5?t.l*(1+t.s):t.l+t.s-t.l*t.s,n=2*t.l-s;e.r=Oe(n,s,t.h+1/3),e.g=Oe(n,s,t.h),e.b=Oe(n,s,t.h-1/3)}return e.r=Math.floor(e.r*255),e.g=Math.floor(e.g*255),e.b=Math.floor(e.b*255),e}function bi(i){const e=oe(i);return{a:i.a,b:e.b,g:e.g,r:e.r}}function kt(i){const e=i??0;return{b:Math.floor(A(z(e,256))),g:Math.floor(A(z(e,256))),r:Math.floor(A(z(e,256)))}}function ge(i,e){return`rgba(${i.r}, ${i.g}, ${i.b}, ${e??1})`}function st(i,e){return`hsla(${i.h}, ${i.s}%, ${i.l}%, ${e??1})`}function wi(i,e,t,s){let n=i,o=e;return n.r===void 0&&(n=oe(i)),o.r===void 0&&(o=oe(e)),{b:Te(n.b,o.b,t,s),g:Te(n.g,o.g,t,s),r:Te(n.r,o.r,t,s)}}function ur(i,e,t){if(t===ve)return kt();if(t===_e){const s=i.getFillColor()??i.getStrokeColor(),n=(e==null?void 0:e.getFillColor())??(e==null?void 0:e.getStrokeColor());if(s&&n&&e)return wi(s,n,i.getRadius(),e.getRadius());{const o=s??n;if(o)return oe(o)}}else return t}function dr(i,e,t){const s=$(i)?i:i.value;return s===ve?t?N({value:s}):e?ve:_e:s===_e?_e:N({value:s})}function nt(i){return i!==void 0?{h:i.h.value,s:i.s.value,l:i.l.value}:void 0}function xi(i,e,t){const s={h:{enable:!1,value:i.h},s:{enable:!1,value:i.s},l:{enable:!1,value:i.l}};return e&&(Re(s.h,e.h,t),Re(s.s,e.s,t),Re(s.l,e.l,t)),s}function Re(i,e,t){i.enable=e.enable,i.enable?(i.velocity=v(e.speed)/100*t,i.decay=1-v(e.decay),i.status="increasing",i.loops=0,i.maxLoops=v(e.count),i.time=0,i.delayTime=v(e.delay)*1e3,e.sync||(i.velocity*=S(),i.value*=S()),i.initialValue=i.value):i.velocity=0}function fr(i,e,t){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.closePath()}function pr(i,e,t,s){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.lineTo(s.x,s.y),i.closePath()}function zi(i,e,t){i.fillStyle=t??"rgba(0,0,0,0)",i.fillRect(0,0,e.width,e.height)}function Mi(i,e,t,s){t&&(i.globalAlpha=s,i.drawImage(t,0,0,e.width,e.height),i.globalAlpha=1)}function Ie(i,e){i.clearRect(0,0,e.width,e.height)}function Pi(i){const{container:e,context:t,particle:s,delta:n,colorStyles:o,backgroundMask:r,composite:a,radius:c,opacity:l,shadow:h,transform:d}=i,u=s.getPosition(),f=s.rotation+(s.pathRotation?s.velocity.angle:0),_={sin:Math.sin(f),cos:Math.cos(f)},y={a:_.cos*(d.a??1),b:_.sin*(d.b??1),c:-_.sin*(d.c??1),d:_.cos*(d.d??1)};t.setTransform(y.a,y.b,y.c,y.d,u.x,u.y),t.beginPath(),r&&(t.globalCompositeOperation=a);const w=s.shadowColor;h.enable&&w&&(t.shadowBlur=h.blur,t.shadowColor=ge(w),t.shadowOffsetX=h.offset.x,t.shadowOffsetY=h.offset.y),o.fill&&(t.fillStyle=o.fill);const x=s.strokeWidth??0;t.lineWidth=x,o.stroke&&(t.strokeStyle=o.stroke),ki(e,t,s,c,l,n),x>0&&t.stroke(),s.close&&t.closePath(),s.fill&&t.fill(),Si(e,t,s,c,l,n),t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0)}function ki(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);r&&r.draw(e,t,s,n,o,i.retina.pixelRatio)}function Si(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);!r||!r.afterEffect||r.afterEffect(e,t,s,n,o,i.retina.pixelRatio)}function Ci(i,e,t){e.draw&&e.draw(i,t)}function Ti(i,e,t,s){e.drawParticle&&e.drawParticle(i,t,s)}function Oi(i,e,t){return{h:i.h,s:i.s,l:i.l+(e==="darken"?-1:1)*t}}function Ri(i,e,t){const s=e[t];s!==void 0&&(i[t]=(i[t]??1)*s)}class Ii{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{for(const s of this._postDrawUpdaters)s.afterDraw&&s.afterDraw(t)},this._applyPreDrawUpdaters=(t,s,n,o,r,a)=>{for(const c of this._preDrawUpdaters){if(c.getColorStyles){const{fill:l,stroke:h}=c.getColorStyles(s,t,n,o);l&&(r.fill=l),h&&(r.stroke=h)}if(c.getTransformValues){const l=c.getTransformValues(s);for(const h in l)Ri(a,l,h)}c.beforeDraw&&c.beforeDraw(s)}},this._applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize&&t.resize()},this._getPluginParticleColors=t=>{let s,n;for(const o of this._colorPlugins)if(!s&&o.particleFillColor&&(s=Ue(o.particleFillColor(t))),!n&&o.particleStrokeColor&&(n=Ue(o.particleStrokeColor(t))),s&&n)break;return[s,n]},this._initCover=()=>{const t=this.container.actualOptions,s=t.backgroundMask.cover,n=s.color,o=N(n);if(o){const r={...o,a:s.opacity};this._coverColorStyle=ge(r,r.a)}},this._initStyle=()=>{const t=this.element,s=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=T({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const n in s.style){if(!n||!s.style)continue;const o=s.style[n];o&&t.style.setProperty(n,o,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,s=t.particles.move.trail,n=s.fill;if(s.enable)if(n.color){const o=N(n.color);if(!o)return;const r=t.particles.move.trail;this._trailFill={color:{...o},opacity:1/r.length}}else await new Promise((o,r)=>{if(!n.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:1/s.length},o()}),a.addEventListener("error",c=>{r(c.error)}),a.src=n.image})},this._paintBase=t=>{this.draw(s=>zi(s,this.size,t))},this._paintImage=(t,s)=>{this.draw(n=>Mi(n,this.size,t,s))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(s=>s.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(s=>s.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,s=this._originalStyle;if(!(t&&s))return;const n=t.style;n.position=s.position,n.zIndex=s.zIndex,n.top=s.top,n.left=s.left,n.width=s.width,n.height=s.height},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;const s="important",n=t.style;n.setProperty("position","fixed",s),n.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),s),n.setProperty("top","0",s),n.setProperty("left","0",s),n.setProperty("width","100%",s),n.setProperty("height","100%",s)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,s=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&s?s.color?this._paintBase(ge(s.color,s.opacity)):s.image&&this._paintImage(s.image,s.opacity):this.draw(n=>{Ie(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e&&e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const s=e.getRadius();if(s<=0)return;const n=e.getFillColor(),o=e.getStrokeColor()??n;let[r,a]=this._getPluginParticleColors(e);r||(r=n),a||(a=o),!(!r&&!a)&&this.draw(c=>{var P;const l=this.container,h=l.actualOptions,d=e.options.zIndex,u=(1-e.zIndexFactor)**d.opacityRate,f=e.bubble.opacity??((P=e.opacity)==null?void 0:P.value)??1,_=e.strokeOpacity??f,y=f*u,w=_*u,x={},C={fill:r?st(r,y):void 0};C.stroke=a?st(a,w):C.fill,this._applyPreDrawUpdaters(c,e,s,y,C,x),Pi({container:l,context:c,particle:e,delta:t,colorStyles:C,backgroundMask:h.backgroundMask.enable,composite:h.backgroundMask.composite,radius:s*(1-e.zIndexFactor)**d.sizeRate,opacity:y,shadow:e.options.shadow,transform:x}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,s){this.draw(n=>Ti(n,e,t,s))}drawPlugin(e,t){this.draw(s=>Ci(s,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=fi(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(e){ue().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,s=this.element;if(!s)return;const n=s.style;if(n){if(t.color){const o=N(t.color);n.backgroundColor=o?ge(o,t.opacity):""}else n.backgroundColor="";n.backgroundImage=t.image||"",n.backgroundPosition=t.position||"",n.backgroundRepeat=t.repeat||"",n.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&ce in e.dataset?e.dataset[ce]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=T({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(Ie(t,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,s=e.canvas.size,n={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(n.height===s.height&&n.width===s.width&&n.height===this.element.height&&n.width===this.element.width)return!1;const o={...s};return this.element.width=s.width=this.element.offsetWidth*t,this.element.height=s.height=this.element.offsetHeight*t,this.container.started&&(this.resizeFactor={width:s.width/o.width,height:s.height/o.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>Ie(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}function D(i,e,t,s,n){if(s){let o={passive:!0};G(n)?o.capture=n:n!==void 0&&(o=n),i.addEventListener(e,t,o)}else{const o=n;i.removeEventListener(e,t,o)}}class Ei{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const s=this.container,n=s.actualOptions;if(this._canPush){const o=s.interactivity.mouse,r=o.position;if(!r)return;o.clickPosition={...r},o.clickTime=new Date().getTime();const a=n.interactivity.events.onClick;H(a.mode,c=>this.container.handleClickMode(c))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const s=t,n=this.container,o=n.options,r=o.defaultThemes,a=s.matches?r.dark:r.light,c=o.themes.find(l=>l.name===a);c&&c.default.auto&&n.loadTheme(a)},this._handleVisibilityChange=()=>{const t=this.container,s=t.actualOptions;this._mouseTouchFinish(),s.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw(!0)))},this._handleWindowResize=async()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout),this._resizeTimeout=setTimeout(async()=>{const t=this.container.canvas;t&&await t.windowResize()},this.container.actualOptions.interactivity.events.resize.delay*1e3)},this._manageInteractivityListeners=(t,s)=>{const n=this._handlers,o=this.container,r=o.actualOptions,a=o.interactivity.element;if(!a)return;const c=a,l=o.canvas.element;l&&(l.style.pointerEvents=c===l?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(D(a,Ke,n.mouseMove,s),D(a,ei,n.touchStart,s),D(a,ti,n.touchMove,s),r.interactivity.events.onClick.enable?(D(a,Je,n.touchEndClick,s),D(a,Kt,n.mouseUp,s),D(a,Qt,n.mouseDown,s)):D(a,Je,n.touchEnd,s),D(a,t,n.mouseLeave,s),D(a,ii,n.touchCancel,s))},this._manageListeners=t=>{const s=this._handlers,n=this.container,o=n.actualOptions,r=o.interactivity.detectsOn,a=n.canvas.element;let c=Qe;r==="window"?(n.interactivity.element=window,c=Jt):r==="parent"&&a?n.interactivity.element=a.parentElement??a.parentNode:n.interactivity.element=a,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(c,t),document&&D(document,ni,s.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const s=this._handlers,n=vt("(prefers-color-scheme: dark)");if(n){if(n.addEventListener!==void 0){D(n,"change",s.themeChange,t);return}n.addListener!==void 0&&(t?n.addListener(s.oldThemeChange):n.removeListener(s.oldThemeChange))}},this._manageResize=t=>{const s=this._handlers,n=this.container;if(!n.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){D(window,si,s.resize,t);return}const r=n.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(async a=>{a.find(l=>l.target===r)&&await this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:s}=t;s.clicking=!0,s.downPosition=s.position},this._mouseTouchClick=t=>{const s=this.container,n=s.actualOptions,{mouse:o}=s.interactivity;o.inside=!0;let r=!1;const a=o.position;if(!(!a||!n.interactivity.events.onClick.enable)){for(const[,c]of s.plugins)if(c.clickPositionValid&&(r=c.clickPositionValid(a),r))break;r||this._doMouseTouchClick(t),o.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const s=t.mouse;delete s.position,delete s.clickPosition,delete s.downPosition,t.status=Qe,s.inside=!1,s.clicking=!1},this._mouseTouchMove=t=>{const s=this.container,n=s.actualOptions,o=s.interactivity,r=s.canvas.element;if(!o||!o.element)return;o.mouse.inside=!0;let a;if(t.type.startsWith("pointer")){this._canPush=!0;const l=t;if(o.element===window){if(r){const h=r.getBoundingClientRect();a={x:l.clientX-h.left,y:l.clientY-h.top}}}else if(n.interactivity.detectsOn==="parent"){const h=l.target,d=l.currentTarget;if(h&&d&&r){const u=h.getBoundingClientRect(),f=d.getBoundingClientRect(),_=r.getBoundingClientRect();a={x:l.offsetX+2*u.left-(f.left+_.left),y:l.offsetY+2*u.top-(f.top+_.top)}}else a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY}}else l.target===r&&(a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY})}else if(this._canPush=t.type!=="touchmove",r){const l=t,h=l.touches[l.touches.length-1],d=r.getBoundingClientRect();a={x:h.clientX-(d.left??0),y:h.clientY-(d.top??0)}}const c=s.retina.pixelRatio;a&&(a.x*=c,a.y*=c),o.mouse.position=a,o.status=Ke},this._touchEnd=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.set(o.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class U{constructor(){this.value=""}static create(e,t){const s=new U;return s.load(e),t!==void 0&&($(t)||L(t)?s.load({value:t}):s.load(t)),s}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}class Di{constructor(){this.color=new U,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Li{constructor(){this.color=new U,this.color.value="#fff",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Ai{constructor(){this.composite="destination-out",this.cover=new Li,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const t=e.cover,s=$(e.cover)?{color:e.cover}:e.cover;this.cover.load(t.color!==void 0?t:{color:s})}e.enable!==void 0&&(this.enable=e.enable)}}}class $i{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class Fi{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class ot{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return H(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=H(e,t=>`#${t}`)}load(e){if(!e)return;const t=e.ids??e.elementId??e.el;t!==void 0&&(this.ids=t),e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type)}}class ji{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class Bi{constructor(){this.enable=!1,this.mode=[],this.parallax=new ji}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class Vi{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class Hi{constructor(){this.onClick=new Fi,this.onDiv=new ot,this.onHover=new Bi,this.resize=new Vi}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){if(!e)return;this.onClick.load(e.onClick??e.onclick);const t=e.onDiv??e.ondiv;t!==void 0&&(this.onDiv=H(t,s=>{const n=new ot;return n.load(s),n})),this.onHover.load(e.onHover??e.onhover),G(e.resize)?this.resize.enable=e.resize:this.resize.load(e.resize)}}class Ui{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.plugins.interactors.get(this._container);if(t)for(const s of t)s.loadModeOptions&&s.loadModeOptions(this,e)}}class St{constructor(e,t){this.detectsOn="window",this.events=new Hi,this.modes=new Ui(e,t)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){if(!e)return;const t=e.detectsOn??e.detect_on;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}class Wi{load(e){e&&(e.position&&(this.position={x:e.position.x??50,y:e.position.y??50,mode:e.position.mode??"percent"}),e.options&&(this.options=T({},e.options)))}}class qi{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=T({},e.options)))}}class Gi{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Ni{constructor(){this.name="",this.default=new Gi}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=T({},e.options)))}}class Ee{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.delay=0,this.decay=0,this.sync=!0}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(this.offset=z(e.offset)),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Yi{constructor(){this.h=new Ee,this.s=new Ee,this.l=new Ee}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class de extends U{constructor(){super(),this.animation=new Yi}static create(e,t){const s=new de;return s.load(e),t!==void 0&&($(t)||L(t)?s.load({value:t}):s.load(t)),s}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&(t.enable!==void 0?this.animation.h.load(t):this.animation.load(e.animation))}}class Xi{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Zi{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class Qi{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Ct extends Qi{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue),e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class Ki{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue))}}class pe{constructor(){this.random=new Ki,this.value=0}load(e){e&&(G(e.random)?this.random.enable=e.random:this.random.load(e.random),e.value!==void 0&&(this.value=z(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class rt extends pe{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class Tt{constructor(){this.horizontal=new rt,this.vertical=new rt}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class Ji{constructor(){this.absorb=new Xi,this.bounce=new Tt,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Zi}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class es{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=z(e.offset)),e.value!==void 0&&(this.value=z(e.value)))}}class ts{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var n,o;if(!e)return;e.distance!==void 0&&(this.distance=z(e.distance)),e.enable!==void 0&&(this.enable=e.enable);const t=((n=e.rotate)==null?void 0:n.x)??e.rotateX;t!==void 0&&(this.rotate.x=t);const s=((o=e.rotate)==null?void 0:o.y)??e.rotateY;s!==void 0&&(this.rotate.y=s)}}class is{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class ss{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)))}}class ns{constructor(){this.clamp=!0,this.delay=new pe,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=T(this.options,e.options)))}}class os{load(e){e&&(e.color!==void 0&&(this.color=U.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class rs{constructor(){this.enable=!1,this.length=10,this.fill=new os}get fillColor(){return this.fill.color}set fillColor(e){this.fill.load({color:e})}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),(e.fill!==void 0||e.fillColor!==void 0)&&this.fill.load(e.fill||{color:e.fillColor}),e.length!==void 0&&(this.length=e.length))}}class as{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class cs{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=T({},e.position)))}}class ls{constructor(){this.angle=new es,this.attract=new ts,this.center=new is,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new ss,this.path=new ns,this.outModes=new as,this.random=!1,this.size=!1,this.speed=2,this.spin=new cs,this.straight=!1,this.trail=new rs,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){if(!e)return;this.angle.load(F(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=z(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=F(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=z(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes??e.outMode??e.out_mode;t!==void 0&&(ee(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path??e.noise),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=z(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class hs extends Ct{constructor(){super(),this.destroy="none",this.speed=2}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.opacity_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.opacity_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class us extends pe{constructor(){super(),this.animation=new hs,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(!e)return;super.load(e);const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class ds{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(e){this.width=e}get factor(){return this.height}set factor(e){this.height=e}get value_area(){return this.area}set value_area(e){this.area=e}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width??e.area??e.value_area;t!==void 0&&(this.width=t);const s=e.height??e.factor;s!==void 0&&(this.height=s)}}class fs{constructor(){this.density=new ds,this.limit=0,this.value=0}get max(){return this.limit}set max(e){this.limit=e}load(e){if(!e)return;this.density.load(e.density);const t=e.limit??e.max;t!==void 0&&(this.limit=t),e.value!==void 0&&(this.value=e.value)}}class ps{constructor(){this.blur=0,this.color=new U,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=U.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}const De="character",Le="char",Ae="image",$e="images",Fe="polygon",je="star";class ms{constructor(){this.loadShape=(e,t,s,n)=>{if(!e)return;const o=L(e),r=o?[]:{},a=o!==L(this.options[t]),c=o!==L(this.options[s]);a&&(this.options[t]=r),c&&n&&(this.options[s]=r),this.options[t]=T(this.options[t]??r,e),(!this.options[s]||n)&&(this.options[s]=T(this.options[s]??r,e))},this.close=!0,this.fill=!0,this.options={},this.type="circle"}get character(){return this.options[De]??this.options[Le]}set character(e){this.options[Le]=this.options[De]=e}get custom(){return this.options}set custom(e){this.options=e}get image(){return this.options[Ae]??this.options[$e]}set image(e){this.options[$e]=this.options[Ae]=e}get images(){return this.image}set images(e){this.image=e}get polygon(){return this.options[Fe]??this.options[je]}set polygon(e){this.options[je]=this.options[Fe]=e}get stroke(){return[]}set stroke(e){}load(e){if(!e)return;const t=e.options??e.custom;if(t!==void 0)for(const s in t){const n=t[s];n&&(this.options[s]=T(this.options[s]??{},n))}this.loadShape(e.character,De,Le,!0),this.loadShape(e.polygon,Fe,je,!1),this.loadShape(e.image??e.images,Ae,$e,!0),e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class ys extends Ct{constructor(){super(),this.destroy="none",this.speed=5}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.size_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.size_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class _s extends pe{constructor(){super(),this.animation=new ys,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(super.load(e),!e)return;const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class at{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=de.create(this.color,e.color)),e.width!==void 0&&(this.width=z(e.width)),e.opacity!==void 0&&(this.opacity=z(e.opacity)))}}class gs extends pe{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class vs{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Tt,this.collisions=new Ji,this.color=new de,this.color.value="#fff",this.groups={},this.move=new ls,this.number=new fs,this.opacity=new us,this.reduceDuplicates=!1,this.shadow=new ps,this.shape=new ms,this.size=new _s,this.stroke=new at,this.zIndex=new gs}load(e){var n,o,r;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(de.create(this.color,e.color)),e.groups!==void 0)for(const a in e.groups){const c=e.groups[a];c!==void 0&&(this.groups[a]=T(this.groups[a]??{},c))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);const t=((n=e.move)==null?void 0:n.collisions)??((o=e.move)==null?void 0:o.bounce);t!==void 0&&(this.collisions.enable=t),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=T({},e.interactivity));const s=e.stroke??((r=e.shape)==null?void 0:r.stroke);if(s&&(this.stroke=H(s,a=>{const c=new at;return c.load(a),c})),this._container){const a=this._engine.plugins.updaters.get(this._container);if(a)for(const l of a)l.loadOptions&&l.loadOptions(this,e);const c=this._engine.plugins.interactors.get(this._container);if(c)for(const l of c)l.loadParticlesOptions&&l.loadParticlesOptions(this,e)}}}function Ot(i,...e){for(const t of e)i.load(t)}function Rt(i,e,...t){const s=new vs(i,e);return Ot(s,...t),s}class bs{constructor(e,t){this._findDefaultTheme=s=>this.themes.find(n=>n.default.value&&n.default.mode===s)??this.themes.find(n=>n.default.value&&n.default.mode==="any"),this._importPreset=s=>{this.load(this._engine.plugins.getPreset(s))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new Di,this.backgroundMask=new Ai,this.defaultThemes={},this.delay=0,this.fullScreen=new $i,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new St(e,t),this.manualParticles=[],this.particles=Rt(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var r,a;if(!e)return;e.preset!==void 0&&H(e.preset,c=>this._importPreset(c)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.delay!==void 0&&(this.delay=z(e.delay));const t=e.detectRetina??e.retina_detect;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=z(e.duration));const s=e.fpsLimit??e.fps_limit;s!==void 0&&(this.fpsLimit=s),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const n=e.fullScreen??e.backgroundMode;G(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(c=>{const l=new Wi;return l.load(c),l})),this.particles.load(e.particles),this.style=T(this.style,e.style),this._engine.plugins.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const o=this._engine.plugins.interactors.get(this._container);if(o)for(const c of o)c.loadOptions&&c.loadOptions(this,e);if(e.responsive!==void 0)for(const c of e.responsive){const l=new qi;l.load(c),this.responsive.push(l)}if(this.responsive.sort((c,l)=>c.maxWidth-l.maxWidth),e.themes!==void 0)for(const c of e.themes){const l=this.themes.find(h=>h.name===c.name);if(l)l.load(c);else{const h=new Ni;h.load(c),this.themes.push(h)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(a=this._findDefaultTheme("light"))==null?void 0:a.name}setResponsive(e,t,s){this.load(s);const n=this.responsive.find(o=>o.mode==="screen"&&screen?o.maxWidth>screen.availWidth:o.maxWidth*t>e);return this.load(n==null?void 0:n.options),n==null?void 0:n.maxWidth}setTheme(e){if(e){const t=this.themes.find(s=>s.name===e);t&&this.load(t.options)}else{const t=vt("(prefers-color-scheme: dark)"),s=t&&t.matches,n=this._findDefaultTheme(s?"dark":"light");n&&this.load(n.options)}}}class ws{constructor(e,t){this.container=t,this._engine=e,this._interactors=e.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&await t.interact(e)}handleClickMode(e){for(const t of this._externalInteractors)t.handleClickMode&&t.handleClickMode(e)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}async particlesInteract(e,t){for(const s of this._externalInteractors)s.clear(e,t);for(const s of this._particleInteractors)s.isEnabled(e)&&await s.interact(e,t)}async reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ct=i=>{if(!Ne(i.outMode,i.checkModes))return;const e=i.radius*2;i.coord>i.maxCoord-e?i.setCb(-i.radius):i.coord{for(const[,C]of a.plugins){const P=C.particlePosition!==void 0?C.particlePosition(c,this):void 0;if(P)return R.create(P.x,P.y,l)}const d=a.canvas.size,u=li({size:d,position:c}),f=R.create(u.x,u.y,l),_=this.getRadius(),y=this.options.move.outModes,w=C=>{ct({outMode:C,checkModes:["bounce","bounce-horizontal"],coord:f.x,maxCoord:a.canvas.size.width,setCb:P=>f.x+=P,radius:_})},x=C=>{ct({outMode:C,checkModes:["bounce","bounce-vertical"],coord:f.y,maxCoord:a.canvas.size.height,setCb:P=>f.y+=P,radius:_})};return w(y.left??y.default),w(y.right??y.default),x(y.top??y.default),x(y.bottom??y.default),this._checkOverlap(f,h)?this._calcPosition(a,void 0,l,h+1):f},this._calculateVelocity=()=>{const a=ai(this.direction),c=a.copy(),l=this.options.move;if(l.direction==="inside"||l.direction==="outside")return c;const h=Math.PI/180*v(l.angle.value),d=Math.PI/180*v(l.angle.offset),u={left:d-h/2,right:d+h/2};return l.straight||(c.angle+=A(z(u.left,u.right))),l.random&&typeof l.speed=="number"&&(c.length*=S()),c},this._checkOverlap=(a,c=0)=>{const l=this.options.collisions,h=this.getRadius();if(!l.enable)return!1;const d=l.overlap;if(d.enable)return!1;const u=d.retries;if(u>=0&&c>u)throw new Error(`${Z} particle is overlapping and can't be placed`);return!!this.container.particles.find(f=>ze(a,f.position){if(!a||!this.roll||!this.backColor&&!this.roll.alter)return a;const c=this.roll.horizontal&&this.roll.vertical?2:1,l=this.roll.horizontal?Math.PI/2:0;return Math.floor(((this.roll.angle??0)+l)/(Math.PI/c))%2?this.backColor?this.backColor:this.roll.alter?Oi(a,this.roll.alter.type,this.roll.alter.value):a:a},this._initPosition=a=>{const c=this.container,l=v(this.options.zIndex.value);this.position=this._calcPosition(c,a,ne(l,0,c.zLayers)),this.initialPosition=this.position.copy();const h=c.canvas.size;switch(this.moveCenter={...zt(this.options.move.center,h),radius:this.options.move.center.radius??0,mode:this.options.move.center.mode??"percent"},this.direction=ri(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=I.origin},this._loadShapeData=(a,c)=>{const l=a.options[this.shape];if(l)return T({close:a.close,fill:a.fill},le(l,this.id,c))},this._engine=e,this.init(t,n,o,r)}destroy(e){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,s=this.pathGenerator;for(const[,n]of t.plugins)n.particleDestroyed&&n.particleDestroyed(this,e);for(const n of t.particles.updaters)n.particleDestroyed&&n.particleDestroyed(this,e);s&&s.reset(this)}draw(e){const t=this.container;for(const[,s]of t.plugins)t.canvas.drawParticlePlugin(s,this,e);t.canvas.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??nt(this.color))}getMass(){return this.getRadius()**2*Math.PI/2}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??nt(this.strokeColor))}init(e,t,s,n){const o=this.container,r=this._engine;this.id=e,this.group=n,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const a=o.retina.pixelRatio,c=o.actualOptions,l=Rt(this._engine,o,c.particles),h=l.shape.type,{reduceDuplicates:d}=l;this.shape=le(h,this.id,d);const u=l.shape;if(s&&s.shape&&s.shape.type){const P=s.shape.type,me=le(P,this.id,d);me&&(this.shape=me,u.load(s.shape))}this.shapeData=this._loadShapeData(u,d),l.load(s);const f=this.shapeData;f&&l.load(f.particles);const _=new St(r,o);_.load(o.actualOptions.interactivity),_.load(l.interactivity),this.interactivity=_,this.fill=(f==null?void 0:f.fill)??l.shape.fill,this.close=(f==null?void 0:f.close)??l.shape.close,this.options=l;const y=this.options.move.path;this.pathDelay=Q(y.delay)*1e3,y.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(y.generator),this.pathGenerator&&o.addPath(y.generator,this.pathGenerator)&&this.pathGenerator.init(o)),o.retina.initParticle(this),this.size=wt(this.options.size,a),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-v(this.options.move.decay);const w=o.particles;w.needsSort=w.needsSort||w.lastZIndex=-e&&s.y>=-e&&s.y<=t.height+e&&s.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const e of this.container.particles.updaters)e.reset&&e.reset(this)}}class zs{constructor(e,t){this.position=e,this.particle=t}}class It{constructor(e,t){this.position={x:e,y:t}}}class re extends It{constructor(e,t,s,n){super(e,t),this.size={height:n,width:s}}contains(e){const t=this.size.width,s=this.size.height,n=this.position;return e.x>=n.x&&e.x<=n.x+t&&e.y>=n.y&&e.y<=n.y+s}intersects(e){e instanceof Se&&e.intersects(this);const t=this.size.width,s=this.size.height,n=this.position,o=e.position,r=e instanceof re?e.size:{width:0,height:0},a=r.width,c=r.height;return o.xn.x&&o.yn.y}}class Se extends It{constructor(e,t,s){super(e,t),this.radius=s}contains(e){return ze(e,this.position)<=this.radius}intersects(e){const t=this.position,s=e.position,n={x:Math.abs(s.x-t.x),y:Math.abs(s.y-t.y)},o=this.radius;if(e instanceof Se){const r=o+e.radius,a=Math.sqrt(n.x**2+n.y**2);return r>a}else if(e instanceof re){const{width:r,height:a}=e.size;return Math.pow(n.x-r,2)+Math.pow(n.y-a,2)<=o**2||n.x<=o+r&&n.y<=o+a||n.x<=r||n.y<=a}return!1}}class be{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:s,y:n}=this.rectangle.position,{width:o,height:r}=this.rectangle.size,{capacity:a}=this;for(let c=0;c<4;c++)this._subs.push(new be(new re(s+o/2*(c%2),n+r/2*(Math.round(c/2)-c%2),o/2,r/2),a));this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(e){return this.rectangle.contains(e.position)?this._points.lengtht.insert(e))):!1}query(e,t,s){const n=s||[];if(!e.intersects(this.rectangle))return[];for(const o of this._points)!e.contains(o.position)&&ze(e.position,o.position)>o.particle.getRadius()&&(!t||t(o.particle))||n.push(o.particle);if(this._divided)for(const o of this._subs)o.query(e,t,n);return n}queryCircle(e,t,s){return this.query(new Se(e.x,e.y,t),s)}queryRectangle(e,t,s){return this.query(new re(e.x,e.y,t.width,t.height),s)}}const lt=4,ht=i=>new re(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2);class Ms{constructor(e,t){this._applyDensity=(n,o,r)=>{var f;if(!((f=n.number.density)!=null&&f.enable))return;const a=n.number,c=this._initDensityFactor(a.density),l=a.value,h=a.limit>0?a.limit:l,d=Math.min(l,h)*c+o,u=Math.min(this.count,this.filter(_=>_.group===r).length);this.limit=a.limit*c,ud&&this.removeQuantity(u-d,r)},this._initDensityFactor=n=>{const o=this._container;if(!o.canvas.element||!n.enable)return 1;const r=o.canvas.element,a=o.retina.pixelRatio;return r.width*r.height/(n.factor*a**2*n.area)},this._pushParticle=(n,o,r,a)=>{try{let c=this.pool.pop();c?c.init(this._nextId,n,o,r):c=new xs(this._engine,this._nextId,this._container,n,o,r);let l=!0;return a&&(l=a(c)),l?(this._array.push(c),this._zArray.push(c),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:c}}),c):void 0}catch(c){ue().warning(`${Z} adding particle: ${c}`);return}},this._removeParticle=(n,o,r)=>{const a=this._array[n];if(!a||a.group!==o)return!1;a.destroy(r);const c=this._zArray.indexOf(a);return this._array.splice(n,1),this._zArray.splice(c,1),this.pool.push(a),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:a}}),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this._interactionManager=new ws(e,t);const s=t.canvas.size;this.quadTree=new be(ht(s),lt),this.movers=this._engine.plugins.getMovers(t,!0),this.updaters=this._engine.plugins.getUpdaters(t,!0)}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const s of t.manualParticles)this.addParticle(s.position?zt(s.position,e.canvas.size):void 0,s.options)}addParticle(e,t,s,n){const o=this._container,r=o.actualOptions,a=r.particles.number.limit;if(a>0){const c=this.count+1-a;c>0&&this.removeQuantity(c)}return this._pushParticle(e,t,s,n)}clear(){this._array=[],this._zArray=[]}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}async draw(e){const t=this._container;t.canvas.clear(),await this.update(e);for(const[,s]of t.plugins)t.canvas.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}handleClickMode(e){this._interactionManager.handleClickMode(e)}init(){var n;const e=this._container,t=e.actualOptions;this.lastZIndex=0,this.needsSort=!1;let s=!1;this.updaters=this._engine.plugins.getUpdaters(e,!0),this._interactionManager.init();for(const[,o]of e.plugins)if(o.particlesInitialization!==void 0&&(s=o.particlesInitialization()),s)break;this._interactionManager.init();for(const[,o]of e.pathGenerators)o.init(e);if(this.addManualParticles(),!s){for(const o in t.particles.groups){const r=t.particles.groups[o];for(let a=this.count,c=0;c<((n=r.number)==null?void 0:n.value)&&athis.count)return;let o=0;for(let r=e;o!s.has(o);this._array=this.filter(n),this._zArray=this._zArray.filter(n),this.pool.push(...s)}await this._interactionManager.externalInteract(e);for(const n of this._array){for(const o of this.updaters)o.update(n,e);!n.destroyed&&!n.spawning&&await this._interactionManager.particlesInteract(n,e)}if(delete t.canvas.resizeFactor,this.needsSort){const n=this._zArray;n.sort((o,r)=>r.position.z-o.position.z||o.id-r.id),this.lastZIndex=n[n.length-1].position.z,this.needsSort=!1}}}class Ps{constructor(e){this.container=e,this.pixelRatio=1,this.reduceFactor=1}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||Me()?1:window.devicePixelRatio,this.reduceFactor=1;const s=this.pixelRatio;if(e.canvas.element){const r=e.canvas.element;e.canvas.size.width=r.offsetWidth*s,e.canvas.size.height=r.offsetHeight*s}const n=t.particles,o=n.move;this.attractDistance=v(o.attract.distance)*s,this.maxSpeed=v(o.gravity.maxSpeed)*s,this.sizeAnimationSpeed=v(n.size.animation.speed)*s}initParticle(e){const t=e.options,s=this.pixelRatio,n=t.move,o=n.distance,r=e.retina;r.attractDistance=v(n.attract.distance)*s,r.moveDrift=v(n.drift)*s,r.moveSpeed=v(n.speed)*s,r.sizeAnimationSpeed=v(t.size.animation.speed)*s;const a=r.maxDistance;a.horizontal=o.horizontal!==void 0?o.horizontal*s:void 0,a.vertical=o.vertical!==void 0?o.vertical*s:void 0,r.maxSpeed=v(n.gravity.maxSpeed)*s}}function M(i){return i&&!i.destroyed}function ks(i,e=60,t=!1){return{value:i,factor:t?60/e:60*i/1e3}}function J(i,e,...t){const s=new bs(i,e);return Ot(s,...t),s}const Ss="default",ut={generate:i=>i.velocity,init:()=>{},update:()=>{},reset:()=>{}};class Cs{constructor(e,t,s){this.id=t,this._intersectionManager=n=>{if(!(!M(this)||!this.actualOptions.pauseOnOutsideViewport))for(const o of n)o.target===this.interactivity.element&&(o.isIntersecting?this.play:this.pause)()},this._nextFrame=async n=>{try{if(!this.smooth&&this.lastFrameTime!==void 0&&n1e3){this.draw(!1);return}if(await this.particles.draw(o),!this.alive()){this.destroy();return}this.getAnimationStatus()&&this.draw(!1)}catch(o){ue().error(`${Z} in animation loop`,o)}},this._engine=e,this.fpsLimit=120,this.smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=s,this._initialSourceOptions=s,this.retina=new Ps(this),this.canvas=new Ii(this),this.particles=new Ms(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this),this._eventListeners=new Ei(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(n=>this._intersectionManager(n))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!M(this))return;const t=this.interactivity.element;if(!t)return;const s=(d,u,f)=>{if(!M(this))return;const _=this.retina.pixelRatio,y={x:u.x*_,y:u.y*_},w=this.particles.quadTree.queryCircle(y,f*_);e(d,w)},n=d=>{if(!M(this))return;const u=d,f={x:u.offsetX||u.clientX,y:u.offsetY||u.clientY};s(d,f,1)},o=()=>{M(this)&&(l=!0,h=!1)},r=()=>{M(this)&&(h=!0)},a=d=>{if(M(this)){if(l&&!h){const u=d;let f=u.touches[u.touches.length-1];if(!f&&(f=u.changedTouches[u.changedTouches.length-1],!f))return;const _=this.canvas.element,y=_?_.getBoundingClientRect():void 0,w={x:f.clientX-(y?y.left:0),y:f.clientY-(y?y.top:0)};s(d,w,Math.max(f.radiusX,f.radiusY))}l=!1,h=!1}},c=()=>{M(this)&&(l=!1,h=!1)};let l=!1,h=!1;t.addEventListener("click",n),t.addEventListener("touchstart",o),t.addEventListener("touchmove",r),t.addEventListener("touchend",a),t.addEventListener("touchcancel",c)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,s=!1){return!M(this)||!s&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t??ut),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){if(!M(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,s]of this.drawers)s.destroy&&s.destroy(this);for(const s of this.drawers.keys())this.drawers.delete(s);this._engine.plugins.destroy(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(s=>s===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!M(this))return;let t=e;this._drawAnimationFrame=requestAnimationFrame(async s=>{t&&(this.lastFrameTime=void 0,t=!1),await this._nextFrame(s)})}async export(e,t={}){for(const[,s]of this.plugins){if(!s.export)continue;const n=await s.export(e,t);if(n.supported)return n.blob}ue().error(`${Z} - Export plugin with type ${e} not found`)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&M(this)}handleClickMode(e){if(M(this)){this.particles.handleClickMode(e);for(const[,t]of this.plugins)t.handleClickMode&&t.handleClickMode(e)}}async init(){if(!M(this))return;const e=this._engine.plugins.getSupportedShapes();for(const s of e){const n=this._engine.plugins.getShapeDrawer(s);n&&this.drawers.set(s,n)}this._options=J(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=J(this._engine,this,this._options);const t=this._engine.plugins.getAvailablePlugins(this);for(const[s,n]of t)this.plugins.set(s,n);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=v(this.actualOptions.duration)*1e3,this._delay=v(this.actualOptions.delay)*1e3,this._lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,s]of this.drawers)s.init&&await s.init(this);for(const[,s]of this.plugins)s.init&&await s.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,s]of this.plugins)s.particlesSetup&&s.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){M(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(M(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!M(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,s]of this.plugins)s.play&&s.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t||!1)}async refresh(){if(M(this))return this.stop(),this.start()}async reset(){if(M(this))return this._initialSourceOptions=void 0,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this,this._options),this.refresh()}setNoise(e,t,s){M(this)&&this.setPath(e,t,s)}setPath(e,t,s){if(!e||!M(this))return;const n={...ut};if(Mt(e))n.generate=e,t&&(n.init=t),s&&(n.update=s);else{const o=n;n.generate=e.generate||o.generate,n.init=e.init||o.init,n.update=e.update||o.update}this.addPath(Ss,n,!0)}async start(){!M(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{this._delayTimeout=setTimeout(async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,t]of this.plugins)t.start&&await t.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()},this._delay)}))}stop(){if(!(!M(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,e]of this.plugins)e.stop&&e.stop();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth===e?!1:(this.responsiveMaxWidth=e,!0)}}class Ts{constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let s=this._listeners.get(e);s||(s=[],this._listeners.set(e,s)),s.push(t)}dispatchEvent(e,t){const s=this._listeners.get(e);s&&s.forEach(n=>n(t))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){const s=this._listeners.get(e);if(!s)return;const n=s.length,o=s.indexOf(t);o<0||(n===1?this._listeners.delete(e):s.splice(o,1))}}function Be(i,e,t,s=!1){let n=e.get(i);return(!n||s)&&(n=[...t.values()].map(o=>o(i)),e.set(i,n)),n}class Os{constructor(e){this._engine=e,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,t){this._initializers.interactors.set(e,t)}addParticleMover(e,t){this._initializers.movers.set(e,t)}addParticleUpdater(e,t){this._initializers.updaters.set(e,t)}addPathGenerator(e,t){!this.getPathGenerator(e)&&this.pathGenerators.set(e,t)}addPlugin(e){!this.getPlugin(e.id)&&this.plugins.push(e)}addPreset(e,t,s=!1){(s||!this.getPreset(e))&&this.presets.set(e,t)}addShapeDrawer(e,t){H(e,s=>{!this.getShapeDrawer(s)&&this.drawers.set(s,t)})}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){const t=new Map;for(const s of this.plugins)s.needsPlugin(e.actualOptions)&&t.set(s.id,s.getPlugin(e));return t}getInteractors(e,t=!1){return Be(e,this.interactors,this._initializers.interactors,t)}getMovers(e,t=!1){return Be(e,this.movers,this._initializers.movers,t)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,t=!1){return Be(e,this.updaters,this._initializers.updaters,t)}loadOptions(e,t){for(const s of this.plugins)s.loadOptions(e,t)}loadParticlesOptions(e,t,...s){const n=this.updaters.get(e);if(n)for(const o of n)o.loadOptions&&o.loadOptions(t,...s)}}async function Rs(i){const e=le(i.url,i.index);if(!e)return i.fallback;const t=await fetch(e);return t.ok?t.json():(ue().error(`${Z} ${t.status} while retrieving config file`),i.fallback)}function Is(i){return!i.id&&!i.element&&!i.url&&!i.options}function Es(i){return!Is(i)}class Ds{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new Ts,this._initialized=!1,this.plugins=new Os(this)}get configs(){const e={};for(const[t,s]of this._configs)e[t]=s;return e}get version(){return"2.12.0"}addConfig(e,t){$(e)?t&&(t.name=e,this._configs.set(e,t)):this._configs.set(e.name??"default",e)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}async addInteractor(e,t,s=!0){this.plugins.addInteractor(e,t),await this.refresh(s)}async addMover(e,t,s=!0){this.plugins.addParticleMover(e,t),await this.refresh(s)}async addParticleUpdater(e,t,s=!0){this.plugins.addParticleUpdater(e,t),await this.refresh(s)}async addPathGenerator(e,t,s=!0){this.plugins.addPathGenerator(e,t),await this.refresh(s)}async addPlugin(e,t=!0){this.plugins.addPlugin(e),await this.refresh(t)}async addPreset(e,t,s=!1,n=!0){this.plugins.addPreset(e,t,s),await this.refresh(n)}async addShape(e,t,s,n,o,r=!0){let a,c=r,l,h,d;G(s)?(c=s,l=void 0):l=s,G(n)?(c=n,h=void 0):h=n,G(o)?(c=o,d=void 0):d=o,Mt(t)?a={afterEffect:h,destroy:d,draw:t,init:l}:a=t,this.plugins.addShapeDrawer(e,a),await this.refresh(c)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}dom(){return this._domArray}domItem(e){const t=this.dom(),s=t[e];if(!s||s.destroyed){t.splice(e,1);return}return s}init(){this._initialized||(this._initialized=!0)}async load(e,t){return this.loadFromArray(e,t)}async loadFromArray(e,t,s){let n;return Es(e)?n=e:(n={},$(e)?n.id=e:n.options=e,F(t)?n.index=t:n.options=t??n.options,n.index=s??n.index),this._loadParams(n)}async loadJSON(e,t,s){let n,o;return F(t)||t===void 0?n=e:(o=e,n=t),this._loadParams({id:o,url:n,index:s})}async refresh(e=!0){e&&this.dom().forEach(t=>t.refresh())}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async set(e,t,s,n){const o={index:n};return $(e)?o.id=e:o.element=e,t instanceof HTMLElement?o.element=t:o.options=t,F(s)?o.index=s:o.options=s??o.options,this._loadParams(o)}async setJSON(e,t,s,n){const o={};return e instanceof HTMLElement?(o.element=e,o.url=t,o.index=s):(o.id=e,o.element=t,o.url=s,o.index=n),this._loadParams(o)}setOnClickHandler(e){const t=this.dom();if(!t.length)throw new Error(`${Z} can only set click handlers after calling tsParticles.load()`);for(const s of t)s.addClickHandler(e)}async _loadParams(e){const t=e.id??`tsparticles${Math.floor(S()*1e4)}`,{index:s,url:n}=e,o=n?await Rs({fallback:e.options,url:n,index:s}):e.options;let r=e.element??document.getElementById(t);r||(r=document.createElement("div"),r.id=t,document.body.append(r));const a=le(o,s),c=this.dom(),l=c.findIndex(u=>u.id===t);if(l>=0){const u=this.domItem(l);u&&!u.destroyed&&(u.destroy(),c.splice(l,1))}let h;if(r.tagName.toLowerCase()==="canvas")h=r,h.dataset[ce]="false";else{const u=r.getElementsByTagName("canvas");u.length?(h=u[0],h.dataset[ce]="false"):(h=document.createElement("canvas"),h.dataset[ce]="true",r.appendChild(h))}h.style.width||(h.style.width="100%"),h.style.height||(h.style.height="100%");const d=new Cs(this,t,a);return l>=0?c.splice(l,0,d):c.push(d),d.canvas.loadCanvas(h),await d.start(),d}}class Ls{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.s!==void 0&&s.l!==void 0)return oe(s)}handleRangeColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.l!==void 0)return oe({h:v(s.h),l:v(s.l),s:v(s.s)})}parseString(e){if(!e.startsWith("hsl"))return;const t=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?bi({a:s.length>4?gt(s[5]):1,h:parseInt(s[1],10),l:parseInt(s[3],10),s:parseInt(s[2],10)}):void 0}}class As{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return s}handleRangeColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return{r:v(s.r),g:v(s.g),b:v(s.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?{a:s.length>4?gt(s[5]):1,b:parseInt(s[3],10),g:parseInt(s[2],10),r:parseInt(s[1],10)}:void 0}}function $s(){const i=new As,e=new Ls;it(i),it(e);const t=new Ds;return t.init(),t}const he=$s();Me()||(window.tsParticles=he);const Fs=async i=>{const{loadFull:e}=await te(()=>import("./index.638ea801.js"),["./index.638ea801.js","./index.1fe5091e.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./Icon.9eb704ff.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.2b3f34a3.js","./ContentRendererMarkdown.vue.fb31b41a.js","./index.b0fe9fac.js","./preview.880535c1.js","./query.35f44448.js"],import.meta.url);await e(i)},js=async i=>{const{loadSlim:e}=await te(()=>import("./index.1fe5091e.js").then(t=>t.i),[],import.meta.url);await e(i)},Bs=async i=>{const{loadBasic:e}=await te(()=>Promise.resolve().then(()=>zn),void 0,import.meta.url);await e(i)},Vs=async(i,e)=>{const s=new Map([["basic",Bs],["slim",js],["full",Fs]]).get(e);s&&await s(i)},Hs=["id"],Us=E({__name:"NuxtParticles",props:{id:{},options:{},url:{}},emits:["load"],setup(i,{emit:e}){const t=dt("__nuxt_particles_loaded",()=>!1),s=W(void 0),{mode:n,lazy:o}=Lt().public.particles,r=i,a=e;return ae(async()=>{o&&n!=="custom"&&!t.value&&(he.init(),await Vs(he,n),t.value=!0);const c=await he.load({id:r.id,options:r.options,url:r.url});c&&(a("load",c),s.value=c)}),$t(()=>{s.value&&s.value.destroy()}),(c,l)=>(m(),b("div",{id:c.id},null,8,Hs))}}),Ws=E({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(i,{slots:e,attrs:t}){const s=W(!1);return ae(()=>{s.value=!0}),n=>{var c;if(s.value)return(c=e.default)==null?void 0:c.call(e);const o=e.fallback||e.placeholder;if(o)return o();const r=n.fallback||n.placeholder||"",a=n.fallbackTag||n.placeholderTag||"span";return b(a,t,r)}}}),qs={name:At,props:{placeholder:String,tag:{type:String,default:"span"}}};function Gs(i,e,t,s,n,o){const r=Ws;return m(),j(r,{placeholder:t.placeholder,"placeholder-tag":t.tag},{default:V(()=>[Ft(i.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Et=B(qs,[["render",Gs]]),Ze=()=>dt("color-mode").value;function Ns(i){const e=i.initialPosition,{dx:t,dy:s}=X(e,i.position),n=Math.abs(t),o=Math.abs(s),{maxDistance:r}=i.retina,a=r.horizontal,c=r.vertical;if(!(!a&&!c)){if((a&&n>=a||c&&o>=c)&&!i.misplaced)i.misplaced=!!a&&n>a||!!c&&o>c,a&&(i.velocity.x=i.velocity.y/2-i.velocity.x),c&&(i.velocity.y=i.velocity.x/2-i.velocity.y);else if((!a||ne.x&&h.x>0)&&(h.x*=-S()),c&&(l.ye.y&&h.y>0)&&(h.y*=-S())}}}function Ys(i,e,t,s,n,o){Zs(i,o);const r=i.gravity,a=r!=null&&r.enable&&r.inverse?-1:1;n&&t&&(i.velocity.x+=n*o.factor/(60*t)),r!=null&&r.enable&&t&&(i.velocity.y+=a*(r.acceleration*o.factor)/(60*t));const c=i.moveDecay;i.velocity.multTo(c);const l=i.velocity.mult(t);r!=null&&r.enable&&s>0&&(!r.inverse&&l.y>=0&&l.y>=s||r.inverse&&l.y<=0&&l.y<=-s)&&(l.y=a*s,t&&(i.velocity.y=l.y/t));const h=i.options.zIndex,d=(1-i.zIndexFactor)**h.velocityRate;l.multTo(d);const{position:u}=i;u.addTo(l),e.vibrate&&(u.x+=Math.sin(u.x*Math.cos(u.y)),u.y+=Math.cos(u.y*Math.sin(u.x)))}function Xs(i,e){const t=i.container;if(!i.spin)return;const s={x:i.spin.direction==="clockwise"?Math.cos:Math.sin,y:i.spin.direction==="clockwise"?Math.sin:Math.cos};i.position.x=i.spin.center.x+i.spin.radius*s.x(i.spin.angle),i.position.y=i.spin.center.y+i.spin.radius*s.y(i.spin.angle),i.spin.radius+=i.spin.acceleration;const n=Math.max(t.canvas.size.width,t.canvas.size.height);i.spin.radius>n/2?(i.spin.radius=n/2,i.spin.acceleration*=-1):i.spin.radius<0&&(i.spin.radius=0,i.spin.acceleration*=-1),i.spin.angle+=e/100*(1-i.spin.radius/n)}function Zs(i,e){var r;const t=i.options,s=t.move.path;if(!s.enable)return;if(i.lastPathTime<=i.pathDelay){i.lastPathTime+=e.value;return}const o=(r=i.pathGenerator)==null?void 0:r.generate(i,e);o&&i.velocity.addTo(o),s.clamp&&(i.velocity.x=ne(i.velocity.x,-1,1),i.velocity.y=ne(i.velocity.y,-1,1)),i.lastPathTime-=i.pathDelay}function Qs(i){return i.slow.inRange?i.slow.factor:1}const Ks=2;class Js{constructor(){this._initSpin=e=>{const t=e.container,s=e.options,n=s.move.spin;if(!n.enable)return;const o=n.position??{x:50,y:50},r={x:o.x/100*t.canvas.size.width,y:o.y/100*t.canvas.size.height},a=e.getPosition(),c=ze(a,r),l=v(n.acceleration);e.retina.spinAcceleration=l*t.retina.pixelRatio,e.spin={center:r,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}init(e){const t=e.options,s=t.move.gravity;e.gravity={enable:s.enable,acceleration:v(s.acceleration),inverse:s.inverse},this._initSpin(e)}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,t){var _,y;const s=e.options,n=s.move;if(!n.enable)return;const o=e.container,r=o.retina.pixelRatio,a=Qs(e),c=((_=e.retina).moveSpeed??(_.moveSpeed=v(n.speed)*r))*o.retina.reduceFactor,l=(y=e.retina).moveDrift??(y.moveDrift=v(e.options.move.drift)*r),h=xe(s.size.value)*r,d=n.size?e.getRadius()/h:1,u=c*d*a*(t.factor||1)/Ks,f=e.retina.maxSpeed??o.retina.maxSpeed;n.spin.enable?Xs(e,u):Ys(e,n,u,f,l,t),Ns(e)}}async function en(i,e=!0){await i.addMover("base",()=>new Js,e)}class tn{draw(e,t,s){t.circleRange||(t.circleRange={min:0,max:Math.PI*2});const n=t.circleRange;e.arc(0,0,s,n.min,n.max,!1)}getSidesCount(){return 12}particleInit(e,t){const s=t.shapeData,n=(s==null?void 0:s.angle)??{max:360,min:0};t.circleRange=ee(n)?{min:n.min*Math.PI/180,max:n.max*Math.PI/180}:{min:0,max:n*Math.PI/180}}}async function sn(i,e=!0){await i.addShape("circle",new tn,e)}function Ve(i,e,t,s,n){if(!e||!t.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=A(t.offset),r=(e.velocity??0)*i.factor+o*3.6,a=e.decay??1;!n||e.status==="increasing"?(e.value+=r,e.value>s&&(e.loops||(e.loops=0),e.loops++,n&&(e.status="decreasing",e.value-=e.value%s))):(e.value-=r,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&a!==1&&(e.velocity*=a),e.value>s&&(e.value%=s)}function nn(i,e){const{h:t,s,l:n}=i.options.color.animation,{color:o}=i;if(!o)return;const{h:r,s:a,l:c}=o;r&&Ve(e,r,t,360,!1),a&&Ve(e,a,s,100,!0),c&&Ve(e,c,n,100,!0)}class on{constructor(e){this.container=e}init(e){const t=Ue(e.options.color,e.id,e.options.reduceDuplicates);t&&(e.color=xi(t,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){const{h:t,s,l:n}=e.options.color.animation,{color:o}=e;return!e.destroyed&&!e.spawning&&((o==null?void 0:o.h.value)!==void 0&&t.enable||(o==null?void 0:o.s.value)!==void 0&&s.enable||(o==null?void 0:o.l.value)!==void 0&&n.enable)}update(e,t){nn(e,t)}}async function rn(i,e=!0){await i.addParticleUpdater("color",t=>new on(t),e)}function an(i,e,t,s){switch(i.options.opacity.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function cn(i,e){const t=i.opacity;if(i.destroyed||!(t!=null&&t.enable)||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=t.min,n=t.max,o=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=n?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=(t.velocity??0)*e.factor;break;case"decreasing":t.value<=s?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=(t.velocity??0)*e.factor;break}t.velocity&&t.decay!==1&&(t.velocity*=o),an(i,t.value,s,n),i.destroyed||(t.value=ne(t.value,s,n))}}class ln{constructor(e){this.container=e}init(e){const t=e.options.opacity;e.opacity=wt(t,1);const s=t.animation;s.enable&&(e.opacity.velocity=v(s.speed)/100*this.container.retina.reduceFactor,s.sync||(e.opacity.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((e.opacity.maxLoops??0)<=0||(e.opacity.maxLoops??0)>0&&(e.opacity.loops??0)<(e.opacity.maxLoops??0))}reset(e){e.opacity&&(e.opacity.time=0,e.opacity.loops=0)}update(e,t){this.isEnabled(e)&&cn(e,t)}}async function hn(i,e=!0){await i.addParticleUpdater("opacity",t=>new ln(t),e)}function un(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-horizontal"&&i.outMode!=="bounceHorizontal"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.right<0&&i.direction==="left"?i.particle.position.x=i.size+i.offset.x:i.bounds.left>i.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const e=i.particle.velocity.x;let t=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&e>0||i.direction==="left"&&i.bounds.left<=0&&e<0){const n=Q(i.particle.options.bounce.horizontal);i.particle.velocity.x*=-n,t=!0}if(!t)return;const s=i.offset.x+i.size;i.bounds.right>=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-s:i.bounds.left<=0&&i.direction==="left"&&(i.particle.position.x=s),i.outMode==="split"&&i.particle.destroy()}function dn(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-vertical"&&i.outMode!=="bounceVertical"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottom<0&&i.direction==="top"?i.particle.position.y=i.size+i.offset.y:i.bounds.top>i.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const e=i.particle.velocity.y;let t=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&e>0||i.direction==="top"&&i.bounds.top<=0&&e<0){const n=Q(i.particle.options.bounce.vertical);i.particle.velocity.y*=-n,t=!0}if(!t)return;const s=i.offset.y+i.size;i.bounds.bottom>=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-s:i.bounds.top<=0&&i.direction==="top"&&(i.particle.position.y=s),i.outMode==="split"&&i.particle.destroy()}class fn{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;let r=!1;for(const[,u]of o.plugins)if(u.particleBounce!==void 0&&(r=u.particleBounce(e,s,t)),r)break;if(r)return;const a=e.getPosition(),c=e.offset,l=e.getRadius(),h=Pe(a,l),d=o.canvas.size;un({particle:e,outMode:n,direction:t,bounds:h,canvasSize:d,offset:c,size:l}),dn({particle:e,outMode:n,direction:t,bounds:h,canvasSize:d,offset:c,size:l})}}class pn{constructor(e){this.container=e,this.modes=["destroy"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"normal":case"outside":if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;break;case"inside":{const{dx:r,dy:a}=X(e.position,e.moveCenter),{x:c,y:l}=e.velocity;if(c<0&&r>e.moveCenter.radius||l<0&&a>e.moveCenter.radius||c>=0&&r<-e.moveCenter.radius||l>=0&&a<-e.moveCenter.radius)return;break}}o.particles.remove(e,void 0,!0)}}class mn{constructor(e){this.container=e,this.modes=["none"]}update(e,t,s,n){if(!this.modes.includes(n)||e.options.move.distance.horizontal&&(t==="left"||t==="right")||e.options.move.distance.vertical&&(t==="top"||t==="bottom"))return;const o=e.options.move.gravity,r=this.container,a=r.canvas.size,c=e.getRadius();if(o.enable){const l=e.position;(!o.inverse&&l.y>a.height+c&&t==="bottom"||o.inverse&&l.y<-c&&t==="top")&&r.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=a.height+c||e.velocity.y<0&&e.position.y>=-c||e.velocity.x>0&&e.position.x<=a.width+c||e.velocity.x<0&&e.position.x>=-c)return;Xe(e.position,r.canvas.size,I.origin,c,t)||r.particles.remove(e)}}}class yn{constructor(e){this.container=e,this.modes=["out"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"inside":{const{x:r,y:a}=e.velocity,c=I.origin;c.length=e.moveCenter.radius,c.angle=e.velocity.angle+Math.PI,c.addTo(I.create(e.moveCenter));const{dx:l,dy:h}=X(e.position,c);if(r<=0&&l>=0||a<=0&&h>=0||r>=0&&l<=0||a>=0&&h<=0)return;e.position.x=Math.floor(A({min:0,max:o.canvas.size.width})),e.position.y=Math.floor(A({min:0,max:o.canvas.size.height}));const{dx:d,dy:u}=X(e.position,e.moveCenter);e.direction=Math.atan2(-u,-d),e.velocity.angle=e.direction;break}default:{if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;switch(e.outType){case"outside":{e.position.x=Math.floor(A({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(A({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:r,dy:a}=X(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(a,r),e.velocity.angle=e.direction);break}case"normal":{const r=e.options.move.warp,a=o.canvas.size,c={bottom:a.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:a.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},l=e.getRadius(),h=Pe(e.position,l);t==="right"&&h.left>a.width+e.offset.x?(e.position.x=c.left,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)):t==="left"&&h.right<-e.offset.x&&(e.position.x=c.right,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)),t==="bottom"&&h.top>a.height+e.offset.y?(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.top,e.initialPosition.y=e.position.y):t==="top"&&h.bottom<-e.offset.y&&(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.bottom,e.initialPosition.y=e.position.y);break}}break}}}}class _n{constructor(e){this.container=e,this._updateOutMode=(t,s,n,o)=>{for(const r of this.updaters)r.update(t,o,s,n)},this.updaters=[new fn(e),new pn(e),new yn(e),new mn(e)]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,t){const s=e.options.move.outModes;this._updateOutMode(e,t,s.bottom??s.default,"bottom"),this._updateOutMode(e,t,s.left??s.default,"left"),this._updateOutMode(e,t,s.right??s.default,"right"),this._updateOutMode(e,t,s.top??s.default,"top")}}async function gn(i,e=!0){await i.addParticleUpdater("outModes",t=>new _n(t),e)}function vn(i,e,t,s){switch(i.options.size.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function bn(i,e){const t=i.size;if(i.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=(t.velocity??0)*e.factor,n=t.min,o=t.max,r=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=o?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=s;break;case"decreasing":t.value<=n?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=s}t.velocity&&r!==1&&(t.velocity*=r),vn(i,t.value,n,o),i.destroyed||(t.value=ne(t.value,n,o))}}class wn{init(e){const t=e.container,s=e.options.size,n=s.animation;n.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??t.retina.sizeAnimationSpeed)/100*t.retina.reduceFactor,n.sync||(e.size.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.loops=0}update(e,t){this.isEnabled(e)&&bn(e,t)}}async function xn(i,e=!0){await i.addParticleUpdater("size",()=>new wn,e)}async function Dt(i,e=!0){await en(i,!1),await sn(i,!1),await rn(i,!1),await hn(i,!1),await gn(i,!1),await xn(i,!1),await i.refresh(e)}const zn=Object.freeze(Object.defineProperty({__proto__:null,loadBasic:Dt},Symbol.toStringTag,{value:"Module"})),Mn={background:{color:"#000"},particles:{number:{value:100},move:{direction:"none",enable:!0,outModes:{default:"out"},random:!0,speed:.1,straight:!1},opacity:{animation:{enable:!0,speed:1,sync:!1},value:{min:0,max:1}},size:{value:{min:1,max:3}}}};async function Pn(i,e=!0){await Dt(i,!1),await i.addPreset("stars",Mn,e)}const kn={key:0},Sn={key:0},Cn={key:1},Tn=E({__name:"animated-background",async setup(i){let e,t;const s=Ze();[e,t]=We(()=>Pn(he)),await e,t();const n=W(!1);ft(s,()=>{n.value=!1,setTimeout(()=>n.value=!0,1e3)}),ae(()=>{n.value=!0});const o={fpsLimit:24,fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,particles:{opacity:{value:.1},color:{value:"#fff"},links:{color:"#fff",enable:!0,opacity:.1},move:{enable:!0},number:{value:15}}},r={fpsLimit:8,preset:"stars",fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,background:{opacity:0},particles:{number:{value:30}}},a={fpsLimit:24,fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,particles:{shape:{type:"image",image:{src:"build.svg",replaceColor:!0,width:59,height:91}},opacity:{random:{enable:!0,minimumValue:.01},value:.4},number:{value:3},size:{random:{enable:!0,minimumValue:10},value:70},move:{enable:!0,direction:"bottom",speed:{min:.1,max:.8}}}},c={fpsLimit:24,backgroundMode:{enable:!0,zIndex:0},style:{height:"25vh"},particles:{shape:{type:"image",image:{src:"cloud.svg",replaceColor:!0,width:80,height:40}},opacity:{value:.5},color:{value:"#d9e2ff"},number:{value:5},size:{random:{enable:!0,minimumValue:130},value:50},move:{enable:!0,direction:"right",speed:{min:.2,max:1.5},straight:!0}}};return(l,h)=>{const d=Us,u=Et;return m(),j(u,null,{default:V(()=>[k(qe,null,{default:V(()=>[p(n)?(m(),b("div",kn,[p(s).value==="dark"?(m(),b("div",Sn,[k(d,{id:"connections",options:o}),k(d,{id:"stars",options:r})])):(m(),b("div",Cn,[k(d,{id:"clouds",options:c}),k(d,{id:"builds",options:a})]))])):q("",!0)]),_:1})]),_:1})}}});const On={class:"topbar"},Rn={class:"switch"},In={class:"switch"},ye="2.5rem",En=E({__name:"top-bar",setup(i){const{locale:e}=fe(),t=Ze();return(s,n)=>{const o=we,r=Et;return m(),b("div",On,[g("div",Rn,[g("div",null,[p(e)==="pt"?(m(),j(o,{key:0,name:"circle-flags:br",size:ye,onClick:n[0]||(n[0]=a=>e.value="en")})):q("",!0)]),g("div",null,[p(e)==="en"?(m(),j(o,{key:0,name:"circle-flags:us",size:ye,onClick:n[1]||(n[1]=a=>e.value="pt")})):q("",!0)])]),k(r,{placeholder:"...",tag:"span"},{default:V(()=>[g("div",In,[p(t).value==="dark"?(m(),b("div",{key:0,onClick:n[2]||(n[2]=a=>p(t).preference="light")},[k(o,{name:"material-symbols:dark-mode-rounded",size:ye})])):(m(),b("div",{key:1,onClick:n[3]||(n[3]=a=>p(t).preference="dark")},[k(o,{name:"material-symbols:light-mode-rounded",size:ye})]))])]),_:1})])}}});const Dn=B(En,[["__scopeId","data-v-ca1cc8a0"]]),Ln={class:"intro"},An=E({__name:"intro-text",props:{text:{}},emits:["ended","started"],setup(i,{emit:e}){const t=e,s=i,n=Ze(),o=W(),r=s.text.split(` +`),a=W(0),c=async()=>{o.value!=null&&(a.value=0,await o.value.reduce(async(u,f)=>{await u,await d(f),a.value+=1},Promise.resolve()),t("ended"))},l=()=>{o.value!=null&&o.value.slice(0,a.value+1).forEach(u=>{h(u)})},h=async u=>{const f=Array.from(u.children),_=n.preference==="dark"?"brightness":"opacity",y=300,w=[{filter:`${_}(40%)`}],x=f.map(C=>C.animate(w,{duration:y,iterations:1,fill:"forwards"}).finished);await Promise.all(x)},d=async u=>{const f=Array.from(u.children),_=1500,y=100,w=n.preference==="dark"?"brightness":"opacity",x=[{transform:"translateY(0)",visibility:"visible",filter:`${w}(100%)`},{transform:"translateY(-2em)",offset:.1},{transform:"translateY(0)",offset:.2},{filter:`${w}(100%)`,offset:.85},{visibility:"visible",filter:`${w}(40%)`,offset:1}],C=f.map((P,me)=>P.animate(x,{duration:_,iterations:1,fill:"forwards",delay:me*y}).finished);await Promise.all(C)};return ae(()=>{setTimeout(c,1e3)}),ft(n,()=>{l()}),(u,f)=>(m(),b("div",Ln,[(m(!0),b(ie,null,se(p(r),(_,y)=>(m(),b("div",{ref_for:!0,ref_key:"introLines",ref:o,key:_,class:"line"},[(m(!0),b(ie,null,se(Array(y),(w,x)=>(m(),b("span",{key:x,class:"tabspace"}," "))),128)),(m(!0),b(ie,null,se(_,(w,x)=>(m(),b("span",{key:x,class:"letter"},O(w==" "?" ":w),1))),128))]))),128))]))}});const $n=B(An,[["__scopeId","data-v-3f889e56"]]),Fn={class:"swipe"},jn=g("div",{class:"path"},null,-1),Bn=g("div",{class:"hand-icon"},null,-1),Vn=[jn,Bn],Hn=E({__name:"swipe-tip",setup(i){return ae(()=>{document.querySelector(".path").style.animation="swipe-dot 2s 0.5s infinite",document.querySelector(".hand-icon").style.animation="swipe-hand 2s infinite"}),(e,t)=>(m(),b("div",Fn,Vn))}});const Un={key:0,class:"w-full"},Wn={class:"intro-info"},qn={href:"https://linktr.ee/pabloelt",class:"info-item contact"},Gn={class:"info-item more"},Nn={class:"swipe-tip"},Yn=E({__name:"intro",setup(i){const{t:e,locale:t}=fe(),s=W(!1);return(n,o)=>{const r=$n,a=we,c=Hn,l=jt("auto-animate");return Ce((m(),b("div",{key:p(t),class:"flex flex-col items-center"},[k(r,{text:p(e)("intro"),onEnded:o[0]||(o[0]=h=>s.value=!0)},null,8,["text"]),p(s)?(m(),b("div",Un,[g("div",Wn,[Ce((m(),b("a",qn,[k(a,{name:"logos:telegram"}),g("span",null,O(p(e)("contact")),1)])),[[l]]),Ce((m(),b("div",Gn,[g("span",null,O(p(e)("more")),1)])),[[l]])]),g("div",Nn,[k(c)])])):q("",!0)])),[[l]])}}});const Xn=B(Yn,[["__scopeId","data-v-4d09d87c"]]),K=i=>(Bt("data-v-58f0547e"),i=i(),Vt(),i),Zn={class:"division"},Qn={class:"subsection"},Kn={class:"title"},Jn=K(()=>g("br",null,null,-1)),eo=K(()=>g("br",null,null,-1)),to=K(()=>g("br",null,null,-1)),io=K(()=>g("br",null,null,-1)),so=K(()=>g("a",{href:"http://github.com/pabloeltdev"},"Github",-1)),no=K(()=>g("br",null,null,-1)),oo=K(()=>g("a",{href:"http://github.com/pabloufrn"},"link",-1)),ro={class:"subsection"},ao={class:"title"},co={class:"whitespace-pre-line"},lo={class:"division"},ho={class:"subsection"},uo={class:"title flex"},fo={class:"flex items-center gap-2"},po=E({__name:"about",setup(i){const{t:e,locale:t}=fe();return(s,n)=>(m(),j(qe,{mode:"out-in"},{default:V(()=>[(m(),b("div",{key:p(t),class:"about"},[g("div",Zn,[g("div",Qn,[g("span",Kn,O(p(e)("skills_title")),1),g("span",null,[Y(" 🚀 Web front (vuejs, nuxt, tailwindcss) "),Jn,Y(" 📊 Data science (pandas, plotly, dash) "),eo,Y(" 🤖 Chat bots (python-telegram-bot) "),to,Y(" 📔 "+O(p(e)("main_langs"))+": typescript, python ",1),io,Y(" 😀 "+O(p(e)("more_at"))+" ",1),so,Y(". "),no,Y(" ➕ "+O(p(e)("old_gh_text"))+": ",1),oo])]),g("div",ro,[g("span",ao,O(p(e)("roles_title")),1),g("span",co,O(p(e)("roles_text")),1)])]),g("div",lo,[g("div",ho,[g("span",uo,O(p(e)("about_title")),1),g("span",null,O(p(e)("about_text")),1)]),g("div",fo,[g("span",null,O(p(e)("more")),1)])])]))]),_:1}))}});const mo=B(po,[["__scopeId","data-v-58f0547e"]]),yo={class:"project-container"},_o={key:0},go={class:"project-header"},vo={class:"project-info"},bo={class:"title"},wo=g("br",null,null,-1),xo={class:"description"},zo={class:"project-external"},Mo=["href"],Po=["href"],ko=g("br",null,null,-1),So=E({__name:"portfolio-project",props:{path:{}},async setup(i){let e,t;const s=i,n=W(null),{t:o}=fe(),{data:r}=([e,t]=We(()=>yt(s.path,()=>_t(s.path).findOne(),"$a1E6u7yuYP")),e=await e,t(),e);return ae(()=>{var a;(a=n.value)==null||a.focus()}),(a,c)=>{const l=we,h=Zt;return m(),b("div",yo,[p(r)==null?(m(),b("div",_o," Project not found ")):(m(),b("div",{key:1,ref_key:"projectDiv",ref:n,class:"project",tabindex:"0"},[g("div",go,[g("div",vo,[g("span",bo,O(p(r).title),1),wo,g("span",xo,O(p(r).description),1)]),g("div",zo,[p(r).homepage?(m(),b("a",{key:0,class:"homepage",href:p(r).homepage,target:"_blank"},[g("span",null,O(p(o)("access_live")),1)],8,Mo)):q("",!0),p(r).video?(m(),b("a",{key:1,class:"video",href:p(r).video,target:"_blank"},[k(l,{name:"mdi:youtube"})],8,Po)):q("",!0)])]),ko,k(h,{value:p(r)},null,8,["value"])],512))])}}});const Co={};function To(i,e){const t=we;return m(),j(t,{class:"project-icon",name:"material-symbols:description"})}const Oo=B(Co,[["render",To]]),Ro=(i,e)=>{const t=i[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((s,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Io=E({__name:"project-icon",props:{name:{}},setup(i){const e=i,t=Ht(async()=>{try{return await Ro(Object.assign({"../assets/projects/acidentes.svg":()=>te(()=>import("./acidentes.185d2b63.js"),["./acidentes.185d2b63.js","./nuxt-icon.385eb01b.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/playmytime.svg":()=>te(()=>import("./playmytime.dfb743a7.js"),["./playmytime.dfb743a7.js","./nuxt-icon.385eb01b.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/simuladocnh.svg":()=>te(()=>import("./simuladocnh.966eedcf.js"),["./simuladocnh.966eedcf.js","./nuxt-icon.385eb01b.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./nuxt-icon.ee9202a9.css"],import.meta.url)}),`../assets/projects/${e.name}.svg`)}catch{return Oo}});return(s,n)=>(m(),j(p(t)))}});const Eo=B(Io,[["__scopeId","data-v-5a1f7b1f"]]),Do={class:"projects-nav"},Lo=["onClick"],Ao=E({__name:"projects-nav",props:{projects:{},activeProject:{}},emits:["select"],setup(i,{emit:e}){const t=i,s=e,n=Ut(()=>t.projects.map(a=>r(a))),o=a=>{s("select",a)},r=a=>{var c;return(c=a._path)==null?void 0:c.split("/").at(-1)};return(a,c)=>{const l=Eo;return m(),b("div",Do,[(m(!0),b(ie,null,se(p(n),(h,d)=>(m(),b("div",{key:d,class:Wt(["project-item",{active:a.activeProject===d}]),onClick:u=>o(d)},[k(l,{class:"project-icon",name:h},null,8,["name"])],10,Lo))),128))])}}});const $o=B(Ao,[["__scopeId","data-v-3d5ad874"]]),Fo={class:"projects-container"},jo={key:0,class:"project-swiper-container"},Bo=E({__name:"projects",async setup(i){let e,t;const{locale:s}=fe(),{data:n}=([e,t]=We(()=>yt("projects",()=>_t(`/projects/${s.value.slice(0,2)}`).only(["_path"]).find(),{watch:[s]})),e=await e,t(),e);let o=null;const r=W(0),a=l=>{o==null||o.slideTo(l)},c=l=>{o=l,o.on("activeIndexChange",h=>{r.value=h.activeIndex})};return(l,h)=>{var y,w;const d=So,u=pt,f=mt,_=$o;return m(),b("div",Fo,[p(n)!=null&&((y=p(n))==null?void 0:y.length)>0?(m(),b("div",jo,[k(f,{class:"project-swiper",style:{overflow:"hidden scroll"},effect:"flip",modules:["SwiperEffectFlip"in l?l.SwiperEffectFlip:p(qt)],"slides-per-view":1,nested:!0,"allow-touch-move":!0,onSwiper:c},{default:V(()=>[(m(!0),b(ie,null,se(p(n),(x,C)=>(m(),j(u,{key:C},{default:V(()=>[k(qe,{mode:"out-in"},{default:V(()=>[(m(),b("div",{key:p(s),class:"project-slide-content"},[k(d,{path:x._path},null,8,["path"])]))]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modules"])])):q("",!0),p(n)&&((w=p(n))==null?void 0:w.length)>0?(m(),j(_,{key:1,"active-project":p(r),projects:p(n),onSelect:a},null,8,["active-project","projects"])):q("",!0)])}}});const Vo=B(Bo,[["__scopeId","data-v-a31d9570"]]),Ho={class:"swiper-container"},Uo=E({__name:"sections-container",setup(i){const e=[{name:"intro",component:Xn},{name:"about",component:mo},{name:"projects",component:Vo}],t=W(!0);return setTimeout(()=>t.value=!0,1e3),(s,n)=>{const o=pt,r=mt;return m(),b("div",Ho,[p(t)?(m(),j(r,{key:0,class:"swiper",modules:["SwiperMousewheel"in s?s.SwiperMousewheel:p(Gt),"SwiperVirtual"in s?s.SwiperVirtual:p(Nt),"SwiperKeyboard"in s?s.SwiperKeyboard:p(Yt)],"slides-per-view":1,"grab-cursor":!0,keyboard:{enabled:!0,pageUpDown:!1},virtual:{enabled:!0,addSlidesAfter:-1,addSlidesBefore:-1,cache:!0}},{default:V(()=>[(m(),b(ie,null,se(e,(a,c)=>k(o,{key:c,"virtual-index":c},{default:V(()=>[(m(),j(Xt(a.component),{class:"slide-content"}))]),_:2},1032,["virtual-index"])),64))]),_:1},8,["modules"])):q("",!0)])}}});const Wo=B(Uo,[["__scopeId","data-v-d6737876"]]);const qo={},Go={class:"main"};function No(i,e){const t=Tn,s=Dn,n=Wo;return m(),b("div",null,[g("div",Go,[k(t),k(s),k(n)])])}const Yo=B(qo,[["render",No]]),mr=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"}));export{xi as $,de as A,er as B,Se as C,ne as D,tr as E,Ke as F,cr as G,ar as H,lr as I,Pe as J,or as K,nr as L,xe as M,Qe as N,U as O,gi as P,wi as Q,re as R,rr as S,fr as T,dr as U,pe as V,ur as W,ue as X,Z as Y,Me as Z,pr as _,I as a,sr as a0,Dt as a1,mr as a2,ci as b,ir as c,S as d,v as e,X as f,ze as g,ge as h,F as i,Xe as j,le as k,H as l,L as m,Ne as n,T as o,Q as p,Rt as q,N as r,z as s,A as t,Ue as u,hr as v,pi as w,Ye as x,st as y,he as z}; diff --git a/_nuxt/index.77eaffd8.js b/_nuxt/index.638ea801.js similarity index 98% rename from _nuxt/index.77eaffd8.js rename to _nuxt/index.638ea801.js index ee4d4c5..1a2581d 100644 --- a/_nuxt/index.77eaffd8.js +++ b/_nuxt/index.638ea801.js @@ -1 +1 @@ -import{V as R,i as S,O as z,s as f,c as B,a as w,b as j,g as F,d as b,e as u,r as G,f as J,h as K,j as V,k as D,l as _,m as O,n as E,o as x,p as W,q as Q,t as C,A as X,u as I,v as Y,w as Z,x as $,y as N}from"./index.a1ab4247.js";import{E as ii,l as ti}from"./index.19c07bad.js";import"./entry.fa10d76e.js";import"./swiper-vue.799c8af8.js";import"./Icon.c44fc0a7.js";import"./index.b8fe2cb5.js";import"./ContentRenderer.8bfe2b63.js";import"./ContentRendererMarkdown.vue.4bf820b7.js";import"./index.b0fe9fac.js";import"./preview.9ca7dcfa.js";import"./query.046ea17d.js";class ei{constructor(){this.radius=0,this.mass=0}load(i){i&&(i.mass!==void 0&&(this.mass=i.mass),i.radius!==void 0&&(this.radius=i.radius))}}class si extends R{constructor(){super(),this.density=5,this.value=50,this.limit=new ei}load(i){i&&(super.load(i),i.density!==void 0&&(this.density=i.density),S(i.limit)?this.limit.radius=i.limit:this.limit.load(i.limit))}}class M{constructor(){this.color=new z,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new si}load(i){i!==void 0&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.draggable!==void 0&&(this.draggable=i.draggable),this.name=i.name,i.opacity!==void 0&&(this.opacity=i.opacity),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.size!==void 0&&this.size.load(i.size),i.destroy!==void 0&&(this.destroy=i.destroy),i.orbits!==void 0&&(this.orbits=i.orbits))}}class ni{constructor(i,t,e,n){var a;this.absorbers=i,this.container=t,this._calcPosition=()=>{const o=B({size:this.container.canvas.size,position:this.options.position});return w.create(o.x,o.y)},this._updateParticlePosition=(o,h)=>{if(o.destroyed)return;const l=this.container,c=l.canvas.size;if(o.needsNewPosition){const d=j({size:c});o.position.setTo(d),o.velocity.setTo(o.initialVelocity),o.absorberOrbit=void 0,o.needsNewPosition=!1}if(this.options.orbits){if(o.absorberOrbit===void 0&&(o.absorberOrbit=w.create(0,0),o.absorberOrbit.length=F(o.getPosition(),this.position),o.absorberOrbit.angle=b()*Math.PI*2),o.absorberOrbit.length<=this.size&&!this.options.destroy){const g=Math.min(c.width,c.height);o.absorberOrbit.length=g*(1+(b()*.2-.1))}o.absorberOrbitDirection===void 0&&(o.absorberOrbitDirection=o.velocity.x>=0?"clockwise":"counter-clockwise");const d=o.absorberOrbit.length,p=o.absorberOrbit.angle,m=o.absorberOrbitDirection;o.velocity.setTo(w.origin);const y={x:m==="clockwise"?Math.cos:Math.sin,y:m==="clockwise"?Math.sin:Math.cos};o.position.x=this.position.x+d*y.x(p),o.position.y=this.position.y+d*y.y(p),o.absorberOrbit.length-=h.length,o.absorberOrbit.angle+=(o.retina.moveSpeed??0)*l.retina.pixelRatio/100*l.retina.reduceFactor}else{const d=w.origin;d.length=h.length,d.angle=h.angle,o.velocity.addTo(d)}},this.initialPosition=n?w.create(n.x,n.y):void 0,e instanceof M?this.options=e:(this.options=new M,this.options.load(e)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=u(this.options.size.value)*t.retina.pixelRatio,this.mass=this.size*this.options.size.density*t.retina.reduceFactor;const r=this.options.size.limit;this.limit={radius:r.radius*t.retina.pixelRatio*t.retina.reduceFactor,mass:r.mass},this.color=G(this.options.color)??{b:0,g:0,r:0},this.position=((a=this.initialPosition)==null?void 0:a.copy())??this._calcPosition()}attract(i){const t=this.container,e=this.options;if(e.draggable){const l=t.interactivity.mouse;l.clicking&&l.downPosition?F(this.position,l.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&l.position&&(this.position.x=l.position.x,this.position.y=l.position.y)}const n=i.getPosition(),{dx:r,dy:a,distance:o}=J(this.position,n),h=w.create(r,a);if(h.length=this.mass/Math.pow(o,2)*t.retina.reduceFactor,oi.getRadius()&&ot===void 0||S(t)?this.array[t||0]:this.array.find(e=>e.name===t),i.addAbsorber=(t,e)=>this.addAbsorber(t,e)}addAbsorber(i,t){const e=new ni(this,this.container,i,t);return this.array.push(e),e}draw(i){for(const t of this.array)t.draw(i)}handleClickMode(i){const t=this.absorbers,e=this.interactivityAbsorbers;if(i==="absorber"){const n=D(e),r=n??D(t),a=this.container.interactivity.mouse.clickPosition;this.addAbsorber(r,a)}}async init(){this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,_(this.absorbers,i=>{this.addAbsorber(i)})}particleUpdate(i){for(const t of this.array)if(t.attract(i),i.destroyed)break}removeAbsorber(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}}class ri{constructor(){this.id="absorbers"}getPlugin(i){return new oi(i)}loadOptions(i,t){var e,n;!this.needsPlugin(i)&&!this.needsPlugin(t)||(t!=null&&t.absorbers&&(i.absorbers=_(t.absorbers,r=>{const a=new M;return a.load(r),a})),i.interactivity.modes.absorbers=_((n=(e=t==null?void 0:t.interactivity)==null?void 0:e.modes)==null?void 0:n.absorbers,r=>{const a=new M;return a.load(r),a}))}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.absorbers;return O(t)?!!t.length:t?!0:!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode&&E("absorber",i.interactivity.events.onClick.mode))}}async function ai(s,i=!0){await s.addPlugin(new ri,i)}class li{load(i){i&&(i.bottom!==void 0&&(this.bottom=f(i.bottom)),i.left!==void 0&&(this.left=f(i.left)),i.right!==void 0&&(this.right=f(i.right)),i.top!==void 0&&(this.top=f(i.top)))}}class hi extends R{constructor(){super(),this.value=3}}class di extends R{constructor(){super(),this.value={min:4,max:9}}}class ci{constructor(){this.count=1,this.factor=new hi,this.rate=new di,this.sizeOffset=!0}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.count!==void 0&&(this.count=i.count),this.factor.load(i.factor),this.rate.load(i.rate),this.particles=_(i.particles,t=>x({},t)),i.sizeOffset!==void 0&&(this.sizeOffset=i.sizeOffset),i.colorOffset&&(this.colorOffset=this.colorOffset??{},i.colorOffset.h!==void 0&&(this.colorOffset.h=i.colorOffset.h),i.colorOffset.s!==void 0&&(this.colorOffset.s=i.colorOffset.s),i.colorOffset.l!==void 0&&(this.colorOffset.l=i.colorOffset.l)))}}class ui{constructor(){this.bounds=new li,this.mode="none",this.split=new ci}load(i){i&&(i.mode&&(this.mode=i.mode),i.bounds&&this.bounds.load(i.bounds),this.split.load(i.split))}}function fi(s,i,t,e){const n=t.options.destroy;if(!n)return;const r=n.split,a=Q(s,i,t.options),o=W(r.factor),h=t.getFillColor();r.color?a.color.load(r.color):r.colorOffset&&h?a.color.load({value:{hsl:{h:h.h+u(r.colorOffset.h??0),s:h.s+u(r.colorOffset.s??0),l:h.l+u(r.colorOffset.l??0)}}}):a.color.load({value:{hsl:t.getFillColor()}}),a.move.load({center:{x:t.position.x,y:t.position.y,mode:"precise"}}),S(a.size.value)?a.size.value/=o:(a.size.value.min/=o,a.size.value.max/=o),a.load(e);const l=r.sizeOffset?f(-t.size.value,t.size.value):0,c={x:t.position.x+C(l),y:t.position.y+C(l)};return i.particles.addParticle(c,a,t.group,d=>d.size.value<.5?!1:(d.velocity.length=C(f(t.velocity.length,d.velocity.length)),d.splitCount=(t.splitCount??0)+1,d.unbreakable=!0,setTimeout(()=>{d.unbreakable=!1},500),!0))}function pi(s,i,t){const e=t.options.destroy;if(!e)return;const n=e.split;if(n.count>=0&&(t.splitCount===void 0||t.splitCount++>n.count))return;const r=W(n.rate),a=D(n.particles);for(let o=0;o=e.bottom||e.left!==void 0&&t.x<=e.left||e.right!==void 0&&t.x>=e.right||e.top!==void 0&&t.y<=e.top)&&i.destroy()}}async function yi(s,i=!0){await s.addParticleUpdater("destroy",t=>new mi(s,t),i)}class bi{randomPosition(i,t,e){const n=(d,p)=>{const m=b()/4,y=Math.atan(p/d*Math.tan(2*Math.PI*m)),g=b();return g<.25?y:g<.5?Math.PI-y:g<.75?Math.PI+y:-y},r=(d,p,m)=>d*p/Math.sqrt((p*Math.cos(m))**2+(d*Math.sin(m))**2),[a,o]=[t.width/2,t.height/2],h=n(a,o),l=r(a,o,h),c=e?l*Math.sqrt(b()):l;return{x:i.x+c*Math.cos(h),y:i.y+c*Math.sin(h)}}}class gi{constructor(){this.wait=!1}load(i){i&&(i.count!==void 0&&(this.count=i.count),i.delay!==void 0&&(this.delay=f(i.delay)),i.duration!==void 0&&(this.duration=f(i.duration)),i.wait!==void 0&&(this.wait=i.wait))}}class wi{constructor(){this.quantity=1,this.delay=.1}load(i){i!==void 0&&(i.quantity!==void 0&&(this.quantity=f(i.quantity)),i.delay!==void 0&&(this.delay=f(i.delay)))}}class H{constructor(){this.mode="percent",this.height=0,this.width=0}load(i){i!==void 0&&(i.mode!==void 0&&(this.mode=i.mode),i.height!==void 0&&(this.height=i.height),i.width!==void 0&&(this.width=i.width))}}class v{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new gi,this.rate=new wi,this.shape="square",this.startCount=0}load(i){i&&(i.autoPlay!==void 0&&(this.autoPlay=i.autoPlay),i.size!==void 0&&(this.size||(this.size=new H),this.size.load(i.size)),i.direction!==void 0&&(this.direction=i.direction),this.domId=i.domId,i.fill!==void 0&&(this.fill=i.fill),this.life.load(i.life),this.name=i.name,this.particles=_(i.particles,t=>x({},t)),this.rate.load(i.rate),i.shape!==void 0&&(this.shape=i.shape),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.spawnColor!==void 0&&(this.spawnColor===void 0&&(this.spawnColor=new X),this.spawnColor.load(i.spawnColor)),i.startCount!==void 0&&(this.startCount=i.startCount))}}class vi{constructor(i,t,e,n,r){var o,h;this.emitters=t,this.container=e,this._calcPosition=()=>B({size:this.container.canvas.size,position:this.options.position}),this._destroy=()=>{this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})},this._emit=()=>{if(this._paused)return;const l=u(this.options.rate.quantity);this._emitParticles(l)},this._emitParticles=l=>{var m,y;const c=this.getPosition(),d=this.getSize(),p=D(this._particlesOptions);for(let g=0;g{var c;if(this._paused)return;const l=((c=this.options.life)==null?void 0:c.duration)!==void 0?u(this.options.life.duration):void 0;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&l!==void 0&&l>0&&(this._duration=l*1e3)},this._setColorAnimation=(l,c,d)=>{const p=this.container;if(!l.enable)return c;const m=C(l.offset),y=u(this.options.rate.delay),g=1e3*y/p.retina.reduceFactor,P=u(l.speed??0);return(c+P*p.fpsLimit/g+m*3.6)%d},this._engine=i,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=r,n instanceof v?this.options=n:(this.options=new v,this.options.load(n)),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this._shape=(o=this._engine.emitterShapeManager)==null?void 0:o.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let a=x({},this.options.particles);a??(a={}),a.move??(a.move={}),(h=a.move).direction??(h.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=I(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=a,this.size=this.options.size??(()=>{const l=new H;return l.load({height:0,mode:"percent",width:0}),l})(),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:e,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const i=this.container,t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{x:(e.x+e.width/2)*i.retina.pixelRatio,y:(e.y+e.height/2)*i.retina.pixelRatio}}}return this.position}getSize(){const i=this.container;if(this.options.domId){const t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{width:e.width*i.retina.pixelRatio,height:e.height*i.retina.pixelRatio}}}return Y(this.size,i.canvas.size)}pause(){this._paused||delete this._emitDelay}play(){if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0))){if(this._emitDelay===void 0){const i=u(this.options.rate.delay);this._emitDelay=1e3*i/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}}resize(){const i=this._initialPosition;this.position=i&&V(i,this.container.canvas.size,w.origin)?i:this._calcPosition()}update(i){this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),this._duration!==void 0&&(this._currentDuration+=i.value,this._currentDuration>=this._duration&&(this.pause(),this._spawnDelay!==void 0&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),this._spawnDelay!==void 0&&(this._currentSpawnDelay+=i.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),this._emitDelay!==void 0&&(this._currentEmitDelay+=i.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay)))}}class _i{constructor(i,t){this.container=t,this._engine=i,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},t.getEmitter=e=>e===void 0||S(e)?this.array[e||0]:this.array.find(n=>n.name===e),t.addEmitter=(e,n)=>this.addEmitter(e,n),t.removeEmitter=e=>{const n=t.getEmitter(e);n&&this.removeEmitter(n)},t.playEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPlay()},t.pauseEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPause()}}addEmitter(i,t){const e=new v;e.load(i);const n=new vi(this._engine,this,this.container,e,t);return this.array.push(n),n}handleClickMode(i){const t=this.emitters,e=this.interactivityEmitters;if(i!=="emitter")return;let n;if(e&&O(e.value))if(e.value.length>0&&e.random.enable){n=[];const o=[];for(let h=0;h{this.addEmitter(o,a)})}async init(){if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,!!this.emitters)if(O(this.emitters))for(const i of this.emitters)this.addEmitter(i);else this.addEmitter(this.emitters)}pause(){for(const i of this.array)i.pause()}play(){for(const i of this.array)i.play()}removeEmitter(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}update(i){for(const t of this.array)t.update(i)}}const A=new Map;class Pi{constructor(i){this._engine=i}addShape(i,t){this.getShape(i)||A.set(i,t)}getShape(i){return A.get(i)}getSupportedShapes(){return A.keys()}}function T(s,i){return s+i*(b()-.5)}class Oi{randomPosition(i,t,e){if(e)return{x:T(i.x,t.width),y:T(i.y,t.height)};{const n=t.width/2,r=t.height/2,a=Math.floor(b()*4),o=(b()-.5)*2;switch(a){case 0:return{x:i.x+o*n,y:i.y-r};case 1:return{x:i.x-n,y:i.y+o*r};case 2:return{x:i.x+o*n,y:i.y+r};case 3:default:return{x:i.x+n,y:i.y+o*r}}}}}class zi{constructor(i){this._engine=i,this.id="emitters"}getPlugin(i){return new _i(this._engine,i)}loadOptions(i,t){var n,r;if(!this.needsPlugin(i)&&!this.needsPlugin(t))return;t!=null&&t.emitters&&(i.emitters=_(t.emitters,a=>{const o=new v;return o.load(a),o}));const e=(r=(n=t==null?void 0:t.interactivity)==null?void 0:n.modes)==null?void 0:r.emitters;if(e)if(O(e))i.interactivity.modes.emitters={random:{count:1,enable:!0},value:e.map(a=>{const o=new v;return o.load(a),o})};else{const a=e;if(a.value!==void 0)if(O(a.value))i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:a.value.map(o=>{const h=new v;return h.load(o),h})};else{const o=new v;o.load(a.value),i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:o}}else(i.interactivity.modes.emitters={random:{count:1,enable:!1},value:new v}).value.load(e)}}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.emitters;return O(t)&&!!t.length||t!==void 0||!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode)&&E("emitter",i.interactivity.events.onClick.mode)}}async function xi(s,i=!0){s.emitterShapeManager||(s.emitterShapeManager=new Pi(s)),s.addEmitterShape||(s.addEmitterShape=(e,n)=>{var r;(r=s.emitterShapeManager)==null||r.addShape(e,n)});const t=new zi(s);await s.addPlugin(t,i),s.addEmitterShape("circle",new bi),s.addEmitterShape("square",new Oi)}class Si{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(i){i&&(i.delay!==void 0&&(this.delay=i.delay),i.quantity!==void 0&&(this.quantity=i.quantity),i.particles!==void 0&&(this.particles=x({},i.particles)),i.pauseOnStop!==void 0&&(this.pauseOnStop=i.pauseOnStop))}}class ki extends ii{constructor(i){super(i),this._delay=0}clear(){}init(){}async interact(i){var l,c,d,p;const t=this.container,{interactivity:e}=t;if(!t.retina.reduceFactor)return;const n=t.actualOptions,r=n.interactivity.modes.trail;if(!r)return;const a=r.delay*1e3/this.container.retina.reduceFactor;if(this._delaynew ki(t),i)}function Di(s){const i=s.options.roll;if(!(i!=null&&i.enable)){s.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0};return}if(s.roll={enable:i.enable,horizontal:i.mode==="horizontal"||i.mode==="both",vertical:i.mode==="vertical"||i.mode==="both",angle:b()*Math.PI*2,speed:u(i.speed)/360},i.backColor)s.backColor=I(i.backColor);else if(i.darken.enable&&i.enlighten.enable){const t=b()>=.5?"darken":"enlighten";s.roll.alter={type:t,value:u(t==="darken"?i.darken.value:i.enlighten.value)}}else i.darken.enable?s.roll.alter={type:"darken",value:u(i.darken.value)}:i.enlighten.enable&&(s.roll.alter={type:"enlighten",value:u(i.enlighten.value)})}function Ei(s,i){const t=s.options.roll,e=s.roll;if(!e||!(t!=null&&t.enable))return;const n=e.speed*i.factor,r=2*Math.PI;e.angle+=n,e.angle>r&&(e.angle-=r)}class q{constructor(){this.enable=!1,this.value=0}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.value!==void 0&&(this.value=f(i.value)))}}class Mi{constructor(){this.darken=new q,this.enable=!1,this.enlighten=new q,this.mode="vertical",this.speed=25}load(i){i&&(i.backColor!==void 0&&(this.backColor=z.create(this.backColor,i.backColor)),this.darken.load(i.darken),i.enable!==void 0&&(this.enable=i.enable),this.enlighten.load(i.enlighten),i.mode!==void 0&&(this.mode=i.mode),i.speed!==void 0&&(this.speed=f(i.speed)))}}class Ri{getTransformValues(i){var r;const t=((r=i.roll)==null?void 0:r.enable)&&i.roll,e=t&&t.horizontal,n=t&&t.vertical;return{a:e?Math.cos(t.angle):void 0,d:n?Math.sin(t.angle):void 0}}init(i){Di(i)}isEnabled(i){const t=i.options.roll;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.roll||(i.roll=new Mi);for(const e of t)i.roll.load(e==null?void 0:e.roll)}update(i,t){this.isEnabled(i)&&Ei(i,t)}}async function Ai(s,i=!0){await s.addParticleUpdater("roll",()=>new Ri,i)}class Ii{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0&&(this.speed=f(i.speed)),i.decay!==void 0&&(this.decay=f(i.decay)),i.sync!==void 0&&(this.sync=i.sync))}}class Fi extends R{constructor(){super(),this.animation=new Ii,this.direction="clockwise",this.enable=!1,this.value=0}load(i){super.load(i),i&&(this.animation.load(i.animation),i.direction!==void 0&&(this.direction=i.direction),i.enable!==void 0&&(this.enable=i.enable))}}function Ti(s,i){if(!s.tilt||!s.options.tilt)return;const t=s.options.tilt,e=t.animation,n=(s.tilt.velocity??0)*i.factor,r=2*Math.PI,a=s.tilt.decay??1;if(e.enable){switch(s.tilt.status){case"increasing":s.tilt.value+=n,s.tilt.value>r&&(s.tilt.value-=r);break;case"decreasing":default:s.tilt.value-=n,s.tilt.value<0&&(s.tilt.value+=r);break}s.tilt.velocity&&a!==1&&(s.tilt.velocity*=a)}}class qi{constructor(i){this.container=i}getTransformValues(i){var e;const t=((e=i.tilt)==null?void 0:e.enable)&&i.tilt;return{b:t?Math.cos(t.value)*t.cosDirection:void 0,c:t?Math.sin(t.value)*t.sinDirection:void 0}}init(i){var r;const t=i.options.tilt;if(!t)return;i.tilt={enable:t.enable,value:u(t.value)*Math.PI/180,sinDirection:b()>=.5?1:-1,cosDirection:b()>=.5?1:-1};let e=t.direction;switch(e==="random"&&(e=Math.floor(b()*2)>0?"counter-clockwise":"clockwise"),e){case"counter-clockwise":case"counterClockwise":i.tilt.status="decreasing";break;case"clockwise":i.tilt.status="increasing";break}const n=(r=i.options.tilt)==null?void 0:r.animation;n!=null&&n.enable&&(i.tilt.decay=1-u(n.decay),i.tilt.velocity=u(n.speed)/360*this.container.retina.reduceFactor,n.sync||(i.tilt.velocity*=b()))}isEnabled(i){var e;const t=(e=i.options.tilt)==null?void 0:e.animation;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.tilt||(i.tilt=new Fi);for(const e of t)i.tilt.load(e==null?void 0:e.tilt)}update(i,t){this.isEnabled(i)&&Ti(i,t)}}async function Ui(s,i=!0){await s.addParticleUpdater("tilt",t=>new qi(t),i)}class U{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=f(i.opacity)))}}class Bi{constructor(){this.lines=new U,this.particles=new U}load(i){i&&(this.lines.load(i.lines),this.particles.load(i.particles))}}class Vi{getColorStyles(i,t,e,n){const r=i.options,a=r.twinkle;if(!a)return{};const o=a.particles,h=o.enable&&b()new Vi,i)}class Hi{constructor(){this.angle=50,this.move=10}load(i){i&&(i.angle!==void 0&&(this.angle=f(i.angle)),i.move!==void 0&&(this.move=f(i.move)))}}class Li{constructor(){this.distance=5,this.enable=!1,this.speed=new Hi}load(i){if(i&&(i.distance!==void 0&&(this.distance=f(i.distance)),i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0))if(S(i.speed))this.speed.load({angle:i.speed});else{const t=i.speed;t.min!==void 0?this.speed.load({angle:t}):this.speed.load(i.speed)}}}function ji(s,i){const{wobble:t}=s.options,{wobble:e}=s;if(!(t!=null&&t.enable)||!e)return;const n=e.angleSpeed*i.factor,r=e.moveSpeed*i.factor,a=r*((s.retina.wobbleDistance??0)*i.factor)/(1e3/60),o=2*Math.PI,{position:h}=s;e.angle+=n,e.angle>o&&(e.angle-=o),h.x+=a*Math.cos(e.angle),h.y+=a*Math.abs(Math.sin(e.angle))}class Gi{constructor(i){this.container=i}init(i){const t=i.options.wobble;t!=null&&t.enable?i.wobble={angle:b()*Math.PI*2,angleSpeed:u(t.speed.angle)/360,moveSpeed:u(t.speed.move)/10}:i.wobble={angle:0,angleSpeed:0,moveSpeed:0},i.retina.wobbleDistance=u((t==null?void 0:t.distance)??0)*this.container.retina.pixelRatio}isEnabled(i){var t;return!i.destroyed&&!i.spawning&&!!((t=i.options.wobble)!=null&&t.enable)}loadOptions(i,...t){i.wobble||(i.wobble=new Li);for(const e of t)i.wobble.load(e==null?void 0:e.wobble)}update(i,t){this.isEnabled(i)&&ji(i,t)}}async function Ji(s,i=!0){await s.addParticleUpdater("wobble",t=>new Gi(t),i)}async function nt(s,i=!0){await yi(s,!1),await Ai(s,!1),await Ui(s,!1),await Wi(s,!1),await Ji(s,!1),await Ci(s,!1),await ai(s,!1),await xi(s,!1),await ti(s,i)}export{nt as loadFull}; +import{V as R,i as S,O as z,s as f,c as B,a as w,b as j,g as F,d as b,e as u,r as G,f as J,h as K,j as V,k as D,l as _,m as O,n as E,o as x,p as W,q as Q,t as C,A as X,u as I,v as Y,w as Z,x as $,y as N}from"./index.255917c4.js";import{E as ii,l as ti}from"./index.1fe5091e.js";import"./entry.07c0747b.js";import"./swiper-vue.799c8af8.js";import"./Icon.9eb704ff.js";import"./index.b8fe2cb5.js";import"./ContentRenderer.2b3f34a3.js";import"./ContentRendererMarkdown.vue.fb31b41a.js";import"./index.b0fe9fac.js";import"./preview.880535c1.js";import"./query.35f44448.js";class ei{constructor(){this.radius=0,this.mass=0}load(i){i&&(i.mass!==void 0&&(this.mass=i.mass),i.radius!==void 0&&(this.radius=i.radius))}}class si extends R{constructor(){super(),this.density=5,this.value=50,this.limit=new ei}load(i){i&&(super.load(i),i.density!==void 0&&(this.density=i.density),S(i.limit)?this.limit.radius=i.limit:this.limit.load(i.limit))}}class M{constructor(){this.color=new z,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new si}load(i){i!==void 0&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.draggable!==void 0&&(this.draggable=i.draggable),this.name=i.name,i.opacity!==void 0&&(this.opacity=i.opacity),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.size!==void 0&&this.size.load(i.size),i.destroy!==void 0&&(this.destroy=i.destroy),i.orbits!==void 0&&(this.orbits=i.orbits))}}class ni{constructor(i,t,e,n){var a;this.absorbers=i,this.container=t,this._calcPosition=()=>{const o=B({size:this.container.canvas.size,position:this.options.position});return w.create(o.x,o.y)},this._updateParticlePosition=(o,h)=>{if(o.destroyed)return;const l=this.container,c=l.canvas.size;if(o.needsNewPosition){const d=j({size:c});o.position.setTo(d),o.velocity.setTo(o.initialVelocity),o.absorberOrbit=void 0,o.needsNewPosition=!1}if(this.options.orbits){if(o.absorberOrbit===void 0&&(o.absorberOrbit=w.create(0,0),o.absorberOrbit.length=F(o.getPosition(),this.position),o.absorberOrbit.angle=b()*Math.PI*2),o.absorberOrbit.length<=this.size&&!this.options.destroy){const g=Math.min(c.width,c.height);o.absorberOrbit.length=g*(1+(b()*.2-.1))}o.absorberOrbitDirection===void 0&&(o.absorberOrbitDirection=o.velocity.x>=0?"clockwise":"counter-clockwise");const d=o.absorberOrbit.length,p=o.absorberOrbit.angle,m=o.absorberOrbitDirection;o.velocity.setTo(w.origin);const y={x:m==="clockwise"?Math.cos:Math.sin,y:m==="clockwise"?Math.sin:Math.cos};o.position.x=this.position.x+d*y.x(p),o.position.y=this.position.y+d*y.y(p),o.absorberOrbit.length-=h.length,o.absorberOrbit.angle+=(o.retina.moveSpeed??0)*l.retina.pixelRatio/100*l.retina.reduceFactor}else{const d=w.origin;d.length=h.length,d.angle=h.angle,o.velocity.addTo(d)}},this.initialPosition=n?w.create(n.x,n.y):void 0,e instanceof M?this.options=e:(this.options=new M,this.options.load(e)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=u(this.options.size.value)*t.retina.pixelRatio,this.mass=this.size*this.options.size.density*t.retina.reduceFactor;const r=this.options.size.limit;this.limit={radius:r.radius*t.retina.pixelRatio*t.retina.reduceFactor,mass:r.mass},this.color=G(this.options.color)??{b:0,g:0,r:0},this.position=((a=this.initialPosition)==null?void 0:a.copy())??this._calcPosition()}attract(i){const t=this.container,e=this.options;if(e.draggable){const l=t.interactivity.mouse;l.clicking&&l.downPosition?F(this.position,l.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&l.position&&(this.position.x=l.position.x,this.position.y=l.position.y)}const n=i.getPosition(),{dx:r,dy:a,distance:o}=J(this.position,n),h=w.create(r,a);if(h.length=this.mass/Math.pow(o,2)*t.retina.reduceFactor,oi.getRadius()&&ot===void 0||S(t)?this.array[t||0]:this.array.find(e=>e.name===t),i.addAbsorber=(t,e)=>this.addAbsorber(t,e)}addAbsorber(i,t){const e=new ni(this,this.container,i,t);return this.array.push(e),e}draw(i){for(const t of this.array)t.draw(i)}handleClickMode(i){const t=this.absorbers,e=this.interactivityAbsorbers;if(i==="absorber"){const n=D(e),r=n??D(t),a=this.container.interactivity.mouse.clickPosition;this.addAbsorber(r,a)}}async init(){this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,_(this.absorbers,i=>{this.addAbsorber(i)})}particleUpdate(i){for(const t of this.array)if(t.attract(i),i.destroyed)break}removeAbsorber(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}}class ri{constructor(){this.id="absorbers"}getPlugin(i){return new oi(i)}loadOptions(i,t){var e,n;!this.needsPlugin(i)&&!this.needsPlugin(t)||(t!=null&&t.absorbers&&(i.absorbers=_(t.absorbers,r=>{const a=new M;return a.load(r),a})),i.interactivity.modes.absorbers=_((n=(e=t==null?void 0:t.interactivity)==null?void 0:e.modes)==null?void 0:n.absorbers,r=>{const a=new M;return a.load(r),a}))}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.absorbers;return O(t)?!!t.length:t?!0:!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode&&E("absorber",i.interactivity.events.onClick.mode))}}async function ai(s,i=!0){await s.addPlugin(new ri,i)}class li{load(i){i&&(i.bottom!==void 0&&(this.bottom=f(i.bottom)),i.left!==void 0&&(this.left=f(i.left)),i.right!==void 0&&(this.right=f(i.right)),i.top!==void 0&&(this.top=f(i.top)))}}class hi extends R{constructor(){super(),this.value=3}}class di extends R{constructor(){super(),this.value={min:4,max:9}}}class ci{constructor(){this.count=1,this.factor=new hi,this.rate=new di,this.sizeOffset=!0}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.count!==void 0&&(this.count=i.count),this.factor.load(i.factor),this.rate.load(i.rate),this.particles=_(i.particles,t=>x({},t)),i.sizeOffset!==void 0&&(this.sizeOffset=i.sizeOffset),i.colorOffset&&(this.colorOffset=this.colorOffset??{},i.colorOffset.h!==void 0&&(this.colorOffset.h=i.colorOffset.h),i.colorOffset.s!==void 0&&(this.colorOffset.s=i.colorOffset.s),i.colorOffset.l!==void 0&&(this.colorOffset.l=i.colorOffset.l)))}}class ui{constructor(){this.bounds=new li,this.mode="none",this.split=new ci}load(i){i&&(i.mode&&(this.mode=i.mode),i.bounds&&this.bounds.load(i.bounds),this.split.load(i.split))}}function fi(s,i,t,e){const n=t.options.destroy;if(!n)return;const r=n.split,a=Q(s,i,t.options),o=W(r.factor),h=t.getFillColor();r.color?a.color.load(r.color):r.colorOffset&&h?a.color.load({value:{hsl:{h:h.h+u(r.colorOffset.h??0),s:h.s+u(r.colorOffset.s??0),l:h.l+u(r.colorOffset.l??0)}}}):a.color.load({value:{hsl:t.getFillColor()}}),a.move.load({center:{x:t.position.x,y:t.position.y,mode:"precise"}}),S(a.size.value)?a.size.value/=o:(a.size.value.min/=o,a.size.value.max/=o),a.load(e);const l=r.sizeOffset?f(-t.size.value,t.size.value):0,c={x:t.position.x+C(l),y:t.position.y+C(l)};return i.particles.addParticle(c,a,t.group,d=>d.size.value<.5?!1:(d.velocity.length=C(f(t.velocity.length,d.velocity.length)),d.splitCount=(t.splitCount??0)+1,d.unbreakable=!0,setTimeout(()=>{d.unbreakable=!1},500),!0))}function pi(s,i,t){const e=t.options.destroy;if(!e)return;const n=e.split;if(n.count>=0&&(t.splitCount===void 0||t.splitCount++>n.count))return;const r=W(n.rate),a=D(n.particles);for(let o=0;o=e.bottom||e.left!==void 0&&t.x<=e.left||e.right!==void 0&&t.x>=e.right||e.top!==void 0&&t.y<=e.top)&&i.destroy()}}async function yi(s,i=!0){await s.addParticleUpdater("destroy",t=>new mi(s,t),i)}class bi{randomPosition(i,t,e){const n=(d,p)=>{const m=b()/4,y=Math.atan(p/d*Math.tan(2*Math.PI*m)),g=b();return g<.25?y:g<.5?Math.PI-y:g<.75?Math.PI+y:-y},r=(d,p,m)=>d*p/Math.sqrt((p*Math.cos(m))**2+(d*Math.sin(m))**2),[a,o]=[t.width/2,t.height/2],h=n(a,o),l=r(a,o,h),c=e?l*Math.sqrt(b()):l;return{x:i.x+c*Math.cos(h),y:i.y+c*Math.sin(h)}}}class gi{constructor(){this.wait=!1}load(i){i&&(i.count!==void 0&&(this.count=i.count),i.delay!==void 0&&(this.delay=f(i.delay)),i.duration!==void 0&&(this.duration=f(i.duration)),i.wait!==void 0&&(this.wait=i.wait))}}class wi{constructor(){this.quantity=1,this.delay=.1}load(i){i!==void 0&&(i.quantity!==void 0&&(this.quantity=f(i.quantity)),i.delay!==void 0&&(this.delay=f(i.delay)))}}class H{constructor(){this.mode="percent",this.height=0,this.width=0}load(i){i!==void 0&&(i.mode!==void 0&&(this.mode=i.mode),i.height!==void 0&&(this.height=i.height),i.width!==void 0&&(this.width=i.width))}}class v{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new gi,this.rate=new wi,this.shape="square",this.startCount=0}load(i){i&&(i.autoPlay!==void 0&&(this.autoPlay=i.autoPlay),i.size!==void 0&&(this.size||(this.size=new H),this.size.load(i.size)),i.direction!==void 0&&(this.direction=i.direction),this.domId=i.domId,i.fill!==void 0&&(this.fill=i.fill),this.life.load(i.life),this.name=i.name,this.particles=_(i.particles,t=>x({},t)),this.rate.load(i.rate),i.shape!==void 0&&(this.shape=i.shape),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.spawnColor!==void 0&&(this.spawnColor===void 0&&(this.spawnColor=new X),this.spawnColor.load(i.spawnColor)),i.startCount!==void 0&&(this.startCount=i.startCount))}}class vi{constructor(i,t,e,n,r){var o,h;this.emitters=t,this.container=e,this._calcPosition=()=>B({size:this.container.canvas.size,position:this.options.position}),this._destroy=()=>{this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})},this._emit=()=>{if(this._paused)return;const l=u(this.options.rate.quantity);this._emitParticles(l)},this._emitParticles=l=>{var m,y;const c=this.getPosition(),d=this.getSize(),p=D(this._particlesOptions);for(let g=0;g{var c;if(this._paused)return;const l=((c=this.options.life)==null?void 0:c.duration)!==void 0?u(this.options.life.duration):void 0;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&l!==void 0&&l>0&&(this._duration=l*1e3)},this._setColorAnimation=(l,c,d)=>{const p=this.container;if(!l.enable)return c;const m=C(l.offset),y=u(this.options.rate.delay),g=1e3*y/p.retina.reduceFactor,P=u(l.speed??0);return(c+P*p.fpsLimit/g+m*3.6)%d},this._engine=i,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=r,n instanceof v?this.options=n:(this.options=new v,this.options.load(n)),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this._shape=(o=this._engine.emitterShapeManager)==null?void 0:o.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let a=x({},this.options.particles);a??(a={}),a.move??(a.move={}),(h=a.move).direction??(h.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=I(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=a,this.size=this.options.size??(()=>{const l=new H;return l.load({height:0,mode:"percent",width:0}),l})(),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:e,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const i=this.container,t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{x:(e.x+e.width/2)*i.retina.pixelRatio,y:(e.y+e.height/2)*i.retina.pixelRatio}}}return this.position}getSize(){const i=this.container;if(this.options.domId){const t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{width:e.width*i.retina.pixelRatio,height:e.height*i.retina.pixelRatio}}}return Y(this.size,i.canvas.size)}pause(){this._paused||delete this._emitDelay}play(){if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0))){if(this._emitDelay===void 0){const i=u(this.options.rate.delay);this._emitDelay=1e3*i/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}}resize(){const i=this._initialPosition;this.position=i&&V(i,this.container.canvas.size,w.origin)?i:this._calcPosition()}update(i){this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),this._duration!==void 0&&(this._currentDuration+=i.value,this._currentDuration>=this._duration&&(this.pause(),this._spawnDelay!==void 0&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),this._spawnDelay!==void 0&&(this._currentSpawnDelay+=i.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),this._emitDelay!==void 0&&(this._currentEmitDelay+=i.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay)))}}class _i{constructor(i,t){this.container=t,this._engine=i,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},t.getEmitter=e=>e===void 0||S(e)?this.array[e||0]:this.array.find(n=>n.name===e),t.addEmitter=(e,n)=>this.addEmitter(e,n),t.removeEmitter=e=>{const n=t.getEmitter(e);n&&this.removeEmitter(n)},t.playEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPlay()},t.pauseEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPause()}}addEmitter(i,t){const e=new v;e.load(i);const n=new vi(this._engine,this,this.container,e,t);return this.array.push(n),n}handleClickMode(i){const t=this.emitters,e=this.interactivityEmitters;if(i!=="emitter")return;let n;if(e&&O(e.value))if(e.value.length>0&&e.random.enable){n=[];const o=[];for(let h=0;h{this.addEmitter(o,a)})}async init(){if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,!!this.emitters)if(O(this.emitters))for(const i of this.emitters)this.addEmitter(i);else this.addEmitter(this.emitters)}pause(){for(const i of this.array)i.pause()}play(){for(const i of this.array)i.play()}removeEmitter(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}update(i){for(const t of this.array)t.update(i)}}const A=new Map;class Pi{constructor(i){this._engine=i}addShape(i,t){this.getShape(i)||A.set(i,t)}getShape(i){return A.get(i)}getSupportedShapes(){return A.keys()}}function T(s,i){return s+i*(b()-.5)}class Oi{randomPosition(i,t,e){if(e)return{x:T(i.x,t.width),y:T(i.y,t.height)};{const n=t.width/2,r=t.height/2,a=Math.floor(b()*4),o=(b()-.5)*2;switch(a){case 0:return{x:i.x+o*n,y:i.y-r};case 1:return{x:i.x-n,y:i.y+o*r};case 2:return{x:i.x+o*n,y:i.y+r};case 3:default:return{x:i.x+n,y:i.y+o*r}}}}}class zi{constructor(i){this._engine=i,this.id="emitters"}getPlugin(i){return new _i(this._engine,i)}loadOptions(i,t){var n,r;if(!this.needsPlugin(i)&&!this.needsPlugin(t))return;t!=null&&t.emitters&&(i.emitters=_(t.emitters,a=>{const o=new v;return o.load(a),o}));const e=(r=(n=t==null?void 0:t.interactivity)==null?void 0:n.modes)==null?void 0:r.emitters;if(e)if(O(e))i.interactivity.modes.emitters={random:{count:1,enable:!0},value:e.map(a=>{const o=new v;return o.load(a),o})};else{const a=e;if(a.value!==void 0)if(O(a.value))i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:a.value.map(o=>{const h=new v;return h.load(o),h})};else{const o=new v;o.load(a.value),i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:o}}else(i.interactivity.modes.emitters={random:{count:1,enable:!1},value:new v}).value.load(e)}}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.emitters;return O(t)&&!!t.length||t!==void 0||!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode)&&E("emitter",i.interactivity.events.onClick.mode)}}async function xi(s,i=!0){s.emitterShapeManager||(s.emitterShapeManager=new Pi(s)),s.addEmitterShape||(s.addEmitterShape=(e,n)=>{var r;(r=s.emitterShapeManager)==null||r.addShape(e,n)});const t=new zi(s);await s.addPlugin(t,i),s.addEmitterShape("circle",new bi),s.addEmitterShape("square",new Oi)}class Si{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(i){i&&(i.delay!==void 0&&(this.delay=i.delay),i.quantity!==void 0&&(this.quantity=i.quantity),i.particles!==void 0&&(this.particles=x({},i.particles)),i.pauseOnStop!==void 0&&(this.pauseOnStop=i.pauseOnStop))}}class ki extends ii{constructor(i){super(i),this._delay=0}clear(){}init(){}async interact(i){var l,c,d,p;const t=this.container,{interactivity:e}=t;if(!t.retina.reduceFactor)return;const n=t.actualOptions,r=n.interactivity.modes.trail;if(!r)return;const a=r.delay*1e3/this.container.retina.reduceFactor;if(this._delaynew ki(t),i)}function Di(s){const i=s.options.roll;if(!(i!=null&&i.enable)){s.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0};return}if(s.roll={enable:i.enable,horizontal:i.mode==="horizontal"||i.mode==="both",vertical:i.mode==="vertical"||i.mode==="both",angle:b()*Math.PI*2,speed:u(i.speed)/360},i.backColor)s.backColor=I(i.backColor);else if(i.darken.enable&&i.enlighten.enable){const t=b()>=.5?"darken":"enlighten";s.roll.alter={type:t,value:u(t==="darken"?i.darken.value:i.enlighten.value)}}else i.darken.enable?s.roll.alter={type:"darken",value:u(i.darken.value)}:i.enlighten.enable&&(s.roll.alter={type:"enlighten",value:u(i.enlighten.value)})}function Ei(s,i){const t=s.options.roll,e=s.roll;if(!e||!(t!=null&&t.enable))return;const n=e.speed*i.factor,r=2*Math.PI;e.angle+=n,e.angle>r&&(e.angle-=r)}class q{constructor(){this.enable=!1,this.value=0}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.value!==void 0&&(this.value=f(i.value)))}}class Mi{constructor(){this.darken=new q,this.enable=!1,this.enlighten=new q,this.mode="vertical",this.speed=25}load(i){i&&(i.backColor!==void 0&&(this.backColor=z.create(this.backColor,i.backColor)),this.darken.load(i.darken),i.enable!==void 0&&(this.enable=i.enable),this.enlighten.load(i.enlighten),i.mode!==void 0&&(this.mode=i.mode),i.speed!==void 0&&(this.speed=f(i.speed)))}}class Ri{getTransformValues(i){var r;const t=((r=i.roll)==null?void 0:r.enable)&&i.roll,e=t&&t.horizontal,n=t&&t.vertical;return{a:e?Math.cos(t.angle):void 0,d:n?Math.sin(t.angle):void 0}}init(i){Di(i)}isEnabled(i){const t=i.options.roll;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.roll||(i.roll=new Mi);for(const e of t)i.roll.load(e==null?void 0:e.roll)}update(i,t){this.isEnabled(i)&&Ei(i,t)}}async function Ai(s,i=!0){await s.addParticleUpdater("roll",()=>new Ri,i)}class Ii{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0&&(this.speed=f(i.speed)),i.decay!==void 0&&(this.decay=f(i.decay)),i.sync!==void 0&&(this.sync=i.sync))}}class Fi extends R{constructor(){super(),this.animation=new Ii,this.direction="clockwise",this.enable=!1,this.value=0}load(i){super.load(i),i&&(this.animation.load(i.animation),i.direction!==void 0&&(this.direction=i.direction),i.enable!==void 0&&(this.enable=i.enable))}}function Ti(s,i){if(!s.tilt||!s.options.tilt)return;const t=s.options.tilt,e=t.animation,n=(s.tilt.velocity??0)*i.factor,r=2*Math.PI,a=s.tilt.decay??1;if(e.enable){switch(s.tilt.status){case"increasing":s.tilt.value+=n,s.tilt.value>r&&(s.tilt.value-=r);break;case"decreasing":default:s.tilt.value-=n,s.tilt.value<0&&(s.tilt.value+=r);break}s.tilt.velocity&&a!==1&&(s.tilt.velocity*=a)}}class qi{constructor(i){this.container=i}getTransformValues(i){var e;const t=((e=i.tilt)==null?void 0:e.enable)&&i.tilt;return{b:t?Math.cos(t.value)*t.cosDirection:void 0,c:t?Math.sin(t.value)*t.sinDirection:void 0}}init(i){var r;const t=i.options.tilt;if(!t)return;i.tilt={enable:t.enable,value:u(t.value)*Math.PI/180,sinDirection:b()>=.5?1:-1,cosDirection:b()>=.5?1:-1};let e=t.direction;switch(e==="random"&&(e=Math.floor(b()*2)>0?"counter-clockwise":"clockwise"),e){case"counter-clockwise":case"counterClockwise":i.tilt.status="decreasing";break;case"clockwise":i.tilt.status="increasing";break}const n=(r=i.options.tilt)==null?void 0:r.animation;n!=null&&n.enable&&(i.tilt.decay=1-u(n.decay),i.tilt.velocity=u(n.speed)/360*this.container.retina.reduceFactor,n.sync||(i.tilt.velocity*=b()))}isEnabled(i){var e;const t=(e=i.options.tilt)==null?void 0:e.animation;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.tilt||(i.tilt=new Fi);for(const e of t)i.tilt.load(e==null?void 0:e.tilt)}update(i,t){this.isEnabled(i)&&Ti(i,t)}}async function Ui(s,i=!0){await s.addParticleUpdater("tilt",t=>new qi(t),i)}class U{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=f(i.opacity)))}}class Bi{constructor(){this.lines=new U,this.particles=new U}load(i){i&&(this.lines.load(i.lines),this.particles.load(i.particles))}}class Vi{getColorStyles(i,t,e,n){const r=i.options,a=r.twinkle;if(!a)return{};const o=a.particles,h=o.enable&&b()new Vi,i)}class Hi{constructor(){this.angle=50,this.move=10}load(i){i&&(i.angle!==void 0&&(this.angle=f(i.angle)),i.move!==void 0&&(this.move=f(i.move)))}}class Li{constructor(){this.distance=5,this.enable=!1,this.speed=new Hi}load(i){if(i&&(i.distance!==void 0&&(this.distance=f(i.distance)),i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0))if(S(i.speed))this.speed.load({angle:i.speed});else{const t=i.speed;t.min!==void 0?this.speed.load({angle:t}):this.speed.load(i.speed)}}}function ji(s,i){const{wobble:t}=s.options,{wobble:e}=s;if(!(t!=null&&t.enable)||!e)return;const n=e.angleSpeed*i.factor,r=e.moveSpeed*i.factor,a=r*((s.retina.wobbleDistance??0)*i.factor)/(1e3/60),o=2*Math.PI,{position:h}=s;e.angle+=n,e.angle>o&&(e.angle-=o),h.x+=a*Math.cos(e.angle),h.y+=a*Math.abs(Math.sin(e.angle))}class Gi{constructor(i){this.container=i}init(i){const t=i.options.wobble;t!=null&&t.enable?i.wobble={angle:b()*Math.PI*2,angleSpeed:u(t.speed.angle)/360,moveSpeed:u(t.speed.move)/10}:i.wobble={angle:0,angleSpeed:0,moveSpeed:0},i.retina.wobbleDistance=u((t==null?void 0:t.distance)??0)*this.container.retina.pixelRatio}isEnabled(i){var t;return!i.destroyed&&!i.spawning&&!!((t=i.options.wobble)!=null&&t.enable)}loadOptions(i,...t){i.wobble||(i.wobble=new Li);for(const e of t)i.wobble.load(e==null?void 0:e.wobble)}update(i,t){this.isEnabled(i)&&ji(i,t)}}async function Ji(s,i=!0){await s.addParticleUpdater("wobble",t=>new Gi(t),i)}async function nt(s,i=!0){await yi(s,!1),await Ai(s,!1),await Ui(s,!1),await Wi(s,!1),await Ji(s,!1),await Ci(s,!1),await ai(s,!1),await xi(s,!1),await ti(s,i)}export{nt as loadFull}; diff --git a/_nuxt/index.c2b4c9ea.css b/_nuxt/index.c2b4c9ea.css new file mode 100644 index 0000000..9f7dd6a --- /dev/null +++ b/_nuxt/index.c2b4c9ea.css @@ -0,0 +1 @@ +.v-enter-active,.v-leave-active{transition:opacity 2s ease-in-out}.v-enter-from,.v-leave-to{opacity:0}.topbar[data-v-ca1cc8a0]{align-items:center;display:flex;gap:.5rem;margin-right:1rem;padding-top:1rem;position:fixed;right:0;z-index:10}.switch[data-v-ca1cc8a0]{border-radius:9999px;cursor:pointer;opacity:.6;padding:.5rem;z-index:40}.switch[data-v-ca1cc8a0]:hover{--tw-bg-opacity:1;background-color:#c7d2fe;background-color:rgb(199 210 254/var(--tw-bg-opacity));opacity:1}:is(.dark .switch[data-v-ca1cc8a0]):hover{--tw-bg-opacity:1;background-color:#083344;background-color:rgb(8 51 68/var(--tw-bg-opacity))}.tabspace[data-v-3f889e56]{display:none}@media (min-width:768px){.tabspace[data-v-3f889e56]{display:inline}}.intro[data-v-3f889e56]{font-size:1.5rem;font-weight:700;line-height:2rem;margin-top:5rem;white-space:nowrap;width:-moz-fit-content;width:fit-content}@media (min-width:640px){.intro[data-v-3f889e56]{font-size:2.25rem;line-height:2.5rem}}.intro .line[data-v-3f889e56]{display:flex}.intro .line .letter[data-v-3f889e56]{visibility:hidden}.swipe{position:relative}.path{background:rgba(149,147,241,.5);border-radius:40px;height:20px;left:70px;position:absolute;top:20px;visibility:hidden;width:20px}.hand-icon{background-image:url(https://i.postimg.cc/8556gm60/hand.png);background-position:50%;background-repeat:no-repeat;filter:invert(81%) sepia(39%) saturate(5741%) hue-rotate(201deg) brightness(93%) contrast(103%);height:100px;opacity:.6;position:relative;transform-origin:52% 62%;width:100px}.dark .hand-icon{filter:none}@keyframes swipe-hand{25%{transform:translate(20px) rotate(30deg)}50%{transform:translate(-20px) rotate(-15deg)}to{transform:translate(0) rotate(0)}}@keyframes swipe-dot{12%{visibility:visible;width:40px}25%{transform:translate(-65px);visibility:visible;width:20px}26%{visibility:hidden}}.swipe-tip[data-v-4d09d87c]{justify-content:center}.intro-info[data-v-4d09d87c],.swipe-tip[data-v-4d09d87c]{display:flex}.intro-info[data-v-4d09d87c]{-moz-column-gap:1rem;column-gap:1rem;flex-direction:column;font-size:1.125rem;line-height:1.75rem;margin-top:6rem;row-gap:3rem;width:100%}@media (min-width:640px){.intro-info[data-v-4d09d87c]{flex-direction:row;font-size:1.25rem;justify-content:space-between;line-height:1.75rem}}.info-item[data-v-4d09d87c]{align-items:center;display:flex;gap:.5rem}.info-item.contact[data-v-4d09d87c]{order:2}@media (min-width:640px){.info-item.contact[data-v-4d09d87c]{order:1}}.info-item.more[data-v-4d09d87c]{order:1}@media (min-width:640px){.info-item.more[data-v-4d09d87c]{order:2}}.about[data-v-58f0547e]{display:flex;flex-wrap:wrap;row-gap:1rem}.subsection[data-v-58f0547e]{gap:.5rem}.division[data-v-58f0547e],.subsection[data-v-58f0547e]{display:flex;flex-direction:column}.division[data-v-58f0547e]{flex-basis:100%;gap:1rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px){.division[data-v-58f0547e]{flex-basis:50%}}.v-enter-active[data-v-58f0547e],.v-leave-active[data-v-58f0547e]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-58f0547e],.v-leave-to[data-v-58f0547e]{opacity:0}.title{--tw-border-opacity:1;border-bottom-left-radius:.125rem;border-color:#0e7490;border-color:rgb(14 116 144/var(--tw-border-opacity));border-left-width:4px;border-top-left-radius:.125rem;display:inline-block;font-size:1.125rem;font-weight:600;line-height:1.75rem;padding-left:.5rem;padding-right:.5rem}img{margin-left:auto;margin-right:auto}.project-container{--tw-bg-opacity:.3;background-color:#ffffff4d;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;padding:.5rem}:is(.dark .project-container){--tw-bg-opacity:.6;background-color:#0009;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.project:focus{border-style:none;outline:2px solid transparent;outline-offset:2px}.project-header{align-items:flex-start;gap:1rem;justify-content:space-between;padding-right:.5rem}.project-external,.project-header{display:flex;flex-direction:row}.project-external{gap:.5rem;padding-top:.5rem}.project-external .homepage{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:#6ee7b7;background-color:rgb(110 231 183/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#047857;color:rgb(4 120 87/var(--tw-text-opacity));cursor:pointer;padding:.75rem;text-decoration-line:none}.project-external .homepage:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#10b981;background-color:rgb(16 185 129/var(--tw-bg-opacity));color:#ecfdf5;color:rgb(236 253 245/var(--tw-text-opacity))}:is(.dark .project-external .homepage){--tw-bg-opacity:.8;--tw-text-opacity:1;background-color:#164e63cc;background-color:rgb(22 78 99/var(--tw-bg-opacity));color:#a5f3fc;color:rgb(165 243 252/var(--tw-text-opacity))}:is(.dark .project-external .homepage:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#0891b2;background-color:rgb(8 145 178/var(--tw-bg-opacity));color:#cffafe;color:rgb(207 250 254/var(--tw-text-opacity))}.project-external .video{cursor:pointer;opacity:.6;width:3rem}.project-external .video:hover{opacity:1}.project-external .video svg{height:100%;width:100%}.project-external span{white-space:nowrap}svg[data-v-5a1f7b1f]{height:100%;width:100%}.projects-nav[data-v-3d5ad874]{gap:1rem}.project-item[data-v-3d5ad874],.projects-nav[data-v-3d5ad874]{display:flex}.project-item[data-v-3d5ad874]{--tw-bg-opacity:.7;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-shadow-color:#042f2e;--tw-shadow:var(--tw-shadow-colored);align-items:center;background-color:#0f766eb3;background-color:rgb(15 118 110/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #042f2e;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#f0fdfa;color:rgb(240 253 250/var(--tw-text-opacity));cursor:pointer;height:4rem;justify-content:center;padding:1rem;width:4rem}.project-item[data-v-3d5ad874]:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#14b8a6;background-color:rgb(20 184 166/var(--tw-bg-opacity));color:#fff;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]){--tw-bg-opacity:.2;--tw-text-opacity:1;--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored);background-color:#312e8133;background-color:rgb(49 46 129/var(--tw-bg-opacity));color:#155e75;color:rgb(21 94 117/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#3730a3;background-color:rgb(55 48 163/var(--tw-bg-opacity));color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.project-item.active[data-v-3d5ad874]{--tw-bg-opacity:1}:is(.dark .project-item.active[data-v-3d5ad874]){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.projects-container[data-v-a31d9570]{display:flex;flex-direction:column;gap:1rem;height:100%}.project-swiper-container[data-v-a31d9570]{height:75%}.project-slide-content[data-v-a31d9570],.project-swiper[data-v-a31d9570]{height:100%}.v-enter-active[data-v-a31d9570],.v-leave-active[data-v-a31d9570]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-a31d9570],.v-leave-to[data-v-a31d9570]{opacity:0}.swiper[data-v-d6737876],.swiper-container[data-v-d6737876]{height:100%;outline-color:#f0fdfa;overflow-y:auto}.slide-content[data-v-d6737876]{--tw-bg-opacity:.2;padding:6rem 2rem 1rem}@media (min-width:640px){.slide-content[data-v-d6737876]{padding-left:5rem;padding-right:5rem}}@media (min-width:768px){.slide-content[data-v-d6737876]{padding-left:7rem;padding-right:7rem;padding-top:9rem}}@media (min-width:1024px){.slide-content[data-v-d6737876]{padding-left:9rem;padding-right:9rem}}@media (min-width:1280px){.slide-content[data-v-d6737876]{padding-left:11rem;padding-right:11rem}}@media (min-width:1536px){.slide-content[data-v-d6737876]{padding-left:13rem;padding-right:13rem}}.main{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#eef2ff;background-color:rgb(238 242 255/var(--tw-bg-opacity));color:#0d9488;color:rgb(13 148 136/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;height:100svh;overflow-y:clip;transition-duration:1s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100vw}:is(.dark .main){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#030426;background-color:rgb(3 4 38/var(--tw-bg-opacity));color:#06b6d4;color:rgb(6 182 212/var(--tw-text-opacity))}.intro,.main h1,.title,h2,h3{--tw-text-opacity:1;color:#0f766e;color:rgb(15 118 110/var(--tw-text-opacity))}:is(.dark .intro),:is(.dark .main h1),:is(.dark .title),:is(.dark h2),:is(.dark h3){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.main a{font-weight:500;text-decoration-line:underline} diff --git a/_nuxt/index.e561007c.css b/_nuxt/index.e561007c.css deleted file mode 100644 index 3d6516c..0000000 --- a/_nuxt/index.e561007c.css +++ /dev/null @@ -1 +0,0 @@ -.v-enter-active,.v-leave-active{transition:opacity 2s ease-in-out}.v-enter-from,.v-leave-to{opacity:0}.topbar[data-v-ca1cc8a0]{align-items:center;display:flex;gap:.5rem;margin-right:1rem;padding-top:1rem;position:fixed;right:0;z-index:10}.switch[data-v-ca1cc8a0]{border-radius:9999px;cursor:pointer;opacity:.6;padding:.5rem;z-index:40}.switch[data-v-ca1cc8a0]:hover{--tw-bg-opacity:1;background-color:#c7d2fe;background-color:rgb(199 210 254/var(--tw-bg-opacity));opacity:1}:is(.dark .switch[data-v-ca1cc8a0]):hover{--tw-bg-opacity:1;background-color:#083344;background-color:rgb(8 51 68/var(--tw-bg-opacity))}.tabspace[data-v-3f889e56]{display:none}@media (min-width:768px){.tabspace[data-v-3f889e56]{display:inline}}.intro[data-v-3f889e56]{font-size:1.5rem;font-weight:700;line-height:2rem;margin-top:5rem;white-space:nowrap;width:-moz-fit-content;width:fit-content}@media (min-width:640px){.intro[data-v-3f889e56]{font-size:2.25rem;line-height:2.5rem}}.intro .line[data-v-3f889e56]{display:flex}.intro .line .letter[data-v-3f889e56]{visibility:hidden}.swipe{position:relative}.path{background:rgba(149,147,241,.5);border-radius:40px;height:20px;left:70px;position:absolute;top:20px;visibility:hidden;width:20px}.hand-icon{background-image:url(https://i.postimg.cc/8556gm60/hand.png);background-position:50%;background-repeat:no-repeat;filter:invert(81%) sepia(39%) saturate(5741%) hue-rotate(201deg) brightness(93%) contrast(103%);height:100px;opacity:.6;position:relative;transform-origin:52% 62%;width:100px}.dark .hand-icon{filter:none}@keyframes swipe-hand{25%{transform:translate(20px) rotate(30deg)}50%{transform:translate(-20px) rotate(-15deg)}to{transform:translate(0) rotate(0)}}@keyframes swipe-dot{12%{visibility:visible;width:40px}25%{transform:translate(-65px);visibility:visible;width:20px}26%{visibility:hidden}}.swipe-tip[data-v-4d09d87c]{justify-content:center}.intro-info[data-v-4d09d87c],.swipe-tip[data-v-4d09d87c]{display:flex}.intro-info[data-v-4d09d87c]{-moz-column-gap:1rem;column-gap:1rem;flex-direction:column;font-size:1.125rem;line-height:1.75rem;margin-top:6rem;row-gap:3rem;width:100%}@media (min-width:640px){.intro-info[data-v-4d09d87c]{flex-direction:row;font-size:1.25rem;justify-content:space-between;line-height:1.75rem}}.info-item[data-v-4d09d87c]{align-items:center;display:flex;gap:.5rem}.info-item.contact[data-v-4d09d87c]{order:2}@media (min-width:640px){.info-item.contact[data-v-4d09d87c]{order:1}}.info-item.more[data-v-4d09d87c]{order:1}@media (min-width:640px){.info-item.more[data-v-4d09d87c]{order:2}}.about[data-v-58f0547e]{display:flex;flex-wrap:wrap;row-gap:1rem}.subsection[data-v-58f0547e]{gap:.5rem}.division[data-v-58f0547e],.subsection[data-v-58f0547e]{display:flex;flex-direction:column}.division[data-v-58f0547e]{flex-basis:100%;gap:1rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px){.division[data-v-58f0547e]{flex-basis:50%}}.v-enter-active[data-v-58f0547e],.v-leave-active[data-v-58f0547e]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-58f0547e],.v-leave-to[data-v-58f0547e]{opacity:0}.title{--tw-border-opacity:1;border-bottom-left-radius:.125rem;border-color:#0e7490;border-color:rgb(14 116 144/var(--tw-border-opacity));border-left-width:4px;border-top-left-radius:.125rem;display:inline-block;font-size:1.125rem;font-weight:600;line-height:1.75rem;padding-left:.5rem;padding-right:.5rem}img{margin-left:auto;margin-right:auto}.project-container{--tw-bg-opacity:.3;background-color:#ffffff4d;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;padding:.5rem}:is(.dark .project-container){--tw-bg-opacity:.6;background-color:#0009;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.project:focus{border-style:none;outline:2px solid transparent;outline-offset:2px}.project-header{align-items:flex-start;gap:1rem;justify-content:space-between;padding-right:.5rem}.project-external,.project-header{display:flex;flex-direction:row}.project-external{gap:.5rem;padding-top:.5rem}.project-external .homepage{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:#6ee7b7;background-color:rgb(110 231 183/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#047857;color:rgb(4 120 87/var(--tw-text-opacity));cursor:pointer;padding:.75rem}.project-external .homepage:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#10b981;background-color:rgb(16 185 129/var(--tw-bg-opacity));color:#ecfdf5;color:rgb(236 253 245/var(--tw-text-opacity))}:is(.dark .project-external .homepage){--tw-bg-opacity:.8;--tw-text-opacity:1;background-color:#164e63cc;background-color:rgb(22 78 99/var(--tw-bg-opacity));color:#a5f3fc;color:rgb(165 243 252/var(--tw-text-opacity))}:is(.dark .project-external .homepage:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#0891b2;background-color:rgb(8 145 178/var(--tw-bg-opacity));color:#cffafe;color:rgb(207 250 254/var(--tw-text-opacity))}.project-external .video{cursor:pointer;opacity:.6;width:3rem}.project-external .video:hover{opacity:1}.project-external .video svg{height:100%;width:100%}.project-external span{white-space:nowrap}svg[data-v-5a1f7b1f]{height:100%;width:100%}.projects-nav[data-v-3d5ad874]{gap:1rem}.project-item[data-v-3d5ad874],.projects-nav[data-v-3d5ad874]{display:flex}.project-item[data-v-3d5ad874]{--tw-bg-opacity:.7;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-shadow-color:#042f2e;--tw-shadow:var(--tw-shadow-colored);align-items:center;background-color:#0f766eb3;background-color:rgb(15 118 110/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #042f2e;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#f0fdfa;color:rgb(240 253 250/var(--tw-text-opacity));cursor:pointer;height:4rem;justify-content:center;padding:1rem;width:4rem}.project-item[data-v-3d5ad874]:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#14b8a6;background-color:rgb(20 184 166/var(--tw-bg-opacity));color:#fff;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]){--tw-bg-opacity:.2;--tw-text-opacity:1;--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored);background-color:#312e8133;background-color:rgb(49 46 129/var(--tw-bg-opacity));color:#155e75;color:rgb(21 94 117/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#3730a3;background-color:rgb(55 48 163/var(--tw-bg-opacity));color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.project-item.active[data-v-3d5ad874]{--tw-bg-opacity:1}:is(.dark .project-item.active[data-v-3d5ad874]){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.projects-container[data-v-a31d9570]{display:flex;flex-direction:column;gap:1rem;height:100%}.project-swiper-container[data-v-a31d9570]{height:75%}.project-slide-content[data-v-a31d9570],.project-swiper[data-v-a31d9570]{height:100%}.v-enter-active[data-v-a31d9570],.v-leave-active[data-v-a31d9570]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-a31d9570],.v-leave-to[data-v-a31d9570]{opacity:0}.swiper[data-v-d6737876],.swiper-container[data-v-d6737876]{height:100%;outline-color:#f0fdfa;overflow-y:auto}.slide-content[data-v-d6737876]{--tw-bg-opacity:.2;padding:6rem 2rem 1rem}@media (min-width:640px){.slide-content[data-v-d6737876]{padding-left:5rem;padding-right:5rem}}@media (min-width:768px){.slide-content[data-v-d6737876]{padding-left:7rem;padding-right:7rem;padding-top:9rem}}@media (min-width:1024px){.slide-content[data-v-d6737876]{padding-left:9rem;padding-right:9rem}}@media (min-width:1280px){.slide-content[data-v-d6737876]{padding-left:11rem;padding-right:11rem}}@media (min-width:1536px){.slide-content[data-v-d6737876]{padding-left:13rem;padding-right:13rem}}.main{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#eef2ff;background-color:rgb(238 242 255/var(--tw-bg-opacity));color:#0d9488;color:rgb(13 148 136/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;height:100svh;overflow-y:clip;transition-duration:1s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100vw}:is(.dark .main){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#030426;background-color:rgb(3 4 38/var(--tw-bg-opacity));color:#06b6d4;color:rgb(6 182 212/var(--tw-text-opacity))}.intro,.main h1,.title,h2,h3{--tw-text-opacity:1;color:#0f766e;color:rgb(15 118 110/var(--tw-text-opacity))}:is(.dark .intro),:is(.dark .main h1),:is(.dark .title),:is(.dark h2),:is(.dark h3){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.main a{font-weight:500;text-decoration-line:underline} diff --git a/_nuxt/nuxt-icon.f3fac03d.js b/_nuxt/nuxt-icon.385eb01b.js similarity index 86% rename from _nuxt/nuxt-icon.f3fac03d.js rename to _nuxt/nuxt-icon.385eb01b.js index 5a9041c..914ba90 100644 --- a/_nuxt/nuxt-icon.f3fac03d.js +++ b/_nuxt/nuxt-icon.385eb01b.js @@ -1 +1 @@ -import{_ as n}from"./entry.fa10d76e.js";import{H as t,J as o,a3 as l,P as a}from"./swiper-vue.799c8af8.js";const r={props:{filled:{type:Boolean,required:!1,default:!1},fontControlled:{type:Boolean,required:!1,default:!0},icon:{type:Object,required:!0},name:{type:String,required:!1}}};function s(c,i,e,u,f,_){return t(),o(a(e.icon),{class:l({"nuxt-icon":e.fontControlled,"nuxt-icon--fill":!e.filled})},null,8,["class"])}const m=n(r,[["render",s]]);export{m as N}; +import{_ as n}from"./entry.07c0747b.js";import{H as t,J as o,a3 as l,P as a}from"./swiper-vue.799c8af8.js";const r={props:{filled:{type:Boolean,required:!1,default:!1},fontControlled:{type:Boolean,required:!1,default:!0},icon:{type:Object,required:!0},name:{type:String,required:!1}}};function s(c,i,e,u,f,_){return t(),o(a(e.icon),{class:l({"nuxt-icon":e.fontControlled,"nuxt-icon--fill":!e.filled})},null,8,["class"])}const m=n(r,[["render",s]]);export{m as N}; diff --git a/_nuxt/nuxt-link.fae787a8.js b/_nuxt/nuxt-link.963ae6e7.js similarity index 98% rename from _nuxt/nuxt-link.fae787a8.js rename to _nuxt/nuxt-link.963ae6e7.js index 2a047dc..f541803 100644 --- a/_nuxt/nuxt-link.fae787a8.js +++ b/_nuxt/nuxt-link.963ae6e7.js @@ -1 +1 @@ -import{p as _,q,r as k,s as A,t as L,l as T,v as w,x as B,y as E,w as N,m as U,c as j,h as P,z as I}from"./entry.fa10d76e.js";import{j as O,k as b,a as x,C as V,o as z,l as C,ad as D}from"./swiper-vue.799c8af8.js";async function R(a,r=_()){const{path:u,matched:e}=r.resolve(a);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(u)))return;const l=r._preloadPromises=r._preloadPromises||[];if(l.length>4)return Promise.all(l).then(()=>R(a,r));r._routePreloaded.add(u);const i=e.map(s=>{var t;return(t=s.components)==null?void 0:t.default}).filter(s=>typeof s=="function");for(const s of i){const t=Promise.resolve(s()).catch(()=>{}).finally(()=>l.splice(l.indexOf(t)));l.push(t)}await Promise.all(l)}const F=(...a)=>a.find(r=>r!==void 0),M="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function $(a){const r=a.componentName||"NuxtLink",u=(e,l)=>{if(!e||a.trailingSlash!=="append"&&a.trailingSlash!=="remove")return e;const i=a.trailingSlash==="append"?N:U;if(typeof e=="string")return i(e,!0);const s="path"in e?e.path:l(e).path;return{...e,name:void 0,path:i(s,!0)}};return O({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:l}){const i=_(),s=j(),t=b(()=>{const n=e.to||e.href||"";return u(n,i.resolve)}),d=b(()=>typeof t.value=="string"&&q(t.value,{acceptRelative:!0})),v=b(()=>e.external||e.target&&e.target!=="_self"?!0:typeof t.value=="object"?!1:t.value===""||d.value),y=x(!1),h=x(null),S=n=>{var f;h.value=e.custom?(f=n==null?void 0:n.$el)==null?void 0:f.nextElementSibling:n==null?void 0:n.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!Q()){const f=P();let m,o=null;V(()=>{const p=H();k(()=>{m=A(()=>{var g;(g=h==null?void 0:h.value)!=null&&g.tagName&&(o=p.observe(h.value,async()=>{o==null||o(),o=null;const c=typeof t.value=="string"?t.value:i.resolve(t.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",c).catch(()=>{}),!v.value&&R(t.value,i).catch(()=>{})]),y.value=!0}))})})}),z(()=>{m&&L(m),o==null||o(),o=null})}return()=>{var p,g;if(!v.value){const c={ref:S,to:t.value,activeClass:e.activeClass||a.activeClass,exactActiveClass:e.exactActiveClass||a.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y.value&&(c.class=e.prefetchedClass||a.prefetchedClass),c.rel=e.rel),C(D("RouterLink"),c,l.default)}const n=typeof t.value=="object"?((p=i.resolve(t.value))==null?void 0:p.href)??null:t.value&&!e.external&&!d.value?u(T(s.app.baseURL,t.value),i.resolve):t.value||null,f=e.target||null,m=e.noRel?null:F(e.rel,a.externalRelAttribute,n?M:"")||null,o=()=>I(n,{replace:e.replace});return e.custom?l.default?l.default({href:n,navigate:o,get route(){if(!n)return;const c=w(n);return{path:c.pathname,fullPath:c.pathname,get query(){return B(c.search)},hash:c.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:n}},rel:m,target:f,isExternal:v.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:h,href:n,rel:m,target:f},(g=l.default)==null?void 0:g.call(l))}}})}const J=$(E);function H(){const a=P();if(a._observer)return a._observer;let r=null;const u=new Map,e=(i,s)=>(r||(r=new IntersectionObserver(t=>{for(const d of t){const v=u.get(d.target);(d.isIntersecting||d.intersectionRatio>0)&&v&&v()}})),u.set(i,s),r.observe(i),()=>{u.delete(i),r.unobserve(i),u.size===0&&(r.disconnect(),r=null)});return a._observer={observe:e}}function Q(){const a=navigator.connection;return!!(a&&(a.saveData||/2g/.test(a.effectiveType)))}export{J as _}; +import{p as _,q,r as k,s as A,t as L,l as T,v as w,x as B,y as E,w as N,m as U,c as j,h as P,z as I}from"./entry.07c0747b.js";import{j as O,k as b,a as x,C as V,o as z,l as C,ad as D}from"./swiper-vue.799c8af8.js";async function R(a,r=_()){const{path:u,matched:e}=r.resolve(a);if(!e.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(u)))return;const l=r._preloadPromises=r._preloadPromises||[];if(l.length>4)return Promise.all(l).then(()=>R(a,r));r._routePreloaded.add(u);const i=e.map(s=>{var t;return(t=s.components)==null?void 0:t.default}).filter(s=>typeof s=="function");for(const s of i){const t=Promise.resolve(s()).catch(()=>{}).finally(()=>l.splice(l.indexOf(t)));l.push(t)}await Promise.all(l)}const F=(...a)=>a.find(r=>r!==void 0),M="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function $(a){const r=a.componentName||"NuxtLink",u=(e,l)=>{if(!e||a.trailingSlash!=="append"&&a.trailingSlash!=="remove")return e;const i=a.trailingSlash==="append"?N:U;if(typeof e=="string")return i(e,!0);const s="path"in e?e.path:l(e).path;return{...e,name:void 0,path:i(s,!0)}};return O({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:l}){const i=_(),s=j(),t=b(()=>{const n=e.to||e.href||"";return u(n,i.resolve)}),d=b(()=>typeof t.value=="string"&&q(t.value,{acceptRelative:!0})),v=b(()=>e.external||e.target&&e.target!=="_self"?!0:typeof t.value=="object"?!1:t.value===""||d.value),y=x(!1),h=x(null),S=n=>{var f;h.value=e.custom?(f=n==null?void 0:n.$el)==null?void 0:f.nextElementSibling:n==null?void 0:n.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!Q()){const f=P();let m,o=null;V(()=>{const p=H();k(()=>{m=A(()=>{var g;(g=h==null?void 0:h.value)!=null&&g.tagName&&(o=p.observe(h.value,async()=>{o==null||o(),o=null;const c=typeof t.value=="string"?t.value:i.resolve(t.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",c).catch(()=>{}),!v.value&&R(t.value,i).catch(()=>{})]),y.value=!0}))})})}),z(()=>{m&&L(m),o==null||o(),o=null})}return()=>{var p,g;if(!v.value){const c={ref:S,to:t.value,activeClass:e.activeClass||a.activeClass,exactActiveClass:e.exactActiveClass||a.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y.value&&(c.class=e.prefetchedClass||a.prefetchedClass),c.rel=e.rel),C(D("RouterLink"),c,l.default)}const n=typeof t.value=="object"?((p=i.resolve(t.value))==null?void 0:p.href)??null:t.value&&!e.external&&!d.value?u(T(s.app.baseURL,t.value),i.resolve):t.value||null,f=e.target||null,m=e.noRel?null:F(e.rel,a.externalRelAttribute,n?M:"")||null,o=()=>I(n,{replace:e.replace});return e.custom?l.default?l.default({href:n,navigate:o,get route(){if(!n)return;const c=w(n);return{path:c.pathname,fullPath:c.pathname,get query(){return B(c.search)},hash:c.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:n}},rel:m,target:f,isExternal:v.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:h,href:n,rel:m,target:f},(g=l.default)==null?void 0:g.call(l))}}})}const J=$(E);function H(){const a=P();if(a._observer)return a._observer;let r=null;const u=new Map,e=(i,s)=>(r||(r=new IntersectionObserver(t=>{for(const d of t){const v=u.get(d.target);(d.isIntersecting||d.intersectionRatio>0)&&v&&v()}})),u.set(i,s),r.observe(i),()=>{u.delete(i),r.unobserve(i),u.size===0&&(r.disconnect(),r=null)});return a._observer={observe:e}}function Q(){const a=navigator.connection;return!!(a&&(a.saveData||/2g/.test(a.effectiveType)))}export{J as _}; diff --git a/_nuxt/playmytime.0d4caa2c.js b/_nuxt/playmytime.dfb743a7.js similarity index 85% rename from _nuxt/playmytime.0d4caa2c.js rename to _nuxt/playmytime.dfb743a7.js index 7318550..a878573 100644 --- a/_nuxt/playmytime.0d4caa2c.js +++ b/_nuxt/playmytime.dfb743a7.js @@ -1 +1 @@ -import{N as e}from"./nuxt-icon.f3fac03d.js";import{l as t,H as c,I as o,U as a}from"./swiper-vue.799c8af8.js";import"./entry.fa10d76e.js";const n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800"},r=a("path",{d:"M400.732 61.762c-159.938.409-299.405 106.86-343.14 259.1-13.015 9.073-21.52 24.13-21.52 41.267v112.433c0 27.866 22.434 50.3 50.3 50.3h5.917c4.96 0 9.745-.723 14.266-2.05 39.12 124.845 155.699 215.43 293.445 215.43 137.746 0 254.325-90.585 293.445-215.43a50.596 50.596 0 0 0 14.266 2.05h5.918c27.865 0 50.299-22.434 50.299-50.3V362.13c0-15.79-7.213-29.823-18.526-39.031C702.32 169.37 561.806 61.805 400.775 61.762a14.086 14.086 0 0 0-.04 0zm.036 28.162c141.821.038 266.08 90.32 311.574 221.906h-4.631c-7.942 0-15.44 1.827-22.106 5.078C640.344 203.485 529.571 123.297 400 123.297c-129.571 0-240.344 80.188-285.605 193.611-6.666-3.25-14.164-5.078-22.106-5.078h-2.303c45.401-131.316 169.26-221.528 310.782-221.906m-95.766 182.922 246.72 143.004H422.909a31.819 31.819 0 0 0-28.013-16.899 31.819 31.819 0 0 0-28.016 16.899h-61.877zm0 173.138h62.039a31.819 31.819 0 0 0 27.854 16.604 31.819 31.819 0 0 0 27.853-16.604h128.465l-246.211 142.71z"},null,-1),s=[r];function m(h,i){return c(),o("svg",n,[...s])}const _={render(){return t(e,{icon:{render:m},name:"playmytime"})}};export{_ as default,m as render}; +import{N as e}from"./nuxt-icon.385eb01b.js";import{l as t,H as c,I as o,U as a}from"./swiper-vue.799c8af8.js";import"./entry.07c0747b.js";const n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800"},r=a("path",{d:"M400.732 61.762c-159.938.409-299.405 106.86-343.14 259.1-13.015 9.073-21.52 24.13-21.52 41.267v112.433c0 27.866 22.434 50.3 50.3 50.3h5.917c4.96 0 9.745-.723 14.266-2.05 39.12 124.845 155.699 215.43 293.445 215.43 137.746 0 254.325-90.585 293.445-215.43a50.596 50.596 0 0 0 14.266 2.05h5.918c27.865 0 50.299-22.434 50.299-50.3V362.13c0-15.79-7.213-29.823-18.526-39.031C702.32 169.37 561.806 61.805 400.775 61.762a14.086 14.086 0 0 0-.04 0zm.036 28.162c141.821.038 266.08 90.32 311.574 221.906h-4.631c-7.942 0-15.44 1.827-22.106 5.078C640.344 203.485 529.571 123.297 400 123.297c-129.571 0-240.344 80.188-285.605 193.611-6.666-3.25-14.164-5.078-22.106-5.078h-2.303c45.401-131.316 169.26-221.528 310.782-221.906m-95.766 182.922 246.72 143.004H422.909a31.819 31.819 0 0 0-28.013-16.899 31.819 31.819 0 0 0-28.016 16.899h-61.877zm0 173.138h62.039a31.819 31.819 0 0 0 27.854 16.604 31.819 31.819 0 0 0 27.853-16.604h128.465l-246.211 142.71z"},null,-1),s=[r];function m(h,i){return c(),o("svg",n,[...s])}const _={render(){return t(e,{icon:{render:m},name:"playmytime"})}};export{_ as default,m as render}; diff --git a/_nuxt/preview.9ca7dcfa.js b/_nuxt/preview.880535c1.js similarity index 88% rename from _nuxt/preview.9ca7dcfa.js rename to _nuxt/preview.880535c1.js index 9c4df9e..eb2605e 100644 --- a/_nuxt/preview.9ca7dcfa.js +++ b/_nuxt/preview.880535c1.js @@ -1 +1 @@ -import{o as r,f as o}from"./entry.fa10d76e.js";const v=()=>({isEnabled:()=>{const e=o().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||r("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>r("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{r("previewToken").value=e,o().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});export{v as u}; +import{o as r,f as o}from"./entry.07c0747b.js";const v=()=>({isEnabled:()=>{const e=o().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||r("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>r("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{r("previewToken").value=e,o().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});export{v as u}; diff --git a/_nuxt/query.046ea17d.js b/_nuxt/query.35f44448.js similarity index 97% rename from _nuxt/query.046ea17d.js rename to _nuxt/query.35f44448.js index 81fde51..381b1c9 100644 --- a/_nuxt/query.046ea17d.js +++ b/_nuxt/query.35f44448.js @@ -1,3 +1,3 @@ -import{g as H,h as K,i as N,j as I,c as S,k as q,l as W,m as Q,a as J}from"./entry.fa10d76e.js";import{a as v,s as V,t as G,ac as X,D as P,b as Y,u as Z,g as tt}from"./swiper-vue.799c8af8.js";import{u as $}from"./preview.9ca7dcfa.js";function St(...s){var x;const n=typeof s[s.length-1]=="string"?s.pop():void 0;typeof s[0]!="string"&&s.unshift(n);let[r,e,t={}]=s;if(typeof r!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof e!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const a=K(),i=()=>null,u=()=>a.isHydrating?a.payload.data[r]:a.static.data[r];t.server=t.server??!0,t.default=t.default??i,t.getCachedData=t.getCachedData??u,t.lazy=t.lazy??!1,t.immediate=t.immediate??!0,t.deep=t.deep??H.deep;const o=()=>![null,void 0].includes(t.getCachedData(r));if(!a._asyncData[r]||!t.immediate){(x=a.payload._errors)[r]??(x[r]=null);const d=t.deep?v:V;a._asyncData[r]={data:d(t.getCachedData(r)??t.default()),pending:v(!o()),error:G(a.payload._errors,r),status:v("idle")}}const c={...a._asyncData[r]};c.refresh=c.execute=(d={})=>{if(a._asyncDataPromises[r]){if(d.dedupe===!1)return a._asyncDataPromises[r];a._asyncDataPromises[r].cancelled=!0}if((d._initial||a.isHydrating&&d._initial!==!1)&&o())return Promise.resolve(t.getCachedData(r));c.pending.value=!0,c.status.value="pending";const m=new Promise((f,y)=>{try{f(e(a))}catch(D){y(D)}}).then(f=>{if(m.cancelled)return a._asyncDataPromises[r];let y=f;t.transform&&(y=t.transform(f)),t.pick&&(y=et(y,t.pick)),a.payload.data[r]=y,c.data.value=y,c.error.value=null,c.status.value="success"}).catch(f=>{if(m.cancelled)return a._asyncDataPromises[r];c.error.value=N(f),c.data.value=Z(t.default()),c.status.value="error"}).finally(()=>{m.cancelled||(c.pending.value=!1,delete a._asyncDataPromises[r])});return a._asyncDataPromises[r]=m,a._asyncDataPromises[r]};const h=()=>c.refresh({_initial:!0}),p=t.server!==!1&&a.payload.serverRendered;{const d=tt();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const f=d._nuxtOnBeforeMountCbs;d&&(X(()=>{f.forEach(y=>{y()}),f.splice(0,f.length)}),P(()=>f.splice(0,f.length)))}p&&a.isHydrating&&(c.error.value||o())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):d&&(a.payload.serverRendered&&a.isHydrating||t.lazy)&&t.immediate?d._nuxtOnBeforeMountCbs.push(h):t.immediate&&h(),t.watch&&Y(t.watch,()=>c.refresh());const m=a.hook("app:data:refresh",async f=>{(!f||f.includes(r))&&await c.refresh()});d&&P(m)}const l=Promise.resolve(a._asyncDataPromises[r]).then(()=>c);return Object.assign(l,c),l}function et(s,n){const r={};for(const e of n)r[e]=s[e];return r}const k=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function rt(s,n){n?n={...k,...n}:n=k;const r=j(n);return r.dispatch(s),r.toString()}const nt=Object.freeze(["prototype","__proto__","constructor"]);function j(s){let n="",r=new Map;const e=t=>{n+=t};return{toString(){return n},getContext(){return r},dispatch(t){return s.replacer&&(t=s.replacer(t)),this[t===null?"null":typeof t](t)},object(t){if(t&&typeof t.toJSON=="function")return this.object(t.toJSON());const a=Object.prototype.toString.call(t);let i="";const u=a.length;u<10?i="unknown:["+a+"]":i=a.slice(8,u-1),i=i.toLowerCase();let o=null;if((o=r.get(t))===void 0)r.set(t,r.size);else return this.dispatch("[CIRCULAR:"+o+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(t))return e("buffer:"),e(t.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](t):s.ignoreUnknown||this.unkown(t,i);else{let c=Object.keys(t);s.unorderedObjects&&(c=c.sort());let h=[];s.respectType!==!1&&!O(t)&&(h=nt),s.excludeKeys&&(c=c.filter(l=>!s.excludeKeys(l)),h=h.filter(l=>!s.excludeKeys(l))),e("object:"+(c.length+h.length)+":");const p=l=>{this.dispatch(l),e(":"),s.excludeValues||this.dispatch(t[l]),e(",")};for(const l of c)p(l);for(const l of h)p(l)}},array(t,a){if(a=a===void 0?s.unorderedArrays!==!1:a,e("array:"+t.length+":"),!a||t.length<=1){for(const o of t)this.dispatch(o);return}const i=new Map,u=t.map(o=>{const c=j(s);c.dispatch(o);for(const[h,p]of c.getContext())i.set(h,p);return c.toString()});return r=i,u.sort(),this.array(u,!1)},date(t){return e("date:"+t.toJSON())},symbol(t){return e("symbol:"+t.toString())},unkown(t,a){if(e(a),!!t&&(e(":"),t&&typeof t.entries=="function"))return this.array(Array.from(t.entries()),!0)},error(t){return e("error:"+t.toString())},boolean(t){return e("bool:"+t)},string(t){e("string:"+t.length+":"),e(t)},function(t){e("fn:"),O(t)?this.dispatch("[native]"):this.dispatch(t.toString()),s.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(t.name)),s.respectFunctionProperties&&this.object(t)},number(t){return e("number:"+t)},xml(t){return e("xml:"+t.toString())},null(){return e("Null")},undefined(){return e("Undefined")},regexp(t){return e("regex:"+t.toString())},uint8array(t){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},uint8clampedarray(t){return e("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},int8array(t){return e("int8array:"),this.dispatch(Array.prototype.slice.call(t))},uint16array(t){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},int16array(t){return e("int16array:"),this.dispatch(Array.prototype.slice.call(t))},uint32array(t){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},int32array(t){return e("int32array:"),this.dispatch(Array.prototype.slice.call(t))},float32array(t){return e("float32array:"),this.dispatch(Array.prototype.slice.call(t))},float64array(t){return e("float64array:"),this.dispatch(Array.prototype.slice.call(t))},arraybuffer(t){return e("arraybuffer:"),this.dispatch(new Uint8Array(t))},url(t){return e("url:"+t.toString())},map(t){e("map:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},set(t){e("set:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},file(t){return e("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},blob(){if(s.ignoreUnknown)return e("[blob]");throw new Error(`Hashing Blob objects is currently not supported +import{g as H,h as K,i as N,j as I,c as S,k as q,l as W,m as Q,a as J}from"./entry.07c0747b.js";import{a as v,s as V,t as G,ac as X,D as P,b as Y,u as Z,g as tt}from"./swiper-vue.799c8af8.js";import{u as $}from"./preview.880535c1.js";function St(...s){var x;const n=typeof s[s.length-1]=="string"?s.pop():void 0;typeof s[0]!="string"&&s.unshift(n);let[r,e,t={}]=s;if(typeof r!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof e!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const a=K(),i=()=>null,u=()=>a.isHydrating?a.payload.data[r]:a.static.data[r];t.server=t.server??!0,t.default=t.default??i,t.getCachedData=t.getCachedData??u,t.lazy=t.lazy??!1,t.immediate=t.immediate??!0,t.deep=t.deep??H.deep;const o=()=>![null,void 0].includes(t.getCachedData(r));if(!a._asyncData[r]||!t.immediate){(x=a.payload._errors)[r]??(x[r]=null);const d=t.deep?v:V;a._asyncData[r]={data:d(t.getCachedData(r)??t.default()),pending:v(!o()),error:G(a.payload._errors,r),status:v("idle")}}const c={...a._asyncData[r]};c.refresh=c.execute=(d={})=>{if(a._asyncDataPromises[r]){if(d.dedupe===!1)return a._asyncDataPromises[r];a._asyncDataPromises[r].cancelled=!0}if((d._initial||a.isHydrating&&d._initial!==!1)&&o())return Promise.resolve(t.getCachedData(r));c.pending.value=!0,c.status.value="pending";const m=new Promise((f,y)=>{try{f(e(a))}catch(D){y(D)}}).then(f=>{if(m.cancelled)return a._asyncDataPromises[r];let y=f;t.transform&&(y=t.transform(f)),t.pick&&(y=et(y,t.pick)),a.payload.data[r]=y,c.data.value=y,c.error.value=null,c.status.value="success"}).catch(f=>{if(m.cancelled)return a._asyncDataPromises[r];c.error.value=N(f),c.data.value=Z(t.default()),c.status.value="error"}).finally(()=>{m.cancelled||(c.pending.value=!1,delete a._asyncDataPromises[r])});return a._asyncDataPromises[r]=m,a._asyncDataPromises[r]};const h=()=>c.refresh({_initial:!0}),p=t.server!==!1&&a.payload.serverRendered;{const d=tt();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const f=d._nuxtOnBeforeMountCbs;d&&(X(()=>{f.forEach(y=>{y()}),f.splice(0,f.length)}),P(()=>f.splice(0,f.length)))}p&&a.isHydrating&&(c.error.value||o())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):d&&(a.payload.serverRendered&&a.isHydrating||t.lazy)&&t.immediate?d._nuxtOnBeforeMountCbs.push(h):t.immediate&&h(),t.watch&&Y(t.watch,()=>c.refresh());const m=a.hook("app:data:refresh",async f=>{(!f||f.includes(r))&&await c.refresh()});d&&P(m)}const l=Promise.resolve(a._asyncDataPromises[r]).then(()=>c);return Object.assign(l,c),l}function et(s,n){const r={};for(const e of n)r[e]=s[e];return r}const k=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function rt(s,n){n?n={...k,...n}:n=k;const r=j(n);return r.dispatch(s),r.toString()}const nt=Object.freeze(["prototype","__proto__","constructor"]);function j(s){let n="",r=new Map;const e=t=>{n+=t};return{toString(){return n},getContext(){return r},dispatch(t){return s.replacer&&(t=s.replacer(t)),this[t===null?"null":typeof t](t)},object(t){if(t&&typeof t.toJSON=="function")return this.object(t.toJSON());const a=Object.prototype.toString.call(t);let i="";const u=a.length;u<10?i="unknown:["+a+"]":i=a.slice(8,u-1),i=i.toLowerCase();let o=null;if((o=r.get(t))===void 0)r.set(t,r.size);else return this.dispatch("[CIRCULAR:"+o+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(t))return e("buffer:"),e(t.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](t):s.ignoreUnknown||this.unkown(t,i);else{let c=Object.keys(t);s.unorderedObjects&&(c=c.sort());let h=[];s.respectType!==!1&&!O(t)&&(h=nt),s.excludeKeys&&(c=c.filter(l=>!s.excludeKeys(l)),h=h.filter(l=>!s.excludeKeys(l))),e("object:"+(c.length+h.length)+":");const p=l=>{this.dispatch(l),e(":"),s.excludeValues||this.dispatch(t[l]),e(",")};for(const l of c)p(l);for(const l of h)p(l)}},array(t,a){if(a=a===void 0?s.unorderedArrays!==!1:a,e("array:"+t.length+":"),!a||t.length<=1){for(const o of t)this.dispatch(o);return}const i=new Map,u=t.map(o=>{const c=j(s);c.dispatch(o);for(const[h,p]of c.getContext())i.set(h,p);return c.toString()});return r=i,u.sort(),this.array(u,!1)},date(t){return e("date:"+t.toJSON())},symbol(t){return e("symbol:"+t.toString())},unkown(t,a){if(e(a),!!t&&(e(":"),t&&typeof t.entries=="function"))return this.array(Array.from(t.entries()),!0)},error(t){return e("error:"+t.toString())},boolean(t){return e("bool:"+t)},string(t){e("string:"+t.length+":"),e(t)},function(t){e("fn:"),O(t)?this.dispatch("[native]"):this.dispatch(t.toString()),s.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(t.name)),s.respectFunctionProperties&&this.object(t)},number(t){return e("number:"+t)},xml(t){return e("xml:"+t.toString())},null(){return e("Null")},undefined(){return e("Undefined")},regexp(t){return e("regex:"+t.toString())},uint8array(t){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},uint8clampedarray(t){return e("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},int8array(t){return e("int8array:"),this.dispatch(Array.prototype.slice.call(t))},uint16array(t){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},int16array(t){return e("int16array:"),this.dispatch(Array.prototype.slice.call(t))},uint32array(t){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},int32array(t){return e("int32array:"),this.dispatch(Array.prototype.slice.call(t))},float32array(t){return e("float32array:"),this.dispatch(Array.prototype.slice.call(t))},float64array(t){return e("float64array:"),this.dispatch(Array.prototype.slice.call(t))},arraybuffer(t){return e("arraybuffer:"),this.dispatch(new Uint8Array(t))},url(t){return e("url:"+t.toString())},map(t){e("map:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},set(t){e("set:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},file(t){return e("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},blob(){if(s.ignoreUnknown)return e("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return e("domwindow")},bigint(t){return e("bigint:"+t.toString())},process(){return e("process")},timer(){return e("timer")},pipe(){return e("pipe")},tcp(){return e("tcp")},udp(){return e("udp")},tty(){return e("tty")},statwatcher(){return e("statwatcher")},securecontext(){return e("securecontext")},connection(){return e("connection")},zlib(){return e("zlib")},context(){return e("context")},nodescript(){return e("nodescript")},httpparser(){return e("httpparser")},dataview(){return e("dataview")},signal(){return e("signal")},fsevent(){return e("fsevent")},tlswrap(){return e("tlswrap")}}}const L="[native code] }",st=L.length;function O(s){return typeof s!="function"?!1:Function.prototype.toString.call(s).slice(-st)===L}class w{constructor(n,r){n=this.words=n||[],this.sigBytes=r===void 0?n.length*4:r}toString(n){return(n||it).stringify(this)}concat(n){if(this.clamp(),this.sigBytes%4)for(let r=0;r>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=e<<24-(this.sigBytes+r)%4*8}else for(let r=0;r>>2]=n.words[r>>>2];return this.sigBytes+=n.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new w([...this.words])}}const it={stringify(s){const n=[];for(let r=0;r>>2]>>>24-r%4*8&255;n.push((e>>>4).toString(16),(e&15).toString(16))}return n.join("")}},at={stringify(s){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=[];for(let e=0;e>>2]>>>24-e%4*8&255,a=s.words[e+1>>>2]>>>24-(e+1)%4*8&255,i=s.words[e+2>>>2]>>>24-(e+2)%4*8&255,u=t<<16|a<<8|i;for(let o=0;o<4&&e*8+o*6>>6*(3-o)&63))}return r.join("")}},ot={parse(s){const n=s.length,r=[];for(let e=0;e>>2]|=(s.charCodeAt(e)&255)<<24-e%4*8;return new w(r,n)}},ct={parse(s){return ot.parse(unescape(encodeURIComponent(s)))}};class ut{constructor(){this._data=new w,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new w,this._nDataBytes=0}_append(n){typeof n=="string"&&(n=ct.parse(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_doProcessBlock(n,r){}_process(n){let r,e=this._data.sigBytes/(this.blockSize*4);n?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const t=e*this.blockSize,a=Math.min(t*4,this._data.sigBytes);if(t){for(let i=0;i>>7)^(b<<14|b>>>18)^b>>>3,B=_[l-2],U=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;_[l]=M+_[l-7]+U+_[l-16]}const x=o&c^~o&h,d=t&a^t&i^a&i,m=(t<<30|t>>>2)^(t<<19|t>>>13)^(t<<10|t>>>22),f=(o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25),y=p+f+x+ft[l]+_[l],D=m+d;p=h,h=c,c=o,o=u+y|0,u=i,i=a,a=t,t=y+D|0}e[0]=e[0]+t|0,e[1]=e[1]+a|0,e[2]=e[2]+i|0,e[3]=e[3]+u|0,e[4]=e[4]+o|0,e[5]=e[5]+c|0,e[6]=e[6]+h|0,e[7]=e[7]+p|0}finalize(n){super.finalize(n);const r=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(r/4294967296),this._data.words[(e+64>>>9<<4)+15]=r,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function dt(s){return new ht().finalize(s).toString(at)}function z(s,n={}){const r=typeof s=="string"?s:rt(s,n);return dt(r).slice(0,10)}const E=(s,n)=>n.split(".").reduce((r,e)=>r&&r[e],s),C=(s,n)=>Object.keys(s).filter(n).reduce((r,e)=>Object.assign(r,{[e]:s[e]}),{}),Dt=s=>n=>s&&s.length?C(n,r=>!s.includes(r)):n,vt=s=>n=>Array.isArray(n)?n.map(r=>s(r)):s(n),F=s=>{const n=[],r=[];for(const e of s)["$","_"].includes(e)?n.push(e):r.push(e);return{prefixes:n,properties:r}},Ct=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>!e.includes(t)&&!r.includes(t[0]))},Pt=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>e.includes(t)||r.includes(t[0]))},kt=(s,n)=>{const r=new Intl.Collator(n.$locale,{numeric:n.$numeric,caseFirst:n.$caseFirst,sensitivity:n.$sensitivity}),e=Object.keys(n).filter(t=>!t.startsWith("$"));for(const t of e)s=s.sort((a,i)=>{const u=[E(a,t),E(i,t)].map(o=>{if(o!==null)return o instanceof Date?o.toISOString():o});return n[t]===-1&&u.reverse(),r.compare(u[0],u[1])});return s},Ot=(s,n="Expected an array")=>{if(!Array.isArray(s))throw new TypeError(n)},g=s=>Array.isArray(s)?s:[void 0,null].includes(s)?[]:[s],pt=["sort","where","only","without"];function yt(s,n={}){const r={};for(const i of Object.keys(n.initialParams||{}))r[i]=pt.includes(i)?g(n.initialParams[i]):n.initialParams[i];const e=(i,u=o=>o)=>(...o)=>(r[i]=u(...o),a),t=i=>{var u;return n.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(u=i.dirConfig)==null?void 0:u._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},a={params:()=>({...r,...r.where?{where:[...g(r.where)]}:{},...r.sort?{sort:[...g(r.sort)]}:{}}),only:e("only",g),without:e("without",g),where:e("where",i=>[...g(r.where),...g(i)]),sort:e("sort",i=>[...g(r.sort),...g(i)]),limit:e("limit",i=>parseInt(String(i),10)),skip:e("skip",i=>parseInt(String(i),10)),find:()=>s(a).then(t),findOne:()=>s(e("first")(!0)).then(t),count:()=>s(e("count")(!0)).then(t),locale:i=>a.where({_locale:i}),withSurround:e("surround",(i,u)=>({query:i,...u})),withDirConfig:()=>e("dirConfig")(!0)};return n.legacy&&(a.findSurround=(i,u)=>a.withSurround(i,u).find().then(t)),a}function T(s){return JSON.stringify(s,gt)}function gt(s,n){return n instanceof RegExp?`--REGEX ${n.toString()}`:n}const mt=s=>{let n=T(s);return n=typeof Buffer<"u"?Buffer.from(n).toString("base64"):btoa(n),n=n.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(n.match(/.{1,100}/g)||[]).join("/")},R=s=>I(s,S().public.content.api.baseURL),At=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxt.com/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},wt=()=>{const{experimental:s}=S().public.content;return s.clientDB?!0:$().isEnabled()},_t=()=>async s=>{const{content:n}=S().public,r=s.params(),e=n.experimental.stripQueryParameters?R(`/query/${`${z(r)}.${n.integrity}`}/${mt(r)}.json`):R(`/query/${z(r)}.${n.integrity}.json`);if(wt())return(await J(()=>import("./client-db.712bfa70.js"),["./client-db.712bfa70.js","./entry.fa10d76e.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.6b9d63b9.css","./index.b0fe9fac.js","./preview.9ca7dcfa.js"],import.meta.url).then(i=>i.useContentDatabase())).fetch(s);const t=await $fetch(e,{method:"GET",responseType:"json",params:n.experimental.stripQueryParameters?void 0:{_params:T(r),previewToken:$().getPreviewToken()}});if(typeof t=="string"&&t.startsWith(""))throw new Error("Not found");return t};function zt(s,...n){const{content:r}=S().public,e=yt(_t(),{initialParams:typeof s!="string"?s:{},legacy:!0});let t;typeof s=="string"&&(t=q(W(s,...n)));const a=e.params;return e.params=()=>{var u,o,c;const i=a();return t&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Q(t)}):i.where.push({_path:new RegExp(`^${t.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(u=i.sort)!=null&&u.length||(i.sort=[{_file:1,$numeric:!0}]),r.locales.length&&((c=(o=i.where)==null?void 0:o.find(p=>p._locale))!=null&&c._locale||(i.where=i.where||[],i.where.push({_locale:r.defaultLocale}))),i},e}export{At as a,Ot as b,g as c,kt as d,mt as e,vt as f,E as g,z as h,Ct as i,T as j,Pt as k,yt as l,Dt as o,zt as q,wt as s,St as u,R as w}; +`)},domwindow(){return e("domwindow")},bigint(t){return e("bigint:"+t.toString())},process(){return e("process")},timer(){return e("timer")},pipe(){return e("pipe")},tcp(){return e("tcp")},udp(){return e("udp")},tty(){return e("tty")},statwatcher(){return e("statwatcher")},securecontext(){return e("securecontext")},connection(){return e("connection")},zlib(){return e("zlib")},context(){return e("context")},nodescript(){return e("nodescript")},httpparser(){return e("httpparser")},dataview(){return e("dataview")},signal(){return e("signal")},fsevent(){return e("fsevent")},tlswrap(){return e("tlswrap")}}}const L="[native code] }",st=L.length;function O(s){return typeof s!="function"?!1:Function.prototype.toString.call(s).slice(-st)===L}class w{constructor(n,r){n=this.words=n||[],this.sigBytes=r===void 0?n.length*4:r}toString(n){return(n||it).stringify(this)}concat(n){if(this.clamp(),this.sigBytes%4)for(let r=0;r>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=e<<24-(this.sigBytes+r)%4*8}else for(let r=0;r>>2]=n.words[r>>>2];return this.sigBytes+=n.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new w([...this.words])}}const it={stringify(s){const n=[];for(let r=0;r>>2]>>>24-r%4*8&255;n.push((e>>>4).toString(16),(e&15).toString(16))}return n.join("")}},at={stringify(s){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=[];for(let e=0;e>>2]>>>24-e%4*8&255,a=s.words[e+1>>>2]>>>24-(e+1)%4*8&255,i=s.words[e+2>>>2]>>>24-(e+2)%4*8&255,u=t<<16|a<<8|i;for(let o=0;o<4&&e*8+o*6>>6*(3-o)&63))}return r.join("")}},ot={parse(s){const n=s.length,r=[];for(let e=0;e>>2]|=(s.charCodeAt(e)&255)<<24-e%4*8;return new w(r,n)}},ct={parse(s){return ot.parse(unescape(encodeURIComponent(s)))}};class ut{constructor(){this._data=new w,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new w,this._nDataBytes=0}_append(n){typeof n=="string"&&(n=ct.parse(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_doProcessBlock(n,r){}_process(n){let r,e=this._data.sigBytes/(this.blockSize*4);n?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const t=e*this.blockSize,a=Math.min(t*4,this._data.sigBytes);if(t){for(let i=0;i>>7)^(b<<14|b>>>18)^b>>>3,B=_[l-2],U=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;_[l]=M+_[l-7]+U+_[l-16]}const x=o&c^~o&h,d=t&a^t&i^a&i,m=(t<<30|t>>>2)^(t<<19|t>>>13)^(t<<10|t>>>22),f=(o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25),y=p+f+x+ft[l]+_[l],D=m+d;p=h,h=c,c=o,o=u+y|0,u=i,i=a,a=t,t=y+D|0}e[0]=e[0]+t|0,e[1]=e[1]+a|0,e[2]=e[2]+i|0,e[3]=e[3]+u|0,e[4]=e[4]+o|0,e[5]=e[5]+c|0,e[6]=e[6]+h|0,e[7]=e[7]+p|0}finalize(n){super.finalize(n);const r=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(r/4294967296),this._data.words[(e+64>>>9<<4)+15]=r,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function dt(s){return new ht().finalize(s).toString(at)}function z(s,n={}){const r=typeof s=="string"?s:rt(s,n);return dt(r).slice(0,10)}const E=(s,n)=>n.split(".").reduce((r,e)=>r&&r[e],s),C=(s,n)=>Object.keys(s).filter(n).reduce((r,e)=>Object.assign(r,{[e]:s[e]}),{}),Dt=s=>n=>s&&s.length?C(n,r=>!s.includes(r)):n,vt=s=>n=>Array.isArray(n)?n.map(r=>s(r)):s(n),F=s=>{const n=[],r=[];for(const e of s)["$","_"].includes(e)?n.push(e):r.push(e);return{prefixes:n,properties:r}},Ct=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>!e.includes(t)&&!r.includes(t[0]))},Pt=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>e.includes(t)||r.includes(t[0]))},kt=(s,n)=>{const r=new Intl.Collator(n.$locale,{numeric:n.$numeric,caseFirst:n.$caseFirst,sensitivity:n.$sensitivity}),e=Object.keys(n).filter(t=>!t.startsWith("$"));for(const t of e)s=s.sort((a,i)=>{const u=[E(a,t),E(i,t)].map(o=>{if(o!==null)return o instanceof Date?o.toISOString():o});return n[t]===-1&&u.reverse(),r.compare(u[0],u[1])});return s},Ot=(s,n="Expected an array")=>{if(!Array.isArray(s))throw new TypeError(n)},g=s=>Array.isArray(s)?s:[void 0,null].includes(s)?[]:[s],pt=["sort","where","only","without"];function yt(s,n={}){const r={};for(const i of Object.keys(n.initialParams||{}))r[i]=pt.includes(i)?g(n.initialParams[i]):n.initialParams[i];const e=(i,u=o=>o)=>(...o)=>(r[i]=u(...o),a),t=i=>{var u;return n.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(u=i.dirConfig)==null?void 0:u._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},a={params:()=>({...r,...r.where?{where:[...g(r.where)]}:{},...r.sort?{sort:[...g(r.sort)]}:{}}),only:e("only",g),without:e("without",g),where:e("where",i=>[...g(r.where),...g(i)]),sort:e("sort",i=>[...g(r.sort),...g(i)]),limit:e("limit",i=>parseInt(String(i),10)),skip:e("skip",i=>parseInt(String(i),10)),find:()=>s(a).then(t),findOne:()=>s(e("first")(!0)).then(t),count:()=>s(e("count")(!0)).then(t),locale:i=>a.where({_locale:i}),withSurround:e("surround",(i,u)=>({query:i,...u})),withDirConfig:()=>e("dirConfig")(!0)};return n.legacy&&(a.findSurround=(i,u)=>a.withSurround(i,u).find().then(t)),a}function T(s){return JSON.stringify(s,gt)}function gt(s,n){return n instanceof RegExp?`--REGEX ${n.toString()}`:n}const mt=s=>{let n=T(s);return n=typeof Buffer<"u"?Buffer.from(n).toString("base64"):btoa(n),n=n.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(n.match(/.{1,100}/g)||[]).join("/")},R=s=>I(s,S().public.content.api.baseURL),At=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxt.com/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},wt=()=>{const{experimental:s}=S().public.content;return s.clientDB?!0:$().isEnabled()},_t=()=>async s=>{const{content:n}=S().public,r=s.params(),e=n.experimental.stripQueryParameters?R(`/query/${`${z(r)}.${n.integrity}`}/${mt(r)}.json`):R(`/query/${z(r)}.${n.integrity}.json`);if(wt())return(await J(()=>import("./client-db.fa4362e2.js"),["./client-db.fa4362e2.js","./entry.07c0747b.js","./swiper-vue.799c8af8.js","./swiper-vue.d33d3671.css","./entry.51343360.css","./index.b0fe9fac.js","./preview.880535c1.js"],import.meta.url).then(i=>i.useContentDatabase())).fetch(s);const t=await $fetch(e,{method:"GET",responseType:"json",params:n.experimental.stripQueryParameters?void 0:{_params:T(r),previewToken:$().getPreviewToken()}});if(typeof t=="string"&&t.startsWith(""))throw new Error("Not found");return t};function zt(s,...n){const{content:r}=S().public,e=yt(_t(),{initialParams:typeof s!="string"?s:{},legacy:!0});let t;typeof s=="string"&&(t=q(W(s,...n)));const a=e.params;return e.params=()=>{var u,o,c;const i=a();return t&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Q(t)}):i.where.push({_path:new RegExp(`^${t.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(u=i.sort)!=null&&u.length||(i.sort=[{_file:1,$numeric:!0}]),r.locales.length&&((c=(o=i.where)==null?void 0:o.find(p=>p._locale))!=null&&c._locale||(i.where=i.where||[],i.where.push({_locale:r.defaultLocale}))),i},e}export{At as a,Ot as b,g as c,kt as d,mt as e,vt as f,E as g,z as h,Ct as i,T as j,Pt as k,yt as l,Dt as o,zt as q,wt as s,St as u,R as w}; diff --git a/_nuxt/simuladocnh.f9071784.js b/_nuxt/simuladocnh.966eedcf.js similarity index 84% rename from _nuxt/simuladocnh.f9071784.js rename to _nuxt/simuladocnh.966eedcf.js index f25b8a8..d9e1f81 100644 --- a/_nuxt/simuladocnh.f9071784.js +++ b/_nuxt/simuladocnh.966eedcf.js @@ -1 +1 @@ -import{N as o}from"./nuxt-icon.f3fac03d.js";import{l as e,H as c,I as n,U as t}from"./swiper-vue.799c8af8.js";import"./entry.fa10d76e.js";const s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},a=t("path",{d:"m29.637 10.335-8-7.984-11.302.012-7.984 8 .012 11.302 8 7.984 11.302-.012 7.984-8zm-1.853.77.01 9.766-6.899 6.913-9.766.01-6.913-6.898-.01-9.767 6.898-6.913 9.766-.01z"},null,-1),l=t("path",{d:"M26.502 11.637 20.34 5.49l-8.704.01-6.148 6.16.01 8.704 6.16 6.148 8.704-.01 6.148-6.16zm-1.428.593.008 7.52-5.312 5.325-7.52.007-5.325-5.312-.007-7.52 5.312-5.325 7.52-.007z"},null,-1),r=t("path",{d:"M28.01 3.633C21.829 6.657 17.973 11.6 15.217 18.05c-.14-.223-.304-.424-.383-.578l-.006-.01c-.693-1.394-1.92-3.422-3.092-4.81a1.5 1.5 0 0 0-2.113-.178 1.5 1.5 0 0 0-.18 2.113c.878 1.04 2.142 3.09 2.703 4.22l.004.006.002.006c.29.57.761 1.434 1.471 2.176.355.371.75.833 1.668.916a2.082 2.082 0 0 0 1.41-.441c.37-.308.561-.665.694-1.01l.003-.006c2.621-6.72 6.04-11.247 11.93-14.129a1.5 1.5 0 0 0 .69-2.006 1.5 1.5 0 0 0-2.008-.687"},null,-1),d=[a,l,r];function h(i,m){return c(),n("svg",s,[...d])}const w={render(){return e(o,{icon:{render:h},name:"simuladocnh"})}};export{w as default,h as render}; +import{N as o}from"./nuxt-icon.385eb01b.js";import{l as e,H as c,I as n,U as t}from"./swiper-vue.799c8af8.js";import"./entry.07c0747b.js";const s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},a=t("path",{d:"m29.637 10.335-8-7.984-11.302.012-7.984 8 .012 11.302 8 7.984 11.302-.012 7.984-8zm-1.853.77.01 9.766-6.899 6.913-9.766.01-6.913-6.898-.01-9.767 6.898-6.913 9.766-.01z"},null,-1),l=t("path",{d:"M26.502 11.637 20.34 5.49l-8.704.01-6.148 6.16.01 8.704 6.16 6.148 8.704-.01 6.148-6.16zm-1.428.593.008 7.52-5.312 5.325-7.52.007-5.325-5.312-.007-7.52 5.312-5.325 7.52-.007z"},null,-1),r=t("path",{d:"M28.01 3.633C21.829 6.657 17.973 11.6 15.217 18.05c-.14-.223-.304-.424-.383-.578l-.006-.01c-.693-1.394-1.92-3.422-3.092-4.81a1.5 1.5 0 0 0-2.113-.178 1.5 1.5 0 0 0-.18 2.113c.878 1.04 2.142 3.09 2.703 4.22l.004.006.002.006c.29.57.761 1.434 1.471 2.176.355.371.75.833 1.668.916a2.082 2.082 0 0 0 1.41-.441c.37-.308.561-.665.694-1.01l.003-.006c2.621-6.72 6.04-11.247 11.93-14.129a1.5 1.5 0 0 0 .69-2.006 1.5 1.5 0 0 0-2.008-.687"},null,-1),d=[a,l,r];function h(i,m){return c(),n("svg",s,[...d])}const w={render(){return e(o,{icon:{render:h},name:"simuladocnh"})}};export{w as default,h as render}; diff --git a/api/_content/cache.1731361479918.json b/api/_content/cache.1731364768636.json similarity index 99% rename from api/_content/cache.1731361479918.json rename to api/_content/cache.1731364768636.json index 45d4176..898e638 100644 --- a/api/_content/cache.1731361479918.json +++ b/api/_content/cache.1731364768636.json @@ -1 +1 @@ -{"generatedAt":1731361503315,"generateTime":347,"contents":[{"_path":"/projects/en/acidentes","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Accidents Dashboard","description":"A dashboard that displays accidents on federal highways","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A panel where you can view geolocated data on traffic accidents recorded by\nPolícia Rodoviária Federal - a national highway patrol from Brazil.\nIt allows a general overview of accidents by time of the the day at different\nlocations."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The app was coded in Python, using the "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":" framework.\nIt was based on a template from the "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"gallery"}]},{"type":"text","value":" of Dash."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Check out the running application at: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-dashboard.onrender.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-dashboard.onrender.com"}]}]},{"type":"element","tag":"h2","props":{"id":"check-also"},"children":[{"type":"text","value":"Check also"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This was one of the first projects where I had to understand code written by someone else in\norder to adapt the application to my needs.\nAlthough it wasn't a major challenge due to its small scale,\nit was definitely a valuable experience."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"check-also","depth":2,"text":"Check also"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:acidentes.md","_source":"content","_file":"projects/en/acidentes.md","_extension":"md"},{"_path":"/projects/en/playmytime","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"A web player for m3u/m3u8 playlists that works entirely offline using locally stored files","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I built the application using "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" and utilized the\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Access API"}]},{"type":"text","value":" to access local files.\nThe application can be installed on a computer as a PWA; however, currently, it does not work on mobile devices\ndue to limitations in accessing the local filesystem (see:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"As the application operates entirely offline, data storage was implemented through "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":", a native browser feature."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visit "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The application did not pose many significant challenges, but issues arose with some packages, particularly those related to Nuxt 3, as it was relatively new (at the moment that I worked in this project) and, therefore, may have bugs even in official packages. Additionally, it is not fully compatible with all packages developed for Vue.js and even Nuxt 2. These packages were eventually replaced with less popular alternatives."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The incompatibility with mobile devices is a future challenge and will likely be addressed through a native app that incorporates the web application and communicates with it using HTTP requests."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:playmytime.md","_source":"content","_file":"projects/en/playmytime.md","_extension":"md"},{"_path":"/projects/en/simuladocnh","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Driver's license exam simulator","description":"A bot designed for those preparing for the theoretical test of the driver's license application process.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"An interactive quiz that operates within the Telegram chat, helping you practice technical knowledge about traffic laws in Brazil."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I used the "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"Telegram Bot API"}]},{"type":"text","value":" to create "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". Communication with the API is achieved through the "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To obtain the questions, I had to scrape data from a PDF document to extract the text of the questions and the correct answers. This was done using the "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":" library. The images of the signs displayed in some questions were taken from a website through HTTP requests, with some manual adjustments."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The refined data is stored in a "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":" database, and access to this data is facilitated by the "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Go to Telegram and chat with @SimuladoCNHBot, or visit the address "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The main challenge of this project was extracting and refining data from the PDF to obtain the questions. Additionally, everything was done with libraries I had never used before, making it a significant learning experience."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Other minor challenges were also surfaced; here are some of them:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"How to handle questions with illustrations? Well, this wasn't simple since the drawings in the PDF are not images but rather lines, circles, curves, and squares. Moreover, underlining is also a line that can be mistaken for part of a drawing. To address these difficulties, I decided to do the following:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with signs in the statement: use the text reference and search for it on a website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with drawings: Identify through observation, take a screenshot, and modify directly in the database. This worked well since there are only a few such questions to modify (only 4).\nThe obtained images are sent before the questions in the form of a photo message."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Telegram supports only up to 100 characters in each quiz option: To solve this, it was necessary to send the alternatives and the statement in advance in two messages, just like the images. In the quiz form, the statement becomes \"Answer:\" and the alternatives turn into the letters of the options."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:simuladocnh.md","_source":"content","_file":"projects/en/simuladocnh.md","_extension":"md"},{"_path":"/projects/pt/acidentes","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Acidentes Dashboard","description":"Uma dashboard que mostra os acidentes em rodovias federais","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"acidentes","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um paínel no qual é possível ver dados geolocalizados sobre acidentes de\ntrânsito registrados pela Polícia Rodoviária Federal. Nele é possível\nvisualizar, de forma geral, em que horário do dia ocorrem os acidentes\nem cada local."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse é um projeto feito em Python, com ajuda do framework "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":". Ele foi baseado em um template da "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"galeria"}]},{"type":"text","value":" do Dash."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Confira como ficou em: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-dashboard.onrender.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-dashboard.onrender.com"}]}]},{"type":"element","tag":"h2","props":{"id":"veja-também"},"children":[{"type":"text","value":"Veja também"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse foi um dos primeiros projetos em que eu tive que entender um código\nfeito por outra pessoa, afim de adaptar a aplicação às minhas necessidades,\napesar de não ter sido um grande desafio, por ser uma aplicação pequena, com\ncerteza foi uma boa experiência."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"veja-também","depth":2,"text":"Veja também"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:acidentes.md","_source":"content","_file":"projects/pt/acidentes.md","_extension":"md"},{"_path":"/projects/pt/playmytime","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"Um web player de playlists m3u/m3u que funciona inteiramente offline usando arquivos armazenadas no computador","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu fiz a aplicação em "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" e usei o\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Acess API"}]},{"type":"text","value":" para acessar arquivos locais. A aplicação pode ser instalada no computador por ser\numa PWA, no entanto, atualmente, a aplicação não funciona em dispositimos móveis\npor causa das limitações de acesso ao sistema de arquivos local (veja:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Como a aplicação funciona inteiramente offline, o armazenamento de dados foi feito\natravés do "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":",\num recurso nativo dos navegadores."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visite "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A aplicação não ofereceu muitos desafios relevantes, mas surgiram problemas com\nalguns pacotes, principalmente os relacionados com o Nuxt 3, já que ele era muito\nrecente no momento em que fiz esse projeto e, portanto, apresenta bugs até em pacotes oficiais, além de não se\ncompatível com todas os pacotes feitos para Vue.js e até mesmo do Nuxt 2. Esses\npacotes acabaram sendo substítuidos por outros menos populares."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A incompatibilidade com dispositivos móveis é um desafio futuro, e provavelmente\nvai ser resolvido através de um App nativo que irá incoporar a aplicação web e\nse comunicar com ela usando requisições HTTP."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:playmytime.md","_source":"content","_file":"projects/pt/playmytime.md","_extension":"md"},{"_path":"/projects/pt/simuladocnh","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Simulado CNH","description":"Um bot feito para quem está se preparando para a prova teórica do processo de habitação.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um quiz interativo que funciona dentro do chat do Telegram, que te ajuda\na praticar o conhecimento técnico sobre legislação de trânsito."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu utilizei a "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"API de bots"}]},{"type":"text","value":" do Telegram para criar o "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". A comunicação com a API foi feita por meio da biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Para obter as questões, eu precisei fazer uma raspagem de dados em um documento PDF para conseguir extrair o texto das questões e as alternativas corretas. Isso foi feito com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":". As imagens das placas, exibidas em algumas questões, foram tiradas de um site por meio de requisições HTTP, porém alguns ajustes manuais foram feitos."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Os dados refinados foram colocados em banco de dados "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":". O acesso a esses dados é feio com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Vá até o telegram e fale com o @SimuladoCNHBot, ou visite o endereço "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"O maior desafio desse projeto foi extrair e refinar os dados do PDF para obter as questões. Além disso, tudo foi feito com bibliotecas que eu nunca tinha utilizado antes, portanto foi um grande aprendizado."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Outros pequenos desafios também apareceram, esses são alguns deles:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Como lidar com as perguntas que possuem ilustrações? Bom, essa questão não é simples, visto que os desenhos presentes no pdf não são imagens, e sim linhas, círculos, curvas e quadrados. E, para piorar, o sublinhado também é uma linha, e portanto pode ser confundido como parte de algum desenho."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nCom essas dificuldades eu resolvi fazer o seguinte:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com placas no enunciado: usar a referência de texto e busca-la em um website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com desenhos: Identificar por observação, tirar uma print-screen e modificar diretamento no banco. Isso funcionou bem, pois são poucas questões que precisam ser modificadas (somente 4)."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nAs imagens obtidas são enviadas antes da questões por meio de uma mensagem de foto."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"O telegram só suporta até 100 caracteres em cada opção do quiz: para resolver isso foi preciso enviar as alternativas e o enunciado antecipadamente em duas mensagens, assim como as imagens. No formulário o enunciado se transforma em \"Responda: \" e as alternativas se transformam nas letras das opções."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:simuladocnh.md","_source":"content","_file":"projects/pt/simuladocnh.md","_extension":"md"}],"navigation":[{"title":"Projects","_path":"/projects","children":[{"title":"En","_path":"/projects/en","children":[{"title":"Accidents Dashboard","_path":"/projects/en/acidentes"},{"title":"Play My Time","_path":"/projects/en/playmytime"},{"title":"Driver's license exam simulator","_path":"/projects/en/simuladocnh"}]},{"title":"Pt","_path":"/projects/pt","children":[{"title":"Acidentes Dashboard","_path":"/projects/pt/acidentes"},{"title":"Play My Time","_path":"/projects/pt/playmytime"},{"title":"Simulado CNH","_path":"/projects/pt/simuladocnh"}]}]}]} \ No newline at end of file +{"generatedAt":1731364786788,"generateTime":218,"contents":[{"_path":"/projects/en/acidentes","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Accidents Dashboard","description":"A dashboard that displays accidents on federal highways","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A panel where you can view geolocated data on traffic accidents recorded by\nPolícia Rodoviária Federal - a national highway patrol from Brazil.\nIt allows a general overview of accidents by time of the the day at different\nlocations."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The app was coded in Python, using the "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":" framework.\nIt was based on a template from the "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"gallery"}]},{"type":"text","value":" of Dash."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Check out the running application at: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-dashboard.onrender.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-dashboard.onrender.com"}]}]},{"type":"element","tag":"h2","props":{"id":"check-also"},"children":[{"type":"text","value":"Check also"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This was one of the first projects where I had to understand code written by someone else in\norder to adapt the application to my needs.\nAlthough it wasn't a major challenge due to its small scale,\nit was definitely a valuable experience."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"check-also","depth":2,"text":"Check also"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:acidentes.md","_source":"content","_file":"projects/en/acidentes.md","_extension":"md"},{"_path":"/projects/en/playmytime","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"A web player for m3u/m3u8 playlists that works entirely offline using locally stored files","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I built the application using "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" and utilized the\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Access API"}]},{"type":"text","value":" to access local files.\nThe application can be installed on a computer as a PWA; however, currently, it does not work on mobile devices\ndue to limitations in accessing the local filesystem (see:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"As the application operates entirely offline, data storage was implemented through "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":", a native browser feature."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visit "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The application did not pose many significant challenges, but issues arose with some packages, particularly those related to Nuxt 3, as it was relatively new (at the moment that I worked in this project) and, therefore, may have bugs even in official packages. Additionally, it is not fully compatible with all packages developed for Vue.js and even Nuxt 2. These packages were eventually replaced with less popular alternatives."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The incompatibility with mobile devices is a future challenge and will likely be addressed through a native app that incorporates the web application and communicates with it using HTTP requests."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:playmytime.md","_source":"content","_file":"projects/en/playmytime.md","_extension":"md"},{"_path":"/projects/en/simuladocnh","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Driver's license exam simulator","description":"A bot designed for those preparing for the theoretical test of the driver's license application process.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"An interactive quiz that operates within the Telegram chat, helping you practice technical knowledge about traffic laws in Brazil."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I used the "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"Telegram Bot API"}]},{"type":"text","value":" to create "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". Communication with the API is achieved through the "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To obtain the questions, I had to scrape data from a PDF document to extract the text of the questions and the correct answers. This was done using the "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":" library. The images of the signs displayed in some questions were taken from a website through HTTP requests, with some manual adjustments."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The refined data is stored in a "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":" database, and access to this data is facilitated by the "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Go to Telegram and chat with @SimuladoCNHBot, or visit the address "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The main challenge of this project was extracting and refining data from the PDF to obtain the questions. Additionally, everything was done with libraries I had never used before, making it a significant learning experience."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Other minor challenges were also surfaced; here are some of them:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"How to handle questions with illustrations? Well, this wasn't simple since the drawings in the PDF are not images but rather lines, circles, curves, and squares. Moreover, underlining is also a line that can be mistaken for part of a drawing. To address these difficulties, I decided to do the following:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with signs in the statement: use the text reference and search for it on a website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with drawings: Identify through observation, take a screenshot, and modify directly in the database. This worked well since there are only a few such questions to modify (only 4).\nThe obtained images are sent before the questions in the form of a photo message."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Telegram supports only up to 100 characters in each quiz option: To solve this, it was necessary to send the alternatives and the statement in advance in two messages, just like the images. In the quiz form, the statement becomes \"Answer:\" and the alternatives turn into the letters of the options."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:simuladocnh.md","_source":"content","_file":"projects/en/simuladocnh.md","_extension":"md"},{"_path":"/projects/pt/acidentes","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Acidentes Dashboard","description":"Uma dashboard que mostra os acidentes em rodovias federais","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"acidentes","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um paínel no qual é possível ver dados geolocalizados sobre acidentes de\ntrânsito registrados pela Polícia Rodoviária Federal. Nele é possível\nvisualizar, de forma geral, em que horário do dia ocorrem os acidentes\nem cada local."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse é um projeto feito em Python, com ajuda do framework "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":". Ele foi baseado em um template da "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"galeria"}]},{"type":"text","value":" do Dash."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Confira como ficou em: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-dashboard.onrender.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-dashboard.onrender.com"}]}]},{"type":"element","tag":"h2","props":{"id":"veja-também"},"children":[{"type":"text","value":"Veja também"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse foi um dos primeiros projetos em que eu tive que entender um código\nfeito por outra pessoa, afim de adaptar a aplicação às minhas necessidades,\napesar de não ter sido um grande desafio, por ser uma aplicação pequena, com\ncerteza foi uma boa experiência."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"veja-também","depth":2,"text":"Veja também"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:acidentes.md","_source":"content","_file":"projects/pt/acidentes.md","_extension":"md"},{"_path":"/projects/pt/playmytime","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"Um web player de playlists m3u/m3u que funciona inteiramente offline usando arquivos armazenadas no computador","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu fiz a aplicação em "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" e usei o\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Acess API"}]},{"type":"text","value":" para acessar arquivos locais. A aplicação pode ser instalada no computador por ser\numa PWA, no entanto, atualmente, a aplicação não funciona em dispositimos móveis\npor causa das limitações de acesso ao sistema de arquivos local (veja:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Como a aplicação funciona inteiramente offline, o armazenamento de dados foi feito\natravés do "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":",\num recurso nativo dos navegadores."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visite "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A aplicação não ofereceu muitos desafios relevantes, mas surgiram problemas com\nalguns pacotes, principalmente os relacionados com o Nuxt 3, já que ele era muito\nrecente no momento em que fiz esse projeto e, portanto, apresenta bugs até em pacotes oficiais, além de não se\ncompatível com todas os pacotes feitos para Vue.js e até mesmo do Nuxt 2. Esses\npacotes acabaram sendo substítuidos por outros menos populares."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A incompatibilidade com dispositivos móveis é um desafio futuro, e provavelmente\nvai ser resolvido através de um App nativo que irá incoporar a aplicação web e\nse comunicar com ela usando requisições HTTP."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:playmytime.md","_source":"content","_file":"projects/pt/playmytime.md","_extension":"md"},{"_path":"/projects/pt/simuladocnh","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Simulado CNH","description":"Um bot feito para quem está se preparando para a prova teórica do processo de habitação.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um quiz interativo que funciona dentro do chat do Telegram, que te ajuda\na praticar o conhecimento técnico sobre legislação de trânsito."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu utilizei a "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"API de bots"}]},{"type":"text","value":" do Telegram para criar o "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". A comunicação com a API foi feita por meio da biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Para obter as questões, eu precisei fazer uma raspagem de dados em um documento PDF para conseguir extrair o texto das questões e as alternativas corretas. Isso foi feito com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":". As imagens das placas, exibidas em algumas questões, foram tiradas de um site por meio de requisições HTTP, porém alguns ajustes manuais foram feitos."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Os dados refinados foram colocados em banco de dados "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":". O acesso a esses dados é feio com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Vá até o telegram e fale com o @SimuladoCNHBot, ou visite o endereço "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"O maior desafio desse projeto foi extrair e refinar os dados do PDF para obter as questões. Além disso, tudo foi feito com bibliotecas que eu nunca tinha utilizado antes, portanto foi um grande aprendizado."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Outros pequenos desafios também apareceram, esses são alguns deles:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Como lidar com as perguntas que possuem ilustrações? Bom, essa questão não é simples, visto que os desenhos presentes no pdf não são imagens, e sim linhas, círculos, curvas e quadrados. E, para piorar, o sublinhado também é uma linha, e portanto pode ser confundido como parte de algum desenho."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nCom essas dificuldades eu resolvi fazer o seguinte:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com placas no enunciado: usar a referência de texto e busca-la em um website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com desenhos: Identificar por observação, tirar uma print-screen e modificar diretamento no banco. Isso funcionou bem, pois são poucas questões que precisam ser modificadas (somente 4)."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nAs imagens obtidas são enviadas antes da questões por meio de uma mensagem de foto."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"O telegram só suporta até 100 caracteres em cada opção do quiz: para resolver isso foi preciso enviar as alternativas e o enunciado antecipadamente em duas mensagens, assim como as imagens. No formulário o enunciado se transforma em \"Responda: \" e as alternativas se transformam nas letras das opções."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:simuladocnh.md","_source":"content","_file":"projects/pt/simuladocnh.md","_extension":"md"}],"navigation":[{"title":"Projects","_path":"/projects","children":[{"title":"En","_path":"/projects/en","children":[{"title":"Accidents Dashboard","_path":"/projects/en/acidentes"},{"title":"Play My Time","_path":"/projects/en/playmytime"},{"title":"Driver's license exam simulator","_path":"/projects/en/simuladocnh"}]},{"title":"Pt","_path":"/projects/pt","children":[{"title":"Acidentes Dashboard","_path":"/projects/pt/acidentes"},{"title":"Play My Time","_path":"/projects/pt/playmytime"},{"title":"Simulado CNH","_path":"/projects/pt/simuladocnh"}]}]}]} \ No newline at end of file diff --git a/index.html b/index.html index 379d080..326a5a7 100644 --- a/index.html +++ b/index.html @@ -3,29 +3,29 @@ Pablo Emanuell - + - + - + - - + + - - + + - - + + - - + + - - + +
- + \ No newline at end of file