From a3adcc3b1911cadaee995f4df996dfdc99bbcdc4 Mon Sep 17 00:00:00 2001 From: NotXia Date: Sun, 4 May 2025 08:54:38 +0000 Subject: [PATCH] deploy: 3d926658977dcd04cbd6d16fd3c953ed36c14949 --- 200.html | 6 +++--- 404.html | 6 +++--- _nuxt/{CfC9Zfna.js => 52FAWmGK.js} | 2 +- _nuxt/{BrI7lM20.js => B19zN9Fu.js} | 2 +- _nuxt/{DEcDm17L.js => BL2-Egzd.js} | 2 +- _nuxt/{BdB7XlPh.js => BZmL5FUK.js} | 2 +- _nuxt/{BerSmlZi.js => CA4gnPUQ.js} | 6 +++--- _nuxt/{5XfhJFCT.js => DH2ZDleB.js} | 2 +- _nuxt/{C_GD9Inf.js => DHqOlpg2.js} | 2 +- _nuxt/{CxdKCF85.js => DucYWcBB.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../meta/c9a71669-df9a-472c-a018-74f7464e4190.json | 1 - .../meta/ff64d9c6-cb3c-4727-922b-9b83598e3d91.json | 1 + _payload.json | 2 +- about/_payload.json | 2 +- about/index.html | 10 +++++----- contacts/_payload.json | 2 +- contacts/index.html | 10 +++++----- en/_payload.json | 2 +- en/about/_payload.json | 2 +- en/about/index.html | 10 +++++----- en/contacts/_payload.json | 2 +- en/contacts/index.html | 10 +++++----- en/index.html | 10 +++++----- en/projects/_payload.json | 2 +- en/projects/index.html | 10 +++++----- en/resume/_payload.json | 2 +- en/resume/index.html | 10 +++++----- index.html | 10 +++++----- it/_payload.json | 2 +- it/about/_payload.json | 2 +- it/about/index.html | 10 +++++----- it/contacts/_payload.json | 2 +- it/contacts/index.html | 10 +++++----- it/index.html | 10 +++++----- it/projects/_payload.json | 2 +- it/projects/index.html | 10 +++++----- it/resume/_payload.json | 2 +- it/resume/index.html | 10 +++++----- projects/_payload.json | 2 +- projects/index.html | 10 +++++----- resume/_payload.json | 2 +- resume/index.html | 10 +++++----- 43 files changed, 108 insertions(+), 108 deletions(-) rename _nuxt/{CfC9Zfna.js => 52FAWmGK.js} (97%) rename _nuxt/{BrI7lM20.js => B19zN9Fu.js} (89%) rename _nuxt/{DEcDm17L.js => BL2-Egzd.js} (99%) rename _nuxt/{BdB7XlPh.js => BZmL5FUK.js} (98%) rename _nuxt/{BerSmlZi.js => CA4gnPUQ.js} (97%) rename _nuxt/{5XfhJFCT.js => DH2ZDleB.js} (99%) rename _nuxt/{C_GD9Inf.js => DHqOlpg2.js} (74%) rename _nuxt/{CxdKCF85.js => DucYWcBB.js} (99%) delete mode 100644 _nuxt/builds/meta/c9a71669-df9a-472c-a018-74f7464e4190.json create mode 100644 _nuxt/builds/meta/ff64d9c6-cb3c-4727-922b-9b83598e3d91.json diff --git a/200.html b/200.html index 65e80eb..ac4820c 100644 --- a/200.html +++ b/200.html @@ -1,11 +1,11 @@ - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/404.html b/404.html index 65e80eb..a03c052 100644 --- a/404.html +++ b/404.html @@ -1,11 +1,11 @@ - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/_nuxt/CfC9Zfna.js b/_nuxt/52FAWmGK.js similarity index 97% rename from _nuxt/CfC9Zfna.js rename to _nuxt/52FAWmGK.js index a8d80e0..9e070ae 100644 --- a/_nuxt/CfC9Zfna.js +++ b/_nuxt/52FAWmGK.js @@ -1 +1 @@ -import{_ as p}from"./5XfhJFCT.js";import{d as s,c as a,e as l,f as e,t as d,u as v,j as g,m as t,n as _,F as w,i as o}from"./BerSmlZi.js";import{_ as C}from"./C_GD9Inf.js";const u={class:"my-4 text-left md:text-center"},f=["href"],V={class:"inline-flex items-center"},k=["src"],M={class:"text-xl text-left"},S=s({__name:"ContactLink",props:{url:String,label:String,icon:String,alt:String},setup(i){const c=i;return(r,x)=>(l(),a("div",u,[e("a",{href:c.url},[e("div",V,[e("img",{src:c.icon,alt:"Github",class:"h-7 mr-2 select-none dark:invert"},null,8,k),e("span",M,d(c.label),1)])],8,f)]))}}),b="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2012C16%2014.2091%2014.2091%2016%2012%2016C9.79086%2016%208%2014.2091%208%2012C8%209.79086%209.79086%208%2012%208C14.2091%208%2016%209.79086%2016%2012ZM16%2012V13.5C16%2014.8807%2017.1193%2016%2018.5%2016V16C19.8807%2016%2021%2014.8807%2021%2013.5V12C21%207.02944%2016.9706%203%2012%203C7.02944%203%203%207.02944%203%2012C3%2016.9706%207.02944%2021%2012%2021H16'%20stroke='%23000000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%20width='50px'%20height='50px'%3e%3cpath%20d='M25,2c12.703,0,23,10.297,23,23S37.703,48,25,48S2,37.703,2,25S12.297,2,25,2z%20M32.934,34.375%20c0.423-1.298,2.405-14.234,2.65-16.783c0.074-0.772-0.17-1.285-0.648-1.514c-0.578-0.278-1.434-0.139-2.427,0.219%20c-1.362,0.491-18.774,7.884-19.78,8.312c-0.954,0.405-1.856,0.847-1.856,1.487c0,0.45,0.267,0.703,1.003,0.966%20c0.766,0.273,2.695,0.858,3.834,1.172c1.097,0.303,2.346,0.04,3.046-0.395c0.742-0.461,9.305-6.191,9.92-6.693%20c0.614-0.502,1.104,0.141,0.602,0.644c-0.502,0.502-6.38,6.207-7.155,6.997c-0.941,0.959-0.273,1.953,0.358,2.351%20c0.721,0.454,5.906,3.932,6.687,4.49c0.781,0.558,1.573,0.811,2.298,0.811C32.191,36.439,32.573,35.484,32.934,34.375z'/%3e%3c/svg%3e",G="data:image/svg+xml,%3c?xml%20version='1.0'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%20width='50px'%20height='50px'%3e%3cpath%20d='M41,4H9C6.24,4,4,6.24,4,9v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V9C46,6.24,43.76,4,41,4z%20M17,20v19h-6V20H17z%20M11,14.47c0-1.4,1.2-2.47,3-2.47s2.93,1.07,3,2.47c0,1.4-1.12,2.53-3,2.53C12.2,17,11,15.87,11,14.47z%20M39,39h-6c0,0,0-9.26,0-10%20c0-2-1-4-3.5-4.04h-0.08C27,24.96,26,27.02,26,29c0,0.91,0,10,0,10h-6V20h6v2.56c0,0,1.93-2.56,5.81-2.56%20c3.97,0,7.19,2.73,7.19,8.26V39z'/%3e%3c/svg%3e",B="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%20-28.5%20256%20256'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20preserveAspectRatio='xMidYMid'%3e%3cg%3e%3cpath%20d='M216.856339,16.5966031%20C200.285002,8.84328665%20182.566144,3.2084988%20164.041564,0%20C161.766523,4.11318106%20159.108624,9.64549908%20157.276099,14.0464379%20C137.583995,11.0849896%20118.072967,11.0849896%2098.7430163,14.0464379%20C96.9108417,9.64549908%2094.1925838,4.11318106%2091.8971895,0%20C73.3526068,3.2084988%2055.6133949,8.86399117%2039.0420583,16.6376612%20C5.61752293,67.146514%20-3.4433191,116.400813%201.08711069,164.955721%20C23.2560196,181.510915%2044.7403634,191.567697%2065.8621325,198.148576%20C71.0772151,190.971126%2075.7283628,183.341335%2079.7352139,175.300261%20C72.104019,172.400575%2064.7949724,168.822202%2057.8887866,164.667963%20C59.7209612,163.310589%2061.5131304,161.891452%2063.2445898,160.431257%20C105.36741,180.133187%20151.134928,180.133187%20192.754523,160.431257%20C194.506336,161.891452%20196.298154,163.310589%20198.110326,164.667963%20C191.183787,168.842556%20183.854737,172.420929%20176.223542,175.320965%20C180.230393,183.341335%20184.861538,190.991831%20190.096624,198.16893%20C211.238746,191.588051%20232.743023,181.531619%20254.911949,164.955721%20C260.227747,108.668201%20245.831087,59.8662432%20216.856339,16.5966031%20Z%20M85.4738752,135.09489%20C72.8290281,135.09489%2062.4592217,123.290155%2062.4592217,108.914901%20C62.4592217,94.5396472%2072.607595,82.7145587%2085.4738752,82.7145587%20C98.3405064,82.7145587%20108.709962,94.5189427%20108.488529,108.914901%20C108.508531,123.290155%2098.3405064,135.09489%2085.4738752,135.09489%20Z%20M170.525237,135.09489%20C157.88039,135.09489%20147.510584,123.290155%20147.510584,108.914901%20C147.510584,94.5396472%20157.658606,82.7145587%20170.525237,82.7145587%20C183.391518,82.7145587%20193.761324,94.5189427%20193.539891,108.914901%20C193.539891,123.290155%20183.391518,135.09489%20170.525237,135.09489%20Z'%20fill='%23000'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",H="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20520%20520'%20style='enable-background:new%200%200%20520%20520;'%20xml:space='preserve'%3e%3cpath%20d='M13.7,11.9v496.2h35.7V520H0V0h49.4v11.9H13.7z'/%3e%3cpath%20d='M166.3,169.2v25.1h0.7c6.7-9.6,14.8-17,24.2-22.2c9.4-5.3,20.3-7.9,32.5-7.9c11.7,0,22.4,2.3,32.1,6.8%20c9.7,4.5,17,12.6,22.1,24c5.5-8.1,13-15.3,22.4-21.5c9.4-6.2,20.6-9.3,33.5-9.3c9.8,0,18.9,1.2,27.3,3.6c8.4,2.4,15.5,6.2,21.5,11.5%20c6,5.3,10.6,12.1,14,20.6c3.3,8.5,5,18.7,5,30.7v124.1h-50.9V249.6c0-6.2-0.2-12.1-0.7-17.6c-0.5-5.5-1.8-10.3-3.9-14.3%20c-2.2-4.1-5.3-7.3-9.5-9.7c-4.2-2.4-9.9-3.6-17-3.6c-7.2,0-13,1.4-17.4,4.1c-4.4,2.8-7.9,6.3-10.4,10.8c-2.5,4.4-4.2,9.4-5,15.1%20c-0.8,5.6-1.3,11.3-1.3,17v103.3h-50.9v-104c0-5.5-0.1-10.9-0.4-16.3c-0.2-5.4-1.3-10.3-3.1-14.9c-1.8-4.5-4.8-8.2-9-10.9%20c-4.2-2.7-10.3-4.1-18.5-4.1c-2.4,0-5.6,0.5-9.5,1.6c-3.9,1.1-7.8,3.1-11.5,6.1c-3.7,3-6.9,7.3-9.5,12.9c-2.6,5.6-3.9,13-3.9,22.1%20v107.6h-50.9V169.2H166.3z'/%3e%3cpath%20d='M506.3,508.1V11.9h-35.7V0H520v520h-49.4v-11.9H506.3z'/%3e%3c/svg%3e",y={class:"relative z-10"},R={class:"md:flex justify-center"},L=s({__name:"contacts",setup(i){const{t:c}=v();return g({title:c("title_contacts")}),(r,x)=>{const h=p,n=S,m=C;return l(),a(w,null,[e("div",y,[t(h)]),t(m,null,{default:_(()=>[e("main",null,[e("div",R,[e("div",null,[t(n,{label:"tcxia [at] ik.me",icon:o(b),alt:"E-mail"},null,8,["icon"]),t(n,{label:"t.me/notxia",url:"https://t.me/notxia",icon:o(z),alt:"Telegram"},null,8,["icon"]),t(n,{label:"notpanda__",icon:o(B),alt:"Discord"},null,8,["icon"]),t(n,{label:"linkedin.com/in/tian-cheng-xia",url:"https://www.linkedin.com/in/tian-cheng-xia/",icon:o(G),alt:"LinkedIn"},null,8,["icon"]),t(n,{label:"@notxia:matrix.notatoaster.ovh",url:"https://matrix.to/#/@notxia:matrix.notatoaster.ovh",icon:o(H),alt:"Matrix"},null,8,["icon"])])])])]),_:1})],64)}}});export{L as default}; +import{_ as p}from"./DH2ZDleB.js";import{d as s,c as a,e as l,f as e,t as d,u as v,j as g,m as t,n as _,F as w,i as o}from"./CA4gnPUQ.js";import{_ as C}from"./DHqOlpg2.js";const u={class:"my-4 text-left md:text-center"},f=["href"],V={class:"inline-flex items-center"},k=["src"],M={class:"text-xl text-left"},S=s({__name:"ContactLink",props:{url:String,label:String,icon:String,alt:String},setup(i){const c=i;return(r,x)=>(l(),a("div",u,[e("a",{href:c.url},[e("div",V,[e("img",{src:c.icon,alt:"Github",class:"h-7 mr-2 select-none dark:invert"},null,8,k),e("span",M,d(c.label),1)])],8,f)]))}}),b="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2012C16%2014.2091%2014.2091%2016%2012%2016C9.79086%2016%208%2014.2091%208%2012C8%209.79086%209.79086%208%2012%208C14.2091%208%2016%209.79086%2016%2012ZM16%2012V13.5C16%2014.8807%2017.1193%2016%2018.5%2016V16C19.8807%2016%2021%2014.8807%2021%2013.5V12C21%207.02944%2016.9706%203%2012%203C7.02944%203%203%207.02944%203%2012C3%2016.9706%207.02944%2021%2012%2021H16'%20stroke='%23000000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%20width='50px'%20height='50px'%3e%3cpath%20d='M25,2c12.703,0,23,10.297,23,23S37.703,48,25,48S2,37.703,2,25S12.297,2,25,2z%20M32.934,34.375%20c0.423-1.298,2.405-14.234,2.65-16.783c0.074-0.772-0.17-1.285-0.648-1.514c-0.578-0.278-1.434-0.139-2.427,0.219%20c-1.362,0.491-18.774,7.884-19.78,8.312c-0.954,0.405-1.856,0.847-1.856,1.487c0,0.45,0.267,0.703,1.003,0.966%20c0.766,0.273,2.695,0.858,3.834,1.172c1.097,0.303,2.346,0.04,3.046-0.395c0.742-0.461,9.305-6.191,9.92-6.693%20c0.614-0.502,1.104,0.141,0.602,0.644c-0.502,0.502-6.38,6.207-7.155,6.997c-0.941,0.959-0.273,1.953,0.358,2.351%20c0.721,0.454,5.906,3.932,6.687,4.49c0.781,0.558,1.573,0.811,2.298,0.811C32.191,36.439,32.573,35.484,32.934,34.375z'/%3e%3c/svg%3e",G="data:image/svg+xml,%3c?xml%20version='1.0'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%20width='50px'%20height='50px'%3e%3cpath%20d='M41,4H9C6.24,4,4,6.24,4,9v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V9C46,6.24,43.76,4,41,4z%20M17,20v19h-6V20H17z%20M11,14.47c0-1.4,1.2-2.47,3-2.47s2.93,1.07,3,2.47c0,1.4-1.12,2.53-3,2.53C12.2,17,11,15.87,11,14.47z%20M39,39h-6c0,0,0-9.26,0-10%20c0-2-1-4-3.5-4.04h-0.08C27,24.96,26,27.02,26,29c0,0.91,0,10,0,10h-6V20h6v2.56c0,0,1.93-2.56,5.81-2.56%20c3.97,0,7.19,2.73,7.19,8.26V39z'/%3e%3c/svg%3e",B="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%20-28.5%20256%20256'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20preserveAspectRatio='xMidYMid'%3e%3cg%3e%3cpath%20d='M216.856339,16.5966031%20C200.285002,8.84328665%20182.566144,3.2084988%20164.041564,0%20C161.766523,4.11318106%20159.108624,9.64549908%20157.276099,14.0464379%20C137.583995,11.0849896%20118.072967,11.0849896%2098.7430163,14.0464379%20C96.9108417,9.64549908%2094.1925838,4.11318106%2091.8971895,0%20C73.3526068,3.2084988%2055.6133949,8.86399117%2039.0420583,16.6376612%20C5.61752293,67.146514%20-3.4433191,116.400813%201.08711069,164.955721%20C23.2560196,181.510915%2044.7403634,191.567697%2065.8621325,198.148576%20C71.0772151,190.971126%2075.7283628,183.341335%2079.7352139,175.300261%20C72.104019,172.400575%2064.7949724,168.822202%2057.8887866,164.667963%20C59.7209612,163.310589%2061.5131304,161.891452%2063.2445898,160.431257%20C105.36741,180.133187%20151.134928,180.133187%20192.754523,160.431257%20C194.506336,161.891452%20196.298154,163.310589%20198.110326,164.667963%20C191.183787,168.842556%20183.854737,172.420929%20176.223542,175.320965%20C180.230393,183.341335%20184.861538,190.991831%20190.096624,198.16893%20C211.238746,191.588051%20232.743023,181.531619%20254.911949,164.955721%20C260.227747,108.668201%20245.831087,59.8662432%20216.856339,16.5966031%20Z%20M85.4738752,135.09489%20C72.8290281,135.09489%2062.4592217,123.290155%2062.4592217,108.914901%20C62.4592217,94.5396472%2072.607595,82.7145587%2085.4738752,82.7145587%20C98.3405064,82.7145587%20108.709962,94.5189427%20108.488529,108.914901%20C108.508531,123.290155%2098.3405064,135.09489%2085.4738752,135.09489%20Z%20M170.525237,135.09489%20C157.88039,135.09489%20147.510584,123.290155%20147.510584,108.914901%20C147.510584,94.5396472%20157.658606,82.7145587%20170.525237,82.7145587%20C183.391518,82.7145587%20193.761324,94.5189427%20193.539891,108.914901%20C193.539891,123.290155%20183.391518,135.09489%20170.525237,135.09489%20Z'%20fill='%23000'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",H="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20520%20520'%20style='enable-background:new%200%200%20520%20520;'%20xml:space='preserve'%3e%3cpath%20d='M13.7,11.9v496.2h35.7V520H0V0h49.4v11.9H13.7z'/%3e%3cpath%20d='M166.3,169.2v25.1h0.7c6.7-9.6,14.8-17,24.2-22.2c9.4-5.3,20.3-7.9,32.5-7.9c11.7,0,22.4,2.3,32.1,6.8%20c9.7,4.5,17,12.6,22.1,24c5.5-8.1,13-15.3,22.4-21.5c9.4-6.2,20.6-9.3,33.5-9.3c9.8,0,18.9,1.2,27.3,3.6c8.4,2.4,15.5,6.2,21.5,11.5%20c6,5.3,10.6,12.1,14,20.6c3.3,8.5,5,18.7,5,30.7v124.1h-50.9V249.6c0-6.2-0.2-12.1-0.7-17.6c-0.5-5.5-1.8-10.3-3.9-14.3%20c-2.2-4.1-5.3-7.3-9.5-9.7c-4.2-2.4-9.9-3.6-17-3.6c-7.2,0-13,1.4-17.4,4.1c-4.4,2.8-7.9,6.3-10.4,10.8c-2.5,4.4-4.2,9.4-5,15.1%20c-0.8,5.6-1.3,11.3-1.3,17v103.3h-50.9v-104c0-5.5-0.1-10.9-0.4-16.3c-0.2-5.4-1.3-10.3-3.1-14.9c-1.8-4.5-4.8-8.2-9-10.9%20c-4.2-2.7-10.3-4.1-18.5-4.1c-2.4,0-5.6,0.5-9.5,1.6c-3.9,1.1-7.8,3.1-11.5,6.1c-3.7,3-6.9,7.3-9.5,12.9c-2.6,5.6-3.9,13-3.9,22.1%20v107.6h-50.9V169.2H166.3z'/%3e%3cpath%20d='M506.3,508.1V11.9h-35.7V0H520v520h-49.4v-11.9H506.3z'/%3e%3c/svg%3e",y={class:"relative z-10"},R={class:"md:flex justify-center"},L=s({__name:"contacts",setup(i){const{t:c}=v();return g({title:c("title_contacts")}),(r,x)=>{const h=p,n=S,m=C;return l(),a(w,null,[e("div",y,[t(h)]),t(m,null,{default:_(()=>[e("main",null,[e("div",R,[e("div",null,[t(n,{label:"tcxia [at] ik.me",icon:o(b),alt:"E-mail"},null,8,["icon"]),t(n,{label:"t.me/notxia",url:"https://t.me/notxia",icon:o(z),alt:"Telegram"},null,8,["icon"]),t(n,{label:"notpanda__",icon:o(B),alt:"Discord"},null,8,["icon"]),t(n,{label:"linkedin.com/in/tian-cheng-xia",url:"https://www.linkedin.com/in/tian-cheng-xia/",icon:o(G),alt:"LinkedIn"},null,8,["icon"]),t(n,{label:"@notxia:matrix.notatoaster.ovh",url:"https://matrix.to/#/@notxia:matrix.notatoaster.ovh",icon:o(H),alt:"Matrix"},null,8,["icon"])])])])]),_:1})],64)}}});export{L as default}; diff --git a/_nuxt/BrI7lM20.js b/_nuxt/B19zN9Fu.js similarity index 89% rename from _nuxt/BrI7lM20.js rename to _nuxt/B19zN9Fu.js index 9dbf6fb..45b5762 100644 --- a/_nuxt/BrI7lM20.js +++ b/_nuxt/B19zN9Fu.js @@ -1 +1 @@ -import{_ as g}from"./5XfhJFCT.js";import{d as _,r as l,o as h,c as d,h as f,e as u,f as e,t as s,q as x,b as v,u as w,j as k,m as r,n as $,F as L}from"./BerSmlZi.js";import{_ as R}from"./C_GD9Inf.js";const y=""+new URL("penguin.5LDqNDgQ.png",import.meta.url).href,C=""+new URL("llama.ByH6F09n.png",import.meta.url).href,b=""+new URL("rock.DHcr55eL.png",import.meta.url).href,B=""+new URL("coconut.IYkd_pOJ.png",import.meta.url).href,N=""+new URL("red-panda.Bf2KiHt1.png",import.meta.url).href,U={key:0,class:"w-52"},D=["src"],F={class:"text-center text-sm mt-2 select-none"},H=_({__name:"RandomSomething",setup(p){const o=[{name:"penguin",image:y},{name:"llama",image:C},{name:"rock",image:b},{name:"coconut",image:B},{name:"red panda",image:N}],t=l(""),c=l("");function a(){const n=x(o.filter(i=>i.name!==t.value));t.value=n.name,c.value=n.image}function m(){v("change-something"),a()}return h(()=>{a()}),(n,i)=>t.value!==""?(u(),d("div",U,[e("img",{src:c.value,alt:"",class:"h-40 max-w-xs max-w- mx-auto",onClick:m},null,8,D),e("p",F,s(n.$t(t.value)),1)])):f("",!0)}}),S={class:"relative z-10"},E={class:"block md:flex justify-center items-center"},V={class:"text-center md:text-left"},j={class:"text-2xl md:text-3xl font-semibold uppercase"},q={class:"text-4xl md:text-5xl font-semibold uppercase"},I={class:"text-xl lowercase"},O={class:"w-fit mx-auto mt-5 md:m-0 md:ml-10"},J=_({__name:"index",setup(p){const{t:o}=w();return k({title:o("title_home")}),(t,c)=>{const a=g,m=H,n=R;return u(),d(L,null,[e("div",S,[r(a)]),r(n,null,{default:$(()=>[e("main",null,[e("div",E,[e("div",V,[e("p",j,s(t.$t("i am a")),1),e("p",q,s(t.$t("cs student")),1),e("p",I,s(t.$t("a very accurate description of me")),1)]),e("div",O,[r(m)])])])]),_:1})],64)}}});export{J as default}; +import{_ as g}from"./DH2ZDleB.js";import{d as _,r as l,o as h,c as d,h as f,e as u,f as e,t as s,q as x,b as v,u as w,j as k,m as r,n as $,F as L}from"./CA4gnPUQ.js";import{_ as R}from"./DHqOlpg2.js";const y=""+new URL("penguin.5LDqNDgQ.png",import.meta.url).href,C=""+new URL("llama.ByH6F09n.png",import.meta.url).href,b=""+new URL("rock.DHcr55eL.png",import.meta.url).href,B=""+new URL("coconut.IYkd_pOJ.png",import.meta.url).href,N=""+new URL("red-panda.Bf2KiHt1.png",import.meta.url).href,U={key:0,class:"w-52"},D=["src"],F={class:"text-center text-sm mt-2 select-none"},H=_({__name:"RandomSomething",setup(p){const o=[{name:"penguin",image:y},{name:"llama",image:C},{name:"rock",image:b},{name:"coconut",image:B},{name:"red panda",image:N}],t=l(""),c=l("");function a(){const n=x(o.filter(i=>i.name!==t.value));t.value=n.name,c.value=n.image}function m(){v("change-something"),a()}return h(()=>{a()}),(n,i)=>t.value!==""?(u(),d("div",U,[e("img",{src:c.value,alt:"",class:"h-40 max-w-xs max-w- mx-auto",onClick:m},null,8,D),e("p",F,s(n.$t(t.value)),1)])):f("",!0)}}),S={class:"relative z-10"},E={class:"block md:flex justify-center items-center"},V={class:"text-center md:text-left"},j={class:"text-2xl md:text-3xl font-semibold uppercase"},q={class:"text-4xl md:text-5xl font-semibold uppercase"},I={class:"text-xl lowercase"},O={class:"w-fit mx-auto mt-5 md:m-0 md:ml-10"},J=_({__name:"index",setup(p){const{t:o}=w();return k({title:o("title_home")}),(t,c)=>{const a=g,m=H,n=R;return u(),d(L,null,[e("div",S,[r(a)]),r(n,null,{default:$(()=>[e("main",null,[e("div",E,[e("div",V,[e("p",j,s(t.$t("i am a")),1),e("p",q,s(t.$t("cs student")),1),e("p",I,s(t.$t("a very accurate description of me")),1)]),e("div",O,[r(m)])])])]),_:1})],64)}}});export{J as default}; diff --git a/_nuxt/DEcDm17L.js b/_nuxt/BL2-Egzd.js similarity index 99% rename from _nuxt/DEcDm17L.js rename to _nuxt/BL2-Egzd.js index 052adee..45c7052 100644 --- a/_nuxt/DEcDm17L.js +++ b/_nuxt/BL2-Egzd.js @@ -1 +1 @@ -import{_ as M,a as G}from"./5XfhJFCT.js";import{d as c,c as m,e as a,f as e,h as g,t as s,F as w,x as T,s as U,y as V,r as b,o as B,z as p,n as u,i as l,_ as $,p as v,u as D,j as A,m as r,A as W}from"./BerSmlZi.js";const Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20195.811%20195.811'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20d='M50.881,32.67c9.145,0,16.557-7.313,16.557-16.336C67.438,7.313,60.026,0,50.881,0C41.74,0,34.328,7.313,34.328,16.334%20C34.328,25.356,41.741,32.67,50.881,32.67z'/%3e%3cpath%20d='M99.076,97.672c-2.475,3.492-1.666,8.316,1.826,10.792l8.072,5.726c3.49,2.477,8.317,1.651,10.795-1.84l0.168-0.235%20l4.439,2.766l0.876,2.91c0.169,0.562,0.555,1.033,1.07,1.312c0.517,0.277,1.123,0.338,1.686,0.168l0.459-0.138%20c0.562-0.17,1.168-0.108,1.685,0.169c0.518,0.277,0.902,0.749,1.071,1.311l0.139,0.461c0.169,0.562,0.555,1.031,1.071,1.311%20c0.517,0.277,1.122,0.338,1.684,0.169l0.351-0.104c1.169-0.354,2.401,0.31,2.755,1.479l0.104,0.348%20c0.354,1.17,1.585,1.832,2.755,1.479l0.461-0.139c0.562-0.169,1.168-0.108,1.685,0.17c0.517,0.276,0.902,0.749,1.071,1.311%20l0.137,0.457c0.169,0.562,0.555,1.033,1.071,1.312c0.517,0.277,1.123,0.339,1.685,0.17l0.348-0.105%20c0.562-0.169,1.168-0.107,1.686,0.17c0.517,0.277,0.902,0.75,1.071,1.312l0.104,0.347c0.353,1.169,1.585,1.832,2.754,1.48%20l0.462-0.139c1.169-0.353,2.401,0.311,2.754,1.479l0.14,0.46c0.353,1.169,1.585,1.831,2.754,1.479l0.351-0.105%20c1.169-0.352,2.402,0.312,2.755,1.48l0.104,0.346c0.352,1.171,1.584,1.832,2.754,1.48l0.463-0.139%20c1.17-0.352,2.402,0.311,2.754,1.48l0.129,0.428c0.171,0.566,0.562,1.041,1.085,1.317c0.522,0.277,1.136,0.332,1.699,0.154%20l1.125-0.354c1.133-0.357,2.121-1.067,2.823-2.025l4.96-6.776c0.843-1.151,1.188-2.593,0.96-4.001%20c-0.229-1.408-1.014-2.666-2.177-3.492l-44.889-31.834l-14.166-10.049c-3.604-2.556-8.598-1.707-11.153,1.896L88.012,71.037%20L75.84,38.822c-0.975-2.582-3.555-3.808-6.191-3.808c-9.607,0-28.279,0-37.904,0c-2.328,0-4.66,0.896-5.846,3.065L8.701,69.593%20c-0.75,1.373-0.924,2.997-0.482,4.499l8.328,28.364c0.756,2.571,3.107,4.242,5.658,4.242c0.551,0,1.111-0.076,1.666-0.239%20c3.129-0.92,4.92-4.198,4-7.325l-7.648-26.015l10.834-19.864v133.304c0,4.89,3.975,8.854,8.865,8.854%20c4.889,0,8.865-3.964,8.865-8.854v-66.91h4.162v66.91c0,4.89,4.014,8.854,8.902,8.854c4.888,0,8.9-3.964,8.9-8.854V58.596%20l6.881,18.279c0.412,1.084,1.113,2.023,2.055,2.7l21.325,15.368L99.076,97.672z%20M130.864,118.048l-0.045,0.015l-0.014-0.047%20L130.864,118.048z%20M111.739,88.333c1.048-1.477,3.094-1.824,4.569-0.777l9.985,7.082L115.752,109.5%20c-0.898,1.268-2.662,1.571-3.931,0.672l-8.072-5.725c-1.266-0.899-1.555-2.658-0.653-3.926l2.018-2.849%20c0.695,0.273,1.424,0.407,2.15,0.407c1.83,0,3.635-0.852,4.789-2.452C113.68,93.371,113.479,90.353,111.739,88.333L111.739,88.333%20z'/%3e%3c!--%20%3cpath%20d='M170.963,168.102c0-3.846-3.117-6.963-6.964-6.963H93.723c-3.846,0-6.963,3.117-6.963,6.963%20c-2.735,0-4.953,2.219-4.953,4.953v17.803c0,2.735,2.218,4.953,4.953,4.953h23.762c2.735,0,4.953-2.218,4.953-4.953v-22.756h38.69%20v22.756c0,2.735,2.219,4.953,4.953,4.953h23.761c2.734,0,4.952-2.218,4.952-4.953v-15.793c0-3.846-3.116-6.963-6.963-6.963%20H170.963z'/%3e%20--%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F={class:"w-100 p-5 h-full"},H={class:"border border-gray-500 dark:border-gray-300 rounded-md p-3 w-full h-full flex items-center justify-center"},I={class:"w-full relative"},O={key:0,class:"sm:absolute sm:float-left flex items-center justify-center"},q={class:"text-2xl font-semibold text-center text-gray-900 dark:text-white"},K={key:1,class:"text font-semibold text-center text-gray-700 dark:text-gray-300"},E={class:"text-center mb-2"},J=["href"],Q={class:"w-full text-lg whitespace-pre-wrap mb-2 text-gray-500 dark:text-gray-400"},Y=["src"],_=c({__name:"ProjectCard",props:{title:String,subtitle:{type:String,required:!1},links:Object,image:String,image_classes:{type:String,required:!1,default:""},wip:{type:Boolean,required:!1}},setup(i){const t=i;return(o,n)=>(a(),m("div",F,[e("div",H,[e("div",I,[i.wip?(a(),m("div",O,n[0]||(n[0]=[e("img",{src:Z,class:"h-6 sm:h-8 dark:invert"},null,-1),e("span",{class:"sm:text-lg font-bold ml-2"},"WIP",-1)]))):g("",!0),e("h3",q,s(t.title),1),t.subtitle?(a(),m("h4",K,s(t.subtitle),1)):g("",!0),e("div",E,[(a(!0),m(w,null,T(t.links,d=>(a(),m("a",{href:d.url,class:"font-mono inline-block hover:underline mx-2"},s(d.label),9,J))),256))]),e("p",Q,[U(o.$slots,"default")]),t.image?(a(),m("img",{key:2,src:t.image,alt:"",class:V(`max-w-full max-h-96 mx-auto ${i.image_classes}`)},null,10,Y)):g("",!0)])])]))}}),tt={key:0,class:"text-center"},et={class:"w-full h-72 relative"},st={key:0,role:"status",class:"absolute top-0 left-0 w-full h-full flex justify-center items-center"},nt={key:1,class:"flex justify-center items-center w-full h-full"},ot=c({__name:"NotXiaGithubio",setup(i){const t=b(!1),o=b(!1);return B(()=>{try{window.frameElement&&(o.value=!0)}catch{o.value=!1}}),(n,d)=>{const h=_;return a(),p(h,{wip:"",title:"notxia.github.io",links:[{label:"Repository",url:"https://github.com/NotXia/notxia.github.io"}]},{default:u(()=>[l(o)?g("",!0):(a(),m("p",tt,s(n.$t("notxia.github.io.description")),1)),e("div",et,[!l(t)&&!l(o)?(a(),m("div",st,d[1]||(d[1]=[e("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin text-gray-200 fill-gray-600 dark:text-gray-600 dark:fill-gray-300",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)]))):g("",!0),l(o)?(a(),m("div",nt,[e("p",null,s(n.$t("no recursion")),1)])):g("",!0),l(o)?g("",!0):(a(),m("iframe",{key:2,src:"/",frameborder:"0",width:"100%",height:"100%",onLoad:d[0]||(d[0]=f=>t.value=!0)},null,32))])]),_:1})}}}),at=""+new URL("neural_network.CdFaPZL8.png",import.meta.url).href,it=c({__name:"NNFromScratch",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("nn_scratch.title"),image:l(at),image_classes:"dark:invert",links:[{label:"Repository",url:"https://github.com/NotXia/nn-from-scratch"}]},{default:u(()=>[e("p",null,s(t.$t("nn_scratch.description")),1)]),_:1},8,["title","image"])}}}),lt=""+new URL("tablut.bP_9NtuD.png",import.meta.url).href,rt={class:"text-center"},ct=c({__name:"TablutPlayer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tablut",image:l(lt),links:[{label:"Repository",url:"https://github.com/NotXia/tablut-player"}]},{default:u(()=>[e("p",rt,s(t.$t("unibo_23-24")),1),e("p",null,s(t.$t("tablut.description")),1)]),_:1},8,["image"])}}}),pt=""+new URL("bsc-thesis.GNZkyr7A.png",import.meta.url).href,ut={class:"text-center"},_t=c({__name:"BScThesis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("bsc_thesis.title"),subtitle:t.$t("bsc_thesis.thesis_title"),image:l(pt),links:[{label:"Repository1",url:"https://github.com/NotXia/biomed-ext-summ"},{label:"Repository2",url:"https://github.com/NotXia/pubmed-summ"},{label:t.$t("thesis"),url:"https://amslaurea.unibo.it/id/eprint/29686"}]},{default:u(()=>[e("p",ut,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("bsc_thesis.description")),1)]),_:1},8,["title","subtitle","image","links"])}}}),mt=""+new URL("wavemap.BQwukfR1.jpg",import.meta.url).href,dt={class:"text-center"},gt=c({__name:"WaveMap",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"WaveMap",image:l(mt),image_classes:"!max-h-[32rem]",links:[{label:"Repository",url:"https://github.com/NotXia/wave-map"}]},{default:u(()=>[e("p",dt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("wavemap.description")),1)]),_:1},8,["image"])}}}),ht={},ft={class:"text-center"};function bt(i,t){const o=_;return a(),p(o,{title:"Wirefilter",links:[{label:"Repository",url:"https://github.com/NotXia/vdeplug_wirefilter"},{label:"VirtualSquare",url:"http://wiki.virtualsquare.org/#!index.md"}]},{default:u(()=>[e("p",ft,s(i.$t("unibo_22-23")),1),e("p",null,s(i.$t("wirefilter.description")),1)]),_:1})}const wt=$(ht,[["render",bt]]),$t=""+new URL("tweet-analysis.Bfz4MjkO.png",import.meta.url).href,vt={class:"text-center"},yt=c({__name:"TweetAnalysis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tweet Analysis",image:l($t),links:[{label:"Repository",url:"https://github.com/NotXia/tweet-analysis"}]},{default:u(()=>[e("p",vt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("tweet_analysis.description")),1)]),_:1},8,["image"])}}}),xt=""+new URL("animal-house.DdPUBA-Y.png",import.meta.url).href,Ct={class:"text-center"},kt={class:"list-inside list-['-_']"},Nt=c({__name:"AnimalHouse",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Animal House",image:l(xt),links:[{label:"Repository",url:"https://github.com/NotXia/animal-house"}]},{default:u(()=>[e("p",Ct,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("animalhouse.description")),1),e("ul",kt,[e("li",null,s(t.$t("animalhouse.description.game")),1),e("li",null,s(t.$t("animalhouse.description.frontoffice")),1),e("li",null,s(t.$t("animalhouse.description.backoffice")),1)])]),_:1},8,["image"])}}}),Pt={},jt={class:"text-center"};function Rt(i,t){const o=_;return a(),p(o,{title:"PandOS+",links:[{label:"Repository",url:"https://github.com/NotXia/pandos-plus"}]},{default:u(()=>[e("p",jt,s(i.$t("unibo_21-22")),1),e("p",null,s(i.$t("pandos+.description")),1)]),_:1})}const zt=$(Pt,[["render",Rt]]),Lt=""+new URL("imaging.jNKQ-3TQ.png",import.meta.url).href,St={class:"text-center"},Xt=c({__name:"Imaging",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Image deblur",image:l(Lt),links:[{label:"Repository",url:"https://github.com/NotXia/imaging"}]},{default:u(()=>[e("p",St,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("imaging.description")),1)]),_:1},8,["image"])}}}),Mt=""+new URL("mnkgame.lN9puZjX.png",import.meta.url).href,Gt={class:"text-center"},Tt=c({__name:"MNKGame",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"MNK Game",image:l(Mt),links:[{label:"Repository",url:"https://github.com/NotXia/MNKGame"}]},{default:u(()=>[e("p",Gt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("mnk.description")),1)]),_:1},8,["image"])}}}),Ut=""+new URL("platform.CAZcDWzw.png",import.meta.url).href,Vt={class:"text-center"},Bt=c({__name:"Platform",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Platform game",image:l(Ut),links:[{label:"Repository",url:"https://github.com/NotXia/platform-game"}]},{default:u(()=>[e("p",Vt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("platform.description")),1)]),_:1},8,["image"])}}}),Dt=""+new URL("pathfinding-visualizer.BJG7xP34.png",import.meta.url).href,At=c({__name:"PathfindingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Pathfinding visualizer",image:l(Dt),links:[{label:"Repository",url:"https://github.com/NotXia/pathfinding-visualizer"},{label:"Demo",url:"https://notxia.github.io/pathfinding-visualizer/"}]},{default:u(()=>[v(s(t.$t("pathfinding_visualizer.description")),1)]),_:1},8,["image"])}}}),Wt=""+new URL("sorting-visualizer.CYJ9JT4e.png",import.meta.url).href,Zt=c({__name:"SortingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Sorting visualizer",image:l(Wt),links:[{label:"Repository",url:"https://github.com/NotXia/sorting-visualizer"},{label:"Demo",url:"https://notxia.github.io/sorting-visualizer/"}]},{default:u(()=>[v(s(t.$t("sort_visualizer.description")),1)]),_:1},8,["image"])}}}),Ft=""+new URL("huggingface.DAS6hTOG.svg",import.meta.url).href,Ht={class:"text-5xl font-bold text-center mb-5"},It={class:"grid grid-flow-row-dense grid-cols-12 m-auto justify-center [&>*]:px-5 [&>*]:py-5"},Kt=c({__name:"projects",setup(i){const{t}=D();return A({title:t("title_projects")}),(o,n)=>{const d=M,h=ot,f=it,y=ct,x=_t,C=gt,k=wt,N=yt,P=Nt,j=zt,R=Xt,z=Tt,L=Bt,S=At,X=Zt;return a(),m(w,null,[r(d),e("main",null,[e("h1",Ht,s(o.$t("projects")),1),n[0]||(n[0]=W('
Github github.com/NotXia Github huggingface.co/NotXia
',1)),e("div",It,[r(h,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(f,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(y,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(x,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(C,{class:"lg:col-span-4 lg:row-span-2 col-span-12"}),r(k,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(N,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(P,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(j,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(R,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(z,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(L,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(S,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(X,{class:"lg:col-span-6 row-span-1 col-span-12"})])])],64)}}});export{Kt as default}; +import{_ as M,a as G}from"./DH2ZDleB.js";import{d as c,c as m,e as a,f as e,h as g,t as s,F as w,x as T,s as U,y as V,r as b,o as B,z as p,n as u,i as l,_ as $,p as v,u as D,j as A,m as r,A as W}from"./CA4gnPUQ.js";const Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20195.811%20195.811'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20d='M50.881,32.67c9.145,0,16.557-7.313,16.557-16.336C67.438,7.313,60.026,0,50.881,0C41.74,0,34.328,7.313,34.328,16.334%20C34.328,25.356,41.741,32.67,50.881,32.67z'/%3e%3cpath%20d='M99.076,97.672c-2.475,3.492-1.666,8.316,1.826,10.792l8.072,5.726c3.49,2.477,8.317,1.651,10.795-1.84l0.168-0.235%20l4.439,2.766l0.876,2.91c0.169,0.562,0.555,1.033,1.07,1.312c0.517,0.277,1.123,0.338,1.686,0.168l0.459-0.138%20c0.562-0.17,1.168-0.108,1.685,0.169c0.518,0.277,0.902,0.749,1.071,1.311l0.139,0.461c0.169,0.562,0.555,1.031,1.071,1.311%20c0.517,0.277,1.122,0.338,1.684,0.169l0.351-0.104c1.169-0.354,2.401,0.31,2.755,1.479l0.104,0.348%20c0.354,1.17,1.585,1.832,2.755,1.479l0.461-0.139c0.562-0.169,1.168-0.108,1.685,0.17c0.517,0.276,0.902,0.749,1.071,1.311%20l0.137,0.457c0.169,0.562,0.555,1.033,1.071,1.312c0.517,0.277,1.123,0.339,1.685,0.17l0.348-0.105%20c0.562-0.169,1.168-0.107,1.686,0.17c0.517,0.277,0.902,0.75,1.071,1.312l0.104,0.347c0.353,1.169,1.585,1.832,2.754,1.48%20l0.462-0.139c1.169-0.353,2.401,0.311,2.754,1.479l0.14,0.46c0.353,1.169,1.585,1.831,2.754,1.479l0.351-0.105%20c1.169-0.352,2.402,0.312,2.755,1.48l0.104,0.346c0.352,1.171,1.584,1.832,2.754,1.48l0.463-0.139%20c1.17-0.352,2.402,0.311,2.754,1.48l0.129,0.428c0.171,0.566,0.562,1.041,1.085,1.317c0.522,0.277,1.136,0.332,1.699,0.154%20l1.125-0.354c1.133-0.357,2.121-1.067,2.823-2.025l4.96-6.776c0.843-1.151,1.188-2.593,0.96-4.001%20c-0.229-1.408-1.014-2.666-2.177-3.492l-44.889-31.834l-14.166-10.049c-3.604-2.556-8.598-1.707-11.153,1.896L88.012,71.037%20L75.84,38.822c-0.975-2.582-3.555-3.808-6.191-3.808c-9.607,0-28.279,0-37.904,0c-2.328,0-4.66,0.896-5.846,3.065L8.701,69.593%20c-0.75,1.373-0.924,2.997-0.482,4.499l8.328,28.364c0.756,2.571,3.107,4.242,5.658,4.242c0.551,0,1.111-0.076,1.666-0.239%20c3.129-0.92,4.92-4.198,4-7.325l-7.648-26.015l10.834-19.864v133.304c0,4.89,3.975,8.854,8.865,8.854%20c4.889,0,8.865-3.964,8.865-8.854v-66.91h4.162v66.91c0,4.89,4.014,8.854,8.902,8.854c4.888,0,8.9-3.964,8.9-8.854V58.596%20l6.881,18.279c0.412,1.084,1.113,2.023,2.055,2.7l21.325,15.368L99.076,97.672z%20M130.864,118.048l-0.045,0.015l-0.014-0.047%20L130.864,118.048z%20M111.739,88.333c1.048-1.477,3.094-1.824,4.569-0.777l9.985,7.082L115.752,109.5%20c-0.898,1.268-2.662,1.571-3.931,0.672l-8.072-5.725c-1.266-0.899-1.555-2.658-0.653-3.926l2.018-2.849%20c0.695,0.273,1.424,0.407,2.15,0.407c1.83,0,3.635-0.852,4.789-2.452C113.68,93.371,113.479,90.353,111.739,88.333L111.739,88.333%20z'/%3e%3c!--%20%3cpath%20d='M170.963,168.102c0-3.846-3.117-6.963-6.964-6.963H93.723c-3.846,0-6.963,3.117-6.963,6.963%20c-2.735,0-4.953,2.219-4.953,4.953v17.803c0,2.735,2.218,4.953,4.953,4.953h23.762c2.735,0,4.953-2.218,4.953-4.953v-22.756h38.69%20v22.756c0,2.735,2.219,4.953,4.953,4.953h23.761c2.734,0,4.952-2.218,4.952-4.953v-15.793c0-3.846-3.116-6.963-6.963-6.963%20H170.963z'/%3e%20--%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F={class:"w-100 p-5 h-full"},H={class:"border border-gray-500 dark:border-gray-300 rounded-md p-3 w-full h-full flex items-center justify-center"},I={class:"w-full relative"},O={key:0,class:"sm:absolute sm:float-left flex items-center justify-center"},q={class:"text-2xl font-semibold text-center text-gray-900 dark:text-white"},K={key:1,class:"text font-semibold text-center text-gray-700 dark:text-gray-300"},E={class:"text-center mb-2"},J=["href"],Q={class:"w-full text-lg whitespace-pre-wrap mb-2 text-gray-500 dark:text-gray-400"},Y=["src"],_=c({__name:"ProjectCard",props:{title:String,subtitle:{type:String,required:!1},links:Object,image:String,image_classes:{type:String,required:!1,default:""},wip:{type:Boolean,required:!1}},setup(i){const t=i;return(o,n)=>(a(),m("div",F,[e("div",H,[e("div",I,[i.wip?(a(),m("div",O,n[0]||(n[0]=[e("img",{src:Z,class:"h-6 sm:h-8 dark:invert"},null,-1),e("span",{class:"sm:text-lg font-bold ml-2"},"WIP",-1)]))):g("",!0),e("h3",q,s(t.title),1),t.subtitle?(a(),m("h4",K,s(t.subtitle),1)):g("",!0),e("div",E,[(a(!0),m(w,null,T(t.links,d=>(a(),m("a",{href:d.url,class:"font-mono inline-block hover:underline mx-2"},s(d.label),9,J))),256))]),e("p",Q,[U(o.$slots,"default")]),t.image?(a(),m("img",{key:2,src:t.image,alt:"",class:V(`max-w-full max-h-96 mx-auto ${i.image_classes}`)},null,10,Y)):g("",!0)])])]))}}),tt={key:0,class:"text-center"},et={class:"w-full h-72 relative"},st={key:0,role:"status",class:"absolute top-0 left-0 w-full h-full flex justify-center items-center"},nt={key:1,class:"flex justify-center items-center w-full h-full"},ot=c({__name:"NotXiaGithubio",setup(i){const t=b(!1),o=b(!1);return B(()=>{try{window.frameElement&&(o.value=!0)}catch{o.value=!1}}),(n,d)=>{const h=_;return a(),p(h,{wip:"",title:"notxia.github.io",links:[{label:"Repository",url:"https://github.com/NotXia/notxia.github.io"}]},{default:u(()=>[l(o)?g("",!0):(a(),m("p",tt,s(n.$t("notxia.github.io.description")),1)),e("div",et,[!l(t)&&!l(o)?(a(),m("div",st,d[1]||(d[1]=[e("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin text-gray-200 fill-gray-600 dark:text-gray-600 dark:fill-gray-300",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)]))):g("",!0),l(o)?(a(),m("div",nt,[e("p",null,s(n.$t("no recursion")),1)])):g("",!0),l(o)?g("",!0):(a(),m("iframe",{key:2,src:"/",frameborder:"0",width:"100%",height:"100%",onLoad:d[0]||(d[0]=f=>t.value=!0)},null,32))])]),_:1})}}}),at=""+new URL("neural_network.CdFaPZL8.png",import.meta.url).href,it=c({__name:"NNFromScratch",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("nn_scratch.title"),image:l(at),image_classes:"dark:invert",links:[{label:"Repository",url:"https://github.com/NotXia/nn-from-scratch"}]},{default:u(()=>[e("p",null,s(t.$t("nn_scratch.description")),1)]),_:1},8,["title","image"])}}}),lt=""+new URL("tablut.bP_9NtuD.png",import.meta.url).href,rt={class:"text-center"},ct=c({__name:"TablutPlayer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tablut",image:l(lt),links:[{label:"Repository",url:"https://github.com/NotXia/tablut-player"}]},{default:u(()=>[e("p",rt,s(t.$t("unibo_23-24")),1),e("p",null,s(t.$t("tablut.description")),1)]),_:1},8,["image"])}}}),pt=""+new URL("bsc-thesis.GNZkyr7A.png",import.meta.url).href,ut={class:"text-center"},_t=c({__name:"BScThesis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("bsc_thesis.title"),subtitle:t.$t("bsc_thesis.thesis_title"),image:l(pt),links:[{label:"Repository1",url:"https://github.com/NotXia/biomed-ext-summ"},{label:"Repository2",url:"https://github.com/NotXia/pubmed-summ"},{label:t.$t("thesis"),url:"https://amslaurea.unibo.it/id/eprint/29686"}]},{default:u(()=>[e("p",ut,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("bsc_thesis.description")),1)]),_:1},8,["title","subtitle","image","links"])}}}),mt=""+new URL("wavemap.BQwukfR1.jpg",import.meta.url).href,dt={class:"text-center"},gt=c({__name:"WaveMap",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"WaveMap",image:l(mt),image_classes:"!max-h-[32rem]",links:[{label:"Repository",url:"https://github.com/NotXia/wave-map"}]},{default:u(()=>[e("p",dt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("wavemap.description")),1)]),_:1},8,["image"])}}}),ht={},ft={class:"text-center"};function bt(i,t){const o=_;return a(),p(o,{title:"Wirefilter",links:[{label:"Repository",url:"https://github.com/NotXia/vdeplug_wirefilter"},{label:"VirtualSquare",url:"http://wiki.virtualsquare.org/#!index.md"}]},{default:u(()=>[e("p",ft,s(i.$t("unibo_22-23")),1),e("p",null,s(i.$t("wirefilter.description")),1)]),_:1})}const wt=$(ht,[["render",bt]]),$t=""+new URL("tweet-analysis.Bfz4MjkO.png",import.meta.url).href,vt={class:"text-center"},yt=c({__name:"TweetAnalysis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tweet Analysis",image:l($t),links:[{label:"Repository",url:"https://github.com/NotXia/tweet-analysis"}]},{default:u(()=>[e("p",vt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("tweet_analysis.description")),1)]),_:1},8,["image"])}}}),xt=""+new URL("animal-house.DdPUBA-Y.png",import.meta.url).href,Ct={class:"text-center"},kt={class:"list-inside list-['-_']"},Nt=c({__name:"AnimalHouse",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Animal House",image:l(xt),links:[{label:"Repository",url:"https://github.com/NotXia/animal-house"}]},{default:u(()=>[e("p",Ct,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("animalhouse.description")),1),e("ul",kt,[e("li",null,s(t.$t("animalhouse.description.game")),1),e("li",null,s(t.$t("animalhouse.description.frontoffice")),1),e("li",null,s(t.$t("animalhouse.description.backoffice")),1)])]),_:1},8,["image"])}}}),Pt={},jt={class:"text-center"};function Rt(i,t){const o=_;return a(),p(o,{title:"PandOS+",links:[{label:"Repository",url:"https://github.com/NotXia/pandos-plus"}]},{default:u(()=>[e("p",jt,s(i.$t("unibo_21-22")),1),e("p",null,s(i.$t("pandos+.description")),1)]),_:1})}const zt=$(Pt,[["render",Rt]]),Lt=""+new URL("imaging.jNKQ-3TQ.png",import.meta.url).href,St={class:"text-center"},Xt=c({__name:"Imaging",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Image deblur",image:l(Lt),links:[{label:"Repository",url:"https://github.com/NotXia/imaging"}]},{default:u(()=>[e("p",St,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("imaging.description")),1)]),_:1},8,["image"])}}}),Mt=""+new URL("mnkgame.lN9puZjX.png",import.meta.url).href,Gt={class:"text-center"},Tt=c({__name:"MNKGame",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"MNK Game",image:l(Mt),links:[{label:"Repository",url:"https://github.com/NotXia/MNKGame"}]},{default:u(()=>[e("p",Gt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("mnk.description")),1)]),_:1},8,["image"])}}}),Ut=""+new URL("platform.CAZcDWzw.png",import.meta.url).href,Vt={class:"text-center"},Bt=c({__name:"Platform",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Platform game",image:l(Ut),links:[{label:"Repository",url:"https://github.com/NotXia/platform-game"}]},{default:u(()=>[e("p",Vt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("platform.description")),1)]),_:1},8,["image"])}}}),Dt=""+new URL("pathfinding-visualizer.BJG7xP34.png",import.meta.url).href,At=c({__name:"PathfindingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Pathfinding visualizer",image:l(Dt),links:[{label:"Repository",url:"https://github.com/NotXia/pathfinding-visualizer"},{label:"Demo",url:"https://notxia.github.io/pathfinding-visualizer/"}]},{default:u(()=>[v(s(t.$t("pathfinding_visualizer.description")),1)]),_:1},8,["image"])}}}),Wt=""+new URL("sorting-visualizer.CYJ9JT4e.png",import.meta.url).href,Zt=c({__name:"SortingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Sorting visualizer",image:l(Wt),links:[{label:"Repository",url:"https://github.com/NotXia/sorting-visualizer"},{label:"Demo",url:"https://notxia.github.io/sorting-visualizer/"}]},{default:u(()=>[v(s(t.$t("sort_visualizer.description")),1)]),_:1},8,["image"])}}}),Ft=""+new URL("huggingface.DAS6hTOG.svg",import.meta.url).href,Ht={class:"text-5xl font-bold text-center mb-5"},It={class:"grid grid-flow-row-dense grid-cols-12 m-auto justify-center [&>*]:px-5 [&>*]:py-5"},Kt=c({__name:"projects",setup(i){const{t}=D();return A({title:t("title_projects")}),(o,n)=>{const d=M,h=ot,f=it,y=ct,x=_t,C=gt,k=wt,N=yt,P=Nt,j=zt,R=Xt,z=Tt,L=Bt,S=At,X=Zt;return a(),m(w,null,[r(d),e("main",null,[e("h1",Ht,s(o.$t("projects")),1),n[0]||(n[0]=W('
Github github.com/NotXia Github huggingface.co/NotXia
',1)),e("div",It,[r(h,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(f,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(y,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(x,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(C,{class:"lg:col-span-4 lg:row-span-2 col-span-12"}),r(k,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(N,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(P,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(j,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(R,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(z,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(L,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(S,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(X,{class:"lg:col-span-6 row-span-1 col-span-12"})])])],64)}}});export{Kt as default}; diff --git a/_nuxt/BdB7XlPh.js b/_nuxt/BZmL5FUK.js similarity index 98% rename from _nuxt/BdB7XlPh.js rename to _nuxt/BZmL5FUK.js index 7e6c4a9..1a508e8 100644 --- a/_nuxt/BdB7XlPh.js +++ b/_nuxt/BZmL5FUK.js @@ -1 +1 @@ -import{i as C,_ as D}from"./5XfhJFCT.js";import{d as w,u as B,r as x,g as M,o as S,a as j,b as L,c,e as d,f as e,h as k,w as p,v as _,i as n,t as y,j as N,k as P,l as R,m as v,n as U,p as r,F as E}from"./BerSmlZi.js";import{_ as F}from"./C_GD9Inf.js";const I=""+new URL("picture-dark.lZoHd34_.png",import.meta.url).href,T=""+new URL("picture-light.Cu7IiVnU.png",import.meta.url).href,V=""+new URL("picture-bright.BMg2juJv.png",import.meta.url).href,z=""+new URL("picture-nolight.BjyWP7L-.png",import.meta.url).href,O={class:"relative"},X={class:"flex items-center h-60 w-60"},Y={src:I,alt:"",class:"max-h-full max-w-full"},A={src:T,alt:"",class:"max-h-full max-w-full"},G={src:V,alt:"",class:"max-h-full max-w-full"},H={src:z,alt:"",class:"max-h-full max-w-full"},W={key:0,class:"absolute bottom-0 left-0 w-full"},J={class:"w-fit mx-auto px-2 pt-1 mb-1 bg-gray-200 dark:bg-gray-700"},Z=w({__name:"ProfilePicture",setup($){const{t:l}=B(),s=x(M()),i=x("");return S(()=>{var f;let a=(f=document.querySelector("html"))!=null&&f.classList.contains("dark")?"dark1":"light1",t={dark1:{image:"dark",message:"",expect:"dark",next:"bright"},bright:{image:"bright",message:"that's bright",expect:"light",next:"dark2"},dark2:{image:"dark",message:"better",expect:"dark",next:"light_final"},light1:{image:"light",message:"",expect:"light",next:"nolights"},nolights:{image:"no light",message:"where lights",expect:"dark",next:"light2"},light2:{image:"light",message:"here lights",expect:"light",next:"dark_final"},dark_final:{image:"dark",message:"",expect:"dark",next:"light_final"},light_final:{image:"light",message:"",expect:"light",next:"dark_final"}};function o(){var m,b,g;s.value=(m=t[a])==null?void 0:m.image,i.value=((b=t[a])==null?void 0:b.message)!==""?l((g=t[a])==null?void 0:g.message):""}function u(){var m;a=(m=t[a])==null?void 0:m.next}o();let h=new MutationObserver(function(m){var g,q;if(!((g=j().name)!=null&&g.toString().startsWith("about"))){h.disconnect();return}const b=(q=document.querySelector("html"))==null?void 0:q.classList.contains("dark");t[t[a].next].expect===(b?"dark":"light")&&(u(),o(),a==="bright"?L("picture-bright"):a==="nolights"&&L("picture-nolights"))});h.observe(document.querySelector("html"),{attributes:!0,attributeFilter:["class"]})}),(a,t)=>(d(),c("div",O,[e("div",X,[p(e("img",Y,null,512),[[_,n(s)==="dark"]]),p(e("img",A,null,512),[[_,n(s)==="light"]]),p(e("img",G,null,512),[[_,n(s)==="bright"]]),p(e("img",H,null,512),[[_,n(s)==="no light"]])]),n(i)?(d(),c("div",W,[e("p",J,y(n(i)),1)])):k("",!0)]))}}),K={class:"h-full w-fit"},Q={key:0,class:"flex h-full w-full items-center justify-center"},ee={id:"gr_grid_widget_1673812364",class:"h-full"},te=w({__name:"Goodreads",setup($){const l=x(!0);return S(()=>{var a;document.querySelector("#script-goodreads")&&((a=document.querySelector("#script-goodreads"))==null||a.remove());let s=document.createElement("script");s.src="https://www.goodreads.com/review/grid_widget/158866642?cover_size=medium&hide_link=true&hide_title=true&num_books=20&order=d&shelf=currently-reading&sort=date_updated&widget_id=1673812364",s.id="script-goodreads",s.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(s);let i=new MutationObserver(function(t){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(o=>o.src=o.src.replace("_SX98_","_SY475_")),i.disconnect(),l.value=!1});i.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(s,i)=>(d(),c("div",K,[n(l)?(d(),c("div",Q,i[0]||(i[0]=[e("span",{class:"animate-ping absolute inline-flex h-5 w-5 rounded-full bg-slate-800 dark:bg-slate-200 opacity-75"},null,-1)]))):k("",!0),p(e("div",ee,null,512),[[_,!n(l)]])]))}}),ae={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},se={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},ie={class:"text-5xl font-bold mb-5"},oe={key:0},re={key:1},ne={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},le={class:"mt-5"},ce={class:"text-center text-xl"},de={class:"flex justify-center h-48"},pe=w({__name:"about",setup($){const{t:l,locale:s}=B(),i=x(s.value);return N({title:l("title_about")}),P(()=>{const a=new Date,t=new Date(2001,8,29),o=a.getMonth()-t.getMonth();let u=a.getFullYear()-t.getFullYear();return(o<0||o===0&&a.getDate(){C()}),R(s,()=>{i.value=s.value}),(a,t)=>{const o=D,u=Z,h=te,f=F;return d(),c(E,null,[v(o),v(f,null,{default:U(()=>[e("main",null,[e("div",ae,[e("div",se,[e("h1",ie,y(a.$t("about me")),1),n(i)==="it"?(d(),c("div",oe,t[0]||(t[0]=[e("p",null,[r(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),r(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),r(" (cognome) o Riccardo. Studio artificial intelligence all'Università di Bologna e al momento i miei interessi sono orientati verso l'ambito NLP. ")],-1),e("p",null,[r(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),r(", giocare a giochi strategici e spendere decisamente troppo tempo sul mio home server. ")],-1),e("p",null," Dovrei probabilmente scrivere qualcos'altro, ma sono terribile a scrivere biografie, quindi tieni una ciambella 🍩. ",-1)]))):k("",!0),n(i)==="en"?(d(),c("div",re,t[1]||(t[1]=[e("p",null,[r(" My name is "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),r(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),r(" (surname) or Riccardo. I am an artificial intelligence student at the University of Bologna and currently my interests are focused on natural language processing. ")],-1),e("p",null,[r(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),r(", playing strategic games and spending way too much time on my home server. ")],-1),e("p",null," I should probably write some more about me, but I'm terrible at writing biographies, so here's a donut 🍩. ",-1)]))):k("",!0)]),e("div",ne,[v(u)])]),e("div",le,[e("p",ce,y(a.$t("reading")),1),e("div",de,[v(h)])])])]),_:1}),t[2]||(t[2]=e("div",{"data-popover":"",id:"popover-name",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 天成 ")],-1)),t[3]||(t[3]=e("div",{"data-popover":"",id:"popover-surname",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 夏 ")],-1))],64)}}});export{pe as default}; +import{i as C,_ as D}from"./DH2ZDleB.js";import{d as w,u as B,r as x,g as M,o as S,a as j,b as L,c,e as d,f as e,h as k,w as p,v as _,i as n,t as y,j as N,k as P,l as R,m as v,n as U,p as r,F as E}from"./CA4gnPUQ.js";import{_ as F}from"./DHqOlpg2.js";const I=""+new URL("picture-dark.lZoHd34_.png",import.meta.url).href,T=""+new URL("picture-light.Cu7IiVnU.png",import.meta.url).href,V=""+new URL("picture-bright.BMg2juJv.png",import.meta.url).href,z=""+new URL("picture-nolight.BjyWP7L-.png",import.meta.url).href,O={class:"relative"},X={class:"flex items-center h-60 w-60"},Y={src:I,alt:"",class:"max-h-full max-w-full"},A={src:T,alt:"",class:"max-h-full max-w-full"},G={src:V,alt:"",class:"max-h-full max-w-full"},H={src:z,alt:"",class:"max-h-full max-w-full"},W={key:0,class:"absolute bottom-0 left-0 w-full"},J={class:"w-fit mx-auto px-2 pt-1 mb-1 bg-gray-200 dark:bg-gray-700"},Z=w({__name:"ProfilePicture",setup($){const{t:l}=B(),s=x(M()),i=x("");return S(()=>{var f;let a=(f=document.querySelector("html"))!=null&&f.classList.contains("dark")?"dark1":"light1",t={dark1:{image:"dark",message:"",expect:"dark",next:"bright"},bright:{image:"bright",message:"that's bright",expect:"light",next:"dark2"},dark2:{image:"dark",message:"better",expect:"dark",next:"light_final"},light1:{image:"light",message:"",expect:"light",next:"nolights"},nolights:{image:"no light",message:"where lights",expect:"dark",next:"light2"},light2:{image:"light",message:"here lights",expect:"light",next:"dark_final"},dark_final:{image:"dark",message:"",expect:"dark",next:"light_final"},light_final:{image:"light",message:"",expect:"light",next:"dark_final"}};function o(){var m,b,g;s.value=(m=t[a])==null?void 0:m.image,i.value=((b=t[a])==null?void 0:b.message)!==""?l((g=t[a])==null?void 0:g.message):""}function u(){var m;a=(m=t[a])==null?void 0:m.next}o();let h=new MutationObserver(function(m){var g,q;if(!((g=j().name)!=null&&g.toString().startsWith("about"))){h.disconnect();return}const b=(q=document.querySelector("html"))==null?void 0:q.classList.contains("dark");t[t[a].next].expect===(b?"dark":"light")&&(u(),o(),a==="bright"?L("picture-bright"):a==="nolights"&&L("picture-nolights"))});h.observe(document.querySelector("html"),{attributes:!0,attributeFilter:["class"]})}),(a,t)=>(d(),c("div",O,[e("div",X,[p(e("img",Y,null,512),[[_,n(s)==="dark"]]),p(e("img",A,null,512),[[_,n(s)==="light"]]),p(e("img",G,null,512),[[_,n(s)==="bright"]]),p(e("img",H,null,512),[[_,n(s)==="no light"]])]),n(i)?(d(),c("div",W,[e("p",J,y(n(i)),1)])):k("",!0)]))}}),K={class:"h-full w-fit"},Q={key:0,class:"flex h-full w-full items-center justify-center"},ee={id:"gr_grid_widget_1673812364",class:"h-full"},te=w({__name:"Goodreads",setup($){const l=x(!0);return S(()=>{var a;document.querySelector("#script-goodreads")&&((a=document.querySelector("#script-goodreads"))==null||a.remove());let s=document.createElement("script");s.src="https://www.goodreads.com/review/grid_widget/158866642?cover_size=medium&hide_link=true&hide_title=true&num_books=20&order=d&shelf=currently-reading&sort=date_updated&widget_id=1673812364",s.id="script-goodreads",s.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(s);let i=new MutationObserver(function(t){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(o=>o.src=o.src.replace("_SX98_","_SY475_")),i.disconnect(),l.value=!1});i.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(s,i)=>(d(),c("div",K,[n(l)?(d(),c("div",Q,i[0]||(i[0]=[e("span",{class:"animate-ping absolute inline-flex h-5 w-5 rounded-full bg-slate-800 dark:bg-slate-200 opacity-75"},null,-1)]))):k("",!0),p(e("div",ee,null,512),[[_,!n(l)]])]))}}),ae={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},se={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},ie={class:"text-5xl font-bold mb-5"},oe={key:0},re={key:1},ne={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},le={class:"mt-5"},ce={class:"text-center text-xl"},de={class:"flex justify-center h-48"},pe=w({__name:"about",setup($){const{t:l,locale:s}=B(),i=x(s.value);return N({title:l("title_about")}),P(()=>{const a=new Date,t=new Date(2001,8,29),o=a.getMonth()-t.getMonth();let u=a.getFullYear()-t.getFullYear();return(o<0||o===0&&a.getDate(){C()}),R(s,()=>{i.value=s.value}),(a,t)=>{const o=D,u=Z,h=te,f=F;return d(),c(E,null,[v(o),v(f,null,{default:U(()=>[e("main",null,[e("div",ae,[e("div",se,[e("h1",ie,y(a.$t("about me")),1),n(i)==="it"?(d(),c("div",oe,t[0]||(t[0]=[e("p",null,[r(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),r(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),r(" (cognome) o Riccardo. Studio artificial intelligence all'Università di Bologna e al momento i miei interessi sono orientati verso l'ambito NLP. ")],-1),e("p",null,[r(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),r(", giocare a giochi strategici e spendere decisamente troppo tempo sul mio home server. ")],-1),e("p",null," Dovrei probabilmente scrivere qualcos'altro, ma sono terribile a scrivere biografie, quindi tieni una ciambella 🍩. ",-1)]))):k("",!0),n(i)==="en"?(d(),c("div",re,t[1]||(t[1]=[e("p",null,[r(" My name is "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),r(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),r(" (surname) or Riccardo. I am an artificial intelligence student at the University of Bologna and currently my interests are focused on natural language processing. ")],-1),e("p",null,[r(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),r(", playing strategic games and spending way too much time on my home server. ")],-1),e("p",null," I should probably write some more about me, but I'm terrible at writing biographies, so here's a donut 🍩. ",-1)]))):k("",!0)]),e("div",ne,[v(u)])]),e("div",le,[e("p",ce,y(a.$t("reading")),1),e("div",de,[v(h)])])])]),_:1}),t[2]||(t[2]=e("div",{"data-popover":"",id:"popover-name",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 天成 ")],-1)),t[3]||(t[3]=e("div",{"data-popover":"",id:"popover-surname",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 夏 ")],-1))],64)}}});export{pe as default}; diff --git a/_nuxt/BerSmlZi.js b/_nuxt/CA4gnPUQ.js similarity index 97% rename from _nuxt/BerSmlZi.js rename to _nuxt/CA4gnPUQ.js index 2294329..011cfdd 100644 --- a/_nuxt/BerSmlZi.js +++ b/_nuxt/CA4gnPUQ.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BdB7XlPh.js","./5XfhJFCT.js","./C_GD9Inf.js","./about.DQ3KPf58.css","./CfC9Zfna.js","./BrI7lM20.js","./DEcDm17L.js","./CxdKCF85.js","./resume.Ce14pIsp.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BZmL5FUK.js","./DH2ZDleB.js","./DHqOlpg2.js","./about.DQ3KPf58.css","./52FAWmGK.js","./B19zN9Fu.js","./BL2-Egzd.js","./DucYWcBB.js","./resume.Ce14pIsp.css"])))=>i.map(i=>d[i]); var oh=Object.defineProperty;var ih=(e,t,n)=>t in e?oh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rn=(e,t,n)=>ih(e,typeof t!="symbol"?t+"":t,n);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -20,7 +20,7 @@ var oh=Object.defineProperty;var ih=(e,t,n)=>t in e?oh(e,t,{enumerable:!0,config * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Xn=typeof document<"u";function Wf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Wf(e.default)}const we=Object.assign;function $o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Pr=()=>{},Mt=Array.isArray,Kf=/#/g,my=/&/g,vy=/\//g,yy=/=/g,_y=/\?/g,Gf=/\+/g,xy=/%5B/g,Sy=/%5D/g,Yf=/%5E/g,wy=/%60/g,Xf=/%7B/g,Ey=/%7C/g,qf=/%7D/g,by=/%20/g;function ia(e){return encodeURI(""+e).replace(Ey,"|").replace(xy,"[").replace(Sy,"]")}function Cy(e){return ia(e).replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function bi(e){return ia(e).replace(Gf,"%2B").replace(by,"+").replace(Kf,"%23").replace(my,"%26").replace(wy,"`").replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function Py(e){return bi(e).replace(yy,"%3D")}function Ty(e){return ia(e).replace(Kf,"%23").replace(_y,"%3F")}function Ly(e){return e==null?"":Ty(e).replace(vy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ry=/\/$/,ky=e=>e.replace(Ry,"");function Ho(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=My(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Ay(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Iy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&or(t.matched[s],n.matched[o])&&Jf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Oy(e[n],t[n]))return!1;return!0}function Oy(e,t){return Mt(e)?Cl(e,t):Mt(t)?Cl(t,e):e===t}function Cl(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function My(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tr||(Tr={}));function Ny(e){if(!e)if(Xn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ky(e)}const Dy=/^[^#]+#/;function Fy(e,t){return e.replace(Dy,"#")+t}function $y(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const lo=()=>({left:window.scrollX,top:window.scrollY});function Hy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=$y(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Pl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function Uy(e,t){Ci.set(e,t)}function By(e){const t=Ci.get(e);return Ci.delete(e),t}let Vy=()=>location.protocol+"//"+location.host;function Qf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),bl(l,"")}return bl(n,e)+s+o}function jy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Qf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Tr.forward:Tr.back:Tr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:lo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function Tl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?lo():null}}function Wy(e){const{history:t,location:n}=window,s={value:Qf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Vy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,Tl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=we({},o.value,t.state,{forward:l,scroll:lo()});r(u.current,u,!0);const h=we({},Tl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Ky(e){e=Ny(e);const t=Wy(e),n=jy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=we({location:"",base:e,go:s,createHref:Fy.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Gy(e){return typeof e=="string"||e&&typeof e=="object"}function zf(e){return typeof e=="string"||typeof e=="symbol"}const Zf=Symbol("");var Ll;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ll||(Ll={}));function ir(e,t){return we(new Error,{type:e,[Zf]:!0},t)}function Kt(e,t){return e instanceof Error&&Zf in e&&(t==null||!!(e.type&t))}const Rl="[^/]+?",Yy={sensitive:!1,strict:!1,start:!0,end:!0},Xy=/[.+*?^${}()[\]/\\]/g;function qy(e,t){const n=we({},Yy,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function ed(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Qy={type:0,value:""},zy=/[a-zA-Z0-9_]/;function Zy(e){if(!e)return[[]];if(e==="/")return[[Qy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a{i(y)}:Pr}function i(h){if(zf(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=s0(h,n);n.splice(d,0,h),h.record.name&&!Ol(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw ir(1,{location:h});v=c.record.name,p=we(Al(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Al(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw ir(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const S=[];let w=c;for(;w;)S.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:S,meta:r0(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Al(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Il(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:n0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function n0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ol(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function r0(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Ml(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function s0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;ed(e,t[r])<0?s=r:n=r+1}const o=o0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function o0(e){let t=e;for(;t=t.parent;)if(td(t)&&ed(e,t)===0)return t}function td({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function i0(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&bi(r)):[s&&bi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function a0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const l0=Symbol(""),Dl=Symbol(""),aa=Symbol(""),la=Symbol(""),Pi=Symbol("");function gr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function fn(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(ir(4,{from:n,to:t})):d instanceof Error?l(d):Gy(d)?l(ir(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Uo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Wf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(fn(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=gy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&fn(c,n,s,i,a,o)()}))}}return r}function Fl(e){const t=nt(aa),n=nt(la),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(or.bind(null,u));if(d>-1)return d;const c=$l(l[f-2]);return f>1&&$l(u)===c&&h[h.length-1].path!==c?h.findIndex(or.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&h0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&Jf(n.params,s.value.params));function a(l={}){if(d0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Pr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function c0(e){return e.length===1?e[0]:e}const u0=Ze({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"},viewTransition:Boolean},useLink:Fl,setup(e,{slots:t}){const n=xn(Fl(e)),{options:s}=nt(aa),o=me(()=>({[Hl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&c0(t.default(n));return e.custom?r:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),f0=u0;function d0(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 h0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Mt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function $l(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>e??t??n,p0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(Pi),o=me(()=>e.route||s.value),r=nt(Dl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);gn(Dl,me(()=>i.value+1)),gn(l0,a),gn(Pi,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!or(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Ul(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Xe(d,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Ul(n.default,{Component:v,route:f})||v}}});function Ul(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nd=p0;function g0(e){const t=t0(e.routes,e),n=e.parseQuery||i0,s=e.stringifyQuery||Nl,o=e.history,r=gr(),i=gr(),a=gr(),l=nr(Tt);let f=Tt;Xn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$o.bind(null,V=>""+V),h=$o.bind(null,Ly),d=$o.bind(null,Hr);function c(V,J){let z,ee;return zf(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function S(V,J){if(J=we({},J||l.value),typeof V=="string"){const I=Ho(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:Ho(n,V.path,J.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(d(ee.params));const xe=Ay(s,we({},V,{hash:Cy(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===Nl?a0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Ho(n,V,l.value.path):we({},V)}function y(V,J){if(f!==V)return ir(8,{from:J,to:V})}function _(V){return E(V)}function m(V){return _(we(w(V),{replace:!0}))}function x(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,J){const z=f=S(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&Iy(s,ee,z)&&(W=ir(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Kt(B)?Kt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Kt(B,2))return E(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),J||D)}else B=C(D,ee,!0,A,he);return T(D,ee,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function P(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[ee,he,xe]=m0(V,J);z=Uo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(fn(D,V,J))});const A=b.bind(null,V,J);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(fn(I,V,J));return z.push(A),de(z)}).then(()=>{z=Uo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(fn(D,V,J))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Mt(I.beforeEnter))for(const D of I.beforeEnter)z.push(fn(D,V,J));else z.push(fn(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Uo(xe,"beforeRouteEnter",V,J,P),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(fn(I,V,J));return z.push(A),de(z)}).catch(I=>Kt(I,8)?I:Promise.reject(I))}function T(V,J,z){a.list().forEach(ee=>P(()=>ee(V,J,z)))}function C(V,J,z,ee,he){const xe=y(V,J);if(xe)return xe;const A=J===Tt,I=Xn?history.state:{};z&&(ee||A?o.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):o.push(V.fullPath,he)),l.value=V,ue(V,J,z,A),fe()}let O;function $(){O||(O=o.listen((V,J,z)=>{if(!Be.listening)return;const ee=S(V),he=x(ee);if(he){E(we(he,{replace:!0,force:!0}),ee).catch(Pr);return}f=ee;const xe=l.value;Xn&&Uy(Pl(xe.fullPath,z.delta),lo()),L(ee,xe).catch(A=>Kt(A,12)?A:Kt(A,2)?(E(we(w(A.to),{force:!0}),ee).then(I=>{Kt(I,20)&&!z.delta&&z.type===Ur.pop&&o.go(-1,!1)}).catch(Pr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Kt(A,8)?o.go(-z.delta,!1):z.type===Ur.pop&&Kt(A,20)&&o.go(-1,!1)),T(ee,xe,A)}).catch(Pr)}))}let F=gr(),U=gr(),j;function Y(V,J,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Tt?Promise.resolve():new Promise((V,J)=>{F.add([V,J])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([J,z])=>V?z(V):J()),F.reset()),V}function ue(V,J,z,ee){const{scrollBehavior:he}=e;if(!Xn||!he)return Promise.resolve();const xe=!z&&By(Pl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Sn().then(()=>he(V,J,xe)).then(A=>A&&Hy(A)).catch(A=>Y(A,V,J))}const ne=V=>o.go(V);let Pe;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:S,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const J=this;V.component("RouterLink",f0),V.component("RouterView",nd),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Xn&&!Pe&&l.value===Tt&&(Pe=!0,_(o.location).catch(he=>{}));const z={};for(const he in Tt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(aa,J),V.provide(la,zt(z)),V.provide(Pi,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Tt,O&&O(),O=null,l.value=Tt,Pe=!1,j=!1),ee()}}};function de(V){return V.reduce((J,z)=>J.then(()=>P(z)),Promise.resolve())}return Be}function m0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;ior(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>or(f,l))||o.push(l))}return[n,s,o]}function v0(e){return nt(la)}const y0=/(:\w+)\([^)]+\)/g,_0=/(:\w+)[?+*]/g,x0=/:\w+/g,S0=(e,t)=>t.path.replace(y0,"$1").replace(_0,"$1").replace(x0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Ti=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&S0(e.route,n));return typeof s=="function"?s(e.route):s},w0=(e,t)=>({default:()=>e?Xe(lp,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const Bo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],rd=(e,t)=>({default:()=>{var n;return e?Xe(ug,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),E0=/(:\w+)\([^)]+\)/g,b0=/(:\w+)[?+*]/g,C0=/:\w+/g;function Bl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(E0,"$1").replace(b0,"$1").replace(C0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function P0(e,t){return e===t||t===Tt?!1:Bl(e)!==Bl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const T0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&P0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Vl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??pi),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Vl(e.hash),behavior:o}),u(r)})})}};function Vl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const L0={hashMode:!1,scrollBehaviorType:"auto"},_t={...L0,...T0},R0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=io({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Jn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},k0=async e=>{let t,n;const s=([t,n]=kt(()=>oa({path:e.path})),t=await t,n(),t);if(s.redirect)return Ct(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},A0=[R0,k0],Lr={};function I0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),al(u,"")}const a=al(s,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const O0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=gt().app.baseURL;const o=((v=_t.history)==null?void 0:v.call(_t,s))??Ky(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Bo)),t=await t,n(),t??Bo):Bo;let i;const a=g0({..._t,scrollBehavior:(S,w,y)=>{if(w===Tt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(S,Tt,i||y)}},history:o,routes:r});_t.routes&&_t.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=nr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=I0(s,window.location,e.payload.path),u=nr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,w)=>{var y,_,m,x;((_=(y=S.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S],enumerable:!0});e._route=zt(d),e._middleware=e._middleware||{global:[],named:{}};const c=oo();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(lv),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(S){[t,n]=kt(()=>e.runWithContext(()=>Jn(S))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(S,w)=>{var y;await e.callHook("page:loading:start"),S.meta=xn(S.meta),e.isHydrating&&g&&!vn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...A0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa({path:S.path}));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Lr[m])==null?void 0:y.call(Lr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(S,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const b=E||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Jn(b)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(S,w)=>{S.matched.length===0&&await e.runWithContext(()=>Jn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(S){await e.runWithContext(()=>Jn(S))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),M0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),co=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},N0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await El(t.path);s&&Object.assign(e.static.data,s.data)}),co(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await El(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ao,1e3)})}}),D0=Dt(()=>{const e=ze();co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),F0=Dt(e=>{let t;async function n(){const s=await ao();t&&clearTimeout(t),t=setTimeout(n,fl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}co(()=>{t=setTimeout(n,fl)})});function $0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Bn(n.app.baseURL,r.fullPath);$0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),U0=Dt({name:"nuxt:global-components"}),dn={},B0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof dn[s]=="function"&&await dn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ca(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Lr[i]=="function"&&Lr[i]();o&&typeof dn[o]=="function"&&dn[o]()})}});/*! + */const Xn=typeof document<"u";function Wf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Wf(e.default)}const we=Object.assign;function $o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Pr=()=>{},Mt=Array.isArray,Kf=/#/g,my=/&/g,vy=/\//g,yy=/=/g,_y=/\?/g,Gf=/\+/g,xy=/%5B/g,Sy=/%5D/g,Yf=/%5E/g,wy=/%60/g,Xf=/%7B/g,Ey=/%7C/g,qf=/%7D/g,by=/%20/g;function ia(e){return encodeURI(""+e).replace(Ey,"|").replace(xy,"[").replace(Sy,"]")}function Cy(e){return ia(e).replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function bi(e){return ia(e).replace(Gf,"%2B").replace(by,"+").replace(Kf,"%23").replace(my,"%26").replace(wy,"`").replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function Py(e){return bi(e).replace(yy,"%3D")}function Ty(e){return ia(e).replace(Kf,"%23").replace(_y,"%3F")}function Ly(e){return e==null?"":Ty(e).replace(vy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ry=/\/$/,ky=e=>e.replace(Ry,"");function Ho(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=My(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Ay(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Iy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&or(t.matched[s],n.matched[o])&&Jf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Oy(e[n],t[n]))return!1;return!0}function Oy(e,t){return Mt(e)?Cl(e,t):Mt(t)?Cl(t,e):e===t}function Cl(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function My(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tr||(Tr={}));function Ny(e){if(!e)if(Xn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ky(e)}const Dy=/^[^#]+#/;function Fy(e,t){return e.replace(Dy,"#")+t}function $y(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const lo=()=>({left:window.scrollX,top:window.scrollY});function Hy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=$y(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Pl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function Uy(e,t){Ci.set(e,t)}function By(e){const t=Ci.get(e);return Ci.delete(e),t}let Vy=()=>location.protocol+"//"+location.host;function Qf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),bl(l,"")}return bl(n,e)+s+o}function jy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Qf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Tr.forward:Tr.back:Tr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:lo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function Tl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?lo():null}}function Wy(e){const{history:t,location:n}=window,s={value:Qf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Vy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,Tl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=we({},o.value,t.state,{forward:l,scroll:lo()});r(u.current,u,!0);const h=we({},Tl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Ky(e){e=Ny(e);const t=Wy(e),n=jy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=we({location:"",base:e,go:s,createHref:Fy.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Gy(e){return typeof e=="string"||e&&typeof e=="object"}function zf(e){return typeof e=="string"||typeof e=="symbol"}const Zf=Symbol("");var Ll;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ll||(Ll={}));function ir(e,t){return we(new Error,{type:e,[Zf]:!0},t)}function Kt(e,t){return e instanceof Error&&Zf in e&&(t==null||!!(e.type&t))}const Rl="[^/]+?",Yy={sensitive:!1,strict:!1,start:!0,end:!0},Xy=/[.+*?^${}()[\]/\\]/g;function qy(e,t){const n=we({},Yy,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function ed(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Qy={type:0,value:""},zy=/[a-zA-Z0-9_]/;function Zy(e){if(!e)return[[]];if(e==="/")return[[Qy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a{i(y)}:Pr}function i(h){if(zf(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=s0(h,n);n.splice(d,0,h),h.record.name&&!Ol(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw ir(1,{location:h});v=c.record.name,p=we(Al(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Al(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw ir(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const S=[];let w=c;for(;w;)S.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:S,meta:r0(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Al(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Il(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:n0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function n0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ol(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function r0(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Ml(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function s0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;ed(e,t[r])<0?s=r:n=r+1}const o=o0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function o0(e){let t=e;for(;t=t.parent;)if(td(t)&&ed(e,t)===0)return t}function td({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function i0(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&bi(r)):[s&&bi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function a0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const l0=Symbol(""),Dl=Symbol(""),aa=Symbol(""),la=Symbol(""),Pi=Symbol("");function gr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function fn(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(ir(4,{from:n,to:t})):d instanceof Error?l(d):Gy(d)?l(ir(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Uo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Wf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(fn(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=gy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&fn(c,n,s,i,a,o)()}))}}return r}function Fl(e){const t=nt(aa),n=nt(la),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(or.bind(null,u));if(d>-1)return d;const c=$l(l[f-2]);return f>1&&$l(u)===c&&h[h.length-1].path!==c?h.findIndex(or.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&h0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&Jf(n.params,s.value.params));function a(l={}){if(d0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Pr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function c0(e){return e.length===1?e[0]:e}const u0=Ze({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"},viewTransition:Boolean},useLink:Fl,setup(e,{slots:t}){const n=xn(Fl(e)),{options:s}=nt(aa),o=me(()=>({[Hl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&c0(t.default(n));return e.custom?r:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),f0=u0;function d0(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 h0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Mt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function $l(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>e??t??n,p0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(Pi),o=me(()=>e.route||s.value),r=nt(Dl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);gn(Dl,me(()=>i.value+1)),gn(l0,a),gn(Pi,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!or(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Ul(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Xe(d,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Ul(n.default,{Component:v,route:f})||v}}});function Ul(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nd=p0;function g0(e){const t=t0(e.routes,e),n=e.parseQuery||i0,s=e.stringifyQuery||Nl,o=e.history,r=gr(),i=gr(),a=gr(),l=nr(Tt);let f=Tt;Xn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$o.bind(null,V=>""+V),h=$o.bind(null,Ly),d=$o.bind(null,Hr);function c(V,J){let z,ee;return zf(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function S(V,J){if(J=we({},J||l.value),typeof V=="string"){const I=Ho(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:Ho(n,V.path,J.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(d(ee.params));const xe=Ay(s,we({},V,{hash:Cy(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===Nl?a0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Ho(n,V,l.value.path):we({},V)}function y(V,J){if(f!==V)return ir(8,{from:J,to:V})}function _(V){return E(V)}function m(V){return _(we(w(V),{replace:!0}))}function x(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,J){const z=f=S(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&Iy(s,ee,z)&&(W=ir(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Kt(B)?Kt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Kt(B,2))return E(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),J||D)}else B=C(D,ee,!0,A,he);return T(D,ee,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function P(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[ee,he,xe]=m0(V,J);z=Uo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(fn(D,V,J))});const A=b.bind(null,V,J);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(fn(I,V,J));return z.push(A),de(z)}).then(()=>{z=Uo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(fn(D,V,J))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Mt(I.beforeEnter))for(const D of I.beforeEnter)z.push(fn(D,V,J));else z.push(fn(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Uo(xe,"beforeRouteEnter",V,J,P),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(fn(I,V,J));return z.push(A),de(z)}).catch(I=>Kt(I,8)?I:Promise.reject(I))}function T(V,J,z){a.list().forEach(ee=>P(()=>ee(V,J,z)))}function C(V,J,z,ee,he){const xe=y(V,J);if(xe)return xe;const A=J===Tt,I=Xn?history.state:{};z&&(ee||A?o.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):o.push(V.fullPath,he)),l.value=V,ue(V,J,z,A),fe()}let O;function $(){O||(O=o.listen((V,J,z)=>{if(!Be.listening)return;const ee=S(V),he=x(ee);if(he){E(we(he,{replace:!0,force:!0}),ee).catch(Pr);return}f=ee;const xe=l.value;Xn&&Uy(Pl(xe.fullPath,z.delta),lo()),L(ee,xe).catch(A=>Kt(A,12)?A:Kt(A,2)?(E(we(w(A.to),{force:!0}),ee).then(I=>{Kt(I,20)&&!z.delta&&z.type===Ur.pop&&o.go(-1,!1)}).catch(Pr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Kt(A,8)?o.go(-z.delta,!1):z.type===Ur.pop&&Kt(A,20)&&o.go(-1,!1)),T(ee,xe,A)}).catch(Pr)}))}let F=gr(),U=gr(),j;function Y(V,J,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Tt?Promise.resolve():new Promise((V,J)=>{F.add([V,J])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([J,z])=>V?z(V):J()),F.reset()),V}function ue(V,J,z,ee){const{scrollBehavior:he}=e;if(!Xn||!he)return Promise.resolve();const xe=!z&&By(Pl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Sn().then(()=>he(V,J,xe)).then(A=>A&&Hy(A)).catch(A=>Y(A,V,J))}const ne=V=>o.go(V);let Pe;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:S,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const J=this;V.component("RouterLink",f0),V.component("RouterView",nd),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Xn&&!Pe&&l.value===Tt&&(Pe=!0,_(o.location).catch(he=>{}));const z={};for(const he in Tt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(aa,J),V.provide(la,zt(z)),V.provide(Pi,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Tt,O&&O(),O=null,l.value=Tt,Pe=!1,j=!1),ee()}}};function de(V){return V.reduce((J,z)=>J.then(()=>P(z)),Promise.resolve())}return Be}function m0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;ior(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>or(f,l))||o.push(l))}return[n,s,o]}function v0(e){return nt(la)}const y0=/(:\w+)\([^)]+\)/g,_0=/(:\w+)[?+*]/g,x0=/:\w+/g,S0=(e,t)=>t.path.replace(y0,"$1").replace(_0,"$1").replace(x0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Ti=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&S0(e.route,n));return typeof s=="function"?s(e.route):s},w0=(e,t)=>({default:()=>e?Xe(lp,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const Bo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./BZmL5FUK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./BZmL5FUK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./BZmL5FUK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./52FAWmGK.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./52FAWmGK.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./52FAWmGK.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./B19zN9Fu.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./B19zN9Fu.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./B19zN9Fu.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./BL2-Egzd.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./BL2-Egzd.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./BL2-Egzd.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./DucYWcBB.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./DucYWcBB.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./DucYWcBB.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],rd=(e,t)=>({default:()=>{var n;return e?Xe(ug,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),E0=/(:\w+)\([^)]+\)/g,b0=/(:\w+)[?+*]/g,C0=/:\w+/g;function Bl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(E0,"$1").replace(b0,"$1").replace(C0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function P0(e,t){return e===t||t===Tt?!1:Bl(e)!==Bl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const T0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&P0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Vl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??pi),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Vl(e.hash),behavior:o}),u(r)})})}};function Vl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const L0={hashMode:!1,scrollBehaviorType:"auto"},_t={...L0,...T0},R0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=io({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Jn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},k0=async e=>{let t,n;const s=([t,n]=kt(()=>oa({path:e.path})),t=await t,n(),t);if(s.redirect)return Ct(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},A0=[R0,k0],Lr={};function I0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),al(u,"")}const a=al(s,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const O0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=gt().app.baseURL;const o=((v=_t.history)==null?void 0:v.call(_t,s))??Ky(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Bo)),t=await t,n(),t??Bo):Bo;let i;const a=g0({..._t,scrollBehavior:(S,w,y)=>{if(w===Tt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(S,Tt,i||y)}},history:o,routes:r});_t.routes&&_t.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=nr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=I0(s,window.location,e.payload.path),u=nr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,w)=>{var y,_,m,x;((_=(y=S.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S],enumerable:!0});e._route=zt(d),e._middleware=e._middleware||{global:[],named:{}};const c=oo();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(lv),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(S){[t,n]=kt(()=>e.runWithContext(()=>Jn(S))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(S,w)=>{var y;await e.callHook("page:loading:start"),S.meta=xn(S.meta),e.isHydrating&&g&&!vn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...A0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa({path:S.path}));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Lr[m])==null?void 0:y.call(Lr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(S,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const b=E||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Jn(b)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(S,w)=>{S.matched.length===0&&await e.runWithContext(()=>Jn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(S){await e.runWithContext(()=>Jn(S))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),M0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),co=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},N0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await El(t.path);s&&Object.assign(e.static.data,s.data)}),co(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await El(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ao,1e3)})}}),D0=Dt(()=>{const e=ze();co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),F0=Dt(e=>{let t;async function n(){const s=await ao();t&&clearTimeout(t),t=setTimeout(n,fl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}co(()=>{t=setTimeout(n,fl)})});function $0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Bn(n.app.baseURL,r.fullPath);$0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),U0=Dt({name:"nuxt:global-components"}),dn={},B0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof dn[s]=="function"&&await dn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ca(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Lr[i]=="function"&&Lr[i]();o&&typeof dn[o]=="function"&&dn[o]()})}});/*! * shared v9.14.4 * (c) 2025 kazuya kawaguchi * Released under the MIT License. @@ -66,6 +66,6 @@ Use "options.replacer" or "options.ignoreUnknown" * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var fS=Ss.exports,Nc;function dS(){return Nc||(Nc=1,function(e,t){(function(s,o){e.exports=o()})(fS,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(f){return r[f]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u0;a--){var l=Math.floor(o.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=f}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return il?l:i},o.sign=function(i){return i<0?-1:1},o.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;lr.max.x&&(r.max.x=f.x),f.xr.max.y&&(r.max.y=f.y),f.y0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,f){for(var u=[],h=0;h0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p=0?p-1:l.length-1],v=l[p],S=l[(p+1)%l.length],w=f[p0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),f=o(0),u=o(1),h=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",S=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||S,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g0&&a.rotateAbout(w.position,v,c.position,w.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var S=Math.cos(p),w=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*S-_*w),y:g.y+(y*w+_*S)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var S=0,w=0;v=v||c.position;for(var y=0;y0&&(S+=_.area,w+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=S,c.isStatic||(r.setMass(c,c.density*S),r.setInertia(c,w))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,S=1-c.frictionAir*(p/f._baseDelta),w=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=w*S+c.force.x/c.mass*g,c.velocity.y=y*S+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*S*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g0){f||(f={}),u=l.split(" ");for(var g=0;g0&&p.motion=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;hu&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.idse?se=T:Tfe?fe=T:Tg?g=S:Sp.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var S={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(S.type="pin",S.anchors=!1):c.stiffness<.9&&(S.type="spring"),c.render=h.extend(S,c.render),c},r.preSolveAll=function(d){for(var c=0;c=1||d.length===0,b=E?d.stiffness*c:d.stiffness*c*c,P=d.damping*c,L=a.mult(_,x*b),T=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=T+C,$,F,U,j,Y;if(P>0){var se=a.create();U=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),j=a.dot(U,Y)}p&&!p.isStatic&&(F=p.inverseMass/T,p.constraintImpulse.x-=L.x*F,p.constraintImpulse.y-=L.y*F,p.position.x-=L.x*F,p.position.y-=L.y*F,P>0&&(p.positionPrev.x-=P*U.x*j*F,p.positionPrev.y-=P*U.y*j*F),$=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=$,p.angle-=$),g&&!g.isStatic&&(F=g.inverseMass/T,g.constraintImpulse.x+=L.x*F,g.constraintImpulse.y+=L.y*F,g.position.x+=L.x*F,g.position.y+=L.y*F,P>0&&(g.positionPrev.x+=P*U.x*j*F,g.positionPrev.y+=P*U.y*j*F),$=a.cross(S,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(d){for(var c=0;c0&&(S.position.x+=g.x,S.position.y+=g.y),g.angle!==0&&(i.rotate(S.vertices,g.angle,p.position),u.rotate(S.axes,g.angle),v>0&&a.rotateAbout(S.position,g.angle,p.position,S.position)),f.update(S.bounds,S.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u0&&i.area(Y)1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:h,y:d}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;gy)break;if(!(_L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(S.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(b&&T===1){var C=p(S,P,u);C&&f.push(C)}else for(var O=E>1?1:0,$=T>1?1:0,F=O;FL.max.x||w.max.xL.max.y)){var C=p(U,Y,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),f=o(19),u=o(5),h=o(6),d=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},S=c.extend(v,g);return S.world=g.world||h.create({label:"World"}),S.pairs=g.pairs||f.create(),S.detector=g.detector||l.create(),S.grid={buckets:[]},S.world.gravity=S.gravity,S.broadphase=S.grid,S.metrics={},S},r.update=function(g,v){var S=c.now(),w=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,E;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var b={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",b);var P=h.allBodies(w),L=h.allConstraints(w);for(w.isModified&&(l.setBodies(y,P),h.setModified(w,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),d.preSolveAll(P),E=0;E0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),E=0;E0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(P),u.trigger(g,"afterUpdate",b),g.timing.lastElapsed=c.now()-S,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var S=h.allBodies(g.world),w=0;wX?(_=D>0?D:-D,y=E.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=S);var Q=_e*$-Be*O,R=de*$-V*O,k=se/(fe+P.inverseInertia*Q*Q+L.inverseInertia*R*R),M=(1+E.restitution)*I*k;if(y*=k,I0&&(ne.normalImpulse=0),M=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var q=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-q}var G=O*M+F*y,N=$*M+U*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=N*P.inverseMass,P.anglePrev+=(_e*N-Be*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=N*L.inverseMass,L.anglePrev-=(de*N-V*G)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,S=l.collisionActive,w,y,_,m;for(g.length=0,v.length=0,S.length=0,m=0;mP&&(P=C),f.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,E+=1}else _+=v}m+=P+S,_=d}return y},r.chain=function(d,c,p,g,v,S){for(var w=d.bodies,y=1;y0)for(y=0;y0&&(x=S[y-1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&yP)){x=P-x;var T=x,C=p-1-x;if(!(mC)){b===1&&f.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return w(d+O+m*v,_,m,x,E,b)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var S=i.create({label:"Newtons Cradle"}),w=0;wv.bounds.max.x||m.bounds.max.yv.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var E=r._regionUnion(x,m.region);for(p=E.startCol;p<=E.endCol;p++)for(g=E.startRow;g<=E.endRow;g++){y=r._getBucketId(p,g),w=S[y];var b=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,P=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!b&&P&&P&&w&&r._bucketRemoveBody(f,w,m),(m.region===x||b&&!P||d)&&(w||(w=r._createBucket(S,y)),r._bucketAddBody(f,w,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g0?p.push(u):delete h[d[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var S=(g?g.mouse:null)||(v?v.mouse:null);S||(g&&g.render&&g.render.canvas?S=l.create(g.render.canvas):v&&v.element?S=l.create(v.element):(S=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var w=h.create({label:"Mouse Constraint",pointA:S.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:S,element:null,body:null,constraint:w,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var S=g.mouse,w=g.constraint,y=g.body;if(S.button===0){if(w.bodyB)a.set(w.bodyB,!1),w.pointA=S.position;else for(var _=0;_1?1:0;mP.max.x&&(P.max.x=O.x),C.yP.max.y&&(P.max.y=O.y))}var $=P.max.x-P.min.x+2*E.x,F=P.max.y-P.min.y+2*E.y,U=m.canvas.height,j=m.canvas.width,Y=j/U,se=$/F,fe=1,ue=1;se>Y?ue=se/Y:fe=Y/se,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+$*fe,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+F*ue,b&&(m.bounds.min.x+=$*.5-$*fe*.5,m.bounds.max.x+=$*.5-$*fe*.5,m.bounds.min.y+=F*.5-F*ue*.5,m.bounds.max.y+=F*.5-F*ue*.5),m.bounds.min.x-=E.x,m.bounds.max.x-=E.x,m.bounds.min.y-=E.y,m.bounds.max.y-=E.y,m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),d.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,E=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,P=E/m.options.height;m.context.setTransform(m.options.pixelRatio/b,0,0,m.options.pixelRatio/P,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,x){var E=a.now(),b=m.engine,P=b.world,L=m.canvas,T=m.context,C=m.options,O=m.timing,$=l.allBodies(P),F=l.allConstraints(P),U=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,fe={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",fe),m.currentBackground!==U&&_(m,U),T.globalCompositeOperation="source-in",T.fillStyle="transparent",T.fillRect(0,0,L.width,L.height),T.globalCompositeOperation="source-over",C.hasBounds){for(se=0;se<$.length;se++){var ue=$[se];f.overlaps(ue.bounds,m.bounds)&&j.push(ue)}for(se=0;se1?1:0;$1?1:0;$1?1:0;T1?1:0;O1?1:0;C1?1:0;C1?1:0;L0)){var U=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(U=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),T.bodyB===T.supports[0].body||T.bodyA.isStatic===!0?b.moveTo(U-T.normal.x*8,j-T.normal.y*8):b.moveTo(U+T.normal.x*8,j+T.normal.y*8),b.lineTo(U,j)}P.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,E){var b=E,P=m.options,L,T,C,O,$;for(b.beginPath(),$=0;$d.deltaMax?d.deltaMax:v,d.delta=v);var S={timestamp:g.timestamp};i.trigger(d,"beforeTick",S),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",S),i.trigger(d,"beforeUpdate",S),a.update(c,v),i.trigger(d,"afterUpdate",S),i.trigger(d,"afterTick",S)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,p,g,v,S,w,y=[],_,m,x=0,E=0,b=0;l=l||15;var P=function(T,C,O){var $=O%2===1&&O>1;if(!S||T!=S.x||C!=S.y){S&&$?(_=S.x,m=S.y):(_=0,m=0);var F={x:_+T,y:m+C};($||!S)&&(S=F),y.push(F),E=_+T,b=m+C}},L=function(T){var C=T.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":E=T.x,b=T.y;break;case"H":E=T.x;break;case"V":b=T.y;break}P(E,b,T.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f{s.value=Dc(),o.value=f(),r.value=u(),Dc()&&(await Sn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){hS(),s.value=!1}function l(){pS(),s.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=f(),r.value=u()}function d(){if(!i){i=Xt.Engine.create();let g=Xt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});Xt.Render.run(g),Xt.Runner.run(Xt.Runner.create(),i)}h()}function c(){if(gS("cookie"),!i)return;let g=Xt.Bodies.circle(vS(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Zd,xScale:.08,yScale:.08}}});Xt.Composite.add(i.world,[g]);const v=.02*g.mass;Xt.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*th(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Xt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const S=So;return ye(),Qe(S,null,{default:wn(()=>[te(s)?(ye(),lt("div",yS,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:te(o),height:te(r)},null,8,_S)],512),ie("div",xS,[ie("p",SS,Ae(g.$t("cookie policy title")),1),ie("div",wS,[ie("span",null,[no(Ae(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),ie("div",ES,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Ae(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Ae(g.$t("accept")),1)])],512)])):ft("",!0)]),_:1})}}}),wa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},CS={},PS={class:"flex justify-center text-sm"},TS={class:"flex-1 ml-2"},LS={class:"font-bold text-base"};function RS(e,t){return ye(),lt("div",PS,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Zd,alt:"",class:"h-full w-full"})])],-1)),ie("div",TS,[ie("p",LS,Ae(e.$t("cookie.title")),1),ie("p",null,Ae(e.$t("cookie.description")),1)])])}const kS=wa(CS,[["render",RS]]),AS=""+new URL("future.Byi108RQ.png",import.meta.url).href,IS={},OS={class:"flex text-sm"},MS={class:"flex-1 ml-2"},NS={class:"font-bold text-base"};function DS(e,t){return ye(),lt("div",OS,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:AS,alt:"",class:"h-full w-full"})])],-1)),ie("div",MS,[ie("p",NS,Ae(e.$t("future.title")),1),ie("p",null,Ae(e.$t("future.description")),1)])])}const FS=wa(IS,[["render",DS]]),$S="data:image/svg+xml,%3csvg%20width='256'%20height='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3ctitle%3eLayer%201%3c/title%3e%3cpath%20stroke-width='6'%20d='m87.42994,204.96972c0,-1.84579%20-1.14618,-5.51965%20-2.04203,-11.07467c-1.18738,-7.36275%20-1.021,-16.61199%20-1.021,-24.91798c0,-8.30599%203.39199,-15.16636%208.16807,-21.22643c6.29732,-7.99029%2015.72902,-15.76546%2022.46223,-18.45777c7.69972,-3.07879%2016.27282,-3.22853%2022.46223,-3.69155c7.12271,-0.53284%2014.29414,1.84577%2019.39919,5.53732c5.10505,3.69156%2010.79941,12.67733%2014.29414,20.30355c3.70672,8.08883%204.33436,13.80799%206.12607,24.91798c1.18738,7.36277%201.02099,11.99757%201.02099,11.99757c0,0.92287%200,1.84576%200,2.76866c0,0.92289%200,0.92289%200,1.84576c0,0.92289%200.13325,0.32866%20-0.01237,1.98987l0.14409,3.54746'%20id='svg_6'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m76.48487,73.41126c-0.60606,0%20-1.50682,0.49924%20-1.81818,1.81818c-0.27849,1.1797%20-0.46386,3.72864%200,4.84849c0.656,1.58372%202.31743,2.11288%203.63637,2.42424c0.58984,0.13924%202.43787,0.22215%204.24242,0c2.48013,-0.30531%203.35787,-1.24454%203.63636,-2.42424c0.31136,-1.31894%201.21213,-1.81818%201.21213,-3.63637c0,-1.21212%20-0.71097,-2.33498%20-1.21213,-3.0303c-0.79239,-1.09939%20-1.32485,-1.63184%20-2.42424,-2.42424c-0.69531,-0.50115%20-1.81818,-1.21212%20-2.42424,-1.81818c0,0%20-1.21212,0%20-2.42425,0c-1.21212,0%20-1.81818,0%20-2.42424,0.60606l0,0.60606l0,0.60606l0,0.60606'%20id='svg_11'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m171.6364,77.09092c0,0%20-0.60606,1.21212%20-0.60606,2.42424c0,1.21212%200.09227,1.96039%201.21211,2.42424c0.79185,0.328%201.81819,1.21212%202.42426,1.21212c0.60605,0%201.81818,0%202.42424,0c1.21211,0%201.8643,0.23193%202.42424,0c0.79185,-0.328%201.81818,-1.81818%201.81818,-2.42424c0,-1.21212%20-0.46387,-1.91045%200,-3.0303c0.328,-0.79185%200.60606,-1.21212%200.60606,-2.42424c0,-0.60606%20-0.60606,-2.42424%20-1.21211,-3.0303c0,0%20-0.17752,-0.17751%20-0.60606,-0.60606c-0.42856,-0.42855%20-0.60606,-0.60606%20-0.60606,-0.60606c-1.21213,0%20-2.42424,0%20-3.0303,0c-1.81818,0%20-2.51651,0.1422%20-3.63637,0.60606c-0.79185,0.328%20-0.41972,0.71879%20-1.21211,1.81818c-0.50116,0.69532%20-1.21213,1.21212%20-1.21213,3.63637c0,0.60606%200,1.21212%200.60606,1.21212l0,0.60606'%20id='svg_16'%20stroke='%23000'%20fill='none'/%3e%3c/g%3e%3c/svg%3e",HS={},US={class:"flex text-sm"},BS={class:"flex-1 ml-2"},VS={class:"font-bold text-base"};function jS(e,t){return ye(),lt("div",US,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:$S,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",BS,[ie("p",VS,Ae(e.$t("something.title")),1),ie("p",null,Ae(e.$t("something.description")),1)])])}const WS=wa(HS,[["render",jS]]),KS=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,GS={class:"flex text-sm"},YS={class:"flex-1 ml-2"},XS={class:"font-bold text-base"},qS={key:0},JS={key:1},QS=Ze({__name:"PictureBrightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-nolights")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",GS,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:KS,alt:"",class:"h-full w-full"})])],-1)),ie("div",YS,[ie("p",XS,Ae(n.$t("bright.title")),1),te(t)?ft("",!0):(ye(),lt("p",qS,Ae(n.$t("bright.description")),1)),te(t)?(ye(),lt("p",JS,Ae(n.$t("bright_either.description")),1)):ft("",!0)])])]),_:1})}}}),zS=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,ZS={class:"flex text-sm"},ew={class:"flex-1 ml-2"},tw={class:"font-bold text-base"},nw={key:0},rw={key:1},sw=Ze({__name:"PictureNoLightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-bright")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",ZS,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:zS,alt:"",class:"h-full w-full"})])],-1)),ie("div",ew,[ie("p",tw,Ae(n.$t("dark.title")),1),te(t)?ft("",!0):(ye(),lt("p",nw,Ae(n.$t("dark.description")),1)),te(t)?(ye(),lt("p",rw,Ae(n.$t("dark_either.description")),1)):ft("",!0)])])]),_:1})}}}),ow={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},iw={class:"flex text-sm"},aw={class:"flex-1"},lw={class:"mt-1 text-center"},cw={key:0},uw={key:1},fw=Ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ce(!1),s=Ce(""),o=Ce(mS()),r=Ce(0);bt(()=>{r.value=Fc()});let i=null;function a(f){s.value=f,r.value=Fc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=kS,d=FS,c=WS,p=QS,g=sw,v=So;return ye(),Qe(v,null,{default:wn(()=>[te(n)?(ye(),lt("div",ow,[ie("div",{class:Xs(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto + */var fS=Ss.exports,Nc;function dS(){return Nc||(Nc=1,function(e,t){(function(s,o){e.exports=o()})(fS,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(f){return r[f]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u0;a--){var l=Math.floor(o.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=f}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return il?l:i},o.sign=function(i){return i<0?-1:1},o.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;lr.max.x&&(r.max.x=f.x),f.xr.max.y&&(r.max.y=f.y),f.y0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,f){for(var u=[],h=0;h0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p=0?p-1:l.length-1],v=l[p],S=l[(p+1)%l.length],w=f[p0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),f=o(0),u=o(1),h=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",S=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||S,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g0&&a.rotateAbout(w.position,v,c.position,w.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var S=Math.cos(p),w=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*S-_*w),y:g.y+(y*w+_*S)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var S=0,w=0;v=v||c.position;for(var y=0;y0&&(S+=_.area,w+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=S,c.isStatic||(r.setMass(c,c.density*S),r.setInertia(c,w))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,S=1-c.frictionAir*(p/f._baseDelta),w=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=w*S+c.force.x/c.mass*g,c.velocity.y=y*S+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*S*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g0){f||(f={}),u=l.split(" ");for(var g=0;g0&&p.motion=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;hu&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.idse?se=T:Tfe?fe=T:Tg?g=S:Sp.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var S={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(S.type="pin",S.anchors=!1):c.stiffness<.9&&(S.type="spring"),c.render=h.extend(S,c.render),c},r.preSolveAll=function(d){for(var c=0;c=1||d.length===0,b=E?d.stiffness*c:d.stiffness*c*c,P=d.damping*c,L=a.mult(_,x*b),T=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=T+C,$,F,U,j,Y;if(P>0){var se=a.create();U=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),j=a.dot(U,Y)}p&&!p.isStatic&&(F=p.inverseMass/T,p.constraintImpulse.x-=L.x*F,p.constraintImpulse.y-=L.y*F,p.position.x-=L.x*F,p.position.y-=L.y*F,P>0&&(p.positionPrev.x-=P*U.x*j*F,p.positionPrev.y-=P*U.y*j*F),$=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=$,p.angle-=$),g&&!g.isStatic&&(F=g.inverseMass/T,g.constraintImpulse.x+=L.x*F,g.constraintImpulse.y+=L.y*F,g.position.x+=L.x*F,g.position.y+=L.y*F,P>0&&(g.positionPrev.x+=P*U.x*j*F,g.positionPrev.y+=P*U.y*j*F),$=a.cross(S,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(d){for(var c=0;c0&&(S.position.x+=g.x,S.position.y+=g.y),g.angle!==0&&(i.rotate(S.vertices,g.angle,p.position),u.rotate(S.axes,g.angle),v>0&&a.rotateAbout(S.position,g.angle,p.position,S.position)),f.update(S.bounds,S.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u0&&i.area(Y)1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:h,y:d}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;gy)break;if(!(_L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(S.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(b&&T===1){var C=p(S,P,u);C&&f.push(C)}else for(var O=E>1?1:0,$=T>1?1:0,F=O;FL.max.x||w.max.xL.max.y)){var C=p(U,Y,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),f=o(19),u=o(5),h=o(6),d=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},S=c.extend(v,g);return S.world=g.world||h.create({label:"World"}),S.pairs=g.pairs||f.create(),S.detector=g.detector||l.create(),S.grid={buckets:[]},S.world.gravity=S.gravity,S.broadphase=S.grid,S.metrics={},S},r.update=function(g,v){var S=c.now(),w=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,E;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var b={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",b);var P=h.allBodies(w),L=h.allConstraints(w);for(w.isModified&&(l.setBodies(y,P),h.setModified(w,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),d.preSolveAll(P),E=0;E0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),E=0;E0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(P),u.trigger(g,"afterUpdate",b),g.timing.lastElapsed=c.now()-S,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var S=h.allBodies(g.world),w=0;wX?(_=D>0?D:-D,y=E.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=S);var Q=_e*$-Be*O,R=de*$-V*O,k=se/(fe+P.inverseInertia*Q*Q+L.inverseInertia*R*R),M=(1+E.restitution)*I*k;if(y*=k,I0&&(ne.normalImpulse=0),M=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var q=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-q}var G=O*M+F*y,N=$*M+U*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=N*P.inverseMass,P.anglePrev+=(_e*N-Be*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=N*L.inverseMass,L.anglePrev-=(de*N-V*G)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,S=l.collisionActive,w,y,_,m;for(g.length=0,v.length=0,S.length=0,m=0;mP&&(P=C),f.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,E+=1}else _+=v}m+=P+S,_=d}return y},r.chain=function(d,c,p,g,v,S){for(var w=d.bodies,y=1;y0)for(y=0;y0&&(x=S[y-1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&yP)){x=P-x;var T=x,C=p-1-x;if(!(mC)){b===1&&f.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return w(d+O+m*v,_,m,x,E,b)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var S=i.create({label:"Newtons Cradle"}),w=0;wv.bounds.max.x||m.bounds.max.yv.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var E=r._regionUnion(x,m.region);for(p=E.startCol;p<=E.endCol;p++)for(g=E.startRow;g<=E.endRow;g++){y=r._getBucketId(p,g),w=S[y];var b=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,P=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!b&&P&&P&&w&&r._bucketRemoveBody(f,w,m),(m.region===x||b&&!P||d)&&(w||(w=r._createBucket(S,y)),r._bucketAddBody(f,w,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g0?p.push(u):delete h[d[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var S=(g?g.mouse:null)||(v?v.mouse:null);S||(g&&g.render&&g.render.canvas?S=l.create(g.render.canvas):v&&v.element?S=l.create(v.element):(S=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var w=h.create({label:"Mouse Constraint",pointA:S.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:S,element:null,body:null,constraint:w,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var S=g.mouse,w=g.constraint,y=g.body;if(S.button===0){if(w.bodyB)a.set(w.bodyB,!1),w.pointA=S.position;else for(var _=0;_1?1:0;mP.max.x&&(P.max.x=O.x),C.yP.max.y&&(P.max.y=O.y))}var $=P.max.x-P.min.x+2*E.x,F=P.max.y-P.min.y+2*E.y,U=m.canvas.height,j=m.canvas.width,Y=j/U,se=$/F,fe=1,ue=1;se>Y?ue=se/Y:fe=Y/se,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+$*fe,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+F*ue,b&&(m.bounds.min.x+=$*.5-$*fe*.5,m.bounds.max.x+=$*.5-$*fe*.5,m.bounds.min.y+=F*.5-F*ue*.5,m.bounds.max.y+=F*.5-F*ue*.5),m.bounds.min.x-=E.x,m.bounds.max.x-=E.x,m.bounds.min.y-=E.y,m.bounds.max.y-=E.y,m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),d.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,E=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,P=E/m.options.height;m.context.setTransform(m.options.pixelRatio/b,0,0,m.options.pixelRatio/P,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,x){var E=a.now(),b=m.engine,P=b.world,L=m.canvas,T=m.context,C=m.options,O=m.timing,$=l.allBodies(P),F=l.allConstraints(P),U=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,fe={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",fe),m.currentBackground!==U&&_(m,U),T.globalCompositeOperation="source-in",T.fillStyle="transparent",T.fillRect(0,0,L.width,L.height),T.globalCompositeOperation="source-over",C.hasBounds){for(se=0;se<$.length;se++){var ue=$[se];f.overlaps(ue.bounds,m.bounds)&&j.push(ue)}for(se=0;se1?1:0;$1?1:0;$1?1:0;T1?1:0;O1?1:0;C1?1:0;C1?1:0;L0)){var U=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(U=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),T.bodyB===T.supports[0].body||T.bodyA.isStatic===!0?b.moveTo(U-T.normal.x*8,j-T.normal.y*8):b.moveTo(U+T.normal.x*8,j+T.normal.y*8),b.lineTo(U,j)}P.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,E){var b=E,P=m.options,L,T,C,O,$;for(b.beginPath(),$=0;$d.deltaMax?d.deltaMax:v,d.delta=v);var S={timestamp:g.timestamp};i.trigger(d,"beforeTick",S),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",S),i.trigger(d,"beforeUpdate",S),a.update(c,v),i.trigger(d,"afterUpdate",S),i.trigger(d,"afterTick",S)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,p,g,v,S,w,y=[],_,m,x=0,E=0,b=0;l=l||15;var P=function(T,C,O){var $=O%2===1&&O>1;if(!S||T!=S.x||C!=S.y){S&&$?(_=S.x,m=S.y):(_=0,m=0);var F={x:_+T,y:m+C};($||!S)&&(S=F),y.push(F),E=_+T,b=m+C}},L=function(T){var C=T.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":E=T.x,b=T.y;break;case"H":E=T.x;break;case"V":b=T.y;break}P(E,b,T.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f{s.value=Dc(),o.value=f(),r.value=u(),Dc()&&(await Sn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){hS(),s.value=!1}function l(){pS(),s.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=f(),r.value=u()}function d(){if(!i){i=Xt.Engine.create();let g=Xt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});Xt.Render.run(g),Xt.Runner.run(Xt.Runner.create(),i)}h()}function c(){if(gS("cookie"),!i)return;let g=Xt.Bodies.circle(vS(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Zd,xScale:.08,yScale:.08}}});Xt.Composite.add(i.world,[g]);const v=.02*g.mass;Xt.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*th(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Xt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const S=So;return ye(),Qe(S,null,{default:wn(()=>[te(s)?(ye(),lt("div",yS,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:te(o),height:te(r)},null,8,_S)],512),ie("div",xS,[ie("p",SS,Ae(g.$t("cookie policy title")),1),ie("div",wS,[ie("span",null,[no(Ae(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),ie("div",ES,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Ae(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Ae(g.$t("accept")),1)])],512)])):ft("",!0)]),_:1})}}}),wa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},CS={},PS={class:"flex justify-center text-sm"},TS={class:"flex-1 ml-2"},LS={class:"font-bold text-base"};function RS(e,t){return ye(),lt("div",PS,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Zd,alt:"",class:"h-full w-full"})])],-1)),ie("div",TS,[ie("p",LS,Ae(e.$t("cookie.title")),1),ie("p",null,Ae(e.$t("cookie.description")),1)])])}const kS=wa(CS,[["render",RS]]),AS=""+new URL("future.Byi108RQ.png",import.meta.url).href,IS={},OS={class:"flex text-sm"},MS={class:"flex-1 ml-2"},NS={class:"font-bold text-base"};function DS(e,t){return ye(),lt("div",OS,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:AS,alt:"",class:"h-full w-full"})])],-1)),ie("div",MS,[ie("p",NS,Ae(e.$t("future.title")),1),ie("p",null,Ae(e.$t("future.description")),1)])])}const FS=wa(IS,[["render",DS]]),$S="data:image/svg+xml,%3csvg%20width='256'%20height='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3ctitle%3eLayer%201%3c/title%3e%3cpath%20stroke-width='6'%20d='m87.42994,204.96972c0,-1.84579%20-1.14618,-5.51965%20-2.04203,-11.07467c-1.18738,-7.36275%20-1.021,-16.61199%20-1.021,-24.91798c0,-8.30599%203.39199,-15.16636%208.16807,-21.22643c6.29732,-7.99029%2015.72902,-15.76546%2022.46223,-18.45777c7.69972,-3.07879%2016.27282,-3.22853%2022.46223,-3.69155c7.12271,-0.53284%2014.29414,1.84577%2019.39919,5.53732c5.10505,3.69156%2010.79941,12.67733%2014.29414,20.30355c3.70672,8.08883%204.33436,13.80799%206.12607,24.91798c1.18738,7.36277%201.02099,11.99757%201.02099,11.99757c0,0.92287%200,1.84576%200,2.76866c0,0.92289%200,0.92289%200,1.84576c0,0.92289%200.13325,0.32866%20-0.01237,1.98987l0.14409,3.54746'%20id='svg_6'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m76.48487,73.41126c-0.60606,0%20-1.50682,0.49924%20-1.81818,1.81818c-0.27849,1.1797%20-0.46386,3.72864%200,4.84849c0.656,1.58372%202.31743,2.11288%203.63637,2.42424c0.58984,0.13924%202.43787,0.22215%204.24242,0c2.48013,-0.30531%203.35787,-1.24454%203.63636,-2.42424c0.31136,-1.31894%201.21213,-1.81818%201.21213,-3.63637c0,-1.21212%20-0.71097,-2.33498%20-1.21213,-3.0303c-0.79239,-1.09939%20-1.32485,-1.63184%20-2.42424,-2.42424c-0.69531,-0.50115%20-1.81818,-1.21212%20-2.42424,-1.81818c0,0%20-1.21212,0%20-2.42425,0c-1.21212,0%20-1.81818,0%20-2.42424,0.60606l0,0.60606l0,0.60606l0,0.60606'%20id='svg_11'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m171.6364,77.09092c0,0%20-0.60606,1.21212%20-0.60606,2.42424c0,1.21212%200.09227,1.96039%201.21211,2.42424c0.79185,0.328%201.81819,1.21212%202.42426,1.21212c0.60605,0%201.81818,0%202.42424,0c1.21211,0%201.8643,0.23193%202.42424,0c0.79185,-0.328%201.81818,-1.81818%201.81818,-2.42424c0,-1.21212%20-0.46387,-1.91045%200,-3.0303c0.328,-0.79185%200.60606,-1.21212%200.60606,-2.42424c0,-0.60606%20-0.60606,-2.42424%20-1.21211,-3.0303c0,0%20-0.17752,-0.17751%20-0.60606,-0.60606c-0.42856,-0.42855%20-0.60606,-0.60606%20-0.60606,-0.60606c-1.21213,0%20-2.42424,0%20-3.0303,0c-1.81818,0%20-2.51651,0.1422%20-3.63637,0.60606c-0.79185,0.328%20-0.41972,0.71879%20-1.21211,1.81818c-0.50116,0.69532%20-1.21213,1.21212%20-1.21213,3.63637c0,0.60606%200,1.21212%200.60606,1.21212l0,0.60606'%20id='svg_16'%20stroke='%23000'%20fill='none'/%3e%3c/g%3e%3c/svg%3e",HS={},US={class:"flex text-sm"},BS={class:"flex-1 ml-2"},VS={class:"font-bold text-base"};function jS(e,t){return ye(),lt("div",US,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:$S,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",BS,[ie("p",VS,Ae(e.$t("something.title")),1),ie("p",null,Ae(e.$t("something.description")),1)])])}const WS=wa(HS,[["render",jS]]),KS=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,GS={class:"flex text-sm"},YS={class:"flex-1 ml-2"},XS={class:"font-bold text-base"},qS={key:0},JS={key:1},QS=Ze({__name:"PictureBrightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-nolights")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",GS,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:KS,alt:"",class:"h-full w-full"})])],-1)),ie("div",YS,[ie("p",XS,Ae(n.$t("bright.title")),1),te(t)?ft("",!0):(ye(),lt("p",qS,Ae(n.$t("bright.description")),1)),te(t)?(ye(),lt("p",JS,Ae(n.$t("bright_either.description")),1)):ft("",!0)])])]),_:1})}}}),zS=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,ZS={class:"flex text-sm"},ew={class:"flex-1 ml-2"},tw={class:"font-bold text-base"},nw={key:0},rw={key:1},sw=Ze({__name:"PictureNoLightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-bright")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",ZS,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:zS,alt:"",class:"h-full w-full"})])],-1)),ie("div",ew,[ie("p",tw,Ae(n.$t("dark.title")),1),te(t)?ft("",!0):(ye(),lt("p",nw,Ae(n.$t("dark.description")),1)),te(t)?(ye(),lt("p",rw,Ae(n.$t("dark_either.description")),1)):ft("",!0)])])]),_:1})}}}),ow={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},iw={class:"flex text-sm"},aw={class:"flex-1"},lw={class:"mt-1 text-center"},cw={key:0},uw={key:1},fw=Ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ce(!1),s=Ce(""),o=Ce(mS()),r=Ce(0);bt(()=>{r.value=Fc()});let i=null;function a(f){s.value=f,r.value=Fc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=kS,d=FS,c=WS,p=QS,g=sw,v=So;return ye(),Qe(v,null,{default:wn(()=>[te(n)?(ye(),lt("div",ow,[ie("div",{class:Xs(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 transition-opacity ${te(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ie("div",iw,[ie("div",aw,[te(s)==="cookie"?(ye(),Qe(h,{key:0})):ft("",!0),te(s)==="future"?(ye(),Qe(d,{key:1})):ft("",!0),te(s)==="change-something"?(ye(),Qe(c,{key:2})):ft("",!0),te(s)==="picture-bright"?(ye(),Qe(p,{key:3})):ft("",!0),te(s)==="picture-nolights"?(ye(),Qe(g,{key:4})):ft("",!0),ie("div",lw,[te(r)!=te(o)?(ye(),lt("p",cw,Ae(te(r))+"/"+Ae(te(o))+" "+Ae(f.$t("easter eggs found")),1)):ft("",!0),te(r)===te(o)?(ye(),lt("p",uw,Ae(f.$t("all easter eggs found")),1)):ft("",!0)])])])],2)])):ft("",!0)]),_:1})}}});function nh(){return localStorage.getItem("theme")??"dark"}function dw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function Nw(){dw(nh()==="dark"?"light":"dark")}function rh(e){switch(e||(e=nh()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}const hw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},pw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},gw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},mw={__name:"app",setup(e){const{locale:t}=xo(),n=Ce(),s=Ce(!1);return bt(()=>{rh(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Sl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"},meta:[{name:"description",content:"Personal website of a random AI student",lang:"en"},{name:"description",content:"Sito web personale di uno studente di IA a caso",lang:"it"}]}),pt(t,o=>{Sl({htmlAttrs:{lang:o}})}),(o,r)=>{const i=rS,a=lS,l=bS,f=fw;return te(s)?(ye(),lt("div",hw,[ie("div",pw,[ie("div",gw,[Ie(a,null,{default:wn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):ft("",!0)}}};async function sh(e,t=ze()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>sh(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const vw=(...e)=>e.find(t=>t!==void 0);function yw(e){const t=e.componentName||"NuxtLink";function n(r){return typeof r=="string"&&r.startsWith("#")}function s(r,i){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return $c(r,e.trailingSlash);const a="path"in r&&r.path!==void 0?r.path:i(r).path;return{...r,name:void 0,path:$c(a,e.trailingSlash)}}function o(r){const i=ze(),a=gt(),l=me(()=>!!r.target&&r.target!=="_self"),f=me(()=>{const v=r.to||r.href||"";return typeof v=="string"&&Ct(v,{acceptRelative:!0})}),u=Ia("RouterLink"),h=typeof u!="string"?u.useLink:void 0,d=me(()=>{if(r.external)return!0;const v=r.to||r.href||"";return typeof v=="object"?!1:v===""||f.value}),c=me(()=>{const v=r.to||r.href||"";return d.value?v:s(v,i.resolve)}),p=d.value||h==null?void 0:h({...r,to:c}),g=me(()=>{var v;if(!c.value||f.value||n(c.value))return c.value;if(d.value){const S=typeof c.value=="object"&&"path"in c.value?_i(c.value):c.value,w=typeof S=="object"?i.resolve(S).href:S;return s(w,i.resolve)}return typeof c.value=="object"?((v=i.resolve(c.value))==null?void 0:v.href)??null:s(Bn(a.app.baseURL,c.value),i.resolve)});return{to:c,hasTarget:l,isAbsoluteUrl:f,isExternal:d,href:g,isActive:(p==null?void 0:p.isActive)??me(()=>c.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??me(()=>c.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??me(()=>i.resolve(c.value)),async navigate(){await Af(g.value,{replace:r.replace,external:d.value||l.value})}}}return Ze({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],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}},useLink:o,setup(r,{slots:i}){const a=ze(),{to:l,href:f,navigate:u,isExternal:h,hasTarget:d,isAbsoluteUrl:c}=o(r),p=Ce(!1),g=Ce(null),v=y=>{var _;g.value=r.custom?(_=y==null?void 0:y.$el)==null?void 0:_.nextElementSibling:y==null?void 0:y.$el};function S(y){var _,m;return!p.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===y:((_=r.prefetchOn)==null?void 0:_[y])??((m=e.prefetchOn)==null?void 0:m[y]))&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!ww()}async function w(y=ge()){if(p.value)return;p.value=!0;const _=typeof l.value=="string"?l.value:h.value?_i(l.value):a.resolve(l.value).fullPath,m=h.value?new URL(_,window.location.href).href:_;await Promise.all([y.hooks.callHook("link:prefetch",m).catch(()=>{}),!h.value&&!d.value&&sh(l.value,a).catch(()=>{})])}if(S("visibility")){const y=ge();let _,m=null;bt(()=>{const x=xw();co(()=>{_=Li(()=>{var E;(E=g==null?void 0:g.value)!=null&&E.tagName&&(m=x.observe(g.value,async()=>{m==null||m(),m=null,await w(y)}))})})}),Xr(()=>{_&&M0(_),m==null||m(),m=null})}return()=>{var m;if(!h.value&&!d.value&&!n(l.value)){const x={ref:v,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(S("interaction")&&(x.onPointerenter=w.bind(null,void 0),x.onFocus=w.bind(null,void 0)),p.value&&(x.class=r.prefetchedClass||e.prefetchedClass),x.rel=r.rel||void 0),Xe(Ia("RouterLink"),x,i.default)}const y=r.target||null,_=vw(r.noRel?"":r.rel,e.externalRelAttribute,c.value||d.value?"noopener noreferrer":"")||null;return r.custom?i.default?i.default({href:f.value,navigate:u,prefetch:w,get route(){if(!f.value)return;const x=new URL(f.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return ra(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:_,target:y,isExternal:h.value||d.value,isActive:!1,isExactActive:!1}):null:Xe("a",{ref:g,href:f.value||null,rel:_,target:y},(m=i.default)==null?void 0:m.call(i))}}})}const _w=yw(Um);function $c(e,t){const n=t==="append"?$r:Jr;return Ct(e)&&!e.startsWith("http")?e:n(e,!0)}function xw(){const e=ge();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t==null||t.unobserve(r),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:s}}const Sw=/2g/;function ww(){const e=navigator.connection;return!!(e&&(e.saveData||Sw.test(e.effectiveType)))}const Ew=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,bw={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50 flex justify-center items-center",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Cw={class:"text-2xl md:text-4xl text-center"},Pw=Ze({__name:"error",setup(e){const t=Y1();return bt(()=>{rh()}),(n,s)=>{const o=_w;return ye(),lt("div",bw,[ie("div",null,[ie("p",Cw,Ae(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:Ew,class:"mx-auto my-2",alt:""},null,-1)),Ie(o,{to:te(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:wn(()=>[no(Ae(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Tw={key:0},Hc={__name:"nuxt-root",setup(e){const t=()=>null,n=ge(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);ze().beforeEach(l)}const o=!1;gn(Qr,so()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=oo(),i=!1;ku((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),cv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Jn(l)),!1});const a=!1;return(l,f)=>(ye(),Qe(ea,{onResolve:te(s)},{default:wn(()=>[te(i)?(ye(),lt("div",Tw)):te(r)?(ye(),Qe(te(Pw),{key:1,error:te(r)},null,8,["error"])):te(a)?(ye(),Qe(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(ye(),Qe(gp(te(o)),{key:3})):(ye(),Qe(te(mw),{key:4}))]),_:1},8,["onResolve"]))}};let Uc;{let e;Uc=async function(){var i,a;if(e)return e;const s=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Og(Hc):Ig(Hc),o=Km({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||io(l)}s.config.errorHandler=r,o.hook("app:suspense:resolve",()=>{s.config.errorHandler===r&&(s.config.errorHandler=void 0)});try{await Xm(o,tS)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Vm),await o.hooks.callHook("app:mounted",s),await Sn()}catch(l){r(l)}return s},e=Uc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Iw as A,Vi as B,Nw as C,rh as D,X1 as E,Ge as F,_w as G,Y1 as H,ze as I,wa as _,so as a,gS as b,lt as c,Ze as d,ye as e,ie as f,nh as g,ft as h,te as i,Sl as j,me as k,pt as l,Ie as m,wn as n,bt as o,no as p,Mw as q,Ce as r,Aw as s,Ae as t,xo as u,Ow as v,Rw as w,kw as x,Xs as y,Qe as z}; diff --git a/_nuxt/5XfhJFCT.js b/_nuxt/DH2ZDleB.js similarity index 99% rename from _nuxt/5XfhJFCT.js rename to _nuxt/DH2ZDleB.js index 522799c..bd18acd 100644 --- a/_nuxt/5XfhJFCT.js +++ b/_nuxt/DH2ZDleB.js @@ -1,2 +1,2 @@ -import{d as Xt,r as Xe,o as re,g as Se,c as Y,e as G,f as k,h as Ie,C as wi,D as Ei,E as xi,F as ki,x as Li,m as V,n as Ue,t as oe,i as Ye,G as Ge,H as Ai,I as Oi,y as Ci,p as Ti}from"./BerSmlZi.js";const Pi="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20none;%20stroke-width:%200;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%20%3e%3cpath%20d='M%2087.823%2060.7%20c%20-0.463%20-0.423%20-1.142%20-0.506%20-1.695%20-0.214%20c%20-15.834%208.398%20-35.266%202.812%20-44.232%20-12.718%20c%20-8.966%20-15.53%20-4.09%20-35.149%2011.101%20-44.665%20c%200.531%20-0.332%200.796%20-0.963%200.661%20-1.574%20c%20-0.134%20-0.612%20-0.638%20-1.074%20-1.259%20-1.153%20c%20-9.843%20-1.265%20-19.59%200.692%20-28.193%205.66%20C%2013.8%2012.041%206.356%2021.743%203.246%2033.35%20S%201.732%2057.08%207.741%2067.487%20c%206.008%2010.407%2015.709%2017.851%2027.316%2020.961%20C%2038.933%2089.486%2042.866%2090%2046.774%2090%20c%207.795%200%2015.489%20-2.044%2022.42%20-6.046%20c%208.601%20-4.966%2015.171%20-12.43%2018.997%20-21.586%20C%2088.433%2061.79%2088.285%2061.123%2087.823%2060.7%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3c/g%3e%3c/svg%3e",Di=""+new URL("sun.esC0lg23.svg",import.meta.url).href,Si={class:"w-5 h-5 flex items-center justify-center"},Ii={key:0},ji={key:1},Bi=Xt({__name:"ThemeSwitch",setup(i){const t=Xe("");re(()=>{t.value=Se()});function e(){wi(),t.value=Se(),Ei(t.value)}return(n,r)=>(G(),Y("button",{class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700",onClick:e},[k("div",Si,[t.value==="light"?(G(),Y("div",Ii,r[0]||(r[0]=[k("img",{src:Pi,alt:"Dark theme",class:"h-full w-full"},null,-1)]))):Ie("",!0),t.value==="dark"?(G(),Y("div",ji,r[1]||(r[1]=[k("img",{src:Di,alt:"Light theme",class:"invert h-full w-full"},null,-1)]))):Ie("",!0)])]))}}),Hi="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20466.337%20466.337'%20xml:space='preserve'%3e%3cg%3e%3cpath%20d='M233.168,0C104.604,0,0,104.604,0,233.168c0,128.565,104.604,233.169,233.168,233.169%20c128.565,0,233.169-104.604,233.169-233.169C466.337,104.604,361.733,0,233.168,0z%20M223.984,441.874%20c-22.321,0-46.405-41.384-59.045-107.815h118.067C270.371,400.49,246.316,441.874,223.984,441.874z%20M161.114,310.144%20c-2.738-19.991-4.437-41.781-4.881-65.018H291.74c-0.443,23.237-2.148,45.027-4.869,65.018H161.114z%20M24.521,245.126h107.704%20c0.443,21.883,2.09,43.859,4.887,65.018H38.768C30.693,289.826,25.818,267.966,24.521,245.126z%20M223.984,24.464%20c21.982,0,45.687,40.14,58.484,104.877h-116.97C178.286,64.604,201.996,24.464,223.984,24.464z%20M286.463,153.245%20c2.978,20.785,4.811,43.596,5.277,67.966H156.222c0.467-24.37,2.295-47.169,5.272-67.966H286.463z%20M132.226,221.211H24.521%20c1.354-23.926,6.568-46.836,15.332-67.966h97.656C134.462,175.32,132.681,198.312,132.226,221.211z%20M315.749,245.126h126.065%20c-1.296,22.84-6.188,44.7-14.246,65.018H310.855C313.646,288.985,315.305,267.009,315.749,245.126z%20M315.749,221.211%20c-0.468-22.898-2.254-45.891-5.29-67.966h116.023c8.77,21.13,13.978,44.04,15.332,67.966H315.749z%20M414.596,129.33H306.617%20c-7.894-42.067-20.727-78.844-38.195-102.222C330.952,37.799,384.06,76.205,414.596,129.33z%20M176.073,32.036%20c-15.7,23.459-27.348,58.1-34.699,97.305H51.741C78.657,82.505,123.064,47.1,176.073,32.036z%20M49.96,334.058h90.895%20c7.311,40.403,19.133,76.205,35.219,100.26C121.944,418.904,76.672,382.378,49.96,334.058z%20M268.41,439.222%20c17.865-23.938,30.874-61.889,38.697-105.164h109.274C386.15,388.743,332.12,428.339,268.41,439.222z'/%3e%3c/g%3e%3c/svg%3e";var Mi=function(){function i(t,e){e===void 0&&(e=[]),this._eventType=t,this._eventFunctions=e}return i.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(e){typeof window<"u"&&window.addEventListener(t._eventType,e)})},i}(),Ht=function(){return Ht=Object.assign||function(i){for(var t,e=1,n=arguments.length;e"u")return!1;var t=I(i).ShadowRoot;return i instanceof t||i instanceof ShadowRoot}function Ki(i){var t=i.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!j(o)||!R(o)||(Object.assign(o.style,n),Object.keys(r).forEach(function(s){var a=r[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Ji(i){var t=i.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(n){var r=t.elements[n],o=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]),a=s.reduce(function(l,d){return l[d]="",l},{});!j(r)||!R(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(l){r.removeAttribute(l)}))})}}const Qi={name:"applyStyles",enabled:!0,phase:"write",fn:Ki,effect:Ji,requires:["computeStyles"]};function q(i){return i.split("-")[0]}var rt=Math.max,Rt=Math.min,ct=Math.round;function te(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ii(){return!/^((?!chrome|android).)*safari/i.test(te())}function dt(i,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var n=i.getBoundingClientRect(),r=1,o=1;t&&j(i)&&(r=i.offsetWidth>0&&ct(n.width)/i.offsetWidth||1,o=i.offsetHeight>0&&ct(n.height)/i.offsetHeight||1);var s=ot(i)?I(i):window,a=s.visualViewport,l=!ii()&&e,d=(n.left+(l&&a?a.offsetLeft:0))/r,c=(n.top+(l&&a?a.offsetTop:0))/o,v=n.width/r,_=n.height/o;return{width:v,height:_,top:c,right:d+v,bottom:c+_,left:d,x:d,y:c}}function ue(i){var t=dt(i),e=i.offsetWidth,n=i.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:i.offsetLeft,y:i.offsetTop,width:e,height:n}}function ni(i,t){var e=t.getRootNode&&t.getRootNode();if(i.contains(t))return!0;if(e&&de(e)){var n=t;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function $(i){return I(i).getComputedStyle(i)}function Zi(i){return["table","td","th"].indexOf(R(i))>=0}function K(i){return((ot(i)?i.ownerDocument:i.document)||window.document).documentElement}function Yt(i){return R(i)==="html"?i:i.assignedSlot||i.parentNode||(de(i)?i.host:null)||K(i)}function Me(i){return!j(i)||$(i).position==="fixed"?null:i.offsetParent}function tn(i){var t=/firefox/i.test(te()),e=/Trident/i.test(te());if(e&&j(i)){var n=$(i);if(n.position==="fixed")return null}var r=Yt(i);for(de(r)&&(r=r.host);j(r)&&["html","body"].indexOf(R(r))<0;){var o=$(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function Et(i){for(var t=I(i),e=Me(i);e&&Zi(e)&&$(e).position==="static";)e=Me(e);return e&&(R(e)==="html"||R(e)==="body"&&$(e).position==="static")?t:e||tn(i)||t}function fe(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function gt(i,t,e){return rt(i,Rt(t,e))}function en(i,t,e){var n=gt(i,t,e);return n>e?e:n}function ri(){return{top:0,right:0,bottom:0,left:0}}function oi(i){return Object.assign({},ri(),i)}function si(i,t){return t.reduce(function(e,n){return e[n]=i,e},{})}var nn=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,oi(typeof t!="number"?t:si(t,wt))};function rn(i){var t,e=i.state,n=i.name,r=i.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=q(e.placement),l=fe(a),d=[D,H].indexOf(a)>=0,c=d?"height":"width";if(!(!o||!s)){var v=nn(r.padding,e),_=ue(o),u=l==="y"?P:D,b=l==="y"?B:H,h=e.rects.reference[c]+e.rects.reference[l]-s[l]-e.rects.popper[c],p=s[l]-e.rects.reference[l],y=Et(o),E=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-p/2,f=v[u],g=E-_[c]-v[b],m=E/2-_[c]/2+x,w=gt(f,m,g),O=l;e.modifiersData[n]=(t={},t[O]=w,t.centerOffset=w-m,t)}}function on(i){var t=i.state,e=i.options,n=e.element,r=n===void 0?"[data-popper-arrow]":n;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||ni(t.elements.popper,r)&&(t.elements.arrow=r))}const sn={name:"arrow",enabled:!0,phase:"main",fn:rn,effect:on,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(i){return i.split("-")[1]}var an={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ln(i,t){var e=i.x,n=i.y,r=t.devicePixelRatio||1;return{x:ct(e*r)/r||0,y:ct(n*r)/r||0}}function ze(i){var t,e=i.popper,n=i.popperRect,r=i.placement,o=i.variation,s=i.offsets,a=i.position,l=i.gpuAcceleration,d=i.adaptive,c=i.roundOffsets,v=i.isFixed,_=s.x,u=_===void 0?0:_,b=s.y,h=b===void 0?0:b,p=typeof c=="function"?c({x:u,y:h}):{x:u,y:h};u=p.x,h=p.y;var y=s.hasOwnProperty("x"),E=s.hasOwnProperty("y"),x=D,f=P,g=window;if(d){var m=Et(e),w="clientHeight",O="clientWidth";if(m===I(e)&&(m=K(e),$(m).position!=="static"&&a==="absolute"&&(w="scrollHeight",O="scrollWidth")),m=m,r===P||(r===D||r===H)&&o===yt){f=B;var A=v&&m===g&&g.visualViewport?g.visualViewport.height:m[w];h-=A-n.height,h*=l?1:-1}if(r===D||(r===P||r===B)&&o===yt){x=H;var L=v&&m===g&&g.visualViewport?g.visualViewport.width:m[O];u-=L-n.width,u*=l?1:-1}}var C=Object.assign({position:a},d&&an),M=c===!0?ln({x:u,y:h},I(e)):{x:u,y:h};if(u=M.x,h=M.y,l){var T;return Object.assign({},C,(T={},T[f]=E?"0":"",T[x]=y?"0":"",T.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",T))}return Object.assign({},C,(t={},t[f]=E?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function cn(i){var t=i.state,e=i.options,n=e.gpuAcceleration,r=n===void 0?!0:n,o=e.adaptive,s=o===void 0?!0:o,a=e.roundOffsets,l=a===void 0?!0:a,d={placement:q(t.placement),variation:ut(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cn,data:{}};var Ct={passive:!0};function un(i){var t=i.state,e=i.instance,n=i.options,r=n.scroll,o=r===void 0?!0:r,s=n.resize,a=s===void 0?!0:s,l=I(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(c){c.addEventListener("scroll",e.update,Ct)}),a&&l.addEventListener("resize",e.update,Ct),function(){o&&d.forEach(function(c){c.removeEventListener("scroll",e.update,Ct)}),a&&l.removeEventListener("resize",e.update,Ct)}}const fn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:un,data:{}};var pn={left:"right",right:"left",bottom:"top",top:"bottom"};function Bt(i){return i.replace(/left|right|bottom|top/g,function(t){return pn[t]})}var hn={start:"end",end:"start"};function qe(i){return i.replace(/start|end/g,function(t){return hn[t]})}function pe(i){var t=I(i),e=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:e,scrollTop:n}}function he(i){return dt(K(i)).left+pe(i).scrollLeft}function vn(i,t){var e=I(i),n=K(i),r=e.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var d=ii();(d||!d&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+he(i),y:l}}function gn(i){var t,e=K(i),n=pe(i),r=(t=i.ownerDocument)==null?void 0:t.body,o=rt(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=rt(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+he(i),l=-n.scrollTop;return $(r||e).direction==="rtl"&&(a+=rt(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function ve(i){var t=$(i),e=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+r+n)}function ai(i){return["html","body","#document"].indexOf(R(i))>=0?i.ownerDocument.body:j(i)&&ve(i)?i:ai(Yt(i))}function mt(i,t){var e;t===void 0&&(t=[]);var n=ai(i),r=n===((e=i.ownerDocument)==null?void 0:e.body),o=I(n),s=r?[o].concat(o.visualViewport||[],ve(n)?n:[]):n,a=t.concat(s);return r?a:a.concat(mt(Yt(s)))}function ee(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function mn(i,t){var e=dt(i,!1,t==="fixed");return e.top=e.top+i.clientTop,e.left=e.left+i.clientLeft,e.bottom=e.top+i.clientHeight,e.right=e.left+i.clientWidth,e.width=i.clientWidth,e.height=i.clientHeight,e.x=e.left,e.y=e.top,e}function Re(i,t,e){return t===ti?ee(vn(i,e)):ot(t)?mn(t,e):ee(gn(K(i)))}function _n(i){var t=mt(Yt(i)),e=["absolute","fixed"].indexOf($(i).position)>=0,n=e&&j(i)?Et(i):i;return ot(n)?t.filter(function(r){return ot(r)&&ni(r,n)&&R(r)!=="body"}):[]}function yn(i,t,e,n){var r=t==="clippingParents"?_n(i):[].concat(t),o=[].concat(r,[e]),s=o[0],a=o.reduce(function(l,d){var c=Re(i,d,n);return l.top=rt(c.top,l.top),l.right=Rt(c.right,l.right),l.bottom=Rt(c.bottom,l.bottom),l.left=rt(c.left,l.left),l},Re(i,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function li(i){var t=i.reference,e=i.element,n=i.placement,r=n?q(n):null,o=n?ut(n):null,s=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(r){case P:l={x:s,y:t.y-e.height};break;case B:l={x:s,y:t.y+t.height};break;case H:l={x:t.x+t.width,y:a};break;case D:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var d=r?fe(r):null;if(d!=null){var c=d==="y"?"height":"width";switch(o){case lt:l[d]=l[d]-(t[c]/2-e[c]/2);break;case yt:l[d]=l[d]+(t[c]/2-e[c]/2);break}}return l}function bt(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=n===void 0?i.placement:n,o=e.strategy,s=o===void 0?i.strategy:o,a=e.boundary,l=a===void 0?zi:a,d=e.rootBoundary,c=d===void 0?ti:d,v=e.elementContext,_=v===void 0?ht:v,u=e.altBoundary,b=u===void 0?!1:u,h=e.padding,p=h===void 0?0:h,y=oi(typeof p!="number"?p:si(p,wt)),E=_===ht?qi:ht,x=i.rects.popper,f=i.elements[b?E:_],g=yn(ot(f)?f:f.contextElement||K(i.elements.popper),l,c,s),m=dt(i.elements.reference),w=li({reference:m,element:x,placement:r}),O=ee(Object.assign({},x,w)),A=_===ht?O:m,L={top:g.top-A.top+y.top,bottom:A.bottom-g.bottom+y.bottom,left:g.left-A.left+y.left,right:A.right-g.right+y.right},C=i.modifiersData.offset;if(_===ht&&C){var M=C[r];Object.keys(L).forEach(function(T){var J=[H,B].indexOf(T)>=0?1:-1,Q=[P,B].indexOf(T)>=0?"y":"x";L[T]+=M[Q]*J})}return L}function bn(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=e.boundary,o=e.rootBoundary,s=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,d=l===void 0?ei:l,c=ut(n),v=c?a?He:He.filter(function(b){return ut(b)===c}):wt,_=v.filter(function(b){return d.indexOf(b)>=0});_.length===0&&(_=v);var u=_.reduce(function(b,h){return b[h]=bt(i,{placement:h,boundary:r,rootBoundary:o,padding:s})[q(h)],b},{});return Object.keys(u).sort(function(b,h){return u[b]-u[h]})}function wn(i){if(q(i)===ce)return[];var t=Bt(i);return[qe(i),t,qe(t)]}function En(i){var t=i.state,e=i.options,n=i.name;if(!t.modifiersData[n]._skip){for(var r=e.mainAxis,o=r===void 0?!0:r,s=e.altAxis,a=s===void 0?!0:s,l=e.fallbackPlacements,d=e.padding,c=e.boundary,v=e.rootBoundary,_=e.altBoundary,u=e.flipVariations,b=u===void 0?!0:u,h=e.allowedAutoPlacements,p=t.options.placement,y=q(p),E=y===p,x=l||(E||!b?[Bt(p)]:wn(p)),f=[p].concat(x).reduce(function(st,N){return st.concat(q(N)===ce?bn(t,{placement:N,boundary:c,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:h}):N)},[]),g=t.rects.reference,m=t.rects.popper,w=new Map,O=!0,A=f[0],L=0;L=0,Q=J?"width":"height",S=bt(t,{placement:C,boundary:c,rootBoundary:v,altBoundary:_,padding:d}),z=J?T?H:D:T?B:P;g[Q]>m[Q]&&(z=Bt(z));var xt=Bt(z),Z=[];if(o&&Z.push(S[M]<=0),a&&Z.push(S[z]<=0,S[xt]<=0),Z.every(function(st){return st})){A=C,O=!1;break}w.set(C,Z)}if(O)for(var kt=b?3:1,Kt=function(N){var pt=f.find(function(At){var tt=w.get(At);if(tt)return tt.slice(0,N).every(function(Jt){return Jt})});if(pt)return A=pt,"break"},ft=kt;ft>0;ft--){var Lt=Kt(ft);if(Lt==="break")break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}const xn={name:"flip",enabled:!0,phase:"main",fn:En,requiresIfExists:["offset"],data:{_skip:!1}};function Ve(i,t,e){return e===void 0&&(e={x:0,y:0}),{top:i.top-t.height-e.y,right:i.right-t.width+e.x,bottom:i.bottom-t.height+e.y,left:i.left-t.width-e.x}}function $e(i){return[P,H,B,D].some(function(t){return i[t]>=0})}function kn(i){var t=i.state,e=i.name,n=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=bt(t,{elementContext:"reference"}),a=bt(t,{altBoundary:!0}),l=Ve(s,n),d=Ve(a,r,o),c=$e(l),v=$e(d);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}const Ln={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:kn};function An(i,t,e){var n=q(i),r=[D,P].indexOf(n)>=0?-1:1,o=typeof e=="function"?e(Object.assign({},t,{placement:i})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[D,H].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}function On(i){var t=i.state,e=i.options,n=i.name,r=e.offset,o=r===void 0?[0,0]:r,s=ei.reduce(function(c,v){return c[v]=An(v,t.rects,o),c},{}),a=s[t.placement],l=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=s}const Cn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:On};function Tn(i){var t=i.state,e=i.name;t.modifiersData[e]=li({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Pn={name:"popperOffsets",enabled:!0,phase:"read",fn:Tn,data:{}};function Dn(i){return i==="x"?"y":"x"}function Sn(i){var t=i.state,e=i.options,n=i.name,r=e.mainAxis,o=r===void 0?!0:r,s=e.altAxis,a=s===void 0?!1:s,l=e.boundary,d=e.rootBoundary,c=e.altBoundary,v=e.padding,_=e.tether,u=_===void 0?!0:_,b=e.tetherOffset,h=b===void 0?0:b,p=bt(t,{boundary:l,rootBoundary:d,padding:v,altBoundary:c}),y=q(t.placement),E=ut(t.placement),x=!E,f=fe(y),g=Dn(f),m=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,A=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,L=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(m){if(o){var T,J=f==="y"?P:D,Q=f==="y"?B:H,S=f==="y"?"height":"width",z=m[f],xt=z+p[J],Z=z-p[Q],kt=u?-O[S]/2:0,Kt=E===lt?w[S]:O[S],ft=E===lt?-O[S]:-w[S],Lt=t.elements.arrow,st=u&&Lt?ue(Lt):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ri(),pt=N[J],At=N[Q],tt=gt(0,w[S],st[S]),Jt=x?w[S]/2-kt-tt-pt-L.mainAxis:Kt-tt-pt-L.mainAxis,vi=x?-w[S]/2+kt+tt+At+L.mainAxis:ft+tt+At+L.mainAxis,Qt=t.elements.arrow&&Et(t.elements.arrow),gi=Qt?f==="y"?Qt.clientTop||0:Qt.clientLeft||0:0,xe=(T=C==null?void 0:C[f])!=null?T:0,mi=z+Jt-xe-gi,_i=z+vi-xe,ke=gt(u?Rt(xt,mi):xt,z,u?rt(Z,_i):Z);m[f]=ke,M[f]=ke-z}if(a){var Le,yi=f==="x"?P:D,bi=f==="x"?B:H,et=m[g],Ot=g==="y"?"height":"width",Ae=et+p[yi],Oe=et-p[bi],Zt=[P,D].indexOf(y)!==-1,Ce=(Le=C==null?void 0:C[g])!=null?Le:0,Te=Zt?Ae:et-w[Ot]-O[Ot]-Ce+L.altAxis,Pe=Zt?et+w[Ot]+O[Ot]-Ce-L.altAxis:Oe,De=u&&Zt?en(Te,et,Pe):gt(u?Te:Ae,et,u?Pe:Oe);m[g]=De,M[g]=De-et}t.modifiersData[n]=M}}const In={name:"preventOverflow",enabled:!0,phase:"main",fn:Sn,requiresIfExists:["offset"]};function jn(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function Bn(i){return i===I(i)||!j(i)?pe(i):jn(i)}function Hn(i){var t=i.getBoundingClientRect(),e=ct(t.width)/i.offsetWidth||1,n=ct(t.height)/i.offsetHeight||1;return e!==1||n!==1}function Mn(i,t,e){e===void 0&&(e=!1);var n=j(t),r=j(t)&&Hn(t),o=K(t),s=dt(i,r,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!e)&&((R(t)!=="body"||ve(o))&&(a=Bn(t)),j(t)?(l=dt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=he(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function zn(i){var t=new Map,e=new Set,n=[];i.forEach(function(o){t.set(o.name,o)});function r(o){e.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&r(l)}}),n.push(o)}return i.forEach(function(o){e.has(o.name)||r(o)}),n}function qn(i){var t=zn(i);return Gi.reduce(function(e,n){return e.concat(t.filter(function(r){return r.phase===n}))},[])}function Rn(i){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(i())})})),t}}function Vn(i){var t=i.reduce(function(e,n){var r=e[n.name];return e[n.name]=r?Object.assign({},r,n,{options:Object.assign({},r.options,n.options),data:Object.assign({},r.data,n.data)}):n,e},{});return Object.keys(t).map(function(e){return t[e]})}var Ne={placement:"bottom",modifiers:[],strategy:"absolute"};function We(){for(var i=arguments.length,t=new Array(i),e=0;e